1import{_ as P}from"./DkVxnX7_.js";import{_ as C}from"./PwbWRGLf.js";import{_ as B}from"./DQzisBN3.js";import{d as w,a as z,c as A,e as D,w as $,f as L,g as p,h as a,i,E,B as F,k as _,C as N,F as S,t as j,l as m,m as H,D as q,s as I,K,n as M,p as o}from"./mFtu-GWA.js";import{u as R}from"./402GO_7q.js";import"./BgXB2hYW.js";import"./C3W-eugM.js";const X=w({__name:"[slug]",async setup(V){let n,g;const{params:{slug:d}}=z(),{locale:h,t:l}=A(),{find:f}=D(),{data:b}=([n,g]=$(()=>H(`project-page-${d}-${h.value}`,()=>f("project-sections",{locale:h.value,populate:[...q,...I,...K,"localizations"],filters:{slug:{$eq:d}},pagination:{start:0,limit:1}}),{getCachedData:t=>{const s=M();return s.payload.data[t]||s.static.data[t]}})),n=await n,g(),n),e=m(()=>b.value?.data?.[0]);if(!e.value)throw L({statusCode:404,fatal:!0,statusMessage:"Page Not Found",message:l("errorPage.404.subtitle"),data:{info:l("errorPage.404.info"),ctaLabel:l("errorPage.404.ctaLabel")}});const k=m(()=>{const t=e.value?.localizations;if(!t)return;const s=t.reduce((r,{locale:c,slug:u})=>(r[c]={slug:u},r),{});return{[e.value.locale]:{slug:e.value.slug},...s}}),v=m(()=>e.value?.seo);return R(v,{i18nParams:k}),(t,s)=>{const r=P,c=C,u=B;return o(),p("div",null,[a(e)?.page_header?(o(),i(r,E(F({key:0},{...a(e).page_header})),null,16)):_("",!0),a(e)?.page_header.anchor_buttons?.length?(o(),i(c,{key:1,buttons:a(e).page_header.anchor_buttons,"active-color":a(e)?.page_header.color_title,class:"mt-15"},null,8,["buttons","active-color"])):_("",!0),a(e)?.blocks?.length?(o(),p("div",{key:2,class:N(["flex flex-col gap-y-20 lg:gap-y-30 bg-white",a(e)?.page_header?.anchor_buttons?.length||!a(e)?.page_header.image?"mt-5":"mt-20 lg:mt-32"])},[(o(!0),p(S,null,j(a(e).blocks,(x,y)=>(o(),i(u,{key:`block-${y}`,"block-data":x},null,8,["block-data"]))),128))],2)):_("",!0)])}}});export{X as default};
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.