@luigi-project/core 2.2.0 → 2.2.1-dev.20230540027

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/luigi.js CHANGED
@@ -60,5 +60,5 @@ function print() { __p += __j.call(arguments, '') }
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",Bt(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",Bt(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ne(c,o)},d(_){_&&A(e),g=!1,h()}}}function $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(Ee(),c=n.length;c<l.length;c+=1)r(c);De()}},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=[OC,MC],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):(Ee(),J(s[h],1,1,()=>{s[h]=null}),De(),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 MC(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",h,_,p,m,v,S,y;function C(T,L){return L[0]&128&&(l=null),l==null&&(l=!!T[48](T[111])),l?UC:FC}let N=C(i,[-1,-1,-1,-1]),I=N(i);s=new Yn({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(T,L){R(T,e,L),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",Dt(D)),S=!0)},p(T,L){i=T,N===(N=C(i,L))&&I?I.p(i,L):(I.d(1),I=N(i),I&&(I.c(),I.m(n,r)));const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Ne(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(T){v||(U(s.$$.fragment,T),v=!0)},o(T){J(s.$$.fragment,T),v=!1},d(T){T&&A(e),I.d(),Ge(s),S=!1,y()}}}function OC(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 Yn({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(T,L){R(T,e,L),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",Dt(D)),C=!0)},p(T,L){i=T,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=eg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const V={};L[0]&128&&(V.node=i[111]),s.$set(V),(!y||L[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||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Ne(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!y||L[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&f(t,"data-testid",v)},i(T){y||(U(s.$$.fragment,T),y=!0)},o(T){J(s.$$.fragment,T),y=!1},d(T){T&&A(e),I&&I.d(),Ge(s),C=!1,N()}}}function FC(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 UC(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&&(Ee(),J(n,1,1,()=>{n=null}),De()):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?HC:BC}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",Bt(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+"")&&Ne(o,s)},d(m){m&&A(e),p.d(),c=!1,g()}}}function BC(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 HC(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}),Xe.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}),Xe.push(()=>_t(e,"dropDownStates",s)),Xe.push(()=>_t(e,"selectedLabel",o)),Xe.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=[zC,WC],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):(Ee(),J(o[_],1,1,()=>{o[_]=null}),De(),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 WC(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S;function y(I,D){return I[17].picture?qC:GC}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",Bt(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 T={};D[0]&268435456&&(T.addNavHrefForAnchor=I[28]),_.$set(T),(!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 zC(i){let e,t,n,l,r,s,o,c,g;function h(m,v){return m[17].picture?JC:KC}let _=h(i),p=_(i);return r=new nk({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",Bt(ZC)),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 GC(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 qC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),ti(e,"background-image","url('"+i[17].picture+"')")},m(t,n){R(t,e,n)},p(t,n){n[0]&131072&&ti(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&A(e)}}}function KC(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:"")+"")&&Ne(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&A(e),r=!1,s()}}}function JC(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"),ti(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&&ti(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}),Xe.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 jC(i){let e,t,n,l,r,s;const o=[AC,LC],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,_):(Ee(),J(c[p],1,1,()=>{c[p]=null}),De(),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 YC=()=>{},QC=()=>{},ZC=()=>{},XC=()=>{};function $C(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:T}=e,{openMobileDropDown:L}=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:x}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:ye}=e,Ie=pt("store"),fe=!1,Pe,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=_}},Ve=()=>{t(1,s=rl.isLoggedIn())};Yt(()=>{Un.doOnStoreChange(Ie,()=>{t(0,l=di.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,T=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(),Ve()});let{showTopNav:Ae}=e;function _e(j){return Ce.renderIconClassName(j)}function $e(j){return Ce.isOpenUIiconName(j.icon)}const Vt=j=>Ce.getNodeLabel(j);function Rt(j){return j.testId?j.testId:Ce.prepareForTests(j.pathSegment,j.label)}function Mt(j){return pe.getNodeHref(j,m)}function on(j,Ct){return Ce.generateTooltipText(j,Ct)}function Oi(){Et("productSwitcherPopover")}function Gt(){t(43,fe=!fe),Et("contextSwitcherPopover")}function pi(j){t(14,L=!0),t(15,V=j)}function Fi(){t(14,L=!1)}function en(j){n("handleClick",{node:j})}function Qt(j){n("handleSearchNavigation",{node:j})}function Qn(j){en(j.detail.node)}function Et(j){const Ct=v||{},vn=!Ct[j];qt(),Fi(),Ct[j]=vn,t(6,v=Ct)}function pn(j){Et(j.detail.name)}function Zt(){de&&de.focus()}function Ui(){Z||setTimeout(()=>{Zt()}),n("toggleSearch",{isSearchFieldVisible:Z,inputElem:de,luigiCustomSearchRenderer__slot:we})}function qt(){const j=v||{},Ct=Object.keys(j);Ct&&Ct.length>0&&Ct.forEach(vn=>{j[vn]=!1,t(6,v=j)})}function rn(){c==="simple"||c==="simpleMobileOnly"?ni():sn(),mi()}function mi(){if(!Ce.getBurgerTooltipConfig())return;const[j,Ct]=Ce.getBurgerTooltipConfig();j&&Ct&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?j:Ct),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?j:Ct))}function ni(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function sn(){fi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ee(j){const Ct=j.detail;t(17,F=Ct||{})}function Oe(j){v=j,t(6,v)}function ct(j){Z=j,t(20,Z)}function Pt(j){x=j,t(25,x)}function Nt(j){W=j,t(23,W)}function mt(j){se=j,t(24,se)}function mn(j){de=j,t(21,de)}function In(j){we=j,t(22,we)}function ii(j){Dl.call(this,i,j)}function bi(j){Dl.call(this,i,j)}function ul(j){Dl.call(this,i,j)}function Bi(j){Z=j,t(20,Z)}function br(j){x=j,t(25,x)}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 li=()=>Et("contextSwitcherPopover");function dl(j,Ct,vn,wi){vn[wi]=j,t(7,S)}const Hi=j=>Et(`dropDownPopover-${j}`);function Fl(j,Ct,vn,wi){vn[wi]=j,t(7,S)}const Ul=(j,Ct)=>{Ce.handleNavAnchorClickedWithoutMetaKey(Ct)&&en(j)};function Bl(j,Ct,vn,wi){vn[wi]=j,t(7,S)}const yr=j=>en(j),bn=()=>Et("overflowPopover"),hl=()=>{Ui(),Et("overflowPopover")},Wi=j=>en(j),Hl=j=>pi(j);function Pr(j){v=j,t(6,v)}const zi=()=>Et("productSwitcherPopover");function gl(j){v=j,t(6,v)}function _l(j){Pe=j,t(44,Pe)}function pl(j){G=j,t(45,G)}const vi=()=>Et("contextSwitcherPopover"),Wl=()=>Et("profilePopover"),Gi=()=>Et("profilePopover"),wt=()=>Et("profilePopover"),ml=()=>Et("profilePopover"),bl=()=>Et("profilePopover");function vl(j){v=j,t(6,v)}const wl=()=>Et("productSwitcherPopover"),ri=()=>Et("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,T=j.productSwitcherConfig),"openMobileDropDown"in j&&t(14,L=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,x=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,Ae=j.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Ae=l&&(!r||s)||!l)},[l,s,o,c,g,h,v,S,y,C,N,I,D,T,L,V,O,F,ae,X,Z,de,we,W,se,x,Y,ye,me,Ae,_,m,Oi,Gt,pi,Fi,en,Qn,Et,pn,Ui,qt,ee,fe,Pe,G,ue,_e,$e,Vt,Rt,Mt,on,rn,r,z,Qt,ni,sn,Oe,ct,Pt,Nt,mt,mn,In,ii,bi,ul,Bi,br,vr,wr,Ol,Sr,kr,Cr,fl,cl,li,dl,Hi,Fl,Ul,Bl,yr,bn,hl,Wi,Hl,Pr,zi,gl,_l,pl,vi,Wl,Gi,wt,ml,bl,vl,wl,ri]}class xC extends At{constructor(e){super(),Lt(this,e,$C,jC,yt,{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 ey(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 ty(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 ny extends At{constructor(e){super(),Lt(this,e,ty,ey,yt,{node:0})}}const{window:Io}=Mi;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 T=Object.entries(i[0]),L=[];for(let V=0;V<T.length;V+=1)L[V]=Ng(ug(i,T,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>
61
61
  <span class="sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"></span>`,_=K(),p=k("div"),m=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-17l9vhn"),f(l,"class","tabsContainerWrapper svelte-17l9vhn"),f(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-17l9vhn"),f(h,"aria-expanded","false"),f(h,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-17l9vhn"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-17l9vhn"),f(p,"aria-hidden",v=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-17l9vhn"),f(o,"class","luigi-tabsMoreButton svelte-17l9vhn"),f(n,"class","fd-tabs fd-tabs--l svelte-17l9vhn"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-17l9vhn"),f(e,"id","tabsContainer")},m(V,O){R(V,e,O),N&&N.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let F=0;F<D.length;F+=1)D[F].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,h),w(g,_),w(g,p),w(p,m);for(let F=0;F<L.length;F+=1)L[F].m(m,null);S=!0,y||(C=[ne(h,"click",Dt(i[10])),ne(c,"click",uy),ne(n,"toggleDropdownState",i[26])],y=!0)},p(V,O){if(V[11].parent&&V[11].parent.tabNav&&V[11].parent.tabNav.showAsTabHeader?N?(N.p(V,O),O[0]&2048&&U(N,1)):(N=pg(V),N.c(),U(N,1),N.m(e,t)):N&&(Ee(),J(N,1,1,()=>{N=null}),De()),O[0]&53485){I=Object.entries(V[0]);let F;for(F=0;F<I.length;F+=1){const z=dg(V,I,F);D[F]?D[F].p(z,O):(D[F]=Cg(z),D[F].c(),D[F].m(r,null))}for(;F<D.length;F+=1)D[F].d(1);D.length=I.length}if(O[0]&53485){T=Object.entries(V[0]);let F;for(F=0;F<T.length;F+=1){const z=ug(V,T,F);L[F]?L[F].p(z,O):(L[F]=Ng(z),L[F].c(),L[F].m(m,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}(!S||O[0]&16&&v!==(v=!V[4]))&&f(p,"aria-hidden",v)},i(V){S||(U(N),S=!0)},o(V){J(N),S=!1},d(V){V&&A(e),N&&N.d(),ft(D,V),ft(L,V),y=!1,Qe(C)}}}function pg(i){let e,t;return e=new ny({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function iy(i){let e,t,n,l,r,s=i[12](i[38])+"",o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[20](i[38])}let T=i[39],L=[];for(let V=0;V<T.length;V+=1)L[V]=vg(hg(i,T,V));return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=ke(s),c=K(),g=k("span"),_=K(),p=k("div"),m=k("nav"),v=k("ul");for(let V=0;V<L.length;V+=1)L[V].c();y=K(),f(r,"class","label fd-tabs__tag svelte-17l9vhn"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-17l9vhn"),f(l,"class","fd-tabs__link has-child svelte-17l9vhn"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=fr(i[38],i[2])),f(n,"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--no-arrow"),f(p,"aria-hidden",S=!i[3][i[38]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-17l9vhn"),f(e,"uid",i[41]+"-0"),f(e,"isselected",C=fr(i[38],i[2]))},m(V,O){R(V,e,O),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,m),w(m,v);for(let F=0;F<L.length;F+=1)L[F].m(v,null);w(e,y),N||(I=[ne(l,"click",Dt(D)),ne(e,"click",oy)],N=!0)},p(V,O){if(i=V,O[0]&4097&&s!==(s=i[12](i[38])+"")&&Ne(o,s),O[0]&5&&h!==(h=fr(i[38],i[2]))&&f(l,"aria-selected",h),O[0]&49221){T=i[39];let F;for(F=0;F<T.length;F+=1){const z=hg(i,T,F);L[F]?L[F].p(z,O):(L[F]=vg(z),L[F].c(),L[F].m(v,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=T.length}O[0]&9&&S!==(S=!i[3][i[38]])&&f(p,"aria-hidden",S),O[0]&5&&C!==(C=fr(i[38],i[2]))&&f(e,"isselected",C)},d(V){V&&A(e),ft(L,V),N=!1,Qe(I)}}}function ly(i){let e,t=i[39],n=[];for(let l=0;l<t.length;l+=1)n[l]=kg(gg(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]&49221){t=l[39];let s;for(s=0;s<t.length;s+=1){const o=gg(l,t,s);n[s]?n[s].p(o,r):(n[s]=kg(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 mg(i){let e,t=i[42].label&&bg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].label?t?t.p(n,l):(t=bg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function bg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h;function _(){return i[21](i[42])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),c=K(),f(n,"class","fd-menu__title"),f(t,"href",s=i[15](i[42])),f(t,"class","fd-menu__link"),f(t,"aria-selected",o=i[42]===i[2]),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",Dt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[42])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),m[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function vg(i){let e,t=!i[42].hideFromNav&&mg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=mg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function wg(i){let e,t=i[42].label&&Sg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].label?t?t.p(n,l):(t=Sg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Sg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h,_,p;function m(){return i[19](i[42])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=ke(l),c=K(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",s=i[15](i[42])),f(t,"role","tab"),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class",g="fd-tabs__item "+(i[42]===i[2]?"is-selected":"")+" svelte-17l9vhn"),f(e,"uid",i[41]+"-"+i[44]),f(e,"isselected",h=i[42]===i[2])},m(v,S){R(v,e,S),w(e,t),w(t,n),w(n,r),w(e,c),_||(p=ne(t,"click",Dt(m)),_=!0)},p(v,S){i=v,S[0]&1&&l!==(l=i[14](i[42])+"")&&Ne(r,l),S[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),S[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o),S[0]&5&&g!==(g="fd-tabs__item "+(i[42]===i[2]?"is-selected":"")+" svelte-17l9vhn")&&f(e,"class",g),S[0]&5&&h!==(h=i[42]===i[2])&&f(e,"isselected",h)},d(v){v&&A(e),_=!1,p()}}}function kg(i){let e,t=!i[42].hideFromNav&&wg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[42].hideFromNav?t&&(t.d(1),t=null):t?t.p(n,l):(t=wg(n),t.c(),t.m(e.parentNode,e))},d(n){t&&t.d(n),n&&A(e)}}}function Cg(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[38]==="undefined"||s[38].indexOf(s[5])===0),e?ly:iy}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 ry(i){let e,t,n,l,r=i[12](i[38])+"",s,o,c,g,h,_,p,m,v,S,y,C,N,I;function D(){return i[23](i[38],i[41])}function T(){return i[24](i[38],i[41])}let L=i[39],V=[];for(let O=0;O<L.length;O+=1)V[O]=yg(fg(i,L,O));return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=ke(r),g=K(),h=k("button"),_=k("i"),v=K(),S=k("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=K(),f(l,"class","fd-nested-list__title"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[41]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[38]+i[41]]),f(n,"aria-selected",c=fr(i[38],i[2])),f(_,"class",p=i[3][i[38]+i[41]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(h,"class","fd-button fd-nested-list__button"),f(h,"href","#"),f(h,"tabindex","-1"),f(h,"aria-label","Expand submenu"),f(h,"aria-haspopup","true"),f(h,"aria-expanded",m=i[3][i[38]+i[41]]),f(t,"class","fd-nested-list__content has-child svelte-17l9vhn"),f(t,"tabindex","0"),f(S,"class","fd-nested-list level-2"),f(S,"aria-hidden",y=!i[3][i[38]+i[41]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[41]+"-0")},m(O,F){R(O,e,F),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let z=0;z<V.length;z+=1)V[z].m(S,null);w(e,C),N||(I=[ne(n,"click",Dt(D)),ne(h,"click",Dt(T))],N=!0)},p(O,F){if(i=O,F[0]&4097&&r!==(r=i[12](i[38])+"")&&Ne(s,r),F[0]&9&&o!==(o=i[3][i[38]+i[41]])&&f(n,"aria-expanded",o),F[0]&5&&c!==(c=fr(i[38],i[2]))&&f(n,"aria-selected",c),F[0]&9&&p!==(p=i[3][i[38]+i[41]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow")&&f(_,"class",p),F[0]&9&&m!==(m=i[3][i[38]+i[41]])&&f(h,"aria-expanded",m),F[0]&49221){L=i[39];let z;for(z=0;z<L.length;z+=1){const ae=fg(i,L,z);V[z]?V[z].p(ae,F):(V[z]=yg(ae),V[z].c(),V[z].m(S,null))}for(;z<V.length;z+=1)V[z].d(1);V.length=L.length}F[0]&9&&y!==(y=!i[3][i[38]+i[41]])&&f(S,"aria-hidden",y)},d(O){O&&A(e),ft(V,O),N=!1,Qe(I)}}}function sy(i){let e,t=i[39],n=[];for(let l=0;l<t.length;l+=1)n[l]=Pg(cg(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Se()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);R(l,e,r)},p(l,r){if(r[0]&49221){t=l[39];let s;for(s=0;s<t.length;s+=1){const o=cg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Pg(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 yg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h;function _(){return i[25](i[42])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),c=K(),f(n,"class","fd-nested-list__title"),f(t,"class","fd-nested-list__link"),f(t,"href",s=i[15](i[42])),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[41])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",Dt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[42])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),m[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Pg(i){let e,t,n,l=i[14](i[42])+"",r,s,o,c,g,h;function _(){return i[22](i[42])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=ke(l),c=K(),f(n,"class","fd-nested-list__title"),f(t,"href",s=i[15](i[42])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",o=i[42]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[41]+"-"+i[44])},m(p,m){R(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(h=ne(t,"click",Dt(_)),g=!0)},p(p,m){i=p,m[0]&1&&l!==(l=i[14](i[42])+"")&&Ne(r,l),m[0]&1&&s!==(s=i[15](i[42]))&&f(t,"href",s),m[0]&5&&o!==(o=i[42]===i[2])&&f(t,"aria-selected",o)},d(p){p&&A(e),g=!1,h()}}}function Ng(i){let e,t;function n(s,o){return o[0]&33&&(e=null),e==null&&(e=s[38]==="undefined"||s[38].indexOf(s[5])===0),e?sy:ry}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 ay(i){let e,t,n,l,r=i[0]&&i[1].length>1&&_g(i);return{c(){r&&r.c(),e=Se()},m(s,o){r&&r.m(s,o),R(s,e,o),t=!0,n||(l=[ne(Io,"click",i[8]),ne(Io,"blur",i[8]),ne(Io,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>1?r?(r.p(s,o),o[0]&3&&U(r,1)):(r=_g(s),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(Ee(),J(r,1,1,()=>{r=null}),De())},i(s){t||(U(r),t=!0)},o(s){J(r),t=!1},d(s){r&&r.d(s),s&&A(e),n=!1,Qe(l)}}}function fr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const oy=i=>i.stopPropagation(),uy=i=>i.stopPropagation();function fy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=Ce.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:v}=e,S,y=pt("getTranslation");_i(i,y,G=>t(12,n=G));let C;const N={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:m}),set:G=>{G&&Object.getOwnPropertyNames(G).forEach(ue=>{ue==="pathData"?t(1,r=G.pathData):ue==="context"?context=G.context:ue==="children"?t(0,l=G.children):ue==="selectedNode"?t(11,h=G.selectedNode):ue==="selectedNodeForTabNav"&&t(2,_=G.selectedNodeForTabNav)})}},I=Wt();function D(G){return Ce.getNodeLabel(G)}const T=async()=>{const G=N.get(),ue=await Ut.getTabNavData({...G},G);!ue||(N.set({...ue}),o=r,window.LEFTNAVDATA=ue.groupedChildren,setTimeout(L))},L=()=>{V();let G=document.getElementsByClassName("luigi-tabsContainer")[0],ue=document.getElementsByClassName("luigi-tabsMoreButton")[0],me=document.getElementsByClassName("luigi__more")[0],ie,Ve=0,Ae=!1,_e,$e;me&&me.setAttribute("aria-selected","false"),G&&(ie=G.offsetWidth,[...G.children].forEach(Rt=>{_e=Rt.currentStyle||window.getComputedStyle(Rt),$e=parseFloat(_e.marginLeft)+parseFloat(_e.marginRight),Ve+=Rt.offsetWidth+$e;let Mt=Rt.getAttribute("uid");Ve>=ie?(Rt.classList.add("hide_element"),Rt.getAttribute("isSelected")==="true"&&me.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Mt+'"]').classList.remove("hide_element"),Ae=!0):document.querySelector('li[uid="'+Mt+'"]').classList.add("hide_element")}),Ae?ue.classList.remove("hide_element"):ue.classList.add("hide_element"))},V=()=>{let G=document.getElementsByClassName("luigi-tabsContainer")[0];G!==void 0&&[...G.children].forEach(me=>{me.classList.remove("hide_element")})},O=()=>{C=new ResizeObserver(G=>{for(const ue of G)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ue.contentRect.height+"px")}),setTimeout(()=>{C.observe(document.querySelector("#tabsContainer.lui-tabs"))})},F=()=>{C&&C.disconnect(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")};Yt(()=>{t(16,c=le.getConfigBooleanValue("settings.hideNavigation")),O()}),xr(()=>{F()}),Fn(()=>{(!o||o!=r)&&T(),(S===void 0||S!==v)&&(S=v,T())}),pa(()=>{F(),C?setTimeout(()=>{C.observe(document.querySelector("#tabsContainer.lui-tabs"))}):O()});function z(G){return pe.getNodeHref(G,s)}function ae(G){Z(),I("handleClick",{node:G})}function X(G){let ue={};p[G]||(ue[G]=!0),t(3,p=ue)}function Z(){t(3,p={}),t(4,m=!1)}function de(){V(),L()}function we(){t(4,m=!m)}const W=G=>ae(G),se=G=>X(G),x=G=>ae(G),Y=G=>ae(G),ye=(G,ue)=>X(G+ue),Ie=(G,ue)=>X(G+ue),fe=G=>ae(G),Pe=G=>X(G.name);return i.$$set=G=>{"children"in G&&t(0,l=G.children),"pathData"in G&&t(1,r=G.pathData),"pathParams"in G&&t(17,s=G.pathParams),"hideNavComponent"in G&&t(16,c=G.hideNavComponent),"virtualGroupPrefix"in G&&t(5,g=G.virtualGroupPrefix),"selectedNodeForTabNav"in G&&t(2,_=G.selectedNodeForTabNav),"dropDownStates"in G&&t(3,p=G.dropDownStates),"isMoreBtnExpanded"in G&&t(4,m=G.isMoreBtnExpanded),"resizeTabNavToggle"in G&&t(18,v=G.resizeTabNavToggle)},[l,r,_,p,m,g,ae,X,Z,de,we,h,n,y,D,z,c,s,v,W,se,x,Y,ye,Ie,fe,Pe]}class cy extends At{constructor(e){super(),Lt(this,e,fy,ay,yt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function Ig(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Tg(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Lg(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Ag(i),o=i[0]&&i[3].length>0&&Vg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=K(),r=k("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,g){R(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=Ag(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),c[0]&&c[3].length>0?o?o.p(c,g):(o=Vg(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&A(e),s&&s.d(),o&&o.d()}}}function Ag(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Dg(Tg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Tg(l,t,s);n[s]?n[s].p(o,r):(n[s]=Dg(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 Rg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Eg(i);function N(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=ke(s),c=K(),g=k("div"),p=K(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){R(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=ne(t,"click",N),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Eg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Eg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?hy:dy}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 dy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function hy(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Dg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Rg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Rg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function Vg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fg(Ig(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){R(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ig(l,t,s);n[s]?n[s].p(o,r):(n[s]=Fg(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 Mg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,h,_,p,m,v,S,y,C=i[24].icon&&Og(i);function N(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=ke(s),c=K(),g=k("div"),p=K(),f(r,"class","lui-text svelte-174hcxg"),f(g,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",h=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",v=i[12](i[24]))},m(I,D){R(I,e,D),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),S||(y=ne(n,"click",Dt(N)),S=!0)},p(I,D){i=I,i[24].icon?C?C.p(i,D):(C=Og(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),D&1&&s!==(s=i[11](i[24])+"")&&Ne(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&f(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),D&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",m),D&1&&v!==(v=i[12](i[24]))&&f(e,"data-testid",v)},d(I){I&&A(e),C&&C.d(),S=!1,y()}}}function Og(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?_y:gy}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 gy(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),it(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){R(l,e,r)},p(l,r){r&1&&!it(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&A(e)}}}function _y(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){R(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&A(e)}}}function Fg(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Mg(i);return{c(){t&&t.c(),e=Se()},m(n,l){t&&t.m(n,l),R(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Mg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&A(e)}}}function py(i){let e,t,n,l=i[2]&&Lg(i);return{c(){l&&l.c(),e=Se()},m(r,s){l&&l.m(r,s),R(r,e,s),t||(n=[ne(window,"click",_a),ne(window,"blur",_a)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Lg(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){l&&l.d(r),r&&A(e),t=!1,Qe(n)}}}function _a(){}function my(i,e,t){let n;const l=Wt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,h=pt("store"),_=pt("getTranslation");_i(i,_,z=>t(7,n=z));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:v}=e,S=le.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const z=await Ce.generateTopNavNodes(r);t(0,c=z.children),t(1,g=z.selectedNode),s=r}};Yt(()=>{Un.doOnStoreChange(h,()=>{t(14,m=le.getConfigBooleanValue("settings.hideNavigation")),t(15,v=le.getConfigValue("settings.responsiveNavigation")),t(2,p=le.getConfigBooleanValue("settings.globalSideNavigation")&&te.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Fn(()=>{(!s||s!=r)&&y(),t(6,S=le.getConfigBooleanValue("navigation.addNavHrefs"))});function C(z){return Ce.renderIconClassName(z)}function N(z){return Ce.isOpenUIiconName(z.icon)}function I(z){return dt.getTranslation(z.label)}function D(z){return z.testId?z.testId:Ce.prepareForTests(z.pathSegment,z.label)}function T(z){return pe.getNodeHref(z,o)}function L(z){l("handleClick",{node:z})}function V(z){L(z.detail.node)}const O=(z,ae)=>{Ce.handleNavAnchorClickedWithoutMetaKey(ae)&&L(z)},F=z=>L(z);return i.$$set=z=>{"pathData"in z&&t(3,r=z.pathData),"pathParams"in z&&t(16,o=z.pathParams),"children"in z&&t(0,c=z.children),"selectedNode"in z&&t(1,g=z.selectedNode),"showGlobalNav"in z&&t(2,p=z.showGlobalNav),"hideNavComponent"in z&&t(14,m=z.hideNavComponent),"responsiveNavSetting"in z&&t(15,v=z.responsiveNavSetting)},[c,g,p,r,L,_a,S,n,_,C,N,I,D,T,m,v,o,V,O,F]}class by extends At{constructor(e){super(),Lt(this,e,my,py,yt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return _a}}function vy(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){R(t,e,n),i[6](e)},p:Ue,i:Ue,o:Ue,d(t){t&&A(e),i[6](null)}}}function wy(i,e,t){const n=Wt();let{pathData:l}=e,r,s={},o,c=pt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;le.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=C=>{C.last||S(C.node)};Yt(()=>{Un.doOnStoreChange(c,()=>{},["navigation"])}),Fn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=le.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(N=>{N.showBreadcrumbs===!1?t(1,g=!1):N.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(le.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let N=[];const I=C.omitRoot?2:1,D=tt.getCurrentPath();for(let T=I;T<l.length;T++){const L=l[T],V=pe.mapPathToNode(D,L);if(s[V])N.push(s[V]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)N.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?dt.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:V,pending:!0});else{const O=await v(L);O&&N.push({label:O,node:L,route:V})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,N,m),N=[];for(let T=I;T<l.length;T++){const L=l[T],V=pe.mapPathToNode(D,L);if(L.titleResolver){const F=await Ut.extractDataFromPath(V),z=pe.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,L.context),F.pathData.pathParams);try{const ae=await Ce.fetchNodeTitleData(L,z);N.push({label:ae.label,node:L,route:V});continue}catch{}}const O=await v(L);O&&N.push({label:O,node:L,route:V})}D===tt.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),N.length>1?(N[N.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,N,m)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},N.map(T=>{s[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function v(C){if(C.label&&!C._virtualTree)return dt.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const N=pe.mapPathToNode(tt.getCurrentPath(),C),I=await Ut.extractDataFromPath(N);return pe.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){Xe[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class Sy extends At{constructor(e){super(),Lt(this,e,wy,vy,yt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Ro="not_checked";Nn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Ro="disabled"):i.data==="luigi.tpcEnabled"&&(Ro="enabled")},!1);function ky(){return Ro}const{Boolean:Cy,window:yy}=Mi;function Ug(i,e,t){const n=i.slice();return n[144]=e[t],n[146]=t,n}function Bg(i){let e,t;return e=new T2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Hg(i){let e,t;function n(){return i[68](i[146])}function l(...s){return i[69](i[146],...s)}function r(...s){return i[70](i[146],...s)}return e=new T_({props:{settings:i[144].mfModal.settings,nodepath:i[144].mfModal.nodepath,modalIndex:i[146],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[144].mfModal.settings),o[0]&268435456&&(c.nodepath=i[144].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(U(e.$$.fragment,s),t=!0)},o(s){J(e.$$.fragment,s),t=!1},d(s){Ge(e,s)}}}function Wg(i){let e,t,n=i[144].mfModal.displayed&&Hg(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[144].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&U(n,1)):(n=Hg(l),n.c(),U(n,1),n.m(e.parentNode,e)):n&&(Ee(),J(n,1,1,()=>{n=null}),De())},i(l){t||(U(n),t=!0)},o(l){J(n),t=!1},d(l){n&&n.d(l),l&&A(e)}}}function zg(i){let e,t;return e=new T_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Py]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[4]&8388608&&(r.$$scope={dirty:l,ctx:n}),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 Py(i){let e,t;return e=new ts({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Gg(i){let e,t;return e=new D2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function qg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new Z2({props:r}),Xe.push(()=>_t(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){ze(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],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 Kg(i){let e,t;return e=new nS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Ny(i){let e,t,n,l,r,s,o,c,g;t=new ts({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Kg(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=Se(),f(l,"class","wcContainer svelte-1262ssy"),f(e,"class","fd-page iframeContainer svelte-1262ssy"),f(e,"tabindex","0"),ci(e,"lui-split-view",i[12].displayed),ci(e,"lui-collapsed",i[12].collapsed)},m(_,p){R(_,e,p),ze(t,e,null),w(e,n),w(e,l),R(_,r,p),h&&h.m(_,p),R(_,s,p),o=!0,c||(g=bw(i[45].call(null,e)),c=!0)},p(_,p){const m={};p[0]&8192&&(m.disable=_[13]),t.$set(m),(!o||p[0]&4096)&&ci(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&ci(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&U(h,1)):(h=Kg(_),h.c(),U(h,1),h.m(s.parentNode,s)):h&&(Ee(),J(h,1,1,()=>{h=null}),De())},i(_){o||(U(t.$$.fragment,_),U(h),o=!0)},o(_){J(t.$$.fragment,_),J(h),o=!1},d(_){_&&A(e),Ge(t),_&&A(r),h&&h.d(_),_&&A(s),c=!1,g()}}}function Jg(i){let e,t,n,l;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-1262ssy" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-1262ssy"></div>
62
62
  <div class="fd-busy-indicator__circle svelte-1262ssy"></div>
63
- <div class="fd-busy-indicator__circle svelte-1262ssy"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1262ssy"),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 jg(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function m(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new xC({props:S}),Xe.push(()=>_t(e,"isSearchFieldVisible",g)),Xe.push(()=>_t(e,"displaySearchResult",h)),Xe.push(()=>_t(e,"displayCustomSearchResult",_)),Xe.push(()=>_t(e,"searchResult",p)),Xe.push(()=>_t(e,"inputElem",m)),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],gt(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],gt(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],gt(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],gt(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],gt(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],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 Yg(i){let e,t,n,l;e=new by({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Qg(i);return{c(){qe(e.$$.fragment),t=K(),r&&r.c(),n=Se()},m(s,o){ze(e,s,o),R(s,t,o),r&&r.m(s,o),R(s,n,o),l=!0},p(s,o){const c={};o[0]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&U(r,1)):(r=Qg(s),r.c(),U(r,1),r.m(n.parentNode,n)):r&&(Ee(),J(r,1,1,()=>{r=null}),De())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){J(e.$$.fragment,s),J(r),l=!1},d(s){Ge(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function Qg(i){let e,t;return e=new Sy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Zg(i){let e,t;return e=new RS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Xg(i){let e,t;return e=new cy({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Iy(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Bg(i),N=i[28],I=[];for(let Z=0;Z<N.length;Z+=1)I[Z]=Wg(Ug(i,N,Z));const D=Z=>J(I[Z],1,1,()=>{I[Z]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&zg(i),L=i[27].displayed&&Gg(i),V=i[18].displayed&&qg(i);o=new ts({props:{disable:i[13],$$slots:{default:[Ny]},$$scope:{ctx:i}}});let O=i[11]&&Jg(),F=!i[25]&&jg(i),z=!i[21]&&Yg(i),ae=!(i[21]||i[22])&&Zg(i),X=i[16]&&!i[21]&&Xg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let Z=0;Z<I.length;Z+=1)I[Z].c();n=K(),T&&T.c(),l=K(),L&&L.c(),r=K(),V&&V.c(),s=K(),qe(o.$$.fragment),c=K(),O&&O.c(),g=K(),F&&F.c(),h=K(),z&&z.c(),_=K(),ae&&ae.c(),p=K(),X&&X.c(),f(e,"id","app"),f(e,"class",m=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-1262ssy"),f(e,"configversion",i[24])},m(Z,de){R(Z,e,de),C&&C.m(e,null),w(e,t);for(let we=0;we<I.length;we+=1)I[we].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),z&&z.m(e,null),w(e,_),ae&&ae.m(e,null),w(e,p),X&&X.m(e,null),v=!0,S||(y=ne(yy,"resize",i[35]),S=!0)},p(Z,de){if(Z[26]&&Z[26].length?C?(C.p(Z,de),de[0]&67108864&&U(C,1)):(C=Bg(Z),C.c(),U(C,1),C.m(e,t)):C&&(Ee(),J(C,1,1,()=>{C=null}),De()),de[0]&268443648|de[1]&896){N=Z[28];let W;for(W=0;W<N.length;W+=1){const se=Ug(Z,N,W);I[W]?(I[W].p(se,de),U(I[W],1)):(I[W]=Wg(se),I[W].c(),U(I[W],1),I[W].m(e,n))}for(Ee(),W=N.length;W<I.length;W+=1)D(W);De()}Z[29].displayed&&Z[29].settings.isDrawer?T?(T.p(Z,de),de[0]&536870912&&U(T,1)):(T=zg(Z),T.c(),U(T,1),T.m(e,l)):T&&(Ee(),J(T,1,1,()=>{T=null}),De()),Z[27].displayed?L?(L.p(Z,de),de[0]&134217728&&U(L,1)):(L=Gg(Z),L.c(),U(L,1),L.m(e,r)):L&&(Ee(),J(L,1,1,()=>{L=null}),De()),Z[18].displayed?V?(V.p(Z,de),de[0]&262144&&U(V,1)):(V=qg(Z),V.c(),U(V,1),V.m(e,s)):V&&(Ee(),J(V,1,1,()=>{V=null}),De());const we={};de[0]&8192&&(we.disable=Z[13]),de[0]&12288|de[4]&8388608&&(we.$$scope={dirty:de,ctx:Z}),o.$set(we),Z[11]?O?de[0]&2048&&U(O,1):(O=Jg(),O.c(),U(O,1),O.m(e,g)):O&&(Ee(),J(O,1,1,()=>{O=null}),De()),Z[25]?F&&(Ee(),J(F,1,1,()=>{F=null}),De()):F?(F.p(Z,de),de[0]&33554432&&U(F,1)):(F=jg(Z),F.c(),U(F,1),F.m(e,h)),Z[21]?z&&(Ee(),J(z,1,1,()=>{z=null}),De()):z?(z.p(Z,de),de[0]&2097152&&U(z,1)):(z=Yg(Z),z.c(),U(z,1),z.m(e,_)),Z[21]||Z[22]?ae&&(Ee(),J(ae,1,1,()=>{ae=null}),De()):ae?(ae.p(Z,de),de[0]&6291456&&U(ae,1)):(ae=Zg(Z),ae.c(),U(ae,1),ae.m(e,p)),Z[16]&&!Z[21]?X?(X.p(Z,de),de[0]&2162688&&U(X,1)):(X=Xg(Z),X.c(),U(X,1),X.m(e,null)):X&&(Ee(),J(X,1,1,()=>{X=null}),De()),(!v||de[0]&48234496&&m!==(m=(Z[21]?"no-nav":"")+" "+(Z[22]?"no-side-nav":"")+" "+(Z[25]?"no-top-nav":"")+" "+(Z[23]?"no-animation":"")+" svelte-1262ssy"))&&f(e,"class",m),(!v||de[0]&16777216)&&f(e,"configversion",Z[24])},i(Z){if(!v){U(C);for(let de=0;de<N.length;de+=1)U(I[de]);U(T),U(L),U(V),U(o.$$.fragment,Z),U(O),U(F),U(z),U(ae),U(X),v=!0}},o(Z){J(C),I=I.filter(Cy);for(let de=0;de<I.length;de+=1)J(I[de]);J(T),J(L),J(V),J(o.$$.fragment,Z),J(O),J(F),J(z),J(ae),J(X),v=!1},d(Z){Z&&A(e),C&&C.d(),ft(I,Z),T&&T.d(),L&&L.d(),V&&V.d(),Ge(o),O&&O.d(),F&&F.d(),z&&z.d(),ae&&ae.d(),X&&X.d(),S=!1,y()}}}function Ty(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,m,v,S,y,C,N,I,D,T,L,V,O,F,z,ae,X,Z,de=!0,we=!1,W,se,x,Y=[],ye={isDirty:!1,persistUrl:null},Ie,fe,Pe=!1,G,ue,me={},ie,{isSearchFieldVisible:Ve}=e,{inputElem:Ae}=e,{luigiCustomSearchRenderer__slot:_e}=e,{displaySearchResult:$e}=e,{displayCustomSearchResult:Vt=!0}=e,{searchResult:Rt}=e,{storedUserSettings:Mt}=e,on;const Oi=async B=>{const oe=B.iframe.luigi,Me=oe.currentNode&&oe.currentNode.userSettingsGroup,Je=await le.readUserSettings(),Be=Me&&typeof Je=="object"&&Je!==null,ve=Te.applyCoreStateData({isNavigateBack:we,viewStackSize:Y.length,clientPermissions:oe.nextViewUrl?oe.nextClientPermissions:oe.clientPermissions,userSettings:Be?Je[Me]:null,anchor:ll.getAnchor()});return Te.specialIframeTypes.map(Fe=>Fe.iframeConfigKey).forEach(Fe=>{ve[Fe]=B[Fe]||!1}),ve},Gt=async(B,oe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Me={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,oe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},pe.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Oi(B)),authData:rl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Me,Te.sendMessageToIframe(B.iframe,Me)},pi=B=>{const oe={msg:"luigi.auth.tokenIssued",authData:B};Te.broadcastMessageToAllIframes(oe)},Fi=(B,oe)=>{if(B.params.preserveView||B.params.viewgroup){const Me=rn(B.params),Je=tt.getNodePath(O,V);Y.push({path:oe.iframe.luigi&&oe.iframe.luigi.pathParams?te.replaceVars(Je,oe.iframe.luigi.pathParams,":",!1):Je,nextPath:Me.startsWith("/")?Me:"/"+Me,context:D}),oe.iframe.pv="pv"}},en=(B,oe,Me,Je)=>{let Be=rn(B.params,Me,Je);const{preventHistoryEntry:ve,preserveQueryParams:Fe,preventContextUpdate:ut}=B.params,Ot={keepBrowserHistory:!ve,navSync:de,preventContextUpdate:ut};return Be=te.addLeadingSlash(Be),Be=Fe?pe.composeSearchParamsToRoute(Be):Be,Fi(B,oe),tt.navigateTo(Be,Ot)},Qt=B=>B.split("?")[0],Qn=(B,oe)=>{if(B.length===0)return!1;const Me=oe.startsWith("/")?oe:`/${oe}`,Je=[...B].pop();return[Qt(Je.path),Qt(Je.nextPath)].includes(Qt(Me))},Et=B=>{ye&&ye.dirtySet&&(B?ye.dirtySet.delete(B):ye.dirtySet.clear())},pn=B=>new Promise((oe,Me)=>{vi(B)?Wl().then(()=>{Et(),oe()},()=>{Me()}):oe()}),Zt=()=>({get:()=>({unsavedChanges:ye,hideNav:cl,viewUrl:F,nodeParams:T,viewGroup:z,urlParamsRaw:V,currentNode:O,navigationPath:se,context:D,pathParams:L,hideSideNav:li,isolateView:ae,pageErrorHandler:X,previousNodeValues:Z,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:fe,isNavigateBack:we,goBackContext:W,isNavigationSyncEnabled:de}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(oe=>{oe==="hideNav"?t(21,cl=B.hideNav):oe==="viewUrl"?F=B.viewUrl:oe==="nodeParams"?T=B.nodeParams:oe==="viewGroup"?z=B.viewGroup:oe==="urlParamsRaw"?V=B.urlParamsRaw:oe==="currentNode"?O=B.currentNode:oe==="navigationPath"?t(15,se=B.navigationPath):oe==="context"?D=B.context:oe==="pathParams"?t(14,L=B.pathParams):oe==="hideSideNav"?(li!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Me=document.querySelector("#app");Me&&Me.classList.remove("no-animation")})),t(22,li=B.hideSideNav)):oe==="isolateView"?ae=B.isolateView:oe==="pageErrorHandler"?X=B.pageErrorHandler:oe==="previousNodeValues"?Z=B.previousNodeValues:oe==="mfSplitView"?t(12,o=B.mfSplitView):oe==="splitViewValues"?c=B.splitViewValues:oe==="splitViewIframe"?y=B.splitViewIframe:oe=="splitViewWC"?N=B.splitViewWC:oe==="showLoadingIndicator"?t(11,s=B.showLoadingIndicator):oe==="tabNav"?t(16,fe=B.tabNav):oe==="isNavigateBack"?we=B.isNavigateBack:oe==="goBackContext"?W=B.goBackContext:oe==="isNavigationSyncEnabled"&&(de=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:vi,getUnsavedChangesModalPromise:pn,showUnsavedChangesModal:Wl,showAlert:Wi,prepareInternalData:Oi,dispatch:n}),Ui=(B,oe)=>{Un.doOnStoreChange(l,()=>{Mn.deleteCache();const Me=tt.getCurrentPath();tt.handleRouteChange(Me,Zt(),B,oe)},["navigation.nodes"]),pe.addRouteChangeListener((Me,Je)=>{const{withoutSync:Be,preventContextUpdate:ve}=Je||{};Qn(Y,Me)||(Y=[],yn.removeInactiveIframes(B));for(let ut=wt.length;ut--;)ri(ut);es.removeBackdrop(),Bi(),tt.handleRouteChange(Me,Zt(),B,oe,Be,ve)})},qt=(B,oe)=>te.replaceVars(tt.getNodePath(B),oe,":",!1),rn=(B,oe,Me)=>{const Je=oe||O,Be=Me||L;let ve=se;if(oe){let ut=oe.parent;for(ve=[oe];ut;)ve.push(ut),ut=ut.parent;ve=[...ve].reverse()}let Fe=B.link;if(B.fromVirtualTreeRoot){const ut=[...ve].reverse().find(Ot=>Ot.virtualTree);if(!ut){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Fe=tt.concatenatePath(qt(ut,Be),B.link)}else if(B.fromParent)Fe=tt.concatenatePath(qt(Je.parent,Be),B.link);else if(B.fromClosestContext){const ut=[...ve].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Fe=tt.concatenatePath(qt(ut,Be),B.link)}else if(B.fromContext){const ut=B.fromContext,Ot=[...ve].reverse().find(Rr=>ut===Rr.navigationContext);Fe=tt.concatenatePath(qt(Ot,Be),B.link)}else B.intent?Fe=pe.getIntentPath(B.link):B.relative&&(Fe=tt.concatenatePath(qt(Je,Be),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Fe+=Fe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((ut,Ot)=>{Fe+=encodeURIComponent(pe.getContentViewParamPrefix()+ut[0])+"="+encodeURIComponent(ut[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),Fe},mi=B=>{const oe=B.detail.node;pn().then(()=>{if(Bl(),oe.openNodeInModal){const Me=pe.buildRoute(oe,`/${oe.pathSegment}`);bl(Me,oe.openNodeInModal===!0?{}:oe.openNodeInModal)}else if(oe.drawer){const Me=pe.buildRoute(oe,`/${oe.pathSegment}`);oe.drawer.isDrawer=!0,vn(Me,oe.drawer)}else Zt().set({isNavigationSyncEnabled:!0}),tt.handleRouteClick(oe,Zt())},()=>{})},ni=()=>{t(17,Pe=!Pe)};Yr("handleNavigation",en);const sn=B=>B?!0:(console.warn("No search provider defined."),!1),ee=()=>{sn(ue)&&t(0,Ve=!1)},Oe=()=>{sn(ue)&&Ae&&(t(0,Ve=!0),Ae.focus())},ct=()=>{sn(ue)&&Ae&&(t(1,Ae.value="",Ae),ii())},Pt=()=>{t(0,Ve=!Ve),xw.clearSearchField()},Nt=()=>{if(sn(ue)&&Ae)return Ae.value},mt=B=>{sn(ue)&&Ae&&(t(1,Ae.value=B,Ae),te.isFunction(ue.onInput)?ue.onInput():console.error("onInput is not a function. Please check the global search configuration."))},mn=B=>{sn(ue)&&Ae&&t(1,Ae.placeholder=B,Ae)},In=B=>{if(sn(ue))if(B&&B.length>0)if(te.isFunction(ue.customSearchResultRenderer)){t(4,Vt=!0);let oe={fireItemSelected:Me=>{ue.onSearchResultItemSelected(Me)}};ue.customSearchResultRenderer(B,_e,oe)}else t(3,$e=!0),t(5,Rt=B);else console.warn("Search result array is empty.")},ii=()=>{if(sn(ue)&&(t(3,$e=!1),t(5,Rt=[]),_e))for(;_e.lastElementChild;)_e.removeChild(_e.lastElementChild)},bi=B=>{let oe=B.detail.node,Me={params:{link:oe.link,nodeParams:oe.params}};en(Me)},ul=(B,oe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=rt.getDefaultData().mfSplitView),rt.open(Zt(),B,oe)},Bi=()=>{rt.close(Zt())},br=()=>{rt.collapse(Zt()),t(12,o.collapsed=!0,o)},vr=()=>{rt.expand(Zt()),t(12,o.collapsed=!1,o)},wr=()=>o.displayed?o.collapsed:!1,Ol=()=>o.displayed?!o.collapsed:!1,Sr=()=>o.displayed,kr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},Cr=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},fl=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let cl,li,dl,Hi,Fl,Ul;const Bl=()=>{document.body.classList.remove("lui-leftNavToggle")},yr=()=>{Sl();const B=window.innerWidth>=xt.desktopMinWidth&&Hi<xt.desktopMinWidth,oe=window.innerWidth<xt.desktopMinWidth&&Hi>=xt.desktopMinWidth;(B||oe)&&Bl(),Hi=window.innerWidth};let bn=[];const hl=(B,oe)=>{if(!(!B||!(B.length>0)))return B.filter(Me=>Me.settings.id===oe)[0]},Wi=(B,oe=!1)=>{const Me=le.getConfigValue("settings.customAlertHandler");if(te.isFunction(Me)){const Be=Me(B,oe);if(Be!==!1)return Be}const Je=bn;return B.id||(B.id=te.getRandomId()),B.id&&Je&&hl(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{hl(bn,B.id)&&Hl(B.id)},B.closeAfter),new Promise((Be,ve)=>{t(26,bn=[...Je||[],{displayed:!0,settings:B,openFromClient:oe,promise:{resolve:Be}}])}))},Hl=(B,oe)=>{const Me=hl(bn,B);if(!Me){console.error("An unexisting alert has been dismissed.",bn,B);return}if(t(26,bn=bn.filter(Je=>Je.settings.id!==B)),Me.openFromClient){const Je=yn.getActiveIframe(x),Be={msg:"luigi.ux.alert.hide",id:B,dismissKey:oe};Te.sendMessageToIframe(Je,Be)}else Me.promise&&Me.promise.resolve(oe||B)},Pr=B=>{Hl(B.detail.id,B.detail.dismissKey)};let zi;const gl=()=>{t(27,zi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,oe=!1,Me)=>new Promise((Je,Be)=>{t(27,zi={displayed:!0,settings:B,openFromClient:oe,promise:{resolve:Je,reject:Be},targetIframe:Me})}),pl=B=>{const{promise:oe,openFromClient:Me,targetIframe:Je}=zi;if(gl(),B?oe.resolve():oe.reject(),Me&&Je){const Be={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Te.sendMessageToIframe(Je,Be)}},vi=B=>{if(ye.dirtySet){if(B)return ye.dirtySet.has(B);if(ye.dirtySet.size>0)return!0}return!1},Wl=()=>_l({header:dt.getTranslation("luigi.unsavedChangesAlert.header"),body:dt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")}),Gi=()=>ye.dirtySet?ye.dirtySet.size>0:ye.isDirty;Yr("getUnsavedChangesModalPromise",pn);let wt=[];const ml=B=>{if(typeof B>"u"){t(28,wt=[]);return}t(28,wt=wt.filter((oe,Me)=>B!==Me))};ml();const bl=async(B,oe)=>{if(await Ce.shouldPreventNavigationForPath(B))return;const Me={mfModal:{displayed:!0,nodepath:B,settings:oe}};t(28,wt=[...wt,Me]),le.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&tt.appendModalDataToUrl(B,oe)},vl=(B,oe)=>{t(28,wt[oe].modalIframe=B.detail.modalIframe,wt),t(28,wt[oe].modalIframeData=B.detail.modalIframeData,wt)},wl=(B,oe)=>{t(28,wt[oe].modalWC=B.detail.modalWC,wt),t(28,wt[oe].modalWCData=B.detail.modalWCData,wt)},ri=(B,oe,Me)=>{const Je=(Fe,ut)=>{le.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&tt.removeModalDataFromUrl(ut),ml(Fe)},Be=wt[B],ve=te.getRemotePromise(Be.mfModal.settings.onClosePromiseId);Be&&Be.modalIframe?pn(Be.modalIframe.contentWindow).then(()=>{Je(B,oe),ve&&ve.doResolve(Me)},()=>{}):Be&&Be.modalWC&&(Je(B,oe),ve&&ve.doResolve(Me))};Yr("openViewInModal",bl);let j={};const Ct=()=>{t(29,j.displayed=!1,j),t(29,j.nodepath=void 0,j),t(29,j.settings={},j),t(13,_=!1)};Ct();const vn=async(B,oe)=>{await Ce.shouldPreventNavigationForPath(B)||(t(29,j.displayed=!0,j),t(29,j.nodepath=B,j),t(29,j.settings=oe,j),j.settings&&j.settings.backdrop&&t(13,_=!0))},wi=()=>window.innerWidth>=xt.desktopMinWidth&&j.displayed&&j.settings&&!j.settings.overlap,Sl=()=>{if(!wi())return;const B=document.querySelector(".iframeModalCtn._drawer"),oe=Te.getCurrentMicrofrontendIframe();if(B&&oe){oe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Me}=getComputedStyle(B),Je=oe.clientWidth;oe.setAttribute("style",`width: calc(${Je}px - ${Me})`)}},is=B=>{p=B.detail.modalIframe,m=B.detail.modalIframeData,Sl()},ls=B=>{v=B.detail.modalWC,B.detail.modalWCData,Sl()},Nr=B=>{h=B.detail.activeDrawer},Ir=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?pn(p.contentWindow).then(()=>{Ct()},()=>{}):v&&pn().then(()=>{Ct()},()=>{}),Te.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(oe){console.log(oe)}},rs=()=>{const B=ur.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,me.userSettingGroups=[...B],me),t(18,me.displayed=!0,me)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},zl=()=>{t(18,me.displayed=!1,me)},ss=async B=>{if(await Ce.shouldPreventNavigationForPath(B))return;le.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},ba=B=>{let oe=se;if(O){let Be=O.parent;for(oe=[O];Be;)oe.push(Be),Be=Be.parent;oe=[...oe].reverse()}let Me=B.link,Je=qt(O,L);if(B.fromVirtualTreeRoot){const Be=[...oe].reverse().find(Fe=>Fe.virtualTree);if(!Be){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const ve=qt(Be,L);Me=Je.split(ve).join("")}else if(B.fromParent){const Be=qt(O.parent,L);Me=Je.split(Be).join("")}else if(B.fromClosestContext){const Be=[...oe].reverse().find(Fe=>Fe.navigationContext&&Fe.navigationContext.length>0),ve=qt(Be,L);Me=Je.split(ve).join("")}else if(B.fromContext){const Be=B.fromContext,ve=[...oe].reverse().find(ut=>Be===ut.navigationContext),Fe=qt(ve,L);Me=Je.split(Fe).join("")}else Me=Je;return Me};function as(B){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const oe=le.getConfigValue("navigation.defaults.isolateView"),Me=le.getConfigValue("navigation.defaults.pageErrorHandler"),Je=le.getConfigValue("navigation.defaults.runTimeErrorHandler"),Be={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:oe,defaultPageErrorHandler:Me};dt.addCurrentLocaleChangeListener(ve=>{const Fe={msg:"luigi.current-locale-changed",currentLocale:ve};Te.broadcastMessageToAllIframes(Fe)}),Nn.addEventListener("popstate",async ve=>{const Fe=bn;if(!Fe||!(Fe.length>0))return;const ut=Fe.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,bn=ut)}),Nn.addEventListener("message",async ve=>{const Fe=Te.getValidMessageSource(ve),ut=wt[wt.length-1],Ot=ut&&ut.modalIframe,Rr=ut&&ut.modalIframeData,Ki={modalIframe:Ot,modalIframeData:Rr,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!Fe)return;Fe._ready=!0;const Er=Te.getSpecialIframeMessageSource(ve,Ki),Ji=Er&&Er.length>0,St=le.getConfigValue("communication.skipEventsWhenInactive");if(St&&St.length>0&&!Ji&&Fe.contentWindow!==window&&!te.isElementVisible(Fe)&&St.includes(ve.data.msg)){console.debug(`EVENT '${ve.data.msg}' from inactive iframe -> SKIPPED`);return}if(ve.data.msg==="custom"){const Le=le.getConfigValue("communication.customMessagesListeners")||{},bt=fa.convertCustomMessageInternalToUser(ve.data),Kt=Le[bt.id],Bn="luigi.updateUserSettings";if(me&&bt.id===Bn){Kt&&console.warn(`The key "${Bn}" is not allowed to use for custom messages.`);return}if(typeof Kt=="function"){const si=On.getMicrofrontends().find(ji=>Te.isMessageSource(ve,ji.container));Kt(bt,si,te.removeInternalProperties(Fe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${bt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(ve.data.msg==="luigi.init.ok"&&(Fe.luigi.initOk=!0),ve.data.msg==="luigi.navigate.ok"&&(Fe.luigi.viewUrl=Fe.luigi.nextViewUrl,Fe.luigi.nextViewUrl="",Fe.luigi.clientPermissions=Fe.luigi.nextClientPermissions,delete Fe.luigi.nextClientPermissions,Be.navigateOk=!0,ar.preload()),ve.data.msg==="luigi.get-context"){if(Fe.luigi.clientVersion=ve.data.clientVersion,Fe.luigi.initOk=!1,Ji)Er.forEach(async Le=>{let bt=Ki[Le.dataKey].context;const Kt={...Be,iframe:Ki[Le.iframeKey],context:bt,pathParams:Ki[Le.dataKey].pathParams,nodeParams:Ki[Le.dataKey].nodeParams,searchParams:pe.prepareSearchParamsForClient(Ki[Le.iframeKey].luigi.currentNode),modal:Le.iframeKey.startsWith("modal"),drawer:Le.iframeKey.startsWith("drawer"),splitView:Le.iframeKey.startsWith("splitView")};await Gt(Kt,{})});else if(Be.iframe&&Te.isMessageSource(ve,Be.iframe))await Gt(Be,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),ar.preload();else if(Fe.luigi.preloading)await Gt({iframe:Fe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Le=ur.findActiveCustomUserSettingsIframe(ve.source);if(Le){let bt=Le.getAttribute("userSettingsGroup"),Kt={context:{userSettingsData:Mt[bt]},iframe:Le};await Gt(Kt)}}ar.viewGroupLoaded(Fe)}if(ve.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),ve.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),ve.data.msg==="luigi.navigation.open"){we=!1;const Le=window.location.href,bt=Ji?Fe.luigi.currentNode:void 0,Kt=Ji?Fe.luigi.pathParams:void 0,Bn=ve.data.params,{intent:si,newTab:ji,modal:kl,splitView:ql,drawer:Kl,withoutSync:tn}=Bn;let Cl=ji||kl||ql||Kl;const Si=()=>{const Tn=te.getRemotePromise(ve.data.remotePromiseId);Tn&&Tn.doResolve()},yl=()=>{const Tn=te.getRemotePromise(ve.data.remotePromiseId);Tn&&Tn.doReject()},ki=Tn=>{!Tn||Le!==window.location.href?Si():yl()};ve.source!==window&&!si&&Bn.link&&(Bn.link=Bn.link.split("?")[0]);let It=rn(ve.data.params,bt,Kt);if(Cl=Cl||si&&It.external,!Cl)pn().then(()=>{de=!ve.data.params.withoutSync,en(ve.data,Be,bt,Kt).then(()=>{ki(!0)}).catch(()=>{yl()}),wt.forEach((Tn,_s)=>{ri(_s)}),Bi(),Ir(),de=!0}).catch(()=>{yl()});else{if(si&&It.external){tt.navigateToExternalLink({url:It.url,sameWindow:!It.openInNewTab});return}if(It=te.addLeadingSlash(It),ji){await ss(It),ki();return}const Tn=await Gl(It);if(It=await pe.handlePageNotFoundAndRetrieveRedirectPath(Zt(),It,Tn),!It){yl();return}x=B,kl!==void 0?(!kl.keepPrevious&&ml(),await bl(It,kl===!0?{}:kl),ki()):ql!==void 0?(await ul(It,ql),ki()):Kl!==void 0&&(Ct(),Kl.isDrawer=!0,await vn(It,Kl),ki())}}if(ve.data.msg==="luigi.navigation.back"){const Le=wt[wt.length-1],bt=ve.data.goBackContext&&JSON.parse(ve.data.goBackContext);Te.isMessageSource(ve,Le&&Le.modalIframe)?(ri(wt.length-1,!0,bt),Be.iframe&&await Gt(Be,{goBackContext:bt})):Te.isMessageSource(ve,y)?(Bi(),Be.iframe&&await Gt(Be,{goBackContext:bt})):Te.isMessageSource(ve,p)?(h&&(h=!h),Ir(),Be.iframe&&await Gt(Be,{goBackContext:bt})):Y&&Y.length>0?pn().then(()=>{yn.setActiveIframeToPrevious(B);const Kt=Y.pop();Be.iframe=yn.getActiveIframe(B),we=!0,Y=Y,W=bt,en({params:{link:Kt.path}},Be)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(ve.data.msg==="luigi.navigation.currentRoute"){const Le=ve.data.data,Kt={msg:"luigi.navigation.currentRoute.answer",data:{route:ba(Le),correlationId:Le.id}};Te.sendMessageToIframe(Fe,Kt)}if(ve.data.msg==="luigi.auth.tokenIssued"&&pi(ve.data.authData),ve.data.msg==="luigi.navigation.updateModalDataPath")if(Ji){const Le=te.addLeadingSlash(rn(ve.data.params,Fe.luigi.currentNode,Fe.luigi.pathParams));tt.updateModalDataInUrl(Le,ve.data.params.modal,ve.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.");if(ve.data.msg==="luigi.navigation.pathExists"){const Le=Fe.luigi.currentNode,bt=Fe.luigi.pathParams,Kt=ve.data.data,Bn=rn(Kt,Le,bt),si=Bn?await Ut.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),Bn):!1,ji={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Kt.id,pathExists:si?si.isExistingRoute:!1}};Te.sendMessageToIframe(Fe,ji)}if(ve.data.msg==="luigi.set-page-dirty"){if(!ye.dirtySet){const Le=new Set;Le.add(ve.source),ye={dirtySet:Le}}ye.persistUrl=window.location.href,ve.data.dirty?ye.dirtySet.add(ve.source):ye.dirtySet.delete(ve.source)}if(ve.data.msg==="luigi.ux.confirmationModal.show"){const Le=ve.data.data.settings;x=B,gl(),_l(Le,!0,Fe).catch(()=>{})}if(ve.data.msg==="luigi.ux.alert.show"){const{settings:Le}=ve.data.data;if(!Le.text&&!te.isFunction(le.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}x=B,Wi(Le,!0).catch(()=>{})}if(ve.data.msg==="luigi.ux.set-current-locale")if(Fe.luigi.clientPermissions&&Fe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Le}=ve.data.data;Le&&dt.setCurrentLocale(Le)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(G&&!G.thirdPartyCookieScriptLocation&&ve.data.msg==="luigi.third-party-cookie"&&ve.data.tpc==="disabled"&&Tr(),ve.data.msg==="storage"&&C2.process(Fe.luigi.id,ve.origin,ve.data.data.id,ve.data.data.operation,ve.data.data.params),ve.data.msg==="luigi-runtime-error-handling"){let Le=Fe.luigi.currentNode;Le&&Le.runTimeErrorHandler&&te.isFunction(Le.runTimeErrorHandler.errorFn)?Le.runTimeErrorHandler.errorFn(ve.data.errorObj,Le):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(ve.data.errorObj,Le)}if(ve.data.msg==="luigi.addSearchParams")if(Fe.luigi.currentNode.clientPermissions&&Fe.luigi.currentNode.clientPermissions.urlParameters){const{data:Le,keepBrowserHistory:bt}=ve.data;pe.addSearchParamsFromClient(Fe.luigi.currentNode,Le,bt)}else console.warn("No client permissions to add url parameter for this node.");if(ve.data.msg==="luigi.addNodeParams"){if(Ji)return;const{data:Le,keepBrowserHistory:bt}=ve.data;ll.addNodeParams(Le,bt)}if(ve.data.msg==="luigi.setAnchor"){const{anchor:Le}=ve.data;ll.setAnchor(Le)}if(ve.data.msg==="luigi.setVGData"){const Le=ve.data,bt=pe.findViewGroup(Fe.luigi.currentNode);if(bt){const Kt=yn.getViewGroupSettings(bt);Kt._liveCustomData=Le.data,le.configChanged("navigation.nodes")}}}),Ui(B,Be)}Yr("store",l),Yr("getTranslation",r);const Tr=B=>{G&&G.thirdPartyCookieErrorHandling&&te.isFunction(G.thirdPartyCookieErrorHandling)&&G.thirdPartyCookieErrorHandling()},Gl=async B=>{const oe={link:B,relative:B[0]!=="/",intent:pe.hasIntent(B)},Me=rn(oe),Je=Me?await Ut.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),Me):!1;return Je?Je.isExistingRoute:!1},va=()=>wt.length>0||Y.length!==0;Yt(()=>{if(N_._init(),ue=le.getConfigValue("globalSearch.searchProvider"),Ie=le.getConfigValue("settings.responsiveNavigation"),Hi=window.innerWidth,Ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Ce.getBurgerTooltipConfig()){const[B,oe]=Ce.getBurgerTooltipConfig();B&&oe&&t(19,ie=document.body.classList.contains("lui-leftNavToggle")?B:oe)}}else if(Ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Ce.getBurgerTooltipConfig()){const[B,oe]=Ce.getBurgerTooltipConfig();if(B&&oe){const Me=JSON.parse(localStorage.getItem(Ce.COL_NAV_KEY));t(19,ie=Me?B:oe)}}document.body.classList.add("lui-semiCollapsible")}G=le.getConfigValue("settings.thirdPartyCookieCheck"),G&&G.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=G.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{ky()==="disabled"&&Tr()}),document.body.removeChild(B)}})}),pa(()=>{Sl()}),Fn(()=>{t(20,on=le.getConfigValue("navigation.breadcrumbs")),ue=le.getConfigValue("globalSearch.searchProvider"),t(24,Fl=le.getConfigValue("tag")),t(25,Ul=le.getConfigValue("settings.header.disabled"))});const os=B=>ri(B,!0),Lr=(B,oe)=>vl(oe,B),Ar=(B,oe)=>wl(oe,B),qi=()=>pl(!0),us=()=>pl(!1);function fs(B){Mt=B,t(6,Mt)}function wa(B){Ve=B,t(0,Ve)}function cs(B){$e=B,t(3,$e)}function ds(B){Vt=B,t(4,Vt)}function hs(B){Rt=B,t(5,Rt)}function gs(B){Ae=B,t(1,Ae)}function Sa(B){_e=B,t(2,_e)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ve=B.isSearchFieldVisible),"inputElem"in B&&t(1,Ae=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,_e=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,$e=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,Vt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Rt=B.searchResult),"storedUserSettings"in B&&t(6,Mt=B.storedUserSettings)},[Ve,Ae,_e,$e,Vt,Rt,Mt,Pt,ii,bi,zl,s,o,_,L,se,fe,Pe,me,ie,on,cl,li,dl,Fl,Ul,bn,zi,wt,j,mi,ni,kr,Cr,fl,yr,Pr,pl,vl,wl,ri,is,ls,Nr,Ir,as,l,r,ee,Oe,ct,Nt,mt,mn,In,ul,Bi,br,vr,wr,Ol,Sr,Wi,_l,Gi,rs,Gl,va,os,Lr,Ar,qi,us,fs,wa,cs,ds,hs,gs,Sa]}class Ly extends At{constructor(e){super(),Lt(this,e,Ty,Iy,yt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const Ay=()=>{const{subscribe:i,update:e,reset:t}=hr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},F_=Ay(),Ry=Jw((i,e,t)=>dt.getTranslation(i,e,t));Luigi._store=F_;const Ey=()=>new Promise(i=>{dt._init(),ln.init().then(()=>{setTimeout(()=>{let e;On.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Ly({target:On.getLuigiContainer(),props:{store:F_,getTranslation:Ry}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});le.setConfigCallbacks(Ey);
63
+ <div class="fd-busy-indicator__circle svelte-1262ssy"></div></div>`,f(e,"class","fd-page spinnerContainer svelte-1262ssy"),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 jg(i){let e,t,n,l,r,s,o,c;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function m(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new xC({props:S}),Xe.push(()=>_t(e,"isSearchFieldVisible",g)),Xe.push(()=>_t(e,"displaySearchResult",h)),Xe.push(()=>_t(e,"displayCustomSearchResult",_)),Xe.push(()=>_t(e,"searchResult",p)),Xe.push(()=>_t(e,"inputElem",m)),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){ze(e,y,C),c=!0},p(y,C){const N={};C[0]&32768&&(N.pathData=y[15]),C[0]&16384&&(N.pathParams=y[14]),C[0]&524288&&(N.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,N.isSearchFieldVisible=y[0],gt(()=>t=!1)),!n&&C[0]&8&&(n=!0,N.displaySearchResult=y[3],gt(()=>n=!1)),!l&&C[0]&16&&(l=!0,N.displayCustomSearchResult=y[4],gt(()=>l=!1)),!r&&C[0]&32&&(r=!0,N.searchResult=y[5],gt(()=>r=!1)),!s&&C[0]&2&&(s=!0,N.inputElem=y[1],gt(()=>s=!1)),!o&&C[0]&4&&(o=!0,N.luigiCustomSearchRenderer__slot=y[2],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 Yg(i){let e,t,n,l;e=new by({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Qg(i);return{c(){qe(e.$$.fragment),t=K(),r&&r.c(),n=Se()},m(s,o){ze(e,s,o),R(s,t,o),r&&r.m(s,o),R(s,n,o),l=!0},p(s,o){const c={};o[0]&32768&&(c.pathData=s[15]),o[0]&16384&&(c.pathParams=s[14]),e.$set(c),s[20]?r?(r.p(s,o),o[0]&1048576&&U(r,1)):(r=Qg(s),r.c(),U(r,1),r.m(n.parentNode,n)):r&&(Ee(),J(r,1,1,()=>{r=null}),De())},i(s){l||(U(e.$$.fragment,s),U(r),l=!0)},o(s){J(e.$$.fragment,s),J(r),l=!1},d(s){Ge(e,s),s&&A(t),r&&r.d(s),s&&A(n)}}}function Qg(i){let e,t;return e=new Sy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Zg(i){let e,t;return e=new RS({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Xg(i){let e,t;return e=new cy({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){ze(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(U(e.$$.fragment,n),t=!0)},o(n){J(e.$$.fragment,n),t=!1},d(n){Ge(e,n)}}}function Iy(i){let e,t,n,l,r,s,o,c,g,h,_,p,m,v,S,y,C=i[26]&&i[26].length&&Bg(i),N=i[28],I=[];for(let Z=0;Z<N.length;Z+=1)I[Z]=Wg(Ug(i,N,Z));const D=Z=>J(I[Z],1,1,()=>{I[Z]=null});let T=i[29].displayed&&i[29].settings.isDrawer&&zg(i),L=i[27].displayed&&Gg(i),V=i[18].displayed&&qg(i);o=new ts({props:{disable:i[13],$$slots:{default:[Ny]},$$scope:{ctx:i}}});let O=i[11]&&Jg(),F=!i[25]&&jg(i),z=!i[21]&&Yg(i),ae=!(i[21]||i[22])&&Zg(i),X=i[16]&&!i[21]&&Xg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let Z=0;Z<I.length;Z+=1)I[Z].c();n=K(),T&&T.c(),l=K(),L&&L.c(),r=K(),V&&V.c(),s=K(),qe(o.$$.fragment),c=K(),O&&O.c(),g=K(),F&&F.c(),h=K(),z&&z.c(),_=K(),ae&&ae.c(),p=K(),X&&X.c(),f(e,"id","app"),f(e,"class",m=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-1262ssy"),f(e,"configversion",i[24])},m(Z,de){R(Z,e,de),C&&C.m(e,null),w(e,t);for(let we=0;we<I.length;we+=1)I[we].m(e,null);w(e,n),T&&T.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),V&&V.m(e,null),w(e,s),ze(o,e,null),w(e,c),O&&O.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),z&&z.m(e,null),w(e,_),ae&&ae.m(e,null),w(e,p),X&&X.m(e,null),v=!0,S||(y=ne(yy,"resize",i[35]),S=!0)},p(Z,de){if(Z[26]&&Z[26].length?C?(C.p(Z,de),de[0]&67108864&&U(C,1)):(C=Bg(Z),C.c(),U(C,1),C.m(e,t)):C&&(Ee(),J(C,1,1,()=>{C=null}),De()),de[0]&268443648|de[1]&896){N=Z[28];let W;for(W=0;W<N.length;W+=1){const se=Ug(Z,N,W);I[W]?(I[W].p(se,de),U(I[W],1)):(I[W]=Wg(se),I[W].c(),U(I[W],1),I[W].m(e,n))}for(Ee(),W=N.length;W<I.length;W+=1)D(W);De()}Z[29].displayed&&Z[29].settings.isDrawer?T?(T.p(Z,de),de[0]&536870912&&U(T,1)):(T=zg(Z),T.c(),U(T,1),T.m(e,l)):T&&(Ee(),J(T,1,1,()=>{T=null}),De()),Z[27].displayed?L?(L.p(Z,de),de[0]&134217728&&U(L,1)):(L=Gg(Z),L.c(),U(L,1),L.m(e,r)):L&&(Ee(),J(L,1,1,()=>{L=null}),De()),Z[18].displayed?V?(V.p(Z,de),de[0]&262144&&U(V,1)):(V=qg(Z),V.c(),U(V,1),V.m(e,s)):V&&(Ee(),J(V,1,1,()=>{V=null}),De());const we={};de[0]&8192&&(we.disable=Z[13]),de[0]&12288|de[4]&8388608&&(we.$$scope={dirty:de,ctx:Z}),o.$set(we),Z[11]?O?de[0]&2048&&U(O,1):(O=Jg(),O.c(),U(O,1),O.m(e,g)):O&&(Ee(),J(O,1,1,()=>{O=null}),De()),Z[25]?F&&(Ee(),J(F,1,1,()=>{F=null}),De()):F?(F.p(Z,de),de[0]&33554432&&U(F,1)):(F=jg(Z),F.c(),U(F,1),F.m(e,h)),Z[21]?z&&(Ee(),J(z,1,1,()=>{z=null}),De()):z?(z.p(Z,de),de[0]&2097152&&U(z,1)):(z=Yg(Z),z.c(),U(z,1),z.m(e,_)),Z[21]||Z[22]?ae&&(Ee(),J(ae,1,1,()=>{ae=null}),De()):ae?(ae.p(Z,de),de[0]&6291456&&U(ae,1)):(ae=Zg(Z),ae.c(),U(ae,1),ae.m(e,p)),Z[16]&&!Z[21]?X?(X.p(Z,de),de[0]&2162688&&U(X,1)):(X=Xg(Z),X.c(),U(X,1),X.m(e,null)):X&&(Ee(),J(X,1,1,()=>{X=null}),De()),(!v||de[0]&48234496&&m!==(m=(Z[21]?"no-nav":"")+" "+(Z[22]?"no-side-nav":"")+" "+(Z[25]?"no-top-nav":"")+" "+(Z[23]?"no-animation":"")+" svelte-1262ssy"))&&f(e,"class",m),(!v||de[0]&16777216)&&f(e,"configversion",Z[24])},i(Z){if(!v){U(C);for(let de=0;de<N.length;de+=1)U(I[de]);U(T),U(L),U(V),U(o.$$.fragment,Z),U(O),U(F),U(z),U(ae),U(X),v=!0}},o(Z){J(C),I=I.filter(Cy);for(let de=0;de<I.length;de+=1)J(I[de]);J(T),J(L),J(V),J(o.$$.fragment,Z),J(O),J(F),J(z),J(ae),J(X),v=!1},d(Z){Z&&A(e),C&&C.d(),ft(I,Z),T&&T.d(),L&&L.d(),V&&V.d(),Ge(o),O&&O.d(),F&&F.d(),z&&z.d(),ae&&ae.d(),X&&X.d(),S=!1,y()}}}function Ty(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,h=!1,_,p,m,v,S,y,C,N,I,D,T,L,V,O,F,z,ae,X,Z,de=!0,we=!1,W,se,x,Y=[],ye={isDirty:!1,persistUrl:null},Ie,fe,Pe=!1,G,ue,me={},ie,{isSearchFieldVisible:Ve}=e,{inputElem:Ae}=e,{luigiCustomSearchRenderer__slot:_e}=e,{displaySearchResult:$e}=e,{displayCustomSearchResult:Vt=!0}=e,{searchResult:Rt}=e,{storedUserSettings:Mt}=e,on;const Oi=async B=>{const oe=B.iframe.luigi,Me=oe.currentNode&&oe.currentNode.userSettingsGroup,Je=await le.readUserSettings(),Be=Me&&typeof Je=="object"&&Je!==null,ve=Te.applyCoreStateData({isNavigateBack:we,viewStackSize:Y.length,clientPermissions:oe.nextViewUrl?oe.nextClientPermissions:oe.clientPermissions,userSettings:Be?Je[Me]:null,anchor:ll.getAnchor()});return Te.specialIframeTypes.map(Fe=>Fe.iframeConfigKey).forEach(Fe=>{ve[Fe]=B[Fe]||!1}),ve},Gt=async(B,oe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Me={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||D,oe)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||T)),pathParams:JSON.stringify(Object.assign({},B.pathParams||L)),searchParams:JSON.stringify(Object.assign({},pe.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Oi(B)),authData:rl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Me,Te.sendMessageToIframe(B.iframe,Me)},pi=B=>{const oe={msg:"luigi.auth.tokenIssued",authData:B};Te.broadcastMessageToAllIframes(oe)},Fi=(B,oe)=>{if(B.params.preserveView||B.params.viewgroup){const Me=rn(B.params),Je=tt.getNodePath(O,V);Y.push({path:oe.iframe.luigi&&oe.iframe.luigi.pathParams?te.replaceVars(Je,oe.iframe.luigi.pathParams,":",!1):Je,nextPath:Me.startsWith("/")?Me:"/"+Me,context:D}),oe.iframe.pv="pv"}},en=(B,oe,Me,Je)=>{let Be=rn(B.params,Me,Je);const{preventHistoryEntry:ve,preserveQueryParams:Fe,preventContextUpdate:ut}=B.params,Ot={keepBrowserHistory:!ve,navSync:de,preventContextUpdate:ut};return Be=te.addLeadingSlash(Be),Be=Fe?pe.composeSearchParamsToRoute(Be):Be,Fi(B,oe),tt.navigateTo(Be,Ot)},Qt=B=>B.split("?")[0],Qn=(B,oe)=>{if(B.length===0)return!1;const Me=oe.startsWith("/")?oe:`/${oe}`,Je=[...B].pop();return[Qt(Je.path),Qt(Je.nextPath)].includes(Qt(Me))},Et=B=>{ye&&ye.dirtySet&&(B?ye.dirtySet.delete(B):ye.dirtySet.clear())},pn=B=>new Promise((oe,Me)=>{vi(B)?Wl().then(()=>{Et(),oe()},()=>{Me()}):oe()}),Zt=()=>({get:()=>({unsavedChanges:ye,hideNav:cl,viewUrl:F,nodeParams:T,viewGroup:z,urlParamsRaw:V,currentNode:O,navigationPath:se,context:D,pathParams:L,hideSideNav:li,isolateView:ae,pageErrorHandler:X,previousNodeValues:Z,mfSplitView:o,splitViewValues:c,splitViewIframe:y,splitViewWC:N,showLoadingIndicator:s,tabNav:fe,isNavigateBack:we,goBackContext:W,isNavigationSyncEnabled:de}),set:B=>{B&&(t(23,dl=!1),Object.getOwnPropertyNames(B).forEach(oe=>{oe==="hideNav"?t(21,cl=B.hideNav):oe==="viewUrl"?F=B.viewUrl:oe==="nodeParams"?T=B.nodeParams:oe==="viewGroup"?z=B.viewGroup:oe==="urlParamsRaw"?V=B.urlParamsRaw:oe==="currentNode"?O=B.currentNode:oe==="navigationPath"?t(15,se=B.navigationPath):oe==="context"?D=B.context:oe==="pathParams"?t(14,L=B.pathParams):oe==="hideSideNav"?(li!=B.hideSideNav&&(t(23,dl=!0),setTimeout(()=>{const Me=document.querySelector("#app");Me&&Me.classList.remove("no-animation")})),t(22,li=B.hideSideNav)):oe==="isolateView"?ae=B.isolateView:oe==="pageErrorHandler"?X=B.pageErrorHandler:oe==="previousNodeValues"?Z=B.previousNodeValues:oe==="mfSplitView"?t(12,o=B.mfSplitView):oe==="splitViewValues"?c=B.splitViewValues:oe==="splitViewIframe"?y=B.splitViewIframe:oe=="splitViewWC"?N=B.splitViewWC:oe==="showLoadingIndicator"?t(11,s=B.showLoadingIndicator):oe==="tabNav"?t(16,fe=B.tabNav):oe==="isNavigateBack"?we=B.isNavigateBack:oe==="goBackContext"?W=B.goBackContext:oe==="isNavigationSyncEnabled"&&(de=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:vi,getUnsavedChangesModalPromise:pn,showUnsavedChangesModal:Wl,showAlert:Wi,prepareInternalData:Oi,dispatch:n}),Ui=(B,oe)=>{Un.doOnStoreChange(l,()=>{Mn.deleteCache();const Me=tt.getCurrentPath();tt.handleRouteChange(Me,Zt(),B,oe)},["navigation.nodes"]),pe.addRouteChangeListener((Me,Je)=>{const{withoutSync:Be,preventContextUpdate:ve}=Je||{};Qn(Y,Me)||(Y=[],yn.removeInactiveIframes(B));for(let ut=wt.length;ut--;)ri(ut);es.removeBackdrop(),Bi(),tt.handleRouteChange(Me,Zt(),B,oe,Be,ve)})},qt=(B,oe)=>te.replaceVars(tt.getNodePath(B),oe,":",!1),rn=(B,oe,Me)=>{const Je=oe||O,Be=Me||L;let ve=se;if(oe){let ut=oe.parent;for(ve=[oe];ut;)ve.push(ut),ut=ut.parent;ve=[...ve].reverse()}let Fe=B.link;if(B.fromVirtualTreeRoot){const ut=[...ve].reverse().find(Ot=>Ot.virtualTree);if(!ut){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Fe=tt.concatenatePath(qt(ut,Be),B.link)}else if(B.fromParent)Fe=tt.concatenatePath(qt(Je.parent,Be),B.link);else if(B.fromClosestContext){const ut=[...ve].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Fe=tt.concatenatePath(qt(ut,Be),B.link)}else if(B.fromContext){const ut=B.fromContext,Ot=[...ve].reverse().find(Rr=>ut===Rr.navigationContext);Fe=tt.concatenatePath(qt(Ot,Be),B.link)}else B.intent?Fe=pe.getIntentPath(B.link):B.relative&&(Fe=tt.concatenatePath(qt(Je,Be),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Fe+=Fe.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((ut,Ot)=>{Fe+=encodeURIComponent(pe.getContentViewParamPrefix()+ut[0])+"="+encodeURIComponent(ut[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),Fe},mi=B=>{const oe=B.detail.node;pn().then(()=>{if(Bl(),oe.openNodeInModal){const Me=pe.buildRoute(oe,`/${oe.pathSegment}`);bl(Me,oe.openNodeInModal===!0?{}:oe.openNodeInModal)}else if(oe.drawer){const Me=pe.buildRoute(oe,`/${oe.pathSegment}`);oe.drawer.isDrawer=!0,vn(Me,oe.drawer)}else Zt().set({isNavigationSyncEnabled:!0}),tt.handleRouteClick(oe,Zt())},()=>{})},ni=()=>{t(17,Pe=!Pe)};Yr("handleNavigation",en);const sn=B=>B?!0:(console.warn("No search provider defined."),!1),ee=()=>{sn(ue)&&t(0,Ve=!1)},Oe=()=>{sn(ue)&&Ae&&(t(0,Ve=!0),Ae.focus())},ct=()=>{sn(ue)&&Ae&&(t(1,Ae.value="",Ae),ii())},Pt=()=>{t(0,Ve=!Ve),xw.clearSearchField()},Nt=()=>{if(sn(ue)&&Ae)return Ae.value},mt=B=>{sn(ue)&&Ae&&(t(1,Ae.value=B,Ae),te.isFunction(ue.onInput)?ue.onInput():console.error("onInput is not a function. Please check the global search configuration."))},mn=B=>{sn(ue)&&Ae&&t(1,Ae.placeholder=B,Ae)},In=B=>{if(sn(ue))if(B&&B.length>0)if(te.isFunction(ue.customSearchResultRenderer)){t(4,Vt=!0);let oe={fireItemSelected:Me=>{ue.onSearchResultItemSelected(Me)}};ue.customSearchResultRenderer(B,_e,oe)}else t(3,$e=!0),t(5,Rt=B);else console.warn("Search result array is empty.")},ii=()=>{if(sn(ue)&&(t(3,$e=!1),t(5,Rt=[]),_e))for(;_e.lastElementChild;)_e.removeChild(_e.lastElementChild)},bi=B=>{let oe=B.detail.node,Me={params:{link:oe.link,nodeParams:oe.params}};en(Me)},ul=(B,oe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=rt.getDefaultData().mfSplitView),rt.open(Zt(),B,oe)},Bi=()=>{rt.close(Zt())},br=()=>{rt.collapse(Zt()),t(12,o.collapsed=!0,o)},vr=()=>{rt.expand(Zt()),t(12,o.collapsed=!1,o)},wr=()=>o.displayed?o.collapsed:!1,Ol=()=>o.displayed?!o.collapsed:!1,Sr=()=>o.displayed,kr=B=>{y=B.detail.splitViewIframe,C=B.detail.splitViewIframeData,t(12,o.collapsed=B.detail.collapsed,o)},Cr=B=>{B.detail.displayed!==void 0&&t(12,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(12,o.collapsed=B.detail.collapsed,o)},fl=B=>{N=B.detail.splitViewWC,B.detail.splitViewWCData,t(12,o.collapsed=B.detail.collapsed,o)};let cl,li,dl,Hi,Fl,Ul;const Bl=()=>{document.body.classList.remove("lui-leftNavToggle")},yr=()=>{Sl();const B=window.innerWidth>=xt.desktopMinWidth&&Hi<xt.desktopMinWidth,oe=window.innerWidth<xt.desktopMinWidth&&Hi>=xt.desktopMinWidth;(B||oe)&&Bl(),Hi=window.innerWidth};let bn=[];const hl=(B,oe)=>{if(!(!B||!(B.length>0)))return B.filter(Me=>Me.settings.id===oe)[0]},Wi=(B,oe=!1)=>{const Me=le.getConfigValue("settings.customAlertHandler");if(te.isFunction(Me)){const Be=Me(B,oe);if(Be!==!1)return Be}const Je=bn;return B.id||(B.id=te.getRandomId()),B.id&&Je&&hl(Je,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{hl(bn,B.id)&&Hl(B.id)},B.closeAfter),new Promise((Be,ve)=>{t(26,bn=[...Je||[],{displayed:!0,settings:B,openFromClient:oe,promise:{resolve:Be}}])}))},Hl=(B,oe)=>{const Me=hl(bn,B);if(!Me){console.error("An unexisting alert has been dismissed.",bn,B);return}if(t(26,bn=bn.filter(Je=>Je.settings.id!==B)),Me.openFromClient){const Je=yn.getActiveIframe(x),Be={msg:"luigi.ux.alert.hide",id:B,dismissKey:oe};Te.sendMessageToIframe(Je,Be)}else Me.promise&&Me.promise.resolve(oe||B)},Pr=B=>{Hl(B.detail.id,B.detail.dismissKey)};let zi;const gl=()=>{t(27,zi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(B,oe=!1,Me)=>new Promise((Je,Be)=>{t(27,zi={displayed:!0,settings:B,openFromClient:oe,promise:{resolve:Je,reject:Be},targetIframe:Me})}),pl=B=>{const{promise:oe,openFromClient:Me,targetIframe:Je}=zi;if(gl(),B?oe.resolve():oe.reject(),Me&&Je){const Be={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Te.sendMessageToIframe(Je,Be)}},vi=B=>{if(ye.dirtySet){if(B)return ye.dirtySet.has(B);if(ye.dirtySet.size>0)return!0}return!1},Wl=()=>_l({header:dt.getTranslation("luigi.unsavedChangesAlert.header"),body:dt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:dt.getTranslation("luigi.button.dismiss"),buttonConfirm:dt.getTranslation("luigi.button.confirm")}),Gi=()=>ye.dirtySet?ye.dirtySet.size>0:ye.isDirty;Yr("getUnsavedChangesModalPromise",pn);let wt=[];const ml=B=>{if(typeof B>"u"){t(28,wt=[]);return}t(28,wt=wt.filter((oe,Me)=>B!==Me))};ml();const bl=async(B,oe)=>{if(await Ce.shouldPreventNavigationForPath(B))return;const Me={mfModal:{displayed:!0,nodepath:B,settings:oe}};t(28,wt=[...wt,Me]),le.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&tt.appendModalDataToUrl(B,oe)},vl=(B,oe)=>{t(28,wt[oe].modalIframe=B.detail.modalIframe,wt),t(28,wt[oe].modalIframeData=B.detail.modalIframeData,wt)},wl=(B,oe)=>{t(28,wt[oe].modalWC=B.detail.modalWC,wt),t(28,wt[oe].modalWCData=B.detail.modalWCData,wt)},ri=(B,oe,Me)=>{const Je=(Fe,ut)=>{le.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&tt.removeModalDataFromUrl(ut),ml(Fe)},Be=wt[B],ve=te.getRemotePromise(Be.mfModal.settings.onClosePromiseId);Be&&Be.modalIframe?pn(Be.modalIframe.contentWindow).then(()=>{Je(B,oe),ve&&ve.doResolve(Me)},()=>{}):Be&&Be.modalWC&&(Je(B,oe),ve&&ve.doResolve(Me))};Yr("openViewInModal",bl);let j={};const Ct=()=>{t(29,j.displayed=!1,j),t(29,j.nodepath=void 0,j),t(29,j.settings={},j),t(13,_=!1)};Ct();const vn=async(B,oe)=>{await Ce.shouldPreventNavigationForPath(B)||(t(29,j.displayed=!0,j),t(29,j.nodepath=B,j),t(29,j.settings=oe,j),j.settings&&j.settings.backdrop&&t(13,_=!0))},wi=()=>window.innerWidth>=xt.desktopMinWidth&&j.displayed&&j.settings&&!j.settings.overlap,Sl=()=>{if(!wi())return;const B=document.querySelector(".iframeModalCtn._drawer"),oe=Te.getCurrentMicrofrontendIframe();if(B&&oe){oe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Me}=getComputedStyle(B),Je=oe.clientWidth;oe.setAttribute("style",`width: calc(${Je}px - ${Me})`)}},is=B=>{p=B.detail.modalIframe,m=B.detail.modalIframeData,Sl()},ls=B=>{v=B.detail.modalWC,B.detail.modalWCData,Sl()},Nr=B=>{h=B.detail.activeDrawer},Ir=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(h=B.detail.activeDrawer),!h||B&&B.detail&&B.detail.type!=="modal")try{p?pn(p.contentWindow).then(()=>{Ct()},()=>{}):v&&pn().then(()=>{Ct()},()=>{}),Te.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(oe){console.log(oe)}},rs=()=>{const B=ur.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(18,me.userSettingGroups=[...B],me),t(18,me.displayed=!0,me)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},zl=()=>{t(18,me.displayed=!1,me)},ss=async B=>{if(await Ce.shouldPreventNavigationForPath(B))return;le.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},ba=B=>{let oe=se;if(O){let Be=O.parent;for(oe=[O];Be;)oe.push(Be),Be=Be.parent;oe=[...oe].reverse()}let Me=B.link,Je=qt(O,L);if(B.fromVirtualTreeRoot){const Be=[...oe].reverse().find(Fe=>Fe.virtualTree);if(!Be){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const ve=qt(Be,L);Me=Je.split(ve).join("")}else if(B.fromParent){const Be=qt(O.parent,L);Me=Je.split(Be).join("")}else if(B.fromClosestContext){const Be=[...oe].reverse().find(Fe=>Fe.navigationContext&&Fe.navigationContext.length>0),ve=qt(Be,L);Me=Je.split(ve).join("")}else if(B.fromContext){const Be=B.fromContext,ve=[...oe].reverse().find(ut=>Be===ut.navigationContext),Fe=qt(ve,L);Me=Je.split(Fe).join("")}else Me=Je;return Me};function as(B){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const oe=le.getConfigValue("navigation.defaults.isolateView"),Me=le.getConfigValue("navigation.defaults.pageErrorHandler"),Je=le.getConfigValue("navigation.defaults.runTimeErrorHandler"),Be={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:oe,defaultPageErrorHandler:Me};dt.addCurrentLocaleChangeListener(ve=>{const Fe={msg:"luigi.current-locale-changed",currentLocale:ve};Te.broadcastMessageToAllIframes(Fe)}),Nn.addEventListener("popstate",async ve=>{const Fe=bn;if(!Fe||!(Fe.length>0))return;const ut=Fe.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,bn=ut)}),Nn.addEventListener("message",async ve=>{const Fe=Te.getValidMessageSource(ve),ut=wt[wt.length-1],Ot=ut&&ut.modalIframe,Rr=ut&&ut.modalIframeData,Ki={modalIframe:Ot,modalIframeData:Rr,drawerIframe:p,drawerIframeData:m,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!Fe)return;Fe._ready=!0;const Er=Te.getSpecialIframeMessageSource(ve,Ki),Ji=Er&&Er.length>0,St=le.getConfigValue("communication.skipEventsWhenInactive");if(St&&St.length>0&&!Ji&&Fe.contentWindow!==window&&!te.isElementVisible(Fe)&&St.includes(ve.data.msg)){console.debug(`EVENT '${ve.data.msg}' from inactive iframe -> SKIPPED`);return}if(ve.data.msg==="custom"){const Le=le.getConfigValue("communication.customMessagesListeners")||{},bt=fa.convertCustomMessageInternalToUser(ve.data),Kt=Le[bt.id],Bn="luigi.updateUserSettings";if(me&&bt.id===Bn){Kt&&console.warn(`The key "${Bn}" is not allowed to use for custom messages.`);return}if(typeof Kt=="function"){const si=On.getMicrofrontends().find(ji=>Te.isMessageSource(ve,ji.container));Kt(bt,si,te.removeInternalProperties(Fe.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${bt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(ve.data.msg==="luigi.init.ok"&&(Fe.luigi.initOk=!0),ve.data.msg==="luigi.navigate.ok"&&(Fe.luigi.viewUrl=Fe.luigi.nextViewUrl,Fe.luigi.nextViewUrl="",Fe.luigi.clientPermissions=Fe.luigi.nextClientPermissions,delete Fe.luigi.nextClientPermissions,Be.navigateOk=!0,ar.preload()),ve.data.msg==="luigi.get-context"){if(Fe.luigi.clientVersion=ve.data.clientVersion,Fe.luigi.initOk=!1,Ji)Er.forEach(async Le=>{let bt=Ki[Le.dataKey].context;const Kt={...Be,iframe:Ki[Le.iframeKey],context:bt,pathParams:Ki[Le.dataKey].pathParams,nodeParams:Ki[Le.dataKey].nodeParams,searchParams:pe.prepareSearchParamsForClient(Ki[Le.iframeKey].luigi.currentNode),modal:Le.iframeKey.startsWith("modal"),drawer:Le.iframeKey.startsWith("drawer"),splitView:Le.iframeKey.startsWith("splitView")};await Gt(Kt,{})});else if(Be.iframe&&Te.isMessageSource(ve,Be.iframe))await Gt(Be,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&t(11,s=!1),ar.preload();else if(Fe.luigi.preloading)await Gt({iframe:Fe,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Le=ur.findActiveCustomUserSettingsIframe(ve.source);if(Le){let bt=Le.getAttribute("userSettingsGroup"),Kt={context:{userSettingsData:Mt[bt]},iframe:Le};await Gt(Kt)}}ar.viewGroupLoaded(Fe)}if(ve.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),ve.data.msg==="luigi.hide-loading-indicator"&&t(11,s=!1),ve.data.msg==="luigi.navigation.open"){we=!1;const Le=window.location.href,bt=Ji?Fe.luigi.currentNode:void 0,Kt=Ji?Fe.luigi.pathParams:void 0,Bn=ve.data.params,{intent:si,newTab:ji,modal:kl,splitView:ql,drawer:Kl,withoutSync:tn}=Bn;let Cl=ji||kl||ql||Kl;const Si=()=>{const Tn=te.getRemotePromise(ve.data.remotePromiseId);Tn&&Tn.doResolve()},yl=()=>{const Tn=te.getRemotePromise(ve.data.remotePromiseId);Tn&&Tn.doReject()},ki=Tn=>{!Tn||Le!==window.location.href?Si():yl()};ve.source!==window&&!si&&Bn.link&&(Bn.link=Bn.link.split("?")[0]);let It=rn(ve.data.params,bt,Kt);if(Cl=Cl||si&&It.external,!Cl)pn().then(()=>{de=!ve.data.params.withoutSync,en(ve.data,Be,bt,Kt).then(()=>{ki(!0)}).catch(()=>{yl()}),wt.forEach((Tn,_s)=>{ri(_s)}),Bi(),Ir(),de=!0}).catch(()=>{yl()});else{if(si&&It.external){tt.navigateToExternalLink({url:It.url,sameWindow:!It.openInNewTab});return}if(It=te.addLeadingSlash(It),ji){await ss(It),ki();return}const Tn=await Gl(It);if(It=await pe.handlePageNotFoundAndRetrieveRedirectPath(Zt(),It,Tn),!It){yl();return}x=B,kl!==void 0?(!kl.keepPrevious&&ml(),await bl(It,kl===!0?{}:kl),ki()):ql!==void 0?(await ul(It,ql),ki()):Kl!==void 0&&(Ct(),Kl.isDrawer=!0,await vn(It,Kl),ki())}}if(ve.data.msg==="luigi.navigation.back"){const Le=wt[wt.length-1],bt=ve.data.goBackContext&&JSON.parse(ve.data.goBackContext);Te.isMessageSource(ve,Le&&Le.modalIframe)?(ri(wt.length-1,!0,bt),Be.iframe&&await Gt(Be,{goBackContext:bt})):Te.isMessageSource(ve,y)?(Bi(),Be.iframe&&await Gt(Be,{goBackContext:bt})):Te.isMessageSource(ve,p)?(h&&(h=!h),Ir(),Be.iframe&&await Gt(Be,{goBackContext:bt})):Y&&Y.length>0?pn().then(()=>{yn.setActiveIframeToPrevious(B);const Kt=Y.pop();Be.iframe=yn.getActiveIframe(B),we=!0,Y=Y,W=bt,en({params:{link:Kt.path}},Be)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(ve.data.msg==="luigi.navigation.currentRoute"){const Le=ve.data.data,Kt={msg:"luigi.navigation.currentRoute.answer",data:{route:ba(Le),correlationId:Le.id}};Te.sendMessageToIframe(Fe,Kt)}if(ve.data.msg==="luigi.auth.tokenIssued"&&pi(ve.data.authData),ve.data.msg==="luigi.navigation.updateModalDataPath"){if(!le.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ji){const Le=te.addLeadingSlash(rn(ve.data.params,Fe.luigi.currentNode,Fe.luigi.pathParams));tt.updateModalDataInUrl(Le,ve.data.params.modal,ve.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(ve.data.msg==="luigi.navigation.pathExists"){const Le=Fe.luigi.currentNode,bt=Fe.luigi.pathParams,Kt=ve.data.data,Bn=rn(Kt,Le,bt),si=Bn?await Ut.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),Bn):!1,ji={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Kt.id,pathExists:si?si.isExistingRoute:!1}};Te.sendMessageToIframe(Fe,ji)}if(ve.data.msg==="luigi.set-page-dirty"){if(!ye.dirtySet){const Le=new Set;Le.add(ve.source),ye={dirtySet:Le}}ye.persistUrl=window.location.href,ve.data.dirty?ye.dirtySet.add(ve.source):ye.dirtySet.delete(ve.source)}if(ve.data.msg==="luigi.ux.confirmationModal.show"){const Le=ve.data.data.settings;x=B,gl(),_l(Le,!0,Fe).catch(()=>{})}if(ve.data.msg==="luigi.ux.alert.show"){const{settings:Le}=ve.data.data;if(!Le.text&&!te.isFunction(le.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}x=B,Wi(Le,!0).catch(()=>{})}if(ve.data.msg==="luigi.ux.set-current-locale")if(Fe.luigi.clientPermissions&&Fe.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Le}=ve.data.data;Le&&dt.setCurrentLocale(Le)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(G&&!G.thirdPartyCookieScriptLocation&&ve.data.msg==="luigi.third-party-cookie"&&ve.data.tpc==="disabled"&&Tr(),ve.data.msg==="storage"&&C2.process(Fe.luigi.id,ve.origin,ve.data.data.id,ve.data.data.operation,ve.data.data.params),ve.data.msg==="luigi-runtime-error-handling"){let Le=Fe.luigi.currentNode;Le&&Le.runTimeErrorHandler&&te.isFunction(Le.runTimeErrorHandler.errorFn)?Le.runTimeErrorHandler.errorFn(ve.data.errorObj,Le):Je&&te.isFunction(Je.errorFn)&&Je.errorFn(ve.data.errorObj,Le)}if(ve.data.msg==="luigi.addSearchParams")if(Fe.luigi.currentNode.clientPermissions&&Fe.luigi.currentNode.clientPermissions.urlParameters){const{data:Le,keepBrowserHistory:bt}=ve.data;pe.addSearchParamsFromClient(Fe.luigi.currentNode,Le,bt)}else console.warn("No client permissions to add url parameter for this node.");if(ve.data.msg==="luigi.addNodeParams"){if(Ji)return;const{data:Le,keepBrowserHistory:bt}=ve.data;ll.addNodeParams(Le,bt)}if(ve.data.msg==="luigi.setAnchor"){const{anchor:Le}=ve.data;ll.setAnchor(Le)}if(ve.data.msg==="luigi.setVGData"){const Le=ve.data,bt=pe.findViewGroup(Fe.luigi.currentNode);if(bt){const Kt=yn.getViewGroupSettings(bt);Kt._liveCustomData=Le.data,le.configChanged("navigation.nodes")}}}),Ui(B,Be)}Yr("store",l),Yr("getTranslation",r);const Tr=B=>{G&&G.thirdPartyCookieErrorHandling&&te.isFunction(G.thirdPartyCookieErrorHandling)&&G.thirdPartyCookieErrorHandling()},Gl=async B=>{const oe={link:B,relative:B[0]!=="/",intent:pe.hasIntent(B)},Me=rn(oe),Je=Me?await Ut.getNavigationPath(le.getConfigValueAsync("navigation.nodes"),Me):!1;return Je?Je.isExistingRoute:!1},va=()=>wt.length>0||Y.length!==0;Yt(()=>{if(N_._init(),ue=le.getConfigValue("globalSearch.searchProvider"),Ie=le.getConfigValue("settings.responsiveNavigation"),Hi=window.innerWidth,Ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Ce.getBurgerTooltipConfig()){const[B,oe]=Ce.getBurgerTooltipConfig();B&&oe&&t(19,ie=document.body.classList.contains("lui-leftNavToggle")?B:oe)}}else if(Ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Ce.getBurgerTooltipConfig()){const[B,oe]=Ce.getBurgerTooltipConfig();if(B&&oe){const Me=JSON.parse(localStorage.getItem(Ce.COL_NAV_KEY));t(19,ie=Me?B:oe)}}document.body.classList.add("lui-semiCollapsible")}G=le.getConfigValue("settings.thirdPartyCookieCheck"),G&&G.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=G.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{ky()==="disabled"&&Tr()}),document.body.removeChild(B)}})}),pa(()=>{Sl()}),Fn(()=>{t(20,on=le.getConfigValue("navigation.breadcrumbs")),ue=le.getConfigValue("globalSearch.searchProvider"),t(24,Fl=le.getConfigValue("tag")),t(25,Ul=le.getConfigValue("settings.header.disabled"))});const os=B=>ri(B,!0),Lr=(B,oe)=>vl(oe,B),Ar=(B,oe)=>wl(oe,B),qi=()=>pl(!0),us=()=>pl(!1);function fs(B){Mt=B,t(6,Mt)}function wa(B){Ve=B,t(0,Ve)}function cs(B){$e=B,t(3,$e)}function ds(B){Vt=B,t(4,Vt)}function hs(B){Rt=B,t(5,Rt)}function gs(B){Ae=B,t(1,Ae)}function Sa(B){_e=B,t(2,_e)}return i.$$set=B=>{"store"in B&&t(46,l=B.store),"getTranslation"in B&&t(47,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ve=B.isSearchFieldVisible),"inputElem"in B&&t(1,Ae=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,_e=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,$e=B.displaySearchResult),"displayCustomSearchResult"in B&&t(4,Vt=B.displayCustomSearchResult),"searchResult"in B&&t(5,Rt=B.searchResult),"storedUserSettings"in B&&t(6,Mt=B.storedUserSettings)},[Ve,Ae,_e,$e,Vt,Rt,Mt,Pt,ii,bi,zl,s,o,_,L,se,fe,Pe,me,ie,on,cl,li,dl,Fl,Ul,bn,zi,wt,j,mi,ni,kr,Cr,fl,yr,Pr,pl,vl,wl,ri,is,ls,Nr,Ir,as,l,r,ee,Oe,ct,Nt,mt,mn,In,ul,Bi,br,vr,wr,Ol,Sr,Wi,_l,Gi,rs,Gl,va,os,Lr,Ar,qi,us,fs,wa,cs,ds,hs,gs,Sa]}class Ly extends At{constructor(e){super(),Lt(this,e,Ty,Iy,yt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const Ay=()=>{const{subscribe:i,update:e,reset:t}=hr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},F_=Ay(),Ry=Jw((i,e,t)=>dt.getTranslation(i,e,t));Luigi._store=F_;const Ey=()=>new Promise(i=>{dt._init(),ln.init().then(()=>{setTimeout(()=>{let e;On.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Ly({target:On.getLuigiContainer(),props:{store:F_,getTranslation:Ry}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});le.setConfigCallbacks(Ey);
64
64
  //# sourceMappingURL=luigi.js.map