1import{_ as y}from"./C-w5u6Wu.js";import{S as k}from"./oWG0_cbn.js";import{S as B,N as E,a as x}from"./BN-GlTs9.js";import{P}from"./CWZq5g17.js";import"./CMczLVHE.js";/* empty css */import{d as b,ak as A,e as d,h as r,i as p,p as u,E as C,b as t,r as o,o as a,F as D,l as I,c as N,_ as R}from"./CV1iriRA.js";import"./D-KqgCgZ.js";import"./CZEaWjxa.js";import"./ChLFvaKG.js";import"./DhfcAEU2.js";import"./Xix7rqVN.js";import"./Bf1M7QJ5.js";const V={class:"hero-slider swiper"},H={class:"grid"},L={class:"col-1-1 relative"},$={class:"swiper-wrapper"},F=!1,O=1,j=b({__name:"HeroSlider",props:{content:{type:Object,required:!0}},setup(n){const i=n,c=o([]);i.content.slides&&i.content.slides.forEach(async l=>{try{const{data:e}=await A(`/page/${k}/${l._id}`);e.value?.content&&c.value.push(e.value)}catch(e){console.error(e)}});const f=[E,P],m=o(null),_=o(null),v=o(null),S={modules:f,slidesPerView:O,loop:F,effect:"fade",centeredSlides:!1,preloadImages:!0,allowTouchMove:!0,pagination:{enabled:!0,clickable:!0}};function w(s){s.on("beforeSlideChangeStart",function(){s.update()})}return(s,l)=>{const e=y;return a(),d("div",V,[r("div",H,[r("div",L,[r("div",$,[p(t(x),C({ref_key:"swiperRef",ref:m,class:"swiper",navigation:{nextEl:t(v),prevEl:t(_)}},S,{onSwiper:w}),{default:u(()=>[(a(!0),d(D,null,I(t(c),(h,g)=>(a(),N(t(B),{key:g,class:"slide col-1-1 no-p"},{default:u(()=>[p(e,{slide:h,content:n.content},null,8,["slide","content"])]),_:2},1024))),128))]),_:1},16,["navigation"])])])])])}}}),ee=R(j,[["__scopeId","data-v-d189dee3"]]);export{ee 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.