@luigi-project/core 2.3.0-rc1 → 2.3.0-rc2
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.css +1 -1
- package/luigi.js +1 -1
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -54,7 +54,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
54
54
|
`)+be+`return __p
|
|
55
55
|
}`;var nt=Bf(function(){return ht(M,We+"return "+be).apply(t,H)});if(nt.source=be,_o(nt))throw nt;return nt}function k0(a){return bt(a).toLowerCase()}function C0(a){return bt(a).toUpperCase()}function y0(a,u,d){if(a=bt(a),a&&(d||u===t))return jo(a);if(!a||!(u=Rn(u)))return a;var b=xn(a),P=xn(u),M=Yo(b,P),H=Qo(b,P)+1;return nl(b,M,H).join("")}function P0(a,u,d){if(a=bt(a),a&&(d||u===t))return a.slice(0,Xo(a)+1);if(!a||!(u=Rn(u)))return a;var b=xn(a),P=Qo(b,xn(u))+1;return nl(b,0,P).join("")}function N0(a,u,d){if(a=bt(a),a&&(d||u===t))return a.replace(si,"");if(!a||!(u=Rn(u)))return a;var b=xn(a),P=Yo(b,xn(u));return nl(b,P).join("")}function I0(a,u){var d=z,b=ae;if(Ht(u)){var P="separator"in u?u.separator:P;d="length"in u?et(u.length):d,b="omission"in u?Rn(u.omission):b}a=bt(a);var M=a.length;if(jl(a)){var H=xn(a);M=H.length}if(d>=M)return a;var q=d-Yl(b);if(q<1)return b;var $=H?nl(H,0,q).join(""):a.slice(0,q);if(P===t)return $+b;if(H&&(q+=$.length-q),po(P)){if(a.slice(q).search(P)){var he,ge=$;for(P.global||(P=Ra(P.source,bt(zi.exec(P))+"g")),P.lastIndex=0;he=P.exec(ge);)var be=he.index;$=$.slice(0,be===t?q:be)}}else if(a.indexOf(Rn(P),q)!=q){var Ae=$.lastIndexOf(P);Ae>-1&&($=$.slice(0,Ae))}return $+b}function T0(a){return a=bt(a),a&&$n.test(a)?a.replace(mn,ip):a}var L0=tr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),vo=Bu("toUpperCase");function Uf(a,u,d){return a=bt(a),u=d?t:u,u===t?$_(a)?sp(a):G_(a):a.match(u)||[]}var Bf=lt(function(a,u){try{return Ln(a,t,u)}catch(d){return _o(d)?d:new Xe(d)}}),A0=Ai(function(a,u){return Wn(u,function(d){d=ci(d),Ti(a,d,ho(a[d],a))}),a});function R0(a){var u=a==null?0:a.length,d=Ke();return a=u?Ot(a,function(b){if(typeof b[1]!="function")throw new zn(s);return[d(b[0]),b[1]]}):[],lt(function(b){for(var P=-1;++P<u;){var M=a[P];if(Ln(M[0],this,b))return Ln(M[1],this,b)}})}function E0(a){return im(qn(a,_))}function wo(a){return function(){return a}}function D0(a,u){return a==null||a!==a?u:a}var V0=Wu(),M0=Wu(!0);function Cn(a){return a}function So(a){return mu(typeof a=="function"?a:qn(a,_))}function O0(a){return vu(qn(a,_))}function F0(a,u){return wu(a,qn(u,_))}var U0=lt(function(a,u){return function(d){return Wr(d,a,u)}}),B0=lt(function(a,u){return function(d){return Wr(a,d,u)}});function ko(a,u,d){var b=nn(u),P=Ms(u,b);d==null&&!(Ht(u)&&(P.length||!b.length))&&(d=u,u=a,a=this,P=Ms(u,nn(u)));var M=!(Ht(d)&&"chain"in d)||!!d.chain,H=Ei(a);return Wn(P,function(q){var $=u[q];a[q]=$,H&&(a.prototype[q]=function(){var he=this.__chain__;if(M||he){var ge=a(this.__wrapped__),be=ge.__actions__=wn(this.__actions__);return be.push({func:$,args:arguments,thisArg:a}),ge.__chain__=he,ge}return $.apply(a,Zi([this.value()],arguments))})}),a}function H0(){return tn._===this&&(tn._=dp),this}function Co(){}function W0(a){return a=et(a),lt(function(u){return Su(u,a)})}var z0=xa(Ot),G0=xa(zo),q0=xa(ya);function Hf(a){return so(a)?Pa(ci(a)):wm(a)}function K0(a){return function(u){return a==null?t:Ll(a,u)}}var J0=Gu(),j0=Gu(!0);function yo(){return[]}function Po(){return!1}function Y0(){return{}}function Q0(){return""}function Z0(){return!0}function X0(a,u){if(a=et(a),a<1||a>ee)return[];var d=Ne,b=on(a,Ne);u=Ke(u),a-=Ne;for(var P=Ta(b,u);++d<a;)u(d);return P}function $0(a){return xe(a)?Ot(a,ci):En(a)?[a]:wn(sf(bt(a)))}function x0(a){var u=++fp;return bt(a)+u}var ew=Ws(function(a,u){return a+u},0),tw=eo("ceil"),nw=Ws(function(a,u){return a/u},1),iw=eo("floor");function lw(a){return a&&a.length?Vs(a,Cn,Ba):t}function rw(a,u){return a&&a.length?Vs(a,Ke(u,2),Ba):t}function sw(a){return Ko(a,Cn)}function aw(a,u){return Ko(a,Ke(u,2))}function ow(a){return a&&a.length?Vs(a,Cn,Ga):t}function uw(a,u){return a&&a.length?Vs(a,Ke(u,2),Ga):t}var fw=Ws(function(a,u){return a*u},1),cw=eo("round"),dw=Ws(function(a,u){return a-u},0);function hw(a){return a&&a.length?Ia(a,Cn):0}function gw(a,u){return a&&a.length?Ia(a,Ke(u,2)):0}return E.after=Ob,E.ary=mf,E.assign=Cv,E.assignIn=Rf,E.assignInWith=ea,E.assignWith=yv,E.at=Pv,E.before=bf,E.bind=ho,E.bindAll=A0,E.bindKey=vf,E.castArray=Yb,E.chain=gf,E.chunk=i1,E.compact=l1,E.concat=r1,E.cond=R0,E.conforms=E0,E.constant=wo,E.countBy=hb,E.create=Nv,E.curry=wf,E.curryRight=Sf,E.debounce=kf,E.defaults=Iv,E.defaultsDeep=Tv,E.defer=Fb,E.delay=Ub,E.difference=s1,E.differenceBy=a1,E.differenceWith=o1,E.drop=u1,E.dropRight=f1,E.dropRightWhile=c1,E.dropWhile=d1,E.fill=h1,E.filter=_b,E.flatMap=bb,E.flatMapDeep=vb,E.flatMapDepth=wb,E.flatten=ff,E.flattenDeep=g1,E.flattenDepth=_1,E.flip=Bb,E.flow=V0,E.flowRight=M0,E.fromPairs=p1,E.functions=Mv,E.functionsIn=Ov,E.groupBy=Sb,E.initial=b1,E.intersection=v1,E.intersectionBy=w1,E.intersectionWith=S1,E.invert=Uv,E.invertBy=Bv,E.invokeMap=Cb,E.iteratee=So,E.keyBy=yb,E.keys=nn,E.keysIn=kn,E.map=Ys,E.mapKeys=Wv,E.mapValues=zv,E.matches=O0,E.matchesProperty=F0,E.memoize=Zs,E.merge=Gv,E.mergeWith=Ef,E.method=U0,E.methodOf=B0,E.mixin=ko,E.negate=Xs,E.nthArg=W0,E.omit=qv,E.omitBy=Kv,E.once=Hb,E.orderBy=Pb,E.over=z0,E.overArgs=Wb,E.overEvery=G0,E.overSome=q0,E.partial=go,E.partialRight=Cf,E.partition=Nb,E.pick=Jv,E.pickBy=Df,E.property=Hf,E.propertyOf=K0,E.pull=P1,E.pullAll=df,E.pullAllBy=N1,E.pullAllWith=I1,E.pullAt=T1,E.range=J0,E.rangeRight=j0,E.rearg=zb,E.reject=Lb,E.remove=L1,E.rest=Gb,E.reverse=fo,E.sampleSize=Rb,E.set=Yv,E.setWith=Qv,E.shuffle=Eb,E.slice=A1,E.sortBy=Mb,E.sortedUniq=F1,E.sortedUniqBy=U1,E.split=b0,E.spread=qb,E.tail=B1,E.take=H1,E.takeRight=W1,E.takeRightWhile=z1,E.takeWhile=G1,E.tap=lb,E.throttle=Kb,E.thru=js,E.toArray=Tf,E.toPairs=Vf,E.toPairsIn=Mf,E.toPath=$0,E.toPlainObject=Af,E.transform=Zv,E.unary=Jb,E.union=q1,E.unionBy=K1,E.unionWith=J1,E.uniq=j1,E.uniqBy=Y1,E.uniqWith=Q1,E.unset=Xv,E.unzip=co,E.unzipWith=hf,E.update=$v,E.updateWith=xv,E.values=lr,E.valuesIn=e0,E.without=Z1,E.words=Uf,E.wrap=jb,E.xor=X1,E.xorBy=$1,E.xorWith=x1,E.zip=eb,E.zipObject=tb,E.zipObjectDeep=nb,E.zipWith=ib,E.entries=Vf,E.entriesIn=Mf,E.extend=Rf,E.extendWith=ea,ko(E,E),E.add=ew,E.attempt=Bf,E.camelCase=l0,E.capitalize=Of,E.ceil=tw,E.clamp=t0,E.clone=Qb,E.cloneDeep=Xb,E.cloneDeepWith=$b,E.cloneWith=Zb,E.conformsTo=xb,E.deburr=Ff,E.defaultTo=D0,E.divide=nw,E.endsWith=r0,E.eq=ti,E.escape=s0,E.escapeRegExp=a0,E.every=gb,E.find=pb,E.findIndex=of,E.findKey=Lv,E.findLast=mb,E.findLastIndex=uf,E.findLastKey=Av,E.floor=iw,E.forEach=_f,E.forEachRight=pf,E.forIn=Rv,E.forInRight=Ev,E.forOwn=Dv,E.forOwnRight=Vv,E.get=mo,E.gt=ev,E.gte=tv,E.has=Fv,E.hasIn=bo,E.head=cf,E.identity=Cn,E.includes=kb,E.indexOf=m1,E.inRange=n0,E.invoke=Hv,E.isArguments=El,E.isArray=xe,E.isArrayBuffer=nv,E.isArrayLike=Sn,E.isArrayLikeObject=Jt,E.isBoolean=iv,E.isBuffer=il,E.isDate=lv,E.isElement=rv,E.isEmpty=sv,E.isEqual=av,E.isEqualWith=ov,E.isError=_o,E.isFinite=uv,E.isFunction=Ei,E.isInteger=yf,E.isLength=$s,E.isMap=Pf,E.isMatch=fv,E.isMatchWith=cv,E.isNaN=dv,E.isNative=hv,E.isNil=_v,E.isNull=gv,E.isNumber=Nf,E.isObject=Ht,E.isObjectLike=zt,E.isPlainObject=jr,E.isRegExp=po,E.isSafeInteger=pv,E.isSet=If,E.isString=xs,E.isSymbol=En,E.isTypedArray=ir,E.isUndefined=mv,E.isWeakMap=bv,E.isWeakSet=vv,E.join=k1,E.kebabCase=o0,E.last=Jn,E.lastIndexOf=C1,E.lowerCase=u0,E.lowerFirst=f0,E.lt=wv,E.lte=Sv,E.max=lw,E.maxBy=rw,E.mean=sw,E.meanBy=aw,E.min=ow,E.minBy=uw,E.stubArray=yo,E.stubFalse=Po,E.stubObject=Y0,E.stubString=Q0,E.stubTrue=Z0,E.multiply=fw,E.nth=y1,E.noConflict=H0,E.noop=Co,E.now=Qs,E.pad=c0,E.padEnd=d0,E.padStart=h0,E.parseInt=g0,E.random=i0,E.reduce=Ib,E.reduceRight=Tb,E.repeat=_0,E.replace=p0,E.result=jv,E.round=cw,E.runInContext=Q,E.sample=Ab,E.size=Db,E.snakeCase=m0,E.some=Vb,E.sortedIndex=R1,E.sortedIndexBy=E1,E.sortedIndexOf=D1,E.sortedLastIndex=V1,E.sortedLastIndexBy=M1,E.sortedLastIndexOf=O1,E.startCase=v0,E.startsWith=w0,E.subtract=dw,E.sum=hw,E.sumBy=gw,E.template=S0,E.times=X0,E.toFinite=Di,E.toInteger=et,E.toLength=Lf,E.toLower=k0,E.toNumber=jn,E.toSafeInteger=kv,E.toString=bt,E.toUpper=C0,E.trim=y0,E.trimEnd=P0,E.trimStart=N0,E.truncate=I0,E.unescape=T0,E.uniqueId=x0,E.upperCase=L0,E.upperFirst=vo,E.each=_f,E.eachRight=pf,E.first=cf,ko(E,function(){var a={};return ui(E,function(u,d){St.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,Wn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),Wn(["drop","take"],function(a,u){at.prototype[a]=function(d){d=d===t?1:$t(et(d),0);var b=this.__filtered__&&!u?new at(this):this.clone();return b.__filtered__?b.__takeCount__=on(d,b.__takeCount__):b.__views__.push({size:on(d,Ne),type:a+(b.__dir__<0?"Right":"")}),b},at.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Wn(["filter","map","takeWhile"],function(a,u){var d=u+1,b=d==de||d==W;at.prototype[a]=function(P){var M=this.clone();return M.__iteratees__.push({iteratee:Ke(P,3),type:d}),M.__filtered__=M.__filtered__||b,M}}),Wn(["head","last"],function(a,u){var d="take"+(u?"Right":"");at.prototype[a]=function(){return this[d](1).value()[0]}}),Wn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");at.prototype[a]=function(){return this.__filtered__?new at(this):this[d](1)}}),at.prototype.compact=function(){return this.filter(Cn)},at.prototype.find=function(a){return this.filter(a).head()},at.prototype.findLast=function(a){return this.reverse().find(a)},at.prototype.invokeMap=lt(function(a,u){return typeof a=="function"?new at(this):this.map(function(d){return Wr(d,a,u)})}),at.prototype.reject=function(a){return this.filter(Xs(Ke(a)))},at.prototype.slice=function(a,u){a=et(a);var d=this;return d.__filtered__&&(a>0||u<0)?new at(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=et(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},at.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},at.prototype.toArray=function(){return this.take(Ne)},ui(at.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),b=/^(?:head|last)$/.test(u),P=E[b?"take"+(u=="last"?"Right":""):u],M=b||/^find/.test(u);!P||(E.prototype[u]=function(){var H=this.__wrapped__,q=b?[1]:arguments,$=H instanceof at,he=q[0],ge=$||xe(H),be=function(st){var ot=P.apply(E,Zi([st],q));return b&&Ae?ot[0]:ot};ge&&d&&typeof he=="function"&&he.length!=1&&($=ge=!1);var Ae=this.__chain__,We=!!this.__actions__.length,je=M&&!Ae,nt=$&&!We;if(!M&&ge){H=nt?H:new at(this);var Ye=a.apply(H,q);return Ye.__actions__.push({func:js,args:[be],thisArg:t}),new Gn(Ye,Ae)}return je&&nt?a.apply(this,q):(Ye=this.thru(be),je?b?Ye.value()[0]:Ye.value():Ye)})}),Wn(["pop","push","shift","sort","splice","unshift"],function(a){var u=vs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",b=/^(?:pop|shift)$/.test(a);E.prototype[a]=function(){var P=arguments;if(b&&!this.__chain__){var M=this.value();return u.apply(xe(M)?M:[],P)}return this[d](function(H){return u.apply(xe(H)?H:[],P)})}}),ui(at.prototype,function(a,u){var d=E[u];if(d){var b=d.name+"";St.call($l,b)||($l[b]=[]),$l[b].push({name:u,func:d})}}),$l[Hs(t,C).name]=[{name:"wrapper",func:t}],at.prototype.clone=Tp,at.prototype.reverse=Lp,at.prototype.value=Ap,E.prototype.at=rb,E.prototype.chain=sb,E.prototype.commit=ab,E.prototype.next=ob,E.prototype.plant=fb,E.prototype.reverse=cb,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=db,E.prototype.first=E.prototype.head,Vr&&(E.prototype[Vr]=ub),E},Ql=ap();yi?((yi.exports=Ql)._=Ql,Cl._=Ql):tn._=Ql}).call(Zr)})(pr,pr.exports);class pS{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=pr.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),pr.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return On.isCustomLuigiContainer()?On.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-On.getShellbar().clientHeight}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(le.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=le._remotePromises;return l||(l={counter:0,promises:[]},le._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 le._remotePromises?le._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const te=new pS;class mS{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=te.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=te.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return Mw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:te.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(te.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ie.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=le.getConfigValue("settings.customSandboxRules"),c=le.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=$r.hasDecorators()?$r.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=c.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:te.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=le.getConfigValue("settings.iframeCreationInterceptor");if(te.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ie.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(!!this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ie.specialIframeTypes.filter(n=>Ie.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Oo.getActiveFeatureToggleList(),currentLocale:dt.getCurrentLocale(),currentTheme:N_.getCurrentTheme()}}}const Ie=new mS;class bS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=le.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return te.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Oo.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(gi.isAuthorizationEnabled()){const r=sl.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=le.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=le.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((h,_)=>{const p=h.order||0,m=_.order||0;return p-m})};return e.forEach(g=>{let h,_;const p=g[t];te.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let m=r[h];m||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),m=[],r[h]=m),m.metaInfo||(m.metaInfo=_),te.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),te.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&h&&m.metaInfo.collapsible&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||m.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=le.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":dt.getTranslation(n)}async generateTopNavNodes(e){const t=await Ft.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const h of t){e.forEach(m=>{!n&&m===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const m=h.category.label||h.category;if(s[m]){if(s[m].icon||(s[m].icon=h.category.icon,s[m].altText=h.category.altText),p&&!s[m].badgeCounter)s[m].badgeCounter={label:"",count:()=>_};else if(p){const v=s[m].badgeCounter.count()+_;s[m].badgeCounter.count=()=>v}}else s[m]={isCat:!0,label:m,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[m]);s[m].children.push(h)}else o.push(h);_&&c.push(_)}const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const h=c.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";tt.navigateTo(t)}}getBurgerTooltipConfig(){const e=le.getConfigValue("settings.burgerTooltip");if(te.isObject(e)||e===!0){const t=e.navExpanded?dt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?dt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ft.extractDataFromPath(e);return!!await Ft.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:pr.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{pr.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=dt.getTranslation(e.label);const n=pe.findViewGroup(e);if(n){const l=yn.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=te.replaceVars(t,r,"viewGroupData.")}return t}}const Ce=new bS;class vS{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 ua.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ie.getLocation(e.viewUrl)===Ie.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=le.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=le.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return le.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=pe.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?pe.parseParams(pe.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return pe.getLocation().search?pe.parseParams(pe.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(le.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=le.getConfigValue("routing.useHashRouting");Nn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?tt.getHashPath():tt.getModifiedPathname();e(l)}}),Nn.addEventListener("popstate",n=>{const l=t?tt.getHashPath(location.href):tt.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:pe.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:tt.buildFromRelativePath(e);return l+s}const r=pe.buildRoute(e,`/${e.pathSegment}`);return l+te.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=pe.getRouteLink(e,t,le.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(le.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=te.trimLeadingSlash(e).split("/"),l=pe.buildRoute(t,`/${t.pathSegment}`),r=te.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=dt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=te.replaceVars(e,t.pathParams,":",!1),e=te.replaceVars(e,t.context,n),e=te.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];rl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,rl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[_r.sanitizeParam(n[0])]=_r.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Oo.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=le.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=le.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([c,g],h)=>{r+=`${h>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in rl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=rl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!te.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&rl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=le.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:dt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const pe=new vS;class wS{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 Un=new wS;class SS{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1,window.onunload=()=>this.removeAllEventListeners()}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Nn=new SS;class kS{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ie.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Ie.sendMessageToIframe(s,r))}}const CS=new kS;class yS{constructor(){}processUserSettingGroups(){const e=[],t=le.getConfigValue("userSettings.userSettingGroups"),n=le.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(te.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Ie.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const ur=new yS;class PS{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Kf=new PS;function Jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function jf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,c,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){R(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=ne(r,"click",h),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&A(e),c=!1,g()}}}function NS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=jf(Jf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Jf(l,t,s);n[s]?n[s].p(o,r):(n[s]=jf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Ue,o:Ue,d(l){l&&A(e),ft(n,l),i[5](null)}}}function IS(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=pt("getUnsavedChangesModalPromise"),c=pt("handleNavigation");Fn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:v,links:S,closeAfter:y}=m.settings,C=_r.processTextAndLinks(v,S,m.settings.id);if(setTimeout(()=>{C.links.forEach(N=>{g(N,m.settings.id)})}),m.settings.afterInit){const N=s;m.settings.afterInit({dismiss:()=>{N&&N.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",N)},element:N})}return{settings:{...m.settings,text:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Yt(()=>{});function g(p,m){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const N={params:{link:p.url,relative:C}};c(N)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class TS extends At{constructor(e){super(),Lt(this,e,IS,NS,Pt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Oi=40,pi=13,_i=27,ma=32,LS=36,AS=35;function Yf(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Pn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t=Pn(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=ke(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=ne(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function RS(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,h,_,p=i[0].body+"",m,v,S,y,C,N,I=i[0].buttonDismiss+"",D,L,T,V,O,F=i[0].type&&Yf(i),z=i[0].buttonConfirm!==!1&&Qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=ke(c),h=K(),_=k("div"),m=K(),v=k("footer"),S=k("div"),z&&z.c(),y=K(),C=k("div"),N=k("button"),D=ke(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(N,"data-testid","luigi-modal-dismiss"),f(N,"class",L="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(C,"class","fd-bar__element"),f(S,"class","fd-bar__right"),f(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",T="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(ae,X){R(ae,e,X),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,m),w(t,v),w(v,S),z&&z.m(S,null),w(S,y),w(S,C),w(C,N),w(N,D),V||(O=[ne(window,"keydown",i[1]),ne(N,"click",i[5])],V=!0)},p(ae,[X]){ae[0].type?F?F.p(ae,X):(F=Yf(ae),F.c(),F.m(r,s)):F&&(F.d(1),F=null),X&1&&c!==(c=ae[0].header+"")&&Pe(g,c),X&1&&p!==(p=ae[0].body+"")&&(_.innerHTML=p),ae[0].buttonConfirm!==!1?z?z.p(ae,X):(z=Qf(ae),z.c(),z.m(S,y)):z&&(z.d(1),z=null),X&1&&I!==(I=ae[0].buttonDismiss+"")&&Pe(D,I),X&1&&L!==(L="fd-button "+(ae[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(N,"class",L),X&1&&T!==(T="fd-message-box-docs-static fd-message-box fd-message-box--"+ae[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",T)},i:Ue,o:Ue,d(ae){ae&&A(e),F&&F.d(),z&&z.d(),V=!1,Qe(O)}}}function ES(i,e,t){const n=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Yt(()=>{const h={icon:r[l.type],header:dt.getTranslation("luigi.confirmationModal.header"),body:dt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:_r.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Ie.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return Ce.renderIconClassName(h)}function o(h){h.keyCode===_i&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,c,g]}class DS extends At{constructor(e){super(),Lt(this,e,ES,RS,Pt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function VS(i){let e,t,n,l;const r=i[5].default,s=xg(r,i,i[4],null);return{c(){e=k("div"),s&&s.c(),f(e,"class",t=Pn(i[0])+" svelte-6s1fu6"),f(e,"aria-hidden","false"),f(e,"style",n=i[1]==="main"?"z-index: 0;":"")},m(o,c){R(o,e,c),s&&s.m(e,null),l=!0},p(o,[c]){s&&s.p&&(!l||c&16)&&n_(s,r,o,o[4],l?t_(r,o[4],c,null):i_(o[4]),null),(!l||c&1&&t!==(t=Pn(o[0])+" svelte-6s1fu6"))&&f(e,"class",t),(!l||c&2&&n!==(n=o[1]==="main"?"z-index: 0;":""))&&f(e,"style",n)},i(o){l||(U(s,o),l=!0)},o(o){J(s,o),l=!1},d(o){o&&A(e),s&&s.d(o)}}}function MS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Wt();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},m=v=>{if(!h)return!0;const y=[...Ie.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return Yt(()=>{le.getConfigValue("settings.backdropDisabled")||(p(),Nn.addEventListener("message",S=>{const y=Ie.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=m(S)),r("stateChanged",{backdropActive:!0}),Ie.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ie.enableA11yOfInactiveIframe()))}))}),Fn(()=>{o!==c&&(c=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class ts extends At{constructor(e){super(),Lt(this,e,MS,VS,Pt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function da(i,{delay:e=0,duration:t=400,easing:n=Eo}={}){const l=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:n,css:r=>`opacity: ${r*l}`}}const{window:OS}=Ui;function Zf(i){let e,t,n,l,r,s,o,c,g,h,_,p;t=new ts({props:{disable:i[2]}});let m=i[0].title&&Xf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=k("div"),m&&m.c(),s=K(),o=k("div"),c=k("div"),g=k("button"),g.innerHTML='<i class="sap-icon sap-icon--decline"></i>',f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-10o42af")},m(v,S){R(v,e,S),ze(t,e,null),w(e,n),w(e,l),w(l,r),m&&m.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),h=!0,_||(p=ne(g,"click",i[12]),_=!0)},p(v,S){const y={};S&4&&(y.disable=v[2]),t.$set(y),v[0].title?m?m.p(v,S):(m=Xf(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null)},i(v){h||(U(t.$$.fragment,v),h=!0)},o(v){J(t.$$.fragment,v),h=!1},d(v){v&&A(e),Ge(t),m&&m.d(),_=!1,p()}}}function Xf(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=ke(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Pe(n,t)},d(l){l&&A(e)}}}function $f(i){let e;const t=i[11].default,n=xg(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&n_(n,t,l,l[10],e?t_(t,l[10],r,null):i_(l[10]),null)},i(l){e||(U(n,l),e=!0)},o(l){J(n,l),e=!1},d(l){n&&n.d(l)}}}function xf(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
56
56
|
<div class="fd-busy-indicator__circle"></div>
|
|
57
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-10o42af"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=h_(e,da,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=g_(e,da,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function FS(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Zf(i),N=i[5]&&$f(i),I=i[4]&&xf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),N&&N.c(),r=K(),s=k("div"),g=K(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-10o42af"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-10o42af"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-10o42af"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Pn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"),f(e,"style",m=i[6]?"z-index:1001":"")},m(D,L){R(D,e,L),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=ne(OS,"keydown",i[3]),S=!0)},p(D,[L]){D[6]||D[5]&&D[0].header?C?(C.p(D,L),L&97&&U(C,1)):(C=Zf(D),C.c(),U(C,1),C.m(t,n)):C&&(Re(),J(C,1,1,()=>{C=null}),Ee()),D[5]?N?(N.p(D,L),L&32&&U(N,1)):(N=$f(D),N.c(),U(N,1),N.m(l,r)):N&&(Re(),J(N,1,1,()=>{N=null}),Ee()),(!v||L&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||L&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I?L&16&&U(I,1):(I=xf(),I.c(),U(I,1),I.m(t,null)):I&&(Re(),J(I,1,1,()=>{I=null}),Ee()),(!v||L&35&&h!==(h="fd-dialog__content "+(D[5]?D[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+D[1])+" svelte-10o42af"))&&f(t,"class",h),(!v||L&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||L&97&&p!==(p=Pn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||L&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(U(C),U(N),U(I),v=!0)},o(D){J(C),J(N),J(I),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function US(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Wt();let _,p,m,v=!1,S=!1,y=!0,C=!1,N=!0,I;const D=async X=>{const Z=X&&X.length?te.getPathWithoutHash(X):"",de=pe.parseParams(Z.split("?")[1]);m=pe.getNodeParams(de);const we=await Ft.extractDataFromPath(X);_=we.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),I=C?"._drawer":`[modal-container-index="${c}"]`,C?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=_.label,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||t(0,r.title=_.label,r),p=we.pathData,t(8,s=!0)},L=async X=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await O():await T(),dr.renderWebComponent(_.viewUrl,document.querySelector(I),p.context,_),h("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Z=await V(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Z,modalIframeData:{...p,nodeParams:m}}),v=!0}else await D(X)},T=async()=>{let X,Z;const de=document.querySelector(".lui-modal-index-"+c),{size:we,width:W,height:se}=r,ee=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(W&&W.match(ee)&&se&&se.match(ee))X=se,Z=W;else switch(we){case"fullscreen":X="100vh",Z="100vw",de.classList.add("lui-modal-fullscreen");break;case"m":X="80%",Z="60%";break;case"s":X="80%",Z="40%";break;default:X="80%",Z="80%"}de.setAttribute("style",`width:${Z};height:${X};`)},V=async(X,Z)=>{C?await O():await T(),X&&(X=pe.substituteViewUrl(X,Z));const de=await Ie.createIframe(X,void 0,_,"modal",Z);return document.querySelector(I).appendChild(de),de};async function O(X){let Z="";const de=document.getElementsByClassName("drawer"),we=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Z="width:75%;":r.size==="m"?Z="width:50%;":r.size==="s"?Z="width:25%;":r.size==="xs"&&(Z="width:15.5%;")),r.backdrop?de[0].setAttribute("style",Z):(we[0].setAttribute("style",Z),de[0].setAttribute("style","width:100%"))}pa(()=>{L(o)});const F=async X=>{X.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),X.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),X.data.msg==="luigi.get-context"&&(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&t(4,y=!1),X.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),X.data.msg==="luigi.navigation.updateModalSettings"&&((X.data.updatedModalSettings.title||X.data.updatedModalSettings.title==="")&&t(0,r.title=X.data.updatedModalSettings.title,r),X.data.updatedModalSettings.size&&(t(0,r.size=X.data.updatedModalSettings.size,r),await T()))};Yt(()=>{Nn.addEventListener("message",F),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),xr(()=>{Nn.removeEventListener("message",F),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function z(X){X.keyCode===_i&&h("close")}const ae=()=>h("close",{activeDrawer:!1});return i.$$set=X=>{"settings"in X&&t(0,r=X.settings),"isDataPrepared"in X&&t(8,s=X.isDataPrepared),"nodepath"in X&&t(9,o=X.nodepath),"modalIndex"in X&&t(1,c=X.modalIndex),"disableBackdrop"in X&&t(2,g=X.disableBackdrop),"$$scope"in X&&t(10,l=X.$$scope)},[r,c,g,z,y,C,N,h,s,o,l,n,ae]}class T_ extends At{constructor(e){super(),Lt(this,e,US,FS,Pt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function ec(i,e,t){const n=i.slice();return n[29]=e[t][0],n[30]=e[t][1],n[31]=e,n[32]=t,n}function tc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function nc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function lc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=hc(ec(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){R(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ec(r,n,o);l[o]?l[o].p(c,s):(l[o]=hc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&A(e),ft(l,r)}}}function rc(i){let e;function t(r,s){return r[30].isEditable||r[30].isEditable===void 0?HS:BS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function BS(i){let e,t=i[0][i[1][0]][i[29]]+"",n,l;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),f(e,"disabled",l=!(i[30].isEditable===void 0||i[30].isEditable))},m(r,s){R(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[29]]+"")&&Pe(n,t),s[0]&2&&l!==(l=!(r[30].isEditable===void 0||r[30].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function HS(i){let e,t,n,l,r;function s(){i[18].call(e,i[29])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[30].placeholder)),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),e.disabled=n=!(i[30].isEditable===void 0||i[30].isEditable)},m(o,c){R(o,e,c),Gf(e,i[0][i[1][0]][i[29]]),l||(r=ne(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[30].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[29]]&&Gf(e,i[0][i[1][0]][i[29]])},d(o){o&&A(e),l=!1,r()}}}function sc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"",c,g,h,_,p,m,v=Array.isArray(i[30].options),S,y;function C(...D){return i[19](i[29],i[32],i[30],...D)}function N(){return i[20](i[30])}let I=v&&ac(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=ke(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=K(),m=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[32]),f(s,"disabled",g=!(i[30].isEditable===void 0||i[30].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[32]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,L){R(D,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,m),I&&I.m(m,null),S||(y=[ne(r,"keydown",C),ne(n,"click",Ut(N))],S=!0)},p(D,L){i=D,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"")&&Pe(c,o),L[0]&2&&g!==(g=!(i[30].isEditable===void 0||i[30].isEditable))&&f(s,"disabled",g),L[0]&2&&(v=Array.isArray(i[30].options)),v?I?I.p(i,L):(I=ac(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Qe(y)}}}function ac(i){let e,t=i[30].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[32]),f(e,"role","listbox")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[30].options;let s;for(s=0;s<t.length;s+=1){const o=nc(l,t,s);n[s]?n[s].p(o,r):(n[s]=oc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function oc(i){let e,t,n=i[12](i[33])+"",l,r,s,o;function c(){return i[21](i[29],i[33],i[35])}return{c(){e=k("li"),t=k("span"),l=ke(n),r=K(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[32]+"_"+i[35]),f(e,"tabindex","0"),hi(e,"is-selected",i[4]===i[35]),hi(e,"is-focus",i[4]===i[35])},m(g,h){R(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[ne(e,"click",c),ne(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[33])+"")&&Pe(l,n),h[0]&16&&hi(e,"is-selected",i[4]===i[35]),h[0]&16&&hi(e,"is-focus",i[4]===i[35])},d(g){g&&A(e),s=!1,Qe(o)}}}function uc(i){let e,t,n,l=i[30].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=fc(tc(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[29]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){R(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[30].options;let c;for(c=0;c<l.length;c+=1){const g=tc(s,l,c);r[c]?r[c].p(g,o):(r[c]=fc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[29]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ft(r,s)}}}function fc(i){let e,t=i[12](i[33])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[29],i[33])}return{c(){e=k("button"),n=ke(t),l=K(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[29]]===(i[33].value||i[33])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[29],i[33])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[29],i[33])),e.disabled=c=!(i[30].isEditable===void 0||i[30].isEditable)},m(p,m){R(p,e,m),w(e,n),w(e,l),g||(h=ne(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[33])+"")&&Pe(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[29]]===(i[33].value||i[33])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function cc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[29])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[29]),n.disabled=r=!(i[30].isEditable===void 0||i[30].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[29])},m(p,m){R(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[29]],w(t,s),w(t,o),g||(h=ne(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[29])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[30].isEditable===void 0||i[30].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[29]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[29])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function dc(i){let e,t,n,l;function r(){i[25].call(e,i[29])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[30].isEditable===void 0||i[30].isEditable)},m(s,o){R(s,e,o),e.checked=i[0][i[1][0]][i[29]],n||(l=ne(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[29]])},d(s){s&&A(e),n=!1,l()}}}function hc(i){let e,t,n,l=i[5](i[30].label)+"",r,s,o,c,g,h,_=i[30].type==="enum"&&i[30].style==="button"&&Array.isArray(i[30].options),p,m,v,S=i[30].type==="string"&&rc(i),y=i[30].type==="enum"&&(i[30].style===void 0||i[30].style==="list")&&sc(i),C=_&&uc(i),N=i[30].type==="boolean"&&(!i[30].style||i[30].style==="switch")&&cc(i),I=i[30].type==="boolean"&&i[30].style==="checkbox"&&dc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=ke(l),s=ke(":"),o=K(),c=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),N&&N.c(),m=K(),I&&I.c(),v=K(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[32]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,L){R(D,e,L),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,m),I&&I.m(c,null),w(e,v)},p(D,L){L[0]&34&&l!==(l=D[5](D[30].label)+"")&&Pe(r,l),D[30].type==="string"?S?S.p(D,L):(S=rc(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[30].type==="enum"&&(D[30].style===void 0||D[30].style==="list")?y?y.p(D,L):(y=sc(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),L[0]&2&&(_=D[30].type==="enum"&&D[30].style==="button"&&Array.isArray(D[30].options)),_?C?C.p(D,L):(C=uc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[30].type==="boolean"&&(!D[30].style||D[30].style==="switch")?N?N.p(D,L):(N=cc(D),N.c(),N.m(c,m)):N&&(N.d(1),N=null),D[30].type==="boolean"&&D[30].style==="checkbox"?I?I.p(D,L):(I=dc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function WS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){R(r,e,s),l&&l.m(e,null),t||(n=[ne(window,"click",i[7]),ne(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&A(e),l&&l.d(),t=!1,Qe(n)}}}function zS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Wt();let c=pt("getTranslation");mi(i,c,W=>t(5,n=W));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(W){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(se=>{y(se,!1)})}function v(W,se,ee){if(W&&ee>0)return te.isIE()?W.msMatchesSelector(se)?W:v(W.parentNode,se,ee-1):W.matches(se)?W:v(W.parentNode,se,ee-1)}function S(W,se){let ee=v(W.target,".fd-popover__control",20),Y=ee.getAttribute("aria-expanded")==="true";(se||se===void 0)&&(m(),y(ee,!Y))}function y(W,se){const ee=W.querySelector(".lui-activate-language-dropdown"),Y=W.parentNode.querySelector(".fd-popover__body"),ye=W.parentNode.querySelector(".fd-select__control");W.setAttribute("aria-expanded",se),Y.setAttribute("aria-hidden",!se),ye.setAttribute("aria-expanded",se),ee.setAttribute("aria-expanded",se),t(14,h=se)}function C(W,se,ee){t(4,g=ee),t(0,s[l[0]][W]=se.value||se,s)}function N(W,se){document.querySelectorAll(".enum-buttons-container-"+W+" button").forEach(ee=>{const Y=ee.getAttribute("id"),ye=`lui-us-enum_button_${W}_option`;Y===ye?ee.classList.add("fd-button--emphasized"):ee.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][W]=se.value||se,s)}function I(W,se){let ee;if(Array.isArray(se)){for(let Y=0;Y<se.length;Y++)if(te.isObject(se[Y])){if(se[Y].value&&se[Y].value===W){ee=se[Y].label,t(4,g=Y);break}}else{ee=W,t(4,g=se.indexOf(W));break}return n(ee)}}function D(W){return n(te.isObject(W)?W.label:W)}function L(W,se,ee){return te.isObject(ee)?`${W}_${se}_${ee.value}`:`${W}_${se}_${ee}`}function T(W,se,ee,Y){let ye=v(W.target,".lui-anchor-node",20);const Ne=document.getElementById(`fd-form-input-dropdown-${ee}`).children;let fe=-1;if([...Ne].forEach((Le,G)=>{Le.classList.contains("is-focus")&&(fe=G)}),h){if(W.keyCode===Vl&&W.altKey&&(ye.click(),ye.focus()),W.keyCode===Oi&&!W.altKey){if(fe===-1){fe=0,Ne.item(fe).classList.add("is-focus");return}fe<Y.options.length-1&&(Ne.item(fe).classList.remove("is-focus"),fe+=1,Ne.item(fe).classList.add("is-focus"))}if(W.keyCode===Vl&&!W.altKey){if(fe===-1){fe=fe.length-1,Ne.item(fe).classList.add("is-focus");return}fe>0&&fe<Y.options.length&&(Ne.item(fe).classList.remove("is-focus"),fe-=1,Ne.item(fe).classList.add("is-focus"))}W.keyCode===pi&&C(se,Y.options[fe],fe)}else ye.focus(),W.keyCode===Oi&&W.altKey&&ye.click(),W.keyCode===Oi&&!W.altKey&&fe<Y.options.length-1&&C(se,Y.options[fe+1],fe+1),W.keyCode===Vl&&!W.altKey&&fe>0&&fe<Y.options.length&&C(se,Y.options[fe-1],fe-1)}function V(W){if(h){let se=v(W.target,".fd-popover",20);se.blur(),(W.keyCode===ma||W.keyCode===pi)&&(W.target.click(),m(),setTimeout(()=>{se.focus()},0))}}I();function O(W){s[l[0]][W]=this.value,t(0,s)}const F=(W,se,ee,Y)=>T(Y,W,se,ee),z=W=>S(event,W.isEditable),ae=(W,se,ee)=>C(W,se,ee),X=W=>V(W),Z=(W,se)=>N(W,se);function de(W){s[l[0]][W]=this.checked,t(0,s)}function we(W){s[l[0]][W]=this.checked,t(0,s)}return i.$$set=W=>{"userSettingGroup"in W&&t(1,l=W.userSettingGroup),"userSettingsGroupKey"in W&&t(15,r=W.userSettingsGroupKey),"storedUserSettingData"in W&&t(0,s=W.storedUserSettingData),"isComboOpen"in W&&t(14,h=W.isComboOpen)},[s,l,T,V,g,n,c,m,S,C,N,I,D,L,h,r,_,p,O,F,z,ae,X,Z,de,we]}class GS extends At{constructor(e){super(),Lt(this,e,zS,WS,Pt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:gc}=Ui;function _c(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[38]=t,n}function pc(i,e,t){const n=i.slice();return n[39]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[39][1])),e?KS:qS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),R(o,t,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&A(t),o&&A(n)}}}function qS(i){let e,t,n,l,r,s=i[39][1].initials&&bc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=Se(),f(e,"class",t=Pn(i[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[39][1].altText?i[39][1].altText:""),li(e,"background-image","url('"+i[39][1].icon+"')"),li(e,"background-size","cover")},m(o,c){R(o,e,c),R(o,l,c),s&&s.m(o,c),R(o,r,c)},p(o,c){c[0]&2&&t!==(t=Pn(o[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[39][1].altText?o[39][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&li(e,"background-image","url('"+o[39][1].icon+"')"),o[39][1].initials?s?s.p(o,c):(s=bc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&A(e),o&&A(l),s&&s.d(o),o&&A(r)}}}function KS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Pn(i[18](i[39][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){R(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=Pn(l[18](l[39][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function bc(i){let e,t=(i[39][1].initials?i[39][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ke(t),f(e,"class",l=Pn(i[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[39][1].altText?i[39][1].altText:"")},m(s,o){R(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[39][1].initials?s[39][1].initials:"")+"")&&Pe(n,t),o[0]&2&&l!==(l=Pn(s[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[39][1].altText?s[39][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function vc(i){let e,t,n,l,r,s=i[10](i[39][1].label?i[39][1].label:"")+"",o,c,g,h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"",_,p,m,v,S=i[39][1].icon&&mc(i);function y(){return i[22](i[39])}function C(...N){return i[23](i[38],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=ke(s),c=K(),g=k("div"),_=ke(h),p=K(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){R(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),m||(v=[ne(e,"click",Et(y)),ne(e,"keydown",C)],m=!0)},p(N,I){i=N,i[39][1].icon?S?S.p(i,I):(S=mc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[39][1].label?i[39][1].label:"")+"")&&Pe(o,s),I[0]&1026&&h!==(h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"")&&Pe(_,h)},d(N){N&&A(e),S&&S.d(),m=!1,Qe(v)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=pc(l,t,s);n[s]?n[s].p(o,r):(n[s]=vc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Sc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new GS({props:o}),$e.push(()=>_t(e,"closeDropDown",r)),$e.push(()=>_t(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){ze(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],gt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],gt(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){J(e.$$.fragment,c),l=!1},d(c){Ge(e,c)}}}function JS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,N=i[10](i[7])+"",I,D,L,T,V,O,F,z,ae,X,Z,de=i[10](i[5])+"",we,W,se,ee,Y=i[10](i[6])+"",ye,Ne,fe,Le,G=Object.entries(i[1]),ue=[];for(let ie=0;ie<G.length;ie+=1)ue[ie]=wc(_c(i,G,ie));let me=i[11]&&Sc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=ke(c),h=K(),_=k("div"),p=k("ul");for(let ie=0;ie<ue.length;ie+=1)ue[ie].c();m=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=ke(N),D=K(),L=k("div"),T=k("div"),me&&me.c(),V=K(),O=k("div"),F=K(),z=k("footer"),ae=k("div"),X=k("div"),Z=k("button"),we=ke(de),W=K(),se=k("div"),ee=k("button"),ye=ke(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(T,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(L,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(Z,"data-testid","lui-us-saveBtn"),f(Z,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(ee,"data-testid","lui-us-dismissBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(se,"class","fd-bar__element"),f(ae,"class","fd-bar__right"),f(z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(ie,De){R(ie,e,De),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let Ve=0;Ve<ue.length;Ve+=1)ue[Ve].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,L),w(L,T),me&&me.m(T,null),w(L,V),w(L,O),w(t,F),w(t,z),w(z,ae),w(ae,X),w(X,Z),w(Z,we),w(ae,W),w(ae,se),w(se,ee),w(ee,ye),Ne=!0,fe||(Le=[ne(gc,"resize",i[20]),ne(gc,"keydown",i[3]),ne(S,"click",i[17]),ne(Z,"click",i[26]),ne(ee,"click",i[27])],fe=!0)},p(ie,De){if((!Ne||De[0]&1040)&&c!==(c=ie[10](ie[4])+"")&&Pe(g,c),De[0]&803846){G=Object.entries(ie[1]);let Ve;for(Ve=0;Ve<G.length;Ve+=1){const _e=_c(ie,G,Ve);ue[Ve]?ue[Ve].p(_e,De):(ue[Ve]=wc(_e),ue[Ve].c(),ue[Ve].m(p,null))}for(;Ve<ue.length;Ve+=1)ue[Ve].d(1);ue.length=G.length}(!Ne||De[0]&1152)&&N!==(N=ie[10](ie[7])+"")&&Pe(I,N),ie[11]?me?(me.p(ie,De),De[0]&2048&&U(me,1)):(me=Sc(ie),me.c(),U(me,1),me.m(T,null)):me&&(Re(),J(me,1,1,()=>{me=null}),Ee()),(!Ne||De[0]&1056)&&de!==(de=ie[10](ie[5])+"")&&Pe(we,de),(!Ne||De[0]&1088)&&Y!==(Y=ie[10](ie[6])+"")&&Pe(ye,Y)},i(ie){Ne||(U(me),Ne=!0)},o(ie){J(me),Ne=!1},d(ie){ie&&A(e),ft(ue,ie),me&&me.d(),fe=!1,Qe(Le)}}}function kc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function jS(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function YS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function QS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Wt();let o,{storedUserSettings:c={}}=e,g={},h=pt("getTranslation");mi(i,h,fe=>t(10,n=fe));let _=ol.userSettingsDialog.dialogHeader,p=ol.userSettingsDialog.saveBtn,m=ol.userSettingsDialog.dismissBtn,v={},S,y,C,N;xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const fe=le.getConfigValue("userSettings.userSettingsDialog"),Le=fe||le.getConfigValue("settings.userSettings.userSettingsDialog");Le&&(t(4,_=Le.dialogHeader?Le.dialogHeader:_),t(5,p=Le.saveBtn?Le.saveBtn:p),t(6,m=Le.dismissBtn?Le.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Nn.addEventListener("message",G=>{const ue=Ie.getValidMessageSource(G);if(!ue||G.data.msg!=="custom")return;ue._ready=!0;const me=fa.convertCustomMessageInternalToUser(G.data),ie="luigi.updateUserSettings";if(me.id===ie){const De=ur.findActiveCustomUserSettingsIframe(G.source);if(De){let Ve=De.getAttribute("userSettingsGroup");t(0,c[Ve]=me.data,c)}}me.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&F()}),le.readUserSettings().then(G=>{g=JSON.parse(JSON.stringify(G)),G===null?t(0,c=kc(JSON.parse(JSON.stringify(r)),{})):t(0,c=kc(JSON.parse(JSON.stringify(r)),G)),D([S,r[0][S]])}).catch(G=>{G&&G.message&&console.error(G.message),G&&G.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(fe){if(t(7,y=fe.title?fe.title:""),!!te.isObject(fe.settings))for(let Le in fe.settings){let G=fe.settings[Le];G.type==="enum"?Array.isArray(G.options)||console.error(`There is no options array for '${Le}' defined in the Luigi userSettings config.`):G.type===void 0&&console.error(`There is no data type defined for '${Le}' in the Luigi userSettings config.`)}}function D(fe,Le){t(11,o=fe);let G=fe[0],ue=fe[1];if(I(ue),Le?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ie=>{ie.classList.remove("is-selected")}),V(Le.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Cc()),ue.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(G))ur.getUserSettingsIframesInDom().forEach(me=>{me.userSettingsGroup===G&&(me.style.display="block")});else{const me=$r.hasDecorators()?$r.applyDecorators(ue.viewUrl):ue.viewUrl;let ie=ur.createIframe(me,G);v[G]=ie}jS()}else YS()}const L=fe=>{t(0,c=fe.detail.userSettings)};function T(){le.storeUserSettings(c,g).then(()=>{s("close")}).catch(fe=>{fe&&fe.message&&console.error(fe.message),fe&&fe.closeDialog&&s("close")})}function V(fe,Le,G){if(fe&&G>0)return te.isIE()?fe.msMatchesSelector(Le)?fe:V(fe.parentNode,Le,G-1):fe.matches(Le)?fe:V(fe.parentNode,Le,G-1)}function O(){F()}function F(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Cc()}function z(fe){return Ce.renderIconClassName(fe)}function ae(fe){return Ce.isOpenUIiconName(fe.icon)}let X;const Z=()=>{const fe=window.innerWidth>=xt.desktopMinWidth&&X<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&X>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),fe&&(document.querySelector(".confirm-button").style.display="block"),!X){let G=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?G.style.display="none":G.style.display="block"}X=window.innerWidth};function de(fe,Le){let G=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(fe.keyCode===pi||fe.keyCode===ma)&&G[Le].click(),fe.keyCode===AS&&G[Object.keys(r).length-1].focus(),fe.keyCode===LS&&G[0].focus()}function we(fe){fe.keyCode===_i&&C?N():fe.keyCode===_i&&!C&&s("close")}const W=fe=>D(fe,event),se=(fe,Le)=>de(Le,[fe]);function ee(fe){N=fe,t(9,N)}function Y(fe){C=fe,t(8,C)}const ye=()=>T(),Ne=()=>s("close");return i.$$set=fe=>{"schemaObj"in fe&&t(21,l=fe.schemaObj),"userSettingGroups"in fe&&t(1,r=fe.userSettingGroups),"storedUserSettings"in fe&&t(0,c=fe.storedUserSettings)},[c,r,de,we,_,p,m,y,C,N,n,o,s,h,D,L,T,F,z,ae,Z,l,W,se,ee,Y,ye,Ne]}class ZS extends At{constructor(e){super(),Lt(this,e,QS,JS,Pt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:XS}=Ui;function $S(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){R(t,e,n)},p:Ue,d(t){t&&A(e)}}}function xS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=ke(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){R(g,e,h),w(e,t),R(g,n,h),R(g,l,h),w(l,s),o||(c=ne(t,"click",Ut(Et(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Pe(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function yc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){R(g,e,h),R(g,t,h),R(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[ne(s,"click",Ut(Et(i[3]))),ne(n,"mousedown",Ut(i[6]))],o=!0)},p:Ue,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Qe(c)}}}function e2(i){let e,t,n,l,r,s,o,c,g,h;t=new ts({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?xS:$S}let p=_(i),m=p(i),v=!i[0]&&yc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),m.c(),s=K(),v&&v.c(),o=Se(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){R(S,e,y),ze(t,e,null),w(e,n),w(e,l),m.m(l,null),R(S,s,y),v&&v.m(S,y),R(S,o,y),c=!0,g||(h=ne(XS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&m?m.p(S,y):(m.d(1),m=p(S),m&&(m.c(),m.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=yc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){J(t.$$.fragment,S),c=!1},d(S){S&&A(e),Ge(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function t2(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,m,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=pt("getUnsavedChangesModalPromise");const L=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(se=>{se==="splitViewSettings"?t(1,y=W.splitViewSettings):se==="lastNode"?r=W.lastNode:se==="pathData"?s=W.pathData:se==="nodeParams"?o=W.nodeParams:se==="collapsed"?t(0,S=W.collapsed):se==="isDataPrepared"?t(8,C=W.isDataPrepared):se==="currentNode"?c=W.currentNode:se==="splitViewIframe"?h=W.splitViewIframe:se==="splitViewIframeData"?_=W.splitViewIframeData:se==="splitViewWC"?p=W.splitViewWC:se==="splitViewWCData"&&(m=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),T=async()=>{C?S||rt.createAndSetView(L()):await rt.prepareSplitViewData(L(),v)},V=()=>{l.split=rt.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=rt.getDragger()},O=()=>{const W=rt.getDraggerBackdrop();W&&(W.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(W){if(!!Ie.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&rt.close(L()),W.data.msg==="luigi.navigation.splitview.collapse"&&z(),W.data.msg==="luigi.navigation.splitview.expand"&&ae(),W.data.msg==="luigi.navigation.splitview.resize")){const se=parseInt(W.data.data);if(rt.calculateAndSetSplitViewValues(se,rt.internalValues),S)return;O(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}Yt(()=>{X(),g=F.bind(this),Nn.addEventListener("message",g)}),pa(()=>{T(),I!==C&&!S&&(I=C,O())}),xr(()=>{window.removeEventListener("message",g)});function z(){rt.collapse(L())}async function ae(){await rt.expand(L()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const W=On.getShellbar().clientHeight;rt.internalValues.innerHeight=te.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-W,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=W+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),S||O()}function Z(W){let se=W.y,ee={};const Y=function(G){const ue=se-G.y,me=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(me)||ue===0)return;const ie=me-ue,De=rt.internalValues.innerHeight-ie,Ve=rt.enforceTresholds(ie,De);ie<Ve.top||De<Ve.bottom||(ee=Ve,se=G.y,l.draggable.style.top=`${ee.top}px`)},ye=function(){if(Ne(),!ee.top||!ee.bottom||ee.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=ee.top,rt.splitViewValues=ee,O(),rt.sendMessageToClients("resize.ok",ee.percent)},Ne=function(){document.removeEventListener("mouseup",ye),document.removeEventListener("mousemove",Y)},fe=function(){document.addEventListener("mouseup",ye),document.addEventListener("mousemove",Y)};V(),Ne(),fe(),rt.getDraggerBackdrop().style.display="block"}const de=W=>{let se=rt.getDraggerButton();se&&(se.style.display=W?"block":"none"),se=rt.getCollapsedDraggerButton(),se&&(se.style.display=W?"block":"none")},we=W=>{de(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,N=W.disableBackdrop)},[S,y,N,z,ae,X,Z,we,C,v]}class n2 extends At{constructor(e){super(),Lt(this,e,t2,e2,Pt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:r2,then:l2,catch:i2,value:1};return oa(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&oa(t,n)||__(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function i2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function l2(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=ke(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){R(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Pe(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function r2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function s2(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function a2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Qn extends At{constructor(e){super(),Lt(this,e,a2,s2,Pt,{node:0})}}function Ic(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=ke(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Pe(l,n)},d(r){r&&A(e)}}}function o2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ic(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function u2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class ns extends At{constructor(e){super(),Lt(this,e,u2,o2,Pt,{node:0})}}const{window:na}=Ui;function Tc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Lc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[71]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[71]=e[t],n}function Dc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Vc(i),p=i[12].showUpLink&&Mc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),c=ke(o),g=K(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-1hl5l86"),f(l,"class","fd-nested-list__link svelte-1hl5l86"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-1hl5l86"),f(t,"class","fd-nested-list svelte-1hl5l86"),f(e,"class","lui-nav-title svelte-1hl5l86")},m(m,v){R(m,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,v){m[12].icon?_?_.p(m,v):(_=Vc(m),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=m[24](m[12].label)+"")&&Pe(c,o),m[12].showUpLink?p?p.p(m,v):(p=Mc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=m[32](m[12],m[24](m[12].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Vc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?c2:f2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function f2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1hl5l86"),f(e,"class","fd-nested-list__icon sap-icon svelte-1hl5l86")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function c2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1hl5l86"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-1hl5l86")&&f(e,"class",t)},d(n){n&&A(e)}}}function Mc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1hl5l86"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){R(r,e,s),n||(l=ne(e,"click",Et(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Oc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=sd(Tc(i,r,c));const o=c=>J(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1hl5l86"),f(e,"class","lui-fd-side-nav-wrapper svelte-1hl5l86")},m(c,g){R(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=Tc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=sd(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(Re(),h=r.length;h<s.length;h+=1)o(h);Ee()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1hl5l86"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)U(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)J(s[g]);l=!1},d(c){c&&A(e),ft(s,c)}}}function d2(i){let e,t,n,l;const r=[_2,g2],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Re(),J(s[h],1,1,()=>{s[h]=null}),Ee(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){J(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function h2(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=rd(Ec(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Ec(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=rd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function g2(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Fc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Gc(Lc(i,_,v));const m=v=>J(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=ke(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-1hl5l86"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){R(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),R(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);R(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Fc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Pe(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Lc(v,_,y);p[y]?(p[y].p(C,S),U(p[y],1)):(p[y]=Gc(C),p[y].c(),U(p[y],1),p[y].m(c.parentNode,c))}for(Re(),y=_.length;y<p.length;y+=1)m(y);Ee()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)U(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)J(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ft(p,v),v&&A(c)}}}function _2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,m,v,S,y,C,N,I,D,L,T,V,O,F,z,ae,X,Z;function de(ue,me){return me[0]&8192&&(l=null),l==null&&(l=!!ue[28](ue[68].metaInfo.icon)),l?C2:k2}let we=de(i,[-1,-1,-1]),W=we(i);function se(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...ue){return i[48](i[68],...ue)}let ye=i[68],Ne=[];for(let ue=0;ue<ye.length;ue+=1)Ne[ue]=Yc(Rc(i,ye,ue));const fe=ue=>J(Ne[ue],1,1,()=>{Ne[ue]=null});let Le=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Qc(i);function G(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),c=ke(o),v=K(),S=k("button"),y=k("i"),L=K(),T=k("ul");for(let ue=0;ue<Ne.length;ue+=1)Ne[ue].c();O=K(),Le&&Le.c(),F=K(),f(s,"class","fd-nested-list__title svelte-1hl5l86"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(_n(i[68],i[9])?"is-expanded":"")+" svelte-1hl5l86"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=_n(i[68],i[9])),f(y,"class",C=_n(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-1hl5l86"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=_n(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-1hl5l86"),f(t,"tabindex",D=i[6]?"0":"-1"),f(T,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1hl5l86"),f(T,"aria-hidden",V=!_n(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[31](i[68].metaInfo,i[67])),hi(e,"lui-item-expanded",_n(i[68],i[9]))},m(ue,me){R(ue,e,me),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,L),w(e,T);for(let ie=0;ie<Ne.length;ie+=1)Ne[ie].m(T,null);w(e,O),Le&&Le.m(e,null),w(e,F),ae=!0,X||(Z=[ne(n,"click",Et(se)),ne(S,"click",Et(ee)),ne(t,"keypress",Y),ne(e,"click",Ut(G))],X=!0)},p(ue,me){if(i=ue,we===(we=de(i,me))&&W?W.p(i,me):(W.d(1),W=we(i),W&&(W.c(),W.m(n,r))),(!ae||me[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Pe(c,o),(!ae||me[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!ae||me[0]&8704&&h!==(h="fd-nested-list__link "+(_n(i[68],i[9])?"is-expanded":"")+" svelte-1hl5l86"))&&f(n,"class",h),(!ae||me[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!ae||me[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!ae||me[0]&8704&&m!==(m=_n(i[68],i[9])))&&f(n,"aria-expanded",m),(!ae||me[0]&8704&&C!==(C=_n(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ae||me[0]&8704&&N!==(N=_n(i[68],i[9])))&&f(S,"aria-expanded",N),(!ae||me[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!ae||me[0]&64&&D!==(D=i[6]?"0":"-1"))&&f(t,"tabindex",D),me[0]&1686151296|me[1]&66){ye=i[68];let ie;for(ie=0;ie<ye.length;ie+=1){const De=Rc(i,ye,ie);Ne[ie]?(Ne[ie].p(De,me),U(Ne[ie],1)):(Ne[ie]=Yc(De),Ne[ie].c(),U(Ne[ie],1),Ne[ie].m(T,null))}for(Re(),ie=ye.length;ie<Ne.length;ie+=1)fe(ie);Ee()}(!ae||me[0]&8704&&V!==(V=!_n(i[68],i[9])))&&f(T,"aria-hidden",V),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Le?(Le.p(i,me),me[0]&8448&&U(Le,1)):(Le=Qc(i),Le.c(),U(Le,1),Le.m(e,F)):Le&&(Re(),J(Le,1,1,()=>{Le=null}),Ee()),(!ae||me[0]&8192&&z!==(z=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",z),(!ae||me[0]&8704)&&hi(e,"lui-item-expanded",_n(i[68],i[9]))},i(ue){if(!ae){for(let me=0;me<ye.length;me+=1)U(Ne[me]);U(Le),ae=!0}},o(ue){Ne=Ne.filter(Boolean);for(let me=0;me<Ne.length;me+=1)J(Ne[me]);J(Le),ae=!1},d(ue){ue&&A(e),W.d(),ft(Ne,ue),Le&&Le.d(),X=!1,Qe(Z)}}}function Fc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?m2:p2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function p2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1hl5l86"),f(e,"class","fd-nested-list__icon sap-icon svelte-1hl5l86")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function m2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1hl5l86"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1hl5l86")&&f(e,"class",t)},d(n){n&&A(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Bc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Bc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(X,Z){return X[71].icon?v2:b2}let L=D(i),T=L(i),V=i[71].statusBadge&&Hc(i),O=i[71].externalLink&&i[71].externalLink.url&&Wc(),F=i[71].badgeCounter&&zc(i);function z(...X){return i[54](i[71],...X)}function ae(...X){return i[55](i[71],...X)}return{c(){e=k("li"),t=k("a"),T.c(),n=K(),l=k("span"),s=ke(r),o=K(),V&&V.c(),g=K(),O&&O.c(),h=K(),F&&F.c(),S=K(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(X,Z){R(X,e,Z),w(e,t),T.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,N||(I=[ne(t,"click",z),ne(t,"keyup",function(){Fi(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],N=!0)},p(X,Z){i=X,L===(L=D(i))&&T?T.p(i,Z):(T.d(1),T=L(i),T&&(T.c(),T.m(t,n))),(!C||Z[0]&8192)&&r!==(r=i[26](i[71])+"")&&Pe(s,r),i[71].statusBadge?V?(V.p(i,Z),Z[0]&8192&&U(V,1)):(V=Hc(i),V.c(),U(V,1),V.m(l,null)):V&&(Re(),J(V,1,1,()=>{V=null}),Ee()),(!C||Z[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?O||(O=Wc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,Z),Z[0]&8192&&U(F,1)):(F=zc(i),F.c(),U(F,1),F.m(t,null)):F&&(Re(),J(F,1,1,()=>{F=null}),Ee()),(!C||Z[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||Z[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"))&&f(t,"class",p),(!C||Z[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||Z[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||Z[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(X){C||(U(V),U(F),C=!0)},o(X){J(V),J(F),C=!1},d(X){X&&A(e),T.d(),V&&V.d(),O&&O.d(),F&&F.d(),N=!1,Qe(I)}}}function b2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=ke(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){R(o,e,c),R(o,n,c),R(o,l,c),w(l,s)},p(o,c){c[0]&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":"")&&Pe(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function v2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?S2:w2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function w2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1hl5l86"),f(e,"class","fd-nested-list__icon sap-icon svelte-1hl5l86")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function S2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1hl5l86")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1hl5l86")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hc(i){let e,t;return e=new ns({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Wc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function zc(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Gc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Uc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function k2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-1hl5l86"),f(e,"class","fd-nested-list__icon sap-icon svelte-1hl5l86")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function C2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1hl5l86"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1hl5l86")&&f(e,"class",t)},d(n){n&&A(e)}}}function qc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Kc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Jc(),L=i[71].badgeCounter&&jc(i);function T(...O){return i[49](i[71],...O)}function V(...O){return i[50](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),s=K(),qe(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"),f(t,"role",m=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[ne(t,"click",T),ne(t,"keyup",function(){Fi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Pe(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=jc(i),L.c(),U(L,1),L.m(t,null)):L&&(Re(),J(L,1,1,()=>{L=null}),Ee()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"))&&f(t,"class",p),(!C||F[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){J(o.$$.fragment,O),J(L),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),L&&L.d(),N=!1,Qe(I)}}}function Jc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function jc(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=qc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=ed(Ac(i,g,p));const _=p=>J(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=ke(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1hl5l86"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1hl5l86"),f(t,"class","lui-flyout-sublist__wrapper svelte-1hl5l86"),f(e,"class","lui-flyout-sublist svelte-1hl5l86")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,m){if((!c||m[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Pe(r,l),m[0]&1686151296|m[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=Ac(p,g,v);h[v]?(h[v].p(S,m),U(h[v],1)):(h[v]=ed(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(Re(),v=g.length;v<h.length;v+=1)_(v);Ee()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)U(h[m]);c=!0}},o(p){h=h.filter(Boolean);for(let m=0;m<h.length;m+=1)J(h[m]);c=!1},d(p){p&&A(e),ft(h,p)}}}function Zc(i){let e,t,n=i[71].label&&Xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Xc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&$c(),L=i[71].badgeCounter&&xc(i);function T(...O){return i[51](i[71],...O)}function V(...O){return i[52](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),s=K(),qe(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"),f(t,"tabindex","0"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[ne(t,"click",T),ne(t,"keyup",function(){Fi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Pe(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=$c(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=xc(i),L.c(),U(L,1),L.m(t,null)):L&&(Re(),J(L,1,1,()=>{L=null}),Ee()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"))&&f(t,"class",p),(!C||F[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){J(o.$$.fragment,O),J(L),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),L&&L.d(),N=!1,Qe(I)}}}function $c(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function xc(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function ed(i){let e,t,n=!i[71].hideFromNav&&Zc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Zc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function td(i){let e,t,n=i[71].label&&nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=nd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function L(X,Z){return X[71].icon?P2:y2}let T=L(i),V=T(i);c=new ns({props:{node:i[71]}});let O=i[71].externalLink&&i[71].externalLink.url&&id(),F=i[71].badgeCounter&&ld(i);function z(...X){return i[44](i[71],...X)}function ae(...X){return i[45](i[71],...X)}return{c(){e=k("li"),t=k("a"),V.c(),n=K(),l=k("span"),s=ke(r),o=K(),qe(c.$$.fragment),h=K(),O&&O.c(),_=K(),F&&F.c(),C=K(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"),f(t,"href",p=i[30](i[71])),f(t,"title",m=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(X,Z){R(X,e,Z),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),ze(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),N=!0,I||(D=[ne(t,"click",z),ne(t,"keyup",function(){Fi(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],I=!0)},p(X,Z){i=X,T===(T=L(i))&&V?V.p(i,Z):(V.d(1),V=T(i),V&&(V.c(),V.m(t,n))),(!N||Z[0]&8192)&&r!==(r=i[26](i[71])+"")&&Pe(s,r);const de={};Z[0]&8192&&(de.node=i[71]),c.$set(de),(!N||Z[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1hl5l86"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?O||(O=id(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,Z),Z[0]&8192&&U(F,1)):(F=ld(i),F.c(),U(F,1),F.m(t,null)):F&&(Re(),J(F,1,1,()=>{F=null}),Ee()),(!N||Z[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||Z[0]&8192&&m!==(m=i[32](i[71],i[26](i[71]))))&&f(t,"title",m),(!N||Z[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1hl5l86"))&&f(t,"class",v),(!N||Z[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!N||Z[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(X){N||(U(c.$$.fragment,X),U(F),N=!0)},o(X){J(c.$$.fragment,X),J(F),N=!1},d(X){X&&A(e),V.d(),Ge(c),O&&O.d(),F&&F.d(),I=!1,Qe(D)}}}function y2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function P2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?I2:N2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function N2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-1hl5l86"),f(e,"class","fd-nested-list__icon sap-icon svelte-1hl5l86")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function I2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1hl5l86"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1hl5l86")&&f(e,"class",t)},d(n){n&&A(e)}}}function id(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ld(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function rd(i){let e,t,n=!i[71].hideFromNav&&td(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=td(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function sd(i){let e,t,n,l,r,s;const o=[h2,d2],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(R2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),R(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Re(),J(c[p],1,1,()=>{c[p]=null}),Ee()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),U(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(U(l),s=!0)},o(h){J(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ad(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&od(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=ke(l),s=K(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1hl5l86"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1hl5l86"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1hl5l86")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Pe(r,l),c[3]?o?o.p(c,g):(o=od(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function od(i){let e;function t(r,s){return r[4]=="button"?L2:T2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function T2(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1hl5l86"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){R(r,e,s),n||(l=[ne(e,"click",i[57]),ne(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1hl5l86")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Qe(l)}}}function L2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1hl5l86"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent lui-semi-btn svelte-1hl5l86")},m(s,o){R(s,e,o),w(e,t),l||(r=ne(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1hl5l86")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function A2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Dc(i),p=i[0]&&i[5].length>1&&Oc(i),m=(i[2]||i[3])&&ad(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-1hl5l86"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1hl5l86"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1hl5l86")},m(v,S){R(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(h=[ne(na,"resize",i[17]),ne(na,"click",i[21]),ne(na,"blur",i[21]),ne(na,"keydown",i[33]),ne(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Dc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&U(p,1)):(p=Oc(v),p.c(),U(p,1),p.m(l,null)):p&&(Re(),J(p,1,1,()=>{p=null}),Ee()),v[2]||v[3]?m?m.p(v,S):(m=ad(v),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1hl5l86"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1hl5l86"))&&f(e,"class",o)},i(v){c||(U(p),c=!0)},o(v){J(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Qe(h)}}}function _n(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const R2=i=>!i.hideFromNav&&i.label;function E2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:D,selectedCategory:C,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:V}),set:async x=>{if(x){Object.getOwnPropertyNames(x).forEach(async ct=>{if(ct==="pathData")t(5,p=x.pathData);else if(ct==="context")O=x.context;else if(ct==="children")t(0,s=x.children);else if(ct==="selectedNode")t(7,y=x.selectedNode);else if(ct==="hasCategoriesWithIcon")t(10,I=x.hasCategoriesWithIcon);else if(ct==="navParent"){t(12,T=void 0);let Nt=x.navParent;if(t(41,V=Nt),Nt&&Nt.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let Vt=Nt.navHeader,Ct=Nt;if(Vt==="inherit"){for(Ct=Nt.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Vt=Ct?Ct.navHeader:void 0}if(Vt instanceof Function){t(12,T={});let cn=Vt(Ce.stripNode(Nt),Ce.stripNode(Ct),O);cn instanceof Promise?cn.then(mn=>{t(12,T=mn)}):t(12,T=cn)}else if(Vt==="auto")t(12,T={label:Nt.label,icon:Nt.icon});else if(Vt&&Vt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,T={...Vt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,T=Vt);const cn=pe.mapPathToNode(tt.getCurrentPath(),Ct);Ft.extractDataFromPath(cn).then(mn=>{const Xn=pe.substituteDynamicParamsInObject(Object.assign({},mn.pathData.context,Ct.context),mn.pathData.pathParams);Ce.fetchNodeTitleData(Ct,Xn).then($n=>{t(12,T={...Vt,...$n})}).catch($n=>{console.error("Error while retrieving title, fallback to node label"),t(12,T={...Vt,label:Nt.label,icon:Nt.icon})})})}else t(12,T=await fe(Vt,Ct))}}});let Oe=y&&y.sideNavAccordionMode||y&&y.parent&&y.parent.sideNavAccordionMode;typeof Oe<"u"?t(40,D=Oe):t(40,D=le.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode"))}}},r=Wt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:m}=e,{virtualGroupPrefix:v=Ce.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:L}=e,{navHeader:T}=e,{navParentNode:V}=e,O,F,z,ae=pt("store"),X=pt("getTranslation");mi(i,X,x=>t(24,n=x));let Z=!1;const de=x=>Ce.getNodeLabel(x),we=async()=>{const x=l.get(),Oe=await Ft.getLeftNavData({...x},x);!Oe||(l.set(Oe),F=p,window.LEFTNAVDATA=Oe.children)};Yt(()=>{t(3,h=le.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=le.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,Z=le.getConfigValue("navigation.addNavHrefs")),t(1,o=le.getConfigBooleanValue("settings.hideNavigation")),t(22,z=le.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Ce.loadExpandedCategories()),Un.doOnStoreChange(ae,()=>{t(2,c=le.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]);let x=di.initial();t(6,S=x.isSemiCollapsed),t(39,g=x.semiCollapsible),di.onValueChanged(Oe=>{t(6,S=Oe.isSemiCollapsed)}),Nn.addEventListener("message",Oe=>{Oe.data.msg==="luigi.navigation.update-badge-counters"&&we()})}),Fn(()=>{(!F||F!=p)&&we(),t(22,z=le.getConfigBooleanValue("settings.sideNavCompactMode")),t(3,h=le.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function se(x){return Ce.renderIconClassName(x)}function ee(x){return Ce.isOpenUIiconName(x)}function Y(x){return x.testId?x.testId:Ce.prepareForTests(x.pathSegment,x.label)}function ye(x){return pe.getNodeHref(x,m)}function Ne(x,Oe){return x&&x.testId?x.testId:Ce.prepareForTests(Oe||x.label)}async function fe(x,Oe){const ct=pe.mapPathToNode(tt.getCurrentPath(),Oe),Vt=(await Ft.extractDataFromPath(ct)).pathData.pathParams;return pe.substituteDynamicParamsInObject(x,Vt)}function Le(x,Oe){return Ce.generateTooltipText(x,Oe)}function G(x){r("handleClick",{node:x})}function ue(x,Oe){if(di.getCollapsed()){let ct,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(x.metaInfo&&x.metaInfo.label?ct=x.metaInfo.label:ct=x.category&&x.category.label||x.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),ct===C){t(8,C=di.closePopupMenu(C));return}t(8,C=ct),me(Oe)}}function me(x){const Oe=x.closest(".fd-nested-list__item"),ct=Oe.offsetTop,Nt=On.getShellbar().offsetHeight;let Vt;On.isCustomLuigiContainer()?Vt=On.getCustomLuigiContainer().clientHeight:Vt=window.innerHeight,setTimeout(()=>{const Ct=Oe.getElementsByClassName("lui-flyout-sublist")[0],cn=x.closest(".lui-fd-side-nav-wrapper").scrollTop,mn=ct+Nt-cn,Xn=Vt-ct-Oe.offsetHeight+cn-Nt;mn+Ct.offsetHeight>=Vt?(Ct.style.bottom=Xn+"px",Ct.className+=" has-bottom-position"):Ct.style.top=mn-Nt+"px"})}function ie(){if(g){let x=di.onResize(C);t(6,S=x.isSemiCollapsed),t(8,C=x.selectedCategory)}}function De(x){if(x.code==="ArrowRight"){const ct=Ie.getCurrentMicrofrontendIframe();ct&&ct.contentWindow&&ct.contentWindow.focus()}}function Ve(x){let Oe=V?V.parent:void 0;for(;Oe;){if(Oe.pathSegment&&Oe.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Oe});return}Oe=Oe.parent}console.warn('Could not resolve "up"-node, redirecting to root'),P_.navigate("/")}function _e(x,Oe){di.getCollapsed()||t(9,N=Ce.storeExpandedState(x.metaInfo.categoryUid,Oe,D))}function Ze(){t(8,C=di.closePopupMenu(C))}function Bt(x){x&&x.code==="Escape"&&Ze()}function kt(){t(6,S=di.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Gt()}function Dt(x){const Oe=x.code;(Oe==="Enter"||Oe==="Space")&&kt()}function In(x,Oe){(x.code==="Enter"||x==="Space")&&ue(Oe,x.currentTarget)}function Bn(x,Oe){x.keyCode===pi&&Ce.handleNavAnchorClickedWithoutMetaKey(x)&&G(Oe)}function Gt(){if(!Ce.getBurgerTooltipConfig())return;const[x,Oe]=Ce.getBurgerTooltipConfig(),ct=document.body.classList.contains("lui-semiCollapsible");x&&Oe&&ct&&t(11,L=document.body.classList.contains("semiCollapsed")?x:Oe)}function bi(x,Oe){return _n(x,Oe)?x.metaInfo.titleCollapseButton?n(x.metaInfo.titleCollapseButton):void 0:x.metaInfo.titleExpandButton?n(x.metaInfo.titleExpandButton):void 0}const Bi=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},en=(x,Oe)=>Bn(Oe,x),Qt=x=>_e(x,!_n(x,N)),Zn=x=>_e(x,!_n(x,N)),Rt=(x,Oe)=>In(Oe,x),pn=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},Zt=(x,Oe)=>Bn(Oe,x),Hi=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},qt=(x,Oe)=>Bn(Oe,x),rn=x=>ue(x,event.currentTarget),vi=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},ri=(x,Oe)=>Bn(Oe,x),sn=x=>kt(),wi=x=>kt(),Si=x=>Dt(x);return i.$$set=x=>{"children"in x&&t(0,s=x.children),"hideNavComponent"in x&&t(1,o=x.hideNavComponent),"footerText"in x&&t(2,c=x.footerText),"semiCollapsible"in x&&t(39,g=x.semiCollapsible),"semiCollapsibleButton"in x&&t(3,h=x.semiCollapsibleButton),"semiCollapsibleButtonStyle"in x&&t(4,_=x.semiCollapsibleButtonStyle),"pathData"in x&&t(5,p=x.pathData),"pathParams"in x&&t(42,m=x.pathParams),"virtualGroupPrefix"in x&&t(14,v=x.virtualGroupPrefix),"isSemiCollapsed"in x&&t(6,S=x.isSemiCollapsed),"selectedNode"in x&&t(7,y=x.selectedNode),"selectedCategory"in x&&t(8,C=x.selectedCategory),"expandedCategories"in x&&t(9,N=x.expandedCategories),"hasCategoriesWithIcon"in x&&t(10,I=x.hasCategoriesWithIcon),"sideNavAccordionMode"in x&&t(40,D=x.sideNavAccordionMode),"burgerTooltip"in x&&t(11,L=x.burgerTooltip),"navHeader"in x&&t(12,T=x.navHeader),"navParentNode"in x&&t(41,V=x.navParentNode),"sortedChildrenEntries"in x&&t(13,W=x.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const x=Object.entries(s);x.sort((Oe,ct)=>Oe[1].metaInfo.order-ct[1].metaInfo.order),t(13,W=x)}},[s,o,c,h,_,p,S,y,C,N,I,L,T,W,v,G,ue,ie,De,Ve,_e,Ze,z,Z,n,X,de,se,ee,Y,ye,Ne,Le,Bt,kt,Dt,In,Bn,bi,g,D,V,m,me,Bi,en,Qt,Zn,Rt,pn,Zt,Hi,qt,rn,vi,ri,sn,wi,Si]}class D2 extends At{constructor(e){super(),Lt(this,e,E2,A2,Pt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const V2=i=>{Un.doOnStoreChange(i.store,()=>{const e=le.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),le.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),L_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},M2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),L_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return te.trimTrailingSlash(te.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!M2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=es.getDocumentTitle()||r;i.set({title:r}),document.title=dt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function ud(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fd(i,e,t){const n=i.slice();return n[43]=e[t],n}function O2(i){let e,t,n,l,r=i[1]&&cd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=ne(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=cd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function F2(i){let e,t,n,l,r=i[1]&&dd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=ne(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=dd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function cd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function dd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function hd(i){let e,t;function n(o,c){return o[3]?U2:B2}let l=n(i),r=l(i),s=i[10]&&Cd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=Cd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}function U2(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?W2:H2}let p=_(i),m=p(i),v=i[4]&&i[5]&&vd(i),S=i[7]&&i[7].length>0&&wd(i);return{c(){e=k("div"),t=k("div"),m.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){R(y,e,C),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=ne(t,"click",Ut(j2)),g=!0)},p(y,C){p===(p=_(y))&&m?m.p(y,C):(m.d(1),m=p(y),m&&(m.c(),m.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=vd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=wd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&A(e),m.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function B2(i){let e;function t(r,s){return r[12]?K2:q2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function H2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=ke(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=ne(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Pe(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function W2(i){let e,t,n,l=i[7]&&i[7].length===1&&gd(i),r=i[7]&&i[7].length>1&&_d(i),s=i[7].length>1&&!i[5]&&bd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=Se()},m(o,c){l&&l.m(o,c),R(o,e,c),r&&r.m(o,c),R(o,t,c),s&&s.m(o,c),R(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=_d(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=bd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&A(e),r&&r.d(o),o&&A(t),s&&s.d(o),o&&A(n)}}}function gd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=ke(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){R(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Pe(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function _d(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=md(fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=fd(l,t,s);n[s]?n[s].p(o,r):(n[s]=md(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function pd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=ke(n),r=K(),s=k("i"),o=K(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){R(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=ne(e,"click",Et(i[32])),h=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Pe(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function md(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&pd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=pd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function bd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=ke(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=ne(e,"click",Et(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Pe(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function vd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){R(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=ne(t,"click",Et(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Pe(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&A(e),o=!1,c()}}}function wd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=kd(ud(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ud(l,t,s);n[s]?n[s].p(o,r):(n[s]=kd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function z2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),c=K(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",_),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Pe(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function G2(i){let e,t=i[16]&&Sd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new mr(!1),l=K(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){R(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function kd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!te.isFunction(o[8])),e)return G2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return z2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&A(n)}}}function q2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=ke(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=ne(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function K2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=ke(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=ne(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function Cd(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function J2(i){let e,t;function n(o,c){return o[12]?F2:O2}let l=n(i),r=l(i),s=i[2]&&hd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=hd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Ue,o:Ue,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const j2=()=>{};function Y2(i,e,t){let n;const l=Wt();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:m}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,L,T=pt("getUnsavedChangesModalPromise"),V=pt("getTranslation");mi(i,V,_e=>t(17,n=_e));let O=pt("store");const F={closeDropDown:()=>{we("appSwitcherPopover")}},z=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:m,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:_e=>{_e&&Object.getOwnPropertyNames(_e).forEach(Ze=>{Ze==="pathData"?t(24,N=_e.pathData):Ze==="appSwitcherItems"?t(7,m=_e.appSwitcherItems):Ze==="itemRenderer"?t(8,v=_e.itemRenderer):Ze==="pathParams"?t(9,S=_e.pathParams):Ze==="selectedItem"?t(5,_=_e.selectedItem):Ze==="title"?t(2,o=_e.title):Ze==="defaultSubTitle"?t(23,C=_e.defaultSubTitle):Ze==="subTitle"?t(10,y=_e.subTitle):Ze==="defaultTitle"?t(6,p=_e.defaultTitle):Ze==="subTitle"?t(10,y=_e.subTitle):Ze==="showMainAppEntry"?t(4,h=_e.showMainAppEntry):Ze==="hasApps"?t(3,c=_e.hasApps):Ze==="hasLogo"&&t(1,s=_e.hasLogo)})},store:O});Yt(()=>{V2(z())}),Fn(()=>{(!L||L!=N)&&(L_(z()),L=N)});function ae(_e,Ze,Bt){return setTimeout(()=>{Ze&&v(_e,Ze.children[Bt],F)}),""}function X(_e){T().then(()=>{tt.navigateTo(pe.applyPathParams(_e,S))},()=>{})}function Z(){T().then(()=>{tt.navigateTo("/")},()=>{})}function de(_e){l("handleClick",{node:_e}),we("appSwitcherPopover")}function we(_e){l("toggleDropdownState",{name:_e})}function W(_e){return _e.testId?_e.testId:Ce.prepareForTests(_e.title||_e)}function se(_e,Ze){if(_e.link){const Bt=pe.applyPathParams(_e.link,Ze);if(Bt.indexOf(":")!==0&&Bt.indexOf("/:")===-1)return!0}return!1}function ee(_e){return pe.getNodeHref(_e)}function Y(_e){$e[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const ye=_e=>{Ce.handleNavAnchorClickedWithoutMetaKey(_e)&&X("/")};function Ne(_e){$e[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const fe=()=>X("/"),Le=_e=>{Ce.handleNavAnchorClickedWithoutMetaKey(_e)&&X("/")},G=()=>X("/"),ue=()=>we("appSwitcherPopover"),me=()=>we("appSwitcherPopover"),ie=()=>we("appSwitcherPopover"),De=(_e,Ze)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Ze)&&X(_e.link)};function Ve(_e){$e[_e?"unshift":"push"](()=>{D=_e,t(16,D)})}return i.$$set=_e=>{"logo"in _e&&t(0,r=_e.logo),"hasLogo"in _e&&t(1,s=_e.hasLogo),"title"in _e&&t(2,o=_e.title),"hasApps"in _e&&t(3,c=_e.hasApps),"dropDownStates"in _e&&t(11,g=_e.dropDownStates),"showMainAppEntry"in _e&&t(4,h=_e.showMainAppEntry),"selectedItem"in _e&&t(5,_=_e.selectedItem),"defaultTitle"in _e&&t(6,p=_e.defaultTitle),"appSwitcherItems"in _e&&t(7,m=_e.appSwitcherItems),"itemRenderer"in _e&&t(8,v=_e.itemRenderer),"pathParams"in _e&&t(9,S=_e.pathParams),"subTitle"in _e&&t(10,y=_e.subTitle),"defaultSubTitle"in _e&&t(23,C=_e.defaultSubTitle),"pathData"in _e&&t(24,N=_e.pathData),"addNavHrefForAnchor"in _e&&t(12,I=_e.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,I,X,Z,we,D,n,V,ae,W,se,ee,C,N,de,Y,ye,Ne,fe,Le,G,ue,me,ie,De,Ve]}class Q2 extends At{constructor(e){super(),Lt(this,e,Y2,J2,Pt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function yd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Pd(i){let e,t,n,l,r,s,o=i[0]&&Nd(i),c=(i[10]||i[11])&&Dd(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){R(g,e,h),o&&o.m(e,null),R(g,t,h),R(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Nd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Dd(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&A(e),o&&o.d(),g&&A(t),g&&A(n),c&&c.d()}}}function Nd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?X2:Z2}let g=c(i),h=g(i),_=i[7].name&&Id(i),p=i[7].description&&Td(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(yd(i,m,y));let S=i[12]&&Rd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){R(y,e,C),h.m(e,null),R(y,t,C),R(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),R(y,r,C),R(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Id(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Td(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let N;for(N=0;N<m.length;N+=1){const I=yd(y,m,N);v[N]?v[N].p(I,C):(v[N]=Ad(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Rd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&A(e),h.d(),y&&A(t),y&&A(n),_&&_.d(),p&&p.d(),y&&A(r),y&&A(s),ft(v,y),S&&S.d()}}}function Z2(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=ke(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Pe(n,t)},d(l){l&&A(e)}}}function X2(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),li(e,"background-image","url('"+i[7].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&128&&li(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Id(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Td(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ld(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?x2:$2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function $2(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),li(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&li(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function x2(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ad(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ld(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ld(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Pe(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Rd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Ed(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){R(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[ne(e,"click",Et(i[5])),ne(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Ed(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Pe(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Qe(c)}}}function Ed(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?tk:ek}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ek(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function tk(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Dd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Vd(i),l=i[10]&&!i[8]&&Md(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Vd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Md(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Vd(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=ke(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){R(c,e,g),w(e,t),w(t,l),s||(o=ne(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Pe(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),s=!1,o()}}}function Md(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){R(s,e,o),R(s,t,o),R(s,n,o),l||(r=[ne(e,"click",i[15]),ne(n,"click",i[15])],l=!0)},p:Ue,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Qe(r)}}}function nk(i){let e,t=!i[1]&&Pd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Pd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function ik(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=pt("store"),y=pt("getTranslation");mi(i,y,Y=>t(13,n=Y));let C=pt("getUnsavedChangesModalPromise"),N=pt("openViewInModal");Yt(async()=>{gi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),ln.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),ln.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function D(Y){return Ce.renderIconClassName(Y)}function L(Y){return Ce.isOpenUIiconName(Y.icon)}function T(Y){return Y.testId?Y.testId:Ce.prepareForTests(Y.label)}function V(Y){return pe.getNodeHref(Y)}function O(){m||(Un.doOnStoreChange(S,async()=>{const Y=await le.getConfigValueAsync("navigation.profile.logout"),ye=await le.getConfigValueAsync("userSettings"),Ne=ye||await le.getConfigValueAsync("settings.userSettings"),fe={items:await le.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(Ne)){const Le=Ne.userSettingsProfileMenuEntry;fe.settings={...ol.userSettingsProfileMenuEntry,...Le}}fe.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,ln.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,ln.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=fe),t(12,p=Boolean(Ne))},["navigation.profile"]),m=!0)}async function F(){const Y=await le.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(ln.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function z(Y){C().then(()=>{if(Y.openNodeInModal){const ye=pe.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?Z():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){es.openUserSettings(),l("toggleDropdownState")}function Z(){ln.logout()}function de({keyCode:Y}){(Y===pi||Y===ma)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:we}=e;const W=Y=>{Ce.handleNavAnchorClickedWithoutMetaKey(Y)},se=Y=>z(Y),ee=Y=>de(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,we=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,we=Boolean(o&&(o.name||o.email)))},[we,r,s,z,ae,X,de,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,Z,W,se,ee]}class lk extends At{constructor(e){super(),Lt(this,e,ik,nk,Pt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Od(i,e,t){const n=i.slice();return n[34]=e[t],n}function Fd(i){let e,t,n,l,r,s=i[0]&&Ud(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Hd(Od(i,o,_));let g=i[12]&&Wd(i),h=(i[10]||i[11])&&Gd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<c.length;_+=1)c[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){R(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ud(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let m;for(m=0;m<o.length;m+=1){const v=Od(_,o,m);c[m]?c[m].p(v,p):(c[m]=Hd(v),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Wd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Gd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ft(c,_),g&&g.d(),h&&h.d()}}}function Ud(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=ke(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Pe(l,n)},d(r){r&&A(e)}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function rk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function sk(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Bd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Bd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Pe(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Wd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&zd(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[ne(e,"click",Et(i[5])),ne(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=zd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Pe(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Qe(g)}}}function zd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?ok:ak}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ak(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function ok(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&qd(i),l=i[10]&&!i[8]&&Jd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=qd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Jd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function qd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Kd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=ne(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Kd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Pe(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Kd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?fk:uk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function uk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function fk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){R(l,e,r),t||(n=ne(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function ck(i){let e,t=!i[1]&&Fd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Fd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function dk(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=pt("store"),y=pt("getTranslation");mi(i,y,Y=>t(13,n=Y));let C=pt("getUnsavedChangesModalPromise"),N=pt("openViewInModal");Yt(async()=>{gi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),ln.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),ln.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function D(Y){return Ce.renderIconClassName(Y)}function L(Y){return Ce.isOpenUIiconName(Y.icon)}function T(Y){return Y.testId?Y.testId:Ce.prepareForTests(Y.label)}function V(Y){return pe.getNodeHref(Y)}function O(){m||(Un.doOnStoreChange(S,async()=>{const Y=await le.getConfigValueAsync("navigation.profile.logout"),ye=await le.getConfigValueAsync("userSettings"),Ne=ye||await le.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(Ne));const fe={items:await le.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Le=Ne.userSettingsProfileMenuEntry;fe.settings={...ol.userSettingsProfileMenuEntry,...Le}}fe.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,ln.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,ln.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=fe)},["navigation.profile"]),m=!0)}async function F(){const Y=await le.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(ln.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function z(Y){C().then(()=>{if(Y.openNodeInModal){const ye=pe.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?Z():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){es.openUserSettings(),l("toggleDropdownState")}function Z(){ln.logout()}function de({keyCode:Y}){(Y===pi||Y===ma)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:we}=e;const W=Y=>{Ce.handleNavAnchorClickedWithoutMetaKey(Y)},se=Y=>z(Y),ee=Y=>de(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,we=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,we=Boolean(o&&(o.name||o.email)))},[we,r,s,z,ae,X,de,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,Z,W,se,ee]}class A_ extends At{constructor(e){super(),Lt(this,e,dk,ck,Pt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function jd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Yd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=jd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Zd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function hk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function gk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){R(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Zd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),m,v,S,y,C,N;function I(O,F){return F&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?gk:hk}let D=I(i,-1),L=D(i);r=new Qn({props:{node:i[12]}});let T=p&&Qd(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),L.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),c=k("div"),h=ke(g),_=K(),T&&T.c(),m=K(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,F){R(O,e,F),w(e,t),L.m(t,null),w(t,l),ze(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),T&&T.m(o,null),w(e,m),y=!0,C||(N=ne(e,"click",V),C=!0)},p(O,F){i=O,D===(D=I(i,F))&&L?L.p(i,F):(L.d(1),L=D(i),L&&(L.c(),L.m(t,l)));const z={};F&2&&(z.node=i[12]),r.$set(z),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Pe(h,g),F&34&&(p=i[5](i[12])),p?T?T.p(i,F):(T=Qd(i),T.c(),T.m(o,null)):T&&(T.d(1),T=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){J(r.$$.fragment,O),y=!1},d(O){O&&A(e),L.d(),Ge(r),T&&T.d(),C=!1,N()}}}function _k(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D=i[1]&&Yd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=ke(i[0]),c=K(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=K(),m=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(L,T){R(L,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),D&&D.m(_,null),w(t,p),w(t,m),w(m,v),w(v,S),w(S,y),C=!0,N||(I=[ne(y,"click",i[9]),ne(e,"click",Ut(pk))],N=!0)},p(L,[T]){(!C||T&1)&&Pe(o,L[0]),L[1]?D?(D.p(L,T),T&2&&U(D,1)):(D=Yd(L),D.c(),U(D,1),D.m(_,null)):D&&(Re(),J(D,1,1,()=>{D=null}),Ee())},i(L){C||(U(D),C=!0)},o(L){J(D),C=!1},d(L){L&&A(e),D&&D.d(),N=!1,Qe(I)}}}const pk=()=>{};function mk(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return Ce.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Dl.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,m,v]}class R_ extends At{constructor(e){super(),Lt(this,e,mk,_k,Pt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:bk}=Ui;function Xd(i,e,t){const n=i.slice();return n[6]=e[t],n}function $d(i){let e,t,n,l=i[0]&&xd(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&U(l,1)):(l=xd(r),l.c(),U(l,1),l.m(t,null)):l&&(Re(),J(l,1,1,()=>{l=null}),Ee())},i(r){n||(U(l),n=!0)},o(r){J(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function xd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=eh(Xd(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Xd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=eh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function vk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),it(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function wk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function eh(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(L,T){return T&1&&(l=null),l==null&&(l=!!(L[6].icon&&L[9](L[6]))),l?wk:vk}let N=C(i,-1),I=N(i);s=new Qn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=ke(g),p=K(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[6]))},m(L,T){R(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[ne(t,"click",i[14]),ne(e,"click",D)],S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T&1&&(V.node=i[6]),s.$set(V),(!v||T&1)&&g!==(g=i[11](i[6])+"")&&Pe(h,g),(!v||T&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||T&1&&m!==(m=i[12](i[6])))&&f(e,"data-testid",m)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){J(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),Ge(s),S=!1,Qe(y)}}}function th(i){let e,t;return e=new R_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Sk(i){let e,t,n,l,r,s=!i[1]&&$d(i),o=i[1]&&th(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=Se()},m(c,g){s&&s.m(c,g),R(c,e,g),o&&o.m(c,g),R(c,t,g),n=!0,l||(r=ne(bk,"resize",ha),l=!0)},p(c,[g]){c[1]?s&&(Re(),J(s,1,1,()=>{s=null}),Ee()):s?(s.p(c,g),g&2&&U(s,1)):(s=$d(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=th(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(Re(),J(o,1,1,()=>{o=null}),Ee())},i(c){n||(U(s),U(o),n=!0)},o(c){J(s),J(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function ha(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function kk(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=pt("getUnsavedChangesModalPromise"),g=pt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Yt(async()=>{ha()}),Fn(async()=>{r||t(0,r=await Ft.getChildren(s)),t(0,r)});function m(V){c().then(()=>{if(V.openNodeInModal){const O=pe.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else tt.handleRouteClick(V,p())},()=>{}),S()}function v(V){m(V.detail)}function S(){n("close")}function y(V){return Ce.isOpenUIiconName(V.icon)}function C(V){return Ce.renderIconClassName(V)}function N(V){return dt.getTranslation(V.label)}function I(V){return V.testId?V.testId:Ce.prepareForTests(V.pathSegment,V.label)}function D(V){return pe.getNodeHref(V,o)}const L=V=>{Ce.handleNavAnchorClickedWithoutMetaKey(V)},T=V=>m(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,m,v,S,ha,s,h,_,y,C,N,I,D,L,T]}class E_ extends At{constructor(e){super(),Lt(this,e,kk,Sk,Pt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ha}}const fn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?te.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=te.addLeadingSlash(tt.getCurrentPath()),n=te.addLeadingSlash(e.link);return t.startsWith(n)?i.link+te.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=te.normalizePath(i),n=te.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=le.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=fn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=te.normalizePath(i),t=te.normalizePath(t),!!fn.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=fn.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 fn.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=le.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await le.getConfigValueAsync("navigation.contextSwitcher.options");return await fn.generateSwitcherNav(e,t)}};function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ih(i,e,t){const n=i.slice();return n[21]=e[t],n}function lh(i,e,t){const n=i.slice();return n[21]=e[t],n}function rh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ah(lh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=lh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ah(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function sh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[ne(t,"click",Et(Lk)),ne(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Pe(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function ah(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&sh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=sh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function oh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
57
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-10o42af"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(r,s){R(r,e,s),l=!0},i(r){l||(Ml(()=>{n&&n.end(1),t=h_(e,da,{delay:250,duration:250}),t.start()}),l=!0)},o(r){t&&t.invalidate(),n=g_(e,da,{duration:250}),l=!1},d(r){r&&A(e),r&&n&&n.end()}}}function FS(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Zf(i),N=i[5]&&$f(i),I=i[4]&&xf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),N&&N.c(),r=K(),s=k("div"),g=K(),I&&I.c(),f(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-10o42af"),f(s,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-10o42af"),f(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-10o42af"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Pn(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"),f(e,"style",m=i[6]?"z-index:1001":"")},m(D,L){R(D,e,L),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),N&&N.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=ne(OS,"keydown",i[3]),S=!0)},p(D,[L]){D[6]||D[5]&&D[0].header?C?(C.p(D,L),L&97&&U(C,1)):(C=Zf(D),C.c(),U(C,1),C.m(t,n)):C&&(Re(),J(C,1,1,()=>{C=null}),Ee()),D[5]?N?(N.p(D,L),L&32&&U(N,1)):(N=$f(D),N.c(),U(N,1),N.m(l,r)):N&&(Re(),J(N,1,1,()=>{N=null}),Ee()),(!v||L&32&&o!==(o="iframeModalCtn "+(D[5]?"_drawer":"_modal")+" svelte-10o42af"))&&f(s,"class",o),(!v||L&34&&c!==(c=D[5]?void 0:D[1]))&&f(s,"modal-container-index",c),D[4]?I?L&16&&U(I,1):(I=xf(),I.c(),U(I,1),I.m(t,null)):I&&(Re(),J(I,1,1,()=>{I=null}),Ee()),(!v||L&35&&h!==(h="fd-dialog__content "+(D[5]?D[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+D[1])+" svelte-10o42af"))&&f(t,"class",h),(!v||L&64&&_!==(_=D[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!v||L&97&&p!==(p=Pn(D[6]||D[5]&&D[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-10o42af"))&&f(e,"class",p),(!v||L&64&&m!==(m=D[6]?"z-index:1001":""))&&f(e,"style",m)},i(D){v||(U(C),U(N),U(I),v=!0)},o(D){J(C),J(N),J(I),v=!1},d(D){D&&A(e),C&&C.d(),N&&N.d(),I&&I.d(),S=!1,y()}}}function US(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const h=Wt();let _,p,m,v=!1,S=!1,y=!0,C=!1,N=!0,I;const D=async X=>{const Z=X&&X.length?te.getPathWithoutHash(X):"",de=pe.parseParams(Z.split("?")[1]);m=pe.getNodeParams(de);const we=await Ft.extractDataFromPath(X);_=we.nodeObject,t(5,C=r.isDrawer||typeof _.drawer=="object"),I=C?"._drawer":`[modal-container-index="${c}"]`,C?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=_.label,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||t(0,r.title=_.label,r),p=we.pathData,t(8,s=!0)},L=async X=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),C?await O():await T(),dr.renderWebComponent(_.viewUrl,document.querySelector(I),p.context,_),h("wcCreated",{modalWC:document.querySelector(I),modalWCData:{...p,nodeParams:m}}),S=!0;else{t(4,y=_.loadingIndicator?_.loadingIndicator.enabled:!0);const Z=await V(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});h("iframeCreated",{modalIframe:Z,modalIframeData:{...p,nodeParams:m}}),v=!0}else await D(X)},T=async()=>{let X,Z;const de=document.querySelector(".lui-modal-index-"+c),{size:we,width:W,height:se}=r,ee=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(W&&W.match(ee)&&se&&se.match(ee))X=se,Z=W;else switch(we){case"fullscreen":X="100vh",Z="100vw",de.classList.add("lui-modal-fullscreen");break;case"m":X="80%",Z="60%";break;case"s":X="80%",Z="40%";break;default:X="80%",Z="80%"}de.setAttribute("style",`width:${Z};height:${X};`)},V=async(X,Z)=>{C?await O():await T(),X&&(X=pe.substituteViewUrl(X,Z));const de=await Ie.createIframe(X,void 0,_,"modal",Z);return document.querySelector(I).appendChild(de),de};async function O(X){let Z="";const de=document.getElementsByClassName("drawer"),we=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Z="width:75%;":r.size==="m"?Z="width:50%;":r.size==="s"?Z="width:25%;":r.size==="xs"&&(Z="width:15.5%;")),r.backdrop?de[0].setAttribute("style",Z):(we[0].setAttribute("style",Z),de[0].setAttribute("style","width:100%"))}pa(()=>{L(o)});const F=async X=>{X.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),X.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),X.data.msg==="luigi.get-context"&&(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&t(4,y=!1),X.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),X.data.msg==="luigi.navigation.updateModalSettings"&&((X.data.updatedModalSettings.title||X.data.updatedModalSettings.title==="")&&t(0,r.title=X.data.updatedModalSettings.title,r),X.data.updatedModalSettings.size&&(t(0,r.size=X.data.updatedModalSettings.size,r),await T()))};Yt(()=>{Nn.addEventListener("message",F),r.isDrawer&&!r.backdrop||Ie.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus()}),xr(()=>{Nn.removeEventListener("message",F),r.isDrawer&&!r.backdrop||Ie.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function z(X){X.keyCode===_i&&h("close")}const ae=()=>h("close",{activeDrawer:!1});return i.$$set=X=>{"settings"in X&&t(0,r=X.settings),"isDataPrepared"in X&&t(8,s=X.isDataPrepared),"nodepath"in X&&t(9,o=X.nodepath),"modalIndex"in X&&t(1,c=X.modalIndex),"disableBackdrop"in X&&t(2,g=X.disableBackdrop),"$$scope"in X&&t(10,l=X.$$scope)},[r,c,g,z,y,C,N,h,s,o,l,n,ae]}class T_ extends At{constructor(e){super(),Lt(this,e,US,FS,Pt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function ec(i,e,t){const n=i.slice();return n[29]=e[t][0],n[30]=e[t][1],n[31]=e,n[32]=t,n}function tc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function nc(i,e,t){const n=i.slice();return n[33]=e[t],n[35]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function lc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=hc(ec(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,s){R(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ec(r,n,o);l[o]?l[o].p(c,s):(l[o]=hc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&A(e),ft(l,r)}}}function rc(i){let e;function t(r,s){return r[30].isEditable||r[30].isEditable===void 0?HS:BS}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function BS(i){let e,t=i[0][i[1][0]][i[29]]+"",n,l;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),f(e,"disabled",l=!(i[30].isEditable===void 0||i[30].isEditable))},m(r,s){R(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[29]]+"")&&Pe(n,t),s[0]&2&&l!==(l=!(r[30].isEditable===void 0||r[30].isEditable))&&f(e,"disabled",l)},d(r){r&&A(e)}}}function HS(i){let e,t,n,l,r;function s(){i[18].call(e,i[29])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[30].placeholder)),f(e,"data-testid","lui-us-input"+i[32]),f(e,"id","fd-form-input-"+i[32]),e.disabled=n=!(i[30].isEditable===void 0||i[30].isEditable)},m(o,c){R(o,e,c),Gf(e,i[0][i[1][0]][i[29]]),l||(r=ne(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[30].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[29]]&&Gf(e,i[0][i[1][0]][i[29]])},d(o){o&&A(e),l=!1,r()}}}function sc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"",c,g,h,_,p,m,v=Array.isArray(i[30].options),S,y;function C(...D){return i[19](i[29],i[32],i[30],...D)}function N(){return i[20](i[30])}let I=v&&ac(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),c=ke(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',p=K(),m=k("div"),I&&I.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[32]),f(s,"disabled",g=!(i[30].isEditable===void 0||i[30].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-language-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid","lui-us-language-dropdown"),f(r,"id","fd-form-input-"+i[32]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,L){R(D,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,h),w(r,_),w(t,p),w(t,m),I&&I.m(m,null),S||(y=[ne(r,"keydown",C),ne(n,"click",Ut(N))],S=!0)},p(D,L){i=D,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[29]],i[30].options)+"")&&Pe(c,o),L[0]&2&&g!==(g=!(i[30].isEditable===void 0||i[30].isEditable))&&f(s,"disabled",g),L[0]&2&&(v=Array.isArray(i[30].options)),v?I?I.p(i,L):(I=ac(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),I&&I.d(),S=!1,Qe(y)}}}function ac(i){let e,t=i[30].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[32]),f(e,"role","listbox")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[30].options;let s;for(s=0;s<t.length;s+=1){const o=nc(l,t,s);n[s]?n[s].p(o,r):(n[s]=oc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function oc(i){let e,t,n=i[12](i[33])+"",l,r,s,o;function c(){return i[21](i[29],i[33],i[35])}return{c(){e=k("li"),t=k("span"),l=ke(n),r=K(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[32]+"_"+i[35]),f(e,"tabindex","0"),hi(e,"is-selected",i[4]===i[35]),hi(e,"is-focus",i[4]===i[35])},m(g,h){R(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[ne(e,"click",c),ne(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[33])+"")&&Pe(l,n),h[0]&16&&hi(e,"is-selected",i[4]===i[35]),h[0]&16&&hi(e,"is-focus",i[4]===i[35])},d(g){g&&A(e),s=!1,Qe(o)}}}function uc(i){let e,t,n,l=i[30].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=fc(tc(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[29]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){R(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[30].options;let c;for(c=0;c<l.length;c+=1){const g=tc(s,l,c);r[c]?r[c].p(g,o):(r[c]=fc(g),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[29]+" svelte-1tiapr5")&&f(t,"class",n)},d(s){s&&A(e),ft(r,s)}}}function fc(i){let e,t=i[12](i[33])+"",n,l,r,s,o,c,g,h;function _(){return i[23](i[29],i[33])}return{c(){e=k("button"),n=ke(t),l=K(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[29]]===(i[33].value||i[33])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[29],i[33])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[29],i[33])),e.disabled=c=!(i[30].isEditable===void 0||i[30].isEditable)},m(p,m){R(p,e,m),w(e,n),w(e,l),g||(h=ne(e,"click",_),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[33])+"")&&Pe(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[29]]===(i[33].value||i[33])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[29],i[33]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=c)},d(p){p&&A(e),g=!1,h()}}}function cc(i){let e,t,n,l,r,s,o,c,g,h;function _(){i[24].call(n,i[29])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[29]),n.disabled=r=!(i[30].isEditable===void 0||i[30].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[29])},m(p,m){R(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[29]],w(t,s),w(t,o),g||(h=ne(n,"change",_),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[29])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[30].isEditable===void 0||i[30].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[29]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[29])&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,h()}}}function dc(i){let e,t,n,l;function r(){i[25].call(e,i[29])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[30].isEditable===void 0||i[30].isEditable)},m(s,o){R(s,e,o),e.checked=i[0][i[1][0]][i[29]],n||(l=ne(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[30].isEditable===void 0||i[30].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[29]])},d(s){s&&A(e),n=!1,l()}}}function hc(i){let e,t,n,l=i[5](i[30].label)+"",r,s,o,c,g,h,_=i[30].type==="enum"&&i[30].style==="button"&&Array.isArray(i[30].options),p,m,v,S=i[30].type==="string"&&rc(i),y=i[30].type==="enum"&&(i[30].style===void 0||i[30].style==="list")&&sc(i),C=_&&uc(i),N=i[30].type==="boolean"&&(!i[30].style||i[30].style==="switch")&&cc(i),I=i[30].type==="boolean"&&i[30].style==="checkbox"&&dc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=ke(l),s=ke(":"),o=K(),c=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),N&&N.c(),m=K(),I&&I.c(),v=K(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[32]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(D,L){R(D,e,L),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),S&&S.m(c,null),w(c,g),y&&y.m(c,null),w(c,h),C&&C.m(c,null),w(c,p),N&&N.m(c,null),w(c,m),I&&I.m(c,null),w(e,v)},p(D,L){L[0]&34&&l!==(l=D[5](D[30].label)+"")&&Pe(r,l),D[30].type==="string"?S?S.p(D,L):(S=rc(D),S.c(),S.m(c,g)):S&&(S.d(1),S=null),D[30].type==="enum"&&(D[30].style===void 0||D[30].style==="list")?y?y.p(D,L):(y=sc(D),y.c(),y.m(c,h)):y&&(y.d(1),y=null),L[0]&2&&(_=D[30].type==="enum"&&D[30].style==="button"&&Array.isArray(D[30].options)),_?C?C.p(D,L):(C=uc(D),C.c(),C.m(c,p)):C&&(C.d(1),C=null),D[30].type==="boolean"&&(!D[30].style||D[30].style==="switch")?N?N.p(D,L):(N=cc(D),N.c(),N.m(c,m)):N&&(N.d(1),N=null),D[30].type==="boolean"&&D[30].style==="checkbox"?I?I.p(D,L):(I=dc(D),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(D){D&&A(e),S&&S.d(),y&&y.d(),C&&C.d(),N&&N.d(),I&&I.d()}}}function WS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){R(r,e,s),l&&l.m(e,null),t||(n=[ne(window,"click",i[7]),ne(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&A(e),l&&l.d(),t=!1,Qe(n)}}}function zS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Wt();let c=pt("getTranslation");mi(i,c,W=>t(5,n=W));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(W){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(se=>{y(se,!1)})}function v(W,se,ee){if(W&&ee>0)return te.isIE()?W.msMatchesSelector(se)?W:v(W.parentNode,se,ee-1):W.matches(se)?W:v(W.parentNode,se,ee-1)}function S(W,se){let ee=v(W.target,".fd-popover__control",20),Y=ee.getAttribute("aria-expanded")==="true";(se||se===void 0)&&(m(),y(ee,!Y))}function y(W,se){const ee=W.querySelector(".lui-activate-language-dropdown"),Y=W.parentNode.querySelector(".fd-popover__body"),ye=W.parentNode.querySelector(".fd-select__control");W.setAttribute("aria-expanded",se),Y.setAttribute("aria-hidden",!se),ye.setAttribute("aria-expanded",se),ee.setAttribute("aria-expanded",se),t(14,h=se)}function C(W,se,ee){t(4,g=ee),t(0,s[l[0]][W]=se.value||se,s)}function N(W,se){document.querySelectorAll(".enum-buttons-container-"+W+" button").forEach(ee=>{const Y=ee.getAttribute("id"),ye=`lui-us-enum_button_${W}_option`;Y===ye?ee.classList.add("fd-button--emphasized"):ee.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][W]=se.value||se,s)}function I(W,se){let ee;if(Array.isArray(se)){for(let Y=0;Y<se.length;Y++)if(te.isObject(se[Y])){if(se[Y].value&&se[Y].value===W){ee=se[Y].label,t(4,g=Y);break}}else{ee=W,t(4,g=se.indexOf(W));break}return n(ee)}}function D(W){return n(te.isObject(W)?W.label:W)}function L(W,se,ee){return te.isObject(ee)?`${W}_${se}_${ee.value}`:`${W}_${se}_${ee}`}function T(W,se,ee,Y){let ye=v(W.target,".lui-anchor-node",20);const Ne=document.getElementById(`fd-form-input-dropdown-${ee}`).children;let fe=-1;if([...Ne].forEach((Le,G)=>{Le.classList.contains("is-focus")&&(fe=G)}),h){if(W.keyCode===Vl&&W.altKey&&(ye.click(),ye.focus()),W.keyCode===Oi&&!W.altKey){if(fe===-1){fe=0,Ne.item(fe).classList.add("is-focus");return}fe<Y.options.length-1&&(Ne.item(fe).classList.remove("is-focus"),fe+=1,Ne.item(fe).classList.add("is-focus"))}if(W.keyCode===Vl&&!W.altKey){if(fe===-1){fe=fe.length-1,Ne.item(fe).classList.add("is-focus");return}fe>0&&fe<Y.options.length&&(Ne.item(fe).classList.remove("is-focus"),fe-=1,Ne.item(fe).classList.add("is-focus"))}W.keyCode===pi&&C(se,Y.options[fe],fe)}else ye.focus(),W.keyCode===Oi&&W.altKey&&ye.click(),W.keyCode===Oi&&!W.altKey&&fe<Y.options.length-1&&C(se,Y.options[fe+1],fe+1),W.keyCode===Vl&&!W.altKey&&fe>0&&fe<Y.options.length&&C(se,Y.options[fe-1],fe-1)}function V(W){if(h){let se=v(W.target,".fd-popover",20);se.blur(),(W.keyCode===ma||W.keyCode===pi)&&(W.target.click(),m(),setTimeout(()=>{se.focus()},0))}}I();function O(W){s[l[0]][W]=this.value,t(0,s)}const F=(W,se,ee,Y)=>T(Y,W,se,ee),z=W=>S(event,W.isEditable),ae=(W,se,ee)=>C(W,se,ee),X=W=>V(W),Z=(W,se)=>N(W,se);function de(W){s[l[0]][W]=this.checked,t(0,s)}function we(W){s[l[0]][W]=this.checked,t(0,s)}return i.$$set=W=>{"userSettingGroup"in W&&t(1,l=W.userSettingGroup),"userSettingsGroupKey"in W&&t(15,r=W.userSettingsGroupKey),"storedUserSettingData"in W&&t(0,s=W.storedUserSettingData),"isComboOpen"in W&&t(14,h=W.isComboOpen)},[s,l,T,V,g,n,c,m,S,C,N,I,D,L,h,r,_,p,O,F,z,ae,X,Z,de,we]}class GS extends At{constructor(e){super(),Lt(this,e,zS,WS,Pt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:gc}=Ui;function _c(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[38]=t,n}function pc(i,e,t){const n=i.slice();return n[39]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[39][1])),e?KS:qS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),R(o,t,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&A(t),o&&A(n)}}}function qS(i){let e,t,n,l,r,s=i[39][1].initials&&bc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=Se(),f(e,"class",t=Pn(i[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[39][1].altText?i[39][1].altText:""),li(e,"background-image","url('"+i[39][1].icon+"')"),li(e,"background-size","cover")},m(o,c){R(o,e,c),R(o,l,c),s&&s.m(o,c),R(o,r,c)},p(o,c){c[0]&2&&t!==(t=Pn(o[39][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[39][1].altText?o[39][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&li(e,"background-image","url('"+o[39][1].icon+"')"),o[39][1].initials?s?s.p(o,c):(s=bc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&A(e),o&&A(l),s&&s.d(o),o&&A(r)}}}function KS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Pn(i[18](i[39][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){R(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=Pn(l[18](l[39][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&A(e)}}}function bc(i){let e,t=(i[39][1].initials?i[39][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=ke(t),f(e,"class",l=Pn(i[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[39][1].altText?i[39][1].altText:"")},m(s,o){R(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[39][1].initials?s[39][1].initials:"")+"")&&Pe(n,t),o[0]&2&&l!==(l=Pn(s[39][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=s[39][1].altText?s[39][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&A(e)}}}function vc(i){let e,t,n,l,r,s=i[10](i[39][1].label?i[39][1].label:"")+"",o,c,g,h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"",_,p,m,v,S=i[39][1].icon&&mc(i);function y(){return i[22](i[39])}function C(...N){return i[23](i[38],...N)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=ke(s),c=K(),g=k("div"),_=ke(h),p=K(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(N,I){R(N,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),m||(v=[ne(e,"click",Et(y)),ne(e,"keydown",C)],m=!0)},p(N,I){i=N,i[39][1].icon?S?S.p(i,I):(S=mc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[39][1].label?i[39][1].label:"")+"")&&Pe(o,s),I[0]&1026&&h!==(h=i[10](i[39][1].sublabel?i[39][1].sublabel:"")+"")&&Pe(_,h)},d(N){N&&A(e),S&&S.d(),m=!1,Qe(v)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=pc(l,t,s);n[s]?n[s].p(o,r):(n[s]=vc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Sc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new GS({props:o}),$e.push(()=>_t(e,"closeDropDown",r)),$e.push(()=>_t(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(c,g){ze(e,c,g),l=!0},p(c,g){const h={};g[0]&1&&(h.storedUserSettingData=c[0]),g[0]&2048&&(h.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=c[9],gt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=c[8],gt(()=>n=!1)),e.$set(h)},i(c){l||(U(e.$$.fragment,c),l=!0)},o(c){J(e.$$.fragment,c),l=!1},d(c){Ge(e,c)}}}function JS(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,h,_,p,m,v,S,y,C,N=i[10](i[7])+"",I,D,L,T,V,O,F,z,ae,X,Z,de=i[10](i[5])+"",we,W,se,ee,Y=i[10](i[6])+"",ye,Ne,fe,Le,G=Object.entries(i[1]),ue=[];for(let ie=0;ie<G.length;ie+=1)ue[ie]=wc(_c(i,G,ie));let me=i[11]&&Sc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=ke(c),h=K(),_=k("div"),p=k("ul");for(let ie=0;ie<ue.length;ie+=1)ue[ie].c();m=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=ke(N),D=K(),L=k("div"),T=k("div"),me&&me.c(),V=K(),O=k("div"),F=K(),z=k("footer"),ae=k("div"),X=k("div"),Z=k("button"),we=ke(de),W=K(),se=k("div"),ee=k("button"),ye=ke(Y),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(C,"class","fd-title fd-title--h5 svelte-yylqtk"),f(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(T,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(L,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(Z,"data-testid","lui-us-saveBtn"),f(Z,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(ee,"data-testid","lui-us-dismissBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(se,"class","fd-bar__element"),f(ae,"class","fd-bar__right"),f(z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(ie,De){R(ie,e,De),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let Ve=0;Ve<ue.length;Ve+=1)ue[Ve].m(p,null);w(n,m),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,D),w(n,L),w(L,T),me&&me.m(T,null),w(L,V),w(L,O),w(t,F),w(t,z),w(z,ae),w(ae,X),w(X,Z),w(Z,we),w(ae,W),w(ae,se),w(se,ee),w(ee,ye),Ne=!0,fe||(Le=[ne(gc,"resize",i[20]),ne(gc,"keydown",i[3]),ne(S,"click",i[17]),ne(Z,"click",i[26]),ne(ee,"click",i[27])],fe=!0)},p(ie,De){if((!Ne||De[0]&1040)&&c!==(c=ie[10](ie[4])+"")&&Pe(g,c),De[0]&803846){G=Object.entries(ie[1]);let Ve;for(Ve=0;Ve<G.length;Ve+=1){const _e=_c(ie,G,Ve);ue[Ve]?ue[Ve].p(_e,De):(ue[Ve]=wc(_e),ue[Ve].c(),ue[Ve].m(p,null))}for(;Ve<ue.length;Ve+=1)ue[Ve].d(1);ue.length=G.length}(!Ne||De[0]&1152)&&N!==(N=ie[10](ie[7])+"")&&Pe(I,N),ie[11]?me?(me.p(ie,De),De[0]&2048&&U(me,1)):(me=Sc(ie),me.c(),U(me,1),me.m(T,null)):me&&(Re(),J(me,1,1,()=>{me=null}),Ee()),(!Ne||De[0]&1056)&&de!==(de=ie[10](ie[5])+"")&&Pe(we,de),(!Ne||De[0]&1088)&&Y!==(Y=ie[10](ie[6])+"")&&Pe(ye,Y)},i(ie){Ne||(U(me),Ne=!0)},o(ie){J(me),Ne=!1},d(ie){ie&&A(e),ft(ue,ie),me&&me.d(),fe=!1,Qe(Le)}}}function kc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function jS(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function YS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function QS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Wt();let o,{storedUserSettings:c={}}=e,g={},h=pt("getTranslation");mi(i,h,fe=>t(10,n=fe));let _=ol.userSettingsDialog.dialogHeader,p=ol.userSettingsDialog.saveBtn,m=ol.userSettingsDialog.dismissBtn,v={},S,y,C,N;xr(()=>{Ie.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const fe=le.getConfigValue("userSettings.userSettingsDialog"),Le=fe||le.getConfigValue("settings.userSettings.userSettingsDialog");Le&&(t(4,_=Le.dialogHeader?Le.dialogHeader:_),t(5,p=Le.saveBtn?Le.saveBtn:p),t(6,m=Le.dismissBtn?Le.dismissBtn:m)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Nn.addEventListener("message",G=>{const ue=Ie.getValidMessageSource(G);if(!ue||G.data.msg!=="custom")return;ue._ready=!0;const me=fa.convertCustomMessageInternalToUser(G.data),ie="luigi.updateUserSettings";if(me.id===ie){const De=ur.findActiveCustomUserSettingsIframe(G.source);if(De){let Ve=De.getAttribute("userSettingsGroup");t(0,c[Ve]=me.data,c)}}me.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&F()}),le.readUserSettings().then(G=>{g=JSON.parse(JSON.stringify(G)),G===null?t(0,c=kc(JSON.parse(JSON.stringify(r)),{})):t(0,c=kc(JSON.parse(JSON.stringify(r)),G)),D([S,r[0][S]])}).catch(G=>{G&&G.message&&console.error(G.message),G&&G.closeDialog&&s("close")}),Ie.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(fe){if(t(7,y=fe.title?fe.title:""),!!te.isObject(fe.settings))for(let Le in fe.settings){let G=fe.settings[Le];G.type==="enum"?Array.isArray(G.options)||console.error(`There is no options array for '${Le}' defined in the Luigi userSettings config.`):G.type===void 0&&console.error(`There is no data type defined for '${Le}' in the Luigi userSettings config.`)}}function D(fe,Le){t(11,o=fe);let G=fe[0],ue=fe[1];if(I(ue),Le?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ie=>{ie.classList.remove("is-selected")}),V(Le.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Cc()),ue.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(G))ur.getUserSettingsIframesInDom().forEach(me=>{me.userSettingsGroup===G&&(me.style.display="block")});else{const me=$r.hasDecorators()?$r.applyDecorators(ue.viewUrl):ue.viewUrl;let ie=ur.createIframe(me,G);v[G]=ie}jS()}else YS()}const L=fe=>{t(0,c=fe.detail.userSettings)};function T(){le.storeUserSettings(c,g).then(()=>{s("close")}).catch(fe=>{fe&&fe.message&&console.error(fe.message),fe&&fe.closeDialog&&s("close")})}function V(fe,Le,G){if(fe&&G>0)return te.isIE()?fe.msMatchesSelector(Le)?fe:V(fe.parentNode,Le,G-1):fe.matches(Le)?fe:V(fe.parentNode,Le,G-1)}function O(){F()}function F(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Cc()}function z(fe){return Ce.renderIconClassName(fe)}function ae(fe){return Ce.isOpenUIiconName(fe.icon)}let X;const Z=()=>{const fe=window.innerWidth>=xt.desktopMinWidth&&X<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&X>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),fe&&(document.querySelector(".confirm-button").style.display="block"),!X){let G=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?G.style.display="none":G.style.display="block"}X=window.innerWidth};function de(fe,Le){let G=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(fe.keyCode===pi||fe.keyCode===ma)&&G[Le].click(),fe.keyCode===AS&&G[Object.keys(r).length-1].focus(),fe.keyCode===LS&&G[0].focus()}function we(fe){fe.keyCode===_i&&C?N():fe.keyCode===_i&&!C&&s("close")}const W=fe=>D(fe,event),se=(fe,Le)=>de(Le,[fe]);function ee(fe){N=fe,t(9,N)}function Y(fe){C=fe,t(8,C)}const ye=()=>T(),Ne=()=>s("close");return i.$$set=fe=>{"schemaObj"in fe&&t(21,l=fe.schemaObj),"userSettingGroups"in fe&&t(1,r=fe.userSettingGroups),"storedUserSettings"in fe&&t(0,c=fe.storedUserSettings)},[c,r,de,we,_,p,m,y,C,N,n,o,s,h,D,L,T,F,z,ae,Z,l,W,se,ee,Y,ye,Ne]}class ZS extends At{constructor(e){super(),Lt(this,e,QS,JS,Pt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:XS}=Ui;function $S(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){R(t,e,n)},p:Ue,d(t){t&&A(e)}}}function xS(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=ke(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){R(g,e,h),w(e,t),R(g,n,h),R(g,l,h),w(l,s),o||(c=ne(t,"click",Ut(Et(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Pe(s,r)},d(g){g&&A(e),g&&A(n),g&&A(l),o=!1,c()}}}function yc(i){let e,t,n,l,r,s,o,c;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(g,h){R(g,e,h),R(g,t,h),R(g,n,h),w(n,l),w(n,r),w(n,s),o||(c=[ne(s,"click",Ut(Et(i[3]))),ne(n,"mousedown",Ut(i[6]))],o=!0)},p:Ue,d(g){g&&A(e),g&&A(t),g&&A(n),o=!1,Qe(c)}}}function e2(i){let e,t,n,l,r,s,o,c,g,h;t=new ts({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?xS:$S}let p=_(i),m=p(i),v=!i[0]&&yc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),m.c(),s=K(),v&&v.c(),o=Se(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){R(S,e,y),ze(t,e,null),w(e,n),w(e,l),m.m(l,null),R(S,s,y),v&&v.m(S,y),R(S,o,y),c=!0,g||(h=ne(XS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&m?m.p(S,y):(m.d(1),m=p(S),m&&(m.c(),m.m(l,null))),(!c||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&f(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=yc(S),v.c(),v.m(o.parentNode,o))},i(S){c||(U(t.$$.fragment,S),c=!0)},o(S){J(t.$$.fragment,S),c=!1},d(S){S&&A(e),Ge(t),m.d(),S&&A(s),v&&v.d(S),S&&A(o),g=!1,h()}}}function t2(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,h,_,p,m,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:N}=e,I=!1,D=pt("getUnsavedChangesModalPromise");const L=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:m}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(se=>{se==="splitViewSettings"?t(1,y=W.splitViewSettings):se==="lastNode"?r=W.lastNode:se==="pathData"?s=W.pathData:se==="nodeParams"?o=W.nodeParams:se==="collapsed"?t(0,S=W.collapsed):se==="isDataPrepared"?t(8,C=W.isDataPrepared):se==="currentNode"?c=W.currentNode:se==="splitViewIframe"?h=W.splitViewIframe:se==="splitViewIframeData"?_=W.splitViewIframeData:se==="splitViewWC"?p=W.splitViewWC:se==="splitViewWCData"&&(m=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),T=async()=>{C?S||rt.createAndSetView(L()):await rt.prepareSplitViewData(L(),v)},V=()=>{l.split=rt.getContainer(),l.iframe=Ie.getIframeContainer(),l.draggable=rt.getDragger()},O=()=>{const W=rt.getDraggerBackdrop();W&&(W.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${rt.splitViewValues.top}px`),l.split.style.top=`${rt.splitViewValues.top}px`,l.iframe.style.marginBottom=`${rt.splitViewValues.bottom}px`};function F(W){if(!!Ie.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&rt.close(L()),W.data.msg==="luigi.navigation.splitview.collapse"&&z(),W.data.msg==="luigi.navigation.splitview.expand"&&ae(),W.data.msg==="luigi.navigation.splitview.resize")){const se=parseInt(W.data.data);if(rt.calculateAndSetSplitViewValues(se,rt.internalValues),S)return;O(),rt.sendMessageToClients("resize.ok",rt.splitViewValues.percent)}}Yt(()=>{X(),g=F.bind(this),Nn.addEventListener("message",g)}),pa(()=>{T(),I!==C&&!S&&(I=C,O())}),xr(()=>{window.removeEventListener("message",g)});function z(){rt.collapse(L())}async function ae(){await rt.expand(L()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const W=On.getShellbar().clientHeight;rt.internalValues.innerHeight=te.getInnerHeight(),rt.internalValues.rightContentHeight=rt.internalValues.innerHeight-W,rt.internalValues.thresholdBottom=30,rt.internalValues.thresholdTop=W+30,rt.calculateAndSetSplitViewValues(rt.splitViewValues.percent,rt.internalValues),S||O()}function Z(W){let se=W.y,ee={};const Y=function(G){const ue=se-G.y,me=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(me)||ue===0)return;const ie=me-ue,De=rt.internalValues.innerHeight-ie,Ve=rt.enforceTresholds(ie,De);ie<Ve.top||De<Ve.bottom||(ee=Ve,se=G.y,l.draggable.style.top=`${ee.top}px`)},ye=function(){if(Ne(),!ee.top||!ee.bottom||ee.top==rt.internalValues.m_pos_prev){rt.getDraggerBackdrop().style.display="none";return}rt.internalValues.m_pos_prev=ee.top,rt.splitViewValues=ee,O(),rt.sendMessageToClients("resize.ok",ee.percent)},Ne=function(){document.removeEventListener("mouseup",ye),document.removeEventListener("mousemove",Y)},fe=function(){document.addEventListener("mouseup",ye),document.addEventListener("mousemove",Y)};V(),Ne(),fe(),rt.getDraggerBackdrop().style.display="block"}const de=W=>{let se=rt.getDraggerButton();se&&(se.style.display=W?"block":"none"),se=rt.getCollapsedDraggerButton(),se&&(se.style.display=W?"block":"none")},we=W=>{de(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,N=W.disableBackdrop)},[S,y,N,z,ae,X,Z,we,C,v]}class n2 extends At{constructor(e){super(),Lt(this,e,t2,e2,Pt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:r2,then:l2,catch:i2,value:1};return oa(t=i[0].badgeCounter.count(),n),{c(){e=Se(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&oa(t,n)||__(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function i2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function l2(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=ke(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){R(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Pe(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&A(e)}}}function r2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function s2(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function a2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Qn extends At{constructor(e){super(),Lt(this,e,a2,s2,Pt,{node:0})}}function Ic(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=ke(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Pe(l,n)},d(r){r&&A(e)}}}function o2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ic(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function u2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class ns extends At{constructor(e){super(),Lt(this,e,u2,o2,Pt,{node:0})}}const{window:na}=Ui;function Tc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Lc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[71]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[71]=e[t],n}function Dc(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",c,g,h,_=i[12].icon&&Vc(i),p=i[12].showUpLink&&Mc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),c=ke(o),g=K(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-wyyepu"),f(l,"class","fd-nested-list__link svelte-wyyepu"),f(l,"title",h=i[32](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-wyyepu"),f(t,"class","fd-nested-list svelte-wyyepu"),f(e,"class","lui-nav-title svelte-wyyepu")},m(m,v){R(m,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,v){m[12].icon?_?_.p(m,v):(_=Vc(m),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=m[24](m[12].label)+"")&&Pe(c,o),m[12].showUpLink?p?p.p(m,v):(p=Mc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=m[32](m[12],m[24](m[12].label)))&&f(l,"title",h)},d(m){m&&A(e),_&&_.d(),p&&p.d()}}}function Vc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?c2:f2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function f2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-wyyepu"),f(e,"class","fd-nested-list__icon sap-icon svelte-wyyepu")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!it(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function c2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-wyyepu"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-wyyepu")&&f(e,"class",t)},d(n){n&&A(e)}}}function Mc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-wyyepu"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){R(r,e,s),n||(l=ne(e,"click",Et(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&A(e),n=!1,l()}}}function Oc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=sd(Tc(i,r,c));const o=c=>J(s[c],1,1,()=>{s[c]=null});return{c(){e=k("div"),t=k("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-wyyepu"),f(e,"class","lui-fd-side-nav-wrapper svelte-wyyepu")},m(c,g){R(c,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(c,g){if(g[0]&2106714048|g[1]&227){r=c[13];let h;for(h=0;h<r.length;h+=1){const _=Tc(c,r,h);s[h]?(s[h].p(_,g),U(s[h],1)):(s[h]=sd(_),s[h].c(),U(s[h],1),s[h].m(t,null))}for(Re(),h=r.length;h<s.length;h+=1)o(h);Ee()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-wyyepu"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)U(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)J(s[g]);l=!1},d(c){c&&A(e),ft(s,c)}}}function d2(i){let e,t,n,l;const r=[_2,g2],s=[];function o(c,g){return c[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Re(),J(s[h],1,1,()=>{s[h]=null}),Ee(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){J(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function h2(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=rd(Ec(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let c;for(c=0;c<n.length;c+=1){const g=Ec(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=rd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function g2(i){let e,t,n=i[24](i[67])+"",l,r,s,o,c,g,h=i[10]&&i[68].metaInfo.icon&&Fc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Gc(Lc(i,_,v));const m=v=>J(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=ke(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();c=Se(),f(e,"class","fd-nested-list__group-header lui-category svelte-wyyepu"),f(e,"title",r=i[32](i[68],i[24](i[67]))),f(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),f(e,"id","category_list_level1_"+i[70])},m(v,S){R(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),R(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);R(v,c,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Fc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Pe(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&f(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&f(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Lc(v,_,y);p[y]?(p[y].p(C,S),U(p[y],1)):(p[y]=Gc(C),p[y].c(),U(p[y],1),p[y].m(c.parentNode,c))}for(Re(),y=_.length;y<p.length;y+=1)m(y);Ee()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)U(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)J(p[S]);g=!1},d(v){v&&A(e),h&&h.d(),v&&A(o),ft(p,v),v&&A(c)}}}function _2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",c,g,h,_,p,m,v,S,y,C,N,I,D,L,T,V,O,F,z,ae,X,Z;function de(ue,me){return me[0]&8192&&(l=null),l==null&&(l=!!ue[28](ue[68].metaInfo.icon)),l?C2:k2}let we=de(i,[-1,-1,-1]),W=we(i);function se(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...ue){return i[48](i[68],...ue)}let ye=i[68],Ne=[];for(let ue=0;ue<ye.length;ue+=1)Ne[ue]=Yc(Rc(i,ye,ue));const fe=ue=>J(Ne[ue],1,1,()=>{Ne[ue]=null});let Le=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&Qc(i);function G(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),c=ke(o),v=K(),S=k("button"),y=k("i"),L=K(),T=k("ul");for(let ue=0;ue<Ne.length;ue+=1)Ne[ue].c();O=K(),Le&&Le.c(),F=K(),f(s,"class","fd-nested-list__title svelte-wyyepu"),f(n,"title",g=i[32](i[68],i[24](i[67]))),f(n,"class",h="fd-nested-list__link "+(_n(i[68],i[9])?"is-expanded":"")+" svelte-wyyepu"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[70]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=_n(i[68],i[9])),f(y,"class",C=_n(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(y,"role","presentation"),f(S,"class","fd-button fd-nested-list__button svelte-wyyepu"),f(S,"href","#"),f(S,"tabindex","0"),f(S,"aria-label","Expand categories"),f(S,"aria-haspopup","true"),f(S,"aria-expanded",N=_n(i[68],i[9])),f(S,"title",I=i[38](i[68],i[9])),f(t,"class","fd-nested-list__content has-child svelte-wyyepu"),f(t,"tabindex",D=i[6]?"0":"-1"),f(T,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-wyyepu"),f(T,"aria-hidden",V=!_n(i[68],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[31](i[68].metaInfo,i[67])),hi(e,"lui-item-expanded",_n(i[68],i[9]))},m(ue,me){R(ue,e,me),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,c),w(t,v),w(t,S),w(S,y),w(e,L),w(e,T);for(let ie=0;ie<Ne.length;ie+=1)Ne[ie].m(T,null);w(e,O),Le&&Le.m(e,null),w(e,F),ae=!0,X||(Z=[ne(n,"click",Et(se)),ne(S,"click",Et(ee)),ne(t,"keypress",Y),ne(e,"click",Ut(G))],X=!0)},p(ue,me){if(i=ue,we===(we=de(i,me))&&W?W.p(i,me):(W.d(1),W=we(i),W&&(W.c(),W.m(n,r))),(!ae||me[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Pe(c,o),(!ae||me[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&f(n,"title",g),(!ae||me[0]&8704&&h!==(h="fd-nested-list__link "+(_n(i[68],i[9])?"is-expanded":"")+" svelte-wyyepu"))&&f(n,"class",h),(!ae||me[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!ae||me[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!ae||me[0]&8704&&m!==(m=_n(i[68],i[9])))&&f(n,"aria-expanded",m),(!ae||me[0]&8704&&C!==(C=_n(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(y,"class",C),(!ae||me[0]&8704&&N!==(N=_n(i[68],i[9])))&&f(S,"aria-expanded",N),(!ae||me[0]&8704&&I!==(I=i[38](i[68],i[9])))&&f(S,"title",I),(!ae||me[0]&64&&D!==(D=i[6]?"0":"-1"))&&f(t,"tabindex",D),me[0]&1686151296|me[1]&66){ye=i[68];let ie;for(ie=0;ie<ye.length;ie+=1){const De=Rc(i,ye,ie);Ne[ie]?(Ne[ie].p(De,me),U(Ne[ie],1)):(Ne[ie]=Yc(De),Ne[ie].c(),U(Ne[ie],1),Ne[ie].m(T,null))}for(Re(),ie=ye.length;ie<Ne.length;ie+=1)fe(ie);Ee()}(!ae||me[0]&8704&&V!==(V=!_n(i[68],i[9])))&&f(T,"aria-hidden",V),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Le?(Le.p(i,me),me[0]&8448&&U(Le,1)):(Le=Qc(i),Le.c(),U(Le,1),Le.m(e,F)):Le&&(Re(),J(Le,1,1,()=>{Le=null}),Ee()),(!ae||me[0]&8192&&z!==(z=i[31](i[68].metaInfo,i[67])))&&f(e,"data-testid",z),(!ae||me[0]&8704)&&hi(e,"lui-item-expanded",_n(i[68],i[9]))},i(ue){if(!ae){for(let me=0;me<ye.length;me+=1)U(Ne[me]);U(Le),ae=!0}},o(ue){Ne=Ne.filter(Boolean);for(let me=0;me<Ne.length;me+=1)J(Ne[me]);J(Le),ae=!1},d(ue){ue&&A(e),W.d(),ft(Ne,ue),Le&&Le.d(),X=!1,Qe(Z)}}}function Fc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?m2:p2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function p2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-wyyepu"),f(e,"class","fd-nested-list__icon sap-icon svelte-wyyepu")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function m2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-wyyepu"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-wyyepu")&&f(e,"class",t)},d(n){n&&A(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Bc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Bc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(X,Z){return X[71].icon?v2:b2}let L=D(i),T=L(i),V=i[71].statusBadge&&Hc(i),O=i[71].externalLink&&i[71].externalLink.url&&Wc(),F=i[71].badgeCounter&&zc(i);function z(...X){return i[54](i[71],...X)}function ae(...X){return i[55](i[71],...X)}return{c(){e=k("li"),t=k("a"),T.c(),n=K(),l=k("span"),s=ke(r),o=K(),V&&V.c(),g=K(),O&&O.c(),h=K(),F&&F.c(),S=K(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"),f(t,"href",_=i[30](i[71])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(e,"class","fd-nested-list__item"),f(e,"title",y=i[32](i[71],i[26](i[71]))),f(e,"aria-labelledby","category_list_level1_"+i[70])},m(X,Z){R(X,e,Z),w(e,t),T.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),O&&O.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,N||(I=[ne(t,"click",z),ne(t,"keyup",function(){Fi(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],N=!0)},p(X,Z){i=X,L===(L=D(i))&&T?T.p(i,Z):(T.d(1),T=L(i),T&&(T.c(),T.m(t,n))),(!C||Z[0]&8192)&&r!==(r=i[26](i[71])+"")&&Pe(s,r),i[71].statusBadge?V?(V.p(i,Z),Z[0]&8192&&U(V,1)):(V=Hc(i),V.c(),U(V,1),V.m(l,null)):V&&(Re(),J(V,1,1,()=>{V=null}),Ee()),(!C||Z[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"))&&f(l,"class",c),i[71].externalLink&&i[71].externalLink.url?O||(O=Wc(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,Z),Z[0]&8192&&U(F,1)):(F=zc(i),F.c(),U(F,1),F.m(t,null)):F&&(Re(),J(F,1,1,()=>{F=null}),Ee()),(!C||Z[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||Z[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"))&&f(t,"class",p),(!C||Z[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||Z[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||Z[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&f(e,"title",y)},i(X){C||(U(V),U(F),C=!0)},o(X){J(V),J(F),C=!1},d(X){X&&A(e),T.d(),V&&V.d(),O&&O.d(),F&&F.d(),N=!1,Qe(I)}}}function b2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=ke(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){R(o,e,c),R(o,n,c),R(o,l,c),w(l,s)},p(o,c){c[0]&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":"")&&Pe(s,r)},d(o){o&&A(e),o&&A(n),o&&A(l)}}}function v2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?S2:w2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function w2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-wyyepu"),f(e,"class","fd-nested-list__icon sap-icon svelte-wyyepu")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function S2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-wyyepu")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-wyyepu")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hc(i){let e,t;return e=new ns({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Wc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function zc(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Gc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Uc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function k2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[68].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),f(t,"class","svelte-wyyepu"),f(e,"class","fd-nested-list__icon sap-icon svelte-wyyepu")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[68].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function C2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-wyyepu"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-wyyepu")&&f(e,"class",t)},d(n){n&&A(e)}}}function qc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Kc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Jc(),L=i[71].badgeCounter&&jc(i);function T(...O){return i[49](i[71],...O)}function V(...O){return i[50](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),s=K(),qe(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"),f(t,"role",m=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[ne(t,"click",T),ne(t,"keyup",function(){Fi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Pe(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=Jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=jc(i),L.c(),U(L,1),L.m(t,null)):L&&(Re(),J(L,1,1,()=>{L=null}),Ee()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"))&&f(t,"class",p),(!C||F[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){J(o.$$.fragment,O),J(L),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),L&&L.d(),N=!1,Qe(I)}}}function Jc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function jc(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&qc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=qc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,c,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=ed(Ac(i,g,p));const _=p=>J(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=ke(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-wyyepu"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-wyyepu"),f(t,"class","lui-flyout-sublist__wrapper svelte-wyyepu"),f(e,"class","lui-flyout-sublist svelte-wyyepu")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);c=!0},p(p,m){if((!c||m[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Pe(r,l),m[0]&1686151296|m[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=Ac(p,g,v);h[v]?(h[v].p(S,m),U(h[v],1)):(h[v]=ed(S),h[v].c(),U(h[v],1),h[v].m(o,null))}for(Re(),v=g.length;v<h.length;v+=1)_(v);Ee()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)U(h[m]);c=!0}},o(p){h=h.filter(Boolean);for(let m=0;m<h.length;m+=1)J(h[m]);c=!1},d(p){p&&A(e),ft(h,p)}}}function Zc(i){let e,t,n=i[71].label&&Xc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Xc(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Xc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,c,g,h,_,p,m,v,S,y,C,N,I;o=new ns({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&$c(),L=i[71].badgeCounter&&xc(i);function T(...O){return i[51](i[71],...O)}function V(...O){return i[52](i[71],...O)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),s=K(),qe(o.$$.fragment),g=K(),D&&D.c(),h=K(),L&&L.c(),y=K(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"),f(t,"href",_=i[30](i[71])),f(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"),f(t,"tabindex","0"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",v=i[29](i[71])),f(t,"title",S=i[32](i[71],i[26](i[71]))),f(e,"class","fd-nested-list__item")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,r),w(n,s),ze(o,n,null),w(t,g),D&&D.m(t,null),w(t,h),L&&L.m(t,null),w(e,y),C=!0,N||(I=[ne(t,"click",T),ne(t,"keyup",function(){Fi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],N=!0)},p(O,F){i=O,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Pe(r,l);const z={};F[0]&8192&&(z.node=i[71]),o.$set(z),(!C||F[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"))&&f(n,"class",c),i[71].externalLink&&i[71].externalLink.url?D||(D=$c(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?L?(L.p(i,F),F[0]&8192&&U(L,1)):(L=xc(i),L.c(),U(L,1),L.m(t,null)):L&&(Re(),J(L,1,1,()=>{L=null}),Ee()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&f(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"))&&f(t,"class",p),(!C||F[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&f(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&f(t,"title",S)},i(O){C||(U(o.$$.fragment,O),U(L),C=!0)},o(O){J(o.$$.fragment,O),J(L),C=!1},d(O){O&&A(e),Ge(o),D&&D.d(),L&&L.d(),N=!1,Qe(I)}}}function $c(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function xc(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function ed(i){let e,t,n=!i[71].hideFromNav&&Zc(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=Zc(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function td(i){let e,t,n=i[71].label&&nd(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=nd(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function nd(i){let e,t,n,l,r=i[26](i[71])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function L(X,Z){return X[71].icon?P2:y2}let T=L(i),V=T(i);c=new ns({props:{node:i[71]}});let O=i[71].externalLink&&i[71].externalLink.url&&id(),F=i[71].badgeCounter&&ld(i);function z(...X){return i[44](i[71],...X)}function ae(...X){return i[45](i[71],...X)}return{c(){e=k("li"),t=k("a"),V.c(),n=K(),l=k("span"),s=ke(r),o=K(),qe(c.$$.fragment),h=K(),O&&O.c(),_=K(),F&&F.c(),C=K(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"),f(t,"href",p=i[30](i[71])),f(t,"title",m=i[32](i[71],i[26](i[71]))),f(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"),f(t,"tabindex","0"),f(t,"role",S=i[23]?void 0:"button"),f(t,"data-testid",y=i[29](i[71])),f(e,"class","fd-nested-list__item")},m(X,Z){R(X,e,Z),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),ze(c,l,null),w(t,h),O&&O.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),N=!0,I||(D=[ne(t,"click",z),ne(t,"keyup",function(){Fi(i[23]?void 0:ae)&&(i[23]?void 0:ae).apply(this,arguments)})],I=!0)},p(X,Z){i=X,T===(T=L(i))&&V?V.p(i,Z):(V.d(1),V=T(i),V&&(V.c(),V.m(t,n))),(!N||Z[0]&8192)&&r!==(r=i[26](i[71])+"")&&Pe(s,r);const de={};Z[0]&8192&&(de.node=i[71]),c.$set(de),(!N||Z[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-wyyepu"))&&f(l,"class",g),i[71].externalLink&&i[71].externalLink.url?O||(O=id(),O.c(),O.m(t,_)):O&&(O.d(1),O=null),i[71].badgeCounter?F?(F.p(i,Z),Z[0]&8192&&U(F,1)):(F=ld(i),F.c(),U(F,1),F.m(t,null)):F&&(Re(),J(F,1,1,()=>{F=null}),Ee()),(!N||Z[0]&8192&&p!==(p=i[30](i[71])))&&f(t,"href",p),(!N||Z[0]&8192&&m!==(m=i[32](i[71],i[26](i[71]))))&&f(t,"title",m),(!N||Z[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-wyyepu"))&&f(t,"class",v),(!N||Z[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&f(t,"role",S),(!N||Z[0]&8192&&y!==(y=i[29](i[71])))&&f(t,"data-testid",y)},i(X){N||(U(c.$$.fragment,X),U(F),N=!0)},o(X){J(c.$$.fragment,X),J(F),N=!1},d(X){X&&A(e),V.d(),Ge(c),O&&O.d(),F&&F.d(),I=!1,Qe(D)}}}function y2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&A(e)}}}function P2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?I2:N2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function N2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[71].icon)||f(t,"src",n),f(t,"alt",l=i[71].altText?i[71].altText:""),f(t,"class","svelte-wyyepu"),f(e,"class","fd-nested-list__icon sap-icon svelte-wyyepu")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[71].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function I2(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-wyyepu"),f(e,"role","presentation")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-wyyepu")&&f(e,"class",t)},d(n){n&&A(e)}}}function id(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ld(i){let e,t;return e=new Qn({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function rd(i){let e,t,n=!i[71].hideFromNav&&td(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&8192&&U(n,1)):(n=td(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function sd(i){let e,t,n,l,r,s;const o=[h2,d2],c=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(R2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Se()},m(h,_){~n&&c[n].m(h,_),R(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&c[n].p(h,_):(l&&(Re(),J(c[p],1,1,()=>{c[p]=null}),Ee()),~n?(l=c[n],l?l.p(h,_):(l=c[n]=o[n](h),l.c()),U(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(U(l),s=!0)},o(h){J(l),s=!1},d(h){~n&&c[n].d(h),h&&A(r)}}}function ad(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&od(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=ke(l),s=K(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-wyyepu"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-wyyepu"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-wyyepu")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Pe(r,l),c[3]?o?o.p(c,g):(o=od(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),o&&o.d()}}}function od(i){let e;function t(r,s){return r[4]=="button"?L2:T2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function T2(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-wyyepu"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){R(r,e,s),n||(l=[ne(e,"click",i[57]),ne(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-wyyepu")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&A(e),n=!1,Qe(l)}}}function L2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-wyyepu"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent lui-semi-btn svelte-wyyepu")},m(s,o){R(s,e,o),w(e,t),l||(r=ne(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-wyyepu")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&A(e),l=!1,r()}}}function A2(i){let e,t,n,l,r,s,o,c,g,h,_=i[12]&&Dc(i),p=i[0]&&i[5].length>1&&Oc(i),m=(i[2]||i[3])&&ad(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-wyyepu"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-wyyepu"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-wyyepu")},m(v,S){R(v,e,S),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(h=[ne(na,"resize",i[17]),ne(na,"click",i[21]),ne(na,"blur",i[21]),ne(na,"keydown",i[33]),ne(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Dc(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>1?p?(p.p(v,S),S[0]&33&&U(p,1)):(p=Oc(v),p.c(),U(p,1),p.m(l,null)):p&&(Re(),J(p,1,1,()=>{p=null}),Ee()),v[2]||v[3]?m?m.p(v,S):(m=ad(v),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-wyyepu"))&&f(n,"class",s),(!c||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-wyyepu"))&&f(e,"class",o)},i(v){c||(U(p),c=!0)},o(v){J(p),c=!1},d(v){v&&A(e),_&&_.d(),p&&p.d(),m&&m.d(),g=!1,Qe(h)}}}function _n(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const R2=i=>!i.hideFromNav&&i.label;function E2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:D,selectedCategory:C,expandedCategories:N,hasCategoriesWithIcon:I,navParentNode:V}),set:async x=>{if(x){Object.getOwnPropertyNames(x).forEach(async ct=>{if(ct==="pathData")t(5,p=x.pathData);else if(ct==="context")O=x.context;else if(ct==="children")t(0,s=x.children);else if(ct==="selectedNode")t(7,y=x.selectedNode);else if(ct==="hasCategoriesWithIcon")t(10,I=x.hasCategoriesWithIcon);else if(ct==="navParent"){t(12,T=void 0);let Nt=x.navParent;if(t(41,V=Nt),Nt&&Nt.navHeader&&te.requestExperimentalFeature("navHeader",!0)){let Vt=Nt.navHeader,Ct=Nt;if(Vt==="inherit"){for(Ct=Nt.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Vt=Ct?Ct.navHeader:void 0}if(Vt instanceof Function){t(12,T={});let cn=Vt(Ce.stripNode(Nt),Ce.stripNode(Ct),O);cn instanceof Promise?cn.then(mn=>{t(12,T=mn)}):t(12,T=cn)}else if(Vt==="auto")t(12,T={label:Nt.label,icon:Nt.icon});else if(Vt&&Vt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,T={...Vt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,T=Vt);const cn=pe.mapPathToNode(tt.getCurrentPath(),Ct);Ft.extractDataFromPath(cn).then(mn=>{const Xn=pe.substituteDynamicParamsInObject(Object.assign({},mn.pathData.context,Ct.context),mn.pathData.pathParams);Ce.fetchNodeTitleData(Ct,Xn).then($n=>{t(12,T={...Vt,...$n})}).catch($n=>{console.error("Error while retrieving title, fallback to node label"),t(12,T={...Vt,label:Nt.label,icon:Nt.icon})})})}else t(12,T=await fe(Vt,Ct))}}});let Oe=y&&y.sideNavAccordionMode||y&&y.parent&&y.parent.sideNavAccordionMode;typeof Oe<"u"?t(40,D=Oe):t(40,D=le.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode"))}}},r=Wt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:m}=e,{virtualGroupPrefix:v=Ce.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:N}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:L}=e,{navHeader:T}=e,{navParentNode:V}=e,O,F,z,ae=pt("store"),X=pt("getTranslation");mi(i,X,x=>t(24,n=x));let Z=!1;const de=x=>Ce.getNodeLabel(x),we=async()=>{const x=l.get(),Oe=await Ft.getLeftNavData({...x},x);!Oe||(l.set(Oe),F=p,window.LEFTNAVDATA=Oe.children)};Yt(()=>{t(3,h=le.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=le.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,Z=le.getConfigValue("navigation.addNavHrefs")),t(1,o=le.getConfigBooleanValue("settings.hideNavigation")),t(22,z=le.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,N=Ce.loadExpandedCategories()),Un.doOnStoreChange(ae,()=>{t(2,c=le.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]);let x=di.initial();t(6,S=x.isSemiCollapsed),t(39,g=x.semiCollapsible),di.onValueChanged(Oe=>{t(6,S=Oe.isSemiCollapsed)}),Nn.addEventListener("message",Oe=>{Oe.data.msg==="luigi.navigation.update-badge-counters"&&we()})}),Fn(()=>{(!F||F!=p)&&we(),t(22,z=le.getConfigBooleanValue("settings.sideNavCompactMode")),t(3,h=le.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function se(x){return Ce.renderIconClassName(x)}function ee(x){return Ce.isOpenUIiconName(x)}function Y(x){return x.testId?x.testId:Ce.prepareForTests(x.pathSegment,x.label)}function ye(x){return pe.getNodeHref(x,m)}function Ne(x,Oe){return x&&x.testId?x.testId:Ce.prepareForTests(Oe||x.label)}async function fe(x,Oe){const ct=pe.mapPathToNode(tt.getCurrentPath(),Oe),Vt=(await Ft.extractDataFromPath(ct)).pathData.pathParams;return pe.substituteDynamicParamsInObject(x,Vt)}function Le(x,Oe){return Ce.generateTooltipText(x,Oe)}function G(x){r("handleClick",{node:x})}function ue(x,Oe){if(di.getCollapsed()){let ct,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(x.metaInfo&&x.metaInfo.label?ct=x.metaInfo.label:ct=x.category&&x.category.label||x.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),ct===C){t(8,C=di.closePopupMenu(C));return}t(8,C=ct),me(Oe)}}function me(x){const Oe=x.closest(".fd-nested-list__item"),ct=Oe.offsetTop,Nt=On.getShellbar().offsetHeight;let Vt;On.isCustomLuigiContainer()?Vt=On.getCustomLuigiContainer().clientHeight:Vt=window.innerHeight,setTimeout(()=>{const Ct=Oe.getElementsByClassName("lui-flyout-sublist")[0],cn=x.closest(".lui-fd-side-nav-wrapper").scrollTop,mn=ct+Nt-cn,Xn=Vt-ct-Oe.offsetHeight+cn-Nt;mn+Ct.offsetHeight>=Vt?(Ct.style.bottom=Xn+"px",Ct.className+=" has-bottom-position"):Ct.style.top=mn-Nt+"px"})}function ie(){if(g){let x=di.onResize(C);t(6,S=x.isSemiCollapsed),t(8,C=x.selectedCategory)}}function De(x){if(x.code==="ArrowRight"){const ct=Ie.getCurrentMicrofrontendIframe();ct&&ct.contentWindow&&ct.contentWindow.focus()}}function Ve(x){let Oe=V?V.parent:void 0;for(;Oe;){if(Oe.pathSegment&&Oe.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Oe});return}Oe=Oe.parent}console.warn('Could not resolve "up"-node, redirecting to root'),P_.navigate("/")}function _e(x,Oe){di.getCollapsed()||t(9,N=Ce.storeExpandedState(x.metaInfo.categoryUid,Oe,D))}function Ze(){t(8,C=di.closePopupMenu(C))}function Bt(x){x&&x.code==="Escape"&&Ze()}function kt(){t(6,S=di.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Gt()}function Dt(x){const Oe=x.code;(Oe==="Enter"||Oe==="Space")&&kt()}function In(x,Oe){(x.code==="Enter"||x==="Space")&&ue(Oe,x.currentTarget)}function Bn(x,Oe){x.keyCode===pi&&Ce.handleNavAnchorClickedWithoutMetaKey(x)&&G(Oe)}function Gt(){if(!Ce.getBurgerTooltipConfig())return;const[x,Oe]=Ce.getBurgerTooltipConfig(),ct=document.body.classList.contains("lui-semiCollapsible");x&&Oe&&ct&&t(11,L=document.body.classList.contains("semiCollapsed")?x:Oe)}function bi(x,Oe){return _n(x,Oe)?x.metaInfo.titleCollapseButton?n(x.metaInfo.titleCollapseButton):void 0:x.metaInfo.titleExpandButton?n(x.metaInfo.titleExpandButton):void 0}const Bi=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},en=(x,Oe)=>Bn(Oe,x),Qt=x=>_e(x,!_n(x,N)),Zn=x=>_e(x,!_n(x,N)),Rt=(x,Oe)=>In(Oe,x),pn=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},Zt=(x,Oe)=>Bn(Oe,x),Hi=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},qt=(x,Oe)=>Bn(Oe,x),rn=x=>ue(x,event.currentTarget),vi=(x,Oe)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Oe)&&G(x)},ri=(x,Oe)=>Bn(Oe,x),sn=x=>kt(),wi=x=>kt(),Si=x=>Dt(x);return i.$$set=x=>{"children"in x&&t(0,s=x.children),"hideNavComponent"in x&&t(1,o=x.hideNavComponent),"footerText"in x&&t(2,c=x.footerText),"semiCollapsible"in x&&t(39,g=x.semiCollapsible),"semiCollapsibleButton"in x&&t(3,h=x.semiCollapsibleButton),"semiCollapsibleButtonStyle"in x&&t(4,_=x.semiCollapsibleButtonStyle),"pathData"in x&&t(5,p=x.pathData),"pathParams"in x&&t(42,m=x.pathParams),"virtualGroupPrefix"in x&&t(14,v=x.virtualGroupPrefix),"isSemiCollapsed"in x&&t(6,S=x.isSemiCollapsed),"selectedNode"in x&&t(7,y=x.selectedNode),"selectedCategory"in x&&t(8,C=x.selectedCategory),"expandedCategories"in x&&t(9,N=x.expandedCategories),"hasCategoriesWithIcon"in x&&t(10,I=x.hasCategoriesWithIcon),"sideNavAccordionMode"in x&&t(40,D=x.sideNavAccordionMode),"burgerTooltip"in x&&t(11,L=x.burgerTooltip),"navHeader"in x&&t(12,T=x.navHeader),"navParentNode"in x&&t(41,V=x.navParentNode),"sortedChildrenEntries"in x&&t(13,W=x.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const x=Object.entries(s);x.sort((Oe,ct)=>Oe[1].metaInfo.order-ct[1].metaInfo.order),t(13,W=x)}},[s,o,c,h,_,p,S,y,C,N,I,L,T,W,v,G,ue,ie,De,Ve,_e,Ze,z,Z,n,X,de,se,ee,Y,ye,Ne,Le,Bt,kt,Dt,In,Bn,bi,g,D,V,m,me,Bi,en,Qt,Zn,Rt,pn,Zt,Hi,qt,rn,vi,ri,sn,wi,Si]}class D2 extends At{constructor(e){super(),Lt(this,e,E2,A2,Pt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const V2=i=>{Un.doOnStoreChange(i.store,()=>{const e=le.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),le.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),L_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},M2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),L_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return te.trimTrailingSlash(te.trimLeadingSlash(c.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!M2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=es.getDocumentTitle()||r;i.set({title:r}),document.title=dt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function ud(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fd(i,e,t){const n=i.slice();return n[43]=e[t],n}function O2(i){let e,t,n,l,r=i[1]&&cd(i);return{c(){e=k("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=ne(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=cd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function F2(i){let e,t,n,l,r=i[1]&&dd(i);return{c(){e=k("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){R(s,e,o),r&&r.m(e,null),n||(l=ne(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=dd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&A(e),r&&r.d(),n=!1,l()}}}function cd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[28](null)}}}function dd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){R(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&A(e),i[26](null)}}}function hd(i){let e,t;function n(o,c){return o[3]?U2:B2}let l=n(i),r=l(i),s=i[10]&&Cd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=Cd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}function U2(i){let e,t,n,l,r,s,o,c,g,h;function _(y,C){return y[12]?W2:H2}let p=_(i),m=p(i),v=i[4]&&i[5]&&vd(i),S=i[7]&&i[7].length>0&&wd(i);return{c(){e=k("div"),t=k("div"),m.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(y,C){R(y,e,C),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=ne(t,"click",Ut(j2)),g=!0)},p(y,C){p===(p=_(y))&&m?m.p(y,C):(m.d(1),m=p(y),m&&(m.c(),m.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=vd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=wd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&c!==(c=!y[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(y){y&&A(e),m.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function B2(i){let e;function t(r,s){return r[12]?K2:q2}let n=t(i),l=n(i);return{c(){l.c(),e=Se()},m(r,s){l.m(r,s),R(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&A(e)}}}function H2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("button"),t=k("span"),l=ke(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=ne(e,"click",Ut(i[34])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Pe(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function W2(i){let e,t,n,l=i[7]&&i[7].length===1&&gd(i),r=i[7]&&i[7].length>1&&_d(i),s=i[7].length>1&&!i[5]&&bd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=Se()},m(o,c){l&&l.m(o,c),R(o,e,c),r&&r.m(o,c),R(o,t,c),s&&s.m(o,c),R(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=_d(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=bd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&A(e),r&&r.d(o),o&&A(t),s&&s.d(o),o&&A(n)}}}function gd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=ke(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){R(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Pe(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&A(e)}}}function _d(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=md(fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=fd(l,t,s);n[s]?n[s].p(o,r):(n[s]=md(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function pd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,h,_;return{c(){e=k("a"),t=k("span"),l=ke(n),r=K(),s=k("i"),o=K(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){R(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=ne(e,"click",Et(i[32])),h=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Pe(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&A(e),h=!1,_()}}}function md(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&pd(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=pd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function bd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=ke(n),r=K(),s=k("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(h,_){R(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=ne(e,"click",Et(i[33])),c=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Pe(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(h){h&&A(e),c=!1,g()}}}function vd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,h){R(g,e,h),w(e,t),w(t,n),w(n,r),o||(c=ne(t,"click",Et(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Pe(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&A(e),o=!1,c()}}}function wd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=kd(ud(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ud(l,t,s);n[s]?n[s].p(o,r):(n[s]=kd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function z2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),c=K(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",_),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Pe(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&A(e),g=!1,h()}}}function G2(i){let e,t=i[16]&&Sd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Sd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new mr(!1),l=K(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){R(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&A(e)}}}function kd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!te.isFunction(o[8])),e)return G2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return z2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=Se()},m(o,c){s&&s.m(o,c),R(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&A(n)}}}function q2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=ke(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=ne(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function K2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=ke(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){R(o,e,c),w(e,t),w(t,l),r||(s=ne(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Pe(l,n)},d(o){o&&A(e),r=!1,s()}}}function Cd(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function J2(i){let e,t;function n(o,c){return o[12]?F2:O2}let l=n(i),r=l(i),s=i[2]&&hd(i);return{c(){r.c(),e=K(),s&&s.c(),t=Se()},m(o,c){r.m(o,c),R(o,e,c),s&&s.m(o,c),R(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,c):(s=hd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Ue,o:Ue,d(o){r.d(o),o&&A(e),s&&s.d(o),o&&A(t)}}}const j2=()=>{};function Y2(i,e,t){let n;const l=Wt();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:m}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:N}=e,{addNavHrefForAnchor:I}=e,D,L,T=pt("getUnsavedChangesModalPromise"),V=pt("getTranslation");mi(i,V,_e=>t(17,n=_e));let O=pt("store");const F={closeDropDown:()=>{we("appSwitcherPopover")}},z=()=>({get:()=>({pathData:N,pathParams:S,appSwitcherItems:m,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:c,hasLogo:s,logo:r}),set:_e=>{_e&&Object.getOwnPropertyNames(_e).forEach(Ze=>{Ze==="pathData"?t(24,N=_e.pathData):Ze==="appSwitcherItems"?t(7,m=_e.appSwitcherItems):Ze==="itemRenderer"?t(8,v=_e.itemRenderer):Ze==="pathParams"?t(9,S=_e.pathParams):Ze==="selectedItem"?t(5,_=_e.selectedItem):Ze==="title"?t(2,o=_e.title):Ze==="defaultSubTitle"?t(23,C=_e.defaultSubTitle):Ze==="subTitle"?t(10,y=_e.subTitle):Ze==="defaultTitle"?t(6,p=_e.defaultTitle):Ze==="subTitle"?t(10,y=_e.subTitle):Ze==="showMainAppEntry"?t(4,h=_e.showMainAppEntry):Ze==="hasApps"?t(3,c=_e.hasApps):Ze==="hasLogo"&&t(1,s=_e.hasLogo)})},store:O});Yt(()=>{V2(z())}),Fn(()=>{(!L||L!=N)&&(L_(z()),L=N)});function ae(_e,Ze,Bt){return setTimeout(()=>{Ze&&v(_e,Ze.children[Bt],F)}),""}function X(_e){T().then(()=>{tt.navigateTo(pe.applyPathParams(_e,S))},()=>{})}function Z(){T().then(()=>{tt.navigateTo("/")},()=>{})}function de(_e){l("handleClick",{node:_e}),we("appSwitcherPopover")}function we(_e){l("toggleDropdownState",{name:_e})}function W(_e){return _e.testId?_e.testId:Ce.prepareForTests(_e.title||_e)}function se(_e,Ze){if(_e.link){const Bt=pe.applyPathParams(_e.link,Ze);if(Bt.indexOf(":")!==0&&Bt.indexOf("/:")===-1)return!0}return!1}function ee(_e){return pe.getNodeHref(_e)}function Y(_e){$e[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const ye=_e=>{Ce.handleNavAnchorClickedWithoutMetaKey(_e)&&X("/")};function Ne(_e){$e[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const fe=()=>X("/"),Le=_e=>{Ce.handleNavAnchorClickedWithoutMetaKey(_e)&&X("/")},G=()=>X("/"),ue=()=>we("appSwitcherPopover"),me=()=>we("appSwitcherPopover"),ie=()=>we("appSwitcherPopover"),De=(_e,Ze)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Ze)&&X(_e.link)};function Ve(_e){$e[_e?"unshift":"push"](()=>{D=_e,t(16,D)})}return i.$$set=_e=>{"logo"in _e&&t(0,r=_e.logo),"hasLogo"in _e&&t(1,s=_e.hasLogo),"title"in _e&&t(2,o=_e.title),"hasApps"in _e&&t(3,c=_e.hasApps),"dropDownStates"in _e&&t(11,g=_e.dropDownStates),"showMainAppEntry"in _e&&t(4,h=_e.showMainAppEntry),"selectedItem"in _e&&t(5,_=_e.selectedItem),"defaultTitle"in _e&&t(6,p=_e.defaultTitle),"appSwitcherItems"in _e&&t(7,m=_e.appSwitcherItems),"itemRenderer"in _e&&t(8,v=_e.itemRenderer),"pathParams"in _e&&t(9,S=_e.pathParams),"subTitle"in _e&&t(10,y=_e.subTitle),"defaultSubTitle"in _e&&t(23,C=_e.defaultSubTitle),"pathData"in _e&&t(24,N=_e.pathData),"addNavHrefForAnchor"in _e&&t(12,I=_e.addNavHrefForAnchor)},[r,s,o,c,h,_,p,m,v,S,y,g,I,X,Z,we,D,n,V,ae,W,se,ee,C,N,de,Y,ye,Ne,fe,Le,G,ue,me,ie,De,Ve]}class Q2 extends At{constructor(e){super(),Lt(this,e,Y2,J2,Pt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function yd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Pd(i){let e,t,n,l,r,s,o=i[0]&&Nd(i),c=(i[10]||i[11])&&Dd(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,h){R(g,e,h),o&&o.m(e,null),R(g,t,h),R(g,n,h),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=Nd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,h):(c=Dd(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&A(e),o&&o.d(),g&&A(t),g&&A(n),c&&c.d()}}}function Nd(i){let e,t,n,l,r,s,o;function c(y,C){return y[7].picture?X2:Z2}let g=c(i),h=g(i),_=i[7].name&&Id(i),p=i[7].description&&Td(i),m=i[9].items,v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(yd(i,m,y));let S=i[12]&&Rd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(y,C){R(y,e,C),h.m(e,null),R(y,t,C),R(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),R(y,r,C),R(y,s,C);for(let N=0;N<v.length;N+=1)v[N].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=c(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Id(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=Td(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){m=y[9].items;let N;for(N=0;N<m.length;N+=1){const I=yd(y,m,N);v[N]?v[N].p(I,C):(v[N]=Ad(I),v[N].c(),v[N].m(s,o))}for(;N<v.length;N+=1)v[N].d(1);v.length=m.length}y[12]?S?S.p(y,C):(S=Rd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&A(e),h.d(),y&&A(t),y&&A(n),_&&_.d(),p&&p.d(),y&&A(r),y&&A(s),ft(v,y),S&&S.d()}}}function Z2(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=ke(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Pe(n,t)},d(l){l&&A(e)}}}function X2(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),li(e,"background-image","url('"+i[7].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&128&&li(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&A(e)}}}function Id(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Td(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ld(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?x2:$2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function $2(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),li(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&li(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&A(e)}}}function x2(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ad(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Ld(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Ld(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Pe(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Rd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&Ed(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){R(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[ne(e,"click",Et(i[5])),ne(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Ed(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Pe(s,r)},d(h){h&&A(e),g&&g.d(),o=!1,Qe(c)}}}function Ed(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?tk:ek}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ek(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function tk(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&A(e)}}}function Dd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Vd(i),l=i[10]&&!i[8]&&Md(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Vd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Md(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function Vd(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=ke(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,g){R(c,e,g),w(e,t),w(t,l),s||(o=ne(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Pe(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&A(e),s=!1,o()}}}function Md(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),n=k("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(s,o){R(s,e,o),R(s,t,o),R(s,n,o),l||(r=[ne(e,"click",i[15]),ne(n,"click",i[15])],l=!0)},p:Ue,d(s){s&&A(e),s&&A(t),s&&A(n),l=!1,Qe(r)}}}function nk(i){let e,t=!i[1]&&Pd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Pd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function ik(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=pt("store"),y=pt("getTranslation");mi(i,y,Y=>t(13,n=Y));let C=pt("getUnsavedChangesModalPromise"),N=pt("openViewInModal");Yt(async()=>{gi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),ln.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),ln.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function D(Y){return Ce.renderIconClassName(Y)}function L(Y){return Ce.isOpenUIiconName(Y.icon)}function T(Y){return Y.testId?Y.testId:Ce.prepareForTests(Y.label)}function V(Y){return pe.getNodeHref(Y)}function O(){m||(Un.doOnStoreChange(S,async()=>{const Y=await le.getConfigValueAsync("navigation.profile.logout"),ye=await le.getConfigValueAsync("userSettings"),Ne=ye||await le.getConfigValueAsync("settings.userSettings"),fe={items:await le.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(Ne)){const Le=Ne.userSettingsProfileMenuEntry;fe.settings={...ol.userSettingsProfileMenuEntry,...Le}}fe.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,ln.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,ln.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=fe),t(12,p=Boolean(Ne))},["navigation.profile"]),m=!0)}async function F(){const Y=await le.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(ln.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function z(Y){C().then(()=>{if(Y.openNodeInModal){const ye=pe.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?Z():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){es.openUserSettings(),l("toggleDropdownState")}function Z(){ln.logout()}function de({keyCode:Y}){(Y===pi||Y===ma)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:we}=e;const W=Y=>{Ce.handleNavAnchorClickedWithoutMetaKey(Y)},se=Y=>z(Y),ee=Y=>de(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,we=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,we=Boolean(o&&(o.name||o.email)))},[we,r,s,z,ae,X,de,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,Z,W,se,ee]}class lk extends At{constructor(e){super(),Lt(this,e,ik,nk,Pt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Od(i,e,t){const n=i.slice();return n[34]=e[t],n}function Fd(i){let e,t,n,l,r,s=i[0]&&Ud(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=Hd(Od(i,o,_));let g=i[12]&&Wd(i),h=(i[10]||i[11])&&Gd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<c.length;_+=1)c[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){R(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ud(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let m;for(m=0;m<o.length;m+=1){const v=Od(_,o,m);c[m]?c[m].p(v,p):(c[m]=Hd(v),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=Wd(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Gd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&A(e),s&&s.d(),ft(c,_),g&&g.d(),h&&h.d()}}}function Ud(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=ke(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Pe(l,n)},d(r){r&&A(e)}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?sk:rk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function rk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function sk(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Hd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,h,_=i[34].icon&&Bd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(m,v){R(m,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(m,v){i=m,i[34].icon?_?_.p(i,v):(_=Bd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Pe(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),v[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&A(e),_&&_.d(),g=!1,Qe(h)}}}function Wd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,h=i[9].settings.icon&&zd(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[ne(e,"click",Et(i[5])),ne(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=zd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Pe(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,Qe(g)}}}function zd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?ok:ak}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function ak(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function ok(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Gd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&qd(i),l=i[10]&&!i[8]&&Jd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=Se()},m(r,s){n&&n.m(r,s),R(r,e,s),l&&l.m(r,s),R(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=qd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Jd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&A(e),l&&l.d(r),r&&A(t)}}}function qd(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,h=i[9].logout.icon&&Kd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=ke(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){R(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=ne(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Kd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Pe(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&A(e),h&&h.d(),c=!1,g()}}}function Kd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?fk:uk}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function uk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),it(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){R(l,e,r)},p(l,r){r[0]&512&&!it(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function fk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){R(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&A(e)}}}function Jd(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){R(l,e,r),t||(n=ne(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function ck(i){let e,t=!i[1]&&Fd(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Fd(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function dk(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},h,_,p,m,v,S=pt("store"),y=pt("getTranslation");mi(i,y,Y=>t(13,n=Y));let C=pt("getUnsavedChangesModalPromise"),N=pt("openViewInModal");Yt(async()=>{gi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),O(),ln.getLoggedInStore().subscribe(Y=>{t(8,c=Y)}),ln.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){ln.startAuthorization()}function D(Y){return Ce.renderIconClassName(Y)}function L(Y){return Ce.isOpenUIiconName(Y.icon)}function T(Y){return Y.testId?Y.testId:Ce.prepareForTests(Y.label)}function V(Y){return pe.getNodeHref(Y)}function O(){m||(Un.doOnStoreChange(S,async()=>{const Y=await le.getConfigValueAsync("navigation.profile.logout"),ye=await le.getConfigValueAsync("userSettings"),Ne=ye||await le.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(Ne));const fe={items:await le.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Le=Ne.userSettingsProfileMenuEntry;fe.settings={...ol.userSettingsProfileMenuEntry,...Le}}fe.logout={...ol.logout,...Y},t(11,_=Boolean(Y)),v=!1,ln.setProfileLogoutFn(null),Y&&te.isFunction(Y.customLogoutFn)&&(v=!0,ln.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=fe)},["navigation.profile"]),m=!0)}async function F(){const Y=await le.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(ln.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function z(Y){C().then(()=>{if(Y.openNodeInModal){const ye=pe.buildRoute(Y,`${Y.link}`);N(ye,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else tt.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function ae(){C().then(()=>{h?Z():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){es.openUserSettings(),l("toggleDropdownState")}function Z(){ln.logout()}function de({keyCode:Y}){(Y===pi||Y===ma)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:we}=e;const W=Y=>{Ce.handleNavAnchorClickedWithoutMetaKey(Y)},se=Y=>z(Y),ee=Y=>de(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,we=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,we=Boolean(o&&(o.name||o.email)))},[we,r,s,z,ae,X,de,o,c,g,h,_,p,n,y,I,D,L,T,V,O,F,Z,W,se,ee]}class A_ extends At{constructor(e){super(),Lt(this,e,dk,ck,Pt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function jd(i,e,t){const n=i.slice();return n[12]=e[t],n}function Yd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=jd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Zd(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function hk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function gk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){R(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&A(e)}}}function Qd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Zd(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",h,_,p=i[5](i[12]),m,v,S,y,C,N;function I(O,F){return F&10&&(n=null),n==null&&(n=!!O[3](O[12])),n?gk:hk}let D=I(i,-1),L=D(i);r=new Qn({props:{node:i[12]}});let T=p&&Qd(i);function V(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),L.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),c=k("div"),h=ke(g),_=K(),T&&T.c(),m=K(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",S=i[2](i[12]))},m(O,F){R(O,e,F),w(e,t),L.m(t,null),w(t,l),ze(r,t,null),w(e,s),w(e,o),w(o,c),w(c,h),w(o,_),T&&T.m(o,null),w(e,m),y=!0,C||(N=ne(e,"click",V),C=!0)},p(O,F){i=O,D===(D=I(i,F))&&L?L.p(i,F):(L.d(1),L=D(i),L&&(L.c(),L.m(t,l)));const z={};F&2&&(z.node=i[12]),r.$set(z),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Pe(h,g),F&34&&(p=i[5](i[12])),p?T?T.p(i,F):(T=Qd(i),T.c(),T.m(o,null)):T&&(T.d(1),T=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&f(e,"data-testid",S)},i(O){y||(U(r.$$.fragment,O),y=!0)},o(O){J(r.$$.fragment,O),y=!1},d(O){O&&A(e),L.d(),Ge(r),T&&T.d(),C=!1,N()}}}function _k(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D=i[1]&&Yd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=ke(i[0]),c=K(),g=k("div"),h=k("div"),_=k("ul"),D&&D.c(),p=K(),m=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(y,"data-testid","mobile-topnav-close"),f(S,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(L,T){R(L,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,h),w(h,_),D&&D.m(_,null),w(t,p),w(t,m),w(m,v),w(v,S),w(S,y),C=!0,N||(I=[ne(y,"click",i[9]),ne(e,"click",Ut(pk))],N=!0)},p(L,[T]){(!C||T&1)&&Pe(o,L[0]),L[1]?D?(D.p(L,T),T&2&&U(D,1)):(D=Yd(L),D.c(),U(D,1),D.m(_,null)):D&&(Re(),J(D,1,1,()=>{D=null}),Ee())},i(L){C||(U(D),C=!0)},o(L){J(D),C=!1},d(L){L&&A(e),D&&D.d(),N=!1,Qe(I)}}}const pk=()=>{};function mk(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return Ce.renderIconClassName(S)}function p(S){n("listClick",S)}function m(S){Dl.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,c=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,c,g,h,p,_,m,v]}class R_ extends At{constructor(e){super(),Lt(this,e,mk,_k,Pt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:bk}=Ui;function Xd(i,e,t){const n=i.slice();return n[6]=e[t],n}function $d(i){let e,t,n,l=i[0]&&xd(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&U(l,1)):(l=xd(r),l.c(),U(l,1),l.m(t,null)):l&&(Re(),J(l,1,1,()=>{l=null}),Ee())},i(r){n||(U(l),n=!0)},o(r){J(l),n=!1},d(r){r&&A(e),l&&l.d()}}}function xd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=eh(Xd(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Xd(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=eh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function vk(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1gqx0dl"),it(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function wk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function eh(i){let e,t,n,l,r,s,o,c,g=i[11](i[6])+"",h,_,p,m,v,S,y;function C(L,T){return T&1&&(l=null),l==null&&(l=!!(L[6].icon&&L[9](L[6]))),l?wk:vk}let N=C(i,-1),I=N(i);s=new Qn({props:{node:i[6]}});function D(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=ke(g),p=K(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[6]))},m(L,T){R(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,p),v=!0,S||(y=[ne(t,"click",i[14]),ne(e,"click",D)],S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T&1&&(V.node=i[6]),s.$set(V),(!v||T&1)&&g!==(g=i[11](i[6])+"")&&Pe(h,g),(!v||T&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!v||T&1&&m!==(m=i[12](i[6])))&&f(e,"data-testid",m)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){J(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),Ge(s),S=!1,Qe(y)}}}function th(i){let e,t;return e=new R_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Sk(i){let e,t,n,l,r,s=!i[1]&&$d(i),o=i[1]&&th(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=Se()},m(c,g){s&&s.m(c,g),R(c,e,g),o&&o.m(c,g),R(c,t,g),n=!0,l||(r=ne(bk,"resize",ha),l=!0)},p(c,[g]){c[1]?s&&(Re(),J(s,1,1,()=>{s=null}),Ee()):s?(s.p(c,g),g&2&&U(s,1)):(s=$d(c),s.c(),U(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&U(o,1)):(o=th(c),o.c(),U(o,1),o.m(t.parentNode,t)):o&&(Re(),J(o,1,1,()=>{o=null}),Ee())},i(c){n||(U(s),U(o),n=!0)},o(c){J(s),J(o),n=!1},d(c){s&&s.d(c),c&&A(e),o&&o.d(c),c&&A(t),l=!1,r()}}}function ha(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function kk(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=pt("getUnsavedChangesModalPromise"),g=pt("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Yt(async()=>{ha()}),Fn(async()=>{r||t(0,r=await Ft.getChildren(s)),t(0,r)});function m(V){c().then(()=>{if(V.openNodeInModal){const O=pe.buildRoute(V,`/${V.pathSegment}`);g(O,V.openNodeInModal===!0?{}:V.openNodeInModal)}else tt.handleRouteClick(V,p())},()=>{}),S()}function v(V){m(V.detail)}function S(){n("close")}function y(V){return Ce.isOpenUIiconName(V.icon)}function C(V){return Ce.renderIconClassName(V)}function N(V){return dt.getTranslation(V.label)}function I(V){return V.testId?V.testId:Ce.prepareForTests(V.pathSegment,V.label)}function D(V){return pe.getNodeHref(V,o)}const L=V=>{Ce.handleNavAnchorClickedWithoutMetaKey(V)},T=V=>m(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,s=V.node)},[r,l,m,v,S,ha,s,h,_,y,C,N,I,D,L,T]}class E_ extends At{constructor(e){super(),Lt(this,e,kk,Sk,Pt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ha}}const fn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?te.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=te.addLeadingSlash(tt.getCurrentPath()),n=te.addLeadingSlash(e.link);return t.startsWith(n)?i.link+te.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=te.normalizePath(i),n=te.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=le.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=fn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=te.normalizePath(i),t=te.normalizePath(t),!!fn.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=fn.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 fn.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=le.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await le.getConfigValueAsync("navigation.contextSwitcher.options");return await fn.generateSwitcherNav(e,t)}};function nh(i,e,t){const n=i.slice();return n[21]=e[t],n}function ih(i,e,t){const n=i.slice();return n[21]=e[t],n}function lh(i,e,t){const n=i.slice();return n[21]=e[t],n}function rh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ah(lh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=lh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ah(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function sh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[ne(t,"click",Et(Lk)),ne(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Pe(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function ah(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&sh(i);return{c(){n&&n.c(),t=Se()},m(l,r){n&&n.m(l,r),R(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=sh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&A(t)}}}function oh(i){let e;return{c(){e=k("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
58
58
|
<div class="fd-busy-indicator__circle"></div>
|
|
59
59
|
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function uh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=fh(ih(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=fh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ft(n,l),l&&A(e)}}}function Ck(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function yk(i){let e,t,n,l,r;function s(h,_){return h[2]?Nk:Pk}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),c.c(),n=K(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(h,_){R(h,e,_),c.m(e,null),R(h,n,_),l||(r=ne(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(h){h&&A(e),c.d(),h&&A(n),l=!1,r()}}}function Pk(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=k("a"),t=k("span"),l=ke(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(h,_){R(h,e,_),w(e,t),w(t,l),c||(g=ne(e,"click",i[16]),c=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Pe(l,n),_&264&&r!==(r=h[8](h[21]))&&f(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&f(e,"class",s),_&138&&o!==(o=h[26])&&f(e,"title",o)},d(h){h&&A(e),c=!1,g()}}}function Nk(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Ik(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function fh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ik,then:yk,catch:Ck,value:26};return oa(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=Se(),n.block.c()},m(l,r){R(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&oa(t,n)||__(n,i,r)},d(l){l&&A(e),n.block.d(l),n.token=null,n=null}}}function ch(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=hh(nh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=hh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l)}}}function dh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),o=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[ne(t,"click",i[18]),ne(e,"click",_)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Pe(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&A(e),g=!1,Qe(h)}}}function hh(i){let e,t=i[21].position==="bottom"&&dh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=dh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Tk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&rh(i),c=i[3]&&i[3].length===0&&i[11]&&oh(),g=i[3]&&i[3].length&&uh(i),h=i[0]&&i[0].length&&ch(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),c&&c.c(),l=K(),g&&g.c(),r=K(),h&&h.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){R(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=rh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=oh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=uh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ch(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:Ue,o:Ue,d(_){_&&A(e),o&&o.d(),c&&c.d(),g&&g.d(),h&&h.d()}}}const Lk=()=>{};function Ak(i,e,t){let n,l=Ue,r=()=>(l(),l=Do(y,z=>t(14,n=z)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:m}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const N=Wt();function I(z){N("onActionClick",{node:z})}function D(z,ae){N("goToOption",{option:z,selectedOption:ae})}const L=z=>I(z),T=z=>{Ce.handleNavAnchorClickedWithoutMetaKey(z)},V=z=>D(z,_),O=z=>{Ce.handleNavAnchorClickedWithoutMetaKey(z)},F=z=>I(z);return i.$$set=z=>{"actions"in z&&t(0,s=z.actions),"config"in z&&t(1,o=z.config),"customOptionsRenderer"in z&&t(2,c=z.customOptionsRenderer),"options"in z&&t(3,g=z.options),"selectedLabel"in z&&t(4,h=z.selectedLabel),"selectedOption"in z&&t(5,_=z.selectedOption),"isMobile"in z&&t(6,p=z.isMobile),"getNodeName"in z&&t(7,m=z.getNodeName),"getRouteLink"in z&&t(8,v=z.getRouteLink),"getTestId"in z&&t(9,S=z.getTestId),"getTranslation"in z&&r(t(10,y=z.getTranslation)),"isContextSwitcherDropdownShown"in z&&t(11,C=z.isContextSwitcherDropdownShown)},[s,o,c,g,h,_,p,m,v,S,y,C,I,D,n,L,T,V,O,F]}class D_ extends At{constructor(e){super(),Lt(this,e,Ak,Tk,Pt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function gh(i){let e,t,n,l=!i[9]&&_h(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&ph(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[9]?l&&(Re(),J(l,1,1,()=>{l=null}),Ee()):l?(l.p(s,o),o[0]&512&&U(l,1)):(l=_h(s),l.c(),U(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&U(r,1)):(r=ph(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Re(),J(r,1,1,()=>{r=null}),Ee())},i(s){n||(U(l),U(r),n=!0)},o(s){J(l),J(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function _h(i){let e,t,n,l,r,s,o,c,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?Ek:Rk}let p=_(i),m=p(i);return s=new D_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),m.c(),l=K(),r=k("div"),qe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){R(v,e,S),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),ze(s,r,null),c=!0,g||(h=ne(n,"click",Ut(zk)),g=!0)},p(v,S){p===(p=_(v))&&m?m.p(v,S):(m.d(1),m=p(v),m&&(m.c(),m.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!c||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(v){c||(U(s.$$.fragment,v),c=!0)},o(v){J(s.$$.fragment,v),c=!1},d(v){v&&A(e),m.d(),Ge(s),g=!1,h()}}}function Rk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Vk:Dk}let c=o(i),g=c(i);return{c(){e=k("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){R(h,e,_),g.m(e,null),r||(s=ne(e,"click",i[31]),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Ek(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Uk:Fk}let c=o(i),g=c(i);return{c(){e=k("a"),g.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,_){R(h,e,_),g.m(e,null),r||(s=ne(e,"click",Et(i[30])),r=!0)},p(h,_){c===(c=o(h))&&g?g.p(h,_):(g.d(1),g=c(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&f(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&f(e,"aria-disabled",l)},d(h){h&&A(e),g.d(),r=!1,s()}}}function Dk(i){let e,t;function n(s,o){return s[4]?Mk:Ok}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),R(s,e,o),R(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&A(e),s&&A(t)}}}function Vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Mk(i){let e;return{c(){e=ke(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Pe(e,t[4])},d(t){t&&A(e)}}}function Ok(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ke(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function Fk(i){let e,t;function n(s,o){return s[4]?Bk:Hk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),R(s,e,o),R(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&A(e),s&&A(t)}}}function Uk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function Bk(i){let e;return{c(){e=ke(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Pe(e,t[4])},d(t){t&&A(e)}}}function Hk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ke(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function ph(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I=!i[4]&&mh(i),D=i[4]&&bh(i);return h=new D_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),D&&D.c(),c=K(),g=k("div"),qe(h.$$.fragment),_=K(),p=k("footer"),m=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(S,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(L,T){R(L,e,T),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),D&&D.m(s,null),w(t,c),w(t,g),ze(h,g,null),w(t,_),w(t,p),w(p,m),w(m,v),w(v,S),y=!0,C||(N=[ne(S,"click",i[12]),ne(e,"click",Ut(Gk))],C=!0)},p(L,T){L[4]?I&&(I.d(1),I=null):I?I.p(L,T):(I=mh(L),I.c(),I.m(s,o)),L[4]?D?D.p(L,T):(D=bh(L),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const V={};T[0]&1&&(V.actions=L[0]),T[0]&32&&(V.config=L[5]),T[0]&64&&(V.customOptionsRenderer=L[6]),T[0]&2&&(V.options=L[1]),T[0]&16&&(V.selectedLabel=L[4]),T[0]&4&&(V.selectedOption=L[2]),T[0]&512&&(V.isMobile=L[9]),T[0]&16384&&(V.isContextSwitcherDropdownShown=L[14]),h.$set(V)},i(L){y||(U(h.$$.fragment,L),y=!0)},o(L){J(h.$$.fragment,L),y=!1},d(L){L&&A(e),I&&I.d(),D&&D.d(),Ge(h),C=!1,Qe(N)}}}function mh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=ke(e)},m(n,l){R(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Pe(t,e)},d(n){n&&A(t)}}}function bh(i){let e;return{c(){e=ke(i[4])},m(t,n){R(t,e,n)},p(t,n){n[0]&16&&Pe(e,t[4])},d(t){t&&A(e)}}}function Wk(i){let e,t,n=i[3]&&gh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&U(n,1)):(n=gh(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Re(),J(n,1,1,()=>{n=null}),Ee())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}const zk=()=>{},Gk=()=>{};function qk(i,e,t){let n,l;const r=Wt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:m}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:N}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:D}=e,L,T=pt("getUnsavedChangesModalPromise"),V=pt("store"),O=pt("getTranslation");mi(i,O,G=>t(16,l=G));let F=!1,z,ae,X;Yt(async()=>{Un.doOnStoreChange(V,async()=>{const G=le.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!G),!!s&&(t(6,y=te.isFunction(G.customOptionsRenderer)?G.customOptionsRenderer:void 0),t(7,C=te.isFunction(G.customSelectedOptionRenderer)?G.customSelectedOptionRenderer:void 0),t(5,g=G),t(1,_=void 0),G)){t(29,p=G.alwaysShowDropdown!==!1),t(0,h=await le.getConfigValueAsync("navigation.contextSwitcher.actions"));const ue=tt.getCurrentPath();t(22,v=G.fallbackLabelResolver),fn.resetFallbackLabelCache(),G.lazyloadOptions||await W(),fn.isContextSwitcherDetailsView(ue,G.parentNodePath)&&await se(ue)}},["navigation.contextSwitcher"]),pe.addRouteChangeListener(G=>se(G)),Nn.addEventListener("message",G=>{!Ie.getValidMessageSource(G)||G.data&&G.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),W())}),t(23,D=g.defaultLabel)}),Fn(()=>{F!==I&&(F=I,W()),t(14,X=o.contextSwitcherPopover||!1)});function Z(G,ue,me){return G?Promise.resolve(G):fn.getFallbackLabel(ue,me)}function de(G){return G.testId?G.testId:Ce.prepareForTests(G.pathSegment,G.label)}function we(G){return pe.getNodeHref(G,S)}async function W(){t(1,_=await fn.fetchOptions(_));const G=g||{},ue=G.parentNodePath,me=G.fallbackLabelResolver,ie=tt.getCurrentPath();t(2,m=await fn.getSelectedOption(ie,_,ue)),t(4,c=await fn.getSelectedLabel(ie,_,ue,me)),t(13,z=await fn.getSelectedNode(ie,_,ue)),L=G.preserveSubPathOnSwitch}async function se(G){const ue=g||{},me=ue.parentNodePath,ie=ue.fallbackLabelResolver;t(2,m=await fn.getSelectedOption(G,_,me)),t(4,c=await fn.getSelectedLabel(G,_,me,ie)),t(13,z=await fn.getSelectedNode(G,_,me))}async function ee(G){let ue=G.detail.node;ue.clickHandler&&!await ue.clickHandler(ue)||(setTimeout(()=>{Y(ue.link)}),N&&r("toggleDropdownState"))}function Y(G){T().then(()=>{tt.navigateTo(G)},()=>{})}function ye(G){let ue=G.detail.option,me=G.detail.selectedOption;T().then(()=>{L&&me?tt.navigateTo(fn.getNodePathFromCurrentPath(ue,me)):tt.navigateTo(ue.link),N&&r("toggleDropdownState")},()=>{})}function Ne(){r("toggleDropdownState");const G=o||{};JSON.parse(G.contextSwitcherPopover)&&W()}const fe=()=>{n&&Ne()},Le=()=>{n&&Ne()};return i.$$set=G=>{"contextSwitcherEnabled"in G&&t(3,s=G.contextSwitcherEnabled),"dropDownStates"in G&&t(8,o=G.dropDownStates),"selectedLabel"in G&&t(4,c=G.selectedLabel),"config"in G&&t(5,g=G.config),"actions"in G&&t(0,h=G.actions),"options"in G&&t(1,_=G.options),"selectedOption"in G&&t(2,m=G.selectedOption),"fallbackLabelResolver"in G&&t(22,v=G.fallbackLabelResolver),"pathParams"in G&&t(24,S=G.pathParams),"customOptionsRenderer"in G&&t(6,y=G.customOptionsRenderer),"customSelectedOptionRenderer"in G&&t(7,C=G.customSelectedOptionRenderer),"isMobile"in G&&t(9,N=G.isMobile),"contextSwitcherToggle"in G&&t(25,I=G.contextSwitcherToggle),"defaultLabel"in G&&t(23,D=G.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!m)},[h,_,m,s,c,g,y,C,o,N,ee,ye,Ne,z,X,n,l,O,ae,Z,de,we,v,D,S,I,W,se,Y,p,fe,Le]}class V_ extends At{constructor(e){super(),Lt(this,e,qk,Wk,Pt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Kk}=Ui;function vh(i,e,t){const n=i.slice();return n[22]=e[t],n}function wh(i){let e,t,n,l=!i[2]&&Sh(i),r=i[2]&&i[3].productSwitcherPopover&&Nh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=Sh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&U(r,1)):(r=Nh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Re(),J(r,1,1,()=>{r=null}),Ee())},i(s){n||(U(r),n=!0)},o(s){J(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Sh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C;function N(V,O){return O&2&&(s=null),s==null&&(s=!!V[11](V[1])),s?jk:Jk}let I=N(i,-1),D=I(i),L=i[0],T=[];for(let V=0;V<L.length;V+=1)T[V]=Ph(vh(i,L,V));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=K(),_=k("div"),p=k("div"),m=k("ul");for(let V=0;V<T.length;V+=1)T[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(m,"class","fd-product-switch__list"),f(p,"class",v=Pn(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",S=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,O){R(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),D.m(r,null),w(n,h),w(n,_),w(_,p),w(p,m);for(let F=0;F<T.length;F+=1)T[F].m(m,null);y||(C=[ne(r,"click",Ut(i[7])),ne(l,"click",Ut(tC))],y=!0)},p(V,O){if(I===(I=N(V,O))&&D?D.p(V,O):(D.d(1),D=I(V),D&&(D.c(),D.m(r,null))),O&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=V[1].label)&&f(r,"title",c),O&2&&g!==(g=V[14](V[1]))&&f(r,"data-testid",g),O&64561){L=V[0];let F;for(F=0;F<L.length;F+=1){const z=vh(V,L,F);T[F]?T[F].p(z,O):(T[F]=Ph(z),T[F].c(),T[F].m(m,null))}for(;F<T.length;F+=1)T[F].d(1);T.length=L.length}O&512&&v!==(v=Pn(V[9])+" svelte-1e1qi56")&&f(p,"class",v),O&8&&S!==(S=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",S)},d(V){V&&A(e),D.d(),ft(T,V),y=!1,Qe(C)}}}function Jk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&2&&!it(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function jk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){R(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function kh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Qk:Yk}let c=o(i),g=c(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){R(_,e,p),g.m(e,null),w(e,t),r||(s=ne(e,"click",h),r=!0)},p(_,p){i=_,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&A(e),g.d(),r=!1,s()}}}function Yk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Xk:Zk}let _=h(i,-1),p=_(i),m=g&&Ch(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=ke(s),c=K(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(v,S){R(v,e,S),p.m(e,null),R(v,n,S),R(v,l,S),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Pe(o,s),S&1&&(g=v[13](v[22])),g?m?m.p(v,S):(m=Ch(v),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(v){v&&A(e),p.d(),v&&A(n),v&&A(l),m&&m.d()}}}function Qk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,h=i[13](i[22]),_,p,m;function v(N,I){return I&1&&(n=null),n==null&&(n=!!N[11](N[22])),n?xk:$k}let S=v(i,-1),y=S(i),C=h&&yh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),c=ke(o),g=K(),C&&C.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(N,I){R(N,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),C&&C.m(r,null),p||(m=ne(e,"click",i[16]),p=!0)},p(N,I){S===(S=v(N,I))&&y?y.p(N,I):(y.d(1),y=S(N),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=N[12](N[22])+"")&&Pe(c,o),I&1&&(h=N[13](N[22])),h?C?C.p(N,I):(C=yh(N),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=N[15](N[22]))&&f(e,"href",_)},d(N){N&&A(e),y.d(),C&&C.d(),p=!1,m()}}}function Zk(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function Xk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function Ch(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function $k(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function xk(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&A(e)}}}function yh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=ke(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){R(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Pe(n,t)},d(l){l&&A(e)}}}function Ph(i){let e,t=i[22].label&&kh(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=kh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Nh(i){let e,t;return e=new R_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function eC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&wh(i);return{c(){s&&s.c(),t=Se()},m(o,c){s&&s.m(o,c),R(o,t,c),n=!0,l||(r=ne(Kk,"resize",ga),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&U(s,1)):(s=wh(o),s.c(),U(s,1),s.m(t.parentNode,t)):s&&(Re(),J(s,1,1,()=>{s=null}),Ee())},i(o){n||(U(s),n=!0)},o(o){J(s),n=!1},d(o){s&&s.d(o),o&&A(t),l=!1,r()}}}function ga(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const tC=()=>{};function nC(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=pt("store"),g=pt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Yt(async()=>{Un.doOnStoreChange(c,async()=>{t(1,s=Ce.getProductSwitcherConfig()),s&&(t(0,l=await le.getConfigValueAsync("navigation.productSwitcher.items")),I()),ga()},["navigation.productSwitcher"])});function p(O){g().then(()=>{tt.navigateToLink(O)},()=>{}),v()}function m(O){p(O.detail)}function v(){n("toggleDropdownState")}function S(O){return Ce.renderIconClassName(O)}function y(O){return Ce.isOpenUIiconName(O.icon)}function C(O){return dt.getTranslation(O.label)}function N(O){return dt.getTranslation(O.subTitle)}function I(){Ce.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(O){return O.testId?O.testId:Ce.prepareForTests(O.label)}function L(O){return pe.getNodeHref(O)}const T=O=>{Ce.handleNavAnchorClickedWithoutMetaKey(O)},V=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,s=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,_=O.addNavHrefForAnchor)},[l,s,r,o,_,p,m,v,ga,h,S,y,C,N,D,L,T,V]}class M_ extends At{constructor(e){super(),Lt(this,e,nC,eC,Pt,{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 ga}}function Ih(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function iC(i){let e,t,n;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){R(l,e,r),i[19](e),e.focus(),t||(n=ne(e,"keyup",i[18]),t=!0)},p:Ue,d(l){l&&A(e),i[19](null),t=!1,n()}}}function lC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){R(t,e,n),e.focus()},p:Ue,d(t){t&&A(e)}}}function rC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[23](e)},p:Ue,d(t){t&&A(e),i[23](null)}}}function sC(i){let e,t,n,l=i[5]&&Th(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=Th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function Th(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(Ih(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ih(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l),i[22](null)}}}function aC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function oC(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=ke(l),s=K(),o=k("div"),g=ke(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=ne(e,"click",Et(fC)),h=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Pe(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Pe(g,c)},d(p){p&&A(e),h=!1,_()}}}function Lh(i){let e,t,n,l;function r(h,_){return h[9]?aC:oC}let s=r(i),o=s(i);function c(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(h,_){R(h,e,_),o.m(e,null),w(e,t),n||(l=[ne(e,"click",c),ne(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Qe(l)}}}function uC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(T,V){return T[7]&&T[7].disableInputHandlers?lC:iC}let C=y(i),N=C(i);function I(T,V){return T[8]?rC:sC}let D=I(i),L=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=K(),L.c(),c=K(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",s=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",m=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(T,V){R(T,e,V),w(e,t),w(t,n),w(n,l),N.m(l,null),w(n,r),L.m(n,null),R(T,c,V),R(T,g,V),w(g,h),w(h,_),w(_,p),v||(S=[ne(window,"click",i[11]),ne(window,"blur",i[11]),ne(n,"click",Ut(cC)),ne(_,"click",i[6]),ne(h,"click",Ut(dC))],v=!0)},p(T,V){C===(C=y(T))&&N?N.p(T,V):(N.d(1),N=C(T),N&&(N.c(),N.m(l,null))),D===(D=I(T))&&L?L.p(T,V):(L.d(1),L=D(T),L&&(L.c(),L.m(n,null))),V[0]&16&&s!==(s=!T[4])&&f(n,"aria-hidden",s),V[0]&16&&o!==(o="fd-shellbar__action "+(T[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&m!==(m=!T[4])&&f(_,"aria-expanded",m)},i:Ue,o:Ue,d(T){T&&A(e),N.d(),L.d(),T&&A(c),T&&A(g),v=!1,Qe(S)}}}const fC=()=>{},cC=()=>{},dC=()=>{};function hC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Wt(),p={fireItemSelected:ee=>{m.searchProvider.onSearchResultItemSelected(ee)}};let m={},v,S;Yt(async()=>{t(7,m=h);let ee=o;const Y=C(m.searchProvider);Y&&(ee.placeholder=Y),y()}),Fn(()=>{t(7,m=h),y()});function y(){!m.searchProvider||(t(8,v=te.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,S=te.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function C(ee){if(!ee||!ee.inputPlaceholder)return;const Y=dt.getCurrentLocale();if(te.isFunction(ee.inputPlaceholder))return ee.inputPlaceholder();if(typeof ee.inputPlaceholder=="string"){const ye=dt.getTranslation(ee.inputPlaceholder);return!!ye&&ye.trim().length>0?ye:ee.inputPlaceholder}if(typeof ee.inputPlaceholder=="object")return ee.inputPlaceholder[Y]}function N(ee,Y,ye){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(ee,Y.children[ye],p)}),""}function I(){_("closeSearchResult")}function D({keyCode:ee}){m&&m.searchProvider?te.isFunction(m.searchProvider.onEnter)&&ee===pi?m.searchProvider.onEnter():te.isFunction(m.searchProvider.onEscape)&&ee===_i?m.searchProvider.onEscape():ee===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function L(ee){let Y=g.children;if(Y)for(let ye=0;ye<Y.length;ye++){let{childNodes:Ne,nextSibling:fe,previousSibling:Le}=Y[ye],G;if(Ne[0].getAttribute("aria-selected")==="true"){ee===Oi&&(G=fe!==null?fe:Y[0]),ee===Vl&&(G=Le!==null?Le:Y[Y.length-1]),Ne[0].setAttribute("aria-selected","false"),G.childNodes[0].setAttribute("aria-selected","true"),G.focus();break}}}function T(){let ee=g.children;if(ee)for(let Y=0;Y<ee.length;Y++){let ye=ee[Y];ye.childNodes[0].getAttribute("aria-selected")==="true"&&ye.childNodes[0].setAttribute("aria-selected","false")}}function V(ee){m&&te.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(ee):te.isFunction(m.searchProvider.onEscape)&&event.keyCode===_i&&m.searchProvider.onEscape()}function O(ee,{keyCode:Y}){Y===pi&&m.searchProvider.onSearchResultItemSelected(ee),Y===Vl||Y===Oi?L(Y):te.isFunction(m.searchProvider.onEscape)&&Y===_i&&(T(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function F(ee){let Y=ee.pathObject;Y.externalLink?tt.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function z(){o&&o.focus()}function ae(){if(n?t(0,r=!1):setTimeout(()=>{z()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&te.isFunction(m.searchProvider.toggleSearch)){const ee=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,ee)}}const X=ee=>D(ee);function Z(ee){$e[ee?"unshift":"push"](()=>{o=ee,t(1,o)})}const de=(ee,Y)=>V(ee),we=(ee,Y)=>O(ee,Y);function W(ee){$e[ee?"unshift":"push"](()=>{g=ee,t(3,g)})}function se(ee){$e[ee?"unshift":"push"](()=>{c=ee,t(2,c)})}return i.$$set=ee=>{"isSearchFieldVisible"in ee&&t(4,n=ee.isSearchFieldVisible),"searchResult"in ee&&t(5,l=ee.searchResult),"displaySearchResult"in ee&&t(0,r=ee.displaySearchResult),"displayCustomSearchResult"in ee&&t(15,s=ee.displayCustomSearchResult),"inputElem"in ee&&t(1,o=ee.inputElem),"luigiCustomSearchRenderer__slot"in ee&&t(2,c=ee.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ee&&t(3,g=ee.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ee&&t(16,h=ee.globalSearchConfig)},[r,o,c,g,n,l,ae,m,v,S,N,I,D,V,O,s,h,F,X,Z,de,we,W,se]}class gC extends At{constructor(e){super(),Lt(this,e,hC,uC,Pt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Ah(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function _C(i){let e,t,n,l,r,s,o,c=i[11]&&Rh(i);return{c(){e=k("input"),t=K(),n=k("span"),c&&c.c(),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){R(g,e,h),i[26](e),R(g,t,h),R(g,n,h),c&&c.m(n,null),w(n,l),w(n,r),s||(o=[ne(e,"keyup",i[25]),ne(e,"input",i[27]),ne(r,"click",i[17])],s=!0)},p(g,h){g[11]?c?c.p(g,h):(c=Rh(g),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(g){g&&A(e),i[26](null),g&&A(t),g&&A(n),c&&c.d(),s=!1,Qe(o)}}}function pC(i){let e;return{c(){e=k("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){R(t,e,n)},p:Ue,d(t){t&&A(e)}}}function Rh(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){R(l,e,r),t||(n=ne(e,"click",i[19]),t=!0)},p:Ue,d(l){l&&A(e),t=!1,n()}}}function mC(i){let e;return{c(){e=k("div")},m(t,n){R(t,e,n),i[31](e)},p:Ue,d(t){t&&A(e),i[31](null)}}}function bC(i){let e,t,n,l=i[4]&&Eh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,s){R(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Eh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&A(e),l&&l.d()}}}function Eh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Dh(Ah(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Ah(l,t,s);n[s]?n[s].p(o,r):(n[s]=Dh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&A(e),ft(n,l),i[30](null)}}}function vC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=Se(),e.a=n},m(l,r){e.m(t,l,r),R(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&A(n),l&&e.d()}}}function wC(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=ke(l),s=K(),o=k("div"),g=ke(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=ne(e,"click",Et(kC)),h=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Pe(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Pe(g,c)},d(p){p&&A(e),h=!1,_()}}}function Dh(i){let e,t,n,l;function r(h,_){return h[10]?vC:wC}let s=r(i),o=s(i);function c(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=K(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(h,_){R(h,e,_),o.m(e,null),w(e,t),n||(l=[ne(e,"click",c),ne(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&A(e),o.d(),n=!1,Qe(l)}}}function Vh(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,g){R(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[ne(n,"click",i[6]),ne(t,"click",Ut(yC))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&A(e),s=!1,Qe(o)}}}function Mh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,c;return{c(){e=k("div"),t=k("button"),l=ke(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){R(g,e,h),w(e,t),w(t,l),o||(c=ne(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Pe(l,n),h[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",s)},d(g){g&&A(e),o=!1,c()}}}function SC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(L,T){return L[8]&&L[8].disableInputHandlers?pC:_C}let v=m(i),S=v(i);function y(L,T){return L[9]?mC:bC}let C=y(i),N=C(i),I=!i[5]&&Vh(i),D=i[5]&&Mh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),N.c(),c=K(),I&&I.c(),g=K(),D&&D.c(),h=Se(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(L,T){R(L,e,T),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),N.m(n,null),R(L,c,T),I&&I.m(L,T),R(L,g,T),D&&D.m(L,T),R(L,h,T),_||(p=[ne(window,"click",i[15]),ne(window,"blur",i[15]),ne(n,"click",Ut(CC))],_=!0)},p(L,T){v===(v=m(L))&&S?S.p(L,T):(S.d(1),S=v(L),S&&(S.c(),S.m(l,null))),C===(C=y(L))&&N?N.p(L,T):(N.d(1),N=C(L),N&&(N.c(),N.m(n,null))),T[0]&32&&s!==(s=!L[5])&&f(n,"aria-hidden",s),T[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(L[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),L[5]?I&&(I.d(1),I=null):I?I.p(L,T):(I=Vh(L),I.c(),I.m(g.parentNode,g)),L[5]?D?D.p(L,T):(D=Mh(L),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Ue,o:Ue,d(L){L&&A(e),S.d(),N.d(),L&&A(c),I&&I.d(L),L&&A(g),D&&D.d(L),L&&A(h),_=!1,Qe(p)}}}const kC=()=>{},CC=()=>{},yC=()=>{};function PC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Wt(),p={fireItemSelected:ie=>{S.searchProvider.onSearchResultItemSelected(ie)}};let m=ol.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,N=!1,I=pt("getTranslation");mi(i,I,ie=>t(12,n=ie)),Yt(async()=>{t(8,S=h),t(7,m=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:m);let ie=o;const De=L(S.searchProvider);De&&(ie.placeholder=De),D(),Kf.handleVisibilityGlobalSearch();const Ve=document.querySelector(".lui-global-search");Ve&&new ResizeObserver(Ze=>{Kf.handleVisibilityGlobalSearch()}).observe(Ve)}),Fn(()=>{t(8,S=h),D(),z()});function D(){t(9,y=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&te.isFunction(S.searchProvider.customSearchResultItemRenderer))}function L(ie){if(!ie||!ie.inputPlaceholder)return;const De=dt.getCurrentLocale();if(te.isFunction(ie.inputPlaceholder))return ie.inputPlaceholder();if(typeof ie.inputPlaceholder=="string"){const Ve=dt.getTranslation(ie.inputPlaceholder);return!!Ve&&Ve.trim().length>0?Ve:ie.inputPlaceholder}if(typeof ie.inputPlaceholder=="object")return ie.inputPlaceholder[De]}function T(ie,De,Ve){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ie,De.children[Ve],p)}),""}function V(){_("closeSearchResult")}function O({keyCode:ie}){S?te.isFunction(S.searchProvider.onEnter)&&ie===pi?S.searchProvider.onEnter():te.isFunction(S.searchProvider.onEscape)&&ie===_i?S.searchProvider.onEscape():ie===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):te.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&te.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function z(){o&&o.value?t(11,N=!0):t(11,N=!1)}function ae(){t(1,o.value="",o),V(),t(11,N=!1)}function X(ie){let De=g.children;if(De)for(let Ve=0;Ve<De.length;Ve++){let{childNodes:_e,nextSibling:Ze,previousSibling:Bt}=De[Ve],kt;if(_e[0].getAttribute("aria-selected")==="true"){ie===Oi&&(kt=Ze!==null?Ze:De[0]),ie===Vl&&(kt=Bt!==null?Bt:De[De.length-1]),_e[0].setAttribute("aria-selected","false"),kt.childNodes[0].setAttribute("aria-selected","true"),kt.focus();break}}}function Z(){let ie=g.children;if(ie)for(let De=0;De<ie.length;De++){let Ve=ie[De];Ve.childNodes[0].getAttribute("aria-selected")==="true"&&Ve.childNodes[0].setAttribute("aria-selected","false")}}function de(ie){S&&te.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ie):te.isFunction(S.searchProvider.onEscape)&&event.keyCode===_i&&S.searchProvider.onEscape()}function we(ie,{keyCode:De}){De===pi&&S.searchProvider.onSearchResultItemSelected(ie),De===Vl||De===Oi?X(De):te.isFunction(S.searchProvider.onEscape)&&De===_i&&(Z(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function W(ie){let De=ie.pathObject;De.externalLink?tt.navigateToLink(De):_("handleSearchNavigation",{node:De})}function se(){o&&o.focus()}function ee(){if(v?t(0,r=!1):setTimeout(()=>{se()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:c}),te.isFunction(S.searchProvider.toggleSearch)){const ie=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ie)}}const Y=ie=>O(ie);function ye(ie){$e[ie?"unshift":"push"](()=>{o=ie,t(1,o)})}const Ne=()=>z(),fe=(ie,De)=>de(ie),Le=(ie,De)=>we(ie,De);function G(ie){$e[ie?"unshift":"push"](()=>{g=ie,t(3,g)})}function ue(ie){$e[ie?"unshift":"push"](()=>{c=ie,t(2,c)})}const me=()=>ee();return i.$$set=ie=>{"searchResult"in ie&&t(4,l=ie.searchResult),"displaySearchResult"in ie&&t(0,r=ie.displaySearchResult),"displayCustomSearchResult"in ie&&t(22,s=ie.displayCustomSearchResult),"inputElem"in ie&&t(1,o=ie.inputElem),"luigiCustomSearchRenderer__slot"in ie&&t(2,c=ie.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ie&&t(3,g=ie.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ie&&t(23,h=ie.globalSearchConfig),"isSearchFieldVisible"in ie&&t(5,v=ie.isSearchFieldVisible)},[r,o,c,g,l,v,ee,m,S,y,C,N,n,I,T,V,O,F,z,ae,de,we,s,h,W,Y,ye,Ne,fe,Le,G,ue,me]}class NC extends At{constructor(e){super(),Lt(this,e,PC,SC,Pt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Oh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?TC:IC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Se()},m(s,o){r.m(s,o),R(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&A(t)}}}function IC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),it(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function TC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&A(e)}}}function Fh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new ns({props:{node:i[0]}}),{c(){e=k("span"),n=ke(t),l=K(),qe(r.$$.fragment)},m(o,c){R(o,e,c),w(e,n),w(e,l),ze(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Pe(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(U(r.$$.fragment,o),s=!0)},o(o){J(r.$$.fragment,o),s=!1},d(o){o&&A(e),Ge(r)}}}function LC(i){let e,t,n,l=i[0].icon&&Oh(i),r=(!i[0].icon||i[0].showLabel)&&Fh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Oh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&U(r,1)):(r=Fh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Re(),J(r,1,1,()=>{r=null}),Ee())},i(s){n||(U(r),n=!0)},o(s){J(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function AC(i,e,t){let{node:n}=e;function l(o){return Ce.isOpenUIiconName(o.icon)}function r(o){return Ce.renderIconClassName(o)}function s(o){return Ce.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Fo extends At{constructor(e){super(),Lt(this,e,AC,LC,Pt,{node:0})}}const{Boolean:O_,window:Uh}=Ui;function Bh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Hh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function RC(i){let e,t;return e=new A_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function EC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Wh(i);function S(T){i[59](T)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new Q2({props:y}),$e.push(()=>_t(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&zh(i),N=(!i[0]||i[1])&&Gh(i),I=(i[18]||i[7]&&i[30].length>0)&&Kh(i),D=(i[0]||i[16])&&sg(i),L=i[12]&&ag(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),qe(l.$$.fragment),s=K(),C&&C.c(),o=K(),c=k("div"),N&&N.c(),g=K(),I&&I.c(),h=K(),D&&D.c(),_=K(),L&&L.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(T,V){R(T,e,V),w(e,t),v&&v.m(t,null),w(t,n),ze(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,c),N&&N.m(c,null),w(c,g),I&&I.m(c,null),w(c,h),D&&D.m(c,null),w(c,_),L&&L.m(c,null),m=!0},p(T,V){T[3]==="simple"||T[3]==="simpleMobileOnly"||T[3]==="Fiori3"?v?v.p(T,V):(v=Wh(T),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const O={};V[0]&1073741824&&(O.pathData=T[30]),V[1]&1&&(O.pathParams=T[31]),V[0]&268435456&&(O.addNavHrefForAnchor=T[28]),!r&&V[0]&64&&(r=!0,O.dropDownStates=T[6],gt(()=>r=!1)),l.$set(O),T[18]&&T[19]?C?(C.p(T,V),V[0]&786432&&U(C,1)):(C=zh(T),C.c(),U(C,1),C.m(e,o)):C&&(Re(),J(C,1,1,()=>{C=null}),Ee()),!T[0]||T[1]?N?(N.p(T,V),V[0]&3&&U(N,1)):(N=Gh(T),N.c(),U(N,1),N.m(c,g)):N&&(Re(),J(N,1,1,()=>{N=null}),Ee()),T[18]||T[7]&&T[30].length>0?I?(I.p(T,V),V[0]&1074004096&&U(I,1)):(I=Kh(T),I.c(),U(I,1),I.m(c,h)):I&&(Re(),J(I,1,1,()=>{I=null}),Ee()),T[0]||T[16]?D?(D.p(T,V),V[0]&65537&&U(D,1)):(D=sg(T),D.c(),U(D,1),D.m(c,_)):D&&(Re(),J(D,1,1,()=>{D=null}),Ee()),T[12]?L?(L.p(T,V),V[0]&4096&&U(L,1)):(L=ag(T),L.c(),U(L,1),L.m(c,null)):L&&(Re(),J(L,1,1,()=>{L=null}),Ee()),(!m||V[0]&134217732&&p!==(p="fd-shellbar "+(T[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(T[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(T){m||(U(l.$$.fragment,T),U(C),U(N),U(I),U(D),U(L),m=!0)},o(T){J(l.$$.fragment,T),J(C),J(N),J(I),J(D),J(L),m=!1},d(T){T&&A(e),v&&v.d(),Ge(l),C&&C.d(),N&&N.d(),I&&I.d(),D&&D.d(),L&&L.d()}}}function Wh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){R(r,e,s),w(e,t),n||(l=ne(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&A(e),n=!1,l()}}}function zh(i){let e,t,n,l,r,s,o,c,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function m(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new NC({props:y}),$e.push(()=>_t(t,"isSearchFieldVisible",h)),$e.push(()=>_t(t,"searchResult",_)),$e.push(()=>_t(t,"displaySearchResult",p)),$e.push(()=>_t(t,"displayCustomSearchResult",m)),$e.push(()=>_t(t,"inputElem",v)),$e.push(()=>_t(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),f(e,"class","lui-global-search")},m(C,N){R(C,e,N),ze(t,e,null),g=!0},p(C,N){const I={};N[0]&262144&&(I.globalSearchConfig=C[18]),!n&&N[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],gt(()=>n=!1)),!l&&N[0]&33554432&&(l=!0,I.searchResult=C[25],gt(()=>l=!1)),!r&&N[0]&8388608&&(r=!0,I.displaySearchResult=C[23],gt(()=>r=!1)),!s&&N[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],gt(()=>s=!1)),!o&&N[0]&2097152&&(o=!0,I.inputElem=C[21],gt(()=>o=!1)),!c&&N[0]&4194304&&(c=!0,I.luigiCustomSearchRenderer__slot=C[22],gt(()=>c=!1)),t.$set(I)},i(C){g||(U(t.$$.fragment,C),g=!0)},o(C){J(t.$$.fragment,C),g=!1},d(C){C&&A(e),Ge(t)}}}function Gh(i){let e,t,n,l,r=i[18]&&!i[19]&&qh(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new V_({props:o}),$e.push(()=>_t(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),qe(t.$$.fragment)},m(c,g){r&&r.m(c,g),R(c,e,g),ze(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&U(r,1)):(r=qh(c),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Re(),J(r,1,1,()=>{r=null}),Ee());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=c[6],gt(()=>n=!1)),t.$set(h)},i(c){l||(U(r),U(t.$$.fragment,c),l=!0)},o(c){J(r),J(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&A(e),Ge(t,c)}}}function qh(i){let e,t,n,l,r,s,o,c;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function m(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new gC({props:S}),$e.push(()=>_t(e,"isSearchFieldVisible",g)),$e.push(()=>_t(e,"searchResult",h)),$e.push(()=>_t(e,"displaySearchResult",_)),$e.push(()=>_t(e,"displayCustomSearchResult",p)),$e.push(()=>_t(e,"inputElem",m)),$e.push(()=>_t(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&262144&&(N.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,N.isSearchFieldVisible=y[20],gt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,N.searchResult=y[25],gt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,N.displaySearchResult=y[23],gt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,N.displayCustomSearchResult=y[24],gt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,N.inputElem=y[21],gt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,N.luigiCustomSearchRenderer__slot=y[22],gt(()=>o=!1)),e.$set(N)},i(y){c||(U(e.$$.fragment,y),c=!0)},o(y){J(e.$$.fragment,y),c=!1},d(y){Ge(e,y)}}}function Kh(i){let e,t,n,l=i[7]&&i[30].length>0&&Jh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Qh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=Se()},m(s,o){l&&l.m(s,o),R(s,e,o),r&&r.m(s,o),R(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&U(l,1)):(l=Jh(s),l.c(),U(l,1),l.m(e.parentNode,e)):l&&(Re(),J(l,1,1,()=>{l=null}),Ee()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&U(r,1)):(r=Qh(s),r.c(),U(r,1),r.m(t.parentNode,t)):r&&(Re(),J(r,1,1,()=>{r=null}),Ee())},i(s){n||(U(l),U(r),n=!0)},o(s){J(l),J(r),n=!1},d(s){l&&l.d(s),s&&A(e),r&&r.d(s),s&&A(t)}}}function Jh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Yh(Hh(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Hh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=Yh(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(O_);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function jh(i){let e,t,n,l;const r=[VC,DC],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Re(),J(s[h],1,1,()=>{s[h]=null}),Ee(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){J(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function DC(i){let e,t,n,l,r;const s=[OC,MC],o=[];function c(g,h){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=K(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){R(g,e,h),o[t].m(e,null),w(e,l),r=!0},p(g,h){let _=t;t=c(g),t===_?o[t].p(g,h):(Re(),J(o[_],1,1,()=>{o[_]=null}),Ee(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),U(n,1),n.m(e,l))},i(g){r||(U(n),r=!0)},o(g){J(n),r=!1},d(g){g&&A(e),o[t].d()}}}function VC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D;function L(O){i[80](O,i[111],i[114],i[113])}let T={};i[111]!==void 0&&(T.node=i[111]),r=new Fo({props:T}),$e.push(()=>_t(r,"node",L)),c=new Qn({props:{node:i[111]}});function V(){return i[81](i[113])}return S=new E_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=K(),qe(c.$$.fragment),m=K(),v=k("div"),qe(S.$$.fragment),C=K(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(v,"class","fd-popover__body fd-popover__body--right"),f(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),f(v,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,l),ze(r,l,null),w(l,o),ze(c,l,null),w(t,m),w(t,v),ze(S,v,null),w(e,C),N=!0,I||(D=[ne(l,"click",V),ne(n,"click",Ut(ZC))],I=!0)},p(O,F){i=O;const z={};!s&&F[0]&128&&(s=!0,z.node=i[111],gt(()=>s=!1)),r.$set(z);const ae={};F[0]&128&&(ae.node=i[111]),c.$set(ae),(!N||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!N||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",h),(!N||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!N||F[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const X={};F[0]&128&&(X.node=i[111]),F[1]&1&&(X.pathParams=i[31]),F[0]&268435456&&(X.addNavHrefForAnchor=i[28]),S.$set(X),(!N||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&f(v,"aria-hidden",y)},i(O){N||(U(r.$$.fragment,O),U(c.$$.fragment,O),U(S.$$.fragment,O),N=!0)},o(O){J(r.$$.fragment,O),J(c.$$.fragment,O),J(S.$$.fragment,O),N=!1},d(O){O&&A(e),Ge(r),Ge(c),Ge(S),I=!1,Qe(D)}}}function MC(i){let e,t,n,l,r,s,o,c,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Fo({props:m}),$e.push(()=>_t(t,"node",p)),r=new Qn({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(S,y){R(S,e,y),ze(t,e,null),w(e,l),ze(r,e,null),g=!0,h||(_=ne(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],gt(()=>n=!1)),t.$set(C);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||y[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(S){g||(U(t.$$.fragment,S),U(r.$$.fragment,S),g=!0)},o(S){J(t.$$.fragment,S),J(r.$$.fragment,S),g=!1},d(S){S&&A(e),Ge(t),Ge(r),h=!1,_()}}}function OC(i){let e,t,n,l,r,s,o,c,g,h,_,p;function m(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Fo({props:v}),$e.push(()=>_t(t,"node",m)),r=new Qn({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(y,C){R(y,e,C),ze(t,e,null),w(e,l),ze(r,e,null),h=!0,_||(p=ne(e,"click",S),_=!0)},p(y,C){i=y;const N={};!n&&C[0]&128&&(n=!0,N.node=i[111],gt(()=>n=!1)),t.$set(N);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(y){h||(U(t.$$.fragment,y),U(r.$$.fragment,y),h=!0)},o(y){J(t.$$.fragment,y),J(r.$$.fragment,y),h=!1},d(y){y&&A(e),Ge(t),Ge(r),_=!1,p()}}}function Yh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&jh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=jh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function Qh(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N,I,D,L,T,V,O;g=new Qn({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Zh(i),z=i[46]&&(!i[0]||i[1])&&Xh(i),ae=i[7]&&$h(i),X=i[12]&&ng(i),Z=i[12]&&ig(i),de=i[14]&&lg(i),we=(!i[0]||i[1])&&rg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),c=K(),qe(g.$$.fragment),_=K(),p=k("div"),m=k("nav"),v=k("ul"),F&&F.c(),S=K(),z&&z.c(),y=K(),ae&&ae.c(),C=K(),X&&X.c(),I=K(),Z&&Z.c(),D=K(),de&&de.c(),L=K(),we&&we.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",h=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(v,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",N=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(W,se){R(W,e,se),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),ze(g,s,null),w(n,_),w(n,p),w(p,m),w(m,v),F&&F.m(v,null),w(v,S),z&&z.m(v,null),w(v,y),ae&&ae.m(v,null),w(v,C),X&&X.m(v,null),w(n,I),Z&&Z.m(n,null),w(n,D),de&&de.m(n,null),w(n,L),we&&we.m(n,null),T=!0,V||(O=[ne(s,"click",i[86]),ne(l,"click",Ut(XC))],V=!0)},p(W,se){const ee={};se[0]&2048&&(ee.node=W[11]),g.$set(ee),(!T||se[0]&64&&h!==(h=W[6].overflowPopover||!1))&&f(s,"aria-expanded",h),W[18]&&!W[19]?F?F.p(W,se):(F=Zh(W),F.c(),F.m(v,S)):F&&(F.d(1),F=null),W[46]&&(!W[0]||W[1])?z?z.p(W,se):(z=Xh(W),z.c(),z.m(v,y)):z&&(z.d(1),z=null),W[7]?ae?(ae.p(W,se),se[0]&128&&U(ae,1)):(ae=$h(W),ae.c(),U(ae,1),ae.m(v,C)):ae&&(Re(),J(ae,1,1,()=>{ae=null}),Ee()),W[12]?X?X.p(W,se):(X=ng(W),X.c(),X.m(v,null)):X&&(X.d(1),X=null),(!T||se[0]&64&&N!==(N=!W[6].overflowPopover))&&f(p,"aria-hidden",N),W[12]?Z?(Z.p(W,se),se[0]&4096&&U(Z,1)):(Z=ig(W),Z.c(),U(Z,1),Z.m(n,D)):Z&&(Re(),J(Z,1,1,()=>{Z=null}),Ee()),W[14]?de?(de.p(W,se),se[0]&16384&&U(de,1)):(de=lg(W),de.c(),U(de,1),de.m(n,L)):de&&(Re(),J(de,1,1,()=>{de=null}),Ee()),!W[0]||W[1]?we?(we.p(W,se),se[0]&3&&U(we,1)):(we=rg(W),we.c(),U(we,1),we.m(n,null)):we&&(Re(),J(we,1,1,()=>{we=null}),Ee())},i(W){T||(U(g.$$.fragment,W),U(ae),U(Z),U(de),U(we),T=!0)},o(W){J(g.$$.fragment,W),J(ae),J(Z),J(de),J(we),T=!1},d(W){W&&A(e),Ge(g),F&&F.d(),z&&z.d(),ae&&ae.d(),X&&X.d(),Z&&Z.d(),de&&de.d(),we&&we.d(),V=!1,Qe(O)}}}function Zh(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
60
60
|
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,s){R(r,e,s),w(e,t),n||(l=ne(t,"click",Ut(i[87])),n=!0)},p:Ue,d(r){r&&A(e),n=!1,l()}}}function Xh(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=K(),s=k("span"),c=ke(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){R(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(h=ne(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Pe(c,o)},d(_){_&&A(e),g=!1,h()}}}function $h(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=tg(Bh(i,n,s));const r=s=>J(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=Se()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);R(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=Bh(s,n,c);l[c]?(l[c].p(g,o),U(l[c],1)):(l[c]=tg(g),l[c].c(),U(l[c],1),l[c].m(e.parentNode,e))}for(Re(),c=n.length;c<l.length;c+=1)r(c);Ee()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)U(l[o]);t=!0}},o(s){l=l.filter(O_);for(let o=0;o<l.length;o+=1)J(l[o]);t=!1},d(s){ft(l,s),s&&A(e)}}}function xh(i){let e,t,n,l;const r=[UC,FC],s=[];function o(c,g){return c[111].isCat?1:0}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=Se()},m(c,g){s[e].m(c,g),R(c,n,g),l=!0},p(c,g){let h=e;e=o(c),e===h?s[e].p(c,g):(Re(),J(s[h],1,1,()=>{s[h]=null}),Ee(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),U(t,1),t.m(n.parentNode,n))},i(c){l||(U(t),l=!0)},o(c){J(t),l=!1},d(c){s[e].d(c),c&&A(n)}}}function FC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(L,T){return T[0]&128&&(l=null),l==null&&(l=!!L[48](L[111])),l?HC:BC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new Qn({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),c=k("span"),h=ke(g),m=K(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(L,T){R(L,e,T),w(e,t),w(t,n),I.m(n,null),w(n,r),ze(s,n,null),w(t,o),w(t,c),w(c,h),w(e,m),v=!0,S||(y=ne(t,"click",Et(D)),S=!0)},p(L,T){i=L,N===(N=C(i,T))&&I?I.p(i,T):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};T[0]&128&&(V.node=i[111]),s.$set(V),(!v||T[0]&128)&&g!==(g=i[49](i[111])+"")&&Pe(h,g),(!v||T[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||T[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(L){v||(U(s.$$.fragment,L),v=!0)},o(L){J(s.$$.fragment,L),v=!1},d(L){L&&A(e),I.d(),Ge(s),S=!1,y()}}}function UC(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,h=i[49](i[111])+"",_,p,m,v,S,y,C,N,I=l&&eg(i);s=new Qn({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),qe(s.$$.fragment),c=K(),g=k("span"),_=ke(h),S=K(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",v=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(L,T){R(L,e,T),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),ze(s,n,null),w(t,c),w(t,g),w(g,_),w(e,S),y=!0,C||(N=ne(t,"click",Et(D)),C=!0)},p(L,T){i=L,T[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,T):(I=eg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};T[0]&128&&(V.node=i[111]),s.$set(V),(!y||T[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!y||T[0]&128)&&h!==(h=i[49](i[111])+"")&&Pe(_,h),(!y||T[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||T[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!y||T[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(L){y||(U(s.$$.fragment,L),y=!0)},o(L){J(s.$$.fragment,L),y=!1},d(L){L&&A(e),I&&I.d(),Ge(s),C=!1,N()}}}function BC(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function HC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){R(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function eg(i){let e,t,n;return{c(){e=k("img"),it(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){R(l,e,r)},p(l,r){r[0]&128&&!it(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function tg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&xh(i);return{c(){n&&n.c(),e=Se()},m(l,r){n&&n.m(l,r),R(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Re(),J(n,1,1,()=>{n=null}),Ee()):n?(n.p(l,r),r[0]&160&&U(n,1)):(n=xh(l),n.c(),U(n,1),n.m(e.parentNode,e))},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function ng(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function h(m,v){return v[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?zC:WC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),r=k("span"),o=ke(s),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(m,v){R(m,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=ne(t,"click",Ut(i[32])),c=!0)},p(m,v){_===(_=h(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=m[13].label+"")&&Pe(o,s)},d(m){m&&A(e),p.d(),c=!1,g()}}}function WC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),it(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){R(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!it(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&A(e)}}}function zC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){R(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&A(e)}}}function ig(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new M_({props:r}),$e.push(()=>_t(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],gt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){J(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function lg(i){let e,t;return e=new E_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function rg(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function c(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new V_({props:g}),$e.push(()=>_t(e,"dropDownStates",s)),$e.push(()=>_t(e,"selectedLabel",o)),$e.push(()=>_t(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){ze(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],gt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],gt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],gt(()=>l=!1)),e.$set(p)},i(h){r||(U(e.$$.fragment,h),r=!0)},o(h){J(e.$$.fragment,h),r=!1},d(h){Ge(e,h)}}}function sg(i){let e,t,n,l,r;const s=[qC,GC],o=[];function c(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&te.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,h){R(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=c(g,h),n===_?o[n].p(g,h):(Re(),J(o[_],1,1,()=>{o[_]=null}),Ee(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),U(l,1),l.m(e,null))},i(g){r||(U(l),r=!0)},o(g){J(l),r=!1},d(g){g&&A(e),o[n].d()}}}function GC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(I,D){return I[17].picture?JC:KC}let C=y(i),N=C(i);return _=new A_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),g=K(),h=k("div"),qe(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",p=!i[6].profilePopover),f(h,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,D){R(I,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(t,g),w(t,h),ze(_,h,null),m=!0,v||(S=[ne(r,"click",i[99]),ne(n,"click",Ut(xC))],v=!0)},p(I,D){C===(C=y(I))&&N?N.p(I,D):(N.d(1),N=C(I),N&&(N.c(),N.m(r,null))),(!m||D[0]&64&&s!==(s=I[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||D[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!m||D[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const L={};D[0]&268435456&&(L.addNavHrefForAnchor=I[28]),_.$set(L),(!m||D[0]&64&&p!==(p=!I[6].profilePopover))&&f(h,"aria-hidden",p)},i(I){m||(U(_.$$.fragment,I),m=!0)},o(I){J(_.$$.fragment,I),m=!1},d(I){I&&A(e),N.d(),Ge(_),v=!1,Qe(S)}}}function qC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?YC:jC}let _=h(i),p=_(i);return r=new lk({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),qe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,v){R(m,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),ze(r,l,null),o=!0,c||(g=ne(t,"click",Ut($C)),c=!0)},p(m,v){_===(_=h(m))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=m[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!m[6].profilePopover))&&f(l,"aria-hidden",s)},i(m){o||(U(r.$$.fragment,m),o=!0)},o(m){J(r.$$.fragment,m),o=!1},d(m){m&&A(e),p.d(),Ge(r),c=!1,g()}}}function KC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){R(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&A(e)}}}function JC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),li(e,"background-image","url('"+i[17].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&131072&&li(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function jC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=ke(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){R(o,e,c),w(e,n),r||(s=ne(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Pe(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,s()}}}function YC(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),li(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){R(r,e,s),n||(l=ne(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&li(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&A(e),n=!1,l()}}}function ag(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new M_({props:r}),$e.push(()=>_t(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],gt(()=>t=!1)),e.$set(c)},i(s){n||(U(e.$$.fragment,s),n=!0)},o(s){J(e.$$.fragment,s),n=!1},d(s){Ge(e,s)}}}function QC(i){let e,t,n,l,r,s;const o=[EC,RC],c=[];function g(h,_){return h[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Se()},m(h,_){c[e].m(h,_),R(h,n,_),l=!0,r||(s=[ne(Uh,"click",i[41]),ne(Uh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?c[e].p(h,_):(Re(),J(c[p],1,1,()=>{c[p]=null}),Ee(),t=c[e],t?t.p(h,_):(t=c[e]=o[e](h),t.c()),U(t,1),t.m(n.parentNode,n))},i(h){l||(U(t),l=!0)},o(h){J(t),l=!1},d(h){c[e].d(h),h&&A(n),r=!1,Qe(s)}}}const ZC=()=>{},XC=()=>{},$C=()=>{},xC=()=>{};function ey(i,e,t){const n=Wt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:N}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:L}=e,{openMobileDropDown:T}=e,{nodeForMobile:V}=e,{profileItemsAvailable:O}=e,{userInfo:F={}}=e,{urlAuthError:z}=e,{globalSearchConfig:ae}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:Z}=e,{inputElem:de}=e,{luigiCustomSearchRenderer__slot:we}=e,{displaySearchResult:W}=e,{displayCustomSearchResult:se}=e,{searchResult:ee}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:ye}=e,Ne=pt("store"),fe=!1,Le,G,ue=le.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:me=le.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ie=async()=>{if(_&&0<_.length){const j=await Ce.generateTopNavNodes(_);t(7,S=j.children),t(8,y=j.selectedNode),t(9,C=j.visibleNodeCount),t(11,I=j.totalBadgeNode),t(10,N=j.globalNavNodeCount),window.TOPNAVDATA=j.children,p=_}},De=()=>{t(1,s=sl.isLoggedIn())};Yt(()=>{Un.doOnStoreChange(Ne,()=>{t(0,l=gi.isAuthorizationEnabled()),t(16,O=le.getConfigValue("navigation.profile")),t(54,r=!Boolean(le.getConfigValue("auth.disableAutoLogin"))),t(12,D=le.getConfigValue("navigation.productSwitcher")),t(2,o=le.getConfigBooleanValue("settings.hideNavigation")),t(3,c=le.getConfigValue("settings.responsiveNavigation")),t(4,g=le.getConfigValue("settings.profileType")),t(27,ye=le.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,L=Ce.getProductSwitcherConfig()),t(18,ae=le.getConfigValue("globalSearch")),t(19,X=ae&&ae.searchFieldCentered&&te.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=le.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),t(28,me=le.getConfigBooleanValue("navigation.addNavHrefs")),t(46,ue=le.getConfigValue("navigation.contextSwitcher"))},["navigation"]),Nn.addEventListener("message",j=>{j.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),Fn(()=>{(!p||p!=_)&&ie(),De()});let{showTopNav:Ve}=e;function _e(j){return Ce.renderIconClassName(j)}function Ze(j){return Ce.isOpenUIiconName(j.icon)}const Bt=j=>Ce.getNodeLabel(j);function kt(j){return j.testId?j.testId:Ce.prepareForTests(j.pathSegment,j.label)}function Dt(j){return pe.getNodeHref(j,m)}function In(j,yt){return Ce.generateTooltipText(j,yt)}function Bn(){Rt("productSwitcherPopover")}function Gt(){t(43,fe=!fe),Rt("contextSwitcherPopover")}function bi(j){t(14,T=!0),t(15,V=j)}function Bi(){t(14,T=!1)}function en(j){n("handleClick",{node:j})}function Qt(j){n("handleSearchNavigation",{node:j})}function Zn(j){en(j.detail.node)}function Rt(j){const yt=v||{},vn=!yt[j];qt(),Bi(),yt[j]=vn,t(6,v=yt)}function pn(j){Rt(j.detail.name)}function Zt(){de&&de.focus()}function Hi(){Z||setTimeout(()=>{Zt()}),n("toggleSearch",{isSearchFieldVisible:Z,inputElem:de,luigiCustomSearchRenderer__slot:we})}function qt(){const j=v||{},yt=Object.keys(j);yt&&yt.length>0&&yt.forEach(vn=>{j[vn]=!1,t(6,v=j)})}function rn(){c==="simple"||c==="simpleMobileOnly"?ri():sn(),vi()}function vi(){if(!Ce.getBurgerTooltipConfig())return;const[j,yt]=Ce.getBurgerTooltipConfig();j&&yt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?j:yt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?j:yt))}function ri(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function sn(){di.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function wi(j){const yt=j.detail;t(17,F=yt||{})}function Si(j){v=j,t(6,v)}function x(j){Z=j,t(20,Z)}function Oe(j){ee=j,t(25,ee)}function ct(j){W=j,t(23,W)}function Nt(j){se=j,t(24,se)}function Vt(j){de=j,t(21,de)}function Ct(j){we=j,t(22,we)}function cn(j){Dl.call(this,i,j)}function mn(j){Dl.call(this,i,j)}function Xn(j){Dl.call(this,i,j)}function $n(j){Z=j,t(20,Z)}function br(j){ee=j,t(25,ee)}function vr(j){W=j,t(23,W)}function wr(j){se=j,t(24,se)}function Ol(j){de=j,t(21,de)}function Sr(j){we=j,t(22,we)}function kr(j){Dl.call(this,i,j)}function Cr(j){Dl.call(this,i,j)}function fl(j){Dl.call(this,i,j)}function cl(j){v=j,t(6,v)}const si=()=>Rt("contextSwitcherPopover");function dl(j,yt,vn,Ci){vn[Ci]=j,t(7,S)}const Wi=j=>Rt(`dropDownPopover-${j}`);function Fl(j,yt,vn,Ci){vn[Ci]=j,t(7,S)}const Ul=(j,yt)=>{Ce.handleNavAnchorClickedWithoutMetaKey(yt)&&en(j)};function Bl(j,yt,vn,Ci){vn[Ci]=j,t(7,S)}const yr=j=>en(j),bn=()=>Rt("overflowPopover"),hl=()=>{Hi(),Rt("overflowPopover")},zi=j=>en(j),Hl=j=>bi(j);function Pr(j){v=j,t(6,v)}const Gi=()=>Rt("productSwitcherPopover");function gl(j){v=j,t(6,v)}function _l(j){Le=j,t(44,Le)}function pl(j){G=j,t(45,G)}const ki=()=>Rt("contextSwitcherPopover"),Wl=()=>Rt("profilePopover"),qi=()=>Rt("profilePopover"),vt=()=>Rt("profilePopover"),ml=()=>Rt("profilePopover"),bl=()=>Rt("profilePopover");function vl(j){v=j,t(6,v)}const wl=()=>Rt("productSwitcherPopover"),ai=()=>Rt("profilePopover");return i.$$set=j=>{"authorizationEnabled"in j&&t(0,l=j.authorizationEnabled),"autologinEnabled"in j&&t(54,r=j.autologinEnabled),"isLoggedIn"in j&&t(1,s=j.isLoggedIn),"hideNavComponent"in j&&t(2,o=j.hideNavComponent),"responsiveNavSetting"in j&&t(3,c=j.responsiveNavSetting),"profileTypeSettings"in j&&t(4,g=j.profileTypeSettings),"showGlobalNav"in j&&t(5,h=j.showGlobalNav),"pathData"in j&&t(30,_=j.pathData),"pathParams"in j&&t(31,m=j.pathParams),"dropDownStates"in j&&t(6,v=j.dropDownStates),"children"in j&&t(7,S=j.children),"selectedNode"in j&&t(8,y=j.selectedNode),"visibleNodeCount"in j&&t(9,C=j.visibleNodeCount),"globalNavNodeCount"in j&&t(10,N=j.globalNavNodeCount),"totalBadgeNode"in j&&t(11,I=j.totalBadgeNode),"isProductSwitcherAvailable"in j&&t(12,D=j.isProductSwitcherAvailable),"productSwitcherConfig"in j&&t(13,L=j.productSwitcherConfig),"openMobileDropDown"in j&&t(14,T=j.openMobileDropDown),"nodeForMobile"in j&&t(15,V=j.nodeForMobile),"profileItemsAvailable"in j&&t(16,O=j.profileItemsAvailable),"userInfo"in j&&t(17,F=j.userInfo),"urlAuthError"in j&&t(55,z=j.urlAuthError),"globalSearchConfig"in j&&t(18,ae=j.globalSearchConfig),"isGlobalSearchCentered"in j&&t(19,X=j.isGlobalSearchCentered),"isSearchFieldVisible"in j&&t(20,Z=j.isSearchFieldVisible),"inputElem"in j&&t(21,de=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(22,we=j.luigiCustomSearchRenderer__slot),"displaySearchResult"in j&&t(23,W=j.displaySearchResult),"displayCustomSearchResult"in j&&t(24,se=j.displayCustomSearchResult),"searchResult"in j&&t(25,ee=j.searchResult),"burgerTooltip"in j&&t(26,Y=j.burgerTooltip),"responsiveShellbarPadding"in j&&t(27,ye=j.responsiveShellbarPadding),"addNavHrefForAnchor"in j&&t(28,me=j.addNavHrefForAnchor),"showTopNav"in j&&t(29,Ve=j.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Ve=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,L,T,V,O,F,ae,X,Z,de,we,W,se,ee,Y,ye,me,Ve,_,m,Bn,Gt,bi,Bi,en,Zn,Rt,pn,Hi,qt,wi,fe,Le,G,ue,_e,Ze,Bt,kt,Dt,In,rn,r,z,Qt,ri,sn,Si,x,Oe,ct,Nt,Vt,Ct,cn,mn,Xn,$n,br,vr,wr,Ol,Sr,kr,Cr,fl,cl,si,dl,Wi,Fl,Ul,Bl,yr,bn,hl,zi,Hl,Pr,Gi,gl,_l,pl,ki,Wl,qi,vt,ml,bl,vl,wl,ai]}class ty extends At{constructor(e){super(),Lt(this,e,ey,QC,Pt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function og(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){R(t,e,n)},d(t){t&&A(e)}}}function ny(i){let e,t=i[0]&&og();return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,[l]){n[0]?t||(t=og(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){t&&t.d(n),n&&A(e)}}}function iy(i,e,t){let{node:n}=e;return Yt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(()=>{n.webcomponent&&n.tabNav.showAsTabHeader?dr.renderWebComponent(n.viewUrl,document.querySelector(".lui-tab-header"),n.context,n):console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ly extends At{constructor(e){super(),Lt(this,e,iy,ny,Pt,{node:0})}}const{window:Io}=Ui;function ug(i,e,t){const n=i.slice();return n[38]=e[t][0],n[39]=e[t][1],n[41]=t,n}function fg(i,e,t){const n=i.slice();return n[42]=e[t],n}function cg(i,e,t){const n=i.slice();return n[42]=e[t],n[44]=t,n}function dg(i,e,t){const n=i.slice();return n[38]=e[t][0],n[39]=e[t][1],n[41]=t,n}function hg(i,e,t){const n=i.slice();return n[42]=e[t],n}function gg(i,e,t){const n=i.slice();return n[42]=e[t],n[44]=t,n}function _g(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C,N=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&pg(i),I=Object.entries(i[0]),D=[];for(let V=0;V<I.length;V+=1)D[V]=Cg(dg(i,I,V));let L=Object.entries(i[0]),T=[];for(let V=0;V<L.length;V+=1)T[V]=Ng(ug(i,L,V));return{c(){e=k("div"),N&&N.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let V=0;V<D.length;V+=1)D[V].c();s=K(),o=k("div"),c=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-17l9vhn">More</span>
|