@luigi-project/core 2.4.0 → 2.4.1-dev.202308300028
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 +16 -16
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function Fe(){}function nw(i,e){for(const t in e)i[t]=e[t];return i}function iw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Zg(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach(Zg)}function Dl(i){return typeof i=="function"}function Tt(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 lw(i){return Object.keys(i).length===0}function Lo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function rl(i){let e;return Lo(i,t=>e=t)(),e}function Si(i,e,t){i.$$.on_destroy.push(Lo(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?nw(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 $n(i){return i==null?"":i}function rw(i){return i&&Dl(i.destroy)?i.destroy:Fe}function w(i,e){i.appendChild(e)}function E(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(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 sw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ye(i){return document.createTextNode(i)}function K(){return ye(" ")}function Se(){return ye("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Vt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ft(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 aw(i){return Array.from(i.childNodes)}function Ne(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Of(i,e){i.value=e==null?"":e}function si(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function mi(i,e,t){i.classList[t?"add":"remove"](e)}function ow(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class gr{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=sw(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)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}let Yr;function Mi(i){Yr=i}function ul(){if(!Yr)throw new Error("Function called outside component initialization");return Yr}function Hn(i){ul().$$.before_update.push(i)}function Jt(i){ul().$$.on_mount.push(i)}function ua(i){ul().$$.after_update.push(i)}function Zr(i){ul().$$.on_destroy.push(i)}function Bt(){const i=ul();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=ow(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function jr(i,e){return ul().$$.context.set(i,e),e}function ht(i){return ul().$$.context.get(i)}function Ll(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ar=[],$e=[],xs=[],yo=[],uw=Promise.resolve();let Po=!1;function fw(){Po||(Po=!0,uw.then(Ao))}function No(i){xs.push(i)}function mt(i){yo.push(i)}const ko=new Set;let lr=0;function Ao(){if(lr!==0)return;const i=Yr;do{try{for(;lr<ar.length;){const e=ar[lr];lr++,Mi(e),cw(e.$$)}}catch(e){throw ar.length=0,lr=0,e}for(Mi(null),ar.length=0,lr=0;$e.length;)$e.pop()();for(let e=0;e<xs.length;e+=1){const t=xs[e];ko.has(t)||(ko.add(t),t())}xs.length=0}while(ar.length);for(;yo.length;)yo.pop()();Po=!1,ko.clear(),Mi(i)}function cw(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(No)}}const ea=new Set;let Al;function Le(){Al={r:0,c:[],p:Al}}function Ae(){Al.r||Ze(Al.c),Al=Al.p}function U(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),Al.c.push(()=>{ea.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function na(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&&_&&(Le(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Ae())}):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&&Ao()}if(iw(i)){const l=ul();if(i.then(r=>{Mi(l),n(e.then,1,e.value,r),Mi(null)},r=>{if(Mi(l),n(e.catch,2,e.error,r),Mi(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 n_(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 Fi=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 Ke(i){i&&i.c()}function Ge(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||No(()=>{const s=i.$$.on_mount.map(Zg).filter(Dl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(No)}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 dw(i,e){i.$$.dirty[0]===-1&&(ar.push(i),fw(),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;Mi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Mf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Mf(),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,...b)=>{const v=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&dw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=aw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&U(i.$$.fragment),Ge(i,e.target,e.anchor,e.customElement),Ao()}Mi(c)}class Et{$destroy(){qe(this,1),this.$destroy=Fe}$on(e,t){if(!Dl(t))return Fe;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!lw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class hw{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),ne.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ne.getConfigValueFromObject(e,t);return ne.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ia=new hw;class gw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const la=new gw;class _w{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 Bn=new _w;class pw{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()=>{Yw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=an.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),ai.getLuigiContainer().appendChild(n)}getConfigValue(e){return ne.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ne.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ia.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ne.isFunction(l))try{return await ia.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return bi.isAuthorizationEnabled()}unload(){this.initialized=!1,tn.unload(),Ln.removeAllEventListeners();const e=ai.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&&ne.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&&ne.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(){Bn.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 ra=new pw;class mw{constructor(){}isAuthorizationEnabled(){return!!ie.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&tn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&tn.logout()}async handleAuthEvent(e,t,n,l){const r=await ie.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 ie.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:()=>ri.getStorageKey(),getStorageType:()=>ri.getStorageType(),getAuthData:()=>ri.getAuthData(),setAuthData:e=>ri.setAuthData(e),removeAuthData:()=>ri.removeAuthData(),setNewlyAuthorized:()=>ri.setNewlyAuthorized()}}}const i_=new mw,$t={desktopMinWidth:600},bw=[{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]"},ww={cssSelector:"[luigi-app-loading-indicator]"};class Sw{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 l_=new Sw;class kw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Xn extends kw{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=ne.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(ne.isFunction(n)){const l=ne.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(ne.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 Cw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Xn().openAsDrawer(e,t)}fromContext(e){return new Xn().fromContext(e)}fromClosestContext(){return new Xn().fromClosestContext()}fromVirtualTreeRoot(){return new Xn().fromVirtualTreeRoot()}withParams(e){return new Xn().withParams(e)}pathExists(e){return new Xn().pathExists(e)}hasBack(){return new Xn().hasBack()}goBack(e){return new Xn().goBack(e)}}const r_=new Cw,yw={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"}}},Pw=yw;class Nw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Pw,this.listeners={}}_init(){an.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(ne.isFunction(e)){const t=ne.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)}),ra.configChanged()}_initCustomImplementation(){this.translationImpl=ra.getConfigValue("settings.customTranslationImplementation"),ne.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("{"+hr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const s_=new Nw;class Iw{sendToAll(e){const t=la.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=la.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const Tw=new Iw,rr=[];function Lw(i,e){return{subscribe:cr(i,e).subscribe}}function cr(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!rr.length;for(const g of n)g[1](),rr.push(g,i);if(c){for(let g=0;g<rr.length;g+=2)rr[g][0](rr[g+1]);rr.length=0}}}function r(o){l(o(i))}function s(o,c=Fe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Aw{initial(){this.responsiveNavSetting=ie.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.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(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.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 pi=new Aw;class Ew{constructor(){this.documentTitle=cr()}hideAppLoadingIndicator(){const e=document.querySelector(ww.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ne.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(ne.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 rl(this.documentTitle)}collapseLeftSideNav(e){pi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const a_=new Ew;class Rw{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 o_=new Rw;class Dw{constructor(){this.currentTheme}async getAvailableThemes(){return await ie.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}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=ie.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!!ie.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ie.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){ne.isFunction(ie.getConfigValue("settings.theming.variables.errorHandling"))?ie.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ie.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ie.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")};an.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const u_=new Dw;class Vw{constructor(){this.featureToggleList=cr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||rl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=rl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}rl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...rl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ne.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return rl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):rl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const f_=new Vw;class Mw{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ie.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(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ie.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ie.configChanged()}addNodeParams(e,t){if(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);ie.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ie.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 ie.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ie.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 c_=new Mw,ie=ra,bi=i_,ai=l_,d_=r_,_t=s_,Xr=a_,Ow=o_,Io=u_,Eo=f_,sl=c_;window.Luigi=ra;window.Luigi.auth=()=>i_;window.Luigi.elements=()=>l_;window.Luigi.navigation=()=>r_;window.Luigi.i18n=()=>s_;window.Luigi.customMessages=()=>Tw;window.Luigi.ux=()=>a_;window.Luigi.globalSearch=()=>o_;window.Luigi.theming=()=>u_;window.Luigi.featureToggles=()=>f_;window.Luigi.routing=()=>c_;class Fw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ne.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=>{!ne.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 ie.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:_t.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:_t.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)):ke.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||ne.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const s=Ie.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Ie.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Ie.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,v=!1;if(p.length>0&&(b=p.shift(),b===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Ie.getMainIframes().filter(N=>N.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Ie.hideElementChildren(n)):Ie.removeElementChildren(n),l.viewUrl){ne.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ie.createIframe(r,S?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const C=["init",JSON.stringify(l.context)];Ie.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:D[I.userSettingsGroup]},internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ie.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Tn=new Fw;class Uw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ie.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Tn.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 sr=new Uw;class Bw{async getNavigationPath(e,t=""){try{const n=ne.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Bn.hasRootNode()&&(l=Bn.getRootNode().node),!l){const g=await e;ne.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),Bn.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(Bn.hasChildren(e)){let r=Bn.getChildren(e);r&&(n=r.children)}else try{n=await ia.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 Bn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Bn.hasChildren(e)?Dt.getChildrenFromCache(e):await Dt.getChildren(e)}getChildrenFromCache(e){let t=Bn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.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=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=hr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let h=await this.getChildren(c,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,s=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=ne.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ne.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.
|
|
1
|
+
function Fe(){}function nw(i,e){for(const t in e)i[t]=e[t];return i}function iw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Zg(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach(Zg)}function Dl(i){return typeof i=="function"}function Tt(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 lw(i){return Object.keys(i).length===0}function Lo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function rl(i){let e;return Lo(i,t=>e=t)(),e}function ki(i,e,t){i.$$.on_destroy.push(Lo(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?nw(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 ei(i){return i==null?"":i}function rw(i){return i&&Dl(i.destroy)?i.destroy:Fe}function w(i,e){i.appendChild(e)}function E(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(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 sw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ye(i){return document.createTextNode(i)}function K(){return ye(" ")}function Se(){return ye("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function aw(i){return Array.from(i.childNodes)}function Ne(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Of(i,e){i.value=e==null?"":e}function oi(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function bi(i,e,t){i.classList[t?"add":"remove"](e)}function ow(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class gr{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=sw(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)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(A)}}let Yr;function Mi(i){Yr=i}function ul(){if(!Yr)throw new Error("Function called outside component initialization");return Yr}function zn(i){ul().$$.before_update.push(i)}function Jt(i){ul().$$.on_mount.push(i)}function ua(i){ul().$$.after_update.push(i)}function Zr(i){ul().$$.on_destroy.push(i)}function Ht(){const i=ul();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=ow(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function jr(i,e){return ul().$$.context.set(i,e),e}function ht(i){return ul().$$.context.get(i)}function Ll(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ar=[],$e=[],xs=[],yo=[],uw=Promise.resolve();let Po=!1;function fw(){Po||(Po=!0,uw.then(Ao))}function No(i){xs.push(i)}function bt(i){yo.push(i)}const ko=new Set;let lr=0;function Ao(){if(lr!==0)return;const i=Yr;do{try{for(;lr<ar.length;){const e=ar[lr];lr++,Mi(e),cw(e.$$)}}catch(e){throw ar.length=0,lr=0,e}for(Mi(null),ar.length=0,lr=0;$e.length;)$e.pop()();for(let e=0;e<xs.length;e+=1){const t=xs[e];ko.has(t)||(ko.add(t),t())}xs.length=0}while(ar.length);for(;yo.length;)yo.pop()();Po=!1,ko.clear(),Mi(i)}function cw(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(No)}}const ea=new Set;let Al;function Le(){Al={r:0,c:[],p:Al}}function Ae(){Al.r||Ze(Al.c),Al=Al.p}function U(i,e){i&&i.i&&(ea.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(ea.has(i))return;ea.add(i),Al.c.push(()=>{ea.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function na(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&&_&&(Le(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Ae())}):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&&Ao()}if(iw(i)){const l=ul();if(i.then(r=>{Mi(l),n(e.then,1,e.value,r),Mi(null)},r=>{if(Mi(l),n(e.catch,2,e.error,r),Mi(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 n_(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 Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Ke(i){i&&i.c()}function Ge(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||No(()=>{const s=i.$$.on_mount.map(Zg).filter(Dl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(No)}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 dw(i,e){i.$$.dirty[0]===-1&&(ar.push(i),fw(),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;Mi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Mf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Mf(),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,...b)=>{const v=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&dw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=aw(e.target);g.fragment&&g.fragment.l(_),_.forEach(A)}else g.fragment&&g.fragment.c();e.intro&&U(i.$$.fragment),Ge(i,e.target,e.anchor,e.customElement),Ao()}Mi(c)}class Et{$destroy(){qe(this,1),this.$destroy=Fe}$on(e,t){if(!Dl(t))return Fe;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!lw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class hw{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),ne.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ne.getConfigValueFromObject(e,t);return ne.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ia=new hw;class gw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const la=new gw;class _w{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 Wn=new _w;class pw{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()=>{Yw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=on.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),ui.getLuigiContainer().appendChild(n)}getConfigValue(e){return ne.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ne.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ia.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ne.isFunction(l))try{return await ia.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return vi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),An.removeAllEventListeners();const e=ui.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&&ne.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&&ne.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(){Wn.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 ra=new pw;class mw{constructor(){}isAuthorizationEnabled(){return!!ie.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await ie.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 ie.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:()=>ai.getStorageKey(),getStorageType:()=>ai.getStorageType(),getAuthData:()=>ai.getAuthData(),setAuthData:e=>ai.setAuthData(e),removeAuthData:()=>ai.removeAuthData(),setNewlyAuthorized:()=>ai.setNewlyAuthorized()}}}const i_=new mw,$t={desktopMinWidth:600},bw=[{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]"},ww={cssSelector:"[luigi-app-loading-indicator]"};class Sw{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 l_=new Sw;class kw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends kw{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=ne.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(ne.isFunction(n)){const l=ne.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(ne.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 Cw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const r_=new Cw,yw={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"}}},Pw=yw;class Nw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Pw,this.listeners={}}_init(){on.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(ne.isFunction(e)){const t=ne.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)}),ra.configChanged()}_initCustomImplementation(){this.translationImpl=ra.getConfigValue("settings.customTranslationImplementation"),ne.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("{"+hr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const s_=new Nw;class Iw{sendToAll(e){const t=la.convertCustomMessageUserToInternal(e);Ie.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ie.sendMessageToIframe(n,t))}send(e,t){const n=la.convertCustomMessageUserToInternal(t);Ie.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ie.sendMessageToIframe(l,n))}}const Tw=new Iw,rr=[];function Lw(i,e){return{subscribe:cr(i,e).subscribe}}function cr(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!rr.length;for(const g of n)g[1](),rr.push(g,i);if(c){for(let g=0;g<rr.length;g+=2)rr[g][0](rr[g+1]);rr.length=0}}}function r(o){l(o(i))}function s(o,c=Fe){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Aw{initial(){this.responsiveNavSetting=ie.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.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(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.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 mi=new Aw;class Ew{constructor(){this.documentTitle=cr()}hideAppLoadingIndicator(){const e=document.querySelector(ww.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ne.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(ne.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 rl(this.documentTitle)}collapseLeftSideNav(e){mi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const a_=new Ew;class Rw{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 o_=new Rw;class Dw{constructor(){this.currentTheme}async getAvailableThemes(){return await ie.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}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=ie.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!!ie.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ie.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){ne.isFunction(ie.getConfigValue("settings.theming.variables.errorHandling"))?ie.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ie.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ie.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")};on.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const u_=new Dw;class Vw{constructor(){this.featureToggleList=cr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||rl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=rl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}rl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...rl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ne.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return rl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):rl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const f_=new Vw;class Mw{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ie.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(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ie.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ie.configChanged()}addNodeParams(e,t){if(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);ie.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ie.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 ie.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ie.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 c_=new Mw,ie=ra,vi=i_,ui=l_,d_=r_,pt=s_,Xr=a_,Ow=o_,Io=u_,Eo=f_,sl=c_;window.Luigi=ra;window.Luigi.auth=()=>i_;window.Luigi.elements=()=>l_;window.Luigi.navigation=()=>r_;window.Luigi.i18n=()=>s_;window.Luigi.customMessages=()=>Tw;window.Luigi.ux=()=>a_;window.Luigi.globalSearch=()=>o_;window.Luigi.theming=()=>u_;window.Luigi.featureToggles=()=>f_;window.Luigi.routing=()=>c_;class Fw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ne.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=>{!ne.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 ie.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:pt.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:pt.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)):ke.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||ne.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const s=Ie.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Ie.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Ie.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,v=!1;if(p.length>0&&(b=p.shift(),b===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&c&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!c&&l.viewGroup){const C=Ie.getMainIframes().filter(N=>N.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Ie.hideElementChildren(n)):Ie.removeElementChildren(n),l.viewUrl){ne.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ie.createIframe(r,S?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const C=["init",JSON.stringify(l.context)];Ie.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(y)};l.isNavigationSyncEnabled?(Ie.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(D=>{Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:D[I.userSettingsGroup]},internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ie.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ie.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ie.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Ln=new Fw;class Uw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ie.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Ln.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 sr=new Uw;class Bw{async getNavigationPath(e,t=""){try{const n=ne.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wn.hasRootNode()&&(l=Wn.getRootNode().node),!l){const g=await e;ne.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),Wn.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(Wn.hasChildren(e)){let r=Wn.getChildren(e);r&&(n=r.children)}else try{n=await ia.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 Wn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Wn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Wn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.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=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=hr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let h=await this.getChildren(c,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,s=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=ne.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ne.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.
|
|
2
2
|
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
3
3
|
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.
|
|
4
4
|
Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
|
|
5
5
|
Remove the static node from the configuration to resolve this warning.
|
|
6
6
|
Affected pathSegment:`,e,"Children:",t),t=t.filter(s=>s.pathSegment&&s.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
|
|
7
7
|
Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
|
|
8
|
-
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=ie.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(
|
|
8
|
+
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=ie.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(Wn.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)?ke.groupNodesBy(n,"category",!0):{children:ke.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=[];return e.slice().reverse().forEach(l=>{(!t||l.tabNav)&&(l.keepSelectedForChildren===!1?t=!0:(l.keepSelectedForChildren||l.tabNav&&!me.isDynamicNode(l))&&(t=!0,n=[])),n.push(l)}),n.reverse()}async getLeftNavData(e,t){const n={};if(e.pathData&&1<e.pathData.length){const l=this.getTruncatedChildren(t.pathData);let r=[...l].pop(),s;(r.keepSelectedForChildren||r.tabNav)&&(s=r,l.pop(),r=[...l].pop());const o=await this.getChildren(r,t.context),c=this.getGroupedChildren(o,e);n.navParent=c.parent||r,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const g=c.children;Object.values(g).forEach(_=>{!n.hasCategoriesWithIcon&&_&&_.metaInfo&&_.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=s||r,n.children=g,ie.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,ke.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&ke.storeExpandedState(r.metaInfo.categoryUid,!0,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){var l;const n={};if(e.pathData&&1<e.pathData.length){let s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop();const o=await this.getChildren(s.tabNav?s:s.parent,(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=s,n.selectedNodeForTabNav=s,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&ne.isFunction(e.onNodeActivation)&&await e.onNodeActivation(e)===!1)}}const Vt=new Bw,ol={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Hw={externalLink:{sameWindow:!1}};class dr{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 Ww extends dr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=h_({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 zw extends dr{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+=`{
|
|
9
9
|
.${e} {
|
|
10
10
|
grid-template-columns: ${l.columns||"auto"};
|
|
11
11
|
grid-template-rows: ${l.rows||"auto"};
|
|
@@ -30,32 +30,32 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
|
|
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/(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,b=4,v=1,S=2,y=1,C=2,N=4,I=8,D=16,L=32,T=64,V=128,O=256,F=512,z=30,ae="...",fe=800,X=16,pe=1,ee=2,H=3,oe=1/0,$=9007199254740991,J=17976931348623157e292,Ce=0/0,te=4294967295,Ue=te-1,Pe=te>>>1,ce=[["ary",V],["bind",y],["bindKey",C],["curry",I],["curryRight",D],["flip",F],["partial",L],["partialRight",T],["rearg",O]],Z="[object Arguments]",he="[object Array]",re="[object AsyncFunction]",Ve="[object Boolean]",He="[object Date]",be="[object DOMException]",We="[object Error]",St="[object Function]",Ht="[object GeneratorFunction]",kt="[object Map]",Yt="[object Number]",_n="[object Null]",on="[object Object]",pn="[object Promise]",Ui="[object Proxy]",mn="[object RegExp]",Qt="[object Set]",An="[object String]",Rt="[object Symbol]",fl="[object Undefined]",xt="[object WeakMap]",un="[object WeakSet]",Wn="[object ArrayBuffer]",zt="[object DataView]",kn="[object Float32Array]",oi="[object Float64Array]",ui="[object Int8Array]",fn="[object Int16Array]",ki="[object Int32Array]",x="[object Uint8Array]",Te="[object Uint8ClampedArray]",at="[object Uint16Array]",It="[object Uint32Array]",Ct=/\b__p \+= '';/g,nn=/\b(__p \+=) '' \+/g,En=/(__e\(.*?\)|\b__t\)) \+\n'';/g,zn=/&(?:amp|lt|gt|quot|#39);/g,ei=/[&<>"']/g,Vl=RegExp(zn.source),Bi=RegExp(ei.source),_r=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,Ml=/<%=([\s\S]+?)%>/g,mr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,vr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cl=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(cl.source),Ci=/^\s+/,Hi=/\s/,dl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ol=/,? & /,Fl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ul=/[()=,{}\[\]\/\s]/,Sr=/\\(\\)?/g,Cn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,hl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,kr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,gl=/^(?:0|[1-9]\d*)$/,_l=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fi=/($^)/,Hl=/['\n\r\u2028\u2029\\]/g,yi="\\ud800-\\udfff",Cr="\\u0300-\\u036f",yt="\\ufe20-\\ufe2f",pl="\\u20d0-\\u20ff",qi=Cr+yt+pl,ml="\\u2700-\\u27bf",bl="a-z\\xdf-\\xf6\\xf8-\\xff",j="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",cn="\\u2000-\\u206f",ci=" \\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",es="A-Z\\xc0-\\xd6\\xd8-\\xde",vl="\\ufe0e\\ufe0f",ts=j+tt+cn+ci,yr="['\u2019]",ca="["+yi+"]",Wl="["+ts+"]",zl="["+qi+"]",ns="\\d+",da="["+ml+"]",is="["+bl+"]",ls="[^"+yi+ts+ns+ml+bl+es+"]",Gl="\\ud83c[\\udffb-\\udfff]",ha="(?:"+zl+"|"+Gl+")",Pr="[^"+yi+"]",Nr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ir="[\\ud800-\\udbff][\\udc00-\\udfff]",Ki="["+es+"]",rs="\\u200d",ss="(?:"+is+"|"+ls+")",ga="(?:"+Ki+"|"+ls+")",as="(?:"+yr+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+yr+"(?:D|LL|M|RE|S|T|VE))?",us=ha+"?",fs="["+vl+"]?",_a="(?:"+rs+"(?:"+[Pr,Nr,Ir].join("|")+")"+fs+us+")*",pa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B=fs+us+_a,ue="(?:"+[da,Nr,Ir].join("|")+")"+B,Re="(?:"+[Pr+zl+"?",zl,Nr,Ir,ca].join("|")+")",Je=RegExp(yr,"g"),Me=RegExp(zl,"g"),we=RegExp(Gl+"(?="+Gl+")|"+Re+B,"g"),De=RegExp([Ki+"?"+is+"+"+as+"(?="+[Wl,Ki,"$"].join("|")+")",ga+"+"+os+"(?="+[Wl,Ki+ss,"$"].join("|")+")",Ki+"?"+ss+"+"+as,Ki+"+"+os,ma,pa,ns,ue].join("|"),"g"),gt=RegExp("["+rs+yi+qi+vl+"]"),Mt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Tr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ji=-1,Pt={};Pt[kn]=Pt[oi]=Pt[ui]=Pt[fn]=Pt[ki]=Pt[x]=Pt[Te]=Pt[at]=Pt[It]=!0,Pt[Z]=Pt[he]=Pt[Wn]=Pt[Ve]=Pt[zt]=Pt[He]=Pt[We]=Pt[St]=Pt[kt]=Pt[Yt]=Pt[on]=Pt[mn]=Pt[Qt]=Pt[An]=Pt[xt]=!1;var dt={};dt[Z]=dt[he]=dt[Wn]=dt[zt]=dt[Ve]=dt[He]=dt[kn]=dt[oi]=dt[ui]=dt[fn]=dt[ki]=dt[kt]=dt[Yt]=dt[on]=dt[mn]=dt[Qt]=dt[An]=dt[Rt]=dt[x]=dt[Te]=dt[at]=dt[It]=!0,dt[We]=dt[St]=dt[xt]=!1;var Lr={\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"},ze={"&":"&","<":"<",">":">",'"':""","'":"'"},vt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Gt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Gn=parseFloat,di=parseInt,Pi=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,wl=typeof self=="object"&&self&&self.Object===Object&&self,qt=Pi||wl||Function("return this")(),Ji=e&&!e.nodeType&&e,Yi=Ji&&!0&&i&&!i.nodeType&&i,ql=Yi&&Yi.exports===Ji,Ar=ql&&Pi.process,ln=function(){try{var Y=Yi&&Yi.require&&Yi.require("util").types;return Y||Ar&&Ar.binding&&Ar.binding("util")}catch{}}(),Qi=ln&&ln.isArrayBuffer,rn=ln&&ln.isDate,Rn=ln&&ln.isMap,cs=ln&&ln.isRegExp,Do=ln&&ln.isSet,Vo=ln&&ln.isTypedArray;function Dn(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 P_(Y,de,se,Oe){for(var Xe=-1,pt=Y==null?0:Y.length;++Xe<pt;){var Zt=Y[Xe];de(Oe,Zt,se(Zt),Y)}return Oe}function qn(Y,de){for(var se=-1,Oe=Y==null?0:Y.length;++se<Oe&&de(Y[se],se,Y)!==!1;);return Y}function N_(Y,de){for(var se=Y==null?0:Y.length;se--&&de(Y[se],se,Y)!==!1;);return Y}function Mo(Y,de){for(var se=-1,Oe=Y==null?0:Y.length;++se<Oe;)if(!de(Y[se],se,Y))return!1;return!0}function Zi(Y,de){for(var se=-1,Oe=Y==null?0:Y.length,Xe=0,pt=[];++se<Oe;){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&&Kl(Y,de,0)>-1}function ba(Y,de,se){for(var Oe=-1,Xe=Y==null?0:Y.length;++Oe<Xe;)if(se(de,Y[Oe]))return!0;return!1}function Ot(Y,de){for(var se=-1,Oe=Y==null?0:Y.length,Xe=Array(Oe);++se<Oe;)Xe[se]=de(Y[se],se,Y);return Xe}function Xi(Y,de){for(var se=-1,Oe=de.length,Xe=Y.length;++se<Oe;)Y[Xe+se]=de[se];return Y}function va(Y,de,se,Oe){var Xe=-1,pt=Y==null?0:Y.length;for(Oe&&pt&&(se=Y[++Xe]);++Xe<pt;)se=de(se,Y[Xe],Xe,Y);return se}function I_(Y,de,se,Oe){var Xe=Y==null?0:Y.length;for(Oe&&Xe&&(se=Y[--Xe]);Xe--;)se=de(se,Y[Xe],Xe,Y);return se}function wa(Y,de){for(var se=-1,Oe=Y==null?0:Y.length;++se<Oe;)if(de(Y[se],se,Y))return!0;return!1}var T_=Sa("length");function L_(Y){return Y.split("")}function A_(Y){return Y.match(Fl)||[]}function Oo(Y,de,se){var Oe;return se(Y,function(Xe,pt,Zt){if(de(Xe,pt,Zt))return Oe=pt,!1}),Oe}function hs(Y,de,se,Oe){for(var Xe=Y.length,pt=se+(Oe?1:-1);Oe?pt--:++pt<Xe;)if(de(Y[pt],pt,Y))return pt;return-1}function Kl(Y,de,se){return de===de?z_(Y,de,se):hs(Y,Fo,se)}function E_(Y,de,se,Oe){for(var Xe=se-1,pt=Y.length;++Xe<pt;)if(Oe(Y[Xe],de))return Xe;return-1}function Fo(Y){return Y!==Y}function Uo(Y,de){var se=Y==null?0:Y.length;return se?Ca(Y,de)/se:Ce}function Sa(Y){return function(de){return de==null?t:de[Y]}}function ka(Y){return function(de){return Y==null?t:Y[de]}}function Bo(Y,de,se,Oe,Xe){return Xe(Y,function(pt,Zt,Lt){se=Oe?(Oe=!1,pt):de(se,pt,Zt,Lt)}),se}function R_(Y,de){var se=Y.length;for(Y.sort(de);se--;)Y[se]=Y[se].value;return Y}function Ca(Y,de){for(var se,Oe=-1,Xe=Y.length;++Oe<Xe;){var pt=de(Y[Oe]);pt!==t&&(se=se===t?pt:se+pt)}return se}function ya(Y,de){for(var se=-1,Oe=Array(Y);++se<Y;)Oe[se]=de(se);return Oe}function D_(Y,de){return Ot(de,function(se){return[se,Y[se]]})}function Ho(Y){return Y&&Y.slice(0,qo(Y)+1).replace(Ci,"")}function Vn(Y){return function(de){return Y(de)}}function Pa(Y,de){return Ot(de,function(se){return Y[se]})}function Er(Y,de){return Y.has(de)}function Wo(Y,de){for(var se=-1,Oe=Y.length;++se<Oe&&Kl(de,Y[se],0)>-1;);return se}function zo(Y,de){for(var se=Y.length;se--&&Kl(de,Y[se],0)>-1;);return se}function V_(Y,de){for(var se=Y.length,Oe=0;se--;)Y[se]===de&&++Oe;return Oe}var M_=ka(Lr),O_=ka(ze);function F_(Y){return"\\"+Gt[Y]}function U_(Y,de){return Y==null?t:Y[de]}function jl(Y){return gt.test(Y)}function B_(Y){return Mt.test(Y)}function H_(Y){for(var de,se=[];!(de=Y.next()).done;)se.push(de.value);return se}function Na(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(Oe,Xe){se[++de]=[Xe,Oe]}),se}function Go(Y,de){return function(se){return Y(de(se))}}function $i(Y,de){for(var se=-1,Oe=Y.length,Xe=0,pt=[];++se<Oe;){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(Oe){se[++de]=Oe}),se}function W_(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(Oe){se[++de]=[Oe,Oe]}),se}function z_(Y,de,se){for(var Oe=se-1,Xe=Y.length;++Oe<Xe;)if(Y[Oe]===de)return Oe;return-1}function G_(Y,de,se){for(var Oe=se+1;Oe--;)if(Y[Oe]===de)return Oe;return Oe}function Jl(Y){return jl(Y)?K_(Y):T_(Y)}function ti(Y){return jl(Y)?j_(Y):L_(Y)}function qo(Y){for(var de=Y.length;de--&&Hi.test(Y.charAt(de)););return de}var q_=ka(vt);function K_(Y){for(var de=we.lastIndex=0;we.test(Y);)++de;return de}function j_(Y){return Y.match(we)||[]}function J_(Y){return Y.match(De)||[]}var Y_=function Y(de){de=de==null?qt:Yl.defaults(qt.Object(),de,Yl.pick(qt,Tr));var se=de.Array,Oe=de.Date,Xe=de.Error,pt=de.Function,Zt=de.Math,Lt=de.Object,Ia=de.RegExp,Q_=de.String,Kn=de.TypeError,_s=se.prototype,Z_=pt.prototype,Ql=Lt.prototype,ps=de["__core-js_shared__"],ms=Z_.toString,Nt=Ql.hasOwnProperty,X_=0,Ko=function(){var a=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),bs=Ql.toString,$_=ms.call(Lt),x_=qt._,ep=Ia("^"+ms.call(Nt).replace(cl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vs=ql?de.Buffer:t,xi=de.Symbol,ws=de.Uint8Array,jo=vs?vs.allocUnsafe:t,Ss=Go(Lt.getPrototypeOf,Lt),Jo=Lt.create,Yo=Ql.propertyIsEnumerable,ks=_s.splice,Qo=xi?xi.isConcatSpreadable:t,Rr=xi?xi.iterator:t,Sl=xi?xi.toStringTag:t,Cs=function(){try{var a=Nl(Lt,"defineProperty");return a({},"",{}),a}catch{}}(),tp=de.clearTimeout!==qt.clearTimeout&&de.clearTimeout,np=Oe&&Oe.now!==qt.Date.now&&Oe.now,ip=de.setTimeout!==qt.setTimeout&&de.setTimeout,ys=Zt.ceil,Ps=Zt.floor,Ta=Lt.getOwnPropertySymbols,lp=vs?vs.isBuffer:t,Zo=de.isFinite,rp=_s.join,sp=Go(Lt.keys,Lt),Xt=Zt.max,dn=Zt.min,ap=Oe.now,op=de.parseInt,Xo=Zt.random,up=_s.reverse,La=Nl(de,"DataView"),Dr=Nl(de,"Map"),Aa=Nl(de,"Promise"),Zl=Nl(de,"Set"),Vr=Nl(de,"WeakMap"),Mr=Nl(Lt,"create"),Ns=Vr&&new Vr,Xl={},fp=Il(La),cp=Il(Dr),dp=Il(Aa),hp=Il(Zl),gp=Il(Vr),Is=xi?xi.prototype:t,Or=Is?Is.valueOf:t,$o=Is?Is.toString:t;function R(a){if(Wt(a)&&!xe(a)&&!(a instanceof ut)){if(a instanceof jn)return a;if(Nt.call(a,"__wrapped__"))return xu(a)}return new jn(a)}var $l=function(){function a(){}return function(u){if(!Ut(u))return{};if(Jo)return Jo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ts(){}function jn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}R.templateSettings={escape:_r,evaluate:pr,interpolate:Ml,variable:"",imports:{_:R}},R.prototype=Ts.prototype,R.prototype.constructor=R,jn.prototype=$l(Ts.prototype),jn.prototype.constructor=jn;function ut(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=te,this.__views__=[]}function _p(){var a=new ut(this.__wrapped__);return a.__actions__=yn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=yn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=yn(this.__views__),a}function pp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function mp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,P=d?a.length:0,M=Lm(0,P,this.__views__),W=M.start,G=M.end,Q=G-W,ge=m?G:W-1,_e=this.__iteratees__,ve=_e.length,Ee=0,Be=dn(Q,this.__takeCount__);if(!d||!m&&P==Q&&Be==Q)return ku(a,this.__actions__);var Ye=[];e:for(;Q--&&Ee<Be;){ge+=u;for(var it=-1,Qe=a[ge];++it<ve;){var ot=_e[it],ft=ot.iteratee,Fn=ot.type,wn=ft(Qe);if(Fn==ee)Qe=wn;else if(!wn){if(Fn==pe)continue e;break e}}Ye[Ee++]=Qe}return Ye}ut.prototype=$l(Ts.prototype),ut.prototype.constructor=ut;function kl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function bp(){this.__data__=Mr?Mr(null):{},this.size=0}function vp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function wp(a){var u=this.__data__;if(Mr){var d=u[a];return d===c?t:d}return Nt.call(u,a)?u[a]:t}function Sp(a){var u=this.__data__;return Mr?u[a]!==t:Nt.call(u,a)}function kp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Mr&&u===t?c:u,this}kl.prototype.clear=bp,kl.prototype.delete=vp,kl.prototype.get=wp,kl.prototype.has=Sp,kl.prototype.set=kp;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Cp(){this.__data__=[],this.size=0}function yp(a){var u=this.__data__,d=Ls(u,a);if(d<0)return!1;var m=u.length-1;return d==m?u.pop():ks.call(u,d,1),--this.size,!0}function Pp(a){var u=this.__data__,d=Ls(u,a);return d<0?t:u[d][1]}function Np(a){return Ls(this.__data__,a)>-1}function Ip(a,u){var d=this.__data__,m=Ls(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ni.prototype.clear=Cp,Ni.prototype.delete=yp,Ni.prototype.get=Pp,Ni.prototype.has=Np,Ni.prototype.set=Ip;function Ii(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Tp(){this.size=0,this.__data__={hash:new kl,map:new(Dr||Ni),string:new kl}}function Lp(a){var u=Ws(this,a).delete(a);return this.size-=u?1:0,u}function Ap(a){return Ws(this,a).get(a)}function Ep(a){return Ws(this,a).has(a)}function Rp(a,u){var d=Ws(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ii.prototype.clear=Tp,Ii.prototype.delete=Lp,Ii.prototype.get=Ap,Ii.prototype.has=Ep,Ii.prototype.set=Rp;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function Dp(a){return this.__data__.set(a,c),this}function Vp(a){return this.__data__.has(a)}Cl.prototype.add=Cl.prototype.push=Dp,Cl.prototype.has=Vp;function ni(a){var u=this.__data__=new Ni(a);this.size=u.size}function Mp(){this.__data__=new Ni,this.size=0}function Op(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Fp(a){return this.__data__.get(a)}function Up(a){return this.__data__.has(a)}function Bp(a,u){var d=this.__data__;if(d instanceof Ni){var m=d.__data__;if(!Dr||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(m)}return d.set(a,u),this.size=d.size,this}ni.prototype.clear=Mp,ni.prototype.delete=Op,ni.prototype.get=Fp,ni.prototype.has=Up,ni.prototype.set=Bp;function xo(a,u){var d=xe(a),m=!d&&Tl(a),P=!d&&!m&&ll(a),M=!d&&!m&&!P&&nr(a),W=d||m||P||M,G=W?ya(a.length,Q_):[],Q=G.length;for(var ge in a)(u||Nt.call(a,ge))&&!(W&&(ge=="length"||P&&(ge=="offset"||ge=="parent")||M&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ei(ge,Q)))&&G.push(ge);return G}function eu(a){var u=a.length;return u?a[Wa(0,u-1)]:t}function Hp(a,u){return zs(yn(a),yl(u,0,a.length))}function Wp(a){return zs(yn(a))}function Ea(a,u,d){(d!==t&&!ii(a[u],d)||d===t&&!(u in a))&&Ti(a,u,d)}function Fr(a,u,d){var m=a[u];(!(Nt.call(a,u)&&ii(m,d))||d===t&&!(u in a))&&Ti(a,u,d)}function Ls(a,u){for(var d=a.length;d--;)if(ii(a[d][0],u))return d;return-1}function zp(a,u,d,m){return el(a,function(P,M,W){u(m,P,d(P),W)}),m}function tu(a,u){return a&&gi(u,en(u),a)}function Gp(a,u){return a&&gi(u,Nn(u),a)}function Ti(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Ra(a,u){for(var d=-1,m=u.length,P=se(m),M=a==null;++d<m;)P[d]=M?t:ho(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 Jn(a,u,d,m,P,M){var W,G=u&_,Q=u&p,ge=u&b;if(d&&(W=P?d(a,m,P,M):d(a)),W!==t)return W;if(!Ut(a))return a;var _e=xe(a);if(_e){if(W=Em(a),!G)return yn(a,W)}else{var ve=hn(a),Ee=ve==St||ve==Ht;if(ll(a))return Pu(a,G);if(ve==on||ve==Z||Ee&&!P){if(W=Q||Ee?{}:qu(a),!G)return Q?wm(a,Gp(W,a)):vm(a,tu(W,a))}else{if(!dt[ve])return P?a:{};W=Rm(a,ve,G)}}M||(M=new ni);var Be=M.get(a);if(Be)return Be;M.set(a,W),wf(a)?a.forEach(function(Qe){W.add(Jn(Qe,u,d,Qe,a,M))}):bf(a)&&a.forEach(function(Qe,ot){W.set(ot,Jn(Qe,u,d,ot,a,M))});var Ye=ge?Q?$a:Xa:Q?Nn:en,it=_e?t:Ye(a);return qn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Fr(W,ot,Jn(Qe,u,d,ot,a,M))}),W}function qp(a){var u=en(a);return function(d){return nu(d,a,u)}}function nu(a,u,d){var m=d.length;if(a==null)return!m;for(a=Lt(a);m--;){var P=d[m],M=u[P],W=a[P];if(W===t&&!(P in a)||!M(W))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new Kn(s);return qr(function(){a.apply(t,d)},u)}function Ur(a,u,d,m){var P=-1,M=ds,W=!0,G=a.length,Q=[],ge=u.length;if(!G)return Q;d&&(u=Ot(u,Vn(d))),m?(M=ba,W=!1):u.length>=l&&(M=Er,W=!1,u=new Cl(u));e:for(;++P<G;){var _e=a[P],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,W&&ve===ve){for(var Ee=ge;Ee--;)if(u[Ee]===ve)continue e;Q.push(_e)}else M(u,ve,m)||Q.push(_e)}return Q}var el=Au(hi),lu=Au(Va,!0);function Kp(a,u){var d=!0;return el(a,function(m,P,M){return d=!!u(m,P,M),d}),d}function As(a,u,d){for(var m=-1,P=a.length;++m<P;){var M=a[m],W=u(M);if(W!=null&&(G===t?W===W&&!On(W):d(W,G)))var G=W,Q=M}return Q}function jp(a,u,d,m){var P=a.length;for(d=nt(d),d<0&&(d=-d>P?0:P+d),m=m===t||m>P?P:nt(m),m<0&&(m+=P),m=d>m?0:kf(m);d<m;)a[d++]=u;return a}function ru(a,u){var d=[];return el(a,function(m,P,M){u(m,P,M)&&d.push(m)}),d}function sn(a,u,d,m,P){var M=-1,W=a.length;for(d||(d=Vm),P||(P=[]);++M<W;){var G=a[M];u>0&&d(G)?u>1?sn(G,u-1,d,m,P):Xi(P,G):m||(P[P.length]=G)}return P}var Da=Eu(),su=Eu(!0);function hi(a,u){return a&&Da(a,u,en)}function Va(a,u){return a&&su(a,u,en)}function Es(a,u){return Zi(u,function(d){return Ri(a[d])})}function Pl(a,u){u=nl(u,a);for(var d=0,m=u.length;a!=null&&d<m;)a=a[_i(u[d++])];return d&&d==m?a:t}function au(a,u,d){var m=u(a);return xe(a)?m:Xi(m,d(a))}function bn(a){return a==null?a===t?fl:_n:Sl&&Sl in Lt(a)?Tm(a):Wm(a)}function Ma(a,u){return a>u}function Jp(a,u){return a!=null&&Nt.call(a,u)}function Yp(a,u){return a!=null&&u in Lt(a)}function Qp(a,u,d){return a>=dn(u,d)&&a<Xt(u,d)}function Oa(a,u,d){for(var m=d?ba:ds,P=a[0].length,M=a.length,W=M,G=se(M),Q=1/0,ge=[];W--;){var _e=a[W];W&&u&&(_e=Ot(_e,Vn(u))),Q=dn(_e.length,Q),G[W]=!d&&(u||P>=120&&_e.length>=120)?new Cl(W&&_e):t}_e=a[0];var ve=-1,Ee=G[0];e:for(;++ve<P&&ge.length<Q;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Ee?Er(Ee,Ye):m(ge,Ye,d))){for(W=M;--W;){var it=G[W];if(!(it?Er(it,Ye):m(a[W],Ye,d)))continue e}Ee&&Ee.push(Ye),ge.push(Be)}}return ge}function Zp(a,u,d,m){return hi(a,function(P,M,W){u(m,d(P),M,W)}),m}function Br(a,u,d){u=nl(u,a),a=Yu(a,u);var m=a==null?a:a[_i(Qn(u))];return m==null?t:Dn(m,a,d)}function ou(a){return Wt(a)&&bn(a)==Z}function Xp(a){return Wt(a)&&bn(a)==Wn}function $p(a){return Wt(a)&&bn(a)==He}function Hr(a,u,d,m,P){return a===u?!0:a==null||u==null||!Wt(a)&&!Wt(u)?a!==a&&u!==u:xp(a,u,d,m,Hr,P)}function xp(a,u,d,m,P,M){var W=xe(a),G=xe(u),Q=W?he:hn(a),ge=G?he:hn(u);Q=Q==Z?on:Q,ge=ge==Z?on:ge;var _e=Q==on,ve=ge==on,Ee=Q==ge;if(Ee&&ll(a)){if(!ll(u))return!1;W=!0,_e=!1}if(Ee&&!_e)return M||(M=new ni),W||nr(a)?Wu(a,u,d,m,P,M):Nm(a,u,Q,d,m,P,M);if(!(d&v)){var Be=_e&&Nt.call(a,"__wrapped__"),Ye=ve&&Nt.call(u,"__wrapped__");if(Be||Ye){var it=Be?a.value():a,Qe=Ye?u.value():u;return M||(M=new ni),P(it,Qe,d,m,M)}}return Ee?(M||(M=new ni),Im(a,u,d,m,P,M)):!1}function em(a){return Wt(a)&&hn(a)==kt}function Fa(a,u,d,m){var P=d.length,M=P,W=!m;if(a==null)return!M;for(a=Lt(a);P--;){var G=d[P];if(W&&G[2]?G[1]!==a[G[0]]:!(G[0]in a))return!1}for(;++P<M;){G=d[P];var Q=G[0],ge=a[Q],_e=G[1];if(W&&G[2]){if(ge===t&&!(Q in a))return!1}else{var ve=new ni;if(m)var Ee=m(ge,_e,Q,a,u,ve);if(!(Ee===t?Hr(_e,ge,v|S,m,ve):Ee))return!1}}return!0}function uu(a){if(!Ut(a)||Om(a))return!1;var u=Ri(a)?ep:kr;return u.test(Il(a))}function tm(a){return Wt(a)&&bn(a)==mn}function nm(a){return Wt(a)&&hn(a)==Qt}function im(a){return Wt(a)&&Ys(a.length)&&!!Pt[bn(a)]}function fu(a){return typeof a=="function"?a:a==null?In:typeof a=="object"?xe(a)?hu(a[0],a[1]):du(a):Df(a)}function Ua(a){if(!Gr(a))return sp(a);var u=[];for(var d in Lt(a))Nt.call(a,d)&&d!="constructor"&&u.push(d);return u}function lm(a){if(!Ut(a))return Hm(a);var u=Gr(a),d=[];for(var m in a)m=="constructor"&&(u||!Nt.call(a,m))||d.push(m);return d}function Ba(a,u){return a<u}function cu(a,u){var d=-1,m=Pn(a)?se(a.length):[];return el(a,function(P,M,W){m[++d]=u(P,M,W)}),m}function du(a){var u=eo(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Fa(d,a,u)}}function hu(a,u){return no(a)&&Ku(u)?ju(_i(a),u):function(d){var m=ho(d,a);return m===t&&m===u?go(d,a):Hr(u,m,v|S)}}function Rs(a,u,d,m,P){a!==u&&Da(u,function(M,W){if(P||(P=new ni),Ut(M))rm(a,u,W,d,Rs,m,P);else{var G=m?m(lo(a,W),M,W+"",a,u,P):t;G===t&&(G=M),Ea(a,W,G)}},Nn)}function rm(a,u,d,m,P,M,W){var G=lo(a,d),Q=lo(u,d),ge=W.get(Q);if(ge){Ea(a,d,ge);return}var _e=M?M(G,Q,d+"",a,u,W):t,ve=_e===t;if(ve){var Ee=xe(Q),Be=!Ee&&ll(Q),Ye=!Ee&&!Be&&nr(Q);_e=Q,Ee||Be||Ye?xe(G)?_e=G:Kt(G)?_e=yn(G):Be?(ve=!1,_e=Pu(Q,!0)):Ye?(ve=!1,_e=Nu(Q,!0)):_e=[]:Kr(Q)||Tl(Q)?(_e=G,Tl(G)?_e=Cf(G):(!Ut(G)||Ri(G))&&(_e=qu(Q))):ve=!1}ve&&(W.set(Q,_e),P(_e,Q,m,M,W),W.delete(Q)),Ea(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ei(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ot(u,function(M){return xe(M)?function(W){return Pl(W,M.length===1?M[0]:M)}:M}):u=[In];var m=-1;u=Ot(u,Vn(je()));var P=cu(a,function(M,W,G){var Q=Ot(u,function(ge){return ge(M)});return{criteria:Q,index:++m,value:M}});return R_(P,function(M,W){return bm(M,W,d)})}function sm(a,u){return pu(a,u,function(d,m){return go(a,m)})}function pu(a,u,d){for(var m=-1,P=u.length,M={};++m<P;){var W=u[m],G=Pl(a,W);d(G,W)&&Wr(M,nl(W,a),G)}return M}function am(a){return function(u){return Pl(u,a)}}function Ha(a,u,d,m){var P=m?E_:Kl,M=-1,W=u.length,G=a;for(a===u&&(u=yn(u)),d&&(G=Ot(a,Vn(d)));++M<W;)for(var Q=0,ge=u[M],_e=d?d(ge):ge;(Q=P(G,_e,Q,m))>-1;)G!==a&&ks.call(G,Q,1),ks.call(a,Q,1);return a}function mu(a,u){for(var d=a?u.length:0,m=d-1;d--;){var P=u[d];if(d==m||P!==M){var M=P;Ei(P)?ks.call(a,P,1):qa(a,P)}}return a}function Wa(a,u){return a+Ps(Xo()*(u-a+1))}function om(a,u,d,m){for(var P=-1,M=Xt(ys((u-a)/(d||1)),0),W=se(M);M--;)W[m?M:++P]=a,a+=d;return W}function za(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 ro(Ju(a,u,In),a+"")}function um(a){return eu(ir(a))}function fm(a,u){var d=ir(a);return zs(d,yl(u,0,d.length))}function Wr(a,u,d,m){if(!Ut(a))return a;u=nl(u,a);for(var P=-1,M=u.length,W=M-1,G=a;G!=null&&++P<M;){var Q=_i(u[P]),ge=d;if(Q==="__proto__"||Q==="constructor"||Q==="prototype")return a;if(P!=W){var _e=G[Q];ge=m?m(_e,Q,G):t,ge===t&&(ge=Ut(_e)?_e:Ei(u[P+1])?[]:{})}Fr(G,Q,ge),G=G[Q]}return a}var bu=Ns?function(a,u){return Ns.set(a,u),a}:In,cm=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:po(u),writable:!0})}:In;function dm(a){return zs(ir(a))}function Yn(a,u,d){var m=-1,P=a.length;u<0&&(u=-u>P?0:P+u),d=d>P?P:d,d<0&&(d+=P),P=u>d?0:d-u>>>0,u>>>=0;for(var M=se(P);++m<P;)M[m]=a[m+u];return M}function hm(a,u){var d;return el(a,function(m,P,M){return d=u(m,P,M),!d}),!!d}function Ds(a,u,d){var m=0,P=a==null?m:a.length;if(typeof u=="number"&&u===u&&P<=Pe){for(;m<P;){var M=m+P>>>1,W=a[M];W!==null&&!On(W)&&(d?W<=u:W<u)?m=M+1:P=M}return P}return Ga(a,u,In,d)}function Ga(a,u,d,m){var P=0,M=a==null?0:a.length;if(M===0)return 0;u=d(u);for(var W=u!==u,G=u===null,Q=On(u),ge=u===t;P<M;){var _e=Ps((P+M)/2),ve=d(a[_e]),Ee=ve!==t,Be=ve===null,Ye=ve===ve,it=On(ve);if(W)var Qe=m||Ye;else ge?Qe=Ye&&(m||Ee):G?Qe=Ye&&Ee&&(m||!Be):Q?Qe=Ye&&Ee&&!Be&&(m||!it):Be||it?Qe=!1:Qe=m?ve<=u:ve<u;Qe?P=_e+1:M=_e}return dn(M,Ue)}function vu(a,u){for(var d=-1,m=a.length,P=0,M=[];++d<m;){var W=a[d],G=u?u(W):W;if(!d||!ii(G,Q)){var Q=G;M[P++]=W===0?0:W}}return M}function wu(a){return typeof a=="number"?a:On(a)?Ce:+a}function Mn(a){if(typeof a=="string")return a;if(xe(a))return Ot(a,Mn)+"";if(On(a))return $o?$o.call(a):"";var u=a+"";return u=="0"&&1/a==-oe?"-0":u}function tl(a,u,d){var m=-1,P=ds,M=a.length,W=!0,G=[],Q=G;if(d)W=!1,P=ba;else if(M>=l){var ge=u?null:ym(a);if(ge)return gs(ge);W=!1,P=Er,Q=new Cl}else Q=u?[]:G;e:for(;++m<M;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,W&&ve===ve){for(var Ee=Q.length;Ee--;)if(Q[Ee]===ve)continue e;u&&Q.push(ve),G.push(_e)}else P(Q,ve,d)||(Q!==G&&Q.push(ve),G.push(_e))}return G}function qa(a,u){return u=nl(u,a),a=Yu(a,u),a==null||delete a[_i(Qn(u))]}function Su(a,u,d,m){return Wr(a,u,d(Pl(a,u)),m)}function Vs(a,u,d,m){for(var P=a.length,M=m?P:-1;(m?M--:++M<P)&&u(a[M],M,a););return d?Yn(a,m?0:M,m?M+1:P):Yn(a,m?M+1:0,m?P:M)}function ku(a,u){var d=a;return d instanceof ut&&(d=d.value()),va(u,function(m,P){return P.func.apply(P.thisArg,Xi([m],P.args))},d)}function Ka(a,u,d){var m=a.length;if(m<2)return m?tl(a[0]):[];for(var P=-1,M=se(m);++P<m;)for(var W=a[P],G=-1;++G<m;)G!=P&&(M[P]=Ur(M[P]||W,a[G],u,d));return tl(sn(M,1),u,d)}function Cu(a,u,d){for(var m=-1,P=a.length,M=u.length,W={};++m<P;){var G=m<M?u[m]:t;d(W,a[m],G)}return W}function ja(a){return Kt(a)?a:[]}function Ja(a){return typeof a=="function"?a:In}function nl(a,u){return xe(a)?a:no(a,u)?[a]:$u(wt(a))}var gm=rt;function il(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Yn(a,u,d)}var yu=tp||function(a){return qt.clearTimeout(a)};function Pu(a,u){if(u)return a.slice();var d=a.length,m=jo?jo(d):new a.constructor(d);return a.copy(m),m}function Ya(a){var u=new a.constructor(a.byteLength);return new ws(u).set(new ws(a)),u}function _m(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function pm(a){var u=new a.constructor(a.source,zi.exec(a));return u.lastIndex=a.lastIndex,u}function mm(a){return Or?Lt(Or.call(a)):{}}function Nu(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Iu(a,u){if(a!==u){var d=a!==t,m=a===null,P=a===a,M=On(a),W=u!==t,G=u===null,Q=u===u,ge=On(u);if(!G&&!ge&&!M&&a>u||M&&W&&Q&&!G&&!ge||m&&W&&Q||!d&&Q||!P)return 1;if(!m&&!M&&!ge&&a<u||ge&&d&&P&&!m&&!M||G&&d&&P||!W&&P||!Q)return-1}return 0}function bm(a,u,d){for(var m=-1,P=a.criteria,M=u.criteria,W=P.length,G=d.length;++m<W;){var Q=Iu(P[m],M[m]);if(Q){if(m>=G)return Q;var ge=d[m];return Q*(ge=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var P=-1,M=a.length,W=d.length,G=-1,Q=u.length,ge=Xt(M-W,0),_e=se(Q+ge),ve=!m;++G<Q;)_e[G]=u[G];for(;++P<W;)(ve||P<M)&&(_e[d[P]]=a[P]);for(;ge--;)_e[G++]=a[P++];return _e}function Lu(a,u,d,m){for(var P=-1,M=a.length,W=-1,G=d.length,Q=-1,ge=u.length,_e=Xt(M-G,0),ve=se(_e+ge),Ee=!m;++P<_e;)ve[P]=a[P];for(var Be=P;++Q<ge;)ve[Be+Q]=u[Q];for(;++W<G;)(Ee||P<M)&&(ve[Be+d[W]]=a[P++]);return ve}function yn(a,u){var d=-1,m=a.length;for(u||(u=se(m));++d<m;)u[d]=a[d];return u}function gi(a,u,d,m){var P=!d;d||(d={});for(var M=-1,W=u.length;++M<W;){var G=u[M],Q=m?m(d[G],a[G],G,d,a):t;Q===t&&(Q=a[G]),P?Ti(d,G,Q):Fr(d,G,Q)}return d}function vm(a,u){return gi(a,to(a),u)}function wm(a,u){return gi(a,zu(a),u)}function Ms(a,u){return function(d,m){var P=xe(d)?P_:zp,M=u?u():{};return P(d,a,je(m,2),M)}}function xl(a){return rt(function(u,d){var m=-1,P=d.length,M=P>1?d[P-1]:t,W=P>2?d[2]:t;for(M=a.length>3&&typeof M=="function"?(P--,M):t,W&&vn(d[0],d[1],W)&&(M=P<3?t:M,P=1),u=Lt(u);++m<P;){var G=d[m];G&&a(u,G,m,M)}return u})}function Au(a,u){return function(d,m){if(d==null)return d;if(!Pn(d))return a(d,m);for(var P=d.length,M=u?P:-1,W=Lt(d);(u?M--:++M<P)&&m(W[M],M,W)!==!1;);return d}}function Eu(a){return function(u,d,m){for(var P=-1,M=Lt(u),W=m(u),G=W.length;G--;){var Q=W[a?G:++P];if(d(M[Q],Q,M)===!1)break}return u}}function Sm(a,u,d){var m=u&y,P=zr(a);function M(){var W=this&&this!==qt&&this instanceof M?P:a;return W.apply(m?d:this,arguments)}return M}function Ru(a){return function(u){u=wt(u);var d=jl(u)?ti(u):t,m=d?d[0]:u.charAt(0),P=d?il(d,1).join(""):u.slice(1);return m[a]()+P}}function er(a){return function(u){return va(Ef(Af(u).replace(Je,"")),a,"")}}function zr(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=$l(a.prototype),m=a.apply(d,u);return Ut(m)?m:d}}function km(a,u,d){var m=zr(a);function P(){for(var M=arguments.length,W=se(M),G=M,Q=tr(P);G--;)W[G]=arguments[G];var ge=M<3&&W[0]!==Q&&W[M-1]!==Q?[]:$i(W,Q);if(M-=ge.length,M<d)return Fu(a,u,Os,P.placeholder,t,W,ge,t,t,d-M);var _e=this&&this!==qt&&this instanceof P?m:a;return Dn(_e,this,W)}return P}function Du(a){return function(u,d,m){var P=Lt(u);if(!Pn(u)){var M=je(d,3);u=en(u),d=function(G){return M(P[G],G,P)}}var W=a(u,d,m);return W>-1?P[M?u[W]:W]:t}}function Vu(a){return Ai(function(u){var d=u.length,m=d,P=jn.prototype.thru;for(a&&u.reverse();m--;){var M=u[m];if(typeof M!="function")throw new Kn(s);if(P&&!W&&Hs(M)=="wrapper")var W=new jn([],!0)}for(m=W?m:d;++m<d;){M=u[m];var G=Hs(M),Q=G=="wrapper"?xa(M):t;Q&&io(Q[0])&&Q[1]==(V|I|L|O)&&!Q[4].length&&Q[9]==1?W=W[Hs(Q[0])].apply(W,Q[3]):W=M.length==1&&io(M)?W[G]():W.thru(M)}return function(){var ge=arguments,_e=ge[0];if(W&&ge.length==1&&xe(_e))return W.plant(_e).value();for(var ve=0,Ee=d?u[ve].apply(this,ge):_e;++ve<d;)Ee=u[ve].call(this,Ee);return Ee}})}function Os(a,u,d,m,P,M,W,G,Q,ge){var _e=u&V,ve=u&y,Ee=u&C,Be=u&(I|D),Ye=u&F,it=Ee?t:zr(a);function Qe(){for(var ot=arguments.length,ft=se(ot),Fn=ot;Fn--;)ft[Fn]=arguments[Fn];if(Be)var wn=tr(Qe),Un=V_(ft,wn);if(m&&(ft=Tu(ft,m,P,Be)),M&&(ft=Lu(ft,M,W,Be)),ot-=Un,Be&&ot<ge){var jt=$i(ft,wn);return Fu(a,u,Os,Qe.placeholder,d,ft,jt,G,Q,ge-ot)}var li=ve?d:this,Vi=Ee?li[a]:a;return ot=ft.length,G?ft=zm(ft,G):Ye&&ot>1&&ft.reverse(),_e&&Q<ot&&(ft.length=Q),this&&this!==qt&&this instanceof Qe&&(Vi=it||zr(Vi)),Vi.apply(li,ft)}return Qe}function Mu(a,u){return function(d,m){return Zp(d,a,u(m),{})}}function Fs(a,u){return function(d,m){var P;if(d===t&&m===t)return u;if(d!==t&&(P=d),m!==t){if(P===t)return m;typeof d=="string"||typeof m=="string"?(d=Mn(d),m=Mn(m)):(d=wu(d),m=wu(m)),P=a(d,m)}return P}}function Qa(a){return Ai(function(u){return u=Ot(u,Vn(je())),rt(function(d){var m=this;return a(u,function(P){return Dn(P,m,d)})})})}function Us(a,u){u=u===t?" ":Mn(u);var d=u.length;if(d<2)return d?za(u,a):u;var m=za(u,ys(a/Jl(u)));return jl(u)?il(ti(m),0,a).join(""):m.slice(0,a)}function Cm(a,u,d,m){var P=u&y,M=zr(a);function W(){for(var G=-1,Q=arguments.length,ge=-1,_e=m.length,ve=se(_e+Q),Ee=this&&this!==qt&&this instanceof W?M:a;++ge<_e;)ve[ge]=m[ge];for(;Q--;)ve[ge++]=arguments[++G];return Dn(Ee,P?d:this,ve)}return W}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&vn(u,d,m)&&(d=m=t),u=Di(u),d===t?(d=u,u=0):d=Di(d),m=m===t?u<d?1:-1:Di(m),om(u,d,m,a)}}function Bs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Zn(u),d=Zn(d)),a(u,d)}}function Fu(a,u,d,m,P,M,W,G,Q,ge){var _e=u&I,ve=_e?W:t,Ee=_e?t:W,Be=_e?M:t,Ye=_e?t:M;u|=_e?L:T,u&=~(_e?T:L),u&N||(u&=~(y|C));var it=[a,u,P,Be,ve,Ye,Ee,G,Q,ge],Qe=d.apply(t,it);return io(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function Za(a){var u=Zt[a];return function(d,m){if(d=Zn(d),m=m==null?0:dn(nt(m),292),m&&Zo(d)){var P=(wt(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+m));return P=(wt(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-m))}return u(d)}}var ym=Zl&&1/gs(new Zl([,-0]))[1]==oe?function(a){return new Zl(a)}:vo;function Uu(a){return function(u){var d=hn(u);return d==kt?Na(u):d==Qt?W_(u):D_(u,a(u))}}function Li(a,u,d,m,P,M,W,G){var Q=u&C;if(!Q&&typeof a!="function")throw new Kn(s);var ge=m?m.length:0;if(ge||(u&=~(L|T),m=P=t),W=W===t?W:Xt(nt(W),0),G=G===t?G:nt(G),ge-=P?P.length:0,u&T){var _e=m,ve=P;m=P=t}var Ee=Q?t:xa(a),Be=[a,u,d,m,P,_e,ve,M,W,G];if(Ee&&Bm(Be,Ee),a=Be[0],u=Be[1],d=Be[2],m=Be[3],P=Be[4],G=Be[9]=Be[9]===t?Q?0:a.length:Xt(Be[9]-ge,0),!G&&u&(I|D)&&(u&=~(I|D)),!u||u==y)var Ye=Sm(a,u,d);else u==I||u==D?Ye=km(a,u,G):(u==L||u==(y|L))&&!P.length?Ye=Cm(a,u,d,m):Ye=Os.apply(t,Be);var it=Ee?bu:Qu;return Zu(it(Ye,Be),a,u)}function Bu(a,u,d,m){return a===t||ii(a,Ql[d])&&!Nt.call(m,d)?u:a}function Hu(a,u,d,m,P,M){return Ut(a)&&Ut(u)&&(M.set(u,a),Rs(a,u,t,Hu,M),M.delete(u)),a}function Pm(a){return Kr(a)?t:a}function Wu(a,u,d,m,P,M){var W=d&v,G=a.length,Q=u.length;if(G!=Q&&!(W&&Q>G))return!1;var ge=M.get(a),_e=M.get(u);if(ge&&_e)return ge==u&&_e==a;var ve=-1,Ee=!0,Be=d&S?new Cl:t;for(M.set(a,u),M.set(u,a);++ve<G;){var Ye=a[ve],it=u[ve];if(m)var Qe=W?m(it,Ye,ve,u,a,M):m(Ye,it,ve,a,u,M);if(Qe!==t){if(Qe)continue;Ee=!1;break}if(Be){if(!wa(u,function(ot,ft){if(!Er(Be,ft)&&(Ye===ot||P(Ye,ot,d,m,M)))return Be.push(ft)})){Ee=!1;break}}else if(!(Ye===it||P(Ye,it,d,m,M))){Ee=!1;break}}return M.delete(a),M.delete(u),Ee}function Nm(a,u,d,m,P,M,W){switch(d){case zt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case Wn:return!(a.byteLength!=u.byteLength||!M(new ws(a),new ws(u)));case Ve:case He:case Yt:return ii(+a,+u);case We:return a.name==u.name&&a.message==u.message;case mn:case An:return a==u+"";case kt:var G=Na;case Qt:var Q=m&v;if(G||(G=gs),a.size!=u.size&&!Q)return!1;var ge=W.get(a);if(ge)return ge==u;m|=S,W.set(a,u);var _e=Wu(G(a),G(u),m,P,M,W);return W.delete(a),_e;case Rt:if(Or)return Or.call(a)==Or.call(u)}return!1}function Im(a,u,d,m,P,M){var W=d&v,G=Xa(a),Q=G.length,ge=Xa(u),_e=ge.length;if(Q!=_e&&!W)return!1;for(var ve=Q;ve--;){var Ee=G[ve];if(!(W?Ee in u:Nt.call(u,Ee)))return!1}var Be=M.get(a),Ye=M.get(u);if(Be&&Ye)return Be==u&&Ye==a;var it=!0;M.set(a,u),M.set(u,a);for(var Qe=W;++ve<Q;){Ee=G[ve];var ot=a[Ee],ft=u[Ee];if(m)var Fn=W?m(ft,ot,Ee,u,a,M):m(ot,ft,Ee,a,u,M);if(!(Fn===t?ot===ft||P(ot,ft,d,m,M):Fn)){it=!1;break}Qe||(Qe=Ee=="constructor")}if(it&&!Qe){var wn=a.constructor,Un=u.constructor;wn!=Un&&"constructor"in a&&"constructor"in u&&!(typeof wn=="function"&&wn instanceof wn&&typeof Un=="function"&&Un instanceof Un)&&(it=!1)}return M.delete(a),M.delete(u),it}function Ai(a){return ro(Ju(a,t,nf),a+"")}function Xa(a){return au(a,en,to)}function $a(a){return au(a,Nn,zu)}var xa=Ns?function(a){return Ns.get(a)}:vo;function Hs(a){for(var u=a.name+"",d=Xl[u],m=Nt.call(Xl,u)?d.length:0;m--;){var P=d[m],M=P.func;if(M==null||M==a)return P.name}return u}function tr(a){var u=Nt.call(R,"placeholder")?R:a;return u.placeholder}function je(){var a=R.iteratee||mo;return a=a===mo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ws(a,u){var d=a.__data__;return Mm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function eo(a){for(var u=en(a),d=u.length;d--;){var m=u[d],P=a[m];u[d]=[m,P,Ku(P)]}return u}function Nl(a,u){var d=U_(a,u);return uu(d)?d:t}function Tm(a){var u=Nt.call(a,Sl),d=a[Sl];try{a[Sl]=t;var m=!0}catch{}var P=bs.call(a);return m&&(u?a[Sl]=d:delete a[Sl]),P}var to=Ta?function(a){return a==null?[]:(a=Lt(a),Zi(Ta(a),function(u){return Yo.call(a,u)}))}:wo,zu=Ta?function(a){for(var u=[];a;)Xi(u,to(a)),a=Ss(a);return u}:wo,hn=bn;(La&&hn(new La(new ArrayBuffer(1)))!=zt||Dr&&hn(new Dr)!=kt||Aa&&hn(Aa.resolve())!=pn||Zl&&hn(new Zl)!=Qt||Vr&&hn(new Vr)!=xt)&&(hn=function(a){var u=bn(a),d=u==on?a.constructor:t,m=d?Il(d):"";if(m)switch(m){case fp:return zt;case cp:return kt;case dp:return pn;case hp:return Qt;case gp:return xt}return u});function Lm(a,u,d){for(var m=-1,P=d.length;++m<P;){var M=d[m],W=M.size;switch(M.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=dn(u,a+W);break;case"takeRight":a=Xt(a,u-W);break}}return{start:a,end:u}}function Am(a){var u=a.match(Wi);return u?u[1].split(Ol):[]}function Gu(a,u,d){u=nl(u,a);for(var m=-1,P=u.length,M=!1;++m<P;){var W=_i(u[m]);if(!(M=a!=null&&d(a,W)))break;a=a[W]}return M||++m!=P?M:(P=a==null?0:a.length,!!P&&Ys(P)&&Ei(W,P)&&(xe(a)||Tl(a)))}function Em(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Nt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function qu(a){return typeof a.constructor=="function"&&!Gr(a)?$l(Ss(a)):{}}function Rm(a,u,d){var m=a.constructor;switch(u){case Wn:return Ya(a);case Ve:case He:return new m(+a);case zt:return _m(a,d);case kn:case oi:case ui:case fn:case ki:case x:case Te:case at:case It:return Nu(a,d);case kt:return new m;case Yt:case An:return new m(a);case mn:return pm(a);case Qt:return new m;case Rt:return mm(a)}}function Dm(a,u){var d=u.length;if(!d)return a;var m=d-1;return u[m]=(d>1?"& ":"")+u[m],u=u.join(d>2?", ":" "),a.replace(dl,`{
|
|
33
|
+
*/(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,b=4,v=1,S=2,y=1,C=2,N=4,I=8,D=16,L=32,T=64,V=128,O=256,F=512,z=30,ae="...",fe=800,X=16,pe=1,ee=2,H=3,oe=1/0,$=9007199254740991,J=17976931348623157e292,Ce=0/0,te=4294967295,Ue=te-1,Pe=te>>>1,ce=[["ary",V],["bind",y],["bindKey",C],["curry",I],["curryRight",D],["flip",F],["partial",L],["partialRight",T],["rearg",O]],Z="[object Arguments]",he="[object Array]",re="[object AsyncFunction]",Ve="[object Boolean]",He="[object Date]",be="[object DOMException]",We="[object Error]",St="[object Function]",Wt="[object GeneratorFunction]",kt="[object Map]",Yt="[object Number]",pn="[object Null]",un="[object Object]",mn="[object Promise]",Ui="[object Proxy]",bn="[object RegExp]",Qt="[object Set]",En="[object String]",Rt="[object Symbol]",fl="[object Undefined]",xt="[object WeakMap]",fn="[object WeakSet]",Gn="[object ArrayBuffer]",Gt="[object DataView]",Cn="[object Float32Array]",fi="[object Float64Array]",ci="[object Int8Array]",cn="[object Int16Array]",Ci="[object Int32Array]",x="[object Uint8Array]",Te="[object Uint8ClampedArray]",at="[object Uint16Array]",Nt="[object Uint32Array]",Ct=/\b__p \+= '';/g,ln=/\b(__p \+=) '' \+/g,Rn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,qn=/&(?:amp|lt|gt|quot|#39);/g,ni=/[&<>"']/g,Vl=RegExp(qn.source),Bi=RegExp(ni.source),_r=/<%-([\s\S]+?)%>/g,pr=/<%([\s\S]+?)%>/g,Ml=/<%=([\s\S]+?)%>/g,mr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,br=/^\w*$/,vr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cl=/[\\^$.*+?()[\]{}|]/g,wr=RegExp(cl.source),yi=/^\s+/,Hi=/\s/,dl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ol=/,? & /,Fl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ul=/[()=,{}\[\]\/\s]/,Sr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,hl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,kr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,gl=/^(?:0|[1-9]\d*)$/,_l=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Hl=/['\n\r\u2028\u2029\\]/g,Pi="\\ud800-\\udfff",Cr="\\u0300-\\u036f",gt="\\ufe20-\\ufe2f",pl="\\u20d0-\\u20ff",qi=Cr+gt+pl,ml="\\u2700-\\u27bf",bl="a-z\\xdf-\\xf6\\xf8-\\xff",j="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",hi=" \\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",es="A-Z\\xc0-\\xd6\\xd8-\\xde",vl="\\ufe0e\\ufe0f",ts=j+tt+dn+hi,yr="['\u2019]",ca="["+Pi+"]",Wl="["+ts+"]",zl="["+qi+"]",ns="\\d+",da="["+ml+"]",is="["+bl+"]",ls="[^"+Pi+ts+ns+ml+bl+es+"]",Gl="\\ud83c[\\udffb-\\udfff]",ha="(?:"+zl+"|"+Gl+")",Pr="[^"+Pi+"]",Nr="(?:\\ud83c[\\udde6-\\uddff]){2}",Ir="[\\ud800-\\udbff][\\udc00-\\udfff]",Ki="["+es+"]",rs="\\u200d",ss="(?:"+is+"|"+ls+")",ga="(?:"+Ki+"|"+ls+")",as="(?:"+yr+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+yr+"(?:D|LL|M|RE|S|T|VE))?",us=ha+"?",fs="["+vl+"]?",_a="(?:"+rs+"(?:"+[Pr,Nr,Ir].join("|")+")"+fs+us+")*",pa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B=fs+us+_a,ue="(?:"+[da,Nr,Ir].join("|")+")"+B,Re="(?:"+[Pr+zl+"?",zl,Nr,Ir,ca].join("|")+")",Je=RegExp(yr,"g"),Oe=RegExp(zl,"g"),we=RegExp(Gl+"(?="+Gl+")|"+Re+B,"g"),De=RegExp([Ki+"?"+is+"+"+as+"(?="+[Wl,Ki,"$"].join("|")+")",ga+"+"+os+"(?="+[Wl,Ki+ss,"$"].join("|")+")",Ki+"?"+ss+"+"+as,Ki+"+"+os,ma,pa,ns,ue].join("|"),"g"),_t=RegExp("["+rs+Pi+qi+vl+"]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Tr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ji=-1,yt={};yt[Cn]=yt[fi]=yt[ci]=yt[cn]=yt[Ci]=yt[x]=yt[Te]=yt[at]=yt[Nt]=!0,yt[Z]=yt[he]=yt[Gn]=yt[Ve]=yt[Gt]=yt[He]=yt[We]=yt[St]=yt[kt]=yt[Yt]=yt[un]=yt[bn]=yt[Qt]=yt[En]=yt[xt]=!1;var dt={};dt[Z]=dt[he]=dt[Gn]=dt[Gt]=dt[Ve]=dt[He]=dt[Cn]=dt[fi]=dt[ci]=dt[cn]=dt[Ci]=dt[kt]=dt[Yt]=dt[un]=dt[bn]=dt[Qt]=dt[En]=dt[Rt]=dt[x]=dt[Te]=dt[at]=dt[Nt]=!0,dt[We]=dt[St]=dt[xt]=!1;var Lr={\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"},ze={"&":"&","<":"<",">":">",'"':""","'":"'"},It={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},en=parseFloat,Dn=parseInt,Kn=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,wl=typeof self=="object"&&self&&self.Object===Object&&self,qt=Kn||wl||Function("return this")(),Ji=e&&!e.nodeType&&e,Yi=Ji&&!0&&i&&!i.nodeType&&i,ql=Yi&&Yi.exports===Ji,Ar=ql&&Kn.process,rn=function(){try{var Y=Yi&&Yi.require&&Yi.require("util").types;return Y||Ar&&Ar.binding&&Ar.binding("util")}catch{}}(),Qi=rn&&rn.isArrayBuffer,sn=rn&&rn.isDate,Vn=rn&&rn.isMap,cs=rn&&rn.isRegExp,Do=rn&&rn.isSet,Vo=rn&&rn.isTypedArray;function Mn(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 P_(Y,de,se,Me){for(var Xe=-1,mt=Y==null?0:Y.length;++Xe<mt;){var Zt=Y[Xe];de(Me,Zt,se(Zt),Y)}return Me}function jn(Y,de){for(var se=-1,Me=Y==null?0:Y.length;++se<Me&&de(Y[se],se,Y)!==!1;);return Y}function N_(Y,de){for(var se=Y==null?0:Y.length;se--&&de(Y[se],se,Y)!==!1;);return Y}function Mo(Y,de){for(var se=-1,Me=Y==null?0:Y.length;++se<Me;)if(!de(Y[se],se,Y))return!1;return!0}function Zi(Y,de){for(var se=-1,Me=Y==null?0:Y.length,Xe=0,mt=[];++se<Me;){var Zt=Y[se];de(Zt,se,Y)&&(mt[Xe++]=Zt)}return mt}function ds(Y,de){var se=Y==null?0:Y.length;return!!se&&Kl(Y,de,0)>-1}function ba(Y,de,se){for(var Me=-1,Xe=Y==null?0:Y.length;++Me<Xe;)if(se(de,Y[Me]))return!0;return!1}function Ft(Y,de){for(var se=-1,Me=Y==null?0:Y.length,Xe=Array(Me);++se<Me;)Xe[se]=de(Y[se],se,Y);return Xe}function Xi(Y,de){for(var se=-1,Me=de.length,Xe=Y.length;++se<Me;)Y[Xe+se]=de[se];return Y}function va(Y,de,se,Me){var Xe=-1,mt=Y==null?0:Y.length;for(Me&&mt&&(se=Y[++Xe]);++Xe<mt;)se=de(se,Y[Xe],Xe,Y);return se}function I_(Y,de,se,Me){var Xe=Y==null?0:Y.length;for(Me&&Xe&&(se=Y[--Xe]);Xe--;)se=de(se,Y[Xe],Xe,Y);return se}function wa(Y,de){for(var se=-1,Me=Y==null?0:Y.length;++se<Me;)if(de(Y[se],se,Y))return!0;return!1}var T_=Sa("length");function L_(Y){return Y.split("")}function A_(Y){return Y.match(Fl)||[]}function Oo(Y,de,se){var Me;return se(Y,function(Xe,mt,Zt){if(de(Xe,mt,Zt))return Me=mt,!1}),Me}function hs(Y,de,se,Me){for(var Xe=Y.length,mt=se+(Me?1:-1);Me?mt--:++mt<Xe;)if(de(Y[mt],mt,Y))return mt;return-1}function Kl(Y,de,se){return de===de?z_(Y,de,se):hs(Y,Fo,se)}function E_(Y,de,se,Me){for(var Xe=se-1,mt=Y.length;++Xe<mt;)if(Me(Y[Xe],de))return Xe;return-1}function Fo(Y){return Y!==Y}function Uo(Y,de){var se=Y==null?0:Y.length;return se?Ca(Y,de)/se:Ce}function Sa(Y){return function(de){return de==null?t:de[Y]}}function ka(Y){return function(de){return Y==null?t:Y[de]}}function Bo(Y,de,se,Me,Xe){return Xe(Y,function(mt,Zt,Lt){se=Me?(Me=!1,mt):de(se,mt,Zt,Lt)}),se}function R_(Y,de){var se=Y.length;for(Y.sort(de);se--;)Y[se]=Y[se].value;return Y}function Ca(Y,de){for(var se,Me=-1,Xe=Y.length;++Me<Xe;){var mt=de(Y[Me]);mt!==t&&(se=se===t?mt:se+mt)}return se}function ya(Y,de){for(var se=-1,Me=Array(Y);++se<Y;)Me[se]=de(se);return Me}function D_(Y,de){return Ft(de,function(se){return[se,Y[se]]})}function Ho(Y){return Y&&Y.slice(0,qo(Y)+1).replace(yi,"")}function On(Y){return function(de){return Y(de)}}function Pa(Y,de){return Ft(de,function(se){return Y[se]})}function Er(Y,de){return Y.has(de)}function Wo(Y,de){for(var se=-1,Me=Y.length;++se<Me&&Kl(de,Y[se],0)>-1;);return se}function zo(Y,de){for(var se=Y.length;se--&&Kl(de,Y[se],0)>-1;);return se}function V_(Y,de){for(var se=Y.length,Me=0;se--;)Y[se]===de&&++Me;return Me}var M_=ka(Lr),O_=ka(ze);function F_(Y){return"\\"+Dt[Y]}function U_(Y,de){return Y==null?t:Y[de]}function jl(Y){return _t.test(Y)}function B_(Y){return Ot.test(Y)}function H_(Y){for(var de,se=[];!(de=Y.next()).done;)se.push(de.value);return se}function Na(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(Me,Xe){se[++de]=[Xe,Me]}),se}function Go(Y,de){return function(se){return Y(de(se))}}function $i(Y,de){for(var se=-1,Me=Y.length,Xe=0,mt=[];++se<Me;){var Zt=Y[se];(Zt===de||Zt===h)&&(Y[se]=h,mt[Xe++]=se)}return mt}function gs(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(Me){se[++de]=Me}),se}function W_(Y){var de=-1,se=Array(Y.size);return Y.forEach(function(Me){se[++de]=[Me,Me]}),se}function z_(Y,de,se){for(var Me=se-1,Xe=Y.length;++Me<Xe;)if(Y[Me]===de)return Me;return-1}function G_(Y,de,se){for(var Me=se+1;Me--;)if(Y[Me]===de)return Me;return Me}function Jl(Y){return jl(Y)?K_(Y):T_(Y)}function ii(Y){return jl(Y)?j_(Y):L_(Y)}function qo(Y){for(var de=Y.length;de--&&Hi.test(Y.charAt(de)););return de}var q_=ka(It);function K_(Y){for(var de=we.lastIndex=0;we.test(Y);)++de;return de}function j_(Y){return Y.match(we)||[]}function J_(Y){return Y.match(De)||[]}var Y_=function Y(de){de=de==null?qt:Yl.defaults(qt.Object(),de,Yl.pick(qt,Tr));var se=de.Array,Me=de.Date,Xe=de.Error,mt=de.Function,Zt=de.Math,Lt=de.Object,Ia=de.RegExp,Q_=de.String,Jn=de.TypeError,_s=se.prototype,Z_=mt.prototype,Ql=Lt.prototype,ps=de["__core-js_shared__"],ms=Z_.toString,Pt=Ql.hasOwnProperty,X_=0,Ko=function(){var a=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),bs=Ql.toString,$_=ms.call(Lt),x_=qt._,ep=Ia("^"+ms.call(Pt).replace(cl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vs=ql?de.Buffer:t,xi=de.Symbol,ws=de.Uint8Array,jo=vs?vs.allocUnsafe:t,Ss=Go(Lt.getPrototypeOf,Lt),Jo=Lt.create,Yo=Ql.propertyIsEnumerable,ks=_s.splice,Qo=xi?xi.isConcatSpreadable:t,Rr=xi?xi.iterator:t,Sl=xi?xi.toStringTag:t,Cs=function(){try{var a=Nl(Lt,"defineProperty");return a({},"",{}),a}catch{}}(),tp=de.clearTimeout!==qt.clearTimeout&&de.clearTimeout,np=Me&&Me.now!==qt.Date.now&&Me.now,ip=de.setTimeout!==qt.setTimeout&&de.setTimeout,ys=Zt.ceil,Ps=Zt.floor,Ta=Lt.getOwnPropertySymbols,lp=vs?vs.isBuffer:t,Zo=de.isFinite,rp=_s.join,sp=Go(Lt.keys,Lt),Xt=Zt.max,hn=Zt.min,ap=Me.now,op=de.parseInt,Xo=Zt.random,up=_s.reverse,La=Nl(de,"DataView"),Dr=Nl(de,"Map"),Aa=Nl(de,"Promise"),Zl=Nl(de,"Set"),Vr=Nl(de,"WeakMap"),Mr=Nl(Lt,"create"),Ns=Vr&&new Vr,Xl={},fp=Il(La),cp=Il(Dr),dp=Il(Aa),hp=Il(Zl),gp=Il(Vr),Is=xi?xi.prototype:t,Or=Is?Is.valueOf:t,$o=Is?Is.toString:t;function R(a){if(zt(a)&&!xe(a)&&!(a instanceof ut)){if(a instanceof Yn)return a;if(Pt.call(a,"__wrapped__"))return xu(a)}return new Yn(a)}var $l=function(){function a(){}return function(u){if(!Bt(u))return{};if(Jo)return Jo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ts(){}function Yn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}R.templateSettings={escape:_r,evaluate:pr,interpolate:Ml,variable:"",imports:{_:R}},R.prototype=Ts.prototype,R.prototype.constructor=R,Yn.prototype=$l(Ts.prototype),Yn.prototype.constructor=Yn;function ut(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=te,this.__views__=[]}function _p(){var a=new ut(this.__wrapped__);return a.__actions__=Pn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Pn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Pn(this.__views__),a}function pp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function mp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,P=d?a.length:0,M=Lm(0,P,this.__views__),W=M.start,G=M.end,Q=G-W,ge=m?G:W-1,_e=this.__iteratees__,ve=_e.length,Ee=0,Be=hn(Q,this.__takeCount__);if(!d||!m&&P==Q&&Be==Q)return ku(a,this.__actions__);var Ye=[];e:for(;Q--&&Ee<Be;){ge+=u;for(var it=-1,Qe=a[ge];++it<ve;){var ot=_e[it],ft=ot.iteratee,Bn=ot.type,Sn=ft(Qe);if(Bn==ee)Qe=Sn;else if(!Sn){if(Bn==pe)continue e;break e}}Ye[Ee++]=Qe}return Ye}ut.prototype=$l(Ts.prototype),ut.prototype.constructor=ut;function kl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function bp(){this.__data__=Mr?Mr(null):{},this.size=0}function vp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function wp(a){var u=this.__data__;if(Mr){var d=u[a];return d===c?t:d}return Pt.call(u,a)?u[a]:t}function Sp(a){var u=this.__data__;return Mr?u[a]!==t:Pt.call(u,a)}function kp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Mr&&u===t?c:u,this}kl.prototype.clear=bp,kl.prototype.delete=vp,kl.prototype.get=wp,kl.prototype.has=Sp,kl.prototype.set=kp;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Cp(){this.__data__=[],this.size=0}function yp(a){var u=this.__data__,d=Ls(u,a);if(d<0)return!1;var m=u.length-1;return d==m?u.pop():ks.call(u,d,1),--this.size,!0}function Pp(a){var u=this.__data__,d=Ls(u,a);return d<0?t:u[d][1]}function Np(a){return Ls(this.__data__,a)>-1}function Ip(a,u){var d=this.__data__,m=Ls(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ni.prototype.clear=Cp,Ni.prototype.delete=yp,Ni.prototype.get=Pp,Ni.prototype.has=Np,Ni.prototype.set=Ip;function Ii(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Tp(){this.size=0,this.__data__={hash:new kl,map:new(Dr||Ni),string:new kl}}function Lp(a){var u=Ws(this,a).delete(a);return this.size-=u?1:0,u}function Ap(a){return Ws(this,a).get(a)}function Ep(a){return Ws(this,a).has(a)}function Rp(a,u){var d=Ws(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ii.prototype.clear=Tp,Ii.prototype.delete=Lp,Ii.prototype.get=Ap,Ii.prototype.has=Ep,Ii.prototype.set=Rp;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function Dp(a){return this.__data__.set(a,c),this}function Vp(a){return this.__data__.has(a)}Cl.prototype.add=Cl.prototype.push=Dp,Cl.prototype.has=Vp;function li(a){var u=this.__data__=new Ni(a);this.size=u.size}function Mp(){this.__data__=new Ni,this.size=0}function Op(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Fp(a){return this.__data__.get(a)}function Up(a){return this.__data__.has(a)}function Bp(a,u){var d=this.__data__;if(d instanceof Ni){var m=d.__data__;if(!Dr||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(m)}return d.set(a,u),this.size=d.size,this}li.prototype.clear=Mp,li.prototype.delete=Op,li.prototype.get=Fp,li.prototype.has=Up,li.prototype.set=Bp;function xo(a,u){var d=xe(a),m=!d&&Tl(a),P=!d&&!m&&ll(a),M=!d&&!m&&!P&&nr(a),W=d||m||P||M,G=W?ya(a.length,Q_):[],Q=G.length;for(var ge in a)(u||Pt.call(a,ge))&&!(W&&(ge=="length"||P&&(ge=="offset"||ge=="parent")||M&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ei(ge,Q)))&&G.push(ge);return G}function eu(a){var u=a.length;return u?a[Wa(0,u-1)]:t}function Hp(a,u){return zs(Pn(a),yl(u,0,a.length))}function Wp(a){return zs(Pn(a))}function Ea(a,u,d){(d!==t&&!ri(a[u],d)||d===t&&!(u in a))&&Ti(a,u,d)}function Fr(a,u,d){var m=a[u];(!(Pt.call(a,u)&&ri(m,d))||d===t&&!(u in a))&&Ti(a,u,d)}function Ls(a,u){for(var d=a.length;d--;)if(ri(a[d][0],u))return d;return-1}function zp(a,u,d,m){return el(a,function(P,M,W){u(m,P,d(P),W)}),m}function tu(a,u){return a&&_i(u,tn(u),a)}function Gp(a,u){return a&&_i(u,In(u),a)}function Ti(a,u,d){u=="__proto__"&&Cs?Cs(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Ra(a,u){for(var d=-1,m=u.length,P=se(m),M=a==null;++d<m;)P[d]=M?t:ho(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 Qn(a,u,d,m,P,M){var W,G=u&_,Q=u&p,ge=u&b;if(d&&(W=P?d(a,m,P,M):d(a)),W!==t)return W;if(!Bt(a))return a;var _e=xe(a);if(_e){if(W=Em(a),!G)return Pn(a,W)}else{var ve=gn(a),Ee=ve==St||ve==Wt;if(ll(a))return Pu(a,G);if(ve==un||ve==Z||Ee&&!P){if(W=Q||Ee?{}:qu(a),!G)return Q?wm(a,Gp(W,a)):vm(a,tu(W,a))}else{if(!dt[ve])return P?a:{};W=Rm(a,ve,G)}}M||(M=new li);var Be=M.get(a);if(Be)return Be;M.set(a,W),wf(a)?a.forEach(function(Qe){W.add(Qn(Qe,u,d,Qe,a,M))}):bf(a)&&a.forEach(function(Qe,ot){W.set(ot,Qn(Qe,u,d,ot,a,M))});var Ye=ge?Q?$a:Xa:Q?In:tn,it=_e?t:Ye(a);return jn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Fr(W,ot,Qn(Qe,u,d,ot,a,M))}),W}function qp(a){var u=tn(a);return function(d){return nu(d,a,u)}}function nu(a,u,d){var m=d.length;if(a==null)return!m;for(a=Lt(a);m--;){var P=d[m],M=u[P],W=a[P];if(W===t&&!(P in a)||!M(W))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new Jn(s);return qr(function(){a.apply(t,d)},u)}function Ur(a,u,d,m){var P=-1,M=ds,W=!0,G=a.length,Q=[],ge=u.length;if(!G)return Q;d&&(u=Ft(u,On(d))),m?(M=ba,W=!1):u.length>=l&&(M=Er,W=!1,u=new Cl(u));e:for(;++P<G;){var _e=a[P],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,W&&ve===ve){for(var Ee=ge;Ee--;)if(u[Ee]===ve)continue e;Q.push(_e)}else M(u,ve,m)||Q.push(_e)}return Q}var el=Au(gi),lu=Au(Va,!0);function Kp(a,u){var d=!0;return el(a,function(m,P,M){return d=!!u(m,P,M),d}),d}function As(a,u,d){for(var m=-1,P=a.length;++m<P;){var M=a[m],W=u(M);if(W!=null&&(G===t?W===W&&!Un(W):d(W,G)))var G=W,Q=M}return Q}function jp(a,u,d,m){var P=a.length;for(d=nt(d),d<0&&(d=-d>P?0:P+d),m=m===t||m>P?P:nt(m),m<0&&(m+=P),m=d>m?0:kf(m);d<m;)a[d++]=u;return a}function ru(a,u){var d=[];return el(a,function(m,P,M){u(m,P,M)&&d.push(m)}),d}function an(a,u,d,m,P){var M=-1,W=a.length;for(d||(d=Vm),P||(P=[]);++M<W;){var G=a[M];u>0&&d(G)?u>1?an(G,u-1,d,m,P):Xi(P,G):m||(P[P.length]=G)}return P}var Da=Eu(),su=Eu(!0);function gi(a,u){return a&&Da(a,u,tn)}function Va(a,u){return a&&su(a,u,tn)}function Es(a,u){return Zi(u,function(d){return Ri(a[d])})}function Pl(a,u){u=nl(u,a);for(var d=0,m=u.length;a!=null&&d<m;)a=a[pi(u[d++])];return d&&d==m?a:t}function au(a,u,d){var m=u(a);return xe(a)?m:Xi(m,d(a))}function vn(a){return a==null?a===t?fl:pn:Sl&&Sl in Lt(a)?Tm(a):Wm(a)}function Ma(a,u){return a>u}function Jp(a,u){return a!=null&&Pt.call(a,u)}function Yp(a,u){return a!=null&&u in Lt(a)}function Qp(a,u,d){return a>=hn(u,d)&&a<Xt(u,d)}function Oa(a,u,d){for(var m=d?ba:ds,P=a[0].length,M=a.length,W=M,G=se(M),Q=1/0,ge=[];W--;){var _e=a[W];W&&u&&(_e=Ft(_e,On(u))),Q=hn(_e.length,Q),G[W]=!d&&(u||P>=120&&_e.length>=120)?new Cl(W&&_e):t}_e=a[0];var ve=-1,Ee=G[0];e:for(;++ve<P&&ge.length<Q;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Ee?Er(Ee,Ye):m(ge,Ye,d))){for(W=M;--W;){var it=G[W];if(!(it?Er(it,Ye):m(a[W],Ye,d)))continue e}Ee&&Ee.push(Ye),ge.push(Be)}}return ge}function Zp(a,u,d,m){return gi(a,function(P,M,W){u(m,d(P),M,W)}),m}function Br(a,u,d){u=nl(u,a),a=Yu(a,u);var m=a==null?a:a[pi(Xn(u))];return m==null?t:Mn(m,a,d)}function ou(a){return zt(a)&&vn(a)==Z}function Xp(a){return zt(a)&&vn(a)==Gn}function $p(a){return zt(a)&&vn(a)==He}function Hr(a,u,d,m,P){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:xp(a,u,d,m,Hr,P)}function xp(a,u,d,m,P,M){var W=xe(a),G=xe(u),Q=W?he:gn(a),ge=G?he:gn(u);Q=Q==Z?un:Q,ge=ge==Z?un:ge;var _e=Q==un,ve=ge==un,Ee=Q==ge;if(Ee&&ll(a)){if(!ll(u))return!1;W=!0,_e=!1}if(Ee&&!_e)return M||(M=new li),W||nr(a)?Wu(a,u,d,m,P,M):Nm(a,u,Q,d,m,P,M);if(!(d&v)){var Be=_e&&Pt.call(a,"__wrapped__"),Ye=ve&&Pt.call(u,"__wrapped__");if(Be||Ye){var it=Be?a.value():a,Qe=Ye?u.value():u;return M||(M=new li),P(it,Qe,d,m,M)}}return Ee?(M||(M=new li),Im(a,u,d,m,P,M)):!1}function em(a){return zt(a)&&gn(a)==kt}function Fa(a,u,d,m){var P=d.length,M=P,W=!m;if(a==null)return!M;for(a=Lt(a);P--;){var G=d[P];if(W&&G[2]?G[1]!==a[G[0]]:!(G[0]in a))return!1}for(;++P<M;){G=d[P];var Q=G[0],ge=a[Q],_e=G[1];if(W&&G[2]){if(ge===t&&!(Q in a))return!1}else{var ve=new li;if(m)var Ee=m(ge,_e,Q,a,u,ve);if(!(Ee===t?Hr(_e,ge,v|S,m,ve):Ee))return!1}}return!0}function uu(a){if(!Bt(a)||Om(a))return!1;var u=Ri(a)?ep:kr;return u.test(Il(a))}function tm(a){return zt(a)&&vn(a)==bn}function nm(a){return zt(a)&&gn(a)==Qt}function im(a){return zt(a)&&Ys(a.length)&&!!yt[vn(a)]}function fu(a){return typeof a=="function"?a:a==null?Tn:typeof a=="object"?xe(a)?hu(a[0],a[1]):du(a):Df(a)}function Ua(a){if(!Gr(a))return sp(a);var u=[];for(var d in Lt(a))Pt.call(a,d)&&d!="constructor"&&u.push(d);return u}function lm(a){if(!Bt(a))return Hm(a);var u=Gr(a),d=[];for(var m in a)m=="constructor"&&(u||!Pt.call(a,m))||d.push(m);return d}function Ba(a,u){return a<u}function cu(a,u){var d=-1,m=Nn(a)?se(a.length):[];return el(a,function(P,M,W){m[++d]=u(P,M,W)}),m}function du(a){var u=eo(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Fa(d,a,u)}}function hu(a,u){return no(a)&&Ku(u)?ju(pi(a),u):function(d){var m=ho(d,a);return m===t&&m===u?go(d,a):Hr(u,m,v|S)}}function Rs(a,u,d,m,P){a!==u&&Da(u,function(M,W){if(P||(P=new li),Bt(M))rm(a,u,W,d,Rs,m,P);else{var G=m?m(lo(a,W),M,W+"",a,u,P):t;G===t&&(G=M),Ea(a,W,G)}},In)}function rm(a,u,d,m,P,M,W){var G=lo(a,d),Q=lo(u,d),ge=W.get(Q);if(ge){Ea(a,d,ge);return}var _e=M?M(G,Q,d+"",a,u,W):t,ve=_e===t;if(ve){var Ee=xe(Q),Be=!Ee&&ll(Q),Ye=!Ee&&!Be&&nr(Q);_e=Q,Ee||Be||Ye?xe(G)?_e=G:Kt(G)?_e=Pn(G):Be?(ve=!1,_e=Pu(Q,!0)):Ye?(ve=!1,_e=Nu(Q,!0)):_e=[]:Kr(Q)||Tl(Q)?(_e=G,Tl(G)?_e=Cf(G):(!Bt(G)||Ri(G))&&(_e=qu(Q))):ve=!1}ve&&(W.set(Q,_e),P(_e,Q,m,M,W),W.delete(Q)),Ea(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ei(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ft(u,function(M){return xe(M)?function(W){return Pl(W,M.length===1?M[0]:M)}:M}):u=[Tn];var m=-1;u=Ft(u,On(je()));var P=cu(a,function(M,W,G){var Q=Ft(u,function(ge){return ge(M)});return{criteria:Q,index:++m,value:M}});return R_(P,function(M,W){return bm(M,W,d)})}function sm(a,u){return pu(a,u,function(d,m){return go(a,m)})}function pu(a,u,d){for(var m=-1,P=u.length,M={};++m<P;){var W=u[m],G=Pl(a,W);d(G,W)&&Wr(M,nl(W,a),G)}return M}function am(a){return function(u){return Pl(u,a)}}function Ha(a,u,d,m){var P=m?E_:Kl,M=-1,W=u.length,G=a;for(a===u&&(u=Pn(u)),d&&(G=Ft(a,On(d)));++M<W;)for(var Q=0,ge=u[M],_e=d?d(ge):ge;(Q=P(G,_e,Q,m))>-1;)G!==a&&ks.call(G,Q,1),ks.call(a,Q,1);return a}function mu(a,u){for(var d=a?u.length:0,m=d-1;d--;){var P=u[d];if(d==m||P!==M){var M=P;Ei(P)?ks.call(a,P,1):qa(a,P)}}return a}function Wa(a,u){return a+Ps(Xo()*(u-a+1))}function om(a,u,d,m){for(var P=-1,M=Xt(ys((u-a)/(d||1)),0),W=se(M);M--;)W[m?M:++P]=a,a+=d;return W}function za(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 ro(Ju(a,u,Tn),a+"")}function um(a){return eu(ir(a))}function fm(a,u){var d=ir(a);return zs(d,yl(u,0,d.length))}function Wr(a,u,d,m){if(!Bt(a))return a;u=nl(u,a);for(var P=-1,M=u.length,W=M-1,G=a;G!=null&&++P<M;){var Q=pi(u[P]),ge=d;if(Q==="__proto__"||Q==="constructor"||Q==="prototype")return a;if(P!=W){var _e=G[Q];ge=m?m(_e,Q,G):t,ge===t&&(ge=Bt(_e)?_e:Ei(u[P+1])?[]:{})}Fr(G,Q,ge),G=G[Q]}return a}var bu=Ns?function(a,u){return Ns.set(a,u),a}:Tn,cm=Cs?function(a,u){return Cs(a,"toString",{configurable:!0,enumerable:!1,value:po(u),writable:!0})}:Tn;function dm(a){return zs(ir(a))}function Zn(a,u,d){var m=-1,P=a.length;u<0&&(u=-u>P?0:P+u),d=d>P?P:d,d<0&&(d+=P),P=u>d?0:d-u>>>0,u>>>=0;for(var M=se(P);++m<P;)M[m]=a[m+u];return M}function hm(a,u){var d;return el(a,function(m,P,M){return d=u(m,P,M),!d}),!!d}function Ds(a,u,d){var m=0,P=a==null?m:a.length;if(typeof u=="number"&&u===u&&P<=Pe){for(;m<P;){var M=m+P>>>1,W=a[M];W!==null&&!Un(W)&&(d?W<=u:W<u)?m=M+1:P=M}return P}return Ga(a,u,Tn,d)}function Ga(a,u,d,m){var P=0,M=a==null?0:a.length;if(M===0)return 0;u=d(u);for(var W=u!==u,G=u===null,Q=Un(u),ge=u===t;P<M;){var _e=Ps((P+M)/2),ve=d(a[_e]),Ee=ve!==t,Be=ve===null,Ye=ve===ve,it=Un(ve);if(W)var Qe=m||Ye;else ge?Qe=Ye&&(m||Ee):G?Qe=Ye&&Ee&&(m||!Be):Q?Qe=Ye&&Ee&&!Be&&(m||!it):Be||it?Qe=!1:Qe=m?ve<=u:ve<u;Qe?P=_e+1:M=_e}return hn(M,Ue)}function vu(a,u){for(var d=-1,m=a.length,P=0,M=[];++d<m;){var W=a[d],G=u?u(W):W;if(!d||!ri(G,Q)){var Q=G;M[P++]=W===0?0:W}}return M}function wu(a){return typeof a=="number"?a:Un(a)?Ce:+a}function Fn(a){if(typeof a=="string")return a;if(xe(a))return Ft(a,Fn)+"";if(Un(a))return $o?$o.call(a):"";var u=a+"";return u=="0"&&1/a==-oe?"-0":u}function tl(a,u,d){var m=-1,P=ds,M=a.length,W=!0,G=[],Q=G;if(d)W=!1,P=ba;else if(M>=l){var ge=u?null:ym(a);if(ge)return gs(ge);W=!1,P=Er,Q=new Cl}else Q=u?[]:G;e:for(;++m<M;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,W&&ve===ve){for(var Ee=Q.length;Ee--;)if(Q[Ee]===ve)continue e;u&&Q.push(ve),G.push(_e)}else P(Q,ve,d)||(Q!==G&&Q.push(ve),G.push(_e))}return G}function qa(a,u){return u=nl(u,a),a=Yu(a,u),a==null||delete a[pi(Xn(u))]}function Su(a,u,d,m){return Wr(a,u,d(Pl(a,u)),m)}function Vs(a,u,d,m){for(var P=a.length,M=m?P:-1;(m?M--:++M<P)&&u(a[M],M,a););return d?Zn(a,m?0:M,m?M+1:P):Zn(a,m?M+1:0,m?P:M)}function ku(a,u){var d=a;return d instanceof ut&&(d=d.value()),va(u,function(m,P){return P.func.apply(P.thisArg,Xi([m],P.args))},d)}function Ka(a,u,d){var m=a.length;if(m<2)return m?tl(a[0]):[];for(var P=-1,M=se(m);++P<m;)for(var W=a[P],G=-1;++G<m;)G!=P&&(M[P]=Ur(M[P]||W,a[G],u,d));return tl(an(M,1),u,d)}function Cu(a,u,d){for(var m=-1,P=a.length,M=u.length,W={};++m<P;){var G=m<M?u[m]:t;d(W,a[m],G)}return W}function ja(a){return Kt(a)?a:[]}function Ja(a){return typeof a=="function"?a:Tn}function nl(a,u){return xe(a)?a:no(a,u)?[a]:$u(wt(a))}var gm=rt;function il(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Zn(a,u,d)}var yu=tp||function(a){return qt.clearTimeout(a)};function Pu(a,u){if(u)return a.slice();var d=a.length,m=jo?jo(d):new a.constructor(d);return a.copy(m),m}function Ya(a){var u=new a.constructor(a.byteLength);return new ws(u).set(new ws(a)),u}function _m(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function pm(a){var u=new a.constructor(a.source,zi.exec(a));return u.lastIndex=a.lastIndex,u}function mm(a){return Or?Lt(Or.call(a)):{}}function Nu(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Iu(a,u){if(a!==u){var d=a!==t,m=a===null,P=a===a,M=Un(a),W=u!==t,G=u===null,Q=u===u,ge=Un(u);if(!G&&!ge&&!M&&a>u||M&&W&&Q&&!G&&!ge||m&&W&&Q||!d&&Q||!P)return 1;if(!m&&!M&&!ge&&a<u||ge&&d&&P&&!m&&!M||G&&d&&P||!W&&P||!Q)return-1}return 0}function bm(a,u,d){for(var m=-1,P=a.criteria,M=u.criteria,W=P.length,G=d.length;++m<W;){var Q=Iu(P[m],M[m]);if(Q){if(m>=G)return Q;var ge=d[m];return Q*(ge=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var P=-1,M=a.length,W=d.length,G=-1,Q=u.length,ge=Xt(M-W,0),_e=se(Q+ge),ve=!m;++G<Q;)_e[G]=u[G];for(;++P<W;)(ve||P<M)&&(_e[d[P]]=a[P]);for(;ge--;)_e[G++]=a[P++];return _e}function Lu(a,u,d,m){for(var P=-1,M=a.length,W=-1,G=d.length,Q=-1,ge=u.length,_e=Xt(M-G,0),ve=se(_e+ge),Ee=!m;++P<_e;)ve[P]=a[P];for(var Be=P;++Q<ge;)ve[Be+Q]=u[Q];for(;++W<G;)(Ee||P<M)&&(ve[Be+d[W]]=a[P++]);return ve}function Pn(a,u){var d=-1,m=a.length;for(u||(u=se(m));++d<m;)u[d]=a[d];return u}function _i(a,u,d,m){var P=!d;d||(d={});for(var M=-1,W=u.length;++M<W;){var G=u[M],Q=m?m(d[G],a[G],G,d,a):t;Q===t&&(Q=a[G]),P?Ti(d,G,Q):Fr(d,G,Q)}return d}function vm(a,u){return _i(a,to(a),u)}function wm(a,u){return _i(a,zu(a),u)}function Ms(a,u){return function(d,m){var P=xe(d)?P_:zp,M=u?u():{};return P(d,a,je(m,2),M)}}function xl(a){return rt(function(u,d){var m=-1,P=d.length,M=P>1?d[P-1]:t,W=P>2?d[2]:t;for(M=a.length>3&&typeof M=="function"?(P--,M):t,W&&wn(d[0],d[1],W)&&(M=P<3?t:M,P=1),u=Lt(u);++m<P;){var G=d[m];G&&a(u,G,m,M)}return u})}function Au(a,u){return function(d,m){if(d==null)return d;if(!Nn(d))return a(d,m);for(var P=d.length,M=u?P:-1,W=Lt(d);(u?M--:++M<P)&&m(W[M],M,W)!==!1;);return d}}function Eu(a){return function(u,d,m){for(var P=-1,M=Lt(u),W=m(u),G=W.length;G--;){var Q=W[a?G:++P];if(d(M[Q],Q,M)===!1)break}return u}}function Sm(a,u,d){var m=u&y,P=zr(a);function M(){var W=this&&this!==qt&&this instanceof M?P:a;return W.apply(m?d:this,arguments)}return M}function Ru(a){return function(u){u=wt(u);var d=jl(u)?ii(u):t,m=d?d[0]:u.charAt(0),P=d?il(d,1).join(""):u.slice(1);return m[a]()+P}}function er(a){return function(u){return va(Ef(Af(u).replace(Je,"")),a,"")}}function zr(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=$l(a.prototype),m=a.apply(d,u);return Bt(m)?m:d}}function km(a,u,d){var m=zr(a);function P(){for(var M=arguments.length,W=se(M),G=M,Q=tr(P);G--;)W[G]=arguments[G];var ge=M<3&&W[0]!==Q&&W[M-1]!==Q?[]:$i(W,Q);if(M-=ge.length,M<d)return Fu(a,u,Os,P.placeholder,t,W,ge,t,t,d-M);var _e=this&&this!==qt&&this instanceof P?m:a;return Mn(_e,this,W)}return P}function Du(a){return function(u,d,m){var P=Lt(u);if(!Nn(u)){var M=je(d,3);u=tn(u),d=function(G){return M(P[G],G,P)}}var W=a(u,d,m);return W>-1?P[M?u[W]:W]:t}}function Vu(a){return Ai(function(u){var d=u.length,m=d,P=Yn.prototype.thru;for(a&&u.reverse();m--;){var M=u[m];if(typeof M!="function")throw new Jn(s);if(P&&!W&&Hs(M)=="wrapper")var W=new Yn([],!0)}for(m=W?m:d;++m<d;){M=u[m];var G=Hs(M),Q=G=="wrapper"?xa(M):t;Q&&io(Q[0])&&Q[1]==(V|I|L|O)&&!Q[4].length&&Q[9]==1?W=W[Hs(Q[0])].apply(W,Q[3]):W=M.length==1&&io(M)?W[G]():W.thru(M)}return function(){var ge=arguments,_e=ge[0];if(W&&ge.length==1&&xe(_e))return W.plant(_e).value();for(var ve=0,Ee=d?u[ve].apply(this,ge):_e;++ve<d;)Ee=u[ve].call(this,Ee);return Ee}})}function Os(a,u,d,m,P,M,W,G,Q,ge){var _e=u&V,ve=u&y,Ee=u&C,Be=u&(I|D),Ye=u&F,it=Ee?t:zr(a);function Qe(){for(var ot=arguments.length,ft=se(ot),Bn=ot;Bn--;)ft[Bn]=arguments[Bn];if(Be)var Sn=tr(Qe),Hn=V_(ft,Sn);if(m&&(ft=Tu(ft,m,P,Be)),M&&(ft=Lu(ft,M,W,Be)),ot-=Hn,Be&&ot<ge){var jt=$i(ft,Sn);return Fu(a,u,Os,Qe.placeholder,d,ft,jt,G,Q,ge-ot)}var si=ve?d:this,Vi=Ee?si[a]:a;return ot=ft.length,G?ft=zm(ft,G):Ye&&ot>1&&ft.reverse(),_e&&Q<ot&&(ft.length=Q),this&&this!==qt&&this instanceof Qe&&(Vi=it||zr(Vi)),Vi.apply(si,ft)}return Qe}function Mu(a,u){return function(d,m){return Zp(d,a,u(m),{})}}function Fs(a,u){return function(d,m){var P;if(d===t&&m===t)return u;if(d!==t&&(P=d),m!==t){if(P===t)return m;typeof d=="string"||typeof m=="string"?(d=Fn(d),m=Fn(m)):(d=wu(d),m=wu(m)),P=a(d,m)}return P}}function Qa(a){return Ai(function(u){return u=Ft(u,On(je())),rt(function(d){var m=this;return a(u,function(P){return Mn(P,m,d)})})})}function Us(a,u){u=u===t?" ":Fn(u);var d=u.length;if(d<2)return d?za(u,a):u;var m=za(u,ys(a/Jl(u)));return jl(u)?il(ii(m),0,a).join(""):m.slice(0,a)}function Cm(a,u,d,m){var P=u&y,M=zr(a);function W(){for(var G=-1,Q=arguments.length,ge=-1,_e=m.length,ve=se(_e+Q),Ee=this&&this!==qt&&this instanceof W?M:a;++ge<_e;)ve[ge]=m[ge];for(;Q--;)ve[ge++]=arguments[++G];return Mn(Ee,P?d:this,ve)}return W}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&wn(u,d,m)&&(d=m=t),u=Di(u),d===t?(d=u,u=0):d=Di(d),m=m===t?u<d?1:-1:Di(m),om(u,d,m,a)}}function Bs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=$n(u),d=$n(d)),a(u,d)}}function Fu(a,u,d,m,P,M,W,G,Q,ge){var _e=u&I,ve=_e?W:t,Ee=_e?t:W,Be=_e?M:t,Ye=_e?t:M;u|=_e?L:T,u&=~(_e?T:L),u&N||(u&=~(y|C));var it=[a,u,P,Be,ve,Ye,Ee,G,Q,ge],Qe=d.apply(t,it);return io(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function Za(a){var u=Zt[a];return function(d,m){if(d=$n(d),m=m==null?0:hn(nt(m),292),m&&Zo(d)){var P=(wt(d)+"e").split("e"),M=u(P[0]+"e"+(+P[1]+m));return P=(wt(M)+"e").split("e"),+(P[0]+"e"+(+P[1]-m))}return u(d)}}var ym=Zl&&1/gs(new Zl([,-0]))[1]==oe?function(a){return new Zl(a)}:vo;function Uu(a){return function(u){var d=gn(u);return d==kt?Na(u):d==Qt?W_(u):D_(u,a(u))}}function Li(a,u,d,m,P,M,W,G){var Q=u&C;if(!Q&&typeof a!="function")throw new Jn(s);var ge=m?m.length:0;if(ge||(u&=~(L|T),m=P=t),W=W===t?W:Xt(nt(W),0),G=G===t?G:nt(G),ge-=P?P.length:0,u&T){var _e=m,ve=P;m=P=t}var Ee=Q?t:xa(a),Be=[a,u,d,m,P,_e,ve,M,W,G];if(Ee&&Bm(Be,Ee),a=Be[0],u=Be[1],d=Be[2],m=Be[3],P=Be[4],G=Be[9]=Be[9]===t?Q?0:a.length:Xt(Be[9]-ge,0),!G&&u&(I|D)&&(u&=~(I|D)),!u||u==y)var Ye=Sm(a,u,d);else u==I||u==D?Ye=km(a,u,G):(u==L||u==(y|L))&&!P.length?Ye=Cm(a,u,d,m):Ye=Os.apply(t,Be);var it=Ee?bu:Qu;return Zu(it(Ye,Be),a,u)}function Bu(a,u,d,m){return a===t||ri(a,Ql[d])&&!Pt.call(m,d)?u:a}function Hu(a,u,d,m,P,M){return Bt(a)&&Bt(u)&&(M.set(u,a),Rs(a,u,t,Hu,M),M.delete(u)),a}function Pm(a){return Kr(a)?t:a}function Wu(a,u,d,m,P,M){var W=d&v,G=a.length,Q=u.length;if(G!=Q&&!(W&&Q>G))return!1;var ge=M.get(a),_e=M.get(u);if(ge&&_e)return ge==u&&_e==a;var ve=-1,Ee=!0,Be=d&S?new Cl:t;for(M.set(a,u),M.set(u,a);++ve<G;){var Ye=a[ve],it=u[ve];if(m)var Qe=W?m(it,Ye,ve,u,a,M):m(Ye,it,ve,a,u,M);if(Qe!==t){if(Qe)continue;Ee=!1;break}if(Be){if(!wa(u,function(ot,ft){if(!Er(Be,ft)&&(Ye===ot||P(Ye,ot,d,m,M)))return Be.push(ft)})){Ee=!1;break}}else if(!(Ye===it||P(Ye,it,d,m,M))){Ee=!1;break}}return M.delete(a),M.delete(u),Ee}function Nm(a,u,d,m,P,M,W){switch(d){case Gt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case Gn:return!(a.byteLength!=u.byteLength||!M(new ws(a),new ws(u)));case Ve:case He:case Yt:return ri(+a,+u);case We:return a.name==u.name&&a.message==u.message;case bn:case En:return a==u+"";case kt:var G=Na;case Qt:var Q=m&v;if(G||(G=gs),a.size!=u.size&&!Q)return!1;var ge=W.get(a);if(ge)return ge==u;m|=S,W.set(a,u);var _e=Wu(G(a),G(u),m,P,M,W);return W.delete(a),_e;case Rt:if(Or)return Or.call(a)==Or.call(u)}return!1}function Im(a,u,d,m,P,M){var W=d&v,G=Xa(a),Q=G.length,ge=Xa(u),_e=ge.length;if(Q!=_e&&!W)return!1;for(var ve=Q;ve--;){var Ee=G[ve];if(!(W?Ee in u:Pt.call(u,Ee)))return!1}var Be=M.get(a),Ye=M.get(u);if(Be&&Ye)return Be==u&&Ye==a;var it=!0;M.set(a,u),M.set(u,a);for(var Qe=W;++ve<Q;){Ee=G[ve];var ot=a[Ee],ft=u[Ee];if(m)var Bn=W?m(ft,ot,Ee,u,a,M):m(ot,ft,Ee,a,u,M);if(!(Bn===t?ot===ft||P(ot,ft,d,m,M):Bn)){it=!1;break}Qe||(Qe=Ee=="constructor")}if(it&&!Qe){var Sn=a.constructor,Hn=u.constructor;Sn!=Hn&&"constructor"in a&&"constructor"in u&&!(typeof Sn=="function"&&Sn instanceof Sn&&typeof Hn=="function"&&Hn instanceof Hn)&&(it=!1)}return M.delete(a),M.delete(u),it}function Ai(a){return ro(Ju(a,t,nf),a+"")}function Xa(a){return au(a,tn,to)}function $a(a){return au(a,In,zu)}var xa=Ns?function(a){return Ns.get(a)}:vo;function Hs(a){for(var u=a.name+"",d=Xl[u],m=Pt.call(Xl,u)?d.length:0;m--;){var P=d[m],M=P.func;if(M==null||M==a)return P.name}return u}function tr(a){var u=Pt.call(R,"placeholder")?R:a;return u.placeholder}function je(){var a=R.iteratee||mo;return a=a===mo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function Ws(a,u){var d=a.__data__;return Mm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function eo(a){for(var u=tn(a),d=u.length;d--;){var m=u[d],P=a[m];u[d]=[m,P,Ku(P)]}return u}function Nl(a,u){var d=U_(a,u);return uu(d)?d:t}function Tm(a){var u=Pt.call(a,Sl),d=a[Sl];try{a[Sl]=t;var m=!0}catch{}var P=bs.call(a);return m&&(u?a[Sl]=d:delete a[Sl]),P}var to=Ta?function(a){return a==null?[]:(a=Lt(a),Zi(Ta(a),function(u){return Yo.call(a,u)}))}:wo,zu=Ta?function(a){for(var u=[];a;)Xi(u,to(a)),a=Ss(a);return u}:wo,gn=vn;(La&&gn(new La(new ArrayBuffer(1)))!=Gt||Dr&&gn(new Dr)!=kt||Aa&&gn(Aa.resolve())!=mn||Zl&&gn(new Zl)!=Qt||Vr&&gn(new Vr)!=xt)&&(gn=function(a){var u=vn(a),d=u==un?a.constructor:t,m=d?Il(d):"";if(m)switch(m){case fp:return Gt;case cp:return kt;case dp:return mn;case hp:return Qt;case gp:return xt}return u});function Lm(a,u,d){for(var m=-1,P=d.length;++m<P;){var M=d[m],W=M.size;switch(M.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=hn(u,a+W);break;case"takeRight":a=Xt(a,u-W);break}}return{start:a,end:u}}function Am(a){var u=a.match(Wi);return u?u[1].split(Ol):[]}function Gu(a,u,d){u=nl(u,a);for(var m=-1,P=u.length,M=!1;++m<P;){var W=pi(u[m]);if(!(M=a!=null&&d(a,W)))break;a=a[W]}return M||++m!=P?M:(P=a==null?0:a.length,!!P&&Ys(P)&&Ei(W,P)&&(xe(a)||Tl(a)))}function Em(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Pt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function qu(a){return typeof a.constructor=="function"&&!Gr(a)?$l(Ss(a)):{}}function Rm(a,u,d){var m=a.constructor;switch(u){case Gn:return Ya(a);case Ve:case He:return new m(+a);case Gt:return _m(a,d);case Cn:case fi:case ci:case cn:case Ci:case x:case Te:case at:case Nt:return Nu(a,d);case kt:return new m;case Yt:case En:return new m(a);case bn:return pm(a);case Qt:return new m;case Rt:return mm(a)}}function Dm(a,u){var d=u.length;if(!d)return a;var m=d-1;return u[m]=(d>1?"& ":"")+u[m],u=u.join(d>2?", ":" "),a.replace(dl,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function Vm(a){return xe(a)||Tl(a)||!!(Qo&&a&&a[Qo])}function Ei(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 vn(a,u,d){if(!Ut(d))return!1;var m=typeof u;return(m=="number"?Pn(d)&&Ei(u,d.length):m=="string"&&u in d)?ii(d[u],a):!1}function no(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||On(a)?!0:br.test(a)||!mr.test(a)||u!=null&&a in Lt(u)}function Mm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function io(a){var u=Hs(a),d=R[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=xa(d);return!!m&&a===m[0]}function Om(a){return!!Ko&&Ko in a}var Fm=ps?Ri:So;function Gr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Ql;return a===d}function Ku(a){return a===a&&!Ut(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Lt(d))}}function Um(a){var u=js(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Bm(a,u){var d=a[1],m=u[1],P=d|m,M=P<(y|C|V),W=m==V&&d==I||m==V&&d==O&&a[7].length<=u[8]||m==(V|O)&&u[7].length<=u[8]&&d==I;if(!(M||W))return a;m&y&&(a[2]=u[2],P|=d&y?0:N);var G=u[3];if(G){var Q=a[3];a[3]=Q?Tu(Q,G,u[4]):G,a[4]=Q?$i(a[3],h):u[4]}return G=u[5],G&&(Q=a[5],a[5]=Q?Lu(Q,G,u[6]):G,a[6]=Q?$i(a[5],h):u[6]),G=u[7],G&&(a[7]=G),m&V&&(a[8]=a[8]==null?u[8]:dn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function Hm(a){var u=[];if(a!=null)for(var d in Lt(a))u.push(d);return u}function Wm(a){return bs.call(a)}function Ju(a,u,d){return u=Xt(u===t?a.length-1:u,0),function(){for(var m=arguments,P=-1,M=Xt(m.length-u,0),W=se(M);++P<M;)W[P]=m[u+P];P=-1;for(var G=se(u+1);++P<u;)G[P]=m[P];return G[u]=d(W),Dn(a,this,G)}}function Yu(a,u){return u.length<2?a:Pl(a,Yn(u,0,-1))}function zm(a,u){for(var d=a.length,m=dn(u.length,d),P=yn(a);m--;){var M=u[m];a[m]=Ei(M,d)?P[M]:t}return a}function lo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),qr=ip||function(a,u){return qt.setTimeout(a,u)},ro=Xu(cm);function Zu(a,u,d){var m=u+"";return ro(a,Dm(m,Gm(Am(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=ap(),P=X-(m-d);if(d=m,P>0){if(++u>=fe)return arguments[0]}else u=0;return a.apply(t,arguments)}}function zs(a,u){var d=-1,m=a.length,P=m-1;for(u=u===t?m:u;++d<u;){var M=Wa(d,P),W=a[M];a[M]=a[d],a[d]=W}return a.length=u,a}var $u=Um(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(vr,function(d,m,P,M){u.push(P?M.replace(Sr,"$1"):m||d)}),u});function _i(a){if(typeof a=="string"||On(a))return a;var u=a+"";return u=="0"&&1/a==-oe?"-0":u}function Il(a){if(a!=null){try{return ms.call(a)}catch{}try{return a+""}catch{}}return""}function Gm(a,u){return qn(ce,function(d){var m="_."+d[0];u&d[1]&&!ds(a,m)&&a.push(m)}),a.sort()}function xu(a){if(a instanceof ut)return a.clone();var u=new jn(a.__wrapped__,a.__chain__);return u.__actions__=yn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function qm(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=Xt(nt(u),0);var m=a==null?0:a.length;if(!m||u<1)return[];for(var P=0,M=0,W=se(ys(m/u));P<m;)W[M++]=Yn(a,P,P+=u);return W}function Km(a){for(var u=-1,d=a==null?0:a.length,m=0,P=[];++u<d;){var M=a[u];M&&(P[m++]=M)}return P}function jm(){var a=arguments.length;if(!a)return[];for(var u=se(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return Xi(xe(d)?yn(d):[d],sn(u,1))}var Jm=rt(function(a,u){return Kt(a)?Ur(a,sn(u,1,Kt,!0)):[]}),Ym=rt(function(a,u){var d=Qn(u);return Kt(d)&&(d=t),Kt(a)?Ur(a,sn(u,1,Kt,!0),je(d,2)):[]}),Qm=rt(function(a,u){var d=Qn(u);return Kt(d)&&(d=t),Kt(a)?Ur(a,sn(u,1,Kt,!0),t,d):[]});function Zm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),Yn(a,u<0?0:u,m)):[]}function Xm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Yn(a,0,u<0?0:u)):[]}function $m(a,u){return a&&a.length?Vs(a,je(u,3),!0,!0):[]}function xm(a,u){return a&&a.length?Vs(a,je(u,3),!0):[]}function e1(a,u,d,m){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&vn(a,u,d)&&(d=0,m=P),jp(a,u,d,m)):[]}function ef(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=d==null?0:nt(d);return P<0&&(P=Xt(m+P,0)),hs(a,je(u,3),P)}function tf(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=m-1;return d!==t&&(P=nt(d),P=d<0?Xt(m+P,0):dn(P,m-1)),hs(a,je(u,3),P,!0)}function nf(a){var u=a==null?0:a.length;return u?sn(a,1):[]}function t1(a){var u=a==null?0:a.length;return u?sn(a,oe):[]}function n1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),sn(a,u)):[]}function i1(a){for(var u=-1,d=a==null?0:a.length,m={};++u<d;){var P=a[u];m[P[0]]=P[1]}return m}function lf(a){return a&&a.length?a[0]:t}function l1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=d==null?0:nt(d);return P<0&&(P=Xt(m+P,0)),Kl(a,u,P)}function r1(a){var u=a==null?0:a.length;return u?Yn(a,0,-1):[]}var s1=rt(function(a){var u=Ot(a,ja);return u.length&&u[0]===a[0]?Oa(u):[]}),a1=rt(function(a){var u=Qn(a),d=Ot(a,ja);return u===Qn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Oa(d,je(u,2)):[]}),o1=rt(function(a){var u=Qn(a),d=Ot(a,ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Oa(d,t,u):[]});function u1(a,u){return a==null?"":rp.call(a,u)}function Qn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function f1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=m;return d!==t&&(P=nt(d),P=P<0?Xt(m+P,0):dn(P,m-1)),u===u?G_(a,u,P):hs(a,Fo,P,!0)}function c1(a,u){return a&&a.length?gu(a,nt(u)):t}var d1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?Ha(a,u):a}function h1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,je(d,2)):a}function g1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,t,d):a}var _1=Ai(function(a,u){var d=a==null?0:a.length,m=Ra(a,u);return mu(a,Ot(u,function(P){return Ei(P,d)?+P:P}).sort(Iu)),m});function p1(a,u){var d=[];if(!(a&&a.length))return d;var m=-1,P=[],M=a.length;for(u=je(u,3);++m<M;){var W=a[m];u(W,m,a)&&(d.push(W),P.push(m))}return mu(a,P),d}function so(a){return a==null?a:up.call(a)}function m1(a,u,d){var m=a==null?0:a.length;return m?(d&&typeof d!="number"&&vn(a,u,d)?(u=0,d=m):(u=u==null?0:nt(u),d=d===t?m:nt(d)),Yn(a,u,d)):[]}function b1(a,u){return Ds(a,u)}function v1(a,u,d){return Ga(a,u,je(d,2))}function w1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u);if(m<d&&ii(a[m],u))return m}return-1}function S1(a,u){return Ds(a,u,!0)}function k1(a,u,d){return Ga(a,u,je(d,2),!0)}function C1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u,!0)-1;if(ii(a[m],u))return m}return-1}function y1(a){return a&&a.length?vu(a):[]}function P1(a,u){return a&&a.length?vu(a,je(u,2)):[]}function N1(a){var u=a==null?0:a.length;return u?Yn(a,1,u):[]}function I1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Yn(a,0,u<0?0:u)):[]}function T1(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Yn(a,u<0?0:u,m)):[]}function L1(a,u){return a&&a.length?Vs(a,je(u,3),!1,!0):[]}function A1(a,u){return a&&a.length?Vs(a,je(u,3)):[]}var E1=rt(function(a){return tl(sn(a,1,Kt,!0))}),R1=rt(function(a){var u=Qn(a);return Kt(u)&&(u=t),tl(sn(a,1,Kt,!0),je(u,2))}),D1=rt(function(a){var u=Qn(a);return u=typeof u=="function"?u:t,tl(sn(a,1,Kt,!0),t,u)});function V1(a){return a&&a.length?tl(a):[]}function M1(a,u){return a&&a.length?tl(a,je(u,2)):[]}function O1(a,u){return u=typeof u=="function"?u:t,a&&a.length?tl(a,t,u):[]}function ao(a){if(!(a&&a.length))return[];var u=0;return a=Zi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),ya(u,function(d){return Ot(a,Sa(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=ao(a);return u==null?d:Ot(d,function(m){return Dn(u,t,m)})}var F1=rt(function(a,u){return Kt(a)?Ur(a,u):[]}),U1=rt(function(a){return Ka(Zi(a,Kt))}),B1=rt(function(a){var u=Qn(a);return Kt(u)&&(u=t),Ka(Zi(a,Kt),je(u,2))}),H1=rt(function(a){var u=Qn(a);return u=typeof u=="function"?u:t,Ka(Zi(a,Kt),t,u)}),W1=rt(ao);function z1(a,u){return Cu(a||[],u||[],Fr)}function G1(a,u){return Cu(a||[],u||[],Wr)}var q1=rt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,sf(a,d)});function af(a){var u=R(a);return u.__chain__=!0,u}function K1(a,u){return u(a),a}function Gs(a,u){return u(a)}var j1=Ai(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,P=function(M){return Ra(M,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ei(d)?this.thru(P):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:Gs,args:[P],thisArg:t}),new jn(m,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function J1(){return af(this)}function Y1(){return new jn(this.value(),this.__chain__)}function Q1(){this.__values__===t&&(this.__values__=Sf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function Z1(){return this}function X1(a){for(var u,d=this;d instanceof Ts;){var m=xu(d);m.__index__=0,m.__values__=t,u?P.__wrapped__=m:u=m;var P=m;d=d.__wrapped__}return P.__wrapped__=a,u}function $1(){var a=this.__wrapped__;if(a instanceof ut){var u=a;return this.__actions__.length&&(u=new ut(this)),u=u.reverse(),u.__actions__.push({func:Gs,args:[so],thisArg:t}),new jn(u,this.__chain__)}return this.thru(so)}function x1(){return ku(this.__wrapped__,this.__actions__)}var eb=Ms(function(a,u,d){Nt.call(a,d)?++a[d]:Ti(a,d,1)});function tb(a,u,d){var m=xe(a)?Mo:Kp;return d&&vn(a,u,d)&&(u=t),m(a,je(u,3))}function nb(a,u){var d=xe(a)?Zi:ru;return d(a,je(u,3))}var ib=Du(ef),lb=Du(tf);function rb(a,u){return sn(qs(a,u),1)}function sb(a,u){return sn(qs(a,u),oe)}function ab(a,u,d){return d=d===t?1:nt(d),sn(qs(a,u),d)}function of(a,u){var d=xe(a)?qn:el;return d(a,je(u,3))}function uf(a,u){var d=xe(a)?N_:lu;return d(a,je(u,3))}var ob=Ms(function(a,u,d){Nt.call(a,d)?a[d].push(u):Ti(a,d,[u])});function ub(a,u,d,m){a=Pn(a)?a:ir(a),d=d&&!m?nt(d):0;var P=a.length;return d<0&&(d=Xt(P+d,0)),Qs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&Kl(a,u,d)>-1}var fb=rt(function(a,u,d){var m=-1,P=typeof u=="function",M=Pn(a)?se(a.length):[];return el(a,function(W){M[++m]=P?Dn(u,W,d):Br(W,u,d)}),M}),cb=Ms(function(a,u,d){Ti(a,d,u)});function qs(a,u){var d=xe(a)?Ot:cu;return d(a,je(u,3))}function db(a,u,d,m){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=m?t:d,xe(d)||(d=d==null?[]:[d]),_u(a,u,d))}var hb=Ms(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function gb(a,u,d){var m=xe(a)?va:Bo,P=arguments.length<3;return m(a,je(u,4),d,P,el)}function _b(a,u,d){var m=xe(a)?I_:Bo,P=arguments.length<3;return m(a,je(u,4),d,P,lu)}function pb(a,u){var d=xe(a)?Zi:ru;return d(a,Js(je(u,3)))}function mb(a){var u=xe(a)?eu:um;return u(a)}function bb(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?Hp:fm;return m(a,u)}function vb(a){var u=xe(a)?Wp:dm;return u(a)}function wb(a){if(a==null)return 0;if(Pn(a))return Qs(a)?Jl(a):a.length;var u=hn(a);return u==kt||u==Qt?a.size:Ua(a).length}function Sb(a,u,d){var m=xe(a)?wa:hm;return d&&vn(a,u,d)&&(u=t),m(a,je(u,3))}var kb=rt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&vn(a,u[0],u[1])?u=[]:d>2&&vn(u[0],u[1],u[2])&&(u=[u[0]]),_u(a,sn(u,1),[])}),Ks=np||function(){return qt.Date.now()};function Cb(a,u){if(typeof u!="function")throw new Kn(s);return a=nt(a),function(){if(--a<1)return u.apply(this,arguments)}}function ff(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Li(a,V,t,t,t,t,u)}function cf(a,u){var d;if(typeof u!="function")throw new Kn(s);return a=nt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var oo=rt(function(a,u,d){var m=y;if(d.length){var P=$i(d,tr(oo));m|=L}return Li(a,m,u,d,P)}),df=rt(function(a,u,d){var m=y|C;if(d.length){var P=$i(d,tr(df));m|=L}return Li(u,m,a,d,P)});function hf(a,u,d){u=d?t:u;var m=Li(a,I,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Li(a,D,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,P,M,W,G,Q,ge=0,_e=!1,ve=!1,Ee=!0;if(typeof a!="function")throw new Kn(s);u=Zn(u)||0,Ut(d)&&(_e=!!d.leading,ve="maxWait"in d,M=ve?Xt(Zn(d.maxWait)||0,u):M,Ee="trailing"in d?!!d.trailing:Ee);function Be(jt){var li=m,Vi=P;return m=P=t,ge=jt,W=a.apply(Vi,li),W}function Ye(jt){return ge=jt,G=qr(ot,u),_e?Be(jt):W}function it(jt){var li=jt-Q,Vi=jt-ge,Vf=u-li;return ve?dn(Vf,M-Vi):Vf}function Qe(jt){var li=jt-Q,Vi=jt-ge;return Q===t||li>=u||li<0||ve&&Vi>=M}function ot(){var jt=Ks();if(Qe(jt))return ft(jt);G=qr(ot,it(jt))}function ft(jt){return G=t,Ee&&m?Be(jt):(m=P=t,W)}function Fn(){G!==t&&yu(G),ge=0,m=Q=P=G=t}function wn(){return G===t?W:ft(Ks())}function Un(){var jt=Ks(),li=Qe(jt);if(m=arguments,P=this,Q=jt,li){if(G===t)return Ye(Q);if(ve)return yu(G),G=qr(ot,u),Be(Q)}return G===t&&(G=qr(ot,u)),W}return Un.cancel=Fn,Un.flush=wn,Un}var yb=rt(function(a,u){return iu(a,1,u)}),Pb=rt(function(a,u,d){return iu(a,Zn(u)||0,d)});function Nb(a){return Li(a,F)}function js(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Kn(s);var d=function(){var m=arguments,P=u?u.apply(this,m):m[0],M=d.cache;if(M.has(P))return M.get(P);var W=a.apply(this,m);return d.cache=M.set(P,W)||M,W};return d.cache=new(js.Cache||Ii),d}js.Cache=Ii;function Js(a){if(typeof a!="function")throw new Kn(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 Ib(a){return cf(2,a)}var Tb=gm(function(a,u){u=u.length==1&&xe(u[0])?Ot(u[0],Vn(je())):Ot(sn(u,1),Vn(je()));var d=u.length;return rt(function(m){for(var P=-1,M=dn(m.length,d);++P<M;)m[P]=u[P].call(this,m[P]);return Dn(a,this,m)})}),uo=rt(function(a,u){var d=$i(u,tr(uo));return Li(a,L,t,u,d)}),pf=rt(function(a,u){var d=$i(u,tr(pf));return Li(a,T,t,u,d)}),Lb=Ai(function(a,u){return Li(a,O,t,t,t,u)});function Ab(a,u){if(typeof a!="function")throw new Kn(s);return u=u===t?u:nt(u),rt(a,u)}function Eb(a,u){if(typeof a!="function")throw new Kn(s);return u=u==null?0:Xt(nt(u),0),rt(function(d){var m=d[u],P=il(d,0,u);return m&&Xi(P,m),Dn(a,this,P)})}function Rb(a,u,d){var m=!0,P=!0;if(typeof a!="function")throw new Kn(s);return Ut(d)&&(m="leading"in d?!!d.leading:m,P="trailing"in d?!!d.trailing:P),_f(a,u,{leading:m,maxWait:u,trailing:P})}function Db(a){return ff(a,1)}function Vb(a,u){return uo(Ja(u),a)}function Mb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Ob(a){return Jn(a,b)}function Fb(a,u){return u=typeof u=="function"?u:t,Jn(a,b,u)}function Ub(a){return Jn(a,_|b)}function Bb(a,u){return u=typeof u=="function"?u:t,Jn(a,_|b,u)}function Hb(a,u){return u==null||nu(a,u,en(u))}function ii(a,u){return a===u||a!==a&&u!==u}var Wb=Bs(Ma),zb=Bs(function(a,u){return a>=u}),Tl=ou(function(){return arguments}())?ou:function(a){return Wt(a)&&Nt.call(a,"callee")&&!Yo.call(a,"callee")},xe=se.isArray,Gb=Qi?Vn(Qi):Xp;function Pn(a){return a!=null&&Ys(a.length)&&!Ri(a)}function Kt(a){return Wt(a)&&Pn(a)}function qb(a){return a===!0||a===!1||Wt(a)&&bn(a)==Ve}var ll=lp||So,Kb=rn?Vn(rn):$p;function jb(a){return Wt(a)&&a.nodeType===1&&!Kr(a)}function Jb(a){if(a==null)return!0;if(Pn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||ll(a)||nr(a)||Tl(a)))return!a.length;var u=hn(a);if(u==kt||u==Qt)return!a.size;if(Gr(a))return!Ua(a).length;for(var d in a)if(Nt.call(a,d))return!1;return!0}function Yb(a,u){return Hr(a,u)}function Qb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Hr(a,u,t,d):!!m}function fo(a){if(!Wt(a))return!1;var u=bn(a);return u==We||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!Kr(a)}function Zb(a){return typeof a=="number"&&Zo(a)}function Ri(a){if(!Ut(a))return!1;var u=bn(a);return u==St||u==Ht||u==re||u==Ui}function mf(a){return typeof a=="number"&&a==nt(a)}function Ys(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=$}function Ut(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Wt(a){return a!=null&&typeof a=="object"}var bf=Rn?Vn(Rn):em;function Xb(a,u){return a===u||Fa(a,u,eo(u))}function $b(a,u,d){return d=typeof d=="function"?d:t,Fa(a,u,eo(u),d)}function xb(a){return vf(a)&&a!=+a}function ev(a){if(Fm(a))throw new Xe(r);return uu(a)}function tv(a){return a===null}function nv(a){return a==null}function vf(a){return typeof a=="number"||Wt(a)&&bn(a)==Yt}function Kr(a){if(!Wt(a)||bn(a)!=on)return!1;var u=Ss(a);if(u===null)return!0;var d=Nt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ms.call(d)==$_}var co=cs?Vn(cs):tm;function iv(a){return mf(a)&&a>=-$&&a<=$}var wf=Do?Vn(Do):nm;function Qs(a){return typeof a=="string"||!xe(a)&&Wt(a)&&bn(a)==An}function On(a){return typeof a=="symbol"||Wt(a)&&bn(a)==Rt}var nr=Vo?Vn(Vo):im;function lv(a){return a===t}function rv(a){return Wt(a)&&hn(a)==xt}function sv(a){return Wt(a)&&bn(a)==un}var av=Bs(Ba),ov=Bs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(Pn(a))return Qs(a)?ti(a):yn(a);if(Rr&&a[Rr])return H_(a[Rr]());var u=hn(a),d=u==kt?Na:u==Qt?gs:ir;return d(a)}function Di(a){if(!a)return a===0?a:0;if(a=Zn(a),a===oe||a===-oe){var u=a<0?-1:1;return u*J}return a===a?a:0}function nt(a){var u=Di(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?yl(nt(a),0,te):0}function Zn(a){if(typeof a=="number")return a;if(On(a))return Ce;if(Ut(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ut(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Ho(a);var d=Bl.test(a);return d||Gi.test(a)?di(a.slice(2),d?2:8):hl.test(a)?Ce:+a}function Cf(a){return gi(a,Nn(a))}function uv(a){return a?yl(nt(a),-$,$):a===0?a:0}function wt(a){return a==null?"":Mn(a)}var fv=xl(function(a,u){if(Gr(u)||Pn(u)){gi(u,en(u),a);return}for(var d in u)Nt.call(u,d)&&Fr(a,d,u[d])}),yf=xl(function(a,u){gi(u,Nn(u),a)}),Zs=xl(function(a,u,d,m){gi(u,Nn(u),a,m)}),cv=xl(function(a,u,d,m){gi(u,en(u),a,m)}),dv=Ai(Ra);function hv(a,u){var d=$l(a);return u==null?d:tu(d,u)}var gv=rt(function(a,u){a=Lt(a);var d=-1,m=u.length,P=m>2?u[2]:t;for(P&&vn(u[0],u[1],P)&&(m=1);++d<m;)for(var M=u[d],W=Nn(M),G=-1,Q=W.length;++G<Q;){var ge=W[G],_e=a[ge];(_e===t||ii(_e,Ql[ge])&&!Nt.call(a,ge))&&(a[ge]=M[ge])}return a}),_v=rt(function(a){return a.push(t,Hu),Dn(Pf,t,a)});function pv(a,u){return Oo(a,je(u,3),hi)}function mv(a,u){return Oo(a,je(u,3),Va)}function bv(a,u){return a==null?a:Da(a,je(u,3),Nn)}function vv(a,u){return a==null?a:su(a,je(u,3),Nn)}function wv(a,u){return a&&hi(a,je(u,3))}function Sv(a,u){return a&&Va(a,je(u,3))}function kv(a){return a==null?[]:Es(a,en(a))}function Cv(a){return a==null?[]:Es(a,Nn(a))}function ho(a,u,d){var m=a==null?t:Pl(a,u);return m===t?d:m}function yv(a,u){return a!=null&&Gu(a,u,Jp)}function go(a,u){return a!=null&&Gu(a,u,Yp)}var Pv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),a[u]=d},po(In)),Nv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),Nt.call(a,u)?a[u].push(d):a[u]=[d]},je),Iv=rt(Br);function en(a){return Pn(a)?xo(a):Ua(a)}function Nn(a){return Pn(a)?xo(a,!0):lm(a)}function Tv(a,u){var d={};return u=je(u,3),hi(a,function(m,P,M){Ti(d,u(m,P,M),m)}),d}function Lv(a,u){var d={};return u=je(u,3),hi(a,function(m,P,M){Ti(d,P,u(m,P,M))}),d}var Av=xl(function(a,u,d){Rs(a,u,d)}),Pf=xl(function(a,u,d,m){Rs(a,u,d,m)}),Ev=Ai(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ot(u,function(M){return M=nl(M,a),m||(m=M.length>1),M}),gi(a,$a(a),d),m&&(d=Jn(d,_|p|b,Pm));for(var P=u.length;P--;)qa(d,u[P]);return d});function Rv(a,u){return Nf(a,Js(je(u)))}var Dv=Ai(function(a,u){return a==null?{}:sm(a,u)});function Nf(a,u){if(a==null)return{};var d=Ot($a(a),function(m){return[m]});return u=je(u),pu(a,d,function(m,P){return u(m,P[0])})}function Vv(a,u,d){u=nl(u,a);var m=-1,P=u.length;for(P||(P=1,a=t);++m<P;){var M=a==null?t:a[_i(u[m])];M===t&&(m=P,M=d),a=Ri(M)?M.call(a):M}return a}function Mv(a,u,d){return a==null?a:Wr(a,u,d)}function Ov(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Wr(a,u,d,m)}var If=Uu(en),Tf=Uu(Nn);function Fv(a,u,d){var m=xe(a),P=m||ll(a)||nr(a);if(u=je(u,4),d==null){var M=a&&a.constructor;P?d=m?new M:[]:Ut(a)?d=Ri(M)?$l(Ss(a)):{}:d={}}return(P?qn:hi)(a,function(W,G,Q){return u(d,W,G,Q)}),d}function Uv(a,u){return a==null?!0:qa(a,u)}function Bv(a,u,d){return a==null?a:Su(a,u,Ja(d))}function Hv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Ja(d),m)}function ir(a){return a==null?[]:Pa(a,en(a))}function Wv(a){return a==null?[]:Pa(a,Nn(a))}function zv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Zn(d),d=d===d?d:0),u!==t&&(u=Zn(u),u=u===u?u:0),yl(Zn(a),u,d)}function Gv(a,u,d){return u=Di(u),d===t?(d=u,u=0):d=Di(d),a=Zn(a),Qp(a,u,d)}function qv(a,u,d){if(d&&typeof d!="boolean"&&vn(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=Di(a),u===t?(u=a,a=0):u=Di(u)),a>u){var m=a;a=u,u=m}if(d||a%1||u%1){var P=Xo();return dn(a+P*(u-a+Gn("1e-"+((P+"").length-1))),u)}return Wa(a,u)}var Kv=er(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return _o(wt(a).toLowerCase())}function Af(a){return a=wt(a),a&&a.replace(_l,M_).replace(Me,"")}function jv(a,u,d){a=wt(a),u=Mn(u);var m=a.length;d=d===t?m:yl(nt(d),0,m);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function Jv(a){return a=wt(a),a&&Bi.test(a)?a.replace(ei,O_):a}function Yv(a){return a=wt(a),a&&wr.test(a)?a.replace(cl,"\\$&"):a}var Qv=er(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Zv=er(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),Xv=Ru("toLowerCase");function $v(a,u,d){a=wt(a),u=nt(u);var m=u?Jl(a):0;if(!u||m>=u)return a;var P=(u-m)/2;return Us(Ps(P),d)+a+Us(ys(P),d)}function xv(a,u,d){a=wt(a),u=nt(u);var m=u?Jl(a):0;return u&&m<u?a+Us(u-m,d):a}function e0(a,u,d){a=wt(a),u=nt(u);var m=u?Jl(a):0;return u&&m<u?Us(u-m,d)+a:a}function t0(a,u,d){return d||u==null?u=0:u&&(u=+u),op(wt(a).replace(Ci,""),u||0)}function n0(a,u,d){return(d?vn(a,u,d):u===t)?u=1:u=nt(u),za(wt(a),u)}function i0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var l0=er(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function r0(a,u,d){return d&&typeof d!="number"&&vn(a,u,d)&&(u=d=t),d=d===t?te:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!co(u))&&(u=Mn(u),!u&&jl(a))?il(ti(a),0,d):a.split(u,d)):[]}var s0=er(function(a,u,d){return a+(d?" ":"")+_o(u)});function a0(a,u,d){return a=wt(a),d=d==null?0:yl(nt(d),0,a.length),u=Mn(u),a.slice(d,d+u.length)==u}function o0(a,u,d){var m=R.templateSettings;d&&vn(a,u,d)&&(u=t),a=wt(a),u=Zs({},u,m,Bu);var P=Zs({},u.imports,m.imports,Bu),M=en(P),W=Pa(P,M),G,Q,ge=0,_e=u.interpolate||fi,ve="__p += '",Ee=Ia((u.escape||fi).source+"|"+_e.source+"|"+(_e===Ml?Cn:fi).source+"|"+(u.evaluate||fi).source+"|$","g"),Be="//# sourceURL="+(Nt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ji+"]")+`
|
|
36
|
-
`;a.replace(Ee,function(Qe,ot,ft,
|
|
35
|
+
`)}function Vm(a){return xe(a)||Tl(a)||!!(Qo&&a&&a[Qo])}function Ei(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 wn(a,u,d){if(!Bt(d))return!1;var m=typeof u;return(m=="number"?Nn(d)&&Ei(u,d.length):m=="string"&&u in d)?ri(d[u],a):!1}function no(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Un(a)?!0:br.test(a)||!mr.test(a)||u!=null&&a in Lt(u)}function Mm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function io(a){var u=Hs(a),d=R[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=xa(d);return!!m&&a===m[0]}function Om(a){return!!Ko&&Ko in a}var Fm=ps?Ri:So;function Gr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Ql;return a===d}function Ku(a){return a===a&&!Bt(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Lt(d))}}function Um(a){var u=js(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Bm(a,u){var d=a[1],m=u[1],P=d|m,M=P<(y|C|V),W=m==V&&d==I||m==V&&d==O&&a[7].length<=u[8]||m==(V|O)&&u[7].length<=u[8]&&d==I;if(!(M||W))return a;m&y&&(a[2]=u[2],P|=d&y?0:N);var G=u[3];if(G){var Q=a[3];a[3]=Q?Tu(Q,G,u[4]):G,a[4]=Q?$i(a[3],h):u[4]}return G=u[5],G&&(Q=a[5],a[5]=Q?Lu(Q,G,u[6]):G,a[6]=Q?$i(a[5],h):u[6]),G=u[7],G&&(a[7]=G),m&V&&(a[8]=a[8]==null?u[8]:hn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=P,a}function Hm(a){var u=[];if(a!=null)for(var d in Lt(a))u.push(d);return u}function Wm(a){return bs.call(a)}function Ju(a,u,d){return u=Xt(u===t?a.length-1:u,0),function(){for(var m=arguments,P=-1,M=Xt(m.length-u,0),W=se(M);++P<M;)W[P]=m[u+P];P=-1;for(var G=se(u+1);++P<u;)G[P]=m[P];return G[u]=d(W),Mn(a,this,G)}}function Yu(a,u){return u.length<2?a:Pl(a,Zn(u,0,-1))}function zm(a,u){for(var d=a.length,m=hn(u.length,d),P=Pn(a);m--;){var M=u[m];a[m]=Ei(M,d)?P[M]:t}return a}function lo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),qr=ip||function(a,u){return qt.setTimeout(a,u)},ro=Xu(cm);function Zu(a,u,d){var m=u+"";return ro(a,Dm(m,Gm(Am(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=ap(),P=X-(m-d);if(d=m,P>0){if(++u>=fe)return arguments[0]}else u=0;return a.apply(t,arguments)}}function zs(a,u){var d=-1,m=a.length,P=m-1;for(u=u===t?m:u;++d<u;){var M=Wa(d,P),W=a[M];a[M]=a[d],a[d]=W}return a.length=u,a}var $u=Um(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(vr,function(d,m,P,M){u.push(P?M.replace(Sr,"$1"):m||d)}),u});function pi(a){if(typeof a=="string"||Un(a))return a;var u=a+"";return u=="0"&&1/a==-oe?"-0":u}function Il(a){if(a!=null){try{return ms.call(a)}catch{}try{return a+""}catch{}}return""}function Gm(a,u){return jn(ce,function(d){var m="_."+d[0];u&d[1]&&!ds(a,m)&&a.push(m)}),a.sort()}function xu(a){if(a instanceof ut)return a.clone();var u=new Yn(a.__wrapped__,a.__chain__);return u.__actions__=Pn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function qm(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=Xt(nt(u),0);var m=a==null?0:a.length;if(!m||u<1)return[];for(var P=0,M=0,W=se(ys(m/u));P<m;)W[M++]=Zn(a,P,P+=u);return W}function Km(a){for(var u=-1,d=a==null?0:a.length,m=0,P=[];++u<d;){var M=a[u];M&&(P[m++]=M)}return P}function jm(){var a=arguments.length;if(!a)return[];for(var u=se(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return Xi(xe(d)?Pn(d):[d],an(u,1))}var Jm=rt(function(a,u){return Kt(a)?Ur(a,an(u,1,Kt,!0)):[]}),Ym=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Ur(a,an(u,1,Kt,!0),je(d,2)):[]}),Qm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Ur(a,an(u,1,Kt,!0),t,d):[]});function Zm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),Zn(a,u<0?0:u,m)):[]}function Xm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,0,u<0?0:u)):[]}function $m(a,u){return a&&a.length?Vs(a,je(u,3),!0,!0):[]}function xm(a,u){return a&&a.length?Vs(a,je(u,3),!0):[]}function e1(a,u,d,m){var P=a==null?0:a.length;return P?(d&&typeof d!="number"&&wn(a,u,d)&&(d=0,m=P),jp(a,u,d,m)):[]}function ef(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=d==null?0:nt(d);return P<0&&(P=Xt(m+P,0)),hs(a,je(u,3),P)}function tf(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=m-1;return d!==t&&(P=nt(d),P=d<0?Xt(m+P,0):hn(P,m-1)),hs(a,je(u,3),P,!0)}function nf(a){var u=a==null?0:a.length;return u?an(a,1):[]}function t1(a){var u=a==null?0:a.length;return u?an(a,oe):[]}function n1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),an(a,u)):[]}function i1(a){for(var u=-1,d=a==null?0:a.length,m={};++u<d;){var P=a[u];m[P[0]]=P[1]}return m}function lf(a){return a&&a.length?a[0]:t}function l1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=d==null?0:nt(d);return P<0&&(P=Xt(m+P,0)),Kl(a,u,P)}function r1(a){var u=a==null?0:a.length;return u?Zn(a,0,-1):[]}var s1=rt(function(a){var u=Ft(a,ja);return u.length&&u[0]===a[0]?Oa(u):[]}),a1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u===Xn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Oa(d,je(u,2)):[]}),o1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Oa(d,t,u):[]});function u1(a,u){return a==null?"":rp.call(a,u)}function Xn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function f1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var P=m;return d!==t&&(P=nt(d),P=P<0?Xt(m+P,0):hn(P,m-1)),u===u?G_(a,u,P):hs(a,Fo,P,!0)}function c1(a,u){return a&&a.length?gu(a,nt(u)):t}var d1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?Ha(a,u):a}function h1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,je(d,2)):a}function g1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,t,d):a}var _1=Ai(function(a,u){var d=a==null?0:a.length,m=Ra(a,u);return mu(a,Ft(u,function(P){return Ei(P,d)?+P:P}).sort(Iu)),m});function p1(a,u){var d=[];if(!(a&&a.length))return d;var m=-1,P=[],M=a.length;for(u=je(u,3);++m<M;){var W=a[m];u(W,m,a)&&(d.push(W),P.push(m))}return mu(a,P),d}function so(a){return a==null?a:up.call(a)}function m1(a,u,d){var m=a==null?0:a.length;return m?(d&&typeof d!="number"&&wn(a,u,d)?(u=0,d=m):(u=u==null?0:nt(u),d=d===t?m:nt(d)),Zn(a,u,d)):[]}function b1(a,u){return Ds(a,u)}function v1(a,u,d){return Ga(a,u,je(d,2))}function w1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u);if(m<d&&ri(a[m],u))return m}return-1}function S1(a,u){return Ds(a,u,!0)}function k1(a,u,d){return Ga(a,u,je(d,2),!0)}function C1(a,u){var d=a==null?0:a.length;if(d){var m=Ds(a,u,!0)-1;if(ri(a[m],u))return m}return-1}function y1(a){return a&&a.length?vu(a):[]}function P1(a,u){return a&&a.length?vu(a,je(u,2)):[]}function N1(a){var u=a==null?0:a.length;return u?Zn(a,1,u):[]}function I1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Zn(a,0,u<0?0:u)):[]}function T1(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,u<0?0:u,m)):[]}function L1(a,u){return a&&a.length?Vs(a,je(u,3),!1,!0):[]}function A1(a,u){return a&&a.length?Vs(a,je(u,3)):[]}var E1=rt(function(a){return tl(an(a,1,Kt,!0))}),R1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),tl(an(a,1,Kt,!0),je(u,2))}),D1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,tl(an(a,1,Kt,!0),t,u)});function V1(a){return a&&a.length?tl(a):[]}function M1(a,u){return a&&a.length?tl(a,je(u,2)):[]}function O1(a,u){return u=typeof u=="function"?u:t,a&&a.length?tl(a,t,u):[]}function ao(a){if(!(a&&a.length))return[];var u=0;return a=Zi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),ya(u,function(d){return Ft(a,Sa(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=ao(a);return u==null?d:Ft(d,function(m){return Mn(u,t,m)})}var F1=rt(function(a,u){return Kt(a)?Ur(a,u):[]}),U1=rt(function(a){return Ka(Zi(a,Kt))}),B1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),Ka(Zi(a,Kt),je(u,2))}),H1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,Ka(Zi(a,Kt),t,u)}),W1=rt(ao);function z1(a,u){return Cu(a||[],u||[],Fr)}function G1(a,u){return Cu(a||[],u||[],Wr)}var q1=rt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,sf(a,d)});function af(a){var u=R(a);return u.__chain__=!0,u}function K1(a,u){return u(a),a}function Gs(a,u){return u(a)}var j1=Ai(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,P=function(M){return Ra(M,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ei(d)?this.thru(P):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:Gs,args:[P],thisArg:t}),new Yn(m,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function J1(){return af(this)}function Y1(){return new Yn(this.value(),this.__chain__)}function Q1(){this.__values__===t&&(this.__values__=Sf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function Z1(){return this}function X1(a){for(var u,d=this;d instanceof Ts;){var m=xu(d);m.__index__=0,m.__values__=t,u?P.__wrapped__=m:u=m;var P=m;d=d.__wrapped__}return P.__wrapped__=a,u}function $1(){var a=this.__wrapped__;if(a instanceof ut){var u=a;return this.__actions__.length&&(u=new ut(this)),u=u.reverse(),u.__actions__.push({func:Gs,args:[so],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(so)}function x1(){return ku(this.__wrapped__,this.__actions__)}var eb=Ms(function(a,u,d){Pt.call(a,d)?++a[d]:Ti(a,d,1)});function tb(a,u,d){var m=xe(a)?Mo:Kp;return d&&wn(a,u,d)&&(u=t),m(a,je(u,3))}function nb(a,u){var d=xe(a)?Zi:ru;return d(a,je(u,3))}var ib=Du(ef),lb=Du(tf);function rb(a,u){return an(qs(a,u),1)}function sb(a,u){return an(qs(a,u),oe)}function ab(a,u,d){return d=d===t?1:nt(d),an(qs(a,u),d)}function of(a,u){var d=xe(a)?jn:el;return d(a,je(u,3))}function uf(a,u){var d=xe(a)?N_:lu;return d(a,je(u,3))}var ob=Ms(function(a,u,d){Pt.call(a,d)?a[d].push(u):Ti(a,d,[u])});function ub(a,u,d,m){a=Nn(a)?a:ir(a),d=d&&!m?nt(d):0;var P=a.length;return d<0&&(d=Xt(P+d,0)),Qs(a)?d<=P&&a.indexOf(u,d)>-1:!!P&&Kl(a,u,d)>-1}var fb=rt(function(a,u,d){var m=-1,P=typeof u=="function",M=Nn(a)?se(a.length):[];return el(a,function(W){M[++m]=P?Mn(u,W,d):Br(W,u,d)}),M}),cb=Ms(function(a,u,d){Ti(a,d,u)});function qs(a,u){var d=xe(a)?Ft:cu;return d(a,je(u,3))}function db(a,u,d,m){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=m?t:d,xe(d)||(d=d==null?[]:[d]),_u(a,u,d))}var hb=Ms(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function gb(a,u,d){var m=xe(a)?va:Bo,P=arguments.length<3;return m(a,je(u,4),d,P,el)}function _b(a,u,d){var m=xe(a)?I_:Bo,P=arguments.length<3;return m(a,je(u,4),d,P,lu)}function pb(a,u){var d=xe(a)?Zi:ru;return d(a,Js(je(u,3)))}function mb(a){var u=xe(a)?eu:um;return u(a)}function bb(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?Hp:fm;return m(a,u)}function vb(a){var u=xe(a)?Wp:dm;return u(a)}function wb(a){if(a==null)return 0;if(Nn(a))return Qs(a)?Jl(a):a.length;var u=gn(a);return u==kt||u==Qt?a.size:Ua(a).length}function Sb(a,u,d){var m=xe(a)?wa:hm;return d&&wn(a,u,d)&&(u=t),m(a,je(u,3))}var kb=rt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&wn(a,u[0],u[1])?u=[]:d>2&&wn(u[0],u[1],u[2])&&(u=[u[0]]),_u(a,an(u,1),[])}),Ks=np||function(){return qt.Date.now()};function Cb(a,u){if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){if(--a<1)return u.apply(this,arguments)}}function ff(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Li(a,V,t,t,t,t,u)}function cf(a,u){var d;if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var oo=rt(function(a,u,d){var m=y;if(d.length){var P=$i(d,tr(oo));m|=L}return Li(a,m,u,d,P)}),df=rt(function(a,u,d){var m=y|C;if(d.length){var P=$i(d,tr(df));m|=L}return Li(u,m,a,d,P)});function hf(a,u,d){u=d?t:u;var m=Li(a,I,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Li(a,D,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,P,M,W,G,Q,ge=0,_e=!1,ve=!1,Ee=!0;if(typeof a!="function")throw new Jn(s);u=$n(u)||0,Bt(d)&&(_e=!!d.leading,ve="maxWait"in d,M=ve?Xt($n(d.maxWait)||0,u):M,Ee="trailing"in d?!!d.trailing:Ee);function Be(jt){var si=m,Vi=P;return m=P=t,ge=jt,W=a.apply(Vi,si),W}function Ye(jt){return ge=jt,G=qr(ot,u),_e?Be(jt):W}function it(jt){var si=jt-Q,Vi=jt-ge,Vf=u-si;return ve?hn(Vf,M-Vi):Vf}function Qe(jt){var si=jt-Q,Vi=jt-ge;return Q===t||si>=u||si<0||ve&&Vi>=M}function ot(){var jt=Ks();if(Qe(jt))return ft(jt);G=qr(ot,it(jt))}function ft(jt){return G=t,Ee&&m?Be(jt):(m=P=t,W)}function Bn(){G!==t&&yu(G),ge=0,m=Q=P=G=t}function Sn(){return G===t?W:ft(Ks())}function Hn(){var jt=Ks(),si=Qe(jt);if(m=arguments,P=this,Q=jt,si){if(G===t)return Ye(Q);if(ve)return yu(G),G=qr(ot,u),Be(Q)}return G===t&&(G=qr(ot,u)),W}return Hn.cancel=Bn,Hn.flush=Sn,Hn}var yb=rt(function(a,u){return iu(a,1,u)}),Pb=rt(function(a,u,d){return iu(a,$n(u)||0,d)});function Nb(a){return Li(a,F)}function js(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Jn(s);var d=function(){var m=arguments,P=u?u.apply(this,m):m[0],M=d.cache;if(M.has(P))return M.get(P);var W=a.apply(this,m);return d.cache=M.set(P,W)||M,W};return d.cache=new(js.Cache||Ii),d}js.Cache=Ii;function Js(a){if(typeof a!="function")throw new Jn(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 Ib(a){return cf(2,a)}var Tb=gm(function(a,u){u=u.length==1&&xe(u[0])?Ft(u[0],On(je())):Ft(an(u,1),On(je()));var d=u.length;return rt(function(m){for(var P=-1,M=hn(m.length,d);++P<M;)m[P]=u[P].call(this,m[P]);return Mn(a,this,m)})}),uo=rt(function(a,u){var d=$i(u,tr(uo));return Li(a,L,t,u,d)}),pf=rt(function(a,u){var d=$i(u,tr(pf));return Li(a,T,t,u,d)}),Lb=Ai(function(a,u){return Li(a,O,t,t,t,u)});function Ab(a,u){if(typeof a!="function")throw new Jn(s);return u=u===t?u:nt(u),rt(a,u)}function Eb(a,u){if(typeof a!="function")throw new Jn(s);return u=u==null?0:Xt(nt(u),0),rt(function(d){var m=d[u],P=il(d,0,u);return m&&Xi(P,m),Mn(a,this,P)})}function Rb(a,u,d){var m=!0,P=!0;if(typeof a!="function")throw new Jn(s);return Bt(d)&&(m="leading"in d?!!d.leading:m,P="trailing"in d?!!d.trailing:P),_f(a,u,{leading:m,maxWait:u,trailing:P})}function Db(a){return ff(a,1)}function Vb(a,u){return uo(Ja(u),a)}function Mb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Ob(a){return Qn(a,b)}function Fb(a,u){return u=typeof u=="function"?u:t,Qn(a,b,u)}function Ub(a){return Qn(a,_|b)}function Bb(a,u){return u=typeof u=="function"?u:t,Qn(a,_|b,u)}function Hb(a,u){return u==null||nu(a,u,tn(u))}function ri(a,u){return a===u||a!==a&&u!==u}var Wb=Bs(Ma),zb=Bs(function(a,u){return a>=u}),Tl=ou(function(){return arguments}())?ou:function(a){return zt(a)&&Pt.call(a,"callee")&&!Yo.call(a,"callee")},xe=se.isArray,Gb=Qi?On(Qi):Xp;function Nn(a){return a!=null&&Ys(a.length)&&!Ri(a)}function Kt(a){return zt(a)&&Nn(a)}function qb(a){return a===!0||a===!1||zt(a)&&vn(a)==Ve}var ll=lp||So,Kb=sn?On(sn):$p;function jb(a){return zt(a)&&a.nodeType===1&&!Kr(a)}function Jb(a){if(a==null)return!0;if(Nn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||ll(a)||nr(a)||Tl(a)))return!a.length;var u=gn(a);if(u==kt||u==Qt)return!a.size;if(Gr(a))return!Ua(a).length;for(var d in a)if(Pt.call(a,d))return!1;return!0}function Yb(a,u){return Hr(a,u)}function Qb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Hr(a,u,t,d):!!m}function fo(a){if(!zt(a))return!1;var u=vn(a);return u==We||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!Kr(a)}function Zb(a){return typeof a=="number"&&Zo(a)}function Ri(a){if(!Bt(a))return!1;var u=vn(a);return u==St||u==Wt||u==re||u==Ui}function mf(a){return typeof a=="number"&&a==nt(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 zt(a){return a!=null&&typeof a=="object"}var bf=Vn?On(Vn):em;function Xb(a,u){return a===u||Fa(a,u,eo(u))}function $b(a,u,d){return d=typeof d=="function"?d:t,Fa(a,u,eo(u),d)}function xb(a){return vf(a)&&a!=+a}function ev(a){if(Fm(a))throw new Xe(r);return uu(a)}function tv(a){return a===null}function nv(a){return a==null}function vf(a){return typeof a=="number"||zt(a)&&vn(a)==Yt}function Kr(a){if(!zt(a)||vn(a)!=un)return!1;var u=Ss(a);if(u===null)return!0;var d=Pt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ms.call(d)==$_}var co=cs?On(cs):tm;function iv(a){return mf(a)&&a>=-$&&a<=$}var wf=Do?On(Do):nm;function Qs(a){return typeof a=="string"||!xe(a)&&zt(a)&&vn(a)==En}function Un(a){return typeof a=="symbol"||zt(a)&&vn(a)==Rt}var nr=Vo?On(Vo):im;function lv(a){return a===t}function rv(a){return zt(a)&&gn(a)==xt}function sv(a){return zt(a)&&vn(a)==fn}var av=Bs(Ba),ov=Bs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(Nn(a))return Qs(a)?ii(a):Pn(a);if(Rr&&a[Rr])return H_(a[Rr]());var u=gn(a),d=u==kt?Na:u==Qt?gs:ir;return d(a)}function Di(a){if(!a)return a===0?a:0;if(a=$n(a),a===oe||a===-oe){var u=a<0?-1:1;return u*J}return a===a?a:0}function nt(a){var u=Di(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?yl(nt(a),0,te):0}function $n(a){if(typeof a=="number")return a;if(Un(a))return Ce;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=Ho(a);var d=Bl.test(a);return d||Gi.test(a)?Dn(a.slice(2),d?2:8):hl.test(a)?Ce:+a}function Cf(a){return _i(a,In(a))}function uv(a){return a?yl(nt(a),-$,$):a===0?a:0}function wt(a){return a==null?"":Fn(a)}var fv=xl(function(a,u){if(Gr(u)||Nn(u)){_i(u,tn(u),a);return}for(var d in u)Pt.call(u,d)&&Fr(a,d,u[d])}),yf=xl(function(a,u){_i(u,In(u),a)}),Zs=xl(function(a,u,d,m){_i(u,In(u),a,m)}),cv=xl(function(a,u,d,m){_i(u,tn(u),a,m)}),dv=Ai(Ra);function hv(a,u){var d=$l(a);return u==null?d:tu(d,u)}var gv=rt(function(a,u){a=Lt(a);var d=-1,m=u.length,P=m>2?u[2]:t;for(P&&wn(u[0],u[1],P)&&(m=1);++d<m;)for(var M=u[d],W=In(M),G=-1,Q=W.length;++G<Q;){var ge=W[G],_e=a[ge];(_e===t||ri(_e,Ql[ge])&&!Pt.call(a,ge))&&(a[ge]=M[ge])}return a}),_v=rt(function(a){return a.push(t,Hu),Mn(Pf,t,a)});function pv(a,u){return Oo(a,je(u,3),gi)}function mv(a,u){return Oo(a,je(u,3),Va)}function bv(a,u){return a==null?a:Da(a,je(u,3),In)}function vv(a,u){return a==null?a:su(a,je(u,3),In)}function wv(a,u){return a&&gi(a,je(u,3))}function Sv(a,u){return a&&Va(a,je(u,3))}function kv(a){return a==null?[]:Es(a,tn(a))}function Cv(a){return a==null?[]:Es(a,In(a))}function ho(a,u,d){var m=a==null?t:Pl(a,u);return m===t?d:m}function yv(a,u){return a!=null&&Gu(a,u,Jp)}function go(a,u){return a!=null&&Gu(a,u,Yp)}var Pv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),a[u]=d},po(Tn)),Nv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=bs.call(u)),Pt.call(a,u)?a[u].push(d):a[u]=[d]},je),Iv=rt(Br);function tn(a){return Nn(a)?xo(a):Ua(a)}function In(a){return Nn(a)?xo(a,!0):lm(a)}function Tv(a,u){var d={};return u=je(u,3),gi(a,function(m,P,M){Ti(d,u(m,P,M),m)}),d}function Lv(a,u){var d={};return u=je(u,3),gi(a,function(m,P,M){Ti(d,P,u(m,P,M))}),d}var Av=xl(function(a,u,d){Rs(a,u,d)}),Pf=xl(function(a,u,d,m){Rs(a,u,d,m)}),Ev=Ai(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ft(u,function(M){return M=nl(M,a),m||(m=M.length>1),M}),_i(a,$a(a),d),m&&(d=Qn(d,_|p|b,Pm));for(var P=u.length;P--;)qa(d,u[P]);return d});function Rv(a,u){return Nf(a,Js(je(u)))}var Dv=Ai(function(a,u){return a==null?{}:sm(a,u)});function Nf(a,u){if(a==null)return{};var d=Ft($a(a),function(m){return[m]});return u=je(u),pu(a,d,function(m,P){return u(m,P[0])})}function Vv(a,u,d){u=nl(u,a);var m=-1,P=u.length;for(P||(P=1,a=t);++m<P;){var M=a==null?t:a[pi(u[m])];M===t&&(m=P,M=d),a=Ri(M)?M.call(a):M}return a}function Mv(a,u,d){return a==null?a:Wr(a,u,d)}function Ov(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Wr(a,u,d,m)}var If=Uu(tn),Tf=Uu(In);function Fv(a,u,d){var m=xe(a),P=m||ll(a)||nr(a);if(u=je(u,4),d==null){var M=a&&a.constructor;P?d=m?new M:[]:Bt(a)?d=Ri(M)?$l(Ss(a)):{}:d={}}return(P?jn:gi)(a,function(W,G,Q){return u(d,W,G,Q)}),d}function Uv(a,u){return a==null?!0:qa(a,u)}function Bv(a,u,d){return a==null?a:Su(a,u,Ja(d))}function Hv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Ja(d),m)}function ir(a){return a==null?[]:Pa(a,tn(a))}function Wv(a){return a==null?[]:Pa(a,In(a))}function zv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=$n(d),d=d===d?d:0),u!==t&&(u=$n(u),u=u===u?u:0),yl($n(a),u,d)}function Gv(a,u,d){return u=Di(u),d===t?(d=u,u=0):d=Di(d),a=$n(a),Qp(a,u,d)}function qv(a,u,d){if(d&&typeof d!="boolean"&&wn(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=Di(a),u===t?(u=a,a=0):u=Di(u)),a>u){var m=a;a=u,u=m}if(d||a%1||u%1){var P=Xo();return hn(a+P*(u-a+en("1e-"+((P+"").length-1))),u)}return Wa(a,u)}var Kv=er(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return _o(wt(a).toLowerCase())}function Af(a){return a=wt(a),a&&a.replace(_l,M_).replace(Oe,"")}function jv(a,u,d){a=wt(a),u=Fn(u);var m=a.length;d=d===t?m:yl(nt(d),0,m);var P=d;return d-=u.length,d>=0&&a.slice(d,P)==u}function Jv(a){return a=wt(a),a&&Bi.test(a)?a.replace(ni,O_):a}function Yv(a){return a=wt(a),a&&wr.test(a)?a.replace(cl,"\\$&"):a}var Qv=er(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Zv=er(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),Xv=Ru("toLowerCase");function $v(a,u,d){a=wt(a),u=nt(u);var m=u?Jl(a):0;if(!u||m>=u)return a;var P=(u-m)/2;return Us(Ps(P),d)+a+Us(ys(P),d)}function xv(a,u,d){a=wt(a),u=nt(u);var m=u?Jl(a):0;return u&&m<u?a+Us(u-m,d):a}function e0(a,u,d){a=wt(a),u=nt(u);var m=u?Jl(a):0;return u&&m<u?Us(u-m,d)+a:a}function t0(a,u,d){return d||u==null?u=0:u&&(u=+u),op(wt(a).replace(yi,""),u||0)}function n0(a,u,d){return(d?wn(a,u,d):u===t)?u=1:u=nt(u),za(wt(a),u)}function i0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var l0=er(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function r0(a,u,d){return d&&typeof d!="number"&&wn(a,u,d)&&(u=d=t),d=d===t?te:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!co(u))&&(u=Fn(u),!u&&jl(a))?il(ii(a),0,d):a.split(u,d)):[]}var s0=er(function(a,u,d){return a+(d?" ":"")+_o(u)});function a0(a,u,d){return a=wt(a),d=d==null?0:yl(nt(d),0,a.length),u=Fn(u),a.slice(d,d+u.length)==u}function o0(a,u,d){var m=R.templateSettings;d&&wn(a,u,d)&&(u=t),a=wt(a),u=Zs({},u,m,Bu);var P=Zs({},u.imports,m.imports,Bu),M=tn(P),W=Pa(P,M),G,Q,ge=0,_e=u.interpolate||di,ve="__p += '",Ee=Ia((u.escape||di).source+"|"+_e.source+"|"+(_e===Ml?yn:di).source+"|"+(u.evaluate||di).source+"|$","g"),Be="//# sourceURL="+(Pt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ji+"]")+`
|
|
36
|
+
`;a.replace(Ee,function(Qe,ot,ft,Bn,Sn,Hn){return ft||(ft=Bn),ve+=a.slice(ge,Hn).replace(Hl,F_),ot&&(G=!0,ve+=`' +
|
|
37
37
|
__e(`+ot+`) +
|
|
38
|
-
'`),
|
|
39
|
-
`+
|
|
38
|
+
'`),Sn&&(Q=!0,ve+=`';
|
|
39
|
+
`+Sn+`;
|
|
40
40
|
__p += '`),ft&&(ve+=`' +
|
|
41
41
|
((__t = (`+ft+`)) == null ? '' : __t) +
|
|
42
|
-
'`),ge=
|
|
43
|
-
`;var Ye=
|
|
42
|
+
'`),ge=Hn+Qe.length,Qe}),ve+=`';
|
|
43
|
+
`;var Ye=Pt.call(u,"variable")&&u.variable;if(!Ye)ve=`with (obj) {
|
|
44
44
|
`+ve+`
|
|
45
45
|
}
|
|
46
|
-
`;else if(Ul.test(Ye))throw new Xe(o);ve=(Q?ve.replace(Ct,""):ve).replace(
|
|
46
|
+
`;else if(Ul.test(Ye))throw new Xe(o);ve=(Q?ve.replace(Ct,""):ve).replace(ln,"$1").replace(Rn,"$1;"),ve="function("+(Ye||"obj")+`) {
|
|
47
47
|
`+(Ye?"":`obj || (obj = {});
|
|
48
48
|
`)+"var __t, __p = ''"+(G?", __e = _.escape":"")+(Q?`, __j = Array.prototype.join;
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
51
|
`)+ve+`return __p
|
|
52
|
-
}`;var it=Rf(function(){return pt(M,Be+"return "+ve).apply(t,W)});if(it.source=ve,fo(it))throw it;return it}function u0(a){return wt(a).toLowerCase()}function f0(a){return wt(a).toUpperCase()}function c0(a,u,d){if(a=wt(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Mn(u)))return a;var m=ti(a),P=ti(u),M=Wo(m,P),W=zo(m,P)+1;return il(m,M,W).join("")}function d0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,qo(a)+1);if(!a||!(u=Mn(u)))return a;var m=ti(a),P=zo(m,ti(u))+1;return il(m,0,P).join("")}function h0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(Ci,"");if(!a||!(u=Mn(u)))return a;var m=ti(a),P=Wo(m,ti(u));return il(m,P).join("")}function g0(a,u){var d=z,m=ae;if(Ut(u)){var P="separator"in u?u.separator:P;d="length"in u?nt(u.length):d,m="omission"in u?Mn(u.omission):m}a=wt(a);var M=a.length;if(jl(a)){var W=ti(a);M=W.length}if(d>=M)return a;var G=d-Jl(m);if(G<1)return m;var Q=W?il(W,0,G).join(""):a.slice(0,G);if(P===t)return Q+m;if(W&&(G+=Q.length-G),co(P)){if(a.slice(G).search(P)){var ge,_e=Q;for(P.global||(P=Ia(P.source,wt(zi.exec(P))+"g")),P.lastIndex=0;ge=P.exec(_e);)var ve=ge.index;Q=Q.slice(0,ve===t?G:ve)}}else if(a.indexOf(Mn(P),G)!=G){var Ee=Q.lastIndexOf(P);Ee>-1&&(Q=Q.slice(0,Ee))}return Q+m}function _0(a){return a=wt(a),a&&Vl.test(a)?a.replace(zn,q_):a}var p0=er(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),_o=Ru("toUpperCase");function Ef(a,u,d){return a=wt(a),u=d?t:u,u===t?B_(a)?J_(a):A_(a):a.match(u)||[]}var Rf=rt(function(a,u){try{return Dn(a,t,u)}catch(d){return fo(d)?d:new Xe(d)}}),m0=Ai(function(a,u){return qn(u,function(d){d=_i(d),Ti(a,d,oo(a[d],a))}),a});function b0(a){var u=a==null?0:a.length,d=je();return a=u?Ot(a,function(m){if(typeof m[1]!="function")throw new Kn(s);return[d(m[0]),m[1]]}):[],rt(function(m){for(var P=-1;++P<u;){var M=a[P];if(Dn(M[0],this,m))return Dn(M[1],this,m)}})}function v0(a){return qp(Jn(a,_))}function po(a){return function(){return a}}function w0(a,u){return a==null||a!==a?u:a}var S0=Vu(),k0=Vu(!0);function In(a){return a}function mo(a){return fu(typeof a=="function"?a:Jn(a,_))}function C0(a){return du(Jn(a,_))}function y0(a,u){return hu(a,Jn(u,_))}var P0=rt(function(a,u){return function(d){return Br(d,a,u)}}),N0=rt(function(a,u){return function(d){return Br(a,d,u)}});function bo(a,u,d){var m=en(u),P=Es(u,m);d==null&&!(Ut(u)&&(P.length||!m.length))&&(d=u,u=a,a=this,P=Es(u,en(u)));var M=!(Ut(d)&&"chain"in d)||!!d.chain,W=Ri(a);return qn(P,function(G){var Q=u[G];a[G]=Q,W&&(a.prototype[G]=function(){var ge=this.__chain__;if(M||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=yn(this.__actions__);return ve.push({func:Q,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return Q.apply(a,Xi([this.value()],arguments))})}),a}function I0(){return qt._===this&&(qt._=x_),this}function vo(){}function T0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var L0=Qa(Ot),A0=Qa(Mo),E0=Qa(wa);function Df(a){return no(a)?Sa(_i(a)):am(a)}function R0(a){return function(u){return a==null?t:Pl(a,u)}}var D0=Ou(),V0=Ou(!0);function wo(){return[]}function So(){return!1}function M0(){return{}}function O0(){return""}function F0(){return!0}function U0(a,u){if(a=nt(a),a<1||a>$)return[];var d=te,m=dn(a,te);u=je(u),a-=te;for(var P=ya(m,u);++d<a;)u(d);return P}function B0(a){return xe(a)?Ot(a,_i):On(a)?[a]:yn($u(wt(a)))}function H0(a){var u=++X_;return wt(a)+u}var W0=Fs(function(a,u){return a+u},0),z0=Za("ceil"),G0=Fs(function(a,u){return a/u},1),q0=Za("floor");function K0(a){return a&&a.length?As(a,In,Ma):t}function j0(a,u){return a&&a.length?As(a,je(u,2),Ma):t}function J0(a){return Uo(a,In)}function Y0(a,u){return Uo(a,je(u,2))}function Q0(a){return a&&a.length?As(a,In,Ba):t}function Z0(a,u){return a&&a.length?As(a,je(u,2),Ba):t}var X0=Fs(function(a,u){return a*u},1),$0=Za("round"),x0=Fs(function(a,u){return a-u},0);function ew(a){return a&&a.length?Ca(a,In):0}function tw(a,u){return a&&a.length?Ca(a,je(u,2)):0}return R.after=Cb,R.ary=ff,R.assign=fv,R.assignIn=yf,R.assignInWith=Zs,R.assignWith=cv,R.at=dv,R.before=cf,R.bind=oo,R.bindAll=m0,R.bindKey=df,R.castArray=Mb,R.chain=af,R.chunk=qm,R.compact=Km,R.concat=jm,R.cond=b0,R.conforms=v0,R.constant=po,R.countBy=eb,R.create=hv,R.curry=hf,R.curryRight=gf,R.debounce=_f,R.defaults=gv,R.defaultsDeep=_v,R.defer=yb,R.delay=Pb,R.difference=Jm,R.differenceBy=Ym,R.differenceWith=Qm,R.drop=Zm,R.dropRight=Xm,R.dropRightWhile=$m,R.dropWhile=xm,R.fill=e1,R.filter=nb,R.flatMap=rb,R.flatMapDeep=sb,R.flatMapDepth=ab,R.flatten=nf,R.flattenDeep=t1,R.flattenDepth=n1,R.flip=Nb,R.flow=S0,R.flowRight=k0,R.fromPairs=i1,R.functions=kv,R.functionsIn=Cv,R.groupBy=ob,R.initial=r1,R.intersection=s1,R.intersectionBy=a1,R.intersectionWith=o1,R.invert=Pv,R.invertBy=Nv,R.invokeMap=fb,R.iteratee=mo,R.keyBy=cb,R.keys=en,R.keysIn=Nn,R.map=qs,R.mapKeys=Tv,R.mapValues=Lv,R.matches=C0,R.matchesProperty=y0,R.memoize=js,R.merge=Av,R.mergeWith=Pf,R.method=P0,R.methodOf=N0,R.mixin=bo,R.negate=Js,R.nthArg=T0,R.omit=Ev,R.omitBy=Rv,R.once=Ib,R.orderBy=db,R.over=L0,R.overArgs=Tb,R.overEvery=A0,R.overSome=E0,R.partial=uo,R.partialRight=pf,R.partition=hb,R.pick=Dv,R.pickBy=Nf,R.property=Df,R.propertyOf=R0,R.pull=d1,R.pullAll=rf,R.pullAllBy=h1,R.pullAllWith=g1,R.pullAt=_1,R.range=D0,R.rangeRight=V0,R.rearg=Lb,R.reject=pb,R.remove=p1,R.rest=Ab,R.reverse=so,R.sampleSize=bb,R.set=Mv,R.setWith=Ov,R.shuffle=vb,R.slice=m1,R.sortBy=kb,R.sortedUniq=y1,R.sortedUniqBy=P1,R.split=r0,R.spread=Eb,R.tail=N1,R.take=I1,R.takeRight=T1,R.takeRightWhile=L1,R.takeWhile=A1,R.tap=K1,R.throttle=Rb,R.thru=Gs,R.toArray=Sf,R.toPairs=If,R.toPairsIn=Tf,R.toPath=B0,R.toPlainObject=Cf,R.transform=Fv,R.unary=Db,R.union=E1,R.unionBy=R1,R.unionWith=D1,R.uniq=V1,R.uniqBy=M1,R.uniqWith=O1,R.unset=Uv,R.unzip=ao,R.unzipWith=sf,R.update=Bv,R.updateWith=Hv,R.values=ir,R.valuesIn=Wv,R.without=F1,R.words=Ef,R.wrap=Vb,R.xor=U1,R.xorBy=B1,R.xorWith=H1,R.zip=W1,R.zipObject=z1,R.zipObjectDeep=G1,R.zipWith=q1,R.entries=If,R.entriesIn=Tf,R.extend=yf,R.extendWith=Zs,bo(R,R),R.add=W0,R.attempt=Rf,R.camelCase=Kv,R.capitalize=Lf,R.ceil=z0,R.clamp=zv,R.clone=Ob,R.cloneDeep=Ub,R.cloneDeepWith=Bb,R.cloneWith=Fb,R.conformsTo=Hb,R.deburr=Af,R.defaultTo=w0,R.divide=G0,R.endsWith=jv,R.eq=ii,R.escape=Jv,R.escapeRegExp=Yv,R.every=tb,R.find=ib,R.findIndex=ef,R.findKey=pv,R.findLast=lb,R.findLastIndex=tf,R.findLastKey=mv,R.floor=q0,R.forEach=of,R.forEachRight=uf,R.forIn=bv,R.forInRight=vv,R.forOwn=wv,R.forOwnRight=Sv,R.get=ho,R.gt=Wb,R.gte=zb,R.has=yv,R.hasIn=go,R.head=lf,R.identity=In,R.includes=ub,R.indexOf=l1,R.inRange=Gv,R.invoke=Iv,R.isArguments=Tl,R.isArray=xe,R.isArrayBuffer=Gb,R.isArrayLike=Pn,R.isArrayLikeObject=Kt,R.isBoolean=qb,R.isBuffer=ll,R.isDate=Kb,R.isElement=jb,R.isEmpty=Jb,R.isEqual=Yb,R.isEqualWith=Qb,R.isError=fo,R.isFinite=Zb,R.isFunction=Ri,R.isInteger=mf,R.isLength=Ys,R.isMap=bf,R.isMatch=Xb,R.isMatchWith=$b,R.isNaN=xb,R.isNative=ev,R.isNil=nv,R.isNull=tv,R.isNumber=vf,R.isObject=Ut,R.isObjectLike=Wt,R.isPlainObject=Kr,R.isRegExp=co,R.isSafeInteger=iv,R.isSet=wf,R.isString=Qs,R.isSymbol=On,R.isTypedArray=nr,R.isUndefined=lv,R.isWeakMap=rv,R.isWeakSet=sv,R.join=u1,R.kebabCase=Qv,R.last=Qn,R.lastIndexOf=f1,R.lowerCase=Zv,R.lowerFirst=Xv,R.lt=av,R.lte=ov,R.max=K0,R.maxBy=j0,R.mean=J0,R.meanBy=Y0,R.min=Q0,R.minBy=Z0,R.stubArray=wo,R.stubFalse=So,R.stubObject=M0,R.stubString=O0,R.stubTrue=F0,R.multiply=X0,R.nth=c1,R.noConflict=I0,R.noop=vo,R.now=Ks,R.pad=$v,R.padEnd=xv,R.padStart=e0,R.parseInt=t0,R.random=qv,R.reduce=gb,R.reduceRight=_b,R.repeat=n0,R.replace=i0,R.result=Vv,R.round=$0,R.runInContext=Y,R.sample=mb,R.size=wb,R.snakeCase=l0,R.some=Sb,R.sortedIndex=b1,R.sortedIndexBy=v1,R.sortedIndexOf=w1,R.sortedLastIndex=S1,R.sortedLastIndexBy=k1,R.sortedLastIndexOf=C1,R.startCase=s0,R.startsWith=a0,R.subtract=x0,R.sum=ew,R.sumBy=tw,R.template=o0,R.times=U0,R.toFinite=Di,R.toInteger=nt,R.toLength=kf,R.toLower=u0,R.toNumber=Zn,R.toSafeInteger=uv,R.toString=wt,R.toUpper=f0,R.trim=c0,R.trimEnd=d0,R.trimStart=h0,R.truncate=g0,R.unescape=_0,R.uniqueId=H0,R.upperCase=p0,R.upperFirst=_o,R.each=of,R.eachRight=uf,R.first=lf,bo(R,function(){var a={};return hi(R,function(u,d){Nt.call(R.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),R.VERSION=n,qn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){R[a].placeholder=R}),qn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:Xt(nt(d),0);var m=this.__filtered__&&!u?new ut(this):this.clone();return m.__filtered__?m.__takeCount__=dn(d,m.__takeCount__):m.__views__.push({size:dn(d,te),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),qn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==H;ut.prototype[a]=function(P){var M=this.clone();return M.__iteratees__.push({iteratee:je(P,3),type:d}),M.__filtered__=M.__filtered__||m,M}}),qn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),qn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ut.prototype[a]=function(){return this.__filtered__?new ut(this):this[d](1)}}),ut.prototype.compact=function(){return this.filter(In)},ut.prototype.find=function(a){return this.filter(a).head()},ut.prototype.findLast=function(a){return this.reverse().find(a)},ut.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ut(this):this.map(function(d){return Br(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Js(je(a)))},ut.prototype.slice=function(a,u){a=nt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ut(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=nt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ut.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ut.prototype.toArray=function(){return this.take(te)},hi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),P=R[m?"take"+(u=="last"?"Right":""):u],M=m||/^find/.test(u);!P||(R.prototype[u]=function(){var W=this.__wrapped__,G=m?[1]:arguments,Q=W instanceof ut,ge=G[0],_e=Q||xe(W),ve=function(ot){var ft=P.apply(R,Xi([ot],G));return m&&Ee?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(Q=_e=!1);var Ee=this.__chain__,Be=!!this.__actions__.length,Ye=M&&!Ee,it=Q&&!Be;if(!M&&_e){W=it?W:new ut(this);var Qe=a.apply(W,G);return Qe.__actions__.push({func:Gs,args:[ve],thisArg:t}),new jn(Qe,Ee)}return Ye&&it?a.apply(this,G):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),qn(["pop","push","shift","sort","splice","unshift"],function(a){var u=_s[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);R.prototype[a]=function(){var P=arguments;if(m&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(W){return u.apply(xe(W)?W:[],P)})}}),hi(ut.prototype,function(a,u){var d=R[u];if(d){var m=d.name+"";Nt.call(Xl,m)||(Xl[m]=[]),Xl[m].push({name:u,func:d})}}),Xl[Os(t,C).name]=[{name:"wrapper",func:t}],ut.prototype.clone=_p,ut.prototype.reverse=pp,ut.prototype.value=mp,R.prototype.at=j1,R.prototype.chain=J1,R.prototype.commit=Y1,R.prototype.next=Q1,R.prototype.plant=X1,R.prototype.reverse=$1,R.prototype.toJSON=R.prototype.valueOf=R.prototype.value=x1,R.prototype.first=R.prototype.head,Rr&&(R.prototype[Rr]=Z1),R},Yl=Y_();Yi?((Yi.exports=Yl)._=Yl,Ji._=Yl):qt._=Yl}).call(Jr)})(Rl,Rl.exports);class Kw{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=ne.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 Dt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Dt.shouldPreventNavigation(n)||ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(e))return;const c=ie.getConfigValue("routing.useHashRouting"),g=ie.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=ie.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const b={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",b);window.dispatchEvent(v)}getWindowPath(){return ie.getConfigValue("routing.useHashRouting")?ne.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=ne.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ne.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ne.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ie.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ne.trimLeadingSlash(window.location.pathname)+window.location.search:ne.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ie.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ie.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ie.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 Dt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(g,h)=>await Dt.getChildren(g,h));if(n.isExistingRoute){const g=ne.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ne.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Dt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?ne.getPathWithoutHash(e):"",{nodeObject:g,pathData:h}=await Dt.extractDataFromPath(e),_=g.viewUrl||"";if(await this.handleViewUrlMisconfigured(g,_,o,c,t)||await this.handlePageNotFound(g,_,h,e,t,c,l))return;const p=ie.getConfigBooleanValue("settings.hideNavigation"),b=me.parseParams(c.split("?")[1]),v=me.getNodeParams(b),S=me.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,I=C;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(ne.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let D=C,L=g.hideSideNav;if(L===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){L=!0;break}if(D.hideSideNav===!1){L=!1;break}D=D.parent}const T=me.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=T;const V={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:T,pathParams:h.pathParams,hideSideNav:L||!1,isolateView:g.isolateView||!1,tabNav:N};t.set(Object.assign({},V,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(N?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Tn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Tn.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else if(O&&(O.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await Tn.navigateIframe(l,t,n);else{const z=t.get(),ae=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(z.context),nodeParams:JSON.stringify(z.nodeParams),pathParams:JSON.stringify(z.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ae),withoutSync:!0})}const F=document.querySelector(".lui-tab-header");F&&F.dispatchEvent(new Event("lui_ctx_update")),Dt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Dt.extractDataFromPath(e);d_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Bn.deleteNodesRecursively(c);break}}else r=!1}}else Bn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=Tn.getActiveIframe(r);s&&s.vg&&Tn.canCache(s.vg)?(Tn.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Tn.switchActiveIframe(Ie.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ne.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Hw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ne.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:fr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer")._luigi_node;const l=this.getGeneratedWCId(t),r=e.get();if(t===n){const o=document.querySelector(l);o.context=r.context,o.extendedContext&&(o.extendedContext.nodeParams=r.nodeParams);return}const s=this.removeLastChildFromWCContainer();!s||fr.renderWebComponent(r.viewUrl,s,r,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Rl.exports.isEqual(n._luigi_pathParams,l.pathParams))return;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>ke.checkVisibleForFeatureToggles(s))),fr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ie.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),s=l[r],o=new URL(location.href),c=ie.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,b]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(b,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(ie.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const et=new Kw;class jw{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ie.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ne.getPathWithoutHash(t):"",l=await Dt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){fr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);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(ne.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ne.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ne.computePxFromPercent(t.rightContentHeight,100-e))+ne.getShellbarHeight();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:ne.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,ne.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 jw;class Jw{luigiAfterInit(){ie.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Xr.hideAppLoadingIndicator()},0)}}const Yw=new Jw;class Qw{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=ie.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 ri=new Qw;class Zw{constructor(){return this._userInfoStore=cr({}),this._loggedInStore=cr(!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=ie.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ie.getConfigValue(`auth.${e}`),n=al.parseUrlAuthErrors()||{};if(!!await al.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ne.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),ie.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=al.getStoredAuthData();if(!t||!al.isLoggedIn()){if(ie.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await bi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ne.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ne.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(rl(this._userInfoStore))),ne.isFunction(ie.getConfigValue("auth.events.onAuthSuccessful"))&&ri.isNewlyAuthorized()&&await bi.handleAuthEvent("onAuthSuccessful",e,t),ri.removeNewlyAuthorized(),ne.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ne.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ri.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=al.getStoredAuthData(),t=async l=>{await bi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ri.removeAuthData()},n=ie.getConfigValue(`auth.${ie.getConfigValue("auth.use")}.logoutFn`);ne.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ne.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=ne.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ne.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ne.isFunction(ie.getConfigValue("auth.events.onAuthConfigError")))await bi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ne.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const tn=new Zw;class Xw{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(ne.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 Xw;class $w{getStoredAuthData(){return ri.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ne.getUrlParameter("error"),t=ne.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await bi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const al=new $w;class xw{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),b=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(b,_),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 hr=new xw;class eS{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=Rl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Rl.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 ai.isCustomLuigiContainer()?ai.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ai.getShellbar()||{}).clientHeight||0}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(ie.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=ie._remotePromises;return l||(l={counter:0,promises:[]},ie._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 ie._remotePromises?ie._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ne=new eS;class tS{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=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.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=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.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 bw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ne.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(ne.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=ie.getConfigValue("settings.customSandboxRules"),c=ie.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,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ne.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=ie.getConfigValue("settings.iframeCreationInterceptor");if(ne.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:Eo.getActiveFeatureToggleList(),currentLocale:_t.getCurrentLocale(),currentTheme:Io.getCurrentTheme()}}}const Ie=new tS;class nS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ie.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 ne.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=Eo.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(bi.isAuthorizationEnabled()){const r=al.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ie.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=ie.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let h,_;const p=g[t];ne.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 b=r[h];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),b=[],r[h]=b),b.metaInfo||(b.metaInfo=_),ne.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ne.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&h&&b.metaInfo.collapsible&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||b.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=ie.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":_t.getTranslation(n)}async generateTopNavNodes(e){const t=await Dt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(b=>{!n&&b===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const b=h.category.label||h.category;if(s[b]){if(s[b].icon||(s[b].icon=h.category.icon,s[b].altText=h.category.altText),p&&!s[b].badgeCounter)s[b].badgeCounter={label:"",count:()=>_};else if(p){const v=s[b].badgeCounter.count()+_;s[b].badgeCounter.count=()=>v}}else s[b]={isCat:!0,label:b,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[b]);s[b].children.push(h)}else o.push(h);_&&c.push(_)}for(let h=0;h<o.length;h++)o[h].isCat&&(o[h].visibleChildren=await Dt.getChildren(o[h])||[]);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}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ie.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}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||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=ie.getConfigValue("settings.burgerTooltip");if(ne.isObject(e)||e===!0){const t=e.navExpanded?_t.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?_t.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 Dt.extractDataFromPath(e);return!!await Dt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Rl.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=>{Rl.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=_t.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Tn.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ne.replaceVars(t,r,"viewGroupData.")}return t}}const ke=new nS;class iS{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 ia.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=ie.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ie.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ie.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ie.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=ie.getConfigValue("routing.useHashRouting");Ln.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),Ln.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ne.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,ie.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ie.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=ne.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ne.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=_t.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ne.replaceVars(e,t.pathParams,":",!1),e=ne.replaceVars(e,t.context,n),e=ne.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];sl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,sl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[hr.sanitizeParam(n[0])]=hr.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=>Eo.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=ie.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=ie.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 sl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=sl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ne.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&&sl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ie.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:_t.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const me=new iS;class lS{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 an=new lS;class rS{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}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 Ln=new rS;class sS{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 aS=new sS;class oS{constructor(){}processUserSettingGroups(){const e=[],t=ie.getConfigValue("userSettings.userSettingGroups"),n=ie.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ne.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 or=new oS;class uS{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 Uf=new uS;function Bf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Hf(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=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),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){E(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=le(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function fS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Hf(Bf(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){E(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=Bf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Hf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&A(e),ct(n,l),i[5](null)}}}function cS(i,e,t){const n=Bt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),c=ht("handleNavigation");Hn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:S,closeAfter:y}=b.settings,C=hr.processTextAndLinks(v,S,b.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,b.settings.id)})}),b.settings.afterInit){const N=s;b.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...b.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,b){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,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 dS extends Et{constructor(e){super(),At(this,e,cS,fS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,wi=13,vi=27,fa=32,hS=36,gS=35;function Wf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=$n(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=$n(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function zf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=ye(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(s=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function _S(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",b,v,S,y,C,N,I=i[0].buttonDismiss+"",D,L,T,V,O,F=i[0].type&&Wf(i),z=i[0].buttonConfirm!==!1&&zf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=ye(c),h=K(),_=k("div"),b=K(),v=k("footer"),S=k("div"),z&&z.c(),y=K(),C=k("div"),N=k("button"),D=ye(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",L="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",T="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(ae,fe){E(ae,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,b),w(t,v),w(v,S),z&&z.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[le(window,"keydown",i[1]),le(N,"click",i[5])],V=!0)},p(ae,[fe]){ae[0].type?F?F.p(ae,fe):(F=Wf(ae),F.c(),F.m(r,s)):F&&(F.d(1),F=null),fe&1&&c!==(c=ae[0].header+"")&&Ne(g,c),fe&1&&p!==(p=ae[0].body+"")&&(_.innerHTML=p),ae[0].buttonConfirm!==!1?z?z.p(ae,fe):(z=zf(ae),z.c(),z.m(S,y)):z&&(z.d(1),z=null),fe&1&&I!==(I=ae[0].buttonDismiss+"")&&Ne(D,I),fe&1&&L!==(L="fd-button "+(ae[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",L),fe&1&&T!==(T="fd-message-box-docs-static fd-message-box fd-message-box--"+ae[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",T)},i:Fe,o:Fe,d(ae){ae&&A(e),F&&F.d(),z&&z.d(),V=!1,Ze(O)}}}function pS(i,e,t){const n=Bt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Zr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const h={icon:r[l.type],header:_t.getTranslation("luigi.confirmationModal.header"),body:_t.getTranslation("luigi.confirmationModal.body"),buttonDismiss:_t.getTranslation("luigi.button.dismiss"),buttonConfirm:_t.getTranslation("luigi.button.confirm")};t(0,l={...l,body:hr.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 ke.renderIconClassName(h)}function o(h){h.keyCode===vi&&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 mS extends Et{constructor(e){super(),At(this,e,pS,_S,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function bS(i){let e,t,n;const l=i[5].default,r=Xg(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&e_(r,l,s,s[4],n?xg(l,s[4],o,null):t_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(U(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function vS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Bt();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="")},b=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(()=>{ie.getConfigValue("settings.backdropDisabled")||(p(),Ln.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=b(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()))}))}),Hn(()=>{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 $r extends Et{constructor(e){super(),At(this,e,vS,bS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:wS}=Fi;function Gf(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v;t=new $r({props:{disable:i[2]}});let S=i[0].title&&qf(i);return{c(){e=k("div"),Ke(t.$$.fragment),n=K(),l=k("div"),r=k("div"),S&&S.c(),s=K(),o=k("div"),c=k("div"),g=k("button"),h=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(h,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),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-k9bftu")},m(y,C){E(y,e,C),Ge(t,e,null),w(e,n),w(e,l),w(l,r),S&&S.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),w(g,h),p=!0,b||(v=le(g,"click",i[12]),b=!0)},p(y,C){const N={};C&4&&(N.disable=y[2]),t.$set(N),y[0].title?S?S.p(y,C):(S=qf(y),S.c(),S.m(r,null)):S&&(S.d(1),S=null),(!p||C&67&&_!==(_=y[0].closebtn_data_testid&&y[6]?y[0].closebtn_data_testid:"lui-modal-index-"+y[1]))&&f(g,"data-testid",_)},i(y){p||(U(t.$$.fragment,y),p=!0)},o(y){q(t.$$.fragment,y),p=!1},d(y){y&&A(e),qe(t),S&&S.d(),b=!1,v()}}}function qf(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){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Kf(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){q(n,l),e=!1},d(l){n&&n.d(l)}}}function jf(i){let e;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>
|
|
52
|
+
}`;var it=Rf(function(){return mt(M,Be+"return "+ve).apply(t,W)});if(it.source=ve,fo(it))throw it;return it}function u0(a){return wt(a).toLowerCase()}function f0(a){return wt(a).toUpperCase()}function c0(a,u,d){if(a=wt(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Fn(u)))return a;var m=ii(a),P=ii(u),M=Wo(m,P),W=zo(m,P)+1;return il(m,M,W).join("")}function d0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,qo(a)+1);if(!a||!(u=Fn(u)))return a;var m=ii(a),P=zo(m,ii(u))+1;return il(m,0,P).join("")}function h0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(yi,"");if(!a||!(u=Fn(u)))return a;var m=ii(a),P=Wo(m,ii(u));return il(m,P).join("")}function g0(a,u){var d=z,m=ae;if(Bt(u)){var P="separator"in u?u.separator:P;d="length"in u?nt(u.length):d,m="omission"in u?Fn(u.omission):m}a=wt(a);var M=a.length;if(jl(a)){var W=ii(a);M=W.length}if(d>=M)return a;var G=d-Jl(m);if(G<1)return m;var Q=W?il(W,0,G).join(""):a.slice(0,G);if(P===t)return Q+m;if(W&&(G+=Q.length-G),co(P)){if(a.slice(G).search(P)){var ge,_e=Q;for(P.global||(P=Ia(P.source,wt(zi.exec(P))+"g")),P.lastIndex=0;ge=P.exec(_e);)var ve=ge.index;Q=Q.slice(0,ve===t?G:ve)}}else if(a.indexOf(Fn(P),G)!=G){var Ee=Q.lastIndexOf(P);Ee>-1&&(Q=Q.slice(0,Ee))}return Q+m}function _0(a){return a=wt(a),a&&Vl.test(a)?a.replace(qn,q_):a}var p0=er(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),_o=Ru("toUpperCase");function Ef(a,u,d){return a=wt(a),u=d?t:u,u===t?B_(a)?J_(a):A_(a):a.match(u)||[]}var Rf=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return fo(d)?d:new Xe(d)}}),m0=Ai(function(a,u){return jn(u,function(d){d=pi(d),Ti(a,d,oo(a[d],a))}),a});function b0(a){var u=a==null?0:a.length,d=je();return a=u?Ft(a,function(m){if(typeof m[1]!="function")throw new Jn(s);return[d(m[0]),m[1]]}):[],rt(function(m){for(var P=-1;++P<u;){var M=a[P];if(Mn(M[0],this,m))return Mn(M[1],this,m)}})}function v0(a){return qp(Qn(a,_))}function po(a){return function(){return a}}function w0(a,u){return a==null||a!==a?u:a}var S0=Vu(),k0=Vu(!0);function Tn(a){return a}function mo(a){return fu(typeof a=="function"?a:Qn(a,_))}function C0(a){return du(Qn(a,_))}function y0(a,u){return hu(a,Qn(u,_))}var P0=rt(function(a,u){return function(d){return Br(d,a,u)}}),N0=rt(function(a,u){return function(d){return Br(a,d,u)}});function bo(a,u,d){var m=tn(u),P=Es(u,m);d==null&&!(Bt(u)&&(P.length||!m.length))&&(d=u,u=a,a=this,P=Es(u,tn(u)));var M=!(Bt(d)&&"chain"in d)||!!d.chain,W=Ri(a);return jn(P,function(G){var Q=u[G];a[G]=Q,W&&(a.prototype[G]=function(){var ge=this.__chain__;if(M||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=Pn(this.__actions__);return ve.push({func:Q,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return Q.apply(a,Xi([this.value()],arguments))})}),a}function I0(){return qt._===this&&(qt._=x_),this}function vo(){}function T0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var L0=Qa(Ft),A0=Qa(Mo),E0=Qa(wa);function Df(a){return no(a)?Sa(pi(a)):am(a)}function R0(a){return function(u){return a==null?t:Pl(a,u)}}var D0=Ou(),V0=Ou(!0);function wo(){return[]}function So(){return!1}function M0(){return{}}function O0(){return""}function F0(){return!0}function U0(a,u){if(a=nt(a),a<1||a>$)return[];var d=te,m=hn(a,te);u=je(u),a-=te;for(var P=ya(m,u);++d<a;)u(d);return P}function B0(a){return xe(a)?Ft(a,pi):Un(a)?[a]:Pn($u(wt(a)))}function H0(a){var u=++X_;return wt(a)+u}var W0=Fs(function(a,u){return a+u},0),z0=Za("ceil"),G0=Fs(function(a,u){return a/u},1),q0=Za("floor");function K0(a){return a&&a.length?As(a,Tn,Ma):t}function j0(a,u){return a&&a.length?As(a,je(u,2),Ma):t}function J0(a){return Uo(a,Tn)}function Y0(a,u){return Uo(a,je(u,2))}function Q0(a){return a&&a.length?As(a,Tn,Ba):t}function Z0(a,u){return a&&a.length?As(a,je(u,2),Ba):t}var X0=Fs(function(a,u){return a*u},1),$0=Za("round"),x0=Fs(function(a,u){return a-u},0);function ew(a){return a&&a.length?Ca(a,Tn):0}function tw(a,u){return a&&a.length?Ca(a,je(u,2)):0}return R.after=Cb,R.ary=ff,R.assign=fv,R.assignIn=yf,R.assignInWith=Zs,R.assignWith=cv,R.at=dv,R.before=cf,R.bind=oo,R.bindAll=m0,R.bindKey=df,R.castArray=Mb,R.chain=af,R.chunk=qm,R.compact=Km,R.concat=jm,R.cond=b0,R.conforms=v0,R.constant=po,R.countBy=eb,R.create=hv,R.curry=hf,R.curryRight=gf,R.debounce=_f,R.defaults=gv,R.defaultsDeep=_v,R.defer=yb,R.delay=Pb,R.difference=Jm,R.differenceBy=Ym,R.differenceWith=Qm,R.drop=Zm,R.dropRight=Xm,R.dropRightWhile=$m,R.dropWhile=xm,R.fill=e1,R.filter=nb,R.flatMap=rb,R.flatMapDeep=sb,R.flatMapDepth=ab,R.flatten=nf,R.flattenDeep=t1,R.flattenDepth=n1,R.flip=Nb,R.flow=S0,R.flowRight=k0,R.fromPairs=i1,R.functions=kv,R.functionsIn=Cv,R.groupBy=ob,R.initial=r1,R.intersection=s1,R.intersectionBy=a1,R.intersectionWith=o1,R.invert=Pv,R.invertBy=Nv,R.invokeMap=fb,R.iteratee=mo,R.keyBy=cb,R.keys=tn,R.keysIn=In,R.map=qs,R.mapKeys=Tv,R.mapValues=Lv,R.matches=C0,R.matchesProperty=y0,R.memoize=js,R.merge=Av,R.mergeWith=Pf,R.method=P0,R.methodOf=N0,R.mixin=bo,R.negate=Js,R.nthArg=T0,R.omit=Ev,R.omitBy=Rv,R.once=Ib,R.orderBy=db,R.over=L0,R.overArgs=Tb,R.overEvery=A0,R.overSome=E0,R.partial=uo,R.partialRight=pf,R.partition=hb,R.pick=Dv,R.pickBy=Nf,R.property=Df,R.propertyOf=R0,R.pull=d1,R.pullAll=rf,R.pullAllBy=h1,R.pullAllWith=g1,R.pullAt=_1,R.range=D0,R.rangeRight=V0,R.rearg=Lb,R.reject=pb,R.remove=p1,R.rest=Ab,R.reverse=so,R.sampleSize=bb,R.set=Mv,R.setWith=Ov,R.shuffle=vb,R.slice=m1,R.sortBy=kb,R.sortedUniq=y1,R.sortedUniqBy=P1,R.split=r0,R.spread=Eb,R.tail=N1,R.take=I1,R.takeRight=T1,R.takeRightWhile=L1,R.takeWhile=A1,R.tap=K1,R.throttle=Rb,R.thru=Gs,R.toArray=Sf,R.toPairs=If,R.toPairsIn=Tf,R.toPath=B0,R.toPlainObject=Cf,R.transform=Fv,R.unary=Db,R.union=E1,R.unionBy=R1,R.unionWith=D1,R.uniq=V1,R.uniqBy=M1,R.uniqWith=O1,R.unset=Uv,R.unzip=ao,R.unzipWith=sf,R.update=Bv,R.updateWith=Hv,R.values=ir,R.valuesIn=Wv,R.without=F1,R.words=Ef,R.wrap=Vb,R.xor=U1,R.xorBy=B1,R.xorWith=H1,R.zip=W1,R.zipObject=z1,R.zipObjectDeep=G1,R.zipWith=q1,R.entries=If,R.entriesIn=Tf,R.extend=yf,R.extendWith=Zs,bo(R,R),R.add=W0,R.attempt=Rf,R.camelCase=Kv,R.capitalize=Lf,R.ceil=z0,R.clamp=zv,R.clone=Ob,R.cloneDeep=Ub,R.cloneDeepWith=Bb,R.cloneWith=Fb,R.conformsTo=Hb,R.deburr=Af,R.defaultTo=w0,R.divide=G0,R.endsWith=jv,R.eq=ri,R.escape=Jv,R.escapeRegExp=Yv,R.every=tb,R.find=ib,R.findIndex=ef,R.findKey=pv,R.findLast=lb,R.findLastIndex=tf,R.findLastKey=mv,R.floor=q0,R.forEach=of,R.forEachRight=uf,R.forIn=bv,R.forInRight=vv,R.forOwn=wv,R.forOwnRight=Sv,R.get=ho,R.gt=Wb,R.gte=zb,R.has=yv,R.hasIn=go,R.head=lf,R.identity=Tn,R.includes=ub,R.indexOf=l1,R.inRange=Gv,R.invoke=Iv,R.isArguments=Tl,R.isArray=xe,R.isArrayBuffer=Gb,R.isArrayLike=Nn,R.isArrayLikeObject=Kt,R.isBoolean=qb,R.isBuffer=ll,R.isDate=Kb,R.isElement=jb,R.isEmpty=Jb,R.isEqual=Yb,R.isEqualWith=Qb,R.isError=fo,R.isFinite=Zb,R.isFunction=Ri,R.isInteger=mf,R.isLength=Ys,R.isMap=bf,R.isMatch=Xb,R.isMatchWith=$b,R.isNaN=xb,R.isNative=ev,R.isNil=nv,R.isNull=tv,R.isNumber=vf,R.isObject=Bt,R.isObjectLike=zt,R.isPlainObject=Kr,R.isRegExp=co,R.isSafeInteger=iv,R.isSet=wf,R.isString=Qs,R.isSymbol=Un,R.isTypedArray=nr,R.isUndefined=lv,R.isWeakMap=rv,R.isWeakSet=sv,R.join=u1,R.kebabCase=Qv,R.last=Xn,R.lastIndexOf=f1,R.lowerCase=Zv,R.lowerFirst=Xv,R.lt=av,R.lte=ov,R.max=K0,R.maxBy=j0,R.mean=J0,R.meanBy=Y0,R.min=Q0,R.minBy=Z0,R.stubArray=wo,R.stubFalse=So,R.stubObject=M0,R.stubString=O0,R.stubTrue=F0,R.multiply=X0,R.nth=c1,R.noConflict=I0,R.noop=vo,R.now=Ks,R.pad=$v,R.padEnd=xv,R.padStart=e0,R.parseInt=t0,R.random=qv,R.reduce=gb,R.reduceRight=_b,R.repeat=n0,R.replace=i0,R.result=Vv,R.round=$0,R.runInContext=Y,R.sample=mb,R.size=wb,R.snakeCase=l0,R.some=Sb,R.sortedIndex=b1,R.sortedIndexBy=v1,R.sortedIndexOf=w1,R.sortedLastIndex=S1,R.sortedLastIndexBy=k1,R.sortedLastIndexOf=C1,R.startCase=s0,R.startsWith=a0,R.subtract=x0,R.sum=ew,R.sumBy=tw,R.template=o0,R.times=U0,R.toFinite=Di,R.toInteger=nt,R.toLength=kf,R.toLower=u0,R.toNumber=$n,R.toSafeInteger=uv,R.toString=wt,R.toUpper=f0,R.trim=c0,R.trimEnd=d0,R.trimStart=h0,R.truncate=g0,R.unescape=_0,R.uniqueId=H0,R.upperCase=p0,R.upperFirst=_o,R.each=of,R.eachRight=uf,R.first=lf,bo(R,function(){var a={};return gi(R,function(u,d){Pt.call(R.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),R.VERSION=n,jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){R[a].placeholder=R}),jn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:Xt(nt(d),0);var m=this.__filtered__&&!u?new ut(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,te),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),jn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==H;ut.prototype[a]=function(P){var M=this.clone();return M.__iteratees__.push({iteratee:je(P,3),type:d}),M.__filtered__=M.__filtered__||m,M}}),jn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),jn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ut.prototype[a]=function(){return this.__filtered__?new ut(this):this[d](1)}}),ut.prototype.compact=function(){return this.filter(Tn)},ut.prototype.find=function(a){return this.filter(a).head()},ut.prototype.findLast=function(a){return this.reverse().find(a)},ut.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ut(this):this.map(function(d){return Br(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Js(je(a)))},ut.prototype.slice=function(a,u){a=nt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ut(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=nt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ut.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ut.prototype.toArray=function(){return this.take(te)},gi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),P=R[m?"take"+(u=="last"?"Right":""):u],M=m||/^find/.test(u);!P||(R.prototype[u]=function(){var W=this.__wrapped__,G=m?[1]:arguments,Q=W instanceof ut,ge=G[0],_e=Q||xe(W),ve=function(ot){var ft=P.apply(R,Xi([ot],G));return m&&Ee?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(Q=_e=!1);var Ee=this.__chain__,Be=!!this.__actions__.length,Ye=M&&!Ee,it=Q&&!Be;if(!M&&_e){W=it?W:new ut(this);var Qe=a.apply(W,G);return Qe.__actions__.push({func:Gs,args:[ve],thisArg:t}),new Yn(Qe,Ee)}return Ye&&it?a.apply(this,G):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),jn(["pop","push","shift","sort","splice","unshift"],function(a){var u=_s[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);R.prototype[a]=function(){var P=arguments;if(m&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(W){return u.apply(xe(W)?W:[],P)})}}),gi(ut.prototype,function(a,u){var d=R[u];if(d){var m=d.name+"";Pt.call(Xl,m)||(Xl[m]=[]),Xl[m].push({name:u,func:d})}}),Xl[Os(t,C).name]=[{name:"wrapper",func:t}],ut.prototype.clone=_p,ut.prototype.reverse=pp,ut.prototype.value=mp,R.prototype.at=j1,R.prototype.chain=J1,R.prototype.commit=Y1,R.prototype.next=Q1,R.prototype.plant=X1,R.prototype.reverse=$1,R.prototype.toJSON=R.prototype.valueOf=R.prototype.value=x1,R.prototype.first=R.prototype.head,Rr&&(R.prototype[Rr]=Z1),R},Yl=Y_();Yi?((Yi.exports=Yl)._=Yl,Ji._=Yl):qt._=Yl}).call(Jr)})(Rl,Rl.exports);class Kw{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=ne.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)||ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(e))return;const c=ie.getConfigValue("routing.useHashRouting"),g=ie.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,c&&(h.hash=e);const _=l?"pushState":"replaceState",p=ie.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?h.hash:e},"",c?h.hash:e);const b={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",b);window.dispatchEvent(v)}getWindowPath(){return ie.getConfigValue("routing.useHashRouting")?ne.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=ne.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ne.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ne.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ie.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ne.trimLeadingSlash(window.location.pathname)+window.location.search:ne.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ie.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ie.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ie.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(ie.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=ne.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ne.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Vt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){if(e.external){this.navigateToExternalLink({url:e.url,sameWindow:!e.openInNewTab});return}if(this.setFeatureToggle(e),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(e,t,n,l);return}await this.shouldShowModalPathInUrl();const o=t.get();this.checkInvalidateCache(o,e);const c=e&&e.length?ne.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=ie.getConfigBooleanValue("settings.hideNavigation"),b=me.parseParams(c.split("?")[1]),v=me.getNodeParams(b),S=me.findViewGroup(g),y=decodeURIComponent(c.split("?")[1]||""),C=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,I=C;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(ne.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=I.parent}let D=C,L=g.hideSideNav;if(L===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){L=!0;break}if(D.hideSideNav===!1){L=!1;break}D=D.parent}const T=me.substituteDynamicParamsInObject(Object.assign({},h.context,C.context),h.pathParams);h.navigationPath._context=T;const V={hideNav:p,viewUrl:_,nodeParams:v,viewGroup:S,urlParamsRaw:y,currentNode:C,navigationPath:h.navigationPath,context:T,pathParams:h.pathParams,hideSideNav:L||!1,isolateView:g.isolateView||!1,tabNav:N};t.set(Object.assign({},V,{previousNodeValues:o?{viewUrl:o.viewUrl,isolateView:o.isolateView,viewGroup:o.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(N?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),g.compound)Ln.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,g);else if(g.webcomponent)Ln.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,g);else if(O&&(O.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await Ln.navigateIframe(l,t,n);else{const z=t.get(),ae=await t.prepareInternalData(l);Ie.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:_,context:JSON.stringify(z.context),nodeParams:JSON.stringify(z.nodeParams),pathParams:JSON.stringify(z.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ae),withoutSync:!0})}const F=document.querySelector(".lui-tab-header");F&&F.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(o.currentNode,C)}catch(o){console.info("Could not handle route change",o)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);d_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Wn.deleteNodesRecursively(c);break}}else r=!1}}else Wn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(n)){const r=Ie.getIframeContainer(),s=Ln.getActiveIframe(r);s&&s.vg&&Ln.canCache(s.vg)?(Ln.switchActiveIframe(Ie.getIframeContainer(),void 0,!1),setTimeout(()=>{Ln.switchActiveIframe(Ie.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Ie.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ne.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Hw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ne.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:fr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer")._luigi_node;const l=this.getGeneratedWCId(t),r=e.get();if(t===n){const o=document.querySelector(l);o.context=r.context,o.extendedContext&&(o.extendedContext.nodeParams=r.nodeParams);return}const s=this.removeLastChildFromWCContainer();!s||fr.renderWebComponent(r.viewUrl,s,r,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Rl.exports.isEqual(n._luigi_pathParams,l.pathParams))return;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>ke.checkVisibleForFeatureToggles(s))),fr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ie.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),s=l[r],o=new URL(location.href),c=ie.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(c){let[p,b]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(b,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(ie.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const et=new Kw;class jw{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ie.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ne.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){fr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);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(ne.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ne.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ne.computePxFromPercent(t.rightContentHeight,100-e))+ne.getShellbarHeight();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:ne.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,ne.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 jw;class Jw{luigiAfterInit(){ie.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Xr.hideAppLoadingIndicator()},0)}}const Yw=new Jw;class Qw{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=ie.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 ai=new Qw;class Zw{constructor(){return this._userInfoStore=cr({}),this._loggedInStore=cr(!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=ie.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ie.getConfigValue(`auth.${e}`),n=al.parseUrlAuthErrors()||{};if(!!await al.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ne.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),ie.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=al.getStoredAuthData();if(!t||!al.isLoggedIn()){if(ie.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await vi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ne.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ne.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(rl(this._userInfoStore))),ne.isFunction(ie.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await vi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),ne.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ne.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=al.getStoredAuthData(),t=async l=>{await vi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=ie.getConfigValue(`auth.${ie.getConfigValue("auth.use")}.logoutFn`);ne.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ne.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=ne.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ne.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ne.isFunction(ie.getConfigValue("auth.events.onAuthConfigError")))await vi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ne.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new Zw;class Xw{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(ne.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 Xw;class $w{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ne.getUrlParameter("error"),t=ne.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await vi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const al=new $w;class xw{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),b=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(b,_),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 hr=new xw;class eS{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=Rl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Rl.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 ui.isCustomLuigiContainer()?ui.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ui.getShellbar()||{}).clientHeight||0}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(ie.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=ie._remotePromises;return l||(l={counter:0,promises:[]},ie._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 ie._remotePromises?ie._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ne=new eS;class tS{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=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.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=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.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 bw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ne.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(ne.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=ie.getConfigValue("settings.customSandboxRules"),c=ie.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,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ne.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=ie.getConfigValue("settings.iframeCreationInterceptor");if(ne.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:Eo.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:Io.getCurrentTheme()}}}const Ie=new tS;class nS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ie.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 ne.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=Eo.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(vi.isAuthorizationEnabled()){const r=al.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ie.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=ie.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let h,_;const p=g[t];ne.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 b=r[h];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),b=[],r[h]=b),b.metaInfo||(b.metaInfo=_),ne.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ne.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&h&&b.metaInfo.collapsible&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||b.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=ie.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.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(b=>{!n&&b===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const b=h.category.label||h.category;if(s[b]){if(s[b].icon||(s[b].icon=h.category.icon,s[b].altText=h.category.altText),p&&!s[b].badgeCounter)s[b].badgeCounter={label:"",count:()=>_};else if(p){const v=s[b].badgeCounter.count()+_;s[b].badgeCounter.count=()=>v}}else s[b]={isCat:!0,label:b,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[b]);s[b].children.push(h)}else o.push(h);_&&c.push(_)}for(let h=0;h<o.length;h++)o[h].isCat&&(o[h].visibleChildren=await Vt.getChildren(o[h])||[]);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}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ie.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}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||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=ie.getConfigValue("settings.burgerTooltip");if(ne.isObject(e)||e===!0){const t=e.navExpanded?pt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?pt.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:Rl.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=>{Rl.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=pt.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Ln.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ne.replaceVars(t,r,"viewGroupData.")}return t}}const ke=new nS;class iS{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 ia.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=ie.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ie.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ie.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ie.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=ie.getConfigValue("routing.useHashRouting");An.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),An.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ne.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,ie.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ie.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=ne.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ne.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=pt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ne.replaceVars(e,t.pathParams,":",!1),e=ne.replaceVars(e,t.context,n),e=ne.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];sl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,sl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[hr.sanitizeParam(n[0])]=hr.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=>Eo.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=ie.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=ie.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 sl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=sl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ne.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&&sl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ie.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:pt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const me=new iS;class lS{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 on=new lS;class rS{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}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 An=new rS;class sS{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 aS=new sS;class oS{constructor(){}processUserSettingGroups(){const e=[],t=ie.getConfigValue("userSettings.userSettingGroups"),n=ie.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ne.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 or=new oS;class uS{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 Uf=new uS;function Bf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Hf(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=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),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){E(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=le(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function fS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Hf(Bf(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){E(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=Bf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Hf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&A(e),ct(n,l),i[5](null)}}}function cS(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),c=ht("handleNavigation");zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:S,closeAfter:y}=b.settings,C=hr.processTextAndLinks(v,S,b.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,b.settings.id)})}),b.settings.afterInit){const N=s;b.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...b.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,b){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,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 dS extends Et{constructor(e){super(),At(this,e,cS,fS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,Si=13,wi=27,fa=32,hS=36,gS=35;function Wf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function zf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=ye(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(s=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function _S(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",b,v,S,y,C,N,I=i[0].buttonDismiss+"",D,L,T,V,O,F=i[0].type&&Wf(i),z=i[0].buttonConfirm!==!1&&zf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=ye(c),h=K(),_=k("div"),b=K(),v=k("footer"),S=k("div"),z&&z.c(),y=K(),C=k("div"),N=k("button"),D=ye(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",L="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",T="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(ae,fe){E(ae,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,b),w(t,v),w(v,S),z&&z.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[le(window,"keydown",i[1]),le(N,"click",i[5])],V=!0)},p(ae,[fe]){ae[0].type?F?F.p(ae,fe):(F=Wf(ae),F.c(),F.m(r,s)):F&&(F.d(1),F=null),fe&1&&c!==(c=ae[0].header+"")&&Ne(g,c),fe&1&&p!==(p=ae[0].body+"")&&(_.innerHTML=p),ae[0].buttonConfirm!==!1?z?z.p(ae,fe):(z=zf(ae),z.c(),z.m(S,y)):z&&(z.d(1),z=null),fe&1&&I!==(I=ae[0].buttonDismiss+"")&&Ne(D,I),fe&1&&L!==(L="fd-button "+(ae[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",L),fe&1&&T!==(T="fd-message-box-docs-static fd-message-box fd-message-box--"+ae[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",T)},i:Fe,o:Fe,d(ae){ae&&A(e),F&&F.d(),z&&z.d(),V=!1,Ze(O)}}}function pS(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Zr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const h={icon:r[l.type],header:pt.getTranslation("luigi.confirmationModal.header"),body:pt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:hr.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 ke.renderIconClassName(h)}function o(h){h.keyCode===wi&&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 mS extends Et{constructor(e){super(),At(this,e,pS,_S,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function bS(i){let e,t,n;const l=i[5].default,r=Xg(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&e_(r,l,s,s[4],n?xg(l,s[4],o,null):t_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(U(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&A(e),r&&r.d(s)}}}function vS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},b=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(()=>{ie.getConfigValue("settings.backdropDisabled")||(p(),An.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=b(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()))}))}),zn(()=>{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 $r extends Et{constructor(e){super(),At(this,e,vS,bS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:wS}=Fi;function Gf(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v;t=new $r({props:{disable:i[2]}});let S=i[0].title&&qf(i);return{c(){e=k("div"),Ke(t.$$.fragment),n=K(),l=k("div"),r=k("div"),S&&S.c(),s=K(),o=k("div"),c=k("div"),g=k("button"),h=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(h,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),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-k9bftu")},m(y,C){E(y,e,C),Ge(t,e,null),w(e,n),w(e,l),w(l,r),S&&S.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),w(g,h),p=!0,b||(v=le(g,"click",i[12]),b=!0)},p(y,C){const N={};C&4&&(N.disable=y[2]),t.$set(N),y[0].title?S?S.p(y,C):(S=qf(y),S.c(),S.m(r,null)):S&&(S.d(1),S=null),(!p||C&67&&_!==(_=y[0].closebtn_data_testid&&y[6]?y[0].closebtn_data_testid:"lui-modal-index-"+y[1]))&&f(g,"data-testid",_)},i(y){p||(U(t.$$.fragment,y),p=!0)},o(y){q(t.$$.fragment,y),p=!1},d(y){y&&A(e),qe(t),S&&S.d(),b=!1,v()}}}function qf(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){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Kf(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){q(n,l),e=!1},d(l){n&&n.d(l)}}}function jf(i){let e;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>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function SS(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),N=i[5]&&Kf(i),I=i[4]&&jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),N&&N.c(),r=K(),s=k("div"),g=K(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),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-k9bftu"),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=$n(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(D,L){E(D,e,L),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=le(wS,"keydown",i[3]),S=!0)},p(D,[L]){D[6]||D[5]&&D[0].header?C?(C.p(D,L),L&97&&U(C,1)):(C=Gf(D),C.c(),U(C,1),C.m(t,n)):C&&(Le(),q(C,1,1,()=>{C=null}),Ae()),D[5]?N?(N.p(D,L),L&32&&U(N,1)):(N=Kf(D),N.c(),U(N,1),N.m(l,r)):N&&(Le(),q(N,1,1,()=>{N=null}),Ae()),(!v||L&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(s,"class",o),(!v||L&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I||(I=jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||L&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-k9bftu"))&&f(t,"class",h),(!v||L&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||L&97&&p!==(p=$n(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!v||L&64&&b!==(b=D[6]?"z-index:1001":""))&&f(e,"style",b)},i(D){v||(U(C),U(N),v=!0)},o(D){q(C),q(N),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function kS(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=Bt();let _,p,b,v=!1,S=!1,y=!1,C=!1,N=!1,I=!0,D,L=ht("store");const T=H=>ke.getNodeLabel(H),V=async H=>{const oe=H&&H.length?ne.getPathWithoutHash(H):"",$=me.parseParams(oe.split("?")[1]);b=me.getNodeParams($);const J=await Dt.extractDataFromPath(H);_=J.nodeObject,t(5,N=r.isDrawer||typeof _.drawer=="object"),D=N?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),N?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=T(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=T(_),r),t(0,r._liveLabel=!0,r)),p=J.pathData,t(8,s=!0)},O=async H=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),N?await ae():await F(),fr.renderWebComponent(_.viewUrl,document.querySelector(D),{context:p.context},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(D),modalWCData:{...p,nodeParams:b}}),S=!0;else{const oe=await z(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:oe,modalIframeData:{...p,nodeParams:b}}),v=!0}else await V(H)},F=async()=>{let H,oe;const $=document.querySelector(".lui-modal-index-"+c),{size:J,width:Ce,height:te}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if($.classList.remove("lui-modal-fullscreen"),Ce&&Ce.match(Ue)&&te&&te.match(Ue))H=te,oe=Ce;else switch(J){case"fullscreen":H="100vh",oe="100vw",$.classList.add("lui-modal-fullscreen");break;case"m":H="80%",oe="60%";break;case"s":H="80%",oe="40%";break;default:H="80%",oe="80%"}$.setAttribute("style",`width:${oe};height:${H};`)},z=async(H,oe)=>{N?await ae():await F(),H&&(H=me.substituteViewUrl(H,oe));const $=await Ie.createIframe(H,void 0,_,"modal",oe);return document.querySelector(D).appendChild($),$};async function ae(H){let oe="";const $=document.getElementsByClassName("drawer"),J=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?oe="width:75%;":r.size==="m"?oe="width:50%;":r.size==="s"?oe="width:25%;":r.size==="xs"&&(oe="width:15.5%;")),r.backdrop?$[0].setAttribute("style",oe):(J[0].setAttribute("style",oe),$[0].setAttribute("style","width:100%"))}ua(()=>{O(o)});const fe=async H=>{H.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),H.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),H.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),H.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),H.data.msg==="luigi.navigation.updateModalSettings"&&((H.data.updatedModalSettings.title||H.data.updatedModalSettings.title==="")&&t(0,r.title=H.data.updatedModalSettings.title,r),H.data.updatedModalSettings.size&&(t(0,r.size=H.data.updatedModalSettings.size,r),await F()),ie.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(o,{title:r.title,size:r.size},H.data.addHistoryEntry))};Jt(()=>{an.doOnStoreChange(L,()=>{r._liveLabel&&_&&t(0,r.title=T(_),r)},["navigation.viewgroupdata"]),Ln.addEventListener("message",fe),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var H;!C&&!_.webcomponent&&((H=_.loadingIndicator)==null?void 0:H.enabled)!==!1&&t(4,y=!0)},250)}),Zr(()=>{Ln.removeEventListener("message",fe),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function X(H){H.keyCode===vi&&h("close")}function pe(){let H;I?H=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):H=document.querySelector(".drawer .spinnerContainer"),H&&H.classList.contains("fade-out")&&(H.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ee=()=>h("close",{activeDrawer:!1});return i.$$set=H=>{"settings"in H&&t(0,r=H.settings),"isDataPrepared"in H&&t(8,s=H.isDataPrepared),"nodepath"in H&&t(9,o=H.nodepath),"modalIndex"in H&&t(1,c=H.modalIndex),"disableBackdrop"in H&&t(2,g=H.disableBackdrop),"$$scope"in H&&t(10,l=H.$$scope)},[r,c,g,X,y,N,I,h,s,o,l,n,ee]}class g_ extends Et{constructor(e){super(),At(this,e,kS,SS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Jf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Yf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i){let e,t=i[1][1].settings&&Xf(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=Xf(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Xf(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=sc(Jf(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){E(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=Jf(r,n,o);l[o]?l[o].p(c,s):(l[o]=sc(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),ct(l,r)}}}function $f(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?yS:CS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),E(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 CS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){E(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ne(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function yS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){E(o,e,c),Of(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&A(e),l=!1,r()}}}function xf(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,b,v=Array.isArray(i[29].options),S,y;function C(...D){return i[19](i[28],i[31],i[29],...D)}function N(){return i[20](i[29])}let I=v&&ec(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=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=K(),b=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(b,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,L){E(D,e,L),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,b),I&&I.m(b,null),S||(y=[le(r,"keydown",C),le(n,"click",Ft(N))],S=!0)},p(D,L){i=D,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ne(c,o),L[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),L[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,L):(I=ec(i),I.c(),I.m(b,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Ze(y)}}}function ec(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=tc(Qf(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=Qf(l,t,s);n[s]?n[s].p(o,r):(n[s]=tc(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),ct(n,l)}}}function tc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=ye(n),r=K(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),mi(e,"is-selected",i[4]===i[34]),mi(e,"is-focus",i[4]===i[34])},m(g,h){E(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[le(e,"click",c),le(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ne(l,n),h[0]&16&&mi(e,"is-selected",i[4]===i[34]),h[0]&16&&mi(e,"is-focus",i[4]===i[34])},d(g){g&&A(e),s=!1,Ze(o)}}}function nc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=ic(Yf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=Yf(s,l,c);r[c]?r[c].p(g,o):(r[c]=ic(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ct(r,s)}}}function ic(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=ye(t),l=K(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){E(p,e,b),w(e,n),w(e,l),g||(h=le(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Ne(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function lc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,b){E(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=le(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function rc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){E(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&A(e),n=!1,l()}}}function sc(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&$f(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&xf(i),C=_&&nc(i),N=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&lc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&rc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=ye(l),s=ye(":"),o=K(),c=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),N&&N.c(),b=K(),I&&I.c(),v=K(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,L){E(D,e,L),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,b),I&&I.m(c,null),w(e,v)},p(D,L){L[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ne(r,l),D[29].type==="string"?S?S.p(D,L):(S=$f(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?y?y.p(D,L):(y=xf(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),L[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?C?C.p(D,L):(C=nc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?N?N.p(D,L):(N=lc(D),N.c(),N.m(c,b)):N&&(N.d(1),N=null),D[29].type==="boolean"&&D[29].style==="checkbox"?I?I.p(D,L):(I=rc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function PS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Zf(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Zf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&A(e),l&&l.d(),t=!1,Ze(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function NS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Bt();let c=ht("getTranslation");Si(i,c,ee=>t(5,n=ee));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ee){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(H=>{S(H,!1)})}function v(ee,H){let oe=ta(ee.target,".fd-popover__control",20),$=oe.getAttribute("aria-expanded")==="true";(H||H===void 0)&&(b(),S(oe,!$))}function S(ee,H){const oe=ee.querySelector(".lui-activate-language-dropdown"),$=ee.parentNode.querySelector(".fd-popover__body"),J=ee.parentNode.querySelector(".fd-select__control");ee.setAttribute("aria-expanded",H),$.setAttribute("aria-hidden",!H),J.setAttribute("aria-expanded",H),oe.setAttribute("aria-expanded",H),t(14,h=H)}function y(ee,H,oe){t(4,g=oe),t(0,s[l[0]][ee]=H.value||H,s)}function C(ee,H){document.querySelectorAll(".enum-buttons-container-"+ee+" button").forEach(oe=>{const $=oe.getAttribute("id"),J=`lui-us-enum_button_${ee}_option`;$===J?oe.classList.add("fd-button--emphasized"):oe.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ee]=H.value||H,s)}function N(ee,H){let oe;if(Array.isArray(H)){for(let $=0;$<H.length;$++)if(ne.isObject(H[$])){if(H[$].value&&H[$].value===ee){oe=H[$].label,t(4,g=$);break}}else{oe=ee,t(4,g=H.indexOf(ee));break}return n(oe)}}function I(ee){return n(ne.isObject(ee)?ee.label:ee)}function D(ee,H,oe){return ne.isObject(oe)?`${ee}_${H}_${oe.value}`:`${ee}_${H}_${oe}`}function L(ee,H,oe,$){let J=ta(ee.target,".lui-anchor-node",20);const Ce=document.getElementById(`fd-form-input-dropdown-${oe}`).children;let te=-1;if([...Ce].forEach((Ue,Pe)=>{Ue.classList.contains("is-focus")&&(te=Pe)}),h){if(ee.keyCode===El&&ee.altKey&&(J.click(),J.focus()),ee.keyCode===Oi&&!ee.altKey){if(te===-1){te=0,Ce.item(te).classList.add("is-focus");return}te<$.options.length-1&&(Ce.item(te).classList.remove("is-focus"),te+=1,Ce.item(te).classList.add("is-focus"))}if(ee.keyCode===El&&!ee.altKey){if(te===-1){te=te.length-1,Ce.item(te).classList.add("is-focus");return}te>0&&te<$.options.length&&(Ce.item(te).classList.remove("is-focus"),te-=1,Ce.item(te).classList.add("is-focus"))}ee.keyCode===wi&&y(H,$.options[te],te)}else J.focus(),ee.keyCode===Oi&&ee.altKey&&J.click(),ee.keyCode===Oi&&!ee.altKey&&te<$.options.length-1&&y(H,$.options[te+1],te+1),ee.keyCode===El&&!ee.altKey&&te>0&&te<$.options.length&&y(H,$.options[te-1],te-1)}function T(ee){if(h){let H=ta(ee.target,".fd-popover",20);H.blur(),(ee.keyCode===fa||ee.keyCode===wi)&&(ee.target.click(),b(),setTimeout(()=>{H.focus()},0))}}N();function V(ee){s[l[0]][ee]=this.value,t(0,s)}const O=(ee,H,oe,$)=>L($,ee,H,oe),F=ee=>v(event,ee.isEditable),z=(ee,H,oe)=>y(ee,H,oe),ae=ee=>T(ee),fe=(ee,H)=>C(ee,H);function X(ee){s[l[0]][ee]=this.checked,t(0,s)}function pe(ee){s[l[0]][ee]=this.checked,t(0,s)}return i.$$set=ee=>{"userSettingGroup"in ee&&t(1,l=ee.userSettingGroup),"userSettingsGroupKey"in ee&&t(15,r=ee.userSettingsGroupKey),"storedUserSettingData"in ee&&t(0,s=ee.storedUserSettingData),"isComboOpen"in ee&&t(14,h=ee.isComboOpen)},[s,l,L,T,g,n,c,b,v,y,C,N,I,D,h,r,_,p,V,O,F,z,ae,fe,X,pe]}class IS extends Et{constructor(e){super(),At(this,e,NS,PS,Tt,{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:ac}=Fi;function oc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function uc(i,e,t){const n=i.slice();return n[38]=e[t],n}function fc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?LS:TS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),E(o,t,c),E(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 TS(i){let e,t,n,l,r,s=i[38][1].initials&&cc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=Se(),f(e,"class",t=$n(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),si(e,"background-image","url('"+i[38][1].icon+"')"),si(e,"background-size","cover")},m(o,c){E(o,e,c),E(o,l,c),s&&s.m(o,c),E(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&si(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=cc(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 LS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function cc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ye(t),f(e,"class",l=$n(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){E(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ne(n,t),o[0]&2&&l!==(l=$n(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function dc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&fc(i);function y(){return i[22](i[38])}function C(...N){return i[23](i[37],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=ye(s),c=K(),g=k("div"),_=ye(h),p=K(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){E(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),b||(v=[le(e,"click",Vt(y)),le(e,"keydown",C)],b=!0)},p(N,I){i=N,i[38][1].icon?S?S.p(i,I):(S=fc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ne(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ne(_,h)},d(N){N&&A(e),S&&S.d(),b=!1,Ze(v)}}}function hc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(uc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=uc(l,t,s);n[s]?n[s].p(o,r):(n[s]=dc(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){ct(n,l),l&&A(e)}}}function gc(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 IS({props:o}),$e.push(()=>bt(e,"closeDropDown",r)),$e.push(()=>bt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){Ke(e.$$.fragment)},m(c,g){Ge(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){q(e.$$.fragment,c),l=!1},d(c){qe(e,c)}}}function AS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,N=i[10](i[7])+"",I,D,L,T,V,O,F,z,ae,fe,X,pe=i[10](i[5])+"",ee,H,oe,$,J=i[10](i[6])+"",Ce,te,Ue,Pe,ce=Object.entries(i[1]),Z=[];for(let re=0;re<ce.length;re+=1)Z[re]=hc(oc(i,ce,re));let he=i[11]&&gc(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=K(),_=k("div"),p=k("ul");for(let re=0;re<Z.length;re+=1)Z[re].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=ye(N),D=K(),L=k("div"),T=k("div"),he&&he.c(),V=K(),O=k("div"),F=K(),z=k("footer"),ae=k("div"),fe=k("div"),X=k("button"),ee=ye(pe),H=K(),oe=k("div"),$=k("button"),Ce=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(T,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(L,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(X,"data-testid","lui-us-saveBtn"),f(X,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(fe,"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(oe,"class","fd-bar__element"),f(ae,"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(re,Ve){E(re,e,Ve),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 He=0;He<Z.length;He+=1)Z[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,L),w(L,T),he&&he.m(T,null),w(L,V),w(L,O),w(t,F),w(t,z),w(z,ae),w(ae,fe),w(fe,X),w(X,ee),w(ae,H),w(ae,oe),w(oe,$),w($,Ce),te=!0,Ue||(Pe=[le(ac,"resize",i[20]),le(ac,"keydown",i[3]),le(S,"click",i[17]),le(X,"click",i[26]),le($,"click",i[27])],Ue=!0)},p(re,Ve){if((!te||Ve[0]&1040)&&c!==(c=re[10](re[4])+"")&&Ne(g,c),Ve[0]&803846){ce=Object.entries(re[1]);let He;for(He=0;He<ce.length;He+=1){const be=oc(re,ce,He);Z[He]?Z[He].p(be,Ve):(Z[He]=hc(be),Z[He].c(),Z[He].m(p,null))}for(;He<Z.length;He+=1)Z[He].d(1);Z.length=ce.length}(!te||Ve[0]&1152)&&N!==(N=re[10](re[7])+"")&&Ne(I,N),re[11]?he?(he.p(re,Ve),Ve[0]&2048&&U(he,1)):(he=gc(re),he.c(),U(he,1),he.m(T,null)):he&&(Le(),q(he,1,1,()=>{he=null}),Ae()),(!te||Ve[0]&1056)&&pe!==(pe=re[10](re[5])+"")&&Ne(ee,pe),(!te||Ve[0]&1088)&&J!==(J=re[10](re[6])+"")&&Ne(Ce,J)},i(re){te||(U(he),te=!0)},o(re){q(he),te=!1},d(re){re&&A(e),ct(Z,re),he&&he.d(),Ue=!1,Ze(Pe)}}}function _c(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 ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function RS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function __(i,e,t){if(i&&t>0)return i.matches(e)?i:__(i.parentNode,e,t-1)}function pc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function DS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Bt();let o,{storedUserSettings:c={}}=e,g={},h=ht("getTranslation");Si(i,h,te=>t(10,n=te));let _=ol.userSettingsDialog.dialogHeader,p=ol.userSettingsDialog.saveBtn,b=ol.userSettingsDialog.dismissBtn,v={},S,y,C,N;Zr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const te=ie.getConfigValue("userSettings.userSettingsDialog"),Ue=te||ie.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Ln.addEventListener("message",Pe=>{const ce=Ie.getValidMessageSource(Pe);if(!ce||Pe.data.msg!=="custom")return;ce._ready=!0;const Z=la.convertCustomMessageInternalToUser(Pe.data),he="luigi.updateUserSettings";if(Z.id===he){const re=or.findActiveCustomUserSettingsIframe(Pe.source);if(re){let Ve=re.getAttribute("userSettingsGroup");t(0,c[Ve]=Z.data,c)}}Z.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&O()}),ie.readUserSettings().then(Pe=>{g=JSON.parse(JSON.stringify(Pe)),Pe===null?t(0,c=_c(JSON.parse(JSON.stringify(r)),{})):t(0,c=_c(JSON.parse(JSON.stringify(r)),Pe)),D([S,r[0][S]])}).catch(Pe=>{Pe&&Pe.message&&console.error(Pe.message),Pe&&Pe.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(te){if(t(7,y=te.title?te.title:""),!!ne.isObject(te.settings))for(let Ue in te.settings){let Pe=te.settings[Ue];Pe.type==="enum"?Array.isArray(Pe.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Pe.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function D(te,Ue){t(11,o=te);let Pe=te[0],ce=te[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),__(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&pc()),ce.viewUrl){if(or.hideUserSettingsIframe(),v.hasOwnProperty(Pe))or.getUserSettingsIframesInDom().forEach(Z=>{Z.userSettingsGroup===Pe&&(Z.style.display="block")});else{const Z=Qr.hasDecorators()?Qr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=or.createIframe(Z,Pe);v[Pe]=he}ES()}else RS()}const L=te=>{t(0,c=te.detail.userSettings)};function T(){ie.storeUserSettings(c,g).then(()=>{s("close")}).catch(te=>{te&&te.message&&console.error(te.message),te&&te.closeDialog&&s("close")})}function V(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&pc()}function F(te){return ke.renderIconClassName(te)}function z(te){return ke.isOpenUIiconName(te.icon)}let ae;const fe=()=>{const te=window.innerWidth>=$t.desktopMinWidth&&ae<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&ae>=$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"),te&&(document.querySelector(".confirm-button").style.display="block"),!ae){let Pe=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Pe.style.display="none":Pe.style.display="block"}ae=window.innerWidth};function X(te,Ue){let Pe=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(te.keyCode===wi||te.keyCode===fa)&&Pe[Ue].click(),te.keyCode===gS&&Pe[Object.keys(r).length-1].focus(),te.keyCode===hS&&Pe[0].focus()}function pe(te){te.keyCode===vi&&C?N():te.keyCode===vi&&!C&&s("close")}const ee=te=>D(te,event),H=(te,Ue)=>X(Ue,[te]);function oe(te){N=te,t(9,N)}function $(te){C=te,t(8,C)}const J=()=>T(),Ce=()=>s("close");return i.$$set=te=>{"schemaObj"in te&&t(21,l=te.schemaObj),"userSettingGroups"in te&&t(1,r=te.userSettingGroups),"storedUserSettings"in te&&t(0,c=te.storedUserSettings)},[c,r,X,pe,_,p,b,y,C,N,n,o,s,h,D,L,T,O,F,z,fe,l,ee,H,oe,$,J,Ce]}class VS extends Et{constructor(e){super(),At(this,e,DS,AS,Tt,{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:MS}=Fi;function OS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function FS(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=K(),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){E(g,e,h),w(e,t),E(g,n,h),E(g,l,h),w(l,s),o||(c=le(t,"click",Ft(Vt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ne(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function mc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),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){E(g,e,h),E(g,t,h),E(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[le(s,"click",Ft(Vt(i[3]))),le(n,"mousedown",Ft(i[6]))],o=!0)},p:Fe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Ze(c)}}}function US(i){let e,t,n,l,r,s,o,c,g,h;t=new $r({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?FS:OS}let p=_(i),b=p(i),v=!i[0]&&mc(i);return{c(){e=k("div"),Ke(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=Se(),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){E(S,e,y),Ge(t,e,null),w(e,n),w(e,l),b.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),c=!0,g||(h=le(MS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.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=mc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){q(t.$$.fragment,S),c=!1},d(S){S&&A(e),qe(t),b.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function BS(i,e,t){const n=Bt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=ht("getUnsavedChangesModalPromise");const L=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:H=>{H&&Object.getOwnPropertyNames(H).forEach(oe=>{oe==="splitViewSettings"?t(1,y=H.splitViewSettings):oe==="lastNode"?r=H.lastNode:oe==="pathData"?s=H.pathData:oe==="nodeParams"?o=H.nodeParams:oe==="collapsed"?t(0,S=H.collapsed):oe==="isDataPrepared"?t(8,C=H.isDataPrepared):oe==="currentNode"?c=H.currentNode:oe==="splitViewIframe"?h=H.splitViewIframe:oe==="splitViewIframeData"?_=H.splitViewIframeData:oe==="splitViewWC"?p=H.splitViewWC:oe==="splitViewWCData"&&(b=H.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),T=async()=>{C?S||st.createAndSetView(L()):await st.prepareSplitViewData(L(),v)},V=()=>{l.split=st.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=st.getDragger()},O=()=>{const H=st.getDraggerBackdrop();H&&(H.style.display="none"),V(),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 F(H){if(!!Ie.getValidMessageSource(H)&&(H.data.msg==="luigi.navigation.splitview.close"&&st.close(L()),H.data.msg==="luigi.navigation.splitview.collapse"&&z(),H.data.msg==="luigi.navigation.splitview.expand"&&ae(),H.data.msg==="luigi.navigation.splitview.resize")){const oe=parseInt(H.data.data);if(st.calculateAndSetSplitViewValues(oe,st.internalValues),S)return;O(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{fe(),g=F.bind(this),Ln.addEventListener("message",g)}),ua(()=>{T(),I!==C&&!S&&(I=C,O())}),Zr(()=>{window.removeEventListener("message",g)});function z(){st.collapse(L())}async function ae(){await st.expand(L()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function fe(){const H=ne.getShellbarHeight();st.internalValues.innerHeight=ne.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 X(H){let oe=H.y,$={};const J=function(ce){const Z=oe-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||Z===0)return;const re=he-Z,Ve=st.internalValues.innerHeight-re,He=st.enforceTresholds(re,Ve);re<He.top||Ve<He.bottom||($=He,oe=ce.y,l.draggable.style.top=`${$.top}px`)},Ce=function(){if(te(),!$.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)},te=function(){document.removeEventListener("mouseup",Ce),document.removeEventListener("mousemove",J)},Ue=function(){document.addEventListener("mouseup",Ce),document.addEventListener("mousemove",J)};V(),te(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=H=>{let oe=st.getDraggerButton();oe&&(oe.style.display=H?"block":"none"),oe=st.getCollapsedDraggerButton(),oe&&(oe.style.display=H?"block":"none")},ee=H=>{pe(!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,N=H.disableBackdrop)},[S,y,N,z,ae,fe,X,ee,C,v]}class HS extends Et{constructor(e){super(),At(this,e,BS,US,Tt,{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 bc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:zS,catch:WS,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){E(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())&&na(t,n)||n_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function WS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function zS(i){let e,t=i[1]>0&&vc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function vc(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){E(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ne(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[0]&&i[0].badgeCounter&&bc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=bc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function KS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class xn extends Et{constructor(e){super(),At(this,e,KS,qS,Tt,{node:0})}}function wc(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){E(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ne(l,n)},d(r){r&&A(e)}}}function jS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&wc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function JS(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 xr extends Et{constructor(e){super(),At(this,e,JS,jS,Tt,{node:0})}}const{window:$s}=Fi;function Sc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function kc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Ic(i),p=i[12].showUpLink&&Tc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),c=ye(o),g=K(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(l,"class","fd-nested-list__link svelte-1f9ma6n"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1f9ma6n"),f(t,"class","fd-nested-list svelte-1f9ma6n"),f(e,"class","lui-nav-title svelte-1f9ma6n")},m(b,v){E(b,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(b,v){b[12].icon?_?_.p(b,v):(_=Ic(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Ne(c,o),b[12].showUpLink?p?p.p(b,v):(p=Tc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&f(l,"title",h)},d(b){b&&A(e),_&&_.d(),p&&p.d()}}}function Ic(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?QS:YS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function QS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Tc(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-1f9ma6n"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=le(e,"click",Vt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Lc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=xc(Sc(i,r,c));const o=c=>q(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"),f(e,"class","lui-fd-side-nav-wrapper svelte-1f9ma6n")},m(c,g){E(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]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=Sc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=xc(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(Le(),h=r.length;h<s.length;h+=1)o(h);Ae()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)U(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(c){c&&A(e),ct(s,c)}}}function ZS(i){let e,t,n,l;const r=[xS,$S],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),q(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function XS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=$c(Pc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Pc(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=$c(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function $S(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Ac(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Oc(kc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=ye(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1f9ma6n"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){E(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),E(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);E(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Ac(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Ne(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=kc(v,_,y);p[y]?(p[y].p(C,S),U(p[y],1)):(p[y]=Oc(C),p[y].c(),U(p[y],1),p[y].m(c.parentNode,c))}for(Le(),y=_.length;y<p.length;y+=1)b(y);Ae()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)U(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ct(p,v),v&&A(c)}}}function xS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,b,v,S,y,C,N,I,D,L,T,V,O,F,z,ae,fe,X;function pe(Z,he){return he[0]&8192&&(l=null),l==null&&(l=!!Z[28](Z[68].metaInfo.icon)),l?a2:s2}let ee=pe(i,[-1,-1,-1]),H=ee(i);function oe(){return i[46](i[68])}function $(){return i[47](i[68])}function J(...Z){return i[48](i[68],...Z)}let Ce=i[68],te=[];for(let Z=0;Z<Ce.length;Z+=1)te[Z]=Wc(yc(i,Ce,Z));const Ue=Z=>q(te[Z],1,1,()=>{te[Z]=null});let Pe=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&zc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),H.c(),r=K(),s=k("span"),c=ye(o),v=K(),S=k("button"),y=k("i"),L=K(),T=k("ul");for(let Z=0;Z<te.length;Z+=1)te[Z].c();O=K(),Pe&&Pe.c(),F=K(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=Sn(i[68],i[9])),f(y,"class",C=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1f9ma6n"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=Sn(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1f9ma6n"),f(t,"tabindex",D=i[6]?"0":"-1"),f(T,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1f9ma6n"),f(T,"aria-hidden",V=!Sn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[31](i[68].metaInfo,i[67])),mi(e,"lui-item-expanded",Sn(i[68],i[9]))},m(Z,he){E(Z,e,he),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,L),w(e,T);for(let re=0;re<te.length;re+=1)te[re].m(T,null);w(e,O),Pe&&Pe.m(e,null),w(e,F),ae=!0,fe||(X=[le(n,"click",Vt(oe)),le(S,"click",Vt($)),le(t,"keypress",J),le(e,"click",Ft(ce))],fe=!0)},p(Z,he){if(i=Z,ee===(ee=pe(i,he))&&H?H.p(i,he):(H.d(1),H=ee(i),H&&(H.c(),H.m(n,r))),(!ae||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ne(c,o),(!ae||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!ae||he[0]&8704&&h!==(h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"))&&f(n,"class",h),(!ae||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!ae||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!ae||he[0]&8704&&b!==(b=Sn(i[68],i[9])))&&f(n,"aria-expanded",b),(!ae||he[0]&8704&&C!==(C=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ae||he[0]&8704&&N!==(N=Sn(i[68],i[9])))&&f(S,"aria-expanded",N),(!ae||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!ae||he[0]&64&&D!==(D=i[6]?"0":"-1"))&&f(t,"tabindex",D),he[0]&1686151296|he[1]&66){Ce=i[68];let re;for(re=0;re<Ce.length;re+=1){const Ve=yc(i,Ce,re);te[re]?(te[re].p(Ve,he),U(te[re],1)):(te[re]=Wc(Ve),te[re].c(),U(te[re],1),te[re].m(T,null))}for(Le(),re=Ce.length;re<te.length;re+=1)Ue(re);Ae()}(!ae||he[0]&8704&&V!==(V=!Sn(i[68],i[9])))&&f(T,"aria-hidden",V),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Pe?(Pe.p(i,he),he[0]&8448&&U(Pe,1)):(Pe=zc(i),Pe.c(),U(Pe,1),Pe.m(e,F)):Pe&&(Le(),q(Pe,1,1,()=>{Pe=null}),Ae()),(!ae||he[0]&8192&&z!==(z=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",z),(!ae||he[0]&8704)&&mi(e,"lui-item-expanded",Sn(i[68],i[9]))},i(Z){if(!ae){for(let he=0;he<Ce.length;he+=1)U(te[he]);U(Pe),ae=!0}},o(Z){te=te.filter(Boolean);for(let he=0;he<te.length;he+=1)q(te[he]);q(Pe),ae=!1},d(Z){Z&&A(e),H.d(),ct(te,Z),Pe&&Pe.d(),fe=!1,Ze(X)}}}function Ac(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?t2:e2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 e2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function t2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ec(i){let e,t,n=i[71].label&&Rc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Rc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Rc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,N,I;function D(fe,X){return fe[71].icon?i2:n2}let L=D(i),T=L(i),V=i[71].statusBadge&&Dc(i),O=i[71].externalLink&&i[71].externalLink.url&&Vc(),F=i[71].badgeCounter&&Mc(i);function z(...fe){return i[54](i[71],...fe)}function ae(...fe){return i[55](i[71],...fe)}return{c(){e=k("li"),t=k("a"),T.c(),n=K(),l=k("span"),s=ye(r),o=K(),V&&V.c(),g=K(),O&&O.c(),h=K(),F&&F.c(),S=K(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(fe,X){E(fe,e,X),w(e,t),T.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,N||(I=[le(t,"click",z),le(t,"keyup",function(){Dl(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],N=!0)},p(fe,X){i=fe,L===(L=D(i))&&T?T.p(i,X):(T.d(1),T=L(i),T&&(T.c(),T.m(t,n))),(!C||X[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r),i[71].statusBadge?V?(V.p(i,X),X[0]&8192&&U(V,1)):(V=Dc(i),V.c(),U(V,1),V.m(l,null)):V&&(Le(),q(V,1,1,()=>{V=null}),Ae()),(!C||X[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?O||(O=Vc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,X),X[0]&8192&&U(F,1)):(F=Mc(i),F.c(),U(F,1),F.m(t,null)):F&&(Le(),q(F,1,1,()=>{F=null}),Ae()),(!C||X[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||X[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||X[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||X[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||X[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(fe){C||(U(V),U(F),C=!0)},o(fe){q(V),q(F),C=!1},d(fe){fe&&A(e),T.d(),V&&V.d(),O&&O.d(),F&&F.d(),N=!1,Ze(I)}}}function n2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=ye(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){E(o,e,c),E(o,n,c),E(o,l,c),w(l,s)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ne(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function i2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?r2:l2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 l2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function r2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Dc(i){let e,t;return e=new xr({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Vc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Mc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Oc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Ec(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function s2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function a2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Fc(i){let e,t,n=i[71].label&&Uc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Uc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Uc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,N,I;o=new xr({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Bc(),L=i[71].badgeCounter&&Hc(i);function T(...O){return i[49](i[71],...O)}function V(...O){return i[50](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=K(),Ke(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),Ge(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",T),le(t,"keyup",function(){Dl(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Bc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=Hc(i),L.c(),U(L,1),L.m(t,null)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){q(o.$$.fragment,O),q(L),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),L&&L.d(),N=!1,Ze(I)}}}function Bc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Hc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Wc(i){let e,t,n=!i[71].hideFromNav&&Fc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Fc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function zc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Jc(Cc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=ye(l),s=K(),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-1f9ma6n"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1f9ma6n"),f(t,"class","lui-flyout-sublist__wrapper svelte-1f9ma6n"),f(e,"class","lui-flyout-sublist svelte-1f9ma6n")},m(p,b){E(p,e,b),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,b){if((!c||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ne(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=Cc(p,g,v);h[v]?(h[v].p(S,b),U(h[v],1)):(h[v]=Jc(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(Le(),v=g.length;v<h.length;v+=1)_(v);Ae()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)U(h[b]);c=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);c=!1},d(p){p&&A(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=qc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function qc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,N,I;o=new xr({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Kc(),L=i[71].badgeCounter&&jc(i);function T(...O){return i[51](i[71],...O)}function V(...O){return i[52](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=K(),Ke(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),Ge(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",T),le(t,"keyup",function(){Dl(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Kc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=jc(i),L.c(),U(L,1),L.m(t,null)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){q(o.$$.fragment,O),q(L),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),L&&L.d(),N=!1,Ze(I)}}}function Kc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function jc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Jc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&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){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Yc(i){let e,t,n=i[71].label&&Qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Qc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,N,I,D;function L(fe,X){return fe[71].icon?u2:o2}let T=L(i),V=T(i);c=new xr({props:{node:i[71]}});let O=i[71].externalLink&&i[71].externalLink.url&&Zc(),F=i[71].badgeCounter&&Xc(i);function z(...fe){return i[44](i[71],...fe)}function ae(...fe){return i[45](i[71],...fe)}return{c(){e=k("li"),t=k("a"),V.c(),n=K(),l=k("span"),s=ye(r),o=K(),Ke(c.$$.fragment),h=K(),O&&O.c(),_=K(),F&&F.c(),C=K(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",p=i[30](i[71])),f(t,"title",b=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(fe,X){E(fe,e,X),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),Ge(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),N=!0,I||(D=[le(t,"click",z),le(t,"keyup",function(){Dl(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],I=!0)},p(fe,X){i=fe,T===(T=L(i))&&V?V.p(i,X):(V.d(1),V=T(i),V&&(V.c(),V.m(t,n))),(!N||X[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r);const pe={};X[0]&8192&&(pe.node=i[71]),c.$set(pe),(!N||X[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?O||(O=Zc(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,X),X[0]&8192&&U(F,1)):(F=Xc(i),F.c(),U(F,1),F.m(t,null)):F&&(Le(),q(F,1,1,()=>{F=null}),Ae()),(!N||X[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||X[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&f(t,"title",b),(!N||X[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",v),(!N||X[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!N||X[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(fe){N||(U(c.$$.fragment,fe),U(F),N=!0)},o(fe){q(c.$$.fragment,fe),q(F),N=!1},d(fe){fe&&A(e),V.d(),qe(c),O&&O.d(),F&&F.d(),I=!1,Ze(D)}}}function o2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function u2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?c2:f2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 f2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function c2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zc(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){E(t,e,n)},d(t){t&&A(e)}}}function Xc(i){let e,t;return e=new xn({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function $c(i){let e,t,n=!i[71].hideFromNav&&Yc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Yc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function xc(i){let e,t,n,l,r,s;const o=[XS,ZS],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(_2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Le(),q(c[p],1,1,()=>{c[p]=null}),Ae()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),U(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(U(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ed(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&td(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=ye(l),s=K(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1f9ma6n"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1f9ma6n"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1f9ma6n")},m(c,g){E(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ne(r,l),c[3]?o?o.p(c,g):(o=td(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function td(i){let e;function t(r,s){return r[4]=="button"?h2:d2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),E(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 d2(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[le(e,"click",i[57]),le(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Ze(l)}}}function h2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1f9ma6n")},m(s,o){E(s,e,o),w(e,t),l||(r=le(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function g2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Nc(i),p=i[0]&&i[5].length>1&&Lc(i),b=(i[2]||i[3])&&ed(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1f9ma6n"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"),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-1f9ma6n")},m(v,S){E(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,g||(h=[le($s,"resize",i[17]),le($s,"click",i[21]),le($s,"blur",i[21]),le($s,"keydown",i[33]),le(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Nc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&U(p,1)):(p=Lc(v),p.c(),U(p,1),p.m(l,null)):p&&(Le(),q(p,1,1,()=>{p=null}),Ae()),v[2]||v[3]?b?b.p(v,S):(b=ed(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"))&&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-1f9ma6n"))&&f(e,"class",o)},i(v){c||(U(p),c=!0)},o(v){q(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function Sn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const _2=i=>!i.hideFromNav&&i.label;function p2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:D,selectedCategory:C,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:V}),set:async x=>{x&&(Object.getOwnPropertyNames(x).forEach(async Te=>{if(Te==="pathData")t(5,p=x.pathData);else if(Te==="context")O=x.context;else if(Te==="children")t(0,s=x.children);else if(Te==="selectedNode")t(7,y=x.selectedNode);else if(Te==="hasCategoriesWithIcon")t(10,I=x.hasCategoriesWithIcon);else if(Te==="navParent"){t(12,T=void 0);let at=x.navParent;if(t(41,V=at),at&&at.navHeader&&ne.requestExperimentalFeature("navHeader",!0)){let It=at.navHeader,Ct=at;if(It==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;It=Ct?Ct.navHeader:void 0}if(It instanceof Function){t(12,T={});let nn=It(ke.stripNode(at),ke.stripNode(Ct),O);nn instanceof Promise?nn.then(En=>{t(12,T=En)}):t(12,T=nn)}else if(It==="auto")t(12,T={label:at.label,icon:at.icon});else if(It&&It.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,T={...It,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,T=It);const nn=me.mapPathToNode(et.getCurrentPath(),Ct);Dt.extractDataFromPath(nn).then(En=>{const zn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);ke.fetchNodeTitleData(Ct,zn).then(ei=>{t(12,T={...It,...ei})}).catch(ei=>{console.error("Error while retrieving title, fallback to node label"),t(12,T={...It,label:at.label,icon:at.icon})})})}else t(12,T=await Ue(It,Ct))}}}),t(40,D=ke.getSideNavAccordionMode(y)))}},r=Bt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=ke.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:L}=e,{navHeader:T}=e,{navParentNode:V}=e,O,F,z,ae=ht("store"),fe=ht("getTranslation");Si(i,fe,x=>t(24,n=x));let X=!1;const pe=x=>ke.getNodeLabel(x),ee=async()=>{const x=l.get(),Te=await Dt.getLeftNavData({...x},x);!Te||(l.set(Te),F=p,window.LEFTNAVDATA=Te.children)};Jt(()=>{t(3,h=ie.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=ie.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,X=ie.getConfigValue("navigation.addNavHrefs")),t(1,o=ie.getConfigBooleanValue("settings.hideNavigation")),t(22,z=ie.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),an.doOnStoreChange(ae,()=>{t(2,c=ie.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),an.doOnStoreChange(ae,()=>{ee()},["navigation.viewgroupdata"]);let x=pi.initial();t(6,S=x.isSemiCollapsed),t(39,g=x.semiCollapsible),pi.onValueChanged(Te=>{t(6,S=Te.isSemiCollapsed)}),Ln.addEventListener("message",Te=>{Te.data.msg==="luigi.navigation.update-badge-counters"&&ee()})}),Hn(()=>{(!F||F!=p)&&ee(),t(22,z=ie.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),t(3,h=ie.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:H}=e;function oe(x){return ke.renderIconClassName(x)}function $(x){return ke.isOpenUIiconName(x)}function J(x){return x.testId?x.testId:ke.prepareForTests(x.pathSegment,x.label)}function Ce(x){return me.getNodeHref(x,b)}function te(x,Te){return x&&x.testId?x.testId:ke.prepareForTests(Te||x.label)}async function Ue(x,Te){const at=me.mapPathToNode(et.getCurrentPath(),Te),Ct=(await Dt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(x,Ct)}function Pe(x,Te){return ke.generateTooltipText(x,Te)}function ce(x){r("handleClick",{node:x})}function Z(x,Te){if(pi.getCollapsed()){let at,It=document.getElementsByClassName("fd-app__sidebar")[0];if(x.metaInfo&&x.metaInfo.label?at=x.metaInfo.label:at=x.category&&x.category.label||x.category,It.classList.contains("isBlocked")||(It.className+=" isBlocked"),at===C){t(8,C=pi.closePopupMenu(C));return}t(8,C=at),he(Te)}}function he(x){const Te=x.closest(".fd-nested-list__item"),at=Te.offsetTop,It=ai.getShellbar().offsetHeight;let Ct;ai.isCustomLuigiContainer()?Ct=ai.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const nn=Te.getElementsByClassName("lui-flyout-sublist")[0],En=x.closest(".lui-fd-side-nav-wrapper").scrollTop,zn=at+It-En,ei=Ct-at-Te.offsetHeight+En-It;zn+nn.offsetHeight>=Ct?(nn.style.bottom=ei+"px",nn.className+=" has-bottom-position"):nn.style.top=zn-It+"px"})}function re(){if(g){let x=pi.onResize(C);t(6,S=x.isSemiCollapsed),t(8,C=x.selectedCategory)}}function Ve(x){if(x.code==="ArrowRight"){const at=Ie.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(x){let Te=V?V.parent:void 0;for(;Te;){if(Te.pathSegment&&Te.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Te});return}Te=Te.parent}console.warn('Could not resolve "up"-node, redirecting to root'),d_.navigate("/")}function be(x,Te){pi.getCollapsed()||t(9,N=ke.storeExpandedState(x.metaInfo.categoryUid,Te,D))}function We(){t(8,C=pi.closePopupMenu(C))}function St(x){x&&x.code==="Escape"&&We()}function Ht(){t(6,S=pi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),on()}function kt(x){const Te=x.code;(Te==="Enter"||Te==="Space")&&Ht()}function Yt(x,Te){(x.code==="Enter"||x==="Space")&&Z(Te,x.currentTarget)}function _n(x,Te){x.keyCode===wi&&ke.handleNavAnchorClickedWithoutMetaKey(x)&&ce(Te)}function on(){if(!ke.getBurgerTooltipConfig())return;const[x,Te]=ke.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");x&&Te&&at&&t(11,L=document.body.classList.contains("semiCollapsed")?x:Te)}function pn(x,Te){return Sn(x,Te)?x.metaInfo.titleCollapseButton?n(x.metaInfo.titleCollapseButton):void 0:x.metaInfo.titleExpandButton?n(x.metaInfo.titleExpandButton):void 0}const Ui=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},mn=(x,Te)=>_n(Te,x),Qt=x=>be(x,!Sn(x,N)),An=x=>be(x,!Sn(x,N)),Rt=(x,Te)=>Yt(Te,x),fl=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},xt=(x,Te)=>_n(Te,x),un=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},Wn=(x,Te)=>_n(Te,x),zt=x=>Z(x,event.currentTarget),kn=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},oi=(x,Te)=>_n(Te,x),ui=x=>Ht(),fn=x=>Ht(),ki=x=>kt(x);return i.$$set=x=>{"children"in x&&t(0,s=x.children),"hideNavComponent"in x&&t(1,o=x.hideNavComponent),"footerText"in x&&t(2,c=x.footerText),"semiCollapsible"in x&&t(39,g=x.semiCollapsible),"semiCollapsibleButton"in x&&t(3,h=x.semiCollapsibleButton),"semiCollapsibleButtonStyle"in x&&t(4,_=x.semiCollapsibleButtonStyle),"pathData"in x&&t(5,p=x.pathData),"pathParams"in x&&t(42,b=x.pathParams),"virtualGroupPrefix"in x&&t(14,v=x.virtualGroupPrefix),"isSemiCollapsed"in x&&t(6,S=x.isSemiCollapsed),"selectedNode"in x&&t(7,y=x.selectedNode),"selectedCategory"in x&&t(8,C=x.selectedCategory),"expandedCategories"in x&&t(9,N=x.expandedCategories),"hasCategoriesWithIcon"in x&&t(10,I=x.hasCategoriesWithIcon),"sideNavAccordionMode"in x&&t(40,D=x.sideNavAccordionMode),"burgerTooltip"in x&&t(11,L=x.burgerTooltip),"navHeader"in x&&t(12,T=x.navHeader),"navParentNode"in x&&t(41,V=x.navParentNode),"sortedChildrenEntries"in x&&t(13,H=x.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const x=Object.entries(s);x.sort((Te,at)=>Te[1].metaInfo.order-at[1].metaInfo.order),t(13,H=x)}},[s,o,c,h,_,p,S,y,C,N,I,L,T,H,v,ce,Z,re,Ve,He,be,We,z,X,n,fe,pe,oe,$,J,Ce,te,Pe,St,Ht,kt,Yt,_n,pn,g,D,V,b,he,Ui,mn,Qt,An,Rt,fl,xt,un,Wn,zt,kn,oi,ui,fn,ki]}class m2 extends Et{constructor(e){super(),At(this,e,p2,g2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const b2=i=>{an.doOnStoreChange(i.store,()=>{const e=ie.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}),ie.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),p_(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"])},v2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),p_=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 ne.trimTrailingSlash(ne.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!v2(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=Xr.getDocumentTitle()||r;i.set({title:r}),document.title=_t.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function nd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function id(i,e,t){const n=i.slice();return n[43]=e[t],n}function w2(i){let e,t,n,l,r=i[1]&&ld(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){E(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=ld(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 S2(i){let e,t,n,l,r=i[1]&&rd(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){E(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(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 ld(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){E(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 rd(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){E(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 sd(i){let e,t;function n(o,c){return o[3]?k2:C2}let l=n(i),r=l(i),s=i[10]&&pd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),E(o,e,c),s&&s.m(o,c),E(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=pd(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 k2(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?P2:y2}let p=_(i),b=p(i),v=i[4]&&i[5]&&dd(i),S=i[7]&&i[7].length>0&&hd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),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){E(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=le(t,"click",Ft(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=dd(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=hd(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),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function C2(i){let e;function t(r,s){return r[12]?L2:T2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),E(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 y2(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=K(),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,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Ft(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function P2(i){let e,t,n,l=i[7]&&i[7].length===1&&ad(i),r=i[7]&&i[7].length>1&&od(i),s=i[7].length>1&&!i[5]&&cd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=Se()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),s&&s.m(o,c),E(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=ad(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=od(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=cd(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 ad(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){E(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ne(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function od(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=fd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=fd(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){ct(n,l),l&&A(e)}}}function ud(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=K(),s=k("i"),o=K(),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,b){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=le(e,"click",Vt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Ne(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function fd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&ud(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(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=ud(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function cd(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=K(),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,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Vt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function dd(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){E(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",Vt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ne(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&A(e),o=!1,c()}}}function hd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=_d(nd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=nd(l,t,s);n[s]?n[s].p(o,r):(n[s]=_d(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){ct(n,l),l&&A(e)}}}function N2(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ne(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function I2(i){let e,t=i[16]&&gd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=gd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function gd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new gr(!1),l=K(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){E(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 _d(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!ne.isFunction(o[8])),e)return I2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return N2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),E(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 T2(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){E(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function L2(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){E(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function pd(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){E(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function A2(i){let e,t;function n(o,c){return o[12]?S2:w2}let l=n(i),r=l(i),s=i[2]&&sd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),E(o,e,c),s&&s.m(o,c),E(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=sd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const E2=()=>{};function R2(i,e,t){let n;const l=Bt();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:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,L,T=ht("getUnsavedChangesModalPromise"),V=ht("getTranslation");Si(i,V,be=>t(17,n=be));let O=ht("store");const F={closeDropDown:()=>{ee("appSwitcherPopover")}},z=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(We=>{We==="pathData"?t(24,N=be.pathData):We==="appSwitcherItems"?t(7,b=be.appSwitcherItems):We==="itemRenderer"?t(8,v=be.itemRenderer):We==="pathParams"?t(9,S=be.pathParams):We==="selectedItem"?t(5,_=be.selectedItem):We==="title"?t(2,o=be.title):We==="defaultSubTitle"?t(23,C=be.defaultSubTitle):We==="subTitle"?t(10,y=be.subTitle):We==="defaultTitle"?t(6,p=be.defaultTitle):We==="subTitle"?t(10,y=be.subTitle):We==="showMainAppEntry"?t(4,h=be.showMainAppEntry):We==="hasApps"?t(3,c=be.hasApps):We==="hasLogo"&&t(1,s=be.hasLogo)})},store:O});Jt(()=>{b2(z())}),Hn(()=>{(!L||L!=N)&&(p_(z()),L=N)});function ae(be,We,St){return setTimeout(()=>{We&&v(be,We.children[St],F)}),""}function fe(be){T().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function X(){T().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ee("appSwitcherPopover")}function ee(be){l("toggleDropdownState",{name:be})}function H(be){return be.testId?be.testId:ke.prepareForTests(be.title||be)}function oe(be,We){if(be.link){const St=me.applyPathParams(be.link,We);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function $(be){return me.getNodeHref(be)}function J(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ce=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&fe("/")};function te(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>fe("/"),Pe=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&fe("/")},ce=()=>fe("/"),Z=()=>ee("appSwitcherPopover"),he=()=>ee("appSwitcherPopover"),re=()=>ee("appSwitcherPopover"),Ve=(be,We)=>{ke.handleNavAnchorClickedWithoutMetaKey(We)&&fe(be.link)};function He(be){$e[be?"unshift":"push"](()=>{D=be,t(16,D)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,c=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,N=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,c,h,_,p,b,v,S,y,g,I,fe,X,ee,D,n,V,ae,H,oe,$,C,N,pe,J,Ce,te,Ue,Pe,ce,Z,he,re,Ve,He]}class D2 extends Et{constructor(e){super(),At(this,e,R2,A2,Tt,{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 md(i,e,t){const n=i.slice();return n[34]=e[t],n}function bd(i){let e,t,n,l,r,s,o=i[0]&&vd(i),c=(i[10]||i[11])&&Nd(i);return{c(){e=k("div"),o&&o.c(),t=K(),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){E(g,e,h),o&&o.m(e,null),E(g,t,h),E(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=vd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Nd(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 vd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?M2:V2}let g=c(i),h=g(i),_=i[7].name&&wd(i),p=i[7].description&&Sd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=Cd(md(i,b,y));let S=i[12]&&yd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),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){E(y,e,C),h.m(e,null),E(y,t,C),E(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),E(y,r,C),E(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=wd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Sd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let N;for(N=0;N<b.length;N+=1){const I=md(y,b,N);v[N]?v[N].p(I,C):(v[N]=Cd(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=yd(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),ct(v,y),S&&S.d()}}}function V2(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ne(n,t)},d(l){l&&A(e)}}}function M2(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"),si(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&si(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function wd(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Sd(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ne(n,t)},d(l){l&&A(e)}}}function kd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?F2:O2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 O2(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),si(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&si(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 F2(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){E(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 Cd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&kd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),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(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=kd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&A(e),_&&_.d(),g=!1,Ze(h)}}}function yd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Pd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),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,_){E(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[le(e,"click",Vt(i[5])),le(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Pd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ne(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Ze(c)}}}function Pd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?B2:U2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 U2(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){E(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 B2(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){E(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 Nd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Id(i),l=i[10]&&!i[8]&&Td(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Id(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Td(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 Id(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){E(c,e,g),w(e,t),w(t,l),s||(o=le(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ne(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),s=!1,o()}}}function Td(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),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){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Ze(r)}}}function H2(i){let e,t=!i[1]&&bd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=bd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function W2(i,e,t){let n;const l=Bt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");Si(i,y,J=>t(13,n=J));let C=ht("getUnsavedChangesModalPromise"),N=ht("openViewInModal");Jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),tn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),tn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function I(){tn.startAuthorization()}function D(J){return ke.renderIconClassName(J)}function L(J){return ke.isOpenUIiconName(J.icon)}function T(J){return J.testId?J.testId:ke.prepareForTests(J.label)}function V(J){return me.getNodeHref(J)}function O(){b||(an.doOnStoreChange(S,async()=>{const J=await ie.getConfigValueAsync("navigation.profile.logout"),Ce=await ie.getConfigValueAsync("userSettings"),te=Ce||await ie.getConfigValueAsync("settings.userSettings"),Ue={items:await ie.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(te)){const Pe=te.userSettingsProfileMenuEntry;Ue.settings={...ol.userSettingsProfileMenuEntry,...Pe}}Ue.logout={...ol.logout,...J},t(11,_=Boolean(J)),v=!1,tn.setProfileLogoutFn(null),J&&ne.isFunction(J.customLogoutFn)&&(v=!0,tn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(te))},["navigation.profile"]),b=!0)}async function F(){const J=await ie.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(tn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const Ce=me.buildRoute(J,`${J.link}`);N(Ce,J.openNodeInModal===!0?{}:J.openNodeInModal)}else et.navigateToLink(J)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?X():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){Xr.openUserSettings(),l("toggleDropdownState")}function X(){tn.logout()}function pe({keyCode:J}){(J===wi||J===fa)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ee}=e;const H=J=>{ke.handleNavAnchorClickedWithoutMetaKey(J)},oe=J=>z(J),$=J=>pe(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,ee=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=Boolean(o&&(o.name||o.email)))},[ee,r,s,z,ae,fe,pe,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,X,H,oe,$]}class z2 extends Et{constructor(e){super(),At(this,e,W2,H2,Tt,{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 Ld(i,e,t){const n=i.slice();return n[34]=e[t],n}function Ad(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Dd(Ld(i,o,_));let g=i[12]&&Vd(i),h=(i[10]||i[11])&&Od(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<c.length;_+=1)c[_].c();l=K(),g&&g.c(),r=K(),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){E(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].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=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ld(_,o,b);c[b]?c[b].p(v,p):(c[b]=Dd(v),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Vd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ct(c,_),g&&g.d(),h&&h.d()}}}function Ed(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){E(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ne(l,n)},d(r){r&&A(e)}}}function Rd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?q2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 G2(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){E(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 q2(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){E(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 Dd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Rd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),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(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Rd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&A(e),_&&_.d(),g=!1,Ze(h)}}}function Vd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Md(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),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){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[le(e,"click",Vt(i[5])),le(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Md(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Ze(g)}}}function Md(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?j2:K2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 K2(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){E(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 j2(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){E(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 Od(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Fd(i),l=i[10]&&!i[8]&&Bd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Fd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Bd(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 Fd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Ud(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),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){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=le(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Ud(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Ud(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Y2:J2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 J2(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){E(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 Y2(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){E(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 Bd(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){E(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function Q2(i){let e,t=!i[1]&&Ad(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Ad(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function Z2(i,e,t){let n;const l=Bt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");Si(i,y,J=>t(13,n=J));let C=ht("getUnsavedChangesModalPromise"),N=ht("openViewInModal");Jt(async()=>{bi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),tn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),tn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function I(){tn.startAuthorization()}function D(J){return ke.renderIconClassName(J)}function L(J){return ke.isOpenUIiconName(J.icon)}function T(J){return J.testId?J.testId:ke.prepareForTests(J.label)}function V(J){return me.getNodeHref(J)}function O(){b||(an.doOnStoreChange(S,async()=>{const J=await ie.getConfigValueAsync("navigation.profile.logout"),Ce=await ie.getConfigValueAsync("userSettings"),te=Ce||await ie.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(te));const Ue={items:await ie.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Pe=te.userSettingsProfileMenuEntry;Ue.settings={...ol.userSettingsProfileMenuEntry,...Pe}}Ue.logout={...ol.logout,...J},t(11,_=Boolean(J)),v=!1,tn.setProfileLogoutFn(null),J&&ne.isFunction(J.customLogoutFn)&&(v=!0,tn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const J=await ie.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(tn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const Ce=me.buildRoute(J,`${J.link}`);N(Ce,J.openNodeInModal===!0?{}:J.openNodeInModal)}else et.navigateToLink(J)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?X():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){Xr.openUserSettings(),l("toggleDropdownState")}function X(){tn.logout()}function pe({keyCode:J}){(J===wi||J===fa)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ee}=e;const H=J=>{ke.handleNavAnchorClickedWithoutMetaKey(J)},oe=J=>z(J),$=J=>pe(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,ee=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=Boolean(o&&(o.name||o.email)))},[ee,r,s,z,ae,fe,pe,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,X,H,oe,$]}class m_ extends Et{constructor(e){super(),At(this,e,Z2,Q2,Tt,{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 Hd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Wd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=qd(Hd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Hd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=qd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&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]),b,v,S,y,C,N;function I(O,F){return F&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?$2:X2}let D=I(i,-1),L=D(i);r=new xn({props:{node:i[12]}});let T=p&&Gd(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),L.c(),l=K(),Ke(r.$$.fragment),s=K(),o=k("div"),c=k("div"),h=ye(g),_=K(),T&&T.c(),b=K(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,F){E(O,e,F),w(e,t),L.m(t,null),w(t,l),Ge(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),T&&T.m(o,null),w(e,b),y=!0,C||(N=le(e,"click",V),C=!0)},p(O,F){i=O,D===(D=I(i,F))&&L?L.p(i,F):(L.d(1),L=D(i),L&&(L.c(),L.m(t,l)));const z={};F&2&&(z.node=i[12]),r.$set(z),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Ne(h,g),F&34&&(p=i[5](i[12])),p?T?T.p(i,F):(T=Gd(i),T.c(),T.m(o,null)):T&&(T.d(1),T=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){q(r.$$.fragment,O),y=!1},d(O){O&&A(e),L.d(),qe(r),T&&T.d(),C=!1,N()}}}function X2(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){E(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 $2(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){E(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 Gd(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){E(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function qd(i){let e,t,n=i[12].label&&zd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&U(n,1)):(n=zd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function x2(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I,D=i[1]&&Wd(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=K(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=K(),b=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(b,"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(L,T){E(L,e,T),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,b),w(b,v),w(v,S),w(S,y),C=!0,N||(I=[le(y,"click",i[9]),le(e,"click",Ft(ek))],N=!0)},p(L,[T]){(!C||T&1)&&Ne(o,L[0]),L[1]?D?(D.p(L,T),T&2&&U(D,1)):(D=Wd(L),D.c(),U(D,1),D.m(_,null)):D&&(Le(),q(D,1,1,()=>{D=null}),Ae())},i(L){C||(U(D),C=!0)},o(L){q(D),C=!1},d(L){L&&A(e),D&&D.d(),N=!1,Ze(I)}}}const ek=()=>{};function tk(i,e,t){const n=Bt();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 ke.renderIconClassName(S)}function p(S){n("listClick",S)}function b(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,_,b,v]}class b_ extends Et{constructor(e){super(),At(this,e,tk,x2,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:nk}=Fi;function Kd(i,e,t){const n=i.slice();return n[6]=e[t],n}function jd(i){let e,t,n,l=i[0]&&Jd(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){E(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=Jd(r),l.c(),U(l,1),l.m(t,null)):l&&(Le(),q(l,1,1,()=>{l=null}),Ae())},i(r){n||(U(l),n=!0)},o(r){q(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function Jd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Qd(Kd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Kd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Qd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function Yd(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(L,T){return T&1&&(l=null),l==null&&(l=!!(L[6].icon&&L[9](L[6]))),l?lk:ik}let N=C(i,-1),I=N(i);s=new xn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),Ke(s.$$.fragment),o=K(),c=k("span"),h=ye(g),p=K(),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",b=i[12](i[6]))},m(L,T){E(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),Ge(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[le(t,"click",i[14]),le(e,"click",D)],S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T&1&&(V.node=i[6]),s.$set(V),(!v||T&1)&&g!==(g=i[11](i[6])+"")&&Ne(h,g),(!v||T&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||T&1&&b!==(b=i[12](i[6])))&&f(e,"data-testid",b)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){q(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),qe(s),S=!1,Ze(y)}}}function ik(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){E(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 lk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){E(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 Qd(i){let e,t,n=i[6].label&&Yd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&U(n,1)):(n=Yd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Zd(i){let e,t;return e=new b_({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(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function rk(i){let e,t,n,l,r,s=!i[1]&&jd(i),o=i[1]&&Zd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=Se()},m(c,g){s&&s.m(c,g),E(c,e,g),o&&o.m(c,g),E(c,t,g),n=!0,l||(r=le(nk,"resize",sa),l=!0)},p(c,[g]){c[1]?s&&(Le(),q(s,1,1,()=>{s=null}),Ae()):s?(s.p(c,g),g&2&&U(s,1)):(s=jd(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=Zd(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(Le(),q(o,1,1,()=>{o=null}),Ae())},i(c){n||(U(s),U(o),n=!0)},o(c){q(s),q(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function sa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function sk(i,e,t){const n=Bt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Jt(async()=>{sa()}),Hn(async()=>{r||t(0,r=await Dt.getChildren(s)),t(0,r)});function b(V){c().then(()=>{if(V.openNodeInModal){const O=me.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else et.handleRouteClick(V,p())},()=>{}),S()}function v(V){b(V.detail)}function S(){n("close")}function y(V){return ke.isOpenUIiconName(V.icon)}function C(V){return ke.renderIconClassName(V)}function N(V){return _t.getTranslation(V.label)}function I(V){return V.testId?V.testId:ke.prepareForTests(V.pathSegment,V.label)}function D(V){return me.getNodeHref(V,o)}const L=V=>{ke.handleNavAnchorClickedWithoutMetaKey(V)},T=V=>b(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,b,v,S,sa,s,h,_,y,C,N,I,D,L,T]}class v_ extends Et{constructor(e){super(),At(this,e,sk,rk,Tt,{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 sa}}const gn={_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?ne.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=ne.addLeadingSlash(et.getCurrentPath()),n=ne.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ne.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=ne.normalizePath(i),n=ne.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ie.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=gn._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=ne.normalizePath(i),t=ne.normalizePath(t),!!gn.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=gn.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 gn.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=ie.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ie.getConfigValueAsync("navigation.contextSwitcher.options");return await gn.generateSwitcherNav(e,t)}};function Xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(xd(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){E(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=xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=nh(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),ct(n,l)}}}function th(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",Vt(hk)),le(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Ze(h)}}}function nh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&th(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(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=th(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function ih(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>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function SS(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),N=i[5]&&Kf(i),I=i[4]&&jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),N&&N.c(),r=K(),s=k("div"),g=K(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),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-k9bftu"),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=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(D,L){E(D,e,L),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=le(wS,"keydown",i[3]),S=!0)},p(D,[L]){D[6]||D[5]&&D[0].header?C?(C.p(D,L),L&97&&U(C,1)):(C=Gf(D),C.c(),U(C,1),C.m(t,n)):C&&(Le(),q(C,1,1,()=>{C=null}),Ae()),D[5]?N?(N.p(D,L),L&32&&U(N,1)):(N=Kf(D),N.c(),U(N,1),N.m(l,r)):N&&(Le(),q(N,1,1,()=>{N=null}),Ae()),(!v||L&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(s,"class",o),(!v||L&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I||(I=jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||L&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-k9bftu"))&&f(t,"class",h),(!v||L&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||L&97&&p!==(p=ei(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!v||L&64&&b!==(b=D[6]?"z-index:1001":""))&&f(e,"style",b)},i(D){v||(U(C),U(N),v=!0)},o(D){q(C),q(N),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function kS(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,b,v=!1,S=!1,y=!1,C=!1,N=!1,I=!0,D,L=ht("store");const T=H=>ke.getNodeLabel(H),V=async H=>{const oe=H&&H.length?ne.getPathWithoutHash(H):"",$=me.parseParams(oe.split("?")[1]);b=me.getNodeParams($);const J=await Vt.extractDataFromPath(H);_=J.nodeObject,t(5,N=r.isDrawer||typeof _.drawer=="object"),D=N?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),N?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=T(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=T(_),r),t(0,r._liveLabel=!0,r)),p=J.pathData,t(8,s=!0)},O=async H=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),N?await ae():await F(),fr.renderWebComponent(_.viewUrl,document.querySelector(D),{context:p.context},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(D),modalWCData:{...p,nodeParams:b}}),S=!0;else{const oe=await z(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:oe,modalIframeData:{...p,nodeParams:b}}),v=!0}else await V(H)},F=async()=>{let H,oe;const $=document.querySelector(".lui-modal-index-"+c),{size:J,width:Ce,height:te}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if($.classList.remove("lui-modal-fullscreen"),Ce&&Ce.match(Ue)&&te&&te.match(Ue))H=te,oe=Ce;else switch(J){case"fullscreen":H="100vh",oe="100vw",$.classList.add("lui-modal-fullscreen");break;case"m":H="80%",oe="60%";break;case"s":H="80%",oe="40%";break;default:H="80%",oe="80%"}$.setAttribute("style",`width:${oe};height:${H};`)},z=async(H,oe)=>{N?await ae():await F(),H&&(H=me.substituteViewUrl(H,oe));const $=await Ie.createIframe(H,void 0,_,"modal",oe);return document.querySelector(D).appendChild($),$};async function ae(H){let oe="";const $=document.getElementsByClassName("drawer"),J=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?oe="width:75%;":r.size==="m"?oe="width:50%;":r.size==="s"?oe="width:25%;":r.size==="xs"&&(oe="width:15.5%;")),r.backdrop?$[0].setAttribute("style",oe):(J[0].setAttribute("style",oe),$[0].setAttribute("style","width:100%"))}ua(()=>{O(o)});const fe=async H=>{H.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),H.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),H.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),H.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),H.data.msg==="luigi.navigation.updateModalSettings"&&((H.data.updatedModalSettings.title||H.data.updatedModalSettings.title==="")&&t(0,r.title=H.data.updatedModalSettings.title,r),H.data.updatedModalSettings.size&&(t(0,r.size=H.data.updatedModalSettings.size,r),await F()),ie.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(o,{title:r.title,size:r.size},H.data.addHistoryEntry))};Jt(()=>{on.doOnStoreChange(L,()=>{r._liveLabel&&_&&t(0,r.title=T(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",fe),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var H;!C&&!_.webcomponent&&((H=_.loadingIndicator)==null?void 0:H.enabled)!==!1&&t(4,y=!0)},250)}),Zr(()=>{An.removeEventListener("message",fe),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function X(H){H.keyCode===wi&&h("close")}function pe(){let H;I?H=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):H=document.querySelector(".drawer .spinnerContainer"),H&&H.classList.contains("fade-out")&&(H.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ee=()=>h("close",{activeDrawer:!1});return i.$$set=H=>{"settings"in H&&t(0,r=H.settings),"isDataPrepared"in H&&t(8,s=H.isDataPrepared),"nodepath"in H&&t(9,o=H.nodepath),"modalIndex"in H&&t(1,c=H.modalIndex),"disableBackdrop"in H&&t(2,g=H.disableBackdrop),"$$scope"in H&&t(10,l=H.$$scope)},[r,c,g,X,y,N,I,h,s,o,l,n,ee]}class g_ extends Et{constructor(e){super(),At(this,e,kS,SS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Jf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Yf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i){let e,t=i[1][1].settings&&Xf(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=Xf(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Xf(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=sc(Jf(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){E(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=Jf(r,n,o);l[o]?l[o].p(c,s):(l[o]=sc(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),ct(l,r)}}}function $f(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?yS:CS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),E(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 CS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=ye(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){E(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ne(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function yS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){E(o,e,c),Of(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&A(e),l=!1,r()}}}function xf(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,h,_,p,b,v=Array.isArray(i[29].options),S,y;function C(...D){return i[19](i[28],i[31],i[29],...D)}function N(){return i[20](i[29])}let I=v&&ec(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=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=K(),b=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(b,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,L){E(D,e,L),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,b),I&&I.m(b,null),S||(y=[le(r,"keydown",C),le(n,"click",Ut(N))],S=!0)},p(D,L){i=D,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ne(c,o),L[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),L[0]&2&&(v=Array.isArray(i[29].options)),v?I?I.p(i,L):(I=ec(i),I.c(),I.m(b,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Ze(y)}}}function ec(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=tc(Qf(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=Qf(l,t,s);n[s]?n[s].p(o,r):(n[s]=tc(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),ct(n,l)}}}function tc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=ye(n),r=K(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),bi(e,"is-selected",i[4]===i[34]),bi(e,"is-focus",i[4]===i[34])},m(g,h){E(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[le(e,"click",c),le(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ne(l,n),h[0]&16&&bi(e,"is-selected",i[4]===i[34]),h[0]&16&&bi(e,"is-focus",i[4]===i[34])},d(g){g&&A(e),s=!1,Ze(o)}}}function nc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=ic(Yf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=Yf(s,l,c);r[c]?r[c].p(g,o):(r[c]=ic(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ct(r,s)}}}function ic(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=ye(t),l=K(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){E(p,e,b),w(e,n),w(e,l),g||(h=le(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Ne(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function lc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,b){E(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=le(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function rc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){E(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&A(e),n=!1,l()}}}function sc(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&$f(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&xf(i),C=_&&nc(i),N=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&lc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&rc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=ye(l),s=ye(":"),o=K(),c=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),N&&N.c(),b=K(),I&&I.c(),v=K(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,L){E(D,e,L),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,b),I&&I.m(c,null),w(e,v)},p(D,L){L[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ne(r,l),D[29].type==="string"?S?S.p(D,L):(S=$f(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?y?y.p(D,L):(y=xf(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),L[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?C?C.p(D,L):(C=nc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?N?N.p(D,L):(N=lc(D),N.c(),N.m(c,b)):N&&(N.d(1),N=null),D[29].type==="boolean"&&D[29].style==="checkbox"?I?I.p(D,L):(I=rc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function PS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Zf(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Zf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&A(e),l&&l.d(),t=!1,Ze(n)}}}function ta(i,e,t){if(i&&t>0)return i.matches(e)?i:ta(i.parentNode,e,t-1)}function NS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let c=ht("getTranslation");ki(i,c,ee=>t(5,n=ee));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ee){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(H=>{S(H,!1)})}function v(ee,H){let oe=ta(ee.target,".fd-popover__control",20),$=oe.getAttribute("aria-expanded")==="true";(H||H===void 0)&&(b(),S(oe,!$))}function S(ee,H){const oe=ee.querySelector(".lui-activate-language-dropdown"),$=ee.parentNode.querySelector(".fd-popover__body"),J=ee.parentNode.querySelector(".fd-select__control");ee.setAttribute("aria-expanded",H),$.setAttribute("aria-hidden",!H),J.setAttribute("aria-expanded",H),oe.setAttribute("aria-expanded",H),t(14,h=H)}function y(ee,H,oe){t(4,g=oe),t(0,s[l[0]][ee]=H.value||H,s)}function C(ee,H){document.querySelectorAll(".enum-buttons-container-"+ee+" button").forEach(oe=>{const $=oe.getAttribute("id"),J=`lui-us-enum_button_${ee}_option`;$===J?oe.classList.add("fd-button--emphasized"):oe.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ee]=H.value||H,s)}function N(ee,H){let oe;if(Array.isArray(H)){for(let $=0;$<H.length;$++)if(ne.isObject(H[$])){if(H[$].value&&H[$].value===ee){oe=H[$].label,t(4,g=$);break}}else{oe=ee,t(4,g=H.indexOf(ee));break}return n(oe)}}function I(ee){return n(ne.isObject(ee)?ee.label:ee)}function D(ee,H,oe){return ne.isObject(oe)?`${ee}_${H}_${oe.value}`:`${ee}_${H}_${oe}`}function L(ee,H,oe,$){let J=ta(ee.target,".lui-anchor-node",20);const Ce=document.getElementById(`fd-form-input-dropdown-${oe}`).children;let te=-1;if([...Ce].forEach((Ue,Pe)=>{Ue.classList.contains("is-focus")&&(te=Pe)}),h){if(ee.keyCode===El&&ee.altKey&&(J.click(),J.focus()),ee.keyCode===Oi&&!ee.altKey){if(te===-1){te=0,Ce.item(te).classList.add("is-focus");return}te<$.options.length-1&&(Ce.item(te).classList.remove("is-focus"),te+=1,Ce.item(te).classList.add("is-focus"))}if(ee.keyCode===El&&!ee.altKey){if(te===-1){te=te.length-1,Ce.item(te).classList.add("is-focus");return}te>0&&te<$.options.length&&(Ce.item(te).classList.remove("is-focus"),te-=1,Ce.item(te).classList.add("is-focus"))}ee.keyCode===Si&&y(H,$.options[te],te)}else J.focus(),ee.keyCode===Oi&&ee.altKey&&J.click(),ee.keyCode===Oi&&!ee.altKey&&te<$.options.length-1&&y(H,$.options[te+1],te+1),ee.keyCode===El&&!ee.altKey&&te>0&&te<$.options.length&&y(H,$.options[te-1],te-1)}function T(ee){if(h){let H=ta(ee.target,".fd-popover",20);H.blur(),(ee.keyCode===fa||ee.keyCode===Si)&&(ee.target.click(),b(),setTimeout(()=>{H.focus()},0))}}N();function V(ee){s[l[0]][ee]=this.value,t(0,s)}const O=(ee,H,oe,$)=>L($,ee,H,oe),F=ee=>v(event,ee.isEditable),z=(ee,H,oe)=>y(ee,H,oe),ae=ee=>T(ee),fe=(ee,H)=>C(ee,H);function X(ee){s[l[0]][ee]=this.checked,t(0,s)}function pe(ee){s[l[0]][ee]=this.checked,t(0,s)}return i.$$set=ee=>{"userSettingGroup"in ee&&t(1,l=ee.userSettingGroup),"userSettingsGroupKey"in ee&&t(15,r=ee.userSettingsGroupKey),"storedUserSettingData"in ee&&t(0,s=ee.storedUserSettingData),"isComboOpen"in ee&&t(14,h=ee.isComboOpen)},[s,l,L,T,g,n,c,b,v,y,C,N,I,D,h,r,_,p,V,O,F,z,ae,fe,X,pe]}class IS extends Et{constructor(e){super(),At(this,e,NS,PS,Tt,{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:ac}=Fi;function oc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function uc(i,e,t){const n=i.slice();return n[38]=e[t],n}function fc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?LS:TS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),E(o,t,c),E(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 TS(i){let e,t,n,l,r,s=i[38][1].initials&&cc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=Se(),f(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),oi(e,"background-image","url('"+i[38][1].icon+"')"),oi(e,"background-size","cover")},m(o,c){E(o,e,c),E(o,l,c),s&&s.m(o,c),E(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&oi(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=cc(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 LS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function cc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ye(t),f(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){E(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ne(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function dc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&fc(i);function y(){return i[22](i[38])}function C(...N){return i[23](i[37],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=ye(s),c=K(),g=k("div"),_=ye(h),p=K(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){E(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),b||(v=[le(e,"click",Mt(y)),le(e,"keydown",C)],b=!0)},p(N,I){i=N,i[38][1].icon?S?S.p(i,I):(S=fc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ne(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ne(_,h)},d(N){N&&A(e),S&&S.d(),b=!1,Ze(v)}}}function hc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(uc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=uc(l,t,s);n[s]?n[s].p(o,r):(n[s]=dc(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){ct(n,l),l&&A(e)}}}function gc(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 IS({props:o}),$e.push(()=>vt(e,"closeDropDown",r)),$e.push(()=>vt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){Ke(e.$$.fragment)},m(c,g){Ge(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],bt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],bt(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){q(e.$$.fragment,c),l=!1},d(c){qe(e,c)}}}function AS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,N=i[10](i[7])+"",I,D,L,T,V,O,F,z,ae,fe,X,pe=i[10](i[5])+"",ee,H,oe,$,J=i[10](i[6])+"",Ce,te,Ue,Pe,ce=Object.entries(i[1]),Z=[];for(let re=0;re<ce.length;re+=1)Z[re]=hc(oc(i,ce,re));let he=i[11]&&gc(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=K(),_=k("div"),p=k("ul");for(let re=0;re<Z.length;re+=1)Z[re].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=ye(N),D=K(),L=k("div"),T=k("div"),he&&he.c(),V=K(),O=k("div"),F=K(),z=k("footer"),ae=k("div"),fe=k("div"),X=k("button"),ee=ye(pe),H=K(),oe=k("div"),$=k("button"),Ce=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(T,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(L,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(X,"data-testid","lui-us-saveBtn"),f(X,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(fe,"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(oe,"class","fd-bar__element"),f(ae,"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(re,Ve){E(re,e,Ve),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 He=0;He<Z.length;He+=1)Z[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,L),w(L,T),he&&he.m(T,null),w(L,V),w(L,O),w(t,F),w(t,z),w(z,ae),w(ae,fe),w(fe,X),w(X,ee),w(ae,H),w(ae,oe),w(oe,$),w($,Ce),te=!0,Ue||(Pe=[le(ac,"resize",i[20]),le(ac,"keydown",i[3]),le(S,"click",i[17]),le(X,"click",i[26]),le($,"click",i[27])],Ue=!0)},p(re,Ve){if((!te||Ve[0]&1040)&&c!==(c=re[10](re[4])+"")&&Ne(g,c),Ve[0]&803846){ce=Object.entries(re[1]);let He;for(He=0;He<ce.length;He+=1){const be=oc(re,ce,He);Z[He]?Z[He].p(be,Ve):(Z[He]=hc(be),Z[He].c(),Z[He].m(p,null))}for(;He<Z.length;He+=1)Z[He].d(1);Z.length=ce.length}(!te||Ve[0]&1152)&&N!==(N=re[10](re[7])+"")&&Ne(I,N),re[11]?he?(he.p(re,Ve),Ve[0]&2048&&U(he,1)):(he=gc(re),he.c(),U(he,1),he.m(T,null)):he&&(Le(),q(he,1,1,()=>{he=null}),Ae()),(!te||Ve[0]&1056)&&pe!==(pe=re[10](re[5])+"")&&Ne(ee,pe),(!te||Ve[0]&1088)&&J!==(J=re[10](re[6])+"")&&Ne(Ce,J)},i(re){te||(U(he),te=!0)},o(re){q(he),te=!1},d(re){re&&A(e),ct(Z,re),he&&he.d(),Ue=!1,Ze(Pe)}}}function _c(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 ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function RS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function __(i,e,t){if(i&&t>0)return i.matches(e)?i:__(i.parentNode,e,t-1)}function pc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function DS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:c={}}=e,g={},h=ht("getTranslation");ki(i,h,te=>t(10,n=te));let _=ol.userSettingsDialog.dialogHeader,p=ol.userSettingsDialog.saveBtn,b=ol.userSettingsDialog.dismissBtn,v={},S,y,C,N;Zr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const te=ie.getConfigValue("userSettings.userSettingsDialog"),Ue=te||ie.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",Pe=>{const ce=Ie.getValidMessageSource(Pe);if(!ce||Pe.data.msg!=="custom")return;ce._ready=!0;const Z=la.convertCustomMessageInternalToUser(Pe.data),he="luigi.updateUserSettings";if(Z.id===he){const re=or.findActiveCustomUserSettingsIframe(Pe.source);if(re){let Ve=re.getAttribute("userSettingsGroup");t(0,c[Ve]=Z.data,c)}}Z.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&O()}),ie.readUserSettings().then(Pe=>{g=JSON.parse(JSON.stringify(Pe)),Pe===null?t(0,c=_c(JSON.parse(JSON.stringify(r)),{})):t(0,c=_c(JSON.parse(JSON.stringify(r)),Pe)),D([S,r[0][S]])}).catch(Pe=>{Pe&&Pe.message&&console.error(Pe.message),Pe&&Pe.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(te){if(t(7,y=te.title?te.title:""),!!ne.isObject(te.settings))for(let Ue in te.settings){let Pe=te.settings[Ue];Pe.type==="enum"?Array.isArray(Pe.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Pe.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function D(te,Ue){t(11,o=te);let Pe=te[0],ce=te[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),__(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&pc()),ce.viewUrl){if(or.hideUserSettingsIframe(),v.hasOwnProperty(Pe))or.getUserSettingsIframesInDom().forEach(Z=>{Z.userSettingsGroup===Pe&&(Z.style.display="block")});else{const Z=Qr.hasDecorators()?Qr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=or.createIframe(Z,Pe);v[Pe]=he}ES()}else RS()}const L=te=>{t(0,c=te.detail.userSettings)};function T(){ie.storeUserSettings(c,g).then(()=>{s("close")}).catch(te=>{te&&te.message&&console.error(te.message),te&&te.closeDialog&&s("close")})}function V(){O()}function O(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&pc()}function F(te){return ke.renderIconClassName(te)}function z(te){return ke.isOpenUIiconName(te.icon)}let ae;const fe=()=>{const te=window.innerWidth>=$t.desktopMinWidth&&ae<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&ae>=$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"),te&&(document.querySelector(".confirm-button").style.display="block"),!ae){let Pe=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Pe.style.display="none":Pe.style.display="block"}ae=window.innerWidth};function X(te,Ue){let Pe=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(te.keyCode===Si||te.keyCode===fa)&&Pe[Ue].click(),te.keyCode===gS&&Pe[Object.keys(r).length-1].focus(),te.keyCode===hS&&Pe[0].focus()}function pe(te){te.keyCode===wi&&C?N():te.keyCode===wi&&!C&&s("close")}const ee=te=>D(te,event),H=(te,Ue)=>X(Ue,[te]);function oe(te){N=te,t(9,N)}function $(te){C=te,t(8,C)}const J=()=>T(),Ce=()=>s("close");return i.$$set=te=>{"schemaObj"in te&&t(21,l=te.schemaObj),"userSettingGroups"in te&&t(1,r=te.userSettingGroups),"storedUserSettings"in te&&t(0,c=te.storedUserSettings)},[c,r,X,pe,_,p,b,y,C,N,n,o,s,h,D,L,T,O,F,z,fe,l,ee,H,oe,$,J,Ce]}class VS extends Et{constructor(e){super(),At(this,e,DS,AS,Tt,{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:MS}=Fi;function OS(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function FS(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=K(),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){E(g,e,h),w(e,t),E(g,n,h),E(g,l,h),w(l,s),o||(c=le(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ne(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function mc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),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){E(g,e,h),E(g,t,h),E(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[le(s,"click",Ut(Mt(i[3]))),le(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Ze(c)}}}function US(i){let e,t,n,l,r,s,o,c,g,h;t=new $r({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?FS:OS}let p=_(i),b=p(i),v=!i[0]&&mc(i);return{c(){e=k("div"),Ke(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=Se(),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){E(S,e,y),Ge(t,e,null),w(e,n),w(e,l),b.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),c=!0,g||(h=le(MS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.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=mc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){q(t.$$.fragment,S),c=!1},d(S){S&&A(e),qe(t),b.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function BS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=ht("getUnsavedChangesModalPromise");const L=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:H=>{H&&Object.getOwnPropertyNames(H).forEach(oe=>{oe==="splitViewSettings"?t(1,y=H.splitViewSettings):oe==="lastNode"?r=H.lastNode:oe==="pathData"?s=H.pathData:oe==="nodeParams"?o=H.nodeParams:oe==="collapsed"?t(0,S=H.collapsed):oe==="isDataPrepared"?t(8,C=H.isDataPrepared):oe==="currentNode"?c=H.currentNode:oe==="splitViewIframe"?h=H.splitViewIframe:oe==="splitViewIframeData"?_=H.splitViewIframeData:oe==="splitViewWC"?p=H.splitViewWC:oe==="splitViewWCData"&&(b=H.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),T=async()=>{C?S||st.createAndSetView(L()):await st.prepareSplitViewData(L(),v)},V=()=>{l.split=st.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=st.getDragger()},O=()=>{const H=st.getDraggerBackdrop();H&&(H.style.display="none"),V(),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 F(H){if(!!Ie.getValidMessageSource(H)&&(H.data.msg==="luigi.navigation.splitview.close"&&st.close(L()),H.data.msg==="luigi.navigation.splitview.collapse"&&z(),H.data.msg==="luigi.navigation.splitview.expand"&&ae(),H.data.msg==="luigi.navigation.splitview.resize")){const oe=parseInt(H.data.data);if(st.calculateAndSetSplitViewValues(oe,st.internalValues),S)return;O(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{fe(),g=F.bind(this),An.addEventListener("message",g)}),ua(()=>{T(),I!==C&&!S&&(I=C,O())}),Zr(()=>{window.removeEventListener("message",g)});function z(){st.collapse(L())}async function ae(){await st.expand(L()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function fe(){const H=ne.getShellbarHeight();st.internalValues.innerHeight=ne.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 X(H){let oe=H.y,$={};const J=function(ce){const Z=oe-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||Z===0)return;const re=he-Z,Ve=st.internalValues.innerHeight-re,He=st.enforceTresholds(re,Ve);re<He.top||Ve<He.bottom||($=He,oe=ce.y,l.draggable.style.top=`${$.top}px`)},Ce=function(){if(te(),!$.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)},te=function(){document.removeEventListener("mouseup",Ce),document.removeEventListener("mousemove",J)},Ue=function(){document.addEventListener("mouseup",Ce),document.addEventListener("mousemove",J)};V(),te(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=H=>{let oe=st.getDraggerButton();oe&&(oe.style.display=H?"block":"none"),oe=st.getCollapsedDraggerButton(),oe&&(oe.style.display=H?"block":"none")},ee=H=>{pe(!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,N=H.disableBackdrop)},[S,y,N,z,ae,fe,X,ee,C,v]}class HS extends Et{constructor(e){super(),At(this,e,BS,US,Tt,{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 bc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:zS,catch:WS,value:1};return na(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){E(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())&&na(t,n)||n_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function WS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function zS(i){let e,t=i[1]>0&&vc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function vc(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){E(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ne(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[0]&&i[0].badgeCounter&&bc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=bc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function KS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ti extends Et{constructor(e){super(),At(this,e,KS,qS,Tt,{node:0})}}function wc(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){E(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ne(l,n)},d(r){r&&A(e)}}}function jS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&wc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function JS(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 xr extends Et{constructor(e){super(),At(this,e,JS,jS,Tt,{node:0})}}const{window:$s}=Fi;function Sc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function kc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Ic(i),p=i[12].showUpLink&&Tc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),c=ye(o),g=K(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(l,"class","fd-nested-list__link svelte-1f9ma6n"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1f9ma6n"),f(t,"class","fd-nested-list svelte-1f9ma6n"),f(e,"class","lui-nav-title svelte-1f9ma6n")},m(b,v){E(b,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(b,v){b[12].icon?_?_.p(b,v):(_=Ic(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Ne(c,o),b[12].showUpLink?p?p.p(b,v):(p=Tc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&f(l,"title",h)},d(b){b&&A(e),_&&_.d(),p&&p.d()}}}function Ic(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?QS:YS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function QS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Tc(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-1f9ma6n"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=le(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Lc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=xc(Sc(i,r,c));const o=c=>q(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"),f(e,"class","lui-fd-side-nav-wrapper svelte-1f9ma6n")},m(c,g){E(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]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=Sc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=xc(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(Le(),h=r.length;h<s.length;h+=1)o(h);Ae()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1f9ma6n"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)U(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(c){c&&A(e),ct(s,c)}}}function ZS(i){let e,t,n,l;const r=[xS,$S],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),q(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function XS(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=$c(Pc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Pc(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=$c(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function $S(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Ac(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Oc(kc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=ye(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1f9ma6n"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){E(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),E(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);E(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Ac(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Ne(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=kc(v,_,y);p[y]?(p[y].p(C,S),U(p[y],1)):(p[y]=Oc(C),p[y].c(),U(p[y],1),p[y].m(c.parentNode,c))}for(Le(),y=_.length;y<p.length;y+=1)b(y);Ae()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)U(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ct(p,v),v&&A(c)}}}function xS(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,b,v,S,y,C,N,I,D,L,T,V,O,F,z,ae,fe,X;function pe(Z,he){return he[0]&8192&&(l=null),l==null&&(l=!!Z[28](Z[68].metaInfo.icon)),l?a2:s2}let ee=pe(i,[-1,-1,-1]),H=ee(i);function oe(){return i[46](i[68])}function $(){return i[47](i[68])}function J(...Z){return i[48](i[68],...Z)}let Ce=i[68],te=[];for(let Z=0;Z<Ce.length;Z+=1)te[Z]=Wc(yc(i,Ce,Z));const Ue=Z=>q(te[Z],1,1,()=>{te[Z]=null});let Pe=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&zc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),H.c(),r=K(),s=k("span"),c=ye(o),v=K(),S=k("button"),y=k("i"),L=K(),T=k("ul");for(let Z=0;Z<te.length;Z+=1)te[Z].c();O=K(),Pe&&Pe.c(),F=K(),f(s,"class","fd-nested-list__title svelte-1f9ma6n"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=kn(i[68],i[9])),f(y,"class",C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1f9ma6n"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=kn(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1f9ma6n"),f(t,"tabindex",D=i[6]?"0":"-1"),f(T,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1f9ma6n"),f(T,"aria-hidden",V=!kn(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[31](i[68].metaInfo,i[67])),bi(e,"lui-item-expanded",kn(i[68],i[9]))},m(Z,he){E(Z,e,he),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,L),w(e,T);for(let re=0;re<te.length;re+=1)te[re].m(T,null);w(e,O),Pe&&Pe.m(e,null),w(e,F),ae=!0,fe||(X=[le(n,"click",Mt(oe)),le(S,"click",Mt($)),le(t,"keypress",J),le(e,"click",Ut(ce))],fe=!0)},p(Z,he){if(i=Z,ee===(ee=pe(i,he))&&H?H.p(i,he):(H.d(1),H=ee(i),H&&(H.c(),H.m(n,r))),(!ae||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ne(c,o),(!ae||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!ae||he[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1f9ma6n"))&&f(n,"class",h),(!ae||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!ae||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!ae||he[0]&8704&&b!==(b=kn(i[68],i[9])))&&f(n,"aria-expanded",b),(!ae||he[0]&8704&&C!==(C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ae||he[0]&8704&&N!==(N=kn(i[68],i[9])))&&f(S,"aria-expanded",N),(!ae||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!ae||he[0]&64&&D!==(D=i[6]?"0":"-1"))&&f(t,"tabindex",D),he[0]&1686151296|he[1]&66){Ce=i[68];let re;for(re=0;re<Ce.length;re+=1){const Ve=yc(i,Ce,re);te[re]?(te[re].p(Ve,he),U(te[re],1)):(te[re]=Wc(Ve),te[re].c(),U(te[re],1),te[re].m(T,null))}for(Le(),re=Ce.length;re<te.length;re+=1)Ue(re);Ae()}(!ae||he[0]&8704&&V!==(V=!kn(i[68],i[9])))&&f(T,"aria-hidden",V),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Pe?(Pe.p(i,he),he[0]&8448&&U(Pe,1)):(Pe=zc(i),Pe.c(),U(Pe,1),Pe.m(e,F)):Pe&&(Le(),q(Pe,1,1,()=>{Pe=null}),Ae()),(!ae||he[0]&8192&&z!==(z=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",z),(!ae||he[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i(Z){if(!ae){for(let he=0;he<Ce.length;he+=1)U(te[he]);U(Pe),ae=!0}},o(Z){te=te.filter(Boolean);for(let he=0;he<te.length;he+=1)q(te[he]);q(Pe),ae=!1},d(Z){Z&&A(e),H.d(),ct(te,Z),Pe&&Pe.d(),fe=!1,Ze(X)}}}function Ac(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?t2:e2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 e2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function t2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ec(i){let e,t,n=i[71].label&&Rc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Rc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Rc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,N,I;function D(fe,X){return fe[71].icon?i2:n2}let L=D(i),T=L(i),V=i[71].statusBadge&&Dc(i),O=i[71].externalLink&&i[71].externalLink.url&&Vc(),F=i[71].badgeCounter&&Mc(i);function z(...fe){return i[54](i[71],...fe)}function ae(...fe){return i[55](i[71],...fe)}return{c(){e=k("li"),t=k("a"),T.c(),n=K(),l=k("span"),s=ye(r),o=K(),V&&V.c(),g=K(),O&&O.c(),h=K(),F&&F.c(),S=K(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(fe,X){E(fe,e,X),w(e,t),T.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,N||(I=[le(t,"click",z),le(t,"keyup",function(){Dl(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],N=!0)},p(fe,X){i=fe,L===(L=D(i))&&T?T.p(i,X):(T.d(1),T=L(i),T&&(T.c(),T.m(t,n))),(!C||X[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r),i[71].statusBadge?V?(V.p(i,X),X[0]&8192&&U(V,1)):(V=Dc(i),V.c(),U(V,1),V.m(l,null)):V&&(Le(),q(V,1,1,()=>{V=null}),Ae()),(!C||X[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?O||(O=Vc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,X),X[0]&8192&&U(F,1)):(F=Mc(i),F.c(),U(F,1),F.m(t,null)):F&&(Le(),q(F,1,1,()=>{F=null}),Ae()),(!C||X[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||X[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||X[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||X[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||X[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(fe){C||(U(V),U(F),C=!0)},o(fe){q(V),q(F),C=!1},d(fe){fe&&A(e),T.d(),V&&V.d(),O&&O.d(),F&&F.d(),N=!1,Ze(I)}}}function n2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=ye(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){E(o,e,c),E(o,n,c),E(o,l,c),w(l,s)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ne(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function i2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?r2:l2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 l2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function r2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Dc(i){let e,t;return e=new xr({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Vc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Mc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Oc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Ec(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function s2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function a2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Fc(i){let e,t,n=i[71].label&&Uc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Uc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Uc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,N,I;o=new xr({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Bc(),L=i[71].badgeCounter&&Hc(i);function T(...O){return i[49](i[71],...O)}function V(...O){return i[50](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=K(),Ke(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),Ge(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",T),le(t,"keyup",function(){Dl(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Bc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=Hc(i),L.c(),U(L,1),L.m(t,null)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){q(o.$$.fragment,O),q(L),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),L&&L.d(),N=!1,Ze(I)}}}function Bc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Hc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Wc(i){let e,t,n=!i[71].hideFromNav&&Fc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Fc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function zc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Jc(Cc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=ye(l),s=K(),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-1f9ma6n"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1f9ma6n"),f(t,"class","lui-flyout-sublist__wrapper svelte-1f9ma6n"),f(e,"class","lui-flyout-sublist svelte-1f9ma6n")},m(p,b){E(p,e,b),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,b){if((!c||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Ne(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=Cc(p,g,v);h[v]?(h[v].p(S,b),U(h[v],1)):(h[v]=Jc(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(Le(),v=g.length;v<h.length;v+=1)_(v);Ae()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)U(h[b]);c=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);c=!1},d(p){p&&A(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=qc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function qc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,b,v,S,y,C,N,I;o=new xr({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Kc(),L=i[71].badgeCounter&&jc(i);function T(...O){return i[51](i[71],...O)}function V(...O){return i[52](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),s=K(),Ke(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),Ge(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[le(t,"click",T),le(t,"keyup",function(){Dl(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ne(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Kc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=jc(i),L.c(),U(L,1),L.m(t,null)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){q(o.$$.fragment,O),q(L),C=!1},d(O){O&&A(e),qe(o),D&&D.d(),L&&L.d(),N=!1,Ze(I)}}}function Kc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Jc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&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){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Yc(i){let e,t,n=i[71].label&&Qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Qc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,b,v,S,y,C,N,I,D;function L(fe,X){return fe[71].icon?u2:o2}let T=L(i),V=T(i);c=new xr({props:{node:i[71]}});let O=i[71].externalLink&&i[71].externalLink.url&&Zc(),F=i[71].badgeCounter&&Xc(i);function z(...fe){return i[44](i[71],...fe)}function ae(...fe){return i[45](i[71],...fe)}return{c(){e=k("li"),t=k("a"),V.c(),n=K(),l=k("span"),s=ye(r),o=K(),Ke(c.$$.fragment),h=K(),O&&O.c(),_=K(),F&&F.c(),C=K(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"),f(t,"href",p=i[30](i[71])),f(t,"title",b=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(fe,X){E(fe,e,X),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),Ge(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),N=!0,I||(D=[le(t,"click",z),le(t,"keyup",function(){Dl(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],I=!0)},p(fe,X){i=fe,T===(T=L(i))&&V?V.p(i,X):(V.d(1),V=T(i),V&&(V.c(),V.m(t,n))),(!N||X[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ne(s,r);const pe={};X[0]&8192&&(pe.node=i[71]),c.$set(pe),(!N||X[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1f9ma6n"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?O||(O=Zc(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,X),X[0]&8192&&U(F,1)):(F=Xc(i),F.c(),U(F,1),F.m(t,null)):F&&(Le(),q(F,1,1,()=>{F=null}),Ae()),(!N||X[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||X[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&f(t,"title",b),(!N||X[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1f9ma6n"))&&f(t,"class",v),(!N||X[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!N||X[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(fe){N||(U(c.$$.fragment,fe),U(F),N=!0)},o(fe){q(c.$$.fragment,fe),q(F),N=!1},d(fe){fe&&A(e),V.d(),qe(c),O&&O.d(),F&&F.d(),I=!1,Ze(D)}}}function o2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function u2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?c2:f2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 f2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1f9ma6n"),f(e,"class","fd-nested-list__icon sap-icon svelte-1f9ma6n")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function c2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1f9ma6n"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1f9ma6n")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zc(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){E(t,e,n)},d(t){t&&A(e)}}}function Xc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function $c(i){let e,t,n=!i[71].hideFromNav&&Yc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Yc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function xc(i){let e,t,n,l,r,s;const o=[XS,ZS],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(_2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Le(),q(c[p],1,1,()=>{c[p]=null}),Ae()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),U(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(U(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ed(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&td(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=ye(l),s=K(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1f9ma6n"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1f9ma6n"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1f9ma6n")},m(c,g){E(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ne(r,l),c[3]?o?o.p(c,g):(o=td(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function td(i){let e;function t(r,s){return r[4]=="button"?h2:d2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),E(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 d2(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[le(e,"click",i[57]),le(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Ze(l)}}}function h2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1f9ma6n")},m(s,o){E(s,e,o),w(e,t),l||(r=le(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1f9ma6n")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function g2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Nc(i),p=i[0]&&i[5].length>1&&Lc(i),b=(i[2]||i[3])&&ed(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1f9ma6n"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"),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-1f9ma6n")},m(v,S){E(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,g||(h=[le($s,"resize",i[17]),le($s,"click",i[21]),le($s,"blur",i[21]),le($s,"keydown",i[33]),le(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Nc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&U(p,1)):(p=Lc(v),p.c(),U(p,1),p.m(l,null)):p&&(Le(),q(p,1,1,()=>{p=null}),Ae()),v[2]||v[3]?b?b.p(v,S):(b=ed(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1f9ma6n"))&&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-1f9ma6n"))&&f(e,"class",o)},i(v){c||(U(p),c=!0)},o(v){q(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function kn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const _2=i=>!i.hideFromNav&&i.label;function p2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:D,selectedCategory:C,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:V}),set:async x=>{x&&(Object.getOwnPropertyNames(x).forEach(async Te=>{if(Te==="pathData")t(5,p=x.pathData);else if(Te==="context")O=x.context;else if(Te==="children")t(0,s=x.children);else if(Te==="selectedNode")t(7,y=x.selectedNode);else if(Te==="hasCategoriesWithIcon")t(10,I=x.hasCategoriesWithIcon);else if(Te==="navParent"){t(12,T=void 0);let at=x.navParent;if(t(41,V=at),at&&at.navHeader&&ne.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,Ct=at;if(Nt==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Nt=Ct?Ct.navHeader:void 0}if(Nt instanceof Function){t(12,T={});let ln=Nt(ke.stripNode(at),ke.stripNode(Ct),O);ln instanceof Promise?ln.then(Rn=>{t(12,T=Rn)}):t(12,T=ln)}else if(Nt==="auto")t(12,T={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,T={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,T=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Vt.extractDataFromPath(ln).then(Rn=>{const qn=me.substituteDynamicParamsInObject(Object.assign({},Rn.pathData.context,Ct.context),Rn.pathData.pathParams);ke.fetchNodeTitleData(Ct,qn).then(ni=>{t(12,T={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,T={...Nt,label:at.label,icon:at.icon})})})}else t(12,T=await Ue(Nt,Ct))}}}),t(40,D=ke.getSideNavAccordionMode(y)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=ke.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:L}=e,{navHeader:T}=e,{navParentNode:V}=e,O,F,z,ae=ht("store"),fe=ht("getTranslation");ki(i,fe,x=>t(24,n=x));let X=!1;const pe=x=>ke.getNodeLabel(x),ee=async()=>{const x=l.get(),Te=await Vt.getLeftNavData({...x},x);!Te||(l.set(Te),F=p,window.LEFTNAVDATA=Te.children)};Jt(()=>{t(3,h=ie.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=ie.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,X=ie.getConfigValue("navigation.addNavHrefs")),t(1,o=ie.getConfigBooleanValue("settings.hideNavigation")),t(22,z=ie.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),on.doOnStoreChange(ae,()=>{t(2,c=ie.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(ae,()=>{ee()},["navigation.viewgroupdata"]);let x=mi.initial();t(6,S=x.isSemiCollapsed),t(39,g=x.semiCollapsible),mi.onValueChanged(Te=>{t(6,S=Te.isSemiCollapsed)}),An.addEventListener("message",Te=>{Te.data.msg==="luigi.navigation.update-badge-counters"&&ee()})}),zn(()=>{(!F||F!=p)&&ee(),t(22,z=ie.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=ke.loadExpandedCategories()),t(3,h=ie.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:H}=e;function oe(x){return ke.renderIconClassName(x)}function $(x){return ke.isOpenUIiconName(x)}function J(x){return x.testId?x.testId:ke.prepareForTests(x.pathSegment,x.label)}function Ce(x){return me.getNodeHref(x,b)}function te(x,Te){return x&&x.testId?x.testId:ke.prepareForTests(Te||x.label)}async function Ue(x,Te){const at=me.mapPathToNode(et.getCurrentPath(),Te),Ct=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(x,Ct)}function Pe(x,Te){return ke.generateTooltipText(x,Te)}function ce(x){r("handleClick",{node:x})}function Z(x,Te){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(x.metaInfo&&x.metaInfo.label?at=x.metaInfo.label:at=x.category&&x.category.label||x.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===C){t(8,C=mi.closePopupMenu(C));return}t(8,C=at),he(Te)}}function he(x){const Te=x.closest(".fd-nested-list__item"),at=Te.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Te.getElementsByClassName("lui-flyout-sublist")[0],Rn=x.closest(".lui-fd-side-nav-wrapper").scrollTop,qn=at+Nt-Rn,ni=Ct-at-Te.offsetHeight+Rn-Nt;qn+ln.offsetHeight>=Ct?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=qn-Nt+"px"})}function re(){if(g){let x=mi.onResize(C);t(6,S=x.isSemiCollapsed),t(8,C=x.selectedCategory)}}function Ve(x){if(x.code==="ArrowRight"){const at=Ie.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(x){let Te=V?V.parent:void 0;for(;Te;){if(Te.pathSegment&&Te.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Te});return}Te=Te.parent}console.warn('Could not resolve "up"-node, redirecting to root'),d_.navigate("/")}function be(x,Te){mi.getCollapsed()||t(9,N=ke.storeExpandedState(x.metaInfo.categoryUid,Te,D))}function We(){t(8,C=mi.closePopupMenu(C))}function St(x){x&&x.code==="Escape"&&We()}function Wt(){t(6,S=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),un()}function kt(x){const Te=x.code;(Te==="Enter"||Te==="Space")&&Wt()}function Yt(x,Te){(x.code==="Enter"||x==="Space")&&Z(Te,x.currentTarget)}function pn(x,Te){x.keyCode===Si&&ke.handleNavAnchorClickedWithoutMetaKey(x)&&ce(Te)}function un(){if(!ke.getBurgerTooltipConfig())return;const[x,Te]=ke.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");x&&Te&&at&&t(11,L=document.body.classList.contains("semiCollapsed")?x:Te)}function mn(x,Te){return kn(x,Te)?x.metaInfo.titleCollapseButton?n(x.metaInfo.titleCollapseButton):void 0:x.metaInfo.titleExpandButton?n(x.metaInfo.titleExpandButton):void 0}const Ui=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},bn=(x,Te)=>pn(Te,x),Qt=x=>be(x,!kn(x,N)),En=x=>be(x,!kn(x,N)),Rt=(x,Te)=>Yt(Te,x),fl=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},xt=(x,Te)=>pn(Te,x),fn=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},Gn=(x,Te)=>pn(Te,x),Gt=x=>Z(x,event.currentTarget),Cn=(x,Te)=>{ke.handleNavAnchorClickedWithoutMetaKey(Te)&&ce(x)},fi=(x,Te)=>pn(Te,x),ci=x=>Wt(),cn=x=>Wt(),Ci=x=>kt(x);return i.$$set=x=>{"children"in x&&t(0,s=x.children),"hideNavComponent"in x&&t(1,o=x.hideNavComponent),"footerText"in x&&t(2,c=x.footerText),"semiCollapsible"in x&&t(39,g=x.semiCollapsible),"semiCollapsibleButton"in x&&t(3,h=x.semiCollapsibleButton),"semiCollapsibleButtonStyle"in x&&t(4,_=x.semiCollapsibleButtonStyle),"pathData"in x&&t(5,p=x.pathData),"pathParams"in x&&t(42,b=x.pathParams),"virtualGroupPrefix"in x&&t(14,v=x.virtualGroupPrefix),"isSemiCollapsed"in x&&t(6,S=x.isSemiCollapsed),"selectedNode"in x&&t(7,y=x.selectedNode),"selectedCategory"in x&&t(8,C=x.selectedCategory),"expandedCategories"in x&&t(9,N=x.expandedCategories),"hasCategoriesWithIcon"in x&&t(10,I=x.hasCategoriesWithIcon),"sideNavAccordionMode"in x&&t(40,D=x.sideNavAccordionMode),"burgerTooltip"in x&&t(11,L=x.burgerTooltip),"navHeader"in x&&t(12,T=x.navHeader),"navParentNode"in x&&t(41,V=x.navParentNode),"sortedChildrenEntries"in x&&t(13,H=x.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const x=Object.entries(s);x.sort((Te,at)=>Te[1].metaInfo.order-at[1].metaInfo.order),t(13,H=x)}},[s,o,c,h,_,p,S,y,C,N,I,L,T,H,v,ce,Z,re,Ve,He,be,We,z,X,n,fe,pe,oe,$,J,Ce,te,Pe,St,Wt,kt,Yt,pn,mn,g,D,V,b,he,Ui,bn,Qt,En,Rt,fl,xt,fn,Gn,Gt,Cn,fi,ci,cn,Ci]}class m2 extends Et{constructor(e){super(),At(this,e,p2,g2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const b2=i=>{on.doOnStoreChange(i.store,()=>{const e=ie.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}),ie.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),p_(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"])},v2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),p_=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 ne.trimTrailingSlash(ne.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!v2(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=Xr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function nd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function id(i,e,t){const n=i.slice();return n[43]=e[t],n}function w2(i){let e,t,n,l,r=i[1]&&ld(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){E(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=ld(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 S2(i){let e,t,n,l,r=i[1]&&rd(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){E(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(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 ld(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){E(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 rd(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){E(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 sd(i){let e,t;function n(o,c){return o[3]?k2:C2}let l=n(i),r=l(i),s=i[10]&&pd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),E(o,e,c),s&&s.m(o,c),E(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=pd(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 k2(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?P2:y2}let p=_(i),b=p(i),v=i[4]&&i[5]&&dd(i),S=i[7]&&i[7].length>0&&hd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),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){E(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=le(t,"click",Ut(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=dd(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=hd(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),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function C2(i){let e;function t(r,s){return r[12]?L2:T2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),E(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 y2(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=K(),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,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function P2(i){let e,t,n,l=i[7]&&i[7].length===1&&ad(i),r=i[7]&&i[7].length>1&&od(i),s=i[7].length>1&&!i[5]&&cd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=Se()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),s&&s.m(o,c),E(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=ad(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=od(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=cd(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 ad(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){E(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ne(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function od(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=fd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=fd(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){ct(n,l),l&&A(e)}}}function ud(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=K(),s=k("i"),o=K(),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,b){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=le(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Ne(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function fd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&ud(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(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=ud(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function cd(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=K(),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,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Mt(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ne(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function dd(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){E(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ne(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&A(e),o=!1,c()}}}function hd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=_d(nd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(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=nd(l,t,s);n[s]?n[s].p(o,r):(n[s]=_d(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){ct(n,l),l&&A(e)}}}function N2(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ne(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function I2(i){let e,t=i[16]&&gd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=gd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function gd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new gr(!1),l=K(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){E(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 _d(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!ne.isFunction(o[8])),e)return I2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return N2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),E(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 T2(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){E(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function L2(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){E(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ne(l,n)},d(o){o&&A(e),r=!1,s()}}}function pd(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){E(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function A2(i){let e,t;function n(o,c){return o[12]?S2:w2}let l=n(i),r=l(i),s=i[2]&&sd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),E(o,e,c),s&&s.m(o,c),E(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=sd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const E2=()=>{};function R2(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,L,T=ht("getUnsavedChangesModalPromise"),V=ht("getTranslation");ki(i,V,be=>t(17,n=be));let O=ht("store");const F={closeDropDown:()=>{ee("appSwitcherPopover")}},z=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(We=>{We==="pathData"?t(24,N=be.pathData):We==="appSwitcherItems"?t(7,b=be.appSwitcherItems):We==="itemRenderer"?t(8,v=be.itemRenderer):We==="pathParams"?t(9,S=be.pathParams):We==="selectedItem"?t(5,_=be.selectedItem):We==="title"?t(2,o=be.title):We==="defaultSubTitle"?t(23,C=be.defaultSubTitle):We==="subTitle"?t(10,y=be.subTitle):We==="defaultTitle"?t(6,p=be.defaultTitle):We==="subTitle"?t(10,y=be.subTitle):We==="showMainAppEntry"?t(4,h=be.showMainAppEntry):We==="hasApps"?t(3,c=be.hasApps):We==="hasLogo"&&t(1,s=be.hasLogo)})},store:O});Jt(()=>{b2(z())}),zn(()=>{(!L||L!=N)&&(p_(z()),L=N)});function ae(be,We,St){return setTimeout(()=>{We&&v(be,We.children[St],F)}),""}function fe(be){T().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function X(){T().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ee("appSwitcherPopover")}function ee(be){l("toggleDropdownState",{name:be})}function H(be){return be.testId?be.testId:ke.prepareForTests(be.title||be)}function oe(be,We){if(be.link){const St=me.applyPathParams(be.link,We);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function $(be){return me.getNodeHref(be)}function J(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ce=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&fe("/")};function te(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>fe("/"),Pe=be=>{ke.handleNavAnchorClickedWithoutMetaKey(be)&&fe("/")},ce=()=>fe("/"),Z=()=>ee("appSwitcherPopover"),he=()=>ee("appSwitcherPopover"),re=()=>ee("appSwitcherPopover"),Ve=(be,We)=>{ke.handleNavAnchorClickedWithoutMetaKey(We)&&fe(be.link)};function He(be){$e[be?"unshift":"push"](()=>{D=be,t(16,D)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,c=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,N=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,c,h,_,p,b,v,S,y,g,I,fe,X,ee,D,n,V,ae,H,oe,$,C,N,pe,J,Ce,te,Ue,Pe,ce,Z,he,re,Ve,He]}class D2 extends Et{constructor(e){super(),At(this,e,R2,A2,Tt,{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 md(i,e,t){const n=i.slice();return n[34]=e[t],n}function bd(i){let e,t,n,l,r,s,o=i[0]&&vd(i),c=(i[10]||i[11])&&Nd(i);return{c(){e=k("div"),o&&o.c(),t=K(),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){E(g,e,h),o&&o.m(e,null),E(g,t,h),E(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=vd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Nd(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 vd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?M2:V2}let g=c(i),h=g(i),_=i[7].name&&wd(i),p=i[7].description&&Sd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=Cd(md(i,b,y));let S=i[12]&&yd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),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){E(y,e,C),h.m(e,null),E(y,t,C),E(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),E(y,r,C),E(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=wd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Sd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let N;for(N=0;N<b.length;N+=1){const I=md(y,b,N);v[N]?v[N].p(I,C):(v[N]=Cd(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=yd(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),ct(v,y),S&&S.d()}}}function V2(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ne(n,t)},d(l){l&&A(e)}}}function M2(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"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function wd(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Sd(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ne(n,t)},d(l){l&&A(e)}}}function kd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?F2:O2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 O2(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),oi(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&oi(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 F2(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){E(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 Cd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&kd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),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(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=kd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&A(e),_&&_.d(),g=!1,Ze(h)}}}function yd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Pd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),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,_){E(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[le(e,"click",Mt(i[5])),le(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Pd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ne(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Ze(c)}}}function Pd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?B2:U2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 U2(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){E(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 B2(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){E(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 Nd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Id(i),l=i[10]&&!i[8]&&Td(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Id(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Td(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 Id(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){E(c,e,g),w(e,t),w(t,l),s||(o=le(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ne(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),s=!1,o()}}}function Td(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),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){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Ze(r)}}}function H2(i){let e,t=!i[1]&&bd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=bd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function W2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,J=>t(13,n=J));let C=ht("getUnsavedChangesModalPromise"),N=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),nn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),nn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function D(J){return ke.renderIconClassName(J)}function L(J){return ke.isOpenUIiconName(J.icon)}function T(J){return J.testId?J.testId:ke.prepareForTests(J.label)}function V(J){return me.getNodeHref(J)}function O(){b||(on.doOnStoreChange(S,async()=>{const J=await ie.getConfigValueAsync("navigation.profile.logout"),Ce=await ie.getConfigValueAsync("userSettings"),te=Ce||await ie.getConfigValueAsync("settings.userSettings"),Ue={items:await ie.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(te)){const Pe=te.userSettingsProfileMenuEntry;Ue.settings={...ol.userSettingsProfileMenuEntry,...Pe}}Ue.logout={...ol.logout,...J},t(11,_=Boolean(J)),v=!1,nn.setProfileLogoutFn(null),J&&ne.isFunction(J.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(te))},["navigation.profile"]),b=!0)}async function F(){const J=await ie.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(nn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const Ce=me.buildRoute(J,`${J.link}`);N(Ce,J.openNodeInModal===!0?{}:J.openNodeInModal)}else et.navigateToLink(J)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?X():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){Xr.openUserSettings(),l("toggleDropdownState")}function X(){nn.logout()}function pe({keyCode:J}){(J===Si||J===fa)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ee}=e;const H=J=>{ke.handleNavAnchorClickedWithoutMetaKey(J)},oe=J=>z(J),$=J=>pe(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,ee=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=Boolean(o&&(o.name||o.email)))},[ee,r,s,z,ae,fe,pe,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,X,H,oe,$]}class z2 extends Et{constructor(e){super(),At(this,e,W2,H2,Tt,{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 Ld(i,e,t){const n=i.slice();return n[34]=e[t],n}function Ad(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Dd(Ld(i,o,_));let g=i[12]&&Vd(i),h=(i[10]||i[11])&&Od(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<c.length;_+=1)c[_].c();l=K(),g&&g.c(),r=K(),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){E(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].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=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ld(_,o,b);c[b]?c[b].p(v,p):(c[b]=Dd(v),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Vd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ct(c,_),g&&g.d(),h&&h.d()}}}function Ed(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){E(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ne(l,n)},d(r){r&&A(e)}}}function Rd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?q2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 G2(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){E(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 q2(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){E(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 Dd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Rd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),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(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Rd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ne(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&A(e),_&&_.d(),g=!1,Ze(h)}}}function Vd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&Md(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),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){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[le(e,"click",Mt(i[5])),le(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Md(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Ze(g)}}}function Md(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?j2:K2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 K2(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){E(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 j2(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){E(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 Od(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Fd(i),l=i[10]&&!i[8]&&Bd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Fd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Bd(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 Fd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Ud(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),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){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=le(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Ud(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ne(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Ud(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Y2:J2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 J2(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){E(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 Y2(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){E(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 Bd(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){E(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function Q2(i){let e,t=!i[1]&&Ad(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Ad(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function Z2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,J=>t(13,n=J));let C=ht("getUnsavedChangesModalPromise"),N=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),nn.getLoggedInStore().subscribe(J=>{t(8,c=J)}),nn.getUserInfoStore().subscribe(J=>{t(7,o=J),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function D(J){return ke.renderIconClassName(J)}function L(J){return ke.isOpenUIiconName(J.icon)}function T(J){return J.testId?J.testId:ke.prepareForTests(J.label)}function V(J){return me.getNodeHref(J)}function O(){b||(on.doOnStoreChange(S,async()=>{const J=await ie.getConfigValueAsync("navigation.profile.logout"),Ce=await ie.getConfigValueAsync("userSettings"),te=Ce||await ie.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(te));const Ue={items:await ie.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Pe=te.userSettingsProfileMenuEntry;Ue.settings={...ol.userSettingsProfileMenuEntry,...Pe}}Ue.logout={...ol.logout,...J},t(11,_=Boolean(J)),v=!1,nn.setProfileLogoutFn(null),J&&ne.isFunction(J.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(J.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const J=await ie.getConfigValueAsync("navigation.profile.staticUserInfoFn");J&&(nn.setUserInfo(o),t(7,o=J),l("userInfoUpdated",o))}function z(J){C().then(()=>{if(J.openNodeInModal){const Ce=me.buildRoute(J,`${J.link}`);N(Ce,J.openNodeInModal===!0?{}:J.openNodeInModal)}else et.navigateToLink(J)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?X():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function fe(){Xr.openUserSettings(),l("toggleDropdownState")}function X(){nn.logout()}function pe({keyCode:J}){(J===Si||J===fa)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ee}=e;const H=J=>{ke.handleNavAnchorClickedWithoutMetaKey(J)},oe=J=>z(J),$=J=>pe(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,ee=J.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=Boolean(o&&(o.name||o.email)))},[ee,r,s,z,ae,fe,pe,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,X,H,oe,$]}class m_ extends Et{constructor(e){super(),At(this,e,Z2,Q2,Tt,{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 Hd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Wd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=qd(Hd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Hd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=qd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&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]),b,v,S,y,C,N;function I(O,F){return F&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?$2:X2}let D=I(i,-1),L=D(i);r=new ti({props:{node:i[12]}});let T=p&&Gd(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),L.c(),l=K(),Ke(r.$$.fragment),s=K(),o=k("div"),c=k("div"),h=ye(g),_=K(),T&&T.c(),b=K(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,F){E(O,e,F),w(e,t),L.m(t,null),w(t,l),Ge(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),T&&T.m(o,null),w(e,b),y=!0,C||(N=le(e,"click",V),C=!0)},p(O,F){i=O,D===(D=I(i,F))&&L?L.p(i,F):(L.d(1),L=D(i),L&&(L.c(),L.m(t,l)));const z={};F&2&&(z.node=i[12]),r.$set(z),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Ne(h,g),F&34&&(p=i[5](i[12])),p?T?T.p(i,F):(T=Gd(i),T.c(),T.m(o,null)):T&&(T.d(1),T=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){q(r.$$.fragment,O),y=!1},d(O){O&&A(e),L.d(),qe(r),T&&T.d(),C=!1,N()}}}function X2(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){E(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 $2(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){E(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 Gd(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){E(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function qd(i){let e,t,n=i[12].label&&zd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&U(n,1)):(n=zd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function x2(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I,D=i[1]&&Wd(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=K(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=K(),b=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(b,"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(L,T){E(L,e,T),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,b),w(b,v),w(v,S),w(S,y),C=!0,N||(I=[le(y,"click",i[9]),le(e,"click",Ut(ek))],N=!0)},p(L,[T]){(!C||T&1)&&Ne(o,L[0]),L[1]?D?(D.p(L,T),T&2&&U(D,1)):(D=Wd(L),D.c(),U(D,1),D.m(_,null)):D&&(Le(),q(D,1,1,()=>{D=null}),Ae())},i(L){C||(U(D),C=!0)},o(L){q(D),C=!1},d(L){L&&A(e),D&&D.d(),N=!1,Ze(I)}}}const ek=()=>{};function tk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return ke.renderIconClassName(S)}function p(S){n("listClick",S)}function b(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,_,b,v]}class b_ extends Et{constructor(e){super(),At(this,e,tk,x2,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:nk}=Fi;function Kd(i,e,t){const n=i.slice();return n[6]=e[t],n}function jd(i){let e,t,n,l=i[0]&&Jd(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){E(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=Jd(r),l.c(),U(l,1),l.m(t,null)):l&&(Le(),q(l,1,1,()=>{l=null}),Ae())},i(r){n||(U(l),n=!0)},o(r){q(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function Jd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Qd(Kd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Kd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Qd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function Yd(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(L,T){return T&1&&(l=null),l==null&&(l=!!(L[6].icon&&L[9](L[6]))),l?lk:ik}let N=C(i,-1),I=N(i);s=new ti({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),Ke(s.$$.fragment),o=K(),c=k("span"),h=ye(g),p=K(),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",b=i[12](i[6]))},m(L,T){E(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),Ge(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[le(t,"click",i[14]),le(e,"click",D)],S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T&1&&(V.node=i[6]),s.$set(V),(!v||T&1)&&g!==(g=i[11](i[6])+"")&&Ne(h,g),(!v||T&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||T&1&&b!==(b=i[12](i[6])))&&f(e,"data-testid",b)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){q(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),qe(s),S=!1,Ze(y)}}}function ik(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){E(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 lk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){E(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 Qd(i){let e,t,n=i[6].label&&Yd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&U(n,1)):(n=Yd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Zd(i){let e,t;return e=new b_({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(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function rk(i){let e,t,n,l,r,s=!i[1]&&jd(i),o=i[1]&&Zd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=Se()},m(c,g){s&&s.m(c,g),E(c,e,g),o&&o.m(c,g),E(c,t,g),n=!0,l||(r=le(nk,"resize",sa),l=!0)},p(c,[g]){c[1]?s&&(Le(),q(s,1,1,()=>{s=null}),Ae()):s?(s.p(c,g),g&2&&U(s,1)):(s=jd(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=Zd(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(Le(),q(o,1,1,()=>{o=null}),Ae())},i(c){n||(U(s),U(o),n=!0)},o(c){q(s),q(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function sa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function sk(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Jt(async()=>{sa()}),zn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function b(V){c().then(()=>{if(V.openNodeInModal){const O=me.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else et.handleRouteClick(V,p())},()=>{}),S()}function v(V){b(V.detail)}function S(){n("close")}function y(V){return ke.isOpenUIiconName(V.icon)}function C(V){return ke.renderIconClassName(V)}function N(V){return pt.getTranslation(V.label)}function I(V){return V.testId?V.testId:ke.prepareForTests(V.pathSegment,V.label)}function D(V){return me.getNodeHref(V,o)}const L=V=>{ke.handleNavAnchorClickedWithoutMetaKey(V)},T=V=>b(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,b,v,S,sa,s,h,_,y,C,N,I,D,L,T]}class v_ extends Et{constructor(e){super(),At(this,e,sk,rk,Tt,{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 sa}}const _n={_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?ne.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=ne.addLeadingSlash(et.getCurrentPath()),n=ne.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ne.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=ne.normalizePath(i),n=ne.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ie.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=_n._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=ne.normalizePath(i),t=ne.normalizePath(t),!!_n.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=_n.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 _n.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=ie.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ie.getConfigValueAsync("navigation.contextSwitcher.options");return await _n.generateSwitcherNav(e,t)}};function Xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(xd(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){E(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=xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=nh(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),ct(n,l)}}}function th(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",Mt(hk)),le(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Ze(h)}}}function nh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&th(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(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=th(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function ih(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>
|
|
55
55
|
<div class="fd-busy-indicator__circle"></div>
|
|
56
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function lh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=rh($d(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=$d(l,t,s);n[s]?n[s].p(o,r):(n[s]=rh(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){ct(n,l),l&&A(e)}}}function ak(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function ok(i){let e,t,n,l,r;function s(h,_){return h[2]?fk:uk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=K(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){E(h,e,_),c.m(e,null),E(h,n,_),l||(r=le(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&A(e),c.d(),h&&A(n),l=!1,r()}}}function uk(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,_){E(h,e,_),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ne(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&A(e),c=!1,g()}}}function fk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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:Fe,m:Fe,p:Fe,d:Fe}}function rh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:ck,then:ok,catch:ak,value:26};return na(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),n.block.c()},m(l,r){E(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))&&na(t,n)||n_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function sh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(Xd(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){E(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=Xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ct(n,l)}}}function ah(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",i[18]),le(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Ze(h)}}}function oh(i){let e,t=i[21].position==="bottom"&&ah(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=ah(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function dk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&eh(i),c=i[3]&&i[3].length===0&&i[11]&&ih(),g=i[3]&&i[3].length&&lh(i),h=i[0]&&i[0].length&&sh(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),c&&c.c(),l=K(),g&&g.c(),r=K(),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){E(_,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=eh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=ih(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=lh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=sh(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const hk=()=>{};function gk(i,e,t){let n,l=Fe,r=()=>(l(),l=Lo(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:b}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Bt();function I(z){N("onActionClick",{node:z})}function D(z,ae){N("goToOption",{option:z,selectedOption:ae})}const L=z=>I(z),T=z=>{ke.handleNavAnchorClickedWithoutMetaKey(z)},V=z=>D(z,_),O=z=>{ke.handleNavAnchorClickedWithoutMetaKey(z)},F=z=>I(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,b=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,b,v,S,y,C,I,D,n,L,T,V,O,F]}class w_ extends Et{constructor(e){super(),At(this,e,gk,dk,Tt,{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 uh(i){let e,t,n,l=!i[9]&&fh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&ch(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[9]?l&&(Le(),q(l,1,1,()=>{l=null}),Ae()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=fh(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=ch(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function fh(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?pk:_k}let p=_(i),b=p(i);return s=new w_({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"),b.c(),l=K(),r=k("div"),Ke(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){E(v,e,S),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Ge(s,r,null),c=!0,g||(h=le(n,"click",Ft(Nk)),g=!0)},p(v,S){p===(p=_(v))&&b?b.p(v,S):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(U(s.$$.fragment,v),c=!0)},o(v){q(s.$$.fragment,v),c=!1},d(v){v&&A(e),b.d(),qe(s),g=!1,h()}}}function _k(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?bk:mk}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,_){E(h,e,_),g.m(e,null),r||(s=le(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function pk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?kk:Sk}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,_){E(h,e,_),g.m(e,null),r||(s=le(e,"click",Vt(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function mk(i){let e,t;function n(s,o){return s[4]?vk:wk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(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 bk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 vk(i){let e;return{c(){e=ye(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function wk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function Sk(i){let e,t;function n(s,o){return s[4]?Ck:yk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(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 kk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 Ck(i){let e;return{c(){e=ye(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function yk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function ch(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I=!i[4]&&dh(i),D=i[4]&&hh(i);return h=new w_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),D&&D.c(),c=K(),g=k("div"),Ke(h.$$.fragment),_=K(),p=k("footer"),b=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(b,"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(L,T){E(L,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),Ge(h,g,null),w(t,_),w(t,p),w(p,b),w(b,v),w(v,S),y=!0,C||(N=[le(S,"click",i[12]),le(e,"click",Ft(Ik))],C=!0)},p(L,T){L[4]?I&&(I.d(1),I=null):I?I.p(L,T):(I=dh(L),I.c(),I.m(s,o)),L[4]?D?D.p(L,T):(D=hh(L),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};T[0]&1&&(V.actions=L[0]),T[0]&32&&(V.config=L[5]),T[0]&64&&(V.customOptionsRenderer=L[6]),T[0]&2&&(V.options=L[1]),T[0]&16&&(V.selectedLabel=L[4]),T[0]&4&&(V.selectedOption=L[2]),T[0]&512&&(V.isMobile=L[9]),T[0]&16384&&(V.isContextSwitcherDropdownShown=L[14]),h.$set(V)},i(L){y||(U(h.$$.fragment,L),y=!0)},o(L){q(h.$$.fragment,L),y=!1},d(L){L&&A(e),I&&I.d(),D&&D.d(),qe(h),C=!1,Ze(N)}}}function dh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function hh(i){let e;return{c(){e=ye(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Pk(i){let e,t,n=i[3]&&uh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&U(n,1)):(n=uh(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const Nk=()=>{},Ik=()=>{};function Tk(i,e,t){let n,l;const r=Bt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,L,T=ht("getUnsavedChangesModalPromise"),V=ht("store"),O=ht("getTranslation");Si(i,O,ce=>t(16,l=ce));let F=!1,z,ae,fe;Jt(async()=>{an.doOnStoreChange(V,async()=>{const ce=ie.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=ne.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=ne.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await ie.getConfigValueAsync("navigation.contextSwitcher.actions"));const Z=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),gn.resetFallbackLabelCache(),ce.lazyloadOptions||await H(),gn.isContextSwitcherDetailsView(Z,ce.parentNodePath)&&await oe(Z)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>oe(ce)),Ln.addEventListener("message",ce=>{!Ie.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),H())}),t(23,D=g.defaultLabel)}),Hn(()=>{F!==I&&(F=I,H()),t(14,fe=o.contextSwitcherPopover||!1)});function X(ce,Z,he){return ce?Promise.resolve(ce):gn.getFallbackLabel(Z,he)}function pe(ce){return ce.testId?ce.testId:ke.prepareForTests(ce.pathSegment,ce.label)}function ee(ce){return me.getNodeHref(ce,S)}async function H(){t(1,_=await gn.fetchOptions(_));const ce=g||{},Z=ce.parentNodePath,he=ce.fallbackLabelResolver,re=et.getCurrentPath();t(2,b=await gn.getSelectedOption(re,_,Z)),t(4,c=await gn.getSelectedLabel(re,_,Z,he)),t(13,z=await gn.getSelectedNode(re,_,Z)),L=ce.preserveSubPathOnSwitch}async function oe(ce){const Z=g||{},he=Z.parentNodePath,re=Z.fallbackLabelResolver;t(2,b=await gn.getSelectedOption(ce,_,he)),t(4,c=await gn.getSelectedLabel(ce,_,he,re)),t(13,z=await gn.getSelectedNode(ce,_,he))}async function $(ce){let Z=ce.detail.node;Z.clickHandler&&!await Z.clickHandler(Z)||(setTimeout(()=>{J(Z.link)}),N&&r("toggleDropdownState"))}function J(ce){T().then(()=>{et.navigateTo(ce)},()=>{})}function Ce(ce){let Z=ce.detail.option,he=ce.detail.selectedOption;T().then(()=>{L&&he?et.navigateTo(gn.getNodePathFromCurrentPath(Z,he)):et.navigateTo(Z.link),N&&r("toggleDropdownState")},()=>{})}function te(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&H()}const Ue=()=>{n&&te()},Pe=()=>{n&&te()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,b=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,D=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,c,g,y,C,o,N,$,Ce,te,z,fe,n,l,O,ae,X,pe,ee,v,D,S,I,H,oe,J,p,Ue,Pe]}class S_ extends Et{constructor(e){super(),At(this,e,Tk,Pk,Tt,{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:Lk}=Fi;function gh(i,e,t){const n=i.slice();return n[22]=e[t],n}function _h(i){let e,t,n,l=!i[2]&&ph(i),r=i[2]&&i[3].productSwitcherPopover&&Sh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=ph(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Sh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?Ek:Ak}let I=N(i,-1),D=I(i),L=i[0],T=[];for(let V=0;V<L.length;V+=1)T[V]=wh(gh(i,L,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",v=$n(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,b);for(let F=0;F<T.length;F+=1)T[F].m(b,null);y||(C=[le(r,"click",Ft(i[7])),le(l,"click",Ft(Bk))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){L=V[0];let F;for(F=0;F<L.length;F+=1){const z=gh(V,L,F);T[F]?T[F].p(z,O):(T[F]=wh(z),T[F].c(),T[F].m(b,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}O&512&&v!==(v=$n(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ct(T,V),y=!1,Ze(C)}}}function Ak(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){E(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 Ek(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(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 mh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Dk:Rk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){E(_,e,p),g.m(e,null),w(e,t),r||(s=le(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&A(e),g.d(),r=!1,s()}}}function Rk(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?Mk:Vk}let _=h(i,-1),p=_(i),b=g&&bh(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=ye(s),c=K(),b&&b.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){E(v,e,S),p.m(e,null),E(v,n,S),E(v,l,S),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Ne(o,s),S&1&&(g=v[13](v[22])),g?b?b.p(v,S):(b=bh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),b&&b.d()}}}function Dk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,b;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?Fk:Ok}let S=v(i,-1),y=S(i),C=h&&vh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),c=ye(o),g=K(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){E(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(b=le(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ne(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=vh(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,b()}}}function Vk(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){E(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 Mk(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){E(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 bh(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){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ok(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){E(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 Fk(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){E(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 vh(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){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function wh(i){let e,t=i[22].label&&mh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=mh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sh(i){let e,t;return e=new b_({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(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Uk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&_h(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),E(o,t,c),n=!0,l||(r=le(Lk,"resize",aa),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=_h(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(Le(),q(s,1,1,()=>{s=null}),Ae())},i(o){n||(U(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Bk=()=>{};function Hk(i,e,t){const n=Bt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{an.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await ie.getConfigValueAsync("navigation.productSwitcher.items")),I()),aa()},["navigation.productSwitcher"])});function p(O){g().then(()=>{et.navigateToLink(O)},()=>{}),v()}function b(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return ke.renderIconClassName(O)}function y(O){return ke.isOpenUIiconName(O.icon)}function C(O){return _t.getTranslation(O.label)}function N(O){return _t.getTranslation(O.subTitle)}function I(){ke.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:ke.prepareForTests(O.label)}function L(O){return me.getNodeHref(O)}const T=O=>{ke.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,b,v,aa,h,S,y,C,N,D,L,T,V]}class k_ extends Et{constructor(e){super(),At(this,e,Hk,Uk,Tt,{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 aa}}function kh(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function Wk(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){E(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&A(e),i[19](null),t=!1,n()}}}function zk(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){E(t,e,n),e.focus()},p:Fe,d(t){t&&A(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[23](e)},p:Fe,d(t){t&&A(e),i[23](null)}}}function qk(i){let e,t,n,l=i[5]&&Ch(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){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Ch(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 Ch(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=yh(kh(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){E(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=kh(l,t,s);n[s]?n[s].p(o,r):(n[s]=yh(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),ct(n,l),i[22](null)}}}function Kk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 jk(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Vt(Yk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Ne(r,l),b[0]&32&&c!==(c=p[31].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function yh(i){let e,t,n,l;function r(h,_){return h[9]?Kk:jk}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=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Ze(l)}}}function Jk(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(T,V){return T[7]&&T[7].disableInputHandlers?zk:Wk}let C=y(i),N=C(i);function I(T,V){return T[8]?Gk:qk}let D=I(i),L=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=K(),L.c(),c=K(),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",b=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(T,V){E(T,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),L.m(n,null),E(T,c,V),E(T,g,V),w(g,h),w(h,_),w(_,p),v||(S=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Ft(Qk)),le(_,"click",i[6]),le(h,"click",Ft(Zk))],v=!0)},p(T,V){C===(C=y(T))&&N?N.p(T,V):(N.d(1),N=C(T),N&&(N.c(),N.m(l,null))),D===(D=I(T))&&L?L.p(T,V):(L.d(1),L=D(T),L&&(L.c(),L.m(n,null))),V[0]&16&&s!==(s=!T[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(T[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&b!==(b=!T[4])&&f(_,"aria-expanded",b)},i:Fe,o:Fe,d(T){T&&A(e),N.d(),L.d(),T&&A(c),T&&A(g),v=!1,Ze(S)}}}const Yk=()=>{},Qk=()=>{},Zk=()=>{};function Xk(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 _=Bt(),p={fireItemSelected:$=>{b.searchProvider.onSearchResultItemSelected($)}};let b={},v,S;Jt(async()=>{t(7,b=h);let $=o;const J=C(b.searchProvider);J&&($.placeholder=J),y()}),Hn(()=>{t(7,b=h),y()});function y(){!b.searchProvider||(t(8,v=ne.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,S=ne.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function C($){if(!$||!$.inputPlaceholder)return;const J=_t.getCurrentLocale();if(ne.isFunction($.inputPlaceholder))return $.inputPlaceholder();if(typeof $.inputPlaceholder=="string"){const Ce=_t.getTranslation($.inputPlaceholder);return!!Ce&&Ce.trim().length>0?Ce:$.inputPlaceholder}if(typeof $.inputPlaceholder=="object")return $.inputPlaceholder[J]}function N($,J,Ce){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer($,J.children[Ce],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:$}){b&&b.searchProvider?ne.isFunction(b.searchProvider.onEnter)&&$===wi?b.searchProvider.onEnter():ne.isFunction(b.searchProvider.onEscape)&&$===vi?b.searchProvider.onEscape():$===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function L($){let J=g.children;if(J)for(let Ce=0;Ce<J.length;Ce++){let{childNodes:te,nextSibling:Ue,previousSibling:Pe}=J[Ce],ce;if(te[0].getAttribute("aria-selected")==="true"){$===Oi&&(ce=Ue!==null?Ue:J[0]),$===El&&(ce=Pe!==null?Pe:J[J.length-1]),te[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function T(){let $=g.children;if($)for(let J=0;J<$.length;J++){let Ce=$[J];Ce.childNodes[0].getAttribute("aria-selected")==="true"&&Ce.childNodes[0].setAttribute("aria-selected","false")}}function V($){b&&ne.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected($):ne.isFunction(b.searchProvider.onEscape)&&event.keyCode===vi&&b.searchProvider.onEscape()}function O($,{keyCode:J}){J===wi&&b.searchProvider.onSearchResultItemSelected($),J===El||J===Oi?L(J):ne.isFunction(b.searchProvider.onEscape)&&J===vi&&(T(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F($){let J=$.pathObject;J.externalLink?et.navigateToLink(J):_("handleSearchNavigation",{node:J})}function z(){o&&o.focus()}function ae(){if(n?t(0,r=!1):setTimeout(()=>{z()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),b&&b.searchProvider&&ne.isFunction(b.searchProvider.toggleSearch)){const $=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,$)}}const fe=$=>D($);function X($){$e[$?"unshift":"push"](()=>{o=$,t(1,o)})}const pe=($,J)=>V($),ee=($,J)=>O($,J);function H($){$e[$?"unshift":"push"](()=>{g=$,t(3,g)})}function oe($){$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,ae,b,v,S,N,I,D,V,O,s,h,F,fe,X,pe,ee,H,oe]}class $k extends Et{constructor(e){super(),At(this,e,Xk,Jk,Tt,{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 Ph(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function xk(i){let e,t,n,l,r,s,o,c=i[11]&&Nh(i);return{c(){e=k("input"),t=K(),n=k("span"),c&&c.c(),l=K(),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){E(g,e,h),i[26](e),E(g,t,h),E(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Nh(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 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-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function Nh(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){E(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function tC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[31](e)},p:Fe,d(t){t&&A(e),i[31](null)}}}function nC(i){let e,t,n,l=i[4]&&Ih(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){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Ih(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 Ih(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Th(Ph(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){E(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=Ph(l,t,s);n[s]?n[s].p(o,r):(n[s]=Th(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),ct(n,l),i[30](null)}}}function iC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 lC(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Vt(sC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Ne(r,l),b[0]&16&&c!==(c=p[40].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Th(i){let e,t,n,l;function r(h,_){return h[10]?iC:lC}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=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Ze(l)}}}function Lh(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){E(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[le(n,"click",i[6]),le(t,"click",Ft(oC))],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 Ah(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){E(g,e,h),w(e,t),w(t,l),o||(c=le(t,"click",Ft(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ne(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function rC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(L,T){return L[8]&&L[8].disableInputHandlers?eC:xk}let v=b(i),S=v(i);function y(L,T){return L[9]?tC:nC}let C=y(i),N=C(i),I=!i[5]&&Lh(i),D=i[5]&&Ah(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),N.c(),c=K(),I&&I.c(),g=K(),D&&D.c(),h=Se(),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(L,T){E(L,e,T),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),E(L,c,T),I&&I.m(L,T),E(L,g,T),D&&D.m(L,T),E(L,h,T),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Ft(aC))],_=!0)},p(L,T){v===(v=b(L))&&S?S.p(L,T):(S.d(1),S=v(L),S&&(S.c(),S.m(l,null))),C===(C=y(L))&&N?N.p(L,T):(N.d(1),N=C(L),N&&(N.c(),N.m(n,null))),T[0]&32&&s!==(s=!L[5])&&f(n,"aria-hidden",s),T[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(L[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),L[5]?I&&(I.d(1),I=null):I?I.p(L,T):(I=Lh(L),I.c(),I.m(g.parentNode,g)),L[5]?D?D.p(L,T):(D=Ah(L),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(L){L&&A(e),S.d(),N.d(),L&&A(c),I&&I.d(L),L&&A(g),D&&D.d(L),L&&A(h),_=!1,Ze(p)}}}const sC=()=>{},aC=()=>{},oC=()=>{};function uC(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 _=Bt(),p={fireItemSelected:re=>{S.searchProvider.onSearchResultItemSelected(re)}};let b=ol.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=ht("getTranslation");Si(i,I,re=>t(12,n=re)),Jt(async()=>{t(8,S=h),t(7,b=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:b);let re=o;const Ve=L(S.searchProvider);Ve&&(re.placeholder=Ve),D(),Uf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(We=>{Uf.handleVisibilityGlobalSearch()}).observe(He)}),Hn(()=>{t(8,S=h),D(),z()});function D(){t(9,y=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultItemRenderer))}function L(re){if(!re||!re.inputPlaceholder)return;const Ve=_t.getCurrentLocale();if(ne.isFunction(re.inputPlaceholder))return re.inputPlaceholder();if(typeof re.inputPlaceholder=="string"){const He=_t.getTranslation(re.inputPlaceholder);return!!He&&He.trim().length>0?He:re.inputPlaceholder}if(typeof re.inputPlaceholder=="object")return re.inputPlaceholder[Ve]}function T(re,Ve,He){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(re,Ve.children[He],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:re}){S?ne.isFunction(S.searchProvider.onEnter)&&re===wi?S.searchProvider.onEnter():ne.isFunction(S.searchProvider.onEscape)&&re===vi?S.searchProvider.onEscape():re===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&ne.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function z(){o&&o.value?t(11,N=!0):t(11,N=!1)}function ae(){t(1,o.value="",o),V(),t(11,N=!1)}function fe(re){let Ve=g.children;if(Ve)for(let He=0;He<Ve.length;He++){let{childNodes:be,nextSibling:We,previousSibling:St}=Ve[He],Ht;if(be[0].getAttribute("aria-selected")==="true"){re===Oi&&(Ht=We!==null?We:Ve[0]),re===El&&(Ht=St!==null?St:Ve[Ve.length-1]),be[0].setAttribute("aria-selected","false"),Ht.childNodes[0].setAttribute("aria-selected","true"),Ht.focus();break}}}function X(){let re=g.children;if(re)for(let Ve=0;Ve<re.length;Ve++){let He=re[Ve];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(re){S&&ne.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(re):ne.isFunction(S.searchProvider.onEscape)&&event.keyCode===vi&&S.searchProvider.onEscape()}function ee(re,{keyCode:Ve}){Ve===wi&&S.searchProvider.onSearchResultItemSelected(re),Ve===El||Ve===Oi?fe(Ve):ne.isFunction(S.searchProvider.onEscape)&&Ve===vi&&(X(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function H(re){let Ve=re.pathObject;Ve.externalLink?et.navigateToLink(Ve):_("handleSearchNavigation",{node:Ve})}function oe(){o&&o.focus()}function $(){if(v?t(0,r=!1):setTimeout(()=>{oe()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),ne.isFunction(S.searchProvider.toggleSearch)){const re=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,re)}}const J=re=>O(re);function Ce(re){$e[re?"unshift":"push"](()=>{o=re,t(1,o)})}const te=()=>z(),Ue=(re,Ve)=>pe(re),Pe=(re,Ve)=>ee(re,Ve);function ce(re){$e[re?"unshift":"push"](()=>{g=re,t(3,g)})}function Z(re){$e[re?"unshift":"push"](()=>{c=re,t(2,c)})}const he=()=>$();return i.$$set=re=>{"searchResult"in re&&t(4,l=re.searchResult),"displaySearchResult"in re&&t(0,r=re.displaySearchResult),"displayCustomSearchResult"in re&&t(22,s=re.displayCustomSearchResult),"inputElem"in re&&t(1,o=re.inputElem),"luigiCustomSearchRenderer__slot"in re&&t(2,c=re.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in re&&t(3,g=re.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in re&&t(23,h=re.globalSearchConfig),"isSearchFieldVisible"in re&&t(5,v=re.isSearchFieldVisible)},[r,o,c,g,l,v,$,b,S,y,C,N,n,I,T,V,O,F,z,ae,pe,ee,s,h,H,J,Ce,te,Ue,Pe,ce,Z,he]}class fC extends Et{constructor(e){super(),At(this,e,uC,rC,Tt,{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 Eh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?dC:cC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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){E(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 dC(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){E(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 Rh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new xr({props:{node:i[0]}}),{c(){e=k("span"),n=ye(t),l=K(),Ke(r.$$.fragment)},m(o,c){E(o,e,c),w(e,n),w(e,l),Ge(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ne(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(U(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&A(e),qe(r)}}}function hC(i){let e,t,n,l=i[0].icon&&Eh(i),r=(!i[0].icon||i[0].showLabel)&&Rh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Eh(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=Rh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function gC(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Ro extends Et{constructor(e){super(),At(this,e,gC,hC,Tt,{node:0})}}const{Boolean:C_,window:Dh}=Fi;function Vh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Mh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function _C(i){let e,t;return e=new m_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function pC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Oh(i);function S(T){i[59](T)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new D2({props:y}),$e.push(()=>bt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Fh(i),N=(!i[0]||i[1])&&Uh(i),I=(i[18]||i[7]&&i[30].length>0)&&Hh(i),D=(i[0]||i[16])&&ng(i),L=i[12]&&ig(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),Ke(l.$$.fragment),s=K(),C&&C.c(),o=K(),c=k("div"),N&&N.c(),g=K(),I&&I.c(),h=K(),D&&D.c(),_=K(),L&&L.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(T,V){E(T,e,V),w(e,t),v&&v.m(t,null),w(t,n),Ge(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),L&&L.m(c,null),b=!0},p(T,V){T[3]==="simple"||T[3]==="simpleMobileOnly"||T[3]==="Fiori3"?v?v.p(T,V):(v=Oh(T),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=T[30]),V[1]&1&&(O.pathParams=T[31]),V[0]&268435456&&(O.addNavHrefForAnchor=T[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=T[6],mt(()=>r=!1)),l.$set(O),T[18]&&T[19]?C?(C.p(T,V),V[0]&786432&&U(C,1)):(C=Fh(T),C.c(),U(C,1),C.m(e,o)):C&&(Le(),q(C,1,1,()=>{C=null}),Ae()),!T[0]||T[1]?N?(N.p(T,V),V[0]&3&&U(N,1)):(N=Uh(T),N.c(),U(N,1),N.m(c,g)):N&&(Le(),q(N,1,1,()=>{N=null}),Ae()),T[18]||T[7]&&T[30].length>0?I?(I.p(T,V),V[0]&1074004096&&U(I,1)):(I=Hh(T),I.c(),U(I,1),I.m(c,h)):I&&(Le(),q(I,1,1,()=>{I=null}),Ae()),T[0]||T[16]?D?(D.p(T,V),V[0]&65537&&U(D,1)):(D=ng(T),D.c(),U(D,1),D.m(c,_)):D&&(Le(),q(D,1,1,()=>{D=null}),Ae()),T[12]?L?(L.p(T,V),V[0]&4096&&U(L,1)):(L=ig(T),L.c(),U(L,1),L.m(c,null)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),(!b||V[0]&134217732&&p!==(p="fd-shellbar "+(T[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(T[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(T){b||(U(l.$$.fragment,T),U(C),U(N),U(I),U(D),U(L),b=!0)},o(T){q(l.$$.fragment,T),q(C),q(N),q(I),q(D),q(L),b=!1},d(T){T&&A(e),v&&v.d(),qe(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),L&&L.d()}}}function Oh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){E(r,e,s),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function Fh(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 b(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 fC({props:y}),$e.push(()=>bt(t,"isSearchFieldVisible",h)),$e.push(()=>bt(t,"searchResult",_)),$e.push(()=>bt(t,"displaySearchResult",p)),$e.push(()=>bt(t,"displayCustomSearchResult",b)),$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"),Ke(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){E(C,e,N),Ge(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],mt(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],mt(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],mt(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],mt(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],mt(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],mt(()=>c=!1)),t.$set(I)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&A(e),qe(t)}}}function Uh(i){let e,t,n,l,r=i[18]&&!i[19]&&Bh(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 S_({props:o}),$e.push(()=>bt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),Ke(t.$$.fragment)},m(c,g){r&&r.m(c,g),E(c,e,g),Ge(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&U(r,1)):(r=Bh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae());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){q(r),q(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),qe(t,c)}}}function Bh(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 b(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 $k({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",b)),$e.push(()=>bt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Ke(e.$$.fragment)},m(y,C){Ge(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],mt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],mt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],mt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],mt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],mt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],mt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function Hh(i){let e,t,n,l=i[7]&&i[30].length>0&&Wh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Kh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(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=Wh(s),l.c(),U(l,1),l.m(e.parentNode,e)):l&&(Le(),q(l,1,1,()=>{l=null}),Ae()),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=Kh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Wh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=qh(Mh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Mh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=qh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(C_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function zh(i){let e,t,n,l;const r=[bC,mC],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=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),q(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function mC(i){let e,t,n,l,r;const s=[wC,vC],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=K(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){E(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):(Le(),q(o[_],1,1,()=>{o[_]=null}),Ae(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(e,l))},i(g){r||(U(n),r=!0)},o(g){q(n),r=!1},d(g){g&&A(e),o[t].d()}}}function bC(i){let e=i[111].visibleChildren.filter(lg).length>0,t,n,l=e&&Gh(i);return{c(){l&&l.c(),t=Se()},m(r,s){l&&l.m(r,s),E(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(lg).length>0),e?l?(l.p(r,s),s[0]&128&&U(l,1)):(l=Gh(r),l.c(),U(l,1),l.m(t.parentNode,t)):l&&(Le(),q(l,1,1,()=>{l=null}),Ae())},i(r){n||(U(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&A(t)}}}function vC(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 b={};i[111]!==void 0&&(b.node=i[111]),t=new Ro({props:b}),$e.push(()=>bt(t,"node",p)),r=new xn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),Ke(t.$$.fragment),l=K(),Ke(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){E(S,e,y),Ge(t,e,null),w(e,l),Ge(r,e,null),g=!0,h||(_=le(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],mt(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(U(t.$$.fragment,S),U(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&A(e),qe(t),qe(r),h=!1,_()}}}function wC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Ro({props:v}),$e.push(()=>bt(t,"node",b)),r=new xn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),Ke(t.$$.fragment),l=K(),Ke(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){E(y,e,C),Ge(t,e,null),w(e,l),Ge(r,e,null),h=!0,_||(p=le(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],mt(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(U(t.$$.fragment,y),U(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&A(e),qe(t),qe(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I,D;function L(O){i[80](O,i[111],i[114],i[113])}let T={};i[111]!==void 0&&(T.node=i[111]),r=new Ro({props:T}),$e.push(()=>bt(r,"node",L)),c=new xn({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new v_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Ke(r.$$.fragment),o=K(),Ke(c.$$.fragment),b=K(),v=k("div"),Ke(S.$$.fragment),C=K(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,l),Ge(r,l,null),w(l,o),Ge(c,l,null),w(t,b),w(t,v),Ge(S,v,null),w(e,C),N=!0,I||(D=[le(l,"click",V),le(n,"click",Ft(MC))],I=!0)},p(O,F){i=O;const z={};!s&&F[0]&128&&(s=!0,z.node=i[111],mt(()=>s=!1)),r.$set(z);const ae={};F[0]&128&&(ae.node=i[111]),c.$set(ae),(!N||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const fe={};F[0]&128&&(fe.node=i[111]),F[1]&1&&(fe.pathParams=i[31]),F[0]&268435456&&(fe.addNavHrefForAnchor=i[28]),S.$set(fe),(!N||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),N=!0)},o(O){q(r.$$.fragment,O),q(c.$$.fragment,O),q(S.$$.fragment,O),N=!1},d(O){O&&A(e),qe(r),qe(c),qe(S),I=!1,Ze(D)}}}function qh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&zh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=zh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I,D,L,T,V,O;g=new xn({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&jh(i),z=i[46]&&(!i[0]||i[1])&&Jh(i),ae=i[7]&&Yh(i),fe=i[12]&&$h(i),X=i[12]&&xh(i),pe=i[14]&&eg(i),ee=(!i[0]||i[1])&&tg(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=K(),Ke(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),S=K(),z&&z.c(),y=K(),ae&&ae.c(),C=K(),fe&&fe.c(),I=K(),X&&X.c(),D=K(),pe&&pe.c(),L=K(),ee&&ee.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(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(H,oe){E(H,e,oe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),Ge(g,s,null),w(n,_),w(n,p),w(p,b),w(b,v),F&&F.m(v,null),w(v,S),z&&z.m(v,null),w(v,y),ae&&ae.m(v,null),w(v,C),fe&&fe.m(v,null),w(n,I),X&&X.m(n,null),w(n,D),pe&&pe.m(n,null),w(n,L),ee&&ee.m(n,null),T=!0,V||(O=[le(s,"click",i[86]),le(l,"click",Ft(OC))],V=!0)},p(H,oe){const $={};oe[0]&2048&&($.node=H[11]),g.$set($),(!T||oe[0]&64&&h!==(h=H[6].overflowPopover||!1))&&f(s,"aria-expanded",h),H[18]&&!H[19]?F?F.p(H,oe):(F=jh(H),F.c(),F.m(v,S)):F&&(F.d(1),F=null),H[46]&&(!H[0]||H[1])?z?z.p(H,oe):(z=Jh(H),z.c(),z.m(v,y)):z&&(z.d(1),z=null),H[7]?ae?(ae.p(H,oe),oe[0]&128&&U(ae,1)):(ae=Yh(H),ae.c(),U(ae,1),ae.m(v,C)):ae&&(Le(),q(ae,1,1,()=>{ae=null}),Ae()),H[12]?fe?fe.p(H,oe):(fe=$h(H),fe.c(),fe.m(v,null)):fe&&(fe.d(1),fe=null),(!T||oe[0]&64&&N!==(N=!H[6].overflowPopover))&&f(p,"aria-hidden",N),H[12]?X?(X.p(H,oe),oe[0]&4096&&U(X,1)):(X=xh(H),X.c(),U(X,1),X.m(n,D)):X&&(Le(),q(X,1,1,()=>{X=null}),Ae()),H[14]?pe?(pe.p(H,oe),oe[0]&16384&&U(pe,1)):(pe=eg(H),pe.c(),U(pe,1),pe.m(n,L)):pe&&(Le(),q(pe,1,1,()=>{pe=null}),Ae()),!H[0]||H[1]?ee?(ee.p(H,oe),oe[0]&3&&U(ee,1)):(ee=tg(H),ee.c(),U(ee,1),ee.m(n,null)):ee&&(Le(),q(ee,1,1,()=>{ee=null}),Ae())},i(H){T||(U(g.$$.fragment,H),U(ae),U(X),U(pe),U(ee),T=!0)},o(H){q(g.$$.fragment,H),q(ae),q(X),q(pe),q(ee),T=!1},d(H){H&&A(e),qe(g),F&&F.d(),z&&z.d(),ae&&ae.d(),fe&&fe.d(),X&&X.d(),pe&&pe.d(),ee&&ee.d(),V=!1,Ze(O)}}}function jh(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
57
|
-
<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){E(r,e,s),w(e,t),n||(l=le(t,"click",Ft(i[87])),n=!0)},p:Fe,d(r){r&&A(e),n=!1,l()}}}function Jh(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=K(),s=k("span"),c=ye(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){E(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=le(t,"click",Ft(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ne(c,o)},d(_){_&&A(e),g=!1,h()}}}function Yh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Xh(Vh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Vh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Xh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(C_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function Qh(i){let e,t,n,l,r;const s=[kC,SC],o=[];function c(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(VC).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=Se()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(Le(),q(o[_],1,1,()=>{o[_]=null}),Ae()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(U(n),r=!0)},o(g){q(n),r=!1},d(g){~t&&o[t].d(g),g&&A(l)}}}function SC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,b,v,S,y;function C(L,T){return T[0]&128&&(l=null),l==null&&(l=!!L[48](L[111])),l?yC:CC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new xn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),Ke(s.$$.fragment),o=K(),c=k("span"),h=ye(g),b=K(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(L,T){E(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),Ge(s,n,null),w(t,o),w(t,c),w(c,h),w(e,b),v=!0,S||(y=le(t,"click",Vt(D)),S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T[0]&128&&(V.node=i[111]),s.$set(V),(!v||T[0]&128)&&g!==(g=i[49](i[111])+"")&&Ne(h,g),(!v||T[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||T[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){q(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),qe(s),S=!1,y()}}}function kC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,b,v,S,y,C,N,I=l&&Zh(i);s=new xn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),Ke(s.$$.fragment),c=K(),g=k("span"),_=ye(h),S=K(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",b="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(L,T){E(L,e,T),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),Ge(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=le(t,"click",Vt(D)),C=!0)},p(L,T){i=L,T[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,T):(I=Zh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};T[0]&128&&(V.node=i[111]),s.$set(V),(!y||T[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||T[0]&128)&&h!==(h=i[49](i[111])+"")&&Ne(_,h),(!y||T[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||T[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",b),(!y||T[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(L){y||(U(s.$$.fragment,L),y=!0)},o(L){q(s.$$.fragment,L),y=!1},d(L){L&&A(e),I&&I.d(),qe(s),C=!1,N()}}}function CC(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-1kyy3lw")},m(l,r){E(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 yC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zh(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-1kyy3lw")},m(l,r){E(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 Xh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Qh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=Qh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function $h(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(b,v){return v[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?NC:PC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),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(b,v){E(b,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Ft(i[32])),c=!0)},p(b,v){_===(_=h(b,v))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=b[13].label+"")&&Ne(o,s)},d(b){b&&A(e),p.d(),c=!1,g()}}}function PC(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-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){E(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 NC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function xh(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 k_({props:r}),$e.push(()=>bt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ke(e.$$.fragment)},m(s,o){Ge(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){q(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function eg(i){let e,t;return e=new v_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function tg(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 S_({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(){Ke(e.$$.fragment)},m(h,_){Ge(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){q(e.$$.fragment,h),r=!1},d(h){qe(e,h)}}}function ng(i){let e,t,n,l,r;const s=[TC,IC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ne.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){E(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):(Le(),q(o[_],1,1,()=>{o[_]=null}),Ae(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),U(l,1),l.m(e,null))},i(g){r||(U(l),r=!0)},o(g){q(l),r=!1},d(g){g&&A(e),o[n].d()}}}function IC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(I,D){return I[17].picture?AC:LC}let C=y(i),N=C(i);return _=new m_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=K(),h=k("div"),Ke(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){E(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),Ge(_,h,null),b=!0,v||(S=[le(r,"click",i[99]),le(n,"click",Ft(UC))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!b||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!b||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const L={};D[0]&268435456&&(L.addNavHrefForAnchor=I[28]),_.$set(L),(!b||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){b||(U(_.$$.fragment,I),b=!0)},o(I){q(_.$$.fragment,I),b=!1},d(I){I&&A(e),N.d(),qe(_),v=!1,Ze(S)}}}function TC(i){let e,t,n,l,r,s,o,c,g;function h(b,v){return b[17].picture?RC:EC}let _=h(i),p=_(i);return r=new z2({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),Ke(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,v){E(b,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),Ge(r,l,null),o=!0,c||(g=le(t,"click",Ft(FC)),c=!0)},p(b,v){_===(_=h(b))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=b[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!b[6].profilePopover))&&f(l,"aria-hidden",s)},i(b){o||(U(r.$$.fragment,b),o=!0)},o(b){q(r.$$.fragment,b),o=!1},d(b){b&&A(e),p.d(),qe(r),c=!1,g()}}}function LC(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){E(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 AC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),si(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&si(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function EC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=ye(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){E(o,e,c),w(e,n),r||(s=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ne(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,s()}}}function RC(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),si(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=le(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&si(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function ig(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 k_({props:r}),$e.push(()=>bt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ke(e.$$.fragment)},m(s,o){Ge(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){q(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function DC(i){let e,t,n,l,r,s;const o=[pC,_C],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),E(h,n,_),l=!0,r||(s=[le(Dh,"click",i[41]),le(Dh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Le(),q(c[p],1,1,()=>{c[p]=null}),Ae(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),U(t,1),t.m(n.parentNode,n))},i(h){l||(U(t),l=!0)},o(h){q(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Ze(s)}}}const VC=i=>!i.hideFromNav&&i.label,lg=i=>!i.hideFromNav&&i.label,MC=()=>{},OC=()=>{},FC=()=>{},UC=()=>{};function BC(i,e,t){const n=Bt();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:b}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:L}=e,{openMobileDropDown:T}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:F={}}=e,{urlAuthError:z}=e,{globalSearchConfig:ae}=e,{isGlobalSearchCentered:fe}=e,{isSearchFieldVisible:X}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:ee}=e,{displaySearchResult:H}=e,{displayCustomSearchResult:oe}=e,{searchResult:$}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:Ce}=e,te=ht("store"),Ue=!1,Pe,ce,Z=ie.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:he=ie.getConfigBooleanValue("navigation.addNavHrefs")}=e;const re=async()=>{if(_&&0<_.length){const j=await ke.generateTopNavNodes(_);t(7,S=j.children),t(8,y=j.selectedNode),t(9,C=j.visibleNodeCount),t(11,I=j.totalBadgeNode),t(10,N=j.globalNavNodeCount),window.TOPNAVDATA=j.children,p=_}},Ve=()=>{t(1,s=al.isLoggedIn())};Jt(()=>{an.doOnStoreChange(te,()=>{t(0,l=bi.isAuthorizationEnabled()),t(16,O=ie.getConfigValue("navigation.profile")),t(54,r=!Boolean(ie.getConfigValue("auth.disableAutoLogin"))),t(12,D=ie.getConfigValue("navigation.productSwitcher")),t(2,o=ie.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ie.getConfigValue("settings.responsiveNavigation")),t(4,g=ie.getConfigValue("settings.profileType")),t(27,Ce=ie.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,L=ke.getProductSwitcherConfig()),t(18,ae=ie.getConfigValue("globalSearch")),t(19,fe=ae&&ae.searchFieldCentered&&ne.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=ie.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),t(28,he=ie.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Z=ie.getConfigValue("navigation.contextSwitcher"))},["navigation"]),an.doOnStoreChange(te,()=>{re()},["navigation.viewgroupdata"]),Ln.addEventListener("message",j=>{j.data.msg==="luigi.navigation.update-badge-counters"&&re()})}),Hn(()=>{(!p||p!=_)&&re(),Ve()});let{showTopNav:He}=e;function be(j){return ke.renderIconClassName(j)}function We(j){return ke.isOpenUIiconName(j.icon)}const St=j=>ke.getNodeLabel(j);function Ht(j){return j.testId?j.testId:ke.prepareForTests(j.pathSegment,j.label)}function kt(j){return me.getNodeHref(j,b)}function Yt(j,tt){return ke.generateTooltipText(j,tt)}function _n(){Rt("productSwitcherPopover")}function on(){t(43,Ue=!Ue),Rt("contextSwitcherPopover")}function pn(j){t(14,T=!0),t(15,V=j)}function Ui(){t(14,T=!1)}function mn(j){n("handleClick",{node:j})}function Qt(j){n("handleSearchNavigation",{node:j})}function An(j){mn(j.detail.node)}function Rt(j){const tt=v||{},cn=!tt[j];Wn(),Ui(),tt[j]=cn,t(6,v=tt)}function fl(j){Rt(j.detail.name)}function xt(){pe&&pe.focus()}function un(){X||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:X,inputElem:pe,luigiCustomSearchRenderer__slot:ee})}function Wn(){const j=v||{},tt=Object.keys(j);tt&&tt.length>0&&tt.forEach(cn=>{j[cn]=!1,t(6,v=j)})}function zt(){c==="simple"||c==="simpleMobileOnly"?oi():ui(),kn()}function kn(){if(!ke.getBurgerTooltipConfig())return;const[j,tt]=ke.getBurgerTooltipConfig();j&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,J=document.body.classList.contains("lui-leftNavToggle")?j:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,J=document.body.classList.contains("semiCollapsed")?j:tt))}function oi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ui(){pi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function fn(j){const tt=j.detail;t(17,F=tt||{})}function ki(j){v=j,t(6,v)}function x(j){X=j,t(20,X)}function Te(j){$=j,t(25,$)}function at(j){H=j,t(23,H)}function It(j){oe=j,t(24,oe)}function Ct(j){pe=j,t(21,pe)}function nn(j){ee=j,t(22,ee)}function En(j){Ll.call(this,i,j)}function zn(j){Ll.call(this,i,j)}function ei(j){Ll.call(this,i,j)}function Vl(j){X=j,t(20,X)}function Bi(j){$=j,t(25,$)}function _r(j){H=j,t(23,H)}function pr(j){oe=j,t(24,oe)}function Ml(j){pe=j,t(21,pe)}function mr(j){ee=j,t(22,ee)}function br(j){Ll.call(this,i,j)}function vr(j){Ll.call(this,i,j)}function cl(j){Ll.call(this,i,j)}function wr(j){v=j,t(6,v)}const Ci=()=>Rt("contextSwitcherPopover");function Hi(j,tt,cn,ci){cn[ci]=j,t(7,S)}const dl=j=>Rt(`dropDownPopover-${j}`);function Wi(j,tt,cn,ci){cn[ci]=j,t(7,S)}const Ol=(j,tt)=>{ke.handleNavAnchorClickedWithoutMetaKey(tt)&&mn(j)};function Fl(j,tt,cn,ci){cn[ci]=j,t(7,S)}const Ul=j=>mn(j),Sr=()=>Rt("overflowPopover"),Cn=()=>{un(),Rt("overflowPopover")},zi=j=>mn(j),hl=j=>pn(j);function Bl(j){v=j,t(6,v)}const kr=()=>Rt("productSwitcherPopover");function Gi(j){v=j,t(6,v)}function gl(j){Pe=j,t(44,Pe)}function _l(j){ce=j,t(45,ce)}const fi=()=>Rt("contextSwitcherPopover"),Hl=()=>Rt("profilePopover"),yi=()=>Rt("profilePopover"),Cr=()=>Rt("profilePopover"),yt=()=>Rt("profilePopover"),pl=()=>Rt("profilePopover");function qi(j){v=j,t(6,v)}const ml=()=>Rt("productSwitcherPopover"),bl=()=>Rt("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,b=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,N=j.globalNavNodeCount),"totalBadgeNode"in j&&t(11,I=j.totalBadgeNode),"isProductSwitcherAvailable"in j&&t(12,D=j.isProductSwitcherAvailable),"productSwitcherConfig"in j&&t(13,L=j.productSwitcherConfig),"openMobileDropDown"in j&&t(14,T=j.openMobileDropDown),"nodeForMobile"in j&&t(15,V=j.nodeForMobile),"profileItemsAvailable"in j&&t(16,O=j.profileItemsAvailable),"userInfo"in j&&t(17,F=j.userInfo),"urlAuthError"in j&&t(55,z=j.urlAuthError),"globalSearchConfig"in j&&t(18,ae=j.globalSearchConfig),"isGlobalSearchCentered"in j&&t(19,fe=j.isGlobalSearchCentered),"isSearchFieldVisible"in j&&t(20,X=j.isSearchFieldVisible),"inputElem"in j&&t(21,pe=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(22,ee=j.luigiCustomSearchRenderer__slot),"displaySearchResult"in j&&t(23,H=j.displaySearchResult),"displayCustomSearchResult"in j&&t(24,oe=j.displayCustomSearchResult),"searchResult"in j&&t(25,$=j.searchResult),"burgerTooltip"in j&&t(26,J=j.burgerTooltip),"responsiveShellbarPadding"in j&&t(27,Ce=j.responsiveShellbarPadding),"addNavHrefForAnchor"in j&&t(28,he=j.addNavHrefForAnchor),"showTopNav"in j&&t(29,He=j.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,He=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,L,T,V,O,F,ae,fe,X,pe,ee,H,oe,$,J,Ce,he,He,_,b,_n,on,pn,Ui,mn,An,Rt,fl,un,Wn,fn,Ue,Pe,ce,Z,be,We,St,Ht,kt,Yt,zt,r,z,Qt,oi,ui,ki,x,Te,at,It,Ct,nn,En,zn,ei,Vl,Bi,_r,pr,Ml,mr,br,vr,cl,wr,Ci,Hi,dl,Wi,Ol,Fl,Ul,Sr,Cn,zi,hl,Bl,kr,Gi,gl,_l,fi,Hl,yi,Cr,yt,pl,qi,ml,bl]}class HC extends Et{constructor(e){super(),At(this,e,BC,DC,Tt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function rg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function WC(i){let e,t=i[0]&&rg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=rg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function zC(i,e,t){let{node:n}=e;async function l(){var o;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Dt.extractDataFromPath(r);return((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=document.querySelector(".lui-tab-header");fr.renderWebComponent(n.viewUrl,r,{context:await l()},n),r.addEventListener("lui_ctx_update",async()=>{const s=document.querySelector(".lui-tab-header [lui_web_component]");s&&(s.context=await l())})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class GC extends Et{constructor(e){super(),At(this,e,zC,WC,Tt,{node:0})}}const{window:Co}=Fi;function sg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function ag(i,e,t){const n=i.slice();return n[43]=e[t],n}function og(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ug(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function fg(i,e,t){const n=i.slice();return n[43]=e[t],n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dg(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&hg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=wg(ug(i,I,V));let L=Object.entries(i[0]),T=[];for(let V=0;V<L.length;V+=1)T[V]=yg(sg(i,L,V));return{c(){e=k("div"),N&&N.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=K(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
|
|
58
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=K(),p=k("div"),b=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){E(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let F=0;F<D.length;F+=1)D[F].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,b);for(let F=0;F<T.length;F+=1)T[F].m(b,null);S=!0,y||(C=[le(h,"click",Vt(i[10])),le(c,"click",XC),le(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&U(N,1)):(N=hg(V),N.c(),U(N,1),N.m(e,t)):N&&(Le(),q(N,1,1,()=>{N=null}),Ae()),O[0]&53485){I=Object.entries(V[0]);let F;for(F=0;F<I.length;F+=1){const z=ug(V,I,F);D[F]?D[F].p(z,O):(D[F]=wg(z),D[F].c(),D[F].m(r,null))}for(;F<D.length;F+=1)D[F].d(1);D.length=I.length}if(O[0]&53485){L=Object.entries(V[0]);let F;for(F=0;F<L.length;F+=1){const z=sg(V,L,F);T[F]?T[F].p(z,O):(T[F]=yg(z),T[F].c(),T[F].m(b,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(U(N),S=!0)},o(V){q(N),S=!1},d(V){V&&A(e),N&&N.d(),ct(D,V),ct(T,V),y=!1,Ze(C)}}}function hg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function qC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,b,v,S,y,C,N,I;function D(){return i[20](i[39])}let L=i[40],T=[];for(let V=0;V<L.length;V+=1)T[V]=pg(fg(i,L,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=ye(s),c=K(),g=k("span"),_=K(),p=k("div"),b=k("nav"),v=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();y=K(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=ur(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=ur(i[39],i[2]))},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,b),w(b,v);for(let F=0;F<T.length;F+=1)T[F].m(v,null);w(e,y),N||(I=[le(l,"click",Vt(D)),le(e,"click",ZC)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[39])+"")&&Ne(o,s),O[0]&5&&h!==(h=ur(i[39],i[2]))&&f(l,"aria-selected",h),O[0]&49221){L=i[40];let F;for(F=0;F<L.length;F+=1){const z=fg(i,L,F);T[F]?T[F].p(z,O):(T[F]=pg(z),T[F].c(),T[F].m(v,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}O[0]&9&&S!==(S=!i[3][i[39]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=ur(i[39],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ct(T,V),N=!1,Ze(I)}}}function KC(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=vg(cg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=cg(l,t,s);n[s]?n[s].p(o,r):(n[s]=vg(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){ct(n,l),l&&A(e)}}}function gg(i){let e,t=i[43].label&&_g(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=_g(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function _g(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Vt(_)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),b[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),b[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function pg(i){let e,t=!i[43].hideFromNav&&gg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=gg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function mg(i){let e,t=i[43].label&&bg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=bg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function bg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p;function b(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class",g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",h=i[43]===i[2])},m(v,S){E(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=le(t,"click",Vt(b)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),S[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),S[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[43]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function vg(i){let e,t=!i[43].hideFromNav&&mg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=mg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function wg(i){let e,t,n;function l(o,c){if(c[0]&33&&(e=null),c[0]&1&&(t=null),e==null&&(e=o[39]==="undefined"||o[39].indexOf(o[5])===0),e)return KC;if(t==null&&(t=o[40].filter(QC).length>0),t)return qC}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),E(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 jC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,b,v,S,y,C,N,I;function D(){return i[23](i[39],i[42])}function L(){return i[24](i[39],i[42])}let T=i[40],V=[];for(let O=0;O<T.length;O+=1)V[O]=kg(ag(i,T,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=ye(r),g=K(),h=k("button"),_=k("i"),v=K(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=K(),f(l,"class","fd-nested-list__title"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=ur(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let z=0;z<V.length;z+=1)V[z].m(S,null);w(e,C),N||(I=[le(n,"click",Vt(D)),le(h,"click",Vt(L))],N=!0)},p(O,F){if(i=O,F[0]&4097&&r!==(r=i[12](i[39])+"")&&Ne(s,r),F[0]&9&&o!==(o=i[3][i[39]+i[42]])&&f(n,"aria-expanded",o),F[0]&5&&c!==(c=ur(i[39],i[2]))&&f(n,"aria-selected",c),F[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),F[0]&9&&b!==(b=i[3][i[39]+i[42]])&&f(h,"aria-expanded",b),F[0]&49221){T=i[40];let z;for(z=0;z<T.length;z+=1){const ae=ag(i,T,z);V[z]?V[z].p(ae,F):(V[z]=kg(ae),V[z].c(),V[z].m(S,null))}for(;z<V.length;z+=1)V[z].d(1);V.length=T.length}F[0]&9&&y!==(y=!i[3][i[39]+i[42]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ct(V,O),N=!1,Ze(I)}}}function JC(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cg(og(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=og(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){ct(n,l),l&&A(e)}}}function Sg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[43])),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Vt(_)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),b[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),b[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function kg(i){let e,t=i[43].label&&Sg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=Sg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Cg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Vt(_)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),b[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),b[0]&5&&o!==(o=i[43]===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[39]==="undefined"||s[39].indexOf(s[5])===0),e?JC:jC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 YC(i){let e,t,n,l,r=i[0]&&i[1].length>1&&dg(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),E(s,e,o),t=!0,n||(l=[le(Co,"click",i[8]),le(Co,"blur",i[8]),le(Co,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&U(r,1)):(r=dg(s),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){t||(U(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Ze(l)}}}function ur(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const QC=i=>!i.hideFromNav&&i.label,ZC=i=>i.stopPropagation(),XC=i=>i.stopPropagation();function $C(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:v}=e,S,y=ht("getTranslation");Si(i,y,Z=>t(12,n=Z));let C=ht("store"),N;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:Z=>{Z&&Object.getOwnPropertyNames(Z).forEach(he=>{he==="pathData"?t(1,r=Z.pathData):he==="context"?context=Z.context:he==="children"?t(0,l=Z.children):he==="selectedNode"?t(11,h=Z.selectedNode):he==="selectedNodeForTabNav"&&t(2,_=Z.selectedNodeForTabNav)})}},D=Bt();function L(Z){return ke.getNodeLabel(Z)}const T=async()=>{const Z=I.get(),he=await Dt.getTabNavData({...Z},Z);!he||(I.set({...he}),o=r,window.LEFTNAVDATA=he.groupedChildren,setTimeout(V))},V=()=>{O();let Z=document.getElementsByClassName("luigi-tabsContainer")[0],he=document.getElementsByClassName("luigi-tabsMoreButton")[0],re=document.getElementsByClassName("luigi__more")[0],Ve,He=0,be=!1,We,St;re&&re.setAttribute("aria-selected","false"),Z&&(Ve=Z.offsetWidth,[...Z.children].forEach(kt=>{We=kt.currentStyle||window.getComputedStyle(kt),St=parseFloat(We.marginLeft)+parseFloat(We.marginRight),He+=kt.offsetWidth+St;let Yt=kt.getAttribute("uid");He>=Ve?(kt.classList.add("hide_element"),kt.getAttribute("isSelected")==="true"&&re.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Yt+'"]').classList.remove("hide_element"),be=!0):document.querySelector('li[uid="'+Yt+'"]').classList.add("hide_element")}),be?he.classList.remove("hide_element"):he.classList.add("hide_element"))},O=()=>{let Z=document.getElementsByClassName("luigi-tabsContainer")[0];Z!==void 0&&[...Z.children].forEach(re=>{re.classList.remove("hide_element")})},F=()=>{N=new ResizeObserver(Z=>{for(const he of Z)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",he.contentRect.height+"px")}),setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))})},z=()=>{N&&N.disconnect()};Jt(()=>{t(16,c=ie.getConfigBooleanValue("settings.hideNavigation")),F(),an.doOnStoreChange(C,()=>{T()},["navigation.viewgroupdata"])}),Zr(()=>{z(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Hn(()=>{(!o||o!=r)&&T(),(S===void 0||S!==v)&&(S=v,T())}),ua(()=>{z(),N?setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))}):F()});function ae(Z){return me.getNodeHref(Z,s)}function fe(Z){pe(),D("handleClick",{node:Z})}function X(Z){let he={};p[Z]||(he[Z]=!0),t(3,p=he)}function pe(){t(3,p={}),t(4,b=!1)}function ee(){O(),V()}function H(){t(4,b=!b)}const oe=Z=>fe(Z),$=Z=>X(Z),J=Z=>fe(Z),Ce=Z=>fe(Z),te=(Z,he)=>X(Z+he),Ue=(Z,he)=>X(Z+he),Pe=Z=>fe(Z),ce=Z=>X(Z.name);return i.$$set=Z=>{"children"in Z&&t(0,l=Z.children),"pathData"in Z&&t(1,r=Z.pathData),"pathParams"in Z&&t(17,s=Z.pathParams),"hideNavComponent"in Z&&t(16,c=Z.hideNavComponent),"virtualGroupPrefix"in Z&&t(5,g=Z.virtualGroupPrefix),"selectedNodeForTabNav"in Z&&t(2,_=Z.selectedNodeForTabNav),"dropDownStates"in Z&&t(3,p=Z.dropDownStates),"isMoreBtnExpanded"in Z&&t(4,b=Z.isMoreBtnExpanded),"resizeTabNavToggle"in Z&&t(18,v=Z.resizeTabNavToggle)},[l,r,_,p,b,g,fe,X,pe,ee,H,h,n,y,L,ae,c,s,v,oe,$,J,Ce,te,Ue,Pe,ce]}class xC extends Et{constructor(e){super(),At(this,e,$C,YC,Tt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function 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&&Rg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=K(),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){E(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=Rg(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]=Eg(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){E(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]=Eg(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),ct(n,l)}}}function Lg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Ag(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=ye(s),c=K(),g=k("div"),p=K(),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",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Ag(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Ag(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ty:ey}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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;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){E(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 ty(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){E(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 Eg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Lg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(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 Rg(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){E(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),ct(n,l)}}}function Dg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Vg(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=ye(s),c=K(),g=k("div"),p=K(),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",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(n,"click",Vt(N)),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Vg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Vg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?iy:ny}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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;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){E(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 iy(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){E(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=Se()},m(n,l){t&&t.m(n,l),E(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 ly(i){let e,t,n,l=i[2]&&Ig(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),E(r,e,s),t||(n=[le(window,"click",oa),le(window,"blur",oa)],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:Fe,o:Fe,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function oa(){}function ry(i,e,t){let n;const l=Bt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=ht("store"),_=ht("getTranslation");Si(i,_,z=>t(7,n=z));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,S=ie.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const z=await ke.generateTopNavNodes(r);t(0,c=z.children),t(1,g=z.selectedNode),s=r}};Jt(()=>{an.doOnStoreChange(h,()=>{t(14,b=ie.getConfigBooleanValue("settings.hideNavigation")),t(15,v=ie.getConfigValue("settings.responsiveNavigation")),t(2,p=ie.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Hn(()=>{(!s||s!=r)&&y(),t(6,S=ie.getConfigBooleanValue("navigation.addNavHrefs"))});function C(z){return ke.renderIconClassName(z)}function N(z){return ke.isOpenUIiconName(z.icon)}function I(z){return _t.getTranslation(z.label)}function D(z){return z.testId?z.testId:ke.prepareForTests(z.pathSegment,z.label)}function L(z){return me.getNodeHref(z,o)}function T(z){l("handleClick",{node:z})}function V(z){T(z.detail.node)}const O=(z,ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(ae)&&T(z)},F=z=>T(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,b=z.hideNavComponent),"responsiveNavSetting"in z&&t(15,v=z.responsiveNavSetting)},[c,g,p,r,T,oa,S,n,_,C,N,I,D,L,b,v,o,V,O,F]}class sy extends Et{constructor(e){super(),At(this,e,ry,ly,Tt,{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 oa}}function ay(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){E(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&A(e),i[6](null)}}}function oy(i,e,t){const n=Bt();let{pathData:l}=e,r,s={},o,c=ht("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;ie.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=C=>{C.last||S(C.node)};Jt(()=>{an.doOnStoreChange(c,()=>{},["navigation"])}),Hn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=ie.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ie.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=et.getCurrentPath();for(let L=I;L<l.length;L++){const T=l[L],V=me.mapPathToNode(D,T);if(s[V])N.push(s[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)N.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?_t.getTranslation(T.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:T,route:V,pending:!0});else{const O=await v(T);O&&N.push({label:O,node:T,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,b),N=[];for(let L=I;L<l.length;L++){const T=l[L],V=me.mapPathToNode(D,T);if(T.titleResolver){const F=await Dt.extractDataFromPath(V),z=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,T.context),F.pathData.pathParams);try{const ae=await ke.fetchNodeTitleData(T,z);N.push({label:ae.label,node:T,route:V});continue}catch{}}const O=await v(T);O&&N.push({label:O,node:T,route:V})}D===et.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,b)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(L=>{s[L.route]=L}))}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 _t.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=me.mapPathToNode(et.getCurrentPath(),C),I=await Dt.extractDataFromPath(N);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class uy extends Et{constructor(e){super(),At(this,e,oy,ay,Tt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";Ln.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 fy(){return To}const{Boolean:cy,window:dy}=Fi;function Og(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Fg(i){let e,t;return e=new dS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Ug(i){let e,t;function n(){return i[68](i[149])}function l(...s){return i[69](i[149],...s)}function r(...s){return i[70](i[149],...s)}return e=new g_({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ke(e.$$.fragment)},m(s,o){Ge(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[147].mfModal.settings),o[0]&268435456&&(c.nodepath=i[147].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){qe(e,s)}}}function Bg(i){let e,t,n=i[147].mfModal.displayed&&Ug(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[147].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&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Hg(i){let e,t;return e=new g_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[hy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(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]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function hy(i){let e,t;return e=new $r({props:{area:"drawer",disable:i[13]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Wg(i){let e,t;return e=new mS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){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 VS({props:r}),$e.push(()=>bt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ke(e.$$.fragment)},m(s,o){Ge(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){q(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function Gg(i){let e,t;return e=new HS({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(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function gy(i){let e,t,n,l,r,s,o,c,g;t=new $r({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Gg(i);return{c(){e=k("div"),Ke(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-16jxfob"),f(e,"class","fd-page iframeContainer svelte-16jxfob"),f(e,"tabindex","0"),mi(e,"lui-split-view",i[12].displayed),mi(e,"lui-collapsed",i[12].collapsed)},m(_,p){E(_,e,p),Ge(t,e,null),w(e,n),w(e,l),E(_,r,p),h&&h.m(_,p),E(_,s,p),o=!0,c||(g=rw(i[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&mi(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&mi(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=Gg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(Le(),q(h,1,1,()=>{h=null}),Ae())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&A(e),qe(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function qg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-16jxfob" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-16jxfob"></div>
|
|
56
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function lh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=rh($d(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=$d(l,t,s);n[s]?n[s].p(o,r):(n[s]=rh(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){ct(n,l),l&&A(e)}}}function ak(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function ok(i){let e,t,n,l,r;function s(h,_){return h[2]?fk:uk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=K(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){E(h,e,_),c.m(e,null),E(h,n,_),l||(r=le(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&A(e),c.d(),h&&A(n),l=!1,r()}}}function uk(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,_){E(h,e,_),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ne(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&A(e),c=!1,g()}}}function fk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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:Fe,m:Fe,p:Fe,d:Fe}}function rh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:ck,then:ok,catch:ak,value:26};return na(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),n.block.c()},m(l,r){E(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))&&na(t,n)||n_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function sh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=oh(Xd(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){E(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=Xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=oh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ct(n,l)}}}function ah(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[le(t,"click",i[18]),le(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ne(r,l),b&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Ze(h)}}}function oh(i){let e,t=i[21].position==="bottom"&&ah(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=ah(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function dk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&eh(i),c=i[3]&&i[3].length===0&&i[11]&&ih(),g=i[3]&&i[3].length&&lh(i),h=i[0]&&i[0].length&&sh(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),c&&c.c(),l=K(),g&&g.c(),r=K(),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){E(_,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=eh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=ih(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=lh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=sh(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Fe,o:Fe,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const hk=()=>{};function gk(i,e,t){let n,l=Fe,r=()=>(l(),l=Lo(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:b}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Ht();function I(z){N("onActionClick",{node:z})}function D(z,ae){N("goToOption",{option:z,selectedOption:ae})}const L=z=>I(z),T=z=>{ke.handleNavAnchorClickedWithoutMetaKey(z)},V=z=>D(z,_),O=z=>{ke.handleNavAnchorClickedWithoutMetaKey(z)},F=z=>I(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,b=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,b,v,S,y,C,I,D,n,L,T,V,O,F]}class w_ extends Et{constructor(e){super(),At(this,e,gk,dk,Tt,{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 uh(i){let e,t,n,l=!i[9]&&fh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&ch(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[9]?l&&(Le(),q(l,1,1,()=>{l=null}),Ae()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=fh(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=ch(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function fh(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?pk:_k}let p=_(i),b=p(i);return s=new w_({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"),b.c(),l=K(),r=k("div"),Ke(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){E(v,e,S),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Ge(s,r,null),c=!0,g||(h=le(n,"click",Ut(Nk)),g=!0)},p(v,S){p===(p=_(v))&&b?b.p(v,S):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(U(s.$$.fragment,v),c=!0)},o(v){q(s.$$.fragment,v),c=!1},d(v){v&&A(e),b.d(),qe(s),g=!1,h()}}}function _k(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?bk:mk}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,_){E(h,e,_),g.m(e,null),r||(s=le(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function pk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?kk:Sk}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,_){E(h,e,_),g.m(e,null),r||(s=le(e,"click",Mt(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 mk(i){let e,t;function n(s,o){return s[4]?vk:wk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(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 bk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 vk(i){let e;return{c(){e=ye(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function wk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function Sk(i){let e,t;function n(s,o){return s[4]?Ck:yk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(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 kk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 Ck(i){let e;return{c(){e=ye(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function yk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function ch(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I=!i[4]&&dh(i),D=i[4]&&hh(i);return h=new w_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),D&&D.c(),c=K(),g=k("div"),Ke(h.$$.fragment),_=K(),p=k("footer"),b=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(b,"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(L,T){E(L,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),Ge(h,g,null),w(t,_),w(t,p),w(p,b),w(b,v),w(v,S),y=!0,C||(N=[le(S,"click",i[12]),le(e,"click",Ut(Ik))],C=!0)},p(L,T){L[4]?I&&(I.d(1),I=null):I?I.p(L,T):(I=dh(L),I.c(),I.m(s,o)),L[4]?D?D.p(L,T):(D=hh(L),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};T[0]&1&&(V.actions=L[0]),T[0]&32&&(V.config=L[5]),T[0]&64&&(V.customOptionsRenderer=L[6]),T[0]&2&&(V.options=L[1]),T[0]&16&&(V.selectedLabel=L[4]),T[0]&4&&(V.selectedOption=L[2]),T[0]&512&&(V.isMobile=L[9]),T[0]&16384&&(V.isContextSwitcherDropdownShown=L[14]),h.$set(V)},i(L){y||(U(h.$$.fragment,L),y=!0)},o(L){q(h.$$.fragment,L),y=!1},d(L){L&&A(e),I&&I.d(),D&&D.d(),qe(h),C=!1,Ze(N)}}}function dh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ye(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ne(t,e)},d(n){n&&A(t)}}}function hh(i){let e;return{c(){e=ye(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ne(e,t[4])},d(t){t&&A(e)}}}function Pk(i){let e,t,n=i[3]&&uh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&U(n,1)):(n=uh(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const Nk=()=>{},Ik=()=>{};function Tk(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,L,T=ht("getUnsavedChangesModalPromise"),V=ht("store"),O=ht("getTranslation");ki(i,O,ce=>t(16,l=ce));let F=!1,z,ae,fe;Jt(async()=>{on.doOnStoreChange(V,async()=>{const ce=ie.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=ne.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=ne.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await ie.getConfigValueAsync("navigation.contextSwitcher.actions"));const Z=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),_n.resetFallbackLabelCache(),ce.lazyloadOptions||await H(),_n.isContextSwitcherDetailsView(Z,ce.parentNodePath)&&await oe(Z)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>oe(ce)),An.addEventListener("message",ce=>{!Ie.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),H())}),t(23,D=g.defaultLabel)}),zn(()=>{F!==I&&(F=I,H()),t(14,fe=o.contextSwitcherPopover||!1)});function X(ce,Z,he){return ce?Promise.resolve(ce):_n.getFallbackLabel(Z,he)}function pe(ce){return ce.testId?ce.testId:ke.prepareForTests(ce.pathSegment,ce.label)}function ee(ce){return me.getNodeHref(ce,S)}async function H(){t(1,_=await _n.fetchOptions(_));const ce=g||{},Z=ce.parentNodePath,he=ce.fallbackLabelResolver,re=et.getCurrentPath();t(2,b=await _n.getSelectedOption(re,_,Z)),t(4,c=await _n.getSelectedLabel(re,_,Z,he)),t(13,z=await _n.getSelectedNode(re,_,Z)),L=ce.preserveSubPathOnSwitch}async function oe(ce){const Z=g||{},he=Z.parentNodePath,re=Z.fallbackLabelResolver;t(2,b=await _n.getSelectedOption(ce,_,he)),t(4,c=await _n.getSelectedLabel(ce,_,he,re)),t(13,z=await _n.getSelectedNode(ce,_,he))}async function $(ce){let Z=ce.detail.node;Z.clickHandler&&!await Z.clickHandler(Z)||(setTimeout(()=>{J(Z.link)}),N&&r("toggleDropdownState"))}function J(ce){T().then(()=>{et.navigateTo(ce)},()=>{})}function Ce(ce){let Z=ce.detail.option,he=ce.detail.selectedOption;T().then(()=>{L&&he?et.navigateTo(_n.getNodePathFromCurrentPath(Z,he)):et.navigateTo(Z.link),N&&r("toggleDropdownState")},()=>{})}function te(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&H()}const Ue=()=>{n&&te()},Pe=()=>{n&&te()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,c=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,b=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,N=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,D=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,c,g,y,C,o,N,$,Ce,te,z,fe,n,l,O,ae,X,pe,ee,v,D,S,I,H,oe,J,p,Ue,Pe]}class S_ extends Et{constructor(e){super(),At(this,e,Tk,Pk,Tt,{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:Lk}=Fi;function gh(i,e,t){const n=i.slice();return n[22]=e[t],n}function _h(i){let e,t,n,l=!i[2]&&ph(i),r=i[2]&&i[3].productSwitcherPopover&&Sh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=ph(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Sh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?Ek:Ak}let I=N(i,-1),D=I(i),L=i[0],T=[];for(let V=0;V<L.length;V+=1)T[V]=wh(gh(i,L,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",v=ei(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,b);for(let F=0;F<T.length;F+=1)T[F].m(b,null);y||(C=[le(r,"click",Ut(i[7])),le(l,"click",Ut(Bk))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){L=V[0];let F;for(F=0;F<L.length;F+=1){const z=gh(V,L,F);T[F]?T[F].p(z,O):(T[F]=wh(z),T[F].c(),T[F].m(b,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}O&512&&v!==(v=ei(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ct(T,V),y=!1,Ze(C)}}}function Ak(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){E(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 Ek(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(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 mh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Dk:Rk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){E(_,e,p),g.m(e,null),w(e,t),r||(s=le(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&A(e),g.d(),r=!1,s()}}}function Rk(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?Mk:Vk}let _=h(i,-1),p=_(i),b=g&&bh(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=ye(s),c=K(),b&&b.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){E(v,e,S),p.m(e,null),E(v,n,S),E(v,l,S),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Ne(o,s),S&1&&(g=v[13](v[22])),g?b?b.p(v,S):(b=bh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),b&&b.d()}}}function Dk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,b;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?Fk:Ok}let S=v(i,-1),y=S(i),C=h&&vh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),c=ye(o),g=K(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){E(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(b=le(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Ne(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=vh(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,b()}}}function Vk(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){E(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 Mk(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){E(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 bh(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){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function Ok(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){E(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 Fk(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){E(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 vh(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){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ne(n,t)},d(l){l&&A(e)}}}function wh(i){let e,t=i[22].label&&mh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=mh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sh(i){let e,t;return e=new b_({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(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Uk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&_h(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),E(o,t,c),n=!0,l||(r=le(Lk,"resize",aa),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=_h(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(Le(),q(s,1,1,()=>{s=null}),Ae())},i(o){n||(U(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Bk=()=>{};function Hk(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{on.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await ie.getConfigValueAsync("navigation.productSwitcher.items")),I()),aa()},["navigation.productSwitcher"])});function p(O){g().then(()=>{et.navigateToLink(O)},()=>{}),v()}function b(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return ke.renderIconClassName(O)}function y(O){return ke.isOpenUIiconName(O.icon)}function C(O){return pt.getTranslation(O.label)}function N(O){return pt.getTranslation(O.subTitle)}function I(){ke.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:ke.prepareForTests(O.label)}function L(O){return me.getNodeHref(O)}const T=O=>{ke.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,b,v,aa,h,S,y,C,N,D,L,T,V]}class k_ extends Et{constructor(e){super(),At(this,e,Hk,Uk,Tt,{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 aa}}function kh(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function Wk(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){E(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&A(e),i[19](null),t=!1,n()}}}function zk(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){E(t,e,n),e.focus()},p:Fe,d(t){t&&A(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[23](e)},p:Fe,d(t){t&&A(e),i[23](null)}}}function qk(i){let e,t,n,l=i[5]&&Ch(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){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Ch(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 Ch(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=yh(kh(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){E(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=kh(l,t,s);n[s]?n[s].p(o,r):(n[s]=yh(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),ct(n,l),i[22](null)}}}function Kk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 jk(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Mt(Yk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Ne(r,l),b[0]&32&&c!==(c=p[31].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function yh(i){let e,t,n,l;function r(h,_){return h[9]?Kk:jk}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=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Ze(l)}}}function Jk(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(T,V){return T[7]&&T[7].disableInputHandlers?zk:Wk}let C=y(i),N=C(i);function I(T,V){return T[8]?Gk:qk}let D=I(i),L=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=K(),L.c(),c=K(),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",b=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(T,V){E(T,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),L.m(n,null),E(T,c,V),E(T,g,V),w(g,h),w(h,_),w(_,p),v||(S=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Ut(Qk)),le(_,"click",i[6]),le(h,"click",Ut(Zk))],v=!0)},p(T,V){C===(C=y(T))&&N?N.p(T,V):(N.d(1),N=C(T),N&&(N.c(),N.m(l,null))),D===(D=I(T))&&L?L.p(T,V):(L.d(1),L=D(T),L&&(L.c(),L.m(n,null))),V[0]&16&&s!==(s=!T[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(T[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&b!==(b=!T[4])&&f(_,"aria-expanded",b)},i:Fe,o:Fe,d(T){T&&A(e),N.d(),L.d(),T&&A(c),T&&A(g),v=!1,Ze(S)}}}const Yk=()=>{},Qk=()=>{},Zk=()=>{};function Xk(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:$=>{b.searchProvider.onSearchResultItemSelected($)}};let b={},v,S;Jt(async()=>{t(7,b=h);let $=o;const J=C(b.searchProvider);J&&($.placeholder=J),y()}),zn(()=>{t(7,b=h),y()});function y(){!b.searchProvider||(t(8,v=ne.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,S=ne.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function C($){if(!$||!$.inputPlaceholder)return;const J=pt.getCurrentLocale();if(ne.isFunction($.inputPlaceholder))return $.inputPlaceholder();if(typeof $.inputPlaceholder=="string"){const Ce=pt.getTranslation($.inputPlaceholder);return!!Ce&&Ce.trim().length>0?Ce:$.inputPlaceholder}if(typeof $.inputPlaceholder=="object")return $.inputPlaceholder[J]}function N($,J,Ce){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer($,J.children[Ce],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:$}){b&&b.searchProvider?ne.isFunction(b.searchProvider.onEnter)&&$===Si?b.searchProvider.onEnter():ne.isFunction(b.searchProvider.onEscape)&&$===wi?b.searchProvider.onEscape():$===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function L($){let J=g.children;if(J)for(let Ce=0;Ce<J.length;Ce++){let{childNodes:te,nextSibling:Ue,previousSibling:Pe}=J[Ce],ce;if(te[0].getAttribute("aria-selected")==="true"){$===Oi&&(ce=Ue!==null?Ue:J[0]),$===El&&(ce=Pe!==null?Pe:J[J.length-1]),te[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function T(){let $=g.children;if($)for(let J=0;J<$.length;J++){let Ce=$[J];Ce.childNodes[0].getAttribute("aria-selected")==="true"&&Ce.childNodes[0].setAttribute("aria-selected","false")}}function V($){b&&ne.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected($):ne.isFunction(b.searchProvider.onEscape)&&event.keyCode===wi&&b.searchProvider.onEscape()}function O($,{keyCode:J}){J===Si&&b.searchProvider.onSearchResultItemSelected($),J===El||J===Oi?L(J):ne.isFunction(b.searchProvider.onEscape)&&J===wi&&(T(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F($){let J=$.pathObject;J.externalLink?et.navigateToLink(J):_("handleSearchNavigation",{node:J})}function z(){o&&o.focus()}function ae(){if(n?t(0,r=!1):setTimeout(()=>{z()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),b&&b.searchProvider&&ne.isFunction(b.searchProvider.toggleSearch)){const $=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,$)}}const fe=$=>D($);function X($){$e[$?"unshift":"push"](()=>{o=$,t(1,o)})}const pe=($,J)=>V($),ee=($,J)=>O($,J);function H($){$e[$?"unshift":"push"](()=>{g=$,t(3,g)})}function oe($){$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,ae,b,v,S,N,I,D,V,O,s,h,F,fe,X,pe,ee,H,oe]}class $k extends Et{constructor(e){super(),At(this,e,Xk,Jk,Tt,{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 Ph(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function xk(i){let e,t,n,l,r,s,o,c=i[11]&&Nh(i);return{c(){e=k("input"),t=K(),n=k("span"),c&&c.c(),l=K(),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){E(g,e,h),i[26](e),E(g,t,h),E(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Nh(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 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-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&A(e)}}}function Nh(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){E(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&A(e),t=!1,n()}}}function tC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[31](e)},p:Fe,d(t){t&&A(e),i[31](null)}}}function nC(i){let e,t,n,l=i[4]&&Ih(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){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Ih(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 Ih(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Th(Ph(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){E(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=Ph(l,t,s);n[s]?n[s].p(o,r):(n[s]=Th(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),ct(n,l),i[30](null)}}}function iC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new gr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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 lC(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=K(),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,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=le(e,"click",Mt(sC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Ne(r,l),b[0]&16&&c!==(c=p[40].description+"")&&Ne(g,c)},d(p){p&&A(e),h=!1,_()}}}function Th(i){let e,t,n,l;function r(h,_){return h[10]?iC:lC}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=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Ze(l)}}}function Lh(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){E(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[le(n,"click",i[6]),le(t,"click",Ut(oC))],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 Ah(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){E(g,e,h),w(e,t),w(t,l),o||(c=le(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ne(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function rC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(L,T){return L[8]&&L[8].disableInputHandlers?eC:xk}let v=b(i),S=v(i);function y(L,T){return L[9]?tC:nC}let C=y(i),N=C(i),I=!i[5]&&Lh(i),D=i[5]&&Ah(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),N.c(),c=K(),I&&I.c(),g=K(),D&&D.c(),h=Se(),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(L,T){E(L,e,T),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),E(L,c,T),I&&I.m(L,T),E(L,g,T),D&&D.m(L,T),E(L,h,T),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Ut(aC))],_=!0)},p(L,T){v===(v=b(L))&&S?S.p(L,T):(S.d(1),S=v(L),S&&(S.c(),S.m(l,null))),C===(C=y(L))&&N?N.p(L,T):(N.d(1),N=C(L),N&&(N.c(),N.m(n,null))),T[0]&32&&s!==(s=!L[5])&&f(n,"aria-hidden",s),T[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(L[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),L[5]?I&&(I.d(1),I=null):I?I.p(L,T):(I=Lh(L),I.c(),I.m(g.parentNode,g)),L[5]?D?D.p(L,T):(D=Ah(L),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(L){L&&A(e),S.d(),N.d(),L&&A(c),I&&I.d(L),L&&A(g),D&&D.d(L),L&&A(h),_=!1,Ze(p)}}}const sC=()=>{},aC=()=>{},oC=()=>{};function uC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:re=>{S.searchProvider.onSearchResultItemSelected(re)}};let b=ol.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=ht("getTranslation");ki(i,I,re=>t(12,n=re)),Jt(async()=>{t(8,S=h),t(7,b=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:b);let re=o;const Ve=L(S.searchProvider);Ve&&(re.placeholder=Ve),D(),Uf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(We=>{Uf.handleVisibilityGlobalSearch()}).observe(He)}),zn(()=>{t(8,S=h),D(),z()});function D(){t(9,y=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultItemRenderer))}function L(re){if(!re||!re.inputPlaceholder)return;const Ve=pt.getCurrentLocale();if(ne.isFunction(re.inputPlaceholder))return re.inputPlaceholder();if(typeof re.inputPlaceholder=="string"){const He=pt.getTranslation(re.inputPlaceholder);return!!He&&He.trim().length>0?He:re.inputPlaceholder}if(typeof re.inputPlaceholder=="object")return re.inputPlaceholder[Ve]}function T(re,Ve,He){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(re,Ve.children[He],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:re}){S?ne.isFunction(S.searchProvider.onEnter)&&re===Si?S.searchProvider.onEnter():ne.isFunction(S.searchProvider.onEscape)&&re===wi?S.searchProvider.onEscape():re===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&ne.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function z(){o&&o.value?t(11,N=!0):t(11,N=!1)}function ae(){t(1,o.value="",o),V(),t(11,N=!1)}function fe(re){let Ve=g.children;if(Ve)for(let He=0;He<Ve.length;He++){let{childNodes:be,nextSibling:We,previousSibling:St}=Ve[He],Wt;if(be[0].getAttribute("aria-selected")==="true"){re===Oi&&(Wt=We!==null?We:Ve[0]),re===El&&(Wt=St!==null?St:Ve[Ve.length-1]),be[0].setAttribute("aria-selected","false"),Wt.childNodes[0].setAttribute("aria-selected","true"),Wt.focus();break}}}function X(){let re=g.children;if(re)for(let Ve=0;Ve<re.length;Ve++){let He=re[Ve];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(re){S&&ne.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(re):ne.isFunction(S.searchProvider.onEscape)&&event.keyCode===wi&&S.searchProvider.onEscape()}function ee(re,{keyCode:Ve}){Ve===Si&&S.searchProvider.onSearchResultItemSelected(re),Ve===El||Ve===Oi?fe(Ve):ne.isFunction(S.searchProvider.onEscape)&&Ve===wi&&(X(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function H(re){let Ve=re.pathObject;Ve.externalLink?et.navigateToLink(Ve):_("handleSearchNavigation",{node:Ve})}function oe(){o&&o.focus()}function $(){if(v?t(0,r=!1):setTimeout(()=>{oe()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),ne.isFunction(S.searchProvider.toggleSearch)){const re=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,re)}}const J=re=>O(re);function Ce(re){$e[re?"unshift":"push"](()=>{o=re,t(1,o)})}const te=()=>z(),Ue=(re,Ve)=>pe(re),Pe=(re,Ve)=>ee(re,Ve);function ce(re){$e[re?"unshift":"push"](()=>{g=re,t(3,g)})}function Z(re){$e[re?"unshift":"push"](()=>{c=re,t(2,c)})}const he=()=>$();return i.$$set=re=>{"searchResult"in re&&t(4,l=re.searchResult),"displaySearchResult"in re&&t(0,r=re.displaySearchResult),"displayCustomSearchResult"in re&&t(22,s=re.displayCustomSearchResult),"inputElem"in re&&t(1,o=re.inputElem),"luigiCustomSearchRenderer__slot"in re&&t(2,c=re.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in re&&t(3,g=re.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in re&&t(23,h=re.globalSearchConfig),"isSearchFieldVisible"in re&&t(5,v=re.isSearchFieldVisible)},[r,o,c,g,l,v,$,b,S,y,C,N,n,I,T,V,O,F,z,ae,pe,ee,s,h,H,J,Ce,te,Ue,Pe,ce,Z,he]}class fC extends Et{constructor(e){super(),At(this,e,uC,rC,Tt,{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 Eh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?dC:cC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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){E(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 dC(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){E(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 Rh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new xr({props:{node:i[0]}}),{c(){e=k("span"),n=ye(t),l=K(),Ke(r.$$.fragment)},m(o,c){E(o,e,c),w(e,n),w(e,l),Ge(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Ne(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(U(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&A(e),qe(r)}}}function hC(i){let e,t,n,l=i[0].icon&&Eh(i),r=(!i[0].icon||i[0].showLabel)&&Rh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Eh(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=Rh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function gC(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Ro extends Et{constructor(e){super(),At(this,e,gC,hC,Tt,{node:0})}}const{Boolean:C_,window:Dh}=Fi;function Vh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Mh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function _C(i){let e,t;return e=new m_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function pC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Oh(i);function S(T){i[59](T)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new D2({props:y}),$e.push(()=>vt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Fh(i),N=(!i[0]||i[1])&&Uh(i),I=(i[18]||i[7]&&i[30].length>0)&&Hh(i),D=(i[0]||i[16])&&ng(i),L=i[12]&&ig(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),Ke(l.$$.fragment),s=K(),C&&C.c(),o=K(),c=k("div"),N&&N.c(),g=K(),I&&I.c(),h=K(),D&&D.c(),_=K(),L&&L.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(T,V){E(T,e,V),w(e,t),v&&v.m(t,null),w(t,n),Ge(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),L&&L.m(c,null),b=!0},p(T,V){T[3]==="simple"||T[3]==="simpleMobileOnly"||T[3]==="Fiori3"?v?v.p(T,V):(v=Oh(T),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=T[30]),V[1]&1&&(O.pathParams=T[31]),V[0]&268435456&&(O.addNavHrefForAnchor=T[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=T[6],bt(()=>r=!1)),l.$set(O),T[18]&&T[19]?C?(C.p(T,V),V[0]&786432&&U(C,1)):(C=Fh(T),C.c(),U(C,1),C.m(e,o)):C&&(Le(),q(C,1,1,()=>{C=null}),Ae()),!T[0]||T[1]?N?(N.p(T,V),V[0]&3&&U(N,1)):(N=Uh(T),N.c(),U(N,1),N.m(c,g)):N&&(Le(),q(N,1,1,()=>{N=null}),Ae()),T[18]||T[7]&&T[30].length>0?I?(I.p(T,V),V[0]&1074004096&&U(I,1)):(I=Hh(T),I.c(),U(I,1),I.m(c,h)):I&&(Le(),q(I,1,1,()=>{I=null}),Ae()),T[0]||T[16]?D?(D.p(T,V),V[0]&65537&&U(D,1)):(D=ng(T),D.c(),U(D,1),D.m(c,_)):D&&(Le(),q(D,1,1,()=>{D=null}),Ae()),T[12]?L?(L.p(T,V),V[0]&4096&&U(L,1)):(L=ig(T),L.c(),U(L,1),L.m(c,null)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),(!b||V[0]&134217732&&p!==(p="fd-shellbar "+(T[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(T[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(T){b||(U(l.$$.fragment,T),U(C),U(N),U(I),U(D),U(L),b=!0)},o(T){q(l.$$.fragment,T),q(C),q(N),q(I),q(D),q(L),b=!1},d(T){T&&A(e),v&&v.d(),qe(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),L&&L.d()}}}function Oh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){E(r,e,s),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function Fh(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 b(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 fC({props:y}),$e.push(()=>vt(t,"isSearchFieldVisible",h)),$e.push(()=>vt(t,"searchResult",_)),$e.push(()=>vt(t,"displaySearchResult",p)),$e.push(()=>vt(t,"displayCustomSearchResult",b)),$e.push(()=>vt(t,"inputElem",v)),$e.push(()=>vt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Ke(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){E(C,e,N),Ge(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],bt(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],bt(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],bt(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],bt(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],bt(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],bt(()=>c=!1)),t.$set(I)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&A(e),qe(t)}}}function Uh(i){let e,t,n,l,r=i[18]&&!i[19]&&Bh(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 S_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),Ke(t.$$.fragment)},m(c,g){r&&r.m(c,g),E(c,e,g),Ge(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&U(r,1)):(r=Bh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],bt(()=>n=!1)),t.$set(h)},i(c){l||(U(r),U(t.$$.fragment,c),l=!0)},o(c){q(r),q(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),qe(t,c)}}}function Bh(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 b(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 $k({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"searchResult",h)),$e.push(()=>vt(e,"displaySearchResult",_)),$e.push(()=>vt(e,"displayCustomSearchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Ke(e.$$.fragment)},m(y,C){Ge(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],bt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],bt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],bt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],bt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],bt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],bt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function Hh(i){let e,t,n,l=i[7]&&i[30].length>0&&Wh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Kh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(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=Wh(s),l.c(),U(l,1),l.m(e.parentNode,e)):l&&(Le(),q(l,1,1,()=>{l=null}),Ae()),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=Kh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){n||(U(l),U(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Wh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=qh(Mh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Mh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=qh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(C_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function zh(i){let e,t,n,l;const r=[bC,mC],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=Se()},m(c,g){s[e].m(c,g),E(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Le(),q(s[h],1,1,()=>{s[h]=null}),Ae(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){q(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function mC(i){let e,t,n,l,r;const s=[wC,vC],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=K(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){E(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):(Le(),q(o[_],1,1,()=>{o[_]=null}),Ae(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(e,l))},i(g){r||(U(n),r=!0)},o(g){q(n),r=!1},d(g){g&&A(e),o[t].d()}}}function bC(i){let e=i[111].visibleChildren.filter(lg).length>0,t,n,l=e&&Gh(i);return{c(){l&&l.c(),t=Se()},m(r,s){l&&l.m(r,s),E(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(lg).length>0),e?l?(l.p(r,s),s[0]&128&&U(l,1)):(l=Gh(r),l.c(),U(l,1),l.m(t.parentNode,t)):l&&(Le(),q(l,1,1,()=>{l=null}),Ae())},i(r){n||(U(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&A(t)}}}function vC(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 b={};i[111]!==void 0&&(b.node=i[111]),t=new Ro({props:b}),$e.push(()=>vt(t,"node",p)),r=new ti({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),Ke(t.$$.fragment),l=K(),Ke(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){E(S,e,y),Ge(t,e,null),w(e,l),Ge(r,e,null),g=!0,h||(_=le(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],bt(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(U(t.$$.fragment,S),U(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&A(e),qe(t),qe(r),h=!1,_()}}}function wC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function b(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Ro({props:v}),$e.push(()=>vt(t,"node",b)),r=new ti({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),Ke(t.$$.fragment),l=K(),Ke(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){E(y,e,C),Ge(t,e,null),w(e,l),Ge(r,e,null),h=!0,_||(p=le(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],bt(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(U(t.$$.fragment,y),U(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&A(e),qe(t),qe(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I,D;function L(O){i[80](O,i[111],i[114],i[113])}let T={};i[111]!==void 0&&(T.node=i[111]),r=new Ro({props:T}),$e.push(()=>vt(r,"node",L)),c=new ti({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new v_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Ke(r.$$.fragment),o=K(),Ke(c.$$.fragment),b=K(),v=k("div"),Ke(S.$$.fragment),C=K(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,l),Ge(r,l,null),w(l,o),Ge(c,l,null),w(t,b),w(t,v),Ge(S,v,null),w(e,C),N=!0,I||(D=[le(l,"click",V),le(n,"click",Ut(MC))],I=!0)},p(O,F){i=O;const z={};!s&&F[0]&128&&(s=!0,z.node=i[111],bt(()=>s=!1)),r.$set(z);const ae={};F[0]&128&&(ae.node=i[111]),c.$set(ae),(!N||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const fe={};F[0]&128&&(fe.node=i[111]),F[1]&1&&(fe.pathParams=i[31]),F[0]&268435456&&(fe.addNavHrefForAnchor=i[28]),S.$set(fe),(!N||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),N=!0)},o(O){q(r.$$.fragment,O),q(c.$$.fragment,O),q(S.$$.fragment,O),N=!1},d(O){O&&A(e),qe(r),qe(c),qe(S),I=!1,Ze(D)}}}function qh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&zh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=zh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kh(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N,I,D,L,T,V,O;g=new ti({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&jh(i),z=i[46]&&(!i[0]||i[1])&&Jh(i),ae=i[7]&&Yh(i),fe=i[12]&&$h(i),X=i[12]&&xh(i),pe=i[14]&&eg(i),ee=(!i[0]||i[1])&&tg(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=K(),Ke(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),S=K(),z&&z.c(),y=K(),ae&&ae.c(),C=K(),fe&&fe.c(),I=K(),X&&X.c(),D=K(),pe&&pe.c(),L=K(),ee&&ee.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(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(H,oe){E(H,e,oe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),Ge(g,s,null),w(n,_),w(n,p),w(p,b),w(b,v),F&&F.m(v,null),w(v,S),z&&z.m(v,null),w(v,y),ae&&ae.m(v,null),w(v,C),fe&&fe.m(v,null),w(n,I),X&&X.m(n,null),w(n,D),pe&&pe.m(n,null),w(n,L),ee&&ee.m(n,null),T=!0,V||(O=[le(s,"click",i[86]),le(l,"click",Ut(OC))],V=!0)},p(H,oe){const $={};oe[0]&2048&&($.node=H[11]),g.$set($),(!T||oe[0]&64&&h!==(h=H[6].overflowPopover||!1))&&f(s,"aria-expanded",h),H[18]&&!H[19]?F?F.p(H,oe):(F=jh(H),F.c(),F.m(v,S)):F&&(F.d(1),F=null),H[46]&&(!H[0]||H[1])?z?z.p(H,oe):(z=Jh(H),z.c(),z.m(v,y)):z&&(z.d(1),z=null),H[7]?ae?(ae.p(H,oe),oe[0]&128&&U(ae,1)):(ae=Yh(H),ae.c(),U(ae,1),ae.m(v,C)):ae&&(Le(),q(ae,1,1,()=>{ae=null}),Ae()),H[12]?fe?fe.p(H,oe):(fe=$h(H),fe.c(),fe.m(v,null)):fe&&(fe.d(1),fe=null),(!T||oe[0]&64&&N!==(N=!H[6].overflowPopover))&&f(p,"aria-hidden",N),H[12]?X?(X.p(H,oe),oe[0]&4096&&U(X,1)):(X=xh(H),X.c(),U(X,1),X.m(n,D)):X&&(Le(),q(X,1,1,()=>{X=null}),Ae()),H[14]?pe?(pe.p(H,oe),oe[0]&16384&&U(pe,1)):(pe=eg(H),pe.c(),U(pe,1),pe.m(n,L)):pe&&(Le(),q(pe,1,1,()=>{pe=null}),Ae()),!H[0]||H[1]?ee?(ee.p(H,oe),oe[0]&3&&U(ee,1)):(ee=tg(H),ee.c(),U(ee,1),ee.m(n,null)):ee&&(Le(),q(ee,1,1,()=>{ee=null}),Ae())},i(H){T||(U(g.$$.fragment,H),U(ae),U(X),U(pe),U(ee),T=!0)},o(H){q(g.$$.fragment,H),q(ae),q(X),q(pe),q(ee),T=!1},d(H){H&&A(e),qe(g),F&&F.d(),z&&z.d(),ae&&ae.d(),fe&&fe.d(),X&&X.d(),pe&&pe.d(),ee&&ee.d(),V=!1,Ze(O)}}}function jh(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
57
|
+
<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){E(r,e,s),w(e,t),n||(l=le(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&A(e),n=!1,l()}}}function Jh(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=K(),s=k("span"),c=ye(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){E(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=le(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ne(c,o)},d(_){_&&A(e),g=!1,h()}}}function Yh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Xh(Vh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);E(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=Vh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Xh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Le(),c=n.length;c<l.length;c+=1)r(c);Ae()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(C_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&A(e)}}}function Qh(i){let e,t,n,l,r;const s=[kC,SC],o=[];function c(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(VC).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=Se()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=c(g,h),t===_?~t&&o[t].p(g,h):(n&&(Le(),q(o[_],1,1,()=>{o[_]=null}),Ae()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(U(n),r=!0)},o(g){q(n),r=!1},d(g){~t&&o[t].d(g),g&&A(l)}}}function SC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,b,v,S,y;function C(L,T){return T[0]&128&&(l=null),l==null&&(l=!!L[48](L[111])),l?yC:CC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new ti({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),Ke(s.$$.fragment),o=K(),c=k("span"),h=ye(g),b=K(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(L,T){E(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),Ge(s,n,null),w(t,o),w(t,c),w(c,h),w(e,b),v=!0,S||(y=le(t,"click",Mt(D)),S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T[0]&128&&(V.node=i[111]),s.$set(V),(!v||T[0]&128)&&g!==(g=i[49](i[111])+"")&&Ne(h,g),(!v||T[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||T[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){q(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),qe(s),S=!1,y()}}}function kC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,b,v,S,y,C,N,I=l&&Zh(i);s=new ti({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),Ke(s.$$.fragment),c=K(),g=k("span"),_=ye(h),S=K(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",b="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(L,T){E(L,e,T),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),Ge(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=le(t,"click",Mt(D)),C=!0)},p(L,T){i=L,T[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,T):(I=Zh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};T[0]&128&&(V.node=i[111]),s.$set(V),(!y||T[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||T[0]&128)&&h!==(h=i[49](i[111])+"")&&Ne(_,h),(!y||T[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||T[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",b),(!y||T[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(L){y||(U(s.$$.fragment,L),y=!0)},o(L){q(s.$$.fragment,L),y=!1},d(L){L&&A(e),I&&I.d(),qe(s),C=!1,N()}}}function CC(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-1kyy3lw")},m(l,r){E(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 yC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function Zh(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-1kyy3lw")},m(l,r){E(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 Xh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Qh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Le(),q(n,1,1,()=>{n=null}),Ae()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=Qh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function $h(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(b,v){return v[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?NC:PC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),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(b,v){E(b,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Ut(i[32])),c=!0)},p(b,v){_===(_=h(b,v))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=b[13].label+"")&&Ne(o,s)},d(b){b&&A(e),p.d(),c=!1,g()}}}function PC(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-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){E(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 NC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function xh(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 k_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ke(e.$$.fragment)},m(s,o){Ge(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],bt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function eg(i){let e,t;return e=new v_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function tg(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 S_({props:g}),$e.push(()=>vt(e,"dropDownStates",s)),$e.push(()=>vt(e,"selectedLabel",o)),$e.push(()=>vt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){Ke(e.$$.fragment)},m(h,_){Ge(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],bt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],bt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],bt(()=>l=!1)),e.$set(p)},i(h){r||(U(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){qe(e,h)}}}function ng(i){let e,t,n,l,r;const s=[TC,IC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ne.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){E(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):(Le(),q(o[_],1,1,()=>{o[_]=null}),Ae(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),U(l,1),l.m(e,null))},i(g){r||(U(l),r=!0)},o(g){q(l),r=!1},d(g){g&&A(e),o[n].d()}}}function IC(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S;function y(I,D){return I[17].picture?AC:LC}let C=y(i),N=C(i);return _=new m_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=K(),h=k("div"),Ke(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){E(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),Ge(_,h,null),b=!0,v||(S=[le(r,"click",i[99]),le(n,"click",Ut(UC))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!b||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!b||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const L={};D[0]&268435456&&(L.addNavHrefForAnchor=I[28]),_.$set(L),(!b||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){b||(U(_.$$.fragment,I),b=!0)},o(I){q(_.$$.fragment,I),b=!1},d(I){I&&A(e),N.d(),qe(_),v=!1,Ze(S)}}}function TC(i){let e,t,n,l,r,s,o,c,g;function h(b,v){return b[17].picture?RC:EC}let _=h(i),p=_(i);return r=new z2({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),Ke(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,v){E(b,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),Ge(r,l,null),o=!0,c||(g=le(t,"click",Ut(FC)),c=!0)},p(b,v){_===(_=h(b))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=b[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!b[6].profilePopover))&&f(l,"aria-hidden",s)},i(b){o||(U(r.$$.fragment,b),o=!0)},o(b){q(r.$$.fragment,b),o=!1},d(b){b&&A(e),p.d(),qe(r),c=!1,g()}}}function LC(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){E(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 AC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function EC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=ye(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){E(o,e,c),w(e,n),r||(s=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ne(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,s()}}}function RC(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),oi(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=le(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&oi(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function ig(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 k_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ke(e.$$.fragment)},m(s,o){Ge(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],bt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function DC(i){let e,t,n,l,r,s;const o=[pC,_C],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),E(h,n,_),l=!0,r||(s=[le(Dh,"click",i[41]),le(Dh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Le(),q(c[p],1,1,()=>{c[p]=null}),Ae(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),U(t,1),t.m(n.parentNode,n))},i(h){l||(U(t),l=!0)},o(h){q(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Ze(s)}}}const VC=i=>!i.hideFromNav&&i.label,lg=i=>!i.hideFromNav&&i.label,MC=()=>{},OC=()=>{},FC=()=>{},UC=()=>{};function BC(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:L}=e,{openMobileDropDown:T}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:F={}}=e,{urlAuthError:z}=e,{globalSearchConfig:ae}=e,{isGlobalSearchCentered:fe}=e,{isSearchFieldVisible:X}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:ee}=e,{displaySearchResult:H}=e,{displayCustomSearchResult:oe}=e,{searchResult:$}=e,{burgerTooltip:J}=e,{responsiveShellbarPadding:Ce}=e,te=ht("store"),Ue=!1,Pe,ce,Z=ie.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:he=ie.getConfigBooleanValue("navigation.addNavHrefs")}=e;const re=async()=>{if(_&&0<_.length){const j=await ke.generateTopNavNodes(_);t(7,S=j.children),t(8,y=j.selectedNode),t(9,C=j.visibleNodeCount),t(11,I=j.totalBadgeNode),t(10,N=j.globalNavNodeCount),window.TOPNAVDATA=j.children,p=_}},Ve=()=>{t(1,s=al.isLoggedIn())};Jt(()=>{on.doOnStoreChange(te,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,O=ie.getConfigValue("navigation.profile")),t(54,r=!Boolean(ie.getConfigValue("auth.disableAutoLogin"))),t(12,D=ie.getConfigValue("navigation.productSwitcher")),t(2,o=ie.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ie.getConfigValue("settings.responsiveNavigation")),t(4,g=ie.getConfigValue("settings.profileType")),t(27,Ce=ie.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,L=ke.getProductSwitcherConfig()),t(18,ae=ie.getConfigValue("globalSearch")),t(19,fe=ae&&ae.searchFieldCentered&&ne.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=ie.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),t(28,he=ie.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Z=ie.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(te,()=>{re()},["navigation.viewgroupdata"]),An.addEventListener("message",j=>{j.data.msg==="luigi.navigation.update-badge-counters"&&re()})}),zn(()=>{(!p||p!=_)&&re(),Ve()});let{showTopNav:He}=e;function be(j){return ke.renderIconClassName(j)}function We(j){return ke.isOpenUIiconName(j.icon)}const St=j=>ke.getNodeLabel(j);function Wt(j){return j.testId?j.testId:ke.prepareForTests(j.pathSegment,j.label)}function kt(j){return me.getNodeHref(j,b)}function Yt(j,tt){return ke.generateTooltipText(j,tt)}function pn(){Rt("productSwitcherPopover")}function un(){t(43,Ue=!Ue),Rt("contextSwitcherPopover")}function mn(j){t(14,T=!0),t(15,V=j)}function Ui(){t(14,T=!1)}function bn(j){n("handleClick",{node:j})}function Qt(j){n("handleSearchNavigation",{node:j})}function En(j){bn(j.detail.node)}function Rt(j){const tt=v||{},dn=!tt[j];Gn(),Ui(),tt[j]=dn,t(6,v=tt)}function fl(j){Rt(j.detail.name)}function xt(){pe&&pe.focus()}function fn(){X||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:X,inputElem:pe,luigiCustomSearchRenderer__slot:ee})}function Gn(){const j=v||{},tt=Object.keys(j);tt&&tt.length>0&&tt.forEach(dn=>{j[dn]=!1,t(6,v=j)})}function Gt(){c==="simple"||c==="simpleMobileOnly"?fi():ci(),Cn()}function Cn(){if(!ke.getBurgerTooltipConfig())return;const[j,tt]=ke.getBurgerTooltipConfig();j&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,J=document.body.classList.contains("lui-leftNavToggle")?j:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,J=document.body.classList.contains("semiCollapsed")?j:tt))}function fi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){mi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function cn(j){const tt=j.detail;t(17,F=tt||{})}function Ci(j){v=j,t(6,v)}function x(j){X=j,t(20,X)}function Te(j){$=j,t(25,$)}function at(j){H=j,t(23,H)}function Nt(j){oe=j,t(24,oe)}function Ct(j){pe=j,t(21,pe)}function ln(j){ee=j,t(22,ee)}function Rn(j){Ll.call(this,i,j)}function qn(j){Ll.call(this,i,j)}function ni(j){Ll.call(this,i,j)}function Vl(j){X=j,t(20,X)}function Bi(j){$=j,t(25,$)}function _r(j){H=j,t(23,H)}function pr(j){oe=j,t(24,oe)}function Ml(j){pe=j,t(21,pe)}function mr(j){ee=j,t(22,ee)}function br(j){Ll.call(this,i,j)}function vr(j){Ll.call(this,i,j)}function cl(j){Ll.call(this,i,j)}function wr(j){v=j,t(6,v)}const yi=()=>Rt("contextSwitcherPopover");function Hi(j,tt,dn,hi){dn[hi]=j,t(7,S)}const dl=j=>Rt(`dropDownPopover-${j}`);function Wi(j,tt,dn,hi){dn[hi]=j,t(7,S)}const Ol=(j,tt)=>{ke.handleNavAnchorClickedWithoutMetaKey(tt)&&bn(j)};function Fl(j,tt,dn,hi){dn[hi]=j,t(7,S)}const Ul=j=>bn(j),Sr=()=>Rt("overflowPopover"),yn=()=>{fn(),Rt("overflowPopover")},zi=j=>bn(j),hl=j=>mn(j);function Bl(j){v=j,t(6,v)}const kr=()=>Rt("productSwitcherPopover");function Gi(j){v=j,t(6,v)}function gl(j){Pe=j,t(44,Pe)}function _l(j){ce=j,t(45,ce)}const di=()=>Rt("contextSwitcherPopover"),Hl=()=>Rt("profilePopover"),Pi=()=>Rt("profilePopover"),Cr=()=>Rt("profilePopover"),gt=()=>Rt("profilePopover"),pl=()=>Rt("profilePopover");function qi(j){v=j,t(6,v)}const ml=()=>Rt("productSwitcherPopover"),bl=()=>Rt("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,b=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,N=j.globalNavNodeCount),"totalBadgeNode"in j&&t(11,I=j.totalBadgeNode),"isProductSwitcherAvailable"in j&&t(12,D=j.isProductSwitcherAvailable),"productSwitcherConfig"in j&&t(13,L=j.productSwitcherConfig),"openMobileDropDown"in j&&t(14,T=j.openMobileDropDown),"nodeForMobile"in j&&t(15,V=j.nodeForMobile),"profileItemsAvailable"in j&&t(16,O=j.profileItemsAvailable),"userInfo"in j&&t(17,F=j.userInfo),"urlAuthError"in j&&t(55,z=j.urlAuthError),"globalSearchConfig"in j&&t(18,ae=j.globalSearchConfig),"isGlobalSearchCentered"in j&&t(19,fe=j.isGlobalSearchCentered),"isSearchFieldVisible"in j&&t(20,X=j.isSearchFieldVisible),"inputElem"in j&&t(21,pe=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(22,ee=j.luigiCustomSearchRenderer__slot),"displaySearchResult"in j&&t(23,H=j.displaySearchResult),"displayCustomSearchResult"in j&&t(24,oe=j.displayCustomSearchResult),"searchResult"in j&&t(25,$=j.searchResult),"burgerTooltip"in j&&t(26,J=j.burgerTooltip),"responsiveShellbarPadding"in j&&t(27,Ce=j.responsiveShellbarPadding),"addNavHrefForAnchor"in j&&t(28,he=j.addNavHrefForAnchor),"showTopNav"in j&&t(29,He=j.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,He=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,L,T,V,O,F,ae,fe,X,pe,ee,H,oe,$,J,Ce,he,He,_,b,pn,un,mn,Ui,bn,En,Rt,fl,fn,Gn,cn,Ue,Pe,ce,Z,be,We,St,Wt,kt,Yt,Gt,r,z,Qt,fi,ci,Ci,x,Te,at,Nt,Ct,ln,Rn,qn,ni,Vl,Bi,_r,pr,Ml,mr,br,vr,cl,wr,yi,Hi,dl,Wi,Ol,Fl,Ul,Sr,yn,zi,hl,Bl,kr,Gi,gl,_l,di,Hl,Pi,Cr,gt,pl,qi,ml,bl]}class HC extends Et{constructor(e){super(),At(this,e,BC,DC,Tt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function rg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function WC(i){let e,t=i[0]&&rg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=rg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&A(e)}}}function zC(i,e,t){let{node:n}=e;async function l(){var o;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Vt.extractDataFromPath(r);return((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=document.querySelector(".lui-tab-header");fr.renderWebComponent(n.viewUrl,r,{context:await l()},n),r.addEventListener("lui_ctx_update",async()=>{const s=document.querySelector(".lui-tab-header [lui_web_component]");s&&(s.context=await l())})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class GC extends Et{constructor(e){super(),At(this,e,zC,WC,Tt,{node:0})}}const{window:Co}=Fi;function sg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function ag(i,e,t){const n=i.slice();return n[43]=e[t],n}function og(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ug(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function fg(i,e,t){const n=i.slice();return n[43]=e[t],n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function dg(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&hg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=wg(ug(i,I,V));let L=Object.entries(i[0]),T=[];for(let V=0;V<L.length;V+=1)T[V]=yg(sg(i,L,V));return{c(){e=k("div"),N&&N.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=K(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
|
|
58
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=K(),p=k("div"),b=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){E(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let F=0;F<D.length;F+=1)D[F].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,b);for(let F=0;F<T.length;F+=1)T[F].m(b,null);S=!0,y||(C=[le(h,"click",Mt(i[10])),le(c,"click",XC),le(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&U(N,1)):(N=hg(V),N.c(),U(N,1),N.m(e,t)):N&&(Le(),q(N,1,1,()=>{N=null}),Ae()),O[0]&53485){I=Object.entries(V[0]);let F;for(F=0;F<I.length;F+=1){const z=ug(V,I,F);D[F]?D[F].p(z,O):(D[F]=wg(z),D[F].c(),D[F].m(r,null))}for(;F<D.length;F+=1)D[F].d(1);D.length=I.length}if(O[0]&53485){L=Object.entries(V[0]);let F;for(F=0;F<L.length;F+=1){const z=sg(V,L,F);T[F]?T[F].p(z,O):(T[F]=yg(z),T[F].c(),T[F].m(b,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(U(N),S=!0)},o(V){q(N),S=!1},d(V){V&&A(e),N&&N.d(),ct(D,V),ct(T,V),y=!1,Ze(C)}}}function hg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function qC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,h,_,p,b,v,S,y,C,N,I;function D(){return i[20](i[39])}let L=i[40],T=[];for(let V=0;V<L.length;V+=1)T[V]=pg(fg(i,L,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=ye(s),c=K(),g=k("span"),_=K(),p=k("div"),b=k("nav"),v=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();y=K(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=ur(i[39],i[2])),f(n,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",S=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[42]+"-0"),f(e,"isselected",C=ur(i[39],i[2]))},m(V,O){E(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,b),w(b,v);for(let F=0;F<T.length;F+=1)T[F].m(v,null);w(e,y),N||(I=[le(l,"click",Mt(D)),le(e,"click",ZC)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[39])+"")&&Ne(o,s),O[0]&5&&h!==(h=ur(i[39],i[2]))&&f(l,"aria-selected",h),O[0]&49221){L=i[40];let F;for(F=0;F<L.length;F+=1){const z=fg(i,L,F);T[F]?T[F].p(z,O):(T[F]=pg(z),T[F].c(),T[F].m(v,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}O[0]&9&&S!==(S=!i[3][i[39]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=ur(i[39],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ct(T,V),N=!1,Ze(I)}}}function KC(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=vg(cg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=cg(l,t,s);n[s]?n[s].p(o,r):(n[s]=vg(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){ct(n,l),l&&A(e)}}}function gg(i){let e,t=i[43].label&&_g(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=_g(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function _g(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Mt(_)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),b[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),b[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function pg(i){let e,t=!i[43].hideFromNav&&gg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=gg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function mg(i){let e,t=i[43].label&&bg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=bg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function bg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h,_,p;function b(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class",g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",h=i[43]===i[2])},m(v,S){E(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=le(t,"click",Mt(b)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),S[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),S[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[43]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function vg(i){let e,t=!i[43].hideFromNav&&mg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=mg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function wg(i){let e,t,n;function l(o,c){if(c[0]&33&&(e=null),c[0]&1&&(t=null),e==null&&(e=o[39]==="undefined"||o[39].indexOf(o[5])===0),e)return KC;if(t==null&&(t=o[40].filter(QC).length>0),t)return qC}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),E(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 jC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,h,_,p,b,v,S,y,C,N,I;function D(){return i[23](i[39],i[42])}function L(){return i[24](i[39],i[42])}let T=i[40],V=[];for(let O=0;O<T.length;O+=1)V[O]=kg(ag(i,T,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=ye(r),g=K(),h=k("button"),_=k("i"),v=K(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=K(),f(l,"class","fd-nested-list__title"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=ur(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(O,F){E(O,e,F),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let z=0;z<V.length;z+=1)V[z].m(S,null);w(e,C),N||(I=[le(n,"click",Mt(D)),le(h,"click",Mt(L))],N=!0)},p(O,F){if(i=O,F[0]&4097&&r!==(r=i[12](i[39])+"")&&Ne(s,r),F[0]&9&&o!==(o=i[3][i[39]+i[42]])&&f(n,"aria-expanded",o),F[0]&5&&c!==(c=ur(i[39],i[2]))&&f(n,"aria-selected",c),F[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),F[0]&9&&b!==(b=i[3][i[39]+i[42]])&&f(h,"aria-expanded",b),F[0]&49221){T=i[40];let z;for(z=0;z<T.length;z+=1){const ae=ag(i,T,z);V[z]?V[z].p(ae,F):(V[z]=kg(ae),V[z].c(),V[z].m(S,null))}for(;z<V.length;z+=1)V[z].d(1);V.length=T.length}F[0]&9&&y!==(y=!i[3][i[39]+i[42]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ct(V,O),N=!1,Ze(I)}}}function JC(i){let e,t=i[40],n=[];for(let l=0;l<t.length;l+=1)n[l]=Cg(og(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&49221){t=l[40];let s;for(s=0;s<t.length;s+=1){const o=og(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){ct(n,l),l&&A(e)}}}function Sg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[43])),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Mt(_)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),b[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),b[0]&5&&o!==(o=i[43]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function kg(i){let e,t=i[43].label&&Sg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[43].label?t?t.p(n,l):(t=Sg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Cg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,h;function _(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ye(l),c=K(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=le(t,"click",Mt(_)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[14](i[43])+"")&&Ne(r,l),b[0]&1&&s!==(s=i[15](i[43]))&&f(t,"href",s),b[0]&5&&o!==(o=i[43]===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[39]==="undefined"||s[39].indexOf(s[5])===0),e?JC:jC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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 YC(i){let e,t,n,l,r=i[0]&&i[1].length>1&&dg(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),E(s,e,o),t=!0,n||(l=[le(Co,"click",i[8]),le(Co,"blur",i[8]),le(Co,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&U(r,1)):(r=dg(s),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){t||(U(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Ze(l)}}}function ur(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const QC=i=>!i.hideFromNav&&i.label,ZC=i=>i.stopPropagation(),XC=i=>i.stopPropagation();function $C(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:v}=e,S,y=ht("getTranslation");ki(i,y,Z=>t(12,n=Z));let C=ht("store"),N;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:Z=>{Z&&Object.getOwnPropertyNames(Z).forEach(he=>{he==="pathData"?t(1,r=Z.pathData):he==="context"?context=Z.context:he==="children"?t(0,l=Z.children):he==="selectedNode"?t(11,h=Z.selectedNode):he==="selectedNodeForTabNav"&&t(2,_=Z.selectedNodeForTabNav)})}},D=Ht();function L(Z){return ke.getNodeLabel(Z)}const T=async()=>{const Z=I.get(),he=await Vt.getTabNavData({...Z},Z);!he||(I.set({...he}),o=r,window.LEFTNAVDATA=he.groupedChildren,setTimeout(V))},V=()=>{O();let Z=document.getElementsByClassName("luigi-tabsContainer")[0],he=document.getElementsByClassName("luigi-tabsMoreButton")[0],re=document.getElementsByClassName("luigi__more")[0],Ve,He=0,be=!1,We,St;re&&re.setAttribute("aria-selected","false"),Z&&(Ve=Z.offsetWidth,[...Z.children].forEach(kt=>{We=kt.currentStyle||window.getComputedStyle(kt),St=parseFloat(We.marginLeft)+parseFloat(We.marginRight),He+=kt.offsetWidth+St;let Yt=kt.getAttribute("uid");He>=Ve?(kt.classList.add("hide_element"),kt.getAttribute("isSelected")==="true"&&re.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Yt+'"]').classList.remove("hide_element"),be=!0):document.querySelector('li[uid="'+Yt+'"]').classList.add("hide_element")}),be?he.classList.remove("hide_element"):he.classList.add("hide_element"))},O=()=>{let Z=document.getElementsByClassName("luigi-tabsContainer")[0];Z!==void 0&&[...Z.children].forEach(re=>{re.classList.remove("hide_element")})},F=()=>{N=new ResizeObserver(Z=>{for(const he of Z)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",he.contentRect.height+"px")}),setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))})},z=()=>{N&&N.disconnect()};Jt(()=>{t(16,c=ie.getConfigBooleanValue("settings.hideNavigation")),F(),on.doOnStoreChange(C,()=>{T()},["navigation.viewgroupdata"])}),Zr(()=>{z(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&T(),(S===void 0||S!==v)&&(S=v,T())}),ua(()=>{z(),N?setTimeout(()=>{N.observe(document.querySelector("#tabsContainer.lui-tabs"))}):F()});function ae(Z){return me.getNodeHref(Z,s)}function fe(Z){pe(),D("handleClick",{node:Z})}function X(Z){let he={};p[Z]||(he[Z]=!0),t(3,p=he)}function pe(){t(3,p={}),t(4,b=!1)}function ee(){O(),V()}function H(){t(4,b=!b)}const oe=Z=>fe(Z),$=Z=>X(Z),J=Z=>fe(Z),Ce=Z=>fe(Z),te=(Z,he)=>X(Z+he),Ue=(Z,he)=>X(Z+he),Pe=Z=>fe(Z),ce=Z=>X(Z.name);return i.$$set=Z=>{"children"in Z&&t(0,l=Z.children),"pathData"in Z&&t(1,r=Z.pathData),"pathParams"in Z&&t(17,s=Z.pathParams),"hideNavComponent"in Z&&t(16,c=Z.hideNavComponent),"virtualGroupPrefix"in Z&&t(5,g=Z.virtualGroupPrefix),"selectedNodeForTabNav"in Z&&t(2,_=Z.selectedNodeForTabNav),"dropDownStates"in Z&&t(3,p=Z.dropDownStates),"isMoreBtnExpanded"in Z&&t(4,b=Z.isMoreBtnExpanded),"resizeTabNavToggle"in Z&&t(18,v=Z.resizeTabNavToggle)},[l,r,_,p,b,g,fe,X,pe,ee,H,h,n,y,L,ae,c,s,v,oe,$,J,Ce,te,Ue,Pe,ce]}class xC extends Et{constructor(e){super(),At(this,e,$C,YC,Tt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function 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&&Rg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=K(),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){E(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=Rg(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]=Eg(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){E(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]=Eg(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),ct(n,l)}}}function Lg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Ag(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=ye(s),c=K(),g=k("div"),p=K(),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",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Ag(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Ag(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ty:ey}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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;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){E(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 ty(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){E(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 Eg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Lg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(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 Rg(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){E(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),ct(n,l)}}}function Dg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,b,v,S,y,C=i[24].icon&&Vg(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=ye(s),c=K(),g=k("div"),p=K(),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",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){E(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=le(n,"click",Mt(N)),S=!0)},p(I,D){i=I,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])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Vg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?iy:ny}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),E(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;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){E(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 iy(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){E(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=Se()},m(n,l){t&&t.m(n,l),E(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 ly(i){let e,t,n,l=i[2]&&Ig(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),E(r,e,s),t||(n=[le(window,"click",oa),le(window,"blur",oa)],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:Fe,o:Fe,d(r){l&&l.d(r),r&&A(e),t=!1,Ze(n)}}}function oa(){}function ry(i,e,t){let n;const l=Ht();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=ht("store"),_=ht("getTranslation");ki(i,_,z=>t(7,n=z));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,S=ie.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const z=await ke.generateTopNavNodes(r);t(0,c=z.children),t(1,g=z.selectedNode),s=r}};Jt(()=>{on.doOnStoreChange(h,()=>{t(14,b=ie.getConfigBooleanValue("settings.hideNavigation")),t(15,v=ie.getConfigValue("settings.responsiveNavigation")),t(2,p=ie.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!s||s!=r)&&y(),t(6,S=ie.getConfigBooleanValue("navigation.addNavHrefs"))});function C(z){return ke.renderIconClassName(z)}function N(z){return ke.isOpenUIiconName(z.icon)}function I(z){return pt.getTranslation(z.label)}function D(z){return z.testId?z.testId:ke.prepareForTests(z.pathSegment,z.label)}function L(z){return me.getNodeHref(z,o)}function T(z){l("handleClick",{node:z})}function V(z){T(z.detail.node)}const O=(z,ae)=>{ke.handleNavAnchorClickedWithoutMetaKey(ae)&&T(z)},F=z=>T(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,b=z.hideNavComponent),"responsiveNavSetting"in z&&t(15,v=z.responsiveNavSetting)},[c,g,p,r,T,oa,S,n,_,C,N,I,D,L,b,v,o,V,O,F]}class sy extends Et{constructor(e){super(),At(this,e,ry,ly,Tt,{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 oa}}function ay(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){E(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&A(e),i[6](null)}}}function oy(i,e,t){const n=Ht();let{pathData:l}=e,r,s={},o,c=ht("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;ie.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=C=>{C.last||S(C.node)};Jt(()=>{on.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=ie.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ie.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=et.getCurrentPath();for(let L=I;L<l.length;L++){const T=l[L],V=me.mapPathToNode(D,T);if(s[V])N.push(s[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)N.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?pt.getTranslation(T.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:T,route:V,pending:!0});else{const O=await v(T);O&&N.push({label:O,node:T,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,b),N=[];for(let L=I;L<l.length;L++){const T=l[L],V=me.mapPathToNode(D,T);if(T.titleResolver){const F=await Vt.extractDataFromPath(V),z=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,T.context),F.pathData.pathParams);try{const ae=await ke.fetchNodeTitleData(T,z);N.push({label:ae.label,node:T,route:V});continue}catch{}}const O=await v(T);O&&N.push({label:O,node:T,route:V})}D===et.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,b)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(L=>{s[L.route]=L}))}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 pt.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=me.mapPathToNode(et.getCurrentPath(),C),I=await Vt.extractDataFromPath(N);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class uy extends Et{constructor(e){super(),At(this,e,oy,ay,Tt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";An.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 fy(){return To}const{Boolean:cy,window:dy}=Fi;function Og(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Fg(i){let e,t;return e=new dS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Ug(i){let e,t;function n(){return i[68](i[149])}function l(...s){return i[69](i[149],...s)}function r(...s){return i[70](i[149],...s)}return e=new g_({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ke(e.$$.fragment)},m(s,o){Ge(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[147].mfModal.settings),o[0]&268435456&&(c.nodepath=i[147].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){qe(e,s)}}}function Bg(i){let e,t,n=i[147].mfModal.displayed&&Ug(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[147].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&&(Le(),q(n,1,1,()=>{n=null}),Ae())},i(l){t||(U(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Hg(i){let e,t;return e=new g_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[hy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(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]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function hy(i){let e,t;return e=new $r({props:{area:"drawer",disable:i[13]}}),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Wg(i){let e,t;return e=new mS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){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 VS({props:r}),$e.push(()=>vt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ke(e.$$.fragment)},m(s,o){Ge(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],bt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){qe(e,s)}}}function Gg(i){let e,t;return e=new HS({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(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function gy(i){let e,t,n,l,r,s,o,c,g;t=new $r({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Gg(i);return{c(){e=k("div"),Ke(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-16jxfob"),f(e,"class","fd-page iframeContainer svelte-16jxfob"),f(e,"tabindex","0"),bi(e,"lui-split-view",i[12].displayed),bi(e,"lui-collapsed",i[12].collapsed)},m(_,p){E(_,e,p),Ge(t,e,null),w(e,n),w(e,l),E(_,r,p),h&&h.m(_,p),E(_,s,p),o=!0,c||(g=rw(i[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&bi(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&bi(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=Gg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(Le(),q(h,1,1,()=>{h=null}),Ae())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&A(e),qe(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function qg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-16jxfob" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-16jxfob"></div>
|
|
59
59
|
<div class="fd-busy-indicator__circle svelte-16jxfob"></div>
|
|
60
|
-
<div class="fd-busy-indicator__circle svelte-16jxfob"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-16jxfob"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}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 b(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 HC({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",b)),$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(){Ke(e.$$.fragment)},m(y,C){Ge(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],mt(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],mt(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],mt(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],mt(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],mt(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],mt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function jg(i){let e,t,n,l;e=new sy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Jg(i);return{c(){Ke(e.$$.fragment),t=K(),r&&r.c(),n=Se()},m(s,o){Ge(e,s,o),E(s,t,o),r&&r.m(s,o),E(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&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){q(e.$$.fragment,s),q(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 uy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Yg(i){let e,t;return e=new m2({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Qg(i){let e,t;return e=new xC({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function _y(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=i[26]&&i[26].length&&Fg(i),N=i[28],I=[];for(let X=0;X<N.length;X+=1)I[X]=Bg(Og(i,N,X));const D=X=>q(I[X],1,1,()=>{I[X]=null});let L=i[29].displayed&&i[29].settings.isDrawer&&Hg(i),T=i[27].displayed&&Wg(i),V=i[18].displayed&&zg(i);o=new $r({props:{disable:i[13],$$slots:{default:[gy]},$$scope:{ctx:i}}});let O=i[11]&&qg(),F=!i[25]&&Kg(i),z=!i[21]&&jg(i),ae=!(i[21]||i[22])&&Yg(i),fe=i[16]&&!i[21]&&Qg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let X=0;X<I.length;X+=1)I[X].c();n=K(),L&&L.c(),l=K(),T&&T.c(),r=K(),V&&V.c(),s=K(),Ke(o.$$.fragment),c=K(),O&&O.c(),g=K(),F&&F.c(),h=K(),z&&z.c(),_=K(),ae&&ae.c(),p=K(),fe&&fe.c(),f(e,"id","app"),f(e,"class",b=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-16jxfob"),f(e,"configversion",i[24])},m(X,pe){E(X,e,pe),C&&C.m(e,null),w(e,t);for(let ee=0;ee<I.length;ee+=1)I[ee].m(e,null);w(e,n),L&&L.m(e,null),w(e,l),T&&T.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),Ge(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),z&&z.m(e,null),w(e,_),ae&&ae.m(e,null),w(e,p),fe&&fe.m(e,null),v=!0,S||(y=le(dy,"resize",i[35]),S=!0)},p(X,pe){if(X[26]&&X[26].length?C?(C.p(X,pe),pe[0]&67108864&&U(C,1)):(C=Fg(X),C.c(),U(C,1),C.m(e,t)):C&&(Le(),q(C,1,1,()=>{C=null}),Ae()),pe[0]&268443648|pe[1]&896){N=X[28];let H;for(H=0;H<N.length;H+=1){const oe=Og(X,N,H);I[H]?(I[H].p(oe,pe),U(I[H],1)):(I[H]=Bg(oe),I[H].c(),U(I[H],1),I[H].m(e,n))}for(Le(),H=N.length;H<I.length;H+=1)D(H);Ae()}X[29].displayed&&X[29].settings.isDrawer?L?(L.p(X,pe),pe[0]&536870912&&U(L,1)):(L=Hg(X),L.c(),U(L,1),L.m(e,l)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),X[27].displayed?T?(T.p(X,pe),pe[0]&134217728&&U(T,1)):(T=Wg(X),T.c(),U(T,1),T.m(e,r)):T&&(Le(),q(T,1,1,()=>{T=null}),Ae()),X[18].displayed?V?(V.p(X,pe),pe[0]&262144&&U(V,1)):(V=zg(X),V.c(),U(V,1),V.m(e,s)):V&&(Le(),q(V,1,1,()=>{V=null}),Ae());const ee={};pe[0]&8192&&(ee.disable=X[13]),pe[0]&12288|pe[4]&67108864&&(ee.$$scope={dirty:pe,ctx:X}),o.$set(ee),X[11]?O||(O=qg(),O.c(),O.m(e,g)):O&&(O.d(1),O=null),X[25]?F&&(Le(),q(F,1,1,()=>{F=null}),Ae()):F?(F.p(X,pe),pe[0]&33554432&&U(F,1)):(F=Kg(X),F.c(),U(F,1),F.m(e,h)),X[21]?z&&(Le(),q(z,1,1,()=>{z=null}),Ae()):z?(z.p(X,pe),pe[0]&2097152&&U(z,1)):(z=jg(X),z.c(),U(z,1),z.m(e,_)),X[21]||X[22]?ae&&(Le(),q(ae,1,1,()=>{ae=null}),Ae()):ae?(ae.p(X,pe),pe[0]&6291456&&U(ae,1)):(ae=Yg(X),ae.c(),U(ae,1),ae.m(e,p)),X[16]&&!X[21]?fe?(fe.p(X,pe),pe[0]&2162688&&U(fe,1)):(fe=Qg(X),fe.c(),U(fe,1),fe.m(e,null)):fe&&(Le(),q(fe,1,1,()=>{fe=null}),Ae()),(!v||pe[0]&48234496&&b!==(b=(X[21]?"no-nav":"")+" "+(X[22]?"no-side-nav":"")+" "+(X[25]?"no-top-nav":"")+" "+(X[23]?"no-animation":"")+" svelte-16jxfob"))&&f(e,"class",b),(!v||pe[0]&16777216)&&f(e,"configversion",X[24])},i(X){if(!v){U(C);for(let pe=0;pe<N.length;pe+=1)U(I[pe]);U(L),U(T),U(V),U(o.$$.fragment,X),U(F),U(z),U(ae),U(fe),v=!0}},o(X){q(C),I=I.filter(cy);for(let pe=0;pe<I.length;pe+=1)q(I[pe]);q(L),q(T),q(V),q(o.$$.fragment,X),q(F),q(z),q(ae),q(fe),v=!1},d(X){X&&A(e),C&&C.d(),ct(I,X),L&&L.d(),T&&T.d(),V&&V.d(),qe(o),O&&O.d(),F&&F.d(),z&&z.d(),ae&&ae.d(),fe&&fe.d(),S=!1,y()}}}function py(i,e,t){const n=Bt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,b,v,S,y,C,N,I,D,L,T,V,O,F,z,ae,fe,X,pe=!0,ee=!1,H,oe,$,J=[],Ce={isDirty:!1,persistUrl:null},te,Ue,Pe=!1,ce,Z,he={},re,Ve,He,{isSearchFieldVisible:be}=e,{inputElem:We}=e,{luigiCustomSearchRenderer__slot:St}=e,{displaySearchResult:Ht}=e,{displayCustomSearchResult:kt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:_n}=e;const on=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Je=await ie.readUserSettings(),Me=Re&&typeof Je=="object"&&Je!==null,we=Ie.applyCoreStateData({isNavigateBack:ee,viewStackSize:J.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Me?Je[Re]:null,anchor:sl.getAnchor(),cssVariables:await Io.getCSSVariables()});return Ie.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{we[De]=B[De]||!1}),we},pn=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||L)),pathParams:JSON.stringify(Object.assign({},B.pathParams||T)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await on(B)),authData:al.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ie.sendMessageToIframe(B.iframe,Re)},Ui=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ie.broadcastMessageToAllIframes(ue)},mn=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=kn(B.params),Je=et.getNodePath(O,V);J.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ne.replaceVars(Je,ue.iframe.luigi.pathParams,":",!1):Je,nextPath:Re.startsWith("/")?Re:"/"+Re,context:D}),ue.iframe.pv="pv"}},Qt=(B,ue,Re,Je)=>{let Me=kn(B.params,Re,Je);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:gt}=B.params,Mt={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:gt};return Me=ne.addLeadingSlash(Me),Me=De?me.composeSearchParamsToRoute(Me):Me,mn(B,ue),et.navigateTo(Me,Mt)},An=B=>B.split("?")[0],Rt=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Je=[...B].pop();return[An(Je.path),An(Je.nextPath)].includes(An(Re))},fl=B=>{Ce&&Ce.dirtySet&&(B?Ce.dirtySet.delete(B):Ce.dirtySet.clear())},xt=B=>new Promise((ue,Re)=>{Hl(B)?yi().then(()=>{fl(),ue()},()=>{Re()}):ue()}),un=()=>({get:()=>({unsavedChanges:Ce,hideNav:Ci,viewUrl:F,nodeParams:L,viewGroup:z,urlParamsRaw:V,currentNode:O,navigationPath:oe,context:D,pathParams:T,hideSideNav:Hi,isolateView:ae,pageErrorHandler:fe,previousNodeValues:X,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:ee,goBackContext:H,isNavigationSyncEnabled:pe}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(21,Ci=B.hideNav):ue==="viewUrl"?F=B.viewUrl:ue==="nodeParams"?L=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?V=B.urlParamsRaw:ue==="currentNode"?O=B.currentNode:ue==="navigationPath"?t(15,oe=B.navigationPath):ue==="context"?D=B.context:ue==="pathParams"?t(14,T=B.pathParams):ue==="hideSideNav"?(Hi!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,Hi=B.hideSideNav)):ue==="isolateView"?ae=B.isolateView:ue==="pageErrorHandler"?fe=B.pageErrorHandler:ue==="previousNodeValues"?X=B.previousNodeValues:ue==="mfSplitView"?t(12,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?y=B.splitViewIframe:ue=="splitViewWC"?N=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?He=setTimeout(()=>{t(11,s=!0)},250):(t(11,s=!1),clearTimeout(He)):ue==="tabNav"?t(16,Ue=B.tabNav):ue==="isNavigateBack"?ee=B.isNavigateBack:ue==="goBackContext"?H=B.goBackContext:ue==="isNavigationSyncEnabled"&&(pe=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Hl,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:yi,showAlert:hl,prepareInternalData:on,dispatch:n}),Wn=(B,ue)=>{an.doOnStoreChange(l,()=>{Bn.deleteCache();const Re=et.getCurrentPath();et.handleRouteChange(Re,un(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Je)=>{const{withoutSync:Me,preventContextUpdate:we}=Je||{};Rt(J,Re)||(J=[],Tn.removeInactiveIframes(B));for(let gt=yt.length;gt--;)j(gt);Xr.removeBackdrop(),Bi(),et.handleRouteChange(Re,un(),B,ue,Me,we)})},zt=(B,ue)=>ne.replaceVars(et.getNodePath(B),ue,":",!1),kn=(B,ue,Re)=>{const Je=ue||O,Me=Re||T;let we=oe;if(ue){let gt=ue.parent;for(we=[ue];gt;)we.push(gt),gt=gt.parent;we=[...we].reverse()}let De=B.link;if(B.fromVirtualTreeRoot){const gt=[...we].reverse().find(Mt=>Mt.virtualTree);if(!gt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=et.concatenatePath(zt(gt,Me),B.link)}else if(B.fromParent)De=et.concatenatePath(zt(Je.parent,Me),B.link);else if(B.fromClosestContext){const gt=[...we].reverse().find(Mt=>Mt.navigationContext&&Mt.navigationContext.length>0);De=et.concatenatePath(zt(gt,Me),B.link)}else if(B.fromContext){const gt=B.fromContext,Mt=[...we].reverse().find(Tr=>gt===Tr.navigationContext);De=et.concatenatePath(zt(Mt,Me),B.link)}else B.intent?De=me.getIntentPath(B.link):B.relative&&(De=et.concatenatePath(zt(Je,Me),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((gt,Mt)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+gt[0])+"="+encodeURIComponent(gt[1])+(Mt<Object.keys(B.nodeParams).length-1?"&":"")})),De},oi=B=>{const ue=B.detail.node;xt().then(()=>{if(Ul(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);qi(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,ci(Re,ue.drawer)}else un().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(ue,un())},()=>{})},ui=()=>{t(17,Pe=!Pe)};jr("handleNavigation",Qt);const fn=B=>B?!0:(console.warn("No search provider defined."),!1),ki=()=>{fn(Z)&&t(0,be=!1)},x=()=>{fn(Z)&&We&&(t(0,be=!0),We.focus())},Te=()=>{fn(Z)&&We&&(t(1,We.value="",We),zn())},at=()=>{t(0,be=!be),Ow.clearSearchField()},It=()=>{if(fn(Z)&&We)return We.value},Ct=B=>{fn(Z)&&We&&(t(1,We.value=B,We),ne.isFunction(Z.onInput)?Z.onInput():console.error("onInput is not a function. Please check the global search configuration."))},nn=B=>{fn(Z)&&We&&t(1,We.placeholder=B,We)},En=B=>{if(fn(Z))if(B&&B.length>0)if(ne.isFunction(Z.customSearchResultRenderer)){t(4,kt=!0);let ue={fireItemSelected:Re=>{Z.onSearchResultItemSelected(Re)}};Z.customSearchResultRenderer(B,St,ue)}else t(3,Ht=!0),t(5,Yt=B);else console.warn("Search result array is empty.")},zn=()=>{if(fn(Z)&&(t(3,Ht=!1),t(5,Yt=[]),St))for(;St.lastElementChild;)St.removeChild(St.lastElementChild)},ei=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};Qt(Re)},Vl=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(un(),B,ue)},Bi=()=>{st.close(un())},_r=()=>{st.collapse(un()),t(12,o.collapsed=!0,o)},pr=()=>{st.expand(un()),t(12,o.collapsed=!1,o)},Ml=()=>o.displayed?o.collapsed:!1,mr=()=>o.displayed?!o.collapsed:!1,br=()=>o.displayed,vr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},cl=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},wr=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let Ci,Hi,dl,Wi,Ol,Fl;const Ul=()=>{document.body.classList.remove("lui-leftNavToggle")},Sr=()=>{vl();const B=window.innerWidth>=$t.desktopMinWidth&&Wi<$t.desktopMinWidth,ue=window.innerWidth<$t.desktopMinWidth&&Wi>=$t.desktopMinWidth;(B||ue)&&Ul(),Wi=window.innerWidth};let Cn=[];const zi=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},hl=(B,ue=!1)=>{const Re=ie.getConfigValue("settings.customAlertHandler");if(ne.isFunction(Re)){const Me=Re(B,ue);if(Me!==!1)return Me}const Je=Cn;return B.id||(B.id=ne.getRandomId()),B.id&&Je&&zi(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{zi(Cn,B.id)&&Bl(B.id)},B.closeAfter),new Promise((Me,we)=>{t(26,Cn=[...Je||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Me}}])}))},Bl=(B,ue)=>{const Re=zi(Cn,B);if(!Re){console.error("An unexisting alert has been dismissed.",Cn,B);return}if(t(26,Cn=Cn.filter(Je=>Je.settings.id!==B)),Re.openFromClient){const Je=Tn.getActiveIframe($),Me={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ie.sendMessageToIframe(Je,Me)}else Re.promise&&Re.promise.resolve(ue||B)},kr=B=>{Bl(B.detail.id,B.detail.dismissKey)};let Gi;const gl=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,ue=!1,Re)=>new Promise((Je,Me)=>{t(27,Gi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Je,reject:Me},targetIframe:Re})}),fi=B=>{const{promise:ue,openFromClient:Re,targetIframe:Je}=Gi;if(gl(),B?ue.resolve():ue.reject(),Re&&Je){const Me={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ie.sendMessageToIframe(Je,Me)}},Hl=B=>{if(Ce.dirtySet){if(B)return Ce.dirtySet.has(B);if(Ce.dirtySet.size>0)return!0}return!1},yi=()=>_l({header:_t.getTranslation("luigi.unsavedChangesAlert.header"),body:_t.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:_t.getTranslation("luigi.button.dismiss"),buttonConfirm:_t.getTranslation("luigi.button.confirm")}),Cr=()=>Ce.dirtySet?Ce.dirtySet.size>0:Ce.isDirty;jr("getUnsavedChangesModalPromise",xt);let yt=[];const pl=B=>{if(typeof B>"u"){t(28,yt=[]);return}t(28,yt=yt.filter((ue,Re)=>B!==Re))};pl();const qi=async(B,ue)=>{if(await ke.shouldPreventNavigationForPath(B))return;const Re={mfModal:{displayed:!0,nodepath:B,settings:ue}};t(28,yt=[...yt,Re]),ie.getConfigBooleanValue("routing.showModalPathInUrl")&&yt.length===1&&et.appendModalDataToUrl(B,ue)},ml=(B,ue)=>{t(28,yt[ue].modalIframe=B.detail.modalIframe,yt),t(28,yt[ue].modalIframeData=B.detail.modalIframeData,yt)},bl=(B,ue)=>{t(28,yt[ue].modalWC=B.detail.modalWC,yt),t(28,yt[ue].modalWCData=B.detail.modalWCData,yt)},j=(B,ue,Re)=>{const Je=(De,gt)=>{ie.getConfigBooleanValue("routing.showModalPathInUrl")&&yt.length===1&&et.removeModalDataFromUrl(gt),pl(De)},Me=yt[B],we=ne.getRemotePromise(Me.mfModal.settings.onClosePromiseId);Me&&Me.modalIframe?xt(Me.modalIframe.contentWindow).then(()=>{Je(B,ue),we&&we.doResolve(Re)},()=>{}):Me&&Me.modalWC&&(Je(B,ue),we&&we.doResolve(Re))};jr("openViewInModal",qi);let tt={};const cn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};cn();const ci=async(B,ue)=>{await ke.shouldPreventNavigationForPath(B)||(t(29,tt.displayed=!0,tt),t(29,tt.nodepath=B,tt),t(29,tt.settings=ue,tt),tt.settings&&tt.settings.backdrop&&t(13,_=!0))},es=()=>window.innerWidth>=$t.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,vl=()=>{if(!es())return;const B=document.querySelector(".iframeModalCtn._drawer"),ue=Ie.getCurrentMicrofrontendIframe();if(B&&ue){ue.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Re}=getComputedStyle(B),Je=ue.clientWidth;ue.setAttribute("style",`width: calc(${Je}px - ${Re})`)}},ts=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,vl()},yr=B=>{v=B.detail.modalWC,B.detail.modalWCData,vl()},ca=B=>{h=B.detail.activeDrawer},Wl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?xt(p.contentWindow).then(()=>{cn()},()=>{}):v&&xt().then(()=>{cn()},()=>{}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(ue){console.log(ue)}},zl=()=>{const B=or.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,he.userSettingGroups=[...B],he),t(18,he.displayed=!0,he)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,he.displayed=!1,he)},da=async B=>{if(await ke.shouldPreventNavigationForPath(B))return;ie.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},is=B=>{let ue=oe;if(O){let Me=O.parent;for(ue=[O];Me;)ue.push(Me),Me=Me.parent;ue=[...ue].reverse()}let Re=B.link,Je=zt(O,T);if(B.fromVirtualTreeRoot){const Me=[...ue].reverse().find(De=>De.virtualTree);if(!Me){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=zt(Me,T);Re=Je.split(we).join("")}else if(B.fromParent){const Me=zt(O.parent,T);Re=Je.split(Me).join("")}else if(B.fromClosestContext){const Me=[...ue].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=zt(Me,T);Re=Je.split(we).join("")}else if(B.fromContext){const Me=B.fromContext,we=[...ue].reverse().find(gt=>Me===gt.navigationContext),De=zt(we,T);Re=Je.split(De).join("")}else Re=Je;return Re};function ls(B){sessionStorage.removeItem("historyState"),sr.shouldPreload=!0,sr.preload(!0),sr.shouldPreload=!1;const ue=ie.getConfigValue("navigation.defaults.isolateView"),Re=ie.getConfigValue("navigation.defaults.pageErrorHandler"),Je=ie.getConfigValue("navigation.defaults.runTimeErrorHandler"),Me={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:ue,defaultPageErrorHandler:Re};_t.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Ie.broadcastMessageToAllIframes(De)}),Ln.addEventListener("popstate",async we=>{const De=Cn;if(!De||!(De.length>0))return;const gt=De.map(Mt=>{if(Mt&&!Mt.openFromClient&&typeof Mt.settings.ttl=="number"){if(Mt.settings.ttl===0)return null;Mt.settings.ttl--}return Mt}).filter(Mt=>Mt);t(26,Cn=gt)}),Ln.addEventListener("message",async we=>{const De=Ie.getValidMessageSource(we),gt=yt[yt.length-1],Mt=gt&>.modalIframe,Tr=gt&>.modalIframeData,ji={modalIframe:Mt,modalIframeData:Tr,drawerIframe:p,drawerIframeData:b,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!De)return;De._ready=!0;const Pt=Ie.getSpecialIframeMessageSource(we,ji),dt=Pt&&Pt.length>0,Lr=ie.getConfigValue("communication.skipEventsWhenInactive");if(Lr&&Lr.length>0&&!dt&&De.contentWindow!==window&&!ne.isElementVisible(De)&&Lr.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const ze=ie.getConfigValue("communication.customMessagesListeners")||{},vt=la.convertCustomMessageInternalToUser(we.data),Gt=ze[vt.id],Gn="luigi.updateUserSettings";if(he&&vt.id===Gn){Gt&&console.warn(`The key "${Gn}" is not allowed to use for custom messages.`);return}if(typeof Gt=="function"){const di=ai.getMicrofrontends().find(Pi=>Ie.isMessageSource(we,Pi.container));Gt(vt,di,ne.removeInternalProperties(De.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${vt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(De.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(De.luigi.viewUrl=De.luigi.nextViewUrl,De.luigi.nextViewUrl="",De.luigi.clientPermissions=De.luigi.nextClientPermissions,delete De.luigi.nextClientPermissions,Me.navigateOk=!0,sr.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,dt)Pt.forEach(async ze=>{let vt=ji[ze.dataKey].context;const Gt={...Me,iframe:ji[ze.iframeKey],context:vt,pathParams:ji[ze.dataKey].pathParams,nodeParams:ji[ze.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(ji[ze.iframeKey].luigi.currentNode),modal:ze.iframeKey.startsWith("modal"),drawer:ze.iframeKey.startsWith("drawer"),splitView:ze.iframeKey.startsWith("splitView")};await pn(Gt,{})});else if(Me.iframe&&Ie.isMessageSource(we,Me.iframe))await pn(Me,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&ha(),sr.preload();else if(De.luigi.preloading)await pn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let ze=or.findActiveCustomUserSettingsIframe(we.source);if(ze){let vt=ze.getAttribute("userSettingsGroup"),Gt={context:{userSettingsData:_n[vt]},iframe:ze};await pn(Gt)}}sr.viewGroupLoaded(De)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(He),t(11,s=!1)),we.data.msg==="luigi.navigation.open"){ee=!1;const ze=window.location.href,vt=dt?De.luigi.currentNode:void 0,Gt=dt?De.luigi.pathParams:void 0,Gn=we.data.params,{intent:di,newTab:Pi,modal:wl,splitView:qt,drawer:Ji,withoutSync:Yi}=Gn;let ql=Pi||wl||qt||Ji;const Ar=()=>{const Rn=ne.getRemotePromise(we.data.remotePromiseId);Rn&&Rn.doResolve()},ln=()=>{const Rn=ne.getRemotePromise(we.data.remotePromiseId);Rn&&Rn.doReject()},Qi=Rn=>{!Rn||ze!==window.location.href?Ar():ln()};we.source!==window&&!di&&Gn.link&&(Gn.link=Gn.link.split("?")[0]);let rn=kn(we.data.params,vt,Gt);if(ql=ql||di&&rn.external,!ql)xt().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Me,vt,Gt).then(()=>{Qi(!0)}).catch(()=>{ln()}),yt.forEach((Rn,cs)=>{j(cs)}),Bi(),Wl(),pe=!0}).catch(()=>{ln()});else{if(di&&rn.external){et.navigateToExternalLink({url:rn.url,sameWindow:!rn.openInNewTab});return}if(rn=ne.addLeadingSlash(rn),Pi){await da(rn),Qi();return}const Rn=await Pr(rn);if(rn=await me.handlePageNotFoundAndRetrieveRedirectPath(un(),rn,Rn),!rn){ln();return}$=B,wl!==void 0?(!wl.keepPrevious&&pl(),await qi(rn,wl===!0?{}:wl),Qi()):qt!==void 0?(await Vl(rn,qt),Qi()):Ji!==void 0&&(cn(),Ji.isDrawer=!0,await ci(rn,Ji),Qi())}}if(we.data.msg==="luigi.navigation.back"){const ze=yt[yt.length-1],vt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);Ie.isMessageSource(we,ze&&ze.modalIframe)?(j(yt.length-1,!0,vt),Me.iframe&&await pn(Me,{goBackContext:vt})):Ie.isMessageSource(we,y)?(Bi(),Me.iframe&&await pn(Me,{goBackContext:vt})):Ie.isMessageSource(we,p)?(h&&(h=!h),Wl(),Me.iframe&&await pn(Me,{goBackContext:vt})):J&&J.length>0?xt().then(()=>{Tn.setActiveIframeToPrevious(B);const Gt=J.pop();Me.iframe=Tn.getActiveIframe(B),ee=!0,J=J,H=vt,Qt({params:{link:Gt.path}},Me)},()=>{}):(vt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const ze=we.data.data,Gt={msg:"luigi.navigation.currentRoute.answer",data:{route:is(ze),correlationId:ze.id}};Ie.sendMessageToIframe(De,Gt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Ui(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!ie.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(dt){const ze=ne.addLeadingSlash(kn(we.data.params,De.luigi.currentNode,De.luigi.pathParams));et.updateModalDataInUrl(ze,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const ze=De.luigi.currentNode,vt=De.luigi.pathParams,Gt=we.data.data,Gn=kn(Gt,ze,vt),di=Gn?await Dt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),Gn):!1,Pi={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Gt.id,pathExists:di?di.isExistingRoute:!1}};Ie.sendMessageToIframe(De,Pi)}if(we.data.msg==="luigi.set-page-dirty"){if(!Ce.dirtySet){const ze=new Set;ze.add(we.source),Ce={dirtySet:ze}}Ce.persistUrl=window.location.href,we.data.dirty?Ce.dirtySet.add(we.source):Ce.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const ze=we.data.data.settings;$=B,gl(),_l(ze,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:ze}=we.data.data;if(!ze.text&&!ne.isFunction(ie.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}$=B,hl(ze,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:ze}=we.data.data;ze&&_t.setCurrentLocale(ze)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Gl(),we.data.msg==="storage"&&aS.process(De.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let ze=De.luigi.currentNode;ze&&ze.runTimeErrorHandler&&ne.isFunction(ze.runTimeErrorHandler.errorFn)?ze.runTimeErrorHandler.errorFn(we.data.errorObj,ze):Je&&ne.isFunction(Je.errorFn)&&Je.errorFn(we.data.errorObj,ze)}if(we.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:ze,keepBrowserHistory:vt}=we.data;me.addSearchParamsFromClient(De.luigi.currentNode,ze,vt)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(dt)return;const{data:ze,keepBrowserHistory:vt}=we.data;sl.addNodeParams(ze,vt)}if(we.data.msg==="luigi.setAnchor"){const{anchor:ze}=we.data;sl.setAnchor(ze)}if(we.data.msg==="luigi.setVGData"){const ze=we.data,vt=me.findViewGroup(De.luigi.currentNode);if(vt){const Gt=Tn.getViewGroupSettings(vt);Gt._liveCustomData=ze.data,ie.configChanged("navigation.viewgroupdata")}}}),Wn(B,Me)}jr("store",l),jr("getTranslation",r);const Gl=B=>{ce&&ce.thirdPartyCookieErrorHandling&&ne.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()};function ha(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(He),t(11,s=!1)},250)):clearTimeout(He)}const Pr=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=kn(ue),Je=Re?await Dt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),Re):!1;return Je?Je.isExistingRoute:!1},Nr=()=>yt.length>0||J.length!==0;Jt(()=>{if(Io._init(),Z=ie.getConfigValue("globalSearch.searchProvider"),te=ie.getConfigValue("settings.responsiveNavigation"),Wi=window.innerWidth,te==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();B&&ue&&t(19,re=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(te==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,re=Re?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ce=ie.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{fy()==="disabled"&&Gl()}),document.body.removeChild(B)}})}),ua(()=>{vl()}),Hn(()=>{t(20,Ve=ie.getConfigValue("navigation.breadcrumbs")),Z=ie.getConfigValue("globalSearch.searchProvider"),t(24,Ol=ie.getConfigValue("tag")),t(25,Fl=ie.getConfigValue("settings.header.disabled"))});const Ir=B=>j(B,!0),Ki=(B,ue)=>ml(ue,B),rs=(B,ue)=>bl(ue,B),ss=()=>fi(!0),ga=()=>fi(!1);function as(B){_n=B,t(6,_n)}function os(B){be=B,t(0,be)}function us(B){Ht=B,t(3,Ht)}function fs(B){kt=B,t(4,kt)}function _a(B){Yt=B,t(5,Yt)}function pa(B){We=B,t(1,We)}function ma(B){St=B,t(2,St)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,be=B.isSearchFieldVisible),"inputElem"in B&&t(1,We=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,St=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Ht=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,kt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Yt=B.searchResult),"storedUserSettings"in B&&t(6,_n=B.storedUserSettings)},[be,We,St,Ht,kt,Yt,_n,at,zn,ei,ns,s,o,_,T,oe,Ue,Pe,he,re,Ve,Ci,Hi,dl,Ol,Fl,Cn,Gi,yt,tt,oi,ui,vr,cl,wr,Sr,kr,fi,ml,bl,j,ts,yr,ca,Wl,ls,l,r,ki,x,Te,It,Ct,nn,En,Vl,Bi,_r,pr,Ml,mr,br,hl,_l,Cr,zl,Pr,Nr,Ir,Ki,rs,ss,ga,as,os,us,fs,_a,pa,ma]}class my extends Et{constructor(e){super(),At(this,e,py,_y,Tt,{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 by=()=>{const{subscribe:i,update:e,reset:t}=cr({}),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)})}}},y_=by(),vy=Lw((i,e,t)=>_t.getTranslation(i,e,t));Luigi._store=y_;const wy=()=>new Promise(i=>{_t._init(),tn.init().then(()=>{setTimeout(()=>{let e;ai.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new my({target:ai.getLuigiContainer(),props:{store:y_,getTranslation:vy}}),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()})})});ie.setConfigCallbacks(wy);
|
|
60
|
+
<div class="fd-busy-indicator__circle svelte-16jxfob"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-16jxfob"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}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 b(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 HC({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"displaySearchResult",h)),$e.push(()=>vt(e,"displayCustomSearchResult",_)),$e.push(()=>vt(e,"searchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(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(){Ke(e.$$.fragment)},m(y,C){Ge(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],bt(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],bt(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],bt(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],bt(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],bt(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],bt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){q(e.$$.fragment,y),c=!1},d(y){qe(e,y)}}}function jg(i){let e,t,n,l;e=new sy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Jg(i);return{c(){Ke(e.$$.fragment),t=K(),r&&r.c(),n=Se()},m(s,o){Ge(e,s,o),E(s,t,o),r&&r.m(s,o),E(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&&(Le(),q(r,1,1,()=>{r=null}),Ae())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){q(e.$$.fragment,s),q(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 uy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Yg(i){let e,t;return e=new m2({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function Qg(i){let e,t;return e=new xC({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){Ke(e.$$.fragment)},m(n,l){Ge(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(e,n)}}}function _y(i){let e,t,n,l,r,s,o,c,g,h,_,p,b,v,S,y,C=i[26]&&i[26].length&&Fg(i),N=i[28],I=[];for(let X=0;X<N.length;X+=1)I[X]=Bg(Og(i,N,X));const D=X=>q(I[X],1,1,()=>{I[X]=null});let L=i[29].displayed&&i[29].settings.isDrawer&&Hg(i),T=i[27].displayed&&Wg(i),V=i[18].displayed&&zg(i);o=new $r({props:{disable:i[13],$$slots:{default:[gy]},$$scope:{ctx:i}}});let O=i[11]&&qg(),F=!i[25]&&Kg(i),z=!i[21]&&jg(i),ae=!(i[21]||i[22])&&Yg(i),fe=i[16]&&!i[21]&&Qg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let X=0;X<I.length;X+=1)I[X].c();n=K(),L&&L.c(),l=K(),T&&T.c(),r=K(),V&&V.c(),s=K(),Ke(o.$$.fragment),c=K(),O&&O.c(),g=K(),F&&F.c(),h=K(),z&&z.c(),_=K(),ae&&ae.c(),p=K(),fe&&fe.c(),f(e,"id","app"),f(e,"class",b=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-16jxfob"),f(e,"configversion",i[24])},m(X,pe){E(X,e,pe),C&&C.m(e,null),w(e,t);for(let ee=0;ee<I.length;ee+=1)I[ee].m(e,null);w(e,n),L&&L.m(e,null),w(e,l),T&&T.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),Ge(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),z&&z.m(e,null),w(e,_),ae&&ae.m(e,null),w(e,p),fe&&fe.m(e,null),v=!0,S||(y=le(dy,"resize",i[35]),S=!0)},p(X,pe){if(X[26]&&X[26].length?C?(C.p(X,pe),pe[0]&67108864&&U(C,1)):(C=Fg(X),C.c(),U(C,1),C.m(e,t)):C&&(Le(),q(C,1,1,()=>{C=null}),Ae()),pe[0]&268443648|pe[1]&896){N=X[28];let H;for(H=0;H<N.length;H+=1){const oe=Og(X,N,H);I[H]?(I[H].p(oe,pe),U(I[H],1)):(I[H]=Bg(oe),I[H].c(),U(I[H],1),I[H].m(e,n))}for(Le(),H=N.length;H<I.length;H+=1)D(H);Ae()}X[29].displayed&&X[29].settings.isDrawer?L?(L.p(X,pe),pe[0]&536870912&&U(L,1)):(L=Hg(X),L.c(),U(L,1),L.m(e,l)):L&&(Le(),q(L,1,1,()=>{L=null}),Ae()),X[27].displayed?T?(T.p(X,pe),pe[0]&134217728&&U(T,1)):(T=Wg(X),T.c(),U(T,1),T.m(e,r)):T&&(Le(),q(T,1,1,()=>{T=null}),Ae()),X[18].displayed?V?(V.p(X,pe),pe[0]&262144&&U(V,1)):(V=zg(X),V.c(),U(V,1),V.m(e,s)):V&&(Le(),q(V,1,1,()=>{V=null}),Ae());const ee={};pe[0]&8192&&(ee.disable=X[13]),pe[0]&12288|pe[4]&67108864&&(ee.$$scope={dirty:pe,ctx:X}),o.$set(ee),X[11]?O||(O=qg(),O.c(),O.m(e,g)):O&&(O.d(1),O=null),X[25]?F&&(Le(),q(F,1,1,()=>{F=null}),Ae()):F?(F.p(X,pe),pe[0]&33554432&&U(F,1)):(F=Kg(X),F.c(),U(F,1),F.m(e,h)),X[21]?z&&(Le(),q(z,1,1,()=>{z=null}),Ae()):z?(z.p(X,pe),pe[0]&2097152&&U(z,1)):(z=jg(X),z.c(),U(z,1),z.m(e,_)),X[21]||X[22]?ae&&(Le(),q(ae,1,1,()=>{ae=null}),Ae()):ae?(ae.p(X,pe),pe[0]&6291456&&U(ae,1)):(ae=Yg(X),ae.c(),U(ae,1),ae.m(e,p)),X[16]&&!X[21]?fe?(fe.p(X,pe),pe[0]&2162688&&U(fe,1)):(fe=Qg(X),fe.c(),U(fe,1),fe.m(e,null)):fe&&(Le(),q(fe,1,1,()=>{fe=null}),Ae()),(!v||pe[0]&48234496&&b!==(b=(X[21]?"no-nav":"")+" "+(X[22]?"no-side-nav":"")+" "+(X[25]?"no-top-nav":"")+" "+(X[23]?"no-animation":"")+" svelte-16jxfob"))&&f(e,"class",b),(!v||pe[0]&16777216)&&f(e,"configversion",X[24])},i(X){if(!v){U(C);for(let pe=0;pe<N.length;pe+=1)U(I[pe]);U(L),U(T),U(V),U(o.$$.fragment,X),U(F),U(z),U(ae),U(fe),v=!0}},o(X){q(C),I=I.filter(cy);for(let pe=0;pe<I.length;pe+=1)q(I[pe]);q(L),q(T),q(V),q(o.$$.fragment,X),q(F),q(z),q(ae),q(fe),v=!1},d(X){X&&A(e),C&&C.d(),ct(I,X),L&&L.d(),T&&T.d(),V&&V.d(),qe(o),O&&O.d(),F&&F.d(),z&&z.d(),ae&&ae.d(),fe&&fe.d(),S=!1,y()}}}function py(i,e,t){const n=Ht();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,b,v,S,y,C,N,I,D,L,T,V,O,F,z,ae,fe,X,pe=!0,ee=!1,H,oe,$,J=[],Ce={isDirty:!1,persistUrl:null},te,Ue,Pe=!1,ce,Z,he={},re,Ve,He,{isSearchFieldVisible:be}=e,{inputElem:We}=e,{luigiCustomSearchRenderer__slot:St}=e,{displaySearchResult:Wt}=e,{displayCustomSearchResult:kt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:pn}=e;const un=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Je=await ie.readUserSettings(),Oe=Re&&typeof Je=="object"&&Je!==null,we=Ie.applyCoreStateData({isNavigateBack:ee,viewStackSize:J.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Oe?Je[Re]:null,anchor:sl.getAnchor(),cssVariables:await Io.getCSSVariables()});return Ie.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{we[De]=B[De]||!1}),we},mn=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||L)),pathParams:JSON.stringify(Object.assign({},B.pathParams||T)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await un(B)),authData:al.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ie.sendMessageToIframe(B.iframe,Re)},Ui=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ie.broadcastMessageToAllIframes(ue)},bn=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=Cn(B.params),Je=et.getNodePath(O,V);J.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ne.replaceVars(Je,ue.iframe.luigi.pathParams,":",!1):Je,nextPath:Re.startsWith("/")?Re:"/"+Re,context:D}),ue.iframe.pv="pv"}},Qt=(B,ue,Re,Je)=>{let Oe=Cn(B.params,Re,Je);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:_t}=B.params,Ot={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:_t};return Oe=ne.addLeadingSlash(Oe),Oe=De?me.composeSearchParamsToRoute(Oe):Oe,bn(B,ue),et.navigateTo(Oe,Ot)},En=B=>B.split("?")[0],Rt=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Je=[...B].pop();return[En(Je.path),En(Je.nextPath)].includes(En(Re))},fl=B=>{Ce&&Ce.dirtySet&&(B?Ce.dirtySet.delete(B):Ce.dirtySet.clear())},xt=B=>new Promise((ue,Re)=>{Hl(B)?Pi().then(()=>{fl(),ue()},()=>{Re()}):ue()}),fn=()=>({get:()=>({unsavedChanges:Ce,hideNav:yi,viewUrl:F,nodeParams:L,viewGroup:z,urlParamsRaw:V,currentNode:O,navigationPath:oe,context:D,pathParams:T,hideSideNav:Hi,isolateView:ae,pageErrorHandler:fe,previousNodeValues:X,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:ee,goBackContext:H,isNavigationSyncEnabled:pe}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(21,yi=B.hideNav):ue==="viewUrl"?F=B.viewUrl:ue==="nodeParams"?L=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?V=B.urlParamsRaw:ue==="currentNode"?O=B.currentNode:ue==="navigationPath"?t(15,oe=B.navigationPath):ue==="context"?D=B.context:ue==="pathParams"?t(14,T=B.pathParams):ue==="hideSideNav"?(Hi!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,Hi=B.hideSideNav)):ue==="isolateView"?ae=B.isolateView:ue==="pageErrorHandler"?fe=B.pageErrorHandler:ue==="previousNodeValues"?X=B.previousNodeValues:ue==="mfSplitView"?t(12,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?y=B.splitViewIframe:ue=="splitViewWC"?N=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?He=setTimeout(()=>{t(11,s=!0)},250):(t(11,s=!1),clearTimeout(He)):ue==="tabNav"?t(16,Ue=B.tabNav):ue==="isNavigateBack"?ee=B.isNavigateBack:ue==="goBackContext"?H=B.goBackContext:ue==="isNavigationSyncEnabled"&&(pe=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Hl,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:Pi,showAlert:hl,prepareInternalData:un,dispatch:n}),Gn=(B,ue)=>{on.doOnStoreChange(l,()=>{Wn.deleteCache();const Re=et.getCurrentPath();et.handleRouteChange(Re,fn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Je)=>{const{withoutSync:Oe,preventContextUpdate:we}=Je||{};Rt(J,Re)||(J=[],Ln.removeInactiveIframes(B));for(let _t=gt.length;_t--;)j(_t);Xr.removeBackdrop(),Bi(),et.handleRouteChange(Re,fn(),B,ue,Oe,we)})},Gt=(B,ue)=>ne.replaceVars(et.getNodePath(B),ue,":",!1),Cn=(B,ue,Re)=>{const Je=ue||O,Oe=Re||T;let we=oe;if(ue){let _t=ue.parent;for(we=[ue];_t;)we.push(_t),_t=_t.parent;we=[...we].reverse()}let De=B.link;if(B.fromVirtualTreeRoot){const _t=[...we].reverse().find(Ot=>Ot.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=et.concatenatePath(Gt(_t,Oe),B.link)}else if(B.fromParent)De=et.concatenatePath(Gt(Je.parent,Oe),B.link);else if(B.fromClosestContext){const _t=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);De=et.concatenatePath(Gt(_t,Oe),B.link)}else if(B.fromContext){const _t=B.fromContext,Ot=[...we].reverse().find(Tr=>_t===Tr.navigationContext);De=et.concatenatePath(Gt(Ot,Oe),B.link)}else B.intent?De=me.getIntentPath(B.link):B.relative&&(De=et.concatenatePath(Gt(Je,Oe),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((_t,Ot)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),De},fi=B=>{const ue=B.detail.node;xt().then(()=>{if(Ul(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);qi(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,hi(Re,ue.drawer)}else fn().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(ue,fn())},()=>{})},ci=()=>{t(17,Pe=!Pe)};jr("handleNavigation",Qt);const cn=B=>B?!0:(console.warn("No search provider defined."),!1),Ci=()=>{cn(Z)&&t(0,be=!1)},x=()=>{cn(Z)&&We&&(t(0,be=!0),We.focus())},Te=()=>{cn(Z)&&We&&(t(1,We.value="",We),qn())},at=()=>{t(0,be=!be),Ow.clearSearchField()},Nt=()=>{if(cn(Z)&&We)return We.value},Ct=B=>{cn(Z)&&We&&(t(1,We.value=B,We),ne.isFunction(Z.onInput)?Z.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ln=B=>{cn(Z)&&We&&t(1,We.placeholder=B,We)},Rn=B=>{if(cn(Z))if(B&&B.length>0)if(ne.isFunction(Z.customSearchResultRenderer)){t(4,kt=!0);let ue={fireItemSelected:Re=>{Z.onSearchResultItemSelected(Re)}};Z.customSearchResultRenderer(B,St,ue)}else t(3,Wt=!0),t(5,Yt=B);else console.warn("Search result array is empty.")},qn=()=>{if(cn(Z)&&(t(3,Wt=!1),t(5,Yt=[]),St))for(;St.lastElementChild;)St.removeChild(St.lastElementChild)},ni=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};Qt(Re)},Vl=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(fn(),B,ue)},Bi=()=>{st.close(fn())},_r=()=>{st.collapse(fn()),t(12,o.collapsed=!0,o)},pr=()=>{st.expand(fn()),t(12,o.collapsed=!1,o)},Ml=()=>o.displayed?o.collapsed:!1,mr=()=>o.displayed?!o.collapsed:!1,br=()=>o.displayed,vr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},cl=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},wr=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let yi,Hi,dl,Wi,Ol,Fl;const Ul=()=>{document.body.classList.remove("lui-leftNavToggle")},Sr=()=>{vl();const B=window.innerWidth>=$t.desktopMinWidth&&Wi<$t.desktopMinWidth,ue=window.innerWidth<$t.desktopMinWidth&&Wi>=$t.desktopMinWidth;(B||ue)&&Ul(),Wi=window.innerWidth};let yn=[];const zi=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},hl=(B,ue=!1)=>{const Re=ie.getConfigValue("settings.customAlertHandler");if(ne.isFunction(Re)){const Oe=Re(B,ue);if(Oe!==!1)return Oe}const Je=yn;return B.id||(B.id=ne.getRandomId()),B.id&&Je&&zi(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{zi(yn,B.id)&&Bl(B.id)},B.closeAfter),new Promise((Oe,we)=>{t(26,yn=[...Je||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Oe}}])}))},Bl=(B,ue)=>{const Re=zi(yn,B);if(!Re){console.error("An unexisting alert has been dismissed.",yn,B);return}if(t(26,yn=yn.filter(Je=>Je.settings.id!==B)),Re.openFromClient){const Je=Ln.getActiveIframe($),Oe={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ie.sendMessageToIframe(Je,Oe)}else Re.promise&&Re.promise.resolve(ue||B)},kr=B=>{Bl(B.detail.id,B.detail.dismissKey)};let Gi;const gl=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,ue=!1,Re)=>new Promise((Je,Oe)=>{t(27,Gi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Je,reject:Oe},targetIframe:Re})}),di=B=>{const{promise:ue,openFromClient:Re,targetIframe:Je}=Gi;if(gl(),B?ue.resolve():ue.reject(),Re&&Je){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ie.sendMessageToIframe(Je,Oe)}},Hl=B=>{if(Ce.dirtySet){if(B)return Ce.dirtySet.has(B);if(Ce.dirtySet.size>0)return!0}return!1},Pi=()=>_l({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),Cr=()=>Ce.dirtySet?Ce.dirtySet.size>0:Ce.isDirty;jr("getUnsavedChangesModalPromise",xt);let gt=[];const pl=B=>{if(typeof B>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((ue,Re)=>B!==Re))};pl();const qi=async(B,ue)=>{if(await ke.shouldPreventNavigationForPath(B))return;const Re={mfModal:{displayed:!0,nodepath:B,settings:ue}};t(28,gt=[...gt,Re]),ie.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&et.appendModalDataToUrl(B,ue)},ml=(B,ue)=>{t(28,gt[ue].modalIframe=B.detail.modalIframe,gt),t(28,gt[ue].modalIframeData=B.detail.modalIframeData,gt)},bl=(B,ue)=>{t(28,gt[ue].modalWC=B.detail.modalWC,gt),t(28,gt[ue].modalWCData=B.detail.modalWCData,gt)},j=(B,ue,Re)=>{const Je=(De,_t)=>{ie.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&et.removeModalDataFromUrl(_t),pl(De)},Oe=gt[B],we=ne.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?xt(Oe.modalIframe.contentWindow).then(()=>{Je(B,ue),we&&we.doResolve(Re)},()=>{}):Oe&&Oe.modalWC&&(Je(B,ue),we&&we.doResolve(Re))};jr("openViewInModal",qi);let tt={};const dn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};dn();const hi=async(B,ue)=>{await ke.shouldPreventNavigationForPath(B)||(t(29,tt.displayed=!0,tt),t(29,tt.nodepath=B,tt),t(29,tt.settings=ue,tt),tt.settings&&tt.settings.backdrop&&t(13,_=!0))},es=()=>window.innerWidth>=$t.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,vl=()=>{if(!es())return;const B=document.querySelector(".iframeModalCtn._drawer"),ue=Ie.getCurrentMicrofrontendIframe();if(B&&ue){ue.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Re}=getComputedStyle(B),Je=ue.clientWidth;ue.setAttribute("style",`width: calc(${Je}px - ${Re})`)}},ts=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,vl()},yr=B=>{v=B.detail.modalWC,B.detail.modalWCData,vl()},ca=B=>{h=B.detail.activeDrawer},Wl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?xt(p.contentWindow).then(()=>{dn()},()=>{}):v&&xt().then(()=>{dn()},()=>{}),Ie.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(ue){console.log(ue)}},zl=()=>{const B=or.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,he.userSettingGroups=[...B],he),t(18,he.displayed=!0,he)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,he.displayed=!1,he)},da=async B=>{if(await ke.shouldPreventNavigationForPath(B))return;ie.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},is=B=>{let ue=oe;if(O){let Oe=O.parent;for(ue=[O];Oe;)ue.push(Oe),Oe=Oe.parent;ue=[...ue].reverse()}let Re=B.link,Je=Gt(O,T);if(B.fromVirtualTreeRoot){const Oe=[...ue].reverse().find(De=>De.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Gt(Oe,T);Re=Je.split(we).join("")}else if(B.fromParent){const Oe=Gt(O.parent,T);Re=Je.split(Oe).join("")}else if(B.fromClosestContext){const Oe=[...ue].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=Gt(Oe,T);Re=Je.split(we).join("")}else if(B.fromContext){const Oe=B.fromContext,we=[...ue].reverse().find(_t=>Oe===_t.navigationContext),De=Gt(we,T);Re=Je.split(De).join("")}else Re=Je;return Re};function ls(B){sessionStorage.removeItem("historyState"),sr.shouldPreload=!0,sr.preload(!0),sr.shouldPreload=!1;const ue=ie.getConfigValue("navigation.defaults.isolateView"),Re=ie.getConfigValue("navigation.defaults.pageErrorHandler"),Je=ie.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:ue,defaultPageErrorHandler:Re};pt.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Ie.broadcastMessageToAllIframes(De)}),An.addEventListener("popstate",async we=>{const De=yn;if(!De||!(De.length>0))return;const _t=De.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,yn=_t)}),An.addEventListener("message",async we=>{const De=Ie.getValidMessageSource(we),_t=gt[gt.length-1],Ot=_t&&_t.modalIframe,Tr=_t&&_t.modalIframeData,ji={modalIframe:Ot,modalIframeData:Tr,drawerIframe:p,drawerIframeData:b,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!De)return;De._ready=!0;const yt=Ie.getSpecialIframeMessageSource(we,ji),dt=yt&&yt.length>0,Lr=ie.getConfigValue("communication.skipEventsWhenInactive");if(Lr&&Lr.length>0&&!dt&&De.contentWindow!==window&&!ne.isElementVisible(De)&&Lr.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const ze=ie.getConfigValue("communication.customMessagesListeners")||{},It=la.convertCustomMessageInternalToUser(we.data),Dt=ze[It.id],en="luigi.updateUserSettings";if(he&&It.id===en){Dt&&console.warn(`The key "${en}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const Dn=ui.getMicrofrontends().find(Kn=>Ie.isMessageSource(we,Kn.container));Dt(It,Dn,ne.removeInternalProperties(De.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(De.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(De.luigi.viewUrl=De.luigi.nextViewUrl,De.luigi.nextViewUrl="",De.luigi.clientPermissions=De.luigi.nextClientPermissions,delete De.luigi.nextClientPermissions,Oe.navigateOk=!0,sr.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,dt)yt.forEach(async ze=>{let It=ji[ze.dataKey].context;const Dt={...Oe,iframe:ji[ze.iframeKey],context:It,pathParams:ji[ze.dataKey].pathParams,nodeParams:ji[ze.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(ji[ze.iframeKey].luigi.currentNode),modal:ze.iframeKey.startsWith("modal"),drawer:ze.iframeKey.startsWith("drawer"),splitView:ze.iframeKey.startsWith("splitView")};await mn(Dt,{})});else if(Oe.iframe&&Ie.isMessageSource(we,Oe.iframe))await mn(Oe,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&ha(),sr.preload();else if(De.luigi.preloading)await mn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let ze=or.findActiveCustomUserSettingsIframe(we.source);if(ze){let It=ze.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:pn[It]},iframe:ze};await mn(Dt)}}sr.viewGroupLoaded(De)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(He),t(11,s=!1)),we.data.msg==="luigi.navigation.open"){ee=!1;const ze=window.location.href,It=dt?De.luigi.currentNode:void 0,Dt=dt?De.luigi.pathParams:void 0,en=we.data.params,{intent:Dn,newTab:Kn,modal:wl,splitView:qt,drawer:Ji,withoutSync:Yi}=en;let ql=Kn||wl||qt||Ji;const Ar=()=>{const Vn=ne.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doResolve()},rn=()=>{const Vn=ne.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doReject()},Qi=Vn=>{!Vn||ze!==window.location.href?Ar():rn()};we.source!==window&&!Dn&&en.link&&(en.link=en.link.split("?")[0]);let sn=Cn(we.data.params,It,Dt);if(ql=ql||Dn&&sn.external,!ql)xt().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Oe,It,Dt).then(()=>{Qi(!0)}).catch(()=>{rn()}),gt.forEach((Vn,cs)=>{j(cs)}),Bi(),Wl(),pe=!0}).catch(()=>{rn()});else{if(Dn&&sn.external){et.navigateToExternalLink({url:sn.url,sameWindow:!sn.openInNewTab});return}if(sn=ne.addLeadingSlash(sn),Kn){await da(sn),Qi();return}const Vn=await Pr(sn);if(sn=await me.handlePageNotFoundAndRetrieveRedirectPath(fn(),sn,Vn),!sn){rn();return}$=B,wl!==void 0?(!wl.keepPrevious&&pl(),await qi(sn,wl===!0?{}:wl),Qi()):qt!==void 0?(await Vl(sn,qt),Qi()):Ji!==void 0&&(dn(),Ji.isDrawer=!0,await hi(sn,Ji),Qi())}}if(we.data.msg==="luigi.navigation.back"){const ze=gt[gt.length-1],It=gt.length>1&>[gt.length-2],Dt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Ie.isMessageSource(we,ze&&ze.modalIframe)){j(gt.length-1,!0,Dt);let en=Oe;if(It&&It.modalIframeData&&It.modalIframe){const Dn=It,Kn=Dn.modalIframeData;en={pathParams:Kn.pathParams,context:Kn.context,iframe:Dn.modalIframe}}en.iframe&&await mn(en,{goBackContext:Dt})}else Ie.isMessageSource(we,y)?(Bi(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Ie.isMessageSource(we,p)?(h&&(h=!h),Wl(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):J&&J.length>0?xt().then(()=>{Ln.setActiveIframeToPrevious(B);const en=J.pop();Oe.iframe=Ln.getActiveIframe(B),ee=!0,J=J,H=Dt,Qt({params:{link:en.path}},Oe)},()=>{}):(Dt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const ze=we.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:is(ze),correlationId:ze.id}};Ie.sendMessageToIframe(De,Dt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Ui(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!ie.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(dt){const ze=ne.addLeadingSlash(Cn(we.data.params,De.luigi.currentNode,De.luigi.pathParams));et.updateModalDataInUrl(ze,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const ze=De.luigi.currentNode,It=De.luigi.pathParams,Dt=we.data.data,en=Cn(Dt,ze,It),Dn=en?await Vt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),en):!1,Kn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:Dn?Dn.isExistingRoute:!1}};Ie.sendMessageToIframe(De,Kn)}if(we.data.msg==="luigi.set-page-dirty"){if(!Ce.dirtySet){const ze=new Set;ze.add(we.source),Ce={dirtySet:ze}}Ce.persistUrl=window.location.href,we.data.dirty?Ce.dirtySet.add(we.source):Ce.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const ze=we.data.data.settings;$=B,gl(),_l(ze,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:ze}=we.data.data;if(!ze.text&&!ne.isFunction(ie.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}$=B,hl(ze,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:ze}=we.data.data;ze&&pt.setCurrentLocale(ze)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Gl(),we.data.msg==="storage"&&aS.process(De.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let ze=De.luigi.currentNode;ze&&ze.runTimeErrorHandler&&ne.isFunction(ze.runTimeErrorHandler.errorFn)?ze.runTimeErrorHandler.errorFn(we.data.errorObj,ze):Je&&ne.isFunction(Je.errorFn)&&Je.errorFn(we.data.errorObj,ze)}if(we.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:ze,keepBrowserHistory:It}=we.data;me.addSearchParamsFromClient(De.luigi.currentNode,ze,It)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(dt)return;const{data:ze,keepBrowserHistory:It}=we.data;sl.addNodeParams(ze,It)}if(we.data.msg==="luigi.setAnchor"){const{anchor:ze}=we.data;sl.setAnchor(ze)}if(we.data.msg==="luigi.setVGData"){const ze=we.data,It=me.findViewGroup(De.luigi.currentNode);if(It){const Dt=Ln.getViewGroupSettings(It);Dt._liveCustomData=ze.data,ie.configChanged("navigation.viewgroupdata")}}}),Gn(B,Oe)}jr("store",l),jr("getTranslation",r);const Gl=B=>{ce&&ce.thirdPartyCookieErrorHandling&&ne.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()};function ha(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(He),t(11,s=!1)},250)):clearTimeout(He)}const Pr=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=Cn(ue),Je=Re?await Vt.getNavigationPath(ie.getConfigValueAsync("navigation.nodes"),Re):!1;return Je?Je.isExistingRoute:!1},Nr=()=>gt.length>0||J.length!==0;Jt(()=>{if(Io._init(),Z=ie.getConfigValue("globalSearch.searchProvider"),te=ie.getConfigValue("settings.responsiveNavigation"),Wi=window.innerWidth,te==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();B&&ue&&t(19,re=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(te==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[B,ue]=ke.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,re=Re?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ce=ie.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{fy()==="disabled"&&Gl()}),document.body.removeChild(B)}})}),ua(()=>{vl()}),zn(()=>{t(20,Ve=ie.getConfigValue("navigation.breadcrumbs")),Z=ie.getConfigValue("globalSearch.searchProvider"),t(24,Ol=ie.getConfigValue("tag")),t(25,Fl=ie.getConfigValue("settings.header.disabled"))});const Ir=B=>j(B,!0),Ki=(B,ue)=>ml(ue,B),rs=(B,ue)=>bl(ue,B),ss=()=>di(!0),ga=()=>di(!1);function as(B){pn=B,t(6,pn)}function os(B){be=B,t(0,be)}function us(B){Wt=B,t(3,Wt)}function fs(B){kt=B,t(4,kt)}function _a(B){Yt=B,t(5,Yt)}function pa(B){We=B,t(1,We)}function ma(B){St=B,t(2,St)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,be=B.isSearchFieldVisible),"inputElem"in B&&t(1,We=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,St=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,Wt=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,kt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Yt=B.searchResult),"storedUserSettings"in B&&t(6,pn=B.storedUserSettings)},[be,We,St,Wt,kt,Yt,pn,at,qn,ni,ns,s,o,_,T,oe,Ue,Pe,he,re,Ve,yi,Hi,dl,Ol,Fl,yn,Gi,gt,tt,fi,ci,vr,cl,wr,Sr,kr,di,ml,bl,j,ts,yr,ca,Wl,ls,l,r,Ci,x,Te,Nt,Ct,ln,Rn,Vl,Bi,_r,pr,Ml,mr,br,hl,_l,Cr,zl,Pr,Nr,Ir,Ki,rs,ss,ga,as,os,us,fs,_a,pa,ma]}class my extends Et{constructor(e){super(),At(this,e,py,_y,Tt,{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 by=()=>{const{subscribe:i,update:e,reset:t}=cr({}),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)})}}},y_=by(),vy=Lw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=y_;const wy=()=>new Promise(i=>{pt._init(),nn.init().then(()=>{setTimeout(()=>{let e;ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new my({target:ui.getLuigiContainer(),props:{store:y_,getTranslation:vy}}),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()})})});ie.setConfigCallbacks(wy);
|
|
61
61
|
//# sourceMappingURL=luigi.js.map
|