UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 1.87 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([],(function(e,n){var t,o,i,d;function s(e,n,t){const o=({data:o,source:i,origin:d})=>{!n(d)||!i||o.action===e&&t(o,i,d)};return window.addEventListener("message",o),()=>window.removeEventListener("message",o)}function r(e){return e===o}return e("ConnectPopup",(function({onConnect:e=(()=>{}),onCancel:n=(()=>{}),integrationId:c}){const a=function(e,n,t,o){return s(e,t,((e,t,i)=>{const d=null==o?void 0:o(e);t.postMessage({action:n,...d},{targetOrigin:i})}))}(t.READY,t.ACK,r),f=function(e,n,t){const o=({data:i,source:d,origin:s})=>{!n(s)||!d||i.action===e&&(window.removeEventListener("message",o),t(i,d,s))};return window.addEventListener("message",o),()=>window.removeEventListener("message",o)}(t.CONNECTION_INFO,r,e),w=s(t.CANCEL,r,n);return{open:()=>function(e){const n=(window.screen.width-i)/2+(window.screenLeft??window.screenX??0),t=(window.screen.height-d)/2+(window.screenTop??window.screenY??0);window.open(`${o}/connect/${e}`,"_blank",`width=${i},height=${d},left=${n},top=${t}`)}(c),cleanup:()=>{a(),f(),w()}}})),{setters:[],execute:function(){try{e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(n=(new e.Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00f407b5-9286-4bf3-a783-5cbfdce662c8",e._sentryDebugIdIdentifier="sentry-dbid-00f407b5-9286-4bf3-a783-5cbfdce662c8")}catch(e){}var e,n;t=(e=>(e.ACK="ack",e.API_KEY="api_key",e.CANCEL="cancel",e.CONNECTION_INFO="connection_info",e.READY="ready",e))(t||{}),o="https://app.pinecone.io",i=600,d=650}}})); //# sourceMappingURL=dist-legacy-CLyf4qjy.js.map