import{K as D,B as C,b as o,D as S,aE as I,c4 as N,S as w,L as u,a7 as l,M as r,P as m,T as A,X as E,W as K,N as B,O as L,Q as M,R}from"./vendor-bSWkQivH.js";import{f as F,ap as O}from"./index-Dqv5IkpS.js";import{u as Q}from"./useBreadcrumbs-Bvh8-Tkx.js";const U={key:0,class:"mx-auto mt-7 w-full max-w-screen-2xl px-5 pb-5 md:px-12 lg:pb-10"},z=D({__name:"static-page",setup(W){var p,v,f,h,_;const{staticPage:e}=F(),T=C(()=>{var t,a,s,c;return((a=(t=o(e))==null?void 0:t.settings)==null?void 0:a.name)||((c=(s=o(e))==null?void 0:s.settings)==null?void 0:c.header)||""}),P=Q(()=>[{title:T.value}]),d=S(null),n=I(d),{title:g}=O(((f=(v=(p=e.value)==null?void 0:p.settings)==null?void 0:v.seoInfo)==null?void 0:f.pageTitle)||((_=(h=e.value)==null?void 0:h.settings)==null?void 0:_.name));N({title:()=>n.value?g.value:void 0,description:()=>{var t,a,s;return n.value?(s=(a=(t=e.value)==null?void 0:t.settings)==null?void 0:a.seoInfo)==null?void 0:s.metaDescription:void 0},keywords:()=>{var t,a,s;return n.value?(s=(a=(t=e.value)==null?void 0:t.settings)==null?void 0:a.seoInfo)==null?void 0:s.metaKeywords:void 0},ogUrl:()=>n.value?window.location.toString():void 0,ogTitle:()=>n.value?g.value:void 0,ogDescription:()=>{var t,a,s;return n.value?(s=(a=(t=e.value)==null?void 0:t.settings)==null?void 0:a.seoInfo)==null?void 0:s.metaDescription:void 0},ogType:()=>n.value?"website":void 0});function V(t){switch(t){case"text":return"text-block";case"image":return"image-block";case"title":return"title-block";default:return t}}return(t,a)=>{var b,y,k,x;const s=w("VcBreadcrumbs"),c=w("VcTypography");return o(e)?(r(),u("div",{key:0,ref_key:"staticPageAnchor",ref:d},[!((b=o(e).settings)!=null&&b.hideBreadcrumbs)||(y=o(e).settings)!=null&&y.header?(r(),u("div",U,[(k=o(e).settings)!=null&&k.hideBreadcrumbs?l("",!0):(r(),m(s,{key:0,class:"mb-3",items:o(P)},null,8,["items"])),(x=o(e).settings)!=null&&x.header?(r(),m(c,{key:1,tag:"h1"},{default:A(()=>[E(K(o(e).settings.header),1)]),_:1})):l("",!0)])):l("",!0),(r(!0),u(B,null,L(o(e).content,i=>(r(),u(B,null,[i.hidden?l("",!0):(r(),m(R(V(i.type)),M({key:i.id,ref_for:!0},i,{model:i,settings:o(e).settings}),null,16,["model","settings"]))],64))),256))],512)):l("",!0)}}});export{z as _};
//# sourceMappingURL=static-page.vue_vue_type_script_setup_true_lang-BT67sBlx.js.map
