import{b as L,x as C}from"./AHiYuuv4.js";import{_ as D}from"./mh-Uoghq.js";import{_ as $}from"./u4dmiDIy.js";import{_ as S}from"./Mdr7WhYV.js";import{u as T}from"./D0Qws29C.js";import{u as V}from"./_Fx3VLSE.js";import{u as _}from"./BQkHUO2l.js";import{l as H,a0 as d,k as i,u as r,E as l,P as u,L as n,V as a,F as M,U as A,Q as E}from"./DEIzhR9A.js";import"./B5Zp2Vr1.js";import"./McvZN_Cb.js";import"./DNLPUXkS.js";import"./Cn5bykuR.js";import"./CnNLDKMN.js";import"./WIGXBe3c.js";import"./D8sTzVSg.js";import"./CdTn0kqS.js";import"./BNS08PCs.js";import"./ArJcqVXA.js";import"./DW-wVgF4.js";import"./C4LJZt9n.js";import"./BXzz6d_D.js";import"./CXSUenga.js";import"./BZRkhowF.js";import"./aaK5HZ8-.js";import"./nLZJejse.js";const F={key:0,class:"container space-y-2 py-4"},U={key:1,class:"container mb-24"},j={class:"pt-4"},I={class:"mb-36 mt-5 box-border w-full md:mt-8 md:flex md:justify-center md:px-48 md:align-middle"},P={class:"md:w-[880px]"},Q={class:"mt-8 text-md md:mt-5"},q={class:"mt-2 md:w-1/2"},z=["innerHTML"],ht=H({name:"Newsletter",__name:"index",async setup(G){let s,c;const w=T(),{fetchByFolder:f,fetchBySlug:h}=V(),{data:x,pending:y}=([s,c]=d(()=>_("newsletter-banner",()=>f("newsletter-banner"))),s=await s,c(),s),{data:m,pending:v}=([s,c]=d(()=>_("newsletter",()=>h("newsletter"))),s=await s,c(),s),p=i(()=>{var t,e,o;return(o=(e=(t=x.value)==null?void 0:t[0])==null?void 0:e.content)==null?void 0:o[w.isMobile?"imagemobile":"imagedesktop"]}),b=i(()=>{var t,e;return(e=(t=m.value)==null?void 0:t.content)==null?void 0:e.upper_text}),g=i(()=>{var t,e;return(e=(t=m.value)==null?void 0:t.content)!=null&&e.lower_text?C(m.value.content.lower_text):""});return(t,e)=>{const o=L,k=D,B=$,N=S;return r(y)||r(v)?(l(),u("div",F,[n(o,{type:"headline",class:"mb-10"}),n(o,{type:"custom",class:"h-6 w-72"}),n(o,{type:"custom",class:"h-6 w-48"}),n(o,{type:"custom",class:"h-6 w-96"}),n(o,{type:"custom",class:"h-6 w-72"})])):(l(),u("div",U,[a("div",j,[n(k,{links:[{value:"Home",to:"/"},{value:"Newsletter",to:"/newsletter"}]})]),a("div",I,[a("div",P,[r(p)?(l(),M(B,{key:0,provider:"storyblok",src:r(p),alt:"Newsletter",width:"100%"},null,8,["src"])):A("",!0),a("p",Q,E(r(b)),1),a("div",q,[n(N,{origin:"newsletter"})]),a("div",{class:"footer-newsletter-info text-xs text-gray-600",innerHTML:r(g)},null,8,z)])])]))}}});export{ht as default};