@luigi-project/core 2.2.2-dev.20230640032 → 2.2.2-dev.20230660030
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/luigi.js +21 -21
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
function Fe(){}const Do=i=>i;function mw(i,e){for(const t in e)i[t]=e[t];return i}function bw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function xg(i){return i()}function Gf(){return Object.create(null)}function Qe(i){i.forEach(xg)}function Vi(i){return typeof i=="function"}function
|
|
1
|
+
function Fe(){}const Do=i=>i;function mw(i,e){for(const t in e)i[t]=e[t];return i}function bw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function xg(i){return i()}function Gf(){return Object.create(null)}function Qe(i){i.forEach(xg)}function Vi(i){return typeof i=="function"}function Pt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ta;function it(i,e){return ta||(ta=document.createElement("a")),ta.href=e,i===ta.href}function vw(i){return Object.keys(i).length===0}function Vo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function il(i){let e;return Vo(i,t=>e=t)(),e}function _i(i,e,t){i.$$.on_destroy.push(Vo(e,t))}function e_(i,e,t,n){if(i){const l=t_(i,e,t,n);return i[0](l)}}function t_(i,e,t,n){return i[1]&&n?mw(t.ctx.slice(),i[1](n(e))):t.ctx}function n_(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],s=Math.max(e.dirty.length,l.length);for(let o=0;o<s;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function i_(i,e,t,n,l,r){if(l){const s=t_(e,t,n,r);i.p(s,l)}}function l_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function jn(i){return i==null?"":i}function ww(i){return i&&Vi(i.destroy)?i.destroy:Fe}const r_=typeof window<"u";let s_=r_?()=>window.performance.now():()=>Date.now(),Mo=r_?i=>requestAnimationFrame(i):Fe;const dr=new Set;function a_(i){dr.forEach(e=>{e.c(i)||(dr.delete(e),e.f())}),dr.size!==0&&Mo(a_)}function o_(i){let e;return dr.size===0&&Mo(a_),{promise:new Promise(t=>{dr.add(e={c:i,f:t})}),abort(){dr.delete(e)}}}function w(i,e){i.appendChild(e)}function u_(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Sw(i){const e=k("style");return kw(u_(i),e),e.sheet}function kw(i,e){return w(i.head||i,e),e.sheet}function R(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function ft(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function Cw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ye(i){return document.createTextNode(i)}function G(){return ye(" ")}function ke(){return ye("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Vt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function yw(i){return Array.from(i.childNodes)}function Ne(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function qf(i,e){i.value=e==null?"":e}function ti(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function ci(i,e,t){i.classList[t?"add":"remove"](e)}function f_(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=Cw(t.nodeName):this.e=k(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)R(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}const sa=new Map;let aa=0;function Pw(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Nw(i,e){const t={stylesheet:Sw(e),rules:{}};return sa.set(i,t),t}function c_(i,e,t,n,l,r,s,o=0){const c=16.666/n;let g=`{
|
|
2
2
|
`;for(let y=0;y<=1;y+=c){const C=e+(t-e)*r(y);g+=y*100+`%{${s(C,1-C)}}
|
|
3
3
|
`}const h=g+`100% {${s(t,1-t)}}
|
|
4
|
-
}`,_=`__svelte_${Pw(h)}_${o}`,p=u_(i),{stylesheet:m,rules:v}=sa.get(p)||Nw(p,i);v[_]||(v[_]=!0,m.insertRule(`@keyframes ${_} ${h}`,m.cssRules.length));const S=i.style.animation||"";return i.style.animation=`${S?`${S}, `:""}${_} ${n}ms linear ${l}ms 1 both`,aa+=1,_}function Lo(i,e){const t=(i.style.animation||"").split(", "),n=t.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),l=t.length-n.length;l&&(i.style.animation=n.join(", "),aa-=l,aa||Iw())}function Iw(){Mo(()=>{aa||(sa.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),sa.clear())})}let Xr;function Ei(i){Xr=i}function ol(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function On(i){ol().$$.before_update.push(i)}function Yt(i){ol().$$.on_mount.push(i)}function ma(i){ol().$$.after_update.push(i)}function xr(i){ol().$$.on_destroy.push(i)}function Wt(){const i=ol();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=f_(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return ol().$$.context.set(i,e),e}function pt(i){return ol().$$.context.get(i)}function Dl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ur=[],Xe=[],ia=[],Ao=[],Tw=Promise.resolve();let Ro=!1;function Lw(){Ro||(Ro=!0,Tw.then(Oo))}function Ml(i){ia.push(i)}function gt(i){Ao.push(i)}const Io=new Set;let sr=0;function Oo(){if(sr!==0)return;const i=Xr;do{try{for(;sr<ur.length;){const e=ur[sr];sr++,Ei(e),Aw(e.$$)}}catch(e){throw ur.length=0,sr=0,e}for(Ei(null),ur.length=0,sr=0;Xe.length;)Xe.pop()();for(let e=0;e<ia.length;e+=1){const t=ia[e];Io.has(t)||(Io.add(t),t())}ia.length=0}while(ur.length);for(;Ao.length;)Ao.pop()();Ro=!1,Io.clear(),Ei(i)}function Aw(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ml)}}let Qr;function d_(){return Qr||(Qr=Promise.resolve(),Qr.then(()=>{Qr=null})),Qr}function oa(i,e,t){i.dispatchEvent(f_(`${e?"intro":"outro"}${t}`))}const la=new Set;let sl;function Ae(){sl={r:0,c:[],p:sl}}function Re(){sl.r||Qe(sl.c),sl=sl.p}function U(i,e){i&&i.i&&(la.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(la.has(i))return;la.add(i),sl.c.push(()=>{la.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const h_={duration:0};function g_(i,e,t){const n={direction:"in"};let l=e(i,t,n),r=!1,s,o,c=0;function g(){s&&Lo(i,s)}function h(){const{delay:p=0,duration:m=300,easing:v=Do,tick:S=Fe,css:y}=l||h_;y&&(s=c_(i,0,1,m,p,v,y,c++)),S(0,1);const C=s_()+p,N=C+m;o&&o.abort(),r=!0,Ml(()=>oa(i,!0,"start")),o=o_(I=>{if(r){if(I>=N)return S(1,0),oa(i,!0,"end"),g(),r=!1;if(I>=C){const D=v((I-C)/m);S(D,1-D)}}return r})}let _=!1;return{start(){_||(_=!0,Lo(i),Vi(l)?(l=l(n),d_().then(h)):h())},invalidate(){_=!1},end(){r&&(g(),r=!1)}}}function __(i,e,t){const n={direction:"out"};let l=e(i,t,n),r=!0,s;const o=sl;o.r+=1;function c(){const{delay:g=0,duration:h=300,easing:_=Do,tick:p=Fe,css:m}=l||h_;m&&(s=c_(i,1,0,h,g,_,m));const v=s_()+g,S=v+h;Ml(()=>oa(i,!1,"start")),o_(y=>{if(r){if(y>=S)return p(0,1),oa(i,!1,"end"),--o.r||Qe(o.c),!1;if(y>=v){const C=_((y-v)/h);p(1-C,C)}}return r})}return Vi(l)?d_().then(()=>{l=l(n),c()}):c(),{end(g){g&&l.tick&&l.tick(1,0),r&&(s&&Lo(i,s),r=!1)}}}function ua(i,e){const t=e.token={};function n(l,r,s,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;s!==void 0&&(c=c.slice(),c[s]=o);const g=l&&(e.current=l)(c);let h=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(Ae(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Re())}):e.block.d(1),g.c(),U(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Oo()}if(bw(i)){const l=ol();if(i.then(r=>{Ei(l),n(e.then,1,e.value,r),Ei(null)},r=>{if(Ei(l),n(e.catch,2,e.error,r),Ei(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function p_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const Mi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function _t(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function ze(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ml(()=>{const s=i.$$.on_mount.map(xg).filter(Vi);i.$$.on_destroy?i.$$.on_destroy.push(...s):Qe(s),i.$$.on_mount=[]}),r.forEach(Ml)}function Ge(i,e){const t=i.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Rw(i,e){i.$$.dirty[0]===-1&&(ur.push(i),Lw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Lt(i,e,t,n,l,r,s,o=[-1]){const c=Xr;Ei(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Gf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Gf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};s&&s(g.root);let h=!1;if(g.ctx=t?t(i,e.props||{},(_,p,...m)=>{const v=m.length?m[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&Rw(i,_)),p}):[],g.update(),h=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=yw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&U(i.$$.fragment),ze(i,e.target,e.anchor,e.customElement),Oo()}Ei(c)}class At{$destroy(){Ge(this,1),this.$destroy=Fe}$on(e,t){if(!Vi(t))return Fe;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!vw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class Ew{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),te.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=te.getConfigValueFromObject(e,t);return te.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const fa=new Ew;class Dw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ca=new Dw;class Vw{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Vn=new Vw;class Mw{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{d2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=Fn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),Mn.getLuigiContainer().appendChild(n)}getConfigValue(e){return te.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=te.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return fa.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(te.isFunction(l))try{return await fa.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return di.isAuthorizationEnabled()}unload(){this.initialized=!1,ln.unload(),Pn.removeAllEventListeners();const e=Mn.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&te.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&te.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Vn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}}const da=new Mw;class Ow{constructor(){}isAuthorizationEnabled(){return!!se.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&ln.startAuthorization()}logout(){this.isAuthorizationEnabled()&&ln.logout()}async handleAuthEvent(e,t,n,l){const r=await se.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return se.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ei.getStorageKey(),getStorageType:()=>ei.getStorageType(),getAuthData:()=>ei.getAuthData(),setAuthData:e=>ei.setAuthData(e),removeAuthData:()=>ei.removeAuthData(),setNewlyAuthorized:()=>ei.setNewlyAuthorized()}}}const m_=new Ow,xt={desktopMinWidth:600},Fw=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],Uw={cssSelector:"[luigi-app-root]"},Bw={cssSelector:"[luigi-app-loading-indicator]"};class Hw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Uw.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ie.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ie.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ie.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const b_=new Hw;class Ww{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Jn extends Ww{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const s=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=te.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:s,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(te.isFunction(n)){const l=te.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(te.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class zw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Jn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Jn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Jn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Jn().openAsDrawer(e,t)}fromContext(e){return new Jn().fromContext(e)}fromClosestContext(){return new Jn().fromClosestContext()}fromVirtualTreeRoot(){return new Jn().fromVirtualTreeRoot()}withParams(e){return new Jn().withParams(e)}pathExists(e){return new Jn().pathExists(e)}hasBack(){return new Jn().hasBack()}goBack(e){return new Jn().goBack(e)}}const v_=new zw,Gw={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},qw=Gw;class Kw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=qw,this.listeners={}}_init(){Fn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(te.isFunction(e)){const t=te.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),da.configChanged()}_initCustomImplementation(){this.translationImpl=da.getConfigValue("settings.customTranslationImplementation"),te.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let s=l[r];if(t.hasOwnProperty(s)&&typeof t[s]=="object")t=t[s];else return n?this.findInterpolations(t[s],n):t[s]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const w_=new Kw;class Jw{sendToAll(e){const t=ca.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=ca.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const jw=new Jw,ar=[];function Yw(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=Fe){let t;const n=new Set;function l(o){if(yt(i,o)&&(i=o,t)){const c=!ar.length;for(const g of n)g[1](),ar.push(g,i);if(c){for(let g=0;g<ar.length;g+=2)ar[g][0](ar[g+1]);ar.length=0}}}function r(o){l(o(i))}function s(o,c=Fe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Qw{initial(){this.responsiveNavSetting=se.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ye.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ye.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ye.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const fi=new Qw;class Zw{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(Bw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(te.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(te.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return il(this.documentTitle)}collapseLeftSideNav(e){fi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Jn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const S_=new Zw;class Xw{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}}const k_=new Xw;class $w{constructor(){this.currentTheme}async getAvailableThemes(){return await se.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=se.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!se.getConfigValue("settings.theming")}_init(){const e=()=>{const t=se.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&$r.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};Fn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const C_=new $w;class xw{constructor(){this.featureToggleList=gr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||il(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=il(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}il(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...il(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return te.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return il(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):il(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const y_=new xw;class e2{constructor(){}getSearchParams(){const e={},t=new URL(location);if(se.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);se.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),se.configChanged()}addNodeParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);se.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),se.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return se.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(se.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}}const P_=new e2,se=da,di=m_,Mn=b_,N_=v_,dt=w_,es=S_,t2=k_,I_=C_,Fo=y_,ll=P_;window.Luigi=da;window.Luigi.auth=()=>m_;window.Luigi.elements=()=>b_;window.Luigi.navigation=()=>v_;window.Luigi.i18n=()=>w_;window.Luigi.customMessages=()=>jw;window.Luigi.ux=()=>S_;window.Luigi.globalSearch=()=>k_;window.Luigi.theming=()=>C_;window.Luigi.featureToggles=()=>y_;window.Luigi.routing=()=>P_;class n2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(te.isElementVisible)}setActiveIframeToPrevious(e){const t=Ie.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ie.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!te.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}getAllViewGroupSettings(){return se.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:dt.getCurrentLocale()})};Ie.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=this.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:dt.getCurrentLocale()})};Ie.sendMessageToIframe(o,g)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ie.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ye.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||te.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const s=Ie.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Ie.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Ie.getMainIframes(),p=this.getPreservedViewsInDom(_);let m,v=!1;if(p.length>0&&(m=p.shift(),m===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Ie.getMainIframes().filter(N=>N.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Ie.hideElementChildren(n)):Ie.removeElementChildren(n),l.viewUrl){te.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ie.createIframe(r,S?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const C=["init",JSON.stringify(l.context)];Ie.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:D[I.userSettingsGroup]},internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ie.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const yn=new n2;class i2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(se.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=yn.getAllViewGroupSettings();if(!l)return;const r=Ie.getIframeContainer(),s=Ie.getMainIframes(),o=new Date().getTime();if(s.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=s.map(_=>_.vg).filter(Boolean),h=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&h.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&h.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Ie.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const or=new i2;class l2{async getNavigationPath(e,t=""){try{const n=te.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Vn.hasRootNode()&&(l=Vn.getRootNode().node),!l){const g=await e;te.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Vn.setRootNode(l)}const r=n.split("/"),s=await this.buildNode(r,[l],l.children,l.context||{}),o=s.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);s.isExistingRoute=!n||r.length===o.length;const c=n.split("/");return s.matchedPath=c.filter((g,h)=>o[h]&&o[h].startsWith(":")||o[h]===g).join("/"),s}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Vn.hasChildren(e)){let r=Vn.getChildren(e);r&&(n=r.children)}else try{n=await fa.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Vn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Vn.hasChildren(e)?Ut.getChildrenFromCache(e):await Ut.getChildren(e)}getChildrenFromCache(e){let t=Vn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ye.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=ye.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let h=await this.getChildren(c,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,s=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=te.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:te.trimTrailingSlash(this.buildVirtualViewUrl(s,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:s});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
4
|
+
}`,_=`__svelte_${Pw(h)}_${o}`,p=u_(i),{stylesheet:m,rules:v}=sa.get(p)||Nw(p,i);v[_]||(v[_]=!0,m.insertRule(`@keyframes ${_} ${h}`,m.cssRules.length));const S=i.style.animation||"";return i.style.animation=`${S?`${S}, `:""}${_} ${n}ms linear ${l}ms 1 both`,aa+=1,_}function Lo(i,e){const t=(i.style.animation||"").split(", "),n=t.filter(e?r=>r.indexOf(e)<0:r=>r.indexOf("__svelte")===-1),l=t.length-n.length;l&&(i.style.animation=n.join(", "),aa-=l,aa||Iw())}function Iw(){Mo(()=>{aa||(sa.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),sa.clear())})}let Xr;function Ei(i){Xr=i}function ol(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function Fn(i){ol().$$.before_update.push(i)}function jt(i){ol().$$.on_mount.push(i)}function ma(i){ol().$$.after_update.push(i)}function xr(i){ol().$$.on_destroy.push(i)}function Ht(){const i=ol();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=f_(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return ol().$$.context.set(i,e),e}function ct(i){return ol().$$.context.get(i)}function Dl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ur=[],$e=[],ia=[],Ao=[],Tw=Promise.resolve();let Ro=!1;function Lw(){Ro||(Ro=!0,Tw.then(Oo))}function Ml(i){ia.push(i)}function _t(i){Ao.push(i)}const Io=new Set;let sr=0;function Oo(){if(sr!==0)return;const i=Xr;do{try{for(;sr<ur.length;){const e=ur[sr];sr++,Ei(e),Aw(e.$$)}}catch(e){throw ur.length=0,sr=0,e}for(Ei(null),ur.length=0,sr=0;$e.length;)$e.pop()();for(let e=0;e<ia.length;e+=1){const t=ia[e];Io.has(t)||(Io.add(t),t())}ia.length=0}while(ur.length);for(;Ao.length;)Ao.pop()();Ro=!1,Io.clear(),Ei(i)}function Aw(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ml)}}let Qr;function d_(){return Qr||(Qr=Promise.resolve(),Qr.then(()=>{Qr=null})),Qr}function oa(i,e,t){i.dispatchEvent(f_(`${e?"intro":"outro"}${t}`))}const la=new Set;let sl;function Ae(){sl={r:0,c:[],p:sl}}function Re(){sl.r||Qe(sl.c),sl=sl.p}function U(i,e){i&&i.i&&(la.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(la.has(i))return;la.add(i),sl.c.push(()=>{la.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const h_={duration:0};function g_(i,e,t){const n={direction:"in"};let l=e(i,t,n),r=!1,s,o,c=0;function g(){s&&Lo(i,s)}function h(){const{delay:p=0,duration:m=300,easing:v=Do,tick:S=Fe,css:y}=l||h_;y&&(s=c_(i,0,1,m,p,v,y,c++)),S(0,1);const C=s_()+p,N=C+m;o&&o.abort(),r=!0,Ml(()=>oa(i,!0,"start")),o=o_(I=>{if(r){if(I>=N)return S(1,0),oa(i,!0,"end"),g(),r=!1;if(I>=C){const D=v((I-C)/m);S(D,1-D)}}return r})}let _=!1;return{start(){_||(_=!0,Lo(i),Vi(l)?(l=l(n),d_().then(h)):h())},invalidate(){_=!1},end(){r&&(g(),r=!1)}}}function __(i,e,t){const n={direction:"out"};let l=e(i,t,n),r=!0,s;const o=sl;o.r+=1;function c(){const{delay:g=0,duration:h=300,easing:_=Do,tick:p=Fe,css:m}=l||h_;m&&(s=c_(i,1,0,h,g,_,m));const v=s_()+g,S=v+h;Ml(()=>oa(i,!1,"start")),o_(y=>{if(r){if(y>=S)return p(0,1),oa(i,!1,"end"),--o.r||Qe(o.c),!1;if(y>=v){const C=_((y-v)/h);p(1-C,C)}}return r})}return Vi(l)?d_().then(()=>{l=l(n),c()}):c(),{end(g){g&&l.tick&&l.tick(1,0),r&&(s&&Lo(i,s),r=!1)}}}function ua(i,e){const t=e.token={};function n(l,r,s,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;s!==void 0&&(c=c.slice(),c[s]=o);const g=l&&(e.current=l)(c);let h=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(Ae(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Re())}):e.block.d(1),g.c(),U(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Oo()}if(bw(i)){const l=ol();if(i.then(r=>{Ei(l),n(e.then,1,e.value,r),Ei(null)},r=>{if(Ei(l),n(e.catch,2,e.error,r),Ei(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function p_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const Mi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function pt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function ze(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ml(()=>{const s=i.$$.on_mount.map(xg).filter(Vi);i.$$.on_destroy?i.$$.on_destroy.push(...s):Qe(s),i.$$.on_mount=[]}),r.forEach(Ml)}function Ge(i,e){const t=i.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Rw(i,e){i.$$.dirty[0]===-1&&(ur.push(i),Lw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Rt(i,e,t,n,l,r,s,o=[-1]){const c=Xr;Ei(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Gf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Gf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};s&&s(g.root);let h=!1;if(g.ctx=t?t(i,e.props||{},(_,p,...m)=>{const v=m.length?m[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&Rw(i,_)),p}):[],g.update(),h=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=yw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&U(i.$$.fragment),ze(i,e.target,e.anchor,e.customElement),Oo()}Ei(c)}class Et{$destroy(){Ge(this,1),this.$destroy=Fe}$on(e,t){if(!Vi(t))return Fe;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!vw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class Ew{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),te.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=te.getConfigValueFromObject(e,t);return te.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const fa=new Ew;class Dw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ca=new Dw;class Vw{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Mn=new Vw;class Mw{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{d2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=un.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),On.getLuigiContainer().appendChild(n)}getConfigValue(e){return te.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=te.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return fa.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(te.isFunction(l))try{return await fa.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return di.isAuthorizationEnabled()}unload(){this.initialized=!1,rn.unload(),Nn.removeAllEventListeners();const e=On.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&te.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&te.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Mn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}}const da=new Mw;class Ow{constructor(){}isAuthorizationEnabled(){return!!se.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&rn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&rn.logout()}async handleAuthEvent(e,t,n,l){const r=await se.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return se.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ei.getStorageKey(),getStorageType:()=>ei.getStorageType(),getAuthData:()=>ei.getAuthData(),setAuthData:e=>ei.setAuthData(e),removeAuthData:()=>ei.removeAuthData(),setNewlyAuthorized:()=>ei.setNewlyAuthorized()}}}const m_=new Ow,en={desktopMinWidth:600},Fw=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],Uw={cssSelector:"[luigi-app-root]"},Bw={cssSelector:"[luigi-app-loading-indicator]"};class Hw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Uw.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ie.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ie.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ie.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const b_=new Hw;class Ww{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Jn extends Ww{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const s=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=te.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:s,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(te.isFunction(n)){const l=te.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(te.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class zw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Jn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Jn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Jn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Jn().openAsDrawer(e,t)}fromContext(e){return new Jn().fromContext(e)}fromClosestContext(){return new Jn().fromClosestContext()}fromVirtualTreeRoot(){return new Jn().fromVirtualTreeRoot()}withParams(e){return new Jn().withParams(e)}pathExists(e){return new Jn().pathExists(e)}hasBack(){return new Jn().hasBack()}goBack(e){return new Jn().goBack(e)}}const v_=new zw,Gw={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},qw=Gw;class Kw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=qw,this.listeners={}}_init(){un.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(te.isFunction(e)){const t=te.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),da.configChanged()}_initCustomImplementation(){this.translationImpl=da.getConfigValue("settings.customTranslationImplementation"),te.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let s=l[r];if(t.hasOwnProperty(s)&&typeof t[s]=="object")t=t[s];else return n?this.findInterpolations(t[s],n):t[s]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const w_=new Kw;class Jw{sendToAll(e){const t=ca.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=ca.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const jw=new Jw,ar=[];function Yw(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=Fe){let t;const n=new Set;function l(o){if(Pt(i,o)&&(i=o,t)){const c=!ar.length;for(const g of n)g[1](),ar.push(g,i);if(c){for(let g=0;g<ar.length;g+=2)ar[g][0](ar[g+1]);ar.length=0}}}function r(o){l(o(i))}function s(o,c=Fe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Qw{initial(){this.responsiveNavSetting=se.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(Ce.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&this.previousWindowWidth>=en.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>en.desktopMinWidth&&this.previousWindowWidth>=en.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(Ce.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(Ce.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const fi=new Qw;class Zw{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(Bw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(te.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(te.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return il(this.documentTitle)}collapseLeftSideNav(e){fi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Jn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const S_=new Zw;class Xw{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}}const k_=new Xw;class $w{constructor(){this.currentTheme}async getAvailableThemes(){return await se.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=se.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!se.getConfigValue("settings.theming")}_init(){const e=()=>{const t=se.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&$r.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};un.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const C_=new $w;class xw{constructor(){this.featureToggleList=gr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||il(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=il(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}il(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...il(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return te.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return il(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):il(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const y_=new xw;class e2{constructor(){}getSearchParams(){const e={},t=new URL(location);if(se.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);se.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),se.configChanged()}addNodeParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);se.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),se.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return se.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(se.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}}const P_=new e2,se=da,di=m_,On=b_,N_=v_,ht=w_,es=S_,t2=k_,I_=C_,Fo=y_,ll=P_;window.Luigi=da;window.Luigi.auth=()=>m_;window.Luigi.elements=()=>b_;window.Luigi.navigation=()=>v_;window.Luigi.i18n=()=>w_;window.Luigi.customMessages=()=>jw;window.Luigi.ux=()=>S_;window.Luigi.globalSearch=()=>k_;window.Luigi.theming=()=>C_;window.Luigi.featureToggles=()=>y_;window.Luigi.routing=()=>P_;class n2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(te.isElementVisible)}setActiveIframeToPrevious(e){const t=Ie.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ie.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!te.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}getAllViewGroupSettings(){return se.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:ht.getCurrentLocale()})};Ie.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=this.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:ht.getCurrentLocale()})};Ie.sendMessageToIframe(o,g)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ie.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):Ce.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||te.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const s=Ie.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Ie.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Ie.getMainIframes(),p=this.getPreservedViewsInDom(_);let m,v=!1;if(p.length>0&&(m=p.shift(),m===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Ie.getMainIframes().filter(N=>N.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Ie.hideElementChildren(n)):Ie.removeElementChildren(n),l.viewUrl){te.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ie.createIframe(r,S?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const C=["init",JSON.stringify(l.context)];Ie.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:D[I.userSettingsGroup]},internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ie.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Pn=new n2;class i2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(se.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Pn.getAllViewGroupSettings();if(!l)return;const r=Ie.getIframeContainer(),s=Ie.getMainIframes(),o=new Date().getTime();if(s.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=s.map(_=>_.vg).filter(Boolean),h=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&h.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&h.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Ie.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const or=new i2;class l2{async getNavigationPath(e,t=""){try{const n=te.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Mn.hasRootNode()&&(l=Mn.getRootNode().node),!l){const g=await e;te.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Mn.setRootNode(l)}const r=n.split("/"),s=await this.buildNode(r,[l],l.children,l.context||{}),o=s.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);s.isExistingRoute=!n||r.length===o.length;const c=n.split("/");return s.matchedPath=c.filter((g,h)=>o[h]&&o[h].startsWith(":")||o[h]===g).join("/"),s}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Mn.hasChildren(e)){let r=Mn.getChildren(e);r&&(n=r.children)}else try{n=await fa.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Mn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Mn.hasChildren(e)?Ft.getChildrenFromCache(e):await Ft.getChildren(e)}getChildrenFromCache(e){let t=Mn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>Ce.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=Ce.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let h=await this.getChildren(c,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,s=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=te.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:te.trimTrailingSlash(this.buildVirtualViewUrl(s,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:s});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
5
5
|
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
6
6
|
Please refer to documentation`),e.children=[h]}}findMatchingNode(e,t){let n=null;const l=t.filter(s=>!!s.pathSegment).length,r=t.filter(s=>s.pathSegment&&s.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
|
|
7
7
|
Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
|
|
8
8
|
Remove the static node from the configuration to resolve this warning.
|
|
9
9
|
Affected pathSegment:`,e,"Children:",t),t=t.filter(s=>s.pathSegment&&s.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
|
|
10
10
|
Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
|
|
11
|
-
Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=se.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>2){const n=t[t.length-2];if(
|
|
11
|
+
Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=se.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>2){const n=t[t.length-2];if(Mn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?Ce.groupNodesBy(n,"category",!0):{children:Ce.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=[];return e.slice().reverse().forEach(l=>{(!t||l.tabNav)&&(l.keepSelectedForChildren===!1?t=!0:(l.keepSelectedForChildren||l.tabNav&&!me.isDynamicNode(l))&&(t=!0,n=[])),n.push(l)}),n.reverse()}async getLeftNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){const l=this.getTruncatedChildren(t.pathData);let r=[...l].pop(),s;(r.keepSelectedForChildren||r.tabNav)&&(s=r,l.pop(),r=[...l].pop());const o=await this.getChildren(r,t.context),c=this.getGroupedChildren(o,e);n.navParent=c.parent||r,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const g=c.children;Object.values(g).forEach(h=>{!n.hasCategoriesWithIcon&&h&&h.metaInfo&&h.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=s||r,n.children=g}return n}getTruncatedChildrenForTabNav(e){const t=[];for(let n=0;n<e.length;n++)if(t.push(e[n]),e[n].tabNav){n<e.length-1&&t.push(e[n+1]);break}return t}async getTabNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){let r=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop();const s=await this.getChildren(r.tabNav?r:r.parent,t.context),o=this.getGroupedChildren(s,e).children;n.selectedNode=r,n.selectedNodeForTabNav=r,n.children=o}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&te.isFunction(e.onNodeActivation)&&await e.onNodeActivation(e)===!1)}}const Ft=new l2,al={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},r2={externalLink:{sameWindow:!1}};class _r{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class s2 extends _r{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=T_({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class a2 extends _r{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
|
|
12
12
|
.${e} {
|
|
13
13
|
grid-template-columns: ${l.columns||"auto"};
|
|
14
14
|
grid-template-rows: ${l.rows||"auto"};
|
|
@@ -33,32 +33,32 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
|
|
|
33
33
|
* Released under MIT license <https://lodash.com/license>
|
|
34
34
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
35
35
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
36
|
-
*/(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,m=4,v=1,S=2,y=1,C=2,N=4,I=8,D=16,T=32,L=64,V=128,O=256,F=512,W=30,ae="...",Z=800,Q=16,de=1,x=2,J=3,he=1/0,ne=9007199254740991,X=17976931348623157e292,Ne=0/0,ie=4294967295,He=ie-1,Se=ie>>>1,j=[["ary",V],["bind",y],["bindKey",C],["curry",I],["curryRight",D],["flip",F],["partial",T],["partialRight",L],["rearg",O]],fe="[object Arguments]",ve="[object Array]",re="[object AsyncFunction]",Ee="[object Boolean]",De="[object Date]",pe="[object DOMException]",$e="[object Error]",Vt="[object Function]",Rt="[object GeneratorFunction]",Mt="[object Map]",on="[object Number]",Oi="[object Null]",Gt="[object Object]",pi="[object Promise]",Fi="[object Proxy]",en="[object RegExp]",Qt="[object Set]",Qn="[object String]",Et="[object Symbol]",pn="[object Undefined]",Zt="[object WeakMap]",Ui="[object WeakSet]",qt="[object ArrayBuffer]",rn="[object DataView]",mi="[object Float32Array]",ni="[object Float64Array]",sn="[object Int8Array]",ee="[object Int16Array]",Me="[object Int32Array]",ct="[object Uint8Array]",Pt="[object Uint8ClampedArray]",Nt="[object Uint16Array]",mt="[object Uint32Array]",mn=/\b__p \+= '';/g,Nn=/\b(__p \+=) '' \+/g,ii=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bi=/&(?:amp|lt|gt|quot|#39);/g,ul=/[&<>"']/g,Bi=RegExp(bi.source),br=RegExp(ul.source),vr=/<%-([\s\S]+?)%>/g,wr=/<%([\s\S]+?)%>/g,Fl=/<%=([\s\S]+?)%>/g,Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/,Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fl=/[\\^$.*+?()[\]{}|]/g,cl=RegExp(fl.source),li=/^\s+/,dl=/\s/,Hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ul=/\{\n\/\* \[wrapped with (.+)\] \*/,Bl=/,? & /,Hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yr=/[()=,{}\[\]\/\s]/,bn=/\\(\\)?/g,hl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wi=/\w*$/,Wl=/^[-+]0x[0-9a-f]+$/i,Pr=/^0b[01]+$/i,zi=/^\[object .+?Constructor\]$/,gl=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vi=/($^)/,zl=/['\n\r\u2028\u2029\\]/g,Gi="\\ud800-\\udfff",wt="\\u0300-\\u036f",ml="\\ufe20-\\ufe2f",bl="\\u20d0-\\u20ff",vl=wt+ml+bl,wl="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",K="\\xac\\xb1\\xd7\\xf7",Ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",vn="\\u2000-\\u206f",wi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sl="A-Z\\xc0-\\xd6\\xd8-\\xde",is="\\ufe0e\\ufe0f",ls=K+Ct+vn+wi,Nr="['\u2019]",Ir="["+Gi+"]",rs="["+ls+"]",Gl="["+vl+"]",ss="\\d+",va="["+wl+"]",as="["+ri+"]",Tr="[^"+Gi+ls+ss+wl+ri+Sl+"]",ql="\\ud83c[\\udffb-\\udfff]",wa="(?:"+Gl+"|"+ql+")",os="[^"+Gi+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ar="[\\ud800-\\udbff][\\udc00-\\udfff]",qi="["+Sl+"]",us="\\u200d",fs="(?:"+as+"|"+Tr+")",Sa="(?:"+qi+"|"+Tr+")",cs="(?:"+Nr+"(?:d|ll|m|re|s|t|ve))?",ds="(?:"+Nr+"(?:D|LL|M|RE|S|T|VE))?",hs=wa+"?",gs="["+is+"]?",ka="(?:"+us+"(?:"+[os,Lr,Ar].join("|")+")"+gs+hs+")*",B="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ue="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ve=gs+hs+ka,Je="(?:"+[va,Lr,Ar].join("|")+")"+Ve,Ue="(?:"+[os+Gl+"?",Gl,Lr,Ar,Ir].join("|")+")",we=RegExp(Nr,"g"),Oe=RegExp(Gl,"g"),ut=RegExp(ql+"(?="+ql+")|"+Ue+Ve,"g"),Ot=RegExp([qi+"?"+as+"+"+cs+"(?="+[rs,qi,"$"].join("|")+")",Sa+"+"+ds+"(?="+[rs,qi+fs,"$"].join("|")+")",qi+"?"+fs+"+"+cs,qi+"+"+ds,ue,B,ss,Je].join("|"),"g"),Rr=RegExp("["+us+Gi+vl+is+"]"),Ki=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Er=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ji=-1,St={};St[mi]=St[ni]=St[sn]=St[ee]=St[Me]=St[ct]=St[Pt]=St[Nt]=St[mt]=!0,St[fe]=St[ve]=St[qt]=St[Ee]=St[rn]=St[De]=St[$e]=St[Vt]=St[Mt]=St[on]=St[Gt]=St[en]=St[Qt]=St[Qn]=St[Zt]=!1;var Te={};Te[fe]=Te[ve]=Te[qt]=Te[rn]=Te[Ee]=Te[De]=Te[mi]=Te[ni]=Te[sn]=Te[ee]=Te[Me]=Te[Mt]=Te[on]=Te[Gt]=Te[en]=Te[Qt]=Te[Qn]=Te[Et]=Te[ct]=Te[Pt]=Te[Nt]=Te[mt]=!0,Te[$e]=Te[Vt]=Te[Zt]=!1;var bt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Kt={"&":"&","<":"<",">":">",'"':""","'":"'"},Un={"&":"&","<":"<",">":">",""":'"',"'":"'"},si={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ji=parseFloat,kl=parseInt,Kl=typeof Zr=="object"&&Zr&&Zr.Object===Object&&Zr,Jl=typeof self=="object"&&self&&self.Object===Object&&self,tn=Kl||Jl||Function("return this")(),Cl=e&&!e.nodeType&&e,Si=Cl&&!0&&i&&!i.nodeType&&i,yl=Si&&Si.exports===Cl,ki=yl&&Kl.process,It=function(){try{var Y=Si&&Si.require&&Si.require("util").types;return Y||ki&&ki.binding&&ki.binding("util")}catch{}}(),In=It&&It.isArrayBuffer,_s=It&&It.isDate,Bo=It&&It.isMap,Ho=It&&It.isRegExp,Wo=It&&It.isSet,zo=It&&It.isTypedArray;function Tn(Y,ce,oe){switch(oe.length){case 0:return Y.call(ce);case 1:return Y.call(ce,oe[0]);case 2:return Y.call(ce,oe[0],oe[1]);case 3:return Y.call(ce,oe[0],oe[1],oe[2])}return Y.apply(ce,oe)}function H_(Y,ce,oe,Be){for(var Ze=-1,ht=Y==null?0:Y.length;++Ze<ht;){var Xt=Y[Ze];ce(Be,Xt,oe(Xt),Y)}return Be}function Bn(Y,ce){for(var oe=-1,Be=Y==null?0:Y.length;++oe<Be&&ce(Y[oe],oe,Y)!==!1;);return Y}function W_(Y,ce){for(var oe=Y==null?0:Y.length;oe--&&ce(Y[oe],oe,Y)!==!1;);return Y}function Go(Y,ce){for(var oe=-1,Be=Y==null?0:Y.length;++oe<Be;)if(!ce(Y[oe],oe,Y))return!1;return!0}function Yi(Y,ce){for(var oe=-1,Be=Y==null?0:Y.length,Ze=0,ht=[];++oe<Be;){var Xt=Y[oe];ce(Xt,oe,Y)&&(ht[Ze++]=Xt)}return ht}function ps(Y,ce){var oe=Y==null?0:Y.length;return!!oe&&jl(Y,ce,0)>-1}function Ca(Y,ce,oe){for(var Be=-1,Ze=Y==null?0:Y.length;++Be<Ze;)if(oe(ce,Y[Be]))return!0;return!1}function Ft(Y,ce){for(var oe=-1,Be=Y==null?0:Y.length,Ze=Array(Be);++oe<Be;)Ze[oe]=ce(Y[oe],oe,Y);return Ze}function Qi(Y,ce){for(var oe=-1,Be=ce.length,Ze=Y.length;++oe<Be;)Y[Ze+oe]=ce[oe];return Y}function ya(Y,ce,oe,Be){var Ze=-1,ht=Y==null?0:Y.length;for(Be&&ht&&(oe=Y[++Ze]);++Ze<ht;)oe=ce(oe,Y[Ze],Ze,Y);return oe}function z_(Y,ce,oe,Be){var Ze=Y==null?0:Y.length;for(Be&&Ze&&(oe=Y[--Ze]);Ze--;)oe=ce(oe,Y[Ze],Ze,Y);return oe}function Pa(Y,ce){for(var oe=-1,Be=Y==null?0:Y.length;++oe<Be;)if(ce(Y[oe],oe,Y))return!0;return!1}var G_=Na("length");function q_(Y){return Y.split("")}function K_(Y){return Y.match(Hl)||[]}function qo(Y,ce,oe){var Be;return oe(Y,function(Ze,ht,Xt){if(ce(Ze,ht,Xt))return Be=ht,!1}),Be}function ms(Y,ce,oe,Be){for(var Ze=Y.length,ht=oe+(Be?1:-1);Be?ht--:++ht<Ze;)if(ce(Y[ht],ht,Y))return ht;return-1}function jl(Y,ce,oe){return ce===ce?ip(Y,ce,oe):ms(Y,Ko,oe)}function J_(Y,ce,oe,Be){for(var Ze=oe-1,ht=Y.length;++Ze<ht;)if(Be(Y[Ze],ce))return Ze;return-1}function Ko(Y){return Y!==Y}function Jo(Y,ce){var oe=Y==null?0:Y.length;return oe?Ta(Y,ce)/oe:Ne}function Na(Y){return function(ce){return ce==null?t:ce[Y]}}function Ia(Y){return function(ce){return Y==null?t:Y[ce]}}function jo(Y,ce,oe,Be,Ze){return Ze(Y,function(ht,Xt,Tt){oe=Be?(Be=!1,ht):ce(oe,ht,Xt,Tt)}),oe}function j_(Y,ce){var oe=Y.length;for(Y.sort(ce);oe--;)Y[oe]=Y[oe].value;return Y}function Ta(Y,ce){for(var oe,Be=-1,Ze=Y.length;++Be<Ze;){var ht=ce(Y[Be]);ht!==t&&(oe=oe===t?ht:oe+ht)}return oe}function La(Y,ce){for(var oe=-1,Be=Array(Y);++oe<Y;)Be[oe]=ce(oe);return Be}function Y_(Y,ce){return Ft(ce,function(oe){return[oe,Y[oe]]})}function Yo(Y){return Y&&Y.slice(0,$o(Y)+1).replace(li,"")}function Ln(Y){return function(ce){return Y(ce)}}function Aa(Y,ce){return Ft(ce,function(oe){return Y[oe]})}function Dr(Y,ce){return Y.has(ce)}function Qo(Y,ce){for(var oe=-1,Be=Y.length;++oe<Be&&jl(ce,Y[oe],0)>-1;);return oe}function Zo(Y,ce){for(var oe=Y.length;oe--&&jl(ce,Y[oe],0)>-1;);return oe}function Q_(Y,ce){for(var oe=Y.length,Be=0;oe--;)Y[oe]===ce&&++Be;return Be}var Z_=Ia(bt),X_=Ia(Kt);function $_(Y){return"\\"+si[Y]}function x_(Y,ce){return Y==null?t:Y[ce]}function Yl(Y){return Rr.test(Y)}function ep(Y){return Ki.test(Y)}function tp(Y){for(var ce,oe=[];!(ce=Y.next()).done;)oe.push(ce.value);return oe}function Ra(Y){var ce=-1,oe=Array(Y.size);return Y.forEach(function(Be,Ze){oe[++ce]=[Ze,Be]}),oe}function Xo(Y,ce){return function(oe){return Y(ce(oe))}}function Zi(Y,ce){for(var oe=-1,Be=Y.length,Ze=0,ht=[];++oe<Be;){var Xt=Y[oe];(Xt===ce||Xt===h)&&(Y[oe]=h,ht[Ze++]=oe)}return ht}function bs(Y){var ce=-1,oe=Array(Y.size);return Y.forEach(function(Be){oe[++ce]=Be}),oe}function np(Y){var ce=-1,oe=Array(Y.size);return Y.forEach(function(Be){oe[++ce]=[Be,Be]}),oe}function ip(Y,ce,oe){for(var Be=oe-1,Ze=Y.length;++Be<Ze;)if(Y[Be]===ce)return Be;return-1}function lp(Y,ce,oe){for(var Be=oe+1;Be--;)if(Y[Be]===ce)return Be;return Be}function Ql(Y){return Yl(Y)?sp(Y):G_(Y)}function Zn(Y){return Yl(Y)?ap(Y):q_(Y)}function $o(Y){for(var ce=Y.length;ce--&&dl.test(Y.charAt(ce)););return ce}var rp=Ia(Un);function sp(Y){for(var ce=ut.lastIndex=0;ut.test(Y);)++ce;return ce}function ap(Y){return Y.match(ut)||[]}function op(Y){return Y.match(Ot)||[]}var up=function Y(ce){ce=ce==null?tn:Zl.defaults(tn.Object(),ce,Zl.pick(tn,Er));var oe=ce.Array,Be=ce.Date,Ze=ce.Error,ht=ce.Function,Xt=ce.Math,Tt=ce.Object,Ea=ce.RegExp,fp=ce.String,Hn=ce.TypeError,vs=oe.prototype,cp=ht.prototype,Xl=Tt.prototype,ws=ce["__core-js_shared__"],Ss=cp.toString,kt=Xl.hasOwnProperty,dp=0,xo=function(){var a=/[^.]+$/.exec(ws&&ws.keys&&ws.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),ks=Xl.toString,hp=Ss.call(Tt),gp=tn._,_p=Ea("^"+Ss.call(kt).replace(fl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cs=yl?ce.Buffer:t,Xi=ce.Symbol,ys=ce.Uint8Array,eu=Cs?Cs.allocUnsafe:t,Ps=Xo(Tt.getPrototypeOf,Tt),tu=Tt.create,nu=Xl.propertyIsEnumerable,Ns=vs.splice,iu=Xi?Xi.isConcatSpreadable:t,Vr=Xi?Xi.iterator:t,Pl=Xi?Xi.toStringTag:t,Is=function(){try{var a=Al(Tt,"defineProperty");return a({},"",{}),a}catch{}}(),pp=ce.clearTimeout!==tn.clearTimeout&&ce.clearTimeout,mp=Be&&Be.now!==tn.Date.now&&Be.now,bp=ce.setTimeout!==tn.setTimeout&&ce.setTimeout,Ts=Xt.ceil,Ls=Xt.floor,Da=Tt.getOwnPropertySymbols,vp=Cs?Cs.isBuffer:t,lu=ce.isFinite,wp=vs.join,Sp=Xo(Tt.keys,Tt),$t=Xt.max,un=Xt.min,kp=Be.now,Cp=ce.parseInt,ru=Xt.random,yp=vs.reverse,Va=Al(ce,"DataView"),Mr=Al(ce,"Map"),Ma=Al(ce,"Promise"),$l=Al(ce,"Set"),Or=Al(ce,"WeakMap"),Fr=Al(Tt,"create"),As=Or&&new Or,xl={},Pp=Rl(Va),Np=Rl(Mr),Ip=Rl(Ma),Tp=Rl($l),Lp=Rl(Or),Rs=Xi?Xi.prototype:t,Ur=Rs?Rs.valueOf:t,su=Rs?Rs.toString:t;function E(a){if(zt(a)&&!xe(a)&&!(a instanceof at)){if(a instanceof Wn)return a;if(kt.call(a,"__wrapped__"))return of(a)}return new Wn(a)}var er=function(){function a(){}return function(u){if(!Ht(u))return{};if(tu)return tu(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Es(){}function Wn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}E.templateSettings={escape:vr,evaluate:wr,interpolate:Fl,variable:"",imports:{_:E}},E.prototype=Es.prototype,E.prototype.constructor=E,Wn.prototype=er(Es.prototype),Wn.prototype.constructor=Wn;function at(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function Ap(){var a=new at(this.__wrapped__);return a.__actions__=wn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=wn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=wn(this.__views__),a}function Rp(){if(this.__filtered__){var a=new at(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Ep(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),b=u<0,P=d?a.length:0,M=qm(0,P,this.__views__),H=M.start,z=M.end,$=z-H,ge=b?z:H-1,_e=this.__iteratees__,be=_e.length,Le=0,We=un($,this.__takeCount__);if(!d||!b&&P==$&&We==$)return Au(a,this.__actions__);var je=[];e:for(;$--&&Le<We;){ge+=u;for(var nt=-1,Ye=a[ge];++nt<be;){var st=_e[nt],ot=st.iteratee,En=st.type,gn=ot(Ye);if(En==x)Ye=gn;else if(!gn){if(En==de)continue e;break e}}je[Le++]=Ye}return je}at.prototype=er(Es.prototype),at.prototype.constructor=at;function Nl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Dp(){this.__data__=Fr?Fr(null):{},this.size=0}function Vp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Mp(a){var u=this.__data__;if(Fr){var d=u[a];return d===c?t:d}return kt.call(u,a)?u[a]:t}function Op(a){var u=this.__data__;return Fr?u[a]!==t:kt.call(u,a)}function Fp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Fr&&u===t?c:u,this}Nl.prototype.clear=Dp,Nl.prototype.delete=Vp,Nl.prototype.get=Mp,Nl.prototype.has=Op,Nl.prototype.set=Fp;function Ci(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Up(){this.__data__=[],this.size=0}function Bp(a){var u=this.__data__,d=Ds(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():Ns.call(u,d,1),--this.size,!0}function Hp(a){var u=this.__data__,d=Ds(u,a);return d<0?t:u[d][1]}function Wp(a){return Ds(this.__data__,a)>-1}function zp(a,u){var d=this.__data__,b=Ds(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Ci.prototype.clear=Up,Ci.prototype.delete=Bp,Ci.prototype.get=Hp,Ci.prototype.has=Wp,Ci.prototype.set=zp;function yi(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Gp(){this.size=0,this.__data__={hash:new Nl,map:new(Mr||Ci),string:new Nl}}function qp(a){var u=Ks(this,a).delete(a);return this.size-=u?1:0,u}function Kp(a){return Ks(this,a).get(a)}function Jp(a){return Ks(this,a).has(a)}function jp(a,u){var d=Ks(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}yi.prototype.clear=Gp,yi.prototype.delete=qp,yi.prototype.get=Kp,yi.prototype.has=Jp,yi.prototype.set=jp;function Il(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new yi;++u<d;)this.add(a[u])}function Yp(a){return this.__data__.set(a,c),this}function Qp(a){return this.__data__.has(a)}Il.prototype.add=Il.prototype.push=Yp,Il.prototype.has=Qp;function Xn(a){var u=this.__data__=new Ci(a);this.size=u.size}function Zp(){this.__data__=new Ci,this.size=0}function Xp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function $p(a){return this.__data__.get(a)}function xp(a){return this.__data__.has(a)}function em(a,u){var d=this.__data__;if(d instanceof Ci){var b=d.__data__;if(!Mr||b.length<l-1)return b.push([a,u]),this.size=++d.size,this;d=this.__data__=new yi(b)}return d.set(a,u),this.size=d.size,this}Xn.prototype.clear=Zp,Xn.prototype.delete=Xp,Xn.prototype.get=$p,Xn.prototype.has=xp,Xn.prototype.set=em;function au(a,u){var d=xe(a),b=!d&&El(a),P=!d&&!b&&nl(a),M=!d&&!b&&!P&&lr(a),H=d||b||P||M,z=H?La(a.length,fp):[],$=z.length;for(var ge in a)(u||kt.call(a,ge))&&!(H&&(ge=="length"||P&&(ge=="offset"||ge=="parent")||M&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ti(ge,$)))&&z.push(ge);return z}function ou(a){var u=a.length;return u?a[Ja(0,u-1)]:t}function tm(a,u){return Js(wn(a),Tl(u,0,a.length))}function nm(a){return Js(wn(a))}function Oa(a,u,d){(d!==t&&!$n(a[u],d)||d===t&&!(u in a))&&Pi(a,u,d)}function Br(a,u,d){var b=a[u];(!(kt.call(a,u)&&$n(b,d))||d===t&&!(u in a))&&Pi(a,u,d)}function Ds(a,u){for(var d=a.length;d--;)if($n(a[d][0],u))return d;return-1}function im(a,u,d,b){return $i(a,function(P,M,H){u(b,P,d(P),H)}),b}function uu(a,u){return a&&oi(u,nn(u),a)}function lm(a,u){return a&&oi(u,kn(u),a)}function Pi(a,u,d){u=="__proto__"&&Is?Is(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Fa(a,u){for(var d=-1,b=u.length,P=oe(b),M=a==null;++d<b;)P[d]=M?t:bo(a,u[d]);return P}function Tl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function zn(a,u,d,b,P,M){var H,z=u&_,$=u&p,ge=u&m;if(d&&(H=P?d(a,b,P,M):d(a)),H!==t)return H;if(!Ht(a))return a;var _e=xe(a);if(_e){if(H=Jm(a),!z)return wn(a,H)}else{var be=fn(a),Le=be==Vt||be==Rt;if(nl(a))return Du(a,z);if(be==Gt||be==fe||Le&&!P){if(H=$||Le?{}:$u(a),!z)return $?Mm(a,lm(H,a)):Vm(a,uu(H,a))}else{if(!Te[be])return P?a:{};H=jm(a,be,z)}}M||(M=new Xn);var We=M.get(a);if(We)return We;M.set(a,H),Tf(a)?a.forEach(function(Ye){H.add(zn(Ye,u,d,Ye,a,M))}):Nf(a)&&a.forEach(function(Ye,st){H.set(st,zn(Ye,u,d,st,a,M))});var je=ge?$?io:no:$?kn:nn,nt=_e?t:je(a);return Bn(nt||a,function(Ye,st){nt&&(st=Ye,Ye=a[st]),Br(H,st,zn(Ye,u,d,st,a,M))}),H}function rm(a){var u=nn(a);return function(d){return fu(d,a,u)}}function fu(a,u,d){var b=d.length;if(a==null)return!b;for(a=Tt(a);b--;){var P=d[b],M=u[P],H=a[P];if(H===t&&!(P in a)||!M(H))return!1}return!0}function cu(a,u,d){if(typeof a!="function")throw new Hn(s);return Jr(function(){a.apply(t,d)},u)}function Hr(a,u,d,b){var P=-1,M=ps,H=!0,z=a.length,$=[],ge=u.length;if(!z)return $;d&&(u=Ft(u,Ln(d))),b?(M=Ca,H=!1):u.length>=l&&(M=Dr,H=!1,u=new Il(u));e:for(;++P<z;){var _e=a[P],be=d==null?_e:d(_e);if(_e=b||_e!==0?_e:0,H&&be===be){for(var Le=ge;Le--;)if(u[Le]===be)continue e;$.push(_e)}else M(u,be,b)||$.push(_e)}return $}var $i=Uu(ai),du=Uu(Ba,!0);function sm(a,u){var d=!0;return $i(a,function(b,P,M){return d=!!u(b,P,M),d}),d}function Vs(a,u,d){for(var b=-1,P=a.length;++b<P;){var M=a[b],H=u(M);if(H!=null&&(z===t?H===H&&!Rn(H):d(H,z)))var z=H,$=M}return $}function am(a,u,d,b){var P=a.length;for(d=et(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:et(b),b<0&&(b+=P),b=d>b?0:Af(b);d<b;)a[d++]=u;return a}function hu(a,u){var d=[];return $i(a,function(b,P,M){u(b,P,M)&&d.push(b)}),d}function an(a,u,d,b,P){var M=-1,H=a.length;for(d||(d=Qm),P||(P=[]);++M<H;){var z=a[M];u>0&&d(z)?u>1?an(z,u-1,d,b,P):Qi(P,z):b||(P[P.length]=z)}return P}var Ua=Bu(),gu=Bu(!0);function ai(a,u){return a&&Ua(a,u,nn)}function Ba(a,u){return a&&gu(a,u,nn)}function Ms(a,u){return Yi(u,function(d){return Li(a[d])})}function Ll(a,u){u=el(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[ui(u[d++])];return d&&d==b?a:t}function _u(a,u,d){var b=u(a);return xe(a)?b:Qi(b,d(a))}function dn(a){return a==null?a===t?pn:Oi:Pl&&Pl in Tt(a)?Gm(a):n1(a)}function Ha(a,u){return a>u}function om(a,u){return a!=null&&kt.call(a,u)}function um(a,u){return a!=null&&u in Tt(a)}function fm(a,u,d){return a>=un(u,d)&&a<$t(u,d)}function Wa(a,u,d){for(var b=d?Ca:ps,P=a[0].length,M=a.length,H=M,z=oe(M),$=1/0,ge=[];H--;){var _e=a[H];H&&u&&(_e=Ft(_e,Ln(u))),$=un(_e.length,$),z[H]=!d&&(u||P>=120&&_e.length>=120)?new Il(H&&_e):t}_e=a[0];var be=-1,Le=z[0];e:for(;++be<P&&ge.length<$;){var We=_e[be],je=u?u(We):We;if(We=d||We!==0?We:0,!(Le?Dr(Le,je):b(ge,je,d))){for(H=M;--H;){var nt=z[H];if(!(nt?Dr(nt,je):b(a[H],je,d)))continue e}Le&&Le.push(je),ge.push(We)}}return ge}function cm(a,u,d,b){return ai(a,function(P,M,H){u(b,d(P),M,H)}),b}function Wr(a,u,d){u=el(u,a),a=nf(a,u);var b=a==null?a:a[ui(qn(u))];return b==null?t:Tn(b,a,d)}function pu(a){return zt(a)&&dn(a)==fe}function dm(a){return zt(a)&&dn(a)==qt}function hm(a){return zt(a)&&dn(a)==De}function zr(a,u,d,b,P){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:gm(a,u,d,b,zr,P)}function gm(a,u,d,b,P,M){var H=xe(a),z=xe(u),$=H?ve:fn(a),ge=z?ve:fn(u);$=$==fe?Gt:$,ge=ge==fe?Gt:ge;var _e=$==Gt,be=ge==Gt,Le=$==ge;if(Le&&nl(a)){if(!nl(u))return!1;H=!0,_e=!1}if(Le&&!_e)return M||(M=new Xn),H||lr(a)?Qu(a,u,d,b,P,M):Wm(a,u,$,d,b,P,M);if(!(d&v)){var We=_e&&kt.call(a,"__wrapped__"),je=be&&kt.call(u,"__wrapped__");if(We||je){var nt=We?a.value():a,Ye=je?u.value():u;return M||(M=new Xn),P(nt,Ye,d,b,M)}}return Le?(M||(M=new Xn),zm(a,u,d,b,P,M)):!1}function _m(a){return zt(a)&&fn(a)==Mt}function za(a,u,d,b){var P=d.length,M=P,H=!b;if(a==null)return!M;for(a=Tt(a);P--;){var z=d[P];if(H&&z[2]?z[1]!==a[z[0]]:!(z[0]in a))return!1}for(;++P<M;){z=d[P];var $=z[0],ge=a[$],_e=z[1];if(H&&z[2]){if(ge===t&&!($ in a))return!1}else{var be=new Xn;if(b)var Le=b(ge,_e,$,a,u,be);if(!(Le===t?zr(_e,ge,v|S,b,be):Le))return!1}}return!0}function mu(a){if(!Ht(a)||Xm(a))return!1;var u=Li(a)?_p:zi;return u.test(Rl(a))}function pm(a){return zt(a)&&dn(a)==en}function mm(a){return zt(a)&&fn(a)==Qt}function bm(a){return zt(a)&&$s(a.length)&&!!St[dn(a)]}function bu(a){return typeof a=="function"?a:a==null?Cn:typeof a=="object"?xe(a)?Su(a[0],a[1]):wu(a):Wf(a)}function Ga(a){if(!Kr(a))return Sp(a);var u=[];for(var d in Tt(a))kt.call(a,d)&&d!="constructor"&&u.push(d);return u}function vm(a){if(!Ht(a))return t1(a);var u=Kr(a),d=[];for(var b in a)b=="constructor"&&(u||!kt.call(a,b))||d.push(b);return d}function qa(a,u){return a<u}function vu(a,u){var d=-1,b=Sn(a)?oe(a.length):[];return $i(a,function(P,M,H){b[++d]=u(P,M,H)}),b}function wu(a){var u=ro(a);return u.length==1&&u[0][2]?ef(u[0][0],u[0][1]):function(d){return d===a||za(d,a,u)}}function Su(a,u){return ao(a)&&xu(u)?ef(ui(a),u):function(d){var b=bo(d,a);return b===t&&b===u?vo(d,a):zr(u,b,v|S)}}function Os(a,u,d,b,P){a!==u&&Ua(u,function(M,H){if(P||(P=new Xn),Ht(M))wm(a,u,H,d,Os,b,P);else{var z=b?b(uo(a,H),M,H+"",a,u,P):t;z===t&&(z=M),Oa(a,H,z)}},kn)}function wm(a,u,d,b,P,M,H){var z=uo(a,d),$=uo(u,d),ge=H.get($);if(ge){Oa(a,d,ge);return}var _e=M?M(z,$,d+"",a,u,H):t,be=_e===t;if(be){var Le=xe($),We=!Le&&nl($),je=!Le&&!We&&lr($);_e=$,Le||We||je?xe(z)?_e=z:Jt(z)?_e=wn(z):We?(be=!1,_e=Du($,!0)):je?(be=!1,_e=Vu($,!0)):_e=[]:jr($)||El($)?(_e=z,El(z)?_e=Rf(z):(!Ht(z)||Li(z))&&(_e=$u($))):be=!1}be&&(H.set($,_e),P(_e,$,b,M,H),H.delete($)),Oa(a,d,_e)}function ku(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ti(u,d)?a[u]:t}function Cu(a,u,d){u.length?u=Ft(u,function(M){return xe(M)?function(H){return Ll(H,M.length===1?M[0]:M)}:M}):u=[Cn];var b=-1;u=Ft(u,Ln(Ke()));var P=vu(a,function(M,H,z){var $=Ft(u,function(ge){return ge(M)});return{criteria:$,index:++b,value:M}});return j_(P,function(M,H){return Dm(M,H,d)})}function Sm(a,u){return yu(a,u,function(d,b){return vo(a,b)})}function yu(a,u,d){for(var b=-1,P=u.length,M={};++b<P;){var H=u[b],z=Ll(a,H);d(z,H)&&Gr(M,el(H,a),z)}return M}function km(a){return function(u){return Ll(u,a)}}function Ka(a,u,d,b){var P=b?J_:jl,M=-1,H=u.length,z=a;for(a===u&&(u=wn(u)),d&&(z=Ft(a,Ln(d)));++M<H;)for(var $=0,ge=u[M],_e=d?d(ge):ge;($=P(z,_e,$,b))>-1;)z!==a&&Ns.call(z,$,1),Ns.call(a,$,1);return a}function Pu(a,u){for(var d=a?u.length:0,b=d-1;d--;){var P=u[d];if(d==b||P!==M){var M=P;Ti(P)?Ns.call(a,P,1):Qa(a,P)}}return a}function Ja(a,u){return a+Ls(ru()*(u-a+1))}function Cm(a,u,d,b){for(var P=-1,M=$t(Ts((u-a)/(d||1)),0),H=oe(M);M--;)H[b?M:++P]=a,a+=d;return H}function ja(a,u){var d="";if(!a||u<1||u>ne)return d;do u%2&&(d+=a),u=Ls(u/2),u&&(a+=a);while(u);return d}function lt(a,u){return fo(tf(a,u,Cn),a+"")}function ym(a){return ou(rr(a))}function Pm(a,u){var d=rr(a);return Js(d,Tl(u,0,d.length))}function Gr(a,u,d,b){if(!Ht(a))return a;u=el(u,a);for(var P=-1,M=u.length,H=M-1,z=a;z!=null&&++P<M;){var $=ui(u[P]),ge=d;if($==="__proto__"||$==="constructor"||$==="prototype")return a;if(P!=H){var _e=z[$];ge=b?b(_e,$,z):t,ge===t&&(ge=Ht(_e)?_e:Ti(u[P+1])?[]:{})}Br(z,$,ge),z=z[$]}return a}var Nu=As?function(a,u){return As.set(a,u),a}:Cn,Nm=Is?function(a,u){return Is(a,"toString",{configurable:!0,enumerable:!1,value:So(u),writable:!0})}:Cn;function Im(a){return Js(rr(a))}function Gn(a,u,d){var b=-1,P=a.length;u<0&&(u=-u>P?0:P+u),d=d>P?P:d,d<0&&(d+=P),P=u>d?0:d-u>>>0,u>>>=0;for(var M=oe(P);++b<P;)M[b]=a[b+u];return M}function Tm(a,u){var d;return $i(a,function(b,P,M){return d=u(b,P,M),!d}),!!d}function Fs(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Se){for(;b<P;){var M=b+P>>>1,H=a[M];H!==null&&!Rn(H)&&(d?H<=u:H<u)?b=M+1:P=M}return P}return Ya(a,u,Cn,d)}function Ya(a,u,d,b){var P=0,M=a==null?0:a.length;if(M===0)return 0;u=d(u);for(var H=u!==u,z=u===null,$=Rn(u),ge=u===t;P<M;){var _e=Ls((P+M)/2),be=d(a[_e]),Le=be!==t,We=be===null,je=be===be,nt=Rn(be);if(H)var Ye=b||je;else ge?Ye=je&&(b||Le):z?Ye=je&&Le&&(b||!We):$?Ye=je&&Le&&!We&&(b||!nt):We||nt?Ye=!1:Ye=b?be<=u:be<u;Ye?P=_e+1:M=_e}return un(M,He)}function Iu(a,u){for(var d=-1,b=a.length,P=0,M=[];++d<b;){var H=a[d],z=u?u(H):H;if(!d||!$n(z,$)){var $=z;M[P++]=H===0?0:H}}return M}function Tu(a){return typeof a=="number"?a:Rn(a)?Ne:+a}function An(a){if(typeof a=="string")return a;if(xe(a))return Ft(a,An)+"";if(Rn(a))return su?su.call(a):"";var u=a+"";return u=="0"&&1/a==-he?"-0":u}function xi(a,u,d){var b=-1,P=ps,M=a.length,H=!0,z=[],$=z;if(d)H=!1,P=Ca;else if(M>=l){var ge=u?null:Bm(a);if(ge)return bs(ge);H=!1,P=Dr,$=new Il}else $=u?[]:z;e:for(;++b<M;){var _e=a[b],be=u?u(_e):_e;if(_e=d||_e!==0?_e:0,H&&be===be){for(var Le=$.length;Le--;)if($[Le]===be)continue e;u&&$.push(be),z.push(_e)}else P($,be,d)||($!==z&&$.push(be),z.push(_e))}return z}function Qa(a,u){return u=el(u,a),a=nf(a,u),a==null||delete a[ui(qn(u))]}function Lu(a,u,d,b){return Gr(a,u,d(Ll(a,u)),b)}function Us(a,u,d,b){for(var P=a.length,M=b?P:-1;(b?M--:++M<P)&&u(a[M],M,a););return d?Gn(a,b?0:M,b?M+1:P):Gn(a,b?M+1:0,b?P:M)}function Au(a,u){var d=a;return d instanceof at&&(d=d.value()),ya(u,function(b,P){return P.func.apply(P.thisArg,Qi([b],P.args))},d)}function Za(a,u,d){var b=a.length;if(b<2)return b?xi(a[0]):[];for(var P=-1,M=oe(b);++P<b;)for(var H=a[P],z=-1;++z<b;)z!=P&&(M[P]=Hr(M[P]||H,a[z],u,d));return xi(an(M,1),u,d)}function Ru(a,u,d){for(var b=-1,P=a.length,M=u.length,H={};++b<P;){var z=b<M?u[b]:t;d(H,a[b],z)}return H}function Xa(a){return Jt(a)?a:[]}function $a(a){return typeof a=="function"?a:Cn}function el(a,u){return xe(a)?a:ao(a,u)?[a]:af(vt(a))}var Lm=lt;function tl(a,u,d){var b=a.length;return d=d===t?b:d,!u&&d>=b?a:Gn(a,u,d)}var Eu=pp||function(a){return tn.clearTimeout(a)};function Du(a,u){if(u)return a.slice();var d=a.length,b=eu?eu(d):new a.constructor(d);return a.copy(b),b}function xa(a){var u=new a.constructor(a.byteLength);return new ys(u).set(new ys(a)),u}function Am(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function Rm(a){var u=new a.constructor(a.source,Wi.exec(a));return u.lastIndex=a.lastIndex,u}function Em(a){return Ur?Tt(Ur.call(a)):{}}function Vu(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Mu(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,M=Rn(a),H=u!==t,z=u===null,$=u===u,ge=Rn(u);if(!z&&!ge&&!M&&a>u||M&&H&&$&&!z&&!ge||b&&H&&$||!d&&$||!P)return 1;if(!b&&!M&&!ge&&a<u||ge&&d&&P&&!b&&!M||z&&d&&P||!H&&P||!$)return-1}return 0}function Dm(a,u,d){for(var b=-1,P=a.criteria,M=u.criteria,H=P.length,z=d.length;++b<H;){var $=Mu(P[b],M[b]);if($){if(b>=z)return $;var ge=d[b];return $*(ge=="desc"?-1:1)}}return a.index-u.index}function Ou(a,u,d,b){for(var P=-1,M=a.length,H=d.length,z=-1,$=u.length,ge=$t(M-H,0),_e=oe($+ge),be=!b;++z<$;)_e[z]=u[z];for(;++P<H;)(be||P<M)&&(_e[d[P]]=a[P]);for(;ge--;)_e[z++]=a[P++];return _e}function Fu(a,u,d,b){for(var P=-1,M=a.length,H=-1,z=d.length,$=-1,ge=u.length,_e=$t(M-z,0),be=oe(_e+ge),Le=!b;++P<_e;)be[P]=a[P];for(var We=P;++$<ge;)be[We+$]=u[$];for(;++H<z;)(Le||P<M)&&(be[We+d[H]]=a[P++]);return be}function wn(a,u){var d=-1,b=a.length;for(u||(u=oe(b));++d<b;)u[d]=a[d];return u}function oi(a,u,d,b){var P=!d;d||(d={});for(var M=-1,H=u.length;++M<H;){var z=u[M],$=b?b(d[z],a[z],z,d,a):t;$===t&&($=a[z]),P?Pi(d,z,$):Br(d,z,$)}return d}function Vm(a,u){return oi(a,so(a),u)}function Mm(a,u){return oi(a,Zu(a),u)}function Bs(a,u){return function(d,b){var P=xe(d)?H_:im,M=u?u():{};return P(d,a,Ke(b,2),M)}}function tr(a){return lt(function(u,d){var b=-1,P=d.length,M=P>1?d[P-1]:t,H=P>2?d[2]:t;for(M=a.length>3&&typeof M=="function"?(P--,M):t,H&&hn(d[0],d[1],H)&&(M=P<3?t:M,P=1),u=Tt(u);++b<P;){var z=d[b];z&&a(u,z,b,M)}return u})}function Uu(a,u){return function(d,b){if(d==null)return d;if(!Sn(d))return a(d,b);for(var P=d.length,M=u?P:-1,H=Tt(d);(u?M--:++M<P)&&b(H[M],M,H)!==!1;);return d}}function Bu(a){return function(u,d,b){for(var P=-1,M=Tt(u),H=b(u),z=H.length;z--;){var $=H[a?z:++P];if(d(M[$],$,M)===!1)break}return u}}function Om(a,u,d){var b=u&y,P=qr(a);function M(){var H=this&&this!==tn&&this instanceof M?P:a;return H.apply(b?d:this,arguments)}return M}function Hu(a){return function(u){u=vt(u);var d=Yl(u)?Zn(u):t,b=d?d[0]:u.charAt(0),P=d?tl(d,1).join(""):u.slice(1);return b[a]()+P}}function nr(a){return function(u){return ya(Bf(Uf(u).replace(we,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=er(a.prototype),b=a.apply(d,u);return Ht(b)?b:d}}function Fm(a,u,d){var b=qr(a);function P(){for(var M=arguments.length,H=oe(M),z=M,$=ir(P);z--;)H[z]=arguments[z];var ge=M<3&&H[0]!==$&&H[M-1]!==$?[]:Zi(H,$);if(M-=ge.length,M<d)return Ku(a,u,Hs,P.placeholder,t,H,ge,t,t,d-M);var _e=this&&this!==tn&&this instanceof P?b:a;return Tn(_e,this,H)}return P}function Wu(a){return function(u,d,b){var P=Tt(u);if(!Sn(u)){var M=Ke(d,3);u=nn(u),d=function(z){return M(P[z],z,P)}}var H=a(u,d,b);return H>-1?P[M?u[H]:H]:t}}function zu(a){return Ii(function(u){var d=u.length,b=d,P=Wn.prototype.thru;for(a&&u.reverse();b--;){var M=u[b];if(typeof M!="function")throw new Hn(s);if(P&&!H&&qs(M)=="wrapper")var H=new Wn([],!0)}for(b=H?b:d;++b<d;){M=u[b];var z=qs(M),$=z=="wrapper"?lo(M):t;$&&oo($[0])&&$[1]==(V|I|T|O)&&!$[4].length&&$[9]==1?H=H[qs($[0])].apply(H,$[3]):H=M.length==1&&oo(M)?H[z]():H.thru(M)}return function(){var ge=arguments,_e=ge[0];if(H&&ge.length==1&&xe(_e))return H.plant(_e).value();for(var be=0,Le=d?u[be].apply(this,ge):_e;++be<d;)Le=u[be].call(this,Le);return Le}})}function Hs(a,u,d,b,P,M,H,z,$,ge){var _e=u&V,be=u&y,Le=u&C,We=u&(I|D),je=u&F,nt=Le?t:qr(a);function Ye(){for(var st=arguments.length,ot=oe(st),En=st;En--;)ot[En]=arguments[En];if(We)var gn=ir(Ye),Dn=Q_(ot,gn);if(b&&(ot=Ou(ot,b,P,We)),M&&(ot=Fu(ot,M,H,We)),st-=Dn,We&&st<ge){var jt=Zi(ot,gn);return Ku(a,u,Hs,Ye.placeholder,d,ot,jt,z,$,ge-st)}var xn=be?d:this,Ri=Le?xn[a]:a;return st=ot.length,z?ot=i1(ot,z):je&&st>1&&ot.reverse(),_e&&$<st&&(ot.length=$),this&&this!==tn&&this instanceof Ye&&(Ri=nt||qr(Ri)),Ri.apply(xn,ot)}return Ye}function Gu(a,u){return function(d,b){return cm(d,a,u(b),{})}}function Ws(a,u){return function(d,b){var P;if(d===t&&b===t)return u;if(d!==t&&(P=d),b!==t){if(P===t)return b;typeof d=="string"||typeof b=="string"?(d=An(d),b=An(b)):(d=Tu(d),b=Tu(b)),P=a(d,b)}return P}}function eo(a){return Ii(function(u){return u=Ft(u,Ln(Ke())),lt(function(d){var b=this;return a(u,function(P){return Tn(P,b,d)})})})}function zs(a,u){u=u===t?" ":An(u);var d=u.length;if(d<2)return d?ja(u,a):u;var b=ja(u,Ts(a/Ql(u)));return Yl(u)?tl(Zn(b),0,a).join(""):b.slice(0,a)}function Um(a,u,d,b){var P=u&y,M=qr(a);function H(){for(var z=-1,$=arguments.length,ge=-1,_e=b.length,be=oe(_e+$),Le=this&&this!==tn&&this instanceof H?M:a;++ge<_e;)be[ge]=b[ge];for(;$--;)be[ge++]=arguments[++z];return Tn(Le,P?d:this,be)}return H}function qu(a){return function(u,d,b){return b&&typeof b!="number"&&hn(u,d,b)&&(d=b=t),u=Ai(u),d===t?(d=u,u=0):d=Ai(d),b=b===t?u<d?1:-1:Ai(b),Cm(u,d,b,a)}}function Gs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Kn(u),d=Kn(d)),a(u,d)}}function Ku(a,u,d,b,P,M,H,z,$,ge){var _e=u&I,be=_e?H:t,Le=_e?t:H,We=_e?M:t,je=_e?t:M;u|=_e?T:L,u&=~(_e?L:T),u&N||(u&=~(y|C));var nt=[a,u,P,We,be,je,Le,z,$,ge],Ye=d.apply(t,nt);return oo(a)&&lf(Ye,nt),Ye.placeholder=b,rf(Ye,a,u)}function to(a){var u=Xt[a];return function(d,b){if(d=Kn(d),b=b==null?0:un(et(b),292),b&&lu(d)){var P=(vt(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+b));return P=(vt(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var Bm=$l&&1/bs(new $l([,-0]))[1]==he?function(a){return new $l(a)}:yo;function Ju(a){return function(u){var d=fn(u);return d==Mt?Ra(u):d==Qt?np(u):Y_(u,a(u))}}function Ni(a,u,d,b,P,M,H,z){var $=u&C;if(!$&&typeof a!="function")throw new Hn(s);var ge=b?b.length:0;if(ge||(u&=~(T|L),b=P=t),H=H===t?H:$t(et(H),0),z=z===t?z:et(z),ge-=P?P.length:0,u&L){var _e=b,be=P;b=P=t}var Le=$?t:lo(a),We=[a,u,d,b,P,_e,be,M,H,z];if(Le&&e1(We,Le),a=We[0],u=We[1],d=We[2],b=We[3],P=We[4],z=We[9]=We[9]===t?$?0:a.length:$t(We[9]-ge,0),!z&&u&(I|D)&&(u&=~(I|D)),!u||u==y)var je=Om(a,u,d);else u==I||u==D?je=Fm(a,u,z):(u==T||u==(y|T))&&!P.length?je=Um(a,u,d,b):je=Hs.apply(t,We);var nt=Le?Nu:lf;return rf(nt(je,We),a,u)}function ju(a,u,d,b){return a===t||$n(a,Xl[d])&&!kt.call(b,d)?u:a}function Yu(a,u,d,b,P,M){return Ht(a)&&Ht(u)&&(M.set(u,a),Os(a,u,t,Yu,M),M.delete(u)),a}function Hm(a){return jr(a)?t:a}function Qu(a,u,d,b,P,M){var H=d&v,z=a.length,$=u.length;if(z!=$&&!(H&&$>z))return!1;var ge=M.get(a),_e=M.get(u);if(ge&&_e)return ge==u&&_e==a;var be=-1,Le=!0,We=d&S?new Il:t;for(M.set(a,u),M.set(u,a);++be<z;){var je=a[be],nt=u[be];if(b)var Ye=H?b(nt,je,be,u,a,M):b(je,nt,be,a,u,M);if(Ye!==t){if(Ye)continue;Le=!1;break}if(We){if(!Pa(u,function(st,ot){if(!Dr(We,ot)&&(je===st||P(je,st,d,b,M)))return We.push(ot)})){Le=!1;break}}else if(!(je===nt||P(je,nt,d,b,M))){Le=!1;break}}return M.delete(a),M.delete(u),Le}function Wm(a,u,d,b,P,M,H){switch(d){case rn:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case qt:return!(a.byteLength!=u.byteLength||!M(new ys(a),new ys(u)));case Ee:case De:case on:return $n(+a,+u);case $e:return a.name==u.name&&a.message==u.message;case en:case Qn:return a==u+"";case Mt:var z=Ra;case Qt:var $=b&v;if(z||(z=bs),a.size!=u.size&&!$)return!1;var ge=H.get(a);if(ge)return ge==u;b|=S,H.set(a,u);var _e=Qu(z(a),z(u),b,P,M,H);return H.delete(a),_e;case Et:if(Ur)return Ur.call(a)==Ur.call(u)}return!1}function zm(a,u,d,b,P,M){var H=d&v,z=no(a),$=z.length,ge=no(u),_e=ge.length;if($!=_e&&!H)return!1;for(var be=$;be--;){var Le=z[be];if(!(H?Le in u:kt.call(u,Le)))return!1}var We=M.get(a),je=M.get(u);if(We&&je)return We==u&&je==a;var nt=!0;M.set(a,u),M.set(u,a);for(var Ye=H;++be<$;){Le=z[be];var st=a[Le],ot=u[Le];if(b)var En=H?b(ot,st,Le,u,a,M):b(st,ot,Le,a,u,M);if(!(En===t?st===ot||P(st,ot,d,b,M):En)){nt=!1;break}Ye||(Ye=Le=="constructor")}if(nt&&!Ye){var gn=a.constructor,Dn=u.constructor;gn!=Dn&&"constructor"in a&&"constructor"in u&&!(typeof gn=="function"&&gn instanceof gn&&typeof Dn=="function"&&Dn instanceof Dn)&&(nt=!1)}return M.delete(a),M.delete(u),nt}function Ii(a){return fo(tf(a,t,cf),a+"")}function no(a){return _u(a,nn,so)}function io(a){return _u(a,kn,Zu)}var lo=As?function(a){return As.get(a)}:yo;function qs(a){for(var u=a.name+"",d=xl[u],b=kt.call(xl,u)?d.length:0;b--;){var P=d[b],M=P.func;if(M==null||M==a)return P.name}return u}function ir(a){var u=kt.call(E,"placeholder")?E:a;return u.placeholder}function Ke(){var a=E.iteratee||ko;return a=a===ko?bu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ks(a,u){var d=a.__data__;return Zm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function ro(a){for(var u=nn(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,xu(P)]}return u}function Al(a,u){var d=x_(a,u);return mu(d)?d:t}function Gm(a){var u=kt.call(a,Pl),d=a[Pl];try{a[Pl]=t;var b=!0}catch{}var P=ks.call(a);return b&&(u?a[Pl]=d:delete a[Pl]),P}var so=Da?function(a){return a==null?[]:(a=Tt(a),Yi(Da(a),function(u){return nu.call(a,u)}))}:Po,Zu=Da?function(a){for(var u=[];a;)Qi(u,so(a)),a=Ps(a);return u}:Po,fn=dn;(Va&&fn(new Va(new ArrayBuffer(1)))!=rn||Mr&&fn(new Mr)!=Mt||Ma&&fn(Ma.resolve())!=pi||$l&&fn(new $l)!=Qt||Or&&fn(new Or)!=Zt)&&(fn=function(a){var u=dn(a),d=u==Gt?a.constructor:t,b=d?Rl(d):"";if(b)switch(b){case Pp:return rn;case Np:return Mt;case Ip:return pi;case Tp:return Qt;case Lp:return Zt}return u});function qm(a,u,d){for(var b=-1,P=d.length;++b<P;){var M=d[b],H=M.size;switch(M.type){case"drop":a+=H;break;case"dropRight":u-=H;break;case"take":u=un(u,a+H);break;case"takeRight":a=$t(a,u-H);break}}return{start:a,end:u}}function Km(a){var u=a.match(Ul);return u?u[1].split(Bl):[]}function Xu(a,u,d){u=el(u,a);for(var b=-1,P=u.length,M=!1;++b<P;){var H=ui(u[b]);if(!(M=a!=null&&d(a,H)))break;a=a[H]}return M||++b!=P?M:(P=a==null?0:a.length,!!P&&$s(P)&&Ti(H,P)&&(xe(a)||El(a)))}function Jm(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&kt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function $u(a){return typeof a.constructor=="function"&&!Kr(a)?er(Ps(a)):{}}function jm(a,u,d){var b=a.constructor;switch(u){case qt:return xa(a);case Ee:case De:return new b(+a);case rn:return Am(a,d);case mi:case ni:case sn:case ee:case Me:case ct:case Pt:case Nt:case mt:return Vu(a,d);case Mt:return new b;case on:case Qn:return new b(a);case en:return Rm(a);case Qt:return new b;case Et:return Em(a)}}function Ym(a,u){var d=u.length;if(!d)return a;var b=d-1;return u[b]=(d>1?"& ":"")+u[b],u=u.join(d>2?", ":" "),a.replace(Hi,`{
|
|
36
|
+
*/(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,m=4,v=1,S=2,y=1,C=2,N=4,I=8,D=16,T=32,L=64,V=128,O=256,F=512,W=30,oe="...",fe=800,$=16,x=1,Q=2,J=3,he=1/0,ne=9007199254740991,Y=17976931348623157e292,Pe=0/0,ie=4294967295,He=ie-1,Se=ie>>>1,ce=[["ary",V],["bind",y],["bindKey",C],["curry",I],["curryRight",D],["flip",F],["partial",T],["partialRight",L],["rearg",O]],X="[object Arguments]",ge="[object Array]",re="[object AsyncFunction]",Ee="[object Boolean]",De="[object Date]",be="[object DOMException]",Ze="[object Error]",Nt="[object Function]",Yt="[object GeneratorFunction]",wt="[object Map]",Qt="[object Number]",Oi="[object Null]",zt="[object Object]",pi="[object Promise]",Fi="[object Proxy]",tn="[object RegExp]",Zt="[object Set]",Qn="[object String]",Dt="[object Symbol]",mn="[object Undefined]",Xt="[object WeakMap]",Ui="[object WeakSet]",Gt="[object ArrayBuffer]",sn="[object DataView]",mi="[object Float32Array]",ni="[object Float64Array]",an="[object Int8Array]",ee="[object Int16Array]",Me="[object Int32Array]",dt="[object Uint8Array]",It="[object Uint8ClampedArray]",Tt="[object Uint16Array]",mt="[object Uint32Array]",bn=/\b__p \+= '';/g,In=/\b(__p \+=) '' \+/g,ii=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bi=/&(?:amp|lt|gt|quot|#39);/g,ul=/[&<>"']/g,Bi=RegExp(bi.source),br=RegExp(ul.source),vr=/<%-([\s\S]+?)%>/g,wr=/<%([\s\S]+?)%>/g,Fl=/<%=([\s\S]+?)%>/g,Sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kr=/^\w*$/,Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,fl=/[\\^$.*+?()[\]{}|]/g,cl=RegExp(fl.source),li=/^\s+/,dl=/\s/,Hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ul=/\{\n\/\* \[wrapped with (.+)\] \*/,Bl=/,? & /,Hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yr=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,hl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wi=/\w*$/,Wl=/^[-+]0x[0-9a-f]+$/i,Pr=/^0b[01]+$/i,zi=/^\[object .+?Constructor\]$/,gl=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vi=/($^)/,zl=/['\n\r\u2028\u2029\\]/g,Gi="\\ud800-\\udfff",St="\\u0300-\\u036f",ml="\\ufe20-\\ufe2f",bl="\\u20d0-\\u20ff",vl=St+ml+bl,wl="\\u2700-\\u27bf",ri="a-z\\xdf-\\xf6\\xf8-\\xff",K="\\xac\\xb1\\xd7\\xf7",yt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wn="\\u2000-\\u206f",wi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sl="A-Z\\xc0-\\xd6\\xd8-\\xde",is="\\ufe0e\\ufe0f",ls=K+yt+wn+wi,Nr="['\u2019]",Ir="["+Gi+"]",rs="["+ls+"]",Gl="["+vl+"]",ss="\\d+",va="["+wl+"]",as="["+ri+"]",Tr="[^"+Gi+ls+ss+wl+ri+Sl+"]",ql="\\ud83c[\\udffb-\\udfff]",wa="(?:"+Gl+"|"+ql+")",os="[^"+Gi+"]",Lr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ar="[\\ud800-\\udbff][\\udc00-\\udfff]",qi="["+Sl+"]",us="\\u200d",fs="(?:"+as+"|"+Tr+")",Sa="(?:"+qi+"|"+Tr+")",cs="(?:"+Nr+"(?:d|ll|m|re|s|t|ve))?",ds="(?:"+Nr+"(?:D|LL|M|RE|S|T|VE))?",hs=wa+"?",gs="["+is+"]?",ka="(?:"+us+"(?:"+[os,Lr,Ar].join("|")+")"+gs+hs+")*",B="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ue="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ve=gs+hs+ka,Je="(?:"+[va,Lr,Ar].join("|")+")"+Ve,Ue="(?:"+[os+Gl+"?",Gl,Lr,Ar,Ir].join("|")+")",we=RegExp(Nr,"g"),Oe=RegExp(Gl,"g"),ut=RegExp(ql+"(?="+ql+")|"+Ue+Ve,"g"),Mt=RegExp([qi+"?"+as+"+"+cs+"(?="+[rs,qi,"$"].join("|")+")",Sa+"+"+ds+"(?="+[rs,qi+fs,"$"].join("|")+")",qi+"?"+fs+"+"+cs,qi+"+"+ds,ue,B,ss,Je].join("|"),"g"),Rr=RegExp("["+us+Gi+vl+is+"]"),Ki=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Er=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ji=-1,kt={};kt[mi]=kt[ni]=kt[an]=kt[ee]=kt[Me]=kt[dt]=kt[It]=kt[Tt]=kt[mt]=!0,kt[X]=kt[ge]=kt[Gt]=kt[Ee]=kt[sn]=kt[De]=kt[Ze]=kt[Nt]=kt[wt]=kt[Qt]=kt[zt]=kt[tn]=kt[Zt]=kt[Qn]=kt[Xt]=!1;var Te={};Te[X]=Te[ge]=Te[Gt]=Te[sn]=Te[Ee]=Te[De]=Te[mi]=Te[ni]=Te[an]=Te[ee]=Te[Me]=Te[wt]=Te[Qt]=Te[zt]=Te[tn]=Te[Zt]=Te[Qn]=Te[Dt]=Te[dt]=Te[It]=Te[Tt]=Te[mt]=!0,Te[Ze]=Te[Nt]=Te[Xt]=!1;var bt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},qt={"&":"&","<":"<",">":">",'"':""","'":"'"},Un={"&":"&","<":"<",">":">",""":'"',"'":"'"},si={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ji=parseFloat,kl=parseInt,Kl=typeof Zr=="object"&&Zr&&Zr.Object===Object&&Zr,Jl=typeof self=="object"&&self&&self.Object===Object&&self,nn=Kl||Jl||Function("return this")(),Cl=e&&!e.nodeType&&e,Si=Cl&&!0&&i&&!i.nodeType&&i,yl=Si&&Si.exports===Cl,ki=yl&&Kl.process,Lt=function(){try{var j=Si&&Si.require&&Si.require("util").types;return j||ki&&ki.binding&&ki.binding("util")}catch{}}(),Tn=Lt&&Lt.isArrayBuffer,_s=Lt&&Lt.isDate,Bo=Lt&&Lt.isMap,Ho=Lt&&Lt.isRegExp,Wo=Lt&&Lt.isSet,zo=Lt&&Lt.isTypedArray;function Ln(j,de,ae){switch(ae.length){case 0:return j.call(de);case 1:return j.call(de,ae[0]);case 2:return j.call(de,ae[0],ae[1]);case 3:return j.call(de,ae[0],ae[1],ae[2])}return j.apply(de,ae)}function H_(j,de,ae,Be){for(var Xe=-1,gt=j==null?0:j.length;++Xe<gt;){var $t=j[Xe];de(Be,$t,ae($t),j)}return Be}function Bn(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be&&de(j[ae],ae,j)!==!1;);return j}function W_(j,de){for(var ae=j==null?0:j.length;ae--&&de(j[ae],ae,j)!==!1;);return j}function Go(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be;)if(!de(j[ae],ae,j))return!1;return!0}function Yi(j,de){for(var ae=-1,Be=j==null?0:j.length,Xe=0,gt=[];++ae<Be;){var $t=j[ae];de($t,ae,j)&&(gt[Xe++]=$t)}return gt}function ps(j,de){var ae=j==null?0:j.length;return!!ae&&jl(j,de,0)>-1}function Ca(j,de,ae){for(var Be=-1,Xe=j==null?0:j.length;++Be<Xe;)if(ae(de,j[Be]))return!0;return!1}function Ot(j,de){for(var ae=-1,Be=j==null?0:j.length,Xe=Array(Be);++ae<Be;)Xe[ae]=de(j[ae],ae,j);return Xe}function Qi(j,de){for(var ae=-1,Be=de.length,Xe=j.length;++ae<Be;)j[Xe+ae]=de[ae];return j}function ya(j,de,ae,Be){var Xe=-1,gt=j==null?0:j.length;for(Be&>&&(ae=j[++Xe]);++Xe<gt;)ae=de(ae,j[Xe],Xe,j);return ae}function z_(j,de,ae,Be){var Xe=j==null?0:j.length;for(Be&&Xe&&(ae=j[--Xe]);Xe--;)ae=de(ae,j[Xe],Xe,j);return ae}function Pa(j,de){for(var ae=-1,Be=j==null?0:j.length;++ae<Be;)if(de(j[ae],ae,j))return!0;return!1}var G_=Na("length");function q_(j){return j.split("")}function K_(j){return j.match(Hl)||[]}function qo(j,de,ae){var Be;return ae(j,function(Xe,gt,$t){if(de(Xe,gt,$t))return Be=gt,!1}),Be}function ms(j,de,ae,Be){for(var Xe=j.length,gt=ae+(Be?1:-1);Be?gt--:++gt<Xe;)if(de(j[gt],gt,j))return gt;return-1}function jl(j,de,ae){return de===de?ip(j,de,ae):ms(j,Ko,ae)}function J_(j,de,ae,Be){for(var Xe=ae-1,gt=j.length;++Xe<gt;)if(Be(j[Xe],de))return Xe;return-1}function Ko(j){return j!==j}function Jo(j,de){var ae=j==null?0:j.length;return ae?Ta(j,de)/ae:Pe}function Na(j){return function(de){return de==null?t:de[j]}}function Ia(j){return function(de){return j==null?t:j[de]}}function jo(j,de,ae,Be,Xe){return Xe(j,function(gt,$t,At){ae=Be?(Be=!1,gt):de(ae,gt,$t,At)}),ae}function j_(j,de){var ae=j.length;for(j.sort(de);ae--;)j[ae]=j[ae].value;return j}function Ta(j,de){for(var ae,Be=-1,Xe=j.length;++Be<Xe;){var gt=de(j[Be]);gt!==t&&(ae=ae===t?gt:ae+gt)}return ae}function La(j,de){for(var ae=-1,Be=Array(j);++ae<j;)Be[ae]=de(ae);return Be}function Y_(j,de){return Ot(de,function(ae){return[ae,j[ae]]})}function Yo(j){return j&&j.slice(0,$o(j)+1).replace(li,"")}function An(j){return function(de){return j(de)}}function Aa(j,de){return Ot(de,function(ae){return j[ae]})}function Dr(j,de){return j.has(de)}function Qo(j,de){for(var ae=-1,Be=j.length;++ae<Be&&jl(de,j[ae],0)>-1;);return ae}function Zo(j,de){for(var ae=j.length;ae--&&jl(de,j[ae],0)>-1;);return ae}function Q_(j,de){for(var ae=j.length,Be=0;ae--;)j[ae]===de&&++Be;return Be}var Z_=Ia(bt),X_=Ia(qt);function $_(j){return"\\"+si[j]}function x_(j,de){return j==null?t:j[de]}function Yl(j){return Rr.test(j)}function ep(j){return Ki.test(j)}function tp(j){for(var de,ae=[];!(de=j.next()).done;)ae.push(de.value);return ae}function Ra(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be,Xe){ae[++de]=[Xe,Be]}),ae}function Xo(j,de){return function(ae){return j(de(ae))}}function Zi(j,de){for(var ae=-1,Be=j.length,Xe=0,gt=[];++ae<Be;){var $t=j[ae];($t===de||$t===h)&&(j[ae]=h,gt[Xe++]=ae)}return gt}function bs(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be){ae[++de]=Be}),ae}function np(j){var de=-1,ae=Array(j.size);return j.forEach(function(Be){ae[++de]=[Be,Be]}),ae}function ip(j,de,ae){for(var Be=ae-1,Xe=j.length;++Be<Xe;)if(j[Be]===de)return Be;return-1}function lp(j,de,ae){for(var Be=ae+1;Be--;)if(j[Be]===de)return Be;return Be}function Ql(j){return Yl(j)?sp(j):G_(j)}function Zn(j){return Yl(j)?ap(j):q_(j)}function $o(j){for(var de=j.length;de--&&dl.test(j.charAt(de)););return de}var rp=Ia(Un);function sp(j){for(var de=ut.lastIndex=0;ut.test(j);)++de;return de}function ap(j){return j.match(ut)||[]}function op(j){return j.match(Mt)||[]}var up=function j(de){de=de==null?nn:Zl.defaults(nn.Object(),de,Zl.pick(nn,Er));var ae=de.Array,Be=de.Date,Xe=de.Error,gt=de.Function,$t=de.Math,At=de.Object,Ea=de.RegExp,fp=de.String,Hn=de.TypeError,vs=ae.prototype,cp=gt.prototype,Xl=At.prototype,ws=de["__core-js_shared__"],Ss=cp.toString,Ct=Xl.hasOwnProperty,dp=0,xo=function(){var a=/[^.]+$/.exec(ws&&ws.keys&&ws.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),ks=Xl.toString,hp=Ss.call(At),gp=nn._,_p=Ea("^"+Ss.call(Ct).replace(fl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cs=yl?de.Buffer:t,Xi=de.Symbol,ys=de.Uint8Array,eu=Cs?Cs.allocUnsafe:t,Ps=Xo(At.getPrototypeOf,At),tu=At.create,nu=Xl.propertyIsEnumerable,Ns=vs.splice,iu=Xi?Xi.isConcatSpreadable:t,Vr=Xi?Xi.iterator:t,Pl=Xi?Xi.toStringTag:t,Is=function(){try{var a=Al(At,"defineProperty");return a({},"",{}),a}catch{}}(),pp=de.clearTimeout!==nn.clearTimeout&&de.clearTimeout,mp=Be&&Be.now!==nn.Date.now&&Be.now,bp=de.setTimeout!==nn.setTimeout&&de.setTimeout,Ts=$t.ceil,Ls=$t.floor,Da=At.getOwnPropertySymbols,vp=Cs?Cs.isBuffer:t,lu=de.isFinite,wp=vs.join,Sp=Xo(At.keys,At),xt=$t.max,fn=$t.min,kp=Be.now,Cp=de.parseInt,ru=$t.random,yp=vs.reverse,Va=Al(de,"DataView"),Mr=Al(de,"Map"),Ma=Al(de,"Promise"),$l=Al(de,"Set"),Or=Al(de,"WeakMap"),Fr=Al(At,"create"),As=Or&&new Or,xl={},Pp=Rl(Va),Np=Rl(Mr),Ip=Rl(Ma),Tp=Rl($l),Lp=Rl(Or),Rs=Xi?Xi.prototype:t,Ur=Rs?Rs.valueOf:t,su=Rs?Rs.toString:t;function E(a){if(Wt(a)&&!xe(a)&&!(a instanceof at)){if(a instanceof Wn)return a;if(Ct.call(a,"__wrapped__"))return of(a)}return new Wn(a)}var er=function(){function a(){}return function(u){if(!Bt(u))return{};if(tu)return tu(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Es(){}function Wn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}E.templateSettings={escape:vr,evaluate:wr,interpolate:Fl,variable:"",imports:{_:E}},E.prototype=Es.prototype,E.prototype.constructor=E,Wn.prototype=er(Es.prototype),Wn.prototype.constructor=Wn;function at(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function Ap(){var a=new at(this.__wrapped__);return a.__actions__=Sn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Sn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Sn(this.__views__),a}function Rp(){if(this.__filtered__){var a=new at(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Ep(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),b=u<0,P=d?a.length:0,M=qm(0,P,this.__views__),H=M.start,z=M.end,Z=z-H,_e=b?z:H-1,pe=this.__iteratees__,ve=pe.length,Le=0,We=fn(Z,this.__takeCount__);if(!d||!b&&P==Z&&We==Z)return Au(a,this.__actions__);var je=[];e:for(;Z--&&Le<We;){_e+=u;for(var nt=-1,Ye=a[_e];++nt<ve;){var st=pe[nt],ot=st.iteratee,Dn=st.type,_n=ot(Ye);if(Dn==Q)Ye=_n;else if(!_n){if(Dn==x)continue e;break e}}je[Le++]=Ye}return je}at.prototype=er(Es.prototype),at.prototype.constructor=at;function Nl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Dp(){this.__data__=Fr?Fr(null):{},this.size=0}function Vp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Mp(a){var u=this.__data__;if(Fr){var d=u[a];return d===c?t:d}return Ct.call(u,a)?u[a]:t}function Op(a){var u=this.__data__;return Fr?u[a]!==t:Ct.call(u,a)}function Fp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Fr&&u===t?c:u,this}Nl.prototype.clear=Dp,Nl.prototype.delete=Vp,Nl.prototype.get=Mp,Nl.prototype.has=Op,Nl.prototype.set=Fp;function Ci(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Up(){this.__data__=[],this.size=0}function Bp(a){var u=this.__data__,d=Ds(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():Ns.call(u,d,1),--this.size,!0}function Hp(a){var u=this.__data__,d=Ds(u,a);return d<0?t:u[d][1]}function Wp(a){return Ds(this.__data__,a)>-1}function zp(a,u){var d=this.__data__,b=Ds(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Ci.prototype.clear=Up,Ci.prototype.delete=Bp,Ci.prototype.get=Hp,Ci.prototype.has=Wp,Ci.prototype.set=zp;function yi(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var b=a[u];this.set(b[0],b[1])}}function Gp(){this.size=0,this.__data__={hash:new Nl,map:new(Mr||Ci),string:new Nl}}function qp(a){var u=Ks(this,a).delete(a);return this.size-=u?1:0,u}function Kp(a){return Ks(this,a).get(a)}function Jp(a){return Ks(this,a).has(a)}function jp(a,u){var d=Ks(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}yi.prototype.clear=Gp,yi.prototype.delete=qp,yi.prototype.get=Kp,yi.prototype.has=Jp,yi.prototype.set=jp;function Il(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new yi;++u<d;)this.add(a[u])}function Yp(a){return this.__data__.set(a,c),this}function Qp(a){return this.__data__.has(a)}Il.prototype.add=Il.prototype.push=Yp,Il.prototype.has=Qp;function Xn(a){var u=this.__data__=new Ci(a);this.size=u.size}function Zp(){this.__data__=new Ci,this.size=0}function Xp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function $p(a){return this.__data__.get(a)}function xp(a){return this.__data__.has(a)}function em(a,u){var d=this.__data__;if(d instanceof Ci){var b=d.__data__;if(!Mr||b.length<l-1)return b.push([a,u]),this.size=++d.size,this;d=this.__data__=new yi(b)}return d.set(a,u),this.size=d.size,this}Xn.prototype.clear=Zp,Xn.prototype.delete=Xp,Xn.prototype.get=$p,Xn.prototype.has=xp,Xn.prototype.set=em;function au(a,u){var d=xe(a),b=!d&&El(a),P=!d&&!b&&nl(a),M=!d&&!b&&!P&&lr(a),H=d||b||P||M,z=H?La(a.length,fp):[],Z=z.length;for(var _e in a)(u||Ct.call(a,_e))&&!(H&&(_e=="length"||P&&(_e=="offset"||_e=="parent")||M&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Ti(_e,Z)))&&z.push(_e);return z}function ou(a){var u=a.length;return u?a[Ja(0,u-1)]:t}function tm(a,u){return Js(Sn(a),Tl(u,0,a.length))}function nm(a){return Js(Sn(a))}function Oa(a,u,d){(d!==t&&!$n(a[u],d)||d===t&&!(u in a))&&Pi(a,u,d)}function Br(a,u,d){var b=a[u];(!(Ct.call(a,u)&&$n(b,d))||d===t&&!(u in a))&&Pi(a,u,d)}function Ds(a,u){for(var d=a.length;d--;)if($n(a[d][0],u))return d;return-1}function im(a,u,d,b){return $i(a,function(P,M,H){u(b,P,d(P),H)}),b}function uu(a,u){return a&&oi(u,ln(u),a)}function lm(a,u){return a&&oi(u,Cn(u),a)}function Pi(a,u,d){u=="__proto__"&&Is?Is(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Fa(a,u){for(var d=-1,b=u.length,P=ae(b),M=a==null;++d<b;)P[d]=M?t:bo(a,u[d]);return P}function Tl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function zn(a,u,d,b,P,M){var H,z=u&_,Z=u&p,_e=u&m;if(d&&(H=P?d(a,b,P,M):d(a)),H!==t)return H;if(!Bt(a))return a;var pe=xe(a);if(pe){if(H=Jm(a),!z)return Sn(a,H)}else{var ve=cn(a),Le=ve==Nt||ve==Yt;if(nl(a))return Du(a,z);if(ve==zt||ve==X||Le&&!P){if(H=Z||Le?{}:$u(a),!z)return Z?Mm(a,lm(H,a)):Vm(a,uu(H,a))}else{if(!Te[ve])return P?a:{};H=jm(a,ve,z)}}M||(M=new Xn);var We=M.get(a);if(We)return We;M.set(a,H),Tf(a)?a.forEach(function(Ye){H.add(zn(Ye,u,d,Ye,a,M))}):Nf(a)&&a.forEach(function(Ye,st){H.set(st,zn(Ye,u,d,st,a,M))});var je=_e?Z?io:no:Z?Cn:ln,nt=pe?t:je(a);return Bn(nt||a,function(Ye,st){nt&&(st=Ye,Ye=a[st]),Br(H,st,zn(Ye,u,d,st,a,M))}),H}function rm(a){var u=ln(a);return function(d){return fu(d,a,u)}}function fu(a,u,d){var b=d.length;if(a==null)return!b;for(a=At(a);b--;){var P=d[b],M=u[P],H=a[P];if(H===t&&!(P in a)||!M(H))return!1}return!0}function cu(a,u,d){if(typeof a!="function")throw new Hn(s);return Jr(function(){a.apply(t,d)},u)}function Hr(a,u,d,b){var P=-1,M=ps,H=!0,z=a.length,Z=[],_e=u.length;if(!z)return Z;d&&(u=Ot(u,An(d))),b?(M=Ca,H=!1):u.length>=l&&(M=Dr,H=!1,u=new Il(u));e:for(;++P<z;){var pe=a[P],ve=d==null?pe:d(pe);if(pe=b||pe!==0?pe:0,H&&ve===ve){for(var Le=_e;Le--;)if(u[Le]===ve)continue e;Z.push(pe)}else M(u,ve,b)||Z.push(pe)}return Z}var $i=Uu(ai),du=Uu(Ba,!0);function sm(a,u){var d=!0;return $i(a,function(b,P,M){return d=!!u(b,P,M),d}),d}function Vs(a,u,d){for(var b=-1,P=a.length;++b<P;){var M=a[b],H=u(M);if(H!=null&&(z===t?H===H&&!En(H):d(H,z)))var z=H,Z=M}return Z}function am(a,u,d,b){var P=a.length;for(d=et(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:et(b),b<0&&(b+=P),b=d>b?0:Af(b);d<b;)a[d++]=u;return a}function hu(a,u){var d=[];return $i(a,function(b,P,M){u(b,P,M)&&d.push(b)}),d}function on(a,u,d,b,P){var M=-1,H=a.length;for(d||(d=Qm),P||(P=[]);++M<H;){var z=a[M];u>0&&d(z)?u>1?on(z,u-1,d,b,P):Qi(P,z):b||(P[P.length]=z)}return P}var Ua=Bu(),gu=Bu(!0);function ai(a,u){return a&&Ua(a,u,ln)}function Ba(a,u){return a&&gu(a,u,ln)}function Ms(a,u){return Yi(u,function(d){return Li(a[d])})}function Ll(a,u){u=el(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[ui(u[d++])];return d&&d==b?a:t}function _u(a,u,d){var b=u(a);return xe(a)?b:Qi(b,d(a))}function hn(a){return a==null?a===t?mn:Oi:Pl&&Pl in At(a)?Gm(a):n1(a)}function Ha(a,u){return a>u}function om(a,u){return a!=null&&Ct.call(a,u)}function um(a,u){return a!=null&&u in At(a)}function fm(a,u,d){return a>=fn(u,d)&&a<xt(u,d)}function Wa(a,u,d){for(var b=d?Ca:ps,P=a[0].length,M=a.length,H=M,z=ae(M),Z=1/0,_e=[];H--;){var pe=a[H];H&&u&&(pe=Ot(pe,An(u))),Z=fn(pe.length,Z),z[H]=!d&&(u||P>=120&&pe.length>=120)?new Il(H&&pe):t}pe=a[0];var ve=-1,Le=z[0];e:for(;++ve<P&&_e.length<Z;){var We=pe[ve],je=u?u(We):We;if(We=d||We!==0?We:0,!(Le?Dr(Le,je):b(_e,je,d))){for(H=M;--H;){var nt=z[H];if(!(nt?Dr(nt,je):b(a[H],je,d)))continue e}Le&&Le.push(je),_e.push(We)}}return _e}function cm(a,u,d,b){return ai(a,function(P,M,H){u(b,d(P),M,H)}),b}function Wr(a,u,d){u=el(u,a),a=nf(a,u);var b=a==null?a:a[ui(qn(u))];return b==null?t:Ln(b,a,d)}function pu(a){return Wt(a)&&hn(a)==X}function dm(a){return Wt(a)&&hn(a)==Gt}function hm(a){return Wt(a)&&hn(a)==De}function zr(a,u,d,b,P){return a===u?!0:a==null||u==null||!Wt(a)&&!Wt(u)?a!==a&&u!==u:gm(a,u,d,b,zr,P)}function gm(a,u,d,b,P,M){var H=xe(a),z=xe(u),Z=H?ge:cn(a),_e=z?ge:cn(u);Z=Z==X?zt:Z,_e=_e==X?zt:_e;var pe=Z==zt,ve=_e==zt,Le=Z==_e;if(Le&&nl(a)){if(!nl(u))return!1;H=!0,pe=!1}if(Le&&!pe)return M||(M=new Xn),H||lr(a)?Qu(a,u,d,b,P,M):Wm(a,u,Z,d,b,P,M);if(!(d&v)){var We=pe&&Ct.call(a,"__wrapped__"),je=ve&&Ct.call(u,"__wrapped__");if(We||je){var nt=We?a.value():a,Ye=je?u.value():u;return M||(M=new Xn),P(nt,Ye,d,b,M)}}return Le?(M||(M=new Xn),zm(a,u,d,b,P,M)):!1}function _m(a){return Wt(a)&&cn(a)==wt}function za(a,u,d,b){var P=d.length,M=P,H=!b;if(a==null)return!M;for(a=At(a);P--;){var z=d[P];if(H&&z[2]?z[1]!==a[z[0]]:!(z[0]in a))return!1}for(;++P<M;){z=d[P];var Z=z[0],_e=a[Z],pe=z[1];if(H&&z[2]){if(_e===t&&!(Z in a))return!1}else{var ve=new Xn;if(b)var Le=b(_e,pe,Z,a,u,ve);if(!(Le===t?zr(pe,_e,v|S,b,ve):Le))return!1}}return!0}function mu(a){if(!Bt(a)||Xm(a))return!1;var u=Li(a)?_p:zi;return u.test(Rl(a))}function pm(a){return Wt(a)&&hn(a)==tn}function mm(a){return Wt(a)&&cn(a)==Zt}function bm(a){return Wt(a)&&$s(a.length)&&!!kt[hn(a)]}function bu(a){return typeof a=="function"?a:a==null?yn:typeof a=="object"?xe(a)?Su(a[0],a[1]):wu(a):Wf(a)}function Ga(a){if(!Kr(a))return Sp(a);var u=[];for(var d in At(a))Ct.call(a,d)&&d!="constructor"&&u.push(d);return u}function vm(a){if(!Bt(a))return t1(a);var u=Kr(a),d=[];for(var b in a)b=="constructor"&&(u||!Ct.call(a,b))||d.push(b);return d}function qa(a,u){return a<u}function vu(a,u){var d=-1,b=kn(a)?ae(a.length):[];return $i(a,function(P,M,H){b[++d]=u(P,M,H)}),b}function wu(a){var u=ro(a);return u.length==1&&u[0][2]?ef(u[0][0],u[0][1]):function(d){return d===a||za(d,a,u)}}function Su(a,u){return ao(a)&&xu(u)?ef(ui(a),u):function(d){var b=bo(d,a);return b===t&&b===u?vo(d,a):zr(u,b,v|S)}}function Os(a,u,d,b,P){a!==u&&Ua(u,function(M,H){if(P||(P=new Xn),Bt(M))wm(a,u,H,d,Os,b,P);else{var z=b?b(uo(a,H),M,H+"",a,u,P):t;z===t&&(z=M),Oa(a,H,z)}},Cn)}function wm(a,u,d,b,P,M,H){var z=uo(a,d),Z=uo(u,d),_e=H.get(Z);if(_e){Oa(a,d,_e);return}var pe=M?M(z,Z,d+"",a,u,H):t,ve=pe===t;if(ve){var Le=xe(Z),We=!Le&&nl(Z),je=!Le&&!We&&lr(Z);pe=Z,Le||We||je?xe(z)?pe=z:Kt(z)?pe=Sn(z):We?(ve=!1,pe=Du(Z,!0)):je?(ve=!1,pe=Vu(Z,!0)):pe=[]:jr(Z)||El(Z)?(pe=z,El(z)?pe=Rf(z):(!Bt(z)||Li(z))&&(pe=$u(Z))):ve=!1}ve&&(H.set(Z,pe),P(pe,Z,b,M,H),H.delete(Z)),Oa(a,d,pe)}function ku(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ti(u,d)?a[u]:t}function Cu(a,u,d){u.length?u=Ot(u,function(M){return xe(M)?function(H){return Ll(H,M.length===1?M[0]:M)}:M}):u=[yn];var b=-1;u=Ot(u,An(Ke()));var P=vu(a,function(M,H,z){var Z=Ot(u,function(_e){return _e(M)});return{criteria:Z,index:++b,value:M}});return j_(P,function(M,H){return Dm(M,H,d)})}function Sm(a,u){return yu(a,u,function(d,b){return vo(a,b)})}function yu(a,u,d){for(var b=-1,P=u.length,M={};++b<P;){var H=u[b],z=Ll(a,H);d(z,H)&&Gr(M,el(H,a),z)}return M}function km(a){return function(u){return Ll(u,a)}}function Ka(a,u,d,b){var P=b?J_:jl,M=-1,H=u.length,z=a;for(a===u&&(u=Sn(u)),d&&(z=Ot(a,An(d)));++M<H;)for(var Z=0,_e=u[M],pe=d?d(_e):_e;(Z=P(z,pe,Z,b))>-1;)z!==a&&Ns.call(z,Z,1),Ns.call(a,Z,1);return a}function Pu(a,u){for(var d=a?u.length:0,b=d-1;d--;){var P=u[d];if(d==b||P!==M){var M=P;Ti(P)?Ns.call(a,P,1):Qa(a,P)}}return a}function Ja(a,u){return a+Ls(ru()*(u-a+1))}function Cm(a,u,d,b){for(var P=-1,M=xt(Ts((u-a)/(d||1)),0),H=ae(M);M--;)H[b?M:++P]=a,a+=d;return H}function ja(a,u){var d="";if(!a||u<1||u>ne)return d;do u%2&&(d+=a),u=Ls(u/2),u&&(a+=a);while(u);return d}function lt(a,u){return fo(tf(a,u,yn),a+"")}function ym(a){return ou(rr(a))}function Pm(a,u){var d=rr(a);return Js(d,Tl(u,0,d.length))}function Gr(a,u,d,b){if(!Bt(a))return a;u=el(u,a);for(var P=-1,M=u.length,H=M-1,z=a;z!=null&&++P<M;){var Z=ui(u[P]),_e=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(P!=H){var pe=z[Z];_e=b?b(pe,Z,z):t,_e===t&&(_e=Bt(pe)?pe:Ti(u[P+1])?[]:{})}Br(z,Z,_e),z=z[Z]}return a}var Nu=As?function(a,u){return As.set(a,u),a}:yn,Nm=Is?function(a,u){return Is(a,"toString",{configurable:!0,enumerable:!1,value:So(u),writable:!0})}:yn;function Im(a){return Js(rr(a))}function Gn(a,u,d){var b=-1,P=a.length;u<0&&(u=-u>P?0:P+u),d=d>P?P:d,d<0&&(d+=P),P=u>d?0:d-u>>>0,u>>>=0;for(var M=ae(P);++b<P;)M[b]=a[b+u];return M}function Tm(a,u){var d;return $i(a,function(b,P,M){return d=u(b,P,M),!d}),!!d}function Fs(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Se){for(;b<P;){var M=b+P>>>1,H=a[M];H!==null&&!En(H)&&(d?H<=u:H<u)?b=M+1:P=M}return P}return Ya(a,u,yn,d)}function Ya(a,u,d,b){var P=0,M=a==null?0:a.length;if(M===0)return 0;u=d(u);for(var H=u!==u,z=u===null,Z=En(u),_e=u===t;P<M;){var pe=Ls((P+M)/2),ve=d(a[pe]),Le=ve!==t,We=ve===null,je=ve===ve,nt=En(ve);if(H)var Ye=b||je;else _e?Ye=je&&(b||Le):z?Ye=je&&Le&&(b||!We):Z?Ye=je&&Le&&!We&&(b||!nt):We||nt?Ye=!1:Ye=b?ve<=u:ve<u;Ye?P=pe+1:M=pe}return fn(M,He)}function Iu(a,u){for(var d=-1,b=a.length,P=0,M=[];++d<b;){var H=a[d],z=u?u(H):H;if(!d||!$n(z,Z)){var Z=z;M[P++]=H===0?0:H}}return M}function Tu(a){return typeof a=="number"?a:En(a)?Pe:+a}function Rn(a){if(typeof a=="string")return a;if(xe(a))return Ot(a,Rn)+"";if(En(a))return su?su.call(a):"";var u=a+"";return u=="0"&&1/a==-he?"-0":u}function xi(a,u,d){var b=-1,P=ps,M=a.length,H=!0,z=[],Z=z;if(d)H=!1,P=Ca;else if(M>=l){var _e=u?null:Bm(a);if(_e)return bs(_e);H=!1,P=Dr,Z=new Il}else Z=u?[]:z;e:for(;++b<M;){var pe=a[b],ve=u?u(pe):pe;if(pe=d||pe!==0?pe:0,H&&ve===ve){for(var Le=Z.length;Le--;)if(Z[Le]===ve)continue e;u&&Z.push(ve),z.push(pe)}else P(Z,ve,d)||(Z!==z&&Z.push(ve),z.push(pe))}return z}function Qa(a,u){return u=el(u,a),a=nf(a,u),a==null||delete a[ui(qn(u))]}function Lu(a,u,d,b){return Gr(a,u,d(Ll(a,u)),b)}function Us(a,u,d,b){for(var P=a.length,M=b?P:-1;(b?M--:++M<P)&&u(a[M],M,a););return d?Gn(a,b?0:M,b?M+1:P):Gn(a,b?M+1:0,b?P:M)}function Au(a,u){var d=a;return d instanceof at&&(d=d.value()),ya(u,function(b,P){return P.func.apply(P.thisArg,Qi([b],P.args))},d)}function Za(a,u,d){var b=a.length;if(b<2)return b?xi(a[0]):[];for(var P=-1,M=ae(b);++P<b;)for(var H=a[P],z=-1;++z<b;)z!=P&&(M[P]=Hr(M[P]||H,a[z],u,d));return xi(on(M,1),u,d)}function Ru(a,u,d){for(var b=-1,P=a.length,M=u.length,H={};++b<P;){var z=b<M?u[b]:t;d(H,a[b],z)}return H}function Xa(a){return Kt(a)?a:[]}function $a(a){return typeof a=="function"?a:yn}function el(a,u){return xe(a)?a:ao(a,u)?[a]:af(vt(a))}var Lm=lt;function tl(a,u,d){var b=a.length;return d=d===t?b:d,!u&&d>=b?a:Gn(a,u,d)}var Eu=pp||function(a){return nn.clearTimeout(a)};function Du(a,u){if(u)return a.slice();var d=a.length,b=eu?eu(d):new a.constructor(d);return a.copy(b),b}function xa(a){var u=new a.constructor(a.byteLength);return new ys(u).set(new ys(a)),u}function Am(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function Rm(a){var u=new a.constructor(a.source,Wi.exec(a));return u.lastIndex=a.lastIndex,u}function Em(a){return Ur?At(Ur.call(a)):{}}function Vu(a,u){var d=u?xa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Mu(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,M=En(a),H=u!==t,z=u===null,Z=u===u,_e=En(u);if(!z&&!_e&&!M&&a>u||M&&H&&Z&&!z&&!_e||b&&H&&Z||!d&&Z||!P)return 1;if(!b&&!M&&!_e&&a<u||_e&&d&&P&&!b&&!M||z&&d&&P||!H&&P||!Z)return-1}return 0}function Dm(a,u,d){for(var b=-1,P=a.criteria,M=u.criteria,H=P.length,z=d.length;++b<H;){var Z=Mu(P[b],M[b]);if(Z){if(b>=z)return Z;var _e=d[b];return Z*(_e=="desc"?-1:1)}}return a.index-u.index}function Ou(a,u,d,b){for(var P=-1,M=a.length,H=d.length,z=-1,Z=u.length,_e=xt(M-H,0),pe=ae(Z+_e),ve=!b;++z<Z;)pe[z]=u[z];for(;++P<H;)(ve||P<M)&&(pe[d[P]]=a[P]);for(;_e--;)pe[z++]=a[P++];return pe}function Fu(a,u,d,b){for(var P=-1,M=a.length,H=-1,z=d.length,Z=-1,_e=u.length,pe=xt(M-z,0),ve=ae(pe+_e),Le=!b;++P<pe;)ve[P]=a[P];for(var We=P;++Z<_e;)ve[We+Z]=u[Z];for(;++H<z;)(Le||P<M)&&(ve[We+d[H]]=a[P++]);return ve}function Sn(a,u){var d=-1,b=a.length;for(u||(u=ae(b));++d<b;)u[d]=a[d];return u}function oi(a,u,d,b){var P=!d;d||(d={});for(var M=-1,H=u.length;++M<H;){var z=u[M],Z=b?b(d[z],a[z],z,d,a):t;Z===t&&(Z=a[z]),P?Pi(d,z,Z):Br(d,z,Z)}return d}function Vm(a,u){return oi(a,so(a),u)}function Mm(a,u){return oi(a,Zu(a),u)}function Bs(a,u){return function(d,b){var P=xe(d)?H_:im,M=u?u():{};return P(d,a,Ke(b,2),M)}}function tr(a){return lt(function(u,d){var b=-1,P=d.length,M=P>1?d[P-1]:t,H=P>2?d[2]:t;for(M=a.length>3&&typeof M=="function"?(P--,M):t,H&&gn(d[0],d[1],H)&&(M=P<3?t:M,P=1),u=At(u);++b<P;){var z=d[b];z&&a(u,z,b,M)}return u})}function Uu(a,u){return function(d,b){if(d==null)return d;if(!kn(d))return a(d,b);for(var P=d.length,M=u?P:-1,H=At(d);(u?M--:++M<P)&&b(H[M],M,H)!==!1;);return d}}function Bu(a){return function(u,d,b){for(var P=-1,M=At(u),H=b(u),z=H.length;z--;){var Z=H[a?z:++P];if(d(M[Z],Z,M)===!1)break}return u}}function Om(a,u,d){var b=u&y,P=qr(a);function M(){var H=this&&this!==nn&&this instanceof M?P:a;return H.apply(b?d:this,arguments)}return M}function Hu(a){return function(u){u=vt(u);var d=Yl(u)?Zn(u):t,b=d?d[0]:u.charAt(0),P=d?tl(d,1).join(""):u.slice(1);return b[a]()+P}}function nr(a){return function(u){return ya(Bf(Uf(u).replace(we,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=er(a.prototype),b=a.apply(d,u);return Bt(b)?b:d}}function Fm(a,u,d){var b=qr(a);function P(){for(var M=arguments.length,H=ae(M),z=M,Z=ir(P);z--;)H[z]=arguments[z];var _e=M<3&&H[0]!==Z&&H[M-1]!==Z?[]:Zi(H,Z);if(M-=_e.length,M<d)return Ku(a,u,Hs,P.placeholder,t,H,_e,t,t,d-M);var pe=this&&this!==nn&&this instanceof P?b:a;return Ln(pe,this,H)}return P}function Wu(a){return function(u,d,b){var P=At(u);if(!kn(u)){var M=Ke(d,3);u=ln(u),d=function(z){return M(P[z],z,P)}}var H=a(u,d,b);return H>-1?P[M?u[H]:H]:t}}function zu(a){return Ii(function(u){var d=u.length,b=d,P=Wn.prototype.thru;for(a&&u.reverse();b--;){var M=u[b];if(typeof M!="function")throw new Hn(s);if(P&&!H&&qs(M)=="wrapper")var H=new Wn([],!0)}for(b=H?b:d;++b<d;){M=u[b];var z=qs(M),Z=z=="wrapper"?lo(M):t;Z&&oo(Z[0])&&Z[1]==(V|I|T|O)&&!Z[4].length&&Z[9]==1?H=H[qs(Z[0])].apply(H,Z[3]):H=M.length==1&&oo(M)?H[z]():H.thru(M)}return function(){var _e=arguments,pe=_e[0];if(H&&_e.length==1&&xe(pe))return H.plant(pe).value();for(var ve=0,Le=d?u[ve].apply(this,_e):pe;++ve<d;)Le=u[ve].call(this,Le);return Le}})}function Hs(a,u,d,b,P,M,H,z,Z,_e){var pe=u&V,ve=u&y,Le=u&C,We=u&(I|D),je=u&F,nt=Le?t:qr(a);function Ye(){for(var st=arguments.length,ot=ae(st),Dn=st;Dn--;)ot[Dn]=arguments[Dn];if(We)var _n=ir(Ye),Vn=Q_(ot,_n);if(b&&(ot=Ou(ot,b,P,We)),M&&(ot=Fu(ot,M,H,We)),st-=Vn,We&&st<_e){var Jt=Zi(ot,_n);return Ku(a,u,Hs,Ye.placeholder,d,ot,Jt,z,Z,_e-st)}var xn=ve?d:this,Ri=Le?xn[a]:a;return st=ot.length,z?ot=i1(ot,z):je&&st>1&&ot.reverse(),pe&&Z<st&&(ot.length=Z),this&&this!==nn&&this instanceof Ye&&(Ri=nt||qr(Ri)),Ri.apply(xn,ot)}return Ye}function Gu(a,u){return function(d,b){return cm(d,a,u(b),{})}}function Ws(a,u){return function(d,b){var P;if(d===t&&b===t)return u;if(d!==t&&(P=d),b!==t){if(P===t)return b;typeof d=="string"||typeof b=="string"?(d=Rn(d),b=Rn(b)):(d=Tu(d),b=Tu(b)),P=a(d,b)}return P}}function eo(a){return Ii(function(u){return u=Ot(u,An(Ke())),lt(function(d){var b=this;return a(u,function(P){return Ln(P,b,d)})})})}function zs(a,u){u=u===t?" ":Rn(u);var d=u.length;if(d<2)return d?ja(u,a):u;var b=ja(u,Ts(a/Ql(u)));return Yl(u)?tl(Zn(b),0,a).join(""):b.slice(0,a)}function Um(a,u,d,b){var P=u&y,M=qr(a);function H(){for(var z=-1,Z=arguments.length,_e=-1,pe=b.length,ve=ae(pe+Z),Le=this&&this!==nn&&this instanceof H?M:a;++_e<pe;)ve[_e]=b[_e];for(;Z--;)ve[_e++]=arguments[++z];return Ln(Le,P?d:this,ve)}return H}function qu(a){return function(u,d,b){return b&&typeof b!="number"&&gn(u,d,b)&&(d=b=t),u=Ai(u),d===t?(d=u,u=0):d=Ai(d),b=b===t?u<d?1:-1:Ai(b),Cm(u,d,b,a)}}function Gs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Kn(u),d=Kn(d)),a(u,d)}}function Ku(a,u,d,b,P,M,H,z,Z,_e){var pe=u&I,ve=pe?H:t,Le=pe?t:H,We=pe?M:t,je=pe?t:M;u|=pe?T:L,u&=~(pe?L:T),u&N||(u&=~(y|C));var nt=[a,u,P,We,ve,je,Le,z,Z,_e],Ye=d.apply(t,nt);return oo(a)&&lf(Ye,nt),Ye.placeholder=b,rf(Ye,a,u)}function to(a){var u=$t[a];return function(d,b){if(d=Kn(d),b=b==null?0:fn(et(b),292),b&&lu(d)){var P=(vt(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+b));return P=(vt(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var Bm=$l&&1/bs(new $l([,-0]))[1]==he?function(a){return new $l(a)}:yo;function Ju(a){return function(u){var d=cn(u);return d==wt?Ra(u):d==Zt?np(u):Y_(u,a(u))}}function Ni(a,u,d,b,P,M,H,z){var Z=u&C;if(!Z&&typeof a!="function")throw new Hn(s);var _e=b?b.length:0;if(_e||(u&=~(T|L),b=P=t),H=H===t?H:xt(et(H),0),z=z===t?z:et(z),_e-=P?P.length:0,u&L){var pe=b,ve=P;b=P=t}var Le=Z?t:lo(a),We=[a,u,d,b,P,pe,ve,M,H,z];if(Le&&e1(We,Le),a=We[0],u=We[1],d=We[2],b=We[3],P=We[4],z=We[9]=We[9]===t?Z?0:a.length:xt(We[9]-_e,0),!z&&u&(I|D)&&(u&=~(I|D)),!u||u==y)var je=Om(a,u,d);else u==I||u==D?je=Fm(a,u,z):(u==T||u==(y|T))&&!P.length?je=Um(a,u,d,b):je=Hs.apply(t,We);var nt=Le?Nu:lf;return rf(nt(je,We),a,u)}function ju(a,u,d,b){return a===t||$n(a,Xl[d])&&!Ct.call(b,d)?u:a}function Yu(a,u,d,b,P,M){return Bt(a)&&Bt(u)&&(M.set(u,a),Os(a,u,t,Yu,M),M.delete(u)),a}function Hm(a){return jr(a)?t:a}function Qu(a,u,d,b,P,M){var H=d&v,z=a.length,Z=u.length;if(z!=Z&&!(H&&Z>z))return!1;var _e=M.get(a),pe=M.get(u);if(_e&&pe)return _e==u&&pe==a;var ve=-1,Le=!0,We=d&S?new Il:t;for(M.set(a,u),M.set(u,a);++ve<z;){var je=a[ve],nt=u[ve];if(b)var Ye=H?b(nt,je,ve,u,a,M):b(je,nt,ve,a,u,M);if(Ye!==t){if(Ye)continue;Le=!1;break}if(We){if(!Pa(u,function(st,ot){if(!Dr(We,ot)&&(je===st||P(je,st,d,b,M)))return We.push(ot)})){Le=!1;break}}else if(!(je===nt||P(je,nt,d,b,M))){Le=!1;break}}return M.delete(a),M.delete(u),Le}function Wm(a,u,d,b,P,M,H){switch(d){case sn:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case Gt:return!(a.byteLength!=u.byteLength||!M(new ys(a),new ys(u)));case Ee:case De:case Qt:return $n(+a,+u);case Ze:return a.name==u.name&&a.message==u.message;case tn:case Qn:return a==u+"";case wt:var z=Ra;case Zt:var Z=b&v;if(z||(z=bs),a.size!=u.size&&!Z)return!1;var _e=H.get(a);if(_e)return _e==u;b|=S,H.set(a,u);var pe=Qu(z(a),z(u),b,P,M,H);return H.delete(a),pe;case Dt:if(Ur)return Ur.call(a)==Ur.call(u)}return!1}function zm(a,u,d,b,P,M){var H=d&v,z=no(a),Z=z.length,_e=no(u),pe=_e.length;if(Z!=pe&&!H)return!1;for(var ve=Z;ve--;){var Le=z[ve];if(!(H?Le in u:Ct.call(u,Le)))return!1}var We=M.get(a),je=M.get(u);if(We&&je)return We==u&&je==a;var nt=!0;M.set(a,u),M.set(u,a);for(var Ye=H;++ve<Z;){Le=z[ve];var st=a[Le],ot=u[Le];if(b)var Dn=H?b(ot,st,Le,u,a,M):b(st,ot,Le,a,u,M);if(!(Dn===t?st===ot||P(st,ot,d,b,M):Dn)){nt=!1;break}Ye||(Ye=Le=="constructor")}if(nt&&!Ye){var _n=a.constructor,Vn=u.constructor;_n!=Vn&&"constructor"in a&&"constructor"in u&&!(typeof _n=="function"&&_n instanceof _n&&typeof Vn=="function"&&Vn instanceof Vn)&&(nt=!1)}return M.delete(a),M.delete(u),nt}function Ii(a){return fo(tf(a,t,cf),a+"")}function no(a){return _u(a,ln,so)}function io(a){return _u(a,Cn,Zu)}var lo=As?function(a){return As.get(a)}:yo;function qs(a){for(var u=a.name+"",d=xl[u],b=Ct.call(xl,u)?d.length:0;b--;){var P=d[b],M=P.func;if(M==null||M==a)return P.name}return u}function ir(a){var u=Ct.call(E,"placeholder")?E:a;return u.placeholder}function Ke(){var a=E.iteratee||ko;return a=a===ko?bu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ks(a,u){var d=a.__data__;return Zm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function ro(a){for(var u=ln(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,xu(P)]}return u}function Al(a,u){var d=x_(a,u);return mu(d)?d:t}function Gm(a){var u=Ct.call(a,Pl),d=a[Pl];try{a[Pl]=t;var b=!0}catch{}var P=ks.call(a);return b&&(u?a[Pl]=d:delete a[Pl]),P}var so=Da?function(a){return a==null?[]:(a=At(a),Yi(Da(a),function(u){return nu.call(a,u)}))}:Po,Zu=Da?function(a){for(var u=[];a;)Qi(u,so(a)),a=Ps(a);return u}:Po,cn=hn;(Va&&cn(new Va(new ArrayBuffer(1)))!=sn||Mr&&cn(new Mr)!=wt||Ma&&cn(Ma.resolve())!=pi||$l&&cn(new $l)!=Zt||Or&&cn(new Or)!=Xt)&&(cn=function(a){var u=hn(a),d=u==zt?a.constructor:t,b=d?Rl(d):"";if(b)switch(b){case Pp:return sn;case Np:return wt;case Ip:return pi;case Tp:return Zt;case Lp:return Xt}return u});function qm(a,u,d){for(var b=-1,P=d.length;++b<P;){var M=d[b],H=M.size;switch(M.type){case"drop":a+=H;break;case"dropRight":u-=H;break;case"take":u=fn(u,a+H);break;case"takeRight":a=xt(a,u-H);break}}return{start:a,end:u}}function Km(a){var u=a.match(Ul);return u?u[1].split(Bl):[]}function Xu(a,u,d){u=el(u,a);for(var b=-1,P=u.length,M=!1;++b<P;){var H=ui(u[b]);if(!(M=a!=null&&d(a,H)))break;a=a[H]}return M||++b!=P?M:(P=a==null?0:a.length,!!P&&$s(P)&&Ti(H,P)&&(xe(a)||El(a)))}function Jm(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Ct.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function $u(a){return typeof a.constructor=="function"&&!Kr(a)?er(Ps(a)):{}}function jm(a,u,d){var b=a.constructor;switch(u){case Gt:return xa(a);case Ee:case De:return new b(+a);case sn:return Am(a,d);case mi:case ni:case an:case ee:case Me:case dt:case It:case Tt:case mt:return Vu(a,d);case wt:return new b;case Qt:case Qn:return new b(a);case tn:return Rm(a);case Zt:return new b;case Dt:return Em(a)}}function Ym(a,u){var d=u.length;if(!d)return a;var b=d-1;return u[b]=(d>1?"& ":"")+u[b],u=u.join(d>2?", ":" "),a.replace(Hi,`{
|
|
37
37
|
/* [wrapped with `+u+`] */
|
|
38
|
-
`)}function Qm(a){return xe(a)||El(a)||!!(iu&&a&&a[iu])}function Ti(a,u){var d=typeof a;return u=u==null?ne:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function hn(a,u,d){if(!Ht(d))return!1;var b=typeof u;return(b=="number"?Sn(d)&&Ti(u,d.length):b=="string"&&u in d)?$n(d[u],a):!1}function ao(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Rn(a)?!0:kr.test(a)||!Sr.test(a)||u!=null&&a in Tt(u)}function Zm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function oo(a){var u=qs(a),d=E[u];if(typeof d!="function"||!(u in at.prototype))return!1;if(a===d)return!0;var b=lo(d);return!!b&&a===b[0]}function Xm(a){return!!xo&&xo in a}var $m=ws?Li:No;function Kr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Xl;return a===d}function xu(a){return a===a&&!Ht(a)}function ef(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Tt(d))}}function xm(a){var u=Zs(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function e1(a,u){var d=a[1],b=u[1],P=d|b,M=P<(y|C|V),H=b==V&&d==I||b==V&&d==O&&a[7].length<=u[8]||b==(V|O)&&u[7].length<=u[8]&&d==I;if(!(M||H))return a;b&y&&(a[2]=u[2],P|=d&y?0:N);var z=u[3];if(z){var $=a[3];a[3]=$?Ou($,z,u[4]):z,a[4]=$?Zi(a[3],h):u[4]}return z=u[5],z&&($=a[5],a[5]=$?Fu($,z,u[6]):z,a[6]=$?Zi(a[5],h):u[6]),z=u[7],z&&(a[7]=z),b&V&&(a[8]=a[8]==null?u[8]:un(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function t1(a){var u=[];if(a!=null)for(var d in Tt(a))u.push(d);return u}function n1(a){return ks.call(a)}function tf(a,u,d){return u=$t(u===t?a.length-1:u,0),function(){for(var b=arguments,P=-1,M=$t(b.length-u,0),H=oe(M);++P<M;)H[P]=b[u+P];P=-1;for(var z=oe(u+1);++P<u;)z[P]=b[P];return z[u]=d(H),Tn(a,this,z)}}function nf(a,u){return u.length<2?a:Ll(a,Gn(u,0,-1))}function i1(a,u){for(var d=a.length,b=un(u.length,d),P=wn(a);b--;){var M=u[b];a[b]=Ti(M,d)?P[M]:t}return a}function uo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var lf=sf(Nu),Jr=bp||function(a,u){return tn.setTimeout(a,u)},fo=sf(Nm);function rf(a,u,d){var b=u+"";return fo(a,Ym(b,l1(Km(b),d)))}function sf(a){var u=0,d=0;return function(){var b=kp(),P=Q-(b-d);if(d=b,P>0){if(++u>=Z)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Js(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var M=Ja(d,P),H=a[M];a[M]=a[d],a[d]=H}return a.length=u,a}var af=xm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(Cr,function(d,b,P,M){u.push(P?M.replace(bn,"$1"):b||d)}),u});function ui(a){if(typeof a=="string"||Rn(a))return a;var u=a+"";return u=="0"&&1/a==-he?"-0":u}function Rl(a){if(a!=null){try{return Ss.call(a)}catch{}try{return a+""}catch{}}return""}function l1(a,u){return Bn(j,function(d){var b="_."+d[0];u&d[1]&&!ps(a,b)&&a.push(b)}),a.sort()}function of(a){if(a instanceof at)return a.clone();var u=new Wn(a.__wrapped__,a.__chain__);return u.__actions__=wn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function r1(a,u,d){(d?hn(a,u,d):u===t)?u=1:u=$t(et(u),0);var b=a==null?0:a.length;if(!b||u<1)return[];for(var P=0,M=0,H=oe(Ts(b/u));P<b;)H[M++]=Gn(a,P,P+=u);return H}function s1(a){for(var u=-1,d=a==null?0:a.length,b=0,P=[];++u<d;){var M=a[u];M&&(P[b++]=M)}return P}function a1(){var a=arguments.length;if(!a)return[];for(var u=oe(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Qi(xe(d)?wn(d):[d],an(u,1))}var o1=lt(function(a,u){return Jt(a)?Hr(a,an(u,1,Jt,!0)):[]}),u1=lt(function(a,u){var d=qn(u);return Jt(d)&&(d=t),Jt(a)?Hr(a,an(u,1,Jt,!0),Ke(d,2)):[]}),f1=lt(function(a,u){var d=qn(u);return Jt(d)&&(d=t),Jt(a)?Hr(a,an(u,1,Jt,!0),t,d):[]});function c1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),Gn(a,u<0?0:u,b)):[]}function d1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Gn(a,0,u<0?0:u)):[]}function h1(a,u){return a&&a.length?Us(a,Ke(u,3),!0,!0):[]}function g1(a,u){return a&&a.length?Us(a,Ke(u,3),!0):[]}function _1(a,u,d,b){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&hn(a,u,d)&&(d=0,b=P),am(a,u,d,b)):[]}function uf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=$t(b+P,0)),ms(a,Ke(u,3),P)}function ff(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b-1;return d!==t&&(P=et(d),P=d<0?$t(b+P,0):un(P,b-1)),ms(a,Ke(u,3),P,!0)}function cf(a){var u=a==null?0:a.length;return u?an(a,1):[]}function p1(a){var u=a==null?0:a.length;return u?an(a,he):[]}function m1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:et(u),an(a,u)):[]}function b1(a){for(var u=-1,d=a==null?0:a.length,b={};++u<d;){var P=a[u];b[P[0]]=P[1]}return b}function df(a){return a&&a.length?a[0]:t}function v1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=$t(b+P,0)),jl(a,u,P)}function w1(a){var u=a==null?0:a.length;return u?Gn(a,0,-1):[]}var S1=lt(function(a){var u=Ft(a,Xa);return u.length&&u[0]===a[0]?Wa(u):[]}),k1=lt(function(a){var u=qn(a),d=Ft(a,Xa);return u===qn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Wa(d,Ke(u,2)):[]}),C1=lt(function(a){var u=qn(a),d=Ft(a,Xa);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Wa(d,t,u):[]});function y1(a,u){return a==null?"":wp.call(a,u)}function qn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function P1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b;return d!==t&&(P=et(d),P=P<0?$t(b+P,0):un(P,b-1)),u===u?lp(a,u,P):ms(a,Ko,P,!0)}function N1(a,u){return a&&a.length?ku(a,et(u)):t}var I1=lt(hf);function hf(a,u){return a&&a.length&&u&&u.length?Ka(a,u):a}function T1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,Ke(d,2)):a}function L1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,t,d):a}var A1=Ii(function(a,u){var d=a==null?0:a.length,b=Fa(a,u);return Pu(a,Ft(u,function(P){return Ti(P,d)?+P:P}).sort(Mu)),b});function R1(a,u){var d=[];if(!(a&&a.length))return d;var b=-1,P=[],M=a.length;for(u=Ke(u,3);++b<M;){var H=a[b];u(H,b,a)&&(d.push(H),P.push(b))}return Pu(a,P),d}function co(a){return a==null?a:yp.call(a)}function E1(a,u,d){var b=a==null?0:a.length;return b?(d&&typeof d!="number"&&hn(a,u,d)?(u=0,d=b):(u=u==null?0:et(u),d=d===t?b:et(d)),Gn(a,u,d)):[]}function D1(a,u){return Fs(a,u)}function V1(a,u,d){return Ya(a,u,Ke(d,2))}function M1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u);if(b<d&&$n(a[b],u))return b}return-1}function O1(a,u){return Fs(a,u,!0)}function F1(a,u,d){return Ya(a,u,Ke(d,2),!0)}function U1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u,!0)-1;if($n(a[b],u))return b}return-1}function B1(a){return a&&a.length?Iu(a):[]}function H1(a,u){return a&&a.length?Iu(a,Ke(u,2)):[]}function W1(a){var u=a==null?0:a.length;return u?Gn(a,1,u):[]}function z1(a,u,d){return a&&a.length?(u=d||u===t?1:et(u),Gn(a,0,u<0?0:u)):[]}function G1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Gn(a,u<0?0:u,b)):[]}function q1(a,u){return a&&a.length?Us(a,Ke(u,3),!1,!0):[]}function K1(a,u){return a&&a.length?Us(a,Ke(u,3)):[]}var J1=lt(function(a){return xi(an(a,1,Jt,!0))}),j1=lt(function(a){var u=qn(a);return Jt(u)&&(u=t),xi(an(a,1,Jt,!0),Ke(u,2))}),Y1=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,xi(an(a,1,Jt,!0),t,u)});function Q1(a){return a&&a.length?xi(a):[]}function Z1(a,u){return a&&a.length?xi(a,Ke(u,2)):[]}function X1(a,u){return u=typeof u=="function"?u:t,a&&a.length?xi(a,t,u):[]}function ho(a){if(!(a&&a.length))return[];var u=0;return a=Yi(a,function(d){if(Jt(d))return u=$t(d.length,u),!0}),La(u,function(d){return Ft(a,Na(d))})}function gf(a,u){if(!(a&&a.length))return[];var d=ho(a);return u==null?d:Ft(d,function(b){return Tn(u,t,b)})}var $1=lt(function(a,u){return Jt(a)?Hr(a,u):[]}),x1=lt(function(a){return Za(Yi(a,Jt))}),eb=lt(function(a){var u=qn(a);return Jt(u)&&(u=t),Za(Yi(a,Jt),Ke(u,2))}),tb=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,Za(Yi(a,Jt),t,u)}),nb=lt(ho);function ib(a,u){return Ru(a||[],u||[],Br)}function lb(a,u){return Ru(a||[],u||[],Gr)}var rb=lt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,gf(a,d)});function _f(a){var u=E(a);return u.__chain__=!0,u}function sb(a,u){return u(a),a}function js(a,u){return u(a)}var ab=Ii(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(M){return Fa(M,a)};return u>1||this.__actions__.length||!(b instanceof at)||!Ti(d)?this.thru(P):(b=b.slice(d,+d+(u?1:0)),b.__actions__.push({func:js,args:[P],thisArg:t}),new Wn(b,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function ob(){return _f(this)}function ub(){return new Wn(this.value(),this.__chain__)}function fb(){this.__values__===t&&(this.__values__=Lf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function cb(){return this}function db(a){for(var u,d=this;d instanceof Es;){var b=of(d);b.__index__=0,b.__values__=t,u?P.__wrapped__=b:u=b;var P=b;d=d.__wrapped__}return P.__wrapped__=a,u}function hb(){var a=this.__wrapped__;if(a instanceof at){var u=a;return this.__actions__.length&&(u=new at(this)),u=u.reverse(),u.__actions__.push({func:js,args:[co],thisArg:t}),new Wn(u,this.__chain__)}return this.thru(co)}function gb(){return Au(this.__wrapped__,this.__actions__)}var _b=Bs(function(a,u,d){kt.call(a,d)?++a[d]:Pi(a,d,1)});function pb(a,u,d){var b=xe(a)?Go:sm;return d&&hn(a,u,d)&&(u=t),b(a,Ke(u,3))}function mb(a,u){var d=xe(a)?Yi:hu;return d(a,Ke(u,3))}var bb=Wu(uf),vb=Wu(ff);function wb(a,u){return an(Ys(a,u),1)}function Sb(a,u){return an(Ys(a,u),he)}function kb(a,u,d){return d=d===t?1:et(d),an(Ys(a,u),d)}function pf(a,u){var d=xe(a)?Bn:$i;return d(a,Ke(u,3))}function mf(a,u){var d=xe(a)?W_:du;return d(a,Ke(u,3))}var Cb=Bs(function(a,u,d){kt.call(a,d)?a[d].push(u):Pi(a,d,[u])});function yb(a,u,d,b){a=Sn(a)?a:rr(a),d=d&&!b?et(d):0;var P=a.length;return d<0&&(d=$t(P+d,0)),xs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&jl(a,u,d)>-1}var Pb=lt(function(a,u,d){var b=-1,P=typeof u=="function",M=Sn(a)?oe(a.length):[];return $i(a,function(H){M[++b]=P?Tn(u,H,d):Wr(H,u,d)}),M}),Nb=Bs(function(a,u,d){Pi(a,d,u)});function Ys(a,u){var d=xe(a)?Ft:vu;return d(a,Ke(u,3))}function Ib(a,u,d,b){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=b?t:d,xe(d)||(d=d==null?[]:[d]),Cu(a,u,d))}var Tb=Bs(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function Lb(a,u,d){var b=xe(a)?ya:jo,P=arguments.length<3;return b(a,Ke(u,4),d,P,$i)}function Ab(a,u,d){var b=xe(a)?z_:jo,P=arguments.length<3;return b(a,Ke(u,4),d,P,du)}function Rb(a,u){var d=xe(a)?Yi:hu;return d(a,Xs(Ke(u,3)))}function Eb(a){var u=xe(a)?ou:ym;return u(a)}function Db(a,u,d){(d?hn(a,u,d):u===t)?u=1:u=et(u);var b=xe(a)?tm:Pm;return b(a,u)}function Vb(a){var u=xe(a)?nm:Im;return u(a)}function Mb(a){if(a==null)return 0;if(Sn(a))return xs(a)?Ql(a):a.length;var u=fn(a);return u==Mt||u==Qt?a.size:Ga(a).length}function Ob(a,u,d){var b=xe(a)?Pa:Tm;return d&&hn(a,u,d)&&(u=t),b(a,Ke(u,3))}var Fb=lt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&hn(a,u[0],u[1])?u=[]:d>2&&hn(u[0],u[1],u[2])&&(u=[u[0]]),Cu(a,an(u,1),[])}),Qs=mp||function(){return tn.Date.now()};function Ub(a,u){if(typeof u!="function")throw new Hn(s);return a=et(a),function(){if(--a<1)return u.apply(this,arguments)}}function bf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Ni(a,V,t,t,t,t,u)}function vf(a,u){var d;if(typeof u!="function")throw new Hn(s);return a=et(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var go=lt(function(a,u,d){var b=y;if(d.length){var P=Zi(d,ir(go));b|=T}return Ni(a,b,u,d,P)}),wf=lt(function(a,u,d){var b=y|C;if(d.length){var P=Zi(d,ir(wf));b|=T}return Ni(u,b,a,d,P)});function Sf(a,u,d){u=d?t:u;var b=Ni(a,I,t,t,t,t,t,u);return b.placeholder=Sf.placeholder,b}function kf(a,u,d){u=d?t:u;var b=Ni(a,D,t,t,t,t,t,u);return b.placeholder=kf.placeholder,b}function Cf(a,u,d){var b,P,M,H,z,$,ge=0,_e=!1,be=!1,Le=!0;if(typeof a!="function")throw new Hn(s);u=Kn(u)||0,Ht(d)&&(_e=!!d.leading,be="maxWait"in d,M=be?$t(Kn(d.maxWait)||0,u):M,Le="trailing"in d?!!d.trailing:Le);function We(jt){var xn=b,Ri=P;return b=P=t,ge=jt,H=a.apply(Ri,xn),H}function je(jt){return ge=jt,z=Jr(st,u),_e?We(jt):H}function nt(jt){var xn=jt-$,Ri=jt-ge,zf=u-xn;return be?un(zf,M-Ri):zf}function Ye(jt){var xn=jt-$,Ri=jt-ge;return $===t||xn>=u||xn<0||be&&Ri>=M}function st(){var jt=Qs();if(Ye(jt))return ot(jt);z=Jr(st,nt(jt))}function ot(jt){return z=t,Le&&b?We(jt):(b=P=t,H)}function En(){z!==t&&Eu(z),ge=0,b=$=P=z=t}function gn(){return z===t?H:ot(Qs())}function Dn(){var jt=Qs(),xn=Ye(jt);if(b=arguments,P=this,$=jt,xn){if(z===t)return je($);if(be)return Eu(z),z=Jr(st,u),We($)}return z===t&&(z=Jr(st,u)),H}return Dn.cancel=En,Dn.flush=gn,Dn}var Bb=lt(function(a,u){return cu(a,1,u)}),Hb=lt(function(a,u,d){return cu(a,Kn(u)||0,d)});function Wb(a){return Ni(a,F)}function Zs(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Hn(s);var d=function(){var b=arguments,P=u?u.apply(this,b):b[0],M=d.cache;if(M.has(P))return M.get(P);var H=a.apply(this,b);return d.cache=M.set(P,H)||M,H};return d.cache=new(Zs.Cache||yi),d}Zs.Cache=yi;function Xs(a){if(typeof a!="function")throw new Hn(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function zb(a){return vf(2,a)}var Gb=Lm(function(a,u){u=u.length==1&&xe(u[0])?Ft(u[0],Ln(Ke())):Ft(an(u,1),Ln(Ke()));var d=u.length;return lt(function(b){for(var P=-1,M=un(b.length,d);++P<M;)b[P]=u[P].call(this,b[P]);return Tn(a,this,b)})}),_o=lt(function(a,u){var d=Zi(u,ir(_o));return Ni(a,T,t,u,d)}),yf=lt(function(a,u){var d=Zi(u,ir(yf));return Ni(a,L,t,u,d)}),qb=Ii(function(a,u){return Ni(a,O,t,t,t,u)});function Kb(a,u){if(typeof a!="function")throw new Hn(s);return u=u===t?u:et(u),lt(a,u)}function Jb(a,u){if(typeof a!="function")throw new Hn(s);return u=u==null?0:$t(et(u),0),lt(function(d){var b=d[u],P=tl(d,0,u);return b&&Qi(P,b),Tn(a,this,P)})}function jb(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new Hn(s);return Ht(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),Cf(a,u,{leading:b,maxWait:u,trailing:P})}function Yb(a){return bf(a,1)}function Qb(a,u){return _o($a(u),a)}function Zb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Xb(a){return zn(a,m)}function $b(a,u){return u=typeof u=="function"?u:t,zn(a,m,u)}function xb(a){return zn(a,_|m)}function ev(a,u){return u=typeof u=="function"?u:t,zn(a,_|m,u)}function tv(a,u){return u==null||fu(a,u,nn(u))}function $n(a,u){return a===u||a!==a&&u!==u}var nv=Gs(Ha),iv=Gs(function(a,u){return a>=u}),El=pu(function(){return arguments}())?pu:function(a){return zt(a)&&kt.call(a,"callee")&&!nu.call(a,"callee")},xe=oe.isArray,lv=In?Ln(In):dm;function Sn(a){return a!=null&&$s(a.length)&&!Li(a)}function Jt(a){return zt(a)&&Sn(a)}function rv(a){return a===!0||a===!1||zt(a)&&dn(a)==Ee}var nl=vp||No,sv=_s?Ln(_s):hm;function av(a){return zt(a)&&a.nodeType===1&&!jr(a)}function ov(a){if(a==null)return!0;if(Sn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||nl(a)||lr(a)||El(a)))return!a.length;var u=fn(a);if(u==Mt||u==Qt)return!a.size;if(Kr(a))return!Ga(a).length;for(var d in a)if(kt.call(a,d))return!1;return!0}function uv(a,u){return zr(a,u)}function fv(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?zr(a,u,t,d):!!b}function po(a){if(!zt(a))return!1;var u=dn(a);return u==$e||u==pe||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function cv(a){return typeof a=="number"&&lu(a)}function Li(a){if(!Ht(a))return!1;var u=dn(a);return u==Vt||u==Rt||u==re||u==Fi}function Pf(a){return typeof a=="number"&&a==et(a)}function $s(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ne}function Ht(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var Nf=Bo?Ln(Bo):_m;function dv(a,u){return a===u||za(a,u,ro(u))}function hv(a,u,d){return d=typeof d=="function"?d:t,za(a,u,ro(u),d)}function gv(a){return If(a)&&a!=+a}function _v(a){if($m(a))throw new Ze(r);return mu(a)}function pv(a){return a===null}function mv(a){return a==null}function If(a){return typeof a=="number"||zt(a)&&dn(a)==on}function jr(a){if(!zt(a)||dn(a)!=Gt)return!1;var u=Ps(a);if(u===null)return!0;var d=kt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&Ss.call(d)==hp}var mo=Ho?Ln(Ho):pm;function bv(a){return Pf(a)&&a>=-ne&&a<=ne}var Tf=Wo?Ln(Wo):mm;function xs(a){return typeof a=="string"||!xe(a)&&zt(a)&&dn(a)==Qn}function Rn(a){return typeof a=="symbol"||zt(a)&&dn(a)==Et}var lr=zo?Ln(zo):bm;function vv(a){return a===t}function wv(a){return zt(a)&&fn(a)==Zt}function Sv(a){return zt(a)&&dn(a)==Ui}var kv=Gs(qa),Cv=Gs(function(a,u){return a<=u});function Lf(a){if(!a)return[];if(Sn(a))return xs(a)?Zn(a):wn(a);if(Vr&&a[Vr])return tp(a[Vr]());var u=fn(a),d=u==Mt?Ra:u==Qt?bs:rr;return d(a)}function Ai(a){if(!a)return a===0?a:0;if(a=Kn(a),a===he||a===-he){var u=a<0?-1:1;return u*X}return a===a?a:0}function et(a){var u=Ai(a),d=u%1;return u===u?d?u-d:u:0}function Af(a){return a?Tl(et(a),0,ie):0}function Kn(a){if(typeof a=="number")return a;if(Rn(a))return Ne;if(Ht(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ht(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Yo(a);var d=Pr.test(a);return d||gl.test(a)?kl(a.slice(2),d?2:8):Wl.test(a)?Ne:+a}function Rf(a){return oi(a,kn(a))}function yv(a){return a?Tl(et(a),-ne,ne):a===0?a:0}function vt(a){return a==null?"":An(a)}var Pv=tr(function(a,u){if(Kr(u)||Sn(u)){oi(u,nn(u),a);return}for(var d in u)kt.call(u,d)&&Br(a,d,u[d])}),Ef=tr(function(a,u){oi(u,kn(u),a)}),ea=tr(function(a,u,d,b){oi(u,kn(u),a,b)}),Nv=tr(function(a,u,d,b){oi(u,nn(u),a,b)}),Iv=Ii(Fa);function Tv(a,u){var d=er(a);return u==null?d:uu(d,u)}var Lv=lt(function(a,u){a=Tt(a);var d=-1,b=u.length,P=b>2?u[2]:t;for(P&&hn(u[0],u[1],P)&&(b=1);++d<b;)for(var M=u[d],H=kn(M),z=-1,$=H.length;++z<$;){var ge=H[z],_e=a[ge];(_e===t||$n(_e,Xl[ge])&&!kt.call(a,ge))&&(a[ge]=M[ge])}return a}),Av=lt(function(a){return a.push(t,Yu),Tn(Df,t,a)});function Rv(a,u){return qo(a,Ke(u,3),ai)}function Ev(a,u){return qo(a,Ke(u,3),Ba)}function Dv(a,u){return a==null?a:Ua(a,Ke(u,3),kn)}function Vv(a,u){return a==null?a:gu(a,Ke(u,3),kn)}function Mv(a,u){return a&&ai(a,Ke(u,3))}function Ov(a,u){return a&&Ba(a,Ke(u,3))}function Fv(a){return a==null?[]:Ms(a,nn(a))}function Uv(a){return a==null?[]:Ms(a,kn(a))}function bo(a,u,d){var b=a==null?t:Ll(a,u);return b===t?d:b}function Bv(a,u){return a!=null&&Xu(a,u,om)}function vo(a,u){return a!=null&&Xu(a,u,um)}var Hv=Gu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),a[u]=d},So(Cn)),Wv=Gu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),kt.call(a,u)?a[u].push(d):a[u]=[d]},Ke),zv=lt(Wr);function nn(a){return Sn(a)?au(a):Ga(a)}function kn(a){return Sn(a)?au(a,!0):vm(a)}function Gv(a,u){var d={};return u=Ke(u,3),ai(a,function(b,P,M){Pi(d,u(b,P,M),b)}),d}function qv(a,u){var d={};return u=Ke(u,3),ai(a,function(b,P,M){Pi(d,P,u(b,P,M))}),d}var Kv=tr(function(a,u,d){Os(a,u,d)}),Df=tr(function(a,u,d,b){Os(a,u,d,b)}),Jv=Ii(function(a,u){var d={};if(a==null)return d;var b=!1;u=Ft(u,function(M){return M=el(M,a),b||(b=M.length>1),M}),oi(a,io(a),d),b&&(d=zn(d,_|p|m,Hm));for(var P=u.length;P--;)Qa(d,u[P]);return d});function jv(a,u){return Vf(a,Xs(Ke(u)))}var Yv=Ii(function(a,u){return a==null?{}:Sm(a,u)});function Vf(a,u){if(a==null)return{};var d=Ft(io(a),function(b){return[b]});return u=Ke(u),yu(a,d,function(b,P){return u(b,P[0])})}function Qv(a,u,d){u=el(u,a);var b=-1,P=u.length;for(P||(P=1,a=t);++b<P;){var M=a==null?t:a[ui(u[b])];M===t&&(b=P,M=d),a=Li(M)?M.call(a):M}return a}function Zv(a,u,d){return a==null?a:Gr(a,u,d)}function Xv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Gr(a,u,d,b)}var Mf=Ju(nn),Of=Ju(kn);function $v(a,u,d){var b=xe(a),P=b||nl(a)||lr(a);if(u=Ke(u,4),d==null){var M=a&&a.constructor;P?d=b?new M:[]:Ht(a)?d=Li(M)?er(Ps(a)):{}:d={}}return(P?Bn:ai)(a,function(H,z,$){return u(d,H,z,$)}),d}function xv(a,u){return a==null?!0:Qa(a,u)}function e0(a,u,d){return a==null?a:Lu(a,u,$a(d))}function t0(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Lu(a,u,$a(d),b)}function rr(a){return a==null?[]:Aa(a,nn(a))}function n0(a){return a==null?[]:Aa(a,kn(a))}function i0(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Kn(d),d=d===d?d:0),u!==t&&(u=Kn(u),u=u===u?u:0),Tl(Kn(a),u,d)}function l0(a,u,d){return u=Ai(u),d===t?(d=u,u=0):d=Ai(d),a=Kn(a),fm(a,u,d)}function r0(a,u,d){if(d&&typeof d!="boolean"&&hn(a,u,d)&&(u=d=t),d===t&&(typeof u=="boolean"?(d=u,u=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&u===t?(a=0,u=1):(a=Ai(a),u===t?(u=a,a=0):u=Ai(u)),a>u){var b=a;a=u,u=b}if(d||a%1||u%1){var P=ru();return un(a+P*(u-a+ji("1e-"+((P+"").length-1))),u)}return Ja(a,u)}var s0=nr(function(a,u,d){return u=u.toLowerCase(),a+(d?Ff(u):u)});function Ff(a){return wo(vt(a).toLowerCase())}function Uf(a){return a=vt(a),a&&a.replace(pl,Z_).replace(Oe,"")}function a0(a,u,d){a=vt(a),u=An(u);var b=a.length;d=d===t?b:Tl(et(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function o0(a){return a=vt(a),a&&br.test(a)?a.replace(ul,X_):a}function u0(a){return a=vt(a),a&&cl.test(a)?a.replace(fl,"\\$&"):a}var f0=nr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),c0=nr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),d0=Hu("toLowerCase");function h0(a,u,d){a=vt(a),u=et(u);var b=u?Ql(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return zs(Ls(P),d)+a+zs(Ts(P),d)}function g0(a,u,d){a=vt(a),u=et(u);var b=u?Ql(a):0;return u&&b<u?a+zs(u-b,d):a}function _0(a,u,d){a=vt(a),u=et(u);var b=u?Ql(a):0;return u&&b<u?zs(u-b,d)+a:a}function p0(a,u,d){return d||u==null?u=0:u&&(u=+u),Cp(vt(a).replace(li,""),u||0)}function m0(a,u,d){return(d?hn(a,u,d):u===t)?u=1:u=et(u),ja(vt(a),u)}function b0(){var a=arguments,u=vt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var v0=nr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function w0(a,u,d){return d&&typeof d!="number"&&hn(a,u,d)&&(u=d=t),d=d===t?ie:d>>>0,d?(a=vt(a),a&&(typeof u=="string"||u!=null&&!mo(u))&&(u=An(u),!u&&Yl(a))?tl(Zn(a),0,d):a.split(u,d)):[]}var S0=nr(function(a,u,d){return a+(d?" ":"")+wo(u)});function k0(a,u,d){return a=vt(a),d=d==null?0:Tl(et(d),0,a.length),u=An(u),a.slice(d,d+u.length)==u}function C0(a,u,d){var b=E.templateSettings;d&&hn(a,u,d)&&(u=t),a=vt(a),u=ea({},u,b,ju);var P=ea({},u.imports,b.imports,ju),M=nn(P),H=Aa(P,M),z,$,ge=0,_e=u.interpolate||vi,be="__p += '",Le=Ea((u.escape||vi).source+"|"+_e.source+"|"+(_e===Fl?hl:vi).source+"|"+(u.evaluate||vi).source+"|$","g"),We="//# sourceURL="+(kt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ji+"]")+`
|
|
39
|
-
`;a.replace(Le,function(Ye,st,ot,
|
|
38
|
+
`)}function Qm(a){return xe(a)||El(a)||!!(iu&&a&&a[iu])}function Ti(a,u){var d=typeof a;return u=u==null?ne:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function gn(a,u,d){if(!Bt(d))return!1;var b=typeof u;return(b=="number"?kn(d)&&Ti(u,d.length):b=="string"&&u in d)?$n(d[u],a):!1}function ao(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||En(a)?!0:kr.test(a)||!Sr.test(a)||u!=null&&a in At(u)}function Zm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function oo(a){var u=qs(a),d=E[u];if(typeof d!="function"||!(u in at.prototype))return!1;if(a===d)return!0;var b=lo(d);return!!b&&a===b[0]}function Xm(a){return!!xo&&xo in a}var $m=ws?Li:No;function Kr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Xl;return a===d}function xu(a){return a===a&&!Bt(a)}function ef(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in At(d))}}function xm(a){var u=Zs(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function e1(a,u){var d=a[1],b=u[1],P=d|b,M=P<(y|C|V),H=b==V&&d==I||b==V&&d==O&&a[7].length<=u[8]||b==(V|O)&&u[7].length<=u[8]&&d==I;if(!(M||H))return a;b&y&&(a[2]=u[2],P|=d&y?0:N);var z=u[3];if(z){var Z=a[3];a[3]=Z?Ou(Z,z,u[4]):z,a[4]=Z?Zi(a[3],h):u[4]}return z=u[5],z&&(Z=a[5],a[5]=Z?Fu(Z,z,u[6]):z,a[6]=Z?Zi(a[5],h):u[6]),z=u[7],z&&(a[7]=z),b&V&&(a[8]=a[8]==null?u[8]:fn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function t1(a){var u=[];if(a!=null)for(var d in At(a))u.push(d);return u}function n1(a){return ks.call(a)}function tf(a,u,d){return u=xt(u===t?a.length-1:u,0),function(){for(var b=arguments,P=-1,M=xt(b.length-u,0),H=ae(M);++P<M;)H[P]=b[u+P];P=-1;for(var z=ae(u+1);++P<u;)z[P]=b[P];return z[u]=d(H),Ln(a,this,z)}}function nf(a,u){return u.length<2?a:Ll(a,Gn(u,0,-1))}function i1(a,u){for(var d=a.length,b=fn(u.length,d),P=Sn(a);b--;){var M=u[b];a[b]=Ti(M,d)?P[M]:t}return a}function uo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var lf=sf(Nu),Jr=bp||function(a,u){return nn.setTimeout(a,u)},fo=sf(Nm);function rf(a,u,d){var b=u+"";return fo(a,Ym(b,l1(Km(b),d)))}function sf(a){var u=0,d=0;return function(){var b=kp(),P=$-(b-d);if(d=b,P>0){if(++u>=fe)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Js(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var M=Ja(d,P),H=a[M];a[M]=a[d],a[d]=H}return a.length=u,a}var af=xm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(Cr,function(d,b,P,M){u.push(P?M.replace(vn,"$1"):b||d)}),u});function ui(a){if(typeof a=="string"||En(a))return a;var u=a+"";return u=="0"&&1/a==-he?"-0":u}function Rl(a){if(a!=null){try{return Ss.call(a)}catch{}try{return a+""}catch{}}return""}function l1(a,u){return Bn(ce,function(d){var b="_."+d[0];u&d[1]&&!ps(a,b)&&a.push(b)}),a.sort()}function of(a){if(a instanceof at)return a.clone();var u=new Wn(a.__wrapped__,a.__chain__);return u.__actions__=Sn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function r1(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=xt(et(u),0);var b=a==null?0:a.length;if(!b||u<1)return[];for(var P=0,M=0,H=ae(Ts(b/u));P<b;)H[M++]=Gn(a,P,P+=u);return H}function s1(a){for(var u=-1,d=a==null?0:a.length,b=0,P=[];++u<d;){var M=a[u];M&&(P[b++]=M)}return P}function a1(){var a=arguments.length;if(!a)return[];for(var u=ae(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Qi(xe(d)?Sn(d):[d],on(u,1))}var o1=lt(function(a,u){return Kt(a)?Hr(a,on(u,1,Kt,!0)):[]}),u1=lt(function(a,u){var d=qn(u);return Kt(d)&&(d=t),Kt(a)?Hr(a,on(u,1,Kt,!0),Ke(d,2)):[]}),f1=lt(function(a,u){var d=qn(u);return Kt(d)&&(d=t),Kt(a)?Hr(a,on(u,1,Kt,!0),t,d):[]});function c1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),Gn(a,u<0?0:u,b)):[]}function d1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Gn(a,0,u<0?0:u)):[]}function h1(a,u){return a&&a.length?Us(a,Ke(u,3),!0,!0):[]}function g1(a,u){return a&&a.length?Us(a,Ke(u,3),!0):[]}function _1(a,u,d,b){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&gn(a,u,d)&&(d=0,b=P),am(a,u,d,b)):[]}function uf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=xt(b+P,0)),ms(a,Ke(u,3),P)}function ff(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b-1;return d!==t&&(P=et(d),P=d<0?xt(b+P,0):fn(P,b-1)),ms(a,Ke(u,3),P,!0)}function cf(a){var u=a==null?0:a.length;return u?on(a,1):[]}function p1(a){var u=a==null?0:a.length;return u?on(a,he):[]}function m1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:et(u),on(a,u)):[]}function b1(a){for(var u=-1,d=a==null?0:a.length,b={};++u<d;){var P=a[u];b[P[0]]=P[1]}return b}function df(a){return a&&a.length?a[0]:t}function v1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:et(d);return P<0&&(P=xt(b+P,0)),jl(a,u,P)}function w1(a){var u=a==null?0:a.length;return u?Gn(a,0,-1):[]}var S1=lt(function(a){var u=Ot(a,Xa);return u.length&&u[0]===a[0]?Wa(u):[]}),k1=lt(function(a){var u=qn(a),d=Ot(a,Xa);return u===qn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Wa(d,Ke(u,2)):[]}),C1=lt(function(a){var u=qn(a),d=Ot(a,Xa);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Wa(d,t,u):[]});function y1(a,u){return a==null?"":wp.call(a,u)}function qn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function P1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b;return d!==t&&(P=et(d),P=P<0?xt(b+P,0):fn(P,b-1)),u===u?lp(a,u,P):ms(a,Ko,P,!0)}function N1(a,u){return a&&a.length?ku(a,et(u)):t}var I1=lt(hf);function hf(a,u){return a&&a.length&&u&&u.length?Ka(a,u):a}function T1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,Ke(d,2)):a}function L1(a,u,d){return a&&a.length&&u&&u.length?Ka(a,u,t,d):a}var A1=Ii(function(a,u){var d=a==null?0:a.length,b=Fa(a,u);return Pu(a,Ot(u,function(P){return Ti(P,d)?+P:P}).sort(Mu)),b});function R1(a,u){var d=[];if(!(a&&a.length))return d;var b=-1,P=[],M=a.length;for(u=Ke(u,3);++b<M;){var H=a[b];u(H,b,a)&&(d.push(H),P.push(b))}return Pu(a,P),d}function co(a){return a==null?a:yp.call(a)}function E1(a,u,d){var b=a==null?0:a.length;return b?(d&&typeof d!="number"&&gn(a,u,d)?(u=0,d=b):(u=u==null?0:et(u),d=d===t?b:et(d)),Gn(a,u,d)):[]}function D1(a,u){return Fs(a,u)}function V1(a,u,d){return Ya(a,u,Ke(d,2))}function M1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u);if(b<d&&$n(a[b],u))return b}return-1}function O1(a,u){return Fs(a,u,!0)}function F1(a,u,d){return Ya(a,u,Ke(d,2),!0)}function U1(a,u){var d=a==null?0:a.length;if(d){var b=Fs(a,u,!0)-1;if($n(a[b],u))return b}return-1}function B1(a){return a&&a.length?Iu(a):[]}function H1(a,u){return a&&a.length?Iu(a,Ke(u,2)):[]}function W1(a){var u=a==null?0:a.length;return u?Gn(a,1,u):[]}function z1(a,u,d){return a&&a.length?(u=d||u===t?1:et(u),Gn(a,0,u<0?0:u)):[]}function G1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:et(u),u=b-u,Gn(a,u<0?0:u,b)):[]}function q1(a,u){return a&&a.length?Us(a,Ke(u,3),!1,!0):[]}function K1(a,u){return a&&a.length?Us(a,Ke(u,3)):[]}var J1=lt(function(a){return xi(on(a,1,Kt,!0))}),j1=lt(function(a){var u=qn(a);return Kt(u)&&(u=t),xi(on(a,1,Kt,!0),Ke(u,2))}),Y1=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,xi(on(a,1,Kt,!0),t,u)});function Q1(a){return a&&a.length?xi(a):[]}function Z1(a,u){return a&&a.length?xi(a,Ke(u,2)):[]}function X1(a,u){return u=typeof u=="function"?u:t,a&&a.length?xi(a,t,u):[]}function ho(a){if(!(a&&a.length))return[];var u=0;return a=Yi(a,function(d){if(Kt(d))return u=xt(d.length,u),!0}),La(u,function(d){return Ot(a,Na(d))})}function gf(a,u){if(!(a&&a.length))return[];var d=ho(a);return u==null?d:Ot(d,function(b){return Ln(u,t,b)})}var $1=lt(function(a,u){return Kt(a)?Hr(a,u):[]}),x1=lt(function(a){return Za(Yi(a,Kt))}),eb=lt(function(a){var u=qn(a);return Kt(u)&&(u=t),Za(Yi(a,Kt),Ke(u,2))}),tb=lt(function(a){var u=qn(a);return u=typeof u=="function"?u:t,Za(Yi(a,Kt),t,u)}),nb=lt(ho);function ib(a,u){return Ru(a||[],u||[],Br)}function lb(a,u){return Ru(a||[],u||[],Gr)}var rb=lt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,gf(a,d)});function _f(a){var u=E(a);return u.__chain__=!0,u}function sb(a,u){return u(a),a}function js(a,u){return u(a)}var ab=Ii(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(M){return Fa(M,a)};return u>1||this.__actions__.length||!(b instanceof at)||!Ti(d)?this.thru(P):(b=b.slice(d,+d+(u?1:0)),b.__actions__.push({func:js,args:[P],thisArg:t}),new Wn(b,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function ob(){return _f(this)}function ub(){return new Wn(this.value(),this.__chain__)}function fb(){this.__values__===t&&(this.__values__=Lf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function cb(){return this}function db(a){for(var u,d=this;d instanceof Es;){var b=of(d);b.__index__=0,b.__values__=t,u?P.__wrapped__=b:u=b;var P=b;d=d.__wrapped__}return P.__wrapped__=a,u}function hb(){var a=this.__wrapped__;if(a instanceof at){var u=a;return this.__actions__.length&&(u=new at(this)),u=u.reverse(),u.__actions__.push({func:js,args:[co],thisArg:t}),new Wn(u,this.__chain__)}return this.thru(co)}function gb(){return Au(this.__wrapped__,this.__actions__)}var _b=Bs(function(a,u,d){Ct.call(a,d)?++a[d]:Pi(a,d,1)});function pb(a,u,d){var b=xe(a)?Go:sm;return d&&gn(a,u,d)&&(u=t),b(a,Ke(u,3))}function mb(a,u){var d=xe(a)?Yi:hu;return d(a,Ke(u,3))}var bb=Wu(uf),vb=Wu(ff);function wb(a,u){return on(Ys(a,u),1)}function Sb(a,u){return on(Ys(a,u),he)}function kb(a,u,d){return d=d===t?1:et(d),on(Ys(a,u),d)}function pf(a,u){var d=xe(a)?Bn:$i;return d(a,Ke(u,3))}function mf(a,u){var d=xe(a)?W_:du;return d(a,Ke(u,3))}var Cb=Bs(function(a,u,d){Ct.call(a,d)?a[d].push(u):Pi(a,d,[u])});function yb(a,u,d,b){a=kn(a)?a:rr(a),d=d&&!b?et(d):0;var P=a.length;return d<0&&(d=xt(P+d,0)),xs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&jl(a,u,d)>-1}var Pb=lt(function(a,u,d){var b=-1,P=typeof u=="function",M=kn(a)?ae(a.length):[];return $i(a,function(H){M[++b]=P?Ln(u,H,d):Wr(H,u,d)}),M}),Nb=Bs(function(a,u,d){Pi(a,d,u)});function Ys(a,u){var d=xe(a)?Ot:vu;return d(a,Ke(u,3))}function Ib(a,u,d,b){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=b?t:d,xe(d)||(d=d==null?[]:[d]),Cu(a,u,d))}var Tb=Bs(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function Lb(a,u,d){var b=xe(a)?ya:jo,P=arguments.length<3;return b(a,Ke(u,4),d,P,$i)}function Ab(a,u,d){var b=xe(a)?z_:jo,P=arguments.length<3;return b(a,Ke(u,4),d,P,du)}function Rb(a,u){var d=xe(a)?Yi:hu;return d(a,Xs(Ke(u,3)))}function Eb(a){var u=xe(a)?ou:ym;return u(a)}function Db(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=et(u);var b=xe(a)?tm:Pm;return b(a,u)}function Vb(a){var u=xe(a)?nm:Im;return u(a)}function Mb(a){if(a==null)return 0;if(kn(a))return xs(a)?Ql(a):a.length;var u=cn(a);return u==wt||u==Zt?a.size:Ga(a).length}function Ob(a,u,d){var b=xe(a)?Pa:Tm;return d&&gn(a,u,d)&&(u=t),b(a,Ke(u,3))}var Fb=lt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&gn(a,u[0],u[1])?u=[]:d>2&&gn(u[0],u[1],u[2])&&(u=[u[0]]),Cu(a,on(u,1),[])}),Qs=mp||function(){return nn.Date.now()};function Ub(a,u){if(typeof u!="function")throw new Hn(s);return a=et(a),function(){if(--a<1)return u.apply(this,arguments)}}function bf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Ni(a,V,t,t,t,t,u)}function vf(a,u){var d;if(typeof u!="function")throw new Hn(s);return a=et(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var go=lt(function(a,u,d){var b=y;if(d.length){var P=Zi(d,ir(go));b|=T}return Ni(a,b,u,d,P)}),wf=lt(function(a,u,d){var b=y|C;if(d.length){var P=Zi(d,ir(wf));b|=T}return Ni(u,b,a,d,P)});function Sf(a,u,d){u=d?t:u;var b=Ni(a,I,t,t,t,t,t,u);return b.placeholder=Sf.placeholder,b}function kf(a,u,d){u=d?t:u;var b=Ni(a,D,t,t,t,t,t,u);return b.placeholder=kf.placeholder,b}function Cf(a,u,d){var b,P,M,H,z,Z,_e=0,pe=!1,ve=!1,Le=!0;if(typeof a!="function")throw new Hn(s);u=Kn(u)||0,Bt(d)&&(pe=!!d.leading,ve="maxWait"in d,M=ve?xt(Kn(d.maxWait)||0,u):M,Le="trailing"in d?!!d.trailing:Le);function We(Jt){var xn=b,Ri=P;return b=P=t,_e=Jt,H=a.apply(Ri,xn),H}function je(Jt){return _e=Jt,z=Jr(st,u),pe?We(Jt):H}function nt(Jt){var xn=Jt-Z,Ri=Jt-_e,zf=u-xn;return ve?fn(zf,M-Ri):zf}function Ye(Jt){var xn=Jt-Z,Ri=Jt-_e;return Z===t||xn>=u||xn<0||ve&&Ri>=M}function st(){var Jt=Qs();if(Ye(Jt))return ot(Jt);z=Jr(st,nt(Jt))}function ot(Jt){return z=t,Le&&b?We(Jt):(b=P=t,H)}function Dn(){z!==t&&Eu(z),_e=0,b=Z=P=z=t}function _n(){return z===t?H:ot(Qs())}function Vn(){var Jt=Qs(),xn=Ye(Jt);if(b=arguments,P=this,Z=Jt,xn){if(z===t)return je(Z);if(ve)return Eu(z),z=Jr(st,u),We(Z)}return z===t&&(z=Jr(st,u)),H}return Vn.cancel=Dn,Vn.flush=_n,Vn}var Bb=lt(function(a,u){return cu(a,1,u)}),Hb=lt(function(a,u,d){return cu(a,Kn(u)||0,d)});function Wb(a){return Ni(a,F)}function Zs(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Hn(s);var d=function(){var b=arguments,P=u?u.apply(this,b):b[0],M=d.cache;if(M.has(P))return M.get(P);var H=a.apply(this,b);return d.cache=M.set(P,H)||M,H};return d.cache=new(Zs.Cache||yi),d}Zs.Cache=yi;function Xs(a){if(typeof a!="function")throw new Hn(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function zb(a){return vf(2,a)}var Gb=Lm(function(a,u){u=u.length==1&&xe(u[0])?Ot(u[0],An(Ke())):Ot(on(u,1),An(Ke()));var d=u.length;return lt(function(b){for(var P=-1,M=fn(b.length,d);++P<M;)b[P]=u[P].call(this,b[P]);return Ln(a,this,b)})}),_o=lt(function(a,u){var d=Zi(u,ir(_o));return Ni(a,T,t,u,d)}),yf=lt(function(a,u){var d=Zi(u,ir(yf));return Ni(a,L,t,u,d)}),qb=Ii(function(a,u){return Ni(a,O,t,t,t,u)});function Kb(a,u){if(typeof a!="function")throw new Hn(s);return u=u===t?u:et(u),lt(a,u)}function Jb(a,u){if(typeof a!="function")throw new Hn(s);return u=u==null?0:xt(et(u),0),lt(function(d){var b=d[u],P=tl(d,0,u);return b&&Qi(P,b),Ln(a,this,P)})}function jb(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new Hn(s);return Bt(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),Cf(a,u,{leading:b,maxWait:u,trailing:P})}function Yb(a){return bf(a,1)}function Qb(a,u){return _o($a(u),a)}function Zb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Xb(a){return zn(a,m)}function $b(a,u){return u=typeof u=="function"?u:t,zn(a,m,u)}function xb(a){return zn(a,_|m)}function ev(a,u){return u=typeof u=="function"?u:t,zn(a,_|m,u)}function tv(a,u){return u==null||fu(a,u,ln(u))}function $n(a,u){return a===u||a!==a&&u!==u}var nv=Gs(Ha),iv=Gs(function(a,u){return a>=u}),El=pu(function(){return arguments}())?pu:function(a){return Wt(a)&&Ct.call(a,"callee")&&!nu.call(a,"callee")},xe=ae.isArray,lv=Tn?An(Tn):dm;function kn(a){return a!=null&&$s(a.length)&&!Li(a)}function Kt(a){return Wt(a)&&kn(a)}function rv(a){return a===!0||a===!1||Wt(a)&&hn(a)==Ee}var nl=vp||No,sv=_s?An(_s):hm;function av(a){return Wt(a)&&a.nodeType===1&&!jr(a)}function ov(a){if(a==null)return!0;if(kn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||nl(a)||lr(a)||El(a)))return!a.length;var u=cn(a);if(u==wt||u==Zt)return!a.size;if(Kr(a))return!Ga(a).length;for(var d in a)if(Ct.call(a,d))return!1;return!0}function uv(a,u){return zr(a,u)}function fv(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?zr(a,u,t,d):!!b}function po(a){if(!Wt(a))return!1;var u=hn(a);return u==Ze||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function cv(a){return typeof a=="number"&&lu(a)}function Li(a){if(!Bt(a))return!1;var u=hn(a);return u==Nt||u==Yt||u==re||u==Fi}function Pf(a){return typeof a=="number"&&a==et(a)}function $s(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ne}function Bt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Wt(a){return a!=null&&typeof a=="object"}var Nf=Bo?An(Bo):_m;function dv(a,u){return a===u||za(a,u,ro(u))}function hv(a,u,d){return d=typeof d=="function"?d:t,za(a,u,ro(u),d)}function gv(a){return If(a)&&a!=+a}function _v(a){if($m(a))throw new Xe(r);return mu(a)}function pv(a){return a===null}function mv(a){return a==null}function If(a){return typeof a=="number"||Wt(a)&&hn(a)==Qt}function jr(a){if(!Wt(a)||hn(a)!=zt)return!1;var u=Ps(a);if(u===null)return!0;var d=Ct.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&Ss.call(d)==hp}var mo=Ho?An(Ho):pm;function bv(a){return Pf(a)&&a>=-ne&&a<=ne}var Tf=Wo?An(Wo):mm;function xs(a){return typeof a=="string"||!xe(a)&&Wt(a)&&hn(a)==Qn}function En(a){return typeof a=="symbol"||Wt(a)&&hn(a)==Dt}var lr=zo?An(zo):bm;function vv(a){return a===t}function wv(a){return Wt(a)&&cn(a)==Xt}function Sv(a){return Wt(a)&&hn(a)==Ui}var kv=Gs(qa),Cv=Gs(function(a,u){return a<=u});function Lf(a){if(!a)return[];if(kn(a))return xs(a)?Zn(a):Sn(a);if(Vr&&a[Vr])return tp(a[Vr]());var u=cn(a),d=u==wt?Ra:u==Zt?bs:rr;return d(a)}function Ai(a){if(!a)return a===0?a:0;if(a=Kn(a),a===he||a===-he){var u=a<0?-1:1;return u*Y}return a===a?a:0}function et(a){var u=Ai(a),d=u%1;return u===u?d?u-d:u:0}function Af(a){return a?Tl(et(a),0,ie):0}function Kn(a){if(typeof a=="number")return a;if(En(a))return Pe;if(Bt(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Bt(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Yo(a);var d=Pr.test(a);return d||gl.test(a)?kl(a.slice(2),d?2:8):Wl.test(a)?Pe:+a}function Rf(a){return oi(a,Cn(a))}function yv(a){return a?Tl(et(a),-ne,ne):a===0?a:0}function vt(a){return a==null?"":Rn(a)}var Pv=tr(function(a,u){if(Kr(u)||kn(u)){oi(u,ln(u),a);return}for(var d in u)Ct.call(u,d)&&Br(a,d,u[d])}),Ef=tr(function(a,u){oi(u,Cn(u),a)}),ea=tr(function(a,u,d,b){oi(u,Cn(u),a,b)}),Nv=tr(function(a,u,d,b){oi(u,ln(u),a,b)}),Iv=Ii(Fa);function Tv(a,u){var d=er(a);return u==null?d:uu(d,u)}var Lv=lt(function(a,u){a=At(a);var d=-1,b=u.length,P=b>2?u[2]:t;for(P&&gn(u[0],u[1],P)&&(b=1);++d<b;)for(var M=u[d],H=Cn(M),z=-1,Z=H.length;++z<Z;){var _e=H[z],pe=a[_e];(pe===t||$n(pe,Xl[_e])&&!Ct.call(a,_e))&&(a[_e]=M[_e])}return a}),Av=lt(function(a){return a.push(t,Yu),Ln(Df,t,a)});function Rv(a,u){return qo(a,Ke(u,3),ai)}function Ev(a,u){return qo(a,Ke(u,3),Ba)}function Dv(a,u){return a==null?a:Ua(a,Ke(u,3),Cn)}function Vv(a,u){return a==null?a:gu(a,Ke(u,3),Cn)}function Mv(a,u){return a&&ai(a,Ke(u,3))}function Ov(a,u){return a&&Ba(a,Ke(u,3))}function Fv(a){return a==null?[]:Ms(a,ln(a))}function Uv(a){return a==null?[]:Ms(a,Cn(a))}function bo(a,u,d){var b=a==null?t:Ll(a,u);return b===t?d:b}function Bv(a,u){return a!=null&&Xu(a,u,om)}function vo(a,u){return a!=null&&Xu(a,u,um)}var Hv=Gu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),a[u]=d},So(yn)),Wv=Gu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=ks.call(u)),Ct.call(a,u)?a[u].push(d):a[u]=[d]},Ke),zv=lt(Wr);function ln(a){return kn(a)?au(a):Ga(a)}function Cn(a){return kn(a)?au(a,!0):vm(a)}function Gv(a,u){var d={};return u=Ke(u,3),ai(a,function(b,P,M){Pi(d,u(b,P,M),b)}),d}function qv(a,u){var d={};return u=Ke(u,3),ai(a,function(b,P,M){Pi(d,P,u(b,P,M))}),d}var Kv=tr(function(a,u,d){Os(a,u,d)}),Df=tr(function(a,u,d,b){Os(a,u,d,b)}),Jv=Ii(function(a,u){var d={};if(a==null)return d;var b=!1;u=Ot(u,function(M){return M=el(M,a),b||(b=M.length>1),M}),oi(a,io(a),d),b&&(d=zn(d,_|p|m,Hm));for(var P=u.length;P--;)Qa(d,u[P]);return d});function jv(a,u){return Vf(a,Xs(Ke(u)))}var Yv=Ii(function(a,u){return a==null?{}:Sm(a,u)});function Vf(a,u){if(a==null)return{};var d=Ot(io(a),function(b){return[b]});return u=Ke(u),yu(a,d,function(b,P){return u(b,P[0])})}function Qv(a,u,d){u=el(u,a);var b=-1,P=u.length;for(P||(P=1,a=t);++b<P;){var M=a==null?t:a[ui(u[b])];M===t&&(b=P,M=d),a=Li(M)?M.call(a):M}return a}function Zv(a,u,d){return a==null?a:Gr(a,u,d)}function Xv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Gr(a,u,d,b)}var Mf=Ju(ln),Of=Ju(Cn);function $v(a,u,d){var b=xe(a),P=b||nl(a)||lr(a);if(u=Ke(u,4),d==null){var M=a&&a.constructor;P?d=b?new M:[]:Bt(a)?d=Li(M)?er(Ps(a)):{}:d={}}return(P?Bn:ai)(a,function(H,z,Z){return u(d,H,z,Z)}),d}function xv(a,u){return a==null?!0:Qa(a,u)}function e0(a,u,d){return a==null?a:Lu(a,u,$a(d))}function t0(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Lu(a,u,$a(d),b)}function rr(a){return a==null?[]:Aa(a,ln(a))}function n0(a){return a==null?[]:Aa(a,Cn(a))}function i0(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Kn(d),d=d===d?d:0),u!==t&&(u=Kn(u),u=u===u?u:0),Tl(Kn(a),u,d)}function l0(a,u,d){return u=Ai(u),d===t?(d=u,u=0):d=Ai(d),a=Kn(a),fm(a,u,d)}function r0(a,u,d){if(d&&typeof d!="boolean"&&gn(a,u,d)&&(u=d=t),d===t&&(typeof u=="boolean"?(d=u,u=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&u===t?(a=0,u=1):(a=Ai(a),u===t?(u=a,a=0):u=Ai(u)),a>u){var b=a;a=u,u=b}if(d||a%1||u%1){var P=ru();return fn(a+P*(u-a+ji("1e-"+((P+"").length-1))),u)}return Ja(a,u)}var s0=nr(function(a,u,d){return u=u.toLowerCase(),a+(d?Ff(u):u)});function Ff(a){return wo(vt(a).toLowerCase())}function Uf(a){return a=vt(a),a&&a.replace(pl,Z_).replace(Oe,"")}function a0(a,u,d){a=vt(a),u=Rn(u);var b=a.length;d=d===t?b:Tl(et(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function o0(a){return a=vt(a),a&&br.test(a)?a.replace(ul,X_):a}function u0(a){return a=vt(a),a&&cl.test(a)?a.replace(fl,"\\$&"):a}var f0=nr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),c0=nr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),d0=Hu("toLowerCase");function h0(a,u,d){a=vt(a),u=et(u);var b=u?Ql(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return zs(Ls(P),d)+a+zs(Ts(P),d)}function g0(a,u,d){a=vt(a),u=et(u);var b=u?Ql(a):0;return u&&b<u?a+zs(u-b,d):a}function _0(a,u,d){a=vt(a),u=et(u);var b=u?Ql(a):0;return u&&b<u?zs(u-b,d)+a:a}function p0(a,u,d){return d||u==null?u=0:u&&(u=+u),Cp(vt(a).replace(li,""),u||0)}function m0(a,u,d){return(d?gn(a,u,d):u===t)?u=1:u=et(u),ja(vt(a),u)}function b0(){var a=arguments,u=vt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var v0=nr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function w0(a,u,d){return d&&typeof d!="number"&&gn(a,u,d)&&(u=d=t),d=d===t?ie:d>>>0,d?(a=vt(a),a&&(typeof u=="string"||u!=null&&!mo(u))&&(u=Rn(u),!u&&Yl(a))?tl(Zn(a),0,d):a.split(u,d)):[]}var S0=nr(function(a,u,d){return a+(d?" ":"")+wo(u)});function k0(a,u,d){return a=vt(a),d=d==null?0:Tl(et(d),0,a.length),u=Rn(u),a.slice(d,d+u.length)==u}function C0(a,u,d){var b=E.templateSettings;d&&gn(a,u,d)&&(u=t),a=vt(a),u=ea({},u,b,ju);var P=ea({},u.imports,b.imports,ju),M=ln(P),H=Aa(P,M),z,Z,_e=0,pe=u.interpolate||vi,ve="__p += '",Le=Ea((u.escape||vi).source+"|"+pe.source+"|"+(pe===Fl?hl:vi).source+"|"+(u.evaluate||vi).source+"|$","g"),We="//# sourceURL="+(Ct.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ji+"]")+`
|
|
39
|
+
`;a.replace(Le,function(Ye,st,ot,Dn,_n,Vn){return ot||(ot=Dn),ve+=a.slice(_e,Vn).replace(zl,$_),st&&(z=!0,ve+=`' +
|
|
40
40
|
__e(`+st+`) +
|
|
41
|
-
'`),
|
|
42
|
-
`+
|
|
43
|
-
__p += '`),ot&&(
|
|
41
|
+
'`),_n&&(Z=!0,ve+=`';
|
|
42
|
+
`+_n+`;
|
|
43
|
+
__p += '`),ot&&(ve+=`' +
|
|
44
44
|
((__t = (`+ot+`)) == null ? '' : __t) +
|
|
45
|
-
'`),
|
|
46
|
-
`;var je=
|
|
47
|
-
`+
|
|
45
|
+
'`),_e=Vn+Ye.length,Ye}),ve+=`';
|
|
46
|
+
`;var je=Ct.call(u,"variable")&&u.variable;if(!je)ve=`with (obj) {
|
|
47
|
+
`+ve+`
|
|
48
48
|
}
|
|
49
|
-
`;else if(yr.test(je))throw new
|
|
49
|
+
`;else if(yr.test(je))throw new Xe(o);ve=(Z?ve.replace(bn,""):ve).replace(In,"$1").replace(ii,"$1;"),ve="function("+(je||"obj")+`) {
|
|
50
50
|
`+(je?"":`obj || (obj = {});
|
|
51
|
-
`)+"var __t, __p = ''"+(z?", __e = _.escape":"")+(
|
|
51
|
+
`)+"var __t, __p = ''"+(z?", __e = _.escape":"")+(Z?`, __j = Array.prototype.join;
|
|
52
52
|
function print() { __p += __j.call(arguments, '') }
|
|
53
53
|
`:`;
|
|
54
|
-
`)+
|
|
55
|
-
}`;var nt=Hf(function(){return ht(M,We+"return "+be).apply(t,H)});if(nt.source=be,po(nt))throw nt;return nt}function y0(a){return vt(a).toLowerCase()}function P0(a){return vt(a).toUpperCase()}function N0(a,u,d){if(a=vt(a),a&&(d||u===t))return Yo(a);if(!a||!(u=An(u)))return a;var b=Zn(a),P=Zn(u),M=Qo(b,P),H=Zo(b,P)+1;return tl(b,M,H).join("")}function I0(a,u,d){if(a=vt(a),a&&(d||u===t))return a.slice(0,$o(a)+1);if(!a||!(u=An(u)))return a;var b=Zn(a),P=Zo(b,Zn(u))+1;return tl(b,0,P).join("")}function T0(a,u,d){if(a=vt(a),a&&(d||u===t))return a.replace(li,"");if(!a||!(u=An(u)))return a;var b=Zn(a),P=Qo(b,Zn(u));return tl(b,P).join("")}function L0(a,u){var d=W,b=ae;if(Ht(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?An(u.omission):b}a=vt(a);var M=a.length;if(Yl(a)){var H=Zn(a);M=H.length}if(d>=M)return a;var z=d-Ql(b);if(z<1)return b;var $=H?tl(H,0,z).join(""):a.slice(0,z);if(P===t)return $+b;if(H&&(z+=$.length-z),mo(P)){if(a.slice(z).search(P)){var ge,_e=$;for(P.global||(P=Ea(P.source,vt(Wi.exec(P))+"g")),P.lastIndex=0;ge=P.exec(_e);)var be=ge.index;$=$.slice(0,be===t?z:be)}}else if(a.indexOf(An(P),z)!=z){var Le=$.lastIndexOf(P);Le>-1&&($=$.slice(0,Le))}return $+b}function A0(a){return a=vt(a),a&&Bi.test(a)?a.replace(bi,rp):a}var R0=nr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),wo=Hu("toUpperCase");function Bf(a,u,d){return a=vt(a),u=d?t:u,u===t?ep(a)?op(a):K_(a):a.match(u)||[]}var Hf=lt(function(a,u){try{return Tn(a,t,u)}catch(d){return po(d)?d:new Ze(d)}}),E0=Ii(function(a,u){return Bn(u,function(d){d=ui(d),Pi(a,d,go(a[d],a))}),a});function D0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ft(a,function(b){if(typeof b[1]!="function")throw new Hn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var M=a[P];if(Tn(M[0],this,b))return Tn(M[1],this,b)}})}function V0(a){return rm(zn(a,_))}function So(a){return function(){return a}}function M0(a,u){return a==null||a!==a?u:a}var O0=zu(),F0=zu(!0);function Cn(a){return a}function ko(a){return bu(typeof a=="function"?a:zn(a,_))}function U0(a){return wu(zn(a,_))}function B0(a,u){return Su(a,zn(u,_))}var H0=lt(function(a,u){return function(d){return Wr(d,a,u)}}),W0=lt(function(a,u){return function(d){return Wr(a,d,u)}});function Co(a,u,d){var b=nn(u),P=Ms(u,b);d==null&&!(Ht(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Ms(u,nn(u)));var M=!(Ht(d)&&"chain"in d)||!!d.chain,H=Li(a);return Bn(P,function(z){var $=u[z];a[z]=$,H&&(a.prototype[z]=function(){var ge=this.__chain__;if(M||ge){var _e=a(this.__wrapped__),be=_e.__actions__=wn(this.__actions__);return be.push({func:$,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return $.apply(a,Qi([this.value()],arguments))})}),a}function z0(){return tn._===this&&(tn._=gp),this}function yo(){}function G0(a){return a=et(a),lt(function(u){return ku(u,a)})}var q0=eo(Ft),K0=eo(Go),J0=eo(Pa);function Wf(a){return ao(a)?Na(ui(a)):km(a)}function j0(a){return function(u){return a==null?t:Ll(a,u)}}var Y0=qu(),Q0=qu(!0);function Po(){return[]}function No(){return!1}function Z0(){return{}}function X0(){return""}function $0(){return!0}function x0(a,u){if(a=et(a),a<1||a>ne)return[];var d=ie,b=un(a,ie);u=Ke(u),a-=ie;for(var P=La(b,u);++d<a;)u(d);return P}function ew(a){return xe(a)?Ft(a,ui):Rn(a)?[a]:wn(af(vt(a)))}function tw(a){var u=++dp;return vt(a)+u}var nw=Ws(function(a,u){return a+u},0),iw=to("ceil"),lw=Ws(function(a,u){return a/u},1),rw=to("floor");function sw(a){return a&&a.length?Vs(a,Cn,Ha):t}function aw(a,u){return a&&a.length?Vs(a,Ke(u,2),Ha):t}function ow(a){return Jo(a,Cn)}function uw(a,u){return Jo(a,Ke(u,2))}function fw(a){return a&&a.length?Vs(a,Cn,qa):t}function cw(a,u){return a&&a.length?Vs(a,Ke(u,2),qa):t}var dw=Ws(function(a,u){return a*u},1),hw=to("round"),gw=Ws(function(a,u){return a-u},0);function _w(a){return a&&a.length?Ta(a,Cn):0}function pw(a,u){return a&&a.length?Ta(a,Ke(u,2)):0}return E.after=Ub,E.ary=bf,E.assign=Pv,E.assignIn=Ef,E.assignInWith=ea,E.assignWith=Nv,E.at=Iv,E.before=vf,E.bind=go,E.bindAll=E0,E.bindKey=wf,E.castArray=Zb,E.chain=_f,E.chunk=r1,E.compact=s1,E.concat=a1,E.cond=D0,E.conforms=V0,E.constant=So,E.countBy=_b,E.create=Tv,E.curry=Sf,E.curryRight=kf,E.debounce=Cf,E.defaults=Lv,E.defaultsDeep=Av,E.defer=Bb,E.delay=Hb,E.difference=o1,E.differenceBy=u1,E.differenceWith=f1,E.drop=c1,E.dropRight=d1,E.dropRightWhile=h1,E.dropWhile=g1,E.fill=_1,E.filter=mb,E.flatMap=wb,E.flatMapDeep=Sb,E.flatMapDepth=kb,E.flatten=cf,E.flattenDeep=p1,E.flattenDepth=m1,E.flip=Wb,E.flow=O0,E.flowRight=F0,E.fromPairs=b1,E.functions=Fv,E.functionsIn=Uv,E.groupBy=Cb,E.initial=w1,E.intersection=S1,E.intersectionBy=k1,E.intersectionWith=C1,E.invert=Hv,E.invertBy=Wv,E.invokeMap=Pb,E.iteratee=ko,E.keyBy=Nb,E.keys=nn,E.keysIn=kn,E.map=Ys,E.mapKeys=Gv,E.mapValues=qv,E.matches=U0,E.matchesProperty=B0,E.memoize=Zs,E.merge=Kv,E.mergeWith=Df,E.method=H0,E.methodOf=W0,E.mixin=Co,E.negate=Xs,E.nthArg=G0,E.omit=Jv,E.omitBy=jv,E.once=zb,E.orderBy=Ib,E.over=q0,E.overArgs=Gb,E.overEvery=K0,E.overSome=J0,E.partial=_o,E.partialRight=yf,E.partition=Tb,E.pick=Yv,E.pickBy=Vf,E.property=Wf,E.propertyOf=j0,E.pull=I1,E.pullAll=hf,E.pullAllBy=T1,E.pullAllWith=L1,E.pullAt=A1,E.range=Y0,E.rangeRight=Q0,E.rearg=qb,E.reject=Rb,E.remove=R1,E.rest=Kb,E.reverse=co,E.sampleSize=Db,E.set=Zv,E.setWith=Xv,E.shuffle=Vb,E.slice=E1,E.sortBy=Fb,E.sortedUniq=B1,E.sortedUniqBy=H1,E.split=w0,E.spread=Jb,E.tail=W1,E.take=z1,E.takeRight=G1,E.takeRightWhile=q1,E.takeWhile=K1,E.tap=sb,E.throttle=jb,E.thru=js,E.toArray=Lf,E.toPairs=Mf,E.toPairsIn=Of,E.toPath=ew,E.toPlainObject=Rf,E.transform=$v,E.unary=Yb,E.union=J1,E.unionBy=j1,E.unionWith=Y1,E.uniq=Q1,E.uniqBy=Z1,E.uniqWith=X1,E.unset=xv,E.unzip=ho,E.unzipWith=gf,E.update=e0,E.updateWith=t0,E.values=rr,E.valuesIn=n0,E.without=$1,E.words=Bf,E.wrap=Qb,E.xor=x1,E.xorBy=eb,E.xorWith=tb,E.zip=nb,E.zipObject=ib,E.zipObjectDeep=lb,E.zipWith=rb,E.entries=Mf,E.entriesIn=Of,E.extend=Ef,E.extendWith=ea,Co(E,E),E.add=nw,E.attempt=Hf,E.camelCase=s0,E.capitalize=Ff,E.ceil=iw,E.clamp=i0,E.clone=Xb,E.cloneDeep=xb,E.cloneDeepWith=ev,E.cloneWith=$b,E.conformsTo=tv,E.deburr=Uf,E.defaultTo=M0,E.divide=lw,E.endsWith=a0,E.eq=$n,E.escape=o0,E.escapeRegExp=u0,E.every=pb,E.find=bb,E.findIndex=uf,E.findKey=Rv,E.findLast=vb,E.findLastIndex=ff,E.findLastKey=Ev,E.floor=rw,E.forEach=pf,E.forEachRight=mf,E.forIn=Dv,E.forInRight=Vv,E.forOwn=Mv,E.forOwnRight=Ov,E.get=bo,E.gt=nv,E.gte=iv,E.has=Bv,E.hasIn=vo,E.head=df,E.identity=Cn,E.includes=yb,E.indexOf=v1,E.inRange=l0,E.invoke=zv,E.isArguments=El,E.isArray=xe,E.isArrayBuffer=lv,E.isArrayLike=Sn,E.isArrayLikeObject=Jt,E.isBoolean=rv,E.isBuffer=nl,E.isDate=sv,E.isElement=av,E.isEmpty=ov,E.isEqual=uv,E.isEqualWith=fv,E.isError=po,E.isFinite=cv,E.isFunction=Li,E.isInteger=Pf,E.isLength=$s,E.isMap=Nf,E.isMatch=dv,E.isMatchWith=hv,E.isNaN=gv,E.isNative=_v,E.isNil=mv,E.isNull=pv,E.isNumber=If,E.isObject=Ht,E.isObjectLike=zt,E.isPlainObject=jr,E.isRegExp=mo,E.isSafeInteger=bv,E.isSet=Tf,E.isString=xs,E.isSymbol=Rn,E.isTypedArray=lr,E.isUndefined=vv,E.isWeakMap=wv,E.isWeakSet=Sv,E.join=y1,E.kebabCase=f0,E.last=qn,E.lastIndexOf=P1,E.lowerCase=c0,E.lowerFirst=d0,E.lt=kv,E.lte=Cv,E.max=sw,E.maxBy=aw,E.mean=ow,E.meanBy=uw,E.min=fw,E.minBy=cw,E.stubArray=Po,E.stubFalse=No,E.stubObject=Z0,E.stubString=X0,E.stubTrue=$0,E.multiply=dw,E.nth=N1,E.noConflict=z0,E.noop=yo,E.now=Qs,E.pad=h0,E.padEnd=g0,E.padStart=_0,E.parseInt=p0,E.random=r0,E.reduce=Lb,E.reduceRight=Ab,E.repeat=m0,E.replace=b0,E.result=Qv,E.round=hw,E.runInContext=Y,E.sample=Eb,E.size=Mb,E.snakeCase=v0,E.some=Ob,E.sortedIndex=D1,E.sortedIndexBy=V1,E.sortedIndexOf=M1,E.sortedLastIndex=O1,E.sortedLastIndexBy=F1,E.sortedLastIndexOf=U1,E.startCase=S0,E.startsWith=k0,E.subtract=gw,E.sum=_w,E.sumBy=pw,E.template=C0,E.times=x0,E.toFinite=Ai,E.toInteger=et,E.toLength=Af,E.toLower=y0,E.toNumber=Kn,E.toSafeInteger=yv,E.toString=vt,E.toUpper=P0,E.trim=N0,E.trimEnd=I0,E.trimStart=T0,E.truncate=L0,E.unescape=A0,E.uniqueId=tw,E.upperCase=R0,E.upperFirst=wo,E.each=pf,E.eachRight=mf,E.first=df,Co(E,function(){var a={};return ai(E,function(u,d){kt.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,Bn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),Bn(["drop","take"],function(a,u){at.prototype[a]=function(d){d=d===t?1:$t(et(d),0);var b=this.__filtered__&&!u?new at(this):this.clone();return b.__filtered__?b.__takeCount__=un(d,b.__takeCount__):b.__views__.push({size:un(d,ie),type:a+(b.__dir__<0?"Right":"")}),b},at.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Bn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==de||d==J;at.prototype[a]=function(P){var M=this.clone();return M.__iteratees__.push({iteratee:Ke(P,3),type:d}),M.__filtered__=M.__filtered__||b,M}}),Bn(["head","last"],function(a,u){var d="take"+(u?"Right":"");at.prototype[a]=function(){return this[d](1).value()[0]}}),Bn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");at.prototype[a]=function(){return this.__filtered__?new at(this):this[d](1)}}),at.prototype.compact=function(){return this.filter(Cn)},at.prototype.find=function(a){return this.filter(a).head()},at.prototype.findLast=function(a){return this.reverse().find(a)},at.prototype.invokeMap=lt(function(a,u){return typeof a=="function"?new at(this):this.map(function(d){return Wr(d,a,u)})}),at.prototype.reject=function(a){return this.filter(Xs(Ke(a)))},at.prototype.slice=function(a,u){a=et(a);var d=this;return d.__filtered__&&(a>0||u<0)?new at(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=et(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},at.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},at.prototype.toArray=function(){return this.take(ie)},ai(at.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=E[b?"take"+(u=="last"?"Right":""):u],M=b||/^find/.test(u);!P||(E.prototype[u]=function(){var H=this.__wrapped__,z=b?[1]:arguments,$=H instanceof at,ge=z[0],_e=$||xe(H),be=function(st){var ot=P.apply(E,Qi([st],z));return b&&Le?ot[0]:ot};_e&&d&&typeof ge=="function"&&ge.length!=1&&($=_e=!1);var Le=this.__chain__,We=!!this.__actions__.length,je=M&&!Le,nt=$&&!We;if(!M&&_e){H=nt?H:new at(this);var Ye=a.apply(H,z);return Ye.__actions__.push({func:js,args:[be],thisArg:t}),new Wn(Ye,Le)}return je&&nt?a.apply(this,z):(Ye=this.thru(be),je?b?Ye.value()[0]:Ye.value():Ye)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(a){var u=vs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);E.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(H){return u.apply(xe(H)?H:[],P)})}}),ai(at.prototype,function(a,u){var d=E[u];if(d){var b=d.name+"";kt.call(xl,b)||(xl[b]=[]),xl[b].push({name:u,func:d})}}),xl[Hs(t,C).name]=[{name:"wrapper",func:t}],at.prototype.clone=Ap,at.prototype.reverse=Rp,at.prototype.value=Ep,E.prototype.at=ab,E.prototype.chain=ob,E.prototype.commit=ub,E.prototype.next=fb,E.prototype.plant=db,E.prototype.reverse=hb,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=gb,E.prototype.first=E.prototype.head,Vr&&(E.prototype[Vr]=cb),E},Zl=up();Si?((Si.exports=Zl)._=Zl,Cl._=Zl):tn._=Zl}).call(Zr)})(Ol,Ol.exports);class u2{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=te.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ut.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Ut.shouldPreventNavigation(n)||te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(e))return;const c=se.getConfigValue("routing.useHashRouting"),g=se.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=se.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const m={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",m);window.dispatchEvent(v)}getWindowPath(){return se.getConfigValue("routing.useHashRouting")?te.getPathWithoutHash(window.location.hash):window.location.pathname.concat(window.location.search)}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=te.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=te.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(te.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return se.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?te.trimLeadingSlash(window.location.pathname)+window.location.search:te.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=se.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(se.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){se.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:c}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const h=await Ut.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(g,h)=>await Ut.getChildren(g,h));if(n.isExistingRoute){const g=te.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,te.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Ut.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?te.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Ut.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=se.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(c.split("?")[1]),v=me.getNodeParams(m),S=me.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,I=C;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(te.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let D=C,T=g.hideSideNav;if(T===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){T=!0;break}if(D.hideSideNav===!1){T=!1;break}D=D.parent}const L=me.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=L;const V={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:L,pathParams:h.pathParams,hideSideNav:T||!1,isolateView:g.isolateView||!1,tabNav:N};t.set(Object.assign({},V,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(N?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)yn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)yn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else if(O&&O.classList.remove("lui-webComponent"),!s)if(!r)await yn.navigateIframe(l,t,n);else{const F=t.get(),W=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(F.context),nodeParams:JSON.stringify(F.nodeParams),pathParams:JSON.stringify(F.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(W),withoutSync:!0})}Ut.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Ut.extractDataFromPath(e);N_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Vn.deleteNodesRecursively(c);break}}else r=!1}}else Vn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=yn.getActiveIframe(r);s&&s.vg&&yn.canCache(s.vg)?(yn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{yn.switchActiveIframe(Ie.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(te.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...r2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else te.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:hr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer")._luigi_node;const l=this.getGeneratedWCId(t);if(t===n){const o=document.querySelector(l);o.context=t.context;return}const r=this.removeLastChildFromWCContainer();if(!r)return;const s=e.get();hr.renderWebComponent(s.viewUrl,r,s.context,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Ol.exports.isEqual(n._luigi_pathParams,l.pathParams))return;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>ye.checkVisibleForFeatureToggles(s))),hr.renderWebComponentCompound(t,n,l.context),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),s=l[r],o=new URL(location.href),c=se.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,m]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(m,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let m=p.hash.split("?")[0];p.hash=m,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const tt=new u2;class f2{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ie.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?te.getPathWithoutHash(t):"",l=await Ut.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){hr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),l.context,n);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(te.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(te.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(te.computePxFromPercent(t.rightContentHeight,100-e))+Mn.getShellbar().clientHeight;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:te.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,te.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ie.getIframeContainer().style.marginBottom="",rt.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ie.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ie.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ie.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const rt=new f2;class c2{luigiAfterInit(){se.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{es.hideAppLoadingIndicator()},0)}}const d2=new c2;class h2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=se.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ei=new h2;class g2{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=se.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=se.getConfigValue(`auth.${e}`),n=rl.parseUrlAuthErrors()||{};if(!!await rl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),te.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),se.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=rl.getStoredAuthData();if(!t||!rl.isLoggedIn()){if(se.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await di.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&te.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):te.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(il(this._userInfoStore))),te.isFunction(se.getConfigValue("auth.events.onAuthSuccessful"))&&ei.isNewlyAuthorized()&&await di.handleAuthEvent("onAuthSuccessful",e,t),ei.removeNewlyAuthorized(),te.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),te.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ei.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=rl.getStoredAuthData(),t=async l=>{await di.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ei.removeAuthData()},n=se.getConfigValue(`auth.${se.getConfigValue("auth.use")}.logoutFn`);te.isFunction(n)?n(this.idpProviderInstance.settings,e,t):te.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=te.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!te.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(te.isFunction(se.getConfigValue("auth.events.onAuthConfigError")))await di.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&te.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const ln=new g2;class _2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(te.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const $r=new _2;class p2{getStoredAuthData(){return ei.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=te.getUrlParameter("error"),t=te.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await di.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const rl=new p2;class m2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),s=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),g=new RegExp(`</${n[l]}[/]>`,"g"),h=new RegExp(`</${n[l]} [/]>`,"g"),_=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(r,`<${n[l]}>`).replace(s,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(_,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((s,[o,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),m=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(m,_),links:s.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new m2;class b2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Ol.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Ol.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Mn.isCustomLuigiContainer()?Mn.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-Mn.getShellbar().clientHeight}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(se.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=se._remotePromises;return l||(l={counter:0,promises:[]},se._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return se._remotePromises?se._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const te=new b2;class v2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return Fw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:te.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(te.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ie.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=se.getConfigValue("settings.customSandboxRules"),c=se.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:te.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=se.getConfigValue("settings.iframeCreationInterceptor");if(te.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ie.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(!!this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ie.specialIframeTypes.filter(n=>Ie.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Fo.getActiveFeatureToggleList(),currentLocale:dt.getCurrentLocale(),currentTheme:I_.getCurrentTheme()}}}const Ie=new v2;class w2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=se.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return te.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Fo.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(di.isAuthorizationEnabled()){const r=rl.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=se.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=se.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,m=_.order||0;return p-m})};return e.forEach(g=>{let h,_;const p=g[t];te.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let m=r[h];m||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),m=[],r[h]=m),m.metaInfo||(m.metaInfo=_),te.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),te.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&h&&m.metaInfo.collapsible&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||m.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=se.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":dt.getTranslation(n)}async generateTopNavNodes(e){const t=await Ut.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(m=>{!n&&m===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const m=h.category.label||h.category;if(s[m]){if(s[m].icon||(s[m].icon=h.category.icon,s[m].altText=h.category.altText),p&&!s[m].badgeCounter)s[m].badgeCounter={label:"",count:()=>_};else if(p){const v=s[m].badgeCounter.count()+_;s[m].badgeCounter.count=()=>v}}else s[m]={isCat:!0,label:m,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[m]);s[m].children.push(h)}else o.push(h);_&&c.push(_)}const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const h=c.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";tt.navigateTo(t)}}getBurgerTooltipConfig(){const e=se.getConfigValue("settings.burgerTooltip");if(te.isObject(e)||e===!0){const t=e.navExpanded?dt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?dt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ut.extractDataFromPath(e);return!!await Ut.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Ol.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Ol.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=dt.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=yn.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=te.replaceVars(t,r,"viewGroupData.")}return t}}const ye=new w2;class S2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await fa.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ie.getLocation(e.viewUrl)===Ie.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=se.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=se.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return se.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(se.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=se.getConfigValue("routing.useHashRouting");Pn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?tt.getHashPath():tt.getModifiedPathname();e(l)}}),Pn.addEventListener("popstate",n=>{const l=t?tt.getHashPath(location.href):tt.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:tt.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+te.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,se.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(se.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=te.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=te.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=dt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=te.replaceVars(e,t.pathParams,":",!1),e=te.replaceVars(e,t.context,n),e=te.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];ll.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ll.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Fo.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=se.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=se.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([c,g],h)=>{r+=`${h>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ll.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ll.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!te.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&ll.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=se.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:dt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const me=new S2;class k2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const Fn=new k2;class C2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1,window.onunload=()=>this.removeAllEventListeners()}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Pn=new C2;class y2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ie.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Ie.sendMessageToIframe(s,r))}}const P2=new y2;class N2{constructor(){}processUserSettingGroups(){const e=[],t=se.getConfigValue("userSettings.userSettingGroups"),n=se.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(te.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Ie.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const fr=new N2;class I2{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Jf=new I2;function jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Yf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,c,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=G(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=G(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){R(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=le(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function T2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Yf(jf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=jf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Yf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&A(e),ft(n,l),i[5](null)}}}function L2(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=pt("getUnsavedChangesModalPromise"),c=pt("handleNavigation");On(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:v,links:S,closeAfter:y}=m.settings,C=pr.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,m.settings.id)})}),m.settings.afterInit){const N=s;m.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...m.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Yt(()=>{});function g(p,m){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){Xe[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class A2 extends At{constructor(e){super(),Lt(this,e,L2,T2,yt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Di=40,gi=13,hi=27,ba=32,R2=36,E2=35;function Qf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=jn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t=jn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=Ce(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function D2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,N,I=i[0].buttonDismiss+"",D,T,L,V,O,F=i[0].type&&Qf(i),W=i[0].buttonConfirm!==!1&&Zf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=G(),o=k("h2"),g=Ce(c),h=G(),_=k("div"),m=G(),v=k("footer"),S=k("div"),W&&W.c(),y=G(),C=k("div"),N=k("button"),D=Ce(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",T="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",L="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(ae,Z){R(ae,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,m),w(t,v),w(v,S),W&&W.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[le(window,"keydown",i[1]),le(N,"click",i[5])],V=!0)},p(ae,[Z]){ae[0].type?F?F.p(ae,Z):(F=Qf(ae),F.c(),F.m(r,s)):F&&(F.d(1),F=null),Z&1&&c!==(c=ae[0].header+"")&&Pe(g,c),Z&1&&p!==(p=ae[0].body+"")&&(_.innerHTML=p),ae[0].buttonConfirm!==!1?W?W.p(ae,Z):(W=Zf(ae),W.c(),W.m(S,y)):W&&(W.d(1),W=null),Z&1&&I!==(I=ae[0].buttonDismiss+"")&&Pe(D,I),Z&1&&T!==(T="fd-button "+(ae[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",T),Z&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+ae[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",L)},i:Fe,o:Fe,d(ae){ae&&A(e),F&&F.d(),W&&W.d(),V=!1,Qe(O)}}}function V2(i,e,t){const n=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Yt(()=>{const h={icon:r[l.type],header:dt.getTranslation("luigi.confirmationModal.header"),body:dt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Ie.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return ye.renderIconClassName(h)}function o(h){h.keyCode===hi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,c,g]}class M2 extends At{constructor(e){super(),Lt(this,e,V2,D2,yt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function O2(i){let e,t,n;const l=i[5].default,r=e_(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){R(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&i_(r,l,s,s[4],n?n_(l,s[4],o,null):l_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(U(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function F2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Wt();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},m=v=>{if(!h)return!0;const y=[...Ie.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return Yt(()=>{se.getConfigValue("settings.backdropDisabled")||(p(),Pn.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=m(S)),r("stateChanged",{backdropActive:!0}),Ie.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ie.enableA11yOfInactiveIframe()))}))}),On(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class ts extends At{constructor(e){super(),Lt(this,e,F2,O2,yt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ha(i,{delay:e=0,duration:t=400,easing:n=Do}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:U2}=Mi;function Xf(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new ts({props:{disable:i[2]}});let m=i[0].title&&$f(i);return{c(){e=k("div"),qe(t.$$.fragment),n=G(),l=k("div"),r=k("div"),m&&m.c(),s=G(),o=k("div"),c=k("div"),g=k("button"),g.innerHTML='<i class="sap-icon sap-icon--decline"></i>',f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-10o42af")},m(v,S){R(v,e,S),ze(t,e,null),w(e,n),w(e,l),w(l,r),m&&m.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),h=!0,_||(p=le(g,"click",i[12]),_=!0)},p(v,S){const y={};S&4&&(y.disable=v[2]),t.$set(y),v[0].title?m?m.p(v,S):(m=$f(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(U(t.$$.fragment,v),h=!0)},o(v){q(t.$$.fragment,v),h=!1},d(v){v&&A(e),Ge(t),m&&m.d(),_=!1,p()}}}function $f(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Ce(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Pe(n,t)},d(l){l&&A(e)}}}function xf(i){let e;const t=i[11].default,n=e_(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&i_(n,t,l,l[10],e?n_(t,l[10],r,null):l_(l[10]),null)},i(l){e||(U(n,l),e=!0)},o(l){q(n,l),e=!1},d(l){n&&n.d(l)}}}function ec(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
54
|
+
`)+ve+`return __p
|
|
55
|
+
}`;var nt=Hf(function(){return gt(M,We+"return "+ve).apply(t,H)});if(nt.source=ve,po(nt))throw nt;return nt}function y0(a){return vt(a).toLowerCase()}function P0(a){return vt(a).toUpperCase()}function N0(a,u,d){if(a=vt(a),a&&(d||u===t))return Yo(a);if(!a||!(u=Rn(u)))return a;var b=Zn(a),P=Zn(u),M=Qo(b,P),H=Zo(b,P)+1;return tl(b,M,H).join("")}function I0(a,u,d){if(a=vt(a),a&&(d||u===t))return a.slice(0,$o(a)+1);if(!a||!(u=Rn(u)))return a;var b=Zn(a),P=Zo(b,Zn(u))+1;return tl(b,0,P).join("")}function T0(a,u,d){if(a=vt(a),a&&(d||u===t))return a.replace(li,"");if(!a||!(u=Rn(u)))return a;var b=Zn(a),P=Qo(b,Zn(u));return tl(b,P).join("")}function L0(a,u){var d=W,b=oe;if(Bt(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?Rn(u.omission):b}a=vt(a);var M=a.length;if(Yl(a)){var H=Zn(a);M=H.length}if(d>=M)return a;var z=d-Ql(b);if(z<1)return b;var Z=H?tl(H,0,z).join(""):a.slice(0,z);if(P===t)return Z+b;if(H&&(z+=Z.length-z),mo(P)){if(a.slice(z).search(P)){var _e,pe=Z;for(P.global||(P=Ea(P.source,vt(Wi.exec(P))+"g")),P.lastIndex=0;_e=P.exec(pe);)var ve=_e.index;Z=Z.slice(0,ve===t?z:ve)}}else if(a.indexOf(Rn(P),z)!=z){var Le=Z.lastIndexOf(P);Le>-1&&(Z=Z.slice(0,Le))}return Z+b}function A0(a){return a=vt(a),a&&Bi.test(a)?a.replace(bi,rp):a}var R0=nr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),wo=Hu("toUpperCase");function Bf(a,u,d){return a=vt(a),u=d?t:u,u===t?ep(a)?op(a):K_(a):a.match(u)||[]}var Hf=lt(function(a,u){try{return Ln(a,t,u)}catch(d){return po(d)?d:new Xe(d)}}),E0=Ii(function(a,u){return Bn(u,function(d){d=ui(d),Pi(a,d,go(a[d],a))}),a});function D0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ot(a,function(b){if(typeof b[1]!="function")throw new Hn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var M=a[P];if(Ln(M[0],this,b))return Ln(M[1],this,b)}})}function V0(a){return rm(zn(a,_))}function So(a){return function(){return a}}function M0(a,u){return a==null||a!==a?u:a}var O0=zu(),F0=zu(!0);function yn(a){return a}function ko(a){return bu(typeof a=="function"?a:zn(a,_))}function U0(a){return wu(zn(a,_))}function B0(a,u){return Su(a,zn(u,_))}var H0=lt(function(a,u){return function(d){return Wr(d,a,u)}}),W0=lt(function(a,u){return function(d){return Wr(a,d,u)}});function Co(a,u,d){var b=ln(u),P=Ms(u,b);d==null&&!(Bt(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Ms(u,ln(u)));var M=!(Bt(d)&&"chain"in d)||!!d.chain,H=Li(a);return Bn(P,function(z){var Z=u[z];a[z]=Z,H&&(a.prototype[z]=function(){var _e=this.__chain__;if(M||_e){var pe=a(this.__wrapped__),ve=pe.__actions__=Sn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),pe.__chain__=_e,pe}return Z.apply(a,Qi([this.value()],arguments))})}),a}function z0(){return nn._===this&&(nn._=gp),this}function yo(){}function G0(a){return a=et(a),lt(function(u){return ku(u,a)})}var q0=eo(Ot),K0=eo(Go),J0=eo(Pa);function Wf(a){return ao(a)?Na(ui(a)):km(a)}function j0(a){return function(u){return a==null?t:Ll(a,u)}}var Y0=qu(),Q0=qu(!0);function Po(){return[]}function No(){return!1}function Z0(){return{}}function X0(){return""}function $0(){return!0}function x0(a,u){if(a=et(a),a<1||a>ne)return[];var d=ie,b=fn(a,ie);u=Ke(u),a-=ie;for(var P=La(b,u);++d<a;)u(d);return P}function ew(a){return xe(a)?Ot(a,ui):En(a)?[a]:Sn(af(vt(a)))}function tw(a){var u=++dp;return vt(a)+u}var nw=Ws(function(a,u){return a+u},0),iw=to("ceil"),lw=Ws(function(a,u){return a/u},1),rw=to("floor");function sw(a){return a&&a.length?Vs(a,yn,Ha):t}function aw(a,u){return a&&a.length?Vs(a,Ke(u,2),Ha):t}function ow(a){return Jo(a,yn)}function uw(a,u){return Jo(a,Ke(u,2))}function fw(a){return a&&a.length?Vs(a,yn,qa):t}function cw(a,u){return a&&a.length?Vs(a,Ke(u,2),qa):t}var dw=Ws(function(a,u){return a*u},1),hw=to("round"),gw=Ws(function(a,u){return a-u},0);function _w(a){return a&&a.length?Ta(a,yn):0}function pw(a,u){return a&&a.length?Ta(a,Ke(u,2)):0}return E.after=Ub,E.ary=bf,E.assign=Pv,E.assignIn=Ef,E.assignInWith=ea,E.assignWith=Nv,E.at=Iv,E.before=vf,E.bind=go,E.bindAll=E0,E.bindKey=wf,E.castArray=Zb,E.chain=_f,E.chunk=r1,E.compact=s1,E.concat=a1,E.cond=D0,E.conforms=V0,E.constant=So,E.countBy=_b,E.create=Tv,E.curry=Sf,E.curryRight=kf,E.debounce=Cf,E.defaults=Lv,E.defaultsDeep=Av,E.defer=Bb,E.delay=Hb,E.difference=o1,E.differenceBy=u1,E.differenceWith=f1,E.drop=c1,E.dropRight=d1,E.dropRightWhile=h1,E.dropWhile=g1,E.fill=_1,E.filter=mb,E.flatMap=wb,E.flatMapDeep=Sb,E.flatMapDepth=kb,E.flatten=cf,E.flattenDeep=p1,E.flattenDepth=m1,E.flip=Wb,E.flow=O0,E.flowRight=F0,E.fromPairs=b1,E.functions=Fv,E.functionsIn=Uv,E.groupBy=Cb,E.initial=w1,E.intersection=S1,E.intersectionBy=k1,E.intersectionWith=C1,E.invert=Hv,E.invertBy=Wv,E.invokeMap=Pb,E.iteratee=ko,E.keyBy=Nb,E.keys=ln,E.keysIn=Cn,E.map=Ys,E.mapKeys=Gv,E.mapValues=qv,E.matches=U0,E.matchesProperty=B0,E.memoize=Zs,E.merge=Kv,E.mergeWith=Df,E.method=H0,E.methodOf=W0,E.mixin=Co,E.negate=Xs,E.nthArg=G0,E.omit=Jv,E.omitBy=jv,E.once=zb,E.orderBy=Ib,E.over=q0,E.overArgs=Gb,E.overEvery=K0,E.overSome=J0,E.partial=_o,E.partialRight=yf,E.partition=Tb,E.pick=Yv,E.pickBy=Vf,E.property=Wf,E.propertyOf=j0,E.pull=I1,E.pullAll=hf,E.pullAllBy=T1,E.pullAllWith=L1,E.pullAt=A1,E.range=Y0,E.rangeRight=Q0,E.rearg=qb,E.reject=Rb,E.remove=R1,E.rest=Kb,E.reverse=co,E.sampleSize=Db,E.set=Zv,E.setWith=Xv,E.shuffle=Vb,E.slice=E1,E.sortBy=Fb,E.sortedUniq=B1,E.sortedUniqBy=H1,E.split=w0,E.spread=Jb,E.tail=W1,E.take=z1,E.takeRight=G1,E.takeRightWhile=q1,E.takeWhile=K1,E.tap=sb,E.throttle=jb,E.thru=js,E.toArray=Lf,E.toPairs=Mf,E.toPairsIn=Of,E.toPath=ew,E.toPlainObject=Rf,E.transform=$v,E.unary=Yb,E.union=J1,E.unionBy=j1,E.unionWith=Y1,E.uniq=Q1,E.uniqBy=Z1,E.uniqWith=X1,E.unset=xv,E.unzip=ho,E.unzipWith=gf,E.update=e0,E.updateWith=t0,E.values=rr,E.valuesIn=n0,E.without=$1,E.words=Bf,E.wrap=Qb,E.xor=x1,E.xorBy=eb,E.xorWith=tb,E.zip=nb,E.zipObject=ib,E.zipObjectDeep=lb,E.zipWith=rb,E.entries=Mf,E.entriesIn=Of,E.extend=Ef,E.extendWith=ea,Co(E,E),E.add=nw,E.attempt=Hf,E.camelCase=s0,E.capitalize=Ff,E.ceil=iw,E.clamp=i0,E.clone=Xb,E.cloneDeep=xb,E.cloneDeepWith=ev,E.cloneWith=$b,E.conformsTo=tv,E.deburr=Uf,E.defaultTo=M0,E.divide=lw,E.endsWith=a0,E.eq=$n,E.escape=o0,E.escapeRegExp=u0,E.every=pb,E.find=bb,E.findIndex=uf,E.findKey=Rv,E.findLast=vb,E.findLastIndex=ff,E.findLastKey=Ev,E.floor=rw,E.forEach=pf,E.forEachRight=mf,E.forIn=Dv,E.forInRight=Vv,E.forOwn=Mv,E.forOwnRight=Ov,E.get=bo,E.gt=nv,E.gte=iv,E.has=Bv,E.hasIn=vo,E.head=df,E.identity=yn,E.includes=yb,E.indexOf=v1,E.inRange=l0,E.invoke=zv,E.isArguments=El,E.isArray=xe,E.isArrayBuffer=lv,E.isArrayLike=kn,E.isArrayLikeObject=Kt,E.isBoolean=rv,E.isBuffer=nl,E.isDate=sv,E.isElement=av,E.isEmpty=ov,E.isEqual=uv,E.isEqualWith=fv,E.isError=po,E.isFinite=cv,E.isFunction=Li,E.isInteger=Pf,E.isLength=$s,E.isMap=Nf,E.isMatch=dv,E.isMatchWith=hv,E.isNaN=gv,E.isNative=_v,E.isNil=mv,E.isNull=pv,E.isNumber=If,E.isObject=Bt,E.isObjectLike=Wt,E.isPlainObject=jr,E.isRegExp=mo,E.isSafeInteger=bv,E.isSet=Tf,E.isString=xs,E.isSymbol=En,E.isTypedArray=lr,E.isUndefined=vv,E.isWeakMap=wv,E.isWeakSet=Sv,E.join=y1,E.kebabCase=f0,E.last=qn,E.lastIndexOf=P1,E.lowerCase=c0,E.lowerFirst=d0,E.lt=kv,E.lte=Cv,E.max=sw,E.maxBy=aw,E.mean=ow,E.meanBy=uw,E.min=fw,E.minBy=cw,E.stubArray=Po,E.stubFalse=No,E.stubObject=Z0,E.stubString=X0,E.stubTrue=$0,E.multiply=dw,E.nth=N1,E.noConflict=z0,E.noop=yo,E.now=Qs,E.pad=h0,E.padEnd=g0,E.padStart=_0,E.parseInt=p0,E.random=r0,E.reduce=Lb,E.reduceRight=Ab,E.repeat=m0,E.replace=b0,E.result=Qv,E.round=hw,E.runInContext=j,E.sample=Eb,E.size=Mb,E.snakeCase=v0,E.some=Ob,E.sortedIndex=D1,E.sortedIndexBy=V1,E.sortedIndexOf=M1,E.sortedLastIndex=O1,E.sortedLastIndexBy=F1,E.sortedLastIndexOf=U1,E.startCase=S0,E.startsWith=k0,E.subtract=gw,E.sum=_w,E.sumBy=pw,E.template=C0,E.times=x0,E.toFinite=Ai,E.toInteger=et,E.toLength=Af,E.toLower=y0,E.toNumber=Kn,E.toSafeInteger=yv,E.toString=vt,E.toUpper=P0,E.trim=N0,E.trimEnd=I0,E.trimStart=T0,E.truncate=L0,E.unescape=A0,E.uniqueId=tw,E.upperCase=R0,E.upperFirst=wo,E.each=pf,E.eachRight=mf,E.first=df,Co(E,function(){var a={};return ai(E,function(u,d){Ct.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,Bn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),Bn(["drop","take"],function(a,u){at.prototype[a]=function(d){d=d===t?1:xt(et(d),0);var b=this.__filtered__&&!u?new at(this):this.clone();return b.__filtered__?b.__takeCount__=fn(d,b.__takeCount__):b.__views__.push({size:fn(d,ie),type:a+(b.__dir__<0?"Right":"")}),b},at.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Bn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==x||d==J;at.prototype[a]=function(P){var M=this.clone();return M.__iteratees__.push({iteratee:Ke(P,3),type:d}),M.__filtered__=M.__filtered__||b,M}}),Bn(["head","last"],function(a,u){var d="take"+(u?"Right":"");at.prototype[a]=function(){return this[d](1).value()[0]}}),Bn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");at.prototype[a]=function(){return this.__filtered__?new at(this):this[d](1)}}),at.prototype.compact=function(){return this.filter(yn)},at.prototype.find=function(a){return this.filter(a).head()},at.prototype.findLast=function(a){return this.reverse().find(a)},at.prototype.invokeMap=lt(function(a,u){return typeof a=="function"?new at(this):this.map(function(d){return Wr(d,a,u)})}),at.prototype.reject=function(a){return this.filter(Xs(Ke(a)))},at.prototype.slice=function(a,u){a=et(a);var d=this;return d.__filtered__&&(a>0||u<0)?new at(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=et(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},at.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},at.prototype.toArray=function(){return this.take(ie)},ai(at.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=E[b?"take"+(u=="last"?"Right":""):u],M=b||/^find/.test(u);!P||(E.prototype[u]=function(){var H=this.__wrapped__,z=b?[1]:arguments,Z=H instanceof at,_e=z[0],pe=Z||xe(H),ve=function(st){var ot=P.apply(E,Qi([st],z));return b&&Le?ot[0]:ot};pe&&d&&typeof _e=="function"&&_e.length!=1&&(Z=pe=!1);var Le=this.__chain__,We=!!this.__actions__.length,je=M&&!Le,nt=Z&&!We;if(!M&&pe){H=nt?H:new at(this);var Ye=a.apply(H,z);return Ye.__actions__.push({func:js,args:[ve],thisArg:t}),new Wn(Ye,Le)}return je&&nt?a.apply(this,z):(Ye=this.thru(ve),je?b?Ye.value()[0]:Ye.value():Ye)})}),Bn(["pop","push","shift","sort","splice","unshift"],function(a){var u=vs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);E.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(H){return u.apply(xe(H)?H:[],P)})}}),ai(at.prototype,function(a,u){var d=E[u];if(d){var b=d.name+"";Ct.call(xl,b)||(xl[b]=[]),xl[b].push({name:u,func:d})}}),xl[Hs(t,C).name]=[{name:"wrapper",func:t}],at.prototype.clone=Ap,at.prototype.reverse=Rp,at.prototype.value=Ep,E.prototype.at=ab,E.prototype.chain=ob,E.prototype.commit=ub,E.prototype.next=fb,E.prototype.plant=db,E.prototype.reverse=hb,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=gb,E.prototype.first=E.prototype.head,Vr&&(E.prototype[Vr]=cb),E},Zl=up();Si?((Si.exports=Zl)._=Zl,Cl._=Zl):nn._=Zl}).call(Zr)})(Ol,Ol.exports);class u2{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=te.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ft.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Ft.shouldPreventNavigation(n)||te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(e))return;const c=se.getConfigValue("routing.useHashRouting"),g=se.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=se.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const m={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",m);window.dispatchEvent(v)}getWindowPath(){return se.getConfigValue("routing.useHashRouting")?te.getPathWithoutHash(window.location.hash):window.location.pathname.concat(window.location.search)}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=te.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=te.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(te.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return se.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?te.trimLeadingSlash(window.location.pathname)+window.location.search:te.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=se.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(se.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){se.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:c}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const h=await Ft.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(g,h)=>await Ft.getChildren(g,h));if(n.isExistingRoute){const g=te.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,te.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Ft.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?te.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Ft.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=se.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(c.split("?")[1]),v=me.getNodeParams(m),S=me.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,I=C;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(te.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let D=C,T=g.hideSideNav;if(T===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){T=!0;break}if(D.hideSideNav===!1){T=!1;break}D=D.parent}const L=me.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=L;const V={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:L,pathParams:h.pathParams,hideSideNav:T||!1,isolateView:g.isolateView||!1,tabNav:N};t.set(Object.assign({},V,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(N?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Pn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Pn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else if(O&&O.classList.remove("lui-webComponent"),!s)if(!r)await Pn.navigateIframe(l,t,n);else{const F=t.get(),W=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(F.context),nodeParams:JSON.stringify(F.nodeParams),pathParams:JSON.stringify(F.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(W),withoutSync:!0})}Ft.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Ft.extractDataFromPath(e);N_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Mn.deleteNodesRecursively(c);break}}else r=!1}}else Mn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=Pn.getActiveIframe(r);s&&s.vg&&Pn.canCache(s.vg)?(Pn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Pn.switchActiveIframe(Ie.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(te.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...r2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else te.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:hr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer")._luigi_node;const l=this.getGeneratedWCId(t);if(t===n){const o=document.querySelector(l);o.context=t.context;return}const r=this.removeLastChildFromWCContainer();if(!r)return;const s=e.get();hr.renderWebComponent(s.viewUrl,r,s.context,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Ol.exports.isEqual(n._luigi_pathParams,l.pathParams))return;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>Ce.checkVisibleForFeatureToggles(s))),hr.renderWebComponentCompound(t,n,l.context),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),s=l[r],o=new URL(location.href),c=se.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,m]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(m,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let m=p.hash.split("?")[0];p.hash=m,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(se.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const tt=new u2;class f2{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ie.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?te.getPathWithoutHash(t):"",l=await Ft.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){hr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),l.context,n);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(te.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(te.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(te.computePxFromPercent(t.rightContentHeight,100-e))+On.getShellbar().clientHeight;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:te.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,te.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ie.getIframeContainer().style.marginBottom="",rt.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ie.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ie.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ie.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const rt=new f2;class c2{luigiAfterInit(){se.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{es.hideAppLoadingIndicator()},0)}}const d2=new c2;class h2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=se.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ei=new h2;class g2{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=se.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=se.getConfigValue(`auth.${e}`),n=rl.parseUrlAuthErrors()||{};if(!!await rl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),te.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),se.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=rl.getStoredAuthData();if(!t||!rl.isLoggedIn()){if(se.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await di.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&te.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):te.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(il(this._userInfoStore))),te.isFunction(se.getConfigValue("auth.events.onAuthSuccessful"))&&ei.isNewlyAuthorized()&&await di.handleAuthEvent("onAuthSuccessful",e,t),ei.removeNewlyAuthorized(),te.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),te.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ei.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=rl.getStoredAuthData(),t=async l=>{await di.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ei.removeAuthData()},n=se.getConfigValue(`auth.${se.getConfigValue("auth.use")}.logoutFn`);te.isFunction(n)?n(this.idpProviderInstance.settings,e,t):te.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=te.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!te.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(te.isFunction(se.getConfigValue("auth.events.onAuthConfigError")))await di.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&te.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const rn=new g2;class _2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(te.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const $r=new _2;class p2{getStoredAuthData(){return ei.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=te.getUrlParameter("error"),t=te.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await di.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const rl=new p2;class m2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),s=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),g=new RegExp(`</${n[l]}[/]>`,"g"),h=new RegExp(`</${n[l]} [/]>`,"g"),_=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(r,`<${n[l]}>`).replace(s,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(_,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((s,[o,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),m=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(m,_),links:s.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new m2;class b2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Ol.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Ol.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return On.isCustomLuigiContainer()?On.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-On.getShellbar().clientHeight}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(se.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=se._remotePromises;return l||(l={counter:0,promises:[]},se._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return se._remotePromises?se._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const te=new b2;class v2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return Fw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:te.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(te.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ie.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=se.getConfigValue("settings.customSandboxRules"),c=se.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:te.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=se.getConfigValue("settings.iframeCreationInterceptor");if(te.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ie.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(!!this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ie.specialIframeTypes.filter(n=>Ie.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Fo.getActiveFeatureToggleList(),currentLocale:ht.getCurrentLocale(),currentTheme:I_.getCurrentTheme()}}}const Ie=new v2;class w2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=se.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return te.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Fo.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(di.isAuthorizationEnabled()){const r=rl.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=se.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=se.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,m=_.order||0;return p-m})};return e.forEach(g=>{let h,_;const p=g[t];te.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let m=r[h];m||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),m=[],r[h]=m),m.metaInfo||(m.metaInfo=_),te.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),te.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&h&&m.metaInfo.collapsible&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||m.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=se.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":ht.getTranslation(n)}async generateTopNavNodes(e){const t=await Ft.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(m=>{!n&&m===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const m=h.category.label||h.category;if(s[m]){if(s[m].icon||(s[m].icon=h.category.icon,s[m].altText=h.category.altText),p&&!s[m].badgeCounter)s[m].badgeCounter={label:"",count:()=>_};else if(p){const v=s[m].badgeCounter.count()+_;s[m].badgeCounter.count=()=>v}}else s[m]={isCat:!0,label:m,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[m]);s[m].children.push(h)}else o.push(h);_&&c.push(_)}const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const h=c.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";tt.navigateTo(t)}}getBurgerTooltipConfig(){const e=se.getConfigValue("settings.burgerTooltip");if(te.isObject(e)||e===!0){const t=e.navExpanded?ht.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?ht.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ft.extractDataFromPath(e);return!!await Ft.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Ol.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Ol.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=ht.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Pn.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=te.replaceVars(t,r,"viewGroupData.")}return t}}const Ce=new w2;class S2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await fa.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ie.getLocation(e.viewUrl)===Ie.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=se.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=se.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return se.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(se.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=se.getConfigValue("routing.useHashRouting");Nn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?tt.getHashPath():tt.getModifiedPathname();e(l)}}),Nn.addEventListener("popstate",n=>{const l=t?tt.getHashPath(location.href):tt.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:tt.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+te.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,se.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(se.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=te.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=te.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=ht.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=te.replaceVars(e,t.pathParams,":",!1),e=te.replaceVars(e,t.context,n),e=te.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];ll.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ll.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Fo.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=se.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=se.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([c,g],h)=>{r+=`${h>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ll.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ll.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!te.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&ll.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=se.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:ht.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const me=new S2;class k2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const un=new k2;class C2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1,window.onunload=()=>this.removeAllEventListeners()}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Nn=new C2;class y2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ie.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Ie.sendMessageToIframe(s,r))}}const P2=new y2;class N2{constructor(){}processUserSettingGroups(){const e=[],t=se.getConfigValue("userSettings.userSettingGroups"),n=se.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(te.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Ie.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const fr=new N2;class I2{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Jf=new I2;function jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Yf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,c,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=G(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=G(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){R(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=le(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function T2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Yf(jf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=jf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Yf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&A(e),ft(n,l),i[5](null)}}}function L2(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ct("getUnsavedChangesModalPromise"),c=ct("handleNavigation");Fn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:v,links:S,closeAfter:y}=m.settings,C=pr.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,m.settings.id)})}),m.settings.afterInit){const N=s;m.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...m.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),jt(()=>{});function g(p,m){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class A2 extends Et{constructor(e){super(),Rt(this,e,L2,T2,Pt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Di=40,gi=13,hi=27,ba=32,R2=36,E2=35;function Qf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=jn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t=jn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=ye(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function D2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,N,I=i[0].buttonDismiss+"",D,T,L,V,O,F=i[0].type&&Qf(i),W=i[0].buttonConfirm!==!1&&Zf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=G(),o=k("h2"),g=ye(c),h=G(),_=k("div"),m=G(),v=k("footer"),S=k("div"),W&&W.c(),y=G(),C=k("div"),N=k("button"),D=ye(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",T="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",L="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(oe,fe){R(oe,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,m),w(t,v),w(v,S),W&&W.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[le(window,"keydown",i[1]),le(N,"click",i[5])],V=!0)},p(oe,[fe]){oe[0].type?F?F.p(oe,fe):(F=Qf(oe),F.c(),F.m(r,s)):F&&(F.d(1),F=null),fe&1&&c!==(c=oe[0].header+"")&&Ne(g,c),fe&1&&p!==(p=oe[0].body+"")&&(_.innerHTML=p),oe[0].buttonConfirm!==!1?W?W.p(oe,fe):(W=Zf(oe),W.c(),W.m(S,y)):W&&(W.d(1),W=null),fe&1&&I!==(I=oe[0].buttonDismiss+"")&&Ne(D,I),fe&1&&T!==(T="fd-button "+(oe[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",T),fe&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+oe[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",L)},i:Fe,o:Fe,d(oe){oe&&A(e),F&&F.d(),W&&W.d(),V=!1,Qe(O)}}}function V2(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),jt(()=>{const h={icon:r[l.type],header:ht.getTranslation("luigi.confirmationModal.header"),body:ht.getTranslation("luigi.confirmationModal.body"),buttonDismiss:ht.getTranslation("luigi.button.dismiss"),buttonConfirm:ht.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Ie.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return Ce.renderIconClassName(h)}function o(h){h.keyCode===hi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,c,g]}class M2 extends Et{constructor(e){super(),Rt(this,e,V2,D2,Pt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function O2(i){let e,t,n;const l=i[5].default,r=e_(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){R(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&i_(r,l,s,s[4],n?n_(l,s[4],o,null):l_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(U(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function F2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},m=v=>{if(!h)return!0;const y=[...Ie.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return jt(()=>{se.getConfigValue("settings.backdropDisabled")||(p(),Nn.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=m(S)),r("stateChanged",{backdropActive:!0}),Ie.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ie.enableA11yOfInactiveIframe()))}))}),Fn(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class ts extends Et{constructor(e){super(),Rt(this,e,F2,O2,Pt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ha(i,{delay:e=0,duration:t=400,easing:n=Do}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:U2}=Mi;function Xf(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new ts({props:{disable:i[2]}});let m=i[0].title&&$f(i);return{c(){e=k("div"),qe(t.$$.fragment),n=G(),l=k("div"),r=k("div"),m&&m.c(),s=G(),o=k("div"),c=k("div"),g=k("button"),g.innerHTML='<i class="sap-icon sap-icon--decline"></i>',f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-10o42af")},m(v,S){R(v,e,S),ze(t,e,null),w(e,n),w(e,l),w(l,r),m&&m.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),h=!0,_||(p=le(g,"click",i[12]),_=!0)},p(v,S){const y={};S&4&&(y.disable=v[2]),t.$set(y),v[0].title?m?m.p(v,S):(m=$f(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(U(t.$$.fragment,v),h=!0)},o(v){q(t.$$.fragment,v),h=!1},d(v){v&&A(e),Ge(t),m&&m.d(),_=!1,p()}}}function $f(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=ye(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ne(n,t)},d(l){l&&A(e)}}}function xf(i){let e;const t=i[11].default,n=e_(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&i_(n,t,l,l[10],e?n_(t,l[10],r,null):l_(l[10]),null)},i(l){e||(U(n,l),e=!0)},o(l){q(n,l),e=!1},d(l){n&&n.d(l)}}}function ec(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
56
56
|
<div class="fd-busy-indicator__circle"></div>
|
|
57
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-10o42af"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=g_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=__(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function B2(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Xf(i),N=i[5]&&xf(i),I=i[4]&&ec();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=G(),l=k("div"),N&&N.c(),r=G(),s=k("div"),g=G(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-10o42af"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-10o42af"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-10o42af"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=jn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"),f(e,"style",m=i[6]?"z-index:1001":"")},m(D,T){R(D,e,T),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=le(U2,"keydown",i[3]),S=!0)},p(D,[T]){D[6]||D[5]&&D[0].header?C?(C.p(D,T),T&97&&U(C,1)):(C=Xf(D),C.c(),U(C,1),C.m(t,n)):C&&(Ae(),q(C,1,1,()=>{C=null}),Re()),D[5]?N?(N.p(D,T),T&32&&U(N,1)):(N=xf(D),N.c(),U(N,1),N.m(l,r)):N&&(Ae(),q(N,1,1,()=>{N=null}),Re()),(!v||T&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||T&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I?T&16&&U(I,1):(I=ec(),I.c(),U(I,1),I.m(t,null)):I&&(Ae(),q(I,1,1,()=>{I=null}),Re()),(!v||T&35&&h!==(h="fd-dialog__content "+(D[5]?D[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+D[1])+" svelte-10o42af"))&&f(t,"class",h),(!v||T&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||T&97&&p!==(p=jn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||T&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(U(C),U(N),U(I),v=!0)},o(D){q(C),q(N),q(I),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function H2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Wt();let _,p,m,v=!1,S=!1,y=!0,C=!1,N=!0,I;const D=async Z=>{const Q=Z&&Z.length?te.getPathWithoutHash(Z):"",de=me.parseParams(Q.split("?")[1]);m=me.getNodeParams(de);const x=await Ut.extractDataFromPath(Z);_=x.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),I=C?"._drawer":`[modal-container-index="${c}"]`,C?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=_.label,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||t(0,r.title=_.label,r),p=x.pathData,t(8,s=!0)},T=async Z=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await O():await L(),hr.renderWebComponent(_.viewUrl,document.querySelector(I),p.context,_),h("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Q=await V(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:m}}),v=!0}else await D(Z)},L=async()=>{let Z,Q;const de=document.querySelector(".lui-modal-index-"+c),{size:x,width:J,height:he}=r,ne=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(J&&J.match(ne)&&he&&he.match(ne))Z=he,Q=J;else switch(x){case"fullscreen":Z="100vh",Q="100vw",de.classList.add("lui-modal-fullscreen");break;case"m":Z="80%",Q="60%";break;case"s":Z="80%",Q="40%";break;default:Z="80%",Q="80%"}de.setAttribute("style",`width:${Q};height:${Z};`)},V=async(Z,Q)=>{C?await O():await L(),Z&&(Z=me.substituteViewUrl(Z,Q));const de=await Ie.createIframe(Z,void 0,_,"modal",Q);return document.querySelector(I).appendChild(de),de};async function O(Z){let Q="";const de=document.getElementsByClassName("drawer"),x=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Q="width:75%;":r.size==="m"?Q="width:50%;":r.size==="s"?Q="width:25%;":r.size==="xs"&&(Q="width:15.5%;")),r.backdrop?de[0].setAttribute("style",Q):(x[0].setAttribute("style",Q),de[0].setAttribute("style","width:100%"))}ma(()=>{T(o)});const F=async Z=>{Z.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),Z.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),Z.data.msg==="luigi.get-context"&&(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&t(4,y=!1),Z.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),Z.data.msg==="luigi.navigation.updateModalSettings"&&((Z.data.updatedModalSettings.title||Z.data.updatedModalSettings.title==="")&&t(0,r.title=Z.data.updatedModalSettings.title,r),Z.data.updatedModalSettings.size&&(t(0,r.size=Z.data.updatedModalSettings.size,r),await L()))};Yt(()=>{Pn.addEventListener("message",F),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),xr(()=>{Pn.removeEventListener("message",F),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function W(Z){Z.keyCode===hi&&h("close")}const ae=()=>h("close",{activeDrawer:!1});return i.$$set=Z=>{"settings"in Z&&t(0,r=Z.settings),"isDataPrepared"in Z&&t(8,s=Z.isDataPrepared),"nodepath"in Z&&t(9,o=Z.nodepath),"modalIndex"in Z&&t(1,c=Z.modalIndex),"disableBackdrop"in Z&&t(2,g=Z.disableBackdrop),"$$scope"in Z&&t(10,l=Z.$$scope)},[r,c,g,W,y,C,N,h,s,o,l,n,ae]}class L_ extends At{constructor(e){super(),Lt(this,e,H2,B2,yt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function tc(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function nc(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function ic(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function lc(i){let e,t=i[1][1].settings&&rc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=rc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function rc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=gc(tc(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){R(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=tc(r,n,o);l[o]?l[o].p(c,s):(l[o]=gc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&A(e),ft(l,r)}}}function sc(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?z2:W2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function W2(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){R(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Pe(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function z2(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){R(o,e,c),qf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&qf(e,i[0][i[1][0]][i[28]])},d(o){o&&A(e),l=!1,r()}}}function ac(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,m,v=Array.isArray(i[29].options),S,y;function C(...D){return i[19](i[28],i[31],i[29],...D)}function N(){return i[20](i[29])}let I=v&&oc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=Ce(o),h=G(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=G(),m=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,T){R(D,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,m),I&&I.m(m,null),S||(y=[le(r,"keydown",C),le(n,"click",Bt(N))],S=!0)},p(D,T){i=D,T[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Pe(c,o),T[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),T[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,T):(I=oc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Qe(y)}}}function oc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=uc(ic(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=ic(l,t,s);n[s]?n[s].p(o,r):(n[s]=uc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function uc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ce(n),r=G(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),ci(e,"is-selected",i[4]===i[34]),ci(e,"is-focus",i[4]===i[34])},m(g,h){R(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[le(e,"click",c),le(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Pe(l,n),h[0]&16&&ci(e,"is-selected",i[4]===i[34]),h[0]&16&&ci(e,"is-focus",i[4]===i[34])},d(g){g&&A(e),s=!1,Qe(o)}}}function fc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=cc(nc(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){R(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=nc(s,l,c);r[c]?r[c].p(g,o):(r[c]=cc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ft(r,s)}}}function cc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ce(t),l=G(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,m){R(p,e,m),w(e,n),w(e,l),g||(h=le(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[32])+"")&&Pe(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function dc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=G(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,m){R(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=le(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function hc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){R(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&A(e),n=!1,l()}}}function gc(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,m,v,S=i[29].type==="string"&&sc(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ac(i),C=_&&fc(i),N=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&dc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&hc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ce(l),s=Ce(":"),o=G(),c=k("div"),S&&S.c(),g=G(),y&&y.c(),h=G(),C&&C.c(),p=G(),N&&N.c(),m=G(),I&&I.c(),v=G(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,T){R(D,e,T),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,m),I&&I.m(c,null),w(e,v)},p(D,T){T[0]&34&&l!==(l=D[5](D[29].label)+"")&&Pe(r,l),D[29].type==="string"?S?S.p(D,T):(S=sc(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?y?y.p(D,T):(y=ac(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),T[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?C?C.p(D,T):(C=fc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?N?N.p(D,T):(N=dc(D),N.c(),N.m(c,m)):N&&(N.d(1),N=null),D[29].type==="boolean"&&D[29].style==="checkbox"?I?I.p(D,T):(I=hc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function G2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&lc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){R(r,e,s),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=lc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&A(e),l&&l.d(),t=!1,Qe(n)}}}function ra(i,e,t){if(i&&t>0)return i.matches(e)?i:ra(i.parentNode,e,t-1)}function q2(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Wt();let c=pt("getTranslation");_i(i,c,x=>t(5,n=x));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(x){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{S(J,!1)})}function v(x,J){let he=ra(x.target,".fd-popover__control",20),ne=he.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(m(),S(he,!ne))}function S(x,J){const he=x.querySelector(".lui-activate-language-dropdown"),ne=x.parentNode.querySelector(".fd-popover__body"),X=x.parentNode.querySelector(".fd-select__control");x.setAttribute("aria-expanded",J),ne.setAttribute("aria-hidden",!J),X.setAttribute("aria-expanded",J),he.setAttribute("aria-expanded",J),t(14,h=J)}function y(x,J,he){t(4,g=he),t(0,s[l[0]][x]=J.value||J,s)}function C(x,J){document.querySelectorAll(".enum-buttons-container-"+x+" button").forEach(he=>{const ne=he.getAttribute("id"),X=`lui-us-enum_button_${x}_option`;ne===X?he.classList.add("fd-button--emphasized"):he.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][x]=J.value||J,s)}function N(x,J){let he;if(Array.isArray(J)){for(let ne=0;ne<J.length;ne++)if(te.isObject(J[ne])){if(J[ne].value&&J[ne].value===x){he=J[ne].label,t(4,g=ne);break}}else{he=x,t(4,g=J.indexOf(x));break}return n(he)}}function I(x){return n(te.isObject(x)?x.label:x)}function D(x,J,he){return te.isObject(he)?`${x}_${J}_${he.value}`:`${x}_${J}_${he}`}function T(x,J,he,ne){let X=ra(x.target,".lui-anchor-node",20);const Ne=document.getElementById(`fd-form-input-dropdown-${he}`).children;let ie=-1;if([...Ne].forEach((He,Se)=>{He.classList.contains("is-focus")&&(ie=Se)}),h){if(x.keyCode===Vl&&x.altKey&&(X.click(),X.focus()),x.keyCode===Di&&!x.altKey){if(ie===-1){ie=0,Ne.item(ie).classList.add("is-focus");return}ie<ne.options.length-1&&(Ne.item(ie).classList.remove("is-focus"),ie+=1,Ne.item(ie).classList.add("is-focus"))}if(x.keyCode===Vl&&!x.altKey){if(ie===-1){ie=ie.length-1,Ne.item(ie).classList.add("is-focus");return}ie>0&&ie<ne.options.length&&(Ne.item(ie).classList.remove("is-focus"),ie-=1,Ne.item(ie).classList.add("is-focus"))}x.keyCode===gi&&y(J,ne.options[ie],ie)}else X.focus(),x.keyCode===Di&&x.altKey&&X.click(),x.keyCode===Di&&!x.altKey&&ie<ne.options.length-1&&y(J,ne.options[ie+1],ie+1),x.keyCode===Vl&&!x.altKey&&ie>0&&ie<ne.options.length&&y(J,ne.options[ie-1],ie-1)}function L(x){if(h){let J=ra(x.target,".fd-popover",20);J.blur(),(x.keyCode===ba||x.keyCode===gi)&&(x.target.click(),m(),setTimeout(()=>{J.focus()},0))}}N();function V(x){s[l[0]][x]=this.value,t(0,s)}const O=(x,J,he,ne)=>T(ne,x,J,he),F=x=>v(event,x.isEditable),W=(x,J,he)=>y(x,J,he),ae=x=>L(x),Z=(x,J)=>C(x,J);function Q(x){s[l[0]][x]=this.checked,t(0,s)}function de(x){s[l[0]][x]=this.checked,t(0,s)}return i.$$set=x=>{"userSettingGroup"in x&&t(1,l=x.userSettingGroup),"userSettingsGroupKey"in x&&t(15,r=x.userSettingsGroupKey),"storedUserSettingData"in x&&t(0,s=x.storedUserSettingData),"isComboOpen"in x&&t(14,h=x.isComboOpen)},[s,l,T,L,g,n,c,m,v,y,C,N,I,D,h,r,_,p,V,O,F,W,ae,Z,Q,de]}class K2 extends At{constructor(e){super(),Lt(this,e,q2,G2,yt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:_c}=Mi;function pc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function mc(i,e,t){const n=i.slice();return n[38]=e[t],n}function bc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?j2:J2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=G(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),R(o,t,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&A(t),o&&A(n)}}}function J2(i){let e,t,n,l,r,s=i[38][1].initials&&vc(i);return{c(){e=k("span"),l=G(),s&&s.c(),r=ke(),f(e,"class",t=jn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ti(e,"background-image","url('"+i[38][1].icon+"')"),ti(e,"background-size","cover")},m(o,c){R(o,e,c),R(o,l,c),s&&s.m(o,c),R(o,r,c)},p(o,c){c[0]&2&&t!==(t=jn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ti(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=vc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&A(e),o&&A(l),s&&s.d(o),o&&A(r)}}}function j2(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=jn(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){R(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=jn(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function vc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Ce(t),f(e,"class",l=jn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){R(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Pe(n,t),o[0]&2&&l!==(l=jn(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function wc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,m,v,S=i[38][1].icon&&bc(i);function y(){return i[22](i[38])}function C(...N){return i[23](i[37],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=G(),l=k("div"),r=k("div"),o=Ce(s),c=G(),g=k("div"),_=Ce(h),p=G(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){R(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),m||(v=[le(e,"click",Dt(y)),le(e,"keydown",C)],m=!0)},p(N,I){i=N,i[38][1].icon?S?S.p(i,I):(S=bc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Pe(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Pe(_,h)},d(N){N&&A(e),S&&S.d(),m=!1,Qe(v)}}}function Sc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=wc(mc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=mc(l,t,s);n[s]?n[s].p(o,r):(n[s]=wc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function kc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new K2({props:o}),Xe.push(()=>_t(e,"closeDropDown",r)),Xe.push(()=>_t(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){ze(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],gt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],gt(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){q(e.$$.fragment,c),l=!1},d(c){Ge(e,c)}}}function Y2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,N=i[10](i[7])+"",I,D,T,L,V,O,F,W,ae,Z,Q,de=i[10](i[5])+"",x,J,he,ne,X=i[10](i[6])+"",Ne,ie,He,Se,j=Object.entries(i[1]),fe=[];for(let re=0;re<j.length;re+=1)fe[re]=Sc(pc(i,j,re));let ve=i[11]&&kc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ce(c),h=G(),_=k("div"),p=k("ul");for(let re=0;re<fe.length;re+=1)fe[re].c();m=G(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=G(),C=k("h2"),I=Ce(N),D=G(),T=k("div"),L=k("div"),ve&&ve.c(),V=G(),O=k("div"),F=G(),W=k("footer"),ae=k("div"),Z=k("div"),Q=k("button"),x=Ce(de),J=G(),he=k("div"),ne=k("button"),Ne=Ce(X),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(L,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(T,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(Q,"data-testid","lui-us-saveBtn"),f(Q,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Z,"class","fd-bar__element"),f(ne,"data-testid","lui-us-dismissBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(he,"class","fd-bar__element"),f(ae,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(re,Ee){R(re,e,Ee),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let De=0;De<fe.length;De+=1)fe[De].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,T),w(T,L),ve&&ve.m(L,null),w(T,V),w(T,O),w(t,F),w(t,W),w(W,ae),w(ae,Z),w(Z,Q),w(Q,x),w(ae,J),w(ae,he),w(he,ne),w(ne,Ne),ie=!0,He||(Se=[le(_c,"resize",i[20]),le(_c,"keydown",i[3]),le(S,"click",i[17]),le(Q,"click",i[26]),le(ne,"click",i[27])],He=!0)},p(re,Ee){if((!ie||Ee[0]&1040)&&c!==(c=re[10](re[4])+"")&&Pe(g,c),Ee[0]&803846){j=Object.entries(re[1]);let De;for(De=0;De<j.length;De+=1){const pe=pc(re,j,De);fe[De]?fe[De].p(pe,Ee):(fe[De]=Sc(pe),fe[De].c(),fe[De].m(p,null))}for(;De<fe.length;De+=1)fe[De].d(1);fe.length=j.length}(!ie||Ee[0]&1152)&&N!==(N=re[10](re[7])+"")&&Pe(I,N),re[11]?ve?(ve.p(re,Ee),Ee[0]&2048&&U(ve,1)):(ve=kc(re),ve.c(),U(ve,1),ve.m(L,null)):ve&&(Ae(),q(ve,1,1,()=>{ve=null}),Re()),(!ie||Ee[0]&1056)&&de!==(de=re[10](re[5])+"")&&Pe(x,de),(!ie||Ee[0]&1088)&&X!==(X=re[10](re[6])+"")&&Pe(Ne,X)},i(re){ie||(U(ve),ie=!0)},o(re){q(ve),ie=!1},d(re){re&&A(e),ft(fe,re),ve&&ve.d(),He=!1,Qe(Se)}}}function Cc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function Q2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Z2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function A_(i,e,t){if(i&&t>0)return i.matches(e)?i:A_(i.parentNode,e,t-1)}function yc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function X2(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Wt();let o,{storedUserSettings:c={}}=e,g={},h=pt("getTranslation");_i(i,h,ie=>t(10,n=ie));let _=al.userSettingsDialog.dialogHeader,p=al.userSettingsDialog.saveBtn,m=al.userSettingsDialog.dismissBtn,v={},S,y,C,N;xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const ie=se.getConfigValue("userSettings.userSettingsDialog"),He=ie||se.getConfigValue("settings.userSettings.userSettingsDialog");He&&(t(4,_=He.dialogHeader?He.dialogHeader:_),t(5,p=He.saveBtn?He.saveBtn:p),t(6,m=He.dismissBtn?He.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Pn.addEventListener("message",Se=>{const j=Ie.getValidMessageSource(Se);if(!j||Se.data.msg!=="custom")return;j._ready=!0;const fe=ca.convertCustomMessageInternalToUser(Se.data),ve="luigi.updateUserSettings";if(fe.id===ve){const re=fr.findActiveCustomUserSettingsIframe(Se.source);if(re){let Ee=re.getAttribute("userSettingsGroup");t(0,c[Ee]=fe.data,c)}}fe.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&O()}),se.readUserSettings().then(Se=>{g=JSON.parse(JSON.stringify(Se)),Se===null?t(0,c=Cc(JSON.parse(JSON.stringify(r)),{})):t(0,c=Cc(JSON.parse(JSON.stringify(r)),Se)),D([S,r[0][S]])}).catch(Se=>{Se&&Se.message&&console.error(Se.message),Se&&Se.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(ie){if(t(7,y=ie.title?ie.title:""),!!te.isObject(ie.settings))for(let He in ie.settings){let Se=ie.settings[He];Se.type==="enum"?Array.isArray(Se.options)||console.error(`There is no options array for '${He}' defined in the Luigi userSettings config.`):Se.type===void 0&&console.error(`There is no data type defined for '${He}' in the Luigi userSettings config.`)}}function D(ie,He){t(11,o=ie);let Se=ie[0],j=ie[1];if(I(j),He?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ve=>{ve.classList.remove("is-selected")}),A_(He.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&yc()),j.viewUrl){if(fr.hideUserSettingsIframe(),v.hasOwnProperty(Se))fr.getUserSettingsIframesInDom().forEach(fe=>{fe.userSettingsGroup===Se&&(fe.style.display="block")});else{const fe=$r.hasDecorators()?$r.applyDecorators(j.viewUrl):j.viewUrl;let ve=fr.createIframe(fe,Se);v[Se]=ve}Q2()}else Z2()}const T=ie=>{t(0,c=ie.detail.userSettings)};function L(){se.storeUserSettings(c,g).then(()=>{s("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&s("close")})}function V(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&yc()}function F(ie){return ye.renderIconClassName(ie)}function W(ie){return ye.isOpenUIiconName(ie.icon)}let ae;const Z=()=>{const ie=window.innerWidth>=xt.desktopMinWidth&&ae<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&ae>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),ie&&(document.querySelector(".confirm-button").style.display="block"),!ae){let Se=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?Se.style.display="none":Se.style.display="block"}ae=window.innerWidth};function Q(ie,He){let Se=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===gi||ie.keyCode===ba)&&Se[He].click(),ie.keyCode===E2&&Se[Object.keys(r).length-1].focus(),ie.keyCode===R2&&Se[0].focus()}function de(ie){ie.keyCode===hi&&C?N():ie.keyCode===hi&&!C&&s("close")}const x=ie=>D(ie,event),J=(ie,He)=>Q(He,[ie]);function he(ie){N=ie,t(9,N)}function ne(ie){C=ie,t(8,C)}const X=()=>L(),Ne=()=>s("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,Q,de,_,p,m,y,C,N,n,o,s,h,D,T,L,O,F,W,Z,l,x,J,he,ne,X,Ne]}class $2 extends At{constructor(e){super(),Lt(this,e,X2,Y2,yt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:x2}=Mi;function eS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){R(t,e,n)},p:Fe,d(t){t&&A(e)}}}function tS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=G(),l=k("h1"),s=Ce(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){R(g,e,h),w(e,t),R(g,n,h),R(g,l,h),w(l,s),o||(c=le(t,"click",Bt(Dt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Pe(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function Pc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=G(),n=k("div"),l=k("div"),r=G(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){R(g,e,h),R(g,t,h),R(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[le(s,"click",Bt(Dt(i[3]))),le(n,"mousedown",Bt(i[6]))],o=!0)},p:Fe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Qe(c)}}}function nS(i){let e,t,n,l,r,s,o,c,g,h;t=new ts({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?tS:eS}let p=_(i),m=p(i),v=!i[0]&&Pc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=G(),l=k("div"),m.c(),s=G(),v&&v.c(),o=ke(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){R(S,e,y),ze(t,e,null),w(e,n),w(e,l),m.m(l,null),R(S,s,y),v&&v.m(S,y),R(S,o,y),c=!0,g||(h=le(x2,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&m?m.p(S,y):(m.d(1),m=p(S),m&&(m.c(),m.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=Pc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){q(t.$$.fragment,S),c=!1},d(S){S&&A(e),Ge(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function iS(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,m,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=pt("getUnsavedChangesModalPromise");const T=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(he=>{he==="splitViewSettings"?t(1,y=J.splitViewSettings):he==="lastNode"?r=J.lastNode:he==="pathData"?s=J.pathData:he==="nodeParams"?o=J.nodeParams:he==="collapsed"?t(0,S=J.collapsed):he==="isDataPrepared"?t(8,C=J.isDataPrepared):he==="currentNode"?c=J.currentNode:he==="splitViewIframe"?h=J.splitViewIframe:he==="splitViewIframeData"?_=J.splitViewIframeData:he==="splitViewWC"?p=J.splitViewWC:he==="splitViewWCData"&&(m=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),L=async()=>{C?S||rt.createAndSetView(T()):await rt.prepareSplitViewData(T(),v)},V=()=>{l.split=rt.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=rt.getDragger()},O=()=>{const J=rt.getDraggerBackdrop();J&&(J.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(J){if(!!Ie.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&rt.close(T()),J.data.msg==="luigi.navigation.splitview.collapse"&&W(),J.data.msg==="luigi.navigation.splitview.expand"&&ae(),J.data.msg==="luigi.navigation.splitview.resize")){const he=parseInt(J.data.data);if(rt.calculateAndSetSplitViewValues(he,rt.internalValues),S)return;O(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}Yt(()=>{Z(),g=F.bind(this),Pn.addEventListener("message",g)}),ma(()=>{L(),I!==C&&!S&&(I=C,O())}),xr(()=>{window.removeEventListener("message",g)});function W(){rt.collapse(T())}async function ae(){await rt.expand(T()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const J=Mn.getShellbar().clientHeight;rt.internalValues.innerHeight=te.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-J,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=J+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),S||O()}function Q(J){let he=J.y,ne={};const X=function(j){const fe=he-j.y,ve=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ve)||fe===0)return;const re=ve-fe,Ee=rt.internalValues.innerHeight-re,De=rt.enforceTresholds(re,Ee);re<De.top||Ee<De.bottom||(ne=De,he=j.y,l.draggable.style.top=`${ne.top}px`)},Ne=function(){if(ie(),!ne.top||!ne.bottom||ne.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=ne.top,rt.splitViewValues=ne,O(),rt.sendMessageToClients("resize.ok",ne.percent)},ie=function(){document.removeEventListener("mouseup",Ne),document.removeEventListener("mousemove",X)},He=function(){document.addEventListener("mouseup",Ne),document.addEventListener("mousemove",X)};V(),ie(),He(),rt.getDraggerBackdrop().style.display="block"}const de=J=>{let he=rt.getDraggerButton();he&&(he.style.display=J?"block":"none"),he=rt.getCollapsedDraggerButton(),he&&(he.style.display=J?"block":"none")},x=J=>{de(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,v=J.nodepath),"collapsed"in J&&t(0,S=J.collapsed),"splitViewSettings"in J&&t(1,y=J.splitViewSettings),"isDataPrepared"in J&&t(8,C=J.isDataPrepared),"disableBackdrop"in J&&t(2,N=J.disableBackdrop)},[S,y,N,W,ae,Z,Q,x,C,v]}class lS extends At{constructor(e){super(),Lt(this,e,iS,nS,yt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Nc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:aS,then:sS,catch:rS,value:1};return ua(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ua(t,n)||p_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function rS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function sS(i){let e,t=i[1]>0&&Ic(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ic(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Ce(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){R(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Pe(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function aS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function oS(i){let e,t=i[0]&&i[0].badgeCounter&&Nc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function uS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Yn extends At{constructor(e){super(),Lt(this,e,uS,oS,yt,{node:0})}}function Tc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ce(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Pe(l,n)},d(r){r&&A(e)}}}function fS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Tc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function cS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class ns extends At{constructor(e){super(),Lt(this,e,cS,fS,yt,{node:0})}}const{window:na}=Mi;function Lc(i,e,t){const n=i.slice();return n[65]=e[t][0],n[66]=e[t][1],n[68]=t,n}function Ac(i,e,t){const n=i.slice();return n[69]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[69]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[69]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[69]=e[t],n}function Vc(i){let e,t,n,l,r,s,o=i[23](i[11].label)+"",c,g,h,_=i[11].icon&&Mc(i),p=i[11].showUpLink&&Oc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=G(),s=k("span"),c=Ce(o),g=G(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1b792v2"),f(l,"class","fd-nested-list__link svelte-1b792v2"),f(l,"title",h=i[31](i[11],i[23](i[11].label))),f(n,"class","fd-nested-list__item svelte-1b792v2"),f(t,"class","fd-nested-list svelte-1b792v2"),f(e,"class","lui-nav-title svelte-1b792v2")},m(m,v){R(m,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,v){m[11].icon?_?_.p(m,v):(_=Mc(m),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&8390656&&o!==(o=m[23](m[11].label)+"")&&Pe(c,o),m[11].showUpLink?p?p.p(m,v):(p=Oc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&8390656&&h!==(h=m[31](m[11],m[23](m[11].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Mc(i){let e,t;function n(s,o){return o[0]&2048&&(e=null),e==null&&(e=!!s[27](s[11].icon)),e?hS:dS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function dS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[11].icon)||f(t,"src",n),f(t,"alt",l=i[11].altText?i[11].altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&2048&&!it(t.src,n=r[11].icon)&&f(t,"src",n),s[0]&2048&&l!==(l=r[11].altText?r[11].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function hS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[26](i[11].icon)+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&2048&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[26](n[11].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Oc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1b792v2"),f(e,"role","presentation"),f(e,"title",t=i[23]("luigi.navigation.up"))},m(r,s){R(r,e,s),n||(l=le(e,"click",Dt(i[18])),n=!0)},p(r,s){s[0]&8388608&&t!==(t=r[23]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Fc(i){let e,t,n,l,r=i[12],s=[];for(let c=0;c<r.length;c+=1)s[c]=ad(Lc(i,r,c));const o=c=>q(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[21]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1b792v2"),f(e,"class","lui-fd-side-nav-wrapper svelte-1b792v2")},m(c,g){R(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2127098848|g[1]&113){r=c[12];let h;for(h=0;h<r.length;h+=1){const _=Lc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=ad(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(Ae(),h=r.length;h<s.length;h+=1)o(h);Re()}(!l||g[0]&2097152&&n!==(n="fd-nested-list "+(c[21]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1b792v2"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)U(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(c){c&&A(e),ft(s,c)}}}function gS(i){let e,t,n,l;const r=[mS,pS],s=[];function o(c,g){return c[66].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ae(),q(s[h],1,1,()=>{s[h]=null}),Re(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function _S(i){let e,t,n=i[66],l=[];for(let s=0;s<n.length;s+=1)l[s]=sd(Dc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&1044402272|o[1]&33){n=s[66];let c;for(c=0;c<n.length;c+=1){const g=Dc(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=sd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function pS(i){let e,t,n=i[23](i[65])+"",l,r,s,o,c,g,h=i[9]&&i[66].metaInfo.icon&&Uc(i),_=i[66],p=[];for(let v=0;v<_.length;v+=1)p[v]=qc(Ac(i,_,v));const m=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=G(),l=Ce(n),o=G();for(let v=0;v<p.length;v+=1)p[v].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-1b792v2"),f(e,"title",r=i[31](i[66],i[23](i[65]))),f(e,"data-testid",s=i[30](i[66].metaInfo,i[65])),f(e,"id","category_list_level1_"+i[68])},m(v,S){R(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),R(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);R(v,c,S),g=!0},p(v,S){if(v[9]&&v[66].metaInfo.icon?h?h.p(v,S):(h=Uc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&8392704)&&n!==(n=v[23](v[65])+"")&&Pe(l,n),(!g||S[0]&8392704&&r!==(r=v[31](v[66],v[23](v[65]))))&&f(e,"title",r),(!g||S[0]&4096&&s!==(s=v[30](v[66].metaInfo,v[65])))&&f(e,"data-testid",s),S[0]&1044402272|S[1]&33){_=v[66];let y;for(y=0;y<_.length;y+=1){const C=Ac(v,_,y);p[y]?(p[y].p(C,S),U(p[y],1)):(p[y]=qc(C),p[y].c(),U(p[y],1),p[y].m(c.parentNode,c))}for(Ae(),y=_.length;y<p.length;y+=1)m(y);Re()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)U(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ft(p,v),v&&A(c)}}}function mS(i){let e,t,n,l,r,s,o=i[23](i[65])+"",c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O,F,W,ae,Z,Q;function de(fe,ve){return ve[0]&4096&&(l=null),l==null&&(l=!!fe[27](fe[66].metaInfo.icon)),l?PS:yS}let x=de(i,[-1,-1,-1]),J=x(i);function he(){return i[45](i[66])}function ne(){return i[46](i[66])}function X(...fe){return i[47](i[66],...fe)}let Ne=i[66],ie=[];for(let fe=0;fe<Ne.length;fe+=1)ie[fe]=Qc(Ec(i,Ne,fe));const He=fe=>q(ie[fe],1,1,()=>{ie[fe]=null});let Se=i[66].metaInfo&&i[66].metaInfo.label===i[7]&&Zc(i);function j(){return i[52](i[66])}return{c(){e=k("li"),t=k("div"),n=k("a"),J.c(),r=G(),s=k("span"),c=Ce(o),v=G(),S=k("button"),y=k("i"),T=G(),L=k("ul");for(let fe=0;fe<ie.length;fe+=1)ie[fe].c();O=G(),Se&&Se.c(),F=G(),f(s,"class","fd-nested-list__title svelte-1b792v2"),f(n,"title",g=i[31](i[66],i[23](i[65]))),f(n,"class",h="fd-nested-list__link "+(_n(i[66],i[8])?"is-expanded":"")+" svelte-1b792v2"),f(n,"tabindex",_=i[5]?"-1":"0"),f(n,"role",p=i[22]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[68]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=_n(i[66],i[8])),f(y,"class",C=_n(i[66],i[8])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1b792v2"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=_n(i[66],i[8])),f(S,"title",I=i[37](i[66],i[8])),f(t,"class","fd-nested-list__content has-child svelte-1b792v2"),f(t,"tabindex",D=i[5]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1b792v2"),f(L,"aria-hidden",V=!_n(i[66],i[8])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[30](i[66].metaInfo,i[65])),ci(e,"lui-item-expanded",_n(i[66],i[8]))},m(fe,ve){R(fe,e,ve),w(e,t),w(t,n),J.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,T),w(e,L);for(let re=0;re<ie.length;re+=1)ie[re].m(L,null);w(e,O),Se&&Se.m(e,null),w(e,F),ae=!0,Z||(Q=[le(n,"click",Dt(he)),le(S,"click",Dt(ne)),le(t,"keypress",X),le(e,"click",Bt(j))],Z=!0)},p(fe,ve){if(i=fe,x===(x=de(i,ve))&&J?J.p(i,ve):(J.d(1),J=x(i),J&&(J.c(),J.m(n,r))),(!ae||ve[0]&8392704)&&o!==(o=i[23](i[65])+"")&&Pe(c,o),(!ae||ve[0]&8392704&&g!==(g=i[31](i[66],i[23](i[65]))))&&f(n,"title",g),(!ae||ve[0]&4352&&h!==(h="fd-nested-list__link "+(_n(i[66],i[8])?"is-expanded":"")+" svelte-1b792v2"))&&f(n,"class",h),(!ae||ve[0]&32&&_!==(_=i[5]?"-1":"0"))&&f(n,"tabindex",_),(!ae||ve[0]&4194304&&p!==(p=i[22]?void 0:"button"))&&f(n,"role",p),(!ae||ve[0]&4352&&m!==(m=_n(i[66],i[8])))&&f(n,"aria-expanded",m),(!ae||ve[0]&4352&&C!==(C=_n(i[66],i[8])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ae||ve[0]&4352&&N!==(N=_n(i[66],i[8])))&&f(S,"aria-expanded",N),(!ae||ve[0]&4352&&I!==(I=i[37](i[66],i[8])))&&f(S,"title",I),(!ae||ve[0]&32&&D!==(D=i[5]?"0":"-1"))&&f(t,"tabindex",D),ve[0]&843075648|ve[1]&33){Ne=i[66];let re;for(re=0;re<Ne.length;re+=1){const Ee=Ec(i,Ne,re);ie[re]?(ie[re].p(Ee,ve),U(ie[re],1)):(ie[re]=Qc(Ee),ie[re].c(),U(ie[re],1),ie[re].m(L,null))}for(Ae(),re=Ne.length;re<ie.length;re+=1)He(re);Re()}(!ae||ve[0]&4352&&V!==(V=!_n(i[66],i[8])))&&f(L,"aria-hidden",V),i[66].metaInfo&&i[66].metaInfo.label===i[7]?Se?(Se.p(i,ve),ve[0]&4224&&U(Se,1)):(Se=Zc(i),Se.c(),U(Se,1),Se.m(e,F)):Se&&(Ae(),q(Se,1,1,()=>{Se=null}),Re()),(!ae||ve[0]&4096&&W!==(W=i[30](i[66].metaInfo,i[65])))&&f(e,"data-testid",W),(!ae||ve[0]&4352)&&ci(e,"lui-item-expanded",_n(i[66],i[8]))},i(fe){if(!ae){for(let ve=0;ve<Ne.length;ve+=1)U(ie[ve]);U(Se),ae=!0}},o(fe){ie=ie.filter(Boolean);for(let ve=0;ve<ie.length;ve+=1)q(ie[ve]);q(Se),ae=!1},d(fe){fe&&A(e),J.d(),ft(ie,fe),Se&&Se.d(),Z=!1,Qe(Q)}}}function Uc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[27](s[66].metaInfo.icon)),e?vS:bS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function bS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[66].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[66].metaInfo.altText?i[66].metaInfo.altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[66].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[66].metaInfo.altText?r[66].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function vS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[66].metaInfo.icon?i[26](i[66].metaInfo.icon):"")+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="fd-nested-list__icon sap-icon "+(n[66].metaInfo.icon?n[26](n[66].metaInfo.icon):"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Bc(i){let e,t,n=i[69].label&&Hc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Hc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Hc(i){let e,t,n,l,r=i[25](i[69])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(Z,Q){return Z[69].icon?SS:wS}let T=D(i),L=T(i),V=i[69].statusBadge&&Wc(i),O=i[69].externalLink&&i[69].externalLink.url&&zc(),F=i[69].badgeCounter&&Gc(i);function W(...Z){return i[53](i[69],...Z)}function ae(...Z){return i[54](i[69],...Z)}return{c(){e=k("li"),t=k("a"),L.c(),n=G(),l=k("span"),s=Ce(r),o=G(),V&&V.c(),g=G(),O&&O.c(),h=G(),F&&F.c(),S=G(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[29](i[69])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"role",m=i[22]?void 0:"button"),f(t,"data-testid",v=i[28](i[69])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[31](i[69],i[25](i[69]))),f(e,"aria-labelledby","category_list_level1_"+i[68])},m(Z,Q){R(Z,e,Q),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,N||(I=[le(t,"click",W),le(t,"keyup",function(){Vi(i[22]?void 0:ae)&&(i[22]?void 0:ae).apply(this,arguments)})],N=!0)},p(Z,Q){i=Z,T===(T=D(i))&&L?L.p(i,Q):(L.d(1),L=T(i),L&&(L.c(),L.m(t,n))),(!C||Q[0]&4096)&&r!==(r=i[25](i[69])+"")&&Pe(s,r),i[69].statusBadge?V?(V.p(i,Q),Q[0]&4096&&U(V,1)):(V=Wc(i),V.c(),U(V,1),V.m(l,null)):V&&(Ae(),q(V,1,1,()=>{V=null}),Re()),(!C||Q[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",c),i[69].externalLink&&i[69].externalLink.url?O||(O=zc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[69].badgeCounter?F?(F.p(i,Q),Q[0]&4096&&U(F,1)):(F=Gc(i),F.c(),U(F,1),F.m(t,null)):F&&(Ae(),q(F,1,1,()=>{F=null}),Re()),(!C||Q[0]&4096&&_!==(_=i[29](i[69])))&&f(t,"href",_),(!C||Q[0]&4160&&p!==(p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||Q[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||Q[0]&4096&&v!==(v=i[28](i[69])))&&f(t,"data-testid",v),(!C||Q[0]&4096&&y!==(y=i[31](i[69],i[25](i[69]))))&&f(e,"title",y)},i(Z){C||(U(V),U(F),C=!0)},o(Z){q(V),q(F),C=!1},d(Z){Z&&A(e),L.d(),V&&V.d(),O&&O.d(),F&&F.d(),N=!1,Qe(I)}}}function wS(i){let e,t,n,l,r=i[5]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=G(),l=k("span"),s=Ce(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[5]?"sap-icon--rhombus-milestone-2":""))},m(o,c){R(o,e,c),R(o,n,c),R(o,l,c),w(l,s)},p(o,c){c[0]&32&&t!==(t="fd-nested-list__icon sap-icon "+(o[5]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&32&&r!==(r=o[5]?"sap-icon--rhombus-milestone-2":"")&&Pe(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function SS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[27](s[69].icon)),e?CS:kS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function kS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[69].icon)||f(t,"src",n),f(t,"alt",l=i[69].altText?i[69].altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[69].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[69].altText?r[69].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function CS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[26](i[69].icon)+" svelte-1b792v2")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="fd-nested-list__icon sap-icon "+n[26](n[69].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Wc(i){let e,t;return e=new ns({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function Gc(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function qc(i){let e,t,n=!i[69].hideFromNav&&Bc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Bc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[66].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[66].metaInfo.altText?i[66].metaInfo.altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[66].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[66].metaInfo.altText?r[66].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function PS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[26](i[66].metaInfo.icon)+" "+(i[5]&&!i[66].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4128&&t!==(t="fd-nested-list__icon sap-icon "+n[26](n[66].metaInfo.icon)+" "+(n[5]&&!n[66].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Kc(i){let e,t,n=i[69].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Jc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Jc(i){let e,t,n,l=i[25](i[69])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[69]}});let D=i[69].externalLink&&i[69].externalLink.url&&jc(),T=i[69].badgeCounter&&Yc(i);function L(...O){return i[48](i[69],...O)}function V(...O){return i[49](i[69],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),s=G(),qe(o.$$.fragment),g=G(),D&&D.c(),h=G(),T&&T.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[29](i[69])),f(t,"class",p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"role",m=i[22]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[28](i[69])),f(t,"title",S=i[31](i[69],i[25](i[69]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[68])},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",L),le(t,"keyup",function(){Vi(i[22]?void 0:V)&&(i[22]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&4096)&&l!==(l=i[25](i[69])+"")&&Pe(r,l);const W={};F[0]&4096&&(W.node=i[69]),o.$set(W),(!C||F[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[69].externalLink&&i[69].externalLink.url?D||(D=jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[69].badgeCounter?T?(T.p(i,F),F[0]&4096&&U(T,1)):(T=Yc(i),T.c(),U(T,1),T.m(t,null)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),(!C||F[0]&4096&&_!==(_=i[29](i[69])))&&f(t,"href",_),(!C||F[0]&4160&&p!==(p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||F[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&4096&&v!==(v=i[28](i[69])))&&f(t,"data-testid",v),(!C||F[0]&4096&&S!==(S=i[31](i[69],i[25](i[69]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(T),C=!0)},o(O){q(o.$$.fragment,O),q(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function jc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function Yc(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Qc(i){let e,t,n=!i[69].hideFromNav&&Kc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Kc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Zc(i){let e,t,n,l=i[23](i[65])+"",r,s,o,c,g=i[66],h=[];for(let p=0;p<g.length;p+=1)h[p]=td(Rc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ce(l),s=G(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1b792v2"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1b792v2"),f(t,"class","lui-flyout-sublist__wrapper svelte-1b792v2"),f(e,"class","lui-flyout-sublist svelte-1b792v2")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,m){if((!c||m[0]&8392704)&&l!==(l=p[23](p[65])+"")&&Pe(r,l),m[0]&843075648|m[1]&33){g=p[66];let v;for(v=0;v<g.length;v+=1){const S=Rc(p,g,v);h[v]?(h[v].p(S,m),U(h[v],1)):(h[v]=td(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(Ae(),v=g.length;v<h.length;v+=1)_(v);Re()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)U(h[m]);c=!0}},o(p){h=h.filter(Boolean);for(let m=0;m<h.length;m+=1)q(h[m]);c=!1},d(p){p&&A(e),ft(h,p)}}}function Xc(i){let e,t,n=i[69].label&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=$c(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function $c(i){let e,t,n,l=i[25](i[69])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[69]}});let D=i[69].externalLink&&i[69].externalLink.url&&xc(),T=i[69].badgeCounter&&ed(i);function L(...O){return i[50](i[69],...O)}function V(...O){return i[51](i[69],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),s=G(),qe(o.$$.fragment),g=G(),D&&D.c(),h=G(),T&&T.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[29](i[69])),f(t,"class",p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"tabindex","0"),f(t,"role",m=i[22]?void 0:"button"),f(t,"data-testid",v=i[28](i[69])),f(t,"title",S=i[31](i[69],i[25](i[69]))),f(e,"class","fd-nested-list__item")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",L),le(t,"keyup",function(){Vi(i[22]?void 0:V)&&(i[22]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&4096)&&l!==(l=i[25](i[69])+"")&&Pe(r,l);const W={};F[0]&4096&&(W.node=i[69]),o.$set(W),(!C||F[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[69].externalLink&&i[69].externalLink.url?D||(D=xc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[69].badgeCounter?T?(T.p(i,F),F[0]&4096&&U(T,1)):(T=ed(i),T.c(),U(T,1),T.m(t,null)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),(!C||F[0]&4096&&_!==(_=i[29](i[69])))&&f(t,"href",_),(!C||F[0]&4160&&p!==(p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||F[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&4096&&v!==(v=i[28](i[69])))&&f(t,"data-testid",v),(!C||F[0]&4096&&S!==(S=i[31](i[69],i[25](i[69]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(T),C=!0)},o(O){q(o.$$.fragment,O),q(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function xc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ed(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function td(i){let e,t,n=!i[69].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Xc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n=i[69].label&&id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=id(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function id(i){let e,t,n,l,r=i[25](i[69])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(Z,Q){return Z[69].icon?IS:NS}let L=T(i),V=L(i);c=new ns({props:{node:i[69]}});let O=i[69].externalLink&&i[69].externalLink.url&&ld(),F=i[69].badgeCounter&&rd(i);function W(...Z){return i[43](i[69],...Z)}function ae(...Z){return i[44](i[69],...Z)}return{c(){e=k("li"),t=k("a"),V.c(),n=G(),l=k("span"),s=Ce(r),o=G(),qe(c.$$.fragment),h=G(),O&&O.c(),_=G(),F&&F.c(),C=G(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",p=i[29](i[69])),f(t,"title",m=i[31](i[69],i[25](i[69]))),f(t,"class",v="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"tabindex","0"),f(t,"role",S=i[22]?void 0:"button"),f(t,"data-testid",y=i[28](i[69])),f(e,"class","fd-nested-list__item")},m(Z,Q){R(Z,e,Q),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),ze(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),N=!0,I||(D=[le(t,"click",W),le(t,"keyup",function(){Vi(i[22]?void 0:ae)&&(i[22]?void 0:ae).apply(this,arguments)})],I=!0)},p(Z,Q){i=Z,L===(L=T(i))&&V?V.p(i,Q):(V.d(1),V=L(i),V&&(V.c(),V.m(t,n))),(!N||Q[0]&4096)&&r!==(r=i[25](i[69])+"")&&Pe(s,r);const de={};Q[0]&4096&&(de.node=i[69]),c.$set(de),(!N||Q[0]&4096&&g!==(g="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",g),i[69].externalLink&&i[69].externalLink.url?O||(O=ld(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[69].badgeCounter?F?(F.p(i,Q),Q[0]&4096&&U(F,1)):(F=rd(i),F.c(),U(F,1),F.m(t,null)):F&&(Ae(),q(F,1,1,()=>{F=null}),Re()),(!N||Q[0]&4096&&p!==(p=i[29](i[69])))&&f(t,"href",p),(!N||Q[0]&4096&&m!==(m=i[31](i[69],i[25](i[69]))))&&f(t,"title",m),(!N||Q[0]&4160&&v!==(v="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",v),(!N||Q[0]&4194304&&S!==(S=i[22]?void 0:"button"))&&f(t,"role",S),(!N||Q[0]&4096&&y!==(y=i[28](i[69])))&&f(t,"data-testid",y)},i(Z){N||(U(c.$$.fragment,Z),U(F),N=!0)},o(Z){q(c.$$.fragment,Z),q(F),N=!1},d(Z){Z&&A(e),V.d(),Ge(c),O&&O.d(),F&&F.d(),I=!1,Qe(D)}}}function NS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[5]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&32&&t!==(t="fd-nested-list__icon sap-icon "+(n[5]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function IS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[27](s[69].icon)),e?LS:TS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[69].icon)||f(t,"src",n),f(t,"alt",l=i[69].altText?i[69].altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[69].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[69].altText?r[69].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function LS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[26](i[69].icon)+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="fd-nested-list__icon sap-icon "+n[26](n[69].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function ld(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function rd(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function sd(i){let e,t,n=!i[69].hideFromNav&&nd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=nd(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ad(i){let e,t,n,l,r,s;const o=[_S,gS],c=[];function g(h,_){return _[0]&12288&&(e=null),_[0]&4096&&(t=null),e==null&&(e=!!(h[65]==="undefined"||h[65].startsWith(h[13]))),e?0:(t==null&&(t=h[66].filter(RS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),R(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Ae(),q(c[p],1,1,()=>{c[p]=null}),Re()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),U(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(U(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function od(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&ud(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ce(l),s=G(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1b792v2"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1b792v2"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1b792v2")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Pe(r,l),c[3]?o?o.p(c,g):(o=ud(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function ud(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[5]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1b792v2"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[10]),f(e,"tabindex","0")},m(r,s){R(r,e,s),n||(l=[le(e,"click",i[55]),le(e,"keydown",i[56])],n=!0)},p(r,s){s[0]&32&&t!==(t="lui-side-nav__footer--icon "+(r[5]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1b792v2")&&f(e,"class",t),s[0]&1024&&f(e,"title",r[10])},d(r){r&&A(e),n=!1,Qe(l)}}}function AS(i){let e,t,n,l,r,s,o,c,g,h,_=i[11]&&Vc(i),p=i[0]&&i[4].length>1&&Fc(i),m=(i[2]||i[3])&&od(i);return{c(){e=k("div"),_&&_.c(),t=G(),n=k("nav"),l=k("div"),p&&p.c(),r=G(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-1b792v2"),f(n,"class",s="fd-side-nav "+(i[5]?"fd-side-nav--condensed":"")+" "+(i[11]?"lui-nav-header-visible":"")+" svelte-1b792v2"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1b792v2")},m(v,S){R(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(h=[le(na,"resize",i[16]),le(na,"click",i[20]),le(na,"blur",i[20]),le(na,"keydown",i[32]),le(n,"keyup",i[17])],g=!0)},p(v,S){v[11]?_?_.p(v,S):(_=Vc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[4].length>1?p?(p.p(v,S),S[0]&17&&U(p,1)):(p=Fc(v),p.c(),U(p,1),p.m(l,null)):p&&(Ae(),q(p,1,1,()=>{p=null}),Re()),v[2]||v[3]?m?m.p(v,S):(m=od(v),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||S[0]&2080&&s!==(s="fd-side-nav "+(v[5]?"fd-side-nav--condensed":"")+" "+(v[11]?"lui-nav-header-visible":"")+" svelte-1b792v2"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1b792v2"))&&f(e,"class",o)},i(v){c||(U(p),c=!0)},o(v){q(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Qe(h)}}}function _n(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const RS=i=>!i.hideFromNav&&i.label;function ES(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:_,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:S,sideNavAccordionMode:I,selectedCategory:y,expandedCategories:C,hasCategoriesWithIcon:N,navParentNode:L}),set:async ee=>{if(ee){Object.getOwnPropertyNames(ee).forEach(async ct=>{if(ct==="pathData")t(4,_=ee.pathData);else if(ct==="context")V=ee.context;else if(ct==="children")t(0,s=ee.children);else if(ct==="selectedNode")t(6,S=ee.selectedNode);else if(ct==="hasCategoriesWithIcon")t(9,N=ee.hasCategoriesWithIcon);else if(ct==="navParent"){t(11,T=void 0);let Pt=ee.navParent;if(t(40,L=Pt),Pt&&Pt.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let Nt=Pt.navHeader,mt=Pt;if(Nt==="inherit"){for(mt=Pt.parent;mt&&mt.navHeader==="inherit";)mt=mt.parent;Nt=mt?mt.navHeader:void 0}if(Nt instanceof Function){t(11,T={});let mn=Nt(ye.stripNode(Pt),ye.stripNode(mt),V);mn instanceof Promise?mn.then(Nn=>{t(11,T=Nn)}):t(11,T=mn)}else if(Nt==="auto")t(11,T={label:Pt.label,icon:Pt.icon});else if(Nt&&Nt.useTitleResolver&&mt.titleResolver){mt.titleResolver.prerenderFallback?t(11,T={...Nt,label:mt.titleResolver.fallbackTitle||"",icon:mt.titleResolver.fallbackIcon}):t(11,T=Nt);const mn=me.mapPathToNode(tt.getCurrentPath(),mt);Ut.extractDataFromPath(mn).then(Nn=>{const ii=me.substituteDynamicParamsInObject(Object.assign({},Nn.pathData.context,mt.context),Nn.pathData.pathParams);ye.fetchNodeTitleData(mt,ii).then(bi=>{t(11,T={...Nt,...bi})}).catch(bi=>{console.error("Error while retrieving title, fallback to node label"),t(11,T={...Nt,label:Pt.label,icon:Pt.icon})})})}else t(11,T=await ie(Nt,mt))}}});let Me=S&&S.sideNavAccordionMode||S&&S.parent&&S.parent.sideNavAccordionMode;typeof Me<"u"?t(39,I=Me):t(39,I=se.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode"))}}},r=Wt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{pathData:_}=e,{pathParams:p}=e,{virtualGroupPrefix:m=ye.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:S}=e,{selectedCategory:y=null}=e,{expandedCategories:C}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:D}=e,{navHeader:T}=e,{navParentNode:L}=e,V,O,F,W=pt("store"),ae=pt("getTranslation");_i(i,ae,ee=>t(23,n=ee));let Z=!1;const Q=ee=>ye.getNodeLabel(ee),de=async()=>{const ee=l.get(),Me=await Ut.getLeftNavData({...ee},ee);!Me||(l.set(Me),O=_,window.LEFTNAVDATA=Me.children)};Yt(()=>{t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(22,Z=se.getConfigValue("navigation.addNavHrefs")),t(1,o=se.getConfigBooleanValue("settings.hideNavigation")),t(21,F=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(8,C=ye.loadExpandedCategories()),Fn.doOnStoreChange(W,()=>{t(2,c=se.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]);let ee=fi.initial();t(5,v=ee.isSemiCollapsed),t(38,g=ee.semiCollapsible),fi.onValueChanged(Me=>{t(5,v=Me.isSemiCollapsed)}),Pn.addEventListener("message",Me=>{Me.data.msg==="luigi.navigation.update-badge-counters"&&de()})}),On(()=>{(!O||O!=_)&&de(),t(21,F=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:x}=e;function J(ee){return ye.renderIconClassName(ee)}function he(ee){return ye.isOpenUIiconName(ee)}function ne(ee){return ee.testId?ee.testId:ye.prepareForTests(ee.pathSegment,ee.label)}function X(ee){return me.getNodeHref(ee,p)}function Ne(ee,Me){return ee&&ee.testId?ee.testId:ye.prepareForTests(Me||ee.label)}async function ie(ee,Me){const ct=me.mapPathToNode(tt.getCurrentPath(),Me),Nt=(await Ut.extractDataFromPath(ct)).pathData.pathParams;return me.substituteDynamicParamsInObject(ee,Nt)}function He(ee,Me){return ye.generateTooltipText(ee,Me)}function Se(ee){r("handleClick",{node:ee})}function j(ee,Me){if(fi.getCollapsed()){let ct,Pt=document.getElementsByClassName("fd-app__sidebar")[0];if(ee.metaInfo&&ee.metaInfo.label?ct=ee.metaInfo.label:ct=ee.category&&ee.category.label||ee.category,Pt.classList.contains("isBlocked")||(Pt.className+=" isBlocked"),ct===y){t(7,y=fi.closePopupMenu(y));return}t(7,y=ct),fe(Me)}}function fe(ee){const Me=ee.closest(".fd-nested-list__item"),ct=Me.offsetTop,Pt=Mn.getShellbar().offsetHeight;let Nt;Mn.isCustomLuigiContainer()?Nt=Mn.getCustomLuigiContainer().clientHeight:Nt=window.innerHeight,setTimeout(()=>{const mt=Me.getElementsByClassName("lui-flyout-sublist")[0],mn=ee.closest(".lui-fd-side-nav-wrapper").scrollTop,Nn=ct+Pt-mn,ii=Nt-ct-Me.offsetHeight+mn-Pt;Nn+mt.offsetHeight>=Nt?(mt.style.bottom=ii+"px",mt.className+=" has-bottom-position"):mt.style.top=Nn-Pt+"px"})}function ve(){if(g){let ee=fi.onResize(y);t(5,v=ee.isSemiCollapsed),t(7,y=ee.selectedCategory)}}function re(ee){if(ee.code==="ArrowRight"){const ct=Ie.getCurrentMicrofrontendIframe();ct&&ct.contentWindow&&ct.contentWindow.focus()}}function Ee(ee){let Me=L?L.parent:void 0;for(;Me;){if(Me.pathSegment&&Me.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Me});return}Me=Me.parent}console.warn('Could not resolve "up"-node, redirecting to root'),N_.navigate("/")}function De(ee,Me){fi.getCollapsed()||t(8,C=ye.storeExpandedState(ee.metaInfo.categoryUid,Me,I))}function pe(){t(7,y=fi.closePopupMenu(y))}function $e(ee){ee&&ee.code==="Escape"&&pe()}function Vt(){t(5,v=fi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Oi()}function Rt(ee){const Me=ee.code;(Me==="Enter"||Me==="Space")&&Vt()}function Mt(ee,Me){(ee.code==="Enter"||ee==="Space")&&j(Me,ee.currentTarget)}function on(ee,Me){ee.keyCode===gi&&ye.handleNavAnchorClickedWithoutMetaKey(ee)&&Se(Me)}function Oi(){if(!ye.getBurgerTooltipConfig())return;const[ee,Me]=ye.getBurgerTooltipConfig(),ct=document.body.classList.contains("lui-semiCollapsible");ee&&Me&&ct&&t(10,D=document.body.classList.contains("semiCollapsed")?ee:Me)}function Gt(ee,Me){return _n(ee,Me)?ee.metaInfo.titleCollapseButton?n(ee.metaInfo.titleCollapseButton):void 0:ee.metaInfo.titleExpandButton?n(ee.metaInfo.titleExpandButton):void 0}const pi=(ee,Me)=>{ye.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},Fi=(ee,Me)=>on(Me,ee),en=ee=>De(ee,!_n(ee,C)),Qt=ee=>De(ee,!_n(ee,C)),Qn=(ee,Me)=>Mt(Me,ee),Et=(ee,Me)=>{ye.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},pn=(ee,Me)=>on(Me,ee),Zt=(ee,Me)=>{ye.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},Ui=(ee,Me)=>on(Me,ee),qt=ee=>j(ee,event.currentTarget),rn=(ee,Me)=>{ye.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},mi=(ee,Me)=>on(Me,ee),ni=ee=>Vt(),sn=ee=>Rt(ee);return i.$$set=ee=>{"children"in ee&&t(0,s=ee.children),"hideNavComponent"in ee&&t(1,o=ee.hideNavComponent),"footerText"in ee&&t(2,c=ee.footerText),"semiCollapsible"in ee&&t(38,g=ee.semiCollapsible),"semiCollapsibleButton"in ee&&t(3,h=ee.semiCollapsibleButton),"pathData"in ee&&t(4,_=ee.pathData),"pathParams"in ee&&t(41,p=ee.pathParams),"virtualGroupPrefix"in ee&&t(13,m=ee.virtualGroupPrefix),"isSemiCollapsed"in ee&&t(5,v=ee.isSemiCollapsed),"selectedNode"in ee&&t(6,S=ee.selectedNode),"selectedCategory"in ee&&t(7,y=ee.selectedCategory),"expandedCategories"in ee&&t(8,C=ee.expandedCategories),"hasCategoriesWithIcon"in ee&&t(9,N=ee.hasCategoriesWithIcon),"sideNavAccordionMode"in ee&&t(39,I=ee.sideNavAccordionMode),"burgerTooltip"in ee&&t(10,D=ee.burgerTooltip),"navHeader"in ee&&t(11,T=ee.navHeader),"navParentNode"in ee&&t(40,L=ee.navParentNode),"sortedChildrenEntries"in ee&&t(12,x=ee.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ee=Object.entries(s);ee.sort((Me,ct)=>Me[1].metaInfo.order-ct[1].metaInfo.order),t(12,x=ee)}},[s,o,c,h,_,v,S,y,C,N,D,T,x,m,Se,j,ve,re,Ee,De,pe,F,Z,n,ae,Q,J,he,ne,X,Ne,He,$e,Vt,Rt,Mt,on,Gt,g,I,L,p,fe,pi,Fi,en,Qt,Qn,Et,pn,Zt,Ui,qt,rn,mi,ni,sn]}class DS extends At{constructor(e){super(),Lt(this,e,ES,AS,yt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:38,semiCollapsibleButton:3,pathData:4,pathParams:41,virtualGroupPrefix:13,isSemiCollapsed:5,selectedNode:6,selectedCategory:7,expandedCategories:8,hasCategoriesWithIcon:9,sideNavAccordionMode:39,burgerTooltip:10,navHeader:11,navParentNode:40,sortedChildrenEntries:12,handleClick:14,handleIconClick:15,calculateFlyoutPosition:42,onResize:16,handleKey:17,handleUp:18,setExpandedState:19,closePopupMenu:20},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[14]}get handleIconClick(){return this.$$.ctx[15]}get calculateFlyoutPosition(){return this.$$.ctx[42]}get onResize(){return this.$$.ctx[16]}get handleKey(){return this.$$.ctx[17]}get handleUp(){return this.$$.ctx[18]}get setExpandedState(){return this.$$.ctx[19]}get closePopupMenu(){return this.$$.ctx[20]}}const VS=i=>{Fn.doOnStoreChange(i.store,()=>{const e=se.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),se.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),R_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},MS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),R_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return te.trimTrailingSlash(te.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!MS(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=es.getDocumentTitle()||r;i.set({title:r}),document.title=dt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function fd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function cd(i,e,t){const n=i.slice();return n[43]=e[t],n}function OS(i){let e,t,n,l,r=i[1]&&dd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=dd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function FS(i){let e,t,n,l,r=i[1]&&hd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=hd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function dd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function hd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function gd(i){let e,t;function n(o,c){return o[3]?US:BS}let l=n(i),r=l(i),s=i[10]&&yd(i);return{c(){r.c(),e=G(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=yd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}function US(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?WS:HS}let p=_(i),m=p(i),v=i[4]&&i[5]&&wd(i),S=i[7]&&i[7].length>0&&Sd(i);return{c(){e=k("div"),t=k("div"),m.c(),n=G(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=G(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){R(y,e,C),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=le(t,"click",Bt(jS)),g=!0)},p(y,C){p===(p=_(y))&&m?m.p(y,C):(m.d(1),m=p(y),m&&(m.c(),m.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=wd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=Sd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&A(e),m.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function BS(i){let e;function t(r,s){return r[12]?KS:qS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function HS(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=Ce(n),r=G(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Bt(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Pe(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function WS(i){let e,t,n,l=i[7]&&i[7].length===1&&_d(i),r=i[7]&&i[7].length>1&&pd(i),s=i[7].length>1&&!i[5]&&vd(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=G(),s&&s.c(),n=ke()},m(o,c){l&&l.m(o,c),R(o,e,c),r&&r.m(o,c),R(o,t,c),s&&s.m(o,c),R(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=_d(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=pd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=vd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&A(e),r&&r.d(o),o&&A(t),s&&s.d(o),o&&A(n)}}}function _d(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){R(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Pe(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function pd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=bd(cd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=cd(l,t,s);n[s]?n[s].p(o,r):(n[s]=bd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function md(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ce(n),r=G(),s=k("i"),o=G(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){R(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=le(e,"click",Dt(i[32])),h=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Pe(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function bd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&md(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=md(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function vd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ce(n),r=G(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Dt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Pe(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function wd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){R(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",Dt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Pe(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&A(e),o=!1,c()}}}function Sd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cd(fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=fd(l,t,s);n[s]?n[s].p(o,r):(n[s]=Cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function zS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=G(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",_),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Pe(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function GS(i){let e,t=i[16]&&kd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=kd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function kd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new mr(!1),l=G(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){R(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function Cd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!te.isFunction(o[8])),e)return GS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return zS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,c){s&&s.m(o,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&A(n)}}}function qS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ce(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function KS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function yd(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function JS(i){let e,t;function n(o,c){return o[12]?FS:OS}let l=n(i),r=l(i),s=i[2]&&gd(i);return{c(){r.c(),e=G(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=gd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const jS=()=>{};function YS(i,e,t){let n;const l=Wt();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:m}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,T,L=pt("getUnsavedChangesModalPromise"),V=pt("getTranslation");_i(i,V,pe=>t(17,n=pe));let O=pt("store");const F={closeDropDown:()=>{x("appSwitcherPopover")}},W=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:m,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach($e=>{$e==="pathData"?t(24,N=pe.pathData):$e==="appSwitcherItems"?t(7,m=pe.appSwitcherItems):$e==="itemRenderer"?t(8,v=pe.itemRenderer):$e==="pathParams"?t(9,S=pe.pathParams):$e==="selectedItem"?t(5,_=pe.selectedItem):$e==="title"?t(2,o=pe.title):$e==="defaultSubTitle"?t(23,C=pe.defaultSubTitle):$e==="subTitle"?t(10,y=pe.subTitle):$e==="defaultTitle"?t(6,p=pe.defaultTitle):$e==="subTitle"?t(10,y=pe.subTitle):$e==="showMainAppEntry"?t(4,h=pe.showMainAppEntry):$e==="hasApps"?t(3,c=pe.hasApps):$e==="hasLogo"&&t(1,s=pe.hasLogo)})},store:O});Yt(()=>{VS(W())}),On(()=>{(!T||T!=N)&&(R_(W()),T=N)});function ae(pe,$e,Vt){return setTimeout(()=>{$e&&v(pe,$e.children[Vt],F)}),""}function Z(pe){L().then(()=>{tt.navigateTo(me.applyPathParams(pe,S))},()=>{})}function Q(){L().then(()=>{tt.navigateTo("/")},()=>{})}function de(pe){l("handleClick",{node:pe}),x("appSwitcherPopover")}function x(pe){l("toggleDropdownState",{name:pe})}function J(pe){return pe.testId?pe.testId:ye.prepareForTests(pe.title||pe)}function he(pe,$e){if(pe.link){const Vt=me.applyPathParams(pe.link,$e);if(Vt.indexOf(":")!==0&&Vt.indexOf("/:")===-1)return!0}return!1}function ne(pe){return me.getNodeHref(pe)}function X(pe){Xe[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const Ne=pe=>{ye.handleNavAnchorClickedWithoutMetaKey(pe)&&Z("/")};function ie(pe){Xe[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const He=()=>Z("/"),Se=pe=>{ye.handleNavAnchorClickedWithoutMetaKey(pe)&&Z("/")},j=()=>Z("/"),fe=()=>x("appSwitcherPopover"),ve=()=>x("appSwitcherPopover"),re=()=>x("appSwitcherPopover"),Ee=(pe,$e)=>{ye.handleNavAnchorClickedWithoutMetaKey($e)&&Z(pe.link)};function De(pe){Xe[pe?"unshift":"push"](()=>{D=pe,t(16,D)})}return i.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,s=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"dropDownStates"in pe&&t(11,g=pe.dropDownStates),"showMainAppEntry"in pe&&t(4,h=pe.showMainAppEntry),"selectedItem"in pe&&t(5,_=pe.selectedItem),"defaultTitle"in pe&&t(6,p=pe.defaultTitle),"appSwitcherItems"in pe&&t(7,m=pe.appSwitcherItems),"itemRenderer"in pe&&t(8,v=pe.itemRenderer),"pathParams"in pe&&t(9,S=pe.pathParams),"subTitle"in pe&&t(10,y=pe.subTitle),"defaultSubTitle"in pe&&t(23,C=pe.defaultSubTitle),"pathData"in pe&&t(24,N=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,I=pe.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,I,Z,Q,x,D,n,V,ae,J,he,ne,C,N,de,X,Ne,ie,He,Se,j,fe,ve,re,Ee,De]}class QS extends At{constructor(e){super(),Lt(this,e,YS,JS,yt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function Pd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Nd(i){let e,t,n,l,r,s,o=i[0]&&Id(i),c=(i[10]||i[11])&&Vd(i);return{c(){e=k("div"),o&&o.c(),t=G(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){R(g,e,h),o&&o.m(e,null),R(g,t,h),R(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Id(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Vd(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&A(e),o&&o.d(),g&&A(t),g&&A(n),c&&c.d()}}}function Id(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?XS:ZS}let g=c(i),h=g(i),_=i[7].name&&Td(i),p=i[7].description&&Ld(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Rd(Pd(i,m,y));let S=i[12]&&Ed(i);return{c(){e=k("div"),h.c(),t=G(),n=k("div"),_&&_.c(),l=G(),p&&p.c(),r=G(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=G(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){R(y,e,C),h.m(e,null),R(y,t,C),R(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),R(y,r,C),R(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Td(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Ld(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let N;for(N=0;N<m.length;N+=1){const I=Pd(y,m,N);v[N]?v[N].p(I,C):(v[N]=Rd(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Ed(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&A(e),h.d(),y&&A(t),y&&A(n),_&&_.d(),p&&p.d(),y&&A(r),y&&A(s),ft(v,y),S&&S.d()}}}function ZS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ce(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Pe(n,t)},d(l){l&&A(e)}}}function XS(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ti(e,"background-image","url('"+i[7].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&128&&ti(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Td(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ld(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ad(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function $S(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),ti(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&ti(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function xS(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Rd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ad(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=G(),l=k("span"),s=Ce(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ad(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Pe(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Ed(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Dd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=G(),l=k("span"),s=Ce(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){R(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[le(e,"click",Dt(i[5])),le(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Dd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Pe(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Qe(c)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?tk:ek}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ek(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function tk(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Vd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Md(i),l=i[10]&&!i[8]&&Od(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Md(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Od(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Md(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=Ce(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){R(c,e,g),w(e,t),w(t,l),s||(o=le(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Pe(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),s=!1,o()}}}function Od(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=G(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){R(s,e,o),R(s,t,o),R(s,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Qe(r)}}}function nk(i){let e,t=!i[1]&&Nd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Nd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function ik(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=pt("store"),y=pt("getTranslation");_i(i,y,X=>t(13,n=X));let C=pt("getUnsavedChangesModalPromise"),N=pt("openViewInModal");Yt(async()=>{di.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),ln.getLoggedInStore().subscribe(X=>{t(8,c=X)}),ln.getUserInfoStore().subscribe(X=>{t(7,o=X),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function D(X){return ye.renderIconClassName(X)}function T(X){return ye.isOpenUIiconName(X.icon)}function L(X){return X.testId?X.testId:ye.prepareForTests(X.label)}function V(X){return me.getNodeHref(X)}function O(){m||(Fn.doOnStoreChange(S,async()=>{const X=await se.getConfigValueAsync("navigation.profile.logout"),Ne=await se.getConfigValueAsync("userSettings"),ie=Ne||await se.getConfigValueAsync("settings.userSettings"),He={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(ie)){const Se=ie.userSettingsProfileMenuEntry;He.settings={...al.userSettingsProfileMenuEntry,...Se}}He.logout={...al.logout,...X},t(11,_=Boolean(X)),v=!1,ln.setProfileLogoutFn(null),X&&te.isFunction(X.customLogoutFn)&&(v=!0,ln.setProfileLogoutFn(X.customLogoutFn)),t(9,g=He),t(12,p=Boolean(ie))},["navigation.profile"]),m=!0)}async function F(){const X=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");X&&(ln.setUserInfo(o),t(7,o=X),l("userInfoUpdated",o))}function W(X){C().then(()=>{if(X.openNodeInModal){const Ne=me.buildRoute(X,`${X.link}`);N(Ne,X.openNodeInModal===!0?{}:X.openNodeInModal)}else tt.navigateToLink(X)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?Q():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){es.openUserSettings(),l("toggleDropdownState")}function Q(){ln.logout()}function de({keyCode:X}){(X===gi||X===ba)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:x}=e;const J=X=>{ye.handleNavAnchorClickedWithoutMetaKey(X)},he=X=>W(X),ne=X=>de(X);return i.$$set=X=>{"isHidden"in X&&t(1,r=X.isHidden),"addNavHrefForAnchor"in X&&t(2,s=X.addNavHrefForAnchor),"showUserInfo"in X&&t(0,x=X.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,x=Boolean(o&&(o.name||o.email)))},[x,r,s,W,ae,Z,de,o,c,g,h,_,p,n,y,I,D,T,L,V,O,F,Q,J,he,ne]}class lk extends At{constructor(e){super(),Lt(this,e,ik,nk,yt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Fd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Ud(i){let e,t,n,l,r,s=i[0]&&Bd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Wd(Fd(i,o,_));let g=i[12]&&zd(i),h=(i[10]||i[11])&&qd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=G();for(let _=0;_<c.length;_+=1)c[_].c();l=G(),g&&g.c(),r=G(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){R(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Bd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let m;for(m=0;m<o.length;m+=1){const v=Fd(_,o,m);c[m]?c[m].p(v,p):(c[m]=Wd(v),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=zd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=qd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ft(c,_),g&&g.d(),h&&h.d()}}}function Bd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ce(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Pe(l,n)},d(r){r&&A(e)}}}function Hd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function rk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function sk(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Wd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Hd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=G(),l=k("span"),s=Ce(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Hd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Pe(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function zd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Gd(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=G(),l=k("span"),s=Ce(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[le(e,"click",Dt(i[5])),le(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Gd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Pe(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Qe(g)}}}function Gd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?ok:ak}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ak(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function ok(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function qd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Kd(i),l=i[10]&&!i[8]&&jd(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Kd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=jd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Kd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Jd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=G(),l=k("span"),s=Ce(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=le(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Jd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Pe(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Jd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?fk:uk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function uk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function fk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function jd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){R(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function ck(i){let e,t=!i[1]&&Ud(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Ud(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function dk(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=pt("store"),y=pt("getTranslation");_i(i,y,X=>t(13,n=X));let C=pt("getUnsavedChangesModalPromise"),N=pt("openViewInModal");Yt(async()=>{di.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),ln.getLoggedInStore().subscribe(X=>{t(8,c=X)}),ln.getUserInfoStore().subscribe(X=>{t(7,o=X),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function D(X){return ye.renderIconClassName(X)}function T(X){return ye.isOpenUIiconName(X.icon)}function L(X){return X.testId?X.testId:ye.prepareForTests(X.label)}function V(X){return me.getNodeHref(X)}function O(){m||(Fn.doOnStoreChange(S,async()=>{const X=await se.getConfigValueAsync("navigation.profile.logout"),Ne=await se.getConfigValueAsync("userSettings"),ie=Ne||await se.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(ie));const He={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Se=ie.userSettingsProfileMenuEntry;He.settings={...al.userSettingsProfileMenuEntry,...Se}}He.logout={...al.logout,...X},t(11,_=Boolean(X)),v=!1,ln.setProfileLogoutFn(null),X&&te.isFunction(X.customLogoutFn)&&(v=!0,ln.setProfileLogoutFn(X.customLogoutFn)),t(9,g=He)},["navigation.profile"]),m=!0)}async function F(){const X=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");X&&(ln.setUserInfo(o),t(7,o=X),l("userInfoUpdated",o))}function W(X){C().then(()=>{if(X.openNodeInModal){const Ne=me.buildRoute(X,`${X.link}`);N(Ne,X.openNodeInModal===!0?{}:X.openNodeInModal)}else tt.navigateToLink(X)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?Q():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){es.openUserSettings(),l("toggleDropdownState")}function Q(){ln.logout()}function de({keyCode:X}){(X===gi||X===ba)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:x}=e;const J=X=>{ye.handleNavAnchorClickedWithoutMetaKey(X)},he=X=>W(X),ne=X=>de(X);return i.$$set=X=>{"isHidden"in X&&t(1,r=X.isHidden),"addNavHrefForAnchor"in X&&t(2,s=X.addNavHrefForAnchor),"showUserInfo"in X&&t(0,x=X.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,x=Boolean(o&&(o.name||o.email)))},[x,r,s,W,ae,Z,de,o,c,g,h,_,p,n,y,I,D,T,L,V,O,F,Q,J,he,ne]}class E_ extends At{constructor(e){super(),Lt(this,e,dk,ck,yt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Yd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Qd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Xd(Yd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=Yd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Xd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function hk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function gk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){R(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),m,v,S,y,C,N;function I(O,F){return F&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?gk:hk}let D=I(i,-1),T=D(i);r=new Yn({props:{node:i[12]}});let L=p&&Zd(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),T.c(),l=G(),qe(r.$$.fragment),s=G(),o=k("div"),c=k("div"),h=Ce(g),_=G(),L&&L.c(),m=G(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,F){R(O,e,F),w(e,t),T.m(t,null),w(t,l),ze(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),L&&L.m(o,null),w(e,m),y=!0,C||(N=le(e,"click",V),C=!0)},p(O,F){i=O,D===(D=I(i,F))&&T?T.p(i,F):(T.d(1),T=D(i),T&&(T.c(),T.m(t,l)));const W={};F&2&&(W.node=i[12]),r.$set(W),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Pe(h,g),F&34&&(p=i[5](i[12])),p?L?L.p(i,F):(L=Zd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){q(r.$$.fragment,O),y=!1},d(O){O&&A(e),T.d(),Ge(r),L&&L.d(),C=!1,N()}}}function _k(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D=i[1]&&Qd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ce(i[0]),c=G(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=G(),m=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){R(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),D&&D.m(_,null),w(t,p),w(t,m),w(m,v),w(v,S),w(S,y),C=!0,N||(I=[le(y,"click",i[9]),le(e,"click",Bt(pk))],N=!0)},p(T,[L]){(!C||L&1)&&Pe(o,T[0]),T[1]?D?(D.p(T,L),L&2&&U(D,1)):(D=Qd(T),D.c(),U(D,1),D.m(_,null)):D&&(Ae(),q(D,1,1,()=>{D=null}),Re())},i(T){C||(U(D),C=!0)},o(T){q(D),C=!1},d(T){T&&A(e),D&&D.d(),N=!1,Qe(I)}}}const pk=()=>{};function mk(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return ye.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Dl.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,m,v]}class D_ extends At{constructor(e){super(),Lt(this,e,mk,_k,yt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:bk}=Mi;function $d(i,e,t){const n=i.slice();return n[6]=e[t],n}function xd(i){let e,t,n,l=i[0]&&eh(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&U(l,1)):(l=eh(r),l.c(),U(l,1),l.m(t,null)):l&&(Ae(),q(l,1,1,()=>{l=null}),Re())},i(r){n||(U(l),n=!0)},o(r){q(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function eh(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=th($d(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=$d(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=th(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function vk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),it(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function wk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function th(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(T,L){return L&1&&(l=null),l==null&&(l=!!(T[6].icon&&T[9](T[6]))),l?wk:vk}let N=C(i,-1),I=N(i);s=new Yn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=G(),qe(s.$$.fragment),o=G(),c=k("span"),h=Ce(g),p=G(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[6]))},m(T,L){R(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[le(t,"click",i[14]),le(e,"click",D)],S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L&1&&(V.node=i[6]),s.$set(V),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Pe(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||L&1&&m!==(m=i[12](i[6])))&&f(e,"data-testid",m)},i(T){v||(U(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,Qe(y)}}}function nh(i){let e,t;return e=new D_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Sk(i){let e,t,n,l,r,s=!i[1]&&xd(i),o=i[1]&&nh(i);return{c(){s&&s.c(),e=G(),o&&o.c(),t=ke()},m(c,g){s&&s.m(c,g),R(c,e,g),o&&o.m(c,g),R(c,t,g),n=!0,l||(r=le(bk,"resize",ga),l=!0)},p(c,[g]){c[1]?s&&(Ae(),q(s,1,1,()=>{s=null}),Re()):s?(s.p(c,g),g&2&&U(s,1)):(s=xd(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=nh(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(Ae(),q(o,1,1,()=>{o=null}),Re())},i(c){n||(U(s),U(o),n=!0)},o(c){q(s),q(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function ga(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function kk(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=pt("getUnsavedChangesModalPromise"),g=pt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Yt(async()=>{ga()}),On(async()=>{r||t(0,r=await Ut.getChildren(s)),t(0,r)});function m(V){c().then(()=>{if(V.openNodeInModal){const O=me.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else tt.handleRouteClick(V,p())},()=>{}),S()}function v(V){m(V.detail)}function S(){n("close")}function y(V){return ye.isOpenUIiconName(V.icon)}function C(V){return ye.renderIconClassName(V)}function N(V){return dt.getTranslation(V.label)}function I(V){return V.testId?V.testId:ye.prepareForTests(V.pathSegment,V.label)}function D(V){return me.getNodeHref(V,o)}const T=V=>{ye.handleNavAnchorClickedWithoutMetaKey(V)},L=V=>m(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,m,v,S,ga,s,h,_,y,C,N,I,D,T,L]}class V_ extends At{constructor(e){super(),Lt(this,e,kk,Sk,yt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ga}}const cn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?te.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=te.addLeadingSlash(tt.getCurrentPath()),n=te.addLeadingSlash(e.link);return t.startsWith(n)?i.link+te.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=te.normalizePath(i),n=te.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=se.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=cn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=te.normalizePath(i),t=te.normalizePath(t),!!cn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=cn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await cn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=se.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await se.getConfigValueAsync("navigation.contextSwitcher.options");return await cn.generateSwitcherNav(e,t)}};function ih(i,e,t){const n=i.slice();return n[21]=e[t],n}function lh(i,e,t){const n=i.slice();return n[21]=e[t],n}function rh(i,e,t){const n=i.slice();return n[21]=e[t],n}function sh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(rh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=rh(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function ah(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),o=G(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",Dt(Lk)),le(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Pe(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function oh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&ah(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=ah(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function uh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
57
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-10o42af"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=g_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=__(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function B2(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Xf(i),N=i[5]&&xf(i),I=i[4]&&ec();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=G(),l=k("div"),N&&N.c(),r=G(),s=k("div"),g=G(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-10o42af"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-10o42af"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-10o42af"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=jn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"),f(e,"style",m=i[6]?"z-index:1001":"")},m(D,T){R(D,e,T),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=le(U2,"keydown",i[3]),S=!0)},p(D,[T]){D[6]||D[5]&&D[0].header?C?(C.p(D,T),T&97&&U(C,1)):(C=Xf(D),C.c(),U(C,1),C.m(t,n)):C&&(Ae(),q(C,1,1,()=>{C=null}),Re()),D[5]?N?(N.p(D,T),T&32&&U(N,1)):(N=xf(D),N.c(),U(N,1),N.m(l,r)):N&&(Ae(),q(N,1,1,()=>{N=null}),Re()),(!v||T&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||T&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I?T&16&&U(I,1):(I=ec(),I.c(),U(I,1),I.m(t,null)):I&&(Ae(),q(I,1,1,()=>{I=null}),Re()),(!v||T&35&&h!==(h="fd-dialog__content "+(D[5]?D[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+D[1])+" svelte-10o42af"))&&f(t,"class",h),(!v||T&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||T&97&&p!==(p=jn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||T&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(U(C),U(N),U(I),v=!0)},o(D){q(C),q(N),q(I),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function H2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,m,v=!1,S=!1,y=!0,C=!1,N=!0,I,D=ct("store");const T=x=>Ce.getNodeLabel(x),L=async x=>{const Q=x&&x.length?te.getPathWithoutHash(x):"",J=me.parseParams(Q.split("?")[1]);m=me.getNodeParams(J);const he=await Ft.extractDataFromPath(x);_=he.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),I=C?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),C?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=T(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=T(_),r),t(0,r._liveLabel=!0,r)),p=he.pathData,t(8,s=!0)},V=async x=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await W():await O(),hr.renderWebComponent(_.viewUrl,document.querySelector(I),p.context,_),h("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Q=await F(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:m}}),v=!0}else await L(x)},O=async()=>{let x,Q;const J=document.querySelector(".lui-modal-index-"+c),{size:he,width:ne,height:Y}=r,Pe=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ne&&ne.match(Pe)&&Y&&Y.match(Pe))x=Y,Q=ne;else switch(he){case"fullscreen":x="100vh",Q="100vw",J.classList.add("lui-modal-fullscreen");break;case"m":x="80%",Q="60%";break;case"s":x="80%",Q="40%";break;default:x="80%",Q="80%"}J.setAttribute("style",`width:${Q};height:${x};`)},F=async(x,Q)=>{C?await W():await O(),x&&(x=me.substituteViewUrl(x,Q));const J=await Ie.createIframe(x,void 0,_,"modal",Q);return document.querySelector(I).appendChild(J),J};async function W(x){let Q="";const J=document.getElementsByClassName("drawer"),he=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Q="width:75%;":r.size==="m"?Q="width:50%;":r.size==="s"?Q="width:25%;":r.size==="xs"&&(Q="width:15.5%;")),r.backdrop?J[0].setAttribute("style",Q):(he[0].setAttribute("style",Q),J[0].setAttribute("style","width:100%"))}ma(()=>{V(o)});const oe=async x=>{x.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),x.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),x.data.msg==="luigi.get-context"&&(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&t(4,y=!1),x.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),x.data.msg==="luigi.navigation.updateModalSettings"&&((x.data.updatedModalSettings.title||x.data.updatedModalSettings.title==="")&&t(0,r.title=x.data.updatedModalSettings.title,r),x.data.updatedModalSettings.size&&(t(0,r.size=x.data.updatedModalSettings.size,r),await O()))};jt(()=>{un.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=T(_),r)},["navigation.viewgroupdata"]),Nn.addEventListener("message",oe),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),xr(()=>{Nn.removeEventListener("message",oe),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(x){x.keyCode===hi&&h("close")}const $=()=>h("close",{activeDrawer:!1});return i.$$set=x=>{"settings"in x&&t(0,r=x.settings),"isDataPrepared"in x&&t(8,s=x.isDataPrepared),"nodepath"in x&&t(9,o=x.nodepath),"modalIndex"in x&&t(1,c=x.modalIndex),"disableBackdrop"in x&&t(2,g=x.disableBackdrop),"$$scope"in x&&t(10,l=x.$$scope)},[r,c,g,fe,y,C,N,h,s,o,l,n,$]}class L_ extends Et{constructor(e){super(),Rt(this,e,H2,B2,Pt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function tc(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function nc(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function ic(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function lc(i){let e,t=i[1][1].settings&&rc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=rc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function rc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=gc(tc(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){R(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=tc(r,n,o);l[o]?l[o].p(c,s):(l[o]=gc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&A(e),ft(l,r)}}}function sc(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?z2:W2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function W2(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){R(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ne(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function z2(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){R(o,e,c),qf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&qf(e,i[0][i[1][0]][i[28]])},d(o){o&&A(e),l=!1,r()}}}function ac(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,m,v=Array.isArray(i[29].options),S,y;function C(...D){return i[19](i[28],i[31],i[29],...D)}function N(){return i[20](i[29])}let I=v&&oc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=ye(o),h=G(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=G(),m=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,T){R(D,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,m),I&&I.m(m,null),S||(y=[le(r,"keydown",C),le(n,"click",Ut(N))],S=!0)},p(D,T){i=D,T[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ne(c,o),T[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),T[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,T):(I=oc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Qe(y)}}}function oc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=uc(ic(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=ic(l,t,s);n[s]?n[s].p(o,r):(n[s]=uc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function uc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=ye(n),r=G(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),ci(e,"is-selected",i[4]===i[34]),ci(e,"is-focus",i[4]===i[34])},m(g,h){R(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[le(e,"click",c),le(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ne(l,n),h[0]&16&&ci(e,"is-selected",i[4]===i[34]),h[0]&16&&ci(e,"is-focus",i[4]===i[34])},d(g){g&&A(e),s=!1,Qe(o)}}}function fc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=cc(nc(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){R(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=nc(s,l,c);r[c]?r[c].p(g,o):(r[c]=cc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ft(r,s)}}}function cc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=ye(t),l=G(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,m){R(p,e,m),w(e,n),w(e,l),g||(h=le(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[32])+"")&&Ne(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function dc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=G(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,m){R(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=le(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function hc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){R(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&A(e),n=!1,l()}}}function gc(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,m,v,S=i[29].type==="string"&&sc(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ac(i),C=_&&fc(i),N=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&dc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&hc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=ye(l),s=ye(":"),o=G(),c=k("div"),S&&S.c(),g=G(),y&&y.c(),h=G(),C&&C.c(),p=G(),N&&N.c(),m=G(),I&&I.c(),v=G(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,T){R(D,e,T),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,m),I&&I.m(c,null),w(e,v)},p(D,T){T[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ne(r,l),D[29].type==="string"?S?S.p(D,T):(S=sc(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?y?y.p(D,T):(y=ac(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),T[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?C?C.p(D,T):(C=fc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?N?N.p(D,T):(N=dc(D),N.c(),N.m(c,m)):N&&(N.d(1),N=null),D[29].type==="boolean"&&D[29].style==="checkbox"?I?I.p(D,T):(I=hc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function G2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&lc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){R(r,e,s),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=lc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&A(e),l&&l.d(),t=!1,Qe(n)}}}function ra(i,e,t){if(i&&t>0)return i.matches(e)?i:ra(i.parentNode,e,t-1)}function q2(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let c=ct("getTranslation");_i(i,c,Q=>t(5,n=Q));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(Q){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{S(J,!1)})}function v(Q,J){let he=ra(Q.target,".fd-popover__control",20),ne=he.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(m(),S(he,!ne))}function S(Q,J){const he=Q.querySelector(".lui-activate-language-dropdown"),ne=Q.parentNode.querySelector(".fd-popover__body"),Y=Q.parentNode.querySelector(".fd-select__control");Q.setAttribute("aria-expanded",J),ne.setAttribute("aria-hidden",!J),Y.setAttribute("aria-expanded",J),he.setAttribute("aria-expanded",J),t(14,h=J)}function y(Q,J,he){t(4,g=he),t(0,s[l[0]][Q]=J.value||J,s)}function C(Q,J){document.querySelectorAll(".enum-buttons-container-"+Q+" button").forEach(he=>{const ne=he.getAttribute("id"),Y=`lui-us-enum_button_${Q}_option`;ne===Y?he.classList.add("fd-button--emphasized"):he.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][Q]=J.value||J,s)}function N(Q,J){let he;if(Array.isArray(J)){for(let ne=0;ne<J.length;ne++)if(te.isObject(J[ne])){if(J[ne].value&&J[ne].value===Q){he=J[ne].label,t(4,g=ne);break}}else{he=Q,t(4,g=J.indexOf(Q));break}return n(he)}}function I(Q){return n(te.isObject(Q)?Q.label:Q)}function D(Q,J,he){return te.isObject(he)?`${Q}_${J}_${he.value}`:`${Q}_${J}_${he}`}function T(Q,J,he,ne){let Y=ra(Q.target,".lui-anchor-node",20);const Pe=document.getElementById(`fd-form-input-dropdown-${he}`).children;let ie=-1;if([...Pe].forEach((He,Se)=>{He.classList.contains("is-focus")&&(ie=Se)}),h){if(Q.keyCode===Vl&&Q.altKey&&(Y.click(),Y.focus()),Q.keyCode===Di&&!Q.altKey){if(ie===-1){ie=0,Pe.item(ie).classList.add("is-focus");return}ie<ne.options.length-1&&(Pe.item(ie).classList.remove("is-focus"),ie+=1,Pe.item(ie).classList.add("is-focus"))}if(Q.keyCode===Vl&&!Q.altKey){if(ie===-1){ie=ie.length-1,Pe.item(ie).classList.add("is-focus");return}ie>0&&ie<ne.options.length&&(Pe.item(ie).classList.remove("is-focus"),ie-=1,Pe.item(ie).classList.add("is-focus"))}Q.keyCode===gi&&y(J,ne.options[ie],ie)}else Y.focus(),Q.keyCode===Di&&Q.altKey&&Y.click(),Q.keyCode===Di&&!Q.altKey&&ie<ne.options.length-1&&y(J,ne.options[ie+1],ie+1),Q.keyCode===Vl&&!Q.altKey&&ie>0&&ie<ne.options.length&&y(J,ne.options[ie-1],ie-1)}function L(Q){if(h){let J=ra(Q.target,".fd-popover",20);J.blur(),(Q.keyCode===ba||Q.keyCode===gi)&&(Q.target.click(),m(),setTimeout(()=>{J.focus()},0))}}N();function V(Q){s[l[0]][Q]=this.value,t(0,s)}const O=(Q,J,he,ne)=>T(ne,Q,J,he),F=Q=>v(event,Q.isEditable),W=(Q,J,he)=>y(Q,J,he),oe=Q=>L(Q),fe=(Q,J)=>C(Q,J);function $(Q){s[l[0]][Q]=this.checked,t(0,s)}function x(Q){s[l[0]][Q]=this.checked,t(0,s)}return i.$$set=Q=>{"userSettingGroup"in Q&&t(1,l=Q.userSettingGroup),"userSettingsGroupKey"in Q&&t(15,r=Q.userSettingsGroupKey),"storedUserSettingData"in Q&&t(0,s=Q.storedUserSettingData),"isComboOpen"in Q&&t(14,h=Q.isComboOpen)},[s,l,T,L,g,n,c,m,v,y,C,N,I,D,h,r,_,p,V,O,F,W,oe,fe,$,x]}class K2 extends Et{constructor(e){super(),Rt(this,e,q2,G2,Pt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:_c}=Mi;function pc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function mc(i,e,t){const n=i.slice();return n[38]=e[t],n}function bc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?j2:J2}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=G(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),R(o,t,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&A(t),o&&A(n)}}}function J2(i){let e,t,n,l,r,s=i[38][1].initials&&vc(i);return{c(){e=k("span"),l=G(),s&&s.c(),r=ke(),f(e,"class",t=jn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ti(e,"background-image","url('"+i[38][1].icon+"')"),ti(e,"background-size","cover")},m(o,c){R(o,e,c),R(o,l,c),s&&s.m(o,c),R(o,r,c)},p(o,c){c[0]&2&&t!==(t=jn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ti(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=vc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&A(e),o&&A(l),s&&s.d(o),o&&A(r)}}}function j2(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=jn(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){R(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=jn(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function vc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ye(t),f(e,"class",l=jn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){R(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ne(n,t),o[0]&2&&l!==(l=jn(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function wc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,m,v,S=i[38][1].icon&&bc(i);function y(){return i[22](i[38])}function C(...N){return i[23](i[37],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=G(),l=k("div"),r=k("div"),o=ye(s),c=G(),g=k("div"),_=ye(h),p=G(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){R(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),m||(v=[le(e,"click",Vt(y)),le(e,"keydown",C)],m=!0)},p(N,I){i=N,i[38][1].icon?S?S.p(i,I):(S=bc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ne(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ne(_,h)},d(N){N&&A(e),S&&S.d(),m=!1,Qe(v)}}}function Sc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=wc(mc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=mc(l,t,s);n[s]?n[s].p(o,r):(n[s]=wc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function kc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new K2({props:o}),$e.push(()=>pt(e,"closeDropDown",r)),$e.push(()=>pt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){ze(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],_t(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],_t(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){q(e.$$.fragment,c),l=!1},d(c){Ge(e,c)}}}function Y2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,N=i[10](i[7])+"",I,D,T,L,V,O,F,W,oe,fe,$,x=i[10](i[5])+"",Q,J,he,ne,Y=i[10](i[6])+"",Pe,ie,He,Se,ce=Object.entries(i[1]),X=[];for(let re=0;re<ce.length;re+=1)X[re]=Sc(pc(i,ce,re));let ge=i[11]&&kc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=ye(c),h=G(),_=k("div"),p=k("ul");for(let re=0;re<X.length;re+=1)X[re].c();m=G(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=G(),C=k("h2"),I=ye(N),D=G(),T=k("div"),L=k("div"),ge&&ge.c(),V=G(),O=k("div"),F=G(),W=k("footer"),oe=k("div"),fe=k("div"),$=k("button"),Q=ye(x),J=G(),he=k("div"),ne=k("button"),Pe=ye(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(L,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(T,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f($,"data-testid","lui-us-saveBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(fe,"class","fd-bar__element"),f(ne,"data-testid","lui-us-dismissBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(he,"class","fd-bar__element"),f(oe,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(re,Ee){R(re,e,Ee),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let De=0;De<X.length;De+=1)X[De].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,T),w(T,L),ge&&ge.m(L,null),w(T,V),w(T,O),w(t,F),w(t,W),w(W,oe),w(oe,fe),w(fe,$),w($,Q),w(oe,J),w(oe,he),w(he,ne),w(ne,Pe),ie=!0,He||(Se=[le(_c,"resize",i[20]),le(_c,"keydown",i[3]),le(S,"click",i[17]),le($,"click",i[26]),le(ne,"click",i[27])],He=!0)},p(re,Ee){if((!ie||Ee[0]&1040)&&c!==(c=re[10](re[4])+"")&&Ne(g,c),Ee[0]&803846){ce=Object.entries(re[1]);let De;for(De=0;De<ce.length;De+=1){const be=pc(re,ce,De);X[De]?X[De].p(be,Ee):(X[De]=Sc(be),X[De].c(),X[De].m(p,null))}for(;De<X.length;De+=1)X[De].d(1);X.length=ce.length}(!ie||Ee[0]&1152)&&N!==(N=re[10](re[7])+"")&&Ne(I,N),re[11]?ge?(ge.p(re,Ee),Ee[0]&2048&&U(ge,1)):(ge=kc(re),ge.c(),U(ge,1),ge.m(L,null)):ge&&(Ae(),q(ge,1,1,()=>{ge=null}),Re()),(!ie||Ee[0]&1056)&&x!==(x=re[10](re[5])+"")&&Ne(Q,x),(!ie||Ee[0]&1088)&&Y!==(Y=re[10](re[6])+"")&&Ne(Pe,Y)},i(re){ie||(U(ge),ie=!0)},o(re){q(ge),ie=!1},d(re){re&&A(e),ft(X,re),ge&&ge.d(),He=!1,Qe(Se)}}}function Cc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function Q2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Z2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function A_(i,e,t){if(i&&t>0)return i.matches(e)?i:A_(i.parentNode,e,t-1)}function yc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function X2(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:c={}}=e,g={},h=ct("getTranslation");_i(i,h,ie=>t(10,n=ie));let _=al.userSettingsDialog.dialogHeader,p=al.userSettingsDialog.saveBtn,m=al.userSettingsDialog.dismissBtn,v={},S,y,C,N;xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),jt(()=>{const ie=se.getConfigValue("userSettings.userSettingsDialog"),He=ie||se.getConfigValue("settings.userSettings.userSettingsDialog");He&&(t(4,_=He.dialogHeader?He.dialogHeader:_),t(5,p=He.saveBtn?He.saveBtn:p),t(6,m=He.dismissBtn?He.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Nn.addEventListener("message",Se=>{const ce=Ie.getValidMessageSource(Se);if(!ce||Se.data.msg!=="custom")return;ce._ready=!0;const X=ca.convertCustomMessageInternalToUser(Se.data),ge="luigi.updateUserSettings";if(X.id===ge){const re=fr.findActiveCustomUserSettingsIframe(Se.source);if(re){let Ee=re.getAttribute("userSettingsGroup");t(0,c[Ee]=X.data,c)}}X.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&O()}),se.readUserSettings().then(Se=>{g=JSON.parse(JSON.stringify(Se)),Se===null?t(0,c=Cc(JSON.parse(JSON.stringify(r)),{})):t(0,c=Cc(JSON.parse(JSON.stringify(r)),Se)),D([S,r[0][S]])}).catch(Se=>{Se&&Se.message&&console.error(Se.message),Se&&Se.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(ie){if(t(7,y=ie.title?ie.title:""),!!te.isObject(ie.settings))for(let He in ie.settings){let Se=ie.settings[He];Se.type==="enum"?Array.isArray(Se.options)||console.error(`There is no options array for '${He}' defined in the Luigi userSettings config.`):Se.type===void 0&&console.error(`There is no data type defined for '${He}' in the Luigi userSettings config.`)}}function D(ie,He){t(11,o=ie);let Se=ie[0],ce=ie[1];if(I(ce),He?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ge=>{ge.classList.remove("is-selected")}),A_(He.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<en.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&yc()),ce.viewUrl){if(fr.hideUserSettingsIframe(),v.hasOwnProperty(Se))fr.getUserSettingsIframesInDom().forEach(X=>{X.userSettingsGroup===Se&&(X.style.display="block")});else{const X=$r.hasDecorators()?$r.applyDecorators(ce.viewUrl):ce.viewUrl;let ge=fr.createIframe(X,Se);v[Se]=ge}Q2()}else Z2()}const T=ie=>{t(0,c=ie.detail.userSettings)};function L(){se.storeUserSettings(c,g).then(()=>{s("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&s("close")})}function V(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<en.desktopMinWidth&&yc()}function F(ie){return Ce.renderIconClassName(ie)}function W(ie){return Ce.isOpenUIiconName(ie.icon)}let oe;const fe=()=>{const ie=window.innerWidth>=en.desktopMinWidth&&oe<en.desktopMinWidth;if(window.innerWidth<en.desktopMinWidth&&oe>=en.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),ie&&(document.querySelector(".confirm-button").style.display="block"),!oe){let Se=document.querySelector(".confirm-button");window.innerWidth<en.desktopMinWidth?Se.style.display="none":Se.style.display="block"}oe=window.innerWidth};function $(ie,He){let Se=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===gi||ie.keyCode===ba)&&Se[He].click(),ie.keyCode===E2&&Se[Object.keys(r).length-1].focus(),ie.keyCode===R2&&Se[0].focus()}function x(ie){ie.keyCode===hi&&C?N():ie.keyCode===hi&&!C&&s("close")}const Q=ie=>D(ie,event),J=(ie,He)=>$(He,[ie]);function he(ie){N=ie,t(9,N)}function ne(ie){C=ie,t(8,C)}const Y=()=>L(),Pe=()=>s("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,$,x,_,p,m,y,C,N,n,o,s,h,D,T,L,O,F,W,fe,l,Q,J,he,ne,Y,Pe]}class $2 extends Et{constructor(e){super(),Rt(this,e,X2,Y2,Pt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:x2}=Mi;function eS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){R(t,e,n)},p:Fe,d(t){t&&A(e)}}}function tS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=G(),l=k("h1"),s=ye(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){R(g,e,h),w(e,t),R(g,n,h),R(g,l,h),w(l,s),o||(c=le(t,"click",Ut(Vt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ne(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function Pc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=G(),n=k("div"),l=k("div"),r=G(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){R(g,e,h),R(g,t,h),R(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[le(s,"click",Ut(Vt(i[3]))),le(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Qe(c)}}}function nS(i){let e,t,n,l,r,s,o,c,g,h;t=new ts({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?tS:eS}let p=_(i),m=p(i),v=!i[0]&&Pc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=G(),l=k("div"),m.c(),s=G(),v&&v.c(),o=ke(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){R(S,e,y),ze(t,e,null),w(e,n),w(e,l),m.m(l,null),R(S,s,y),v&&v.m(S,y),R(S,o,y),c=!0,g||(h=le(x2,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&m?m.p(S,y):(m.d(1),m=p(S),m&&(m.c(),m.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=Pc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){q(t.$$.fragment,S),c=!1},d(S){S&&A(e),Ge(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function iS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,m,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=ct("getUnsavedChangesModalPromise");const T=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(he=>{he==="splitViewSettings"?t(1,y=J.splitViewSettings):he==="lastNode"?r=J.lastNode:he==="pathData"?s=J.pathData:he==="nodeParams"?o=J.nodeParams:he==="collapsed"?t(0,S=J.collapsed):he==="isDataPrepared"?t(8,C=J.isDataPrepared):he==="currentNode"?c=J.currentNode:he==="splitViewIframe"?h=J.splitViewIframe:he==="splitViewIframeData"?_=J.splitViewIframeData:he==="splitViewWC"?p=J.splitViewWC:he==="splitViewWCData"&&(m=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),L=async()=>{C?S||rt.createAndSetView(T()):await rt.prepareSplitViewData(T(),v)},V=()=>{l.split=rt.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=rt.getDragger()},O=()=>{const J=rt.getDraggerBackdrop();J&&(J.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(J){if(!!Ie.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&rt.close(T()),J.data.msg==="luigi.navigation.splitview.collapse"&&W(),J.data.msg==="luigi.navigation.splitview.expand"&&oe(),J.data.msg==="luigi.navigation.splitview.resize")){const he=parseInt(J.data.data);if(rt.calculateAndSetSplitViewValues(he,rt.internalValues),S)return;O(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}jt(()=>{fe(),g=F.bind(this),Nn.addEventListener("message",g)}),ma(()=>{L(),I!==C&&!S&&(I=C,O())}),xr(()=>{window.removeEventListener("message",g)});function W(){rt.collapse(T())}async function oe(){await rt.expand(T()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function fe(){const J=On.getShellbar().clientHeight;rt.internalValues.innerHeight=te.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-J,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=J+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),S||O()}function $(J){let he=J.y,ne={};const Y=function(ce){const X=he-ce.y,ge=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ge)||X===0)return;const re=ge-X,Ee=rt.internalValues.innerHeight-re,De=rt.enforceTresholds(re,Ee);re<De.top||Ee<De.bottom||(ne=De,he=ce.y,l.draggable.style.top=`${ne.top}px`)},Pe=function(){if(ie(),!ne.top||!ne.bottom||ne.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=ne.top,rt.splitViewValues=ne,O(),rt.sendMessageToClients("resize.ok",ne.percent)},ie=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",Y)},He=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",Y)};V(),ie(),He(),rt.getDraggerBackdrop().style.display="block"}const x=J=>{let he=rt.getDraggerButton();he&&(he.style.display=J?"block":"none"),he=rt.getCollapsedDraggerButton(),he&&(he.style.display=J?"block":"none")},Q=J=>{x(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,v=J.nodepath),"collapsed"in J&&t(0,S=J.collapsed),"splitViewSettings"in J&&t(1,y=J.splitViewSettings),"isDataPrepared"in J&&t(8,C=J.isDataPrepared),"disableBackdrop"in J&&t(2,N=J.disableBackdrop)},[S,y,N,W,oe,fe,$,Q,C,v]}class lS extends Et{constructor(e){super(),Rt(this,e,iS,nS,Pt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Nc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:aS,then:sS,catch:rS,value:1};return ua(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ua(t,n)||p_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function rS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function sS(i){let e,t=i[1]>0&&Ic(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ic(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=ye(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){R(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ne(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function aS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function oS(i){let e,t=i[0]&&i[0].badgeCounter&&Nc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function uS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Yn extends Et{constructor(e){super(),Rt(this,e,uS,oS,Pt,{node:0})}}function Tc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=ye(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ne(l,n)},d(r){r&&A(e)}}}function fS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Tc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function cS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class ns extends Et{constructor(e){super(),Rt(this,e,cS,fS,Pt,{node:0})}}const{window:na}=Mi;function Lc(i,e,t){const n=i.slice();return n[65]=e[t][0],n[66]=e[t][1],n[68]=t,n}function Ac(i,e,t){const n=i.slice();return n[69]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[69]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[69]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[69]=e[t],n}function Vc(i){let e,t,n,l,r,s,o=i[23](i[11].label)+"",c,g,h,_=i[11].icon&&Mc(i),p=i[11].showUpLink&&Oc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=G(),s=k("span"),c=ye(o),g=G(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1b792v2"),f(l,"class","fd-nested-list__link svelte-1b792v2"),f(l,"title",h=i[31](i[11],i[23](i[11].label))),f(n,"class","fd-nested-list__item svelte-1b792v2"),f(t,"class","fd-nested-list svelte-1b792v2"),f(e,"class","lui-nav-title svelte-1b792v2")},m(m,v){R(m,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,v){m[11].icon?_?_.p(m,v):(_=Mc(m),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&8390656&&o!==(o=m[23](m[11].label)+"")&&Ne(c,o),m[11].showUpLink?p?p.p(m,v):(p=Oc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&8390656&&h!==(h=m[31](m[11],m[23](m[11].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Mc(i){let e,t;function n(s,o){return o[0]&2048&&(e=null),e==null&&(e=!!s[27](s[11].icon)),e?hS:dS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function dS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[11].icon)||f(t,"src",n),f(t,"alt",l=i[11].altText?i[11].altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&2048&&!it(t.src,n=r[11].icon)&&f(t,"src",n),s[0]&2048&&l!==(l=r[11].altText?r[11].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function hS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[26](i[11].icon)+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&2048&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[26](n[11].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Oc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1b792v2"),f(e,"role","presentation"),f(e,"title",t=i[23]("luigi.navigation.up"))},m(r,s){R(r,e,s),n||(l=le(e,"click",Vt(i[18])),n=!0)},p(r,s){s[0]&8388608&&t!==(t=r[23]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Fc(i){let e,t,n,l,r=i[12],s=[];for(let c=0;c<r.length;c+=1)s[c]=ad(Lc(i,r,c));const o=c=>q(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[21]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1b792v2"),f(e,"class","lui-fd-side-nav-wrapper svelte-1b792v2")},m(c,g){R(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2127098848|g[1]&113){r=c[12];let h;for(h=0;h<r.length;h+=1){const _=Lc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=ad(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(Ae(),h=r.length;h<s.length;h+=1)o(h);Re()}(!l||g[0]&2097152&&n!==(n="fd-nested-list "+(c[21]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1b792v2"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)U(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(c){c&&A(e),ft(s,c)}}}function gS(i){let e,t,n,l;const r=[mS,pS],s=[];function o(c,g){return c[66].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ae(),q(s[h],1,1,()=>{s[h]=null}),Re(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function _S(i){let e,t,n=i[66],l=[];for(let s=0;s<n.length;s+=1)l[s]=sd(Dc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&1044402272|o[1]&33){n=s[66];let c;for(c=0;c<n.length;c+=1){const g=Dc(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=sd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function pS(i){let e,t,n=i[23](i[65])+"",l,r,s,o,c,g,h=i[9]&&i[66].metaInfo.icon&&Uc(i),_=i[66],p=[];for(let v=0;v<_.length;v+=1)p[v]=qc(Ac(i,_,v));const m=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=G(),l=ye(n),o=G();for(let v=0;v<p.length;v+=1)p[v].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-1b792v2"),f(e,"title",r=i[31](i[66],i[23](i[65]))),f(e,"data-testid",s=i[30](i[66].metaInfo,i[65])),f(e,"id","category_list_level1_"+i[68])},m(v,S){R(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),R(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);R(v,c,S),g=!0},p(v,S){if(v[9]&&v[66].metaInfo.icon?h?h.p(v,S):(h=Uc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&8392704)&&n!==(n=v[23](v[65])+"")&&Ne(l,n),(!g||S[0]&8392704&&r!==(r=v[31](v[66],v[23](v[65]))))&&f(e,"title",r),(!g||S[0]&4096&&s!==(s=v[30](v[66].metaInfo,v[65])))&&f(e,"data-testid",s),S[0]&1044402272|S[1]&33){_=v[66];let y;for(y=0;y<_.length;y+=1){const C=Ac(v,_,y);p[y]?(p[y].p(C,S),U(p[y],1)):(p[y]=qc(C),p[y].c(),U(p[y],1),p[y].m(c.parentNode,c))}for(Ae(),y=_.length;y<p.length;y+=1)m(y);Re()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)U(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ft(p,v),v&&A(c)}}}function mS(i){let e,t,n,l,r,s,o=i[23](i[65])+"",c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O,F,W,oe,fe,$;function x(X,ge){return ge[0]&4096&&(l=null),l==null&&(l=!!X[27](X[66].metaInfo.icon)),l?PS:yS}let Q=x(i,[-1,-1,-1]),J=Q(i);function he(){return i[45](i[66])}function ne(){return i[46](i[66])}function Y(...X){return i[47](i[66],...X)}let Pe=i[66],ie=[];for(let X=0;X<Pe.length;X+=1)ie[X]=Qc(Ec(i,Pe,X));const He=X=>q(ie[X],1,1,()=>{ie[X]=null});let Se=i[66].metaInfo&&i[66].metaInfo.label===i[7]&&Zc(i);function ce(){return i[52](i[66])}return{c(){e=k("li"),t=k("div"),n=k("a"),J.c(),r=G(),s=k("span"),c=ye(o),v=G(),S=k("button"),y=k("i"),T=G(),L=k("ul");for(let X=0;X<ie.length;X+=1)ie[X].c();O=G(),Se&&Se.c(),F=G(),f(s,"class","fd-nested-list__title svelte-1b792v2"),f(n,"title",g=i[31](i[66],i[23](i[65]))),f(n,"class",h="fd-nested-list__link "+(pn(i[66],i[8])?"is-expanded":"")+" svelte-1b792v2"),f(n,"tabindex",_=i[5]?"-1":"0"),f(n,"role",p=i[22]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[68]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=pn(i[66],i[8])),f(y,"class",C=pn(i[66],i[8])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1b792v2"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=pn(i[66],i[8])),f(S,"title",I=i[37](i[66],i[8])),f(t,"class","fd-nested-list__content has-child svelte-1b792v2"),f(t,"tabindex",D=i[5]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1b792v2"),f(L,"aria-hidden",V=!pn(i[66],i[8])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[30](i[66].metaInfo,i[65])),ci(e,"lui-item-expanded",pn(i[66],i[8]))},m(X,ge){R(X,e,ge),w(e,t),w(t,n),J.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,T),w(e,L);for(let re=0;re<ie.length;re+=1)ie[re].m(L,null);w(e,O),Se&&Se.m(e,null),w(e,F),oe=!0,fe||($=[le(n,"click",Vt(he)),le(S,"click",Vt(ne)),le(t,"keypress",Y),le(e,"click",Ut(ce))],fe=!0)},p(X,ge){if(i=X,Q===(Q=x(i,ge))&&J?J.p(i,ge):(J.d(1),J=Q(i),J&&(J.c(),J.m(n,r))),(!oe||ge[0]&8392704)&&o!==(o=i[23](i[65])+"")&&Ne(c,o),(!oe||ge[0]&8392704&&g!==(g=i[31](i[66],i[23](i[65]))))&&f(n,"title",g),(!oe||ge[0]&4352&&h!==(h="fd-nested-list__link "+(pn(i[66],i[8])?"is-expanded":"")+" svelte-1b792v2"))&&f(n,"class",h),(!oe||ge[0]&32&&_!==(_=i[5]?"-1":"0"))&&f(n,"tabindex",_),(!oe||ge[0]&4194304&&p!==(p=i[22]?void 0:"button"))&&f(n,"role",p),(!oe||ge[0]&4352&&m!==(m=pn(i[66],i[8])))&&f(n,"aria-expanded",m),(!oe||ge[0]&4352&&C!==(C=pn(i[66],i[8])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!oe||ge[0]&4352&&N!==(N=pn(i[66],i[8])))&&f(S,"aria-expanded",N),(!oe||ge[0]&4352&&I!==(I=i[37](i[66],i[8])))&&f(S,"title",I),(!oe||ge[0]&32&&D!==(D=i[5]?"0":"-1"))&&f(t,"tabindex",D),ge[0]&843075648|ge[1]&33){Pe=i[66];let re;for(re=0;re<Pe.length;re+=1){const Ee=Ec(i,Pe,re);ie[re]?(ie[re].p(Ee,ge),U(ie[re],1)):(ie[re]=Qc(Ee),ie[re].c(),U(ie[re],1),ie[re].m(L,null))}for(Ae(),re=Pe.length;re<ie.length;re+=1)He(re);Re()}(!oe||ge[0]&4352&&V!==(V=!pn(i[66],i[8])))&&f(L,"aria-hidden",V),i[66].metaInfo&&i[66].metaInfo.label===i[7]?Se?(Se.p(i,ge),ge[0]&4224&&U(Se,1)):(Se=Zc(i),Se.c(),U(Se,1),Se.m(e,F)):Se&&(Ae(),q(Se,1,1,()=>{Se=null}),Re()),(!oe||ge[0]&4096&&W!==(W=i[30](i[66].metaInfo,i[65])))&&f(e,"data-testid",W),(!oe||ge[0]&4352)&&ci(e,"lui-item-expanded",pn(i[66],i[8]))},i(X){if(!oe){for(let ge=0;ge<Pe.length;ge+=1)U(ie[ge]);U(Se),oe=!0}},o(X){ie=ie.filter(Boolean);for(let ge=0;ge<ie.length;ge+=1)q(ie[ge]);q(Se),oe=!1},d(X){X&&A(e),J.d(),ft(ie,X),Se&&Se.d(),fe=!1,Qe($)}}}function Uc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[27](s[66].metaInfo.icon)),e?vS:bS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function bS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[66].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[66].metaInfo.altText?i[66].metaInfo.altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[66].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[66].metaInfo.altText?r[66].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function vS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[66].metaInfo.icon?i[26](i[66].metaInfo.icon):"")+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="fd-nested-list__icon sap-icon "+(n[66].metaInfo.icon?n[26](n[66].metaInfo.icon):"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Bc(i){let e,t,n=i[69].label&&Hc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Hc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Hc(i){let e,t,n,l,r=i[25](i[69])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(fe,$){return fe[69].icon?SS:wS}let T=D(i),L=T(i),V=i[69].statusBadge&&Wc(i),O=i[69].externalLink&&i[69].externalLink.url&&zc(),F=i[69].badgeCounter&&Gc(i);function W(...fe){return i[53](i[69],...fe)}function oe(...fe){return i[54](i[69],...fe)}return{c(){e=k("li"),t=k("a"),L.c(),n=G(),l=k("span"),s=ye(r),o=G(),V&&V.c(),g=G(),O&&O.c(),h=G(),F&&F.c(),S=G(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[29](i[69])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"role",m=i[22]?void 0:"button"),f(t,"data-testid",v=i[28](i[69])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[31](i[69],i[25](i[69]))),f(e,"aria-labelledby","category_list_level1_"+i[68])},m(fe,$){R(fe,e,$),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,N||(I=[le(t,"click",W),le(t,"keyup",function(){Vi(i[22]?void 0:oe)&&(i[22]?void 0:oe).apply(this,arguments)})],N=!0)},p(fe,$){i=fe,T===(T=D(i))&&L?L.p(i,$):(L.d(1),L=T(i),L&&(L.c(),L.m(t,n))),(!C||$[0]&4096)&&r!==(r=i[25](i[69])+"")&&Ne(s,r),i[69].statusBadge?V?(V.p(i,$),$[0]&4096&&U(V,1)):(V=Wc(i),V.c(),U(V,1),V.m(l,null)):V&&(Ae(),q(V,1,1,()=>{V=null}),Re()),(!C||$[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",c),i[69].externalLink&&i[69].externalLink.url?O||(O=zc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[69].badgeCounter?F?(F.p(i,$),$[0]&4096&&U(F,1)):(F=Gc(i),F.c(),U(F,1),F.m(t,null)):F&&(Ae(),q(F,1,1,()=>{F=null}),Re()),(!C||$[0]&4096&&_!==(_=i[29](i[69])))&&f(t,"href",_),(!C||$[0]&4160&&p!==(p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||$[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||$[0]&4096&&v!==(v=i[28](i[69])))&&f(t,"data-testid",v),(!C||$[0]&4096&&y!==(y=i[31](i[69],i[25](i[69]))))&&f(e,"title",y)},i(fe){C||(U(V),U(F),C=!0)},o(fe){q(V),q(F),C=!1},d(fe){fe&&A(e),L.d(),V&&V.d(),O&&O.d(),F&&F.d(),N=!1,Qe(I)}}}function wS(i){let e,t,n,l,r=i[5]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=G(),l=k("span"),s=ye(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[5]?"sap-icon--rhombus-milestone-2":""))},m(o,c){R(o,e,c),R(o,n,c),R(o,l,c),w(l,s)},p(o,c){c[0]&32&&t!==(t="fd-nested-list__icon sap-icon "+(o[5]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&32&&r!==(r=o[5]?"sap-icon--rhombus-milestone-2":"")&&Ne(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function SS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[27](s[69].icon)),e?CS:kS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function kS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[69].icon)||f(t,"src",n),f(t,"alt",l=i[69].altText?i[69].altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[69].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[69].altText?r[69].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function CS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[26](i[69].icon)+" svelte-1b792v2")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="fd-nested-list__icon sap-icon "+n[26](n[69].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Wc(i){let e,t;return e=new ns({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function Gc(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function qc(i){let e,t,n=!i[69].hideFromNav&&Bc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Bc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[66].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[66].metaInfo.altText?i[66].metaInfo.altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[66].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[66].metaInfo.altText?r[66].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function PS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[26](i[66].metaInfo.icon)+" "+(i[5]&&!i[66].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4128&&t!==(t="fd-nested-list__icon sap-icon "+n[26](n[66].metaInfo.icon)+" "+(n[5]&&!n[66].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Kc(i){let e,t,n=i[69].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Jc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Jc(i){let e,t,n,l=i[25](i[69])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[69]}});let D=i[69].externalLink&&i[69].externalLink.url&&jc(),T=i[69].badgeCounter&&Yc(i);function L(...O){return i[48](i[69],...O)}function V(...O){return i[49](i[69],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=G(),qe(o.$$.fragment),g=G(),D&&D.c(),h=G(),T&&T.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[29](i[69])),f(t,"class",p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"role",m=i[22]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[28](i[69])),f(t,"title",S=i[31](i[69],i[25](i[69]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[68])},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",L),le(t,"keyup",function(){Vi(i[22]?void 0:V)&&(i[22]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&4096)&&l!==(l=i[25](i[69])+"")&&Ne(r,l);const W={};F[0]&4096&&(W.node=i[69]),o.$set(W),(!C||F[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[69].externalLink&&i[69].externalLink.url?D||(D=jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[69].badgeCounter?T?(T.p(i,F),F[0]&4096&&U(T,1)):(T=Yc(i),T.c(),U(T,1),T.m(t,null)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),(!C||F[0]&4096&&_!==(_=i[29](i[69])))&&f(t,"href",_),(!C||F[0]&4160&&p!==(p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||F[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&4096&&v!==(v=i[28](i[69])))&&f(t,"data-testid",v),(!C||F[0]&4096&&S!==(S=i[31](i[69],i[25](i[69]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(T),C=!0)},o(O){q(o.$$.fragment,O),q(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function jc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function Yc(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Qc(i){let e,t,n=!i[69].hideFromNav&&Kc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Kc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Zc(i){let e,t,n,l=i[23](i[65])+"",r,s,o,c,g=i[66],h=[];for(let p=0;p<g.length;p+=1)h[p]=td(Rc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=ye(l),s=G(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1b792v2"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1b792v2"),f(t,"class","lui-flyout-sublist__wrapper svelte-1b792v2"),f(e,"class","lui-flyout-sublist svelte-1b792v2")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,m){if((!c||m[0]&8392704)&&l!==(l=p[23](p[65])+"")&&Ne(r,l),m[0]&843075648|m[1]&33){g=p[66];let v;for(v=0;v<g.length;v+=1){const S=Rc(p,g,v);h[v]?(h[v].p(S,m),U(h[v],1)):(h[v]=td(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(Ae(),v=g.length;v<h.length;v+=1)_(v);Re()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)U(h[m]);c=!0}},o(p){h=h.filter(Boolean);for(let m=0;m<h.length;m+=1)q(h[m]);c=!1},d(p){p&&A(e),ft(h,p)}}}function Xc(i){let e,t,n=i[69].label&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=$c(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function $c(i){let e,t,n,l=i[25](i[69])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[69]}});let D=i[69].externalLink&&i[69].externalLink.url&&xc(),T=i[69].badgeCounter&&ed(i);function L(...O){return i[50](i[69],...O)}function V(...O){return i[51](i[69],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=G(),qe(o.$$.fragment),g=G(),D&&D.c(),h=G(),T&&T.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[29](i[69])),f(t,"class",p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"tabindex","0"),f(t,"role",m=i[22]?void 0:"button"),f(t,"data-testid",v=i[28](i[69])),f(t,"title",S=i[31](i[69],i[25](i[69]))),f(e,"class","fd-nested-list__item")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),T&&T.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",L),le(t,"keyup",function(){Vi(i[22]?void 0:V)&&(i[22]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&4096)&&l!==(l=i[25](i[69])+"")&&Ne(r,l);const W={};F[0]&4096&&(W.node=i[69]),o.$set(W),(!C||F[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[69].externalLink&&i[69].externalLink.url?D||(D=xc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[69].badgeCounter?T?(T.p(i,F),F[0]&4096&&U(T,1)):(T=ed(i),T.c(),U(T,1),T.m(t,null)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),(!C||F[0]&4096&&_!==(_=i[29](i[69])))&&f(t,"href",_),(!C||F[0]&4160&&p!==(p="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||F[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&4096&&v!==(v=i[28](i[69])))&&f(t,"data-testid",v),(!C||F[0]&4096&&S!==(S=i[31](i[69],i[25](i[69]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(T),C=!0)},o(O){q(o.$$.fragment,O),q(T),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),T&&T.d(),N=!1,Qe(I)}}}function xc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ed(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function td(i){let e,t,n=!i[69].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Xc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n=i[69].label&&id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=id(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function id(i){let e,t,n,l,r=i[25](i[69])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(fe,$){return fe[69].icon?IS:NS}let L=T(i),V=L(i);c=new ns({props:{node:i[69]}});let O=i[69].externalLink&&i[69].externalLink.url&&ld(),F=i[69].badgeCounter&&rd(i);function W(...fe){return i[43](i[69],...fe)}function oe(...fe){return i[44](i[69],...fe)}return{c(){e=k("li"),t=k("a"),V.c(),n=G(),l=k("span"),s=ye(r),o=G(),qe(c.$$.fragment),h=G(),O&&O.c(),_=G(),F&&F.c(),C=G(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",p=i[29](i[69])),f(t,"title",m=i[31](i[69],i[25](i[69]))),f(t,"class",v="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"tabindex","0"),f(t,"role",S=i[22]?void 0:"button"),f(t,"data-testid",y=i[28](i[69])),f(e,"class","fd-nested-list__item")},m(fe,$){R(fe,e,$),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),ze(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),N=!0,I||(D=[le(t,"click",W),le(t,"keyup",function(){Vi(i[22]?void 0:oe)&&(i[22]?void 0:oe).apply(this,arguments)})],I=!0)},p(fe,$){i=fe,L===(L=T(i))&&V?V.p(i,$):(V.d(1),V=L(i),V&&(V.c(),V.m(t,n))),(!N||$[0]&4096)&&r!==(r=i[25](i[69])+"")&&Ne(s,r);const x={};$[0]&4096&&(x.node=i[69]),c.$set(x),(!N||$[0]&4096&&g!==(g="fd-nested-list__title badge-align-"+(i[69].statusBadge&&i[69].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",g),i[69].externalLink&&i[69].externalLink.url?O||(O=ld(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[69].badgeCounter?F?(F.p(i,$),$[0]&4096&&U(F,1)):(F=rd(i),F.c(),U(F,1),F.m(t,null)):F&&(Ae(),q(F,1,1,()=>{F=null}),Re()),(!N||$[0]&4096&&p!==(p=i[29](i[69])))&&f(t,"href",p),(!N||$[0]&4096&&m!==(m=i[31](i[69],i[25](i[69]))))&&f(t,"title",m),(!N||$[0]&4160&&v!==(v="fd-nested-list__link "+(i[69]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",v),(!N||$[0]&4194304&&S!==(S=i[22]?void 0:"button"))&&f(t,"role",S),(!N||$[0]&4096&&y!==(y=i[28](i[69])))&&f(t,"data-testid",y)},i(fe){N||(U(c.$$.fragment,fe),U(F),N=!0)},o(fe){q(c.$$.fragment,fe),q(F),N=!1},d(fe){fe&&A(e),V.d(),Ge(c),O&&O.d(),F&&F.d(),I=!1,Qe(D)}}}function NS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[5]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&32&&t!==(t="fd-nested-list__icon sap-icon "+(n[5]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function IS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[27](s[69].icon)),e?LS:TS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[69].icon)||f(t,"src",n),f(t,"alt",l=i[69].altText?i[69].altText:""),f(t,"class","svelte-1b792v2"),f(e,"class","fd-nested-list__icon sap-icon svelte-1b792v2")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[69].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[69].altText?r[69].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function LS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[26](i[69].icon)+" svelte-1b792v2"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="fd-nested-list__icon sap-icon "+n[26](n[69].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function ld(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function rd(i){let e,t;return e=new Yn({props:{node:i[69]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[69]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function sd(i){let e,t,n=!i[69].hideFromNav&&nd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[69].hideFromNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=nd(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ad(i){let e,t,n,l,r,s;const o=[_S,gS],c=[];function g(h,_){return _[0]&12288&&(e=null),_[0]&4096&&(t=null),e==null&&(e=!!(h[65]==="undefined"||h[65].startsWith(h[13]))),e?0:(t==null&&(t=h[66].filter(RS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&c[n].m(h,_),R(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Ae(),q(c[p],1,1,()=>{c[p]=null}),Re()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),U(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(U(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function od(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&ud(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=ye(l),s=G(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1b792v2"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1b792v2"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1b792v2")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ne(r,l),c[3]?o?o.p(c,g):(o=ud(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function ud(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[5]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1b792v2"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[10]),f(e,"tabindex","0")},m(r,s){R(r,e,s),n||(l=[le(e,"click",i[55]),le(e,"keydown",i[56])],n=!0)},p(r,s){s[0]&32&&t!==(t="lui-side-nav__footer--icon "+(r[5]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1b792v2")&&f(e,"class",t),s[0]&1024&&f(e,"title",r[10])},d(r){r&&A(e),n=!1,Qe(l)}}}function AS(i){let e,t,n,l,r,s,o,c,g,h,_=i[11]&&Vc(i),p=i[0]&&i[4].length>1&&Fc(i),m=(i[2]||i[3])&&od(i);return{c(){e=k("div"),_&&_.c(),t=G(),n=k("nav"),l=k("div"),p&&p.c(),r=G(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-1b792v2"),f(n,"class",s="fd-side-nav "+(i[5]?"fd-side-nav--condensed":"")+" "+(i[11]?"lui-nav-header-visible":"")+" svelte-1b792v2"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1b792v2")},m(v,S){R(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(h=[le(na,"resize",i[16]),le(na,"click",i[20]),le(na,"blur",i[20]),le(na,"keydown",i[32]),le(n,"keyup",i[17])],g=!0)},p(v,S){v[11]?_?_.p(v,S):(_=Vc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[4].length>1?p?(p.p(v,S),S[0]&17&&U(p,1)):(p=Fc(v),p.c(),U(p,1),p.m(l,null)):p&&(Ae(),q(p,1,1,()=>{p=null}),Re()),v[2]||v[3]?m?m.p(v,S):(m=od(v),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||S[0]&2080&&s!==(s="fd-side-nav "+(v[5]?"fd-side-nav--condensed":"")+" "+(v[11]?"lui-nav-header-visible":"")+" svelte-1b792v2"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1b792v2"))&&f(e,"class",o)},i(v){c||(U(p),c=!0)},o(v){q(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Qe(h)}}}function pn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const RS=i=>!i.hideFromNav&&i.label;function ES(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:_,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:S,sideNavAccordionMode:I,selectedCategory:y,expandedCategories:C,hasCategoriesWithIcon:N,navParentNode:L}),set:async ee=>{if(ee){Object.getOwnPropertyNames(ee).forEach(async dt=>{if(dt==="pathData")t(4,_=ee.pathData);else if(dt==="context")V=ee.context;else if(dt==="children")t(0,s=ee.children);else if(dt==="selectedNode")t(6,S=ee.selectedNode);else if(dt==="hasCategoriesWithIcon")t(9,N=ee.hasCategoriesWithIcon);else if(dt==="navParent"){t(11,T=void 0);let It=ee.navParent;if(t(40,L=It),It&&It.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let Tt=It.navHeader,mt=It;if(Tt==="inherit"){for(mt=It.parent;mt&&mt.navHeader==="inherit";)mt=mt.parent;Tt=mt?mt.navHeader:void 0}if(Tt instanceof Function){t(11,T={});let bn=Tt(Ce.stripNode(It),Ce.stripNode(mt),V);bn instanceof Promise?bn.then(In=>{t(11,T=In)}):t(11,T=bn)}else if(Tt==="auto")t(11,T={label:It.label,icon:It.icon});else if(Tt&&Tt.useTitleResolver&&mt.titleResolver){mt.titleResolver.prerenderFallback?t(11,T={...Tt,label:mt.titleResolver.fallbackTitle||"",icon:mt.titleResolver.fallbackIcon}):t(11,T=Tt);const bn=me.mapPathToNode(tt.getCurrentPath(),mt);Ft.extractDataFromPath(bn).then(In=>{const ii=me.substituteDynamicParamsInObject(Object.assign({},In.pathData.context,mt.context),In.pathData.pathParams);Ce.fetchNodeTitleData(mt,ii).then(bi=>{t(11,T={...Tt,...bi})}).catch(bi=>{console.error("Error while retrieving title, fallback to node label"),t(11,T={...Tt,label:It.label,icon:It.icon})})})}else t(11,T=await ie(Tt,mt))}}});let Me=S&&S.sideNavAccordionMode||S&&S.parent&&S.parent.sideNavAccordionMode;typeof Me<"u"?t(39,I=Me):t(39,I=se.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode"))}}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{pathData:_}=e,{pathParams:p}=e,{virtualGroupPrefix:m=Ce.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:S}=e,{selectedCategory:y=null}=e,{expandedCategories:C}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:D}=e,{navHeader:T}=e,{navParentNode:L}=e,V,O,F,W=ct("store"),oe=ct("getTranslation");_i(i,oe,ee=>t(23,n=ee));let fe=!1;const $=ee=>Ce.getNodeLabel(ee),x=async()=>{const ee=l.get(),Me=await Ft.getLeftNavData({...ee},ee);!Me||(l.set(Me),O=_,window.LEFTNAVDATA=Me.children)};jt(()=>{t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(22,fe=se.getConfigValue("navigation.addNavHrefs")),t(1,o=se.getConfigBooleanValue("settings.hideNavigation")),t(21,F=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(8,C=Ce.loadExpandedCategories()),un.doOnStoreChange(W,()=>{t(2,c=se.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),un.doOnStoreChange(W,()=>{x()},["navigation.viewgroupdata"]);let ee=fi.initial();t(5,v=ee.isSemiCollapsed),t(38,g=ee.semiCollapsible),fi.onValueChanged(Me=>{t(5,v=Me.isSemiCollapsed)}),Nn.addEventListener("message",Me=>{Me.data.msg==="luigi.navigation.update-badge-counters"&&x()})}),Fn(()=>{(!O||O!=_)&&x(),t(21,F=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(3,h=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:Q}=e;function J(ee){return Ce.renderIconClassName(ee)}function he(ee){return Ce.isOpenUIiconName(ee)}function ne(ee){return ee.testId?ee.testId:Ce.prepareForTests(ee.pathSegment,ee.label)}function Y(ee){return me.getNodeHref(ee,p)}function Pe(ee,Me){return ee&&ee.testId?ee.testId:Ce.prepareForTests(Me||ee.label)}async function ie(ee,Me){const dt=me.mapPathToNode(tt.getCurrentPath(),Me),Tt=(await Ft.extractDataFromPath(dt)).pathData.pathParams;return me.substituteDynamicParamsInObject(ee,Tt)}function He(ee,Me){return Ce.generateTooltipText(ee,Me)}function Se(ee){r("handleClick",{node:ee})}function ce(ee,Me){if(fi.getCollapsed()){let dt,It=document.getElementsByClassName("fd-app__sidebar")[0];if(ee.metaInfo&&ee.metaInfo.label?dt=ee.metaInfo.label:dt=ee.category&&ee.category.label||ee.category,It.classList.contains("isBlocked")||(It.className+=" isBlocked"),dt===y){t(7,y=fi.closePopupMenu(y));return}t(7,y=dt),X(Me)}}function X(ee){const Me=ee.closest(".fd-nested-list__item"),dt=Me.offsetTop,It=On.getShellbar().offsetHeight;let Tt;On.isCustomLuigiContainer()?Tt=On.getCustomLuigiContainer().clientHeight:Tt=window.innerHeight,setTimeout(()=>{const mt=Me.getElementsByClassName("lui-flyout-sublist")[0],bn=ee.closest(".lui-fd-side-nav-wrapper").scrollTop,In=dt+It-bn,ii=Tt-dt-Me.offsetHeight+bn-It;In+mt.offsetHeight>=Tt?(mt.style.bottom=ii+"px",mt.className+=" has-bottom-position"):mt.style.top=In-It+"px"})}function ge(){if(g){let ee=fi.onResize(y);t(5,v=ee.isSemiCollapsed),t(7,y=ee.selectedCategory)}}function re(ee){if(ee.code==="ArrowRight"){const dt=Ie.getCurrentMicrofrontendIframe();dt&&dt.contentWindow&&dt.contentWindow.focus()}}function Ee(ee){let Me=L?L.parent:void 0;for(;Me;){if(Me.pathSegment&&Me.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Me});return}Me=Me.parent}console.warn('Could not resolve "up"-node, redirecting to root'),N_.navigate("/")}function De(ee,Me){fi.getCollapsed()||t(8,C=Ce.storeExpandedState(ee.metaInfo.categoryUid,Me,I))}function be(){t(7,y=fi.closePopupMenu(y))}function Ze(ee){ee&&ee.code==="Escape"&&be()}function Nt(){t(5,v=fi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Oi()}function Yt(ee){const Me=ee.code;(Me==="Enter"||Me==="Space")&&Nt()}function wt(ee,Me){(ee.code==="Enter"||ee==="Space")&&ce(Me,ee.currentTarget)}function Qt(ee,Me){ee.keyCode===gi&&Ce.handleNavAnchorClickedWithoutMetaKey(ee)&&Se(Me)}function Oi(){if(!Ce.getBurgerTooltipConfig())return;const[ee,Me]=Ce.getBurgerTooltipConfig(),dt=document.body.classList.contains("lui-semiCollapsible");ee&&Me&&dt&&t(10,D=document.body.classList.contains("semiCollapsed")?ee:Me)}function zt(ee,Me){return pn(ee,Me)?ee.metaInfo.titleCollapseButton?n(ee.metaInfo.titleCollapseButton):void 0:ee.metaInfo.titleExpandButton?n(ee.metaInfo.titleExpandButton):void 0}const pi=(ee,Me)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},Fi=(ee,Me)=>Qt(Me,ee),tn=ee=>De(ee,!pn(ee,C)),Zt=ee=>De(ee,!pn(ee,C)),Qn=(ee,Me)=>wt(Me,ee),Dt=(ee,Me)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},mn=(ee,Me)=>Qt(Me,ee),Xt=(ee,Me)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},Ui=(ee,Me)=>Qt(Me,ee),Gt=ee=>ce(ee,event.currentTarget),sn=(ee,Me)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Me)&&Se(ee)},mi=(ee,Me)=>Qt(Me,ee),ni=ee=>Nt(),an=ee=>Yt(ee);return i.$$set=ee=>{"children"in ee&&t(0,s=ee.children),"hideNavComponent"in ee&&t(1,o=ee.hideNavComponent),"footerText"in ee&&t(2,c=ee.footerText),"semiCollapsible"in ee&&t(38,g=ee.semiCollapsible),"semiCollapsibleButton"in ee&&t(3,h=ee.semiCollapsibleButton),"pathData"in ee&&t(4,_=ee.pathData),"pathParams"in ee&&t(41,p=ee.pathParams),"virtualGroupPrefix"in ee&&t(13,m=ee.virtualGroupPrefix),"isSemiCollapsed"in ee&&t(5,v=ee.isSemiCollapsed),"selectedNode"in ee&&t(6,S=ee.selectedNode),"selectedCategory"in ee&&t(7,y=ee.selectedCategory),"expandedCategories"in ee&&t(8,C=ee.expandedCategories),"hasCategoriesWithIcon"in ee&&t(9,N=ee.hasCategoriesWithIcon),"sideNavAccordionMode"in ee&&t(39,I=ee.sideNavAccordionMode),"burgerTooltip"in ee&&t(10,D=ee.burgerTooltip),"navHeader"in ee&&t(11,T=ee.navHeader),"navParentNode"in ee&&t(40,L=ee.navParentNode),"sortedChildrenEntries"in ee&&t(12,Q=ee.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ee=Object.entries(s);ee.sort((Me,dt)=>Me[1].metaInfo.order-dt[1].metaInfo.order),t(12,Q=ee)}},[s,o,c,h,_,v,S,y,C,N,D,T,Q,m,Se,ce,ge,re,Ee,De,be,F,fe,n,oe,$,J,he,ne,Y,Pe,He,Ze,Nt,Yt,wt,Qt,zt,g,I,L,p,X,pi,Fi,tn,Zt,Qn,Dt,mn,Xt,Ui,Gt,sn,mi,ni,an]}class DS extends Et{constructor(e){super(),Rt(this,e,ES,AS,Pt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:38,semiCollapsibleButton:3,pathData:4,pathParams:41,virtualGroupPrefix:13,isSemiCollapsed:5,selectedNode:6,selectedCategory:7,expandedCategories:8,hasCategoriesWithIcon:9,sideNavAccordionMode:39,burgerTooltip:10,navHeader:11,navParentNode:40,sortedChildrenEntries:12,handleClick:14,handleIconClick:15,calculateFlyoutPosition:42,onResize:16,handleKey:17,handleUp:18,setExpandedState:19,closePopupMenu:20},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[14]}get handleIconClick(){return this.$$.ctx[15]}get calculateFlyoutPosition(){return this.$$.ctx[42]}get onResize(){return this.$$.ctx[16]}get handleKey(){return this.$$.ctx[17]}get handleUp(){return this.$$.ctx[18]}get setExpandedState(){return this.$$.ctx[19]}get closePopupMenu(){return this.$$.ctx[20]}}const VS=i=>{un.doOnStoreChange(i.store,()=>{const e=se.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),se.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),R_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},MS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),R_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return te.trimTrailingSlash(te.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!MS(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=es.getDocumentTitle()||r;i.set({title:r}),document.title=ht.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function fd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function cd(i,e,t){const n=i.slice();return n[43]=e[t],n}function OS(i){let e,t,n,l,r=i[1]&&dd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=dd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function FS(i){let e,t,n,l,r=i[1]&&hd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=hd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function dd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function hd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function gd(i){let e,t;function n(o,c){return o[3]?US:BS}let l=n(i),r=l(i),s=i[10]&&yd(i);return{c(){r.c(),e=G(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=yd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}function US(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?WS:HS}let p=_(i),m=p(i),v=i[4]&&i[5]&&wd(i),S=i[7]&&i[7].length>0&&Sd(i);return{c(){e=k("div"),t=k("div"),m.c(),n=G(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=G(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){R(y,e,C),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=le(t,"click",Ut(jS)),g=!0)},p(y,C){p===(p=_(y))&&m?m.p(y,C):(m.d(1),m=p(y),m&&(m.c(),m.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=wd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=Sd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&A(e),m.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function BS(i){let e;function t(r,s){return r[12]?KS:qS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function HS(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=ye(n),r=G(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function WS(i){let e,t,n,l=i[7]&&i[7].length===1&&_d(i),r=i[7]&&i[7].length>1&&pd(i),s=i[7].length>1&&!i[5]&&vd(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=G(),s&&s.c(),n=ke()},m(o,c){l&&l.m(o,c),R(o,e,c),r&&r.m(o,c),R(o,t,c),s&&s.m(o,c),R(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=_d(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=pd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=vd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&A(e),r&&r.d(o),o&&A(t),s&&s.d(o),o&&A(n)}}}function _d(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=ye(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){R(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ne(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function pd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=bd(cd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=cd(l,t,s);n[s]?n[s].p(o,r):(n[s]=bd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function md(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=ye(n),r=G(),s=k("i"),o=G(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){R(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=le(e,"click",Vt(i[32])),h=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Ne(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function bd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&md(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=md(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function vd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=ye(n),r=G(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Vt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function wd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){R(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",Vt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ne(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&A(e),o=!1,c()}}}function Sd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cd(fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=fd(l,t,s);n[s]?n[s].p(o,r):(n[s]=Cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function zS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=G(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",_),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ne(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function GS(i){let e,t=i[16]&&kd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=kd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function kd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new mr(!1),l=G(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){R(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function Cd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!te.isFunction(o[8])),e)return GS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return zS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,c){s&&s.m(o,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&A(n)}}}function qS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=ye(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function KS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=ye(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function yd(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function JS(i){let e,t;function n(o,c){return o[12]?FS:OS}let l=n(i),r=l(i),s=i[2]&&gd(i);return{c(){r.c(),e=G(),s&&s.c(),t=ke()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=gd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const jS=()=>{};function YS(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:m}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,T,L=ct("getUnsavedChangesModalPromise"),V=ct("getTranslation");_i(i,V,be=>t(17,n=be));let O=ct("store");const F={closeDropDown:()=>{Q("appSwitcherPopover")}},W=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:m,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ze=>{Ze==="pathData"?t(24,N=be.pathData):Ze==="appSwitcherItems"?t(7,m=be.appSwitcherItems):Ze==="itemRenderer"?t(8,v=be.itemRenderer):Ze==="pathParams"?t(9,S=be.pathParams):Ze==="selectedItem"?t(5,_=be.selectedItem):Ze==="title"?t(2,o=be.title):Ze==="defaultSubTitle"?t(23,C=be.defaultSubTitle):Ze==="subTitle"?t(10,y=be.subTitle):Ze==="defaultTitle"?t(6,p=be.defaultTitle):Ze==="subTitle"?t(10,y=be.subTitle):Ze==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ze==="hasApps"?t(3,c=be.hasApps):Ze==="hasLogo"&&t(1,s=be.hasLogo)})},store:O});jt(()=>{VS(W())}),Fn(()=>{(!T||T!=N)&&(R_(W()),T=N)});function oe(be,Ze,Nt){return setTimeout(()=>{Ze&&v(be,Ze.children[Nt],F)}),""}function fe(be){L().then(()=>{tt.navigateTo(me.applyPathParams(be,S))},()=>{})}function $(){L().then(()=>{tt.navigateTo("/")},()=>{})}function x(be){l("handleClick",{node:be}),Q("appSwitcherPopover")}function Q(be){l("toggleDropdownState",{name:be})}function J(be){return be.testId?be.testId:Ce.prepareForTests(be.title||be)}function he(be,Ze){if(be.link){const Nt=me.applyPathParams(be.link,Ze);if(Nt.indexOf(":")!==0&&Nt.indexOf("/:")===-1)return!0}return!1}function ne(be){return me.getNodeHref(be)}function Y(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Pe=be=>{Ce.handleNavAnchorClickedWithoutMetaKey(be)&&fe("/")};function ie(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const He=()=>fe("/"),Se=be=>{Ce.handleNavAnchorClickedWithoutMetaKey(be)&&fe("/")},ce=()=>fe("/"),X=()=>Q("appSwitcherPopover"),ge=()=>Q("appSwitcherPopover"),re=()=>Q("appSwitcherPopover"),Ee=(be,Ze)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Ze)&&fe(be.link)};function De(be){$e[be?"unshift":"push"](()=>{D=be,t(16,D)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,c=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,m=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,N=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,I,fe,$,Q,D,n,V,oe,J,he,ne,C,N,x,Y,Pe,ie,He,Se,ce,X,ge,re,Ee,De]}class QS extends Et{constructor(e){super(),Rt(this,e,YS,JS,Pt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function Pd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Nd(i){let e,t,n,l,r,s,o=i[0]&&Id(i),c=(i[10]||i[11])&&Vd(i);return{c(){e=k("div"),o&&o.c(),t=G(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){R(g,e,h),o&&o.m(e,null),R(g,t,h),R(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Id(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Vd(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&A(e),o&&o.d(),g&&A(t),g&&A(n),c&&c.d()}}}function Id(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?XS:ZS}let g=c(i),h=g(i),_=i[7].name&&Td(i),p=i[7].description&&Ld(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Rd(Pd(i,m,y));let S=i[12]&&Ed(i);return{c(){e=k("div"),h.c(),t=G(),n=k("div"),_&&_.c(),l=G(),p&&p.c(),r=G(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=G(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){R(y,e,C),h.m(e,null),R(y,t,C),R(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),R(y,r,C),R(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Td(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Ld(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let N;for(N=0;N<m.length;N+=1){const I=Pd(y,m,N);v[N]?v[N].p(I,C):(v[N]=Rd(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Ed(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&A(e),h.d(),y&&A(t),y&&A(n),_&&_.d(),p&&p.d(),y&&A(r),y&&A(s),ft(v,y),S&&S.d()}}}function ZS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=ye(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ne(n,t)},d(l){l&&A(e)}}}function XS(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ti(e,"background-image","url('"+i[7].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&128&&ti(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Td(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ld(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ad(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function $S(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),ti(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&ti(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function xS(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Rd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ad(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=G(),l=k("span"),s=ye(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ad(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Ed(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Dd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=G(),l=k("span"),s=ye(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){R(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[le(e,"click",Vt(i[5])),le(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Dd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ne(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Qe(c)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?tk:ek}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ek(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function tk(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Vd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Md(i),l=i[10]&&!i[8]&&Od(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Md(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Od(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Md(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=ye(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){R(c,e,g),w(e,t),w(t,l),s||(o=le(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ne(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),s=!1,o()}}}function Od(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=G(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){R(s,e,o),R(s,t,o),R(s,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Qe(r)}}}function nk(i){let e,t=!i[1]&&Nd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Nd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function ik(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=ct("store"),y=ct("getTranslation");_i(i,y,Y=>t(13,n=Y));let C=ct("getUnsavedChangesModalPromise"),N=ct("openViewInModal");jt(async()=>{di.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),rn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),rn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){rn.startAuthorization()}function D(Y){return Ce.renderIconClassName(Y)}function T(Y){return Ce.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Ce.prepareForTests(Y.label)}function V(Y){return me.getNodeHref(Y)}function O(){m||(un.doOnStoreChange(S,async()=>{const Y=await se.getConfigValueAsync("navigation.profile.logout"),Pe=await se.getConfigValueAsync("userSettings"),ie=Pe||await se.getConfigValueAsync("settings.userSettings"),He={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(ie)){const Se=ie.userSettingsProfileMenuEntry;He.settings={...al.userSettingsProfileMenuEntry,...Se}}He.logout={...al.logout,...Y},t(11,_=Boolean(Y)),v=!1,rn.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,rn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=He),t(12,p=Boolean(ie))},["navigation.profile"]),m=!0)}async function F(){const Y=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(rn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function W(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);N(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function oe(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){es.openUserSettings(),l("toggleDropdownState")}function $(){rn.logout()}function x({keyCode:Y}){(Y===gi||Y===ba)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:Q}=e;const J=Y=>{Ce.handleNavAnchorClickedWithoutMetaKey(Y)},he=Y=>W(Y),ne=Y=>x(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,Q=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Q=Boolean(o&&(o.name||o.email)))},[Q,r,s,W,oe,fe,x,o,c,g,h,_,p,n,y,I,D,T,L,V,O,F,$,J,he,ne]}class lk extends Et{constructor(e){super(),Rt(this,e,ik,nk,Pt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Fd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Ud(i){let e,t,n,l,r,s=i[0]&&Bd(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Wd(Fd(i,o,_));let g=i[12]&&zd(i),h=(i[10]||i[11])&&qd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=G();for(let _=0;_<c.length;_+=1)c[_].c();l=G(),g&&g.c(),r=G(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){R(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Bd(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let m;for(m=0;m<o.length;m+=1){const v=Fd(_,o,m);c[m]?c[m].p(v,p):(c[m]=Wd(v),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=zd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=qd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ft(c,_),g&&g.d(),h&&h.d()}}}function Bd(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=ye(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ne(l,n)},d(r){r&&A(e)}}}function Hd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function rk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function sk(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Wd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Hd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=G(),l=k("span"),s=ye(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Hd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function zd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Gd(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=G(),l=k("span"),s=ye(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[le(e,"click",Vt(i[5])),le(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Gd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Qe(g)}}}function Gd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?ok:ak}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ak(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function ok(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function qd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Kd(i),l=i[10]&&!i[8]&&jd(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Kd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=jd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Kd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Jd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=G(),l=k("span"),s=ye(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=le(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Jd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Jd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?fk:uk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function uk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function fk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function jd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){R(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function ck(i){let e,t=!i[1]&&Ud(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Ud(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function dk(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=ct("store"),y=ct("getTranslation");_i(i,y,Y=>t(13,n=Y));let C=ct("getUnsavedChangesModalPromise"),N=ct("openViewInModal");jt(async()=>{di.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),rn.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),rn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){rn.startAuthorization()}function D(Y){return Ce.renderIconClassName(Y)}function T(Y){return Ce.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Ce.prepareForTests(Y.label)}function V(Y){return me.getNodeHref(Y)}function O(){m||(un.doOnStoreChange(S,async()=>{const Y=await se.getConfigValueAsync("navigation.profile.logout"),Pe=await se.getConfigValueAsync("userSettings"),ie=Pe||await se.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(ie));const He={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Se=ie.userSettingsProfileMenuEntry;He.settings={...al.userSettingsProfileMenuEntry,...Se}}He.logout={...al.logout,...Y},t(11,_=Boolean(Y)),v=!1,rn.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,rn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=He)},["navigation.profile"]),m=!0)}async function F(){const Y=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(rn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function W(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);N(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function oe(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){es.openUserSettings(),l("toggleDropdownState")}function $(){rn.logout()}function x({keyCode:Y}){(Y===gi||Y===ba)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:Q}=e;const J=Y=>{Ce.handleNavAnchorClickedWithoutMetaKey(Y)},he=Y=>W(Y),ne=Y=>x(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,Q=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,Q=Boolean(o&&(o.name||o.email)))},[Q,r,s,W,oe,fe,x,o,c,g,h,_,p,n,y,I,D,T,L,V,O,F,$,J,he,ne]}class E_ extends Et{constructor(e){super(),Rt(this,e,dk,ck,Pt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Yd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Qd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Xd(Yd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=Yd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Xd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function hk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function gk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){R(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Xd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),m,v,S,y,C,N;function I(O,F){return F&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?gk:hk}let D=I(i,-1),T=D(i);r=new Yn({props:{node:i[12]}});let L=p&&Zd(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),T.c(),l=G(),qe(r.$$.fragment),s=G(),o=k("div"),c=k("div"),h=ye(g),_=G(),L&&L.c(),m=G(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,F){R(O,e,F),w(e,t),T.m(t,null),w(t,l),ze(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),L&&L.m(o,null),w(e,m),y=!0,C||(N=le(e,"click",V),C=!0)},p(O,F){i=O,D===(D=I(i,F))&&T?T.p(i,F):(T.d(1),T=D(i),T&&(T.c(),T.m(t,l)));const W={};F&2&&(W.node=i[12]),r.$set(W),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Ne(h,g),F&34&&(p=i[5](i[12])),p?L?L.p(i,F):(L=Zd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){q(r.$$.fragment,O),y=!1},d(O){O&&A(e),T.d(),Ge(r),L&&L.d(),C=!1,N()}}}function _k(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D=i[1]&&Qd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=ye(i[0]),c=G(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=G(),m=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){R(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),D&&D.m(_,null),w(t,p),w(t,m),w(m,v),w(v,S),w(S,y),C=!0,N||(I=[le(y,"click",i[9]),le(e,"click",Ut(pk))],N=!0)},p(T,[L]){(!C||L&1)&&Ne(o,T[0]),T[1]?D?(D.p(T,L),L&2&&U(D,1)):(D=Qd(T),D.c(),U(D,1),D.m(_,null)):D&&(Ae(),q(D,1,1,()=>{D=null}),Re())},i(T){C||(U(D),C=!0)},o(T){q(D),C=!1},d(T){T&&A(e),D&&D.d(),N=!1,Qe(I)}}}const pk=()=>{};function mk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return Ce.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Dl.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,m,v]}class D_ extends Et{constructor(e){super(),Rt(this,e,mk,_k,Pt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:bk}=Mi;function $d(i,e,t){const n=i.slice();return n[6]=e[t],n}function xd(i){let e,t,n,l=i[0]&&eh(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&U(l,1)):(l=eh(r),l.c(),U(l,1),l.m(t,null)):l&&(Ae(),q(l,1,1,()=>{l=null}),Re())},i(r){n||(U(l),n=!0)},o(r){q(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function eh(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=th($d(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=$d(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=th(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function vk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),it(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function wk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function th(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(T,L){return L&1&&(l=null),l==null&&(l=!!(T[6].icon&&T[9](T[6]))),l?wk:vk}let N=C(i,-1),I=N(i);s=new Yn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=G(),qe(s.$$.fragment),o=G(),c=k("span"),h=ye(g),p=G(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[6]))},m(T,L){R(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[le(t,"click",i[14]),le(e,"click",D)],S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L&1&&(V.node=i[6]),s.$set(V),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Ne(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||L&1&&m!==(m=i[12](i[6])))&&f(e,"data-testid",m)},i(T){v||(U(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,Qe(y)}}}function nh(i){let e,t;return e=new D_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Sk(i){let e,t,n,l,r,s=!i[1]&&xd(i),o=i[1]&&nh(i);return{c(){s&&s.c(),e=G(),o&&o.c(),t=ke()},m(c,g){s&&s.m(c,g),R(c,e,g),o&&o.m(c,g),R(c,t,g),n=!0,l||(r=le(bk,"resize",ga),l=!0)},p(c,[g]){c[1]?s&&(Ae(),q(s,1,1,()=>{s=null}),Re()):s?(s.p(c,g),g&2&&U(s,1)):(s=xd(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=nh(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(Ae(),q(o,1,1,()=>{o=null}),Re())},i(c){n||(U(s),U(o),n=!0)},o(c){q(s),q(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function ga(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function kk(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=ct("getUnsavedChangesModalPromise"),g=ct("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});jt(async()=>{ga()}),Fn(async()=>{r||t(0,r=await Ft.getChildren(s)),t(0,r)});function m(V){c().then(()=>{if(V.openNodeInModal){const O=me.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else tt.handleRouteClick(V,p())},()=>{}),S()}function v(V){m(V.detail)}function S(){n("close")}function y(V){return Ce.isOpenUIiconName(V.icon)}function C(V){return Ce.renderIconClassName(V)}function N(V){return ht.getTranslation(V.label)}function I(V){return V.testId?V.testId:Ce.prepareForTests(V.pathSegment,V.label)}function D(V){return me.getNodeHref(V,o)}const T=V=>{Ce.handleNavAnchorClickedWithoutMetaKey(V)},L=V=>m(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,m,v,S,ga,s,h,_,y,C,N,I,D,T,L]}class V_ extends Et{constructor(e){super(),Rt(this,e,kk,Sk,Pt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ga}}const dn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?te.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=te.addLeadingSlash(tt.getCurrentPath()),n=te.addLeadingSlash(e.link);return t.startsWith(n)?i.link+te.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=te.normalizePath(i),n=te.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=se.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=dn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=te.normalizePath(i),t=te.normalizePath(t),!!dn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=dn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await dn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=se.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await se.getConfigValueAsync("navigation.contextSwitcher.options");return await dn.generateSwitcherNav(e,t)}};function ih(i,e,t){const n=i.slice();return n[21]=e[t],n}function lh(i,e,t){const n=i.slice();return n[21]=e[t],n}function rh(i,e,t){const n=i.slice();return n[21]=e[t],n}function sh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(rh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=rh(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function ah(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),o=G(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",Vt(Lk)),le(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function oh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&ah(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=ah(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function uh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
58
58
|
<div class="fd-busy-indicator__circle"></div>
|
|
59
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function fh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(lh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=lh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ch(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Ck(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function yk(i){let e,t,n,l,r;function s(h,_){return h[2]?Nk:Pk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=G(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){R(h,e,_),c.m(e,null),R(h,n,_),l||(r=le(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&A(e),c.d(),h&&A(n),l=!1,r()}}}function Pk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=Ce(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(h,_){R(h,e,_),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Pe(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&A(e),c=!1,g()}}}function Nk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Ik(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function ch(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ik,then:yk,catch:Ck,value:26};return ua(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ua(t,n)||p_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function dh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=gh(ih(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=gh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function hh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),o=G(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",i[18]),le(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Pe(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function gh(i){let e,t=i[21].position==="bottom"&&hh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=hh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Tk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&sh(i),c=i[3]&&i[3].length===0&&i[11]&&uh(),g=i[3]&&i[3].length&&fh(i),h=i[0]&&i[0].length&&dh(i);return{c(){e=k("nav"),o&&o.c(),t=G(),n=k("ul"),c&&c.c(),l=G(),g&&g.c(),r=G(),h&&h.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){R(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=sh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=uh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=fh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=dh(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Lk=()=>{};function Ak(i,e,t){let n,l=Fe,r=()=>(l(),l=Vo(y,W=>t(14,n=W)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:m}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Wt();function I(W){N("onActionClick",{node:W})}function D(W,ae){N("goToOption",{option:W,selectedOption:ae})}const T=W=>I(W),L=W=>{ye.handleNavAnchorClickedWithoutMetaKey(W)},V=W=>D(W,_),O=W=>{ye.handleNavAnchorClickedWithoutMetaKey(W)},F=W=>I(W);return i.$$set=W=>{"actions"in W&&t(0,s=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,g=W.options),"selectedLabel"in W&&t(4,h=W.selectedLabel),"selectedOption"in W&&t(5,_=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,m=W.getNodeName),"getRouteLink"in W&&t(8,v=W.getRouteLink),"getTestId"in W&&t(9,S=W.getTestId),"getTranslation"in W&&r(t(10,y=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,C=W.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,I,D,n,T,L,V,O,F]}class M_ extends At{constructor(e){super(),Lt(this,e,Ak,Tk,yt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function _h(i){let e,t,n,l=!i[9]&&ph(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&mh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[9]?l&&(Ae(),q(l,1,1,()=>{l=null}),Re()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=ph(s),l.c(),U(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&U(r,1)):(r=mh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Ek:Rk}let p=_(i),m=p(i);return s=new M_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),m.c(),l=G(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){R(v,e,S),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),ze(s,r,null),c=!0,g||(h=le(n,"click",Bt(zk)),g=!0)},p(v,S){p===(p=_(v))&&m?m.p(v,S):(m.d(1),m=p(v),m&&(m.c(),m.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(U(s.$$.fragment,v),c=!0)},o(v){q(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),Ge(s),g=!1,h()}}}function Rk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Vk:Dk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){R(h,e,_),g.m(e,null),r||(s=le(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Ek(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Uk:Fk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){R(h,e,_),g.m(e,null),r||(s=le(e,"click",Dt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Dk(i){let e,t;function n(s,o){return s[4]?Mk:Ok}let l=n(i),r=l(i);return{c(){r.c(),e=G(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),R(s,e,o),R(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&A(e),s&&A(t)}}}function Vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Mk(i){let e;return{c(){e=Ce(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Pe(e,t[4])},d(t){t&&A(e)}}}function Ok(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function Fk(i){let e,t;function n(s,o){return s[4]?Bk:Hk}let l=n(i),r=l(i);return{c(){r.c(),e=G(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),R(s,e,o),R(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&A(e),s&&A(t)}}}function Uk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Bk(i){let e;return{c(){e=Ce(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Pe(e,t[4])},d(t){t&&A(e)}}}function Hk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function mh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I=!i[4]&&bh(i),D=i[4]&&vh(i);return h=new M_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=G(),D&&D.c(),c=G(),g=k("div"),qe(h.$$.fragment),_=G(),p=k("footer"),m=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){R(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),ze(h,g,null),w(t,_),w(t,p),w(p,m),w(m,v),w(v,S),y=!0,C||(N=[le(S,"click",i[12]),le(e,"click",Bt(Gk))],C=!0)},p(T,L){T[4]?I&&(I.d(1),I=null):I?I.p(T,L):(I=bh(T),I.c(),I.m(s,o)),T[4]?D?D.p(T,L):(D=vh(T),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};L[0]&1&&(V.actions=T[0]),L[0]&32&&(V.config=T[5]),L[0]&64&&(V.customOptionsRenderer=T[6]),L[0]&2&&(V.options=T[1]),L[0]&16&&(V.selectedLabel=T[4]),L[0]&4&&(V.selectedOption=T[2]),L[0]&512&&(V.isMobile=T[9]),L[0]&16384&&(V.isContextSwitcherDropdownShown=T[14]),h.$set(V)},i(T){y||(U(h.$$.fragment,T),y=!0)},o(T){q(h.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),D&&D.d(),Ge(h),C=!1,Qe(N)}}}function bh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ce(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function vh(i){let e;return{c(){e=Ce(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Pe(e,t[4])},d(t){t&&A(e)}}}function Wk(i){let e,t,n=i[3]&&_h(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&U(n,1)):(n=_h(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const zk=()=>{},Gk=()=>{};function qk(i,e,t){let n,l;const r=Wt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:m}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,T,L=pt("getUnsavedChangesModalPromise"),V=pt("store"),O=pt("getTranslation");_i(i,O,j=>t(16,l=j));let F=!1,W,ae,Z;Yt(async()=>{Fn.doOnStoreChange(V,async()=>{const j=se.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!j),!!s&&(t(6,y=te.isFunction(j.customOptionsRenderer)?j.customOptionsRenderer:void 0),t(7,C=te.isFunction(j.customSelectedOptionRenderer)?j.customSelectedOptionRenderer:void 0),t(5,g=j),t(1,_=void 0),j)){t(29,p=j.alwaysShowDropdown!==!1),t(0,h=await se.getConfigValueAsync("navigation.contextSwitcher.actions"));const fe=tt.getCurrentPath();t(22,v=j.fallbackLabelResolver),cn.resetFallbackLabelCache(),j.lazyloadOptions||await J(),cn.isContextSwitcherDetailsView(fe,j.parentNodePath)&&await he(fe)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(j=>he(j)),Pn.addEventListener("message",j=>{!Ie.getValidMessageSource(j)||j.data&&j.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),J())}),t(23,D=g.defaultLabel)}),On(()=>{F!==I&&(F=I,J()),t(14,Z=o.contextSwitcherPopover||!1)});function Q(j,fe,ve){return j?Promise.resolve(j):cn.getFallbackLabel(fe,ve)}function de(j){return j.testId?j.testId:ye.prepareForTests(j.pathSegment,j.label)}function x(j){return me.getNodeHref(j,S)}async function J(){t(1,_=await cn.fetchOptions(_));const j=g||{},fe=j.parentNodePath,ve=j.fallbackLabelResolver,re=tt.getCurrentPath();t(2,m=await cn.getSelectedOption(re,_,fe)),t(4,c=await cn.getSelectedLabel(re,_,fe,ve)),t(13,W=await cn.getSelectedNode(re,_,fe)),T=j.preserveSubPathOnSwitch}async function he(j){const fe=g||{},ve=fe.parentNodePath,re=fe.fallbackLabelResolver;t(2,m=await cn.getSelectedOption(j,_,ve)),t(4,c=await cn.getSelectedLabel(j,_,ve,re)),t(13,W=await cn.getSelectedNode(j,_,ve))}async function ne(j){let fe=j.detail.node;fe.clickHandler&&!await fe.clickHandler(fe)||(setTimeout(()=>{X(fe.link)}),N&&r("toggleDropdownState"))}function X(j){L().then(()=>{tt.navigateTo(j)},()=>{})}function Ne(j){let fe=j.detail.option,ve=j.detail.selectedOption;L().then(()=>{T&&ve?tt.navigateTo(cn.getNodePathFromCurrentPath(fe,ve)):tt.navigateTo(fe.link),N&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState");const j=o||{};JSON.parse(j.contextSwitcherPopover)&&J()}const He=()=>{n&&ie()},Se=()=>{n&&ie()};return i.$$set=j=>{"contextSwitcherEnabled"in j&&t(3,s=j.contextSwitcherEnabled),"dropDownStates"in j&&t(8,o=j.dropDownStates),"selectedLabel"in j&&t(4,c=j.selectedLabel),"config"in j&&t(5,g=j.config),"actions"in j&&t(0,h=j.actions),"options"in j&&t(1,_=j.options),"selectedOption"in j&&t(2,m=j.selectedOption),"fallbackLabelResolver"in j&&t(22,v=j.fallbackLabelResolver),"pathParams"in j&&t(24,S=j.pathParams),"customOptionsRenderer"in j&&t(6,y=j.customOptionsRenderer),"customSelectedOptionRenderer"in j&&t(7,C=j.customSelectedOptionRenderer),"isMobile"in j&&t(9,N=j.isMobile),"contextSwitcherToggle"in j&&t(25,I=j.contextSwitcherToggle),"defaultLabel"in j&&t(23,D=j.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!m)},[h,_,m,s,c,g,y,C,o,N,ne,Ne,ie,W,Z,n,l,O,ae,Q,de,x,v,D,S,I,J,he,X,p,He,Se]}class O_ extends At{constructor(e){super(),Lt(this,e,qk,Wk,yt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Kk}=Mi;function wh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Sh(i){let e,t,n,l=!i[2]&&kh(i),r=i[2]&&i[3].productSwitcherPopover&&Ih(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=kh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Ih(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function kh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?jk:Jk}let I=N(i,-1),D=I(i),T=i[0],L=[];for(let V=0;V<T.length;V+=1)L[V]=Nh(wh(i,T,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=G(),_=k("div"),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(m,"class","fd-product-switch__list"),f(p,"class",v=jn(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){R(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,m);for(let F=0;F<L.length;F+=1)L[F].m(m,null);y||(C=[le(r,"click",Bt(i[7])),le(l,"click",Bt(tC))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){T=V[0];let F;for(F=0;F<T.length;F+=1){const W=wh(V,T,F);L[F]?L[F].p(W,O):(L[F]=Nh(W),L[F].c(),L[F].m(m,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}O&512&&v!==(v=jn(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ft(L,V),y=!1,Qe(C)}}}function Jk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function jk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){R(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Ch(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Qk:Yk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=G(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){R(_,e,p),g.m(e,null),w(e,t),r||(s=le(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&A(e),g.d(),r=!1,s()}}}function Yk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Xk:Zk}let _=h(i,-1),p=_(i),m=g&&yh(i);return{c(){e=k("div"),p.c(),n=G(),l=k("div"),r=k("div"),o=Ce(s),c=G(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){R(v,e,S),p.m(e,null),R(v,n,S),R(v,l,S),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Pe(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=yh(v),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),m&&m.d()}}}function Qk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?xk:$k}let S=v(i,-1),y=S(i),C=h&&Ph(i);return{c(){e=k("a"),t=k("div"),y.c(),l=G(),r=k("div"),s=k("div"),c=Ce(o),g=G(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){R(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(m=le(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Pe(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=Ph(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function Zk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Xk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function yh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function $k(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function xk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ph(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ce(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Nh(i){let e,t=i[22].label&&Ch(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Ch(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ih(i){let e,t;return e=new D_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function eC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&Sh(i);return{c(){s&&s.c(),t=ke()},m(o,c){s&&s.m(o,c),R(o,t,c),n=!0,l||(r=le(Kk,"resize",_a),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&U(s,1)):(s=Sh(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(Ae(),q(s,1,1,()=>{s=null}),Re())},i(o){n||(U(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function _a(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const tC=()=>{};function nC(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=pt("store"),g=pt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Yt(async()=>{Fn.doOnStoreChange(c,async()=>{t(1,s=ye.getProductSwitcherConfig()),s&&(t(0,l=await se.getConfigValueAsync("navigation.productSwitcher.items")),I()),_a()},["navigation.productSwitcher"])});function p(O){g().then(()=>{tt.navigateToLink(O)},()=>{}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return ye.renderIconClassName(O)}function y(O){return ye.isOpenUIiconName(O.icon)}function C(O){return dt.getTranslation(O.label)}function N(O){return dt.getTranslation(O.subTitle)}function I(){ye.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(O){return O.testId?O.testId:ye.prepareForTests(O.label)}function T(O){return me.getNodeHref(O)}const L=O=>{ye.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,m,v,_a,h,S,y,C,N,D,T,L,V]}class F_ extends At{constructor(e){super(),Lt(this,e,nC,eC,yt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return _a}}function Th(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function iC(i){let e,t,n;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){R(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&A(e),i[19](null),t=!1,n()}}}function lC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){R(t,e,n),e.focus()},p:Fe,d(t){t&&A(e)}}}function rC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[23](e)},p:Fe,d(t){t&&A(e),i[23](null)}}}function sC(i){let e,t,n,l=i[5]&&Lh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Lh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function Lh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ah(Th(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Th(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ah(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l),i[22](null)}}}function aC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function oC(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ce(l),s=G(),o=k("div"),g=Ce(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Dt(fC)),h=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Pe(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Pe(g,c)},d(p){p&&A(e),h=!1,_()}}}function Ah(i){let e,t,n,l;function r(h,_){return h[9]?aC:oC}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=G(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){R(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Qe(l)}}}function uC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(L,V){return L[7]&&L[7].disableInputHandlers?lC:iC}let C=y(i),N=C(i);function I(L,V){return L[8]?rC:sC}let D=I(i),T=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=G(),T.c(),c=G(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",m=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(L,V){R(L,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),T.m(n,null),R(L,c,V),R(L,g,V),w(g,h),w(h,_),w(_,p),v||(S=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Bt(cC)),le(_,"click",i[6]),le(h,"click",Bt(dC))],v=!0)},p(L,V){C===(C=y(L))&&N?N.p(L,V):(N.d(1),N=C(L),N&&(N.c(),N.m(l,null))),D===(D=I(L))&&T?T.p(L,V):(T.d(1),T=D(L),T&&(T.c(),T.m(n,null))),V[0]&16&&s!==(s=!L[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&m!==(m=!L[4])&&f(_,"aria-expanded",m)},i:Fe,o:Fe,d(L){L&&A(e),N.d(),T.d(),L&&A(c),L&&A(g),v=!1,Qe(S)}}}const fC=()=>{},cC=()=>{},dC=()=>{};function hC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Wt(),p={fireItemSelected:ne=>{m.searchProvider.onSearchResultItemSelected(ne)}};let m={},v,S;Yt(async()=>{t(7,m=h);let ne=o;const X=C(m.searchProvider);X&&(ne.placeholder=X),y()}),On(()=>{t(7,m=h),y()});function y(){!m.searchProvider||(t(8,v=te.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,S=te.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function C(ne){if(!ne||!ne.inputPlaceholder)return;const X=dt.getCurrentLocale();if(te.isFunction(ne.inputPlaceholder))return ne.inputPlaceholder();if(typeof ne.inputPlaceholder=="string"){const Ne=dt.getTranslation(ne.inputPlaceholder);return!!Ne&&Ne.trim().length>0?Ne:ne.inputPlaceholder}if(typeof ne.inputPlaceholder=="object")return ne.inputPlaceholder[X]}function N(ne,X,Ne){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ne,X.children[Ne],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:ne}){m&&m.searchProvider?te.isFunction(m.searchProvider.onEnter)&&ne===gi?m.searchProvider.onEnter():te.isFunction(m.searchProvider.onEscape)&&ne===hi?m.searchProvider.onEscape():ne===Di?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(ne){let X=g.children;if(X)for(let Ne=0;Ne<X.length;Ne++){let{childNodes:ie,nextSibling:He,previousSibling:Se}=X[Ne],j;if(ie[0].getAttribute("aria-selected")==="true"){ne===Di&&(j=He!==null?He:X[0]),ne===Vl&&(j=Se!==null?Se:X[X.length-1]),ie[0].setAttribute("aria-selected","false"),j.childNodes[0].setAttribute("aria-selected","true"),j.focus();break}}}function L(){let ne=g.children;if(ne)for(let X=0;X<ne.length;X++){let Ne=ne[X];Ne.childNodes[0].getAttribute("aria-selected")==="true"&&Ne.childNodes[0].setAttribute("aria-selected","false")}}function V(ne){m&&te.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ne):te.isFunction(m.searchProvider.onEscape)&&event.keyCode===hi&&m.searchProvider.onEscape()}function O(ne,{keyCode:X}){X===gi&&m.searchProvider.onSearchResultItemSelected(ne),X===Vl||X===Di?T(X):te.isFunction(m.searchProvider.onEscape)&&X===hi&&(L(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function F(ne){let X=ne.pathObject;X.externalLink?tt.navigateToLink(X):_("handleSearchNavigation",{node:X})}function W(){o&&o.focus()}function ae(){if(n?t(0,r=!1):setTimeout(()=>{W()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&te.isFunction(m.searchProvider.toggleSearch)){const ne=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,ne)}}const Z=ne=>D(ne);function Q(ne){Xe[ne?"unshift":"push"](()=>{o=ne,t(1,o)})}const de=(ne,X)=>V(ne),x=(ne,X)=>O(ne,X);function J(ne){Xe[ne?"unshift":"push"](()=>{g=ne,t(3,g)})}function he(ne){Xe[ne?"unshift":"push"](()=>{c=ne,t(2,c)})}return i.$$set=ne=>{"isSearchFieldVisible"in ne&&t(4,n=ne.isSearchFieldVisible),"searchResult"in ne&&t(5,l=ne.searchResult),"displaySearchResult"in ne&&t(0,r=ne.displaySearchResult),"displayCustomSearchResult"in ne&&t(15,s=ne.displayCustomSearchResult),"inputElem"in ne&&t(1,o=ne.inputElem),"luigiCustomSearchRenderer__slot"in ne&&t(2,c=ne.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ne&&t(3,g=ne.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ne&&t(16,h=ne.globalSearchConfig)},[r,o,c,g,n,l,ae,m,v,S,N,I,D,V,O,s,h,F,Z,Q,de,x,J,he]}class gC extends At{constructor(e){super(),Lt(this,e,hC,uC,yt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Rh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function _C(i){let e,t,n,l,r,s,o,c=i[11]&&Eh(i);return{c(){e=k("input"),t=G(),n=k("span"),c&&c.c(),l=G(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){R(g,e,h),i[26](e),R(g,t,h),R(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Eh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&A(e),i[26](null),g&&A(t),g&&A(n),c&&c.d(),s=!1,Qe(o)}}}function pC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){R(t,e,n)},p:Fe,d(t){t&&A(e)}}}function Eh(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){R(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function mC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[31](e)},p:Fe,d(t){t&&A(e),i[31](null)}}}function bC(i){let e,t,n,l=i[4]&&Dh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Dh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function Dh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Rh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Rh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Vh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l),i[30](null)}}}function vC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function wC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ce(l),s=G(),o=k("div"),g=Ce(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Dt(kC)),h=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Pe(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Pe(g,c)},d(p){p&&A(e),h=!1,_()}}}function Vh(i){let e,t,n,l;function r(h,_){return h[10]?vC:wC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=G(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){R(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Qe(l)}}}function Mh(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[le(n,"click",i[6]),le(t,"click",Bt(yC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Qe(o)}}}function Oh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=k("div"),t=k("button"),l=Ce(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){R(g,e,h),w(e,t),w(t,l),o||(c=le(t,"click",Bt(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Pe(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function SC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(T,L){return T[8]&&T[8].disableInputHandlers?pC:_C}let v=m(i),S=v(i);function y(T,L){return T[9]?mC:bC}let C=y(i),N=C(i),I=!i[5]&&Mh(i),D=i[5]&&Oh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=G(),N.c(),c=G(),I&&I.c(),g=G(),D&&D.c(),h=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(T,L){R(T,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),R(T,c,L),I&&I.m(T,L),R(T,g,L),D&&D.m(T,L),R(T,h,L),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Bt(CC))],_=!0)},p(T,L){v===(v=m(T))&&S?S.p(T,L):(S.d(1),S=v(T),S&&(S.c(),S.m(l,null))),C===(C=y(T))&&N?N.p(T,L):(N.d(1),N=C(T),N&&(N.c(),N.m(n,null))),L[0]&32&&s!==(s=!T[5])&&f(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(T[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),T[5]?I&&(I.d(1),I=null):I?I.p(T,L):(I=Mh(T),I.c(),I.m(g.parentNode,g)),T[5]?D?D.p(T,L):(D=Oh(T),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(T){T&&A(e),S.d(),N.d(),T&&A(c),I&&I.d(T),T&&A(g),D&&D.d(T),T&&A(h),_=!1,Qe(p)}}}const kC=()=>{},CC=()=>{},yC=()=>{};function PC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Wt(),p={fireItemSelected:re=>{S.searchProvider.onSearchResultItemSelected(re)}};let m=al.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=pt("getTranslation");_i(i,I,re=>t(12,n=re)),Yt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let re=o;const Ee=T(S.searchProvider);Ee&&(re.placeholder=Ee),D(),Jf.handleVisibilityGlobalSearch();const De=document.querySelector(".lui-global-search");De&&new ResizeObserver($e=>{Jf.handleVisibilityGlobalSearch()}).observe(De)}),On(()=>{t(8,S=h),D(),W()});function D(){t(9,y=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultItemRenderer))}function T(re){if(!re||!re.inputPlaceholder)return;const Ee=dt.getCurrentLocale();if(te.isFunction(re.inputPlaceholder))return re.inputPlaceholder();if(typeof re.inputPlaceholder=="string"){const De=dt.getTranslation(re.inputPlaceholder);return!!De&&De.trim().length>0?De:re.inputPlaceholder}if(typeof re.inputPlaceholder=="object")return re.inputPlaceholder[Ee]}function L(re,Ee,De){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(re,Ee.children[De],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:re}){S?te.isFunction(S.searchProvider.onEnter)&&re===gi?S.searchProvider.onEnter():te.isFunction(S.searchProvider.onEscape)&&re===hi?S.searchProvider.onEscape():re===Di?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&te.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function W(){o&&o.value?t(11,N=!0):t(11,N=!1)}function ae(){t(1,o.value="",o),V(),t(11,N=!1)}function Z(re){let Ee=g.children;if(Ee)for(let De=0;De<Ee.length;De++){let{childNodes:pe,nextSibling:$e,previousSibling:Vt}=Ee[De],Rt;if(pe[0].getAttribute("aria-selected")==="true"){re===Di&&(Rt=$e!==null?$e:Ee[0]),re===Vl&&(Rt=Vt!==null?Vt:Ee[Ee.length-1]),pe[0].setAttribute("aria-selected","false"),Rt.childNodes[0].setAttribute("aria-selected","true"),Rt.focus();break}}}function Q(){let re=g.children;if(re)for(let Ee=0;Ee<re.length;Ee++){let De=re[Ee];De.childNodes[0].getAttribute("aria-selected")==="true"&&De.childNodes[0].setAttribute("aria-selected","false")}}function de(re){S&&te.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(re):te.isFunction(S.searchProvider.onEscape)&&event.keyCode===hi&&S.searchProvider.onEscape()}function x(re,{keyCode:Ee}){Ee===gi&&S.searchProvider.onSearchResultItemSelected(re),Ee===Vl||Ee===Di?Z(Ee):te.isFunction(S.searchProvider.onEscape)&&Ee===hi&&(Q(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function J(re){let Ee=re.pathObject;Ee.externalLink?tt.navigateToLink(Ee):_("handleSearchNavigation",{node:Ee})}function he(){o&&o.focus()}function ne(){if(v?t(0,r=!1):setTimeout(()=>{he()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),te.isFunction(S.searchProvider.toggleSearch)){const re=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,re)}}const X=re=>O(re);function Ne(re){Xe[re?"unshift":"push"](()=>{o=re,t(1,o)})}const ie=()=>W(),He=(re,Ee)=>de(re),Se=(re,Ee)=>x(re,Ee);function j(re){Xe[re?"unshift":"push"](()=>{g=re,t(3,g)})}function fe(re){Xe[re?"unshift":"push"](()=>{c=re,t(2,c)})}const ve=()=>ne();return i.$$set=re=>{"searchResult"in re&&t(4,l=re.searchResult),"displaySearchResult"in re&&t(0,r=re.displaySearchResult),"displayCustomSearchResult"in re&&t(22,s=re.displayCustomSearchResult),"inputElem"in re&&t(1,o=re.inputElem),"luigiCustomSearchRenderer__slot"in re&&t(2,c=re.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in re&&t(3,g=re.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in re&&t(23,h=re.globalSearchConfig),"isSearchFieldVisible"in re&&t(5,v=re.isSearchFieldVisible)},[r,o,c,g,l,v,ne,m,S,y,C,N,n,I,L,V,O,F,W,ae,de,x,s,h,J,X,Ne,ie,He,Se,j,fe,ve]}class NC extends At{constructor(e){super(),Lt(this,e,PC,SC,yt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Fh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?TC:IC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function IC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function TC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Uh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new ns({props:{node:i[0]}}),{c(){e=k("span"),n=Ce(t),l=G(),qe(r.$$.fragment)},m(o,c){R(o,e,c),w(e,n),w(e,l),ze(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Pe(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(U(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&A(e),Ge(r)}}}function LC(i){let e,t,n,l=i[0].icon&&Fh(i),r=(!i[0].icon||i[0].showLabel)&&Uh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Fh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&U(r,1)):(r=Uh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function AC(i,e,t){let{node:n}=e;function l(o){return ye.isOpenUIiconName(o.icon)}function r(o){return ye.renderIconClassName(o)}function s(o){return ye.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Uo extends At{constructor(e){super(),Lt(this,e,AC,LC,yt,{node:0})}}const{Boolean:U_,window:Bh}=Mi;function Hh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Wh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function RC(i){let e,t;return e=new E_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function EC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&zh(i);function S(L){i[59](L)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new QS({props:y}),Xe.push(()=>_t(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Gh(i),N=(!i[0]||i[1])&&qh(i),I=(i[18]||i[7]&&i[30].length>0)&&Jh(i),D=(i[0]||i[16])&&ag(i),T=i[12]&&og(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=G(),qe(l.$$.fragment),s=G(),C&&C.c(),o=G(),c=k("div"),N&&N.c(),g=G(),I&&I.c(),h=G(),D&&D.c(),_=G(),T&&T.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(L,V){R(L,e,V),w(e,t),v&&v.m(t,null),w(t,n),ze(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),T&&T.m(c,null),m=!0},p(L,V){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,V):(v=zh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=L[30]),V[1]&1&&(O.pathParams=L[31]),V[0]&268435456&&(O.addNavHrefForAnchor=L[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=L[6],gt(()=>r=!1)),l.$set(O),L[18]&&L[19]?C?(C.p(L,V),V[0]&786432&&U(C,1)):(C=Gh(L),C.c(),U(C,1),C.m(e,o)):C&&(Ae(),q(C,1,1,()=>{C=null}),Re()),!L[0]||L[1]?N?(N.p(L,V),V[0]&3&&U(N,1)):(N=qh(L),N.c(),U(N,1),N.m(c,g)):N&&(Ae(),q(N,1,1,()=>{N=null}),Re()),L[18]||L[7]&&L[30].length>0?I?(I.p(L,V),V[0]&1074004096&&U(I,1)):(I=Jh(L),I.c(),U(I,1),I.m(c,h)):I&&(Ae(),q(I,1,1,()=>{I=null}),Re()),L[0]||L[16]?D?(D.p(L,V),V[0]&65537&&U(D,1)):(D=ag(L),D.c(),U(D,1),D.m(c,_)):D&&(Ae(),q(D,1,1,()=>{D=null}),Re()),L[12]?T?(T.p(L,V),V[0]&4096&&U(T,1)):(T=og(L),T.c(),U(T,1),T.m(c,null)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),(!m||V[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(L){m||(U(l.$$.fragment,L),U(C),U(N),U(I),U(D),U(T),m=!0)},o(L){q(l.$$.fragment,L),q(C),q(N),q(I),q(D),q(T),m=!1},d(L){L&&A(e),v&&v.d(),Ge(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),T&&T.d()}}}function zh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){R(r,e,s),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function Gh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function m(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new NC({props:y}),Xe.push(()=>_t(t,"isSearchFieldVisible",h)),Xe.push(()=>_t(t,"searchResult",_)),Xe.push(()=>_t(t,"displaySearchResult",p)),Xe.push(()=>_t(t,"displayCustomSearchResult",m)),Xe.push(()=>_t(t,"inputElem",v)),Xe.push(()=>_t(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){R(C,e,N),ze(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],gt(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],gt(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],gt(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],gt(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],gt(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],gt(()=>c=!1)),t.$set(I)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&A(e),Ge(t)}}}function qh(i){let e,t,n,l,r=i[18]&&!i[19]&&Kh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new O_({props:o}),Xe.push(()=>_t(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=G(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),R(c,e,g),ze(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&U(r,1)):(r=Kh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],gt(()=>n=!1)),t.$set(h)},i(c){l||(U(r),U(t.$$.fragment,c),l=!0)},o(c){q(r),q(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),Ge(t,c)}}}function Kh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function m(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new gC({props:S}),Xe.push(()=>_t(e,"isSearchFieldVisible",g)),Xe.push(()=>_t(e,"searchResult",h)),Xe.push(()=>_t(e,"displaySearchResult",_)),Xe.push(()=>_t(e,"displayCustomSearchResult",p)),Xe.push(()=>_t(e,"inputElem",m)),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],gt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],gt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],gt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],gt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],gt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],gt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Jh(i){let e,t,n,l=i[7]&&i[30].length>0&&jh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Zh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&U(l,1)):(l=jh(s),l.c(),U(l,1),l.m(e.parentNode,e)):l&&(Ae(),q(l,1,1,()=>{l=null}),Re()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&U(r,1)):(r=Zh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function jh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Qh(Wh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Wh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Qh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(U_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function Yh(i){let e,t,n,l;const r=[VC,DC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ae(),q(s[h],1,1,()=>{s[h]=null}),Re(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function DC(i){let e,t,n,l,r;const s=[OC,MC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=G(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){R(g,e,h),o[t].m(e,null),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Ae(),q(o[_],1,1,()=>{o[_]=null}),Re(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(e,l))},i(g){r||(U(n),r=!0)},o(g){q(n),r=!1},d(g){g&&A(e),o[t].d()}}}function VC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(O){i[80](O,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Uo({props:L}),Xe.push(()=>_t(r,"node",T)),c=new Yn({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new V_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=G(),qe(c.$$.fragment),m=G(),v=k("div"),qe(S.$$.fragment),C=G(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,l),ze(r,l,null),w(l,o),ze(c,l,null),w(t,m),w(t,v),ze(S,v,null),w(e,C),N=!0,I||(D=[le(l,"click",V),le(n,"click",Bt(ZC))],I=!0)},p(O,F){i=O;const W={};!s&&F[0]&128&&(s=!0,W.node=i[111],gt(()=>s=!1)),r.$set(W);const ae={};F[0]&128&&(ae.node=i[111]),c.$set(ae),(!N||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const Z={};F[0]&128&&(Z.node=i[111]),F[1]&1&&(Z.pathParams=i[31]),F[0]&268435456&&(Z.addNavHrefForAnchor=i[28]),S.$set(Z),(!N||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),N=!0)},o(O){q(r.$$.fragment,O),q(c.$$.fragment,O),q(S.$$.fragment,O),N=!1},d(O){O&&A(e),Ge(r),Ge(c),Ge(S),I=!1,Qe(D)}}}function MC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Uo({props:m}),Xe.push(()=>_t(t,"node",p)),r=new Yn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=G(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){R(S,e,y),ze(t,e,null),w(e,l),ze(r,e,null),g=!0,h||(_=le(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],gt(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(U(t.$$.fragment,S),U(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&A(e),Ge(t),Ge(r),h=!1,_()}}}function OC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Uo({props:v}),Xe.push(()=>_t(t,"node",m)),r=new Yn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=G(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){R(y,e,C),ze(t,e,null),w(e,l),ze(r,e,null),h=!0,_||(p=le(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],gt(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(U(t.$$.fragment,y),U(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&A(e),Ge(t),Ge(r),_=!1,p()}}}function Qh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Yh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=Yh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Zh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O;g=new Yn({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Xh(i),W=i[46]&&(!i[0]||i[1])&&$h(i),ae=i[7]&&xh(i),Z=i[12]&&ig(i),Q=i[12]&&lg(i),de=i[14]&&rg(i),x=(!i[0]||i[1])&&sg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=G(),qe(g.$$.fragment),_=G(),p=k("div"),m=k("nav"),v=k("ul"),F&&F.c(),S=G(),W&&W.c(),y=G(),ae&&ae.c(),C=G(),Z&&Z.c(),I=G(),Q&&Q.c(),D=G(),de&&de.c(),T=G(),x&&x.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,he){R(J,e,he),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),ze(g,s,null),w(n,_),w(n,p),w(p,m),w(m,v),F&&F.m(v,null),w(v,S),W&&W.m(v,null),w(v,y),ae&&ae.m(v,null),w(v,C),Z&&Z.m(v,null),w(n,I),Q&&Q.m(n,null),w(n,D),de&&de.m(n,null),w(n,T),x&&x.m(n,null),L=!0,V||(O=[le(s,"click",i[86]),le(l,"click",Bt(XC))],V=!0)},p(J,he){const ne={};he[0]&2048&&(ne.node=J[11]),g.$set(ne),(!L||he[0]&64&&h!==(h=J[6].overflowPopover||!1))&&f(s,"aria-expanded",h),J[18]&&!J[19]?F?F.p(J,he):(F=Xh(J),F.c(),F.m(v,S)):F&&(F.d(1),F=null),J[46]&&(!J[0]||J[1])?W?W.p(J,he):(W=$h(J),W.c(),W.m(v,y)):W&&(W.d(1),W=null),J[7]?ae?(ae.p(J,he),he[0]&128&&U(ae,1)):(ae=xh(J),ae.c(),U(ae,1),ae.m(v,C)):ae&&(Ae(),q(ae,1,1,()=>{ae=null}),Re()),J[12]?Z?Z.p(J,he):(Z=ig(J),Z.c(),Z.m(v,null)):Z&&(Z.d(1),Z=null),(!L||he[0]&64&&N!==(N=!J[6].overflowPopover))&&f(p,"aria-hidden",N),J[12]?Q?(Q.p(J,he),he[0]&4096&&U(Q,1)):(Q=lg(J),Q.c(),U(Q,1),Q.m(n,D)):Q&&(Ae(),q(Q,1,1,()=>{Q=null}),Re()),J[14]?de?(de.p(J,he),he[0]&16384&&U(de,1)):(de=rg(J),de.c(),U(de,1),de.m(n,T)):de&&(Ae(),q(de,1,1,()=>{de=null}),Re()),!J[0]||J[1]?x?(x.p(J,he),he[0]&3&&U(x,1)):(x=sg(J),x.c(),U(x,1),x.m(n,null)):x&&(Ae(),q(x,1,1,()=>{x=null}),Re())},i(J){L||(U(g.$$.fragment,J),U(ae),U(Q),U(de),U(x),L=!0)},o(J){q(g.$$.fragment,J),q(ae),q(Q),q(de),q(x),L=!1},d(J){J&&A(e),Ge(g),F&&F.d(),W&&W.d(),ae&&ae.d(),Z&&Z.d(),Q&&Q.d(),de&&de.d(),x&&x.d(),V=!1,Qe(O)}}}function Xh(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
60
|
-
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),n||(l=le(t,"click",Bt(i[87])),n=!0)},p:Fe,d(r){r&&A(e),n=!1,l()}}}function $h(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=G(),s=k("span"),c=Ce(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){R(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=le(t,"click",Bt(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Pe(c,o)},d(_){_&&A(e),g=!1,h()}}}function xh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=ng(Hh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Hh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=ng(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(U_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function eg(i){let e,t,n,l;const r=[UC,FC],s=[];function o(c,g){return c[111].isCat?1:0}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ae(),q(s[h],1,1,()=>{s[h]=null}),Re(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function FC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(T,L){return L[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?HC:BC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new Yn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=G(),qe(s.$$.fragment),o=G(),c=k("span"),h=Ce(g),m=G(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(T,L){R(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,m),v=!0,S||(y=le(t,"click",Dt(D)),S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Pe(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(U(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,y()}}}function UC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,m,v,S,y,C,N,I=l&&tg(i);s=new Yn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=G(),qe(s.$$.fragment),c=G(),g=k("span"),_=Ce(h),S=G(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(T,L){R(T,e,L),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=le(t,"click",Dt(D)),C=!0)},p(T,L){i=T,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=tg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!y||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Pe(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||L[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(U(s.$$.fragment,T),y=!0)},o(T){q(s.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),Ge(s),C=!1,N()}}}function BC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function HC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function tg(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function ng(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&eg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=eg(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ig(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(m,v){return v[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?zC:WC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=G(),r=k("span"),o=Ce(s),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(m,v){R(m,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Bt(i[32])),c=!0)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=m[13].label+"")&&Pe(o,s)},d(m){m&&A(e),p.d(),c=!1,g()}}}function WC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function zC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function lg(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new F_({props:r}),Xe.push(()=>_t(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],gt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function rg(i){let e,t;return e=new V_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function sg(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new O_({props:g}),Xe.push(()=>_t(e,"dropDownStates",s)),Xe.push(()=>_t(e,"selectedLabel",o)),Xe.push(()=>_t(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){ze(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],gt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],gt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],gt(()=>l=!1)),e.$set(p)},i(h){r||(U(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){Ge(e,h)}}}function ag(i){let e,t,n,l,r;const s=[qC,GC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&te.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){R(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=c(g,h),n===_?o[n].p(g,h):(Ae(),q(o[_],1,1,()=>{o[_]=null}),Re(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),U(l,1),l.m(e,null))},i(g){r||(U(l),r=!0)},o(g){q(l),r=!1},d(g){g&&A(e),o[n].d()}}}function GC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(I,D){return I[17].picture?JC:KC}let C=y(i),N=C(i);return _=new E_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=G(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){R(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[le(r,"click",i[99]),le(n,"click",Bt(xC))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!m||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const T={};D[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!m||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){m||(U(_.$$.fragment,I),m=!0)},o(I){q(_.$$.fragment,I),m=!1},d(I){I&&A(e),N.d(),Ge(_),v=!1,Qe(S)}}}function qC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?YC:jC}let _=h(i),p=_(i);return r=new lk({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=G(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,v){R(m,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),ze(r,l,null),o=!0,c||(g=le(t,"click",Bt($C)),c=!0)},p(m,v){_===(_=h(m))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=m[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!m[6].profilePopover))&&f(l,"aria-hidden",s)},i(m){o||(U(r.$$.fragment,m),o=!0)},o(m){q(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),Ge(r),c=!1,g()}}}function KC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){R(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&A(e)}}}function JC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),ti(e,"background-image","url('"+i[17].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&131072&&ti(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function jC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ce(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){R(o,e,c),w(e,n),r||(s=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Pe(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,s()}}}function YC(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),ti(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){R(r,e,s),n||(l=le(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&ti(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function og(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new F_({props:r}),Xe.push(()=>_t(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],gt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function QC(i){let e,t,n,l,r,s;const o=[EC,RC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){c[e].m(h,_),R(h,n,_),l=!0,r||(s=[le(Bh,"click",i[41]),le(Bh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Ae(),q(c[p],1,1,()=>{c[p]=null}),Re(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),U(t,1),t.m(n.parentNode,n))},i(h){l||(U(t),l=!0)},o(h){q(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Qe(s)}}}const ZC=()=>{},XC=()=>{},$C=()=>{},xC=()=>{};function ey(i,e,t){const n=Wt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:T}=e,{openMobileDropDown:L}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:F={}}=e,{urlAuthError:W}=e,{globalSearchConfig:ae}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:Q}=e,{inputElem:de}=e,{luigiCustomSearchRenderer__slot:x}=e,{displaySearchResult:J}=e,{displayCustomSearchResult:he}=e,{searchResult:ne}=e,{burgerTooltip:X}=e,{responsiveShellbarPadding:Ne}=e,ie=pt("store"),He=!1,Se,j,fe=se.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ve=se.getConfigBooleanValue("navigation.addNavHrefs")}=e;const re=async()=>{if(_&&0<_.length){const K=await ye.generateTopNavNodes(_);t(7,S=K.children),t(8,y=K.selectedNode),t(9,C=K.visibleNodeCount),t(11,I=K.totalBadgeNode),t(10,N=K.globalNavNodeCount),window.TOPNAVDATA=K.children,p=_}},Ee=()=>{t(1,s=rl.isLoggedIn())};Yt(()=>{Fn.doOnStoreChange(ie,()=>{t(0,l=di.isAuthorizationEnabled()),t(16,O=se.getConfigValue("navigation.profile")),t(54,r=!Boolean(se.getConfigValue("auth.disableAutoLogin"))),t(12,D=se.getConfigValue("navigation.productSwitcher")),t(2,o=se.getConfigBooleanValue("settings.hideNavigation")),t(3,c=se.getConfigValue("settings.responsiveNavigation")),t(4,g=se.getConfigValue("settings.profileType")),t(27,Ne=se.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,T=ye.getProductSwitcherConfig()),t(18,ae=se.getConfigValue("globalSearch")),t(19,Z=ae&&ae.searchFieldCentered&&te.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=se.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),t(28,ve=se.getConfigBooleanValue("navigation.addNavHrefs")),t(46,fe=se.getConfigValue("navigation.contextSwitcher"))},["navigation"]),Pn.addEventListener("message",K=>{K.data.msg==="luigi.navigation.update-badge-counters"&&re()})}),On(()=>{(!p||p!=_)&&re(),Ee()});let{showTopNav:De}=e;function pe(K){return ye.renderIconClassName(K)}function $e(K){return ye.isOpenUIiconName(K.icon)}const Vt=K=>ye.getNodeLabel(K);function Rt(K){return K.testId?K.testId:ye.prepareForTests(K.pathSegment,K.label)}function Mt(K){return me.getNodeHref(K,m)}function on(K,Ct){return ye.generateTooltipText(K,Ct)}function Oi(){Et("productSwitcherPopover")}function Gt(){t(43,He=!He),Et("contextSwitcherPopover")}function pi(K){t(14,L=!0),t(15,V=K)}function Fi(){t(14,L=!1)}function en(K){n("handleClick",{node:K})}function Qt(K){n("handleSearchNavigation",{node:K})}function Qn(K){en(K.detail.node)}function Et(K){const Ct=v||{},vn=!Ct[K];qt(),Fi(),Ct[K]=vn,t(6,v=Ct)}function pn(K){Et(K.detail.name)}function Zt(){de&&de.focus()}function Ui(){Q||setTimeout(()=>{Zt()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:de,luigiCustomSearchRenderer__slot:x})}function qt(){const K=v||{},Ct=Object.keys(K);Ct&&Ct.length>0&&Ct.forEach(vn=>{K[vn]=!1,t(6,v=K)})}function rn(){c==="simple"||c==="simpleMobileOnly"?ni():sn(),mi()}function mi(){if(!ye.getBurgerTooltipConfig())return;const[K,Ct]=ye.getBurgerTooltipConfig();K&&Ct&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,X=document.body.classList.contains("lui-leftNavToggle")?K:Ct),document.body.classList.contains("lui-semiCollapsible")&&t(26,X=document.body.classList.contains("semiCollapsed")?K:Ct))}function ni(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function sn(){fi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ee(K){const Ct=K.detail;t(17,F=Ct||{})}function Me(K){v=K,t(6,v)}function ct(K){Q=K,t(20,Q)}function Pt(K){ne=K,t(25,ne)}function Nt(K){J=K,t(23,J)}function mt(K){he=K,t(24,he)}function mn(K){de=K,t(21,de)}function Nn(K){x=K,t(22,x)}function ii(K){Dl.call(this,i,K)}function bi(K){Dl.call(this,i,K)}function ul(K){Dl.call(this,i,K)}function Bi(K){Q=K,t(20,Q)}function br(K){ne=K,t(25,ne)}function vr(K){J=K,t(23,J)}function wr(K){he=K,t(24,he)}function Fl(K){de=K,t(21,de)}function Sr(K){x=K,t(22,x)}function kr(K){Dl.call(this,i,K)}function Cr(K){Dl.call(this,i,K)}function fl(K){Dl.call(this,i,K)}function cl(K){v=K,t(6,v)}const li=()=>Et("contextSwitcherPopover");function dl(K,Ct,vn,wi){vn[wi]=K,t(7,S)}const Hi=K=>Et(`dropDownPopover-${K}`);function Ul(K,Ct,vn,wi){vn[wi]=K,t(7,S)}const Bl=(K,Ct)=>{ye.handleNavAnchorClickedWithoutMetaKey(Ct)&&en(K)};function Hl(K,Ct,vn,wi){vn[wi]=K,t(7,S)}const yr=K=>en(K),bn=()=>Et("overflowPopover"),hl=()=>{Ui(),Et("overflowPopover")},Wi=K=>en(K),Wl=K=>pi(K);function Pr(K){v=K,t(6,v)}const zi=()=>Et("productSwitcherPopover");function gl(K){v=K,t(6,v)}function _l(K){Se=K,t(44,Se)}function pl(K){j=K,t(45,j)}const vi=()=>Et("contextSwitcherPopover"),zl=()=>Et("profilePopover"),Gi=()=>Et("profilePopover"),wt=()=>Et("profilePopover"),ml=()=>Et("profilePopover"),bl=()=>Et("profilePopover");function vl(K){v=K,t(6,v)}const wl=()=>Et("productSwitcherPopover"),ri=()=>Et("profilePopover");return i.$$set=K=>{"authorizationEnabled"in K&&t(0,l=K.authorizationEnabled),"autologinEnabled"in K&&t(54,r=K.autologinEnabled),"isLoggedIn"in K&&t(1,s=K.isLoggedIn),"hideNavComponent"in K&&t(2,o=K.hideNavComponent),"responsiveNavSetting"in K&&t(3,c=K.responsiveNavSetting),"profileTypeSettings"in K&&t(4,g=K.profileTypeSettings),"showGlobalNav"in K&&t(5,h=K.showGlobalNav),"pathData"in K&&t(30,_=K.pathData),"pathParams"in K&&t(31,m=K.pathParams),"dropDownStates"in K&&t(6,v=K.dropDownStates),"children"in K&&t(7,S=K.children),"selectedNode"in K&&t(8,y=K.selectedNode),"visibleNodeCount"in K&&t(9,C=K.visibleNodeCount),"globalNavNodeCount"in K&&t(10,N=K.globalNavNodeCount),"totalBadgeNode"in K&&t(11,I=K.totalBadgeNode),"isProductSwitcherAvailable"in K&&t(12,D=K.isProductSwitcherAvailable),"productSwitcherConfig"in K&&t(13,T=K.productSwitcherConfig),"openMobileDropDown"in K&&t(14,L=K.openMobileDropDown),"nodeForMobile"in K&&t(15,V=K.nodeForMobile),"profileItemsAvailable"in K&&t(16,O=K.profileItemsAvailable),"userInfo"in K&&t(17,F=K.userInfo),"urlAuthError"in K&&t(55,W=K.urlAuthError),"globalSearchConfig"in K&&t(18,ae=K.globalSearchConfig),"isGlobalSearchCentered"in K&&t(19,Z=K.isGlobalSearchCentered),"isSearchFieldVisible"in K&&t(20,Q=K.isSearchFieldVisible),"inputElem"in K&&t(21,de=K.inputElem),"luigiCustomSearchRenderer__slot"in K&&t(22,x=K.luigiCustomSearchRenderer__slot),"displaySearchResult"in K&&t(23,J=K.displaySearchResult),"displayCustomSearchResult"in K&&t(24,he=K.displayCustomSearchResult),"searchResult"in K&&t(25,ne=K.searchResult),"burgerTooltip"in K&&t(26,X=K.burgerTooltip),"responsiveShellbarPadding"in K&&t(27,Ne=K.responsiveShellbarPadding),"addNavHrefForAnchor"in K&&t(28,ve=K.addNavHrefForAnchor),"showTopNav"in K&&t(29,De=K.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,De=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,T,L,V,O,F,ae,Z,Q,de,x,J,he,ne,X,Ne,ve,De,_,m,Oi,Gt,pi,Fi,en,Qn,Et,pn,Ui,qt,ee,He,Se,j,fe,pe,$e,Vt,Rt,Mt,on,rn,r,W,Qt,ni,sn,Me,ct,Pt,Nt,mt,mn,Nn,ii,bi,ul,Bi,br,vr,wr,Fl,Sr,kr,Cr,fl,cl,li,dl,Hi,Ul,Bl,Hl,yr,bn,hl,Wi,Wl,Pr,zi,gl,_l,pl,vi,zl,Gi,wt,ml,bl,vl,wl,ri]}class ty extends At{constructor(e){super(),Lt(this,e,ey,QC,yt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function ug(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ny(i){let e,t=i[0]&&ug();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]?t||(t=ug(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function iy(i,e,t){let{node:n}=e;return Yt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(()=>{n.webcomponent&&n.tabNav.showAsTabHeader?hr.renderWebComponent(n.viewUrl,document.querySelector(".lui-tab-header"),n.context,n):console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ly extends At{constructor(e){super(),Lt(this,e,iy,ny,yt,{node:0})}}const{window:To}=Mi;function fg(i,e,t){const n=i.slice();return n[38]=e[t][0],n[39]=e[t][1],n[41]=t,n}function cg(i,e,t){const n=i.slice();return n[42]=e[t],n}function dg(i,e,t){const n=i.slice();return n[42]=e[t],n[44]=t,n}function hg(i,e,t){const n=i.slice();return n[38]=e[t][0],n[39]=e[t][1],n[41]=t,n}function gg(i,e,t){const n=i.slice();return n[42]=e[t],n}function _g(i,e,t){const n=i.slice();return n[42]=e[t],n[44]=t,n}function pg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&mg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=yg(hg(i,I,V));let T=Object.entries(i[0]),L=[];for(let V=0;V<T.length;V+=1)L[V]=Ig(fg(i,T,V));return{c(){e=k("div"),N&&N.c(),t=G(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=G(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
|
|
61
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=G(),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){R(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let F=0;F<D.length;F+=1)D[F].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,m);for(let F=0;F<L.length;F+=1)L[F].m(m,null);S=!0,y||(C=[le(h,"click",Dt(i[10])),le(c,"click",cy),le(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&U(N,1)):(N=mg(V),N.c(),U(N,1),N.m(e,t)):N&&(Ae(),q(N,1,1,()=>{N=null}),Re()),O[0]&53485){I=Object.entries(V[0]);let F;for(F=0;F<I.length;F+=1){const W=hg(V,I,F);D[F]?D[F].p(W,O):(D[F]=yg(W),D[F].c(),D[F].m(r,null))}for(;F<D.length;F+=1)D[F].d(1);D.length=I.length}if(O[0]&53485){T=Object.entries(V[0]);let F;for(F=0;F<T.length;F+=1){const W=fg(V,T,F);L[F]?L[F].p(W,O):(L[F]=Ig(W),L[F].c(),L[F].m(m,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(U(N),S=!0)},o(V){q(N),S=!1},d(V){V&&A(e),N&&N.d(),ft(D,V),ft(L,V),y=!1,Qe(C)}}}function mg(i){let e,t;return e=new ly({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function ry(i){let e,t,n,l,r,s=i[12](i[38])+"",o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[20](i[38])}let T=i[39],L=[];for(let V=0;V<T.length;V+=1)L[V]=wg(gg(i,T,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=Ce(s),c=G(),g=k("span"),_=G(),p=k("div"),m=k("nav"),v=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();y=G(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cr(i[38],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[38]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[41]+"-0"),f(e,"isselected",C=cr(i[38],i[2]))},m(V,O){R(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,m),w(m,v);for(let F=0;F<L.length;F+=1)L[F].m(v,null);w(e,y),N||(I=[le(l,"click",Dt(D)),le(e,"click",fy)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[38])+"")&&Pe(o,s),O[0]&5&&h!==(h=cr(i[38],i[2]))&&f(l,"aria-selected",h),O[0]&49221){T=i[39];let F;for(F=0;F<T.length;F+=1){const W=gg(i,T,F);L[F]?L[F].p(W,O):(L[F]=wg(W),L[F].c(),L[F].m(v,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}O[0]&9&&S!==(S=!i[3][i[38]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=cr(i[38],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ft(L,V),N=!1,Qe(I)}}}function sy(i){let e,t=i[39],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cg(_g(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&49221){t=l[39];let s;for(s=0;s<t.length;s+=1){const o=_g(l,t,s);n[s]?n[s].p(o,r):(n[s]=Cg(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function bg(i){let e,t=i[42].label&&vg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].label?t?t.p(n,l):(t=vg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function vg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h;function _(){return i[21](i[42])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=G(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[42])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class","fd-menu__item")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Dt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[42])+"")&&Pe(r,l),m[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),m[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function wg(i){let e,t=!i[42].hideFromNav&&bg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=bg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Sg(i){let e,t=i[42].label&&kg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].label?t?t.p(n,l):(t=kg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function kg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h,_,p;function m(){return i[19](i[42])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ce(l),c=G(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[42])),f(t,"role","tab"),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class",g="fd-tabs__item "+(i[42]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[41]+"-"+i[44]),f(e,"isselected",h=i[42]===i[2])},m(v,S){R(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=le(t,"click",Dt(m)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[42])+"")&&Pe(r,l),S[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),S[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[42]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[42]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function Cg(i){let e,t=!i[42].hideFromNav&&Sg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=Sg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function yg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[38]==="undefined"||s[38].indexOf(s[5])===0),e?sy:ry}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ay(i){let e,t,n,l,r=i[12](i[38])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[23](i[38],i[41])}function T(){return i[24](i[38],i[41])}let L=i[39],V=[];for(let O=0;O<L.length;O+=1)V[O]=Pg(cg(i,L,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=Ce(r),g=G(),h=k("button"),_=k("i"),v=G(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=G(),f(l,"class","fd-nested-list__title"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[41]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[38]+i[41]]),f(n,"aria-selected",c=cr(i[38],i[2])),f(_,"class",p=i[3][i[38]+i[41]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",m=i[3][i[38]+i[41]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[38]+i[41]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[41]+"-0")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let W=0;W<V.length;W+=1)V[W].m(S,null);w(e,C),N||(I=[le(n,"click",Dt(D)),le(h,"click",Dt(T))],N=!0)},p(O,F){if(i=O,F[0]&4097&&r!==(r=i[12](i[38])+"")&&Pe(s,r),F[0]&9&&o!==(o=i[3][i[38]+i[41]])&&f(n,"aria-expanded",o),F[0]&5&&c!==(c=cr(i[38],i[2]))&&f(n,"aria-selected",c),F[0]&9&&p!==(p=i[3][i[38]+i[41]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),F[0]&9&&m!==(m=i[3][i[38]+i[41]])&&f(h,"aria-expanded",m),F[0]&49221){L=i[39];let W;for(W=0;W<L.length;W+=1){const ae=cg(i,L,W);V[W]?V[W].p(ae,F):(V[W]=Pg(ae),V[W].c(),V[W].m(S,null))}for(;W<V.length;W+=1)V[W].d(1);V.length=L.length}F[0]&9&&y!==(y=!i[3][i[38]+i[41]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ft(V,O),N=!1,Qe(I)}}}function oy(i){let e,t=i[39],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ng(dg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&49221){t=l[39];let s;for(s=0;s<t.length;s+=1){const o=dg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ng(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Pg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h;function _(){return i[25](i[42])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=G(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[42])),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[41])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Dt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[42])+"")&&Pe(r,l),m[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),m[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Ng(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h;function _(){return i[22](i[42])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ce(l),c=G(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[42])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[41]+"-"+i[44])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Dt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[42])+"")&&Pe(r,l),m[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),m[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Ig(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[38]==="undefined"||s[38].indexOf(s[5])===0),e?oy:ay}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function uy(i){let e,t,n,l,r=i[0]&&i[1].length>1&&pg(i);return{c(){r&&r.c(),e=ke()},m(s,o){r&&r.m(s,o),R(s,e,o),t=!0,n||(l=[le(To,"click",i[8]),le(To,"blur",i[8]),le(To,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&U(r,1)):(r=pg(s),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){t||(U(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Qe(l)}}}function cr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const fy=i=>i.stopPropagation(),cy=i=>i.stopPropagation();function dy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ye.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=pt("getTranslation");_i(i,y,j=>t(12,n=j));let C;const N={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(fe=>{fe==="pathData"?t(1,r=j.pathData):fe==="context"?context=j.context:fe==="children"?t(0,l=j.children):fe==="selectedNode"?t(11,h=j.selectedNode):fe==="selectedNodeForTabNav"&&t(2,_=j.selectedNodeForTabNav)})}},I=Wt();function D(j){return ye.getNodeLabel(j)}const T=async()=>{const j=N.get(),fe=await Ut.getTabNavData({...j},j);!fe||(N.set({...fe}),o=r,window.LEFTNAVDATA=fe.groupedChildren,setTimeout(L))},L=()=>{V();let j=document.getElementsByClassName("luigi-tabsContainer")[0],fe=document.getElementsByClassName("luigi-tabsMoreButton")[0],ve=document.getElementsByClassName("luigi__more")[0],re,Ee=0,De=!1,pe,$e;ve&&ve.setAttribute("aria-selected","false"),j&&(re=j.offsetWidth,[...j.children].forEach(Rt=>{pe=Rt.currentStyle||window.getComputedStyle(Rt),$e=parseFloat(pe.marginLeft)+parseFloat(pe.marginRight),Ee+=Rt.offsetWidth+$e;let Mt=Rt.getAttribute("uid");Ee>=re?(Rt.classList.add("hide_element"),Rt.getAttribute("isSelected")==="true"&&ve.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Mt+'"]').classList.remove("hide_element"),De=!0):document.querySelector('li[uid="'+Mt+'"]').classList.add("hide_element")}),De?fe.classList.remove("hide_element"):fe.classList.add("hide_element"))},V=()=>{let j=document.getElementsByClassName("luigi-tabsContainer")[0];j!==void 0&&[...j.children].forEach(ve=>{ve.classList.remove("hide_element")})},O=()=>{C=new ResizeObserver(j=>{for(const fe of j)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",fe.contentRect.height+"px")}),setTimeout(()=>{C.observe(document.querySelector("#tabsContainer.lui-tabs"))})},F=()=>{C&&C.disconnect()};Yt(()=>{t(16,c=se.getConfigBooleanValue("settings.hideNavigation")),O()}),xr(()=>{F(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),On(()=>{(!o||o!=r)&&T(),(S===void 0||S!==v)&&(S=v,T())}),ma(()=>{F(),C?setTimeout(()=>{C.observe(document.querySelector("#tabsContainer.lui-tabs"))}):O()});function W(j){return me.getNodeHref(j,s)}function ae(j){Q(),I("handleClick",{node:j})}function Z(j){let fe={};p[j]||(fe[j]=!0),t(3,p=fe)}function Q(){t(3,p={}),t(4,m=!1)}function de(){V(),L()}function x(){t(4,m=!m)}const J=j=>ae(j),he=j=>Z(j),ne=j=>ae(j),X=j=>ae(j),Ne=(j,fe)=>Z(j+fe),ie=(j,fe)=>Z(j+fe),He=j=>ae(j),Se=j=>Z(j.name);return i.$$set=j=>{"children"in j&&t(0,l=j.children),"pathData"in j&&t(1,r=j.pathData),"pathParams"in j&&t(17,s=j.pathParams),"hideNavComponent"in j&&t(16,c=j.hideNavComponent),"virtualGroupPrefix"in j&&t(5,g=j.virtualGroupPrefix),"selectedNodeForTabNav"in j&&t(2,_=j.selectedNodeForTabNav),"dropDownStates"in j&&t(3,p=j.dropDownStates),"isMoreBtnExpanded"in j&&t(4,m=j.isMoreBtnExpanded),"resizeTabNavToggle"in j&&t(18,v=j.resizeTabNavToggle)},[l,r,_,p,m,g,ae,Z,Q,de,x,h,n,y,D,W,c,s,v,J,he,ne,X,Ne,ie,He,Se]}class hy extends At{constructor(e){super(),Lt(this,e,dy,uy,yt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function Tg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Lg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ag(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Rg(i),o=i[0]&&i[3].length>0&&Mg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=G(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){R(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Rg(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),c[0]&&c[3].length>0?o?o.p(c,g):(o=Mg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),s&&s.d(),o&&o.d()}}}function Rg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vg(Lg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Lg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Vg(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function Eg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Dg(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=G(),r=k("div"),o=Ce(s),c=G(),g=k("div"),p=G(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){R(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Dg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Pe(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Dg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?_y:gy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function gy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function _y(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Vg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Eg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Eg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Mg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ug(Tg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Tg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ug(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function Og(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Fg(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=G(),r=k("div"),o=Ce(s),c=G(),g=k("div"),p=G(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){R(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(n,"click",Dt(N)),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Fg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Pe(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Fg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?my:py}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function py(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function my(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ug(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Og(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Og(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function by(i){let e,t,n,l=i[2]&&Ag(i);return{c(){l&&l.c(),e=ke()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[le(window,"click",pa),le(window,"blur",pa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Ag(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){l&&l.d(r),r&&A(e),t=!1,Qe(n)}}}function pa(){}function vy(i,e,t){let n;const l=Wt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=pt("store"),_=pt("getTranslation");_i(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=se.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const W=await ye.generateTopNavNodes(r);t(0,c=W.children),t(1,g=W.selectedNode),s=r}};Yt(()=>{Fn.doOnStoreChange(h,()=>{t(14,m=se.getConfigBooleanValue("settings.hideNavigation")),t(15,v=se.getConfigValue("settings.responsiveNavigation")),t(2,p=se.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),On(()=>{(!s||s!=r)&&y(),t(6,S=se.getConfigBooleanValue("navigation.addNavHrefs"))});function C(W){return ye.renderIconClassName(W)}function N(W){return ye.isOpenUIiconName(W.icon)}function I(W){return dt.getTranslation(W.label)}function D(W){return W.testId?W.testId:ye.prepareForTests(W.pathSegment,W.label)}function T(W){return me.getNodeHref(W,o)}function L(W){l("handleClick",{node:W})}function V(W){L(W.detail.node)}const O=(W,ae)=>{ye.handleNavAnchorClickedWithoutMetaKey(ae)&&L(W)},F=W=>L(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,g=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,m=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,v=W.responsiveNavSetting)},[c,g,p,r,L,pa,S,n,_,C,N,I,D,T,m,v,o,V,O,F]}class wy extends At{constructor(e){super(),Lt(this,e,vy,by,yt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return pa}}function Sy(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){R(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&A(e),i[6](null)}}}function ky(i,e,t){const n=Wt();let{pathData:l}=e,r,s={},o,c=pt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;se.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};Yt(()=>{Fn.doOnStoreChange(c,()=>{},["navigation"])}),On(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=se.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(se.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=tt.getCurrentPath();for(let T=I;T<l.length;T++){const L=l[T],V=me.mapPathToNode(D,L);if(s[V])N.push(s[V]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)N.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?dt.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:V,pending:!0});else{const O=await v(L);O&&N.push({label:O,node:L,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,m),N=[];for(let T=I;T<l.length;T++){const L=l[T],V=me.mapPathToNode(D,L);if(L.titleResolver){const F=await Ut.extractDataFromPath(V),W=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,L.context),F.pathData.pathParams);try{const ae=await ye.fetchNodeTitleData(L,W);N.push({label:ae.label,node:L,route:V});continue}catch{}}const O=await v(L);O&&N.push({label:O,node:L,route:V})}D===tt.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(T=>{s[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function v(C){if(C.label&&!C._virtualTree)return dt.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=me.mapPathToNode(tt.getCurrentPath(),C),I=await Ut.extractDataFromPath(N);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){Xe[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class Cy extends At{constructor(e){super(),Lt(this,e,ky,Sy,yt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Eo="not_checked";Pn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Eo="disabled"):i.data==="luigi.tpcEnabled"&&(Eo="enabled")},!1);function yy(){return Eo}const{Boolean:Py,window:Ny}=Mi;function Bg(i,e,t){const n=i.slice();return n[144]=e[t],n[146]=t,n}function Hg(i){let e,t;return e=new A2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Wg(i){let e,t;function n(){return i[68](i[146])}function l(...s){return i[69](i[146],...s)}function r(...s){return i[70](i[146],...s)}return e=new L_({props:{settings:i[144].mfModal.settings,nodepath:i[144].mfModal.nodepath,modalIndex:i[146],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[144].mfModal.settings),o[0]&268435456&&(c.nodepath=i[144].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){Ge(e,s)}}}function zg(i){let e,t,n=i[144].mfModal.displayed&&Wg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[144].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&U(n,1)):(n=Wg(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Gg(i){let e,t;return e=new L_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Iy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[4]&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Iy(i){let e,t;return e=new ts({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function qg(i){let e,t;return e=new M2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Kg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new $2({props:r}),Xe.push(()=>_t(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],gt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function Jg(i){let e,t;return e=new lS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Ty(i){let e,t,n,l,r,s,o,c,g;t=new ts({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Jg(i);return{c(){e=k("div"),qe(t.$$.fragment),n=G(),l=k("div"),r=G(),h&&h.c(),s=ke(),f(l,"class","wcContainer svelte-1262ssy"),f(e,"class","fd-page iframeContainer svelte-1262ssy"),f(e,"tabindex","0"),ci(e,"lui-split-view",i[12].displayed),ci(e,"lui-collapsed",i[12].collapsed)},m(_,p){R(_,e,p),ze(t,e,null),w(e,n),w(e,l),R(_,r,p),h&&h.m(_,p),R(_,s,p),o=!0,c||(g=ww(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&ci(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&ci(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=Jg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(Ae(),q(h,1,1,()=>{h=null}),Re())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&A(e),Ge(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function jg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1262ssy" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1262ssy"></div>
|
|
59
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function fh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=ch(lh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=lh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ch(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Ck(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function yk(i){let e,t,n,l,r;function s(h,_){return h[2]?Nk:Pk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=G(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){R(h,e,_),c.m(e,null),R(h,n,_),l||(r=le(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&A(e),c.d(),h&&A(n),l=!1,r()}}}function Pk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=ye(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(h,_){R(h,e,_),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ne(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&A(e),c=!1,g()}}}function Nk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Ik(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function ch(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ik,then:yk,catch:Ck,value:26};return ua(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ua(t,n)||p_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function dh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=gh(ih(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=gh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function hh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),o=G(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",i[18]),le(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function gh(i){let e,t=i[21].position==="bottom"&&hh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=hh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Tk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&sh(i),c=i[3]&&i[3].length===0&&i[11]&&uh(),g=i[3]&&i[3].length&&fh(i),h=i[0]&&i[0].length&&dh(i);return{c(){e=k("nav"),o&&o.c(),t=G(),n=k("ul"),c&&c.c(),l=G(),g&&g.c(),r=G(),h&&h.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){R(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=sh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=uh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=fh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=dh(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Lk=()=>{};function Ak(i,e,t){let n,l=Fe,r=()=>(l(),l=Vo(y,W=>t(14,n=W)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:m}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Ht();function I(W){N("onActionClick",{node:W})}function D(W,oe){N("goToOption",{option:W,selectedOption:oe})}const T=W=>I(W),L=W=>{Ce.handleNavAnchorClickedWithoutMetaKey(W)},V=W=>D(W,_),O=W=>{Ce.handleNavAnchorClickedWithoutMetaKey(W)},F=W=>I(W);return i.$$set=W=>{"actions"in W&&t(0,s=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,g=W.options),"selectedLabel"in W&&t(4,h=W.selectedLabel),"selectedOption"in W&&t(5,_=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,m=W.getNodeName),"getRouteLink"in W&&t(8,v=W.getRouteLink),"getTestId"in W&&t(9,S=W.getTestId),"getTranslation"in W&&r(t(10,y=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,C=W.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,I,D,n,T,L,V,O,F]}class M_ extends Et{constructor(e){super(),Rt(this,e,Ak,Tk,Pt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function _h(i){let e,t,n,l=!i[9]&&ph(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&mh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[9]?l&&(Ae(),q(l,1,1,()=>{l=null}),Re()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=ph(s),l.c(),U(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&U(r,1)):(r=mh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Ek:Rk}let p=_(i),m=p(i);return s=new M_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),m.c(),l=G(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){R(v,e,S),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),ze(s,r,null),c=!0,g||(h=le(n,"click",Ut(zk)),g=!0)},p(v,S){p===(p=_(v))&&m?m.p(v,S):(m.d(1),m=p(v),m&&(m.c(),m.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(U(s.$$.fragment,v),c=!0)},o(v){q(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),Ge(s),g=!1,h()}}}function Rk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Vk:Dk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){R(h,e,_),g.m(e,null),r||(s=le(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Ek(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Uk:Fk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){R(h,e,_),g.m(e,null),r||(s=le(e,"click",Vt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Dk(i){let e,t;function n(s,o){return s[4]?Mk:Ok}let l=n(i),r=l(i);return{c(){r.c(),e=G(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),R(s,e,o),R(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&A(e),s&&A(t)}}}function Vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Mk(i){let e;return{c(){e=ye(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Ok(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function Fk(i){let e,t;function n(s,o){return s[4]?Bk:Hk}let l=n(i),r=l(i);return{c(){r.c(),e=G(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),R(s,e,o),R(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&A(e),s&&A(t)}}}function Uk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Bk(i){let e;return{c(){e=ye(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Hk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function mh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I=!i[4]&&bh(i),D=i[4]&&vh(i);return h=new M_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=G(),D&&D.c(),c=G(),g=k("div"),qe(h.$$.fragment),_=G(),p=k("footer"),m=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(T,L){R(T,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),ze(h,g,null),w(t,_),w(t,p),w(p,m),w(m,v),w(v,S),y=!0,C||(N=[le(S,"click",i[12]),le(e,"click",Ut(Gk))],C=!0)},p(T,L){T[4]?I&&(I.d(1),I=null):I?I.p(T,L):(I=bh(T),I.c(),I.m(s,o)),T[4]?D?D.p(T,L):(D=vh(T),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};L[0]&1&&(V.actions=T[0]),L[0]&32&&(V.config=T[5]),L[0]&64&&(V.customOptionsRenderer=T[6]),L[0]&2&&(V.options=T[1]),L[0]&16&&(V.selectedLabel=T[4]),L[0]&4&&(V.selectedOption=T[2]),L[0]&512&&(V.isMobile=T[9]),L[0]&16384&&(V.isContextSwitcherDropdownShown=T[14]),h.$set(V)},i(T){y||(U(h.$$.fragment,T),y=!0)},o(T){q(h.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),D&&D.d(),Ge(h),C=!1,Qe(N)}}}function bh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function vh(i){let e;return{c(){e=ye(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Wk(i){let e,t,n=i[3]&&_h(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&U(n,1)):(n=_h(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const zk=()=>{},Gk=()=>{};function qk(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:m}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,T,L=ct("getUnsavedChangesModalPromise"),V=ct("store"),O=ct("getTranslation");_i(i,O,ce=>t(16,l=ce));let F=!1,W,oe,fe;jt(async()=>{un.doOnStoreChange(V,async()=>{const ce=se.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=te.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=te.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await se.getConfigValueAsync("navigation.contextSwitcher.actions"));const X=tt.getCurrentPath();t(22,v=ce.fallbackLabelResolver),dn.resetFallbackLabelCache(),ce.lazyloadOptions||await J(),dn.isContextSwitcherDetailsView(X,ce.parentNodePath)&&await he(X)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>he(ce)),Nn.addEventListener("message",ce=>{!Ie.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),J())}),t(23,D=g.defaultLabel)}),Fn(()=>{F!==I&&(F=I,J()),t(14,fe=o.contextSwitcherPopover||!1)});function $(ce,X,ge){return ce?Promise.resolve(ce):dn.getFallbackLabel(X,ge)}function x(ce){return ce.testId?ce.testId:Ce.prepareForTests(ce.pathSegment,ce.label)}function Q(ce){return me.getNodeHref(ce,S)}async function J(){t(1,_=await dn.fetchOptions(_));const ce=g||{},X=ce.parentNodePath,ge=ce.fallbackLabelResolver,re=tt.getCurrentPath();t(2,m=await dn.getSelectedOption(re,_,X)),t(4,c=await dn.getSelectedLabel(re,_,X,ge)),t(13,W=await dn.getSelectedNode(re,_,X)),T=ce.preserveSubPathOnSwitch}async function he(ce){const X=g||{},ge=X.parentNodePath,re=X.fallbackLabelResolver;t(2,m=await dn.getSelectedOption(ce,_,ge)),t(4,c=await dn.getSelectedLabel(ce,_,ge,re)),t(13,W=await dn.getSelectedNode(ce,_,ge))}async function ne(ce){let X=ce.detail.node;X.clickHandler&&!await X.clickHandler(X)||(setTimeout(()=>{Y(X.link)}),N&&r("toggleDropdownState"))}function Y(ce){L().then(()=>{tt.navigateTo(ce)},()=>{})}function Pe(ce){let X=ce.detail.option,ge=ce.detail.selectedOption;L().then(()=>{T&&ge?tt.navigateTo(dn.getNodePathFromCurrentPath(X,ge)):tt.navigateTo(X.link),N&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&J()}const He=()=>{n&&ie()},Se=()=>{n&&ie()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,m=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,D=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!m)},[h,_,m,s,c,g,y,C,o,N,ne,Pe,ie,W,fe,n,l,O,oe,$,x,Q,v,D,S,I,J,he,Y,p,He,Se]}class O_ extends Et{constructor(e){super(),Rt(this,e,qk,Wk,Pt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Kk}=Mi;function wh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Sh(i){let e,t,n,l=!i[2]&&kh(i),r=i[2]&&i[3].productSwitcherPopover&&Ih(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=kh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Ih(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function kh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?jk:Jk}let I=N(i,-1),D=I(i),T=i[0],L=[];for(let V=0;V<T.length;V+=1)L[V]=Nh(wh(i,T,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=G(),_=k("div"),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(m,"class","fd-product-switch__list"),f(p,"class",v=jn(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){R(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,m);for(let F=0;F<L.length;F+=1)L[F].m(m,null);y||(C=[le(r,"click",Ut(i[7])),le(l,"click",Ut(tC))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){T=V[0];let F;for(F=0;F<T.length;F+=1){const W=wh(V,T,F);L[F]?L[F].p(W,O):(L[F]=Nh(W),L[F].c(),L[F].m(m,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}O&512&&v!==(v=jn(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ft(L,V),y=!1,Qe(C)}}}function Jk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function jk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){R(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Ch(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Qk:Yk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=G(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){R(_,e,p),g.m(e,null),w(e,t),r||(s=le(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&A(e),g.d(),r=!1,s()}}}function Yk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Xk:Zk}let _=h(i,-1),p=_(i),m=g&&yh(i);return{c(){e=k("div"),p.c(),n=G(),l=k("div"),r=k("div"),o=ye(s),c=G(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){R(v,e,S),p.m(e,null),R(v,n,S),R(v,l,S),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Ne(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=yh(v),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),m&&m.d()}}}function Qk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?xk:$k}let S=v(i,-1),y=S(i),C=h&&Ph(i);return{c(){e=k("a"),t=k("div"),y.c(),l=G(),r=k("div"),s=k("div"),c=ye(o),g=G(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){R(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(m=le(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ne(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=Ph(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function Zk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Xk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function yh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function $k(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function xk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ph(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Nh(i){let e,t=i[22].label&&Ch(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Ch(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Ih(i){let e,t;return e=new D_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function eC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&Sh(i);return{c(){s&&s.c(),t=ke()},m(o,c){s&&s.m(o,c),R(o,t,c),n=!0,l||(r=le(Kk,"resize",_a),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&U(s,1)):(s=Sh(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(Ae(),q(s,1,1,()=>{s=null}),Re())},i(o){n||(U(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function _a(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const tC=()=>{};function nC(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=ct("store"),g=ct("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;jt(async()=>{un.doOnStoreChange(c,async()=>{t(1,s=Ce.getProductSwitcherConfig()),s&&(t(0,l=await se.getConfigValueAsync("navigation.productSwitcher.items")),I()),_a()},["navigation.productSwitcher"])});function p(O){g().then(()=>{tt.navigateToLink(O)},()=>{}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return Ce.renderIconClassName(O)}function y(O){return Ce.isOpenUIiconName(O.icon)}function C(O){return ht.getTranslation(O.label)}function N(O){return ht.getTranslation(O.subTitle)}function I(){Ce.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(O){return O.testId?O.testId:Ce.prepareForTests(O.label)}function T(O){return me.getNodeHref(O)}const L=O=>{Ce.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,m,v,_a,h,S,y,C,N,D,T,L,V]}class F_ extends Et{constructor(e){super(),Rt(this,e,nC,eC,Pt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return _a}}function Th(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function iC(i){let e,t,n;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){R(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&A(e),i[19](null),t=!1,n()}}}function lC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){R(t,e,n),e.focus()},p:Fe,d(t){t&&A(e)}}}function rC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[23](e)},p:Fe,d(t){t&&A(e),i[23](null)}}}function sC(i){let e,t,n,l=i[5]&&Lh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Lh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function Lh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ah(Th(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Th(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ah(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l),i[22](null)}}}function aC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function oC(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=ye(l),s=G(),o=k("div"),g=ye(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Vt(fC)),h=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Ne(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Ah(i){let e,t,n,l;function r(h,_){return h[9]?aC:oC}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=G(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){R(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Qe(l)}}}function uC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(L,V){return L[7]&&L[7].disableInputHandlers?lC:iC}let C=y(i),N=C(i);function I(L,V){return L[8]?rC:sC}let D=I(i),T=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=G(),T.c(),c=G(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",m=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(L,V){R(L,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),T.m(n,null),R(L,c,V),R(L,g,V),w(g,h),w(h,_),w(_,p),v||(S=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Ut(cC)),le(_,"click",i[6]),le(h,"click",Ut(dC))],v=!0)},p(L,V){C===(C=y(L))&&N?N.p(L,V):(N.d(1),N=C(L),N&&(N.c(),N.m(l,null))),D===(D=I(L))&&T?T.p(L,V):(T.d(1),T=D(L),T&&(T.c(),T.m(n,null))),V[0]&16&&s!==(s=!L[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&m!==(m=!L[4])&&f(_,"aria-expanded",m)},i:Fe,o:Fe,d(L){L&&A(e),N.d(),T.d(),L&&A(c),L&&A(g),v=!1,Qe(S)}}}const fC=()=>{},cC=()=>{},dC=()=>{};function hC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ne=>{m.searchProvider.onSearchResultItemSelected(ne)}};let m={},v,S;jt(async()=>{t(7,m=h);let ne=o;const Y=C(m.searchProvider);Y&&(ne.placeholder=Y),y()}),Fn(()=>{t(7,m=h),y()});function y(){!m.searchProvider||(t(8,v=te.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,S=te.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function C(ne){if(!ne||!ne.inputPlaceholder)return;const Y=ht.getCurrentLocale();if(te.isFunction(ne.inputPlaceholder))return ne.inputPlaceholder();if(typeof ne.inputPlaceholder=="string"){const Pe=ht.getTranslation(ne.inputPlaceholder);return!!Pe&&Pe.trim().length>0?Pe:ne.inputPlaceholder}if(typeof ne.inputPlaceholder=="object")return ne.inputPlaceholder[Y]}function N(ne,Y,Pe){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ne,Y.children[Pe],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:ne}){m&&m.searchProvider?te.isFunction(m.searchProvider.onEnter)&&ne===gi?m.searchProvider.onEnter():te.isFunction(m.searchProvider.onEscape)&&ne===hi?m.searchProvider.onEscape():ne===Di?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(ne){let Y=g.children;if(Y)for(let Pe=0;Pe<Y.length;Pe++){let{childNodes:ie,nextSibling:He,previousSibling:Se}=Y[Pe],ce;if(ie[0].getAttribute("aria-selected")==="true"){ne===Di&&(ce=He!==null?He:Y[0]),ne===Vl&&(ce=Se!==null?Se:Y[Y.length-1]),ie[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function L(){let ne=g.children;if(ne)for(let Y=0;Y<ne.length;Y++){let Pe=ne[Y];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function V(ne){m&&te.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ne):te.isFunction(m.searchProvider.onEscape)&&event.keyCode===hi&&m.searchProvider.onEscape()}function O(ne,{keyCode:Y}){Y===gi&&m.searchProvider.onSearchResultItemSelected(ne),Y===Vl||Y===Di?T(Y):te.isFunction(m.searchProvider.onEscape)&&Y===hi&&(L(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function F(ne){let Y=ne.pathObject;Y.externalLink?tt.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function W(){o&&o.focus()}function oe(){if(n?t(0,r=!1):setTimeout(()=>{W()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&te.isFunction(m.searchProvider.toggleSearch)){const ne=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,ne)}}const fe=ne=>D(ne);function $(ne){$e[ne?"unshift":"push"](()=>{o=ne,t(1,o)})}const x=(ne,Y)=>V(ne),Q=(ne,Y)=>O(ne,Y);function J(ne){$e[ne?"unshift":"push"](()=>{g=ne,t(3,g)})}function he(ne){$e[ne?"unshift":"push"](()=>{c=ne,t(2,c)})}return i.$$set=ne=>{"isSearchFieldVisible"in ne&&t(4,n=ne.isSearchFieldVisible),"searchResult"in ne&&t(5,l=ne.searchResult),"displaySearchResult"in ne&&t(0,r=ne.displaySearchResult),"displayCustomSearchResult"in ne&&t(15,s=ne.displayCustomSearchResult),"inputElem"in ne&&t(1,o=ne.inputElem),"luigiCustomSearchRenderer__slot"in ne&&t(2,c=ne.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ne&&t(3,g=ne.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ne&&t(16,h=ne.globalSearchConfig)},[r,o,c,g,n,l,oe,m,v,S,N,I,D,V,O,s,h,F,fe,$,x,Q,J,he]}class gC extends Et{constructor(e){super(),Rt(this,e,hC,uC,Pt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Rh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function _C(i){let e,t,n,l,r,s,o,c=i[11]&&Eh(i);return{c(){e=k("input"),t=G(),n=k("span"),c&&c.c(),l=G(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){R(g,e,h),i[26](e),R(g,t,h),R(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Eh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&A(e),i[26](null),g&&A(t),g&&A(n),c&&c.d(),s=!1,Qe(o)}}}function pC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){R(t,e,n)},p:Fe,d(t){t&&A(e)}}}function Eh(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){R(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function mC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[31](e)},p:Fe,d(t){t&&A(e),i[31](null)}}}function bC(i){let e,t,n,l=i[4]&&Dh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Dh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function Dh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Rh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Rh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Vh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l),i[30](null)}}}function vC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function wC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=ye(l),s=G(),o=k("div"),g=ye(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Vt(kC)),h=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Ne(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Vh(i){let e,t,n,l;function r(h,_){return h[10]?vC:wC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=G(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){R(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Qe(l)}}}function Mh(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[le(n,"click",i[6]),le(t,"click",Ut(yC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Qe(o)}}}function Oh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=k("div"),t=k("button"),l=ye(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){R(g,e,h),w(e,t),w(t,l),o||(c=le(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ne(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function SC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(T,L){return T[8]&&T[8].disableInputHandlers?pC:_C}let v=m(i),S=v(i);function y(T,L){return T[9]?mC:bC}let C=y(i),N=C(i),I=!i[5]&&Mh(i),D=i[5]&&Oh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=G(),N.c(),c=G(),I&&I.c(),g=G(),D&&D.c(),h=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(T,L){R(T,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),R(T,c,L),I&&I.m(T,L),R(T,g,L),D&&D.m(T,L),R(T,h,L),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Ut(CC))],_=!0)},p(T,L){v===(v=m(T))&&S?S.p(T,L):(S.d(1),S=v(T),S&&(S.c(),S.m(l,null))),C===(C=y(T))&&N?N.p(T,L):(N.d(1),N=C(T),N&&(N.c(),N.m(n,null))),L[0]&32&&s!==(s=!T[5])&&f(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(T[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),T[5]?I&&(I.d(1),I=null):I?I.p(T,L):(I=Mh(T),I.c(),I.m(g.parentNode,g)),T[5]?D?D.p(T,L):(D=Oh(T),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(T){T&&A(e),S.d(),N.d(),T&&A(c),I&&I.d(T),T&&A(g),D&&D.d(T),T&&A(h),_=!1,Qe(p)}}}const kC=()=>{},CC=()=>{},yC=()=>{};function PC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:re=>{S.searchProvider.onSearchResultItemSelected(re)}};let m=al.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=ct("getTranslation");_i(i,I,re=>t(12,n=re)),jt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let re=o;const Ee=T(S.searchProvider);Ee&&(re.placeholder=Ee),D(),Jf.handleVisibilityGlobalSearch();const De=document.querySelector(".lui-global-search");De&&new ResizeObserver(Ze=>{Jf.handleVisibilityGlobalSearch()}).observe(De)}),Fn(()=>{t(8,S=h),D(),W()});function D(){t(9,y=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultItemRenderer))}function T(re){if(!re||!re.inputPlaceholder)return;const Ee=ht.getCurrentLocale();if(te.isFunction(re.inputPlaceholder))return re.inputPlaceholder();if(typeof re.inputPlaceholder=="string"){const De=ht.getTranslation(re.inputPlaceholder);return!!De&&De.trim().length>0?De:re.inputPlaceholder}if(typeof re.inputPlaceholder=="object")return re.inputPlaceholder[Ee]}function L(re,Ee,De){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(re,Ee.children[De],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:re}){S?te.isFunction(S.searchProvider.onEnter)&&re===gi?S.searchProvider.onEnter():te.isFunction(S.searchProvider.onEscape)&&re===hi?S.searchProvider.onEscape():re===Di?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&te.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function W(){o&&o.value?t(11,N=!0):t(11,N=!1)}function oe(){t(1,o.value="",o),V(),t(11,N=!1)}function fe(re){let Ee=g.children;if(Ee)for(let De=0;De<Ee.length;De++){let{childNodes:be,nextSibling:Ze,previousSibling:Nt}=Ee[De],Yt;if(be[0].getAttribute("aria-selected")==="true"){re===Di&&(Yt=Ze!==null?Ze:Ee[0]),re===Vl&&(Yt=Nt!==null?Nt:Ee[Ee.length-1]),be[0].setAttribute("aria-selected","false"),Yt.childNodes[0].setAttribute("aria-selected","true"),Yt.focus();break}}}function $(){let re=g.children;if(re)for(let Ee=0;Ee<re.length;Ee++){let De=re[Ee];De.childNodes[0].getAttribute("aria-selected")==="true"&&De.childNodes[0].setAttribute("aria-selected","false")}}function x(re){S&&te.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(re):te.isFunction(S.searchProvider.onEscape)&&event.keyCode===hi&&S.searchProvider.onEscape()}function Q(re,{keyCode:Ee}){Ee===gi&&S.searchProvider.onSearchResultItemSelected(re),Ee===Vl||Ee===Di?fe(Ee):te.isFunction(S.searchProvider.onEscape)&&Ee===hi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function J(re){let Ee=re.pathObject;Ee.externalLink?tt.navigateToLink(Ee):_("handleSearchNavigation",{node:Ee})}function he(){o&&o.focus()}function ne(){if(v?t(0,r=!1):setTimeout(()=>{he()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),te.isFunction(S.searchProvider.toggleSearch)){const re=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,re)}}const Y=re=>O(re);function Pe(re){$e[re?"unshift":"push"](()=>{o=re,t(1,o)})}const ie=()=>W(),He=(re,Ee)=>x(re),Se=(re,Ee)=>Q(re,Ee);function ce(re){$e[re?"unshift":"push"](()=>{g=re,t(3,g)})}function X(re){$e[re?"unshift":"push"](()=>{c=re,t(2,c)})}const ge=()=>ne();return i.$$set=re=>{"searchResult"in re&&t(4,l=re.searchResult),"displaySearchResult"in re&&t(0,r=re.displaySearchResult),"displayCustomSearchResult"in re&&t(22,s=re.displayCustomSearchResult),"inputElem"in re&&t(1,o=re.inputElem),"luigiCustomSearchRenderer__slot"in re&&t(2,c=re.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in re&&t(3,g=re.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in re&&t(23,h=re.globalSearchConfig),"isSearchFieldVisible"in re&&t(5,v=re.isSearchFieldVisible)},[r,o,c,g,l,v,ne,m,S,y,C,N,n,I,L,V,O,F,W,oe,x,Q,s,h,J,Y,Pe,ie,He,Se,ce,X,ge]}class NC extends Et{constructor(e){super(),Rt(this,e,PC,SC,Pt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Fh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?TC:IC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function IC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function TC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Uh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new ns({props:{node:i[0]}}),{c(){e=k("span"),n=ye(t),l=G(),qe(r.$$.fragment)},m(o,c){R(o,e,c),w(e,n),w(e,l),ze(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ne(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(U(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&A(e),Ge(r)}}}function LC(i){let e,t,n,l=i[0].icon&&Fh(i),r=(!i[0].icon||i[0].showLabel)&&Uh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Fh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&U(r,1)):(r=Uh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function AC(i,e,t){let{node:n}=e;function l(o){return Ce.isOpenUIiconName(o.icon)}function r(o){return Ce.renderIconClassName(o)}function s(o){return Ce.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Uo extends Et{constructor(e){super(),Rt(this,e,AC,LC,Pt,{node:0})}}const{Boolean:U_,window:Bh}=Mi;function Hh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Wh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function RC(i){let e,t;return e=new E_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function EC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&zh(i);function S(L){i[59](L)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new QS({props:y}),$e.push(()=>pt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Gh(i),N=(!i[0]||i[1])&&qh(i),I=(i[18]||i[7]&&i[30].length>0)&&Jh(i),D=(i[0]||i[16])&&ag(i),T=i[12]&&og(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=G(),qe(l.$$.fragment),s=G(),C&&C.c(),o=G(),c=k("div"),N&&N.c(),g=G(),I&&I.c(),h=G(),D&&D.c(),_=G(),T&&T.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(L,V){R(L,e,V),w(e,t),v&&v.m(t,null),w(t,n),ze(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),T&&T.m(c,null),m=!0},p(L,V){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,V):(v=zh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=L[30]),V[1]&1&&(O.pathParams=L[31]),V[0]&268435456&&(O.addNavHrefForAnchor=L[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=L[6],_t(()=>r=!1)),l.$set(O),L[18]&&L[19]?C?(C.p(L,V),V[0]&786432&&U(C,1)):(C=Gh(L),C.c(),U(C,1),C.m(e,o)):C&&(Ae(),q(C,1,1,()=>{C=null}),Re()),!L[0]||L[1]?N?(N.p(L,V),V[0]&3&&U(N,1)):(N=qh(L),N.c(),U(N,1),N.m(c,g)):N&&(Ae(),q(N,1,1,()=>{N=null}),Re()),L[18]||L[7]&&L[30].length>0?I?(I.p(L,V),V[0]&1074004096&&U(I,1)):(I=Jh(L),I.c(),U(I,1),I.m(c,h)):I&&(Ae(),q(I,1,1,()=>{I=null}),Re()),L[0]||L[16]?D?(D.p(L,V),V[0]&65537&&U(D,1)):(D=ag(L),D.c(),U(D,1),D.m(c,_)):D&&(Ae(),q(D,1,1,()=>{D=null}),Re()),L[12]?T?(T.p(L,V),V[0]&4096&&U(T,1)):(T=og(L),T.c(),U(T,1),T.m(c,null)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),(!m||V[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(L){m||(U(l.$$.fragment,L),U(C),U(N),U(I),U(D),U(T),m=!0)},o(L){q(l.$$.fragment,L),q(C),q(N),q(I),q(D),q(T),m=!1},d(L){L&&A(e),v&&v.d(),Ge(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),T&&T.d()}}}function zh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){R(r,e,s),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function Gh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function m(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new NC({props:y}),$e.push(()=>pt(t,"isSearchFieldVisible",h)),$e.push(()=>pt(t,"searchResult",_)),$e.push(()=>pt(t,"displaySearchResult",p)),$e.push(()=>pt(t,"displayCustomSearchResult",m)),$e.push(()=>pt(t,"inputElem",v)),$e.push(()=>pt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){R(C,e,N),ze(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],_t(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],_t(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],_t(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],_t(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],_t(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],_t(()=>c=!1)),t.$set(I)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&A(e),Ge(t)}}}function qh(i){let e,t,n,l,r=i[18]&&!i[19]&&Kh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new O_({props:o}),$e.push(()=>pt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=G(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),R(c,e,g),ze(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&U(r,1)):(r=Kh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],_t(()=>n=!1)),t.$set(h)},i(c){l||(U(r),U(t.$$.fragment,c),l=!0)},o(c){q(r),q(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),Ge(t,c)}}}function Kh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function m(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new gC({props:S}),$e.push(()=>pt(e,"isSearchFieldVisible",g)),$e.push(()=>pt(e,"searchResult",h)),$e.push(()=>pt(e,"displaySearchResult",_)),$e.push(()=>pt(e,"displayCustomSearchResult",p)),$e.push(()=>pt(e,"inputElem",m)),$e.push(()=>pt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],_t(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],_t(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],_t(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],_t(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],_t(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],_t(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Jh(i){let e,t,n,l=i[7]&&i[30].length>0&&jh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Zh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&U(l,1)):(l=jh(s),l.c(),U(l,1),l.m(e.parentNode,e)):l&&(Ae(),q(l,1,1,()=>{l=null}),Re()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&U(r,1)):(r=Zh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function jh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Qh(Wh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Wh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Qh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(U_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function Yh(i){let e,t,n,l;const r=[VC,DC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ae(),q(s[h],1,1,()=>{s[h]=null}),Re(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function DC(i){let e,t,n,l,r;const s=[OC,MC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=G(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){R(g,e,h),o[t].m(e,null),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Ae(),q(o[_],1,1,()=>{o[_]=null}),Re(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(e,l))},i(g){r||(U(n),r=!0)},o(g){q(n),r=!1},d(g){g&&A(e),o[t].d()}}}function VC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function T(O){i[80](O,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Uo({props:L}),$e.push(()=>pt(r,"node",T)),c=new Yn({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new V_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=G(),qe(c.$$.fragment),m=G(),v=k("div"),qe(S.$$.fragment),C=G(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,l),ze(r,l,null),w(l,o),ze(c,l,null),w(t,m),w(t,v),ze(S,v,null),w(e,C),N=!0,I||(D=[le(l,"click",V),le(n,"click",Ut(ZC))],I=!0)},p(O,F){i=O;const W={};!s&&F[0]&128&&(s=!0,W.node=i[111],_t(()=>s=!1)),r.$set(W);const oe={};F[0]&128&&(oe.node=i[111]),c.$set(oe),(!N||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const fe={};F[0]&128&&(fe.node=i[111]),F[1]&1&&(fe.pathParams=i[31]),F[0]&268435456&&(fe.addNavHrefForAnchor=i[28]),S.$set(fe),(!N||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),N=!0)},o(O){q(r.$$.fragment,O),q(c.$$.fragment,O),q(S.$$.fragment,O),N=!1},d(O){O&&A(e),Ge(r),Ge(c),Ge(S),I=!1,Qe(D)}}}function MC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Uo({props:m}),$e.push(()=>pt(t,"node",p)),r=new Yn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=G(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){R(S,e,y),ze(t,e,null),w(e,l),ze(r,e,null),g=!0,h||(_=le(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],_t(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(U(t.$$.fragment,S),U(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&A(e),Ge(t),Ge(r),h=!1,_()}}}function OC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Uo({props:v}),$e.push(()=>pt(t,"node",m)),r=new Yn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=G(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){R(y,e,C),ze(t,e,null),w(e,l),ze(r,e,null),h=!0,_||(p=le(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],_t(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(U(t.$$.fragment,y),U(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&A(e),Ge(t),Ge(r),_=!1,p()}}}function Qh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Yh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=Yh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Zh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D,T,L,V,O;g=new Yn({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Xh(i),W=i[46]&&(!i[0]||i[1])&&$h(i),oe=i[7]&&xh(i),fe=i[12]&&ig(i),$=i[12]&&lg(i),x=i[14]&&rg(i),Q=(!i[0]||i[1])&&sg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=G(),qe(g.$$.fragment),_=G(),p=k("div"),m=k("nav"),v=k("ul"),F&&F.c(),S=G(),W&&W.c(),y=G(),oe&&oe.c(),C=G(),fe&&fe.c(),I=G(),$&&$.c(),D=G(),x&&x.c(),T=G(),Q&&Q.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,he){R(J,e,he),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),ze(g,s,null),w(n,_),w(n,p),w(p,m),w(m,v),F&&F.m(v,null),w(v,S),W&&W.m(v,null),w(v,y),oe&&oe.m(v,null),w(v,C),fe&&fe.m(v,null),w(n,I),$&&$.m(n,null),w(n,D),x&&x.m(n,null),w(n,T),Q&&Q.m(n,null),L=!0,V||(O=[le(s,"click",i[86]),le(l,"click",Ut(XC))],V=!0)},p(J,he){const ne={};he[0]&2048&&(ne.node=J[11]),g.$set(ne),(!L||he[0]&64&&h!==(h=J[6].overflowPopover||!1))&&f(s,"aria-expanded",h),J[18]&&!J[19]?F?F.p(J,he):(F=Xh(J),F.c(),F.m(v,S)):F&&(F.d(1),F=null),J[46]&&(!J[0]||J[1])?W?W.p(J,he):(W=$h(J),W.c(),W.m(v,y)):W&&(W.d(1),W=null),J[7]?oe?(oe.p(J,he),he[0]&128&&U(oe,1)):(oe=xh(J),oe.c(),U(oe,1),oe.m(v,C)):oe&&(Ae(),q(oe,1,1,()=>{oe=null}),Re()),J[12]?fe?fe.p(J,he):(fe=ig(J),fe.c(),fe.m(v,null)):fe&&(fe.d(1),fe=null),(!L||he[0]&64&&N!==(N=!J[6].overflowPopover))&&f(p,"aria-hidden",N),J[12]?$?($.p(J,he),he[0]&4096&&U($,1)):($=lg(J),$.c(),U($,1),$.m(n,D)):$&&(Ae(),q($,1,1,()=>{$=null}),Re()),J[14]?x?(x.p(J,he),he[0]&16384&&U(x,1)):(x=rg(J),x.c(),U(x,1),x.m(n,T)):x&&(Ae(),q(x,1,1,()=>{x=null}),Re()),!J[0]||J[1]?Q?(Q.p(J,he),he[0]&3&&U(Q,1)):(Q=sg(J),Q.c(),U(Q,1),Q.m(n,null)):Q&&(Ae(),q(Q,1,1,()=>{Q=null}),Re())},i(J){L||(U(g.$$.fragment,J),U(oe),U($),U(x),U(Q),L=!0)},o(J){q(g.$$.fragment,J),q(oe),q($),q(x),q(Q),L=!1},d(J){J&&A(e),Ge(g),F&&F.d(),W&&W.d(),oe&&oe.d(),fe&&fe.d(),$&&$.d(),x&&x.d(),Q&&Q.d(),V=!1,Qe(O)}}}function Xh(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
60
|
+
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),n||(l=le(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&A(e),n=!1,l()}}}function $h(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=G(),s=k("span"),c=ye(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){R(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=le(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ne(c,o)},d(_){_&&A(e),g=!1,h()}}}function xh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=ng(Hh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Hh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=ng(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Ae(),c=n.length;c<l.length;c+=1)r(c);Re()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(U_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function eg(i){let e,t,n,l;const r=[UC,FC],s=[];function o(c,g){return c[111].isCat?1:0}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Ae(),q(s[h],1,1,()=>{s[h]=null}),Re(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function FC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(T,L){return L[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?HC:BC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new Yn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=G(),qe(s.$$.fragment),o=G(),c=k("span"),h=ye(g),m=G(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(T,L){R(T,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,m),v=!0,S||(y=le(t,"click",Vt(D)),S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Ne(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(U(s.$$.fragment,T),v=!0)},o(T){q(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,y()}}}function UC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,m,v,S,y,C,N,I=l&&tg(i);s=new Yn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=G(),qe(s.$$.fragment),c=G(),g=k("span"),_=ye(h),S=G(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(T,L){R(T,e,L),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=le(t,"click",Vt(D)),C=!0)},p(T,L){i=T,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=tg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!y||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Ne(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||L[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(U(s.$$.fragment,T),y=!0)},o(T){q(s.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),Ge(s),C=!1,N()}}}function BC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function HC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function tg(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function ng(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&eg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ae(),q(n,1,1,()=>{n=null}),Re()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=eg(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ig(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(m,v){return v[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?zC:WC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=G(),r=k("span"),o=ye(s),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(m,v){R(m,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Ut(i[32])),c=!0)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=m[13].label+"")&&Ne(o,s)},d(m){m&&A(e),p.d(),c=!1,g()}}}function WC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function zC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function lg(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new F_({props:r}),$e.push(()=>pt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function rg(i){let e,t;return e=new V_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function sg(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new O_({props:g}),$e.push(()=>pt(e,"dropDownStates",s)),$e.push(()=>pt(e,"selectedLabel",o)),$e.push(()=>pt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){ze(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],_t(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],_t(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],_t(()=>l=!1)),e.$set(p)},i(h){r||(U(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){Ge(e,h)}}}function ag(i){let e,t,n,l,r;const s=[qC,GC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&te.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){R(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=c(g,h),n===_?o[n].p(g,h):(Ae(),q(o[_],1,1,()=>{o[_]=null}),Re(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),U(l,1),l.m(e,null))},i(g){r||(U(l),r=!0)},o(g){q(l),r=!1},d(g){g&&A(e),o[n].d()}}}function GC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(I,D){return I[17].picture?JC:KC}let C=y(i),N=C(i);return _=new E_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=G(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){R(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[le(r,"click",i[99]),le(n,"click",Ut(xC))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!m||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const T={};D[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!m||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){m||(U(_.$$.fragment,I),m=!0)},o(I){q(_.$$.fragment,I),m=!1},d(I){I&&A(e),N.d(),Ge(_),v=!1,Qe(S)}}}function qC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?YC:jC}let _=h(i),p=_(i);return r=new lk({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=G(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,v){R(m,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),ze(r,l,null),o=!0,c||(g=le(t,"click",Ut($C)),c=!0)},p(m,v){_===(_=h(m))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=m[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!m[6].profilePopover))&&f(l,"aria-hidden",s)},i(m){o||(U(r.$$.fragment,m),o=!0)},o(m){q(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),Ge(r),c=!1,g()}}}function KC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){R(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&A(e)}}}function JC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),ti(e,"background-image","url('"+i[17].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&131072&&ti(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function jC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=ye(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){R(o,e,c),w(e,n),r||(s=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ne(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,s()}}}function YC(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),ti(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){R(r,e,s),n||(l=le(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&ti(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function og(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new F_({props:r}),$e.push(()=>pt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function QC(i){let e,t,n,l,r,s;const o=[EC,RC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){c[e].m(h,_),R(h,n,_),l=!0,r||(s=[le(Bh,"click",i[41]),le(Bh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Ae(),q(c[p],1,1,()=>{c[p]=null}),Re(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),U(t,1),t.m(n.parentNode,n))},i(h){l||(U(t),l=!0)},o(h){q(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Qe(s)}}}const ZC=()=>{},XC=()=>{},$C=()=>{},xC=()=>{};function ey(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:T}=e,{openMobileDropDown:L}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:F={}}=e,{urlAuthError:W}=e,{globalSearchConfig:oe}=e,{isGlobalSearchCentered:fe}=e,{isSearchFieldVisible:$}=e,{inputElem:x}=e,{luigiCustomSearchRenderer__slot:Q}=e,{displaySearchResult:J}=e,{displayCustomSearchResult:he}=e,{searchResult:ne}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:Pe}=e,ie=ct("store"),He=!1,Se,ce,X=se.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ge=se.getConfigBooleanValue("navigation.addNavHrefs")}=e;const re=async()=>{if(_&&0<_.length){const K=await Ce.generateTopNavNodes(_);t(7,S=K.children),t(8,y=K.selectedNode),t(9,C=K.visibleNodeCount),t(11,I=K.totalBadgeNode),t(10,N=K.globalNavNodeCount),window.TOPNAVDATA=K.children,p=_}},Ee=()=>{t(1,s=rl.isLoggedIn())};jt(()=>{un.doOnStoreChange(ie,()=>{t(0,l=di.isAuthorizationEnabled()),t(16,O=se.getConfigValue("navigation.profile")),t(54,r=!Boolean(se.getConfigValue("auth.disableAutoLogin"))),t(12,D=se.getConfigValue("navigation.productSwitcher")),t(2,o=se.getConfigBooleanValue("settings.hideNavigation")),t(3,c=se.getConfigValue("settings.responsiveNavigation")),t(4,g=se.getConfigValue("settings.profileType")),t(27,Pe=se.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,T=Ce.getProductSwitcherConfig()),t(18,oe=se.getConfigValue("globalSearch")),t(19,fe=oe&&oe.searchFieldCentered&&te.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=se.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),t(28,ge=se.getConfigBooleanValue("navigation.addNavHrefs")),t(46,X=se.getConfigValue("navigation.contextSwitcher"))},["navigation"]),un.doOnStoreChange(ie,()=>{re()},["navigation.viewgroupdata"]),Nn.addEventListener("message",K=>{K.data.msg==="luigi.navigation.update-badge-counters"&&re()})}),Fn(()=>{(!p||p!=_)&&re(),Ee()});let{showTopNav:De}=e;function be(K){return Ce.renderIconClassName(K)}function Ze(K){return Ce.isOpenUIiconName(K.icon)}const Nt=K=>Ce.getNodeLabel(K);function Yt(K){return K.testId?K.testId:Ce.prepareForTests(K.pathSegment,K.label)}function wt(K){return me.getNodeHref(K,m)}function Qt(K,yt){return Ce.generateTooltipText(K,yt)}function Oi(){Dt("productSwitcherPopover")}function zt(){t(43,He=!He),Dt("contextSwitcherPopover")}function pi(K){t(14,L=!0),t(15,V=K)}function Fi(){t(14,L=!1)}function tn(K){n("handleClick",{node:K})}function Zt(K){n("handleSearchNavigation",{node:K})}function Qn(K){tn(K.detail.node)}function Dt(K){const yt=v||{},wn=!yt[K];Gt(),Fi(),yt[K]=wn,t(6,v=yt)}function mn(K){Dt(K.detail.name)}function Xt(){x&&x.focus()}function Ui(){$||setTimeout(()=>{Xt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:x,luigiCustomSearchRenderer__slot:Q})}function Gt(){const K=v||{},yt=Object.keys(K);yt&&yt.length>0&&yt.forEach(wn=>{K[wn]=!1,t(6,v=K)})}function sn(){c==="simple"||c==="simpleMobileOnly"?ni():an(),mi()}function mi(){if(!Ce.getBurgerTooltipConfig())return;const[K,yt]=Ce.getBurgerTooltipConfig();K&&yt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?K:yt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?K:yt))}function ni(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function an(){fi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ee(K){const yt=K.detail;t(17,F=yt||{})}function Me(K){v=K,t(6,v)}function dt(K){$=K,t(20,$)}function It(K){ne=K,t(25,ne)}function Tt(K){J=K,t(23,J)}function mt(K){he=K,t(24,he)}function bn(K){x=K,t(21,x)}function In(K){Q=K,t(22,Q)}function ii(K){Dl.call(this,i,K)}function bi(K){Dl.call(this,i,K)}function ul(K){Dl.call(this,i,K)}function Bi(K){$=K,t(20,$)}function br(K){ne=K,t(25,ne)}function vr(K){J=K,t(23,J)}function wr(K){he=K,t(24,he)}function Fl(K){x=K,t(21,x)}function Sr(K){Q=K,t(22,Q)}function kr(K){Dl.call(this,i,K)}function Cr(K){Dl.call(this,i,K)}function fl(K){Dl.call(this,i,K)}function cl(K){v=K,t(6,v)}const li=()=>Dt("contextSwitcherPopover");function dl(K,yt,wn,wi){wn[wi]=K,t(7,S)}const Hi=K=>Dt(`dropDownPopover-${K}`);function Ul(K,yt,wn,wi){wn[wi]=K,t(7,S)}const Bl=(K,yt)=>{Ce.handleNavAnchorClickedWithoutMetaKey(yt)&&tn(K)};function Hl(K,yt,wn,wi){wn[wi]=K,t(7,S)}const yr=K=>tn(K),vn=()=>Dt("overflowPopover"),hl=()=>{Ui(),Dt("overflowPopover")},Wi=K=>tn(K),Wl=K=>pi(K);function Pr(K){v=K,t(6,v)}const zi=()=>Dt("productSwitcherPopover");function gl(K){v=K,t(6,v)}function _l(K){Se=K,t(44,Se)}function pl(K){ce=K,t(45,ce)}const vi=()=>Dt("contextSwitcherPopover"),zl=()=>Dt("profilePopover"),Gi=()=>Dt("profilePopover"),St=()=>Dt("profilePopover"),ml=()=>Dt("profilePopover"),bl=()=>Dt("profilePopover");function vl(K){v=K,t(6,v)}const wl=()=>Dt("productSwitcherPopover"),ri=()=>Dt("profilePopover");return i.$$set=K=>{"authorizationEnabled"in K&&t(0,l=K.authorizationEnabled),"autologinEnabled"in K&&t(54,r=K.autologinEnabled),"isLoggedIn"in K&&t(1,s=K.isLoggedIn),"hideNavComponent"in K&&t(2,o=K.hideNavComponent),"responsiveNavSetting"in K&&t(3,c=K.responsiveNavSetting),"profileTypeSettings"in K&&t(4,g=K.profileTypeSettings),"showGlobalNav"in K&&t(5,h=K.showGlobalNav),"pathData"in K&&t(30,_=K.pathData),"pathParams"in K&&t(31,m=K.pathParams),"dropDownStates"in K&&t(6,v=K.dropDownStates),"children"in K&&t(7,S=K.children),"selectedNode"in K&&t(8,y=K.selectedNode),"visibleNodeCount"in K&&t(9,C=K.visibleNodeCount),"globalNavNodeCount"in K&&t(10,N=K.globalNavNodeCount),"totalBadgeNode"in K&&t(11,I=K.totalBadgeNode),"isProductSwitcherAvailable"in K&&t(12,D=K.isProductSwitcherAvailable),"productSwitcherConfig"in K&&t(13,T=K.productSwitcherConfig),"openMobileDropDown"in K&&t(14,L=K.openMobileDropDown),"nodeForMobile"in K&&t(15,V=K.nodeForMobile),"profileItemsAvailable"in K&&t(16,O=K.profileItemsAvailable),"userInfo"in K&&t(17,F=K.userInfo),"urlAuthError"in K&&t(55,W=K.urlAuthError),"globalSearchConfig"in K&&t(18,oe=K.globalSearchConfig),"isGlobalSearchCentered"in K&&t(19,fe=K.isGlobalSearchCentered),"isSearchFieldVisible"in K&&t(20,$=K.isSearchFieldVisible),"inputElem"in K&&t(21,x=K.inputElem),"luigiCustomSearchRenderer__slot"in K&&t(22,Q=K.luigiCustomSearchRenderer__slot),"displaySearchResult"in K&&t(23,J=K.displaySearchResult),"displayCustomSearchResult"in K&&t(24,he=K.displayCustomSearchResult),"searchResult"in K&&t(25,ne=K.searchResult),"burgerTooltip"in K&&t(26,Y=K.burgerTooltip),"responsiveShellbarPadding"in K&&t(27,Pe=K.responsiveShellbarPadding),"addNavHrefForAnchor"in K&&t(28,ge=K.addNavHrefForAnchor),"showTopNav"in K&&t(29,De=K.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,De=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,T,L,V,O,F,oe,fe,$,x,Q,J,he,ne,Y,Pe,ge,De,_,m,Oi,zt,pi,Fi,tn,Qn,Dt,mn,Ui,Gt,ee,He,Se,ce,X,be,Ze,Nt,Yt,wt,Qt,sn,r,W,Zt,ni,an,Me,dt,It,Tt,mt,bn,In,ii,bi,ul,Bi,br,vr,wr,Fl,Sr,kr,Cr,fl,cl,li,dl,Hi,Ul,Bl,Hl,yr,vn,hl,Wi,Wl,Pr,zi,gl,_l,pl,vi,zl,Gi,St,ml,bl,vl,wl,ri]}class ty extends Et{constructor(e){super(),Rt(this,e,ey,QC,Pt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function ug(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ny(i){let e,t=i[0]&&ug();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]?t||(t=ug(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function iy(i,e,t){let{node:n}=e;return jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(()=>{n.webcomponent&&n.tabNav.showAsTabHeader?hr.renderWebComponent(n.viewUrl,document.querySelector(".lui-tab-header"),n.context,n):console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ly extends Et{constructor(e){super(),Rt(this,e,iy,ny,Pt,{node:0})}}const{window:To}=Mi;function fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n}function dg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function hg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function gg(i,e,t){const n=i.slice();return n[43]=e[t],n}function _g(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function pg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&mg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=yg(hg(i,I,V));let T=Object.entries(i[0]),L=[];for(let V=0;V<T.length;V+=1)L[V]=Ig(fg(i,T,V));return{c(){e=k("div"),N&&N.c(),t=G(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=G(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
|
|
61
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=G(),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){R(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let F=0;F<D.length;F+=1)D[F].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,m);for(let F=0;F<L.length;F+=1)L[F].m(m,null);S=!0,y||(C=[le(h,"click",Vt(i[10])),le(c,"click",cy),le(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&U(N,1)):(N=mg(V),N.c(),U(N,1),N.m(e,t)):N&&(Ae(),q(N,1,1,()=>{N=null}),Re()),O[0]&53485){I=Object.entries(V[0]);let F;for(F=0;F<I.length;F+=1){const W=hg(V,I,F);D[F]?D[F].p(W,O):(D[F]=yg(W),D[F].c(),D[F].m(r,null))}for(;F<D.length;F+=1)D[F].d(1);D.length=I.length}if(O[0]&53485){T=Object.entries(V[0]);let F;for(F=0;F<T.length;F+=1){const W=fg(V,T,F);L[F]?L[F].p(W,O):(L[F]=Ig(W),L[F].c(),L[F].m(m,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(U(N),S=!0)},o(V){q(N),S=!1},d(V){V&&A(e),N&&N.d(),ft(D,V),ft(L,V),y=!1,Qe(C)}}}function mg(i){let e,t;return e=new ly({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function ry(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[20](i[39])}let T=i[40],L=[];for(let V=0;V<T.length;V+=1)L[V]=wg(gg(i,T,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=ye(s),c=G(),g=k("span"),_=G(),p=k("div"),m=k("nav"),v=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();y=G(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cr(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=cr(i[39],i[2]))},m(V,O){R(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,m),w(m,v);for(let F=0;F<L.length;F+=1)L[F].m(v,null);w(e,y),N||(I=[le(l,"click",Vt(D)),le(e,"click",fy)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[39])+"")&&Ne(o,s),O[0]&5&&h!==(h=cr(i[39],i[2]))&&f(l,"aria-selected",h),O[0]&49221){T=i[40];let F;for(F=0;F<T.length;F+=1){const W=gg(i,T,F);L[F]?L[F].p(W,O):(L[F]=wg(W),L[F].c(),L[F].m(v,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}O[0]&9&&S!==(S=!i[3][i[39]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=cr(i[39],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ft(L,V),N=!1,Qe(I)}}}function sy(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cg(_g(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=_g(l,t,s);n[s]?n[s].p(o,r):(n[s]=Cg(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function bg(i){let e,t=i[43].label&&vg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=vg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function vg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=G(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-menu__item")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Vt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function wg(i){let e,t=!i[43].hideFromNav&&bg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=bg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Sg(i){let e,t=i[43].label&&kg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=kg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function kg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p;function m(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=ye(l),c=G(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class",g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",h=i[43]===i[2])},m(v,S){R(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=le(t,"click",Vt(m)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),S[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),S[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[43]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function Cg(i){let e,t=!i[43].hideFromNav&&Sg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=Sg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function yg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[39]==="undefined"||s[39].indexOf(s[5])===0),e?sy:ry}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ay(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[23](i[39],i[42])}function T(){return i[24](i[39],i[42])}let L=i[40],V=[];for(let O=0;O<L.length;O+=1)V[O]=Pg(cg(i,L,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=ye(r),g=G(),h=k("button"),_=k("i"),v=G(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=G(),f(l,"class","fd-nested-list__title"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=cr(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",m=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let W=0;W<V.length;W+=1)V[W].m(S,null);w(e,C),N||(I=[le(n,"click",Vt(D)),le(h,"click",Vt(T))],N=!0)},p(O,F){if(i=O,F[0]&4097&&r!==(r=i[12](i[39])+"")&&Ne(s,r),F[0]&9&&o!==(o=i[3][i[39]+i[42]])&&f(n,"aria-expanded",o),F[0]&5&&c!==(c=cr(i[39],i[2]))&&f(n,"aria-selected",c),F[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),F[0]&9&&m!==(m=i[3][i[39]+i[42]])&&f(h,"aria-expanded",m),F[0]&49221){L=i[40];let W;for(W=0;W<L.length;W+=1){const oe=cg(i,L,W);V[W]?V[W].p(oe,F):(V[W]=Pg(oe),V[W].c(),V[W].m(S,null))}for(;W<V.length;W+=1)V[W].d(1);V.length=L.length}F[0]&9&&y!==(y=!i[3][i[39]+i[42]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ft(V,O),N=!1,Qe(I)}}}function oy(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ng(dg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=dg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ng(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Pg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=G(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[43])),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Vt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Ng(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=G(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Vt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),m[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Ig(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[39]==="undefined"||s[39].indexOf(s[5])===0),e?oy:ay}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function uy(i){let e,t,n,l,r=i[0]&&i[1].length>1&&pg(i);return{c(){r&&r.c(),e=ke()},m(s,o){r&&r.m(s,o),R(s,e,o),t=!0,n||(l=[le(To,"click",i[8]),le(To,"blur",i[8]),le(To,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&U(r,1)):(r=pg(s),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){t||(U(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Qe(l)}}}function cr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const fy=i=>i.stopPropagation(),cy=i=>i.stopPropagation();function dy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=Ce.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=ct("getTranslation");_i(i,y,X=>t(12,n=X));let C=ct("store"),N;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:X=>{X&&Object.getOwnPropertyNames(X).forEach(ge=>{ge==="pathData"?t(1,r=X.pathData):ge==="context"?context=X.context:ge==="children"?t(0,l=X.children):ge==="selectedNode"?t(11,h=X.selectedNode):ge==="selectedNodeForTabNav"&&t(2,_=X.selectedNodeForTabNav)})}},D=Ht();function T(X){return Ce.getNodeLabel(X)}const L=async()=>{const X=I.get(),ge=await Ft.getTabNavData({...X},X);!ge||(I.set({...ge}),o=r,window.LEFTNAVDATA=ge.groupedChildren,setTimeout(V))},V=()=>{O();let X=document.getElementsByClassName("luigi-tabsContainer")[0],ge=document.getElementsByClassName("luigi-tabsMoreButton")[0],re=document.getElementsByClassName("luigi__more")[0],Ee,De=0,be=!1,Ze,Nt;re&&re.setAttribute("aria-selected","false"),X&&(Ee=X.offsetWidth,[...X.children].forEach(wt=>{Ze=wt.currentStyle||window.getComputedStyle(wt),Nt=parseFloat(Ze.marginLeft)+parseFloat(Ze.marginRight),De+=wt.offsetWidth+Nt;let Qt=wt.getAttribute("uid");De>=Ee?(wt.classList.add("hide_element"),wt.getAttribute("isSelected")==="true"&&re.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Qt+'"]').classList.remove("hide_element"),be=!0):document.querySelector('li[uid="'+Qt+'"]').classList.add("hide_element")}),be?ge.classList.remove("hide_element"):ge.classList.add("hide_element"))},O=()=>{let X=document.getElementsByClassName("luigi-tabsContainer")[0];X!==void 0&&[...X.children].forEach(re=>{re.classList.remove("hide_element")})},F=()=>{N=new ResizeObserver(X=>{for(const ge of X)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ge.contentRect.height+"px")}),setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))})},W=()=>{N&&N.disconnect()};jt(()=>{t(16,c=se.getConfigBooleanValue("settings.hideNavigation")),F(),un.doOnStoreChange(C,()=>{L()},["navigation.viewgroupdata"])}),xr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Fn(()=>{(!o||o!=r)&&L(),(S===void 0||S!==v)&&(S=v,L())}),ma(()=>{W(),N?setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))}):F()});function oe(X){return me.getNodeHref(X,s)}function fe(X){x(),D("handleClick",{node:X})}function $(X){let ge={};p[X]||(ge[X]=!0),t(3,p=ge)}function x(){t(3,p={}),t(4,m=!1)}function Q(){O(),V()}function J(){t(4,m=!m)}const he=X=>fe(X),ne=X=>$(X),Y=X=>fe(X),Pe=X=>fe(X),ie=(X,ge)=>$(X+ge),He=(X,ge)=>$(X+ge),Se=X=>fe(X),ce=X=>$(X.name);return i.$$set=X=>{"children"in X&&t(0,l=X.children),"pathData"in X&&t(1,r=X.pathData),"pathParams"in X&&t(17,s=X.pathParams),"hideNavComponent"in X&&t(16,c=X.hideNavComponent),"virtualGroupPrefix"in X&&t(5,g=X.virtualGroupPrefix),"selectedNodeForTabNav"in X&&t(2,_=X.selectedNodeForTabNav),"dropDownStates"in X&&t(3,p=X.dropDownStates),"isMoreBtnExpanded"in X&&t(4,m=X.isMoreBtnExpanded),"resizeTabNavToggle"in X&&t(18,v=X.resizeTabNavToggle)},[l,r,_,p,m,g,fe,$,x,Q,J,h,n,y,T,oe,c,s,v,he,ne,Y,Pe,ie,He,Se,ce]}class hy extends Et{constructor(e){super(),Rt(this,e,dy,uy,Pt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function Tg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Lg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ag(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Rg(i),o=i[0]&&i[3].length>0&&Mg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=G(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){R(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Rg(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),c[0]&&c[3].length>0?o?o.p(c,g):(o=Mg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),s&&s.d(),o&&o.d()}}}function Rg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vg(Lg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Lg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Vg(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function Eg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Dg(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=G(),r=k("div"),o=ye(s),c=G(),g=k("div"),p=G(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){R(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Dg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Dg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?_y:gy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function gy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function _y(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Vg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Eg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Eg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Mg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ug(Tg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Tg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ug(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function Og(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Fg(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=G(),r=k("div"),o=ye(s),c=G(),g=k("div"),p=G(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){R(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(n,"click",Vt(N)),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Fg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Fg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?my:py}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function py(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function my(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ug(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Og(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Og(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function by(i){let e,t,n,l=i[2]&&Ag(i);return{c(){l&&l.c(),e=ke()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[le(window,"click",pa),le(window,"blur",pa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Ag(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){l&&l.d(r),r&&A(e),t=!1,Qe(n)}}}function pa(){}function vy(i,e,t){let n;const l=Ht();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=ct("store"),_=ct("getTranslation");_i(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=se.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const W=await Ce.generateTopNavNodes(r);t(0,c=W.children),t(1,g=W.selectedNode),s=r}};jt(()=>{un.doOnStoreChange(h,()=>{t(14,m=se.getConfigBooleanValue("settings.hideNavigation")),t(15,v=se.getConfigValue("settings.responsiveNavigation")),t(2,p=se.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Fn(()=>{(!s||s!=r)&&y(),t(6,S=se.getConfigBooleanValue("navigation.addNavHrefs"))});function C(W){return Ce.renderIconClassName(W)}function N(W){return Ce.isOpenUIiconName(W.icon)}function I(W){return ht.getTranslation(W.label)}function D(W){return W.testId?W.testId:Ce.prepareForTests(W.pathSegment,W.label)}function T(W){return me.getNodeHref(W,o)}function L(W){l("handleClick",{node:W})}function V(W){L(W.detail.node)}const O=(W,oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(oe)&&L(W)},F=W=>L(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,g=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,m=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,v=W.responsiveNavSetting)},[c,g,p,r,L,pa,S,n,_,C,N,I,D,T,m,v,o,V,O,F]}class wy extends Et{constructor(e){super(),Rt(this,e,vy,by,Pt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return pa}}function Sy(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){R(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&A(e),i[6](null)}}}function ky(i,e,t){const n=Ht();let{pathData:l}=e,r,s={},o,c=ct("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;se.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};jt(()=>{un.doOnStoreChange(c,()=>{},["navigation"])}),Fn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=se.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(se.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=tt.getCurrentPath();for(let T=I;T<l.length;T++){const L=l[T],V=me.mapPathToNode(D,L);if(s[V])N.push(s[V]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)N.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?ht.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:V,pending:!0});else{const O=await v(L);O&&N.push({label:O,node:L,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,m),N=[];for(let T=I;T<l.length;T++){const L=l[T],V=me.mapPathToNode(D,L);if(L.titleResolver){const F=await Ft.extractDataFromPath(V),W=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,L.context),F.pathData.pathParams);try{const oe=await Ce.fetchNodeTitleData(L,W);N.push({label:oe.label,node:L,route:V});continue}catch{}}const O=await v(L);O&&N.push({label:O,node:L,route:V})}D===tt.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(T=>{s[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function v(C){if(C.label&&!C._virtualTree)return ht.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=me.mapPathToNode(tt.getCurrentPath(),C),I=await Ft.extractDataFromPath(N);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class Cy extends Et{constructor(e){super(),Rt(this,e,ky,Sy,Pt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Eo="not_checked";Nn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Eo="disabled"):i.data==="luigi.tpcEnabled"&&(Eo="enabled")},!1);function yy(){return Eo}const{Boolean:Py,window:Ny}=Mi;function Bg(i,e,t){const n=i.slice();return n[144]=e[t],n[146]=t,n}function Hg(i){let e,t;return e=new A2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Wg(i){let e,t;function n(){return i[68](i[146])}function l(...s){return i[69](i[146],...s)}function r(...s){return i[70](i[146],...s)}return e=new L_({props:{settings:i[144].mfModal.settings,nodepath:i[144].mfModal.nodepath,modalIndex:i[146],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[144].mfModal.settings),o[0]&268435456&&(c.nodepath=i[144].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){Ge(e,s)}}}function zg(i){let e,t,n=i[144].mfModal.displayed&&Wg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[144].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&U(n,1)):(n=Wg(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ae(),q(n,1,1,()=>{n=null}),Re())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Gg(i){let e,t;return e=new L_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Iy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[4]&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Iy(i){let e,t;return e=new ts({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function qg(i){let e,t;return e=new M2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Kg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new $2({props:r}),$e.push(()=>pt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],_t(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function Jg(i){let e,t;return e=new lS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Ty(i){let e,t,n,l,r,s,o,c,g;t=new ts({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Jg(i);return{c(){e=k("div"),qe(t.$$.fragment),n=G(),l=k("div"),r=G(),h&&h.c(),s=ke(),f(l,"class","wcContainer svelte-1262ssy"),f(e,"class","fd-page iframeContainer svelte-1262ssy"),f(e,"tabindex","0"),ci(e,"lui-split-view",i[12].displayed),ci(e,"lui-collapsed",i[12].collapsed)},m(_,p){R(_,e,p),ze(t,e,null),w(e,n),w(e,l),R(_,r,p),h&&h.m(_,p),R(_,s,p),o=!0,c||(g=ww(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&ci(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&ci(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=Jg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(Ae(),q(h,1,1,()=>{h=null}),Re())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&A(e),Ge(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function jg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1262ssy" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1262ssy"></div>
|
|
62
62
|
<div class="fd-busy-indicator__circle svelte-1262ssy"></div>
|
|
63
|
-
<div class="fd-busy-indicator__circle svelte-1262ssy"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1262ssy"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=g_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=__(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function Yg(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function m(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new ty({props:S}),Xe.push(()=>_t(e,"isSearchFieldVisible",g)),Xe.push(()=>_t(e,"displaySearchResult",h)),Xe.push(()=>_t(e,"displayCustomSearchResult",_)),Xe.push(()=>_t(e,"searchResult",p)),Xe.push(()=>_t(e,"inputElem",m)),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],gt(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],gt(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],gt(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],gt(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],gt(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],gt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Qg(i){let e,t,n,l;e=new wy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Zg(i);return{c(){qe(e.$$.fragment),t=G(),r&&r.c(),n=ke()},m(s,o){ze(e,s,o),R(s,t,o),r&&r.m(s,o),R(s,n,o),l=!0},p(s,o){const c={};o[0]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&U(r,1)):(r=Zg(s),r.c(),U(r,1),r.m(n.parentNode,n)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){Ge(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function Zg(i){let e,t;return e=new Cy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Xg(i){let e,t;return e=new DS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function $g(i){let e,t;return e=new hy({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Ly(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Hg(i),N=i[28],I=[];for(let Q=0;Q<N.length;Q+=1)I[Q]=zg(Bg(i,N,Q));const D=Q=>q(I[Q],1,1,()=>{I[Q]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&Gg(i),L=i[27].displayed&&qg(i),V=i[18].displayed&&Kg(i);o=new ts({props:{disable:i[13],$$slots:{default:[Ty]},$$scope:{ctx:i}}});let O=i[11]&&jg(),F=!i[25]&&Yg(i),W=!i[21]&&Qg(i),ae=!(i[21]||i[22])&&Xg(i),Z=i[16]&&!i[21]&&$g(i);return{c(){e=k("div"),C&&C.c(),t=G();for(let Q=0;Q<I.length;Q+=1)I[Q].c();n=G(),T&&T.c(),l=G(),L&&L.c(),r=G(),V&&V.c(),s=G(),qe(o.$$.fragment),c=G(),O&&O.c(),g=G(),F&&F.c(),h=G(),W&&W.c(),_=G(),ae&&ae.c(),p=G(),Z&&Z.c(),f(e,"id","app"),f(e,"class",m=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-1262ssy"),f(e,"configversion",i[24])},m(Q,de){R(Q,e,de),C&&C.m(e,null),w(e,t);for(let x=0;x<I.length;x+=1)I[x].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),W&&W.m(e,null),w(e,_),ae&&ae.m(e,null),w(e,p),Z&&Z.m(e,null),v=!0,S||(y=le(Ny,"resize",i[35]),S=!0)},p(Q,de){if(Q[26]&&Q[26].length?C?(C.p(Q,de),de[0]&67108864&&U(C,1)):(C=Hg(Q),C.c(),U(C,1),C.m(e,t)):C&&(Ae(),q(C,1,1,()=>{C=null}),Re()),de[0]&268443648|de[1]&896){N=Q[28];let J;for(J=0;J<N.length;J+=1){const he=Bg(Q,N,J);I[J]?(I[J].p(he,de),U(I[J],1)):(I[J]=zg(he),I[J].c(),U(I[J],1),I[J].m(e,n))}for(Ae(),J=N.length;J<I.length;J+=1)D(J);Re()}Q[29].displayed&&Q[29].settings.isDrawer?T?(T.p(Q,de),de[0]&536870912&&U(T,1)):(T=Gg(Q),T.c(),U(T,1),T.m(e,l)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),Q[27].displayed?L?(L.p(Q,de),de[0]&134217728&&U(L,1)):(L=qg(Q),L.c(),U(L,1),L.m(e,r)):L&&(Ae(),q(L,1,1,()=>{L=null}),Re()),Q[18].displayed?V?(V.p(Q,de),de[0]&262144&&U(V,1)):(V=Kg(Q),V.c(),U(V,1),V.m(e,s)):V&&(Ae(),q(V,1,1,()=>{V=null}),Re());const x={};de[0]&8192&&(x.disable=Q[13]),de[0]&12288|de[4]&8388608&&(x.$$scope={dirty:de,ctx:Q}),o.$set(x),Q[11]?O?de[0]&2048&&U(O,1):(O=jg(),O.c(),U(O,1),O.m(e,g)):O&&(Ae(),q(O,1,1,()=>{O=null}),Re()),Q[25]?F&&(Ae(),q(F,1,1,()=>{F=null}),Re()):F?(F.p(Q,de),de[0]&33554432&&U(F,1)):(F=Yg(Q),F.c(),U(F,1),F.m(e,h)),Q[21]?W&&(Ae(),q(W,1,1,()=>{W=null}),Re()):W?(W.p(Q,de),de[0]&2097152&&U(W,1)):(W=Qg(Q),W.c(),U(W,1),W.m(e,_)),Q[21]||Q[22]?ae&&(Ae(),q(ae,1,1,()=>{ae=null}),Re()):ae?(ae.p(Q,de),de[0]&6291456&&U(ae,1)):(ae=Xg(Q),ae.c(),U(ae,1),ae.m(e,p)),Q[16]&&!Q[21]?Z?(Z.p(Q,de),de[0]&2162688&&U(Z,1)):(Z=$g(Q),Z.c(),U(Z,1),Z.m(e,null)):Z&&(Ae(),q(Z,1,1,()=>{Z=null}),Re()),(!v||de[0]&48234496&&m!==(m=(Q[21]?"no-nav":"")+" "+(Q[22]?"no-side-nav":"")+" "+(Q[25]?"no-top-nav":"")+" "+(Q[23]?"no-animation":"")+" svelte-1262ssy"))&&f(e,"class",m),(!v||de[0]&16777216)&&f(e,"configversion",Q[24])},i(Q){if(!v){U(C);for(let de=0;de<N.length;de+=1)U(I[de]);U(T),U(L),U(V),U(o.$$.fragment,Q),U(O),U(F),U(W),U(ae),U(Z),v=!0}},o(Q){q(C),I=I.filter(Py);for(let de=0;de<I.length;de+=1)q(I[de]);q(T),q(L),q(V),q(o.$$.fragment,Q),q(O),q(F),q(W),q(ae),q(Z),v=!1},d(Q){Q&&A(e),C&&C.d(),ft(I,Q),T&&T.d(),L&&L.d(),V&&V.d(),Ge(o),O&&O.d(),F&&F.d(),W&&W.d(),ae&&ae.d(),Z&&Z.d(),S=!1,y()}}}function Ay(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,m,v,S,y,C,N,I,D,T,L,V,O,F,W,ae,Z,Q,de=!0,x=!1,J,he,ne,X=[],Ne={isDirty:!1,persistUrl:null},ie,He,Se=!1,j,fe,ve={},re,{isSearchFieldVisible:Ee}=e,{inputElem:De}=e,{luigiCustomSearchRenderer__slot:pe}=e,{displaySearchResult:$e}=e,{displayCustomSearchResult:Vt=!0}=e,{searchResult:Rt}=e,{storedUserSettings:Mt}=e,on;const Oi=async B=>{const ue=B.iframe.luigi,Ve=ue.currentNode&&ue.currentNode.userSettingsGroup,Je=await se.readUserSettings(),Ue=Ve&&typeof Je=="object"&&Je!==null,we=Ie.applyCoreStateData({isNavigateBack:x,viewStackSize:X.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Ue?Je[Ve]:null,anchor:ll.getAnchor()});return Ie.specialIframeTypes.map(Oe=>Oe.iframeConfigKey).forEach(Oe=>{we[Oe]=B[Oe]||!1}),we},Gt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ve={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Oi(B)),authData:rl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ve,Ie.sendMessageToIframe(B.iframe,Ve)},pi=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ie.broadcastMessageToAllIframes(ue)},Fi=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ve=rn(B.params),Je=tt.getNodePath(O,V);X.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?te.replaceVars(Je,ue.iframe.luigi.pathParams,":",!1):Je,nextPath:Ve.startsWith("/")?Ve:"/"+Ve,context:D}),ue.iframe.pv="pv"}},en=(B,ue,Ve,Je)=>{let Ue=rn(B.params,Ve,Je);const{preventHistoryEntry:we,preserveQueryParams:Oe,preventContextUpdate:ut}=B.params,Ot={keepBrowserHistory:!we,navSync:de,preventContextUpdate:ut};return Ue=te.addLeadingSlash(Ue),Ue=Oe?me.composeSearchParamsToRoute(Ue):Ue,Fi(B,ue),tt.navigateTo(Ue,Ot)},Qt=B=>B.split("?")[0],Qn=(B,ue)=>{if(B.length===0)return!1;const Ve=ue.startsWith("/")?ue:`/${ue}`,Je=[...B].pop();return[Qt(Je.path),Qt(Je.nextPath)].includes(Qt(Ve))},Et=B=>{Ne&&Ne.dirtySet&&(B?Ne.dirtySet.delete(B):Ne.dirtySet.clear())},pn=B=>new Promise((ue,Ve)=>{vi(B)?zl().then(()=>{Et(),ue()},()=>{Ve()}):ue()}),Zt=()=>({get:()=>({unsavedChanges:Ne,hideNav:cl,viewUrl:F,nodeParams:T,viewGroup:W,urlParamsRaw:V,currentNode:O,navigationPath:he,context:D,pathParams:L,hideSideNav:li,isolateView:ae,pageErrorHandler:Z,previousNodeValues:Q,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:He,isNavigateBack:x,goBackContext:J,isNavigationSyncEnabled:de}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(21,cl=B.hideNav):ue==="viewUrl"?F=B.viewUrl:ue==="nodeParams"?T=B.nodeParams:ue==="viewGroup"?W=B.viewGroup:ue==="urlParamsRaw"?V=B.urlParamsRaw:ue==="currentNode"?O=B.currentNode:ue==="navigationPath"?t(15,he=B.navigationPath):ue==="context"?D=B.context:ue==="pathParams"?t(14,L=B.pathParams):ue==="hideSideNav"?(li!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Ve=document.querySelector("#app");Ve&&Ve.classList.remove("no-animation")})),t(22,li=B.hideSideNav)):ue==="isolateView"?ae=B.isolateView:ue==="pageErrorHandler"?Z=B.pageErrorHandler:ue==="previousNodeValues"?Q=B.previousNodeValues:ue==="mfSplitView"?t(12,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?y=B.splitViewIframe:ue=="splitViewWC"?N=B.splitViewWC:ue==="showLoadingIndicator"?t(11,s=B.showLoadingIndicator):ue==="tabNav"?t(16,He=B.tabNav):ue==="isNavigateBack"?x=B.isNavigateBack:ue==="goBackContext"?J=B.goBackContext:ue==="isNavigationSyncEnabled"&&(de=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:vi,getUnsavedChangesModalPromise:pn,showUnsavedChangesModal:zl,showAlert:Wi,prepareInternalData:Oi,dispatch:n}),Ui=(B,ue)=>{Fn.doOnStoreChange(l,()=>{Vn.deleteCache();const Ve=tt.getCurrentPath();tt.handleRouteChange(Ve,Zt(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ve,Je)=>{const{withoutSync:Ue,preventContextUpdate:we}=Je||{};Qn(X,Ve)||(X=[],yn.removeInactiveIframes(B));for(let ut=wt.length;ut--;)ri(ut);es.removeBackdrop(),Bi(),tt.handleRouteChange(Ve,Zt(),B,ue,Ue,we)})},qt=(B,ue)=>te.replaceVars(tt.getNodePath(B),ue,":",!1),rn=(B,ue,Ve)=>{const Je=ue||O,Ue=Ve||L;let we=he;if(ue){let ut=ue.parent;for(we=[ue];ut;)we.push(ut),ut=ut.parent;we=[...we].reverse()}let Oe=B.link;if(B.fromVirtualTreeRoot){const ut=[...we].reverse().find(Ot=>Ot.virtualTree);if(!ut){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Oe=tt.concatenatePath(qt(ut,Ue),B.link)}else if(B.fromParent)Oe=tt.concatenatePath(qt(Je.parent,Ue),B.link);else if(B.fromClosestContext){const ut=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Oe=tt.concatenatePath(qt(ut,Ue),B.link)}else if(B.fromContext){const ut=B.fromContext,Ot=[...we].reverse().find(Rr=>ut===Rr.navigationContext);Oe=tt.concatenatePath(qt(Ot,Ue),B.link)}else B.intent?Oe=me.getIntentPath(B.link):B.relative&&(Oe=tt.concatenatePath(qt(Je,Ue),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Oe+=Oe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((ut,Ot)=>{Oe+=encodeURIComponent(me.getContentViewParamPrefix()+ut[0])+"="+encodeURIComponent(ut[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),Oe},mi=B=>{const ue=B.detail.node;pn().then(()=>{if(Hl(),ue.openNodeInModal){const Ve=me.buildRoute(ue,`/${ue.pathSegment}`);bl(Ve,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ve=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,vn(Ve,ue.drawer)}else Zt().set({isNavigationSyncEnabled:!0}),tt.handleRouteClick(ue,Zt())},()=>{})},ni=()=>{t(17,Se=!Se)};Yr("handleNavigation",en);const sn=B=>B?!0:(console.warn("No search provider defined."),!1),ee=()=>{sn(fe)&&t(0,Ee=!1)},Me=()=>{sn(fe)&&De&&(t(0,Ee=!0),De.focus())},ct=()=>{sn(fe)&&De&&(t(1,De.value="",De),ii())},Pt=()=>{t(0,Ee=!Ee),t2.clearSearchField()},Nt=()=>{if(sn(fe)&&De)return De.value},mt=B=>{sn(fe)&&De&&(t(1,De.value=B,De),te.isFunction(fe.onInput)?fe.onInput():console.error("onInput is not a function. Please check the global search configuration."))},mn=B=>{sn(fe)&&De&&t(1,De.placeholder=B,De)},Nn=B=>{if(sn(fe))if(B&&B.length>0)if(te.isFunction(fe.customSearchResultRenderer)){t(4,Vt=!0);let ue={fireItemSelected:Ve=>{fe.onSearchResultItemSelected(Ve)}};fe.customSearchResultRenderer(B,pe,ue)}else t(3,$e=!0),t(5,Rt=B);else console.warn("Search result array is empty.")},ii=()=>{if(sn(fe)&&(t(3,$e=!1),t(5,Rt=[]),pe))for(;pe.lastElementChild;)pe.removeChild(pe.lastElementChild)},bi=B=>{let ue=B.detail.node,Ve={params:{link:ue.link,nodeParams:ue.params}};en(Ve)},ul=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=rt.getDefaultData().mfSplitView),rt.open(Zt(),B,ue)},Bi=()=>{rt.close(Zt())},br=()=>{rt.collapse(Zt()),t(12,o.collapsed=!0,o)},vr=()=>{rt.expand(Zt()),t(12,o.collapsed=!1,o)},wr=()=>o.displayed?o.collapsed:!1,Fl=()=>o.displayed?!o.collapsed:!1,Sr=()=>o.displayed,kr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},Cr=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},fl=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let cl,li,dl,Hi,Ul,Bl;const Hl=()=>{document.body.classList.remove("lui-leftNavToggle")},yr=()=>{Sl();const B=window.innerWidth>=xt.desktopMinWidth&&Hi<xt.desktopMinWidth,ue=window.innerWidth<xt.desktopMinWidth&&Hi>=xt.desktopMinWidth;(B||ue)&&Hl(),Hi=window.innerWidth};let bn=[];const hl=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ve=>Ve.settings.id===ue)[0]},Wi=(B,ue=!1)=>{const Ve=se.getConfigValue("settings.customAlertHandler");if(te.isFunction(Ve)){const Ue=Ve(B,ue);if(Ue!==!1)return Ue}const Je=bn;return B.id||(B.id=te.getRandomId()),B.id&&Je&&hl(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{hl(bn,B.id)&&Wl(B.id)},B.closeAfter),new Promise((Ue,we)=>{t(26,bn=[...Je||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ue}}])}))},Wl=(B,ue)=>{const Ve=hl(bn,B);if(!Ve){console.error("An unexisting alert has been dismissed.",bn,B);return}if(t(26,bn=bn.filter(Je=>Je.settings.id!==B)),Ve.openFromClient){const Je=yn.getActiveIframe(ne),Ue={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ie.sendMessageToIframe(Je,Ue)}else Ve.promise&&Ve.promise.resolve(ue||B)},Pr=B=>{Wl(B.detail.id,B.detail.dismissKey)};let zi;const gl=()=>{t(27,zi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,ue=!1,Ve)=>new Promise((Je,Ue)=>{t(27,zi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Je,reject:Ue},targetIframe:Ve})}),pl=B=>{const{promise:ue,openFromClient:Ve,targetIframe:Je}=zi;if(gl(),B?ue.resolve():ue.reject(),Ve&&Je){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ie.sendMessageToIframe(Je,Ue)}},vi=B=>{if(Ne.dirtySet){if(B)return Ne.dirtySet.has(B);if(Ne.dirtySet.size>0)return!0}return!1},zl=()=>_l({header:dt.getTranslation("luigi.unsavedChangesAlert.header"),body:dt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")}),Gi=()=>Ne.dirtySet?Ne.dirtySet.size>0:Ne.isDirty;Yr("getUnsavedChangesModalPromise",pn);let wt=[];const ml=B=>{if(typeof B>"u"){t(28,wt=[]);return}t(28,wt=wt.filter((ue,Ve)=>B!==Ve))};ml();const bl=async(B,ue)=>{if(await ye.shouldPreventNavigationForPath(B))return;const Ve={mfModal:{displayed:!0,nodepath:B,settings:ue}};t(28,wt=[...wt,Ve]),se.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&tt.appendModalDataToUrl(B,ue)},vl=(B,ue)=>{t(28,wt[ue].modalIframe=B.detail.modalIframe,wt),t(28,wt[ue].modalIframeData=B.detail.modalIframeData,wt)},wl=(B,ue)=>{t(28,wt[ue].modalWC=B.detail.modalWC,wt),t(28,wt[ue].modalWCData=B.detail.modalWCData,wt)},ri=(B,ue,Ve)=>{const Je=(Oe,ut)=>{se.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&tt.removeModalDataFromUrl(ut),ml(Oe)},Ue=wt[B],we=te.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?pn(Ue.modalIframe.contentWindow).then(()=>{Je(B,ue),we&&we.doResolve(Ve)},()=>{}):Ue&&Ue.modalWC&&(Je(B,ue),we&&we.doResolve(Ve))};Yr("openViewInModal",bl);let K={};const Ct=()=>{t(29,K.displayed=!1,K),t(29,K.nodepath=void 0,K),t(29,K.settings={},K),t(13,_=!1)};Ct();const vn=async(B,ue)=>{await ye.shouldPreventNavigationForPath(B)||(t(29,K.displayed=!0,K),t(29,K.nodepath=B,K),t(29,K.settings=ue,K),K.settings&&K.settings.backdrop&&t(13,_=!0))},wi=()=>window.innerWidth>=xt.desktopMinWidth&&K.displayed&&K.settings&&!K.settings.overlap,Sl=()=>{if(!wi())return;const B=document.querySelector(".iframeModalCtn._drawer"),ue=Ie.getCurrentMicrofrontendIframe();if(B&&ue){ue.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ve}=getComputedStyle(B),Je=ue.clientWidth;ue.setAttribute("style",`width: calc(${Je}px - ${Ve})`)}},is=B=>{p=B.detail.modalIframe,m=B.detail.modalIframeData,Sl()},ls=B=>{v=B.detail.modalWC,B.detail.modalWCData,Sl()},Nr=B=>{h=B.detail.activeDrawer},Ir=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?pn(p.contentWindow).then(()=>{Ct()},()=>{}):v&&pn().then(()=>{Ct()},()=>{}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(ue){console.log(ue)}},rs=()=>{const B=fr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,ve.userSettingGroups=[...B],ve),t(18,ve.displayed=!0,ve)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},Gl=()=>{t(18,ve.displayed=!1,ve)},ss=async B=>{if(await ye.shouldPreventNavigationForPath(B))return;se.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},va=B=>{let ue=he;if(O){let Ue=O.parent;for(ue=[O];Ue;)ue.push(Ue),Ue=Ue.parent;ue=[...ue].reverse()}let Ve=B.link,Je=qt(O,L);if(B.fromVirtualTreeRoot){const Ue=[...ue].reverse().find(Oe=>Oe.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=qt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromParent){const Ue=qt(O.parent,L);Ve=Je.split(Ue).join("")}else if(B.fromClosestContext){const Ue=[...ue].reverse().find(Oe=>Oe.navigationContext&&Oe.navigationContext.length>0),we=qt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromContext){const Ue=B.fromContext,we=[...ue].reverse().find(ut=>Ue===ut.navigationContext),Oe=qt(we,L);Ve=Je.split(Oe).join("")}else Ve=Je;return Ve};function as(B){sessionStorage.removeItem("historyState"),or.shouldPreload=!0,or.preload(!0),or.shouldPreload=!1;const ue=se.getConfigValue("navigation.defaults.isolateView"),Ve=se.getConfigValue("navigation.defaults.pageErrorHandler"),Je=se.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:ue,defaultPageErrorHandler:Ve};dt.addCurrentLocaleChangeListener(we=>{const Oe={msg:"luigi.current-locale-changed",currentLocale:we};Ie.broadcastMessageToAllIframes(Oe)}),Pn.addEventListener("popstate",async we=>{const Oe=bn;if(!Oe||!(Oe.length>0))return;const ut=Oe.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,bn=ut)}),Pn.addEventListener("message",async we=>{const Oe=Ie.getValidMessageSource(we),ut=wt[wt.length-1],Ot=ut&&ut.modalIframe,Rr=ut&&ut.modalIframeData,Ki={modalIframe:Ot,modalIframeData:Rr,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!Oe)return;Oe._ready=!0;const Er=Ie.getSpecialIframeMessageSource(we,Ki),Ji=Er&&Er.length>0,St=se.getConfigValue("communication.skipEventsWhenInactive");if(St&&St.length>0&&!Ji&&Oe.contentWindow!==window&&!te.isElementVisible(Oe)&&St.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Te=se.getConfigValue("communication.customMessagesListeners")||{},bt=ca.convertCustomMessageInternalToUser(we.data),Kt=Te[bt.id],Un="luigi.updateUserSettings";if(ve&&bt.id===Un){Kt&&console.warn(`The key "${Un}" is not allowed to use for custom messages.`);return}if(typeof Kt=="function"){const si=Mn.getMicrofrontends().find(ji=>Ie.isMessageSource(we,ji.container));Kt(bt,si,te.removeInternalProperties(Oe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${bt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(Oe.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(Oe.luigi.viewUrl=Oe.luigi.nextViewUrl,Oe.luigi.nextViewUrl="",Oe.luigi.clientPermissions=Oe.luigi.nextClientPermissions,delete Oe.luigi.nextClientPermissions,Ue.navigateOk=!0,or.preload()),we.data.msg==="luigi.get-context"){if(Oe.luigi.clientVersion=we.data.clientVersion,Oe.luigi.initOk=!1,Ji)Er.forEach(async Te=>{let bt=Ki[Te.dataKey].context;const Kt={...Ue,iframe:Ki[Te.iframeKey],context:bt,pathParams:Ki[Te.dataKey].pathParams,nodeParams:Ki[Te.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Ki[Te.iframeKey].luigi.currentNode),modal:Te.iframeKey.startsWith("modal"),drawer:Te.iframeKey.startsWith("drawer"),splitView:Te.iframeKey.startsWith("splitView")};await Gt(Kt,{})});else if(Ue.iframe&&Ie.isMessageSource(we,Ue.iframe))await Gt(Ue,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),or.preload();else if(Oe.luigi.preloading)await Gt({iframe:Oe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Te=fr.findActiveCustomUserSettingsIframe(we.source);if(Te){let bt=Te.getAttribute("userSettingsGroup"),Kt={context:{userSettingsData:Mt[bt]},iframe:Te};await Gt(Kt)}}or.viewGroupLoaded(Oe)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),we.data.msg==="luigi.navigation.open"){x=!1;const Te=window.location.href,bt=Ji?Oe.luigi.currentNode:void 0,Kt=Ji?Oe.luigi.pathParams:void 0,Un=we.data.params,{intent:si,newTab:ji,modal:kl,splitView:Kl,drawer:Jl,withoutSync:tn}=Un;let Cl=ji||kl||Kl||Jl;const Si=()=>{const In=te.getRemotePromise(we.data.remotePromiseId);In&&In.doResolve()},yl=()=>{const In=te.getRemotePromise(we.data.remotePromiseId);In&&In.doReject()},ki=In=>{!In||Te!==window.location.href?Si():yl()};we.source!==window&&!si&&Un.link&&(Un.link=Un.link.split("?")[0]);let It=rn(we.data.params,bt,Kt);if(Cl=Cl||si&&It.external,!Cl)pn().then(()=>{de=!we.data.params.withoutSync,en(we.data,Ue,bt,Kt).then(()=>{ki(!0)}).catch(()=>{yl()}),wt.forEach((In,_s)=>{ri(_s)}),Bi(),Ir(),de=!0}).catch(()=>{yl()});else{if(si&&It.external){tt.navigateToExternalLink({url:It.url,sameWindow:!It.openInNewTab});return}if(It=te.addLeadingSlash(It),ji){await ss(It),ki();return}const In=await ql(It);if(It=await me.handlePageNotFoundAndRetrieveRedirectPath(Zt(),It,In),!It){yl();return}ne=B,kl!==void 0?(!kl.keepPrevious&&ml(),await bl(It,kl===!0?{}:kl),ki()):Kl!==void 0?(await ul(It,Kl),ki()):Jl!==void 0&&(Ct(),Jl.isDrawer=!0,await vn(It,Jl),ki())}}if(we.data.msg==="luigi.navigation.back"){const Te=wt[wt.length-1],bt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);Ie.isMessageSource(we,Te&&Te.modalIframe)?(ri(wt.length-1,!0,bt),Ue.iframe&&await Gt(Ue,{goBackContext:bt})):Ie.isMessageSource(we,y)?(Bi(),Ue.iframe&&await Gt(Ue,{goBackContext:bt})):Ie.isMessageSource(we,p)?(h&&(h=!h),Ir(),Ue.iframe&&await Gt(Ue,{goBackContext:bt})):X&&X.length>0?pn().then(()=>{yn.setActiveIframeToPrevious(B);const Kt=X.pop();Ue.iframe=yn.getActiveIframe(B),x=!0,X=X,J=bt,en({params:{link:Kt.path}},Ue)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const Te=we.data.data,Kt={msg:"luigi.navigation.currentRoute.answer",data:{route:va(Te),correlationId:Te.id}};Ie.sendMessageToIframe(Oe,Kt)}if(we.data.msg==="luigi.auth.tokenIssued"&&pi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!se.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ji){const Te=te.addLeadingSlash(rn(we.data.params,Oe.luigi.currentNode,Oe.luigi.pathParams));tt.updateModalDataInUrl(Te,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const Te=Oe.luigi.currentNode,bt=Oe.luigi.pathParams,Kt=we.data.data,Un=rn(Kt,Te,bt),si=Un?await Ut.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Un):!1,ji={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Kt.id,pathExists:si?si.isExistingRoute:!1}};Ie.sendMessageToIframe(Oe,ji)}if(we.data.msg==="luigi.set-page-dirty"){if(!Ne.dirtySet){const Te=new Set;Te.add(we.source),Ne={dirtySet:Te}}Ne.persistUrl=window.location.href,we.data.dirty?Ne.dirtySet.add(we.source):Ne.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Te=we.data.data.settings;ne=B,gl(),_l(Te,!0,Oe).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Te}=we.data.data;if(!Te.text&&!te.isFunction(se.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ne=B,Wi(Te,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(Oe.luigi.clientPermissions&&Oe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Te}=we.data.data;Te&&dt.setCurrentLocale(Te)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(j&&!j.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Tr(),we.data.msg==="storage"&&P2.process(Oe.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Te=Oe.luigi.currentNode;Te&&Te.runTimeErrorHandler&&te.isFunction(Te.runTimeErrorHandler.errorFn)?Te.runTimeErrorHandler.errorFn(we.data.errorObj,Te):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(we.data.errorObj,Te)}if(we.data.msg==="luigi.addSearchParams")if(Oe.luigi.currentNode.clientPermissions&&Oe.luigi.currentNode.clientPermissions.urlParameters){const{data:Te,keepBrowserHistory:bt}=we.data;me.addSearchParamsFromClient(Oe.luigi.currentNode,Te,bt)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(Ji)return;const{data:Te,keepBrowserHistory:bt}=we.data;ll.addNodeParams(Te,bt)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Te}=we.data;ll.setAnchor(Te)}if(we.data.msg==="luigi.setVGData"){const Te=we.data,bt=me.findViewGroup(Oe.luigi.currentNode);if(bt){const Kt=yn.getViewGroupSettings(bt);Kt._liveCustomData=Te.data,se.configChanged("navigation.nodes")}}}),Ui(B,Ue)}Yr("store",l),Yr("getTranslation",r);const Tr=B=>{j&&j.thirdPartyCookieErrorHandling&&te.isFunction(j.thirdPartyCookieErrorHandling)&&j.thirdPartyCookieErrorHandling()},ql=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ve=rn(ue),Je=Ve?await Ut.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Ve):!1;return Je?Je.isExistingRoute:!1},wa=()=>wt.length>0||X.length!==0;Yt(()=>{if(I_._init(),fe=se.getConfigValue("globalSearch.searchProvider"),ie=se.getConfigValue("settings.responsiveNavigation"),Hi=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ye.getBurgerTooltipConfig()){const[B,ue]=ye.getBurgerTooltipConfig();B&&ue&&t(19,re=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ye.getBurgerTooltipConfig()){const[B,ue]=ye.getBurgerTooltipConfig();if(B&&ue){const Ve=JSON.parse(localStorage.getItem(ye.COL_NAV_KEY));t(19,re=Ve?B:ue)}}document.body.classList.add("lui-semiCollapsible")}j=se.getConfigValue("settings.thirdPartyCookieCheck"),j&&j.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=j.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{yy()==="disabled"&&Tr()}),document.body.removeChild(B)}})}),ma(()=>{Sl()}),On(()=>{t(20,on=se.getConfigValue("navigation.breadcrumbs")),fe=se.getConfigValue("globalSearch.searchProvider"),t(24,Ul=se.getConfigValue("tag")),t(25,Bl=se.getConfigValue("settings.header.disabled"))});const os=B=>ri(B,!0),Lr=(B,ue)=>vl(ue,B),Ar=(B,ue)=>wl(ue,B),qi=()=>pl(!0),us=()=>pl(!1);function fs(B){Mt=B,t(6,Mt)}function Sa(B){Ee=B,t(0,Ee)}function cs(B){$e=B,t(3,$e)}function ds(B){Vt=B,t(4,Vt)}function hs(B){Rt=B,t(5,Rt)}function gs(B){De=B,t(1,De)}function ka(B){pe=B,t(2,pe)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ee=B.isSearchFieldVisible),"inputElem"in B&&t(1,De=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,pe=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,$e=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,Vt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Rt=B.searchResult),"storedUserSettings"in B&&t(6,Mt=B.storedUserSettings)},[Ee,De,pe,$e,Vt,Rt,Mt,Pt,ii,bi,Gl,s,o,_,L,he,He,Se,ve,re,on,cl,li,dl,Ul,Bl,bn,zi,wt,K,mi,ni,kr,Cr,fl,yr,Pr,pl,vl,wl,ri,is,ls,Nr,Ir,as,l,r,ee,Me,ct,Nt,mt,mn,Nn,ul,Bi,br,vr,wr,Fl,Sr,Wi,_l,Gi,rs,ql,wa,os,Lr,Ar,qi,us,fs,Sa,cs,ds,hs,gs,ka]}class Ry extends At{constructor(e){super(),Lt(this,e,Ay,Ly,yt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const Ey=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},B_=Ey(),Dy=Yw((i,e,t)=>dt.getTranslation(i,e,t));Luigi._store=B_;const Vy=()=>new Promise(i=>{dt._init(),ln.init().then(()=>{setTimeout(()=>{let e;Mn.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Ry({target:Mn.getLuigiContainer(),props:{store:B_,getTranslation:Dy}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});se.setConfigCallbacks(Vy);
|
|
63
|
+
<div class="fd-busy-indicator__circle svelte-1262ssy"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1262ssy"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=g_(e,ha,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=__(e,ha,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function Yg(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function m(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new ty({props:S}),$e.push(()=>pt(e,"isSearchFieldVisible",g)),$e.push(()=>pt(e,"displaySearchResult",h)),$e.push(()=>pt(e,"displayCustomSearchResult",_)),$e.push(()=>pt(e,"searchResult",p)),$e.push(()=>pt(e,"inputElem",m)),$e.push(()=>pt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],_t(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],_t(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],_t(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],_t(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],_t(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],_t(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Qg(i){let e,t,n,l;e=new wy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Zg(i);return{c(){qe(e.$$.fragment),t=G(),r&&r.c(),n=ke()},m(s,o){ze(e,s,o),R(s,t,o),r&&r.m(s,o),R(s,n,o),l=!0},p(s,o){const c={};o[0]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&U(r,1)):(r=Zg(s),r.c(),U(r,1),r.m(n.parentNode,n)):r&&(Ae(),q(r,1,1,()=>{r=null}),Re())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){Ge(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function Zg(i){let e,t;return e=new Cy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Xg(i){let e,t;return e=new DS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function $g(i){let e,t;return e=new hy({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Ly(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Hg(i),N=i[28],I=[];for(let $=0;$<N.length;$+=1)I[$]=zg(Bg(i,N,$));const D=$=>q(I[$],1,1,()=>{I[$]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&Gg(i),L=i[27].displayed&&qg(i),V=i[18].displayed&&Kg(i);o=new ts({props:{disable:i[13],$$slots:{default:[Ty]},$$scope:{ctx:i}}});let O=i[11]&&jg(),F=!i[25]&&Yg(i),W=!i[21]&&Qg(i),oe=!(i[21]||i[22])&&Xg(i),fe=i[16]&&!i[21]&&$g(i);return{c(){e=k("div"),C&&C.c(),t=G();for(let $=0;$<I.length;$+=1)I[$].c();n=G(),T&&T.c(),l=G(),L&&L.c(),r=G(),V&&V.c(),s=G(),qe(o.$$.fragment),c=G(),O&&O.c(),g=G(),F&&F.c(),h=G(),W&&W.c(),_=G(),oe&&oe.c(),p=G(),fe&&fe.c(),f(e,"id","app"),f(e,"class",m=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-1262ssy"),f(e,"configversion",i[24])},m($,x){R($,e,x),C&&C.m(e,null),w(e,t);for(let Q=0;Q<I.length;Q+=1)I[Q].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),W&&W.m(e,null),w(e,_),oe&&oe.m(e,null),w(e,p),fe&&fe.m(e,null),v=!0,S||(y=le(Ny,"resize",i[35]),S=!0)},p($,x){if($[26]&&$[26].length?C?(C.p($,x),x[0]&67108864&&U(C,1)):(C=Hg($),C.c(),U(C,1),C.m(e,t)):C&&(Ae(),q(C,1,1,()=>{C=null}),Re()),x[0]&268443648|x[1]&896){N=$[28];let J;for(J=0;J<N.length;J+=1){const he=Bg($,N,J);I[J]?(I[J].p(he,x),U(I[J],1)):(I[J]=zg(he),I[J].c(),U(I[J],1),I[J].m(e,n))}for(Ae(),J=N.length;J<I.length;J+=1)D(J);Re()}$[29].displayed&&$[29].settings.isDrawer?T?(T.p($,x),x[0]&536870912&&U(T,1)):(T=Gg($),T.c(),U(T,1),T.m(e,l)):T&&(Ae(),q(T,1,1,()=>{T=null}),Re()),$[27].displayed?L?(L.p($,x),x[0]&134217728&&U(L,1)):(L=qg($),L.c(),U(L,1),L.m(e,r)):L&&(Ae(),q(L,1,1,()=>{L=null}),Re()),$[18].displayed?V?(V.p($,x),x[0]&262144&&U(V,1)):(V=Kg($),V.c(),U(V,1),V.m(e,s)):V&&(Ae(),q(V,1,1,()=>{V=null}),Re());const Q={};x[0]&8192&&(Q.disable=$[13]),x[0]&12288|x[4]&8388608&&(Q.$$scope={dirty:x,ctx:$}),o.$set(Q),$[11]?O?x[0]&2048&&U(O,1):(O=jg(),O.c(),U(O,1),O.m(e,g)):O&&(Ae(),q(O,1,1,()=>{O=null}),Re()),$[25]?F&&(Ae(),q(F,1,1,()=>{F=null}),Re()):F?(F.p($,x),x[0]&33554432&&U(F,1)):(F=Yg($),F.c(),U(F,1),F.m(e,h)),$[21]?W&&(Ae(),q(W,1,1,()=>{W=null}),Re()):W?(W.p($,x),x[0]&2097152&&U(W,1)):(W=Qg($),W.c(),U(W,1),W.m(e,_)),$[21]||$[22]?oe&&(Ae(),q(oe,1,1,()=>{oe=null}),Re()):oe?(oe.p($,x),x[0]&6291456&&U(oe,1)):(oe=Xg($),oe.c(),U(oe,1),oe.m(e,p)),$[16]&&!$[21]?fe?(fe.p($,x),x[0]&2162688&&U(fe,1)):(fe=$g($),fe.c(),U(fe,1),fe.m(e,null)):fe&&(Ae(),q(fe,1,1,()=>{fe=null}),Re()),(!v||x[0]&48234496&&m!==(m=($[21]?"no-nav":"")+" "+($[22]?"no-side-nav":"")+" "+($[25]?"no-top-nav":"")+" "+($[23]?"no-animation":"")+" svelte-1262ssy"))&&f(e,"class",m),(!v||x[0]&16777216)&&f(e,"configversion",$[24])},i($){if(!v){U(C);for(let x=0;x<N.length;x+=1)U(I[x]);U(T),U(L),U(V),U(o.$$.fragment,$),U(O),U(F),U(W),U(oe),U(fe),v=!0}},o($){q(C),I=I.filter(Py);for(let x=0;x<I.length;x+=1)q(I[x]);q(T),q(L),q(V),q(o.$$.fragment,$),q(O),q(F),q(W),q(oe),q(fe),v=!1},d($){$&&A(e),C&&C.d(),ft(I,$),T&&T.d(),L&&L.d(),V&&V.d(),Ge(o),O&&O.d(),F&&F.d(),W&&W.d(),oe&&oe.d(),fe&&fe.d(),S=!1,y()}}}function Ay(i,e,t){const n=Ht();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,m,v,S,y,C,N,I,D,T,L,V,O,F,W,oe,fe,$,x=!0,Q=!1,J,he,ne,Y=[],Pe={isDirty:!1,persistUrl:null},ie,He,Se=!1,ce,X,ge={},re,{isSearchFieldVisible:Ee}=e,{inputElem:De}=e,{luigiCustomSearchRenderer__slot:be}=e,{displaySearchResult:Ze}=e,{displayCustomSearchResult:Nt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:wt}=e,Qt;const Oi=async B=>{const ue=B.iframe.luigi,Ve=ue.currentNode&&ue.currentNode.userSettingsGroup,Je=await se.readUserSettings(),Ue=Ve&&typeof Je=="object"&&Je!==null,we=Ie.applyCoreStateData({isNavigateBack:Q,viewStackSize:Y.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Ue?Je[Ve]:null,anchor:ll.getAnchor()});return Ie.specialIframeTypes.map(Oe=>Oe.iframeConfigKey).forEach(Oe=>{we[Oe]=B[Oe]||!1}),we},zt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ve={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Oi(B)),authData:rl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ve,Ie.sendMessageToIframe(B.iframe,Ve)},pi=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ie.broadcastMessageToAllIframes(ue)},Fi=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ve=sn(B.params),Je=tt.getNodePath(O,V);Y.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?te.replaceVars(Je,ue.iframe.luigi.pathParams,":",!1):Je,nextPath:Ve.startsWith("/")?Ve:"/"+Ve,context:D}),ue.iframe.pv="pv"}},tn=(B,ue,Ve,Je)=>{let Ue=sn(B.params,Ve,Je);const{preventHistoryEntry:we,preserveQueryParams:Oe,preventContextUpdate:ut}=B.params,Mt={keepBrowserHistory:!we,navSync:x,preventContextUpdate:ut};return Ue=te.addLeadingSlash(Ue),Ue=Oe?me.composeSearchParamsToRoute(Ue):Ue,Fi(B,ue),tt.navigateTo(Ue,Mt)},Zt=B=>B.split("?")[0],Qn=(B,ue)=>{if(B.length===0)return!1;const Ve=ue.startsWith("/")?ue:`/${ue}`,Je=[...B].pop();return[Zt(Je.path),Zt(Je.nextPath)].includes(Zt(Ve))},Dt=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},mn=B=>new Promise((ue,Ve)=>{vi(B)?zl().then(()=>{Dt(),ue()},()=>{Ve()}):ue()}),Xt=()=>({get:()=>({unsavedChanges:Pe,hideNav:cl,viewUrl:F,nodeParams:T,viewGroup:W,urlParamsRaw:V,currentNode:O,navigationPath:he,context:D,pathParams:L,hideSideNav:li,isolateView:oe,pageErrorHandler:fe,previousNodeValues:$,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:He,isNavigateBack:Q,goBackContext:J,isNavigationSyncEnabled:x}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(21,cl=B.hideNav):ue==="viewUrl"?F=B.viewUrl:ue==="nodeParams"?T=B.nodeParams:ue==="viewGroup"?W=B.viewGroup:ue==="urlParamsRaw"?V=B.urlParamsRaw:ue==="currentNode"?O=B.currentNode:ue==="navigationPath"?t(15,he=B.navigationPath):ue==="context"?D=B.context:ue==="pathParams"?t(14,L=B.pathParams):ue==="hideSideNav"?(li!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Ve=document.querySelector("#app");Ve&&Ve.classList.remove("no-animation")})),t(22,li=B.hideSideNav)):ue==="isolateView"?oe=B.isolateView:ue==="pageErrorHandler"?fe=B.pageErrorHandler:ue==="previousNodeValues"?$=B.previousNodeValues:ue==="mfSplitView"?t(12,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?y=B.splitViewIframe:ue=="splitViewWC"?N=B.splitViewWC:ue==="showLoadingIndicator"?t(11,s=B.showLoadingIndicator):ue==="tabNav"?t(16,He=B.tabNav):ue==="isNavigateBack"?Q=B.isNavigateBack:ue==="goBackContext"?J=B.goBackContext:ue==="isNavigationSyncEnabled"&&(x=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:vi,getUnsavedChangesModalPromise:mn,showUnsavedChangesModal:zl,showAlert:Wi,prepareInternalData:Oi,dispatch:n}),Ui=(B,ue)=>{un.doOnStoreChange(l,()=>{Mn.deleteCache();const Ve=tt.getCurrentPath();tt.handleRouteChange(Ve,Xt(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ve,Je)=>{const{withoutSync:Ue,preventContextUpdate:we}=Je||{};Qn(Y,Ve)||(Y=[],Pn.removeInactiveIframes(B));for(let ut=St.length;ut--;)ri(ut);es.removeBackdrop(),Bi(),tt.handleRouteChange(Ve,Xt(),B,ue,Ue,we)})},Gt=(B,ue)=>te.replaceVars(tt.getNodePath(B),ue,":",!1),sn=(B,ue,Ve)=>{const Je=ue||O,Ue=Ve||L;let we=he;if(ue){let ut=ue.parent;for(we=[ue];ut;)we.push(ut),ut=ut.parent;we=[...we].reverse()}let Oe=B.link;if(B.fromVirtualTreeRoot){const ut=[...we].reverse().find(Mt=>Mt.virtualTree);if(!ut){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Oe=tt.concatenatePath(Gt(ut,Ue),B.link)}else if(B.fromParent)Oe=tt.concatenatePath(Gt(Je.parent,Ue),B.link);else if(B.fromClosestContext){const ut=[...we].reverse().find(Mt=>Mt.navigationContext&&Mt.navigationContext.length>0);Oe=tt.concatenatePath(Gt(ut,Ue),B.link)}else if(B.fromContext){const ut=B.fromContext,Mt=[...we].reverse().find(Rr=>ut===Rr.navigationContext);Oe=tt.concatenatePath(Gt(Mt,Ue),B.link)}else B.intent?Oe=me.getIntentPath(B.link):B.relative&&(Oe=tt.concatenatePath(Gt(Je,Ue),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Oe+=Oe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((ut,Mt)=>{Oe+=encodeURIComponent(me.getContentViewParamPrefix()+ut[0])+"="+encodeURIComponent(ut[1])+(Mt<Object.keys(B.nodeParams).length-1?"&":"")})),Oe},mi=B=>{const ue=B.detail.node;mn().then(()=>{if(Hl(),ue.openNodeInModal){const Ve=me.buildRoute(ue,`/${ue.pathSegment}`);bl(Ve,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ve=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,wn(Ve,ue.drawer)}else Xt().set({isNavigationSyncEnabled:!0}),tt.handleRouteClick(ue,Xt())},()=>{})},ni=()=>{t(17,Se=!Se)};Yr("handleNavigation",tn);const an=B=>B?!0:(console.warn("No search provider defined."),!1),ee=()=>{an(X)&&t(0,Ee=!1)},Me=()=>{an(X)&&De&&(t(0,Ee=!0),De.focus())},dt=()=>{an(X)&&De&&(t(1,De.value="",De),ii())},It=()=>{t(0,Ee=!Ee),t2.clearSearchField()},Tt=()=>{if(an(X)&&De)return De.value},mt=B=>{an(X)&&De&&(t(1,De.value=B,De),te.isFunction(X.onInput)?X.onInput():console.error("onInput is not a function. Please check the global search configuration."))},bn=B=>{an(X)&&De&&t(1,De.placeholder=B,De)},In=B=>{if(an(X))if(B&&B.length>0)if(te.isFunction(X.customSearchResultRenderer)){t(4,Nt=!0);let ue={fireItemSelected:Ve=>{X.onSearchResultItemSelected(Ve)}};X.customSearchResultRenderer(B,be,ue)}else t(3,Ze=!0),t(5,Yt=B);else console.warn("Search result array is empty.")},ii=()=>{if(an(X)&&(t(3,Ze=!1),t(5,Yt=[]),be))for(;be.lastElementChild;)be.removeChild(be.lastElementChild)},bi=B=>{let ue=B.detail.node,Ve={params:{link:ue.link,nodeParams:ue.params}};tn(Ve)},ul=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=rt.getDefaultData().mfSplitView),rt.open(Xt(),B,ue)},Bi=()=>{rt.close(Xt())},br=()=>{rt.collapse(Xt()),t(12,o.collapsed=!0,o)},vr=()=>{rt.expand(Xt()),t(12,o.collapsed=!1,o)},wr=()=>o.displayed?o.collapsed:!1,Fl=()=>o.displayed?!o.collapsed:!1,Sr=()=>o.displayed,kr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},Cr=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},fl=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let cl,li,dl,Hi,Ul,Bl;const Hl=()=>{document.body.classList.remove("lui-leftNavToggle")},yr=()=>{Sl();const B=window.innerWidth>=en.desktopMinWidth&&Hi<en.desktopMinWidth,ue=window.innerWidth<en.desktopMinWidth&&Hi>=en.desktopMinWidth;(B||ue)&&Hl(),Hi=window.innerWidth};let vn=[];const hl=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ve=>Ve.settings.id===ue)[0]},Wi=(B,ue=!1)=>{const Ve=se.getConfigValue("settings.customAlertHandler");if(te.isFunction(Ve)){const Ue=Ve(B,ue);if(Ue!==!1)return Ue}const Je=vn;return B.id||(B.id=te.getRandomId()),B.id&&Je&&hl(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{hl(vn,B.id)&&Wl(B.id)},B.closeAfter),new Promise((Ue,we)=>{t(26,vn=[...Je||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ue}}])}))},Wl=(B,ue)=>{const Ve=hl(vn,B);if(!Ve){console.error("An unexisting alert has been dismissed.",vn,B);return}if(t(26,vn=vn.filter(Je=>Je.settings.id!==B)),Ve.openFromClient){const Je=Pn.getActiveIframe(ne),Ue={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ie.sendMessageToIframe(Je,Ue)}else Ve.promise&&Ve.promise.resolve(ue||B)},Pr=B=>{Wl(B.detail.id,B.detail.dismissKey)};let zi;const gl=()=>{t(27,zi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,ue=!1,Ve)=>new Promise((Je,Ue)=>{t(27,zi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Je,reject:Ue},targetIframe:Ve})}),pl=B=>{const{promise:ue,openFromClient:Ve,targetIframe:Je}=zi;if(gl(),B?ue.resolve():ue.reject(),Ve&&Je){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ie.sendMessageToIframe(Je,Ue)}},vi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},zl=()=>_l({header:ht.getTranslation("luigi.unsavedChangesAlert.header"),body:ht.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:ht.getTranslation("luigi.button.dismiss"),buttonConfirm:ht.getTranslation("luigi.button.confirm")}),Gi=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",mn);let St=[];const ml=B=>{if(typeof B>"u"){t(28,St=[]);return}t(28,St=St.filter((ue,Ve)=>B!==Ve))};ml();const bl=async(B,ue)=>{if(await Ce.shouldPreventNavigationForPath(B))return;const Ve={mfModal:{displayed:!0,nodepath:B,settings:ue}};t(28,St=[...St,Ve]),se.getConfigBooleanValue("routing.showModalPathInUrl")&&St.length===1&&tt.appendModalDataToUrl(B,ue)},vl=(B,ue)=>{t(28,St[ue].modalIframe=B.detail.modalIframe,St),t(28,St[ue].modalIframeData=B.detail.modalIframeData,St)},wl=(B,ue)=>{t(28,St[ue].modalWC=B.detail.modalWC,St),t(28,St[ue].modalWCData=B.detail.modalWCData,St)},ri=(B,ue,Ve)=>{const Je=(Oe,ut)=>{se.getConfigBooleanValue("routing.showModalPathInUrl")&&St.length===1&&tt.removeModalDataFromUrl(ut),ml(Oe)},Ue=St[B],we=te.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?mn(Ue.modalIframe.contentWindow).then(()=>{Je(B,ue),we&&we.doResolve(Ve)},()=>{}):Ue&&Ue.modalWC&&(Je(B,ue),we&&we.doResolve(Ve))};Yr("openViewInModal",bl);let K={};const yt=()=>{t(29,K.displayed=!1,K),t(29,K.nodepath=void 0,K),t(29,K.settings={},K),t(13,_=!1)};yt();const wn=async(B,ue)=>{await Ce.shouldPreventNavigationForPath(B)||(t(29,K.displayed=!0,K),t(29,K.nodepath=B,K),t(29,K.settings=ue,K),K.settings&&K.settings.backdrop&&t(13,_=!0))},wi=()=>window.innerWidth>=en.desktopMinWidth&&K.displayed&&K.settings&&!K.settings.overlap,Sl=()=>{if(!wi())return;const B=document.querySelector(".iframeModalCtn._drawer"),ue=Ie.getCurrentMicrofrontendIframe();if(B&&ue){ue.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ve}=getComputedStyle(B),Je=ue.clientWidth;ue.setAttribute("style",`width: calc(${Je}px - ${Ve})`)}},is=B=>{p=B.detail.modalIframe,m=B.detail.modalIframeData,Sl()},ls=B=>{v=B.detail.modalWC,B.detail.modalWCData,Sl()},Nr=B=>{h=B.detail.activeDrawer},Ir=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?mn(p.contentWindow).then(()=>{yt()},()=>{}):v&&mn().then(()=>{yt()},()=>{}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(ue){console.log(ue)}},rs=()=>{const B=fr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,ge.userSettingGroups=[...B],ge),t(18,ge.displayed=!0,ge)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},Gl=()=>{t(18,ge.displayed=!1,ge)},ss=async B=>{if(await Ce.shouldPreventNavigationForPath(B))return;se.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},va=B=>{let ue=he;if(O){let Ue=O.parent;for(ue=[O];Ue;)ue.push(Ue),Ue=Ue.parent;ue=[...ue].reverse()}let Ve=B.link,Je=Gt(O,L);if(B.fromVirtualTreeRoot){const Ue=[...ue].reverse().find(Oe=>Oe.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Gt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromParent){const Ue=Gt(O.parent,L);Ve=Je.split(Ue).join("")}else if(B.fromClosestContext){const Ue=[...ue].reverse().find(Oe=>Oe.navigationContext&&Oe.navigationContext.length>0),we=Gt(Ue,L);Ve=Je.split(we).join("")}else if(B.fromContext){const Ue=B.fromContext,we=[...ue].reverse().find(ut=>Ue===ut.navigationContext),Oe=Gt(we,L);Ve=Je.split(Oe).join("")}else Ve=Je;return Ve};function as(B){sessionStorage.removeItem("historyState"),or.shouldPreload=!0,or.preload(!0),or.shouldPreload=!1;const ue=se.getConfigValue("navigation.defaults.isolateView"),Ve=se.getConfigValue("navigation.defaults.pageErrorHandler"),Je=se.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:ue,defaultPageErrorHandler:Ve};ht.addCurrentLocaleChangeListener(we=>{const Oe={msg:"luigi.current-locale-changed",currentLocale:we};Ie.broadcastMessageToAllIframes(Oe)}),Nn.addEventListener("popstate",async we=>{const Oe=vn;if(!Oe||!(Oe.length>0))return;const ut=Oe.map(Mt=>{if(Mt&&!Mt.openFromClient&&typeof Mt.settings.ttl=="number"){if(Mt.settings.ttl===0)return null;Mt.settings.ttl--}return Mt}).filter(Mt=>Mt);t(26,vn=ut)}),Nn.addEventListener("message",async we=>{const Oe=Ie.getValidMessageSource(we),ut=St[St.length-1],Mt=ut&&ut.modalIframe,Rr=ut&&ut.modalIframeData,Ki={modalIframe:Mt,modalIframeData:Rr,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!Oe)return;Oe._ready=!0;const Er=Ie.getSpecialIframeMessageSource(we,Ki),Ji=Er&&Er.length>0,kt=se.getConfigValue("communication.skipEventsWhenInactive");if(kt&&kt.length>0&&!Ji&&Oe.contentWindow!==window&&!te.isElementVisible(Oe)&&kt.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Te=se.getConfigValue("communication.customMessagesListeners")||{},bt=ca.convertCustomMessageInternalToUser(we.data),qt=Te[bt.id],Un="luigi.updateUserSettings";if(ge&&bt.id===Un){qt&&console.warn(`The key "${Un}" is not allowed to use for custom messages.`);return}if(typeof qt=="function"){const si=On.getMicrofrontends().find(ji=>Ie.isMessageSource(we,ji.container));qt(bt,si,te.removeInternalProperties(Oe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${bt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(Oe.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(Oe.luigi.viewUrl=Oe.luigi.nextViewUrl,Oe.luigi.nextViewUrl="",Oe.luigi.clientPermissions=Oe.luigi.nextClientPermissions,delete Oe.luigi.nextClientPermissions,Ue.navigateOk=!0,or.preload()),we.data.msg==="luigi.get-context"){if(Oe.luigi.clientVersion=we.data.clientVersion,Oe.luigi.initOk=!1,Ji)Er.forEach(async Te=>{let bt=Ki[Te.dataKey].context;const qt={...Ue,iframe:Ki[Te.iframeKey],context:bt,pathParams:Ki[Te.dataKey].pathParams,nodeParams:Ki[Te.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Ki[Te.iframeKey].luigi.currentNode),modal:Te.iframeKey.startsWith("modal"),drawer:Te.iframeKey.startsWith("drawer"),splitView:Te.iframeKey.startsWith("splitView")};await zt(qt,{})});else if(Ue.iframe&&Ie.isMessageSource(we,Ue.iframe))await zt(Ue,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),or.preload();else if(Oe.luigi.preloading)await zt({iframe:Oe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Te=fr.findActiveCustomUserSettingsIframe(we.source);if(Te){let bt=Te.getAttribute("userSettingsGroup"),qt={context:{userSettingsData:wt[bt]},iframe:Te};await zt(qt)}}or.viewGroupLoaded(Oe)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),we.data.msg==="luigi.navigation.open"){Q=!1;const Te=window.location.href,bt=Ji?Oe.luigi.currentNode:void 0,qt=Ji?Oe.luigi.pathParams:void 0,Un=we.data.params,{intent:si,newTab:ji,modal:kl,splitView:Kl,drawer:Jl,withoutSync:nn}=Un;let Cl=ji||kl||Kl||Jl;const Si=()=>{const Tn=te.getRemotePromise(we.data.remotePromiseId);Tn&&Tn.doResolve()},yl=()=>{const Tn=te.getRemotePromise(we.data.remotePromiseId);Tn&&Tn.doReject()},ki=Tn=>{!Tn||Te!==window.location.href?Si():yl()};we.source!==window&&!si&&Un.link&&(Un.link=Un.link.split("?")[0]);let Lt=sn(we.data.params,bt,qt);if(Cl=Cl||si&&Lt.external,!Cl)mn().then(()=>{x=!we.data.params.withoutSync,tn(we.data,Ue,bt,qt).then(()=>{ki(!0)}).catch(()=>{yl()}),St.forEach((Tn,_s)=>{ri(_s)}),Bi(),Ir(),x=!0}).catch(()=>{yl()});else{if(si&&Lt.external){tt.navigateToExternalLink({url:Lt.url,sameWindow:!Lt.openInNewTab});return}if(Lt=te.addLeadingSlash(Lt),ji){await ss(Lt),ki();return}const Tn=await ql(Lt);if(Lt=await me.handlePageNotFoundAndRetrieveRedirectPath(Xt(),Lt,Tn),!Lt){yl();return}ne=B,kl!==void 0?(!kl.keepPrevious&&ml(),await bl(Lt,kl===!0?{}:kl),ki()):Kl!==void 0?(await ul(Lt,Kl),ki()):Jl!==void 0&&(yt(),Jl.isDrawer=!0,await wn(Lt,Jl),ki())}}if(we.data.msg==="luigi.navigation.back"){const Te=St[St.length-1],bt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);Ie.isMessageSource(we,Te&&Te.modalIframe)?(ri(St.length-1,!0,bt),Ue.iframe&&await zt(Ue,{goBackContext:bt})):Ie.isMessageSource(we,y)?(Bi(),Ue.iframe&&await zt(Ue,{goBackContext:bt})):Ie.isMessageSource(we,p)?(h&&(h=!h),Ir(),Ue.iframe&&await zt(Ue,{goBackContext:bt})):Y&&Y.length>0?mn().then(()=>{Pn.setActiveIframeToPrevious(B);const qt=Y.pop();Ue.iframe=Pn.getActiveIframe(B),Q=!0,Y=Y,J=bt,tn({params:{link:qt.path}},Ue)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const Te=we.data.data,qt={msg:"luigi.navigation.currentRoute.answer",data:{route:va(Te),correlationId:Te.id}};Ie.sendMessageToIframe(Oe,qt)}if(we.data.msg==="luigi.auth.tokenIssued"&&pi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!se.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ji){const Te=te.addLeadingSlash(sn(we.data.params,Oe.luigi.currentNode,Oe.luigi.pathParams));tt.updateModalDataInUrl(Te,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const Te=Oe.luigi.currentNode,bt=Oe.luigi.pathParams,qt=we.data.data,Un=sn(qt,Te,bt),si=Un?await Ft.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Un):!1,ji={msg:"luigi.navigation.pathExists.answer",data:{correlationId:qt.id,pathExists:si?si.isExistingRoute:!1}};Ie.sendMessageToIframe(Oe,ji)}if(we.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const Te=new Set;Te.add(we.source),Pe={dirtySet:Te}}Pe.persistUrl=window.location.href,we.data.dirty?Pe.dirtySet.add(we.source):Pe.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Te=we.data.data.settings;ne=B,gl(),_l(Te,!0,Oe).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Te}=we.data.data;if(!Te.text&&!te.isFunction(se.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ne=B,Wi(Te,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(Oe.luigi.clientPermissions&&Oe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Te}=we.data.data;Te&&ht.setCurrentLocale(Te)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Tr(),we.data.msg==="storage"&&P2.process(Oe.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Te=Oe.luigi.currentNode;Te&&Te.runTimeErrorHandler&&te.isFunction(Te.runTimeErrorHandler.errorFn)?Te.runTimeErrorHandler.errorFn(we.data.errorObj,Te):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(we.data.errorObj,Te)}if(we.data.msg==="luigi.addSearchParams")if(Oe.luigi.currentNode.clientPermissions&&Oe.luigi.currentNode.clientPermissions.urlParameters){const{data:Te,keepBrowserHistory:bt}=we.data;me.addSearchParamsFromClient(Oe.luigi.currentNode,Te,bt)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(Ji)return;const{data:Te,keepBrowserHistory:bt}=we.data;ll.addNodeParams(Te,bt)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Te}=we.data;ll.setAnchor(Te)}if(we.data.msg==="luigi.setVGData"){const Te=we.data,bt=me.findViewGroup(Oe.luigi.currentNode);if(bt){const qt=Pn.getViewGroupSettings(bt);qt._liveCustomData=Te.data,se.configChanged("navigation.viewgroupdata")}}}),Ui(B,Ue)}Yr("store",l),Yr("getTranslation",r);const Tr=B=>{ce&&ce.thirdPartyCookieErrorHandling&&te.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()},ql=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ve=sn(ue),Je=Ve?await Ft.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Ve):!1;return Je?Je.isExistingRoute:!1},wa=()=>St.length>0||Y.length!==0;jt(()=>{if(I_._init(),X=se.getConfigValue("globalSearch.searchProvider"),ie=se.getConfigValue("settings.responsiveNavigation"),Hi=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Ce.getBurgerTooltipConfig()){const[B,ue]=Ce.getBurgerTooltipConfig();B&&ue&&t(19,re=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Ce.getBurgerTooltipConfig()){const[B,ue]=Ce.getBurgerTooltipConfig();if(B&&ue){const Ve=JSON.parse(localStorage.getItem(Ce.COL_NAV_KEY));t(19,re=Ve?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ce=se.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{yy()==="disabled"&&Tr()}),document.body.removeChild(B)}})}),ma(()=>{Sl()}),Fn(()=>{t(20,Qt=se.getConfigValue("navigation.breadcrumbs")),X=se.getConfigValue("globalSearch.searchProvider"),t(24,Ul=se.getConfigValue("tag")),t(25,Bl=se.getConfigValue("settings.header.disabled"))});const os=B=>ri(B,!0),Lr=(B,ue)=>vl(ue,B),Ar=(B,ue)=>wl(ue,B),qi=()=>pl(!0),us=()=>pl(!1);function fs(B){wt=B,t(6,wt)}function Sa(B){Ee=B,t(0,Ee)}function cs(B){Ze=B,t(3,Ze)}function ds(B){Nt=B,t(4,Nt)}function hs(B){Yt=B,t(5,Yt)}function gs(B){De=B,t(1,De)}function ka(B){be=B,t(2,be)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ee=B.isSearchFieldVisible),"inputElem"in B&&t(1,De=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,be=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,Nt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Yt=B.searchResult),"storedUserSettings"in B&&t(6,wt=B.storedUserSettings)},[Ee,De,be,Ze,Nt,Yt,wt,It,ii,bi,Gl,s,o,_,L,he,He,Se,ge,re,Qt,cl,li,dl,Ul,Bl,vn,zi,St,K,mi,ni,kr,Cr,fl,yr,Pr,pl,vl,wl,ri,is,ls,Nr,Ir,as,l,r,ee,Me,dt,Tt,mt,bn,In,ul,Bi,br,vr,wr,Fl,Sr,Wi,_l,Gi,rs,ql,wa,os,Lr,Ar,qi,us,fs,Sa,cs,ds,hs,gs,ka]}class Ry extends Et{constructor(e){super(),Rt(this,e,Ay,Ly,Pt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const Ey=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},B_=Ey(),Dy=Yw((i,e,t)=>ht.getTranslation(i,e,t));Luigi._store=B_;const Vy=()=>new Promise(i=>{ht._init(),rn.init().then(()=>{setTimeout(()=>{let e;On.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Ry({target:On.getLuigiContainer(),props:{store:B_,getTranslation:Dy}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});se.setConfigCallbacks(Vy);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|