1import{aq as E,W as L,cS as go,o as oo,u as G,z as _,B as m,q as p,D as T,x as V,H as F,t as h,v as y,X as mo,Y as q,N as ko,O as eo,an as Po,M as to,I as B,r as P,E as A,F as N,C as I,G as j,w as D,p as C,$ as R,ae as _o,a5 as yo,cR as vo,_ as ho,L as W,ac as x,cT as So,a7 as Lo,aU as wo,aN as Ao}from"./BV5H2GYm.js";import{E as S}from"./CUSyyCbF.js";import{c as Co}from"./Ccb38VGv.js";import{b as To}from"./DnduDJVA.js";import{A as Eo}from"./BUOQM2d8.js";import{M as $o}from"./DiaGLegU.js";import{u as Oo}from"./CvXVvbKS.js";import{u as Do}from"./Y7dcVlcN.js";import{a as z}from"./DaBs8EVY.js";const Fo=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.sectionReceiverSender",links:[{label:"footer.clientLogin",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`},{label:"footer.becomePartner",to:o.becomePartner},{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)}]},{title:"footer.ourEntities",links:[{label:"footer.entityCZ",to:t.entityCZ},{label:"footer.entityDE",to:t.entityDE},{label:"footer.entityHU",to:t.entityHU},{label:"footer.entityPL",to:t.entityPL},{label:"footer.entityRO",to:t.entityRO},{label:"footer.entitySK",to:t.entitySK},{label:"footer.entitySI",to:t.entitySI}]},{title:"footer.sectionAbout",links:[{label:"footer.contact",to:o.contacts},{label:"footer.whoWeAre",to:o.whoWeAre},{label:"footer.glossary",to:o.glossary}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},Uo=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:Fo},Symbol.toStringTag,{value:"Module"})),No=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.forEshops",links:[{label:"footer.contactUs",to:o.contacts},{label:"footer.loginForEshops",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`},{label:"footer.howDoesItWork",to:o.howItWorks},{label:"footer.startWithPacketa",to:o.howToStart}]},{title:"footer.sectionEshopsPickupPoints",links:[{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)},{label:"footer.pickUpAndPostPoints",to:o.pickUpPoints},{label:"footer.pickupParcel",to:o.receiving}]},{title:"footer.sectionAbout",links:[{label:"footer.aboutUs",to:o.about},{label:"footer.blog",to:o.blog},{label:"footer.companyInformation",to:o.companyInformation}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},Io=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:No},Symbol.toStringTag,{value:"Module"})),Wo=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.sectionReceiverSender",links:[{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)},{label:"footer.sendParcel",to:o.sending},{label:"footer.pickUpAndPostPoints",to:o.pickUpPoints},{label:"footer.pickupParcel",to:o.receiving}]},{title:"footer.sectionEshopsPickupPoints",links:[{label:"footer.loginForEshops",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`},{label:"footer.loginForPickUpPoints",to:`${t.loginToPacketaAdmin}${t.loginForEshops}`},{label:"footer.sendWithPacketa",to:o.howItWorks},{label:"footer.becameAPickUpPoint",to:o.becomePickUpPoint}]},{title:"footer.sectionAbout",links:[{label:"footer.contactUs",to:o.contacts},{label:"footer.careers",to:t.foxpostCareer,newTab:!0},{label:"footer.aboutUs",to:o.about},{label:"footer.faqs",to:o.customerServiceSearch}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},Ro=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:Wo},Symbol.toStringTag,{value:"Module"})),xo=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.sectionReceiverSender",links:[{label:"footer.loginForEshops",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`,newTab:!0},{label:"footer.sendWithPacketa",to:o.howItWorks},{label:"footer.howToStart",to:o.howToStart}]},{title:"footer.sectionEshopsPickupPoints",links:[{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)},{label:"footer.pickUpAndPostPoints",to:o.pickUpPoints},{label:"footer.pickupParcel",to:o.receiving}]},{title:"footer.sectionAbout",links:[{label:"footer.contactUs",to:o.contacts},{label:"footer.careers",to:o.career},{label:"footer.aboutUs",to:o.about},{label:"footer.faqs",to:o.customerServiceSearch}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"footer.documentsGdpr",to:o.documentsGdpr},{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},Bo=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:xo},Symbol.toStringTag,{value:"Module"})),Go=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.sectionReceiverSender",links:[{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)},{label:"footer.sendParcel",to:o.sending},{label:"footer.pickUpAndPostPoints",to:o.pickUpPoints},{label:"footer.pickupParcel",to:o.receiving}]},{title:"footer.sectionEshopsPickupPoints",links:[{label:"footer.loginForEshops",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`},{label:"footer.loginForPickUpPoints",to:`${t.loginToPacketaAdmin}${t.loginForEshops}`},{label:"footer.sendWithPacketa",to:o.howItWorks},{label:"footer.becameAPickUpPoint",to:o.becomePickUpPoint}]},{title:"footer.sectionAbout",links:[{label:"footer.contactUs",to:o.contacts},{label:"footer.careers",to:o.career},{label:"footer.aboutUs",to:o.about},{label:"footer.faqs",to:o.customerServiceSearch}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService}
1,{label:"footer.downloadApp",to:o.mobileApp,showMobileAppsDownload:!0}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},Ko=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:Go},Symbol.toStringTag,{value:"Module"})),Mo=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.sectionReceiverSender",links:[{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)},{label:"footer.sendParcel",to:o.sending},{label:"footer.pickUpAndPostPoints",to:o.pickUpPoints},{label:"footer.pickupParcel",to:o.receiving}]},{title:"footer.sectionEshopsPickupPoints",links:[{label:"footer.loginForEshops",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`},{label:"footer.loginForPickUpPoints",to:`${t.loginToPacketaAdmin}${t.loginForEshops}`},{label:"footer.sendWithPacketa",to:o.howItWorks},{label:"footer.becameAPickUpPoint",to:o.becomePickUpPoint}]},{title:"footer.sectionAbout",links:[{label:"footer.contactUs",to:o.contacts},{label:"footer.careers",to:o.career},{label:"footer.aboutUs",to:o.about},{label:"footer.faqs",to:o.customerServiceSearch}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService},{label:"footer.downloadApp",to:o.mobileApp,showMobileAppsDownload:!0}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},Ho=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:Mo},Symbol.toStringTag,{value:"Module"})),jo=(a,n)=>{var r,l,c,u;const{pages:o,externalPages:t,locale:i,story:e}=a;return{sections:[{title:"footer.sectionReceiverSender",links:[{label:"footer.trackPackage",id:E.SHOW_TRACKING_BTN_FOOTER,action:()=>n(S.SHOW_TRACKING_WIDGET)},{label:"footer.sendParcel",to:o.sending},{label:"footer.pickUpAndPostPoints",to:o.pickUpPoints},{label:"footer.pickupParcel",to:o.receiving}]},{title:"footer.sectionEshopsPickupPoints",links:[{label:"footer.loginForEshops",to:`${t.routeClientPacketa}/${i}/${t.loginForEshops}`},{label:"footer.loginForPickUpPoints",to:`${t.loginToPacketaAdmin}${t.loginForEshops}`},{label:"footer.sendWithZasilkovna",to:o.howItWorks},{label:"footer.becameAPickUpPoint",to:o.becomePickUpPoint}]},{title:"footer.sectionAbout",links:[{label:"footer.contactUs",to:o.contacts},{label:"footer.careers",to:o.career},{label:"footer.glossary",to:o.glossary},{label:"footer.euGrants",to:o.subsidy},{label:"footer.dobrobox",to:o.dobrobox}]}],callToActionLinks:[{label:"footer.customerSupport",to:o.customerService},{label:"footer.downloadApp",to:o.mobileApp,showMobileAppsDownload:!0}],socialLinks:$(e==null?void 0:e.content).map(s=>({icon:s.icon,to:s.link.url,ariaLabel:s.ariaLabel})),bottomLinks:[{label:"global.footer.privacyPolicy",to:(l=(r=e==null?void 0:e.content)==null?void 0:r.privacyPolicy)==null?void 0:l.url},{label:"global.footer.termsAndConditions",to:(u=(c=e==null?void 0:e.content)==null?void 0:c.termsDocumentUrl)==null?void 0:u.url}],companyName:"footer.companyName"}},J=Object.freeze(Object.defineProperty({__proto__:null,getFooterData:jo},Symbol.toStringTag,{value:"Module"})),zo={[L.ZASILKOVNA_CZ]:J,[L.PACKETA_SK]:Ho,[L.PACKETA_PL]:Bo,[L.PACKETA_RO]:Ko,[L.PACKETA_DE]:Io,[L.PACKETA_HU]:Ro,[L.PACKETA_COM]:Uo,[L.STYLEGUIDE]:J};function Vo(a){return zo[a].getFooterData}const qo=(a,n)=>a.filter(o=>!go(o.to,n)),Zo=(a,n)=>({...a,sections:a.sections.map(o=>({...o,links:qo(o.links,n)}))}),$=a=>{var n,o,t,i;return[((n=a==null?void 0:a.facebookLink)==null?void 0:n.url)&&{link:a.facebookLink,icon:"logo-icon-facebook",ariaLabel:"global.accessibility.social.facebook"},((o=a==null?void 0:a.instagramLink)==null?void 0:o.url)&&{link:a.instagramLink,icon:"logo-icon-instagram",ariaLabel:"global.accessibility.social.instagram"},((t=a==null?void 0:a.linkedInLink)==null?void 0:t.url)&&{link:a.linkedInLink,icon:"logo-icon-linkedin",ariaLabel:"global.accessibility.social.linkedin"},((i=a==null?void 0:a.youtubeLink)==null?void 0:i.url)&&{link:a.youtubeLink,icon:"logo-icon-youtube",ariaLabel:"global.accessibility.social.youtube"}].filter(e=>!!e)},Yo=["disabled"],Xo=oo({__name:"MoleculeLanguageSwitchButton",props:{value:{},options:{}},setup(a,{emit:n}){const o=a,t=n,{t:i}=G(),e=_(()=>o.options.find(l=>l!==o.value)),r=()=>{e.value&&t(S.INPUT_CHANGE,e.value)};return(l,c)=>(p(),m("button",{type:"button",class:"btn btn-link p-0 btn-focus-visible-dotted",disabled:!e.value,onClick:r},[T(F,{name:"earth",class:"me-8 text-primary-500","aria-hidden":"true"}),V(h(y(i)("footer.switchLocale")),1)],8,Yo))}}),Jo={class:"container"},Qo={key:0,class:"wrapper-content"},oe=["aria-expanded","aria-controls","tabindex","onClick"],ee=["id"],te={class:"footer-section-list"},ae=["id","onClick"],le={class:"wrapper-border-links pt-24 pt-xxl-0"},ne={class:"mb-0 d-flex align-items-center py-8"},re={class:"me-8"},ie={key:1,class:"wrapper-social py-48 py-xxl-32"},se={key:0,class:"bottom-actions"}
1,ce=["onClick"],ue=["aria-label"],be=oo({__name:"Footer",props:{story:{},onlyBottom:{type:Boolean,default:!1},hideBottomActions:{type:Boolean,default:!1},locales:{default:()=>[]},langSwitcherOptions:{default:()=>[]},localeRef:{default:""},langMenuOptions:{},onLangSwitch:{}},setup(a,{emit:n}){const o=q(),t=mo[o.public.webId].countryCode,i=ko(),e=eo(),r=Po(),{t:l,locale:c}=G(),u=to(),s=u.$pages,k=u.$externalPages,K=Vo(o.public.webId),d=a,Z=n,U=_(()=>{const b=d.localeRef||c.value;return Zo(K({pages:s,externalPages:k,locale:b,story:d.story},Z),b)}),ao=_(()=>U.value.bottomLinks.filter(b=>!!b.to)),M=_(()=>d.localeRef||c.value),lo=_(()=>To[M.value]||M.value),O=_(()=>r.isLessThan("xxl")),H=B({}),no=b=>{O.value&&(H.value[b]=!H.value[b])},Y=b=>H.value[b]??!1,X=b=>O.value?Y(b):!0,{onSectionEnter:ro,onSectionLeave:io}=Oo({shouldAnimate:()=>O.value,withOpacity:!0}),so=async b=>{Z(S.INPUT_CHANGE,b);const w=i(e.fullPath,b);await vo(w)},co=b=>{var w;(w=d.onLangSwitch)==null||w.call(d,b)},uo=_(()=>`© ${new Date().getFullYear()} ${l(U.value.companyName)}`),bo=b=>{Co(b,{goal:"Download mobile app",name:"Click on mobile apps download badge"})},po=()=>{var b;(b=window.CookieFirst)==null||b.openPanel()};return(b,w)=>(p(),m("div",{class:j(["footer",{"pt-48 pb-24 pb-xxl-0":!d.onlyBottom}])},[P("div",Jo,[d.onlyBottom?A("",!0):(p(),m("div",Qo,[(p(!0),m(N,null,I(U.value.sections,(f,g)=>(p(),m("div",{key:`${f.title}-${g}`},[P("button",{class:"title mb-0",type:"button","aria-expanded":O.value?X(g):void 0,"aria-controls":O.value?`footer-section-${g}`:void 0,tabindex:O.value?0:-1,onClick:v=>no(g)},[P("span",null,h(y(l)(f.title)),1),T(F,{class:j(["title-icon d-xxl-none",{"title-icon-open":Y(g)}]),name:"navigation-icon-chevron-down"},null,8,["class"])],8,oe),T(_o,{css:!1,onEnter:y(ro),onLeave:y(io)},{default:D(()=>[X(g)?(p(),m("div",{key:0,id:`footer-section-${g}`,class:"footer-section-wrapper"},[P("ul",te,[(p(!0),m(N,null,I(f.links,(v,fo)=>(p(),m("li",{key:`${v.label}-${fo}`},[v.action?(p(),m("button",{key:0,id:v.id,type:"button",class:"link link-button",onClick:ke=>v.action()},h(y(l)(v.label)),9,ae)):v.to?(p(),C(R,{key:1,class:"link",to:v.to,"new-window":v.newTab},{default:D(()=>[V(h(y(l)(v.label)),1)]),_:2},1032,["to","new-window"])):A("",!0)]))),128))])],8,ee)):A("",!0)]),_:2},1032,["onEnter","onLeave"])]))),128)),P("div",le,[(p(!0),m(N,null,I(U.value.callToActionLinks,(f,g)=>(p(),C(R,{key:`${f.label}-${g}`,to:f.to,class:"border-link"},{default:D(()=>[P("p",ne,[P("span",re,h(y(l)(f.label)),1),T(F,{md:"",name:"navigation-icon-arrow"})]),f.showMobileAppsDownload?(p(),C($o,{key:0,class:"pb-8 d-xxl-none",column:"","country-code":y(t),"onTrack:click":bo},null,8,["country-code"])):A("",!0)]),_:2},1032,["to"]))),128))])])),d.onlyBottom?A("",!0):(p(),m("div",ie,[(p(!0),m(N,null,I(U.value.socialLinks,(f,g)=>(p(),C(R,{key:`${f.icon}-${g}`,to:f.to,"aria-label":y(l)(f.ariaLabel)},{default:D(()=>[T(F,{class:"icon-social",name:f.icon},null,8,["name"])]),_:2},1032,["to","aria-label"]))),128))])),P("div",{class:j(["wrapper-low-bottom py-24",{"border-top-0":d.onlyBottom}])},[P("span",null,h(uo.value),1),d.hideBottomActions?A("",!0):(p(),m("div",se,[(p(!0),m(N,null,I(ao.value,(f,g)=>(p(),C(R,{key:`${f.label}-${g}`,to:f.to},{default:D(()=>[V(h(y(l)(f.label)),1)]),_:2},1032,["to"]))),128)),P("a",{href:"#",onClick:w[0]||(w[0]=yo(f=>po(),["prevent"]))},h(y(l)("global.footer.cookiesSettings")),1),d.langMenuOptions&&d.langMenuOptions.length>1&&d.onLangSwitch?(p(),C(Eo,{key:M.value,options:d.langMenuOptions,"onSelect:option":co},{trigger:D(({handleClick:f,menuVisible:g})=>[P("div",{onClick:f},[P("button",{type:"button",class:"btn btn-link p-0 d-inline-flex align-items-center gap-8","aria-label":y(l)("ariaLabel.openLangMenu")},[T(F,{name:"map-icon-globe",class:"text-primary-500"}),P("span",null,h(lo.value),1),T(F,{name:"navigation-icon-chevron-down",md:"",class:"text-grey-700",rotate180:g},null,8,["rotate180"])],8,ue)],8,ce)]),_:1},8,["options"])):d.langSwitcherOptions.length>1?(p(),C(Xo,{key:1,class:"language-switch-button",options:d.langSwitcherOptions,value:d.localeRef,"onInput:change":so},null,8,["options","value"])):A("",!0)]))],2)])],2))}}),Ce=ho(be,[["__scopeId","data-v-5f35c3c6"]]),pe=(a,n,o)=>{let t=a.locales.map(i=>i.code);try{const i=Object.entries(n.allPages);if(!o.matched[0])return t;let e=o.matched[0].path;if(a.locale!==a.defaultLocale&&(e=e.replace(`/${a.locale}`,"")),e===""||e.replace(`/${n.webId}
1`,n.webId)===n.webId)return Q(a).forEach(r=>{n.allPages.index[r]||(t=t.filter(l=>l!==r))}),t;e=e.replace("()",""),Object.keys(o.params).forEach(r=>{e=e.replace(`:${r}`,`[${r}]`)});for(const[r,l]of i)if(l[a.locale]===e)return Q(a).forEach(c=>{l[c]||(t=t.filter(u=>u!==c))}),de(t,o)}catch(i){return console.error(i),t}return t};function Q(a){const n=[],o=a.locales.filter(t=>t.code);return n.push(...o.map(t=>t.code)),n}const fe={[x.CZ]:W.CS,[x.SK]:W.SK,[x.HU]:W.HU,[x.RO]:W.RO};function de(a,n){const{name:o,params:t}=n;if(["marketingConsent-slug","priceList-slug","privacyPolicy-slug","termsConditions-slug","termsConditionsApp-slug"].some(e=>o.includes(e))){const{slug:e}=t,r=[W.EN],l=fe[e];return l&&r.push(l),r}return a}function Te(){const{locale:a}=G(),n=eo(),t=to().$pages,i=q(),e=B(i.public.i18n.locales.map(K=>K.code)),r=So(),l=i.public.i18n.defaultLocale,c=_(()=>r.value?[l]:pe({locale:a.value,locales:i.public.i18n.locales,defaultLocale:l},i.public,n)),u=B(!1);return{widget:u,openWidget:()=>{u.value=!0,Lo(()=>{window.scrollTo(0,0)})},closeWidget:()=>{u.value=!1},pageLocales:c,route:n,pages:t,locales:e}}const ge=async(a,n,o,t)=>{var e;const i=(e=o==null?void 0:o.$dataPayload)==null?void 0:e.storyblok;if(!i){const r={locale:n,t:t||(s=>s)},[l,c,u]=await Promise.all([z(o,"terms",{},!1,r),z(o,"notificationbar",{},!1,r),z(o,"navbar",{},!1,r)]);return{terms:l,notificationBar:c,navbar:u}}return{terms:i.terms[n],notificationBar:i.notificationBar[n],navbar:i.navbar[n]}},me=a=>{var n,o,t;return!!((n=a==null?void 0:a.terms)!=null&&n.story&&((o=a==null?void 0:a.notificationBar)!=null&&o.story)&&((t=a==null?void 0:a.navbar)!=null&&t.story))};async function Ee(a={}){const{keepLastValid:n=!0}=a,o=q(),{locale:t,t:i}=G(),e=wo(),{data:r}=await Do(`layout-storyblok-data-${o.public.webId}-${t.value}`,async k=>await ge(o.public.webId,t.value,k,i),{watch:[t],dedupe:"defer"}),l=_(()=>r.value),c=B(l.value),u=()=>Ao(()=>{me(l.value)&&(c.value=l.value)});e?e.run(u):u();const s=_(()=>n?c.value:l.value);return{terms:_(()=>{var k;return(k=s.value)==null?void 0:k.terms}),notificationBar:_(()=>{var k;return(k=s.value)==null?void 0:k.notificationBar}),navbar:_(()=>{var k;return(k=s.value)==null?void 0:k.navbar})}}export{Ce as F,Te as a,Ee as u}; 2//# sourceMappingURL=B7hYx3KJ.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.