@luigi-project/core 2.1.0 → 2.1.1-dev.20230410029
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 +10 -10
- package/luigi.js.map +1 -1
- package/package.json +2 -2
package/luigi.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
function Ue(){}const Lo=i=>i;function hw(i,e){for(const t in e)i[t]=e[t];return i}function gw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Zg(i){return i()}function zf(){return Object.create(null)}function Ze(i){i.forEach(Zg)}function Vi(i){return typeof i=="function"}function Nt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xs;function lt(i,e){return Xs||(Xs=document.createElement("a")),Xs.href=e,i===Xs.href}function _w(i){return Object.keys(i).length===0}function Ao(i,...e){if(i==null)return Ue;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function nl(i){let e;return Ao(i,t=>e=t)(),e}function pi(i,e,t){i.$$.on_destroy.push(Ao(e,t))}function Xg(i,e,t,n){if(i){const l=$g(i,e,t,n);return i[0](l)}}function $g(i,e,t,n){return i[1]&&n?hw(t.ctx.slice(),i[1](n(e))):t.ctx}function xg(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 e_(i,e,t,n,l,r){if(l){const s=$g(e,t,n,r);i.p(s,l)}}function t_(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 kn(i){return i==null?"":i}function pw(i){return i&&Vi(i.destroy)?i.destroy:Ue}const n_=typeof window<"u";let i_=n_?()=>window.performance.now():()=>Date.now(),Ro=n_?i=>requestAnimationFrame(i):Ue;const lr=new Set;function l_(i){lr.forEach(e=>{e.c(i)||(lr.delete(e),e.f())}),lr.size!==0&&Ro(l_)}function r_(i){let e;return lr.size===0&&Ro(l_),{promise:new Promise(t=>{lr.add(e={c:i,f:t})}),abort(){lr.delete(e)}}}function w(i,e){i.appendChild(e)}function s_(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function mw(i){const e=k("style");return bw(s_(i),e),e.sheet}function bw(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 vw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ye(i){return document.createTextNode(i)}function G(){return ye(" ")}function Ce(){return ye("")}function ne(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Lt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Mt(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 ww(i){return Array.from(i.childNodes)}function Pe(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function qf(i,e){i.value=e==null?"":e}function li(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function di(i,e,t){i.classList[t?"add":"remove"](e)}function a_(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class ur{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=vw(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 ta=new Map;let na=0;function Sw(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function kw(i,e){const t={stylesheet:mw(e),rules:{}};return ta.set(i,t),t}function o_(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_${Sw(h)}_${o}`,p=s_(i),{stylesheet:m,rules:v}=ta.get(p)||kw(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`,na+=1,_}function Po(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(", "),na-=l,na||Cw())}function Cw(){Ro(()=>{na||(ta.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),ta.clear())})}let Yr;function Ei(i){Yr=i}function al(){if(!Yr)throw new Error("Function called outside component initialization");return Yr}function Vn(i){al().$$.before_update.push(i)}function Jt(i){al().$$.on_mount.push(i)}function Eo(i){al().$$.after_update.push(i)}function ha(i){al().$$.on_destroy.push(i)}function Wt(){const i=al();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=a_(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Kr(i,e){return al().$$.context.set(i,e),e}function vt(i){return al().$$.context.get(i)}function Ll(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const tr=[],$e=[],xs=[],No=[],yw=Promise.resolve();let Io=!1;function Pw(){Io||(Io=!0,yw.then(Do))}function Rl(i){xs.push(i)}function mt(i){No.push(i)}const Co=new Set;let $l=0;function Do(){if($l!==0)return;const i=Yr;do{try{for(;$l<tr.length;){const e=tr[$l];$l++,Ei(e),Nw(e.$$)}}catch(e){throw tr.length=0,$l=0,e}for(Ei(null),tr.length=0,$l=0;$e.length;)$e.pop()();for(let e=0;e<xs.length;e+=1){const t=xs[e];Co.has(t)||(Co.add(t),t())}xs.length=0}while(tr.length);for(;No.length;)No.pop()();Io=!1,Co.clear(),Ei(i)}function Nw(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Rl)}}let Jr;function u_(){return Jr||(Jr=Promise.resolve(),Jr.then(()=>{Jr=null})),Jr}function ia(i,e,t){i.dispatchEvent(a_(`${e?"intro":"outro"}${t}`))}const ea=new Set;let rl;function De(){rl={r:0,c:[],p:rl}}function Ve(){rl.r||Ze(rl.c),rl=rl.p}function U(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function K(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),rl.c.push(()=>{ea.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const f_={duration:0};function c_(i,e,t){const n={direction:"in"};let l=e(i,t,n),r=!1,s,o,c=0;function g(){s&&Po(i,s)}function h(){const{delay:p=0,duration:m=300,easing:v=Lo,tick:S=Ue,css:y}=l||f_;y&&(s=o_(i,0,1,m,p,v,y,c++)),S(0,1);const C=i_()+p,T=C+m;o&&o.abort(),r=!0,Rl(()=>ia(i,!0,"start")),o=r_(N=>{if(r){if(N>=T)return S(1,0),ia(i,!0,"end"),g(),r=!1;if(N>=C){const D=v((N-C)/m);S(D,1-D)}}return r})}let _=!1;return{start(){_||(_=!0,Po(i),Vi(l)?(l=l(n),u_().then(h)):h())},invalidate(){_=!1},end(){r&&(g(),r=!1)}}}function d_(i,e,t){const n={direction:"out"};let l=e(i,t,n),r=!0,s;const o=rl;o.r+=1;function c(){const{delay:g=0,duration:h=300,easing:_=Lo,tick:p=Ue,css:m}=l||f_;m&&(s=o_(i,1,0,h,g,_,m));const v=i_()+g,S=v+h;Rl(()=>ia(i,!1,"start")),r_(y=>{if(r){if(y>=S)return p(0,1),ia(i,!1,"end"),--o.r||Ze(o.c),!1;if(y>=v){const C=_((y-v)/h);p(1-C,C)}}return r})}return Vi(l)?u_().then(()=>{l=l(n),c()}):c(),{end(g){g&&l.tick&&l.tick(1,0),r&&(s&&Po(i,s),r=!1)}}}function la(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&&_&&(De(),K(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Ve())}):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&&Do()}if(gw(i)){const l=al();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 h_(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 bt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Ge(i){i&&i.c()}function ze(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Rl(()=>{const s=i.$$.on_mount.map(Zg).filter(Vi);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(Rl)}function qe(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Iw(i,e){i.$$.dirty[0]===-1&&(tr.push(i),Pw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,s,o=[-1]){const c=Yr;Ei(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Ue,not_equal:l,bound:zf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:zf(),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&&Iw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=ww(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),Do()}Ei(c)}class Rt{$destroy(){qe(this,1),this.$destroy=Ue}$on(e,t){if(!Vi(t))return Ue;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&&!_w(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class Tw{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),ee.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ee.getConfigValueFromObject(e,t);return ee.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ra=new Tw;class Lw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const sa=new Lw;class Aw{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 En=new Aw;class Rw{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()=>{o2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=Mn.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),Dn.getLuigiContainer().appendChild(n)}getConfigValue(e){return ee.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ee.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ra.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ee.isFunction(l))try{return await ra.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return hi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),Cn.removeAllEventListeners();const e=Dn.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&&ee.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&&ee.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(){En.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 aa=new Rw;class Ew{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await re.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 re.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:()=>ii.getStorageKey(),getStorageType:()=>ii.getStorageType(),getAuthData:()=>ii.getAuthData(),setAuthData:e=>ii.setAuthData(e),removeAuthData:()=>ii.removeAuthData(),setNewlyAuthorized:()=>ii.setNewlyAuthorized()}}}const g_=new Ew,$t={desktopMinWidth:600},Dw=[{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"}],Vw={cssSelector:"[luigi-app-root]"},Mw={cssSelector:"[luigi-app-loading-indicator]"};class Ow{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Vw.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 __=new Ow;class Fw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Yn extends Fw{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=ee.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(ee.isFunction(n)){const l=ee.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(ee.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 Uw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Yn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Yn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Yn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Yn().openAsDrawer(e,t)}fromContext(e){return new Yn().fromContext(e)}fromClosestContext(){return new Yn().fromClosestContext()}fromVirtualTreeRoot(){return new Yn().fromVirtualTreeRoot()}withParams(e){return new Yn().withParams(e)}pathExists(e){return new Yn().pathExists(e)}hasBack(){return new Yn().hasBack()}goBack(e){return new Yn().goBack(e)}}const p_=new Uw,Bw={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"}}},Ww=Bw;class Hw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ww,this.listeners={}}_init(){Mn.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(ee.isFunction(e)){const t=ee.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)}),aa.configChanged()}_initCustomImplementation(){this.translationImpl=aa.getConfigValue("settings.customTranslationImplementation"),ee.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("{"+ar.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const m_=new Hw;class zw{sendToAll(e){const t=sa.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=sa.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const qw=new zw,xl=[];function Gw(i,e){return{subscribe:rr(i,e).subscribe}}function rr(i,e=Ue){let t;const n=new Set;function l(o){if(Nt(i,o)&&(i=o,t)){const c=!xl.length;for(const g of n)g[1](),xl.push(g,i);if(c){for(let g=0;g<xl.length;g+=2)xl[g][0](xl[g+1]);xl.length=0}}}function r(o){l(o(i))}function s(o,c=Ue){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Ue),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Kw{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(Te.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<$t.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<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.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(Te.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(Te.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 ci=new Kw;class Jw{constructor(){this.documentTitle=rr()}hideAppLoadingIndicator(){const e=document.querySelector(Mw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ee.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(ee.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 nl(this.documentTitle)}collapseLeftSideNav(e){ci.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Yn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const b_=new Jw;class jw{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 v_=new jw;class Yw{constructor(){this.currentTheme}async getAvailableThemes(){return await re.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=re.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!!re.getConfigValue("settings.theming")}_init(){const e=()=>{const t=re.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Qr.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")};Mn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const w_=new Yw;class Qw{constructor(){this.featureToggleList=rr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||nl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=nl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}nl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...nl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ee.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return nl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):nl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const S_=new Qw;class Zw{constructor(){}getSearchParams(){const e={},t=new URL(location);if(re.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(!ee.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);re.getConfigValue("routing.useHashRouting")?n.hash=be.addParamsOnHashRouting(e,n.hash):be.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!ee.isObject(e)){console.log("Params argument must be an object");return}const n=be.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=be.addParamsOnHashRouting(e,l.hash,n):be.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),re.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 re.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(re.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 k_=new Zw,re=aa,hi=g_,Dn=__,C_=p_,dt=m_,Zr=b_,Xw=v_,y_=w_,Vo=S_,il=k_;window.Luigi=aa;window.Luigi.auth=()=>g_;window.Luigi.elements=()=>__;window.Luigi.navigation=()=>p_;window.Luigi.i18n=()=>m_;window.Luigi.customMessages=()=>qw;window.Luigi.ux=()=>b_;window.Luigi.globalSearch=()=>v_;window.Luigi.theming=()=>w_;window.Luigi.featureToggles=()=>S_;window.Luigi.routing=()=>k_;class $w{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ee.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=>{!ee.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 re.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)):Te.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||ee.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=be.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(T=>T.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){ee.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({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:D[N.userSettingsGroup]},internal:Ie.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ie.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(N.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 Qn=new $w;class xw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Qn.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 er=new xw;class e2{async getNavigationPath(e,t=""){try{const n=ee.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(En.hasRootNode()&&(l=En.getRootNode().node),!l){const g=await e;ee.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),En.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(En.hasChildren(e)){let r=En.getChildren(e);r&&(n=r.children)}else try{n=await ra.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 En.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return En.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=En.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>Te.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=Te.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=ar.sanitizeParam(o)),g=be.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=ee.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ee.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_${Sw(h)}_${o}`,p=s_(i),{stylesheet:m,rules:v}=ta.get(p)||kw(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`,na+=1,_}function Po(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(", "),na-=l,na||Cw())}function Cw(){Ro(()=>{na||(ta.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),ta.clear())})}let Yr;function Ei(i){Yr=i}function al(){if(!Yr)throw new Error("Function called outside component initialization");return Yr}function Vn(i){al().$$.before_update.push(i)}function Jt(i){al().$$.on_mount.push(i)}function Eo(i){al().$$.after_update.push(i)}function ha(i){al().$$.on_destroy.push(i)}function Wt(){const i=al();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=a_(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Kr(i,e){return al().$$.context.set(i,e),e}function vt(i){return al().$$.context.get(i)}function Ll(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const tr=[],$e=[],xs=[],No=[],yw=Promise.resolve();let Io=!1;function Pw(){Io||(Io=!0,yw.then(Do))}function Rl(i){xs.push(i)}function mt(i){No.push(i)}const Co=new Set;let $l=0;function Do(){if($l!==0)return;const i=Yr;do{try{for(;$l<tr.length;){const e=tr[$l];$l++,Ei(e),Nw(e.$$)}}catch(e){throw tr.length=0,$l=0,e}for(Ei(null),tr.length=0,$l=0;$e.length;)$e.pop()();for(let e=0;e<xs.length;e+=1){const t=xs[e];Co.has(t)||(Co.add(t),t())}xs.length=0}while(tr.length);for(;No.length;)No.pop()();Io=!1,Co.clear(),Ei(i)}function Nw(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Rl)}}let Jr;function u_(){return Jr||(Jr=Promise.resolve(),Jr.then(()=>{Jr=null})),Jr}function ia(i,e,t){i.dispatchEvent(a_(`${e?"intro":"outro"}${t}`))}const ea=new Set;let rl;function De(){rl={r:0,c:[],p:rl}}function Ve(){rl.r||Ze(rl.c),rl=rl.p}function U(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function K(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),rl.c.push(()=>{ea.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}const f_={duration:0};function c_(i,e,t){const n={direction:"in"};let l=e(i,t,n),r=!1,s,o,c=0;function g(){s&&Po(i,s)}function h(){const{delay:p=0,duration:m=300,easing:v=Lo,tick:S=Ue,css:y}=l||f_;y&&(s=o_(i,0,1,m,p,v,y,c++)),S(0,1);const C=i_()+p,T=C+m;o&&o.abort(),r=!0,Rl(()=>ia(i,!0,"start")),o=r_(N=>{if(r){if(N>=T)return S(1,0),ia(i,!0,"end"),g(),r=!1;if(N>=C){const D=v((N-C)/m);S(D,1-D)}}return r})}let _=!1;return{start(){_||(_=!0,Po(i),Vi(l)?(l=l(n),u_().then(h)):h())},invalidate(){_=!1},end(){r&&(g(),r=!1)}}}function d_(i,e,t){const n={direction:"out"};let l=e(i,t,n),r=!0,s;const o=rl;o.r+=1;function c(){const{delay:g=0,duration:h=300,easing:_=Lo,tick:p=Ue,css:m}=l||f_;m&&(s=o_(i,1,0,h,g,_,m));const v=i_()+g,S=v+h;Rl(()=>ia(i,!1,"start")),r_(y=>{if(r){if(y>=S)return p(0,1),ia(i,!1,"end"),--o.r||Ze(o.c),!1;if(y>=v){const C=_((y-v)/h);p(1-C,C)}}return r})}return Vi(l)?u_().then(()=>{l=l(n),c()}):c(),{end(g){g&&l.tick&&l.tick(1,0),r&&(s&&Po(i,s),r=!1)}}}function la(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&&_&&(De(),K(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Ve())}):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&&Do()}if(gw(i)){const l=al();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 h_(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 bt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Ge(i){i&&i.c()}function ze(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Rl(()=>{const s=i.$$.on_mount.map(Zg).filter(Vi);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(Rl)}function qe(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Iw(i,e){i.$$.dirty[0]===-1&&(tr.push(i),Pw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,s,o=[-1]){const c=Yr;Ei(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Ue,not_equal:l,bound:zf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:zf(),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&&Iw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=ww(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),Do()}Ei(c)}class Rt{$destroy(){qe(this,1),this.$destroy=Ue}$on(e,t){if(!Vi(t))return Ue;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&&!_w(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class Tw{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 ra=new Tw;class Lw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const sa=new Lw;class Aw{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 En=new Aw;class Rw{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()=>{o2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=Mn.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),Dn.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 ra.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(te.isFunction(l))try{return await ra.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return hi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),Cn.removeAllEventListeners();const e=Dn.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(){En.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 aa=new Rw;class Ew{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await re.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 re.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:()=>ii.getStorageKey(),getStorageType:()=>ii.getStorageType(),getAuthData:()=>ii.getAuthData(),setAuthData:e=>ii.setAuthData(e),removeAuthData:()=>ii.removeAuthData(),setNewlyAuthorized:()=>ii.setNewlyAuthorized()}}}const g_=new Ew,$t={desktopMinWidth:600},Dw=[{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"}],Vw={cssSelector:"[luigi-app-root]"},Mw={cssSelector:"[luigi-app-loading-indicator]"};class Ow{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Vw.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 __=new Ow;class Fw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Yn extends Fw{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 Uw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Yn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Yn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Yn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Yn().openAsDrawer(e,t)}fromContext(e){return new Yn().fromContext(e)}fromClosestContext(){return new Yn().fromClosestContext()}fromVirtualTreeRoot(){return new Yn().fromVirtualTreeRoot()}withParams(e){return new Yn().withParams(e)}pathExists(e){return new Yn().pathExists(e)}hasBack(){return new Yn().hasBack()}goBack(e){return new Yn().goBack(e)}}const p_=new Uw,Bw={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"}}},Ww=Bw;class Hw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ww,this.listeners={}}_init(){Mn.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)}),aa.configChanged()}_initCustomImplementation(){this.translationImpl=aa.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("{"+ar.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const m_=new Hw;class zw{sendToAll(e){const t=sa.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=sa.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const qw=new zw,xl=[];function Gw(i,e){return{subscribe:rr(i,e).subscribe}}function rr(i,e=Ue){let t;const n=new Set;function l(o){if(Nt(i,o)&&(i=o,t)){const c=!xl.length;for(const g of n)g[1](),xl.push(g,i);if(c){for(let g=0;g<xl.length;g+=2)xl[g][0](xl[g+1]);xl.length=0}}}function r(o){l(o(i))}function s(o,c=Ue){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Ue),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Kw{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(Te.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<$t.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<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.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(Te.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(Te.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 ci=new Kw;class Jw{constructor(){this.documentTitle=rr()}hideAppLoadingIndicator(){const e=document.querySelector(Mw.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 nl(this.documentTitle)}collapseLeftSideNav(e){ci.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Yn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const b_=new Jw;class jw{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 v_=new jw;class Yw{constructor(){this.currentTheme}async getAvailableThemes(){return await re.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=re.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!!re.getConfigValue("settings.theming")}_init(){const e=()=>{const t=re.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Qr.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")};Mn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const w_=new Yw;class Qw{constructor(){this.featureToggleList=rr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||nl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=nl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}nl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...nl(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 nl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):nl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const S_=new Qw;class Zw{constructor(){}getSearchParams(){const e={},t=new URL(location);if(re.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);re.getConfigValue("routing.useHashRouting")?n.hash=be.addParamsOnHashRouting(e,n.hash):be.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!te.isObject(e)){console.log("Params argument must be an object");return}const n=be.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=be.addParamsOnHashRouting(e,l.hash,n):be.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),re.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 re.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(re.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 k_=new Zw,re=aa,hi=g_,Dn=__,C_=p_,dt=m_,Zr=b_,Xw=v_,y_=w_,Vo=S_,il=k_;window.Luigi=aa;window.Luigi.auth=()=>g_;window.Luigi.elements=()=>__;window.Luigi.navigation=()=>p_;window.Luigi.i18n=()=>m_;window.Luigi.customMessages=()=>qw;window.Luigi.ux=()=>b_;window.Luigi.globalSearch=()=>v_;window.Luigi.theming=()=>w_;window.Luigi.featureToggles=()=>S_;window.Luigi.routing=()=>k_;class $w{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 re.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)):Te.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=be.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(T=>T.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({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:D[N.userSettingsGroup]},internal:Ie.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ie.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(N.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 Qn=new $w;class xw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Qn.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 er=new xw;class e2{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(En.hasRootNode()&&(l=En.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),En.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(En.hasChildren(e)){let r=En.getChildren(e);r&&(n=r.children)}else try{n=await ra.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 En.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return En.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=En.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>Te.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=Te.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=ar.sanitizeParam(o)),g=be.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=re.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(En.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)?Te.groupNodesBy(n,"category",!0):{children:Te.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)&&(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(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:be.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&
|
|
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=re.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(En.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)?Te.groupNodesBy(n,"category",!0):{children:Te.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)&&(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(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:be.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&te.isFunction(e.onNodeActivation)&&await e.onNodeActivation(e)===!1)}}const Vt=new e2,sl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},t2={externalLink:{sameWindow:!1}};class sr{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 n2 extends sr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=P_({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 i2 extends sr{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"};
|
|
@@ -26,14 +26,14 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
|
|
|
26
26
|
}
|
|
27
27
|
${n}
|
|
28
28
|
</style>
|
|
29
|
-
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const P_=i=>{const e=i.use;if(e){if(e==="grid")return new i2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new n2(i)}else return new sr(i);return new sr(i)},Gf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})};class l2{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,s){if(n&&n.contains(t)){const o=document.createElement(e);s&&o.setAttribute("nodeId",s),this.initWC(o,e,n,r,l,s),n.replaceChild(o,t)}}initWC(e,t,n,l,r,s){const o={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:c=>{n.eventBus&&n.eventBus.onPublishEvent(c,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList()};if(e.__postProcess){const c=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(r,o,c.origin+c.pathname)}else e.context=r,e.LuigiClient=o}generateWCId(e){let t="";for(let n=0;n<e.length;n++)t+=e.charCodeAt(n).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=be.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(s);for(let g=0;g<c.length&&(o=s[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=re.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r){const s=be.substituteViewUrl(e,{context:n}),o=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(s),c=document.createElement("div");t.appendChild(c),t._luigi_node=l,window.customElements.get(o)?this.attachWC(o,c,t,n,s,r):window.luigiWCFn?window.luigiWCFn(s,o,c,()=>{this.attachWC(o,c,t,n,s,r)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,s,()=>{this.attachWC(o,c,t,n,s,r)}):this.registerWCFromUrl(s,o).then(()=>{this.attachWC(o,c,t,n,s,r)})}createCompoundContainerAsync(e,t){return new Promise((n,l)=>{if(e.viewUrl)try{const r=this.generateWCId(e.viewUrl);this.registerWCFromUrl(e.viewUrl,r).then(()=>{const s=document.createElement(r);this.initWC(s,r,s,e.viewUrl,t,"_root"),n(s)})}catch(r){l(r)}else n(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){let l;return e.webcomponent&&e.viewUrl?(l=new sr,l.viewUrl=be.substituteViewUrl(e.viewUrl,{context:n}),l.createCompoundItemContainer=r=>{var s=document.createElement("div");return r&&r.slot&&s.setAttribute("slot",r.slot),s}):e.compound.renderer&&(l=P_(e.compound.renderer)),l=l||new sr,new Promise(r=>{this.createCompoundContainerAsync(l,n).then(s=>{const o={};s.eventBus={listeners:o,onPublishEvent:(c,g,h)=>{const _=o[g+"."+c.type]||[];_.push(...o["*."+c.type]||[]),_.forEach(p=>{const m=p.wcElement||s.querySelector("[nodeId="+p.wcElementId+"]");m?m.dispatchEvent(new CustomEvent(p.action,{detail:p.converter?p.converter(c.detail):c.detail})):console.debug("Could not find event target",p)})}},e.compound.children.forEach((c,g)=>{const h={...n,...c.context},_=l.createCompoundItemContainer(c.layoutConfig);_.eventBus=s.eventBus,l.attachCompoundItem(s,_);const p=c.id||"gen_"+g;this.renderWebComponent(c.viewUrl,_,h,c,p),Gf(o,c,p)}),t.appendChild(s),Gf(o,e.compound,"_root",s),r(s)})})}}const oa=new l2;class r2{getNodePath(e,t){return e?be.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=ee.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 Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||ee.trimLeadingSlash(this.getWindowPath())===ee.trimLeadingSlash(e))return;const c=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?be.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);let m;if(ee.isIE())m=new Event("popstate",{bubbles:!0,cancelable:!0});else{const v={detail:{preventContextUpdate:s,withoutSync:!r}};m=new CustomEvent("popstate",v)}window.dispatchEvent(m)}getWindowPath(){return re.getConfigValue("routing.useHashRouting")?ee.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=ee.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ee.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ee.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=be.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=be.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=be.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ee.trimLeadingSlash(window.location.pathname)+window.location.search:ee.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.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)},()=>{}).catch(()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){re.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 Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),_=await be.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){const c=await be.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=ee.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ee.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await be.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?ee.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Vt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=re.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(c.split("?")[1]),v=be.getNodeParams(m),S=be.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let T=!1,N=C;for(;N;){if(N.tabNav===!0){T=!0;break}else if(N.tabNav===!1){T=!1;break}else if(ee.isObject(N.tabNav))if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.");N=N.parent}let D=C,I=g.hideSideNav;if(I===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){I=!0;break}if(D.hideSideNav===!1){I=!1;break}D=D.parent}const L=be.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=L;const M={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:L,pathParams:h.pathParams,hideSideNav:I||!1,isolateView:g.isolateView||!1,tabNav:T};t.set(Object.assign({},M,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(T?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Qn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Qn.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 Qn.navigateIframe(l,t,n);else{const B=t.get(),z=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(B.context),nodeParams:JSON.stringify(B.nodeParams),pathParams:JSON.stringify(B.pathParams),searchParams:JSON.stringify(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(z),withoutSync:!0})}Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);C_.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(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){En.deleteNodesRecursively(c);break}}else r=!1}}else En.deleteCache()}handleRouteClick(e,t){const n=be.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(ee.trimLeadingSlash(this.getWindowPath())===ee.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=Qn.getActiveIframe(r);s&&s.vg&&Qn.canCache(s.vg)?(Qn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Qn.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=be.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}be.showRouteNotFoundAlert(e,n,l),this.navigateTo(ee.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){const l={...t2.externalLink,...e};t&&(l.url=be.calculateNodeHref(t,n)),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}navigateWebComponent(e,t){const n=this.removeLastChildFromWCContainer();if(!n)return;const l=e.get();oa.renderWebComponent(l.viewUrl,n,l.context,t)}navigateWebComponentCompound(e,t){const n=this.removeLastChildFromWCContainer();if(!n)return;const l=e.get(),{compound:r}=t;r&&r.children&&(r.children=r.children.filter(s=>Te.checkVisibleForFeatureToggles(s))),oa.renderWebComponentCompound(t,n,l.context)}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e}}updateModalDataInUrl(e,t,n){let l=be.getHashQueryParamSeparator();const r=be.getQueryParams(),s=be.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),s=l[r],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,m]=o.hash.split("?");h=p,_=be.getURLWithoutModalData(m,r),_&&(h+="?"+_)}else h=o.pathname,_=be.getURLWithoutModalData(o.search,r),_&&(h+="?"+be.getURLWithoutModalData(o.search,r));if(g=be.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}${be.encodeParams(l)}`}else o.search=`?${be.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=be.getQueryParams(),n=be.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=be.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 nt=new r2;class s2{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=be.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?ee.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),s=be.getNodeParams(r),o=be.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){oa.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(ee.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ee.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ee.computePxFromPercent(t.rightContentHeight,100-e))+Dn.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:ee.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,ee.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="",st.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 st=new s2;class a2{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const o2=new a2;class u2{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=re.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 ii=new u2;class f2{constructor(){return this._userInfoStore=rr({}),this._loggedInStore=rr(!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=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=ll.parseUrlAuthErrors()||{};if(!!await ll.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ee.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),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ll.getStoredAuthData();if(!t||!ll.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await hi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ee.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ee.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(nl(this._userInfoStore))),ee.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ii.isNewlyAuthorized()&&await hi.handleAuthEvent("onAuthSuccessful",e,t),ii.removeNewlyAuthorized(),ee.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ee.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ii.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ll.getStoredAuthData(),t=async l=>{await hi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ii.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);ee.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ee.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=ee.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ee.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ee.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await hi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ee.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new f2;class c2{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(ee.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 Qr=new c2;class d2{getStoredAuthData(){return ii.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ee.getUrlParameter("error"),t=ee.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await hi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ll=new d2;class h2{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 ar=new h2;var jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},or={exports:{}};/**
|
|
29
|
+
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const P_=i=>{const e=i.use;if(e){if(e==="grid")return new i2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new n2(i)}else return new sr(i);return new sr(i)},Gf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})};class l2{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,s){if(n&&n.contains(t)){const o=document.createElement(e);s&&o.setAttribute("nodeId",s),this.initWC(o,e,n,r,l,s),n.replaceChild(o,t)}}initWC(e,t,n,l,r,s){const o={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:c=>{n.eventBus&&n.eventBus.onPublishEvent(c,s,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList()};if(e.__postProcess){const c=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(r,o,c.origin+c.pathname)}else e.context=r,e.LuigiClient=o}generateWCId(e){let t="";for(let n=0;n<e.length;n++)t+=e.charCodeAt(n).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=be.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(s);for(let g=0;g<c.length&&(o=s[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=re.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r){const s=be.substituteViewUrl(e,{context:n}),o=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(s),c=document.createElement("div");t.appendChild(c),t._luigi_node=l,window.customElements.get(o)?this.attachWC(o,c,t,n,s,r):window.luigiWCFn?window.luigiWCFn(s,o,c,()=>{this.attachWC(o,c,t,n,s,r)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,s,()=>{this.attachWC(o,c,t,n,s,r)}):this.registerWCFromUrl(s,o).then(()=>{this.attachWC(o,c,t,n,s,r)})}createCompoundContainerAsync(e,t){return new Promise((n,l)=>{if(e.viewUrl)try{const r=this.generateWCId(e.viewUrl);this.registerWCFromUrl(e.viewUrl,r).then(()=>{const s=document.createElement(r);this.initWC(s,r,s,e.viewUrl,t,"_root"),n(s)})}catch(r){l(r)}else n(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){let l;return e.webcomponent&&e.viewUrl?(l=new sr,l.viewUrl=be.substituteViewUrl(e.viewUrl,{context:n}),l.createCompoundItemContainer=r=>{var s=document.createElement("div");return r&&r.slot&&s.setAttribute("slot",r.slot),s}):e.compound.renderer&&(l=P_(e.compound.renderer)),l=l||new sr,new Promise(r=>{this.createCompoundContainerAsync(l,n).then(s=>{const o={};s.eventBus={listeners:o,onPublishEvent:(c,g,h)=>{const _=o[g+"."+c.type]||[];_.push(...o["*."+c.type]||[]),_.forEach(p=>{const m=p.wcElement||s.querySelector("[nodeId="+p.wcElementId+"]");m?m.dispatchEvent(new CustomEvent(p.action,{detail:p.converter?p.converter(c.detail):c.detail})):console.debug("Could not find event target",p)})}},e.compound.children.forEach((c,g)=>{const h={...n,...c.context},_=l.createCompoundItemContainer(c.layoutConfig);_.eventBus=s.eventBus,l.attachCompoundItem(s,_);const p=c.id||"gen_"+g;this.renderWebComponent(c.viewUrl,_,h,c,p),Gf(o,c,p)}),t.appendChild(s),Gf(o,e.compound,"_root",s),r(s)})})}}const oa=new l2;class r2{getNodePath(e,t){return e?be.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 Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||te.trimLeadingSlash(this.getWindowPath())===te.trimLeadingSlash(e))return;const c=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?be.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);let m;if(te.isIE())m=new Event("popstate",{bubbles:!0,cancelable:!0});else{const v={detail:{preventContextUpdate:s,withoutSync:!r}};m=new CustomEvent("popstate",v)}window.dispatchEvent(m)}getWindowPath(){return re.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=be.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=be.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=be.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return re.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=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.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)},()=>{}).catch(()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){re.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 Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),_=await be.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){const c=await be.getDefaultChildNode(n,async(g,h)=>await Vt.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 Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await be.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 Vt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=re.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(c.split("?")[1]),v=be.getNodeParams(m),S=be.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let T=!1,N=C;for(;N;){if(N.tabNav===!0){T=!0;break}else if(N.tabNav===!1){T=!1;break}else if(te.isObject(N.tabNav))if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.");N=N.parent}let D=C,I=g.hideSideNav;if(I===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){I=!0;break}if(D.hideSideNav===!1){I=!1;break}D=D.parent}const L=be.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=L;const M={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:L,pathParams:h.pathParams,hideSideNav:I||!1,isolateView:g.isolateView||!1,tabNav:T};t.set(Object.assign({},M,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(T?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Qn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Qn.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 Qn.navigateIframe(l,t,n);else{const B=t.get(),z=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(B.context),nodeParams:JSON.stringify(B.nodeParams),pathParams:JSON.stringify(B.pathParams),searchParams:JSON.stringify(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(z),withoutSync:!0})}Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);C_.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(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){En.deleteNodesRecursively(c);break}}else r=!1}}else En.deleteCache()}handleRouteClick(e,t){const n=be.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=Qn.getActiveIframe(r);s&&s.vg&&Qn.canCache(s.vg)?(Qn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Qn.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=be.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}be.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){const l={...t2.externalLink,...e};t&&(l.url=be.calculateNodeHref(t,n)),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}navigateWebComponent(e,t){const n=this.removeLastChildFromWCContainer();if(!n)return;const l=e.get();oa.renderWebComponent(l.viewUrl,n,l.context,t)}navigateWebComponentCompound(e,t){const n=this.removeLastChildFromWCContainer();if(!n)return;const l=e.get(),{compound:r}=t;r&&r.children&&(r.children=r.children.filter(s=>Te.checkVisibleForFeatureToggles(s))),oa.renderWebComponentCompound(t,n,l.context)}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e}}updateModalDataInUrl(e,t,n){let l=be.getHashQueryParamSeparator();const r=be.getQueryParams(),s=be.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),s=l[r],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,m]=o.hash.split("?");h=p,_=be.getURLWithoutModalData(m,r),_&&(h+="?"+_)}else h=o.pathname,_=be.getURLWithoutModalData(o.search,r),_&&(h+="?"+be.getURLWithoutModalData(o.search,r));if(g=be.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}${be.encodeParams(l)}`}else o.search=`?${be.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=be.getQueryParams(),n=be.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=be.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 nt=new r2;class s2{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=be.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 Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),s=be.getNodeParams(r),o=be.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){oa.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))+Dn.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="",st.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 st=new s2;class a2{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const o2=new a2;class u2{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=re.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 ii=new u2;class f2{constructor(){return this._userInfoStore=rr({}),this._loggedInStore=rr(!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=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=ll.parseUrlAuthErrors()||{};if(!!await ll.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),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ll.getStoredAuthData();if(!t||!ll.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await hi.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(nl(this._userInfoStore))),te.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ii.isNewlyAuthorized()&&await hi.handleAuthEvent("onAuthSuccessful",e,t),ii.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=>{ii.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ll.getStoredAuthData(),t=async l=>{await hi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ii.removeAuthData()},n=re.getConfigValue(`auth.${re.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(re.getConfigValue("auth.events.onAuthConfigError")))await hi.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 nn=new f2;class c2{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 Qr=new c2;class d2{getStoredAuthData(){return ii.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 hi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ll=new d2;class h2{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 ar=new h2;var jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},or={exports:{}};/**
|
|
30
30
|
* @license
|
|
31
31
|
* Lodash <https://lodash.com/>
|
|
32
32
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
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,T=4,N=8,D=16,I=32,L=64,M=128,O=256,B=512,z=30,ue="...",X=800,Q=16,ce=1,ke=2,H=3,ae=1/0,$=9007199254740991,J=17976931348623157e292,le=0/0,we=4294967295,fe=we-1,Ne=we>>>1,x=[["ary",M],["bind",y],["bindKey",C],["curry",N],["curryRight",D],["flip",B],["partial",I],["partialRight",L],["rearg",O]],_e="[object Arguments]",me="[object Array]",ie="[object AsyncFunction]",Ee="[object Boolean]",Le="[object Date]",pe="[object DOMException]",et="[object Error]",Ot="[object Function]",jt="[object GeneratorFunction]",Et="[object Map]",On="[object Number]",Oi="[object Null]",zt="[object Object]",mi="[object Promise]",Fi="[object Proxy]",xt="[object RegExp]",Yt="[object Set]",Xn="[object String]",ct="[object Symbol]",dn="[object Undefined]",$n="[object WeakMap]",ln="[object WeakSet]",rn="[object ArrayBuffer]",Fn="[object DataView]",bi="[object Float32Array]",sn="[object Float64Array]",te="[object Int8Array]",Me="[object Int16Array]",ht="[object Int32Array]",Ct="[object Uint8Array]",yt="[object Uint8ClampedArray]",wt="[object Uint16Array]",on="[object Uint32Array]",yn=/\b__p \+= '';/g,ri=/\b(__p \+=) '' \+/g,Ui=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ol=/&(?:amp|lt|gt|quot|#39);/g,vi=/[&<>"']/g,fr=RegExp(ol.source),cr=RegExp(vi.source),dr=/<%-([\s\S]+?)%>/g,hr=/<%([\s\S]+?)%>/g,El=/<%=([\s\S]+?)%>/g,gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_r=/^\w*$/,pr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wi=/[\\^$.*+?()[\]{}|]/g,Bi=RegExp(wi.source),Si=/^\s+/,Wi=/\s/,Dl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vl=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,mn=/[()=,{}\[\]\/\s]/,ul=/\\(\\)?/g,fl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cl=/\w*$/,br=/^[-+]0x[0-9a-f]+$/i,Hi=/^0b[01]+$/i,dl=/^\[object .+?Constructor\]$/,hl=/^0o[0-7]+$/i,gl=/^(?:0|[1-9]\d*)$/,Ol=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ki=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,gt="\\ud800-\\udfff",_l="\\u0300-\\u036f",pl="\\ufe20-\\ufe2f",Fl="\\u20d0-\\u20ff",ml=_l+pl+Fl,si="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",j="\\xac\\xb1\\xd7\\xf7",It="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pn="\\u2000-\\u206f",Un=" \\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",xr="A-Z\\xc0-\\xd6\\xd8-\\xde",es="\\ufe0e\\ufe0f",ts=j+It+Pn+Un,bl="['\u2019]",_a="["+gt+"]",ns="["+ts+"]",Ul="["+ml+"]",is="\\d+",pa="["+si+"]",wr="["+Ft+"]",Sr="[^"+gt+ts+is+si+Ft+xr+"]",kr="\\ud83c[\\udffb-\\udfff]",ma="(?:"+Ul+"|"+kr+")",ls="[^"+gt+"]",Cr="(?:\\ud83c[\\udde6-\\uddff]){2}",yr="[\\ud800-\\udbff][\\udc00-\\udfff]",zi="["+xr+"]",rs="\\u200d",ss="(?:"+wr+"|"+Sr+")",ba="(?:"+zi+"|"+Sr+")",as="(?:"+bl+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+bl+"(?:D|LL|M|RE|S|T|VE))?",us=ma+"?",fs="["+es+"]?",F="(?:"+rs+"(?:"+[ls,Cr,yr].join("|")+")"+fs+us+")*",oe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Je=fs+us+F,Be="(?:"+[pa,Cr,yr].join("|")+")"+Je,Se="(?:"+[ls+Ul+"?",Ul,Cr,yr,_a].join("|")+")",Fe=RegExp(bl,"g"),_t=RegExp(Ul,"g"),Tt=RegExp(kr+"(?="+kr+")|"+Se+Je,"g"),Pr=RegExp([zi+"?"+wr+"+"+as+"(?="+[ns,zi,"$"].join("|")+")",ba+"+"+os+"(?="+[ns,zi+ss,"$"].join("|")+")",zi+"?"+ss+"+"+as,zi+"+"+os,Oe,oe,is,Be].join("|"),"g"),qi=RegExp("["+rs+gt+ml+es+"]"),Nr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gi=["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"],Ir=-1,Ae={};Ae[bi]=Ae[sn]=Ae[te]=Ae[Me]=Ae[ht]=Ae[Ct]=Ae[yt]=Ae[wt]=Ae[on]=!0,Ae[_e]=Ae[me]=Ae[rn]=Ae[Ee]=Ae[Fn]=Ae[Le]=Ae[et]=Ae[Ot]=Ae[Et]=Ae[On]=Ae[zt]=Ae[xt]=Ae[Yt]=Ae[Xn]=Ae[$n]=!1;var Ke={};Ke[_e]=Ke[me]=Ke[rn]=Ke[Fn]=Ke[Ee]=Ke[Le]=Ke[bi]=Ke[sn]=Ke[te]=Ke[Me]=Ke[ht]=Ke[Et]=Ke[On]=Ke[zt]=Ke[xt]=Ke[Yt]=Ke[Xn]=Ke[ct]=Ke[Ct]=Ke[yt]=Ke[wt]=Ke[on]=!0,Ke[et]=Ke[Ot]=Ke[$n]=!1;var Qt={\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"},Bn={"&":"&","<":"<",">":">",'"':""","'":"'"},ai={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ki={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vl=parseFloat,Tr=parseInt,wl=typeof jr=="object"&&jr&&jr.Object===Object&&jr,Oo=typeof self=="object"&&self&&self.Object===Object&&self,qt=wl||Oo||Function("return this")(),Lr=e&&!e.nodeType&&e,Wn=Lr&&!0&&i&&!i.nodeType&&i,Ji=Wn&&Wn.exports===Lr,en=Ji&&wl.process,Ut=function(){try{var Y=Wn&&Wn.require&&Wn.require("util").types;return Y||en&&en.binding&&en.binding("util")}catch{}}(),cs=Ut&&Ut.isArrayBuffer,Fo=Ut&&Ut.isDate,Uo=Ut&&Ut.isMap,Bo=Ut&&Ut.isRegExp,Wo=Ut&&Ut.isSet,Ho=Ut&&Ut.isTypedArray;function Nn(Y,de,se){switch(se.length){case 0:return Y.call(de);case 1:return Y.call(de,se[0]);case 2:return Y.call(de,se[0],se[1]);case 3:return Y.call(de,se[0],se[1],se[2])}return Y.apply(de,se)}function O_(Y,de,se,We){for(var Xe=-1,pt=Y==null?0:Y.length;++Xe<pt;){var Zt=Y[Xe];de(We,Zt,se(Zt),Y)}return We}function Hn(Y,de){for(var se=-1,We=Y==null?0:Y.length;++se<We&&de(Y[se],se,Y)!==!1;);return Y}function F_(Y,de){for(var se=Y==null?0:Y.length;se--&&de(Y[se],se,Y)!==!1;);return Y}function zo(Y,de){for(var se=-1,We=Y==null?0:Y.length;++se<We;)if(!de(Y[se],se,Y))return!1;return!0}function ji(Y,de){for(var se=-1,We=Y==null?0:Y.length,Xe=0,pt=[];++se<We;){var Zt=Y[se];de(Zt,se,Y)&&(pt[Xe++]=Zt)}return pt}function ds(Y,de){var se=Y==null?0:Y.length;return!!se&&Bl(Y,de,0)>-1}function va(Y,de,se){for(var We=-1,Xe=Y==null?0:Y.length;++We<Xe;)if(se(de,Y[We]))return!0;return!1}function Dt(Y,de){for(var se=-1,We=Y==null?0:Y.length,Xe=Array(We);++se<We;)Xe[se]=de(Y[se],se,Y);return Xe}function Yi(Y,de){for(var se=-1,We=de.length,Xe=Y.length;++se<We;)Y[Xe+se]=de[se];return Y}function wa(Y,de,se,We){var Xe=-1,pt=Y==null?0:Y.length;for(We&&pt&&(se=Y[++Xe]);++Xe<pt;)se=de(se,Y[Xe],Xe,Y);return se}function U_(Y,de,se,We){var Xe=Y==null?0:Y.length;for(We&&Xe&&(se=Y[--Xe]);Xe--;)se=de(se,Y[Xe],Xe,Y);return se}function Sa(Y,de){for(var se=-1,We=Y==null?0:Y.length;++se<We;)if(de(Y[se],se,Y))return!0;return!1}var B_=ka("length");function W_(Y){return Y.split("")}function H_(Y){return Y.match(mr)||[]}function qo(Y,de,se){var We;return se(Y,function(Xe,pt,Zt){if(de(Xe,pt,Zt))return We=pt,!1}),We}function hs(Y,de,se,We){for(var Xe=Y.length,pt=se+(We?1:-1);We?pt--:++pt<Xe;)if(de(Y[pt],pt,Y))return pt;return-1}function Bl(Y,de,se){return de===de?x_(Y,de,se):hs(Y,Go,se)}function z_(Y,de,se,We){for(var Xe=se-1,pt=Y.length;++Xe<pt;)if(We(Y[Xe],de))return Xe;return-1}function Go(Y){return Y!==Y}function Ko(Y,de){var se=Y==null?0:Y.length;return se?ya(Y,de)/se:le}function ka(Y){return function(de){return de==null?t:de[Y]}}function Ca(Y){return function(de){return Y==null?t:Y[de]}}function Jo(Y,de,se,We,Xe){return Xe(Y,function(pt,Zt,Pt){se=We?(We=!1,pt):de(se,pt,Zt,Pt)}),se}function q_(Y,de){var se=Y.length;for(Y.sort(de);se--;)Y[se]=Y[se].value;return Y}function ya(Y,de){for(var se,We=-1,Xe=Y.length;++We<Xe;){var pt=de(Y[We]);pt!==t&&(se=se===t?pt:se+pt)}return se}function Pa(Y,de){for(var se=-1,We=Array(Y);++se<Y;)We[se]=de(se);return We}function G_(Y,de){return Dt(de,function(se){return[se,Y[se]]})}function jo(Y){return Y&&Y.slice(0,Xo(Y)+1).replace(Si,"")}function In(Y){return function(de){return Y(de)}}function Na(Y,de){return Dt(de,function(se){return Y[se]})}function Ar(Y,de){return Y.has(de)}function Yo(Y,de){for(var se=-1,We=Y.length;++se<We&&Bl(de,Y[se],0)>-1;);return se}function Qo(Y,de){for(var se=Y.length;se--&&Bl(de,Y[se],0)>-1;);return se}function K_(Y,de){for(var se=Y.length,We=0;se--;)Y[se]===de&&++We;return We}var J_=Ca(Qt),j_=Ca(Bn);function Y_(Y){return"\\"+Ki[Y]}function Q_(Y,de){return Y==null?t:Y[de]}function Wl(Y){return qi.test(Y)}function Z_(Y){return Nr.test(Y)}function X_(Y){for(var de,se=[];!(de=Y.next()).done;)se.push(de.value);return se}function Ia(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(We,Xe){se[++de]=[Xe,We]}),se}function Zo(Y,de){return function(se){return Y(de(se))}}function Qi(Y,de){for(var se=-1,We=Y.length,Xe=0,pt=[];++se<We;){var Zt=Y[se];(Zt===de||Zt===h)&&(Y[se]=h,pt[Xe++]=se)}return pt}function gs(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(We){se[++de]=We}),se}function $_(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(We){se[++de]=[We,We]}),se}function x_(Y,de,se){for(var We=se-1,Xe=Y.length;++We<Xe;)if(Y[We]===de)return We;return-1}function ep(Y,de,se){for(var We=se+1;We--;)if(Y[We]===de)return We;return We}function Hl(Y){return Wl(Y)?np(Y):B_(Y)}function xn(Y){return Wl(Y)?ip(Y):W_(Y)}function Xo(Y){for(var de=Y.length;de--&&Wi.test(Y.charAt(de)););return de}var tp=Ca(ai);function np(Y){for(var de=Tt.lastIndex=0;Tt.test(Y);)++de;return de}function ip(Y){return Y.match(Tt)||[]}function lp(Y){return Y.match(Pr)||[]}var rp=function Y(de){de=de==null?qt:zl.defaults(qt.Object(),de,zl.pick(qt,Gi));var se=de.Array,We=de.Date,Xe=de.Error,pt=de.Function,Zt=de.Math,Pt=de.Object,Ta=de.RegExp,sp=de.String,zn=de.TypeError,_s=se.prototype,ap=pt.prototype,ql=Pt.prototype,ps=de["__core-js_shared__"],ms=ap.toString,kt=ql.hasOwnProperty,op=0,$o=function(){var a=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),bs=ql.toString,up=ms.call(Pt),fp=qt._,cp=Ta("^"+ms.call(kt).replace(wi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vs=Ji?de.Buffer:t,Zi=de.Symbol,ws=de.Uint8Array,xo=vs?vs.allocUnsafe:t,Ss=Zo(Pt.getPrototypeOf,Pt),eu=Pt.create,tu=ql.propertyIsEnumerable,ks=_s.splice,nu=Zi?Zi.isConcatSpreadable:t,Rr=Zi?Zi.iterator:t,Sl=Zi?Zi.toStringTag:t,Cs=function(){try{var a=Nl(Pt,"defineProperty");return a({},"",{}),a}catch{}}(),dp=de.clearTimeout!==qt.clearTimeout&&de.clearTimeout,hp=We&&We.now!==qt.Date.now&&We.now,gp=de.setTimeout!==qt.setTimeout&&de.setTimeout,ys=Zt.ceil,Ps=Zt.floor,La=Pt.getOwnPropertySymbols,_p=vs?vs.isBuffer:t,iu=de.isFinite,pp=_s.join,mp=Zo(Pt.keys,Pt),Xt=Zt.max,un=Zt.min,bp=We.now,vp=de.parseInt,lu=Zt.random,wp=_s.reverse,Aa=Nl(de,"DataView"),Er=Nl(de,"Map"),Ra=Nl(de,"Promise"),Gl=Nl(de,"Set"),Dr=Nl(de,"WeakMap"),Vr=Nl(Pt,"create"),Ns=Dr&&new Dr,Kl={},Sp=Il(Aa),kp=Il(Er),Cp=Il(Ra),yp=Il(Gl),Pp=Il(Dr),Is=Zi?Zi.prototype:t,Mr=Is?Is.valueOf:t,ru=Is?Is.toString:t;function E(a){if(Ht(a)&&!xe(a)&&!(a instanceof ot)){if(a instanceof qn)return a;if(kt.call(a,"__wrapped__"))return af(a)}return new qn(a)}var Jl=function(){function a(){}return function(u){if(!Bt(u))return{};if(eu)return eu(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ts(){}function qn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}E.templateSettings={escape:dr,evaluate:hr,interpolate:El,variable:"",imports:{_:E}},E.prototype=Ts.prototype,E.prototype.constructor=E,qn.prototype=Jl(Ts.prototype),qn.prototype.constructor=qn;function ot(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=we,this.__views__=[]}function Np(){var a=new ot(this.__wrapped__);return a.__actions__=bn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=bn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=bn(this.__views__),a}function Ip(){if(this.__filtered__){var a=new ot(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Tp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),b=u<0,P=d?a.length:0,V=Wm(0,P,this.__views__),W=V.start,q=V.end,Z=q-W,he=b?q:W-1,ge=this.__iteratees__,ve=ge.length,Re=0,He=un(Z,this.__takeCount__);if(!d||!b&&P==Z&&He==Z)return Lu(a,this.__actions__);var Ye=[];e:for(;Z--&&Re<He;){he+=u;for(var it=-1,Qe=a[he];++it<ve;){var at=ge[it],ut=at.iteratee,An=at.type,_n=ut(Qe);if(An==ke)Qe=_n;else if(!_n){if(An==ce)continue e;break e}}Ye[Re++]=Qe}return Ye}ot.prototype=Jl(Ts.prototype),ot.prototype.constructor=ot;function kl(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 Lp(){this.__data__=Vr?Vr(null):{},this.size=0}function Ap(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Rp(a){var u=this.__data__;if(Vr){var d=u[a];return d===c?t:d}return kt.call(u,a)?u[a]:t}function Ep(a){var u=this.__data__;return Vr?u[a]!==t:kt.call(u,a)}function Dp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Vr&&u===t?c:u,this}kl.prototype.clear=Lp,kl.prototype.delete=Ap,kl.prototype.get=Rp,kl.prototype.has=Ep,kl.prototype.set=Dp;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 Vp(){this.__data__=[],this.size=0}function Mp(a){var u=this.__data__,d=Ls(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():ks.call(u,d,1),--this.size,!0}function Op(a){var u=this.__data__,d=Ls(u,a);return d<0?t:u[d][1]}function Fp(a){return Ls(this.__data__,a)>-1}function Up(a,u){var d=this.__data__,b=Ls(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Ci.prototype.clear=Vp,Ci.prototype.delete=Mp,Ci.prototype.get=Op,Ci.prototype.has=Fp,Ci.prototype.set=Up;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 Bp(){this.size=0,this.__data__={hash:new kl,map:new(Er||Ci),string:new kl}}function Wp(a){var u=Hs(this,a).delete(a);return this.size-=u?1:0,u}function Hp(a){return Hs(this,a).get(a)}function zp(a){return Hs(this,a).has(a)}function qp(a,u){var d=Hs(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}yi.prototype.clear=Bp,yi.prototype.delete=Wp,yi.prototype.get=Hp,yi.prototype.has=zp,yi.prototype.set=qp;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new yi;++u<d;)this.add(a[u])}function Gp(a){return this.__data__.set(a,c),this}function Kp(a){return this.__data__.has(a)}Cl.prototype.add=Cl.prototype.push=Gp,Cl.prototype.has=Kp;function ei(a){var u=this.__data__=new Ci(a);this.size=u.size}function Jp(){this.__data__=new Ci,this.size=0}function jp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Yp(a){return this.__data__.get(a)}function Qp(a){return this.__data__.has(a)}function Zp(a,u){var d=this.__data__;if(d instanceof Ci){var b=d.__data__;if(!Er||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}ei.prototype.clear=Jp,ei.prototype.delete=jp,ei.prototype.get=Yp,ei.prototype.has=Qp,ei.prototype.set=Zp;function su(a,u){var d=xe(a),b=!d&&Tl(a),P=!d&&!b&&tl(a),V=!d&&!b&&!P&&Zl(a),W=d||b||P||V,q=W?Pa(a.length,sp):[],Z=q.length;for(var he in a)(u||kt.call(a,he))&&!(W&&(he=="length"||P&&(he=="offset"||he=="parent")||V&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||Ti(he,Z)))&&q.push(he);return q}function au(a){var u=a.length;return u?a[za(0,u-1)]:t}function Xp(a,u){return zs(bn(a),yl(u,0,a.length))}function $p(a){return zs(bn(a))}function Ea(a,u,d){(d!==t&&!ti(a[u],d)||d===t&&!(u in a))&&Pi(a,u,d)}function Or(a,u,d){var b=a[u];(!(kt.call(a,u)&&ti(b,d))||d===t&&!(u in a))&&Pi(a,u,d)}function Ls(a,u){for(var d=a.length;d--;)if(ti(a[d][0],u))return d;return-1}function xp(a,u,d,b){return Xi(a,function(P,V,W){u(b,P,d(P),W)}),b}function ou(a,u){return a&&ui(u,tn(u),a)}function em(a,u){return a&&ui(u,wn(u),a)}function Pi(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Da(a,u){for(var d=-1,b=u.length,P=se(b),V=a==null;++d<b;)P[d]=V?t:go(a,u[d]);return P}function yl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Gn(a,u,d,b,P,V){var W,q=u&_,Z=u&p,he=u&m;if(d&&(W=P?d(a,b,P,V):d(a)),W!==t)return W;if(!Bt(a))return a;var ge=xe(a);if(ge){if(W=zm(a),!q)return bn(a,W)}else{var ve=fn(a),Re=ve==Ot||ve==jt;if(tl(a))return Eu(a,q);if(ve==zt||ve==_e||Re&&!P){if(W=Z||Re?{}:Xu(a),!q)return Z?Rm(a,em(W,a)):Am(a,ou(W,a))}else{if(!Ke[ve])return P?a:{};W=qm(a,ve,q)}}V||(V=new ei);var He=V.get(a);if(He)return He;V.set(a,W),If(a)?a.forEach(function(Qe){W.add(Gn(Qe,u,d,Qe,a,V))}):Pf(a)&&a.forEach(function(Qe,at){W.set(at,Gn(Qe,u,d,at,a,V))});var Ye=he?Z?xa:$a:Z?wn:tn,it=ge?t:Ye(a);return Hn(it||a,function(Qe,at){it&&(at=Qe,Qe=a[at]),Or(W,at,Gn(Qe,u,d,at,a,V))}),W}function tm(a){var u=tn(a);return function(d){return uu(d,a,u)}}function uu(a,u,d){var b=d.length;if(a==null)return!b;for(a=Pt(a);b--;){var P=d[b],V=u[P],W=a[P];if(W===t&&!(P in a)||!V(W))return!1}return!0}function fu(a,u,d){if(typeof a!="function")throw new zn(s);return qr(function(){a.apply(t,d)},u)}function Fr(a,u,d,b){var P=-1,V=ds,W=!0,q=a.length,Z=[],he=u.length;if(!q)return Z;d&&(u=Dt(u,In(d))),b?(V=va,W=!1):u.length>=l&&(V=Ar,W=!1,u=new Cl(u));e:for(;++P<q;){var ge=a[P],ve=d==null?ge:d(ge);if(ge=b||ge!==0?ge:0,W&&ve===ve){for(var Re=he;Re--;)if(u[Re]===ve)continue e;Z.push(ge)}else V(u,ve,b)||Z.push(ge)}return Z}var Xi=Fu(oi),cu=Fu(Ma,!0);function nm(a,u){var d=!0;return Xi(a,function(b,P,V){return d=!!u(b,P,V),d}),d}function As(a,u,d){for(var b=-1,P=a.length;++b<P;){var V=a[b],W=u(V);if(W!=null&&(q===t?W===W&&!Ln(W):d(W,q)))var q=W,Z=V}return Z}function im(a,u,d,b){var P=a.length;for(d=tt(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:tt(b),b<0&&(b+=P),b=d>b?0:Lf(b);d<b;)a[d++]=u;return a}function du(a,u){var d=[];return Xi(a,function(b,P,V){u(b,P,V)&&d.push(b)}),d}function an(a,u,d,b,P){var V=-1,W=a.length;for(d||(d=Km),P||(P=[]);++V<W;){var q=a[V];u>0&&d(q)?u>1?an(q,u-1,d,b,P):Yi(P,q):b||(P[P.length]=q)}return P}var Va=Uu(),hu=Uu(!0);function oi(a,u){return a&&Va(a,u,tn)}function Ma(a,u){return a&&hu(a,u,tn)}function Rs(a,u){return ji(u,function(d){return Li(a[d])})}function Pl(a,u){u=xi(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[fi(u[d++])];return d&&d==b?a:t}function gu(a,u,d){var b=u(a);return xe(a)?b:Yi(b,d(a))}function hn(a){return a==null?a===t?dn:Oi:Sl&&Sl in Pt(a)?Bm(a):$m(a)}function Oa(a,u){return a>u}function lm(a,u){return a!=null&&kt.call(a,u)}function rm(a,u){return a!=null&&u in Pt(a)}function sm(a,u,d){return a>=un(u,d)&&a<Xt(u,d)}function Fa(a,u,d){for(var b=d?va:ds,P=a[0].length,V=a.length,W=V,q=se(V),Z=1/0,he=[];W--;){var ge=a[W];W&&u&&(ge=Dt(ge,In(u))),Z=un(ge.length,Z),q[W]=!d&&(u||P>=120&&ge.length>=120)?new Cl(W&&ge):t}ge=a[0];var ve=-1,Re=q[0];e:for(;++ve<P&&he.length<Z;){var He=ge[ve],Ye=u?u(He):He;if(He=d||He!==0?He:0,!(Re?Ar(Re,Ye):b(he,Ye,d))){for(W=V;--W;){var it=q[W];if(!(it?Ar(it,Ye):b(a[W],Ye,d)))continue e}Re&&Re.push(Ye),he.push(He)}}return he}function am(a,u,d,b){return oi(a,function(P,V,W){u(b,d(P),V,W)}),b}function Ur(a,u,d){u=xi(u,a),a=tf(a,u);var b=a==null?a:a[fi(Jn(u))];return b==null?t:Nn(b,a,d)}function _u(a){return Ht(a)&&hn(a)==_e}function om(a){return Ht(a)&&hn(a)==rn}function um(a){return Ht(a)&&hn(a)==Le}function Br(a,u,d,b,P){return a===u?!0:a==null||u==null||!Ht(a)&&!Ht(u)?a!==a&&u!==u:fm(a,u,d,b,Br,P)}function fm(a,u,d,b,P,V){var W=xe(a),q=xe(u),Z=W?me:fn(a),he=q?me:fn(u);Z=Z==_e?zt:Z,he=he==_e?zt:he;var ge=Z==zt,ve=he==zt,Re=Z==he;if(Re&&tl(a)){if(!tl(u))return!1;W=!0,ge=!1}if(Re&&!ge)return V||(V=new ei),W||Zl(a)?Yu(a,u,d,b,P,V):Fm(a,u,Z,d,b,P,V);if(!(d&v)){var He=ge&&kt.call(a,"__wrapped__"),Ye=ve&&kt.call(u,"__wrapped__");if(He||Ye){var it=He?a.value():a,Qe=Ye?u.value():u;return V||(V=new ei),P(it,Qe,d,b,V)}}return Re?(V||(V=new ei),Um(a,u,d,b,P,V)):!1}function cm(a){return Ht(a)&&fn(a)==Et}function Ua(a,u,d,b){var P=d.length,V=P,W=!b;if(a==null)return!V;for(a=Pt(a);P--;){var q=d[P];if(W&&q[2]?q[1]!==a[q[0]]:!(q[0]in a))return!1}for(;++P<V;){q=d[P];var Z=q[0],he=a[Z],ge=q[1];if(W&&q[2]){if(he===t&&!(Z in a))return!1}else{var ve=new ei;if(b)var Re=b(he,ge,Z,a,u,ve);if(!(Re===t?Br(ge,he,v|S,b,ve):Re))return!1}}return!0}function pu(a){if(!Bt(a)||jm(a))return!1;var u=Li(a)?cp:dl;return u.test(Il(a))}function dm(a){return Ht(a)&&hn(a)==xt}function hm(a){return Ht(a)&&fn(a)==Yt}function gm(a){return Ht(a)&&Ys(a.length)&&!!Ae[hn(a)]}function mu(a){return typeof a=="function"?a:a==null?Sn:typeof a=="object"?xe(a)?wu(a[0],a[1]):vu(a):Wf(a)}function Ba(a){if(!zr(a))return mp(a);var u=[];for(var d in Pt(a))kt.call(a,d)&&d!="constructor"&&u.push(d);return u}function _m(a){if(!Bt(a))return Xm(a);var u=zr(a),d=[];for(var b in a)b=="constructor"&&(u||!kt.call(a,b))||d.push(b);return d}function Wa(a,u){return a<u}function bu(a,u){var d=-1,b=vn(a)?se(a.length):[];return Xi(a,function(P,V,W){b[++d]=u(P,V,W)}),b}function vu(a){var u=to(a);return u.length==1&&u[0][2]?xu(u[0][0],u[0][1]):function(d){return d===a||Ua(d,a,u)}}function wu(a,u){return io(a)&&$u(u)?xu(fi(a),u):function(d){var b=go(d,a);return b===t&&b===u?_o(d,a):Br(u,b,v|S)}}function Es(a,u,d,b,P){a!==u&&Va(u,function(V,W){if(P||(P=new ei),Bt(V))pm(a,u,W,d,Es,b,P);else{var q=b?b(ro(a,W),V,W+"",a,u,P):t;q===t&&(q=V),Ea(a,W,q)}},wn)}function pm(a,u,d,b,P,V,W){var q=ro(a,d),Z=ro(u,d),he=W.get(Z);if(he){Ea(a,d,he);return}var ge=V?V(q,Z,d+"",a,u,W):t,ve=ge===t;if(ve){var Re=xe(Z),He=!Re&&tl(Z),Ye=!Re&&!He&&Zl(Z);ge=Z,Re||He||Ye?xe(q)?ge=q:Gt(q)?ge=bn(q):He?(ve=!1,ge=Eu(Z,!0)):Ye?(ve=!1,ge=Du(Z,!0)):ge=[]:Gr(Z)||Tl(Z)?(ge=q,Tl(q)?ge=Af(q):(!Bt(q)||Li(q))&&(ge=Xu(Z))):ve=!1}ve&&(W.set(Z,ge),P(ge,Z,b,V,W),W.delete(Z)),Ea(a,d,ge)}function Su(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ti(u,d)?a[u]:t}function ku(a,u,d){u.length?u=Dt(u,function(V){return xe(V)?function(W){return Pl(W,V.length===1?V[0]:V)}:V}):u=[Sn];var b=-1;u=Dt(u,In(je()));var P=bu(a,function(V,W,q){var Z=Dt(u,function(he){return he(V)});return{criteria:Z,index:++b,value:V}});return q_(P,function(V,W){return Lm(V,W,d)})}function mm(a,u){return Cu(a,u,function(d,b){return _o(a,b)})}function Cu(a,u,d){for(var b=-1,P=u.length,V={};++b<P;){var W=u[b],q=Pl(a,W);d(q,W)&&Wr(V,xi(W,a),q)}return V}function bm(a){return function(u){return Pl(u,a)}}function Ha(a,u,d,b){var P=b?z_:Bl,V=-1,W=u.length,q=a;for(a===u&&(u=bn(u)),d&&(q=Dt(a,In(d)));++V<W;)for(var Z=0,he=u[V],ge=d?d(he):he;(Z=P(q,ge,Z,b))>-1;)q!==a&&ks.call(q,Z,1),ks.call(a,Z,1);return a}function yu(a,u){for(var d=a?u.length:0,b=d-1;d--;){var P=u[d];if(d==b||P!==V){var V=P;Ti(P)?ks.call(a,P,1):Ka(a,P)}}return a}function za(a,u){return a+Ps(lu()*(u-a+1))}function vm(a,u,d,b){for(var P=-1,V=Xt(ys((u-a)/(d||1)),0),W=se(V);V--;)W[b?V:++P]=a,a+=d;return W}function qa(a,u){var d="";if(!a||u<1||u>$)return d;do u%2&&(d+=a),u=Ps(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return so(ef(a,u,Sn),a+"")}function wm(a){return au(Xl(a))}function Sm(a,u){var d=Xl(a);return zs(d,yl(u,0,d.length))}function Wr(a,u,d,b){if(!Bt(a))return a;u=xi(u,a);for(var P=-1,V=u.length,W=V-1,q=a;q!=null&&++P<V;){var Z=fi(u[P]),he=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(P!=W){var ge=q[Z];he=b?b(ge,Z,q):t,he===t&&(he=Bt(ge)?ge:Ti(u[P+1])?[]:{})}Or(q,Z,he),q=q[Z]}return a}var Pu=Ns?function(a,u){return Ns.set(a,u),a}:Sn,km=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:mo(u),writable:!0})}:Sn;function Cm(a){return zs(Xl(a))}function Kn(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 V=se(P);++b<P;)V[b]=a[b+u];return V}function ym(a,u){var d;return Xi(a,function(b,P,V){return d=u(b,P,V),!d}),!!d}function Ds(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Ne){for(;b<P;){var V=b+P>>>1,W=a[V];W!==null&&!Ln(W)&&(d?W<=u:W<u)?b=V+1:P=V}return P}return Ga(a,u,Sn,d)}function Ga(a,u,d,b){var P=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var W=u!==u,q=u===null,Z=Ln(u),he=u===t;P<V;){var ge=Ps((P+V)/2),ve=d(a[ge]),Re=ve!==t,He=ve===null,Ye=ve===ve,it=Ln(ve);if(W)var Qe=b||Ye;else he?Qe=Ye&&(b||Re):q?Qe=Ye&&Re&&(b||!He):Z?Qe=Ye&&Re&&!He&&(b||!it):He||it?Qe=!1:Qe=b?ve<=u:ve<u;Qe?P=ge+1:V=ge}return un(V,fe)}function Nu(a,u){for(var d=-1,b=a.length,P=0,V=[];++d<b;){var W=a[d],q=u?u(W):W;if(!d||!ti(q,Z)){var Z=q;V[P++]=W===0?0:W}}return V}function Iu(a){return typeof a=="number"?a:Ln(a)?le:+a}function Tn(a){if(typeof a=="string")return a;if(xe(a))return Dt(a,Tn)+"";if(Ln(a))return ru?ru.call(a):"";var u=a+"";return u=="0"&&1/a==-ae?"-0":u}function $i(a,u,d){var b=-1,P=ds,V=a.length,W=!0,q=[],Z=q;if(d)W=!1,P=va;else if(V>=l){var he=u?null:Mm(a);if(he)return gs(he);W=!1,P=Ar,Z=new Cl}else Z=u?[]:q;e:for(;++b<V;){var ge=a[b],ve=u?u(ge):ge;if(ge=d||ge!==0?ge:0,W&&ve===ve){for(var Re=Z.length;Re--;)if(Z[Re]===ve)continue e;u&&Z.push(ve),q.push(ge)}else P(Z,ve,d)||(Z!==q&&Z.push(ve),q.push(ge))}return q}function Ka(a,u){return u=xi(u,a),a=tf(a,u),a==null||delete a[fi(Jn(u))]}function Tu(a,u,d,b){return Wr(a,u,d(Pl(a,u)),b)}function Vs(a,u,d,b){for(var P=a.length,V=b?P:-1;(b?V--:++V<P)&&u(a[V],V,a););return d?Kn(a,b?0:V,b?V+1:P):Kn(a,b?V+1:0,b?P:V)}function Lu(a,u){var d=a;return d instanceof ot&&(d=d.value()),wa(u,function(b,P){return P.func.apply(P.thisArg,Yi([b],P.args))},d)}function Ja(a,u,d){var b=a.length;if(b<2)return b?$i(a[0]):[];for(var P=-1,V=se(b);++P<b;)for(var W=a[P],q=-1;++q<b;)q!=P&&(V[P]=Fr(V[P]||W,a[q],u,d));return $i(an(V,1),u,d)}function Au(a,u,d){for(var b=-1,P=a.length,V=u.length,W={};++b<P;){var q=b<V?u[b]:t;d(W,a[b],q)}return W}function ja(a){return Gt(a)?a:[]}function Ya(a){return typeof a=="function"?a:Sn}function xi(a,u){return xe(a)?a:io(a,u)?[a]:sf(St(a))}var Pm=rt;function el(a,u,d){var b=a.length;return d=d===t?b:d,!u&&d>=b?a:Kn(a,u,d)}var Ru=dp||function(a){return qt.clearTimeout(a)};function Eu(a,u){if(u)return a.slice();var d=a.length,b=xo?xo(d):new a.constructor(d);return a.copy(b),b}function Qa(a){var u=new a.constructor(a.byteLength);return new ws(u).set(new ws(a)),u}function Nm(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function Im(a){var u=new a.constructor(a.source,cl.exec(a));return u.lastIndex=a.lastIndex,u}function Tm(a){return Mr?Pt(Mr.call(a)):{}}function Du(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Vu(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,V=Ln(a),W=u!==t,q=u===null,Z=u===u,he=Ln(u);if(!q&&!he&&!V&&a>u||V&&W&&Z&&!q&&!he||b&&W&&Z||!d&&Z||!P)return 1;if(!b&&!V&&!he&&a<u||he&&d&&P&&!b&&!V||q&&d&&P||!W&&P||!Z)return-1}return 0}function Lm(a,u,d){for(var b=-1,P=a.criteria,V=u.criteria,W=P.length,q=d.length;++b<W;){var Z=Vu(P[b],V[b]);if(Z){if(b>=q)return Z;var he=d[b];return Z*(he=="desc"?-1:1)}}return a.index-u.index}function Mu(a,u,d,b){for(var P=-1,V=a.length,W=d.length,q=-1,Z=u.length,he=Xt(V-W,0),ge=se(Z+he),ve=!b;++q<Z;)ge[q]=u[q];for(;++P<W;)(ve||P<V)&&(ge[d[P]]=a[P]);for(;he--;)ge[q++]=a[P++];return ge}function Ou(a,u,d,b){for(var P=-1,V=a.length,W=-1,q=d.length,Z=-1,he=u.length,ge=Xt(V-q,0),ve=se(ge+he),Re=!b;++P<ge;)ve[P]=a[P];for(var He=P;++Z<he;)ve[He+Z]=u[Z];for(;++W<q;)(Re||P<V)&&(ve[He+d[W]]=a[P++]);return ve}function bn(a,u){var d=-1,b=a.length;for(u||(u=se(b));++d<b;)u[d]=a[d];return u}function ui(a,u,d,b){var P=!d;d||(d={});for(var V=-1,W=u.length;++V<W;){var q=u[V],Z=b?b(d[q],a[q],q,d,a):t;Z===t&&(Z=a[q]),P?Pi(d,q,Z):Or(d,q,Z)}return d}function Am(a,u){return ui(a,no(a),u)}function Rm(a,u){return ui(a,Qu(a),u)}function Ms(a,u){return function(d,b){var P=xe(d)?O_:xp,V=u?u():{};return P(d,a,je(b,2),V)}}function jl(a){return rt(function(u,d){var b=-1,P=d.length,V=P>1?d[P-1]:t,W=P>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(P--,V):t,W&&gn(d[0],d[1],W)&&(V=P<3?t:V,P=1),u=Pt(u);++b<P;){var q=d[b];q&&a(u,q,b,V)}return u})}function Fu(a,u){return function(d,b){if(d==null)return d;if(!vn(d))return a(d,b);for(var P=d.length,V=u?P:-1,W=Pt(d);(u?V--:++V<P)&&b(W[V],V,W)!==!1;);return d}}function Uu(a){return function(u,d,b){for(var P=-1,V=Pt(u),W=b(u),q=W.length;q--;){var Z=W[a?q:++P];if(d(V[Z],Z,V)===!1)break}return u}}function Em(a,u,d){var b=u&y,P=Hr(a);function V(){var W=this&&this!==qt&&this instanceof V?P:a;return W.apply(b?d:this,arguments)}return V}function Bu(a){return function(u){u=St(u);var d=Wl(u)?xn(u):t,b=d?d[0]:u.charAt(0),P=d?el(d,1).join(""):u.slice(1);return b[a]()+P}}function Yl(a){return function(u){return wa(Uf(Ff(u).replace(Fe,"")),a,"")}}function Hr(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=Jl(a.prototype),b=a.apply(d,u);return Bt(b)?b:d}}function Dm(a,u,d){var b=Hr(a);function P(){for(var V=arguments.length,W=se(V),q=V,Z=Ql(P);q--;)W[q]=arguments[q];var he=V<3&&W[0]!==Z&&W[V-1]!==Z?[]:Qi(W,Z);if(V-=he.length,V<d)return Gu(a,u,Os,P.placeholder,t,W,he,t,t,d-V);var ge=this&&this!==qt&&this instanceof P?b:a;return Nn(ge,this,W)}return P}function Wu(a){return function(u,d,b){var P=Pt(u);if(!vn(u)){var V=je(d,3);u=tn(u),d=function(q){return V(P[q],q,P)}}var W=a(u,d,b);return W>-1?P[V?u[W]:W]:t}}function Hu(a){return Ii(function(u){var d=u.length,b=d,P=qn.prototype.thru;for(a&&u.reverse();b--;){var V=u[b];if(typeof V!="function")throw new zn(s);if(P&&!W&&Ws(V)=="wrapper")var W=new qn([],!0)}for(b=W?b:d;++b<d;){V=u[b];var q=Ws(V),Z=q=="wrapper"?eo(V):t;Z&&lo(Z[0])&&Z[1]==(M|N|I|O)&&!Z[4].length&&Z[9]==1?W=W[Ws(Z[0])].apply(W,Z[3]):W=V.length==1&&lo(V)?W[q]():W.thru(V)}return function(){var he=arguments,ge=he[0];if(W&&he.length==1&&xe(ge))return W.plant(ge).value();for(var ve=0,Re=d?u[ve].apply(this,he):ge;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Os(a,u,d,b,P,V,W,q,Z,he){var ge=u&M,ve=u&y,Re=u&C,He=u&(N|D),Ye=u&B,it=Re?t:Hr(a);function Qe(){for(var at=arguments.length,ut=se(at),An=at;An--;)ut[An]=arguments[An];if(He)var _n=Ql(Qe),Rn=K_(ut,_n);if(b&&(ut=Mu(ut,b,P,He)),V&&(ut=Ou(ut,V,W,He)),at-=Rn,He&&at<he){var Kt=Qi(ut,_n);return Gu(a,u,Os,Qe.placeholder,d,ut,Kt,q,Z,he-at)}var ni=ve?d:this,Ri=Re?ni[a]:a;return at=ut.length,q?ut=xm(ut,q):Ye&&at>1&&ut.reverse(),ge&&Z<at&&(ut.length=Z),this&&this!==qt&&this instanceof Qe&&(Ri=it||Hr(Ri)),Ri.apply(ni,ut)}return Qe}function zu(a,u){return function(d,b){return am(d,a,u(b),{})}}function Fs(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=Tn(d),b=Tn(b)):(d=Iu(d),b=Iu(b)),P=a(d,b)}return P}}function Za(a){return Ii(function(u){return u=Dt(u,In(je())),rt(function(d){var b=this;return a(u,function(P){return Nn(P,b,d)})})})}function Us(a,u){u=u===t?" ":Tn(u);var d=u.length;if(d<2)return d?qa(u,a):u;var b=qa(u,ys(a/Hl(u)));return Wl(u)?el(xn(b),0,a).join(""):b.slice(0,a)}function Vm(a,u,d,b){var P=u&y,V=Hr(a);function W(){for(var q=-1,Z=arguments.length,he=-1,ge=b.length,ve=se(ge+Z),Re=this&&this!==qt&&this instanceof W?V:a;++he<ge;)ve[he]=b[he];for(;Z--;)ve[he++]=arguments[++q];return Nn(Re,P?d:this,ve)}return W}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),vm(u,d,b,a)}}function Bs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=jn(u),d=jn(d)),a(u,d)}}function Gu(a,u,d,b,P,V,W,q,Z,he){var ge=u&N,ve=ge?W:t,Re=ge?t:W,He=ge?V:t,Ye=ge?t:V;u|=ge?I:L,u&=~(ge?L:I),u&T||(u&=~(y|C));var it=[a,u,P,He,ve,Ye,Re,q,Z,he],Qe=d.apply(t,it);return lo(a)&&nf(Qe,it),Qe.placeholder=b,lf(Qe,a,u)}function Xa(a){var u=Zt[a];return function(d,b){if(d=jn(d),b=b==null?0:un(tt(b),292),b&&iu(d)){var P=(St(d)+"e").split("e"),V=u(P[0]+"e"+(+P[1]+b));return P=(St(V)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var Mm=Gl&&1/gs(new Gl([,-0]))[1]==ae?function(a){return new Gl(a)}:wo;function Ku(a){return function(u){var d=fn(u);return d==Et?Ia(u):d==Yt?$_(u):G_(u,a(u))}}function Ni(a,u,d,b,P,V,W,q){var Z=u&C;if(!Z&&typeof a!="function")throw new zn(s);var he=b?b.length:0;if(he||(u&=~(I|L),b=P=t),W=W===t?W:Xt(tt(W),0),q=q===t?q:tt(q),he-=P?P.length:0,u&L){var ge=b,ve=P;b=P=t}var Re=Z?t:eo(a),He=[a,u,d,b,P,ge,ve,V,W,q];if(Re&&Zm(He,Re),a=He[0],u=He[1],d=He[2],b=He[3],P=He[4],q=He[9]=He[9]===t?Z?0:a.length:Xt(He[9]-he,0),!q&&u&(N|D)&&(u&=~(N|D)),!u||u==y)var Ye=Em(a,u,d);else u==N||u==D?Ye=Dm(a,u,q):(u==I||u==(y|I))&&!P.length?Ye=Vm(a,u,d,b):Ye=Os.apply(t,He);var it=Re?Pu:nf;return lf(it(Ye,He),a,u)}function Ju(a,u,d,b){return a===t||ti(a,ql[d])&&!kt.call(b,d)?u:a}function ju(a,u,d,b,P,V){return Bt(a)&&Bt(u)&&(V.set(u,a),Es(a,u,t,ju,V),V.delete(u)),a}function Om(a){return Gr(a)?t:a}function Yu(a,u,d,b,P,V){var W=d&v,q=a.length,Z=u.length;if(q!=Z&&!(W&&Z>q))return!1;var he=V.get(a),ge=V.get(u);if(he&&ge)return he==u&&ge==a;var ve=-1,Re=!0,He=d&S?new Cl:t;for(V.set(a,u),V.set(u,a);++ve<q;){var Ye=a[ve],it=u[ve];if(b)var Qe=W?b(it,Ye,ve,u,a,V):b(Ye,it,ve,a,u,V);if(Qe!==t){if(Qe)continue;Re=!1;break}if(He){if(!Sa(u,function(at,ut){if(!Ar(He,ut)&&(Ye===at||P(Ye,at,d,b,V)))return He.push(ut)})){Re=!1;break}}else if(!(Ye===it||P(Ye,it,d,b,V))){Re=!1;break}}return V.delete(a),V.delete(u),Re}function Fm(a,u,d,b,P,V,W){switch(d){case Fn:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case rn:return!(a.byteLength!=u.byteLength||!V(new ws(a),new ws(u)));case Ee:case Le:case On:return ti(+a,+u);case et:return a.name==u.name&&a.message==u.message;case xt:case Xn:return a==u+"";case Et:var q=Ia;case Yt:var Z=b&v;if(q||(q=gs),a.size!=u.size&&!Z)return!1;var he=W.get(a);if(he)return he==u;b|=S,W.set(a,u);var ge=Yu(q(a),q(u),b,P,V,W);return W.delete(a),ge;case ct:if(Mr)return Mr.call(a)==Mr.call(u)}return!1}function Um(a,u,d,b,P,V){var W=d&v,q=$a(a),Z=q.length,he=$a(u),ge=he.length;if(Z!=ge&&!W)return!1;for(var ve=Z;ve--;){var Re=q[ve];if(!(W?Re in u:kt.call(u,Re)))return!1}var He=V.get(a),Ye=V.get(u);if(He&&Ye)return He==u&&Ye==a;var it=!0;V.set(a,u),V.set(u,a);for(var Qe=W;++ve<Z;){Re=q[ve];var at=a[Re],ut=u[Re];if(b)var An=W?b(ut,at,Re,u,a,V):b(at,ut,Re,a,u,V);if(!(An===t?at===ut||P(at,ut,d,b,V):An)){it=!1;break}Qe||(Qe=Re=="constructor")}if(it&&!Qe){var _n=a.constructor,Rn=u.constructor;_n!=Rn&&"constructor"in a&&"constructor"in u&&!(typeof _n=="function"&&_n instanceof _n&&typeof Rn=="function"&&Rn instanceof Rn)&&(it=!1)}return V.delete(a),V.delete(u),it}function Ii(a){return so(ef(a,t,ff),a+"")}function $a(a){return gu(a,tn,no)}function xa(a){return gu(a,wn,Qu)}var eo=Ns?function(a){return Ns.get(a)}:wo;function Ws(a){for(var u=a.name+"",d=Kl[u],b=kt.call(Kl,u)?d.length:0;b--;){var P=d[b],V=P.func;if(V==null||V==a)return P.name}return u}function Ql(a){var u=kt.call(E,"placeholder")?E:a;return u.placeholder}function je(){var a=E.iteratee||bo;return a=a===bo?mu:a,arguments.length?a(arguments[0],arguments[1]):a}function Hs(a,u){var d=a.__data__;return Jm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function to(a){for(var u=tn(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,$u(P)]}return u}function Nl(a,u){var d=Q_(a,u);return pu(d)?d:t}function Bm(a){var u=kt.call(a,Sl),d=a[Sl];try{a[Sl]=t;var b=!0}catch{}var P=bs.call(a);return b&&(u?a[Sl]=d:delete a[Sl]),P}var no=La?function(a){return a==null?[]:(a=Pt(a),ji(La(a),function(u){return tu.call(a,u)}))}:So,Qu=La?function(a){for(var u=[];a;)Yi(u,no(a)),a=Ss(a);return u}:So,fn=hn;(Aa&&fn(new Aa(new ArrayBuffer(1)))!=Fn||Er&&fn(new Er)!=Et||Ra&&fn(Ra.resolve())!=mi||Gl&&fn(new Gl)!=Yt||Dr&&fn(new Dr)!=$n)&&(fn=function(a){var u=hn(a),d=u==zt?a.constructor:t,b=d?Il(d):"";if(b)switch(b){case Sp:return Fn;case kp:return Et;case Cp:return mi;case yp:return Yt;case Pp:return $n}return u});function Wm(a,u,d){for(var b=-1,P=d.length;++b<P;){var V=d[b],W=V.size;switch(V.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=un(u,a+W);break;case"takeRight":a=Xt(a,u-W);break}}return{start:a,end:u}}function Hm(a){var u=a.match(Vl);return u?u[1].split(Ml):[]}function Zu(a,u,d){u=xi(u,a);for(var b=-1,P=u.length,V=!1;++b<P;){var W=fi(u[b]);if(!(V=a!=null&&d(a,W)))break;a=a[W]}return V||++b!=P?V:(P=a==null?0:a.length,!!P&&Ys(P)&&Ti(W,P)&&(xe(a)||Tl(a)))}function zm(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 Xu(a){return typeof a.constructor=="function"&&!zr(a)?Jl(Ss(a)):{}}function qm(a,u,d){var b=a.constructor;switch(u){case rn:return Qa(a);case Ee:case Le:return new b(+a);case Fn:return Nm(a,d);case bi:case sn:case te:case Me:case ht:case Ct:case yt:case wt:case on:return Du(a,d);case Et:return new b;case On:case Xn:return new b(a);case xt:return Im(a);case Yt:return new b;case ct:return Tm(a)}}function Gm(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(Dl,`{
|
|
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,T=4,N=8,D=16,I=32,L=64,M=128,O=256,B=512,z=30,ue="...",X=800,Q=16,ce=1,ke=2,H=3,ae=1/0,$=9007199254740991,J=17976931348623157e292,le=0/0,we=4294967295,fe=we-1,Ne=we>>>1,x=[["ary",M],["bind",y],["bindKey",C],["curry",N],["curryRight",D],["flip",B],["partial",I],["partialRight",L],["rearg",O]],_e="[object Arguments]",me="[object Array]",ie="[object AsyncFunction]",Ee="[object Boolean]",Le="[object Date]",pe="[object DOMException]",et="[object Error]",Ot="[object Function]",jt="[object GeneratorFunction]",Et="[object Map]",On="[object Number]",Oi="[object Null]",zt="[object Object]",mi="[object Promise]",Fi="[object Proxy]",xt="[object RegExp]",Yt="[object Set]",Xn="[object String]",ct="[object Symbol]",dn="[object Undefined]",$n="[object WeakMap]",ln="[object WeakSet]",rn="[object ArrayBuffer]",Fn="[object DataView]",bi="[object Float32Array]",sn="[object Float64Array]",ee="[object Int8Array]",Me="[object Int16Array]",ht="[object Int32Array]",Ct="[object Uint8Array]",yt="[object Uint8ClampedArray]",wt="[object Uint16Array]",on="[object Uint32Array]",yn=/\b__p \+= '';/g,ri=/\b(__p \+=) '' \+/g,Ui=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ol=/&(?:amp|lt|gt|quot|#39);/g,vi=/[&<>"']/g,fr=RegExp(ol.source),cr=RegExp(vi.source),dr=/<%-([\s\S]+?)%>/g,hr=/<%([\s\S]+?)%>/g,El=/<%=([\s\S]+?)%>/g,gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_r=/^\w*$/,pr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wi=/[\\^$.*+?()[\]{}|]/g,Bi=RegExp(wi.source),Si=/^\s+/,Wi=/\s/,Dl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vl=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,mn=/[()=,{}\[\]\/\s]/,ul=/\\(\\)?/g,fl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cl=/\w*$/,br=/^[-+]0x[0-9a-f]+$/i,Hi=/^0b[01]+$/i,dl=/^\[object .+?Constructor\]$/,hl=/^0o[0-7]+$/i,gl=/^(?:0|[1-9]\d*)$/,Ol=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ki=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,gt="\\ud800-\\udfff",_l="\\u0300-\\u036f",pl="\\ufe20-\\ufe2f",Fl="\\u20d0-\\u20ff",ml=_l+pl+Fl,si="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",j="\\xac\\xb1\\xd7\\xf7",It="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pn="\\u2000-\\u206f",Un=" \\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",xr="A-Z\\xc0-\\xd6\\xd8-\\xde",es="\\ufe0e\\ufe0f",ts=j+It+Pn+Un,bl="['\u2019]",_a="["+gt+"]",ns="["+ts+"]",Ul="["+ml+"]",is="\\d+",pa="["+si+"]",wr="["+Ft+"]",Sr="[^"+gt+ts+is+si+Ft+xr+"]",kr="\\ud83c[\\udffb-\\udfff]",ma="(?:"+Ul+"|"+kr+")",ls="[^"+gt+"]",Cr="(?:\\ud83c[\\udde6-\\uddff]){2}",yr="[\\ud800-\\udbff][\\udc00-\\udfff]",zi="["+xr+"]",rs="\\u200d",ss="(?:"+wr+"|"+Sr+")",ba="(?:"+zi+"|"+Sr+")",as="(?:"+bl+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+bl+"(?:D|LL|M|RE|S|T|VE))?",us=ma+"?",fs="["+es+"]?",F="(?:"+rs+"(?:"+[ls,Cr,yr].join("|")+")"+fs+us+")*",oe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Je=fs+us+F,Be="(?:"+[pa,Cr,yr].join("|")+")"+Je,Se="(?:"+[ls+Ul+"?",Ul,Cr,yr,_a].join("|")+")",Fe=RegExp(bl,"g"),_t=RegExp(Ul,"g"),Tt=RegExp(kr+"(?="+kr+")|"+Se+Je,"g"),Pr=RegExp([zi+"?"+wr+"+"+as+"(?="+[ns,zi,"$"].join("|")+")",ba+"+"+os+"(?="+[ns,zi+ss,"$"].join("|")+")",zi+"?"+ss+"+"+as,zi+"+"+os,Oe,oe,is,Be].join("|"),"g"),qi=RegExp("["+rs+gt+ml+es+"]"),Nr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gi=["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"],Ir=-1,Ae={};Ae[bi]=Ae[sn]=Ae[ee]=Ae[Me]=Ae[ht]=Ae[Ct]=Ae[yt]=Ae[wt]=Ae[on]=!0,Ae[_e]=Ae[me]=Ae[rn]=Ae[Ee]=Ae[Fn]=Ae[Le]=Ae[et]=Ae[Ot]=Ae[Et]=Ae[On]=Ae[zt]=Ae[xt]=Ae[Yt]=Ae[Xn]=Ae[$n]=!1;var Ke={};Ke[_e]=Ke[me]=Ke[rn]=Ke[Fn]=Ke[Ee]=Ke[Le]=Ke[bi]=Ke[sn]=Ke[ee]=Ke[Me]=Ke[ht]=Ke[Et]=Ke[On]=Ke[zt]=Ke[xt]=Ke[Yt]=Ke[Xn]=Ke[ct]=Ke[Ct]=Ke[yt]=Ke[wt]=Ke[on]=!0,Ke[et]=Ke[Ot]=Ke[$n]=!1;var Qt={\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"},Bn={"&":"&","<":"<",">":">",'"':""","'":"'"},ai={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ki={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vl=parseFloat,Tr=parseInt,wl=typeof jr=="object"&&jr&&jr.Object===Object&&jr,Oo=typeof self=="object"&&self&&self.Object===Object&&self,qt=wl||Oo||Function("return this")(),Lr=e&&!e.nodeType&&e,Wn=Lr&&!0&&i&&!i.nodeType&&i,Ji=Wn&&Wn.exports===Lr,en=Ji&&wl.process,Ut=function(){try{var Y=Wn&&Wn.require&&Wn.require("util").types;return Y||en&&en.binding&&en.binding("util")}catch{}}(),cs=Ut&&Ut.isArrayBuffer,Fo=Ut&&Ut.isDate,Uo=Ut&&Ut.isMap,Bo=Ut&&Ut.isRegExp,Wo=Ut&&Ut.isSet,Ho=Ut&&Ut.isTypedArray;function Nn(Y,de,se){switch(se.length){case 0:return Y.call(de);case 1:return Y.call(de,se[0]);case 2:return Y.call(de,se[0],se[1]);case 3:return Y.call(de,se[0],se[1],se[2])}return Y.apply(de,se)}function O_(Y,de,se,We){for(var Xe=-1,pt=Y==null?0:Y.length;++Xe<pt;){var Zt=Y[Xe];de(We,Zt,se(Zt),Y)}return We}function Hn(Y,de){for(var se=-1,We=Y==null?0:Y.length;++se<We&&de(Y[se],se,Y)!==!1;);return Y}function F_(Y,de){for(var se=Y==null?0:Y.length;se--&&de(Y[se],se,Y)!==!1;);return Y}function zo(Y,de){for(var se=-1,We=Y==null?0:Y.length;++se<We;)if(!de(Y[se],se,Y))return!1;return!0}function ji(Y,de){for(var se=-1,We=Y==null?0:Y.length,Xe=0,pt=[];++se<We;){var Zt=Y[se];de(Zt,se,Y)&&(pt[Xe++]=Zt)}return pt}function ds(Y,de){var se=Y==null?0:Y.length;return!!se&&Bl(Y,de,0)>-1}function va(Y,de,se){for(var We=-1,Xe=Y==null?0:Y.length;++We<Xe;)if(se(de,Y[We]))return!0;return!1}function Dt(Y,de){for(var se=-1,We=Y==null?0:Y.length,Xe=Array(We);++se<We;)Xe[se]=de(Y[se],se,Y);return Xe}function Yi(Y,de){for(var se=-1,We=de.length,Xe=Y.length;++se<We;)Y[Xe+se]=de[se];return Y}function wa(Y,de,se,We){var Xe=-1,pt=Y==null?0:Y.length;for(We&&pt&&(se=Y[++Xe]);++Xe<pt;)se=de(se,Y[Xe],Xe,Y);return se}function U_(Y,de,se,We){var Xe=Y==null?0:Y.length;for(We&&Xe&&(se=Y[--Xe]);Xe--;)se=de(se,Y[Xe],Xe,Y);return se}function Sa(Y,de){for(var se=-1,We=Y==null?0:Y.length;++se<We;)if(de(Y[se],se,Y))return!0;return!1}var B_=ka("length");function W_(Y){return Y.split("")}function H_(Y){return Y.match(mr)||[]}function qo(Y,de,se){var We;return se(Y,function(Xe,pt,Zt){if(de(Xe,pt,Zt))return We=pt,!1}),We}function hs(Y,de,se,We){for(var Xe=Y.length,pt=se+(We?1:-1);We?pt--:++pt<Xe;)if(de(Y[pt],pt,Y))return pt;return-1}function Bl(Y,de,se){return de===de?x_(Y,de,se):hs(Y,Go,se)}function z_(Y,de,se,We){for(var Xe=se-1,pt=Y.length;++Xe<pt;)if(We(Y[Xe],de))return Xe;return-1}function Go(Y){return Y!==Y}function Ko(Y,de){var se=Y==null?0:Y.length;return se?ya(Y,de)/se:le}function ka(Y){return function(de){return de==null?t:de[Y]}}function Ca(Y){return function(de){return Y==null?t:Y[de]}}function Jo(Y,de,se,We,Xe){return Xe(Y,function(pt,Zt,Pt){se=We?(We=!1,pt):de(se,pt,Zt,Pt)}),se}function q_(Y,de){var se=Y.length;for(Y.sort(de);se--;)Y[se]=Y[se].value;return Y}function ya(Y,de){for(var se,We=-1,Xe=Y.length;++We<Xe;){var pt=de(Y[We]);pt!==t&&(se=se===t?pt:se+pt)}return se}function Pa(Y,de){for(var se=-1,We=Array(Y);++se<Y;)We[se]=de(se);return We}function G_(Y,de){return Dt(de,function(se){return[se,Y[se]]})}function jo(Y){return Y&&Y.slice(0,Xo(Y)+1).replace(Si,"")}function In(Y){return function(de){return Y(de)}}function Na(Y,de){return Dt(de,function(se){return Y[se]})}function Ar(Y,de){return Y.has(de)}function Yo(Y,de){for(var se=-1,We=Y.length;++se<We&&Bl(de,Y[se],0)>-1;);return se}function Qo(Y,de){for(var se=Y.length;se--&&Bl(de,Y[se],0)>-1;);return se}function K_(Y,de){for(var se=Y.length,We=0;se--;)Y[se]===de&&++We;return We}var J_=Ca(Qt),j_=Ca(Bn);function Y_(Y){return"\\"+Ki[Y]}function Q_(Y,de){return Y==null?t:Y[de]}function Wl(Y){return qi.test(Y)}function Z_(Y){return Nr.test(Y)}function X_(Y){for(var de,se=[];!(de=Y.next()).done;)se.push(de.value);return se}function Ia(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(We,Xe){se[++de]=[Xe,We]}),se}function Zo(Y,de){return function(se){return Y(de(se))}}function Qi(Y,de){for(var se=-1,We=Y.length,Xe=0,pt=[];++se<We;){var Zt=Y[se];(Zt===de||Zt===h)&&(Y[se]=h,pt[Xe++]=se)}return pt}function gs(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(We){se[++de]=We}),se}function $_(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(We){se[++de]=[We,We]}),se}function x_(Y,de,se){for(var We=se-1,Xe=Y.length;++We<Xe;)if(Y[We]===de)return We;return-1}function ep(Y,de,se){for(var We=se+1;We--;)if(Y[We]===de)return We;return We}function Hl(Y){return Wl(Y)?np(Y):B_(Y)}function xn(Y){return Wl(Y)?ip(Y):W_(Y)}function Xo(Y){for(var de=Y.length;de--&&Wi.test(Y.charAt(de)););return de}var tp=Ca(ai);function np(Y){for(var de=Tt.lastIndex=0;Tt.test(Y);)++de;return de}function ip(Y){return Y.match(Tt)||[]}function lp(Y){return Y.match(Pr)||[]}var rp=function Y(de){de=de==null?qt:zl.defaults(qt.Object(),de,zl.pick(qt,Gi));var se=de.Array,We=de.Date,Xe=de.Error,pt=de.Function,Zt=de.Math,Pt=de.Object,Ta=de.RegExp,sp=de.String,zn=de.TypeError,_s=se.prototype,ap=pt.prototype,ql=Pt.prototype,ps=de["__core-js_shared__"],ms=ap.toString,kt=ql.hasOwnProperty,op=0,$o=function(){var a=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),bs=ql.toString,up=ms.call(Pt),fp=qt._,cp=Ta("^"+ms.call(kt).replace(wi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vs=Ji?de.Buffer:t,Zi=de.Symbol,ws=de.Uint8Array,xo=vs?vs.allocUnsafe:t,Ss=Zo(Pt.getPrototypeOf,Pt),eu=Pt.create,tu=ql.propertyIsEnumerable,ks=_s.splice,nu=Zi?Zi.isConcatSpreadable:t,Rr=Zi?Zi.iterator:t,Sl=Zi?Zi.toStringTag:t,Cs=function(){try{var a=Nl(Pt,"defineProperty");return a({},"",{}),a}catch{}}(),dp=de.clearTimeout!==qt.clearTimeout&&de.clearTimeout,hp=We&&We.now!==qt.Date.now&&We.now,gp=de.setTimeout!==qt.setTimeout&&de.setTimeout,ys=Zt.ceil,Ps=Zt.floor,La=Pt.getOwnPropertySymbols,_p=vs?vs.isBuffer:t,iu=de.isFinite,pp=_s.join,mp=Zo(Pt.keys,Pt),Xt=Zt.max,un=Zt.min,bp=We.now,vp=de.parseInt,lu=Zt.random,wp=_s.reverse,Aa=Nl(de,"DataView"),Er=Nl(de,"Map"),Ra=Nl(de,"Promise"),Gl=Nl(de,"Set"),Dr=Nl(de,"WeakMap"),Vr=Nl(Pt,"create"),Ns=Dr&&new Dr,Kl={},Sp=Il(Aa),kp=Il(Er),Cp=Il(Ra),yp=Il(Gl),Pp=Il(Dr),Is=Zi?Zi.prototype:t,Mr=Is?Is.valueOf:t,ru=Is?Is.toString:t;function E(a){if(Ht(a)&&!xe(a)&&!(a instanceof ot)){if(a instanceof qn)return a;if(kt.call(a,"__wrapped__"))return af(a)}return new qn(a)}var Jl=function(){function a(){}return function(u){if(!Bt(u))return{};if(eu)return eu(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ts(){}function qn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}E.templateSettings={escape:dr,evaluate:hr,interpolate:El,variable:"",imports:{_:E}},E.prototype=Ts.prototype,E.prototype.constructor=E,qn.prototype=Jl(Ts.prototype),qn.prototype.constructor=qn;function ot(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=we,this.__views__=[]}function Np(){var a=new ot(this.__wrapped__);return a.__actions__=bn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=bn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=bn(this.__views__),a}function Ip(){if(this.__filtered__){var a=new ot(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function Tp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),b=u<0,P=d?a.length:0,V=Wm(0,P,this.__views__),W=V.start,q=V.end,Z=q-W,he=b?q:W-1,ge=this.__iteratees__,ve=ge.length,Re=0,He=un(Z,this.__takeCount__);if(!d||!b&&P==Z&&He==Z)return Lu(a,this.__actions__);var Ye=[];e:for(;Z--&&Re<He;){he+=u;for(var it=-1,Qe=a[he];++it<ve;){var at=ge[it],ut=at.iteratee,An=at.type,_n=ut(Qe);if(An==ke)Qe=_n;else if(!_n){if(An==ce)continue e;break e}}Ye[Re++]=Qe}return Ye}ot.prototype=Jl(Ts.prototype),ot.prototype.constructor=ot;function kl(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 Lp(){this.__data__=Vr?Vr(null):{},this.size=0}function Ap(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Rp(a){var u=this.__data__;if(Vr){var d=u[a];return d===c?t:d}return kt.call(u,a)?u[a]:t}function Ep(a){var u=this.__data__;return Vr?u[a]!==t:kt.call(u,a)}function Dp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Vr&&u===t?c:u,this}kl.prototype.clear=Lp,kl.prototype.delete=Ap,kl.prototype.get=Rp,kl.prototype.has=Ep,kl.prototype.set=Dp;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 Vp(){this.__data__=[],this.size=0}function Mp(a){var u=this.__data__,d=Ls(u,a);if(d<0)return!1;var b=u.length-1;return d==b?u.pop():ks.call(u,d,1),--this.size,!0}function Op(a){var u=this.__data__,d=Ls(u,a);return d<0?t:u[d][1]}function Fp(a){return Ls(this.__data__,a)>-1}function Up(a,u){var d=this.__data__,b=Ls(d,a);return b<0?(++this.size,d.push([a,u])):d[b][1]=u,this}Ci.prototype.clear=Vp,Ci.prototype.delete=Mp,Ci.prototype.get=Op,Ci.prototype.has=Fp,Ci.prototype.set=Up;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 Bp(){this.size=0,this.__data__={hash:new kl,map:new(Er||Ci),string:new kl}}function Wp(a){var u=Hs(this,a).delete(a);return this.size-=u?1:0,u}function Hp(a){return Hs(this,a).get(a)}function zp(a){return Hs(this,a).has(a)}function qp(a,u){var d=Hs(this,a),b=d.size;return d.set(a,u),this.size+=d.size==b?0:1,this}yi.prototype.clear=Bp,yi.prototype.delete=Wp,yi.prototype.get=Hp,yi.prototype.has=zp,yi.prototype.set=qp;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new yi;++u<d;)this.add(a[u])}function Gp(a){return this.__data__.set(a,c),this}function Kp(a){return this.__data__.has(a)}Cl.prototype.add=Cl.prototype.push=Gp,Cl.prototype.has=Kp;function ei(a){var u=this.__data__=new Ci(a);this.size=u.size}function Jp(){this.__data__=new Ci,this.size=0}function jp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Yp(a){return this.__data__.get(a)}function Qp(a){return this.__data__.has(a)}function Zp(a,u){var d=this.__data__;if(d instanceof Ci){var b=d.__data__;if(!Er||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}ei.prototype.clear=Jp,ei.prototype.delete=jp,ei.prototype.get=Yp,ei.prototype.has=Qp,ei.prototype.set=Zp;function su(a,u){var d=xe(a),b=!d&&Tl(a),P=!d&&!b&&tl(a),V=!d&&!b&&!P&&Zl(a),W=d||b||P||V,q=W?Pa(a.length,sp):[],Z=q.length;for(var he in a)(u||kt.call(a,he))&&!(W&&(he=="length"||P&&(he=="offset"||he=="parent")||V&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||Ti(he,Z)))&&q.push(he);return q}function au(a){var u=a.length;return u?a[za(0,u-1)]:t}function Xp(a,u){return zs(bn(a),yl(u,0,a.length))}function $p(a){return zs(bn(a))}function Ea(a,u,d){(d!==t&&!ti(a[u],d)||d===t&&!(u in a))&&Pi(a,u,d)}function Or(a,u,d){var b=a[u];(!(kt.call(a,u)&&ti(b,d))||d===t&&!(u in a))&&Pi(a,u,d)}function Ls(a,u){for(var d=a.length;d--;)if(ti(a[d][0],u))return d;return-1}function xp(a,u,d,b){return Xi(a,function(P,V,W){u(b,P,d(P),W)}),b}function ou(a,u){return a&&ui(u,tn(u),a)}function em(a,u){return a&&ui(u,wn(u),a)}function Pi(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Da(a,u){for(var d=-1,b=u.length,P=se(b),V=a==null;++d<b;)P[d]=V?t:go(a,u[d]);return P}function yl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Gn(a,u,d,b,P,V){var W,q=u&_,Z=u&p,he=u&m;if(d&&(W=P?d(a,b,P,V):d(a)),W!==t)return W;if(!Bt(a))return a;var ge=xe(a);if(ge){if(W=zm(a),!q)return bn(a,W)}else{var ve=fn(a),Re=ve==Ot||ve==jt;if(tl(a))return Eu(a,q);if(ve==zt||ve==_e||Re&&!P){if(W=Z||Re?{}:Xu(a),!q)return Z?Rm(a,em(W,a)):Am(a,ou(W,a))}else{if(!Ke[ve])return P?a:{};W=qm(a,ve,q)}}V||(V=new ei);var He=V.get(a);if(He)return He;V.set(a,W),If(a)?a.forEach(function(Qe){W.add(Gn(Qe,u,d,Qe,a,V))}):Pf(a)&&a.forEach(function(Qe,at){W.set(at,Gn(Qe,u,d,at,a,V))});var Ye=he?Z?xa:$a:Z?wn:tn,it=ge?t:Ye(a);return Hn(it||a,function(Qe,at){it&&(at=Qe,Qe=a[at]),Or(W,at,Gn(Qe,u,d,at,a,V))}),W}function tm(a){var u=tn(a);return function(d){return uu(d,a,u)}}function uu(a,u,d){var b=d.length;if(a==null)return!b;for(a=Pt(a);b--;){var P=d[b],V=u[P],W=a[P];if(W===t&&!(P in a)||!V(W))return!1}return!0}function fu(a,u,d){if(typeof a!="function")throw new zn(s);return qr(function(){a.apply(t,d)},u)}function Fr(a,u,d,b){var P=-1,V=ds,W=!0,q=a.length,Z=[],he=u.length;if(!q)return Z;d&&(u=Dt(u,In(d))),b?(V=va,W=!1):u.length>=l&&(V=Ar,W=!1,u=new Cl(u));e:for(;++P<q;){var ge=a[P],ve=d==null?ge:d(ge);if(ge=b||ge!==0?ge:0,W&&ve===ve){for(var Re=he;Re--;)if(u[Re]===ve)continue e;Z.push(ge)}else V(u,ve,b)||Z.push(ge)}return Z}var Xi=Fu(oi),cu=Fu(Ma,!0);function nm(a,u){var d=!0;return Xi(a,function(b,P,V){return d=!!u(b,P,V),d}),d}function As(a,u,d){for(var b=-1,P=a.length;++b<P;){var V=a[b],W=u(V);if(W!=null&&(q===t?W===W&&!Ln(W):d(W,q)))var q=W,Z=V}return Z}function im(a,u,d,b){var P=a.length;for(d=tt(d),d<0&&(d=-d>P?0:P+d),b=b===t||b>P?P:tt(b),b<0&&(b+=P),b=d>b?0:Lf(b);d<b;)a[d++]=u;return a}function du(a,u){var d=[];return Xi(a,function(b,P,V){u(b,P,V)&&d.push(b)}),d}function an(a,u,d,b,P){var V=-1,W=a.length;for(d||(d=Km),P||(P=[]);++V<W;){var q=a[V];u>0&&d(q)?u>1?an(q,u-1,d,b,P):Yi(P,q):b||(P[P.length]=q)}return P}var Va=Uu(),hu=Uu(!0);function oi(a,u){return a&&Va(a,u,tn)}function Ma(a,u){return a&&hu(a,u,tn)}function Rs(a,u){return ji(u,function(d){return Li(a[d])})}function Pl(a,u){u=xi(u,a);for(var d=0,b=u.length;a!=null&&d<b;)a=a[fi(u[d++])];return d&&d==b?a:t}function gu(a,u,d){var b=u(a);return xe(a)?b:Yi(b,d(a))}function hn(a){return a==null?a===t?dn:Oi:Sl&&Sl in Pt(a)?Bm(a):$m(a)}function Oa(a,u){return a>u}function lm(a,u){return a!=null&&kt.call(a,u)}function rm(a,u){return a!=null&&u in Pt(a)}function sm(a,u,d){return a>=un(u,d)&&a<Xt(u,d)}function Fa(a,u,d){for(var b=d?va:ds,P=a[0].length,V=a.length,W=V,q=se(V),Z=1/0,he=[];W--;){var ge=a[W];W&&u&&(ge=Dt(ge,In(u))),Z=un(ge.length,Z),q[W]=!d&&(u||P>=120&&ge.length>=120)?new Cl(W&&ge):t}ge=a[0];var ve=-1,Re=q[0];e:for(;++ve<P&&he.length<Z;){var He=ge[ve],Ye=u?u(He):He;if(He=d||He!==0?He:0,!(Re?Ar(Re,Ye):b(he,Ye,d))){for(W=V;--W;){var it=q[W];if(!(it?Ar(it,Ye):b(a[W],Ye,d)))continue e}Re&&Re.push(Ye),he.push(He)}}return he}function am(a,u,d,b){return oi(a,function(P,V,W){u(b,d(P),V,W)}),b}function Ur(a,u,d){u=xi(u,a),a=tf(a,u);var b=a==null?a:a[fi(Jn(u))];return b==null?t:Nn(b,a,d)}function _u(a){return Ht(a)&&hn(a)==_e}function om(a){return Ht(a)&&hn(a)==rn}function um(a){return Ht(a)&&hn(a)==Le}function Br(a,u,d,b,P){return a===u?!0:a==null||u==null||!Ht(a)&&!Ht(u)?a!==a&&u!==u:fm(a,u,d,b,Br,P)}function fm(a,u,d,b,P,V){var W=xe(a),q=xe(u),Z=W?me:fn(a),he=q?me:fn(u);Z=Z==_e?zt:Z,he=he==_e?zt:he;var ge=Z==zt,ve=he==zt,Re=Z==he;if(Re&&tl(a)){if(!tl(u))return!1;W=!0,ge=!1}if(Re&&!ge)return V||(V=new ei),W||Zl(a)?Yu(a,u,d,b,P,V):Fm(a,u,Z,d,b,P,V);if(!(d&v)){var He=ge&&kt.call(a,"__wrapped__"),Ye=ve&&kt.call(u,"__wrapped__");if(He||Ye){var it=He?a.value():a,Qe=Ye?u.value():u;return V||(V=new ei),P(it,Qe,d,b,V)}}return Re?(V||(V=new ei),Um(a,u,d,b,P,V)):!1}function cm(a){return Ht(a)&&fn(a)==Et}function Ua(a,u,d,b){var P=d.length,V=P,W=!b;if(a==null)return!V;for(a=Pt(a);P--;){var q=d[P];if(W&&q[2]?q[1]!==a[q[0]]:!(q[0]in a))return!1}for(;++P<V;){q=d[P];var Z=q[0],he=a[Z],ge=q[1];if(W&&q[2]){if(he===t&&!(Z in a))return!1}else{var ve=new ei;if(b)var Re=b(he,ge,Z,a,u,ve);if(!(Re===t?Br(ge,he,v|S,b,ve):Re))return!1}}return!0}function pu(a){if(!Bt(a)||jm(a))return!1;var u=Li(a)?cp:dl;return u.test(Il(a))}function dm(a){return Ht(a)&&hn(a)==xt}function hm(a){return Ht(a)&&fn(a)==Yt}function gm(a){return Ht(a)&&Ys(a.length)&&!!Ae[hn(a)]}function mu(a){return typeof a=="function"?a:a==null?Sn:typeof a=="object"?xe(a)?wu(a[0],a[1]):vu(a):Wf(a)}function Ba(a){if(!zr(a))return mp(a);var u=[];for(var d in Pt(a))kt.call(a,d)&&d!="constructor"&&u.push(d);return u}function _m(a){if(!Bt(a))return Xm(a);var u=zr(a),d=[];for(var b in a)b=="constructor"&&(u||!kt.call(a,b))||d.push(b);return d}function Wa(a,u){return a<u}function bu(a,u){var d=-1,b=vn(a)?se(a.length):[];return Xi(a,function(P,V,W){b[++d]=u(P,V,W)}),b}function vu(a){var u=to(a);return u.length==1&&u[0][2]?xu(u[0][0],u[0][1]):function(d){return d===a||Ua(d,a,u)}}function wu(a,u){return io(a)&&$u(u)?xu(fi(a),u):function(d){var b=go(d,a);return b===t&&b===u?_o(d,a):Br(u,b,v|S)}}function Es(a,u,d,b,P){a!==u&&Va(u,function(V,W){if(P||(P=new ei),Bt(V))pm(a,u,W,d,Es,b,P);else{var q=b?b(ro(a,W),V,W+"",a,u,P):t;q===t&&(q=V),Ea(a,W,q)}},wn)}function pm(a,u,d,b,P,V,W){var q=ro(a,d),Z=ro(u,d),he=W.get(Z);if(he){Ea(a,d,he);return}var ge=V?V(q,Z,d+"",a,u,W):t,ve=ge===t;if(ve){var Re=xe(Z),He=!Re&&tl(Z),Ye=!Re&&!He&&Zl(Z);ge=Z,Re||He||Ye?xe(q)?ge=q:Gt(q)?ge=bn(q):He?(ve=!1,ge=Eu(Z,!0)):Ye?(ve=!1,ge=Du(Z,!0)):ge=[]:Gr(Z)||Tl(Z)?(ge=q,Tl(q)?ge=Af(q):(!Bt(q)||Li(q))&&(ge=Xu(Z))):ve=!1}ve&&(W.set(Z,ge),P(ge,Z,b,V,W),W.delete(Z)),Ea(a,d,ge)}function Su(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ti(u,d)?a[u]:t}function ku(a,u,d){u.length?u=Dt(u,function(V){return xe(V)?function(W){return Pl(W,V.length===1?V[0]:V)}:V}):u=[Sn];var b=-1;u=Dt(u,In(je()));var P=bu(a,function(V,W,q){var Z=Dt(u,function(he){return he(V)});return{criteria:Z,index:++b,value:V}});return q_(P,function(V,W){return Lm(V,W,d)})}function mm(a,u){return Cu(a,u,function(d,b){return _o(a,b)})}function Cu(a,u,d){for(var b=-1,P=u.length,V={};++b<P;){var W=u[b],q=Pl(a,W);d(q,W)&&Wr(V,xi(W,a),q)}return V}function bm(a){return function(u){return Pl(u,a)}}function Ha(a,u,d,b){var P=b?z_:Bl,V=-1,W=u.length,q=a;for(a===u&&(u=bn(u)),d&&(q=Dt(a,In(d)));++V<W;)for(var Z=0,he=u[V],ge=d?d(he):he;(Z=P(q,ge,Z,b))>-1;)q!==a&&ks.call(q,Z,1),ks.call(a,Z,1);return a}function yu(a,u){for(var d=a?u.length:0,b=d-1;d--;){var P=u[d];if(d==b||P!==V){var V=P;Ti(P)?ks.call(a,P,1):Ka(a,P)}}return a}function za(a,u){return a+Ps(lu()*(u-a+1))}function vm(a,u,d,b){for(var P=-1,V=Xt(ys((u-a)/(d||1)),0),W=se(V);V--;)W[b?V:++P]=a,a+=d;return W}function qa(a,u){var d="";if(!a||u<1||u>$)return d;do u%2&&(d+=a),u=Ps(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return so(ef(a,u,Sn),a+"")}function wm(a){return au(Xl(a))}function Sm(a,u){var d=Xl(a);return zs(d,yl(u,0,d.length))}function Wr(a,u,d,b){if(!Bt(a))return a;u=xi(u,a);for(var P=-1,V=u.length,W=V-1,q=a;q!=null&&++P<V;){var Z=fi(u[P]),he=d;if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return a;if(P!=W){var ge=q[Z];he=b?b(ge,Z,q):t,he===t&&(he=Bt(ge)?ge:Ti(u[P+1])?[]:{})}Or(q,Z,he),q=q[Z]}return a}var Pu=Ns?function(a,u){return Ns.set(a,u),a}:Sn,km=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:mo(u),writable:!0})}:Sn;function Cm(a){return zs(Xl(a))}function Kn(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 V=se(P);++b<P;)V[b]=a[b+u];return V}function ym(a,u){var d;return Xi(a,function(b,P,V){return d=u(b,P,V),!d}),!!d}function Ds(a,u,d){var b=0,P=a==null?b:a.length;if(typeof u=="number"&&u===u&&P<=Ne){for(;b<P;){var V=b+P>>>1,W=a[V];W!==null&&!Ln(W)&&(d?W<=u:W<u)?b=V+1:P=V}return P}return Ga(a,u,Sn,d)}function Ga(a,u,d,b){var P=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var W=u!==u,q=u===null,Z=Ln(u),he=u===t;P<V;){var ge=Ps((P+V)/2),ve=d(a[ge]),Re=ve!==t,He=ve===null,Ye=ve===ve,it=Ln(ve);if(W)var Qe=b||Ye;else he?Qe=Ye&&(b||Re):q?Qe=Ye&&Re&&(b||!He):Z?Qe=Ye&&Re&&!He&&(b||!it):He||it?Qe=!1:Qe=b?ve<=u:ve<u;Qe?P=ge+1:V=ge}return un(V,fe)}function Nu(a,u){for(var d=-1,b=a.length,P=0,V=[];++d<b;){var W=a[d],q=u?u(W):W;if(!d||!ti(q,Z)){var Z=q;V[P++]=W===0?0:W}}return V}function Iu(a){return typeof a=="number"?a:Ln(a)?le:+a}function Tn(a){if(typeof a=="string")return a;if(xe(a))return Dt(a,Tn)+"";if(Ln(a))return ru?ru.call(a):"";var u=a+"";return u=="0"&&1/a==-ae?"-0":u}function $i(a,u,d){var b=-1,P=ds,V=a.length,W=!0,q=[],Z=q;if(d)W=!1,P=va;else if(V>=l){var he=u?null:Mm(a);if(he)return gs(he);W=!1,P=Ar,Z=new Cl}else Z=u?[]:q;e:for(;++b<V;){var ge=a[b],ve=u?u(ge):ge;if(ge=d||ge!==0?ge:0,W&&ve===ve){for(var Re=Z.length;Re--;)if(Z[Re]===ve)continue e;u&&Z.push(ve),q.push(ge)}else P(Z,ve,d)||(Z!==q&&Z.push(ve),q.push(ge))}return q}function Ka(a,u){return u=xi(u,a),a=tf(a,u),a==null||delete a[fi(Jn(u))]}function Tu(a,u,d,b){return Wr(a,u,d(Pl(a,u)),b)}function Vs(a,u,d,b){for(var P=a.length,V=b?P:-1;(b?V--:++V<P)&&u(a[V],V,a););return d?Kn(a,b?0:V,b?V+1:P):Kn(a,b?V+1:0,b?P:V)}function Lu(a,u){var d=a;return d instanceof ot&&(d=d.value()),wa(u,function(b,P){return P.func.apply(P.thisArg,Yi([b],P.args))},d)}function Ja(a,u,d){var b=a.length;if(b<2)return b?$i(a[0]):[];for(var P=-1,V=se(b);++P<b;)for(var W=a[P],q=-1;++q<b;)q!=P&&(V[P]=Fr(V[P]||W,a[q],u,d));return $i(an(V,1),u,d)}function Au(a,u,d){for(var b=-1,P=a.length,V=u.length,W={};++b<P;){var q=b<V?u[b]:t;d(W,a[b],q)}return W}function ja(a){return Gt(a)?a:[]}function Ya(a){return typeof a=="function"?a:Sn}function xi(a,u){return xe(a)?a:io(a,u)?[a]:sf(St(a))}var Pm=rt;function el(a,u,d){var b=a.length;return d=d===t?b:d,!u&&d>=b?a:Kn(a,u,d)}var Ru=dp||function(a){return qt.clearTimeout(a)};function Eu(a,u){if(u)return a.slice();var d=a.length,b=xo?xo(d):new a.constructor(d);return a.copy(b),b}function Qa(a){var u=new a.constructor(a.byteLength);return new ws(u).set(new ws(a)),u}function Nm(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function Im(a){var u=new a.constructor(a.source,cl.exec(a));return u.lastIndex=a.lastIndex,u}function Tm(a){return Mr?Pt(Mr.call(a)):{}}function Du(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Vu(a,u){if(a!==u){var d=a!==t,b=a===null,P=a===a,V=Ln(a),W=u!==t,q=u===null,Z=u===u,he=Ln(u);if(!q&&!he&&!V&&a>u||V&&W&&Z&&!q&&!he||b&&W&&Z||!d&&Z||!P)return 1;if(!b&&!V&&!he&&a<u||he&&d&&P&&!b&&!V||q&&d&&P||!W&&P||!Z)return-1}return 0}function Lm(a,u,d){for(var b=-1,P=a.criteria,V=u.criteria,W=P.length,q=d.length;++b<W;){var Z=Vu(P[b],V[b]);if(Z){if(b>=q)return Z;var he=d[b];return Z*(he=="desc"?-1:1)}}return a.index-u.index}function Mu(a,u,d,b){for(var P=-1,V=a.length,W=d.length,q=-1,Z=u.length,he=Xt(V-W,0),ge=se(Z+he),ve=!b;++q<Z;)ge[q]=u[q];for(;++P<W;)(ve||P<V)&&(ge[d[P]]=a[P]);for(;he--;)ge[q++]=a[P++];return ge}function Ou(a,u,d,b){for(var P=-1,V=a.length,W=-1,q=d.length,Z=-1,he=u.length,ge=Xt(V-q,0),ve=se(ge+he),Re=!b;++P<ge;)ve[P]=a[P];for(var He=P;++Z<he;)ve[He+Z]=u[Z];for(;++W<q;)(Re||P<V)&&(ve[He+d[W]]=a[P++]);return ve}function bn(a,u){var d=-1,b=a.length;for(u||(u=se(b));++d<b;)u[d]=a[d];return u}function ui(a,u,d,b){var P=!d;d||(d={});for(var V=-1,W=u.length;++V<W;){var q=u[V],Z=b?b(d[q],a[q],q,d,a):t;Z===t&&(Z=a[q]),P?Pi(d,q,Z):Or(d,q,Z)}return d}function Am(a,u){return ui(a,no(a),u)}function Rm(a,u){return ui(a,Qu(a),u)}function Ms(a,u){return function(d,b){var P=xe(d)?O_:xp,V=u?u():{};return P(d,a,je(b,2),V)}}function jl(a){return rt(function(u,d){var b=-1,P=d.length,V=P>1?d[P-1]:t,W=P>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(P--,V):t,W&&gn(d[0],d[1],W)&&(V=P<3?t:V,P=1),u=Pt(u);++b<P;){var q=d[b];q&&a(u,q,b,V)}return u})}function Fu(a,u){return function(d,b){if(d==null)return d;if(!vn(d))return a(d,b);for(var P=d.length,V=u?P:-1,W=Pt(d);(u?V--:++V<P)&&b(W[V],V,W)!==!1;);return d}}function Uu(a){return function(u,d,b){for(var P=-1,V=Pt(u),W=b(u),q=W.length;q--;){var Z=W[a?q:++P];if(d(V[Z],Z,V)===!1)break}return u}}function Em(a,u,d){var b=u&y,P=Hr(a);function V(){var W=this&&this!==qt&&this instanceof V?P:a;return W.apply(b?d:this,arguments)}return V}function Bu(a){return function(u){u=St(u);var d=Wl(u)?xn(u):t,b=d?d[0]:u.charAt(0),P=d?el(d,1).join(""):u.slice(1);return b[a]()+P}}function Yl(a){return function(u){return wa(Uf(Ff(u).replace(Fe,"")),a,"")}}function Hr(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=Jl(a.prototype),b=a.apply(d,u);return Bt(b)?b:d}}function Dm(a,u,d){var b=Hr(a);function P(){for(var V=arguments.length,W=se(V),q=V,Z=Ql(P);q--;)W[q]=arguments[q];var he=V<3&&W[0]!==Z&&W[V-1]!==Z?[]:Qi(W,Z);if(V-=he.length,V<d)return Gu(a,u,Os,P.placeholder,t,W,he,t,t,d-V);var ge=this&&this!==qt&&this instanceof P?b:a;return Nn(ge,this,W)}return P}function Wu(a){return function(u,d,b){var P=Pt(u);if(!vn(u)){var V=je(d,3);u=tn(u),d=function(q){return V(P[q],q,P)}}var W=a(u,d,b);return W>-1?P[V?u[W]:W]:t}}function Hu(a){return Ii(function(u){var d=u.length,b=d,P=qn.prototype.thru;for(a&&u.reverse();b--;){var V=u[b];if(typeof V!="function")throw new zn(s);if(P&&!W&&Ws(V)=="wrapper")var W=new qn([],!0)}for(b=W?b:d;++b<d;){V=u[b];var q=Ws(V),Z=q=="wrapper"?eo(V):t;Z&&lo(Z[0])&&Z[1]==(M|N|I|O)&&!Z[4].length&&Z[9]==1?W=W[Ws(Z[0])].apply(W,Z[3]):W=V.length==1&&lo(V)?W[q]():W.thru(V)}return function(){var he=arguments,ge=he[0];if(W&&he.length==1&&xe(ge))return W.plant(ge).value();for(var ve=0,Re=d?u[ve].apply(this,he):ge;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Os(a,u,d,b,P,V,W,q,Z,he){var ge=u&M,ve=u&y,Re=u&C,He=u&(N|D),Ye=u&B,it=Re?t:Hr(a);function Qe(){for(var at=arguments.length,ut=se(at),An=at;An--;)ut[An]=arguments[An];if(He)var _n=Ql(Qe),Rn=K_(ut,_n);if(b&&(ut=Mu(ut,b,P,He)),V&&(ut=Ou(ut,V,W,He)),at-=Rn,He&&at<he){var Kt=Qi(ut,_n);return Gu(a,u,Os,Qe.placeholder,d,ut,Kt,q,Z,he-at)}var ni=ve?d:this,Ri=Re?ni[a]:a;return at=ut.length,q?ut=xm(ut,q):Ye&&at>1&&ut.reverse(),ge&&Z<at&&(ut.length=Z),this&&this!==qt&&this instanceof Qe&&(Ri=it||Hr(Ri)),Ri.apply(ni,ut)}return Qe}function zu(a,u){return function(d,b){return am(d,a,u(b),{})}}function Fs(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=Tn(d),b=Tn(b)):(d=Iu(d),b=Iu(b)),P=a(d,b)}return P}}function Za(a){return Ii(function(u){return u=Dt(u,In(je())),rt(function(d){var b=this;return a(u,function(P){return Nn(P,b,d)})})})}function Us(a,u){u=u===t?" ":Tn(u);var d=u.length;if(d<2)return d?qa(u,a):u;var b=qa(u,ys(a/Hl(u)));return Wl(u)?el(xn(b),0,a).join(""):b.slice(0,a)}function Vm(a,u,d,b){var P=u&y,V=Hr(a);function W(){for(var q=-1,Z=arguments.length,he=-1,ge=b.length,ve=se(ge+Z),Re=this&&this!==qt&&this instanceof W?V:a;++he<ge;)ve[he]=b[he];for(;Z--;)ve[he++]=arguments[++q];return Nn(Re,P?d:this,ve)}return W}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),vm(u,d,b,a)}}function Bs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=jn(u),d=jn(d)),a(u,d)}}function Gu(a,u,d,b,P,V,W,q,Z,he){var ge=u&N,ve=ge?W:t,Re=ge?t:W,He=ge?V:t,Ye=ge?t:V;u|=ge?I:L,u&=~(ge?L:I),u&T||(u&=~(y|C));var it=[a,u,P,He,ve,Ye,Re,q,Z,he],Qe=d.apply(t,it);return lo(a)&&nf(Qe,it),Qe.placeholder=b,lf(Qe,a,u)}function Xa(a){var u=Zt[a];return function(d,b){if(d=jn(d),b=b==null?0:un(tt(b),292),b&&iu(d)){var P=(St(d)+"e").split("e"),V=u(P[0]+"e"+(+P[1]+b));return P=(St(V)+"e").split("e"),+(P[0]+"e"+(+P[1]-b))}return u(d)}}var Mm=Gl&&1/gs(new Gl([,-0]))[1]==ae?function(a){return new Gl(a)}:wo;function Ku(a){return function(u){var d=fn(u);return d==Et?Ia(u):d==Yt?$_(u):G_(u,a(u))}}function Ni(a,u,d,b,P,V,W,q){var Z=u&C;if(!Z&&typeof a!="function")throw new zn(s);var he=b?b.length:0;if(he||(u&=~(I|L),b=P=t),W=W===t?W:Xt(tt(W),0),q=q===t?q:tt(q),he-=P?P.length:0,u&L){var ge=b,ve=P;b=P=t}var Re=Z?t:eo(a),He=[a,u,d,b,P,ge,ve,V,W,q];if(Re&&Zm(He,Re),a=He[0],u=He[1],d=He[2],b=He[3],P=He[4],q=He[9]=He[9]===t?Z?0:a.length:Xt(He[9]-he,0),!q&&u&(N|D)&&(u&=~(N|D)),!u||u==y)var Ye=Em(a,u,d);else u==N||u==D?Ye=Dm(a,u,q):(u==I||u==(y|I))&&!P.length?Ye=Vm(a,u,d,b):Ye=Os.apply(t,He);var it=Re?Pu:nf;return lf(it(Ye,He),a,u)}function Ju(a,u,d,b){return a===t||ti(a,ql[d])&&!kt.call(b,d)?u:a}function ju(a,u,d,b,P,V){return Bt(a)&&Bt(u)&&(V.set(u,a),Es(a,u,t,ju,V),V.delete(u)),a}function Om(a){return Gr(a)?t:a}function Yu(a,u,d,b,P,V){var W=d&v,q=a.length,Z=u.length;if(q!=Z&&!(W&&Z>q))return!1;var he=V.get(a),ge=V.get(u);if(he&&ge)return he==u&&ge==a;var ve=-1,Re=!0,He=d&S?new Cl:t;for(V.set(a,u),V.set(u,a);++ve<q;){var Ye=a[ve],it=u[ve];if(b)var Qe=W?b(it,Ye,ve,u,a,V):b(Ye,it,ve,a,u,V);if(Qe!==t){if(Qe)continue;Re=!1;break}if(He){if(!Sa(u,function(at,ut){if(!Ar(He,ut)&&(Ye===at||P(Ye,at,d,b,V)))return He.push(ut)})){Re=!1;break}}else if(!(Ye===it||P(Ye,it,d,b,V))){Re=!1;break}}return V.delete(a),V.delete(u),Re}function Fm(a,u,d,b,P,V,W){switch(d){case Fn:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case rn:return!(a.byteLength!=u.byteLength||!V(new ws(a),new ws(u)));case Ee:case Le:case On:return ti(+a,+u);case et:return a.name==u.name&&a.message==u.message;case xt:case Xn:return a==u+"";case Et:var q=Ia;case Yt:var Z=b&v;if(q||(q=gs),a.size!=u.size&&!Z)return!1;var he=W.get(a);if(he)return he==u;b|=S,W.set(a,u);var ge=Yu(q(a),q(u),b,P,V,W);return W.delete(a),ge;case ct:if(Mr)return Mr.call(a)==Mr.call(u)}return!1}function Um(a,u,d,b,P,V){var W=d&v,q=$a(a),Z=q.length,he=$a(u),ge=he.length;if(Z!=ge&&!W)return!1;for(var ve=Z;ve--;){var Re=q[ve];if(!(W?Re in u:kt.call(u,Re)))return!1}var He=V.get(a),Ye=V.get(u);if(He&&Ye)return He==u&&Ye==a;var it=!0;V.set(a,u),V.set(u,a);for(var Qe=W;++ve<Z;){Re=q[ve];var at=a[Re],ut=u[Re];if(b)var An=W?b(ut,at,Re,u,a,V):b(at,ut,Re,a,u,V);if(!(An===t?at===ut||P(at,ut,d,b,V):An)){it=!1;break}Qe||(Qe=Re=="constructor")}if(it&&!Qe){var _n=a.constructor,Rn=u.constructor;_n!=Rn&&"constructor"in a&&"constructor"in u&&!(typeof _n=="function"&&_n instanceof _n&&typeof Rn=="function"&&Rn instanceof Rn)&&(it=!1)}return V.delete(a),V.delete(u),it}function Ii(a){return so(ef(a,t,ff),a+"")}function $a(a){return gu(a,tn,no)}function xa(a){return gu(a,wn,Qu)}var eo=Ns?function(a){return Ns.get(a)}:wo;function Ws(a){for(var u=a.name+"",d=Kl[u],b=kt.call(Kl,u)?d.length:0;b--;){var P=d[b],V=P.func;if(V==null||V==a)return P.name}return u}function Ql(a){var u=kt.call(E,"placeholder")?E:a;return u.placeholder}function je(){var a=E.iteratee||bo;return a=a===bo?mu:a,arguments.length?a(arguments[0],arguments[1]):a}function Hs(a,u){var d=a.__data__;return Jm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function to(a){for(var u=tn(a),d=u.length;d--;){var b=u[d],P=a[b];u[d]=[b,P,$u(P)]}return u}function Nl(a,u){var d=Q_(a,u);return pu(d)?d:t}function Bm(a){var u=kt.call(a,Sl),d=a[Sl];try{a[Sl]=t;var b=!0}catch{}var P=bs.call(a);return b&&(u?a[Sl]=d:delete a[Sl]),P}var no=La?function(a){return a==null?[]:(a=Pt(a),ji(La(a),function(u){return tu.call(a,u)}))}:So,Qu=La?function(a){for(var u=[];a;)Yi(u,no(a)),a=Ss(a);return u}:So,fn=hn;(Aa&&fn(new Aa(new ArrayBuffer(1)))!=Fn||Er&&fn(new Er)!=Et||Ra&&fn(Ra.resolve())!=mi||Gl&&fn(new Gl)!=Yt||Dr&&fn(new Dr)!=$n)&&(fn=function(a){var u=hn(a),d=u==zt?a.constructor:t,b=d?Il(d):"";if(b)switch(b){case Sp:return Fn;case kp:return Et;case Cp:return mi;case yp:return Yt;case Pp:return $n}return u});function Wm(a,u,d){for(var b=-1,P=d.length;++b<P;){var V=d[b],W=V.size;switch(V.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=un(u,a+W);break;case"takeRight":a=Xt(a,u-W);break}}return{start:a,end:u}}function Hm(a){var u=a.match(Vl);return u?u[1].split(Ml):[]}function Zu(a,u,d){u=xi(u,a);for(var b=-1,P=u.length,V=!1;++b<P;){var W=fi(u[b]);if(!(V=a!=null&&d(a,W)))break;a=a[W]}return V||++b!=P?V:(P=a==null?0:a.length,!!P&&Ys(P)&&Ti(W,P)&&(xe(a)||Tl(a)))}function zm(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 Xu(a){return typeof a.constructor=="function"&&!zr(a)?Jl(Ss(a)):{}}function qm(a,u,d){var b=a.constructor;switch(u){case rn:return Qa(a);case Ee:case Le:return new b(+a);case Fn:return Nm(a,d);case bi:case sn:case ee:case Me:case ht:case Ct:case yt:case wt:case on:return Du(a,d);case Et:return new b;case On:case Xn:return new b(a);case xt:return Im(a);case Yt:return new b;case ct:return Tm(a)}}function Gm(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(Dl,`{
|
|
37
37
|
/* [wrapped with `+u+`] */
|
|
38
38
|
`)}function Km(a){return xe(a)||Tl(a)||!!(nu&&a&&a[nu])}function Ti(a,u){var d=typeof a;return u=u==null?$:u,!!u&&(d=="number"||d!="symbol"&&gl.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"?vn(d)&&Ti(u,d.length):b=="string"&&u in d)?ti(d[u],a):!1}function io(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Ln(a)?!0:_r.test(a)||!gr.test(a)||u!=null&&a in Pt(u)}function Jm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function lo(a){var u=Ws(a),d=E[u];if(typeof d!="function"||!(u in ot.prototype))return!1;if(a===d)return!0;var b=eo(d);return!!b&&a===b[0]}function jm(a){return!!$o&&$o in a}var Ym=ps?Li:ko;function zr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||ql;return a===d}function $u(a){return a===a&&!Bt(a)}function xu(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Pt(d))}}function Qm(a){var u=Js(a,function(b){return d.size===g&&d.clear(),b}),d=u.cache;return u}function Zm(a,u){var d=a[1],b=u[1],P=d|b,V=P<(y|C|M),W=b==M&&d==N||b==M&&d==O&&a[7].length<=u[8]||b==(M|O)&&u[7].length<=u[8]&&d==N;if(!(V||W))return a;b&y&&(a[2]=u[2],P|=d&y?0:T);var q=u[3];if(q){var Z=a[3];a[3]=Z?Mu(Z,q,u[4]):q,a[4]=Z?Qi(a[3],h):u[4]}return q=u[5],q&&(Z=a[5],a[5]=Z?Ou(Z,q,u[6]):q,a[6]=Z?Qi(a[5],h):u[6]),q=u[7],q&&(a[7]=q),b&M&&(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 Xm(a){var u=[];if(a!=null)for(var d in Pt(a))u.push(d);return u}function $m(a){return bs.call(a)}function ef(a,u,d){return u=Xt(u===t?a.length-1:u,0),function(){for(var b=arguments,P=-1,V=Xt(b.length-u,0),W=se(V);++P<V;)W[P]=b[u+P];P=-1;for(var q=se(u+1);++P<u;)q[P]=b[P];return q[u]=d(W),Nn(a,this,q)}}function tf(a,u){return u.length<2?a:Pl(a,Kn(u,0,-1))}function xm(a,u){for(var d=a.length,b=un(u.length,d),P=bn(a);b--;){var V=u[b];a[b]=Ti(V,d)?P[V]:t}return a}function ro(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var nf=rf(Pu),qr=gp||function(a,u){return qt.setTimeout(a,u)},so=rf(km);function lf(a,u,d){var b=u+"";return so(a,Gm(b,e1(Hm(b),d)))}function rf(a){var u=0,d=0;return function(){var b=bp(),P=Q-(b-d);if(d=b,P>0){if(++u>=X)return arguments[0]}else u=0;return a.apply(t,arguments)}}function zs(a,u){var d=-1,b=a.length,P=b-1;for(u=u===t?b:u;++d<u;){var V=za(d,P),W=a[V];a[V]=a[d],a[d]=W}return a.length=u,a}var sf=Qm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(pr,function(d,b,P,V){u.push(P?V.replace(ul,"$1"):b||d)}),u});function fi(a){if(typeof a=="string"||Ln(a))return a;var u=a+"";return u=="0"&&1/a==-ae?"-0":u}function Il(a){if(a!=null){try{return ms.call(a)}catch{}try{return a+""}catch{}}return""}function e1(a,u){return Hn(x,function(d){var b="_."+d[0];u&d[1]&&!ds(a,b)&&a.push(b)}),a.sort()}function af(a){if(a instanceof ot)return a.clone();var u=new qn(a.__wrapped__,a.__chain__);return u.__actions__=bn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function t1(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=Xt(tt(u),0);var b=a==null?0:a.length;if(!b||u<1)return[];for(var P=0,V=0,W=se(ys(b/u));P<b;)W[V++]=Kn(a,P,P+=u);return W}function n1(a){for(var u=-1,d=a==null?0:a.length,b=0,P=[];++u<d;){var V=a[u];V&&(P[b++]=V)}return P}function i1(){var a=arguments.length;if(!a)return[];for(var u=se(a-1),d=arguments[0],b=a;b--;)u[b-1]=arguments[b];return Yi(xe(d)?bn(d):[d],an(u,1))}var l1=rt(function(a,u){return Gt(a)?Fr(a,an(u,1,Gt,!0)):[]}),r1=rt(function(a,u){var d=Jn(u);return Gt(d)&&(d=t),Gt(a)?Fr(a,an(u,1,Gt,!0),je(d,2)):[]}),s1=rt(function(a,u){var d=Jn(u);return Gt(d)&&(d=t),Gt(a)?Fr(a,an(u,1,Gt,!0),t,d):[]});function a1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:tt(u),Kn(a,u<0?0:u,b)):[]}function o1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:tt(u),u=b-u,Kn(a,0,u<0?0:u)):[]}function u1(a,u){return a&&a.length?Vs(a,je(u,3),!0,!0):[]}function f1(a,u){return a&&a.length?Vs(a,je(u,3),!0):[]}function c1(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),im(a,u,d,b)):[]}function of(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:tt(d);return P<0&&(P=Xt(b+P,0)),hs(a,je(u,3),P)}function uf(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b-1;return d!==t&&(P=tt(d),P=d<0?Xt(b+P,0):un(P,b-1)),hs(a,je(u,3),P,!0)}function ff(a){var u=a==null?0:a.length;return u?an(a,1):[]}function d1(a){var u=a==null?0:a.length;return u?an(a,ae):[]}function h1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:tt(u),an(a,u)):[]}function g1(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 cf(a){return a&&a.length?a[0]:t}function _1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=d==null?0:tt(d);return P<0&&(P=Xt(b+P,0)),Bl(a,u,P)}function p1(a){var u=a==null?0:a.length;return u?Kn(a,0,-1):[]}var m1=rt(function(a){var u=Dt(a,ja);return u.length&&u[0]===a[0]?Fa(u):[]}),b1=rt(function(a){var u=Jn(a),d=Dt(a,ja);return u===Jn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Fa(d,je(u,2)):[]}),v1=rt(function(a){var u=Jn(a),d=Dt(a,ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Fa(d,t,u):[]});function w1(a,u){return a==null?"":pp.call(a,u)}function Jn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function S1(a,u,d){var b=a==null?0:a.length;if(!b)return-1;var P=b;return d!==t&&(P=tt(d),P=P<0?Xt(b+P,0):un(P,b-1)),u===u?ep(a,u,P):hs(a,Go,P,!0)}function k1(a,u){return a&&a.length?Su(a,tt(u)):t}var C1=rt(df);function df(a,u){return a&&a.length&&u&&u.length?Ha(a,u):a}function y1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,je(d,2)):a}function P1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,t,d):a}var N1=Ii(function(a,u){var d=a==null?0:a.length,b=Da(a,u);return yu(a,Dt(u,function(P){return Ti(P,d)?+P:P}).sort(Vu)),b});function I1(a,u){var d=[];if(!(a&&a.length))return d;var b=-1,P=[],V=a.length;for(u=je(u,3);++b<V;){var W=a[b];u(W,b,a)&&(d.push(W),P.push(b))}return yu(a,P),d}function ao(a){return a==null?a:wp.call(a)}function T1(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:tt(u),d=d===t?b:tt(d)),Kn(a,u,d)):[]}function L1(a,u){return Ds(a,u)}function A1(a,u,d){return Ga(a,u,je(d,2))}function R1(a,u){var d=a==null?0:a.length;if(d){var b=Ds(a,u);if(b<d&&ti(a[b],u))return b}return-1}function E1(a,u){return Ds(a,u,!0)}function D1(a,u,d){return Ga(a,u,je(d,2),!0)}function V1(a,u){var d=a==null?0:a.length;if(d){var b=Ds(a,u,!0)-1;if(ti(a[b],u))return b}return-1}function M1(a){return a&&a.length?Nu(a):[]}function O1(a,u){return a&&a.length?Nu(a,je(u,2)):[]}function F1(a){var u=a==null?0:a.length;return u?Kn(a,1,u):[]}function U1(a,u,d){return a&&a.length?(u=d||u===t?1:tt(u),Kn(a,0,u<0?0:u)):[]}function B1(a,u,d){var b=a==null?0:a.length;return b?(u=d||u===t?1:tt(u),u=b-u,Kn(a,u<0?0:u,b)):[]}function W1(a,u){return a&&a.length?Vs(a,je(u,3),!1,!0):[]}function H1(a,u){return a&&a.length?Vs(a,je(u,3)):[]}var z1=rt(function(a){return $i(an(a,1,Gt,!0))}),q1=rt(function(a){var u=Jn(a);return Gt(u)&&(u=t),$i(an(a,1,Gt,!0),je(u,2))}),G1=rt(function(a){var u=Jn(a);return u=typeof u=="function"?u:t,$i(an(a,1,Gt,!0),t,u)});function K1(a){return a&&a.length?$i(a):[]}function J1(a,u){return a&&a.length?$i(a,je(u,2)):[]}function j1(a,u){return u=typeof u=="function"?u:t,a&&a.length?$i(a,t,u):[]}function oo(a){if(!(a&&a.length))return[];var u=0;return a=ji(a,function(d){if(Gt(d))return u=Xt(d.length,u),!0}),Pa(u,function(d){return Dt(a,ka(d))})}function hf(a,u){if(!(a&&a.length))return[];var d=oo(a);return u==null?d:Dt(d,function(b){return Nn(u,t,b)})}var Y1=rt(function(a,u){return Gt(a)?Fr(a,u):[]}),Q1=rt(function(a){return Ja(ji(a,Gt))}),Z1=rt(function(a){var u=Jn(a);return Gt(u)&&(u=t),Ja(ji(a,Gt),je(u,2))}),X1=rt(function(a){var u=Jn(a);return u=typeof u=="function"?u:t,Ja(ji(a,Gt),t,u)}),$1=rt(oo);function x1(a,u){return Au(a||[],u||[],Or)}function eb(a,u){return Au(a||[],u||[],Wr)}var tb=rt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,hf(a,d)});function gf(a){var u=E(a);return u.__chain__=!0,u}function nb(a,u){return u(a),a}function qs(a,u){return u(a)}var ib=Ii(function(a){var u=a.length,d=u?a[0]:0,b=this.__wrapped__,P=function(V){return Da(V,a)};return u>1||this.__actions__.length||!(b instanceof ot)||!Ti(d)?this.thru(P):(b=b.slice(d,+d+(u?1:0)),b.__actions__.push({func:qs,args:[P],thisArg:t}),new qn(b,this.__chain__).thru(function(V){return u&&!V.length&&V.push(t),V}))});function lb(){return gf(this)}function rb(){return new qn(this.value(),this.__chain__)}function sb(){this.__values__===t&&(this.__values__=Tf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function ab(){return this}function ob(a){for(var u,d=this;d instanceof Ts;){var b=af(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 ub(){var a=this.__wrapped__;if(a instanceof ot){var u=a;return this.__actions__.length&&(u=new ot(this)),u=u.reverse(),u.__actions__.push({func:qs,args:[ao],thisArg:t}),new qn(u,this.__chain__)}return this.thru(ao)}function fb(){return Lu(this.__wrapped__,this.__actions__)}var cb=Ms(function(a,u,d){kt.call(a,d)?++a[d]:Pi(a,d,1)});function db(a,u,d){var b=xe(a)?zo:nm;return d&&gn(a,u,d)&&(u=t),b(a,je(u,3))}function hb(a,u){var d=xe(a)?ji:du;return d(a,je(u,3))}var gb=Wu(of),_b=Wu(uf);function pb(a,u){return an(Gs(a,u),1)}function mb(a,u){return an(Gs(a,u),ae)}function bb(a,u,d){return d=d===t?1:tt(d),an(Gs(a,u),d)}function _f(a,u){var d=xe(a)?Hn:Xi;return d(a,je(u,3))}function pf(a,u){var d=xe(a)?F_:cu;return d(a,je(u,3))}var vb=Ms(function(a,u,d){kt.call(a,d)?a[d].push(u):Pi(a,d,[u])});function wb(a,u,d,b){a=vn(a)?a:Xl(a),d=d&&!b?tt(d):0;var P=a.length;return d<0&&(d=Xt(P+d,0)),Qs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&Bl(a,u,d)>-1}var Sb=rt(function(a,u,d){var b=-1,P=typeof u=="function",V=vn(a)?se(a.length):[];return Xi(a,function(W){V[++b]=P?Nn(u,W,d):Ur(W,u,d)}),V}),kb=Ms(function(a,u,d){Pi(a,d,u)});function Gs(a,u){var d=xe(a)?Dt:bu;return d(a,je(u,3))}function Cb(a,u,d,b){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=b?t:d,xe(d)||(d=d==null?[]:[d]),ku(a,u,d))}var yb=Ms(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function Pb(a,u,d){var b=xe(a)?wa:Jo,P=arguments.length<3;return b(a,je(u,4),d,P,Xi)}function Nb(a,u,d){var b=xe(a)?U_:Jo,P=arguments.length<3;return b(a,je(u,4),d,P,cu)}function Ib(a,u){var d=xe(a)?ji:du;return d(a,js(je(u,3)))}function Tb(a){var u=xe(a)?au:wm;return u(a)}function Lb(a,u,d){(d?gn(a,u,d):u===t)?u=1:u=tt(u);var b=xe(a)?Xp:Sm;return b(a,u)}function Ab(a){var u=xe(a)?$p:Cm;return u(a)}function Rb(a){if(a==null)return 0;if(vn(a))return Qs(a)?Hl(a):a.length;var u=fn(a);return u==Et||u==Yt?a.size:Ba(a).length}function Eb(a,u,d){var b=xe(a)?Sa:ym;return d&&gn(a,u,d)&&(u=t),b(a,je(u,3))}var Db=rt(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]]),ku(a,an(u,1),[])}),Ks=hp||function(){return qt.Date.now()};function Vb(a,u){if(typeof u!="function")throw new zn(s);return a=tt(a),function(){if(--a<1)return u.apply(this,arguments)}}function mf(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Ni(a,M,t,t,t,t,u)}function bf(a,u){var d;if(typeof u!="function")throw new zn(s);return a=tt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var uo=rt(function(a,u,d){var b=y;if(d.length){var P=Qi(d,Ql(uo));b|=I}return Ni(a,b,u,d,P)}),vf=rt(function(a,u,d){var b=y|C;if(d.length){var P=Qi(d,Ql(vf));b|=I}return Ni(u,b,a,d,P)});function wf(a,u,d){u=d?t:u;var b=Ni(a,N,t,t,t,t,t,u);return b.placeholder=wf.placeholder,b}function Sf(a,u,d){u=d?t:u;var b=Ni(a,D,t,t,t,t,t,u);return b.placeholder=Sf.placeholder,b}function kf(a,u,d){var b,P,V,W,q,Z,he=0,ge=!1,ve=!1,Re=!0;if(typeof a!="function")throw new zn(s);u=jn(u)||0,Bt(d)&&(ge=!!d.leading,ve="maxWait"in d,V=ve?Xt(jn(d.maxWait)||0,u):V,Re="trailing"in d?!!d.trailing:Re);function He(Kt){var ni=b,Ri=P;return b=P=t,he=Kt,W=a.apply(Ri,ni),W}function Ye(Kt){return he=Kt,q=qr(at,u),ge?He(Kt):W}function it(Kt){var ni=Kt-Z,Ri=Kt-he,Hf=u-ni;return ve?un(Hf,V-Ri):Hf}function Qe(Kt){var ni=Kt-Z,Ri=Kt-he;return Z===t||ni>=u||ni<0||ve&&Ri>=V}function at(){var Kt=Ks();if(Qe(Kt))return ut(Kt);q=qr(at,it(Kt))}function ut(Kt){return q=t,Re&&b?He(Kt):(b=P=t,W)}function An(){q!==t&&Ru(q),he=0,b=Z=P=q=t}function _n(){return q===t?W:ut(Ks())}function Rn(){var Kt=Ks(),ni=Qe(Kt);if(b=arguments,P=this,Z=Kt,ni){if(q===t)return Ye(Z);if(ve)return Ru(q),q=qr(at,u),He(Z)}return q===t&&(q=qr(at,u)),W}return Rn.cancel=An,Rn.flush=_n,Rn}var Mb=rt(function(a,u){return fu(a,1,u)}),Ob=rt(function(a,u,d){return fu(a,jn(u)||0,d)});function Fb(a){return Ni(a,B)}function Js(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new zn(s);var d=function(){var b=arguments,P=u?u.apply(this,b):b[0],V=d.cache;if(V.has(P))return V.get(P);var W=a.apply(this,b);return d.cache=V.set(P,W)||V,W};return d.cache=new(Js.Cache||yi),d}Js.Cache=yi;function js(a){if(typeof a!="function")throw new zn(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 Ub(a){return bf(2,a)}var Bb=Pm(function(a,u){u=u.length==1&&xe(u[0])?Dt(u[0],In(je())):Dt(an(u,1),In(je()));var d=u.length;return rt(function(b){for(var P=-1,V=un(b.length,d);++P<V;)b[P]=u[P].call(this,b[P]);return Nn(a,this,b)})}),fo=rt(function(a,u){var d=Qi(u,Ql(fo));return Ni(a,I,t,u,d)}),Cf=rt(function(a,u){var d=Qi(u,Ql(Cf));return Ni(a,L,t,u,d)}),Wb=Ii(function(a,u){return Ni(a,O,t,t,t,u)});function Hb(a,u){if(typeof a!="function")throw new zn(s);return u=u===t?u:tt(u),rt(a,u)}function zb(a,u){if(typeof a!="function")throw new zn(s);return u=u==null?0:Xt(tt(u),0),rt(function(d){var b=d[u],P=el(d,0,u);return b&&Yi(P,b),Nn(a,this,P)})}function qb(a,u,d){var b=!0,P=!0;if(typeof a!="function")throw new zn(s);return Bt(d)&&(b="leading"in d?!!d.leading:b,P="trailing"in d?!!d.trailing:P),kf(a,u,{leading:b,maxWait:u,trailing:P})}function Gb(a){return mf(a,1)}function Kb(a,u){return fo(Ya(u),a)}function Jb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function jb(a){return Gn(a,m)}function Yb(a,u){return u=typeof u=="function"?u:t,Gn(a,m,u)}function Qb(a){return Gn(a,_|m)}function Zb(a,u){return u=typeof u=="function"?u:t,Gn(a,_|m,u)}function Xb(a,u){return u==null||uu(a,u,tn(u))}function ti(a,u){return a===u||a!==a&&u!==u}var $b=Bs(Oa),xb=Bs(function(a,u){return a>=u}),Tl=_u(function(){return arguments}())?_u:function(a){return Ht(a)&&kt.call(a,"callee")&&!tu.call(a,"callee")},xe=se.isArray,ev=cs?In(cs):om;function vn(a){return a!=null&&Ys(a.length)&&!Li(a)}function Gt(a){return Ht(a)&&vn(a)}function tv(a){return a===!0||a===!1||Ht(a)&&hn(a)==Ee}var tl=_p||ko,nv=Fo?In(Fo):um;function iv(a){return Ht(a)&&a.nodeType===1&&!Gr(a)}function lv(a){if(a==null)return!0;if(vn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||tl(a)||Zl(a)||Tl(a)))return!a.length;var u=fn(a);if(u==Et||u==Yt)return!a.size;if(zr(a))return!Ba(a).length;for(var d in a)if(kt.call(a,d))return!1;return!0}function rv(a,u){return Br(a,u)}function sv(a,u,d){d=typeof d=="function"?d:t;var b=d?d(a,u):t;return b===t?Br(a,u,t,d):!!b}function co(a){if(!Ht(a))return!1;var u=hn(a);return u==et||u==pe||typeof a.message=="string"&&typeof a.name=="string"&&!Gr(a)}function av(a){return typeof a=="number"&&iu(a)}function Li(a){if(!Bt(a))return!1;var u=hn(a);return u==Ot||u==jt||u==ie||u==Fi}function yf(a){return typeof a=="number"&&a==tt(a)}function Ys(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=$}function Bt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Ht(a){return a!=null&&typeof a=="object"}var Pf=Uo?In(Uo):cm;function ov(a,u){return a===u||Ua(a,u,to(u))}function uv(a,u,d){return d=typeof d=="function"?d:t,Ua(a,u,to(u),d)}function fv(a){return Nf(a)&&a!=+a}function cv(a){if(Ym(a))throw new Xe(r);return pu(a)}function dv(a){return a===null}function hv(a){return a==null}function Nf(a){return typeof a=="number"||Ht(a)&&hn(a)==On}function Gr(a){if(!Ht(a)||hn(a)!=zt)return!1;var u=Ss(a);if(u===null)return!0;var d=kt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ms.call(d)==up}var ho=Bo?In(Bo):dm;function gv(a){return yf(a)&&a>=-$&&a<=$}var If=Wo?In(Wo):hm;function Qs(a){return typeof a=="string"||!xe(a)&&Ht(a)&&hn(a)==Xn}function Ln(a){return typeof a=="symbol"||Ht(a)&&hn(a)==ct}var Zl=Ho?In(Ho):gm;function _v(a){return a===t}function pv(a){return Ht(a)&&fn(a)==$n}function mv(a){return Ht(a)&&hn(a)==ln}var bv=Bs(Wa),vv=Bs(function(a,u){return a<=u});function Tf(a){if(!a)return[];if(vn(a))return Qs(a)?xn(a):bn(a);if(Rr&&a[Rr])return X_(a[Rr]());var u=fn(a),d=u==Et?Ia:u==Yt?gs:Xl;return d(a)}function Ai(a){if(!a)return a===0?a:0;if(a=jn(a),a===ae||a===-ae){var u=a<0?-1:1;return u*J}return a===a?a:0}function tt(a){var u=Ai(a),d=u%1;return u===u?d?u-d:u:0}function Lf(a){return a?yl(tt(a),0,we):0}function jn(a){if(typeof a=="number")return a;if(Ln(a))return le;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=jo(a);var d=Hi.test(a);return d||hl.test(a)?Tr(a.slice(2),d?2:8):br.test(a)?le:+a}function Af(a){return ui(a,wn(a))}function wv(a){return a?yl(tt(a),-$,$):a===0?a:0}function St(a){return a==null?"":Tn(a)}var Sv=jl(function(a,u){if(zr(u)||vn(u)){ui(u,tn(u),a);return}for(var d in u)kt.call(u,d)&&Or(a,d,u[d])}),Rf=jl(function(a,u){ui(u,wn(u),a)}),Zs=jl(function(a,u,d,b){ui(u,wn(u),a,b)}),kv=jl(function(a,u,d,b){ui(u,tn(u),a,b)}),Cv=Ii(Da);function yv(a,u){var d=Jl(a);return u==null?d:ou(d,u)}var Pv=rt(function(a,u){a=Pt(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 V=u[d],W=wn(V),q=-1,Z=W.length;++q<Z;){var he=W[q],ge=a[he];(ge===t||ti(ge,ql[he])&&!kt.call(a,he))&&(a[he]=V[he])}return a}),Nv=rt(function(a){return a.push(t,ju),Nn(Ef,t,a)});function Iv(a,u){return qo(a,je(u,3),oi)}function Tv(a,u){return qo(a,je(u,3),Ma)}function Lv(a,u){return a==null?a:Va(a,je(u,3),wn)}function Av(a,u){return a==null?a:hu(a,je(u,3),wn)}function Rv(a,u){return a&&oi(a,je(u,3))}function Ev(a,u){return a&&Ma(a,je(u,3))}function Dv(a){return a==null?[]:Rs(a,tn(a))}function Vv(a){return a==null?[]:Rs(a,wn(a))}function go(a,u,d){var b=a==null?t:Pl(a,u);return b===t?d:b}function Mv(a,u){return a!=null&&Zu(a,u,lm)}function _o(a,u){return a!=null&&Zu(a,u,rm)}var Ov=zu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),a[u]=d},mo(Sn)),Fv=zu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),kt.call(a,u)?a[u].push(d):a[u]=[d]},je),Uv=rt(Ur);function tn(a){return vn(a)?su(a):Ba(a)}function wn(a){return vn(a)?su(a,!0):_m(a)}function Bv(a,u){var d={};return u=je(u,3),oi(a,function(b,P,V){Pi(d,u(b,P,V),b)}),d}function Wv(a,u){var d={};return u=je(u,3),oi(a,function(b,P,V){Pi(d,P,u(b,P,V))}),d}var Hv=jl(function(a,u,d){Es(a,u,d)}),Ef=jl(function(a,u,d,b){Es(a,u,d,b)}),zv=Ii(function(a,u){var d={};if(a==null)return d;var b=!1;u=Dt(u,function(V){return V=xi(V,a),b||(b=V.length>1),V}),ui(a,xa(a),d),b&&(d=Gn(d,_|p|m,Om));for(var P=u.length;P--;)Ka(d,u[P]);return d});function qv(a,u){return Df(a,js(je(u)))}var Gv=Ii(function(a,u){return a==null?{}:mm(a,u)});function Df(a,u){if(a==null)return{};var d=Dt(xa(a),function(b){return[b]});return u=je(u),Cu(a,d,function(b,P){return u(b,P[0])})}function Kv(a,u,d){u=xi(u,a);var b=-1,P=u.length;for(P||(P=1,a=t);++b<P;){var V=a==null?t:a[fi(u[b])];V===t&&(b=P,V=d),a=Li(V)?V.call(a):V}return a}function Jv(a,u,d){return a==null?a:Wr(a,u,d)}function jv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Wr(a,u,d,b)}var Vf=Ku(tn),Mf=Ku(wn);function Yv(a,u,d){var b=xe(a),P=b||tl(a)||Zl(a);if(u=je(u,4),d==null){var V=a&&a.constructor;P?d=b?new V:[]:Bt(a)?d=Li(V)?Jl(Ss(a)):{}:d={}}return(P?Hn:oi)(a,function(W,q,Z){return u(d,W,q,Z)}),d}function Qv(a,u){return a==null?!0:Ka(a,u)}function Zv(a,u,d){return a==null?a:Tu(a,u,Ya(d))}function Xv(a,u,d,b){return b=typeof b=="function"?b:t,a==null?a:Tu(a,u,Ya(d),b)}function Xl(a){return a==null?[]:Na(a,tn(a))}function $v(a){return a==null?[]:Na(a,wn(a))}function xv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=jn(d),d=d===d?d:0),u!==t&&(u=jn(u),u=u===u?u:0),yl(jn(a),u,d)}function e0(a,u,d){return u=Ai(u),d===t?(d=u,u=0):d=Ai(d),a=jn(a),sm(a,u,d)}function t0(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=lu();return un(a+P*(u-a+vl("1e-"+((P+"").length-1))),u)}return za(a,u)}var n0=Yl(function(a,u,d){return u=u.toLowerCase(),a+(d?Of(u):u)});function Of(a){return po(St(a).toLowerCase())}function Ff(a){return a=St(a),a&&a.replace(Ol,J_).replace(_t,"")}function i0(a,u,d){a=St(a),u=Tn(u);var b=a.length;d=d===t?b:yl(tt(d),0,b);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function l0(a){return a=St(a),a&&cr.test(a)?a.replace(vi,j_):a}function r0(a){return a=St(a),a&&Bi.test(a)?a.replace(wi,"\\$&"):a}var s0=Yl(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),a0=Yl(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),o0=Bu("toLowerCase");function u0(a,u,d){a=St(a),u=tt(u);var b=u?Hl(a):0;if(!u||b>=u)return a;var P=(u-b)/2;return Us(Ps(P),d)+a+Us(ys(P),d)}function f0(a,u,d){a=St(a),u=tt(u);var b=u?Hl(a):0;return u&&b<u?a+Us(u-b,d):a}function c0(a,u,d){a=St(a),u=tt(u);var b=u?Hl(a):0;return u&&b<u?Us(u-b,d)+a:a}function d0(a,u,d){return d||u==null?u=0:u&&(u=+u),vp(St(a).replace(Si,""),u||0)}function h0(a,u,d){return(d?gn(a,u,d):u===t)?u=1:u=tt(u),qa(St(a),u)}function g0(){var a=arguments,u=St(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var _0=Yl(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function p0(a,u,d){return d&&typeof d!="number"&&gn(a,u,d)&&(u=d=t),d=d===t?we:d>>>0,d?(a=St(a),a&&(typeof u=="string"||u!=null&&!ho(u))&&(u=Tn(u),!u&&Wl(a))?el(xn(a),0,d):a.split(u,d)):[]}var m0=Yl(function(a,u,d){return a+(d?" ":"")+po(u)});function b0(a,u,d){return a=St(a),d=d==null?0:yl(tt(d),0,a.length),u=Tn(u),a.slice(d,d+u.length)==u}function v0(a,u,d){var b=E.templateSettings;d&&gn(a,u,d)&&(u=t),a=St(a),u=Zs({},u,b,Ju);var P=Zs({},u.imports,b.imports,Ju),V=tn(P),W=Na(P,V),q,Z,he=0,ge=u.interpolate||ki,ve="__p += '",Re=Ta((u.escape||ki).source+"|"+ge.source+"|"+(ge===El?fl:ki).source+"|"+(u.evaluate||ki).source+"|$","g"),He="//# sourceURL="+(kt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ir+"]")+`
|
|
39
39
|
`;a.replace(Re,function(Qe,at,ut,An,_n,Rn){return ut||(ut=An),ve+=a.slice(he,Rn).replace(vr,Y_),at&&(q=!0,ve+=`' +
|
|
@@ -52,13 +52,13 @@ __p += '`),ut&&(ve+=`' +
|
|
|
52
52
|
function print() { __p += __j.call(arguments, '') }
|
|
53
53
|
`:`;
|
|
54
54
|
`)+ve+`return __p
|
|
55
|
-
}`;var it=Bf(function(){return pt(V,He+"return "+ve).apply(t,W)});if(it.source=ve,co(it))throw it;return it}function w0(a){return St(a).toLowerCase()}function S0(a){return St(a).toUpperCase()}function k0(a,u,d){if(a=St(a),a&&(d||u===t))return jo(a);if(!a||!(u=Tn(u)))return a;var b=xn(a),P=xn(u),V=Yo(b,P),W=Qo(b,P)+1;return el(b,V,W).join("")}function C0(a,u,d){if(a=St(a),a&&(d||u===t))return a.slice(0,Xo(a)+1);if(!a||!(u=Tn(u)))return a;var b=xn(a),P=Qo(b,xn(u))+1;return el(b,0,P).join("")}function y0(a,u,d){if(a=St(a),a&&(d||u===t))return a.replace(Si,"");if(!a||!(u=Tn(u)))return a;var b=xn(a),P=Yo(b,xn(u));return el(b,P).join("")}function P0(a,u){var d=z,b=ue;if(Bt(u)){var P="separator"in u?u.separator:P;d="length"in u?tt(u.length):d,b="omission"in u?Tn(u.omission):b}a=St(a);var V=a.length;if(Wl(a)){var W=xn(a);V=W.length}if(d>=V)return a;var q=d-Hl(b);if(q<1)return b;var Z=W?el(W,0,q).join(""):a.slice(0,q);if(P===t)return Z+b;if(W&&(q+=Z.length-q),ho(P)){if(a.slice(q).search(P)){var he,ge=Z;for(P.global||(P=Ta(P.source,St(cl.exec(P))+"g")),P.lastIndex=0;he=P.exec(ge);)var ve=he.index;Z=Z.slice(0,ve===t?q:ve)}}else if(a.indexOf(Tn(P),q)!=q){var Re=Z.lastIndexOf(P);Re>-1&&(Z=Z.slice(0,Re))}return Z+b}function N0(a){return a=St(a),a&&fr.test(a)?a.replace(ol,tp):a}var I0=Yl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),po=Bu("toUpperCase");function Uf(a,u,d){return a=St(a),u=d?t:u,u===t?Z_(a)?lp(a):H_(a):a.match(u)||[]}var Bf=rt(function(a,u){try{return Nn(a,t,u)}catch(d){return co(d)?d:new Xe(d)}}),T0=Ii(function(a,u){return Hn(u,function(d){d=fi(d),Pi(a,d,uo(a[d],a))}),a});function L0(a){var u=a==null?0:a.length,d=je();return a=u?Dt(a,function(b){if(typeof b[1]!="function")throw new zn(s);return[d(b[0]),b[1]]}):[],rt(function(b){for(var P=-1;++P<u;){var V=a[P];if(Nn(V[0],this,b))return Nn(V[1],this,b)}})}function A0(a){return tm(Gn(a,_))}function mo(a){return function(){return a}}function R0(a,u){return a==null||a!==a?u:a}var E0=Hu(),D0=Hu(!0);function Sn(a){return a}function bo(a){return mu(typeof a=="function"?a:Gn(a,_))}function V0(a){return vu(Gn(a,_))}function M0(a,u){return wu(a,Gn(u,_))}var O0=rt(function(a,u){return function(d){return Ur(d,a,u)}}),F0=rt(function(a,u){return function(d){return Ur(a,d,u)}});function vo(a,u,d){var b=tn(u),P=Rs(u,b);d==null&&!(Bt(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Rs(u,tn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,W=Li(a);return Hn(P,function(q){var Z=u[q];a[q]=Z,W&&(a.prototype[q]=function(){var he=this.__chain__;if(V||he){var ge=a(this.__wrapped__),ve=ge.__actions__=bn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),ge.__chain__=he,ge}return Z.apply(a,Yi([this.value()],arguments))})}),a}function U0(){return qt._===this&&(qt._=fp),this}function wo(){}function B0(a){return a=tt(a),rt(function(u){return Su(u,a)})}var W0=Za(Dt),H0=Za(zo),z0=Za(Sa);function Wf(a){return io(a)?ka(fi(a)):bm(a)}function q0(a){return function(u){return a==null?t:Pl(a,u)}}var G0=qu(),K0=qu(!0);function So(){return[]}function ko(){return!1}function J0(){return{}}function j0(){return""}function Y0(){return!0}function Q0(a,u){if(a=tt(a),a<1||a>$)return[];var d=we,b=un(a,we);u=je(u),a-=we;for(var P=Pa(b,u);++d<a;)u(d);return P}function Z0(a){return xe(a)?Dt(a,fi):Ln(a)?[a]:bn(sf(St(a)))}function X0(a){var u=++op;return St(a)+u}var $0=Fs(function(a,u){return a+u},0),x0=Xa("ceil"),ew=Fs(function(a,u){return a/u},1),tw=Xa("floor");function nw(a){return a&&a.length?As(a,Sn,Oa):t}function iw(a,u){return a&&a.length?As(a,je(u,2),Oa):t}function lw(a){return Ko(a,Sn)}function rw(a,u){return Ko(a,je(u,2))}function sw(a){return a&&a.length?As(a,Sn,Wa):t}function aw(a,u){return a&&a.length?As(a,je(u,2),Wa):t}var ow=Fs(function(a,u){return a*u},1),uw=Xa("round"),fw=Fs(function(a,u){return a-u},0);function cw(a){return a&&a.length?ya(a,Sn):0}function dw(a,u){return a&&a.length?ya(a,je(u,2)):0}return E.after=Vb,E.ary=mf,E.assign=Sv,E.assignIn=Rf,E.assignInWith=Zs,E.assignWith=kv,E.at=Cv,E.before=bf,E.bind=uo,E.bindAll=T0,E.bindKey=vf,E.castArray=Jb,E.chain=gf,E.chunk=t1,E.compact=n1,E.concat=i1,E.cond=L0,E.conforms=A0,E.constant=mo,E.countBy=cb,E.create=yv,E.curry=wf,E.curryRight=Sf,E.debounce=kf,E.defaults=Pv,E.defaultsDeep=Nv,E.defer=Mb,E.delay=Ob,E.difference=l1,E.differenceBy=r1,E.differenceWith=s1,E.drop=a1,E.dropRight=o1,E.dropRightWhile=u1,E.dropWhile=f1,E.fill=c1,E.filter=hb,E.flatMap=pb,E.flatMapDeep=mb,E.flatMapDepth=bb,E.flatten=ff,E.flattenDeep=d1,E.flattenDepth=h1,E.flip=Fb,E.flow=E0,E.flowRight=D0,E.fromPairs=g1,E.functions=Dv,E.functionsIn=Vv,E.groupBy=vb,E.initial=p1,E.intersection=m1,E.intersectionBy=b1,E.intersectionWith=v1,E.invert=Ov,E.invertBy=Fv,E.invokeMap=Sb,E.iteratee=bo,E.keyBy=kb,E.keys=tn,E.keysIn=wn,E.map=Gs,E.mapKeys=Bv,E.mapValues=Wv,E.matches=V0,E.matchesProperty=M0,E.memoize=Js,E.merge=Hv,E.mergeWith=Ef,E.method=O0,E.methodOf=F0,E.mixin=vo,E.negate=js,E.nthArg=B0,E.omit=zv,E.omitBy=qv,E.once=Ub,E.orderBy=Cb,E.over=W0,E.overArgs=Bb,E.overEvery=H0,E.overSome=z0,E.partial=fo,E.partialRight=Cf,E.partition=yb,E.pick=Gv,E.pickBy=Df,E.property=Wf,E.propertyOf=q0,E.pull=C1,E.pullAll=df,E.pullAllBy=y1,E.pullAllWith=P1,E.pullAt=N1,E.range=G0,E.rangeRight=K0,E.rearg=Wb,E.reject=Ib,E.remove=I1,E.rest=Hb,E.reverse=ao,E.sampleSize=Lb,E.set=Jv,E.setWith=jv,E.shuffle=Ab,E.slice=T1,E.sortBy=Db,E.sortedUniq=M1,E.sortedUniqBy=O1,E.split=p0,E.spread=zb,E.tail=F1,E.take=U1,E.takeRight=B1,E.takeRightWhile=W1,E.takeWhile=H1,E.tap=nb,E.throttle=qb,E.thru=qs,E.toArray=Tf,E.toPairs=Vf,E.toPairsIn=Mf,E.toPath=Z0,E.toPlainObject=Af,E.transform=Yv,E.unary=Gb,E.union=z1,E.unionBy=q1,E.unionWith=G1,E.uniq=K1,E.uniqBy=J1,E.uniqWith=j1,E.unset=Qv,E.unzip=oo,E.unzipWith=hf,E.update=Zv,E.updateWith=Xv,E.values=Xl,E.valuesIn=$v,E.without=Y1,E.words=Uf,E.wrap=Kb,E.xor=Q1,E.xorBy=Z1,E.xorWith=X1,E.zip=$1,E.zipObject=x1,E.zipObjectDeep=eb,E.zipWith=tb,E.entries=Vf,E.entriesIn=Mf,E.extend=Rf,E.extendWith=Zs,vo(E,E),E.add=$0,E.attempt=Bf,E.camelCase=n0,E.capitalize=Of,E.ceil=x0,E.clamp=xv,E.clone=jb,E.cloneDeep=Qb,E.cloneDeepWith=Zb,E.cloneWith=Yb,E.conformsTo=Xb,E.deburr=Ff,E.defaultTo=R0,E.divide=ew,E.endsWith=i0,E.eq=ti,E.escape=l0,E.escapeRegExp=r0,E.every=db,E.find=gb,E.findIndex=of,E.findKey=Iv,E.findLast=_b,E.findLastIndex=uf,E.findLastKey=Tv,E.floor=tw,E.forEach=_f,E.forEachRight=pf,E.forIn=Lv,E.forInRight=Av,E.forOwn=Rv,E.forOwnRight=Ev,E.get=go,E.gt=$b,E.gte=xb,E.has=Mv,E.hasIn=_o,E.head=cf,E.identity=Sn,E.includes=wb,E.indexOf=_1,E.inRange=e0,E.invoke=Uv,E.isArguments=Tl,E.isArray=xe,E.isArrayBuffer=ev,E.isArrayLike=vn,E.isArrayLikeObject=Gt,E.isBoolean=tv,E.isBuffer=tl,E.isDate=nv,E.isElement=iv,E.isEmpty=lv,E.isEqual=rv,E.isEqualWith=sv,E.isError=co,E.isFinite=av,E.isFunction=Li,E.isInteger=yf,E.isLength=Ys,E.isMap=Pf,E.isMatch=ov,E.isMatchWith=uv,E.isNaN=fv,E.isNative=cv,E.isNil=hv,E.isNull=dv,E.isNumber=Nf,E.isObject=Bt,E.isObjectLike=Ht,E.isPlainObject=Gr,E.isRegExp=ho,E.isSafeInteger=gv,E.isSet=If,E.isString=Qs,E.isSymbol=Ln,E.isTypedArray=Zl,E.isUndefined=_v,E.isWeakMap=pv,E.isWeakSet=mv,E.join=w1,E.kebabCase=s0,E.last=Jn,E.lastIndexOf=S1,E.lowerCase=a0,E.lowerFirst=o0,E.lt=bv,E.lte=vv,E.max=nw,E.maxBy=iw,E.mean=lw,E.meanBy=rw,E.min=sw,E.minBy=aw,E.stubArray=So,E.stubFalse=ko,E.stubObject=J0,E.stubString=j0,E.stubTrue=Y0,E.multiply=ow,E.nth=k1,E.noConflict=U0,E.noop=wo,E.now=Ks,E.pad=u0,E.padEnd=f0,E.padStart=c0,E.parseInt=d0,E.random=t0,E.reduce=Pb,E.reduceRight=Nb,E.repeat=h0,E.replace=g0,E.result=Kv,E.round=uw,E.runInContext=Y,E.sample=Tb,E.size=Rb,E.snakeCase=_0,E.some=Eb,E.sortedIndex=L1,E.sortedIndexBy=A1,E.sortedIndexOf=R1,E.sortedLastIndex=E1,E.sortedLastIndexBy=D1,E.sortedLastIndexOf=V1,E.startCase=m0,E.startsWith=b0,E.subtract=fw,E.sum=cw,E.sumBy=dw,E.template=v0,E.times=Q0,E.toFinite=Ai,E.toInteger=tt,E.toLength=Lf,E.toLower=w0,E.toNumber=jn,E.toSafeInteger=wv,E.toString=St,E.toUpper=S0,E.trim=k0,E.trimEnd=C0,E.trimStart=y0,E.truncate=P0,E.unescape=N0,E.uniqueId=X0,E.upperCase=I0,E.upperFirst=po,E.each=_f,E.eachRight=pf,E.first=cf,vo(E,function(){var a={};return oi(E,function(u,d){kt.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,Hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),Hn(["drop","take"],function(a,u){ot.prototype[a]=function(d){d=d===t?1:Xt(tt(d),0);var b=this.__filtered__&&!u?new ot(this):this.clone();return b.__filtered__?b.__takeCount__=un(d,b.__takeCount__):b.__views__.push({size:un(d,we),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Hn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==ce||d==H;ot.prototype[a]=function(P){var V=this.clone();return V.__iteratees__.push({iteratee:je(P,3),type:d}),V.__filtered__=V.__filtered__||b,V}}),Hn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Hn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ot.prototype[a]=function(){return this.__filtered__?new ot(this):this[d](1)}}),ot.prototype.compact=function(){return this.filter(Sn)},ot.prototype.find=function(a){return this.filter(a).head()},ot.prototype.findLast=function(a){return this.reverse().find(a)},ot.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ot(this):this.map(function(d){return Ur(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(js(je(a)))},ot.prototype.slice=function(a,u){a=tt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ot(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=tt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ot.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ot.prototype.toArray=function(){return this.take(we)},oi(ot.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],V=b||/^find/.test(u);!P||(E.prototype[u]=function(){var W=this.__wrapped__,q=b?[1]:arguments,Z=W instanceof ot,he=q[0],ge=Z||xe(W),ve=function(at){var ut=P.apply(E,Yi([at],q));return b&&Re?ut[0]:ut};ge&&d&&typeof he=="function"&&he.length!=1&&(Z=ge=!1);var Re=this.__chain__,He=!!this.__actions__.length,Ye=V&&!Re,it=Z&&!He;if(!V&&ge){W=it?W:new ot(this);var Qe=a.apply(W,q);return Qe.__actions__.push({func:qs,args:[ve],thisArg:t}),new qn(Qe,Re)}return Ye&&it?a.apply(this,q):(Qe=this.thru(ve),Ye?b?Qe.value()[0]:Qe.value():Qe)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(a){var u=_s[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 V=this.value();return u.apply(xe(V)?V:[],P)}return this[d](function(W){return u.apply(xe(W)?W:[],P)})}}),oi(ot.prototype,function(a,u){var d=E[u];if(d){var b=d.name+"";kt.call(Kl,b)||(Kl[b]=[]),Kl[b].push({name:u,func:d})}}),Kl[Os(t,C).name]=[{name:"wrapper",func:t}],ot.prototype.clone=Np,ot.prototype.reverse=Ip,ot.prototype.value=Tp,E.prototype.at=ib,E.prototype.chain=lb,E.prototype.commit=rb,E.prototype.next=sb,E.prototype.plant=ob,E.prototype.reverse=ub,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=fb,E.prototype.first=E.prototype.head,Rr&&(E.prototype[Rr]=ab),E},zl=rp();Wn?((Wn.exports=zl)._=zl,Lr._=zl):qt._=zl}).call(jr)})(or,or.exports);class g2{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=or.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),or.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 Dn.isCustomLuigiContainer()?Dn.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-Dn.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(re.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=re._remotePromises;return l||(l={counter:0,promises:[]},re._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 re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ee=new g2;class _2{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=ee.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ee.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=ee.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ee.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 Dw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ee.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(ee.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=re.getConfigValue("settings.customSandboxRules"),c=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Qr.hasDecorators()?Qr.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:ee.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=re.getConfigValue("settings.iframeCreationInterceptor");if(ee.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:Vo.getActiveFeatureToggleList(),currentLocale:dt.getCurrentLocale(),currentTheme:y_.getCurrentTheme()}}}const Ie=new _2;class p2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.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 ee.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=Vo.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(hi.isAuthorizationEnabled()){const r=ll.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.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=re.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];ee.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=_),ee.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),ee.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=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":dt.getTranslation(n)}async generateTopNavNodes(e){const t=await Vt.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||"/";nt.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(ee.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 Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:or.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=>{or.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}}const Te=new p2;class m2{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 ra.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=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(re.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=re.getConfigValue("routing.useHashRouting");Cn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?nt.getHashPath():nt.getModifiedPathname();e(l)}}),Cn.addEventListener("popstate",n=>{const l=t?nt.getHashPath(location.href):nt.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:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:nt.buildFromRelativePath(e);return l+s}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+ee.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.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=ee.trimLeadingSlash(e).split("/"),l=be.buildRoute(t,`/${t.pathSegment}`),r=ee.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=ee.replaceVars(e,t.pathParams,":",!1),e=ee.replaceVars(e,t.context,n),e=ee.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];il.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,il.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[ar.sanitizeParam(n[0])]=ar.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=>Vo.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=re.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=re.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 il.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=il.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ee.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&&il.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.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 be=new m2;class b2{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 Mn=new b2;class v2{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 Cn=new v2;class w2{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 S2=new w2;class k2{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ee.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 nr=new k2;class C2{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 Kf=new C2;function Jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function jf(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=ne(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 y2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=jf(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]=jf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Ue,o:Ue,d(l){l&&A(e),ft(n,l),i[5](null)}}}function P2(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=vt("getUnsavedChangesModalPromise"),c=vt("handleNavigation");Vn(()=>{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=ar.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(T=>{g(T,m.settings.id)})}),m.settings.afterInit){const T=s;m.settings.afterInit({dismiss:()=>{T&&T.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",T)},element:T})}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 T={params:{link:p.url,relative:C}};c(T)})}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 N2 extends Rt{constructor(e){super(),At(this,e,P2,y2,Nt,{alertQueue:0,alertTypeMap:1})}}const Al=38,Di=40,_i=13,gi=27,ga=32,I2=36,T2=35;function Yf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=kn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t=kn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qf(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=ne(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 L2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,T,N=i[0].buttonDismiss+"",D,I,L,M,O,B=i[0].type&&Yf(i),z=i[0].buttonConfirm!==!1&&Qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),B&&B.c(),s=G(),o=k("h2"),g=ye(c),h=G(),_=k("div"),m=G(),v=k("footer"),S=k("div"),z&&z.c(),y=G(),C=k("div"),T=k("button"),D=ye(N),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(T,"data-testid","luigi-modal-dismiss"),f(T,"class",I="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(ue,X){R(ue,e,X),w(e,t),w(t,n),w(n,l),w(l,r),B&&B.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),z&&z.m(S,null),w(S,y),w(S,C),w(C,T),w(T,D),M||(O=[ne(window,"keydown",i[1]),ne(T,"click",i[5])],M=!0)},p(ue,[X]){ue[0].type?B?B.p(ue,X):(B=Yf(ue),B.c(),B.m(r,s)):B&&(B.d(1),B=null),X&1&&c!==(c=ue[0].header+"")&&Pe(g,c),X&1&&p!==(p=ue[0].body+"")&&(_.innerHTML=p),ue[0].buttonConfirm!==!1?z?z.p(ue,X):(z=Qf(ue),z.c(),z.m(S,y)):z&&(z.d(1),z=null),X&1&&N!==(N=ue[0].buttonDismiss+"")&&Pe(D,N),X&1&&I!==(I="fd-button "+(ue[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(T,"class",I),X&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+ue[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",L)},i:Ue,o:Ue,d(ue){ue&&A(e),B&&B.d(),z&&z.d(),M=!1,Ze(O)}}}function A2(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"};ha(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{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:ar.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 Te.renderIconClassName(h)}function o(h){h.keyCode===gi&&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 R2 extends Rt{constructor(e){super(),At(this,e,A2,L2,Nt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function E2(i){let e,t,n,l;const r=i[5].default,s=Xg(r,i,i[4],null);return{c(){e=k("div"),s&&s.c(),f(e,"class",t=kn(i[0])+" svelte-6s1fu6"),f(e,"aria-hidden","false"),f(e,"style",n=i[1]==="main"?"z-index: 0;":"")},m(o,c){R(o,e,c),s&&s.m(e,null),l=!0},p(o,[c]){s&&s.p&&(!l||c&16)&&e_(s,r,o,o[4],l?xg(r,o[4],c,null):t_(o[4]),null),(!l||c&1&&t!==(t=kn(o[0])+" svelte-6s1fu6"))&&f(e,"class",t),(!l||c&2&&n!==(n=o[1]==="main"?"z-index: 0;":""))&&f(e,"style",n)},i(o){l||(U(s,o),l=!0)},o(o){K(s,o),l=!1},d(o){o&&A(e),s&&s.d(o)}}}function D2(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 Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),Cn.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()))}))}),Vn(()=>{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 Xr extends Rt{constructor(e){super(),At(this,e,D2,E2,Nt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ua(i,{delay:e=0,duration:t=400,easing:n=Lo}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:V2}=Mi;function Zf(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new Xr({props:{disable:i[2]}});let m=i[0].title&&Xf(i);return{c(){e=k("div"),Ge(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=ne(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=Xf(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(U(t.$$.fragment,v),h=!0)},o(v){K(t.$$.fragment,v),h=!1},d(v){v&&A(e),qe(t),m&&m.d(),_=!1,p()}}}function Xf(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+"")&&Pe(n,t)},d(l){l&&A(e)}}}function $f(i){let e;const t=i[11].default,n=Xg(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)&&e_(n,t,l,l[10],e?xg(t,l[10],r,null):t_(l[10]),null)},i(l){e||(U(n,l),e=!0)},o(l){K(n,l),e=!1},d(l){n&&n.d(l)}}}function xf(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>
|
|
55
|
+
}`;var it=Bf(function(){return pt(V,He+"return "+ve).apply(t,W)});if(it.source=ve,co(it))throw it;return it}function w0(a){return St(a).toLowerCase()}function S0(a){return St(a).toUpperCase()}function k0(a,u,d){if(a=St(a),a&&(d||u===t))return jo(a);if(!a||!(u=Tn(u)))return a;var b=xn(a),P=xn(u),V=Yo(b,P),W=Qo(b,P)+1;return el(b,V,W).join("")}function C0(a,u,d){if(a=St(a),a&&(d||u===t))return a.slice(0,Xo(a)+1);if(!a||!(u=Tn(u)))return a;var b=xn(a),P=Qo(b,xn(u))+1;return el(b,0,P).join("")}function y0(a,u,d){if(a=St(a),a&&(d||u===t))return a.replace(Si,"");if(!a||!(u=Tn(u)))return a;var b=xn(a),P=Yo(b,xn(u));return el(b,P).join("")}function P0(a,u){var d=z,b=ue;if(Bt(u)){var P="separator"in u?u.separator:P;d="length"in u?tt(u.length):d,b="omission"in u?Tn(u.omission):b}a=St(a);var V=a.length;if(Wl(a)){var W=xn(a);V=W.length}if(d>=V)return a;var q=d-Hl(b);if(q<1)return b;var Z=W?el(W,0,q).join(""):a.slice(0,q);if(P===t)return Z+b;if(W&&(q+=Z.length-q),ho(P)){if(a.slice(q).search(P)){var he,ge=Z;for(P.global||(P=Ta(P.source,St(cl.exec(P))+"g")),P.lastIndex=0;he=P.exec(ge);)var ve=he.index;Z=Z.slice(0,ve===t?q:ve)}}else if(a.indexOf(Tn(P),q)!=q){var Re=Z.lastIndexOf(P);Re>-1&&(Z=Z.slice(0,Re))}return Z+b}function N0(a){return a=St(a),a&&fr.test(a)?a.replace(ol,tp):a}var I0=Yl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),po=Bu("toUpperCase");function Uf(a,u,d){return a=St(a),u=d?t:u,u===t?Z_(a)?lp(a):H_(a):a.match(u)||[]}var Bf=rt(function(a,u){try{return Nn(a,t,u)}catch(d){return co(d)?d:new Xe(d)}}),T0=Ii(function(a,u){return Hn(u,function(d){d=fi(d),Pi(a,d,uo(a[d],a))}),a});function L0(a){var u=a==null?0:a.length,d=je();return a=u?Dt(a,function(b){if(typeof b[1]!="function")throw new zn(s);return[d(b[0]),b[1]]}):[],rt(function(b){for(var P=-1;++P<u;){var V=a[P];if(Nn(V[0],this,b))return Nn(V[1],this,b)}})}function A0(a){return tm(Gn(a,_))}function mo(a){return function(){return a}}function R0(a,u){return a==null||a!==a?u:a}var E0=Hu(),D0=Hu(!0);function Sn(a){return a}function bo(a){return mu(typeof a=="function"?a:Gn(a,_))}function V0(a){return vu(Gn(a,_))}function M0(a,u){return wu(a,Gn(u,_))}var O0=rt(function(a,u){return function(d){return Ur(d,a,u)}}),F0=rt(function(a,u){return function(d){return Ur(a,d,u)}});function vo(a,u,d){var b=tn(u),P=Rs(u,b);d==null&&!(Bt(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Rs(u,tn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,W=Li(a);return Hn(P,function(q){var Z=u[q];a[q]=Z,W&&(a.prototype[q]=function(){var he=this.__chain__;if(V||he){var ge=a(this.__wrapped__),ve=ge.__actions__=bn(this.__actions__);return ve.push({func:Z,args:arguments,thisArg:a}),ge.__chain__=he,ge}return Z.apply(a,Yi([this.value()],arguments))})}),a}function U0(){return qt._===this&&(qt._=fp),this}function wo(){}function B0(a){return a=tt(a),rt(function(u){return Su(u,a)})}var W0=Za(Dt),H0=Za(zo),z0=Za(Sa);function Wf(a){return io(a)?ka(fi(a)):bm(a)}function q0(a){return function(u){return a==null?t:Pl(a,u)}}var G0=qu(),K0=qu(!0);function So(){return[]}function ko(){return!1}function J0(){return{}}function j0(){return""}function Y0(){return!0}function Q0(a,u){if(a=tt(a),a<1||a>$)return[];var d=we,b=un(a,we);u=je(u),a-=we;for(var P=Pa(b,u);++d<a;)u(d);return P}function Z0(a){return xe(a)?Dt(a,fi):Ln(a)?[a]:bn(sf(St(a)))}function X0(a){var u=++op;return St(a)+u}var $0=Fs(function(a,u){return a+u},0),x0=Xa("ceil"),ew=Fs(function(a,u){return a/u},1),tw=Xa("floor");function nw(a){return a&&a.length?As(a,Sn,Oa):t}function iw(a,u){return a&&a.length?As(a,je(u,2),Oa):t}function lw(a){return Ko(a,Sn)}function rw(a,u){return Ko(a,je(u,2))}function sw(a){return a&&a.length?As(a,Sn,Wa):t}function aw(a,u){return a&&a.length?As(a,je(u,2),Wa):t}var ow=Fs(function(a,u){return a*u},1),uw=Xa("round"),fw=Fs(function(a,u){return a-u},0);function cw(a){return a&&a.length?ya(a,Sn):0}function dw(a,u){return a&&a.length?ya(a,je(u,2)):0}return E.after=Vb,E.ary=mf,E.assign=Sv,E.assignIn=Rf,E.assignInWith=Zs,E.assignWith=kv,E.at=Cv,E.before=bf,E.bind=uo,E.bindAll=T0,E.bindKey=vf,E.castArray=Jb,E.chain=gf,E.chunk=t1,E.compact=n1,E.concat=i1,E.cond=L0,E.conforms=A0,E.constant=mo,E.countBy=cb,E.create=yv,E.curry=wf,E.curryRight=Sf,E.debounce=kf,E.defaults=Pv,E.defaultsDeep=Nv,E.defer=Mb,E.delay=Ob,E.difference=l1,E.differenceBy=r1,E.differenceWith=s1,E.drop=a1,E.dropRight=o1,E.dropRightWhile=u1,E.dropWhile=f1,E.fill=c1,E.filter=hb,E.flatMap=pb,E.flatMapDeep=mb,E.flatMapDepth=bb,E.flatten=ff,E.flattenDeep=d1,E.flattenDepth=h1,E.flip=Fb,E.flow=E0,E.flowRight=D0,E.fromPairs=g1,E.functions=Dv,E.functionsIn=Vv,E.groupBy=vb,E.initial=p1,E.intersection=m1,E.intersectionBy=b1,E.intersectionWith=v1,E.invert=Ov,E.invertBy=Fv,E.invokeMap=Sb,E.iteratee=bo,E.keyBy=kb,E.keys=tn,E.keysIn=wn,E.map=Gs,E.mapKeys=Bv,E.mapValues=Wv,E.matches=V0,E.matchesProperty=M0,E.memoize=Js,E.merge=Hv,E.mergeWith=Ef,E.method=O0,E.methodOf=F0,E.mixin=vo,E.negate=js,E.nthArg=B0,E.omit=zv,E.omitBy=qv,E.once=Ub,E.orderBy=Cb,E.over=W0,E.overArgs=Bb,E.overEvery=H0,E.overSome=z0,E.partial=fo,E.partialRight=Cf,E.partition=yb,E.pick=Gv,E.pickBy=Df,E.property=Wf,E.propertyOf=q0,E.pull=C1,E.pullAll=df,E.pullAllBy=y1,E.pullAllWith=P1,E.pullAt=N1,E.range=G0,E.rangeRight=K0,E.rearg=Wb,E.reject=Ib,E.remove=I1,E.rest=Hb,E.reverse=ao,E.sampleSize=Lb,E.set=Jv,E.setWith=jv,E.shuffle=Ab,E.slice=T1,E.sortBy=Db,E.sortedUniq=M1,E.sortedUniqBy=O1,E.split=p0,E.spread=zb,E.tail=F1,E.take=U1,E.takeRight=B1,E.takeRightWhile=W1,E.takeWhile=H1,E.tap=nb,E.throttle=qb,E.thru=qs,E.toArray=Tf,E.toPairs=Vf,E.toPairsIn=Mf,E.toPath=Z0,E.toPlainObject=Af,E.transform=Yv,E.unary=Gb,E.union=z1,E.unionBy=q1,E.unionWith=G1,E.uniq=K1,E.uniqBy=J1,E.uniqWith=j1,E.unset=Qv,E.unzip=oo,E.unzipWith=hf,E.update=Zv,E.updateWith=Xv,E.values=Xl,E.valuesIn=$v,E.without=Y1,E.words=Uf,E.wrap=Kb,E.xor=Q1,E.xorBy=Z1,E.xorWith=X1,E.zip=$1,E.zipObject=x1,E.zipObjectDeep=eb,E.zipWith=tb,E.entries=Vf,E.entriesIn=Mf,E.extend=Rf,E.extendWith=Zs,vo(E,E),E.add=$0,E.attempt=Bf,E.camelCase=n0,E.capitalize=Of,E.ceil=x0,E.clamp=xv,E.clone=jb,E.cloneDeep=Qb,E.cloneDeepWith=Zb,E.cloneWith=Yb,E.conformsTo=Xb,E.deburr=Ff,E.defaultTo=R0,E.divide=ew,E.endsWith=i0,E.eq=ti,E.escape=l0,E.escapeRegExp=r0,E.every=db,E.find=gb,E.findIndex=of,E.findKey=Iv,E.findLast=_b,E.findLastIndex=uf,E.findLastKey=Tv,E.floor=tw,E.forEach=_f,E.forEachRight=pf,E.forIn=Lv,E.forInRight=Av,E.forOwn=Rv,E.forOwnRight=Ev,E.get=go,E.gt=$b,E.gte=xb,E.has=Mv,E.hasIn=_o,E.head=cf,E.identity=Sn,E.includes=wb,E.indexOf=_1,E.inRange=e0,E.invoke=Uv,E.isArguments=Tl,E.isArray=xe,E.isArrayBuffer=ev,E.isArrayLike=vn,E.isArrayLikeObject=Gt,E.isBoolean=tv,E.isBuffer=tl,E.isDate=nv,E.isElement=iv,E.isEmpty=lv,E.isEqual=rv,E.isEqualWith=sv,E.isError=co,E.isFinite=av,E.isFunction=Li,E.isInteger=yf,E.isLength=Ys,E.isMap=Pf,E.isMatch=ov,E.isMatchWith=uv,E.isNaN=fv,E.isNative=cv,E.isNil=hv,E.isNull=dv,E.isNumber=Nf,E.isObject=Bt,E.isObjectLike=Ht,E.isPlainObject=Gr,E.isRegExp=ho,E.isSafeInteger=gv,E.isSet=If,E.isString=Qs,E.isSymbol=Ln,E.isTypedArray=Zl,E.isUndefined=_v,E.isWeakMap=pv,E.isWeakSet=mv,E.join=w1,E.kebabCase=s0,E.last=Jn,E.lastIndexOf=S1,E.lowerCase=a0,E.lowerFirst=o0,E.lt=bv,E.lte=vv,E.max=nw,E.maxBy=iw,E.mean=lw,E.meanBy=rw,E.min=sw,E.minBy=aw,E.stubArray=So,E.stubFalse=ko,E.stubObject=J0,E.stubString=j0,E.stubTrue=Y0,E.multiply=ow,E.nth=k1,E.noConflict=U0,E.noop=wo,E.now=Ks,E.pad=u0,E.padEnd=f0,E.padStart=c0,E.parseInt=d0,E.random=t0,E.reduce=Pb,E.reduceRight=Nb,E.repeat=h0,E.replace=g0,E.result=Kv,E.round=uw,E.runInContext=Y,E.sample=Tb,E.size=Rb,E.snakeCase=_0,E.some=Eb,E.sortedIndex=L1,E.sortedIndexBy=A1,E.sortedIndexOf=R1,E.sortedLastIndex=E1,E.sortedLastIndexBy=D1,E.sortedLastIndexOf=V1,E.startCase=m0,E.startsWith=b0,E.subtract=fw,E.sum=cw,E.sumBy=dw,E.template=v0,E.times=Q0,E.toFinite=Ai,E.toInteger=tt,E.toLength=Lf,E.toLower=w0,E.toNumber=jn,E.toSafeInteger=wv,E.toString=St,E.toUpper=S0,E.trim=k0,E.trimEnd=C0,E.trimStart=y0,E.truncate=P0,E.unescape=N0,E.uniqueId=X0,E.upperCase=I0,E.upperFirst=po,E.each=_f,E.eachRight=pf,E.first=cf,vo(E,function(){var a={};return oi(E,function(u,d){kt.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,Hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),Hn(["drop","take"],function(a,u){ot.prototype[a]=function(d){d=d===t?1:Xt(tt(d),0);var b=this.__filtered__&&!u?new ot(this):this.clone();return b.__filtered__?b.__takeCount__=un(d,b.__takeCount__):b.__views__.push({size:un(d,we),type:a+(b.__dir__<0?"Right":"")}),b},ot.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Hn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==ce||d==H;ot.prototype[a]=function(P){var V=this.clone();return V.__iteratees__.push({iteratee:je(P,3),type:d}),V.__filtered__=V.__filtered__||b,V}}),Hn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ot.prototype[a]=function(){return this[d](1).value()[0]}}),Hn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ot.prototype[a]=function(){return this.__filtered__?new ot(this):this[d](1)}}),ot.prototype.compact=function(){return this.filter(Sn)},ot.prototype.find=function(a){return this.filter(a).head()},ot.prototype.findLast=function(a){return this.reverse().find(a)},ot.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ot(this):this.map(function(d){return Ur(d,a,u)})}),ot.prototype.reject=function(a){return this.filter(js(je(a)))},ot.prototype.slice=function(a,u){a=tt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ot(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=tt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ot.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ot.prototype.toArray=function(){return this.take(we)},oi(ot.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],V=b||/^find/.test(u);!P||(E.prototype[u]=function(){var W=this.__wrapped__,q=b?[1]:arguments,Z=W instanceof ot,he=q[0],ge=Z||xe(W),ve=function(at){var ut=P.apply(E,Yi([at],q));return b&&Re?ut[0]:ut};ge&&d&&typeof he=="function"&&he.length!=1&&(Z=ge=!1);var Re=this.__chain__,He=!!this.__actions__.length,Ye=V&&!Re,it=Z&&!He;if(!V&&ge){W=it?W:new ot(this);var Qe=a.apply(W,q);return Qe.__actions__.push({func:qs,args:[ve],thisArg:t}),new qn(Qe,Re)}return Ye&&it?a.apply(this,q):(Qe=this.thru(ve),Ye?b?Qe.value()[0]:Qe.value():Qe)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(a){var u=_s[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 V=this.value();return u.apply(xe(V)?V:[],P)}return this[d](function(W){return u.apply(xe(W)?W:[],P)})}}),oi(ot.prototype,function(a,u){var d=E[u];if(d){var b=d.name+"";kt.call(Kl,b)||(Kl[b]=[]),Kl[b].push({name:u,func:d})}}),Kl[Os(t,C).name]=[{name:"wrapper",func:t}],ot.prototype.clone=Np,ot.prototype.reverse=Ip,ot.prototype.value=Tp,E.prototype.at=ib,E.prototype.chain=lb,E.prototype.commit=rb,E.prototype.next=sb,E.prototype.plant=ob,E.prototype.reverse=ub,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=fb,E.prototype.first=E.prototype.head,Rr&&(E.prototype[Rr]=ab),E},zl=rp();Wn?((Wn.exports=zl)._=zl,Lr._=zl):qt._=zl}).call(jr)})(or,or.exports);class g2{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=or.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),or.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 Dn.isCustomLuigiContainer()?Dn.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-Dn.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(re.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=re._remotePromises;return l||(l={counter:0,promises:[]},re._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 re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const te=new g2;class _2{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 Dw.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=re.getConfigValue("settings.customSandboxRules"),c=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Qr.hasDecorators()?Qr.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 _=re.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:Vo.getActiveFeatureToggleList(),currentLocale:dt.getCurrentLocale(),currentTheme:y_.getCurrentTheme()}}}const Ie=new _2;class p2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.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=Vo.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(hi.isAuthorizationEnabled()){const r=ll.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.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=re.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=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":dt.getTranslation(n)}async generateTopNavNodes(e){const t=await Vt.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||"/";nt.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.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 Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:or.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=>{or.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}}const Te=new p2;class m2{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 ra.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=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(re.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=re.getConfigValue("routing.useHashRouting");Cn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?nt.getHashPath():nt.getModifiedPathname();e(l)}}),Cn.addEventListener("popstate",n=>{const l=t?nt.getHashPath(location.href):nt.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:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:nt.buildFromRelativePath(e);return l+s}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+te.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.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=be.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];il.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,il.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[ar.sanitizeParam(n[0])]=ar.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=>Vo.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=re.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=re.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 il.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=il.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&&il.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.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 be=new m2;class b2{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 Mn=new b2;class v2{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 Cn=new v2;class w2{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 S2=new w2;class k2{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.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 nr=new k2;class C2{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 Kf=new C2;function Jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function jf(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=ne(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 y2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=jf(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]=jf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Ue,o:Ue,d(l){l&&A(e),ft(n,l),i[5](null)}}}function P2(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=vt("getUnsavedChangesModalPromise"),c=vt("handleNavigation");Vn(()=>{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=ar.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(T=>{g(T,m.settings.id)})}),m.settings.afterInit){const T=s;m.settings.afterInit({dismiss:()=>{T&&T.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",T)},element:T})}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 T={params:{link:p.url,relative:C}};c(T)})}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 N2 extends Rt{constructor(e){super(),At(this,e,P2,y2,Nt,{alertQueue:0,alertTypeMap:1})}}const Al=38,Di=40,_i=13,gi=27,ga=32,I2=36,T2=35;function Yf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=kn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t=kn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qf(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=ne(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 L2(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,T,N=i[0].buttonDismiss+"",D,I,L,M,O,B=i[0].type&&Yf(i),z=i[0].buttonConfirm!==!1&&Qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),B&&B.c(),s=G(),o=k("h2"),g=ye(c),h=G(),_=k("div"),m=G(),v=k("footer"),S=k("div"),z&&z.c(),y=G(),C=k("div"),T=k("button"),D=ye(N),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(T,"data-testid","luigi-modal-dismiss"),f(T,"class",I="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(ue,X){R(ue,e,X),w(e,t),w(t,n),w(n,l),w(l,r),B&&B.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),z&&z.m(S,null),w(S,y),w(S,C),w(C,T),w(T,D),M||(O=[ne(window,"keydown",i[1]),ne(T,"click",i[5])],M=!0)},p(ue,[X]){ue[0].type?B?B.p(ue,X):(B=Yf(ue),B.c(),B.m(r,s)):B&&(B.d(1),B=null),X&1&&c!==(c=ue[0].header+"")&&Pe(g,c),X&1&&p!==(p=ue[0].body+"")&&(_.innerHTML=p),ue[0].buttonConfirm!==!1?z?z.p(ue,X):(z=Qf(ue),z.c(),z.m(S,y)):z&&(z.d(1),z=null),X&1&&N!==(N=ue[0].buttonDismiss+"")&&Pe(D,N),X&1&&I!==(I="fd-button "+(ue[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(T,"class",I),X&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+ue[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",L)},i:Ue,o:Ue,d(ue){ue&&A(e),B&&B.d(),z&&z.d(),M=!1,Ze(O)}}}function A2(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"};ha(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{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:ar.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 Te.renderIconClassName(h)}function o(h){h.keyCode===gi&&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 R2 extends Rt{constructor(e){super(),At(this,e,A2,L2,Nt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function E2(i){let e,t,n,l;const r=i[5].default,s=Xg(r,i,i[4],null);return{c(){e=k("div"),s&&s.c(),f(e,"class",t=kn(i[0])+" svelte-6s1fu6"),f(e,"aria-hidden","false"),f(e,"style",n=i[1]==="main"?"z-index: 0;":"")},m(o,c){R(o,e,c),s&&s.m(e,null),l=!0},p(o,[c]){s&&s.p&&(!l||c&16)&&e_(s,r,o,o[4],l?xg(r,o[4],c,null):t_(o[4]),null),(!l||c&1&&t!==(t=kn(o[0])+" svelte-6s1fu6"))&&f(e,"class",t),(!l||c&2&&n!==(n=o[1]==="main"?"z-index: 0;":""))&&f(e,"style",n)},i(o){l||(U(s,o),l=!0)},o(o){K(s,o),l=!1},d(o){o&&A(e),s&&s.d(o)}}}function D2(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 Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),Cn.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()))}))}),Vn(()=>{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 Xr extends Rt{constructor(e){super(),At(this,e,D2,E2,Nt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ua(i,{delay:e=0,duration:t=400,easing:n=Lo}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:V2}=Mi;function Zf(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new Xr({props:{disable:i[2]}});let m=i[0].title&&Xf(i);return{c(){e=k("div"),Ge(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=ne(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=Xf(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(U(t.$$.fragment,v),h=!0)},o(v){K(t.$$.fragment,v),h=!1},d(v){v&&A(e),qe(t),m&&m.d(),_=!1,p()}}}function Xf(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+"")&&Pe(n,t)},d(l){l&&A(e)}}}function $f(i){let e;const t=i[11].default,n=Xg(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)&&e_(n,t,l,l[10],e?xg(t,l[10],r,null):t_(l[10]),null)},i(l){e||(U(n,l),e=!0)},o(l){K(n,l),e=!1},d(l){n&&n.d(l)}}}function xf(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||(Rl(()=>{n&&n.end(1),t=c_(e,ua,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=d_(e,ua,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function M2(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)&&Zf(i),T=i[5]&&$f(i),N=i[4]&&xf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=G(),l=k("div"),T&&T.c(),r=G(),s=k("div"),g=G(),N&&N.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=kn(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,I){R(D,e,I),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),T&&T.m(l,null),w(l,r),w(l,s),w(t,g),N&&N.m(t,null),v=!0,S||(y=ne(V2,"keydown",i[3]),S=!0)},p(D,[I]){D[6]||D[5]&&D[0].header?C?(C.p(D,I),I&97&&U(C,1)):(C=Zf(D),C.c(),U(C,1),C.m(t,n)):C&&(De(),K(C,1,1,()=>{C=null}),Ve()),D[5]?T?(T.p(D,I),I&32&&U(T,1)):(T=$f(D),T.c(),U(T,1),T.m(l,r)):T&&(De(),K(T,1,1,()=>{T=null}),Ve()),(!v||I&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||I&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?N?I&16&&U(N,1):(N=xf(),N.c(),U(N,1),N.m(t,null)):N&&(De(),K(N,1,1,()=>{N=null}),Ve()),(!v||I&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||I&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||I&97&&p!==(p=kn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||I&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(U(C),U(T),U(N),v=!0)},o(D){K(C),K(T),K(N),v=!1},d(D){D&&A(e),C&&C.d(),T&&T.d(),N&&N.d(),S=!1,y()}}}function O2(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,T=!0,N;const D=async X=>{const Q=X&&X.length?ee.getPathWithoutHash(X):"",ce=be.parseParams(Q.split("?")[1]);m=be.getNodeParams(ce);const ke=await Vt.extractDataFromPath(X);_=ke.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),N=C?"._drawer":`[modal-container-index="${c}"]`,C?(t(6,T=!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=ke.pathData,t(8,s=!0)},I=async X=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await O():await L(),oa.renderWebComponent(_.viewUrl,document.querySelector(N),p.context,_),h("wcCreated",{modalWC:document.querySelector(N),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Q=await M(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:m}}),v=!0}else await D(X)},L=async()=>{let X,Q;const ce=document.querySelector(".lui-modal-index-"+c),{size:ke,width:H,height:ae}=r,$=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(H&&H.match($)&&ae&&ae.match($))X=ae,Q=H;else switch(ke){case"fullscreen":X="100vh",Q="100vw",ce.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%"}ce.setAttribute("style",`width:${Q};height:${X};`)},M=async(X,Q)=>{C?await O():await L(),X&&(X=be.substituteViewUrl(X,Q));const ce=await Ie.createIframe(X,void 0,_,"modal",Q);return document.querySelector(N).appendChild(ce),ce};async function O(X){let Q="";const ce=document.getElementsByClassName("drawer"),ke=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?ce[0].setAttribute("style",Q):(ke[0].setAttribute("style",Q),ce[0].setAttribute("style","width:100%"))}Eo(()=>{I(o)});const B=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 L()))};Jt(()=>{Cn.addEventListener("message",B),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),ha(()=>{Cn.removeEventListener("message",B),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function z(X){X.keyCode===gi&&h("close")}const ue=()=>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,z,y,C,T,h,s,o,l,n,ue]}class N_ extends Rt{constructor(e){super(),At(this,e,O2,M2,Nt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function ec(i,e,t){const n=i.slice();return n[29]=e[t][0],n[30]=e[t][1],n[31]=e,n[32]=t,n}function tc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function nc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Ce()},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=lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function lc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=hc(ec(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=ec(r,n,o);l[o]?l[o].p(c,s):(l[o]=hc(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 rc(i){let e;function t(r,s){return r[30].isEditable||r[30].isEditable===void 0?U2:F2}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 F2(i){let e,t=i[0][i[1][0]][i[29]]+"",n,l;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),f(e,"disabled",l=!(i[30].isEditable===void 0||i[30].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[29]]+"")&&Pe(n,t),s[0]&2&&l!==(l=!(r[30].isEditable===void 0||r[30].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function U2(i){let e,t,n,l,r;function s(){i[18].call(e,i[29])}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[30].placeholder)),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),e.disabled=n=!(i[30].isEditable===void 0||i[30].isEditable)},m(o,c){R(o,e,c),qf(e,i[0][i[1][0]][i[29]]),l||(r=ne(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[30].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[29]]&&qf(e,i[0][i[1][0]][i[29]])},d(o){o&&A(e),l=!1,r()}}}function sc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"",c,g,h,_,p,m,v=Array.isArray(i[30].options),S,y;function C(...D){return i[19](i[29],i[32],i[30],...D)}function T(){return i[20](i[30])}let N=v&&ac(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"),N&&N.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[32]),f(s,"disabled",g=!(i[30].isEditable===void 0||i[30].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[32]),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,I){R(D,e,I),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),N&&N.m(m,null),S||(y=[ne(r,"keydown",C),ne(n,"click",Mt(T))],S=!0)},p(D,I){i=D,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"")&&Pe(c,o),I[0]&2&&g!==(g=!(i[30].isEditable===void 0||i[30].isEditable))&&f(s,"disabled",g),I[0]&2&&(v=Array.isArray(i[30].options)),v?N?N.p(i,I):(N=ac(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(D){D&&A(e),N&&N.d(),S=!1,Ze(y)}}}function ac(i){let e,t=i[30].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(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[32]),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[30].options;let s;for(s=0;s<t.length;s+=1){const o=nc(l,t,s);n[s]?n[s].p(o,r):(n[s]=oc(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 oc(i){let e,t,n=i[12](i[33])+"",l,r,s,o;function c(){return i[21](i[29],i[33],i[35])}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[32]+"_"+i[35]),f(e,"tabindex","0"),di(e,"is-selected",i[4]===i[35]),di(e,"is-focus",i[4]===i[35])},m(g,h){R(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[ne(e,"click",c),ne(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[33])+"")&&Pe(l,n),h[0]&16&&di(e,"is-selected",i[4]===i[35]),h[0]&16&&di(e,"is-focus",i[4]===i[35])},d(g){g&&A(e),s=!1,Ze(o)}}}function uc(i){let e,t,n,l=i[30].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=fc(tc(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[29]+" 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[30].options;let c;for(c=0;c<l.length;c+=1){const g=tc(s,l,c);r[c]?r[c].p(g,o):(r[c]=fc(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[29]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ft(r,s)}}}function fc(i){let e,t=i[12](i[33])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[29],i[33])}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[29]]===(i[33].value||i[33])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[29],i[33])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[29],i[33])),e.disabled=c=!(i[30].isEditable===void 0||i[30].isEditable)},m(p,m){R(p,e,m),w(e,n),w(e,l),g||(h=ne(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[33])+"")&&Pe(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[29]]===(i[33].value||i[33])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function cc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[29])}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[29]),n.disabled=r=!(i[30].isEditable===void 0||i[30].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[29])},m(p,m){R(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[29]],w(t,s),w(t,o),g||(h=ne(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[29])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[30].isEditable===void 0||i[30].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[29]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[29])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function dc(i){let e,t,n,l;function r(){i[25].call(e,i[29])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[30].isEditable===void 0||i[30].isEditable)},m(s,o){R(s,e,o),e.checked=i[0][i[1][0]][i[29]],n||(l=ne(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[29]])},d(s){s&&A(e),n=!1,l()}}}function hc(i){let e,t,n,l=i[5](i[30].label)+"",r,s,o,c,g,h,_=i[30].type==="enum"&&i[30].style==="button"&&Array.isArray(i[30].options),p,m,v,S=i[30].type==="string"&&rc(i),y=i[30].type==="enum"&&(i[30].style===void 0||i[30].style==="list")&&sc(i),C=_&&uc(i),T=i[30].type==="boolean"&&(!i[30].style||i[30].style==="switch")&&cc(i),N=i[30].type==="boolean"&&i[30].style==="checkbox"&&dc(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(),T&&T.c(),m=G(),N&&N.c(),v=G(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[32]),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,I){R(D,e,I),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),T&&T.m(c,null),w(c,m),N&&N.m(c,null),w(e,v)},p(D,I){I[0]&34&&l!==(l=D[5](D[30].label)+"")&&Pe(r,l),D[30].type==="string"?S?S.p(D,I):(S=rc(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[30].type==="enum"&&(D[30].style===void 0||D[30].style==="list")?y?y.p(D,I):(y=sc(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),I[0]&2&&(_=D[30].type==="enum"&&D[30].style==="button"&&Array.isArray(D[30].options)),_?C?C.p(D,I):(C=uc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[30].type==="boolean"&&(!D[30].style||D[30].style==="switch")?T?T.p(D,I):(T=cc(D),T.c(),T.m(c,m)):T&&(T.d(1),T=null),D[30].type==="boolean"&&D[30].style==="checkbox"?N?N.p(D,I):(N=dc(D),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),T&&T.d(),N&&N.d()}}}function B2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(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=[ne(window,"click",i[7]),ne(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&A(e),l&&l.d(),t=!1,Ze(n)}}}function W2(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Wt();let c=vt("getTranslation");pi(i,c,H=>t(5,n=H));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(H){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(ae=>{y(ae,!1)})}function v(H,ae,$){if(H&&$>0)return ee.isIE()?H.msMatchesSelector(ae)?H:v(H.parentNode,ae,$-1):H.matches(ae)?H:v(H.parentNode,ae,$-1)}function S(H,ae){let $=v(H.target,".fd-popover__control",20),J=$.getAttribute("aria-expanded")==="true";(ae||ae===void 0)&&(m(),y($,!J))}function y(H,ae){const $=H.querySelector(".lui-activate-language-dropdown"),J=H.parentNode.querySelector(".fd-popover__body"),le=H.parentNode.querySelector(".fd-select__control");H.setAttribute("aria-expanded",ae),J.setAttribute("aria-hidden",!ae),le.setAttribute("aria-expanded",ae),$.setAttribute("aria-expanded",ae),t(14,h=ae)}function C(H,ae,$){t(4,g=$),t(0,s[l[0]][H]=ae.value||ae,s)}function T(H,ae){document.querySelectorAll(".enum-buttons-container-"+H+" button").forEach($=>{const J=$.getAttribute("id"),le=`lui-us-enum_button_${H}_option`;J===le?$.classList.add("fd-button--emphasized"):$.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][H]=ae.value||ae,s)}function N(H,ae){let $;if(Array.isArray(ae)){for(let J=0;J<ae.length;J++)if(ee.isObject(ae[J])){if(ae[J].value&&ae[J].value===H){$=ae[J].label,t(4,g=J);break}}else{$=H,t(4,g=ae.indexOf(H));break}return n($)}}function D(H){return n(ee.isObject(H)?H.label:H)}function I(H,ae,$){return ee.isObject($)?`${H}_${ae}_${$.value}`:`${H}_${ae}_${$}`}function L(H,ae,$,J){let le=v(H.target,".lui-anchor-node",20);const we=document.getElementById(`fd-form-input-dropdown-${$}`).children;let fe=-1;if([...we].forEach((Ne,x)=>{Ne.classList.contains("is-focus")&&(fe=x)}),h){if(H.keyCode===Al&&H.altKey&&(le.click(),le.focus()),H.keyCode===Di&&!H.altKey){if(fe===-1){fe=0,we.item(fe).classList.add("is-focus");return}fe<J.options.length-1&&(we.item(fe).classList.remove("is-focus"),fe+=1,we.item(fe).classList.add("is-focus"))}if(H.keyCode===Al&&!H.altKey){if(fe===-1){fe=fe.length-1,we.item(fe).classList.add("is-focus");return}fe>0&&fe<J.options.length&&(we.item(fe).classList.remove("is-focus"),fe-=1,we.item(fe).classList.add("is-focus"))}H.keyCode===_i&&C(ae,J.options[fe],fe)}else le.focus(),H.keyCode===Di&&H.altKey&&le.click(),H.keyCode===Di&&!H.altKey&&fe<J.options.length-1&&C(ae,J.options[fe+1],fe+1),H.keyCode===Al&&!H.altKey&&fe>0&&fe<J.options.length&&C(ae,J.options[fe-1],fe-1)}function M(H){if(h){let ae=v(H.target,".fd-popover",20);ae.blur(),(H.keyCode===ga||H.keyCode===_i)&&(H.target.click(),m(),setTimeout(()=>{ae.focus()},0))}}N();function O(H){s[l[0]][H]=this.value,t(0,s)}const B=(H,ae,$,J)=>L(J,H,ae,$),z=H=>S(event,H.isEditable),ue=(H,ae,$)=>C(H,ae,$),X=H=>M(H),Q=(H,ae)=>T(H,ae);function ce(H){s[l[0]][H]=this.checked,t(0,s)}function ke(H){s[l[0]][H]=this.checked,t(0,s)}return i.$$set=H=>{"userSettingGroup"in H&&t(1,l=H.userSettingGroup),"userSettingsGroupKey"in H&&t(15,r=H.userSettingsGroupKey),"storedUserSettingData"in H&&t(0,s=H.storedUserSettingData),"isComboOpen"in H&&t(14,h=H.isComboOpen)},[s,l,L,M,g,n,c,m,S,C,T,N,D,I,h,r,_,p,O,B,z,ue,X,Q,ce,ke]}class H2 extends Rt{constructor(e){super(),At(this,e,W2,B2,Nt,{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:gc}=Mi;function _c(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[38]=t,n}function pc(i,e,t){const n=i.slice();return n[39]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[39][1])),e?q2:z2}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 z2(i){let e,t,n,l,r,s=i[39][1].initials&&bc(i);return{c(){e=k("span"),l=G(),s&&s.c(),r=Ce(),f(e,"class",t=kn(i[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[39][1].altText?i[39][1].altText:""),li(e,"background-image","url('"+i[39][1].icon+"')"),li(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=kn(o[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[39][1].altText?o[39][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&li(e,"background-image","url('"+o[39][1].icon+"')"),o[39][1].initials?s?s.p(o,c):(s=bc(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 q2(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=kn(i[18](i[39][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=kn(l[18](l[39][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function bc(i){let e,t=(i[39][1].initials?i[39][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ye(t),f(e,"class",l=kn(i[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[39][1].altText?i[39][1].altText:"")},m(s,o){R(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[39][1].initials?s[39][1].initials:"")+"")&&Pe(n,t),o[0]&2&&l!==(l=kn(s[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[39][1].altText?s[39][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function vc(i){let e,t,n,l,r,s=i[10](i[39][1].label?i[39][1].label:"")+"",o,c,g,h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"",_,p,m,v,S=i[39][1].icon&&mc(i);function y(){return i[22](i[39])}function C(...T){return i[23](i[38],...T)}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(T,N){R(T,e,N),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=[ne(e,"click",Lt(y)),ne(e,"keydown",C)],m=!0)},p(T,N){i=T,i[39][1].icon?S?S.p(i,N):(S=mc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),N[0]&1026&&s!==(s=i[10](i[39][1].label?i[39][1].label:"")+"")&&Pe(o,s),N[0]&1026&&h!==(h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"")&&Pe(_,h)},d(T){T&&A(e),S&&S.d(),m=!1,Ze(v)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=pc(l,t,s);n[s]?n[s].p(o,r):(n[s]=vc(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 Sc(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 H2({props:o}),$e.push(()=>bt(e,"closeDropDown",r)),$e.push(()=>bt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){Ge(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],mt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],mt(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){K(e.$$.fragment,c),l=!1},d(c){qe(e,c)}}}function G2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,T=i[10](i[7])+"",N,D,I,L,M,O,B,z,ue,X,Q,ce=i[10](i[5])+"",ke,H,ae,$,J=i[10](i[6])+"",le,we,fe,Ne,x=Object.entries(i[1]),_e=[];for(let ie=0;ie<x.length;ie+=1)_e[ie]=wc(_c(i,x,ie));let me=i[11]&&Sc(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 ie=0;ie<_e.length;ie+=1)_e[ie].c();m=G(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=G(),C=k("h2"),N=ye(T),D=G(),I=k("div"),L=k("div"),me&&me.c(),M=G(),O=k("div"),B=G(),z=k("footer"),ue=k("div"),X=k("div"),Q=k("button"),ke=ye(ce),H=G(),ae=k("div"),$=k("button"),le=ye(J),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(I,"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(X,"class","fd-bar__element"),f($,"data-testid","lui-us-dismissBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(ue,"class","fd-bar__right"),f(z,"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(ie,Ee){R(ie,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 Le=0;Le<_e.length;Le+=1)_e[Le].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,N),w(n,D),w(n,I),w(I,L),me&&me.m(L,null),w(I,M),w(I,O),w(t,B),w(t,z),w(z,ue),w(ue,X),w(X,Q),w(Q,ke),w(ue,H),w(ue,ae),w(ae,$),w($,le),we=!0,fe||(Ne=[ne(gc,"resize",i[20]),ne(gc,"keydown",i[3]),ne(S,"click",i[17]),ne(Q,"click",i[26]),ne($,"click",i[27])],fe=!0)},p(ie,Ee){if((!we||Ee[0]&1040)&&c!==(c=ie[10](ie[4])+"")&&Pe(g,c),Ee[0]&803846){x=Object.entries(ie[1]);let Le;for(Le=0;Le<x.length;Le+=1){const pe=_c(ie,x,Le);_e[Le]?_e[Le].p(pe,Ee):(_e[Le]=wc(pe),_e[Le].c(),_e[Le].m(p,null))}for(;Le<_e.length;Le+=1)_e[Le].d(1);_e.length=x.length}(!we||Ee[0]&1152)&&T!==(T=ie[10](ie[7])+"")&&Pe(N,T),ie[11]?me?(me.p(ie,Ee),Ee[0]&2048&&U(me,1)):(me=Sc(ie),me.c(),U(me,1),me.m(L,null)):me&&(De(),K(me,1,1,()=>{me=null}),Ve()),(!we||Ee[0]&1056)&&ce!==(ce=ie[10](ie[5])+"")&&Pe(ke,ce),(!we||Ee[0]&1088)&&J!==(J=ie[10](ie[6])+"")&&Pe(le,J)},i(ie){we||(U(me),we=!0)},o(ie){K(me),we=!1},d(ie){ie&&A(e),ft(_e,ie),me&&me.d(),fe=!1,Ze(Ne)}}}function kc(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 K2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function J2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function j2(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Wt();let o,{storedUserSettings:c={}}=e,g={},h=vt("getTranslation");pi(i,h,fe=>t(10,n=fe));let _=sl.userSettingsDialog.dialogHeader,p=sl.userSettingsDialog.saveBtn,m=sl.userSettingsDialog.dismissBtn,v={},S,y,C,T;ha(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const fe=re.getConfigValue("userSettings.userSettingsDialog"),Ne=fe||re.getConfigValue("settings.userSettings.userSettingsDialog");Ne&&(t(4,_=Ne.dialogHeader?Ne.dialogHeader:_),t(5,p=Ne.saveBtn?Ne.saveBtn:p),t(6,m=Ne.dismissBtn?Ne.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Cn.addEventListener("message",x=>{const _e=Ie.getValidMessageSource(x);if(!_e||x.data.msg!=="custom")return;_e._ready=!0;const me=sa.convertCustomMessageInternalToUser(x.data),ie="luigi.updateUserSettings";if(me.id===ie){const Ee=nr.findActiveCustomUserSettingsIframe(x.source);if(Ee){let Le=Ee.getAttribute("userSettingsGroup");t(0,c[Le]=me.data,c)}}me.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&B()}),re.readUserSettings().then(x=>{g=JSON.parse(JSON.stringify(x)),x===null?t(0,c=kc(JSON.parse(JSON.stringify(r)),{})):t(0,c=kc(JSON.parse(JSON.stringify(r)),x)),D([S,r[0][S]])}).catch(x=>{x&&x.message&&console.error(x.message),x&&x.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(fe){if(t(7,y=fe.title?fe.title:""),!!ee.isObject(fe.settings))for(let Ne in fe.settings){let x=fe.settings[Ne];x.type==="enum"?Array.isArray(x.options)||console.error(`There is no options array for '${Ne}' defined in the Luigi userSettings config.`):x.type===void 0&&console.error(`There is no data type defined for '${Ne}' in the Luigi userSettings config.`)}}function D(fe,Ne){t(11,o=fe);let x=fe[0],_e=fe[1];if(N(_e),Ne?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ie=>{ie.classList.remove("is-selected")}),M(Ne.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Cc()),_e.viewUrl){if(nr.hideUserSettingsIframe(),v.hasOwnProperty(x))nr.getUserSettingsIframesInDom().forEach(me=>{me.userSettingsGroup===x&&(me.style.display="block")});else{const me=Qr.hasDecorators()?Qr.applyDecorators(_e.viewUrl):_e.viewUrl;let ie=nr.createIframe(me,x);v[x]=ie}K2()}else J2()}const I=fe=>{t(0,c=fe.detail.userSettings)};function L(){re.storeUserSettings(c,g).then(()=>{s("close")}).catch(fe=>{fe&&fe.message&&console.error(fe.message),fe&&fe.closeDialog&&s("close")})}function M(fe,Ne,x){if(fe&&x>0)return ee.isIE()?fe.msMatchesSelector(Ne)?fe:M(fe.parentNode,Ne,x-1):fe.matches(Ne)?fe:M(fe.parentNode,Ne,x-1)}function O(){B()}function B(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Cc()}function z(fe){return Te.renderIconClassName(fe)}function ue(fe){return Te.isOpenUIiconName(fe.icon)}let X;const Q=()=>{const fe=window.innerWidth>=$t.desktopMinWidth&&X<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&X>=$t.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"),fe&&(document.querySelector(".confirm-button").style.display="block"),!X){let x=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?x.style.display="none":x.style.display="block"}X=window.innerWidth};function ce(fe,Ne){let x=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(fe.keyCode===_i||fe.keyCode===ga)&&x[Ne].click(),fe.keyCode===T2&&x[Object.keys(r).length-1].focus(),fe.keyCode===I2&&x[0].focus()}function ke(fe){fe.keyCode===gi&&C?T():fe.keyCode===gi&&!C&&s("close")}const H=fe=>D(fe,event),ae=(fe,Ne)=>ce(Ne,[fe]);function $(fe){T=fe,t(9,T)}function J(fe){C=fe,t(8,C)}const le=()=>L(),we=()=>s("close");return i.$$set=fe=>{"schemaObj"in fe&&t(21,l=fe.schemaObj),"userSettingGroups"in fe&&t(1,r=fe.userSettingGroups),"storedUserSettings"in fe&&t(0,c=fe.storedUserSettings)},[c,r,ce,ke,_,p,m,y,C,T,n,o,s,h,D,I,L,B,z,ue,Q,l,H,ae,$,J,le,we]}class Y2 extends Rt{constructor(e){super(),At(this,e,j2,G2,Nt,{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:Q2}=Mi;function Z2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){R(t,e,n)},p:Ue,d(t){t&&A(e)}}}function X2(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=ne(t,"click",Mt(Lt(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 yc(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=[ne(s,"click",Mt(Lt(i[3]))),ne(n,"mousedown",Mt(i[6]))],o=!0)},p:Ue,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Ze(c)}}}function $2(i){let e,t,n,l,r,s,o,c,g,h;t=new Xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?X2:Z2}let p=_(i),m=p(i),v=!i[0]&&yc(i);return{c(){e=k("div"),Ge(t.$$.fragment),n=G(),l=k("div"),m.c(),s=G(),v&&v.c(),o=Ce(),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=ne(Q2,"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=yc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){K(t.$$.fragment,S),c=!1},d(S){S&&A(e),qe(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function x2(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:T}=e,N=!1,D=vt("getUnsavedChangesModalPromise");const I=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:H=>{H&&Object.getOwnPropertyNames(H).forEach(ae=>{ae==="splitViewSettings"?t(1,y=H.splitViewSettings):ae==="lastNode"?r=H.lastNode:ae==="pathData"?s=H.pathData:ae==="nodeParams"?o=H.nodeParams:ae==="collapsed"?t(0,S=H.collapsed):ae==="isDataPrepared"?t(8,C=H.isDataPrepared):ae==="currentNode"?c=H.currentNode:ae==="splitViewIframe"?h=H.splitViewIframe:ae==="splitViewIframeData"?_=H.splitViewIframeData:ae==="splitViewWC"?p=H.splitViewWC:ae==="splitViewWCData"&&(m=H.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),L=async()=>{C?S||st.createAndSetView(I()):await st.prepareSplitViewData(I(),v)},M=()=>{l.split=st.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=st.getDragger()},O=()=>{const H=st.getDraggerBackdrop();H&&(H.style.display="none"),M(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function B(H){if(!!Ie.getValidMessageSource(H)&&(H.data.msg==="luigi.navigation.splitview.close"&&st.close(I()),H.data.msg==="luigi.navigation.splitview.collapse"&&z(),H.data.msg==="luigi.navigation.splitview.expand"&&ue(),H.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(H.data.data);if(st.calculateAndSetSplitViewValues(ae,st.internalValues),S)return;O(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{X(),g=B.bind(this),Cn.addEventListener("message",g)}),Eo(()=>{L(),N!==C&&!S&&(N=C,O())}),ha(()=>{window.removeEventListener("message",g)});function z(){st.collapse(I())}async function ue(){await st.expand(I()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const H=Dn.getShellbar().clientHeight;st.internalValues.innerHeight=ee.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-H,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=H+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||O()}function Q(H){let ae=H.y,$={};const J=function(x){const _e=ae-x.y,me=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(me)||_e===0)return;const ie=me-_e,Ee=st.internalValues.innerHeight-ie,Le=st.enforceTresholds(ie,Ee);ie<Le.top||Ee<Le.bottom||($=Le,ae=x.y,l.draggable.style.top=`${$.top}px`)},le=function(){if(we(),!$.top||!$.bottom||$.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=$.top,st.splitViewValues=$,O(),st.sendMessageToClients("resize.ok",$.percent)},we=function(){document.removeEventListener("mouseup",le),document.removeEventListener("mousemove",J)},fe=function(){document.addEventListener("mouseup",le),document.addEventListener("mousemove",J)};M(),we(),fe(),st.getDraggerBackdrop().style.display="block"}const ce=H=>{let ae=st.getDraggerButton();ae&&(ae.style.display=H?"block":"none"),ae=st.getCollapsedDraggerButton(),ae&&(ae.style.display=H?"block":"none")},ke=H=>{ce(!H.detail||H.detail.backdropActive!==!0)};return i.$$set=H=>{"nodepath"in H&&t(9,v=H.nodepath),"collapsed"in H&&t(0,S=H.collapsed),"splitViewSettings"in H&&t(1,y=H.splitViewSettings),"isDataPrepared"in H&&t(8,C=H.isDataPrepared),"disableBackdrop"in H&&t(2,T=H.disableBackdrop)},[S,y,T,z,ue,X,Q,ke,C,v]}class eS extends Rt{constructor(e){super(),At(this,e,x2,$2,Nt,{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 Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:iS,then:nS,catch:tS,value:1};return la(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),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())&&la(t,n)||h_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function tS(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function nS(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nc(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]+"")&&Pe(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function iS(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function lS(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Ce()},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=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function rS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Zn extends Rt{constructor(e){super(),At(this,e,rS,lS,Nt,{node:0})}}function Ic(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+"")&&Pe(l,n)},d(r){r&&A(e)}}}function sS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ic(i);return{c(){t&&t.c(),e=Ce()},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=Ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function aS(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 $r extends Rt{constructor(e){super(),At(this,e,aS,sS,Nt,{node:0})}}const{window:$s}=Mi;function Tc(i,e,t){const n=i.slice();return n[64]=e[t][0],n[65]=e[t][1],n[67]=t,n}function Lc(i,e,t){const n=i.slice();return n[68]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[68]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[68]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[68]=e[t],n}function Dc(i){let e,t,n,l,r,s,o=i[23](i[11].label)+"",c,g,h,_=i[11].icon&&Vc(i),p=i[11].showUpLink&&Mc(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[30](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):(_=Vc(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=Mc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&8390656&&h!==(h=m[30](m[11],m[23](m[11].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Vc(i){let e,t;function n(s,o){return o[0]&2048&&(e=null),e==null&&(e=!!s[26](s[11].icon)),e?uS:oS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 oS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(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&&!lt(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 uS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[25](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[25](n[11].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Mc(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=ne(e,"click",Lt(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 Oc(i){let e,t,n,l,r=i[12],s=[];for(let c=0;c<r.length;c+=1)s[c]=sd(Tc(i,r,c));const o=c=>K(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]&56){r=c[12];let h;for(h=0;h<r.length;h+=1){const _=Tc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=sd(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(De(),h=r.length;h<s.length;h+=1)o(h);Ve()}(!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)K(s[g]);l=!1},d(c){c&&A(e),ft(s,c)}}}function fS(i){let e,t,n,l;const r=[hS,dS],s=[];function o(c,g){return c[65].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Ce()},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):(De(),K(s[h],1,1,()=>{s[h]=null}),Ve(),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){K(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function cS(i){let e,t,n=i[65],l=[];for(let s=0;s<n.length;s+=1)l[s]=rd(Ec(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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]&1589661792|o[1]&16){n=s[65];let c;for(c=0;c<n.length;c+=1){const g=Ec(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=rd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},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)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function dS(i){let e,t,n=i[23](i[64])+"",l,r,s,o,c,g,h=i[9]&&i[65].metaInfo.icon&&Fc(i),_=i[65],p=[];for(let v=0;v<_.length;v+=1)p[v]=qc(Lc(i,_,v));const m=v=>K(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=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-1b792v2"),f(e,"title",r=i[30](i[65],i[23](i[64]))),f(e,"data-testid",s=i[29](i[65].metaInfo,i[64])),f(e,"id","category_list_level1_"+i[67])},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[65].metaInfo.icon?h?h.p(v,S):(h=Fc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&8392704)&&n!==(n=v[23](v[64])+"")&&Pe(l,n),(!g||S[0]&8392704&&r!==(r=v[30](v[65],v[23](v[64]))))&&f(e,"title",r),(!g||S[0]&4096&&s!==(s=v[29](v[65].metaInfo,v[64])))&&f(e,"data-testid",s),S[0]&1589661792|S[1]&16){_=v[65];let y;for(y=0;y<_.length;y+=1){const C=Lc(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(De(),y=_.length;y<p.length;y+=1)m(y);Ve()}},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)K(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ft(p,v),v&&A(c)}}}function hS(i){let e,t,n,l,r,s,o=i[23](i[64])+"",c,g,h,_,p,m,v,S,y,C,T,N,D,I,L,M,O,B,z,ue,X,Q;function ce(_e,me){return me[0]&4096&&(l=null),l==null&&(l=!!_e[26](_e[65].metaInfo.icon)),l?SS:wS}let ke=ce(i,[-1,-1,-1]),H=ke(i);function ae(){return i[44](i[65])}function $(){return i[45](i[65])}function J(..._e){return i[46](i[65],..._e)}let le=i[65],we=[];for(let _e=0;_e<le.length;_e+=1)we[_e]=Yc(Rc(i,le,_e));const fe=_e=>K(we[_e],1,1,()=>{we[_e]=null});let Ne=i[65].metaInfo&&i[65].metaInfo.label===i[7]&&Qc(i);function x(){return i[51](i[65])}return{c(){e=k("li"),t=k("div"),n=k("a"),H.c(),r=G(),s=k("span"),c=ye(o),v=G(),S=k("button"),y=k("i"),I=G(),L=k("ul");for(let _e=0;_e<we.length;_e+=1)we[_e].c();O=G(),Ne&&Ne.c(),B=G(),f(s,"class","fd-nested-list__title svelte-1b792v2"),f(n,"title",g=i[30](i[65],i[23](i[64]))),f(n,"class",h="fd-nested-list__link "+(pn(i[65],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[67]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=pn(i[65],i[8])),f(y,"class",C=pn(i[65],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",T=pn(i[65],i[8])),f(S,"title",N=i[36](i[65],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",M=!pn(i[65],i[8])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[29](i[65].metaInfo,i[64])),di(e,"lui-item-expanded",pn(i[65],i[8]))},m(_e,me){R(_e,e,me),w(e,t),w(t,n),H.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,I),w(e,L);for(let ie=0;ie<we.length;ie+=1)we[ie].m(L,null);w(e,O),Ne&&Ne.m(e,null),w(e,B),ue=!0,X||(Q=[ne(n,"click",Lt(ae)),ne(S,"click",Lt($)),ne(t,"keypress",J),ne(e,"click",Mt(x))],X=!0)},p(_e,me){if(i=_e,ke===(ke=ce(i,me))&&H?H.p(i,me):(H.d(1),H=ke(i),H&&(H.c(),H.m(n,r))),(!ue||me[0]&8392704)&&o!==(o=i[23](i[64])+"")&&Pe(c,o),(!ue||me[0]&8392704&&g!==(g=i[30](i[65],i[23](i[64]))))&&f(n,"title",g),(!ue||me[0]&4352&&h!==(h="fd-nested-list__link "+(pn(i[65],i[8])?"is-expanded":"")+" svelte-1b792v2"))&&f(n,"class",h),(!ue||me[0]&32&&_!==(_=i[5]?"-1":"0"))&&f(n,"tabindex",_),(!ue||me[0]&4194304&&p!==(p=i[22]?void 0:"button"))&&f(n,"role",p),(!ue||me[0]&4352&&m!==(m=pn(i[65],i[8])))&&f(n,"aria-expanded",m),(!ue||me[0]&4352&&C!==(C=pn(i[65],i[8])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ue||me[0]&4352&&T!==(T=pn(i[65],i[8])))&&f(S,"aria-expanded",T),(!ue||me[0]&4352&&N!==(N=i[36](i[65],i[8])))&&f(S,"title",N),(!ue||me[0]&32&&D!==(D=i[5]?"0":"-1"))&&f(t,"tabindex",D),me[0]&1488998464|me[1]&16){le=i[65];let ie;for(ie=0;ie<le.length;ie+=1){const Ee=Rc(i,le,ie);we[ie]?(we[ie].p(Ee,me),U(we[ie],1)):(we[ie]=Yc(Ee),we[ie].c(),U(we[ie],1),we[ie].m(L,null))}for(De(),ie=le.length;ie<we.length;ie+=1)fe(ie);Ve()}(!ue||me[0]&4352&&M!==(M=!pn(i[65],i[8])))&&f(L,"aria-hidden",M),i[65].metaInfo&&i[65].metaInfo.label===i[7]?Ne?(Ne.p(i,me),me[0]&4224&&U(Ne,1)):(Ne=Qc(i),Ne.c(),U(Ne,1),Ne.m(e,B)):Ne&&(De(),K(Ne,1,1,()=>{Ne=null}),Ve()),(!ue||me[0]&4096&&z!==(z=i[29](i[65].metaInfo,i[64])))&&f(e,"data-testid",z),(!ue||me[0]&4352)&&di(e,"lui-item-expanded",pn(i[65],i[8]))},i(_e){if(!ue){for(let me=0;me<le.length;me+=1)U(we[me]);U(Ne),ue=!0}},o(_e){we=we.filter(Boolean);for(let me=0;me<we.length;me+=1)K(we[me]);K(Ne),ue=!1},d(_e){_e&&A(e),H.d(),ft(we,_e),Ne&&Ne.d(),X=!1,Ze(Q)}}}function Fc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[26](s[65].metaInfo.icon)),e?_S:gS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[65].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[65].metaInfo.altText?i[65].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&&!lt(t.src,n=r[65].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[65].metaInfo.altText?r[65].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[65].metaInfo.icon?i[25](i[65].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[65].metaInfo.icon?n[25](n[65].metaInfo.icon):"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Uc(i){let e,t,n=i[68].label&&Bc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Bc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Bc(i){let e,t,n,l,r=i[23](i[68].label)+"",s,o,c,g,h,_,p,m,v,S,y,C,T,N;function D(X,Q){return X[68].icon?mS:pS}let I=D(i),L=I(i),M=i[68].statusBadge&&Wc(i),O=i[68].externalLink&&i[68].externalLink.url&&Hc(),B=i[68].badgeCounter&&zc(i);function z(...X){return i[52](i[68],...X)}function ue(...X){return i[53](i[68],...X)}return{c(){e=k("li"),t=k("a"),L.c(),n=G(),l=k("span"),s=ye(r),o=G(),M&&M.c(),g=G(),O&&O.c(),h=G(),B&&B.c(),S=G(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[28](i[68])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"role",m=i[22]?void 0:"button"),f(t,"data-testid",v=i[27](i[68])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[30](i[68],i[23](i[68].label))),f(e,"aria-labelledby","category_list_level1_"+i[67])},m(X,Q){R(X,e,Q),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),M&&M.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),B&&B.m(t,null),w(e,S),C=!0,T||(N=[ne(t,"click",z),ne(t,"keyup",function(){Vi(i[22]?void 0:ue)&&(i[22]?void 0:ue).apply(this,arguments)})],T=!0)},p(X,Q){i=X,I===(I=D(i))&&L?L.p(i,Q):(L.d(1),L=I(i),L&&(L.c(),L.m(t,n))),(!C||Q[0]&8392704)&&r!==(r=i[23](i[68].label)+"")&&Pe(s,r),i[68].statusBadge?M?(M.p(i,Q),Q[0]&4096&&U(M,1)):(M=Wc(i),M.c(),U(M,1),M.m(l,null)):M&&(De(),K(M,1,1,()=>{M=null}),Ve()),(!C||Q[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",c),i[68].externalLink&&i[68].externalLink.url?O||(O=Hc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[68].badgeCounter?B?(B.p(i,Q),Q[0]&4096&&U(B,1)):(B=zc(i),B.c(),U(B,1),B.m(t,null)):B&&(De(),K(B,1,1,()=>{B=null}),Ve()),(!C||Q[0]&4096&&_!==(_=i[28](i[68])))&&f(t,"href",_),(!C||Q[0]&4160&&p!==(p="fd-nested-list__link "+(i[68]===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[27](i[68])))&&f(t,"data-testid",v),(!C||Q[0]&8392704&&y!==(y=i[30](i[68],i[23](i[68].label))))&&f(e,"title",y)},i(X){C||(U(M),U(B),C=!0)},o(X){K(M),K(B),C=!1},d(X){X&&A(e),L.d(),M&&M.d(),O&&O.d(),B&&B.d(),T=!1,Ze(N)}}}function pS(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":"")&&Pe(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function mS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[26](s[68].icon)),e?vS:bS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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"),lt(t.src,n=i[68].icon)||f(t,"src",n),f(t,"alt",l=i[68].altText?i[68].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&&!lt(t.src,n=r[68].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[68].altText?r[68].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[25](i[68].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[25](n[68].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Wc(i){let e,t;return e=new $r({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Hc(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 zc(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function qc(i){let e,t,n=!i[68].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Uc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function wS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[65].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[65].metaInfo.altText?i[65].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&&!lt(t.src,n=r[65].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[65].metaInfo.altText?r[65].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function SS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[25](i[65].metaInfo.icon)+" "+(i[5]&&!i[65].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[25](n[65].metaInfo.icon)+" "+(n[5]&&!n[65].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gc(i){let e,t,n=i[68].label&&Kc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Kc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kc(i){let e,t,n,l=i[23](i[68].label)+"",r,s,o,c,g,h,_,p,m,v,S,y,C,T,N;o=new $r({props:{node:i[68]}});let D=i[68].externalLink&&i[68].externalLink.url&&Jc(),I=i[68].badgeCounter&&jc(i);function L(...O){return i[47](i[68],...O)}function M(...O){return i[48](i[68],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=G(),Ge(o.$$.fragment),g=G(),D&&D.c(),h=G(),I&&I.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[28](i[68])),f(t,"class",p="fd-nested-list__link "+(i[68]===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[27](i[68])),f(t,"title",S=i[30](i[68],i[23](i[68].label))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[67])},m(O,B){R(O,e,B),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),I&&I.m(t,null),w(e,y),C=!0,T||(N=[ne(t,"click",L),ne(t,"keyup",function(){Vi(i[22]?void 0:M)&&(i[22]?void 0:M).apply(this,arguments)})],T=!0)},p(O,B){i=O,(!C||B[0]&8392704)&&l!==(l=i[23](i[68].label)+"")&&Pe(r,l);const z={};B[0]&4096&&(z.node=i[68]),o.$set(z),(!C||B[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[68].externalLink&&i[68].externalLink.url?D||(D=Jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[68].badgeCounter?I?(I.p(i,B),B[0]&4096&&U(I,1)):(I=jc(i),I.c(),U(I,1),I.m(t,null)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),(!C||B[0]&4096&&_!==(_=i[28](i[68])))&&f(t,"href",_),(!C||B[0]&4160&&p!==(p="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||B[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||B[0]&4096&&v!==(v=i[27](i[68])))&&f(t,"data-testid",v),(!C||B[0]&8392704&&S!==(S=i[30](i[68],i[23](i[68].label))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(I),C=!0)},o(O){K(o.$$.fragment,O),K(I),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),I&&I.d(),T=!1,Ze(N)}}}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 jc(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Yc(i){let e,t,n=!i[68].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Gc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qc(i){let e,t,n,l=i[23](i[64])+"",r,s,o,c,g=i[65],h=[];for(let p=0;p<g.length;p+=1)h[p]=ed(Ac(i,g,p));const _=p=>K(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[64])+"")&&Pe(r,l),m[0]&1488998464|m[1]&16){g=p[65];let v;for(v=0;v<g.length;v+=1){const S=Ac(p,g,v);h[v]?(h[v].p(S,m),U(h[v],1)):(h[v]=ed(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(De(),v=g.length;v<h.length;v+=1)_(v);Ve()}},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)K(h[m]);c=!1},d(p){p&&A(e),ft(h,p)}}}function Zc(i){let e,t,n=i[68].label&&Xc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Xc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(i){let e,t,n,l=i[23](i[68].label)+"",r,s,o,c,g,h,_,p,m,v,S,y,C,T,N;o=new $r({props:{node:i[68]}});let D=i[68].externalLink&&i[68].externalLink.url&&$c(),I=i[68].badgeCounter&&xc(i);function L(...O){return i[49](i[68],...O)}function M(...O){return i[50](i[68],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=G(),Ge(o.$$.fragment),g=G(),D&&D.c(),h=G(),I&&I.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[28](i[68])),f(t,"class",p="fd-nested-list__link "+(i[68]===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[27](i[68])),f(t,"title",S=i[30](i[68],i[23](i[68].label))),f(e,"class","fd-nested-list__item")},m(O,B){R(O,e,B),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),I&&I.m(t,null),w(e,y),C=!0,T||(N=[ne(t,"click",L),ne(t,"keyup",function(){Vi(i[22]?void 0:M)&&(i[22]?void 0:M).apply(this,arguments)})],T=!0)},p(O,B){i=O,(!C||B[0]&8392704)&&l!==(l=i[23](i[68].label)+"")&&Pe(r,l);const z={};B[0]&4096&&(z.node=i[68]),o.$set(z),(!C||B[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[68].externalLink&&i[68].externalLink.url?D||(D=$c(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[68].badgeCounter?I?(I.p(i,B),B[0]&4096&&U(I,1)):(I=xc(i),I.c(),U(I,1),I.m(t,null)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),(!C||B[0]&4096&&_!==(_=i[28](i[68])))&&f(t,"href",_),(!C||B[0]&4160&&p!==(p="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||B[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||B[0]&4096&&v!==(v=i[27](i[68])))&&f(t,"data-testid",v),(!C||B[0]&8392704&&S!==(S=i[30](i[68],i[23](i[68].label))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(I),C=!0)},o(O){K(o.$$.fragment,O),K(I),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),I&&I.d(),T=!1,Ze(N)}}}function $c(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 xc(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function ed(i){let e,t,n=!i[68].hideFromNav&&Zc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Zc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function td(i){let e,t,n=i[68].label&&nd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=nd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n,l,r=i[23](i[68].label)+"",s,o,c,g,h,_,p,m,v,S,y,C,T,N,D;function I(X,Q){return X[68].icon?CS:kS}let L=I(i),M=L(i);c=new $r({props:{node:i[68]}});let O=i[68].externalLink&&i[68].externalLink.url&&id(),B=i[68].badgeCounter&&ld(i);function z(...X){return i[42](i[68],...X)}function ue(...X){return i[43](i[68],...X)}return{c(){e=k("li"),t=k("a"),M.c(),n=G(),l=k("span"),s=ye(r),o=G(),Ge(c.$$.fragment),h=G(),O&&O.c(),_=G(),B&&B.c(),C=G(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",p=i[28](i[68])),f(t,"title",m=i[30](i[68],i[23](i[68].label))),f(t,"class",v="fd-nested-list__link "+(i[68]===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[27](i[68])),f(e,"class","fd-nested-list__item")},m(X,Q){R(X,e,Q),w(e,t),M.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,_),B&&B.m(t,null),w(e,C),T=!0,N||(D=[ne(t,"click",z),ne(t,"keyup",function(){Vi(i[22]?void 0:ue)&&(i[22]?void 0:ue).apply(this,arguments)})],N=!0)},p(X,Q){i=X,L===(L=I(i))&&M?M.p(i,Q):(M.d(1),M=L(i),M&&(M.c(),M.m(t,n))),(!T||Q[0]&8392704)&&r!==(r=i[23](i[68].label)+"")&&Pe(s,r);const ce={};Q[0]&4096&&(ce.node=i[68]),c.$set(ce),(!T||Q[0]&4096&&g!==(g="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",g),i[68].externalLink&&i[68].externalLink.url?O||(O=id(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[68].badgeCounter?B?(B.p(i,Q),Q[0]&4096&&U(B,1)):(B=ld(i),B.c(),U(B,1),B.m(t,null)):B&&(De(),K(B,1,1,()=>{B=null}),Ve()),(!T||Q[0]&4096&&p!==(p=i[28](i[68])))&&f(t,"href",p),(!T||Q[0]&8392704&&m!==(m=i[30](i[68],i[23](i[68].label))))&&f(t,"title",m),(!T||Q[0]&4160&&v!==(v="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",v),(!T||Q[0]&4194304&&S!==(S=i[22]?void 0:"button"))&&f(t,"role",S),(!T||Q[0]&4096&&y!==(y=i[27](i[68])))&&f(t,"data-testid",y)},i(X){T||(U(c.$$.fragment,X),U(B),T=!0)},o(X){K(c.$$.fragment,X),K(B),T=!1},d(X){X&&A(e),M.d(),qe(c),O&&O.d(),B&&B.d(),N=!1,Ze(D)}}}function kS(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 CS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[26](s[68].icon)),e?PS:yS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].icon)||f(t,"src",n),f(t,"alt",l=i[68].altText?i[68].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&&!lt(t.src,n=r[68].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[68].altText?r[68].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[25](i[68].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[25](n[68].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function id(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 ld(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function rd(i){let e,t,n=!i[68].hideFromNav&&td(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=td(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function sd(i){let e,t,n,l,r,s;const o=[cS,fS],c=[];function g(h,_){return _[0]&12288&&(e=null),_[0]&4096&&(t=null),e==null&&(e=!!(h[64]==="undefined"||h[64].startsWith(h[13]))),e?0:(t==null&&(t=h[65].filter(IS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},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&&(De(),K(c[p],1,1,()=>{c[p]=null}),Ve()),~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){K(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ad(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&od(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]:"")+"")&&Pe(r,l),c[3]?o?o.p(c,g):(o=od(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function od(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=[ne(e,"click",i[54]),ne(e,"keydown",i[55])],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,Ze(l)}}}function NS(i){let e,t,n,l,r,s,o,c,g,h,_=i[11]&&Dc(i),p=i[0]&&i[4].length>1&&Oc(i),m=(i[2]||i[3])&&ad(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=[ne($s,"resize",i[16]),ne($s,"click",i[20]),ne($s,"blur",i[20]),ne($s,"keydown",i[31]),ne(n,"keyup",i[17])],g=!0)},p(v,S){v[11]?_?_.p(v,S):(_=Dc(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=Oc(v),p.c(),U(p,1),p.m(l,null)):p&&(De(),K(p,1,1,()=>{p=null}),Ve()),v[2]||v[3]?m?m.p(v,S):(m=ad(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){K(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Ze(h)}}}function pn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const IS=i=>!i.hideFromNav&&i.label;function TS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:_,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:S,sideNavAccordionMode:N,selectedCategory:y,expandedCategories:C,hasCategoriesWithIcon:T,navParentNode:L}),set:async te=>{if(te){Object.getOwnPropertyNames(te).forEach(async ht=>{if(ht==="pathData")t(4,_=te.pathData);else if(ht==="context")M=te.context;else if(ht==="children")t(0,s=te.children);else if(ht==="selectedNode")t(6,S=te.selectedNode);else if(ht==="hasCategoriesWithIcon")t(9,T=te.hasCategoriesWithIcon);else if(ht==="navParent"){t(11,I=void 0);let Ct=te.navParent;if(t(39,L=Ct),Ct&&Ct.navHeader&&ee.requestExperimentalFeature("navHeader",!0)){let yt=Ct.navHeader,wt=Ct;if(yt==="inherit"){for(wt=Ct.parent;wt&&wt.navHeader==="inherit";)wt=wt.parent;yt=wt?wt.navHeader:void 0}if(yt instanceof Function){t(11,I={});let on=yt(Te.stripNode(Ct),Te.stripNode(wt),M);on instanceof Promise?on.then(yn=>{t(11,I=yn)}):t(11,I=on)}else if(yt==="auto")t(11,I={label:Ct.label,icon:Ct.icon});else if(yt&&yt.useTitleResolver&&wt.titleResolver){wt.titleResolver.prerenderFallback?t(11,I={...yt,label:wt.titleResolver.fallbackTitle||"",icon:wt.titleResolver.fallbackIcon}):t(11,I=yt);const on=be.mapPathToNode(nt.getCurrentPath(),wt);Vt.extractDataFromPath(on).then(yn=>{const ri=be.substituteDynamicParamsInObject(Object.assign({},yn.pathData.context,wt.context),yn.pathData.pathParams);Te.fetchNodeTitleData(wt,ri).then(Ui=>{t(11,I={...yt,...Ui})}).catch(Ui=>{console.error("Error while retrieving title, fallback to node label"),t(11,I={...yt,label:Ct.label,icon:Ct.icon})})})}else t(11,I=await le(yt,wt))}}});let Me=S&&S.sideNavAccordionMode||S&&S.parent&&S.parent.sideNavAccordionMode;typeof Me<"u"?t(38,N=Me):t(38,N=re.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=Te.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:S}=e,{selectedCategory:y=null}=e,{expandedCategories:C}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:D}=e,{navHeader:I}=e,{navParentNode:L}=e,M,O,B,z=vt("store"),ue=vt("getTranslation");pi(i,ue,te=>t(23,n=te));let X=!1;const Q=async()=>{const te=l.get(),Me=await Vt.getLeftNavData({...te},te);!Me||(l.set(Me),O=_,window.LEFTNAVDATA=Me.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(22,X=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(21,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(8,C=Te.loadExpandedCategories()),Mn.doOnStoreChange(z,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]);let te=ci.initial();t(5,v=te.isSemiCollapsed),t(37,g=te.semiCollapsible),ci.onValueChanged(Me=>{t(5,v=Me.isSemiCollapsed)}),Cn.addEventListener("message",Me=>{Me.data.msg==="luigi.navigation.update-badge-counters"&&Q()})}),Vn(()=>{(!O||O!=_)&&Q(),t(21,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:ce}=e;function ke(te){return Te.renderIconClassName(te)}function H(te){return Te.isOpenUIiconName(te)}function ae(te){return te.testId?te.testId:Te.prepareForTests(te.pathSegment,te.label)}function $(te){return be.getNodeHref(te,p)}function J(te,Me){return te&&te.testId?te.testId:Te.prepareForTests(Me||te.label)}async function le(te,Me){const ht=be.mapPathToNode(nt.getCurrentPath(),Me),yt=(await Vt.extractDataFromPath(ht)).pathData.pathParams;return be.substituteDynamicParamsInObject(te,yt)}function we(te,Me){return Te.generateTooltipText(te,Me)}function fe(te){r("handleClick",{node:te})}function Ne(te,Me){if(ci.getCollapsed()){let ht,Ct=document.getElementsByClassName("fd-app__sidebar")[0];if(te.metaInfo&&te.metaInfo.label?ht=te.metaInfo.label:ht=te.category&&te.category.label||te.category,Ct.classList.contains("isBlocked")||(Ct.className+=" isBlocked"),ht===y){t(7,y=ci.closePopupMenu(y));return}t(7,y=ht),x(Me)}}function x(te){const Me=te.closest(".fd-nested-list__item"),ht=Me.offsetTop,Ct=Dn.getShellbar().offsetHeight;let yt;Dn.isCustomLuigiContainer()?yt=Dn.getCustomLuigiContainer().clientHeight:yt=window.innerHeight,setTimeout(()=>{const wt=Me.getElementsByClassName("lui-flyout-sublist")[0],on=te.closest(".lui-fd-side-nav-wrapper").scrollTop,yn=ht+Ct-on,ri=yt-ht-Me.offsetHeight+on-Ct;yn+wt.offsetHeight>=yt?(wt.style.bottom=ri+"px",wt.className+=" has-bottom-position"):wt.style.top=yn-Ct+"px"})}function _e(){if(g){let te=ci.onResize(y);t(5,v=te.isSemiCollapsed),t(7,y=te.selectedCategory)}}function me(te){if(te.code==="ArrowRight"){const ht=Ie.getCurrentMicrofrontendIframe();ht&&ht.contentWindow&&ht.contentWindow.focus()}}function ie(te){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'),C_.navigate("/")}function Ee(te,Me){ci.getCollapsed()||t(8,C=Te.storeExpandedState(te.metaInfo.categoryUid,Me,N))}function Le(){t(7,y=ci.closePopupMenu(y))}function pe(te){te&&te.code==="Escape"&&Le()}function et(){t(5,v=ci.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),On()}function Ot(te){const Me=te.code;(Me==="Enter"||Me==="Space")&&et()}function jt(te,Me){(te.code==="Enter"||te==="Space")&&Ne(Me,te.currentTarget)}function Et(te,Me){te.keyCode===_i&&Te.handleNavAnchorClickedWithoutMetaKey(te)&&fe(Me)}function On(){if(!Te.getBurgerTooltipConfig())return;const[te,Me]=Te.getBurgerTooltipConfig(),ht=document.body.classList.contains("lui-semiCollapsible");te&&Me&&ht&&t(10,D=document.body.classList.contains("semiCollapsed")?te:Me)}function Oi(te,Me){return pn(te,Me)?te.metaInfo.titleCollapseButton?n(te.metaInfo.titleCollapseButton):void 0:te.metaInfo.titleExpandButton?n(te.metaInfo.titleExpandButton):void 0}const zt=(te,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(te)},mi=(te,Me)=>Et(Me,te),Fi=te=>Ee(te,!pn(te,C)),xt=te=>Ee(te,!pn(te,C)),Yt=(te,Me)=>jt(Me,te),Xn=(te,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(te)},ct=(te,Me)=>Et(Me,te),dn=(te,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(te)},$n=(te,Me)=>Et(Me,te),ln=te=>Ne(te,event.currentTarget),rn=(te,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(te)},Fn=(te,Me)=>Et(Me,te),bi=te=>et(),sn=te=>Ot(te);return i.$$set=te=>{"children"in te&&t(0,s=te.children),"hideNavComponent"in te&&t(1,o=te.hideNavComponent),"footerText"in te&&t(2,c=te.footerText),"semiCollapsible"in te&&t(37,g=te.semiCollapsible),"semiCollapsibleButton"in te&&t(3,h=te.semiCollapsibleButton),"pathData"in te&&t(4,_=te.pathData),"pathParams"in te&&t(40,p=te.pathParams),"virtualGroupPrefix"in te&&t(13,m=te.virtualGroupPrefix),"isSemiCollapsed"in te&&t(5,v=te.isSemiCollapsed),"selectedNode"in te&&t(6,S=te.selectedNode),"selectedCategory"in te&&t(7,y=te.selectedCategory),"expandedCategories"in te&&t(8,C=te.expandedCategories),"hasCategoriesWithIcon"in te&&t(9,T=te.hasCategoriesWithIcon),"sideNavAccordionMode"in te&&t(38,N=te.sideNavAccordionMode),"burgerTooltip"in te&&t(10,D=te.burgerTooltip),"navHeader"in te&&t(11,I=te.navHeader),"navParentNode"in te&&t(39,L=te.navParentNode),"sortedChildrenEntries"in te&&t(12,ce=te.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const te=Object.entries(s);te.sort((Me,ht)=>Me[1].metaInfo.order-ht[1].metaInfo.order),t(12,ce=te)}},[s,o,c,h,_,v,S,y,C,T,D,I,ce,m,fe,Ne,_e,me,ie,Ee,Le,B,X,n,ue,ke,H,ae,$,J,we,pe,et,Ot,jt,Et,Oi,g,N,L,p,x,zt,mi,Fi,xt,Yt,Xn,ct,dn,$n,ln,rn,Fn,bi,sn]}class LS extends Rt{constructor(e){super(),At(this,e,TS,NS,Nt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:37,semiCollapsibleButton:3,pathData:4,pathParams:40,virtualGroupPrefix:13,isSemiCollapsed:5,selectedNode:6,selectedCategory:7,expandedCategories:8,hasCategoriesWithIcon:9,sideNavAccordionMode:38,burgerTooltip:10,navHeader:11,navParentNode:39,sortedChildrenEntries:12,handleClick:14,handleIconClick:15,calculateFlyoutPosition:41,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[41]}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 AS=i=>{Mn.doOnStoreChange(i.store,()=>{const e=re.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}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),I_(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"])},RS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),I_=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 ee.trimTrailingSlash(ee.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!RS(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=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=dt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function ud(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fd(i,e,t){const n=i.slice();return n[43]=e[t],n}function ES(i){let e,t,n,l,r=i[1]&&cd(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=ne(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=cd(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 DS(i){let e,t,n,l,r=i[1]&&dd(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=ne(e,"click",i[27]),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 cd(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 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[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function hd(i){let e,t;function n(o,c){return o[3]?VS:MS}let l=n(i),r=l(i),s=i[10]&&Cd(i);return{c(){r.c(),e=G(),s&&s.c(),t=Ce()},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=Cd(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 VS(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?FS:OS}let p=_(i),m=p(i),v=i[4]&&i[5]&&vd(i),S=i[7]&&i[7].length>0&&wd(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=ne(t,"click",Mt(qS)),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=vd(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=wd(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 MS(i){let e;function t(r,s){return r[12]?HS:WS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 OS(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=ne(e,"click",Mt(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 FS(i){let e,t,n,l=i[7]&&i[7].length===1&&gd(i),r=i[7]&&i[7].length>1&&_d(i),s=i[7].length>1&&!i[5]&&bd(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=G(),s&&s.c(),n=Ce()},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=gd(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=_d(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=bd(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 gd(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)+"")&&Pe(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function _d(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=md(fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=fd(l,t,s);n[s]?n[s].p(o,r):(n[s]=md(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 pd(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||(_=ne(e,"click",Lt(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 md(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&pd(i);return{c(){n&&n.c(),t=Ce()},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=pd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function bd(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=ne(e,"click",Lt(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 vd(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=ne(t,"click",Lt(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 wd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=kd(ud(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=ud(l,t,s);n[s]?n[s].p(o,r):(n[s]=kd(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 US(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=ne(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 BS(i){let e,t=i[16]&&Sd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new ur(!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 kd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!ee.isFunction(o[8])),e)return BS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return US}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Ce()},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 WS(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=ne(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 HS(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=ne(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 Cd(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function zS(i){let e,t;function n(o,c){return o[12]?DS:ES}let l=n(i),r=l(i),s=i[2]&&hd(i);return{c(){r.c(),e=G(),s&&s.c(),t=Ce()},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=hd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Ue,o:Ue,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const qS=()=>{};function GS(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:T}=e,{addNavHrefForAnchor:N}=e,D,I,L=vt("getUnsavedChangesModalPromise"),M=vt("getTranslation");pi(i,M,pe=>t(17,n=pe));let O=vt("store");const B={closeDropDown:()=>{ke("appSwitcherPopover")}},z=()=>({get:()=>({pathData:T,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(et=>{et==="pathData"?t(24,T=pe.pathData):et==="appSwitcherItems"?t(7,m=pe.appSwitcherItems):et==="itemRenderer"?t(8,v=pe.itemRenderer):et==="pathParams"?t(9,S=pe.pathParams):et==="selectedItem"?t(5,_=pe.selectedItem):et==="title"?t(2,o=pe.title):et==="defaultSubTitle"?t(23,C=pe.defaultSubTitle):et==="subTitle"?t(10,y=pe.subTitle):et==="defaultTitle"?t(6,p=pe.defaultTitle):et==="subTitle"?t(10,y=pe.subTitle):et==="showMainAppEntry"?t(4,h=pe.showMainAppEntry):et==="hasApps"?t(3,c=pe.hasApps):et==="hasLogo"&&t(1,s=pe.hasLogo)})},store:O});Jt(()=>{AS(z())}),Vn(()=>{(!I||I!=T)&&(I_(z()),I=T)});function ue(pe,et,Ot){return setTimeout(()=>{et&&v(pe,et.children[Ot],B)}),""}function X(pe){L().then(()=>{nt.navigateTo(be.applyPathParams(pe,S))})}function Q(){L().then(()=>{nt.navigateTo("/")})}function ce(pe){l("handleClick",{node:pe}),ke("appSwitcherPopover")}function ke(pe){l("toggleDropdownState",{name:pe})}function H(pe){return pe.testId?pe.testId:Te.prepareForTests(pe.title||pe)}function ae(pe,et){if(pe.link){const Ot=be.applyPathParams(pe.link,et);if(Ot.indexOf(":")!==0&&Ot.indexOf("/:")===-1)return!0}return!1}function $(pe){return be.getNodeHref(pe)}function J(pe){$e[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const le=pe=>{Te.handleNavAnchorClickedWithoutMetaKey(pe)&&X("/")};function we(pe){$e[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const fe=()=>X("/"),Ne=pe=>{Te.handleNavAnchorClickedWithoutMetaKey(pe)&&X("/")},x=()=>X("/"),_e=()=>ke("appSwitcherPopover"),me=()=>ke("appSwitcherPopover"),ie=()=>ke("appSwitcherPopover"),Ee=(pe,et)=>{Te.handleNavAnchorClickedWithoutMetaKey(et)&&X(pe.link)};function Le(pe){$e[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,T=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,N=pe.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,N,X,Q,ke,D,n,M,ue,H,ae,$,C,T,ce,J,le,we,fe,Ne,x,_e,me,ie,Ee,Le]}class KS extends Rt{constructor(e){super(),At(this,e,GS,zS,Nt,{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 yd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Pd(i){let e,t,n,l,r,s,o=i[0]&&Nd(i),c=(i[10]||i[11])&&Dd(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=Nd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Dd(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 Nd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?jS:JS}let g=c(i),h=g(i),_=i[7].name&&Id(i),p=i[7].description&&Td(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(yd(i,m,y));let S=i[12]&&Rd(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 T=0;T<v.length;T+=1)v[T].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):(_=Id(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Td(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let T;for(T=0;T<m.length;T+=1){const N=yd(y,m,T);v[T]?v[T].p(N,C):(v[T]=Ad(N),v[T].c(),v[T].m(s,o))}for(;T<v.length;T+=1)v[T].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Rd(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 JS(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:"")+"")&&Pe(n,t)},d(l){l&&A(e)}}}function jS(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"),li(e,"background-image","url('"+i[7].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&128&&li(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Id(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+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Td(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+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ld(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?QS:YS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 YS(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),li(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&&li(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 QS(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 Ad(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ld(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=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ld(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,Ze(h)}}}function Rd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Ed(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=[ne(e,"click",Lt(i[5])),ne(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Ed(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,Ze(c)}}}function Ed(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ZS(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(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&&!lt(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 XS(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 Dd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Vd(i),l=i[10]&&!i[8]&&Md(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=Ce()},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=Vd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Md(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 Vd(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=ne(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 Md(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=[ne(e,"click",i[15]),ne(n,"click",i[15])],l=!0)},p:Ue,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Ze(r)}}}function $S(i){let e,t=!i[1]&&Pd(i);return{c(){t&&t.c(),e=Ce()},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=Pd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function xS(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=vt("store"),y=vt("getTranslation");pi(i,y,J=>t(13,n=J));let C=vt("getUnsavedChangesModalPromise"),T=vt("openViewInModal");Jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),B()),O(),nn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),nn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function N(){nn.startAuthorization()}function D(J){return Te.renderIconClassName(J)}function I(J){return Te.isOpenUIiconName(J.icon)}function L(J){return J.testId?J.testId:Te.prepareForTests(J.label)}function M(J){return be.getNodeHref(J)}function O(){m||(Mn.doOnStoreChange(S,async()=>{const J=await re.getConfigValueAsync("navigation.profile.logout"),le=await re.getConfigValueAsync("userSettings"),we=le||await re.getConfigValueAsync("settings.userSettings"),fe={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(we)){const Ne=we.userSettingsProfileMenuEntry;fe.settings={...sl.userSettingsProfileMenuEntry,...Ne}}fe.logout={...sl.logout,...J},t(11,_=Boolean(J)),v=!1,nn.setProfileLogoutFn(null),J&&ee.isFunction(J.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=fe),t(12,p=Boolean(we))},["navigation.profile"]),m=!0)}async function B(){const J=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(nn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const le=be.buildRoute(J,`${J.link}`);T(le,J.openNodeInModal===!0?{}:J.openNodeInModal)}else nt.navigateToLink(J)}),l("toggleDropdownState")}function ue(){C().then(()=>{h?Q():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")})}function X(){Zr.openUserSettings(),l("toggleDropdownState")}function Q(){nn.logout()}function ce({keyCode:J}){(J===_i||J===ga)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ke}=e;const H=J=>{Te.handleNavAnchorClickedWithoutMetaKey(J)},ae=J=>z(J),$=J=>ce(J);return i.$$set=J=>{"isHidden"in J&&t(1,r=J.isHidden),"addNavHrefForAnchor"in J&&t(2,s=J.addNavHrefForAnchor),"showUserInfo"in J&&t(0,ke=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ke=Boolean(o&&(o.name||o.email)))},[ke,r,s,z,ue,X,ce,o,c,g,h,_,p,n,y,N,D,I,L,M,O,B,Q,H,ae,$]}class ek extends Rt{constructor(e){super(),At(this,e,xS,$S,Nt,{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 Od(i,e,t){const n=i.slice();return n[34]=e[t],n}function Fd(i){let e,t,n,l,r,s=i[0]&&Ud(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Wd(Od(i,o,_));let g=i[12]&&Hd(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=Ud(_),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=Od(_,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=Hd(_),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 Ud(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)+"")&&Pe(l,n)},d(r){r&&A(e)}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?nk:tk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 tk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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&&!lt(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 nk(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&&Bd(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=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Bd(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,Ze(h)}}}function Hd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&zd(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=[ne(e,"click",Lt(i[5])),ne(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=zd(_),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,Ze(g)}}}function zd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?lk:ik}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ik(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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&&!lt(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 lk(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])&&Gd(i),l=i[10]&&!i[8]&&Jd(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=Ce()},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=Gd(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 Gd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Kd(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=ne(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Kd(_),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 Kd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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"),lt(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&&!lt(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 sk(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=ne(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function ak(i){let e,t=!i[1]&&Fd(i);return{c(){t&&t.c(),e=Ce()},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=Fd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function ok(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=vt("store"),y=vt("getTranslation");pi(i,y,J=>t(13,n=J));let C=vt("getUnsavedChangesModalPromise"),T=vt("openViewInModal");Jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),B()),O(),nn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),nn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function N(){nn.startAuthorization()}function D(J){return Te.renderIconClassName(J)}function I(J){return Te.isOpenUIiconName(J.icon)}function L(J){return J.testId?J.testId:Te.prepareForTests(J.label)}function M(J){return be.getNodeHref(J)}function O(){m||(Mn.doOnStoreChange(S,async()=>{const J=await re.getConfigValueAsync("navigation.profile.logout"),le=await re.getConfigValueAsync("userSettings"),we=le||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(we));const fe={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ne=we.userSettingsProfileMenuEntry;fe.settings={...sl.userSettingsProfileMenuEntry,...Ne}}fe.logout={...sl.logout,...J},t(11,_=Boolean(J)),v=!1,nn.setProfileLogoutFn(null),J&&ee.isFunction(J.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=fe)},["navigation.profile"]),m=!0)}async function B(){const J=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(nn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const le=be.buildRoute(J,`${J.link}`);T(le,J.openNodeInModal===!0?{}:J.openNodeInModal)}else nt.navigateToLink(J)}),l("toggleDropdownState")}function ue(){C().then(()=>{h?Q():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")})}function X(){Zr.openUserSettings(),l("toggleDropdownState")}function Q(){nn.logout()}function ce({keyCode:J}){(J===_i||J===ga)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ke}=e;const H=J=>{Te.handleNavAnchorClickedWithoutMetaKey(J)},ae=J=>z(J),$=J=>ce(J);return i.$$set=J=>{"isHidden"in J&&t(1,r=J.isHidden),"addNavHrefForAnchor"in J&&t(2,s=J.addNavHrefForAnchor),"showUserInfo"in J&&t(0,ke=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ke=Boolean(o&&(o.name||o.email)))},[ke,r,s,z,ue,X,ce,o,c,g,h,_,p,n,y,N,D,I,L,M,O,B,Q,H,ae,$]}class T_ extends Rt{constructor(e){super(),At(this,e,ok,ak,Nt,{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 jd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Yd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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=jd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Zd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},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)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function uk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 fk(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 Qd(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Zd(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,T;function N(O,B){return B&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?fk:uk}let D=N(i,-1),I=D(i);r=new Zn({props:{node:i[12]}});let L=p&&Qd(i);function M(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),I.c(),l=G(),Ge(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,B){R(O,e,B),w(e,t),I.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||(T=ne(e,"click",M),C=!0)},p(O,B){i=O,D===(D=N(i,B))&&I?I.p(i,B):(I.d(1),I=D(i),I&&(I.c(),I.m(t,l)));const z={};B&2&&(z.node=i[12]),r.$set(z),(!y||B&18)&&g!==(g=i[4](i[12])+"")&&Pe(h,g),B&34&&(p=i[5](i[12])),p?L?L.p(i,B):(L=Qd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||B&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||B&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){K(r.$$.fragment,O),y=!1},d(O){O&&A(e),I.d(),qe(r),L&&L.d(),C=!1,T()}}}function ck(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N,D=i[1]&&Yd(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(I,L){R(I,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,T||(N=[ne(y,"click",i[9]),ne(e,"click",Mt(dk))],T=!0)},p(I,[L]){(!C||L&1)&&Pe(o,I[0]),I[1]?D?(D.p(I,L),L&2&&U(D,1)):(D=Yd(I),D.c(),U(D,1),D.m(_,null)):D&&(De(),K(D,1,1,()=>{D=null}),Ve())},i(I){C||(U(D),C=!0)},o(I){K(D),C=!1},d(I){I&&A(e),D&&D.d(),T=!1,Ze(N)}}}const dk=()=>{};function hk(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 Te.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Ll.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 L_ extends Rt{constructor(e){super(),At(this,e,hk,ck,Nt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:gk}=Mi;function Xd(i,e,t){const n=i.slice();return n[6]=e[t],n}function $d(i){let e,t,n,l=i[0]&&xd(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=xd(r),l.c(),U(l,1),l.m(t,null)):l&&(De(),K(l,1,1,()=>{l=null}),Ve())},i(r){n||(U(l),n=!0)},o(r){K(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function xd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=eh(Xd(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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=Xd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=eh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},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)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function _k(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),lt(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&&!lt(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 pk(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 eh(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(I,L){return L&1&&(l=null),l==null&&(l=!!(I[6].icon&&I[9](I[6]))),l?pk:_k}let T=C(i,-1),N=T(i);s=new Zn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=G(),Ge(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(I,L){R(I,e,L),w(e,t),w(t,n),N.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=[ne(t,"click",i[14]),ne(e,"click",D)],S=!0)},p(I,L){i=I,T===(T=C(i,L))&&N?N.p(i,L):(N.d(1),N=T(i),N&&(N.c(),N.m(n,r)));const M={};L&1&&(M.node=i[6]),s.$set(M),(!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(I){v||(U(s.$$.fragment,I),v=!0)},o(I){K(s.$$.fragment,I),v=!1},d(I){I&&A(e),N.d(),qe(s),S=!1,Ze(y)}}}function th(i){let e,t;return e=new L_({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(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function mk(i){let e,t,n,l,r,s=!i[1]&&$d(i),o=i[1]&&th(i);return{c(){s&&s.c(),e=G(),o&&o.c(),t=Ce()},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=ne(gk,"resize",fa),l=!0)},p(c,[g]){c[1]?s&&(De(),K(s,1,1,()=>{s=null}),Ve()):s?(s.p(c,g),g&2&&U(s,1)):(s=$d(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=th(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(De(),K(o,1,1,()=>{o=null}),Ve())},i(c){n||(U(s),U(o),n=!0)},o(c){K(s),K(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function fa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function bk(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=vt("getUnsavedChangesModalPromise"),g=vt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:M=>{}});Jt(async()=>{fa()}),Vn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function m(M){c().then(()=>{if(M.openNodeInModal){const O=be.buildRoute(M,`/${M.pathSegment}`);g(O,M.openNodeInModal===!0?{}:M.openNodeInModal)}else nt.handleRouteClick(M,p())}),S()}function v(M){m(M.detail)}function S(){n("close")}function y(M){return Te.isOpenUIiconName(M.icon)}function C(M){return Te.renderIconClassName(M)}function T(M){return dt.getTranslation(M.label)}function N(M){return M.testId?M.testId:Te.prepareForTests(M.pathSegment,M.label)}function D(M){return be.getNodeHref(M,o)}const I=M=>{Te.handleNavAnchorClickedWithoutMetaKey(M)},L=M=>m(M);return i.$$set=M=>{"isMobile"in M&&t(1,l=M.isMobile),"children"in M&&t(0,r=M.children),"node"in M&&t(6,s=M.node)},[r,l,m,v,S,fa,s,h,_,y,C,T,N,D,I,L]}class A_ extends Rt{constructor(e){super(),At(this,e,bk,mk,Nt,{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 fa}}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?ee.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=ee.addLeadingSlash(nt.getCurrentPath()),n=ee.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ee.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=ee.normalizePath(i),n=ee.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.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=ee.normalizePath(i),t=ee.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=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await cn.generateSwitcherNav(e,t)}};function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}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){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ah(lh(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=lh(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)}}}function sh(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=[ne(t,"click",Lt(Pk)),ne(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,Ze(h)}}}function ah(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&sh(i);return{c(){n&&n.c(),t=Ce()},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=sh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function oh(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||(Rl(()=>{n&&n.end(1),t=c_(e,ua,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=d_(e,ua,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function M2(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)&&Zf(i),T=i[5]&&$f(i),N=i[4]&&xf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=G(),l=k("div"),T&&T.c(),r=G(),s=k("div"),g=G(),N&&N.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=kn(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,I){R(D,e,I),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),T&&T.m(l,null),w(l,r),w(l,s),w(t,g),N&&N.m(t,null),v=!0,S||(y=ne(V2,"keydown",i[3]),S=!0)},p(D,[I]){D[6]||D[5]&&D[0].header?C?(C.p(D,I),I&97&&U(C,1)):(C=Zf(D),C.c(),U(C,1),C.m(t,n)):C&&(De(),K(C,1,1,()=>{C=null}),Ve()),D[5]?T?(T.p(D,I),I&32&&U(T,1)):(T=$f(D),T.c(),U(T,1),T.m(l,r)):T&&(De(),K(T,1,1,()=>{T=null}),Ve()),(!v||I&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||I&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?N?I&16&&U(N,1):(N=xf(),N.c(),U(N,1),N.m(t,null)):N&&(De(),K(N,1,1,()=>{N=null}),Ve()),(!v||I&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||I&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||I&97&&p!==(p=kn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||I&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(U(C),U(T),U(N),v=!0)},o(D){K(C),K(T),K(N),v=!1},d(D){D&&A(e),C&&C.d(),T&&T.d(),N&&N.d(),S=!1,y()}}}function O2(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,T=!0,N;const D=async X=>{const Q=X&&X.length?te.getPathWithoutHash(X):"",ce=be.parseParams(Q.split("?")[1]);m=be.getNodeParams(ce);const ke=await Vt.extractDataFromPath(X);_=ke.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),N=C?"._drawer":`[modal-container-index="${c}"]`,C?(t(6,T=!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=ke.pathData,t(8,s=!0)},I=async X=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await O():await L(),oa.renderWebComponent(_.viewUrl,document.querySelector(N),p.context,_),h("wcCreated",{modalWC:document.querySelector(N),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Q=await M(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:m}}),v=!0}else await D(X)},L=async()=>{let X,Q;const ce=document.querySelector(".lui-modal-index-"+c),{size:ke,width:H,height:ae}=r,$=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(H&&H.match($)&&ae&&ae.match($))X=ae,Q=H;else switch(ke){case"fullscreen":X="100vh",Q="100vw",ce.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%"}ce.setAttribute("style",`width:${Q};height:${X};`)},M=async(X,Q)=>{C?await O():await L(),X&&(X=be.substituteViewUrl(X,Q));const ce=await Ie.createIframe(X,void 0,_,"modal",Q);return document.querySelector(N).appendChild(ce),ce};async function O(X){let Q="";const ce=document.getElementsByClassName("drawer"),ke=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?ce[0].setAttribute("style",Q):(ke[0].setAttribute("style",Q),ce[0].setAttribute("style","width:100%"))}Eo(()=>{I(o)});const B=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 L()))};Jt(()=>{Cn.addEventListener("message",B),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),ha(()=>{Cn.removeEventListener("message",B),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function z(X){X.keyCode===gi&&h("close")}const ue=()=>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,z,y,C,T,h,s,o,l,n,ue]}class N_ extends Rt{constructor(e){super(),At(this,e,O2,M2,Nt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function ec(i,e,t){const n=i.slice();return n[29]=e[t][0],n[30]=e[t][1],n[31]=e,n[32]=t,n}function tc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function nc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Ce()},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=lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function lc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=hc(ec(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=ec(r,n,o);l[o]?l[o].p(c,s):(l[o]=hc(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 rc(i){let e;function t(r,s){return r[30].isEditable||r[30].isEditable===void 0?U2:F2}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 F2(i){let e,t=i[0][i[1][0]][i[29]]+"",n,l;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),f(e,"disabled",l=!(i[30].isEditable===void 0||i[30].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[29]]+"")&&Pe(n,t),s[0]&2&&l!==(l=!(r[30].isEditable===void 0||r[30].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function U2(i){let e,t,n,l,r;function s(){i[18].call(e,i[29])}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[30].placeholder)),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),e.disabled=n=!(i[30].isEditable===void 0||i[30].isEditable)},m(o,c){R(o,e,c),qf(e,i[0][i[1][0]][i[29]]),l||(r=ne(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[30].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[29]]&&qf(e,i[0][i[1][0]][i[29]])},d(o){o&&A(e),l=!1,r()}}}function sc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"",c,g,h,_,p,m,v=Array.isArray(i[30].options),S,y;function C(...D){return i[19](i[29],i[32],i[30],...D)}function T(){return i[20](i[30])}let N=v&&ac(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"),N&&N.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[32]),f(s,"disabled",g=!(i[30].isEditable===void 0||i[30].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[32]),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,I){R(D,e,I),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),N&&N.m(m,null),S||(y=[ne(r,"keydown",C),ne(n,"click",Mt(T))],S=!0)},p(D,I){i=D,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"")&&Pe(c,o),I[0]&2&&g!==(g=!(i[30].isEditable===void 0||i[30].isEditable))&&f(s,"disabled",g),I[0]&2&&(v=Array.isArray(i[30].options)),v?N?N.p(i,I):(N=ac(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(D){D&&A(e),N&&N.d(),S=!1,Ze(y)}}}function ac(i){let e,t=i[30].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(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[32]),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[30].options;let s;for(s=0;s<t.length;s+=1){const o=nc(l,t,s);n[s]?n[s].p(o,r):(n[s]=oc(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 oc(i){let e,t,n=i[12](i[33])+"",l,r,s,o;function c(){return i[21](i[29],i[33],i[35])}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[32]+"_"+i[35]),f(e,"tabindex","0"),di(e,"is-selected",i[4]===i[35]),di(e,"is-focus",i[4]===i[35])},m(g,h){R(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[ne(e,"click",c),ne(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[33])+"")&&Pe(l,n),h[0]&16&&di(e,"is-selected",i[4]===i[35]),h[0]&16&&di(e,"is-focus",i[4]===i[35])},d(g){g&&A(e),s=!1,Ze(o)}}}function uc(i){let e,t,n,l=i[30].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=fc(tc(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[29]+" 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[30].options;let c;for(c=0;c<l.length;c+=1){const g=tc(s,l,c);r[c]?r[c].p(g,o):(r[c]=fc(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[29]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ft(r,s)}}}function fc(i){let e,t=i[12](i[33])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[29],i[33])}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[29]]===(i[33].value||i[33])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[29],i[33])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[29],i[33])),e.disabled=c=!(i[30].isEditable===void 0||i[30].isEditable)},m(p,m){R(p,e,m),w(e,n),w(e,l),g||(h=ne(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[33])+"")&&Pe(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[29]]===(i[33].value||i[33])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function cc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[29])}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[29]),n.disabled=r=!(i[30].isEditable===void 0||i[30].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[29])},m(p,m){R(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[29]],w(t,s),w(t,o),g||(h=ne(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[29])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[30].isEditable===void 0||i[30].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[29]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[29])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function dc(i){let e,t,n,l;function r(){i[25].call(e,i[29])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[30].isEditable===void 0||i[30].isEditable)},m(s,o){R(s,e,o),e.checked=i[0][i[1][0]][i[29]],n||(l=ne(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[29]])},d(s){s&&A(e),n=!1,l()}}}function hc(i){let e,t,n,l=i[5](i[30].label)+"",r,s,o,c,g,h,_=i[30].type==="enum"&&i[30].style==="button"&&Array.isArray(i[30].options),p,m,v,S=i[30].type==="string"&&rc(i),y=i[30].type==="enum"&&(i[30].style===void 0||i[30].style==="list")&&sc(i),C=_&&uc(i),T=i[30].type==="boolean"&&(!i[30].style||i[30].style==="switch")&&cc(i),N=i[30].type==="boolean"&&i[30].style==="checkbox"&&dc(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(),T&&T.c(),m=G(),N&&N.c(),v=G(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[32]),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,I){R(D,e,I),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),T&&T.m(c,null),w(c,m),N&&N.m(c,null),w(e,v)},p(D,I){I[0]&34&&l!==(l=D[5](D[30].label)+"")&&Pe(r,l),D[30].type==="string"?S?S.p(D,I):(S=rc(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[30].type==="enum"&&(D[30].style===void 0||D[30].style==="list")?y?y.p(D,I):(y=sc(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),I[0]&2&&(_=D[30].type==="enum"&&D[30].style==="button"&&Array.isArray(D[30].options)),_?C?C.p(D,I):(C=uc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[30].type==="boolean"&&(!D[30].style||D[30].style==="switch")?T?T.p(D,I):(T=cc(D),T.c(),T.m(c,m)):T&&(T.d(1),T=null),D[30].type==="boolean"&&D[30].style==="checkbox"?N?N.p(D,I):(N=dc(D),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),T&&T.d(),N&&N.d()}}}function B2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(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=[ne(window,"click",i[7]),ne(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&A(e),l&&l.d(),t=!1,Ze(n)}}}function W2(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Wt();let c=vt("getTranslation");pi(i,c,H=>t(5,n=H));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(H){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(ae=>{y(ae,!1)})}function v(H,ae,$){if(H&&$>0)return te.isIE()?H.msMatchesSelector(ae)?H:v(H.parentNode,ae,$-1):H.matches(ae)?H:v(H.parentNode,ae,$-1)}function S(H,ae){let $=v(H.target,".fd-popover__control",20),J=$.getAttribute("aria-expanded")==="true";(ae||ae===void 0)&&(m(),y($,!J))}function y(H,ae){const $=H.querySelector(".lui-activate-language-dropdown"),J=H.parentNode.querySelector(".fd-popover__body"),le=H.parentNode.querySelector(".fd-select__control");H.setAttribute("aria-expanded",ae),J.setAttribute("aria-hidden",!ae),le.setAttribute("aria-expanded",ae),$.setAttribute("aria-expanded",ae),t(14,h=ae)}function C(H,ae,$){t(4,g=$),t(0,s[l[0]][H]=ae.value||ae,s)}function T(H,ae){document.querySelectorAll(".enum-buttons-container-"+H+" button").forEach($=>{const J=$.getAttribute("id"),le=`lui-us-enum_button_${H}_option`;J===le?$.classList.add("fd-button--emphasized"):$.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][H]=ae.value||ae,s)}function N(H,ae){let $;if(Array.isArray(ae)){for(let J=0;J<ae.length;J++)if(te.isObject(ae[J])){if(ae[J].value&&ae[J].value===H){$=ae[J].label,t(4,g=J);break}}else{$=H,t(4,g=ae.indexOf(H));break}return n($)}}function D(H){return n(te.isObject(H)?H.label:H)}function I(H,ae,$){return te.isObject($)?`${H}_${ae}_${$.value}`:`${H}_${ae}_${$}`}function L(H,ae,$,J){let le=v(H.target,".lui-anchor-node",20);const we=document.getElementById(`fd-form-input-dropdown-${$}`).children;let fe=-1;if([...we].forEach((Ne,x)=>{Ne.classList.contains("is-focus")&&(fe=x)}),h){if(H.keyCode===Al&&H.altKey&&(le.click(),le.focus()),H.keyCode===Di&&!H.altKey){if(fe===-1){fe=0,we.item(fe).classList.add("is-focus");return}fe<J.options.length-1&&(we.item(fe).classList.remove("is-focus"),fe+=1,we.item(fe).classList.add("is-focus"))}if(H.keyCode===Al&&!H.altKey){if(fe===-1){fe=fe.length-1,we.item(fe).classList.add("is-focus");return}fe>0&&fe<J.options.length&&(we.item(fe).classList.remove("is-focus"),fe-=1,we.item(fe).classList.add("is-focus"))}H.keyCode===_i&&C(ae,J.options[fe],fe)}else le.focus(),H.keyCode===Di&&H.altKey&&le.click(),H.keyCode===Di&&!H.altKey&&fe<J.options.length-1&&C(ae,J.options[fe+1],fe+1),H.keyCode===Al&&!H.altKey&&fe>0&&fe<J.options.length&&C(ae,J.options[fe-1],fe-1)}function M(H){if(h){let ae=v(H.target,".fd-popover",20);ae.blur(),(H.keyCode===ga||H.keyCode===_i)&&(H.target.click(),m(),setTimeout(()=>{ae.focus()},0))}}N();function O(H){s[l[0]][H]=this.value,t(0,s)}const B=(H,ae,$,J)=>L(J,H,ae,$),z=H=>S(event,H.isEditable),ue=(H,ae,$)=>C(H,ae,$),X=H=>M(H),Q=(H,ae)=>T(H,ae);function ce(H){s[l[0]][H]=this.checked,t(0,s)}function ke(H){s[l[0]][H]=this.checked,t(0,s)}return i.$$set=H=>{"userSettingGroup"in H&&t(1,l=H.userSettingGroup),"userSettingsGroupKey"in H&&t(15,r=H.userSettingsGroupKey),"storedUserSettingData"in H&&t(0,s=H.storedUserSettingData),"isComboOpen"in H&&t(14,h=H.isComboOpen)},[s,l,L,M,g,n,c,m,S,C,T,N,D,I,h,r,_,p,O,B,z,ue,X,Q,ce,ke]}class H2 extends Rt{constructor(e){super(),At(this,e,W2,B2,Nt,{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:gc}=Mi;function _c(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[38]=t,n}function pc(i,e,t){const n=i.slice();return n[39]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[39][1])),e?q2:z2}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 z2(i){let e,t,n,l,r,s=i[39][1].initials&&bc(i);return{c(){e=k("span"),l=G(),s&&s.c(),r=Ce(),f(e,"class",t=kn(i[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[39][1].altText?i[39][1].altText:""),li(e,"background-image","url('"+i[39][1].icon+"')"),li(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=kn(o[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[39][1].altText?o[39][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&li(e,"background-image","url('"+o[39][1].icon+"')"),o[39][1].initials?s?s.p(o,c):(s=bc(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 q2(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=kn(i[18](i[39][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=kn(l[18](l[39][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function bc(i){let e,t=(i[39][1].initials?i[39][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ye(t),f(e,"class",l=kn(i[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[39][1].altText?i[39][1].altText:"")},m(s,o){R(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[39][1].initials?s[39][1].initials:"")+"")&&Pe(n,t),o[0]&2&&l!==(l=kn(s[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[39][1].altText?s[39][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function vc(i){let e,t,n,l,r,s=i[10](i[39][1].label?i[39][1].label:"")+"",o,c,g,h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"",_,p,m,v,S=i[39][1].icon&&mc(i);function y(){return i[22](i[39])}function C(...T){return i[23](i[38],...T)}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(T,N){R(T,e,N),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=[ne(e,"click",Lt(y)),ne(e,"keydown",C)],m=!0)},p(T,N){i=T,i[39][1].icon?S?S.p(i,N):(S=mc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),N[0]&1026&&s!==(s=i[10](i[39][1].label?i[39][1].label:"")+"")&&Pe(o,s),N[0]&1026&&h!==(h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"")&&Pe(_,h)},d(T){T&&A(e),S&&S.d(),m=!1,Ze(v)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=pc(l,t,s);n[s]?n[s].p(o,r):(n[s]=vc(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 Sc(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 H2({props:o}),$e.push(()=>bt(e,"closeDropDown",r)),$e.push(()=>bt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){Ge(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],mt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],mt(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){K(e.$$.fragment,c),l=!1},d(c){qe(e,c)}}}function G2(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,T=i[10](i[7])+"",N,D,I,L,M,O,B,z,ue,X,Q,ce=i[10](i[5])+"",ke,H,ae,$,J=i[10](i[6])+"",le,we,fe,Ne,x=Object.entries(i[1]),_e=[];for(let ie=0;ie<x.length;ie+=1)_e[ie]=wc(_c(i,x,ie));let me=i[11]&&Sc(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 ie=0;ie<_e.length;ie+=1)_e[ie].c();m=G(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=G(),C=k("h2"),N=ye(T),D=G(),I=k("div"),L=k("div"),me&&me.c(),M=G(),O=k("div"),B=G(),z=k("footer"),ue=k("div"),X=k("div"),Q=k("button"),ke=ye(ce),H=G(),ae=k("div"),$=k("button"),le=ye(J),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(I,"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(X,"class","fd-bar__element"),f($,"data-testid","lui-us-dismissBtn"),f($,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(ue,"class","fd-bar__right"),f(z,"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(ie,Ee){R(ie,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 Le=0;Le<_e.length;Le+=1)_e[Le].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,N),w(n,D),w(n,I),w(I,L),me&&me.m(L,null),w(I,M),w(I,O),w(t,B),w(t,z),w(z,ue),w(ue,X),w(X,Q),w(Q,ke),w(ue,H),w(ue,ae),w(ae,$),w($,le),we=!0,fe||(Ne=[ne(gc,"resize",i[20]),ne(gc,"keydown",i[3]),ne(S,"click",i[17]),ne(Q,"click",i[26]),ne($,"click",i[27])],fe=!0)},p(ie,Ee){if((!we||Ee[0]&1040)&&c!==(c=ie[10](ie[4])+"")&&Pe(g,c),Ee[0]&803846){x=Object.entries(ie[1]);let Le;for(Le=0;Le<x.length;Le+=1){const pe=_c(ie,x,Le);_e[Le]?_e[Le].p(pe,Ee):(_e[Le]=wc(pe),_e[Le].c(),_e[Le].m(p,null))}for(;Le<_e.length;Le+=1)_e[Le].d(1);_e.length=x.length}(!we||Ee[0]&1152)&&T!==(T=ie[10](ie[7])+"")&&Pe(N,T),ie[11]?me?(me.p(ie,Ee),Ee[0]&2048&&U(me,1)):(me=Sc(ie),me.c(),U(me,1),me.m(L,null)):me&&(De(),K(me,1,1,()=>{me=null}),Ve()),(!we||Ee[0]&1056)&&ce!==(ce=ie[10](ie[5])+"")&&Pe(ke,ce),(!we||Ee[0]&1088)&&J!==(J=ie[10](ie[6])+"")&&Pe(le,J)},i(ie){we||(U(me),we=!0)},o(ie){K(me),we=!1},d(ie){ie&&A(e),ft(_e,ie),me&&me.d(),fe=!1,Ze(Ne)}}}function kc(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 K2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function J2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function j2(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Wt();let o,{storedUserSettings:c={}}=e,g={},h=vt("getTranslation");pi(i,h,fe=>t(10,n=fe));let _=sl.userSettingsDialog.dialogHeader,p=sl.userSettingsDialog.saveBtn,m=sl.userSettingsDialog.dismissBtn,v={},S,y,C,T;ha(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const fe=re.getConfigValue("userSettings.userSettingsDialog"),Ne=fe||re.getConfigValue("settings.userSettings.userSettingsDialog");Ne&&(t(4,_=Ne.dialogHeader?Ne.dialogHeader:_),t(5,p=Ne.saveBtn?Ne.saveBtn:p),t(6,m=Ne.dismissBtn?Ne.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Cn.addEventListener("message",x=>{const _e=Ie.getValidMessageSource(x);if(!_e||x.data.msg!=="custom")return;_e._ready=!0;const me=sa.convertCustomMessageInternalToUser(x.data),ie="luigi.updateUserSettings";if(me.id===ie){const Ee=nr.findActiveCustomUserSettingsIframe(x.source);if(Ee){let Le=Ee.getAttribute("userSettingsGroup");t(0,c[Le]=me.data,c)}}me.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&B()}),re.readUserSettings().then(x=>{g=JSON.parse(JSON.stringify(x)),x===null?t(0,c=kc(JSON.parse(JSON.stringify(r)),{})):t(0,c=kc(JSON.parse(JSON.stringify(r)),x)),D([S,r[0][S]])}).catch(x=>{x&&x.message&&console.error(x.message),x&&x.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(fe){if(t(7,y=fe.title?fe.title:""),!!te.isObject(fe.settings))for(let Ne in fe.settings){let x=fe.settings[Ne];x.type==="enum"?Array.isArray(x.options)||console.error(`There is no options array for '${Ne}' defined in the Luigi userSettings config.`):x.type===void 0&&console.error(`There is no data type defined for '${Ne}' in the Luigi userSettings config.`)}}function D(fe,Ne){t(11,o=fe);let x=fe[0],_e=fe[1];if(N(_e),Ne?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ie=>{ie.classList.remove("is-selected")}),M(Ne.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Cc()),_e.viewUrl){if(nr.hideUserSettingsIframe(),v.hasOwnProperty(x))nr.getUserSettingsIframesInDom().forEach(me=>{me.userSettingsGroup===x&&(me.style.display="block")});else{const me=Qr.hasDecorators()?Qr.applyDecorators(_e.viewUrl):_e.viewUrl;let ie=nr.createIframe(me,x);v[x]=ie}K2()}else J2()}const I=fe=>{t(0,c=fe.detail.userSettings)};function L(){re.storeUserSettings(c,g).then(()=>{s("close")}).catch(fe=>{fe&&fe.message&&console.error(fe.message),fe&&fe.closeDialog&&s("close")})}function M(fe,Ne,x){if(fe&&x>0)return te.isIE()?fe.msMatchesSelector(Ne)?fe:M(fe.parentNode,Ne,x-1):fe.matches(Ne)?fe:M(fe.parentNode,Ne,x-1)}function O(){B()}function B(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&Cc()}function z(fe){return Te.renderIconClassName(fe)}function ue(fe){return Te.isOpenUIiconName(fe.icon)}let X;const Q=()=>{const fe=window.innerWidth>=$t.desktopMinWidth&&X<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&X>=$t.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"),fe&&(document.querySelector(".confirm-button").style.display="block"),!X){let x=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?x.style.display="none":x.style.display="block"}X=window.innerWidth};function ce(fe,Ne){let x=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(fe.keyCode===_i||fe.keyCode===ga)&&x[Ne].click(),fe.keyCode===T2&&x[Object.keys(r).length-1].focus(),fe.keyCode===I2&&x[0].focus()}function ke(fe){fe.keyCode===gi&&C?T():fe.keyCode===gi&&!C&&s("close")}const H=fe=>D(fe,event),ae=(fe,Ne)=>ce(Ne,[fe]);function $(fe){T=fe,t(9,T)}function J(fe){C=fe,t(8,C)}const le=()=>L(),we=()=>s("close");return i.$$set=fe=>{"schemaObj"in fe&&t(21,l=fe.schemaObj),"userSettingGroups"in fe&&t(1,r=fe.userSettingGroups),"storedUserSettings"in fe&&t(0,c=fe.storedUserSettings)},[c,r,ce,ke,_,p,m,y,C,T,n,o,s,h,D,I,L,B,z,ue,Q,l,H,ae,$,J,le,we]}class Y2 extends Rt{constructor(e){super(),At(this,e,j2,G2,Nt,{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:Q2}=Mi;function Z2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){R(t,e,n)},p:Ue,d(t){t&&A(e)}}}function X2(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=ne(t,"click",Mt(Lt(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 yc(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=[ne(s,"click",Mt(Lt(i[3]))),ne(n,"mousedown",Mt(i[6]))],o=!0)},p:Ue,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Ze(c)}}}function $2(i){let e,t,n,l,r,s,o,c,g,h;t=new Xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?X2:Z2}let p=_(i),m=p(i),v=!i[0]&&yc(i);return{c(){e=k("div"),Ge(t.$$.fragment),n=G(),l=k("div"),m.c(),s=G(),v&&v.c(),o=Ce(),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=ne(Q2,"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=yc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){K(t.$$.fragment,S),c=!1},d(S){S&&A(e),qe(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function x2(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:T}=e,N=!1,D=vt("getUnsavedChangesModalPromise");const I=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:H=>{H&&Object.getOwnPropertyNames(H).forEach(ae=>{ae==="splitViewSettings"?t(1,y=H.splitViewSettings):ae==="lastNode"?r=H.lastNode:ae==="pathData"?s=H.pathData:ae==="nodeParams"?o=H.nodeParams:ae==="collapsed"?t(0,S=H.collapsed):ae==="isDataPrepared"?t(8,C=H.isDataPrepared):ae==="currentNode"?c=H.currentNode:ae==="splitViewIframe"?h=H.splitViewIframe:ae==="splitViewIframeData"?_=H.splitViewIframeData:ae==="splitViewWC"?p=H.splitViewWC:ae==="splitViewWCData"&&(m=H.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),L=async()=>{C?S||st.createAndSetView(I()):await st.prepareSplitViewData(I(),v)},M=()=>{l.split=st.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=st.getDragger()},O=()=>{const H=st.getDraggerBackdrop();H&&(H.style.display="none"),M(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function B(H){if(!!Ie.getValidMessageSource(H)&&(H.data.msg==="luigi.navigation.splitview.close"&&st.close(I()),H.data.msg==="luigi.navigation.splitview.collapse"&&z(),H.data.msg==="luigi.navigation.splitview.expand"&&ue(),H.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(H.data.data);if(st.calculateAndSetSplitViewValues(ae,st.internalValues),S)return;O(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{X(),g=B.bind(this),Cn.addEventListener("message",g)}),Eo(()=>{L(),N!==C&&!S&&(N=C,O())}),ha(()=>{window.removeEventListener("message",g)});function z(){st.collapse(I())}async function ue(){await st.expand(I()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const H=Dn.getShellbar().clientHeight;st.internalValues.innerHeight=te.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-H,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=H+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||O()}function Q(H){let ae=H.y,$={};const J=function(x){const _e=ae-x.y,me=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(me)||_e===0)return;const ie=me-_e,Ee=st.internalValues.innerHeight-ie,Le=st.enforceTresholds(ie,Ee);ie<Le.top||Ee<Le.bottom||($=Le,ae=x.y,l.draggable.style.top=`${$.top}px`)},le=function(){if(we(),!$.top||!$.bottom||$.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=$.top,st.splitViewValues=$,O(),st.sendMessageToClients("resize.ok",$.percent)},we=function(){document.removeEventListener("mouseup",le),document.removeEventListener("mousemove",J)},fe=function(){document.addEventListener("mouseup",le),document.addEventListener("mousemove",J)};M(),we(),fe(),st.getDraggerBackdrop().style.display="block"}const ce=H=>{let ae=st.getDraggerButton();ae&&(ae.style.display=H?"block":"none"),ae=st.getCollapsedDraggerButton(),ae&&(ae.style.display=H?"block":"none")},ke=H=>{ce(!H.detail||H.detail.backdropActive!==!0)};return i.$$set=H=>{"nodepath"in H&&t(9,v=H.nodepath),"collapsed"in H&&t(0,S=H.collapsed),"splitViewSettings"in H&&t(1,y=H.splitViewSettings),"isDataPrepared"in H&&t(8,C=H.isDataPrepared),"disableBackdrop"in H&&t(2,T=H.disableBackdrop)},[S,y,T,z,ue,X,Q,ke,C,v]}class eS extends Rt{constructor(e){super(),At(this,e,x2,$2,Nt,{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 Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:iS,then:nS,catch:tS,value:1};return la(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),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())&&la(t,n)||h_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function tS(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function nS(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nc(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]+"")&&Pe(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function iS(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function lS(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Ce()},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=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function rS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Zn extends Rt{constructor(e){super(),At(this,e,rS,lS,Nt,{node:0})}}function Ic(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+"")&&Pe(l,n)},d(r){r&&A(e)}}}function sS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ic(i);return{c(){t&&t.c(),e=Ce()},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=Ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function aS(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 $r extends Rt{constructor(e){super(),At(this,e,aS,sS,Nt,{node:0})}}const{window:$s}=Mi;function Tc(i,e,t){const n=i.slice();return n[64]=e[t][0],n[65]=e[t][1],n[67]=t,n}function Lc(i,e,t){const n=i.slice();return n[68]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[68]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[68]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[68]=e[t],n}function Dc(i){let e,t,n,l,r,s,o=i[23](i[11].label)+"",c,g,h,_=i[11].icon&&Vc(i),p=i[11].showUpLink&&Mc(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[30](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):(_=Vc(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=Mc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&8390656&&h!==(h=m[30](m[11],m[23](m[11].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Vc(i){let e,t;function n(s,o){return o[0]&2048&&(e=null),e==null&&(e=!!s[26](s[11].icon)),e?uS:oS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 oS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(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&&!lt(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 uS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[25](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[25](n[11].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Mc(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=ne(e,"click",Lt(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 Oc(i){let e,t,n,l,r=i[12],s=[];for(let c=0;c<r.length;c+=1)s[c]=sd(Tc(i,r,c));const o=c=>K(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]&56){r=c[12];let h;for(h=0;h<r.length;h+=1){const _=Tc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=sd(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(De(),h=r.length;h<s.length;h+=1)o(h);Ve()}(!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)K(s[g]);l=!1},d(c){c&&A(e),ft(s,c)}}}function fS(i){let e,t,n,l;const r=[hS,dS],s=[];function o(c,g){return c[65].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Ce()},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):(De(),K(s[h],1,1,()=>{s[h]=null}),Ve(),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){K(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function cS(i){let e,t,n=i[65],l=[];for(let s=0;s<n.length;s+=1)l[s]=rd(Ec(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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]&1589661792|o[1]&16){n=s[65];let c;for(c=0;c<n.length;c+=1){const g=Ec(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=rd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},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)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function dS(i){let e,t,n=i[23](i[64])+"",l,r,s,o,c,g,h=i[9]&&i[65].metaInfo.icon&&Fc(i),_=i[65],p=[];for(let v=0;v<_.length;v+=1)p[v]=qc(Lc(i,_,v));const m=v=>K(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=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-1b792v2"),f(e,"title",r=i[30](i[65],i[23](i[64]))),f(e,"data-testid",s=i[29](i[65].metaInfo,i[64])),f(e,"id","category_list_level1_"+i[67])},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[65].metaInfo.icon?h?h.p(v,S):(h=Fc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&8392704)&&n!==(n=v[23](v[64])+"")&&Pe(l,n),(!g||S[0]&8392704&&r!==(r=v[30](v[65],v[23](v[64]))))&&f(e,"title",r),(!g||S[0]&4096&&s!==(s=v[29](v[65].metaInfo,v[64])))&&f(e,"data-testid",s),S[0]&1589661792|S[1]&16){_=v[65];let y;for(y=0;y<_.length;y+=1){const C=Lc(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(De(),y=_.length;y<p.length;y+=1)m(y);Ve()}},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)K(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ft(p,v),v&&A(c)}}}function hS(i){let e,t,n,l,r,s,o=i[23](i[64])+"",c,g,h,_,p,m,v,S,y,C,T,N,D,I,L,M,O,B,z,ue,X,Q;function ce(_e,me){return me[0]&4096&&(l=null),l==null&&(l=!!_e[26](_e[65].metaInfo.icon)),l?SS:wS}let ke=ce(i,[-1,-1,-1]),H=ke(i);function ae(){return i[44](i[65])}function $(){return i[45](i[65])}function J(..._e){return i[46](i[65],..._e)}let le=i[65],we=[];for(let _e=0;_e<le.length;_e+=1)we[_e]=Yc(Rc(i,le,_e));const fe=_e=>K(we[_e],1,1,()=>{we[_e]=null});let Ne=i[65].metaInfo&&i[65].metaInfo.label===i[7]&&Qc(i);function x(){return i[51](i[65])}return{c(){e=k("li"),t=k("div"),n=k("a"),H.c(),r=G(),s=k("span"),c=ye(o),v=G(),S=k("button"),y=k("i"),I=G(),L=k("ul");for(let _e=0;_e<we.length;_e+=1)we[_e].c();O=G(),Ne&&Ne.c(),B=G(),f(s,"class","fd-nested-list__title svelte-1b792v2"),f(n,"title",g=i[30](i[65],i[23](i[64]))),f(n,"class",h="fd-nested-list__link "+(pn(i[65],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[67]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=pn(i[65],i[8])),f(y,"class",C=pn(i[65],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",T=pn(i[65],i[8])),f(S,"title",N=i[36](i[65],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",M=!pn(i[65],i[8])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[29](i[65].metaInfo,i[64])),di(e,"lui-item-expanded",pn(i[65],i[8]))},m(_e,me){R(_e,e,me),w(e,t),w(t,n),H.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,I),w(e,L);for(let ie=0;ie<we.length;ie+=1)we[ie].m(L,null);w(e,O),Ne&&Ne.m(e,null),w(e,B),ue=!0,X||(Q=[ne(n,"click",Lt(ae)),ne(S,"click",Lt($)),ne(t,"keypress",J),ne(e,"click",Mt(x))],X=!0)},p(_e,me){if(i=_e,ke===(ke=ce(i,me))&&H?H.p(i,me):(H.d(1),H=ke(i),H&&(H.c(),H.m(n,r))),(!ue||me[0]&8392704)&&o!==(o=i[23](i[64])+"")&&Pe(c,o),(!ue||me[0]&8392704&&g!==(g=i[30](i[65],i[23](i[64]))))&&f(n,"title",g),(!ue||me[0]&4352&&h!==(h="fd-nested-list__link "+(pn(i[65],i[8])?"is-expanded":"")+" svelte-1b792v2"))&&f(n,"class",h),(!ue||me[0]&32&&_!==(_=i[5]?"-1":"0"))&&f(n,"tabindex",_),(!ue||me[0]&4194304&&p!==(p=i[22]?void 0:"button"))&&f(n,"role",p),(!ue||me[0]&4352&&m!==(m=pn(i[65],i[8])))&&f(n,"aria-expanded",m),(!ue||me[0]&4352&&C!==(C=pn(i[65],i[8])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ue||me[0]&4352&&T!==(T=pn(i[65],i[8])))&&f(S,"aria-expanded",T),(!ue||me[0]&4352&&N!==(N=i[36](i[65],i[8])))&&f(S,"title",N),(!ue||me[0]&32&&D!==(D=i[5]?"0":"-1"))&&f(t,"tabindex",D),me[0]&1488998464|me[1]&16){le=i[65];let ie;for(ie=0;ie<le.length;ie+=1){const Ee=Rc(i,le,ie);we[ie]?(we[ie].p(Ee,me),U(we[ie],1)):(we[ie]=Yc(Ee),we[ie].c(),U(we[ie],1),we[ie].m(L,null))}for(De(),ie=le.length;ie<we.length;ie+=1)fe(ie);Ve()}(!ue||me[0]&4352&&M!==(M=!pn(i[65],i[8])))&&f(L,"aria-hidden",M),i[65].metaInfo&&i[65].metaInfo.label===i[7]?Ne?(Ne.p(i,me),me[0]&4224&&U(Ne,1)):(Ne=Qc(i),Ne.c(),U(Ne,1),Ne.m(e,B)):Ne&&(De(),K(Ne,1,1,()=>{Ne=null}),Ve()),(!ue||me[0]&4096&&z!==(z=i[29](i[65].metaInfo,i[64])))&&f(e,"data-testid",z),(!ue||me[0]&4352)&&di(e,"lui-item-expanded",pn(i[65],i[8]))},i(_e){if(!ue){for(let me=0;me<le.length;me+=1)U(we[me]);U(Ne),ue=!0}},o(_e){we=we.filter(Boolean);for(let me=0;me<we.length;me+=1)K(we[me]);K(Ne),ue=!1},d(_e){_e&&A(e),H.d(),ft(we,_e),Ne&&Ne.d(),X=!1,Ze(Q)}}}function Fc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[26](s[65].metaInfo.icon)),e?_S:gS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[65].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[65].metaInfo.altText?i[65].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&&!lt(t.src,n=r[65].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[65].metaInfo.altText?r[65].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[65].metaInfo.icon?i[25](i[65].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[65].metaInfo.icon?n[25](n[65].metaInfo.icon):"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Uc(i){let e,t,n=i[68].label&&Bc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Bc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Bc(i){let e,t,n,l,r=i[23](i[68].label)+"",s,o,c,g,h,_,p,m,v,S,y,C,T,N;function D(X,Q){return X[68].icon?mS:pS}let I=D(i),L=I(i),M=i[68].statusBadge&&Wc(i),O=i[68].externalLink&&i[68].externalLink.url&&Hc(),B=i[68].badgeCounter&&zc(i);function z(...X){return i[52](i[68],...X)}function ue(...X){return i[53](i[68],...X)}return{c(){e=k("li"),t=k("a"),L.c(),n=G(),l=k("span"),s=ye(r),o=G(),M&&M.c(),g=G(),O&&O.c(),h=G(),B&&B.c(),S=G(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[28](i[68])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"),f(t,"role",m=i[22]?void 0:"button"),f(t,"data-testid",v=i[27](i[68])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[30](i[68],i[23](i[68].label))),f(e,"aria-labelledby","category_list_level1_"+i[67])},m(X,Q){R(X,e,Q),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),M&&M.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),B&&B.m(t,null),w(e,S),C=!0,T||(N=[ne(t,"click",z),ne(t,"keyup",function(){Vi(i[22]?void 0:ue)&&(i[22]?void 0:ue).apply(this,arguments)})],T=!0)},p(X,Q){i=X,I===(I=D(i))&&L?L.p(i,Q):(L.d(1),L=I(i),L&&(L.c(),L.m(t,n))),(!C||Q[0]&8392704)&&r!==(r=i[23](i[68].label)+"")&&Pe(s,r),i[68].statusBadge?M?(M.p(i,Q),Q[0]&4096&&U(M,1)):(M=Wc(i),M.c(),U(M,1),M.m(l,null)):M&&(De(),K(M,1,1,()=>{M=null}),Ve()),(!C||Q[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",c),i[68].externalLink&&i[68].externalLink.url?O||(O=Hc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[68].badgeCounter?B?(B.p(i,Q),Q[0]&4096&&U(B,1)):(B=zc(i),B.c(),U(B,1),B.m(t,null)):B&&(De(),K(B,1,1,()=>{B=null}),Ve()),(!C||Q[0]&4096&&_!==(_=i[28](i[68])))&&f(t,"href",_),(!C||Q[0]&4160&&p!==(p="fd-nested-list__link "+(i[68]===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[27](i[68])))&&f(t,"data-testid",v),(!C||Q[0]&8392704&&y!==(y=i[30](i[68],i[23](i[68].label))))&&f(e,"title",y)},i(X){C||(U(M),U(B),C=!0)},o(X){K(M),K(B),C=!1},d(X){X&&A(e),L.d(),M&&M.d(),O&&O.d(),B&&B.d(),T=!1,Ze(N)}}}function pS(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":"")&&Pe(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function mS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[26](s[68].icon)),e?vS:bS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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"),lt(t.src,n=i[68].icon)||f(t,"src",n),f(t,"alt",l=i[68].altText?i[68].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&&!lt(t.src,n=r[68].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[68].altText?r[68].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[25](i[68].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[25](n[68].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Wc(i){let e,t;return e=new $r({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Hc(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 zc(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function qc(i){let e,t,n=!i[68].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Uc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function wS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[65].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[65].metaInfo.altText?i[65].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&&!lt(t.src,n=r[65].metaInfo.icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[65].metaInfo.altText?r[65].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function SS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[25](i[65].metaInfo.icon)+" "+(i[5]&&!i[65].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[25](n[65].metaInfo.icon)+" "+(n[5]&&!n[65].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gc(i){let e,t,n=i[68].label&&Kc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Kc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kc(i){let e,t,n,l=i[23](i[68].label)+"",r,s,o,c,g,h,_,p,m,v,S,y,C,T,N;o=new $r({props:{node:i[68]}});let D=i[68].externalLink&&i[68].externalLink.url&&Jc(),I=i[68].badgeCounter&&jc(i);function L(...O){return i[47](i[68],...O)}function M(...O){return i[48](i[68],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=G(),Ge(o.$$.fragment),g=G(),D&&D.c(),h=G(),I&&I.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[28](i[68])),f(t,"class",p="fd-nested-list__link "+(i[68]===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[27](i[68])),f(t,"title",S=i[30](i[68],i[23](i[68].label))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[67])},m(O,B){R(O,e,B),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),I&&I.m(t,null),w(e,y),C=!0,T||(N=[ne(t,"click",L),ne(t,"keyup",function(){Vi(i[22]?void 0:M)&&(i[22]?void 0:M).apply(this,arguments)})],T=!0)},p(O,B){i=O,(!C||B[0]&8392704)&&l!==(l=i[23](i[68].label)+"")&&Pe(r,l);const z={};B[0]&4096&&(z.node=i[68]),o.$set(z),(!C||B[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[68].externalLink&&i[68].externalLink.url?D||(D=Jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[68].badgeCounter?I?(I.p(i,B),B[0]&4096&&U(I,1)):(I=jc(i),I.c(),U(I,1),I.m(t,null)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),(!C||B[0]&4096&&_!==(_=i[28](i[68])))&&f(t,"href",_),(!C||B[0]&4160&&p!==(p="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||B[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||B[0]&4096&&v!==(v=i[27](i[68])))&&f(t,"data-testid",v),(!C||B[0]&8392704&&S!==(S=i[30](i[68],i[23](i[68].label))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(I),C=!0)},o(O){K(o.$$.fragment,O),K(I),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),I&&I.d(),T=!1,Ze(N)}}}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 jc(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Yc(i){let e,t,n=!i[68].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Gc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qc(i){let e,t,n,l=i[23](i[64])+"",r,s,o,c,g=i[65],h=[];for(let p=0;p<g.length;p+=1)h[p]=ed(Ac(i,g,p));const _=p=>K(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[64])+"")&&Pe(r,l),m[0]&1488998464|m[1]&16){g=p[65];let v;for(v=0;v<g.length;v+=1){const S=Ac(p,g,v);h[v]?(h[v].p(S,m),U(h[v],1)):(h[v]=ed(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(De(),v=g.length;v<h.length;v+=1)_(v);Ve()}},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)K(h[m]);c=!1},d(p){p&&A(e),ft(h,p)}}}function Zc(i){let e,t,n=i[68].label&&Xc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Xc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(i){let e,t,n,l=i[23](i[68].label)+"",r,s,o,c,g,h,_,p,m,v,S,y,C,T,N;o=new $r({props:{node:i[68]}});let D=i[68].externalLink&&i[68].externalLink.url&&$c(),I=i[68].badgeCounter&&xc(i);function L(...O){return i[49](i[68],...O)}function M(...O){return i[50](i[68],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=G(),Ge(o.$$.fragment),g=G(),D&&D.c(),h=G(),I&&I.c(),y=G(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",_=i[28](i[68])),f(t,"class",p="fd-nested-list__link "+(i[68]===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[27](i[68])),f(t,"title",S=i[30](i[68],i[23](i[68].label))),f(e,"class","fd-nested-list__item")},m(O,B){R(O,e,B),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),I&&I.m(t,null),w(e,y),C=!0,T||(N=[ne(t,"click",L),ne(t,"keyup",function(){Vi(i[22]?void 0:M)&&(i[22]?void 0:M).apply(this,arguments)})],T=!0)},p(O,B){i=O,(!C||B[0]&8392704)&&l!==(l=i[23](i[68].label)+"")&&Pe(r,l);const z={};B[0]&4096&&(z.node=i[68]),o.$set(z),(!C||B[0]&4096&&c!==(c="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(n,"class",c),i[68].externalLink&&i[68].externalLink.url?D||(D=$c(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[68].badgeCounter?I?(I.p(i,B),B[0]&4096&&U(I,1)):(I=xc(i),I.c(),U(I,1),I.m(t,null)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),(!C||B[0]&4096&&_!==(_=i[28](i[68])))&&f(t,"href",_),(!C||B[0]&4160&&p!==(p="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",p),(!C||B[0]&4194304&&m!==(m=i[22]?void 0:"button"))&&f(t,"role",m),(!C||B[0]&4096&&v!==(v=i[27](i[68])))&&f(t,"data-testid",v),(!C||B[0]&8392704&&S!==(S=i[30](i[68],i[23](i[68].label))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(I),C=!0)},o(O){K(o.$$.fragment,O),K(I),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),I&&I.d(),T=!1,Ze(N)}}}function $c(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 xc(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function ed(i){let e,t,n=!i[68].hideFromNav&&Zc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=Zc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function td(i){let e,t,n=i[68].label&&nd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].label?n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=nd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n,l,r=i[23](i[68].label)+"",s,o,c,g,h,_,p,m,v,S,y,C,T,N,D;function I(X,Q){return X[68].icon?CS:kS}let L=I(i),M=L(i);c=new $r({props:{node:i[68]}});let O=i[68].externalLink&&i[68].externalLink.url&&id(),B=i[68].badgeCounter&&ld(i);function z(...X){return i[42](i[68],...X)}function ue(...X){return i[43](i[68],...X)}return{c(){e=k("li"),t=k("a"),M.c(),n=G(),l=k("span"),s=ye(r),o=G(),Ge(c.$$.fragment),h=G(),O&&O.c(),_=G(),B&&B.c(),C=G(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"),f(t,"href",p=i[28](i[68])),f(t,"title",m=i[30](i[68],i[23](i[68].label))),f(t,"class",v="fd-nested-list__link "+(i[68]===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[27](i[68])),f(e,"class","fd-nested-list__item")},m(X,Q){R(X,e,Q),w(e,t),M.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,_),B&&B.m(t,null),w(e,C),T=!0,N||(D=[ne(t,"click",z),ne(t,"keyup",function(){Vi(i[22]?void 0:ue)&&(i[22]?void 0:ue).apply(this,arguments)})],N=!0)},p(X,Q){i=X,L===(L=I(i))&&M?M.p(i,Q):(M.d(1),M=L(i),M&&(M.c(),M.m(t,n))),(!T||Q[0]&8392704)&&r!==(r=i[23](i[68].label)+"")&&Pe(s,r);const ce={};Q[0]&4096&&(ce.node=i[68]),c.$set(ce),(!T||Q[0]&4096&&g!==(g="fd-nested-list__title badge-align-"+(i[68].statusBadge&&i[68].statusBadge.align==="right"?"right":"left")+" svelte-1b792v2"))&&f(l,"class",g),i[68].externalLink&&i[68].externalLink.url?O||(O=id(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[68].badgeCounter?B?(B.p(i,Q),Q[0]&4096&&U(B,1)):(B=ld(i),B.c(),U(B,1),B.m(t,null)):B&&(De(),K(B,1,1,()=>{B=null}),Ve()),(!T||Q[0]&4096&&p!==(p=i[28](i[68])))&&f(t,"href",p),(!T||Q[0]&8392704&&m!==(m=i[30](i[68],i[23](i[68].label))))&&f(t,"title",m),(!T||Q[0]&4160&&v!==(v="fd-nested-list__link "+(i[68]===i[6]?"is-selected":"")+" svelte-1b792v2"))&&f(t,"class",v),(!T||Q[0]&4194304&&S!==(S=i[22]?void 0:"button"))&&f(t,"role",S),(!T||Q[0]&4096&&y!==(y=i[27](i[68])))&&f(t,"data-testid",y)},i(X){T||(U(c.$$.fragment,X),U(B),T=!0)},o(X){K(c.$$.fragment,X),K(B),T=!1},d(X){X&&A(e),M.d(),qe(c),O&&O.d(),B&&B.d(),N=!1,Ze(D)}}}function kS(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 CS(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[26](s[68].icon)),e?PS:yS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].icon)||f(t,"src",n),f(t,"alt",l=i[68].altText?i[68].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&&!lt(t.src,n=r[68].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[68].altText?r[68].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[25](i[68].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[25](n[68].icon)+" svelte-1b792v2")&&f(e,"class",t)},d(n){n&&A(e)}}}function id(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 ld(i){let e,t;return e=new Zn({props:{node:i[68]}}),{c(){Ge(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.node=n[68]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function rd(i){let e,t,n=!i[68].hideFromNav&&td(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[68].hideFromNav?n&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&4096&&U(n,1)):(n=td(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function sd(i){let e,t,n,l,r,s;const o=[cS,fS],c=[];function g(h,_){return _[0]&12288&&(e=null),_[0]&4096&&(t=null),e==null&&(e=!!(h[64]==="undefined"||h[64].startsWith(h[13]))),e?0:(t==null&&(t=h[65].filter(IS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},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&&(De(),K(c[p],1,1,()=>{c[p]=null}),Ve()),~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){K(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ad(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&od(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]:"")+"")&&Pe(r,l),c[3]?o?o.p(c,g):(o=od(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function od(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=[ne(e,"click",i[54]),ne(e,"keydown",i[55])],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,Ze(l)}}}function NS(i){let e,t,n,l,r,s,o,c,g,h,_=i[11]&&Dc(i),p=i[0]&&i[4].length>1&&Oc(i),m=(i[2]||i[3])&&ad(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=[ne($s,"resize",i[16]),ne($s,"click",i[20]),ne($s,"blur",i[20]),ne($s,"keydown",i[31]),ne(n,"keyup",i[17])],g=!0)},p(v,S){v[11]?_?_.p(v,S):(_=Dc(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=Oc(v),p.c(),U(p,1),p.m(l,null)):p&&(De(),K(p,1,1,()=>{p=null}),Ve()),v[2]||v[3]?m?m.p(v,S):(m=ad(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){K(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Ze(h)}}}function pn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const IS=i=>!i.hideFromNav&&i.label;function TS(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:_,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:S,sideNavAccordionMode:N,selectedCategory:y,expandedCategories:C,hasCategoriesWithIcon:T,navParentNode:L}),set:async ee=>{if(ee){Object.getOwnPropertyNames(ee).forEach(async ht=>{if(ht==="pathData")t(4,_=ee.pathData);else if(ht==="context")M=ee.context;else if(ht==="children")t(0,s=ee.children);else if(ht==="selectedNode")t(6,S=ee.selectedNode);else if(ht==="hasCategoriesWithIcon")t(9,T=ee.hasCategoriesWithIcon);else if(ht==="navParent"){t(11,I=void 0);let Ct=ee.navParent;if(t(39,L=Ct),Ct&&Ct.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let yt=Ct.navHeader,wt=Ct;if(yt==="inherit"){for(wt=Ct.parent;wt&&wt.navHeader==="inherit";)wt=wt.parent;yt=wt?wt.navHeader:void 0}if(yt instanceof Function){t(11,I={});let on=yt(Te.stripNode(Ct),Te.stripNode(wt),M);on instanceof Promise?on.then(yn=>{t(11,I=yn)}):t(11,I=on)}else if(yt==="auto")t(11,I={label:Ct.label,icon:Ct.icon});else if(yt&&yt.useTitleResolver&&wt.titleResolver){wt.titleResolver.prerenderFallback?t(11,I={...yt,label:wt.titleResolver.fallbackTitle||"",icon:wt.titleResolver.fallbackIcon}):t(11,I=yt);const on=be.mapPathToNode(nt.getCurrentPath(),wt);Vt.extractDataFromPath(on).then(yn=>{const ri=be.substituteDynamicParamsInObject(Object.assign({},yn.pathData.context,wt.context),yn.pathData.pathParams);Te.fetchNodeTitleData(wt,ri).then(Ui=>{t(11,I={...yt,...Ui})}).catch(Ui=>{console.error("Error while retrieving title, fallback to node label"),t(11,I={...yt,label:Ct.label,icon:Ct.icon})})})}else t(11,I=await le(yt,wt))}}});let Me=S&&S.sideNavAccordionMode||S&&S.parent&&S.parent.sideNavAccordionMode;typeof Me<"u"?t(38,N=Me):t(38,N=re.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=Te.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:S}=e,{selectedCategory:y=null}=e,{expandedCategories:C}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:D}=e,{navHeader:I}=e,{navParentNode:L}=e,M,O,B,z=vt("store"),ue=vt("getTranslation");pi(i,ue,ee=>t(23,n=ee));let X=!1;const Q=async()=>{const ee=l.get(),Me=await Vt.getLeftNavData({...ee},ee);!Me||(l.set(Me),O=_,window.LEFTNAVDATA=Me.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(22,X=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(21,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(8,C=Te.loadExpandedCategories()),Mn.doOnStoreChange(z,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]);let ee=ci.initial();t(5,v=ee.isSemiCollapsed),t(37,g=ee.semiCollapsible),ci.onValueChanged(Me=>{t(5,v=Me.isSemiCollapsed)}),Cn.addEventListener("message",Me=>{Me.data.msg==="luigi.navigation.update-badge-counters"&&Q()})}),Vn(()=>{(!O||O!=_)&&Q(),t(21,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:ce}=e;function ke(ee){return Te.renderIconClassName(ee)}function H(ee){return Te.isOpenUIiconName(ee)}function ae(ee){return ee.testId?ee.testId:Te.prepareForTests(ee.pathSegment,ee.label)}function $(ee){return be.getNodeHref(ee,p)}function J(ee,Me){return ee&&ee.testId?ee.testId:Te.prepareForTests(Me||ee.label)}async function le(ee,Me){const ht=be.mapPathToNode(nt.getCurrentPath(),Me),yt=(await Vt.extractDataFromPath(ht)).pathData.pathParams;return be.substituteDynamicParamsInObject(ee,yt)}function we(ee,Me){return Te.generateTooltipText(ee,Me)}function fe(ee){r("handleClick",{node:ee})}function Ne(ee,Me){if(ci.getCollapsed()){let ht,Ct=document.getElementsByClassName("fd-app__sidebar")[0];if(ee.metaInfo&&ee.metaInfo.label?ht=ee.metaInfo.label:ht=ee.category&&ee.category.label||ee.category,Ct.classList.contains("isBlocked")||(Ct.className+=" isBlocked"),ht===y){t(7,y=ci.closePopupMenu(y));return}t(7,y=ht),x(Me)}}function x(ee){const Me=ee.closest(".fd-nested-list__item"),ht=Me.offsetTop,Ct=Dn.getShellbar().offsetHeight;let yt;Dn.isCustomLuigiContainer()?yt=Dn.getCustomLuigiContainer().clientHeight:yt=window.innerHeight,setTimeout(()=>{const wt=Me.getElementsByClassName("lui-flyout-sublist")[0],on=ee.closest(".lui-fd-side-nav-wrapper").scrollTop,yn=ht+Ct-on,ri=yt-ht-Me.offsetHeight+on-Ct;yn+wt.offsetHeight>=yt?(wt.style.bottom=ri+"px",wt.className+=" has-bottom-position"):wt.style.top=yn-Ct+"px"})}function _e(){if(g){let ee=ci.onResize(y);t(5,v=ee.isSemiCollapsed),t(7,y=ee.selectedCategory)}}function me(ee){if(ee.code==="ArrowRight"){const ht=Ie.getCurrentMicrofrontendIframe();ht&&ht.contentWindow&&ht.contentWindow.focus()}}function ie(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'),C_.navigate("/")}function Ee(ee,Me){ci.getCollapsed()||t(8,C=Te.storeExpandedState(ee.metaInfo.categoryUid,Me,N))}function Le(){t(7,y=ci.closePopupMenu(y))}function pe(ee){ee&&ee.code==="Escape"&&Le()}function et(){t(5,v=ci.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),On()}function Ot(ee){const Me=ee.code;(Me==="Enter"||Me==="Space")&&et()}function jt(ee,Me){(ee.code==="Enter"||ee==="Space")&&Ne(Me,ee.currentTarget)}function Et(ee,Me){ee.keyCode===_i&&Te.handleNavAnchorClickedWithoutMetaKey(ee)&&fe(Me)}function On(){if(!Te.getBurgerTooltipConfig())return;const[ee,Me]=Te.getBurgerTooltipConfig(),ht=document.body.classList.contains("lui-semiCollapsible");ee&&Me&&ht&&t(10,D=document.body.classList.contains("semiCollapsed")?ee:Me)}function Oi(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 zt=(ee,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(ee)},mi=(ee,Me)=>Et(Me,ee),Fi=ee=>Ee(ee,!pn(ee,C)),xt=ee=>Ee(ee,!pn(ee,C)),Yt=(ee,Me)=>jt(Me,ee),Xn=(ee,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(ee)},ct=(ee,Me)=>Et(Me,ee),dn=(ee,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(ee)},$n=(ee,Me)=>Et(Me,ee),ln=ee=>Ne(ee,event.currentTarget),rn=(ee,Me)=>{Te.handleNavAnchorClickedWithoutMetaKey(Me)&&fe(ee)},Fn=(ee,Me)=>Et(Me,ee),bi=ee=>et(),sn=ee=>Ot(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(37,g=ee.semiCollapsible),"semiCollapsibleButton"in ee&&t(3,h=ee.semiCollapsibleButton),"pathData"in ee&&t(4,_=ee.pathData),"pathParams"in ee&&t(40,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,T=ee.hasCategoriesWithIcon),"sideNavAccordionMode"in ee&&t(38,N=ee.sideNavAccordionMode),"burgerTooltip"in ee&&t(10,D=ee.burgerTooltip),"navHeader"in ee&&t(11,I=ee.navHeader),"navParentNode"in ee&&t(39,L=ee.navParentNode),"sortedChildrenEntries"in ee&&t(12,ce=ee.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ee=Object.entries(s);ee.sort((Me,ht)=>Me[1].metaInfo.order-ht[1].metaInfo.order),t(12,ce=ee)}},[s,o,c,h,_,v,S,y,C,T,D,I,ce,m,fe,Ne,_e,me,ie,Ee,Le,B,X,n,ue,ke,H,ae,$,J,we,pe,et,Ot,jt,Et,Oi,g,N,L,p,x,zt,mi,Fi,xt,Yt,Xn,ct,dn,$n,ln,rn,Fn,bi,sn]}class LS extends Rt{constructor(e){super(),At(this,e,TS,NS,Nt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:37,semiCollapsibleButton:3,pathData:4,pathParams:40,virtualGroupPrefix:13,isSemiCollapsed:5,selectedNode:6,selectedCategory:7,expandedCategories:8,hasCategoriesWithIcon:9,sideNavAccordionMode:38,burgerTooltip:10,navHeader:11,navParentNode:39,sortedChildrenEntries:12,handleClick:14,handleIconClick:15,calculateFlyoutPosition:41,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[41]}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 AS=i=>{Mn.doOnStoreChange(i.store,()=>{const e=re.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}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),I_(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"])},RS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),I_=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||!RS(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=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=dt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function ud(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fd(i,e,t){const n=i.slice();return n[43]=e[t],n}function ES(i){let e,t,n,l,r=i[1]&&cd(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=ne(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=cd(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 DS(i){let e,t,n,l,r=i[1]&&dd(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=ne(e,"click",i[27]),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 cd(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 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[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function hd(i){let e,t;function n(o,c){return o[3]?VS:MS}let l=n(i),r=l(i),s=i[10]&&Cd(i);return{c(){r.c(),e=G(),s&&s.c(),t=Ce()},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=Cd(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 VS(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?FS:OS}let p=_(i),m=p(i),v=i[4]&&i[5]&&vd(i),S=i[7]&&i[7].length>0&&wd(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=ne(t,"click",Mt(qS)),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=vd(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=wd(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 MS(i){let e;function t(r,s){return r[12]?HS:WS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 OS(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=ne(e,"click",Mt(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 FS(i){let e,t,n,l=i[7]&&i[7].length===1&&gd(i),r=i[7]&&i[7].length>1&&_d(i),s=i[7].length>1&&!i[5]&&bd(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=G(),s&&s.c(),n=Ce()},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=gd(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=_d(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=bd(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 gd(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)+"")&&Pe(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function _d(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=md(fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=fd(l,t,s);n[s]?n[s].p(o,r):(n[s]=md(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 pd(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||(_=ne(e,"click",Lt(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 md(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&pd(i);return{c(){n&&n.c(),t=Ce()},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=pd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function bd(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=ne(e,"click",Lt(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 vd(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=ne(t,"click",Lt(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 wd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=kd(ud(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=ud(l,t,s);n[s]?n[s].p(o,r):(n[s]=kd(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 US(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=ne(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 BS(i){let e,t=i[16]&&Sd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new ur(!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 kd(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 BS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return US}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Ce()},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 WS(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=ne(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 HS(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=ne(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 Cd(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function zS(i){let e,t;function n(o,c){return o[12]?DS:ES}let l=n(i),r=l(i),s=i[2]&&hd(i);return{c(){r.c(),e=G(),s&&s.c(),t=Ce()},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=hd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Ue,o:Ue,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const qS=()=>{};function GS(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:T}=e,{addNavHrefForAnchor:N}=e,D,I,L=vt("getUnsavedChangesModalPromise"),M=vt("getTranslation");pi(i,M,pe=>t(17,n=pe));let O=vt("store");const B={closeDropDown:()=>{ke("appSwitcherPopover")}},z=()=>({get:()=>({pathData:T,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(et=>{et==="pathData"?t(24,T=pe.pathData):et==="appSwitcherItems"?t(7,m=pe.appSwitcherItems):et==="itemRenderer"?t(8,v=pe.itemRenderer):et==="pathParams"?t(9,S=pe.pathParams):et==="selectedItem"?t(5,_=pe.selectedItem):et==="title"?t(2,o=pe.title):et==="defaultSubTitle"?t(23,C=pe.defaultSubTitle):et==="subTitle"?t(10,y=pe.subTitle):et==="defaultTitle"?t(6,p=pe.defaultTitle):et==="subTitle"?t(10,y=pe.subTitle):et==="showMainAppEntry"?t(4,h=pe.showMainAppEntry):et==="hasApps"?t(3,c=pe.hasApps):et==="hasLogo"&&t(1,s=pe.hasLogo)})},store:O});Jt(()=>{AS(z())}),Vn(()=>{(!I||I!=T)&&(I_(z()),I=T)});function ue(pe,et,Ot){return setTimeout(()=>{et&&v(pe,et.children[Ot],B)}),""}function X(pe){L().then(()=>{nt.navigateTo(be.applyPathParams(pe,S))})}function Q(){L().then(()=>{nt.navigateTo("/")})}function ce(pe){l("handleClick",{node:pe}),ke("appSwitcherPopover")}function ke(pe){l("toggleDropdownState",{name:pe})}function H(pe){return pe.testId?pe.testId:Te.prepareForTests(pe.title||pe)}function ae(pe,et){if(pe.link){const Ot=be.applyPathParams(pe.link,et);if(Ot.indexOf(":")!==0&&Ot.indexOf("/:")===-1)return!0}return!1}function $(pe){return be.getNodeHref(pe)}function J(pe){$e[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const le=pe=>{Te.handleNavAnchorClickedWithoutMetaKey(pe)&&X("/")};function we(pe){$e[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const fe=()=>X("/"),Ne=pe=>{Te.handleNavAnchorClickedWithoutMetaKey(pe)&&X("/")},x=()=>X("/"),_e=()=>ke("appSwitcherPopover"),me=()=>ke("appSwitcherPopover"),ie=()=>ke("appSwitcherPopover"),Ee=(pe,et)=>{Te.handleNavAnchorClickedWithoutMetaKey(et)&&X(pe.link)};function Le(pe){$e[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,T=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,N=pe.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,N,X,Q,ke,D,n,M,ue,H,ae,$,C,T,ce,J,le,we,fe,Ne,x,_e,me,ie,Ee,Le]}class KS extends Rt{constructor(e){super(),At(this,e,GS,zS,Nt,{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 yd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Pd(i){let e,t,n,l,r,s,o=i[0]&&Nd(i),c=(i[10]||i[11])&&Dd(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=Nd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Dd(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 Nd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?jS:JS}let g=c(i),h=g(i),_=i[7].name&&Id(i),p=i[7].description&&Td(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(yd(i,m,y));let S=i[12]&&Rd(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 T=0;T<v.length;T+=1)v[T].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):(_=Id(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Td(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let T;for(T=0;T<m.length;T+=1){const N=yd(y,m,T);v[T]?v[T].p(N,C):(v[T]=Ad(N),v[T].c(),v[T].m(s,o))}for(;T<v.length;T+=1)v[T].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Rd(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 JS(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:"")+"")&&Pe(n,t)},d(l){l&&A(e)}}}function jS(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"),li(e,"background-image","url('"+i[7].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&128&&li(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Id(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+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Td(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+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ld(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?QS:YS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 YS(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),li(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&&li(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 QS(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 Ad(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ld(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=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ld(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,Ze(h)}}}function Rd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Ed(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=[ne(e,"click",Lt(i[5])),ne(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Ed(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,Ze(c)}}}function Ed(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ZS(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(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&&!lt(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 XS(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 Dd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Vd(i),l=i[10]&&!i[8]&&Md(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=Ce()},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=Vd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Md(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 Vd(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=ne(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 Md(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=[ne(e,"click",i[15]),ne(n,"click",i[15])],l=!0)},p:Ue,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Ze(r)}}}function $S(i){let e,t=!i[1]&&Pd(i);return{c(){t&&t.c(),e=Ce()},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=Pd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function xS(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=vt("store"),y=vt("getTranslation");pi(i,y,J=>t(13,n=J));let C=vt("getUnsavedChangesModalPromise"),T=vt("openViewInModal");Jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),B()),O(),nn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),nn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function N(){nn.startAuthorization()}function D(J){return Te.renderIconClassName(J)}function I(J){return Te.isOpenUIiconName(J.icon)}function L(J){return J.testId?J.testId:Te.prepareForTests(J.label)}function M(J){return be.getNodeHref(J)}function O(){m||(Mn.doOnStoreChange(S,async()=>{const J=await re.getConfigValueAsync("navigation.profile.logout"),le=await re.getConfigValueAsync("userSettings"),we=le||await re.getConfigValueAsync("settings.userSettings"),fe={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(we)){const Ne=we.userSettingsProfileMenuEntry;fe.settings={...sl.userSettingsProfileMenuEntry,...Ne}}fe.logout={...sl.logout,...J},t(11,_=Boolean(J)),v=!1,nn.setProfileLogoutFn(null),J&&te.isFunction(J.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=fe),t(12,p=Boolean(we))},["navigation.profile"]),m=!0)}async function B(){const J=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(nn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const le=be.buildRoute(J,`${J.link}`);T(le,J.openNodeInModal===!0?{}:J.openNodeInModal)}else nt.navigateToLink(J)}),l("toggleDropdownState")}function ue(){C().then(()=>{h?Q():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")})}function X(){Zr.openUserSettings(),l("toggleDropdownState")}function Q(){nn.logout()}function ce({keyCode:J}){(J===_i||J===ga)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ke}=e;const H=J=>{Te.handleNavAnchorClickedWithoutMetaKey(J)},ae=J=>z(J),$=J=>ce(J);return i.$$set=J=>{"isHidden"in J&&t(1,r=J.isHidden),"addNavHrefForAnchor"in J&&t(2,s=J.addNavHrefForAnchor),"showUserInfo"in J&&t(0,ke=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ke=Boolean(o&&(o.name||o.email)))},[ke,r,s,z,ue,X,ce,o,c,g,h,_,p,n,y,N,D,I,L,M,O,B,Q,H,ae,$]}class ek extends Rt{constructor(e){super(),At(this,e,xS,$S,Nt,{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 Od(i,e,t){const n=i.slice();return n[34]=e[t],n}function Fd(i){let e,t,n,l,r,s=i[0]&&Ud(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Wd(Od(i,o,_));let g=i[12]&&Hd(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=Ud(_),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=Od(_,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=Hd(_),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 Ud(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)+"")&&Pe(l,n)},d(r){r&&A(e)}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?nk:tk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 tk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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&&!lt(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 nk(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&&Bd(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=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Bd(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,Ze(h)}}}function Hd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&zd(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=[ne(e,"click",Lt(i[5])),ne(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=zd(_),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,Ze(g)}}}function zd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?lk:ik}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ik(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(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&&!lt(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 lk(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])&&Gd(i),l=i[10]&&!i[8]&&Jd(i);return{c(){n&&n.c(),e=G(),l&&l.c(),t=Ce()},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=Gd(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 Gd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Kd(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=ne(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Kd(_),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 Kd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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"),lt(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&&!lt(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 sk(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=ne(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function ak(i){let e,t=!i[1]&&Fd(i);return{c(){t&&t.c(),e=Ce()},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=Fd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function ok(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=vt("store"),y=vt("getTranslation");pi(i,y,J=>t(13,n=J));let C=vt("getUnsavedChangesModalPromise"),T=vt("openViewInModal");Jt(async()=>{hi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),B()),O(),nn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),nn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function N(){nn.startAuthorization()}function D(J){return Te.renderIconClassName(J)}function I(J){return Te.isOpenUIiconName(J.icon)}function L(J){return J.testId?J.testId:Te.prepareForTests(J.label)}function M(J){return be.getNodeHref(J)}function O(){m||(Mn.doOnStoreChange(S,async()=>{const J=await re.getConfigValueAsync("navigation.profile.logout"),le=await re.getConfigValueAsync("userSettings"),we=le||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(we));const fe={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ne=we.userSettingsProfileMenuEntry;fe.settings={...sl.userSettingsProfileMenuEntry,...Ne}}fe.logout={...sl.logout,...J},t(11,_=Boolean(J)),v=!1,nn.setProfileLogoutFn(null),J&&te.isFunction(J.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=fe)},["navigation.profile"]),m=!0)}async function B(){const J=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(nn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const le=be.buildRoute(J,`${J.link}`);T(le,J.openNodeInModal===!0?{}:J.openNodeInModal)}else nt.navigateToLink(J)}),l("toggleDropdownState")}function ue(){C().then(()=>{h?Q():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")})}function X(){Zr.openUserSettings(),l("toggleDropdownState")}function Q(){nn.logout()}function ce({keyCode:J}){(J===_i||J===ga)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ke}=e;const H=J=>{Te.handleNavAnchorClickedWithoutMetaKey(J)},ae=J=>z(J),$=J=>ce(J);return i.$$set=J=>{"isHidden"in J&&t(1,r=J.isHidden),"addNavHrefForAnchor"in J&&t(2,s=J.addNavHrefForAnchor),"showUserInfo"in J&&t(0,ke=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ke=Boolean(o&&(o.name||o.email)))},[ke,r,s,z,ue,X,ce,o,c,g,h,_,p,n,y,N,D,I,L,M,O,B,Q,H,ae,$]}class T_ extends Rt{constructor(e){super(),At(this,e,ok,ak,Nt,{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 jd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Yd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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=jd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Zd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},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)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function uk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 fk(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 Qd(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Zd(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,T;function N(O,B){return B&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?fk:uk}let D=N(i,-1),I=D(i);r=new Zn({props:{node:i[12]}});let L=p&&Qd(i);function M(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),I.c(),l=G(),Ge(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,B){R(O,e,B),w(e,t),I.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||(T=ne(e,"click",M),C=!0)},p(O,B){i=O,D===(D=N(i,B))&&I?I.p(i,B):(I.d(1),I=D(i),I&&(I.c(),I.m(t,l)));const z={};B&2&&(z.node=i[12]),r.$set(z),(!y||B&18)&&g!==(g=i[4](i[12])+"")&&Pe(h,g),B&34&&(p=i[5](i[12])),p?L?L.p(i,B):(L=Qd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||B&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||B&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){K(r.$$.fragment,O),y=!1},d(O){O&&A(e),I.d(),qe(r),L&&L.d(),C=!1,T()}}}function ck(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N,D=i[1]&&Yd(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(I,L){R(I,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,T||(N=[ne(y,"click",i[9]),ne(e,"click",Mt(dk))],T=!0)},p(I,[L]){(!C||L&1)&&Pe(o,I[0]),I[1]?D?(D.p(I,L),L&2&&U(D,1)):(D=Yd(I),D.c(),U(D,1),D.m(_,null)):D&&(De(),K(D,1,1,()=>{D=null}),Ve())},i(I){C||(U(D),C=!0)},o(I){K(D),C=!1},d(I){I&&A(e),D&&D.d(),T=!1,Ze(N)}}}const dk=()=>{};function hk(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 Te.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Ll.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 L_ extends Rt{constructor(e){super(),At(this,e,hk,ck,Nt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:gk}=Mi;function Xd(i,e,t){const n=i.slice();return n[6]=e[t],n}function $d(i){let e,t,n,l=i[0]&&xd(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=xd(r),l.c(),U(l,1),l.m(t,null)):l&&(De(),K(l,1,1,()=>{l=null}),Ve())},i(r){n||(U(l),n=!0)},o(r){K(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function xd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=eh(Xd(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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=Xd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=eh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},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)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function _k(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),lt(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&&!lt(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 pk(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 eh(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(I,L){return L&1&&(l=null),l==null&&(l=!!(I[6].icon&&I[9](I[6]))),l?pk:_k}let T=C(i,-1),N=T(i);s=new Zn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=G(),Ge(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(I,L){R(I,e,L),w(e,t),w(t,n),N.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=[ne(t,"click",i[14]),ne(e,"click",D)],S=!0)},p(I,L){i=I,T===(T=C(i,L))&&N?N.p(i,L):(N.d(1),N=T(i),N&&(N.c(),N.m(n,r)));const M={};L&1&&(M.node=i[6]),s.$set(M),(!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(I){v||(U(s.$$.fragment,I),v=!0)},o(I){K(s.$$.fragment,I),v=!1},d(I){I&&A(e),N.d(),qe(s),S=!1,Ze(y)}}}function th(i){let e,t;return e=new L_({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(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function mk(i){let e,t,n,l,r,s=!i[1]&&$d(i),o=i[1]&&th(i);return{c(){s&&s.c(),e=G(),o&&o.c(),t=Ce()},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=ne(gk,"resize",fa),l=!0)},p(c,[g]){c[1]?s&&(De(),K(s,1,1,()=>{s=null}),Ve()):s?(s.p(c,g),g&2&&U(s,1)):(s=$d(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=th(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(De(),K(o,1,1,()=>{o=null}),Ve())},i(c){n||(U(s),U(o),n=!0)},o(c){K(s),K(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function fa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function bk(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=vt("getUnsavedChangesModalPromise"),g=vt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:M=>{}});Jt(async()=>{fa()}),Vn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function m(M){c().then(()=>{if(M.openNodeInModal){const O=be.buildRoute(M,`/${M.pathSegment}`);g(O,M.openNodeInModal===!0?{}:M.openNodeInModal)}else nt.handleRouteClick(M,p())}),S()}function v(M){m(M.detail)}function S(){n("close")}function y(M){return Te.isOpenUIiconName(M.icon)}function C(M){return Te.renderIconClassName(M)}function T(M){return dt.getTranslation(M.label)}function N(M){return M.testId?M.testId:Te.prepareForTests(M.pathSegment,M.label)}function D(M){return be.getNodeHref(M,o)}const I=M=>{Te.handleNavAnchorClickedWithoutMetaKey(M)},L=M=>m(M);return i.$$set=M=>{"isMobile"in M&&t(1,l=M.isMobile),"children"in M&&t(0,r=M.children),"node"in M&&t(6,s=M.node)},[r,l,m,v,S,fa,s,h,_,y,C,T,N,D,I,L]}class A_ extends Rt{constructor(e){super(),At(this,e,bk,mk,Nt,{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 fa}}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(nt.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=re.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=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await cn.generateSwitcherNav(e,t)}};function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}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){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ah(lh(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=lh(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)}}}function sh(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=[ne(t,"click",Lt(Pk)),ne(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,Ze(h)}}}function ah(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&sh(i);return{c(){n&&n.c(),t=Ce()},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=sh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function oh(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 uh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=fh(ih(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=fh(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 vk(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function wk(i){let e,t,n,l,r;function s(h,_){return h[2]?kk:Sk}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=ne(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 Sk(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=ne(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 kk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new ur(!1),n=Ce(),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 Ck(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function fh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ck,then:wk,catch:vk,value:26};return la(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Ce(),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))&&la(t,n)||h_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function ch(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=hh(nh(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=nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=hh(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 dh(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=[ne(t,"click",i[18]),ne(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,Ze(h)}}}function hh(i){let e,t=i[21].position==="bottom"&&dh(i);return{c(){t&&t.c(),e=Ce()},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=dh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function yk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&rh(i),c=i[3]&&i[3].length===0&&i[11]&&oh(),g=i[3]&&i[3].length&&uh(i),h=i[0]&&i[0].length&&ch(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=rh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=oh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=uh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ch(_),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:Ue,o:Ue,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Pk=()=>{};function Nk(i,e,t){let n,l=Ue,r=()=>(l(),l=Ao(y,z=>t(14,n=z)),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 T=Wt();function N(z){T("onActionClick",{node:z})}function D(z,ue){T("goToOption",{option:z,selectedOption:ue})}const I=z=>N(z),L=z=>{Te.handleNavAnchorClickedWithoutMetaKey(z)},M=z=>D(z,_),O=z=>{Te.handleNavAnchorClickedWithoutMetaKey(z)},B=z=>N(z);return i.$$set=z=>{"actions"in z&&t(0,s=z.actions),"config"in z&&t(1,o=z.config),"customOptionsRenderer"in z&&t(2,c=z.customOptionsRenderer),"options"in z&&t(3,g=z.options),"selectedLabel"in z&&t(4,h=z.selectedLabel),"selectedOption"in z&&t(5,_=z.selectedOption),"isMobile"in z&&t(6,p=z.isMobile),"getNodeName"in z&&t(7,m=z.getNodeName),"getRouteLink"in z&&t(8,v=z.getRouteLink),"getTestId"in z&&t(9,S=z.getTestId),"getTranslation"in z&&r(t(10,y=z.getTranslation)),"isContextSwitcherDropdownShown"in z&&t(11,C=z.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,N,D,n,I,L,M,O,B]}class R_ extends Rt{constructor(e){super(),At(this,e,Nk,yk,Nt,{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 gh(i){let e,t,n,l=!i[9]&&_h(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&ph(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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&&(De(),K(l,1,1,()=>{l=null}),Ve()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=_h(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=ph(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(l),U(r),n=!0)},o(s){K(l),K(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function _h(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Tk:Ik}let p=_(i),m=p(i);return s=new R_({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"),Ge(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=ne(n,"click",Mt(Uk)),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){K(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),qe(s),g=!1,h()}}}function Ik(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Ak:Lk}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=ne(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 Tk(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("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=ne(e,"click",Lt(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 Lk(i){let e,t;function n(s,o){return s[4]?Rk:Ek}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 Ak(i){let e,t=i[7](i[2])+"",n;return{c(){e=new ur(!1),n=Ce(),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 Rk(i){let e;return{c(){e=ye(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 Ek(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)+"")&&Pe(t,e)},d(n){n&&A(t)}}}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 ur(!1),n=Ce(),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&&Pe(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)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N=!i[4]&&mh(i),D=i[4]&&bh(i);return h=new R_({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"),N&&N.c(),o=G(),D&&D.c(),c=G(),g=k("div"),Ge(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(I,L){R(I,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),N&&N.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||(T=[ne(S,"click",i[12]),ne(e,"click",Mt(Bk))],C=!0)},p(I,L){I[4]?N&&(N.d(1),N=null):N?N.p(I,L):(N=mh(I),N.c(),N.m(s,o)),I[4]?D?D.p(I,L):(D=bh(I),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const M={};L[0]&1&&(M.actions=I[0]),L[0]&32&&(M.config=I[5]),L[0]&64&&(M.customOptionsRenderer=I[6]),L[0]&2&&(M.options=I[1]),L[0]&16&&(M.selectedLabel=I[4]),L[0]&4&&(M.selectedOption=I[2]),L[0]&512&&(M.isMobile=I[9]),L[0]&16384&&(M.isContextSwitcherDropdownShown=I[14]),h.$set(M)},i(I){y||(U(h.$$.fragment,I),y=!0)},o(I){K(h.$$.fragment,I),y=!1},d(I){I&&A(e),N&&N.d(),D&&D.d(),qe(h),C=!1,Ze(T)}}}function mh(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)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function bh(i){let e;return{c(){e=ye(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 Fk(i){let e,t,n=i[3]&&gh(i);return{c(){n&&n.c(),e=Ce()},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=gh(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const Uk=()=>{},Bk=()=>{};function Wk(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:T}=e,{contextSwitcherToggle:N=!1}=e,{defaultLabel:D}=e,I,L=vt("getUnsavedChangesModalPromise"),M=vt("store"),O=vt("getTranslation");pi(i,O,x=>t(16,l=x));let B=!1,z,ue,X;Jt(async()=>{Mn.doOnStoreChange(M,async()=>{const x=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!x),!!s&&(t(6,y=ee.isFunction(x.customOptionsRenderer)?x.customOptionsRenderer:void 0),t(7,C=ee.isFunction(x.customSelectedOptionRenderer)?x.customSelectedOptionRenderer:void 0),t(5,g=x),t(1,_=void 0),x)){t(29,p=x.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const _e=nt.getCurrentPath();t(22,v=x.fallbackLabelResolver),cn.resetFallbackLabelCache(),x.lazyloadOptions||await H(),cn.isContextSwitcherDetailsView(_e,x.parentNodePath)&&await ae(_e)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(x=>ae(x)),Cn.addEventListener("message",x=>{!Ie.getValidMessageSource(x)||x.data&&x.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),H())}),t(23,D=g.defaultLabel)}),Vn(()=>{B!==N&&(B=N,H()),t(14,X=o.contextSwitcherPopover||!1)});function Q(x,_e,me){return x?Promise.resolve(x):cn.getFallbackLabel(_e,me)}function ce(x){return x.testId?x.testId:Te.prepareForTests(x.pathSegment,x.label)}function ke(x){return be.getNodeHref(x,S)}async function H(){t(1,_=await cn.fetchOptions(_));const x=g||{},_e=x.parentNodePath,me=x.fallbackLabelResolver,ie=nt.getCurrentPath();t(2,m=await cn.getSelectedOption(ie,_,_e)),t(4,c=await cn.getSelectedLabel(ie,_,_e,me)),t(13,z=await cn.getSelectedNode(ie,_,_e)),I=x.preserveSubPathOnSwitch}async function ae(x){const _e=g||{},me=_e.parentNodePath,ie=_e.fallbackLabelResolver;t(2,m=await cn.getSelectedOption(x,_,me)),t(4,c=await cn.getSelectedLabel(x,_,me,ie)),t(13,z=await cn.getSelectedNode(x,_,me))}async function $(x){let _e=x.detail.node;_e.clickHandler&&!await _e.clickHandler(_e)||(setTimeout(()=>{J(_e.link)}),T&&r("toggleDropdownState"))}function J(x){L().then(()=>{nt.navigateTo(x)})}function le(x){let _e=x.detail.option,me=x.detail.selectedOption;L().then(()=>{I&&me?nt.navigateTo(cn.getNodePathFromCurrentPath(_e,me)):nt.navigateTo(_e.link),T&&r("toggleDropdownState")})}function we(){r("toggleDropdownState");const x=o||{};JSON.parse(x.contextSwitcherPopover)&&H()}const fe=()=>{n&&we()},Ne=()=>{n&&we()};return i.$$set=x=>{"contextSwitcherEnabled"in x&&t(3,s=x.contextSwitcherEnabled),"dropDownStates"in x&&t(8,o=x.dropDownStates),"selectedLabel"in x&&t(4,c=x.selectedLabel),"config"in x&&t(5,g=x.config),"actions"in x&&t(0,h=x.actions),"options"in x&&t(1,_=x.options),"selectedOption"in x&&t(2,m=x.selectedOption),"fallbackLabelResolver"in x&&t(22,v=x.fallbackLabelResolver),"pathParams"in x&&t(24,S=x.pathParams),"customOptionsRenderer"in x&&t(6,y=x.customOptionsRenderer),"customSelectedOptionRenderer"in x&&t(7,C=x.customSelectedOptionRenderer),"isMobile"in x&&t(9,T=x.isMobile),"contextSwitcherToggle"in x&&t(25,N=x.contextSwitcherToggle),"defaultLabel"in x&&t(23,D=x.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,T,$,le,we,z,X,n,l,O,ue,Q,ce,ke,v,D,S,N,H,ae,J,p,fe,Ne]}class E_ extends Rt{constructor(e){super(),At(this,e,Wk,Fk,Nt,{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:Hk}=Mi;function vh(i,e,t){const n=i.slice();return n[22]=e[t],n}function wh(i){let e,t,n,l=!i[2]&&Sh(i),r=i[2]&&i[3].productSwitcherPopover&&Nh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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=Sh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Nh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(r),n=!0)},o(s){K(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Sh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function T(M,O){return O&2&&(s=null),s==null&&(s=!!M[11](M[1])),s?qk:zk}let N=T(i,-1),D=N(i),I=i[0],L=[];for(let M=0;M<I.length;M+=1)L[M]=Ph(vh(i,I,M));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 M=0;M<L.length;M+=1)L[M].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=kn(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(M,O){R(M,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 B=0;B<L.length;B+=1)L[B].m(m,null);y||(C=[ne(r,"click",Mt(i[7])),ne(l,"click",Mt(Xk))],y=!0)},p(M,O){if(N===(N=T(M,O))&&D?D.p(M,O):(D.d(1),D=N(M),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=M[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=M[1].label)&&f(r,"title",c),O&2&&g!==(g=M[14](M[1]))&&f(r,"data-testid",g),O&64561){I=M[0];let B;for(B=0;B<I.length;B+=1){const z=vh(M,I,B);L[B]?L[B].p(z,O):(L[B]=Ph(z),L[B].c(),L[B].m(m,null))}for(;B<L.length;B+=1)L[B].d(1);L.length=I.length}O&512&&v!==(v=kn(M[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!M[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(M){M&&A(e),D.d(),ft(L,M),y=!1,Ze(C)}}}function zk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 qk(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 kh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Kk:Gk}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=ne(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 Gk(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?jk:Jk}let _=h(i,-1),p=_(i),m=g&&Ch(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])+"")&&Pe(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=Ch(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 Kk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(T,N){return N&1&&(n=null),n==null&&(n=!!T[11](T[22])),n?Qk:Yk}let S=v(i,-1),y=S(i),C=h&&yh(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(T,N){R(T,e,N),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=ne(e,"click",i[16]),p=!0)},p(T,N){S===(S=v(T,N))&&y?y.p(T,N):(y.d(1),y=S(T),y&&(y.c(),y.m(t,null))),N&1&&o!==(o=T[12](T[22])+"")&&Pe(c,o),N&1&&(h=T[13](T[22])),h?C?C.p(T,N):(C=yh(T),C.c(),C.m(r,null)):C&&(C.d(1),C=null),N&1&&_!==(_=T[15](T[22]))&&f(e,"href",_)},d(T){T&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function Jk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 jk(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 Ch(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Yk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 Qk(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ph(i){let e,t=i[22].label&&kh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=kh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nh(i){let e,t;return e=new L_({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(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Zk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&wh(i);return{c(){s&&s.c(),t=Ce()},m(o,c){s&&s.m(o,c),R(o,t,c),n=!0,l||(r=ne(Hk,"resize",ca),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=wh(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(De(),K(s,1,1,()=>{s=null}),Ve())},i(o){n||(U(s),n=!0)},o(o){K(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function ca(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Xk=()=>{};function $k(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=vt("store"),g=vt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{Mn.doOnStoreChange(c,async()=>{t(1,s=Te.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),N()),ca()},["navigation.productSwitcher"])});function p(O){g().then(()=>{nt.navigateToLink(O)}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return Te.renderIconClassName(O)}function y(O){return Te.isOpenUIiconName(O.icon)}function C(O){return dt.getTranslation(O.label)}function T(O){return dt.getTranslation(O.subTitle)}function N(){Te.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:Te.prepareForTests(O.label)}function I(O){return be.getNodeHref(O)}const L=O=>{Te.handleNavAnchorClickedWithoutMetaKey(O)},M=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,ca,h,S,y,C,T,D,I,L,M]}class D_ extends Rt{constructor(e){super(),At(this,e,$k,Zk,Nt,{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 ca}}function Ih(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function xk(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=ne(e,"keyup",i[18]),t=!0)},p:Ue,d(l){l&&A(e),i[19](null),t=!1,n()}}}function eC(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:Ue,d(t){t&&A(e)}}}function tC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[23](e)},p:Ue,d(t){t&&A(e),i[23](null)}}}function nC(i){let e,t,n,l=i[5]&&Th(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=Th(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 Th(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(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--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=Ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(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 iC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new ur(!1),n=Ce(),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 lC(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||(_=ne(e,"click",Lt(sC)),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 Lh(i){let e,t,n,l;function r(h,_){return h[9]?iC:lC}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=[ne(e,"click",c),ne(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,Ze(l)}}}function rC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(L,M){return L[7]&&L[7].disableInputHandlers?eC:xk}let C=y(i),T=C(i);function N(L,M){return L[8]?tC:nC}let D=N(i),I=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),T.c(),r=G(),I.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,M){R(L,e,M),w(e,t),w(t,n),w(n,l),T.m(l,null),w(n,r),I.m(n,null),R(L,c,M),R(L,g,M),w(g,h),w(h,_),w(_,p),v||(S=[ne(window,"click",i[11]),ne(window,"blur",i[11]),ne(n,"click",Mt(aC)),ne(_,"click",i[6]),ne(h,"click",Mt(oC))],v=!0)},p(L,M){C===(C=y(L))&&T?T.p(L,M):(T.d(1),T=C(L),T&&(T.c(),T.m(l,null))),D===(D=N(L))&&I?I.p(L,M):(I.d(1),I=D(L),I&&(I.c(),I.m(n,null))),M[0]&16&&s!==(s=!L[4])&&f(n,"aria-hidden",s),M[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),M[0]&16&&m!==(m=!L[4])&&f(_,"aria-expanded",m)},i:Ue,o:Ue,d(L){L&&A(e),T.d(),I.d(),L&&A(c),L&&A(g),v=!1,Ze(S)}}}const sC=()=>{},aC=()=>{},oC=()=>{};function uC(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:$=>{m.searchProvider.onSearchResultItemSelected($)}};let m={},v,S;Jt(async()=>{t(7,m=h);let $=o;const J=C(m.searchProvider);J&&($.placeholder=J),y()}),Vn(()=>{t(7,m=h),y()});function y(){!m.searchProvider||(t(8,v=ee.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,S=ee.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function C($){if(!$||!$.inputPlaceholder)return;const J=dt.getCurrentLocale();if(ee.isFunction($.inputPlaceholder))return $.inputPlaceholder();if(typeof $.inputPlaceholder=="string"){const le=dt.getTranslation($.inputPlaceholder);return!!le&&le.trim().length>0?le:$.inputPlaceholder}if(typeof $.inputPlaceholder=="object")return $.inputPlaceholder[J]}function T($,J,le){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer($,J.children[le],p)}),""}function N(){_("closeSearchResult")}function D({keyCode:$}){m&&m.searchProvider?ee.isFunction(m.searchProvider.onEnter)&&$===_i?m.searchProvider.onEnter():ee.isFunction(m.searchProvider.onEscape)&&$===gi?m.searchProvider.onEscape():$===Di?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ee.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function I($){let J=g.children;if(J)for(let le=0;le<J.length;le++){let{childNodes:we,nextSibling:fe,previousSibling:Ne}=J[le],x;if(we[0].getAttribute("aria-selected")==="true"){$===Di&&(x=fe!==null?fe:J[0]),$===Al&&(x=Ne!==null?Ne:J[J.length-1]),we[0].setAttribute("aria-selected","false"),x.childNodes[0].setAttribute("aria-selected","true"),x.focus();break}}}function L(){let $=g.children;if($)for(let J=0;J<$.length;J++){let le=$[J];le.childNodes[0].getAttribute("aria-selected")==="true"&&le.childNodes[0].setAttribute("aria-selected","false")}}function M($){m&&ee.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected($):ee.isFunction(m.searchProvider.onEscape)&&event.keyCode===gi&&m.searchProvider.onEscape()}function O($,{keyCode:J}){J===_i&&m.searchProvider.onSearchResultItemSelected($),J===Al||J===Di?I(J):ee.isFunction(m.searchProvider.onEscape)&&J===gi&&(L(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function B($){let J=$.pathObject;J.externalLink?nt.navigateToLink(J):_("handleSearchNavigation",{node:J})}function z(){o&&o.focus()}function ue(){if(n?t(0,r=!1):setTimeout(()=>{z()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&ee.isFunction(m.searchProvider.toggleSearch)){const $=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,$)}}const X=$=>D($);function Q($){$e[$?"unshift":"push"](()=>{o=$,t(1,o)})}const ce=($,J)=>M($),ke=($,J)=>O($,J);function H($){$e[$?"unshift":"push"](()=>{g=$,t(3,g)})}function ae($){$e[$?"unshift":"push"](()=>{c=$,t(2,c)})}return i.$$set=$=>{"isSearchFieldVisible"in $&&t(4,n=$.isSearchFieldVisible),"searchResult"in $&&t(5,l=$.searchResult),"displaySearchResult"in $&&t(0,r=$.displaySearchResult),"displayCustomSearchResult"in $&&t(15,s=$.displayCustomSearchResult),"inputElem"in $&&t(1,o=$.inputElem),"luigiCustomSearchRenderer__slot"in $&&t(2,c=$.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in $&&t(3,g=$.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in $&&t(16,h=$.globalSearchConfig)},[r,o,c,g,n,l,ue,m,v,S,T,N,D,M,O,s,h,B,X,Q,ce,ke,H,ae]}class fC extends Rt{constructor(e){super(),At(this,e,uC,rC,Nt,{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 Ah(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function cC(i){let e,t,n,l,r,s,o,c=i[11]&&Rh(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=[ne(e,"keyup",i[25]),ne(e,"input",i[27]),ne(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Rh(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,Ze(o)}}}function dC(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:Ue,d(t){t&&A(e)}}}function Rh(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=ne(e,"click",i[19]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function hC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[31](e)},p:Ue,d(t){t&&A(e),i[31](null)}}}function gC(i){let e,t,n,l=i[4]&&Eh(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=Eh(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 Eh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Dh(Ah(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=Ah(l,t,s);n[s]?n[s].p(o,r):(n[s]=Dh(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 _C(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new ur(!1),n=Ce(),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 pC(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||(_=ne(e,"click",Lt(bC)),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 Dh(i){let e,t,n,l;function r(h,_){return h[10]?_C:pC}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=[ne(e,"click",c),ne(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,Ze(l)}}}function Vh(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=[ne(n,"click",i[6]),ne(t,"click",Mt(wC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Ze(o)}}}function Mh(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=ne(t,"click",Mt(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 mC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(I,L){return I[8]&&I[8].disableInputHandlers?dC:cC}let v=m(i),S=v(i);function y(I,L){return I[9]?hC:gC}let C=y(i),T=C(i),N=!i[5]&&Vh(i),D=i[5]&&Mh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=G(),T.c(),c=G(),N&&N.c(),g=G(),D&&D.c(),h=Ce(),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(I,L){R(I,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),T.m(n,null),R(I,c,L),N&&N.m(I,L),R(I,g,L),D&&D.m(I,L),R(I,h,L),_||(p=[ne(window,"click",i[15]),ne(window,"blur",i[15]),ne(n,"click",Mt(vC))],_=!0)},p(I,L){v===(v=m(I))&&S?S.p(I,L):(S.d(1),S=v(I),S&&(S.c(),S.m(l,null))),C===(C=y(I))&&T?T.p(I,L):(T.d(1),T=C(I),T&&(T.c(),T.m(n,null))),L[0]&32&&s!==(s=!I[5])&&f(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(I[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),I[5]?N&&(N.d(1),N=null):N?N.p(I,L):(N=Vh(I),N.c(),N.m(g.parentNode,g)),I[5]?D?D.p(I,L):(D=Mh(I),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Ue,o:Ue,d(I){I&&A(e),S.d(),T.d(),I&&A(c),N&&N.d(I),I&&A(g),D&&D.d(I),I&&A(h),_=!1,Ze(p)}}}const bC=()=>{},vC=()=>{},wC=()=>{};function SC(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:ie=>{S.searchProvider.onSearchResultItemSelected(ie)}};let m=sl.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,T=!1,N=vt("getTranslation");pi(i,N,ie=>t(12,n=ie)),Jt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let ie=o;const Ee=I(S.searchProvider);Ee&&(ie.placeholder=Ee),D(),Kf.handleVisibilityGlobalSearch();const Le=document.querySelector(".lui-global-search");Le&&new ResizeObserver(et=>{Kf.handleVisibilityGlobalSearch()}).observe(Le)}),Vn(()=>{t(8,S=h),D(),z()});function D(){t(9,y=S.searchProvider&&ee.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&ee.isFunction(S.searchProvider.customSearchResultItemRenderer))}function I(ie){if(!ie||!ie.inputPlaceholder)return;const Ee=dt.getCurrentLocale();if(ee.isFunction(ie.inputPlaceholder))return ie.inputPlaceholder();if(typeof ie.inputPlaceholder=="string"){const Le=dt.getTranslation(ie.inputPlaceholder);return!!Le&&Le.trim().length>0?Le:ie.inputPlaceholder}if(typeof ie.inputPlaceholder=="object")return ie.inputPlaceholder[Ee]}function L(ie,Ee,Le){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ie,Ee.children[Le],p)}),""}function M(){_("closeSearchResult")}function O({keyCode:ie}){S?ee.isFunction(S.searchProvider.onEnter)&&ie===_i?S.searchProvider.onEnter():ee.isFunction(S.searchProvider.onEscape)&&ie===gi?S.searchProvider.onEscape():ie===Di?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ee.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function B(){S&&ee.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function z(){o&&o.value?t(11,T=!0):t(11,T=!1)}function ue(){t(1,o.value="",o),M(),t(11,T=!1)}function X(ie){let Ee=g.children;if(Ee)for(let Le=0;Le<Ee.length;Le++){let{childNodes:pe,nextSibling:et,previousSibling:Ot}=Ee[Le],jt;if(pe[0].getAttribute("aria-selected")==="true"){ie===Di&&(jt=et!==null?et:Ee[0]),ie===Al&&(jt=Ot!==null?Ot:Ee[Ee.length-1]),pe[0].setAttribute("aria-selected","false"),jt.childNodes[0].setAttribute("aria-selected","true"),jt.focus();break}}}function Q(){let ie=g.children;if(ie)for(let Ee=0;Ee<ie.length;Ee++){let Le=ie[Ee];Le.childNodes[0].getAttribute("aria-selected")==="true"&&Le.childNodes[0].setAttribute("aria-selected","false")}}function ce(ie){S&&ee.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ie):ee.isFunction(S.searchProvider.onEscape)&&event.keyCode===gi&&S.searchProvider.onEscape()}function ke(ie,{keyCode:Ee}){Ee===_i&&S.searchProvider.onSearchResultItemSelected(ie),Ee===Al||Ee===Di?X(Ee):ee.isFunction(S.searchProvider.onEscape)&&Ee===gi&&(Q(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function H(ie){let Ee=ie.pathObject;Ee.externalLink?nt.navigateToLink(Ee):_("handleSearchNavigation",{node:Ee})}function ae(){o&&o.focus()}function $(){if(v?t(0,r=!1):setTimeout(()=>{ae()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),ee.isFunction(S.searchProvider.toggleSearch)){const ie=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ie)}}const J=ie=>O(ie);function le(ie){$e[ie?"unshift":"push"](()=>{o=ie,t(1,o)})}const we=()=>z(),fe=(ie,Ee)=>ce(ie),Ne=(ie,Ee)=>ke(ie,Ee);function x(ie){$e[ie?"unshift":"push"](()=>{g=ie,t(3,g)})}function _e(ie){$e[ie?"unshift":"push"](()=>{c=ie,t(2,c)})}const me=()=>$();return i.$$set=ie=>{"searchResult"in ie&&t(4,l=ie.searchResult),"displaySearchResult"in ie&&t(0,r=ie.displaySearchResult),"displayCustomSearchResult"in ie&&t(22,s=ie.displayCustomSearchResult),"inputElem"in ie&&t(1,o=ie.inputElem),"luigiCustomSearchRenderer__slot"in ie&&t(2,c=ie.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ie&&t(3,g=ie.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ie&&t(23,h=ie.globalSearchConfig),"isSearchFieldVisible"in ie&&t(5,v=ie.isSearchFieldVisible)},[r,o,c,g,l,v,$,m,S,y,C,T,n,N,L,M,O,B,z,ue,ce,ke,s,h,H,J,le,we,fe,Ne,x,_e,me]}class kC extends Rt{constructor(e){super(),At(this,e,SC,mC,Nt,{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 Oh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?yC:CC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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 CC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),lt(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&&!lt(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 yC(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 Fh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new $r({props:{node:i[0]}}),{c(){e=k("span"),n=ye(t),l=G(),Ge(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){K(r.$$.fragment,o),s=!1},d(o){o&&A(e),qe(r)}}}function PC(i){let e,t,n,l=i[0].icon&&Oh(i),r=(!i[0].icon||i[0].showLabel)&&Fh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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=Oh(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=Fh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(r),n=!0)},o(s){K(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function NC(i,e,t){let{node:n}=e;function l(o){return Te.isOpenUIiconName(o.icon)}function r(o){return Te.renderIconClassName(o)}function s(o){return dt.getTranslation(o.label)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Mo extends Rt{constructor(e){super(),At(this,e,NC,PC,Nt,{node:0})}}const{Boolean:V_,window:Uh}=Mi;function Bh(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 IC(i){let e,t;return e=new T_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function TC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Hh(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 KS({props:y}),$e.push(()=>bt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&zh(i),T=(!i[0]||i[1])&&qh(i),N=(i[18]||i[7]&&i[30].length>0)&&Kh(i),D=(i[0]||i[16])&&sg(i),I=i[12]&&ag(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=G(),Ge(l.$$.fragment),s=G(),C&&C.c(),o=G(),c=k("div"),T&&T.c(),g=G(),N&&N.c(),h=G(),D&&D.c(),_=G(),I&&I.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-1q5ghii"),f(e,"tabindex","0")},m(L,M){R(L,e,M),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),T&&T.m(c,null),w(c,g),N&&N.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),I&&I.m(c,null),m=!0},p(L,M){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,M):(v=Hh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};M[0]&1073741824&&(O.pathData=L[30]),M[1]&1&&(O.pathParams=L[31]),M[0]&268435456&&(O.addNavHrefForAnchor=L[28]),!r&&M[0]&64&&(r=!0,O.dropDownStates=L[6],mt(()=>r=!1)),l.$set(O),L[18]&&L[19]?C?(C.p(L,M),M[0]&786432&&U(C,1)):(C=zh(L),C.c(),U(C,1),C.m(e,o)):C&&(De(),K(C,1,1,()=>{C=null}),Ve()),!L[0]||L[1]?T?(T.p(L,M),M[0]&3&&U(T,1)):(T=qh(L),T.c(),U(T,1),T.m(c,g)):T&&(De(),K(T,1,1,()=>{T=null}),Ve()),L[18]||L[7]&&L[30].length>0?N?(N.p(L,M),M[0]&1074004096&&U(N,1)):(N=Kh(L),N.c(),U(N,1),N.m(c,h)):N&&(De(),K(N,1,1,()=>{N=null}),Ve()),L[0]||L[16]?D?(D.p(L,M),M[0]&65537&&U(D,1)):(D=sg(L),D.c(),U(D,1),D.m(c,_)):D&&(De(),K(D,1,1,()=>{D=null}),Ve()),L[12]?I?(I.p(L,M),M[0]&4096&&U(I,1)):(I=ag(L),I.c(),U(I,1),I.m(c,null)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),(!m||M[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1q5ghii"))&&f(e,"class",p)},i(L){m||(U(l.$$.fragment,L),U(C),U(T),U(N),U(D),U(I),m=!0)},o(L){K(l.$$.fragment,L),K(C),K(T),K(N),K(D),K(I),m=!1},d(L){L&&A(e),v&&v.d(),qe(l),C&&C.d(),T&&T.d(),N&&N.d(),D&&D.d(),I&&I.d()}}}function Hh(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-1q5ghii"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){R(r,e,s),w(e,t),n||(l=ne(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 zh(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 kC({props:y}),$e.push(()=>bt(t,"isSearchFieldVisible",h)),$e.push(()=>bt(t,"searchResult",_)),$e.push(()=>bt(t,"displaySearchResult",p)),$e.push(()=>bt(t,"displayCustomSearchResult",m)),$e.push(()=>bt(t,"inputElem",v)),$e.push(()=>bt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Ge(t.$$.fragment),f(e,"class","lui-global-search")},m(C,T){R(C,e,T),ze(t,e,null),g=!0},p(C,T){const N={};T[0]&262144&&(N.globalSearchConfig=C[18]),!n&&T[0]&1048576&&(n=!0,N.isSearchFieldVisible=C[20],mt(()=>n=!1)),!l&&T[0]&33554432&&(l=!0,N.searchResult=C[25],mt(()=>l=!1)),!r&&T[0]&8388608&&(r=!0,N.displaySearchResult=C[23],mt(()=>r=!1)),!s&&T[0]&16777216&&(s=!0,N.displayCustomSearchResult=C[24],mt(()=>s=!1)),!o&&T[0]&2097152&&(o=!0,N.inputElem=C[21],mt(()=>o=!1)),!c&&T[0]&4194304&&(c=!0,N.luigiCustomSearchRenderer__slot=C[22],mt(()=>c=!1)),t.$set(N)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){K(t.$$.fragment,C),g=!1},d(C){C&&A(e),qe(t)}}}function qh(i){let e,t,n,l,r=i[18]&&!i[19]&&Gh(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 E_({props:o}),$e.push(()=>bt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=G(),Ge(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=Gh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(De(),K(r,1,1,()=>{r=null}),Ve());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],mt(()=>n=!1)),t.$set(h)},i(c){l||(U(r),U(t.$$.fragment,c),l=!0)},o(c){K(r),K(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),qe(t,c)}}}function Gh(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 fC({props:S}),$e.push(()=>bt(e,"isSearchFieldVisible",g)),$e.push(()=>bt(e,"searchResult",h)),$e.push(()=>bt(e,"displaySearchResult",_)),$e.push(()=>bt(e,"displayCustomSearchResult",p)),$e.push(()=>bt(e,"inputElem",m)),$e.push(()=>bt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Ge(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const T={};C[0]&262144&&(T.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,T.isSearchFieldVisible=y[20],mt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,T.searchResult=y[25],mt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,T.displaySearchResult=y[23],mt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,T.displayCustomSearchResult=y[24],mt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,T.inputElem=y[21],mt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,T.luigiCustomSearchRenderer__slot=y[22],mt(()=>o=!1)),e.$set(T)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){K(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function Kh(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])&&Qh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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&&(De(),K(l,1,1,()=>{l=null}),Ve()),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=Qh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(l),U(r),n=!0)},o(s){K(l),K(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]=Yh(Wh(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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]=Yh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(V_);for(let o=0;o<l.length;o+=1)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function jh(i){let e,t,n,l;const r=[AC,LC],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=Ce()},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):(De(),K(s[h],1,1,()=>{s[h]=null}),Ve(),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){K(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function LC(i){let e,t,n,l,r;const s=[EC,RC],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):(De(),K(o[_],1,1,()=>{o[_]=null}),Ve(),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){K(n),r=!1},d(g){g&&A(e),o[t].d()}}}function AC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N,D;function I(O){i[80](O,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Mo({props:L}),$e.push(()=>bt(r,"node",I)),c=new Zn({props:{node:i[111]}});function M(){return i[81](i[113])}return S=new A_({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"),Ge(r.$$.fragment),o=G(),Ge(c.$$.fragment),m=G(),v=k("div"),Ge(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,B){R(O,e,B),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),T=!0,N||(D=[ne(l,"click",M),ne(n,"click",Mt(JC))],N=!0)},p(O,B){i=O;const z={};!s&&B[0]&128&&(s=!0,z.node=i[111],mt(()=>s=!1)),r.$set(z);const ue={};B[0]&128&&(ue.node=i[111]),c.$set(ue),(!T||B[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!T||B[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!T||B[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!T||B[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const X={};B[0]&128&&(X.node=i[111]),B[1]&1&&(X.pathParams=i[31]),B[0]&268435456&&(X.addNavHrefForAnchor=i[28]),S.$set(X),(!T||B[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){T||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),T=!0)},o(O){K(r.$$.fragment,O),K(c.$$.fragment,O),K(S.$$.fragment,O),T=!1},d(O){O&&A(e),qe(r),qe(c),qe(S),N=!1,Ze(D)}}}function RC(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 Mo({props:m}),$e.push(()=>bt(t,"node",p)),r=new Zn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),Ge(t.$$.fragment),l=G(),Ge(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||(_=ne(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],mt(()=>n=!1)),t.$set(C);const T={};y[0]&128&&(T.node=i[111]),r.$set(T),(!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){K(t.$$.fragment,S),K(r.$$.fragment,S),g=!1},d(S){S&&A(e),qe(t),qe(r),h=!1,_()}}}function EC(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 Mo({props:v}),$e.push(()=>bt(t,"node",m)),r=new Zn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),Ge(t.$$.fragment),l=G(),Ge(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=ne(e,"click",S),_=!0)},p(y,C){i=y;const T={};!n&&C[0]&128&&(n=!0,T.node=i[111],mt(()=>n=!1)),t.$set(T);const N={};C[0]&128&&(N.node=i[111]),r.$set(N),(!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){K(t.$$.fragment,y),K(r.$$.fragment,y),h=!1},d(y){y&&A(e),qe(t),qe(r),_=!1,p()}}}function Yh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&jh(i);return{c(){n&&n.c(),e=Ce()},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&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=jh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N,D,I,L,M,O;g=new Zn({props:{node:i[11],special:"true"}});let B=i[18]&&!i[19]&&Zh(i),z=i[46]&&(!i[0]||i[1])&&Xh(i),ue=i[7]&&$h(i),X=i[12]&&ng(i),Q=i[12]&&ig(i),ce=i[14]&&lg(i),ke=(!i[0]||i[1])&&rg(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(),Ge(g.$$.fragment),_=G(),p=k("div"),m=k("nav"),v=k("ul"),B&&B.c(),S=G(),z&&z.c(),y=G(),ue&&ue.c(),C=G(),X&&X.c(),N=G(),Q&&Q.c(),D=G(),ce&&ce.c(),I=G(),ke&&ke.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",T=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1q5ghii"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(H,ae){R(H,e,ae),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),B&&B.m(v,null),w(v,S),z&&z.m(v,null),w(v,y),ue&&ue.m(v,null),w(v,C),X&&X.m(v,null),w(n,N),Q&&Q.m(n,null),w(n,D),ce&&ce.m(n,null),w(n,I),ke&&ke.m(n,null),L=!0,M||(O=[ne(s,"click",i[86]),ne(l,"click",Mt(jC))],M=!0)},p(H,ae){const $={};ae[0]&2048&&($.node=H[11]),g.$set($),(!L||ae[0]&64&&h!==(h=H[6].overflowPopover||!1))&&f(s,"aria-expanded",h),H[18]&&!H[19]?B?B.p(H,ae):(B=Zh(H),B.c(),B.m(v,S)):B&&(B.d(1),B=null),H[46]&&(!H[0]||H[1])?z?z.p(H,ae):(z=Xh(H),z.c(),z.m(v,y)):z&&(z.d(1),z=null),H[7]?ue?(ue.p(H,ae),ae[0]&128&&U(ue,1)):(ue=$h(H),ue.c(),U(ue,1),ue.m(v,C)):ue&&(De(),K(ue,1,1,()=>{ue=null}),Ve()),H[12]?X?X.p(H,ae):(X=ng(H),X.c(),X.m(v,null)):X&&(X.d(1),X=null),(!L||ae[0]&64&&T!==(T=!H[6].overflowPopover))&&f(p,"aria-hidden",T),H[12]?Q?(Q.p(H,ae),ae[0]&4096&&U(Q,1)):(Q=ig(H),Q.c(),U(Q,1),Q.m(n,D)):Q&&(De(),K(Q,1,1,()=>{Q=null}),Ve()),H[14]?ce?(ce.p(H,ae),ae[0]&16384&&U(ce,1)):(ce=lg(H),ce.c(),U(ce,1),ce.m(n,I)):ce&&(De(),K(ce,1,1,()=>{ce=null}),Ve()),!H[0]||H[1]?ke?(ke.p(H,ae),ae[0]&3&&U(ke,1)):(ke=rg(H),ke.c(),U(ke,1),ke.m(n,null)):ke&&(De(),K(ke,1,1,()=>{ke=null}),Ve())},i(H){L||(U(g.$$.fragment,H),U(ue),U(Q),U(ce),U(ke),L=!0)},o(H){K(g.$$.fragment,H),K(ue),K(Q),K(ce),K(ke),L=!1},d(H){H&&A(e),qe(g),B&&B.d(),z&&z.d(),ue&&ue.d(),X&&X.d(),Q&&Q.d(),ce&&ce.d(),ke&&ke.d(),M=!1,Ze(O)}}}function Zh(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-1q5ghii"></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=ne(t,"click",Mt(i[87])),n=!0)},p:Ue,d(r){r&&A(e),n=!1,l()}}}function Xh(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-1q5ghii"),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=ne(t,"click",Mt(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-1q5ghii")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Pe(c,o)},d(_){_&&A(e),g=!1,h()}}}function $h(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=tg(Bh(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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=Bh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=tg(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(V_);for(let o=0;o<l.length;o+=1)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function xh(i){let e,t,n,l;const r=[VC,DC],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=Ce()},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):(De(),K(s[h],1,1,()=>{s[h]=null}),Ve(),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){K(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function DC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(I,L){return L[0]&128&&(l=null),l==null&&(l=!!I[48](I[111])),l?OC:MC}let T=C(i,[-1,-1,-1,-1]),N=T(i);s=new Zn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=G(),Ge(s.$$.fragment),o=G(),c=k("span"),h=ye(g),m=G(),f(n,"class","fd-top-nav__icon svelte-1q5ghii"),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(I,L){R(I,e,L),w(e,t),w(t,n),N.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=ne(t,"click",Lt(D)),S=!0)},p(I,L){i=I,T===(T=C(i,L))&&N?N.p(i,L):(N.d(1),N=T(i),N&&(N.c(),N.m(n,r)));const M={};L[0]&128&&(M.node=i[111]),s.$set(M),(!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(I){v||(U(s.$$.fragment,I),v=!0)},o(I){K(s.$$.fragment,I),v=!1},d(I){I&&A(e),N.d(),qe(s),S=!1,y()}}}function VC(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,T,N=l&&eg(i);s=new Zn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),N&&N.c(),r=G(),Ge(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-1q5ghii"),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(I,L){R(I,e,L),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(T=ne(t,"click",Lt(D)),C=!0)},p(I,L){i=I,L[0]&128&&(l=!i[48](i[111])),l?N?N.p(i,L):(N=eg(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const M={};L[0]&128&&(M.node=i[111]),s.$set(M),(!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-1q5ghii"))&&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(I){y||(U(s.$$.fragment,I),y=!0)},o(I){K(s.$$.fragment,I),y=!1},d(I){I&&A(e),N&&N.d(),qe(s),C=!1,T()}}}function MC(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1q5ghii")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!lt(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 OC(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-1q5ghii")},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-1q5ghii")&&f(e,"class",t)},d(n){n&&A(e)}}}function eg(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1q5ghii")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!lt(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 tg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&xh(i);return{c(){n&&n.c(),e=Ce()},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&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=xh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ng(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?UC:FC}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=ne(t,"click",Mt(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 FC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1q5ghii"),f(e,"class","fd-top-nav__icon sap-icon svelte-1q5ghii")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(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 UC(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-1q5ghii")},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-1q5ghii")&&f(e,"class",t)},d(n){n&&A(e)}}}function ig(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 D_({props:r}),$e.push(()=>bt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ge(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],mt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){K(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function lg(i){let e,t;return e=new A_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function rg(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 E_({props:g}),$e.push(()=>bt(e,"dropDownStates",s)),$e.push(()=>bt(e,"selectedLabel",o)),$e.push(()=>bt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){Ge(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],mt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],mt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],mt(()=>l=!1)),e.$set(p)},i(h){r||(U(e.$$.fragment,h),r=!0)},o(h){K(e.$$.fragment,h),r=!1},d(h){qe(e,h)}}}function sg(i){let e,t,n,l,r;const s=[WC,BC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ee.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):(De(),K(o[_],1,1,()=>{o[_]=null}),Ve(),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){K(l),r=!1},d(g){g&&A(e),o[n].d()}}}function BC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(N,D){return N[17].picture?zC:HC}let C=y(i),T=C(i);return _=new T_({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"),T.c(),g=G(),h=k("div"),Ge(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1q5ghii"),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-1q5ghii")},m(N,D){R(N,e,D),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[ne(r,"click",i[99]),ne(n,"click",Mt(QC))],v=!0)},p(N,D){C===(C=y(N))&&T?T.p(N,D):(T.d(1),T=C(N),T&&(T.c(),T.m(r,null))),(!m||D[0]&64&&s!==(s=N[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const I={};D[0]&268435456&&(I.addNavHrefForAnchor=N[28]),_.$set(I),(!m||D[0]&64&&p!==(p=!N[6].profilePopover))&&f(h,"aria-hidden",p)},i(N){m||(U(_.$$.fragment,N),m=!0)},o(N){K(_.$$.fragment,N),m=!1},d(N){N&&A(e),T.d(),qe(_),v=!1,Ze(S)}}}function WC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?GC:qC}let _=h(i),p=_(i);return r=new ek({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"),Ge(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-1q5ghii")},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=ne(t,"click",Mt(YC)),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){K(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),qe(r),c=!1,g()}}}function HC(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 zC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1q5ghii"),li(e,"background-image","url('"+i[17].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&131072&&li(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function qC(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-1q5ghii"),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=ne(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 GC(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-1q5ghii"),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"),li(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){R(r,e,s),n||(l=ne(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&&li(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function ag(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 D_({props:r}),$e.push(()=>bt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ge(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],mt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){K(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function KC(i){let e,t,n,l,r,s;const o=[TC,IC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(h,_){c[e].m(h,_),R(h,n,_),l=!0,r||(s=[ne(Uh,"click",i[41]),ne(Uh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(De(),K(c[p],1,1,()=>{c[p]=null}),Ve(),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){K(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Ze(s)}}}const JC=()=>{},jC=()=>{},YC=()=>{},QC=()=>{};function ZC(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:T}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:I}=e,{openMobileDropDown:L}=e,{nodeForMobile:M}=e,{profileItemsAvailable:O}=e,{userInfo:B={}}=e,{urlAuthError:z}=e,{globalSearchConfig:ue}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:Q}=e,{inputElem:ce}=e,{luigiCustomSearchRenderer__slot:ke}=e,{displaySearchResult:H}=e,{displayCustomSearchResult:ae}=e,{searchResult:$}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:le}=e,we=vt("store"),fe=!1,Ne,x,_e=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:me=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ie=async()=>{if(_&&0<_.length){const j=await Te.generateTopNavNodes(_);t(7,S=j.children),t(8,y=j.selectedNode),t(9,C=j.visibleNodeCount),t(11,N=j.totalBadgeNode),t(10,T=j.globalNavNodeCount),window.TOPNAVDATA=j.children,p=_}},Ee=()=>{t(1,s=ll.isLoggedIn())};Jt(()=>{Mn.doOnStoreChange(we,()=>{t(0,l=hi.isAuthorizationEnabled()),t(16,O=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,D=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,c=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,le=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,I=Te.getProductSwitcherConfig()),t(18,ue=re.getConfigValue("globalSearch")),t(19,X=ue&&ue.searchFieldCentered&&ee.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&ee.requestExperimentalFeature("globalNav",!0)),t(28,me=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,_e=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),Cn.addEventListener("message",j=>{j.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),Vn(()=>{(!p||p!=_)&&ie(),Ee()});let{showTopNav:Le}=e;function pe(j){return Te.renderIconClassName(j)}function et(j){return Te.isOpenUIiconName(j.icon)}function Ot(j){return dt.getTranslation(j.label)}function jt(j){return j.testId?j.testId:Te.prepareForTests(j.pathSegment,j.label)}function Et(j){return be.getNodeHref(j,m)}function On(j,It){return Te.generateTooltipText(j,It)}function Oi(){ct("productSwitcherPopover")}function zt(){t(43,fe=!fe),ct("contextSwitcherPopover")}function mi(j){t(14,L=!0),t(15,M=j)}function Fi(){t(14,L=!1)}function xt(j){n("handleClick",{node:j})}function Yt(j){n("handleSearchNavigation",{node:j})}function Xn(j){xt(j.detail.node)}function ct(j){const It=v||{},Pn=!It[j];rn(),Fi(),It[j]=Pn,t(6,v=It)}function dn(j){ct(j.detail.name)}function $n(){ce&&ce.focus()}function ln(){Q||setTimeout(()=>{$n()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:ce,luigiCustomSearchRenderer__slot:ke})}function rn(){const j=v||{},It=Object.keys(j);It&&It.length>0&&It.forEach(Pn=>{j[Pn]=!1,t(6,v=j)})}function Fn(){c==="simple"||c==="simpleMobileOnly"?sn():te(),bi()}function bi(){if(!Te.getBurgerTooltipConfig())return;const[j,It]=Te.getBurgerTooltipConfig();j&&It&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,J=document.body.classList.contains("lui-leftNavToggle")?j:It),document.body.classList.contains("lui-semiCollapsible")&&t(26,J=document.body.classList.contains("semiCollapsed")?j:It))}function sn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function te(){ci.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Me(j){const It=j.detail;t(17,B=It||{})}function ht(j){v=j,t(6,v)}function Ct(j){Q=j,t(20,Q)}function yt(j){$=j,t(25,$)}function wt(j){H=j,t(23,H)}function on(j){ae=j,t(24,ae)}function yn(j){ce=j,t(21,ce)}function ri(j){ke=j,t(22,ke)}function Ui(j){Ll.call(this,i,j)}function ol(j){Ll.call(this,i,j)}function vi(j){Ll.call(this,i,j)}function fr(j){Q=j,t(20,Q)}function cr(j){$=j,t(25,$)}function dr(j){H=j,t(23,H)}function hr(j){ae=j,t(24,ae)}function El(j){ce=j,t(21,ce)}function gr(j){ke=j,t(22,ke)}function _r(j){Ll.call(this,i,j)}function pr(j){Ll.call(this,i,j)}function wi(j){Ll.call(this,i,j)}function Bi(j){v=j,t(6,v)}const Si=()=>ct("contextSwitcherPopover");function Wi(j,It,Pn,Un){Pn[Un]=j,t(7,S)}const Dl=j=>ct(`dropDownPopover-${j}`);function Vl(j,It,Pn,Un){Pn[Un]=j,t(7,S)}const Ml=(j,It)=>{Te.handleNavAnchorClickedWithoutMetaKey(It)&&xt(j)};function mr(j,It,Pn,Un){Pn[Un]=j,t(7,S)}const mn=j=>xt(j),ul=()=>ct("overflowPopover"),fl=()=>{ln(),ct("overflowPopover")},cl=j=>xt(j),br=j=>mi(j);function Hi(j){v=j,t(6,v)}const dl=()=>ct("productSwitcherPopover");function hl(j){v=j,t(6,v)}function gl(j){Ne=j,t(44,Ne)}function Ol(j){x=j,t(45,x)}const ki=()=>ct("contextSwitcherPopover"),vr=()=>ct("profilePopover"),gt=()=>ct("profilePopover"),_l=()=>ct("profilePopover"),pl=()=>ct("profilePopover"),Fl=()=>ct("profilePopover");function ml(j){v=j,t(6,v)}const si=()=>ct("productSwitcherPopover"),Ft=()=>ct("profilePopover");return i.$$set=j=>{"authorizationEnabled"in j&&t(0,l=j.authorizationEnabled),"autologinEnabled"in j&&t(54,r=j.autologinEnabled),"isLoggedIn"in j&&t(1,s=j.isLoggedIn),"hideNavComponent"in j&&t(2,o=j.hideNavComponent),"responsiveNavSetting"in j&&t(3,c=j.responsiveNavSetting),"profileTypeSettings"in j&&t(4,g=j.profileTypeSettings),"showGlobalNav"in j&&t(5,h=j.showGlobalNav),"pathData"in j&&t(30,_=j.pathData),"pathParams"in j&&t(31,m=j.pathParams),"dropDownStates"in j&&t(6,v=j.dropDownStates),"children"in j&&t(7,S=j.children),"selectedNode"in j&&t(8,y=j.selectedNode),"visibleNodeCount"in j&&t(9,C=j.visibleNodeCount),"globalNavNodeCount"in j&&t(10,T=j.globalNavNodeCount),"totalBadgeNode"in j&&t(11,N=j.totalBadgeNode),"isProductSwitcherAvailable"in j&&t(12,D=j.isProductSwitcherAvailable),"productSwitcherConfig"in j&&t(13,I=j.productSwitcherConfig),"openMobileDropDown"in j&&t(14,L=j.openMobileDropDown),"nodeForMobile"in j&&t(15,M=j.nodeForMobile),"profileItemsAvailable"in j&&t(16,O=j.profileItemsAvailable),"userInfo"in j&&t(17,B=j.userInfo),"urlAuthError"in j&&t(55,z=j.urlAuthError),"globalSearchConfig"in j&&t(18,ue=j.globalSearchConfig),"isGlobalSearchCentered"in j&&t(19,X=j.isGlobalSearchCentered),"isSearchFieldVisible"in j&&t(20,Q=j.isSearchFieldVisible),"inputElem"in j&&t(21,ce=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(22,ke=j.luigiCustomSearchRenderer__slot),"displaySearchResult"in j&&t(23,H=j.displaySearchResult),"displayCustomSearchResult"in j&&t(24,ae=j.displayCustomSearchResult),"searchResult"in j&&t(25,$=j.searchResult),"burgerTooltip"in j&&t(26,J=j.burgerTooltip),"responsiveShellbarPadding"in j&&t(27,le=j.responsiveShellbarPadding),"addNavHrefForAnchor"in j&&t(28,me=j.addNavHrefForAnchor),"showTopNav"in j&&t(29,Le=j.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Le=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,T,N,D,I,L,M,O,B,ue,X,Q,ce,ke,H,ae,$,J,le,me,Le,_,m,Oi,zt,mi,Fi,xt,Xn,ct,dn,ln,rn,Me,fe,Ne,x,_e,pe,et,Ot,jt,Et,On,Fn,r,z,Yt,sn,te,ht,Ct,yt,wt,on,yn,ri,Ui,ol,vi,fr,cr,dr,hr,El,gr,_r,pr,wi,Bi,Si,Wi,Dl,Vl,Ml,mr,mn,ul,fl,cl,br,Hi,dl,hl,gl,Ol,ki,vr,gt,_l,pl,Fl,ml,si,Ft]}class XC extends Rt{constructor(e){super(),At(this,e,ZC,KC,Nt,{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]}}const{window:yo}=Mi;function og(i,e,t){const n=i.slice();return n[34]=e[t][0],n[35]=e[t][1],n[37]=t,n}function ug(i,e,t){const n=i.slice();return n[38]=e[t],n}function fg(i,e,t){const n=i.slice();return n[38]=e[t],n[40]=t,n}function cg(i,e,t){const n=i.slice();return n[34]=e[t][0],n[35]=e[t][1],n[37]=t,n}function dg(i,e,t){const n=i.slice();return n[38]=e[t],n}function hg(i,e,t){const n=i.slice();return n[38]=e[t],n[40]=t,n}function gg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S=Object.entries(i[0]),y=[];for(let N=0;N<S.length;N+=1)y[N]=Sg(cg(i,S,N));let C=Object.entries(i[0]),T=[];for(let N=0;N<C.length;N+=1)T[N]=yg(og(i,C,N));return{c(){e=k("nav"),t=k("div"),n=k("div");for(let N=0;N<y.length;N+=1)y[N].c();l=G(),r=k("div"),s=k("span"),o=k("div"),c=k("a"),c.innerHTML=`<span class="label fd-tabs__tag svelte-1kb8g8n">More</span>
|
|
61
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1kb8g8n"></span>`,g=G(),h=k("div"),_=k("ul");for(let N=0;N<T.length;N+=1)T[N].c();f(n,"class","tabsContainer luigi-tabsContainer svelte-1kb8g8n"),f(t,"class","tabsContainerWrapper svelte-1kb8g8n"),f(c,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1kb8g8n"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(_,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1kb8g8n"),f(h,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1kb8g8n"),f(h,"aria-hidden",p=!i[4]),f(o,"class","fd-popover fd-popover--right"),f(s,"class","fd-tabs__item svelte-1kb8g8n"),f(r,"class","luigi-tabsMoreButton svelte-1kb8g8n"),f(e,"class","fd-tabs fd-tabs--l svelte-1kb8g8n"),f(e,"role","tablist"),f(e,"id","tabsContainer")},m(N,D){R(N,e,D),w(e,t),w(t,n);for(let I=0;I<y.length;I+=1)y[I].m(n,null);w(e,l),w(e,r),w(r,s),w(s,o),w(o,c),w(o,g),w(o,h),w(h,_);for(let I=0;I<T.length;I+=1)T[I].m(_,null);m||(v=[ne(c,"click",Lt(i[10])),ne(s,"click",ly),ne(e,"toggleDropdownState",i[24])],m=!0)},p(N,D){if(D[0]&10477){S=Object.entries(N[0]);let I;for(I=0;I<S.length;I+=1){const L=cg(N,S,I);y[I]?y[I].p(L,D):(y[I]=Sg(L),y[I].c(),y[I].m(n,null))}for(;I<y.length;I+=1)y[I].d(1);y.length=S.length}if(D[0]&10477){C=Object.entries(N[0]);let I;for(I=0;I<C.length;I+=1){const L=og(N,C,I);T[I]?T[I].p(L,D):(T[I]=yg(L),T[I].c(),T[I].m(_,null))}for(;I<T.length;I+=1)T[I].d(1);T.length=C.length}D[0]&16&&p!==(p=!N[4])&&f(h,"aria-hidden",p)},d(N){N&&A(e),ft(y,N),ft(T,N),m=!1,Ze(v)}}}function $C(i){let e,t,n,l,r,s=i[11](i[34])+"",o,c,g,h,_,p,m,v,S,y,C,T,N;function D(){return i[18](i[34])}let I=i[35],L=[];for(let M=0;M<I.length;M+=1)L[M]=mg(dg(i,I,M));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 M=0;M<L.length;M+=1)L[M].c();y=G(),f(r,"class","label fd-tabs__tag svelte-1kb8g8n"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1kb8g8n"),f(l,"class","fd-tabs__link has-child svelte-1kb8g8n"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=ir(i[34],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[34]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1kb8g8n"),f(e,"uid",i[37]+"-0"),f(e,"isselected",C=ir(i[34],i[2]))},m(M,O){R(M,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 B=0;B<L.length;B+=1)L[B].m(v,null);w(e,y),T||(N=[ne(l,"click",Lt(D)),ne(e,"click",iy)],T=!0)},p(M,O){if(i=M,O[0]&2049&&s!==(s=i[11](i[34])+"")&&Pe(o,s),O[0]&5&&h!==(h=ir(i[34],i[2]))&&f(l,"aria-selected",h),O[0]&10309){I=i[35];let B;for(B=0;B<I.length;B+=1){const z=dg(i,I,B);L[B]?L[B].p(z,O):(L[B]=mg(z),L[B].c(),L[B].m(v,null))}for(;B<L.length;B+=1)L[B].d(1);L.length=I.length}O[0]&9&&S!==(S=!i[3][i[34]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=ir(i[34],i[2]))&&f(e,"isselected",C)},d(M){M&&A(e),ft(L,M),T=!1,Ze(N)}}}function xC(i){let e,t=i[35],n=[];for(let l=0;l<t.length;l+=1)n[l]=wg(hg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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]&10309){t=l[35];let s;for(s=0;s<t.length;s+=1){const o=hg(l,t,s);n[s]?n[s].p(o,r):(n[s]=wg(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 _g(i){let e,t=i[38].label&&pg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].label?t?t.p(n,l):(t=pg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function pg(i){let e,t,n,l=i[11](i[38].label)+"",r,s,o,c,g,h;function _(){return i[19](i[38])}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[13](i[38])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[38]===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=ne(t,"click",Lt(_)),g=!0)},p(p,m){i=p,m[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),m[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),m[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function mg(i){let e,t=!i[38].hideFromNav&&_g(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=_g(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function bg(i){let e,t=i[38].label&&vg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].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[11](i[38].label)+"",r,s,o,c,g,h,_,p;function m(){return i[17](i[38])}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[13](i[38])),f(t,"role","tab"),f(t,"aria-selected",o=i[38]===i[2]),f(e,"class",g="fd-tabs__item "+(i[38]===i[2]?"is-selected":"")+" svelte-1kb8g8n"),f(e,"uid",i[37]+"-"+i[40]),f(e,"isselected",h=i[38]===i[2])},m(v,S){R(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=ne(t,"click",Lt(m)),_=!0)},p(v,S){i=v,S[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),S[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),S[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[38]===i[2]?"is-selected":"")+" svelte-1kb8g8n")&&f(e,"class",g),S[0]&5&&h!==(h=i[38]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function wg(i){let e,t=!i[38].hideFromNav&&bg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].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;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[34]==="undefined"||s[34].indexOf(s[5])===0),e?xC:$C}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ey(i){let e,t,n,l,r=i[11](i[34])+"",s,o,c,g,h,_,p,m,v,S,y,C,T,N;function D(){return i[21](i[34],i[37])}function I(){return i[22](i[34],i[37])}let L=i[35],M=[];for(let O=0;O<L.length;O+=1)M[O]=kg(ug(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<M.length;O+=1)M[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[37]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[34]+i[37]]),f(n,"aria-selected",c=ir(i[34],i[2])),f(_,"class",p=i[3][i[34]+i[37]]?"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[34]+i[37]]),f(t,"class","fd-nested-list__content has-child svelte-1kb8g8n"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[34]+i[37]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[37]+"-0")},m(O,B){R(O,e,B),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 z=0;z<M.length;z+=1)M[z].m(S,null);w(e,C),T||(N=[ne(n,"click",Lt(D)),ne(h,"click",Lt(I))],T=!0)},p(O,B){if(i=O,B[0]&2049&&r!==(r=i[11](i[34])+"")&&Pe(s,r),B[0]&9&&o!==(o=i[3][i[34]+i[37]])&&f(n,"aria-expanded",o),B[0]&5&&c!==(c=ir(i[34],i[2]))&&f(n,"aria-selected",c),B[0]&9&&p!==(p=i[3][i[34]+i[37]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),B[0]&9&&m!==(m=i[3][i[34]+i[37]])&&f(h,"aria-expanded",m),B[0]&10309){L=i[35];let z;for(z=0;z<L.length;z+=1){const ue=ug(i,L,z);M[z]?M[z].p(ue,B):(M[z]=kg(ue),M[z].c(),M[z].m(S,null))}for(;z<M.length;z+=1)M[z].d(1);M.length=L.length}B[0]&9&&y!==(y=!i[3][i[34]+i[37]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ft(M,O),T=!1,Ze(N)}}}function ty(i){let e,t=i[35],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cg(fg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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]&10309){t=l[35];let s;for(s=0;s<t.length;s+=1){const o=fg(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 kg(i){let e,t,n,l=i[11](i[38].label)+"",r,s,o,c,g,h;function _(){return i[23](i[38])}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[13](i[38])),f(t,"aria-selected",o=i[38]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[37])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",Lt(_)),g=!0)},p(p,m){i=p,m[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),m[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),m[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Cg(i){let e,t,n,l=i[11](i[38].label)+"",r,s,o,c,g,h;function _(){return i[20](i[38])}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[13](i[38])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[38]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[37]+"-"+i[40])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",Lt(_)),g=!0)},p(p,m){i=p,m[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),m[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),m[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function yg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[34]==="undefined"||s[34].indexOf(s[5])===0),e?ty:ey}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ny(i){let e,t,n,l=i[0]&&i[1].length>1&&gg(i);return{c(){l&&l.c(),e=Ce()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[ne(yo,"click",i[8]),ne(yo,"blur",i[8]),ne(yo,"resize",i[9])],t=!0)},p(r,s){r[0]&&r[1].length>1?l?l.p(r,s):(l=gg(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function ir(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const iy=i=>i.stopPropagation(),ly=i=>i.stopPropagation();function ry(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=Te.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=vt("getTranslation");pi(i,y,le=>t(11,n=le));const C={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:le=>{le&&Object.getOwnPropertyNames(le).forEach(we=>{we==="pathData"?t(1,r=le.pathData):we==="context"?context=le.context:we==="children"?t(0,l=le.children):we==="selectedNode"?h=le.selectedNode:we==="selectedNodeForTabNav"&&t(2,_=le.selectedNodeForTabNav)})}},T=Wt(),N=async()=>{const le=C.get(),we=await Vt.getTabNavData({...le},le);!we||(C.set({...we}),o=r,window.LEFTNAVDATA=we.groupedChildren,setTimeout(D))},D=()=>{I();let le=document.getElementsByClassName("luigi-tabsContainer")[0],we=document.getElementsByClassName("luigi-tabsMoreButton")[0],fe=document.getElementsByClassName("luigi__more")[0],Ne,x=0,_e=!1,me,ie;fe&&fe.setAttribute("aria-selected","false"),le&&(Ne=le.offsetWidth,[...le.children].forEach(Le=>{me=Le.currentStyle||window.getComputedStyle(Le),ie=parseFloat(me.marginLeft)+parseFloat(me.marginRight),x+=Le.offsetWidth+ie;let pe=Le.getAttribute("uid");x>=Ne?(Le.classList.add("hide_element"),Le.getAttribute("isSelected")==="true"&&fe.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+pe+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+pe+'"]').classList.add("hide_element")}),_e?we.classList.remove("hide_element"):we.classList.add("hide_element"))},I=()=>{let le=document.getElementsByClassName("luigi-tabsContainer")[0];le!==void 0&&[...le.children].forEach(fe=>{fe.classList.remove("hide_element")})};Jt(()=>{t(14,c=re.getConfigBooleanValue("settings.hideNavigation"))}),Vn(()=>{(!o||o!=r)&&N(),(S===void 0||S!==v)&&(S=v,N())});function L(le){return be.getNodeHref(le,s)}function M(le){B(),T("handleClick",{node:le})}function O(le){let we={};p[le]||(we[le]=!0),t(3,p=we)}function B(){t(3,p={}),t(4,m=!1)}function z(){I(),D()}function ue(){t(4,m=!m)}const X=le=>M(le),Q=le=>O(le),ce=le=>M(le),ke=le=>M(le),H=(le,we)=>O(le+we),ae=(le,we)=>O(le+we),$=le=>M(le),J=le=>O(le.name);return i.$$set=le=>{"children"in le&&t(0,l=le.children),"pathData"in le&&t(1,r=le.pathData),"pathParams"in le&&t(15,s=le.pathParams),"hideNavComponent"in le&&t(14,c=le.hideNavComponent),"virtualGroupPrefix"in le&&t(5,g=le.virtualGroupPrefix),"selectedNodeForTabNav"in le&&t(2,_=le.selectedNodeForTabNav),"dropDownStates"in le&&t(3,p=le.dropDownStates),"isMoreBtnExpanded"in le&&t(4,m=le.isMoreBtnExpanded),"resizeTabNavToggle"in le&&t(16,v=le.resizeTabNavToggle)},[l,r,_,p,m,g,M,O,B,z,ue,n,y,L,c,s,v,X,Q,ce,ke,H,ae,$,J]}class sy extends Rt{constructor(e){super(),At(this,e,ry,ny,Nt,{children:0,pathData:1,pathParams:15,hideNavComponent:14,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:16,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 Pg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ng(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ig(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Tg(i),o=i[0]&&i[3].length>0&&Eg(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=Tg(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=Eg(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 Tg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Rg(Ng(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=Ng(l,t,s);n[s]?n[s].p(o,r):(n[s]=Rg(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 Lg(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&&Ag(i);function T(...N){return i[18](i[24],...N)}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(N,D){R(N,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=ne(t,"click",T),S=!0)},p(N,D){i=N,i[24].icon?C?C.p(i,D):(C=Ag(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(N){N&&A(e),C&&C.d(),S=!1,y()}}}function Ag(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?oy:ay}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(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&&!lt(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 oy(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 Rg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Lg(i);return{c(){t&&t.c(),e=Ce()},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=Lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Eg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Mg(Pg(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=Pg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Mg(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 Dg(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&&Vg(i);function T(){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(N,D){R(N,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=ne(n,"click",Lt(T)),S=!0)},p(N,D){i=N,i[24].icon?C?C.p(i,D):(C=Vg(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(N){N&&A(e),C&&C.d(),S=!1,y()}}}function Vg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?fy:uy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(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&&!lt(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 fy(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 Mg(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Dg(i);return{c(){t&&t.c(),e=Ce()},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=Dg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function cy(i){let e,t,n,l=i[2]&&Ig(i);return{c(){l&&l.c(),e=Ce()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[ne(window,"click",da),ne(window,"blur",da)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Ig(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function da(){}function dy(i,e,t){let n;const l=Wt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=vt("store"),_=vt("getTranslation");pi(i,_,z=>t(7,n=z));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=re.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const z=await Te.generateTopNavNodes(r);t(0,c=z.children),t(1,g=z.selectedNode),s=r}};Jt(()=>{Mn.doOnStoreChange(h,()=>{t(14,m=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&ee.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Vn(()=>{(!s||s!=r)&&y(),t(6,S=re.getConfigBooleanValue("navigation.addNavHrefs"))});function C(z){return Te.renderIconClassName(z)}function T(z){return Te.isOpenUIiconName(z.icon)}function N(z){return dt.getTranslation(z.label)}function D(z){return z.testId?z.testId:Te.prepareForTests(z.pathSegment,z.label)}function I(z){return be.getNodeHref(z,o)}function L(z){l("handleClick",{node:z})}function M(z){L(z.detail.node)}const O=(z,ue)=>{Te.handleNavAnchorClickedWithoutMetaKey(ue)&&L(z)},B=z=>L(z);return i.$$set=z=>{"pathData"in z&&t(3,r=z.pathData),"pathParams"in z&&t(16,o=z.pathParams),"children"in z&&t(0,c=z.children),"selectedNode"in z&&t(1,g=z.selectedNode),"showGlobalNav"in z&&t(2,p=z.showGlobalNav),"hideNavComponent"in z&&t(14,m=z.hideNavComponent),"responsiveNavSetting"in z&&t(15,v=z.responsiveNavSetting)},[c,g,p,r,L,da,S,n,_,C,T,N,D,I,m,v,o,M,O,B]}class hy extends Rt{constructor(e){super(),At(this,e,dy,cy,Nt,{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 da}}function gy(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:Ue,i:Ue,o:Ue,d(t){t&&A(e),i[6](null)}}}function _y(i,e,t){const n=Wt();let{pathData:l}=e,r,s={},o,c=vt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};Jt(()=>{Mn.doOnStoreChange(c,()=>{},["navigation"])}),Vn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(T=>{T.showBreadcrumbs===!1?t(1,g=!1):T.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let T=[];const N=C.omitRoot?2:1,D=nt.getCurrentPath();for(let I=N;I<l.length;I++){const L=l[I],M=be.mapPathToNode(D,L);if(s[M])T.push(s[M]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)T.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?dt.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:M,pending:!0});else{const O=await v(L);O&&T.push({label:O,node:L,route:M})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,T,m),T=[];for(let I=N;I<l.length;I++){const L=l[I],M=be.mapPathToNode(D,L);if(L.titleResolver){const B=await Vt.extractDataFromPath(M),z=be.substituteDynamicParamsInObject(Object.assign({},B.pathData.context,L.context),B.pathData.pathParams);try{const ue=await Te.fetchNodeTitleData(L,z);T.push({label:ue.label,node:L,route:M});continue}catch{}}const O=await v(L);O&&T.push({label:O,node:L,route:M})}D===nt.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),T.length>1?(T[T.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,T,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},T.map(I=>{s[I.route]=I}))}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 T=be.mapPathToNode(nt.getCurrentPath(),C),N=await Vt.extractDataFromPath(T);return be.getDynamicNodeValue(C,N.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 py extends Rt{constructor(e){super(),At(this,e,_y,gy,Nt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";Cn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),To="disabled"):i.data==="luigi.tpcEnabled"&&(To="enabled")},!1);function my(){return To}const{Boolean:by,window:vy}=Mi;function Og(i,e,t){const n=i.slice();return n[143]=e[t],n[145]=t,n}function Fg(i){let e,t;return e=new N2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Ug(i){let e,t;function n(){return i[68](i[145])}function l(...s){return i[69](i[145],...s)}function r(...s){return i[70](i[145],...s)}return e=new N_({props:{settings:i[143].mfModal.settings,nodepath:i[143].mfModal.nodepath,modalIndex:i[145],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ge(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[143].mfModal.settings),o[0]&268435456&&(c.nodepath=i[143].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){K(e.$$.fragment,s),t=!1},d(s){qe(e,s)}}}function Bg(i){let e,t,n=i[143].mfModal.displayed&&Ug(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[143].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&U(n,1)):(n=Ug(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Wg(i){let e,t;return e=new N_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[wy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ge(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]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function wy(i){let e,t;return e=new Xr({props:{area:"drawer",disable:i[13]}}),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Hg(i){let e,t;return e=new R2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function zg(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 Y2({props:r}),$e.push(()=>bt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ge(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],mt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){K(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function qg(i){let e,t;return e=new eS({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(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Sy(i){let e,t,n,l,r,s,o,c,g;t=new Xr({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&qg(i);return{c(){e=k("div"),Ge(t.$$.fragment),n=G(),l=k("div"),r=G(),h&&h.c(),s=Ce(),f(l,"class","wcContainer svelte-1tqo7n8"),f(e,"class","fd-page iframeContainer svelte-1tqo7n8"),f(e,"tabindex","0"),di(e,"lui-split-view",i[12].displayed),di(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=pw(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&di(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&di(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=qg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(De(),K(h,1,1,()=>{h=null}),Ve())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){K(t.$$.fragment,_),K(h),o=!1},d(_){_&&A(e),qe(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function Gg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1tqo7n8" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1tqo7n8"></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 uh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=fh(ih(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=fh(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 vk(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function wk(i){let e,t,n,l,r;function s(h,_){return h[2]?kk:Sk}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=ne(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 Sk(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=ne(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 kk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new ur(!1),n=Ce(),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 Ck(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function fh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ck,then:wk,catch:vk,value:26};return la(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Ce(),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))&&la(t,n)||h_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function ch(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=hh(nh(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=nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=hh(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 dh(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=[ne(t,"click",i[18]),ne(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,Ze(h)}}}function hh(i){let e,t=i[21].position==="bottom"&&dh(i);return{c(){t&&t.c(),e=Ce()},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=dh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function yk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&rh(i),c=i[3]&&i[3].length===0&&i[11]&&oh(),g=i[3]&&i[3].length&&uh(i),h=i[0]&&i[0].length&&ch(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=rh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=oh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=uh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ch(_),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:Ue,o:Ue,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Pk=()=>{};function Nk(i,e,t){let n,l=Ue,r=()=>(l(),l=Ao(y,z=>t(14,n=z)),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 T=Wt();function N(z){T("onActionClick",{node:z})}function D(z,ue){T("goToOption",{option:z,selectedOption:ue})}const I=z=>N(z),L=z=>{Te.handleNavAnchorClickedWithoutMetaKey(z)},M=z=>D(z,_),O=z=>{Te.handleNavAnchorClickedWithoutMetaKey(z)},B=z=>N(z);return i.$$set=z=>{"actions"in z&&t(0,s=z.actions),"config"in z&&t(1,o=z.config),"customOptionsRenderer"in z&&t(2,c=z.customOptionsRenderer),"options"in z&&t(3,g=z.options),"selectedLabel"in z&&t(4,h=z.selectedLabel),"selectedOption"in z&&t(5,_=z.selectedOption),"isMobile"in z&&t(6,p=z.isMobile),"getNodeName"in z&&t(7,m=z.getNodeName),"getRouteLink"in z&&t(8,v=z.getRouteLink),"getTestId"in z&&t(9,S=z.getTestId),"getTranslation"in z&&r(t(10,y=z.getTranslation)),"isContextSwitcherDropdownShown"in z&&t(11,C=z.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,N,D,n,I,L,M,O,B]}class R_ extends Rt{constructor(e){super(),At(this,e,Nk,yk,Nt,{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 gh(i){let e,t,n,l=!i[9]&&_h(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&ph(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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&&(De(),K(l,1,1,()=>{l=null}),Ve()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=_h(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=ph(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(l),U(r),n=!0)},o(s){K(l),K(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function _h(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Tk:Ik}let p=_(i),m=p(i);return s=new R_({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"),Ge(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=ne(n,"click",Mt(Uk)),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){K(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),qe(s),g=!1,h()}}}function Ik(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Ak:Lk}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=ne(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 Tk(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("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=ne(e,"click",Lt(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 Lk(i){let e,t;function n(s,o){return s[4]?Rk:Ek}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 Ak(i){let e,t=i[7](i[2])+"",n;return{c(){e=new ur(!1),n=Ce(),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 Rk(i){let e;return{c(){e=ye(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 Ek(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)+"")&&Pe(t,e)},d(n){n&&A(t)}}}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 ur(!1),n=Ce(),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&&Pe(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)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N=!i[4]&&mh(i),D=i[4]&&bh(i);return h=new R_({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"),N&&N.c(),o=G(),D&&D.c(),c=G(),g=k("div"),Ge(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(I,L){R(I,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),N&&N.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||(T=[ne(S,"click",i[12]),ne(e,"click",Mt(Bk))],C=!0)},p(I,L){I[4]?N&&(N.d(1),N=null):N?N.p(I,L):(N=mh(I),N.c(),N.m(s,o)),I[4]?D?D.p(I,L):(D=bh(I),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const M={};L[0]&1&&(M.actions=I[0]),L[0]&32&&(M.config=I[5]),L[0]&64&&(M.customOptionsRenderer=I[6]),L[0]&2&&(M.options=I[1]),L[0]&16&&(M.selectedLabel=I[4]),L[0]&4&&(M.selectedOption=I[2]),L[0]&512&&(M.isMobile=I[9]),L[0]&16384&&(M.isContextSwitcherDropdownShown=I[14]),h.$set(M)},i(I){y||(U(h.$$.fragment,I),y=!0)},o(I){K(h.$$.fragment,I),y=!1},d(I){I&&A(e),N&&N.d(),D&&D.d(),qe(h),C=!1,Ze(T)}}}function mh(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)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function bh(i){let e;return{c(){e=ye(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 Fk(i){let e,t,n=i[3]&&gh(i);return{c(){n&&n.c(),e=Ce()},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=gh(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const Uk=()=>{},Bk=()=>{};function Wk(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:T}=e,{contextSwitcherToggle:N=!1}=e,{defaultLabel:D}=e,I,L=vt("getUnsavedChangesModalPromise"),M=vt("store"),O=vt("getTranslation");pi(i,O,x=>t(16,l=x));let B=!1,z,ue,X;Jt(async()=>{Mn.doOnStoreChange(M,async()=>{const x=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!x),!!s&&(t(6,y=te.isFunction(x.customOptionsRenderer)?x.customOptionsRenderer:void 0),t(7,C=te.isFunction(x.customSelectedOptionRenderer)?x.customSelectedOptionRenderer:void 0),t(5,g=x),t(1,_=void 0),x)){t(29,p=x.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const _e=nt.getCurrentPath();t(22,v=x.fallbackLabelResolver),cn.resetFallbackLabelCache(),x.lazyloadOptions||await H(),cn.isContextSwitcherDetailsView(_e,x.parentNodePath)&&await ae(_e)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(x=>ae(x)),Cn.addEventListener("message",x=>{!Ie.getValidMessageSource(x)||x.data&&x.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),H())}),t(23,D=g.defaultLabel)}),Vn(()=>{B!==N&&(B=N,H()),t(14,X=o.contextSwitcherPopover||!1)});function Q(x,_e,me){return x?Promise.resolve(x):cn.getFallbackLabel(_e,me)}function ce(x){return x.testId?x.testId:Te.prepareForTests(x.pathSegment,x.label)}function ke(x){return be.getNodeHref(x,S)}async function H(){t(1,_=await cn.fetchOptions(_));const x=g||{},_e=x.parentNodePath,me=x.fallbackLabelResolver,ie=nt.getCurrentPath();t(2,m=await cn.getSelectedOption(ie,_,_e)),t(4,c=await cn.getSelectedLabel(ie,_,_e,me)),t(13,z=await cn.getSelectedNode(ie,_,_e)),I=x.preserveSubPathOnSwitch}async function ae(x){const _e=g||{},me=_e.parentNodePath,ie=_e.fallbackLabelResolver;t(2,m=await cn.getSelectedOption(x,_,me)),t(4,c=await cn.getSelectedLabel(x,_,me,ie)),t(13,z=await cn.getSelectedNode(x,_,me))}async function $(x){let _e=x.detail.node;_e.clickHandler&&!await _e.clickHandler(_e)||(setTimeout(()=>{J(_e.link)}),T&&r("toggleDropdownState"))}function J(x){L().then(()=>{nt.navigateTo(x)})}function le(x){let _e=x.detail.option,me=x.detail.selectedOption;L().then(()=>{I&&me?nt.navigateTo(cn.getNodePathFromCurrentPath(_e,me)):nt.navigateTo(_e.link),T&&r("toggleDropdownState")})}function we(){r("toggleDropdownState");const x=o||{};JSON.parse(x.contextSwitcherPopover)&&H()}const fe=()=>{n&&we()},Ne=()=>{n&&we()};return i.$$set=x=>{"contextSwitcherEnabled"in x&&t(3,s=x.contextSwitcherEnabled),"dropDownStates"in x&&t(8,o=x.dropDownStates),"selectedLabel"in x&&t(4,c=x.selectedLabel),"config"in x&&t(5,g=x.config),"actions"in x&&t(0,h=x.actions),"options"in x&&t(1,_=x.options),"selectedOption"in x&&t(2,m=x.selectedOption),"fallbackLabelResolver"in x&&t(22,v=x.fallbackLabelResolver),"pathParams"in x&&t(24,S=x.pathParams),"customOptionsRenderer"in x&&t(6,y=x.customOptionsRenderer),"customSelectedOptionRenderer"in x&&t(7,C=x.customSelectedOptionRenderer),"isMobile"in x&&t(9,T=x.isMobile),"contextSwitcherToggle"in x&&t(25,N=x.contextSwitcherToggle),"defaultLabel"in x&&t(23,D=x.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,T,$,le,we,z,X,n,l,O,ue,Q,ce,ke,v,D,S,N,H,ae,J,p,fe,Ne]}class E_ extends Rt{constructor(e){super(),At(this,e,Wk,Fk,Nt,{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:Hk}=Mi;function vh(i,e,t){const n=i.slice();return n[22]=e[t],n}function wh(i){let e,t,n,l=!i[2]&&Sh(i),r=i[2]&&i[3].productSwitcherPopover&&Nh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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=Sh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Nh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(r),n=!0)},o(s){K(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Sh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function T(M,O){return O&2&&(s=null),s==null&&(s=!!M[11](M[1])),s?qk:zk}let N=T(i,-1),D=N(i),I=i[0],L=[];for(let M=0;M<I.length;M+=1)L[M]=Ph(vh(i,I,M));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 M=0;M<L.length;M+=1)L[M].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=kn(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(M,O){R(M,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 B=0;B<L.length;B+=1)L[B].m(m,null);y||(C=[ne(r,"click",Mt(i[7])),ne(l,"click",Mt(Xk))],y=!0)},p(M,O){if(N===(N=T(M,O))&&D?D.p(M,O):(D.d(1),D=N(M),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=M[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=M[1].label)&&f(r,"title",c),O&2&&g!==(g=M[14](M[1]))&&f(r,"data-testid",g),O&64561){I=M[0];let B;for(B=0;B<I.length;B+=1){const z=vh(M,I,B);L[B]?L[B].p(z,O):(L[B]=Ph(z),L[B].c(),L[B].m(m,null))}for(;B<L.length;B+=1)L[B].d(1);L.length=I.length}O&512&&v!==(v=kn(M[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!M[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(M){M&&A(e),D.d(),ft(L,M),y=!1,Ze(C)}}}function zk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 qk(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 kh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Kk:Gk}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=ne(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 Gk(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?jk:Jk}let _=h(i,-1),p=_(i),m=g&&Ch(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])+"")&&Pe(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=Ch(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 Kk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(T,N){return N&1&&(n=null),n==null&&(n=!!T[11](T[22])),n?Qk:Yk}let S=v(i,-1),y=S(i),C=h&&yh(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(T,N){R(T,e,N),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=ne(e,"click",i[16]),p=!0)},p(T,N){S===(S=v(T,N))&&y?y.p(T,N):(y.d(1),y=S(T),y&&(y.c(),y.m(t,null))),N&1&&o!==(o=T[12](T[22])+"")&&Pe(c,o),N&1&&(h=T[13](T[22])),h?C?C.p(T,N):(C=yh(T),C.c(),C.m(r,null)):C&&(C.d(1),C=null),N&1&&_!==(_=T[15](T[22]))&&f(e,"href",_)},d(T){T&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function Jk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 jk(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 Ch(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Yk(i){let e,t,n;return{c(){e=k("img"),lt(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&&!lt(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 Qk(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])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ph(i){let e,t=i[22].label&&kh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=kh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nh(i){let e,t;return e=new L_({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(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Zk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&wh(i);return{c(){s&&s.c(),t=Ce()},m(o,c){s&&s.m(o,c),R(o,t,c),n=!0,l||(r=ne(Hk,"resize",ca),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=wh(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(De(),K(s,1,1,()=>{s=null}),Ve())},i(o){n||(U(s),n=!0)},o(o){K(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function ca(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Xk=()=>{};function $k(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=vt("store"),g=vt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{Mn.doOnStoreChange(c,async()=>{t(1,s=Te.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),N()),ca()},["navigation.productSwitcher"])});function p(O){g().then(()=>{nt.navigateToLink(O)}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return Te.renderIconClassName(O)}function y(O){return Te.isOpenUIiconName(O.icon)}function C(O){return dt.getTranslation(O.label)}function T(O){return dt.getTranslation(O.subTitle)}function N(){Te.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:Te.prepareForTests(O.label)}function I(O){return be.getNodeHref(O)}const L=O=>{Te.handleNavAnchorClickedWithoutMetaKey(O)},M=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,ca,h,S,y,C,T,D,I,L,M]}class D_ extends Rt{constructor(e){super(),At(this,e,$k,Zk,Nt,{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 ca}}function Ih(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function xk(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=ne(e,"keyup",i[18]),t=!0)},p:Ue,d(l){l&&A(e),i[19](null),t=!1,n()}}}function eC(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:Ue,d(t){t&&A(e)}}}function tC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[23](e)},p:Ue,d(t){t&&A(e),i[23](null)}}}function nC(i){let e,t,n,l=i[5]&&Th(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=Th(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 Th(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(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--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=Ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(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 iC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new ur(!1),n=Ce(),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 lC(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||(_=ne(e,"click",Lt(sC)),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 Lh(i){let e,t,n,l;function r(h,_){return h[9]?iC:lC}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=[ne(e,"click",c),ne(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,Ze(l)}}}function rC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(L,M){return L[7]&&L[7].disableInputHandlers?eC:xk}let C=y(i),T=C(i);function N(L,M){return L[8]?tC:nC}let D=N(i),I=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),T.c(),r=G(),I.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,M){R(L,e,M),w(e,t),w(t,n),w(n,l),T.m(l,null),w(n,r),I.m(n,null),R(L,c,M),R(L,g,M),w(g,h),w(h,_),w(_,p),v||(S=[ne(window,"click",i[11]),ne(window,"blur",i[11]),ne(n,"click",Mt(aC)),ne(_,"click",i[6]),ne(h,"click",Mt(oC))],v=!0)},p(L,M){C===(C=y(L))&&T?T.p(L,M):(T.d(1),T=C(L),T&&(T.c(),T.m(l,null))),D===(D=N(L))&&I?I.p(L,M):(I.d(1),I=D(L),I&&(I.c(),I.m(n,null))),M[0]&16&&s!==(s=!L[4])&&f(n,"aria-hidden",s),M[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),M[0]&16&&m!==(m=!L[4])&&f(_,"aria-expanded",m)},i:Ue,o:Ue,d(L){L&&A(e),T.d(),I.d(),L&&A(c),L&&A(g),v=!1,Ze(S)}}}const sC=()=>{},aC=()=>{},oC=()=>{};function uC(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:$=>{m.searchProvider.onSearchResultItemSelected($)}};let m={},v,S;Jt(async()=>{t(7,m=h);let $=o;const J=C(m.searchProvider);J&&($.placeholder=J),y()}),Vn(()=>{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($){if(!$||!$.inputPlaceholder)return;const J=dt.getCurrentLocale();if(te.isFunction($.inputPlaceholder))return $.inputPlaceholder();if(typeof $.inputPlaceholder=="string"){const le=dt.getTranslation($.inputPlaceholder);return!!le&&le.trim().length>0?le:$.inputPlaceholder}if(typeof $.inputPlaceholder=="object")return $.inputPlaceholder[J]}function T($,J,le){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer($,J.children[le],p)}),""}function N(){_("closeSearchResult")}function D({keyCode:$}){m&&m.searchProvider?te.isFunction(m.searchProvider.onEnter)&&$===_i?m.searchProvider.onEnter():te.isFunction(m.searchProvider.onEscape)&&$===gi?m.searchProvider.onEscape():$===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 I($){let J=g.children;if(J)for(let le=0;le<J.length;le++){let{childNodes:we,nextSibling:fe,previousSibling:Ne}=J[le],x;if(we[0].getAttribute("aria-selected")==="true"){$===Di&&(x=fe!==null?fe:J[0]),$===Al&&(x=Ne!==null?Ne:J[J.length-1]),we[0].setAttribute("aria-selected","false"),x.childNodes[0].setAttribute("aria-selected","true"),x.focus();break}}}function L(){let $=g.children;if($)for(let J=0;J<$.length;J++){let le=$[J];le.childNodes[0].getAttribute("aria-selected")==="true"&&le.childNodes[0].setAttribute("aria-selected","false")}}function M($){m&&te.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected($):te.isFunction(m.searchProvider.onEscape)&&event.keyCode===gi&&m.searchProvider.onEscape()}function O($,{keyCode:J}){J===_i&&m.searchProvider.onSearchResultItemSelected($),J===Al||J===Di?I(J):te.isFunction(m.searchProvider.onEscape)&&J===gi&&(L(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function B($){let J=$.pathObject;J.externalLink?nt.navigateToLink(J):_("handleSearchNavigation",{node:J})}function z(){o&&o.focus()}function ue(){if(n?t(0,r=!1):setTimeout(()=>{z()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&te.isFunction(m.searchProvider.toggleSearch)){const $=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,$)}}const X=$=>D($);function Q($){$e[$?"unshift":"push"](()=>{o=$,t(1,o)})}const ce=($,J)=>M($),ke=($,J)=>O($,J);function H($){$e[$?"unshift":"push"](()=>{g=$,t(3,g)})}function ae($){$e[$?"unshift":"push"](()=>{c=$,t(2,c)})}return i.$$set=$=>{"isSearchFieldVisible"in $&&t(4,n=$.isSearchFieldVisible),"searchResult"in $&&t(5,l=$.searchResult),"displaySearchResult"in $&&t(0,r=$.displaySearchResult),"displayCustomSearchResult"in $&&t(15,s=$.displayCustomSearchResult),"inputElem"in $&&t(1,o=$.inputElem),"luigiCustomSearchRenderer__slot"in $&&t(2,c=$.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in $&&t(3,g=$.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in $&&t(16,h=$.globalSearchConfig)},[r,o,c,g,n,l,ue,m,v,S,T,N,D,M,O,s,h,B,X,Q,ce,ke,H,ae]}class fC extends Rt{constructor(e){super(),At(this,e,uC,rC,Nt,{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 Ah(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function cC(i){let e,t,n,l,r,s,o,c=i[11]&&Rh(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=[ne(e,"keyup",i[25]),ne(e,"input",i[27]),ne(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Rh(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,Ze(o)}}}function dC(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:Ue,d(t){t&&A(e)}}}function Rh(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=ne(e,"click",i[19]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function hC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[31](e)},p:Ue,d(t){t&&A(e),i[31](null)}}}function gC(i){let e,t,n,l=i[4]&&Eh(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=Eh(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 Eh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Dh(Ah(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=Ah(l,t,s);n[s]?n[s].p(o,r):(n[s]=Dh(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 _C(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new ur(!1),n=Ce(),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 pC(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||(_=ne(e,"click",Lt(bC)),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 Dh(i){let e,t,n,l;function r(h,_){return h[10]?_C:pC}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=[ne(e,"click",c),ne(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,Ze(l)}}}function Vh(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=[ne(n,"click",i[6]),ne(t,"click",Mt(wC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Ze(o)}}}function Mh(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=ne(t,"click",Mt(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 mC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(I,L){return I[8]&&I[8].disableInputHandlers?dC:cC}let v=m(i),S=v(i);function y(I,L){return I[9]?hC:gC}let C=y(i),T=C(i),N=!i[5]&&Vh(i),D=i[5]&&Mh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=G(),T.c(),c=G(),N&&N.c(),g=G(),D&&D.c(),h=Ce(),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(I,L){R(I,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),T.m(n,null),R(I,c,L),N&&N.m(I,L),R(I,g,L),D&&D.m(I,L),R(I,h,L),_||(p=[ne(window,"click",i[15]),ne(window,"blur",i[15]),ne(n,"click",Mt(vC))],_=!0)},p(I,L){v===(v=m(I))&&S?S.p(I,L):(S.d(1),S=v(I),S&&(S.c(),S.m(l,null))),C===(C=y(I))&&T?T.p(I,L):(T.d(1),T=C(I),T&&(T.c(),T.m(n,null))),L[0]&32&&s!==(s=!I[5])&&f(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(I[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),I[5]?N&&(N.d(1),N=null):N?N.p(I,L):(N=Vh(I),N.c(),N.m(g.parentNode,g)),I[5]?D?D.p(I,L):(D=Mh(I),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Ue,o:Ue,d(I){I&&A(e),S.d(),T.d(),I&&A(c),N&&N.d(I),I&&A(g),D&&D.d(I),I&&A(h),_=!1,Ze(p)}}}const bC=()=>{},vC=()=>{},wC=()=>{};function SC(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:ie=>{S.searchProvider.onSearchResultItemSelected(ie)}};let m=sl.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,T=!1,N=vt("getTranslation");pi(i,N,ie=>t(12,n=ie)),Jt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let ie=o;const Ee=I(S.searchProvider);Ee&&(ie.placeholder=Ee),D(),Kf.handleVisibilityGlobalSearch();const Le=document.querySelector(".lui-global-search");Le&&new ResizeObserver(et=>{Kf.handleVisibilityGlobalSearch()}).observe(Le)}),Vn(()=>{t(8,S=h),D(),z()});function D(){t(9,y=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultItemRenderer))}function I(ie){if(!ie||!ie.inputPlaceholder)return;const Ee=dt.getCurrentLocale();if(te.isFunction(ie.inputPlaceholder))return ie.inputPlaceholder();if(typeof ie.inputPlaceholder=="string"){const Le=dt.getTranslation(ie.inputPlaceholder);return!!Le&&Le.trim().length>0?Le:ie.inputPlaceholder}if(typeof ie.inputPlaceholder=="object")return ie.inputPlaceholder[Ee]}function L(ie,Ee,Le){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ie,Ee.children[Le],p)}),""}function M(){_("closeSearchResult")}function O({keyCode:ie}){S?te.isFunction(S.searchProvider.onEnter)&&ie===_i?S.searchProvider.onEnter():te.isFunction(S.searchProvider.onEscape)&&ie===gi?S.searchProvider.onEscape():ie===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 B(){S&&te.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function z(){o&&o.value?t(11,T=!0):t(11,T=!1)}function ue(){t(1,o.value="",o),M(),t(11,T=!1)}function X(ie){let Ee=g.children;if(Ee)for(let Le=0;Le<Ee.length;Le++){let{childNodes:pe,nextSibling:et,previousSibling:Ot}=Ee[Le],jt;if(pe[0].getAttribute("aria-selected")==="true"){ie===Di&&(jt=et!==null?et:Ee[0]),ie===Al&&(jt=Ot!==null?Ot:Ee[Ee.length-1]),pe[0].setAttribute("aria-selected","false"),jt.childNodes[0].setAttribute("aria-selected","true"),jt.focus();break}}}function Q(){let ie=g.children;if(ie)for(let Ee=0;Ee<ie.length;Ee++){let Le=ie[Ee];Le.childNodes[0].getAttribute("aria-selected")==="true"&&Le.childNodes[0].setAttribute("aria-selected","false")}}function ce(ie){S&&te.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ie):te.isFunction(S.searchProvider.onEscape)&&event.keyCode===gi&&S.searchProvider.onEscape()}function ke(ie,{keyCode:Ee}){Ee===_i&&S.searchProvider.onSearchResultItemSelected(ie),Ee===Al||Ee===Di?X(Ee):te.isFunction(S.searchProvider.onEscape)&&Ee===gi&&(Q(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function H(ie){let Ee=ie.pathObject;Ee.externalLink?nt.navigateToLink(Ee):_("handleSearchNavigation",{node:Ee})}function ae(){o&&o.focus()}function $(){if(v?t(0,r=!1):setTimeout(()=>{ae()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),te.isFunction(S.searchProvider.toggleSearch)){const ie=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ie)}}const J=ie=>O(ie);function le(ie){$e[ie?"unshift":"push"](()=>{o=ie,t(1,o)})}const we=()=>z(),fe=(ie,Ee)=>ce(ie),Ne=(ie,Ee)=>ke(ie,Ee);function x(ie){$e[ie?"unshift":"push"](()=>{g=ie,t(3,g)})}function _e(ie){$e[ie?"unshift":"push"](()=>{c=ie,t(2,c)})}const me=()=>$();return i.$$set=ie=>{"searchResult"in ie&&t(4,l=ie.searchResult),"displaySearchResult"in ie&&t(0,r=ie.displaySearchResult),"displayCustomSearchResult"in ie&&t(22,s=ie.displayCustomSearchResult),"inputElem"in ie&&t(1,o=ie.inputElem),"luigiCustomSearchRenderer__slot"in ie&&t(2,c=ie.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ie&&t(3,g=ie.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ie&&t(23,h=ie.globalSearchConfig),"isSearchFieldVisible"in ie&&t(5,v=ie.isSearchFieldVisible)},[r,o,c,g,l,v,$,m,S,y,C,T,n,N,L,M,O,B,z,ue,ce,ke,s,h,H,J,le,we,fe,Ne,x,_e,me]}class kC extends Rt{constructor(e){super(),At(this,e,SC,mC,Nt,{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 Oh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?yC:CC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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 CC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),lt(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&&!lt(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 yC(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 Fh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new $r({props:{node:i[0]}}),{c(){e=k("span"),n=ye(t),l=G(),Ge(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){K(r.$$.fragment,o),s=!1},d(o){o&&A(e),qe(r)}}}function PC(i){let e,t,n,l=i[0].icon&&Oh(i),r=(!i[0].icon||i[0].showLabel)&&Fh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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=Oh(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=Fh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(r),n=!0)},o(s){K(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function NC(i,e,t){let{node:n}=e;function l(o){return Te.isOpenUIiconName(o.icon)}function r(o){return Te.renderIconClassName(o)}function s(o){return dt.getTranslation(o.label)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Mo extends Rt{constructor(e){super(),At(this,e,NC,PC,Nt,{node:0})}}const{Boolean:V_,window:Uh}=Mi;function Bh(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 IC(i){let e,t;return e=new T_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function TC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Hh(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 KS({props:y}),$e.push(()=>bt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&zh(i),T=(!i[0]||i[1])&&qh(i),N=(i[18]||i[7]&&i[30].length>0)&&Kh(i),D=(i[0]||i[16])&&sg(i),I=i[12]&&ag(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=G(),Ge(l.$$.fragment),s=G(),C&&C.c(),o=G(),c=k("div"),T&&T.c(),g=G(),N&&N.c(),h=G(),D&&D.c(),_=G(),I&&I.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-1q5ghii"),f(e,"tabindex","0")},m(L,M){R(L,e,M),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),T&&T.m(c,null),w(c,g),N&&N.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),I&&I.m(c,null),m=!0},p(L,M){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,M):(v=Hh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};M[0]&1073741824&&(O.pathData=L[30]),M[1]&1&&(O.pathParams=L[31]),M[0]&268435456&&(O.addNavHrefForAnchor=L[28]),!r&&M[0]&64&&(r=!0,O.dropDownStates=L[6],mt(()=>r=!1)),l.$set(O),L[18]&&L[19]?C?(C.p(L,M),M[0]&786432&&U(C,1)):(C=zh(L),C.c(),U(C,1),C.m(e,o)):C&&(De(),K(C,1,1,()=>{C=null}),Ve()),!L[0]||L[1]?T?(T.p(L,M),M[0]&3&&U(T,1)):(T=qh(L),T.c(),U(T,1),T.m(c,g)):T&&(De(),K(T,1,1,()=>{T=null}),Ve()),L[18]||L[7]&&L[30].length>0?N?(N.p(L,M),M[0]&1074004096&&U(N,1)):(N=Kh(L),N.c(),U(N,1),N.m(c,h)):N&&(De(),K(N,1,1,()=>{N=null}),Ve()),L[0]||L[16]?D?(D.p(L,M),M[0]&65537&&U(D,1)):(D=sg(L),D.c(),U(D,1),D.m(c,_)):D&&(De(),K(D,1,1,()=>{D=null}),Ve()),L[12]?I?(I.p(L,M),M[0]&4096&&U(I,1)):(I=ag(L),I.c(),U(I,1),I.m(c,null)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),(!m||M[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1q5ghii"))&&f(e,"class",p)},i(L){m||(U(l.$$.fragment,L),U(C),U(T),U(N),U(D),U(I),m=!0)},o(L){K(l.$$.fragment,L),K(C),K(T),K(N),K(D),K(I),m=!1},d(L){L&&A(e),v&&v.d(),qe(l),C&&C.d(),T&&T.d(),N&&N.d(),D&&D.d(),I&&I.d()}}}function Hh(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-1q5ghii"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){R(r,e,s),w(e,t),n||(l=ne(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 zh(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 kC({props:y}),$e.push(()=>bt(t,"isSearchFieldVisible",h)),$e.push(()=>bt(t,"searchResult",_)),$e.push(()=>bt(t,"displaySearchResult",p)),$e.push(()=>bt(t,"displayCustomSearchResult",m)),$e.push(()=>bt(t,"inputElem",v)),$e.push(()=>bt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Ge(t.$$.fragment),f(e,"class","lui-global-search")},m(C,T){R(C,e,T),ze(t,e,null),g=!0},p(C,T){const N={};T[0]&262144&&(N.globalSearchConfig=C[18]),!n&&T[0]&1048576&&(n=!0,N.isSearchFieldVisible=C[20],mt(()=>n=!1)),!l&&T[0]&33554432&&(l=!0,N.searchResult=C[25],mt(()=>l=!1)),!r&&T[0]&8388608&&(r=!0,N.displaySearchResult=C[23],mt(()=>r=!1)),!s&&T[0]&16777216&&(s=!0,N.displayCustomSearchResult=C[24],mt(()=>s=!1)),!o&&T[0]&2097152&&(o=!0,N.inputElem=C[21],mt(()=>o=!1)),!c&&T[0]&4194304&&(c=!0,N.luigiCustomSearchRenderer__slot=C[22],mt(()=>c=!1)),t.$set(N)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){K(t.$$.fragment,C),g=!1},d(C){C&&A(e),qe(t)}}}function qh(i){let e,t,n,l,r=i[18]&&!i[19]&&Gh(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 E_({props:o}),$e.push(()=>bt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=G(),Ge(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=Gh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(De(),K(r,1,1,()=>{r=null}),Ve());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],mt(()=>n=!1)),t.$set(h)},i(c){l||(U(r),U(t.$$.fragment,c),l=!0)},o(c){K(r),K(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),qe(t,c)}}}function Gh(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 fC({props:S}),$e.push(()=>bt(e,"isSearchFieldVisible",g)),$e.push(()=>bt(e,"searchResult",h)),$e.push(()=>bt(e,"displaySearchResult",_)),$e.push(()=>bt(e,"displayCustomSearchResult",p)),$e.push(()=>bt(e,"inputElem",m)),$e.push(()=>bt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Ge(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const T={};C[0]&262144&&(T.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,T.isSearchFieldVisible=y[20],mt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,T.searchResult=y[25],mt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,T.displaySearchResult=y[23],mt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,T.displayCustomSearchResult=y[24],mt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,T.inputElem=y[21],mt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,T.luigiCustomSearchRenderer__slot=y[22],mt(()=>o=!1)),e.$set(T)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){K(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function Kh(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])&&Qh(i);return{c(){l&&l.c(),e=G(),r&&r.c(),t=Ce()},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&&(De(),K(l,1,1,()=>{l=null}),Ve()),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=Qh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){n||(U(l),U(r),n=!0)},o(s){K(l),K(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]=Yh(Wh(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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]=Yh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(V_);for(let o=0;o<l.length;o+=1)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function jh(i){let e,t,n,l;const r=[AC,LC],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=Ce()},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):(De(),K(s[h],1,1,()=>{s[h]=null}),Ve(),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){K(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function LC(i){let e,t,n,l,r;const s=[EC,RC],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):(De(),K(o[_],1,1,()=>{o[_]=null}),Ve(),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){K(n),r=!1},d(g){g&&A(e),o[t].d()}}}function AC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N,D;function I(O){i[80](O,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Mo({props:L}),$e.push(()=>bt(r,"node",I)),c=new Zn({props:{node:i[111]}});function M(){return i[81](i[113])}return S=new A_({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"),Ge(r.$$.fragment),o=G(),Ge(c.$$.fragment),m=G(),v=k("div"),Ge(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,B){R(O,e,B),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),T=!0,N||(D=[ne(l,"click",M),ne(n,"click",Mt(JC))],N=!0)},p(O,B){i=O;const z={};!s&&B[0]&128&&(s=!0,z.node=i[111],mt(()=>s=!1)),r.$set(z);const ue={};B[0]&128&&(ue.node=i[111]),c.$set(ue),(!T||B[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!T||B[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!T||B[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!T||B[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const X={};B[0]&128&&(X.node=i[111]),B[1]&1&&(X.pathParams=i[31]),B[0]&268435456&&(X.addNavHrefForAnchor=i[28]),S.$set(X),(!T||B[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){T||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),T=!0)},o(O){K(r.$$.fragment,O),K(c.$$.fragment,O),K(S.$$.fragment,O),T=!1},d(O){O&&A(e),qe(r),qe(c),qe(S),N=!1,Ze(D)}}}function RC(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 Mo({props:m}),$e.push(()=>bt(t,"node",p)),r=new Zn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),Ge(t.$$.fragment),l=G(),Ge(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||(_=ne(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],mt(()=>n=!1)),t.$set(C);const T={};y[0]&128&&(T.node=i[111]),r.$set(T),(!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){K(t.$$.fragment,S),K(r.$$.fragment,S),g=!1},d(S){S&&A(e),qe(t),qe(r),h=!1,_()}}}function EC(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 Mo({props:v}),$e.push(()=>bt(t,"node",m)),r=new Zn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),Ge(t.$$.fragment),l=G(),Ge(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=ne(e,"click",S),_=!0)},p(y,C){i=y;const T={};!n&&C[0]&128&&(n=!0,T.node=i[111],mt(()=>n=!1)),t.$set(T);const N={};C[0]&128&&(N.node=i[111]),r.$set(N),(!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){K(t.$$.fragment,y),K(r.$$.fragment,y),h=!1},d(y){y&&A(e),qe(t),qe(r),_=!1,p()}}}function Yh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&jh(i);return{c(){n&&n.c(),e=Ce()},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&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=jh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,T,N,D,I,L,M,O;g=new Zn({props:{node:i[11],special:"true"}});let B=i[18]&&!i[19]&&Zh(i),z=i[46]&&(!i[0]||i[1])&&Xh(i),ue=i[7]&&$h(i),X=i[12]&&ng(i),Q=i[12]&&ig(i),ce=i[14]&&lg(i),ke=(!i[0]||i[1])&&rg(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(),Ge(g.$$.fragment),_=G(),p=k("div"),m=k("nav"),v=k("ul"),B&&B.c(),S=G(),z&&z.c(),y=G(),ue&&ue.c(),C=G(),X&&X.c(),N=G(),Q&&Q.c(),D=G(),ce&&ce.c(),I=G(),ke&&ke.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",T=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1q5ghii"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(H,ae){R(H,e,ae),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),B&&B.m(v,null),w(v,S),z&&z.m(v,null),w(v,y),ue&&ue.m(v,null),w(v,C),X&&X.m(v,null),w(n,N),Q&&Q.m(n,null),w(n,D),ce&&ce.m(n,null),w(n,I),ke&&ke.m(n,null),L=!0,M||(O=[ne(s,"click",i[86]),ne(l,"click",Mt(jC))],M=!0)},p(H,ae){const $={};ae[0]&2048&&($.node=H[11]),g.$set($),(!L||ae[0]&64&&h!==(h=H[6].overflowPopover||!1))&&f(s,"aria-expanded",h),H[18]&&!H[19]?B?B.p(H,ae):(B=Zh(H),B.c(),B.m(v,S)):B&&(B.d(1),B=null),H[46]&&(!H[0]||H[1])?z?z.p(H,ae):(z=Xh(H),z.c(),z.m(v,y)):z&&(z.d(1),z=null),H[7]?ue?(ue.p(H,ae),ae[0]&128&&U(ue,1)):(ue=$h(H),ue.c(),U(ue,1),ue.m(v,C)):ue&&(De(),K(ue,1,1,()=>{ue=null}),Ve()),H[12]?X?X.p(H,ae):(X=ng(H),X.c(),X.m(v,null)):X&&(X.d(1),X=null),(!L||ae[0]&64&&T!==(T=!H[6].overflowPopover))&&f(p,"aria-hidden",T),H[12]?Q?(Q.p(H,ae),ae[0]&4096&&U(Q,1)):(Q=ig(H),Q.c(),U(Q,1),Q.m(n,D)):Q&&(De(),K(Q,1,1,()=>{Q=null}),Ve()),H[14]?ce?(ce.p(H,ae),ae[0]&16384&&U(ce,1)):(ce=lg(H),ce.c(),U(ce,1),ce.m(n,I)):ce&&(De(),K(ce,1,1,()=>{ce=null}),Ve()),!H[0]||H[1]?ke?(ke.p(H,ae),ae[0]&3&&U(ke,1)):(ke=rg(H),ke.c(),U(ke,1),ke.m(n,null)):ke&&(De(),K(ke,1,1,()=>{ke=null}),Ve())},i(H){L||(U(g.$$.fragment,H),U(ue),U(Q),U(ce),U(ke),L=!0)},o(H){K(g.$$.fragment,H),K(ue),K(Q),K(ce),K(ke),L=!1},d(H){H&&A(e),qe(g),B&&B.d(),z&&z.d(),ue&&ue.d(),X&&X.d(),Q&&Q.d(),ce&&ce.d(),ke&&ke.d(),M=!1,Ze(O)}}}function Zh(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-1q5ghii"></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=ne(t,"click",Mt(i[87])),n=!0)},p:Ue,d(r){r&&A(e),n=!1,l()}}}function Xh(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-1q5ghii"),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=ne(t,"click",Mt(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-1q5ghii")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Pe(c,o)},d(_){_&&A(e),g=!1,h()}}}function $h(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=tg(Bh(i,n,s));const r=s=>K(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Ce()},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=Bh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=tg(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(De(),c=n.length;c<l.length;c+=1)r(c);Ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(V_);for(let o=0;o<l.length;o+=1)K(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function xh(i){let e,t,n,l;const r=[VC,DC],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=Ce()},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):(De(),K(s[h],1,1,()=>{s[h]=null}),Ve(),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){K(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function DC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(I,L){return L[0]&128&&(l=null),l==null&&(l=!!I[48](I[111])),l?OC:MC}let T=C(i,[-1,-1,-1,-1]),N=T(i);s=new Zn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=G(),Ge(s.$$.fragment),o=G(),c=k("span"),h=ye(g),m=G(),f(n,"class","fd-top-nav__icon svelte-1q5ghii"),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(I,L){R(I,e,L),w(e,t),w(t,n),N.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=ne(t,"click",Lt(D)),S=!0)},p(I,L){i=I,T===(T=C(i,L))&&N?N.p(i,L):(N.d(1),N=T(i),N&&(N.c(),N.m(n,r)));const M={};L[0]&128&&(M.node=i[111]),s.$set(M),(!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(I){v||(U(s.$$.fragment,I),v=!0)},o(I){K(s.$$.fragment,I),v=!1},d(I){I&&A(e),N.d(),qe(s),S=!1,y()}}}function VC(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,T,N=l&&eg(i);s=new Zn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),N&&N.c(),r=G(),Ge(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-1q5ghii"),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(I,L){R(I,e,L),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(T=ne(t,"click",Lt(D)),C=!0)},p(I,L){i=I,L[0]&128&&(l=!i[48](i[111])),l?N?N.p(i,L):(N=eg(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const M={};L[0]&128&&(M.node=i[111]),s.$set(M),(!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-1q5ghii"))&&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(I){y||(U(s.$$.fragment,I),y=!0)},o(I){K(s.$$.fragment,I),y=!1},d(I){I&&A(e),N&&N.d(),qe(s),C=!1,T()}}}function MC(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1q5ghii")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!lt(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 OC(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-1q5ghii")},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-1q5ghii")&&f(e,"class",t)},d(n){n&&A(e)}}}function eg(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1q5ghii")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!lt(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 tg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&xh(i);return{c(){n&&n.c(),e=Ce()},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&&(De(),K(n,1,1,()=>{n=null}),Ve()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=xh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ng(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?UC:FC}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=ne(t,"click",Mt(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 FC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1q5ghii"),f(e,"class","fd-top-nav__icon sap-icon svelte-1q5ghii")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(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 UC(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-1q5ghii")},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-1q5ghii")&&f(e,"class",t)},d(n){n&&A(e)}}}function ig(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 D_({props:r}),$e.push(()=>bt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ge(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],mt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){K(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function lg(i){let e,t;return e=new A_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function rg(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 E_({props:g}),$e.push(()=>bt(e,"dropDownStates",s)),$e.push(()=>bt(e,"selectedLabel",o)),$e.push(()=>bt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){Ge(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],mt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],mt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],mt(()=>l=!1)),e.$set(p)},i(h){r||(U(e.$$.fragment,h),r=!0)},o(h){K(e.$$.fragment,h),r=!1},d(h){qe(e,h)}}}function sg(i){let e,t,n,l,r;const s=[WC,BC],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):(De(),K(o[_],1,1,()=>{o[_]=null}),Ve(),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){K(l),r=!1},d(g){g&&A(e),o[n].d()}}}function BC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(N,D){return N[17].picture?zC:HC}let C=y(i),T=C(i);return _=new T_({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"),T.c(),g=G(),h=k("div"),Ge(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1q5ghii"),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-1q5ghii")},m(N,D){R(N,e,D),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[ne(r,"click",i[99]),ne(n,"click",Mt(QC))],v=!0)},p(N,D){C===(C=y(N))&&T?T.p(N,D):(T.d(1),T=C(N),T&&(T.c(),T.m(r,null))),(!m||D[0]&64&&s!==(s=N[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const I={};D[0]&268435456&&(I.addNavHrefForAnchor=N[28]),_.$set(I),(!m||D[0]&64&&p!==(p=!N[6].profilePopover))&&f(h,"aria-hidden",p)},i(N){m||(U(_.$$.fragment,N),m=!0)},o(N){K(_.$$.fragment,N),m=!1},d(N){N&&A(e),T.d(),qe(_),v=!1,Ze(S)}}}function WC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?GC:qC}let _=h(i),p=_(i);return r=new ek({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"),Ge(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-1q5ghii")},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=ne(t,"click",Mt(YC)),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){K(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),qe(r),c=!1,g()}}}function HC(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 zC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1q5ghii"),li(e,"background-image","url('"+i[17].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&131072&&li(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function qC(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-1q5ghii"),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=ne(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 GC(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-1q5ghii"),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"),li(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){R(r,e,s),n||(l=ne(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&&li(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function ag(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 D_({props:r}),$e.push(()=>bt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ge(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],mt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){K(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function KC(i){let e,t,n,l,r,s;const o=[TC,IC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(h,_){c[e].m(h,_),R(h,n,_),l=!0,r||(s=[ne(Uh,"click",i[41]),ne(Uh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(De(),K(c[p],1,1,()=>{c[p]=null}),Ve(),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){K(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Ze(s)}}}const JC=()=>{},jC=()=>{},YC=()=>{},QC=()=>{};function ZC(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:T}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:I}=e,{openMobileDropDown:L}=e,{nodeForMobile:M}=e,{profileItemsAvailable:O}=e,{userInfo:B={}}=e,{urlAuthError:z}=e,{globalSearchConfig:ue}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:Q}=e,{inputElem:ce}=e,{luigiCustomSearchRenderer__slot:ke}=e,{displaySearchResult:H}=e,{displayCustomSearchResult:ae}=e,{searchResult:$}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:le}=e,we=vt("store"),fe=!1,Ne,x,_e=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:me=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ie=async()=>{if(_&&0<_.length){const j=await Te.generateTopNavNodes(_);t(7,S=j.children),t(8,y=j.selectedNode),t(9,C=j.visibleNodeCount),t(11,N=j.totalBadgeNode),t(10,T=j.globalNavNodeCount),window.TOPNAVDATA=j.children,p=_}},Ee=()=>{t(1,s=ll.isLoggedIn())};Jt(()=>{Mn.doOnStoreChange(we,()=>{t(0,l=hi.isAuthorizationEnabled()),t(16,O=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,D=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,c=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,le=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,I=Te.getProductSwitcherConfig()),t(18,ue=re.getConfigValue("globalSearch")),t(19,X=ue&&ue.searchFieldCentered&&te.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),t(28,me=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,_e=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),Cn.addEventListener("message",j=>{j.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),Vn(()=>{(!p||p!=_)&&ie(),Ee()});let{showTopNav:Le}=e;function pe(j){return Te.renderIconClassName(j)}function et(j){return Te.isOpenUIiconName(j.icon)}function Ot(j){return dt.getTranslation(j.label)}function jt(j){return j.testId?j.testId:Te.prepareForTests(j.pathSegment,j.label)}function Et(j){return be.getNodeHref(j,m)}function On(j,It){return Te.generateTooltipText(j,It)}function Oi(){ct("productSwitcherPopover")}function zt(){t(43,fe=!fe),ct("contextSwitcherPopover")}function mi(j){t(14,L=!0),t(15,M=j)}function Fi(){t(14,L=!1)}function xt(j){n("handleClick",{node:j})}function Yt(j){n("handleSearchNavigation",{node:j})}function Xn(j){xt(j.detail.node)}function ct(j){const It=v||{},Pn=!It[j];rn(),Fi(),It[j]=Pn,t(6,v=It)}function dn(j){ct(j.detail.name)}function $n(){ce&&ce.focus()}function ln(){Q||setTimeout(()=>{$n()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:ce,luigiCustomSearchRenderer__slot:ke})}function rn(){const j=v||{},It=Object.keys(j);It&&It.length>0&&It.forEach(Pn=>{j[Pn]=!1,t(6,v=j)})}function Fn(){c==="simple"||c==="simpleMobileOnly"?sn():ee(),bi()}function bi(){if(!Te.getBurgerTooltipConfig())return;const[j,It]=Te.getBurgerTooltipConfig();j&&It&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,J=document.body.classList.contains("lui-leftNavToggle")?j:It),document.body.classList.contains("lui-semiCollapsible")&&t(26,J=document.body.classList.contains("semiCollapsed")?j:It))}function sn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ee(){ci.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Me(j){const It=j.detail;t(17,B=It||{})}function ht(j){v=j,t(6,v)}function Ct(j){Q=j,t(20,Q)}function yt(j){$=j,t(25,$)}function wt(j){H=j,t(23,H)}function on(j){ae=j,t(24,ae)}function yn(j){ce=j,t(21,ce)}function ri(j){ke=j,t(22,ke)}function Ui(j){Ll.call(this,i,j)}function ol(j){Ll.call(this,i,j)}function vi(j){Ll.call(this,i,j)}function fr(j){Q=j,t(20,Q)}function cr(j){$=j,t(25,$)}function dr(j){H=j,t(23,H)}function hr(j){ae=j,t(24,ae)}function El(j){ce=j,t(21,ce)}function gr(j){ke=j,t(22,ke)}function _r(j){Ll.call(this,i,j)}function pr(j){Ll.call(this,i,j)}function wi(j){Ll.call(this,i,j)}function Bi(j){v=j,t(6,v)}const Si=()=>ct("contextSwitcherPopover");function Wi(j,It,Pn,Un){Pn[Un]=j,t(7,S)}const Dl=j=>ct(`dropDownPopover-${j}`);function Vl(j,It,Pn,Un){Pn[Un]=j,t(7,S)}const Ml=(j,It)=>{Te.handleNavAnchorClickedWithoutMetaKey(It)&&xt(j)};function mr(j,It,Pn,Un){Pn[Un]=j,t(7,S)}const mn=j=>xt(j),ul=()=>ct("overflowPopover"),fl=()=>{ln(),ct("overflowPopover")},cl=j=>xt(j),br=j=>mi(j);function Hi(j){v=j,t(6,v)}const dl=()=>ct("productSwitcherPopover");function hl(j){v=j,t(6,v)}function gl(j){Ne=j,t(44,Ne)}function Ol(j){x=j,t(45,x)}const ki=()=>ct("contextSwitcherPopover"),vr=()=>ct("profilePopover"),gt=()=>ct("profilePopover"),_l=()=>ct("profilePopover"),pl=()=>ct("profilePopover"),Fl=()=>ct("profilePopover");function ml(j){v=j,t(6,v)}const si=()=>ct("productSwitcherPopover"),Ft=()=>ct("profilePopover");return i.$$set=j=>{"authorizationEnabled"in j&&t(0,l=j.authorizationEnabled),"autologinEnabled"in j&&t(54,r=j.autologinEnabled),"isLoggedIn"in j&&t(1,s=j.isLoggedIn),"hideNavComponent"in j&&t(2,o=j.hideNavComponent),"responsiveNavSetting"in j&&t(3,c=j.responsiveNavSetting),"profileTypeSettings"in j&&t(4,g=j.profileTypeSettings),"showGlobalNav"in j&&t(5,h=j.showGlobalNav),"pathData"in j&&t(30,_=j.pathData),"pathParams"in j&&t(31,m=j.pathParams),"dropDownStates"in j&&t(6,v=j.dropDownStates),"children"in j&&t(7,S=j.children),"selectedNode"in j&&t(8,y=j.selectedNode),"visibleNodeCount"in j&&t(9,C=j.visibleNodeCount),"globalNavNodeCount"in j&&t(10,T=j.globalNavNodeCount),"totalBadgeNode"in j&&t(11,N=j.totalBadgeNode),"isProductSwitcherAvailable"in j&&t(12,D=j.isProductSwitcherAvailable),"productSwitcherConfig"in j&&t(13,I=j.productSwitcherConfig),"openMobileDropDown"in j&&t(14,L=j.openMobileDropDown),"nodeForMobile"in j&&t(15,M=j.nodeForMobile),"profileItemsAvailable"in j&&t(16,O=j.profileItemsAvailable),"userInfo"in j&&t(17,B=j.userInfo),"urlAuthError"in j&&t(55,z=j.urlAuthError),"globalSearchConfig"in j&&t(18,ue=j.globalSearchConfig),"isGlobalSearchCentered"in j&&t(19,X=j.isGlobalSearchCentered),"isSearchFieldVisible"in j&&t(20,Q=j.isSearchFieldVisible),"inputElem"in j&&t(21,ce=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(22,ke=j.luigiCustomSearchRenderer__slot),"displaySearchResult"in j&&t(23,H=j.displaySearchResult),"displayCustomSearchResult"in j&&t(24,ae=j.displayCustomSearchResult),"searchResult"in j&&t(25,$=j.searchResult),"burgerTooltip"in j&&t(26,J=j.burgerTooltip),"responsiveShellbarPadding"in j&&t(27,le=j.responsiveShellbarPadding),"addNavHrefForAnchor"in j&&t(28,me=j.addNavHrefForAnchor),"showTopNav"in j&&t(29,Le=j.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Le=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,T,N,D,I,L,M,O,B,ue,X,Q,ce,ke,H,ae,$,J,le,me,Le,_,m,Oi,zt,mi,Fi,xt,Xn,ct,dn,ln,rn,Me,fe,Ne,x,_e,pe,et,Ot,jt,Et,On,Fn,r,z,Yt,sn,ee,ht,Ct,yt,wt,on,yn,ri,Ui,ol,vi,fr,cr,dr,hr,El,gr,_r,pr,wi,Bi,Si,Wi,Dl,Vl,Ml,mr,mn,ul,fl,cl,br,Hi,dl,hl,gl,Ol,ki,vr,gt,_l,pl,Fl,ml,si,Ft]}class XC extends Rt{constructor(e){super(),At(this,e,ZC,KC,Nt,{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]}}const{window:yo}=Mi;function og(i,e,t){const n=i.slice();return n[34]=e[t][0],n[35]=e[t][1],n[37]=t,n}function ug(i,e,t){const n=i.slice();return n[38]=e[t],n}function fg(i,e,t){const n=i.slice();return n[38]=e[t],n[40]=t,n}function cg(i,e,t){const n=i.slice();return n[34]=e[t][0],n[35]=e[t][1],n[37]=t,n}function dg(i,e,t){const n=i.slice();return n[38]=e[t],n}function hg(i,e,t){const n=i.slice();return n[38]=e[t],n[40]=t,n}function gg(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S=Object.entries(i[0]),y=[];for(let N=0;N<S.length;N+=1)y[N]=Sg(cg(i,S,N));let C=Object.entries(i[0]),T=[];for(let N=0;N<C.length;N+=1)T[N]=yg(og(i,C,N));return{c(){e=k("nav"),t=k("div"),n=k("div");for(let N=0;N<y.length;N+=1)y[N].c();l=G(),r=k("div"),s=k("span"),o=k("div"),c=k("a"),c.innerHTML=`<span class="label fd-tabs__tag svelte-1kb8g8n">More</span>
|
|
61
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1kb8g8n"></span>`,g=G(),h=k("div"),_=k("ul");for(let N=0;N<T.length;N+=1)T[N].c();f(n,"class","tabsContainer luigi-tabsContainer svelte-1kb8g8n"),f(t,"class","tabsContainerWrapper svelte-1kb8g8n"),f(c,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1kb8g8n"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(_,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1kb8g8n"),f(h,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1kb8g8n"),f(h,"aria-hidden",p=!i[4]),f(o,"class","fd-popover fd-popover--right"),f(s,"class","fd-tabs__item svelte-1kb8g8n"),f(r,"class","luigi-tabsMoreButton svelte-1kb8g8n"),f(e,"class","fd-tabs fd-tabs--l svelte-1kb8g8n"),f(e,"role","tablist"),f(e,"id","tabsContainer")},m(N,D){R(N,e,D),w(e,t),w(t,n);for(let I=0;I<y.length;I+=1)y[I].m(n,null);w(e,l),w(e,r),w(r,s),w(s,o),w(o,c),w(o,g),w(o,h),w(h,_);for(let I=0;I<T.length;I+=1)T[I].m(_,null);m||(v=[ne(c,"click",Lt(i[10])),ne(s,"click",ly),ne(e,"toggleDropdownState",i[24])],m=!0)},p(N,D){if(D[0]&10477){S=Object.entries(N[0]);let I;for(I=0;I<S.length;I+=1){const L=cg(N,S,I);y[I]?y[I].p(L,D):(y[I]=Sg(L),y[I].c(),y[I].m(n,null))}for(;I<y.length;I+=1)y[I].d(1);y.length=S.length}if(D[0]&10477){C=Object.entries(N[0]);let I;for(I=0;I<C.length;I+=1){const L=og(N,C,I);T[I]?T[I].p(L,D):(T[I]=yg(L),T[I].c(),T[I].m(_,null))}for(;I<T.length;I+=1)T[I].d(1);T.length=C.length}D[0]&16&&p!==(p=!N[4])&&f(h,"aria-hidden",p)},d(N){N&&A(e),ft(y,N),ft(T,N),m=!1,Ze(v)}}}function $C(i){let e,t,n,l,r,s=i[11](i[34])+"",o,c,g,h,_,p,m,v,S,y,C,T,N;function D(){return i[18](i[34])}let I=i[35],L=[];for(let M=0;M<I.length;M+=1)L[M]=mg(dg(i,I,M));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 M=0;M<L.length;M+=1)L[M].c();y=G(),f(r,"class","label fd-tabs__tag svelte-1kb8g8n"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1kb8g8n"),f(l,"class","fd-tabs__link has-child svelte-1kb8g8n"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=ir(i[34],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[34]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1kb8g8n"),f(e,"uid",i[37]+"-0"),f(e,"isselected",C=ir(i[34],i[2]))},m(M,O){R(M,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 B=0;B<L.length;B+=1)L[B].m(v,null);w(e,y),T||(N=[ne(l,"click",Lt(D)),ne(e,"click",iy)],T=!0)},p(M,O){if(i=M,O[0]&2049&&s!==(s=i[11](i[34])+"")&&Pe(o,s),O[0]&5&&h!==(h=ir(i[34],i[2]))&&f(l,"aria-selected",h),O[0]&10309){I=i[35];let B;for(B=0;B<I.length;B+=1){const z=dg(i,I,B);L[B]?L[B].p(z,O):(L[B]=mg(z),L[B].c(),L[B].m(v,null))}for(;B<L.length;B+=1)L[B].d(1);L.length=I.length}O[0]&9&&S!==(S=!i[3][i[34]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=ir(i[34],i[2]))&&f(e,"isselected",C)},d(M){M&&A(e),ft(L,M),T=!1,Ze(N)}}}function xC(i){let e,t=i[35],n=[];for(let l=0;l<t.length;l+=1)n[l]=wg(hg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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]&10309){t=l[35];let s;for(s=0;s<t.length;s+=1){const o=hg(l,t,s);n[s]?n[s].p(o,r):(n[s]=wg(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 _g(i){let e,t=i[38].label&&pg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].label?t?t.p(n,l):(t=pg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function pg(i){let e,t,n,l=i[11](i[38].label)+"",r,s,o,c,g,h;function _(){return i[19](i[38])}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[13](i[38])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[38]===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=ne(t,"click",Lt(_)),g=!0)},p(p,m){i=p,m[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),m[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),m[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function mg(i){let e,t=!i[38].hideFromNav&&_g(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=_g(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function bg(i){let e,t=i[38].label&&vg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].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[11](i[38].label)+"",r,s,o,c,g,h,_,p;function m(){return i[17](i[38])}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[13](i[38])),f(t,"role","tab"),f(t,"aria-selected",o=i[38]===i[2]),f(e,"class",g="fd-tabs__item "+(i[38]===i[2]?"is-selected":"")+" svelte-1kb8g8n"),f(e,"uid",i[37]+"-"+i[40]),f(e,"isselected",h=i[38]===i[2])},m(v,S){R(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=ne(t,"click",Lt(m)),_=!0)},p(v,S){i=v,S[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),S[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),S[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[38]===i[2]?"is-selected":"")+" svelte-1kb8g8n")&&f(e,"class",g),S[0]&5&&h!==(h=i[38]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function wg(i){let e,t=!i[38].hideFromNav&&bg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[38].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;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[34]==="undefined"||s[34].indexOf(s[5])===0),e?xC:$C}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ey(i){let e,t,n,l,r=i[11](i[34])+"",s,o,c,g,h,_,p,m,v,S,y,C,T,N;function D(){return i[21](i[34],i[37])}function I(){return i[22](i[34],i[37])}let L=i[35],M=[];for(let O=0;O<L.length;O+=1)M[O]=kg(ug(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<M.length;O+=1)M[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[37]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[34]+i[37]]),f(n,"aria-selected",c=ir(i[34],i[2])),f(_,"class",p=i[3][i[34]+i[37]]?"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[34]+i[37]]),f(t,"class","fd-nested-list__content has-child svelte-1kb8g8n"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[34]+i[37]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[37]+"-0")},m(O,B){R(O,e,B),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 z=0;z<M.length;z+=1)M[z].m(S,null);w(e,C),T||(N=[ne(n,"click",Lt(D)),ne(h,"click",Lt(I))],T=!0)},p(O,B){if(i=O,B[0]&2049&&r!==(r=i[11](i[34])+"")&&Pe(s,r),B[0]&9&&o!==(o=i[3][i[34]+i[37]])&&f(n,"aria-expanded",o),B[0]&5&&c!==(c=ir(i[34],i[2]))&&f(n,"aria-selected",c),B[0]&9&&p!==(p=i[3][i[34]+i[37]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),B[0]&9&&m!==(m=i[3][i[34]+i[37]])&&f(h,"aria-expanded",m),B[0]&10309){L=i[35];let z;for(z=0;z<L.length;z+=1){const ue=ug(i,L,z);M[z]?M[z].p(ue,B):(M[z]=kg(ue),M[z].c(),M[z].m(S,null))}for(;z<M.length;z+=1)M[z].d(1);M.length=L.length}B[0]&9&&y!==(y=!i[3][i[34]+i[37]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ft(M,O),T=!1,Ze(N)}}}function ty(i){let e,t=i[35],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cg(fg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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]&10309){t=l[35];let s;for(s=0;s<t.length;s+=1){const o=fg(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 kg(i){let e,t,n,l=i[11](i[38].label)+"",r,s,o,c,g,h;function _(){return i[23](i[38])}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[13](i[38])),f(t,"aria-selected",o=i[38]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[37])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",Lt(_)),g=!0)},p(p,m){i=p,m[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),m[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),m[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Cg(i){let e,t,n,l=i[11](i[38].label)+"",r,s,o,c,g,h;function _(){return i[20](i[38])}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[13](i[38])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[38]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[37]+"-"+i[40])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",Lt(_)),g=!0)},p(p,m){i=p,m[0]&2049&&l!==(l=i[11](i[38].label)+"")&&Pe(r,l),m[0]&1&&s!==(s=i[13](i[38]))&&f(t,"href",s),m[0]&5&&o!==(o=i[38]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function yg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[34]==="undefined"||s[34].indexOf(s[5])===0),e?ty:ey}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 ny(i){let e,t,n,l=i[0]&&i[1].length>1&&gg(i);return{c(){l&&l.c(),e=Ce()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[ne(yo,"click",i[8]),ne(yo,"blur",i[8]),ne(yo,"resize",i[9])],t=!0)},p(r,s){r[0]&&r[1].length>1?l?l.p(r,s):(l=gg(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function ir(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const iy=i=>i.stopPropagation(),ly=i=>i.stopPropagation();function ry(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=Te.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=vt("getTranslation");pi(i,y,le=>t(11,n=le));const C={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:le=>{le&&Object.getOwnPropertyNames(le).forEach(we=>{we==="pathData"?t(1,r=le.pathData):we==="context"?context=le.context:we==="children"?t(0,l=le.children):we==="selectedNode"?h=le.selectedNode:we==="selectedNodeForTabNav"&&t(2,_=le.selectedNodeForTabNav)})}},T=Wt(),N=async()=>{const le=C.get(),we=await Vt.getTabNavData({...le},le);!we||(C.set({...we}),o=r,window.LEFTNAVDATA=we.groupedChildren,setTimeout(D))},D=()=>{I();let le=document.getElementsByClassName("luigi-tabsContainer")[0],we=document.getElementsByClassName("luigi-tabsMoreButton")[0],fe=document.getElementsByClassName("luigi__more")[0],Ne,x=0,_e=!1,me,ie;fe&&fe.setAttribute("aria-selected","false"),le&&(Ne=le.offsetWidth,[...le.children].forEach(Le=>{me=Le.currentStyle||window.getComputedStyle(Le),ie=parseFloat(me.marginLeft)+parseFloat(me.marginRight),x+=Le.offsetWidth+ie;let pe=Le.getAttribute("uid");x>=Ne?(Le.classList.add("hide_element"),Le.getAttribute("isSelected")==="true"&&fe.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+pe+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+pe+'"]').classList.add("hide_element")}),_e?we.classList.remove("hide_element"):we.classList.add("hide_element"))},I=()=>{let le=document.getElementsByClassName("luigi-tabsContainer")[0];le!==void 0&&[...le.children].forEach(fe=>{fe.classList.remove("hide_element")})};Jt(()=>{t(14,c=re.getConfigBooleanValue("settings.hideNavigation"))}),Vn(()=>{(!o||o!=r)&&N(),(S===void 0||S!==v)&&(S=v,N())});function L(le){return be.getNodeHref(le,s)}function M(le){B(),T("handleClick",{node:le})}function O(le){let we={};p[le]||(we[le]=!0),t(3,p=we)}function B(){t(3,p={}),t(4,m=!1)}function z(){I(),D()}function ue(){t(4,m=!m)}const X=le=>M(le),Q=le=>O(le),ce=le=>M(le),ke=le=>M(le),H=(le,we)=>O(le+we),ae=(le,we)=>O(le+we),$=le=>M(le),J=le=>O(le.name);return i.$$set=le=>{"children"in le&&t(0,l=le.children),"pathData"in le&&t(1,r=le.pathData),"pathParams"in le&&t(15,s=le.pathParams),"hideNavComponent"in le&&t(14,c=le.hideNavComponent),"virtualGroupPrefix"in le&&t(5,g=le.virtualGroupPrefix),"selectedNodeForTabNav"in le&&t(2,_=le.selectedNodeForTabNav),"dropDownStates"in le&&t(3,p=le.dropDownStates),"isMoreBtnExpanded"in le&&t(4,m=le.isMoreBtnExpanded),"resizeTabNavToggle"in le&&t(16,v=le.resizeTabNavToggle)},[l,r,_,p,m,g,M,O,B,z,ue,n,y,L,c,s,v,X,Q,ce,ke,H,ae,$,J]}class sy extends Rt{constructor(e){super(),At(this,e,ry,ny,Nt,{children:0,pathData:1,pathParams:15,hideNavComponent:14,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:16,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 Pg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ng(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ig(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Tg(i),o=i[0]&&i[3].length>0&&Eg(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=Tg(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=Eg(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 Tg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Rg(Ng(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=Ng(l,t,s);n[s]?n[s].p(o,r):(n[s]=Rg(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 Lg(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&&Ag(i);function T(...N){return i[18](i[24],...N)}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(N,D){R(N,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=ne(t,"click",T),S=!0)},p(N,D){i=N,i[24].icon?C?C.p(i,D):(C=Ag(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(N){N&&A(e),C&&C.d(),S=!1,y()}}}function Ag(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?oy:ay}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(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&&!lt(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 oy(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 Rg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Lg(i);return{c(){t&&t.c(),e=Ce()},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=Lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Eg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Mg(Pg(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=Pg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Mg(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 Dg(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&&Vg(i);function T(){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(N,D){R(N,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=ne(n,"click",Lt(T)),S=!0)},p(N,D){i=N,i[24].icon?C?C.p(i,D):(C=Vg(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(N){N&&A(e),C&&C.d(),S=!1,y()}}}function Vg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?fy:uy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(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&&!lt(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 fy(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 Mg(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Dg(i);return{c(){t&&t.c(),e=Ce()},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=Dg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function cy(i){let e,t,n,l=i[2]&&Ig(i);return{c(){l&&l.c(),e=Ce()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[ne(window,"click",da),ne(window,"blur",da)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Ig(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function da(){}function dy(i,e,t){let n;const l=Wt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=vt("store"),_=vt("getTranslation");pi(i,_,z=>t(7,n=z));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=re.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const z=await Te.generateTopNavNodes(r);t(0,c=z.children),t(1,g=z.selectedNode),s=r}};Jt(()=>{Mn.doOnStoreChange(h,()=>{t(14,m=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Vn(()=>{(!s||s!=r)&&y(),t(6,S=re.getConfigBooleanValue("navigation.addNavHrefs"))});function C(z){return Te.renderIconClassName(z)}function T(z){return Te.isOpenUIiconName(z.icon)}function N(z){return dt.getTranslation(z.label)}function D(z){return z.testId?z.testId:Te.prepareForTests(z.pathSegment,z.label)}function I(z){return be.getNodeHref(z,o)}function L(z){l("handleClick",{node:z})}function M(z){L(z.detail.node)}const O=(z,ue)=>{Te.handleNavAnchorClickedWithoutMetaKey(ue)&&L(z)},B=z=>L(z);return i.$$set=z=>{"pathData"in z&&t(3,r=z.pathData),"pathParams"in z&&t(16,o=z.pathParams),"children"in z&&t(0,c=z.children),"selectedNode"in z&&t(1,g=z.selectedNode),"showGlobalNav"in z&&t(2,p=z.showGlobalNav),"hideNavComponent"in z&&t(14,m=z.hideNavComponent),"responsiveNavSetting"in z&&t(15,v=z.responsiveNavSetting)},[c,g,p,r,L,da,S,n,_,C,T,N,D,I,m,v,o,M,O,B]}class hy extends Rt{constructor(e){super(),At(this,e,dy,cy,Nt,{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 da}}function gy(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:Ue,i:Ue,o:Ue,d(t){t&&A(e),i[6](null)}}}function _y(i,e,t){const n=Wt();let{pathData:l}=e,r,s={},o,c=vt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};Jt(()=>{Mn.doOnStoreChange(c,()=>{},["navigation"])}),Vn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(T=>{T.showBreadcrumbs===!1?t(1,g=!1):T.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let T=[];const N=C.omitRoot?2:1,D=nt.getCurrentPath();for(let I=N;I<l.length;I++){const L=l[I],M=be.mapPathToNode(D,L);if(s[M])T.push(s[M]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)T.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?dt.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:M,pending:!0});else{const O=await v(L);O&&T.push({label:O,node:L,route:M})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,T,m),T=[];for(let I=N;I<l.length;I++){const L=l[I],M=be.mapPathToNode(D,L);if(L.titleResolver){const B=await Vt.extractDataFromPath(M),z=be.substituteDynamicParamsInObject(Object.assign({},B.pathData.context,L.context),B.pathData.pathParams);try{const ue=await Te.fetchNodeTitleData(L,z);T.push({label:ue.label,node:L,route:M});continue}catch{}}const O=await v(L);O&&T.push({label:O,node:L,route:M})}D===nt.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),T.length>1?(T[T.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,T,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},T.map(I=>{s[I.route]=I}))}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 T=be.mapPathToNode(nt.getCurrentPath(),C),N=await Vt.extractDataFromPath(T);return be.getDynamicNodeValue(C,N.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 py extends Rt{constructor(e){super(),At(this,e,_y,gy,Nt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";Cn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),To="disabled"):i.data==="luigi.tpcEnabled"&&(To="enabled")},!1);function my(){return To}const{Boolean:by,window:vy}=Mi;function Og(i,e,t){const n=i.slice();return n[143]=e[t],n[145]=t,n}function Fg(i){let e,t;return e=new N2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Ug(i){let e,t;function n(){return i[68](i[145])}function l(...s){return i[69](i[145],...s)}function r(...s){return i[70](i[145],...s)}return e=new N_({props:{settings:i[143].mfModal.settings,nodepath:i[143].mfModal.nodepath,modalIndex:i[145],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ge(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[143].mfModal.settings),o[0]&268435456&&(c.nodepath=i[143].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){K(e.$$.fragment,s),t=!1},d(s){qe(e,s)}}}function Bg(i){let e,t,n=i[143].mfModal.displayed&&Ug(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[143].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&U(n,1)):(n=Ug(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(De(),K(n,1,1,()=>{n=null}),Ve())},i(l){t||(U(n),t=!0)},o(l){K(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Wg(i){let e,t;return e=new N_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[wy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ge(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]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function wy(i){let e,t;return e=new Xr({props:{area:"drawer",disable:i[13]}}),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Hg(i){let e,t;return e=new R2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function zg(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 Y2({props:r}),$e.push(()=>bt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ge(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],mt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){K(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function qg(i){let e,t;return e=new eS({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(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Sy(i){let e,t,n,l,r,s,o,c,g;t=new Xr({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&qg(i);return{c(){e=k("div"),Ge(t.$$.fragment),n=G(),l=k("div"),r=G(),h&&h.c(),s=Ce(),f(l,"class","wcContainer svelte-1tqo7n8"),f(e,"class","fd-page iframeContainer svelte-1tqo7n8"),f(e,"tabindex","0"),di(e,"lui-split-view",i[12].displayed),di(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=pw(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&di(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&di(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=qg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(De(),K(h,1,1,()=>{h=null}),Ve())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){K(t.$$.fragment,_),K(h),o=!1},d(_){_&&A(e),qe(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function Gg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1tqo7n8" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1tqo7n8"></div>
|
|
62
62
|
<div class="fd-busy-indicator__circle svelte-1tqo7n8"></div>
|
|
63
|
-
<div class="fd-busy-indicator__circle svelte-1tqo7n8"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1tqo7n8"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Rl(()=>{n&&n.end(1),t=c_(e,ua,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=d_(e,ua,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function Kg(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 XC({props:S}),$e.push(()=>bt(e,"isSearchFieldVisible",g)),$e.push(()=>bt(e,"displaySearchResult",h)),$e.push(()=>bt(e,"displayCustomSearchResult",_)),$e.push(()=>bt(e,"searchResult",p)),$e.push(()=>bt(e,"inputElem",m)),$e.push(()=>bt(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(){Ge(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const T={};C[0]&32768&&(T.pathData=y[15]),C[0]&16384&&(T.pathParams=y[14]),C[0]&524288&&(T.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,T.isSearchFieldVisible=y[0],mt(()=>t=!1)),!n&&C[0]&8&&(n=!0,T.displaySearchResult=y[3],mt(()=>n=!1)),!l&&C[0]&16&&(l=!0,T.displayCustomSearchResult=y[4],mt(()=>l=!1)),!r&&C[0]&32&&(r=!0,T.searchResult=y[5],mt(()=>r=!1)),!s&&C[0]&2&&(s=!0,T.inputElem=y[1],mt(()=>s=!1)),!o&&C[0]&4&&(o=!0,T.luigiCustomSearchRenderer__slot=y[2],mt(()=>o=!1)),e.$set(T)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){K(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function Jg(i){let e,t,n,l;e=new hy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&jg(i);return{c(){Ge(e.$$.fragment),t=G(),r&&r.c(),n=Ce()},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=jg(s),r.c(),U(r,1),r.m(n.parentNode,n)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){K(e.$$.fragment,s),K(r),l=!1},d(s){qe(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function jg(i){let e,t;return e=new py({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Yg(i){let e,t;return e=new LS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Qg(i){let e,t;return e=new sy({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function ky(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Fg(i),T=i[28],N=[];for(let Q=0;Q<T.length;Q+=1)N[Q]=Bg(Og(i,T,Q));const D=Q=>K(N[Q],1,1,()=>{N[Q]=null});let I=i[29].displayed&&i[29].settings.isDrawer&&Wg(i),L=i[27].displayed&&Hg(i),M=i[18].displayed&&zg(i);o=new Xr({props:{disable:i[13],$$slots:{default:[Sy]},$$scope:{ctx:i}}});let O=i[11]&&Gg(),B=!i[25]&&Kg(i),z=!i[21]&&Jg(i),ue=!(i[21]||i[22])&&Yg(i),X=i[16]&&!i[21]&&Qg(i);return{c(){e=k("div"),C&&C.c(),t=G();for(let Q=0;Q<N.length;Q+=1)N[Q].c();n=G(),I&&I.c(),l=G(),L&&L.c(),r=G(),M&&M.c(),s=G(),Ge(o.$$.fragment),c=G(),O&&O.c(),g=G(),B&&B.c(),h=G(),z&&z.c(),_=G(),ue&&ue.c(),p=G(),X&&X.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-1tqo7n8"),f(e,"configversion",i[24])},m(Q,ce){R(Q,e,ce),C&&C.m(e,null),w(e,t);for(let ke=0;ke<N.length;ke+=1)N[ke].m(e,null);w(e,n),I&&I.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),M&&M.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),B&&B.m(e,null),w(e,h),z&&z.m(e,null),w(e,_),ue&&ue.m(e,null),w(e,p),X&&X.m(e,null),v=!0,S||(y=ne(vy,"resize",i[35]),S=!0)},p(Q,ce){if(Q[26]&&Q[26].length?C?(C.p(Q,ce),ce[0]&67108864&&U(C,1)):(C=Fg(Q),C.c(),U(C,1),C.m(e,t)):C&&(De(),K(C,1,1,()=>{C=null}),Ve()),ce[0]&268443648|ce[1]&896){T=Q[28];let H;for(H=0;H<T.length;H+=1){const ae=Og(Q,T,H);N[H]?(N[H].p(ae,ce),U(N[H],1)):(N[H]=Bg(ae),N[H].c(),U(N[H],1),N[H].m(e,n))}for(De(),H=T.length;H<N.length;H+=1)D(H);Ve()}Q[29].displayed&&Q[29].settings.isDrawer?I?(I.p(Q,ce),ce[0]&536870912&&U(I,1)):(I=Wg(Q),I.c(),U(I,1),I.m(e,l)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),Q[27].displayed?L?(L.p(Q,ce),ce[0]&134217728&&U(L,1)):(L=Hg(Q),L.c(),U(L,1),L.m(e,r)):L&&(De(),K(L,1,1,()=>{L=null}),Ve()),Q[18].displayed?M?(M.p(Q,ce),ce[0]&262144&&U(M,1)):(M=zg(Q),M.c(),U(M,1),M.m(e,s)):M&&(De(),K(M,1,1,()=>{M=null}),Ve());const ke={};ce[0]&8192&&(ke.disable=Q[13]),ce[0]&12288|ce[4]&4194304&&(ke.$$scope={dirty:ce,ctx:Q}),o.$set(ke),Q[11]?O?ce[0]&2048&&U(O,1):(O=Gg(),O.c(),U(O,1),O.m(e,g)):O&&(De(),K(O,1,1,()=>{O=null}),Ve()),Q[25]?B&&(De(),K(B,1,1,()=>{B=null}),Ve()):B?(B.p(Q,ce),ce[0]&33554432&&U(B,1)):(B=Kg(Q),B.c(),U(B,1),B.m(e,h)),Q[21]?z&&(De(),K(z,1,1,()=>{z=null}),Ve()):z?(z.p(Q,ce),ce[0]&2097152&&U(z,1)):(z=Jg(Q),z.c(),U(z,1),z.m(e,_)),Q[21]||Q[22]?ue&&(De(),K(ue,1,1,()=>{ue=null}),Ve()):ue?(ue.p(Q,ce),ce[0]&6291456&&U(ue,1)):(ue=Yg(Q),ue.c(),U(ue,1),ue.m(e,p)),Q[16]&&!Q[21]?X?(X.p(Q,ce),ce[0]&2162688&&U(X,1)):(X=Qg(Q),X.c(),U(X,1),X.m(e,null)):X&&(De(),K(X,1,1,()=>{X=null}),Ve()),(!v||ce[0]&48234496&&m!==(m=(Q[21]?"no-nav":"")+" "+(Q[22]?"no-side-nav":"")+" "+(Q[25]?"no-top-nav":"")+" "+(Q[23]?"no-animation":"")+" svelte-1tqo7n8"))&&f(e,"class",m),(!v||ce[0]&16777216)&&f(e,"configversion",Q[24])},i(Q){if(!v){U(C);for(let ce=0;ce<T.length;ce+=1)U(N[ce]);U(I),U(L),U(M),U(o.$$.fragment,Q),U(O),U(B),U(z),U(ue),U(X),v=!0}},o(Q){K(C),N=N.filter(by);for(let ce=0;ce<N.length;ce+=1)K(N[ce]);K(I),K(L),K(M),K(o.$$.fragment,Q),K(O),K(B),K(z),K(ue),K(X),v=!1},d(Q){Q&&A(e),C&&C.d(),ft(N,Q),I&&I.d(),L&&L.d(),M&&M.d(),qe(o),O&&O.d(),B&&B.d(),z&&z.d(),ue&&ue.d(),X&&X.d(),S=!1,y()}}}function Cy(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,T,N,D,I,L,M,O,B,z,ue,X,Q,ce=!0,ke=!1,H,ae,$,J=[],le={isDirty:!1,persistUrl:null},we,fe,Ne=!1,x,_e,me={},ie,{isSearchFieldVisible:Ee}=e,{inputElem:Le}=e,{luigiCustomSearchRenderer__slot:pe}=e,{displaySearchResult:et}=e,{displayCustomSearchResult:Ot=!0}=e,{searchResult:jt}=e,{storedUserSettings:Et}=e,On;const Oi=async F=>{const oe=F.iframe.luigi,Oe=oe.currentNode&&oe.currentNode.userSettingsGroup,Je=await re.readUserSettings(),Be=Oe&&typeof Je=="object"&&Je!==null,Se=Ie.applyCoreStateData({isNavigateBack:ke,viewStackSize:J.length,clientPermissions:oe.nextViewUrl?oe.nextClientPermissions:oe.clientPermissions,userSettings:Be?Je[Oe]:null,anchor:il.getAnchor()});return Ie.specialIframeTypes.map(Fe=>Fe.iframeConfigKey).forEach(Fe=>{Se[Fe]=F[Fe]||!1}),Se},zt=async(F,oe={})=>{if(!F.iframe){console.debug("iframe does not exist, not able to send context.");return}const Oe={msg:"luigi.init",context:JSON.stringify(Object.assign({},F.context||D,oe)),nodeParams:JSON.stringify(Object.assign({},F.nodeParams||I)),pathParams:JSON.stringify(Object.assign({},F.pathParams||L)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(F.iframe.luigi.currentNode))),internal:JSON.stringify(await Oi(F)),authData:ll.getStoredAuthData()};F.iframe.luigi._lastUpdatedMessage=Oe,Ie.sendMessageToIframe(F.iframe,Oe)},mi=F=>{const oe={msg:"luigi.auth.tokenIssued",authData:F};Ie.broadcastMessageToAllIframes(oe)},Fi=(F,oe)=>{if(F.params.preserveView||F.params.viewgroup){const Oe=rn(F.params),Je=nt.getNodePath(O,M);J.push({path:oe.iframe.luigi&&oe.iframe.luigi.pathParams?ee.replaceVars(Je,oe.iframe.luigi.pathParams,":",!1):Je,nextPath:Oe.startsWith("/")?Oe:"/"+Oe,context:D}),oe.iframe.pv="pv"}},xt=(F,oe,Oe,Je)=>{let Be=rn(F.params,Oe,Je);const{preventHistoryEntry:Se,preserveQueryParams:Fe,preventContextUpdate:_t}=F.params,Tt={keepBrowserHistory:!Se,navSync:ce,preventContextUpdate:_t};return Be=ee.addLeadingSlash(Be),Be=Fe?be.composeSearchParamsToRoute(Be):Be,Fi(F,oe),nt.navigateTo(Be,Tt)},Yt=F=>F.split("?")[0],Xn=(F,oe)=>{if(F.length===0)return!1;const Oe=oe.startsWith("/")?oe:`/${oe}`,Je=[...F].pop();return[Yt(Je.path),Yt(Je.nextPath)].includes(Yt(Oe))},ct=F=>new Promise((oe,Oe)=>{Ol(F)?ki().then(()=>{le&&le.dirtySet&&(F?le.dirtySet.delete(F):le.dirtySet.clear()),oe()},()=>{Oe()}):oe()}),dn=()=>({get:()=>({unsavedChanges:le,hideNav:wi,viewUrl:B,nodeParams:I,viewGroup:z,urlParamsRaw:M,currentNode:O,navigationPath:ae,context:D,pathParams:L,hideSideNav:Bi,isolateView:ue,pageErrorHandler:X,previousNodeValues:Q,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:T,showLoadingIndicator:s,tabNav:fe,isNavigateBack:ke,goBackContext:H,isNavigationSyncEnabled:ce}),set:F=>{F&&(t(23,Si=!1),Object.getOwnPropertyNames(F).forEach(oe=>{oe==="hideNav"?t(21,wi=F.hideNav):oe==="viewUrl"?B=F.viewUrl:oe==="nodeParams"?I=F.nodeParams:oe==="viewGroup"?z=F.viewGroup:oe==="urlParamsRaw"?M=F.urlParamsRaw:oe==="currentNode"?O=F.currentNode:oe==="navigationPath"?t(15,ae=F.navigationPath):oe==="context"?D=F.context:oe==="pathParams"?t(14,L=F.pathParams):oe==="hideSideNav"?(Bi!=F.hideSideNav&&(t(23,Si=!0),setTimeout(()=>{const Oe=document.querySelector("#app");Oe&&Oe.classList.remove("no-animation")})),t(22,Bi=F.hideSideNav)):oe==="isolateView"?ue=F.isolateView:oe==="pageErrorHandler"?X=F.pageErrorHandler:oe==="previousNodeValues"?Q=F.previousNodeValues:oe==="mfSplitView"?t(12,o=F.mfSplitView):oe==="splitViewValues"?c=F.splitViewValues:oe==="splitViewIframe"?y=F.splitViewIframe:oe=="splitViewWC"?T=F.splitViewWC:oe==="showLoadingIndicator"?t(11,s=F.showLoadingIndicator):oe==="tabNav"?t(16,fe=F.tabNav):oe==="isNavigateBack"?ke=F.isNavigateBack:oe==="goBackContext"?H=F.goBackContext:oe==="isNavigationSyncEnabled"&&(ce=F.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ol,getUnsavedChangesModalPromise:ct,showUnsavedChangesModal:ki,showAlert:fl,prepareInternalData:Oi,dispatch:n}),$n=(F,oe)=>{Mn.doOnStoreChange(l,()=>{En.deleteCache();const Oe=nt.getCurrentPath();nt.handleRouteChange(Oe,dn(),F,oe)},["navigation.nodes"]),be.addRouteChangeListener((Oe,Je)=>{const{withoutSync:Be,preventContextUpdate:Se}=Je||{};Xn(J,Oe)||(J=[],Qn.removeInactiveIframes(F));for(let _t=gt.length;_t--;)si(_t);Zr.removeBackdrop(),vi(),nt.handleRouteChange(Oe,dn(),F,oe,Be,Se)})},ln=(F,oe)=>ee.replaceVars(nt.getNodePath(F),oe,":",!1),rn=(F,oe,Oe)=>{const Je=oe||O,Be=Oe||L;let Se=ae;if(oe){let _t=oe.parent;for(Se=[oe];_t;)Se.push(_t),_t=_t.parent;Se=[...Se].reverse()}let Fe=F.link;if(F.fromVirtualTreeRoot){const _t=[...Se].reverse().find(Tt=>Tt.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Fe=nt.concatenatePath(ln(_t,Be),F.link)}else if(F.fromParent)Fe=nt.concatenatePath(ln(Je.parent,Be),F.link);else if(F.fromClosestContext){const _t=[...Se].reverse().find(Tt=>Tt.navigationContext&&Tt.navigationContext.length>0);Fe=nt.concatenatePath(ln(_t,Be),F.link)}else if(F.fromContext){const _t=F.fromContext,Tt=[...Se].reverse().find(Pr=>_t===Pr.navigationContext);Fe=nt.concatenatePath(ln(Tt,Be),F.link)}else F.intent?Fe=be.getIntentPath(F.link):F.relative&&(Fe=nt.concatenatePath(ln(Je,Be),F.link));return F.nodeParams&&Object.keys(F.nodeParams).length>0&&(Fe+=Fe.includes("?")?"&":"?",Object.entries(F.nodeParams).forEach((_t,Tt)=>{Fe+=encodeURIComponent(be.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Tt<Object.keys(F.nodeParams).length-1?"&":"")})),Fe},Fn=F=>{const oe=F.detail.node;ct().then(()=>{if(Ml(),oe.openNodeInModal){const Oe=be.buildRoute(oe,`/${oe.pathSegment}`);pl(Oe,oe.openNodeInModal===!0?{}:oe.openNodeInModal)}else if(oe.drawer){const Oe=be.buildRoute(oe,`/${oe.pathSegment}`);oe.drawer.isDrawer=!0,It(Oe,oe.drawer)}else dn().set({isNavigationSyncEnabled:!0}),nt.handleRouteClick(oe,dn())})},bi=()=>{t(17,Ne=!Ne)};Kr("handleNavigation",xt);const sn=F=>F?!0:(console.warn("No search provider defined."),!1),te=()=>{sn(_e)&&t(0,Ee=!1)},Me=()=>{sn(_e)&&Le&&(t(0,Ee=!0),Le.focus())},ht=()=>{sn(_e)&&Le&&(t(1,Le.value="",Le),ri())},Ct=()=>{t(0,Ee=!Ee),Xw.clearSearchField()},yt=()=>{if(sn(_e)&&Le)return Le.value},wt=F=>{sn(_e)&&Le&&(t(1,Le.value=F,Le),ee.isFunction(_e.onInput)?_e.onInput():console.error("onInput is not a function. Please check the global search configuration."))},on=F=>{sn(_e)&&Le&&t(1,Le.placeholder=F,Le)},yn=F=>{if(sn(_e))if(F&&F.length>0)if(ee.isFunction(_e.customSearchResultRenderer)){t(4,Ot=!0);let oe={fireItemSelected:Oe=>{_e.onSearchResultItemSelected(Oe)}};_e.customSearchResultRenderer(F,pe,oe)}else t(3,et=!0),t(5,jt=F);else console.warn("Search result array is empty.")},ri=()=>{if(sn(_e)&&(t(3,et=!1),t(5,jt=[]),pe))for(;pe.lastElementChild;)pe.removeChild(pe.lastElementChild)},Ui=F=>{let oe=F.detail.node,Oe={params:{link:oe.link,nodeParams:oe.params}};xt(Oe)},ol=(F,oe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(dn(),F,oe)},vi=()=>{st.close(dn())},fr=()=>{st.collapse(dn()),t(12,o.collapsed=!0,o)},cr=()=>{st.expand(dn()),t(12,o.collapsed=!1,o)},dr=()=>o.displayed?o.collapsed:!1,hr=()=>o.displayed?!o.collapsed:!1,El=()=>o.displayed,gr=F=>{y=F.detail.splitViewIframe,C=F.detail.splitViewIframeData,t(12,o.collapsed=F.detail.collapsed,o)},_r=F=>{F.detail.displayed!==void 0&&t(12,o.displayed=F.detail.displayed,o),F.detail.collapsed!==void 0&&t(12,o.collapsed=F.detail.collapsed,o)},pr=F=>{T=F.detail.splitViewWC,F.detail.splitViewWCData,t(12,o.collapsed=F.detail.collapsed,o)};let wi,Bi,Si,Wi,Dl,Vl;const Ml=()=>{document.body.classList.remove("lui-leftNavToggle")},mr=()=>{Un();const F=window.innerWidth>=$t.desktopMinWidth&&Wi<$t.desktopMinWidth,oe=window.innerWidth<$t.desktopMinWidth&&Wi>=$t.desktopMinWidth;(F||oe)&&Ml(),Wi=window.innerWidth};let mn=[];const ul=(F,oe)=>{if(!(!F||!(F.length>0)))return F.filter(Oe=>Oe.settings.id===oe)[0]},fl=(F,oe=!1)=>{const Oe=re.getConfigValue("settings.customAlertHandler");if(ee.isFunction(Oe)){const Be=Oe(F,oe);if(Be!==!1)return Be}const Je=mn;return F.id||(F.id=ee.getRandomId()),F.id&&Je&&ul(Je,F.id)?(console.error(`The alert with id '${F.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(F.closeAfter&&setTimeout(()=>{ul(mn,F.id)&&cl(F.id)},F.closeAfter),new Promise((Be,Se)=>{t(26,mn=[...Je||[],{displayed:!0,settings:F,openFromClient:oe,promise:{resolve:Be}}])}))},cl=(F,oe)=>{const Oe=ul(mn,F);if(!Oe){console.error("An unexisting alert has been dismissed.",mn,F);return}if(t(26,mn=mn.filter(Je=>Je.settings.id!==F)),Oe.openFromClient){const Je=Qn.getActiveIframe($),Be={msg:"luigi.ux.alert.hide",id:F,dismissKey:oe};Ie.sendMessageToIframe(Je,Be)}else Oe.promise&&Oe.promise.resolve(oe||F)},br=F=>{cl(F.detail.id,F.detail.dismissKey)};let Hi;const dl=()=>{t(27,Hi={displayed:!1,content:{},openFromClient:!1,promise:null})};dl();const hl=(F,oe=!1,Oe)=>new Promise((Je,Be)=>{t(27,Hi={displayed:!0,settings:F,openFromClient:oe,promise:{resolve:Je,reject:Be},targetIframe:Oe})}),gl=F=>{const{promise:oe,openFromClient:Oe,targetIframe:Je}=Hi;if(dl(),F?oe.resolve():oe.reject(),Oe&&Je){const Be={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:F}};Ie.sendMessageToIframe(Je,Be)}},Ol=F=>{if(le.dirtySet){if(F)return le.dirtySet.has(F);if(le.dirtySet.size>0)return!0}return!1},ki=()=>hl({header:dt.getTranslation("luigi.unsavedChangesAlert.header"),body:dt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")}),vr=()=>le.dirtySet?le.dirtySet.size>0:le.isDirty;Kr("getUnsavedChangesModalPromise",ct);let gt=[];const _l=F=>{if(typeof F>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((oe,Oe)=>F!==Oe))};_l();const pl=async(F,oe)=>{if(await Te.shouldPreventNavigationForPath(F))return;const Oe={mfModal:{displayed:!0,nodepath:F,settings:oe}};t(28,gt=[...gt,Oe]),re.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&nt.appendModalDataToUrl(F,oe)},Fl=(F,oe)=>{t(28,gt[oe].modalIframe=F.detail.modalIframe,gt),t(28,gt[oe].modalIframeData=F.detail.modalIframeData,gt)},ml=(F,oe)=>{t(28,gt[oe].modalWC=F.detail.modalWC,gt),t(28,gt[oe].modalWCData=F.detail.modalWCData,gt)},si=(F,oe,Oe)=>{const Je=(Fe,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&nt.removeModalDataFromUrl(_t),_l(Fe)},Be=gt[F],Se=ee.getRemotePromise(Be.mfModal.settings.onClosePromiseId);Be&&Be.modalIframe?ct(Be.modalIframe.contentWindow).then(()=>{Je(F,oe),Se&&Se.doResolve(Oe)}):Be&&Be.modalWC&&(Je(F,oe),Se&&Se.doResolve(Oe))};Kr("openViewInModal",pl);let Ft={};const j=()=>{t(29,Ft.displayed=!1,Ft),t(29,Ft.nodepath=void 0,Ft),t(29,Ft.settings={},Ft),t(13,_=!1)};j();const It=async(F,oe)=>{await Te.shouldPreventNavigationForPath(F)||(t(29,Ft.displayed=!0,Ft),t(29,Ft.nodepath=F,Ft),t(29,Ft.settings=oe,Ft),Ft.settings&&Ft.settings.backdrop&&t(13,_=!0))},Pn=()=>window.innerWidth>=$t.desktopMinWidth&&Ft.displayed&&Ft.settings&&!Ft.settings.overlap,Un=()=>{if(!Pn())return;const F=document.querySelector(".iframeModalCtn._drawer"),oe=Ie.getCurrentMicrofrontendIframe();if(F&&oe){oe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Oe}=getComputedStyle(F),Je=oe.clientWidth;oe.setAttribute("style",`width: calc(${Je}px - ${Oe})`)}},xr=F=>{p=F.detail.modalIframe,m=F.detail.modalIframeData,Un()},es=F=>{v=F.detail.modalWC,F.detail.modalWCData,Un()},ts=F=>{h=F.detail.activeDrawer},bl=F=>{if(F&&F.detail&&F.detail.activeDrawer!==void 0&&(h=F.detail.activeDrawer),!h||F&&F.detail&&F.detail.type!=="modal")try{p?ct(p.contentWindow).then(()=>{j()}):v&&ct().then(()=>{j()}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(oe){console.log(oe)}},_a=()=>{const F=nr.processUserSettingGroups();Array.isArray(F)&&F.length>0?(t(18,me.userSettingGroups=[...F],me),t(18,me.displayed=!0,me)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,me.displayed=!1,me)},Ul=async F=>{if(await Te.shouldPreventNavigationForPath(F))return;re.getConfigValue("routing.useHashRouting")&&(F="#"+F),window.open(F,"_blank","noopener,noreferrer")},is=F=>{let oe=ae;if(O){let Be=O.parent;for(oe=[O];Be;)oe.push(Be),Be=Be.parent;oe=[...oe].reverse()}let Oe=F.link,Je=ln(O,L);if(F.fromVirtualTreeRoot){const Be=[...oe].reverse().find(Fe=>Fe.virtualTree);if(!Be){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const Se=ln(Be,L);Oe=Je.split(Se).join("")}else if(F.fromParent){const Be=ln(O.parent,L);Oe=Je.split(Be).join("")}else if(F.fromClosestContext){const Be=[...oe].reverse().find(Fe=>Fe.navigationContext&&Fe.navigationContext.length>0),Se=ln(Be,L);Oe=Je.split(Se).join("")}else if(F.fromContext){const Be=F.fromContext,Se=[...oe].reverse().find(_t=>Be===_t.navigationContext),Fe=ln(Se,L);Oe=Je.split(Fe).join("")}else Oe=Je;return Oe};function pa(F){sessionStorage.removeItem("historyState"),er.shouldPreload=!0,er.preload(!0),er.shouldPreload=!1;const oe=re.getConfigValue("navigation.defaults.isolateView"),Oe=re.getConfigValue("navigation.defaults.pageErrorHandler"),Je=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Be={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:oe,defaultPageErrorHandler:Oe};dt.addCurrentLocaleChangeListener(Se=>{const Fe={msg:"luigi.current-locale-changed",currentLocale:Se};Ie.broadcastMessageToAllIframes(Fe)}),Cn.addEventListener("popstate",async Se=>{const Fe=mn;if(!Fe||!(Fe.length>0))return;const _t=Fe.map(Tt=>{if(Tt&&!Tt.openFromClient&&typeof Tt.settings.ttl=="number"){if(Tt.settings.ttl===0)return null;Tt.settings.ttl--}return Tt}).filter(Tt=>Tt);t(26,mn=_t)}),Cn.addEventListener("message",async Se=>{const Fe=Ie.getValidMessageSource(Se),_t=gt[gt.length-1],Tt=_t&&_t.modalIframe,Pr=_t&&_t.modalIframeData,qi={modalIframe:Tt,modalIframeData:Pr,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:N};if(!Fe)return;Fe._ready=!0;const Nr=Ie.getSpecialIframeMessageSource(Se,qi),Gi=Nr&&Nr.length>0,Ir=re.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Gi&&Fe.contentWindow!==window&&!ee.isElementVisible(Fe)&&Ir.includes(Se.data.msg)){console.debug(`EVENT '${Se.data.msg}' from inactive iframe -> SKIPPED`);return}if(Se.data.msg==="custom"){const Ae=re.getConfigValue("communication.customMessagesListeners")||{},Ke=sa.convertCustomMessageInternalToUser(Se.data),Qt=Ae[Ke.id],Bn="luigi.updateUserSettings";if(me&&Ke.id===Bn){Qt&&console.warn(`The key "${Bn}" is not allowed to use for custom messages.`);return}if(typeof Qt=="function"){const ai=Dn.getMicrofrontends().find(Ki=>Ie.isMessageSource(Se,Ki.container));Qt(Ke,ai,ee.removeInternalProperties(Fe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Ke.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(Se.data.msg==="luigi.init.ok"&&(Fe.luigi.initOk=!0),Se.data.msg==="luigi.navigate.ok"&&(Fe.luigi.viewUrl=Fe.luigi.nextViewUrl,Fe.luigi.nextViewUrl="",Fe.luigi.clientPermissions=Fe.luigi.nextClientPermissions,delete Fe.luigi.nextClientPermissions,Be.navigateOk=!0,er.preload()),Se.data.msg==="luigi.get-context"){if(Fe.luigi.clientVersion=Se.data.clientVersion,Fe.luigi.initOk=!1,Gi)Nr.forEach(async Ae=>{let Ke=qi[Ae.dataKey].context;const Qt={...Be,iframe:qi[Ae.iframeKey],context:Ke,pathParams:qi[Ae.dataKey].pathParams,nodeParams:qi[Ae.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(qi[Ae.iframeKey].luigi.currentNode),modal:Ae.iframeKey.startsWith("modal"),drawer:Ae.iframeKey.startsWith("drawer"),splitView:Ae.iframeKey.startsWith("splitView")};await zt(Qt,{})});else if(Be.iframe&&Ie.isMessageSource(Se,Be.iframe))await zt(Be,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),er.preload();else if(Fe.luigi.preloading)await zt({iframe:Fe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ae=nr.findActiveCustomUserSettingsIframe(Se.source);if(Ae){let Ke=Ae.getAttribute("userSettingsGroup"),Qt={context:{userSettingsData:Et[Ke]},iframe:Ae};await zt(Qt)}}er.viewGroupLoaded(Fe)}if(Se.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),Se.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),Se.data.msg==="luigi.navigation.open"){ke=!1;const Ae=window.location.href,Ke=Gi?Fe.luigi.currentNode:void 0,Qt=Gi?Fe.luigi.pathParams:void 0,Bn=Se.data.params,{intent:ai,newTab:Ki,modal:vl,splitView:Tr,drawer:wl,withoutSync:Oo}=Bn;let qt=Ki||vl||Tr||wl;const Lr=()=>{const Ut=ee.getRemotePromise(Se.data.remotePromiseId);Ut&&Ut.doResolve()},Wn=()=>{const Ut=ee.getRemotePromise(Se.data.remotePromiseId);Ut&&Ut.doReject()},Ji=Ut=>{!Ut||Ae!==window.location.href?Lr():Wn()};Se.source!==window&&!ai&&Bn.link&&(Bn.link=Bn.link.split("?")[0]);let en=rn(Se.data.params,Ke,Qt);if(qt=qt||ai&&en.external,!qt)ct().then(()=>{ce=!Se.data.params.withoutSync,xt(Se.data,Be,Ke,Qt).then(()=>{Ji(!0)}).catch(()=>{Wn()}),gt.forEach((Ut,cs)=>{si(cs)}),vi(),bl(),ce=!0}).catch(()=>{Wn()});else{if(ai&&en.external){nt.navigateToExternalLink({url:en.url,sameWindow:!en.openInNewTab});return}if(en=ee.addLeadingSlash(en),Ki){await Ul(en),Ji();return}const Ut=await Sr(en);if(en=await be.handlePageNotFoundAndRetrieveRedirectPath(dn(),en,Ut),!en){Wn();return}$=F,vl!==void 0?(!vl.keepPrevious&&_l(),await pl(en,vl===!0?{}:vl),Ji()):Tr!==void 0?(await ol(en,Tr),Ji()):wl!==void 0&&(j(),wl.isDrawer=!0,await It(en,wl),Ji())}}if(Se.data.msg==="luigi.navigation.back"){const Ae=gt[gt.length-1],Ke=Se.data.goBackContext&&JSON.parse(Se.data.goBackContext);Ie.isMessageSource(Se,Ae&&Ae.modalIframe)?(si(gt.length-1,!0,Ke),Be.iframe&&await zt(Be,{goBackContext:Ke})):Ie.isMessageSource(Se,y)?(vi(),Be.iframe&&await zt(Be,{goBackContext:Ke})):Ie.isMessageSource(Se,p)?(h&&(h=!h),bl(),Be.iframe&&await zt(Be,{goBackContext:Ke})):J&&J.length>0?ct().then(()=>{Qn.setActiveIframeToPrevious(F);const Qt=J.pop();Be.iframe=Qn.getActiveIframe(F),ke=!0,J=J,H=Ke,xt({params:{link:Qt.path}},Be)}):(Ke&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(Se.data.msg==="luigi.navigation.currentRoute"){const Ae=Se.data.data,Qt={msg:"luigi.navigation.currentRoute.answer",data:{route:is(Ae),correlationId:Ae.id}};Ie.sendMessageToIframe(Fe,Qt)}if(Se.data.msg==="luigi.auth.tokenIssued"&&mi(Se.data.authData),Se.data.msg==="luigi.navigation.updateModalDataPath")if(Gi){const Ae=ee.addLeadingSlash(rn(Se.data.params,Fe.luigi.currentNode,Fe.luigi.pathParams));nt.updateModalDataInUrl(Ae,Se.data.params.modal,Se.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.");if(Se.data.msg==="luigi.navigation.pathExists"){const Ae=Fe.luigi.currentNode,Ke=Fe.luigi.pathParams,Qt=Se.data.data,Bn=rn(Qt,Ae,Ke),ai=Bn?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Bn):!1,Ki={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Qt.id,pathExists:ai?ai.isExistingRoute:!1}};Ie.sendMessageToIframe(Fe,Ki)}if(Se.data.msg==="luigi.set-page-dirty"){if(!le.dirtySet){const Ae=new Set;Ae.add(Se.source),le={dirtySet:Ae}}le.persistUrl=window.location.href,Se.data.dirty?le.dirtySet.add(Se.source):le.dirtySet.delete(Se.source)}if(Se.data.msg==="luigi.ux.confirmationModal.show"){const Ae=Se.data.data.settings;$=F,dl(),hl(Ae,!0,Fe).catch(()=>{})}if(Se.data.msg==="luigi.ux.alert.show"){const{settings:Ae}=Se.data.data;if(!Ae.text&&!ee.isFunction(re.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}$=F,fl(Ae,!0).catch(()=>{})}if(Se.data.msg==="luigi.ux.set-current-locale")if(Fe.luigi.clientPermissions&&Fe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ae}=Se.data.data;Ae&&dt.setCurrentLocale(Ae)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(x&&!x.thirdPartyCookieScriptLocation&&Se.data.msg==="luigi.third-party-cookie"&&Se.data.tpc==="disabled"&&wr(),Se.data.msg==="storage"&&S2.process(Fe.luigi.id,Se.origin,Se.data.data.id,Se.data.data.operation,Se.data.data.params),Se.data.msg==="luigi-runtime-error-handling"){let Ae=Fe.luigi.currentNode;Ae&&Ae.runTimeErrorHandler&&ee.isFunction(Ae.runTimeErrorHandler.errorFn)?Ae.runTimeErrorHandler.errorFn(Se.data.errorObj,Ae):Je&&ee.isFunction(Je.errorFn)&&Je.errorFn(Se.data.errorObj,Ae)}if(Se.data.msg==="luigi.addSearchParams")if(Fe.luigi.currentNode.clientPermissions&&Fe.luigi.currentNode.clientPermissions.urlParameters){const{data:Ae,keepBrowserHistory:Ke}=Se.data;be.addSearchParamsFromClient(Fe.luigi.currentNode,Ae,Ke)}else console.warn("No client permissions to add url parameter for this node.");if(Se.data.msg==="luigi.addNodeParams"){if(Gi)return;const{data:Ae,keepBrowserHistory:Ke}=Se.data;il.addNodeParams(Ae,Ke)}if(Se.data.msg==="luigi.setAnchor"){const{anchor:Ae}=Se.data;il.setAnchor(Ae)}}),$n(F,Be)}Kr("store",l),Kr("getTranslation",r);const wr=F=>{x&&x.thirdPartyCookieErrorHandling&&ee.isFunction(x.thirdPartyCookieErrorHandling)&&x.thirdPartyCookieErrorHandling()},Sr=async F=>{const oe={link:F,relative:F[0]!=="/",intent:be.hasIntent(F)},Oe=rn(oe),Je=Oe?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Oe):!1;return Je?Je.isExistingRoute:!1},kr=()=>gt.length>0||J.length!==0;Jt(()=>{if(y_._init(),_e=re.getConfigValue("globalSearch.searchProvider"),we=re.getConfigValue("settings.responsiveNavigation"),Wi=window.innerWidth,we==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Te.getBurgerTooltipConfig()){const[F,oe]=Te.getBurgerTooltipConfig();F&&oe&&t(19,ie=document.body.classList.contains("lui-leftNavToggle")?F:oe)}}else if(we==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Te.getBurgerTooltipConfig()){const[F,oe]=Te.getBurgerTooltipConfig();if(F&&oe){const Oe=JSON.parse(localStorage.getItem(Te.COL_NAV_KEY));t(19,ie=Oe?F:oe)}}document.body.classList.add("lui-semiCollapsible")}x=re.getConfigValue("settings.thirdPartyCookieCheck"),x&&x.thirdPartyCookieScriptLocation&&setTimeout(()=>{let F=document.createElement("iframe");F.width="0px",F.height="0px",F.src=x.thirdPartyCookieScriptLocation,document.body.appendChild(F),F.onload=function(){setTimeout(()=>{my()==="disabled"&&wr()}),document.body.removeChild(F)}})}),Eo(()=>{Un()}),Vn(()=>{t(20,On=ee.requestExperimentalFeature("breadcrumbs")),_e=re.getConfigValue("globalSearch.searchProvider"),t(24,Dl=re.getConfigValue("tag")),t(25,Vl=re.getConfigValue("settings.header.disabled"))});const ma=F=>si(F,!0),ls=(F,oe)=>Fl(oe,F),Cr=(F,oe)=>ml(oe,F),yr=()=>gl(!0),zi=()=>gl(!1);function rs(F){Et=F,t(6,Et)}function ss(F){Ee=F,t(0,Ee)}function ba(F){et=F,t(3,et)}function as(F){Ot=F,t(4,Ot)}function os(F){jt=F,t(5,jt)}function us(F){Le=F,t(1,Le)}function fs(F){pe=F,t(2,pe)}return i.$$set=F=>{"store"in F&&t(46,l=F.store),"getTranslation"in F&&t(47,r=F.getTranslation),"isSearchFieldVisible"in F&&t(0,Ee=F.isSearchFieldVisible),"inputElem"in F&&t(1,Le=F.inputElem),"luigiCustomSearchRenderer__slot"in F&&t(2,pe=F.luigiCustomSearchRenderer__slot),"displaySearchResult"in F&&t(3,et=F.displaySearchResult),"displayCustomSearchResult"in F&&t(4,Ot=F.displayCustomSearchResult),"searchResult"in F&&t(5,jt=F.searchResult),"storedUserSettings"in F&&t(6,Et=F.storedUserSettings)},[Ee,Le,pe,et,Ot,jt,Et,Ct,ri,Ui,ns,s,o,_,L,ae,fe,Ne,me,ie,On,wi,Bi,Si,Dl,Vl,mn,Hi,gt,Ft,Fn,bi,gr,_r,pr,mr,br,gl,Fl,ml,si,xr,es,ts,bl,pa,l,r,te,Me,ht,yt,wt,on,yn,ol,vi,fr,cr,dr,hr,El,fl,hl,vr,_a,Sr,kr,ma,ls,Cr,yr,zi,rs,ss,ba,as,os,us,fs]}class yy extends Rt{constructor(e){super(),At(this,e,Cy,ky,Nt,{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 Py=()=>{const{subscribe:i,update:e,reset:t}=rr({}),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)})}}},M_=Py(),Ny=Gw((i,e,t)=>dt.getTranslation(i,e,t));Luigi._store=M_;const Iy=()=>new Promise(i=>{dt._init(),nn.init().then(()=>{setTimeout(()=>{let e;Dn.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new yy({target:Dn.getLuigiContainer(),props:{store:M_,getTranslation:Ny}}),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()})})});re.setConfigCallbacks(Iy);
|
|
63
|
+
<div class="fd-busy-indicator__circle svelte-1tqo7n8"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1tqo7n8"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Rl(()=>{n&&n.end(1),t=c_(e,ua,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=d_(e,ua,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function Kg(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 XC({props:S}),$e.push(()=>bt(e,"isSearchFieldVisible",g)),$e.push(()=>bt(e,"displaySearchResult",h)),$e.push(()=>bt(e,"displayCustomSearchResult",_)),$e.push(()=>bt(e,"searchResult",p)),$e.push(()=>bt(e,"inputElem",m)),$e.push(()=>bt(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(){Ge(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const T={};C[0]&32768&&(T.pathData=y[15]),C[0]&16384&&(T.pathParams=y[14]),C[0]&524288&&(T.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,T.isSearchFieldVisible=y[0],mt(()=>t=!1)),!n&&C[0]&8&&(n=!0,T.displaySearchResult=y[3],mt(()=>n=!1)),!l&&C[0]&16&&(l=!0,T.displayCustomSearchResult=y[4],mt(()=>l=!1)),!r&&C[0]&32&&(r=!0,T.searchResult=y[5],mt(()=>r=!1)),!s&&C[0]&2&&(s=!0,T.inputElem=y[1],mt(()=>s=!1)),!o&&C[0]&4&&(o=!0,T.luigiCustomSearchRenderer__slot=y[2],mt(()=>o=!1)),e.$set(T)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){K(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function Jg(i){let e,t,n,l;e=new hy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&jg(i);return{c(){Ge(e.$$.fragment),t=G(),r&&r.c(),n=Ce()},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=jg(s),r.c(),U(r,1),r.m(n.parentNode,n)):r&&(De(),K(r,1,1,()=>{r=null}),Ve())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){K(e.$$.fragment,s),K(r),l=!1},d(s){qe(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function jg(i){let e,t;return e=new py({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Yg(i){let e,t;return e=new LS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Qg(i){let e,t;return e=new sy({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){Ge(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){K(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function ky(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Fg(i),T=i[28],N=[];for(let Q=0;Q<T.length;Q+=1)N[Q]=Bg(Og(i,T,Q));const D=Q=>K(N[Q],1,1,()=>{N[Q]=null});let I=i[29].displayed&&i[29].settings.isDrawer&&Wg(i),L=i[27].displayed&&Hg(i),M=i[18].displayed&&zg(i);o=new Xr({props:{disable:i[13],$$slots:{default:[Sy]},$$scope:{ctx:i}}});let O=i[11]&&Gg(),B=!i[25]&&Kg(i),z=!i[21]&&Jg(i),ue=!(i[21]||i[22])&&Yg(i),X=i[16]&&!i[21]&&Qg(i);return{c(){e=k("div"),C&&C.c(),t=G();for(let Q=0;Q<N.length;Q+=1)N[Q].c();n=G(),I&&I.c(),l=G(),L&&L.c(),r=G(),M&&M.c(),s=G(),Ge(o.$$.fragment),c=G(),O&&O.c(),g=G(),B&&B.c(),h=G(),z&&z.c(),_=G(),ue&&ue.c(),p=G(),X&&X.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-1tqo7n8"),f(e,"configversion",i[24])},m(Q,ce){R(Q,e,ce),C&&C.m(e,null),w(e,t);for(let ke=0;ke<N.length;ke+=1)N[ke].m(e,null);w(e,n),I&&I.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),M&&M.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),B&&B.m(e,null),w(e,h),z&&z.m(e,null),w(e,_),ue&&ue.m(e,null),w(e,p),X&&X.m(e,null),v=!0,S||(y=ne(vy,"resize",i[35]),S=!0)},p(Q,ce){if(Q[26]&&Q[26].length?C?(C.p(Q,ce),ce[0]&67108864&&U(C,1)):(C=Fg(Q),C.c(),U(C,1),C.m(e,t)):C&&(De(),K(C,1,1,()=>{C=null}),Ve()),ce[0]&268443648|ce[1]&896){T=Q[28];let H;for(H=0;H<T.length;H+=1){const ae=Og(Q,T,H);N[H]?(N[H].p(ae,ce),U(N[H],1)):(N[H]=Bg(ae),N[H].c(),U(N[H],1),N[H].m(e,n))}for(De(),H=T.length;H<N.length;H+=1)D(H);Ve()}Q[29].displayed&&Q[29].settings.isDrawer?I?(I.p(Q,ce),ce[0]&536870912&&U(I,1)):(I=Wg(Q),I.c(),U(I,1),I.m(e,l)):I&&(De(),K(I,1,1,()=>{I=null}),Ve()),Q[27].displayed?L?(L.p(Q,ce),ce[0]&134217728&&U(L,1)):(L=Hg(Q),L.c(),U(L,1),L.m(e,r)):L&&(De(),K(L,1,1,()=>{L=null}),Ve()),Q[18].displayed?M?(M.p(Q,ce),ce[0]&262144&&U(M,1)):(M=zg(Q),M.c(),U(M,1),M.m(e,s)):M&&(De(),K(M,1,1,()=>{M=null}),Ve());const ke={};ce[0]&8192&&(ke.disable=Q[13]),ce[0]&12288|ce[4]&4194304&&(ke.$$scope={dirty:ce,ctx:Q}),o.$set(ke),Q[11]?O?ce[0]&2048&&U(O,1):(O=Gg(),O.c(),U(O,1),O.m(e,g)):O&&(De(),K(O,1,1,()=>{O=null}),Ve()),Q[25]?B&&(De(),K(B,1,1,()=>{B=null}),Ve()):B?(B.p(Q,ce),ce[0]&33554432&&U(B,1)):(B=Kg(Q),B.c(),U(B,1),B.m(e,h)),Q[21]?z&&(De(),K(z,1,1,()=>{z=null}),Ve()):z?(z.p(Q,ce),ce[0]&2097152&&U(z,1)):(z=Jg(Q),z.c(),U(z,1),z.m(e,_)),Q[21]||Q[22]?ue&&(De(),K(ue,1,1,()=>{ue=null}),Ve()):ue?(ue.p(Q,ce),ce[0]&6291456&&U(ue,1)):(ue=Yg(Q),ue.c(),U(ue,1),ue.m(e,p)),Q[16]&&!Q[21]?X?(X.p(Q,ce),ce[0]&2162688&&U(X,1)):(X=Qg(Q),X.c(),U(X,1),X.m(e,null)):X&&(De(),K(X,1,1,()=>{X=null}),Ve()),(!v||ce[0]&48234496&&m!==(m=(Q[21]?"no-nav":"")+" "+(Q[22]?"no-side-nav":"")+" "+(Q[25]?"no-top-nav":"")+" "+(Q[23]?"no-animation":"")+" svelte-1tqo7n8"))&&f(e,"class",m),(!v||ce[0]&16777216)&&f(e,"configversion",Q[24])},i(Q){if(!v){U(C);for(let ce=0;ce<T.length;ce+=1)U(N[ce]);U(I),U(L),U(M),U(o.$$.fragment,Q),U(O),U(B),U(z),U(ue),U(X),v=!0}},o(Q){K(C),N=N.filter(by);for(let ce=0;ce<N.length;ce+=1)K(N[ce]);K(I),K(L),K(M),K(o.$$.fragment,Q),K(O),K(B),K(z),K(ue),K(X),v=!1},d(Q){Q&&A(e),C&&C.d(),ft(N,Q),I&&I.d(),L&&L.d(),M&&M.d(),qe(o),O&&O.d(),B&&B.d(),z&&z.d(),ue&&ue.d(),X&&X.d(),S=!1,y()}}}function Cy(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,T,N,D,I,L,M,O,B,z,ue,X,Q,ce=!0,ke=!1,H,ae,$,J=[],le={isDirty:!1,persistUrl:null},we,fe,Ne=!1,x,_e,me={},ie,{isSearchFieldVisible:Ee}=e,{inputElem:Le}=e,{luigiCustomSearchRenderer__slot:pe}=e,{displaySearchResult:et}=e,{displayCustomSearchResult:Ot=!0}=e,{searchResult:jt}=e,{storedUserSettings:Et}=e,On;const Oi=async F=>{const oe=F.iframe.luigi,Oe=oe.currentNode&&oe.currentNode.userSettingsGroup,Je=await re.readUserSettings(),Be=Oe&&typeof Je=="object"&&Je!==null,Se=Ie.applyCoreStateData({isNavigateBack:ke,viewStackSize:J.length,clientPermissions:oe.nextViewUrl?oe.nextClientPermissions:oe.clientPermissions,userSettings:Be?Je[Oe]:null,anchor:il.getAnchor()});return Ie.specialIframeTypes.map(Fe=>Fe.iframeConfigKey).forEach(Fe=>{Se[Fe]=F[Fe]||!1}),Se},zt=async(F,oe={})=>{if(!F.iframe){console.debug("iframe does not exist, not able to send context.");return}const Oe={msg:"luigi.init",context:JSON.stringify(Object.assign({},F.context||D,oe)),nodeParams:JSON.stringify(Object.assign({},F.nodeParams||I)),pathParams:JSON.stringify(Object.assign({},F.pathParams||L)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(F.iframe.luigi.currentNode))),internal:JSON.stringify(await Oi(F)),authData:ll.getStoredAuthData()};F.iframe.luigi._lastUpdatedMessage=Oe,Ie.sendMessageToIframe(F.iframe,Oe)},mi=F=>{const oe={msg:"luigi.auth.tokenIssued",authData:F};Ie.broadcastMessageToAllIframes(oe)},Fi=(F,oe)=>{if(F.params.preserveView||F.params.viewgroup){const Oe=rn(F.params),Je=nt.getNodePath(O,M);J.push({path:oe.iframe.luigi&&oe.iframe.luigi.pathParams?te.replaceVars(Je,oe.iframe.luigi.pathParams,":",!1):Je,nextPath:Oe.startsWith("/")?Oe:"/"+Oe,context:D}),oe.iframe.pv="pv"}},xt=(F,oe,Oe,Je)=>{let Be=rn(F.params,Oe,Je);const{preventHistoryEntry:Se,preserveQueryParams:Fe,preventContextUpdate:_t}=F.params,Tt={keepBrowserHistory:!Se,navSync:ce,preventContextUpdate:_t};return Be=te.addLeadingSlash(Be),Be=Fe?be.composeSearchParamsToRoute(Be):Be,Fi(F,oe),nt.navigateTo(Be,Tt)},Yt=F=>F.split("?")[0],Xn=(F,oe)=>{if(F.length===0)return!1;const Oe=oe.startsWith("/")?oe:`/${oe}`,Je=[...F].pop();return[Yt(Je.path),Yt(Je.nextPath)].includes(Yt(Oe))},ct=F=>new Promise((oe,Oe)=>{Ol(F)?ki().then(()=>{le&&le.dirtySet&&(F?le.dirtySet.delete(F):le.dirtySet.clear()),oe()},()=>{Oe()}):oe()}),dn=()=>({get:()=>({unsavedChanges:le,hideNav:wi,viewUrl:B,nodeParams:I,viewGroup:z,urlParamsRaw:M,currentNode:O,navigationPath:ae,context:D,pathParams:L,hideSideNav:Bi,isolateView:ue,pageErrorHandler:X,previousNodeValues:Q,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:T,showLoadingIndicator:s,tabNav:fe,isNavigateBack:ke,goBackContext:H,isNavigationSyncEnabled:ce}),set:F=>{F&&(t(23,Si=!1),Object.getOwnPropertyNames(F).forEach(oe=>{oe==="hideNav"?t(21,wi=F.hideNav):oe==="viewUrl"?B=F.viewUrl:oe==="nodeParams"?I=F.nodeParams:oe==="viewGroup"?z=F.viewGroup:oe==="urlParamsRaw"?M=F.urlParamsRaw:oe==="currentNode"?O=F.currentNode:oe==="navigationPath"?t(15,ae=F.navigationPath):oe==="context"?D=F.context:oe==="pathParams"?t(14,L=F.pathParams):oe==="hideSideNav"?(Bi!=F.hideSideNav&&(t(23,Si=!0),setTimeout(()=>{const Oe=document.querySelector("#app");Oe&&Oe.classList.remove("no-animation")})),t(22,Bi=F.hideSideNav)):oe==="isolateView"?ue=F.isolateView:oe==="pageErrorHandler"?X=F.pageErrorHandler:oe==="previousNodeValues"?Q=F.previousNodeValues:oe==="mfSplitView"?t(12,o=F.mfSplitView):oe==="splitViewValues"?c=F.splitViewValues:oe==="splitViewIframe"?y=F.splitViewIframe:oe=="splitViewWC"?T=F.splitViewWC:oe==="showLoadingIndicator"?t(11,s=F.showLoadingIndicator):oe==="tabNav"?t(16,fe=F.tabNav):oe==="isNavigateBack"?ke=F.isNavigateBack:oe==="goBackContext"?H=F.goBackContext:oe==="isNavigationSyncEnabled"&&(ce=F.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ol,getUnsavedChangesModalPromise:ct,showUnsavedChangesModal:ki,showAlert:fl,prepareInternalData:Oi,dispatch:n}),$n=(F,oe)=>{Mn.doOnStoreChange(l,()=>{En.deleteCache();const Oe=nt.getCurrentPath();nt.handleRouteChange(Oe,dn(),F,oe)},["navigation.nodes"]),be.addRouteChangeListener((Oe,Je)=>{const{withoutSync:Be,preventContextUpdate:Se}=Je||{};Xn(J,Oe)||(J=[],Qn.removeInactiveIframes(F));for(let _t=gt.length;_t--;)si(_t);Zr.removeBackdrop(),vi(),nt.handleRouteChange(Oe,dn(),F,oe,Be,Se)})},ln=(F,oe)=>te.replaceVars(nt.getNodePath(F),oe,":",!1),rn=(F,oe,Oe)=>{const Je=oe||O,Be=Oe||L;let Se=ae;if(oe){let _t=oe.parent;for(Se=[oe];_t;)Se.push(_t),_t=_t.parent;Se=[...Se].reverse()}let Fe=F.link;if(F.fromVirtualTreeRoot){const _t=[...Se].reverse().find(Tt=>Tt.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Fe=nt.concatenatePath(ln(_t,Be),F.link)}else if(F.fromParent)Fe=nt.concatenatePath(ln(Je.parent,Be),F.link);else if(F.fromClosestContext){const _t=[...Se].reverse().find(Tt=>Tt.navigationContext&&Tt.navigationContext.length>0);Fe=nt.concatenatePath(ln(_t,Be),F.link)}else if(F.fromContext){const _t=F.fromContext,Tt=[...Se].reverse().find(Pr=>_t===Pr.navigationContext);Fe=nt.concatenatePath(ln(Tt,Be),F.link)}else F.intent?Fe=be.getIntentPath(F.link):F.relative&&(Fe=nt.concatenatePath(ln(Je,Be),F.link));return F.nodeParams&&Object.keys(F.nodeParams).length>0&&(Fe+=Fe.includes("?")?"&":"?",Object.entries(F.nodeParams).forEach((_t,Tt)=>{Fe+=encodeURIComponent(be.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Tt<Object.keys(F.nodeParams).length-1?"&":"")})),Fe},Fn=F=>{const oe=F.detail.node;ct().then(()=>{if(Ml(),oe.openNodeInModal){const Oe=be.buildRoute(oe,`/${oe.pathSegment}`);pl(Oe,oe.openNodeInModal===!0?{}:oe.openNodeInModal)}else if(oe.drawer){const Oe=be.buildRoute(oe,`/${oe.pathSegment}`);oe.drawer.isDrawer=!0,It(Oe,oe.drawer)}else dn().set({isNavigationSyncEnabled:!0}),nt.handleRouteClick(oe,dn())})},bi=()=>{t(17,Ne=!Ne)};Kr("handleNavigation",xt);const sn=F=>F?!0:(console.warn("No search provider defined."),!1),ee=()=>{sn(_e)&&t(0,Ee=!1)},Me=()=>{sn(_e)&&Le&&(t(0,Ee=!0),Le.focus())},ht=()=>{sn(_e)&&Le&&(t(1,Le.value="",Le),ri())},Ct=()=>{t(0,Ee=!Ee),Xw.clearSearchField()},yt=()=>{if(sn(_e)&&Le)return Le.value},wt=F=>{sn(_e)&&Le&&(t(1,Le.value=F,Le),te.isFunction(_e.onInput)?_e.onInput():console.error("onInput is not a function. Please check the global search configuration."))},on=F=>{sn(_e)&&Le&&t(1,Le.placeholder=F,Le)},yn=F=>{if(sn(_e))if(F&&F.length>0)if(te.isFunction(_e.customSearchResultRenderer)){t(4,Ot=!0);let oe={fireItemSelected:Oe=>{_e.onSearchResultItemSelected(Oe)}};_e.customSearchResultRenderer(F,pe,oe)}else t(3,et=!0),t(5,jt=F);else console.warn("Search result array is empty.")},ri=()=>{if(sn(_e)&&(t(3,et=!1),t(5,jt=[]),pe))for(;pe.lastElementChild;)pe.removeChild(pe.lastElementChild)},Ui=F=>{let oe=F.detail.node,Oe={params:{link:oe.link,nodeParams:oe.params}};xt(Oe)},ol=(F,oe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(dn(),F,oe)},vi=()=>{st.close(dn())},fr=()=>{st.collapse(dn()),t(12,o.collapsed=!0,o)},cr=()=>{st.expand(dn()),t(12,o.collapsed=!1,o)},dr=()=>o.displayed?o.collapsed:!1,hr=()=>o.displayed?!o.collapsed:!1,El=()=>o.displayed,gr=F=>{y=F.detail.splitViewIframe,C=F.detail.splitViewIframeData,t(12,o.collapsed=F.detail.collapsed,o)},_r=F=>{F.detail.displayed!==void 0&&t(12,o.displayed=F.detail.displayed,o),F.detail.collapsed!==void 0&&t(12,o.collapsed=F.detail.collapsed,o)},pr=F=>{T=F.detail.splitViewWC,F.detail.splitViewWCData,t(12,o.collapsed=F.detail.collapsed,o)};let wi,Bi,Si,Wi,Dl,Vl;const Ml=()=>{document.body.classList.remove("lui-leftNavToggle")},mr=()=>{Un();const F=window.innerWidth>=$t.desktopMinWidth&&Wi<$t.desktopMinWidth,oe=window.innerWidth<$t.desktopMinWidth&&Wi>=$t.desktopMinWidth;(F||oe)&&Ml(),Wi=window.innerWidth};let mn=[];const ul=(F,oe)=>{if(!(!F||!(F.length>0)))return F.filter(Oe=>Oe.settings.id===oe)[0]},fl=(F,oe=!1)=>{const Oe=re.getConfigValue("settings.customAlertHandler");if(te.isFunction(Oe)){const Be=Oe(F,oe);if(Be!==!1)return Be}const Je=mn;return F.id||(F.id=te.getRandomId()),F.id&&Je&&ul(Je,F.id)?(console.error(`The alert with id '${F.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(F.closeAfter&&setTimeout(()=>{ul(mn,F.id)&&cl(F.id)},F.closeAfter),new Promise((Be,Se)=>{t(26,mn=[...Je||[],{displayed:!0,settings:F,openFromClient:oe,promise:{resolve:Be}}])}))},cl=(F,oe)=>{const Oe=ul(mn,F);if(!Oe){console.error("An unexisting alert has been dismissed.",mn,F);return}if(t(26,mn=mn.filter(Je=>Je.settings.id!==F)),Oe.openFromClient){const Je=Qn.getActiveIframe($),Be={msg:"luigi.ux.alert.hide",id:F,dismissKey:oe};Ie.sendMessageToIframe(Je,Be)}else Oe.promise&&Oe.promise.resolve(oe||F)},br=F=>{cl(F.detail.id,F.detail.dismissKey)};let Hi;const dl=()=>{t(27,Hi={displayed:!1,content:{},openFromClient:!1,promise:null})};dl();const hl=(F,oe=!1,Oe)=>new Promise((Je,Be)=>{t(27,Hi={displayed:!0,settings:F,openFromClient:oe,promise:{resolve:Je,reject:Be},targetIframe:Oe})}),gl=F=>{const{promise:oe,openFromClient:Oe,targetIframe:Je}=Hi;if(dl(),F?oe.resolve():oe.reject(),Oe&&Je){const Be={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:F}};Ie.sendMessageToIframe(Je,Be)}},Ol=F=>{if(le.dirtySet){if(F)return le.dirtySet.has(F);if(le.dirtySet.size>0)return!0}return!1},ki=()=>hl({header:dt.getTranslation("luigi.unsavedChangesAlert.header"),body:dt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")}),vr=()=>le.dirtySet?le.dirtySet.size>0:le.isDirty;Kr("getUnsavedChangesModalPromise",ct);let gt=[];const _l=F=>{if(typeof F>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((oe,Oe)=>F!==Oe))};_l();const pl=async(F,oe)=>{if(await Te.shouldPreventNavigationForPath(F))return;const Oe={mfModal:{displayed:!0,nodepath:F,settings:oe}};t(28,gt=[...gt,Oe]),re.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&nt.appendModalDataToUrl(F,oe)},Fl=(F,oe)=>{t(28,gt[oe].modalIframe=F.detail.modalIframe,gt),t(28,gt[oe].modalIframeData=F.detail.modalIframeData,gt)},ml=(F,oe)=>{t(28,gt[oe].modalWC=F.detail.modalWC,gt),t(28,gt[oe].modalWCData=F.detail.modalWCData,gt)},si=(F,oe,Oe)=>{const Je=(Fe,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&nt.removeModalDataFromUrl(_t),_l(Fe)},Be=gt[F],Se=te.getRemotePromise(Be.mfModal.settings.onClosePromiseId);Be&&Be.modalIframe?ct(Be.modalIframe.contentWindow).then(()=>{Je(F,oe),Se&&Se.doResolve(Oe)}):Be&&Be.modalWC&&(Je(F,oe),Se&&Se.doResolve(Oe))};Kr("openViewInModal",pl);let Ft={};const j=()=>{t(29,Ft.displayed=!1,Ft),t(29,Ft.nodepath=void 0,Ft),t(29,Ft.settings={},Ft),t(13,_=!1)};j();const It=async(F,oe)=>{await Te.shouldPreventNavigationForPath(F)||(t(29,Ft.displayed=!0,Ft),t(29,Ft.nodepath=F,Ft),t(29,Ft.settings=oe,Ft),Ft.settings&&Ft.settings.backdrop&&t(13,_=!0))},Pn=()=>window.innerWidth>=$t.desktopMinWidth&&Ft.displayed&&Ft.settings&&!Ft.settings.overlap,Un=()=>{if(!Pn())return;const F=document.querySelector(".iframeModalCtn._drawer"),oe=Ie.getCurrentMicrofrontendIframe();if(F&&oe){oe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Oe}=getComputedStyle(F),Je=oe.clientWidth;oe.setAttribute("style",`width: calc(${Je}px - ${Oe})`)}},xr=F=>{p=F.detail.modalIframe,m=F.detail.modalIframeData,Un()},es=F=>{v=F.detail.modalWC,F.detail.modalWCData,Un()},ts=F=>{h=F.detail.activeDrawer},bl=F=>{if(F&&F.detail&&F.detail.activeDrawer!==void 0&&(h=F.detail.activeDrawer),!h||F&&F.detail&&F.detail.type!=="modal")try{p?ct(p.contentWindow).then(()=>{j()}):v&&ct().then(()=>{j()}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(oe){console.log(oe)}},_a=()=>{const F=nr.processUserSettingGroups();Array.isArray(F)&&F.length>0?(t(18,me.userSettingGroups=[...F],me),t(18,me.displayed=!0,me)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,me.displayed=!1,me)},Ul=async F=>{if(await Te.shouldPreventNavigationForPath(F))return;re.getConfigValue("routing.useHashRouting")&&(F="#"+F),window.open(F,"_blank","noopener,noreferrer")},is=F=>{let oe=ae;if(O){let Be=O.parent;for(oe=[O];Be;)oe.push(Be),Be=Be.parent;oe=[...oe].reverse()}let Oe=F.link,Je=ln(O,L);if(F.fromVirtualTreeRoot){const Be=[...oe].reverse().find(Fe=>Fe.virtualTree);if(!Be){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const Se=ln(Be,L);Oe=Je.split(Se).join("")}else if(F.fromParent){const Be=ln(O.parent,L);Oe=Je.split(Be).join("")}else if(F.fromClosestContext){const Be=[...oe].reverse().find(Fe=>Fe.navigationContext&&Fe.navigationContext.length>0),Se=ln(Be,L);Oe=Je.split(Se).join("")}else if(F.fromContext){const Be=F.fromContext,Se=[...oe].reverse().find(_t=>Be===_t.navigationContext),Fe=ln(Se,L);Oe=Je.split(Fe).join("")}else Oe=Je;return Oe};function pa(F){sessionStorage.removeItem("historyState"),er.shouldPreload=!0,er.preload(!0),er.shouldPreload=!1;const oe=re.getConfigValue("navigation.defaults.isolateView"),Oe=re.getConfigValue("navigation.defaults.pageErrorHandler"),Je=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Be={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:oe,defaultPageErrorHandler:Oe};dt.addCurrentLocaleChangeListener(Se=>{const Fe={msg:"luigi.current-locale-changed",currentLocale:Se};Ie.broadcastMessageToAllIframes(Fe)}),Cn.addEventListener("popstate",async Se=>{const Fe=mn;if(!Fe||!(Fe.length>0))return;const _t=Fe.map(Tt=>{if(Tt&&!Tt.openFromClient&&typeof Tt.settings.ttl=="number"){if(Tt.settings.ttl===0)return null;Tt.settings.ttl--}return Tt}).filter(Tt=>Tt);t(26,mn=_t)}),Cn.addEventListener("message",async Se=>{const Fe=Ie.getValidMessageSource(Se),_t=gt[gt.length-1],Tt=_t&&_t.modalIframe,Pr=_t&&_t.modalIframeData,qi={modalIframe:Tt,modalIframeData:Pr,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:N};if(!Fe)return;Fe._ready=!0;const Nr=Ie.getSpecialIframeMessageSource(Se,qi),Gi=Nr&&Nr.length>0,Ir=re.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Gi&&Fe.contentWindow!==window&&!te.isElementVisible(Fe)&&Ir.includes(Se.data.msg)){console.debug(`EVENT '${Se.data.msg}' from inactive iframe -> SKIPPED`);return}if(Se.data.msg==="custom"){const Ae=re.getConfigValue("communication.customMessagesListeners")||{},Ke=sa.convertCustomMessageInternalToUser(Se.data),Qt=Ae[Ke.id],Bn="luigi.updateUserSettings";if(me&&Ke.id===Bn){Qt&&console.warn(`The key "${Bn}" is not allowed to use for custom messages.`);return}if(typeof Qt=="function"){const ai=Dn.getMicrofrontends().find(Ki=>Ie.isMessageSource(Se,Ki.container));Qt(Ke,ai,te.removeInternalProperties(Fe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Ke.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(Se.data.msg==="luigi.init.ok"&&(Fe.luigi.initOk=!0),Se.data.msg==="luigi.navigate.ok"&&(Fe.luigi.viewUrl=Fe.luigi.nextViewUrl,Fe.luigi.nextViewUrl="",Fe.luigi.clientPermissions=Fe.luigi.nextClientPermissions,delete Fe.luigi.nextClientPermissions,Be.navigateOk=!0,er.preload()),Se.data.msg==="luigi.get-context"){if(Fe.luigi.clientVersion=Se.data.clientVersion,Fe.luigi.initOk=!1,Gi)Nr.forEach(async Ae=>{let Ke=qi[Ae.dataKey].context;const Qt={...Be,iframe:qi[Ae.iframeKey],context:Ke,pathParams:qi[Ae.dataKey].pathParams,nodeParams:qi[Ae.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(qi[Ae.iframeKey].luigi.currentNode),modal:Ae.iframeKey.startsWith("modal"),drawer:Ae.iframeKey.startsWith("drawer"),splitView:Ae.iframeKey.startsWith("splitView")};await zt(Qt,{})});else if(Be.iframe&&Ie.isMessageSource(Se,Be.iframe))await zt(Be,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),er.preload();else if(Fe.luigi.preloading)await zt({iframe:Fe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ae=nr.findActiveCustomUserSettingsIframe(Se.source);if(Ae){let Ke=Ae.getAttribute("userSettingsGroup"),Qt={context:{userSettingsData:Et[Ke]},iframe:Ae};await zt(Qt)}}er.viewGroupLoaded(Fe)}if(Se.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),Se.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),Se.data.msg==="luigi.navigation.open"){ke=!1;const Ae=window.location.href,Ke=Gi?Fe.luigi.currentNode:void 0,Qt=Gi?Fe.luigi.pathParams:void 0,Bn=Se.data.params,{intent:ai,newTab:Ki,modal:vl,splitView:Tr,drawer:wl,withoutSync:Oo}=Bn;let qt=Ki||vl||Tr||wl;const Lr=()=>{const Ut=te.getRemotePromise(Se.data.remotePromiseId);Ut&&Ut.doResolve()},Wn=()=>{const Ut=te.getRemotePromise(Se.data.remotePromiseId);Ut&&Ut.doReject()},Ji=Ut=>{!Ut||Ae!==window.location.href?Lr():Wn()};Se.source!==window&&!ai&&Bn.link&&(Bn.link=Bn.link.split("?")[0]);let en=rn(Se.data.params,Ke,Qt);if(qt=qt||ai&&en.external,!qt)ct().then(()=>{ce=!Se.data.params.withoutSync,xt(Se.data,Be,Ke,Qt).then(()=>{Ji(!0)}).catch(()=>{Wn()}),gt.forEach((Ut,cs)=>{si(cs)}),vi(),bl(),ce=!0}).catch(()=>{Wn()});else{if(ai&&en.external){nt.navigateToExternalLink({url:en.url,sameWindow:!en.openInNewTab});return}if(en=te.addLeadingSlash(en),Ki){await Ul(en),Ji();return}const Ut=await Sr(en);if(en=await be.handlePageNotFoundAndRetrieveRedirectPath(dn(),en,Ut),!en){Wn();return}$=F,vl!==void 0?(!vl.keepPrevious&&_l(),await pl(en,vl===!0?{}:vl),Ji()):Tr!==void 0?(await ol(en,Tr),Ji()):wl!==void 0&&(j(),wl.isDrawer=!0,await It(en,wl),Ji())}}if(Se.data.msg==="luigi.navigation.back"){const Ae=gt[gt.length-1],Ke=Se.data.goBackContext&&JSON.parse(Se.data.goBackContext);Ie.isMessageSource(Se,Ae&&Ae.modalIframe)?(si(gt.length-1,!0,Ke),Be.iframe&&await zt(Be,{goBackContext:Ke})):Ie.isMessageSource(Se,y)?(vi(),Be.iframe&&await zt(Be,{goBackContext:Ke})):Ie.isMessageSource(Se,p)?(h&&(h=!h),bl(),Be.iframe&&await zt(Be,{goBackContext:Ke})):J&&J.length>0?ct().then(()=>{Qn.setActiveIframeToPrevious(F);const Qt=J.pop();Be.iframe=Qn.getActiveIframe(F),ke=!0,J=J,H=Ke,xt({params:{link:Qt.path}},Be)}):(Ke&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(Se.data.msg==="luigi.navigation.currentRoute"){const Ae=Se.data.data,Qt={msg:"luigi.navigation.currentRoute.answer",data:{route:is(Ae),correlationId:Ae.id}};Ie.sendMessageToIframe(Fe,Qt)}if(Se.data.msg==="luigi.auth.tokenIssued"&&mi(Se.data.authData),Se.data.msg==="luigi.navigation.updateModalDataPath")if(Gi){const Ae=te.addLeadingSlash(rn(Se.data.params,Fe.luigi.currentNode,Fe.luigi.pathParams));nt.updateModalDataInUrl(Ae,Se.data.params.modal,Se.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.");if(Se.data.msg==="luigi.navigation.pathExists"){const Ae=Fe.luigi.currentNode,Ke=Fe.luigi.pathParams,Qt=Se.data.data,Bn=rn(Qt,Ae,Ke),ai=Bn?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Bn):!1,Ki={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Qt.id,pathExists:ai?ai.isExistingRoute:!1}};Ie.sendMessageToIframe(Fe,Ki)}if(Se.data.msg==="luigi.set-page-dirty"){if(!le.dirtySet){const Ae=new Set;Ae.add(Se.source),le={dirtySet:Ae}}le.persistUrl=window.location.href,Se.data.dirty?le.dirtySet.add(Se.source):le.dirtySet.delete(Se.source)}if(Se.data.msg==="luigi.ux.confirmationModal.show"){const Ae=Se.data.data.settings;$=F,dl(),hl(Ae,!0,Fe).catch(()=>{})}if(Se.data.msg==="luigi.ux.alert.show"){const{settings:Ae}=Se.data.data;if(!Ae.text&&!te.isFunction(re.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}$=F,fl(Ae,!0).catch(()=>{})}if(Se.data.msg==="luigi.ux.set-current-locale")if(Fe.luigi.clientPermissions&&Fe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ae}=Se.data.data;Ae&&dt.setCurrentLocale(Ae)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(x&&!x.thirdPartyCookieScriptLocation&&Se.data.msg==="luigi.third-party-cookie"&&Se.data.tpc==="disabled"&&wr(),Se.data.msg==="storage"&&S2.process(Fe.luigi.id,Se.origin,Se.data.data.id,Se.data.data.operation,Se.data.data.params),Se.data.msg==="luigi-runtime-error-handling"){let Ae=Fe.luigi.currentNode;Ae&&Ae.runTimeErrorHandler&&te.isFunction(Ae.runTimeErrorHandler.errorFn)?Ae.runTimeErrorHandler.errorFn(Se.data.errorObj,Ae):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(Se.data.errorObj,Ae)}if(Se.data.msg==="luigi.addSearchParams")if(Fe.luigi.currentNode.clientPermissions&&Fe.luigi.currentNode.clientPermissions.urlParameters){const{data:Ae,keepBrowserHistory:Ke}=Se.data;be.addSearchParamsFromClient(Fe.luigi.currentNode,Ae,Ke)}else console.warn("No client permissions to add url parameter for this node.");if(Se.data.msg==="luigi.addNodeParams"){if(Gi)return;const{data:Ae,keepBrowserHistory:Ke}=Se.data;il.addNodeParams(Ae,Ke)}if(Se.data.msg==="luigi.setAnchor"){const{anchor:Ae}=Se.data;il.setAnchor(Ae)}}),$n(F,Be)}Kr("store",l),Kr("getTranslation",r);const wr=F=>{x&&x.thirdPartyCookieErrorHandling&&te.isFunction(x.thirdPartyCookieErrorHandling)&&x.thirdPartyCookieErrorHandling()},Sr=async F=>{const oe={link:F,relative:F[0]!=="/",intent:be.hasIntent(F)},Oe=rn(oe),Je=Oe?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Oe):!1;return Je?Je.isExistingRoute:!1},kr=()=>gt.length>0||J.length!==0;Jt(()=>{if(y_._init(),_e=re.getConfigValue("globalSearch.searchProvider"),we=re.getConfigValue("settings.responsiveNavigation"),Wi=window.innerWidth,we==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Te.getBurgerTooltipConfig()){const[F,oe]=Te.getBurgerTooltipConfig();F&&oe&&t(19,ie=document.body.classList.contains("lui-leftNavToggle")?F:oe)}}else if(we==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Te.getBurgerTooltipConfig()){const[F,oe]=Te.getBurgerTooltipConfig();if(F&&oe){const Oe=JSON.parse(localStorage.getItem(Te.COL_NAV_KEY));t(19,ie=Oe?F:oe)}}document.body.classList.add("lui-semiCollapsible")}x=re.getConfigValue("settings.thirdPartyCookieCheck"),x&&x.thirdPartyCookieScriptLocation&&setTimeout(()=>{let F=document.createElement("iframe");F.width="0px",F.height="0px",F.src=x.thirdPartyCookieScriptLocation,document.body.appendChild(F),F.onload=function(){setTimeout(()=>{my()==="disabled"&&wr()}),document.body.removeChild(F)}})}),Eo(()=>{Un()}),Vn(()=>{t(20,On=re.getConfigValue("navigation.breadcrumbs")),_e=re.getConfigValue("globalSearch.searchProvider"),t(24,Dl=re.getConfigValue("tag")),t(25,Vl=re.getConfigValue("settings.header.disabled"))});const ma=F=>si(F,!0),ls=(F,oe)=>Fl(oe,F),Cr=(F,oe)=>ml(oe,F),yr=()=>gl(!0),zi=()=>gl(!1);function rs(F){Et=F,t(6,Et)}function ss(F){Ee=F,t(0,Ee)}function ba(F){et=F,t(3,et)}function as(F){Ot=F,t(4,Ot)}function os(F){jt=F,t(5,jt)}function us(F){Le=F,t(1,Le)}function fs(F){pe=F,t(2,pe)}return i.$$set=F=>{"store"in F&&t(46,l=F.store),"getTranslation"in F&&t(47,r=F.getTranslation),"isSearchFieldVisible"in F&&t(0,Ee=F.isSearchFieldVisible),"inputElem"in F&&t(1,Le=F.inputElem),"luigiCustomSearchRenderer__slot"in F&&t(2,pe=F.luigiCustomSearchRenderer__slot),"displaySearchResult"in F&&t(3,et=F.displaySearchResult),"displayCustomSearchResult"in F&&t(4,Ot=F.displayCustomSearchResult),"searchResult"in F&&t(5,jt=F.searchResult),"storedUserSettings"in F&&t(6,Et=F.storedUserSettings)},[Ee,Le,pe,et,Ot,jt,Et,Ct,ri,Ui,ns,s,o,_,L,ae,fe,Ne,me,ie,On,wi,Bi,Si,Dl,Vl,mn,Hi,gt,Ft,Fn,bi,gr,_r,pr,mr,br,gl,Fl,ml,si,xr,es,ts,bl,pa,l,r,ee,Me,ht,yt,wt,on,yn,ol,vi,fr,cr,dr,hr,El,fl,hl,vr,_a,Sr,kr,ma,ls,Cr,yr,zi,rs,ss,ba,as,os,us,fs]}class yy extends Rt{constructor(e){super(),At(this,e,Cy,ky,Nt,{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 Py=()=>{const{subscribe:i,update:e,reset:t}=rr({}),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)})}}},M_=Py(),Ny=Gw((i,e,t)=>dt.getTranslation(i,e,t));Luigi._store=M_;const Iy=()=>new Promise(i=>{dt._init(),nn.init().then(()=>{setTimeout(()=>{let e;Dn.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new yy({target:Dn.getLuigiContainer(),props:{store:M_,getTranslation:Ny}}),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()})})});re.setConfigCallbacks(Iy);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|