1import{_ as b}from"./Bw92kh4q.js";import{_}from"./Dr2LsR3F.js";import{d as h,a as s,e as i,h as l,w as r,b as d,c,F as u,y as g,R as p,v as w}from"./BgOPsrZ5.js";import{M as y}from"./B9_LY6dA.js";import{u as D}from"./C9X-TiiY.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="83c360f6-1921-48aa-90af-aee0dd3a4022",o._sentryDebugIdIdentifier="sentry-dbid-83c360f6-1921-48aa-90af-aee0dd3a4022")}catch{}})();const B={class:"w-full overflow-x-hidden"},S=h({__name:"cards",props:{cards:{},cardType:{default:"image"},sliderDesktopBreakpoint:{default:3},sliderDesktop:{type:Boolean,default:!0}},setup(o){const{isDesktop:t}=D();return(e,I)=>{const m=b,f=_,k=w;return s(),i("div",B,[l(k,null,{default:r(()=>[!d(t)||e.cards.length>e.sliderDesktopBreakpoint?(s(),c(d(y),{key:0,initial:{opacity:0},animate:{opacity:[0,1]},transition:{delay:.2,duration:.6},class:"flex-shrink-0"},{default:r(()=>[l(f,null,{default:r(()=>[(s(!0),i(u,null,g(e.cards,(a,n)=>(s(),c(m,{key:n,title:a.title,copy:a.copy,cta:a.cta,"background-image":a.backgroundImage,"background-image-mobile":a.backgroundImageMobile,type:e.cardType,class:p(["flex-shrink-0 keen-slider__slide",{"xs:h-[460px]":e.cardType==="image","max-xs:aspect-w-1 max-xs:aspect-h-1":e.cardType==="news"||e.cardType==="image"}])},null,8,["title","copy","cta","background-image","background-image-mobile","type","class"]))),128))]),_:1})]),_:1})):(s(),i("div",{key:1,class:p(["grid gap-x-6",{"grid-cols-2":e.sliderDesktopBreakpoint===2,"grid-cols-3":e.sliderDesktopBreakpoint===3,"grid-cols-4":e.sliderDesktopBreakpoint===4}])},[(s(!0),i(u,null,g(e.cards,(a,n)=>(s(),c(d(y),{key:n,initial:{opacity:0}
1,animate:{opacity:[0,1]},transition:{delay:.3+.1*n,duration:.6},class:"flex-shrink-0"},{default:r(()=>[l(m,{title:a.title,copy:a.copy,cta:a.cta,"background-image":a.backgroundImage,"background-image-mobile":a.backgroundImageMobile,type:e.cardType,class:p({"xs:h-[460px]":e.cardType==="image","max-xs:aspect-w-1 max-xs:aspect-h-1":e.cardType==="news"||e.cardType==="image"})},null,8,["title","copy","cta","background-image","background-image-mobile","type","class"])]),_:2},1032,["transition"]))),128))],2))]),_:1})])}}});export{S as _}; 2//# sourceMappingURL=CEMGjyW5.js.map
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.