1import{e as u,R as v,S as D,i as r,o as d,g as x,j as p,q as f,F as S,B as k,c as V,h as n,n as w,t as g,A as C,U as N}from"./C6UX7DOp.js";import{_ as P}from"./nMF0rO0T.js";import{m as A}from"./fgxCB2-E.js";import{S as j,a as q}from"./C74xgNpi.js";const R={class:"w-full"},E={class:"relative h-40"},F={class:"slidertext text-primary mt-5 text-center md:text-left"},L={class:"text-base xl:text-xl"},$={__name:"Slider",props:{elementData:{type:Object,required:!0},omit:{type:Number,required:!1,default:0}},setup(b){const e=b,i=u(()=>{var t,a,c,o,s,m;return(c=(a=(t=e==null?void 0:e.elementData)==null?void 0:t.content)==null?void 0:a.data)!=null&&c.list&&((m=(s=(o=e==null?void 0:e.elementData)==null?void 0:o.content)==null?void 0:s.data)==null||m.list.array.forEach(l=>{l.uid!==(e==null?void 0:e.omit)&&l.media!=null&&l.media.length>0})),i}),y=u(()=>{var t,a;return v((a=(t=e.elementData)==null?void 0:t.appearance)==null?void 0:a.spaceBefore,"mt-4")}),B=u(()=>{var t,a;return D((a=(t=e.elementData)==null?void 0:t.appearance)==null?void 0:a.spaceAfter)});return(t,a)=>{const c=N,o=P;return r(i).length>0?(d(),x("div",{key:0,class:w(["text-primary container m-auto pb-5 pt-5",[r(B),r(y)]])},[p(r(q),{"slides-per-view":1,breakpoints:{640:{slidesPerView:2,spaceBetween:50},768:{slidesPerView:3,spaceBetween:50},1280:{slidesPerView:4,spaceBetween:50}},"space-between":50,scrollbar:{draggable:!0}},{default:f(()=>[(d(!0),x(S,null,k(r(i),(s,m)=>(d(),V(r(j),{key:m},{default:f(()=>[n("div",R,[p(o,{to:r(A)(s.slug)},{default:f(()=>{var l,_,h;return[n("div",E,[p(c,{elementData:s.media[0],class:w("absolute h-full w-full object-cover"),contain:!1,alt:(l=s.media[0].properties)==null?void 0:l.alternative,fetchPriority:((h=(_=e.elementData)==null?void 0:_.appearance)==null?void 0:h.image_priority)==="1"?"high":null},null,8,["elementData","alt","fetchPriority"])]),n("div",F,[n("h3",L,g(s.title),1),n("span",null,g(s.teaser),1)])]}),_:2},1032,["to"])])]),_:2},1024))),128))]),_:1})],2)):C("",!0)}}};export{$ 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.