@luigi-project/core 2.22.1-dev.202505220035 → 2.22.1-dev.202505230035

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 CHANGED
@@ -49,5 +49,5 @@ __p += '`),kt&&(Ce+=`' +
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+Ce+`return __p
52
- }`;var ct=zf(function(){return Tt(F,Ke+"return "+Ce).apply(t,z)});if(ct.source=Ce,Co(ct))throw ct;return ct}function uw(s){return At(s).toLowerCase()}function fw(s){return At(s).toUpperCase()}function cw(s,u,_){if(s=At(s),s&&(_||u===t))return Xo(s);if(!s||!(u=zn(u)))return s;var S=ai(s),A=ai(u),F=$o(S,A),z=xo(S,A)+1;return cl(S,F,z).join("")}function dw(s,u,_){if(s=At(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=zn(u)))return s;var S=ai(s),A=xo(S,ai(u))+1;return cl(S,0,A).join("")}function hw(s,u,_){if(s=At(s),s&&(_||u===t))return s.replace(ri,"");if(!s||!(u=zn(u)))return s;var S=ai(s),A=$o(S,ai(u));return cl(S,A).join("")}function gw(s,u){var _=G,S=J;if(Zt(u)){var A="separator"in u?u.separator:A;_="length"in u?ft(u.length):_,S="omission"in u?zn(u.omission):S}s=At(s);var F=s.length;if(er(s)){var z=ai(s);F=z.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var $=z?cl(z,0,j).join(""):s.slice(0,j);if(A===t)return $+S;if(z&&(j+=$.length-j),yo(A)){if(s.slice(j).search(A)){var _e,pe=$;for(A.global||(A=Bs(A.source,At(Je.exec(A))+"g")),A.lastIndex=0;_e=A.exec(pe);)var Ce=_e.index;$=$.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(zn(A),j)!=j){var Oe=$.lastIndexOf(A);Oe>-1&&($=$.slice(0,Oe))}return $+S}function _w(s){return s=At(s),s&&Yi.test(s)?s.replace(Li,Gp):s}var pw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=At(s),u=_?t:u,u===t?Bp(s)?Jp(s):Ap(s):s.match(u)||[]}var zf=dt(function(s,u){try{return pn(s,t,u)}catch(_){return Co(_)?_:new at(_)}}),mw=Bi(function(s,u){return Ft(u,function(_){_=bi(_),Fi(s,_,ko(s[_],s))}),s});function bw(s){var u=s==null?0:s.length,_=$e();return s=u?Qt(s,function(S){if(typeof S[1]!="function")throw new Zn(a);return[_(S[0]),S[1]]}):[],dt(function(S){for(var A=-1;++A<u;){var F=s[A];if(pn(F[0],this,S))return pn(F[1],this,S)}})}function vw(s){return Gm($n(s,g))}function To(s){return function(){return s}}function ww(s,u){return s==null||s!==s?u:s}var kw=Ku(),Sw=Ku(!0);function Mn(s){return s}function Lo(s){return ku(typeof s=="function"?s:$n(s,g))}function Cw(s){return Cu($n(s,g))}function yw(s,u){return yu(s,$n(u,g))}var Pw=dt(function(s,u){return function(_){return Wr(_,s,u)}}),Iw=dt(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=mn(u),A=Oa(u,S);_==null&&!(Zt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,mn(u)));var F=!(Zt(_)&&"chain"in _)||!!_.chain,z=Wi(s);return Ft(A,function(j){var $=u[j];s[j]=$,z&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=Dn(this.__actions__);return Ce.push({func:$,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return $.apply(s,rl([this.value()],arguments))})}),s}function Nw(){return We._===this&&(We._=xp),this}function Eo(){}function Tw(s){return s=ft(s),dt(function(u){return Pu(u,s)})}var Lw=so(Qt),Aw=so(_a),Ew=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):s1(s)}function Rw(s){return function(u){return s==null?t:Ul(s,u)}}var Dw=Ju(),Vw=Ju(!0);function Ro(){return[]}function Do(){return!1}function Ow(){return{}}function Mw(){return""}function Fw(){return!0}function Uw(s,u){if(s=ft(s),s<1||s>ue)return[];var _=se,S=Sn(s,se);u=$e(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Bw(s){return st(s)?Qt(s,bi):Gn(s)?[s]:Dn(ff(At(s)))}function Hw(s){var u=++Xp;return At(s)+u}var Ww=Wa(function(s,u){return s+u},0),qw=oo("ceil"),zw=Wa(function(s,u){return s/u},1),Gw=oo("floor");function Kw(s){return s&&s.length?Va(s,Mn,Js):t}function jw(s,u){return s&&s.length?Va(s,$e(u,2),Js):t}function Jw(s){return Qo(s,Mn)}function Yw(s,u){return Qo(s,$e(u,2))}function Qw(s){return s&&s.length?Va(s,Mn,Xs):t}function Zw(s,u){return s&&s.length?Va(s,$e(u,2),Xs):t}var Xw=Wa(function(s,u){return s*u},1),$w=oo("round"),xw=Wa(function(s,u){return s-u},0);function ek(s){return s&&s.length?Os(s,Mn):0}function tk(s,u){return s&&s.length?Os(s,$e(u,2)):0}return M.after=Cv,M.ary=kf,M.assign=f0,M.assignIn=Of,M.assignInWith=es,M.assignWith=c0,M.at=d0,M.before=Sf,M.bind=ko,M.bindAll=mw,M.bindKey=Cf,M.castArray=Ov,M.chain=bf,M.chunk=G1,M.compact=K1,M.concat=j1,M.cond=bw,M.conforms=vw,M.constant=To,M.countBy=ev,M.create=h0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=g0,M.defaultsDeep=_0,M.defer=yv,M.delay=Pv,M.difference=J1,M.differenceBy=Y1,M.differenceWith=Q1,M.drop=Z1,M.dropRight=X1,M.dropRightWhile=$1,M.dropWhile=x1,M.fill=eb,M.filter=nv,M.flatMap=rv,M.flatMapDeep=av,M.flatMapDepth=sv,M.flatten=gf,M.flattenDeep=tb,M.flattenDepth=nb,M.flip=Iv,M.flow=kw,M.flowRight=Sw,M.fromPairs=ib,M.functions=S0,M.functionsIn=C0,M.groupBy=ov,M.initial=rb,M.intersection=ab,M.intersectionBy=sb,M.intersectionWith=ob,M.invert=P0,M.invertBy=I0,M.invokeMap=fv,M.iteratee=Lo,M.keyBy=cv,M.keys=mn,M.keysIn=On,M.map=Ya,M.mapKeys=T0,M.mapValues=L0,M.matches=Cw,M.matchesProperty=yw,M.memoize=Za,M.merge=A0,M.mergeWith=Mf,M.method=Pw,M.methodOf=Iw,M.mixin=Ao,M.negate=Xa,M.nthArg=Tw,M.omit=E0,M.omitBy=R0,M.once=Nv,M.orderBy=dv,M.over=Lw,M.overArgs=Tv,M.overEvery=Aw,M.overSome=Ew,M.partial=So,M.partialRight=Nf,M.partition=hv,M.pick=D0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Rw,M.pull=db,M.pullAll=pf,M.pullAllBy=hb,M.pullAllWith=gb,M.pullAt=_b,M.range=Dw,M.rangeRight=Vw,M.rearg=Lv,M.reject=pv,M.remove=pb,M.rest=Av,M.reverse=vo,M.sampleSize=bv,M.set=O0,M.setWith=M0,M.shuffle=vv,M.slice=mb,M.sortBy=Sv,M.sortedUniq=yb,M.sortedUniqBy=Pb,M.split=rw,M.spread=Ev,M.tail=Ib,M.take=Nb,M.takeRight=Tb,M.takeRightWhile=Lb,M.takeWhile=Ab,M.tap=Kb,M.throttle=Rv,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Bw,M.toPlainObject=Vf,M.transform=F0,M.unary=Dv,M.union=Eb,M.unionBy=Rb,M.unionWith=Db,M.uniq=Vb,M.uniqBy=Ob,M.uniqWith=Mb,M.unset=U0,M.unzip=wo,M.unzipWith=mf,M.update=B0,M.updateWith=H0,M.values=cr,M.valuesIn=W0,M.without=Fb,M.words=qf,M.wrap=Vv,M.xor=Ub,M.xorBy=Bb,M.xorWith=Hb,M.zip=Wb,M.zipObject=qb,M.zipObjectDeep=zb,M.zipWith=Gb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Ww,M.attempt=zf,M.camelCase=K0,M.capitalize=Hf,M.ceil=qw,M.clamp=q0,M.clone=Mv,M.cloneDeep=Uv,M.cloneDeepWith=Bv,M.cloneWith=Fv,M.conformsTo=Hv,M.deburr=Wf,M.defaultTo=ww,M.divide=zw,M.endsWith=j0,M.eq=oi,M.escape=J0,M.escapeRegExp=Y0,M.every=tv,M.find=iv,M.findIndex=df,M.findKey=p0,M.findLast=lv,M.findLastIndex=hf,M.findLastKey=m0,M.floor=Gw,M.forEach=vf,M.forEachRight=wf,M.forIn=b0,M.forInRight=v0,M.forOwn=w0,M.forOwnRight=k0,M.get=Po,M.gt=Wv,M.gte=qv,M.has=y0,M.hasIn=Io,M.head=_f,M.identity=Mn,M.includes=uv,M.indexOf=lb,M.inRange=z0,M.invoke=N0,M.isArguments=Wl,M.isArray=st,M.isArrayBuffer=zv,M.isArrayLike=Vn,M.isArrayLikeObject=nn,M.isBoolean=Gv,M.isBuffer=dl,M.isDate=Kv,M.isElement=jv,M.isEmpty=Jv,M.isEqual=Yv,M.isEqualWith=Qv,M.isError=Co,M.isFinite=Zv,M.isFunction=Wi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Xv,M.isMatchWith=$v,M.isNaN=xv,M.isNative=e0,M.isNil=n0,M.isNull=t0,M.isNumber=Af,M.isObject=Zt,M.isObjectLike=tn,M.isPlainObject=Jr,M.isRegExp=yo,M.isSafeInteger=i0,M.isSet=Ef,M.isString=xa,M.isSymbol=Gn,M.isTypedArray=fr,M.isUndefined=l0,M.isWeakMap=r0,M.isWeakSet=a0,M.join=ub,M.kebabCase=Q0,M.last=ei,M.lastIndexOf=fb,M.lowerCase=Z0,M.lowerFirst=X0,M.lt=s0,M.lte=o0,M.max=Kw,M.maxBy=jw,M.mean=Jw,M.meanBy=Yw,M.min=Qw,M.minBy=Zw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Ow,M.stubString=Mw,M.stubTrue=Fw,M.multiply=Xw,M.nth=cb,M.noConflict=Nw,M.noop=Eo,M.now=Qa,M.pad=$0,M.padEnd=x0,M.padStart=ew,M.parseInt=tw,M.random=G0,M.reduce=gv,M.reduceRight=_v,M.repeat=nw,M.replace=iw,M.result=V0,M.round=$w,M.runInContext=X,M.sample=mv,M.size=wv,M.snakeCase=lw,M.some=kv,M.sortedIndex=bb,M.sortedIndexBy=vb,M.sortedIndexOf=wb,M.sortedLastIndex=kb,M.sortedLastIndexBy=Sb,M.sortedLastIndexOf=Cb,M.startCase=aw,M.startsWith=sw,M.subtract=xw,M.sum=ek,M.sumBy=tk,M.template=ow,M.times=Uw,M.toFinite=qi,M.toInteger=ft,M.toLength=Df,M.toLower=uw,M.toNumber=ti,M.toSafeInteger=u0,M.toString=At,M.toUpper=fw,M.trim=cw,M.trimEnd=dw,M.trimStart=hw,M.truncate=gw,M.unescape=_w,M.uniqueId=Hw,M.upperCase=pw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return pi(M,function(u,_){Rt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ft(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ft(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:dn(ft(_),0);var S=this.__filtered__&&!u?new bt(this):this.clone();return S.__filtered__?S.__takeCount__=Sn(_,S.__takeCount__):S.__views__.push({size:Sn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ft(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Y||_==q;bt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:$e(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Ft(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ft(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");bt.prototype[s]=function(){return this.__filtered__?new bt(this):this[_](1)}}),bt.prototype.compact=function(){return this.filter(Mn)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=dt(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Wr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa($e(s)))},bt.prototype.slice=function(s,u){s=ft(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ft(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},bt.prototype.toArray=function(){return this.take(se)},pi(bt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),A=M[S?"take"+(u=="last"?"Right":""):u],F=S||/^find/.test(u);A&&(M.prototype[u]=function(){var z=this.__wrapped__,j=S?[1]:arguments,$=z instanceof bt,_e=j[0],pe=$||st(z),Ce=function(mt){var kt=A.apply(M,rl([mt],j));return S&&Oe?kt[0]:kt};pe&&_&&typeof _e=="function"&&_e.length!=1&&($=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,xe=F&&!Oe,ct=$&&!Ke;if(!F&&pe){z=ct?z:new bt(this);var et=s.apply(z,j);return et.__actions__.push({func:Ja,args:[Ce],thisArg:t}),new Xn(et,Oe)}return xe&&ct?s.apply(this,j):(et=this.thru(Ce),xe?S?et.value()[0]:et.value():et)})}),Ft(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",S=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var A=arguments;if(S&&!this.__chain__){var F=this.value();return u.apply(st(F)?F:[],A)}return this[_](function(z){return u.apply(st(z)?z:[],A)})}}),pi(bt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Rt.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=_m,bt.prototype.reverse=pm,bt.prototype.value=mm,M.prototype.at=jb,M.prototype.chain=Jb,M.prototype.commit=Yb,M.prototype.next=Qb,M.prototype.plant=Xb,M.prototype.reverse=$b,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Zb),M},nr=Yp();Nt?((Nt.exports=nr)._=nr,Lt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Zk{getNodePath(e,t){return me.getNodePath(e,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=ie.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 zt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await zt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return te.getConfigValue("routing.useHashRouting")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.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 te.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),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(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!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 d=await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(h,d)=>await zt.getChildren(h,d));if(n.isExistingRoute){const h=ie.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?ie.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await zt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,N=P;for(;N;){if(N.tabNav===!0){I=!0;break}else if(N.tabNav===!1){I=!1;break}else if(ie.isObject(N.tabNav)){if(N.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}N=re.getParentNode(N,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let G=document.getElementsByClassName("iframeContainer")[0];if(G&&(I?G.classList.add("iframeContainerTabNav"):G.classList.contains("iframeContainerTabNav")&&G.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),G&&(G.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const ce=t.get(),Y=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Y),withoutSync:!0})}}const J=document.querySelector(".lui-tab-header");J&&J.dispatchEvent(new Event("lui_ctx_update")),zt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await zt.extractDataFromPath(e);sp.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Jn.deleteNodesRecursively(c);break}}else r=!1}}else Jn.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(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Ee.getIframeContainer(),a=fi.getActiveIframe(r);a&&a.vg&&fi.canCache(a.vg)?(fi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{fi.switchActiveIframe(Ee.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.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={...zk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.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:zl.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&zl.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&kr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),zl.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(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),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(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==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(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),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 ot=new Zk;class Xk{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=Ee.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?ie.getPathWithoutHash(t):"",l=await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){zl.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 a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,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(ie.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;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:ie.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,ie.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}),Ee.getIframeContainer().style.marginBottom="",_t.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`,Ee.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="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const _t=new Xk;class $k{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const xk=new $k;class e2{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=te.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 ci=new e2;class t2{constructor(){return this._userInfoStore=vr({}),this._loggedInStore=vr(!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=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=_l.parseUrlAuthErrors()||{};if(await _l.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ie.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(hl(this._userInfoStore))),ie.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&ci.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),ci.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ci.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=_l.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ci.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.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=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!ie.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const gn=new t2;class n2{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(ie.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const $r=new n2;class i2{getStoredAuthData(){return ci.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&e.accessTokenExpirationDate>Number(new Date)}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const _l=new i2;class l2{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/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(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}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((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const Sr=new l2;class r2{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)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.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 kk.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.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(ie.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){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ie.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(ie.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));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 Ee.specialIframeTypes.filter(n=>Ee.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:Ko.getActiveFeatureToggleList(),currentLocale:Et.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new r2;class a2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(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=kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),kr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(ji.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,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(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 a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!te.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=a=>{r(a||!0)},t=()=>{r(!1)}});let l=te._remotePromises;return l||(l={counter:0,promises:[]},te._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 te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ie=new a2;class s2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.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 ie.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=Ko.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(wi.isAuthorizationEnabled()){const r=_l.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.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 me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];ie.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.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&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Et.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await zt.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await zt.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.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}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,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||"/";ot.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?Et.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Et.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 zt.extractDataFromPath(e);return!!await zt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:kr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||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 a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Et.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ie.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return te.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new s2;class o2{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 as.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.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 a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[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}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.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(te.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=te.getConfigValue("routing.useHashRouting");Bn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?ot.getHashPath():ot.getModifiedPathname();e(l)}}),Bn.addEventListener("popstate",n=>{const l=t?ot.getHashPath(location.href):ot.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 a=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:ot.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ie.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}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=Et.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];gl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,gl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[Sr.sanitizeParam(n[0])]=Sr.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(a=>Ko.setFeatureToggle(a,!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=te.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 a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}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 a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${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 gl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=gl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(ie.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&gl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}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:Et.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 a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);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}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new o2;class u2{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 vn=new u2;class f2{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 Bn=new f2;class c2{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 a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}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}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const d2=new c2;class h2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ee.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 pr=new h2,Zr=38,br=40,bl=13,Gl=27,xr=32,g2=36,_2=35;class up{constructor(e,t){Fn(this,"dispatch");Fn(this,"search");Fn(this,"isCustomSearchRenderer");Fn(this,"isCustomSearchResultItemRenderer");Fn(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=ie.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=ie.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}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)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Et.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Et.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?ie.isFunction(this.search.searchProvider.onEnter)&&e===bl?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===Gl?this.search.searchProvider.onEscape():e===br?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===br&&(o=r!==null?r:t[0]),e===Zr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&ie.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):ie.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Gl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===bl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Zr||t===br?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===Gl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?ot.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&ie.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Xf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=k("div"),t=k("div"),n=k("span"),r=W(),a=k("p"),c=W(),h=k("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){L(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=x(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&T(e),p=!1,b()}}}function p2(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xf(Zf(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-120xz9q"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Zf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:Ue,o:Ue,d(l){l&&T(e),ht(n,l),i[5](null)}}}function m2(i,e,t){const n=$t();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Pt("getUnsavedChangesModalPromise"),c=Pt("handleNavigation");Yn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=Sr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),an(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){Ye[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class b2 extends Mt{constructor(e){super(),Ot(this,e,m2,p2,Dt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Un(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=Un(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&T(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=k("div"),t=k("button"),l=Te(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){L(o,e,c),w(e,t),w(t,l),r||(a=x(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function v2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",N,V,E,H,D,O=i[0].type&&$f(i),G=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),O&&O.c(),a=W(),o=k("h2"),h=Te(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),G&&G.c(),C=W(),y=k("div"),P=k("button"),N=Te(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(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(J,Z){L(J,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),G&&G.m(v,null),w(v,C),w(v,y),w(y,P),w(P,N),H||(D=[x(window,"keydown",i[1]),x(P,"click",i[5])],H=!0)},p(J,[Z]){J[0].type?O?O.p(J,Z):(O=$f(J),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=J[0].header+"")&&Ae(h,c),Z&1&&p!==(p=J[0].body+"")&&(g.innerHTML=p),J[0].buttonConfirm!==!1?G?G.p(J,Z):(G=xf(J),G.c(),G.m(v,C)):G&&(G.d(1),G=null),Z&1&&I!==(I=J[0].buttonDismiss+"")&&Ae(N,I),Z&1&&V!==(V="fd-button "+(J[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Z&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+J[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(J){J&&T(e),O&&O.d(),G&&G.d(),H=!1,Qe(D)}}}function w2(i,e,t){const n=$t();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),an(()=>{const d={icon:r[l.type],header:Et.getTranslation("luigi.confirmationModal.header"),body:Et.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")};t(0,l={...l,body:Sr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Gl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class k2 extends Mt{constructor(e){super(),Ot(this,e,w2,v2,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function S2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&_s(r,l,a,a[4],n?gs(l,a[4],o,null):ps(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&T(e),r&&r.d(a)}}}function C2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=$t();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return an(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Bn.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),Yn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class vl extends Mt{constructor(e){super(),Ot(this,e,C2,S2,Dt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ec(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new vl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=k("div"),v&&v.c(),a=W(),o=k("div"),c=k("div"),h=k("button"),d=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=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-1ogav75")},m(C,y){L(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=x(h,"click",i[12]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=tc(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&67&&g!==(g=C[0].closebtn_data_testid&&C[6]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nc(i){let e;const t=i[11].default,n=hs(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)&&_s(n,t,l,l[10],e?gs(t,l[10],r,null):ps(l[10]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function ic(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer fade-out svelte-1ogav75"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function y2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[6]||i[5]&&i[0].header)&&ec(i),C=i[5]&&nc(i),y=i[4]&&ic();return{c(){e=k("div"),t=k("div"),v&&v.c(),n=W(),l=k("div"),C&&C.c(),r=W(),a=k("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-1ogav75"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1ogav75"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?`drawer drawer-dialog__content ${i[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1ogav75"),f(t,"data-testid",g=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=Un(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${i[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"),f(e,"style",b=i[6]?"z-index:1001":"")},m(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,h),y&&y.m(t,null),m=!0},p(P,[I]){P[6]||P[5]&&P[0].header?v?(v.p(P,I),I&97&&R(v,1)):(v=ec(P),v.c(),R(v,1),v.m(t,n)):v&&(be(),U(v,1,1,()=>{v=null}),ve()),P[5]?C?(C.p(P,I),I&32&&R(C,1)):(C=nc(P),C.c(),R(C,1),C.m(l,r)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),(!m||I&32&&o!==(o="iframeModalCtn "+(P[5]?"_drawer":"_modal")+" svelte-1ogav75"))&&f(a,"class",o),(!m||I&34&&c!==(c=P[5]?void 0:P[1]))&&f(a,"modal-container-index",c),P[4]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&43&&d!==(d="fd-dialog__content "+(P[5]?P[0].backdrop?`drawer drawer-dialog__content ${P[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1ogav75"))&&f(t,"class",d),(!m||I&64&&g!==(g=P[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&105&&p!==(p=Un(P[6]||P[5]&&P[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${P[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"))&&f(e,"class",p),(!m||I&64&&b!==(b=P[6]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&T(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function P2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=$t();let g,p,b,m,v=!1,C=!1,y=!1,P=!1,I=!1,N=!0,V,E=Pt("store");const H=q=>re.getNodeLabel(q),D=async q=>{const le=q&&q.length?ie.getPathWithoutHash(q):"",ue=me.parseParams(le.split("?")[1]);m=me.getNodeParams(ue);const ne=await zt.extractDataFromPath(q);g=ne.nodeObject,t(5,I=r.isDrawer||typeof g.drawer=="object"),V=I?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),I?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=H(g),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),d("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=H(g),r),t(0,r._liveLabel=!0,r)),b=ne.pathData,t(8,a=!0)},O=async q=>{if(!(v||C))if(a)if(g.webcomponent)t(4,y=!1),I?await Z():await G(),zl.renderWebComponent(g.viewUrl,document.querySelector(V),{context:b.context,clientPermissions:g.clientPermissions||{},pathParams:b.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(V),modalWCData:{...b,nodeParams:m}}),C=!0;else{const le=await J(g.viewUrl,{context:b.context,pathParams:b.pathParams,nodeParams:m});d("iframeCreated",{modalIframe:le,modalIframeData:{...b,nodeParams:m}}),v=!0}else await D(q)},G=async()=>{let q,le;const ue=document.querySelector(".lui-modal-index-"+c),{size:ne,width:Pe,height:se}=r,ae=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ue.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(ae)&&se&&se.match(ae))q=se,le=Pe;else switch(ne){case"fullscreen":q="100vh",le="100vw",ue.classList.add("lui-modal-fullscreen");break;case"m":q="80%",le="60%";break;case"s":q="80%",le="40%";break;default:q="80%",le="80%"}ue.setAttribute("style",`width:${le};height:${q};`)},J=async(q,le)=>{I?await Z():await G(),q&&(q=me.substituteViewUrl(q,le));const ue=await Ee.createIframe(q,void 0,g,"modal",le);return document.querySelector(V).appendChild(ue),ue};async function Z(q){let le="";const ue=document.getElementsByClassName("drawer"),ne=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?le="width:75%;":r.size==="m"?le="width:50%;":r.size==="s"?le="width:25%;":r.size==="xs"&&(le="width:15.5%;")),r.backdrop?ue[0].setAttribute("style",le):(ne[0].setAttribute("style",le),ue[0].setAttribute("style","width:100%"))}ea(()=>{O(o)});const ce=async q=>{q.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),q.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),q.data.msg==="luigi.get-context"&&(P=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&Y()),q.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),q.data.msg==="luigi.navigation.updateModalSettings"&&((q.data.updatedModalSettings.title||q.data.updatedModalSettings.title==="")&&t(0,r.title=q.data.updatedModalSettings.title,r),(q.data.updatedModalSettings.size||q.data.updatedModalSettings.width||q.data.updatedModalSettings.height)&&(t(0,r.size=q.data.updatedModalSettings.size,r),t(0,r.height=q.data.updatedModalSettings.height,r),t(0,r.width=q.data.updatedModalSettings.width,r),await G()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ot.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},q.data.addHistoryEntry))};an(()=>{vn.doOnStoreChange(E,()=>{r._liveLabel&&g&&t(0,r.title=H(g),r)},["navigation.viewgroupdata"]),t(3,p=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1)),Bn.addEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var q;!P&&!g.webcomponent&&((q=g.loadingIndicator)==null?void 0:q.enabled)!==!1&&t(4,y=!0)},250)}),ta(()=>{Bn.removeEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function Y(){let q;N?q=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):q=document.querySelector(".drawer .spinnerContainer"),q&&q.classList.contains("fade-out")&&(q.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ee=()=>d("close",{activeDrawer:!1});return i.$$set=q=>{"settings"in q&&t(0,r=q.settings),"isDataPrepared"in q&&t(8,a=q.isDataPrepared),"nodepath"in q&&t(9,o=q.nodepath),"modalIndex"in q&&t(1,c=q.modalIndex),"disableBackdrop"in q&&t(2,h=q.disableBackdrop),"$$scope"in q&&t(10,l=q.$$scope)},[r,c,h,p,y,I,N,d,a,o,l,n,ee]}class fp extends Mt{constructor(e){super(),Ot(this,e,P2,y2,Dt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2})}}function lc(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function sc(i){let e,t=i[1][1].settings&&oc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function oc(i){let e,t,n=Ve(Object.entries(i[1][1].settings)),l=[];for(let r=0;r<n.length;r+=1)l[r]=mc(lc(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,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Ve(Object.entries(r[1][1].settings));let o;for(o=0;o<n.length;o+=1){const c=lc(r,n,o);l[o]?l[o].p(c,a):(l[o]=mc(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&&T(e),ht(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?N2:I2}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function I2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ae(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function N2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}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[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=x(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Jf(e,i[0][i[1][0]][i[27]])},d(o){o&&T(e),l=!1,r()}}}function fc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function I(){return i[19](i[28])}let N=v&&cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Te(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("div"),N&&N.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"class","fd-button fd-button--transparent fd-select__button lui-activate-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-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),N&&N.m(m,null),C||(y=[x(r,"keydown",P),x(n,"click",Vt(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?N?N.p(i,E):(N=cc(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(V){V&&T(e),N&&N.d(),C=!1,Qe(y)}}}function cc(i){let e,t=Ve(i[28].options),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(ac(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[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r[0]&4634){t=Ve(l[28].options);let a;for(a=0;a<t.length;a+=1){const o=ac(l,t,a);n[a]?n[a].p(o,r):(n[a]=dc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function dc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=k("li"),t=k("span"),l=Te(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Xt(e,"is-selected",i[4]===i[33]),Xt(e,"is-focus",i[4]===i[33])},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[x(e,"click",h),x(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Xt(e,"is-selected",i[4]===i[33]),g[0]&16&&Xt(e,"is-focus",i[4]===i[33])},d(d){d&&T(e),o=!1,Qe(c)}}}function hc(i){let e,t,n,l=Ve(i[28].options),r=[];for(let a=0;a<l.length;a+=1)r[a]=gc(rc(i,l,a));return{c(){e=k("div"),t=k("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null)},p(a,o){if(o[0]&13315){l=Ve(a[28].options);let c;for(c=0;c<l.length;c+=1){const h=rc(a,l,c);r[c]?r[c].p(h,o):(r[c]=gc(h),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-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&T(e),ht(r,a)}}}function gc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=k("button"),n=Te(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),h||(d=x(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),h=!1,d()}}}function _c(i){let e,t,n,l,r,a,o,c,h,d;function g(){i[23].call(n,i[27])}return{c(){e=k("label"),t=k("span"),n=k("input"),a=W(),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[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].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[27])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=x(n,"change",g),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=x(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&T(e),n=!1,l()}}}function mc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&uc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&fc(i),y=g&&hc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&_c(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Te(l),a=Te(":"),o=W(),c=k("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(N,V){L(N,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,m)},p(N,V){V[0]&34&&l!==(l=N[5](N[28].label)+"")&&Ae(r,l),N[28].type==="string"?v?v.p(N,V):(v=uc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[28].type==="enum"&&(N[28].style===void 0||N[28].style==="list")?C?C.p(N,V):(C=fc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=N[28].type==="enum"&&N[28].style==="button"&&Array.isArray(N[28].options)),g?y?y.p(N,V):(y=hc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[28].type==="boolean"&&(!N[28].style||N[28].style==="switch")?P?P.p(N,V):(P=_c(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[28].type==="boolean"&&N[28].style==="checkbox"?I?I.p(N,V):(I=pc(N),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function T2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[x(window,"click",i[7]),x(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=sc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function L2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=$t();let o=Pt("getTranslation");Si(i,o,Y=>t(5,n=Y));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Y){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(ee=>{m(ee,!1)})}function b(Y,ee){let q=ls(Y.target,".fd-popover__control",20),le=q.getAttribute("aria-expanded")==="true";(ee||ee===void 0)&&(p(),m(q,!le))}function m(Y,ee){const q=Y.querySelector(".lui-activate-dropdown"),le=Y.parentNode.querySelector(".fd-popover__body"),ue=Y.parentNode.querySelector(".fd-select__control");Y.setAttribute("aria-expanded",ee),le.setAttribute("aria-hidden",!ee),ue.setAttribute("aria-expanded",ee),q.setAttribute("aria-expanded",ee),t(14,h=ee)}function v(Y,ee,q){t(4,c=q),t(0,r[l[0]][Y]=ee.value||ee,r)}function C(Y,ee){document.querySelectorAll(".enum-buttons-container-"+Y+" button").forEach(q=>{const le=q.getAttribute("id"),ue=`lui-us-enum_button_${Y}_option`;le===ue?q.classList.add("fd-button--emphasized"):q.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Y]=ee.value||ee,r)}function y(Y,ee){let q;if(Array.isArray(ee)){for(let le=0;le<ee.length;le++)if(ie.isObject(ee[le])){if(ee[le].value&&ee[le].value===Y){q=ee[le].label,t(4,c=le);break}}else{q=Y,t(4,c=ee.indexOf(Y));break}return n(q)}}function P(Y){return n(ie.isObject(Y)?Y.label:Y)}function I(Y,ee,q){return ie.isObject(q)?`${Y}_${ee}_${q.value}`:`${Y}_${ee}_${q}`}function N(Y,ee,q,le){let ue=ls(Y.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${q}`).children;let Pe=-1;if([...ne].forEach((se,ae)=>{se.classList.contains("is-focus")&&(Pe=ae)}),h){if(Y.keyCode===Zr&&Y.altKey&&(ue.click(),ue.focus()),Y.keyCode===br&&!Y.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<le.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(Y.keyCode===Zr&&!Y.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<le.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(Y.keyCode===bl||Y.keyCode===xr)&&v(ee,le.options[Pe],Pe)}else ue.focus(),Y.keyCode===br&&Y.altKey&&ue.click(),Y.keyCode===br&&!Y.altKey&&Pe<le.options.length-1&&v(ee,le.options[Pe+1],Pe+1),Y.keyCode===Zr&&!Y.altKey&&Pe>0&&Pe<le.options.length&&v(ee,le.options[Pe-1],Pe-1)}function V(Y){if(h){let ee=ls(Y.target,".fd-popover",20);ee.blur(),(Y.keyCode===xr||Y.keyCode===bl)&&(Y.target.click(),p(),setTimeout(()=>{ee.focus()},0))}}y();function E(Y){r[l[0]][Y]=this.value,t(0,r)}const H=(Y,ee,q,le)=>N(le,Y,ee,q),D=Y=>b(event,Y.isEditable),O=(Y,ee,q)=>v(Y,ee,q),G=Y=>V(Y),J=(Y,ee)=>C(Y,ee);function Z(Y){r[l[0]][Y]=this.checked,t(0,r)}function ce(Y){r[l[0]][Y]=this.checked,t(0,r)}return i.$$set=Y=>{"userSettingGroup"in Y&&t(1,l=Y.userSettingGroup),"storedUserSettingData"in Y&&t(0,r=Y.storedUserSettingData),"isComboOpen"in Y&&t(14,h=Y.isComboOpen)},[r,l,N,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,G,J,Z,ce]}class A2 extends Mt{constructor(e){super(),Ot(this,e,L2,T2,Dt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:bc}=wl;function vc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[37]=t,n}function wc(i,e,t){const n=i.slice();return n[38]=e[t],n}function kc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?R2:E2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&(T(t),T(n)),a.d(o)}}}function E2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=k("span"),l=W(),a&&a.c(),r=we(),f(e,"class",t=Un(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ni(e,"background-image","url('"+i[38][1].icon+"')"),ni(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Un(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&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&&ni(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=Sc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(l),T(r)),a&&a.d(o)}}}function R2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Un(i[18](i[38][1].icon))+" svelte-572zjn"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-572zjn")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Un(r[18](r[38][1].icon))+" svelte-572zjn")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-572zjn")&&f(e,"class",l)},d(r){r&&T(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class",l=Un(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=Un(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function Cc(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",g,p,b,m,v=i[38][1].icon&&kc(i);function C(){return i[21](i[38])}function y(...P){return i[22](i[37],...P)}return{c(){e=k("li"),t=k("a"),v&&v.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),h=k("div"),g=Te(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-572zjn"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),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(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[x(e,"click",St(C)),x(e,"keydown",y)],b=!0)},p(P,I){i=P,i[38][1].icon?v?v.p(i,I):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),I[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&T(e),v&&v.d(),b=!1,Qe(m)}}}function yc(i){let e,t=Ve(Object.entries(i[11])),n=[];for(let l=0;l<t.length;l+=1)n[l]=Cc(wc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Ve(Object.entries(l[11]));let a;for(a=0;a<t.length;a+=1){const o=wc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Cc(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Pc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](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 A2({props:o}),Ye.push(()=>yt(e,"closeDropDown",r)),Ye.push(()=>yt(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Be(e.$$.fragment)},m(c,h){Me(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],Ct(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],Ct(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function D2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",I,N,V,E,H,D,O,G,J,Z,ce,Y,ee,q=i[10](i[5])+"",le,ue,ne,Pe,se=i[10](i[6])+"",ae,ke,je,ye,Le=Ve(Object.entries(i[1])),ze=[];for(let De=0;De<Le.length;De+=1)ze[De]=yc(vc(i,Le,De));let Xe=i[11]&&Pc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("div"),o=k("h2"),h=Te(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<ze.length;De+=1)ze[De].c();b=W(),m=k("div"),v=k("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=k("h2"),I=Te(P),N=W(),V=k("div"),E=k("div"),Xe&&Xe.c(),H=W(),D=k("div"),O=W(),G=k("div"),J=W(),Z=k("footer"),ce=k("div"),Y=k("div"),ee=k("button"),le=Te(q),ue=W(),ne=k("div"),Pe=k("button"),ae=Te(se),f(o,"class","fd-title fd-title--h5 svelte-572zjn"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header lui-us-group-header svelte-572zjn"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(g,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-572zjn"),f(r,"class","fd-side-nav svelte-572zjn"),f(l,"class","lui-usersettings-left-nav svelte-572zjn"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-572zjn"),f(y,"class","fd-title fd-title--h5 svelte-572zjn"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-572zjn"),f(E,"class","usersettingseditor mf-wrapper svelte-572zjn"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-572zjn"),f(G,"class","wcUserSettingsCtn wc-wrapper svelte-572zjn"),f(V,"class","lui-usersettings-content svelte-572zjn"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-572zjn"),f(ee,"data-testid","lui-us-saveBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Y,"class","fd-bar__element"),f(Pe,"data-testid","lui-us-dismissBtn"),f(Pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ne,"class","fd-bar__element"),f(ce,"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-572zjn"),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-572zjn"),f(e,"tabindex","0")},m(De,nt){L(De,e,nt),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let rt=0;rt<ze.length;rt+=1)ze[rt]&&ze[rt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,N),w(n,V),w(V,E),Xe&&Xe.m(E,null),w(V,H),w(V,D),w(V,O),w(V,G),w(t,J),w(t,Z),w(Z,ce),w(ce,Y),w(Y,ee),w(ee,le),w(ce,ue),w(ce,ne),w(ne,Pe),w(Pe,ae),ke=!0,je||(ye=[x(bc,"resize",i[20]),x(bc,"keydown",i[3]),x(v,"click",i[17]),x(ee,"click",i[25]),x(Pe,"click",i[26])],je=!0)},p(De,nt){if((!ke||nt[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),nt[0]&803846){Le=Ve(Object.entries(De[1]));let rt;for(rt=0;rt<Le.length;rt+=1){const gt=vc(De,Le,rt);ze[rt]?ze[rt].p(gt,nt):(ze[rt]=yc(gt),ze[rt].c(),ze[rt].m(p,null))}for(;rt<ze.length;rt+=1)ze[rt].d(1);ze.length=Le.length}(!ke||nt[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(I,P),De[11]?Xe?(Xe.p(De,nt),nt[0]&2048&&R(Xe,1)):(Xe=Pc(De),Xe.c(),R(Xe,1),Xe.m(E,null)):Xe&&(be(),U(Xe,1,1,()=>{Xe=null}),ve()),(!ke||nt[0]&1056)&&q!==(q=De[10](De[5])+"")&&Ae(le,q),(!ke||nt[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(ae,se)},i(De){ke||(R(Xe),ke=!0)},o(De){U(Xe),ke=!1},d(De){De&&T(e),ht(ze,De),Xe&&Xe.d(),je=!1,Qe(ye)}}}function Ic(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 V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function O2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function M2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function cp(i,e,t){if(i&&t>0)return i.matches(e)?i:cp(i.parentNode,e,t-1)}function Nc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function F2(i,e,t){let n,{userSettingGroups:l}=e;const r=$t();let a,{storedUserSettings:o={}}=e,c={},h=Pt("getTranslation");Si(i,h,se=>t(10,n=se));let d=ml.userSettingsDialog.dialogHeader,g=ml.userSettingsDialog.saveBtn,p=ml.userSettingsDialog.dismissBtn,b={},m,v,C,y;ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),an(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),ae=se||te.getConfigValue("settings.userSettings.userSettingsDialog");ae&&(t(4,d=ae.dialogHeader?ae.dialogHeader:d),t(5,g=ae.saveBtn?ae.saveBtn:g),t(6,p=ae.dismissBtn?ae.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Bn.addEventListener("message",ke=>{const je=Ee.getValidMessageSource(ke);if(!je||ke.data.msg!=="custom")return;je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(ke.data);if(ye.id==="luigi.updateUserSettings"){const ze=pr.findActiveCustomUserSettingsIframe(ke.source);if(ze){let Xe=ze.getAttribute("userSettingsGroup");t(0,o[Xe]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&D()}),te.readUserSettings().then(ke=>{c=JSON.parse(JSON.stringify(ke)),ke===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),ke)),I([m,l[0][m]])}).catch(ke=>{ke&&ke.message&&console.error(ke.message),ke&&ke.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!ie.isObject(se.settings))for(let ae in se.settings){let ke=se.settings[ae];ke.type==="enum"?Array.isArray(ke.options)||console.error(`There is no options array for '${ae}' defined in the Luigi userSettings config.`):ke.type===void 0&&console.error(`There is no data type defined for '${ae}' in the Luigi userSettings config.`)}}function I(se,ae){t(11,a=se);let ke=se[0],je=se[1];if(P(je),ae?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),cp(ae.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<hn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()),je.viewUrl){if(pr.hideUserSettingsIframe(),je.webcomponent){N({...je},ke);return}if(b.hasOwnProperty(ke))pr.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===ke&&(ye.style.display="block")});else{const ye=$r.hasDecorators()?$r.applyDecorators(je.viewUrl):je.viewUrl;let Le=pr.createIframe(ye,ke);b[ke]=Le}O2()}else M2()}function N(se,ae){const ke=document.querySelector(".wcUserSettingsCtn");if(!ke)return;ke.innerHTML="";const je={};ke.eventBus={listeners:je,onPublishEvent:De=>{t(0,o[ae]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[ae]},Le=se.eventListeners,ze=se.webcomponent,Xe=se.label;zl.renderWebComponent(se.viewUrl,ke,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Xe?Xe.replace(/ /g,"").toLowerCase():null),V2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){D()}function D(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()}function O(se){return re.renderIconClassName(se)}function G(se){return re.isOpenUIiconName(se.icon)}let J;const Z=()=>{const se=window.innerWidth>=hn.desktopMinWidth&&J<hn.desktopMinWidth;if(window.innerWidth<hn.desktopMinWidth&&J>=hn.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"),se&&(document.querySelector(".confirm-button").style.display="block"),!J){let ke=document.querySelector(".confirm-button");window.innerWidth<hn.desktopMinWidth?ke.style.display="none":ke.style.display="block"}J=window.innerWidth};function ce(se,ae){let ke=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&ke[ae].click(),se.keyCode===_2&&ke[Object.keys(l).length-1].focus(),se.keyCode===g2&&ke[0].focus()}function Y(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const ee=se=>I(se,event),q=(se,ae)=>ce(ae,[se]);function le(se){y=se,t(9,y)}function ue(se){C=se,t(8,C)}const ne=()=>E(),Pe=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,ce,Y,d,g,p,v,C,y,n,a,r,h,I,V,E,D,O,G,Z,ee,q,le,ue,ne,Pe]}class U2 extends Mt{constructor(e){super(),Ot(this,e,F2,D2,Dt,{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:B2}=wl;function H2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function W2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=k("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=x(t,"click",Vt(St(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(T(e),T(n),T(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=k("div"),t=W(),n=k("div"),l=k("div"),r=W(),a=k("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[x(a,"click",Vt(St(i[3]))),x(n,"mousedown",Vt(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Qe(c)}}}function q2(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?W2:H2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),b.c(),a=W(),m&&m.c(),o=we(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){L(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=x(B2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Tc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&(T(e),T(a),T(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function z2(i,e,t){const n=$t();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,N=Pt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:q=>{q&&Object.getOwnPropertyNames(q).forEach(le=>{le==="splitViewSettings"?t(1,C=q.splitViewSettings):le==="lastNode"?r=q.lastNode:le==="pathData"?a=q.pathData:le==="nodeParams"?o=q.nodeParams:le==="collapsed"?t(0,v=q.collapsed):le==="isDataPrepared"?t(8,y=q.isDataPrepared):le==="currentNode"?c=q.currentNode:le==="splitViewIframe"?d=q.splitViewIframe:le==="splitViewIframeData"?g=q.splitViewIframeData:le==="splitViewWC"?p=q.splitViewWC:le==="splitViewWCData"&&(b=q.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||_t.createAndSetView(V()):await _t.prepareSplitViewData(V(),m)},H=()=>{l.split=_t.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=_t.getDragger()},D=()=>{const q=_t.getDraggerBackdrop();q&&(q.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${_t.splitViewValues.top}px`),l.split.style.top=`${_t.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(q){if(Ee.getValidMessageSource(q)&&(q.data.msg==="luigi.navigation.splitview.close"&&_t.close(V()),q.data.msg==="luigi.navigation.splitview.collapse"&&G(),q.data.msg==="luigi.navigation.splitview.expand"&&J(),q.data.msg==="luigi.navigation.splitview.resize")){const le=parseInt(q.data.data);if(_t.calculateAndSetSplitViewValues(le,_t.internalValues),v)return;D(),_t.sendMessageToClients("resize.ok",_t.splitViewValues.percent)}}an(()=>{Z(),h=O.bind(this),Bn.addEventListener("message",h)}),ea(()=>{E(),I!==y&&!v&&(I=y,D())}),ta(()=>{window.removeEventListener("message",h)});function G(){_t.collapse(V())}async function J(){await _t.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const q=ie.getShellbarHeight();_t.internalValues.innerHeight=ie.getInnerHeight(),_t.internalValues.rightContentHeight=_t.internalValues.innerHeight-q,_t.internalValues.thresholdBottom=30,_t.internalValues.thresholdTop=q+30,_t.calculateAndSetSplitViewValues(_t.splitViewValues.percent,_t.internalValues),v||D()}function ce(q){let le=q.y,ue={};const ne=function(je){const ye=le-je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Xe=_t.internalValues.innerHeight-ze,De=_t.enforceTresholds(ze,Xe);ze<De.top||Xe<De.bottom||(ue=De,le=je.y,l.draggable.style.top=`${ue.top}px`)},Pe=function(){if(se(),!ue.top||!ue.bottom||ue.top==_t.internalValues.m_pos_prev){_t.getDraggerBackdrop().style.display="none";return}_t.internalValues.m_pos_prev=ue.top,_t.splitViewValues=ue,D(),_t.sendMessageToClients("resize.ok",ue.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},ae=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),ae(),_t.getDraggerBackdrop().style.display="block"}const Y=q=>{let le=_t.getDraggerButton();le&&(le.style.display=q?"block":"none"),le=_t.getCollapsedDraggerButton(),le&&(le.style.display=q?"block":"none")},ee=q=>{Y(!q.detail||q.detail.backdropActive!==!0)};return i.$$set=q=>{"nodepath"in q&&t(9,m=q.nodepath),"collapsed"in q&&t(0,v=q.collapsed),"splitViewSettings"in q&&t(1,C=q.splitViewSettings),"isDataPrepared"in q&&t(8,y=q.isDataPrepared),"disableBackdrop"in q&&t(2,P=q.disableBackdrop)},[v,C,P,G,J,Z,ce,ee,y,m]}class dp extends Mt{constructor(e){super(),Ot(this,e,z2,q2,Dt,{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 Lc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:j2,then:K2,catch:G2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=we(),n.block.c()},m(l,r){L(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())&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function j2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function J2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Y2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class An extends Mt{constructor(e){super(),Ot(this,e,Y2,J2,Dt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Te(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ae(l,n)},d(r){r&&T(e)}}}function Q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class ii extends Mt{constructor(e){super(),Ot(this,e,Z2,Q2,Dt,{node:0})}}function X2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,I=hs(P,i,i[3],null);return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),c=k("span"),d=W(),g=k("ul"),I&&I.c(),p=W(),b=k("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item")},m(N,V){L(N,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[x(n,"click",Vt(St(i[2]))),x(n,"keyup",i[5])],C=!0)},p(N,V){(!v||V&2)&&r!==(r=N[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=N[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",N[0]),I&&I.p&&(!v||V&8)&&_s(I,P,N,N[3],v?gs(P,N[3],V,null):ps(N[3]),null),(!v||V&2&&m!==(m=N[1].uid))&&f(g,"navgroupid",m)},i(N){v||(R(I,N),v=!0)},o(N){U(I,N),v=!1},d(N){N&&T(e),I&&I.d(N),C=!1,Qe(y)}}}function $2(i){let e;const t=i[4].default,n=hs(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&_s(n,t,l,l[3],e?gs(t,l[3],r,null):ps(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function x2(i){let e,t,n,l;const r=[$2,X2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function eS(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class tS extends Mt{constructor(e){super(),Ot(this,e,eS,x2,Dt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Dc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[94]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Bc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[101]=e[t],n}function nS(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Wc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Kc(i),b=(i[2]||i[3])&&pd(i);return{c(){e=k("div"),g&&g.c(),t=W(),n=k("nav"),l=k("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1qodpfy"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy")},m(m,v){L(m,e,v),g&&g.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,h||(d=x(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Wc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Kc(m),p.c(),R(p,1),p.m(l,null)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),m[2]||m[3]?b?b.p(m,v):(b=pd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&T(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function iS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=k("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[23]?"is-compact":"")+" "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"),f(e,"role","navigation"),ni(e,"width","var(--luigi__left-sidenav--width)"),ni(e,"height","100%")},m(o,c){L(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=bd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=Sd(o),a.c(),R(a,1),a.m(e,null)):a&&(be(),U(a,1,1,()=>{a=null}),ve()),(!l||c[0]&8388686&&n!==(n="fd-navigation fd-navigation--vertical "+(o[23]?"is-compact":"")+" "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&T(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1qodpfy")},m(n,l){L(n,e,l),t&&t.m(e,null),i[63](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=qc(n),t.c(),t.m(e,null))},d(n){n&&T(e),t&&t.d(),i[63](null)}}}function qc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&zc(i),g=i[12].showUpLink&&Gc(i);return{c(){e=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"class","fd-nested-list__link svelte-1qodpfy"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1qodpfy"),f(e,"class","fd-nested-list svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=zc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Ae(o,a),p[12].showUpLink?g?g.p(p,b):(g=Gc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&T(e),d&&d.d(),g&&g.d()}}}function zc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?rS:lS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function lS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function rS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Gc(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-1qodpfy"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Kc(i){let e,t,n,l,r=Ve(i[13]),a=[];for(let c=0;c<r.length;c+=1)a[c]=_d(Rc(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n=Un(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"),f(e,"class","lui-fd-side-nav-wrapper svelte-1qodpfy")},m(c,h){L(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=Ve(c[13]);let d;for(d=0;d<r.length;d+=1){const g=Rc(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=_d(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(be(),d=r.length;d<a.length;d+=1)o(d);ve()}(!l||h[0]&8388608&&n!==(n=Un(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&T(e),ht(a,c)}}}function aS(i){let e,t,n,l;const r=[uS,oS],a=[];function o(c,h){return c[98].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function sS(i){let e,t,n=Ve(i[98]),l=[];for(let a=0;a<n.length;a+=1)l[a]=gd(Mc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[98]);let c;for(c=0;c<n.length;c+=1){const h=Mc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=gd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function oS(i){let e,t,n=i[27](i[97])+"",l,r,a,o,c,h,d=i[10]&&i[98].metaInfo.icon&&jc(i),g=Ve(i[98]),p=[];for(let m=0;m<g.length;m+=1)p[m]=$c(Dc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=k("li"),d&&d.c(),t=W(),l=Te(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=we(),f(e,"class","fd-nested-list__group-header lui-category svelte-1qodpfy"),f(e,"title",r=i[35](i[98],i[27](i[97]))),f(e,"data-testid",a=i[34](i[98].metaInfo,i[97])),f(e,"id","category_list_level1_"+i[100])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[98].metaInfo.icon?d?d.p(m,v):(d=jc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[97])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[98],m[27](m[97]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[98].metaInfo,m[97])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[98]);let C;for(C=0;C<g.length;C+=1){const y=Dc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=$c(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(be(),C=g.length;C<p.length;C+=1)b(C);ve()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&(T(e),T(o),T(c)),d&&d.d(),ht(p,m)}}}function uS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,J,Z,ce;function Y(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[98].metaInfo.icon)),l?mS:pS}let ee=Y(i,[-1,-1,-1,-1]),q=ee(i);function le(){return i[66](i[98])}function ue(){return i[67](i[98])}function ne(...ye){return i[68](i[98],...ye)}let Pe=Ve(i[98]),se=[];for(let ye=0;ye<Pe.length;ye+=1)se[ye]=id(Oc(i,Pe,ye));const ae=ye=>U(se[ye],1,1,()=>{se[ye]=null});let ke=i[98].metaInfo&&i[98].metaInfo.label===i[8]&&ld(i);function je(){return i[73](i[98])}return{c(){e=k("li"),t=k("div"),n=k("a"),q.c(),r=W(),a=k("span"),c=Te(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();D=W(),ke&&ke.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"title",h=i[35](i[98],i[27](i[97]))),f(n,"class",d="fd-nested-list__link "+(rn(i[98],i[9])?"is-expanded":"")+" svelte-1qodpfy"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[100]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=rn(i[98],i[9])),f(C,"class",y=rn(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1qodpfy"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=rn(i[98],i[9])),f(v,"title",I=i[41](i[98],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",N=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1qodpfy"),f(E,"aria-hidden",H=!rn(i[98],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",G=i[34](i[98].metaInfo,i[97])),Xt(e,"lui-item-expanded",rn(i[98],i[9]))},m(ye,Le){L(ye,e,Le),w(e,t),w(t,n),q.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(E,null);w(e,D),ke&&ke.m(e,null),w(e,O),J=!0,Z||(ce=[x(n,"click",St(le)),x(v,"click",St(ue)),x(t,"keypress",ne),x(e,"click",Vt(je))],Z=!0)},p(ye,Le){if(i=ye,ee===(ee=Y(i,Le))&&q?q.p(i,Le):(q.d(1),q=ee(i),q&&(q.c(),q.m(n,r))),(!J||Le[0]&134225920)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!J||Le[0]&134225920&&h!==(h=i[35](i[98],i[27](i[97]))))&&f(n,"title",h),(!J||Le[0]&8704&&d!==(d="fd-nested-list__link "+(rn(i[98],i[9])?"is-expanded":"")+" svelte-1qodpfy"))&&f(n,"class",d),(!J||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!J||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!J||Le[0]&8704&&b!==(b=rn(i[98],i[9])))&&f(n,"aria-expanded",b),(!J||Le[0]&8704&&y!==(y=rn(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!J||Le[0]&8704&&P!==(P=rn(i[98],i[9])))&&f(v,"aria-expanded",P),(!J||Le[0]&8704&&I!==(I=i[41](i[98],i[9])))&&f(v,"title",I),(!J||Le[0]&64&&N!==(N=i[6]?"0":"-1"))&&f(t,"tabindex",N),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[98]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Xe=Oc(i,Pe,ze);se[ze]?(se[ze].p(Xe,Le),R(se[ze],1)):(se[ze]=id(Xe),se[ze].c(),R(se[ze],1),se[ze].m(E,null))}for(be(),ze=Pe.length;ze<se.length;ze+=1)ae(ze);ve()}(!J||Le[0]&8704&&H!==(H=!rn(i[98],i[9])))&&f(E,"aria-hidden",H),i[98].metaInfo&&i[98].metaInfo.label===i[8]?ke?(ke.p(i,Le),Le[0]&8448&&R(ke,1)):(ke=ld(i),ke.c(),R(ke,1),ke.m(e,O)):ke&&(be(),U(ke,1,1,()=>{ke=null}),ve()),(!J||Le[0]&8192&&G!==(G=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",G),(!J||Le[0]&8704)&&Xt(e,"lui-item-expanded",rn(i[98],i[9]))},i(ye){if(!J){for(let Le=0;Le<Pe.length;Le+=1)R(se[Le]);R(ke),J=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(ke),J=!1},d(ye){ye&&T(e),q.d(),ht(se,ye),ke&&ke.d(),Z=!1,Qe(ce)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?cS:fS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function cS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[98].metaInfo.icon?i[31](i[98].metaInfo.icon):"")+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[98].metaInfo.icon?n[31](n[98].metaInfo.icon):"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Jc(i){let e,t,n=i[101].label&&Yc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function N(Z,ce){return Z[101].icon?hS:dS}let V=N(i),E=V(i),H=i[101].statusBadge&&Qc(i),D=i[101].externalLink&&i[101].externalLink.url&&Zc(),O=i[101].badgeCounter&&Xc(i);function G(...Z){return i[74](i[101],...Z)}function J(...Z){return i[75](i[101],...Z)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Te(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[101])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[101],i[30](i[101]))),f(e,"aria-labelledby","category_list_level1_"+i[100])},m(Z,ce){L(Z,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(I=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:J)&&(i[24]?void 0:J).apply(this,arguments)})],P=!0)},p(Z,ce){i=Z,V===(V=N(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r),i[101].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Qc(i),H.c(),R(H,1),H.m(l,null)):H&&(be(),U(H,1,1,()=>{H=null}),ve()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",c),i[101].externalLink&&i[101].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Xc(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!y||ce[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[101])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[101],i[30](i[101]))))&&f(e,"title",C)},i(Z){y||(R(H),R(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(I)}}}function dS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=k("i"),n=W(),l=k("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},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":"")&&Ae(a,r)},d(o){o&&(T(e),T(n),T(l))}}}function hS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?_S:gS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1qodpfy")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new ii({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Xc(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function $c(i){let e,t,n=!i[101].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function pS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function mS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[101].label&&ed(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ii({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&td(),V=i[101].badgeCounter&&nd(i);function E(...D){return i[69](i[101],...D)}function H(...D){return i[70](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[100])},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=td(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Qe(I)}}}function td(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function nd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[101].hideFromNav&&xc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[97])+"",r,a,o,c,h=Ve(i[98]),d=[];for(let p=0;p<h.length;p+=1)d[p]=ud(Vc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Te(l),a=W(),o=k("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1qodpfy"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1qodpfy"),f(t,"class","lui-flyout-sublist__wrapper svelte-1qodpfy"),f(e,"class","lui-flyout-sublist svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[97])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[98]);let m;for(m=0;m<h.length;m+=1){const v=Vc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=ud(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&T(e),ht(d,p)}}}function rd(i){let e,t,n=i[101].label&&ad(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ad(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ii({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&sd(),V=i[101].badgeCounter&&od(i);function E(...D){return i[71](i[101],...D)}function H(...D){return i[72](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=sd(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=od(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Qe(I)}}}function sd(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function od(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ud(i){let e,t,n=!i[101].hideFromNav&&rd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[101].label&&cd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=cd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(Z,ce){return Z[101].icon?vS:bS}let E=V(i),H=E(i);c=new ii({props:{node:i[101]}});let D=i[101].externalLink&&i[101].externalLink.url&&dd(),O=i[101].badgeCounter&&hd(i);function G(...Z){return i[64](i[101],...Z)}function J(...Z){return i[65](i[101],...Z)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",p=i[33](i[101])),f(t,"title",b=i[35](i[101],i[30](i[101]))),f(t,"class",m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[101])),f(e,"class","fd-nested-list__item")},m(Z,ce){L(Z,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(N=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:J)&&(i[24]?void 0:J).apply(this,arguments)})],I=!0)},p(Z,ce){i=Z,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const Y={};ce[0]&8192&&(Y.node=i[101]),c.$set(Y),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=hd(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!P||ce[0]&8192&&p!==(p=i[33](i[101])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[101],i[30](i[101]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[101])))&&f(t,"data-testid",C)},i(Z){P||(R(c.$$.fragment,Z),R(O),P=!0)},o(Z){U(c.$$.fragment,Z),U(O),P=!1},d(Z){Z&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),I=!1,Qe(N)}}}function bS(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){L(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&&T(e)}}}function vS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function wS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function kS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function dd(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){L(t,e,n)},d(t){t&&T(e)}}}function hd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gd(i){let e,t,n=!i[101].hideFromNav&&fd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[sS,aS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(BS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){d&&T(r),~n&&c[n].d(d)}}}function pd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&md(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Te(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1qodpfy"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1qodpfy"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1qodpfy")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ae(r,l),c[3]?o?o.p(c,h):(o=md(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?CS:SS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function SS(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-1qodpfy"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[x(e,"click",i[77]),x(e,"keydown",i[78])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function CS(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-1qodpfy"),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-1qodpfy")},m(a,o){L(a,e,o),w(e,t),l||(r=x(e,"click",i[76]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&T(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1qodpfy")},m(n,l){L(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e,null))},d(n){n&&T(e),t&&t.d(),i[49](null)}}}function vd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&wd(i),g=i[12].showUpLink&&kd(i);return{c(){e=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"class","fd-nested-list__link svelte-1qodpfy"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=wd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Ae(o,a),p[12].showUpLink?g?g.p(p,b):(g=kd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&T(e),d&&d.d(),g&&g.d()}}}function wd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?PS:yS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function PS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function kd(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-1qodpfy"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Sd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=Ve(i[14]),v=[];for(let y=0;y<m.length;y+=1)v[y]=Bd(Fc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=k("div"),t=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=k("li"),r=W(),a=k("li"),o=k("div"),c=k("a"),c.innerHTML='<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span> <span class="fd-navigation__text">More Items</span>',h=W(),d=k("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1qodpfy"></ul></div>',f(l,"class","lui-spacer svelte-1qodpfy"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1qodpfy"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1qodpfy"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1qodpfy"),f(t,"class","fd-navigation__list svelte-1qodpfy"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1qodpfy")},m(y,P){L(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I]&&v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[62](e),g=!0,p||(b=[x(c,"click",i[42]),x(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let I;for(I=0;I<m.length;I+=1){const N=Fc(y,m,I);v[I]?(v[I].p(N,P),R(v[I],1)):(v[I]=Bd(N),v[I].c(),R(v[I],1),v[I].m(t,n))}for(be(),I=m.length;I<v.length;I+=1)C(I);ve()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&T(e),ht(v,y),i[62](null),p=!1,Qe(b)}}}function IS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(ee,q){return q[0]&16384&&(l=null),l==null&&(l=!!ee[32](ee[98].metaInfo.icon)),l?LS:TS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function G(){return i[53](i[98])}function J(){return i[54](i[98])}function Z(...ee){return i[55](i[98],...ee)}function ce(...ee){return i[56](i[98],...ee)}let Y=(!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8])&&Cd(i);return{c(){e=k("li"),t=k("div"),n=k("a"),O.c(),r=W(),a=k("span"),c=Te(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Y&&Y.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1qodpfy"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[35](i[98],i[27](i[97]))),f(t,"aria-expanded",v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:rn(i[98],i[9])),f(t,"aria-selected",C=i[6]&&i[98].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"),f(e,"data-testid",I=i[34](i[98].metaInfo,i[97]))},m(ee,q){L(ee,e,q),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),Y&&Y.m(e,null),N=!0,V||(E=[x(n,"click",St(G)),x(n,"keypress",St(J)),x(n,"keypress",St(Z)),x(t,"click",Vt(ce))],V=!0)},p(ee,q){i=ee,D===(D=H(i,q))&&O?O.p(i,q):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!N||q[0]&134234112)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!N||q[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!N||q[0]&134234112&&m!==(m=i[35](i[98],i[27](i[97]))))&&f(t,"title",m),(!N||q[0]&17216&&v!==(v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:rn(i[98],i[9])))&&f(t,"aria-expanded",v),(!N||q[0]&16576&&C!==(C=i[6]&&i[98].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8]?Y?(Y.p(i,q),q[0]&16704&&R(Y,1)):(Y=Cd(i),Y.c(),R(Y,1),Y.m(e,null)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),(!N||q[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"))&&f(e,"class",P),(!N||q[0]&16384&&I!==(I=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",I)},i(ee){N||(R(Y),N=!0)},o(ee){U(Y),N=!1},d(ee){ee&&T(e),O.d(),Y&&Y.d(),V=!1,Qe(E)}}}function NS(i){let e,t,n=Ve(i[98]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Hc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[98]);let c;for(c=0;c<n.length;c+=1){const h=Hc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function LS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[98]),d=[];for(let p=0;p<h.length;p+=1)d[p]=Rd(Bc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=k("div"),t=k("div"),c&&c.c(),n=W(),l=k("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=yd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=Ve(p[98]);let m;for(m=0;m<h.length;m+=1){const v=Bc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Rd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&T(e),c&&c.d(),ht(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[97])+"",a,o,c,h,d,g=i[10]&&i[98].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),o=W(),c=k("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1qodpfy"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1qodpfy"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[98],i[27](i[97]))),f(e,"data-testid",d=i[34](i[98].metaInfo,i[97]))},m(p,b){L(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[98].metaInfo.icon?g?g.p(p,b):(g=Pd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[97])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[98],p[27](p[97])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[98].metaInfo,p[97]))&&f(e,"data-testid",d)},d(p){p&&T(e),g&&g.d()}}}function Pd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?ES:AS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function AS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function ES(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[101].label&&Nd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E=i[30](i[101])+"",H,D,O,G,J,Z,ce,Y,ee,q,le,ue,ne,Pe;c=new ii({props:{node:i[101]}});let se=i[101].externalLink&&i[101].externalLink.url&&Td(),ae=i[101].badgeCounter&&Ld(i);function ke(...De){return i[57](i[101],...De)}function je(...De){return i[58](i[101],...De)}O=new ii({props:{node:i[101]}});let ye=i[101].externalLink&&i[101].externalLink.url&&Ad(),Le=i[101].badgeCounter&&Ed(i);function ze(...De){return i[59](i[101],...De)}function Xe(...De){return i[60](i[101],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),ae&&ae.c(),P=W(),I=k("li"),N=k("a"),V=k("span"),H=Te(E),D=W(),Be(O.$$.fragment),J=W(),ye&&ye.c(),Z=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1qodpfy"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[101])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[101]===i[7]),f(t,"data-testid",y=re.getTestId(i[101])),f(e,"class","fd-navigation__list-item"),f(V,"class",G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(N,"href",ce=i[33](i[101])),f(N,"class",Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(N,"role",ee=i[24]?void 0:"button"),f(N,"tabindex","0"),f(N,"data-testid",q=re.getTestId(i[101])),f(N,"title",le=i[35](i[101],i[30](i[101]))),ni(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[100])},m(De,nt){L(De,e,nt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),se&&se.m(n,null),w(n,b),ae&&ae.m(n,null),L(De,P,nt),L(De,I,nt),w(I,N),w(N,V),w(V,H),w(V,D),Me(O,V,null),w(N,J),ye&&ye.m(N,null),w(N,Z),Le&&Le.m(N,null),ue=!0,ne||(Pe=[x(n,"click",ke),x(n,"keyup",function(){ki(i[24]?void 0:je)&&(i[24]?void 0:je).apply(this,arguments)}),x(N,"click",ze),x(N,"keyup",function(){ki(i[24]?void 0:Xe)&&(i[24]?void 0:Xe).apply(this,arguments)})],ne=!0)},p(De,nt){i=De,(!ue||nt[0]&16384)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const rt={};nt[0]&16384&&(rt.node=i[101]),c.$set(rt),(!ue||nt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[101].badgeCounter?ae?(ae.p(i,nt),nt[0]&16384&&R(ae,1)):(ae=Ld(i),ae.c(),R(ae,1),ae.m(n,null)):ae&&(be(),U(ae,1,1,()=>{ae=null}),ve()),(!ue||nt[0]&16384&&m!==(m=i[33](i[101])))&&f(n,"href",m),(!ue||nt[0]&16384&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v),(!ue||nt[0]&16512&&C!==(C=i[101]===i[7]))&&f(t,"aria-selected",C),(!ue||nt[0]&16384&&y!==(y=re.getTestId(i[101])))&&f(t,"data-testid",y),(!ue||nt[0]&16384)&&E!==(E=i[30](i[101])+"")&&Ae(H,E);const gt={};nt[0]&16384&&(gt.node=i[101]),O.$set(gt),(!ue||nt[0]&16384&&G!==(G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(V,"class",G),i[101].externalLink&&i[101].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(N,Z)):ye&&(ye.d(1),ye=null),i[101].badgeCounter?Le?(Le.p(i,nt),nt[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(N,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!ue||nt[0]&16384&&ce!==(ce=i[33](i[101])))&&f(N,"href",ce),(!ue||nt[0]&16512&&Y!==(Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(N,"class",Y),(!ue||nt[0]&16777216&&ee!==(ee=i[24]?void 0:"button"))&&f(N,"role",ee),(!ue||nt[0]&16384&&q!==(q=re.getTestId(i[101])))&&f(N,"data-testid",q),(!ue||nt[0]&16384&&le!==(le=i[35](i[101],i[30](i[101]))))&&f(N,"title",le)},i(De){ue||(R(c.$$.fragment,De),R(ae),R(O.$$.fragment,De),R(Le),ue=!0)},o(De){U(c.$$.fragment,De),U(ae),U(O.$$.fragment,De),U(Le),ue=!1},d(De){De&&(T(e),T(P),T(I)),Fe(c),se&&se.d(),ae&&ae.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Qe(Pe)}}}function Td(i){let e;return{c(){e=k("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ld(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ed(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rd(i){let e,t,n=!i[101].hideFromNav&&Id(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[101].label&&Vd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Vd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[101])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H;function D(ee,q){return ee[101].icon?DS:RS}let O=D(i),G=O(i);h=new ii({props:{node:i[101]}});let J=i[101].externalLink&&i[101].externalLink.url&&Od(),Z=i[101].badgeCounter&&Md(i);function ce(...ee){return i[50](i[101],...ee)}function Y(...ee){return i[51](i[101],...ee)}return{c(){e=k("li"),t=k("div"),n=k("a"),G.c(),l=W(),r=k("span"),o=Te(a),c=W(),Be(h.$$.fragment),g=W(),J&&J.c(),p=W(),Z&&Z.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[101])),f(n,"title",y=i[35](i[101],i[30](i[101]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=re.getTestId(i[101])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",N=i[101]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(ee,q){L(ee,e,q),w(e,t),w(t,n),G.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),J&&J.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[x(n,"click",ce),x(n,"keyup",function(){ki(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)}),x(n,"mouseup",i[52])],E=!0)},p(ee,q){i=ee,O===(O=D(i))&&G?G.p(i,q):(G.d(1),G=O(i),G&&(G.c(),G.m(n,l))),(!V||q[0]&16384)&&a!==(a=i[30](i[101])+"")&&Ae(o,a);const le={};q[0]&16384&&(le.node=i[101]),h.$set(le),(!V||q[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(r,"class",d),i[101].externalLink&&i[101].externalLink.url?J||(J=Od(),J.c(),J.m(n,p)):J&&(J.d(1),J=null),i[101].badgeCounter?Z?(Z.p(i,q),q[0]&16384&&R(Z,1)):(Z=Md(i),Z.c(),R(Z,1),Z.m(n,b)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),(!V||q[0]&16512&&v!==(v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"))&&f(n,"class",v),(!V||q[0]&16384&&C!==(C=i[33](i[101])))&&f(n,"href",C),(!V||q[0]&16384&&y!==(y=i[35](i[101],i[30](i[101]))))&&f(n,"title",y),(!V||q[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||q[0]&16384&&I!==(I=re.getTestId(i[101])))&&f(n,"data-testid",I),(!V||q[0]&16512&&N!==(N=i[101]===i[7]))&&f(t,"aria-selected",N)},i(ee){V||(R(h.$$.fragment,ee),R(Z),V=!0)},o(ee){U(h.$$.fragment,ee),U(Z),V=!1},d(ee){ee&&T(e),G.d(),Fe(h),J&&J.d(),Z&&Z.d(),E=!1,Qe(H)}}}function RS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function DS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?OS:VS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function VS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function OS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[101].icon)+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e;return{c(){e=k("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Md(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fd(i){let e,t,n=!i[101].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[NS,IS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(US).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){d&&T(r),~n&&c[n].d(d)}}}function MS(i){let e,t,n=Ve(i[94].entries),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ud(Uc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[94].entries);let c;for(c=0;c<n.length;c+=1){const h=Uc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ud(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Bd(i){let e,t;return e=new tS({props:{navGroup:i[94],expanded:i[94].groupEntry&&rn(i[94].groupEntry[1],i[9]),$$slots:{default:[MS]},$$scope:{ctx:i}}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[94]),l[0]&16896&&(r.expanded=n[94].groupEntry&&rn(n[94].groupEntry[1],n[9])),l[0]&151046080|l[3]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function FS(i){let e,t,n,l,r,a;const o=[iS,nS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(ns,"resize",i[18]),x(ns,"click",i[22]),x(ns,"blur",i[22]),x(ns,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&T(n),c[e].d(d),r=!1,Qe(a)}}}function rn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Wo(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const US=i=>!i.hideFromNav&&i.label,BS=i=>!i.hideFromNav&&i.label;function HS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:N,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async Se=>{if(Se==="pathData")t(5,p=K.pathData);else if(Se==="context")D=K.context;else if(Se==="children")t(0,a=K.children);else if(Se==="selectedNode")t(7,C=K.selectedNode);else if(Se==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(Se==="navParent"){t(12,E=void 0);let Je=K.navParent;if(t(45,H=Je),Je&&Je.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let lt=Je.navHeader,vt=Je;if(lt==="inherit"){for(vt=Je.parent;vt&&vt.navHeader==="inherit";)vt=vt.parent;lt=vt?vt.navHeader:void 0}if(lt instanceof Function){t(12,E={});let pt=lt(re.stripNode(Je),re.stripNode(vt),D);pt instanceof Promise?pt.then(Ht=>{t(12,E=Ht)}):t(12,E=pt)}else if(lt==="auto")t(12,E={label:Je.label,icon:Je.icon});else if(lt&&lt.useTitleResolver&&vt.titleResolver){vt.titleResolver.prerenderFallback?t(12,E={...lt,label:vt.titleResolver.fallbackTitle||"",icon:vt.titleResolver.fallbackIcon}):t(12,E=lt);const pt=me.mapPathToNode(ot.getCurrentPath(),vt);zt.extractDataFromPath(pt).then(Ht=>{const Gt=me.substituteDynamicParamsInObject(Object.assign({},Ht.pathData.context,vt.context),Ht.pathData.pathParams);re.fetchNodeTitleData(vt,Gt).then(Rn=>{t(12,E={...lt,...Rn})}).catch(Rn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...lt,label:Je.label,icon:Je.icon})})})}else t(12,E=await rt(lt,vt))}}}),t(44,N=re.getSideNavAccordionMode(C)))}},r=$t();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,G,J=Pt("store"),Z=Pt("getTranslation");Si(i,Z,K=>t(27,n=K));let ce=!1,Y=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),ee,q=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",le,ue;const ne=K=>re.getNodeLabel(K),Pe=async()=>{window.Luigi.__btpNavTopCntRszObs&&(window.Luigi.__btpNavTopCntRszObs.disconnect(),delete window.Luigi.__btpNavTopCntRszObs),ue&&clearTimeout(ue);const K=l.get(),Se=await zt.getLeftNavData({...K},K);Se&&(l.set(Se),O=p,window.LEFTNAVDATA=Se.children)};an(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,G=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),vn.doOnStoreChange(J,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),vn.doOnStoreChange(J,()=>{Pe()},["navigation.viewgroupdata"]);let K=vi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),vi.onValueChanged(Se=>{t(6,v=Se.isSemiCollapsed)}),Bn.addEventListener("message",Se=>{Se.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})});const se=()=>{if(ee){const K=ee.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Se=ee.querySelector(".fd-navigation__list"),Je=ee.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(lt=>{lt.navGroupId?Se.querySelector(`[navGroupId="${lt.navGroupId}"]`).appendChild(lt):Se.insertBefore(lt,Je)}),ee.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ae=()=>{if(ee){const K=ee.querySelector(".fd-navigation__list > .lui-spacer"),Se=ee.querySelector(".lui-moreItems"),Je=ee.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Je.length>1){ee.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let lt=Je.length-1;lt>0&&(lastNode=Je[lt-1],Je[lt].navGroupId=Je[lt].parentNode.getAttribute("navGroupId"),Se.insertBefore(Je[lt],Se.firstChild),!(K.clientHeight>0));lt--);}}},ke=()=>{const K=Se=>{Se&&ge(Se)};E!=null&&E.renderer&&le&&(E.clearBeforeRender&&t(26,le.innerHTML="",le),E.renderer(le,H,K,{...E,context:p._context}))};ea(()=>{window.Luigi.__btpNavTopCntRszObs||(window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((K,Se)=>{ue&&clearTimeout(ue),v&&(ue=setTimeout(()=>{se(),ae()},100))})),window.Luigi.__btpNavTopCntRszObs.disconnect(),ee&&v?window.Luigi.__btpNavTopCntRszObs.observe(ee):se(),ke()}),Yn(()=>{(!O||O!=p)&&Pe(),t(23,G=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function je(K){if(Y){const Se={},Je=[],lt=q;let vt=[];return K.forEach(pt=>{if(pt[0].startsWith(m))vt.push({isSingleEntry:!0,entries:[pt]});else{const Ht=pt[1].metaInfo.categoryUid;if(Ht&&Ht.indexOf(lt)>0)Je.push(pt);else{const Gt=pt[1].metaInfo.isGroup;Se[Ht]={isSingleEntry:!Gt,title:n(pt[1].metaInfo.label),groupEntry:pt,uid:Ht,entries:[Gt?["undefined",pt[1]]:pt]},vt.push(Se[Ht]),!re.isCollapsedSuperCategory(Ht)&&Gt&&Ie(pt[1],!0)}}}),Je.forEach(pt=>{const Ht=pt[1].metaInfo.categoryUid.split(lt)[0],Gt=Se[Ht];Gt&&(Gt.isSingleEntry&&(Gt.isSingleEntry=!1,Gt.entries=[["undefined",Gt.groupEntry[1]]]),Gt.entries.push(pt))}),vt.filter(pt=>{if(pt.entries&&pt.entries.length>0)for(let Ht=0;Ht<pt.entries.length;Ht++){const[Gt,Rn]=pt.entries[Ht];if(Rn.filter(Wn=>!Wn.hideFromNav&&Wn.label).length>0)return!0}return!1})}else return K}let{sortedChildrenEntries:ye}=e,{sortedVerticalNavGroups:Le}=e;function ze(K){return re.renderIconClassName(K)}function Xe(K){return re.isOpenUIiconName(K)}function De(K){return me.getNodeHref(K,b)}function nt(K,Se){return K&&K.testId?K.testId:re.prepareForTests(Se||K.label)}async function rt(K,Se){const Je=me.mapPathToNode(ot.getCurrentPath(),Se),vt=(await zt.extractDataFromPath(Je)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,vt)}function gt(K,Se){return re.generateTooltipText(K,Se)}function ge(K){r("handleClick",{node:K})}function Ze(K,Se){if(vi.getCollapsed()){let Je,lt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Je=K.metaInfo.label:Je=K.category&&K.category.label||K.category,lt&&!lt.classList.contains("isBlocked")&&(lt.className+=" isBlocked"),Je===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=Je),lt?Bt(Se):Y&&(Wo(Se),Se.closest(".lui-moreItems")||ut())}}function Bt(K){const Se=K.closest(".fd-nested-list__item"),Je=Se.offsetTop,lt=ji.getShellbar().offsetHeight;let vt;ji.isCustomLuigiContainer()?vt=ji.getCustomLuigiContainer().clientHeight:vt=window.innerHeight,setTimeout(()=>{const pt=Se.getElementsByClassName("lui-flyout-sublist")[0],Ht=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Gt=Je+lt-Ht,Rn=vt-Je-Se.offsetHeight+Ht-lt;Gt+pt.offsetHeight>=vt?(pt.style.bottom=Rn+"px",pt.className+=" has-bottom-position"):pt.style.top=Gt-lt+"px"})}function En(){if(h){let K=vi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function on(K){if(K.code==="ArrowRight"){const Je=Ee.getCurrentMicrofrontendIframe();Je&&Je.contentWindow&&Je.contentWindow.focus()}}function sn(K){let Se=H?H.parent:void 0;for(;Se;){if(Se.pathSegment&&Se.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Se});return}Se=Se.parent}console.warn('Could not resolve "up"-node, redirecting to root'),sp.navigate("/")}function Ie(K,Se){vi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,Se,N))}function ut(){ee&&ee.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function it(){t(8,y=vi.closePopupMenu(y)),ut()}function un(K){K&&K.code==="Escape"&&it()}function Kt(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),li()}function Hn(K){const Se=K.code;(Se==="Enter"||Se==="Space")&&Kt()}function jt(K,Se){(K.code==="Enter"||K==="Space")&&Ze(Se,K.currentTarget)}function Jt(K,Se){K.keyCode===bl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&ge(Se)}function li(){if(!re.getBurgerTooltipConfig())return;const[K,Se]=re.getBurgerTooltipConfig(),Je=document.body.classList.contains("lui-semiCollapsible");K&&Se&&Je&&t(11,V=document.body.classList.contains("semiCollapsed")?K:Se)}function xt(K,Se){return rn(K,Se)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function wn(K){if(!K)return;const Se=K.target.parentElement;Se.getAttribute("aria-expanded")==="true"?Se.setAttribute("aria-expanded","false"):(it(),Se.setAttribute("aria-expanded","true")),K.stopPropagation()}function Ci(K){Ye[K?"unshift":"push"](()=>{le=K,t(26,le)})}const di=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},kn=(K,Se)=>Jt(Se,K),yi=K=>{v&&K.target.blur()},Pi=K=>Ie(K,!rn(K,P)),Ii=K=>Ie(K,!rn(K,P)),Ni=(K,Se)=>jt(Se,K),Ti=(K,Se)=>Ze(K,Se.currentTarget),Sl=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Cl=(K,Se)=>Jt(Se,K),yl=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Li=(K,Se)=>Jt(Se,K),Ji=K=>{(K.code==="Enter"||K.code==="Space")&&wn(K)};function Yi(K){Ye[K?"unshift":"push"](()=>{ee=K,t(25,ee)})}function hi(K){Ye[K?"unshift":"push"](()=>{le=K,t(26,le)})}const Pl=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Il=(K,Se)=>Jt(Se,K),Qi=K=>Ie(K,!rn(K,P)),Nl=K=>Ie(K,!rn(K,P)),Tl=(K,Se)=>jt(Se,K),Ll=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ai=(K,Se)=>Jt(Se,K),Al=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},ri=(K,Se)=>Jt(Se,K),Ei=K=>Ze(K,event.currentTarget),gi=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ri=(K,Se)=>Jt(Se,K),_i=K=>Kt(),Zi=K=>Kt(),Xi=K=>Hn(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,N=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,ye=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Le=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((Se,Je)=>Se[1].metaInfo.order-Je[1].metaInfo.order),t(13,ye=K),t(14,Le=je(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,ye,Le,m,ge,Ze,En,on,sn,Ie,it,G,ce,ee,le,n,Z,Y,ne,ze,Xe,De,nt,gt,un,Kt,Hn,jt,Jt,xt,wn,h,N,H,b,Bt,Wo,Ci,di,kn,yi,Pi,Ii,Ni,Ti,Sl,Cl,yl,Li,Ji,Yi,hi,Pl,Il,Qi,Nl,Tl,Ll,Ai,Al,ri,Ei,gi,Ri,_i,Zi,Xi]}class hp extends Mt{constructor(e){super(),Ot(this,e,HS,FS,Dt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Wo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const WS=i=>{vn.doOnStoreChange(i.store,()=>{const e=te.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),ie.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),gp(i),!t)return;const n=!!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){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},qS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),Hd=(i,e,t)=>{let n=!0;return ie.trimTrailingSlash(ie.trimLeadingSlash(i)).split("/").forEach((l,r)=>{n&&(r+1>=e.length||!e[r+1].pathSegment||!qS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},gp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{var d;let h=Hd(c.link,t,n);return!h&&((d=c.selectionConditions)!=null&&d.route)&&(h=Hd(c.selectionConditions.route,t,n),h&&(c.selectionConditions.contextCriteria||[]).forEach(g=>{h=h&&kr.get(t._context,g.key)===g.value})),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=na.getDocumentTitle()||r;i.set({title:r}),document.title=Et.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Wd(i,e,t){const n=i.slice();return n[46]=e[t],n[48]=t,n}function qd(i,e,t){const n=i.slice();return n[46]=e[t],n}function zS(i){let e,t,n,l,r=i[1]&&zd(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-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=zd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),n=!1,l()}}}function GS(i){let e,t,n,l,r=i[1]&&Gd(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-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Gd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[30](null)}}}function Gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function Kd(i){let e,t=(!i[3]||i[4])&&jd(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[3]||n[4]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function jd(i){let e;function t(r,a){return r[14]?jS:KS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function KS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(a,o){L(a,e,o),w(e,n),l||(r=x(e,"click",i[33]),l=!0)},p(a,o){o[0]&524564&&t!==(t=a[19](a[4]?a[8]:a[2])+"")&&Ae(n,t)},d(a){a&&T(e),l=!1,r()}}}function jS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r,a;return{c(){e=k("a"),n=Te(t),f(e,"class",l="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,n),r||(a=x(e,"click",i[32]),r=!0)},p(o,c){c[0]&524564&&t!==(t=o[19](o[4]?o[8]:o[2])+"")&&Ae(n,t),c[0]&8&&l!==(l="fd-shellbar__title lui-shellbar-single-app-title "+(o[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",l)},d(o){o&&T(e),r=!1,a()}}}function Jd(i){let e,t,n=i[3]&&Yd(i),l=i[12]&&i[5]&&rh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[3]?n?n.p(r,a):(n=Yd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[12]&&r[5]?l?l.p(r,a):(l=rh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Yd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b=i[4]&&Qd();function m(I,N){return I[14]?YS:JS}let v=m(i),C=v(i),y=i[6]&&i[7]&&th(i),P=i[9]&&i[9].length>0&&nh(i);return{c(){b&&b.c(),e=W(),t=k("div"),n=k("div"),C.c(),l=W(),r=k("div"),a=k("nav"),o=k("ul"),y&&y.c(),c=W(),P&&P.c(),f(n,"class","fd-popover__control"),f(o,"class","fd-menu__list fd-menu__list--no-shadow"),f(a,"class","fd-menu"),f(r,"class","fd-popover__body fd-popover__body--left"),f(r,"aria-hidden",h=!i[13].appSwitcherPopover),f(r,"id","appSwitcherPopover"),f(t,"class",d="fd-popover "+(i[4]&&"lui-keep-main")+" "+(i[9]&&i[9].length===1&&"lui-sat")+" svelte-bbvnsa")},m(I,N){b&&b.m(I,N),L(I,e,N),L(I,t,N),w(t,n),C.m(n,null),w(t,l),w(t,r),w(r,a),w(a,o),y&&y.m(o,null),w(o,c),P&&P.m(o,null),i[39](o),g||(p=x(n,"click",Vt($S)),g=!0)},p(I,N){I[4]?b||(b=Qd(),b.c(),b.m(e.parentNode,e)):b&&(b.d(1),b=null),v===(v=m(I))&&C?C.p(I,N):(C.d(1),C=v(I),C&&(C.c(),C.m(n,null))),I[6]&&I[7]?y?y.p(I,N):(y=th(I),y.c(),y.m(o,c)):y&&(y.d(1),y=null),I[9]&&I[9].length>0?P?P.p(I,N):(P=nh(I),P.c(),P.m(o,null)):P&&(P.d(1),P=null),N[0]&8192&&h!==(h=!I[13].appSwitcherPopover)&&f(r,"aria-hidden",h),N[0]&528&&d!==(d="fd-popover "+(I[4]&&"lui-keep-main")+" "+(I[9]&&I[9].length===1&&"lui-sat")+" svelte-bbvnsa")&&f(t,"class",d)},d(I){I&&(T(e),T(t)),b&&b.d(I),C.d(),y&&y.d(),P&&P.d(),i[39](null),g=!1,p()}}}function Qd(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__separator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function JS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"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[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",Vt(i[37])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function YS(i){let e,t,n,l=i[9]&&i[9].length===1&&Zd(i),r=i[9]&&i[9].length>1&&Xd(i),a=i[9].length>1&&!i[7]&&eh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=we()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Zd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Xd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=eh(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(t),T(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Zd(i){let e,t,n=i[19](i[9][0].title)+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Te(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(e,"click",i[34]),a=!0)},p(c,h){h[0]&524800&&n!==(n=c[19](c[9][0].title)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[24](c[9][0]))&&f(e,"href",r)},d(c){c&&T(e),a=!1,o()}}}function Xd(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=xd(qd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&25832068){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=qd(l,t,a);n[a]?n[a].p(o,r):(n[a]=xd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),o=W(),f(t,"class","fd-button__text"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[46])),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",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=x(e,"click",St(i[35])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[46]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&T(e),d=!1,g()}}}function xd(i){let e=i[46]===i[7]&&i[23](i[46],i[11]),t,n=e&&$d(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&2688&&(e=l[46]===l[7]&&l[23](l[46],l[11])),e?n?n.p(l,r):(n=$d(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function eh(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-button__text"),f(t,"data-testid","luigi-topnav-title"),f(a,"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[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",St(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function th(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=x(t,"click",St(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&T(e),o=!1,c()}}}function nh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=lh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&32296576){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=Wd(l,t,a);n[a]?n[a].p(o,r):(n[a]=lh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function QS(i){let e,t,n,l=i[19](i[46].title)+"",r,a,o,c,h,d;function g(...p){return i[38](i[46],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[46],i[11]):void 0),f(t,"data-testid",o=i[22](i[46])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[46].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[46],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[46]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function ZS(i){let e,t=i[18]&&ih(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function ih(i){let e,t,n=i[21](i[46],i[18],i[48])+"",l;return{c(){e=k("li"),t=new Cr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[46],r[18],r[48])+"")&&t.p(n)},d(r){r&&T(e)}}}function lh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!ie.isFunction(o[10])),e)return ZS;if(t==null&&(t=!!(o[46]!==o[7]&&o[23](o[46],o[11]))),t)return QS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=we()},m(o,c){a&&a.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){o&&T(n),a&&a.d(o)}}}function rh(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function XS(i){let e,t,n,l;function r(d,g){return d[14]?GS:zS}let a=r(i),o=a(i),c=i[2]&&Kd(i),h=i[2]&&Jd(i);return{c(){e=k("div"),o.c(),t=W(),c&&c.c(),n=W(),h&&h.c(),l=we(),f(e,"class","fd-shellbar__branding"),f(e,"role","link"),f(e,"tabindex","0"),f(e,"aria-label","SAP Corporate Portal Home")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),c&&c.m(e,null),L(d,n,g),h&&h.m(d,g),L(d,l,g)},p(d,g){a===(a=r(d))&&o?o.p(d,g):(o.d(1),o=a(d),o&&(o.c(),o.m(e,t))),d[2]?c?c.p(d,g):(c=Kd(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d[2]?h?h.p(d,g):(h=Jd(d),h.c(),h.m(l.parentNode,l)):h&&(h.d(1),h=null)},i:Ue,o:Ue,d(d){d&&(T(e),T(n),T(l)),o.d(),c&&c.d(),h&&h.d(d)}}}const $S=()=>{};function xS(i,e,t){let n;const l=$t();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:N}=e,{addNavHrefForAnchor:V}=e,E,H,D=Pt("getUnsavedChangesModalPromise"),O=Pt("getTranslation");Si(i,O,ge=>t(19,n=ge));let G=Pt("store");const J={closeDropDown:()=>{le("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:N,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(Ze=>{Ze==="pathData"?t(26,N=ge.pathData):Ze==="appSwitcherItems"?t(9,v=ge.appSwitcherItems):Ze==="itemRenderer"?t(10,C=ge.itemRenderer):Ze==="pathParams"?t(11,y=ge.pathParams):Ze==="selectedItem"?t(7,b=ge.selectedItem):Ze==="title"?t(2,o=ge.title):Ze==="defaultSubTitle"?t(25,I=ge.defaultSubTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="defaultTitle"?t(8,m=ge.defaultTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="showMainAppEntry"?t(6,p=ge.showMainAppEntry):Ze==="hasApps"?t(3,c=ge.hasApps):Ze==="keepMainTitle"?t(4,h=ge.keepMainTitle):Ze==="showSubTitle"?t(5,d=ge.showSubTitle):Ze==="hasLogo"&&t(1,a=ge.hasLogo)})},store:G});an(()=>{WS(Z())}),Yn(()=>{(!H||H!=N)&&(gp(Z()),H=N)});function ce(ge,Ze,Bt){return setTimeout(()=>{Ze&&C(ge,Ze.children[Bt],J)}),""}function Y(ge){D().then(()=>{ot.navigateTo(me.applyPathParams(ge,y))},()=>{})}function ee(){D().then(()=>{ot.navigateTo("/")},()=>{})}function q(ge){l("handleClick",{node:ge}),le("appSwitcherPopover")}function le(ge){l("toggleDropdownState",{name:ge})}function ue(ge){return ge.testId?ge.testId:re.prepareForTests(ge.title||ge)}function ne(ge,Ze){if(ge.link){const Bt=me.applyPathParams(ge.link,Ze);if(Bt.indexOf(":")!==0&&Bt.indexOf("/:")===-1)return!0}return!1}function Pe(ge){return me.getNodeHref(ge)}function se(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const ae=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")};function ke(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const je=()=>Y("/"),ye=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")},Le=()=>Y("/"),ze=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&Y(v[0].link)},Xe=()=>le("appSwitcherPopover"),De=()=>le("appSwitcherPopover"),nt=()=>le("appSwitcherPopover"),rt=(ge,Ze)=>{re.handleNavAnchorClickedWithoutMetaKey(Ze)&&Y(ge.link)};function gt(ge){Ye[ge?"unshift":"push"](()=>{E=ge,t(18,E)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"keepMainTitle"in ge&&t(4,h=ge.keepMainTitle),"showSubTitle"in ge&&t(5,d=ge.showSubTitle),"dropDownStates"in ge&&t(13,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(6,p=ge.showMainAppEntry),"selectedItem"in ge&&t(7,b=ge.selectedItem),"defaultTitle"in ge&&t(8,m=ge.defaultTitle),"appSwitcherItems"in ge&&t(9,v=ge.appSwitcherItems),"itemRenderer"in ge&&t(10,C=ge.itemRenderer),"pathParams"in ge&&t(11,y=ge.pathParams),"subTitle"in ge&&t(12,P=ge.subTitle),"defaultSubTitle"in ge&&t(25,I=ge.defaultSubTitle),"pathData"in ge&&t(26,N=ge.pathData),"addNavHrefForAnchor"in ge&&t(14,V=ge.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Y,ee,le,E,n,O,ce,ue,ne,Pe,I,N,q,se,ae,ke,je,ye,Le,ze,Xe,De,nt,rt,gt]}class eC extends Mt{constructor(e){super(),Ot(this,e,xS,XS,Dt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function ah(i,e,t){const n=i.slice();return n[34]=e[t],n}function sh(i){let e,t,n,l,r,a,o=i[0]&&oh(i),c=(i[10]||i[11])&&_h(i);return{c(){e=k("div"),o&&o.c(),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"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(h,d){L(h,e,d),o&&o.m(e,null),L(h,t,d),L(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=oh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=_h(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(T(e),T(t),T(n)),o&&o.d(),c&&c.d()}}}function oh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?nC:tC}let h=c(i),d=h(i),g=i[7].name&&uh(i),p=i[7].description&&fh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=dh(ah(i,b,C));let v=i[12]&&hh(i);return{c(){e=k("div"),d.c(),t=W(),n=k("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=k("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P]&&m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=uh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=fh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=Ve(C[9].items);let P;for(P=0;P<b.length;P+=1){const I=ah(C,b,P);m[P]?m[P].p(I,y):(m[P]=dh(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=hh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(T(e),T(t),T(n),T(r),T(a)),d.d(),g&&g.d(),p&&p.d(),ht(m,C),v&&v.d()}}}function tC(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ni(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&ni(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function uh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&T(e)}}}function fh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function iC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),ni(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&ni(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&&T(e)}}}function lC(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-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function dh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&ch(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),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,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=ch(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function hh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&gh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),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,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){L(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[x(e,"click",St(i[5])),x(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=gh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&T(e),h&&h.d(),o=!1,Qe(c)}}}function gh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function rC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),tt(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){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function aC(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-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function _h(i){let e,t,n=(i[8]||!i[10]&&i[11])&&ph(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=ph(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=mh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function ph(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Te(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,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),a=!1,o()}}}function mh(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=W(),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(a,o){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[x(e,"click",i[15]),x(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Qe(r)}}}function sC(i){let e,t=!i[1]&&sh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=sh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function oC(i,e,t){let n;const l=$t();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");an(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(vn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...ke}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function G(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function J(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout(),l("toggleDropdownState")}function Y({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ee}=e;const q=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},le=ne=>G(ne),ue=ne=>Y(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,ee=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=!!(o&&(o.name||o.email)))},[ee,r,a,G,J,Z,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,le,ue]}class uC extends Mt{constructor(e){super(),Ot(this,e,oC,sC,Dt,{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 bh(i,e,t){const n=i.slice();return n[34]=e[t],n}function vh(i){let e,t,n,l,r,a=i[0]&&wh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=Sh(bh(i,o,g));let h=i[12]&&Ch(i),d=(i[10]||i[11])&&Ph(i);return{c(){e=k("nav"),t=k("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){L(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b]&&c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=wh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=Ve(g[9].items);let b;for(b=0;b<o.length;b+=1){const m=bh(g,o,b);c[b]?c[b].p(m,p):(c[b]=Sh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=Ch(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ph(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),ht(c,g),h&&h.d(),d&&d.d()}}}function wh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Te(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ae(l,n)},d(r){r&&T(e)}}}function kh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function cC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Sh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&kh(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(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,m){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=kh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function Ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&yh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Te(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(g,p){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[x(e,"click",St(i[5])),x(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=yh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,Qe(h)}}}function yh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(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){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function hC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ph(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ih(i),l=i[10]&&!i[8]&&Th(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Ih(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Th(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Ih(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Nh(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=x(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Nh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,h()}}}function Nh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?_C:gC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(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){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function _C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Th(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){L(l,e,r),t||(n=x(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function pC(i){let e,t=!i[1]&&vh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function mC(i,e,t){let n;const l=$t();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");an(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(vn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...ke}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function G(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function J(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout()}function Y({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ee}=e;const q=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},le=ne=>G(ne),ue=ne=>Y(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,ee=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=!!(o&&(o.name||o.email)))},[ee,r,a,G,J,Z,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,le,ue]}class _p extends Mt{constructor(e){super(),Ot(this,e,mC,pC,Dt,{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 Lh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ah(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Dh(Lh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){n=Ve(a[1]);let c;for(c=0;c<n.length;c+=1){const h=Lh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Dh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Eh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?vC:bC}let N=I(i,-1),V=N(i);r=new An({props:{node:i[11]}});let E=p&&Rh(i);function H(){return i[9](i[11])}return{c(){e=k("li"),t=k("div"),V.c(),l=W(),Be(r.$$.fragment),a=W(),o=k("div"),c=k("div"),d=Te(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){L(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=x(e,"click",H),y=!0)},p(D,O){i=D,N===(N=I(i,O))&&V?V.p(i,O):(V.d(1),V=N(i),V&&(V.c(),V.m(t,l)));const G={};O&2&&(G.node=i[11]),r.$set(G),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Rh(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&T(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function bC(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!tt(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function vC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&T(e)}}}function Rh(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function Dh(i){let e,t,n=i[11].label&&Eh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Eh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function wC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N=i[1]&&Ah(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Te(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),N&&N.c(),p=W(),b=k("footer"),m=k("div"),v=k("div"),C=k("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"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(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"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(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),N&&N.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[x(C,"click",i[8]),x(e,"click",Vt(kC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?N?(N.p(V,E),E&2&&R(N,1)):(N=Ah(V),N.c(),R(N,1),N.m(g,null)):N&&(be(),U(N,1,1,()=>{N=null}),ve())},i(V){y||(R(N),y=!0)},o(V){U(N),y=!1},d(V){V&&T(e),N&&N.d(),P=!1,Qe(I)}}}const kC=()=>{};function SC(i,e,t){const n=$t();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Gi.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class pp extends Mt{constructor(e){super(),Ot(this,e,SC,wC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:CC}=wl;function Vh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Oh(i){let e,t,n,l=i[0]&&Mh(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,a){L(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Mh(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Mh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Uh(Vh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){n=Ve(a[0]);let c;for(c=0;c<n.length;c+=1){const h=Vh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Uh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Fh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?PC:yC}let P=y(i,-1),I=P(i);a=new An({props:{node:i[7]}});function N(){return i[14](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=re.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[x(t,"click",i[13]),x(e,"click",N)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Ae(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,Qe(C)}}}function yC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1811tf3"),tt(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function PC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Uh(i){let e,t,n=i[7].label&&Fh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Fh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Bh(i){let e,t;return e=new pp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function IC(i){let e,t,n,l,r,a=!i[1]&&Oh(i),o=i[1]&&Bh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=we()},m(c,h){a&&a.m(c,h),L(c,e,h),o&&o.m(c,h),L(c,t,h),n=!0,l||(r=x(CC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(be(),U(a,1,1,()=>{a=null}),ve()):a?(a.p(c,h),h&2&&R(a,1)):(a=Oh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Bh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),U(o,1,1,()=>{o=null}),ve())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(T(e),T(t)),a&&a.d(c),o&&o.d(c),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function NC(i,e,t){const n=$t();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Pt("getUnsavedChangesModalPromise"),h=Pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});an(async()=>{fs()}),Yn(async()=>{r||t(0,r=await zt.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else ot.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return Et.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const N=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,fs,a,g,C,y,P,I,N,V]}class mp extends Mt{constructor(e){super(),Ot(this,e,NC,IC,Dt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return fs}}const yn={_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?ie.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=ie.addLeadingSlash(ot.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.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=ie.normalizePath(i),n=ie.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=yn._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=ie.normalizePath(i),t=ie.normalizePath(t),!!yn.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=yn.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 yn.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=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await yn.generateSwitcherNav(e,t)}};function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i,e,t){const n=i.slice();return n[20]=e[t],n}function qh(i,e,t){const n=i.slice();return n[20]=e[t],n}function zh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(qh(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-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=qh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Gh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",St(VC)),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Kh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Gh(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Gh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function jh(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Jh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Yh(Wh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=Wh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Yh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function TC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function LC(i){let e,t,n,l,r;function a(d,g){return d[2]?EC:AC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=k("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=re.getTestId(i[20]))},m(d,g){L(d,e,g),c.m(e,null),L(d,n,g),l||(r=x(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(T(e),T(n)),c.d(),l=!1,r()}}}function AC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){L(d,e,g),w(e,t),w(t,l),c||(h=x(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Ae(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&T(e),c=!1,h()}}}function EC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function RC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Yh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:RC,then:LC,catch:TC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=we(),n.block.c()},m(l,r){L(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[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Qh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xh(Hh(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-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Zh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",i[17]),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Xh(i){let e,t=i[20].position==="bottom"&&Zh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Zh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function DC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&zh(i),c=i[3]&&i[3].length===0&&i[10]&&jh(),h=i[3]&&i[3].length&&Jh(i),d=i[0]&&i[0].length&&Qh(i);return{c(){e=k("nav"),o&&o.c(),t=W(),n=k("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){L(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=zh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=jh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Jh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Qh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:Ue,o:Ue,d(g){g&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const VC=()=>{};function OC(i,e,t){let n,l=Ue,r=()=>(l(),l=zo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=$t();function P(O){y("onActionClick",{node:O})}function I(O,G){y("goToOption",{option:O,selectedOption:G})}const N=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,N,V,E,H,D]}class bp extends Mt{constructor(e){super(),Ot(this,e,OC,DC,Dt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function $h(i){let e,t,n,l=!i[9]&&xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(be(),U(l,1,1,()=>{l=null}),ve()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=xh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=eg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function xh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?FC:MC}let p=g(i),b=p(i);return a=new bp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=W(),r=k("div"),Be(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),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-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=x(n,"click",Vt(JC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&T(e),b.d(),Fe(a),h=!1,d()}}}function MC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?BC:UC}let c=o(i),h=c(i);return{c(){e=k("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),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(d,g){L(d,e,g),h.m(e,null),r||(a=x(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function FC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?zC:qC}let h=c(i),d=h(i);return{c(){e=k("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){L(g,e,p),d.m(e,null),a||(o=x(e,"click",St(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&T(e),d.d(),a=!1,o()}}}function UC(i){let e,t;function n(a,o){return a[4]?HC:WC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function BC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function HC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function WC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function qC(i){let e,t;function n(a,o){return a[4]?GC:KC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function zC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function GC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function KC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&tg(i),N=i[4]&&ng(i);return d=new bp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),I&&I.c(),o=W(),N&&N.c(),c=W(),h=k("div"),Be(d.$$.fragment),g=W(),p=k("footer"),b=k("div"),m=k("div"),v=k("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"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(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"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(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),N&&N.m(a,null),w(t,c),w(t,h),Me(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[x(v,"click",i[13]),x(e,"click",Vt(YC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=tg(V),I.c(),I.m(a,o)),V[4]?N?N.p(V,E):(N=ng(V),N.c(),N.m(a,null)):N&&(N.d(1),N=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&T(e),I&&I.d(),N&&N.d(),Fe(d),y=!1,Qe(P)}}}function tg(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function ng(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function jC(i){let e,t,n=i[3]&&$h(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=$h(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}const JC=()=>{},YC=()=>{};function QC(i,e,t){let n,l;const r=$t();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:N}=e,V,E=Pt("getUnsavedChangesModalPromise"),H=Pt("store"),D=Pt("getTranslation");Si(i,D,ae=>t(16,l=ae));let O=!1,{addNavHrefForAnchor:G}=e,J;an(async()=>{vn.doOnStoreChange(H,async()=>{const ae=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ae),!!a&&(t(6,C=ie.isFunction(ae.customOptionsRenderer)?ae.customOptionsRenderer:void 0),t(7,y=ie.isFunction(ae.customSelectedOptionRenderer)?ae.customSelectedOptionRenderer:void 0),t(5,h=ae),t(1,g=void 0),ae)){t(27,p=ae.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const ke=ot.getCurrentPath();t(20,m=ae.fallbackLabelResolver),yn.resetFallbackLabelCache(),ae.lazyloadOptions||await Y(),yn.isContextSwitcherDetailsView(ke,ae.parentNodePath)&&await ee(ke)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ae=>ee(ae)),Bn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Y())}),t(21,N=h.defaultLabel)}),Yn(()=>{O!==I&&(O=I,Y()),t(14,J=o.contextSwitcherPopover||!1)});function Z(ae,ke,je){return ae?Promise.resolve(ae):yn.getFallbackLabel(ke,je)}function ce(ae){return me.getNodeHref(ae,v)}async function Y(){t(1,g=await yn.fetchOptions(g));const ae=h||{},ke=ae.parentNodePath,je=ae.fallbackLabelResolver,ye=ot.getCurrentPath();t(2,b=await yn.getSelectedOption(ye,g,ke)),t(4,c=await yn.getSelectedLabel(ye,g,ke,je)),await yn.getSelectedNode(ye,g,ke),V=ae.preserveSubPathOnSwitch}async function ee(ae){const ke=h||{},je=ke.parentNodePath,ye=ke.fallbackLabelResolver;t(2,b=await yn.getSelectedOption(ae,g,je)),t(4,c=await yn.getSelectedLabel(ae,g,je,ye)),await yn.getSelectedNode(ae,g,je)}async function q(ae){let ke=ae.detail.node;ke.clickHandler&&!await ke.clickHandler(ke)||(setTimeout(()=>{le(ke.link)}),P&&r("toggleDropdownState"))}function le(ae){E().then(()=>{ot.navigateTo(ae)},()=>{})}function ue(ae){let ke=ae.detail.option,je=ae.detail.selectedOption;E().then(()=>{V&&je?ot.navigateTo(yn.getNodePathFromCurrentPath(ke,je)):ot.navigateTo(ke.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Y()}const Pe=()=>{n&&ne()},se=()=>{n&&ne()};return i.$$set=ae=>{"contextSwitcherEnabled"in ae&&t(3,a=ae.contextSwitcherEnabled),"dropDownStates"in ae&&t(8,o=ae.dropDownStates),"selectedLabel"in ae&&t(4,c=ae.selectedLabel),"config"in ae&&t(5,h=ae.config),"actions"in ae&&t(0,d=ae.actions),"options"in ae&&t(1,g=ae.options),"selectedOption"in ae&&t(2,b=ae.selectedOption),"fallbackLabelResolver"in ae&&t(20,m=ae.fallbackLabelResolver),"pathParams"in ae&&t(22,v=ae.pathParams),"customOptionsRenderer"in ae&&t(6,C=ae.customOptionsRenderer),"customSelectedOptionRenderer"in ae&&t(7,y=ae.customSelectedOptionRenderer),"isMobile"in ae&&t(9,P=ae.isMobile),"contextSwitcherToggle"in ae&&t(23,I=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,N=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,G=ae.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,G,q,ue,ne,J,n,l,D,Z,ce,m,N,v,I,Y,ee,le,p,Pe,se]}class vp extends Mt{constructor(e){super(),Ot(this,e,QC,jC,Dt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:ZC}=wl;function ig(i,e,t){const n=i.slice();return n[22]=e[t],n}function lg(i){let e,t,n,l=!i[2]&&rg(i),r=i[2]&&i[3].productSwitcherPopover&&fg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=rg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=fg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function rg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?$C:XC}let I=P(i,-1),N=I(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=ug(ig(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),d=W(),g=k("div"),p=k("div"),b=k("ul");for(let H=0;H<E.length;H+=1)E[H].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",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Un(i[9])+" svelte-1mzhx88"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"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(H,D){L(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O]&&E[O].m(b,null);C||(y=[x(r,"click",Vt(i[7])),x(l,"click",Vt(ay))],C=!0)},p(H,D){if(I===(I=P(H,D))&&N?N.p(H,D):(N.d(1),N=I(H),N&&(N.c(),N.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const G=ig(H,V,O);E[O]?E[O].p(G,D):(E[O]=ug(G),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Un(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&T(e),N.d(),ht(E,H),C=!1,Qe(y)}}}function XC(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!tt(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&&T(e)}}}function $C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function ag(i){let e,t,n,l,r,a;function o(g,p){return g[4]?ey:xC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=k("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88"),f(e,"data-testid",l=i[14](i[22]))},m(g,p){L(g,e,p),h.m(e,null),w(e,t),r||(a=x(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88")&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&T(e),h.d(),r=!1,a()}}}function xC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?ny:ty}let g=d(i,-1),p=g(i),b=h&&sg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ae(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=sg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(T(e),T(n),T(l)),p.d(),b&&b.d()}}}function ey(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?ly:iy}let v=m(i,-1),C=v(i),y=d&&og(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Te(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link svelte-1mzhx88")},m(P,I){L(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=x(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=og(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function ty(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function ny(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-1mzhx88")},m(n,l){L(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-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function sg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function iy(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function ly(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-1mzhx88")},m(n,l){L(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-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function og(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ug(i){let e,t=i[22].label&&ag(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function fg(i){let e,t;return e=new pp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Be(e.$$.fragment)},m(n,l){Me(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||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ry(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&lg(i);return{c(){a&&a.c(),t=we()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=x(ZC,"resize",cs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=lg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(be(),U(a,1,1,()=>{a=null}),ve())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){o&&T(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const ay=()=>{};function sy(i,e,t){const n=$t();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Pt("store"),h=Pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;an(async()=>{vn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ot.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Et.getTranslation(D.label)}function P(D){return Et.getTranslation(D.subTitle)}function I(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function N(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,cs,d,v,C,y,P,N,V,E,H]}class wp extends Mt{constructor(e){super(),Ot(this,e,sy,ry,Dt,{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 cs}}function cg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function oy(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 fd-shellbar__search-field-input svelte-1gf05kv"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),i[15](e),e.focus(),t||(n=x(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function uy(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 fd-shellbar__search-field-input svelte-1gf05kv"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){L(t,e,n),e.focus()},p:Ue,d(t){t&&T(e)}}}function fy(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[19](e)},p:Ue,d(t){t&&T(e),i[19](null)}}}function cy(i){let e,t,n,l=i[4]&&dg(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1gf05kv"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1gf05kv"),f(e,"aria-hidden",n=!i[5])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=dg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function dg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hg(cg(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){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=Ve(l[4]);let a;for(a=0;a<t.length;a+=1){const o=cg(l,t,a);n[a]?n[a].p(o,r):(n[a]=hg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[18](null)}}}function dy(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function hy(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title svelte-1gf05kv"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1gf05kv")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",St(_y)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Ae(r,l),b&16&&c!==(c=p[21].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function hg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?dy:hy}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-1gf05kv"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,Qe(l)}}}function gy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?uy:oy}let I=P(i),N=I(i);function V(D,O){return D[8].isCustomSearchRenderer?fy:cy}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=W(),a=k("div"),o=W(),H.c(),d=W(),g=k("div"),p=k("div"),b=k("button"),m=k("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-1gf05kv"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1gf05kv"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,l),N.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),L(D,d,O),L(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[x(window,"click",i[9]),x(window,"blur",i[9]),x(n,"click",Vt(py)),x(b,"click",i[6]),x(p,"click",Vt(my))],C=!0)},p(D,[O]){I===(I=P(D))&&N?N.p(D,O):(N.d(1),N=I(D),N&&(N.c(),N.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:Ue,o:Ue,d(D){D&&(T(e),T(d),T(g)),N.d(),H.d(),C=!1,Qe(y)}}}const _y=()=>{},py=()=>{},my=()=>{};function by(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=$t();let g={},p;an(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Yn(()=>{t(7,g=h),p||t(8,p=new up(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){Ye[D?"unshift":"push"](()=>{a=D,t(0,a)})}const N=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Ye[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ye[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,N,V,E,H]}class vy extends Mt{constructor(e){super(),Ot(this,e,by,gy,Dt,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function gg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function wy(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=k("input"),t=W(),n=k("div"),l=k("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=k("div"),o=k("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=k("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-a47lg3"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-a47lg3"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),i[23](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,h,b),d||(g=[x(e,"keyup",i[22]),x(e,"input",i[24]),x(l,"click",i[17]),x(o,"click",i[15])],d=!0)},p:Ue,d(p){p&&(T(e),T(t),T(n),T(r),T(a),T(c),T(h)),i[23](null),d=!1,Qe(g)}}}function ky(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 fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function Sy(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[28](e)},p:Ue,d(t){t&&T(e),i[28](null)}}}function Cy(i){let e,t,n,l=i[3]&&_g(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-a47lg3"),f(e,"aria-hidden",n=!i[4])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=_g(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function _g(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=pg(gg(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){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=gg(l,t,a);n[a]?n[a].p(o,r):(n[a]=pg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[27](null)}}}function yy(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function Py(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(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){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",St(Ny)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Ae(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function pg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?yy:Py}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-a47lg3"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,Qe(l)}}}function mg(i){let e,t,n,l,r,a,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-a47lg3")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[x(n,"click",i[6]),x(t,"click",Vt(Ly))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function bg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-a47lg3"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=x(t,"click",Vt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Ae(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function Iy(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?ky:wy}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?Sy:Cy}let y=C(i),P=y(i),I=!i[5]&&mg(i),N=i[5]&&bg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),N&&N.c(),d=we(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-a47lg3"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),I&&I.m(V,E),L(V,h,E),N&&N.m(V,E),L(V,d,E),g||(p=[x(window,"click",i[13]),x(window,"blur",i[13]),x(n,"click",Vt(Ty))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=mg(V),I.c(),I.m(h.parentNode,h)),V[5]?N?N.p(V,E):(N=bg(V),N.c(),N.m(d.parentNode,d)):N&&(N.d(1),N=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),I&&I.d(V),N&&N.d(V),g=!1,Qe(p)}}}const Ny=()=>{},Ty=()=>{},Ly=()=>{};function Ay(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=$t();let g=ml.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=Pt("getTranslation");Si(i,m,ue=>t(10,n=ue));let v;an(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ue=document.querySelector(".lui-global-search");ue&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ue)}),Yn(()=>{t(8,b=h),v||t(9,v=new up(b,d)),v.getCustomRenderer(),N()});function C(ue,ne,Pe){v.renderCustomSearchItem(ue,ne,Pe)}function y(){v.closeSearchResult()}function P(ue){v.onKeyUp(ue,r)}function I(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function N(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(ue){v.onSearchResultItemSelected(ue)}function H(ue,ne){v.handleKeydown(ue,ne,a,c)}function D(ue){v.onActionClick(ue)}function O(){v.toggleSearch(p,r,a,o)}const G=ue=>P(ue);function J(ue){Ye[ue?"unshift":"push"](()=>{a=ue,t(0,a)})}const Z=()=>N(),ce=(ue,ne)=>E(ue),Y=(ue,ne)=>H(ue,ne);function ee(ue){Ye[ue?"unshift":"push"](()=>{c=ue,t(2,c)})}function q(ue){Ye[ue?"unshift":"push"](()=>{o=ue,t(1,o)})}const le=()=>O();return i.$$set=ue=>{"searchResult"in ue&&t(3,l=ue.searchResult),"displaySearchResult"in ue&&t(4,r=ue.displaySearchResult),"inputElem"in ue&&t(0,a=ue.inputElem),"customSearchItemRendererSlot"in ue&&t(1,o=ue.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ue&&t(2,c=ue.customSearchItemRendererSlotContainer),"globalSearchConfig"in ue&&t(20,h=ue.globalSearchConfig),"isSearchFieldVisible"in ue&&t(5,p=ue.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,N,V,E,H,h,D,G,J,Z,ce,Y,ee,q,le]}class Ey extends Mt{constructor(e){super(),Ot(this,e,Ay,Iy,Dt,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function vg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?Dy:Ry}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ry(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),tt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function Dy(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){L(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&&T(e)}}}function wg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ii({props:{node:i[0]}}),{c(){e=k("span"),n=Te(t),l=W(),Be(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&T(e),Fe(r)}}}function Vy(i){let e,t,n,l=i[0].icon&&vg(i),r=(!i[0].icon||i[0].showLabel)&&wg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=vg(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=wg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Oy(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Mt{constructor(e){super(),Ot(this,e,Oy,Vy,Dt,{node:0})}}const{Boolean:kp,window:kg}=wl;function Sg(i,e,t){const n=i.slice();return n[110]=e[t],n[112]=t,n}function Cg(i,e,t){const n=i.slice();return n[110]=e[t],n[113]=e,n[112]=t,n}function My(i){let e,t;return e=new _p({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[102]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&yg(i);function v(E){i[60](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new eC({props:C}),Ye.push(()=>yt(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Pg(i),P=(!i[0]||i[1])&&Ig(i),I=(i[18]||i[7]&&i[30].length>0)&&Tg(i),N=(i[0]||i[16])&&Gg(i),V=i[12]&&Kg(i);return{c(){e=k("div"),t=k("div"),m&&m.c(),n=W(),Be(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=k("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),N&&N.c(),g=W(),V&&V.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[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-z9ma68"),f(e,"tabindex","0")},m(E,H){L(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),I&&I.m(c,null),w(c,d),N&&N.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=yg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],Ct(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=Pg(E),y.c(),R(y,1),y.m(e,o)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Ig(E),P.c(),R(P,1),P.m(c,h)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),E[18]||E[7]&&E[30].length>0?I?(I.p(E,H),H[0]&1074004096&&R(I,1)):(I=Tg(E),I.c(),R(I,1),I.m(c,d)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[0]||E[16]?N?(N.p(E,H),H[0]&65537&&R(N,1)):(N=Gg(E),N.c(),R(N,1),N.m(c,g)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Kg(E),V.c(),R(V,1),V.m(c,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-z9ma68"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(N),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(N),U(V),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),I&&I.d(),N&&N.d(),V&&V.d()}}}function yg(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-z9ma68"),f(e,"tabindex","0"),f(e,"title",i[25]),f(e,"type","button")},m(r,a){L(r,e,a),w(e,t),n||(l=x(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),n=!1,l()}}}function Pg(i){let e,t,n,l,r,a,o,c;function h(v){i[61](v)}function d(v){i[62](v)}function g(v){i[63](v)}function p(v){i[64](v)}function b(v){i[65](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new Ey({props:m}),Ye.push(()=>yt(t,"isSearchFieldVisible",h)),Ye.push(()=>yt(t,"searchResult",d)),Ye.push(()=>yt(t,"displaySearchResult",g)),Ye.push(()=>yt(t,"inputElem",p)),Ye.push(()=>yt(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Be(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],Ct(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],Ct(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Ct(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],Ct(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],Ct(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&T(e),Fe(t)}}}function Ig(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Ng(i);function a(c){i[77](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new vp({props:o}),Ye.push(()=>yt(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[78]),{c(){r&&r.c(),e=W(),Be(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Me(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Ng(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],Ct(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){c&&T(e),r&&r.d(c),Fe(t,c)}}}function Ng(i){let e,t,n,l,r,a,o;function c(m){i[69](m)}function h(m){i[70](m)}function d(m){i[71](m)}function g(m){i[72](m)}function p(m){i[73](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.customSearchItemRendererSlot=i[22]),e=new vy({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"searchResult",h)),Ye.push(()=>yt(e,"displaySearchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[74]),e.$on("handleSearchNavigation",i[75]),e.$on("closeSearchResult",i[76]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],Ct(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],Ct(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],Ct(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],Ct(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Tg(i){let e,t,n,l=i[7]&&i[30].length>0&&Lg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Dg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Lg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),U(l,1,1,()=>{l=null}),ve()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Dg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Lg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Rg(Cg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Cg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Ag(i){let e,t,n,l;const r=[By,Uy],a=[];function o(c,h){return c[110].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function Uy(i){let e,t,n,l,r;const a=[Wy,Hy],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=k("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(e),o[t].d()}}}function By(i){let e=i[110].visibleChildren.filter(jg).length>0,t,n,l=e&&Eg(i);return{c(){l&&l.c(),t=we()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[110].visibleChildren.filter(jg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Eg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(t),l&&l.d(r)}}}function Hy(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[83](v,i[110],i[113],i[112])}let b={};i[110]!==void 0&&(b.node=i[110]),t=new jo({props:b}),Ye.push(()=>yt(t,"node",p)),r=new An({props:{node:i[110]}});function m(){return i[84](i[110])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[110],i[49](i[110]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=re.getTestId(i[110])),f(e,"type","button")},m(v,C){L(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=x(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[110],Ct(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[110]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[110],i[49](i[110]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=re.getTestId(i[110])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&T(e),Fe(t),Fe(r),d=!1,g()}}}function Wy(i){let e,t,n,l;const r=[zy,qy],a=[];function o(c,h){return c[110].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function qy(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function zy(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[81](C,i[110],i[113],i[112])}let m={};i[110]!==void 0&&(m.node=i[110]),t=new jo({props:m}),Ye.push(()=>yt(t,"node",b)),r=new An({props:{node:i[110]}});function v(...C){return i[82](i[110],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[110])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"title",c=i[51](i[110],i[49](i[110]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=re.getTestId(i[110]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=x(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[110],Ct(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[110]),r.$set(I),(!d||y[0]&128&&a!==(a=i[50](i[110])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[110],i[49](i[110]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=re.getTestId(i[110])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&T(e),Fe(t),Fe(r),g=!1,p()}}}function Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(D){i[79](D,i[110],i[113],i[112])}let E={};i[110]!==void 0&&(E.node=i[110]),r=new jo({props:E}),Ye.push(()=>yt(r,"node",V)),c=new An({props:{node:i[110]}});function H(){return i[80](i[112])}return v=new mp({props:{node:i[110],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Be(r.$$.fragment),o=W(),Be(c.$$.fragment),b=W(),m=k("div"),Be(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[110],i[49](i[110]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(l,"aria-controls","dropDownPopover-"+i[112]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[112]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.getTestId(i[110])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[112]}`]),f(m,"id","dropDownPopover-"+i[112]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,I||(N=[x(l,"click",H),x(n,"click",Vt(l3))],I=!0)},p(D,O){i=D;const G={};!a&&O[0]&128&&(a=!0,G.node=i[110],Ct(()=>a=!1)),r.$set(G);const J={};O[0]&128&&(J.node=i[110]),c.$set(J),(!P||O[0]&128&&h!==(h=i[51](i[110],i[49](i[110]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[112]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[110])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[110]),O[1]&1&&(Z.pathParams=i[31]),O[0]&134217728&&(Z.addNavHrefForAnchor=i[27]),v.$set(Z),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[112]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&T(e),Fe(r),Fe(c),Fe(v),I=!1,Qe(N)}}}function Rg(i){let e,t,n=!(i[110].hideFromNav||i[5]&&i[110].globalNav)&&Ag(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[110].hideFromNav||l[5]&&l[110].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ag(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Dg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D;h=new An({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Vg(i),G=i[46]&&(!i[0]||i[1])&&Og(i),J=i[7]&&Mg(i),Z=i[12]&&Hg(i),ce=i[12]&&Wg(i),Y=i[14]&&qg(i),ee=(!i[0]||i[1])&&zg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("button"),o=k("i"),c=W(),Be(h.$$.fragment),g=W(),p=k("div"),b=k("nav"),m=k("ul"),O&&O.c(),v=W(),G&&G.c(),C=W(),J&&J.c(),y=W(),Z&&Z.c(),I=W(),ce&&ce.c(),N=W(),Y&&Y.c(),V=W(),ee&&ee.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-z9ma68"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"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(m,"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",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-z9ma68"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(q,le){L(q,e,le),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),G&&G.m(m,null),w(m,C),J&&J.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,N),Y&&Y.m(n,null),w(n,V),ee&&ee.m(n,null),E=!0,H||(D=[x(a,"click",i[85]),x(l,"click",Vt(r3))],H=!0)},p(q,le){const ue={};le[0]&2048&&(ue.node=q[11]),h.$set(ue),(!E||le[0]&64&&d!==(d=q[6].overflowPopover||!1))&&f(a,"aria-expanded",d),q[18]&&!q[19]&&!q[29]?O?O.p(q,le):(O=Vg(q),O.c(),O.m(m,v)):O&&(O.d(1),O=null),q[46]&&(!q[0]||q[1])?G?G.p(q,le):(G=Og(q),G.c(),G.m(m,C)):G&&(G.d(1),G=null),q[7]?J?(J.p(q,le),le[0]&128&&R(J,1)):(J=Mg(q),J.c(),R(J,1),J.m(m,y)):J&&(be(),U(J,1,1,()=>{J=null}),ve()),q[12]?Z?Z.p(q,le):(Z=Hg(q),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!E||le[0]&64&&P!==(P=!q[6].overflowPopover))&&f(p,"aria-hidden",P),q[12]?ce?(ce.p(q,le),le[0]&4096&&R(ce,1)):(ce=Wg(q),ce.c(),R(ce,1),ce.m(n,N)):ce&&(be(),U(ce,1,1,()=>{ce=null}),ve()),q[14]?Y?(Y.p(q,le),le[0]&16384&&R(Y,1)):(Y=qg(q),Y.c(),R(Y,1),Y.m(n,V)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),!q[0]||q[1]?ee?(ee.p(q,le),le[0]&3&&R(ee,1)):(ee=zg(q),ee.c(),R(ee,1),ee.m(n,null)):ee&&(be(),U(ee,1,1,()=>{ee=null}),ve())},i(q){E||(R(h.$$.fragment,q),R(J),R(ce),R(Y),R(ee),E=!0)},o(q){U(h.$$.fragment,q),U(J),U(ce),U(Y),U(ee),E=!1},d(q){q&&T(e),Fe(h),O&&O.d(),G&&G.d(),J&&J.d(),Z&&Z.d(),ce&&ce.d(),Y&&Y.d(),ee&&ee.d(),H=!1,Qe(D)}}}function Vg(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-z9ma68"></i> <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,a){L(r,e,a),w(e,t),n||(l=x(t,"click",Vt(i[86])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Og(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=k("li"),t=k("a"),n=k("i"),r=W(),a=k("span"),c=Te(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-z9ma68"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){L(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=x(t,"click",Vt(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-z9ma68")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&T(e),h=!1,d()}}}function Mg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Bg(Sg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Sg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Bg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Fg(i){let e,t,n,l,r;const a=[Ky,Gy],o=[];function c(h,d){return d[0]&128&&(e=null),!h[110].isCat||h[110].separator?0:(e==null&&(e=h[110].visibleChildren.filter(i3).length>0),e?1:-1)}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=we()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(be(),U(o[g],1,1,()=>{o[g]=null}),ve()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(l),~t&&o[t].d(h)}}}function Gy(i){let e,t,n,l,r,a,o,c,h=i[49](i[110])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[110])),l?Jy:jy}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new An({props:{node:i[110]}});function N(){return i[88](i[110])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),b=W(),f(n,"class","fd-top-nav__icon svelte-z9ma68"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[110])),f(t,"title",p=i[51](i[110],i[49](i[110]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=x(t,"click",St(N)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[110]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[110])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[110])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[110],i[49](i[110]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,C()}}}function Ky(i){let e,t,n,l,r;const a=[Qy,Yy],o=[];function c(h,d){return h[110].separator?1:0}return t=c(i),n=o[t]=a[t](i),{c(){e=k("li"),n.c(),l=W(),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(e),o[t].d()}}}function jy(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[110].icon)||f(e,"src",t),f(e,"alt",n=i[110].altText?i[110].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[110].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[110].altText?l[110].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Jy(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[110].icon&&n[48](n[110])?n[47](n[110].icon):"")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Yy(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function Qy(i){let e,t,n=!i[48](i[110]),l,r,a,o,c,h=i[49](i[110])+"",d,g,p,b,m,v,C,y=n&&Ug(i);r=new An({props:{node:i[110]}});function P(){return i[87](i[110])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Te(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[110])),f(e,"class",p="fd-menu__link "+(i[110]===i[8]?"is-selected":"")),f(e,"data-testid",b=re.getTestId(i[110])+"-mobile")},m(I,N){L(I,e,N),w(e,t),y&&y.m(t,null),w(t,l),Me(r,t,null),w(e,o),w(e,c),w(c,d),m=!0,v||(C=x(e,"click",St(P)),v=!0)},p(I,N){i=I,N[0]&128&&(n=!i[48](i[110])),n?y?y.p(i,N):(y=Ug(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};N[0]&128&&(V.node=i[110]),r.$set(V),(!m||N[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68"))&&f(t,"class",a),(!m||N[0]&128)&&h!==(h=i[49](i[110])+"")&&Ae(d,h),(!m||N[0]&128&&g!==(g=i[50](i[110])))&&f(e,"href",g),(!m||N[0]&384&&p!==(p="fd-menu__link "+(i[110]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||N[0]&128&&b!==(b=re.getTestId(i[110])+"-mobile"))&&f(e,"data-testid",b)},i(I){m||(R(r.$$.fragment,I),m=!0)},o(I){U(r.$$.fragment,I),m=!1},d(I){I&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Ug(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[110].icon)||f(e,"src",t),f(e,"alt",n=i[110].altText?i[110].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[110].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[110].altText?l[110].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Bg(i){let e,t,n=!(i[110].hideFromNav||i[5]&&i[110].globalNav)&&Fg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[110].hideFromNav||l[5]&&l[110].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Fg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Hg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?Xy:Zy}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=k("li"),t=k("a"),p.c(),l=W(),r=k("span"),o=Te(a),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,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=x(t,"click",Vt(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ae(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function Zy(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-z9ma68"),f(e,"class","fd-top-nav__icon sap-icon svelte-z9ma68")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Xy(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-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Wg(i){let e,t,n;function l(a){i[89](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[90]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function qg(i){let e,t;return e=new mp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(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||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function zg(i){let e,t,n,l,r;function a(d){i[91](d)}function o(d){i[92](d)}function c(d){i[93](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new vp({props:h}),Ye.push(()=>yt(e,"dropDownStates",a)),Ye.push(()=>yt(e,"selectedLabel",o)),Ye.push(()=>yt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[94]),{c(){Be(e.$$.fragment)},m(d,g){Me(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],Ct(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],Ct(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],Ct(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Gg(i){let e,t,n,l,r;const a=[xy,$y],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&ie.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[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(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&T(e),o[n].d()}}}function $y(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,N){return I[17].picture?t3:e3}let y=C(i),P=y(i);return g=new _p({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[99]),g.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),h=W(),d=k("div"),Be(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-z9ma68"),f(r,"aria-expanded",a=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(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-z9ma68")},m(I,N){L(I,e,N),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Me(g,d,null),b=!0,m||(v=[x(r,"click",i[98]),x(n,"click",Vt(s3)),x(d,"click",Vt(i[59]))],m=!0)},p(I,N){y===(y=C(I))&&P?P.p(I,N):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||N[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||N[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||N[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};N[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||N[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&T(e),P.d(),Fe(g),m=!1,Qe(v)}}}function xy(i){let e,t,n,l,r=(i[17].picture?"":i[17].initials||"")+"",a,o,c,h,d,g,p,b,m,v,C,y;return b=new uC({props:{addNavHrefForAnchor:i[27]}}),b.$on("toggleDropdownState",i[97]),b.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("span"),a=Te(r),g=W(),p=k("div"),Be(b.$$.fragment),f(l,"class",o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(i[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"),f(l,"style",c=i[17].picture?`background-image:url('${i[17].picture}')`:""),f(n,"class","fd-button fd-button--transparent fd-shellbar__button fd-user-menu__control svelte-z9ma68"),f(n,"aria-controls","profilePopover"),f(n,"aria-expanded","true"),f(n,"aria-haspopup","true"),f(n,"title",h=i[17].name||void 0),f(n,"tabindex","0"),f(n,"data-testid",d=i[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"),f(t,"class","fd-popover__control"),f(p,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right"),f(p,"aria-hidden",m=!i[6].profilePopover),f(p,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-z9ma68")},m(P,I){L(P,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(e,g),w(e,p),Me(b,p,null),v=!0,C||(y=[x(n,"click",i[95]),x(n,"keydown",i[96]),x(t,"click",Vt(a3)),x(p,"click",Vt(i[58]))],C=!0)},p(P,I){(!v||I[0]&131072)&&r!==(r=(P[17].picture?"":P[17].initials||"")+"")&&Ae(a,r),(!v||I[0]&131072&&o!==(o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(P[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"))&&f(l,"class",o),(!v||I[0]&131072&&c!==(c=P[17].picture?`background-image:url('${P[17].picture}')`:""))&&f(l,"style",c),(!v||I[0]&131072&&h!==(h=P[17].name||void 0))&&f(n,"title",h),(!v||I[0]&131072&&d!==(d=P[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"))&&f(n,"data-testid",d);const N={};I[0]&134217728&&(N.addNavHrefForAnchor=P[27]),b.$set(N),(!v||I[0]&64&&m!==(m=!P[6].profilePopover))&&f(p,"aria-hidden",m)},i(P){v||(R(b.$$.fragment,P),v=!0)},o(P){U(b.$$.fragment,P),v=!1},d(P){P&&T(e),Fe(b),C=!1,Qe(y)}}}function e3(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){L(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&&T(e)}}}function t3(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-z9ma68"),ni(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&ni(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function Kg(i){let e,t,n;function l(a){i[100](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[101]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function n3(i){let e,t,n,l,r,a;const o=[Fy,My],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(kg,"click",i[41]),x(kg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(be(),U(c[p],1,1,()=>{c[p]=null}),ve(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&T(n),c[e].d(d),r=!1,Qe(a)}}}const i3=i=>!i.hideFromNav&&i.label,jg=i=>!i.hideFromNav&&i.label,l3=()=>{},r3=()=>{},a3=()=>{},s3=()=>{};function o3(i,e,t){const n=$t();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:I}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:G={}}=e,{globalSearchConfig:J}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:ce}=e,{inputElem:Y}=e,{customSearchItemRendererSlot:ee}=e,{displaySearchResult:q}=e,{searchResult:le}=e,{burgerTooltip:ue}=e,{responsiveShellbarPadding:ne}=e,Pe=Pt("store"),se=!1,ae,ke,je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const Q=await re.generateTopNavNodes(p);t(7,C=Q.children),t(8,y=Q.selectedNode),t(9,P=Q.visibleNodeCount),t(11,N=Q.totalBadgeNode),t(10,I=Q.globalNavNodeCount),window.TOPNAVDATA=Q.children,b=p}},ze=()=>{t(1,a=_l.isLoggedIn())};an(()=>{vn.doOnStoreChange(Pe,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(54,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=re.getProductSwitcherConfig()),t(18,J=te.getConfigValue("globalSearch")),t(19,Z=J&&J.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,ye=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,je=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),vn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),Bn.addEventListener("message",Q=>{Q.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Yn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Xe}=e;function De(Q){return re.renderIconClassName(Q)}function nt(Q){return re.isOpenUIiconName(Q.icon)}const rt=Q=>re.getNodeLabel(Q);function gt(Q){return me.getNodeHref(Q,m)}function ge(Q,Wt){return re.generateTooltipText(Q,Wt)}function Ze(){it("productSwitcherPopover")}function Bt(){t(43,se=!se),it("contextSwitcherPopover")}function En(Q){t(14,H=!0),t(15,D=Q)}function on(){t(14,H=!1)}function sn(Q){n("handleClick",{node:Q})}function Ie(Q){n("handleSearchNavigation",{node:Q})}function ut(Q){sn(Q.detail.node)}function it(Q){const Wt=v||{},_n=!Wt[Q];jt(),on(),Wt[Q]=_n,t(6,v=Wt)}function un(Q){it(Q.detail.name)}function Kt(){Y&&Y.focus()}function Hn(){ce||setTimeout(()=>{Kt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Y,customSearchItemRendererSlot:ee})}function jt(){const Q=v||{},Wt=Object.keys(Q);Wt&&Wt.length>0&&Wt.forEach(_n=>{Q[_n]=!1,t(6,v=Q)})}function Jt(){h==="simple"||h==="simpleMobileOnly"?xt():wn(),li()}function li(){if(!re.getBurgerTooltipConfig())return;const[Q,Wt]=re.getBurgerTooltipConfig();Q&&Wt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ue=document.body.classList.contains("lui-leftNavToggle")?Q:Wt),document.body.classList.contains("lui-semiCollapsible")&&t(25,ue=document.body.classList.contains("semiCollapsed")?Q:Wt))}function xt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function wn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci(Q){const Wt=Q.detail;t(17,G=Wt||{})}function di(Q){(Q.key==="Enter"||Q.key===" ")&&it(Q.currentTarget.getAttribute("aria-controls"))}function kn(Q){Gi.call(this,i,Q)}function yi(Q){Gi.call(this,i,Q)}function Pi(Q){v=Q,t(6,v)}function Ii(Q){ce=Q,t(20,ce)}function Ni(Q){le=Q,t(24,le)}function Ti(Q){q=Q,t(23,q)}function Sl(Q){Y=Q,t(21,Y)}function Cl(Q){ee=Q,t(22,ee)}function yl(Q){Gi.call(this,i,Q)}function Li(Q){Gi.call(this,i,Q)}function Ji(Q){Gi.call(this,i,Q)}function Yi(Q){ce=Q,t(20,ce)}function hi(Q){le=Q,t(24,le)}function Pl(Q){q=Q,t(23,q)}function Il(Q){Y=Q,t(21,Y)}function Qi(Q){ee=Q,t(22,ee)}function Nl(Q){Gi.call(this,i,Q)}function Tl(Q){Gi.call(this,i,Q)}function Ll(Q){Gi.call(this,i,Q)}function Ai(Q){v=Q,t(6,v)}const Al=()=>it("contextSwitcherPopover");function ri(Q,Wt,_n,qt){_n[qt]=Q,t(7,C)}const Ei=Q=>it(`dropDownPopover-${Q}`);function gi(Q,Wt,_n,qt){_n[qt]=Q,t(7,C)}const Ri=(Q,Wt)=>{re.handleNavAnchorClickedWithoutMetaKey(Wt)&&sn(Q)};function _i(Q,Wt,_n,qt){_n[qt]=Q,t(7,C)}const Zi=Q=>sn(Q),Xi=()=>it("overflowPopover"),K=()=>{Hn(),it("overflowPopover")},Se=Q=>sn(Q),Je=Q=>En(Q);function lt(Q){v=Q,t(6,v)}const vt=()=>it("productSwitcherPopover");function pt(Q){v=Q,t(6,v)}function Ht(Q){ae=Q,t(44,ae)}function Gt(Q){ke=Q,t(45,ke)}const Rn=()=>it("contextSwitcherPopover"),Wn=()=>it("profilePopover"),El=Q=>di(Q),Di=()=>it("profilePopover"),Kl=()=>it("profilePopover"),yr=()=>it("profilePopover");function wt(Q){v=Q,t(6,v)}const $i=()=>it("productSwitcherPopover"),xi=()=>it("profilePopover");return i.$$set=Q=>{"authorizationEnabled"in Q&&t(0,l=Q.authorizationEnabled),"autologinEnabled"in Q&&t(54,r=Q.autologinEnabled),"isLoggedIn"in Q&&t(1,a=Q.isLoggedIn),"hideSearchComponent"in Q&&t(29,o=Q.hideSearchComponent),"hideNavComponent"in Q&&t(2,c=Q.hideNavComponent),"responsiveNavSetting"in Q&&t(3,h=Q.responsiveNavSetting),"profileTypeSettings"in Q&&t(4,d=Q.profileTypeSettings),"showGlobalNav"in Q&&t(5,g=Q.showGlobalNav),"pathData"in Q&&t(30,p=Q.pathData),"pathParams"in Q&&t(31,m=Q.pathParams),"dropDownStates"in Q&&t(6,v=Q.dropDownStates),"children"in Q&&t(7,C=Q.children),"selectedNode"in Q&&t(8,y=Q.selectedNode),"visibleNodeCount"in Q&&t(9,P=Q.visibleNodeCount),"globalNavNodeCount"in Q&&t(10,I=Q.globalNavNodeCount),"totalBadgeNode"in Q&&t(11,N=Q.totalBadgeNode),"isProductSwitcherAvailable"in Q&&t(12,V=Q.isProductSwitcherAvailable),"productSwitcherConfig"in Q&&t(13,E=Q.productSwitcherConfig),"openMobileDropDown"in Q&&t(14,H=Q.openMobileDropDown),"nodeForMobile"in Q&&t(15,D=Q.nodeForMobile),"profileItemsAvailable"in Q&&t(16,O=Q.profileItemsAvailable),"userInfo"in Q&&t(17,G=Q.userInfo),"globalSearchConfig"in Q&&t(18,J=Q.globalSearchConfig),"isGlobalSearchCentered"in Q&&t(19,Z=Q.isGlobalSearchCentered),"isSearchFieldVisible"in Q&&t(20,ce=Q.isSearchFieldVisible),"inputElem"in Q&&t(21,Y=Q.inputElem),"customSearchItemRendererSlot"in Q&&t(22,ee=Q.customSearchItemRendererSlot),"displaySearchResult"in Q&&t(23,q=Q.displaySearchResult),"searchResult"in Q&&t(24,le=Q.searchResult),"burgerTooltip"in Q&&t(25,ue=Q.burgerTooltip),"responsiveShellbarPadding"in Q&&t(26,ne=Q.responsiveShellbarPadding),"addNavHrefForAnchor"in Q&&t(27,ye=Q.addNavHrefForAnchor),"showTopNav"in Q&&t(28,Xe=Q.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(28,Xe=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,I,N,V,E,H,D,O,G,J,Z,ce,Y,ee,q,le,ue,ne,ye,Xe,o,p,m,Ze,Bt,En,on,sn,ut,it,un,Hn,jt,Ci,se,ae,ke,je,De,nt,rt,gt,ge,Jt,di,r,Ie,xt,wn,kn,yi,Pi,Ii,Ni,Ti,Sl,Cl,yl,Li,Ji,Yi,hi,Pl,Il,Qi,Nl,Tl,Ll,Ai,Al,ri,Ei,gi,Ri,_i,Zi,Xi,K,Se,Je,lt,vt,pt,Ht,Gt,Rn,Wn,El,Di,Kl,yr,wt,$i,xi]}class Sp extends Mt{constructor(e){super(),Ot(this,e,o3,n3,Dt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideSearchComponent:29,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,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:55,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:56,semicollapsedNav:57,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[55]}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[56]}get semicollapsedNav(){return this.$$.ctx[57]}get userInfoUpdate(){return this.$$.ctx[42]}}function Jg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function u3(i){let e,t=i[0]&&Jg();return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Jg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function f3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ot.getCurrentPath(),n),a=await zt.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return an(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");zl.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}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 c3 extends Mt{constructor(e){super(),Ot(this,e,f3,u3,Dt,{node:0})}}const{window:Oo}=wl;function Yg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Xg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function $g(i,e,t){const n=i.slice();return n[57]=e[t],n}function xg(i,e,t){const n=i.slice();return n[57]=e[t],n}function d3(i){const e=i.slice(),t=Cp(e[54]);return e[67]=t,e}function e_(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Mo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function h3(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function t_(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&n_(i),P=Ve(Object.entries(i[0])),I=[];for(let D=0;D<P.length;D+=1)I[D]=c_(Xg(i,P,D));const N=D=>U(I[D],1,1,()=>{I[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=__(Yg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=k("div"),y&&y.c(),t=W(),n=k("nav"),l=k("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=k("span"),o=k("div"),c=k("div"),h=k("button"),h.innerHTML='<span class="label fd-icon-tab-bar__overflow-text">More</span> <span class="sap-icon--slim-arrow-down"></span>',d=W(),g=k("div"),p=k("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){L(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let G=0;G<I.length;G+=1)I[G]&&I[G].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let G=0;G<E.length;G+=1)E[G]&&E[G].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[x(h,"click",St(i[10])),x(a,"click",N3),x(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=n_(D),y.c(),R(y,1),y.m(e,t)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),O[0]&3866829){P=Ve(Object.entries(D[0]));let G;for(G=0;G<P.length;G+=1){const J=Xg(D,P,G);I[G]?(I[G].p(J,O),R(I[G],1)):(I[G]=c_(J),I[G].c(),R(I[G],1),I[G].m(l,r))}for(be(),G=P.length;G<I.length;G+=1)N(G);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let G;for(G=0;G<V.length;G+=1){const J=Yg(D,V,G);E[G]?(E[G].p(J,O),R(E[G],1)):(E[G]=__(J),E[G].c(),R(E[G],1),E[G].m(p,null))}for(be(),G=V.length;G<E.length;G+=1)H(G);ve()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&T(e),y&&y.d(),ht(I,D),i[31](null),ht(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function n_(i){let e,t;return e=new c3({props:{node:i[11].parent}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function g3(i){let e,t,n,l,r;const a=[m3,p3],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!S3(d[54])),e?0:1}function h(d,g){return g===0?d3(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=we()},m(d,g){o[t].m(d,g),L(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(be(),U(o[p],1,1,()=>{o[p]=null}),ve(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){d&&T(l),o[t].d(d)}}}function _3(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(e_(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=e_(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function p3(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V;function E(){return i[29](i[53])}let H=Ve(i[54]),D=[];for(let G=0;G<H.length;G+=1)D[G]=r_($g(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Te(o),h=W(),d=k("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=k("div"),m=k("ul");for(let G=0;G<D.length;G+=1)D[G].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=pl(i[53],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=pl(i[53],i[2]))},m(G,J){L(G,e,J),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(m,null);w(e,y),I=!0,N||(V=[x(l,"click",St(E)),x(e,"click",I3)],N=!0)},p(G,J){if(i=G,(!I||J[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!I||J[0]&5&&g!==(g=pl(i[53],i[2])))&&f(l,"aria-selected",g),J[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const ce=$g(i,H,Z);D[Z]?(D[Z].p(ce,J),R(D[Z],1)):(D[Z]=r_(ce),D[Z].c(),R(D[Z],1),D[Z].m(m,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!I||J[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||J[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||J[0]&5&&P!==(P=pl(i[53],i[2])))&&f(e,"isselected",P)},i(G){if(!I){for(let J=0;J<H.length;J+=1)R(D[J]);I=!0}},o(G){D=D.filter(Boolean);for(let J=0;J<D.length;J+=1)U(D[J]);I=!1},d(G){G&&T(e),ht(D,G),N=!1,Qe(V)}}}function m3(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=Ve(i[54]),G=[];for(let J=0;J<O.length;J+=1)G[J]=s_(xg(i,O,J));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),c=W(),h=k("div"),d=k("div"),g=k("div"),p=k("button"),b=k("i"),v=W(),C=k("div"),y=k("ul");for(let J=0;J<G.length;J+=1)G[J].c();N=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=pl(i[53],i[2])),f(t,"href",o=i[20](i[67])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(J,Z){L(J,e,Z),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<G.length;ce+=1)G[ce]&&G[ce].m(y,null);w(e,N),V||(E=[x(t,"click",St(H)),x(p,"click",St(D)),x(e,"click",P3)],V=!0)},p(J,Z){if(i=J,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Z[0]&5&&a!==(a=pl(i[53],i[2]))&&f(t,"aria-selected",a),Z[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Z[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Z[0]&1572933){O=Ve(i[54]);let ce;for(ce=0;ce<O.length;ce+=1){const Y=xg(i,O,ce);G[ce]?G[ce].p(Y,Z):(G[ce]=s_(Y),G[ce].c(),G[ce].m(y,null))}for(;ce<G.length;ce+=1)G[ce].d(1);G.length=O.length}Z[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),Z[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:Ue,o:Ue,d(J){J&&T(e),ht(G,J),V=!1,Qe(E)}}}function i_(i){let e,t,n=i[57].label&&l_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function l_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function r_(i){let e,t,n=!i[57].hideFromNav&&i_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=i_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function a_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[57])),f(t,"aria-selected",o=i[57]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",St(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&T(e),h=!1,d()}}}function s_(i){let e,t=!i[57].hideFromNav&&i[57].label&&a_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=a_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function o_(i){let e,t,n=i[57].label&&u_(Mo(i));return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=u_(Mo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function u_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ii({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=x(t,"click",St(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&T(e),Fe(o),m=!1,v()}}}function f_(i){let e,t,n=!i[57].hideFromNav&&o_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function c_(i){let e,t,n,l,r,a;const o=[_3,g3],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!k3(g[54])),t?1:-1)}function d(g,p){return p===1?h3(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=we()},m(g,p){~n&&c[n].m(g,p),L(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(be(),U(c[b],1,1,()=>{c[b]=null}),ve()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){g&&T(r),~n&&c[n].d(g)}}}function b3(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=Ve(i[54]),D=[];for(let G=0;G<H.length;G+=1)D[G]=h_(Qg(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("ul");for(let G=0;G<D.length;G+=1)D[G].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=pl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[53]+i[56]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(G,J){L(G,e,J),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(v,null);w(e,y),P=!0,I||(N=[x(n,"click",St(V)),x(d,"click",St(E))],I=!0)},p(G,J){if(i=G,(!P||J[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||J[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||J[0]&5&&c!==(c=pl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||J[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||J[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),J[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const ce=Qg(i,H,Z);D[Z]?(D[Z].p(ce,J),R(D[Z],1)):(D[Z]=h_(ce),D[Z].c(),R(D[Z],1),D[Z].m(v,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!P||J[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(G){if(!P){for(let J=0;J<H.length;J+=1)R(D[J]);P=!0}},o(G){D=D.filter(Boolean);for(let J=0;J<D.length;J+=1)U(D[J]);P=!1},d(G){G&&T(e),ht(D,G),I=!1,Qe(N)}}}function v3(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=g_(Zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=g_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n=i[57].label&&d_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=d_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function g_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function __(i){let e,t,n,l,r;const a=[v3,b3],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=we()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(l),o[t].d(h)}}}function w3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&t_(i);return{c(){r&&r.c(),e=we()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[x(Oo,"click",i[8]),x(Oo,"blur",i[8]),x(Oo,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=t_(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){a&&T(e),r&&r.d(a),n=!1,Qe(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function k3(i){return i.some(e=>!e.hideFromNav&&e.label)}function Cp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function S3(i){return!!Cp(i)}function C3(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function y3(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),C3(e)||e.classList.add("fd-popover__body--right")})}const P3=i=>i.stopPropagation(),I3=i=>i.stopPropagation(),N3=i=>i.stopPropagation();function T3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Pt("getTranslation");Si(i,C,Ie=>t(17,n=Ie));let y=Pt("store"),P,I,N,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Ie=>{Ie&&Object.getOwnPropertyNames(Ie).forEach(ut=>{ut==="pathData"?t(1,r=Ie.pathData):ut==="context"?context=Ie.context:ut==="children"?t(0,l=Ie.children):ut==="selectedNode"?t(11,b=Ie.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Ie.selectedNodeForTabNav)})}},O=$t();function G(Ie){return re.getNodeLabel(Ie)}const J=async()=>{const Ie=D.get(),ut=await zt.getTabNavData({...Ie},Ie);ut&&(D.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Z))},Z=()=>{if(ce(),N&&V&&E){E.classList.remove("is-active");const Ie=getComputedStyle(N),ut=N.offsetWidth-V.offsetWidth-parseFloat(Ie.paddingLeft)-parseFloat(Ie.paddingRight);let it=0,un=!1;[...N.children].forEach(Kt=>{const Hn=Kt.getAttribute("uid");if(!Hn)return;const jt=getComputedStyle(Kt),Jt=parseFloat(jt.marginLeft)+parseFloat(jt.marginRight);it+=Kt.offsetWidth+Jt,it>=ut?(Kt.classList.add("hide_element"),Kt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+Hn+'"]').classList.remove("hide_element"),un=!0):document.querySelector('li[uid="'+Hn+'"]').classList.add("hide_element")}),un?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{N!==void 0&&[...N.children].forEach(ut=>{ut.classList.remove("hide_element")})},Y=()=>{P=new ResizeObserver(Ie=>{for(const ut of Ie)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&y3()}),setTimeout(()=>{I&&P.observe(I)})},ee=()=>{P&&P.disconnect()};an(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Y(),vn.doOnStoreChange(y,()=>{J()},["navigation.viewgroupdata"])}),ta(()=>{ee(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Yn(()=>{(!m||m!=r)&&J(),(v===void 0||v!==p)&&(v=p,J())}),ea(()=>{ee(),P?setTimeout(()=>{I&&P.observe(I)}):Y()});function q(Ie){return me.getNodeHref(Ie,a)}function le(Ie){ne(),O("handleClick",{node:Ie})}function ue(Ie){let ut={};d[Ie]||(ut[Ie]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){ce(),Z()}function se(){t(4,g=!g)}function ae(Ie,ut){const it=Ie==="undefined",un=Ie.indexOf(c)===0;if(it||un||ke(ut))return!0}function ke(Ie){const ut=Ie.find(Kt=>ie.isObject(Kt.category));if(!ut)return;const it=ut.category.label||ut.category.id;return Ie.filter(Kt=>Kt.category===it&&Kt.hideFromNav===!0).length===1}const je=Ie=>le(Ie),ye=Ie=>le(Ie),Le=Ie=>ue(Ie),ze=Ie=>le(Ie),Xe=Ie=>ue(Ie),De=Ie=>le(Ie);function nt(Ie){Ye[Ie?"unshift":"push"](()=>{E=Ie,t(15,E)})}const rt=Ie=>le(Ie),gt=(Ie,ut)=>ue(Ie+ut),ge=(Ie,ut)=>ue(Ie+ut),Ze=Ie=>le(Ie);function Bt(Ie){Ye[Ie?"unshift":"push"](()=>{V=Ie,t(14,V)})}function En(Ie){Ye[Ie?"unshift":"push"](()=>{N=Ie,t(13,N)})}const on=Ie=>ue(Ie.name);function sn(Ie){Ye[Ie?"unshift":"push"](()=>{I=Ie,t(12,I)})}return i.$$set=Ie=>{"children"in Ie&&t(0,l=Ie.children),"pathData"in Ie&&t(1,r=Ie.pathData),"pathParams"in Ie&&t(23,a=Ie.pathParams),"hideNavComponent"in Ie&&t(22,o=Ie.hideNavComponent),"virtualGroupPrefix"in Ie&&t(5,c=Ie.virtualGroupPrefix),"selectedNodeForTabNav"in Ie&&t(2,h=Ie.selectedNodeForTabNav),"dropDownStates"in Ie&&t(3,d=Ie.dropDownStates),"isMoreBtnExpanded"in Ie&&t(4,g=Ie.isMoreBtnExpanded),"resizeTabNavToggle"in Ie&&t(24,p=Ie.resizeTabNavToggle)},[l,r,h,d,g,c,le,ue,ne,Pe,se,b,I,N,V,E,H,n,C,G,q,ae,o,a,p,je,ye,Le,ze,Xe,De,nt,rt,gt,ge,Ze,Bt,En,on,sn]}class yp extends Mt{constructor(e){super(),Ot(this,e,T3,w3,Dt,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-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 p_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function m_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function b_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&v_(i),o=i[0]&&i[3].length>=0&&C_(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),a&&a.c(),l=W(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=v_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=C_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function v_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(m_(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-fn8cef")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=m_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(i);function P(...I){return i[17](i[23],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(t,"click",P),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?A3:L3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function L3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function A3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&T(e)}}}function S_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function C_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=I_(p_(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-fn8cef")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=p_(l,t,a);n[a]?n[a].p(o,r):(n[a]=I_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function y_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&P_(i);function P(){return i[18](i[23])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(n,"click",St(P)),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=P_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function P_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?R3:E3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function E3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function R3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&T(e)}}}function I_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&y_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=y_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function D3(i){let e,t,n,l=i[2]&&b_(i);return{c(){l&&l.c(),e=we()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[x(window,"click",ds),x(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=b_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(r),t=!1,Qe(n)}}}function ds(){}function V3(i,e,t){let n;const l=$t();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Pt("store"),g=Pt("getTranslation");Si(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};an(()=>{vn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Yn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function I(O){return Et.getTranslation(O.label)}function N(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,G)=>{re.handleNavAnchorClickedWithoutMetaKey(G)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,ds,v,n,g,y,P,I,N,b,m,o,E,H,D]}class O3 extends Mt{constructor(e){super(),Ot(this,e,V3,D3,Dt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return ds}}function M3(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e),i[4](null)}}}function F3(i,e,t){const n=$t();let{pathData:l}=e,r,a={},o,c=Pt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};an(()=>{vn.doOnStoreChange(c,()=>{},["navigation"])}),Yn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=ot.getCurrentPath();for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(a[V])C.push(a[V]);else if(N.label||N.pathSegment||N.titleResolver)if(document.body.classList.add("lui-breadcrumb"),N.titleResolver)C.push({label:N.titleResolver.prerenderFallback&&N.titleResolver.fallbackTitle?Et.getTranslation(N.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:N,route:V,pending:!0});else{const E=await p(N);E&&C.push({label:E,node:N,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(N.titleResolver){const H=await zt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,N.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(N,D);C.push({label:O.label,node:N,route:V});continue}catch{}}const E=await p(N);E&&C.push({label:E,node:N,route:V})}P===ot.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return Et.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ot.getCurrentPath(),v),y=await zt.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Ye[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class Pp extends Mt{constructor(e){super(),Ot(this,e,F3,M3,Dt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";Bn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),qo="disabled"):i.data==="luigi.tpcEnabled"&&(qo="enabled")},!1);function U3(){return qo}const{Boolean:B3,window:N_}=wl;function T_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function L_(i){let e,t;return e=new b2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new fp({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function E_(i){let e,t,n=i[154].mfModal.displayed&&A_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=A_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function R_(i){let e,t;return e=new fp({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[H3]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Be(e.$$.fragment)},m(n,l){Me(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]&4096|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function H3(i){let e,t;return e=new vl({props:{area:"drawer",disable:i[12]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new k2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function V_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new U2({props:r}),Ye.push(()=>yt(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function W3(i){let e,t,n,l,r,a,o,c,h=!i[25]&&O_(i),d=!(i[20]||i[22])&&M_(i);n=new vl({props:{disable:i[12],$$slots:{default:[z3]},$$scope:{ctx:i}}});let g=i[10]&&U_(),p=!i[20]&&B_(i),b=i[15]&&!i[20]&&W_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Be(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=we()},m(m,v){h&&h.m(m,v),L(m,e,v),d&&d.m(m,v),L(m,t,v),Me(n,m,v),L(m,l,v),g&&g.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){m[25]?h&&(be(),U(h,1,1,()=>{h=null}),ve()):h?(h.p(m,v),v[0]&33554432&&R(h,1)):(h=O_(m),h.c(),R(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(be(),U(d,1,1,()=>{d=null}),ve()):d?(d.p(m,v),v[0]&5242880&&R(d,1)):(d=M_(m),d.c(),R(d,1),d.m(t.parentNode,t));const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),n.$set(C),m[10]?g||(g=U_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(be(),U(p,1,1,()=>{p=null}),ve()):p?(p.p(m,v),v[0]&1048576&&R(p,1)):(p=B_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=W_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(be(),U(b,1,1,()=>{b=null}),ve())},i(m){c||(R(h),R(d),R(n.$$.fragment,m),R(p),R(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(T(e),T(t),T(l),T(r),T(a),T(o)),h&&h.d(m),d&&d.d(m),Fe(n,m),g&&g.d(m),p&&p.d(m),b&&b.d(m)}}}function q3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new vl({props:{disable:i[12]}});let C=!i[25]&&q_(i),y=!(i[20]||i[22])&&z_(i),P=i[19]&&G_(i);b=new vl({props:{disable:i[12],$$slots:{default:[G3]},$$scope:{ctx:i}}});let I=i[10]&&J_();return{c(){Be(e.$$.fragment),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),C&&C.c(),o=W(),c=k("div"),y&&y.c(),h=W(),d=k("div"),P&&P.c(),g=W(),p=k("div"),Be(b.$$.fragment),m=W(),I&&I.c(),f(a,"class","fd-tool-layout__header-container"),f(r,"class","fd-tool-layout__container"),f(p,"class","lui-box svelte-qmtge1"),f(d,"class","fd-tool-layout__content-container svelte-qmtge1"),f(c,"class","fd-tool-layout__container lui-main-content"),f(l,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),f(n,"class","lui-core-layout svelte-qmtge1")},m(N,V){Me(e,N,V),L(N,t,V),L(N,n,V),w(n,l),w(l,r),w(r,a),C&&C.m(a,null),w(l,o),w(l,c),y&&y.m(c,null),w(c,h),w(c,d),P&&P.m(d,null),w(d,g),w(d,p),Me(b,p,null),w(p,m),I&&I.m(p,null),v=!0},p(N,V){const E={};V[0]&4096&&(E.disable=N[12]),e.$set(E),N[25]?C&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(N,V),V[0]&33554432&&R(C,1)):(C=q_(N),C.c(),R(C,1),C.m(a,null)),N[20]||N[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(N,V),V[0]&5242880&&R(y,1)):(y=z_(N),y.c(),R(y,1),y.m(c,h)),N[19]?P?(P.p(N,V),V[0]&524288&&R(P,1)):(P=G_(N),P.c(),R(P,1),P.m(d,g)):P&&(be(),U(P,1,1,()=>{P=null}),ve());const H={};V[0]&4096&&(H.disable=N[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:N}),b.$set(H),N[10]?I||(I=J_(),I.c(),I.m(p,null)):I&&(I.d(1),I=null)},i(N){v||(R(e.$$.fragment,N),R(C),R(y),R(P),R(b.$$.fragment,N),v=!0)},o(N){U(e.$$.fragment,N),U(C),U(y),U(P),U(b.$$.fragment,N),v=!1},d(N){N&&(T(t),T(n)),Fe(e,N),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),I&&I.d()}}}function O_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new Sp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function M_(i){let e,t;return e=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function F_(i){let e,t;return e=new dp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function z3(i){let e,t,n,l,r,a,o,c,h;t=new vl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&F_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),d&&d.c(),a=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Xt(e,"lui-split-view",i[11].displayed),Xt(e,"lui-collapsed",i[11].collapsed)},m(g,p){L(g,e,p),Me(t,e,null),w(e,n),w(e,l),L(g,r,p),d&&d.m(g,p),L(g,a,p),o=!0,c||(h=Z_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&Xt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Xt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=F_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(be(),U(d,1,1,()=>{d=null}),ve())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(T(e),T(r),T(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function U_(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function B_(i){let e,t,n,l;e=new O3({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&H_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=we()},m(a,o){Me(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=H_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(T(t),T(n)),Fe(e,a),r&&r.d(a)}}}function H_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function W_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function q_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new Sp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function z_(i){let e,t,n,l;return n=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=k("div"),t=k("div"),Be(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){L(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function G_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function K_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function j_(i){let e,t;return e=new dp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function G3(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&K_(i),p=i[11].displayed&&j_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Xt(e,"lui-split-view",i[11].displayed),Xt(e,"lui-collapsed",i[11].collapsed)},m(b,m){L(b,e,m),Me(t,e,null),w(e,n),w(e,l),L(b,r,m),g&&g.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,h||(d=Z_(i[46].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&Xt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Xt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=K_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(be(),U(g,1,1,()=>{g=null}),ve()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=j_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(be(),U(p,1,1,()=>{p=null}),ve())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&(T(e),T(r),T(a),T(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function J_(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function K3(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&L_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=E_(T_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&R_(i),y=i[27].displayed&&D_(i),P=i[17].displayed&&V_(i);const I=[q3,W3],N=[];function V(E,H){return E[30]?0:1}return o=V(i),c=N[o]=I[o](i),{c(){e=k("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-qmtge1"),Xt(e,"no-nav",i[20]),Xt(e,"no-side-nav",i[22]),Xt(e,"no-top-nav",i[25]),Xt(e,"no-animation",i[23]),Xt(e,"btp-layout",i[30])},m(E,H){L(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D]&&m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),N[o].m(e,null),h=!0,d||(g=[x(N_,"resize",i[36]),x(N_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=L_(E),p.c(),R(p,1),p.m(e,t)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),H[0]&268439552|H[1]&1792){b=Ve(E[28]);let D;for(D=0;D<b.length;D+=1){const O=T_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=E_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(be(),D=b.length;D<m.length;D+=1)v(D);ve()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=R_(E),C.c(),R(C,1),C.m(e,l)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=D_(E),y.c(),R(y,1),y.m(e,r)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=V_(E),P.c(),R(P,1),P.m(e,a)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&Xt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&Xt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&Xt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&Xt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(B3);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&T(e),p&&p.d(),ht(m,E),C&&C.d(),y&&y.d(),P&&P.d(),N[o].d(),d=!1,Qe(g)}}}function j3(i,e,t){const n=$t();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,J,Z,ce,Y=!0,ee=!1,q,le,ue,ne=[],Pe={isDirty:!1,persistUrl:null},se,ae,ke=!1,je,ye,Le={},ze,Xe,De,nt=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:rt}=e,{inputElem:gt}=e,{customSearchItemRendererSlot:ge}=e,{displaySearchResult:Ze}=e,{searchResult:Bt}=e,{storedUserSettings:En}=e;const on=async B=>{const fe=B.iframe.luigi,Re=fe.currentNode&&fe.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ne=Re&&typeof Ge=="object"&&Ge!==null,de=Ee.applyCoreStateData({isNavigateBack:ee,viewStackSize:ne.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ne?Ge[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{de[He]=B[He]||!1}),de},sn=async(B,fe={})=>{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||N,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await on(B)),authData:_l.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Ie=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(fe)},ut=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Re=wn(B.params),Ge=ot.getNodePath(D,H);ne.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ie.replaceVars(Ge,fe.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:N}),fe.iframe.pv="pv"}},it=(B,fe,Re,Ge)=>{let Ne=wn(B.params,Re,Ge);const{preventHistoryEntry:de,preserveQueryParams:He,preventContextUpdate:It}=B.params,Yt={keepBrowserHistory:!de,navSync:Y,preventContextUpdate:It};return Ne=ie.addLeadingSlash(Ne),Ne=He?me.composeSearchParamsToRoute(Ne):Ne,ut(B,fe),ot.navigateTo(Ne,Yt)},un=B=>B.split("?")[0],Kt=(B,fe)=>{if(B.length===0)return!1;const Re=fe.startsWith("/")?fe:`/${fe}`,Ge=[...B].pop();return[un(Ge.path),un(Ge.nextPath)].includes(un(Re))},Hn=B=>{Pe&&Pe.dirtySet&&Pe.dirtySet.clear()},jt=B=>new Promise((fe,Re)=>{Di(B)?Kl().then(()=>{Hn(),fe()},()=>{Re()}):fe()}),Jt=()=>({get:()=>({unsavedChanges:Pe,hideNav:ri,viewUrl:O,nodeParams:V,viewGroup:G,urlParamsRaw:H,currentNode:D,navigationPath:le,context:N,pathParams:E,hideGlobalSearch:Ei,hideSideNav:gi,isolateView:J,pageErrorHandler:Z,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ae,isNavigateBack:ee,goBackContext:q,isNavigationSyncEnabled:Y}),set:B=>{B&&(t(23,Ri=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(20,ri=B.hideNav):fe==="viewUrl"?O=B.viewUrl:fe==="nodeParams"?V=B.nodeParams:fe==="viewGroup"?G=B.viewGroup:fe==="urlParamsRaw"?H=B.urlParamsRaw:fe==="currentNode"?D=B.currentNode:fe==="navigationPath"?t(14,le=B.navigationPath):fe==="context"?N=B.context:fe==="pathParams"?t(13,E=B.pathParams):fe==="hideGlobalSearch"?t(21,Ei=B.hideGlobalSearch):fe==="hideSideNav"?(gi!=B.hideSideNav&&(t(23,Ri=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,gi=B.hideSideNav)):fe==="isolateView"?J=B.isolateView:fe==="pageErrorHandler"?Z=B.pageErrorHandler:fe==="previousNodeValues"?ce=B.previousNodeValues:fe==="mfSplitView"?t(11,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?C=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):fe==="tabNav"?t(15,ae=B.tabNav):fe==="isNavigateBack"?ee=B.isNavigateBack:fe==="goBackContext"?q=B.goBackContext:fe==="isNavigationSyncEnabled"&&(Y=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Di,getUnsavedChangesModalPromise:jt,showUnsavedChangesModal:Kl,showAlert:vt,prepareInternalData:on,dispatch:n}),li=(B,fe)=>{vn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Jn.deleteCache();const Ge=ot.getCurrentPath();ot.handleRouteChange(Ge,Jt(),B,fe)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ne,preventContextUpdate:de}=Ge||{};Kt(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let It=wt.length;It--;)_n(It);na.removeBackdrop(),hi(),ot.handleRouteChange(Re,Jt(),B,fe,Ne,de)})},xt=(B,fe)=>ie.replaceVars(ot.getNodePath(B),fe,":",!1),wn=(B,fe,Re)=>{const Ge=fe||D,Ne=Re||E;let de=le;if(fe){let It=fe.parent;for(de=[fe];It;)de.push(It),It=It.parent;de=[...de].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const It=[...de].reverse().find(Yt=>Yt.virtualTree);if(!It){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ot.concatenatePath(xt(It,Ne),B.link)}else if(B.fromParent)He=ot.concatenatePath(xt(Ge.parent,Ne),B.link);else if(B.fromClosestContext){const It=[...de].reverse().find(Yt=>Yt.navigationContext&&Yt.navigationContext.length>0);He=ot.concatenatePath(xt(It,Ne),B.link)}else if(B.fromContext){const It=B.fromContext,Yt=[...de].reverse().find(Ar=>It===Ar.navigationContext);He=ot.concatenatePath(xt(Yt,Ne),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ot.concatenatePath(xt(Ge,Ne),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((It,Yt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+It[0])+"="+encodeURIComponent(It[1])+(Yt<Object.keys(B.nodeParams).length-1?"&":"")})),He},Ci=B=>{const fe=B.detail.node;jt().then(()=>{if(K(),fe.openNodeInModal){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);xi(Re,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Pr(Re,fe.drawer)}else Jt().set({isNavigationSyncEnabled:!0}),ot.handleRouteClick(fe,Jt())},()=>{})},di=()=>{t(16,ke=!ke)};Yr("handleNavigation",it);const kn=B=>B?!0:(console.warn("No search provider defined."),!1),yi=()=>{kn(ye)&&t(0,rt=!1)},Pi=()=>{kn(ye)&&gt&&(t(0,rt=!0),gt.focus())},Ii=()=>{kn(ye)&&gt&&(t(1,gt.value="",gt),Li())},Ni=()=>{t(0,rt=!rt),Bk.clearSearchField()},Ti=()=>{if(kn(ye)&&gt)return gt.value},Sl=B=>{kn(ye)&&gt&&(t(1,gt.value=B,gt),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{kn(ye)&&gt&&t(1,gt.placeholder=B,gt)},yl=B=>{if(kn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let fe={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,ge,fe)}else t(3,Ze=!0),t(4,Bt=B);else console.warn("Search result array is empty.")},Li=()=>{if(kn(ye)&&(t(3,Ze=!1),t(4,Bt=[]),ge))for(;ge.lastElementChild;)ge.removeChild(ge.lastElementChild)},Ji=B=>{let fe=B.detail.node,Re={params:{link:fe.link,nodeParams:fe.params}};it(Re)},Yi=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=_t.getDefaultData().mfSplitView),_t.open(Jt(),B,fe)},hi=()=>{_t.close(Jt())},Pl=()=>{_t.collapse(Jt()),t(11,o.collapsed=!0,o)},Il=()=>{_t.expand(Jt()),t(11,o.collapsed=!1,o)},Qi=()=>o.displayed?o.collapsed:!1,Nl=()=>o.displayed?!o.collapsed:!1,Tl=()=>o.displayed,Ll=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ai=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},Al=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ri,Ei,gi,Ri,_i,Zi,Xi;const K=()=>{document.body.classList.remove("lui-leftNavToggle")},Se=()=>{el();const B=window.innerWidth>=hn.desktopMinWidth&&_i<hn.desktopMinWidth,fe=window.innerWidth<hn.desktopMinWidth&&_i>=hn.desktopMinWidth;(B||fe)&&K(),_i=window.innerWidth};let Je=[];const lt=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===fe)[0]},vt=(B,fe=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ne=Re(B,fe);if(Ne!==!1)return Ne}const Ge=Je;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&lt(Ge,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(()=>{lt(Je,B.id)&&pt(B.id)},B.closeAfter),new Promise((Ne,de)=>{t(26,Je=[...Ge||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ne}}])}))},pt=(B,fe)=>{const Re=lt(Je,B);if(!Re){console.error("An unexisting alert has been dismissed.",Je,B);return}if(t(26,Je=Je.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ue),Ne={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Ee.sendMessageToIframe(Ge,Ne)}else Re.promise&&Re.promise.resolve(fe||B)},Ht=B=>{pt(B.detail.id,B.detail.dismissKey)};let Gt;const Rn=()=>{t(27,Gt={displayed:!1,content:{},openFromClient:!1,promise:null})};Rn();const Wn=(B,fe=!1,Re)=>new Promise((Ge,Ne)=>{t(27,Gt={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ge,reject:Ne},targetIframe:Re})}),El=B=>{const{promise:fe,openFromClient:Re,targetIframe:Ge}=Gt;if(Rn(),B?fe.resolve():fe.reject(),Re&&Ge){const Ne={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ne)}},Di=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Kl=()=>Wn({header:Et.getTranslation("luigi.unsavedChangesAlert.header"),body:Et.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",jt);let wt=[];const $i=(B,fe)=>{var Ge;if(typeof B>"u"){t(28,wt=[]);return}let Re;if(t(28,wt=wt.filter((Ne,de)=>(B===de&&(Re=Ne),B!==de))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ne={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ne)}};$i();const xi=async(B,fe,Re)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:fe,openerIframe:Re}};t(28,wt=[...wt,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.appendModalDataToUrl(B,fe)},Q=(B,fe)=>{t(28,wt[fe].modalIframe=B.detail.modalIframe,wt),t(28,wt[fe].modalIframeData=B.detail.modalIframeData,wt)},Wt=(B,fe)=>{t(28,wt[fe].modalWC=B.detail.modalWC,wt),t(28,wt[fe].modalWCData=B.detail.modalWCData,wt)},_n=(B,fe,Re)=>{const Ge=(He,It)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.removeModalDataFromUrl(It),$i(He,Re)},Ne=wt[B],de=ie.getRemotePromise(Ne.mfModal.settings.onClosePromiseId);Ne&&Ne.modalIframe?jt(Ne.modalIframe.contentWindow).then(()=>{Ge(B,fe),de&&de.doResolve(Re)},()=>{}):Ne&&Ne.modalWC&&(Ge(B,fe),de&&de.doResolve(Re))};Yr("openViewInModal",xi);let qt={};const jl=()=>{t(29,qt.displayed=!1,qt),t(29,qt.nodepath=void 0,qt),t(29,qt.settings={},qt),t(12,g=!1)};jl();const Pr=async(B,fe)=>{await re.shouldPreventNavigationForPath(B)||(t(29,qt.displayed=!0,qt),t(29,qt.nodepath=B,qt),t(29,qt.settings=fe,qt),qt.settings&&qt.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=hn.desktopMinWidth&&qt.displayed&&qt.settings&&!qt.settings.overlap,el=(B=!1)=>{if(!ia())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(fe);Re.forEach(Ne=>{Ir(Ne,Ge)})}},Ir=(B,fe)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${fe})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,el()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,el()},Jl=B=>{d=B.detail.activeDrawer},Yl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?jt(p.contentWindow).then(()=>{jl()},()=>{}):m&&jt().then(()=>{jl()},()=>{}),el(!0)}catch(fe){console.log(fe)}},bs=()=>{const B=pr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Le.userSettingGroups=[...B],Le),t(17,Le.displayed=!0,Le)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ra=()=>{t(17,Le.displayed=!1,Le)},aa=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let fe=le;if(D){let Ne=D.parent;for(fe=[D];Ne;)fe.push(Ne),Ne=Ne.parent;fe=[...fe].reverse()}let Re=B.link,Ge=xt(D,E);if(B.fromVirtualTreeRoot){const Ne=[...fe].reverse().find(He=>He.virtualTree);if(!Ne){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=xt(Ne,E);Re=Ge.split(de).join("")}else if(B.fromParent){const Ne=xt(D.parent,E);Re=Ge.split(Ne).join("")}else if(B.fromClosestContext){const Ne=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),de=xt(Ne,E);Re=Ge.split(de).join("")}else if(B.fromContext){const Ne=B.fromContext,de=[...fe].reverse().find(It=>Ne===It.navigationContext),He=xt(de,E);Re=Ge.split(He).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const fe=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ne={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:Re};Et.addCurrentLocaleChangeListener(de=>{const He={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(He)}),Bn.addEventListener("popstate",async de=>{const He=Je;if(!He||!(He.length>0))return;const It=He.map(Yt=>{if(Yt&&!Yt.openFromClient&&typeof Yt.settings.ttl=="number"){if(Yt.settings.ttl===0)return null;Yt.settings.ttl--}return Yt}).filter(Yt=>Yt);t(26,Je=It)}),Bn.addEventListener("message",async de=>{const He=Ee.getValidMessageSource(de),It=wt[wt.length-1],Yt=It&&It.modalIframe,Ar=It&&It.modalIframeData,nl={modalIframe:Yt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(de,nl),Vi=Er&&Er.length>0,Rr=te.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Vi&&He.contentWindow!==window&&!ie.isElementVisible(He)&&Rr.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const We=te.getConfigValue("communication.customMessagesListeners")||{},Lt=ss.convertCustomMessageInternalToUser(de.data),Nt=We[Lt.id],fn="luigi.updateUserSettings";if(Le&&Lt.id===fn){Nt&&console.warn(`The key "${fn}" is not allowed to use for custom messages.`);return}if(typeof Nt=="function"){const Pn=ji.getMicrofrontends().find(en=>Ee.isMessageSource(de,en.container));Nt(Lt,Pn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Lt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ne.navigateOk=!0,gr.preload()),de.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=de.data.clientVersion,He.luigi.initOk=!1,Vi)Er.forEach(async We=>{let Lt=nl[We.dataKey].context;const Nt={...Ne,iframe:nl[We.iframeKey],context:Lt,pathParams:nl[We.dataKey].pathParams,nodeParams:nl[We.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(nl[We.iframeKey].luigi.currentNode),modal:We.iframeKey.startsWith("modal"),drawer:We.iframeKey.startsWith("drawer"),splitView:We.iframeKey.startsWith("splitView")};await sn(Nt,{})});else if(Ne.iframe&&Ee.isMessageSource(de,Ne.iframe))await sn(Ne,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await sn({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(de.source);if(We){let Lt=We.getAttribute("userSettingsGroup"),Nt={context:{userSettingsData:En[Lt]},iframe:We};await sn(Nt)}}gr.viewGroupLoaded(He)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){ee=!1;const We=window.location.href,Lt=Vi?He.luigi.currentNode:void 0,Nt=Vi?He.luigi.pathParams:void 0,fn=de.data.params,{intent:Pn,newTab:en,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=fn;let $l=en||il||Xl||Rl;const ga=()=>{const Qn=ie.getRemotePromise(de.data.remotePromiseId);Qn&&Qn.doResolve()},pn=()=>{const Qn=ie.getRemotePromise(de.data.remotePromiseId);Qn&&Qn.doReject()},Dl=Qn=>{!Qn||We!==window.location.href?ga():pn()};de.source!==window&&!Pn&&fn.link&&(fn.link=fn.link.split("?")[0]);let Ft=wn(de.data.params,Lt,Nt);if($l=$l||Pn&&Ft.external,!$l)jt().then(()=>{Y=!de.data.params.withoutSync,it(de.data,Ne,Lt,Nt).then(()=>{Dl(!0)}).catch(()=>{pn()}),wt.forEach((Qn,_a)=>{_n(_a)}),hi(),Yl(),Y=!0}).catch(()=>{pn()});else{if(Pn&&Ft.external){ot.navigateToExternalLink({url:Ft.url,sameWindow:!Ft.openInNewTab});return}if(Ft=ie.addLeadingSlash(Ft),en){await aa(Ft),Dl();return}const Qn=await Zl(Ft);if(Ft=await me.handlePageNotFoundAndRetrieveRedirectPath(Jt(),Ft,Qn),!Ft){pn();return}ue=B,il!==void 0?(!il.keepPrevious&&$i(),await xi(Ft,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Yi(Ft,Xl),Dl()):Rl!==void 0&&(jl(),Rl.isDrawer=!0,await Pr(Ft,Rl),Dl())}}if(de.data.msg==="luigi.navigation.back"){const We=wt[wt.length-1],Lt=wt.length>1&&wt[wt.length-2],Nt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,We&&We.modalIframe)){_n(wt.length-1,!0,Nt);let fn=Ne;if(Lt&&Lt.modalIframeData&&Lt.modalIframe){const Pn=Lt,en=Pn.modalIframeData;fn={pathParams:en.pathParams,context:en.context,iframe:Pn.modalIframe}}fn.iframe&&await sn(fn,{goBackContext:Nt})}else Ee.isMessageSource(de,C)?(hi(),Ne.iframe&&await sn(Ne,{goBackContext:Nt})):Ee.isMessageSource(de,p)?(d&&(d=!d),Yl(),Ne.iframe&&await sn(Ne,{goBackContext:Nt})):ne&&ne.length>0?jt().then(()=>{fi.setActiveIframeToPrevious(B);const fn=ne.pop();Ne.iframe=fi.getActiveIframe(B),ee=!0,ne=ne,q=Nt,it({params:{link:fn.path}},Ne)},()=>{}):(Nt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const We=de.data.data,Nt={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,Nt)}if(de.data.msg==="luigi.auth.tokenIssued"&&Ie(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Vi){const We=ie.addLeadingSlash(wn(de.data.params,He.luigi.currentNode,He.luigi.pathParams));ot.updateModalDataInUrl(We,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const We=He.luigi.currentNode,Lt=He.luigi.pathParams,Nt=de.data.data,fn=wn(Nt,We,Lt),Pn=fn?await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),fn):!1,en={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Nt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,en)}if(de.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const We=new Set;We.add(de.source),Pe={dirtySet:We}}Pe.persistUrl=window.location.href,de.data.dirty?Pe.dirtySet.add(de.source):Pe.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const We=de.data.data.settings;ue=B,Rn(),Wn(We,!0,He).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:We}=de.data.data;if(!We.text&&!ie.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ue=B,vt(We,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:We}=de.data.data;We&&Et.setCurrentLocale(We)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(je&&!je.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&Nr(),de.data.msg==="storage"&&d2.process(He.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let We=He.luigi.currentNode;We&&We.runTimeErrorHandler&&ie.isFunction(We.runTimeErrorHandler.errorFn)?We.runTimeErrorHandler.errorFn(de.data.errorObj,We):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(de.data.errorObj,We)}if(de.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:We,keepBrowserHistory:Lt}=de.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Lt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Vi)return;const{data:We,keepBrowserHistory:Lt}=de.data;gl.addNodeParams(We,Lt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:We}=de.data;gl.setAnchor(We)}if(de.data.msg==="luigi.setVGData"){const We=de.data,Lt=re.findViewGroup(He.luigi.currentNode);if(Lt){const Nt=re.getViewGroupSettings(Lt);Nt._liveCustomData=We.data,te.configChanged("navigation.viewgroupdata")}}}),li(B,Ne)}Yr("store",l),Yr("getTranslation",r);const Nr=B=>{je&&je.thirdPartyCookieErrorHandling&&ie.isFunction(je.thirdPartyCookieErrorHandling)&&je.thirdPartyCookieErrorHandling()};function Tr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(De),t(10,a=!1)},250)):clearTimeout(De)}const Zl=async B=>{const fe={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=wn(fe),Ge=Re?await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},tl=()=>wt.length>0||ne.length!==0;an(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),_i=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,fe]=re.getBurgerTooltipConfig();B&&fe&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,fe]=re.getBurgerTooltipConfig();if(B&&fe){const Re=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,ze=Re?B:fe)}}document.body.classList.add("lui-semiCollapsible")}je=te.getConfigValue("settings.thirdPartyCookieCheck"),je&&je.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=je.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{U3()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Yn(()=>{t(19,Xe=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,Zi=te.getConfigValue("tag")),t(25,Xi=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&wt&&wt.length>0&&_n(wt.length-1)},oa=B=>_n(B,!0),ws=(B,fe)=>Q(fe,B),ua=(B,fe)=>Wt(fe,B),fa=()=>El(!0),ca=()=>El(!1);function da(B){En=B,t(5,En)}function ks(B){rt=B,t(0,rt)}function Ss(B){Ze=B,t(3,Ze)}function Cs(B){Bt=B,t(4,Bt)}function ha(B){gt=B,t(1,gt)}function ys(B){ge=B,t(2,ge)}function Ps(B){rt=B,t(0,rt)}function Is(B){Ze=B,t(3,Ze)}function Ns(B){Bt=B,t(4,Bt)}function Lr(B){gt=B,t(1,gt)}function Ts(B){ge=B,t(2,ge)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,rt=B.isSearchFieldVisible),"inputElem"in B&&t(1,gt=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,ge=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"searchResult"in B&&t(4,Bt=B.searchResult),"storedUserSettings"in B&&t(5,En=B.storedUserSettings)},[rt,gt,ge,Ze,Bt,En,Ni,Li,Ji,ra,a,o,g,E,le,ae,ke,Le,ze,Xe,ri,Ei,gi,Ri,Zi,Xi,Je,Gt,wt,qt,nt,Ci,di,Ll,Ai,Al,Se,Ht,El,Q,Wt,_n,ms,la,Jl,Yl,vs,sa,l,r,yi,Pi,Ii,Ti,Sl,Cl,yl,Yi,hi,Pl,Il,Qi,Nl,Tl,vt,Wn,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class J3 extends Mt{constructor(e){super(),Ot(this,e,j3,K3,Dt,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const Y3=()=>{const{subscribe:i,update:e,reset:t}=vr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Ip=Y3(),Q3=Rk((i,e,t)=>Et.getTranslation(i,e,t));Luigi._store=Ip;const Z3=()=>new Promise(i=>{Et._init(),gn.init().then(()=>{setTimeout(()=>{let e;ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new J3({target:ji.getLuigiContainer(),props:{store:Ip,getTranslation:Q3}}),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(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(Z3);
52
+ }`;var ct=zf(function(){return Tt(F,Ke+"return "+Ce).apply(t,z)});if(ct.source=Ce,Co(ct))throw ct;return ct}function uw(s){return At(s).toLowerCase()}function fw(s){return At(s).toUpperCase()}function cw(s,u,_){if(s=At(s),s&&(_||u===t))return Xo(s);if(!s||!(u=zn(u)))return s;var S=ai(s),A=ai(u),F=$o(S,A),z=xo(S,A)+1;return cl(S,F,z).join("")}function dw(s,u,_){if(s=At(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=zn(u)))return s;var S=ai(s),A=xo(S,ai(u))+1;return cl(S,0,A).join("")}function hw(s,u,_){if(s=At(s),s&&(_||u===t))return s.replace(ri,"");if(!s||!(u=zn(u)))return s;var S=ai(s),A=$o(S,ai(u));return cl(S,A).join("")}function gw(s,u){var _=G,S=J;if(Zt(u)){var A="separator"in u?u.separator:A;_="length"in u?ft(u.length):_,S="omission"in u?zn(u.omission):S}s=At(s);var F=s.length;if(er(s)){var z=ai(s);F=z.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var $=z?cl(z,0,j).join(""):s.slice(0,j);if(A===t)return $+S;if(z&&(j+=$.length-j),yo(A)){if(s.slice(j).search(A)){var _e,pe=$;for(A.global||(A=Bs(A.source,At(Je.exec(A))+"g")),A.lastIndex=0;_e=A.exec(pe);)var Ce=_e.index;$=$.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(zn(A),j)!=j){var Oe=$.lastIndexOf(A);Oe>-1&&($=$.slice(0,Oe))}return $+S}function _w(s){return s=At(s),s&&Yi.test(s)?s.replace(Li,Gp):s}var pw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=At(s),u=_?t:u,u===t?Bp(s)?Jp(s):Ap(s):s.match(u)||[]}var zf=dt(function(s,u){try{return pn(s,t,u)}catch(_){return Co(_)?_:new at(_)}}),mw=Bi(function(s,u){return Ft(u,function(_){_=bi(_),Fi(s,_,ko(s[_],s))}),s});function bw(s){var u=s==null?0:s.length,_=$e();return s=u?Qt(s,function(S){if(typeof S[1]!="function")throw new Zn(a);return[_(S[0]),S[1]]}):[],dt(function(S){for(var A=-1;++A<u;){var F=s[A];if(pn(F[0],this,S))return pn(F[1],this,S)}})}function vw(s){return Gm($n(s,g))}function To(s){return function(){return s}}function ww(s,u){return s==null||s!==s?u:s}var kw=Ku(),Sw=Ku(!0);function Mn(s){return s}function Lo(s){return ku(typeof s=="function"?s:$n(s,g))}function Cw(s){return Cu($n(s,g))}function yw(s,u){return yu(s,$n(u,g))}var Pw=dt(function(s,u){return function(_){return Wr(_,s,u)}}),Iw=dt(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=mn(u),A=Oa(u,S);_==null&&!(Zt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,mn(u)));var F=!(Zt(_)&&"chain"in _)||!!_.chain,z=Wi(s);return Ft(A,function(j){var $=u[j];s[j]=$,z&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=Dn(this.__actions__);return Ce.push({func:$,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return $.apply(s,rl([this.value()],arguments))})}),s}function Nw(){return We._===this&&(We._=xp),this}function Eo(){}function Tw(s){return s=ft(s),dt(function(u){return Pu(u,s)})}var Lw=so(Qt),Aw=so(_a),Ew=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):s1(s)}function Rw(s){return function(u){return s==null?t:Ul(s,u)}}var Dw=Ju(),Vw=Ju(!0);function Ro(){return[]}function Do(){return!1}function Ow(){return{}}function Mw(){return""}function Fw(){return!0}function Uw(s,u){if(s=ft(s),s<1||s>ue)return[];var _=se,S=Sn(s,se);u=$e(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Bw(s){return st(s)?Qt(s,bi):Gn(s)?[s]:Dn(ff(At(s)))}function Hw(s){var u=++Xp;return At(s)+u}var Ww=Wa(function(s,u){return s+u},0),qw=oo("ceil"),zw=Wa(function(s,u){return s/u},1),Gw=oo("floor");function Kw(s){return s&&s.length?Va(s,Mn,Js):t}function jw(s,u){return s&&s.length?Va(s,$e(u,2),Js):t}function Jw(s){return Qo(s,Mn)}function Yw(s,u){return Qo(s,$e(u,2))}function Qw(s){return s&&s.length?Va(s,Mn,Xs):t}function Zw(s,u){return s&&s.length?Va(s,$e(u,2),Xs):t}var Xw=Wa(function(s,u){return s*u},1),$w=oo("round"),xw=Wa(function(s,u){return s-u},0);function ek(s){return s&&s.length?Os(s,Mn):0}function tk(s,u){return s&&s.length?Os(s,$e(u,2)):0}return M.after=Cv,M.ary=kf,M.assign=f0,M.assignIn=Of,M.assignInWith=es,M.assignWith=c0,M.at=d0,M.before=Sf,M.bind=ko,M.bindAll=mw,M.bindKey=Cf,M.castArray=Ov,M.chain=bf,M.chunk=G1,M.compact=K1,M.concat=j1,M.cond=bw,M.conforms=vw,M.constant=To,M.countBy=ev,M.create=h0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=g0,M.defaultsDeep=_0,M.defer=yv,M.delay=Pv,M.difference=J1,M.differenceBy=Y1,M.differenceWith=Q1,M.drop=Z1,M.dropRight=X1,M.dropRightWhile=$1,M.dropWhile=x1,M.fill=eb,M.filter=nv,M.flatMap=rv,M.flatMapDeep=av,M.flatMapDepth=sv,M.flatten=gf,M.flattenDeep=tb,M.flattenDepth=nb,M.flip=Iv,M.flow=kw,M.flowRight=Sw,M.fromPairs=ib,M.functions=S0,M.functionsIn=C0,M.groupBy=ov,M.initial=rb,M.intersection=ab,M.intersectionBy=sb,M.intersectionWith=ob,M.invert=P0,M.invertBy=I0,M.invokeMap=fv,M.iteratee=Lo,M.keyBy=cv,M.keys=mn,M.keysIn=On,M.map=Ya,M.mapKeys=T0,M.mapValues=L0,M.matches=Cw,M.matchesProperty=yw,M.memoize=Za,M.merge=A0,M.mergeWith=Mf,M.method=Pw,M.methodOf=Iw,M.mixin=Ao,M.negate=Xa,M.nthArg=Tw,M.omit=E0,M.omitBy=R0,M.once=Nv,M.orderBy=dv,M.over=Lw,M.overArgs=Tv,M.overEvery=Aw,M.overSome=Ew,M.partial=So,M.partialRight=Nf,M.partition=hv,M.pick=D0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Rw,M.pull=db,M.pullAll=pf,M.pullAllBy=hb,M.pullAllWith=gb,M.pullAt=_b,M.range=Dw,M.rangeRight=Vw,M.rearg=Lv,M.reject=pv,M.remove=pb,M.rest=Av,M.reverse=vo,M.sampleSize=bv,M.set=O0,M.setWith=M0,M.shuffle=vv,M.slice=mb,M.sortBy=Sv,M.sortedUniq=yb,M.sortedUniqBy=Pb,M.split=rw,M.spread=Ev,M.tail=Ib,M.take=Nb,M.takeRight=Tb,M.takeRightWhile=Lb,M.takeWhile=Ab,M.tap=Kb,M.throttle=Rv,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Bw,M.toPlainObject=Vf,M.transform=F0,M.unary=Dv,M.union=Eb,M.unionBy=Rb,M.unionWith=Db,M.uniq=Vb,M.uniqBy=Ob,M.uniqWith=Mb,M.unset=U0,M.unzip=wo,M.unzipWith=mf,M.update=B0,M.updateWith=H0,M.values=cr,M.valuesIn=W0,M.without=Fb,M.words=qf,M.wrap=Vv,M.xor=Ub,M.xorBy=Bb,M.xorWith=Hb,M.zip=Wb,M.zipObject=qb,M.zipObjectDeep=zb,M.zipWith=Gb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Ww,M.attempt=zf,M.camelCase=K0,M.capitalize=Hf,M.ceil=qw,M.clamp=q0,M.clone=Mv,M.cloneDeep=Uv,M.cloneDeepWith=Bv,M.cloneWith=Fv,M.conformsTo=Hv,M.deburr=Wf,M.defaultTo=ww,M.divide=zw,M.endsWith=j0,M.eq=oi,M.escape=J0,M.escapeRegExp=Y0,M.every=tv,M.find=iv,M.findIndex=df,M.findKey=p0,M.findLast=lv,M.findLastIndex=hf,M.findLastKey=m0,M.floor=Gw,M.forEach=vf,M.forEachRight=wf,M.forIn=b0,M.forInRight=v0,M.forOwn=w0,M.forOwnRight=k0,M.get=Po,M.gt=Wv,M.gte=qv,M.has=y0,M.hasIn=Io,M.head=_f,M.identity=Mn,M.includes=uv,M.indexOf=lb,M.inRange=z0,M.invoke=N0,M.isArguments=Wl,M.isArray=st,M.isArrayBuffer=zv,M.isArrayLike=Vn,M.isArrayLikeObject=nn,M.isBoolean=Gv,M.isBuffer=dl,M.isDate=Kv,M.isElement=jv,M.isEmpty=Jv,M.isEqual=Yv,M.isEqualWith=Qv,M.isError=Co,M.isFinite=Zv,M.isFunction=Wi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Xv,M.isMatchWith=$v,M.isNaN=xv,M.isNative=e0,M.isNil=n0,M.isNull=t0,M.isNumber=Af,M.isObject=Zt,M.isObjectLike=tn,M.isPlainObject=Jr,M.isRegExp=yo,M.isSafeInteger=i0,M.isSet=Ef,M.isString=xa,M.isSymbol=Gn,M.isTypedArray=fr,M.isUndefined=l0,M.isWeakMap=r0,M.isWeakSet=a0,M.join=ub,M.kebabCase=Q0,M.last=ei,M.lastIndexOf=fb,M.lowerCase=Z0,M.lowerFirst=X0,M.lt=s0,M.lte=o0,M.max=Kw,M.maxBy=jw,M.mean=Jw,M.meanBy=Yw,M.min=Qw,M.minBy=Zw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Ow,M.stubString=Mw,M.stubTrue=Fw,M.multiply=Xw,M.nth=cb,M.noConflict=Nw,M.noop=Eo,M.now=Qa,M.pad=$0,M.padEnd=x0,M.padStart=ew,M.parseInt=tw,M.random=G0,M.reduce=gv,M.reduceRight=_v,M.repeat=nw,M.replace=iw,M.result=V0,M.round=$w,M.runInContext=X,M.sample=mv,M.size=wv,M.snakeCase=lw,M.some=kv,M.sortedIndex=bb,M.sortedIndexBy=vb,M.sortedIndexOf=wb,M.sortedLastIndex=kb,M.sortedLastIndexBy=Sb,M.sortedLastIndexOf=Cb,M.startCase=aw,M.startsWith=sw,M.subtract=xw,M.sum=ek,M.sumBy=tk,M.template=ow,M.times=Uw,M.toFinite=qi,M.toInteger=ft,M.toLength=Df,M.toLower=uw,M.toNumber=ti,M.toSafeInteger=u0,M.toString=At,M.toUpper=fw,M.trim=cw,M.trimEnd=dw,M.trimStart=hw,M.truncate=gw,M.unescape=_w,M.uniqueId=Hw,M.upperCase=pw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return pi(M,function(u,_){Rt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ft(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ft(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:dn(ft(_),0);var S=this.__filtered__&&!u?new bt(this):this.clone();return S.__filtered__?S.__takeCount__=Sn(_,S.__takeCount__):S.__views__.push({size:Sn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ft(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Y||_==q;bt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:$e(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Ft(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ft(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");bt.prototype[s]=function(){return this.__filtered__?new bt(this):this[_](1)}}),bt.prototype.compact=function(){return this.filter(Mn)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=dt(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Wr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa($e(s)))},bt.prototype.slice=function(s,u){s=ft(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ft(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},bt.prototype.toArray=function(){return this.take(se)},pi(bt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),A=M[S?"take"+(u=="last"?"Right":""):u],F=S||/^find/.test(u);A&&(M.prototype[u]=function(){var z=this.__wrapped__,j=S?[1]:arguments,$=z instanceof bt,_e=j[0],pe=$||st(z),Ce=function(mt){var kt=A.apply(M,rl([mt],j));return S&&Oe?kt[0]:kt};pe&&_&&typeof _e=="function"&&_e.length!=1&&($=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,xe=F&&!Oe,ct=$&&!Ke;if(!F&&pe){z=ct?z:new bt(this);var et=s.apply(z,j);return et.__actions__.push({func:Ja,args:[Ce],thisArg:t}),new Xn(et,Oe)}return xe&&ct?s.apply(this,j):(et=this.thru(Ce),xe?S?et.value()[0]:et.value():et)})}),Ft(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",S=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var A=arguments;if(S&&!this.__chain__){var F=this.value();return u.apply(st(F)?F:[],A)}return this[_](function(z){return u.apply(st(z)?z:[],A)})}}),pi(bt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Rt.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=_m,bt.prototype.reverse=pm,bt.prototype.value=mm,M.prototype.at=jb,M.prototype.chain=Jb,M.prototype.commit=Yb,M.prototype.next=Qb,M.prototype.plant=Xb,M.prototype.reverse=$b,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Zb),M},nr=Yp();Nt?((Nt.exports=nr)._=nr,Lt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Zk{getNodePath(e,t){return me.getNodePath(e,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=ie.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 zt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await zt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return te.getConfigValue("routing.useHashRouting")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.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 te.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),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(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!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 d=await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(h,d)=>await zt.getChildren(h,d));if(n.isExistingRoute){const h=ie.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?ie.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await zt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,N=P;for(;N;){if(N.tabNav===!0){I=!0;break}else if(N.tabNav===!1){I=!1;break}else if(ie.isObject(N.tabNav)){if(N.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}N=re.getParentNode(N,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let G=document.getElementsByClassName("iframeContainer")[0];if(G&&(I?G.classList.add("iframeContainerTabNav"):G.classList.contains("iframeContainerTabNav")&&G.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),G&&(G.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const ce=t.get(),Y=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Y),withoutSync:!0})}}const J=document.querySelector(".lui-tab-header");J&&J.dispatchEvent(new Event("lui_ctx_update")),zt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await zt.extractDataFromPath(e);sp.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Jn.deleteNodesRecursively(c);break}}else r=!1}}else Jn.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(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Ee.getIframeContainer(),a=fi.getActiveIframe(r);a&&a.vg&&fi.canCache(a.vg)?(fi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{fi.switchActiveIframe(Ee.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.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={...zk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.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:zl.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&zl.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&kr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),zl.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(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),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(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==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(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),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 ot=new Zk;class Xk{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=Ee.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?ie.getPathWithoutHash(t):"",l=await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){zl.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 a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,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(ie.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;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:ie.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,ie.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}),Ee.getIframeContainer().style.marginBottom="",_t.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`,Ee.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="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const _t=new Xk;class $k{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const xk=new $k;class e2{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=te.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 ci=new e2;class t2{constructor(){return this._userInfoStore=vr({}),this._loggedInStore=vr(!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=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=_l.parseUrlAuthErrors()||{};if(await _l.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ie.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(hl(this._userInfoStore))),ie.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&ci.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),ci.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ci.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=_l.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ci.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.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=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!ie.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const gn=new t2;class n2{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(ie.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const $r=new n2;class i2{getStoredAuthData(){return ci.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&e.accessTokenExpirationDate>Number(new Date)}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const _l=new i2;class l2{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/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(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}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((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const Sr=new l2;class r2{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)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.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 kk.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.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(ie.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){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ie.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(ie.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));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 Ee.specialIframeTypes.filter(n=>Ee.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:Ko.getActiveFeatureToggleList(),currentLocale:Et.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new r2;class a2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(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=kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),kr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(ji.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,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(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 a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!te.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=a=>{r(a||!0)},t=()=>{r(!1)}});let l=te._remotePromises;return l||(l={counter:0,promises:[]},te._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 te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ie=new a2;class s2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.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 ie.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=Ko.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(wi.isAuthorizationEnabled()){const r=_l.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.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 me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];ie.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.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&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Et.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await zt.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await zt.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.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}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,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||"/";ot.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?Et.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Et.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 zt.extractDataFromPath(e);return!!await zt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:kr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||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 a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Et.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ie.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return te.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new s2;class o2{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 as.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.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 a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[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}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.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(te.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=te.getConfigValue("routing.useHashRouting");Bn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?ot.getHashPath():ot.getModifiedPathname();e(l)}}),Bn.addEventListener("popstate",n=>{const l=t?ot.getHashPath(location.href):ot.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 a=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:ot.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ie.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}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=Et.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];gl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,gl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[Sr.sanitizeParam(n[0])]=Sr.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(a=>Ko.setFeatureToggle(a,!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=te.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 a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}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 a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${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 gl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=gl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(ie.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&gl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}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:Et.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 a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);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}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new o2;class u2{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 vn=new u2;class f2{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 Bn=new f2;class c2{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 a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}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}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const d2=new c2;class h2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ee.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 pr=new h2,Zr=38,br=40,bl=13,Gl=27,xr=32,g2=36,_2=35;class up{constructor(e,t){Fn(this,"dispatch");Fn(this,"search");Fn(this,"isCustomSearchRenderer");Fn(this,"isCustomSearchResultItemRenderer");Fn(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=ie.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=ie.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}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)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Et.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Et.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?ie.isFunction(this.search.searchProvider.onEnter)&&e===bl?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===Gl?this.search.searchProvider.onEscape():e===br?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===br&&(o=r!==null?r:t[0]),e===Zr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&ie.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):ie.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Gl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===bl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Zr||t===br?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===Gl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?ot.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>this.setFocusOnGlobalSearchFieldDesktop(n)),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&ie.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Xf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=k("div"),t=k("div"),n=k("span"),r=W(),a=k("p"),c=W(),h=k("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){L(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=x(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&T(e),p=!1,b()}}}function p2(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xf(Zf(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-120xz9q"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Zf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:Ue,o:Ue,d(l){l&&T(e),ht(n,l),i[5](null)}}}function m2(i,e,t){const n=$t();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Pt("getUnsavedChangesModalPromise"),c=Pt("handleNavigation");Yn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=Sr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),an(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){Ye[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class b2 extends Mt{constructor(e){super(),Ot(this,e,m2,p2,Dt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Un(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=Un(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&T(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=k("div"),t=k("button"),l=Te(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){L(o,e,c),w(e,t),w(t,l),r||(a=x(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function v2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",N,V,E,H,D,O=i[0].type&&$f(i),G=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),O&&O.c(),a=W(),o=k("h2"),h=Te(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),G&&G.c(),C=W(),y=k("div"),P=k("button"),N=Te(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(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(J,Z){L(J,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),G&&G.m(v,null),w(v,C),w(v,y),w(y,P),w(P,N),H||(D=[x(window,"keydown",i[1]),x(P,"click",i[5])],H=!0)},p(J,[Z]){J[0].type?O?O.p(J,Z):(O=$f(J),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=J[0].header+"")&&Ae(h,c),Z&1&&p!==(p=J[0].body+"")&&(g.innerHTML=p),J[0].buttonConfirm!==!1?G?G.p(J,Z):(G=xf(J),G.c(),G.m(v,C)):G&&(G.d(1),G=null),Z&1&&I!==(I=J[0].buttonDismiss+"")&&Ae(N,I),Z&1&&V!==(V="fd-button "+(J[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Z&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+J[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(J){J&&T(e),O&&O.d(),G&&G.d(),H=!1,Qe(D)}}}function w2(i,e,t){const n=$t();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),an(()=>{const d={icon:r[l.type],header:Et.getTranslation("luigi.confirmationModal.header"),body:Et.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")};t(0,l={...l,body:Sr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Gl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class k2 extends Mt{constructor(e){super(),Ot(this,e,w2,v2,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function S2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&_s(r,l,a,a[4],n?gs(l,a[4],o,null):ps(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&T(e),r&&r.d(a)}}}function C2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=$t();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return an(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Bn.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),Yn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class vl extends Mt{constructor(e){super(),Ot(this,e,C2,S2,Dt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function ec(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new vl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=k("div"),v&&v.c(),a=W(),o=k("div"),c=k("div"),h=k("button"),d=k("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=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-1ogav75")},m(C,y){L(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=x(h,"click",i[12]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=tc(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&67&&g!==(g=C[0].closebtn_data_testid&&C[6]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nc(i){let e;const t=i[11].default,n=hs(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)&&_s(n,t,l,l[10],e?gs(t,l[10],r,null):ps(l[10]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function ic(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer fade-out svelte-1ogav75"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function y2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[6]||i[5]&&i[0].header)&&ec(i),C=i[5]&&nc(i),y=i[4]&&ic();return{c(){e=k("div"),t=k("div"),v&&v.c(),n=W(),l=k("div"),C&&C.c(),r=W(),a=k("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-1ogav75"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1ogav75"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?`drawer drawer-dialog__content ${i[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1ogav75"),f(t,"data-testid",g=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=Un(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${i[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"),f(e,"style",b=i[6]?"z-index:1001":"")},m(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,h),y&&y.m(t,null),m=!0},p(P,[I]){P[6]||P[5]&&P[0].header?v?(v.p(P,I),I&97&&R(v,1)):(v=ec(P),v.c(),R(v,1),v.m(t,n)):v&&(be(),U(v,1,1,()=>{v=null}),ve()),P[5]?C?(C.p(P,I),I&32&&R(C,1)):(C=nc(P),C.c(),R(C,1),C.m(l,r)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),(!m||I&32&&o!==(o="iframeModalCtn "+(P[5]?"_drawer":"_modal")+" svelte-1ogav75"))&&f(a,"class",o),(!m||I&34&&c!==(c=P[5]?void 0:P[1]))&&f(a,"modal-container-index",c),P[4]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&43&&d!==(d="fd-dialog__content "+(P[5]?P[0].backdrop?`drawer drawer-dialog__content ${P[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1ogav75"))&&f(t,"class",d),(!m||I&64&&g!==(g=P[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&105&&p!==(p=Un(P[6]||P[5]&&P[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${P[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"))&&f(e,"class",p),(!m||I&64&&b!==(b=P[6]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&T(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function P2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=$t();let g,p,b,m,v=!1,C=!1,y=!1,P=!1,I=!1,N=!0,V,E=Pt("store");const H=q=>re.getNodeLabel(q),D=async q=>{const le=q&&q.length?ie.getPathWithoutHash(q):"",ue=me.parseParams(le.split("?")[1]);m=me.getNodeParams(ue);const ne=await zt.extractDataFromPath(q);g=ne.nodeObject,t(5,I=r.isDrawer||typeof g.drawer=="object"),V=I?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),I?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=H(g),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),d("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=H(g),r),t(0,r._liveLabel=!0,r)),b=ne.pathData,t(8,a=!0)},O=async q=>{if(!(v||C))if(a)if(g.webcomponent)t(4,y=!1),I?await Z():await G(),zl.renderWebComponent(g.viewUrl,document.querySelector(V),{context:b.context,clientPermissions:g.clientPermissions||{},pathParams:b.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(V),modalWCData:{...b,nodeParams:m}}),C=!0;else{const le=await J(g.viewUrl,{context:b.context,pathParams:b.pathParams,nodeParams:m});d("iframeCreated",{modalIframe:le,modalIframeData:{...b,nodeParams:m}}),v=!0}else await D(q)},G=async()=>{let q,le;const ue=document.querySelector(".lui-modal-index-"+c),{size:ne,width:Pe,height:se}=r,ae=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ue.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(ae)&&se&&se.match(ae))q=se,le=Pe;else switch(ne){case"fullscreen":q="100vh",le="100vw",ue.classList.add("lui-modal-fullscreen");break;case"m":q="80%",le="60%";break;case"s":q="80%",le="40%";break;default:q="80%",le="80%"}ue.setAttribute("style",`width:${le};height:${q};`)},J=async(q,le)=>{I?await Z():await G(),q&&(q=me.substituteViewUrl(q,le));const ue=await Ee.createIframe(q,void 0,g,"modal",le);return document.querySelector(V).appendChild(ue),ue};async function Z(q){let le="";const ue=document.getElementsByClassName("drawer"),ne=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?le="width:75%;":r.size==="m"?le="width:50%;":r.size==="s"?le="width:25%;":r.size==="xs"&&(le="width:15.5%;")),r.backdrop?ue[0].setAttribute("style",le):(ne[0].setAttribute("style",le),ue[0].setAttribute("style","width:100%"))}ea(()=>{O(o)});const ce=async q=>{q.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),q.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),q.data.msg==="luigi.get-context"&&(P=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&Y()),q.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),q.data.msg==="luigi.navigation.updateModalSettings"&&((q.data.updatedModalSettings.title||q.data.updatedModalSettings.title==="")&&t(0,r.title=q.data.updatedModalSettings.title,r),(q.data.updatedModalSettings.size||q.data.updatedModalSettings.width||q.data.updatedModalSettings.height)&&(t(0,r.size=q.data.updatedModalSettings.size,r),t(0,r.height=q.data.updatedModalSettings.height,r),t(0,r.width=q.data.updatedModalSettings.width,r),await G()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ot.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},q.data.addHistoryEntry))};an(()=>{vn.doOnStoreChange(E,()=>{r._liveLabel&&g&&t(0,r.title=H(g),r)},["navigation.viewgroupdata"]),t(3,p=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1)),Bn.addEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var q;!P&&!g.webcomponent&&((q=g.loadingIndicator)==null?void 0:q.enabled)!==!1&&t(4,y=!0)},250)}),ta(()=>{Bn.removeEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function Y(){let q;N?q=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):q=document.querySelector(".drawer .spinnerContainer"),q&&q.classList.contains("fade-out")&&(q.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ee=()=>d("close",{activeDrawer:!1});return i.$$set=q=>{"settings"in q&&t(0,r=q.settings),"isDataPrepared"in q&&t(8,a=q.isDataPrepared),"nodepath"in q&&t(9,o=q.nodepath),"modalIndex"in q&&t(1,c=q.modalIndex),"disableBackdrop"in q&&t(2,h=q.disableBackdrop),"$$scope"in q&&t(10,l=q.$$scope)},[r,c,h,p,y,I,N,d,a,o,l,n,ee]}class fp extends Mt{constructor(e){super(),Ot(this,e,P2,y2,Dt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2})}}function lc(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function sc(i){let e,t=i[1][1].settings&&oc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function oc(i){let e,t,n=Ve(Object.entries(i[1][1].settings)),l=[];for(let r=0;r<n.length;r+=1)l[r]=mc(lc(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,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Ve(Object.entries(r[1][1].settings));let o;for(o=0;o<n.length;o+=1){const c=lc(r,n,o);l[o]?l[o].p(c,a):(l[o]=mc(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&&T(e),ht(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?N2:I2}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function I2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ae(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function N2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}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[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=x(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Jf(e,i[0][i[1][0]][i[27]])},d(o){o&&T(e),l=!1,r()}}}function fc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function I(){return i[19](i[28])}let N=v&&cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Te(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("div"),N&&N.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"class","fd-button fd-button--transparent fd-select__button lui-activate-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-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),N&&N.m(m,null),C||(y=[x(r,"keydown",P),x(n,"click",Vt(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?N?N.p(i,E):(N=cc(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(V){V&&T(e),N&&N.d(),C=!1,Qe(y)}}}function cc(i){let e,t=Ve(i[28].options),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(ac(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[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r[0]&4634){t=Ve(l[28].options);let a;for(a=0;a<t.length;a+=1){const o=ac(l,t,a);n[a]?n[a].p(o,r):(n[a]=dc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function dc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=k("li"),t=k("span"),l=Te(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Xt(e,"is-selected",i[4]===i[33]),Xt(e,"is-focus",i[4]===i[33])},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[x(e,"click",h),x(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Xt(e,"is-selected",i[4]===i[33]),g[0]&16&&Xt(e,"is-focus",i[4]===i[33])},d(d){d&&T(e),o=!1,Qe(c)}}}function hc(i){let e,t,n,l=Ve(i[28].options),r=[];for(let a=0;a<l.length;a+=1)r[a]=gc(rc(i,l,a));return{c(){e=k("div"),t=k("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null)},p(a,o){if(o[0]&13315){l=Ve(a[28].options);let c;for(c=0;c<l.length;c+=1){const h=rc(a,l,c);r[c]?r[c].p(h,o):(r[c]=gc(h),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-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&T(e),ht(r,a)}}}function gc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=k("button"),n=Te(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),h||(d=x(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),h=!1,d()}}}function _c(i){let e,t,n,l,r,a,o,c,h,d;function g(){i[23].call(n,i[27])}return{c(){e=k("label"),t=k("span"),n=k("input"),a=W(),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[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].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[27])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=x(n,"change",g),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=x(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&T(e),n=!1,l()}}}function mc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&uc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&fc(i),y=g&&hc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&_c(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Te(l),a=Te(":"),o=W(),c=k("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(N,V){L(N,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,m)},p(N,V){V[0]&34&&l!==(l=N[5](N[28].label)+"")&&Ae(r,l),N[28].type==="string"?v?v.p(N,V):(v=uc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[28].type==="enum"&&(N[28].style===void 0||N[28].style==="list")?C?C.p(N,V):(C=fc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=N[28].type==="enum"&&N[28].style==="button"&&Array.isArray(N[28].options)),g?y?y.p(N,V):(y=hc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[28].type==="boolean"&&(!N[28].style||N[28].style==="switch")?P?P.p(N,V):(P=_c(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[28].type==="boolean"&&N[28].style==="checkbox"?I?I.p(N,V):(I=pc(N),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function T2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[x(window,"click",i[7]),x(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=sc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function L2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=$t();let o=Pt("getTranslation");Si(i,o,Y=>t(5,n=Y));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Y){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(ee=>{m(ee,!1)})}function b(Y,ee){let q=ls(Y.target,".fd-popover__control",20),le=q.getAttribute("aria-expanded")==="true";(ee||ee===void 0)&&(p(),m(q,!le))}function m(Y,ee){const q=Y.querySelector(".lui-activate-dropdown"),le=Y.parentNode.querySelector(".fd-popover__body"),ue=Y.parentNode.querySelector(".fd-select__control");Y.setAttribute("aria-expanded",ee),le.setAttribute("aria-hidden",!ee),ue.setAttribute("aria-expanded",ee),q.setAttribute("aria-expanded",ee),t(14,h=ee)}function v(Y,ee,q){t(4,c=q),t(0,r[l[0]][Y]=ee.value||ee,r)}function C(Y,ee){document.querySelectorAll(".enum-buttons-container-"+Y+" button").forEach(q=>{const le=q.getAttribute("id"),ue=`lui-us-enum_button_${Y}_option`;le===ue?q.classList.add("fd-button--emphasized"):q.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Y]=ee.value||ee,r)}function y(Y,ee){let q;if(Array.isArray(ee)){for(let le=0;le<ee.length;le++)if(ie.isObject(ee[le])){if(ee[le].value&&ee[le].value===Y){q=ee[le].label,t(4,c=le);break}}else{q=Y,t(4,c=ee.indexOf(Y));break}return n(q)}}function P(Y){return n(ie.isObject(Y)?Y.label:Y)}function I(Y,ee,q){return ie.isObject(q)?`${Y}_${ee}_${q.value}`:`${Y}_${ee}_${q}`}function N(Y,ee,q,le){let ue=ls(Y.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${q}`).children;let Pe=-1;if([...ne].forEach((se,ae)=>{se.classList.contains("is-focus")&&(Pe=ae)}),h){if(Y.keyCode===Zr&&Y.altKey&&(ue.click(),ue.focus()),Y.keyCode===br&&!Y.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<le.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(Y.keyCode===Zr&&!Y.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<le.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(Y.keyCode===bl||Y.keyCode===xr)&&v(ee,le.options[Pe],Pe)}else ue.focus(),Y.keyCode===br&&Y.altKey&&ue.click(),Y.keyCode===br&&!Y.altKey&&Pe<le.options.length-1&&v(ee,le.options[Pe+1],Pe+1),Y.keyCode===Zr&&!Y.altKey&&Pe>0&&Pe<le.options.length&&v(ee,le.options[Pe-1],Pe-1)}function V(Y){if(h){let ee=ls(Y.target,".fd-popover",20);ee.blur(),(Y.keyCode===xr||Y.keyCode===bl)&&(Y.target.click(),p(),setTimeout(()=>{ee.focus()},0))}}y();function E(Y){r[l[0]][Y]=this.value,t(0,r)}const H=(Y,ee,q,le)=>N(le,Y,ee,q),D=Y=>b(event,Y.isEditable),O=(Y,ee,q)=>v(Y,ee,q),G=Y=>V(Y),J=(Y,ee)=>C(Y,ee);function Z(Y){r[l[0]][Y]=this.checked,t(0,r)}function ce(Y){r[l[0]][Y]=this.checked,t(0,r)}return i.$$set=Y=>{"userSettingGroup"in Y&&t(1,l=Y.userSettingGroup),"storedUserSettingData"in Y&&t(0,r=Y.storedUserSettingData),"isComboOpen"in Y&&t(14,h=Y.isComboOpen)},[r,l,N,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,G,J,Z,ce]}class A2 extends Mt{constructor(e){super(),Ot(this,e,L2,T2,Dt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:bc}=wl;function vc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[37]=t,n}function wc(i,e,t){const n=i.slice();return n[38]=e[t],n}function kc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?R2:E2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&(T(t),T(n)),a.d(o)}}}function E2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=k("span"),l=W(),a&&a.c(),r=we(),f(e,"class",t=Un(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ni(e,"background-image","url('"+i[38][1].icon+"')"),ni(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Un(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&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&&ni(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=Sc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(l),T(r)),a&&a.d(o)}}}function R2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Un(i[18](i[38][1].icon))+" svelte-572zjn"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-572zjn")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Un(r[18](r[38][1].icon))+" svelte-572zjn")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-572zjn")&&f(e,"class",l)},d(r){r&&T(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class",l=Un(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=Un(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function Cc(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",g,p,b,m,v=i[38][1].icon&&kc(i);function C(){return i[21](i[38])}function y(...P){return i[22](i[37],...P)}return{c(){e=k("li"),t=k("a"),v&&v.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),h=k("div"),g=Te(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-572zjn"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),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(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[x(e,"click",St(C)),x(e,"keydown",y)],b=!0)},p(P,I){i=P,i[38][1].icon?v?v.p(i,I):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),I[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&T(e),v&&v.d(),b=!1,Qe(m)}}}function yc(i){let e,t=Ve(Object.entries(i[11])),n=[];for(let l=0;l<t.length;l+=1)n[l]=Cc(wc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Ve(Object.entries(l[11]));let a;for(a=0;a<t.length;a+=1){const o=wc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Cc(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Pc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](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 A2({props:o}),Ye.push(()=>yt(e,"closeDropDown",r)),Ye.push(()=>yt(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Be(e.$$.fragment)},m(c,h){Me(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],Ct(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],Ct(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function D2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",I,N,V,E,H,D,O,G,J,Z,ce,Y,ee,q=i[10](i[5])+"",le,ue,ne,Pe,se=i[10](i[6])+"",ae,ke,je,ye,Le=Ve(Object.entries(i[1])),ze=[];for(let De=0;De<Le.length;De+=1)ze[De]=yc(vc(i,Le,De));let Xe=i[11]&&Pc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("div"),o=k("h2"),h=Te(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<ze.length;De+=1)ze[De].c();b=W(),m=k("div"),v=k("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=k("h2"),I=Te(P),N=W(),V=k("div"),E=k("div"),Xe&&Xe.c(),H=W(),D=k("div"),O=W(),G=k("div"),J=W(),Z=k("footer"),ce=k("div"),Y=k("div"),ee=k("button"),le=Te(q),ue=W(),ne=k("div"),Pe=k("button"),ae=Te(se),f(o,"class","fd-title fd-title--h5 svelte-572zjn"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header lui-us-group-header svelte-572zjn"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(g,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-572zjn"),f(r,"class","fd-side-nav svelte-572zjn"),f(l,"class","lui-usersettings-left-nav svelte-572zjn"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-572zjn"),f(y,"class","fd-title fd-title--h5 svelte-572zjn"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-572zjn"),f(E,"class","usersettingseditor mf-wrapper svelte-572zjn"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-572zjn"),f(G,"class","wcUserSettingsCtn wc-wrapper svelte-572zjn"),f(V,"class","lui-usersettings-content svelte-572zjn"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-572zjn"),f(ee,"data-testid","lui-us-saveBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Y,"class","fd-bar__element"),f(Pe,"data-testid","lui-us-dismissBtn"),f(Pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ne,"class","fd-bar__element"),f(ce,"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-572zjn"),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-572zjn"),f(e,"tabindex","0")},m(De,nt){L(De,e,nt),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let rt=0;rt<ze.length;rt+=1)ze[rt]&&ze[rt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,N),w(n,V),w(V,E),Xe&&Xe.m(E,null),w(V,H),w(V,D),w(V,O),w(V,G),w(t,J),w(t,Z),w(Z,ce),w(ce,Y),w(Y,ee),w(ee,le),w(ce,ue),w(ce,ne),w(ne,Pe),w(Pe,ae),ke=!0,je||(ye=[x(bc,"resize",i[20]),x(bc,"keydown",i[3]),x(v,"click",i[17]),x(ee,"click",i[25]),x(Pe,"click",i[26])],je=!0)},p(De,nt){if((!ke||nt[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),nt[0]&803846){Le=Ve(Object.entries(De[1]));let rt;for(rt=0;rt<Le.length;rt+=1){const gt=vc(De,Le,rt);ze[rt]?ze[rt].p(gt,nt):(ze[rt]=yc(gt),ze[rt].c(),ze[rt].m(p,null))}for(;rt<ze.length;rt+=1)ze[rt].d(1);ze.length=Le.length}(!ke||nt[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(I,P),De[11]?Xe?(Xe.p(De,nt),nt[0]&2048&&R(Xe,1)):(Xe=Pc(De),Xe.c(),R(Xe,1),Xe.m(E,null)):Xe&&(be(),U(Xe,1,1,()=>{Xe=null}),ve()),(!ke||nt[0]&1056)&&q!==(q=De[10](De[5])+"")&&Ae(le,q),(!ke||nt[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(ae,se)},i(De){ke||(R(Xe),ke=!0)},o(De){U(Xe),ke=!1},d(De){De&&T(e),ht(ze,De),Xe&&Xe.d(),je=!1,Qe(ye)}}}function Ic(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 V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function O2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function M2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function cp(i,e,t){if(i&&t>0)return i.matches(e)?i:cp(i.parentNode,e,t-1)}function Nc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function F2(i,e,t){let n,{userSettingGroups:l}=e;const r=$t();let a,{storedUserSettings:o={}}=e,c={},h=Pt("getTranslation");Si(i,h,se=>t(10,n=se));let d=ml.userSettingsDialog.dialogHeader,g=ml.userSettingsDialog.saveBtn,p=ml.userSettingsDialog.dismissBtn,b={},m,v,C,y;ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),an(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),ae=se||te.getConfigValue("settings.userSettings.userSettingsDialog");ae&&(t(4,d=ae.dialogHeader?ae.dialogHeader:d),t(5,g=ae.saveBtn?ae.saveBtn:g),t(6,p=ae.dismissBtn?ae.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Bn.addEventListener("message",ke=>{const je=Ee.getValidMessageSource(ke);if(!je||ke.data.msg!=="custom")return;je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(ke.data);if(ye.id==="luigi.updateUserSettings"){const ze=pr.findActiveCustomUserSettingsIframe(ke.source);if(ze){let Xe=ze.getAttribute("userSettingsGroup");t(0,o[Xe]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&D()}),te.readUserSettings().then(ke=>{c=JSON.parse(JSON.stringify(ke)),ke===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),ke)),I([m,l[0][m]])}).catch(ke=>{ke&&ke.message&&console.error(ke.message),ke&&ke.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!ie.isObject(se.settings))for(let ae in se.settings){let ke=se.settings[ae];ke.type==="enum"?Array.isArray(ke.options)||console.error(`There is no options array for '${ae}' defined in the Luigi userSettings config.`):ke.type===void 0&&console.error(`There is no data type defined for '${ae}' in the Luigi userSettings config.`)}}function I(se,ae){t(11,a=se);let ke=se[0],je=se[1];if(P(je),ae?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),cp(ae.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<hn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()),je.viewUrl){if(pr.hideUserSettingsIframe(),je.webcomponent){N({...je},ke);return}if(b.hasOwnProperty(ke))pr.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===ke&&(ye.style.display="block")});else{const ye=$r.hasDecorators()?$r.applyDecorators(je.viewUrl):je.viewUrl;let Le=pr.createIframe(ye,ke);b[ke]=Le}O2()}else M2()}function N(se,ae){const ke=document.querySelector(".wcUserSettingsCtn");if(!ke)return;ke.innerHTML="";const je={};ke.eventBus={listeners:je,onPublishEvent:De=>{t(0,o[ae]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[ae]},Le=se.eventListeners,ze=se.webcomponent,Xe=se.label;zl.renderWebComponent(se.viewUrl,ke,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Xe?Xe.replace(/ /g,"").toLowerCase():null),V2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){D()}function D(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()}function O(se){return re.renderIconClassName(se)}function G(se){return re.isOpenUIiconName(se.icon)}let J;const Z=()=>{const se=window.innerWidth>=hn.desktopMinWidth&&J<hn.desktopMinWidth;if(window.innerWidth<hn.desktopMinWidth&&J>=hn.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"),se&&(document.querySelector(".confirm-button").style.display="block"),!J){let ke=document.querySelector(".confirm-button");window.innerWidth<hn.desktopMinWidth?ke.style.display="none":ke.style.display="block"}J=window.innerWidth};function ce(se,ae){let ke=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&ke[ae].click(),se.keyCode===_2&&ke[Object.keys(l).length-1].focus(),se.keyCode===g2&&ke[0].focus()}function Y(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const ee=se=>I(se,event),q=(se,ae)=>ce(ae,[se]);function le(se){y=se,t(9,y)}function ue(se){C=se,t(8,C)}const ne=()=>E(),Pe=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,ce,Y,d,g,p,v,C,y,n,a,r,h,I,V,E,D,O,G,Z,ee,q,le,ue,ne,Pe]}class U2 extends Mt{constructor(e){super(),Ot(this,e,F2,D2,Dt,{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:B2}=wl;function H2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function W2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=k("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=x(t,"click",Vt(St(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(T(e),T(n),T(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=k("div"),t=W(),n=k("div"),l=k("div"),r=W(),a=k("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[x(a,"click",Vt(St(i[3]))),x(n,"mousedown",Vt(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Qe(c)}}}function q2(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?W2:H2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),b.c(),a=W(),m&&m.c(),o=we(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){L(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=x(B2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Tc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&(T(e),T(a),T(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function z2(i,e,t){const n=$t();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,N=Pt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:q=>{q&&Object.getOwnPropertyNames(q).forEach(le=>{le==="splitViewSettings"?t(1,C=q.splitViewSettings):le==="lastNode"?r=q.lastNode:le==="pathData"?a=q.pathData:le==="nodeParams"?o=q.nodeParams:le==="collapsed"?t(0,v=q.collapsed):le==="isDataPrepared"?t(8,y=q.isDataPrepared):le==="currentNode"?c=q.currentNode:le==="splitViewIframe"?d=q.splitViewIframe:le==="splitViewIframeData"?g=q.splitViewIframeData:le==="splitViewWC"?p=q.splitViewWC:le==="splitViewWCData"&&(b=q.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||_t.createAndSetView(V()):await _t.prepareSplitViewData(V(),m)},H=()=>{l.split=_t.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=_t.getDragger()},D=()=>{const q=_t.getDraggerBackdrop();q&&(q.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${_t.splitViewValues.top}px`),l.split.style.top=`${_t.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(q){if(Ee.getValidMessageSource(q)&&(q.data.msg==="luigi.navigation.splitview.close"&&_t.close(V()),q.data.msg==="luigi.navigation.splitview.collapse"&&G(),q.data.msg==="luigi.navigation.splitview.expand"&&J(),q.data.msg==="luigi.navigation.splitview.resize")){const le=parseInt(q.data.data);if(_t.calculateAndSetSplitViewValues(le,_t.internalValues),v)return;D(),_t.sendMessageToClients("resize.ok",_t.splitViewValues.percent)}}an(()=>{Z(),h=O.bind(this),Bn.addEventListener("message",h)}),ea(()=>{E(),I!==y&&!v&&(I=y,D())}),ta(()=>{window.removeEventListener("message",h)});function G(){_t.collapse(V())}async function J(){await _t.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const q=ie.getShellbarHeight();_t.internalValues.innerHeight=ie.getInnerHeight(),_t.internalValues.rightContentHeight=_t.internalValues.innerHeight-q,_t.internalValues.thresholdBottom=30,_t.internalValues.thresholdTop=q+30,_t.calculateAndSetSplitViewValues(_t.splitViewValues.percent,_t.internalValues),v||D()}function ce(q){let le=q.y,ue={};const ne=function(je){const ye=le-je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Xe=_t.internalValues.innerHeight-ze,De=_t.enforceTresholds(ze,Xe);ze<De.top||Xe<De.bottom||(ue=De,le=je.y,l.draggable.style.top=`${ue.top}px`)},Pe=function(){if(se(),!ue.top||!ue.bottom||ue.top==_t.internalValues.m_pos_prev){_t.getDraggerBackdrop().style.display="none";return}_t.internalValues.m_pos_prev=ue.top,_t.splitViewValues=ue,D(),_t.sendMessageToClients("resize.ok",ue.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},ae=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),ae(),_t.getDraggerBackdrop().style.display="block"}const Y=q=>{let le=_t.getDraggerButton();le&&(le.style.display=q?"block":"none"),le=_t.getCollapsedDraggerButton(),le&&(le.style.display=q?"block":"none")},ee=q=>{Y(!q.detail||q.detail.backdropActive!==!0)};return i.$$set=q=>{"nodepath"in q&&t(9,m=q.nodepath),"collapsed"in q&&t(0,v=q.collapsed),"splitViewSettings"in q&&t(1,C=q.splitViewSettings),"isDataPrepared"in q&&t(8,y=q.isDataPrepared),"disableBackdrop"in q&&t(2,P=q.disableBackdrop)},[v,C,P,G,J,Z,ce,ee,y,m]}class dp extends Mt{constructor(e){super(),Ot(this,e,z2,q2,Dt,{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 Lc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:j2,then:K2,catch:G2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=we(),n.block.c()},m(l,r){L(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())&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function j2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function J2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Y2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class An extends Mt{constructor(e){super(),Ot(this,e,Y2,J2,Dt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Te(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ae(l,n)},d(r){r&&T(e)}}}function Q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class ii extends Mt{constructor(e){super(),Ot(this,e,Z2,Q2,Dt,{node:0})}}function X2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,I=hs(P,i,i[3],null);return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),c=k("span"),d=W(),g=k("ul"),I&&I.c(),p=W(),b=k("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item")},m(N,V){L(N,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[x(n,"click",Vt(St(i[2]))),x(n,"keyup",i[5])],C=!0)},p(N,V){(!v||V&2)&&r!==(r=N[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=N[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",N[0]),I&&I.p&&(!v||V&8)&&_s(I,P,N,N[3],v?gs(P,N[3],V,null):ps(N[3]),null),(!v||V&2&&m!==(m=N[1].uid))&&f(g,"navgroupid",m)},i(N){v||(R(I,N),v=!0)},o(N){U(I,N),v=!1},d(N){N&&T(e),I&&I.d(N),C=!1,Qe(y)}}}function $2(i){let e;const t=i[4].default,n=hs(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&_s(n,t,l,l[3],e?gs(t,l[3],r,null):ps(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function x2(i){let e,t,n,l;const r=[$2,X2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function eS(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class tS extends Mt{constructor(e){super(),Ot(this,e,eS,x2,Dt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Dc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[94]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Bc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[101]=e[t],n}function nS(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Wc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Kc(i),b=(i[2]||i[3])&&pd(i);return{c(){e=k("div"),g&&g.c(),t=W(),n=k("nav"),l=k("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1qodpfy"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy")},m(m,v){L(m,e,v),g&&g.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,h||(d=x(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Wc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Kc(m),p.c(),R(p,1),p.m(l,null)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),m[2]||m[3]?b?b.p(m,v):(b=pd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-1qodpfy"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-1qodpfy"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&T(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function iS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=k("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[23]?"is-compact":"")+" "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"),f(e,"role","navigation"),ni(e,"width","var(--luigi__left-sidenav--width)"),ni(e,"height","100%")},m(o,c){L(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=bd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=Sd(o),a.c(),R(a,1),a.m(e,null)):a&&(be(),U(a,1,1,()=>{a=null}),ve()),(!l||c[0]&8388686&&n!==(n="fd-navigation fd-navigation--vertical "+(o[23]?"is-compact":"")+" "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1qodpfy"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&T(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1qodpfy")},m(n,l){L(n,e,l),t&&t.m(e,null),i[63](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=qc(n),t.c(),t.m(e,null))},d(n){n&&T(e),t&&t.d(),i[63](null)}}}function qc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&zc(i),g=i[12].showUpLink&&Gc(i);return{c(){e=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"class","fd-nested-list__link svelte-1qodpfy"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1qodpfy"),f(e,"class","fd-nested-list svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=zc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Ae(o,a),p[12].showUpLink?g?g.p(p,b):(g=Gc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&T(e),d&&d.d(),g&&g.d()}}}function zc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?rS:lS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function lS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function rS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Gc(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-1qodpfy"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Kc(i){let e,t,n,l,r=Ve(i[13]),a=[];for(let c=0;c<r.length;c+=1)a[c]=_d(Rc(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n=Un(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"),f(e,"class","lui-fd-side-nav-wrapper svelte-1qodpfy")},m(c,h){L(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=Ve(c[13]);let d;for(d=0;d<r.length;d+=1){const g=Rc(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=_d(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(be(),d=r.length;d<a.length;d+=1)o(d);ve()}(!l||h[0]&8388608&&n!==(n=Un(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1qodpfy"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&T(e),ht(a,c)}}}function aS(i){let e,t,n,l;const r=[uS,oS],a=[];function o(c,h){return c[98].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function sS(i){let e,t,n=Ve(i[98]),l=[];for(let a=0;a<n.length;a+=1)l[a]=gd(Mc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[98]);let c;for(c=0;c<n.length;c+=1){const h=Mc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=gd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function oS(i){let e,t,n=i[27](i[97])+"",l,r,a,o,c,h,d=i[10]&&i[98].metaInfo.icon&&jc(i),g=Ve(i[98]),p=[];for(let m=0;m<g.length;m+=1)p[m]=$c(Dc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=k("li"),d&&d.c(),t=W(),l=Te(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=we(),f(e,"class","fd-nested-list__group-header lui-category svelte-1qodpfy"),f(e,"title",r=i[35](i[98],i[27](i[97]))),f(e,"data-testid",a=i[34](i[98].metaInfo,i[97])),f(e,"id","category_list_level1_"+i[100])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[98].metaInfo.icon?d?d.p(m,v):(d=jc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[97])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[98],m[27](m[97]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[98].metaInfo,m[97])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[98]);let C;for(C=0;C<g.length;C+=1){const y=Dc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=$c(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(be(),C=g.length;C<p.length;C+=1)b(C);ve()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&(T(e),T(o),T(c)),d&&d.d(),ht(p,m)}}}function uS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,J,Z,ce;function Y(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[98].metaInfo.icon)),l?mS:pS}let ee=Y(i,[-1,-1,-1,-1]),q=ee(i);function le(){return i[66](i[98])}function ue(){return i[67](i[98])}function ne(...ye){return i[68](i[98],...ye)}let Pe=Ve(i[98]),se=[];for(let ye=0;ye<Pe.length;ye+=1)se[ye]=id(Oc(i,Pe,ye));const ae=ye=>U(se[ye],1,1,()=>{se[ye]=null});let ke=i[98].metaInfo&&i[98].metaInfo.label===i[8]&&ld(i);function je(){return i[73](i[98])}return{c(){e=k("li"),t=k("div"),n=k("a"),q.c(),r=W(),a=k("span"),c=Te(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();D=W(),ke&&ke.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"title",h=i[35](i[98],i[27](i[97]))),f(n,"class",d="fd-nested-list__link "+(rn(i[98],i[9])?"is-expanded":"")+" svelte-1qodpfy"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[100]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=rn(i[98],i[9])),f(C,"class",y=rn(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1qodpfy"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=rn(i[98],i[9])),f(v,"title",I=i[41](i[98],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",N=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1qodpfy"),f(E,"aria-hidden",H=!rn(i[98],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",G=i[34](i[98].metaInfo,i[97])),Xt(e,"lui-item-expanded",rn(i[98],i[9]))},m(ye,Le){L(ye,e,Le),w(e,t),w(t,n),q.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(E,null);w(e,D),ke&&ke.m(e,null),w(e,O),J=!0,Z||(ce=[x(n,"click",St(le)),x(v,"click",St(ue)),x(t,"keypress",ne),x(e,"click",Vt(je))],Z=!0)},p(ye,Le){if(i=ye,ee===(ee=Y(i,Le))&&q?q.p(i,Le):(q.d(1),q=ee(i),q&&(q.c(),q.m(n,r))),(!J||Le[0]&134225920)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!J||Le[0]&134225920&&h!==(h=i[35](i[98],i[27](i[97]))))&&f(n,"title",h),(!J||Le[0]&8704&&d!==(d="fd-nested-list__link "+(rn(i[98],i[9])?"is-expanded":"")+" svelte-1qodpfy"))&&f(n,"class",d),(!J||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!J||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!J||Le[0]&8704&&b!==(b=rn(i[98],i[9])))&&f(n,"aria-expanded",b),(!J||Le[0]&8704&&y!==(y=rn(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!J||Le[0]&8704&&P!==(P=rn(i[98],i[9])))&&f(v,"aria-expanded",P),(!J||Le[0]&8704&&I!==(I=i[41](i[98],i[9])))&&f(v,"title",I),(!J||Le[0]&64&&N!==(N=i[6]?"0":"-1"))&&f(t,"tabindex",N),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[98]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Xe=Oc(i,Pe,ze);se[ze]?(se[ze].p(Xe,Le),R(se[ze],1)):(se[ze]=id(Xe),se[ze].c(),R(se[ze],1),se[ze].m(E,null))}for(be(),ze=Pe.length;ze<se.length;ze+=1)ae(ze);ve()}(!J||Le[0]&8704&&H!==(H=!rn(i[98],i[9])))&&f(E,"aria-hidden",H),i[98].metaInfo&&i[98].metaInfo.label===i[8]?ke?(ke.p(i,Le),Le[0]&8448&&R(ke,1)):(ke=ld(i),ke.c(),R(ke,1),ke.m(e,O)):ke&&(be(),U(ke,1,1,()=>{ke=null}),ve()),(!J||Le[0]&8192&&G!==(G=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",G),(!J||Le[0]&8704)&&Xt(e,"lui-item-expanded",rn(i[98],i[9]))},i(ye){if(!J){for(let Le=0;Le<Pe.length;Le+=1)R(se[Le]);R(ke),J=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(ke),J=!1},d(ye){ye&&T(e),q.d(),ht(se,ye),ke&&ke.d(),Z=!1,Qe(ce)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?cS:fS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function cS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[98].metaInfo.icon?i[31](i[98].metaInfo.icon):"")+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[98].metaInfo.icon?n[31](n[98].metaInfo.icon):"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Jc(i){let e,t,n=i[101].label&&Yc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function N(Z,ce){return Z[101].icon?hS:dS}let V=N(i),E=V(i),H=i[101].statusBadge&&Qc(i),D=i[101].externalLink&&i[101].externalLink.url&&Zc(),O=i[101].badgeCounter&&Xc(i);function G(...Z){return i[74](i[101],...Z)}function J(...Z){return i[75](i[101],...Z)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Te(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[101])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[101],i[30](i[101]))),f(e,"aria-labelledby","category_list_level1_"+i[100])},m(Z,ce){L(Z,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(I=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:J)&&(i[24]?void 0:J).apply(this,arguments)})],P=!0)},p(Z,ce){i=Z,V===(V=N(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r),i[101].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Qc(i),H.c(),R(H,1),H.m(l,null)):H&&(be(),U(H,1,1,()=>{H=null}),ve()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",c),i[101].externalLink&&i[101].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Xc(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!y||ce[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[101])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[101],i[30](i[101]))))&&f(e,"title",C)},i(Z){y||(R(H),R(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(I)}}}function dS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=k("i"),n=W(),l=k("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},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":"")&&Ae(a,r)},d(o){o&&(T(e),T(n),T(l))}}}function hS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?_S:gS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1qodpfy")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new ii({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Xc(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function $c(i){let e,t,n=!i[101].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function pS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function mS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[101].label&&ed(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ii({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&td(),V=i[101].badgeCounter&&nd(i);function E(...D){return i[69](i[101],...D)}function H(...D){return i[70](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[100])},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=td(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Qe(I)}}}function td(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function nd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[101].hideFromNav&&xc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[97])+"",r,a,o,c,h=Ve(i[98]),d=[];for(let p=0;p<h.length;p+=1)d[p]=ud(Vc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Te(l),a=W(),o=k("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1qodpfy"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1qodpfy"),f(t,"class","lui-flyout-sublist__wrapper svelte-1qodpfy"),f(e,"class","lui-flyout-sublist svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[97])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[98]);let m;for(m=0;m<h.length;m+=1){const v=Vc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=ud(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&T(e),ht(d,p)}}}function rd(i){let e,t,n=i[101].label&&ad(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ad(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ii({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&sd(),V=i[101].badgeCounter&&od(i);function E(...D){return i[71](i[101],...D)}function H(...D){return i[72](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=sd(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=od(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Qe(I)}}}function sd(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function od(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ud(i){let e,t,n=!i[101].hideFromNav&&rd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[101].label&&cd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=cd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(Z,ce){return Z[101].icon?vS:bS}let E=V(i),H=E(i);c=new ii({props:{node:i[101]}});let D=i[101].externalLink&&i[101].externalLink.url&&dd(),O=i[101].badgeCounter&&hd(i);function G(...Z){return i[64](i[101],...Z)}function J(...Z){return i[65](i[101],...Z)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(t,"href",p=i[33](i[101])),f(t,"title",b=i[35](i[101],i[30](i[101]))),f(t,"class",m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[101])),f(e,"class","fd-nested-list__item")},m(Z,ce){L(Z,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(N=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:J)&&(i[24]?void 0:J).apply(this,arguments)})],I=!0)},p(Z,ce){i=Z,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const Y={};ce[0]&8192&&(Y.node=i[101]),c.$set(Y),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=hd(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!P||ce[0]&8192&&p!==(p=i[33](i[101])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[101],i[30](i[101]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[101])))&&f(t,"data-testid",C)},i(Z){P||(R(c.$$.fragment,Z),R(O),P=!0)},o(Z){U(c.$$.fragment,Z),U(O),P=!1},d(Z){Z&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),I=!1,Qe(N)}}}function bS(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){L(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&&T(e)}}}function vS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function wS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function kS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function dd(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){L(t,e,n)},d(t){t&&T(e)}}}function hd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gd(i){let e,t,n=!i[101].hideFromNav&&fd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[sS,aS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(BS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){d&&T(r),~n&&c[n].d(d)}}}function pd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&md(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Te(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1qodpfy"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1qodpfy"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1qodpfy")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ae(r,l),c[3]?o?o.p(c,h):(o=md(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?CS:SS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function SS(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-1qodpfy"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[x(e,"click",i[77]),x(e,"keydown",i[78])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function CS(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-1qodpfy"),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-1qodpfy")},m(a,o){L(a,e,o),w(e,t),l||(r=x(e,"click",i[76]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1qodpfy")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&T(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1qodpfy")},m(n,l){L(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e,null))},d(n){n&&T(e),t&&t.d(),i[49](null)}}}function vd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&wd(i),g=i[12].showUpLink&&kd(i);return{c(){e=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1qodpfy"),f(n,"class","fd-nested-list__link svelte-1qodpfy"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=wd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Ae(o,a),p[12].showUpLink?g?g.p(p,b):(g=kd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&T(e),d&&d.d(),g&&g.d()}}}function wd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?PS:yS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-nested-list__icon sap-icon svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function PS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1qodpfy"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function kd(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-1qodpfy"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Sd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=Ve(i[14]),v=[];for(let y=0;y<m.length;y+=1)v[y]=Bd(Fc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=k("div"),t=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=k("li"),r=W(),a=k("li"),o=k("div"),c=k("a"),c.innerHTML='<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span> <span class="fd-navigation__text">More Items</span>',h=W(),d=k("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1qodpfy"></ul></div>',f(l,"class","lui-spacer svelte-1qodpfy"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1qodpfy"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1qodpfy"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1qodpfy"),f(t,"class","fd-navigation__list svelte-1qodpfy"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1qodpfy")},m(y,P){L(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I]&&v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[62](e),g=!0,p||(b=[x(c,"click",i[42]),x(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let I;for(I=0;I<m.length;I+=1){const N=Fc(y,m,I);v[I]?(v[I].p(N,P),R(v[I],1)):(v[I]=Bd(N),v[I].c(),R(v[I],1),v[I].m(t,n))}for(be(),I=m.length;I<v.length;I+=1)C(I);ve()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&T(e),ht(v,y),i[62](null),p=!1,Qe(b)}}}function IS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(ee,q){return q[0]&16384&&(l=null),l==null&&(l=!!ee[32](ee[98].metaInfo.icon)),l?LS:TS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function G(){return i[53](i[98])}function J(){return i[54](i[98])}function Z(...ee){return i[55](i[98],...ee)}function ce(...ee){return i[56](i[98],...ee)}let Y=(!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8])&&Cd(i);return{c(){e=k("li"),t=k("div"),n=k("a"),O.c(),r=W(),a=k("span"),c=Te(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Y&&Y.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1qodpfy"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[35](i[98],i[27](i[97]))),f(t,"aria-expanded",v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:rn(i[98],i[9])),f(t,"aria-selected",C=i[6]&&i[98].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"),f(e,"data-testid",I=i[34](i[98].metaInfo,i[97]))},m(ee,q){L(ee,e,q),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),Y&&Y.m(e,null),N=!0,V||(E=[x(n,"click",St(G)),x(n,"keypress",St(J)),x(n,"keypress",St(Z)),x(t,"click",Vt(ce))],V=!0)},p(ee,q){i=ee,D===(D=H(i,q))&&O?O.p(i,q):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!N||q[0]&134234112)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!N||q[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!N||q[0]&134234112&&m!==(m=i[35](i[98],i[27](i[97]))))&&f(t,"title",m),(!N||q[0]&17216&&v!==(v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:rn(i[98],i[9])))&&f(t,"aria-expanded",v),(!N||q[0]&16576&&C!==(C=i[6]&&i[98].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8]?Y?(Y.p(i,q),q[0]&16704&&R(Y,1)):(Y=Cd(i),Y.c(),R(Y,1),Y.m(e,null)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),(!N||q[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1qodpfy"))&&f(e,"class",P),(!N||q[0]&16384&&I!==(I=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",I)},i(ee){N||(R(Y),N=!0)},o(ee){U(Y),N=!1},d(ee){ee&&T(e),O.d(),Y&&Y.d(),V=!1,Qe(E)}}}function NS(i){let e,t,n=Ve(i[98]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Hc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[98]);let c;for(c=0;c<n.length;c+=1){const h=Hc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function LS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[98]),d=[];for(let p=0;p<h.length;p+=1)d[p]=Rd(Bc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=k("div"),t=k("div"),c&&c.c(),n=W(),l=k("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=yd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=Ve(p[98]);let m;for(m=0;m<h.length;m+=1){const v=Bc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Rd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1qodpfy"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&T(e),c&&c.d(),ht(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[97])+"",a,o,c,h,d,g=i[10]&&i[98].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),o=W(),c=k("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1qodpfy"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1qodpfy"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[98],i[27](i[97]))),f(e,"data-testid",d=i[34](i[98].metaInfo,i[97]))},m(p,b){L(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[98].metaInfo.icon?g?g.p(p,b):(g=Pd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[97])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[98],p[27](p[97])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[98].metaInfo,p[97]))&&f(e,"data-testid",d)},d(p){p&&T(e),g&&g.d()}}}function Pd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?ES:AS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function AS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function ES(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[101].label&&Nd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E=i[30](i[101])+"",H,D,O,G,J,Z,ce,Y,ee,q,le,ue,ne,Pe;c=new ii({props:{node:i[101]}});let se=i[101].externalLink&&i[101].externalLink.url&&Td(),ae=i[101].badgeCounter&&Ld(i);function ke(...De){return i[57](i[101],...De)}function je(...De){return i[58](i[101],...De)}O=new ii({props:{node:i[101]}});let ye=i[101].externalLink&&i[101].externalLink.url&&Ad(),Le=i[101].badgeCounter&&Ed(i);function ze(...De){return i[59](i[101],...De)}function Xe(...De){return i[60](i[101],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),ae&&ae.c(),P=W(),I=k("li"),N=k("a"),V=k("span"),H=Te(E),D=W(),Be(O.$$.fragment),J=W(),ye&&ye.c(),Z=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1qodpfy"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[101])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[101]===i[7]),f(t,"data-testid",y=re.getTestId(i[101])),f(e,"class","fd-navigation__list-item"),f(V,"class",G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(N,"href",ce=i[33](i[101])),f(N,"class",Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"),f(N,"role",ee=i[24]?void 0:"button"),f(N,"tabindex","0"),f(N,"data-testid",q=re.getTestId(i[101])),f(N,"title",le=i[35](i[101],i[30](i[101]))),ni(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[100])},m(De,nt){L(De,e,nt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),se&&se.m(n,null),w(n,b),ae&&ae.m(n,null),L(De,P,nt),L(De,I,nt),w(I,N),w(N,V),w(V,H),w(V,D),Me(O,V,null),w(N,J),ye&&ye.m(N,null),w(N,Z),Le&&Le.m(N,null),ue=!0,ne||(Pe=[x(n,"click",ke),x(n,"keyup",function(){ki(i[24]?void 0:je)&&(i[24]?void 0:je).apply(this,arguments)}),x(N,"click",ze),x(N,"keyup",function(){ki(i[24]?void 0:Xe)&&(i[24]?void 0:Xe).apply(this,arguments)})],ne=!0)},p(De,nt){i=De,(!ue||nt[0]&16384)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const rt={};nt[0]&16384&&(rt.node=i[101]),c.$set(rt),(!ue||nt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[101].badgeCounter?ae?(ae.p(i,nt),nt[0]&16384&&R(ae,1)):(ae=Ld(i),ae.c(),R(ae,1),ae.m(n,null)):ae&&(be(),U(ae,1,1,()=>{ae=null}),ve()),(!ue||nt[0]&16384&&m!==(m=i[33](i[101])))&&f(n,"href",m),(!ue||nt[0]&16384&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v),(!ue||nt[0]&16512&&C!==(C=i[101]===i[7]))&&f(t,"aria-selected",C),(!ue||nt[0]&16384&&y!==(y=re.getTestId(i[101])))&&f(t,"data-testid",y),(!ue||nt[0]&16384)&&E!==(E=i[30](i[101])+"")&&Ae(H,E);const gt={};nt[0]&16384&&(gt.node=i[101]),O.$set(gt),(!ue||nt[0]&16384&&G!==(G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(V,"class",G),i[101].externalLink&&i[101].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(N,Z)):ye&&(ye.d(1),ye=null),i[101].badgeCounter?Le?(Le.p(i,nt),nt[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(N,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!ue||nt[0]&16384&&ce!==(ce=i[33](i[101])))&&f(N,"href",ce),(!ue||nt[0]&16512&&Y!==(Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1qodpfy"))&&f(N,"class",Y),(!ue||nt[0]&16777216&&ee!==(ee=i[24]?void 0:"button"))&&f(N,"role",ee),(!ue||nt[0]&16384&&q!==(q=re.getTestId(i[101])))&&f(N,"data-testid",q),(!ue||nt[0]&16384&&le!==(le=i[35](i[101],i[30](i[101]))))&&f(N,"title",le)},i(De){ue||(R(c.$$.fragment,De),R(ae),R(O.$$.fragment,De),R(Le),ue=!0)},o(De){U(c.$$.fragment,De),U(ae),U(O.$$.fragment,De),U(Le),ue=!1},d(De){De&&(T(e),T(P),T(I)),Fe(c),se&&se.d(),ae&&ae.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Qe(Pe)}}}function Td(i){let e;return{c(){e=k("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ld(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ed(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rd(i){let e,t,n=!i[101].hideFromNav&&Id(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[101].label&&Vd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Vd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[101])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H;function D(ee,q){return ee[101].icon?DS:RS}let O=D(i),G=O(i);h=new ii({props:{node:i[101]}});let J=i[101].externalLink&&i[101].externalLink.url&&Od(),Z=i[101].badgeCounter&&Md(i);function ce(...ee){return i[50](i[101],...ee)}function Y(...ee){return i[51](i[101],...ee)}return{c(){e=k("li"),t=k("div"),n=k("a"),G.c(),l=W(),r=k("span"),o=Te(a),c=W(),Be(h.$$.fragment),g=W(),J&&J.c(),p=W(),Z&&Z.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[101])),f(n,"title",y=i[35](i[101],i[30](i[101]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=re.getTestId(i[101])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",N=i[101]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(ee,q){L(ee,e,q),w(e,t),w(t,n),G.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),J&&J.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[x(n,"click",ce),x(n,"keyup",function(){ki(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)}),x(n,"mouseup",i[52])],E=!0)},p(ee,q){i=ee,O===(O=D(i))&&G?G.p(i,q):(G.d(1),G=O(i),G&&(G.c(),G.m(n,l))),(!V||q[0]&16384)&&a!==(a=i[30](i[101])+"")&&Ae(o,a);const le={};q[0]&16384&&(le.node=i[101]),h.$set(le),(!V||q[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1qodpfy"))&&f(r,"class",d),i[101].externalLink&&i[101].externalLink.url?J||(J=Od(),J.c(),J.m(n,p)):J&&(J.d(1),J=null),i[101].badgeCounter?Z?(Z.p(i,q),q[0]&16384&&R(Z,1)):(Z=Md(i),Z.c(),R(Z,1),Z.m(n,b)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),(!V||q[0]&16512&&v!==(v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1qodpfy"))&&f(n,"class",v),(!V||q[0]&16384&&C!==(C=i[33](i[101])))&&f(n,"href",C),(!V||q[0]&16384&&y!==(y=i[35](i[101],i[30](i[101]))))&&f(n,"title",y),(!V||q[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||q[0]&16384&&I!==(I=re.getTestId(i[101])))&&f(n,"data-testid",I),(!V||q[0]&16512&&N!==(N=i[101]===i[7]))&&f(t,"aria-selected",N)},i(ee){V||(R(h.$$.fragment,ee),R(Z),V=!0)},o(ee){U(h.$$.fragment,ee),U(Z),V=!1},d(ee){ee&&T(e),G.d(),Fe(h),J&&J.d(),Z&&Z.d(),E=!1,Qe(H)}}}function RS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function DS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?OS:VS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function VS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1qodpfy"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1qodpfy")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function OS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[101].icon)+" svelte-1qodpfy"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[101].icon)+" svelte-1qodpfy")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e;return{c(){e=k("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Md(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fd(i){let e,t,n=!i[101].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[NS,IS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(US).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){d&&T(r),~n&&c[n].d(d)}}}function MS(i){let e,t,n=Ve(i[94].entries),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ud(Uc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[94].entries);let c;for(c=0;c<n.length;c+=1){const h=Uc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ud(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Bd(i){let e,t;return e=new tS({props:{navGroup:i[94],expanded:i[94].groupEntry&&rn(i[94].groupEntry[1],i[9]),$$slots:{default:[MS]},$$scope:{ctx:i}}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[94]),l[0]&16896&&(r.expanded=n[94].groupEntry&&rn(n[94].groupEntry[1],n[9])),l[0]&151046080|l[3]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function FS(i){let e,t,n,l,r,a;const o=[iS,nS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(ns,"resize",i[18]),x(ns,"click",i[22]),x(ns,"blur",i[22]),x(ns,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&T(n),c[e].d(d),r=!1,Qe(a)}}}function rn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Wo(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const US=i=>!i.hideFromNav&&i.label,BS=i=>!i.hideFromNav&&i.label;function HS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:N,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async Se=>{if(Se==="pathData")t(5,p=K.pathData);else if(Se==="context")D=K.context;else if(Se==="children")t(0,a=K.children);else if(Se==="selectedNode")t(7,C=K.selectedNode);else if(Se==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(Se==="navParent"){t(12,E=void 0);let Je=K.navParent;if(t(45,H=Je),Je&&Je.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let lt=Je.navHeader,vt=Je;if(lt==="inherit"){for(vt=Je.parent;vt&&vt.navHeader==="inherit";)vt=vt.parent;lt=vt?vt.navHeader:void 0}if(lt instanceof Function){t(12,E={});let pt=lt(re.stripNode(Je),re.stripNode(vt),D);pt instanceof Promise?pt.then(Ht=>{t(12,E=Ht)}):t(12,E=pt)}else if(lt==="auto")t(12,E={label:Je.label,icon:Je.icon});else if(lt&&lt.useTitleResolver&&vt.titleResolver){vt.titleResolver.prerenderFallback?t(12,E={...lt,label:vt.titleResolver.fallbackTitle||"",icon:vt.titleResolver.fallbackIcon}):t(12,E=lt);const pt=me.mapPathToNode(ot.getCurrentPath(),vt);zt.extractDataFromPath(pt).then(Ht=>{const Gt=me.substituteDynamicParamsInObject(Object.assign({},Ht.pathData.context,vt.context),Ht.pathData.pathParams);re.fetchNodeTitleData(vt,Gt).then(Rn=>{t(12,E={...lt,...Rn})}).catch(Rn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...lt,label:Je.label,icon:Je.icon})})})}else t(12,E=await rt(lt,vt))}}}),t(44,N=re.getSideNavAccordionMode(C)))}},r=$t();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,G,J=Pt("store"),Z=Pt("getTranslation");Si(i,Z,K=>t(27,n=K));let ce=!1,Y=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),ee,q=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",le,ue;const ne=K=>re.getNodeLabel(K),Pe=async()=>{window.Luigi.__btpNavTopCntRszObs&&(window.Luigi.__btpNavTopCntRszObs.disconnect(),delete window.Luigi.__btpNavTopCntRszObs),ue&&clearTimeout(ue);const K=l.get(),Se=await zt.getLeftNavData({...K},K);Se&&(l.set(Se),O=p,window.LEFTNAVDATA=Se.children)};an(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,G=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),vn.doOnStoreChange(J,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),vn.doOnStoreChange(J,()=>{Pe()},["navigation.viewgroupdata"]);let K=vi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),vi.onValueChanged(Se=>{t(6,v=Se.isSemiCollapsed)}),Bn.addEventListener("message",Se=>{Se.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})});const se=()=>{if(ee){const K=ee.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Se=ee.querySelector(".fd-navigation__list"),Je=ee.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(lt=>{lt.navGroupId?Se.querySelector(`[navGroupId="${lt.navGroupId}"]`).appendChild(lt):Se.insertBefore(lt,Je)}),ee.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ae=()=>{if(ee){const K=ee.querySelector(".fd-navigation__list > .lui-spacer"),Se=ee.querySelector(".lui-moreItems"),Je=ee.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Je.length>1){ee.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let lt=Je.length-1;lt>0&&(lastNode=Je[lt-1],Je[lt].navGroupId=Je[lt].parentNode.getAttribute("navGroupId"),Se.insertBefore(Je[lt],Se.firstChild),!(K.clientHeight>0));lt--);}}},ke=()=>{const K=Se=>{Se&&ge(Se)};E!=null&&E.renderer&&le&&(E.clearBeforeRender&&t(26,le.innerHTML="",le),E.renderer(le,H,K,{...E,context:p._context}))};ea(()=>{window.Luigi.__btpNavTopCntRszObs||(window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((K,Se)=>{ue&&clearTimeout(ue),v&&(ue=setTimeout(()=>{se(),ae()},100))})),window.Luigi.__btpNavTopCntRszObs.disconnect(),ee&&v?window.Luigi.__btpNavTopCntRszObs.observe(ee):se(),ke()}),Yn(()=>{(!O||O!=p)&&Pe(),t(23,G=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function je(K){if(Y){const Se={},Je=[],lt=q;let vt=[];return K.forEach(pt=>{if(pt[0].startsWith(m))vt.push({isSingleEntry:!0,entries:[pt]});else{const Ht=pt[1].metaInfo.categoryUid;if(Ht&&Ht.indexOf(lt)>0)Je.push(pt);else{const Gt=pt[1].metaInfo.isGroup;Se[Ht]={isSingleEntry:!Gt,title:n(pt[1].metaInfo.label),groupEntry:pt,uid:Ht,entries:[Gt?["undefined",pt[1]]:pt]},vt.push(Se[Ht]),!re.isCollapsedSuperCategory(Ht)&&Gt&&Ie(pt[1],!0)}}}),Je.forEach(pt=>{const Ht=pt[1].metaInfo.categoryUid.split(lt)[0],Gt=Se[Ht];Gt&&(Gt.isSingleEntry&&(Gt.isSingleEntry=!1,Gt.entries=[["undefined",Gt.groupEntry[1]]]),Gt.entries.push(pt))}),vt.filter(pt=>{if(pt.entries&&pt.entries.length>0)for(let Ht=0;Ht<pt.entries.length;Ht++){const[Gt,Rn]=pt.entries[Ht];if(Rn.filter(Wn=>!Wn.hideFromNav&&Wn.label).length>0)return!0}return!1})}else return K}let{sortedChildrenEntries:ye}=e,{sortedVerticalNavGroups:Le}=e;function ze(K){return re.renderIconClassName(K)}function Xe(K){return re.isOpenUIiconName(K)}function De(K){return me.getNodeHref(K,b)}function nt(K,Se){return K&&K.testId?K.testId:re.prepareForTests(Se||K.label)}async function rt(K,Se){const Je=me.mapPathToNode(ot.getCurrentPath(),Se),vt=(await zt.extractDataFromPath(Je)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,vt)}function gt(K,Se){return re.generateTooltipText(K,Se)}function ge(K){r("handleClick",{node:K})}function Ze(K,Se){if(vi.getCollapsed()){let Je,lt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Je=K.metaInfo.label:Je=K.category&&K.category.label||K.category,lt&&!lt.classList.contains("isBlocked")&&(lt.className+=" isBlocked"),Je===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=Je),lt?Bt(Se):Y&&(Wo(Se),Se.closest(".lui-moreItems")||ut())}}function Bt(K){const Se=K.closest(".fd-nested-list__item"),Je=Se.offsetTop,lt=ji.getShellbar().offsetHeight;let vt;ji.isCustomLuigiContainer()?vt=ji.getCustomLuigiContainer().clientHeight:vt=window.innerHeight,setTimeout(()=>{const pt=Se.getElementsByClassName("lui-flyout-sublist")[0],Ht=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Gt=Je+lt-Ht,Rn=vt-Je-Se.offsetHeight+Ht-lt;Gt+pt.offsetHeight>=vt?(pt.style.bottom=Rn+"px",pt.className+=" has-bottom-position"):pt.style.top=Gt-lt+"px"})}function En(){if(h){let K=vi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function on(K){if(K.code==="ArrowRight"){const Je=Ee.getCurrentMicrofrontendIframe();Je&&Je.contentWindow&&Je.contentWindow.focus()}}function sn(K){let Se=H?H.parent:void 0;for(;Se;){if(Se.pathSegment&&Se.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Se});return}Se=Se.parent}console.warn('Could not resolve "up"-node, redirecting to root'),sp.navigate("/")}function Ie(K,Se){vi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,Se,N))}function ut(){ee&&ee.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function it(){t(8,y=vi.closePopupMenu(y)),ut()}function un(K){K&&K.code==="Escape"&&it()}function Kt(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),li()}function Hn(K){const Se=K.code;(Se==="Enter"||Se==="Space")&&Kt()}function jt(K,Se){(K.code==="Enter"||K==="Space")&&Ze(Se,K.currentTarget)}function Jt(K,Se){K.keyCode===bl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&ge(Se)}function li(){if(!re.getBurgerTooltipConfig())return;const[K,Se]=re.getBurgerTooltipConfig(),Je=document.body.classList.contains("lui-semiCollapsible");K&&Se&&Je&&t(11,V=document.body.classList.contains("semiCollapsed")?K:Se)}function xt(K,Se){return rn(K,Se)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function wn(K){if(!K)return;const Se=K.target.parentElement;Se.getAttribute("aria-expanded")==="true"?Se.setAttribute("aria-expanded","false"):(it(),Se.setAttribute("aria-expanded","true")),K.stopPropagation()}function Ci(K){Ye[K?"unshift":"push"](()=>{le=K,t(26,le)})}const di=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},kn=(K,Se)=>Jt(Se,K),yi=K=>{v&&K.target.blur()},Pi=K=>Ie(K,!rn(K,P)),Ii=K=>Ie(K,!rn(K,P)),Ni=(K,Se)=>jt(Se,K),Ti=(K,Se)=>Ze(K,Se.currentTarget),Sl=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Cl=(K,Se)=>Jt(Se,K),yl=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Li=(K,Se)=>Jt(Se,K),Ji=K=>{(K.code==="Enter"||K.code==="Space")&&wn(K)};function Yi(K){Ye[K?"unshift":"push"](()=>{ee=K,t(25,ee)})}function hi(K){Ye[K?"unshift":"push"](()=>{le=K,t(26,le)})}const Pl=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Il=(K,Se)=>Jt(Se,K),Qi=K=>Ie(K,!rn(K,P)),Nl=K=>Ie(K,!rn(K,P)),Tl=(K,Se)=>jt(Se,K),Ll=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ai=(K,Se)=>Jt(Se,K),Al=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},ri=(K,Se)=>Jt(Se,K),Ei=K=>Ze(K,event.currentTarget),gi=(K,Se)=>{re.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ri=(K,Se)=>Jt(Se,K),_i=K=>Kt(),Zi=K=>Kt(),Xi=K=>Hn(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,N=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,ye=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Le=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((Se,Je)=>Se[1].metaInfo.order-Je[1].metaInfo.order),t(13,ye=K),t(14,Le=je(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,ye,Le,m,ge,Ze,En,on,sn,Ie,it,G,ce,ee,le,n,Z,Y,ne,ze,Xe,De,nt,gt,un,Kt,Hn,jt,Jt,xt,wn,h,N,H,b,Bt,Wo,Ci,di,kn,yi,Pi,Ii,Ni,Ti,Sl,Cl,yl,Li,Ji,Yi,hi,Pl,Il,Qi,Nl,Tl,Ll,Ai,Al,ri,Ei,gi,Ri,_i,Zi,Xi]}class hp extends Mt{constructor(e){super(),Ot(this,e,HS,FS,Dt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Wo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const WS=i=>{vn.doOnStoreChange(i.store,()=>{const e=te.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),ie.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),gp(i),!t)return;const n=!!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){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},qS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),Hd=(i,e,t)=>{let n=!0;return ie.trimTrailingSlash(ie.trimLeadingSlash(i)).split("/").forEach((l,r)=>{n&&(r+1>=e.length||!e[r+1].pathSegment||!qS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},gp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{var d;let h=Hd(c.link,t,n);return!h&&((d=c.selectionConditions)!=null&&d.route)&&(h=Hd(c.selectionConditions.route,t,n),h&&(c.selectionConditions.contextCriteria||[]).forEach(g=>{h=h&&kr.get(t._context,g.key)===g.value})),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=na.getDocumentTitle()||r;i.set({title:r}),document.title=Et.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Wd(i,e,t){const n=i.slice();return n[46]=e[t],n[48]=t,n}function qd(i,e,t){const n=i.slice();return n[46]=e[t],n}function zS(i){let e,t,n,l,r=i[1]&&zd(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-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=zd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),n=!1,l()}}}function GS(i){let e,t,n,l,r=i[1]&&Gd(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-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Gd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[30](null)}}}function Gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function Kd(i){let e,t=(!i[3]||i[4])&&jd(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[3]||n[4]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function jd(i){let e;function t(r,a){return r[14]?jS:KS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function KS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(a,o){L(a,e,o),w(e,n),l||(r=x(e,"click",i[33]),l=!0)},p(a,o){o[0]&524564&&t!==(t=a[19](a[4]?a[8]:a[2])+"")&&Ae(n,t)},d(a){a&&T(e),l=!1,r()}}}function jS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r,a;return{c(){e=k("a"),n=Te(t),f(e,"class",l="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,n),r||(a=x(e,"click",i[32]),r=!0)},p(o,c){c[0]&524564&&t!==(t=o[19](o[4]?o[8]:o[2])+"")&&Ae(n,t),c[0]&8&&l!==(l="fd-shellbar__title lui-shellbar-single-app-title "+(o[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",l)},d(o){o&&T(e),r=!1,a()}}}function Jd(i){let e,t,n=i[3]&&Yd(i),l=i[12]&&i[5]&&rh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[3]?n?n.p(r,a):(n=Yd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[12]&&r[5]?l?l.p(r,a):(l=rh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Yd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b=i[4]&&Qd();function m(I,N){return I[14]?YS:JS}let v=m(i),C=v(i),y=i[6]&&i[7]&&th(i),P=i[9]&&i[9].length>0&&nh(i);return{c(){b&&b.c(),e=W(),t=k("div"),n=k("div"),C.c(),l=W(),r=k("div"),a=k("nav"),o=k("ul"),y&&y.c(),c=W(),P&&P.c(),f(n,"class","fd-popover__control"),f(o,"class","fd-menu__list fd-menu__list--no-shadow"),f(a,"class","fd-menu"),f(r,"class","fd-popover__body fd-popover__body--left"),f(r,"aria-hidden",h=!i[13].appSwitcherPopover),f(r,"id","appSwitcherPopover"),f(t,"class",d="fd-popover "+(i[4]&&"lui-keep-main")+" "+(i[9]&&i[9].length===1&&"lui-sat")+" svelte-bbvnsa")},m(I,N){b&&b.m(I,N),L(I,e,N),L(I,t,N),w(t,n),C.m(n,null),w(t,l),w(t,r),w(r,a),w(a,o),y&&y.m(o,null),w(o,c),P&&P.m(o,null),i[39](o),g||(p=x(n,"click",Vt($S)),g=!0)},p(I,N){I[4]?b||(b=Qd(),b.c(),b.m(e.parentNode,e)):b&&(b.d(1),b=null),v===(v=m(I))&&C?C.p(I,N):(C.d(1),C=v(I),C&&(C.c(),C.m(n,null))),I[6]&&I[7]?y?y.p(I,N):(y=th(I),y.c(),y.m(o,c)):y&&(y.d(1),y=null),I[9]&&I[9].length>0?P?P.p(I,N):(P=nh(I),P.c(),P.m(o,null)):P&&(P.d(1),P=null),N[0]&8192&&h!==(h=!I[13].appSwitcherPopover)&&f(r,"aria-hidden",h),N[0]&528&&d!==(d="fd-popover "+(I[4]&&"lui-keep-main")+" "+(I[9]&&I[9].length===1&&"lui-sat")+" svelte-bbvnsa")&&f(t,"class",d)},d(I){I&&(T(e),T(t)),b&&b.d(I),C.d(),y&&y.d(),P&&P.d(),i[39](null),g=!1,p()}}}function Qd(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__separator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function JS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"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[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",Vt(i[37])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function YS(i){let e,t,n,l=i[9]&&i[9].length===1&&Zd(i),r=i[9]&&i[9].length>1&&Xd(i),a=i[9].length>1&&!i[7]&&eh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=we()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Zd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Xd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=eh(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(t),T(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Zd(i){let e,t,n=i[19](i[9][0].title)+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Te(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(e,"click",i[34]),a=!0)},p(c,h){h[0]&524800&&n!==(n=c[19](c[9][0].title)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[24](c[9][0]))&&f(e,"href",r)},d(c){c&&T(e),a=!1,o()}}}function Xd(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=xd(qd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&25832068){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=qd(l,t,a);n[a]?n[a].p(o,r):(n[a]=xd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),o=W(),f(t,"class","fd-button__text"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[46])),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",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=x(e,"click",St(i[35])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[46]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&T(e),d=!1,g()}}}function xd(i){let e=i[46]===i[7]&&i[23](i[46],i[11]),t,n=e&&$d(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&2688&&(e=l[46]===l[7]&&l[23](l[46],l[11])),e?n?n.p(l,r):(n=$d(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function eh(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-button__text"),f(t,"data-testid","luigi-topnav-title"),f(a,"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[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",St(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function th(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=x(t,"click",St(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&T(e),o=!1,c()}}}function nh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=lh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&32296576){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=Wd(l,t,a);n[a]?n[a].p(o,r):(n[a]=lh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function QS(i){let e,t,n,l=i[19](i[46].title)+"",r,a,o,c,h,d;function g(...p){return i[38](i[46],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[46],i[11]):void 0),f(t,"data-testid",o=i[22](i[46])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[46].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[46],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[46]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function ZS(i){let e,t=i[18]&&ih(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function ih(i){let e,t,n=i[21](i[46],i[18],i[48])+"",l;return{c(){e=k("li"),t=new Cr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[46],r[18],r[48])+"")&&t.p(n)},d(r){r&&T(e)}}}function lh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!ie.isFunction(o[10])),e)return ZS;if(t==null&&(t=!!(o[46]!==o[7]&&o[23](o[46],o[11]))),t)return QS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=we()},m(o,c){a&&a.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){o&&T(n),a&&a.d(o)}}}function rh(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function XS(i){let e,t,n,l;function r(d,g){return d[14]?GS:zS}let a=r(i),o=a(i),c=i[2]&&Kd(i),h=i[2]&&Jd(i);return{c(){e=k("div"),o.c(),t=W(),c&&c.c(),n=W(),h&&h.c(),l=we(),f(e,"class","fd-shellbar__branding"),f(e,"role","link"),f(e,"tabindex","0"),f(e,"aria-label","SAP Corporate Portal Home")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),c&&c.m(e,null),L(d,n,g),h&&h.m(d,g),L(d,l,g)},p(d,g){a===(a=r(d))&&o?o.p(d,g):(o.d(1),o=a(d),o&&(o.c(),o.m(e,t))),d[2]?c?c.p(d,g):(c=Kd(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d[2]?h?h.p(d,g):(h=Jd(d),h.c(),h.m(l.parentNode,l)):h&&(h.d(1),h=null)},i:Ue,o:Ue,d(d){d&&(T(e),T(n),T(l)),o.d(),c&&c.d(),h&&h.d(d)}}}const $S=()=>{};function xS(i,e,t){let n;const l=$t();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:N}=e,{addNavHrefForAnchor:V}=e,E,H,D=Pt("getUnsavedChangesModalPromise"),O=Pt("getTranslation");Si(i,O,ge=>t(19,n=ge));let G=Pt("store");const J={closeDropDown:()=>{le("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:N,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(Ze=>{Ze==="pathData"?t(26,N=ge.pathData):Ze==="appSwitcherItems"?t(9,v=ge.appSwitcherItems):Ze==="itemRenderer"?t(10,C=ge.itemRenderer):Ze==="pathParams"?t(11,y=ge.pathParams):Ze==="selectedItem"?t(7,b=ge.selectedItem):Ze==="title"?t(2,o=ge.title):Ze==="defaultSubTitle"?t(25,I=ge.defaultSubTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="defaultTitle"?t(8,m=ge.defaultTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="showMainAppEntry"?t(6,p=ge.showMainAppEntry):Ze==="hasApps"?t(3,c=ge.hasApps):Ze==="keepMainTitle"?t(4,h=ge.keepMainTitle):Ze==="showSubTitle"?t(5,d=ge.showSubTitle):Ze==="hasLogo"&&t(1,a=ge.hasLogo)})},store:G});an(()=>{WS(Z())}),Yn(()=>{(!H||H!=N)&&(gp(Z()),H=N)});function ce(ge,Ze,Bt){return setTimeout(()=>{Ze&&C(ge,Ze.children[Bt],J)}),""}function Y(ge){D().then(()=>{ot.navigateTo(me.applyPathParams(ge,y))},()=>{})}function ee(){D().then(()=>{ot.navigateTo("/")},()=>{})}function q(ge){l("handleClick",{node:ge}),le("appSwitcherPopover")}function le(ge){l("toggleDropdownState",{name:ge})}function ue(ge){return ge.testId?ge.testId:re.prepareForTests(ge.title||ge)}function ne(ge,Ze){if(ge.link){const Bt=me.applyPathParams(ge.link,Ze);if(Bt.indexOf(":")!==0&&Bt.indexOf("/:")===-1)return!0}return!1}function Pe(ge){return me.getNodeHref(ge)}function se(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const ae=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")};function ke(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const je=()=>Y("/"),ye=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")},Le=()=>Y("/"),ze=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&Y(v[0].link)},Xe=()=>le("appSwitcherPopover"),De=()=>le("appSwitcherPopover"),nt=()=>le("appSwitcherPopover"),rt=(ge,Ze)=>{re.handleNavAnchorClickedWithoutMetaKey(Ze)&&Y(ge.link)};function gt(ge){Ye[ge?"unshift":"push"](()=>{E=ge,t(18,E)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"keepMainTitle"in ge&&t(4,h=ge.keepMainTitle),"showSubTitle"in ge&&t(5,d=ge.showSubTitle),"dropDownStates"in ge&&t(13,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(6,p=ge.showMainAppEntry),"selectedItem"in ge&&t(7,b=ge.selectedItem),"defaultTitle"in ge&&t(8,m=ge.defaultTitle),"appSwitcherItems"in ge&&t(9,v=ge.appSwitcherItems),"itemRenderer"in ge&&t(10,C=ge.itemRenderer),"pathParams"in ge&&t(11,y=ge.pathParams),"subTitle"in ge&&t(12,P=ge.subTitle),"defaultSubTitle"in ge&&t(25,I=ge.defaultSubTitle),"pathData"in ge&&t(26,N=ge.pathData),"addNavHrefForAnchor"in ge&&t(14,V=ge.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Y,ee,le,E,n,O,ce,ue,ne,Pe,I,N,q,se,ae,ke,je,ye,Le,ze,Xe,De,nt,rt,gt]}class eC extends Mt{constructor(e){super(),Ot(this,e,xS,XS,Dt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function ah(i,e,t){const n=i.slice();return n[34]=e[t],n}function sh(i){let e,t,n,l,r,a,o=i[0]&&oh(i),c=(i[10]||i[11])&&_h(i);return{c(){e=k("div"),o&&o.c(),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"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(h,d){L(h,e,d),o&&o.m(e,null),L(h,t,d),L(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=oh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=_h(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(T(e),T(t),T(n)),o&&o.d(),c&&c.d()}}}function oh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?nC:tC}let h=c(i),d=h(i),g=i[7].name&&uh(i),p=i[7].description&&fh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=dh(ah(i,b,C));let v=i[12]&&hh(i);return{c(){e=k("div"),d.c(),t=W(),n=k("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=k("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P]&&m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=uh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=fh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=Ve(C[9].items);let P;for(P=0;P<b.length;P+=1){const I=ah(C,b,P);m[P]?m[P].p(I,y):(m[P]=dh(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=hh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(T(e),T(t),T(n),T(r),T(a)),d.d(),g&&g.d(),p&&p.d(),ht(m,C),v&&v.d()}}}function tC(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ni(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&ni(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function uh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&T(e)}}}function fh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function iC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),ni(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&ni(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&&T(e)}}}function lC(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-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function dh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&ch(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),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,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=ch(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function hh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&gh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),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,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){L(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[x(e,"click",St(i[5])),x(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=gh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&T(e),h&&h.d(),o=!1,Qe(c)}}}function gh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function rC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),tt(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){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function aC(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-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function _h(i){let e,t,n=(i[8]||!i[10]&&i[11])&&ph(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=ph(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=mh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function ph(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Te(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,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),a=!1,o()}}}function mh(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=W(),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(a,o){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[x(e,"click",i[15]),x(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Qe(r)}}}function sC(i){let e,t=!i[1]&&sh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=sh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function oC(i,e,t){let n;const l=$t();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");an(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(vn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...ke}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function G(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function J(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout(),l("toggleDropdownState")}function Y({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ee}=e;const q=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},le=ne=>G(ne),ue=ne=>Y(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,ee=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=!!(o&&(o.name||o.email)))},[ee,r,a,G,J,Z,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,le,ue]}class uC extends Mt{constructor(e){super(),Ot(this,e,oC,sC,Dt,{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 bh(i,e,t){const n=i.slice();return n[34]=e[t],n}function vh(i){let e,t,n,l,r,a=i[0]&&wh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=Sh(bh(i,o,g));let h=i[12]&&Ch(i),d=(i[10]||i[11])&&Ph(i);return{c(){e=k("nav"),t=k("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){L(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b]&&c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=wh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=Ve(g[9].items);let b;for(b=0;b<o.length;b+=1){const m=bh(g,o,b);c[b]?c[b].p(m,p):(c[b]=Sh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=Ch(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ph(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),ht(c,g),h&&h.d(),d&&d.d()}}}function wh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Te(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ae(l,n)},d(r){r&&T(e)}}}function kh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function cC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Sh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&kh(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(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,m){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=kh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function Ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&yh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Te(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(g,p){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[x(e,"click",St(i[5])),x(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=yh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,Qe(h)}}}function yh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(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){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function hC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ph(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ih(i),l=i[10]&&!i[8]&&Th(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Ih(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Th(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Ih(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Nh(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=x(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Nh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,h()}}}function Nh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?_C:gC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(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){L(l,e,r)},p(l,r){r[0]&512&&!tt(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&&T(e)}}}function _C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Th(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){L(l,e,r),t||(n=x(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function pC(i){let e,t=!i[1]&&vh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function mC(i,e,t){let n;const l=$t();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");an(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(vn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),ae={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;ae.settings={...ml.userSettingsProfileMenuEntry,...ke}}ae.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ae),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function G(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function J(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout()}function Y({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ee}=e;const q=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},le=ne=>G(ne),ue=ne=>Y(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,ee=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=!!(o&&(o.name||o.email)))},[ee,r,a,G,J,Z,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,le,ue]}class _p extends Mt{constructor(e){super(),Ot(this,e,mC,pC,Dt,{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 Lh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ah(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Dh(Lh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){n=Ve(a[1]);let c;for(c=0;c<n.length;c+=1){const h=Lh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Dh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Eh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?vC:bC}let N=I(i,-1),V=N(i);r=new An({props:{node:i[11]}});let E=p&&Rh(i);function H(){return i[9](i[11])}return{c(){e=k("li"),t=k("div"),V.c(),l=W(),Be(r.$$.fragment),a=W(),o=k("div"),c=k("div"),d=Te(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){L(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=x(e,"click",H),y=!0)},p(D,O){i=D,N===(N=I(i,O))&&V?V.p(i,O):(V.d(1),V=N(i),V&&(V.c(),V.m(t,l)));const G={};O&2&&(G.node=i[11]),r.$set(G),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Rh(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&T(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function bC(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!tt(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function vC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&T(e)}}}function Rh(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function Dh(i){let e,t,n=i[11].label&&Eh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Eh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function wC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N=i[1]&&Ah(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Te(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),N&&N.c(),p=W(),b=k("footer"),m=k("div"),v=k("div"),C=k("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"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(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"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(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),N&&N.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[x(C,"click",i[8]),x(e,"click",Vt(kC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?N?(N.p(V,E),E&2&&R(N,1)):(N=Ah(V),N.c(),R(N,1),N.m(g,null)):N&&(be(),U(N,1,1,()=>{N=null}),ve())},i(V){y||(R(N),y=!0)},o(V){U(N),y=!1},d(V){V&&T(e),N&&N.d(),P=!1,Qe(I)}}}const kC=()=>{};function SC(i,e,t){const n=$t();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Gi.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class pp extends Mt{constructor(e){super(),Ot(this,e,SC,wC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:CC}=wl;function Vh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Oh(i){let e,t,n,l=i[0]&&Mh(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,a){L(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Mh(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Mh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Uh(Vh(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){n=Ve(a[0]);let c;for(c=0;c<n.length;c+=1){const h=Vh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Uh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Fh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?PC:yC}let P=y(i,-1),I=P(i);a=new An({props:{node:i[7]}});function N(){return i[14](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=re.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[x(t,"click",i[13]),x(e,"click",N)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Ae(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,Qe(C)}}}function yC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1811tf3"),tt(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function PC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Uh(i){let e,t,n=i[7].label&&Fh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Fh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Bh(i){let e,t;return e=new pp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function IC(i){let e,t,n,l,r,a=!i[1]&&Oh(i),o=i[1]&&Bh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=we()},m(c,h){a&&a.m(c,h),L(c,e,h),o&&o.m(c,h),L(c,t,h),n=!0,l||(r=x(CC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(be(),U(a,1,1,()=>{a=null}),ve()):a?(a.p(c,h),h&2&&R(a,1)):(a=Oh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Bh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),U(o,1,1,()=>{o=null}),ve())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(T(e),T(t)),a&&a.d(c),o&&o.d(c),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function NC(i,e,t){const n=$t();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Pt("getUnsavedChangesModalPromise"),h=Pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});an(async()=>{fs()}),Yn(async()=>{r||t(0,r=await zt.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else ot.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return Et.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const N=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,fs,a,g,C,y,P,I,N,V]}class mp extends Mt{constructor(e){super(),Ot(this,e,NC,IC,Dt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return fs}}const yn={_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?ie.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=ie.addLeadingSlash(ot.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.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=ie.normalizePath(i),n=ie.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=yn._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=ie.normalizePath(i),t=ie.normalizePath(t),!!yn.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=yn.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 yn.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=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await yn.generateSwitcherNav(e,t)}};function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i,e,t){const n=i.slice();return n[20]=e[t],n}function qh(i,e,t){const n=i.slice();return n[20]=e[t],n}function zh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(qh(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-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=qh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Gh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",St(VC)),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Kh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Gh(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Gh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function jh(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Jh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Yh(Wh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=Wh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Yh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function TC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function LC(i){let e,t,n,l,r;function a(d,g){return d[2]?EC:AC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=k("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=re.getTestId(i[20]))},m(d,g){L(d,e,g),c.m(e,null),L(d,n,g),l||(r=x(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(T(e),T(n)),c.d(),l=!1,r()}}}function AC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){L(d,e,g),w(e,t),w(t,l),c||(h=x(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Ae(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&T(e),c=!1,h()}}}function EC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function RC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Yh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:RC,then:LC,catch:TC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=we(),n.block.c()},m(l,r){L(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[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Qh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xh(Hh(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-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Zh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",i[17]),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Xh(i){let e,t=i[20].position==="bottom"&&Zh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Zh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function DC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&zh(i),c=i[3]&&i[3].length===0&&i[10]&&jh(),h=i[3]&&i[3].length&&Jh(i),d=i[0]&&i[0].length&&Qh(i);return{c(){e=k("nav"),o&&o.c(),t=W(),n=k("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){L(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=zh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=jh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Jh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Qh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:Ue,o:Ue,d(g){g&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const VC=()=>{};function OC(i,e,t){let n,l=Ue,r=()=>(l(),l=zo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=$t();function P(O){y("onActionClick",{node:O})}function I(O,G){y("goToOption",{option:O,selectedOption:G})}const N=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,N,V,E,H,D]}class bp extends Mt{constructor(e){super(),Ot(this,e,OC,DC,Dt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function $h(i){let e,t,n,l=!i[9]&&xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(be(),U(l,1,1,()=>{l=null}),ve()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=xh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=eg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function xh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?FC:MC}let p=g(i),b=p(i);return a=new bp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=W(),r=k("div"),Be(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),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-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=x(n,"click",Vt(JC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&T(e),b.d(),Fe(a),h=!1,d()}}}function MC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?BC:UC}let c=o(i),h=c(i);return{c(){e=k("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),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(d,g){L(d,e,g),h.m(e,null),r||(a=x(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function FC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?zC:qC}let h=c(i),d=h(i);return{c(){e=k("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){L(g,e,p),d.m(e,null),a||(o=x(e,"click",St(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&T(e),d.d(),a=!1,o()}}}function UC(i){let e,t;function n(a,o){return a[4]?HC:WC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function BC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function HC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function WC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function qC(i){let e,t;function n(a,o){return a[4]?GC:KC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function zC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function GC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function KC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&tg(i),N=i[4]&&ng(i);return d=new bp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),I&&I.c(),o=W(),N&&N.c(),c=W(),h=k("div"),Be(d.$$.fragment),g=W(),p=k("footer"),b=k("div"),m=k("div"),v=k("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"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(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"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(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),N&&N.m(a,null),w(t,c),w(t,h),Me(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[x(v,"click",i[13]),x(e,"click",Vt(YC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=tg(V),I.c(),I.m(a,o)),V[4]?N?N.p(V,E):(N=ng(V),N.c(),N.m(a,null)):N&&(N.d(1),N=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&T(e),I&&I.d(),N&&N.d(),Fe(d),y=!1,Qe(P)}}}function tg(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function ng(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function jC(i){let e,t,n=i[3]&&$h(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=$h(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}const JC=()=>{},YC=()=>{};function QC(i,e,t){let n,l;const r=$t();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:N}=e,V,E=Pt("getUnsavedChangesModalPromise"),H=Pt("store"),D=Pt("getTranslation");Si(i,D,ae=>t(16,l=ae));let O=!1,{addNavHrefForAnchor:G}=e,J;an(async()=>{vn.doOnStoreChange(H,async()=>{const ae=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ae),!!a&&(t(6,C=ie.isFunction(ae.customOptionsRenderer)?ae.customOptionsRenderer:void 0),t(7,y=ie.isFunction(ae.customSelectedOptionRenderer)?ae.customSelectedOptionRenderer:void 0),t(5,h=ae),t(1,g=void 0),ae)){t(27,p=ae.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const ke=ot.getCurrentPath();t(20,m=ae.fallbackLabelResolver),yn.resetFallbackLabelCache(),ae.lazyloadOptions||await Y(),yn.isContextSwitcherDetailsView(ke,ae.parentNodePath)&&await ee(ke)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ae=>ee(ae)),Bn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Y())}),t(21,N=h.defaultLabel)}),Yn(()=>{O!==I&&(O=I,Y()),t(14,J=o.contextSwitcherPopover||!1)});function Z(ae,ke,je){return ae?Promise.resolve(ae):yn.getFallbackLabel(ke,je)}function ce(ae){return me.getNodeHref(ae,v)}async function Y(){t(1,g=await yn.fetchOptions(g));const ae=h||{},ke=ae.parentNodePath,je=ae.fallbackLabelResolver,ye=ot.getCurrentPath();t(2,b=await yn.getSelectedOption(ye,g,ke)),t(4,c=await yn.getSelectedLabel(ye,g,ke,je)),await yn.getSelectedNode(ye,g,ke),V=ae.preserveSubPathOnSwitch}async function ee(ae){const ke=h||{},je=ke.parentNodePath,ye=ke.fallbackLabelResolver;t(2,b=await yn.getSelectedOption(ae,g,je)),t(4,c=await yn.getSelectedLabel(ae,g,je,ye)),await yn.getSelectedNode(ae,g,je)}async function q(ae){let ke=ae.detail.node;ke.clickHandler&&!await ke.clickHandler(ke)||(setTimeout(()=>{le(ke.link)}),P&&r("toggleDropdownState"))}function le(ae){E().then(()=>{ot.navigateTo(ae)},()=>{})}function ue(ae){let ke=ae.detail.option,je=ae.detail.selectedOption;E().then(()=>{V&&je?ot.navigateTo(yn.getNodePathFromCurrentPath(ke,je)):ot.navigateTo(ke.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Y()}const Pe=()=>{n&&ne()},se=()=>{n&&ne()};return i.$$set=ae=>{"contextSwitcherEnabled"in ae&&t(3,a=ae.contextSwitcherEnabled),"dropDownStates"in ae&&t(8,o=ae.dropDownStates),"selectedLabel"in ae&&t(4,c=ae.selectedLabel),"config"in ae&&t(5,h=ae.config),"actions"in ae&&t(0,d=ae.actions),"options"in ae&&t(1,g=ae.options),"selectedOption"in ae&&t(2,b=ae.selectedOption),"fallbackLabelResolver"in ae&&t(20,m=ae.fallbackLabelResolver),"pathParams"in ae&&t(22,v=ae.pathParams),"customOptionsRenderer"in ae&&t(6,C=ae.customOptionsRenderer),"customSelectedOptionRenderer"in ae&&t(7,y=ae.customSelectedOptionRenderer),"isMobile"in ae&&t(9,P=ae.isMobile),"contextSwitcherToggle"in ae&&t(23,I=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,N=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,G=ae.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,G,q,ue,ne,J,n,l,D,Z,ce,m,N,v,I,Y,ee,le,p,Pe,se]}class vp extends Mt{constructor(e){super(),Ot(this,e,QC,jC,Dt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:ZC}=wl;function ig(i,e,t){const n=i.slice();return n[22]=e[t],n}function lg(i){let e,t,n,l=!i[2]&&rg(i),r=i[2]&&i[3].productSwitcherPopover&&fg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=rg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=fg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function rg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?$C:XC}let I=P(i,-1),N=I(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=ug(ig(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),d=W(),g=k("div"),p=k("div"),b=k("ul");for(let H=0;H<E.length;H+=1)E[H].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",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Un(i[9])+" svelte-1mzhx88"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"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(H,D){L(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O]&&E[O].m(b,null);C||(y=[x(r,"click",Vt(i[7])),x(l,"click",Vt(ay))],C=!0)},p(H,D){if(I===(I=P(H,D))&&N?N.p(H,D):(N.d(1),N=I(H),N&&(N.c(),N.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const G=ig(H,V,O);E[O]?E[O].p(G,D):(E[O]=ug(G),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Un(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&T(e),N.d(),ht(E,H),C=!1,Qe(y)}}}function XC(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!tt(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&&T(e)}}}function $C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function ag(i){let e,t,n,l,r,a;function o(g,p){return g[4]?ey:xC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=k("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88"),f(e,"data-testid",l=i[14](i[22]))},m(g,p){L(g,e,p),h.m(e,null),w(e,t),r||(a=x(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":"")+" svelte-1mzhx88")&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&T(e),h.d(),r=!1,a()}}}function xC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?ny:ty}let g=d(i,-1),p=g(i),b=h&&sg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ae(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=sg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(T(e),T(n),T(l)),p.d(),b&&b.d()}}}function ey(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?ly:iy}let v=m(i,-1),C=v(i),y=d&&og(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Te(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-1mzhx88"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link svelte-1mzhx88")},m(P,I){L(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=x(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=og(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function ty(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function ny(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-1mzhx88")},m(n,l){L(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-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function sg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function iy(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1mzhx88")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function ly(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-1mzhx88")},m(n,l){L(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-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function og(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ug(i){let e,t=i[22].label&&ag(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function fg(i){let e,t;return e=new pp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Be(e.$$.fragment)},m(n,l){Me(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||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ry(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&lg(i);return{c(){a&&a.c(),t=we()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=x(ZC,"resize",cs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=lg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(be(),U(a,1,1,()=>{a=null}),ve())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){o&&T(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const ay=()=>{};function sy(i,e,t){const n=$t();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Pt("store"),h=Pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;an(async()=>{vn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ot.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Et.getTranslation(D.label)}function P(D){return Et.getTranslation(D.subTitle)}function I(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function N(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,cs,d,v,C,y,P,N,V,E,H]}class wp extends Mt{constructor(e){super(),Ot(this,e,sy,ry,Dt,{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 cs}}function cg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function oy(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 fd-shellbar__search-field-input svelte-1gf05kv"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),i[15](e),e.focus(),t||(n=x(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function uy(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 fd-shellbar__search-field-input svelte-1gf05kv"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){L(t,e,n),e.focus()},p:Ue,d(t){t&&T(e)}}}function fy(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[19](e)},p:Ue,d(t){t&&T(e),i[19](null)}}}function cy(i){let e,t,n,l=i[4]&&dg(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1gf05kv"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1gf05kv"),f(e,"aria-hidden",n=!i[5])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=dg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function dg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hg(cg(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){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=Ve(l[4]);let a;for(a=0;a<t.length;a+=1){const o=cg(l,t,a);n[a]?n[a].p(o,r):(n[a]=hg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[18](null)}}}function dy(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function hy(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title svelte-1gf05kv"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1gf05kv")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",St(_y)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Ae(r,l),b&16&&c!==(c=p[21].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function hg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?dy:hy}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-1gf05kv"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,Qe(l)}}}function gy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?uy:oy}let I=P(i),N=I(i);function V(D,O){return D[8].isCustomSearchRenderer?fy:cy}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=W(),a=k("div"),o=W(),H.c(),d=W(),g=k("div"),p=k("div"),b=k("button"),m=k("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-1gf05kv"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1gf05kv"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,l),N.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),L(D,d,O),L(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[x(window,"click",i[9]),x(window,"blur",i[9]),x(n,"click",Vt(py)),x(b,"click",i[6]),x(p,"click",Vt(my))],C=!0)},p(D,[O]){I===(I=P(D))&&N?N.p(D,O):(N.d(1),N=I(D),N&&(N.c(),N.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:Ue,o:Ue,d(D){D&&(T(e),T(d),T(g)),N.d(),H.d(),C=!1,Qe(y)}}}const _y=()=>{},py=()=>{},my=()=>{};function by(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=$t();let g={},p;an(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Yn(()=>{t(7,g=h),p||t(8,p=new up(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){Ye[D?"unshift":"push"](()=>{a=D,t(0,a)})}const N=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Ye[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ye[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,N,V,E,H]}class vy extends Mt{constructor(e){super(),Ot(this,e,by,gy,Dt,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function gg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function wy(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=k("input"),t=W(),n=k("div"),l=k("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=k("div"),o=k("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=k("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-a47lg3"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-a47lg3"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),i[23](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,h,b),d||(g=[x(e,"keyup",i[22]),x(e,"input",i[24]),x(l,"click",i[17]),x(o,"click",i[15])],d=!0)},p:Ue,d(p){p&&(T(e),T(t),T(n),T(r),T(a),T(c),T(h)),i[23](null),d=!1,Qe(g)}}}function ky(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 fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function Sy(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[28](e)},p:Ue,d(t){t&&T(e),i[28](null)}}}function Cy(i){let e,t,n,l=i[3]&&_g(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-a47lg3"),f(e,"aria-hidden",n=!i[4])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=_g(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function _g(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=pg(gg(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){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=gg(l,t,a);n[a]?n[a].p(o,r):(n[a]=pg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[27](null)}}}function yy(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function Py(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(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){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",St(Ny)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Ae(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function pg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?yy:Py}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-a47lg3"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,Qe(l)}}}function mg(i){let e,t,n,l,r,a,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-a47lg3")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[x(n,"click",i[6]),x(t,"click",Vt(Ly))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function bg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-a47lg3"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=x(t,"click",Vt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Ae(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-a47lg3")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function Iy(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?ky:wy}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?Sy:Cy}let y=C(i),P=y(i),I=!i[5]&&mg(i),N=i[5]&&bg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),N&&N.c(),d=we(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-a47lg3"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),I&&I.m(V,E),L(V,h,E),N&&N.m(V,E),L(V,d,E),g||(p=[x(window,"click",i[13]),x(window,"blur",i[13]),x(n,"click",Vt(Ty))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=mg(V),I.c(),I.m(h.parentNode,h)),V[5]?N?N.p(V,E):(N=bg(V),N.c(),N.m(d.parentNode,d)):N&&(N.d(1),N=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),I&&I.d(V),N&&N.d(V),g=!1,Qe(p)}}}const Ny=()=>{},Ty=()=>{},Ly=()=>{};function Ay(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=$t();let g=ml.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=Pt("getTranslation");Si(i,m,ue=>t(10,n=ue));let v;an(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ue=document.querySelector(".lui-global-search");ue&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ue)}),Yn(()=>{t(8,b=h),v||t(9,v=new up(b,d)),v.getCustomRenderer(),N()});function C(ue,ne,Pe){v.renderCustomSearchItem(ue,ne,Pe)}function y(){v.closeSearchResult()}function P(ue){v.onKeyUp(ue,r)}function I(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function N(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(ue){v.onSearchResultItemSelected(ue)}function H(ue,ne){v.handleKeydown(ue,ne,a,c)}function D(ue){v.onActionClick(ue)}function O(){v.toggleSearch(p,r,a,o)}const G=ue=>P(ue);function J(ue){Ye[ue?"unshift":"push"](()=>{a=ue,t(0,a)})}const Z=()=>N(),ce=(ue,ne)=>E(ue),Y=(ue,ne)=>H(ue,ne);function ee(ue){Ye[ue?"unshift":"push"](()=>{c=ue,t(2,c)})}function q(ue){Ye[ue?"unshift":"push"](()=>{o=ue,t(1,o)})}const le=()=>O();return i.$$set=ue=>{"searchResult"in ue&&t(3,l=ue.searchResult),"displaySearchResult"in ue&&t(4,r=ue.displaySearchResult),"inputElem"in ue&&t(0,a=ue.inputElem),"customSearchItemRendererSlot"in ue&&t(1,o=ue.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ue&&t(2,c=ue.customSearchItemRendererSlotContainer),"globalSearchConfig"in ue&&t(20,h=ue.globalSearchConfig),"isSearchFieldVisible"in ue&&t(5,p=ue.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,N,V,E,H,h,D,G,J,Z,ce,Y,ee,q,le]}class Ey extends Mt{constructor(e){super(),Ot(this,e,Ay,Iy,Dt,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function vg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?Dy:Ry}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ry(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),tt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function Dy(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){L(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&&T(e)}}}function wg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ii({props:{node:i[0]}}),{c(){e=k("span"),n=Te(t),l=W(),Be(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&T(e),Fe(r)}}}function Vy(i){let e,t,n,l=i[0].icon&&vg(i),r=(!i[0].icon||i[0].showLabel)&&wg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=vg(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=wg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Oy(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Mt{constructor(e){super(),Ot(this,e,Oy,Vy,Dt,{node:0})}}const{Boolean:kp,window:kg}=wl;function Sg(i,e,t){const n=i.slice();return n[110]=e[t],n[112]=t,n}function Cg(i,e,t){const n=i.slice();return n[110]=e[t],n[113]=e,n[112]=t,n}function My(i){let e,t;return e=new _p({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[102]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&yg(i);function v(E){i[60](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new eC({props:C}),Ye.push(()=>yt(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Pg(i),P=(!i[0]||i[1])&&Ig(i),I=(i[18]||i[7]&&i[30].length>0)&&Tg(i),N=(i[0]||i[16])&&Gg(i),V=i[12]&&Kg(i);return{c(){e=k("div"),t=k("div"),m&&m.c(),n=W(),Be(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=k("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),N&&N.c(),g=W(),V&&V.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[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-z9ma68"),f(e,"tabindex","0")},m(E,H){L(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),I&&I.m(c,null),w(c,d),N&&N.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=yg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],Ct(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=Pg(E),y.c(),R(y,1),y.m(e,o)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Ig(E),P.c(),R(P,1),P.m(c,h)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),E[18]||E[7]&&E[30].length>0?I?(I.p(E,H),H[0]&1074004096&&R(I,1)):(I=Tg(E),I.c(),R(I,1),I.m(c,d)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[0]||E[16]?N?(N.p(E,H),H[0]&65537&&R(N,1)):(N=Gg(E),N.c(),R(N,1),N.m(c,g)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Kg(E),V.c(),R(V,1),V.m(c,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-z9ma68"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(N),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(N),U(V),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),I&&I.d(),N&&N.d(),V&&V.d()}}}function yg(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-z9ma68"),f(e,"tabindex","0"),f(e,"title",i[25]),f(e,"type","button")},m(r,a){L(r,e,a),w(e,t),n||(l=x(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),n=!1,l()}}}function Pg(i){let e,t,n,l,r,a,o,c;function h(v){i[61](v)}function d(v){i[62](v)}function g(v){i[63](v)}function p(v){i[64](v)}function b(v){i[65](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new Ey({props:m}),Ye.push(()=>yt(t,"isSearchFieldVisible",h)),Ye.push(()=>yt(t,"searchResult",d)),Ye.push(()=>yt(t,"displaySearchResult",g)),Ye.push(()=>yt(t,"inputElem",p)),Ye.push(()=>yt(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Be(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],Ct(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],Ct(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Ct(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],Ct(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],Ct(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&T(e),Fe(t)}}}function Ig(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Ng(i);function a(c){i[77](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new vp({props:o}),Ye.push(()=>yt(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[78]),{c(){r&&r.c(),e=W(),Be(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Me(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Ng(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],Ct(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){c&&T(e),r&&r.d(c),Fe(t,c)}}}function Ng(i){let e,t,n,l,r,a,o;function c(m){i[69](m)}function h(m){i[70](m)}function d(m){i[71](m)}function g(m){i[72](m)}function p(m){i[73](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.customSearchItemRendererSlot=i[22]),e=new vy({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"searchResult",h)),Ye.push(()=>yt(e,"displaySearchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[74]),e.$on("handleSearchNavigation",i[75]),e.$on("closeSearchResult",i[76]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],Ct(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],Ct(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],Ct(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],Ct(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Tg(i){let e,t,n,l=i[7]&&i[30].length>0&&Lg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Dg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Lg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),U(l,1,1,()=>{l=null}),ve()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Dg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Lg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Rg(Cg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Cg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Ag(i){let e,t,n,l;const r=[By,Uy],a=[];function o(c,h){return c[110].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function Uy(i){let e,t,n,l,r;const a=[Wy,Hy],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=k("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(e),o[t].d()}}}function By(i){let e=i[110].visibleChildren.filter(jg).length>0,t,n,l=e&&Eg(i);return{c(){l&&l.c(),t=we()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[110].visibleChildren.filter(jg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Eg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(t),l&&l.d(r)}}}function Hy(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[83](v,i[110],i[113],i[112])}let b={};i[110]!==void 0&&(b.node=i[110]),t=new jo({props:b}),Ye.push(()=>yt(t,"node",p)),r=new An({props:{node:i[110]}});function m(){return i[84](i[110])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[110],i[49](i[110]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=re.getTestId(i[110])),f(e,"type","button")},m(v,C){L(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=x(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[110],Ct(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[110]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[110],i[49](i[110]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=re.getTestId(i[110])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&T(e),Fe(t),Fe(r),d=!1,g()}}}function Wy(i){let e,t,n,l;const r=[zy,qy],a=[];function o(c,h){return c[110].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){c&&T(n),a[e].d(c)}}}function qy(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function zy(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[81](C,i[110],i[113],i[112])}let m={};i[110]!==void 0&&(m.node=i[110]),t=new jo({props:m}),Ye.push(()=>yt(t,"node",b)),r=new An({props:{node:i[110]}});function v(...C){return i[82](i[110],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[110])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"title",c=i[51](i[110],i[49](i[110]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=re.getTestId(i[110]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=x(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[110],Ct(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[110]),r.$set(I),(!d||y[0]&128&&a!==(a=i[50](i[110])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[110],i[49](i[110]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=re.getTestId(i[110])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&T(e),Fe(t),Fe(r),g=!1,p()}}}function Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(D){i[79](D,i[110],i[113],i[112])}let E={};i[110]!==void 0&&(E.node=i[110]),r=new jo({props:E}),Ye.push(()=>yt(r,"node",V)),c=new An({props:{node:i[110]}});function H(){return i[80](i[112])}return v=new mp({props:{node:i[110],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Be(r.$$.fragment),o=W(),Be(c.$$.fragment),b=W(),m=k("div"),Be(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[110],i[49](i[110]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(l,"aria-controls","dropDownPopover-"+i[112]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[112]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.getTestId(i[110])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[112]}`]),f(m,"id","dropDownPopover-"+i[112]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,I||(N=[x(l,"click",H),x(n,"click",Vt(l3))],I=!0)},p(D,O){i=D;const G={};!a&&O[0]&128&&(a=!0,G.node=i[110],Ct(()=>a=!1)),r.$set(G);const J={};O[0]&128&&(J.node=i[110]),c.$set(J),(!P||O[0]&128&&h!==(h=i[51](i[110],i[49](i[110]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[110]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[112]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[110])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[110]),O[1]&1&&(Z.pathParams=i[31]),O[0]&134217728&&(Z.addNavHrefForAnchor=i[27]),v.$set(Z),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[112]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&T(e),Fe(r),Fe(c),Fe(v),I=!1,Qe(N)}}}function Rg(i){let e,t,n=!(i[110].hideFromNav||i[5]&&i[110].globalNav)&&Ag(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[110].hideFromNav||l[5]&&l[110].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ag(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Dg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D;h=new An({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Vg(i),G=i[46]&&(!i[0]||i[1])&&Og(i),J=i[7]&&Mg(i),Z=i[12]&&Hg(i),ce=i[12]&&Wg(i),Y=i[14]&&qg(i),ee=(!i[0]||i[1])&&zg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("button"),o=k("i"),c=W(),Be(h.$$.fragment),g=W(),p=k("div"),b=k("nav"),m=k("ul"),O&&O.c(),v=W(),G&&G.c(),C=W(),J&&J.c(),y=W(),Z&&Z.c(),I=W(),ce&&ce.c(),N=W(),Y&&Y.c(),V=W(),ee&&ee.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-z9ma68"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"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(m,"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",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-z9ma68"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(q,le){L(q,e,le),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),G&&G.m(m,null),w(m,C),J&&J.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,N),Y&&Y.m(n,null),w(n,V),ee&&ee.m(n,null),E=!0,H||(D=[x(a,"click",i[85]),x(l,"click",Vt(r3))],H=!0)},p(q,le){const ue={};le[0]&2048&&(ue.node=q[11]),h.$set(ue),(!E||le[0]&64&&d!==(d=q[6].overflowPopover||!1))&&f(a,"aria-expanded",d),q[18]&&!q[19]&&!q[29]?O?O.p(q,le):(O=Vg(q),O.c(),O.m(m,v)):O&&(O.d(1),O=null),q[46]&&(!q[0]||q[1])?G?G.p(q,le):(G=Og(q),G.c(),G.m(m,C)):G&&(G.d(1),G=null),q[7]?J?(J.p(q,le),le[0]&128&&R(J,1)):(J=Mg(q),J.c(),R(J,1),J.m(m,y)):J&&(be(),U(J,1,1,()=>{J=null}),ve()),q[12]?Z?Z.p(q,le):(Z=Hg(q),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!E||le[0]&64&&P!==(P=!q[6].overflowPopover))&&f(p,"aria-hidden",P),q[12]?ce?(ce.p(q,le),le[0]&4096&&R(ce,1)):(ce=Wg(q),ce.c(),R(ce,1),ce.m(n,N)):ce&&(be(),U(ce,1,1,()=>{ce=null}),ve()),q[14]?Y?(Y.p(q,le),le[0]&16384&&R(Y,1)):(Y=qg(q),Y.c(),R(Y,1),Y.m(n,V)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),!q[0]||q[1]?ee?(ee.p(q,le),le[0]&3&&R(ee,1)):(ee=zg(q),ee.c(),R(ee,1),ee.m(n,null)):ee&&(be(),U(ee,1,1,()=>{ee=null}),ve())},i(q){E||(R(h.$$.fragment,q),R(J),R(ce),R(Y),R(ee),E=!0)},o(q){U(h.$$.fragment,q),U(J),U(ce),U(Y),U(ee),E=!1},d(q){q&&T(e),Fe(h),O&&O.d(),G&&G.d(),J&&J.d(),Z&&Z.d(),ce&&ce.d(),Y&&Y.d(),ee&&ee.d(),H=!1,Qe(D)}}}function Vg(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-z9ma68"></i> <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,a){L(r,e,a),w(e,t),n||(l=x(t,"click",Vt(i[86])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Og(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=k("li"),t=k("a"),n=k("i"),r=W(),a=k("span"),c=Te(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-z9ma68"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){L(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=x(t,"click",Vt(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-z9ma68")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&T(e),h=!1,d()}}}function Mg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Bg(Sg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Sg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Bg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Fg(i){let e,t,n,l,r;const a=[Ky,Gy],o=[];function c(h,d){return d[0]&128&&(e=null),!h[110].isCat||h[110].separator?0:(e==null&&(e=h[110].visibleChildren.filter(i3).length>0),e?1:-1)}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=we()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(be(),U(o[g],1,1,()=>{o[g]=null}),ve()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(l),~t&&o[t].d(h)}}}function Gy(i){let e,t,n,l,r,a,o,c,h=i[49](i[110])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[110])),l?Jy:jy}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new An({props:{node:i[110]}});function N(){return i[88](i[110])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),b=W(),f(n,"class","fd-top-nav__icon svelte-z9ma68"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[110])),f(t,"title",p=i[51](i[110],i[49](i[110]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=x(t,"click",St(N)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[110]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[110])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[110])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[110],i[49](i[110]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,C()}}}function Ky(i){let e,t,n,l,r;const a=[Qy,Yy],o=[];function c(h,d){return h[110].separator?1:0}return t=c(i),n=o[t]=a[t](i),{c(){e=k("li"),n.c(),l=W(),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(e),o[t].d()}}}function jy(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[110].icon)||f(e,"src",t),f(e,"alt",n=i[110].altText?i[110].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[110].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[110].altText?l[110].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Jy(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[110].icon&&n[48](n[110])?n[47](n[110].icon):"")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Yy(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function Qy(i){let e,t,n=!i[48](i[110]),l,r,a,o,c,h=i[49](i[110])+"",d,g,p,b,m,v,C,y=n&&Ug(i);r=new An({props:{node:i[110]}});function P(){return i[87](i[110])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Te(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[110])),f(e,"class",p="fd-menu__link "+(i[110]===i[8]?"is-selected":"")),f(e,"data-testid",b=re.getTestId(i[110])+"-mobile")},m(I,N){L(I,e,N),w(e,t),y&&y.m(t,null),w(t,l),Me(r,t,null),w(e,o),w(e,c),w(c,d),m=!0,v||(C=x(e,"click",St(P)),v=!0)},p(I,N){i=I,N[0]&128&&(n=!i[48](i[110])),n?y?y.p(i,N):(y=Ug(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};N[0]&128&&(V.node=i[110]),r.$set(V),(!m||N[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[110].icon&&i[48](i[110])?i[47](i[110].icon):"")+" svelte-z9ma68"))&&f(t,"class",a),(!m||N[0]&128)&&h!==(h=i[49](i[110])+"")&&Ae(d,h),(!m||N[0]&128&&g!==(g=i[50](i[110])))&&f(e,"href",g),(!m||N[0]&384&&p!==(p="fd-menu__link "+(i[110]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||N[0]&128&&b!==(b=re.getTestId(i[110])+"-mobile"))&&f(e,"data-testid",b)},i(I){m||(R(r.$$.fragment,I),m=!0)},o(I){U(r.$$.fragment,I),m=!1},d(I){I&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Ug(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[110].icon)||f(e,"src",t),f(e,"alt",n=i[110].altText?i[110].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[110].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[110].altText?l[110].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Bg(i){let e,t,n=!(i[110].hideFromNav||i[5]&&i[110].globalNav)&&Fg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[110].hideFromNav||l[5]&&l[110].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Fg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Hg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?Xy:Zy}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=k("li"),t=k("a"),p.c(),l=W(),r=k("span"),o=Te(a),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,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=x(t,"click",Vt(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ae(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function Zy(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-z9ma68"),f(e,"class","fd-top-nav__icon sap-icon svelte-z9ma68")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Xy(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-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Wg(i){let e,t,n;function l(a){i[89](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[90]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function qg(i){let e,t;return e=new mp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(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||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function zg(i){let e,t,n,l,r;function a(d){i[91](d)}function o(d){i[92](d)}function c(d){i[93](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new vp({props:h}),Ye.push(()=>yt(e,"dropDownStates",a)),Ye.push(()=>yt(e,"selectedLabel",o)),Ye.push(()=>yt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[94]),{c(){Be(e.$$.fragment)},m(d,g){Me(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],Ct(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],Ct(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],Ct(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Gg(i){let e,t,n,l,r;const a=[xy,$y],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&ie.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[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(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&T(e),o[n].d()}}}function $y(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,N){return I[17].picture?t3:e3}let y=C(i),P=y(i);return g=new _p({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[99]),g.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),h=W(),d=k("div"),Be(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-z9ma68"),f(r,"aria-expanded",a=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(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-z9ma68")},m(I,N){L(I,e,N),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Me(g,d,null),b=!0,m||(v=[x(r,"click",i[98]),x(n,"click",Vt(s3)),x(d,"click",Vt(i[59]))],m=!0)},p(I,N){y===(y=C(I))&&P?P.p(I,N):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||N[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||N[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||N[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};N[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||N[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&T(e),P.d(),Fe(g),m=!1,Qe(v)}}}function xy(i){let e,t,n,l,r=(i[17].picture?"":i[17].initials||"")+"",a,o,c,h,d,g,p,b,m,v,C,y;return b=new uC({props:{addNavHrefForAnchor:i[27]}}),b.$on("toggleDropdownState",i[97]),b.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("span"),a=Te(r),g=W(),p=k("div"),Be(b.$$.fragment),f(l,"class",o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(i[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"),f(l,"style",c=i[17].picture?`background-image:url('${i[17].picture}')`:""),f(n,"class","fd-button fd-button--transparent fd-shellbar__button fd-user-menu__control svelte-z9ma68"),f(n,"aria-controls","profilePopover"),f(n,"aria-expanded","true"),f(n,"aria-haspopup","true"),f(n,"title",h=i[17].name||void 0),f(n,"tabindex","0"),f(n,"data-testid",d=i[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"),f(t,"class","fd-popover__control"),f(p,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right"),f(p,"aria-hidden",m=!i[6].profilePopover),f(p,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-z9ma68")},m(P,I){L(P,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(e,g),w(e,p),Me(b,p,null),v=!0,C||(y=[x(n,"click",i[95]),x(n,"keydown",i[96]),x(t,"click",Vt(a3)),x(p,"click",Vt(i[58]))],C=!0)},p(P,I){(!v||I[0]&131072)&&r!==(r=(P[17].picture?"":P[17].initials||"")+"")&&Ae(a,r),(!v||I[0]&131072&&o!==(o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(P[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"))&&f(l,"class",o),(!v||I[0]&131072&&c!==(c=P[17].picture?`background-image:url('${P[17].picture}')`:""))&&f(l,"style",c),(!v||I[0]&131072&&h!==(h=P[17].name||void 0))&&f(n,"title",h),(!v||I[0]&131072&&d!==(d=P[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"))&&f(n,"data-testid",d);const N={};I[0]&134217728&&(N.addNavHrefForAnchor=P[27]),b.$set(N),(!v||I[0]&64&&m!==(m=!P[6].profilePopover))&&f(p,"aria-hidden",m)},i(P){v||(R(b.$$.fragment,P),v=!0)},o(P){U(b.$$.fragment,P),v=!1},d(P){P&&T(e),Fe(b),C=!1,Qe(y)}}}function e3(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){L(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&&T(e)}}}function t3(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-z9ma68"),ni(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&ni(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function Kg(i){let e,t,n;function l(a){i[100](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[101]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function n3(i){let e,t,n,l,r,a;const o=[Fy,My],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(kg,"click",i[41]),x(kg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(be(),U(c[p],1,1,()=>{c[p]=null}),ve(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){d&&T(n),c[e].d(d),r=!1,Qe(a)}}}const i3=i=>!i.hideFromNav&&i.label,jg=i=>!i.hideFromNav&&i.label,l3=()=>{},r3=()=>{},a3=()=>{},s3=()=>{};function o3(i,e,t){const n=$t();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:I}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:G={}}=e,{globalSearchConfig:J}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:ce}=e,{inputElem:Y}=e,{customSearchItemRendererSlot:ee}=e,{displaySearchResult:q}=e,{searchResult:le}=e,{burgerTooltip:ue}=e,{responsiveShellbarPadding:ne}=e,Pe=Pt("store"),se=!1,ae,ke,je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const Q=await re.generateTopNavNodes(p);t(7,C=Q.children),t(8,y=Q.selectedNode),t(9,P=Q.visibleNodeCount),t(11,N=Q.totalBadgeNode),t(10,I=Q.globalNavNodeCount),window.TOPNAVDATA=Q.children,b=p}},ze=()=>{t(1,a=_l.isLoggedIn())};an(()=>{vn.doOnStoreChange(Pe,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(54,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=re.getProductSwitcherConfig()),t(18,J=te.getConfigValue("globalSearch")),t(19,Z=J&&J.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,ye=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,je=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),vn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),Bn.addEventListener("message",Q=>{Q.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Yn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Xe}=e;function De(Q){return re.renderIconClassName(Q)}function nt(Q){return re.isOpenUIiconName(Q.icon)}const rt=Q=>re.getNodeLabel(Q);function gt(Q){return me.getNodeHref(Q,m)}function ge(Q,Wt){return re.generateTooltipText(Q,Wt)}function Ze(){it("productSwitcherPopover")}function Bt(){t(43,se=!se),it("contextSwitcherPopover")}function En(Q){t(14,H=!0),t(15,D=Q)}function on(){t(14,H=!1)}function sn(Q){n("handleClick",{node:Q})}function Ie(Q){n("handleSearchNavigation",{node:Q})}function ut(Q){sn(Q.detail.node)}function it(Q){const Wt=v||{},_n=!Wt[Q];jt(),on(),Wt[Q]=_n,t(6,v=Wt)}function un(Q){it(Q.detail.name)}function Kt(){Y&&Y.focus()}function Hn(){ce||setTimeout(()=>{Kt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Y,customSearchItemRendererSlot:ee})}function jt(){const Q=v||{},Wt=Object.keys(Q);Wt&&Wt.length>0&&Wt.forEach(_n=>{Q[_n]=!1,t(6,v=Q)})}function Jt(){h==="simple"||h==="simpleMobileOnly"?xt():wn(),li()}function li(){if(!re.getBurgerTooltipConfig())return;const[Q,Wt]=re.getBurgerTooltipConfig();Q&&Wt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ue=document.body.classList.contains("lui-leftNavToggle")?Q:Wt),document.body.classList.contains("lui-semiCollapsible")&&t(25,ue=document.body.classList.contains("semiCollapsed")?Q:Wt))}function xt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function wn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci(Q){const Wt=Q.detail;t(17,G=Wt||{})}function di(Q){(Q.key==="Enter"||Q.key===" ")&&it(Q.currentTarget.getAttribute("aria-controls"))}function kn(Q){Gi.call(this,i,Q)}function yi(Q){Gi.call(this,i,Q)}function Pi(Q){v=Q,t(6,v)}function Ii(Q){ce=Q,t(20,ce)}function Ni(Q){le=Q,t(24,le)}function Ti(Q){q=Q,t(23,q)}function Sl(Q){Y=Q,t(21,Y)}function Cl(Q){ee=Q,t(22,ee)}function yl(Q){Gi.call(this,i,Q)}function Li(Q){Gi.call(this,i,Q)}function Ji(Q){Gi.call(this,i,Q)}function Yi(Q){ce=Q,t(20,ce)}function hi(Q){le=Q,t(24,le)}function Pl(Q){q=Q,t(23,q)}function Il(Q){Y=Q,t(21,Y)}function Qi(Q){ee=Q,t(22,ee)}function Nl(Q){Gi.call(this,i,Q)}function Tl(Q){Gi.call(this,i,Q)}function Ll(Q){Gi.call(this,i,Q)}function Ai(Q){v=Q,t(6,v)}const Al=()=>it("contextSwitcherPopover");function ri(Q,Wt,_n,qt){_n[qt]=Q,t(7,C)}const Ei=Q=>it(`dropDownPopover-${Q}`);function gi(Q,Wt,_n,qt){_n[qt]=Q,t(7,C)}const Ri=(Q,Wt)=>{re.handleNavAnchorClickedWithoutMetaKey(Wt)&&sn(Q)};function _i(Q,Wt,_n,qt){_n[qt]=Q,t(7,C)}const Zi=Q=>sn(Q),Xi=()=>it("overflowPopover"),K=()=>{Hn(),it("overflowPopover")},Se=Q=>sn(Q),Je=Q=>En(Q);function lt(Q){v=Q,t(6,v)}const vt=()=>it("productSwitcherPopover");function pt(Q){v=Q,t(6,v)}function Ht(Q){ae=Q,t(44,ae)}function Gt(Q){ke=Q,t(45,ke)}const Rn=()=>it("contextSwitcherPopover"),Wn=()=>it("profilePopover"),El=Q=>di(Q),Di=()=>it("profilePopover"),Kl=()=>it("profilePopover"),yr=()=>it("profilePopover");function wt(Q){v=Q,t(6,v)}const $i=()=>it("productSwitcherPopover"),xi=()=>it("profilePopover");return i.$$set=Q=>{"authorizationEnabled"in Q&&t(0,l=Q.authorizationEnabled),"autologinEnabled"in Q&&t(54,r=Q.autologinEnabled),"isLoggedIn"in Q&&t(1,a=Q.isLoggedIn),"hideSearchComponent"in Q&&t(29,o=Q.hideSearchComponent),"hideNavComponent"in Q&&t(2,c=Q.hideNavComponent),"responsiveNavSetting"in Q&&t(3,h=Q.responsiveNavSetting),"profileTypeSettings"in Q&&t(4,d=Q.profileTypeSettings),"showGlobalNav"in Q&&t(5,g=Q.showGlobalNav),"pathData"in Q&&t(30,p=Q.pathData),"pathParams"in Q&&t(31,m=Q.pathParams),"dropDownStates"in Q&&t(6,v=Q.dropDownStates),"children"in Q&&t(7,C=Q.children),"selectedNode"in Q&&t(8,y=Q.selectedNode),"visibleNodeCount"in Q&&t(9,P=Q.visibleNodeCount),"globalNavNodeCount"in Q&&t(10,I=Q.globalNavNodeCount),"totalBadgeNode"in Q&&t(11,N=Q.totalBadgeNode),"isProductSwitcherAvailable"in Q&&t(12,V=Q.isProductSwitcherAvailable),"productSwitcherConfig"in Q&&t(13,E=Q.productSwitcherConfig),"openMobileDropDown"in Q&&t(14,H=Q.openMobileDropDown),"nodeForMobile"in Q&&t(15,D=Q.nodeForMobile),"profileItemsAvailable"in Q&&t(16,O=Q.profileItemsAvailable),"userInfo"in Q&&t(17,G=Q.userInfo),"globalSearchConfig"in Q&&t(18,J=Q.globalSearchConfig),"isGlobalSearchCentered"in Q&&t(19,Z=Q.isGlobalSearchCentered),"isSearchFieldVisible"in Q&&t(20,ce=Q.isSearchFieldVisible),"inputElem"in Q&&t(21,Y=Q.inputElem),"customSearchItemRendererSlot"in Q&&t(22,ee=Q.customSearchItemRendererSlot),"displaySearchResult"in Q&&t(23,q=Q.displaySearchResult),"searchResult"in Q&&t(24,le=Q.searchResult),"burgerTooltip"in Q&&t(25,ue=Q.burgerTooltip),"responsiveShellbarPadding"in Q&&t(26,ne=Q.responsiveShellbarPadding),"addNavHrefForAnchor"in Q&&t(27,ye=Q.addNavHrefForAnchor),"showTopNav"in Q&&t(28,Xe=Q.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(28,Xe=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,I,N,V,E,H,D,O,G,J,Z,ce,Y,ee,q,le,ue,ne,ye,Xe,o,p,m,Ze,Bt,En,on,sn,ut,it,un,Hn,jt,Ci,se,ae,ke,je,De,nt,rt,gt,ge,Jt,di,r,Ie,xt,wn,kn,yi,Pi,Ii,Ni,Ti,Sl,Cl,yl,Li,Ji,Yi,hi,Pl,Il,Qi,Nl,Tl,Ll,Ai,Al,ri,Ei,gi,Ri,_i,Zi,Xi,K,Se,Je,lt,vt,pt,Ht,Gt,Rn,Wn,El,Di,Kl,yr,wt,$i,xi]}class Sp extends Mt{constructor(e){super(),Ot(this,e,o3,n3,Dt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideSearchComponent:29,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,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:55,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:56,semicollapsedNav:57,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[55]}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[56]}get semicollapsedNav(){return this.$$.ctx[57]}get userInfoUpdate(){return this.$$.ctx[42]}}function Jg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function u3(i){let e,t=i[0]&&Jg();return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Jg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function f3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ot.getCurrentPath(),n),a=await zt.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return an(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");zl.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}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 c3 extends Mt{constructor(e){super(),Ot(this,e,f3,u3,Dt,{node:0})}}const{window:Oo}=wl;function Yg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Xg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function $g(i,e,t){const n=i.slice();return n[57]=e[t],n}function xg(i,e,t){const n=i.slice();return n[57]=e[t],n}function d3(i){const e=i.slice(),t=Cp(e[54]);return e[67]=t,e}function e_(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Mo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function h3(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function t_(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&n_(i),P=Ve(Object.entries(i[0])),I=[];for(let D=0;D<P.length;D+=1)I[D]=c_(Xg(i,P,D));const N=D=>U(I[D],1,1,()=>{I[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=__(Yg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=k("div"),y&&y.c(),t=W(),n=k("nav"),l=k("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=k("span"),o=k("div"),c=k("div"),h=k("button"),h.innerHTML='<span class="label fd-icon-tab-bar__overflow-text">More</span> <span class="sap-icon--slim-arrow-down"></span>',d=W(),g=k("div"),p=k("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){L(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let G=0;G<I.length;G+=1)I[G]&&I[G].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let G=0;G<E.length;G+=1)E[G]&&E[G].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[x(h,"click",St(i[10])),x(a,"click",N3),x(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=n_(D),y.c(),R(y,1),y.m(e,t)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),O[0]&3866829){P=Ve(Object.entries(D[0]));let G;for(G=0;G<P.length;G+=1){const J=Xg(D,P,G);I[G]?(I[G].p(J,O),R(I[G],1)):(I[G]=c_(J),I[G].c(),R(I[G],1),I[G].m(l,r))}for(be(),G=P.length;G<I.length;G+=1)N(G);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let G;for(G=0;G<V.length;G+=1){const J=Yg(D,V,G);E[G]?(E[G].p(J,O),R(E[G],1)):(E[G]=__(J),E[G].c(),R(E[G],1),E[G].m(p,null))}for(be(),G=V.length;G<E.length;G+=1)H(G);ve()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&T(e),y&&y.d(),ht(I,D),i[31](null),ht(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function n_(i){let e,t;return e=new c3({props:{node:i[11].parent}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function g3(i){let e,t,n,l,r;const a=[m3,p3],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!S3(d[54])),e?0:1}function h(d,g){return g===0?d3(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=we()},m(d,g){o[t].m(d,g),L(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(be(),U(o[p],1,1,()=>{o[p]=null}),ve(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){d&&T(l),o[t].d(d)}}}function _3(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(e_(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=e_(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function p3(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V;function E(){return i[29](i[53])}let H=Ve(i[54]),D=[];for(let G=0;G<H.length;G+=1)D[G]=r_($g(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Te(o),h=W(),d=k("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=k("div"),m=k("ul");for(let G=0;G<D.length;G+=1)D[G].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=pl(i[53],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=pl(i[53],i[2]))},m(G,J){L(G,e,J),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(m,null);w(e,y),I=!0,N||(V=[x(l,"click",St(E)),x(e,"click",I3)],N=!0)},p(G,J){if(i=G,(!I||J[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!I||J[0]&5&&g!==(g=pl(i[53],i[2])))&&f(l,"aria-selected",g),J[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const ce=$g(i,H,Z);D[Z]?(D[Z].p(ce,J),R(D[Z],1)):(D[Z]=r_(ce),D[Z].c(),R(D[Z],1),D[Z].m(m,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!I||J[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||J[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||J[0]&5&&P!==(P=pl(i[53],i[2])))&&f(e,"isselected",P)},i(G){if(!I){for(let J=0;J<H.length;J+=1)R(D[J]);I=!0}},o(G){D=D.filter(Boolean);for(let J=0;J<D.length;J+=1)U(D[J]);I=!1},d(G){G&&T(e),ht(D,G),N=!1,Qe(V)}}}function m3(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=Ve(i[54]),G=[];for(let J=0;J<O.length;J+=1)G[J]=s_(xg(i,O,J));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),c=W(),h=k("div"),d=k("div"),g=k("div"),p=k("button"),b=k("i"),v=W(),C=k("div"),y=k("ul");for(let J=0;J<G.length;J+=1)G[J].c();N=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=pl(i[53],i[2])),f(t,"href",o=i[20](i[67])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(J,Z){L(J,e,Z),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<G.length;ce+=1)G[ce]&&G[ce].m(y,null);w(e,N),V||(E=[x(t,"click",St(H)),x(p,"click",St(D)),x(e,"click",P3)],V=!0)},p(J,Z){if(i=J,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Z[0]&5&&a!==(a=pl(i[53],i[2]))&&f(t,"aria-selected",a),Z[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Z[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Z[0]&1572933){O=Ve(i[54]);let ce;for(ce=0;ce<O.length;ce+=1){const Y=xg(i,O,ce);G[ce]?G[ce].p(Y,Z):(G[ce]=s_(Y),G[ce].c(),G[ce].m(y,null))}for(;ce<G.length;ce+=1)G[ce].d(1);G.length=O.length}Z[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),Z[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:Ue,o:Ue,d(J){J&&T(e),ht(G,J),V=!1,Qe(E)}}}function i_(i){let e,t,n=i[57].label&&l_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function l_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function r_(i){let e,t,n=!i[57].hideFromNav&&i_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=i_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function a_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[57])),f(t,"aria-selected",o=i[57]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",St(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&T(e),h=!1,d()}}}function s_(i){let e,t=!i[57].hideFromNav&&i[57].label&&a_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=a_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function o_(i){let e,t,n=i[57].label&&u_(Mo(i));return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=u_(Mo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function u_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ii({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=x(t,"click",St(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&T(e),Fe(o),m=!1,v()}}}function f_(i){let e,t,n=!i[57].hideFromNav&&o_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function c_(i){let e,t,n,l,r,a;const o=[_3,g3],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!k3(g[54])),t?1:-1)}function d(g,p){return p===1?h3(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=we()},m(g,p){~n&&c[n].m(g,p),L(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(be(),U(c[b],1,1,()=>{c[b]=null}),ve()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){g&&T(r),~n&&c[n].d(g)}}}function b3(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=Ve(i[54]),D=[];for(let G=0;G<H.length;G+=1)D[G]=h_(Qg(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("ul");for(let G=0;G<D.length;G+=1)D[G].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=pl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[53]+i[56]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(G,J){L(G,e,J),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let Z=0;Z<D.length;Z+=1)D[Z]&&D[Z].m(v,null);w(e,y),P=!0,I||(N=[x(n,"click",St(V)),x(d,"click",St(E))],I=!0)},p(G,J){if(i=G,(!P||J[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||J[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||J[0]&5&&c!==(c=pl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||J[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||J[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),J[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const ce=Qg(i,H,Z);D[Z]?(D[Z].p(ce,J),R(D[Z],1)):(D[Z]=h_(ce),D[Z].c(),R(D[Z],1),D[Z].m(v,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!P||J[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(G){if(!P){for(let J=0;J<H.length;J+=1)R(D[J]);P=!0}},o(G){D=D.filter(Boolean);for(let J=0;J<D.length;J+=1)U(D[J]);P=!1},d(G){G&&T(e),ht(D,G),I=!1,Qe(N)}}}function v3(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=g_(Zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=g_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n=i[57].label&&d_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=d_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function g_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(o),b=!1,m()}}}function __(i){let e,t,n,l,r;const a=[v3,b3],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=we()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&T(l),o[t].d(h)}}}function w3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&t_(i);return{c(){r&&r.c(),e=we()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[x(Oo,"click",i[8]),x(Oo,"blur",i[8]),x(Oo,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=t_(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){a&&T(e),r&&r.d(a),n=!1,Qe(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function k3(i){return i.some(e=>!e.hideFromNav&&e.label)}function Cp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function S3(i){return!!Cp(i)}function C3(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function y3(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),C3(e)||e.classList.add("fd-popover__body--right")})}const P3=i=>i.stopPropagation(),I3=i=>i.stopPropagation(),N3=i=>i.stopPropagation();function T3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Pt("getTranslation");Si(i,C,Ie=>t(17,n=Ie));let y=Pt("store"),P,I,N,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Ie=>{Ie&&Object.getOwnPropertyNames(Ie).forEach(ut=>{ut==="pathData"?t(1,r=Ie.pathData):ut==="context"?context=Ie.context:ut==="children"?t(0,l=Ie.children):ut==="selectedNode"?t(11,b=Ie.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Ie.selectedNodeForTabNav)})}},O=$t();function G(Ie){return re.getNodeLabel(Ie)}const J=async()=>{const Ie=D.get(),ut=await zt.getTabNavData({...Ie},Ie);ut&&(D.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Z))},Z=()=>{if(ce(),N&&V&&E){E.classList.remove("is-active");const Ie=getComputedStyle(N),ut=N.offsetWidth-V.offsetWidth-parseFloat(Ie.paddingLeft)-parseFloat(Ie.paddingRight);let it=0,un=!1;[...N.children].forEach(Kt=>{const Hn=Kt.getAttribute("uid");if(!Hn)return;const jt=getComputedStyle(Kt),Jt=parseFloat(jt.marginLeft)+parseFloat(jt.marginRight);it+=Kt.offsetWidth+Jt,it>=ut?(Kt.classList.add("hide_element"),Kt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+Hn+'"]').classList.remove("hide_element"),un=!0):document.querySelector('li[uid="'+Hn+'"]').classList.add("hide_element")}),un?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{N&&[...N.children].forEach(ut=>{ut.classList.remove("hide_element")})},Y=()=>{P=new ResizeObserver(Ie=>{for(const ut of Ie)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&y3()}),setTimeout(()=>{I&&P.observe(I)})},ee=()=>{P&&P.disconnect()};an(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Y(),vn.doOnStoreChange(y,()=>{J()},["navigation.viewgroupdata"])}),ta(()=>{ee(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Yn(()=>{(!m||m!=r)&&J(),(v===void 0||v!==p)&&(v=p,J())}),ea(()=>{ee(),P?setTimeout(()=>{I&&P.observe(I)}):Y()});function q(Ie){return me.getNodeHref(Ie,a)}function le(Ie){ne(),O("handleClick",{node:Ie})}function ue(Ie){let ut={};d[Ie]||(ut[Ie]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){ce(),Z()}function se(){t(4,g=!g)}function ae(Ie,ut){const it=Ie==="undefined",un=Ie.indexOf(c)===0;if(it||un||ke(ut))return!0}function ke(Ie){const ut=Ie.find(Kt=>ie.isObject(Kt.category));if(!ut)return;const it=ut.category.label||ut.category.id;return Ie.filter(Kt=>Kt.category===it&&Kt.hideFromNav===!0).length===1}const je=Ie=>le(Ie),ye=Ie=>le(Ie),Le=Ie=>ue(Ie),ze=Ie=>le(Ie),Xe=Ie=>ue(Ie),De=Ie=>le(Ie);function nt(Ie){Ye[Ie?"unshift":"push"](()=>{E=Ie,t(15,E)})}const rt=Ie=>le(Ie),gt=(Ie,ut)=>ue(Ie+ut),ge=(Ie,ut)=>ue(Ie+ut),Ze=Ie=>le(Ie);function Bt(Ie){Ye[Ie?"unshift":"push"](()=>{V=Ie,t(14,V)})}function En(Ie){Ye[Ie?"unshift":"push"](()=>{N=Ie,t(13,N)})}const on=Ie=>ue(Ie.name);function sn(Ie){Ye[Ie?"unshift":"push"](()=>{I=Ie,t(12,I)})}return i.$$set=Ie=>{"children"in Ie&&t(0,l=Ie.children),"pathData"in Ie&&t(1,r=Ie.pathData),"pathParams"in Ie&&t(23,a=Ie.pathParams),"hideNavComponent"in Ie&&t(22,o=Ie.hideNavComponent),"virtualGroupPrefix"in Ie&&t(5,c=Ie.virtualGroupPrefix),"selectedNodeForTabNav"in Ie&&t(2,h=Ie.selectedNodeForTabNav),"dropDownStates"in Ie&&t(3,d=Ie.dropDownStates),"isMoreBtnExpanded"in Ie&&t(4,g=Ie.isMoreBtnExpanded),"resizeTabNavToggle"in Ie&&t(24,p=Ie.resizeTabNavToggle)},[l,r,h,d,g,c,le,ue,ne,Pe,se,b,I,N,V,E,H,n,C,G,q,ae,o,a,p,je,ye,Le,ze,Xe,De,nt,rt,gt,ge,Ze,Bt,En,on,sn]}class yp extends Mt{constructor(e){super(),Ot(this,e,T3,w3,Dt,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-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 p_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function m_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function b_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&v_(i),o=i[0]&&i[3].length>=0&&C_(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),a&&a.c(),l=W(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=v_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=C_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function v_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(m_(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-fn8cef")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=m_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(i);function P(...I){return i[17](i[23],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(t,"click",P),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?A3:L3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function L3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function A3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&T(e)}}}function S_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function C_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=I_(p_(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-fn8cef")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&7891){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=p_(l,t,a);n[a]?n[a].p(o,r):(n[a]=I_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function y_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&P_(i);function P(){return i[18](i[23])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(n,"click",St(P)),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=P_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function P_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?R3:E3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function E3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function R3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&T(e)}}}function I_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&y_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=y_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function D3(i){let e,t,n,l=i[2]&&b_(i);return{c(){l&&l.c(),e=we()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[x(window,"click",ds),x(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=b_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(r),t=!1,Qe(n)}}}function ds(){}function V3(i,e,t){let n;const l=$t();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Pt("store"),g=Pt("getTranslation");Si(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};an(()=>{vn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Yn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function I(O){return Et.getTranslation(O.label)}function N(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,G)=>{re.handleNavAnchorClickedWithoutMetaKey(G)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,ds,v,n,g,y,P,I,N,b,m,o,E,H,D]}class O3 extends Mt{constructor(e){super(),Ot(this,e,V3,D3,Dt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return ds}}function M3(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e),i[4](null)}}}function F3(i,e,t){const n=$t();let{pathData:l}=e,r,a={},o,c=Pt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};an(()=>{vn.doOnStoreChange(c,()=>{},["navigation"])}),Yn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=ot.getCurrentPath();for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(a[V])C.push(a[V]);else if(N.label||N.pathSegment||N.titleResolver)if(document.body.classList.add("lui-breadcrumb"),N.titleResolver)C.push({label:N.titleResolver.prerenderFallback&&N.titleResolver.fallbackTitle?Et.getTranslation(N.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:N,route:V,pending:!0});else{const E=await p(N);E&&C.push({label:E,node:N,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(N.titleResolver){const H=await zt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,N.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(N,D);C.push({label:O.label,node:N,route:V});continue}catch{}}const E=await p(N);E&&C.push({label:E,node:N,route:V})}P===ot.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return Et.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ot.getCurrentPath(),v),y=await zt.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Ye[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class Pp extends Mt{constructor(e){super(),Ot(this,e,F3,M3,Dt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";Bn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),qo="disabled"):i.data==="luigi.tpcEnabled"&&(qo="enabled")},!1);function U3(){return qo}const{Boolean:B3,window:N_}=wl;function T_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function L_(i){let e,t;return e=new b2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new fp({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function E_(i){let e,t,n=i[154].mfModal.displayed&&A_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=A_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function R_(i){let e,t;return e=new fp({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[H3]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Be(e.$$.fragment)},m(n,l){Me(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]&4096|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function H3(i){let e,t;return e=new vl({props:{area:"drawer",disable:i[12]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new k2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function V_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new U2({props:r}),Ye.push(()=>yt(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function W3(i){let e,t,n,l,r,a,o,c,h=!i[25]&&O_(i),d=!(i[20]||i[22])&&M_(i);n=new vl({props:{disable:i[12],$$slots:{default:[z3]},$$scope:{ctx:i}}});let g=i[10]&&U_(),p=!i[20]&&B_(i),b=i[15]&&!i[20]&&W_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Be(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=we()},m(m,v){h&&h.m(m,v),L(m,e,v),d&&d.m(m,v),L(m,t,v),Me(n,m,v),L(m,l,v),g&&g.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){m[25]?h&&(be(),U(h,1,1,()=>{h=null}),ve()):h?(h.p(m,v),v[0]&33554432&&R(h,1)):(h=O_(m),h.c(),R(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(be(),U(d,1,1,()=>{d=null}),ve()):d?(d.p(m,v),v[0]&5242880&&R(d,1)):(d=M_(m),d.c(),R(d,1),d.m(t.parentNode,t));const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),n.$set(C),m[10]?g||(g=U_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(be(),U(p,1,1,()=>{p=null}),ve()):p?(p.p(m,v),v[0]&1048576&&R(p,1)):(p=B_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=W_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(be(),U(b,1,1,()=>{b=null}),ve())},i(m){c||(R(h),R(d),R(n.$$.fragment,m),R(p),R(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(T(e),T(t),T(l),T(r),T(a),T(o)),h&&h.d(m),d&&d.d(m),Fe(n,m),g&&g.d(m),p&&p.d(m),b&&b.d(m)}}}function q3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new vl({props:{disable:i[12]}});let C=!i[25]&&q_(i),y=!(i[20]||i[22])&&z_(i),P=i[19]&&G_(i);b=new vl({props:{disable:i[12],$$slots:{default:[G3]},$$scope:{ctx:i}}});let I=i[10]&&J_();return{c(){Be(e.$$.fragment),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),C&&C.c(),o=W(),c=k("div"),y&&y.c(),h=W(),d=k("div"),P&&P.c(),g=W(),p=k("div"),Be(b.$$.fragment),m=W(),I&&I.c(),f(a,"class","fd-tool-layout__header-container"),f(r,"class","fd-tool-layout__container"),f(p,"class","lui-box svelte-qmtge1"),f(d,"class","fd-tool-layout__content-container svelte-qmtge1"),f(c,"class","fd-tool-layout__container lui-main-content"),f(l,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),f(n,"class","lui-core-layout svelte-qmtge1")},m(N,V){Me(e,N,V),L(N,t,V),L(N,n,V),w(n,l),w(l,r),w(r,a),C&&C.m(a,null),w(l,o),w(l,c),y&&y.m(c,null),w(c,h),w(c,d),P&&P.m(d,null),w(d,g),w(d,p),Me(b,p,null),w(p,m),I&&I.m(p,null),v=!0},p(N,V){const E={};V[0]&4096&&(E.disable=N[12]),e.$set(E),N[25]?C&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(N,V),V[0]&33554432&&R(C,1)):(C=q_(N),C.c(),R(C,1),C.m(a,null)),N[20]||N[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(N,V),V[0]&5242880&&R(y,1)):(y=z_(N),y.c(),R(y,1),y.m(c,h)),N[19]?P?(P.p(N,V),V[0]&524288&&R(P,1)):(P=G_(N),P.c(),R(P,1),P.m(d,g)):P&&(be(),U(P,1,1,()=>{P=null}),ve());const H={};V[0]&4096&&(H.disable=N[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:N}),b.$set(H),N[10]?I||(I=J_(),I.c(),I.m(p,null)):I&&(I.d(1),I=null)},i(N){v||(R(e.$$.fragment,N),R(C),R(y),R(P),R(b.$$.fragment,N),v=!0)},o(N){U(e.$$.fragment,N),U(C),U(y),U(P),U(b.$$.fragment,N),v=!1},d(N){N&&(T(t),T(n)),Fe(e,N),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),I&&I.d()}}}function O_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new Sp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function M_(i){let e,t;return e=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function F_(i){let e,t;return e=new dp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function z3(i){let e,t,n,l,r,a,o,c,h;t=new vl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&F_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),d&&d.c(),a=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Xt(e,"lui-split-view",i[11].displayed),Xt(e,"lui-collapsed",i[11].collapsed)},m(g,p){L(g,e,p),Me(t,e,null),w(e,n),w(e,l),L(g,r,p),d&&d.m(g,p),L(g,a,p),o=!0,c||(h=Z_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&Xt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Xt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=F_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(be(),U(d,1,1,()=>{d=null}),ve())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(T(e),T(r),T(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function U_(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function B_(i){let e,t,n,l;e=new O3({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&H_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=we()},m(a,o){Me(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=H_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(T(t),T(n)),Fe(e,a),r&&r.d(a)}}}function H_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function W_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function q_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new Sp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function z_(i){let e,t,n,l;return n=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=k("div"),t=k("div"),Be(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){L(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function G_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function K_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function j_(i){let e,t;return e=new dp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function G3(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&K_(i),p=i[11].displayed&&j_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Xt(e,"lui-split-view",i[11].displayed),Xt(e,"lui-collapsed",i[11].collapsed)},m(b,m){L(b,e,m),Me(t,e,null),w(e,n),w(e,l),L(b,r,m),g&&g.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,h||(d=Z_(i[46].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&Xt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Xt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=K_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(be(),U(g,1,1,()=>{g=null}),ve()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=j_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(be(),U(p,1,1,()=>{p=null}),ve())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&(T(e),T(r),T(a),T(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function J_(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> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function K3(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&L_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=E_(T_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&R_(i),y=i[27].displayed&&D_(i),P=i[17].displayed&&V_(i);const I=[q3,W3],N=[];function V(E,H){return E[30]?0:1}return o=V(i),c=N[o]=I[o](i),{c(){e=k("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-qmtge1"),Xt(e,"no-nav",i[20]),Xt(e,"no-side-nav",i[22]),Xt(e,"no-top-nav",i[25]),Xt(e,"no-animation",i[23]),Xt(e,"btp-layout",i[30])},m(E,H){L(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D]&&m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),N[o].m(e,null),h=!0,d||(g=[x(N_,"resize",i[36]),x(N_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=L_(E),p.c(),R(p,1),p.m(e,t)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),H[0]&268439552|H[1]&1792){b=Ve(E[28]);let D;for(D=0;D<b.length;D+=1){const O=T_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=E_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(be(),D=b.length;D<m.length;D+=1)v(D);ve()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=R_(E),C.c(),R(C,1),C.m(e,l)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=D_(E),y.c(),R(y,1),y.m(e,r)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=V_(E),P.c(),R(P,1),P.m(e,a)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&Xt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&Xt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&Xt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&Xt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(B3);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&T(e),p&&p.d(),ht(m,E),C&&C.d(),y&&y.d(),P&&P.d(),N[o].d(),d=!1,Qe(g)}}}function j3(i,e,t){const n=$t();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,J,Z,ce,Y=!0,ee=!1,q,le,ue,ne=[],Pe={isDirty:!1,persistUrl:null},se,ae,ke=!1,je,ye,Le={},ze,Xe,De,nt=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:rt}=e,{inputElem:gt}=e,{customSearchItemRendererSlot:ge}=e,{displaySearchResult:Ze}=e,{searchResult:Bt}=e,{storedUserSettings:En}=e;const on=async B=>{const fe=B.iframe.luigi,Re=fe.currentNode&&fe.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ne=Re&&typeof Ge=="object"&&Ge!==null,de=Ee.applyCoreStateData({isNavigateBack:ee,viewStackSize:ne.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ne?Ge[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{de[He]=B[He]||!1}),de},sn=async(B,fe={})=>{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||N,fe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await on(B)),authData:_l.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Ie=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(fe)},ut=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Re=wn(B.params),Ge=ot.getNodePath(D,H);ne.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ie.replaceVars(Ge,fe.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:N}),fe.iframe.pv="pv"}},it=(B,fe,Re,Ge)=>{let Ne=wn(B.params,Re,Ge);const{preventHistoryEntry:de,preserveQueryParams:He,preventContextUpdate:It}=B.params,Yt={keepBrowserHistory:!de,navSync:Y,preventContextUpdate:It};return Ne=ie.addLeadingSlash(Ne),Ne=He?me.composeSearchParamsToRoute(Ne):Ne,ut(B,fe),ot.navigateTo(Ne,Yt)},un=B=>B.split("?")[0],Kt=(B,fe)=>{if(B.length===0)return!1;const Re=fe.startsWith("/")?fe:`/${fe}`,Ge=[...B].pop();return[un(Ge.path),un(Ge.nextPath)].includes(un(Re))},Hn=B=>{Pe&&Pe.dirtySet&&Pe.dirtySet.clear()},jt=B=>new Promise((fe,Re)=>{Di(B)?Kl().then(()=>{Hn(),fe()},()=>{Re()}):fe()}),Jt=()=>({get:()=>({unsavedChanges:Pe,hideNav:ri,viewUrl:O,nodeParams:V,viewGroup:G,urlParamsRaw:H,currentNode:D,navigationPath:le,context:N,pathParams:E,hideGlobalSearch:Ei,hideSideNav:gi,isolateView:J,pageErrorHandler:Z,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ae,isNavigateBack:ee,goBackContext:q,isNavigationSyncEnabled:Y}),set:B=>{B&&(t(23,Ri=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(20,ri=B.hideNav):fe==="viewUrl"?O=B.viewUrl:fe==="nodeParams"?V=B.nodeParams:fe==="viewGroup"?G=B.viewGroup:fe==="urlParamsRaw"?H=B.urlParamsRaw:fe==="currentNode"?D=B.currentNode:fe==="navigationPath"?t(14,le=B.navigationPath):fe==="context"?N=B.context:fe==="pathParams"?t(13,E=B.pathParams):fe==="hideGlobalSearch"?t(21,Ei=B.hideGlobalSearch):fe==="hideSideNav"?(gi!=B.hideSideNav&&(t(23,Ri=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,gi=B.hideSideNav)):fe==="isolateView"?J=B.isolateView:fe==="pageErrorHandler"?Z=B.pageErrorHandler:fe==="previousNodeValues"?ce=B.previousNodeValues:fe==="mfSplitView"?t(11,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?C=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):fe==="tabNav"?t(15,ae=B.tabNav):fe==="isNavigateBack"?ee=B.isNavigateBack:fe==="goBackContext"?q=B.goBackContext:fe==="isNavigationSyncEnabled"&&(Y=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Di,getUnsavedChangesModalPromise:jt,showUnsavedChangesModal:Kl,showAlert:vt,prepareInternalData:on,dispatch:n}),li=(B,fe)=>{vn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Jn.deleteCache();const Ge=ot.getCurrentPath();ot.handleRouteChange(Ge,Jt(),B,fe)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ne,preventContextUpdate:de}=Ge||{};Kt(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let It=wt.length;It--;)_n(It);na.removeBackdrop(),hi(),ot.handleRouteChange(Re,Jt(),B,fe,Ne,de)})},xt=(B,fe)=>ie.replaceVars(ot.getNodePath(B),fe,":",!1),wn=(B,fe,Re)=>{const Ge=fe||D,Ne=Re||E;let de=le;if(fe){let It=fe.parent;for(de=[fe];It;)de.push(It),It=It.parent;de=[...de].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const It=[...de].reverse().find(Yt=>Yt.virtualTree);if(!It){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ot.concatenatePath(xt(It,Ne),B.link)}else if(B.fromParent)He=ot.concatenatePath(xt(Ge.parent,Ne),B.link);else if(B.fromClosestContext){const It=[...de].reverse().find(Yt=>Yt.navigationContext&&Yt.navigationContext.length>0);He=ot.concatenatePath(xt(It,Ne),B.link)}else if(B.fromContext){const It=B.fromContext,Yt=[...de].reverse().find(Ar=>It===Ar.navigationContext);He=ot.concatenatePath(xt(Yt,Ne),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ot.concatenatePath(xt(Ge,Ne),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((It,Yt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+It[0])+"="+encodeURIComponent(It[1])+(Yt<Object.keys(B.nodeParams).length-1?"&":"")})),He},Ci=B=>{const fe=B.detail.node;jt().then(()=>{if(K(),fe.openNodeInModal){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);xi(Re,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Pr(Re,fe.drawer)}else Jt().set({isNavigationSyncEnabled:!0}),ot.handleRouteClick(fe,Jt())},()=>{})},di=()=>{t(16,ke=!ke)};Yr("handleNavigation",it);const kn=B=>B?!0:(console.warn("No search provider defined."),!1),yi=()=>{kn(ye)&&t(0,rt=!1)},Pi=()=>{kn(ye)&&gt&&(t(0,rt=!0),gt.focus())},Ii=()=>{kn(ye)&&gt&&(t(1,gt.value="",gt),Li())},Ni=()=>{t(0,rt=!rt),Bk.clearSearchField()},Ti=()=>{if(kn(ye)&&gt)return gt.value},Sl=B=>{kn(ye)&&gt&&(t(1,gt.value=B,gt),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{kn(ye)&&gt&&t(1,gt.placeholder=B,gt)},yl=B=>{if(kn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let fe={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,ge,fe)}else t(3,Ze=!0),t(4,Bt=B);else console.warn("Search result array is empty.")},Li=()=>{if(kn(ye)&&(t(3,Ze=!1),t(4,Bt=[]),ge))for(;ge.lastElementChild;)ge.removeChild(ge.lastElementChild)},Ji=B=>{let fe=B.detail.node,Re={params:{link:fe.link,nodeParams:fe.params}};it(Re)},Yi=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=_t.getDefaultData().mfSplitView),_t.open(Jt(),B,fe)},hi=()=>{_t.close(Jt())},Pl=()=>{_t.collapse(Jt()),t(11,o.collapsed=!0,o)},Il=()=>{_t.expand(Jt()),t(11,o.collapsed=!1,o)},Qi=()=>o.displayed?o.collapsed:!1,Nl=()=>o.displayed?!o.collapsed:!1,Tl=()=>o.displayed,Ll=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ai=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},Al=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ri,Ei,gi,Ri,_i,Zi,Xi;const K=()=>{document.body.classList.remove("lui-leftNavToggle")},Se=()=>{el();const B=window.innerWidth>=hn.desktopMinWidth&&_i<hn.desktopMinWidth,fe=window.innerWidth<hn.desktopMinWidth&&_i>=hn.desktopMinWidth;(B||fe)&&K(),_i=window.innerWidth};let Je=[];const lt=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===fe)[0]},vt=(B,fe=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ne=Re(B,fe);if(Ne!==!1)return Ne}const Ge=Je;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&lt(Ge,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(()=>{lt(Je,B.id)&&pt(B.id)},B.closeAfter),new Promise((Ne,de)=>{t(26,Je=[...Ge||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ne}}])}))},pt=(B,fe)=>{const Re=lt(Je,B);if(!Re){console.error("An unexisting alert has been dismissed.",Je,B);return}if(t(26,Je=Je.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ue),Ne={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Ee.sendMessageToIframe(Ge,Ne)}else Re.promise&&Re.promise.resolve(fe||B)},Ht=B=>{pt(B.detail.id,B.detail.dismissKey)};let Gt;const Rn=()=>{t(27,Gt={displayed:!1,content:{},openFromClient:!1,promise:null})};Rn();const Wn=(B,fe=!1,Re)=>new Promise((Ge,Ne)=>{t(27,Gt={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ge,reject:Ne},targetIframe:Re})}),El=B=>{const{promise:fe,openFromClient:Re,targetIframe:Ge}=Gt;if(Rn(),B?fe.resolve():fe.reject(),Re&&Ge){const Ne={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ne)}},Di=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Kl=()=>Wn({header:Et.getTranslation("luigi.unsavedChangesAlert.header"),body:Et.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",jt);let wt=[];const $i=(B,fe)=>{var Ge;if(typeof B>"u"){t(28,wt=[]);return}let Re;if(t(28,wt=wt.filter((Ne,de)=>(B===de&&(Re=Ne),B!==de))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ne={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ne)}};$i();const xi=async(B,fe,Re)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:fe,openerIframe:Re}};t(28,wt=[...wt,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.appendModalDataToUrl(B,fe)},Q=(B,fe)=>{t(28,wt[fe].modalIframe=B.detail.modalIframe,wt),t(28,wt[fe].modalIframeData=B.detail.modalIframeData,wt)},Wt=(B,fe)=>{t(28,wt[fe].modalWC=B.detail.modalWC,wt),t(28,wt[fe].modalWCData=B.detail.modalWCData,wt)},_n=(B,fe,Re)=>{const Ge=(He,It)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.removeModalDataFromUrl(It),$i(He,Re)},Ne=wt[B],de=ie.getRemotePromise(Ne.mfModal.settings.onClosePromiseId);Ne&&Ne.modalIframe?jt(Ne.modalIframe.contentWindow).then(()=>{Ge(B,fe),de&&de.doResolve(Re)},()=>{}):Ne&&Ne.modalWC&&(Ge(B,fe),de&&de.doResolve(Re))};Yr("openViewInModal",xi);let qt={};const jl=()=>{t(29,qt.displayed=!1,qt),t(29,qt.nodepath=void 0,qt),t(29,qt.settings={},qt),t(12,g=!1)};jl();const Pr=async(B,fe)=>{await re.shouldPreventNavigationForPath(B)||(t(29,qt.displayed=!0,qt),t(29,qt.nodepath=B,qt),t(29,qt.settings=fe,qt),qt.settings&&qt.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=hn.desktopMinWidth&&qt.displayed&&qt.settings&&!qt.settings.overlap,el=(B=!1)=>{if(!ia())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(fe);Re.forEach(Ne=>{Ir(Ne,Ge)})}},Ir=(B,fe)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${fe})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,el()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,el()},Jl=B=>{d=B.detail.activeDrawer},Yl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?jt(p.contentWindow).then(()=>{jl()},()=>{}):m&&jt().then(()=>{jl()},()=>{}),el(!0)}catch(fe){console.log(fe)}},bs=()=>{const B=pr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Le.userSettingGroups=[...B],Le),t(17,Le.displayed=!0,Le)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ra=()=>{t(17,Le.displayed=!1,Le)},aa=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let fe=le;if(D){let Ne=D.parent;for(fe=[D];Ne;)fe.push(Ne),Ne=Ne.parent;fe=[...fe].reverse()}let Re=B.link,Ge=xt(D,E);if(B.fromVirtualTreeRoot){const Ne=[...fe].reverse().find(He=>He.virtualTree);if(!Ne){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=xt(Ne,E);Re=Ge.split(de).join("")}else if(B.fromParent){const Ne=xt(D.parent,E);Re=Ge.split(Ne).join("")}else if(B.fromClosestContext){const Ne=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),de=xt(Ne,E);Re=Ge.split(de).join("")}else if(B.fromContext){const Ne=B.fromContext,de=[...fe].reverse().find(It=>Ne===It.navigationContext),He=xt(de,E);Re=Ge.split(He).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const fe=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ne={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:Re};Et.addCurrentLocaleChangeListener(de=>{const He={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(He)}),Bn.addEventListener("popstate",async de=>{const He=Je;if(!He||!(He.length>0))return;const It=He.map(Yt=>{if(Yt&&!Yt.openFromClient&&typeof Yt.settings.ttl=="number"){if(Yt.settings.ttl===0)return null;Yt.settings.ttl--}return Yt}).filter(Yt=>Yt);t(26,Je=It)}),Bn.addEventListener("message",async de=>{const He=Ee.getValidMessageSource(de),It=wt[wt.length-1],Yt=It&&It.modalIframe,Ar=It&&It.modalIframeData,nl={modalIframe:Yt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(de,nl),Vi=Er&&Er.length>0,Rr=te.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Vi&&He.contentWindow!==window&&!ie.isElementVisible(He)&&Rr.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const We=te.getConfigValue("communication.customMessagesListeners")||{},Lt=ss.convertCustomMessageInternalToUser(de.data),Nt=We[Lt.id],fn="luigi.updateUserSettings";if(Le&&Lt.id===fn){Nt&&console.warn(`The key "${fn}" is not allowed to use for custom messages.`);return}if(typeof Nt=="function"){const Pn=ji.getMicrofrontends().find(en=>Ee.isMessageSource(de,en.container));Nt(Lt,Pn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Lt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ne.navigateOk=!0,gr.preload()),de.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=de.data.clientVersion,He.luigi.initOk=!1,Vi)Er.forEach(async We=>{let Lt=nl[We.dataKey].context;const Nt={...Ne,iframe:nl[We.iframeKey],context:Lt,pathParams:nl[We.dataKey].pathParams,nodeParams:nl[We.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(nl[We.iframeKey].luigi.currentNode),modal:We.iframeKey.startsWith("modal"),drawer:We.iframeKey.startsWith("drawer"),splitView:We.iframeKey.startsWith("splitView")};await sn(Nt,{})});else if(Ne.iframe&&Ee.isMessageSource(de,Ne.iframe))await sn(Ne,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await sn({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(de.source);if(We){let Lt=We.getAttribute("userSettingsGroup"),Nt={context:{userSettingsData:En[Lt]},iframe:We};await sn(Nt)}}gr.viewGroupLoaded(He)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){ee=!1;const We=window.location.href,Lt=Vi?He.luigi.currentNode:void 0,Nt=Vi?He.luigi.pathParams:void 0,fn=de.data.params,{intent:Pn,newTab:en,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=fn;let $l=en||il||Xl||Rl;const ga=()=>{const Qn=ie.getRemotePromise(de.data.remotePromiseId);Qn&&Qn.doResolve()},pn=()=>{const Qn=ie.getRemotePromise(de.data.remotePromiseId);Qn&&Qn.doReject()},Dl=Qn=>{!Qn||We!==window.location.href?ga():pn()};de.source!==window&&!Pn&&fn.link&&(fn.link=fn.link.split("?")[0]);let Ft=wn(de.data.params,Lt,Nt);if($l=$l||Pn&&Ft.external,!$l)jt().then(()=>{Y=!de.data.params.withoutSync,it(de.data,Ne,Lt,Nt).then(()=>{Dl(!0)}).catch(()=>{pn()}),wt.forEach((Qn,_a)=>{_n(_a)}),hi(),Yl(),Y=!0}).catch(()=>{pn()});else{if(Pn&&Ft.external){ot.navigateToExternalLink({url:Ft.url,sameWindow:!Ft.openInNewTab});return}if(Ft=ie.addLeadingSlash(Ft),en){await aa(Ft),Dl();return}const Qn=await Zl(Ft);if(Ft=await me.handlePageNotFoundAndRetrieveRedirectPath(Jt(),Ft,Qn),!Ft){pn();return}ue=B,il!==void 0?(!il.keepPrevious&&$i(),await xi(Ft,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Yi(Ft,Xl),Dl()):Rl!==void 0&&(jl(),Rl.isDrawer=!0,await Pr(Ft,Rl),Dl())}}if(de.data.msg==="luigi.navigation.back"){const We=wt[wt.length-1],Lt=wt.length>1&&wt[wt.length-2],Nt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,We&&We.modalIframe)){_n(wt.length-1,!0,Nt);let fn=Ne;if(Lt&&Lt.modalIframeData&&Lt.modalIframe){const Pn=Lt,en=Pn.modalIframeData;fn={pathParams:en.pathParams,context:en.context,iframe:Pn.modalIframe}}fn.iframe&&await sn(fn,{goBackContext:Nt})}else Ee.isMessageSource(de,C)?(hi(),Ne.iframe&&await sn(Ne,{goBackContext:Nt})):Ee.isMessageSource(de,p)?(d&&(d=!d),Yl(),Ne.iframe&&await sn(Ne,{goBackContext:Nt})):ne&&ne.length>0?jt().then(()=>{fi.setActiveIframeToPrevious(B);const fn=ne.pop();Ne.iframe=fi.getActiveIframe(B),ee=!0,ne=ne,q=Nt,it({params:{link:fn.path}},Ne)},()=>{}):(Nt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const We=de.data.data,Nt={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,Nt)}if(de.data.msg==="luigi.auth.tokenIssued"&&Ie(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Vi){const We=ie.addLeadingSlash(wn(de.data.params,He.luigi.currentNode,He.luigi.pathParams));ot.updateModalDataInUrl(We,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const We=He.luigi.currentNode,Lt=He.luigi.pathParams,Nt=de.data.data,fn=wn(Nt,We,Lt),Pn=fn?await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),fn):!1,en={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Nt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,en)}if(de.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const We=new Set;We.add(de.source),Pe={dirtySet:We}}Pe.persistUrl=window.location.href,de.data.dirty?Pe.dirtySet.add(de.source):Pe.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const We=de.data.data.settings;ue=B,Rn(),Wn(We,!0,He).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:We}=de.data.data;if(!We.text&&!ie.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ue=B,vt(We,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:We}=de.data.data;We&&Et.setCurrentLocale(We)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(je&&!je.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&Nr(),de.data.msg==="storage"&&d2.process(He.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let We=He.luigi.currentNode;We&&We.runTimeErrorHandler&&ie.isFunction(We.runTimeErrorHandler.errorFn)?We.runTimeErrorHandler.errorFn(de.data.errorObj,We):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(de.data.errorObj,We)}if(de.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:We,keepBrowserHistory:Lt}=de.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Lt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Vi)return;const{data:We,keepBrowserHistory:Lt}=de.data;gl.addNodeParams(We,Lt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:We}=de.data;gl.setAnchor(We)}if(de.data.msg==="luigi.setVGData"){const We=de.data,Lt=re.findViewGroup(He.luigi.currentNode);if(Lt){const Nt=re.getViewGroupSettings(Lt);Nt._liveCustomData=We.data,te.configChanged("navigation.viewgroupdata")}}}),li(B,Ne)}Yr("store",l),Yr("getTranslation",r);const Nr=B=>{je&&je.thirdPartyCookieErrorHandling&&ie.isFunction(je.thirdPartyCookieErrorHandling)&&je.thirdPartyCookieErrorHandling()};function Tr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(De),t(10,a=!1)},250)):clearTimeout(De)}const Zl=async B=>{const fe={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=wn(fe),Ge=Re?await zt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},tl=()=>wt.length>0||ne.length!==0;an(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),_i=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,fe]=re.getBurgerTooltipConfig();B&&fe&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,fe]=re.getBurgerTooltipConfig();if(B&&fe){const Re=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,ze=Re?B:fe)}}document.body.classList.add("lui-semiCollapsible")}je=te.getConfigValue("settings.thirdPartyCookieCheck"),je&&je.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=je.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{U3()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Yn(()=>{t(19,Xe=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,Zi=te.getConfigValue("tag")),t(25,Xi=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&wt&&wt.length>0&&_n(wt.length-1)},oa=B=>_n(B,!0),ws=(B,fe)=>Q(fe,B),ua=(B,fe)=>Wt(fe,B),fa=()=>El(!0),ca=()=>El(!1);function da(B){En=B,t(5,En)}function ks(B){rt=B,t(0,rt)}function Ss(B){Ze=B,t(3,Ze)}function Cs(B){Bt=B,t(4,Bt)}function ha(B){gt=B,t(1,gt)}function ys(B){ge=B,t(2,ge)}function Ps(B){rt=B,t(0,rt)}function Is(B){Ze=B,t(3,Ze)}function Ns(B){Bt=B,t(4,Bt)}function Lr(B){gt=B,t(1,gt)}function Ts(B){ge=B,t(2,ge)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,rt=B.isSearchFieldVisible),"inputElem"in B&&t(1,gt=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,ge=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"searchResult"in B&&t(4,Bt=B.searchResult),"storedUserSettings"in B&&t(5,En=B.storedUserSettings)},[rt,gt,ge,Ze,Bt,En,Ni,Li,Ji,ra,a,o,g,E,le,ae,ke,Le,ze,Xe,ri,Ei,gi,Ri,Zi,Xi,Je,Gt,wt,qt,nt,Ci,di,Ll,Ai,Al,Se,Ht,El,Q,Wt,_n,ms,la,Jl,Yl,vs,sa,l,r,yi,Pi,Ii,Ti,Sl,Cl,yl,Yi,hi,Pl,Il,Qi,Nl,Tl,vt,Wn,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class J3 extends Mt{constructor(e){super(),Ot(this,e,j3,K3,Dt,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const Y3=()=>{const{subscribe:i,update:e,reset:t}=vr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Ip=Y3(),Q3=Rk((i,e,t)=>Et.getTranslation(i,e,t));Luigi._store=Ip;const Z3=()=>new Promise(i=>{Et._init(),gn.init().then(()=>{setTimeout(()=>{let e;ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new J3({target:ji.getLuigiContainer(),props:{store:Ip,getTranslation:Q3}}),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(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(Z3);
53
53
  //# sourceMappingURL=luigi.js.map