@luigi-project/core 2.19.1-dev.202501140030 → 2.19.1-dev.202501160031

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
@@ -51,7 +51,7 @@ function print() { __p += __j.call(arguments, '') }
51
51
  `)+ye+`return __p
52
52
  }`;var ot=qf(function(){return Pt(F,Ke+"return "+ye).apply(t,q)});if(ot.source=ye,So(ot))throw ot;return ot}function rw(s){return Nt(s).toLowerCase()}function aw(s){return Nt(s).toUpperCase()}function sw(s,u,_){if(s=Nt(s),s&&(_||u===t))return Zo(s);if(!s||!(u=Bn(u)))return s;var k=ni(s),T=ni(u),F=Xo(k,T),q=$o(k,T)+1;return al(k,F,q).join("")}function ow(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.slice(0,eu(s)+1);if(!s||!(u=Bn(u)))return s;var k=ni(s),T=$o(k,ni(u))+1;return al(k,0,T).join("")}function uw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.replace(ei,"");if(!s||!(u=Bn(u)))return s;var k=ni(s),T=Xo(k,ni(u));return al(k,T).join("")}function fw(s,u){var _=z,k=Q;if(Kt(u)){var T="separator"in u?u.separator:T;_="length"in u?st(u.length):_,k="omission"in u?Bn(u.omission):k}s=Nt(s);var F=s.length;if(Xl(s)){var q=ni(s);F=q.length}if(_>=F)return s;var J=_-$l(k);if(J<1)return k;var x=q?al(q,0,J).join(""):s.slice(0,J);if(T===t)return x+k;if(q&&(J+=x.length-J),Co(T)){if(s.slice(J).search(T)){var _e,pe=x;for(T.global||(T=Us(T.source,Nt(it.exec(T))+"g")),T.lastIndex=0;_e=T.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?J:ye)}}else if(s.indexOf(Bn(T),J)!=J){var De=x.lastIndexOf(T);De>-1&&(x=x.slice(0,De))}return x+k}function cw(s){return s=Nt(s),s&&Ki.test(s)?s.replace(Ni,Hp):s}var dw=rr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),Io=qu("toUpperCase");function Wf(s,u,_){return s=Nt(s),u=_?t:u,u===t?Op(s)?zp(s):Ip(s):s.match(u)||[]}var qf=ut(function(s,u){try{return dn(s,t,u)}catch(_){return So(_)?_:new et(_)}}),hw=Fi(function(s,u){return Ot(u,function(_){_=_i(_),Oi(s,_,wo(s[_],s))}),s});function gw(s){var u=s==null?0:s.length,_=Ye();return s=u?zt(s,function(k){if(typeof k[1]!="function")throw new jn(a);return[_(k[0]),k[1]]}):[],ut(function(k){for(var T=-1;++T<u;){var F=s[T];if(dn(F[0],this,k))return dn(F[1],this,k)}})}function _w(s){return Hm(Yn(s,g))}function No(s){return function(){return s}}function pw(s,u){return s==null||s!==s?u:s}var mw=Gu(),bw=Gu(!0);function Vn(s){return s}function To(s){return wu(typeof s=="function"?s:Yn(s,g))}function vw(s){return Su(Yn(s,g))}function ww(s,u){return Cu(s,Yn(u,g))}var kw=ut(function(s,u){return function(_){return Or(_,s,u)}}),Sw=ut(function(s,u){return function(_){return Or(s,_,u)}});function Lo(s,u,_){var k=hn(u),T=Ra(u,k);_==null&&!(Kt(u)&&(T.length||!k.length))&&(_=u,u=s,s=this,T=Ra(u,hn(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,q=Bi(s);return Ot(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__),ye=pe.__actions__=En(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,el([this.value()],arguments))})}),s}function Cw(){return Be._===this&&(Be._=Qp),this}function Ao(){}function yw(s){return s=st(s),ut(function(u){return yu(u,s)})}var Pw=ao(zt),Iw=ao(da),Nw=ao(Es);function zf(s){return go(s)?Rs(_i(s)):i1(s)}function Tw(s){return function(u){return s==null?t:Vl(s,u)}}var Lw=ju(),Aw=ju(!0);function Eo(){return[]}function Ro(){return!1}function Ew(){return{}}function Rw(){return""}function Dw(){return!0}function Vw(s,u){if(s=st(s),s<1||s>fe)return[];var _=Se,k=vn(s,Se);u=Ye(u),s-=Se;for(var T=Os(k,u);++_<s;)u(_);return T}function Ow(s){return lt(s)?zt(s,_i):Hn(s)?[s]:En(uf(Nt(s)))}function Mw(s){var u=++Jp;return Nt(s)+u}var Fw=Ua(function(s,u){return s+u},0),Uw=so("ceil"),Bw=Ua(function(s,u){return s/u},1),Hw=so("floor");function Ww(s){return s&&s.length?Ea(s,Vn,js):t}function qw(s,u){return s&&s.length?Ea(s,Ye(u,2),js):t}function zw(s){return Yo(s,Vn)}function Gw(s,u){return Yo(s,Ye(u,2))}function Kw(s){return s&&s.length?Ea(s,Vn,Zs):t}function jw(s,u){return s&&s.length?Ea(s,Ye(u,2),Zs):t}var Jw=Ua(function(s,u){return s*u},1),Yw=so("round"),Qw=Ua(function(s,u){return s-u},0);function Zw(s){return s&&s.length?Vs(s,Vn):0}function Xw(s,u){return s&&s.length?Vs(s,Ye(u,2)):0}return M.after=vv,M.ary=wf,M.assign=a0,M.assignIn=Vf,M.assignInWith=Xa,M.assignWith=s0,M.at=o0,M.before=kf,M.bind=wo,M.bindAll=hw,M.bindKey=Sf,M.castArray=Ev,M.chain=mf,M.chunk=H1,M.compact=W1,M.concat=q1,M.cond=gw,M.conforms=_w,M.constant=No,M.countBy=Zb,M.create=u0,M.curry=Cf,M.curryRight=yf,M.debounce=Pf,M.defaults=f0,M.defaultsDeep=c0,M.defer=wv,M.delay=kv,M.difference=z1,M.differenceBy=G1,M.differenceWith=K1,M.drop=j1,M.dropRight=J1,M.dropRightWhile=Y1,M.dropWhile=Q1,M.fill=Z1,M.filter=$b,M.flatMap=tv,M.flatMapDeep=nv,M.flatMapDepth=iv,M.flatten=hf,M.flattenDeep=X1,M.flattenDepth=$1,M.flip=Sv,M.flow=mw,M.flowRight=bw,M.fromPairs=x1,M.functions=b0,M.functionsIn=v0,M.groupBy=lv,M.initial=tb,M.intersection=nb,M.intersectionBy=ib,M.intersectionWith=lb,M.invert=k0,M.invertBy=S0,M.invokeMap=av,M.iteratee=To,M.keyBy=sv,M.keys=hn,M.keysIn=Dn,M.map=Ka,M.mapKeys=y0,M.mapValues=P0,M.matches=vw,M.matchesProperty=ww,M.memoize=Ja,M.merge=I0,M.mergeWith=Of,M.method=kw,M.methodOf=Sw,M.mixin=Lo,M.negate=Ya,M.nthArg=yw,M.omit=N0,M.omitBy=T0,M.once=Cv,M.orderBy=ov,M.over=Pw,M.overArgs=yv,M.overEvery=Iw,M.overSome=Nw,M.partial=ko,M.partialRight=If,M.partition=uv,M.pick=L0,M.pickBy=Mf,M.property=zf,M.propertyOf=Tw,M.pull=ob,M.pullAll=_f,M.pullAllBy=ub,M.pullAllWith=fb,M.pullAt=cb,M.range=Lw,M.rangeRight=Aw,M.rearg=Pv,M.reject=dv,M.remove=db,M.rest=Iv,M.reverse=bo,M.sampleSize=gv,M.set=E0,M.setWith=R0,M.shuffle=_v,M.slice=hb,M.sortBy=bv,M.sortedUniq=wb,M.sortedUniqBy=kb,M.split=tw,M.spread=Nv,M.tail=Sb,M.take=Cb,M.takeRight=yb,M.takeRightWhile=Pb,M.takeWhile=Ib,M.tap=Wb,M.throttle=Tv,M.thru=Ga,M.toArray=Ef,M.toPairs=Ff,M.toPairsIn=Uf,M.toPath=Ow,M.toPlainObject=Df,M.transform=D0,M.unary=Lv,M.union=Nb,M.unionBy=Tb,M.unionWith=Lb,M.uniq=Ab,M.uniqBy=Eb,M.uniqWith=Rb,M.unset=V0,M.unzip=vo,M.unzipWith=pf,M.update=O0,M.updateWith=M0,M.values=or,M.valuesIn=F0,M.without=Db,M.words=Wf,M.wrap=Av,M.xor=Vb,M.xorBy=Ob,M.xorWith=Mb,M.zip=Fb,M.zipObject=Ub,M.zipObjectDeep=Bb,M.zipWith=Hb,M.entries=Ff,M.entriesIn=Uf,M.extend=Vf,M.extendWith=Xa,Lo(M,M),M.add=Fw,M.attempt=qf,M.camelCase=W0,M.capitalize=Bf,M.ceil=Uw,M.clamp=U0,M.clone=Rv,M.cloneDeep=Vv,M.cloneDeepWith=Ov,M.cloneWith=Dv,M.conformsTo=Mv,M.deburr=Hf,M.defaultTo=pw,M.divide=Bw,M.endsWith=q0,M.eq=li,M.escape=z0,M.escapeRegExp=G0,M.every=Xb,M.find=xb,M.findIndex=cf,M.findKey=d0,M.findLast=ev,M.findLastIndex=df,M.findLastKey=h0,M.floor=Hw,M.forEach=bf,M.forEachRight=vf,M.forIn=g0,M.forInRight=_0,M.forOwn=p0,M.forOwnRight=m0,M.get=yo,M.gt=Fv,M.gte=Uv,M.has=w0,M.hasIn=Po,M.head=gf,M.identity=Vn,M.includes=rv,M.indexOf=eb,M.inRange=B0,M.invoke=C0,M.isArguments=Fl,M.isArray=lt,M.isArrayBuffer=Bv,M.isArrayLike=Rn,M.isArrayLikeObject=xt,M.isBoolean=Hv,M.isBuffer=sl,M.isDate=Wv,M.isElement=qv,M.isEmpty=zv,M.isEqual=Gv,M.isEqualWith=Kv,M.isError=So,M.isFinite=jv,M.isFunction=Bi,M.isInteger=Nf,M.isLength=Qa,M.isMap=Tf,M.isMatch=Jv,M.isMatchWith=Yv,M.isNaN=Qv,M.isNative=Zv,M.isNil=$v,M.isNull=Xv,M.isNumber=Lf,M.isObject=Kt,M.isObjectLike=$t,M.isPlainObject=Wr,M.isRegExp=Co,M.isSafeInteger=xv,M.isSet=Af,M.isString=Za,M.isSymbol=Hn,M.isTypedArray=sr,M.isUndefined=e0,M.isWeakMap=t0,M.isWeakSet=n0,M.join=rb,M.kebabCase=K0,M.last=Zn,M.lastIndexOf=ab,M.lowerCase=j0,M.lowerFirst=J0,M.lt=i0,M.lte=l0,M.max=Ww,M.maxBy=qw,M.mean=zw,M.meanBy=Gw,M.min=Kw,M.minBy=jw,M.stubArray=Eo,M.stubFalse=Ro,M.stubObject=Ew,M.stubString=Rw,M.stubTrue=Dw,M.multiply=Jw,M.nth=sb,M.noConflict=Cw,M.noop=Ao,M.now=ja,M.pad=Y0,M.padEnd=Q0,M.padStart=Z0,M.parseInt=X0,M.random=H0,M.reduce=fv,M.reduceRight=cv,M.repeat=$0,M.replace=x0,M.result=A0,M.round=Yw,M.runInContext=$,M.sample=hv,M.size=pv,M.snakeCase=ew,M.some=mv,M.sortedIndex=gb,M.sortedIndexBy=_b,M.sortedIndexOf=pb,M.sortedLastIndex=mb,M.sortedLastIndexBy=bb,M.sortedLastIndexOf=vb,M.startCase=nw,M.startsWith=iw,M.subtract=Qw,M.sum=Zw,M.sumBy=Xw,M.template=lw,M.times=Vw,M.toFinite=Hi,M.toInteger=st,M.toLength=Rf,M.toLower=rw,M.toNumber=Xn,M.toSafeInteger=r0,M.toString=Nt,M.toUpper=aw,M.trim=sw,M.trimEnd=ow,M.trimStart=uw,M.truncate=fw,M.unescape=cw,M.uniqueId=Mw,M.upperCase=dw,M.upperFirst=Io,M.each=bf,M.eachRight=vf,M.first=gf,Lo(M,function(){var s={};return hi(M,function(u,_){At.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ot(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:un(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=vn(_,k.__takeCount__):k.__views__.push({size:vn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ot(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==Z||_==j;_t.prototype[s]=function(T){var F=this.clone();return F.__iteratees__.push({iteratee:Ye(T,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Ot(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Ot(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");_t.prototype[s]=function(){return this.__filtered__?new _t(this):this[_](1)}}),_t.prototype.compact=function(){return this.filter(Vn)},_t.prototype.find=function(s){return this.filter(s).head()},_t.prototype.findLast=function(s){return this.reverse().find(s)},_t.prototype.invokeMap=ut(function(s,u){return typeof s=="function"?new _t(this):this.map(function(_){return Or(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ya(Ye(s)))},_t.prototype.slice=function(s,u){s=st(s);var _=this;return _.__filtered__&&(s>0||u<0)?new _t(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=st(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},_t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},_t.prototype.toArray=function(){return this.take(Se)},hi(_t.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 _t,_e=J[0],pe=x||lt(q),ye=function(gt){var pt=T.apply(M,el([gt],J));return k&&De?pt[0]:pt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ke=!!this.__actions__.length,Qe=F&&!De,ot=x&&!Ke;if(!F&&pe){q=ot?q:new _t(this);var Ze=s.apply(q,J);return Ze.__actions__.push({func:Ga,args:[ye],thisArg:t}),new Jn(Ze,De)}return Qe&&ot?s.apply(this,J):(Ze=this.thru(ye),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Ot(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[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(lt(F)?F:[],T)}return this[_](function(q){return u.apply(lt(q)?q:[],T)})}}),hi(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";At.call(nr,k)||(nr[k]=[]),nr[k].push({name:u,func:_})}}),nr[Fa(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=cm,_t.prototype.reverse=dm,_t.prototype.value=hm,M.prototype.at=qb,M.prototype.chain=zb,M.prototype.commit=Gb,M.prototype.next=Kb,M.prototype.plant=Jb,M.prototype.reverse=Yb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Qb,M.prototype.first=M.prototype.head,Tr&&(M.prototype[Tr]=jb),M},xl=Gp();yt?((yt.exports=xl)._=xl,It._=xl):Be._=xl}).call(zr)})(os,os.exports);var Jr=os.exports;class Gk{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=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ut.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ut.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.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")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.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?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.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 Ut.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 Ut.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ut.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?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Ut.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let N=!1,I=P;for(;I;){if(I.tabNav===!0){N=!0;break}else if(I.tabNav===!1){N=!1;break}else if(le.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=re.getParentNode(I,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav: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)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const X=document.querySelector(".wcContainer");if(X&&(X.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ai.navigateIframe(l,t,n);else{const ce=t.get(),Z=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Z),withoutSync:!0})}}const Q=document.querySelector(".lui-tab-header");Q&&Q.dispatchEvent(new Event("lui_ctx_update")),Ut.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 Ut.extractDataFromPath(e);ip.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)){zn.deleteNodesRecursively(c);break}}else r=!1}}else zn.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(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=ai.getActiveIframe(r);a&&a.vg&&ai.canCache(a.vg)?(ai.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{ai.switchActiveIframe(Ae.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,Ae.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.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={...Fk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.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:dr.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&&dr.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&&Jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),dr.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 at=new Gk;class Kk{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=Ae.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?le.getPathWithoutHash(t):"",l=await Ut.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){dr.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(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.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:le.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,le.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}),Ae.getIframeContainer().style.marginBottom="",ht.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`,Ae.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="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ht=new Kk;class jk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Jk=new jk;class Yk{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 si=new Yk;class Qk{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.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=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await mi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await mi.handleAuthEvent("onAuthSuccessful",e,t),si.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await mi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.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=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await mi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const cn=new Qk;class Zk{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(le.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 Yr=new Zk;class Xk{getStoredAuthData(){return si.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await mi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new Xk;class $k{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 pr=new $k;class xk{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=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.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=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.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 _k.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.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(le.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){Ae.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=Yr.hasDecorators()?Yr.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:le.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(le.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=[...Ae.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 Ae.specialIframeTypes.filter(n=>Ae.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:Go.getActiveFeatureToggleList(),currentLocale:Tt.getCurrentLocale(),currentTheme:Bo.getCurrentTheme()}}}const Ae=new xk;class e2{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=Jr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Jr.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 Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(zi.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 le=new e2;class t2{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 le.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=Go.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(mi.isAuthorizationEnabled()){const r=fl.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];le.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),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.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?"":Tt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ut.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 Ut.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||"/";at.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?Tt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Tt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ut.extractDataFromPath(e);return!!await Ut.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Jr.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=>{Jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Tt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.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&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new t2;class n2{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 rs.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");Fn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?at.getHashPath():at.getModifiedPathname();e(l)}}),Fn.addEventListener("popstate",n=>{const l=t?at.getHashPath(location.href):at.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:at.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+le.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=le.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=le.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=Tt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.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];ul.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Go.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 ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.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&&ul.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:Tt.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 n2;class i2{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 pn=new i2;class l2{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 Fn=new l2;class r2{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}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const a2=new r2;class s2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.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=Ae.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 cr=new s2,Kr=38,hr=40,hl=13,Wl=27,Qr=32,o2=36,u2=35;class rp{constructor(e,t){Ul(this,"dispatch");Ul(this,"search");Ul(this,"isCustomSearchRenderer");Ul(this,"isCustomSearchResultItemRenderer");Ul(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.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=Tt.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Tt.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?le.isFunction(this.search.searchProvider.onEnter)&&e===hl?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===Wl?this.search.searchProvider.onEscape():e===hr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.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===hr&&(o=r!==null?r:t[0]),e===Kr&&(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&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Wl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===hl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Kr||t===hr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===Wl&&(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?at.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&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Qf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Zf(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){A(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&&L(e),p=!1,b()}}}function f2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Zf(Qf(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Qf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Zf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:We,o:We,d(l){l&&L(e),ft(n,l),i[5](null)}}}function c2(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=kt("getUnsavedChangesModalPromise"),c=kt("handleNavigation");Gn(()=>{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=pr.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)}),nn(()=>{});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 d2 extends Vt{constructor(e){super(),Dt(this,e,c2,f2,Et,{alertQueue:0,alertTypeMap:1})}}function Xf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Mn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=Mn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function $f(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){A(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+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function h2(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,E,H,D,O=i[0].type&&Xf(i),z=i[0].buttonConfirm!==!1&&$f(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",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Q,X){A(Q,e,X),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||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[X]){Q[0].type?O?O.p(Q,X):(O=Xf(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),X&1&&c!==(c=Q[0].header+"")&&Le(h,c),X&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,X):(z=$f(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),X&1&&N!==(N=Q[0].buttonDismiss+"")&&Le(I,N),X&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),X&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:We,o:We,d(Q){Q&&L(e),O&&O.d(),z&&z.d(),H=!1,Je(D)}}}function g2(i,e,t){const n=Jt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),nn(()=>{const d={icon:r[l.type],header:Tt.getTranslation("luigi.confirmationModal.header"),body:Tt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Wl&&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 _2 extends Vt{constructor(e){super(),Dt(this,e,g2,h2,Et,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function p2(i){let e,t,n;const l=i[5].default,r=ds(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){A(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&gs(r,l,a,a[4],n?hs(l,a[4],o,null):_s(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function m2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();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=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return nn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Fn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),Gn(()=>{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 gl extends Vt{constructor(e){super(),Dt(this,e,m2,p2,Et,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function xf(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new gl({props:{disable:i[2]}});let v=i[0].title&&ec(i);return{c(){e=S("div"),Me(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){A(C,e,y),Ve(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=ec(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||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(t),v&&v.d(),b=!1,m()}}}function ec(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&L(e)}}}function tc(i){let e;const t=i[10].default,n=ds(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)&&gs(n,t,l,l[9],e?hs(t,l[9],r,null):_s(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function nc(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>
53
53
  <div class="fd-busy-indicator__circle"></div>
54
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function b2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&xf(i),C=i[4]&&tc(i),y=i[3]&&nc();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=Mn(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){A(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&&R(v,1)):(v=xf(P),v.c(),R(v,1),v.m(t,n)):v&&(ve(),U(v,1,1,()=>{v=null}),we()),P[4]?C?(C.p(P,N),N&16&&R(C,1)):(C=tc(P),C.c(),R(C,1),C.m(l,r)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),(!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=nc(),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=Mn(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||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function v2(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=Jt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=kt("store");const E=G=>re.getNodeLabel(G),H=async G=>{const j=G&&G.length?le.getPathWithoutHash(G):"",ae=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ae);const fe=await Ut.extractDataFromPath(G);g=fe.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=E(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=E(g),r),t(0,r._liveLabel=!0,r)),p=fe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),dr.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 j=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,j;const ae=document.querySelector(".lui-modal-index-"+c),{size:fe,width:ne,height:se}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&se&&se.match(Se))G=se,j=ne;else switch(fe){case"fullscreen":G="100vh",j="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",j="60%";break;case"s":G="80%",j="40%";break;default:G="80%",j="80%"}ae.setAttribute("style",`width:${j};height:${G};`)},z=async(G,j)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,j));const ae=await Ae.createIframe(G,void 0,g,"modal",j);return document.querySelector(I).appendChild(ae),ae};async function Q(G){let j="";const ae=document.getElementsByClassName("drawer"),fe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",j):(fe[0].setAttribute("style",j),ae[0].setAttribute("style","width:100%"))}Zr(()=>{D(o)});const X=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)&&ce()),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")&&at.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};nn(()=>{pn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Fn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.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)}),Xr(()=>{Fn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){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 Z=()=>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,Z]}class ap extends Vt{constructor(e){super(),Dt(this,e,v2,b2,Et,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ic(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 lc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=pc(ic(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){A(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ic(r,n,o);l[o]?l[o].p(c,a):(l[o]=pc(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&&L(e),ft(l,r)}}}function oc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?k2:w2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(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){l.d(r),r&&L(e)}}}function w2(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){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function k2(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){A(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&&L(e),l=!1,r()}}}function uc(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&&fc(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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Bt(N))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?I?I.p(i,E):(I=fc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&L(e),I&&I.d(),C=!1,Je(y)}}}function fc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=cc(rc(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=rc(l,t,a);n[a]?n[a].p(o,r):(n[a]=cc(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&&L(e),ft(n,l)}}}function cc(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"),jt(e,"is-selected",i[4]===i[33]),jt(e,"is-focus",i[4]===i[33])},m(d,g){A(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])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&jt(e,"is-selected",i[4]===i[33]),g[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Je(c)}}}function dc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=hc(lc(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){A(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const h=lc(a,l,c);r[c]?r[c].p(h,o):(r[c]=hc(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&&L(e),ft(r,a)}}}function hc(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){A(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])+"")&&Le(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&&L(e),h=!1,d()}}}function gc(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){A(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&&L(e),h=!1,d()}}}function _c(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){A(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&&L(e),n=!1,l()}}}function pc(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"&&oc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&uc(i),y=g&&dc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&gc(i),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&_c(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){A(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)+"")&&Le(r,l),I[28].type==="string"?v?v.p(I,V):(v=oc(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=uc(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=dc(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=gc(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=_c(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function S2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ac(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(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=ac(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:We,o:We,d(r){r&&L(e),l&&l.d(),t=!1,Je(n)}}}function is(i,e,t){if(i&&t>0)return i.matches(e)?i:is(i.parentNode,e,t-1)}function C2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=kt("getTranslation");vi(i,o,Z=>t(5,n=Z));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Z,G){let j=is(Z.target,".fd-popover__control",20),ae=j.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(j,!ae))}function m(Z,G){const j=Z.querySelector(".lui-activate-dropdown"),ae=Z.parentNode.querySelector(".fd-popover__body"),fe=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),fe.setAttribute("aria-expanded",G),j.setAttribute("aria-expanded",G),t(14,h=G)}function v(Z,G,j){t(4,c=j),t(0,r[l[0]][Z]=G.value||G,r)}function C(Z,G){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const ae=j.getAttribute("id"),fe=`lui-us-enum_button_${Z}_option`;ae===fe?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=G.value||G,r)}function y(Z,G){let j;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(le.isObject(G[ae])){if(G[ae].value&&G[ae].value===Z){j=G[ae].label,t(4,c=ae);break}}else{j=Z,t(4,c=G.indexOf(Z));break}return n(j)}}function P(Z){return n(le.isObject(Z)?Z.label:Z)}function N(Z,G,j){return le.isObject(j)?`${Z}_${G}_${j.value}`:`${Z}_${G}_${j}`}function I(Z,G,j,ae){let fe=is(Z.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${j}`).children;let se=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(se=ie)}),h){if(Z.keyCode===Kr&&Z.altKey&&(fe.click(),fe.focus()),Z.keyCode===hr&&!Z.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<ae.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if(Z.keyCode===Kr&&!Z.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<ae.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}(Z.keyCode===hl||Z.keyCode===Qr)&&v(G,ae.options[se],se)}else fe.focus(),Z.keyCode===hr&&Z.altKey&&fe.click(),Z.keyCode===hr&&!Z.altKey&&se<ae.options.length-1&&v(G,ae.options[se+1],se+1),Z.keyCode===Kr&&!Z.altKey&&se>0&&se<ae.options.length&&v(G,ae.options[se-1],se-1)}function V(Z){if(h){let G=is(Z.target,".fd-popover",20);G.blur(),(Z.keyCode===Qr||Z.keyCode===hl)&&(Z.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const H=(Z,G,j,ae)=>I(ae,Z,G,j),D=Z=>b(event,Z.isEditable),O=(Z,G,j)=>v(Z,G,j),z=Z=>V(Z),Q=(Z,G)=>C(Z,G);function X(Z){r[l[0]][Z]=this.checked,t(0,r)}function ce(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,h=Z.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,E,H,D,O,z,Q,X,ce]}class y2 extends Vt{constructor(e){super(),Dt(this,e,C2,S2,Et,{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:mc}=pl;function bc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function vc(i,e,t){const n=i.slice();return n[37]=e[t],n}function wc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?I2:P2}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),A(o,t,c),A(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){a.d(o),o&&L(t),o&&L(n)}}}function P2(i){let e,t,n,l,r,a=i[37][1].initials&&kc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=Mn(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),On(e,"background-image","url('"+i[37][1].icon+"')"),On(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=Mn(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&On(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=kc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function I2(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Mn(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=Mn(l[18](l[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n)},d(l){l&&L(e)}}}function kc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Mn(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=Mn(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function Sc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&wc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...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-12fj8b7"),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){A(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",mt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[37][1].icon?v?v.p(i,N):(v=wc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),N[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&L(e),v&&v.d(),b=!1,Je(m)}}}function Cc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(vc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=vc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Sc(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){ft(n,l),l&&L(e)}}}function yc(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 y2({props:o}),je.push(()=>wt(e,"closeDropDown",r,i[9])),je.push(()=>wt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Me(e.$$.fragment)},m(c,h){Ve(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],vt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],vt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function N2(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,E,H,D,O,z,Q,X,ce,Z=i[10](i[5])+"",G,j,ae,fe,ne=i[10](i[6])+"",se,Se,ie,Re,ze=Object.entries(i[1]),Ce=[];for(let Fe=0;Fe<ze.length;Fe+=1)Ce[Fe]=Cc(bc(i,ze,Fe));let Pe=i[11]&&yc(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 Fe=0;Fe<Ce.length;Fe+=1)Ce[Fe].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"),E=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Q=S("div"),X=S("div"),ce=S("button"),G=Ne(Z),j=W(),ae=S("div"),fe=S("button"),se=Ne(ne),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),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-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(E,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(fe,"data-testid","lui-us-dismissBtn"),f(fe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(Q,"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-12fj8b7"),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-12fj8b7"),f(e,"tabindex","0")},m(Fe,ct){A(Fe,e,ct),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 qe=0;qe<Ce.length;qe+=1)Ce[qe].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,E),Pe&&Pe.m(E,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Q),w(Q,X),w(X,ce),w(ce,G),w(Q,j),w(Q,ae),w(ae,fe),w(fe,se),Se=!0,ie||(Re=[ee(mc,"resize",i[20]),ee(mc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(fe,"click",i[26])],ie=!0)},p(Fe,ct){if((!Se||ct[0]&1040)&&c!==(c=Fe[10](Fe[4])+"")&&Le(h,c),ct[0]&803846){ze=Object.entries(Fe[1]);let qe;for(qe=0;qe<ze.length;qe+=1){const dt=bc(Fe,ze,qe);Ce[qe]?Ce[qe].p(dt,ct):(Ce[qe]=Cc(dt),Ce[qe].c(),Ce[qe].m(p,null))}for(;qe<Ce.length;qe+=1)Ce[qe].d(1);Ce.length=ze.length}(!Se||ct[0]&1152)&&P!==(P=Fe[10](Fe[7])+"")&&Le(N,P),Fe[11]?Pe?(Pe.p(Fe,ct),ct[0]&2048&&R(Pe,1)):(Pe=yc(Fe),Pe.c(),R(Pe,1),Pe.m(E,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!Se||ct[0]&1056)&&Z!==(Z=Fe[10](Fe[5])+"")&&Le(G,Z),(!Se||ct[0]&1088)&&ne!==(ne=Fe[10](Fe[6])+"")&&Le(se,ne)},i(Fe){Se||(R(Pe),Se=!0)},o(Fe){U(Pe),Se=!1},d(Fe){Fe&&L(e),ft(Ce,Fe),Pe&&Pe.d(),ie=!1,Je(Re)}}}function Pc(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 T2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function L2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function sp(i,e,t){if(i&&t>0)return i.matches(e)?i:sp(i.parentNode,e,t-1)}function Ic(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function A2(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},h=kt("getTranslation");vi(i,h,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,g=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),nn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),Se=se||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Fn.addEventListener("message",ie=>{const Re=Ae.getValidMessageSource(ie);if(!Re||ie.data.msg!=="custom")return;Re._ready=!0;const ze=as.convertCustomMessageInternalToUser(ie.data),Ce="luigi.updateUserSettings";if(ze.id===Ce){const Pe=cr.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Fe=Pe.getAttribute("userSettingsGroup");t(0,o[Fe]=ze.data,o)}}ze.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Pc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Pc(JSON.parse(JSON.stringify(l)),ie)),N([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let Se in se.settings){let ie=se.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function N(se,Se){t(11,a=se);let ie=se[0],Re=se[1];if(P(Re),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Ce=>{Ce.classList.remove("is-selected")}),sp(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<fn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()),Re.viewUrl){if(cr.hideUserSettingsIframe(),b.hasOwnProperty(ie))cr.getUserSettingsIframesInDom().forEach(ze=>{ze.userSettingsGroup===ie&&(ze.style.display="block")});else{const ze=Yr.hasDecorators()?Yr.applyDecorators(Re.viewUrl):Re.viewUrl;let Ce=cr.createIframe(ze,ie);b[ie]=Ce}T2()}else L2()}const I=se=>{t(0,o=se.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function E(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()}function D(se){return re.renderIconClassName(se)}function O(se){return re.isOpenUIiconName(se.icon)}let z;const Q=()=>{const se=window.innerWidth>=fn.desktopMinWidth&&z<fn.desktopMinWidth;if(window.innerWidth<fn.desktopMinWidth&&z>=fn.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"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<fn.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function X(se,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===hl||se.keyCode===Qr)&&ie[Se].click(),se.keyCode===u2&&ie[Object.keys(l).length-1].focus(),se.keyCode===o2&&ie[0].focus()}function ce(se){se.keyCode===Wl&&C?y():se.keyCode===Wl&&!C&&r("close")}const Z=se=>N(se,event),G=(se,Se)=>X(Se,[se]);function j(se){y=se,t(9,y)}function ae(se){C=se,t(8,C)}const fe=()=>V(),ne=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,X,ce,d,g,p,v,C,y,n,a,r,h,N,I,V,H,D,O,Q,Z,G,j,ae,fe,ne]}class E2 extends Vt{constructor(e){super(),Dt(this,e,A2,N2,Et,{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:R2}=pl;function D2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function V2(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){A(h,e,d),w(e,t),A(h,n,d),A(h,l,d),w(l,a),o||(c=ee(t,"click",Bt(mt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&L(e),h&&L(n),h&&L(l),o=!1,c()}}}function Nc(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){A(h,e,d),A(h,t,d),A(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Bt(mt(i[3]))),ee(n,"mousedown",Bt(i[6]))],o=!0)},p:We,d(h){h&&L(e),h&&L(t),h&&L(n),o=!1,Je(c)}}}function O2(i){let e,t,n,l,r,a,o,c,h,d;t=new gl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?V2:D2}let p=g(i),b=p(i),m=!i[0]&&Nc(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=ke(),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){A(v,e,C),Ve(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,h||(d=ee(R2,"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=Nc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Oe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),h=!1,d()}}}function M2(i,e,t){const n=Jt();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=kt("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:j=>{j&&Object.getOwnPropertyNames(j).forEach(ae=>{ae==="splitViewSettings"?t(1,C=j.splitViewSettings):ae==="lastNode"?r=j.lastNode:ae==="pathData"?a=j.pathData:ae==="nodeParams"?o=j.nodeParams:ae==="collapsed"?t(0,v=j.collapsed):ae==="isDataPrepared"?t(8,y=j.isDataPrepared):ae==="currentNode"?c=j.currentNode:ae==="splitViewIframe"?d=j.splitViewIframe:ae==="splitViewIframeData"?g=j.splitViewIframeData:ae==="splitViewWC"?p=j.splitViewWC:ae==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),E=async()=>{y?v||ht.createAndSetView(V()):await ht.prepareSplitViewData(V(),m)},H=()=>{l.split=ht.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ht.getDragger()},D=()=>{const j=ht.getDraggerBackdrop();j&&(j.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${ht.splitViewValues.top}px`),l.split.style.top=`${ht.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(j){if(Ae.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&ht.close(V()),j.data.msg==="luigi.navigation.splitview.collapse"&&z(),j.data.msg==="luigi.navigation.splitview.expand"&&Q(),j.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(j.data.data);if(ht.calculateAndSetSplitViewValues(ae,ht.internalValues),v)return;D(),ht.sendMessageToClients("resize.ok",ht.splitViewValues.percent)}}nn(()=>{X(),h=O.bind(this),Fn.addEventListener("message",h)}),Zr(()=>{E(),N!==y&&!v&&(N=y,D())}),Xr(()=>{window.removeEventListener("message",h)});function z(){ht.collapse(V())}async function Q(){await ht.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const j=le.getShellbarHeight();ht.internalValues.innerHeight=le.getInnerHeight(),ht.internalValues.rightContentHeight=ht.internalValues.innerHeight-j,ht.internalValues.thresholdBottom=30,ht.internalValues.thresholdTop=j+30,ht.calculateAndSetSplitViewValues(ht.splitViewValues.percent,ht.internalValues),v||D()}function ce(j){let ae=j.y,fe={};const ne=function(ze){const Ce=ae-ze.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||Ce===0)return;const Fe=Pe-Ce,ct=ht.internalValues.innerHeight-Fe,qe=ht.enforceTresholds(Fe,ct);Fe<qe.top||ct<qe.bottom||(fe=qe,ae=ze.y,l.draggable.style.top=`${fe.top}px`)},se=function(){if(Se(),!fe.top||!fe.bottom||fe.top==ht.internalValues.m_pos_prev){ht.getDraggerBackdrop().style.display="none";return}ht.internalValues.m_pos_prev=fe.top,ht.splitViewValues=fe,D(),ht.sendMessageToClients("resize.ok",fe.percent)},Se=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),Se(),ie(),ht.getDraggerBackdrop().style.display="block"}const Z=j=>{let ae=ht.getDraggerButton();ae&&(ae.style.display=j?"block":"none"),ae=ht.getCollapsedDraggerButton(),ae&&(ae.style.display=j?"block":"none")},G=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[v,C,P,z,Q,X,ce,G,y,m]}class op extends Vt{constructor(e){super(),Dt(this,e,M2,O2,Et,{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 Tc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:B2,then:U2,catch:F2,value:1};return ls(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){A(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())&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function F2(i){return{c:We,m:We,p:We,d:We}}function U2(i){let e,t=i[1]>0&&Lc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Lc(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){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function B2(i){return{c:We,m:We,p:We,d:We}}function H2(i){let e,t=i[0]&&i[0].badgeCounter&&Tc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function W2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Tn extends Vt{constructor(e){super(),Dt(this,e,W2,H2,Et,{node:0})}}function Ac(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){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&L(e)}}}function q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ac(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class $n extends Vt{constructor(e){super(),Dt(this,e,z2,q2,Et,{node:0})}}function G2(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=ds(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){A(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",Bt(mt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Le(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)&&gs(N,P,I,I[3],v?hs(P,I[3],V,null):_s(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(R(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&L(e),N&&N.d(I),C=!1,Je(y)}}}function K2(i){let e;const t=i[4].default,n=ds(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)&&gs(n,t,l,l[3],e?hs(t,l[3],r,null):_s(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function j2(i){let e,t,n,l;const r=[K2,G2],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=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function J2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class Y2 extends Vt{constructor(e){super(),Dt(this,e,J2,j2,Et,{navGroup:1,expanded:0})}}const{window:es}=pl;function Ec(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Rc(i,e,t){const n=i.slice();return n[99]=e[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[92]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Uc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Q2(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Hc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Gc(i),b=(i[2]||i[3])&&_d(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){A(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=Hc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Gc(m),p.c(),R(p,1),p.m(l,null)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),m[2]||m[3]?b?b.p(m,v):(b=_d(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||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Z2(i){let e,t,n,l,r=i[12]&&md(i),a=i[0]&&i[5].length>1&&kd(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"),On(e,"width","var(--luigi__left-sidenav--width)"),On(e,"height","100%")},m(o,c){A(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=md(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=kd(o),a.c(),R(a,1),a.m(e,null)):a&&(ve(),U(a,1,1,()=>{a=null}),we()),(!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||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Hc(i){let e,t=!i[12].renderer&&Wc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(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=Wc(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[62](null)}}}function Wc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&qc(i),g=i[12].showUpLink&&zc(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){A(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=qc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=zc(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&&L(e),d&&d.d(),g&&g.d()}}}function qc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?$2:X2}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function X2(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(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&&L(e)}}}function $2(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){A(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&&L(e)}}}function zc(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){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Gc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=gd(Ec(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=Mn(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){A(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=c[13];let d;for(d=0;d<r.length;d+=1){const g=Ec(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=gd(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ve(),d=r.length;d<a.length;d+=1)o(d);we()}(!l||h[0]&8388608&&n!==(n=Mn(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)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&L(e),ft(a,c)}}}function x2(i){let e,t,n,l;const r=[nS,tS],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=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function eS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=hd(Oc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Oc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=hd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function tS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&Kc(i),g=i[96],p=[];for(let m=0;m<g.length;m+=1)p[m]=Xc(Rc(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=ke(),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){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].metaInfo.icon?d?d.p(m,v):(d=Kc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[95])+"")&&Le(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=m[96];let C;for(C=0;C<g.length;C+=1){const y=Rc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Xc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ve(),C=g.length;C<p.length;C+=1)b(C);we()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ft(p,m),m&&L(c)}}}function nS(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,E,H,D,O,z,Q,X,ce;function Z(Ce,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!Ce[32](Ce[96].metaInfo.icon)),l?fS:uS}let G=Z(i,[-1,-1,-1,-1]),j=G(i);function ae(){return i[65](i[96])}function fe(){return i[66](i[96])}function ne(...Ce){return i[67](i[96],...Ce)}let se=i[96],Se=[];for(let Ce=0;Ce<se.length;Ce+=1)Se[Ce]=nd(Vc(i,se,Ce));const ie=Ce=>U(Se[Ce],1,1,()=>{Se[Ce]=null});let Re=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&id(i);function ze(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),j.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),E=S("ul");for(let Ce=0;Ce<Se.length;Ce+=1)Se[Ce].c();D=W(),Re&&Re.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 "+(tn(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=tn(i[96],i[9])),f(C,"class",y=tn(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=tn(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(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!tn(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])),jt(e,"lui-item-expanded",tn(i[96],i[9]))},m(Ce,Pe){A(Ce,e,Pe),w(e,t),w(t,n),j.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Fe=0;Fe<Se.length;Fe+=1)Se[Fe].m(E,null);w(e,D),Re&&Re.m(e,null),w(e,O),Q=!0,X||(ce=[ee(n,"click",mt(ae)),ee(v,"click",mt(fe)),ee(t,"keypress",ne),ee(e,"click",Bt(ze))],X=!0)},p(Ce,Pe){if(i=Ce,G===(G=Z(i,Pe))&&j?j.p(i,Pe):(j.d(1),j=G(i),j&&(j.c(),j.m(n,r))),(!Q||Pe[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!Q||Pe[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(tn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Pe[0]&8704&&b!==(b=tn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Pe[0]&8704&&y!==(y=tn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Pe[0]&8704&&P!==(P=tn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Pe[0]&8704&&N!==(N=i[41](i[96],i[9])))&&f(v,"title",N),(!Q||Pe[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Pe[0]&1090592896|Pe[1]&532){se=i[96];let Fe;for(Fe=0;Fe<se.length;Fe+=1){const ct=Vc(i,se,Fe);Se[Fe]?(Se[Fe].p(ct,Pe),R(Se[Fe],1)):(Se[Fe]=nd(ct),Se[Fe].c(),R(Se[Fe],1),Se[Fe].m(E,null))}for(ve(),Fe=se.length;Fe<Se.length;Fe+=1)ie(Fe);we()}(!Q||Pe[0]&8704&&H!==(H=!tn(i[96],i[9])))&&f(E,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?Re?(Re.p(i,Pe),Pe[0]&8448&&R(Re,1)):(Re=id(i),Re.c(),R(Re,1),Re.m(e,O)):Re&&(ve(),U(Re,1,1,()=>{Re=null}),we()),(!Q||Pe[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Pe[0]&8704)&&jt(e,"lui-item-expanded",tn(i[96],i[9]))},i(Ce){if(!Q){for(let Pe=0;Pe<se.length;Pe+=1)R(Se[Pe]);R(Re),Q=!0}},o(Ce){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(Re),Q=!1},d(Ce){Ce&&L(e),j.d(),ft(Se,Ce),Re&&Re.d(),X=!1,Je(ce)}}}function Kc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?lS:iS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function iS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function lS(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){A(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&&L(e)}}}function jc(i){let e,t,n=i[99].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jc(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(X,ce){return X[99].icon?aS:rS}let V=I(i),E=V(i),H=i[99].statusBadge&&Yc(i),D=i[99].externalLink&&i[99].externalLink.url&&Qc(),O=i[99].badgeCounter&&Zc(i);function z(...X){return i[73](i[99],...X)}function Q(...X){return i[74](i[99],...X)}return{c(){e=S("li"),t=S("a"),E.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[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=re.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(X,ce){A(X,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(N=[ee(t,"click",z),ee(t,"keyup",function(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(X,ce){i=X,V===(V=I(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r),i[99].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Yc(i),H.c(),R(H,1),H.m(l,null)):H&&(ve(),U(H,1,1,()=>{H=null}),we()),(!y||ce[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?D||(D=Qc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Zc(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!y||ce[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(X){y||(R(H),R(O),y=!0)},o(X){U(H),U(O),y=!1},d(X){X&&L(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Je(N)}}}function rS(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){A(o,e,c),A(o,n,c),A(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":"")&&Le(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function aS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?oS:sS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function sS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function oS(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){A(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&&L(e)}}}function Yc(i){let e,t;return e=new $n({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Zc(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Xc(i){let e,t,n=!i[99].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function fS(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){A(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&&L(e)}}}function $c(i){let e,t,n=i[99].label&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xc(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 $n({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&ed(),V=i[99].badgeCounter&&td(i);function E(...D){return i[68](i[99],...D)}function H(...D){return i[69](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(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=re.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(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(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",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(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=ed(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!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=re.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(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),I&&I.d(),V&&V.d(),P=!1,Je(N)}}}function ed(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function nd(i){let e,t,n=!i[99].hideFromNav&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function id(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=od(Dc(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){A(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].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[95])+"")&&Le(r,l),b[0]&1090592896|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Dc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=od(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),ft(d,p)}}}function ld(i){let e,t,n=i[99].label&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function rd(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 $n({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&ad(),V=i[99].badgeCounter&&sd(i);function E(...D){return i[70](i[99],...D)}function H(...D){return i[71](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(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=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(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",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(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=ad(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=sd(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!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=re.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(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),I&&I.d(),V&&V.d(),P=!1,Je(N)}}}function ad(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function sd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function od(i){let e,t,n=!i[99].hideFromNav&&ld(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ud(i){let e,t,n=i[99].label&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function fd(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(X,ce){return X[99].icon?dS:cS}let E=V(i),H=E(i);c=new $n({props:{node:i[99]}});let D=i[99].externalLink&&i[99].externalLink.url&&cd(),O=i[99].badgeCounter&&dd(i);function z(...X){return i[63](i[99],...X)}function Q(...X){return i[64](i[99],...X)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[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=re.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(X,ce){A(X,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),D&&D.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(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],N=!0)},p(X,ce){i=X,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Z={};ce[0]&8192&&(Z.node=i[99]),c.$set(Z),(!P||ce[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?D||(D=cd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=dd(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!P||ce[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[99])))&&f(t,"data-testid",C)},i(X){P||(R(c.$$.fragment,X),R(O),P=!0)},o(X){U(c.$$.fragment,X),U(O),P=!1},d(X){X&&L(e),H.d(),Oe(c),D&&D.d(),O&&O.d(),N=!1,Je(I)}}}function cS(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){A(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&&L(e)}}}function dS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?gS:hS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function gS(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){A(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&&L(e)}}}function cd(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){A(t,e,n)},d(t){t&&L(e)}}}function dd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function hd(i){let e,t,n=!i[99].hideFromNav&&ud(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ud(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function gd(i){let e,t,n,l,r,a;const o=[eS,x2],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(RS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function _d(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&pd(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){A(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]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=pd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function pd(i){let e;function t(r,a){return r[4]=="button"?pS:_S}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(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){l.d(r),r&&L(e)}}}function _S(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){A(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&&L(e),n=!1,Je(l)}}}function pS(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){A(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&&L(e),l=!1,r()}}}function md(i){let e,t=!i[12].renderer&&bd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(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=bd(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[49](null)}}}function bd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&vd(i),g=i[12].showUpLink&&wd(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){A(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=vd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=wd(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&&L(e),d&&d.d(),g&&g.d()}}}function vd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function mS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(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&&L(e)}}}function bS(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){A(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&&L(e)}}}function wd(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){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function kd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=i[14],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ud(Mc(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>
54
+ <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){A(t,e,n)},d(t){t&&L(e)}}}function b2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&xf(i),C=i[4]&&tc(i),y=i[3]&&nc();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=Mn(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){A(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&&R(v,1)):(v=xf(P),v.c(),R(v,1),v.m(t,n)):v&&(ve(),U(v,1,1,()=>{v=null}),we()),P[4]?C?(C.p(P,N),N&16&&R(C,1)):(C=tc(P),C.c(),R(C,1),C.m(l,r)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),(!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=nc(),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=Mn(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||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function v2(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=Jt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=kt("store");const E=G=>re.getNodeLabel(G),H=async G=>{const j=G&&G.length?le.getPathWithoutHash(G):"",ae=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ae);const fe=await Ut.extractDataFromPath(G);g=fe.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=E(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=E(g),r),t(0,r._liveLabel=!0,r)),p=fe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),dr.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 j=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,j;const ae=document.querySelector(".lui-modal-index-"+c),{size:fe,width:ne,height:se}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&se&&se.match(Se))G=se,j=ne;else switch(fe){case"fullscreen":G="100vh",j="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",j="60%";break;case"s":G="80%",j="40%";break;default:G="80%",j="80%"}ae.setAttribute("style",`width:${j};height:${G};`)},z=async(G,j)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,j));const ae=await Ae.createIframe(G,void 0,g,"modal",j);return document.querySelector(I).appendChild(ae),ae};async function Q(G){let j="";const ae=document.getElementsByClassName("drawer"),fe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",j):(fe[0].setAttribute("style",j),ae[0].setAttribute("style","width:100%"))}Zr(()=>{D(o)});const X=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)&&ce()),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")&&at.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};nn(()=>{pn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Fn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.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)}),Xr(()=>{Fn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){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 Z=()=>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,Z]}class ap extends Vt{constructor(e){super(),Dt(this,e,v2,b2,Et,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ic(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 lc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=pc(ic(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){A(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ic(r,n,o);l[o]?l[o].p(c,a):(l[o]=pc(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&&L(e),ft(l,r)}}}function oc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?k2:w2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(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){l.d(r),r&&L(e)}}}function w2(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){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function k2(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){A(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&&L(e),l=!1,r()}}}function uc(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&&fc(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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),I&&I.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Bt(N))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?I?I.p(i,E):(I=fc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&L(e),I&&I.d(),C=!1,Je(y)}}}function fc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=cc(rc(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=rc(l,t,a);n[a]?n[a].p(o,r):(n[a]=cc(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&&L(e),ft(n,l)}}}function cc(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"),jt(e,"is-selected",i[4]===i[33]),jt(e,"is-focus",i[4]===i[33])},m(d,g){A(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])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&jt(e,"is-selected",i[4]===i[33]),g[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Je(c)}}}function dc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=hc(lc(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){A(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const h=lc(a,l,c);r[c]?r[c].p(h,o):(r[c]=hc(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&&L(e),ft(r,a)}}}function hc(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){A(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])+"")&&Le(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&&L(e),h=!1,d()}}}function gc(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){A(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&&L(e),h=!1,d()}}}function _c(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){A(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&&L(e),n=!1,l()}}}function pc(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"&&oc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&uc(i),y=g&&dc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&gc(i),N=i[28].type==="boolean"&&i[28].style==="checkbox"&&_c(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){A(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)+"")&&Le(r,l),I[28].type==="string"?v?v.p(I,V):(v=oc(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=uc(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=dc(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=gc(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=_c(I),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(I){I&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function S2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ac(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(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=ac(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:We,o:We,d(r){r&&L(e),l&&l.d(),t=!1,Je(n)}}}function is(i,e,t){if(i&&t>0)return i.matches(e)?i:is(i.parentNode,e,t-1)}function C2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=kt("getTranslation");vi(i,o,Z=>t(5,n=Z));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Z,G){let j=is(Z.target,".fd-popover__control",20),ae=j.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(j,!ae))}function m(Z,G){const j=Z.querySelector(".lui-activate-dropdown"),ae=Z.parentNode.querySelector(".fd-popover__body"),fe=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),fe.setAttribute("aria-expanded",G),j.setAttribute("aria-expanded",G),t(14,h=G)}function v(Z,G,j){t(4,c=j),t(0,r[l[0]][Z]=G.value||G,r)}function C(Z,G){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const ae=j.getAttribute("id"),fe=`lui-us-enum_button_${Z}_option`;ae===fe?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=G.value||G,r)}function y(Z,G){let j;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(le.isObject(G[ae])){if(G[ae].value&&G[ae].value===Z){j=G[ae].label,t(4,c=ae);break}}else{j=Z,t(4,c=G.indexOf(Z));break}return n(j)}}function P(Z){return n(le.isObject(Z)?Z.label:Z)}function N(Z,G,j){return le.isObject(j)?`${Z}_${G}_${j.value}`:`${Z}_${G}_${j}`}function I(Z,G,j,ae){let fe=is(Z.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${j}`).children;let se=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(se=ie)}),h){if(Z.keyCode===Kr&&Z.altKey&&(fe.click(),fe.focus()),Z.keyCode===hr&&!Z.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<ae.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if(Z.keyCode===Kr&&!Z.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<ae.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}(Z.keyCode===hl||Z.keyCode===Qr)&&v(G,ae.options[se],se)}else fe.focus(),Z.keyCode===hr&&Z.altKey&&fe.click(),Z.keyCode===hr&&!Z.altKey&&se<ae.options.length-1&&v(G,ae.options[se+1],se+1),Z.keyCode===Kr&&!Z.altKey&&se>0&&se<ae.options.length&&v(G,ae.options[se-1],se-1)}function V(Z){if(h){let G=is(Z.target,".fd-popover",20);G.blur(),(Z.keyCode===Qr||Z.keyCode===hl)&&(Z.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const H=(Z,G,j,ae)=>I(ae,Z,G,j),D=Z=>b(event,Z.isEditable),O=(Z,G,j)=>v(Z,G,j),z=Z=>V(Z),Q=(Z,G)=>C(Z,G);function X(Z){r[l[0]][Z]=this.checked,t(0,r)}function ce(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,h=Z.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,E,H,D,O,z,Q,X,ce]}class y2 extends Vt{constructor(e){super(),Dt(this,e,C2,S2,Et,{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:mc}=pl;function bc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function vc(i,e,t){const n=i.slice();return n[37]=e[t],n}function wc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?I2:P2}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),A(o,t,c),A(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){a.d(o),o&&L(t),o&&L(n)}}}function P2(i){let e,t,n,l,r,a=i[37][1].initials&&kc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=Mn(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),On(e,"background-image","url('"+i[37][1].icon+"')"),On(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=Mn(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&On(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=kc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function I2(i){let e,t,n,l;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Mn(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class",l="fd-list__thumbnail "+(i[37][1].iconClassAttribute||"")+" svelte-12fj8b7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Mn(r[18](r[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[37][1].iconClassAttribute||"")+" svelte-12fj8b7")&&f(e,"class",l)},d(r){r&&L(e)}}}function kc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Mn(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=Mn(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function Sc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&wc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...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-12fj8b7"),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){A(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",mt(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[37][1].icon?v?v.p(i,N):(v=wc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),N[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&L(e),v&&v.d(),b=!1,Je(m)}}}function Cc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(vc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=vc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Sc(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){ft(n,l),l&&L(e)}}}function yc(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 y2({props:o}),je.push(()=>wt(e,"closeDropDown",r,i[9])),je.push(()=>wt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Me(e.$$.fragment)},m(c,h){Ve(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],vt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],vt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function N2(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,E,H,D,O,z,Q,X,ce,Z=i[10](i[5])+"",G,j,ae,fe,ne=i[10](i[6])+"",se,Se,ie,Re,ze=Object.entries(i[1]),Ce=[];for(let Fe=0;Fe<ze.length;Fe+=1)Ce[Fe]=Cc(bc(i,ze,Fe));let Pe=i[11]&&yc(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 Fe=0;Fe<Ce.length;Fe+=1)Ce[Fe].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"),E=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Q=S("div"),X=S("div"),ce=S("button"),G=Ne(Z),j=W(),ae=S("div"),fe=S("button"),se=Ne(ne),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),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-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(E,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(fe,"data-testid","lui-us-dismissBtn"),f(fe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(Q,"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-12fj8b7"),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-12fj8b7"),f(e,"tabindex","0")},m(Fe,ct){A(Fe,e,ct),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 qe=0;qe<Ce.length;qe+=1)Ce[qe].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,E),Pe&&Pe.m(E,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Q),w(Q,X),w(X,ce),w(ce,G),w(Q,j),w(Q,ae),w(ae,fe),w(fe,se),Se=!0,ie||(Re=[ee(mc,"resize",i[20]),ee(mc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(fe,"click",i[26])],ie=!0)},p(Fe,ct){if((!Se||ct[0]&1040)&&c!==(c=Fe[10](Fe[4])+"")&&Le(h,c),ct[0]&803846){ze=Object.entries(Fe[1]);let qe;for(qe=0;qe<ze.length;qe+=1){const dt=bc(Fe,ze,qe);Ce[qe]?Ce[qe].p(dt,ct):(Ce[qe]=Cc(dt),Ce[qe].c(),Ce[qe].m(p,null))}for(;qe<Ce.length;qe+=1)Ce[qe].d(1);Ce.length=ze.length}(!Se||ct[0]&1152)&&P!==(P=Fe[10](Fe[7])+"")&&Le(N,P),Fe[11]?Pe?(Pe.p(Fe,ct),ct[0]&2048&&R(Pe,1)):(Pe=yc(Fe),Pe.c(),R(Pe,1),Pe.m(E,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!Se||ct[0]&1056)&&Z!==(Z=Fe[10](Fe[5])+"")&&Le(G,Z),(!Se||ct[0]&1088)&&ne!==(ne=Fe[10](Fe[6])+"")&&Le(se,ne)},i(Fe){Se||(R(Pe),Se=!0)},o(Fe){U(Pe),Se=!1},d(Fe){Fe&&L(e),ft(Ce,Fe),Pe&&Pe.d(),ie=!1,Je(Re)}}}function Pc(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 T2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function L2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function sp(i,e,t){if(i&&t>0)return i.matches(e)?i:sp(i.parentNode,e,t-1)}function Ic(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function A2(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},h=kt("getTranslation");vi(i,h,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,g=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),nn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),Se=se||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Fn.addEventListener("message",ie=>{const Re=Ae.getValidMessageSource(ie);if(!Re||ie.data.msg!=="custom")return;Re._ready=!0;const ze=as.convertCustomMessageInternalToUser(ie.data),Ce="luigi.updateUserSettings";if(ze.id===Ce){const Pe=cr.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Fe=Pe.getAttribute("userSettingsGroup");t(0,o[Fe]=ze.data,o)}}ze.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Pc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Pc(JSON.parse(JSON.stringify(l)),ie)),N([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let Se in se.settings){let ie=se.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function N(se,Se){t(11,a=se);let ie=se[0],Re=se[1];if(P(Re),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Ce=>{Ce.classList.remove("is-selected")}),sp(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<fn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()),Re.viewUrl){if(cr.hideUserSettingsIframe(),b.hasOwnProperty(ie))cr.getUserSettingsIframesInDom().forEach(ze=>{ze.userSettingsGroup===ie&&(ze.style.display="block")});else{const ze=Yr.hasDecorators()?Yr.applyDecorators(Re.viewUrl):Re.viewUrl;let Ce=cr.createIframe(ze,ie);b[ie]=Ce}T2()}else L2()}const I=se=>{t(0,o=se.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function E(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()}function D(se){return re.renderIconClassName(se)}function O(se){return re.isOpenUIiconName(se.icon)}let z;const Q=()=>{const se=window.innerWidth>=fn.desktopMinWidth&&z<fn.desktopMinWidth;if(window.innerWidth<fn.desktopMinWidth&&z>=fn.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"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<fn.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function X(se,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===hl||se.keyCode===Qr)&&ie[Se].click(),se.keyCode===u2&&ie[Object.keys(l).length-1].focus(),se.keyCode===o2&&ie[0].focus()}function ce(se){se.keyCode===Wl&&C?y():se.keyCode===Wl&&!C&&r("close")}const Z=se=>N(se,event),G=(se,Se)=>X(Se,[se]);function j(se){y=se,t(9,y)}function ae(se){C=se,t(8,C)}const fe=()=>V(),ne=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,X,ce,d,g,p,v,C,y,n,a,r,h,N,I,V,H,D,O,Q,Z,G,j,ae,fe,ne]}class E2 extends Vt{constructor(e){super(),Dt(this,e,A2,N2,Et,{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:R2}=pl;function D2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function V2(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){A(h,e,d),w(e,t),A(h,n,d),A(h,l,d),w(l,a),o||(c=ee(t,"click",Bt(mt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&L(e),h&&L(n),h&&L(l),o=!1,c()}}}function Nc(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){A(h,e,d),A(h,t,d),A(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Bt(mt(i[3]))),ee(n,"mousedown",Bt(i[6]))],o=!0)},p:We,d(h){h&&L(e),h&&L(t),h&&L(n),o=!1,Je(c)}}}function O2(i){let e,t,n,l,r,a,o,c,h,d;t=new gl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?V2:D2}let p=g(i),b=p(i),m=!i[0]&&Nc(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=ke(),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){A(v,e,C),Ve(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,h||(d=ee(R2,"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=Nc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Oe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),h=!1,d()}}}function M2(i,e,t){const n=Jt();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=kt("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:j=>{j&&Object.getOwnPropertyNames(j).forEach(ae=>{ae==="splitViewSettings"?t(1,C=j.splitViewSettings):ae==="lastNode"?r=j.lastNode:ae==="pathData"?a=j.pathData:ae==="nodeParams"?o=j.nodeParams:ae==="collapsed"?t(0,v=j.collapsed):ae==="isDataPrepared"?t(8,y=j.isDataPrepared):ae==="currentNode"?c=j.currentNode:ae==="splitViewIframe"?d=j.splitViewIframe:ae==="splitViewIframeData"?g=j.splitViewIframeData:ae==="splitViewWC"?p=j.splitViewWC:ae==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),E=async()=>{y?v||ht.createAndSetView(V()):await ht.prepareSplitViewData(V(),m)},H=()=>{l.split=ht.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ht.getDragger()},D=()=>{const j=ht.getDraggerBackdrop();j&&(j.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${ht.splitViewValues.top}px`),l.split.style.top=`${ht.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(j){if(Ae.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&ht.close(V()),j.data.msg==="luigi.navigation.splitview.collapse"&&z(),j.data.msg==="luigi.navigation.splitview.expand"&&Q(),j.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(j.data.data);if(ht.calculateAndSetSplitViewValues(ae,ht.internalValues),v)return;D(),ht.sendMessageToClients("resize.ok",ht.splitViewValues.percent)}}nn(()=>{X(),h=O.bind(this),Fn.addEventListener("message",h)}),Zr(()=>{E(),N!==y&&!v&&(N=y,D())}),Xr(()=>{window.removeEventListener("message",h)});function z(){ht.collapse(V())}async function Q(){await ht.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const j=le.getShellbarHeight();ht.internalValues.innerHeight=le.getInnerHeight(),ht.internalValues.rightContentHeight=ht.internalValues.innerHeight-j,ht.internalValues.thresholdBottom=30,ht.internalValues.thresholdTop=j+30,ht.calculateAndSetSplitViewValues(ht.splitViewValues.percent,ht.internalValues),v||D()}function ce(j){let ae=j.y,fe={};const ne=function(ze){const Ce=ae-ze.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||Ce===0)return;const Fe=Pe-Ce,ct=ht.internalValues.innerHeight-Fe,qe=ht.enforceTresholds(Fe,ct);Fe<qe.top||ct<qe.bottom||(fe=qe,ae=ze.y,l.draggable.style.top=`${fe.top}px`)},se=function(){if(Se(),!fe.top||!fe.bottom||fe.top==ht.internalValues.m_pos_prev){ht.getDraggerBackdrop().style.display="none";return}ht.internalValues.m_pos_prev=fe.top,ht.splitViewValues=fe,D(),ht.sendMessageToClients("resize.ok",fe.percent)},Se=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),Se(),ie(),ht.getDraggerBackdrop().style.display="block"}const Z=j=>{let ae=ht.getDraggerButton();ae&&(ae.style.display=j?"block":"none"),ae=ht.getCollapsedDraggerButton(),ae&&(ae.style.display=j?"block":"none")},G=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[v,C,P,z,Q,X,ce,G,y,m]}class op extends Vt{constructor(e){super(),Dt(this,e,M2,O2,Et,{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 Tc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:B2,then:U2,catch:F2,value:1};return ls(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){A(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())&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function F2(i){return{c:We,m:We,p:We,d:We}}function U2(i){let e,t=i[1]>0&&Lc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Lc(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){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function B2(i){return{c:We,m:We,p:We,d:We}}function H2(i){let e,t=i[0]&&i[0].badgeCounter&&Tc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function W2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Tn extends Vt{constructor(e){super(),Dt(this,e,W2,H2,Et,{node:0})}}function Ac(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){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&L(e)}}}function q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ac(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class $n extends Vt{constructor(e){super(),Dt(this,e,z2,q2,Et,{node:0})}}function G2(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=ds(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){A(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",Bt(mt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Le(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)&&gs(N,P,I,I[3],v?hs(P,I[3],V,null):_s(I[3]),null),(!v||V&2&&m!==(m=I[1].uid))&&f(g,"navgroupid",m)},i(I){v||(R(N,I),v=!0)},o(I){U(N,I),v=!1},d(I){I&&L(e),N&&N.d(I),C=!1,Je(y)}}}function K2(i){let e;const t=i[4].default,n=ds(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)&&gs(n,t,l,l[3],e?hs(t,l[3],r,null):_s(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function j2(i){let e,t,n,l;const r=[K2,G2],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=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function J2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class Y2 extends Vt{constructor(e){super(),Dt(this,e,J2,j2,Et,{navGroup:1,expanded:0})}}const{window:es}=pl;function Ec(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Rc(i,e,t){const n=i.slice();return n[99]=e[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[92]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Uc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Q2(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Hc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Gc(i),b=(i[2]||i[3])&&_d(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){A(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=Hc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Gc(m),p.c(),R(p,1),p.m(l,null)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),m[2]||m[3]?b?b.p(m,v):(b=_d(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||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Z2(i){let e,t,n,l,r=i[12]&&md(i),a=i[0]&&i[5].length>1&&kd(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"),On(e,"width","var(--luigi__left-sidenav--width)"),On(e,"height","100%")},m(o,c){A(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=md(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=kd(o),a.c(),R(a,1),a.m(e,null)):a&&(ve(),U(a,1,1,()=>{a=null}),we()),(!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||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Hc(i){let e,t=!i[12].renderer&&Wc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(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=Wc(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[62](null)}}}function Wc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&qc(i),g=i[12].showUpLink&&zc(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){A(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=qc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=zc(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&&L(e),d&&d.d(),g&&g.d()}}}function qc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?$2:X2}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function X2(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(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&&L(e)}}}function $2(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){A(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&&L(e)}}}function zc(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){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Gc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=gd(Ec(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=Mn(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){A(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=c[13];let d;for(d=0;d<r.length;d+=1){const g=Ec(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=gd(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ve(),d=r.length;d<a.length;d+=1)o(d);we()}(!l||h[0]&8388608&&n!==(n=Mn(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)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&L(e),ft(a,c)}}}function x2(i){let e,t,n,l;const r=[nS,tS],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=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function eS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=hd(Oc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Oc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=hd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function tS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&Kc(i),g=i[96],p=[];for(let m=0;m<g.length;m+=1)p[m]=Xc(Rc(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=ke(),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){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].metaInfo.icon?d?d.p(m,v):(d=Kc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[95])+"")&&Le(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=m[96];let C;for(C=0;C<g.length;C+=1){const y=Rc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Xc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ve(),C=g.length;C<p.length;C+=1)b(C);we()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ft(p,m),m&&L(c)}}}function nS(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,E,H,D,O,z,Q,X,ce;function Z(Ce,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!Ce[32](Ce[96].metaInfo.icon)),l?fS:uS}let G=Z(i,[-1,-1,-1,-1]),j=G(i);function ae(){return i[65](i[96])}function fe(){return i[66](i[96])}function ne(...Ce){return i[67](i[96],...Ce)}let se=i[96],Se=[];for(let Ce=0;Ce<se.length;Ce+=1)Se[Ce]=nd(Vc(i,se,Ce));const ie=Ce=>U(Se[Ce],1,1,()=>{Se[Ce]=null});let Re=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&id(i);function ze(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),j.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),E=S("ul");for(let Ce=0;Ce<Se.length;Ce+=1)Se[Ce].c();D=W(),Re&&Re.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 "+(tn(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=tn(i[96],i[9])),f(C,"class",y=tn(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=tn(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(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!tn(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])),jt(e,"lui-item-expanded",tn(i[96],i[9]))},m(Ce,Pe){A(Ce,e,Pe),w(e,t),w(t,n),j.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Fe=0;Fe<Se.length;Fe+=1)Se[Fe].m(E,null);w(e,D),Re&&Re.m(e,null),w(e,O),Q=!0,X||(ce=[ee(n,"click",mt(ae)),ee(v,"click",mt(fe)),ee(t,"keypress",ne),ee(e,"click",Bt(ze))],X=!0)},p(Ce,Pe){if(i=Ce,G===(G=Z(i,Pe))&&j?j.p(i,Pe):(j.d(1),j=G(i),j&&(j.c(),j.m(n,r))),(!Q||Pe[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!Q||Pe[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(tn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Pe[0]&8704&&b!==(b=tn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Pe[0]&8704&&y!==(y=tn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Pe[0]&8704&&P!==(P=tn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Pe[0]&8704&&N!==(N=i[41](i[96],i[9])))&&f(v,"title",N),(!Q||Pe[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Pe[0]&1090592896|Pe[1]&532){se=i[96];let Fe;for(Fe=0;Fe<se.length;Fe+=1){const ct=Vc(i,se,Fe);Se[Fe]?(Se[Fe].p(ct,Pe),R(Se[Fe],1)):(Se[Fe]=nd(ct),Se[Fe].c(),R(Se[Fe],1),Se[Fe].m(E,null))}for(ve(),Fe=se.length;Fe<Se.length;Fe+=1)ie(Fe);we()}(!Q||Pe[0]&8704&&H!==(H=!tn(i[96],i[9])))&&f(E,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?Re?(Re.p(i,Pe),Pe[0]&8448&&R(Re,1)):(Re=id(i),Re.c(),R(Re,1),Re.m(e,O)):Re&&(ve(),U(Re,1,1,()=>{Re=null}),we()),(!Q||Pe[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Pe[0]&8704)&&jt(e,"lui-item-expanded",tn(i[96],i[9]))},i(Ce){if(!Q){for(let Pe=0;Pe<se.length;Pe+=1)R(Se[Pe]);R(Re),Q=!0}},o(Ce){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(Re),Q=!1},d(Ce){Ce&&L(e),j.d(),ft(Se,Ce),Re&&Re.d(),X=!1,Je(ce)}}}function Kc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?lS:iS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function iS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function lS(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){A(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&&L(e)}}}function jc(i){let e,t,n=i[99].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jc(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(X,ce){return X[99].icon?aS:rS}let V=I(i),E=V(i),H=i[99].statusBadge&&Yc(i),D=i[99].externalLink&&i[99].externalLink.url&&Qc(),O=i[99].badgeCounter&&Zc(i);function z(...X){return i[73](i[99],...X)}function Q(...X){return i[74](i[99],...X)}return{c(){e=S("li"),t=S("a"),E.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[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=re.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(X,ce){A(X,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(N=[ee(t,"click",z),ee(t,"keyup",function(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(X,ce){i=X,V===(V=I(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r),i[99].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Yc(i),H.c(),R(H,1),H.m(l,null)):H&&(ve(),U(H,1,1,()=>{H=null}),we()),(!y||ce[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?D||(D=Qc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Zc(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!y||ce[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(X){y||(R(H),R(O),y=!0)},o(X){U(H),U(O),y=!1},d(X){X&&L(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Je(N)}}}function rS(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){A(o,e,c),A(o,n,c),A(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":"")&&Le(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function aS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?oS:sS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function sS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function oS(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){A(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&&L(e)}}}function Yc(i){let e,t;return e=new $n({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Zc(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Xc(i){let e,t,n=!i[99].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function fS(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){A(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&&L(e)}}}function $c(i){let e,t,n=i[99].label&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xc(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 $n({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&ed(),V=i[99].badgeCounter&&td(i);function E(...D){return i[68](i[99],...D)}function H(...D){return i[69](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(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=re.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(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(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",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(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=ed(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!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=re.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(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),I&&I.d(),V&&V.d(),P=!1,Je(N)}}}function ed(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function nd(i){let e,t,n=!i[99].hideFromNav&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function id(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=od(Dc(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){A(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].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[95])+"")&&Le(r,l),b[0]&1090592896|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Dc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=od(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),ft(d,p)}}}function ld(i){let e,t,n=i[99].label&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function rd(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 $n({props:{node:i[99]}});let I=i[99].externalLink&&i[99].externalLink.url&&ad(),V=i[99].badgeCounter&&sd(i);function E(...D){return i[70](i[99],...D)}function H(...D){return i[71](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(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=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(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",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(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=ad(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=sd(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!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=re.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(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),I&&I.d(),V&&V.d(),P=!1,Je(N)}}}function ad(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function sd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function od(i){let e,t,n=!i[99].hideFromNav&&ld(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ud(i){let e,t,n=i[99].label&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function fd(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(X,ce){return X[99].icon?dS:cS}let E=V(i),H=E(i);c=new $n({props:{node:i[99]}});let D=i[99].externalLink&&i[99].externalLink.url&&cd(),O=i[99].badgeCounter&&dd(i);function z(...X){return i[63](i[99],...X)}function Q(...X){return i[64](i[99],...X)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[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=re.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(X,ce){A(X,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),D&&D.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(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],N=!0)},p(X,ce){i=X,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Z={};ce[0]&8192&&(Z.node=i[99]),c.$set(Z),(!P||ce[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?D||(D=cd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=dd(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!P||ce[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[99])))&&f(t,"data-testid",C)},i(X){P||(R(c.$$.fragment,X),R(O),P=!0)},o(X){U(c.$$.fragment,X),U(O),P=!1},d(X){X&&L(e),H.d(),Oe(c),D&&D.d(),O&&O.d(),N=!1,Je(I)}}}function cS(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){A(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&&L(e)}}}function dS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?gS:hS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(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&&L(e)}}}function gS(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){A(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&&L(e)}}}function cd(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){A(t,e,n)},d(t){t&&L(e)}}}function dd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function hd(i){let e,t,n=!i[99].hideFromNav&&ud(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ud(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function gd(i){let e,t,n,l,r,a;const o=[eS,x2],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(RS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function _d(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&pd(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){A(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]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=pd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function pd(i){let e;function t(r,a){return r[4]=="button"?pS:_S}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(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){l.d(r),r&&L(e)}}}function _S(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){A(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&&L(e),n=!1,Je(l)}}}function pS(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){A(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&&L(e),l=!1,r()}}}function md(i){let e,t=!i[12].renderer&&bd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(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=bd(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[49](null)}}}function bd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&vd(i),g=i[12].showUpLink&&wd(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){A(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=vd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=wd(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&&L(e),d&&d.d(),g&&g.d()}}}function vd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function mS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(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&&L(e)}}}function bS(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){A(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&&L(e)}}}function wd(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){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function kd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=i[14],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ud(Mc(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>
55
55
  <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){A(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)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=y[14];let N;for(N=0;N<m.length;N+=1){const I=Mc(y,m,N);v[N]?(v[N].p(I,P),R(v[N],1)):(v[N]=Ud(I),v[N].c(),R(v[N],1),v[N].m(t,n))}for(ve(),N=m.length;N<v.length;N+=1)C(N);we()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&L(e),ft(v,y),i[61](null),p=!1,Je(b)}}}function vS(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,E;function H(G,j){return j[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?SS:kS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function X(...G){return i[54](i[96],...G)}function ce(...G){return i[55](i[96],...G)}let Z=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Sd(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(),Z&&Z.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]:tn(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,j){A(G,e,j),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),Z&&Z.m(e,null),I=!0,V||(E=[ee(n,"click",mt(z)),ee(n,"keypress",mt(Q)),ee(n,"keypress",mt(X)),ee(t,"click",Bt(ce))],V=!0)},p(G,j){i=G,D===(D=H(i,j))&&O?O.p(i,j):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!I||j[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!I||j[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||j[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!I||j[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])))&&f(t,"aria-expanded",v),(!I||j[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]?Z?(Z.p(i,j),j[0]&16704&&R(Z,1)):(Z=Sd(i),Z.c(),R(Z,1),Z.m(e,null)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),(!I||j[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||j[0]&16384&&N!==(N=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",N)},i(G){I||(R(Z),I=!0)},o(G){U(Z),I=!1},d(G){G&&L(e),O.d(),Z&&Z.d(),V=!1,Je(E)}}}function wS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=Md(Bc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Bc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Md(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function kS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(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&&L(e)}}}function SS(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){A(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&&L(e)}}}function Sd(i){let e,t,n,l,r,a,o,c=i[6]&&Cd(i),h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ed(Uc(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){A(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].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=Cd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Uc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ed(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}(!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)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),ft(d,p)}}}function Cd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&yd(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){A(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=yd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[95])+"")&&Le(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&&L(e),g&&g.d()}}}function yd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function CS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(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&&L(e)}}}function yS(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){A(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&&L(e)}}}function Pd(i){let e,t,n=i[99].label&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Id(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,E=i[30](i[99])+"",H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,se;c=new $n({props:{node:i[99]}});let Se=i[99].externalLink&&i[99].externalLink.url&&Nd(),ie=i[99].badgeCounter&&Td(i);function Re(...qe){return i[56](i[99],...qe)}function ze(...qe){return i[57](i[99],...qe)}O=new $n({props:{node:i[99]}});let Ce=i[99].externalLink&&i[99].externalLink.url&&Ld(),Pe=i[99].badgeCounter&&Ad(i);function Fe(...qe){return i[58](i[99],...qe)}function ct(...qe){return i[59](i[99],...qe)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),N=S("li"),I=S("a"),V=S("span"),H=Ne(E),D=W(),Me(O.$$.fragment),Q=W(),Ce&&Ce.c(),X=W(),Pe&&Pe.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=re.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",ce=i[33](i[99])),f(I,"class",Z="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",j=re.getTestId(i[99])),f(I,"title",ae=i[35](i[99],i[30](i[99]))),On(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[98])},m(qe,dt){A(qe,e,dt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Ve(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),A(qe,P,dt),A(qe,N,dt),w(N,I),w(I,V),w(V,H),w(V,D),Ve(O,V,null),w(I,Q),Ce&&Ce.m(I,null),w(I,X),Pe&&Pe.m(I,null),fe=!0,ne||(se=[ee(n,"click",Re),ee(n,"keyup",function(){bi(i[24]?void 0:ze)&&(i[24]?void 0:ze).apply(this,arguments)}),ee(I,"click",Fe),ee(I,"keyup",function(){bi(i[24]?void 0:ct)&&(i[24]?void 0:ct).apply(this,arguments)})],ne=!0)},p(qe,dt){i=qe,(!fe||dt[0]&16384)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Ft={};dt[0]&16384&&(Ft.node=i[99]),c.$set(Ft),(!fe||dt[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=Nd(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[99].badgeCounter?ie?(ie.p(i,dt),dt[0]&16384&&R(ie,1)):(ie=Td(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(ve(),U(ie,1,1,()=>{ie=null}),we()),(!fe||dt[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!fe||dt[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!fe||dt[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!fe||dt[0]&16384&&y!==(y=re.getTestId(i[99])))&&f(t,"data-testid",y),(!fe||dt[0]&16384)&&E!==(E=i[30](i[99])+"")&&Le(H,E);const de={};dt[0]&16384&&(de.node=i[99]),O.$set(de),(!fe||dt[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?Ce||(Ce=Ld(),Ce.c(),Ce.m(I,X)):Ce&&(Ce.d(1),Ce=null),i[99].badgeCounter?Pe?(Pe.p(i,dt),dt[0]&16384&&R(Pe,1)):(Pe=Ad(i),Pe.c(),R(Pe,1),Pe.m(I,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!fe||dt[0]&16384&&ce!==(ce=i[33](i[99])))&&f(I,"href",ce),(!fe||dt[0]&16512&&Z!==(Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",Z),(!fe||dt[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!fe||dt[0]&16384&&j!==(j=re.getTestId(i[99])))&&f(I,"data-testid",j),(!fe||dt[0]&16384&&ae!==(ae=i[35](i[99],i[30](i[99]))))&&f(I,"title",ae)},i(qe){fe||(R(c.$$.fragment,qe),R(ie),R(O.$$.fragment,qe),R(Pe),fe=!0)},o(qe){U(c.$$.fragment,qe),U(ie),U(O.$$.fragment,qe),U(Pe),fe=!1},d(qe){qe&&L(e),Oe(c),Se&&Se.d(),ie&&ie.d(),qe&&L(P),qe&&L(N),Oe(O),Ce&&Ce.d(),Pe&&Pe.d(),ne=!1,Je(se)}}}function Nd(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){A(t,e,n)},d(t){t&&L(e)}}}function Td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ld(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Ad(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ed(i){let e,t,n=!i[99].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Rd(i){let e,t,n=i[99].label&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dd(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,E,H;function D(G,j){return G[99].icon?IS:PS}let O=D(i),z=O(i);h=new $n({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Vd(),X=i[99].badgeCounter&&Od(i);function ce(...G){return i[50](i[99],...G)}function Z(...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(),Me(h.$$.fragment),g=W(),Q&&Q.c(),p=W(),X&&X.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=re.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,j){A(G,e,j),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Ve(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),X&&X.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",ce),ee(n,"keyup",function(){bi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],E=!0)},p(G,j){i=G,O===(O=D(i))&&z?z.p(i,j):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||j[0]&16384)&&a!==(a=i[30](i[99])+"")&&Le(o,a);const ae={};j[0]&16384&&(ae.node=i[99]),h.$set(ae),(!V||j[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=Vd(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?X?(X.p(i,j),j[0]&16384&&R(X,1)):(X=Od(i),X.c(),R(X,1),X.m(n,b)):X&&(ve(),U(X,1,1,()=>{X=null}),we()),(!V||j[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||j[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||j[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||j[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||j[0]&16384&&N!==(N=re.getTestId(i[99])))&&f(n,"data-testid",N),(!V||j[0]&16512&&I!==(I=i[99]===i[7]))&&f(t,"aria-selected",I)},i(G){V||(R(h.$$.fragment,G),R(X),V=!0)},o(G){U(h.$$.fragment,G),U(X),V=!1},d(G){G&&L(e),z.d(),Oe(h),Q&&Q.d(),X&&X.d(),E=!1,Je(H)}}}function PS(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){A(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&&L(e)}}}function IS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?TS:NS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function NS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(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){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(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&&L(e)}}}function TS(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){A(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&&L(e)}}}function Vd(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){A(t,e,n)},d(t){t&&L(e)}}}function Od(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Md(i){let e,t,n=!i[99].hideFromNav&&Rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Fd(i){let e,t,n,l,r,a;const o=[wS,vS],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(ES).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function LS(i){let e,t,n=i[92].entries,l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Fc(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=a[92].entries;let c;for(c=0;c<n.length;c+=1){const h=Fc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ud(i){let e,t;return e=new Y2({props:{navGroup:i[92],expanded:i[92].groupEntry&&tn(i[92].groupEntry[1],i[9]),$$slots:{default:[LS]},$$scope:{ctx:i}}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(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&&tn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function AS(i){let e,t,n,l,r,a;const o=[Z2,Q2],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(es,"resize",i[18]),ee(es,"click",i[22]),ee(es,"blur",i[22]),ee(es,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}function tn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Ho(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 ES=i=>!i.hideFromNav&&i.label,RS=i=>!i.hideFromNav&&i.label;function DS(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 K=>{K&&(Object.getOwnPropertyNames(K).forEach(async be=>{if(be==="pathData")t(5,p=K.pathData);else if(be==="context")D=K.context;else if(be==="children")t(0,a=K.children);else if(be==="selectedNode")t(7,C=K.selectedNode);else if(be==="hasCategoriesWithIcon")t(10,N=K.hasCategoriesWithIcon);else if(be==="navParent"){t(12,E=void 0);let Xe=K.navParent;if(t(45,H=Xe),Xe&&Xe.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let nt=Xe.navHeader,it=Xe;if(nt==="inherit"){for(it=Xe.parent;it&&it.navHeader==="inherit";)it=it.parent;nt=it?it.navHeader:void 0}if(nt instanceof Function){t(12,E={});let bt=nt(re.stripNode(Xe),re.stripNode(it),D);bt instanceof Promise?bt.then(Wt=>{t(12,E=Wt)}):t(12,E=bt)}else if(nt==="auto")t(12,E={label:Xe.label,icon:Xe.icon});else if(nt&&nt.useTitleResolver&&it.titleResolver){it.titleResolver.prerenderFallback?t(12,E={...nt,label:it.titleResolver.fallbackTitle||"",icon:it.titleResolver.fallbackIcon}):t(12,E=nt);const bt=me.mapPathToNode(at.getCurrentPath(),it);Ut.extractDataFromPath(bt).then(Wt=>{const Zt=me.substituteDynamicParamsInObject(Object.assign({},Wt.pathData.context,it.context),Wt.pathData.pathParams);re.fetchNodeTitleData(it,Zt).then(ci=>{t(12,E={...nt,...ci})}).catch(ci=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...nt,label:Xe.label,icon:Xe.icon})})})}else t(12,E=await dt(nt,it))}}}),t(44,I=re.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:I}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Q=kt("store"),X=kt("getTranslation");vi(i,X,K=>t(27,n=K));let ce=!1,Z=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,j=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae;const fe=K=>re.getNodeLabel(K),ne=async()=>{const K=l.get(),be=await Ut.getLeftNavData({...K},K);be&&(l.set(be),O=p,window.LEFTNAVDATA=be.children)};nn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),pn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),pn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let K=pi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),pi.onValueChanged(be=>{t(6,v=be.isSemiCollapsed)}),Fn.addEventListener("message",be=>{be.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const se=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),be=G.querySelector(".fd-navigation__list"),Xe=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(nt=>{nt.navGroupId?be.querySelector(`[navGroupId="${nt.navGroupId}"]`).appendChild(nt):be.insertBefore(nt,Xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},Se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),be=G.querySelector(".lui-moreItems"),Xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let nt=Xe.length-1;nt>0&&(lastNode=Xe[nt-1],Xe[nt].navGroupId=Xe[nt].parentNode.getAttribute("navGroupId"),be.insertBefore(Xe[nt],be.firstChild),!(K.clientHeight>0));nt--);}},ie=()=>{const K=be=>{be&&de(be)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,K))};Zr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((be,Xe)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{se(),Se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),ie()}),Gn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Re(K){if(Z){const be={},Xe=[],nt=j;let it=[];return K.forEach(bt=>{if(bt[0].startsWith(m))it.push({isSingleEntry:!0,entries:[bt]});else{const Wt=bt[1].metaInfo.categoryUid;if(Wt&&Wt.indexOf(nt)>0)Xe.push(bt);else{const Zt=bt[1].metaInfo.isGroup;be[Wt]={isSingleEntry:!Zt,title:n(bt[1].metaInfo.label),groupEntry:bt,uid:Wt,entries:[Zt?["undefined",bt[1]]:bt]},it.push(be[Wt]),!re.isCollapsedSuperCategory(Wt)&&Zt&&Ht(bt[1],!0)}}}),Xe.forEach(bt=>{const Wt=bt[1].metaInfo.categoryUid.split(nt)[0],Zt=be[Wt];Zt&&(Zt.isSingleEntry&&(Zt.isSingleEntry=!1,Zt.entries=[["undefined",Zt.groupEntry[1]]]),Zt.entries.push(bt))}),it}else return K}let{sortedChildrenEntries:ze}=e,{sortedVerticalNavGroups:Ce}=e;function Pe(K){return re.renderIconClassName(K)}function Fe(K){return re.isOpenUIiconName(K)}function ct(K){return me.getNodeHref(K,b)}function qe(K,be){return K&&K.testId?K.testId:re.prepareForTests(be||K.label)}async function dt(K,be){const Xe=me.mapPathToNode(at.getCurrentPath(),be),it=(await Ut.extractDataFromPath(Xe)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,it)}function Ft(K,be){return re.generateTooltipText(K,be)}function de(K){r("handleClick",{node:K})}function xe(K,be){if(pi.getCollapsed()){let Xe,nt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Xe=K.metaInfo.label:Xe=K.category&&K.category.label||K.category,nt&&!nt.classList.contains("isBlocked")&&(nt.className+=" isBlocked"),Xe===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=Xe),nt?St(be):Z&&(Ho(be),be.closest(".lui-moreItems")||Te())}}function St(K){const be=K.closest(".fd-nested-list__item"),Xe=be.offsetTop,nt=zi.getShellbar().offsetHeight;let it;zi.isCustomLuigiContainer()?it=zi.getCustomLuigiContainer().clientHeight:it=window.innerHeight,setTimeout(()=>{const bt=be.getElementsByClassName("lui-flyout-sublist")[0],Wt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Zt=Xe+nt-Wt,ci=it-Xe-be.offsetHeight+Wt-nt;Zt+bt.offsetHeight>=it?(bt.style.bottom=ci+"px",bt.className+=" has-bottom-position"):bt.style.top=Zt-nt+"px"})}function ln(){if(h){let K=pi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function Ln(K){if(K.code==="ArrowRight"){const Xe=Ae.getCurrentMicrofrontendIframe();Xe&&Xe.contentWindow&&Xe.contentWindow.focus()}}function an(K){let be=H?H.parent:void 0;for(;be;){if(be.pathSegment&&be.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:be});return}be=be.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ip.navigate("/")}function Ht(K,be){pi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,be,I))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function rt(){t(8,y=pi.closePopupMenu(y)),Te()}function tt(K){K&&K.code==="Escape"&&rt()}function Yt(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),gn()}function Qt(K){const be=K.code;(be==="Enter"||be==="Space")&&Yt()}function An(K,be){(K.code==="Enter"||K==="Space")&&xe(be,K.currentTarget)}function Lt(K,be){K.keyCode===hl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&de(be)}function gn(){if(!re.getBurgerTooltipConfig())return;const[K,be]=re.getBurgerTooltipConfig(),Xe=document.body.classList.contains("lui-semiCollapsible");K&&be&&Xe&&t(11,V=document.body.classList.contains("semiCollapsed")?K:be)}function xn(K,be){return tn(K,be)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function Gt(K){if(!K)return;const be=K.target.parentElement;be.getAttribute("aria-expanded")==="true"?be.setAttribute("aria-expanded","false"):(rt(),be.setAttribute("aria-expanded","true")),K.stopPropagation()}function Sn(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const wi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},ki=(K,be)=>Lt(be,K),mn=K=>Ht(K,!tn(K,P)),Si=K=>Ht(K,!tn(K,P)),Ci=(K,be)=>An(be,K),yi=(K,be)=>xe(K,be.currentTarget),Pi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ii=(K,be)=>Lt(be,K),ml=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},bl=(K,be)=>Lt(be,K),vl=K=>{(K.code==="Enter"||K.code==="Space")&&Gt(K)};function Ni(K){je[K?"unshift":"push"](()=>{G=K,t(25,G)})}function Gi(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Ki=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},oi=(K,be)=>Lt(be,K),wl=K=>Ht(K,!tn(K,P)),kl=K=>Ht(K,!tn(K,P)),ji=(K,be)=>An(be,K),Sl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Cl=(K,be)=>Lt(be,K),yl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ti=(K,be)=>Lt(be,K),Pl=K=>xe(K,event.currentTarget),ei=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Li=(K,be)=>Lt(be,K),ui=K=>Yt(),Ai=K=>Yt(),fi=K=>Qt(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,N=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,I=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,ze=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Ce=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((be,Xe)=>be[1].metaInfo.order-Xe[1].metaInfo.order),t(13,ze=K),t(14,Ce=Re(K))}},[a,o,c,d,g,p,v,C,y,P,N,V,E,ze,Ce,m,de,xe,ln,Ln,an,Ht,rt,z,ce,G,ae,n,X,Z,fe,Pe,Fe,ct,qe,Ft,tt,Yt,Qt,An,Lt,xn,Gt,h,I,H,b,St,Ho,Sn,wi,ki,mn,Si,Ci,yi,Pi,Ii,ml,bl,vl,Ni,Gi,Ki,oi,wl,kl,ji,Sl,Cl,yl,Ti,Pl,ei,Li,ui,Ai,fi]}class up extends Vt{constructor(e){super(),Dt(this,e,DS,AS,Et,{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 Ho}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 VS=i=>{pn.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}),le.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||""})),fp(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"])},OS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),fp=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=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!OS(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=$r.getDocumentTitle()||r;i.set({title:r}),document.title=Tt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Hd(i,e,t){const n=i.slice();return n[45]=e[t],n}function MS(i){let e,t,n,l,r=i[1]&&Wd(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){A(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=Wd(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&&L(e),r&&r.d(),n=!1,l()}}}function FS(i){let e,t,n,l,r=i[1]&&qd(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){A(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=qd(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&&L(e),r&&r.d(),n=!1,l()}}}function Wd(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){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function qd(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){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function zd(i){let e,t,n,l=(!i[3]||i[4])&&Gd(i),r=i[3]&&Kd(i),a=i[12]&&i[5]&&th(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=th(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Gd(i){let e;function t(r,a){return r[14]?BS:US}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(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){l.d(r),r&&L(e)}}}function US(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){A(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])+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function BS(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){A(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])+"")&&Le(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&&L(e),a=!1,o()}}}function Kd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?WS:HS}let b=p(i),m=b(i),v=i[6]&&i[7]&&Xd(i),C=i[9]&&i[9].length>0&&$d(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){A(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",Bt(KS)),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=$d(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&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function HS(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){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Bt(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function WS(i){let e,t,n,l=i[9]&&i[9].length===1&&jd(i),r=i[9]&&i[9].length>1&&Jd(i),a=i[9].length>1&&!i[7]&&Zd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=jd(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=Jd(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=Zd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function jd(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){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Le(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Jd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Hd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qd(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){ft(n,l),l&&L(e)}}}function Yd(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){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",mt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Le(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&&L(e),d=!1,g()}}}function Qd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Yd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(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=Yd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Zd(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){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",mt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(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){A(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",mt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&L(e),o=!1,c()}}}function $d(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=eh(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Bd(l,t,a);n[a]?n[a].p(o,r):(n[a]=eh(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){ft(n,l),l&&L(e)}}}function qS(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){A(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)+"")&&Le(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&&L(e),h=!1,d()}}}function zS(i){let e,t=i[18]&&xd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new mr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(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&&L(e)}}}function eh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return zS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return qS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ke()},m(o,c){a&&a.m(o,c),A(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){a&&a.d(o),o&&L(n)}}}function th(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){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&L(e)}}}function GS(i){let e,t;function n(o,c){return o[14]?FS:MS}let l=n(i),r=l(i),a=i[2]&&zd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(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=zd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:We,o:We,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const KS=()=>{};function jS(i,e,t){let n;const l=Jt();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,E,H,D=kt("getUnsavedChangesModalPromise"),O=kt("getTranslation");vi(i,O,de=>t(19,n=de));let z=kt("store");const Q={closeDropDown:()=>{ae("appSwitcherPopover")}},X=()=>({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(xe=>{xe==="pathData"?t(26,I=de.pathData):xe==="appSwitcherItems"?t(9,v=de.appSwitcherItems):xe==="itemRenderer"?t(10,C=de.itemRenderer):xe==="pathParams"?t(11,y=de.pathParams):xe==="selectedItem"?t(7,b=de.selectedItem):xe==="title"?t(2,o=de.title):xe==="defaultSubTitle"?t(25,N=de.defaultSubTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="defaultTitle"?t(8,m=de.defaultTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="showMainAppEntry"?t(6,p=de.showMainAppEntry):xe==="hasApps"?t(3,c=de.hasApps):xe==="keepMainTitle"?t(4,h=de.keepMainTitle):xe==="showSubTitle"?t(5,d=de.showSubTitle):xe==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});nn(()=>{VS(X())}),Gn(()=>{(!H||H!=I)&&(fp(X()),H=I)});function ce(de,xe,St){return setTimeout(()=>{xe&&C(de,xe.children[St],Q)}),""}function Z(de){D().then(()=>{at.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{at.navigateTo("/")},()=>{})}function j(de){l("handleClick",{node:de}),ae("appSwitcherPopover")}function ae(de){l("toggleDropdownState",{name:de})}function fe(de){return de.testId?de.testId:re.prepareForTests(de.title||de)}function ne(de,xe){if(de.link){const St=me.applyPathParams(de.link,xe);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function se(de){return me.getNodeHref(de)}function Se(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ie=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")};function Re(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ze=()=>Z("/"),Ce=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")},Pe=()=>Z("/"),Fe=()=>ae("appSwitcherPopover"),ct=()=>ae("appSwitcherPopover"),qe=()=>ae("appSwitcherPopover"),dt=(de,xe)=>{re.handleNavAnchorClickedWithoutMetaKey(xe)&&Z(de.link)};function Ft(de){je[de?"unshift":"push"](()=>{E=de,t(18,E)})}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,Z,G,ae,E,n,O,ce,fe,ne,se,N,I,j,Se,ie,Re,ze,Ce,Pe,Fe,ct,qe,dt,Ft]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,GS,Et,{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 nh(i,e,t){const n=i.slice();return n[34]=e[t],n}function ih(i){let e,t,n,l,r,a,o=i[0]&&lh(i),c=(i[10]||i[11])&&ch(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){A(h,e,d),o&&o.m(e,null),A(h,t,d),A(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=lh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=ch(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&L(e),o&&o.d(),h&&L(t),h&&L(n),c&&c.d()}}}function lh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?QS:YS}let h=c(i),d=h(i),g=i[7].name&&rh(i),p=i[7].description&&ah(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=oh(nh(i,b,C));let v=i[12]&&uh(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){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)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=rh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=ah(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const N=nh(C,b,P);m[P]?m[P].p(N,y):(m[P]=oh(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=uh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),g&&g.d(),p&&p.d(),C&&L(r),C&&L(a),ft(m,C),v&&v.d()}}}function YS(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){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&L(e)}}}function QS(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"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function rh(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){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&L(e)}}}function ah(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){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&L(e)}}}function sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function ZS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),On(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&On(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&&L(e)}}}function XS(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){A(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&&L(e)}}}function oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&sh(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){A(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=sh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(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&&L(e),g&&g.d(),h=!1,Je(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&fh(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){A(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",mt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=fh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),h&&h.d(),o=!1,Je(c)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function $S(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),$e(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){A(l,e,r)},p(l,r){r[0]&512&&!$e(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&&L(e)}}}function xS(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){A(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&&L(e)}}}function ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&hh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=hh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function dh(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){A(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)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function hh(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){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:We,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Je(r)}}}function eC(i){let e,t=!i[1]&&ih(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function tC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){cn.startAuthorization()}function I(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){cn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(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,X,Z,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,ce,j,ae,fe]}class nC extends Vt{constructor(e){super(),Dt(this,e,tC,eC,Et,{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 gh(i,e,t){const n=i.slice();return n[34]=e[t],n}function _h(i){let e,t,n,l,r,a=i[0]&&ph(i),o=i[9].items,c=[];for(let g=0;g<o.length;g+=1)c[g]=bh(gh(i,o,g));let h=i[12]&&vh(i),d=(i[10]||i[11])&&kh(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){A(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].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=ph(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=g[9].items;let b;for(b=0;b<o.length;b+=1){const m=gh(g,o,b);c[b]?c[b].p(m,p):(c[b]=bh(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=vh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&L(e),a&&a.d(),ft(c,g),h&&h.d(),d&&d.d()}}}function ph(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){A(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)+"")&&Le(l,n)},d(r){r&&L(e)}}}function mh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(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&&L(e)}}}function lC(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){A(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&&L(e)}}}function bh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&mh(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){A(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=mh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(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&&L(e),g&&g.d(),h=!1,Je(d)}}}function vh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&wh(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){A(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",mt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=wh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,Je(h)}}}function wh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function rC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(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){A(l,e,r)},p(l,r){r[0]&512&&!$e(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&&L(e)}}}function aC(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){A(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&&L(e)}}}function kh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Sh(i),l=i[10]&&!i[8]&&yh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Sh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=yh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Sh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ch(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){A(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=Ch(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,h()}}}function Ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?oC:sC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function sC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(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){A(l,e,r)},p(l,r){r[0]&512&&!$e(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&&L(e)}}}function oC(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){A(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&&L(e)}}}function yh(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){A(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:We,d(l){l&&L(e),t=!1,n()}}}function uC(i){let e,t=!i[1]&&_h(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=_h(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function fC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){cn.startAuthorization()}function I(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings");t(12,p=!!Se);const ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){cn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(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,X,Z,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,ce,j,ae,fe]}class cp extends Vt{constructor(e){super(),Dt(this,e,fC,uC,Et,{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[11]=e[t],n}function Ih(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Lh(Ph(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const h=Ph(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Nh(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(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?dC:cC}let I=N(i,-1),V=I(i);r=new Tn({props:{node:i[11]}});let E=p&&Th(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Me(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon fd-product-switch__icon sap-icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){A(D,e,O),w(e,t),V.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,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])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Th(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&L(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function cC(i){let e,t,n;return{c(){e=S("img"),$e(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){A(l,e,r)},p(l,r){r&2&&!$e(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&&L(e)}}}function dC(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){A(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&&L(e)}}}function Th(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){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&L(e)}}}function Lh(i){let e,t,n=i[11].label&&Nh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function hC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Ih(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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),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",Bt(gC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?I?(I.p(V,E),E&2&&R(I,1)):(I=Ih(V),I.c(),R(I,1),I.m(g,null)):I&&(ve(),U(I,1,1,()=>{I=null}),we())},i(V){y||(R(I),y=!0)},o(V){U(I),y=!1},d(V){V&&L(e),I&&I.d(),P=!1,Je(N)}}}const gC=()=>{};function _C(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Bl.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 dp extends Vt{constructor(e){super(),Dt(this,e,_C,hC,Et,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:pC}=pl;function Ah(i,e,t){const n=i.slice();return n[7]=e[t],n}function Eh(i){let e,t,n,l=i[0]&&Rh(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){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Rh(r),l.c(),R(l,1),l.m(t,null)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Rh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vh(Ah(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const h=Ah(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Dh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?bC:mC}let P=y(i,-1),N=P(i);a=new Tn({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(),Me(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=re.getTestId(i[7]))},m(V,E){A(V,e,E),w(e,t),w(t,n),N.m(n,null),w(n,r),Ve(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,E){i=V,P===(P=y(i,E))&&N?N.p(i,E):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),N.d(),Oe(a),v=!1,Je(C)}}}function mC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),$e(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(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&&L(e)}}}function bC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Vh(i){let e,t,n=i[7].label&&Dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Dh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Oh(i){let e,t;return e=new dp({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(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function vC(i){let e,t,n,l,r,a=!i[1]&&Eh(i),o=i[1]&&Oh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),A(c,e,h),o&&o.m(c,h),A(c,t,h),n=!0,l||(r=ee(pC,"resize",us),l=!0)},p(c,[h]){c[1]?a&&(ve(),U(a,1,1,()=>{a=null}),we()):a?(a.p(c,h),h&2&&R(a,1)):(a=Eh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Oh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ve(),U(o,1,1,()=>{o=null}),we())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function wC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=kt("getUnsavedChangesModalPromise"),h=kt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});nn(async()=>{us()}),Gn(async()=>{r||t(0,r=await Ut.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else at.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return Tt.getTranslation(E.label)}function N(E){return me.getNodeHref(E,o)}const I=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,us,a,g,C,y,P,N,I,V]}class hp extends Vt{constructor(e){super(),Dt(this,e,wC,vC,Et,{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 us}}const kn={_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?le.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=le.addLeadingSlash(at.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.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=le.normalizePath(i),n=le.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=kn._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=le.normalizePath(i),t=le.normalizePath(t),!!kn.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=kn.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 kn.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 kn.generateSwitcherNav(e,t)}};function Mh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Fh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wh(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--top svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=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]=Wh(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&&L(e),ft(n,l)}}}function Hh(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=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",mt(NC)),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Wh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Hh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(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=Hh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qh(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>
56
56
  <div class="fd-busy-indicator__circle"></div>
57
57
  <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function zh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gh(Fh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Fh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gh(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){ft(n,l),l&&L(e)}}}function kC(i){return{c:We,m:We,p:We,d:We}}function SC(i){let e,t,n,l,r;function a(d,g){return d[2]?yC:CC}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=re.getTestId(i[20]))},m(d,g){A(d,e,g),c.m(e,null),A(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=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function CC(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){A(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]+"")&&Le(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&&L(e),c=!1,h()}}}function yC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function PC(i){return{c:We,m:We,p:We,d:We}}function Gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:PC,then:SC,catch:kC,value:25};return ls(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),n.block.c()},m(l,r){A(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))&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Kh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Mh(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Mh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(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&&L(e),ft(n,l)}}}function jh(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=re.getTestId(i[20]))},m(p,b){A(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)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Jh(i){let e,t=i[20].position==="bottom"&&jh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function IC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Bh(i),c=i[3]&&i[3].length===0&&i[10]&&qh(),h=i[3]&&i[3].length&&zh(i),d=i[0]&&i[0].length&&Kh(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){A(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=Bh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=qh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=zh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Kh(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:We,o:We,d(g){g&&L(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const NC=()=>{};function TC(i,e,t){let n,l=We,r=()=>(l(),l=qo(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=Jt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>N(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,N,n,I,V,E,H,D]}class gp extends Vt{constructor(e){super(),Dt(this,e,TC,IC,Et,{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 Yh(i){let e,t,n,l=!i[9]&&Qh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Zh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(ve(),U(l,1,1,()=>{l=null}),we()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Qh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Qh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?AC:LC}let p=g(i),b=p(i);return a=new gp({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"),Me(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){A(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,h||(d=ee(n,"click",Bt(HC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Oe(a),h=!1,d()}}}function LC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?RC:EC}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){A(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&&L(e),h.d(),r=!1,a()}}}function AC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?MC:OC}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){A(g,e,p),d.m(e,null),a||(o=ee(e,"click",mt(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&&L(e),d.d(),a=!1,o()}}}function EC(i){let e,t;function n(a,o){return a[4]?DC:VC}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),A(a,e,o),A(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){r.d(a),a&&L(e),a&&L(t)}}}function RC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function DC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function VC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function OC(i){let e,t;function n(a,o){return a[4]?FC:UC}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),A(a,e,o),A(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){r.d(a),a&&L(e),a&&L(t)}}}function MC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function FC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function UC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Zh(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]&&$h(i);return d=new gp({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"),Me(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,E){A(V,e,E),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),Ve(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",Bt(WC))],y=!0)},p(V,E){V[4]?N&&(N.d(1),N=null):N?N.p(V,E):(N=Xh(V),N.c(),N.m(a,o)),V[4]?I?I.p(V,E):(I=$h(V),I.c(),I.m(a,null)):I&&(I.d(1),I=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),N&&N.d(),I&&I.d(),Oe(d),y=!1,Je(P)}}}function Xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function $h(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function BC(i){let e,t,n=i[3]&&Yh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Yh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const HC=()=>{},WC=()=>{};function qC(i,e,t){let n,l;const r=Jt();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,E=kt("getUnsavedChangesModalPromise"),H=kt("store"),D=kt("getTranslation");vi(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Q;nn(async()=>{pn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=at.getCurrentPath();t(20,m=ie.fallbackLabelResolver),kn.resetFallbackLabelCache(),ie.lazyloadOptions||await Z(),kn.isContextSwitcherDetailsView(Re,ie.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ie=>G(ie)),Fn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Z())}),t(21,I=h.defaultLabel)}),Gn(()=>{O!==N&&(O=N,Z()),t(14,Q=o.contextSwitcherPopover||!1)});function X(ie,Re,ze){return ie?Promise.resolve(ie):kn.getFallbackLabel(Re,ze)}function ce(ie){return me.getNodeHref(ie,v)}async function Z(){t(1,g=await kn.fetchOptions(g));const ie=h||{},Re=ie.parentNodePath,ze=ie.fallbackLabelResolver,Ce=at.getCurrentPath();t(2,b=await kn.getSelectedOption(Ce,g,Re)),t(4,c=await kn.getSelectedLabel(Ce,g,Re,ze)),await kn.getSelectedNode(Ce,g,Re),V=ie.preserveSubPathOnSwitch}async function G(ie){const Re=h||{},ze=Re.parentNodePath,Ce=Re.fallbackLabelResolver;t(2,b=await kn.getSelectedOption(ie,g,ze)),t(4,c=await kn.getSelectedLabel(ie,g,ze,Ce)),await kn.getSelectedNode(ie,g,ze)}async function j(ie){let Re=ie.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{ae(Re.link)}),P&&r("toggleDropdownState"))}function ae(ie){E().then(()=>{at.navigateTo(ie)},()=>{})}function fe(ie){let Re=ie.detail.option,ze=ie.detail.selectedOption;E().then(()=>{V&&ze?at.navigateTo(kn.getNodePathFromCurrentPath(Re,ze)):at.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Z()}const se=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,N=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,I=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.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,j,fe,ne,Q,n,l,D,X,ce,m,I,v,N,Z,G,ae,p,se,Se]}class _p extends Vt{constructor(e){super(),Dt(this,e,qC,BC,Et,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:zC}=pl;function xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function eg(i){let e,t,n,l=!i[2]&&tg(i),r=i[2]&&i[3].productSwitcherPopover&&ag(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=tg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function tg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?KC:GC}let N=P(i,-1),I=N(i),V=i[0],E=[];for(let H=0;H<V.length;H+=1)E[H]=rg(xh(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<E.length;H+=1)E[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Mn(i[9])+" svelte-1mzhx88"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(H,D){A(H,e,D),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<E.length;O+=1)E[O].m(b,null);C||(y=[ee(r,"click",Bt(i[7])),ee(l,"click",Bt(xC))],C=!0)},p(H,D){if(N===(N=P(H,D))&&I?I.p(H,D):(I.d(1),I=N(H),I&&(I.c(),I.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=H[0];let O;for(O=0;O<V.length;O+=1){const z=xh(H,V,O);E[O]?E[O].p(z,D):(E[O]=rg(z),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Mn(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&L(e),I.d(),ft(E,H),C=!1,Je(y)}}}function GC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!$e(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&&L(e)}}}function KC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function ng(i){let e,t,n,l,r,a;function o(g,p){return g[4]?JC:jC}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){A(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&&L(e),h.d(),r=!1,a()}}}function jC(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?QC:YC}let g=d(i,-1),p=g(i),b=h&&ig(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){A(m,e,v),p.m(e,null),A(m,n,v),A(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])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=ig(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function JC(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?XC:ZC}let v=m(i,-1),C=v(i),y=d&&lg(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){A(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])+"")&&Le(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=lg(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&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function YC(i){let e,t,n;return{c(){e=S("img"),$e(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){A(l,e,r)},p(l,r){r&1&&!$e(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&&L(e)}}}function QC(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){A(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&&L(e)}}}function ig(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function ZC(i){let e,t,n;return{c(){e=S("img"),$e(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){A(l,e,r)},p(l,r){r&1&&!$e(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&&L(e)}}}function XC(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){A(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&&L(e)}}}function lg(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){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function rg(i){let e,t=i[22].label&&ng(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ng(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ag(i){let e,t;return e=new dp({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(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function $C(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&eg(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ee(zC,"resize",fs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=eg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ve(),U(a,1,1,()=>{a=null}),we())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const xC=()=>{};function e3(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=kt("store"),h=kt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;nn(async()=>{pn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),fs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{at.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Tt.getTranslation(D.label)}function P(D){return Tt.getTranslation(D.subTitle)}function N(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function I(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,fs,d,v,C,y,P,I,V,E,H]}class pp extends Vt{constructor(e){super(),Dt(this,e,e3,$C,Et,{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 fs}}function sg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function t3(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){A(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:We,d(l){l&&L(e),i[15](null),t=!1,n()}}}function n3(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){A(t,e,n),e.focus()},p:We,d(t){t&&L(e)}}}function i3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[19](e)},p:We,d(t){t&&L(e),i[19](null)}}}function l3(i){let e,t,n,l=i[4]&&og(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){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=og(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&&L(e),l&&l.d()}}}function og(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ug(sg(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=sg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ug(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&&L(e),ft(n,l),i[18](null)}}}function r3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(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&&L(n),l&&e.d()}}}function a3(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){A(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",mt(o3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function ug(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?r3:a3}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){A(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&&L(e),o.d(),n=!1,Je(l)}}}function s3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?n3:t3}let N=P(i),I=N(i);function V(D,O){return D[8].isCustomSearchRenderer?i3:l3}let E=V(i),H=E(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(D,O){A(D,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),A(D,d,O),A(D,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",Bt(u3)),ee(b,"click",i[6]),ee(p,"click",Bt(f3))],C=!0)},p(D,[O]){N===(N=P(D))&&I?I.p(D,O):(I.d(1),I=N(D),I&&(I.c(),I.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:We,o:We,d(D){D&&L(e),I.d(),H.d(),D&&L(d),D&&L(g),C=!1,Je(y)}}}const o3=()=>{},u3=()=>{},f3=()=>{};function c3(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=Jt();let g={},p;nn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Gn(()=>{t(7,g=h),p||t(8,p=new rp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function N(D){je[D?"unshift":"push"](()=>{a=D,t(0,a)})}const I=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){je[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){je[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,N,I,V,E,H]}class d3 extends Vt{constructor(e){super(),Dt(this,e,c3,s3,Et,{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 fg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function h3(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){A(p,e,b),i[23](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(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:We,d(p){p&&L(e),i[23](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(h),d=!1,Je(g)}}}function g3(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){A(t,e,n)},p:We,d(t){t&&L(e)}}}function _3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[28](e)},p:We,d(t){t&&L(e),i[28](null)}}}function p3(i){let e,t,n,l=i[3]&&cg(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){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=cg(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&&L(e),l&&l.d()}}}function cg(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=dg(fg(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){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=fg(l,t,a);n[a]?n[a].p(o,r):(n[a]=dg(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&&L(e),ft(n,l),i[27](null)}}}function m3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(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&&L(n),l&&e.d()}}}function b3(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){A(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",mt(w3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function dg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?m3:b3}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){A(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&&L(e),o.d(),n=!1,Je(l)}}}function hg(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){A(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Bt(S3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Je(o)}}}function gg(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){A(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Bt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(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&&L(e),o=!1,c()}}}function v3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?g3:h3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?_3:p3}let y=C(i),P=y(i),N=!i[5]&&hg(i),I=i[5]&&gg(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=ke(),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,E){A(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,E),N&&N.m(V,E),A(V,h,E),I&&I.m(V,E),A(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Bt(k3))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?N&&(N.d(1),N=null):N?N.p(V,E):(N=hg(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,E):(I=gg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:We,o:We,d(V){V&&L(e),v.d(),P.d(),V&&L(c),N&&N.d(V),V&&L(h),I&&I.d(V),V&&L(d),g=!1,Je(p)}}}const w3=()=>{},k3=()=>{},S3=()=>{};function C3(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=Jt();let g=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=kt("getTranslation");vi(i,m,fe=>t(10,n=fe));let v;nn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const fe=document.querySelector(".lui-global-search");fe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(fe)}),Gn(()=>{t(8,b=h),v||t(9,v=new rp(b,d)),v.getCustomRenderer(),I()});function C(fe,ne,se){v.renderCustomSearchItem(fe,ne,se)}function y(){v.closeSearchResult()}function P(fe){v.onKeyUp(fe,r)}function N(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(fe){v.onSearchResultItemSelected(fe)}function H(fe,ne){v.handleKeydown(fe,ne,a,c)}function D(fe){v.onActionClick(fe)}function O(){v.toggleSearch(p,r,a,o)}const z=fe=>P(fe);function Q(fe){je[fe?"unshift":"push"](()=>{a=fe,t(0,a)})}const X=()=>I(),ce=(fe,ne)=>E(fe),Z=(fe,ne)=>H(fe,ne);function G(fe){je[fe?"unshift":"push"](()=>{c=fe,t(2,c)})}function j(fe){je[fe?"unshift":"push"](()=>{o=fe,t(1,o)})}const ae=()=>O();return i.$$set=fe=>{"searchResult"in fe&&t(3,l=fe.searchResult),"displaySearchResult"in fe&&t(4,r=fe.displaySearchResult),"inputElem"in fe&&t(0,a=fe.inputElem),"customSearchItemRendererSlot"in fe&&t(1,o=fe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in fe&&t(2,c=fe.customSearchItemRendererSlotContainer),"globalSearchConfig"in fe&&t(20,h=fe.globalSearchConfig),"isSearchFieldVisible"in fe&&t(5,p=fe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,E,H,h,D,z,Q,X,ce,Z,G,j,ae]}class y3 extends Vt{constructor(e){super(),Dt(this,e,C3,v3,Et,{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 _g(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?I3:P3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(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){r.d(a),a&&L(t)}}}function P3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),$e(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(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&&L(e)}}}function I3(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){A(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&&L(e)}}}function pg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new $n({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Me(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Oe(r)}}}function N3(i){let e,t,n,l=i[0].icon&&_g(i),r=(!i[0].icon||i[0].showLabel)&&pg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=_g(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function T3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Ko extends Vt{constructor(e){super(),Dt(this,e,T3,N3,Et,{node:0})}}const{Boolean:mp,window:mg}=pl;function bg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function vg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function L3(i){let e,t;return e=new cp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A3(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")&&wg(i);function v(E){i[57](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new JS({props:C}),je.push(()=>wt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&kg(i),P=(!i[0]||i[1])&&Sg(i),N=(i[18]||i[7]&&i[30].length>0)&&yg(i),I=(i[0]||i[16])&&Hg(i),V=i[12]&&Wg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Me(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(E,H){A(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Ve(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(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=wg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],vt(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=kg(E),y.c(),R(y,1),y.m(e,o)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Sg(E),P.c(),R(P,1),P.m(c,h)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),E[18]||E[7]&&E[30].length>0?N?(N.p(E,H),H[0]&1074004096&&R(N,1)):(N=yg(E),N.c(),R(N,1),N.m(c,d)):N&&(ve(),U(N,1,1,()=>{N=null}),we()),E[0]||E[16]?I?(I.p(E,H),H[0]&65537&&R(I,1)):(I=Hg(E),I.c(),R(I,1),I.m(c,g)):I&&(ve(),U(I,1,1,()=>{I=null}),we()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Wg(E),V.c(),R(V,1),V.m(c,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(N),R(I),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(N),U(I),U(V),b=!1},d(E){E&&L(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function wg(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){A(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&&L(e),n=!1,l()}}}function kg(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 y3({props:m}),je.push(()=>wt(t,"isSearchFieldVisible",h,i[20])),je.push(()=>wt(t,"searchResult",d,i[24])),je.push(()=>wt(t,"displaySearchResult",g,i[23])),je.push(()=>wt(t,"inputElem",p,i[21])),je.push(()=>wt(t,"customSearchItemRendererSlot",b,i[22])),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Ve(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],vt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],vt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],vt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],vt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],vt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Oe(t)}}}function Sg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Cg(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 _p({props:o}),je.push(()=>wt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Me(t.$$.fragment)},m(c,h){r&&r.m(c,h),A(c,e,h),Ve(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Cg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],vt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Oe(t,c)}}}function Cg(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 d3({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[20])),je.push(()=>wt(e,"searchResult",h,i[24])),je.push(()=>wt(e,"displaySearchResult",d,i[23])),je.push(()=>wt(e,"inputElem",g,i[21])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[22])),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){Me(e.$$.fragment)},m(m,v){Ve(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],vt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],vt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],vt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],vt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function yg(i){let e,t,n,l=i[7]&&i[30].length>0&&Pg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Lg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Pg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ve(),U(l,1,1,()=>{l=null}),we()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Lg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Tg(vg(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=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=vg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Tg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ig(i){let e,t,n,l;const r=[R3,E3],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=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function E3(i){let e,t,n,l,r;const a=[V3,D3],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){A(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):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&L(e),o[t].d()}}}function R3(i){let e=i[107].visibleChildren.filter(qg).length>0,t,n,l=e&&Ng(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(qg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Ng(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function D3(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 Ko({props:b}),je.push(()=>wt(t,"node",p,i[107])),r=new Tn({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Me(t.$$.fragment),l=W(),Me(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=re.getTestId(i[107]))},m(v,C){A(v,e,C),Ve(t,e,null),w(e,l),Ve(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],vt(()=>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=re.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&L(e),Oe(t),Oe(r),d=!1,g()}}}function V3(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 Ko({props:m}),je.push(()=>wt(t,"node",b,i[107])),r=new Tn({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=W(),Me(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=re.getTestId(i[107]))},m(C,y){A(C,e,y),Ve(t,e,null),w(e,l),Ve(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],vt(()=>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=re.getTestId(i[107])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Oe(t),Oe(r),g=!1,p()}}}function Ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(D){i[76](D,i[107],i[110],i[109])}let E={};i[107]!==void 0&&(E.node=i[107]),r=new Ko({props:E}),je.push(()=>wt(r,"node",V,i[107])),c=new Tn({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new hp({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"),Me(r.$$.fragment),o=W(),Me(c.$$.fragment),b=W(),m=S("div"),Me(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=re.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(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,b),w(t,m),Ve(v,m,null),w(e,y),P=!0,N||(I=[ee(l,"click",H),ee(n,"click",Bt(Q3))],N=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],vt(()=>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=re.getTestId(i[107])))&&f(l,"data-testid",p);const X={};O[0]&128&&(X.node=i[107]),O[1]&1&&(X.pathParams=i[31]),O[0]&134217728&&(X.addNavHrefForAnchor=i[27]),v.$set(X),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&L(e),Oe(r),Oe(c),Oe(v),N=!1,Je(I)}}}function Tg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Ig(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ig(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D;h=new Tn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Ag(i),z=i[46]&&(!i[0]||i[1])&&Eg(i),Q=i[7]&&Rg(i),X=i[12]&&Mg(i),ce=i[12]&&Fg(i),Z=i[14]&&Ug(i),G=(!i[0]||i[1])&&Bg(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(),Me(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(),X&&X.c(),N=W(),ce&&ce.c(),I=W(),Z&&Z.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(j,ae){A(j,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(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),X&&X.m(m,null),w(n,N),ce&&ce.m(n,null),w(n,I),Z&&Z.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[82]),ee(l,"click",Bt(Z3))],H=!0)},p(j,ae){const fe={};ae[0]&2048&&(fe.node=j[11]),h.$set(fe),(!E||ae[0]&64&&d!==(d=j[6].overflowPopover||!1))&&f(a,"aria-expanded",d),j[18]&&!j[19]&&!j[29]?O?O.p(j,ae):(O=Ag(j),O.c(),O.m(m,v)):O&&(O.d(1),O=null),j[46]&&(!j[0]||j[1])?z?z.p(j,ae):(z=Eg(j),z.c(),z.m(m,C)):z&&(z.d(1),z=null),j[7]?Q?(Q.p(j,ae),ae[0]&128&&R(Q,1)):(Q=Rg(j),Q.c(),R(Q,1),Q.m(m,y)):Q&&(ve(),U(Q,1,1,()=>{Q=null}),we()),j[12]?X?X.p(j,ae):(X=Mg(j),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!E||ae[0]&64&&P!==(P=!j[6].overflowPopover))&&f(p,"aria-hidden",P),j[12]?ce?(ce.p(j,ae),ae[0]&4096&&R(ce,1)):(ce=Fg(j),ce.c(),R(ce,1),ce.m(n,I)):ce&&(ve(),U(ce,1,1,()=>{ce=null}),we()),j[14]?Z?(Z.p(j,ae),ae[0]&16384&&R(Z,1)):(Z=Ug(j),Z.c(),R(Z,1),Z.m(n,V)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),!j[0]||j[1]?G?(G.p(j,ae),ae[0]&3&&R(G,1)):(G=Bg(j),G.c(),R(G,1),G.m(n,null)):G&&(ve(),U(G,1,1,()=>{G=null}),we())},i(j){E||(R(h.$$.fragment,j),R(Q),R(ce),R(Z),R(G),E=!0)},o(j){U(h.$$.fragment,j),U(Q),U(ce),U(Z),U(G),E=!1},d(j){j&&L(e),Oe(h),O&&O.d(),z&&z.d(),Q&&Q.d(),X&&X.d(),ce&&ce.d(),Z&&Z.d(),G&&G.d(),H=!1,Je(D)}}}function Ag(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>