1import{_ as D}from"./CuuSdZQj.js";import{_ as L}from"./CoP5ja-j.js";import{a_ as A,b0 as B,O as I,b1 as U,b7 as $,ax as q,aI as E,b3 as F,aB as G,aD as N,r as u,b8 as m,aK as o,aM as p,aq as s,A as _,k as R,u as d,F as S,ay as T,s as V}from"./BfouYn1O.js";import{_ as W}from"./C4mTd1gg.js";import{u as H}from"./CmG2gJ3n.js";import{u as f}from"./BQYsjITR.js";import"./Cvcc1m54.js";function K(){const r=A(),e=B();return{fetch:async()=>await r.findGlobal({slug:"projectsGlobal",depth:1,draft:!!e.query.preview})}}const O={key:0,class:"mt-8 flex flex-col gap-y-4 md:gap-y-20"},ot=I({__name:"index",async setup(r){let e,n;const{fetch:i}=K(),g=H(),{public:{baseUrl:y}}=U(),[{data:h},{pending:b,data:x}]=([e,n]=$(()=>Promise.all([p("project-meta",()=>i()),p("project-industry",()=>g.fetch())])),e=await e,n(),e),{data:j}=f({initialData:h.value,depth:1}),{data:c}=f({initialData:x.value,depth:2}),a=q(c.value);if(!c)throw E({statusCode:404});const t=j.value?.meta;return F({title:t?.title?`${t.title} | Webamboos`:"Projects | Webamboos",description:t?.description,ogUrl:`${y}/projects`,ogTitle:t?.ogTitle||t?.title,ogDescription:t?.ogDescription||t?.description,ogImage:N(t?.image),ogImageAlt:G(t?.image)}),(v,z)=>{const P=D,w=L,k=R,C=W;return s(),u(C,{pending:o(b)},{default:m(()=>[_(k,{class:"screen-content flex-1 px-0 pb-32"},{default:m(()=>[_(P,{title:o(a).industry?o(a).industry.name:v.$t("home.projects.title")},null,8,["title"]),o(a)?(s(),d("section",O,[(s(!0),d(S,null,T(o(a).projects,(l,M)=>(s(),u(w,{key:l.slug,project:l,industry:o(a).industry,"is-mirrored":M%2!==0},null,8,["project","industry","is-mirrored"]))),128))])):V("",!0)]),_:1})]),_:1},8,["pending"])}}});export{ot as default}; 2//# sourceMappingURL=DX2vtRYr.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.