import{u as Oe,_ as ue,S as ye,F as Ce}from"./HeaderDefault.0c250133.js";import{o as t,c as o,a as s,t as $,g as n,n as c,u as h,C as Me,b as O,k as ke,i as Le,h as X,w as he,q as Ee,D as pe,F as W,f as G,p as C,E as fe,r as xe,j as qe,l as je,m as Te,B as He}from"./entry.930512ab.js";import{_ as be}from"./nuxt-link.73344db1.js";const Se=["id"],ze={key:0,class:"b-content-header"},Ne={key:0,class:"b-content-header__caption"},Pe=["innerHTML"],Be=["innerHTML"],Re={class:"o-btn__text"},Ae={key:0,class:"b-content-media__caption"},Ie=["innerHTML"],De=["src"],Jo={__name:"BlockContent",props:{content:Object,auth0:Object,toggleLogin:Object},setup(e){var b,g,x,p,f;let k=Le().public.DIRECTUSPROTECTEDURL;const i=e,r=Oe();i.auth0;const l=()=>{r.authenticated?i.toggleLogin.toggleModal():i.toggleLogin.toggleLoginModal()};let d="",m="",v="";if(i.content.media_aspect_ratio!="none"&&(d=` aspect-ratio aspect-ratio--${i.content.media_aspect_ratio}`,m=` aspect-ratio-item object-fit-${i.content.media_fit}`,m+=" object-position",v=`--pos-horiz:${i.content.media_horizontal_position}; --pos-vert:${i.content.media_vertical_position};`),i.content.media_aspect_ratio=="none"){let _=i.content.media_position?` aspect-ratio-item-none--${i.content.media_position}`:"";d=` aspect-ratio aspect-ratio--${i.content.media_aspect_ratio}`,m=" aspect-ratio-item-none"+_}let u=!1,y=!1;return((b=i.content)==null?void 0:b.media_type)=="image"&&((g=i==null?void 0:i.content)==null?void 0:g.media_layout)=="default"&&((x=i.content.content_image)!=null&&x.id)&&(u=!0),((p=i.content)==null?void 0:p.media_type)=="image"&&((f=i==null?void 0:i.content)==null?void 0:f.media_layout)=="above"&&(y=!0),(_,q)=>{var j,M,E,H,S,z,N,P,L,B,R,A,I,D,F,U,V,Q,J,K,Y,Z,ee,te,oe,ne,ie,se,ae,ce,re,le,de,me;const w=ue;return t(),o("div",{id:(j=e.content)!=null&&j.html_id?(M=e.content)==null?void 0:M.html_id:null,class:c(`b-content${(E=e.content)!=null&&E.background_color?" "+((H=e.content)==null?void 0:H.background_color):""} b-content--${(S=e.content)==null?void 0:S.layout}${(z=e.content)!=null&&z.css?" "+((N=e.content)==null?void 0:N.css):""}${h(u)?" no-padding-bottom":""}${h(y)?" no-padding-top":""}`),ref:"main"},[s("div",{class:c(`b-content-content b-content-content--${(P=e.content)==null?void 0:P.media_layout} l-grid l-grid--c`)},[(L=e.content)!=null&&L.headline||(B=e.content)!=null&&B.caption?(t(),o("div",ze,[(R=e.content)!=null&&R.caption?(t(),o("span",Ne,$((A=e.content)==null?void 0:A.caption),1)):n("",!0),(I=e.content)!=null&&I.headline?(t(),o("h2",{key:1,class:c(`b-content-header__headline text-${(D=e.content)==null?void 0:D.justify_layout}`)},$((F=e.content)==null?void 0:F.headline),3)):n("",!0)])):n("",!0),!e.content.use_custom_text_for_authenticated_users||!h(r).authenticated?(t(),o("div",{key:1,class:c(`b-content-text text-${(U=e.content)==null?void 0:U.justify_layout}`),innerHTML:(V=e.content)==null?void 0:V.text},null,10,Pe)):n("",!0),e.content.use_custom_text_for_authenticated_users&&h(r).authenticated?(t(),o("div",{key:2,class:c(`b-content-text text-${(Q=e.content)==null?void 0:Q.justify_layout}`),innerHTML:(J=e.content)==null?void 0:J.custom_text},null,10,Be)):n("",!0),s("div",{class:c(`b-content-text text-${(K=e.content)==null?void 0:K.justify_layout}`)},[(Y=e.content)!=null&&Y.login_button?(t(),o("button",{key:0,class:"o-btn o-btn--primary",onClick:Me(l,["prevent"])},[s("span",Re,$(h(r).authenticated?"Logout":"Log in / Register"),1)])):n("",!0)],2),((Z=e.content)==null?void 0:Z.media_type)=="image"&&((ee=e.content.content_image)!=null&&ee.id)?(t(),o("div",{key:3,class:c(`b-content-media${h(d)}`)},[O(w,{provider:"directus",loading:"lazy",src:(te=e.content.content_image)==null?void 0:te.id,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",alt:`${e.content.alt?e.content.alt:""}`,style:ke(h(v)),width:(ne=(oe=e.content)==null?void 0:oe.content_image)==null?void 0:ne.width,height:(se=(ie=e.content)==null?void 0:ie.content_image)==null?void 0:se.height,class:c(`b-content-media__img${h(m)}`)},null,8,["src","alt","style","width","height","class"]),e.content.mediacaption?(t(),o("p",Ae,$(e.content.mediacaption),1)):n("",!0)],2)):n("",!0),((ae=e.content)==null?void 0:ae.media_type)=="icon"?(t(),o("div",{key:4,class:c(`b-content-media${h(d)}`)},[O(w,{provider:"directus",loading:"lazy",src:(ce=e.content.icon)==null?void 0:ce.id,style:ke(h(v)),class:c(`b-content-media__img${h(m)}`),alt:e.content.alt},null,8,["src","style","class","alt"])],2)):n("",!0),((re=e.content)==null?void 0:re.media_type)=="embed"?(t(),o("div",{key:5,innerHTML:(le=e.content)==null?void 0:le.embed,class:c(`b-content-media${h(d)}`)},null,10,Ie)):n("",!0),((de=e.content)==null?void 0:de.media_type)=="video"?(t(),o("div",{key:6,class:c(`b-content-media${h(d)}`)},[s("video",{controls:"",class:c(h(m))},[s("source",{src:`${h(k)}${(me=e.content.video)==null?void 0:me.filename_disk}`,type:"video/mp4"},null,8,De)],2)],2)):n("",!0)],2)],10,Se)}}},Fe={key:0,class:"b-content-media__caption"},Ue=["innerHTML"],Ve=["src"],Qe={class:"o-cols-item-content"},We={class:"o-cols-item-header"},Xe={key:0,class:"o-cols-item-caption"},Ge={key:1,class:"o-cols-item-headline"},Je=["innerHTML"],Ke={key:1,class:"o-cols-item b-content-list-item"},Ye={key:0,class:"b-content-media__caption"},Ze=["innerHTML"],et=["src"],tt={class:"o-cols-item-content"},ot={class:"o-cols-item-header"},nt={key:0,class:"o-cols-item-caption"},it={key:1,class:"o-cols-item-headline"},st=["innerHTML"],at={__name:"ObjectContent",props:{promo:Object},setup(e){let k=Le().public.DIRECTUSPROTECTEDURL;const i=e;let r="",l="",d="";return i.promo.media_aspect_ratio!="none"&&(r=` aspect-ratio aspect-ratio--${i.promo.media_aspect_ratio}`,l=` aspect-ratio-item object-fit-${i.promo.media_fit}`,l+=" object-position",d=`--pos-horiz:${i.promo.media_horizontal_position}; --pos-vert:${i.promo.media_vertical_position};`),(m,v)=>{var b,g,x,p,f,_,q,w,j,M,E,H,S,z,N,P,L,B,R,A,I,D,F,U;const u=ue,y=be;return(b=e.promo)!=null&&b.label?(t(),X(y,{key:0,href:e.promo.href,class:"o-cols-item b-content-list-item"},{default:he(()=>{var V,Q,J,K,Y,Z,ee,te,oe,ne,ie,se,ae,ce,re,le,de,me,$e,ve,T,ge,_e;return[((V=e.promo)==null?void 0:V.media_type)=="image"&&((Q=e.promo.media)!=null&&Q.id)?(t(),o("div",{key:0,class:c(`o-cols-item-media${h(r)}`)},[O(u,{provider:"directus",loading:"lazy",src:`${(J=e.promo.media)==null?void 0:J.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",alt:`${(K=e.promo)==null?void 0:K.headline}`,width:(Z=(Y=e.promo)==null?void 0:Y.media)==null?void 0:Z.width,height:(te=(ee=e.promo)==null?void 0:ee.media)==null?void 0:te.height,class:c(`o-cols-item__img${h(l)}`)},null,8,["src","alt","width","height","class"]),e.promo.mediacaption?(t(),o("p",Fe,$(e.promo.mediacaption),1)):n("",!0)],2)):n("",!0),((oe=e.promo)==null?void 0:oe.media_type)=="icon"&&((ne=e.promo.icon)!=null&&ne.id)?(t(),o("div",{key:1,class:c(`o-cols-item-media${h(r)}`)},[O(u,{provider:"directus",loading:"lazy",src:(se=(ie=e.promo)==null?void 0:ie.icon)==null?void 0:se.id,style:ke(h(d)),class:c(`o-cols-item__img${h(l)}`),alt:(ae=e.promo)==null?void 0:ae.alt},null,8,["src","style","class","alt"])],2)):n("",!0),((ce=e.promo)==null?void 0:ce.media_type)=="embed"?(t(),o("div",{key:2,innerHTML:(re=e.promo)==null?void 0:re.embed,class:c(`o-cols-item-media${h(r)}`)},null,10,Ue)):n("",!0),((le=e.promo)==null?void 0:le.media_type)=="video"?(t(),o("div",{key:3,class:c(`o-cols-item-media${h(r)}`)},[s("video",{controls:"",class:c(h(l))},[s("source",{src:`${h(k)}${(de=e.promo.video)==null?void 0:de.filename_disk}`,type:"video/mp4"},null,8,Ve)],2)],2)):n("",!0),s("div",Qe,[s("div",We,[(me=e.promo)!=null&&me.caption?(t(),o("span",Xe,$(($e=e.promo)==null?void 0:$e.caption),1)):n("",!0),(ve=e.promo)!=null&&ve.headline?(t(),o("h2",Ge,$((T=e.promo)==null?void 0:T.headline),1)):n("",!0)]),(ge=e.promo)!=null&&ge.text?(t(),o("div",{key:0,class:"o-cols-item-text",innerHTML:(_e=e.promo)==null?void 0:_e.text},null,8,Je)):n("",!0)])]}),_:1},8,["href"])):(t(),o("div",Ke,[((g=e.promo)==null?void 0:g.media_type)=="image"&&((x=e.promo.media)!=null&&x.id)?(t(),o("div",{key:0,class:c(`o-cols-item-media${h(r)}`)},[O(u,{provider:"directus",loading:"lazy",src:`${(p=e.promo.media)==null?void 0:p.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",alt:`${(f=e.promo)==null?void 0:f.headline}`,width:(q=(_=e.promo)==null?void 0:_.media)==null?void 0:q.width,height:(j=(w=e.promo)==null?void 0:w.media)==null?void 0:j.height,class:c(`o-cols-item__img${h(l)}`)},null,8,["src","alt","width","height","class"]),e.promo.mediacaption?(t(),o("p",Ye,$(e.promo.mediacaption),1)):n("",!0)],2)):n("",!0),((M=e.promo)==null?void 0:M.media_type)=="icon"&&((E=e.promo.icon)!=null&&E.id)?(t(),o("div",{key:1,class:c(`o-cols-item-media${h(r)}`)},[O(u,{provider:"directus",loading:"lazy",src:(S=(H=e.promo)==null?void 0:H.icon)==null?void 0:S.id,style:ke(h(d)),class:c(`o-cols-item__img${h(l)}`),alt:(z=e.promo)==null?void 0:z.alt},null,8,["src","style","class","alt"])],2)):n("",!0),((N=e.promo)==null?void 0:N.media_type)=="embed"?(t(),o("div",{key:2,innerHTML:(P=e.promo)==null?void 0:P.embed,class:c(`o-cols-item-media${h(r)}`)},null,10,Ze)):n("",!0),((L=e.promo)==null?void 0:L.media_type)=="video"?(t(),o("div",{key:3,class:c(`o-cols-item-media${h(r)}`)},[s("video",{controls:"",class:c(h(l))},[s("source",{src:`${h(k)}${(B=e.promo.video)==null?void 0:B.filename_disk}`,type:"video/mp4"},null,8,et)],2)],2)):n("",!0),s("div",tt,[s("div",ot,[(R=e.promo)!=null&&R.caption?(t(),o("span",nt,$((A=e.promo)==null?void 0:A.caption),1)):n("",!0),(I=e.promo)!=null&&I.headline?(t(),o("h2",it,$((D=e.promo)==null?void 0:D.headline),1)):n("",!0)]),(F=e.promo)!=null&&F.text?(t(),o("div",{key:0,class:"o-cols-item-text",innerHTML:(U=e.promo)==null?void 0:U.text},null,8,st)):n("",!0)])]))}}},ct={class:"o-list"},rt=["innerHTML"],lt={key:1,class:"o-list-key"},dt={__name:"ObjectList",props:{promo:Object},setup(e){return(a,k)=>{var i,r,l,d;return t(),o("div",ct,[(i=e.promo)!=null&&i.text?(t(),o("div",{key:0,class:"o-list-value",innerHTML:(r=e.promo)==null?void 0:r.text},null,8,rt)):n("",!0),(l=e.promo)!=null&&l.headline?(t(),o("p",lt,$((d=e.promo)==null?void 0:d.headline),1)):n("",!0)])}}},mt={class:"c-promo"},ht={class:"c-promo-text"},ut={key:0,class:"c-promo-header"},bt={class:"c-promo__headline"},$t={class:"c-promo-body"},vt={key:0,class:"c-promo__paragraph"},gt={__name:"ObjectPromo",props:{promo:Object},setup(e){var l,d,m,v,u,y,b,g;const a=e;let k="",i="";((l=a.promo)==null?void 0:l.media_aspect_ratio)!="none"&&(k=` aspect-ratio aspect-ratio--${(d=a.promo)==null?void 0:d.media_aspect_ratio}`,i=` aspect-ratio-item object-fit-${(m=a.promo)==null?void 0:m.media_fit}`,i+=" object-position",`${(v=a.promo)==null?void 0:v.media_horizontal_position}${(u=a.promo)==null?void 0:u.media_vertical_position}`),((y=a.person)==null?void 0:y.cover)!="none";let r="";return(b=a.promo)!=null&&b.media_hover&&((g=a.promo)!=null&&g.media)&&(r+=" c-promo-media--hover"),(x,p)=>{var q;const f=ue,_=be;return t(),o("div",mt,[O(_,{to:(q=e.promo)==null?void 0:q.href,class:"c-promo-content"},{default:he(()=>{var w,j,M,E,H,S,z,N,P,L,B,R,A,I,D,F,U,V,Q;return[s("div",{class:c(`c-promo-media${h(r)}${h(k)}`)},[O(f,{provider:"directus",loading:"lazy",src:`${(j=(w=e.promo)==null?void 0:w.media)==null?void 0:j.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",alt:`${(M=e.promo)==null?void 0:M.headline}`,width:(H=(E=e.promo)==null?void 0:E.media)==null?void 0:H.width,height:(z=(S=e.promo)==null?void 0:S.media)==null?void 0:z.height,class:c(`c-promo-media__img c-promo-media__img--1${h(i)}`)},null,8,["src","alt","width","height","class"]),(N=e.promo)!=null&&N.media_hover?(t(),X(f,{key:0,provider:"directus",loading:"lazy",src:`${(L=(P=e.promo)==null?void 0:P.media_hover)==null?void 0:L.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",alt:`${(B=e.promo)==null?void 0:B.headline}`,width:(A=(R=e.promo)==null?void 0:R.media_hover)==null?void 0:A.width,height:(D=(I=e.promo)==null?void 0:I.media_hover)==null?void 0:D.height,class:c(`c-promo-media__img c-promo-media__img--2${h(i)}`)},null,8,["src","alt","width","height","class"])):n("",!0)],2),s("div",ht,[(F=e.promo)!=null&&F.headline?(t(),o("div",ut,[s("h2",bt,$((U=e.promo)==null?void 0:U.headline),1)])):n("",!0),s("div",$t,[(V=e.promo)!=null&&V.text?(t(),o("p",vt,$((Q=e.promo)==null?void 0:Q.text.replace(/(<([^>]+)>)/ig,"")),1)):n("",!0)])])]}),_:1},8,["to"])])}}},kt={key:0,class:c("b-cols b-cols--text l-grid l-grid--c")},yt={key:0,class:"b-cols-header"},ft=["innerHTML"],xt={key:2,class:"b-cols-action"},pt={key:0,class:c("b-lists l-grid l-grid--c")},_t={class:"b-lists-header"},wt={key:0,class:"b-lists-header__headline"},Lt=["innerHTML"],qt=["data-promo-items"],jt={key:0,class:"b-promos-content l-grid l-grid--c"},Tt={class:"b-promos-header"},Ot=["innerHTML"],Ct={key:1,class:"b-promos-action"},Mt={class:"b-promos-content l-grid l-grid--c"},Et={class:c("b-promos-items l-grid l-grid--c")},Ko={__name:"BlockPromos",props:{promos:Object},setup(e){var i,r,l;const a=e;let k;if(a.promos.page){const{locale:d}=Ee();k=d.value=="en"?"":d.value,k+=(l=(r=(i=a.promos)==null?void 0:i.page)==null?void 0:r.translations[0])==null?void 0:l.url}return(d,m)=>{var g,x,p,f,_,q,w,j,M,E,H,S,z,N,P,L,B,R,A,I,D,F,U,V,Q,J,K,Y,Z,ee,te,oe,ne,ie,se,ae,ce,re,le,de,me,$e,ve;const v=be,u=at,y=dt,b=gt;return((g=e.promos)==null?void 0:g.layout)=="cols"||((x=e.promos)==null?void 0:x.layout)=="cols--icons-left"?(t(),o(W,{key:0},[(p=e.promos)!=null&&p.headline||(f=e.promos)!=null&&f.text?(t(),o("div",kt,[(_=e.promos)!=null&&_.headline?(t(),o("div",yt,[s("h2",{class:c(`b-cols-header__headline ${(q=e.promos)==null?void 0:q.text_alignment}`)},$((w=e.promos)==null?void 0:w.headline),3)])):n("",!0),e.promos.text?(t(),o("div",{key:1,class:c(`b-cols-text ${(j=e.promos)==null?void 0:j.text_alignment}`),innerHTML:(M=e.promos)==null?void 0:M.text},null,10,ft)):n("",!0),(E=e.promos)!=null&&E.page?(t(),o("div",xt,[O(v,{to:h(k),class:"o-btn o-btn--primary"},{default:he(()=>{var T;return[pe($((T=e.promos)==null?void 0:T.label),1)]}),_:1},8,["to"])])):n("",!0)])):n("",!0),s("div",{class:c(`b-cols b-cols--${(H=e.promos)==null?void 0:H.items_per_row} b-${(S=e.promos)==null?void 0:S.layout} l-grid l-grid--c${(z=e.promos)!=null&&z.css_class?" "+((N=e.promos)==null?void 0:N.css_class):""}`)},[(t(!0),o(W,null,G((P=e.promos)==null?void 0:P.promos,(T,ge)=>(t(),X(u,{promo:T},null,8,["promo"]))),256))],2)],64)):((L=e.promos)==null?void 0:L.layout)=="list-large"||((B=e.promos)==null?void 0:B.layout)=="list-small"?(t(),o(W,{key:1},[(R=e.promos)!=null&&R.headline||(A=e.promos)!=null&&A.text?(t(),o("div",pt,[s("div",_t,[(I=e.promos)!=null&&I.headline?(t(),o("h2",wt,$((D=e.promos)==null?void 0:D.headline),1)):n("",!0)]),e.promos.text?(t(),o("div",{key:0,class:c(`b-lists-text ${(F=e.promos)==null?void 0:F.text_alignment}`),innerHTML:(U=e.promos)==null?void 0:U.text},null,10,Lt)):n("",!0)])):n("",!0),s("div",{class:c(`b-lists b-lists--${(V=e.promos)==null?void 0:V.items_per_row} b-lists--${(Q=e.promos)==null?void 0:Q.layout}${(J=e.promos)!=null&&J.css_class?" "+((K=e.promos)==null?void 0:K.css_class):""} l-grid l-grid--c`)},[(t(!0),o(W,null,G((Y=e.promos)==null?void 0:Y.promos,(T,ge)=>(t(),X(y,{promo:T},null,8,["promo"]))),256))],2)],64)):(t(),o("div",{key:2,class:c(`b-promos b-promos--${(Z=e.promos)==null?void 0:Z.layout} b-promos--${(ee=e.promos)==null?void 0:ee.items_per_row}${(te=e.promos)!=null&&te.css_class?" "+e.promos.css_class:""}${(oe=e.promos)!=null&&oe.text_color?" b-promos--"+e.promos.text_color:""}${(ne=e.promos)!=null&&ne.promos_effects.length?" "+e.promos.promos_effects.map(T=>`b-promos--${T}`).join(" "):""}`),"data-promo-items":(ie=e.promos)==null?void 0:ie.items_per_row,ref:"main"},[(se=e.promos)!=null&&se.headline||(ae=e.promos)!=null&&ae.text?(t(),o("div",jt,[s("div",Tt,[(ce=e.promos)!=null&&ce.headline?(t(),o("h2",{key:0,class:c(`b-promos-header__headline ${(re=e.promos)==null?void 0:re.text_alignment}`)},$((le=e.promos)==null?void 0:le.headline),3)):n("",!0)]),e.promos.text?(t(),o("div",{key:0,class:c(`b-promos-text ${(de=e.promos)==null?void 0:de.text_alignment}`),innerHTML:(me=e.promos)==null?void 0:me.text},null,10,Ot)):n("",!0),($e=e.promos)!=null&&$e.page?(t(),o("div",Ct,[O(v,{to:h(k),class:"o-btn o-btn--primary"},{default:he(()=>{var T;return[pe($((T=e.promos)==null?void 0:T.label),1)]}),_:1},8,["to"])])):n("",!0)])):n("",!0),s("div",Mt,[s("div",Et,[(t(!0),o(W,null,G((ve=e.promos)==null?void 0:ve.promos,(T,ge)=>(t(),X(b,{promo:T},null,8,["promo"]))),256))])])],10,qt))}}},Ht={class:"c-spot"},St={class:"c-spot-media"},zt={class:"c-spot-text"},Nt={key:0,class:"c-spot-text__headline"},Pt={key:1,class:"c-spot-text__paragraph"},Bt={__name:"ObjectSpot",props:{promo:Object},setup(e){return(a,k)=>{var l,d,m,v,u,y,b,g,x,p,f,_,q,w;const i=ue,r=be;return t(),o("div",Ht,[s("div",St,[O(i,{provider:"directus",loading:"lazy",src:`${(d=(l=e.promo)==null?void 0:l.media)==null?void 0:d.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",alt:`${(m=e.promo)==null?void 0:m.headline}`,width:(u=(v=e.promo)==null?void 0:v.media)==null?void 0:u.width,height:(b=(y=e.promo)==null?void 0:y.media)==null?void 0:b.height,class:"c-spot-media__img"},null,8,["src","alt","width","height"])]),s("div",zt,[(g=e.promo)!=null&&g.headline?(t(),o("h2",Nt,$((x=e.promo)==null?void 0:x.headline),1)):n("",!0),(p=e.promo)!=null&&p.text?(t(),o("p",Pt,$((f=e.promo)==null?void 0:f.text.replace(/(<([^>]+)>)/ig,"")),1)):n("",!0),(_=e.promo)!=null&&_.href&&((q=e.promo)!=null&&q.label)?(t(),X(r,{key:2,href:(w=e.promo)==null?void 0:w.href,class:"o-btn o-btn--primary"},{default:he(()=>{var j;return[pe($((j=e.promo)==null?void 0:j.label),1)]}),_:1},8,["href"])):n("",!0)])])}}},Rt={class:"b-spots-content l-grid l-grid--c"},At={key:0,class:"b-spots-header"},It=["innerHTML"],Dt={class:"b-spots-content l-grid l-grid--c"},Ft={class:"b-spots-items"},Yo={__name:"BlockSpot",props:{promos:Object},setup(e){return(a,k)=>{var r,l,d,m,v,u,y,b,g,x,p;const i=Bt;return t(),o("div",{class:c(`b-spots b-spots--${(r=e.promos)==null?void 0:r.items_per_row}${(l=e.promos)!=null&&l.css_class?" "+((d=e.promos)==null?void 0:d.css_class):""}`),ref:"main"},[s("div",Rt,[(m=e.promos)!=null&&m.headline||(v=e.promos)!=null&&v.text?(t(),o("div",At,[(u=e.promos)!=null&&u.headline?(t(),o("h2",{key:0,class:c(`b-spots-header__headline ${(y=e.promos)==null?void 0:y.text_alignment}`)},$((b=e.promos)==null?void 0:b.headline),3)):n("",!0)])):n("",!0),e.promos.text?(t(),o("div",{key:1,class:c(`b-spots-text ${(g=e.promos)==null?void 0:g.text_alignment}`),innerHTML:(x=e.promos)==null?void 0:x.text},null,10,It)):n("",!0)]),s("div",Dt,[s("div",Ft,[(t(!0),o(W,null,G((p=e.promos)==null?void 0:p.promos,(f,_)=>(t(),X(i,{promo:f},null,8,["promo"]))),256))])])],2)}}},Ut=["data-tab-content"],Vt={class:"c-entrance-content"},Qt={key:0,class:"c-entrance-media"},Wt={class:"c-entrance-text"},Xt={class:"c-entrance-text-wrapper"},Gt={class:"c-entrance-body"},Jt={class:"c-entrance__paragraph"},Kt={key:0,class:"c-entrance__text"},Yt={key:1,class:"c-entrance-list"},Zt={class:"c-entrance-list__item"},eo={key:0,class:"c-entrance-footer"},to={class:"o-btn__text"},oo={__name:"ObjectEntrance",props:{entrance:Object,tab:String},setup(e){return(a,k)=>{var l,d,m,v,u,y,b,g,x,p,f,_,q;const i=ue,r=be;return t(),o("div",{class:"c-entrance","data-tab-content":e.tab},[s("div",Vt,[(l=e.entrance)!=null&&l.media?(t(),o("div",Qt,[O(i,{provider:"directus",loading:"lazy",src:`${(d=e.entrance.media)==null?void 0:d.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",width:(v=(m=e.entrance)==null?void 0:m.image)==null?void 0:v.width,height:(y=(u=e.entrance)==null?void 0:u.image)==null?void 0:y.height,alt:`${(b=e.entrance)==null?void 0:b.headline}`,class:"c-entrance-media__img"},null,8,["src","width","height","alt"])])):n("",!0),s("div",Wt,[s("div",Xt,[s("div",Gt,[s("p",Jt,$((g=e.entrance)==null?void 0:g.headline),1),(x=e.entrance)!=null&&x.text?(t(),o("p",Kt,$((p=e.entrance)==null?void 0:p.text.replace(/(<([^>]+)>)/ig,"")),1)):n("",!0),(f=e.entrance)!=null&&f.items?(t(),o("ul",Yt,[(t(!0),o(W,null,G(e.entrance.items,(w,j)=>(t(),o("li",Zt,$(w.text.replace(/(<p[^>]+?>|<p>|<\/p>)/img,"")),1))),256))])):n("",!0)]),(_=e.entrance)!=null&&_.href?(t(),o("div",eo,[O(r,{href:(q=e.entrance)==null?void 0:q.href,class:"o-btn o-btn--primary"},{default:he(()=>{var w;return[s("span",to,$((w=e.entrance)==null?void 0:w.label),1)]}),_:1},8,["href"])])):n("",!0)])])])],8,Ut)}}};class no{constructor(a){this.$el=a,this.$tabLinks=this.$el.querySelectorAll("[data-tab-link]"),this.$tabContents=this.$el.querySelectorAll("[data-tab-content]"),this.$tabLinks[0].classList.add("is-active"),this.$tabContents[0].classList.add("is-active"),this.initEvents()}initEvents(){this.$tabLinks.forEach(a=>{a.addEventListener("click",this.handleClick.bind(this))})}destroy(){this.$tabLinks.forEach(a=>{a.removeEventListener("click",this.handleClick.bind(this))})}handleClick(a){let k=a.currentTarget.getAttribute("data-tab-link");this.$tabLinks.forEach(function(i){i.classList.remove("is-active")}),this.$tabContents.forEach(function(i){i.classList.remove("is-active")}),this.$el.querySelector('[data-tab-content="'+k+'"]').classList.add("is-active"),a.currentTarget.classList.add("is-active")}}class io{constructor(a,k){this.$el=a,this.$backdrop=this.$el.querySelector("[data-backdrop-bar]"),this.backdropWidth=this.$backdrop.getBoundingClientRect().width,this.$backdropLinks=this.$el.querySelectorAll(k),this.$current=this.$backdropLinks[0],this.setPosition(this.$current),this.initEvents()}initEvents(){this.$backdropLinks.forEach(a=>{a.addEventListener("mouseover",this.handleHover.bind(this))}),this.$backdropLinks.forEach(a=>{a.addEventListener("click",this.handleClick.bind(this))}),this.$el.addEventListener("mouseleave",this.handleOut.bind(this))}handleOut(a){let k=this.$current;this.setPosition(k)}handleClick(a){this.$current=a.target}handleHover(a){this.setPosition(a.target)}setPosition(a){let k=a.getBoundingClientRect(),i=this.$el.getBoundingClientRect();const r=k.left-i.left,l=k.width/this.backdropWidth;this.$backdrop.style.transform="translateX("+r+"px)",this.$backdrop.style.transform+="scale("+l.toFixed(3)+", 1)"}}C.registerPlugin(ye);C.registerPlugin(fe);fe.create("custom-ease",".14,.99,.43,.99");C.registerPlugin(ye);C.registerPlugin(fe);fe.create("custom-ease",".14,.99,.43,.99");C.registerPlugin(ye);const{transitionState:so}=Te();xe();function ao(e){qe(()=>{je(()=>so.transitionComplete,a=>{a&&([...document.querySelectorAll("[data-tabs]")].forEach(k=>{new no(k)}),[...document.querySelectorAll("[data-backdrop]")].forEach(k=>{new io(k,".c-tab-nav-list__item")}))})})}const co={class:"b-entrances-content l-grid l-grid--c","data-tabs":""},ro={key:0,class:"b-entrances-header"},lo={key:0,class:"b-entrances__headline"},mo={key:1,class:"b-entrances__paragraph"},ho={key:1,class:"b-entrances-body"},uo={class:"c-tab-nav",itemscope:"",itemtype:"http://schema.org/SiteNavigationElement"},bo={class:"c-tab-nav-list","data-backdrop":""},$o=["data-tab-link"],vo={class:"c-tab-nav-list__link"},go=s("span",{"data-backdrop-bar":""},null,-1),ko={key:2,class:"b-entrances-items"},Zo={__name:"BlockEntrances",props:{entrances:Object},setup(e){const a=xe();return ao(),(k,i)=>{var l,d,m,v,u,y,b,g,x,p;const r=oo;return t(),o("div",{class:c(`b-entrances b-entrances--1${(l=e.entrances)!=null&&l.css_class?" "+((d=e.entrances)==null?void 0:d.css_class):""}`),ref_key:"main",ref:a},[s("div",co,[(m=e.entrances)!=null&&m.headline||(v=e.entrances)!=null&&v.text?(t(),o("div",ro,[(u=e.entrances)!=null&&u.headline?(t(),o("h2",lo,$((y=e.entrances)==null?void 0:y.headline),1)):n("",!0),(b=e.entrances)!=null&&b.text?(t(),o("p",mo,$((g=e.entrances)==null?void 0:g.text.replace(/(<([^>]+)>)/ig,"")),1)):n("",!0)])):n("",!0),(x=e.entrances)!=null&&x.tabs?(t(),o("div",ho,[s("nav",uo,[s("ul",bo,[(t(!0),o(W,null,G(e.entrances.tabs,(f,_)=>(t(),o("li",{class:"c-tab-nav-list__item","data-tab-link":_},[s("span",vo,$(f.item),1),go],8,$o))),256))])])])):n("",!0),(p=e.entrances)!=null&&p.entrances?(t(),o("div",ko,[(t(!0),o(W,null,G(e.entrances.entrances,(f,_)=>(t(),X(r,{entrance:f,tab:`${_}`},null,8,["entrance","tab"]))),256))])):n("",!0)])],2)}}},yo={class:"c-quote"},fo={class:"c-quote-header"},xo={key:0,class:"c-quote__headline j-animate-fade-in-up"},po={key:1,class:"c-quote__paragraph j-animate-fade-in-up"},_o={class:"c-quote-footer"},wo={key:0,class:"c-quote-media j-animate-fade-in-up"},Lo=["innerHTML"],qo={__name:"ObjectQuote",props:{quote:Object},setup(e){return(a,k)=>{var r,l,d,m,v,u,y,b,g,x,p,f;const i=ue;return t(),o("div",yo,[s("div",fo,[(r=e.quote)!=null&&r.headline?(t(),o("h2",xo,[s("span",null,$((l=e.quote)==null?void 0:l.headline),1)])):n("",!0),(d=e.quote)!=null&&d.text?(t(),o("p",po,[s("span",null,$((m=e.quote)==null?void 0:m.text.replace(/(<([^>]+)>)/ig,"")),1)])):n("",!0)]),s("div",_o,[(v=e.quote.media)!=null&&v.id?(t(),o("div",wo,[O(i,{provider:"directus",src:`${(u=e.quote.media)==null?void 0:u.id}`,sizes:"100px",width:(b=(y=e.quote)==null?void 0:y.media)==null?void 0:b.width,height:(x=(g=e.quote)==null?void 0:g.media)==null?void 0:x.height,alt:"",class:"c-quote-media__img"},null,8,["src","width","height"])])):n("",!0),(p=e.quote)!=null&&p.footer_text?(t(),o("div",{key:1,class:"c-quote-footer__paragraph j-animate-fade-in-up",innerHTML:(f=e.quote)==null?void 0:f.footer_text},null,8,Lo)):n("",!0)])])}}},jo={class:"b-quotes-inner l-grid l-grid--c"},To={class:"b-quotes-content"},Oo={key:0,class:"b-quotes-header"},Co={key:0,class:"b-quotes-header__caption"},Mo={key:1,class:"b-quotes-header__headline"},Eo=["innerHTML"],Ho={key:1,class:"b-quotes-items l-grid l-grid--c"},en={__name:"BlockQuotes",props:{quotes:Object},setup(e){return(a,k)=>{var r,l,d,m,v,u,y,b,g,x,p,f;const i=qo;return t(),o("div",{class:c(`b-quotes b-quotes--${(r=e.quotes)!=null&&r.layout?(l=e.quotes)==null?void 0:l.layout:"dark"}${(d=e.quotes)!=null&&d.css_class?" "+((m=e.quotes)==null?void 0:m.css_class):""}`),ref:"main"},[s("div",jo,[s("div",To,[(v=e.quotes)!=null&&v.headline||(u=e.quotes)!=null&&u.caption?(t(),o("div",Oo,[(y=e.quotes)!=null&&y.caption?(t(),o("span",Co,$((b=e.quotes)==null?void 0:b.caption),1)):n("",!0),(g=e.quotes)!=null&&g.headline?(t(),o("h2",Mo,$((x=e.quotes)==null?void 0:x.headline),1)):n("",!0),e.quotes.text?(t(),o("div",{key:2,class:"b-quotes-header__text",innerHTML:(p=e.quotes)==null?void 0:p.text},null,8,Eo)):n("",!0)])):n("",!0),(f=e.quotes)!=null&&f.quotes?(t(),o("div",Ho,[(t(!0),o(W,null,G(e.quotes.quotes,_=>(t(),X(i,{quote:_},null,8,["quote"]))),256))])):n("",!0)])])],2)}}};C.registerPlugin(Ce,ye);const{transitionState:So}=Te(),we=xe();function zo(e){qe(()=>{je(()=>So.transitionComplete,a=>{a&&(we.value=C.context(k=>{e.value;let i=document.querySelectorAll(".c-marker"),r=document.querySelectorAll(".c-marker-modal"),l=document.querySelectorAll(".c-marker-modal-content"),d=document.querySelectorAll(".c-marker-modal-close"),m,v;l.length>0&&C.set(l,{opacity:0}),i.forEach((u,y)=>{C.set(r[y],{opacity:1,scale:0}),u.addEventListener("click",b=>{if(b.preventDefault(),m)return;let g=b.currentTarget.dataset.marker;m=g,v=r[g],C.set(v,{opacity:1}),C.to(v,{scale:1,duration:.15,onComplete:()=>{C.to(l[m],{opacity:1,duration:.15,delay:.1,ease:"power1.inOut"})}})})}),d.forEach((u,y)=>{u.addEventListener("click",b=>{b.preventDefault(),C.to(l[m],{opacity:0,duration:.15,ease:"power1.Outin",onComplete:()=>{C.to(r[m],{scale:0,duration:.15,ease:"power1.Outin",onComplete:()=>{C.set(r[m],{opacity:0}),m=null}})}})})})},e.value))})}),He(()=>{we.value.revert()})}const No={class:"b-partnership-content l-grid l-grid--c"},Po={key:0,class:"b-partnership-media"},Bo={class:"b-partnership-media-wrapper"},Ro={class:"b-partnership-text"},Ao={class:"b-partnership-header"},Io={key:0,class:"b-partnership__headline"},Do={class:"b-partnership-footer-item"},Fo={class:"b-partnership-footer-item__headline"},Uo=["innerHTML"],Vo={key:1,class:"b-partnership-action"},Qo={class:"o-btn__text"},tn={__name:"BlockPartnership",props:{partnership:Object},setup(e){const a=xe();return zo(a),(k,i)=>{var d,m,v,u,y,b,g,x,p,f,_,q,w,j,M,E,H,S,z,N,P;const r=ue,l=be;return t(),o("div",{class:c(`b-partnership${(d=e.partnership)!=null&&d.css_class?" "+((m=e.partnership)==null?void 0:m.css_class):""}${(v=e.partnership)!=null&&v.text_color?" b-partnership--"+((u=e.partnership)==null?void 0:u.text_color):""}${(y=e.partnership)!=null&&y.href?" b-partnership--action":""}`),ref_key:"main",ref:a},[s("div",No,[(b=e.partnership)!=null&&b.image?(t(),o("div",Po,[s("div",Bo,[O(r,{provider:"directus",loading:"lazy",src:`${(g=e.partnership.image)==null?void 0:g.id}`,sizes:"break0:100vw, break1:100vw, break2:100vw, break3:100vw, break4:100vw",width:(p=(x=e.partnership)==null?void 0:x.image)==null?void 0:p.width,height:(_=(f=e.partnership)==null?void 0:f.image)==null?void 0:_.height,alt:"",class:c(`b-partnership-media-wrapper__img b-partnership-media-wrapper__img--${(q=e.partnership)!=null&&q.media_fit?(w=e.partnership)==null?void 0:w.media_fit:"cover"}`)},null,8,["src","width","height","class"])])])):n("",!0),s("div",Ro,[s("div",Ao,[(j=e.partnership)!=null&&j.headline?(t(),o("h1",Io,$((M=e.partnership)==null?void 0:M.headline),1)):n("",!0)]),(E=e.partnership)!=null&&E.arguments?(t(),o("div",{key:0,class:c(`b-partnership-footer b-partnership-footer--${(H=e.partnership)!=null&&H.items_per_row?(S=e.partnership)==null?void 0:S.items_per_row:"2"}`)},[(t(!0),o(W,null,G(e.partnership.arguments,L=>(t(),o("div",Do,[s("h2",Fo,$(L.headline),1),L!=null&&L.text?(t(),o("p",{key:0,class:"b-partnership-footer-item__paragraph",innerHTML:L==null?void 0:L.text},null,8,Uo)):n("",!0)]))),256))],2)):n("",!0),(z=e.partnership)!=null&&z.href?(t(),o("div",Vo,[O(l,{to:(N=e.partnership)==null?void 0:N.href,class:c(`o-btn ${((P=e.partnership)==null?void 0:P.text_color)=="light"?"o-btn--secondary":"o-btn--primary"}`)},{default:he(()=>{var L;return[s("span",Qo,$((L=e.partnership)==null?void 0:L.label),1)]}),_:1},8,["to","class"])])):n("",!0)])])],2)}}};export{Jo as _,Ko as a,Yo as b,Zo as c,en as d,tn as e};
