1import{_ as P}from"./DVgxoaye.js";import{C as Q,S as T,N as V,P as B}from"./BPp37rYF.js";import{_ as N}from"./D4GMFPJG.js";import{U as z,az as O,bO as j,ae as i,o as a,H as s,a1 as o,bv as R,e as r,ah as $,S as k,al as f,ai as F,f as t,j as _,cP as H,Q as D,F as b,J as u,ao as p,a8 as g,ag as E}from"./DVsVXehQ.js";const G={class:"carousel__item h-100 w-100 px-1"},I={__name:"Cards",props:{block:{type:Object,default(){return{items:[],isQuote:!1,isSlider:!1,linksAsText:!1,cardsPerRow:3}}}},setup(e){const c=e,{mobile:d}=O(),h=_(()=>({itemsToShow:d.value?1.2:2.2,wrapAround:!0,snapAlign:"start",gap:24,autoplay:1e4,pauseAutoplayOnHover:!0})),w=_(()=>Math.max(12/(c.block.items.length||1),12/(c.block.cardsPerRow||3))),x=j(c.block);return(l,J)=>{const m=P,y=T,C=V,v=B,A=N,S=Q;return a(),i("div",{class:u(["container-wrap",e.block.background?`background-${e.block.background}`:null])},[s(E,{class:u(["constrained",[t(x)]])},{default:o(()=>[R(l.$slots,"default",{},void 0,!0),e.block.isSlider?(a(),r(S,H(D({key:1},t(h))),{addons:o(()=>[s(A,null,{default:o(()=>[b("div",{class:u(["slider-gradient",{mobile:t(d)}])},null,2),s(C,null,{prev:o(()=>[s(p,{icon:"mdi-arrow-left",color:("colors"in l?l.colors:t(g)).primary,width:"54",height:"54"},null,8,["color"])]),next:o(()=>[s(p,{icon:"mdi-arrow-right",color:("colors"in l?l.colors:t(g)).primary,width:"54",height:"54"},null,8,["color"])]),_:1}),s(v)]),_:1})]),default:o(()=>[(a(!0),i(k,null,f(e.block.items,n=>(a(),r(y,{key:n.id},{default:o(()=>[b("div",G,[s(m,{class:"w-100 h-100",card:n,linksAsText:e.block.linksAsText,isQuote:e.block.isQuote},null,8,["card","linksAsText","isQuote"])])]),_:2},1024))),128))]),_:1},16)):(a(),r($,{key:0,class:"content-row justify-center align-stretch"},{default:o(()=>[(a(!0),i(k,null,f(e.block.items,n=>(a(),r(F,{class:"d-flex",cols:"12",md:t(w),key:n.id},{default:o(()=>[s(m,{card:n,linksAsText:e.block.linksAsText,isQuote:e.block.isQuote},null,8,["card","linksAsText","isQuote"])]),_:2},1032,["md"]))),128))]),_:1}))]),_:3},8,["class"])],2)}}},K=z(I,[["__scopeId","data-v-2ccfbe74"]]);export{K as default};
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.