@luigi-project/container 1.7.5 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LuigiCompoundContainer.svelte.d.ts +151 -85
- package/LuigiContainer.svelte.d.ts +178 -104
- package/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/constants/events.d.ts +407 -399
- package/constants/events.js +370 -365
- package/dist/custom-elements.json +50 -50
- package/package.json +1 -1
package/bundle.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
function t(){}function e(t){return t()}function i(){return Object.create(null)}function n(t){t.forEach(e)}function s(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let a,r;function c(t,e){return t===e||(a||(a=document.createElement("a")),a.href=e,t===a.href)}function l(t,e,i){const n=function(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;if(e&&e.host)return e;return t.ownerDocument}(t);if(!n.getElementById(e)){const t=h("style");t.id=e,t.textContent=i,function(t,e){(function(t,e){t.appendChild(e)})(t.head||t,e),e.sheet}(n,t)}}function u(t,e,i){t.insertBefore(e,i||null)}function d(t){t.parentNode&&t.parentNode.removeChild(t)}function h(t){return document.createElement(t)}function E(t){return document.createTextNode(t)}function m(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function p(t){r=t}function _(){if(!r)throw new Error("Function called outside component initialization");return r}function g(t){_().$$.on_mount.push(t)}const T=[],S=[];let C=[];const $=[],f=Promise.resolve();let R=!1;function A(t){C.push(t)}const w=new Set;let b=0;function I(){if(0!==b)return;const t=r;do{try{for(;b<T.length;){const t=T[b];b++,p(t),O(t.$$)}}catch(t){throw T.length=0,b=0,t}for(p(null),T.length=0,b=0;S.length;)S.pop()();for(let t=0;t<C.length;t+=1){const e=C[t];w.has(e)||(w.add(e),e())}C.length=0}while(T.length);for(;$.length;)$.pop()();R=!1,w.clear(),p(t)}function O(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(A)}}const U=new Set;function v(t,e){const i=t.$$;null!==i.fragment&&(!function(t){const e=[],i=[];C.forEach((n=>-1===t.indexOf(n)?e.push(n):i.push(n))),i.forEach((t=>t())),C=e}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function N(t,e){-1===t.$$.dirty[0]&&(T.push(t),R||(R=!0,f.then(I)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function y(o,a,c,l,u,h,E=null,m=[-1]){const _=r;p(o);const g=o.$$={fragment:null,ctx:[],props:h,update:t,not_equal:u,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(_?_.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:a.target||_.$$.root};E&&E(g.root);let T=!1;if(g.ctx=c?c(o,a.props||{},((t,e,...i)=>{const n=i.length?i[0]:e;return g.ctx&&u(g.ctx[t],g.ctx[t]=n)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](n),T&&N(o,t)),e})):[],g.update(),T=!0,n(g.before_update),g.fragment=!!l&&l(g.ctx),a.target){if(a.hydrate){const t=function(t){return Array.from(t.childNodes)}(a.target);g.fragment&&g.fragment.l(t),t.forEach(d)}else g.fragment&&g.fragment.c();a.intro&&((S=o.$$.fragment)&&S.i&&(U.delete(S),S.i(C))),function(t,i,o){const{fragment:a,after_update:r}=t.$$;a&&a.m(i,o),A((()=>{const i=t.$$.on_mount.map(e).filter(s);t.$$.on_destroy?t.$$.on_destroy.push(...i):n(i),t.$$.on_mount=[]})),r.forEach(A)}(o,a.target,a.anchor),I()}var S,C;p(_)}let L;function P(t,e,i,n){const s=i[t]?.type;if(e="Boolean"===s&&"boolean"!=typeof e?null!=e:e,!n||!i[t])return e;if("toAttribute"===n)switch(s){case"Object":case"Array":return null==e?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return null==e?null:e;default:return e}else switch(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":default:return e;case"Number":return null!=e?+e:e}}function D(t,e,i,n,s,o){let a=class extends L{constructor(){super(t,i,s),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map((t=>(e[t].attribute||t).toLowerCase()))}};return Object.keys(e).forEach((t=>{Object.defineProperty(a.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(i){i=P(t,i,e),this.$$d[t]=i,this.$$c?.$set({[t]:i})}})})),n.forEach((t=>{Object.defineProperty(a.prototype,t,{get(){return this.$$c?.[t]}})})),o&&(a=o(a)),t.element=a,a}"function"==typeof HTMLElement&&(L=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,i){super(),this.$$ctor=t,this.$$s=e,i&&this.attachShadow({mode:"open"})}addEventListener(t,e,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const i=this.$$c.$on(t,e);this.$$l_u.set(e,i)}super.addEventListener(t,e,i)}removeEventListener(t,e,i){if(super.removeEventListener(t,e,i),this.$$c){const t=this.$$l_u.get(e);t&&(t(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(t){return()=>{let e;return{c:function(){e=h("slot"),"default"!==t&&m(e,"name",t)},m:function(t,i){u(t,e,i)},d:function(t){t&&d(e)}}}}const e={},i=function(t){const e={};return t.childNodes.forEach((t=>{e[t.slot||"default"]=!0})),e}(this);for(const s of this.$$s)s in i&&(e[s]=[t(s)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=P(a,o.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)r in this.$$d||void 0===this[r]||(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});const n=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const e=P(t,this.$$d[t],this.$$p_d,"toAttribute");null==e?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,e)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const c in this.$$l)for(const l of this.$$l[c]){const E=this.$$c.$on(c,l);this.$$l_u.set(l,E)}this.$$l={}}}attributeChangedCallback(t,e,i){this.$$r||(t=this.$$g_p(t),this.$$d[t]=P(t,i,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(t){return Object.keys(this.$$p_d).find((e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t))||t}});class k{$$=void 0;$$set=void 0;$destroy(){v(this,1),this.$destroy=t}$on(e,i){if(!s(i))return t;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const t=n.indexOf(i);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}var x,M;"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4"),function(t){t.CUSTOM_MESSAGE="custom",t.GET_CONTEXT="luigi.get-context",t.SEND_CONTEXT_HANDSHAKE="luigi.init",t.CONTEXT_RECEIVED="luigi.init.ok",t.NAVIGATION_REQUEST="luigi.navigation.open",t.ALERT_REQUEST="luigi.ux.alert.show",t.ALERT_CLOSED="luigi.ux.alert.hide",t.INITIALIZED="luigi.init.ok",t.ADD_SEARCH_PARAMS_REQUEST="luigi.addSearchParams",t.ADD_NODE_PARAMS_REQUEST="luigi.addNodeParams",t.SHOW_CONFIRMATION_MODAL_REQUEST="luigi.ux.confirmationModal.show",t.CONFIRMATION_MODAL_CLOSED="luigi.ux.confirmationModal.hide",t.SHOW_LOADING_INDICATOR_REQUEST="luigi.show-loading-indicator",t.HIDE_LOADING_INDICATOR_REQUEST="luigi.hide-loading-indicator",t.SET_CURRENT_LOCALE_REQUEST="luigi.ux.set-current-locale",t.LOCAL_STORAGE_SET_REQUEST="storage",t.RUNTIME_ERROR_HANDLING_REQUEST="luigi-runtime-error-handling",t.SET_ANCHOR_LINK_REQUEST="luigi.setAnchor",t.SET_THIRD_PARTY_COOKIES_REQUEST="luigi.third-party-cookie",t.BACK_NAVIGATION_REQUEST="luigi.navigation.back",t.GET_CURRENT_ROUTE_REQUEST="luigi.navigation.currentRoute",t.SEND_CURRENT_ROUTE_ANSWER="luigi.navigation.currentRoute.answer",t.SEND_CONTEXT_OBJECT="luigi.navigate",t.NAVIGATION_COMPLETED_REPORT="luigi.navigate.ok",t.UPDATE_MODAL_PATH_DATA_REQUEST="luigi.navigation.updateModalDataPath",t.UPDATE_MODAL_SETTINGS="luigi.navigation.updateModalSettings",t.CHECK_PATH_EXISTS_REQUEST="luigi.navigation.pathExists",t.SEND_PATH_EXISTS_ANSWER="luigi.navigation.pathExists.answer",t.SET_DIRTY_STATUS_REQUEST="luigi.set-page-dirty",t.AUTH_SET_TOKEN="luigi.auth.tokenIssued",t.ADD_BACKDROP_REQUEST="luigi.add-backdrop",t.REMOVE_BACKDROP_REQUEST="luigi.remove-backdrop",t.SET_VIEW_GROUP_DATA_REQUEST="luigi.setVGData",t.CLOSE_CURRENT_MODAL_REQUEST="luigi.close-modal"}(x||(x={})),function(t){t.CUSTOM_MESSAGE="custom-message",t.GET_CONTEXT_REQUEST="get-context-request",t.NAVIGATION_REQUEST="navigation-request",t.ALERT_REQUEST="show-alert-request",t.ALERT_CLOSED="close-alert-request",t.INITIALIZED="initialized",t.ADD_SEARCH_PARAMS_REQUEST="add-search-params-request",t.ADD_NODE_PARAMS_REQUEST="add-node-params-request",t.SHOW_CONFIRMATION_MODAL_REQUEST="show-confirmation-modal-request",t.SHOW_LOADING_INDICATOR_REQUEST="show-loading-indicator-request",t.HIDE_LOADING_INDICATOR_REQUEST="hide-loading-indicator-request",t.SET_CURRENT_LOCALE_REQUEST="set-current-locale-request",t.LOCAL_STORAGE_SET_REQUEST="set-storage-request",t.RUNTIME_ERROR_HANDLING_REQUEST="runtime-error-handling-request",t.SET_ANCHOR_LINK_REQUEST="set-anchor-request",t.SET_THIRD_PARTY_COOKIES_REQUEST="set-third-party-cookies-request",t.BACK_NAVIGATION_REQUEST="navigate-back-request",t.GET_CURRENT_ROUTE_REQUEST="get-current-route-request",t.NAVIGATION_COMPLETED_REPORT="report-navigation-completed-request",t.UPDATE_MODAL_PATH_DATA_REQUEST="update-modal-path-data-request",t.UPDATE_MODAL_SETTINGS_REQUEST="update-modal-settings-request",t.CHECK_PATH_EXISTS_REQUEST="check-path-exists-request",t.SET_DIRTY_STATUS_REQUEST="set-dirty-status-request",t.SET_VIEW_GROUP_DATA_REQUEST="set-viewgroup-data-request",t.SET_DOCUMENT_TITLE_REQUEST="set-document-title-request",t.OPEN_USER_SETTINGS_REQUEST="open-user-settings-request",t.CLOSE_USER_SETTINGS_REQUEST="close-user-settings-request",t.COLLAPSE_LEFT_NAV_REQUEST="collapse-leftnav-request",t.UPDATE_TOP_NAVIGATION_REQUEST="update-top-navigation-request",t.PATH_EXISTS_REQUEST="path-exists-request",t.GO_BACK_REQUEST="go-back-request",t.HAS_BACK_REQUEST="has-back-request",t.ADD_BACKDROP_REQUEST="add-backdrop-request",t.REMOVE_BACKDROP_REQUEST="remove-backdrop-request",t.CLOSE_CURRENT_MODAL_REQUEST="close-current-modal-request"}(M||(M={}));class Q extends Event{constructor(t,e,i,n){super(t),this.detail=e,this.payload=i||e||{},this.callbackFn=n}callback(t){this.callbackFn&&this.callbackFn(t)}}class H{isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}sendCustomMessageToIframe(t,e,i){const n=i||"custom";if(t?.iframe?.contentWindow){const i=new URL(t.iframe.src);"custom"===n?t.iframe.contentWindow.postMessage({msg:n,data:e},i.origin):t.iframe.contentWindow.postMessage({msg:n,...e},i.origin)}else console.error("Message target could not be resolved")}dispatchWithPayload(t,e,i,n,s){this.dispatch(t,e,i,s,n)}dispatch(t,e,i,n,s){const o=new Q(t,i,s,n);e.dispatchEvent(o)}getTargetContainer(t){let e;return globalThis.__luigi_container_manager.container.forEach((i=>{i.iframeHandle?.iframe&&i.iframeHandle.iframe.contentWindow===t.source&&(e=i)})),e}getContainerManager(){return globalThis.__luigi_container_manager||(globalThis.__luigi_container_manager={container:[],messageListener:t=>{const e=this.getTargetContainer(t),i=e?.iframeHandle?.iframe?.contentWindow;if(i&&i===t.source){switch(t.data.msg){case x.CUSTOM_MESSAGE:{const i=t.data.data,n=i.id;delete i.id,this.dispatch(M.CUSTOM_MESSAGE,e,{id:n,_metaData:{},data:i})}break;case x.GET_CONTEXT:i.postMessage({msg:x.SEND_CONTEXT_HANDSHAKE,context:e.context||{},internal:{thirdPartyCookieCheck:{disabled:"true"===e.skipCookieCheck},currentTheme:e.theme,currentLocale:e.locale,activeFeatureToggleList:e.activeFeatureToggleList||[],cssVariables:e.cssVariables||{},anchor:e.anchor||"",userSettings:e.userSettings||null,drawer:e.drawer||!1,modal:e.modal||!1,viewStackSize:e.viewStackSize||0,isNavigateBack:e.isNavigateBack||!1},authData:e.authData||{},nodeParams:e.nodeParams||{},searchParams:e.searchParams||{},pathParams:e.pathParams||{}},t.origin);break;case x.NAVIGATION_REQUEST:this.dispatch(M.NAVIGATION_REQUEST,e,t.data.params);break;case x.ALERT_REQUEST:this.dispatchWithPayload(M.ALERT_REQUEST,e,t,t.data?.data?.settings,(i=>{e.notifyAlertClosed(t.data?.data?.settings?.id,i)}));break;case x.INITIALIZED:this.dispatch(M.INITIALIZED,e,t.data?.params||{});break;case x.ADD_SEARCH_PARAMS_REQUEST:this.dispatch(M.ADD_SEARCH_PARAMS_REQUEST,e,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case x.ADD_NODE_PARAMS_REQUEST:this.dispatch(M.ADD_NODE_PARAMS_REQUEST,e,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case x.SHOW_CONFIRMATION_MODAL_REQUEST:this.dispatchWithPayload(M.SHOW_CONFIRMATION_MODAL_REQUEST,e,t.data.data,t.data.data?.settings,(t=>{e.notifyConfirmationModalClosed(t)}));break;case x.SHOW_LOADING_INDICATOR_REQUEST:this.dispatch(M.SHOW_LOADING_INDICATOR_REQUEST,e,t);break;case x.HIDE_LOADING_INDICATOR_REQUEST:this.dispatch(M.HIDE_LOADING_INDICATOR_REQUEST,e,t);break;case x.SET_CURRENT_LOCALE_REQUEST:this.dispatchWithPayload(M.SET_CURRENT_LOCALE_REQUEST,e,t,t.data.data);break;case x.LOCAL_STORAGE_SET_REQUEST:this.dispatchWithPayload(M.LOCAL_STORAGE_SET_REQUEST,e,t,t.data.data?.params);break;case x.RUNTIME_ERROR_HANDLING_REQUEST:this.dispatch(M.RUNTIME_ERROR_HANDLING_REQUEST,e,t);break;case x.SET_ANCHOR_LINK_REQUEST:this.dispatchWithPayload(M.SET_ANCHOR_LINK_REQUEST,e,t,t.data.anchor);break;case x.SET_THIRD_PARTY_COOKIES_REQUEST:this.dispatch(M.SET_THIRD_PARTY_COOKIES_REQUEST,e,t);break;case x.BACK_NAVIGATION_REQUEST:{let i=t.data?.goBackContext||{};if("string"==typeof i)try{i=JSON.parse(i)}catch(t){console.warn(t)}this.dispatch(M.GO_BACK_REQUEST,e,i),this.dispatch(M.BACK_NAVIGATION_REQUEST,e,t)}break;case x.GET_CURRENT_ROUTE_REQUEST:this.dispatchWithPayload(M.GET_CURRENT_ROUTE_REQUEST,e,t,t.data.data,(e=>{i.postMessage({msg:x.SEND_CURRENT_ROUTE_ANSWER,data:{correlationId:t.data?.data?.id,route:e}},t.origin)}));break;case x.NAVIGATION_COMPLETED_REPORT:this.dispatch(M.NAVIGATION_COMPLETED_REPORT,e,t);break;case x.UPDATE_MODAL_PATH_DATA_REQUEST:this.dispatchWithPayload(M.UPDATE_MODAL_PATH_DATA_REQUEST,e,t,t.data.params);break;case x.UPDATE_MODAL_SETTINGS:this.dispatchWithPayload(M.UPDATE_MODAL_SETTINGS_REQUEST,e,t,{addHistoryEntry:t.data.addHistoryEntry,updatedModalSettings:t.data.updatedModalSettings});break;case x.CHECK_PATH_EXISTS_REQUEST:this.dispatchWithPayload(M.CHECK_PATH_EXISTS_REQUEST,e,t,t.data.data,(e=>{i.postMessage({msg:x.SEND_PATH_EXISTS_ANSWER,data:{correlationId:t.data?.data?.id,pathExists:e}},t.origin)}));break;case x.SET_DIRTY_STATUS_REQUEST:this.dispatchWithPayload(M.SET_DIRTY_STATUS_REQUEST,e,t,{dirty:t.data.dirty});break;case x.SET_VIEW_GROUP_DATA_REQUEST:this.dispatch(M.SET_VIEW_GROUP_DATA_REQUEST,e,t.data.data);break;case x.ADD_BACKDROP_REQUEST:this.dispatch(M.ADD_BACKDROP_REQUEST,e,t);break;case x.REMOVE_BACKDROP_REQUEST:this.dispatch(M.REMOVE_BACKDROP_REQUEST,e,t);break;case x.CLOSE_CURRENT_MODAL_REQUEST:this.dispatch(M.CLOSE_CURRENT_MODAL_REQUEST,e,t)}}}},window.addEventListener("message",globalThis.__luigi_container_manager.messageListener)),globalThis.__luigi_container_manager}registerContainer(t){this.getContainerManager().container.push(t)}}const W=new H;const B=new class{constructor(){this.updateContext=(t,e,i,n,s,o)=>{if(i){const a=e||{};W.sendCustomMessageToIframe(i,{context:t,nodeParams:n||{},pathParams:s||{},searchParams:o||{},internal:a,withoutSync:!0},x.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update context on inexisting iframe")},this.updateViewUrl=(t,e,i,n)=>{if(n){const s=i||{};W.sendCustomMessageToIframe(n,{context:e,internal:s,withoutSync:!1,viewUrl:t},x.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update route on inexisting iframe")},this.updateAuthData=(t,e)=>{t&&e?W.sendCustomMessageToIframe(t,{authData:e},x.AUTH_SET_TOKEN):console.warn("Attempting to update auth data on inexisting iframe or authData")},this.sendCustomMessage=(t,e,i,n,s)=>{if(i&&e._luigi_mfe_webcomponent)W.dispatch(t,e._luigi_mfe_webcomponent,s);else{const e={...s};e.id&&console.warn('Property "id" is reserved and can not be used in custom message data'),e.id=t,W.sendCustomMessageToIframe(n,e)}},this.notifyConfirmationModalClosed=(t,e)=>{const i={data:{confirmed:t}};W.sendCustomMessageToIframe(e,i,x.CONFIRMATION_MODAL_CLOSED)}}notifyAlertClosed(t,e,i){const n=e?{id:t,dismissKey:e}:{id:t};W.sendCustomMessageToIframe(i,n,x.ALERT_CLOSED)}},G=t=>{if(!t)return;const e=t;return e.forEach(((i,n)=>{e[n]=i+(-1!=i.indexOf(";")?"":";"),e[n]=t[n].replaceAll('"',"'")})),e.join(" ")};class V{constructor(t){t?(this.rendererObject=t,this.config=t.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(t){return document.createElement("div")}attachCompoundItem(t,e){t.appendChild(e)}}class j extends V{constructor(t){super(t||{use:{}}),t&&t.use&&t.use.extends&&(this.superRenderer=q({use:t.use.extends,config:t.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(t){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(t,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(t):super.createCompoundItemContainer(t)}attachCompoundItem(t,e){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(t,e,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(t,e):super.attachCompoundItem(t,e)}}class F extends V{createCompoundContainer(){const t="__lui_compound_"+(new Date).getTime(),e=document.createElement("div");e.classList.add(t);let i="";return this.config.layouts&&this.config.layouts.forEach((e=>{if(e.minWidth||e.maxWidth){let n="@media only screen ";null!=e.minWidth&&(n+=`and (min-width: ${e.minWidth}px) `),null!=e.maxWidth&&(n+=`and (max-width: ${e.maxWidth}px) `),n+=`{\n .${t} {\n grid-template-columns: ${e.columns||"auto"};\n grid-template-rows: ${e.rows||"auto"};\n grid-gap: ${e.gap||"0"};\n }\n }\n `,i+=n}})),e.innerHTML=`\n <style scoped>\n .${t} {\n display: grid;\n grid-template-columns: ${this.config.columns||"auto"};\n grid-template-rows: ${this.config.rows||"auto"};\n grid-gap: ${this.config.gap||"0"};\n min-height: ${this.config.minHeight||"auto"};\n }\n ${i}\n </style>\n `,e}createCompoundItemContainer(t){const e=t||{},i=document.createElement("div");return i.setAttribute("style",`grid-row: ${e.row||"auto"}; grid-column: ${e.column||"auto"}`),i.classList.add("lui-compoundItemCnt"),i}}const q=t=>{const e=t.use;return e?"grid"===e?new F(t):e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem?new j(t):new V(t):new V(t)},K=(t,e,i,n)=>{e?.eventListeners&&e.eventListeners.forEach((e=>{const s=e.source+"."+e.name,o=t[s],a={wcElementId:i,wcElement:n,action:e.action,converter:e.dataConverter};o?o.push(a):t[s]=[a]}))};function X(t){return String(t).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/")}class z{constructor(){this.alertResolvers={},this.alertIndex=0,this.containerService=new H}dynamicImport(t){return Object.freeze(import(/* webpackIgnore: true */t))}processViewUrl(t,e){return t}attachWC(t,e,i,n,s,o,a){if(i&&i.contains(e)){const r=document.createElement(t);o&&r.setAttribute("nodeId",o),r.setAttribute("lui_web_component","true"),this.initWC(r,t,i,s,n,o,a),i.replaceChild(r,e),i._luigi_node&&(i._luigi_mfe_webcomponent=r),i.dispatchEvent(new Event("wc_ready"))}}dispatchLuigiEvent(t,e,i){this.containerService.dispatch(t,this.thisComponent,e,i)}createClientAPI(t,e,i,n,s){return{linkManager:()=>{let t=null,e=!1,i=!1,n=!1,s={};const o={navigate:(o,a={})=>{const r={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:i,fromParent:n,nodeParams:s,...a};this.dispatchLuigiEvent(M.NAVIGATION_REQUEST,{link:o,...r})},navigateToIntent:(t,e={})=>{let i="#?intent=";if(i+=t,e&&Object.keys(e)?.length){const t=Object.entries(e);if(t.length>0){i+="?";for(const[e,n]of t)i+=e+"="+n+"&";i=i.slice(0,-1)}}o.navigate(i)},fromClosestContext:()=>(e=!0,o),fromContext:e=>(t=e,o),fromVirtualTreeRoot:()=>(i=!0,o),fromParent:()=>(n=!0,o),getCurrentRoute:()=>{const o={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:i,fromParent:n,nodeParams:s};return new Promise(((t,e)=>{this.containerService.dispatch(M.GET_CURRENT_ROUTE_REQUEST,this.thisComponent,{...o},(i=>{i?t(i):e("No current route received.")}))}))},withParams:t=>(s=t,o),updateModalPathInternalNavigation:(o,a={},r=!1)=>{if(!o)return void console.warn("Updating path of the modal upon internal navigation prevented. No path specified.");const c={fromClosestContext:e,fromContext:t,fromParent:n,fromVirtualTreeRoot:i,nodeParams:s};this.dispatchLuigiEvent(M.UPDATE_MODAL_PATH_DATA_REQUEST,Object.assign(c,{history:r,link:o,modal:a}))},updateTopNavigation:()=>{this.dispatchLuigiEvent(M.UPDATE_TOP_NAVIGATION_REQUEST,{})},pathExists:o=>{const a={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:i,fromParent:n,nodeParams:s};return new Promise(((t,e)=>{this.containerService.dispatch(M.CHECK_PATH_EXISTS_REQUEST,this.thisComponent,{...a,link:o},(i=>{i?t(!0):e(!1)})),this.containerService.dispatch(M.PATH_EXISTS_REQUEST,this.thisComponent,{...a,link:o},(i=>{i?t(!0):e(!1)}))}))},openAsDrawer:(t,e={})=>{o.navigate(t,{drawer:e})},openAsModal:(t,e={})=>{o.navigate(t,{modal:e})},openAsSplitView:(t,e={})=>{o.navigate(t,{splitView:e})},goBack:t=>{this.dispatchLuigiEvent(M.GO_BACK_REQUEST,t)},hasBack:()=>!1,updateModalSettings:(t={},e=!1)=>{this.dispatchLuigiEvent(M.UPDATE_MODAL_SETTINGS_REQUEST,{updatedModalSettings:t,addHistoryEntry:e})}};return o},uxManager:()=>({showAlert:t=>(t.id=this.alertIndex++,new Promise((e=>{this.alertResolvers[t.id]=e,this.dispatchLuigiEvent(M.ALERT_REQUEST,t,(e=>{this.resolveAlert(t.id,e)}))}))),showConfirmationModal:t=>new Promise(((e,i)=>{this.modalResolver={resolve:e,reject:i},this.containerService.dispatch(M.SHOW_CONFIRMATION_MODAL_REQUEST,this.thisComponent,t,(t=>{t?e():i()}))})),getCurrentTheme:()=>this.thisComponent.theme,closeUserSettings:()=>{this.dispatchLuigiEvent(M.CLOSE_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},openUserSettings:()=>{this.dispatchLuigiEvent(M.OPEN_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},collapseLeftSideNav:()=>{this.dispatchLuigiEvent(M.COLLAPSE_LEFT_NAV_REQUEST,{})},getDirtyStatus:()=>this.thisComponent.dirtyStatus||!1,getDocumentTitle:()=>this.thisComponent.documentTitle,setDocumentTitle:t=>{this.dispatchLuigiEvent(M.SET_DOCUMENT_TITLE_REQUEST,t)},setDirtyStatus:t=>{this.dispatchLuigiEvent(M.SET_DIRTY_STATUS_REQUEST,{dirty:t})},setCurrentLocale:t=>{t&&this.dispatchLuigiEvent(M.SET_CURRENT_LOCALE_REQUEST,{currentLocale:t})},removeBackdrop:()=>{this.dispatchLuigiEvent(M.REMOVE_BACKDROP_REQUEST,{})},addBackdrop:()=>{this.dispatchLuigiEvent(M.ADD_BACKDROP_REQUEST,{})},showLoadingIndicator:()=>{this.dispatchLuigiEvent(M.SHOW_LOADING_INDICATOR_REQUEST,{})},hideLoadingIndicator:()=>{this.dispatchLuigiEvent(M.HIDE_LOADING_INDICATOR_REQUEST,{})},hideAppLoadingIndicator:()=>{this.dispatchLuigiEvent(M.HIDE_LOADING_INDICATOR_REQUEST,{})},closeCurrentModal:()=>{this.dispatchLuigiEvent(M.CLOSE_CURRENT_MODAL_REQUEST,{})}}),getCurrentLocale:()=>this.thisComponent.locale,getActiveFeatureToggles:()=>this.thisComponent.activeFeatureToggleList||[],publishEvent:s=>{t&&t.eventBus&&t.eventBus.onPublishEvent(s,e,i);const o={id:s.type,_metaData:{nodeId:e,wc_id:i,src:n},data:s.detail};this.dispatchLuigiEvent(M.CUSTOM_MESSAGE,o)},luigiClientInit:()=>{this.dispatchLuigiEvent(M.INITIALIZED,{})},addNodeParams:(t,e)=>{s||this.dispatchLuigiEvent(M.ADD_NODE_PARAMS_REQUEST,{params:t,data:t,keepBrowserHistory:e})},getNodeParams:t=>{return s?{}:t?(e=this.thisComponent.nodeParams,Object.entries(e).reduce(((t,e)=>(t[X(e[0])]=X(e[1]),t)),{})):this.thisComponent.nodeParams||{};var e},setAnchor:t=>{s||this.dispatchLuigiEvent(M.SET_ANCHOR_LINK_REQUEST,t)},getAnchor:()=>this.thisComponent.anchor||"",getCoreSearchParams:()=>this.thisComponent.searchParams||{},getPathParams:()=>this.thisComponent.pathParams||{},getClientPermissions:()=>this.thisComponent.clientPermissions||{},addCoreSearchParams:(t={},e=!0)=>{this.dispatchLuigiEvent(M.ADD_SEARCH_PARAMS_REQUEST,{data:t,keepBrowserHistory:e})},getUserSettings:()=>this.thisComponent.userSettings||{},setViewGroupData:t=>{this.dispatchLuigiEvent(M.SET_VIEW_GROUP_DATA_REQUEST,t)}}}initWC(t,e,i,n,s,o,a){const r=this.createClientAPI(i,o,e,t,a);if(t.__postProcess){const e=new URL(document.baseURI).origin===new URL(n,document.baseURI).origin?new URL("./",new URL(n,document.baseURI)):new URL("./",n);t.__postProcess(s,r,e.origin+e.pathname)}else t.context=s,t.LuigiClient=r}generateWCId(t){let e="";const i=new URL(t,encodeURI(location.href)).href;for(let t=0;t<i.length;t++)e+=i.charCodeAt(t).toString(16);return"luigi-wc-"+e}registerWCFromUrl(t,e){const i=this.processViewUrl(t);return new Promise(((t,n)=>{if(this.checkWCUrl(i))this.dynamicImport(i).then((i=>{try{if(!window.customElements.get(e)){let t=i.default;if(!HTMLElement.isPrototypeOf(t)){const e=Object.keys(i);for(let n=0;n<e.length&&(t=i[e[n]],!HTMLElement.isPrototypeOf(t));n++);}window.customElements.define(e,t)}t(1)}catch(t){n(t)}})).catch((t=>{n(t)}));else{n(`Error: View URL '${i}' not allowed to be included`)}}))}includeSelfRegisteredWCFromUrl(t,e,i){if(this.checkWCUrl(e)){this.containerService.getContainerManager()._registerWebcomponent||(this.containerService.getContainerManager()._registerWebcomponent=(t,e)=>{window.customElements.define(this.generateWCId(t),e)}),window.Luigi||(window.Luigi={},window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(t,e)=>{this.containerService.getContainerManager()._registerWebcomponent(t,e)}));const n=document.createElement("script");n.setAttribute("src",e),"module"===t.webcomponent.type&&n.setAttribute("type","module"),n.setAttribute("defer","true"),n.addEventListener("load",(()=>{i()})),document.body.appendChild(n)}else console.warn(`View URL '${e}' not allowed to be included`)}checkWCUrl(t){return!0}renderWebComponent(t,e,i,n,s,o){const a=this.processViewUrl(t,{context:i}),r=n?.webcomponent?.tagName||this.generateWCId(a),c=document.createElement("div");e.appendChild(c),e._luigi_node=n,window.customElements.get(r)?this.attachWC(r,c,e,i,a,s,o):window.luigiWCFn?window.luigiWCFn(a,r,c,(()=>{this.attachWC(r,c,e,i,a,s,o)})):n?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,a,(()=>{this.attachWC(r,c,e,i,a,s,o)})):this.registerWCFromUrl(a,r).then((()=>{this.attachWC(r,c,e,i,a,s,o)})).catch((t=>{console.warn("ERROR =>",t),this.containerService.dispatch(M.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}createCompoundContainerAsync(t,e,i){return new Promise(((n,s)=>{if(t.viewUrl)try{const s=i?.webcomponent?.tagName||this.generateWCId(t.viewUrl);i?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,t.viewUrl,(()=>{const i=document.createElement(s);i.setAttribute("lui_web_component","true"),this.initWC(i,s,i,t.viewUrl,e,"_root"),n(i)})):this.registerWCFromUrl(t.viewUrl,s).then((()=>{const i=document.createElement(s);i.setAttribute("lui_web_component","true"),this.initWC(i,s,i,t.viewUrl,e,"_root"),n(i)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(M.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}catch(t){s(t)}else n(t.createCompoundContainer())}))}renderWebComponentCompound(t,e,i){let n;return t.webcomponent&&t.viewUrl?(n=new V,n.viewUrl=this.processViewUrl(t.viewUrl,{context:i}),n.createCompoundItemContainer=t=>{const e=document.createElement("div");return t?.slot&&e.setAttribute("slot",t.slot),e}):t.compound?.renderer&&(n=q(t.compound.renderer)),n=n||new V,new Promise((s=>{this.createCompoundContainerAsync(n,i,t).then((o=>{e._luigi_mfe_webcomponent=o,e._luigi_node=t;const a={};o.eventBus={listeners:a,onPublishEvent:(t,e,i)=>{const n=a[e+"."+t.type]||[];n.push(...a["*."+t.type]||[]),n.forEach((e=>{const i=e.wcElement||o.querySelector("[nodeId="+e.wcElementId+"]");i?i.dispatchEvent(new CustomEvent(e.action,{detail:e.converter?e.converter(t.detail):t.detail})):console.debug("Could not find event target",e)}))}},t.compound?.children?.forEach(((t,e)=>{const s={...i,...t.context},r=n.createCompoundItemContainer(t.layoutConfig);r.eventBus=o.eventBus,n.attachCompoundItem(o,r);const c=t.id||"gen_"+e;this.renderWebComponent(t.viewUrl,r,s,t,c,!0),K(a,t,c)})),e.appendChild(o),K(a,t.compound,"_root",o),s(o)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(M.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}))}resolveAlert(t,e){this.alertResolvers[t]?(this.alertResolvers[t](void 0===e||e),this.alertResolvers[t]=void 0):console.log("Promise is not in the list.")}notifyConfirmationModalClosed(t){this.modalResolver?(t?this.modalResolver.resolve():this.modalResolver.reject(),this.modalResolver=void 0):console.log("Modal promise is not listed.")}}const J=new class{isFunction(t){return t&&"[object Function]"==={}.toString.call(t)}isObject(t){return!(!t||"object"!=typeof t||Array.isArray(t))}checkWebcomponentValue(t){return"string"==typeof t?JSON.parse(t):"boolean"==typeof t||"object"==typeof t?t:void console.warn("Webcomponent value has a wrong type.")}resolveContext(t){return t?"string"==typeof t?JSON.parse(t):t:{}}};function Y(t){let e,i=(!t[4]||"false"===t[4])&&Z(t);return{c(){i&&i.c(),e=E("")},m(t,n){i&&i.m(t,n),u(t,e,n)},p(t,n){t[4]&&"false"!==t[4]?i&&(i.d(1),i=null):i?i.p(t,n):(i=Z(t),i.c(),i.m(e.parentNode,e))},d(t){t&&d(e),i&&i.d(t)}}}function Z(t){let e,i,n,s,o,a;return{c(){e=h("style"),e.textContent="main.lui-isolated,\n .lui-isolated iframe {\n width: 100%;\n height: 100%;\n border: none;\n }\n\n main.lui-isolated {\n line-height: 0;\n }",i=E(" "),n=h("iframe"),c(n.src,s=t[3])||m(n,"src",s),m(n,"title",t[1]),m(n,"allow",o=G(t[0])),m(n,"sandbox",a=t[2]?t[2].join(" "):void 0)},m(s,o){u(s,e,o),u(s,i,o),u(s,n,o),t[28](n)},p(t,e){8&e[0]&&!c(n.src,s=t[3])&&m(n,"src",s),2&e[0]&&m(n,"title",t[1]),1&e[0]&&o!==(o=G(t[0]))&&m(n,"allow",o),4&e[0]&&a!==(a=t[2]?t[2].join(" "):void 0)&&m(n,"sandbox",a)},d(s){s&&(d(e),d(i),d(n)),t[28](null)}}}function tt(e){let i,n,s=e[5]&&Y(e);return{c(){i=h("main"),s&&s.c(),m(i,"class",n=e[4]?void 0:"lui-isolated")},m(t,n){u(t,i,n),s&&s.m(i,null),e[29](i)},p(t,e){t[5]?s?s.p(t,e):(s=Y(t),s.c(),s.m(i,null)):s&&(s.d(1),s=null),16&e[0]&&n!==(n=t[4]?void 0:"lui-isolated")&&m(i,"class",n)},i:t,o:t,d(t){t&&d(i),s&&s.d(),e[29](null)}}}function et(t,e,i){let{activeFeatureToggleList:n}=e,{allowRules:s}=e,{anchor:o}=e,{authData:a}=e,{clientPermissions:r}=e,{context:c}=e,{deferInit:l}=e,{dirtyStatus:u}=e,{documentTitle:d}=e,{hasBack:h}=e,{label:E}=e,{locale:m}=e,{noShadow:p}=e,{nodeParams:T}=e,{pathParams:C}=e,{sandboxRules:$}=e,{searchParams:f}=e,{skipCookieCheck:R}=e,{skipInitCheck:A}=e,{theme:w}=e,{userSettings:b}=e,{viewurl:I}=e,{webcomponent:O}=e;const U={};let v,N,y=!1;const L=new z,P=t=>{if(!y){t.sendCustomMessage=(e,i)=>{B.sendCustomMessage(e,t.getNoShadow()?t:v,!!O,U,i)},t.updateContext=(e,n)=>{if(i(8,c=e),O)(t.getNoShadow()?t:v)._luigi_mfe_webcomponent.context=e;else{const i={...n||{},activeFeatureToggleList:t.activeFeatureToggleList||[],currentLocale:t.locale,currentTheme:t.theme,userSettings:t.userSettings||null,cssVariables:t.cssVariables||{},anchor:t.anchor||"",drawer:t.drawer||!1,modal:t.modal||!1,viewStackSize:t.viewStackSize||0,isNavigateBack:t.isNavigateBack||!1};B.updateContext(e,i,U,T,C,f)}},t.closeAlert=(e,i)=>{t.notifyAlertClosed(e,i)},t.notifyAlertClosed=(e,i)=>{t.isConnected&&(O?L.resolveAlert(e,i):B.notifyAlertClosed(e,i,U))},t.notifyConfirmationModalClosed=e=>{t.isConnected&&(O?L.notifyConfirmationModalClosed(!!e):B.notifyConfirmationModalClosed(!!e,U))},W.registerContainer(t),L.thisComponent=t;const e=J.resolveContext(c);if(t.updateViewUrl=(t,e)=>{t?.length&&B.updateViewUrl(t,J.resolveContext(c),e,U)},O&&"false"!=O){if(t.getNoShadow())t.innerHTML="";else{i(7,v.innerHTML="",v);t.attachShadow({mode:"open"}).append(v)}const n=J.checkWebcomponentValue(O);L.renderWebComponent(I,t.getNoShadow()?t:v,e,"object"==typeof n?{webcomponent:n}:{})}else if(!t.getNoShadow()){t.innerHTML="";t.attachShadow({mode:"open"}).append(v)}A?(t.initialized=!0,setTimeout((()=>{L.dispatchLuigiEvent(M.INITIALIZED,{})}))):O&&(t.getNoShadow()?t:v).addEventListener("wc_ready",(()=>{(t.getNoShadow()?t:v)._luigi_mfe_webcomponent?.deferLuigiClientWCInit||(t.initialized=!0,L.dispatchLuigiEvent(M.INITIALIZED,{}))})),i(5,y=!0),t.containerInitialized=!0}};var D;return g((async()=>{i(27,N=v.parentNode),i(27,N.iframeHandle=U,N),i(27,N.init=()=>{P(N)},N),!l&&I&&P(N)})),D=async()=>{},_().$$.on_destroy.push(D),t.$$set=t=>{"activeFeatureToggleList"in t&&i(9,n=t.activeFeatureToggleList),"allowRules"in t&&i(0,s=t.allowRules),"anchor"in t&&i(10,o=t.anchor),"authData"in t&&i(11,a=t.authData),"clientPermissions"in t&&i(12,r=t.clientPermissions),"context"in t&&i(8,c=t.context),"deferInit"in t&&i(13,l=t.deferInit),"dirtyStatus"in t&&i(14,u=t.dirtyStatus),"documentTitle"in t&&i(15,d=t.documentTitle),"hasBack"in t&&i(16,h=t.hasBack),"label"in t&&i(1,E=t.label),"locale"in t&&i(17,m=t.locale),"noShadow"in t&&i(18,p=t.noShadow),"nodeParams"in t&&i(19,T=t.nodeParams),"pathParams"in t&&i(20,C=t.pathParams),"sandboxRules"in t&&i(2,$=t.sandboxRules),"searchParams"in t&&i(21,f=t.searchParams),"skipCookieCheck"in t&&i(22,R=t.skipCookieCheck),"skipInitCheck"in t&&i(23,A=t.skipInitCheck),"theme"in t&&i(24,w=t.theme),"userSettings"in t&&i(25,b=t.userSettings),"viewurl"in t&&i(3,I=t.viewurl),"webcomponent"in t&&i(4,O=t.webcomponent)},t.$$.update=()=>{134225960&t.$$.dirty[0]&&!y&&I&&!l&&N&&P(N)},[s,E,$,I,O,y,U,v,c,n,o,a,r,l,u,d,h,m,p,T,C,f,R,A,w,b,()=>n&&s&&o&&a&&r&&u&&d&&h&&m&&p&&T&&C&&$&&f&&R&&A&&w&&b,N,function(t){S[t?"unshift":"push"]((()=>{U.iframe=t,i(6,U)}))},function(t){S[t?"unshift":"push"]((()=>{v=t,i(7,v)}))}]}class it extends k{constructor(t){super(),y(this,t,et,tt,o,{activeFeatureToggleList:9,allowRules:0,anchor:10,authData:11,clientPermissions:12,context:8,deferInit:13,dirtyStatus:14,documentTitle:15,hasBack:16,label:1,locale:17,noShadow:18,nodeParams:19,pathParams:20,sandboxRules:2,searchParams:21,skipCookieCheck:22,skipInitCheck:23,theme:24,userSettings:25,viewurl:3,webcomponent:4,unwarn:26},null,[-1,-1])}get activeFeatureToggleList(){return this.$$.ctx[9]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get allowRules(){return this.$$.ctx[0]}set allowRules(t){this.$$set({allowRules:t}),I()}get anchor(){return this.$$.ctx[10]}set anchor(t){this.$$set({anchor:t}),I()}get authData(){return this.$$.ctx[11]}set authData(t){this.$$set({authData:t}),I()}get clientPermissions(){return this.$$.ctx[12]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get context(){return this.$$.ctx[8]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[13]}set deferInit(t){this.$$set({deferInit:t}),I()}get dirtyStatus(){return this.$$.ctx[14]}set dirtyStatus(t){this.$$set({dirtyStatus:t}),I()}get documentTitle(){return this.$$.ctx[15]}set documentTitle(t){this.$$set({documentTitle:t}),I()}get hasBack(){return this.$$.ctx[16]}set hasBack(t){this.$$set({hasBack:t}),I()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),I()}get locale(){return this.$$.ctx[17]}set locale(t){this.$$set({locale:t}),I()}get noShadow(){return this.$$.ctx[18]}set noShadow(t){this.$$set({noShadow:t}),I()}get nodeParams(){return this.$$.ctx[19]}set nodeParams(t){this.$$set({nodeParams:t}),I()}get pathParams(){return this.$$.ctx[20]}set pathParams(t){this.$$set({pathParams:t}),I()}get sandboxRules(){return this.$$.ctx[2]}set sandboxRules(t){this.$$set({sandboxRules:t}),I()}get searchParams(){return this.$$.ctx[21]}set searchParams(t){this.$$set({searchParams:t}),I()}get skipCookieCheck(){return this.$$.ctx[22]}set skipCookieCheck(t){this.$$set({skipCookieCheck:t}),I()}get skipInitCheck(){return this.$$.ctx[23]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[24]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[25]}set userSettings(t){this.$$set({userSettings:t}),I()}get viewurl(){return this.$$.ctx[3]}set viewurl(t){this.$$set({viewurl:t}),I()}get webcomponent(){return this.$$.ctx[4]}set webcomponent(t){this.$$set({webcomponent:t}),I()}get unwarn(){return this.$$.ctx[26]}}function nt(t){l(t,"svelte-1buc46y","main.svelte-1buc46y{width:100%;height:100%;border:none}")}function st(e){let i;return{c(){i=h("main"),m(i,"class","svelte-1buc46y")},m(t,n){u(t,i,n),e[21](i)},p:t,i:t,o:t,d(t){t&&d(i),e[21](null)}}}function ot(t,e,i){let n,s,{activeFeatureToggleList:o}=e,{anchor:a}=e,{clientPermissions:r}=e,{compoundConfig:c}=e,{context:l}=e,{deferInit:u}=e,{dirtyStatus:d}=e,{documentTitle:h}=e,{hasBack:E}=e,{locale:m}=e,{noShadow:p}=e,{nodeParams:_}=e,{pathParams:T}=e,{searchParams:C}=e,{skipInitCheck:$}=e,{theme:f}=e,{userSettings:R}=e,{viewurl:A}=e,{webcomponent:w}=e,b=!1;const I=new H,O=new z,U=t=>{if(!c||b)return;t.updateContext=(e,s)=>{const o=t.getNoShadow()?t:n;o._luigi_mfe_webcomponent.context=e,i(1,l=e);const a=o._luigi_mfe_webcomponent;if(a){const t=a.querySelectorAll("[lui_web_component]");t?.forEach((t=>{const i=t.context||{};t.context=Object.assign(i,e)}))}};const e=J.resolveContext(l);i(2,u=!1),t.notifyAlertClosed=(e,i)=>{t.isConnected&&O.resolveAlert(e,i)},t.notifyConfirmationModalClosed=e=>{t.isConnected&&O.notifyConfirmationModalClosed(!!e)};const o={compound:c,viewUrl:A,webcomponent:J.checkWebcomponentValue(w)||!0};if(t.getNoShadow())t.innerHTML="";else{i(0,n.innerHTML="",n);t.attachShadow({mode:"open"}).append(n)}O.renderWebComponentCompound(o,t.getNoShadow()?t:n,e).then((e=>{s=e,$||!o.viewUrl?(t.initialized=!0,setTimeout((()=>{O.dispatchLuigiEvent(M.INITIALIZED,{})}))):s.LuigiClient&&!s.deferLuigiClientWCInit&&(t.initialized=!0,O.dispatchLuigiEvent(M.INITIALIZED,{}))})),b=!0,t.containerInitialized=!0};return g((async()=>{const t=n.getRootNode()===document?n.parentNode:n.getRootNode().host;t.init=()=>{U(t)},u||U(t),I.registerContainer(t),O.thisComponent=t})),t.$$set=t=>{"activeFeatureToggleList"in t&&i(3,o=t.activeFeatureToggleList),"anchor"in t&&i(4,a=t.anchor),"clientPermissions"in t&&i(5,r=t.clientPermissions),"compoundConfig"in t&&i(6,c=t.compoundConfig),"context"in t&&i(1,l=t.context),"deferInit"in t&&i(2,u=t.deferInit),"dirtyStatus"in t&&i(7,d=t.dirtyStatus),"documentTitle"in t&&i(8,h=t.documentTitle),"hasBack"in t&&i(9,E=t.hasBack),"locale"in t&&i(10,m=t.locale),"noShadow"in t&&i(11,p=t.noShadow),"nodeParams"in t&&i(12,_=t.nodeParams),"pathParams"in t&&i(13,T=t.pathParams),"searchParams"in t&&i(14,C=t.searchParams),"skipInitCheck"in t&&i(15,$=t.skipInitCheck),"theme"in t&&i(16,f=t.theme),"userSettings"in t&&i(17,R=t.userSettings),"viewurl"in t&&i(18,A=t.viewurl),"webcomponent"in t&&i(19,w=t.webcomponent)},[n,l,u,o,a,r,c,d,h,E,m,p,_,T,C,$,f,R,A,w,()=>o&&a&&r&&d&&h&&E&&m&&p&&_&&T&&C&&$&&f&&R,function(t){S[t?"unshift":"push"]((()=>{n=t,i(0,n)}))}]}D(it,{activeFeatureToggleList:{type:"Array",reflect:!1,attribute:"active-feature-toggle-list"},allowRules:{type:"Array",reflect:!1,attribute:"allow-rules"},anchor:{type:"String",reflect:!1,attribute:"anchor"},authData:{type:"Object",reflect:!1,attribute:"auth-data"},clientPermissions:{type:"Object",reflect:!1,attribute:"client-permissions"},context:{type:"String",reflect:!1,attribute:"context"},deferInit:{type:"Boolean",attribute:"defer-init"},dirtyStatus:{type:"Boolean",reflect:!1,attribute:"dirty-status"},documentTitle:{type:"String",reflect:!1,attribute:"document-title"},hasBack:{type:"Boolean",reflect:!1,attribute:"has-back"},label:{type:"String",reflect:!1,attribute:"label"},locale:{type:"String",reflect:!1,attribute:"locale"},noShadow:{type:"Boolean",attribute:"no-shadow"},nodeParams:{type:"Object",reflect:!1,attribute:"node-params"},pathParams:{type:"Object",reflect:!1,attribute:"path-params"},sandboxRules:{type:"Array",reflect:!1,attribute:"sandbox-rules"},searchParams:{type:"Object",reflect:!1,attribute:"search-params"},skipCookieCheck:{type:"String",reflect:!1,attribute:"skip-cookie-check"},skipInitCheck:{type:"Boolean",reflect:!1,attribute:"skip-init-check"},theme:{type:"String",reflect:!1,attribute:"theme"},userSettings:{type:"Object",reflect:!1,attribute:"user-settings"},viewurl:{type:"String",reflect:!1,attribute:"viewurl"},webcomponent:{type:"String",reflect:!1,attribute:"webcomponent"}},[],["unwarn"],!1,(t=>{let e=t=>()=>console.warn(t+" can't be called on luigi-container before its micro frontend is attached to the DOM.");return class extends t{sendCustomMessage=e("sendCustomMessage");updateContext=e("updateContext");updateViewUrl=e("updateViewUrl");closeAlert=e("closeAlert");notifyAlertClosed=e("notifyAlertClosed");notifyConfirmationModalClosed=e("notifyConfirmationModalClosed");attributeChangedCallback(t,e,i){try{super.attributeChangedCallback(t,e,i)}catch(t){console.error("Error in super.attributeChangedCallback",t)}this.containerInitialized&&("context"===t&&this.updateContext(JSON.parse(i)),"auth-data"===t&&B.updateAuthData(this.iframeHandle,JSON.parse(i)))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}}));class at extends k{constructor(t){super(),y(this,t,ot,st,o,{activeFeatureToggleList:3,anchor:4,clientPermissions:5,compoundConfig:6,context:1,deferInit:2,dirtyStatus:7,documentTitle:8,hasBack:9,locale:10,noShadow:11,nodeParams:12,pathParams:13,searchParams:14,skipInitCheck:15,theme:16,userSettings:17,viewurl:18,webcomponent:19,unwarn:20},nt)}get activeFeatureToggleList(){return this.$$.ctx[3]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get anchor(){return this.$$.ctx[4]}set anchor(t){this.$$set({anchor:t}),I()}get clientPermissions(){return this.$$.ctx[5]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get compoundConfig(){return this.$$.ctx[6]}set compoundConfig(t){this.$$set({compoundConfig:t}),I()}get context(){return this.$$.ctx[1]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[2]}set deferInit(t){this.$$set({deferInit:t}),I()}get dirtyStatus(){return this.$$.ctx[7]}set dirtyStatus(t){this.$$set({dirtyStatus:t}),I()}get documentTitle(){return this.$$.ctx[8]}set documentTitle(t){this.$$set({documentTitle:t}),I()}get hasBack(){return this.$$.ctx[9]}set hasBack(t){this.$$set({hasBack:t}),I()}get locale(){return this.$$.ctx[10]}set locale(t){this.$$set({locale:t}),I()}get noShadow(){return this.$$.ctx[11]}set noShadow(t){this.$$set({noShadow:t}),I()}get nodeParams(){return this.$$.ctx[12]}set nodeParams(t){this.$$set({nodeParams:t}),I()}get pathParams(){return this.$$.ctx[13]}set pathParams(t){this.$$set({pathParams:t}),I()}get searchParams(){return this.$$.ctx[14]}set searchParams(t){this.$$set({searchParams:t}),I()}get skipInitCheck(){return this.$$.ctx[15]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[16]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[17]}set userSettings(t){this.$$set({userSettings:t}),I()}get viewurl(){return this.$$.ctx[18]}set viewurl(t){this.$$set({viewurl:t}),I()}get webcomponent(){return this.$$.ctx[19]}set webcomponent(t){this.$$set({webcomponent:t}),I()}get unwarn(){return this.$$.ctx[20]}}D(at,{activeFeatureToggleList:{type:"Array",reflect:!1,attribute:"active-feature-toggle-list"},anchor:{type:"String",reflect:!1,attribute:"anchor"},clientPermissions:{type:"Object",reflect:!1,attribute:"client-permissions"},compoundConfig:{type:"Object",reflect:!1,attribute:"compound-config"},context:{type:"String",reflect:!1,attribute:"context"},deferInit:{type:"Boolean",attribute:"defer-init"},dirtyStatus:{type:"Boolean",reflect:!1,attribute:"dirty-status"},documentTitle:{type:"String",reflect:!1,attribute:"document-title"},hasBack:{type:"Boolean",reflect:!1,attribute:"has-back"},locale:{type:"String",reflect:!1,attribute:"locale"},noShadow:{type:"Boolean",attribute:"no-shadow",reflect:!1},nodeParams:{type:"Object",reflect:!1,attribute:"node-params"},pathParams:{type:"Object",reflect:!1,attribute:"path-params"},searchParams:{type:"Object",reflect:!1,attribute:"search-params"},skipInitCheck:{type:"Boolean",reflect:!1,attribute:"skip-init-check"},theme:{type:"String",reflect:!1,attribute:"theme"},userSettings:{type:"Object",reflect:!1,attribute:"user-settings"},viewurl:{type:"String",reflect:!1,attribute:"viewurl"},webcomponent:{type:"String",reflect:!1,attribute:"webcomponent"}},[],["unwarn"],!1,(t=>{let e=t=>()=>console.warn(t+" can't be called on luigi-container before its micro frontend is attached to the DOM.");return class extends t{updateContext=e("updateContext");notifyAlertClosed=e("notifyAlertClosed");notifyConfirmationModalClosed=e("notifyConfirmationModalClosed");attributeChangedCallback(t,e,i){try{super.attributeChangedCallback(t,e,i)}catch(t){console.warn("Error in attributeChangedCallback",t)}this.containerInitialized&&"context"===t&&this.updateContext(JSON.parse(i))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}}));var rt=M;customElements.get("luigi-container")||customElements.define("luigi-container",it.element),customElements.get("luigi-compound-container")||customElements.define("luigi-compound-container",at.element);export{at as LuigiCompoundContainer,it as LuigiContainer,M as LuigiEvents,rt as default};
|
|
1
|
+
function t(){}function e(t){return t()}function i(){return Object.create(null)}function n(t){t.forEach(e)}function s(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let a,r;function c(t,e){return t===e||(a||(a=document.createElement("a")),a.href=e,t===a.href)}function l(t,e,i){const n=function(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;if(e&&e.host)return e;return t.ownerDocument}(t);if(!n.getElementById(e)){const t=h("style");t.id=e,t.textContent=i,function(t,e){(function(t,e){t.appendChild(e)})(t.head||t,e),e.sheet}(n,t)}}function d(t,e,i){t.insertBefore(e,i||null)}function u(t){t.parentNode&&t.parentNode.removeChild(t)}function h(t){return document.createElement(t)}function E(t){return document.createTextNode(t)}function m(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function p(t){r=t}function _(){if(!r)throw new Error("Function called outside component initialization");return r}function g(t){_().$$.on_mount.push(t)}const T=[],S=[];let C=[];const $=[],f=Promise.resolve();let R=!1;function A(t){C.push(t)}const w=new Set;let b=0;function I(){if(0!==b)return;const t=r;do{try{for(;b<T.length;){const t=T[b];b++,p(t),O(t.$$)}}catch(t){throw T.length=0,b=0,t}for(p(null),T.length=0,b=0;S.length;)S.pop()();for(let t=0;t<C.length;t+=1){const e=C[t];w.has(e)||(w.add(e),e())}C.length=0}while(T.length);for(;$.length;)$.pop()();R=!1,w.clear(),p(t)}function O(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(A)}}const U=new Set;function v(t,e){const i=t.$$;null!==i.fragment&&(!function(t){const e=[],i=[];C.forEach((n=>-1===t.indexOf(n)?e.push(n):i.push(n))),i.forEach((t=>t())),C=e}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function N(t,e){-1===t.$$.dirty[0]&&(T.push(t),R||(R=!0,f.then(I)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function y(o,a,c,l,d,h,E=null,m=[-1]){const _=r;p(o);const g=o.$$={fragment:null,ctx:[],props:h,update:t,not_equal:d,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(_?_.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:a.target||_.$$.root};E&&E(g.root);let T=!1;if(g.ctx=c?c(o,a.props||{},((t,e,...i)=>{const n=i.length?i[0]:e;return g.ctx&&d(g.ctx[t],g.ctx[t]=n)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](n),T&&N(o,t)),e})):[],g.update(),T=!0,n(g.before_update),g.fragment=!!l&&l(g.ctx),a.target){if(a.hydrate){const t=function(t){return Array.from(t.childNodes)}(a.target);g.fragment&&g.fragment.l(t),t.forEach(u)}else g.fragment&&g.fragment.c();a.intro&&((S=o.$$.fragment)&&S.i&&(U.delete(S),S.i(C))),function(t,i,o){const{fragment:a,after_update:r}=t.$$;a&&a.m(i,o),A((()=>{const i=t.$$.on_mount.map(e).filter(s);t.$$.on_destroy?t.$$.on_destroy.push(...i):n(i),t.$$.on_mount=[]})),r.forEach(A)}(o,a.target,a.anchor),I()}var S,C;p(_)}let L;function P(t,e,i,n){const s=i[t]?.type;if(e="Boolean"===s&&"boolean"!=typeof e?null!=e:e,!n||!i[t])return e;if("toAttribute"===n)switch(s){case"Object":case"Array":return null==e?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return null==e?null:e;default:return e}else switch(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":default:return e;case"Number":return null!=e?+e:e}}function D(t,e,i,n,s,o){let a=class extends L{constructor(){super(t,i,s),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map((t=>(e[t].attribute||t).toLowerCase()))}};return Object.keys(e).forEach((t=>{Object.defineProperty(a.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(i){i=P(t,i,e),this.$$d[t]=i,this.$$c?.$set({[t]:i})}})})),n.forEach((t=>{Object.defineProperty(a.prototype,t,{get(){return this.$$c?.[t]}})})),o&&(a=o(a)),t.element=a,a}"function"==typeof HTMLElement&&(L=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,i){super(),this.$$ctor=t,this.$$s=e,i&&this.attachShadow({mode:"open"})}addEventListener(t,e,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const i=this.$$c.$on(t,e);this.$$l_u.set(e,i)}super.addEventListener(t,e,i)}removeEventListener(t,e,i){if(super.removeEventListener(t,e,i),this.$$c){const t=this.$$l_u.get(e);t&&(t(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(t){return()=>{let e;return{c:function(){e=h("slot"),"default"!==t&&m(e,"name",t)},m:function(t,i){d(t,e,i)},d:function(t){t&&u(e)}}}}const e={},i=function(t){const e={};return t.childNodes.forEach((t=>{e[t.slot||"default"]=!0})),e}(this);for(const s of this.$$s)s in i&&(e[s]=[t(s)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=P(a,o.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)r in this.$$d||void 0===this[r]||(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});const n=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const e=P(t,this.$$d[t],this.$$p_d,"toAttribute");null==e?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,e)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const c in this.$$l)for(const l of this.$$l[c]){const E=this.$$c.$on(c,l);this.$$l_u.set(l,E)}this.$$l={}}}attributeChangedCallback(t,e,i){this.$$r||(t=this.$$g_p(t),this.$$d[t]=P(t,i,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(t){return Object.keys(this.$$p_d).find((e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t))||t}});class k{$$=void 0;$$set=void 0;$destroy(){v(this,1),this.$destroy=t}$on(e,i){if(!s(i))return t;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const t=n.indexOf(i);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}var x;"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4"),function(t){t.CUSTOM_MESSAGE="custom",t.GET_CONTEXT="luigi.get-context",t.SEND_CONTEXT_HANDSHAKE="luigi.init",t.CONTEXT_RECEIVED="luigi.init.ok",t.NAVIGATION_REQUEST="luigi.navigation.open",t.ALERT_REQUEST="luigi.ux.alert.show",t.ALERT_CLOSED="luigi.ux.alert.hide",t.INITIALIZED="luigi.init.ok",t.ADD_SEARCH_PARAMS_REQUEST="luigi.addSearchParams",t.ADD_NODE_PARAMS_REQUEST="luigi.addNodeParams",t.SHOW_CONFIRMATION_MODAL_REQUEST="luigi.ux.confirmationModal.show",t.CONFIRMATION_MODAL_CLOSED="luigi.ux.confirmationModal.hide",t.SHOW_LOADING_INDICATOR_REQUEST="luigi.show-loading-indicator",t.HIDE_LOADING_INDICATOR_REQUEST="luigi.hide-loading-indicator",t.SET_CURRENT_LOCALE_REQUEST="luigi.ux.set-current-locale",t.LOCAL_STORAGE_SET_REQUEST="storage",t.RUNTIME_ERROR_HANDLING_REQUEST="luigi-runtime-error-handling",t.SET_ANCHOR_LINK_REQUEST="luigi.setAnchor",t.SET_THIRD_PARTY_COOKIES_REQUEST="luigi.third-party-cookie",t.BACK_NAVIGATION_REQUEST="luigi.navigation.back",t.GET_CURRENT_ROUTE_REQUEST="luigi.navigation.currentRoute",t.SEND_CURRENT_ROUTE_ANSWER="luigi.navigation.currentRoute.answer",t.SEND_CONTEXT_OBJECT="luigi.navigate",t.NAVIGATION_COMPLETED_REPORT="luigi.navigate.ok",t.CLOSE_MODAL_ANSWER="luigi.navigation.modal.close",t.UPDATE_MODAL_PATH_DATA_REQUEST="luigi.navigation.updateModalDataPath",t.UPDATE_MODAL_SETTINGS="luigi.navigation.updateModalSettings",t.CHECK_PATH_EXISTS_REQUEST="luigi.navigation.pathExists",t.SEND_PATH_EXISTS_ANSWER="luigi.navigation.pathExists.answer",t.SET_DIRTY_STATUS_REQUEST="luigi.set-page-dirty",t.AUTH_SET_TOKEN="luigi.auth.tokenIssued",t.ADD_BACKDROP_REQUEST="luigi.add-backdrop",t.REMOVE_BACKDROP_REQUEST="luigi.remove-backdrop",t.SET_VIEW_GROUP_DATA_REQUEST="luigi.setVGData",t.CLOSE_CURRENT_MODAL_REQUEST="luigi.close-modal"}(x||(x={}));class M extends Event{constructor(t,e,i,n){super(t),this.detail=e,this.payload=i||e||{},this.callbackFn=n}callback(t){this.callbackFn&&this.callbackFn(t)}}const Q={ADD_BACKDROP_REQUEST:"add-backdrop-request",ADD_NODE_PARAMS_REQUEST:"add-node-params-request",ADD_SEARCH_PARAMS_REQUEST:"add-search-params-request",ALERT_CLOSED:"close-alert-request",ALERT_REQUEST:"show-alert-request",BACK_NAVIGATION_REQUEST:"navigate-back-request",CHECK_PATH_EXISTS_REQUEST:"check-path-exists-request",CLOSE_CURRENT_MODAL_REQUEST:"close-current-modal-request",CLOSE_USER_SETTINGS_REQUEST:"close-user-settings-request",COLLAPSE_LEFT_NAV_REQUEST:"collapse-leftnav-request",CUSTOM_MESSAGE:"custom-message",GET_CONTEXT_REQUEST:"get-context-request",GET_CURRENT_ROUTE_REQUEST:"get-current-route-request",GO_BACK_REQUEST:"go-back-request",HAS_BACK_REQUEST:"has-back-request",HIDE_LOADING_INDICATOR_REQUEST:"hide-loading-indicator-request",INITIALIZED:"initialized",LOCAL_STORAGE_SET_REQUEST:"set-storage-request",NAVIGATION_COMPLETED_REPORT:"report-navigation-completed-request",NAVIGATION_REQUEST:"navigation-request",OPEN_USER_SETTINGS_REQUEST:"open-user-settings-request",PATH_EXISTS_REQUEST:"path-exists-request",REMOVE_BACKDROP_REQUEST:"remove-backdrop-request",RUNTIME_ERROR_HANDLING_REQUEST:"runtime-error-handling-request",SET_ANCHOR_LINK_REQUEST:"set-anchor-request",SET_CURRENT_LOCALE_REQUEST:"set-current-locale-request",SET_DIRTY_STATUS_REQUEST:"set-dirty-status-request",SET_DOCUMENT_TITLE_REQUEST:"set-document-title-request",SET_THIRD_PARTY_COOKIES_REQUEST:"set-third-party-cookies-request",SET_VIEW_GROUP_DATA_REQUEST:"set-viewgroup-data-request",SHOW_CONFIRMATION_MODAL_REQUEST:"show-confirmation-modal-request",SHOW_LOADING_INDICATOR_REQUEST:"show-loading-indicator-request",UPDATE_MODAL_PATH_DATA_REQUEST:"update-modal-path-data-request",UPDATE_MODAL_SETTINGS_REQUEST:"update-modal-settings-request",UPDATE_TOP_NAVIGATION_REQUEST:"update-top-navigation-request"};class H{isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}sendCustomMessageToIframe(t,e,i){const n=i||"custom";if(t?.iframe?.contentWindow){const i=new URL(t.iframe.src);"custom"===n?t.iframe.contentWindow.postMessage({msg:n,data:e},i.origin):t.iframe.contentWindow.postMessage({msg:n,...e},i.origin)}else console.error("Message target could not be resolved")}dispatchWithPayload(t,e,i,n,s){this.dispatch(t,e,i,s,n)}dispatch(t,e,i,n,s){const o=new M(t,i,s,n);e.dispatchEvent(o)}getTargetContainer(t){let e;return globalThis.__luigi_container_manager.container.forEach((i=>{i.iframeHandle?.iframe&&i.iframeHandle.iframe.contentWindow===t.source&&(e=i)})),e}getContainerManager(){return globalThis.__luigi_container_manager||(globalThis.__luigi_container_manager={container:[],messageListener:t=>{const e=this.getTargetContainer(t),i=e?.iframeHandle?.iframe?.contentWindow;if(i&&i===t.source){switch(t.data.msg){case x.CUSTOM_MESSAGE:{const i=t.data.data,n=i.id;delete i.id,this.dispatch(Q.CUSTOM_MESSAGE,e,{id:n,_metaData:{},data:i})}break;case x.GET_CONTEXT:i.postMessage({msg:x.SEND_CONTEXT_HANDSHAKE,context:e.context||{},internal:{thirdPartyCookieCheck:{disabled:"true"===e.skipCookieCheck},currentTheme:e.theme,currentLocale:e.locale,activeFeatureToggleList:e.activeFeatureToggleList||[],cssVariables:e.cssVariables||{},anchor:e.anchor||"",userSettings:e.userSettings||null,drawer:e.drawer||!1,modal:e.modal||!1,viewStackSize:e.viewStackSize||0,isNavigateBack:e.isNavigateBack||!1},authData:e.authData||{},nodeParams:e.nodeParams||{},searchParams:e.searchParams||{},pathParams:e.pathParams||{}},t.origin);break;case x.NAVIGATION_REQUEST:this.dispatch(Q.NAVIGATION_REQUEST,e,t.data.params,(e=>{i.postMessage({msg:x.CLOSE_MODAL_ANSWER,data:e},t.origin)}));break;case x.ALERT_REQUEST:this.dispatchWithPayload(Q.ALERT_REQUEST,e,t,t.data?.data?.settings,(i=>{e.notifyAlertClosed(t.data?.data?.settings?.id,i)}));break;case x.INITIALIZED:this.dispatch(Q.INITIALIZED,e,t.data?.params||{});break;case x.ADD_SEARCH_PARAMS_REQUEST:this.dispatch(Q.ADD_SEARCH_PARAMS_REQUEST,e,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case x.ADD_NODE_PARAMS_REQUEST:this.dispatch(Q.ADD_NODE_PARAMS_REQUEST,e,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case x.SHOW_CONFIRMATION_MODAL_REQUEST:this.dispatchWithPayload(Q.SHOW_CONFIRMATION_MODAL_REQUEST,e,t.data.data,t.data.data?.settings,(t=>{e.notifyConfirmationModalClosed(t)}));break;case x.SHOW_LOADING_INDICATOR_REQUEST:this.dispatch(Q.SHOW_LOADING_INDICATOR_REQUEST,e,t);break;case x.HIDE_LOADING_INDICATOR_REQUEST:this.dispatch(Q.HIDE_LOADING_INDICATOR_REQUEST,e,t);break;case x.SET_CURRENT_LOCALE_REQUEST:this.dispatchWithPayload(Q.SET_CURRENT_LOCALE_REQUEST,e,t,t.data.data);break;case x.LOCAL_STORAGE_SET_REQUEST:this.dispatchWithPayload(Q.LOCAL_STORAGE_SET_REQUEST,e,t,t.data.data?.params);break;case x.RUNTIME_ERROR_HANDLING_REQUEST:this.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,e,t);break;case x.SET_ANCHOR_LINK_REQUEST:this.dispatchWithPayload(Q.SET_ANCHOR_LINK_REQUEST,e,t,t.data.anchor);break;case x.SET_THIRD_PARTY_COOKIES_REQUEST:this.dispatch(Q.SET_THIRD_PARTY_COOKIES_REQUEST,e,t);break;case x.BACK_NAVIGATION_REQUEST:{let i=t.data?.goBackContext||{};if("string"==typeof i)try{i=JSON.parse(i)}catch(t){console.warn(t)}this.dispatch(Q.GO_BACK_REQUEST,e,i),this.dispatch(Q.BACK_NAVIGATION_REQUEST,e,t)}break;case x.GET_CURRENT_ROUTE_REQUEST:this.dispatchWithPayload(Q.GET_CURRENT_ROUTE_REQUEST,e,t,t.data.data,(e=>{i.postMessage({msg:x.SEND_CURRENT_ROUTE_ANSWER,data:{correlationId:t.data?.data?.id,route:e}},t.origin)}));break;case x.NAVIGATION_COMPLETED_REPORT:this.dispatch(Q.NAVIGATION_COMPLETED_REPORT,e,t);break;case x.UPDATE_MODAL_PATH_DATA_REQUEST:this.dispatchWithPayload(Q.UPDATE_MODAL_PATH_DATA_REQUEST,e,t,t.data.params);break;case x.UPDATE_MODAL_SETTINGS:this.dispatchWithPayload(Q.UPDATE_MODAL_SETTINGS_REQUEST,e,t,{addHistoryEntry:t.data.addHistoryEntry,updatedModalSettings:t.data.updatedModalSettings});break;case x.CHECK_PATH_EXISTS_REQUEST:this.dispatchWithPayload(Q.CHECK_PATH_EXISTS_REQUEST,e,t,t.data.data,(e=>{i.postMessage({msg:x.SEND_PATH_EXISTS_ANSWER,data:{correlationId:t.data?.data?.id,pathExists:e}},t.origin)}));break;case x.SET_DIRTY_STATUS_REQUEST:this.dispatchWithPayload(Q.SET_DIRTY_STATUS_REQUEST,e,t,{dirty:t.data.dirty});break;case x.SET_VIEW_GROUP_DATA_REQUEST:this.dispatch(Q.SET_VIEW_GROUP_DATA_REQUEST,e,t.data.data);break;case x.ADD_BACKDROP_REQUEST:this.dispatch(Q.ADD_BACKDROP_REQUEST,e,t);break;case x.REMOVE_BACKDROP_REQUEST:this.dispatch(Q.REMOVE_BACKDROP_REQUEST,e,t);break;case x.CLOSE_CURRENT_MODAL_REQUEST:this.dispatch(Q.CLOSE_CURRENT_MODAL_REQUEST,e,t)}}}},window.addEventListener("message",globalThis.__luigi_container_manager.messageListener)),globalThis.__luigi_container_manager}registerContainer(t){this.getContainerManager().container.push(t)}}const W=new H;const B=new class{constructor(){this.updateContext=(t,e,i,n,s,o)=>{if(i){const a=e||{};W.sendCustomMessageToIframe(i,{context:t,nodeParams:n||{},pathParams:s||{},searchParams:o||{},internal:a,withoutSync:!0},x.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update context on inexisting iframe")},this.updateViewUrl=(t,e,i,n)=>{if(n){const s=i||{};W.sendCustomMessageToIframe(n,{context:e,internal:s,withoutSync:!1,viewUrl:t},x.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update route on inexisting iframe")},this.updateAuthData=(t,e)=>{t&&e?W.sendCustomMessageToIframe(t,{authData:e},x.AUTH_SET_TOKEN):console.warn("Attempting to update auth data on inexisting iframe or authData")},this.sendCustomMessage=(t,e,i,n,s)=>{if(i&&e._luigi_mfe_webcomponent)W.dispatch(t,e._luigi_mfe_webcomponent,s);else{const e={...s};e.id&&console.warn('Property "id" is reserved and can not be used in custom message data'),e.id=t,W.sendCustomMessageToIframe(n,e)}},this.notifyConfirmationModalClosed=(t,e)=>{const i={data:{confirmed:t}};W.sendCustomMessageToIframe(e,i,x.CONFIRMATION_MODAL_CLOSED)}}notifyAlertClosed(t,e,i){const n=e?{id:t,dismissKey:e}:{id:t};W.sendCustomMessageToIframe(i,n,x.ALERT_CLOSED)}},G=t=>{if(!t)return;const e=t;return e.forEach(((i,n)=>{e[n]=i+(-1!=i.indexOf(";")?"":";"),e[n]=t[n].replaceAll('"',"'")})),e.join(" ")};class V{constructor(t){t?(this.rendererObject=t,this.config=t.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(t){return document.createElement("div")}attachCompoundItem(t,e){t.appendChild(e)}}class j extends V{constructor(t){super(t||{use:{}}),t&&t.use&&t.use.extends&&(this.superRenderer=q({use:t.use.extends,config:t.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(t){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(t,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(t):super.createCompoundItemContainer(t)}attachCompoundItem(t,e){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(t,e,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(t,e):super.attachCompoundItem(t,e)}}class F extends V{createCompoundContainer(){const t="__lui_compound_"+(new Date).getTime(),e=document.createElement("div");e.classList.add(t);let i="";return this.config.layouts&&this.config.layouts.forEach((e=>{if(e.minWidth||e.maxWidth){let n="@media only screen ";null!=e.minWidth&&(n+=`and (min-width: ${e.minWidth}px) `),null!=e.maxWidth&&(n+=`and (max-width: ${e.maxWidth}px) `),n+=`{\n .${t} {\n grid-template-columns: ${e.columns||"auto"};\n grid-template-rows: ${e.rows||"auto"};\n grid-gap: ${e.gap||"0"};\n }\n }\n `,i+=n}})),e.innerHTML=`\n <style scoped>\n .${t} {\n display: grid;\n grid-template-columns: ${this.config.columns||"auto"};\n grid-template-rows: ${this.config.rows||"auto"};\n grid-gap: ${this.config.gap||"0"};\n min-height: ${this.config.minHeight||"auto"};\n }\n ${i}\n </style>\n `,e}createCompoundItemContainer(t){const e=t||{},i=document.createElement("div");return i.setAttribute("style",`grid-row: ${e.row||"auto"}; grid-column: ${e.column||"auto"}`),i.classList.add("lui-compoundItemCnt"),i}}const q=t=>{const e=t.use;return e?"grid"===e?new F(t):e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem?new j(t):new V(t):new V(t)},K=(t,e,i,n)=>{e?.eventListeners&&e.eventListeners.forEach((e=>{const s=e.source+"."+e.name,o=t[s],a={wcElementId:i,wcElement:n,action:e.action,converter:e.dataConverter};o?o.push(a):t[s]=[a]}))};function X(t){return String(t).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/")}class z{constructor(){this.alertResolvers={},this.alertIndex=0,this.containerService=new H}dynamicImport(t){return Object.freeze(import(/* webpackIgnore: true */t))}processViewUrl(t,e){return t}attachWC(t,e,i,n,s,o,a){if(i&&i.contains(e)){const r=document.createElement(t);o&&r.setAttribute("nodeId",o),r.setAttribute("lui_web_component","true"),this.initWC(r,t,i,s,n,o,a),i.replaceChild(r,e),i._luigi_node&&(i._luigi_mfe_webcomponent=r),i.dispatchEvent(new Event("wc_ready"))}}dispatchLuigiEvent(t,e,i){this.containerService.dispatch(t,this.thisComponent,e,i)}createClientAPI(t,e,i,n,s){return{linkManager:()=>{let t=null,e=!1,i=!1,n=!1,s={};const o={navigate:(o,a={})=>{const r={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:i,fromParent:n,nodeParams:s,...a};this.dispatchLuigiEvent(Q.NAVIGATION_REQUEST,{link:o,...r})},navigateToIntent:(t,e={})=>{let i="#?intent=";if(i+=t,e&&Object.keys(e)?.length){const t=Object.entries(e);if(t.length>0){i+="?";for(const[e,n]of t)i+=e+"="+n+"&";i=i.slice(0,-1)}}o.navigate(i)},fromClosestContext:()=>(e=!0,o),fromContext:e=>(t=e,o),fromVirtualTreeRoot:()=>(i=!0,o),fromParent:()=>(n=!0,o),getCurrentRoute:()=>{const o={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:i,fromParent:n,nodeParams:s};return new Promise(((t,e)=>{this.containerService.dispatch(Q.GET_CURRENT_ROUTE_REQUEST,this.thisComponent,{...o},(i=>{i?t(i):e("No current route received.")}))}))},withParams:t=>(s=t,o),updateModalPathInternalNavigation:(o,a={},r=!1)=>{if(!o)return void console.warn("Updating path of the modal upon internal navigation prevented. No path specified.");const c={fromClosestContext:e,fromContext:t,fromParent:n,fromVirtualTreeRoot:i,nodeParams:s};this.dispatchLuigiEvent(Q.UPDATE_MODAL_PATH_DATA_REQUEST,Object.assign(c,{history:r,link:o,modal:a}))},updateTopNavigation:()=>{this.dispatchLuigiEvent(Q.UPDATE_TOP_NAVIGATION_REQUEST,{})},pathExists:o=>{const a={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:i,fromParent:n,nodeParams:s};return new Promise(((t,e)=>{this.containerService.dispatch(Q.CHECK_PATH_EXISTS_REQUEST,this.thisComponent,{...a,link:o},(i=>{i?t(!0):e(!1)})),this.containerService.dispatch(Q.PATH_EXISTS_REQUEST,this.thisComponent,{...a,link:o},(i=>{i?t(!0):e(!1)}))}))},openAsDrawer:(t,e={})=>{o.navigate(t,{drawer:e})},openAsModal:(t,e={})=>{o.navigate(t,{modal:e})},openAsSplitView:(t,e={})=>{o.navigate(t,{splitView:e})},goBack:t=>{this.dispatchLuigiEvent(Q.GO_BACK_REQUEST,t)},hasBack:()=>!1,updateModalSettings:(t={},e=!1)=>{this.dispatchLuigiEvent(Q.UPDATE_MODAL_SETTINGS_REQUEST,{updatedModalSettings:t,addHistoryEntry:e})}};return o},uxManager:()=>({showAlert:t=>(t.id=this.alertIndex++,new Promise((e=>{this.alertResolvers[t.id]=e,this.dispatchLuigiEvent(Q.ALERT_REQUEST,t,(e=>{this.resolveAlert(t.id,e)}))}))),showConfirmationModal:t=>new Promise(((e,i)=>{this.modalResolver={resolve:e,reject:i},this.containerService.dispatch(Q.SHOW_CONFIRMATION_MODAL_REQUEST,this.thisComponent,t,(t=>{t?e():i()}))})),getCurrentTheme:()=>this.thisComponent.theme,closeUserSettings:()=>{this.dispatchLuigiEvent(Q.CLOSE_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},openUserSettings:()=>{this.dispatchLuigiEvent(Q.OPEN_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},collapseLeftSideNav:()=>{this.dispatchLuigiEvent(Q.COLLAPSE_LEFT_NAV_REQUEST,{})},getDirtyStatus:()=>this.thisComponent.dirtyStatus||!1,getDocumentTitle:()=>this.thisComponent.documentTitle,setDocumentTitle:t=>{this.dispatchLuigiEvent(Q.SET_DOCUMENT_TITLE_REQUEST,t)},setDirtyStatus:t=>{this.dispatchLuigiEvent(Q.SET_DIRTY_STATUS_REQUEST,{dirty:t})},setCurrentLocale:t=>{t&&this.dispatchLuigiEvent(Q.SET_CURRENT_LOCALE_REQUEST,{currentLocale:t})},removeBackdrop:()=>{this.dispatchLuigiEvent(Q.REMOVE_BACKDROP_REQUEST,{})},addBackdrop:()=>{this.dispatchLuigiEvent(Q.ADD_BACKDROP_REQUEST,{})},showLoadingIndicator:()=>{this.dispatchLuigiEvent(Q.SHOW_LOADING_INDICATOR_REQUEST,{})},hideLoadingIndicator:()=>{this.dispatchLuigiEvent(Q.HIDE_LOADING_INDICATOR_REQUEST,{})},hideAppLoadingIndicator:()=>{this.dispatchLuigiEvent(Q.HIDE_LOADING_INDICATOR_REQUEST,{})},closeCurrentModal:()=>{this.dispatchLuigiEvent(Q.CLOSE_CURRENT_MODAL_REQUEST,{})}}),getCurrentLocale:()=>this.thisComponent.locale,getActiveFeatureToggles:()=>this.thisComponent.activeFeatureToggleList||[],publishEvent:s=>{t&&t.eventBus&&t.eventBus.onPublishEvent(s,e,i);const o={id:s.type,_metaData:{nodeId:e,wc_id:i,src:n},data:s.detail};this.dispatchLuigiEvent(Q.CUSTOM_MESSAGE,o)},luigiClientInit:()=>{this.dispatchLuigiEvent(Q.INITIALIZED,{})},addNodeParams:(t,e)=>{s||this.dispatchLuigiEvent(Q.ADD_NODE_PARAMS_REQUEST,{params:t,data:t,keepBrowserHistory:e})},getNodeParams:t=>{return s?{}:t?(e=this.thisComponent.nodeParams,Object.entries(e).reduce(((t,e)=>(t[X(e[0])]=X(e[1]),t)),{})):this.thisComponent.nodeParams||{};var e},setAnchor:t=>{s||this.dispatchLuigiEvent(Q.SET_ANCHOR_LINK_REQUEST,t)},getAnchor:()=>this.thisComponent.anchor||"",getCoreSearchParams:()=>this.thisComponent.searchParams||{},getPathParams:()=>this.thisComponent.pathParams||{},getClientPermissions:()=>this.thisComponent.clientPermissions||{},addCoreSearchParams:(t={},e=!0)=>{this.dispatchLuigiEvent(Q.ADD_SEARCH_PARAMS_REQUEST,{data:t,keepBrowserHistory:e})},getUserSettings:()=>this.thisComponent.userSettings||{},setViewGroupData:t=>{this.dispatchLuigiEvent(Q.SET_VIEW_GROUP_DATA_REQUEST,t)}}}initWC(t,e,i,n,s,o,a){const r=this.createClientAPI(i,o,e,t,a);if(t.__postProcess){const e=new URL(document.baseURI).origin===new URL(n,document.baseURI).origin?new URL("./",new URL(n,document.baseURI)):new URL("./",n);t.__postProcess(s,r,e.origin+e.pathname)}else t.context=s,t.LuigiClient=r}generateWCId(t){let e="";const i=new URL(t,encodeURI(location.href)).href;for(let t=0;t<i.length;t++)e+=i.charCodeAt(t).toString(16);return"luigi-wc-"+e}registerWCFromUrl(t,e){const i=this.processViewUrl(t);return new Promise(((t,n)=>{if(this.checkWCUrl(i))this.dynamicImport(i).then((i=>{try{if(!window.customElements.get(e)){let t=i.default;if(!HTMLElement.isPrototypeOf(t)){const e=Object.keys(i);for(let n=0;n<e.length&&(t=i[e[n]],!HTMLElement.isPrototypeOf(t));n++);}window.customElements.define(e,t)}t(1)}catch(t){n(t)}})).catch((t=>{n(t)}));else{n(`Error: View URL '${i}' not allowed to be included`)}}))}includeSelfRegisteredWCFromUrl(t,e,i){if(this.checkWCUrl(e)){this.containerService.getContainerManager()._registerWebcomponent||(this.containerService.getContainerManager()._registerWebcomponent=(t,e)=>{window.customElements.define(this.generateWCId(t),e)}),window.Luigi||(window.Luigi={},window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(t,e)=>{this.containerService.getContainerManager()._registerWebcomponent(t,e)}));const n=document.createElement("script");n.setAttribute("src",e),"module"===t.webcomponent.type&&n.setAttribute("type","module"),n.setAttribute("defer","true"),n.addEventListener("load",(()=>{i()})),document.body.appendChild(n)}else console.warn(`View URL '${e}' not allowed to be included`)}checkWCUrl(t){return!0}renderWebComponent(t,e,i,n,s,o){const a=this.processViewUrl(t,{context:i}),r=n?.webcomponent?.tagName||this.generateWCId(a),c=document.createElement("div");e.appendChild(c),e._luigi_node=n,window.customElements.get(r)?this.attachWC(r,c,e,i,a,s,o):window.luigiWCFn?window.luigiWCFn(a,r,c,(()=>{this.attachWC(r,c,e,i,a,s,o)})):n?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,a,(()=>{this.attachWC(r,c,e,i,a,s,o)})):this.registerWCFromUrl(a,r).then((()=>{this.attachWC(r,c,e,i,a,s,o)})).catch((t=>{console.warn("ERROR =>",t),this.containerService.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}createCompoundContainerAsync(t,e,i){return new Promise(((n,s)=>{if(t.viewUrl)try{const s=i?.webcomponent?.tagName||this.generateWCId(t.viewUrl);i?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,t.viewUrl,(()=>{const i=document.createElement(s);i.setAttribute("lui_web_component","true"),this.initWC(i,s,i,t.viewUrl,e,"_root"),n(i)})):this.registerWCFromUrl(t.viewUrl,s).then((()=>{const i=document.createElement(s);i.setAttribute("lui_web_component","true"),this.initWC(i,s,i,t.viewUrl,e,"_root"),n(i)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}catch(t){s(t)}else n(t.createCompoundContainer())}))}renderWebComponentCompound(t,e,i){let n;return t.webcomponent&&t.viewUrl?(n=new V,n.viewUrl=this.processViewUrl(t.viewUrl,{context:i}),n.createCompoundItemContainer=t=>{const e=document.createElement("div");return t?.slot&&e.setAttribute("slot",t.slot),e}):t.compound?.renderer&&(n=q(t.compound.renderer)),n=n||new V,new Promise((s=>{this.createCompoundContainerAsync(n,i,t).then((o=>{e._luigi_mfe_webcomponent=o,e._luigi_node=t;const a={};o.eventBus={listeners:a,onPublishEvent:(t,e,i)=>{const n=a[e+"."+t.type]||[];n.push(...a["*."+t.type]||[]),n.forEach((e=>{const i=e.wcElement||o.querySelector("[nodeId="+e.wcElementId+"]");i?i.dispatchEvent(new CustomEvent(e.action,{detail:e.converter?e.converter(t.detail):t.detail})):console.debug("Could not find event target",e)}))}},t.compound?.children?.forEach(((t,e)=>{const s={...i,...t.context},r=n.createCompoundItemContainer(t.layoutConfig);r.eventBus=o.eventBus,n.attachCompoundItem(o,r);const c=t.id||"gen_"+e;this.renderWebComponent(t.viewUrl,r,s,t,c,!0),K(a,t,c)})),e.appendChild(o),K(a,t.compound,"_root",o),s(o)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}))}resolveAlert(t,e){this.alertResolvers[t]?(this.alertResolvers[t](void 0===e||e),this.alertResolvers[t]=void 0):console.log("Promise is not in the list.")}notifyConfirmationModalClosed(t){this.modalResolver?(t?this.modalResolver.resolve():this.modalResolver.reject(),this.modalResolver=void 0):console.log("Modal promise is not listed.")}}const J=new class{isFunction(t){return t&&"[object Function]"==={}.toString.call(t)}isObject(t){return!(!t||"object"!=typeof t||Array.isArray(t))}checkWebcomponentValue(t){return"string"==typeof t?JSON.parse(t):"boolean"==typeof t||"object"==typeof t?t:void console.warn("Webcomponent value has a wrong type.")}resolveContext(t){return t?"string"==typeof t?JSON.parse(t):t:{}}};function Y(t){let e,i=(!t[4]||"false"===t[4])&&Z(t);return{c(){i&&i.c(),e=E("")},m(t,n){i&&i.m(t,n),d(t,e,n)},p(t,n){t[4]&&"false"!==t[4]?i&&(i.d(1),i=null):i?i.p(t,n):(i=Z(t),i.c(),i.m(e.parentNode,e))},d(t){t&&u(e),i&&i.d(t)}}}function Z(t){let e,i,n,s,o,a;return{c(){e=h("style"),e.textContent="main.lui-isolated,\n .lui-isolated iframe {\n width: 100%;\n height: 100%;\n border: none;\n }\n\n main.lui-isolated {\n line-height: 0;\n }",i=E(" "),n=h("iframe"),c(n.src,s=t[3])||m(n,"src",s),m(n,"title",t[1]),m(n,"allow",o=G(t[0])),m(n,"sandbox",a=t[2]?t[2].join(" "):void 0)},m(s,o){d(s,e,o),d(s,i,o),d(s,n,o),t[28](n)},p(t,e){8&e[0]&&!c(n.src,s=t[3])&&m(n,"src",s),2&e[0]&&m(n,"title",t[1]),1&e[0]&&o!==(o=G(t[0]))&&m(n,"allow",o),4&e[0]&&a!==(a=t[2]?t[2].join(" "):void 0)&&m(n,"sandbox",a)},d(s){s&&(u(e),u(i),u(n)),t[28](null)}}}function tt(e){let i,n,s=e[5]&&Y(e);return{c(){i=h("main"),s&&s.c(),m(i,"class",n=e[4]?void 0:"lui-isolated")},m(t,n){d(t,i,n),s&&s.m(i,null),e[29](i)},p(t,e){t[5]?s?s.p(t,e):(s=Y(t),s.c(),s.m(i,null)):s&&(s.d(1),s=null),16&e[0]&&n!==(n=t[4]?void 0:"lui-isolated")&&m(i,"class",n)},i:t,o:t,d(t){t&&u(i),s&&s.d(),e[29](null)}}}function et(t,e,i){let{activeFeatureToggleList:n}=e,{allowRules:s}=e,{anchor:o}=e,{authData:a}=e,{clientPermissions:r}=e,{context:c}=e,{deferInit:l}=e,{dirtyStatus:d}=e,{documentTitle:u}=e,{hasBack:h}=e,{label:E}=e,{locale:m}=e,{noShadow:p}=e,{nodeParams:T}=e,{pathParams:C}=e,{sandboxRules:$}=e,{searchParams:f}=e,{skipCookieCheck:R}=e,{skipInitCheck:A}=e,{theme:w}=e,{userSettings:b}=e,{viewurl:I}=e,{webcomponent:O}=e;const U={};let v,N,y=!1;const L=new z,P=t=>{if(!y){t.sendCustomMessage=(e,i)=>{B.sendCustomMessage(e,t.getNoShadow()?t:v,!!O,U,i)},t.updateContext=(e,n)=>{if(i(8,c=e),O)(t.getNoShadow()?t:v)._luigi_mfe_webcomponent.context=e;else{const i={...n||{},activeFeatureToggleList:t.activeFeatureToggleList||[],currentLocale:t.locale,currentTheme:t.theme,userSettings:t.userSettings||null,cssVariables:t.cssVariables||{},anchor:t.anchor||"",drawer:t.drawer||!1,modal:t.modal||!1,viewStackSize:t.viewStackSize||0,isNavigateBack:t.isNavigateBack||!1};B.updateContext(e,i,U,T,C,f)}},t.closeAlert=(e,i)=>{t.notifyAlertClosed(e,i)},t.notifyAlertClosed=(e,i)=>{t.isConnected&&(O?L.resolveAlert(e,i):B.notifyAlertClosed(e,i,U))},t.notifyConfirmationModalClosed=e=>{t.isConnected&&(O?L.notifyConfirmationModalClosed(!!e):B.notifyConfirmationModalClosed(!!e,U))},W.registerContainer(t),L.thisComponent=t;const e=J.resolveContext(c);if(t.updateViewUrl=(t,e)=>{t?.length&&B.updateViewUrl(t,J.resolveContext(c),e,U)},O&&"false"!=O){if(t.getNoShadow())t.innerHTML="";else{i(7,v.innerHTML="",v);t.attachShadow({mode:"open"}).append(v)}const n=J.checkWebcomponentValue(O);L.renderWebComponent(I,t.getNoShadow()?t:v,e,"object"==typeof n?{webcomponent:n}:{})}else if(!t.getNoShadow()){t.innerHTML="";t.attachShadow({mode:"open"}).append(v)}A?(t.initialized=!0,setTimeout((()=>{L.dispatchLuigiEvent(Q.INITIALIZED,{})}))):O&&(t.getNoShadow()?t:v).addEventListener("wc_ready",(()=>{(t.getNoShadow()?t:v)._luigi_mfe_webcomponent?.deferLuigiClientWCInit||(t.initialized=!0,L.dispatchLuigiEvent(Q.INITIALIZED,{}))})),i(5,y=!0),t.containerInitialized=!0}};var D;return g((async()=>{i(27,N=v.parentNode),i(27,N.iframeHandle=U,N),i(27,N.init=()=>{P(N)},N),!l&&I&&P(N)})),D=async()=>{},_().$$.on_destroy.push(D),t.$$set=t=>{"activeFeatureToggleList"in t&&i(9,n=t.activeFeatureToggleList),"allowRules"in t&&i(0,s=t.allowRules),"anchor"in t&&i(10,o=t.anchor),"authData"in t&&i(11,a=t.authData),"clientPermissions"in t&&i(12,r=t.clientPermissions),"context"in t&&i(8,c=t.context),"deferInit"in t&&i(13,l=t.deferInit),"dirtyStatus"in t&&i(14,d=t.dirtyStatus),"documentTitle"in t&&i(15,u=t.documentTitle),"hasBack"in t&&i(16,h=t.hasBack),"label"in t&&i(1,E=t.label),"locale"in t&&i(17,m=t.locale),"noShadow"in t&&i(18,p=t.noShadow),"nodeParams"in t&&i(19,T=t.nodeParams),"pathParams"in t&&i(20,C=t.pathParams),"sandboxRules"in t&&i(2,$=t.sandboxRules),"searchParams"in t&&i(21,f=t.searchParams),"skipCookieCheck"in t&&i(22,R=t.skipCookieCheck),"skipInitCheck"in t&&i(23,A=t.skipInitCheck),"theme"in t&&i(24,w=t.theme),"userSettings"in t&&i(25,b=t.userSettings),"viewurl"in t&&i(3,I=t.viewurl),"webcomponent"in t&&i(4,O=t.webcomponent)},t.$$.update=()=>{134225960&t.$$.dirty[0]&&!y&&I&&!l&&N&&P(N)},[s,E,$,I,O,y,U,v,c,n,o,a,r,l,d,u,h,m,p,T,C,f,R,A,w,b,()=>n&&s&&o&&a&&r&&d&&u&&h&&m&&p&&T&&C&&$&&f&&R&&A&&w&&b,N,function(t){S[t?"unshift":"push"]((()=>{U.iframe=t,i(6,U)}))},function(t){S[t?"unshift":"push"]((()=>{v=t,i(7,v)}))}]}class it extends k{constructor(t){super(),y(this,t,et,tt,o,{activeFeatureToggleList:9,allowRules:0,anchor:10,authData:11,clientPermissions:12,context:8,deferInit:13,dirtyStatus:14,documentTitle:15,hasBack:16,label:1,locale:17,noShadow:18,nodeParams:19,pathParams:20,sandboxRules:2,searchParams:21,skipCookieCheck:22,skipInitCheck:23,theme:24,userSettings:25,viewurl:3,webcomponent:4,unwarn:26},null,[-1,-1])}get activeFeatureToggleList(){return this.$$.ctx[9]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get allowRules(){return this.$$.ctx[0]}set allowRules(t){this.$$set({allowRules:t}),I()}get anchor(){return this.$$.ctx[10]}set anchor(t){this.$$set({anchor:t}),I()}get authData(){return this.$$.ctx[11]}set authData(t){this.$$set({authData:t}),I()}get clientPermissions(){return this.$$.ctx[12]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get context(){return this.$$.ctx[8]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[13]}set deferInit(t){this.$$set({deferInit:t}),I()}get dirtyStatus(){return this.$$.ctx[14]}set dirtyStatus(t){this.$$set({dirtyStatus:t}),I()}get documentTitle(){return this.$$.ctx[15]}set documentTitle(t){this.$$set({documentTitle:t}),I()}get hasBack(){return this.$$.ctx[16]}set hasBack(t){this.$$set({hasBack:t}),I()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),I()}get locale(){return this.$$.ctx[17]}set locale(t){this.$$set({locale:t}),I()}get noShadow(){return this.$$.ctx[18]}set noShadow(t){this.$$set({noShadow:t}),I()}get nodeParams(){return this.$$.ctx[19]}set nodeParams(t){this.$$set({nodeParams:t}),I()}get pathParams(){return this.$$.ctx[20]}set pathParams(t){this.$$set({pathParams:t}),I()}get sandboxRules(){return this.$$.ctx[2]}set sandboxRules(t){this.$$set({sandboxRules:t}),I()}get searchParams(){return this.$$.ctx[21]}set searchParams(t){this.$$set({searchParams:t}),I()}get skipCookieCheck(){return this.$$.ctx[22]}set skipCookieCheck(t){this.$$set({skipCookieCheck:t}),I()}get skipInitCheck(){return this.$$.ctx[23]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[24]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[25]}set userSettings(t){this.$$set({userSettings:t}),I()}get viewurl(){return this.$$.ctx[3]}set viewurl(t){this.$$set({viewurl:t}),I()}get webcomponent(){return this.$$.ctx[4]}set webcomponent(t){this.$$set({webcomponent:t}),I()}get unwarn(){return this.$$.ctx[26]}}function nt(t){l(t,"svelte-1buc46y","main.svelte-1buc46y{width:100%;height:100%;border:none}")}function st(e){let i;return{c(){i=h("main"),m(i,"class","svelte-1buc46y")},m(t,n){d(t,i,n),e[21](i)},p:t,i:t,o:t,d(t){t&&u(i),e[21](null)}}}function ot(t,e,i){let n,s,{activeFeatureToggleList:o}=e,{anchor:a}=e,{clientPermissions:r}=e,{compoundConfig:c}=e,{context:l}=e,{deferInit:d}=e,{dirtyStatus:u}=e,{documentTitle:h}=e,{hasBack:E}=e,{locale:m}=e,{noShadow:p}=e,{nodeParams:_}=e,{pathParams:T}=e,{searchParams:C}=e,{skipInitCheck:$}=e,{theme:f}=e,{userSettings:R}=e,{viewurl:A}=e,{webcomponent:w}=e,b=!1;const I=new H,O=new z,U=t=>{if(!c||b)return;t.updateContext=(e,s)=>{const o=t.getNoShadow()?t:n;o._luigi_mfe_webcomponent.context=e,i(1,l=e);const a=o._luigi_mfe_webcomponent;if(a){const t=a.querySelectorAll("[lui_web_component]");t?.forEach((t=>{const i=t.context||{};t.context=Object.assign(i,e)}))}};const e=J.resolveContext(l);i(2,d=!1),t.notifyAlertClosed=(e,i)=>{t.isConnected&&O.resolveAlert(e,i)},t.notifyConfirmationModalClosed=e=>{t.isConnected&&O.notifyConfirmationModalClosed(!!e)};const o={compound:c,viewUrl:A,webcomponent:J.checkWebcomponentValue(w)||!0};if(t.getNoShadow())t.innerHTML="";else{i(0,n.innerHTML="",n);t.attachShadow({mode:"open"}).append(n)}O.renderWebComponentCompound(o,t.getNoShadow()?t:n,e).then((e=>{s=e,$||!o.viewUrl?(t.initialized=!0,setTimeout((()=>{O.dispatchLuigiEvent(Q.INITIALIZED,{})}))):s.LuigiClient&&!s.deferLuigiClientWCInit&&(t.initialized=!0,O.dispatchLuigiEvent(Q.INITIALIZED,{}))})),b=!0,t.containerInitialized=!0};return g((async()=>{const t=n.getRootNode()===document?n.parentNode:n.getRootNode().host;t.init=()=>{U(t)},d||U(t),I.registerContainer(t),O.thisComponent=t})),t.$$set=t=>{"activeFeatureToggleList"in t&&i(3,o=t.activeFeatureToggleList),"anchor"in t&&i(4,a=t.anchor),"clientPermissions"in t&&i(5,r=t.clientPermissions),"compoundConfig"in t&&i(6,c=t.compoundConfig),"context"in t&&i(1,l=t.context),"deferInit"in t&&i(2,d=t.deferInit),"dirtyStatus"in t&&i(7,u=t.dirtyStatus),"documentTitle"in t&&i(8,h=t.documentTitle),"hasBack"in t&&i(9,E=t.hasBack),"locale"in t&&i(10,m=t.locale),"noShadow"in t&&i(11,p=t.noShadow),"nodeParams"in t&&i(12,_=t.nodeParams),"pathParams"in t&&i(13,T=t.pathParams),"searchParams"in t&&i(14,C=t.searchParams),"skipInitCheck"in t&&i(15,$=t.skipInitCheck),"theme"in t&&i(16,f=t.theme),"userSettings"in t&&i(17,R=t.userSettings),"viewurl"in t&&i(18,A=t.viewurl),"webcomponent"in t&&i(19,w=t.webcomponent)},[n,l,d,o,a,r,c,u,h,E,m,p,_,T,C,$,f,R,A,w,()=>o&&a&&r&&u&&h&&E&&m&&p&&_&&T&&C&&$&&f&&R,function(t){S[t?"unshift":"push"]((()=>{n=t,i(0,n)}))}]}D(it,{activeFeatureToggleList:{type:"Array",reflect:!1,attribute:"active-feature-toggle-list"},allowRules:{type:"Array",reflect:!1,attribute:"allow-rules"},anchor:{type:"String",reflect:!1,attribute:"anchor"},authData:{type:"Object",reflect:!1,attribute:"auth-data"},clientPermissions:{type:"Object",reflect:!1,attribute:"client-permissions"},context:{type:"String",reflect:!1,attribute:"context"},deferInit:{type:"Boolean",attribute:"defer-init"},dirtyStatus:{type:"Boolean",reflect:!1,attribute:"dirty-status"},documentTitle:{type:"String",reflect:!1,attribute:"document-title"},hasBack:{type:"Boolean",reflect:!1,attribute:"has-back"},label:{type:"String",reflect:!1,attribute:"label"},locale:{type:"String",reflect:!1,attribute:"locale"},noShadow:{type:"Boolean",attribute:"no-shadow"},nodeParams:{type:"Object",reflect:!1,attribute:"node-params"},pathParams:{type:"Object",reflect:!1,attribute:"path-params"},sandboxRules:{type:"Array",reflect:!1,attribute:"sandbox-rules"},searchParams:{type:"Object",reflect:!1,attribute:"search-params"},skipCookieCheck:{type:"String",reflect:!1,attribute:"skip-cookie-check"},skipInitCheck:{type:"Boolean",reflect:!1,attribute:"skip-init-check"},theme:{type:"String",reflect:!1,attribute:"theme"},userSettings:{type:"Object",reflect:!1,attribute:"user-settings"},viewurl:{type:"String",reflect:!1,attribute:"viewurl"},webcomponent:{type:"String",reflect:!1,attribute:"webcomponent"}},[],["unwarn"],!1,(t=>{let e=t=>()=>console.warn(t+" can't be called on luigi-container before its micro frontend is attached to the DOM.");return class extends t{sendCustomMessage=e("sendCustomMessage");updateContext=e("updateContext");updateViewUrl=e("updateViewUrl");closeAlert=e("closeAlert");notifyAlertClosed=e("notifyAlertClosed");notifyConfirmationModalClosed=e("notifyConfirmationModalClosed");attributeChangedCallback(t,e,i){try{super.attributeChangedCallback(t,e,i)}catch(t){console.error("Error in super.attributeChangedCallback",t)}this.containerInitialized&&("context"===t&&this.updateContext(JSON.parse(i)),"auth-data"===t&&B.updateAuthData(this.iframeHandle,JSON.parse(i)))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}}));class at extends k{constructor(t){super(),y(this,t,ot,st,o,{activeFeatureToggleList:3,anchor:4,clientPermissions:5,compoundConfig:6,context:1,deferInit:2,dirtyStatus:7,documentTitle:8,hasBack:9,locale:10,noShadow:11,nodeParams:12,pathParams:13,searchParams:14,skipInitCheck:15,theme:16,userSettings:17,viewurl:18,webcomponent:19,unwarn:20},nt)}get activeFeatureToggleList(){return this.$$.ctx[3]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get anchor(){return this.$$.ctx[4]}set anchor(t){this.$$set({anchor:t}),I()}get clientPermissions(){return this.$$.ctx[5]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get compoundConfig(){return this.$$.ctx[6]}set compoundConfig(t){this.$$set({compoundConfig:t}),I()}get context(){return this.$$.ctx[1]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[2]}set deferInit(t){this.$$set({deferInit:t}),I()}get dirtyStatus(){return this.$$.ctx[7]}set dirtyStatus(t){this.$$set({dirtyStatus:t}),I()}get documentTitle(){return this.$$.ctx[8]}set documentTitle(t){this.$$set({documentTitle:t}),I()}get hasBack(){return this.$$.ctx[9]}set hasBack(t){this.$$set({hasBack:t}),I()}get locale(){return this.$$.ctx[10]}set locale(t){this.$$set({locale:t}),I()}get noShadow(){return this.$$.ctx[11]}set noShadow(t){this.$$set({noShadow:t}),I()}get nodeParams(){return this.$$.ctx[12]}set nodeParams(t){this.$$set({nodeParams:t}),I()}get pathParams(){return this.$$.ctx[13]}set pathParams(t){this.$$set({pathParams:t}),I()}get searchParams(){return this.$$.ctx[14]}set searchParams(t){this.$$set({searchParams:t}),I()}get skipInitCheck(){return this.$$.ctx[15]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[16]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[17]}set userSettings(t){this.$$set({userSettings:t}),I()}get viewurl(){return this.$$.ctx[18]}set viewurl(t){this.$$set({viewurl:t}),I()}get webcomponent(){return this.$$.ctx[19]}set webcomponent(t){this.$$set({webcomponent:t}),I()}get unwarn(){return this.$$.ctx[20]}}D(at,{activeFeatureToggleList:{type:"Array",reflect:!1,attribute:"active-feature-toggle-list"},anchor:{type:"String",reflect:!1,attribute:"anchor"},clientPermissions:{type:"Object",reflect:!1,attribute:"client-permissions"},compoundConfig:{type:"Object",reflect:!1,attribute:"compound-config"},context:{type:"String",reflect:!1,attribute:"context"},deferInit:{type:"Boolean",attribute:"defer-init"},dirtyStatus:{type:"Boolean",reflect:!1,attribute:"dirty-status"},documentTitle:{type:"String",reflect:!1,attribute:"document-title"},hasBack:{type:"Boolean",reflect:!1,attribute:"has-back"},locale:{type:"String",reflect:!1,attribute:"locale"},noShadow:{type:"Boolean",attribute:"no-shadow",reflect:!1},nodeParams:{type:"Object",reflect:!1,attribute:"node-params"},pathParams:{type:"Object",reflect:!1,attribute:"path-params"},searchParams:{type:"Object",reflect:!1,attribute:"search-params"},skipInitCheck:{type:"Boolean",reflect:!1,attribute:"skip-init-check"},theme:{type:"String",reflect:!1,attribute:"theme"},userSettings:{type:"Object",reflect:!1,attribute:"user-settings"},viewurl:{type:"String",reflect:!1,attribute:"viewurl"},webcomponent:{type:"String",reflect:!1,attribute:"webcomponent"}},[],["unwarn"],!1,(t=>{let e=t=>()=>console.warn(t+" can't be called on luigi-container before its micro frontend is attached to the DOM.");return class extends t{updateContext=e("updateContext");notifyAlertClosed=e("notifyAlertClosed");notifyConfirmationModalClosed=e("notifyConfirmationModalClosed");attributeChangedCallback(t,e,i){try{super.attributeChangedCallback(t,e,i)}catch(t){console.warn("Error in attributeChangedCallback",t)}this.containerInitialized&&"context"===t&&this.updateContext(JSON.parse(i))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}})),customElements.get("luigi-container")||customElements.define("luigi-container",it.element),customElements.get("luigi-compound-container")||customElements.define("luigi-compound-container",at.element);export{at as LuigiCompoundContainer,it as LuigiContainer,Q as LuigiEvents,Q as default};
|
|
2
2
|
//# sourceMappingURL=bundle.js.map
|