UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.66 kB
!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(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./src-legacy-Dwzr7bD0.js","./users.store-legacy-OKuN0qAC.js","./constants-legacy-DNCca_FT.js","./_baseOrderBy-legacy-PsQY_Pvh.js"],(function(e,n){var t,a,s,o,i,u,l,d,r,c,f,g;function y(e,n){return"string"==typeof e&&n.includes(e)}return{setters:[function(e){t=e.Ft,a=e.S,s=e.W,o=e.gt},function(e){i=e.gt},function(e){u=e.As,l=e.Hr,d=e.en,r=e.sl},function(e){c=e.el,f=e.fs},function(e){g=e.j}],execute:function(){try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(b=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[b]="1d7116d7-a3e7-416d-b877-cf4b089c1181",n._sentryDebugIdIdentifier="sentry-dbid-1d7116d7-a3e7-416d-b877-cf4b089c1181")}catch(n){}var n,b;e("t",g(r.CHAT_HUB_PANEL,(()=>{const e=i(),n=l(),r=u(),g=d(),b=t(!1),p=t(!1),v=a((()=>r.isChatFeatureEnabled&&n.isVariantEnabled(c.name,c.variant)));function h(){p.value?(p.value=!1,s((()=>{b.value=!1}))):b.value=!1}return o((()=>e?.name),(e=>{e&&b.value&&(y(e,f)||h())})),{isOpen:b,isPoppedOut:p,isFloatingChatEnabled:v,open:function(){y(e?.name,f)&&(b.value=!0,g.track("User opened floating chat panel",{source:"canvas"}))},close:h,popOut:function(){p.value=!0,g.track("User popped out floating chat panel",{source:"canvas"})}}})))}}})); //# sourceMappingURL=chatHubPanel.store-legacy-CNIu4UHq.js.map