import{_ as f}from"./DpUJxqoL.js";import{_ as y}from"./CszZu4h0.js";import{u as v}from"./Cjs1FLPk.js";import{u as p}from"./DNc4hpnL.js";import{u as g}from"./BsEa5EpC.js";import{l as x,k as w,al as z,a2 as S,E as l,F as C,N as _,u as t,P as n,O as m,L as q,Q as D,U as o}from"./DEIzhR9A.js";import"./_ECBCnJP.js";import"./Cfh3kXIQ.js";import"./DKI1tQ5i.js";const h={key:0,class:"my-2 text-center text-md"},V=x({__name:"ClickableImage",props:{mobileSizes:{type:String,default:"sm:750px"},sizes:{type:String,default:"sm:100vw md:100vw lg:100vw xl:100vw xxl:100vw 2048:100vw"},quality:{type:String,default:"85"},blok:{type:Object,required:!0}},setup(e){const r=e,c=v(),{marginClasses:u}=p(r.blok),s=w(()=>{var a,i;return g((i=(a=r.blok)==null?void 0:a.image)==null?void 0:i[0])});return(a,i)=>{const d=f,k=y,b=z("editable");return e.blok?S((l(),C(k,{key:0,"cta-url":e.blok.cta_url},{default:_(()=>[t(s).src?(l(),n("div",{key:0,class:m(["w-full",t(u)])},[q(d,{class:m(["picture picture-contain",{"sm:block":t(c).isDesktop}]),provider:"storyblok",src:t(s).src,alt:t(s).alt,quality:e.quality,loading:"lazy",sizes:t(c).isMobile?e.mobileSizes:e.sizes},null,8,["class","src","alt","quality","sizes"]),e.blok.title?(l(),n("div",h,D(e.blok.title),1)):o("",!0)],2)):o("",!0)]),_:1},8,["cta-url"])),[[b,e.blok]]):o("",!0)}}});export{V as default};