UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.74 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.16.1"}}catch(e){}}(),System.register(["./chunk-legacy-Dz3fjYb5.js","./core-legacy-VD8c7QJ-.js","./dateformat-legacy-BGLHQd3J.js"],(function(e,n){var t,o,i,r,s;return{setters:[function(e){t=e.o},function(e){o=e.at},function(e){i=e.t}],execute:function(){try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(a=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="7530f768-0cb2-4e0a-a6c5-01c2a753ca20",n._sentryDebugIdIdentifier="sentry-dbid-7530f768-0cb2-4e0a-a6c5-01c2a753ca20")}catch(n){}var n,a;r=t(i(),1),e("i",(e=>e.findLast((e=>"activated"===e.event)))),e("r",s=e=>`Version ${e.substring(0,8)}`),e("o",(({workflowHistory:e,currentVersionId:n})=>{const t=o();return e.name?e.name:e.versionId===n?t.baseText("workflowHistory.item.currentChanges"):s(e.versionId)})),e("n",(e=>{const n=(new Date).getFullYear().toString(),[t,o]=(0,r.default)(e,(e.startsWith(n)?"":"yyyy ")+'mmm d"#"HH:MM:ss').split("#");return{date:t,time:o}})),e("t",(e=>{const n=[];let t=[],o=0;const i=()=>{t.length>0&&(n.push({type:"group-header",groupId:"group-"+o++,count:t.length,versions:[...t]}),t=[])};for(let r=0;r<e.length;r++){const o=e[r];0===r||o.name?.trim()?(i(),n.push({type:"version",item:o,originalIndex:r,isGrouped:!1})):t.push({type:"version",item:o,originalIndex:r,isGrouped:!0})}return i(),n})),e("a",(e=>{if(e)return e.activeVersionId??e.activeVersion?.versionId??void 0}))}}})); //# sourceMappingURL=utils-legacy-DhzNIyI4.js.map