n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 3.71 kB
JavaScript
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./src-legacy-Dwzr7bD0.js","./users.store-legacy-OKuN0qAC.js","./_baseOrderBy-legacy-PsQY_Pvh.js"],(function(e,n){var t,o,s,r,a;function i(){const e=o(),n=s(),{isTouchDevice:r,userAgent:a}=t(),i=t=>{const o={n8nVersion:n.versionCli,platform:e.isDocker&&"cloud"===e.deploymentType?"docker (cloud)":e.isDocker?"docker (self-hosted)":"npm",nodeJsVersion:e.nodeJsVersion,nodeEnv:e.nodeEnv,database:"postgresdb"===e.databaseType?"postgres":e.databaseType,executionMode:e.isQueueModeEnabled?e.isMultiMain?"scaling (multi-main)":"scaling (single-main)":"regular",concurrency:e.settings.concurrency,license:e.isCommunityPlan||!e.settings.license?"community":"production"===e.settings.license.environment?"enterprise (production)":"enterprise (sandbox)"};return t?o:{...o,consumerId:t?void 0:e.consumerId}},c=n=>{const t={core:i(n),storage:{success:e.saveDataSuccessExecution,error:e.saveDataErrorExecution,progress:e.saveDataProgressExecution,manual:e.saveManualExecutions,binaryMode:"default"===e.binaryDataMode?"memory":e.binaryDataMode},pruning:e.pruning?.isEnabled?{enabled:!0,maxAge:`${e.pruning?.maxAge} hours`,maxCount:`${e.pruning?.maxCount} executions`}:{enabled:!1},client:{userAgent:a,isTouchDevice:r}},o=(()=>{const n={};if(e.security.blockFileAccessToN8nFiles||(n.blockFileAccessToN8nFiles=!1),e.security.secureCookie||(n.secureCookie=!1),0!==Object.keys(n).length)return n})();return o&&(t.security=o),t};return{generateDebugInfo:({skipSensitive:e,secondaryHeader:n}={})=>{return t=((e,{secondaryHeader:n})=>{const t=n?"#":"";let o=`${t}# Debug info\n\n`;for(const s in e){o+=`${t}## ${s}\n\n`;const n=e[s];if(n){for(const e in n)o+=`- ${e}: ${n[e]}\n`;o+="\n"}}return o})(c(e),{secondaryHeader:n}),`${t}Generated at: ${(new Date).toISOString()}`;var t}}}return e({r:i,t:function(){const e=i();return{getReportingURL:()=>{const n=new URL(r),t=`${a}\n${e.generateDebugInfo({skipSensitive:!0,secondaryHeader:!0})}`;return n.searchParams.append("body",t),n.toString()}}}}),{setters:[function(e){t=e.Ht},function(e){o=e.As},function(e){s=e.r}],execute:function(){try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(t=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="2ef5c239-017a-41bd-aaba-62713ffaacdf",n._sentryDebugIdIdentifier="sentry-dbid-2ef5c239-017a-41bd-aaba-62713ffaacdf")}catch(n){}var n,t;e("n",{QUICKSTART_VIDEO:"https://www.youtube.com/watch?v=4cQWJViybAQ",DOCUMENTATION:"https://docs.n8n.io?utm_source=n8n_app&utm_medium=app_sidebar",FORUM:"https://community.n8n.io?utm_source=n8n_app&utm_medium=app_sidebar",COURSES:"https://docs.n8n.io/courses/"}),r="https://github.com/n8n-io/n8n/issues/new?labels=bug-report",a="\n\x3c!-- Please follow the template below. Skip the questions that are not relevant to you. --\x3e\n\n## Describe the problem/error/question\n\n\n## What is the error message (if any)?\n\n\n## Please share your workflow/screenshots/recording\n\n```\n(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)\n⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.\n```\n\n\n## Share the output returned by the last node\n\x3c!-- If you need help with data transformations, please also share your expected output. --\x3e\n\n"}}}));
//# sourceMappingURL=useBugReporting-legacy-DbZu8fu8.js.map