1import{u as w,_ as L}from"./D-j9Ft03.js";import{e as B}from"./CpJX7ENe.js";import{_ as C}from"./DlAUqK2U.js";import{a6 as n,a7 as l,a8 as s,ah as N,at as S,ai as c,aj as d,aB as u,af as a}from"./C4DTFQLm.js";const P={class:"card-list-container"},V={class:"gap-spacing-margin hidden lg:flex lg:flex-wrap"},I=["role","aria-roledescription","aria-label"],$={class:"slider_container"},A=["inert"],F={__name:"ModulesCardList",props:{items:{type:Array,required:!0,validator:e=>e.every(r=>"id"in r)},controls:{type:Boolean,default:!0},ariaLabel:{type:String,default:""}},setup(e){const r=e,[m,f]=B({inViewThreshold:.7,watchFocus:!1,breakpoints:{"(min-width: 1024px)":{active:!1}}}),{selectedIndex:_,slideCount:o,canScrollPrev:p,canScrollNext:x,scrollPrev:b,scrollNext:h,isSlideInert:v,statusLabel:g}=w({api:f,count:()=>r.items.length});return(i,M)=>{const y=L;return l(),n("div",P,[s("ul",V,[(l(!0),n(c,null,d(e.items,t=>(l(),n("li",{key:t.id,class:"w-full min-w-0 max-w-[310px]"},[u(i.$slots,"card",{item:t},void 0,!0)]))),128))]),s("div",{class:"slider lg:hidden",ref_key:"emblaRef",ref:m,role:e.ariaLabel?"region":void 0,"aria-roledescription":e.ariaLabel?"carousel":void 0,"aria-label":e.ariaLabel||void 0},[s("ul",$,[(l(!0),n(c,null,d(e.items,(t,k)=>(l(),n("li",{class:"slider_slide",key:t.id,inert:a(v)(k)||void 0},[u(i.$slots,"card",{item:t},void 0,!0)],8,A))),128))])],8,I),e.controls&&a(o)>1?(l(),N(y,{key:0,class:"mt-3 lg:hidden","can-scroll-prev":a(p),"can-scroll-next":a(x),"selected-index":a(_),"slide-count":a(o),"position-label":a(g),onPrev:a(b),onNext:a(h)},null,8,["can-scroll-prev","can-scroll-next","selected-index","slide-count","position-label","onPrev","onNext"])):S("",!0)])}}},T=C(F,[["__scopeId","data-v-dbc67e1a"]]);export{T as _};
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.