n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.98 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(["./_baseOrderBy-legacy-PsQY_Pvh.js"],(function(e,n){var t,r,i,l,o,s,f,u,d;return e("n",(function(e,n,t=5,r=1){const i=[],l=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:f}of l.segment(e))i.push(f);if(i.length<=n)return e;const o=i.findLastIndex((e=>e.match(/^\s+$/)))+1,s=i.slice(o);if(s.length>=r&&s.length<15){const e=o,t=e-(i.length-n+1);if(t>0)return i.slice(0,t).join("")+"…"+i.slice(e).join("")}return t<1?i.slice(0,n).join("")+"…":i.slice(0,n-t-1).join("")+"…"+i.slice(-t).join("")})),{setters:[function(e){t=e.y}],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]="a6355337-37c1-4799-ad50-86f4df5fa382",n._sentryDebugIdIdentifier="sentry-dbid-a6355337-37c1-4799-ad50-86f4df5fa382")}catch(n){}var n,a;r=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,n,t)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*n/e.length);return(l=n)=>{let o="";for(;;){let n=t(i),s=0|i;for(;s--;)if(o+=e[n[s]&r]||"",o.length===l)return o}}},e("r",((e,n=21)=>i(e,n,r))(t,16)),l=/[<>:"/\\|?*\u0000-\u001F\u007F-\u009F]/g,o=/[\u200B-\u200D\u2060\uFEFF]/g,s=/[\u00A0\u2000-\u200A]/g,f=/^[\s.]+|[\s.]+$/g,u=new Set(["CON","PRN","AUX","NUL","COM1","COM2","COM3","COM4","COM5","COM6","COM7","COM8","COM9","LPT1","LPT2","LPT3","LPT4","LPT5","LPT6","LPT7","LPT8","LPT9"]),d="untitled",e("t",((e,n=200)=>{if(!e)return d;let t=e.trim().replace(l,"_").replace(o,"").replace(s," ").replace(f,"");return t||(t=d),u.has(t.toUpperCase())&&(t=`_${t}`),t.length>n&&(t=t.slice(0,n)),t}))}}}));
//# sourceMappingURL=dist-legacy-IcqF43vi.js.map