import{a as w}from"./Image.vue.CPCAhc4E.js";import{_ as m}from"./FullWidth.vue.BnnvC3aM.js";import{S as _,M as v,f as b,a as k}from"./swiper.BUfi567C.js";import{g as y,r as x,y as h,D as S,o as a,j as i,w as l,a as c,b as n,m as e,c as B,F as M,A as g}from"./entry.Ddy3dMw-.js";import"./image.Ca_qe83Z.js";const V={class:"relative px-4 overflow-visible md:px-8"},P=y({__name:"Carousel",props:{block:{}},setup(p){const f=JSON.parse(p.block.content.gallery),s=x(null);return h(async()=>{if(s.value){await S();const r=s.value.querySelector(".swiper-wrapper"),o=s.value.querySelector(".swiper");o&&(o.style.overflow="visible"),r&&r.classList.add("overflow-visible")}}),(r,o)=>{const u=w,d=m;return a(),i(d,{class:"overflow-hidden"},{default:l(()=>[c("div",V,[c("div",{ref_key:"el",ref:s,class:"flex overflow-visible"},[n(e(_),{ref:"swiper",class:"w-full","slides-per-view":1,"space-between":20,modules:[e(v),e(b)],"free-mode":{enabled:!0,sticky:!0},mousewheel:{forceToAxis:!0},breakpoints:{768:{slidesPerView:2.5,spaceBetween:20},1440:{slidesPerView:3.5,spaceBetween:20}}},{default:l(()=>[(a(!0),B(M,null,g(e(f),t=>(a(),i(e(k),{key:t.id,class:"w-full"},{default:l(()=>[n(u,{block:t,rounded:!0},null,8,["block"])]),_:2},1024))),128))]),_:1},8,["modules"])],512)])]),_:1})}}});export{P as default};