import{u as m,c as u}from"./Dx5ZKG7u.js";import{_}from"./Bf-9rS8N.js";import{d as f,r as g,v as r,ab as o,z as p,A as h,t as s,a5 as b,a6 as S,x as i,y,ah as $,H as v}from"./vsu0NDEo.js";const w={class:"container-slider-crossLinking"},z=["href"],B={class:"card-title-container"},C={class:"card-title"},x=f({__name:"SliderCrossLinking",props:{data:{}},setup(d){const t=d,l=g();l.value=t.data.filter(e=>e.label&&e.image_url);function c(){return t.data.map((e,n)=>({position:n+1,name:`${e.label}`,image:e.image_url,url:e.url}))}return m([u({itemListOrder:"Ascending",numberOfItems:t.data.length,itemListElement:c()})]),(e,n)=>(s(),r("div",w,[o(e.$slots,"headerSlider"),p(_,{"show-button":!0},{slider:h(()=>[(s(!0),r(b,null,S(v(l),a=>(s(),r("swiper-slide",{key:a.label??"",class:"swiper-slide"},[i("a",{href:a.url??"",class:"card-container background-img",style:$(`background-image: url('${a.image_url??""}')`),loading:"lazy"},[i("div",B,[i("h3",C,y(a.label??""),1)])],12,z)]))),128))]),_:1}),o(e.$slots,"footerSlider")]))}});export{x as _};