import{_ as y,L as k,t as x,C as b,a0 as B,D as L,r as i,o as e,c as o,a as r,x as u,j as l,e as c,F as d,E as p,G as N,b as P,k as f}from"./app.2934e07b.js";import{S as V,P as E,N as A,A as D,a as F,b as H}from"./swiper-slide.b36045cb.js";import{E as M}from"./effect-fade.d919fe95.js";/* empty css                        */V.use([E,A,D]);const T={name:"affiliations-carousel",props:["sectionClasses","contentClasses","containerClasses","heading","content","buttons","logos","componentStyles"],components:{Anchor:k,Swiper:F,SwiperSlide:H,CustomPicture:x,CustomSvg:b,Heading:B,Divider:L},setup(){return{modules:[M]}},data(){return{swiper:null,options:{affiliationsSlider:{navigation:!1,pagination:!1,autoplay:{delay:1e3},loop:!0,breakpoints:{320:{slidesPerView:1,spaceBetween:50},769:{slidesPerView:5,spaceBetween:50}}}},itemCount:this.logos.length}},methods:{onSwiper(_){this.swiper=_}}},j={class:"content-container"},z=["innerHTML"],G={key:2,class:"buttons-container"},I={class:"container"};function q(_,J,t,K,a,g){const m=i("heading"),h=i("anchor"),w=i("divider"),v=i("custom-picture"),C=i("swiper-slide"),S=i("swiper");return e(),o("section",{class:u(t.sectionClasses)},[r("div",{class:u(t.contentClasses)},[r("div",{class:u(t.containerClasses)},[r("div",j,[t.heading?(e(),l(m,{key:0,class:"heading",config:t.heading},null,8,["config"])):c("",!0),t.content?(e(),o("div",{key:1,class:"content",innerHTML:t.content},null,8,z)):c("",!0),t.buttons?(e(),o("div",G,[(e(!0),o(d,null,p(t.buttons,s=>(e(),l(h,{href:s.href,class:u(s.class),textContent:N(s.text)},null,8,["href","class","textContent"]))),256))])):c("",!0)]),P(w,{class:"medium"})],2)],2),a.itemCount>0?(e(),l(S,{key:0,class:"affiliations-carousel",autoplay:a.options.affiliationsSlider.autoplay,breakpoints:a.options.affiliationsSlider.breakpoints,pagination:a.options.affiliationsSlider.pagination,navigation:a.options.affiliationsSlider.navigation,loop:!0,onSwiper:g.onSwiper},{default:f(()=>[(e(!0),o(d,null,p(t.logos,s=>(e(),l(C,null,{default:f(()=>[r("div",I,[s.media.length?(e(!0),o(d,{key:0},p(s.media,n=>(e(),l(v,{pictureClasses:"img-container",src:n.url,sources:n.media,width:n.width,height:n.height,alt:n.alt,title:n.alt,imgClasses:"logo"},null,8,["src","sources","width","height","alt","title"]))),256)):c("",!0)])]),_:2},1024))),256))]),_:1},8,["autoplay","breakpoints","pagination","navigation","onSwiper"])):c("",!0)],2)}const W=y(T,[["render",q],["__scopeId","data-v-ce9cd14e"]]);export{W as default};