PageSourceSearch

https://www.lobkowicz.cz/_nuxt/W0titOrx.js

js lobkowicz.cz collected 2026-10-02 10:37:21 UTC 17,101 bytes, 9 lines download raw bytes

1import{a as O,_ as U,c as oe,d as se,b as ae}from"./DOVfzyYL.js";import{d as V,g as M,c as v,a2 as ie,a3 as ce,h as z,L as re,a as n,o as e,n as q,u as t,e as l,K as H,b as k,s as N,f as x,t as p,A as $,F as y,D as I,v as h,H as ue,N as Q,S as Y,a4 as _e,U as me,i as de,T as j,I as G,X as ve,z as pe,Z as he,w as R,O as fe,a5 as ge,P as K,a1 as ke,Q as be,r as $e}from"./TvATKHO3.js";import{p as E,u as X}from"./D3NKxllR.js";import{_ as we,a as ye,b as Ce}from"./BE6qgGLL.js";const Le={class:"nav-menu__inner"},Ie={class:"nav-menu__left"},Pe={class:"nav-menu__sidelinks"},Be={class:"nav-menu__center"},Se={class:"nav-menu__items-wrapper"},Ze={key:0},xe={class:"nav-menu__items"},Fe={class:"nav-menu__link"},Te={class:"btn btn--white btn--circle"},Ee={key:0,class:"nav-menu__items-wrapper"},Me={key:0},Ne={class:"nav-menu__link"},We={class:"btn btn--white btn--circle"},Ae={key:0,class:"nav-menu__right"},Ve={key:0},De={class:"nav-menu__items"},Oe={class:"nav-menu__link"},Ue={class:"btn btn--white btn--circle"},He={key:1,class:"nav-menu__mobile-footer"},Re=V({__name:"NavigationMenu",props:{title:{},slug:{},ctaLink:{},sidelinks:{},items:{},mobile:{type:Boolean}},emits:["close"],setup(W,{emit:g}){const s=W,r=g,c=M(null),C=M(!1),i=o=>o.sort((a,d)=>(a.order||0)-(d.order||0)),u=v(()=>i(s.items||[])),P=v(()=>u.value[0]?.slug==="#"&&u.value[0]?.children?.length),F=v(()=>u.value[1]?.slug==="#"&&u.value[1]?.children?.length),Z=v(()=>P.value?i(u.value[0].children||[]):u.value?.slice(0,5)||[]),w=v(()=>F.value?i(u.value[1].children||[]):u.value?.slice(5)||[]),L=v(()=>ie().width.value<=1014),{direction:B,lengthX:T}=ce(c,{onSwipe(){B.value==="right"&&Math.abs(T.value)>40&&r("close")}}),m=o=>o.model?.model?.hero_settings?.hero_nav_title||o.title||"";z(()=>setTimeout(()=>C.value=!0,1e3));const f=v(()=>["nav-menu",{"nav-menu--mobile":s.mobile},{"nav-menu--revealed":C.value},{"nav-menu--collapse-cols":L.value},{"nav-menu--three-col":!L.value&&w.value.length}]);return(o,a)=>{const d=O,b=U,S=re("check-overflow");return e(),n("div",{ref_key:"el",ref:c,class:q(t(f))},[a[5]||(a[5]=l("div",{class:"nav-menu__overlay"},null,-1)),l("div",Le,[l("div",Ie,[H((e(),n("h2",null,[x(p(s.title),1)])),[[S]]),!s.mobile&&s.slug&&s.slug!=="#"?(e(),N(d,{key:0,to:t(E)(s.ctaLink||s.slug),onClick:a[0]||(a[0]=_=>r("close")),class:"btn btn--gold"},{default:$(()=>[x(p(o.$t("navigation.more_info")),1)]),_:1},8,["to"])):k("",!0),l("ul",Pe,[(e(!0),n(y,null,I(s.sidelinks,_=>(e(),n("li",null,[h(d,{to:t(E)(_.cta_link),class:"link"},{default:$(()=>[x(p(_.cta),1)]),_:2},1032,["to"])]))),256))])]),H((e(),n("div",Be,[l("div",Se,[t(P)?(e(),n("h4",Ze,p(t(u)[0]?.title),1)):k("",!0),l("ul",xe,[(e(!0),n(y,null,I(t(Z),_=>(e(),n("li",Fe,[h(d,{to:t(E)(_.model?.full_url||_.slug),onClick:a[1]||(a[1]=A=>r("close"))},{default:$(()=>[l("span",null,p(m(_)),1),l("span",Te,[h(b,{name:"arrow-forward"})])]),_:2},1032,["to"])]))),256))])]),(s.mobile||t(L))&&t(w).length?(e(),n("div",Ee,[t(F)?(e(),n("h4",Me,p(t(u)[1]?.title),1)):k("",!0),l("ul",{class:"nav-menu__items",style:ue({"--extra-delay":`${t(Z).length*100}ms`})},[(e(!0),n(y,null,I(t(w),_=>(e(),n("li",Ne,[h(d,{to:t(E)(_.model?.full_url||_.slug),onClick:a[2]||(a[2]=A=>r("close"))},{default:$(()=>[l("span",null,p(m(_)),1),l("span",We,[h(b,{name:"arrow-forward"})])]),_:2},1032,["to"])]))),256))],4)])):k("",!0)])),[[S]]),s.mobile?k("",!0):H((e(),n("div",Ae,[t(F)?(e(),n("h4",Ve,p(t(u)[1]?.title),1)):k("",!0),l("ul",De,[(e(!0),n(y,null,I(t(w),_=>(e(),n("li",Oe,[h(d,{to:t(E)(_.model?.full_url||_.slug),onClick:a[3]||(a[3]=A=>r("close"))},{default:$(()=>[l("span",null,p(m(_)),1),l("span",Ue,[h(b,{name:"arrow-forward"})])]),_:2},1032,["to"])]))),256))])])),[[S]]),s.mobile?(e(),n("div",He,[s.ctaLink&&s.slug!=="#"?(e(),N(d,{key:0,to:t(E)(s.ctaLink||s.slug),onClick:a[4]||(a[4]=_=>r("close")),class:"btn btn--gold"},{default:$(()=>[x(p(o.$t("navigation.more_info")),1)]),_:1},8,["to"])):k("",!0)])):k("",!0)])],2)}}}),ze={class:"nav__inner"},Ge={class:"nav__main"},Ke={class:"nav__item"},Xe=["onClick"],qe=["aria-label"],Qe={class:"nav__right",role:"menu"},Ye={key:0,class:"nav__cta"},je={key:1,class:"nav__cta"},Je={class:"nav__item nav__item--lang"},et=["href","lang","hreflang"],tt=V({__name:"Navigation",props:{items:{},altLangPath:{}},setup(W){const g=W,s=M(null),r=M(null),c=M(null),C=v(()=>g.items.sort((o,a)=>(o.order||0)-(a.order||0))),i=M("full"),u=M(!1),{locale:P}=Q(),F=Y(),Z=v(()=>
1P.value==="cs"?"en":"cs"),w=o=>o.model?.model?.hero_settings?.hero_nav_title||o.model?.model?.hero_settings?.hero_title||o.title,L=o=>{c.value=c.value===o?null:o},B=()=>{if(!r.value)return;if(window.innerWidth<1280){i.value="mobile";return}const d=r.value.style.cssText;r.value.style.cssText=`
2    position: absolute; 
3    visibility: hidden; 
4    display: flex !important; 
5    width: auto !important; 
6    flex: none !important;
7    white-space: nowrap !important;
8  `;const b=r.value.clientWidth;if(r.value.style.cssText=d,b===0)return;const S=1276,_=90,A=100,J=42,ee=(S-_)/2-b,te=S-A-J-b,le=ee>0,ne=te>0;let D="mobile";le?D="full":ne?D="compact":D="mobile",i.value=D,i.value!=="mobile"&&u.value&&T()};z(()=>{B(),window.addEventListener("resize",B)});const T=()=>{c.value=null,u.value=!1,document.body.style.overflow=""},m=()=>{window.scrollTo(0,0),u.value?T():(u.value=!0,setTimeout(()=>document.body.style.overflow="hidden",500))};_e(s,()=>c.value=null),me().beforeEach(T);const f=v(()=>["nav",`nav--${i.value}`,{"menu-open":i.value==="mobile"?u.value&&!!c.value:!!c.value},{"mobile-open":u.value}]);return de(()=>{window.removeEventListener("resize",B)}),(o,a)=>{const d=Re,b=O,S=U;return e(),n("nav",{ref_key:"el",ref:s,class:q(t(f))},[h(j,null,{default:$(()=>[(t(i)==="mobile"?t(u)&&t(c):t(c))?(e(),N(d,{key:0,title:w(t(c)),slug:t(c)?.slug,"cta-link":t(c)?.model?.full_url,items:t(c)?.children,sidelinks:t(c)?.model?.model?.side_links||[],mobile:t(i)==="mobile",onClose:a[0]||(a[0]=_=>c.value=null)},null,8,["title","slug","cta-link","items","sidelinks","mobile"])):k("",!0)]),_:1}),l("div",ze,[l("div",Ge,[l("ul",{ref_key:"linksEl",ref:r,class:"nav__links",role:"menu"},[(e(!0),n(y,null,I(t(C),_=>(e(),n("li",Ke,[h(b,{to:t(E)(_.model.full_url||_.slug),role:"menuitem"},{default:$(()=>[l("span",{onClick:G(A=>L(_),["prevent"]),role:"link"},p(_.title),9,Xe)]),_:2},1032,["to"])]))),256))],512),t(i)==="mobile"?(e(),n("button",{key:0,class:"nav__back",onClick:a[1]||(a[1]=_=>c.value=null),"aria-label":o.$t("navigation.back")},[h(S,{name:"arrow-left"})],8,qe)):k("",!0)]),h(b,{to:t(F)("/"),class:"nav__logo","aria-label":o.$t("navigation.home")},{default:$(()=>[...a[2]||(a[2]=[l("svg",{width:"110",height:"32",fill:"#fff",viewBox:"0 0 110 32"},[l("path",{d:"m100.29 31.67 9.03.02.54-3.85-.49-.05-.6 1.23c-.87 1.81-1.19 1.96-2.93 1.96h-3.16l6.81-10.31-.1-.51-7.65-.02-.83-.64-.19.08-.42 4.08.49.05.4-.82c.99-2.01 1.07-2.04 2.98-2.04h2.81l-6.8 10.31.1.51Zm-12.64-5.76c0 3.66 2.96 5.93 6.04 5.93a9.7 9.7 0 0 0 4.24-.97l.38-3.2-.48-.06-.6 1.25a3.77 3.77 0 0 1-3.54 2.29c-2.27 0-3.73-2.13-3.73-5.23 0-3.13 1.46-5.24 3.73-5.24 1.56 0 2.73.92 3.5 2.44l.49.92.48-.05-.23-2.95A9.62 9.62 0 0 0 93.69 20c-3.08 0-6.04 2.27-6.04 5.93Zm-6.94 5.29.01.5 2.58-.03 2.58.02.01-.5c-1.03-.16-1.55-.4-1.55-.73v-9.09c0-.33.52-.57 1.55-.74l-.01-.5-2.58.03-2.58-.02-.01.5c1.03.16 1.55.4 1.55.73v9.09c0 .33-.52.57-1.55.74Zm-16.6-9.66 3.68 10.2h.65l3.05-8.05 2.92 8.05h.66l3.64-9.63c.42-1.1.62-1.23 1.7-1.48l-.02-.5-1.83.03-2.15-.02-.02.5c1.59.24 1.72.39 1.34 1.5l-2.3 6.64-2.57-7.24c-.16-.44.37-.74 1.57-.9l-.02-.5-2.76.02-2.27-.02-.02.5c1.07.24 1.14.39 1.34.9l.3.84-2.2 6.38-2.52-7.22c-.16-.44.31-.74 1.4-.9l-.01-.5-2.54.02-2.38-.02-.02.5c1.12.24 1.2.39 1.38.9Zm-11.42 4.38c0-3.15 1.42-5.24 3.67-5.24 2.22 0 3.66 2.1 3.66 5.23 0 3.15-1.44 5.24-3.66 5.24-2.25 0-3.67-2.1-3.67-5.23Zm-2.3 0a5.86 5.86 0 0 0 5.97 5.92 5.86 5.86 0 0 0 5.97-5.93A5.86 5.86 0 0 0 56.36 20a5.86 5.86 0 0 0-5.98 5.93ZM37.72 31.2l.02.5 2.57-.03 2.58.02.02-.5c-1.04-.16-1.56-.4-1.56-.73V26.7l1.02-.92 3.52 4.64c.31.43.23.53-1.07.78l.01.5 2.7-.03 2.66.02.01-.5c-1.35-.24-1.43-.34-1.82-.87l-4.48-5.94 2.84-2.6c.92-.82 1.17-.9 2.4-1.15l-.02-.5-2.23.03-2.27-.02-.02.5c1.6.24 1.67.3.78 1.16l-4.03 3.9v-4.33c0-.33.52-.57 1.56-.74l-.02-.5-2.58.03-2.57-.02-.02.5c1.04.16 1.56.4 1.56.73v9.09c0 .33-.52.57-1.56.74Zm-8.18-5.83v-4.52h.93c1.3 0 2.65.6 2.65 2.05 0 1.81-1.42 2.47-2.76 2.47h-.82Zm0 4.03v-3.3h1.1c1.4 0 2.93.69 2.93 2.45 0 1.68-1.19 2.43-2.46 2.43-1.37 0-1.57-.2-1.57-1.58Zm-3.64 1.8.02.5 2.58-.03 2.83.02c2.39.02 4.55-.9 4.55-3.06 0-1.51-1.44-2.78-3.77-2.96 1.95-.41 3.2-1.45 3.2-2.88 0-1.88-2.08-2.67-4.15-2.65l-2.66.02-2.58-.02-.02.5c1.04.16 1.56.4 1.56.73v9.09c0 .33-.52.57-1.55.74ZM14.7 25.9c0-3.14 1.42-5.23 3.66-5.23 2.23 0 3.67 2.1 3.67 5.23 0 3.15-1.44 5.24-3.67 5.24-2.24 0-3.66-2.1-3.66-5.23Zm-2.31 0a5.86 5.86 0 0 0 5.97 5.93 5.86 5.86 0 0 0 5.98-5.93A5.86 5.86 0 0 0 18.35 20a5.86 5.86 0 0 0-5.97 5.93ZM.9 31.2l.02.5h9.7l.54-3.86-.48-.05-.6 1.23c-.86 1.75-1.2 1.96-2.94 1.96h-.93c-1.48 0-1.68-.2-1.68-1.64v-7.97c0-.33.63-.57 1.9-.74l-.02-.5-2.91.03-2.58-.02-.02.5c1.04.16 1.56.4 1.56.73v9.09c0 .33-.52.57-1.56.74Z"}),l("path",{d:"M92.36 5.01h-1.2l-.12.8h1.13l-1.47 6.77c-.5 2.3-.94 3.44-1.77 3.44-.46 0-1.06-.38-1.9-1.15-1.08 1.08-.26 2.05.98 2.05 1.69 0 3.9-1.43 5.28-7.93l.7-3.17h1.8l.13-.8h-1.77l.42-1.93c.25-1.19.42-2.06 1.08-2.06.4 0 .98.36 1.9 1.17 1.07-1.09.25-2.06-1-2.06-1.67 0-3.44 1.43-4.2 4.87Zm-7.85 5.84c0-2.66 1.39-5.35 2.53-5.35.46 0 .7.53.7 1.47 0 2.65-1.39 5.35-2.53 5.35-.47 0-.7-.55-.7-1.47Zm-1.84-.52c0 1.15.63 2.64 2.44 2.64 2.34 0 4.47-2.48 4.47-5.47 0-1.16-.65-2.65-2.46-2.65-2.34 0-4.45 2.48-4.45 5.48Zm-15.6 2v.5h9.72l.53-3.85-.48-.05-.6 1.23c-.86 1.75-1.2 1.96-2.94 1.96h-.93c-1.48 0-1.68-.2-1.68-1.65V7.3l1.33.03c1.3.03 1.65.08 1.94 1.83l.5-.02-.03-2.17.03-2.17-.5-.02c-.29 1.74-.64 1.78-1.94 1.81l-1.33.03V1.98h2.88c1.09 0 1.3.17 1.84 1.3l.6 1.24.5-.05-.23-3.2h-9.2l-.02.5c1.04.16 1.56.41 1.56.74v9.08c0 .33-.52.58-1.56.74Zm-9.7-.11c.99.48 2.08.75 3.6.75 2.31 0 4.32-1.46 4.32-3.55 0-3.96-6.26-2.8-6.26-5.94 0-1 .84-1.66 1.9-1.66 1.21 0 2.05.67 2.77 2.07l.48.92.49-.05-.23-2.88a7.42 7.42 0 0 0-3.27-.75c-2.22 0-3.85 1.46-3.85 3.3 0 3.97 6.18 3.13 6.18 6.03 0 1.15-1.1 1.82-2.31 1.82-1.54 0-2.4-.77-3.08-2.1l-.65-1.27-.49.07.4 3.24ZM43.42 1.28l-.02.49c1.04.16 1.56.41 1.56.74v6.04c0 2.8 1.95 4.42 4.45 4.42 2.67 0 4.78-1.57 4.83-4.54l.07-5.03c.02-1.19.17-1.38 1.52-1.63l-.01-.5-1.98.02-2.16-.01-.01.49c1.54.25 1.67.44 1.69 1.63l.06 4.9c.05 2.3-1.35 3.72-3.34 3.72-1.9 0-3.05-1.36-3.05-3.29V2.51c0-.33.57-.58 1.72-.74l-.01-.5-2.75.02-2.57-.01Zm-10.9 5.77c0-3.14 1.42-5.23 3.67-5.23 2.22 0 3.66 2.09 3.66 5.23 0 3.14-1.44 5.23-3.66 5.23-2.25 0-3.67-2.09-3.67-5.23Zm-2.3 0a5.86 5.86 0 0 0 5.97 5.92 5.86 5.86 0 0 0 5.97-5.92 5.86 5.86 0 0 0-5.97-5.92 5.86 5.86 0 0 0-5.98 5.92ZM15.6 12.33l.02.5 2.58-.02 2.57.02.02-.5c-1.04-.16-1.56-.4-1.56-.74V7.23h5.6v4.36c0 .33-.53.58-1.56.74l.01.5 2.58-.02 2.58.02.01-.5c-1.03-.16-1.55-.4-1.55-.74V2.51c0-.33.52-.58 1.55-.74l-.01-.5-2.58.02-2.58-.01-.01.49c1.03.16 1.55.41 1.55.74v3.95h-5.59V2.5c0-.33.52-.58 1.56-.74l-.02-.5-2.57.02-2.58-.01-.02.49c1.04.16 1.56.41 1.56.74v9.08c0 .33-.52.58-1.56.74Z"})],-1)])]),_:1},8,["to","aria-label"]),l("ul",Qe,[o.$t("navigation.cta1","_")!=="_"?(e(),n("li",Ye,[h(b,{to:o.$t("navigation.cta1.link"),
8class:"btn btn--outline",role:"menuitem"},{default:$(()=>[x(p(o.$t("navigation.cta1")),1)]),_:1},8,["to"])])):k("",!0),o.$t("navigation.cta2","_")!=="_"?(e(),n("li",je,[h(b,{to:o.$t("navigation.cta2.link"),class:"btn btn--outline",role:"menuitem"},{default:$(()=>[x(p(o.$t("navigation.cta2")),1)]),_:1},8,["to"])])):k("",!0),l("li",Je,[l("a",{href:g.altLangPath,lang:t(Z),hreflang:t(Z)},p(t(Z).toUpperCase()),9,et)])]),t(i)==="mobile"?(e(),n("a",{key:0,href:"#",class:"nav__burger",onClick:G(m,["prevent"])},[l("span",null,p(o.$t("navigation.burger_label")),1),h(S,{name:t(u)?"close":"menu"},null,8,["name"])])):k("",!0)])],2)}}}),lt={class:"footer"},nt={class:"footer__blocks"},ot={key:0,class:"footer__top"},st={class:"footer__top-left"},at={class:"footer__top-right"},it=["innerHTML"],ct={key:2,class:"footer__link-lists"},rt={class:"desktop-only"},ut={key:3,class:"footer__links"},_t={class:"footer__bottom"},mt={class:"footer__legal"},dt={class:"footer__social"},vt=V({__name:"Footer",props:{blocks:{}},setup(W){const g=W,s=i=>E(i?.full_url||i?.model?.url||i?.model?.slug),r=i=>i?.model?.title||i?.model?.name||i?.name||"",c=i=>i?.model?.__typename==="File",C=v(()=>g.blocks?.find(i=>i.__typename==="SocialFooterBlock")?.socials||[]);return(i,u)=>{const P=oe,F=U,Z=we,w=O,L=ye,B=ae,T=ve;return e(),n("footer",lt,[h(T,{background:"dark-blue"},{default:$(()=>[l("div",nt,[(e(!0),n(y,null,I(g.blocks,m=>(e(),n(y,null,[m.__typename==="LogoLinkBoxesBlock"?(e(),n("div",ot,[l("div",st,[u[0]||(u[0]=l("div",{class:"footer__logo"}
8,null,-1)),l("h3",null,p(m.title),1),m.cta?(e(),N(P,{key:0,text:m.cta,link:m.cta_link,outline:m.cta_outline,color:m.cta_color,query:null},null,8,["text","link","outline","color"])):k("",!0)]),l("div",at,[l("ul",null,[(e(!0),n(y,null,I(m.boxes,f=>(e(),n("li",null,[h(F,{name:f?.icon||"empty"},null,8,["name"]),l("div",{innerHTML:f?.content},null,8,it)]))),256))])])])):k("",!0),m.__typename==="FormBlock"?(e(),n(y,{key:1},[m.form?.uuid?(e(),N(Z,pe({key:0,ref_for:!0},t(se)(m),{id:"newsletter-form"}),null,16)):k("",!0)],64)):k("",!0),m.__typename==="LinkListBlock"?(e(),n("div",ct,[(e(!0),n(y,null,I(m.lists,f=>(e(),n("div",rt,[l("h3",null,p(f?.title),1),l("ul",null,[(e(!0),n(y,null,I(f?.links,o=>(e(),n("li",null,[h(w,{to:s(o),external:c(o),target:c(o)?"_blank":void 0,class:"link"},{default:$(()=>[x(p(r(o)),1)]),_:2},1032,["to","external","target"])]))),256))])]))),256)),h(L,{items:m.lists?.map(f=>`${f?.title}`)||[],class:"mobile-only"},he({_:2},[I(m.lists,(f,o)=>({name:`content-${o}`,fn:$(()=>[l("ul",null,[(e(!0),n(y,null,I(f?.links,a=>(e(),n("li",null,[h(w,{to:s(a),external:c(a),target:c(a)?"_blank":void 0,class:"link"},{default:$(()=>[x(p(r(a)),1)]),_:2},1032,["to","external","target"])]))),256))])])}))]),1032,["items"])])):k("",!0),m.__typename==="LinkListSimpleBlock"?(e(),n("div",ut,[(e(!0),n(y,null,I(m.links,f=>(e(),N(w,{to:s(f),external:c(f),target:c(f)?"_blank":void 0,class:"link"},{default:$(()=>[x(p(r(f)),1)]),_:2},1032,["to","external","target"]))),256))])):k("",!0)],64))),256))]),l("div",_t,[l("div",mt," © 1390–"+p(new Date().getFullYear())+". "+p(i.$t("footer.legal")),1),u[1]||(u[1]=l("div",{class:"footer__bottom-logo"},null,-1)),l("div",dt,[h(B,{items:t(C)},null,8,["items"])])])]),_:1})])}}}),pt={key:0,class:"newsletter-pop-up"},ht={class:"newsletter-pop-up__container"},ft={class:"newsletter-pop-up__container-text"},gt={class:"newsletter-pop-up__container-text__title"},kt={class:"newsletter-pop-up__container-text__description"},bt=V({__name:"NewsletterPopUp",props:{block:{}},setup(W){const g=M(!1);return z(()=>{setTimeout(()=>{(!sessionStorage.getItem("showed-newsletter-popup")||sessionStorage.getItem("showed-newsletter-popup")==="true")&&(g.value=!0)},3e4)}),R(g,s=>{sessionStorage.setItem("showed-newsletter-popup",s.toString())}),(s,r)=>{const c=U,C=O;return e(),N(j,{name:"popup-fade"},{default:$(()=>[t(g)?(e(),n("div",pt,[l("button",{onClick:r[0]||(r[0]=i=>g.value=!1),class:"newsletter-pop-up__close"},[h(c,{name:"close"})]),l("div",ht,[l("div",ft,[l("h2",gt,p(s.$t("popup.title")),1),l("p",kt,p(s.$t("popup.description")),1)]),h(C,{to:"#newsletter-form",class:"btn btn--gold"},{default:$(()=>[x(p(s.$t("popup.button")),1)]),_:1})])])):k("",!0)]),_:1})}}}),$t=Ce(bt,[["__scopeId","data-v-4fc4d8ab"]]),It=V({__name:"default",async setup(W){let g,s;const{locale:r}=Q(),c=ke(),C=fe(),i=Y(),u=ge(),{data:P,error:F}=([g,s]=K(()=>X("GetCommons",v(()=>({})),{key:v(()=>`GetCommons:${r.value}`),watch:[()=>r.value]})),g=await g,s(),g);R(F,d=>{d&&console.error("[commons] error:",d)});const Z=v(()=>P.value?.footer?.find(d=>d.__typename==="FormBlock")||null),w=v(()=>r.value==="cs"?"en":"cs"),L=v(()=>C.meta.id?String(C.meta.id):""),B=v(()=>!!L.value),{data:T,error:m}=([g,s]=K(()=>X("GetPageableById",v(()=>({id:L.value})),{key:v(()=>`GetPageableById:${L.value}:${w.value}`),watch:[()=>L.value,()=>w.value],enabled:v(()=>B.value),headers:v(()=>({"Content-Language":w.value}))})),g=await g,s(),g);R(m,d=>{d&&B.value&&console.error("[altPath] error:",d)});const f=v(()=>{const d=u(w.value)||i(C.fullPath,w.value);if(!B.value)return d;const b=T.value?.pageableById?.full_url;return b?b.startsWith("/")?b:`/${b}`:d}),o=v(()=>c.public.appHost||""),a=v(()=>o.value+C.path);return be(v(()=>({htmlAttrs:{lang:r.value},link:[{rel:"alternate",hreflang:"cs",href:r.value==="cs"?a.value:o.value+f.value},{rel:"alternate",hreflang:"en",href:r.value==="en"?a.value:o.value+f.value}]}))),(d,b)=>{const S=tt,_=vt,A=$t;return e(),n(y,null,[t(P)?.navigation?(e(),N(S,{key:0,items:t(P)?.navigation||[],"alt-lang-path":t(f)},null,8,["items","alt-lang-path"])):k("",!0),l("main",null,[$e(d.$slots,"default")]),h(_,{blocks:t(P)?.footer||[]},null,8,["blocks"]),h(A,{block:t(Z)},null,8,["block"])],64)}}});
8export{It as default};
9//# sourceMappingURL=W0titOrx.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.