1import{_ as y}from"./BNQ0lLKn.js";import{_ as H}from"./BY9j1N9o.js";import{d as S,a4 as k,x as B,r as w,N as C,e as s,f as u,i as T,D as $,z as r,A as _,j as x,F as D,g as N,O as v,J as A,B as P}from"./B02tQIA2.js";import"./CcNktRef.js";import"./DjfBmZEQ.js";/* empty css */import"./Cl9ZvYc8.js";import"./BENnvQFo.js";import"./BrOy9ttY.js";import"./D2nQ4SIv.js";import"./CSpEWq_d.js";import"./C69Y2udZ.js";import"./NaHmmjae.js";import"./DJMMB5Se.js";import"./C5zOUy0y.js";import"./Cabti-C1.js";import"./BkI7NlTQ.js";import"./BGZel7jL.js";import"./CMt-MNQ_.js";import"./O2i-QqJ1.js";import"./Bi8XjY1o.js";import"./BThEOIgR.js";import"./Cm72OEh_.js";import"./Bv2Cd5_k.js";import"./Bg-N3K2v.js";import"./DwH8Daha.js";import"./CZAu4WhJ.js";import"./DEx9DSWT.js";import"./D9sx5TZn.js";import"./Cp3ACGiN.js";import"./8owJR5We.js";const V={class:"flex flex-col gap-y-9 pt-3"},W={class:"hidden"},ue=S({name:"HomePage",__name:"index",async setup(j){let i,m;const f=`home-${k()}`,o=([i,m]=B(()=>v(f)),i=await i,m(),i),n=w([]);o!=null&&o.components&&(n.value=o.components.filter(({fields:e})=>e).map(({sys:e,fields:p})=>({type:e.contentType.sys.id==="hardcodedWidget"?p.widget:e.contentType.sys.id,component:{sys:e,fields:p}})));const t=o==null?void 0:o.seoFields;return C({title:(t==null?void 0:t.fields.pageTitle)||"Home",description:(t==null?void 0:t.fields.pageDescription)||"Home page"}),(e,p)=>{var c,d;const a=y,g=H;return s(),u("div",V,[T("h1",W,$(((c=r(t))==null?void 0:c.fields.pageTitle)||`${("useShopname"in e?e.useShopname:r(A))()} Home`),1),(d=r(o))!=null&&d.heroSlider?(s(),_(a,{key:0,slides:("useHero"in e?e.useHero:r(P))(r(o).heroSlider)},null,8,["slides"])):x("",!0),(s(!0),u(D,null,N(r(n),({type:h,component:l})=>(s(),_(g,{key:l.sys.id,type:h,content:l.fields},null,8,["type","content"]))),128))])}}});export{ue 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.