import{_ as k}from"./DUUPk-bm.js";import{x as I,u as E,a as w,w as P,c as B,t as D,d as b,e as C,r as p,f as d,g as S,h as s,i as A,j as N,k as V,l as $,E as j,v as q,o as v}from"./DbhFtoGo.js";import{u as z}from"./Bj5sKZD6.js";const L={__name:"[slug]",async setup(R){var r,c,l,u,i;let a,n;const{locale:y}=E(),t=w(),{data:e,error:o}=([a,n]=P(()=>$({key:`designers-${t.params.slug}`,query:j,variables:{site:y.value,slug:t.params.slug,section:"designers"},route:t})),a=await a,n(),a);return B(e.value.entry,"overlay"),(o.value||e.value&&!e.value.entry)&&D(o.value),e.value,z((r=e.value.entry)==null?void 0:r.seo,(c=e.value.entry)==null?void 0:c.title,(l=e.value.entry)==null?void 0:l.description,(i=(u=e.value.entry.mainImage)==null?void 0:u[0])==null?void 0:i.url),b()(C(e.value.entry)),(g,G)=>{var m;const f=k,h=q,_=p("pad"),x=p("lay");return d((v(),S("main",null,[(m=s(e).entry.sections)!=null&&m.length?(v(),A(f,{key:0,data:{sections:s(e).entry.sections}},null,8,["data"])):N("",!0),d(V(h,{type:"collections",data:{heading:g.$t("collection",2),designers:[s(t).params.slug],hideIfEmpty:!0}},null,8,["data"]),[[_,{x:"m"}]])])),[[_,{bottom:"m"}],[x,{gap:"xxl"}]])}}},M=I(L,[["__scopeId","data-v-7216ccf8"]]);export{M as default};