@luigi-project/core 2.20.1-dev.202502240032 → 2.20.1-dev.202502250929

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 += '`),vt&&(Ce+=`' +
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+Ce+`return __p
52
- }`;var dt=zf(function(){return Nt(F,Ke+"return "+Ce).apply(t,q)});if(dt.source=Ce,Co(dt))throw dt;return dt}function sw(s){return Lt(s).toLowerCase()}function ow(s){return Lt(s).toUpperCase()}function uw(s,u,_){if(s=Lt(s),s&&(_||u===t))return Xo(s);if(!s||!(u=Wn(u)))return s;var k=ai(s),T=ai(u),F=$o(k,T),q=xo(k,T)+1;return ol(k,F,q).join("")}function fw(s,u,_){if(s=Lt(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=Wn(u)))return s;var k=ai(s),T=xo(k,ai(u))+1;return ol(k,0,T).join("")}function cw(s,u,_){if(s=Lt(s),s&&(_||u===t))return s.replace(ii,"");if(!s||!(u=Wn(u)))return s;var k=ai(s),T=$o(k,ai(u));return ol(k,T).join("")}function dw(s,u){var _=z,k=Q;if(Jt(u)){var T="separator"in u?u.separator:T;_="length"in u?ct(u.length):_,k="omission"in u?Wn(u.omission):k}s=Lt(s);var F=s.length;if(xl(s)){var q=ai(s);F=q.length}if(_>=F)return s;var J=_-er(k);if(J<1)return k;var x=q?ol(q,0,J).join(""):s.slice(0,J);if(T===t)return x+k;if(q&&(J+=x.length-J),yo(T)){if(s.slice(J).search(T)){var _e,pe=x;for(T.global||(T=Bs(T.source,Lt(st.exec(T))+"g")),T.lastIndex=0;_e=T.exec(pe);)var Ce=_e.index;x=x.slice(0,Ce===t?J:Ce)}}else if(s.indexOf(Wn(T),J)!=J){var Oe=x.lastIndexOf(T);Oe>-1&&(x=x.slice(0,Oe))}return x+k}function hw(s){return s=Lt(s),s&&Yi.test(s)?s.replace(Ai,qp):s}var gw=sr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=Lt(s),u=_?t:u,u===t?Fp(s)?Kp(s):Tp(s):s.match(u)||[]}var zf=ht(function(s,u){try{return hn(s,t,u)}catch(_){return Co(_)?_:new lt(_)}}),_w=Hi(function(s,u){return Ut(u,function(_){_=bi(_),Ui(s,_,ko(s[_],s))}),s});function pw(s){var u=s==null?0:s.length,_=Ze();return s=u?Gt(s,function(k){if(typeof k[1]!="function")throw new Qn(a);return[_(k[0]),k[1]]}):[],ht(function(k){for(var T=-1;++T<u;){var F=s[T];if(hn(F[0],this,k))return hn(F[1],this,k)}})}function mw(s){return qm(Xn(s,g))}function To(s){return function(){return s}}function bw(s,u){return s==null||s!==s?u:s}var vw=Ku(),ww=Ku(!0);function On(s){return s}function Lo(s){return ku(typeof s=="function"?s:Xn(s,g))}function kw(s){return Cu(Xn(s,g))}function Sw(s,u){return yu(s,Xn(u,g))}var Cw=ht(function(s,u){return function(_){return Hr(_,s,u)}}),yw=ht(function(s,u){return function(_){return Hr(s,_,u)}});function Ao(s,u,_){var k=gn(u),T=Oa(u,k);_==null&&!(Jt(u)&&(T.length||!k.length))&&(_=u,u=s,s=this,T=Oa(u,gn(u)));var F=!(Jt(_)&&"chain"in _)||!!_.chain,q=qi(s);return Ut(T,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=Rn(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,nl([this.value()],arguments))})}),s}function Pw(){return He._===this&&(He._=Xp),this}function Eo(){}function Iw(s){return s=ct(s),ht(function(u){return Pu(u,s)})}var Nw=so(Gt),Tw=so(_a),Lw=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):r1(s)}function Aw(s){return function(u){return s==null?t:Ml(s,u)}}var Ew=Ju(),Rw=Ju(!0);function Ro(){return[]}function Do(){return!1}function Dw(){return{}}function Vw(){return""}function Ow(){return!0}function Mw(s,u){if(s=ct(s),s<1||s>ce)return[];var _=se,k=wn(s,se);u=Ze(u),s-=se;for(var T=Ms(k,u);++_<s;)u(_);return T}function Fw(s){return ot(s)?Gt(s,bi):qn(s)?[s]:Rn(ff(Lt(s)))}function Uw(s){var u=++Qp;return Lt(s)+u}var Bw=Wa(function(s,u){return s+u},0),Hw=oo("ceil"),Ww=Wa(function(s,u){return s/u},1),qw=oo("floor");function zw(s){return s&&s.length?Va(s,On,Js):t}function Gw(s,u){return s&&s.length?Va(s,Ze(u,2),Js):t}function Kw(s){return Qo(s,On)}function jw(s,u){return Qo(s,Ze(u,2))}function Jw(s){return s&&s.length?Va(s,On,Xs):t}function Yw(s,u){return s&&s.length?Va(s,Ze(u,2),Xs):t}var Qw=Wa(function(s,u){return s*u},1),Zw=oo("round"),Xw=Wa(function(s,u){return s-u},0);function $w(s){return s&&s.length?Os(s,On):0}function xw(s,u){return s&&s.length?Os(s,Ze(u,2)):0}return M.after=kv,M.ary=kf,M.assign=o0,M.assignIn=Of,M.assignInWith=es,M.assignWith=u0,M.at=f0,M.before=Sf,M.bind=ko,M.bindAll=_w,M.bindKey=Cf,M.castArray=Dv,M.chain=bf,M.chunk=q1,M.compact=z1,M.concat=G1,M.cond=pw,M.conforms=mw,M.constant=To,M.countBy=$b,M.create=c0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=d0,M.defaultsDeep=h0,M.defer=Sv,M.delay=Cv,M.difference=K1,M.differenceBy=j1,M.differenceWith=J1,M.drop=Y1,M.dropRight=Q1,M.dropRightWhile=Z1,M.dropWhile=X1,M.fill=$1,M.filter=ev,M.flatMap=iv,M.flatMapDeep=lv,M.flatMapDepth=rv,M.flatten=gf,M.flattenDeep=x1,M.flattenDepth=eb,M.flip=yv,M.flow=vw,M.flowRight=ww,M.fromPairs=tb,M.functions=w0,M.functionsIn=k0,M.groupBy=av,M.initial=ib,M.intersection=lb,M.intersectionBy=rb,M.intersectionWith=ab,M.invert=C0,M.invertBy=y0,M.invokeMap=ov,M.iteratee=Lo,M.keyBy=uv,M.keys=gn,M.keysIn=Vn,M.map=Ya,M.mapKeys=I0,M.mapValues=N0,M.matches=kw,M.matchesProperty=Sw,M.memoize=Za,M.merge=T0,M.mergeWith=Mf,M.method=Cw,M.methodOf=yw,M.mixin=Ao,M.negate=Xa,M.nthArg=Iw,M.omit=L0,M.omitBy=A0,M.once=Pv,M.orderBy=fv,M.over=Nw,M.overArgs=Iv,M.overEvery=Tw,M.overSome=Lw,M.partial=So,M.partialRight=Nf,M.partition=cv,M.pick=E0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Aw,M.pull=fb,M.pullAll=pf,M.pullAllBy=cb,M.pullAllWith=db,M.pullAt=hb,M.range=Ew,M.rangeRight=Rw,M.rearg=Nv,M.reject=gv,M.remove=gb,M.rest=Tv,M.reverse=vo,M.sampleSize=pv,M.set=D0,M.setWith=V0,M.shuffle=mv,M.slice=_b,M.sortBy=wv,M.sortedUniq=Sb,M.sortedUniqBy=Cb,M.split=iw,M.spread=Lv,M.tail=yb,M.take=Pb,M.takeRight=Ib,M.takeRightWhile=Nb,M.takeWhile=Tb,M.tap=zb,M.throttle=Av,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Fw,M.toPlainObject=Vf,M.transform=O0,M.unary=Ev,M.union=Lb,M.unionBy=Ab,M.unionWith=Eb,M.uniq=Rb,M.uniqBy=Db,M.uniqWith=Vb,M.unset=M0,M.unzip=wo,M.unzipWith=mf,M.update=F0,M.updateWith=U0,M.values=fr,M.valuesIn=B0,M.without=Ob,M.words=qf,M.wrap=Rv,M.xor=Mb,M.xorBy=Fb,M.xorWith=Ub,M.zip=Bb,M.zipObject=Hb,M.zipObjectDeep=Wb,M.zipWith=qb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Bw,M.attempt=zf,M.camelCase=z0,M.capitalize=Hf,M.ceil=Hw,M.clamp=H0,M.clone=Vv,M.cloneDeep=Mv,M.cloneDeepWith=Fv,M.cloneWith=Ov,M.conformsTo=Uv,M.deburr=Wf,M.defaultTo=bw,M.divide=Ww,M.endsWith=G0,M.eq=oi,M.escape=K0,M.escapeRegExp=j0,M.every=xb,M.find=tv,M.findIndex=df,M.findKey=g0,M.findLast=nv,M.findLastIndex=hf,M.findLastKey=_0,M.floor=qw,M.forEach=vf,M.forEachRight=wf,M.forIn=p0,M.forInRight=m0,M.forOwn=b0,M.forOwnRight=v0,M.get=Po,M.gt=Bv,M.gte=Hv,M.has=S0,M.hasIn=Io,M.head=_f,M.identity=On,M.includes=sv,M.indexOf=nb,M.inRange=W0,M.invoke=P0,M.isArguments=Bl,M.isArray=ot,M.isArrayBuffer=Wv,M.isArrayLike=Dn,M.isArrayLikeObject=en,M.isBoolean=qv,M.isBuffer=ul,M.isDate=zv,M.isElement=Gv,M.isEmpty=Kv,M.isEqual=jv,M.isEqualWith=Jv,M.isError=Co,M.isFinite=Yv,M.isFunction=qi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Qv,M.isMatchWith=Zv,M.isNaN=Xv,M.isNative=$v,M.isNil=e0,M.isNull=xv,M.isNumber=Af,M.isObject=Jt,M.isObjectLike=xt,M.isPlainObject=jr,M.isRegExp=yo,M.isSafeInteger=t0,M.isSet=Ef,M.isString=xa,M.isSymbol=qn,M.isTypedArray=ur,M.isUndefined=n0,M.isWeakMap=i0,M.isWeakSet=l0,M.join=sb,M.kebabCase=J0,M.last=xn,M.lastIndexOf=ob,M.lowerCase=Y0,M.lowerFirst=Q0,M.lt=r0,M.lte=a0,M.max=zw,M.maxBy=Gw,M.mean=Kw,M.meanBy=jw,M.min=Jw,M.minBy=Yw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Dw,M.stubString=Vw,M.stubTrue=Ow,M.multiply=Qw,M.nth=ub,M.noConflict=Pw,M.noop=Eo,M.now=Qa,M.pad=Z0,M.padEnd=X0,M.padStart=$0,M.parseInt=x0,M.random=q0,M.reduce=dv,M.reduceRight=hv,M.repeat=ew,M.replace=tw,M.result=R0,M.round=Zw,M.runInContext=$,M.sample=_v,M.size=bv,M.snakeCase=nw,M.some=vv,M.sortedIndex=pb,M.sortedIndexBy=mb,M.sortedIndexOf=bb,M.sortedLastIndex=vb,M.sortedLastIndexBy=wb,M.sortedLastIndexOf=kb,M.startCase=lw,M.startsWith=rw,M.subtract=Xw,M.sum=$w,M.sumBy=xw,M.template=aw,M.times=Mw,M.toFinite=zi,M.toInteger=ct,M.toLength=Df,M.toLower=sw,M.toNumber=ei,M.toSafeInteger=s0,M.toString=Lt,M.toUpper=ow,M.trim=uw,M.trimEnd=fw,M.trimStart=cw,M.truncate=dw,M.unescape=hw,M.uniqueId=Uw,M.upperCase=gw,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,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ut(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:fn(ct(_),0);var k=this.__filtered__&&!u?new bt(this):this.clone();return k.__filtered__?k.__takeCount__=wn(_,k.__takeCount__):k.__views__.push({size:wn(_,se),type:s+(k.__dir__<0?"Right":"")}),k},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ut(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==X||_==K;bt.prototype[s]=function(T){var F=this.clone();return F.__iteratees__.push({iteratee:Ze(T,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Ut(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ut(["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(On)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=ht(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Hr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa(Ze(s)))},bt.prototype.slice=function(s,u){s=ct(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ct(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),k=/^(?:head|last)$/.test(u),T=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);T&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof bt,_e=J[0],pe=x||ot(q),Ce=function(mt){var vt=T.apply(M,nl([mt],J));return k&&Oe?vt[0]:vt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,Xe=F&&!Oe,dt=x&&!Ke;if(!F&&pe){q=dt?q:new bt(this);var $e=s.apply(q,J);return $e.__actions__.push({func:Ja,args:[Ce],thisArg:t}),new Zn($e,Oe)}return Xe&&dt?s.apply(this,J):($e=this.thru(Ce),Xe?k?$e.value()[0]:$e.value():$e)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var T=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(ot(F)?F:[],T)}return this[_](function(q){return u.apply(ot(q)?q:[],T)})}}),pi(bt.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";Rt.call(lr,k)||(lr[k]=[]),lr[k].push({name:u,func:_})}}),lr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=hm,bt.prototype.reverse=gm,bt.prototype.value=_m,M.prototype.at=Gb,M.prototype.chain=Kb,M.prototype.commit=jb,M.prototype.next=Jb,M.prototype.plant=Qb,M.prototype.reverse=Zb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Xb,M.prototype.first=M.prototype.head,Dr&&(M.prototype[Dr]=Yb),M},tr=jp();It?((It.exports=tr)._=tr,Tt._=tr):He._=tr}).call(Yr)})(us,us.exports);var wr=us.exports;class Yk{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 Ht.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ht.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 Ht.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 Ht.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 Ht.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 Ht.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=le.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(ie.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=le.getParentNode(I,g.navigationPath)}let V=P,L=d.hideGlobalSearch;L===void 0&&(L=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=le.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=le.getParentNode(V,g.navigationPath)}));const R=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=R;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:R,pathParams:g.pathParams,hideGlobalSearch:L||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:N};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(N?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const fe=t.get(),X=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(fe.context),nodeParams:JSON.stringify(fe.nodeParams),pathParams:JSON.stringify(fe.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(X),withoutSync:!0})}}const Q=document.querySelector(".lui-tab-header");Q&&Q.dispatchEvent(new Event("lui_ctx_update")),Ht.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 Ht.extractDataFromPath(e);rp.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)){Kn.deleteNodesRecursively(c);break}}else r=!1}}else Kn.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={...Wk.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:ql.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&&ql.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&&wr.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=>le.checkVisibleForFeatureToggles(a))),ql.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 ft=new Yk;class Qk{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 Ht.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){ql.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="",pt.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 pt=new Qk;class Zk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{ta.hideAppLoadingIndicator()},0)}}const Xk=new Zk;class $k{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 $k;class xk{constructor(){return this._userInfoStore=br({}),this._loggedInStore=br(!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=dl.parseUrlAuthErrors()||{};if(await dl.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=dl.getStoredAuthData();if(!t||!dl.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(fl(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=dl.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 dn=new xk;class e2{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 Xr=new e2;class t2{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 dl=new t2;class n2{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 kr=new n2;class i2{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 vk.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=Xr.hasDecorators()?Xr.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:At.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new i2;class l2{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=wr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),wr.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 l2;class r2{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=dl.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?"":At.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ht.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 Ht.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||"/";ft.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?At.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?At.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 Ht.extractDataFromPath(e);return!!await Ht.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:wr.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=>{wr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=At.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:le.prepareForTests(e.pathSegment,e.label)}}const le=new r2;class a2{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?ft.getHashPath():ft.getModifiedPathname();e(l)}}),Bn.addEventListener("popstate",n=>{const l=t?ft.getHashPath(location.href):ft.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:ft.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=At.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];cl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,cl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[kr.sanitizeParam(n[0])]=kr.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 cl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=cl.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&&cl.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:At.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 a2;class s2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const mn=new s2;class o2{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 o2;class u2{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 f2=new u2;class c2{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 _r=new c2,Qr=38,mr=40,_l=13,zl=27,$r=32,d2=36,h2=35;class sp{constructor(e,t){Mn(this,"dispatch");Mn(this,"search");Mn(this,"isCustomSearchRenderer");Mn(this,"isCustomSearchResultItemRenderer");Mn(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=At.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=At.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===_l?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===zl?this.search.searchProvider.onEscape():e===mr?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===mr&&(o=r!==null?r:t[0]),e===Qr&&(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===zl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===_l&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Qr||t===mr?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===zl&&(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?ft.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=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("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){E(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=ee(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&&A(e),p=!1,b()}}}function g2(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=S("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){E(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:qe,o:qe,d(l){l&&A(e),gt(n,l),i[5](null)}}}function _2(i,e,t){const n=Qt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Ct("getUnsavedChangesModalPromise"),c=Ct("handleNavigation");jn(()=>{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=kr.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)}),ln(()=>{});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){Je[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 p2 extends Ft{constructor(e){super(),Mt(this,e,_2,g2,Dt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Un(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){E(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&&A(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&A(e),r=!1,a()}}}function m2(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,N=i[0].buttonDismiss+"",I,V,L,H,R,O=i[0].type&&$f(i),z=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),I=Ne(N),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(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",L="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(Q,Z){E(Q,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),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,I),H||(R=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[Z]){Q[0].type?O?O.p(Q,Z):(O=$f(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=Q[0].header+"")&&Ae(h,c),Z&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,Z):(z=xf(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Z&1&&N!==(N=Q[0].buttonDismiss+"")&&Ae(I,N),Z&1&&V!==(V="fd-button "+(Q[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&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",L)},i:qe,o:qe,d(Q){Q&&A(e),O&&O.d(),z&&z.d(),H=!1,Ye(R)}}}function b2(i,e,t){const n=Qt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ea(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),ln(()=>{const d={icon:r[l.type],header:At.getTranslation("luigi.confirmationModal.header"),body:At.getTranslation("luigi.confirmationModal.body"),buttonDismiss:At.getTranslation("luigi.button.dismiss"),buttonConfirm:At.getTranslation("luigi.button.confirm")};t(0,l={...l,body:kr.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 le.renderIconClassName(d)}function o(d){d.keyCode===zl&&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 v2 extends Ft{constructor(e){super(),Mt(this,e,b2,m2,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function w2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){E(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||(D(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&A(e),r&&r.d(a)}}}function k2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Qt();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 ln(()=>{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()))}))}),jn(()=>{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 pl extends Ft{constructor(e){super(),Mt(this,e,k2,w2,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 pl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("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[5]?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-1hy363a")},m(C,y){E(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=ee(h,"click",i[11]),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&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(D(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&A(e)}}}function nc(i){let e;const t=i[10].default,n=hs(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&_s(n,t,l,l[9],e?gs(t,l[9],r,null):ps(l[9]),null)},i(l){e||(D(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=S("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-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function S2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&ec(i),C=i[4]&&nc(i),y=i[3]&&ic();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1hy363a"),f(t,"data-testid",g=i[5]?"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[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,N){E(P,e,N),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,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&D(v,1)):(v=ec(P),v.c(),D(v,1),v.m(t,n)):v&&(we(),U(v,1,1,()=>{v=null}),ke()),P[4]?C?(C.p(P,N),N&16&&D(C,1)):(C=nc(P),C.c(),D(C,1),C.m(l,r)):C&&(we(),U(C,1,1,()=>{C=null}),ke()),(!m||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||N&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1hy363a"))&&f(t,"class",d),(!m||N&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||N&49&&p!==(p=Un(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||N&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(D(v),D(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&A(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function C2(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=Qt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=Ct("store");const L=G=>le.getNodeLabel(G),H=async G=>{const K=G&&G.length?ie.getPathWithoutHash(G):"",re=me.parseParams(K.split("?")[1]);b=me.getNodeParams(re);const ce=await Ht.extractDataFromPath(G);g=ce.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),I=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=L(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=L(g),r),t(0,r._liveLabel=!0,r)),p=ce.pathData,t(7,a=!0)},R=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),ql.renderWebComponent(g.viewUrl,document.querySelector(I),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:b}}),v=!0;else{const K=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:K,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,K;const re=document.querySelector(".lui-modal-index-"+c),{size:ce,width:ne,height:Pe}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(re.classList.remove("lui-modal-fullscreen"),ne&&ne.match(se)&&Pe&&Pe.match(se))G=Pe,K=ne;else switch(ce){case"fullscreen":G="100vh",K="100vw",re.classList.add("lui-modal-fullscreen");break;case"m":G="80%",K="60%";break;case"s":G="80%",K="40%";break;default:G="80%",K="80%"}re.setAttribute("style",`width:${K};height:${G};`)},z=async(G,K)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,K));const re=await Ee.createIframe(G,void 0,g,"modal",K);return document.querySelector(I).appendChild(re),re};async function Q(G){let K="";const re=document.getElementsByClassName("drawer"),ce=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?K="width:75%;":r.size==="m"?K="width:50%;":r.size==="s"?K="width:25%;":r.size==="xs"&&(K="width:15.5%;")),r.backdrop?re[0].setAttribute("style",K):(ce[0].setAttribute("style",K),re[0].setAttribute("style","width:100%"))}xr(()=>{R(o)});const Z=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&fe()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};ln(()=>{mn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=L(g),r)},["navigation.viewgroupdata"]),Bn.addEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),ea(()=>{Bn.removeEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(){let G;N?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const X=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,N,d,a,o,l,n,X]}class op extends Ft{constructor(e){super(),Mt(this,e,C2,S2,Dt,{settings:0,isDataPrepared:7,nodepath:8,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=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(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=S("div"),t=S("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){E(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&&A(e),gt(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?P2:y2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),E(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&&A(e),l.d(r)}}}function y2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(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){E(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&&A(e)}}}function P2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("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){E(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(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&&A(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 N(){return i[19](i[28])}let I=v&&cc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),I&&I.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,L){E(V,e,L),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),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Wt(N))],C=!0)},p(V,L){i=V,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),L[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),L[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),L[0]&2&&(v=Array.isArray(i[28].options)),v?I?I.p(i,L):(I=cc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&A(e),I&&I.d(),C=!1,Ye(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=S("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){E(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&&A(e),gt(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=S("li"),t=S("span"),l=Ne(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"),Yt(e,"is-selected",i[4]===i[33]),Yt(e,"is-focus",i[4]===i[33])},m(d,g){E(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(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&&Yt(e,"is-selected",i[4]===i[33]),g[0]&16&&Yt(e,"is-focus",i[4]===i[33])},d(d){d&&A(e),o=!1,Ye(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=S("div"),t=S("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){E(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&&A(e),gt(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=S("button"),n=Ne(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){E(p,e,b),w(e,n),w(e,l),h||(d=ee(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&&A(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=S("label"),t=S("span"),n=S("input"),a=W(),o=S("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){E(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=ee(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&&A(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){E(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ee(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&&A(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),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),N&&N.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(I,V){E(I,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),N&&N.m(c,null),w(e,m)},p(I,V){V[0]&34&&l!==(l=I[5](I[28].label)+"")&&Ae(r,l),I[28].type==="string"?v?v.p(I,V):(v=uc(I),v.c(),v.m(c,h)):v&&(v.d(1),v=null),I[28].type==="enum"&&(I[28].style===void 0||I[28].style==="list")?C?C.p(I,V):(C=fc(I),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=I[28].type==="enum"&&I[28].style==="button"&&Array.isArray(I[28].options)),g?y?y.p(I,V):(y=hc(I),y.c(),y.m(c,p)):y&&(y.d(1),y=null),I[28].type==="boolean"&&(!I[28].style||I[28].style==="switch")?P?P.p(I,V):(P=_c(I),P.c(),P.m(c,b)):P&&(P.d(1),P=null),I[28].type==="boolean"&&I[28].style==="checkbox"?N?N.p(I,V):(N=pc(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&A(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function I2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){E(r,e,a),l&&l.m(e,null),t||(n=[ee(window,"click",i[7]),ee(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:qe,o:qe,d(r){r&&A(e),l&&l.d(),t=!1,Ye(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function N2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Qt();let o=Ct("getTranslation");Si(i,o,X=>t(5,n=X));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(X){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(X,G){let K=ls(X.target,".fd-popover__control",20),re=K.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(K,!re))}function m(X,G){const K=X.querySelector(".lui-activate-dropdown"),re=X.parentNode.querySelector(".fd-popover__body"),ce=X.parentNode.querySelector(".fd-select__control");X.setAttribute("aria-expanded",G),re.setAttribute("aria-hidden",!G),ce.setAttribute("aria-expanded",G),K.setAttribute("aria-expanded",G),t(14,h=G)}function v(X,G,K){t(4,c=K),t(0,r[l[0]][X]=G.value||G,r)}function C(X,G){document.querySelectorAll(".enum-buttons-container-"+X+" button").forEach(K=>{const re=K.getAttribute("id"),ce=`lui-us-enum_button_${X}_option`;re===ce?K.classList.add("fd-button--emphasized"):K.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][X]=G.value||G,r)}function y(X,G){let K;if(Array.isArray(G)){for(let re=0;re<G.length;re++)if(ie.isObject(G[re])){if(G[re].value&&G[re].value===X){K=G[re].label,t(4,c=re);break}}else{K=X,t(4,c=G.indexOf(X));break}return n(K)}}function P(X){return n(ie.isObject(X)?X.label:X)}function N(X,G,K){return ie.isObject(K)?`${X}_${G}_${K.value}`:`${X}_${G}_${K}`}function I(X,G,K,re){let ce=ls(X.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${K}`).children;let Pe=-1;if([...ne].forEach((se,ae)=>{se.classList.contains("is-focus")&&(Pe=ae)}),h){if(X.keyCode===Qr&&X.altKey&&(ce.click(),ce.focus()),X.keyCode===mr&&!X.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<re.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(X.keyCode===Qr&&!X.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<re.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(X.keyCode===_l||X.keyCode===$r)&&v(G,re.options[Pe],Pe)}else ce.focus(),X.keyCode===mr&&X.altKey&&ce.click(),X.keyCode===mr&&!X.altKey&&Pe<re.options.length-1&&v(G,re.options[Pe+1],Pe+1),X.keyCode===Qr&&!X.altKey&&Pe>0&&Pe<re.options.length&&v(G,re.options[Pe-1],Pe-1)}function V(X){if(h){let G=ls(X.target,".fd-popover",20);G.blur(),(X.keyCode===$r||X.keyCode===_l)&&(X.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function L(X){r[l[0]][X]=this.value,t(0,r)}const H=(X,G,K,re)=>I(re,X,G,K),R=X=>b(event,X.isEditable),O=(X,G,K)=>v(X,G,K),z=X=>V(X),Q=(X,G)=>C(X,G);function Z(X){r[l[0]][X]=this.checked,t(0,r)}function fe(X){r[l[0]][X]=this.checked,t(0,r)}return i.$$set=X=>{"userSettingGroup"in X&&t(1,l=X.userSettingGroup),"storedUserSettingData"in X&&t(0,r=X.storedUserSettingData),"isComboOpen"in X&&t(14,h=X.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,L,H,R,O,z,Q,Z,fe]}class T2 extends Ft{constructor(e){super(),Mt(this,e,N2,I2,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}=ml;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?A2:L2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),E(o,t,c),E(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&&(A(t),A(n)),a.d(o)}}}function L2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=Se(),f(e,"class",t=Un(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Fn(e,"background-image","url('"+i[38][1].icon+"')"),Fn(e,"background-size","cover")},m(o,c){E(o,e,c),E(o,l,c),a&&a.m(o,c),E(o,r,c)},p(o,c){c[0]&2&&t!==(t=Un(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&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&&Fn(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&&(A(e),A(l),A(r)),a&&a.d(o)}}}function A2(i){let e,t,n,l;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Un(i[18](i[38][1].icon))+" svelte-xbltd6"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-xbltd6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Un(r[18](r[38][1].icon))+" svelte-xbltd6")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-xbltd6")&&f(e,"class",l)},d(r){r&&A(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Un(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){E(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-xbltd6")&&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&&A(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=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-xbltd6"),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,N){E(P,e,N),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=[ee(e,"click",wt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[38][1].icon?v?v.p(i,N):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),N[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&A(e),v&&v.d(),b=!1,Ye(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=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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&&A(e),gt(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 T2({props:o}),Je.push(()=>St(e,"closeDropDown",r)),Je.push(()=>St(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Ue(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],kt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],kt(()=>n=!1)),e.$set(d)},i(c){l||(D(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function E2(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])+"",N,I,V,L,H,R,O,z,Q,Z,fe,X,G,K=i[10](i[5])+"",re,ce,ne,Pe,se=i[10](i[6])+"",ae,be,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 Qe=i[11]&&Pc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let De=0;De<ze.length;De+=1)ze[De].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),N=Ne(P),I=W(),V=S("div"),L=S("div"),Qe&&Qe.c(),H=W(),R=S("div"),O=W(),z=S("div"),Q=W(),Z=S("footer"),fe=S("div"),X=S("div"),G=S("button"),re=Ne(K),ce=W(),ne=S("div"),Pe=S("button"),ae=Ne(se),f(o,"class","fd-title fd-title--h5 svelte-xbltd6"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-xbltd6"),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-xbltd6"),f(r,"class","fd-side-nav svelte-xbltd6"),f(l,"class","lui-usersettings-left-nav svelte-xbltd6"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-xbltd6"),f(y,"class","fd-title fd-title--h5 svelte-xbltd6"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-xbltd6"),f(L,"class","usersettingseditor mf-wrapper svelte-xbltd6"),f(R,"class","iframeUserSettingsCtn iframe-wrapper svelte-xbltd6"),f(z,"class","wcUserSettingsCtn wc-wrapper svelte-xbltd6"),f(V,"class","lui-usersettings-content svelte-xbltd6"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-xbltd6"),f(G,"data-testid","lui-us-saveBtn"),f(G,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"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(fe,"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-xbltd6"),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-xbltd6"),f(e,"tabindex","0")},m(De,et){E(De,e,et),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 nt=0;nt<ze.length;nt+=1)ze[nt]&&ze[nt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,N),w(n,I),w(n,V),w(V,L),Qe&&Qe.m(L,null),w(V,H),w(V,R),w(V,O),w(V,z),w(t,Q),w(t,Z),w(Z,fe),w(fe,X),w(X,G),w(G,re),w(fe,ce),w(fe,ne),w(ne,Pe),w(Pe,ae),be=!0,je||(ye=[ee(bc,"resize",i[20]),ee(bc,"keydown",i[3]),ee(v,"click",i[17]),ee(G,"click",i[25]),ee(Pe,"click",i[26])],je=!0)},p(De,et){if((!be||et[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),et[0]&803846){Le=Ve(Object.entries(De[1]));let nt;for(nt=0;nt<Le.length;nt+=1){const de=vc(De,Le,nt);ze[nt]?ze[nt].p(de,et):(ze[nt]=yc(de),ze[nt].c(),ze[nt].m(p,null))}for(;nt<ze.length;nt+=1)ze[nt].d(1);ze.length=Le.length}(!be||et[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(N,P),De[11]?Qe?(Qe.p(De,et),et[0]&2048&&D(Qe,1)):(Qe=Pc(De),Qe.c(),D(Qe,1),Qe.m(L,null)):Qe&&(we(),U(Qe,1,1,()=>{Qe=null}),ke()),(!be||et[0]&1056)&&K!==(K=De[10](De[5])+"")&&Ae(re,K),(!be||et[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(ae,se)},i(De){be||(D(Qe),be=!0)},o(De){U(Qe),be=!1},d(De){De&&A(e),gt(ze,De),Qe&&Qe.d(),je=!1,Ye(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 R2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function D2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function up(i,e,t){if(i&&t>0)return i.matches(e)?i:up(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 O2(i,e,t){let n,{userSettingGroups:l}=e;const r=Qt();let a,{storedUserSettings:o={}}=e,c={},h=Ct("getTranslation");Si(i,h,se=>t(10,n=se));let d=gl.userSettingsDialog.dialogHeader,g=gl.userSettingsDialog.saveBtn,p=gl.userSettingsDialog.dismissBtn,b={},m,v,C,y;ea(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),ln(()=>{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",be=>{const je=Ee.getValidMessageSource(be);if(!je||be.data.msg!=="custom")return;je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(be.data),Le="luigi.updateUserSettings";if(ye.id===Le){const ze=_r.findActiveCustomUserSettingsIframe(be.source);if(ze){let Qe=ze.getAttribute("userSettingsGroup");t(0,o[Qe]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&R()}),te.readUserSettings().then(be=>{c=JSON.parse(JSON.stringify(be)),be===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),be)),N([m,l[0][m]])}).catch(be=>{be&&be.message&&console.error(be.message),be&&be.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 be=se.settings[ae];be.type==="enum"?Array.isArray(be.options)||console.error(`There is no options array for '${ae}' defined in the Luigi userSettings config.`):be.type===void 0&&console.error(`There is no data type defined for '${ae}' in the Luigi userSettings config.`)}}function N(se,ae){t(11,a=se);let be=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")}),up(ae.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<cn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&Nc()),je.viewUrl){if(_r.hideUserSettingsIframe(),je.webcomponent){I({...je},be);return}if(b.hasOwnProperty(be))_r.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===be&&(ye.style.display="block")});else{const ye=Xr.hasDecorators()?Xr.applyDecorators(je.viewUrl):je.viewUrl;let Le=_r.createIframe(ye,be);b[be]=Le}D2()}else V2()}function I(se,ae){const be=document.querySelector(".wcUserSettingsCtn");if(!be)return;be.innerHTML="";const je={};be.eventBus={listeners:je,onPublishEvent:(De,et)=>{let nt=et;t(0,o[nt]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[ae]},Le=se.eventListeners,ze=se.webcomponent,Qe=se.label;ql.renderWebComponent(se.viewUrl,be,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Qe?Qe.replace(/ /g,"").toLowerCase():null),R2()}const V=se=>{t(0,o=se.detail.userSettings)};function L(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){R()}function R(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&Nc()}function O(se){return le.renderIconClassName(se)}function z(se){return le.isOpenUIiconName(se.icon)}let Q;const Z=()=>{const se=window.innerWidth>=cn.desktopMinWidth&&Q<cn.desktopMinWidth;if(window.innerWidth<cn.desktopMinWidth&&Q>=cn.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"),!Q){let be=document.querySelector(".confirm-button");window.innerWidth<cn.desktopMinWidth?be.style.display="none":be.style.display="block"}Q=window.innerWidth};function fe(se,ae){let be=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===_l||se.keyCode===$r)&&be[ae].click(),se.keyCode===h2&&be[Object.keys(l).length-1].focus(),se.keyCode===d2&&be[0].focus()}function X(se){se.keyCode===zl&&C?y():se.keyCode===zl&&!C&&r("close")}const G=se=>N(se,event),K=(se,ae)=>fe(ae,[se]);function re(se){y=se,t(9,y)}function ce(se){C=se,t(8,C)}const ne=()=>L(),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,fe,X,d,g,p,v,C,y,n,a,r,h,N,V,L,R,O,z,Z,G,K,re,ce,ne,Pe]}class M2 extends Ft{constructor(e){super(),Mt(this,e,O2,E2,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:F2}=ml;function U2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){E(t,e,n)},p:qe,d(t){t&&A(e)}}}function B2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=S("h1"),a=Ne(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){E(h,e,d),w(e,t),E(h,n,d),E(h,l,d),w(l,a),o||(c=ee(t,"click",Wt(wt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(A(e),A(n),A(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),a=S("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){E(h,e,d),E(h,t,d),E(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Wt(wt(i[3]))),ee(n,"mousedown",Wt(i[6]))],o=!0)},p:qe,d(h){h&&(A(e),A(t),A(n)),o=!1,Ye(c)}}}function H2(i){let e,t,n,l,r,a,o,c,h,d;t=new pl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?B2:U2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=Se(),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){E(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),E(v,a,C),m&&m.m(v,C),E(v,o,C),c=!0,h||(d=ee(F2,"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||(D(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&(A(e),A(a),A(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function W2(i,e,t){const n=Qt();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,N=!1,I=Ct("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:K=>{K&&Object.getOwnPropertyNames(K).forEach(re=>{re==="splitViewSettings"?t(1,C=K.splitViewSettings):re==="lastNode"?r=K.lastNode:re==="pathData"?a=K.pathData:re==="nodeParams"?o=K.nodeParams:re==="collapsed"?t(0,v=K.collapsed):re==="isDataPrepared"?t(8,y=K.isDataPrepared):re==="currentNode"?c=K.currentNode:re==="splitViewIframe"?d=K.splitViewIframe:re==="splitViewIframeData"?g=K.splitViewIframeData:re==="splitViewWC"?p=K.splitViewWC:re==="splitViewWCData"&&(b=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),L=async()=>{y?v||pt.createAndSetView(V()):await pt.prepareSplitViewData(V(),m)},H=()=>{l.split=pt.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=pt.getDragger()},R=()=>{const K=pt.getDraggerBackdrop();K&&(K.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${pt.splitViewValues.top}px`),l.split.style.top=`${pt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(K){if(Ee.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&pt.close(V()),K.data.msg==="luigi.navigation.splitview.collapse"&&z(),K.data.msg==="luigi.navigation.splitview.expand"&&Q(),K.data.msg==="luigi.navigation.splitview.resize")){const re=parseInt(K.data.data);if(pt.calculateAndSetSplitViewValues(re,pt.internalValues),v)return;R(),pt.sendMessageToClients("resize.ok",pt.splitViewValues.percent)}}ln(()=>{Z(),h=O.bind(this),Bn.addEventListener("message",h)}),xr(()=>{L(),N!==y&&!v&&(N=y,R())}),ea(()=>{window.removeEventListener("message",h)});function z(){pt.collapse(V())}async function Q(){await pt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const K=ie.getShellbarHeight();pt.internalValues.innerHeight=ie.getInnerHeight(),pt.internalValues.rightContentHeight=pt.internalValues.innerHeight-K,pt.internalValues.thresholdBottom=30,pt.internalValues.thresholdTop=K+30,pt.calculateAndSetSplitViewValues(pt.splitViewValues.percent,pt.internalValues),v||R()}function fe(K){let re=K.y,ce={};const ne=function(je){const ye=re-je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Qe=pt.internalValues.innerHeight-ze,De=pt.enforceTresholds(ze,Qe);ze<De.top||Qe<De.bottom||(ce=De,re=je.y,l.draggable.style.top=`${ce.top}px`)},Pe=function(){if(se(),!ce.top||!ce.bottom||ce.top==pt.internalValues.m_pos_prev){pt.getDraggerBackdrop().style.display="none";return}pt.internalValues.m_pos_prev=ce.top,pt.splitViewValues=ce,R(),pt.sendMessageToClients("resize.ok",ce.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},ae=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),ae(),pt.getDraggerBackdrop().style.display="block"}const X=K=>{let re=pt.getDraggerButton();re&&(re.style.display=K?"block":"none"),re=pt.getCollapsedDraggerButton(),re&&(re.style.display=K?"block":"none")},G=K=>{X(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,m=K.nodepath),"collapsed"in K&&t(0,v=K.collapsed),"splitViewSettings"in K&&t(1,C=K.splitViewSettings),"isDataPrepared"in K&&t(8,y=K.isDataPrepared),"disableBackdrop"in K&&t(2,P=K.disableBackdrop)},[v,C,P,z,Q,Z,fe,G,y,m]}class fp extends Ft{constructor(e){super(),Mt(this,e,W2,H2,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:G2,then:z2,catch:q2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&rs(t,n)||Q_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function q2(i){return{c:qe,m:qe,p:qe,d:qe}}function z2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(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){E(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&&A(e)}}}function G2(i){return{c:qe,m:qe,p:qe,d:qe}}function K2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function j2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Ln extends Ft{constructor(e){super(),Mt(this,e,j2,K2,Dt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(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){E(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&&A(e)}}}function J2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function Y2(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 ti extends Ft{constructor(e){super(),Mt(this,e,Y2,J2,Dt,{node:0})}}function Q2(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,N=hs(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),N&&N.c(),p=W(),b=S("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(I,V){E(I,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),N&&N.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Wt(wt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=I[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",I[0]),N&&N.p&&(!v||V&8)&&_s(N,P,I,I[3],v?gs(P,I[3],V,null):ps(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(D(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&A(e),N&&N.d(I),C=!1,Ye(y)}}}function Z2(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||(D(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=[Z2,Q2],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=Se()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),D(t,1),t.m(n.parentNode,n))},i(c){l||(D(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function $2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),le.storeExpandedState(r.uid,a),r.isSingleEntry||le.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 x2 extends Ft{constructor(e){super(),Mt(this,e,$2,X2,Dt,{navGroup:1,expanded:0})}}const{window:ns}=ml;function Rc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Dc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[92]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[99]=e[t],n}function eS(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=S("div"),g&&g.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),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-1bekqg6")},m(m,v){E(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=ee(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&&D(p,1)):(p=Kc(m),p.c(),D(p,1),p.m(l,null)):p&&(we(),U(p,1,1,()=>{p=null}),ke()),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-1bekqg6"))&&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-1bekqg6"))&&f(e,"class",o)},i(m){c||(D(p),c=!0)},o(m){U(p),c=!1},d(m){m&&A(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function tS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),Fn(e,"width","var(--luigi__left-sidenav--width)"),Fn(e,"height","100%")},m(o,c){E(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&&D(a,1)):(a=Sd(o),a.c(),D(a,1),a.m(e,null)):a&&(we(),U(a,1,1,()=>{a=null}),ke()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&f(e,"class",n)},i(o){l||(D(a),l=!0)},o(o){U(a),l=!1},d(o){o&&A(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){E(n,e,l),t&&t.m(e,null),i[62](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&&A(e),t&&t.d(),i[62](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=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){E(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&&A(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?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function nS(i){let e,t,n,l;return{c(){e=S("span"),t=S("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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(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&&A(e)}}}function iS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){E(r,e,a),n||(l=ee(e,"click",wt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(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=S("div"),t=S("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-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){E(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),D(a[d],1)):(a[d]=_d(g),a[d].c(),D(a[d],1),a[d].m(t,null))}for(we(),d=r.length;d<a.length;d+=1)o(d);ke()}(!l||h[0]&8388608&&n!==(n=Un(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)D(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&&A(e),gt(a,c)}}}function lS(i){let e,t,n,l;const r=[sS,aS],a=[];function o(c,h){return c[96].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),D(t,1),t.m(n.parentNode,n))},i(c){l||(D(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function rS(i){let e,t,n=Ve(i[96]),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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[96]);let c;for(c=0;c<n.length;c+=1){const h=Mc(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=gd(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function aS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&jc(i),g=Ve(i[96]),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=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[96],i[27](i[95]))),f(e,"data-testid",a=i[34](i[96].metaInfo,i[95])),f(e,"id","category_list_level1_"+i[98])},m(m,v){E(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),E(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);E(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].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[95])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[96],m[27](m[95]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[96].metaInfo,m[95])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[96]);let C;for(C=0;C<g.length;C+=1){const y=Dc(m,g,C);p[C]?(p[C].p(y,v),D(p[C],1)):(p[C]=$c(y),p[C].c(),D(p[C],1),p[C].m(c.parentNode,c))}for(we(),C=g.length;C<p.length;C+=1)b(C);ke()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)D(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&&(A(e),A(o),A(c)),d&&d.d(),gt(p,m)}}}function sS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H,R,O,z,Q,Z,fe;function X(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[96].metaInfo.icon)),l?_S:gS}let G=X(i,[-1,-1,-1,-1]),K=G(i);function re(){return i[65](i[96])}function ce(){return i[66](i[96])}function ne(...ye){return i[67](i[96],...ye)}let Pe=Ve(i[96]),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 be=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&ld(i);function je(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),K.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),L=S("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();R=W(),be&&be.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[96],i[27](i[95]))),f(n,"class",d="fd-nested-list__link "+(nn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[98]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=nn(i[96],i[9])),f(C,"class",y=nn(i[96],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-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=nn(i[96],i[9])),f(v,"title",N=i[41](i[96],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",I=i[6]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(L,"aria-hidden",H=!nn(i[96],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[96].metaInfo,i[95])),Yt(e,"lui-item-expanded",nn(i[96],i[9]))},m(ye,Le){E(ye,e,Le),w(e,t),w(t,n),K.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,L);for(let ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(L,null);w(e,R),be&&be.m(e,null),w(e,O),Q=!0,Z||(fe=[ee(n,"click",wt(re)),ee(v,"click",wt(ce)),ee(t,"keypress",ne),ee(e,"click",Wt(je))],Z=!0)},p(ye,Le){if(i=ye,G===(G=X(i,Le))&&K?K.p(i,Le):(K.d(1),K=G(i),K&&(K.c(),K.m(n,r))),(!Q||Le[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Ae(c,o),(!Q||Le[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Le[0]&8704&&d!==(d="fd-nested-list__link "+(nn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Le[0]&8704&&b!==(b=nn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Le[0]&8704&&y!==(y=nn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Le[0]&8704&&P!==(P=nn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Le[0]&8704&&N!==(N=i[41](i[96],i[9])))&&f(v,"title",N),(!Q||Le[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[96]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Qe=Oc(i,Pe,ze);se[ze]?(se[ze].p(Qe,Le),D(se[ze],1)):(se[ze]=id(Qe),se[ze].c(),D(se[ze],1),se[ze].m(L,null))}for(we(),ze=Pe.length;ze<se.length;ze+=1)ae(ze);ke()}(!Q||Le[0]&8704&&H!==(H=!nn(i[96],i[9])))&&f(L,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?be?(be.p(i,Le),Le[0]&8448&&D(be,1)):(be=ld(i),be.c(),D(be,1),be.m(e,O)):be&&(we(),U(be,1,1,()=>{be=null}),ke()),(!Q||Le[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Le[0]&8704)&&Yt(e,"lui-item-expanded",nn(i[96],i[9]))},i(ye){if(!Q){for(let Le=0;Le<Pe.length;Le+=1)D(se[Le]);D(be),Q=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(be),Q=!1},d(ye){ye&&A(e),K.d(),gt(se,ye),be&&be.d(),Z=!1,Ye(fe)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function oS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function uS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[96].metaInfo.icon?i[31](i[96].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[96].metaInfo.icon?n[31](n[96].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jc(i){let e,t,n=i[99].label&&Yc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=Yc(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(Z,fe){return Z[99].icon?cS:fS}let V=I(i),L=V(i),H=i[99].statusBadge&&Qc(i),R=i[99].externalLink&&i[99].externalLink.url&&Zc(),O=i[99].badgeCounter&&Xc(i);function z(...Z){return i[73](i[99],...Z)}function Q(...Z){return i[74](i[99],...Z)}return{c(){e=S("li"),t=S("a"),L.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),R&&R.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[99])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[99],i[30](i[99]))),f(e,"aria-labelledby","category_list_level1_"+i[98])},m(Z,fe){E(Z,e,fe),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),R&&R.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(N=[ee(t,"click",z),ee(t,"keyup",function(){ki(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(Z,fe){i=Z,V===(V=I(i))&&L?L.p(i,fe):(L.d(1),L=V(i),L&&(L.c(),L.m(t,n))),(!y||fe[0]&8192)&&r!==(r=i[30](i[99])+"")&&Ae(a,r),i[99].statusBadge?H?(H.p(i,fe),fe[0]&8192&&D(H,1)):(H=Qc(i),H.c(),D(H,1),H.m(l,null)):H&&(we(),U(H,1,1,()=>{H=null}),ke()),(!y||fe[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[99].externalLink&&i[99].externalLink.url?R||(R=Zc(),R.c(),R.m(t,d)):R&&(R.d(1),R=null),i[99].badgeCounter?O?(O.p(i,fe),fe[0]&8192&&D(O,1)):(O=Xc(i),O.c(),D(O,1),O.m(t,null)):O&&(we(),U(O,1,1,()=>{O=null}),ke()),(!y||fe[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||fe[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||fe[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||fe[0]&8192&&m!==(m=le.getTestId(i[99])))&&f(t,"data-testid",m),(!y||fe[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(Z){y||(D(H),D(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&A(e),L.d(),H&&H.d(),R&&R.d(),O&&O.d(),P=!1,Ye(N)}}}function fS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){E(o,e,c),E(o,n,c),E(o,l,c),w(l,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&&(A(e),A(n),A(l))}}}function cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function hS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qc(i){let e,t;return e=new ti({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Xc(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=Jc(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function gS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function _S(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function xc(i){let e,t,n=i[99].label&&ed(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=ed(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ti({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&td(),V=i[99].badgeCounter&&nd(i);function L(...R){return i[68](i[99],...R)}function H(...R){return i[69](i[99],...R)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=le.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[98])},m(R,O){E(R,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",L),ee(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(R,O){i=R,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=td(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&D(V,1)):(V=nd(i),V.c(),D(V,1),V.m(t,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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=le.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(R){y||(D(o.$$.fragment,R),D(V),y=!0)},o(R){U(o.$$.fragment,R),U(V),y=!1},d(R){R&&A(e),Fe(o),I&&I.d(),V&&V.d(),P=!1,Ye(N)}}}function td(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function nd(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=xc(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=Ve(i[96]),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=S("div"),t=S("div"),n=S("h5"),r=Ne(l),a=W(),o=S("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-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},m(p,b){E(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[95])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[96]);let m;for(m=0;m<h.length;m+=1){const v=Vc(p,h,m);d[m]?(d[m].p(v,b),D(d[m],1)):(d[m]=ud(v),d[m].c(),D(d[m],1),d[m].m(o,null))}for(we(),m=h.length;m<d.length;m+=1)g(m);ke()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)D(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&&A(e),gt(d,p)}}}function rd(i){let e,t,n=i[99].label&&ad(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=ad(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ti({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&sd(),V=i[99].badgeCounter&&od(i);function L(...R){return i[70](i[99],...R)}function H(...R){return i[71](i[99],...R)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(R,O){E(R,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",L),ee(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(R,O){i=R,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=sd(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&D(V,1)):(V=od(i),V.c(),D(V,1),V.m(t,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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=le.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(R){y||(D(o.$$.fragment,R),D(V),y=!0)},o(R){U(o.$$.fragment,R),U(V),y=!1},d(R){R&&A(e),Fe(o),I&&I.d(),V&&V.d(),P=!1,Ye(N)}}}function sd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function od(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&rd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=rd(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[99].label&&cd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=cd(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(Z,fe){return Z[99].icon?mS:pS}let L=V(i),H=L(i);c=new ti({props:{node:i[99]}});let R=i[99].externalLink&&i[99].externalLink.url&&dd(),O=i[99].badgeCounter&&hd(i);function z(...Z){return i[63](i[99],...Z)}function Q(...Z){return i[64](i[99],...Z)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),R&&R.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[99])),f(t,"title",b=i[35](i[99],i[30](i[99]))),f(t,"class",m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=le.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(Z,fe){E(Z,e,fe),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),R&&R.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,N||(I=[ee(t,"click",z),ee(t,"keyup",function(){ki(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],N=!0)},p(Z,fe){i=Z,L===(L=V(i))&&H?H.p(i,fe):(H.d(1),H=L(i),H&&(H.c(),H.m(t,n))),(!P||fe[0]&8192)&&r!==(r=i[30](i[99])+"")&&Ae(a,r);const X={};fe[0]&8192&&(X.node=i[99]),c.$set(X),(!P||fe[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?R||(R=dd(),R.c(),R.m(t,g)):R&&(R.d(1),R=null),i[99].badgeCounter?O?(O.p(i,fe),fe[0]&8192&&D(O,1)):(O=hd(i),O.c(),D(O,1),O.m(t,null)):O&&(we(),U(O,1,1,()=>{O=null}),ke()),(!P||fe[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||fe[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||fe[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||fe[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||fe[0]&8192&&C!==(C=le.getTestId(i[99])))&&f(t,"data-testid",C)},i(Z){P||(D(c.$$.fragment,Z),D(O),P=!0)},o(Z){U(c.$$.fragment,Z),U(O),P=!1},d(Z){Z&&A(e),H.d(),Fe(c),R&&R.d(),O&&O.d(),N=!1,Ye(I)}}}function pS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function mS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function bS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function vS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function dd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function hd(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&fd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=fd(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[rS,lS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(FS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(d,g){~n&&c[n].m(d,g),E(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(we(),U(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),D(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(D(l),a=!0)},o(d){U(l),a=!1},d(d){d&&A(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=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){E(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&&A(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?kS:wS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),E(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&&A(e),l.d(r)}}}function wS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){E(r,e,a),n||(l=[ee(e,"click",i[76]),ee(e,"keydown",i[77])],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-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Ye(l)}}}function kS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),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-1bekqg6")},m(a,o){E(a,e,o),w(e,t),l||(r=ee(e,"click",i[75]),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-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&A(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){E(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&&A(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=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),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-1bekqg6")},m(p,b){E(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&&A(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?CS:SS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function SS(i){let e,t,n,l;return{c(){e=S("span"),t=S("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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(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&&A(e)}}}function CS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function kd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){E(r,e,a),n||(l=ee(e,"click",wt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(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=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("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=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),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-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){E(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N]&&v[N].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[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let N;for(N=0;N<m.length;N+=1){const I=Fc(y,m,N);v[N]?(v[N].p(I,P),D(v[N],1)):(v[N]=Bd(I),v[N].c(),D(v[N],1),v[N].m(t,n))}for(we(),N=m.length;N<v.length;N+=1)C(N);ke()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)D(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&&A(e),gt(v,y),i[61](null),p=!1,Ye(b)}}}function yS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,L;function H(G,K){return K[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?NS:IS}let R=H(i,[-1,-1,-1,-1]),O=R(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function Z(...G){return i[54](i[96],...G)}function fe(...G){return i[55](i[96],...G)}let X=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Cd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),X&&X.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-1bekqg6"),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[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:nn(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",N=i[34](i[96].metaInfo,i[95]))},m(G,K){E(G,e,K),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),X&&X.m(e,null),I=!0,V||(L=[ee(n,"click",wt(z)),ee(n,"keypress",wt(Q)),ee(n,"keypress",wt(Z)),ee(t,"click",Wt(fe))],V=!0)},p(G,K){i=G,R===(R=H(i,K))&&O?O.p(i,K):(O.d(1),O=R(i),O&&(O.c(),O.m(n,r))),(!I||K[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Ae(c,o),(!I||K[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||K[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!I||K[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:nn(i[96],i[9])))&&f(t,"aria-expanded",v),(!I||K[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?X?(X.p(i,K),K[0]&16704&&D(X,1)):(X=Cd(i),X.c(),D(X,1),X.m(e,null)):X&&(we(),U(X,1,1,()=>{X=null}),ke()),(!I||K[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||K[0]&16384&&N!==(N=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",N)},i(G){I||(D(X),I=!0)},o(G){U(X),I=!1},d(G){G&&A(e),O.d(),X&&X.d(),V=!1,Ye(L)}}}function PS(i){let e,t,n=Ve(i[96]),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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[96]);let c;for(c=0;c<n.length;c+=1){const h=Hc(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Fd(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function IS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function NS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[96]),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=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("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-1bekqg6")},m(p,b){E(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[96]);let m;for(m=0;m<h.length;m+=1){const v=Bc(p,h,m);d[m]?(d[m].p(v,b),D(d[m],1)):(d[m]=Rd(v),d[m].c(),D(d[m],1),d[m].m(l,null))}for(we(),m=h.length;m<d.length;m+=1)g(m);ke()}(!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-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)D(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&&A(e),c&&c.d(),gt(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&Pd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),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[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){E(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[96].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[95])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&A(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[96].metaInfo.icon)),e?LS:TS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function TS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function LS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Id(i){let e,t,n=i[99].label&&Nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Nd(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L=i[30](i[99])+"",H,R,O,z,Q,Z,fe,X,G,K,re,ce,ne,Pe;c=new ti({props:{node:i[99]}});let se=i[99].externalLink&&i[99].externalLink.url&&Td(),ae=i[99].badgeCounter&&Ld(i);function be(...De){return i[56](i[99],...De)}function je(...De){return i[57](i[99],...De)}O=new ti({props:{node:i[99]}});let ye=i[99].externalLink&&i[99].externalLink.url&&Ad(),Le=i[99].badgeCounter&&Ed(i);function ze(...De){return i[58](i[99],...De)}function Qe(...De){return i[59](i[99],...De)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),g=S("span"),p=W(),se&&se.c(),b=W(),ae&&ae.c(),P=W(),N=S("li"),I=S("a"),V=S("span"),H=Ne(L),R=W(),Ue(O.$$.fragment),Q=W(),ye&&ye.c(),Z=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),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[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=le.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",fe=i[33](i[99])),f(I,"class",X="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",K=le.getTestId(i[99])),f(I,"title",re=i[35](i[99],i[30](i[99]))),Fn(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[98])},m(De,et){E(De,e,et),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),E(De,P,et),E(De,N,et),w(N,I),w(I,V),w(V,H),w(V,R),Me(O,V,null),w(I,Q),ye&&ye.m(I,null),w(I,Z),Le&&Le.m(I,null),ce=!0,ne||(Pe=[ee(n,"click",be),ee(n,"keyup",function(){ki(i[24]?void 0:je)&&(i[24]?void 0:je).apply(this,arguments)}),ee(I,"click",ze),ee(I,"keyup",function(){ki(i[24]?void 0:Qe)&&(i[24]?void 0:Qe).apply(this,arguments)})],ne=!0)},p(De,et){i=De,(!ce||et[0]&16384)&&r!==(r=i[30](i[99])+"")&&Ae(a,r);const nt={};et[0]&16384&&(nt.node=i[99]),c.$set(nt),(!ce||et[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[99].badgeCounter?ae?(ae.p(i,et),et[0]&16384&&D(ae,1)):(ae=Ld(i),ae.c(),D(ae,1),ae.m(n,null)):ae&&(we(),U(ae,1,1,()=>{ae=null}),ke()),(!ce||et[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!ce||et[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!ce||et[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!ce||et[0]&16384&&y!==(y=le.getTestId(i[99])))&&f(t,"data-testid",y),(!ce||et[0]&16384)&&L!==(L=i[30](i[99])+"")&&Ae(H,L);const de={};et[0]&16384&&(de.node=i[99]),O.$set(de),(!ce||et[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(I,Z)):ye&&(ye.d(1),ye=null),i[99].badgeCounter?Le?(Le.p(i,et),et[0]&16384&&D(Le,1)):(Le=Ed(i),Le.c(),D(Le,1),Le.m(I,null)):Le&&(we(),U(Le,1,1,()=>{Le=null}),ke()),(!ce||et[0]&16384&&fe!==(fe=i[33](i[99])))&&f(I,"href",fe),(!ce||et[0]&16512&&X!==(X="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",X),(!ce||et[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!ce||et[0]&16384&&K!==(K=le.getTestId(i[99])))&&f(I,"data-testid",K),(!ce||et[0]&16384&&re!==(re=i[35](i[99],i[30](i[99]))))&&f(I,"title",re)},i(De){ce||(D(c.$$.fragment,De),D(ae),D(O.$$.fragment,De),D(Le),ce=!0)},o(De){U(c.$$.fragment,De),U(ae),U(O.$$.fragment,De),U(Le),ce=!1},d(De){De&&(A(e),A(P),A(N)),Fe(c),se&&se.d(),ae&&ae.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Ye(Pe)}}}function Td(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Ld(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Ed(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&Id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Id(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[99].label&&Vd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Vd(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H;function R(G,K){return G[99].icon?ES:AS}let O=R(i),z=O(i);h=new ti({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Od(),Z=i[99].badgeCounter&&Md(i);function fe(...G){return i[50](i[99],...G)}function X(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Ue(h.$$.fragment),g=W(),Q&&Q.c(),p=W(),Z&&Z.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=le.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,K){E(G,e,K),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,L||(H=[ee(n,"click",fe),ee(n,"keyup",function(){ki(i[24]?void 0:X)&&(i[24]?void 0:X).apply(this,arguments)})],L=!0)},p(G,K){i=G,O===(O=R(i))&&z?z.p(i,K):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||K[0]&16384)&&a!==(a=i[30](i[99])+"")&&Ae(o,a);const re={};K[0]&16384&&(re.node=i[99]),h.$set(re),(!V||K[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Q||(Q=Od(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?Z?(Z.p(i,K),K[0]&16384&&D(Z,1)):(Z=Md(i),Z.c(),D(Z,1),Z.m(n,b)):Z&&(we(),U(Z,1,1,()=>{Z=null}),ke()),(!V||K[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||K[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||K[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||K[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||K[0]&16384&&N!==(N=le.getTestId(i[99])))&&f(n,"data-testid",N),(!V||K[0]&16512&&I!==(I=i[99]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(D(h.$$.fragment,G),D(Z),V=!0)},o(G){U(h.$$.fragment,G),U(Z),V=!1},d(G){G&&A(e),z.d(),Fe(h),Q&&Q.d(),Z&&Z.d(),L=!1,Ye(H)}}}function AS(i){let e,t;return{c(){e=S("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){E(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&&A(e)}}}function ES(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?DS:RS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function RS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function DS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Od(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Md(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Dd(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[PS,yS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(MS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(d,g){~n&&c[n].m(d,g),E(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(we(),U(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),D(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(D(l),a=!0)},o(d){U(l),a=!1},d(d){d&&A(r),~n&&c[n].d(d)}}}function VS(i){let e,t,n=Ve(i[92].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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[92].entries);let c;for(c=0;c<n.length;c+=1){const h=Uc(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Ud(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function Bd(i){let e,t;return e=new x2({props:{navGroup:i[92],expanded:i[92].groupEntry&&nn(i[92].groupEntry[1],i[9]),$$slots:{default:[VS]},$$scope:{ctx:i}}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&nn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function OS(i){let e,t,n,l,r,a;const o=[tS,eS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),E(d,n,g),l=!0,r||(a=[ee(ns,"resize",i[18]),ee(ns,"click",i[22]),ee(ns,"blur",i[22]),ee(ns,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(D(t),l=!0)},o(d){U(t),l=!1},d(d){d&&A(n),c[e].d(d),r=!1,Ye(a)}}}function nn(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 MS=i=>!i.hideFromNav&&i.label,FS=i=>!i.hideFromNav&&i.label;function US(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:I,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:H}),set:async j=>{j&&(Object.getOwnPropertyNames(j).forEach(async ve=>{if(ve==="pathData")t(5,p=j.pathData);else if(ve==="context")R=j.context;else if(ve==="children")t(0,a=j.children);else if(ve==="selectedNode")t(7,C=j.selectedNode);else if(ve==="hasCategoriesWithIcon")t(10,N=j.hasCategoriesWithIcon);else if(ve==="navParent"){t(12,L=void 0);let xe=j.navParent;if(t(45,H=xe),xe&&xe.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let at=xe.navHeader,st=xe;if(at==="inherit"){for(st=xe.parent;st&&st.navHeader==="inherit";)st=st.parent;at=st?st.navHeader:void 0}if(at instanceof Function){t(12,L={});let _t=at(le.stripNode(xe),le.stripNode(st),R);_t instanceof Promise?_t.then(Vt=>{t(12,L=Vt)}):t(12,L=_t)}else if(at==="auto")t(12,L={label:xe.label,icon:xe.icon});else if(at&&at.useTitleResolver&&st.titleResolver){st.titleResolver.prerenderFallback?t(12,L={...at,label:st.titleResolver.fallbackTitle||"",icon:st.titleResolver.fallbackIcon}):t(12,L=at);const _t=me.mapPathToNode(ft.getCurrentPath(),st);Ht.extractDataFromPath(_t).then(Vt=>{const jt=me.substituteDynamicParamsInObject(Object.assign({},Vt.pathData.context,st.context),Vt.pathData.pathParams);le.fetchNodeTitleData(st,jt).then(Jn=>{t(12,L={...at,...Jn})}).catch(Jn=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...at,label:xe.label,icon:xe.icon})})})}else t(12,L=await et(at,st))}}}),t(44,I=le.getSideNavAccordionMode(C)))}},r=Qt();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=le.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:L}=e,{navParentNode:H}=e,R,O,z,Q=Ct("store"),Z=Ct("getTranslation");Si(i,Z,j=>t(27,n=j));let fe=!1,X=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),G,K=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",re;const ce=j=>le.getNodeLabel(j),ne=async()=>{const j=l.get(),ve=await Ht.getLeftNavData({...j},j);ve&&(l.set(ve),O=p,window.LEFTNAVDATA=ve.children)};ln(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,fe=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),mn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),mn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let j=vi.initial();t(6,v=j.isSemiCollapsed),t(43,h=j.semiCollapsible),vi.onValueChanged(ve=>{t(6,v=ve.isSemiCollapsed)}),Bn.addEventListener("message",ve=>{ve.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const Pe=()=>{if(G){const j=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),ve=G.querySelector(".fd-navigation__list"),xe=G.querySelector(".fd-navigation__list > .lui-spacer");j==null||j.forEach(at=>{at.navGroupId?ve.querySelector(`[navGroupId="${at.navGroupId}"]`).appendChild(at):ve.insertBefore(at,xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},se=()=>{const j=G.querySelector(".fd-navigation__list > .lui-spacer"),ve=G.querySelector(".lui-moreItems"),xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(j.clientHeight===0&&xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let at=xe.length-1;at>0&&(lastNode=xe[at-1],xe[at].navGroupId=xe[at].parentNode.getAttribute("navGroupId"),ve.insertBefore(xe[at],ve.firstChild),!(j.clientHeight>0));at--);}},ae=()=>{const j=ve=>{ve&&de(ve)};L!=null&&L.renderer&&re&&(L.clearBeforeRender&&t(26,re.innerHTML="",re),L.renderer(re,H,j,L))};xr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let j;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((ve,xe)=>{j&&clearTimeout(j),v&&(j=setTimeout(()=>{Pe(),se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):Pe(),ae()}),jn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function be(j){if(X){const ve={},xe=[],at=K;let st=[];return j.forEach(_t=>{if(_t[0].startsWith(m))st.push({isSingleEntry:!0,entries:[_t]});else{const Vt=_t[1].metaInfo.categoryUid;if(Vt&&Vt.indexOf(at)>0)xe.push(_t);else{const jt=_t[1].metaInfo.isGroup;ve[Vt]={isSingleEntry:!jt,title:n(_t[1].metaInfo.label),groupEntry:_t,uid:Vt,entries:[jt?["undefined",_t[1]]:_t]},st.push(ve[Vt]),!le.isCollapsedSuperCategory(Vt)&&jt&&qt(_t[1],!0)}}}),xe.forEach(_t=>{const Vt=_t[1].metaInfo.categoryUid.split(at)[0],jt=ve[Vt];jt&&(jt.isSingleEntry&&(jt.isSingleEntry=!1,jt.entries=[["undefined",jt.groupEntry[1]]]),jt.entries.push(_t))}),st.filter(_t=>{if(_t.entries&&_t.entries.length>0)for(let Vt=0;Vt<_t.entries.length;Vt++){const[jt,Jn]=_t.entries[Vt];if(Jn.filter(li=>!li.hideFromNav&&li.label).length>0)return!0}return!1})}else return j}let{sortedChildrenEntries:je}=e,{sortedVerticalNavGroups:ye}=e;function Le(j){return le.renderIconClassName(j)}function ze(j){return le.isOpenUIiconName(j)}function Qe(j){return me.getNodeHref(j,b)}function De(j,ve){return j&&j.testId?j.testId:le.prepareForTests(ve||j.label)}async function et(j,ve){const xe=me.mapPathToNode(ft.getCurrentPath(),ve),st=(await Ht.extractDataFromPath(xe)).pathData.pathParams;return me.substituteDynamicParamsInObject(j,st)}function nt(j,ve){return le.generateTooltipText(j,ve)}function de(j){r("handleClick",{node:j})}function it(j,ve){if(vi.getCollapsed()){let xe,at=document.getElementsByClassName("fd-app__sidebar")[0];if(j.metaInfo&&j.metaInfo.label?xe=j.metaInfo.label:xe=j.category&&j.category.label||j.category,at&&!at.classList.contains("isBlocked")&&(at.className+=" isBlocked"),xe===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=xe),at?yt(ve):X&&(Wo(ve),ve.closest(".lui-moreItems")||Te())}}function yt(j){const ve=j.closest(".fd-nested-list__item"),xe=ve.offsetTop,at=ji.getShellbar().offsetHeight;let st;ji.isCustomLuigiContainer()?st=ji.getCustomLuigiContainer().clientHeight:st=window.innerHeight,setTimeout(()=>{const _t=ve.getElementsByClassName("lui-flyout-sublist")[0],Vt=j.closest(".lui-fd-side-nav-wrapper").scrollTop,jt=xe+at-Vt,Jn=st-xe-ve.offsetHeight+Vt-at;jt+_t.offsetHeight>=st?(_t.style.bottom=Jn+"px",_t.className+=" has-bottom-position"):_t.style.top=jt-at+"px"})}function rn(){if(h){let j=vi.onResize(y);t(6,v=j.isSemiCollapsed),t(8,y=j.selectedCategory)}}function An(j){if(j.code==="ArrowRight"){const xe=Ee.getCurrentMicrofrontendIframe();xe&&xe.contentWindow&&xe.contentWindow.focus()}}function sn(j){let ve=H?H.parent:void 0;for(;ve;){if(ve.pathSegment&&ve.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:ve});return}ve=ve.parent}console.warn('Could not resolve "up"-node, redirecting to root'),rp.navigate("/")}function qt(j,ve){vi.getCollapsed()||t(9,P=le.storeExpandedState(j.metaInfo.categoryUid,ve,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function ut(){t(8,y=vi.closePopupMenu(y)),Te()}function rt(j){j&&j.code==="Escape"&&ut()}function Zt(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),_n()}function Xt(j){const ve=j.code;(ve==="Enter"||ve==="Space")&&Zt()}function En(j,ve){(j.code==="Enter"||j==="Space")&&it(ve,j.currentTarget)}function Et(j,ve){j.keyCode===_l&&le.handleNavAnchorClickedWithoutMetaKey(j)&&de(ve)}function _n(){if(!le.getBurgerTooltipConfig())return;const[j,ve]=le.getBurgerTooltipConfig(),xe=document.body.classList.contains("lui-semiCollapsible");j&&ve&&xe&&t(11,V=document.body.classList.contains("semiCollapsed")?j:ve)}function ni(j,ve){return nn(j,ve)?j.metaInfo.titleCollapseButton?n(j.metaInfo.titleCollapseButton):void 0:j.metaInfo.titleExpandButton?n(j.metaInfo.titleExpandButton):void 0}function Kt(j){if(!j)return;const ve=j.target.parentElement;ve.getAttribute("aria-expanded")==="true"?ve.setAttribute("aria-expanded","false"):(ut(),ve.setAttribute("aria-expanded","true")),j.stopPropagation()}function Cn(j){Je[j?"unshift":"push"](()=>{re=j,t(26,re)})}const Ci=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},yi=(j,ve)=>Et(ve,j),bn=j=>qt(j,!nn(j,P)),Pi=j=>qt(j,!nn(j,P)),Ii=(j,ve)=>En(ve,j),Ni=(j,ve)=>it(j,ve.currentTarget),Ti=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Li=(j,ve)=>Et(ve,j),vl=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},wl=(j,ve)=>Et(ve,j),kl=j=>{(j.code==="Enter"||j.code==="Space")&&Kt(j)};function Ai(j){Je[j?"unshift":"push"](()=>{G=j,t(25,G)})}function Ji(j){Je[j?"unshift":"push"](()=>{re=j,t(26,re)})}const Yi=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},di=(j,ve)=>Et(ve,j),Sl=j=>qt(j,!nn(j,P)),Cl=j=>qt(j,!nn(j,P)),Qi=(j,ve)=>En(ve,j),yl=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Pl=(j,ve)=>Et(ve,j),Il=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Ei=(j,ve)=>Et(ve,j),Nl=j=>it(j,event.currentTarget),ii=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Ri=(j,ve)=>Et(ve,j),hi=j=>Zt(),Di=j=>Zt(),gi=j=>Xt(j);return i.$$set=j=>{"children"in j&&t(0,a=j.children),"hideNavComponent"in j&&t(1,o=j.hideNavComponent),"footerText"in j&&t(2,c=j.footerText),"semiCollapsible"in j&&t(43,h=j.semiCollapsible),"semiCollapsibleButton"in j&&t(3,d=j.semiCollapsibleButton),"semiCollapsibleButtonStyle"in j&&t(4,g=j.semiCollapsibleButtonStyle),"pathData"in j&&t(5,p=j.pathData),"pathParams"in j&&t(46,b=j.pathParams),"virtualGroupPrefix"in j&&t(15,m=j.virtualGroupPrefix),"isSemiCollapsed"in j&&t(6,v=j.isSemiCollapsed),"selectedNode"in j&&t(7,C=j.selectedNode),"selectedCategory"in j&&t(8,y=j.selectedCategory),"expandedCategories"in j&&t(9,P=j.expandedCategories),"hasCategoriesWithIcon"in j&&t(10,N=j.hasCategoriesWithIcon),"sideNavAccordionMode"in j&&t(44,I=j.sideNavAccordionMode),"burgerTooltip"in j&&t(11,V=j.burgerTooltip),"navHeader"in j&&t(12,L=j.navHeader),"navParentNode"in j&&t(45,H=j.navParentNode),"sortedChildrenEntries"in j&&t(13,je=j.sortedChildrenEntries),"sortedVerticalNavGroups"in j&&t(14,ye=j.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const j=Object.entries(a);j.sort((ve,xe)=>ve[1].metaInfo.order-xe[1].metaInfo.order),t(13,je=j),t(14,ye=be(j))}},[a,o,c,d,g,p,v,C,y,P,N,V,L,je,ye,m,de,it,rn,An,sn,qt,ut,z,fe,G,re,n,Z,X,ce,Le,ze,Qe,De,nt,rt,Zt,Xt,En,Et,ni,Kt,h,I,H,b,yt,Wo,Cn,Ci,yi,bn,Pi,Ii,Ni,Ti,Li,vl,wl,kl,Ai,Ji,Yi,di,Sl,Cl,Qi,yl,Pl,Il,Ei,Nl,ii,Ri,hi,Di,gi]}class cp extends Ft{constructor(e){super(),Mt(this,e,US,OS,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 BS=i=>{mn.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||""})),dp(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"])},HS=(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||!HS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},dp=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&&wr.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=ta.getDocumentTitle()||r;i.set({title:r}),document.title=At.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[45]=e[t],n[47]=t,n}function qd(i,e,t){const n=i.slice();return n[45]=e[t],n}function WS(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=S("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){E(a,e,o),r&&r.m(e,null),n||(l=ee(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&&A(e),r&&r.d(),n=!1,l()}}}function qS(i){let e,t,n,l,r=i[1]&&Gd(i);return{c(){e=S("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){E(a,e,o),r&&r.m(e,null),n||(l=ee(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&&A(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){E(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[30](null)}}}function Gd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function Kd(i){let e,t,n,l=(!i[3]||i[4])&&jd(i),r=i[3]&&Jd(i),a=i[12]&&i[5]&&ih(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),a&&a.m(o,c),E(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=ih(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(t),A(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function jd(i){let e;function t(r,a){return r[14]?GS:zS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),E(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&&A(e),l.d(r)}}}function zS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&A(e),r=!1,a()}}}function GS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class",r="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(c,h){E(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&A(e),a=!1,o()}}}function Jd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?jS:KS}let b=p(i),m=b(i),v=i[6]&&i[7]&&xd(i),C=i[9]&&i[9].length>0&&eh(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){E(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Wt(ZS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=eh(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&A(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function KS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=W(),a=S("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){E(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Wt(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&&A(e),c=!1,h()}}}function jS(i){let e,t,n,l=i[9]&&i[9].length===1&&Yd(i),r=i[9]&&i[9].length>1&&Qd(i),a=i[9].length>1&&!i[7]&&$d(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),a&&a.m(o,c),E(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Yd(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=Qd(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=$d(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(t),A(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Yd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){E(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Ae(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&A(e)}}}function Qd(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=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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&&A(e),gt(n,l)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),o=W(),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,"href",c=i[24](i[45])),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){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",wt(i[34])),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[45]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&A(e),d=!1,g()}}}function Xd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Zd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Zd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&A(t),n&&n.d(l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("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,"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){E(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",wt(i[35])),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&&A(e),c=!1,h()}}}function xd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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){E(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",wt(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&&A(e),o=!1,c()}}}function eh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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]=nh(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&&A(e),gt(n,l)}}}function JS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&A(e),h=!1,d()}}}function YS(i){let e,t=i[18]&&th(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function th(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new Sr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){E(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&A(e)}}}function nh(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 YS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return JS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Se()},m(o,c){a&&a.m(o,c),E(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&&A(n),a&&a.d(o)}}}function ih(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function QS(i){let e,t;function n(o,c){return o[14]?qS:WS}let l=n(i),r=l(i),a=i[2]&&Kd(i);return{c(){r.c(),e=W(),a&&a.c(),t=Se()},m(o,c){r.m(o,c),E(o,e,c),a&&a.m(o,c),E(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:qe,o:qe,d(o){o&&(A(e),A(t)),r.d(o),a&&a.d(o)}}}const ZS=()=>{};function XS(i,e,t){let n;const l=Qt();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:N}=e,{pathData:I}=e,{addNavHrefForAnchor:V}=e,L,H,R=Ct("getUnsavedChangesModalPromise"),O=Ct("getTranslation");Si(i,O,de=>t(19,n=de));let z=Ct("store");const Q={closeDropDown:()=>{re("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:I,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:N,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(it=>{it==="pathData"?t(26,I=de.pathData):it==="appSwitcherItems"?t(9,v=de.appSwitcherItems):it==="itemRenderer"?t(10,C=de.itemRenderer):it==="pathParams"?t(11,y=de.pathParams):it==="selectedItem"?t(7,b=de.selectedItem):it==="title"?t(2,o=de.title):it==="defaultSubTitle"?t(25,N=de.defaultSubTitle):it==="subTitle"?t(12,P=de.subTitle):it==="defaultTitle"?t(8,m=de.defaultTitle):it==="subTitle"?t(12,P=de.subTitle):it==="showMainAppEntry"?t(6,p=de.showMainAppEntry):it==="hasApps"?t(3,c=de.hasApps):it==="keepMainTitle"?t(4,h=de.keepMainTitle):it==="showSubTitle"?t(5,d=de.showSubTitle):it==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});ln(()=>{BS(Z())}),jn(()=>{(!H||H!=I)&&(dp(Z()),H=I)});function fe(de,it,yt){return setTimeout(()=>{it&&C(de,it.children[yt],Q)}),""}function X(de){R().then(()=>{ft.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){R().then(()=>{ft.navigateTo("/")},()=>{})}function K(de){l("handleClick",{node:de}),re("appSwitcherPopover")}function re(de){l("toggleDropdownState",{name:de})}function ce(de){return de.testId?de.testId:le.prepareForTests(de.title||de)}function ne(de,it){if(de.link){const yt=me.applyPathParams(de.link,it);if(yt.indexOf(":")!==0&&yt.indexOf("/:")===-1)return!0}return!1}function Pe(de){return me.getNodeHref(de)}function se(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ae=de=>{le.handleNavAnchorClickedWithoutMetaKey(de)&&X("/")};function be(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const je=()=>X("/"),ye=de=>{le.handleNavAnchorClickedWithoutMetaKey(de)&&X("/")},Le=()=>X("/"),ze=()=>re("appSwitcherPopover"),Qe=()=>re("appSwitcherPopover"),De=()=>re("appSwitcherPopover"),et=(de,it)=>{le.handleNavAnchorClickedWithoutMetaKey(it)&&X(de.link)};function nt(de){Je[de?"unshift":"push"](()=>{L=de,t(18,L)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,N=de.defaultSubTitle),"pathData"in de&&t(26,I=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,X,G,re,L,n,O,fe,ce,ne,Pe,N,I,K,se,ae,be,je,ye,Le,ze,Qe,De,et,nt]}class $S extends Ft{constructor(e){super(),Mt(this,e,XS,QS,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 lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a,o=i[0]&&ah(i),c=(i[10]||i[11])&&hh(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("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){E(h,e,d),o&&o.m(e,null),E(h,t,d),E(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=ah(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=hh(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(A(e),A(t),A(n)),o&&o.d(),c&&c.d()}}}function ah(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?eC:xS}let h=c(i),d=h(i),g=i[7].name&&sh(i),p=i[7].description&&oh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=fh(lh(i,b,C));let v=i[12]&&ch(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=S("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){E(C,e,y),d.m(e,null),E(C,t,y),E(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),E(C,r,y),E(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=sh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=oh(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 N=lh(C,b,P);m[P]?m[P].p(N,y):(m[P]=fh(N),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=ch(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(A(e),A(t),A(n),A(r),A(a)),d.d(),g&&g.d(),p&&p.d(),gt(m,C),v&&v.d()}}}function xS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&A(e)}}}function eC(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Fn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&Fn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function sh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&A(e)}}}function oh(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&A(e)}}}function uh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function tC(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Fn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&Fn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function nC(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){E(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&&A(e)}}}function fh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&uh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(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){E(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=uh(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&&A(e),g&&g.d(),h=!1,Ye(d)}}}function ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&dh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(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){E(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",wt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=dh(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&&A(e),h&&h.d(),o=!1,Ye(c)}}}function dh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function iC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function lC(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&A(e)}}}function hh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&gh(i),l=i[10]&&!i[8]&&_h(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},m(r,a){n&&n.m(r,a),E(r,e,a),l&&l.m(r,a),E(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=gh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=_h(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(A(e),A(t)),n&&n.d(r),l&&l.d(r)}}}function gh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(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){E(c,e,h),w(e,t),w(t,l),a||(o=ee(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&&A(e),a=!1,o()}}}function _h(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("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){E(a,e,o),E(a,t,o),E(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:qe,d(a){a&&(A(e),A(t),A(n)),l=!1,Ye(r)}}}function rC(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=rh(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function aC(i,e,t){let n;const l=Qt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Ct("store"),C=Ct("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Ct("getUnsavedChangesModalPromise"),P=Ct("openViewInModal");ln(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),R(),dn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),dn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){dn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function L(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function R(){b||(mn.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 be=se.userSettingsProfileMenuEntry;ae.settings={...gl.userSettingsProfileMenuEntry,...be}}ae.logout={...gl.logout,...ne},t(11,g=!!ne),m=!1,dn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,dn.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&&(dn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ft.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){ta.openUserSettings(),l("toggleDropdownState")}function fe(){dn.logout()}function X({keyCode:ne}){(ne===_l||ne===$r)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const K=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>X(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,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,Z,X,o,c,h,d,g,p,n,C,N,I,V,L,H,R,O,fe,K,re,ce]}class sC extends Ft{constructor(e){super(),Mt(this,e,aC,rC,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 ph(i,e,t){const n=i.slice();return n[34]=e[t],n}function mh(i){let e,t,n,l,r,a=i[0]&&bh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=wh(ph(i,o,g));let h=i[12]&&kh(i),d=(i[10]||i[11])&&Ch(i);return{c(){e=S("nav"),t=S("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){E(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=bh(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=ph(g,o,b);c[b]?c[b].p(m,p):(c[b]=wh(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=kh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&A(e),a&&a.d(),gt(c,g),h&&h.d(),d&&d.d()}}}function bh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(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){E(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&&A(e)}}}function vh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function oC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function uC(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function wh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&vh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(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){E(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=vh(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&&A(e),g&&g.d(),h=!1,Ye(d)}}}function kh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&Sh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(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){E(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",wt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=Sh(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&&A(e),d&&d.d(),c=!1,Ye(h)}}}function Sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function cC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&yh(i),l=i[10]&&!i[8]&&Ih(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},m(r,a){n&&n.m(r,a),E(r,e,a),l&&l.m(r,a),E(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=yh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Ih(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(A(e),A(t)),n&&n.d(r),l&&l.d(r)}}}function yh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ph(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(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){E(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ph(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&&A(e),d&&d.d(),c=!1,h()}}}function Ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function hC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ih(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:qe,d(l){l&&A(e),t=!1,n()}}}function gC(i){let e,t=!i[1]&&mh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=mh(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function _C(i,e,t){let n;const l=Qt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Ct("store"),C=Ct("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Ct("getUnsavedChangesModalPromise"),P=Ct("openViewInModal");ln(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),R(),dn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),dn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){dn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function L(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function R(){b||(mn.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 be=se.userSettingsProfileMenuEntry;ae.settings={...gl.userSettingsProfileMenuEntry,...be}}ae.logout={...gl.logout,...ne},t(11,g=!!ne),m=!1,dn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,dn.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&&(dn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ft.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){ta.openUserSettings(),l("toggleDropdownState")}function fe(){dn.logout()}function X({keyCode:ne}){(ne===_l||ne===$r)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const K=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>X(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,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,Z,X,o,c,h,d,g,p,n,C,N,I,V,L,H,R,O,fe,K,re,ce]}class hp extends Ft{constructor(e){super(),Mt(this,e,_C,gC,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 Nh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Th(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Eh(Nh(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=Nh(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Eh(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function Lh(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 N(R,O){return O&6&&(n=null),n==null&&(n=!!R[2](R[11])),n?mC:pC}let I=N(i,-1),V=I(i);r=new Ln({props:{node:i[11]}});let L=p&&Ah(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Ue(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),L&&L.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=le.getTestId(i[11]))},m(R,O){E(R,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),L&&L.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(R,O){i=R,I===(I=N(i,O))&&V?V.p(i,O):(V.d(1),V=I(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?L?L.p(i,O):(L=Ah(i),L.c(),L.m(o,null)):L&&(L.d(1),L=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=le.getTestId(i[11])))&&f(e,"data-testid",v)},i(R){C||(D(r.$$.fragment,R),C=!0)},o(R){U(r.$$.fragment,R),C=!1},d(R){R&&A(e),V.d(),Fe(r),L&&L.d(),y=!1,P()}}}function pC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function mC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){E(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&&A(e)}}}function Ah(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function Eh(i){let e,t,n=i[11].label&&Lh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&D(n,1)):(n=Lh(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function bC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Th(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),I&&I.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("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,L){E(V,e,L),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),I&&I.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(N=[ee(C,"click",i[8]),ee(e,"click",Wt(vC))],P=!0)},p(V,[L]){(!y||L&1)&&Ae(o,V[0]),V[1]?I?(I.p(V,L),L&2&&D(I,1)):(I=Th(V),I.c(),D(I,1),I.m(g,null)):I&&(we(),U(I,1,1,()=>{I=null}),ke())},i(V){y||(D(I),y=!0)},o(V){U(I),y=!1},d(V){V&&A(e),I&&I.d(),P=!1,Ye(N)}}}const vC=()=>{};function wC(i,e,t){const n=Qt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return le.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Hl.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 gp extends Ft{constructor(e){super(),Mt(this,e,wC,bC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:kC}=ml;function Rh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Dh(i){let e,t,n,l=i[0]&&Vh(i);return{c(){e=S("nav"),t=S("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){E(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&&D(l,1)):(l=Vh(r),l.c(),D(l,1),l.m(t,null)):l&&(we(),U(l,1,1,()=>{l=null}),ke())},i(r){n||(D(l),n=!0)},o(r){U(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function Vh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Mh(Rh(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=Rh(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Mh(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function Oh(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,L){return L&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?CC:SC}let P=y(i,-1),N=P(i);a=new Ln({props:{node:i[7]}});function I(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(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=le.getTestId(i[7]))},m(V,L){E(V,e,L),w(e,t),w(t,n),N.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=[ee(t,"click",i[13]),ee(e,"click",I)],v=!0)},p(V,L){i=V,P===(P=y(i,L))&&N?N.p(i,L):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};L&1&&(H.node=i[7]),a.$set(H),(!m||L&1)&&h!==(h=i[11](i[7])+"")&&Ae(d,h),(!m||L&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||L&1&&b!==(b=le.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(D(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&A(e),N.d(),Fe(a),v=!1,Ye(C)}}}function SC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function CC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Mh(i){let e,t,n=i[7].label&&Oh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&D(n,1)):(n=Oh(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Fh(i){let e,t;return e=new gp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function yC(i){let e,t,n,l,r,a=!i[1]&&Dh(i),o=i[1]&&Fh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=Se()},m(c,h){a&&a.m(c,h),E(c,e,h),o&&o.m(c,h),E(c,t,h),n=!0,l||(r=ee(kC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(we(),U(a,1,1,()=>{a=null}),ke()):a?(a.p(c,h),h&2&&D(a,1)):(a=Dh(c),a.c(),D(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&D(o,1)):(o=Fh(c),o.c(),D(o,1),o.m(t.parentNode,t)):o&&(we(),U(o,1,1,()=>{o=null}),ke())},i(c){n||(D(a),D(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(A(e),A(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 PC(i,e,t){const n=Qt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Ct("getUnsavedChangesModalPromise"),h=Ct("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:L=>{}});ln(async()=>{fs()}),jn(async()=>{r||t(0,r=await Ht.getChildren(a)),t(0,r)});function b(L){c().then(()=>{if(L.openNodeInModal){const H=me.buildRoute(L,`/${L.pathSegment}`);h(H,L.openNodeInModal===!0?{}:L.openNodeInModal)}else ft.handleRouteClick(L,p())},()=>{}),v()}function m(L){b(L.detail)}function v(){n("close")}function C(L){return le.isOpenUIiconName(L.icon)}function y(L){return le.renderIconClassName(L)}function P(L){return At.getTranslation(L.label)}function N(L){return me.getNodeHref(L,o)}const I=L=>{le.handleNavAnchorClickedWithoutMetaKey(L)},V=L=>b(L);return i.$$set=L=>{"isMobile"in L&&t(1,l=L.isMobile),"children"in L&&t(0,r=L.children),"node"in L&&t(7,a=L.node),"addNavHrefForAnchor"in L&&t(2,d=L.addNavHrefForAnchor)},[r,l,d,b,m,v,fs,a,g,C,y,P,N,I,V]}class _p extends Ft{constructor(e){super(),Mt(this,e,PC,yC,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 Sn={_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(ft.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=Sn._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),!!Sn.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=Sn.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 Sn.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 Sn.generateSwitcherNav(e,t)}};function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(Hh(i,t,l));return{c(){e=S("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){E(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]=zh(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&&A(e),gt(n,l)}}}function qh(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=S("li"),t=S("a"),n=S("span"),r=Ne(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=le.getTestId(i[20]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",wt(RC)),ee(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=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),h=!1,Ye(d)}}}function zh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&qh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=qh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&A(t),n&&n.d(l)}}}function Gh(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Kh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=jh(Bh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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=Bh(l,t,a);n[a]?n[a].p(o,r):(n[a]=jh(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&&A(e),gt(n,l)}}}function IC(i){return{c:qe,m:qe,p:qe,d:qe}}function NC(i){let e,t,n,l,r;function a(d,g){return d[2]?LC:TC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=le.getTestId(i[20]))},m(d,g){E(d,e,g),c.m(e,null),E(d,n,g),l||(r=ee(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=le.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(A(e),A(n)),c.d(),l=!1,r()}}}function TC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(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){E(d,e,g),w(e,t),w(t,l),c||(h=ee(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&&A(e),c=!1,h()}}}function LC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function AC(i){return{c:qe,m:qe,p:qe,d:qe}}function jh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:AC,then:NC,catch:IC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Se(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||Q_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function Jh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Qh(Uh(i,t,l));return{c(){e=S("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){E(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=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qh(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&&A(e),gt(n,l)}}}function Yh(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=S("li"),t=S("a"),n=S("span"),r=Ne(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=le.getTestId(i[20]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(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=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),h=!1,Ye(d)}}}function Qh(i){let e,t=i[20].position==="bottom"&&Yh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Yh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function EC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Wh(i),c=i[3]&&i[3].length===0&&i[10]&&Gh(),h=i[3]&&i[3].length&&Kh(i),d=i[0]&&i[0].length&&Jh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("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){E(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=Wh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=Gh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Kh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Jh(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:qe,o:qe,d(g){g&&A(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const RC=()=>{};function DC(i,e,t){let n,l=qe,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=Qt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},L=O=>N(O,g),H=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},R=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,N,n,I,V,L,H,R]}class pp extends Ft{constructor(e){super(),Mt(this,e,DC,EC,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 Zh(i){let e,t,n,l=!i[9]&&Xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&$h(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[9]?l&&(we(),U(l,1,1,()=>{l=null}),ke()):l?(l.p(a,o),o[0]&512&&D(l,1)):(l=Xh(a),l.c(),D(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&D(r,1)):(r=$h(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(l),D(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(A(e),A(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?OC:VC}let p=g(i),b=p(i);return a=new pp({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=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Ue(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){E(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=ee(n,"click",Wt(KC)),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||(D(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&A(e),b.d(),Fe(a),h=!1,d()}}}function VC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?FC:MC}let c=o(i),h=c(i);return{c(){e=S("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){E(d,e,g),h.m(e,null),r||(a=ee(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&&A(e),h.d(),r=!1,a()}}}function OC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?WC:HC}let h=c(i),d=h(i);return{c(){e=S("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){E(g,e,p),d.m(e,null),a||(o=ee(e,"click",wt(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&&A(e),d.d(),a=!1,o()}}}function MC(i){let e,t;function n(a,o){return a[4]?UC:BC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),E(a,e,o),E(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&&(A(e),A(t)),r.d(a)}}}function FC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function UC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&A(e)}}}function BC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&A(t)}}}function HC(i){let e,t;function n(a,o){return a[4]?qC:zC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),E(a,e,o),E(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&&(A(e),A(t)),r.d(a)}}}function WC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function qC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&A(e)}}}function zC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&A(t)}}}function $h(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N=!i[4]&&xh(i),I=i[4]&&eg(i);return d=new pp({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=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),N&&N.c(),o=W(),I&&I.c(),c=W(),h=S("div"),Ue(d.$$.fragment),g=W(),p=S("footer"),b=S("div"),m=S("div"),v=S("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,L){E(V,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),N&&N.m(a,null),w(a,o),I&&I.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=[ee(v,"click",i[13]),ee(e,"click",Wt(jC))],y=!0)},p(V,L){V[4]?N&&(N.d(1),N=null):N?N.p(V,L):(N=xh(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,L):(I=eg(V),I.c(),I.m(a,null)):I&&(I.d(1),I=null);const H={};L[0]&1&&(H.actions=V[0]),L[0]&32&&(H.config=V[5]),L[0]&64&&(H.customOptionsRenderer=V[6]),L[0]&2&&(H.options=V[1]),L[0]&16&&(H.selectedLabel=V[4]),L[0]&4&&(H.selectedOption=V[2]),L[0]&512&&(H.isMobile=V[9]),L[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(D(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&A(e),N&&N.d(),I&&I.d(),Fe(d),y=!1,Ye(P)}}}function xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&A(t)}}}function eg(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&A(e)}}}function GC(i){let e,t,n=i[3]&&Zh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&D(n,1)):(n=Zh(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}const KC=()=>{},jC=()=>{};function JC(i,e,t){let n,l;const r=Qt();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:N=!1}=e,{defaultLabel:I}=e,V,L=Ct("getUnsavedChangesModalPromise"),H=Ct("store"),R=Ct("getTranslation");Si(i,R,ae=>t(16,l=ae));let O=!1,{addNavHrefForAnchor:z}=e,Q;ln(async()=>{mn.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 be=ft.getCurrentPath();t(20,m=ae.fallbackLabelResolver),Sn.resetFallbackLabelCache(),ae.lazyloadOptions||await X(),Sn.isContextSwitcherDetailsView(be,ae.parentNodePath)&&await G(be)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ae=>G(ae)),Bn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),X())}),t(21,I=h.defaultLabel)}),jn(()=>{O!==N&&(O=N,X()),t(14,Q=o.contextSwitcherPopover||!1)});function Z(ae,be,je){return ae?Promise.resolve(ae):Sn.getFallbackLabel(be,je)}function fe(ae){return me.getNodeHref(ae,v)}async function X(){t(1,g=await Sn.fetchOptions(g));const ae=h||{},be=ae.parentNodePath,je=ae.fallbackLabelResolver,ye=ft.getCurrentPath();t(2,b=await Sn.getSelectedOption(ye,g,be)),t(4,c=await Sn.getSelectedLabel(ye,g,be,je)),await Sn.getSelectedNode(ye,g,be),V=ae.preserveSubPathOnSwitch}async function G(ae){const be=h||{},je=be.parentNodePath,ye=be.fallbackLabelResolver;t(2,b=await Sn.getSelectedOption(ae,g,je)),t(4,c=await Sn.getSelectedLabel(ae,g,je,ye)),await Sn.getSelectedNode(ae,g,je)}async function K(ae){let be=ae.detail.node;be.clickHandler&&!await be.clickHandler(be)||(setTimeout(()=>{re(be.link)}),P&&r("toggleDropdownState"))}function re(ae){L().then(()=>{ft.navigateTo(ae)},()=>{})}function ce(ae){let be=ae.detail.option,je=ae.detail.selectedOption;L().then(()=>{V&&je?ft.navigateTo(Sn.getNodePathFromCurrentPath(be,je)):ft.navigateTo(be.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&X()}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,N=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,I=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,z=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,z,K,ce,ne,Q,n,l,R,Z,fe,m,I,v,N,X,G,re,p,Pe,se]}class mp extends Ft{constructor(e){super(),Mt(this,e,JC,GC,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:YC}=ml;function tg(i,e,t){const n=i.slice();return n[22]=e[t],n}function ng(i){let e,t,n,l=!i[2]&&ig(i),r=i[2]&&i[3].productSwitcherPopover&&og(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=ig(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&D(r,1)):(r=og(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function ig(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,R){return R&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?ZC:QC}let N=P(i,-1),I=N(i),V=Ve(i[0]),L=[];for(let H=0;H<V.length;H+=1)L[H]=sg(tg(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),I.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<L.length;H+=1)L[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,R){E(H,e,R),w(e,t),w(t,n),w(n,l),w(l,r),I.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<L.length;O+=1)L[O]&&L[O].m(b,null);C||(y=[ee(r,"click",Wt(i[7])),ee(l,"click",Wt(l3))],C=!0)},p(H,R){if(N===(N=P(H,R))&&I?I.p(H,R):(I.d(1),I=N(H),I&&(I.c(),I.m(r,null))),R&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),R&2&&c!==(c=H[1].label)&&f(r,"title",c),R&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),R&64561){V=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const z=tg(H,V,O);L[O]?L[O].p(z,R):(L[O]=sg(z),L[O].c(),L[O].m(b,null))}for(;O<L.length;O+=1)L[O].d(1);L.length=V.length}R&512&&m!==(m=Un(H[9])+" svelte-1mzhx88")&&f(p,"class",m),R&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&A(e),I.d(),gt(L,H),C=!1,Ye(y)}}}function QC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function ZC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function lg(i){let e,t,n,l,r,a;function o(g,p){return g[4]?$C:XC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("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){E(g,e,p),h.m(e,null),w(e,t),r||(a=ee(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&&A(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?e3:xC}let g=d(i,-1),p=g(i),b=h&&rg(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(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){E(m,e,v),p.m(e,null),E(m,n,v),E(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=rg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(A(e),A(n),A(l)),p.d(),b&&b.d()}}}function $C(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,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?n3:t3}let v=m(i,-1),C=v(i),y=d&&ag(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(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,N){E(P,e,N),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=ee(e,"click",i[16]),p=!0)},p(P,N){v===(v=m(P,N))&&C?C.p(P,N):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=ag(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&A(e),C.d(),y&&y.d(),p=!1,b()}}}function xC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function e3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&A(e)}}}function rg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function t3(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function n3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&A(e)}}}function ag(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function sg(i){let e,t=i[22].label&&lg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function og(i){let e,t;return e=new gp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function i3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&ng(i);return{c(){a&&a.c(),t=Se()},m(o,c){a&&a.m(o,c),E(o,t,c),n=!0,l||(r=ee(YC,"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&&D(a,1)):(a=ng(o),a.c(),D(a,1),a.m(t.parentNode,t)):a&&(we(),U(a,1,1,()=>{a=null}),ke())},i(o){n||(D(a),n=!0)},o(o){U(a),n=!1},d(o){o&&A(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const l3=()=>{};function r3(i,e,t){const n=Qt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Ct("store"),h=Ct("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;ln(async()=>{mn.doOnStoreChange(c,async()=>{t(1,a=le.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),cs()},["navigation.productSwitcher"])});function p(R){h().then(()=>{ft.navigateToLink(R)},()=>{}),m()}function b(R){p(R.detail)}function m(){n("toggleDropdownState")}function v(R){return le.renderIconClassName(R)}function C(R){return le.isOpenUIiconName(R.icon)}function y(R){return At.getTranslation(R.label)}function P(R){return At.getTranslation(R.subTitle)}function N(){le.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(R){return R.testId?R.testId:le.prepareForTests(R.label)}function V(R){return me.getNodeHref(R)}const L=R=>{le.handleNavAnchorClickedWithoutMetaKey(R)},H=R=>p(R);return i.$$set=R=>{"productSwitcherItems"in R&&t(0,l=R.productSwitcherItems),"isMobile"in R&&t(2,r=R.isMobile),"config"in R&&t(1,a=R.config),"dropDownStates"in R&&t(3,o=R.dropDownStates),"addNavHrefForAnchor"in R&&t(4,g=R.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,cs,d,v,C,y,P,I,V,L,H]}class bp extends Ft{constructor(e){super(),Mt(this,e,r3,i3,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 ug(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function a3(i){let e,t,n;return{c(){e=S("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-zbxrcf"),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){E(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:qe,d(l){l&&A(e),i[15](null),t=!1,n()}}}function s3(i){let e;return{c(){e=S("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-zbxrcf"),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){E(t,e,n),e.focus()},p:qe,d(t){t&&A(e)}}}function o3(i){let e;return{c(){e=S("div")},m(t,n){E(t,e,n),i[19](e)},p:qe,d(t){t&&A(e),i[19](null)}}}function u3(i){let e,t,n,l=i[4]&&fg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[5])},m(r,a){E(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=fg(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&&A(e),l&&l.d()}}}function fg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=cg(ug(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let 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=ug(l,t,a);n[a]?n[a].p(o,r):(n[a]=cg(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&&A(e),gt(n,l),i[18](null)}}}function f3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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&&(A(n),e.d())}}}function c3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",wt(h3)),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&&A(e),d=!1,g()}}}function cg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?f3:c3}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=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){E(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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&&A(e),o.d(),n=!1,Ye(l)}}}function d3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(R,O){return R[7]&&R[7].disableInputHandlers?s3:a3}let N=P(i),I=N(i);function V(R,O){return R[8].isCustomSearchRenderer?o3:u3}let L=V(i),H=L(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),I.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=S("div"),p=S("div"),b=S("button"),m=S("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-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),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(R,O){E(R,e,O),w(e,t),w(t,n),w(n,l),I.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),E(R,d,O),E(R,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Wt(g3)),ee(b,"click",i[6]),ee(p,"click",Wt(_3))],C=!0)},p(R,[O]){N===(N=P(R))&&I?I.p(R,O):(I.d(1),I=N(R),I&&(I.c(),I.m(l,r))),L===(L=V(R))&&H?H.p(R,O):(H.d(1),H=L(R),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!R[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(R[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!R[3])&&f(b,"aria-expanded",v)},i:qe,o:qe,d(R){R&&(A(e),A(d),A(g)),I.d(),H.d(),C=!1,Ye(y)}}}const h3=()=>{},g3=()=>{},_3=()=>{};function p3(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=Qt();let g={},p;ln(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),jn(()=>{t(7,g=h),p||t(8,p=new sp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(R){p.onKeyUp(R,r)}function v(R,O){p.handleKeydown(R,O,a,c)}function C(R){p.onActionClick(R)}function y(){p.toggleSearch(n,r,a,o)}const P=R=>m(R);function N(R){Je[R?"unshift":"push"](()=>{a=R,t(0,a)})}const I=(R,O)=>p.onSearchResultItemSelected(R,O),V=(R,O)=>v(R,O);function L(R){Je[R?"unshift":"push"](()=>{c=R,t(2,c)})}function H(R){Je[R?"unshift":"push"](()=>{o=R,t(1,o)})}return i.$$set=R=>{"isSearchFieldVisible"in R&&t(3,n=R.isSearchFieldVisible),"searchResult"in R&&t(4,l=R.searchResult),"displaySearchResult"in R&&t(5,r=R.displaySearchResult),"inputElem"in R&&t(0,a=R.inputElem),"customSearchItemRendererSlot"in R&&t(1,o=R.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in R&&t(2,c=R.customSearchItemRendererSlotContainer),"globalSearchConfig"in R&&t(12,h=R.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,N,I,V,L,H]}class m3 extends Ft{constructor(e){super(),Mt(this,e,p3,d3,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 dg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function b3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=S("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-qeg9jv"),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-qeg9jv"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){E(p,e,b),i[23](e),E(p,t,b),E(p,n,b),w(n,l),E(p,r,b),E(p,a,b),w(a,o),E(p,c,b),E(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:qe,d(p){p&&(A(e),A(t),A(n),A(r),A(a),A(c),A(h)),i[23](null),d=!1,Ye(g)}}}function v3(i){let e;return{c(){e=S("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){E(t,e,n)},p:qe,d(t){t&&A(e)}}}function w3(i){let e;return{c(){e=S("div")},m(t,n){E(t,e,n),i[28](e)},p:qe,d(t){t&&A(e),i[28](null)}}}function k3(i){let e,t,n,l=i[3]&&hg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[4])},m(r,a){E(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=hg(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&&A(e),l&&l.d()}}}function hg(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=gg(dg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let 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=dg(l,t,a);n[a]?n[a].p(o,r):(n[a]=gg(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&&A(e),gt(n,l),i[27](null)}}}function S3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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&&(A(n),e.d())}}}function C3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",wt(P3)),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&&A(e),d=!1,g()}}}function gg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?S3:C3}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=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){E(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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&&A(e),o.d(),n=!1,Ye(l)}}}function _g(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("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-qeg9jv")},m(c,h){E(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Wt(N3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),a=!1,Ye(o)}}}function pg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),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-qeg9jv")},m(h,d){E(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Wt(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-qeg9jv")&&f(e,"class",a)},d(h){h&&A(e),o=!1,c()}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,L){return V[8]&&V[8].disableInputHandlers?v3:b3}let m=b(i),v=m(i);function C(V,L){return V[9].isCustomSearchRenderer?w3:k3}let y=C(i),P=y(i),N=!i[5]&&_g(i),I=i[5]&&pg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),N&&N.c(),h=W(),I&&I.c(),d=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),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-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,L){E(V,e,L),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),E(V,c,L),N&&N.m(V,L),E(V,h,L),I&&I.m(V,L),E(V,d,L),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Wt(I3))],g=!0)},p(V,L){m===(m=b(V))&&v?v.p(V,L):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,L):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),L[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?N&&(N.d(1),N=null):N?N.p(V,L):(N=_g(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,L):(I=pg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:qe,o:qe,d(V){V&&(A(e),A(c),A(h),A(d)),v.d(),P.d(),N&&N.d(V),I&&I.d(V),g=!1,Ye(p)}}}const P3=()=>{},I3=()=>{},N3=()=>{};function T3(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=Qt();let g=gl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=Ct("getTranslation");Si(i,m,ce=>t(10,n=ce));let v;ln(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ce=document.querySelector(".lui-global-search");ce&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ce)}),jn(()=>{t(8,b=h),v||t(9,v=new sp(b,d)),v.getCustomRenderer(),I()});function C(ce,ne,Pe){v.renderCustomSearchItem(ce,ne,Pe)}function y(){v.closeSearchResult()}function P(ce){v.onKeyUp(ce,r)}function N(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function L(ce){v.onSearchResultItemSelected(ce)}function H(ce,ne){v.handleKeydown(ce,ne,a,c)}function R(ce){v.onActionClick(ce)}function O(){v.toggleSearch(p,r,a,o)}const z=ce=>P(ce);function Q(ce){Je[ce?"unshift":"push"](()=>{a=ce,t(0,a)})}const Z=()=>I(),fe=(ce,ne)=>L(ce),X=(ce,ne)=>H(ce,ne);function G(ce){Je[ce?"unshift":"push"](()=>{c=ce,t(2,c)})}function K(ce){Je[ce?"unshift":"push"](()=>{o=ce,t(1,o)})}const re=()=>O();return i.$$set=ce=>{"searchResult"in ce&&t(3,l=ce.searchResult),"displaySearchResult"in ce&&t(4,r=ce.displaySearchResult),"inputElem"in ce&&t(0,a=ce.inputElem),"customSearchItemRendererSlot"in ce&&t(1,o=ce.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ce&&t(2,c=ce.customSearchItemRendererSlotContainer),"globalSearchConfig"in ce&&t(20,h=ce.globalSearchConfig),"isSearchFieldVisible"in ce&&t(5,p=ce.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,L,H,h,R,z,Q,Z,fe,X,G,K,re]}class L3 extends Ft{constructor(e){super(),Mt(this,e,T3,y3,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 mg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?E3:A3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function A3(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function E3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function bg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ti({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Ue(r.$$.fragment)},m(o,c){E(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||(D(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&A(e),Fe(r)}}}function R3(i){let e,t,n,l=i[0].icon&&mg(i),r=(!i[0].icon||i[0].showLabel)&&bg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=mg(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&&D(r,1)):(r=bg(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function D3(i,e,t){let{node:n}=e;function l(o){return le.isOpenUIiconName(o.icon)}function r(o){return le.renderIconClassName(o)}function a(o){return le.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Ft{constructor(e){super(),Mt(this,e,D3,R3,Dt,{node:0})}}const{Boolean:vp,window:vg}=ml;function wg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function kg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function V3(i){let e,t;return e=new hp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O3(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")&&Sg(i);function v(L){i[57](L)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new $S({props:C}),Je.push(()=>St(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Cg(i),P=(!i[0]||i[1])&&yg(i),N=(i[18]||i[7]&&i[30].length>0)&&Ig(i),I=(i[0]||i[16])&&qg(i),V=i[12]&&zg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Ue(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),N&&N.c(),d=W(),I&&I.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-p1ljc7"),f(e,"tabindex","0")},m(L,H){E(L,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),N&&N.m(c,null),w(c,d),I&&I.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(L,H){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?m?m.p(L,H):(m=Sg(L),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const R={};H[0]&1073741824&&(R.pathData=L[30]),H[1]&1&&(R.pathParams=L[31]),H[0]&134217728&&(R.addNavHrefForAnchor=L[27]),!r&&H[0]&64&&(r=!0,R.dropDownStates=L[6],kt(()=>r=!1)),l.$set(R),L[18]&&L[19]&&!L[29]?y?(y.p(L,H),H[0]&537657344&&D(y,1)):(y=Cg(L),y.c(),D(y,1),y.m(e,o)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),!L[0]||L[1]?P?(P.p(L,H),H[0]&3&&D(P,1)):(P=yg(L),P.c(),D(P,1),P.m(c,h)):P&&(we(),U(P,1,1,()=>{P=null}),ke()),L[18]||L[7]&&L[30].length>0?N?(N.p(L,H),H[0]&1074004096&&D(N,1)):(N=Ig(L),N.c(),D(N,1),N.m(c,d)):N&&(we(),U(N,1,1,()=>{N=null}),ke()),L[0]||L[16]?I?(I.p(L,H),H[0]&65537&&D(I,1)):(I=qg(L),I.c(),D(I,1),I.m(c,g)):I&&(we(),U(I,1,1,()=>{I=null}),ke()),L[12]?V?(V.p(L,H),H[0]&4096&&D(V,1)):(V=zg(L),V.c(),D(V,1),V.m(c,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(L[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(L){b||(D(l.$$.fragment,L),D(y),D(P),D(N),D(I),D(V),b=!0)},o(L){U(l.$$.fragment,L),U(y),U(P),U(N),U(I),U(V),b=!1},d(L){L&&A(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function Sg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){E(r,e,a),w(e,t),n||(l=ee(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&A(e),n=!1,l()}}}function Cg(i){let e,t,n,l,r,a,o,c;function h(v){i[58](v)}function d(v){i[59](v)}function g(v){i[60](v)}function p(v){i[61](v)}function b(v){i[62](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 L3({props:m}),Je.push(()=>St(t,"isSearchFieldVisible",h)),Je.push(()=>St(t,"searchResult",d)),Je.push(()=>St(t,"displaySearchResult",g)),Je.push(()=>St(t,"inputElem",p)),Je.push(()=>St(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){E(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],kt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],kt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],kt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],kt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],kt(()=>o=!1)),t.$set(y)},i(v){c||(D(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&A(e),Fe(t)}}}function yg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Pg(i);function a(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new mp({props:o}),Je.push(()=>St(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Ue(t.$$.fragment)},m(c,h){r&&r.m(c,h),E(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&&D(r,1)):(r=Pg(c),r.c(),D(r,1),r.m(e.parentNode,e)):r&&(we(),U(r,1,1,()=>{r=null}),ke());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],kt(()=>n=!1)),t.$set(d)},i(c){l||(D(r),D(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){c&&A(e),r&&r.d(c),Fe(t,c)}}}function Pg(i){let e,t,n,l,r,a,o;function c(m){i[66](m)}function h(m){i[67](m)}function d(m){i[68](m)}function g(m){i[69](m)}function p(m){i[70](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 m3({props:b}),Je.push(()=>St(e,"isSearchFieldVisible",c)),Je.push(()=>St(e,"searchResult",h)),Je.push(()=>St(e,"displaySearchResult",d)),Je.push(()=>St(e,"inputElem",g)),Je.push(()=>St(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){Ue(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],kt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],kt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],kt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],kt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],kt(()=>a=!1)),e.$set(C)},i(m){o||(D(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Ig(i){let e,t,n,l=i[7]&&i[30].length>0&&Ng(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&D(l,1)):(l=Ng(a),l.c(),D(l,1),l.m(e.parentNode,e)):l&&(we(),U(l,1,1,()=>{l=null}),ke()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&D(r,1)):(r=Eg(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(l),D(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function Ng(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ag(kg(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=kg(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Ag(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(l[o]);t=!0}},o(a){l=l.filter(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&A(e),gt(l,a)}}}function Tg(i){let e,t,n,l;const r=[F3,M3],a=[];function o(c,h){return c[107].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),D(t,1),t.m(n.parentNode,n))},i(c){l||(D(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function M3(i){let e,t,n,l,r;const a=[B3,U3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){E(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):(we(),U(o[g],1,1,()=>{o[g]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),D(n,1),n.m(e,l))},i(h){r||(D(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(e),o[t].d()}}}function F3(i){let e=i[107].visibleChildren.filter(Gg).length>0,t,n,l=e&&Lg(i);return{c(){l&&l.c(),t=Se()},m(r,a){l&&l.m(r,a),E(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(Gg).length>0),e?l?(l.p(r,a),a[0]&128&&D(l,1)):(l=Lg(r),l.c(),D(l,1),l.m(t.parentNode,t)):l&&(we(),U(l,1,1,()=>{l=null}),ke())},i(r){n||(D(l),n=!0)},o(r){U(l),n=!1},d(r){r&&A(t),l&&l.d(r)}}}function U3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[80](v,i[107],i[110],i[109])}let b={};i[107]!==void 0&&(b.node=i[107]),t=new jo({props:b}),Je.push(()=>St(t,"node",p)),r=new Ln({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"title",a=i[51](i[107],i[49](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=le.getTestId(i[107]))},m(v,C){E(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[107],kt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[107]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[107],i[49](i[107]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=le.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(D(t.$$.fragment,v),D(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&A(e),Fe(t),Fe(r),d=!1,g()}}}function B3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[78](C,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new jo({props:m}),Je.push(()=>St(t,"node",b)),r=new Ln({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"href",a=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[51](i[107],i[49](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=le.getTestId(i[107]))},m(C,y){E(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[107],kt(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[107]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[107])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[107],i[49](i[107]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=le.getTestId(i[107])))&&f(e,"data-testid",h)},i(C){d||(D(t.$$.fragment,C),D(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&A(e),Fe(t),Fe(r),g=!1,p()}}}function Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(R){i[76](R,i[107],i[110],i[109])}let L={};i[107]!==void 0&&(L.node=i[107]),r=new jo({props:L}),Je.push(()=>St(r,"node",V)),c=new Ln({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new _p({props:{node:i[107],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=W(),Ue(c.$$.fragment),b=W(),m=S("div"),Ue(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[107],i[49](i[107]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=le.getTestId(i[107])),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[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(R,O){E(R,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,N||(I=[ee(l,"click",H),ee(n,"click",Wt(ey))],N=!0)},p(R,O){i=R;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],kt(()=>a=!1)),r.$set(z);const Q={};O[0]&128&&(Q.node=i[107]),c.$set(Q),(!P||O[0]&128&&h!==(h=i[51](i[107],i[49](i[107]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=le.getTestId(i[107])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[107]),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[109]}`]))&&f(m,"aria-hidden",C)},i(R){P||(D(r.$$.fragment,R),D(c.$$.fragment,R),D(v.$$.fragment,R),P=!0)},o(R){U(r.$$.fragment,R),U(c.$$.fragment,R),U(v.$$.fragment,R),P=!1},d(R){R&&A(e),Fe(r),Fe(c),Fe(v),N=!1,Ye(I)}}}function Ag(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Tg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&D(n,1)):(n=Tg(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H,R;h=new Ln({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Rg(i),z=i[46]&&(!i[0]||i[1])&&Dg(i),Q=i[7]&&Vg(i),Z=i[12]&&Ug(i),fe=i[12]&&Bg(i),X=i[14]&&Hg(i),G=(!i[0]||i[1])&&Wg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=W(),Ue(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Q&&Q.c(),y=W(),Z&&Z.c(),N=W(),fe&&fe.c(),I=W(),X&&X.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),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-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,re){E(K,e,re),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),z&&z.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,N),fe&&fe.m(n,null),w(n,I),X&&X.m(n,null),w(n,V),G&&G.m(n,null),L=!0,H||(R=[ee(a,"click",i[82]),ee(l,"click",Wt(ty))],H=!0)},p(K,re){const ce={};re[0]&2048&&(ce.node=K[11]),h.$set(ce),(!L||re[0]&64&&d!==(d=K[6].overflowPopover||!1))&&f(a,"aria-expanded",d),K[18]&&!K[19]&&!K[29]?O?O.p(K,re):(O=Rg(K),O.c(),O.m(m,v)):O&&(O.d(1),O=null),K[46]&&(!K[0]||K[1])?z?z.p(K,re):(z=Dg(K),z.c(),z.m(m,C)):z&&(z.d(1),z=null),K[7]?Q?(Q.p(K,re),re[0]&128&&D(Q,1)):(Q=Vg(K),Q.c(),D(Q,1),Q.m(m,y)):Q&&(we(),U(Q,1,1,()=>{Q=null}),ke()),K[12]?Z?Z.p(K,re):(Z=Ug(K),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!L||re[0]&64&&P!==(P=!K[6].overflowPopover))&&f(p,"aria-hidden",P),K[12]?fe?(fe.p(K,re),re[0]&4096&&D(fe,1)):(fe=Bg(K),fe.c(),D(fe,1),fe.m(n,I)):fe&&(we(),U(fe,1,1,()=>{fe=null}),ke()),K[14]?X?(X.p(K,re),re[0]&16384&&D(X,1)):(X=Hg(K),X.c(),D(X,1),X.m(n,V)):X&&(we(),U(X,1,1,()=>{X=null}),ke()),!K[0]||K[1]?G?(G.p(K,re),re[0]&3&&D(G,1)):(G=Wg(K),G.c(),D(G,1),G.m(n,null)):G&&(we(),U(G,1,1,()=>{G=null}),ke())},i(K){L||(D(h.$$.fragment,K),D(Q),D(fe),D(X),D(G),L=!0)},o(K){U(h.$$.fragment,K),U(Q),U(fe),U(X),U(G),L=!1},d(K){K&&A(e),Fe(h),O&&O.d(),z&&z.d(),Q&&Q.d(),Z&&Z.d(),fe&&fe.d(),X&&X.d(),G&&G.d(),H=!1,Ye(R)}}}function Rg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></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){E(r,e,a),w(e,t),n||(l=ee(t,"click",Wt(i[83])),n=!0)},p:qe,d(r){r&&A(e),n=!1,l()}}}function Dg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(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-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){E(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Wt(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-p1ljc7")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&A(e),h=!1,d()}}}function Vg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fg(wg(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=wg(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Fg(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(l[o]);t=!0}},o(a){l=l.filter(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&A(e),gt(l,a)}}}function Og(i){let e,t,n,l,r;const a=[W3,H3],o=[];function c(h,d){return d[0]&128&&(e=null),h[107].isCat?(e==null&&(e=h[107].visibleChildren.filter(x3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Se()},m(h,d){~t&&o[t].m(h,d),E(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(we(),U(o[g],1,1,()=>{o[g]=null}),ke()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),D(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(D(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(l),~t&&o[t].d(h)}}}function H3(i){let e,t,n,l,r,a,o,c,h=i[49](i[107])+"",d,g,p,b,m,v,C;function y(V,L){return L[0]&128&&(l=null),l==null&&(l=!!V[48](V[107])),l?z3:q3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new Ln({props:{node:i[107]}});function I(){return i[85](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[107])),f(t,"title",p=i[51](i[107],i[49](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,L){E(V,e,L),w(e,t),w(t,n),N.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=ee(t,"click",wt(I)),v=!0)},p(V,L){i=V,P===(P=y(i,L))&&N?N.p(i,L):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};L[0]&128&&(H.node=i[107]),a.$set(H),(!m||L[0]&128)&&h!==(h=i[49](i[107])+"")&&Ae(d,h),(!m||L[0]&128&&g!==(g=i[50](i[107])))&&f(t,"href",g),(!m||L[0]&128&&p!==(p=i[51](i[107],i[49](i[107]))))&&f(t,"title",p)},i(V){m||(D(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&A(e),N.d(),Fe(a),v=!1,C()}}}function W3(i){let e,t,n,l=!i[48](i[107]),r,a,o,c,h,d=i[49](i[107])+"",g,p,b,m,v,C,y,P,N=l&&Mg(i);a=new Ln({props:{node:i[107]}});function I(){return i[84](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N&&N.c(),r=W(),Ue(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=le.getTestId(i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(V,L){E(V,e,L),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",wt(I)),y=!0)},p(V,L){i=V,L[0]&128&&(l=!i[48](i[107])),l?N?N.p(i,L):(N=Mg(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const H={};L[0]&128&&(H.node=i[107]),a.$set(H),(!C||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||L[0]&128)&&d!==(d=i[49](i[107])+"")&&Ae(g,d),(!C||L[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!C||L[0]&384&&b!==(b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||L[0]&128&&m!==(m=le.getTestId(i[107])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(D(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&A(e),N&&N.d(),Fe(a),y=!1,P()}}}function q3(i){let e,t,n;return{c(){e=S("img"),tt(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function z3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[48](n[107])?n[47](n[107].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&A(e)}}}function Mg(i){let e,t,n;return{c(){e=S("img"),tt(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Fg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Og(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&D(n,1)):(n=Og(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Ug(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?K3:G3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(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){E(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Wt(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&&A(e),p.d(),c=!1,h()}}}function G3(i){let e,t,n,l;return{c(){e=S("span"),t=S("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-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){E(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&&A(e)}}}function K3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&A(e)}}}function Bg(i){let e,t,n;function l(a){i[86](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Je.push(()=>St(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[87]),{c(){Ue(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],kt(()=>t=!1)),e.$set(c)},i(a){n||(D(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Hg(i){let e,t;return e=new _p({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Wg(i){let e,t,n,l,r;function a(d){i[88](d)}function o(d){i[89](d)}function c(d){i[90](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 mp({props:h}),Je.push(()=>St(e,"dropDownStates",a)),Je.push(()=>St(e,"selectedLabel",o)),Je.push(()=>St(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[91]),{c(){Ue(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],kt(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],kt(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],kt(()=>l=!1)),e.$set(p)},i(d){r||(D(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function qg(i){let e,t,n,l,r;const a=[J3,j3],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=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){E(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):(we(),U(o[g],1,1,()=>{o[g]=null}),ke(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),D(l,1),l.m(e,null))},i(h){r||(D(l),r=!0)},o(h){U(l),r=!1},d(h){h&&A(e),o[n].d()}}}function j3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(N,I){return N[17].picture?Q3:Y3}let y=C(i),P=y(i);return g=new hp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[96]),g.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Ue(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),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-p1ljc7")},m(N,I){E(N,e,I),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=[ee(r,"click",i[95]),ee(n,"click",Wt(iy))],m=!0)},p(N,I){y===(y=C(N))&&P?P.p(N,I):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!b||I[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||I[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!b||I[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};I[0]&134217728&&(V.addNavHrefForAnchor=N[27]),g.$set(V),(!b||I[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){b||(D(g.$$.fragment,N),b=!0)},o(N){U(g.$$.fragment,N),b=!1},d(N){N&&A(e),P.d(),Fe(g),m=!1,Ye(v)}}}function J3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?X3:Z3}let g=d(i),p=g(i);return r=new sC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){E(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=ee(t,"click",Wt(ny)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(D(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&A(e),p.d(),Fe(r),c=!1,h()}}}function Y3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){E(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&A(e)}}}function Q3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Fn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&Fn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function Z3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){E(o,e,c),w(e,n),r||(a=ee(e,"click",i[93]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,a()}}}function X3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Fn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){E(r,e,a),n||(l=ee(e,"click",i[92]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Fn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function zg(i){let e,t,n;function l(a){i[97](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Je.push(()=>St(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[98]),{c(){Ue(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],kt(()=>t=!1)),e.$set(c)},i(a){n||(D(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function $3(i){let e,t,n,l,r,a;const o=[O3,V3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),E(d,n,g),l=!0,r||(a=[ee(vg,"click",i[41]),ee(vg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(we(),U(c[p],1,1,()=>{c[p]=null}),ke(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),D(t,1),t.m(n.parentNode,n))},i(d){l||(D(t),l=!0)},o(d){U(t),l=!1},d(d){d&&A(n),c[e].d(d),r=!1,Ye(a)}}}const x3=i=>!i.hideFromNav&&i.label,Gg=i=>!i.hideFromNav&&i.label,ey=()=>{},ty=()=>{},ny=()=>{},iy=()=>{};function ly(i,e,t){const n=Qt();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:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:L}=e,{openMobileDropDown:H}=e,{nodeForMobile:R}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Q}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:fe}=e,{inputElem:X}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:K}=e,{searchResult:re}=e,{burgerTooltip:ce}=e,{responsiveShellbarPadding:ne}=e,Pe=Ct("store"),se=!1,ae,be,je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const Y=await le.generateTopNavNodes(p);t(7,C=Y.children),t(8,y=Y.selectedNode),t(9,P=Y.visibleNodeCount),t(11,I=Y.totalBadgeNode),t(10,N=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,b=p}},ze=()=>{t(1,a=dl.isLoggedIn())};ln(()=>{mn.doOnStoreChange(Pe,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,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,L=le.getProductSwitcherConfig()),t(18,Q=te.getConfigValue("globalSearch")),t(19,Z=Q&&Q.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"]),mn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),Bn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),jn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Qe}=e;function De(Y){return le.renderIconClassName(Y)}function et(Y){return le.isOpenUIiconName(Y.icon)}const nt=Y=>le.getNodeLabel(Y);function de(Y){return me.getNodeHref(Y,m)}function it(Y,Ot){return le.generateTooltipText(Y,Ot)}function yt(){rt("productSwitcherPopover")}function rn(){t(43,se=!se),rt("contextSwitcherPopover")}function An(Y){t(14,H=!0),t(15,R=Y)}function sn(){t(14,H=!1)}function qt(Y){n("handleClick",{node:Y})}function Te(Y){n("handleSearchNavigation",{node:Y})}function ut(Y){qt(Y.detail.node)}function rt(Y){const Ot=v||{},vn=!Ot[Y];Et(),sn(),Ot[Y]=vn,t(6,v=Ot)}function Zt(Y){rt(Y.detail.name)}function Xt(){X&&X.focus()}function En(){fe||setTimeout(()=>{Xt()}),n("toggleSearch",{isSearchFieldVisible:fe,inputElem:X,customSearchItemRendererSlot:G})}function Et(){const Y=v||{},Ot=Object.keys(Y);Ot&&Ot.length>0&&Ot.forEach(vn=>{Y[vn]=!1,t(6,v=Y)})}function _n(){h==="simple"||h==="simpleMobileOnly"?Kt():Cn(),ni()}function ni(){if(!le.getBurgerTooltipConfig())return;const[Y,Ot]=le.getBurgerTooltipConfig();Y&&Ot&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ce=document.body.classList.contains("lui-leftNavToggle")?Y:Ot),document.body.classList.contains("lui-semiCollapsible")&&t(25,ce=document.body.classList.contains("semiCollapsed")?Y:Ot))}function Kt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Cn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci(Y){const Ot=Y.detail;t(17,z=Ot||{})}function yi(Y){v=Y,t(6,v)}function bn(Y){fe=Y,t(20,fe)}function Pi(Y){re=Y,t(24,re)}function Ii(Y){K=Y,t(23,K)}function Ni(Y){X=Y,t(21,X)}function Ti(Y){G=Y,t(22,G)}function Li(Y){Hl.call(this,i,Y)}function vl(Y){Hl.call(this,i,Y)}function wl(Y){Hl.call(this,i,Y)}function kl(Y){fe=Y,t(20,fe)}function Ai(Y){re=Y,t(24,re)}function Ji(Y){K=Y,t(23,K)}function Yi(Y){X=Y,t(21,X)}function di(Y){G=Y,t(22,G)}function Sl(Y){Hl.call(this,i,Y)}function Cl(Y){Hl.call(this,i,Y)}function Qi(Y){Hl.call(this,i,Y)}function yl(Y){v=Y,t(6,v)}const Pl=()=>rt("contextSwitcherPopover");function Il(Y,Ot,vn,ri){vn[ri]=Y,t(7,C)}const Ei=Y=>rt(`dropDownPopover-${Y}`);function Nl(Y,Ot,vn,ri){vn[ri]=Y,t(7,C)}const ii=(Y,Ot)=>{le.handleNavAnchorClickedWithoutMetaKey(Ot)&&qt(Y)};function Ri(Y,Ot,vn,ri){vn[ri]=Y,t(7,C)}const hi=Y=>qt(Y),Di=()=>rt("overflowPopover"),gi=()=>{En(),rt("overflowPopover")},j=Y=>qt(Y),ve=Y=>An(Y);function xe(Y){v=Y,t(6,v)}const at=()=>rt("productSwitcherPopover");function st(Y){v=Y,t(6,v)}function _t(Y){ae=Y,t(44,ae)}function Vt(Y){be=Y,t(45,be)}const jt=()=>rt("contextSwitcherPopover"),Jn=()=>rt("profilePopover"),li=()=>rt("profilePopover"),Tl=()=>rt("profilePopover"),_i=()=>rt("profilePopover"),Ll=()=>rt("profilePopover");function Vi(Y){v=Y,t(6,v)}const Gl=()=>rt("productSwitcherPopover"),Cr=()=>rt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(53,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideSearchComponent"in Y&&t(29,o=Y.hideSearchComponent),"hideNavComponent"in Y&&t(2,c=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,h=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,d=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,g=Y.showGlobalNav),"pathData"in Y&&t(30,p=Y.pathData),"pathParams"in Y&&t(31,m=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,C=Y.children),"selectedNode"in Y&&t(8,y=Y.selectedNode),"visibleNodeCount"in Y&&t(9,P=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,N=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,I=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,V=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,L=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,H=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,R=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,z=Y.userInfo),"globalSearchConfig"in Y&&t(18,Q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,Z=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,fe=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,X=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,G=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,K=Y.displaySearchResult),"searchResult"in Y&&t(24,re=Y.searchResult),"burgerTooltip"in Y&&t(25,ce=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ne=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,ye=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Qe=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,Qe=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,L,H,R,O,z,Q,Z,fe,X,G,K,re,ce,ne,ye,Qe,o,p,m,yt,rn,An,sn,qt,ut,rt,Zt,En,Et,Ci,se,ae,be,je,De,et,nt,de,it,_n,r,Te,Kt,Cn,yi,bn,Pi,Ii,Ni,Ti,Li,vl,wl,kl,Ai,Ji,Yi,di,Sl,Cl,Qi,yl,Pl,Il,Ei,Nl,ii,Ri,hi,Di,gi,j,ve,xe,at,st,_t,Vt,jt,Jn,li,Tl,_i,Ll,Vi,Gl,Cr]}class wp extends Ft{constructor(e){super(),Mt(this,e,ly,$3,Dt,{authorizationEnabled:0,autologinEnabled:53,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:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,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[54]}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[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function Kg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function ry(i){let e,t=i[0]&&Kg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=Kg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function ay(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ft.getCurrentPath(),n),a=await Ht.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 ln(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ql.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 sy extends Ft{constructor(e){super(),Mt(this,e,ay,ry,Dt,{node:0})}}const{window:Oo}=ml;function jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Qg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Zg(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 oy(i){const e=i.slice(),t=kp(e[54]);return e[67]=t,e}function $g(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 uy(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function xg(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&&e_(i),P=Ve(Object.entries(i[0])),N=[];for(let R=0;R<P.length;R+=1)N[R]=u_(Qg(i,P,R));const I=R=>U(N[R],1,1,()=>{N[R]=null});let V=Ve(Object.entries(i[0])),L=[];for(let R=0;R<V.length;R+=1)L[R]=h_(jg(i,V,R));const H=R=>U(L[R],1,1,()=>{L[R]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let R=0;R<N.length;R+=1)N[R].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("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=S("div"),p=S("ul");for(let R=0;R<L.length;R+=1)L[R].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(R,O){E(R,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<N.length;z+=1)N[z]&&N[z].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 z=0;z<L.length;z+=1)L[z]&&L[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",wt(i[10])),ee(a,"click",Cy),ee(n,"toggleDropdownState",i[38])],v=!0)},p(R,O){if(R[11].parent&&R[11].parent.tabNav&&R[11].parent.tabNav.showAsTabHeader?y?(y.p(R,O),O[0]&2048&&D(y,1)):(y=e_(R),y.c(),D(y,1),y.m(e,t)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),O[0]&3866829){P=Ve(Object.entries(R[0]));let z;for(z=0;z<P.length;z+=1){const Q=Qg(R,P,z);N[z]?(N[z].p(Q,O),D(N[z],1)):(N[z]=u_(Q),N[z].c(),D(N[z],1),N[z].m(l,r))}for(we(),z=P.length;z<N.length;z+=1)I(z);ke()}if(O[0]&1704173){V=Ve(Object.entries(R[0]));let z;for(z=0;z<V.length;z+=1){const Q=jg(R,V,z);L[z]?(L[z].p(Q,O),D(L[z],1)):(L[z]=h_(Q),L[z].c(),D(L[z],1),L[z].m(p,null))}for(we(),z=V.length;z<L.length;z+=1)H(z);ke()}(!m||O[0]&16&&b!==(b=!R[4]))&&f(g,"aria-hidden",b)},i(R){if(!m){D(y);for(let O=0;O<P.length;O+=1)D(N[O]);for(let O=0;O<V.length;O+=1)D(L[O]);m=!0}},o(R){U(y),N=N.filter(Boolean);for(let O=0;O<N.length;O+=1)U(N[O]);L=L.filter(Boolean);for(let O=0;O<L.length;O+=1)U(L[O]);m=!1},d(R){R&&A(e),y&&y.d(),gt(N,R),i[31](null),gt(L,R),i[36](null),i[37](null),i[39](null),v=!1,Ye(C)}}}function e_(i){let e,t;return e=new sy({props:{node:i[11].parent}}),{c(){Ue(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||(D(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;const a=[hy,dy],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!by(d[54])),e?0:1}function h(d,g){return g===0?oy(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=Se()},m(d,g){o[t].m(d,g),E(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(we(),U(o[p],1,1,()=>{o[p]=null}),ke(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),D(n,1),n.m(l.parentNode,l))},i(d){r||(D(n),r=!0)},o(d){U(n),r=!1},d(d){d&&A(l),o[t].d(d)}}}function cy(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=o_($g(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=$g(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=o_(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function dy(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V;function L(){return i[29](i[53])}let H=Ve(i[54]),R=[];for(let z=0;z<H.length;z+=1)R[z]=i_(Zg(i,H,z));const O=z=>U(R[z],1,1,()=>{R[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let z=0;z<R.length;z+=1)R[z].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=hl(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=hl(i[53],i[2]))},m(z,Q){E(z,e,Q),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<R.length;Z+=1)R[Z]&&R[Z].m(m,null);w(e,y),N=!0,I||(V=[ee(l,"click",wt(L)),ee(e,"click",Sy)],I=!0)},p(z,Q){if(i=z,(!N||Q[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!N||Q[0]&5&&g!==(g=hl(i[53],i[2])))&&f(l,"aria-selected",g),Q[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=Zg(i,H,Z);R[Z]?(R[Z].p(fe,Q),D(R[Z],1)):(R[Z]=i_(fe),R[Z].c(),D(R[Z],1),R[Z].m(m,null))}for(we(),Z=H.length;Z<R.length;Z+=1)O(Z);ke()}(!N||Q[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),(!N||Q[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Q[0]&5&&P!==(P=hl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Q=0;Q<H.length;Q+=1)D(R[Q]);N=!0}},o(z){R=R.filter(Boolean);for(let Q=0;Q<R.length;Q+=1)U(R[Q]);N=!1},d(z){z&&A(e),gt(R,z),I=!1,Ye(V)}}}function hy(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L;function H(){return i[26](i[67])}function R(){return i[27](i[53])}let O=Ve(i[54]),z=[];for(let Q=0;Q<O.length;Q+=1)z[Q]=r_(Xg(i,O,Q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Q=0;Q<z.length;Q+=1)z[Q].c();I=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=hl(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",N=!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(Q,Z){E(Q,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 fe=0;fe<z.length;fe+=1)z[fe]&&z[fe].m(y,null);w(e,I),V||(L=[ee(t,"click",wt(H)),ee(p,"click",wt(R)),ee(e,"click",ky)],V=!0)},p(Q,Z){if(i=Q,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Z[0]&5&&a!==(a=hl(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 fe;for(fe=0;fe<O.length;fe+=1){const X=Xg(i,O,fe);z[fe]?z[fe].p(X,Z):(z[fe]=r_(X),z[fe].c(),z[fe].m(y,null))}for(;fe<z.length;fe+=1)z[fe].d(1);z.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&&N!==(N=!i[3][i[53]])&&f(C,"aria-hidden",N)},i:qe,o:qe,d(Q){Q&&A(e),gt(z,Q),V=!1,Ye(L)}}}function t_(i){let e,t,n=i[57].label&&n_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&D(n,1)):(n=n_(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(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=le.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||(D(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(o),b=!1,m()}}}function i_(i){let e,t,n=!i[57].hideFromNav&&t_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&D(n,1)):(n=t_(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function l_(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=S("li"),t=S("a"),n=S("span"),r=Ne(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){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",wt(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&&A(e),h=!1,d()}}}function r_(i){let e,t=!i[57].hideFromNav&&i[57].label&&l_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=l_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function a_(i){let e,t,n=i[57].label&&s_(Mo(i));return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&D(n,1)):(n=s_(Mo(l)),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function s_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ti({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const N={};P[0]&1&&(N.node=i[57]),o.$set(N),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=le.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||(D(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&A(e),Fe(o),m=!1,v()}}}function o_(i){let e,t,n=!i[57].hideFromNav&&a_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&D(n,1)):(n=a_(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function u_(i){let e,t,n,l,r,a;const o=[cy,fy],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=!!my(g[54])),t?1:-1)}function d(g,p){return p===1?uy(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Se()},m(g,p){~n&&c[n].m(g,p),E(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&&(we(),U(c[b],1,1,()=>{c[b]=null}),ke()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),D(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(D(l),a=!0)},o(g){U(l),a=!1},d(g){g&&A(r),~n&&c[n].d(g)}}}function gy(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(){return i[33](i[53],i[56])}function L(){return i[34](i[53],i[56])}let H=Ve(i[54]),R=[];for(let z=0;z<H.length;z+=1)R[z]=c_(Jg(i,H,z));const O=z=>U(R[z],1,1,()=>{R[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<R.length;z+=1)R[z].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=hl(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(z,Q){E(z,e,Q),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<R.length;Z+=1)R[Z]&&R[Z].m(v,null);w(e,y),P=!0,N||(I=[ee(n,"click",wt(V)),ee(d,"click",wt(L))],N=!0)},p(z,Q){if(i=z,(!P||Q[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=hl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Q[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||Q[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Q[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=Jg(i,H,Z);R[Z]?(R[Z].p(fe,Q),D(R[Z],1)):(R[Z]=c_(fe),R[Z].c(),D(R[Z],1),R[Z].m(v,null))}for(we(),Z=H.length;Z<R.length;Z+=1)O(Z);ke()}(!P||Q[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Q=0;Q<H.length;Q+=1)D(R[Q]);P=!0}},o(z){R=R.filter(Boolean);for(let Q=0;Q<R.length;Q+=1)U(R[Q]);P=!1},d(z){z&&A(e),gt(R,z),N=!1,Ye(I)}}}function _y(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=d_(Yg(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=Yg(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=d_(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(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=le.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||(D(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(o),b=!1,m()}}}function c_(i){let e,t,n=i[57].label&&f_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&D(n,1)):(n=f_(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(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=le.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||(D(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n,l,r;const a=[_y,gy],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=Se()},m(h,d){o[t].m(h,d),E(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(we(),U(o[g],1,1,()=>{o[g]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),D(n,1),n.m(l.parentNode,l))},i(h){r||(D(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(l),o[t].d(h)}}}function py(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&xg(i);return{c(){r&&r.c(),e=Se()},m(a,o){r&&r.m(a,o),E(a,e,o),t=!0,n||(l=[ee(Oo,"click",i[8]),ee(Oo,"blur",i[8]),ee(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&&D(r,1)):(r=xg(a),r.c(),D(r,1),r.m(e.parentNode,e)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){t||(D(r),t=!0)},o(a){U(r),t=!1},d(a){a&&A(e),r&&r.d(a),n=!1,Ye(l)}}}function hl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function my(i){return i.some(e=>!e.hideFromNav&&e.label)}function kp(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 by(i){return!!kp(i)}function vy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function wy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),vy(e)||e.classList.add("fd-popover__body--right")})}const ky=i=>i.stopPropagation(),Sy=i=>i.stopPropagation(),Cy=i=>i.stopPropagation();function yy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=le.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Ct("getTranslation");Si(i,C,Te=>t(17,n=Te));let y=Ct("store"),P,N,I,V,L,H;const R={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(ut=>{ut==="pathData"?t(1,r=Te.pathData):ut==="context"?context=Te.context:ut==="children"?t(0,l=Te.children):ut==="selectedNode"?t(11,b=Te.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Qt();function z(Te){return le.getNodeLabel(Te)}const Q=async()=>{const Te=R.get(),ut=await Ht.getTabNavData({...Te},Te);ut&&(R.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Z))},Z=()=>{if(fe(),I&&V&&L){L.classList.remove("is-active");const Te=getComputedStyle(I),ut=I.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let rt=0,Zt=!1;[...I.children].forEach(Xt=>{const En=Xt.getAttribute("uid");if(!En)return;const Et=getComputedStyle(Xt),_n=parseFloat(Et.marginLeft)+parseFloat(Et.marginRight);rt+=Xt.offsetWidth+_n,rt>=ut?(Xt.classList.add("hide_element"),Xt.getAttribute("isSelected")==="true"&&L.classList.add("is-active"),document.querySelector('li[uid="'+En+'"]').classList.remove("hide_element"),Zt=!0):document.querySelector('li[uid="'+En+'"]').classList.add("hide_element")}),Zt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},fe=()=>{I!==void 0&&[...I.children].forEach(ut=>{ut.classList.remove("hide_element")})},X=()=>{P=new ResizeObserver(Te=>{for(const ut of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&wy()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};ln(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),X(),mn.doOnStoreChange(y,()=>{Q()},["navigation.viewgroupdata"])}),ea(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),jn(()=>{(!m||m!=r)&&Q(),(v===void 0||v!==p)&&(v=p,Q())}),xr(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):X()});function K(Te){return me.getNodeHref(Te,a)}function re(Te){ne(),O("handleClick",{node:Te})}function ce(Te){let ut={};d[Te]||(ut[Te]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){fe(),Z()}function se(){t(4,g=!g)}function ae(Te,ut){const rt=Te==="undefined",Zt=Te.indexOf(c)===0;if(rt||Zt||be(ut))return!0}function be(Te){const ut=Te.find(Xt=>ie.isObject(Xt.category));if(!ut)return;const rt=ut.category.label||ut.category.id;return Te.filter(Xt=>Xt.category===rt&&Xt.hideFromNav===!0).length===1}const je=Te=>re(Te),ye=Te=>re(Te),Le=Te=>ce(Te),ze=Te=>re(Te),Qe=Te=>ce(Te),De=Te=>re(Te);function et(Te){Je[Te?"unshift":"push"](()=>{L=Te,t(15,L)})}const nt=Te=>re(Te),de=(Te,ut)=>ce(Te+ut),it=(Te,ut)=>ce(Te+ut),yt=Te=>re(Te);function rn(Te){Je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function An(Te){Je[Te?"unshift":"push"](()=>{I=Te,t(13,I)})}const sn=Te=>ce(Te.name);function qt(Te){Je[Te?"unshift":"push"](()=>{N=Te,t(12,N)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,re,ce,ne,Pe,se,b,N,I,V,L,H,n,C,z,K,ae,o,a,p,je,ye,Le,ze,Qe,De,et,nt,de,it,yt,rn,An,sn,qt]}class Sp extends Ft{constructor(e){super(),Mt(this,e,yy,py,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 g_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function __(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function p_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&m_(i),o=i[0]&&i[3].length>=0&&k_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("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){E(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=m_(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=k_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),a&&a.d(),o&&o.d()}}}function m_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=w_(__(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){E(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=__(l,t,a);n[a]?n[a].p(o,r):(n[a]=w_(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&&A(e),gt(n,l)}}}function b_(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&&v_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("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=le.getTestId(i[23]))},m(N,I){E(N,e,I),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=ee(t,"click",P),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=v_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&A(e),y&&y.d(),v=!1,C()}}}function v_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Iy:Py}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function Py(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function Iy(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){E(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&&A(e)}}}function w_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&b_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=b_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function k_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=y_(g_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){E(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=g_(l,t,a);n[a]?n[a].p(o,r):(n[a]=y_(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&&A(e),gt(n,l)}}}function S_(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&&C_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("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=le.getTestId(i[23]))},m(N,I){E(N,e,I),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=ee(n,"click",wt(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=C_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&A(e),y&&y.d(),v=!1,C()}}}function C_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ty:Ny}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function Ny(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function Ty(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){E(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&&A(e)}}}function y_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&S_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=S_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function Ly(i){let e,t,n,l=i[2]&&p_(i);return{c(){l&&l.c(),e=Se()},m(r,a){l&&l.m(r,a),E(r,e,a),t||(n=[ee(window,"click",ds),ee(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=p_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&A(e),l&&l.d(r),t=!1,Ye(n)}}}function ds(){}function Ay(i,e,t){let n;const l=Qt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Ct("store"),g=Ct("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 le.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};ln(()=>{mn.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"])}),jn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return le.renderIconClassName(O)}function P(O){return le.isOpenUIiconName(O.icon)}function N(O){return At.getTranslation(O.label)}function I(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function L(O){V(O.detail.node)}const H=(O,z)=>{le.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},R=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,N,I,b,m,o,L,H,R]}class Ey extends Ft{constructor(e){super(),Mt(this,e,Ay,Ly,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 Ry(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){E(t,e,n),i[4](e)},p:qe,i:qe,o:qe,d(t){t&&A(e),i[4](null)}}}function Dy(i,e,t){const n=Qt();let{pathData:l}=e,r,a={},o,c=Ct("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};ln(()=>{mn.doOnStoreChange(c,()=>{},["navigation"])}),jn(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=ft.getCurrentPath();for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(a[V])C.push(a[V]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)C.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?At.getTranslation(I.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:I,route:V,pending:!0});else{const L=await p(I);L&&C.push({label:L,node:I,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(I.titleResolver){const H=await Ht.extractDataFromPath(V),R=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await le.fetchNodeTitleData(I,R);C.push({label:O.label,node:I,route:V});continue}catch{}}const L=await p(I);L&&C.push({label:L,node:I,route:V})}P===ft.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(N=>{a[N.route]=N}))}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 At.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ft.getCurrentPath(),v),y=await Ht.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Je[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 Cp extends Ft{constructor(e){super(),Mt(this,e,Dy,Ry,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 Vy(){return qo}const{Boolean:Oy,window:P_}=ml;function I_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function N_(i){let e,t;return e=new p2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T_(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 op({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(){Ue(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||(D(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function L_(i){let e,t,n=i[154].mfModal.displayed&&T_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&D(n,1)):(n=T_(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function A_(i){let e,t;return e=new op({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[My]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function My(i){let e,t;return e=new pl({props:{area:"drawer",disable:i[12]}}),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function E_(i){let e,t;return e=new v2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function R_(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 M2({props:r}),Je.push(()=>St(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Ue(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],kt(()=>t=!1)),e.$set(c)},i(a){n||(D(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Fy(i){let e,t,n,l,r,a,o,c,h=!i[25]&&D_(i),d=!(i[20]||i[22])&&V_(i);n=new pl({props:{disable:i[12],$$slots:{default:[By]},$$scope:{ctx:i}}});let g=i[10]&&M_(),p=!i[20]&&F_(i),b=i[15]&&!i[20]&&B_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Ue(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=Se()},m(m,v){h&&h.m(m,v),E(m,e,v),d&&d.m(m,v),E(m,t,v),Me(n,m,v),E(m,l,v),g&&g.m(m,v),E(m,r,v),p&&p.m(m,v),E(m,a,v),b&&b.m(m,v),E(m,o,v),c=!0},p(m,v){m[25]?h&&(we(),U(h,1,1,()=>{h=null}),ke()):h?(h.p(m,v),v[0]&33554432&&D(h,1)):(h=D_(m),h.c(),D(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(we(),U(d,1,1,()=>{d=null}),ke()):d?(d.p(m,v),v[0]&5242880&&D(d,1)):(d=V_(m),d.c(),D(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=M_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(we(),U(p,1,1,()=>{p=null}),ke()):p?(p.p(m,v),v[0]&1048576&&D(p,1)):(p=F_(m),p.c(),D(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&D(b,1)):(b=B_(m),b.c(),D(b,1),b.m(o.parentNode,o)):b&&(we(),U(b,1,1,()=>{b=null}),ke())},i(m){c||(D(h),D(d),D(n.$$.fragment,m),D(p),D(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(A(e),A(t),A(l),A(r),A(a),A(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 Uy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new pl({props:{disable:i[12]}});let C=!i[25]&&H_(i),y=!(i[20]||i[22])&&W_(i),P=i[19]&&q_(i);b=new pl({props:{disable:i[12],$$slots:{default:[Hy]},$$scope:{ctx:i}}});let N=i[10]&&K_();return{c(){Ue(e.$$.fragment),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),C&&C.c(),o=W(),c=S("div"),y&&y.c(),h=W(),d=S("div"),P&&P.c(),g=W(),p=S("div"),Ue(b.$$.fragment),m=W(),N&&N.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(I,V){Me(e,I,V),E(I,t,V),E(I,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),N&&N.m(p,null),v=!0},p(I,V){const L={};V[0]&4096&&(L.disable=I[12]),e.$set(L),I[25]?C&&(we(),U(C,1,1,()=>{C=null}),ke()):C?(C.p(I,V),V[0]&33554432&&D(C,1)):(C=H_(I),C.c(),D(C,1),C.m(a,null)),I[20]||I[22]?y&&(we(),U(y,1,1,()=>{y=null}),ke()):y?(y.p(I,V),V[0]&5242880&&D(y,1)):(y=W_(I),y.c(),D(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&D(P,1)):(P=q_(I),P.c(),D(P,1),P.m(d,g)):P&&(we(),U(P,1,1,()=>{P=null}),ke());const H={};V[0]&4096&&(H.disable=I[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:I}),b.$set(H),I[10]?N||(N=K_(),N.c(),N.m(p,null)):N&&(N.d(1),N=null)},i(I){v||(D(e.$$.fragment,I),D(C),D(y),D(P),D(b.$$.fragment,I),v=!0)},o(I){U(e.$$.fragment,I),U(C),U(y),U(P),U(b.$$.fragment,I),v=!1},d(I){I&&(A(t),A(n)),Fe(e,I),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),N&&N.d()}}}function D_(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 wp({props:b}),Je.push(()=>St(e,"isSearchFieldVisible",c)),Je.push(()=>St(e,"displaySearchResult",h)),Je.push(()=>St(e,"searchResult",d)),Je.push(()=>St(e,"inputElem",g)),Je.push(()=>St(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(){Ue(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],kt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],kt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],kt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],kt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],kt(()=>a=!1)),e.$set(C)},i(m){o||(D(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function V_(i){let e,t;return e=new cp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O_(i){let e,t;return e=new fp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function By(i){let e,t,n,l,r,a,o,c,h;t=new pl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&O_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=Se(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Yt(e,"lui-split-view",i[11].displayed),Yt(e,"lui-collapsed",i[11].collapsed)},m(g,p){E(g,e,p),Me(t,e,null),w(e,n),w(e,l),E(g,r,p),d&&d.m(g,p),E(g,a,p),o=!0,c||(h=Y_(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)&&Yt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Yt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&D(d,1)):(d=O_(g),d.c(),D(d,1),d.m(a.parentNode,a)):d&&(we(),U(d,1,1,()=>{d=null}),ke())},i(g){o||(D(t.$$.fragment,g),D(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(A(e),A(r),A(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function M_(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function F_(i){let e,t,n,l;e=new Ey({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&U_(i);return{c(){Ue(e.$$.fragment),t=W(),r&&r.c(),n=Se()},m(a,o){Me(e,a,o),E(a,t,o),r&&r.m(a,o),E(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&&D(r,1)):(r=U_(a),r.c(),D(r,1),r.m(n.parentNode,n)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){l||(D(e.$$.fragment,a),D(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(A(t),A(n)),Fe(e,a),r&&r.d(a)}}}function U_(i){let e,t;return e=new Cp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function B_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function H_(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 wp({props:b}),Je.push(()=>St(e,"isSearchFieldVisible",c)),Je.push(()=>St(e,"displaySearchResult",h)),Je.push(()=>St(e,"searchResult",d)),Je.push(()=>St(e,"inputElem",g)),Je.push(()=>St(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(){Ue(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],kt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],kt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],kt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],kt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],kt(()=>a=!1)),e.$set(C)},i(m){o||(D(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function W_(i){let e,t,n,l;return n=new cp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){E(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||(D(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&A(e),Fe(n)}}}function q_(i){let e,t;return e=new Cp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function z_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function G_(i){let e,t;return e=new fp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Hy(i){let e,t,n,l,r,a,o,c,h,d;t=new pl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&z_(i),p=i[11].displayed&&G_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=Se(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Yt(e,"lui-split-view",i[11].displayed),Yt(e,"lui-collapsed",i[11].collapsed)},m(b,m){E(b,e,m),Me(t,e,null),w(e,n),w(e,l),E(b,r,m),g&&g.m(b,m),E(b,a,m),p&&p.m(b,m),E(b,o,m),c=!0,h||(d=Y_(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)&&Yt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Yt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&D(g,1)):(g=z_(b),g.c(),D(g,1),g.m(a.parentNode,a)):g&&(we(),U(g,1,1,()=>{g=null}),ke()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&D(p,1)):(p=G_(b),p.c(),D(p,1),p.m(o.parentNode,o)):p&&(we(),U(p,1,1,()=>{p=null}),ke())},i(b){c||(D(t.$$.fragment,b),D(g),D(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&(A(e),A(r),A(a),A(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function K_(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Wy(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&N_(i),b=Ve(i[28]),m=[];for(let L=0;L<b.length;L+=1)m[L]=L_(I_(i,b,L));const v=L=>U(m[L],1,1,()=>{m[L]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&A_(i),y=i[27].displayed&&E_(i),P=i[17].displayed&&R_(i);const N=[Uy,Fy],I=[];function V(L,H){return L[30]?0:1}return o=V(i),c=I[o]=N[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let L=0;L<m.length;L+=1)m[L].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"),Yt(e,"no-nav",i[20]),Yt(e,"no-side-nav",i[22]),Yt(e,"no-top-nav",i[25]),Yt(e,"no-animation",i[23]),Yt(e,"btp-layout",i[30])},m(L,H){E(L,e,H),p&&p.m(e,null),w(e,t);for(let R=0;R<m.length;R+=1)m[R]&&m[R].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),I[o].m(e,null),h=!0,d||(g=[ee(P_,"resize",i[36]),ee(P_,"keydown",i[47])],d=!0)},p(L,H){if(L[26]&&L[26].length?p?(p.p(L,H),H[0]&67108864&&D(p,1)):(p=N_(L),p.c(),D(p,1),p.m(e,t)):p&&(we(),U(p,1,1,()=>{p=null}),ke()),H[0]&268439552|H[1]&1792){b=Ve(L[28]);let R;for(R=0;R<b.length;R+=1){const O=I_(L,b,R);m[R]?(m[R].p(O,H),D(m[R],1)):(m[R]=L_(O),m[R].c(),D(m[R],1),m[R].m(e,n))}for(we(),R=b.length;R<m.length;R+=1)v(R);ke()}L[29].displayed&&L[29].settings.isDrawer?C?(C.p(L,H),H[0]&536870912&&D(C,1)):(C=A_(L),C.c(),D(C,1),C.m(e,l)):C&&(we(),U(C,1,1,()=>{C=null}),ke()),L[27].displayed?y?(y.p(L,H),H[0]&134217728&&D(y,1)):(y=E_(L),y.c(),D(y,1),y.m(e,r)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),L[17].displayed?P?(P.p(L,H),H[0]&131072&&D(P,1)):(P=R_(L),P.c(),D(P,1),P.m(e,a)):P&&(we(),U(P,1,1,()=>{P=null}),ke()),c.p(L,H),(!h||H[0]&16777216)&&f(e,"configversion",L[24]),(!h||H[0]&1048576)&&Yt(e,"no-nav",L[20]),(!h||H[0]&4194304)&&Yt(e,"no-side-nav",L[22]),(!h||H[0]&33554432)&&Yt(e,"no-top-nav",L[25]),(!h||H[0]&8388608)&&Yt(e,"no-animation",L[23])},i(L){if(!h){D(p);for(let H=0;H<b.length;H+=1)D(m[H]);D(C),D(y),D(P),D(c),h=!0}},o(L){U(p),m=m.filter(Oy);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(L){L&&A(e),p&&p.d(),gt(m,L),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Ye(g)}}}function qy(i,e,t){const n=Qt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,N,I,V,L,H,R,O,z,Q,Z,fe,X=!0,G=!1,K,re,ce,ne=[],Pe={isDirty:!1,persistUrl:null},se,ae,be=!1,je,ye,Le={},ze,Qe,De,et=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:nt}=e,{inputElem:de}=e,{customSearchItemRendererSlot:it}=e,{displaySearchResult:yt}=e,{searchResult:rn}=e,{storedUserSettings:An}=e;const sn=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Re&&typeof Ge=="object"&&Ge!==null,he=Ee.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Re]:null,anchor:cl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(Be=>Be.iframeConfigKey).forEach(Be=>{he[Be]=B[Be]||!1}),he},qt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||I,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await sn(B)),authData:dl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(ue)},ut=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=Cn(B.params),Ge=ft.getNodePath(R,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ie.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:I}),ue.iframe.pv="pv"}},rt=(B,ue,Re,Ge)=>{let Ie=Cn(B.params,Re,Ge);const{preventHistoryEntry:he,preserveQueryParams:Be,preventContextUpdate:Pt}=B.params,zt={keepBrowserHistory:!he,navSync:X,preventContextUpdate:Pt};return Ie=ie.addLeadingSlash(Ie),Ie=Be?me.composeSearchParamsToRoute(Ie):Ie,ut(B,ue),ft.navigateTo(Ie,zt)},Zt=B=>B.split("?")[0],Xt=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Zt(Ge.path),Zt(Ge.nextPath)].includes(Zt(Re))},En=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},Et=B=>new Promise((ue,Re)=>{Vi(B)?Gl().then(()=>{En(),ue()},()=>{Re()}):ue()}),_n=()=>({get:()=>({unsavedChanges:Pe,hideNav:ii,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:R,navigationPath:re,context:I,pathParams:L,hideGlobalSearch:Ri,hideSideNav:hi,isolateView:Q,pageErrorHandler:Z,previousNodeValues:fe,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ae,isNavigateBack:G,goBackContext:K,isNavigationSyncEnabled:X}),set:B=>{B&&(t(23,Di=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ii=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?R=B.currentNode:ue==="navigationPath"?t(14,re=B.navigationPath):ue==="context"?I=B.context:ue==="pathParams"?t(13,L=B.pathParams):ue==="hideGlobalSearch"?t(21,Ri=B.hideGlobalSearch):ue==="hideSideNav"?(hi!=B.hideSideNav&&(t(23,Di=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,hi=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?Z=B.pageErrorHandler:ue==="previousNodeValues"?fe=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):ue==="tabNav"?t(15,ae=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?K=B.goBackContext:ue==="isNavigationSyncEnabled"&&(X=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Vi,getUnsavedChangesModalPromise:Et,showUnsavedChangesModal:Gl,showAlert:Vt,prepareInternalData:sn,dispatch:n}),ni=(B,ue)=>{mn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Kn.deleteCache();const Ge=ft.getCurrentPath();ft.handleRouteChange(Ge,_n(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Xt(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let Pt=Y.length;Pt--;)Zi(Pt);ta.removeBackdrop(),di(),ft.handleRouteChange(Re,_n(),B,ue,Ie,he)})},Kt=(B,ue)=>ie.replaceVars(ft.getNodePath(B),ue,":",!1),Cn=(B,ue,Re)=>{const Ge=ue||R,Ie=Re||L;let he=re;if(ue){let Pt=ue.parent;for(he=[ue];Pt;)he.push(Pt),Pt=Pt.parent;he=[...he].reverse()}let Be=B.link;if(B.fromVirtualTreeRoot){const Pt=[...he].reverse().find(zt=>zt.virtualTree);if(!Pt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Be=ft.concatenatePath(Kt(Pt,Ie),B.link)}else if(B.fromParent)Be=ft.concatenatePath(Kt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Pt=[...he].reverse().find(zt=>zt.navigationContext&&zt.navigationContext.length>0);Be=ft.concatenatePath(Kt(Pt,Ie),B.link)}else if(B.fromContext){const Pt=B.fromContext,zt=[...he].reverse().find(Lr=>Pt===Lr.navigationContext);Be=ft.concatenatePath(Kt(zt,Ie),B.link)}else B.intent?Be=me.getIntentPath(B.link):B.relative&&(Be=ft.concatenatePath(Kt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Be+=Be.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Pt,zt)=>{Be+=encodeURIComponent(me.getContentViewParamPrefix()+Pt[0])+"="+encodeURIComponent(Pt[1])+(zt<Object.keys(B.nodeParams).length-1?"&":"")})),Be},Ci=B=>{const ue=B.detail.node;Et().then(()=>{if(xe(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);vn(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,yr(Re,ue.drawer)}else _n().set({isNavigationSyncEnabled:!0}),ft.handleRouteClick(ue,_n())},()=>{})},yi=()=>{t(16,be=!be)};Jr("handleNavigation",rt);const bn=B=>B?!0:(console.warn("No search provider defined."),!1),Pi=()=>{bn(ye)&&t(0,nt=!1)},Ii=()=>{bn(ye)&&de&&(t(0,nt=!0),de.focus())},Ni=()=>{bn(ye)&&de&&(t(1,de.value="",de),Ai())},Ti=()=>{t(0,nt=!nt),Fk.clearSearchField()},Li=()=>{if(bn(ye)&&de)return de.value},vl=B=>{bn(ye)&&de&&(t(1,de.value=B,de),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},wl=B=>{bn(ye)&&de&&t(1,de.placeholder=B,de)},kl=B=>{if(bn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let ue={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,it,ue)}else t(3,yt=!0),t(4,rn=B);else console.warn("Search result array is empty.")},Ai=()=>{if(bn(ye)&&(t(3,yt=!1),t(4,rn=[]),it))for(;it.lastElementChild;)it.removeChild(it.lastElementChild)},Ji=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};rt(Re)},Yi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=pt.getDefaultData().mfSplitView),pt.open(_n(),B,ue)},di=()=>{pt.close(_n())},Sl=()=>{pt.collapse(_n()),t(11,o.collapsed=!0,o)},Cl=()=>{pt.expand(_n()),t(11,o.collapsed=!1,o)},Qi=()=>o.displayed?o.collapsed:!1,yl=()=>o.displayed?!o.collapsed:!1,Pl=()=>o.displayed,Il=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ei=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)},Nl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ii,Ri,hi,Di,gi,j,ve;const xe=()=>{document.body.classList.remove("lui-leftNavToggle")},at=()=>{Xi();const B=window.innerWidth>=cn.desktopMinWidth&&gi<cn.desktopMinWidth,ue=window.innerWidth<cn.desktopMinWidth&&gi>=cn.desktopMinWidth;(B||ue)&&xe(),gi=window.innerWidth};let st=[];const _t=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},Vt=(B,ue=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ie=Re(B,ue);if(Ie!==!1)return Ie}const Ge=st;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&_t(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(()=>{_t(st,B.id)&&jt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,st=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},jt=(B,ue)=>{const Re=_t(st,B);if(!Re){console.error("An unexisting alert has been dismissed.",st,B);return}if(t(26,st=st.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ce),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ee.sendMessageToIframe(Ge,Ie)}else Re.promise&&Re.promise.resolve(ue||B)},Jn=B=>{jt(B.detail.id,B.detail.dismissKey)};let li;const Tl=()=>{t(27,li={displayed:!1,content:{},openFromClient:!1,promise:null})};Tl();const _i=(B,ue=!1,Re)=>new Promise((Ge,Ie)=>{t(27,li={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Re})}),Ll=B=>{const{promise:ue,openFromClient:Re,targetIframe:Ge}=li;if(Tl(),B?ue.resolve():ue.reject(),Re&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ie)}},Vi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Gl=()=>_i({header:At.getTranslation("luigi.unsavedChangesAlert.header"),body:At.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:At.getTranslation("luigi.button.dismiss"),buttonConfirm:At.getTranslation("luigi.button.confirm")}),Cr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Jr("getUnsavedChangesModalPromise",Et);let Y=[];const Ot=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Re;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Re=Ie),B!==he))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ie)}};Ot();const vn=async(B,ue,Re)=>{if(await le.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Re}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&ft.appendModalDataToUrl(B,ue)},ri=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},na=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Zi=(B,ue,Re)=>{const Ge=(Be,Pt)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&ft.removeModalDataFromUrl(Pt),Ot(Be,Re)},Ie=Y[B],he=ie.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Et(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Re)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Re))};Jr("openViewInModal",vn);let an={};const Kl=()=>{t(29,an.displayed=!1,an),t(29,an.nodepath=void 0,an),t(29,an.settings={},an),t(12,g=!1)};Kl();const yr=async(B,ue)=>{await le.shouldPreventNavigationForPath(B)||(t(29,an.displayed=!0,an),t(29,an.nodepath=B,an),t(29,an.settings=ue,an),an.settings&&an.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=cn.desktopMinWidth&&an.displayed&&an.settings&&!an.settings.overlap,Xi=(B=!1)=>{if(!ia())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)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(ue);Re.forEach(Ie=>{Pr(Ie,Ge)})}},Pr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Xi()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,Xi()},jl=B=>{d=B.detail.activeDrawer},Jl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Et(p.contentWindow).then(()=>{Kl()},()=>{}):m&&Et().then(()=>{Kl()},()=>{}),Xi(!0)}catch(ue){console.log(ue)}},bs=()=>{const B=_r.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 le.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Yl=B=>{let ue=re;if(R){let Ie=R.parent;for(ue=[R];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Re=B.link,Ge=Kt(R,L);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Be=>Be.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Kt(Ie,L);Re=Ge.split(he).join("")}else if(B.fromParent){const Ie=Kt(R.parent,L);Re=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Be=>Be.navigationContext&&Be.navigationContext.length>0),he=Kt(Ie,L);Re=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Pt=>Ie===Pt.navigationContext),Be=Kt(he,L);Re=Ge.split(Be).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),hr.shouldPreload=!0,hr.preload(!0),hr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Re};At.addCurrentLocaleChangeListener(he=>{const Be={msg:"luigi.current-locale-changed",currentLocale:he};Ee.broadcastMessageToAllIframes(Be)}),Bn.addEventListener("popstate",async he=>{const Be=st;if(!Be||!(Be.length>0))return;const Pt=Be.map(zt=>{if(zt&&!zt.openFromClient&&typeof zt.settings.ttl=="number"){if(zt.settings.ttl===0)return null;zt.settings.ttl--}return zt}).filter(zt=>zt);t(26,st=Pt)}),Bn.addEventListener("message",async he=>{const Be=Ee.getValidMessageSource(he),Pt=Y[Y.length-1],zt=Pt&&Pt.modalIframe,Lr=Pt&&Pt.modalIframeData,xi={modalIframe:zt,modalIframeData:Lr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!Be)return;Be._ready=!0;const Ar=Ee.getSpecialIframeMessageSource(he,xi),Oi=Ar&&Ar.length>0,Er=te.getConfigValue("communication.skipEventsWhenInactive");if(Er&&Er.length>0&&!Oi&&Be.contentWindow!==window&&!ie.isElementVisible(Be)&&Er.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const He=te.getConfigValue("communication.customMessagesListeners")||{},Tt=ss.convertCustomMessageInternalToUser(he.data),It=He[Tt.id],on="luigi.updateUserSettings";if(Le&&Tt.id===on){It&&console.warn(`The key "${on}" is not allowed to use for custom messages.`);return}if(typeof It=="function"){const yn=ji.getMicrofrontends().find($t=>Ee.isMessageSource(he,$t.container));It(Tt,yn,ie.removeInternalProperties(Be.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Tt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Be.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Be.luigi.viewUrl=Be.luigi.nextViewUrl,Be.luigi.nextViewUrl="",Be.luigi.clientPermissions=Be.luigi.nextClientPermissions,delete Be.luigi.nextClientPermissions,Ie.navigateOk=!0,hr.preload()),he.data.msg==="luigi.get-context"){if(Be.luigi.clientVersion=he.data.clientVersion,Be.luigi.initOk=!1,Oi)Ar.forEach(async He=>{let Tt=xi[He.dataKey].context;const It={...Ie,iframe:xi[He.iframeKey],context:Tt,pathParams:xi[He.dataKey].pathParams,nodeParams:xi[He.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(xi[He.iframeKey].luigi.currentNode),modal:He.iframeKey.startsWith("modal"),drawer:He.iframeKey.startsWith("drawer"),splitView:He.iframeKey.startsWith("splitView")};await qt(It,{})});else if(Ie.iframe&&Ee.isMessageSource(he,Ie.iframe))await qt(Ie,{}),(!R||!R.loadingIndicator||R.loadingIndicator.hideAutomatically!==!1)&&Nr(),hr.preload();else if(Be.luigi.preloading)await qt({iframe:Be,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let He=_r.findActiveCustomUserSettingsIframe(he.source);if(He){let Tt=He.getAttribute("userSettingsGroup"),It={context:{userSettingsData:An[Tt]},iframe:He};await qt(It)}}hr.viewGroupLoaded(Be)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const He=window.location.href,Tt=Oi?Be.luigi.currentNode:void 0,It=Oi?Be.luigi.pathParams:void 0,on=he.data.params,{intent:yn,newTab:$t,modal:el,splitView:Zl,drawer:Al,withoutSync:Ls}=on;let Xl=$t||el||Zl||Al;const ga=()=>{const Yn=ie.getRemotePromise(he.data.remotePromiseId);Yn&&Yn.doResolve()},hn=()=>{const Yn=ie.getRemotePromise(he.data.remotePromiseId);Yn&&Yn.doReject()},El=Yn=>{!Yn||He!==window.location.href?ga():hn()};he.source!==window&&!yn&&on.link&&(on.link=on.link.split("?")[0]);let Ut=Cn(he.data.params,Tt,It);if(Xl=Xl||yn&&Ut.external,!Xl)Et().then(()=>{X=!he.data.params.withoutSync,rt(he.data,Ie,Tt,It).then(()=>{El(!0)}).catch(()=>{hn()}),Y.forEach((Yn,_a)=>{Zi(_a)}),di(),Jl(),X=!0}).catch(()=>{hn()});else{if(yn&&Ut.external){ft.navigateToExternalLink({url:Ut.url,sameWindow:!Ut.openInNewTab});return}if(Ut=ie.addLeadingSlash(Ut),$t){await aa(Ut),El();return}const Yn=await Ql(Ut);if(Ut=await me.handlePageNotFoundAndRetrieveRedirectPath(_n(),Ut,Yn),!Ut){hn();return}ce=B,el!==void 0?(!el.keepPrevious&&Ot(),await vn(Ut,el===!0?{}:el,Be),El()):Zl!==void 0?(await Yi(Ut,Zl),El()):Al!==void 0&&(Kl(),Al.isDrawer=!0,await yr(Ut,Al),El())}}if(he.data.msg==="luigi.navigation.back"){const He=Y[Y.length-1],Tt=Y.length>1&&Y[Y.length-2],It=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ee.isMessageSource(he,He&&He.modalIframe)){Zi(Y.length-1,!0,It);let on=Ie;if(Tt&&Tt.modalIframeData&&Tt.modalIframe){const yn=Tt,$t=yn.modalIframeData;on={pathParams:$t.pathParams,context:$t.context,iframe:yn.modalIframe}}on.iframe&&await qt(on,{goBackContext:It})}else Ee.isMessageSource(he,C)?(di(),Ie.iframe&&await qt(Ie,{goBackContext:It})):Ee.isMessageSource(he,p)?(d&&(d=!d),Jl(),Ie.iframe&&await qt(Ie,{goBackContext:It})):ne&&ne.length>0?Et().then(()=>{fi.setActiveIframeToPrevious(B);const on=ne.pop();Ie.iframe=fi.getActiveIframe(B),G=!0,ne=ne,K=It,rt({params:{link:on.path}},Ie)},()=>{}):(It&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const He=he.data.data,It={msg:"luigi.navigation.currentRoute.answer",data:{route:Yl(He),correlationId:He.id}};Ee.sendMessageToIframe(Be,It)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Oi){const He=ie.addLeadingSlash(Cn(he.data.params,Be.luigi.currentNode,Be.luigi.pathParams));ft.updateModalDataInUrl(He,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const He=Be.luigi.currentNode,Tt=Be.luigi.pathParams,It=he.data.data,on=Cn(It,He,Tt),yn=on?await Ht.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),on):!1,$t={msg:"luigi.navigation.pathExists.answer",data:{correlationId:It.id,pathExists:yn?yn.isExistingRoute:!1}};Ee.sendMessageToIframe(Be,$t)}if(he.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const He=new Set;He.add(he.source),Pe={dirtySet:He}}Pe.persistUrl=window.location.href,he.data.dirty?Pe.dirtySet.add(he.source):Pe.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const He=he.data.data.settings;ce=B,Tl(),_i(He,!0,Be).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:He}=he.data.data;if(!He.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}ce=B,Vt(He,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Be.luigi.clientPermissions&&Be.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:He}=he.data.data;He&&At.setCurrentLocale(He)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(je&&!je.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&Ir(),he.data.msg==="storage"&&f2.process(Be.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let He=Be.luigi.currentNode;He&&He.runTimeErrorHandler&&ie.isFunction(He.runTimeErrorHandler.errorFn)?He.runTimeErrorHandler.errorFn(he.data.errorObj,He):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,He)}if(he.data.msg==="luigi.addSearchParams")if(Be.luigi.currentNode.clientPermissions&&Be.luigi.currentNode.clientPermissions.urlParameters){const{data:He,keepBrowserHistory:Tt}=he.data;me.addSearchParamsFromClient(Be.luigi.currentNode,He,Tt)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Oi)return;const{data:He,keepBrowserHistory:Tt}=he.data;cl.addNodeParams(He,Tt)}if(he.data.msg==="luigi.setAnchor"){const{anchor:He}=he.data;cl.setAnchor(He)}if(he.data.msg==="luigi.setVGData"){const He=he.data,Tt=le.findViewGroup(Be.luigi.currentNode);if(Tt){const It=le.getViewGroupSettings(Tt);It._liveCustomData=He.data,te.configChanged("navigation.viewgroupdata")}}}),ni(B,Ie)}Jr("store",l),Jr("getTranslation",r);const Ir=B=>{je&&je.thirdPartyCookieErrorHandling&&ie.isFunction(je.thirdPartyCookieErrorHandling)&&je.thirdPartyCookieErrorHandling()};function Nr(){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 Ql=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=Cn(ue),Ge=Re?await Ht.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},$i=()=>Y.length>0||ne.length!==0;ln(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),gi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();B&&ue&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(le.COL_NAV_KEY));t(18,ze=Re?B:ue)}}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(()=>{Vy()==="disabled"&&Ir()}),document.body.removeChild(B)}})}),xr(()=>{Xi()}),jn(()=>{t(19,Qe=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,j=te.getConfigValue("tag")),t(25,ve=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===zl&&Y&&Y.length>0&&Zi(Y.length-1)},oa=B=>Zi(B,!0),ws=(B,ue)=>ri(ue,B),ua=(B,ue)=>na(ue,B),fa=()=>Ll(!0),ca=()=>Ll(!1);function da(B){An=B,t(5,An)}function ks(B){nt=B,t(0,nt)}function Ss(B){yt=B,t(3,yt)}function Cs(B){rn=B,t(4,rn)}function ha(B){de=B,t(1,de)}function ys(B){it=B,t(2,it)}function Ps(B){nt=B,t(0,nt)}function Is(B){yt=B,t(3,yt)}function Ns(B){rn=B,t(4,rn)}function Tr(B){de=B,t(1,de)}function Ts(B){it=B,t(2,it)}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,nt=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,it=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,yt=B.displaySearchResult),"searchResult"in B&&t(4,rn=B.searchResult),"storedUserSettings"in B&&t(5,An=B.storedUserSettings)},[nt,de,it,yt,rn,An,Ti,Ai,Ji,ra,a,o,g,L,re,ae,be,Le,ze,Qe,ii,Ri,hi,Di,j,ve,st,li,Y,an,et,Ci,yi,Il,Ei,Nl,at,Jn,Ll,ri,na,Zi,ms,la,jl,Jl,vs,sa,l,r,Pi,Ii,Ni,Li,vl,wl,kl,Yi,di,Sl,Cl,Qi,yl,Pl,Vt,_i,Cr,bs,Yl,Ql,$i,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Tr,Ts]}class zy extends Ft{constructor(e){super(),Mt(this,e,qy,Wy,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 Gy=()=>{const{subscribe:i,update:e,reset:t}=br({}),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=[]}}},yp=Gy(),Ky=Ak((i,e,t)=>At.getTranslation(i,e,t));Luigi._store=yp;const jy=()=>new Promise(i=>{At._init(),dn.init().then(()=>{setTimeout(()=>{let e;ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new zy({target:ji.getLuigiContainer(),props:{store:yp,getTranslation:Ky}}),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(jy);
52
+ }`;var dt=zf(function(){return Nt(F,Ke+"return "+Ce).apply(t,q)});if(dt.source=Ce,Co(dt))throw dt;return dt}function sw(s){return Lt(s).toLowerCase()}function ow(s){return Lt(s).toUpperCase()}function uw(s,u,_){if(s=Lt(s),s&&(_||u===t))return Xo(s);if(!s||!(u=Wn(u)))return s;var k=ai(s),T=ai(u),F=$o(k,T),q=xo(k,T)+1;return ol(k,F,q).join("")}function fw(s,u,_){if(s=Lt(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=Wn(u)))return s;var k=ai(s),T=xo(k,ai(u))+1;return ol(k,0,T).join("")}function cw(s,u,_){if(s=Lt(s),s&&(_||u===t))return s.replace(ii,"");if(!s||!(u=Wn(u)))return s;var k=ai(s),T=$o(k,ai(u));return ol(k,T).join("")}function dw(s,u){var _=z,k=Q;if(Jt(u)){var T="separator"in u?u.separator:T;_="length"in u?ct(u.length):_,k="omission"in u?Wn(u.omission):k}s=Lt(s);var F=s.length;if(xl(s)){var q=ai(s);F=q.length}if(_>=F)return s;var J=_-er(k);if(J<1)return k;var x=q?ol(q,0,J).join(""):s.slice(0,J);if(T===t)return x+k;if(q&&(J+=x.length-J),yo(T)){if(s.slice(J).search(T)){var _e,pe=x;for(T.global||(T=Bs(T.source,Lt(st.exec(T))+"g")),T.lastIndex=0;_e=T.exec(pe);)var Ce=_e.index;x=x.slice(0,Ce===t?J:Ce)}}else if(s.indexOf(Wn(T),J)!=J){var Oe=x.lastIndexOf(T);Oe>-1&&(x=x.slice(0,Oe))}return x+k}function hw(s){return s=Lt(s),s&&Yi.test(s)?s.replace(Ai,qp):s}var gw=sr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=Lt(s),u=_?t:u,u===t?Fp(s)?Kp(s):Tp(s):s.match(u)||[]}var zf=ht(function(s,u){try{return hn(s,t,u)}catch(_){return Co(_)?_:new lt(_)}}),_w=Hi(function(s,u){return Ut(u,function(_){_=bi(_),Ui(s,_,ko(s[_],s))}),s});function pw(s){var u=s==null?0:s.length,_=Ze();return s=u?Gt(s,function(k){if(typeof k[1]!="function")throw new Qn(a);return[_(k[0]),k[1]]}):[],ht(function(k){for(var T=-1;++T<u;){var F=s[T];if(hn(F[0],this,k))return hn(F[1],this,k)}})}function mw(s){return qm(Xn(s,g))}function To(s){return function(){return s}}function bw(s,u){return s==null||s!==s?u:s}var vw=Ku(),ww=Ku(!0);function On(s){return s}function Lo(s){return ku(typeof s=="function"?s:Xn(s,g))}function kw(s){return Cu(Xn(s,g))}function Sw(s,u){return yu(s,Xn(u,g))}var Cw=ht(function(s,u){return function(_){return Hr(_,s,u)}}),yw=ht(function(s,u){return function(_){return Hr(s,_,u)}});function Ao(s,u,_){var k=gn(u),T=Oa(u,k);_==null&&!(Jt(u)&&(T.length||!k.length))&&(_=u,u=s,s=this,T=Oa(u,gn(u)));var F=!(Jt(_)&&"chain"in _)||!!_.chain,q=qi(s);return Ut(T,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=Rn(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,nl([this.value()],arguments))})}),s}function Pw(){return He._===this&&(He._=Xp),this}function Eo(){}function Iw(s){return s=ct(s),ht(function(u){return Pu(u,s)})}var Nw=so(Gt),Tw=so(_a),Lw=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):r1(s)}function Aw(s){return function(u){return s==null?t:Ml(s,u)}}var Ew=Ju(),Rw=Ju(!0);function Ro(){return[]}function Do(){return!1}function Dw(){return{}}function Vw(){return""}function Ow(){return!0}function Mw(s,u){if(s=ct(s),s<1||s>ce)return[];var _=se,k=wn(s,se);u=Ze(u),s-=se;for(var T=Ms(k,u);++_<s;)u(_);return T}function Fw(s){return ot(s)?Gt(s,bi):qn(s)?[s]:Rn(ff(Lt(s)))}function Uw(s){var u=++Qp;return Lt(s)+u}var Bw=Wa(function(s,u){return s+u},0),Hw=oo("ceil"),Ww=Wa(function(s,u){return s/u},1),qw=oo("floor");function zw(s){return s&&s.length?Va(s,On,Js):t}function Gw(s,u){return s&&s.length?Va(s,Ze(u,2),Js):t}function Kw(s){return Qo(s,On)}function jw(s,u){return Qo(s,Ze(u,2))}function Jw(s){return s&&s.length?Va(s,On,Xs):t}function Yw(s,u){return s&&s.length?Va(s,Ze(u,2),Xs):t}var Qw=Wa(function(s,u){return s*u},1),Zw=oo("round"),Xw=Wa(function(s,u){return s-u},0);function $w(s){return s&&s.length?Os(s,On):0}function xw(s,u){return s&&s.length?Os(s,Ze(u,2)):0}return M.after=kv,M.ary=kf,M.assign=o0,M.assignIn=Of,M.assignInWith=es,M.assignWith=u0,M.at=f0,M.before=Sf,M.bind=ko,M.bindAll=_w,M.bindKey=Cf,M.castArray=Dv,M.chain=bf,M.chunk=q1,M.compact=z1,M.concat=G1,M.cond=pw,M.conforms=mw,M.constant=To,M.countBy=$b,M.create=c0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=d0,M.defaultsDeep=h0,M.defer=Sv,M.delay=Cv,M.difference=K1,M.differenceBy=j1,M.differenceWith=J1,M.drop=Y1,M.dropRight=Q1,M.dropRightWhile=Z1,M.dropWhile=X1,M.fill=$1,M.filter=ev,M.flatMap=iv,M.flatMapDeep=lv,M.flatMapDepth=rv,M.flatten=gf,M.flattenDeep=x1,M.flattenDepth=eb,M.flip=yv,M.flow=vw,M.flowRight=ww,M.fromPairs=tb,M.functions=w0,M.functionsIn=k0,M.groupBy=av,M.initial=ib,M.intersection=lb,M.intersectionBy=rb,M.intersectionWith=ab,M.invert=C0,M.invertBy=y0,M.invokeMap=ov,M.iteratee=Lo,M.keyBy=uv,M.keys=gn,M.keysIn=Vn,M.map=Ya,M.mapKeys=I0,M.mapValues=N0,M.matches=kw,M.matchesProperty=Sw,M.memoize=Za,M.merge=T0,M.mergeWith=Mf,M.method=Cw,M.methodOf=yw,M.mixin=Ao,M.negate=Xa,M.nthArg=Iw,M.omit=L0,M.omitBy=A0,M.once=Pv,M.orderBy=fv,M.over=Nw,M.overArgs=Iv,M.overEvery=Tw,M.overSome=Lw,M.partial=So,M.partialRight=Nf,M.partition=cv,M.pick=E0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Aw,M.pull=fb,M.pullAll=pf,M.pullAllBy=cb,M.pullAllWith=db,M.pullAt=hb,M.range=Ew,M.rangeRight=Rw,M.rearg=Nv,M.reject=gv,M.remove=gb,M.rest=Tv,M.reverse=vo,M.sampleSize=pv,M.set=D0,M.setWith=V0,M.shuffle=mv,M.slice=_b,M.sortBy=wv,M.sortedUniq=Sb,M.sortedUniqBy=Cb,M.split=iw,M.spread=Lv,M.tail=yb,M.take=Pb,M.takeRight=Ib,M.takeRightWhile=Nb,M.takeWhile=Tb,M.tap=zb,M.throttle=Av,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Fw,M.toPlainObject=Vf,M.transform=O0,M.unary=Ev,M.union=Lb,M.unionBy=Ab,M.unionWith=Eb,M.uniq=Rb,M.uniqBy=Db,M.uniqWith=Vb,M.unset=M0,M.unzip=wo,M.unzipWith=mf,M.update=F0,M.updateWith=U0,M.values=fr,M.valuesIn=B0,M.without=Ob,M.words=qf,M.wrap=Rv,M.xor=Mb,M.xorBy=Fb,M.xorWith=Ub,M.zip=Bb,M.zipObject=Hb,M.zipObjectDeep=Wb,M.zipWith=qb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Bw,M.attempt=zf,M.camelCase=z0,M.capitalize=Hf,M.ceil=Hw,M.clamp=H0,M.clone=Vv,M.cloneDeep=Mv,M.cloneDeepWith=Fv,M.cloneWith=Ov,M.conformsTo=Uv,M.deburr=Wf,M.defaultTo=bw,M.divide=Ww,M.endsWith=G0,M.eq=oi,M.escape=K0,M.escapeRegExp=j0,M.every=xb,M.find=tv,M.findIndex=df,M.findKey=g0,M.findLast=nv,M.findLastIndex=hf,M.findLastKey=_0,M.floor=qw,M.forEach=vf,M.forEachRight=wf,M.forIn=p0,M.forInRight=m0,M.forOwn=b0,M.forOwnRight=v0,M.get=Po,M.gt=Bv,M.gte=Hv,M.has=S0,M.hasIn=Io,M.head=_f,M.identity=On,M.includes=sv,M.indexOf=nb,M.inRange=W0,M.invoke=P0,M.isArguments=Bl,M.isArray=ot,M.isArrayBuffer=Wv,M.isArrayLike=Dn,M.isArrayLikeObject=en,M.isBoolean=qv,M.isBuffer=ul,M.isDate=zv,M.isElement=Gv,M.isEmpty=Kv,M.isEqual=jv,M.isEqualWith=Jv,M.isError=Co,M.isFinite=Yv,M.isFunction=qi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Qv,M.isMatchWith=Zv,M.isNaN=Xv,M.isNative=$v,M.isNil=e0,M.isNull=xv,M.isNumber=Af,M.isObject=Jt,M.isObjectLike=xt,M.isPlainObject=jr,M.isRegExp=yo,M.isSafeInteger=t0,M.isSet=Ef,M.isString=xa,M.isSymbol=qn,M.isTypedArray=ur,M.isUndefined=n0,M.isWeakMap=i0,M.isWeakSet=l0,M.join=sb,M.kebabCase=J0,M.last=xn,M.lastIndexOf=ob,M.lowerCase=Y0,M.lowerFirst=Q0,M.lt=r0,M.lte=a0,M.max=zw,M.maxBy=Gw,M.mean=Kw,M.meanBy=jw,M.min=Jw,M.minBy=Yw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Dw,M.stubString=Vw,M.stubTrue=Ow,M.multiply=Qw,M.nth=ub,M.noConflict=Pw,M.noop=Eo,M.now=Qa,M.pad=Z0,M.padEnd=X0,M.padStart=$0,M.parseInt=x0,M.random=q0,M.reduce=dv,M.reduceRight=hv,M.repeat=ew,M.replace=tw,M.result=R0,M.round=Zw,M.runInContext=$,M.sample=_v,M.size=bv,M.snakeCase=nw,M.some=vv,M.sortedIndex=pb,M.sortedIndexBy=mb,M.sortedIndexOf=bb,M.sortedLastIndex=vb,M.sortedLastIndexBy=wb,M.sortedLastIndexOf=kb,M.startCase=lw,M.startsWith=rw,M.subtract=Xw,M.sum=$w,M.sumBy=xw,M.template=aw,M.times=Mw,M.toFinite=zi,M.toInteger=ct,M.toLength=Df,M.toLower=sw,M.toNumber=ei,M.toSafeInteger=s0,M.toString=Lt,M.toUpper=ow,M.trim=uw,M.trimEnd=fw,M.trimStart=cw,M.truncate=dw,M.unescape=hw,M.uniqueId=Uw,M.upperCase=gw,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,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ut(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:fn(ct(_),0);var k=this.__filtered__&&!u?new bt(this):this.clone();return k.__filtered__?k.__takeCount__=wn(_,k.__takeCount__):k.__views__.push({size:wn(_,se),type:s+(k.__dir__<0?"Right":"")}),k},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ut(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==X||_==K;bt.prototype[s]=function(T){var F=this.clone();return F.__iteratees__.push({iteratee:Ze(T,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Ut(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ut(["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(On)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=ht(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Hr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa(Ze(s)))},bt.prototype.slice=function(s,u){s=ct(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ct(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),k=/^(?:head|last)$/.test(u),T=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);T&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof bt,_e=J[0],pe=x||ot(q),Ce=function(mt){var vt=T.apply(M,nl([mt],J));return k&&Oe?vt[0]:vt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,Xe=F&&!Oe,dt=x&&!Ke;if(!F&&pe){q=dt?q:new bt(this);var $e=s.apply(q,J);return $e.__actions__.push({func:Ja,args:[Ce],thisArg:t}),new Zn($e,Oe)}return Xe&&dt?s.apply(this,J):($e=this.thru(Ce),Xe?k?$e.value()[0]:$e.value():$e)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var T=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(ot(F)?F:[],T)}return this[_](function(q){return u.apply(ot(q)?q:[],T)})}}),pi(bt.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";Rt.call(lr,k)||(lr[k]=[]),lr[k].push({name:u,func:_})}}),lr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=hm,bt.prototype.reverse=gm,bt.prototype.value=_m,M.prototype.at=Gb,M.prototype.chain=Kb,M.prototype.commit=jb,M.prototype.next=Jb,M.prototype.plant=Qb,M.prototype.reverse=Zb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Xb,M.prototype.first=M.prototype.head,Dr&&(M.prototype[Dr]=Yb),M},tr=jp();It?((It.exports=tr)._=tr,Tt._=tr):He._=tr}).call(Yr)})(us,us.exports);var wr=us.exports;class Yk{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 Ht.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ht.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 Ht.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 Ht.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 Ht.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 Ht.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=le.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(ie.isObject(I.tabNav)){if(I.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in I.tabNav&&I.children)if(I.tabNav.hideTabNavAutomatically===!0&&I.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}I=le.getParentNode(I,g.navigationPath)}let V=P,L=d.hideGlobalSearch;L===void 0&&(L=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=le.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=le.getParentNode(V,g.navigationPath)}));const R=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=R;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:R,pathParams:g.pathParams,hideGlobalSearch:L||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:N};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(N?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const fe=t.get(),X=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(fe.context),nodeParams:JSON.stringify(fe.nodeParams),pathParams:JSON.stringify(fe.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(X),withoutSync:!0})}}const Q=document.querySelector(".lui-tab-header");Q&&Q.dispatchEvent(new Event("lui_ctx_update")),Ht.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 Ht.extractDataFromPath(e);rp.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)){Kn.deleteNodesRecursively(c);break}}else r=!1}}else Kn.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={...Wk.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:ql.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&&ql.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&&wr.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=>le.checkVisibleForFeatureToggles(a))),ql.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 ft=new Yk;class Qk{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 Ht.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){ql.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="",pt.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 pt=new Qk;class Zk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{ta.hideAppLoadingIndicator()},0)}}const Xk=new Zk;class $k{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 $k;class xk{constructor(){return this._userInfoStore=br({}),this._loggedInStore=br(!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=dl.parseUrlAuthErrors()||{};if(await dl.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=dl.getStoredAuthData();if(!t||!dl.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(fl(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=dl.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 dn=new xk;class e2{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 Xr=new e2;class t2{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 dl=new t2;class n2{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 kr=new n2;class i2{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 vk.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=Xr.hasDecorators()?Xr.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:At.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new i2;class l2{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=wr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),wr.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 l2;class r2{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=dl.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?"":At.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ht.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 Ht.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||"/";ft.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?At.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?At.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 Ht.extractDataFromPath(e);return!!await Ht.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:wr.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=>{wr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=At.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:le.prepareForTests(e.pathSegment,e.label)}}const le=new r2;class a2{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?ft.getHashPath():ft.getModifiedPathname();e(l)}}),Bn.addEventListener("popstate",n=>{const l=t?ft.getHashPath(location.href):ft.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:ft.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=At.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];cl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,cl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[kr.sanitizeParam(n[0])]=kr.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 cl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=cl.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&&cl.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:At.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 a2;class s2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const mn=new s2;class o2{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 o2;class u2{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 f2=new u2;class c2{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 _r=new c2,Qr=38,mr=40,_l=13,zl=27,$r=32,d2=36,h2=35;class sp{constructor(e,t){Mn(this,"dispatch");Mn(this,"search");Mn(this,"isCustomSearchRenderer");Mn(this,"isCustomSearchResultItemRenderer");Mn(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=At.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=At.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===_l?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===zl?this.search.searchProvider.onEscape():e===mr?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===mr&&(o=r!==null?r:t[0]),e===Qr&&(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===zl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===_l&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Qr||t===mr?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===zl&&(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?ft.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=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("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){E(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=ee(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&&A(e),p=!1,b()}}}function g2(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=S("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){E(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:qe,o:qe,d(l){l&&A(e),gt(n,l),i[5](null)}}}function _2(i,e,t){const n=Qt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Ct("getUnsavedChangesModalPromise"),c=Ct("handleNavigation");jn(()=>{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=kr.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)}),ln(()=>{});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){Je[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 p2 extends Ft{constructor(e){super(),Mt(this,e,_2,g2,Dt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Un(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){E(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&&A(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&A(e),r=!1,a()}}}function m2(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,N=i[0].buttonDismiss+"",I,V,L,H,R,O=i[0].type&&$f(i),z=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),I=Ne(N),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(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",L="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(Q,Z){E(Q,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),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,I),H||(R=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[Z]){Q[0].type?O?O.p(Q,Z):(O=$f(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=Q[0].header+"")&&Ae(h,c),Z&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,Z):(z=xf(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Z&1&&N!==(N=Q[0].buttonDismiss+"")&&Ae(I,N),Z&1&&V!==(V="fd-button "+(Q[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&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",L)},i:qe,o:qe,d(Q){Q&&A(e),O&&O.d(),z&&z.d(),H=!1,Ye(R)}}}function b2(i,e,t){const n=Qt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ea(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),ln(()=>{const d={icon:r[l.type],header:At.getTranslation("luigi.confirmationModal.header"),body:At.getTranslation("luigi.confirmationModal.body"),buttonDismiss:At.getTranslation("luigi.button.dismiss"),buttonConfirm:At.getTranslation("luigi.button.confirm")};t(0,l={...l,body:kr.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 le.renderIconClassName(d)}function o(d){d.keyCode===zl&&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 v2 extends Ft{constructor(e){super(),Mt(this,e,b2,m2,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function w2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){E(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||(D(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&A(e),r&&r.d(a)}}}function k2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Qt();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 ln(()=>{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()))}))}),jn(()=>{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 pl extends Ft{constructor(e){super(),Mt(this,e,k2,w2,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 pl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("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[5]?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-1hy363a")},m(C,y){E(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=ee(h,"click",i[11]),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&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(D(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&A(e)}}}function nc(i){let e;const t=i[10].default,n=hs(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&_s(n,t,l,l[9],e?gs(t,l[9],r,null):ps(l[9]),null)},i(l){e||(D(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=S("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-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function S2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&ec(i),C=i[4]&&nc(i),y=i[3]&&ic();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1hy363a"),f(t,"data-testid",g=i[5]?"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[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,N){E(P,e,N),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,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&D(v,1)):(v=ec(P),v.c(),D(v,1),v.m(t,n)):v&&(we(),U(v,1,1,()=>{v=null}),ke()),P[4]?C?(C.p(P,N),N&16&&D(C,1)):(C=nc(P),C.c(),D(C,1),C.m(l,r)):C&&(we(),U(C,1,1,()=>{C=null}),ke()),(!m||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||N&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1hy363a"))&&f(t,"class",d),(!m||N&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||N&49&&p!==(p=Un(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||N&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(D(v),D(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&A(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function C2(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=Qt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=Ct("store");const L=G=>le.getNodeLabel(G),H=async G=>{const K=G&&G.length?ie.getPathWithoutHash(G):"",re=me.parseParams(K.split("?")[1]);b=me.getNodeParams(re);const ce=await Ht.extractDataFromPath(G);g=ce.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),I=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=L(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=L(g),r),t(0,r._liveLabel=!0,r)),p=ce.pathData,t(7,a=!0)},R=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),ql.renderWebComponent(g.viewUrl,document.querySelector(I),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:b}}),v=!0;else{const K=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:K,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,K;const re=document.querySelector(".lui-modal-index-"+c),{size:ce,width:ne,height:Pe}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(re.classList.remove("lui-modal-fullscreen"),ne&&ne.match(se)&&Pe&&Pe.match(se))G=Pe,K=ne;else switch(ce){case"fullscreen":G="100vh",K="100vw",re.classList.add("lui-modal-fullscreen");break;case"m":G="80%",K="60%";break;case"s":G="80%",K="40%";break;default:G="80%",K="80%"}re.setAttribute("style",`width:${K};height:${G};`)},z=async(G,K)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,K));const re=await Ee.createIframe(G,void 0,g,"modal",K);return document.querySelector(I).appendChild(re),re};async function Q(G){let K="";const re=document.getElementsByClassName("drawer"),ce=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?K="width:75%;":r.size==="m"?K="width:50%;":r.size==="s"?K="width:25%;":r.size==="xs"&&(K="width:15.5%;")),r.backdrop?re[0].setAttribute("style",K):(ce[0].setAttribute("style",K),re[0].setAttribute("style","width:100%"))}xr(()=>{R(o)});const Z=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&fe()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};ln(()=>{mn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=L(g),r)},["navigation.viewgroupdata"]),Bn.addEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),ea(()=>{Bn.removeEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(){let G;N?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const X=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,N,d,a,o,l,n,X]}class op extends Ft{constructor(e){super(),Mt(this,e,C2,S2,Dt,{settings:0,isDataPrepared:7,nodepath:8,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=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(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=S("div"),t=S("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){E(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&&A(e),gt(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?P2:y2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),E(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&&A(e),l.d(r)}}}function y2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(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){E(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&&A(e)}}}function P2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("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){E(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(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&&A(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 N(){return i[19](i[28])}let I=v&&cc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),I&&I.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,L){E(V,e,L),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),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Wt(N))],C=!0)},p(V,L){i=V,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),L[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),L[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),L[0]&2&&(v=Array.isArray(i[28].options)),v?I?I.p(i,L):(I=cc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&A(e),I&&I.d(),C=!1,Ye(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=S("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){E(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&&A(e),gt(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=S("li"),t=S("span"),l=Ne(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"),Yt(e,"is-selected",i[4]===i[33]),Yt(e,"is-focus",i[4]===i[33])},m(d,g){E(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(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&&Yt(e,"is-selected",i[4]===i[33]),g[0]&16&&Yt(e,"is-focus",i[4]===i[33])},d(d){d&&A(e),o=!1,Ye(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=S("div"),t=S("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){E(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&&A(e),gt(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=S("button"),n=Ne(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){E(p,e,b),w(e,n),w(e,l),h||(d=ee(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&&A(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=S("label"),t=S("span"),n=S("input"),a=W(),o=S("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){E(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=ee(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&&A(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){E(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ee(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&&A(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),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),N&&N.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(I,V){E(I,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),N&&N.m(c,null),w(e,m)},p(I,V){V[0]&34&&l!==(l=I[5](I[28].label)+"")&&Ae(r,l),I[28].type==="string"?v?v.p(I,V):(v=uc(I),v.c(),v.m(c,h)):v&&(v.d(1),v=null),I[28].type==="enum"&&(I[28].style===void 0||I[28].style==="list")?C?C.p(I,V):(C=fc(I),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=I[28].type==="enum"&&I[28].style==="button"&&Array.isArray(I[28].options)),g?y?y.p(I,V):(y=hc(I),y.c(),y.m(c,p)):y&&(y.d(1),y=null),I[28].type==="boolean"&&(!I[28].style||I[28].style==="switch")?P?P.p(I,V):(P=_c(I),P.c(),P.m(c,b)):P&&(P.d(1),P=null),I[28].type==="boolean"&&I[28].style==="checkbox"?N?N.p(I,V):(N=pc(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&A(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function I2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){E(r,e,a),l&&l.m(e,null),t||(n=[ee(window,"click",i[7]),ee(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:qe,o:qe,d(r){r&&A(e),l&&l.d(),t=!1,Ye(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function N2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Qt();let o=Ct("getTranslation");Si(i,o,X=>t(5,n=X));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(X){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(X,G){let K=ls(X.target,".fd-popover__control",20),re=K.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(K,!re))}function m(X,G){const K=X.querySelector(".lui-activate-dropdown"),re=X.parentNode.querySelector(".fd-popover__body"),ce=X.parentNode.querySelector(".fd-select__control");X.setAttribute("aria-expanded",G),re.setAttribute("aria-hidden",!G),ce.setAttribute("aria-expanded",G),K.setAttribute("aria-expanded",G),t(14,h=G)}function v(X,G,K){t(4,c=K),t(0,r[l[0]][X]=G.value||G,r)}function C(X,G){document.querySelectorAll(".enum-buttons-container-"+X+" button").forEach(K=>{const re=K.getAttribute("id"),ce=`lui-us-enum_button_${X}_option`;re===ce?K.classList.add("fd-button--emphasized"):K.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][X]=G.value||G,r)}function y(X,G){let K;if(Array.isArray(G)){for(let re=0;re<G.length;re++)if(ie.isObject(G[re])){if(G[re].value&&G[re].value===X){K=G[re].label,t(4,c=re);break}}else{K=X,t(4,c=G.indexOf(X));break}return n(K)}}function P(X){return n(ie.isObject(X)?X.label:X)}function N(X,G,K){return ie.isObject(K)?`${X}_${G}_${K.value}`:`${X}_${G}_${K}`}function I(X,G,K,re){let ce=ls(X.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${K}`).children;let Pe=-1;if([...ne].forEach((se,ae)=>{se.classList.contains("is-focus")&&(Pe=ae)}),h){if(X.keyCode===Qr&&X.altKey&&(ce.click(),ce.focus()),X.keyCode===mr&&!X.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<re.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(X.keyCode===Qr&&!X.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<re.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(X.keyCode===_l||X.keyCode===$r)&&v(G,re.options[Pe],Pe)}else ce.focus(),X.keyCode===mr&&X.altKey&&ce.click(),X.keyCode===mr&&!X.altKey&&Pe<re.options.length-1&&v(G,re.options[Pe+1],Pe+1),X.keyCode===Qr&&!X.altKey&&Pe>0&&Pe<re.options.length&&v(G,re.options[Pe-1],Pe-1)}function V(X){if(h){let G=ls(X.target,".fd-popover",20);G.blur(),(X.keyCode===$r||X.keyCode===_l)&&(X.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function L(X){r[l[0]][X]=this.value,t(0,r)}const H=(X,G,K,re)=>I(re,X,G,K),R=X=>b(event,X.isEditable),O=(X,G,K)=>v(X,G,K),z=X=>V(X),Q=(X,G)=>C(X,G);function Z(X){r[l[0]][X]=this.checked,t(0,r)}function fe(X){r[l[0]][X]=this.checked,t(0,r)}return i.$$set=X=>{"userSettingGroup"in X&&t(1,l=X.userSettingGroup),"storedUserSettingData"in X&&t(0,r=X.storedUserSettingData),"isComboOpen"in X&&t(14,h=X.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,L,H,R,O,z,Q,Z,fe]}class T2 extends Ft{constructor(e){super(),Mt(this,e,N2,I2,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}=ml;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?A2:L2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),E(o,t,c),E(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&&(A(t),A(n)),a.d(o)}}}function L2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=Se(),f(e,"class",t=Un(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Fn(e,"background-image","url('"+i[38][1].icon+"')"),Fn(e,"background-size","cover")},m(o,c){E(o,e,c),E(o,l,c),a&&a.m(o,c),E(o,r,c)},p(o,c){c[0]&2&&t!==(t=Un(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&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&&Fn(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&&(A(e),A(l),A(r)),a&&a.d(o)}}}function A2(i){let e,t,n,l;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Un(i[18](i[38][1].icon))+" svelte-xbltd6"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-xbltd6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Un(r[18](r[38][1].icon))+" svelte-xbltd6")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-xbltd6")&&f(e,"class",l)},d(r){r&&A(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Un(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){E(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-xbltd6")&&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&&A(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=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-xbltd6"),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,N){E(P,e,N),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=[ee(e,"click",wt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[38][1].icon?v?v.p(i,N):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),N[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&A(e),v&&v.d(),b=!1,Ye(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=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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&&A(e),gt(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 T2({props:o}),Je.push(()=>St(e,"closeDropDown",r)),Je.push(()=>St(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Ue(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],kt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],kt(()=>n=!1)),e.$set(d)},i(c){l||(D(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function E2(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])+"",N,I,V,L,H,R,O,z,Q,Z,fe,X,G,K=i[10](i[5])+"",re,ce,ne,Pe,se=i[10](i[6])+"",ae,be,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 Qe=i[11]&&Pc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let De=0;De<ze.length;De+=1)ze[De].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),N=Ne(P),I=W(),V=S("div"),L=S("div"),Qe&&Qe.c(),H=W(),R=S("div"),O=W(),z=S("div"),Q=W(),Z=S("footer"),fe=S("div"),X=S("div"),G=S("button"),re=Ne(K),ce=W(),ne=S("div"),Pe=S("button"),ae=Ne(se),f(o,"class","fd-title fd-title--h5 svelte-xbltd6"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-xbltd6"),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-xbltd6"),f(r,"class","fd-side-nav svelte-xbltd6"),f(l,"class","lui-usersettings-left-nav svelte-xbltd6"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-xbltd6"),f(y,"class","fd-title fd-title--h5 svelte-xbltd6"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-xbltd6"),f(L,"class","usersettingseditor mf-wrapper svelte-xbltd6"),f(R,"class","iframeUserSettingsCtn iframe-wrapper svelte-xbltd6"),f(z,"class","wcUserSettingsCtn wc-wrapper svelte-xbltd6"),f(V,"class","lui-usersettings-content svelte-xbltd6"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-xbltd6"),f(G,"data-testid","lui-us-saveBtn"),f(G,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"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(fe,"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-xbltd6"),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-xbltd6"),f(e,"tabindex","0")},m(De,et){E(De,e,et),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 nt=0;nt<ze.length;nt+=1)ze[nt]&&ze[nt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,N),w(n,I),w(n,V),w(V,L),Qe&&Qe.m(L,null),w(V,H),w(V,R),w(V,O),w(V,z),w(t,Q),w(t,Z),w(Z,fe),w(fe,X),w(X,G),w(G,re),w(fe,ce),w(fe,ne),w(ne,Pe),w(Pe,ae),be=!0,je||(ye=[ee(bc,"resize",i[20]),ee(bc,"keydown",i[3]),ee(v,"click",i[17]),ee(G,"click",i[25]),ee(Pe,"click",i[26])],je=!0)},p(De,et){if((!be||et[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),et[0]&803846){Le=Ve(Object.entries(De[1]));let nt;for(nt=0;nt<Le.length;nt+=1){const de=vc(De,Le,nt);ze[nt]?ze[nt].p(de,et):(ze[nt]=yc(de),ze[nt].c(),ze[nt].m(p,null))}for(;nt<ze.length;nt+=1)ze[nt].d(1);ze.length=Le.length}(!be||et[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(N,P),De[11]?Qe?(Qe.p(De,et),et[0]&2048&&D(Qe,1)):(Qe=Pc(De),Qe.c(),D(Qe,1),Qe.m(L,null)):Qe&&(we(),U(Qe,1,1,()=>{Qe=null}),ke()),(!be||et[0]&1056)&&K!==(K=De[10](De[5])+"")&&Ae(re,K),(!be||et[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(ae,se)},i(De){be||(D(Qe),be=!0)},o(De){U(Qe),be=!1},d(De){De&&A(e),gt(ze,De),Qe&&Qe.d(),je=!1,Ye(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 R2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function D2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function up(i,e,t){if(i&&t>0)return i.matches(e)?i:up(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 O2(i,e,t){let n,{userSettingGroups:l}=e;const r=Qt();let a,{storedUserSettings:o={}}=e,c={},h=Ct("getTranslation");Si(i,h,se=>t(10,n=se));let d=gl.userSettingsDialog.dialogHeader,g=gl.userSettingsDialog.saveBtn,p=gl.userSettingsDialog.dismissBtn,b={},m,v,C,y;ea(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),ln(()=>{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",be=>{const je=Ee.getValidMessageSource(be);if(!je||be.data.msg!=="custom")return;je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(be.data),Le="luigi.updateUserSettings";if(ye.id===Le){const ze=_r.findActiveCustomUserSettingsIframe(be.source);if(ze){let Qe=ze.getAttribute("userSettingsGroup");t(0,o[Qe]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&R()}),te.readUserSettings().then(be=>{c=JSON.parse(JSON.stringify(be)),be===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),be)),N([m,l[0][m]])}).catch(be=>{be&&be.message&&console.error(be.message),be&&be.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 be=se.settings[ae];be.type==="enum"?Array.isArray(be.options)||console.error(`There is no options array for '${ae}' defined in the Luigi userSettings config.`):be.type===void 0&&console.error(`There is no data type defined for '${ae}' in the Luigi userSettings config.`)}}function N(se,ae){t(11,a=se);let be=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")}),up(ae.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<cn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&Nc()),je.viewUrl){if(_r.hideUserSettingsIframe(),je.webcomponent){I({...je},be);return}if(b.hasOwnProperty(be))_r.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===be&&(ye.style.display="block")});else{const ye=Xr.hasDecorators()?Xr.applyDecorators(je.viewUrl):je.viewUrl;let Le=_r.createIframe(ye,be);b[be]=Le}D2()}else V2()}function I(se,ae){const be=document.querySelector(".wcUserSettingsCtn");if(!be)return;be.innerHTML="";const je={};be.eventBus={listeners:je,onPublishEvent:(De,et)=>{let nt=et;t(0,o[nt]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[ae]},Le=se.eventListeners,ze=se.webcomponent,Qe=se.label;ql.renderWebComponent(se.viewUrl,be,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Qe?Qe.replace(/ /g,"").toLowerCase():null),R2()}const V=se=>{t(0,o=se.detail.userSettings)};function L(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){R()}function R(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<cn.desktopMinWidth&&Nc()}function O(se){return le.renderIconClassName(se)}function z(se){return le.isOpenUIiconName(se.icon)}let Q;const Z=()=>{const se=window.innerWidth>=cn.desktopMinWidth&&Q<cn.desktopMinWidth;if(window.innerWidth<cn.desktopMinWidth&&Q>=cn.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"),!Q){let be=document.querySelector(".confirm-button");window.innerWidth<cn.desktopMinWidth?be.style.display="none":be.style.display="block"}Q=window.innerWidth};function fe(se,ae){let be=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===_l||se.keyCode===$r)&&be[ae].click(),se.keyCode===h2&&be[Object.keys(l).length-1].focus(),se.keyCode===d2&&be[0].focus()}function X(se){se.keyCode===zl&&C?y():se.keyCode===zl&&!C&&r("close")}const G=se=>N(se,event),K=(se,ae)=>fe(ae,[se]);function re(se){y=se,t(9,y)}function ce(se){C=se,t(8,C)}const ne=()=>L(),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,fe,X,d,g,p,v,C,y,n,a,r,h,N,V,L,R,O,z,Z,G,K,re,ce,ne,Pe]}class M2 extends Ft{constructor(e){super(),Mt(this,e,O2,E2,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:F2}=ml;function U2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){E(t,e,n)},p:qe,d(t){t&&A(e)}}}function B2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=S("h1"),a=Ne(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){E(h,e,d),w(e,t),E(h,n,d),E(h,l,d),w(l,a),o||(c=ee(t,"click",Wt(wt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(A(e),A(n),A(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),a=S("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){E(h,e,d),E(h,t,d),E(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Wt(wt(i[3]))),ee(n,"mousedown",Wt(i[6]))],o=!0)},p:qe,d(h){h&&(A(e),A(t),A(n)),o=!1,Ye(c)}}}function H2(i){let e,t,n,l,r,a,o,c,h,d;t=new pl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?B2:U2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=Se(),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){E(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),E(v,a,C),m&&m.m(v,C),E(v,o,C),c=!0,h||(d=ee(F2,"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||(D(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&(A(e),A(a),A(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function W2(i,e,t){const n=Qt();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,N=!1,I=Ct("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:K=>{K&&Object.getOwnPropertyNames(K).forEach(re=>{re==="splitViewSettings"?t(1,C=K.splitViewSettings):re==="lastNode"?r=K.lastNode:re==="pathData"?a=K.pathData:re==="nodeParams"?o=K.nodeParams:re==="collapsed"?t(0,v=K.collapsed):re==="isDataPrepared"?t(8,y=K.isDataPrepared):re==="currentNode"?c=K.currentNode:re==="splitViewIframe"?d=K.splitViewIframe:re==="splitViewIframeData"?g=K.splitViewIframeData:re==="splitViewWC"?p=K.splitViewWC:re==="splitViewWCData"&&(b=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),L=async()=>{y?v||pt.createAndSetView(V()):await pt.prepareSplitViewData(V(),m)},H=()=>{l.split=pt.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=pt.getDragger()},R=()=>{const K=pt.getDraggerBackdrop();K&&(K.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${pt.splitViewValues.top}px`),l.split.style.top=`${pt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(K){if(Ee.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&pt.close(V()),K.data.msg==="luigi.navigation.splitview.collapse"&&z(),K.data.msg==="luigi.navigation.splitview.expand"&&Q(),K.data.msg==="luigi.navigation.splitview.resize")){const re=parseInt(K.data.data);if(pt.calculateAndSetSplitViewValues(re,pt.internalValues),v)return;R(),pt.sendMessageToClients("resize.ok",pt.splitViewValues.percent)}}ln(()=>{Z(),h=O.bind(this),Bn.addEventListener("message",h)}),xr(()=>{L(),N!==y&&!v&&(N=y,R())}),ea(()=>{window.removeEventListener("message",h)});function z(){pt.collapse(V())}async function Q(){await pt.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const K=ie.getShellbarHeight();pt.internalValues.innerHeight=ie.getInnerHeight(),pt.internalValues.rightContentHeight=pt.internalValues.innerHeight-K,pt.internalValues.thresholdBottom=30,pt.internalValues.thresholdTop=K+30,pt.calculateAndSetSplitViewValues(pt.splitViewValues.percent,pt.internalValues),v||R()}function fe(K){let re=K.y,ce={};const ne=function(je){const ye=re-je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Qe=pt.internalValues.innerHeight-ze,De=pt.enforceTresholds(ze,Qe);ze<De.top||Qe<De.bottom||(ce=De,re=je.y,l.draggable.style.top=`${ce.top}px`)},Pe=function(){if(se(),!ce.top||!ce.bottom||ce.top==pt.internalValues.m_pos_prev){pt.getDraggerBackdrop().style.display="none";return}pt.internalValues.m_pos_prev=ce.top,pt.splitViewValues=ce,R(),pt.sendMessageToClients("resize.ok",ce.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},ae=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),ae(),pt.getDraggerBackdrop().style.display="block"}const X=K=>{let re=pt.getDraggerButton();re&&(re.style.display=K?"block":"none"),re=pt.getCollapsedDraggerButton(),re&&(re.style.display=K?"block":"none")},G=K=>{X(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,m=K.nodepath),"collapsed"in K&&t(0,v=K.collapsed),"splitViewSettings"in K&&t(1,C=K.splitViewSettings),"isDataPrepared"in K&&t(8,y=K.isDataPrepared),"disableBackdrop"in K&&t(2,P=K.disableBackdrop)},[v,C,P,z,Q,Z,fe,G,y,m]}class fp extends Ft{constructor(e){super(),Mt(this,e,W2,H2,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:G2,then:z2,catch:q2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&rs(t,n)||Q_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function q2(i){return{c:qe,m:qe,p:qe,d:qe}}function z2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(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){E(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&&A(e)}}}function G2(i){return{c:qe,m:qe,p:qe,d:qe}}function K2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function j2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Ln extends Ft{constructor(e){super(),Mt(this,e,j2,K2,Dt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(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){E(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&&A(e)}}}function J2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function Y2(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 ti extends Ft{constructor(e){super(),Mt(this,e,Y2,J2,Dt,{node:0})}}function Q2(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,N=hs(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),N&&N.c(),p=W(),b=S("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(I,V){E(I,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),N&&N.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Wt(wt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=I[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",I[0]),N&&N.p&&(!v||V&8)&&_s(N,P,I,I[3],v?gs(P,I[3],V,null):ps(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(D(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&A(e),N&&N.d(I),C=!1,Ye(y)}}}function Z2(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||(D(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=[Z2,Q2],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=Se()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),D(t,1),t.m(n.parentNode,n))},i(c){l||(D(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function $2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),le.storeExpandedState(r.uid,a),r.isSingleEntry||le.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 x2 extends Ft{constructor(e){super(),Mt(this,e,$2,X2,Dt,{navGroup:1,expanded:0})}}const{window:ns}=ml;function Rc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Dc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[92]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[99]=e[t],n}function eS(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=S("div"),g&&g.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),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-1bekqg6")},m(m,v){E(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=ee(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&&D(p,1)):(p=Kc(m),p.c(),D(p,1),p.m(l,null)):p&&(we(),U(p,1,1,()=>{p=null}),ke()),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-1bekqg6"))&&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-1bekqg6"))&&f(e,"class",o)},i(m){c||(D(p),c=!0)},o(m){U(p),c=!1},d(m){m&&A(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function tS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),Fn(e,"width","var(--luigi__left-sidenav--width)"),Fn(e,"height","100%")},m(o,c){E(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&&D(a,1)):(a=Sd(o),a.c(),D(a,1),a.m(e,null)):a&&(we(),U(a,1,1,()=>{a=null}),ke()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&f(e,"class",n)},i(o){l||(D(a),l=!0)},o(o){U(a),l=!1},d(o){o&&A(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){E(n,e,l),t&&t.m(e,null),i[62](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&&A(e),t&&t.d(),i[62](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=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){E(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&&A(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?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function nS(i){let e,t,n,l;return{c(){e=S("span"),t=S("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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(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&&A(e)}}}function iS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){E(r,e,a),n||(l=ee(e,"click",wt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(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=S("div"),t=S("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-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){E(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),D(a[d],1)):(a[d]=_d(g),a[d].c(),D(a[d],1),a[d].m(t,null))}for(we(),d=r.length;d<a.length;d+=1)o(d);ke()}(!l||h[0]&8388608&&n!==(n=Un(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)D(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&&A(e),gt(a,c)}}}function lS(i){let e,t,n,l;const r=[sS,aS],a=[];function o(c,h){return c[96].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),D(t,1),t.m(n.parentNode,n))},i(c){l||(D(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function rS(i){let e,t,n=Ve(i[96]),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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[96]);let c;for(c=0;c<n.length;c+=1){const h=Mc(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=gd(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function aS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&jc(i),g=Ve(i[96]),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=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[96],i[27](i[95]))),f(e,"data-testid",a=i[34](i[96].metaInfo,i[95])),f(e,"id","category_list_level1_"+i[98])},m(m,v){E(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),E(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);E(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].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[95])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[96],m[27](m[95]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[96].metaInfo,m[95])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[96]);let C;for(C=0;C<g.length;C+=1){const y=Dc(m,g,C);p[C]?(p[C].p(y,v),D(p[C],1)):(p[C]=$c(y),p[C].c(),D(p[C],1),p[C].m(c.parentNode,c))}for(we(),C=g.length;C<p.length;C+=1)b(C);ke()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)D(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&&(A(e),A(o),A(c)),d&&d.d(),gt(p,m)}}}function sS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H,R,O,z,Q,Z,fe;function X(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[96].metaInfo.icon)),l?_S:gS}let G=X(i,[-1,-1,-1,-1]),K=G(i);function re(){return i[65](i[96])}function ce(){return i[66](i[96])}function ne(...ye){return i[67](i[96],...ye)}let Pe=Ve(i[96]),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 be=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&ld(i);function je(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),K.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),L=S("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();R=W(),be&&be.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[96],i[27](i[95]))),f(n,"class",d="fd-nested-list__link "+(nn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[98]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=nn(i[96],i[9])),f(C,"class",y=nn(i[96],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-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=nn(i[96],i[9])),f(v,"title",N=i[41](i[96],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",I=i[6]?"0":"-1"),f(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(L,"aria-hidden",H=!nn(i[96],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[96].metaInfo,i[95])),Yt(e,"lui-item-expanded",nn(i[96],i[9]))},m(ye,Le){E(ye,e,Le),w(e,t),w(t,n),K.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,L);for(let ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(L,null);w(e,R),be&&be.m(e,null),w(e,O),Q=!0,Z||(fe=[ee(n,"click",wt(re)),ee(v,"click",wt(ce)),ee(t,"keypress",ne),ee(e,"click",Wt(je))],Z=!0)},p(ye,Le){if(i=ye,G===(G=X(i,Le))&&K?K.p(i,Le):(K.d(1),K=G(i),K&&(K.c(),K.m(n,r))),(!Q||Le[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Ae(c,o),(!Q||Le[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Le[0]&8704&&d!==(d="fd-nested-list__link "+(nn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Le[0]&8704&&b!==(b=nn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Le[0]&8704&&y!==(y=nn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Le[0]&8704&&P!==(P=nn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Le[0]&8704&&N!==(N=i[41](i[96],i[9])))&&f(v,"title",N),(!Q||Le[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[96]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Qe=Oc(i,Pe,ze);se[ze]?(se[ze].p(Qe,Le),D(se[ze],1)):(se[ze]=id(Qe),se[ze].c(),D(se[ze],1),se[ze].m(L,null))}for(we(),ze=Pe.length;ze<se.length;ze+=1)ae(ze);ke()}(!Q||Le[0]&8704&&H!==(H=!nn(i[96],i[9])))&&f(L,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?be?(be.p(i,Le),Le[0]&8448&&D(be,1)):(be=ld(i),be.c(),D(be,1),be.m(e,O)):be&&(we(),U(be,1,1,()=>{be=null}),ke()),(!Q||Le[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Le[0]&8704)&&Yt(e,"lui-item-expanded",nn(i[96],i[9]))},i(ye){if(!Q){for(let Le=0;Le<Pe.length;Le+=1)D(se[Le]);D(be),Q=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(be),Q=!1},d(ye){ye&&A(e),K.d(),gt(se,ye),be&&be.d(),Z=!1,Ye(fe)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function oS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function uS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[96].metaInfo.icon?i[31](i[96].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[96].metaInfo.icon?n[31](n[96].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jc(i){let e,t,n=i[99].label&&Yc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=Yc(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(Z,fe){return Z[99].icon?cS:fS}let V=I(i),L=V(i),H=i[99].statusBadge&&Qc(i),R=i[99].externalLink&&i[99].externalLink.url&&Zc(),O=i[99].badgeCounter&&Xc(i);function z(...Z){return i[73](i[99],...Z)}function Q(...Z){return i[74](i[99],...Z)}return{c(){e=S("li"),t=S("a"),L.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),R&&R.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[99])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[99],i[30](i[99]))),f(e,"aria-labelledby","category_list_level1_"+i[98])},m(Z,fe){E(Z,e,fe),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),R&&R.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(N=[ee(t,"click",z),ee(t,"keyup",function(){ki(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(Z,fe){i=Z,V===(V=I(i))&&L?L.p(i,fe):(L.d(1),L=V(i),L&&(L.c(),L.m(t,n))),(!y||fe[0]&8192)&&r!==(r=i[30](i[99])+"")&&Ae(a,r),i[99].statusBadge?H?(H.p(i,fe),fe[0]&8192&&D(H,1)):(H=Qc(i),H.c(),D(H,1),H.m(l,null)):H&&(we(),U(H,1,1,()=>{H=null}),ke()),(!y||fe[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[99].externalLink&&i[99].externalLink.url?R||(R=Zc(),R.c(),R.m(t,d)):R&&(R.d(1),R=null),i[99].badgeCounter?O?(O.p(i,fe),fe[0]&8192&&D(O,1)):(O=Xc(i),O.c(),D(O,1),O.m(t,null)):O&&(we(),U(O,1,1,()=>{O=null}),ke()),(!y||fe[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||fe[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||fe[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||fe[0]&8192&&m!==(m=le.getTestId(i[99])))&&f(t,"data-testid",m),(!y||fe[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(Z){y||(D(H),D(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&A(e),L.d(),H&&H.d(),R&&R.d(),O&&O.d(),P=!1,Ye(N)}}}function fS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){E(o,e,c),E(o,n,c),E(o,l,c),w(l,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&&(A(e),A(n),A(l))}}}function cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function hS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qc(i){let e,t;return e=new ti({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Xc(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=Jc(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function gS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function _S(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function xc(i){let e,t,n=i[99].label&&ed(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=ed(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ti({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&td(),V=i[99].badgeCounter&&nd(i);function L(...R){return i[68](i[99],...R)}function H(...R){return i[69](i[99],...R)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=le.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[98])},m(R,O){E(R,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",L),ee(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(R,O){i=R,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=td(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&D(V,1)):(V=nd(i),V.c(),D(V,1),V.m(t,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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=le.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(R){y||(D(o.$$.fragment,R),D(V),y=!0)},o(R){U(o.$$.fragment,R),U(V),y=!1},d(R){R&&A(e),Fe(o),I&&I.d(),V&&V.d(),P=!1,Ye(N)}}}function td(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function nd(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=xc(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=Ve(i[96]),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=S("div"),t=S("div"),n=S("h5"),r=Ne(l),a=W(),o=S("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-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},m(p,b){E(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[95])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[96]);let m;for(m=0;m<h.length;m+=1){const v=Vc(p,h,m);d[m]?(d[m].p(v,b),D(d[m],1)):(d[m]=ud(v),d[m].c(),D(d[m],1),d[m].m(o,null))}for(we(),m=h.length;m<d.length;m+=1)g(m);ke()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)D(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&&A(e),gt(d,p)}}}function rd(i){let e,t,n=i[99].label&&ad(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=ad(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new ti({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&sd(),V=i[99].badgeCounter&&od(i);function L(...R){return i[70](i[99],...R)}function H(...R){return i[71](i[99],...R)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),I&&I.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(R,O){E(R,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),I&&I.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(N=[ee(t,"click",L),ee(t,"keyup",function(){ki(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(R,O){i=R,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?I||(I=sd(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&D(V,1)):(V=od(i),V.c(),D(V,1),V.m(t,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&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=le.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(R){y||(D(o.$$.fragment,R),D(V),y=!0)},o(R){U(o.$$.fragment,R),U(V),y=!1},d(R){R&&A(e),Fe(o),I&&I.d(),V&&V.d(),P=!1,Ye(N)}}}function sd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function od(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&rd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=rd(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[99].label&&cd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=cd(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(Z,fe){return Z[99].icon?mS:pS}let L=V(i),H=L(i);c=new ti({props:{node:i[99]}});let R=i[99].externalLink&&i[99].externalLink.url&&dd(),O=i[99].badgeCounter&&hd(i);function z(...Z){return i[63](i[99],...Z)}function Q(...Z){return i[64](i[99],...Z)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),R&&R.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[99])),f(t,"title",b=i[35](i[99],i[30](i[99]))),f(t,"class",m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=le.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(Z,fe){E(Z,e,fe),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),R&&R.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,N||(I=[ee(t,"click",z),ee(t,"keyup",function(){ki(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],N=!0)},p(Z,fe){i=Z,L===(L=V(i))&&H?H.p(i,fe):(H.d(1),H=L(i),H&&(H.c(),H.m(t,n))),(!P||fe[0]&8192)&&r!==(r=i[30](i[99])+"")&&Ae(a,r);const X={};fe[0]&8192&&(X.node=i[99]),c.$set(X),(!P||fe[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?R||(R=dd(),R.c(),R.m(t,g)):R&&(R.d(1),R=null),i[99].badgeCounter?O?(O.p(i,fe),fe[0]&8192&&D(O,1)):(O=hd(i),O.c(),D(O,1),O.m(t,null)):O&&(we(),U(O,1,1,()=>{O=null}),ke()),(!P||fe[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||fe[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||fe[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||fe[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||fe[0]&8192&&C!==(C=le.getTestId(i[99])))&&f(t,"data-testid",C)},i(Z){P||(D(c.$$.fragment,Z),D(O),P=!0)},o(Z){U(c.$$.fragment,Z),U(O),P=!1},d(Z){Z&&A(e),H.d(),Fe(c),R&&R.d(),O&&O.d(),N=!1,Ye(I)}}}function pS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function mS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function bS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function vS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function dd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function hd(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&fd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&D(n,1)):(n=fd(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[rS,lS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(FS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(d,g){~n&&c[n].m(d,g),E(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(we(),U(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),D(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(D(l),a=!0)},o(d){U(l),a=!1},d(d){d&&A(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=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){E(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&&A(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?kS:wS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),E(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&&A(e),l.d(r)}}}function wS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){E(r,e,a),n||(l=[ee(e,"click",i[76]),ee(e,"keydown",i[77])],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-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Ye(l)}}}function kS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),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-1bekqg6")},m(a,o){E(a,e,o),w(e,t),l||(r=ee(e,"click",i[75]),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-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&A(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){E(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&&A(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=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),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-1bekqg6")},m(p,b){E(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&&A(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?CS:SS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function SS(i){let e,t,n,l;return{c(){e=S("span"),t=S("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-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){E(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&&A(e)}}}function CS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function kd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){E(r,e,a),n||(l=ee(e,"click",wt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(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=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("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=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),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-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){E(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N]&&v[N].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[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let N;for(N=0;N<m.length;N+=1){const I=Fc(y,m,N);v[N]?(v[N].p(I,P),D(v[N],1)):(v[N]=Bd(I),v[N].c(),D(v[N],1),v[N].m(t,n))}for(we(),N=m.length;N<v.length;N+=1)C(N);ke()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)D(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&&A(e),gt(v,y),i[61](null),p=!1,Ye(b)}}}function yS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,L;function H(G,K){return K[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?NS:IS}let R=H(i,[-1,-1,-1,-1]),O=R(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function Z(...G){return i[54](i[96],...G)}function fe(...G){return i[55](i[96],...G)}let X=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Cd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),X&&X.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-1bekqg6"),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[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:nn(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",N=i[34](i[96].metaInfo,i[95]))},m(G,K){E(G,e,K),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),X&&X.m(e,null),I=!0,V||(L=[ee(n,"click",wt(z)),ee(n,"keypress",wt(Q)),ee(n,"keypress",wt(Z)),ee(t,"click",Wt(fe))],V=!0)},p(G,K){i=G,R===(R=H(i,K))&&O?O.p(i,K):(O.d(1),O=R(i),O&&(O.c(),O.m(n,r))),(!I||K[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Ae(c,o),(!I||K[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||K[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!I||K[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:nn(i[96],i[9])))&&f(t,"aria-expanded",v),(!I||K[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?X?(X.p(i,K),K[0]&16704&&D(X,1)):(X=Cd(i),X.c(),D(X,1),X.m(e,null)):X&&(we(),U(X,1,1,()=>{X=null}),ke()),(!I||K[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||K[0]&16384&&N!==(N=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",N)},i(G){I||(D(X),I=!0)},o(G){U(X),I=!1},d(G){G&&A(e),O.d(),X&&X.d(),V=!1,Ye(L)}}}function PS(i){let e,t,n=Ve(i[96]),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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[96]);let c;for(c=0;c<n.length;c+=1){const h=Hc(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Fd(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function IS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function NS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[96]),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=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("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-1bekqg6")},m(p,b){E(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[96]);let m;for(m=0;m<h.length;m+=1){const v=Bc(p,h,m);d[m]?(d[m].p(v,b),D(d[m],1)):(d[m]=Rd(v),d[m].c(),D(d[m],1),d[m].m(l,null))}for(we(),m=h.length;m<d.length;m+=1)g(m);ke()}(!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-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)D(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&&A(e),c&&c.d(),gt(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&Pd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),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[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){E(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[96].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[95])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&A(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[96].metaInfo.icon)),e?LS:TS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function TS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function LS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Id(i){let e,t,n=i[99].label&&Nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Nd(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L=i[30](i[99])+"",H,R,O,z,Q,Z,fe,X,G,K,re,ce,ne,Pe;c=new ti({props:{node:i[99]}});let se=i[99].externalLink&&i[99].externalLink.url&&Td(),ae=i[99].badgeCounter&&Ld(i);function be(...De){return i[56](i[99],...De)}function je(...De){return i[57](i[99],...De)}O=new ti({props:{node:i[99]}});let ye=i[99].externalLink&&i[99].externalLink.url&&Ad(),Le=i[99].badgeCounter&&Ed(i);function ze(...De){return i[58](i[99],...De)}function Qe(...De){return i[59](i[99],...De)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),g=S("span"),p=W(),se&&se.c(),b=W(),ae&&ae.c(),P=W(),N=S("li"),I=S("a"),V=S("span"),H=Ne(L),R=W(),Ue(O.$$.fragment),Q=W(),ye&&ye.c(),Z=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),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[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=le.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",fe=i[33](i[99])),f(I,"class",X="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",K=le.getTestId(i[99])),f(I,"title",re=i[35](i[99],i[30](i[99]))),Fn(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[98])},m(De,et){E(De,e,et),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),E(De,P,et),E(De,N,et),w(N,I),w(I,V),w(V,H),w(V,R),Me(O,V,null),w(I,Q),ye&&ye.m(I,null),w(I,Z),Le&&Le.m(I,null),ce=!0,ne||(Pe=[ee(n,"click",be),ee(n,"keyup",function(){ki(i[24]?void 0:je)&&(i[24]?void 0:je).apply(this,arguments)}),ee(I,"click",ze),ee(I,"keyup",function(){ki(i[24]?void 0:Qe)&&(i[24]?void 0:Qe).apply(this,arguments)})],ne=!0)},p(De,et){i=De,(!ce||et[0]&16384)&&r!==(r=i[30](i[99])+"")&&Ae(a,r);const nt={};et[0]&16384&&(nt.node=i[99]),c.$set(nt),(!ce||et[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[99].badgeCounter?ae?(ae.p(i,et),et[0]&16384&&D(ae,1)):(ae=Ld(i),ae.c(),D(ae,1),ae.m(n,null)):ae&&(we(),U(ae,1,1,()=>{ae=null}),ke()),(!ce||et[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!ce||et[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!ce||et[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!ce||et[0]&16384&&y!==(y=le.getTestId(i[99])))&&f(t,"data-testid",y),(!ce||et[0]&16384)&&L!==(L=i[30](i[99])+"")&&Ae(H,L);const de={};et[0]&16384&&(de.node=i[99]),O.$set(de),(!ce||et[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(I,Z)):ye&&(ye.d(1),ye=null),i[99].badgeCounter?Le?(Le.p(i,et),et[0]&16384&&D(Le,1)):(Le=Ed(i),Le.c(),D(Le,1),Le.m(I,null)):Le&&(we(),U(Le,1,1,()=>{Le=null}),ke()),(!ce||et[0]&16384&&fe!==(fe=i[33](i[99])))&&f(I,"href",fe),(!ce||et[0]&16512&&X!==(X="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",X),(!ce||et[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!ce||et[0]&16384&&K!==(K=le.getTestId(i[99])))&&f(I,"data-testid",K),(!ce||et[0]&16384&&re!==(re=i[35](i[99],i[30](i[99]))))&&f(I,"title",re)},i(De){ce||(D(c.$$.fragment,De),D(ae),D(O.$$.fragment,De),D(Le),ce=!0)},o(De){U(c.$$.fragment,De),U(ae),U(O.$$.fragment,De),U(Le),ce=!1},d(De){De&&(A(e),A(P),A(N)),Fe(c),se&&se.d(),ae&&ae.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Ye(Pe)}}}function Td(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Ld(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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=S("i"),f(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function Ed(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&Id(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Id(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[99].label&&Vd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Vd(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H;function R(G,K){return G[99].icon?ES:AS}let O=R(i),z=O(i);h=new ti({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Od(),Z=i[99].badgeCounter&&Md(i);function fe(...G){return i[50](i[99],...G)}function X(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Ue(h.$$.fragment),g=W(),Q&&Q.c(),p=W(),Z&&Z.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),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[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=le.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,K){E(G,e,K),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,L||(H=[ee(n,"click",fe),ee(n,"keyup",function(){ki(i[24]?void 0:X)&&(i[24]?void 0:X).apply(this,arguments)})],L=!0)},p(G,K){i=G,O===(O=R(i))&&z?z.p(i,K):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||K[0]&16384)&&a!==(a=i[30](i[99])+"")&&Ae(o,a);const re={};K[0]&16384&&(re.node=i[99]),h.$set(re),(!V||K[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Q||(Q=Od(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?Z?(Z.p(i,K),K[0]&16384&&D(Z,1)):(Z=Md(i),Z.c(),D(Z,1),Z.m(n,b)):Z&&(we(),U(Z,1,1,()=>{Z=null}),ke()),(!V||K[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||K[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||K[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||K[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||K[0]&16384&&N!==(N=le.getTestId(i[99])))&&f(n,"data-testid",N),(!V||K[0]&16512&&I!==(I=i[99]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(D(h.$$.fragment,G),D(Z),V=!0)},o(G){U(h.$$.fragment,G),U(Z),V=!1},d(G){G&&A(e),z.d(),Fe(h),Q&&Q.d(),Z&&Z.d(),L=!1,Ye(H)}}}function AS(i){let e,t;return{c(){e=S("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){E(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&&A(e)}}}function ES(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?DS:RS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function RS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),tt(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){E(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function DS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){E(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&A(e)}}}function Od(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Md(i){let e,t;return e=new Ln({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(D(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[99].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&16384&&D(n,1)):(n=Dd(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[PS,yS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(MS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(d,g){~n&&c[n].m(d,g),E(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(we(),U(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),D(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(D(l),a=!0)},o(d){U(l),a=!1},d(d){d&&A(r),~n&&c[n].d(d)}}}function VS(i){let e,t,n=Ve(i[92].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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[92].entries);let c;for(c=0;c<n.length;c+=1){const h=Uc(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Ud(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function Bd(i){let e,t;return e=new x2({props:{navGroup:i[92],expanded:i[92].groupEntry&&nn(i[92].groupEntry[1],i[9]),$$slots:{default:[VS]},$$scope:{ctx:i}}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&nn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function OS(i){let e,t,n,l,r,a;const o=[tS,eS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),E(d,n,g),l=!0,r||(a=[ee(ns,"resize",i[18]),ee(ns,"click",i[22]),ee(ns,"blur",i[22]),ee(ns,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(D(t),l=!0)},o(d){U(t),l=!1},d(d){d&&A(n),c[e].d(d),r=!1,Ye(a)}}}function nn(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 MS=i=>!i.hideFromNav&&i.label,FS=i=>!i.hideFromNav&&i.label;function US(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:I,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:H}),set:async j=>{j&&(Object.getOwnPropertyNames(j).forEach(async ve=>{if(ve==="pathData")t(5,p=j.pathData);else if(ve==="context")R=j.context;else if(ve==="children")t(0,a=j.children);else if(ve==="selectedNode")t(7,C=j.selectedNode);else if(ve==="hasCategoriesWithIcon")t(10,N=j.hasCategoriesWithIcon);else if(ve==="navParent"){t(12,L=void 0);let xe=j.navParent;if(t(45,H=xe),xe&&xe.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let at=xe.navHeader,st=xe;if(at==="inherit"){for(st=xe.parent;st&&st.navHeader==="inherit";)st=st.parent;at=st?st.navHeader:void 0}if(at instanceof Function){t(12,L={});let _t=at(le.stripNode(xe),le.stripNode(st),R);_t instanceof Promise?_t.then(Vt=>{t(12,L=Vt)}):t(12,L=_t)}else if(at==="auto")t(12,L={label:xe.label,icon:xe.icon});else if(at&&at.useTitleResolver&&st.titleResolver){st.titleResolver.prerenderFallback?t(12,L={...at,label:st.titleResolver.fallbackTitle||"",icon:st.titleResolver.fallbackIcon}):t(12,L=at);const _t=me.mapPathToNode(ft.getCurrentPath(),st);Ht.extractDataFromPath(_t).then(Vt=>{const jt=me.substituteDynamicParamsInObject(Object.assign({},Vt.pathData.context,st.context),Vt.pathData.pathParams);le.fetchNodeTitleData(st,jt).then(Jn=>{t(12,L={...at,...Jn})}).catch(Jn=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...at,label:xe.label,icon:xe.icon})})})}else t(12,L=await et(at,st))}}}),t(44,I=le.getSideNavAccordionMode(C)))}},r=Qt();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=le.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:L}=e,{navParentNode:H}=e,R,O,z,Q=Ct("store"),Z=Ct("getTranslation");Si(i,Z,j=>t(27,n=j));let fe=!1,X=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),G,K=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",re;const ce=j=>le.getNodeLabel(j),ne=async()=>{const j=l.get(),ve=await Ht.getLeftNavData({...j},j);ve&&(l.set(ve),O=p,window.LEFTNAVDATA=ve.children)};ln(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,fe=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),mn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),mn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let j=vi.initial();t(6,v=j.isSemiCollapsed),t(43,h=j.semiCollapsible),vi.onValueChanged(ve=>{t(6,v=ve.isSemiCollapsed)}),Bn.addEventListener("message",ve=>{ve.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const Pe=()=>{if(G){const j=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),ve=G.querySelector(".fd-navigation__list"),xe=G.querySelector(".fd-navigation__list > .lui-spacer");j==null||j.forEach(at=>{at.navGroupId?ve.querySelector(`[navGroupId="${at.navGroupId}"]`).appendChild(at):ve.insertBefore(at,xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},se=()=>{const j=G.querySelector(".fd-navigation__list > .lui-spacer"),ve=G.querySelector(".lui-moreItems"),xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(j.clientHeight===0&&xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let at=xe.length-1;at>0&&(lastNode=xe[at-1],xe[at].navGroupId=xe[at].parentNode.getAttribute("navGroupId"),ve.insertBefore(xe[at],ve.firstChild),!(j.clientHeight>0));at--);}},ae=()=>{const j=ve=>{ve&&de(ve)};L!=null&&L.renderer&&re&&(L.clearBeforeRender&&t(26,re.innerHTML="",re),L.renderer(re,H,j,L))};xr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let j;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((ve,xe)=>{j&&clearTimeout(j),v&&(j=setTimeout(()=>{Pe(),se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):Pe(),ae()}),jn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function be(j){if(X){const ve={},xe=[],at=K;let st=[];return j.forEach(_t=>{if(_t[0].startsWith(m))st.push({isSingleEntry:!0,entries:[_t]});else{const Vt=_t[1].metaInfo.categoryUid;if(Vt&&Vt.indexOf(at)>0)xe.push(_t);else{const jt=_t[1].metaInfo.isGroup;ve[Vt]={isSingleEntry:!jt,title:n(_t[1].metaInfo.label),groupEntry:_t,uid:Vt,entries:[jt?["undefined",_t[1]]:_t]},st.push(ve[Vt]),!le.isCollapsedSuperCategory(Vt)&&jt&&qt(_t[1],!0)}}}),xe.forEach(_t=>{const Vt=_t[1].metaInfo.categoryUid.split(at)[0],jt=ve[Vt];jt&&(jt.isSingleEntry&&(jt.isSingleEntry=!1,jt.entries=[["undefined",jt.groupEntry[1]]]),jt.entries.push(_t))}),st.filter(_t=>{if(_t.entries&&_t.entries.length>0)for(let Vt=0;Vt<_t.entries.length;Vt++){const[jt,Jn]=_t.entries[Vt];if(Jn.filter(li=>!li.hideFromNav&&li.label).length>0)return!0}return!1})}else return j}let{sortedChildrenEntries:je}=e,{sortedVerticalNavGroups:ye}=e;function Le(j){return le.renderIconClassName(j)}function ze(j){return le.isOpenUIiconName(j)}function Qe(j){return me.getNodeHref(j,b)}function De(j,ve){return j&&j.testId?j.testId:le.prepareForTests(ve||j.label)}async function et(j,ve){const xe=me.mapPathToNode(ft.getCurrentPath(),ve),st=(await Ht.extractDataFromPath(xe)).pathData.pathParams;return me.substituteDynamicParamsInObject(j,st)}function nt(j,ve){return le.generateTooltipText(j,ve)}function de(j){r("handleClick",{node:j})}function it(j,ve){if(vi.getCollapsed()){let xe,at=document.getElementsByClassName("fd-app__sidebar")[0];if(j.metaInfo&&j.metaInfo.label?xe=j.metaInfo.label:xe=j.category&&j.category.label||j.category,at&&!at.classList.contains("isBlocked")&&(at.className+=" isBlocked"),xe===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=xe),at?yt(ve):X&&(Wo(ve),ve.closest(".lui-moreItems")||Te())}}function yt(j){const ve=j.closest(".fd-nested-list__item"),xe=ve.offsetTop,at=ji.getShellbar().offsetHeight;let st;ji.isCustomLuigiContainer()?st=ji.getCustomLuigiContainer().clientHeight:st=window.innerHeight,setTimeout(()=>{const _t=ve.getElementsByClassName("lui-flyout-sublist")[0],Vt=j.closest(".lui-fd-side-nav-wrapper").scrollTop,jt=xe+at-Vt,Jn=st-xe-ve.offsetHeight+Vt-at;jt+_t.offsetHeight>=st?(_t.style.bottom=Jn+"px",_t.className+=" has-bottom-position"):_t.style.top=jt-at+"px"})}function rn(){if(h){let j=vi.onResize(y);t(6,v=j.isSemiCollapsed),t(8,y=j.selectedCategory)}}function An(j){if(j.code==="ArrowRight"){const xe=Ee.getCurrentMicrofrontendIframe();xe&&xe.contentWindow&&xe.contentWindow.focus()}}function sn(j){let ve=H?H.parent:void 0;for(;ve;){if(ve.pathSegment&&ve.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:ve});return}ve=ve.parent}console.warn('Could not resolve "up"-node, redirecting to root'),rp.navigate("/")}function qt(j,ve){vi.getCollapsed()||t(9,P=le.storeExpandedState(j.metaInfo.categoryUid,ve,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function ut(){t(8,y=vi.closePopupMenu(y)),Te()}function rt(j){j&&j.code==="Escape"&&ut()}function Zt(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),_n()}function Xt(j){const ve=j.code;(ve==="Enter"||ve==="Space")&&Zt()}function En(j,ve){(j.code==="Enter"||j==="Space")&&it(ve,j.currentTarget)}function Et(j,ve){j.keyCode===_l&&le.handleNavAnchorClickedWithoutMetaKey(j)&&de(ve)}function _n(){if(!le.getBurgerTooltipConfig())return;const[j,ve]=le.getBurgerTooltipConfig(),xe=document.body.classList.contains("lui-semiCollapsible");j&&ve&&xe&&t(11,V=document.body.classList.contains("semiCollapsed")?j:ve)}function ni(j,ve){return nn(j,ve)?j.metaInfo.titleCollapseButton?n(j.metaInfo.titleCollapseButton):void 0:j.metaInfo.titleExpandButton?n(j.metaInfo.titleExpandButton):void 0}function Kt(j){if(!j)return;const ve=j.target.parentElement;ve.getAttribute("aria-expanded")==="true"?ve.setAttribute("aria-expanded","false"):(ut(),ve.setAttribute("aria-expanded","true")),j.stopPropagation()}function Cn(j){Je[j?"unshift":"push"](()=>{re=j,t(26,re)})}const Ci=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},yi=(j,ve)=>Et(ve,j),bn=j=>qt(j,!nn(j,P)),Pi=j=>qt(j,!nn(j,P)),Ii=(j,ve)=>En(ve,j),Ni=(j,ve)=>it(j,ve.currentTarget),Ti=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Li=(j,ve)=>Et(ve,j),vl=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},wl=(j,ve)=>Et(ve,j),kl=j=>{(j.code==="Enter"||j.code==="Space")&&Kt(j)};function Ai(j){Je[j?"unshift":"push"](()=>{G=j,t(25,G)})}function Ji(j){Je[j?"unshift":"push"](()=>{re=j,t(26,re)})}const Yi=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},di=(j,ve)=>Et(ve,j),Sl=j=>qt(j,!nn(j,P)),Cl=j=>qt(j,!nn(j,P)),Qi=(j,ve)=>En(ve,j),yl=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Pl=(j,ve)=>Et(ve,j),Il=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Ei=(j,ve)=>Et(ve,j),Nl=j=>it(j,event.currentTarget),ii=(j,ve)=>{le.handleNavAnchorClickedWithoutMetaKey(ve)&&de(j)},Ri=(j,ve)=>Et(ve,j),hi=j=>Zt(),Di=j=>Zt(),gi=j=>Xt(j);return i.$$set=j=>{"children"in j&&t(0,a=j.children),"hideNavComponent"in j&&t(1,o=j.hideNavComponent),"footerText"in j&&t(2,c=j.footerText),"semiCollapsible"in j&&t(43,h=j.semiCollapsible),"semiCollapsibleButton"in j&&t(3,d=j.semiCollapsibleButton),"semiCollapsibleButtonStyle"in j&&t(4,g=j.semiCollapsibleButtonStyle),"pathData"in j&&t(5,p=j.pathData),"pathParams"in j&&t(46,b=j.pathParams),"virtualGroupPrefix"in j&&t(15,m=j.virtualGroupPrefix),"isSemiCollapsed"in j&&t(6,v=j.isSemiCollapsed),"selectedNode"in j&&t(7,C=j.selectedNode),"selectedCategory"in j&&t(8,y=j.selectedCategory),"expandedCategories"in j&&t(9,P=j.expandedCategories),"hasCategoriesWithIcon"in j&&t(10,N=j.hasCategoriesWithIcon),"sideNavAccordionMode"in j&&t(44,I=j.sideNavAccordionMode),"burgerTooltip"in j&&t(11,V=j.burgerTooltip),"navHeader"in j&&t(12,L=j.navHeader),"navParentNode"in j&&t(45,H=j.navParentNode),"sortedChildrenEntries"in j&&t(13,je=j.sortedChildrenEntries),"sortedVerticalNavGroups"in j&&t(14,ye=j.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const j=Object.entries(a);j.sort((ve,xe)=>ve[1].metaInfo.order-xe[1].metaInfo.order),t(13,je=j),t(14,ye=be(j))}},[a,o,c,d,g,p,v,C,y,P,N,V,L,je,ye,m,de,it,rn,An,sn,qt,ut,z,fe,G,re,n,Z,X,ce,Le,ze,Qe,De,nt,rt,Zt,Xt,En,Et,ni,Kt,h,I,H,b,yt,Wo,Cn,Ci,yi,bn,Pi,Ii,Ni,Ti,Li,vl,wl,kl,Ai,Ji,Yi,di,Sl,Cl,Qi,yl,Pl,Il,Ei,Nl,ii,Ri,hi,Di,gi]}class cp extends Ft{constructor(e){super(),Mt(this,e,US,OS,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 BS=i=>{mn.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||""})),dp(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"])},HS=(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||!HS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},dp=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&&wr.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=ta.getDocumentTitle()||r;i.set({title:r}),document.title=At.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[45]=e[t],n[47]=t,n}function qd(i,e,t){const n=i.slice();return n[45]=e[t],n}function WS(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=S("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){E(a,e,o),r&&r.m(e,null),n||(l=ee(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&&A(e),r&&r.d(),n=!1,l()}}}function qS(i){let e,t,n,l,r=i[1]&&Gd(i);return{c(){e=S("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){E(a,e,o),r&&r.m(e,null),n||(l=ee(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&&A(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){E(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[30](null)}}}function Gd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function Kd(i){let e,t,n,l=(!i[3]||i[4])&&jd(i),r=i[3]&&Jd(i),a=i[12]&&i[5]&&ih(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),a&&a.m(o,c),E(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=ih(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(t),A(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function jd(i){let e;function t(r,a){return r[14]?GS:zS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,a){l.m(r,a),E(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&&A(e),l.d(r)}}}function zS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){E(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&A(e),r=!1,a()}}}function GS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class",r="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(c,h){E(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&A(e),a=!1,o()}}}function Jd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?jS:KS}let b=p(i),m=b(i),v=i[6]&&i[7]&&xd(i),C=i[9]&&i[9].length>0&&eh(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){E(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Wt(ZS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=eh(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&A(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function KS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=W(),a=S("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){E(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Wt(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&&A(e),c=!1,h()}}}function jS(i){let e,t,n,l=i[9]&&i[9].length===1&&Yd(i),r=i[9]&&i[9].length>1&&Qd(i),a=i[9].length>1&&!i[7]&&$d(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=Se()},m(o,c){l&&l.m(o,c),E(o,e,c),r&&r.m(o,c),E(o,t,c),a&&a.m(o,c),E(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Yd(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=Qd(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=$d(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(A(e),A(t),A(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Yd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){E(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Ae(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&A(e)}}}function Qd(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=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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&&A(e),gt(n,l)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),o=W(),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,"href",c=i[24](i[45])),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){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",wt(i[34])),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[45]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&A(e),d=!1,g()}}}function Xd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Zd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Zd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&A(t),n&&n.d(l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("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,"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){E(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",wt(i[35])),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&&A(e),c=!1,h()}}}function xd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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){E(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",wt(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&&A(e),o=!1,c()}}}function eh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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]=nh(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&&A(e),gt(n,l)}}}function JS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(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[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&A(e),h=!1,d()}}}function YS(i){let e,t=i[18]&&th(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function th(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new Sr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){E(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&A(e)}}}function nh(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 YS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return JS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Se()},m(o,c){a&&a.m(o,c),E(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&&A(n),a&&a.d(o)}}}function ih(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function QS(i){let e,t;function n(o,c){return o[14]?qS:WS}let l=n(i),r=l(i),a=i[2]&&Kd(i);return{c(){r.c(),e=W(),a&&a.c(),t=Se()},m(o,c){r.m(o,c),E(o,e,c),a&&a.m(o,c),E(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:qe,o:qe,d(o){o&&(A(e),A(t)),r.d(o),a&&a.d(o)}}}const ZS=()=>{};function XS(i,e,t){let n;const l=Qt();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:N}=e,{pathData:I}=e,{addNavHrefForAnchor:V}=e,L,H,R=Ct("getUnsavedChangesModalPromise"),O=Ct("getTranslation");Si(i,O,de=>t(19,n=de));let z=Ct("store");const Q={closeDropDown:()=>{re("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:I,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:N,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(it=>{it==="pathData"?t(26,I=de.pathData):it==="appSwitcherItems"?t(9,v=de.appSwitcherItems):it==="itemRenderer"?t(10,C=de.itemRenderer):it==="pathParams"?t(11,y=de.pathParams):it==="selectedItem"?t(7,b=de.selectedItem):it==="title"?t(2,o=de.title):it==="defaultSubTitle"?t(25,N=de.defaultSubTitle):it==="subTitle"?t(12,P=de.subTitle):it==="defaultTitle"?t(8,m=de.defaultTitle):it==="subTitle"?t(12,P=de.subTitle):it==="showMainAppEntry"?t(6,p=de.showMainAppEntry):it==="hasApps"?t(3,c=de.hasApps):it==="keepMainTitle"?t(4,h=de.keepMainTitle):it==="showSubTitle"?t(5,d=de.showSubTitle):it==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});ln(()=>{BS(Z())}),jn(()=>{(!H||H!=I)&&(dp(Z()),H=I)});function fe(de,it,yt){return setTimeout(()=>{it&&C(de,it.children[yt],Q)}),""}function X(de){R().then(()=>{ft.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){R().then(()=>{ft.navigateTo("/")},()=>{})}function K(de){l("handleClick",{node:de}),re("appSwitcherPopover")}function re(de){l("toggleDropdownState",{name:de})}function ce(de){return de.testId?de.testId:le.prepareForTests(de.title||de)}function ne(de,it){if(de.link){const yt=me.applyPathParams(de.link,it);if(yt.indexOf(":")!==0&&yt.indexOf("/:")===-1)return!0}return!1}function Pe(de){return me.getNodeHref(de)}function se(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ae=de=>{le.handleNavAnchorClickedWithoutMetaKey(de)&&X("/")};function be(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const je=()=>X("/"),ye=de=>{le.handleNavAnchorClickedWithoutMetaKey(de)&&X("/")},Le=()=>X("/"),ze=()=>re("appSwitcherPopover"),Qe=()=>re("appSwitcherPopover"),De=()=>re("appSwitcherPopover"),et=(de,it)=>{le.handleNavAnchorClickedWithoutMetaKey(it)&&X(de.link)};function nt(de){Je[de?"unshift":"push"](()=>{L=de,t(18,L)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,N=de.defaultSubTitle),"pathData"in de&&t(26,I=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,X,G,re,L,n,O,fe,ce,ne,Pe,N,I,K,se,ae,be,je,ye,Le,ze,Qe,De,et,nt]}class $S extends Ft{constructor(e){super(),Mt(this,e,XS,QS,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 lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a,o=i[0]&&ah(i),c=(i[10]||i[11])&&hh(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("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){E(h,e,d),o&&o.m(e,null),E(h,t,d),E(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=ah(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=hh(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(A(e),A(t),A(n)),o&&o.d(),c&&c.d()}}}function ah(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?eC:xS}let h=c(i),d=h(i),g=i[7].name&&sh(i),p=i[7].description&&oh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=fh(lh(i,b,C));let v=i[12]&&ch(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=S("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){E(C,e,y),d.m(e,null),E(C,t,y),E(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),E(C,r,y),E(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=sh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=oh(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 N=lh(C,b,P);m[P]?m[P].p(N,y):(m[P]=fh(N),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=ch(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(A(e),A(t),A(n),A(r),A(a)),d.d(),g&&g.d(),p&&p.d(),gt(m,C),v&&v.d()}}}function xS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&A(e)}}}function eC(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Fn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&Fn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function sh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(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){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&A(e)}}}function oh(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&A(e)}}}function uh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function tC(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Fn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&Fn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function nC(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){E(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&&A(e)}}}function fh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&uh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(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){E(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=uh(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&&A(e),g&&g.d(),h=!1,Ye(d)}}}function ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&dh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(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){E(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",wt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=dh(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&&A(e),h&&h.d(),o=!1,Ye(c)}}}function dh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function iC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function lC(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&A(e)}}}function hh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&gh(i),l=i[10]&&!i[8]&&_h(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},m(r,a){n&&n.m(r,a),E(r,e,a),l&&l.m(r,a),E(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=gh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=_h(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(A(e),A(t)),n&&n.d(r),l&&l.d(r)}}}function gh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(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){E(c,e,h),w(e,t),w(t,l),a||(o=ee(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&&A(e),a=!1,o()}}}function _h(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("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){E(a,e,o),E(a,t,o),E(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:qe,d(a){a&&(A(e),A(t),A(n)),l=!1,Ye(r)}}}function rC(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=rh(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function aC(i,e,t){let n;const l=Qt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Ct("store"),C=Ct("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Ct("getUnsavedChangesModalPromise"),P=Ct("openViewInModal");ln(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),R(),dn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),dn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){dn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function L(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function R(){b||(mn.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 be=se.userSettingsProfileMenuEntry;ae.settings={...gl.userSettingsProfileMenuEntry,...be}}ae.logout={...gl.logout,...ne},t(11,g=!!ne),m=!1,dn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,dn.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&&(dn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ft.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){ta.openUserSettings(),l("toggleDropdownState")}function fe(){dn.logout()}function X({keyCode:ne}){(ne===_l||ne===$r)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const K=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>X(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,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,Z,X,o,c,h,d,g,p,n,C,N,I,V,L,H,R,O,fe,K,re,ce]}class sC extends Ft{constructor(e){super(),Mt(this,e,aC,rC,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 ph(i,e,t){const n=i.slice();return n[34]=e[t],n}function mh(i){let e,t,n,l,r,a=i[0]&&bh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=wh(ph(i,o,g));let h=i[12]&&kh(i),d=(i[10]||i[11])&&Ch(i);return{c(){e=S("nav"),t=S("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){E(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=bh(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=ph(g,o,b);c[b]?c[b].p(m,p):(c[b]=wh(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=kh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&A(e),a&&a.d(),gt(c,g),h&&h.d(),d&&d.d()}}}function bh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(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){E(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&&A(e)}}}function vh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function oC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function uC(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function wh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&vh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(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){E(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=vh(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&&A(e),g&&g.d(),h=!1,Ye(d)}}}function kh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&Sh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(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){E(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",wt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=Sh(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&&A(e),d&&d.d(),c=!1,Ye(h)}}}function Sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function cC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&yh(i),l=i[10]&&!i[8]&&Ih(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=Se()},m(r,a){n&&n.m(r,a),E(r,e,a),l&&l.m(r,a),E(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=yh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Ih(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(A(e),A(t)),n&&n.d(r),l&&l.d(r)}}}function yh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ph(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(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){E(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ph(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&&A(e),d&&d.d(),c=!1,h()}}}function Ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function hC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ih(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:qe,d(l){l&&A(e),t=!1,n()}}}function gC(i){let e,t=!i[1]&&mh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=mh(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function _C(i,e,t){let n;const l=Qt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Ct("store"),C=Ct("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Ct("getUnsavedChangesModalPromise"),P=Ct("openViewInModal");ln(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),R(),dn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),dn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){dn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function L(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function R(){b||(mn.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 be=se.userSettingsProfileMenuEntry;ae.settings={...gl.userSettingsProfileMenuEntry,...be}}ae.logout={...gl.logout,...ne},t(11,g=!!ne),m=!1,dn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,dn.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&&(dn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ft.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){ta.openUserSettings(),l("toggleDropdownState")}function fe(){dn.logout()}function X({keyCode:ne}){(ne===_l||ne===$r)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const K=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},re=ne=>z(ne),ce=ne=>X(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,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,Z,X,o,c,h,d,g,p,n,C,N,I,V,L,H,R,O,fe,K,re,ce]}class hp extends Ft{constructor(e){super(),Mt(this,e,_C,gC,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 Nh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Th(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Eh(Nh(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=Nh(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Eh(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function Lh(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 N(R,O){return O&6&&(n=null),n==null&&(n=!!R[2](R[11])),n?mC:pC}let I=N(i,-1),V=I(i);r=new Ln({props:{node:i[11]}});let L=p&&Ah(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Ue(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),L&&L.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=le.getTestId(i[11]))},m(R,O){E(R,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),L&&L.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(R,O){i=R,I===(I=N(i,O))&&V?V.p(i,O):(V.d(1),V=I(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?L?L.p(i,O):(L=Ah(i),L.c(),L.m(o,null)):L&&(L.d(1),L=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=le.getTestId(i[11])))&&f(e,"data-testid",v)},i(R){C||(D(r.$$.fragment,R),C=!0)},o(R){U(r.$$.fragment,R),C=!1},d(R){R&&A(e),V.d(),Fe(r),L&&L.d(),y=!1,P()}}}function pC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function mC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){E(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&&A(e)}}}function Ah(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function Eh(i){let e,t,n=i[11].label&&Lh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&D(n,1)):(n=Lh(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function bC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Th(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),I&&I.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("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,L){E(V,e,L),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),I&&I.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(N=[ee(C,"click",i[8]),ee(e,"click",Wt(vC))],P=!0)},p(V,[L]){(!y||L&1)&&Ae(o,V[0]),V[1]?I?(I.p(V,L),L&2&&D(I,1)):(I=Th(V),I.c(),D(I,1),I.m(g,null)):I&&(we(),U(I,1,1,()=>{I=null}),ke())},i(V){y||(D(I),y=!0)},o(V){U(I),y=!1},d(V){V&&A(e),I&&I.d(),P=!1,Ye(N)}}}const vC=()=>{};function wC(i,e,t){const n=Qt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return le.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Hl.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 gp extends Ft{constructor(e){super(),Mt(this,e,wC,bC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:kC}=ml;function Rh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Dh(i){let e,t,n,l=i[0]&&Vh(i);return{c(){e=S("nav"),t=S("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){E(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&&D(l,1)):(l=Vh(r),l.c(),D(l,1),l.m(t,null)):l&&(we(),U(l,1,1,()=>{l=null}),ke())},i(r){n||(D(l),n=!0)},o(r){U(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function Vh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Mh(Rh(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=Rh(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Mh(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function Oh(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,L){return L&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?CC:SC}let P=y(i,-1),N=P(i);a=new Ln({props:{node:i[7]}});function I(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(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=le.getTestId(i[7]))},m(V,L){E(V,e,L),w(e,t),w(t,n),N.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=[ee(t,"click",i[13]),ee(e,"click",I)],v=!0)},p(V,L){i=V,P===(P=y(i,L))&&N?N.p(i,L):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};L&1&&(H.node=i[7]),a.$set(H),(!m||L&1)&&h!==(h=i[11](i[7])+"")&&Ae(d,h),(!m||L&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||L&1&&b!==(b=le.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(D(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&A(e),N.d(),Fe(a),v=!1,Ye(C)}}}function SC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function CC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Mh(i){let e,t,n=i[7].label&&Oh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&D(n,1)):(n=Oh(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Fh(i){let e,t;return e=new gp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function yC(i){let e,t,n,l,r,a=!i[1]&&Dh(i),o=i[1]&&Fh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=Se()},m(c,h){a&&a.m(c,h),E(c,e,h),o&&o.m(c,h),E(c,t,h),n=!0,l||(r=ee(kC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(we(),U(a,1,1,()=>{a=null}),ke()):a?(a.p(c,h),h&2&&D(a,1)):(a=Dh(c),a.c(),D(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&D(o,1)):(o=Fh(c),o.c(),D(o,1),o.m(t.parentNode,t)):o&&(we(),U(o,1,1,()=>{o=null}),ke())},i(c){n||(D(a),D(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(A(e),A(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 PC(i,e,t){const n=Qt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Ct("getUnsavedChangesModalPromise"),h=Ct("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:L=>{}});ln(async()=>{fs()}),jn(async()=>{r||t(0,r=await Ht.getChildren(a)),t(0,r)});function b(L){c().then(()=>{if(L.openNodeInModal){const H=me.buildRoute(L,`/${L.pathSegment}`);h(H,L.openNodeInModal===!0?{}:L.openNodeInModal)}else ft.handleRouteClick(L,p())},()=>{}),v()}function m(L){b(L.detail)}function v(){n("close")}function C(L){return le.isOpenUIiconName(L.icon)}function y(L){return le.renderIconClassName(L)}function P(L){return At.getTranslation(L.label)}function N(L){return me.getNodeHref(L,o)}const I=L=>{le.handleNavAnchorClickedWithoutMetaKey(L)},V=L=>b(L);return i.$$set=L=>{"isMobile"in L&&t(1,l=L.isMobile),"children"in L&&t(0,r=L.children),"node"in L&&t(7,a=L.node),"addNavHrefForAnchor"in L&&t(2,d=L.addNavHrefForAnchor)},[r,l,d,b,m,v,fs,a,g,C,y,P,N,I,V]}class _p extends Ft{constructor(e){super(),Mt(this,e,PC,yC,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 Sn={_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(ft.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=Sn._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),!!Sn.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=Sn.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 Sn.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 Sn.generateSwitcherNav(e,t)}};function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(Hh(i,t,l));return{c(){e=S("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){E(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]=zh(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&&A(e),gt(n,l)}}}function qh(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=S("li"),t=S("a"),n=S("span"),r=Ne(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=le.getTestId(i[20]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",wt(RC)),ee(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=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),h=!1,Ye(d)}}}function zh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&qh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=qh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&A(t),n&&n.d(l)}}}function Gh(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Kh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=jh(Bh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);E(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=Bh(l,t,a);n[a]?n[a].p(o,r):(n[a]=jh(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&&A(e),gt(n,l)}}}function IC(i){return{c:qe,m:qe,p:qe,d:qe}}function NC(i){let e,t,n,l,r;function a(d,g){return d[2]?LC:TC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=le.getTestId(i[20]))},m(d,g){E(d,e,g),c.m(e,null),E(d,n,g),l||(r=ee(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=le.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(A(e),A(n)),c.d(),l=!1,r()}}}function TC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(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){E(d,e,g),w(e,t),w(t,l),c||(h=ee(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&&A(e),c=!1,h()}}}function LC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function AC(i){return{c:qe,m:qe,p:qe,d:qe}}function jh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:AC,then:NC,catch:IC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Se(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||Q_(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function Jh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Qh(Uh(i,t,l));return{c(){e=S("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){E(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=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qh(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&&A(e),gt(n,l)}}}function Yh(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=S("li"),t=S("a"),n=S("span"),r=Ne(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=le.getTestId(i[20]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(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=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&A(e),h=!1,Ye(d)}}}function Qh(i){let e,t=i[20].position==="bottom"&&Yh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Yh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function EC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Wh(i),c=i[3]&&i[3].length===0&&i[10]&&Gh(),h=i[3]&&i[3].length&&Kh(i),d=i[0]&&i[0].length&&Jh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("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){E(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=Wh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=Gh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Kh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Jh(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:qe,o:qe,d(g){g&&A(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const RC=()=>{};function DC(i,e,t){let n,l=qe,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=Qt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},L=O=>N(O,g),H=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},R=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,N,n,I,V,L,H,R]}class pp extends Ft{constructor(e){super(),Mt(this,e,DC,EC,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 Zh(i){let e,t,n,l=!i[9]&&Xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&$h(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[9]?l&&(we(),U(l,1,1,()=>{l=null}),ke()):l?(l.p(a,o),o[0]&512&&D(l,1)):(l=Xh(a),l.c(),D(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&D(r,1)):(r=$h(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(l),D(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(A(e),A(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?OC:VC}let p=g(i),b=p(i);return a=new pp({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=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Ue(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){E(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=ee(n,"click",Wt(KC)),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||(D(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&A(e),b.d(),Fe(a),h=!1,d()}}}function VC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?FC:MC}let c=o(i),h=c(i);return{c(){e=S("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){E(d,e,g),h.m(e,null),r||(a=ee(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&&A(e),h.d(),r=!1,a()}}}function OC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?WC:HC}let h=c(i),d=h(i);return{c(){e=S("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){E(g,e,p),d.m(e,null),a||(o=ee(e,"click",wt(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&&A(e),d.d(),a=!1,o()}}}function MC(i){let e,t;function n(a,o){return a[4]?UC:BC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),E(a,e,o),E(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&&(A(e),A(t)),r.d(a)}}}function FC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function UC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&A(e)}}}function BC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&A(t)}}}function HC(i){let e,t;function n(a,o){return a[4]?qC:zC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),E(a,e,o),E(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&&(A(e),A(t)),r.d(a)}}}function WC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(A(n),e.d())}}}function qC(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&A(e)}}}function zC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&A(t)}}}function $h(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N=!i[4]&&xh(i),I=i[4]&&eg(i);return d=new pp({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=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),N&&N.c(),o=W(),I&&I.c(),c=W(),h=S("div"),Ue(d.$$.fragment),g=W(),p=S("footer"),b=S("div"),m=S("div"),v=S("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,L){E(V,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),N&&N.m(a,null),w(a,o),I&&I.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=[ee(v,"click",i[13]),ee(e,"click",Wt(jC))],y=!0)},p(V,L){V[4]?N&&(N.d(1),N=null):N?N.p(V,L):(N=xh(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,L):(I=eg(V),I.c(),I.m(a,null)):I&&(I.d(1),I=null);const H={};L[0]&1&&(H.actions=V[0]),L[0]&32&&(H.config=V[5]),L[0]&64&&(H.customOptionsRenderer=V[6]),L[0]&2&&(H.options=V[1]),L[0]&16&&(H.selectedLabel=V[4]),L[0]&4&&(H.selectedOption=V[2]),L[0]&512&&(H.isMobile=V[9]),L[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(D(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&A(e),N&&N.d(),I&&I.d(),Fe(d),y=!1,Ye(P)}}}function xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&A(t)}}}function eg(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&A(e)}}}function GC(i){let e,t,n=i[3]&&Zh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&D(n,1)):(n=Zh(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}const KC=()=>{},jC=()=>{};function JC(i,e,t){let n,l;const r=Qt();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:N=!1}=e,{defaultLabel:I}=e,V,L=Ct("getUnsavedChangesModalPromise"),H=Ct("store"),R=Ct("getTranslation");Si(i,R,ae=>t(16,l=ae));let O=!1,{addNavHrefForAnchor:z}=e,Q;ln(async()=>{mn.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 be=ft.getCurrentPath();t(20,m=ae.fallbackLabelResolver),Sn.resetFallbackLabelCache(),ae.lazyloadOptions||await X(),Sn.isContextSwitcherDetailsView(be,ae.parentNodePath)&&await G(be)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ae=>G(ae)),Bn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),X())}),t(21,I=h.defaultLabel)}),jn(()=>{O!==N&&(O=N,X()),t(14,Q=o.contextSwitcherPopover||!1)});function Z(ae,be,je){return ae?Promise.resolve(ae):Sn.getFallbackLabel(be,je)}function fe(ae){return me.getNodeHref(ae,v)}async function X(){t(1,g=await Sn.fetchOptions(g));const ae=h||{},be=ae.parentNodePath,je=ae.fallbackLabelResolver,ye=ft.getCurrentPath();t(2,b=await Sn.getSelectedOption(ye,g,be)),t(4,c=await Sn.getSelectedLabel(ye,g,be,je)),await Sn.getSelectedNode(ye,g,be),V=ae.preserveSubPathOnSwitch}async function G(ae){const be=h||{},je=be.parentNodePath,ye=be.fallbackLabelResolver;t(2,b=await Sn.getSelectedOption(ae,g,je)),t(4,c=await Sn.getSelectedLabel(ae,g,je,ye)),await Sn.getSelectedNode(ae,g,je)}async function K(ae){let be=ae.detail.node;be.clickHandler&&!await be.clickHandler(be)||(setTimeout(()=>{re(be.link)}),P&&r("toggleDropdownState"))}function re(ae){L().then(()=>{ft.navigateTo(ae)},()=>{})}function ce(ae){let be=ae.detail.option,je=ae.detail.selectedOption;L().then(()=>{V&&je?ft.navigateTo(Sn.getNodePathFromCurrentPath(be,je)):ft.navigateTo(be.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&X()}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,N=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,I=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,z=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,z,K,ce,ne,Q,n,l,R,Z,fe,m,I,v,N,X,G,re,p,Pe,se]}class mp extends Ft{constructor(e){super(),Mt(this,e,JC,GC,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:YC}=ml;function tg(i,e,t){const n=i.slice();return n[22]=e[t],n}function ng(i){let e,t,n,l=!i[2]&&ig(i),r=i[2]&&i[3].productSwitcherPopover&&og(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=ig(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&D(r,1)):(r=og(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function ig(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,R){return R&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?ZC:QC}let N=P(i,-1),I=N(i),V=Ve(i[0]),L=[];for(let H=0;H<V.length;H+=1)L[H]=sg(tg(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),I.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<L.length;H+=1)L[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,R){E(H,e,R),w(e,t),w(t,n),w(n,l),w(l,r),I.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<L.length;O+=1)L[O]&&L[O].m(b,null);C||(y=[ee(r,"click",Wt(i[7])),ee(l,"click",Wt(l3))],C=!0)},p(H,R){if(N===(N=P(H,R))&&I?I.p(H,R):(I.d(1),I=N(H),I&&(I.c(),I.m(r,null))),R&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),R&2&&c!==(c=H[1].label)&&f(r,"title",c),R&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),R&64561){V=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const z=tg(H,V,O);L[O]?L[O].p(z,R):(L[O]=sg(z),L[O].c(),L[O].m(b,null))}for(;O<L.length;O+=1)L[O].d(1);L.length=V.length}R&512&&m!==(m=Un(H[9])+" svelte-1mzhx88")&&f(p,"class",m),R&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&A(e),I.d(),gt(L,H),C=!1,Ye(y)}}}function QC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function ZC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function lg(i){let e,t,n,l,r,a;function o(g,p){return g[4]?$C:XC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("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){E(g,e,p),h.m(e,null),w(e,t),r||(a=ee(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&&A(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?e3:xC}let g=d(i,-1),p=g(i),b=h&&rg(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(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){E(m,e,v),p.m(e,null),E(m,n,v),E(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=rg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(A(e),A(n),A(l)),p.d(),b&&b.d()}}}function $C(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,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?n3:t3}let v=m(i,-1),C=v(i),y=d&&ag(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(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,N){E(P,e,N),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=ee(e,"click",i[16]),p=!0)},p(P,N){v===(v=m(P,N))&&C?C.p(P,N):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=ag(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&A(e),C.d(),y&&y.d(),p=!1,b()}}}function xC(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function e3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&A(e)}}}function rg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function t3(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function n3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&A(e)}}}function ag(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&A(e)}}}function sg(i){let e,t=i[22].label&&lg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function og(i){let e,t;return e=new gp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function i3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&ng(i);return{c(){a&&a.c(),t=Se()},m(o,c){a&&a.m(o,c),E(o,t,c),n=!0,l||(r=ee(YC,"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&&D(a,1)):(a=ng(o),a.c(),D(a,1),a.m(t.parentNode,t)):a&&(we(),U(a,1,1,()=>{a=null}),ke())},i(o){n||(D(a),n=!0)},o(o){U(a),n=!1},d(o){o&&A(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const l3=()=>{};function r3(i,e,t){const n=Qt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Ct("store"),h=Ct("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;ln(async()=>{mn.doOnStoreChange(c,async()=>{t(1,a=le.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),cs()},["navigation.productSwitcher"])});function p(R){h().then(()=>{ft.navigateToLink(R)},()=>{}),m()}function b(R){p(R.detail)}function m(){n("toggleDropdownState")}function v(R){return le.renderIconClassName(R)}function C(R){return le.isOpenUIiconName(R.icon)}function y(R){return At.getTranslation(R.label)}function P(R){return At.getTranslation(R.subTitle)}function N(){le.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(R){return R.testId?R.testId:le.prepareForTests(R.label)}function V(R){return me.getNodeHref(R)}const L=R=>{le.handleNavAnchorClickedWithoutMetaKey(R)},H=R=>p(R);return i.$$set=R=>{"productSwitcherItems"in R&&t(0,l=R.productSwitcherItems),"isMobile"in R&&t(2,r=R.isMobile),"config"in R&&t(1,a=R.config),"dropDownStates"in R&&t(3,o=R.dropDownStates),"addNavHrefForAnchor"in R&&t(4,g=R.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,cs,d,v,C,y,P,I,V,L,H]}class bp extends Ft{constructor(e){super(),Mt(this,e,r3,i3,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 ug(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function a3(i){let e,t,n;return{c(){e=S("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-zbxrcf"),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){E(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:qe,d(l){l&&A(e),i[15](null),t=!1,n()}}}function s3(i){let e;return{c(){e=S("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-zbxrcf"),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){E(t,e,n),e.focus()},p:qe,d(t){t&&A(e)}}}function o3(i){let e;return{c(){e=S("div")},m(t,n){E(t,e,n),i[19](e)},p:qe,d(t){t&&A(e),i[19](null)}}}function u3(i){let e,t,n,l=i[4]&&fg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[5])},m(r,a){E(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=fg(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&&A(e),l&&l.d()}}}function fg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=cg(ug(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let 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=ug(l,t,a);n[a]?n[a].p(o,r):(n[a]=cg(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&&A(e),gt(n,l),i[18](null)}}}function f3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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&&(A(n),e.d())}}}function c3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",wt(h3)),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&&A(e),d=!1,g()}}}function cg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?f3:c3}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=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){E(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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&&A(e),o.d(),n=!1,Ye(l)}}}function d3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(R,O){return R[7]&&R[7].disableInputHandlers?s3:a3}let N=P(i),I=N(i);function V(R,O){return R[8].isCustomSearchRenderer?o3:u3}let L=V(i),H=L(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),I.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=S("div"),p=S("div"),b=S("button"),m=S("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-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),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(R,O){E(R,e,O),w(e,t),w(t,n),w(n,l),I.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),E(R,d,O),E(R,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Wt(g3)),ee(b,"click",i[6]),ee(p,"click",Wt(_3))],C=!0)},p(R,[O]){N===(N=P(R))&&I?I.p(R,O):(I.d(1),I=N(R),I&&(I.c(),I.m(l,r))),L===(L=V(R))&&H?H.p(R,O):(H.d(1),H=L(R),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!R[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(R[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!R[3])&&f(b,"aria-expanded",v)},i:qe,o:qe,d(R){R&&(A(e),A(d),A(g)),I.d(),H.d(),C=!1,Ye(y)}}}const h3=()=>{},g3=()=>{},_3=()=>{};function p3(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=Qt();let g={},p;ln(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),jn(()=>{t(7,g=h),p||t(8,p=new sp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(R){p.onKeyUp(R,r)}function v(R,O){p.handleKeydown(R,O,a,c)}function C(R){p.onActionClick(R)}function y(){p.toggleSearch(n,r,a,o)}const P=R=>m(R);function N(R){Je[R?"unshift":"push"](()=>{a=R,t(0,a)})}const I=(R,O)=>p.onSearchResultItemSelected(R,O),V=(R,O)=>v(R,O);function L(R){Je[R?"unshift":"push"](()=>{c=R,t(2,c)})}function H(R){Je[R?"unshift":"push"](()=>{o=R,t(1,o)})}return i.$$set=R=>{"isSearchFieldVisible"in R&&t(3,n=R.isSearchFieldVisible),"searchResult"in R&&t(4,l=R.searchResult),"displaySearchResult"in R&&t(5,r=R.displaySearchResult),"inputElem"in R&&t(0,a=R.inputElem),"customSearchItemRendererSlot"in R&&t(1,o=R.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in R&&t(2,c=R.customSearchItemRendererSlotContainer),"globalSearchConfig"in R&&t(12,h=R.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,N,I,V,L,H]}class m3 extends Ft{constructor(e){super(),Mt(this,e,p3,d3,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 dg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function b3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=S("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-qeg9jv"),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-qeg9jv"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){E(p,e,b),i[23](e),E(p,t,b),E(p,n,b),w(n,l),E(p,r,b),E(p,a,b),w(a,o),E(p,c,b),E(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:qe,d(p){p&&(A(e),A(t),A(n),A(r),A(a),A(c),A(h)),i[23](null),d=!1,Ye(g)}}}function v3(i){let e;return{c(){e=S("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){E(t,e,n)},p:qe,d(t){t&&A(e)}}}function w3(i){let e;return{c(){e=S("div")},m(t,n){E(t,e,n),i[28](e)},p:qe,d(t){t&&A(e),i[28](null)}}}function k3(i){let e,t,n,l=i[3]&&hg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[4])},m(r,a){E(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=hg(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&&A(e),l&&l.d()}}}function hg(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=gg(dg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let 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=dg(l,t,a);n[a]?n[a].p(o,r):(n[a]=gg(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&&A(e),gt(n,l),i[27](null)}}}function S3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Sr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),E(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&&(A(n),e.d())}}}function C3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",wt(P3)),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&&A(e),d=!1,g()}}}function gg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?S3:C3}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=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){E(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(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&&A(e),o.d(),n=!1,Ye(l)}}}function _g(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("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-qeg9jv")},m(c,h){E(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Wt(N3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),a=!1,Ye(o)}}}function pg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),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-qeg9jv")},m(h,d){E(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Wt(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-qeg9jv")&&f(e,"class",a)},d(h){h&&A(e),o=!1,c()}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,L){return V[8]&&V[8].disableInputHandlers?v3:b3}let m=b(i),v=m(i);function C(V,L){return V[9].isCustomSearchRenderer?w3:k3}let y=C(i),P=y(i),N=!i[5]&&_g(i),I=i[5]&&pg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),N&&N.c(),h=W(),I&&I.c(),d=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),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-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,L){E(V,e,L),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),E(V,c,L),N&&N.m(V,L),E(V,h,L),I&&I.m(V,L),E(V,d,L),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Wt(I3))],g=!0)},p(V,L){m===(m=b(V))&&v?v.p(V,L):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,L):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),L[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?N&&(N.d(1),N=null):N?N.p(V,L):(N=_g(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,L):(I=pg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:qe,o:qe,d(V){V&&(A(e),A(c),A(h),A(d)),v.d(),P.d(),N&&N.d(V),I&&I.d(V),g=!1,Ye(p)}}}const P3=()=>{},I3=()=>{},N3=()=>{};function T3(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=Qt();let g=gl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=Ct("getTranslation");Si(i,m,ce=>t(10,n=ce));let v;ln(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ce=document.querySelector(".lui-global-search");ce&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ce)}),jn(()=>{t(8,b=h),v||t(9,v=new sp(b,d)),v.getCustomRenderer(),I()});function C(ce,ne,Pe){v.renderCustomSearchItem(ce,ne,Pe)}function y(){v.closeSearchResult()}function P(ce){v.onKeyUp(ce,r)}function N(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function L(ce){v.onSearchResultItemSelected(ce)}function H(ce,ne){v.handleKeydown(ce,ne,a,c)}function R(ce){v.onActionClick(ce)}function O(){v.toggleSearch(p,r,a,o)}const z=ce=>P(ce);function Q(ce){Je[ce?"unshift":"push"](()=>{a=ce,t(0,a)})}const Z=()=>I(),fe=(ce,ne)=>L(ce),X=(ce,ne)=>H(ce,ne);function G(ce){Je[ce?"unshift":"push"](()=>{c=ce,t(2,c)})}function K(ce){Je[ce?"unshift":"push"](()=>{o=ce,t(1,o)})}const re=()=>O();return i.$$set=ce=>{"searchResult"in ce&&t(3,l=ce.searchResult),"displaySearchResult"in ce&&t(4,r=ce.displaySearchResult),"inputElem"in ce&&t(0,a=ce.inputElem),"customSearchItemRendererSlot"in ce&&t(1,o=ce.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ce&&t(2,c=ce.customSearchItemRendererSlotContainer),"globalSearchConfig"in ce&&t(20,h=ce.globalSearchConfig),"isSearchFieldVisible"in ce&&t(5,p=ce.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,L,H,h,R,z,Q,Z,fe,X,G,K,re]}class L3 extends Ft{constructor(e){super(),Mt(this,e,T3,y3,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 mg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?E3:A3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function A3(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function E3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function bg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ti({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Ue(r.$$.fragment)},m(o,c){E(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||(D(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&A(e),Fe(r)}}}function R3(i){let e,t,n,l=i[0].icon&&mg(i),r=(!i[0].icon||i[0].showLabel)&&bg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=mg(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&&D(r,1)):(r=bg(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function D3(i,e,t){let{node:n}=e;function l(o){return le.isOpenUIiconName(o.icon)}function r(o){return le.renderIconClassName(o)}function a(o){return le.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Ft{constructor(e){super(),Mt(this,e,D3,R3,Dt,{node:0})}}const{Boolean:vp,window:vg}=ml;function wg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function kg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function V3(i){let e,t;return e=new hp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O3(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")&&Sg(i);function v(L){i[57](L)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new $S({props:C}),Je.push(()=>St(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Cg(i),P=(!i[0]||i[1])&&yg(i),N=(i[18]||i[7]&&i[30].length>0)&&Ig(i),I=(i[0]||i[16])&&qg(i),V=i[12]&&zg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Ue(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),N&&N.c(),d=W(),I&&I.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-p1ljc7"),f(e,"tabindex","0")},m(L,H){E(L,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),N&&N.m(c,null),w(c,d),I&&I.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(L,H){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?m?m.p(L,H):(m=Sg(L),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const R={};H[0]&1073741824&&(R.pathData=L[30]),H[1]&1&&(R.pathParams=L[31]),H[0]&134217728&&(R.addNavHrefForAnchor=L[27]),!r&&H[0]&64&&(r=!0,R.dropDownStates=L[6],kt(()=>r=!1)),l.$set(R),L[18]&&L[19]&&!L[29]?y?(y.p(L,H),H[0]&537657344&&D(y,1)):(y=Cg(L),y.c(),D(y,1),y.m(e,o)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),!L[0]||L[1]?P?(P.p(L,H),H[0]&3&&D(P,1)):(P=yg(L),P.c(),D(P,1),P.m(c,h)):P&&(we(),U(P,1,1,()=>{P=null}),ke()),L[18]||L[7]&&L[30].length>0?N?(N.p(L,H),H[0]&1074004096&&D(N,1)):(N=Ig(L),N.c(),D(N,1),N.m(c,d)):N&&(we(),U(N,1,1,()=>{N=null}),ke()),L[0]||L[16]?I?(I.p(L,H),H[0]&65537&&D(I,1)):(I=qg(L),I.c(),D(I,1),I.m(c,g)):I&&(we(),U(I,1,1,()=>{I=null}),ke()),L[12]?V?(V.p(L,H),H[0]&4096&&D(V,1)):(V=zg(L),V.c(),D(V,1),V.m(c,null)):V&&(we(),U(V,1,1,()=>{V=null}),ke()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(L[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(L){b||(D(l.$$.fragment,L),D(y),D(P),D(N),D(I),D(V),b=!0)},o(L){U(l.$$.fragment,L),U(y),U(P),U(N),U(I),U(V),b=!1},d(L){L&&A(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function Sg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){E(r,e,a),w(e,t),n||(l=ee(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&A(e),n=!1,l()}}}function Cg(i){let e,t,n,l,r,a,o,c;function h(v){i[58](v)}function d(v){i[59](v)}function g(v){i[60](v)}function p(v){i[61](v)}function b(v){i[62](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 L3({props:m}),Je.push(()=>St(t,"isSearchFieldVisible",h)),Je.push(()=>St(t,"searchResult",d)),Je.push(()=>St(t,"displaySearchResult",g)),Je.push(()=>St(t,"inputElem",p)),Je.push(()=>St(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){E(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],kt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],kt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],kt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],kt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],kt(()=>o=!1)),t.$set(y)},i(v){c||(D(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&A(e),Fe(t)}}}function yg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Pg(i);function a(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new mp({props:o}),Je.push(()=>St(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Ue(t.$$.fragment)},m(c,h){r&&r.m(c,h),E(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&&D(r,1)):(r=Pg(c),r.c(),D(r,1),r.m(e.parentNode,e)):r&&(we(),U(r,1,1,()=>{r=null}),ke());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],kt(()=>n=!1)),t.$set(d)},i(c){l||(D(r),D(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){c&&A(e),r&&r.d(c),Fe(t,c)}}}function Pg(i){let e,t,n,l,r,a,o;function c(m){i[66](m)}function h(m){i[67](m)}function d(m){i[68](m)}function g(m){i[69](m)}function p(m){i[70](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 m3({props:b}),Je.push(()=>St(e,"isSearchFieldVisible",c)),Je.push(()=>St(e,"searchResult",h)),Je.push(()=>St(e,"displaySearchResult",d)),Je.push(()=>St(e,"inputElem",g)),Je.push(()=>St(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){Ue(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],kt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],kt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],kt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],kt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],kt(()=>a=!1)),e.$set(C)},i(m){o||(D(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Ig(i){let e,t,n,l=i[7]&&i[30].length>0&&Ng(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=Se()},m(a,o){l&&l.m(a,o),E(a,e,o),r&&r.m(a,o),E(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&D(l,1)):(l=Ng(a),l.c(),D(l,1),l.m(e.parentNode,e)):l&&(we(),U(l,1,1,()=>{l=null}),ke()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&D(r,1)):(r=Eg(a),r.c(),D(r,1),r.m(t.parentNode,t)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){n||(D(l),D(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(A(e),A(t)),l&&l.d(a),r&&r.d(a)}}}function Ng(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ag(kg(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=kg(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Ag(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(l[o]);t=!0}},o(a){l=l.filter(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&A(e),gt(l,a)}}}function Tg(i){let e,t,n,l;const r=[F3,M3],a=[];function o(c,h){return c[107].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Se()},m(c,h){a[e].m(c,h),E(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),U(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),D(t,1),t.m(n.parentNode,n))},i(c){l||(D(t),l=!0)},o(c){U(t),l=!1},d(c){c&&A(n),a[e].d(c)}}}function M3(i){let e,t,n,l,r;const a=[B3,U3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){E(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):(we(),U(o[g],1,1,()=>{o[g]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),D(n,1),n.m(e,l))},i(h){r||(D(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(e),o[t].d()}}}function F3(i){let e=i[107].visibleChildren.filter(Gg).length>0,t,n,l=e&&Lg(i);return{c(){l&&l.c(),t=Se()},m(r,a){l&&l.m(r,a),E(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(Gg).length>0),e?l?(l.p(r,a),a[0]&128&&D(l,1)):(l=Lg(r),l.c(),D(l,1),l.m(t.parentNode,t)):l&&(we(),U(l,1,1,()=>{l=null}),ke())},i(r){n||(D(l),n=!0)},o(r){U(l),n=!1},d(r){r&&A(t),l&&l.d(r)}}}function U3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[80](v,i[107],i[110],i[109])}let b={};i[107]!==void 0&&(b.node=i[107]),t=new jo({props:b}),Je.push(()=>St(t,"node",p)),r=new Ln({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"title",a=i[51](i[107],i[49](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=le.getTestId(i[107]))},m(v,C){E(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[107],kt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[107]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[107],i[49](i[107]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=le.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(D(t.$$.fragment,v),D(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&A(e),Fe(t),Fe(r),d=!1,g()}}}function B3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[78](C,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new jo({props:m}),Je.push(()=>St(t,"node",b)),r=new Ln({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=W(),Ue(r.$$.fragment),f(e,"href",a=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[51](i[107],i[49](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=le.getTestId(i[107]))},m(C,y){E(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[107],kt(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[107]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[107])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[107],i[49](i[107]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=le.getTestId(i[107])))&&f(e,"data-testid",h)},i(C){d||(D(t.$$.fragment,C),D(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&A(e),Fe(t),Fe(r),g=!1,p()}}}function Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(R){i[76](R,i[107],i[110],i[109])}let L={};i[107]!==void 0&&(L.node=i[107]),r=new jo({props:L}),Je.push(()=>St(r,"node",V)),c=new Ln({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new _p({props:{node:i[107],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=W(),Ue(c.$$.fragment),b=W(),m=S("div"),Ue(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[107],i[49](i[107]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=le.getTestId(i[107])),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[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(R,O){E(R,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,N||(I=[ee(l,"click",H),ee(n,"click",Wt(ey))],N=!0)},p(R,O){i=R;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],kt(()=>a=!1)),r.$set(z);const Q={};O[0]&128&&(Q.node=i[107]),c.$set(Q),(!P||O[0]&128&&h!==(h=i[51](i[107],i[49](i[107]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=le.getTestId(i[107])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[107]),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[109]}`]))&&f(m,"aria-hidden",C)},i(R){P||(D(r.$$.fragment,R),D(c.$$.fragment,R),D(v.$$.fragment,R),P=!0)},o(R){U(r.$$.fragment,R),U(c.$$.fragment,R),U(v.$$.fragment,R),P=!1},d(R){R&&A(e),Fe(r),Fe(c),Fe(v),N=!1,Ye(I)}}}function Ag(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Tg(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&D(n,1)):(n=Tg(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L,H,R;h=new Ln({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Rg(i),z=i[46]&&(!i[0]||i[1])&&Dg(i),Q=i[7]&&Vg(i),Z=i[12]&&Ug(i),fe=i[12]&&Bg(i),X=i[14]&&Hg(i),G=(!i[0]||i[1])&&Wg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=W(),Ue(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Q&&Q.c(),y=W(),Z&&Z.c(),N=W(),fe&&fe.c(),I=W(),X&&X.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),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-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,re){E(K,e,re),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),z&&z.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,N),fe&&fe.m(n,null),w(n,I),X&&X.m(n,null),w(n,V),G&&G.m(n,null),L=!0,H||(R=[ee(a,"click",i[82]),ee(l,"click",Wt(ty))],H=!0)},p(K,re){const ce={};re[0]&2048&&(ce.node=K[11]),h.$set(ce),(!L||re[0]&64&&d!==(d=K[6].overflowPopover||!1))&&f(a,"aria-expanded",d),K[18]&&!K[19]&&!K[29]?O?O.p(K,re):(O=Rg(K),O.c(),O.m(m,v)):O&&(O.d(1),O=null),K[46]&&(!K[0]||K[1])?z?z.p(K,re):(z=Dg(K),z.c(),z.m(m,C)):z&&(z.d(1),z=null),K[7]?Q?(Q.p(K,re),re[0]&128&&D(Q,1)):(Q=Vg(K),Q.c(),D(Q,1),Q.m(m,y)):Q&&(we(),U(Q,1,1,()=>{Q=null}),ke()),K[12]?Z?Z.p(K,re):(Z=Ug(K),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!L||re[0]&64&&P!==(P=!K[6].overflowPopover))&&f(p,"aria-hidden",P),K[12]?fe?(fe.p(K,re),re[0]&4096&&D(fe,1)):(fe=Bg(K),fe.c(),D(fe,1),fe.m(n,I)):fe&&(we(),U(fe,1,1,()=>{fe=null}),ke()),K[14]?X?(X.p(K,re),re[0]&16384&&D(X,1)):(X=Hg(K),X.c(),D(X,1),X.m(n,V)):X&&(we(),U(X,1,1,()=>{X=null}),ke()),!K[0]||K[1]?G?(G.p(K,re),re[0]&3&&D(G,1)):(G=Wg(K),G.c(),D(G,1),G.m(n,null)):G&&(we(),U(G,1,1,()=>{G=null}),ke())},i(K){L||(D(h.$$.fragment,K),D(Q),D(fe),D(X),D(G),L=!0)},o(K){U(h.$$.fragment,K),U(Q),U(fe),U(X),U(G),L=!1},d(K){K&&A(e),Fe(h),O&&O.d(),z&&z.d(),Q&&Q.d(),Z&&Z.d(),fe&&fe.d(),X&&X.d(),G&&G.d(),H=!1,Ye(R)}}}function Rg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></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){E(r,e,a),w(e,t),n||(l=ee(t,"click",Wt(i[83])),n=!0)},p:qe,d(r){r&&A(e),n=!1,l()}}}function Dg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(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-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){E(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Wt(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-p1ljc7")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&A(e),h=!1,d()}}}function Vg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fg(wg(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=wg(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=Fg(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(l[o]);t=!0}},o(a){l=l.filter(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&A(e),gt(l,a)}}}function Og(i){let e,t,n,l,r;const a=[W3,H3],o=[];function c(h,d){return d[0]&128&&(e=null),h[107].isCat?(e==null&&(e=h[107].visibleChildren.filter(x3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Se()},m(h,d){~t&&o[t].m(h,d),E(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(we(),U(o[g],1,1,()=>{o[g]=null}),ke()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),D(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(D(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(l),~t&&o[t].d(h)}}}function H3(i){let e,t,n,l,r,a,o,c,h=i[49](i[107])+"",d,g,p,b,m,v,C;function y(V,L){return L[0]&128&&(l=null),l==null&&(l=!!V[48](V[107])),l?z3:q3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new Ln({props:{node:i[107]}});function I(){return i[85](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[107])),f(t,"title",p=i[51](i[107],i[49](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,L){E(V,e,L),w(e,t),w(t,n),N.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=ee(t,"click",wt(I)),v=!0)},p(V,L){i=V,P===(P=y(i,L))&&N?N.p(i,L):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};L[0]&128&&(H.node=i[107]),a.$set(H),(!m||L[0]&128)&&h!==(h=i[49](i[107])+"")&&Ae(d,h),(!m||L[0]&128&&g!==(g=i[50](i[107])))&&f(t,"href",g),(!m||L[0]&128&&p!==(p=i[51](i[107],i[49](i[107]))))&&f(t,"title",p)},i(V){m||(D(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&A(e),N.d(),Fe(a),v=!1,C()}}}function W3(i){let e,t,n,l=!i[48](i[107]),r,a,o,c,h,d=i[49](i[107])+"",g,p,b,m,v,C,y,P,N=l&&Mg(i);a=new Ln({props:{node:i[107]}});function I(){return i[84](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),N&&N.c(),r=W(),Ue(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=le.getTestId(i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(V,L){E(V,e,L),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",wt(I)),y=!0)},p(V,L){i=V,L[0]&128&&(l=!i[48](i[107])),l?N?N.p(i,L):(N=Mg(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const H={};L[0]&128&&(H.node=i[107]),a.$set(H),(!C||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||L[0]&128)&&d!==(d=i[49](i[107])+"")&&Ae(g,d),(!C||L[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!C||L[0]&384&&b!==(b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||L[0]&128&&m!==(m=le.getTestId(i[107])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(D(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&A(e),N&&N.d(),Fe(a),y=!1,P()}}}function q3(i){let e,t,n;return{c(){e=S("img"),tt(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function z3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[48](n[107])?n[47](n[107].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&A(e)}}}function Mg(i){let e,t,n;return{c(){e=S("img"),tt(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Fg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Og(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&D(n,1)):(n=Og(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function Ug(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?K3:G3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(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){E(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Wt(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&&A(e),p.d(),c=!1,h()}}}function G3(i){let e,t,n,l;return{c(){e=S("span"),t=S("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-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){E(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&&A(e)}}}function K3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&A(e)}}}function Bg(i){let e,t,n;function l(a){i[86](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Je.push(()=>St(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[87]),{c(){Ue(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],kt(()=>t=!1)),e.$set(c)},i(a){n||(D(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Hg(i){let e,t;return e=new _p({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Wg(i){let e,t,n,l,r;function a(d){i[88](d)}function o(d){i[89](d)}function c(d){i[90](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 mp({props:h}),Je.push(()=>St(e,"dropDownStates",a)),Je.push(()=>St(e,"selectedLabel",o)),Je.push(()=>St(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[91]),{c(){Ue(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],kt(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],kt(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],kt(()=>l=!1)),e.$set(p)},i(d){r||(D(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function qg(i){let e,t,n,l,r;const a=[J3,j3],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=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){E(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):(we(),U(o[g],1,1,()=>{o[g]=null}),ke(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),D(l,1),l.m(e,null))},i(h){r||(D(l),r=!0)},o(h){U(l),r=!1},d(h){h&&A(e),o[n].d()}}}function j3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(N,I){return N[17].picture?Q3:Y3}let y=C(i),P=y(i);return g=new hp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[96]),g.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Ue(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),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-p1ljc7")},m(N,I){E(N,e,I),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=[ee(r,"click",i[95]),ee(n,"click",Wt(iy))],m=!0)},p(N,I){y===(y=C(N))&&P?P.p(N,I):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!b||I[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||I[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!b||I[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};I[0]&134217728&&(V.addNavHrefForAnchor=N[27]),g.$set(V),(!b||I[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){b||(D(g.$$.fragment,N),b=!0)},o(N){U(g.$$.fragment,N),b=!1},d(N){N&&A(e),P.d(),Fe(g),m=!1,Ye(v)}}}function J3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?X3:Z3}let g=d(i),p=g(i);return r=new sC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){E(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=ee(t,"click",Wt(ny)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(D(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&A(e),p.d(),Fe(r),c=!1,h()}}}function Y3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){E(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&A(e)}}}function Q3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Fn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&Fn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function Z3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){E(o,e,c),w(e,n),r||(a=ee(e,"click",i[93]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,a()}}}function X3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Fn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){E(r,e,a),n||(l=ee(e,"click",i[92]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Fn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function zg(i){let e,t,n;function l(a){i[97](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Je.push(()=>St(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[98]),{c(){Ue(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],kt(()=>t=!1)),e.$set(c)},i(a){n||(D(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function $3(i){let e,t,n,l,r,a;const o=[O3,V3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(d,g){c[e].m(d,g),E(d,n,g),l=!0,r||(a=[ee(vg,"click",i[41]),ee(vg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(we(),U(c[p],1,1,()=>{c[p]=null}),ke(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),D(t,1),t.m(n.parentNode,n))},i(d){l||(D(t),l=!0)},o(d){U(t),l=!1},d(d){d&&A(n),c[e].d(d),r=!1,Ye(a)}}}const x3=i=>!i.hideFromNav&&i.label,Gg=i=>!i.hideFromNav&&i.label,ey=()=>{},ty=()=>{},ny=()=>{},iy=()=>{};function ly(i,e,t){const n=Qt();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:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:L}=e,{openMobileDropDown:H}=e,{nodeForMobile:R}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Q}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:fe}=e,{inputElem:X}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:K}=e,{searchResult:re}=e,{burgerTooltip:ce}=e,{responsiveShellbarPadding:ne}=e,Pe=Ct("store"),se=!1,ae,be,je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const Y=await le.generateTopNavNodes(p);t(7,C=Y.children),t(8,y=Y.selectedNode),t(9,P=Y.visibleNodeCount),t(11,I=Y.totalBadgeNode),t(10,N=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,b=p}},ze=()=>{t(1,a=dl.isLoggedIn())};ln(()=>{mn.doOnStoreChange(Pe,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,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,L=le.getProductSwitcherConfig()),t(18,Q=te.getConfigValue("globalSearch")),t(19,Z=Q&&Q.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"]),mn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),Bn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),jn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Qe}=e;function De(Y){return le.renderIconClassName(Y)}function et(Y){return le.isOpenUIiconName(Y.icon)}const nt=Y=>le.getNodeLabel(Y);function de(Y){return me.getNodeHref(Y,m)}function it(Y,Ot){return le.generateTooltipText(Y,Ot)}function yt(){rt("productSwitcherPopover")}function rn(){t(43,se=!se),rt("contextSwitcherPopover")}function An(Y){t(14,H=!0),t(15,R=Y)}function sn(){t(14,H=!1)}function qt(Y){n("handleClick",{node:Y})}function Te(Y){n("handleSearchNavigation",{node:Y})}function ut(Y){qt(Y.detail.node)}function rt(Y){const Ot=v||{},vn=!Ot[Y];Et(),sn(),Ot[Y]=vn,t(6,v=Ot)}function Zt(Y){rt(Y.detail.name)}function Xt(){X&&X.focus()}function En(){fe||setTimeout(()=>{Xt()}),n("toggleSearch",{isSearchFieldVisible:fe,inputElem:X,customSearchItemRendererSlot:G})}function Et(){const Y=v||{},Ot=Object.keys(Y);Ot&&Ot.length>0&&Ot.forEach(vn=>{Y[vn]=!1,t(6,v=Y)})}function _n(){h==="simple"||h==="simpleMobileOnly"?Kt():Cn(),ni()}function ni(){if(!le.getBurgerTooltipConfig())return;const[Y,Ot]=le.getBurgerTooltipConfig();Y&&Ot&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ce=document.body.classList.contains("lui-leftNavToggle")?Y:Ot),document.body.classList.contains("lui-semiCollapsible")&&t(25,ce=document.body.classList.contains("semiCollapsed")?Y:Ot))}function Kt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Cn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci(Y){const Ot=Y.detail;t(17,z=Ot||{})}function yi(Y){v=Y,t(6,v)}function bn(Y){fe=Y,t(20,fe)}function Pi(Y){re=Y,t(24,re)}function Ii(Y){K=Y,t(23,K)}function Ni(Y){X=Y,t(21,X)}function Ti(Y){G=Y,t(22,G)}function Li(Y){Hl.call(this,i,Y)}function vl(Y){Hl.call(this,i,Y)}function wl(Y){Hl.call(this,i,Y)}function kl(Y){fe=Y,t(20,fe)}function Ai(Y){re=Y,t(24,re)}function Ji(Y){K=Y,t(23,K)}function Yi(Y){X=Y,t(21,X)}function di(Y){G=Y,t(22,G)}function Sl(Y){Hl.call(this,i,Y)}function Cl(Y){Hl.call(this,i,Y)}function Qi(Y){Hl.call(this,i,Y)}function yl(Y){v=Y,t(6,v)}const Pl=()=>rt("contextSwitcherPopover");function Il(Y,Ot,vn,ri){vn[ri]=Y,t(7,C)}const Ei=Y=>rt(`dropDownPopover-${Y}`);function Nl(Y,Ot,vn,ri){vn[ri]=Y,t(7,C)}const ii=(Y,Ot)=>{le.handleNavAnchorClickedWithoutMetaKey(Ot)&&qt(Y)};function Ri(Y,Ot,vn,ri){vn[ri]=Y,t(7,C)}const hi=Y=>qt(Y),Di=()=>rt("overflowPopover"),gi=()=>{En(),rt("overflowPopover")},j=Y=>qt(Y),ve=Y=>An(Y);function xe(Y){v=Y,t(6,v)}const at=()=>rt("productSwitcherPopover");function st(Y){v=Y,t(6,v)}function _t(Y){ae=Y,t(44,ae)}function Vt(Y){be=Y,t(45,be)}const jt=()=>rt("contextSwitcherPopover"),Jn=()=>rt("profilePopover"),li=()=>rt("profilePopover"),Tl=()=>rt("profilePopover"),_i=()=>rt("profilePopover"),Ll=()=>rt("profilePopover");function Vi(Y){v=Y,t(6,v)}const Gl=()=>rt("productSwitcherPopover"),Cr=()=>rt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(53,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideSearchComponent"in Y&&t(29,o=Y.hideSearchComponent),"hideNavComponent"in Y&&t(2,c=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,h=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,d=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,g=Y.showGlobalNav),"pathData"in Y&&t(30,p=Y.pathData),"pathParams"in Y&&t(31,m=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,C=Y.children),"selectedNode"in Y&&t(8,y=Y.selectedNode),"visibleNodeCount"in Y&&t(9,P=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,N=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,I=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,V=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,L=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,H=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,R=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,z=Y.userInfo),"globalSearchConfig"in Y&&t(18,Q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,Z=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,fe=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,X=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,G=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,K=Y.displaySearchResult),"searchResult"in Y&&t(24,re=Y.searchResult),"burgerTooltip"in Y&&t(25,ce=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ne=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,ye=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Qe=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,Qe=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,L,H,R,O,z,Q,Z,fe,X,G,K,re,ce,ne,ye,Qe,o,p,m,yt,rn,An,sn,qt,ut,rt,Zt,En,Et,Ci,se,ae,be,je,De,et,nt,de,it,_n,r,Te,Kt,Cn,yi,bn,Pi,Ii,Ni,Ti,Li,vl,wl,kl,Ai,Ji,Yi,di,Sl,Cl,Qi,yl,Pl,Il,Ei,Nl,ii,Ri,hi,Di,gi,j,ve,xe,at,st,_t,Vt,jt,Jn,li,Tl,_i,Ll,Vi,Gl,Cr]}class wp extends Ft{constructor(e){super(),Mt(this,e,ly,$3,Dt,{authorizationEnabled:0,autologinEnabled:53,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:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,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[54]}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[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function Kg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&A(e)}}}function ry(i){let e,t=i[0]&&Kg();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=Kg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){n&&A(e),t&&t.d(n)}}}function ay(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ft.getCurrentPath(),n),a=await Ht.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 ln(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ql.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 sy extends Ft{constructor(e){super(),Mt(this,e,ay,ry,Dt,{node:0})}}const{window:Oo}=ml;function jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Qg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Zg(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 oy(i){const e=i.slice(),t=kp(e[54]);return e[67]=t,e}function $g(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 uy(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function xg(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&&e_(i),P=Ve(Object.entries(i[0])),N=[];for(let R=0;R<P.length;R+=1)N[R]=u_(Qg(i,P,R));const I=R=>U(N[R],1,1,()=>{N[R]=null});let V=Ve(Object.entries(i[0])),L=[];for(let R=0;R<V.length;R+=1)L[R]=h_(jg(i,V,R));const H=R=>U(L[R],1,1,()=>{L[R]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let R=0;R<N.length;R+=1)N[R].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("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=S("div"),p=S("ul");for(let R=0;R<L.length;R+=1)L[R].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(R,O){E(R,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<N.length;z+=1)N[z]&&N[z].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 z=0;z<L.length;z+=1)L[z]&&L[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",wt(i[10])),ee(a,"click",Cy),ee(n,"toggleDropdownState",i[38])],v=!0)},p(R,O){if(R[11].parent&&R[11].parent.tabNav&&R[11].parent.tabNav.showAsTabHeader?y?(y.p(R,O),O[0]&2048&&D(y,1)):(y=e_(R),y.c(),D(y,1),y.m(e,t)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),O[0]&3866829){P=Ve(Object.entries(R[0]));let z;for(z=0;z<P.length;z+=1){const Q=Qg(R,P,z);N[z]?(N[z].p(Q,O),D(N[z],1)):(N[z]=u_(Q),N[z].c(),D(N[z],1),N[z].m(l,r))}for(we(),z=P.length;z<N.length;z+=1)I(z);ke()}if(O[0]&1704173){V=Ve(Object.entries(R[0]));let z;for(z=0;z<V.length;z+=1){const Q=jg(R,V,z);L[z]?(L[z].p(Q,O),D(L[z],1)):(L[z]=h_(Q),L[z].c(),D(L[z],1),L[z].m(p,null))}for(we(),z=V.length;z<L.length;z+=1)H(z);ke()}(!m||O[0]&16&&b!==(b=!R[4]))&&f(g,"aria-hidden",b)},i(R){if(!m){D(y);for(let O=0;O<P.length;O+=1)D(N[O]);for(let O=0;O<V.length;O+=1)D(L[O]);m=!0}},o(R){U(y),N=N.filter(Boolean);for(let O=0;O<N.length;O+=1)U(N[O]);L=L.filter(Boolean);for(let O=0;O<L.length;O+=1)U(L[O]);m=!1},d(R){R&&A(e),y&&y.d(),gt(N,R),i[31](null),gt(L,R),i[36](null),i[37](null),i[39](null),v=!1,Ye(C)}}}function e_(i){let e,t;return e=new sy({props:{node:i[11].parent}}),{c(){Ue(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||(D(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;const a=[hy,dy],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!by(d[54])),e?0:1}function h(d,g){return g===0?oy(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=Se()},m(d,g){o[t].m(d,g),E(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(we(),U(o[p],1,1,()=>{o[p]=null}),ke(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),D(n,1),n.m(l.parentNode,l))},i(d){r||(D(n),r=!0)},o(d){U(n),r=!1},d(d){d&&A(l),o[t].d(d)}}}function cy(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=o_($g(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=$g(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=o_(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function dy(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V;function L(){return i[29](i[53])}let H=Ve(i[54]),R=[];for(let z=0;z<H.length;z+=1)R[z]=i_(Zg(i,H,z));const O=z=>U(R[z],1,1,()=>{R[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let z=0;z<R.length;z+=1)R[z].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=hl(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=hl(i[53],i[2]))},m(z,Q){E(z,e,Q),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<R.length;Z+=1)R[Z]&&R[Z].m(m,null);w(e,y),N=!0,I||(V=[ee(l,"click",wt(L)),ee(e,"click",Sy)],I=!0)},p(z,Q){if(i=z,(!N||Q[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!N||Q[0]&5&&g!==(g=hl(i[53],i[2])))&&f(l,"aria-selected",g),Q[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=Zg(i,H,Z);R[Z]?(R[Z].p(fe,Q),D(R[Z],1)):(R[Z]=i_(fe),R[Z].c(),D(R[Z],1),R[Z].m(m,null))}for(we(),Z=H.length;Z<R.length;Z+=1)O(Z);ke()}(!N||Q[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),(!N||Q[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Q[0]&5&&P!==(P=hl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Q=0;Q<H.length;Q+=1)D(R[Q]);N=!0}},o(z){R=R.filter(Boolean);for(let Q=0;Q<R.length;Q+=1)U(R[Q]);N=!1},d(z){z&&A(e),gt(R,z),I=!1,Ye(V)}}}function hy(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,L;function H(){return i[26](i[67])}function R(){return i[27](i[53])}let O=Ve(i[54]),z=[];for(let Q=0;Q<O.length;Q+=1)z[Q]=r_(Xg(i,O,Q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Q=0;Q<z.length;Q+=1)z[Q].c();I=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=hl(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",N=!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(Q,Z){E(Q,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 fe=0;fe<z.length;fe+=1)z[fe]&&z[fe].m(y,null);w(e,I),V||(L=[ee(t,"click",wt(H)),ee(p,"click",wt(R)),ee(e,"click",ky)],V=!0)},p(Q,Z){if(i=Q,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Z[0]&5&&a!==(a=hl(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 fe;for(fe=0;fe<O.length;fe+=1){const X=Xg(i,O,fe);z[fe]?z[fe].p(X,Z):(z[fe]=r_(X),z[fe].c(),z[fe].m(y,null))}for(;fe<z.length;fe+=1)z[fe].d(1);z.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&&N!==(N=!i[3][i[53]])&&f(C,"aria-hidden",N)},i:qe,o:qe,d(Q){Q&&A(e),gt(z,Q),V=!1,Ye(L)}}}function t_(i){let e,t,n=i[57].label&&n_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&D(n,1)):(n=n_(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(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=le.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||(D(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(o),b=!1,m()}}}function i_(i){let e,t,n=!i[57].hideFromNav&&t_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&D(n,1)):(n=t_(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function l_(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=S("li"),t=S("a"),n=S("span"),r=Ne(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){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",wt(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&&A(e),h=!1,d()}}}function r_(i){let e,t=!i[57].hideFromNav&&i[57].label&&l_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=l_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function a_(i){let e,t,n=i[57].label&&s_(Mo(i));return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&D(n,1)):(n=s_(Mo(l)),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function s_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ti({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const N={};P[0]&1&&(N.node=i[57]),o.$set(N),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=le.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||(D(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&A(e),Fe(o),m=!1,v()}}}function o_(i){let e,t,n=!i[57].hideFromNav&&a_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(we(),U(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&D(n,1)):(n=a_(l),n.c(),D(n,1),n.m(e.parentNode,e))},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function u_(i){let e,t,n,l,r,a;const o=[cy,fy],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=!!my(g[54])),t?1:-1)}function d(g,p){return p===1?uy(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Se()},m(g,p){~n&&c[n].m(g,p),E(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&&(we(),U(c[b],1,1,()=>{c[b]=null}),ke()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),D(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(D(l),a=!0)},o(g){U(l),a=!1},d(g){g&&A(r),~n&&c[n].d(g)}}}function gy(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(){return i[33](i[53],i[56])}function L(){return i[34](i[53],i[56])}let H=Ve(i[54]),R=[];for(let z=0;z<H.length;z+=1)R[z]=c_(Jg(i,H,z));const O=z=>U(R[z],1,1,()=>{R[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<R.length;z+=1)R[z].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=hl(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(z,Q){E(z,e,Q),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<R.length;Z+=1)R[Z]&&R[Z].m(v,null);w(e,y),P=!0,N||(I=[ee(n,"click",wt(V)),ee(d,"click",wt(L))],N=!0)},p(z,Q){if(i=z,(!P||Q[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=hl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Q[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||Q[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Q[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=Jg(i,H,Z);R[Z]?(R[Z].p(fe,Q),D(R[Z],1)):(R[Z]=c_(fe),R[Z].c(),D(R[Z],1),R[Z].m(v,null))}for(we(),Z=H.length;Z<R.length;Z+=1)O(Z);ke()}(!P||Q[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Q=0;Q<H.length;Q+=1)D(R[Q]);P=!0}},o(z){R=R.filter(Boolean);for(let Q=0;Q<R.length;Q+=1)U(R[Q]);P=!1},d(z){z&&A(e),gt(R,z),N=!1,Ye(I)}}}function _y(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=d_(Yg(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=Se()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);E(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=Yg(a,n,c);l[c]?(l[c].p(h,o),D(l[c],1)):(l[c]=d_(h),l[c].c(),D(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)D(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&&A(e),gt(l,a)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(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=le.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||(D(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(o),b=!1,m()}}}function c_(i){let e,t,n=i[57].label&&f_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&D(n,1)):(n=f_(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(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=le.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){E(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=ee(t,"click",wt(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=le.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||(D(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&A(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n,l,r;const a=[_y,gy],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=Se()},m(h,d){o[t].m(h,d),E(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(we(),U(o[g],1,1,()=>{o[g]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),D(n,1),n.m(l.parentNode,l))},i(h){r||(D(n),r=!0)},o(h){U(n),r=!1},d(h){h&&A(l),o[t].d(h)}}}function py(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&xg(i);return{c(){r&&r.c(),e=Se()},m(a,o){r&&r.m(a,o),E(a,e,o),t=!0,n||(l=[ee(Oo,"click",i[8]),ee(Oo,"blur",i[8]),ee(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&&D(r,1)):(r=xg(a),r.c(),D(r,1),r.m(e.parentNode,e)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){t||(D(r),t=!0)},o(a){U(r),t=!1},d(a){a&&A(e),r&&r.d(a),n=!1,Ye(l)}}}function hl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function my(i){return i.some(e=>!e.hideFromNav&&e.label)}function kp(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 by(i){return!!kp(i)}function vy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function wy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),vy(e)||e.classList.add("fd-popover__body--right")})}const ky=i=>i.stopPropagation(),Sy=i=>i.stopPropagation(),Cy=i=>i.stopPropagation();function yy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=le.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Ct("getTranslation");Si(i,C,Te=>t(17,n=Te));let y=Ct("store"),P,N,I,V,L,H;const R={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(ut=>{ut==="pathData"?t(1,r=Te.pathData):ut==="context"?context=Te.context:ut==="children"?t(0,l=Te.children):ut==="selectedNode"?t(11,b=Te.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Qt();function z(Te){return le.getNodeLabel(Te)}const Q=async()=>{const Te=R.get(),ut=await Ht.getTabNavData({...Te},Te);ut&&(R.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Z))},Z=()=>{if(fe(),I&&V&&L){L.classList.remove("is-active");const Te=getComputedStyle(I),ut=I.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let rt=0,Zt=!1;[...I.children].forEach(Xt=>{const En=Xt.getAttribute("uid");if(!En)return;const Et=getComputedStyle(Xt),_n=parseFloat(Et.marginLeft)+parseFloat(Et.marginRight);rt+=Xt.offsetWidth+_n,rt>=ut?(Xt.classList.add("hide_element"),Xt.getAttribute("isSelected")==="true"&&L.classList.add("is-active"),document.querySelector('li[uid="'+En+'"]').classList.remove("hide_element"),Zt=!0):document.querySelector('li[uid="'+En+'"]').classList.add("hide_element")}),Zt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},fe=()=>{I!==void 0&&[...I.children].forEach(ut=>{ut.classList.remove("hide_element")})},X=()=>{P=new ResizeObserver(Te=>{for(const ut of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&wy()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};ln(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),X(),mn.doOnStoreChange(y,()=>{Q()},["navigation.viewgroupdata"])}),ea(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),jn(()=>{(!m||m!=r)&&Q(),(v===void 0||v!==p)&&(v=p,Q())}),xr(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):X()});function K(Te){return me.getNodeHref(Te,a)}function re(Te){ne(),O("handleClick",{node:Te})}function ce(Te){let ut={};d[Te]||(ut[Te]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){fe(),Z()}function se(){t(4,g=!g)}function ae(Te,ut){const rt=Te==="undefined",Zt=Te.indexOf(c)===0;if(rt||Zt||be(ut))return!0}function be(Te){const ut=Te.find(Xt=>ie.isObject(Xt.category));if(!ut)return;const rt=ut.category.label||ut.category.id;return Te.filter(Xt=>Xt.category===rt&&Xt.hideFromNav===!0).length===1}const je=Te=>re(Te),ye=Te=>re(Te),Le=Te=>ce(Te),ze=Te=>re(Te),Qe=Te=>ce(Te),De=Te=>re(Te);function et(Te){Je[Te?"unshift":"push"](()=>{L=Te,t(15,L)})}const nt=Te=>re(Te),de=(Te,ut)=>ce(Te+ut),it=(Te,ut)=>ce(Te+ut),yt=Te=>re(Te);function rn(Te){Je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function An(Te){Je[Te?"unshift":"push"](()=>{I=Te,t(13,I)})}const sn=Te=>ce(Te.name);function qt(Te){Je[Te?"unshift":"push"](()=>{N=Te,t(12,N)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,re,ce,ne,Pe,se,b,N,I,V,L,H,n,C,z,K,ae,o,a,p,je,ye,Le,ze,Qe,De,et,nt,de,it,yt,rn,An,sn,qt]}class Sp extends Ft{constructor(e){super(),Mt(this,e,yy,py,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 g_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function __(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function p_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&m_(i),o=i[0]&&i[3].length>=0&&k_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("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){E(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=m_(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=k_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),a&&a.d(),o&&o.d()}}}function m_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=w_(__(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){E(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=__(l,t,a);n[a]?n[a].p(o,r):(n[a]=w_(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&&A(e),gt(n,l)}}}function b_(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&&v_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("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=le.getTestId(i[23]))},m(N,I){E(N,e,I),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=ee(t,"click",P),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=v_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&A(e),y&&y.d(),v=!1,C()}}}function v_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Iy:Py}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function Py(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function Iy(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){E(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&&A(e)}}}function w_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&b_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=b_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function k_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=y_(g_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){E(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=g_(l,t,a);n[a]?n[a].p(o,r):(n[a]=y_(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&&A(e),gt(n,l)}}}function S_(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&&C_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("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=le.getTestId(i[23]))},m(N,I){E(N,e,I),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=ee(n,"click",wt(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=C_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),I&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),I&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),I&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),I&1&&m!==(m=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&A(e),y&&y.d(),v=!1,C()}}}function C_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ty:Ny}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(a,o){r.m(a,o),E(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&&A(t),r.d(a)}}}function Ny(i){let e,t,n;return{c(){e=S("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){E(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&&A(e)}}}function Ty(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){E(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&&A(e)}}}function y_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&S_(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=S_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&A(e),t&&t.d(n)}}}function Ly(i){let e,t,n,l=i[2]&&p_(i);return{c(){l&&l.c(),e=Se()},m(r,a){l&&l.m(r,a),E(r,e,a),t||(n=[ee(window,"click",ds),ee(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=p_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&A(e),l&&l.d(r),t=!1,Ye(n)}}}function ds(){}function Ay(i,e,t){let n;const l=Qt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Ct("store"),g=Ct("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 le.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};ln(()=>{mn.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"])}),jn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return le.renderIconClassName(O)}function P(O){return le.isOpenUIiconName(O.icon)}function N(O){return At.getTranslation(O.label)}function I(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function L(O){V(O.detail.node)}const H=(O,z)=>{le.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},R=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,N,I,b,m,o,L,H,R]}class Ey extends Ft{constructor(e){super(),Mt(this,e,Ay,Ly,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 Ry(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){E(t,e,n),i[4](e)},p:qe,i:qe,o:qe,d(t){t&&A(e),i[4](null)}}}function Dy(i,e,t){const n=Qt();let{pathData:l}=e,r,a={},o,c=Ct("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};ln(()=>{mn.doOnStoreChange(c,()=>{},["navigation"])}),jn(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=ft.getCurrentPath();for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(a[V])C.push(a[V]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)C.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?At.getTranslation(I.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:I,route:V,pending:!0});else{const L=await p(I);L&&C.push({label:L,node:I,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let N=y;N<l.length;N++){const I=l[N],V=me.mapPathToNode(P,I);if(I.titleResolver){const H=await Ht.extractDataFromPath(V),R=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await le.fetchNodeTitleData(I,R);C.push({label:O.label,node:I,route:V});continue}catch{}}const L=await p(I);L&&C.push({label:L,node:I,route:V})}P===ft.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(N=>{a[N.route]=N}))}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 At.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ft.getCurrentPath(),v),y=await Ht.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Je[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 Cp extends Ft{constructor(e){super(),Mt(this,e,Dy,Ry,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 Vy(){return qo}const{Boolean:Oy,window:P_}=ml;function I_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function N_(i){let e,t;return e=new p2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T_(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 op({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(){Ue(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||(D(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function L_(i){let e,t,n=i[154].mfModal.displayed&&T_(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&D(n,1)):(n=T_(l),n.c(),D(n,1),n.m(e.parentNode,e)):n&&(we(),U(n,1,1,()=>{n=null}),ke())},i(l){t||(D(n),t=!0)},o(l){U(n),t=!1},d(l){l&&A(e),n&&n.d(l)}}}function A_(i){let e,t;return e=new op({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[My]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function My(i){let e,t;return e=new pl({props:{area:"drawer",disable:i[12]}}),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function E_(i){let e,t;return e=new v2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function R_(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 M2({props:r}),Je.push(()=>St(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Ue(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],kt(()=>t=!1)),e.$set(c)},i(a){n||(D(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Fy(i){let e,t,n,l,r,a,o,c,h=!i[25]&&D_(i),d=!(i[20]||i[22])&&V_(i);n=new pl({props:{disable:i[12],$$slots:{default:[By]},$$scope:{ctx:i}}});let g=i[10]&&M_(),p=!i[20]&&F_(i),b=i[15]&&!i[20]&&B_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Ue(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=Se()},m(m,v){h&&h.m(m,v),E(m,e,v),d&&d.m(m,v),E(m,t,v),Me(n,m,v),E(m,l,v),g&&g.m(m,v),E(m,r,v),p&&p.m(m,v),E(m,a,v),b&&b.m(m,v),E(m,o,v),c=!0},p(m,v){m[25]?h&&(we(),U(h,1,1,()=>{h=null}),ke()):h?(h.p(m,v),v[0]&33554432&&D(h,1)):(h=D_(m),h.c(),D(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(we(),U(d,1,1,()=>{d=null}),ke()):d?(d.p(m,v),v[0]&5242880&&D(d,1)):(d=V_(m),d.c(),D(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=M_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(we(),U(p,1,1,()=>{p=null}),ke()):p?(p.p(m,v),v[0]&1048576&&D(p,1)):(p=F_(m),p.c(),D(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&D(b,1)):(b=B_(m),b.c(),D(b,1),b.m(o.parentNode,o)):b&&(we(),U(b,1,1,()=>{b=null}),ke())},i(m){c||(D(h),D(d),D(n.$$.fragment,m),D(p),D(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(A(e),A(t),A(l),A(r),A(a),A(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 Uy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new pl({props:{disable:i[12]}});let C=!i[25]&&H_(i),y=!(i[20]||i[22])&&W_(i),P=i[19]&&q_(i);b=new pl({props:{disable:i[12],$$slots:{default:[Hy]},$$scope:{ctx:i}}});let N=i[10]&&K_();return{c(){Ue(e.$$.fragment),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),C&&C.c(),o=W(),c=S("div"),y&&y.c(),h=W(),d=S("div"),P&&P.c(),g=W(),p=S("div"),Ue(b.$$.fragment),m=W(),N&&N.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(I,V){Me(e,I,V),E(I,t,V),E(I,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),N&&N.m(p,null),v=!0},p(I,V){const L={};V[0]&4096&&(L.disable=I[12]),e.$set(L),I[25]?C&&(we(),U(C,1,1,()=>{C=null}),ke()):C?(C.p(I,V),V[0]&33554432&&D(C,1)):(C=H_(I),C.c(),D(C,1),C.m(a,null)),I[20]||I[22]?y&&(we(),U(y,1,1,()=>{y=null}),ke()):y?(y.p(I,V),V[0]&5242880&&D(y,1)):(y=W_(I),y.c(),D(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&D(P,1)):(P=q_(I),P.c(),D(P,1),P.m(d,g)):P&&(we(),U(P,1,1,()=>{P=null}),ke());const H={};V[0]&4096&&(H.disable=I[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:I}),b.$set(H),I[10]?N||(N=K_(),N.c(),N.m(p,null)):N&&(N.d(1),N=null)},i(I){v||(D(e.$$.fragment,I),D(C),D(y),D(P),D(b.$$.fragment,I),v=!0)},o(I){U(e.$$.fragment,I),U(C),U(y),U(P),U(b.$$.fragment,I),v=!1},d(I){I&&(A(t),A(n)),Fe(e,I),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),N&&N.d()}}}function D_(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 wp({props:b}),Je.push(()=>St(e,"isSearchFieldVisible",c)),Je.push(()=>St(e,"displaySearchResult",h)),Je.push(()=>St(e,"searchResult",d)),Je.push(()=>St(e,"inputElem",g)),Je.push(()=>St(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(){Ue(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],kt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],kt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],kt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],kt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],kt(()=>a=!1)),e.$set(C)},i(m){o||(D(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function V_(i){let e,t;return e=new cp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O_(i){let e,t;return e=new fp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function By(i){let e,t,n,l,r,a,o,c,h;t=new pl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&O_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=Se(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Yt(e,"lui-split-view",i[11].displayed),Yt(e,"lui-collapsed",i[11].collapsed)},m(g,p){E(g,e,p),Me(t,e,null),w(e,n),w(e,l),E(g,r,p),d&&d.m(g,p),E(g,a,p),o=!0,c||(h=Y_(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)&&Yt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Yt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&D(d,1)):(d=O_(g),d.c(),D(d,1),d.m(a.parentNode,a)):d&&(we(),U(d,1,1,()=>{d=null}),ke())},i(g){o||(D(t.$$.fragment,g),D(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(A(e),A(r),A(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function M_(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function F_(i){let e,t,n,l;e=new Ey({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&U_(i);return{c(){Ue(e.$$.fragment),t=W(),r&&r.c(),n=Se()},m(a,o){Me(e,a,o),E(a,t,o),r&&r.m(a,o),E(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&&D(r,1)):(r=U_(a),r.c(),D(r,1),r.m(n.parentNode,n)):r&&(we(),U(r,1,1,()=>{r=null}),ke())},i(a){l||(D(e.$$.fragment,a),D(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(A(t),A(n)),Fe(e,a),r&&r.d(a)}}}function U_(i){let e,t;return e=new Cp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function B_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function H_(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 wp({props:b}),Je.push(()=>St(e,"isSearchFieldVisible",c)),Je.push(()=>St(e,"displaySearchResult",h)),Je.push(()=>St(e,"searchResult",d)),Je.push(()=>St(e,"inputElem",g)),Je.push(()=>St(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(){Ue(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],kt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],kt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],kt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],kt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],kt(()=>a=!1)),e.$set(C)},i(m){o||(D(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function W_(i){let e,t,n,l;return n=new cp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){E(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||(D(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&A(e),Fe(n)}}}function q_(i){let e,t;return e=new Cp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function z_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function G_(i){let e,t;return e=new fp({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(){Ue(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||(D(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Hy(i){let e,t,n,l,r,a,o,c,h,d;t=new pl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&z_(i),p=i[11].displayed&&G_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=Se(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Yt(e,"lui-split-view",i[11].displayed),Yt(e,"lui-collapsed",i[11].collapsed)},m(b,m){E(b,e,m),Me(t,e,null),w(e,n),w(e,l),E(b,r,m),g&&g.m(b,m),E(b,a,m),p&&p.m(b,m),E(b,o,m),c=!0,h||(d=Y_(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)&&Yt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Yt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&D(g,1)):(g=z_(b),g.c(),D(g,1),g.m(a.parentNode,a)):g&&(we(),U(g,1,1,()=>{g=null}),ke()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&D(p,1)):(p=G_(b),p.c(),D(p,1),p.m(o.parentNode,o)):p&&(we(),U(p,1,1,()=>{p=null}),ke())},i(b){c||(D(t.$$.fragment,b),D(g),D(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&(A(e),A(r),A(a),A(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function K_(i){let e;return{c(){e=S("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){E(t,e,n)},d(t){t&&A(e)}}}function Wy(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&N_(i),b=Ve(i[28]),m=[];for(let L=0;L<b.length;L+=1)m[L]=L_(I_(i,b,L));const v=L=>U(m[L],1,1,()=>{m[L]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&A_(i),y=i[27].displayed&&E_(i),P=i[17].displayed&&R_(i);const N=[Uy,Fy],I=[];function V(L,H){return L[30]?0:1}return o=V(i),c=I[o]=N[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let L=0;L<m.length;L+=1)m[L].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"),Yt(e,"no-nav",i[20]),Yt(e,"no-side-nav",i[22]),Yt(e,"no-top-nav",i[25]),Yt(e,"no-animation",i[23]),Yt(e,"btp-layout",i[30])},m(L,H){E(L,e,H),p&&p.m(e,null),w(e,t);for(let R=0;R<m.length;R+=1)m[R]&&m[R].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),I[o].m(e,null),h=!0,d||(g=[ee(P_,"resize",i[36]),ee(P_,"keydown",i[47])],d=!0)},p(L,H){if(L[26]&&L[26].length?p?(p.p(L,H),H[0]&67108864&&D(p,1)):(p=N_(L),p.c(),D(p,1),p.m(e,t)):p&&(we(),U(p,1,1,()=>{p=null}),ke()),H[0]&268439552|H[1]&1792){b=Ve(L[28]);let R;for(R=0;R<b.length;R+=1){const O=I_(L,b,R);m[R]?(m[R].p(O,H),D(m[R],1)):(m[R]=L_(O),m[R].c(),D(m[R],1),m[R].m(e,n))}for(we(),R=b.length;R<m.length;R+=1)v(R);ke()}L[29].displayed&&L[29].settings.isDrawer?C?(C.p(L,H),H[0]&536870912&&D(C,1)):(C=A_(L),C.c(),D(C,1),C.m(e,l)):C&&(we(),U(C,1,1,()=>{C=null}),ke()),L[27].displayed?y?(y.p(L,H),H[0]&134217728&&D(y,1)):(y=E_(L),y.c(),D(y,1),y.m(e,r)):y&&(we(),U(y,1,1,()=>{y=null}),ke()),L[17].displayed?P?(P.p(L,H),H[0]&131072&&D(P,1)):(P=R_(L),P.c(),D(P,1),P.m(e,a)):P&&(we(),U(P,1,1,()=>{P=null}),ke()),c.p(L,H),(!h||H[0]&16777216)&&f(e,"configversion",L[24]),(!h||H[0]&1048576)&&Yt(e,"no-nav",L[20]),(!h||H[0]&4194304)&&Yt(e,"no-side-nav",L[22]),(!h||H[0]&33554432)&&Yt(e,"no-top-nav",L[25]),(!h||H[0]&8388608)&&Yt(e,"no-animation",L[23])},i(L){if(!h){D(p);for(let H=0;H<b.length;H+=1)D(m[H]);D(C),D(y),D(P),D(c),h=!0}},o(L){U(p),m=m.filter(Oy);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(L){L&&A(e),p&&p.d(),gt(m,L),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Ye(g)}}}function qy(i,e,t){const n=Qt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,N,I,V,L,H,R,O,z,Q,Z,fe,X=!0,G=!1,K,re,ce,ne=[],Pe={isDirty:!1,persistUrl:null},se,ae,be=!1,je,ye,Le={},ze,Qe,De,et=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:nt}=e,{inputElem:de}=e,{customSearchItemRendererSlot:it}=e,{displaySearchResult:yt}=e,{searchResult:rn}=e,{storedUserSettings:An}=e;const sn=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Re&&typeof Ge=="object"&&Ge!==null,he=Ee.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Re]:null,anchor:cl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(Be=>Be.iframeConfigKey).forEach(Be=>{he[Be]=B[Be]||!1}),he},qt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||I,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await sn(B)),authData:dl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(ue)},ut=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=Cn(B.params),Ge=ft.getNodePath(R,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ie.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:I}),ue.iframe.pv="pv"}},rt=(B,ue,Re,Ge)=>{let Ie=Cn(B.params,Re,Ge);const{preventHistoryEntry:he,preserveQueryParams:Be,preventContextUpdate:Pt}=B.params,zt={keepBrowserHistory:!he,navSync:X,preventContextUpdate:Pt};return Ie=ie.addLeadingSlash(Ie),Ie=Be?me.composeSearchParamsToRoute(Ie):Ie,ut(B,ue),ft.navigateTo(Ie,zt)},Zt=B=>B.split("?")[0],Xt=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Zt(Ge.path),Zt(Ge.nextPath)].includes(Zt(Re))},En=B=>{Pe&&Pe.dirtySet&&(B?Pe.dirtySet.delete(B):Pe.dirtySet.clear())},Et=B=>new Promise((ue,Re)=>{Vi(B)?Gl().then(()=>{En(),ue()},()=>{Re()}):ue()}),_n=()=>({get:()=>({unsavedChanges:Pe,hideNav:ii,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:R,navigationPath:re,context:I,pathParams:L,hideGlobalSearch:Ri,hideSideNav:hi,isolateView:Q,pageErrorHandler:Z,previousNodeValues:fe,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ae,isNavigateBack:G,goBackContext:K,isNavigationSyncEnabled:X}),set:B=>{B&&(t(23,Di=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ii=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?R=B.currentNode:ue==="navigationPath"?t(14,re=B.navigationPath):ue==="context"?I=B.context:ue==="pathParams"?t(13,L=B.pathParams):ue==="hideGlobalSearch"?t(21,Ri=B.hideGlobalSearch):ue==="hideSideNav"?(hi!=B.hideSideNav&&(t(23,Di=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,hi=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?Z=B.pageErrorHandler:ue==="previousNodeValues"?fe=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):ue==="tabNav"?t(15,ae=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?K=B.goBackContext:ue==="isNavigationSyncEnabled"&&(X=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Vi,getUnsavedChangesModalPromise:Et,showUnsavedChangesModal:Gl,showAlert:Vt,prepareInternalData:sn,dispatch:n}),ni=(B,ue)=>{mn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Kn.deleteCache();const Ge=ft.getCurrentPath();ft.handleRouteChange(Ge,_n(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Xt(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let Pt=Y.length;Pt--;)Zi(Pt);ta.removeBackdrop(),di(),ft.handleRouteChange(Re,_n(),B,ue,Ie,he)})},Kt=(B,ue)=>ie.replaceVars(ft.getNodePath(B),ue,":",!1),Cn=(B,ue,Re)=>{const Ge=ue||R,Ie=Re||L;let he=re;if(ue){let Pt=ue.parent;for(he=[ue];Pt;)he.push(Pt),Pt=Pt.parent;he=[...he].reverse()}let Be=B.link;if(B.fromVirtualTreeRoot){const Pt=[...he].reverse().find(zt=>zt.virtualTree);if(!Pt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Be=ft.concatenatePath(Kt(Pt,Ie),B.link)}else if(B.fromParent)Be=ft.concatenatePath(Kt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Pt=[...he].reverse().find(zt=>zt.navigationContext&&zt.navigationContext.length>0);Be=ft.concatenatePath(Kt(Pt,Ie),B.link)}else if(B.fromContext){const Pt=B.fromContext,zt=[...he].reverse().find(Lr=>Pt===Lr.navigationContext);Be=ft.concatenatePath(Kt(zt,Ie),B.link)}else B.intent?Be=me.getIntentPath(B.link):B.relative&&(Be=ft.concatenatePath(Kt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Be+=Be.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Pt,zt)=>{Be+=encodeURIComponent(me.getContentViewParamPrefix()+Pt[0])+"="+encodeURIComponent(Pt[1])+(zt<Object.keys(B.nodeParams).length-1?"&":"")})),Be},Ci=B=>{const ue=B.detail.node;Et().then(()=>{if(xe(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);vn(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,yr(Re,ue.drawer)}else _n().set({isNavigationSyncEnabled:!0}),ft.handleRouteClick(ue,_n())},()=>{})},yi=()=>{t(16,be=!be)};Jr("handleNavigation",rt);const bn=B=>B?!0:(console.warn("No search provider defined."),!1),Pi=()=>{bn(ye)&&t(0,nt=!1)},Ii=()=>{bn(ye)&&de&&(t(0,nt=!0),de.focus())},Ni=()=>{bn(ye)&&de&&(t(1,de.value="",de),Ai())},Ti=()=>{t(0,nt=!nt),Fk.clearSearchField()},Li=()=>{if(bn(ye)&&de)return de.value},vl=B=>{bn(ye)&&de&&(t(1,de.value=B,de),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},wl=B=>{bn(ye)&&de&&t(1,de.placeholder=B,de)},kl=B=>{if(bn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let ue={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,it,ue)}else t(3,yt=!0),t(4,rn=B);else console.warn("Search result array is empty.")},Ai=()=>{if(bn(ye)&&(t(3,yt=!1),t(4,rn=[]),it))for(;it.lastElementChild;)it.removeChild(it.lastElementChild)},Ji=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};rt(Re)},Yi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=pt.getDefaultData().mfSplitView),pt.open(_n(),B,ue)},di=()=>{pt.close(_n())},Sl=()=>{pt.collapse(_n()),t(11,o.collapsed=!0,o)},Cl=()=>{pt.expand(_n()),t(11,o.collapsed=!1,o)},Qi=()=>o.displayed?o.collapsed:!1,yl=()=>o.displayed?!o.collapsed:!1,Pl=()=>o.displayed,Il=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ei=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)},Nl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ii,Ri,hi,Di,gi,j,ve;const xe=()=>{document.body.classList.remove("lui-leftNavToggle")},at=()=>{Xi();const B=window.innerWidth>=cn.desktopMinWidth&&gi<cn.desktopMinWidth,ue=window.innerWidth<cn.desktopMinWidth&&gi>=cn.desktopMinWidth;(B||ue)&&xe(),gi=window.innerWidth};let st=[];const _t=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},Vt=(B,ue=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ie=Re(B,ue);if(Ie!==!1)return Ie}const Ge=st;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&_t(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(()=>{_t(st,B.id)&&jt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,st=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},jt=(B,ue)=>{const Re=_t(st,B);if(!Re){console.error("An unexisting alert has been dismissed.",st,B);return}if(t(26,st=st.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ce),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ee.sendMessageToIframe(Ge,Ie)}else Re.promise&&Re.promise.resolve(ue||B)},Jn=B=>{jt(B.detail.id,B.detail.dismissKey)};let li;const Tl=()=>{t(27,li={displayed:!1,content:{},openFromClient:!1,promise:null})};Tl();const _i=(B,ue=!1,Re)=>new Promise((Ge,Ie)=>{t(27,li={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Re})}),Ll=B=>{const{promise:ue,openFromClient:Re,targetIframe:Ge}=li;if(Tl(),B?ue.resolve():ue.reject(),Re&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ie)}},Vi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Gl=()=>_i({header:At.getTranslation("luigi.unsavedChangesAlert.header"),body:At.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:At.getTranslation("luigi.button.dismiss"),buttonConfirm:At.getTranslation("luigi.button.confirm")}),Cr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Jr("getUnsavedChangesModalPromise",Et);let Y=[];const Ot=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Re;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Re=Ie),B!==he))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ie)}};Ot();const vn=async(B,ue,Re)=>{if(await le.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Re}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&ft.appendModalDataToUrl(B,ue)},ri=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},na=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Zi=(B,ue,Re)=>{const Ge=(Be,Pt)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&ft.removeModalDataFromUrl(Pt),Ot(Be,Re)},Ie=Y[B],he=ie.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Et(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Re)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Re))};Jr("openViewInModal",vn);let an={};const Kl=()=>{t(29,an.displayed=!1,an),t(29,an.nodepath=void 0,an),t(29,an.settings={},an),t(12,g=!1)};Kl();const yr=async(B,ue)=>{await le.shouldPreventNavigationForPath(B)||(t(29,an.displayed=!0,an),t(29,an.nodepath=B,an),t(29,an.settings=ue,an),an.settings&&an.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=cn.desktopMinWidth&&an.displayed&&an.settings&&!an.settings.overlap,Xi=(B=!1)=>{if(!ia())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)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(ue);Re.forEach(Ie=>{Pr(Ie,Ge)})}},Pr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Xi()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,Xi()},jl=B=>{d=B.detail.activeDrawer},Jl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Et(p.contentWindow).then(()=>{Kl()},()=>{}):m&&Et().then(()=>{Kl()},()=>{}),Xi(!0)}catch(ue){console.log(ue)}},bs=()=>{const B=_r.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 le.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Yl=B=>{let ue=re;if(R){let Ie=R.parent;for(ue=[R];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Re=B.link,Ge=Kt(R,L);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Be=>Be.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Kt(Ie,L);Re=Ge.split(he).join("")}else if(B.fromParent){const Ie=Kt(R.parent,L);Re=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Be=>Be.navigationContext&&Be.navigationContext.length>0),he=Kt(Ie,L);Re=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Pt=>Ie===Pt.navigationContext),Be=Kt(he,L);Re=Ge.split(Be).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),hr.shouldPreload=!0,hr.preload(!0),hr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Re};At.addCurrentLocaleChangeListener(he=>{const Be={msg:"luigi.current-locale-changed",currentLocale:he};Ee.broadcastMessageToAllIframes(Be)}),Bn.addEventListener("popstate",async he=>{const Be=st;if(!Be||!(Be.length>0))return;const Pt=Be.map(zt=>{if(zt&&!zt.openFromClient&&typeof zt.settings.ttl=="number"){if(zt.settings.ttl===0)return null;zt.settings.ttl--}return zt}).filter(zt=>zt);t(26,st=Pt)}),Bn.addEventListener("message",async he=>{const Be=Ee.getValidMessageSource(he),Pt=Y[Y.length-1],zt=Pt&&Pt.modalIframe,Lr=Pt&&Pt.modalIframeData,xi={modalIframe:zt,modalIframeData:Lr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!Be)return;Be._ready=!0;const Ar=Ee.getSpecialIframeMessageSource(he,xi),Oi=Ar&&Ar.length>0,Er=te.getConfigValue("communication.skipEventsWhenInactive");if(Er&&Er.length>0&&!Oi&&Be.contentWindow!==window&&!ie.isElementVisible(Be)&&Er.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const He=te.getConfigValue("communication.customMessagesListeners")||{},Tt=ss.convertCustomMessageInternalToUser(he.data),It=He[Tt.id],on="luigi.updateUserSettings";if(Le&&Tt.id===on){It&&console.warn(`The key "${on}" is not allowed to use for custom messages.`);return}if(typeof It=="function"){const yn=ji.getMicrofrontends().find($t=>Ee.isMessageSource(he,$t.container));It(Tt,yn,ie.removeInternalProperties(Be.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Tt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Be.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Be.luigi.viewUrl=Be.luigi.nextViewUrl,Be.luigi.nextViewUrl="",Be.luigi.clientPermissions=Be.luigi.nextClientPermissions,delete Be.luigi.nextClientPermissions,Ie.navigateOk=!0,hr.preload()),he.data.msg==="luigi.get-context"){if(Be.luigi.clientVersion=he.data.clientVersion,Be.luigi.initOk=!1,Oi)Ar.forEach(async He=>{let Tt=xi[He.dataKey].context;const It={...Ie,iframe:xi[He.iframeKey],context:Tt,pathParams:xi[He.dataKey].pathParams,nodeParams:xi[He.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(xi[He.iframeKey].luigi.currentNode),modal:He.iframeKey.startsWith("modal"),drawer:He.iframeKey.startsWith("drawer"),splitView:He.iframeKey.startsWith("splitView")};await qt(It,{})});else if(Ie.iframe&&Ee.isMessageSource(he,Ie.iframe))await qt(Ie,{}),(!R||!R.loadingIndicator||R.loadingIndicator.hideAutomatically!==!1)&&Nr(),hr.preload();else if(Be.luigi.preloading)await qt({iframe:Be,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let He=_r.findActiveCustomUserSettingsIframe(he.source);if(He){let Tt=He.getAttribute("userSettingsGroup"),It={context:{userSettingsData:An[Tt]},iframe:He};await qt(It)}}hr.viewGroupLoaded(Be)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const He=window.location.href,Tt=Oi?Be.luigi.currentNode:void 0,It=Oi?Be.luigi.pathParams:void 0,on=he.data.params,{intent:yn,newTab:$t,modal:el,splitView:Zl,drawer:Al,withoutSync:Ls}=on;let Xl=$t||el||Zl||Al;const ga=()=>{const Yn=ie.getRemotePromise(he.data.remotePromiseId);Yn&&Yn.doResolve()},hn=()=>{const Yn=ie.getRemotePromise(he.data.remotePromiseId);Yn&&Yn.doReject()},El=Yn=>{!Yn||He!==window.location.href?ga():hn()};he.source!==window&&!yn&&on.link&&(on.link=on.link.split("?")[0]);let Ut=Cn(he.data.params,Tt,It);if(Xl=Xl||yn&&Ut.external,!Xl)Et().then(()=>{X=!he.data.params.withoutSync,rt(he.data,Ie,Tt,It).then(()=>{El(!0)}).catch(()=>{hn()}),Y.forEach((Yn,_a)=>{Zi(_a)}),di(),Jl(),X=!0}).catch(()=>{hn()});else{if(yn&&Ut.external){ft.navigateToExternalLink({url:Ut.url,sameWindow:!Ut.openInNewTab});return}if(Ut=ie.addLeadingSlash(Ut),$t){await aa(Ut),El();return}const Yn=await Ql(Ut);if(Ut=await me.handlePageNotFoundAndRetrieveRedirectPath(_n(),Ut,Yn),!Ut){hn();return}ce=B,el!==void 0?(!el.keepPrevious&&Ot(),await vn(Ut,el===!0?{}:el,Be),El()):Zl!==void 0?(await Yi(Ut,Zl),El()):Al!==void 0&&(Kl(),Al.isDrawer=!0,await yr(Ut,Al),El())}}if(he.data.msg==="luigi.navigation.back"){const He=Y[Y.length-1],Tt=Y.length>1&&Y[Y.length-2],It=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ee.isMessageSource(he,He&&He.modalIframe)){Zi(Y.length-1,!0,It);let on=Ie;if(Tt&&Tt.modalIframeData&&Tt.modalIframe){const yn=Tt,$t=yn.modalIframeData;on={pathParams:$t.pathParams,context:$t.context,iframe:yn.modalIframe}}on.iframe&&await qt(on,{goBackContext:It})}else Ee.isMessageSource(he,C)?(di(),Ie.iframe&&await qt(Ie,{goBackContext:It})):Ee.isMessageSource(he,p)?(d&&(d=!d),Jl(),Ie.iframe&&await qt(Ie,{goBackContext:It})):ne&&ne.length>0?Et().then(()=>{fi.setActiveIframeToPrevious(B);const on=ne.pop();Ie.iframe=fi.getActiveIframe(B),G=!0,ne=ne,K=It,rt({params:{link:on.path}},Ie)},()=>{}):(It&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const He=he.data.data,It={msg:"luigi.navigation.currentRoute.answer",data:{route:Yl(He),correlationId:He.id}};Ee.sendMessageToIframe(Be,It)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Oi){const He=ie.addLeadingSlash(Cn(he.data.params,Be.luigi.currentNode,Be.luigi.pathParams));ft.updateModalDataInUrl(He,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const He=Be.luigi.currentNode,Tt=Be.luigi.pathParams,It=he.data.data,on=Cn(It,He,Tt),yn=on?await Ht.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),on):!1,$t={msg:"luigi.navigation.pathExists.answer",data:{correlationId:It.id,pathExists:yn?yn.isExistingRoute:!1}};Ee.sendMessageToIframe(Be,$t)}if(he.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const He=new Set;He.add(he.source),Pe={dirtySet:He}}Pe.persistUrl=window.location.href,he.data.dirty?Pe.dirtySet.add(he.source):Pe.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const He=he.data.data.settings;ce=B,Tl(),_i(He,!0,Be).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:He}=he.data.data;if(!He.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}ce=B,Vt(He,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Be.luigi.clientPermissions&&Be.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:He}=he.data.data;He&&At.setCurrentLocale(He)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(je&&!je.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&Ir(),he.data.msg==="storage"&&f2.process(Be.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let He=Be.luigi.currentNode;He&&He.runTimeErrorHandler&&ie.isFunction(He.runTimeErrorHandler.errorFn)?He.runTimeErrorHandler.errorFn(he.data.errorObj,He):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,He)}if(he.data.msg==="luigi.addSearchParams")if(Be.luigi.currentNode.clientPermissions&&Be.luigi.currentNode.clientPermissions.urlParameters){const{data:He,keepBrowserHistory:Tt}=he.data;me.addSearchParamsFromClient(Be.luigi.currentNode,He,Tt)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Oi)return;const{data:He,keepBrowserHistory:Tt}=he.data;cl.addNodeParams(He,Tt)}if(he.data.msg==="luigi.setAnchor"){const{anchor:He}=he.data;cl.setAnchor(He)}if(he.data.msg==="luigi.setVGData"){const He=he.data,Tt=le.findViewGroup(Be.luigi.currentNode);if(Tt){const It=le.getViewGroupSettings(Tt);It._liveCustomData=He.data,te.configChanged("navigation.viewgroupdata")}}}),ni(B,Ie)}Jr("store",l),Jr("getTranslation",r);const Ir=B=>{je&&je.thirdPartyCookieErrorHandling&&ie.isFunction(je.thirdPartyCookieErrorHandling)&&je.thirdPartyCookieErrorHandling()};function Nr(){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 Ql=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=Cn(ue),Ge=Re?await Ht.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},$i=()=>Y.length>0||ne.length!==0;ln(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),gi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();B&&ue&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(le.COL_NAV_KEY));t(18,ze=Re?B:ue)}}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(()=>{Vy()==="disabled"&&Ir()}),document.body.removeChild(B)}})}),xr(()=>{Xi()}),jn(()=>{t(19,Qe=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,j=te.getConfigValue("tag")),t(25,ve=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===zl&&Y&&Y.length>0&&Zi(Y.length-1)},oa=B=>Zi(B,!0),ws=(B,ue)=>ri(ue,B),ua=(B,ue)=>na(ue,B),fa=()=>Ll(!0),ca=()=>Ll(!1);function da(B){An=B,t(5,An)}function ks(B){nt=B,t(0,nt)}function Ss(B){yt=B,t(3,yt)}function Cs(B){rn=B,t(4,rn)}function ha(B){de=B,t(1,de)}function ys(B){it=B,t(2,it)}function Ps(B){nt=B,t(0,nt)}function Is(B){yt=B,t(3,yt)}function Ns(B){rn=B,t(4,rn)}function Tr(B){de=B,t(1,de)}function Ts(B){it=B,t(2,it)}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,nt=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,it=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,yt=B.displaySearchResult),"searchResult"in B&&t(4,rn=B.searchResult),"storedUserSettings"in B&&t(5,An=B.storedUserSettings)},[nt,de,it,yt,rn,An,Ti,Ai,Ji,ra,a,o,g,L,re,ae,be,Le,ze,Qe,ii,Ri,hi,Di,j,ve,st,li,Y,an,et,Ci,yi,Il,Ei,Nl,at,Jn,Ll,ri,na,Zi,ms,la,jl,Jl,vs,sa,l,r,Pi,Ii,Ni,Li,vl,wl,kl,Yi,di,Sl,Cl,Qi,yl,Pl,Vt,_i,Cr,bs,Yl,Ql,$i,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Tr,Ts]}class zy extends Ft{constructor(e){super(),Mt(this,e,qy,Wy,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 Gy=()=>{const{subscribe:i,update:e,reset:t}=br({}),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=[]}}},yp=Gy(),Ky=Ak((i,e,t)=>At.getTranslation(i,e,t));Luigi._store=yp;const jy=()=>new Promise(i=>{At._init(),dn.init().then(()=>{setTimeout(()=>{let e;ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new zy({target:ji.getLuigiContainer(),props:{store:yp,getTranslation:Ky}}),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(jy);
53
53
  //# sourceMappingURL=luigi.js.map