const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B7moA0Zy.js","./entry.B47RBTT0.css","./CM9z76KS.js","./Video.rcqH9qqb.css"])))=>i.map(i=>d[i]); import{x as Ae,z as X,au as ke,aP as _e,ab as Ge,r as ce,o as B,g as N,f as U,R as K,F as De,B as Ve,i as Be,D as Fe,h as Ne,k as fe,j as ue,U as $e,al as xe,ag as ye}from"./B7moA0Zy.js";function pe(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function ae(i,e){i===void 0&&(i={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof i[t]>"u"?i[t]=e[t]:pe(e[t])&&pe(i[t])&&Object.keys(e[t]).length>0&&ae(i[t],e[t])})}const be={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function $(){const i=typeof document<"u"?document:{};return ae(i,be),i}const Re={document:be,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function z(){const i=typeof window<"u"?window:{};return ae(i,Re),i}function He(i){return i===void 0&&(i=""),i.trim().split(" ").filter(e=>!!e.trim())}function We(i){const e=i;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function re(i,e){return e===void 0&&(e=0),setTimeout(i,e)}function j(){return Date.now()}function je(i){const e=z();let t;return e.getComputedStyle&&(t=e.getComputedStyle(i,null)),!t&&i.currentStyle&&(t=i.currentStyle),t||(t=i.style),t}function qe(i,e){e===void 0&&(e="x");const t=z();let s,r,n;const l=je(i);return t.WebKitCSSMatrix?(r=l.transform||l.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),n=new t.WebKitCSSMatrix(r==="none"?"":r)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=n.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=n.m41:s.length===16?r=parseFloat(s[12]):r=parseFloat(s[4])),e==="y"&&(t.WebKitCSSMatrix?r=n.m42:s.length===16?r=parseFloat(s[13]):r=parseFloat(s[5])),r||0}function R(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function Ye(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function O(){const i=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const s=t<0||arguments.length<=t?void 0:arguments[t];if(s!=null&&!Ye(s)){const r=Object.keys(Object(s)).filter(n=>e.indexOf(n)<0);for(let n=0,l=r.length;n<l;n+=1){const o=r[n],a=Object.getOwnPropertyDescriptor(s,o);a!==void 0&&a.enumerable&&(R(i[o])&&R(s[o])?s[o].__swiper__?i[o]=s[o]:O(i[o],s[o]):!R(i[o])&&R(s[o])?(i[o]={},s[o].__swiper__?i[o]=s[o]:O(i[o],s[o])):i[o]=s[o])}}}return i}function H(i,e,t){i.style.setProperty(e,t)}function Ee(i){let{swiper:e,targetPosition:t,side:s}=i;const r=z(),n=-e.translate;let l=null,o;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const d=t>n?"next":"prev",c=(h,p)=>d==="next"&&h>=p||d==="prev"&&h<=p,f=()=>{o=new Date().getTime(),l===null&&(l=o);const h=Math.max(Math.min((o-l)/a,1),0),p=.5-Math.cos(h*Math.PI)/2;let u=n+p*(t-n);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),c(u,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(f)};f()}function _(i,e){e===void 0&&(e="");const t=[...i.children];return i instanceof HTMLSlotElement&&t.push(...i.assignedElements()),e?t.filter(s=>s.matches(e)):t}function Xe(i,e){const t=e.contains(i);return!t&&e instanceof HTMLSlotElement?[...e.assignedElements()].includes(i):t}function q(i){try{console.warn(i);return}catch{}}function Y(i,e){e===void 0&&(e=[]);const t=document.createElement(i);return t.classList.add(...Array.isArray(e)?e:He(e)),t}function Ue(i,e){const t=[];for(;i.previousElementSibling;){const s=i.previousElementSibling;e?s.matches(e)&&t.push(s):t.push(s),i=s}return t}function Ke(i,e){const t=[];for(;i.nextElementSibling;){const s=i.nextElementSibling;e?s.matches(e)&&t.push(s):t.push(s),i=s}return t}function V(i,e){return z().getComputedStyle(i,null).getPropertyValue(e)}function me(i){let e=i,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Je(i,e){const t=[];let s=i.parentElement;for(;s;)t.push(s),s=s.parentElement;return t}function he(i,e,t){const s=z();return i[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function G(i){return(Array.isArray(i)?i:[i]).filter(e=>!!e)}let J;function Qe(){const i=z(),e=$();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch)}}function Pe(){return J||(J=Qe()),J}let Q;function Ze(i){let{userAgent:e}=i===void 0?{}:i;const t=Pe(),s=z(),r=s.navigator.platform,n=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,d=n.match(/(Android);?[\s\/]+([\d.]+)?/);let c=n.match(/(iPad).*OS\s([\d_]+)/);const f=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let u=r==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&u&&t.touch&&m.indexOf(`${o}x${a}`)>=0&&(c=n.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),u=!1),d&&!p&&(l.os="android",l.android=!0),(c||h||f)&&(l.os="ios",l.ios=!0),l}function Me(i){return i===void 0&&(i={}),Q||(Q=Ze(i)),Q}let Z;function et(){const i=z(),e=Me();let t=!1;function s(){const o=i.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(i.navigator.userAgent);if(o.includes("Version/")){const[a,d]=o.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=a<16||a===16&&d<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),n=s(),l=n||r&&e.ios;return{isSafari:t||n,needPerspectiveFix:t,need3dFix:l,isWebView:r}}function tt(){return Z||(Z=et()),Z}function it(i){let{swiper:e,on:t,emit:s}=i;const r=z();let n=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(f=>{l=r.requestAnimationFrame(()=>{const{width:h,height:p}=e;let u=h,m=p;f.forEach(v=>{let{contentBoxSize:g,contentRect:T,target:w}=v;w&&w!==e.el||(u=T?T.width:(g[0]||g).inlineSize,m=T?T.height:(g[0]||g).blockSize)}),(u!==h||m!==p)&&o()})}),n.observe(e.el))},d=()=>{l&&r.cancelAnimationFrame(l),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},c=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){a();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",c)}),t("destroy",()=>{d(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",c)})}function st(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;const n=[],l=z(),o=function(c,f){f===void 0&&(f={});const h=l.MutationObserver||l.WebkitMutationObserver,p=new h(u=>{if(e.__preventObserver__)return;if(u.length===1){r("observerUpdate",u[0]);return}const m=function(){r("observerUpdate",u[0])};l.requestAnimationFrame?l.requestAnimationFrame(m):l.setTimeout(m,0)});p.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),n.push(p)},a=()=>{if(e.params.observer){if(e.params.observeParents){const c=Je(e.hostEl);for(let f=0;f<c.length;f+=1)o(c[f])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},d=()=>{n.forEach(c=>{c.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",d)}var rt={on(i,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const r=t?"unshift":"push";return i.split(" ").forEach(n=>{s.eventsListeners[n]||(s.eventsListeners[n]=[]),s.eventsListeners[n][r](e)}),s},once(i,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function r(){s.off(i,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];e.apply(s,l)}return r.__emitterProxy=e,s.on(i,r,t)},onAny(i,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof i!="function")return t;const s=e?"unshift":"push";return t.eventsAnyListeners.indexOf(i)<0&&t.eventsAnyListeners[s](i),t},offAny(i){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(i);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(i,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||i.split(" ").forEach(s=>{typeof e>"u"?t.eventsListeners[s]=[]:t.eventsListeners[s]&&t.eventsListeners[s].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[s].splice(n,1)})}),t},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let e,t,s;for(var r=arguments.length,n=new Array(r),l=0;l<r;l++)n[l]=arguments[l];return typeof n[0]=="string"||Array.isArray(n[0])?(e=n[0],t=n.slice(1,n.length),s=i):(e=n[0].events,t=n[0].data,s=n[0].context||i),t.unshift(s),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(d=>{d.apply(s,[a,...t])}),i.eventsListeners&&i.eventsListeners[a]&&i.eventsListeners[a].forEach(d=>{d.apply(s,t)})}),i}};function nt(){const i=this;let e,t;const s=i.el;typeof i.params.width<"u"&&i.params.width!==null?e=i.params.width:e=s.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?t=i.params.height:t=s.clientHeight,!(e===0&&i.isHorizontal()||t===0&&i.isVertical())&&(e=e-parseInt(V(s,"padding-left")||0,10)-parseInt(V(s,"padding-right")||0,10),t=t-parseInt(V(s,"padding-top")||0,10)-parseInt(V(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function at(){const i=this;function e(x,E){return parseFloat(x.getPropertyValue(i.getDirectionLabel(E))||0)}const t=i.params,{wrapperEl:s,slidesEl:r,size:n,rtlTranslate:l,wrongRTL:o}=i,a=i.virtual&&t.virtual.enabled,d=a?i.virtual.slides.length:i.slides.length,c=_(r,`.${i.params.slideClass}, swiper-slide`),f=a?i.virtual.slides.length:c.length;let h=[];const p=[],u=[];let m=t.slidesOffsetBefore;typeof m=="function"&&(m=t.slidesOffsetBefore.call(i));let v=t.slidesOffsetAfter;typeof v=="function"&&(v=t.slidesOffsetAfter.call(i));const g=i.snapGrid.length,T=i.slidesGrid.length;let w=t.spaceBetween,y=-m,S=0,M=0;if(typeof n>"u")return;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*n:typeof w=="string"&&(w=parseFloat(w)),i.virtualSize=-w,c.forEach(x=>{l?x.style.marginLeft="":x.style.marginRight="",x.style.marginBottom="",x.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(H(s,"--swiper-centered-offset-before",""),H(s,"--swiper-centered-offset-after",""));const A=t.grid&&t.grid.rows>1&&i.grid;A?i.grid.initSlides(c):i.grid&&i.grid.unsetSlides();let C;const F=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(x=>typeof t.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<f;x+=1){C=0;let E;if(c[x]&&(E=c[x]),A&&i.grid.updateSlide(x,E,c),!(c[x]&&V(E,"display")==="none")){if(t.slidesPerView==="auto"){F&&(c[x].style[i.getDirectionLabel("width")]="");const P=getComputedStyle(E),b=E.style.transform,I=E.style.webkitTransform;if(b&&(E.style.transform="none"),I&&(E.style.webkitTransform="none"),t.roundLengths)C=i.isHorizontal()?he(E,"width"):he(E,"height");else{const L=e(P,"width"),D=e(P,"padding-left"),Le=e(P,"padding-right"),oe=e(P,"margin-left"),le=e(P,"margin-right"),de=P.getPropertyValue("box-sizing");if(de&&de==="border-box")C=L+oe+le;else{const{clientWidth:Oe,offsetWidth:ze}=E;C=L+D+Le+oe+le+(ze-Oe)}}b&&(E.style.transform=b),I&&(E.style.webkitTransform=I),t.roundLengths&&(C=Math.floor(C))}else C=(n-(t.slidesPerView-1)*w)/t.slidesPerView,t.roundLengths&&(C=Math.floor(C)),c[x]&&(c[x].style[i.getDirectionLabel("width")]=`${C}px`);c[x]&&(c[x].swiperSlideSize=C),u.push(C),t.centeredSlides?(y=y+C/2+S/2+w,S===0&&x!==0&&(y=y-n/2-w),x===0&&(y=y-n/2-w),Math.abs(y)<1/1e3&&(y=0),t.roundLengths&&(y=Math.floor(y)),M%t.slidesPerGroup===0&&h.push(y),p.push(y)):(t.roundLengths&&(y=Math.floor(y)),(M-Math.min(i.params.slidesPerGroupSkip,M))%i.params.slidesPerGroup===0&&h.push(y),p.push(y),y=y+C+w),i.virtualSize+=C+w,S=C,M+=1}}if(i.virtualSize=Math.max(i.virtualSize,n)+v,l&&o&&(t.effect==="slide"||t.effect==="coverflow")&&(s.style.width=`${i.virtualSize+w}px`),t.setWrapperSize&&(s.style[i.getDirectionLabel("width")]=`${i.virtualSize+w}px`),A&&i.grid.updateWrapperSize(C,h),!t.centeredSlides){const x=[];for(let E=0;E<h.length;E+=1){let P=h[E];t.roundLengths&&(P=Math.floor(P)),h[E]<=i.virtualSize-n&&x.push(P)}h=x,Math.floor(i.virtualSize-n)-Math.floor(h[h.length-1])>1&&h.push(i.virtualSize-n)}if(a&&t.loop){const x=u[0]+w;if(t.slidesPerGroup>1){const E=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/t.slidesPerGroup),P=x*t.slidesPerGroup;for(let b=0;b<E;b+=1)h.push(h[h.length-1]+P)}for(let E=0;E<i.virtual.slidesBefore+i.virtual.slidesAfter;E+=1)t.slidesPerGroup===1&&h.push(h[h.length-1]+x),p.push(p[p.length-1]+x),i.virtualSize+=x}if(h.length===0&&(h=[0]),w!==0){const x=i.isHorizontal()&&l?"marginLeft":i.getDirectionLabel("marginRight");c.filter((E,P)=>!t.cssMode||t.loop?!0:P!==c.length-1).forEach(E=>{E.style[x]=`${w}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let x=0;u.forEach(P=>{x+=P+(w||0)}),x-=w;const E=x>n?x-n:0;h=h.map(P=>P<=0?-m:P>E?E+v:P)}if(t.centerInsufficientSlides){let x=0;u.forEach(P=>{x+=P+(w||0)}),x-=w;const E=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(x+E<n){const P=(n-x-E)/2;h.forEach((b,I)=>{h[I]=b-P}),p.forEach((b,I)=>{p[I]=b+P})}}if(Object.assign(i,{slides:c,snapGrid:h,slidesGrid:p,slidesSizesGrid:u}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){H(s,"--swiper-centered-offset-before",`${-h[0]}px`),H(s,"--swiper-centered-offset-after",`${i.size/2-u[u.length-1]/2}px`);const x=-i.snapGrid[0],E=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(P=>P+x),i.slidesGrid=i.slidesGrid.map(P=>P+E)}if(f!==d&&i.emit("slidesLengthChange"),h.length!==g&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),p.length!==T&&i.emit("slidesGridLengthChange"),t.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!a&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const x=`${t.containerModifierClass}backface-hidden`,E=i.el.classList.contains(x);f<=t.maxBackfaceHiddenSlides?E||i.el.classList.add(x):E&&i.el.classList.remove(x)}}function ot(i){const e=this,t=[],s=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof i=="number"?e.setTransition(i):i===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{t.push(o)});else for(n=0;n<Math.ceil(e.params.slidesPerView);n+=1){const o=e.activeIndex+n;if(o>e.slides.length&&!s)break;t.push(l(o))}else t.push(l(e.activeIndex));for(n=0;n<t.length;n+=1)if(typeof t[n]<"u"){const o=t[n].offsetHeight;r=o>r?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function lt(){const i=this,e=i.slides,t=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let s=0;s<e.length;s+=1)e[s].swiperSlideOffset=(i.isHorizontal()?e[s].offsetLeft:e[s].offsetTop)-t-i.cssOverflowAdjustment()}const ge=(i,e,t)=>{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function dt(i){i===void 0&&(i=this&&this.translate||0);const e=this,t=e.params,{slides:s,rtlTranslate:r,snapGrid:n}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let l=-i;r&&(l=i),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a<s.length;a+=1){const d=s[a];let c=d.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(c-=s[0].swiperSlideOffset);const f=(l+(t.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+o),h=(l-n[0]+(t.centeredSlides?e.minTranslate():0)-c)/(d.swiperSlideSize+o),p=-(l-c),u=p+e.slidesSizesGrid[a],m=p>=0&&p<=e.size-e.slidesSizesGrid[a],v=p>=0&&p<e.size-1||u>1&&u<=e.size||p<=0&&u>=e.size;v&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a)),ge(d,v,t.slideVisibleClass),ge(d,m,t.slideFullyVisibleClass),d.progress=r?-f:f,d.originalProgress=r?-h:h}}function ct(i){const e=this;if(typeof i>"u"){const c=e.rtlTranslate?-1:1;i=e&&e.translate&&e.translate*c||0}const t=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:l,progressLoop:o}=e;const a=n,d=l;if(s===0)r=0,n=!0,l=!0;else{r=(i-e.minTranslate())/s;const c=Math.abs(i-e.minTranslate())<1,f=Math.abs(i-e.maxTranslate())<1;n=c||r<=0,l=f||r>=1,c&&(r=0),f&&(r=1)}if(t.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[c],p=e.slidesGrid[f],u=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(i);m>=h?o=(m-h)/u:o=(m+u-p)/u,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:n,isEnd:l}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(i),n&&!a&&e.emit("reachBeginning toEdge"),l&&!d&&e.emit("reachEnd toEdge"),(a&&!n||d&&!l)&&e.emit("fromEdge"),e.emit("progress",r)}const ee=(i,e,t)=>{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function ft(){const i=this,{slides:e,params:t,slidesEl:s,activeIndex:r}=i,n=i.virtual&&t.virtual.enabled,l=i.grid&&t.grid&&t.grid.rows>1,o=f=>_(s,`.${t.slideClass}${f}, swiper-slide${f}`)[0];let a,d,c;if(n)if(t.loop){let f=r-i.virtual.slidesBefore;f<0&&(f=i.virtual.slides.length+f),f>=i.virtual.slides.length&&(f-=i.virtual.slides.length),a=o(`[data-swiper-slide-index="${f}"]`)}else a=o(`[data-swiper-slide-index="${r}"]`);else l?(a=e.filter(f=>f.column===r)[0],c=e.filter(f=>f.column===r+1)[0],d=e.filter(f=>f.column===r-1)[0]):a=e[r];a&&(l||(c=Ke(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),d=Ue(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(f=>{ee(f,f===a,t.slideActiveClass),ee(f,f===c,t.slideNextClass),ee(f,f===d,t.slidePrevClass)}),i.emitSlidesClasses()}const W=(i,e)=>{if(!i||i.destroyed||!i.params)return;const t=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,s=e.closest(t());if(s){let r=s.querySelector(`.${i.params.lazyPreloaderClass}`);!r&&i.isElement&&(s.shadowRoot?r=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(r=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},te=(i,e)=>{if(!i.slides[e])return;const t=i.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},ne=i=>{if(!i||i.destroyed||!i.params)return;let e=i.params.lazyPreloadPrevNext;const t=i.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const s=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),r=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const l=r,o=[l-e];o.push(...Array.from({length:e}).map((a,d)=>l+s+d)),i.slides.forEach((a,d)=>{o.includes(a.column)&&te(i,d)});return}const n=r+s-1;if(i.params.rewind||i.params.loop)for(let l=r-e;l<=n+e;l+=1){const o=(l%t+t)%t;(o<r||o>n)&&te(i,o)}else for(let l=Math.max(r-e,0);l<=Math.min(n+e,t-1);l+=1)l!==r&&(l>n||l<r)&&te(i,l)};function ut(i){const{slidesGrid:e,params:t}=i,s=i.rtlTranslate?i.translate:-i.translate;let r;for(let n=0;n<e.length;n+=1)typeof e[n+1]<"u"?s>=e[n]&&s<e[n+1]-(e[n+1]-e[n])/2?r=n:s>=e[n]&&s<e[n+1]&&(r=n+1):s>=e[n]&&(r=n);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function pt(i){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:r,activeIndex:n,realIndex:l,snapIndex:o}=e;let a=i,d;const c=p=>{let u=p-e.virtual.slidesBefore;return u<0&&(u=e.virtual.slides.length+u),u>=e.virtual.slides.length&&(u-=e.virtual.slides.length),u};if(typeof a>"u"&&(a=ut(e)),s.indexOf(t)>=0)d=s.indexOf(t);else{const p=Math.min(r.slidesPerGroupSkip,a);d=p+Math.floor((a-p)/r.slidesPerGroup)}if(d>=s.length&&(d=s.length-1),a===n&&!e.params.loop){d!==o&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(a===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(a);return}const f=e.grid&&r.grid&&r.grid.rows>1;let h;if(e.virtual&&r.virtual.enabled&&r.loop)h=c(a);else if(f){const p=e.slides.filter(m=>m.column===a)[0];let u=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(u)&&(u=Math.max(e.slides.indexOf(p),0)),h=Math.floor(u/r.grid.rows)}else if(e.slides[a]){const p=e.slides[a].getAttribute("data-swiper-slide-index");p?h=parseInt(p,10):h=a}else h=a;Object.assign(e,{previousSnapIndex:o,snapIndex:d,previousRealIndex:l,realIndex:h,previousIndex:n,activeIndex:a}),e.initialized&&ne(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function mt(i,e){const t=this,s=t.params;let r=i.closest(`.${s.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(i)&&[...e.slice(e.indexOf(i)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(r=o)});let n=!1,l;if(r){for(let o=0;o<t.slides.length;o+=1)if(t.slides[o]===r){n=!0,l=o;break}}if(r&&n)t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=l;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}s.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var ht={updateSize:nt,updateSlides:at,updateAutoHeight:ot,updateSlidesOffset:lt,updateSlidesProgress:dt,updateProgress:ct,updateSlidesClasses:ft,updateActiveIndex:pt,updateClickedSlide:mt};function gt(i){i===void 0&&(i=this.isHorizontal()?"x":"y");const e=this,{params:t,rtlTranslate:s,translate:r,wrapperEl:n}=e;if(t.virtualTranslate)return s?-r:r;if(t.cssMode)return r;let l=qe(n,i);return l+=e.cssOverflowAdjustment(),s&&(l=-l),l||0}function vt(i,e){const t=this,{rtlTranslate:s,params:r,wrapperEl:n,progress:l}=t;let o=0,a=0;const d=0;t.isHorizontal()?o=s?-i:i:a=i,r.roundLengths&&(o=Math.floor(o),a=Math.floor(a)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?o:a,r.cssMode?n[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-o:-a:r.virtualTranslate||(t.isHorizontal()?o-=t.cssOverflowAdjustment():a-=t.cssOverflowAdjustment(),n.style.transform=`translate3d(${o}px, ${a}px, ${d}px)`);let c;const f=t.maxTranslate()-t.minTranslate();f===0?c=0:c=(i-t.minTranslate())/f,c!==l&&t.updateProgress(i),t.emit("setTranslate",t.translate,e)}function wt(){return-this.snapGrid[0]}function St(){return-this.snapGrid[this.snapGrid.length-1]}function Tt(i,e,t,s,r){i===void 0&&(i=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),s===void 0&&(s=!0);const n=this,{params:l,wrapperEl:o}=n;if(n.animating&&l.preventInteractionOnTransition)return!1;const a=n.minTranslate(),d=n.maxTranslate();let c;if(s&&i>a?c=a:s&&i<d?c=d:c=i,n.updateProgress(c),l.cssMode){const f=n.isHorizontal();if(e===0)o[f?"scrollLeft":"scrollTop"]=-c;else{if(!n.support.smoothScroll)return Ee({swiper:n,targetPosition:-c,side:f?"left":"top"}),!0;o.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(n.setTransition(0),n.setTranslate(c),t&&(n.emit("beforeTransitionStart",e,r),n.emit("transitionEnd"))):(n.setTransition(e),n.setTranslate(c),t&&(n.emit("beforeTransitionStart",e,r),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(h){!n||n.destroyed||h.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,n.animating=!1,t&&n.emit("transitionEnd"))}),n.wrapperEl.addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd))),!0}var xt={getTranslate:gt,setTranslate:vt,minTranslate:wt,maxTranslate:St,translateTo:Tt};function yt(i,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${i}ms`,t.wrapperEl.style.transitionDelay=i===0?"0ms":""),t.emit("setTransition",i,e)}function Ce(i){let{swiper:e,runCallbacks:t,direction:s,step:r}=i;const{activeIndex:n,previousIndex:l}=e;let o=s;if(o||(n>l?o="next":n<l?o="prev":o="reset"),e.emit(`transition${r}`),t&&n!==l){if(o==="reset"){e.emit(`slideResetTransition${r}`);return}e.emit(`slideChangeTransition${r}`),o==="next"?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`)}}function bt(i,e){i===void 0&&(i=!0);const t=this,{params:s}=t;s.cssMode||(s.autoHeight&&t.updateAutoHeight(),Ce({swiper:t,runCallbacks:i,direction:e,step:"Start"}))}function Et(i,e){i===void 0&&(i=!0);const t=this,{params:s}=t;t.animating=!1,!s.cssMode&&(t.setTransition(0),Ce({swiper:t,runCallbacks:i,direction:e,step:"End"}))}var Pt={setTransition:yt,transitionStart:bt,transitionEnd:Et};function Mt(i,e,t,s,r){i===void 0&&(i=0),t===void 0&&(t=!0),typeof i=="string"&&(i=parseInt(i,10));const n=this;let l=i;l<0&&(l=0);const{params:o,snapGrid:a,slidesGrid:d,previousIndex:c,activeIndex:f,rtlTranslate:h,wrapperEl:p,enabled:u}=n;if(!u&&!s&&!r||n.destroyed||n.animating&&o.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=n.params.speed);const m=Math.min(n.params.slidesPerGroupSkip,l);let v=m+Math.floor((l-m)/n.params.slidesPerGroup);v>=a.length&&(v=a.length-1);const g=-a[v];if(o.normalizeSlideIndex)for(let S=0;S<d.length;S+=1){const M=-Math.floor(g*100),A=Math.floor(d[S]*100),C=Math.floor(d[S+1]*100);typeof d[S+1]<"u"?M>=A&&M<C-(C-A)/2?l=S:M>=A&&M<C&&(l=S+1):M>=A&&(l=S)}if(n.initialized&&l!==f&&(!n.allowSlideNext&&(h?g>n.translate&&g>n.minTranslate():g<n.translate&&g<n.minTranslate())||!n.allowSlidePrev&&g>n.translate&&g>n.maxTranslate()&&(f||0)!==l))return!1;l!==(c||0)&&t&&n.emit("beforeSlideChangeStart"),n.updateProgress(g);let T;l>f?T="next":l<f?T="prev":T="reset";const w=n.virtual&&n.params.virtual.enabled;if(!(w&&r)&&(h&&-g===n.translate||!h&&g===n.translate))return n.updateActiveIndex(l),o.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),o.effect!=="slide"&&n.setTranslate(g),T!=="reset"&&(n.transitionStart(t,T),n.transitionEnd(t,T)),!1;if(o.cssMode){const S=n.isHorizontal(),M=h?g:-g;if(e===0)w&&(n.wrapperEl.style.scrollSnapType="none",n._immediateVirtual=!0),w&&!n._cssModeVirtualInitialSet&&n.params.initialSlide>0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[S?"scrollLeft":"scrollTop"]=M})):p[S?"scrollLeft":"scrollTop"]=M,w&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return Ee({swiper:n,targetPosition:M,side:S?"left":"top"}),!0;p.scrollTo({[S?"left":"top"]:M,behavior:"smooth"})}return!0}return n.setTransition(e),n.setTranslate(g),n.updateActiveIndex(l),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,s),n.transitionStart(t,T),e===0?n.transitionEnd(t,T):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(M){!n||n.destroyed||M.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(t,T))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function Ct(i,e,t,s){i===void 0&&(i=0),t===void 0&&(t=!0),typeof i=="string"&&(i=parseInt(i,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let l=i;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)l=l+r.virtual.slidesBefore;else{let o;if(n){const h=l*r.params.grid.rows;o=r.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===h)[0].column}else o=r.getSlideIndexByData(l);const a=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:d}=r.params;let c=r.params.slidesPerView;c==="auto"?c=r.slidesPerViewDynamic():(c=Math.ceil(parseFloat(r.params.slidesPerView,10)),d&&c%2===0&&(c=c+1));let f=a-o<c;if(d&&(f=f||o<Math.ceil(c/2)),s&&d&&r.params.slidesPerView!=="auto"&&!n&&(f=!1),f){const h=d?o<r.activeIndex?"prev":"next":o-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?o+1:o-a+1,slideRealIndex:h==="next"?r.realIndex:void 0})}if(n){const h=l*r.params.grid.rows;l=r.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===h)[0].column}else l=r.getSlideIndexByData(l)}return requestAnimationFrame(()=>{r.slideTo(l,e,t,s)}),r}function It(i,e,t){e===void 0&&(e=!0);const s=this,{enabled:r,params:n,animating:l}=s;if(!r||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);let o=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex<n.slidesPerGroupSkip?1:o,d=s.virtual&&n.virtual.enabled;if(n.loop){if(l&&!d&&n.loopPreventsSliding)return!1;if(s.loopFix({direction:"next"}),s._clientLeft=s.wrapperEl.clientLeft,s.activeIndex===s.slides.length-1&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(s.activeIndex+a,i,e,t)}),!0}return n.rewind&&s.isEnd?s.slideTo(0,i,e,t):s.slideTo(s.activeIndex+a,i,e,t)}function Lt(i,e,t){e===void 0&&(e=!0);const s=this,{params:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:a,animating:d}=s;if(!a||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);const c=s.virtual&&r.virtual.enabled;if(r.loop){if(d&&!c&&r.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const f=o?s.translate:-s.translate;function h(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const p=h(f),u=n.map(g=>h(g));let m=n[u.indexOf(p)-1];if(typeof m>"u"&&r.cssMode){let g;n.forEach((T,w)=>{p>=T&&(g=w)}),typeof g<"u"&&(m=n[g>0?g-1:g])}let v=0;if(typeof m<"u"&&(v=l.indexOf(m),v<0&&(v=s.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(v=v-s.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),r.rewind&&s.isBeginning){const g=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(g,i,e,t)}else if(r.loop&&s.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(v,i,e,t)}),!0;return s.slideTo(v,i,e,t)}function Ot(i,e,t){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof i>"u"&&(i=s.params.speed),s.slideTo(s.activeIndex,i,e,t)}function zt(i,e,t,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const r=this;if(r.destroyed)return;typeof i>"u"&&(i=r.params.speed);let n=r.activeIndex;const l=Math.min(r.params.slidesPerGroupSkip,n),o=l+Math.floor((n-l)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[o]){const d=r.snapGrid[o],c=r.snapGrid[o+1];a-d>(c-d)*s&&(n+=r.params.slidesPerGroup)}else{const d=r.snapGrid[o-1],c=r.snapGrid[o];a-d<=(c-d)*s&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,i,e,t)}function At(){const i=this;if(i.destroyed)return;const{params:e,slidesEl:t}=i,s=e.slidesPerView==="auto"?i.slidesPerViewDynamic():e.slidesPerView;let r=i.clickedIndex,n;const l=i.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(i.animating)return;n=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?r<i.loopedSlides-s/2||r>i.slides.length-i.loopedSlides+s/2?(i.loopFix(),r=i.getSlideIndex(_(t,`${l}[data-swiper-slide-index="${n}"]`)[0]),re(()=>{i.slideTo(r)})):i.slideTo(r):r>i.slides.length-s?(i.loopFix(),r=i.getSlideIndex(_(t,`${l}[data-swiper-slide-index="${n}"]`)[0]),re(()=>{i.slideTo(r)})):i.slideTo(r)}else i.slideTo(r)}var kt={slideTo:Mt,slideToLoop:Ct,slideNext:It,slidePrev:Lt,slideReset:Ot,slideToClosest:zt,slideToClickedSlide:At};function _t(i){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{_(s,`.${t.slideClass}, swiper-slide`).forEach((f,h)=>{f.setAttribute("data-swiper-slide-index",h)})},n=e.grid&&t.grid&&t.grid.rows>1,l=t.slidesPerGroup*(n?t.grid.rows:1),o=e.slides.length%l!==0,a=n&&e.slides.length%t.grid.rows!==0,d=c=>{for(let f=0;f<c;f+=1){const h=e.isElement?Y("swiper-slide",[t.slideBlankClass]):Y("div",[t.slideClass,t.slideBlankClass]);e.slidesEl.append(h)}};if(o){if(t.loopAddBlankSlides){const c=l-e.slides.length%l;d(c),e.recalcSlides(),e.updateSlides()}else q("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(a){if(t.loopAddBlankSlides){const c=t.grid.rows-e.slides.length%t.grid.rows;d(c),e.recalcSlides(),e.updateSlides()}else q("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();e.loopFix({slideRealIndex:i,direction:t.centeredSlides?void 0:"next"})}function Gt(i){let{slideRealIndex:e,slideTo:t=!0,direction:s,setTranslate:r,activeSlideIndex:n,byController:l,byMousewheel:o}=i===void 0?{}:i;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:f,slidesEl:h,params:p}=a,{centeredSlides:u}=p;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&p.virtual.enabled){t&&(!p.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):p.centeredSlides&&a.snapIndex<p.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=c,a.allowSlideNext=f,a.emit("loopFix");return}let m=p.slidesPerView;m==="auto"?m=a.slidesPerViewDynamic():(m=Math.ceil(parseFloat(p.slidesPerView,10)),u&&m%2===0&&(m=m+1));const v=p.slidesPerGroupAuto?m:p.slidesPerGroup;let g=v;g%v!==0&&(g+=v-g%v),g+=p.loopAdditionalSlides,a.loopedSlides=g;const T=a.grid&&p.grid&&p.grid.rows>1;d.length<m+g?q("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):T&&p.grid.fill==="row"&&q("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const w=[],y=[];let S=a.activeIndex;typeof n>"u"?n=a.getSlideIndex(d.filter(b=>b.classList.contains(p.slideActiveClass))[0]):S=n;const M=s==="next"||!s,A=s==="prev"||!s;let C=0,F=0;const x=T?Math.ceil(d.length/p.grid.rows):d.length,P=(T?d[n].column:n)+(u&&typeof r>"u"?-m/2+.5:0);if(P<g){C=Math.max(g-P,v);for(let b=0;b<g-P;b+=1){const I=b-Math.floor(b/x)*x;if(T){const L=x-I-1;for(let D=d.length-1;D>=0;D-=1)d[D].column===L&&w.push(D)}else w.push(x-I-1)}}else if(P+m>x-g){F=Math.max(P-(x-g*2),v);for(let b=0;b<F;b+=1){const I=b-Math.floor(b/x)*x;T?d.forEach((L,D)=>{L.column===I&&y.push(D)}):y.push(I)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),A&&w.forEach(b=>{d[b].swiperLoopMoveDOM=!0,h.prepend(d[b]),d[b].swiperLoopMoveDOM=!1}),M&&y.forEach(b=>{d[b].swiperLoopMoveDOM=!0,h.append(d[b]),d[b].swiperLoopMoveDOM=!1}),a.recalcSlides(),p.slidesPerView==="auto"?a.updateSlides():T&&(w.length>0&&A||y.length>0&&M)&&a.slides.forEach((b,I)=>{a.grid.updateSlide(I,b,a.slides)}),p.watchSlidesProgress&&a.updateSlidesOffset(),t){if(w.length>0&&A){if(typeof e>"u"){const b=a.slidesGrid[S],L=a.slidesGrid[S+C]-b;o?a.setTranslate(a.translate-L):(a.slideTo(S+Math.ceil(C),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-L,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-L))}else if(r){const b=T?w.length/p.grid.rows:w.length;a.slideTo(a.activeIndex+b,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(y.length>0&&M)if(typeof e>"u"){const b=a.slidesGrid[S],L=a.slidesGrid[S-F]-b;o?a.setTranslate(a.translate-L):(a.slideTo(S-F,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-L,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-L))}else{const b=T?y.length/p.grid.rows:y.length;a.slideTo(a.activeIndex-b,0,!1,!0)}}if(a.allowSlidePrev=c,a.allowSlideNext=f,a.controller&&a.controller.control&&!l){const b={slideRealIndex:e,direction:s,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(I=>{!I.destroyed&&I.params.loop&&I.loopFix({...b,slideTo:I.params.slidesPerView===p.slidesPerView?t:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...b,slideTo:a.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}a.emit("loopFix")}function Dt(){const i=this,{params:e,slidesEl:t}=i;if(!e.loop||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const s=[];i.slides.forEach(r=>{const n=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;s[n]=r}),i.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),s.forEach(r=>{t.append(r)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var Vt={loopCreate:_t,loopFix:Gt,loopDestroy:Dt};function Bt(i){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=i?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Ft(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var Nt={setGrabCursor:Bt,unsetGrabCursor:Ft};function $t(i,e){e===void 0&&(e=this);function t(s){if(!s||s===$()||s===z())return null;s.assignedSlot&&(s=s.assignedSlot);const r=s.closest(i);return!r&&!s.getRootNode?null:r||t(s.getRootNode().host)}return t(e)}function ve(i,e,t){const s=z(),{params:r}=i,n=r.edgeSwipeDetection,l=r.edgeSwipeThreshold;return n&&(t<=l||t>=s.innerWidth-l)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function Rt(i){const e=this,t=$();let s=i;s.originalEvent&&(s=s.originalEvent);const r=e.touchEventsData;if(s.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(r.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){ve(e,s,s.targetTouches[0].pageX);return}const{params:n,touches:l,enabled:o}=e;if(!o||!n.simulateTouch&&s.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let a=s.target;if(n.touchEventsTarget==="wrapper"&&!Xe(a,e.wrapperEl)||"which"in s&&s.which===3||"button"in s&&s.button>0||r.isTouched&&r.isMoved)return;const d=!!n.noSwipingClass&&n.noSwipingClass!=="",c=s.composedPath?s.composedPath():s.path;d&&s.target&&s.target.shadowRoot&&c&&(a=c[0]);const f=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,h=!!(s.target&&s.target.shadowRoot);if(n.noSwiping&&(h?$t(f,a):a.closest(f))){e.allowClick=!0;return}if(n.swipeHandler&&!a.closest(n.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const p=l.currentX,u=l.currentY;if(!ve(e,s,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=p,l.startY=u,r.touchStartTime=j(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let m=!0;a.matches(r.focusableElements)&&(m=!1,a.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==a&&(s.pointerType==="mouse"||s.pointerType!=="mouse"&&!a.matches(r.focusableElements))&&t.activeElement.blur();const v=m&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||v)&&!a.isContentEditable&&s.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Ht(i){const e=$(),t=this,s=t.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:o}=t;if(!o||!r.simulateTouch&&i.pointerType==="mouse")return;let a=i;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].filter(M=>M.identifier===s.touchId)[0],!d||d.identifier!==s.touchId)return}else d=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&t.emit("touchMoveOpposite",a);return}const c=d.pageX,f=d.pageY;if(a.preventedByNestedSwiper){n.startX=c,n.startY=f;return}if(!t.allowTouchMove){a.target.matches(s.focusableElements)||(t.allowClick=!1),s.isTouched&&(Object.assign(n,{startX:c,startY:f,currentX:c,currentY:f}),s.touchStartTime=j());return}if(r.touchReleaseOnEdges&&!r.loop){if(t.isVertical()){if(f<n.startY&&t.translate<=t.maxTranslate()||f>n.startY&&t.translate>=t.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(c<n.startX&&t.translate<=t.maxTranslate()||c>n.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(s.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,t.allowClick=!1;return}s.allowTouchCallbacks&&t.emit("touchMove",a),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=c,n.currentY=f;const h=n.currentX-n.startX,p=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(h**2+p**2)<t.params.threshold)return;if(typeof s.isScrolling>"u"){let M;t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?s.isScrolling=!1:h*h+p*p>=25&&(M=Math.atan2(Math.abs(p),Math.abs(h))*180/Math.PI,s.isScrolling=t.isHorizontal()?M>r.touchAngle:90-M>r.touchAngle)}if(s.isScrolling&&t.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(s.startMoving=!0),s.isScrolling||a.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;t.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation();let u=t.isHorizontal()?h:p,m=t.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(u=Math.abs(u)*(l?1:-1),m=Math.abs(m)*(l?1:-1)),n.diff=u,u*=r.touchRatio,l&&(u=-u,m=-m);const v=t.touchesDirection;t.swipeDirection=u>0?"prev":"next",t.touchesDirection=m>0?"prev":"next";const g=t.params.loop&&!r.cssMode,T=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!s.isMoved){if(g&&T&&t.loopFix({direction:t.swipeDirection}),s.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const M=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(M)}s.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",a)}let w;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&v!==t.touchesDirection&&g&&T&&Math.abs(u)>=1){Object.assign(n,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}t.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=u+s.startTranslate;let y=!0,S=r.resistanceRatio;if(r.touchReleaseOnEdges&&(S=0),u>0?(g&&T&&!w&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>t.minTranslate()&&(y=!1,r.resistance&&(s.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+s.startTranslate+u)**S))):u<0&&(g&&T&&!w&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslate<t.maxTranslate()&&(y=!1,r.resistance&&(s.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-s.startTranslate-u)**S))),y&&(a.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(s.currentTranslate=s.startTranslate),r.threshold>0)if(Math.abs(u)>r.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{s.currentTranslate=s.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(s.currentTranslate),t.setTranslate(s.currentTranslate))}function Wt(i){const e=this,t=e.touchEventsData;let s=i;s.originalEvent&&(s=s.originalEvent);let r;if(s.type==="touchend"||s.type==="touchcancel"){if(r=[...s.changedTouches].filter(S=>S.identifier===t.touchId)[0],!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||s.pointerId!==t.pointerId)return;r=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:d,enabled:c}=e;if(!c||!l.simulateTouch&&s.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",s),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&l.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}l.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=j(),h=f-t.touchStartTime;if(e.allowClick){const S=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(S&&S[0]||s.target,S),e.emit("tap click",s),h<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(t.lastClickTime=j(),re(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(l.followFinger?p=a?e.translate:-e.translate:p=-t.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const u=p>=-e.maxTranslate()&&!e.params.loop;let m=0,v=e.slidesSizesGrid[0];for(let S=0;S<d.length;S+=S<l.slidesPerGroupSkip?1:l.slidesPerGroup){const M=S<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;typeof d[S+M]<"u"?(u||p>=d[S]&&p<d[S+M])&&(m=S,v=d[S+M]-d[S]):(u||p>=d[S])&&(m=S,v=d[d.length-1]-d[d.length-2])}let g=null,T=null;l.rewind&&(e.isBeginning?T=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(g=0));const w=(p-d[m])/v,y=m<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(h>l.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(w>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?g:m+y):e.slideTo(m)),e.swipeDirection==="prev"&&(w>1-l.longSwipesRatio?e.slideTo(m+y):T!==null&&w<0&&Math.abs(w)>l.longSwipesRatio?e.slideTo(T):e.slideTo(m))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(m+y):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(g!==null?g:m+y),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:m))}}function we(){const i=this,{params:e,el:t}=i;if(t&&t.offsetWidth===0)return;e.breakpoints&&i.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:r,snapGrid:n}=i,l=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!o?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!l?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=r,i.allowSlideNext=s,i.params.watchOverflow&&n!==i.snapGrid&&i.checkOverflow()}function jt(i){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&i.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function qt(){const i=this,{wrapperEl:e,rtlTranslate:t,enabled:s}=i;if(!s)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-e.scrollLeft:i.translate=-e.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let r;const n=i.maxTranslate()-i.minTranslate();n===0?r=0:r=(i.translate-i.minTranslate())/n,r!==i.progress&&i.updateProgress(t?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function Yt(i){const e=this;W(e,i.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Xt(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const Ie=(i,e)=>{const t=$(),{params:s,el:r,wrapperEl:n,device:l}=i,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",d=e;!r||typeof r=="string"||(t[a]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:o}),r[a]("touchstart",i.onTouchStart,{passive:!1}),r[a]("pointerdown",i.onTouchStart,{passive:!1}),t[a]("touchmove",i.onTouchMove,{passive:!1,capture:o}),t[a]("pointermove",i.onTouchMove,{passive:!1,capture:o}),t[a]("touchend",i.onTouchEnd,{passive:!0}),t[a]("pointerup",i.onTouchEnd,{passive:!0}),t[a]("pointercancel",i.onTouchEnd,{passive:!0}),t[a]("touchcancel",i.onTouchEnd,{passive:!0}),t[a]("pointerout",i.onTouchEnd,{passive:!0}),t[a]("pointerleave",i.onTouchEnd,{passive:!0}),t[a]("contextmenu",i.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[a]("click",i.onClick,!0),s.cssMode&&n[a]("scroll",i.onScroll),s.updateOnWindowResize?i[d](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",we,!0):i[d]("observerUpdate",we,!0),r[a]("load",i.onLoad,{capture:!0}))};function Ut(){const i=this,{params:e}=i;i.onTouchStart=Rt.bind(i),i.onTouchMove=Ht.bind(i),i.onTouchEnd=Wt.bind(i),i.onDocumentTouchStart=Xt.bind(i),e.cssMode&&(i.onScroll=qt.bind(i)),i.onClick=jt.bind(i),i.onLoad=Yt.bind(i),Ie(i,"on")}function Kt(){Ie(this,"off")}var Jt={attachEvents:Ut,detachEvents:Kt};const Se=(i,e)=>i.grid&&e.grid&&e.grid.rows>1;function Qt(){const i=this,{realIndex:e,initialized:t,params:s,el:r}=i,n=s.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const l=i.getBreakpoint(n,i.params.breakpointsBase,i.el);if(!l||i.currentBreakpoint===l)return;const a=(l in n?n[l]:void 0)||i.originalParams,d=Se(i,s),c=Se(i,a),f=i.params.grabCursor,h=a.grabCursor,p=s.enabled;d&&!c?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),i.emitContainerClasses()):!d&&c&&(r.classList.add(`${s.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&s.grid.fill==="column")&&r.classList.add(`${s.containerModifierClass}grid-column`),i.emitContainerClasses()),f&&!h?i.unsetGrabCursor():!f&&h&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(w=>{if(typeof a[w]>"u")return;const y=s[w]&&s[w].enabled,S=a[w]&&a[w].enabled;y&&!S&&i[w].disable(),!y&&S&&i[w].enable()});const u=a.direction&&a.direction!==s.direction,m=s.loop&&(a.slidesPerView!==s.slidesPerView||u),v=s.loop;u&&t&&i.changeDirection(),O(i.params,a);const g=i.params.enabled,T=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),p&&!g?i.disable():!p&&g&&i.enable(),i.currentBreakpoint=l,i.emit("_beforeBreakpoint",a),t&&(m?(i.loopDestroy(),i.loopCreate(e),i.updateSlides()):!v&&T?(i.loopCreate(e),i.updateSlides()):v&&!T&&i.loopDestroy()),i.emit("breakpoint",a)}function Zt(i,e,t){if(e===void 0&&(e="window"),!i||e==="container"&&!t)return;let s=!1;const r=z(),n=e==="window"?r.innerHeight:t.clientHeight,l=Object.keys(i).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:n*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o<l.length;o+=1){const{point:a,value:d}=l[o];e==="window"?r.matchMedia(`(min-width: ${d}px)`).matches&&(s=a):d<=t.clientWidth&&(s=a)}return s||"max"}var ei={setBreakpoint:Qt,getBreakpoint:Zt};function ti(i,e){const t=[];return i.forEach(s=>{typeof s=="object"?Object.keys(s).forEach(r=>{s[r]&&t.push(e+r)}):typeof s=="string"&&t.push(e+s)}),t}function ii(){const i=this,{classNames:e,params:t,rtl:s,el:r,device:n}=i,l=ti(["initialized",t.direction,{"free-mode":i.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:s},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...l),r.classList.add(...e),i.emitContainerClasses()}function si(){const i=this,{el:e,classNames:t}=i;!e||typeof e=="string"||(e.classList.remove(...t),i.emitContainerClasses())}var ri={addClasses:ii,removeClasses:si};function ni(){const i=this,{isLocked:e,params:t}=i,{slidesOffsetBefore:s}=t;if(s){const r=i.slides.length-1,n=i.slidesGrid[r]+i.slidesSizesGrid[r]+s*2;i.isLocked=i.size>n}else i.isLocked=i.snapGrid.length===1;t.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),t.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),e&&e!==i.isLocked&&(i.isEnd=!1),e!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var ai={checkOverflow:ni},Te={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function oi(i,e){return function(s){s===void 0&&(s={});const r=Object.keys(s)[0],n=s[r];if(typeof n!="object"||n===null){O(e,s);return}if(i[r]===!0&&(i[r]={enabled:!0}),r==="navigation"&&i[r]&&i[r].enabled&&!i[r].prevEl&&!i[r].nextEl&&(i[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&i[r]&&i[r].enabled&&!i[r].el&&(i[r].auto=!0),!(r in i&&"enabled"in n)){O(e,s);return}typeof i[r]=="object"&&!("enabled"in i[r])&&(i[r].enabled=!0),i[r]||(i[r]={enabled:!1}),O(e,s)}}const ie={eventsEmitter:rt,update:ht,translate:xt,transition:Pt,slide:kt,loop:Vt,grabCursor:Nt,events:Jt,breakpoints:ei,checkOverflow:ai,classes:ri},se={};class k{constructor(){let e,t;for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];r.length===1&&r[0].constructor&&Object.prototype.toString.call(r[0]).slice(8,-1)==="Object"?t=r[0]:[e,t]=r,t||(t={}),t=O({},t),e&&!t.el&&(t.el=e);const l=$();if(t.el&&typeof t.el=="string"&&l.querySelectorAll(t.el).length>1){const c=[];return l.querySelectorAll(t.el).forEach(f=>{const h=O({},t,{el:f});c.push(new k(h))}),c}const o=this;o.__swiper__=!0,o.support=Pe(),o.device=Me({userAgent:t.userAgent}),o.browser=tt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const a={};o.modules.forEach(c=>{c({params:t,swiper:o,extendParams:oi(t,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const d=O({},Te,a);return o.params=O({},d,se,t),o.originalParams=O({},o.params),o.passedParams=O({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(c=>{o.on(c,o.params.on[c])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,r=_(t,`.${s.slideClass}, swiper-slide`),n=me(r[0]);return me(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>t.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:s}=e;e.slides=_(t,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const r=s.minTranslate(),l=(s.maxTranslate()-r)*e+r;s.translateTo(l,typeof t>"u"?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const r=e.getSlideClasses(s);t.push({slideEl:s,classNames:r}),e.emit("_slideClass",s,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const s=this,{params:r,slides:n,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:d}=s;let c=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let f=n[d]?Math.ceil(n[d].swiperSlideSize):0,h;for(let p=d+1;p<n.length;p+=1)n[p]&&!h&&(f+=Math.ceil(n[p].swiperSlideSize),c+=1,f>a&&(h=!0));for(let p=d-1;p>=0;p-=1)n[p]&&!h&&(f+=n[p].swiperSlideSize,c+=1,f>a&&(h=!0))}else if(e==="current")for(let f=d+1;f<n.length;f+=1)(t?l[f]+o[f]-l[d]<a:l[f]-l[d]<a)&&(c+=1);else for(let f=d-1;f>=0;f-=1)l[d]-l[f]<a&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(l=>{l.complete&&W(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)r(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(l.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||r()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const s=this,r=s.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${r}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(n=>{e==="vertical"?n.style.width="":n.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(r()):_(s,r())[0];return!l&&t.params.createElements&&(l=Y("div",t.params.wrapperClass),s.append(l),_(s,`.${t.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(t,{el:s,wrapperEl:l,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||V(s,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||V(s,"direction")==="rtl"),wrongRTL:V(l,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?W(t,n):n.addEventListener("load",l=>{W(t,l.target)})}),ne(t),t.initialized=!0,ne(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const s=this,{params:r,el:n,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),r.loop&&s.loopDestroy(),t&&(s.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),l&&l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el&&typeof s.el!="string"&&(s.el.swiper=null),We(s)),s.destroyed=!0),null}static extendDefaults(e){O(se,e)}static get extendedDefaults(){return se}static get defaults(){return Te}static installModule(e){k.prototype.__modules__||(k.prototype.__modules__=[]);const t=k.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>k.installModule(t)),k):(k.installModule(e),k)}}Object.keys(ie).forEach(i=>{Object.keys(ie[i]).forEach(e=>{k.prototype[e]=ie[i][e]})});k.use([it,st]);function li(i,e,t,s){return i.params.createElements&&Object.keys(s).forEach(r=>{if(!t[r]&&t.auto===!0){let n=_(i.el,`.${s[r]}`)[0];n||(n=Y("div",s[r]),n.className=s[r],i.el.append(n)),t[r]=n,e[r]=n}}),t}function di(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function n(u){let m;return u&&typeof u=="string"&&e.isElement&&(m=e.el.querySelector(u)||e.hostEl.querySelector(u),m)?m:(u&&(typeof u=="string"&&(m=[...document.querySelectorAll(u)]),e.params.uniqueNavElements&&typeof u=="string"&&m&&m.length>1&&e.el.querySelectorAll(u).length===1?m=e.el.querySelector(u):m&&m.length===1&&(m=m[0])),u&&!m?u:m)}function l(u,m){const v=e.params.navigation;u=G(u),u.forEach(g=>{g&&(g.classList[m?"add":"remove"](...v.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=m),e.params.watchOverflow&&e.enabled&&g.classList[e.isLocked?"add":"remove"](v.lockClass))})}function o(){const{nextEl:u,prevEl:m}=e.navigation;if(e.params.loop){l(m,!1),l(u,!1);return}l(m,e.isBeginning&&!e.params.rewind),l(u,e.isEnd&&!e.params.rewind)}function a(u){u.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(u){u.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){const u=e.params.navigation;if(e.params.navigation=li(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(u.nextEl||u.prevEl))return;let m=n(u.nextEl),v=n(u.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:v}),m=G(m),v=G(v);const g=(T,w)=>{T&&T.addEventListener("click",w==="next"?d:a),!e.enabled&&T&&T.classList.add(...u.lockClass.split(" "))};m.forEach(T=>g(T,"next")),v.forEach(T=>g(T,"prev"))}function f(){let{nextEl:u,prevEl:m}=e.navigation;u=G(u),m=G(m);const v=(g,T)=>{g.removeEventListener("click",T==="next"?d:a),g.classList.remove(...e.params.navigation.disabledClass.split(" "))};u.forEach(g=>v(g,"next")),m.forEach(g=>v(g,"prev"))}s("init",()=>{e.params.navigation.enabled===!1?p():(c(),o())}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{f()}),s("enable disable",()=>{let{nextEl:u,prevEl:m}=e.navigation;if(u=G(u),m=G(m),e.enabled){o();return}[...u,...m].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),s("click",(u,m)=>{let{nextEl:v,prevEl:g}=e.navigation;v=G(v),g=G(g);const T=m.target;let w=g.includes(T)||v.includes(T);if(e.isElement&&!w){const y=m.path||m.composedPath&&m.composedPath();y&&(w=y.find(S=>v.includes(S)||g.includes(S)))}if(e.params.navigation.hideOnClick&&!w){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===T||e.pagination.el.contains(T)))return;let y;v.length?y=v[0].classList.contains(e.params.navigation.hiddenClass):g.length&&(y=g[0].classList.contains(e.params.navigation.hiddenClass)),r(y===!0?"navigationShow":"navigationHide"),[...v,...g].filter(S=>!!S).forEach(S=>S.classList.toggle(e.params.navigation.hiddenClass))}});const h=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),o()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:h,disable:p,update:o,init:c,destroy:f})}const ci=xe(()=>ye(()=>import("./B7moA0Zy.js").then(i=>i.aX),__vite__mapDeps([0,1]),import.meta.url).then(i=>i.default||i)),fi=xe(()=>ye(()=>import("./CM9z76KS.js"),__vite__mapDeps([2,0,1,3]),import.meta.url).then(i=>i.default||i)),ui={__name:"Media",props:{data:{type:Object}},emits:["clicked"],setup(i,{emit:e}){const t=i,s=new Map([["sections_image_BlockType",ci],["sections_video_BlockType",fi]]),r=t.data.theme==="slider",n=X(),l=X(),o=X();let a;ke(()=>{r&&(a=new k(n.value,{modules:[di],navigation:{prevEl:l.value,nextEl:o.value,disabledClass:"disabled"},slidesPerView:"auto",spaceBetween:4}))}),_e(()=>{setTimeout(()=>{a==null||a.destroy()},500)});const d=new Map([["s-left",5],["m-left",6],["l-left",7],["full-left","1 / -1"],["s-center","3 / span 5"],["m-center","2 / -2"],["l-center","2 / -2"],["full-center","1 / -1"],["s-right","span 5 / -1"],["m-right","span 6 / -1"],["l-right","span 7 / -1"],["full-right","1 / -1"],["2-s-left",3],["2-s-right","span 3 / -1"]]),c=Ge("mq"),f=t.data.children.length,h=u=>{let m="1 / -1";if(f===1&&c.value.m){const{size:v,align:g}=u;m=d.get(`${v}-${g}`)||"1 / -1"}return f===2&&(m=c.value.m?4:"1 / -1"),f>2&&(m=c.value.m?2:4),m},p=u=>{let m="1 / -1";if(f===2){const{size:v,align:g}=u;m=c.value.m?m=d.get(`2-${v}-${g}`)||"1 / -1":"1 / -1"}return m};return(u,m)=>{const v=$e,g=ce("cols"),T=ce("grid");return B(),N("div",{class:K({swiper:r}),ref_key:"swiper",ref:n},[U((B(),N("div",{class:K({"swiper-wrapper":r})},[(B(!0),N(De,null,Ve(i.data.children,w=>U((B(),N("div",{class:K({"swiper-slide":r})},[U((B(),Be(Fe(Ne(s).get(w.__typename)),{data:{...w,showCaption:i.data.showCaption,autoplay:r,ratio:w.__typename==="sections_video_BlockType"?w.ratio:u.$mq.s||!r?!0:[4,5]}},null,8,["data"])),[[g,p(w)]])],2)),[[g,h(w)],[T,4]])),256))],2)),[[T,{cols:8,gap:"xs"}]]),r?(B(),N("div",{key:0,ref_key:"prevEl",ref:l},[fe(v,{class:"prev",data:{name:"arrow",rotate:-90,rounded:!0}})],512)):ue("",!0),r?(B(),N("div",{key:1,ref_key:"nextEl",ref:o},[fe(v,{class:"next",data:{name:"arrow",rotate:90,rounded:!0}})],512)):ue("",!0)],2)}}},mi=Ae(ui,[["__scopeId","data-v-6b094f5a"]]);export{mi as default};