@seresweb/website-component 2.0.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/cjs/horizontal-viewer.cjs +1 -1
  2. package/dist/cjs/image-indicator.cjs +1 -1
  3. package/dist/cjs/index.cjs +1 -1
  4. package/dist/cjs/swiper-normal.cjs +1 -1
  5. package/dist/cjs/swiper-showcase.cjs +1 -0
  6. package/dist/cjs/swiper-vehicle.cjs +1 -1
  7. package/dist/css/horizontal-viewer.css +1 -1
  8. package/dist/css/swiper-showcase.css +1 -0
  9. package/dist/css/swiper-vehicle.css +1 -1
  10. package/dist/css/video.css +1 -1
  11. package/dist/es/horizontal-viewer.mjs +1 -1
  12. package/dist/es/image-indicator.mjs +1 -1
  13. package/dist/es/index.mjs +18 -16
  14. package/dist/es/swiper-normal.mjs +1 -1
  15. package/dist/es/swiper-showcase.mjs +263 -0
  16. package/dist/es/swiper-vehicle.mjs +158 -2
  17. package/dist/global.d.ts +1 -0
  18. package/dist/index-C_05OlSq.cjs +1 -0
  19. package/dist/index-DfK8Ib64.js +563 -0
  20. package/dist/index.css +1 -1
  21. package/dist/scss/horizontal-viewer.scss +16 -1
  22. package/dist/scss/index.scss +1 -0
  23. package/dist/scss/swiper-showcase.scss +128 -0
  24. package/dist/scss/swiper-vehicle.scss +2 -2
  25. package/dist/scss/video.scss +5 -0
  26. package/dist/{index-BrggpRcU.js → swiper-bundle-DTJcHqdp.js} +1109 -1266
  27. package/dist/swiper-bundle-l31DJOK1.cjs +5 -0
  28. package/dist/types/components/horizontal-viewer/pc-viewer.vue.d.ts +6 -1
  29. package/dist/types/components/horizontal-viewer/type.d.ts +2 -0
  30. package/dist/types/components/image-indicator/type.d.ts +1 -0
  31. package/dist/types/components/index.d.ts +1 -0
  32. package/dist/types/components/swiper-showcase/index.d.ts +6 -0
  33. package/dist/types/components/swiper-showcase/swiper-showcase.vue.d.ts +10 -0
  34. package/dist/types/components/swiper-showcase/type.d.ts +33 -0
  35. package/package.json +1 -1
  36. package/dist/index-CM1T0AYM.js +0 -536
  37. package/dist/index-DL7IXrBi.cjs +0 -1
  38. package/dist/index-DrnEpWXW.cjs +0 -5
@@ -1,5 +0,0 @@
1
- "use strict";const X=require("vue"),oe=require("./_vars-CyrPevgT.cjs"),et=require("./cjs/layz-image.cjs");function tt(s){return s!==null&&typeof s=="object"&&"constructor"in s&&s.constructor===Object}function Ze(s,e){s===void 0&&(s={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof s[i]>"u"?s[i]=e[i]:tt(e[i])&&tt(s[i])&&Object.keys(e[i]).length>0&&Ze(s[i],e[i])})}const lt={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 W(){const s=typeof document<"u"?document:{};return Ze(s,lt),s}const mt={document:lt,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(s){return typeof setTimeout>"u"?(s(),null):setTimeout(s,0)},cancelAnimationFrame(s){typeof setTimeout>"u"||clearTimeout(s)}};function F(){const s=typeof window<"u"?window:{};return Ze(s,mt),s}function de(s){return s===void 0&&(s=""),s.trim().split(" ").filter(e=>!!e.trim())}function ht(s){const e=s;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function ge(s,e){return e===void 0&&(e=0),setTimeout(s,e)}function J(){return Date.now()}function gt(s){const e=F();let t;return e.getComputedStyle&&(t=e.getComputedStyle(s,null)),!t&&s.currentStyle&&(t=s.currentStyle),t||(t=s.style),t}function qe(s,e){e===void 0&&(e="x");const t=F();let i,a,r;const f=gt(s);return t.WebKitCSSMatrix?(a=f.transform||f.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(d=>d.replace(",",".")).join(", ")),r=new t.WebKitCSSMatrix(a==="none"?"":a)):(r=f.MozTransform||f.OTransform||f.MsTransform||f.msTransform||f.transform||f.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?a=r.m41:i.length===16?a=parseFloat(i[12]):a=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?a=r.m42:i.length===16?a=parseFloat(i[13]):a=parseFloat(i[5])),a||0}function Ee(s){return typeof s=="object"&&s!==null&&s.constructor&&Object.prototype.toString.call(s).slice(8,-1)==="Object"}function vt(s){return typeof window<"u"&&typeof window.HTMLElement<"u"?s instanceof HTMLElement:s&&(s.nodeType===1||s.nodeType===11)}function Z(){const s=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const i=t<0||arguments.length<=t?void 0:arguments[t];if(i!=null&&!vt(i)){const a=Object.keys(Object(i)).filter(r=>e.indexOf(r)<0);for(let r=0,f=a.length;r<f;r+=1){const d=a[r],u=Object.getOwnPropertyDescriptor(i,d);u!==void 0&&u.enumerable&&(Ee(s[d])&&Ee(i[d])?i[d].__swiper__?s[d]=i[d]:Z(s[d],i[d]):!Ee(s[d])&&Ee(i[d])?(s[d]={},i[d].__swiper__?s[d]=i[d]:Z(s[d],i[d])):s[d]=i[d])}}}return s}function xe(s,e,t){s.style.setProperty(e,t)}function ot(s){let{swiper:e,targetPosition:t,side:i}=s;const a=F(),r=-e.translate;let f=null,d;const u=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const o=t>r?"next":"prev",c=(w,p)=>o==="next"&&w>=p||o==="prev"&&w<=p,h=()=>{d=new Date().getTime(),f===null&&(f=d);const w=Math.max(Math.min((d-f)/u,1),0),p=.5-Math.cos(w*Math.PI)/2;let n=r+p*(t-r);if(c(n,t)&&(n=t),e.wrapperEl.scrollTo({[i]:n}),c(n,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:n})}),a.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=a.requestAnimationFrame(h)};h()}function ue(s){return s.querySelector(".swiper-slide-transform")||s.shadowRoot&&s.shadowRoot.querySelector(".swiper-slide-transform")||s}function q(s,e){e===void 0&&(e="");const t=F(),i=[...s.children];return t.HTMLSlotElement&&s instanceof HTMLSlotElement&&i.push(...s.assignedElements()),e?i.filter(a=>a.matches(e)):i}function wt(s,e){const t=[e];for(;t.length>0;){const i=t.shift();if(s===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function yt(s,e){const t=F();let i=e.contains(s);return!i&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(i=[...e.assignedElements()].includes(s),i||(i=wt(s,e))),i}function Ae(s){try{console.warn(s);return}catch{}}function Q(s,e){e===void 0&&(e=[]);const t=document.createElement(s);return t.classList.add(...Array.isArray(e)?e:de(e)),t}function $e(s){const e=F(),t=W(),i=s.getBoundingClientRect(),a=t.body,r=s.clientTop||a.clientTop||0,f=s.clientLeft||a.clientLeft||0,d=s===e?e.scrollY:s.scrollTop,u=s===e?e.scrollX:s.scrollLeft;return{top:i.top+d-r,left:i.left+u-f}}function bt(s,e){const t=[];for(;s.previousElementSibling;){const i=s.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function St(s,e){const t=[];for(;s.nextElementSibling;){const i=s.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function ce(s,e){return F().getComputedStyle(s,null).getPropertyValue(e)}function Me(s){let e=s,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function fe(s,e){const t=[];let i=s.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function Te(s,e){function t(i){i.target===s&&(e.call(s,i),s.removeEventListener("transitionend",t))}e&&s.addEventListener("transitionend",t)}function je(s,e,t){const i=F();return s[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function V(s){return(Array.isArray(s)?s:[s]).filter(e=>!!e)}function Oe(s){return e=>Math.abs(e)>0&&s.browser&&s.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}function re(s,e){e===void 0&&(e=""),typeof trustedTypes<"u"?s.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):s.innerHTML=e}let Re;function Et(){const s=F(),e=W();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in s||s.DocumentTouch&&e instanceof s.DocumentTouch)}}function dt(){return Re||(Re=Et()),Re}let Ve;function xt(s){let{userAgent:e}=s===void 0?{}:s;const t=dt(),i=F(),a=i.navigator.platform,r=e||i.navigator.userAgent,f={ios:!1,android:!1},d=i.screen.width,u=i.screen.height,o=r.match(/(Android);?[\s\/]+([\d.]+)?/);let c=r.match(/(iPad).*OS\s([\d_]+)/);const h=r.match(/(iPod)(.*OS\s([\d_]+))?/),w=!c&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=a==="Win32";let n=a==="MacIntel";const l=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&n&&t.touch&&l.indexOf(`${d}x${u}`)>=0&&(c=r.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),n=!1),o&&!p&&(f.os="android",f.android=!0),(c||w||h)&&(f.os="ios",f.ios=!0),f}function ct(s){return s===void 0&&(s={}),Ve||(Ve=xt(s)),Ve}let Ye;function Tt(){const s=F(),e=ct();let t=!1;function i(){const d=s.navigator.userAgent.toLowerCase();return d.indexOf("safari")>=0&&d.indexOf("chrome")<0&&d.indexOf("android")<0}if(i()){const d=String(s.navigator.userAgent);if(d.includes("Version/")){const[u,o]=d.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=u<16||u===16&&o<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(s.navigator.userAgent),r=i(),f=r||a&&e.ios;return{isSafari:t||r,needPerspectiveFix:t,need3dFix:f,isWebView:a}}function ft(){return Ye||(Ye=Tt()),Ye}function Mt(s){let{swiper:e,on:t,emit:i}=s;const a=F();let r=null,f=null;const d=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},u=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(h=>{f=a.requestAnimationFrame(()=>{const{width:w,height:p}=e;let n=w,l=p;h.forEach(v=>{let{contentBoxSize:y,contentRect:g,target:m}=v;m&&m!==e.el||(n=g?g.width:(y[0]||y).inlineSize,l=g?g.height:(y[0]||y).blockSize)}),(n!==w||l!==p)&&d()})}),r.observe(e.el))},o=()=>{f&&a.cancelAnimationFrame(f),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},c=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof a.ResizeObserver<"u"){u();return}a.addEventListener("resize",d),a.addEventListener("orientationchange",c)}),t("destroy",()=>{o(),a.removeEventListener("resize",d),a.removeEventListener("orientationchange",c)})}function Ct(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;const r=[],f=F(),d=function(c,h){h===void 0&&(h={});const w=f.MutationObserver||f.WebkitMutationObserver,p=new w(n=>{if(e.__preventObserver__)return;if(n.length===1){a("observerUpdate",n[0]);return}const l=function(){a("observerUpdate",n[0])};f.requestAnimationFrame?f.requestAnimationFrame(l):f.setTimeout(l,0)});p.observe(c,{attributes:typeof h.attributes>"u"?!0:h.attributes,childList:e.isElement||(typeof h.childList>"u"?!0:h).childList,characterData:typeof h.characterData>"u"?!0:h.characterData}),r.push(p)},u=()=>{if(e.params.observer){if(e.params.observeParents){const c=fe(e.hostEl);for(let h=0;h<c.length;h+=1)d(c[h])}d(e.hostEl,{childList:e.params.observeSlideChildren}),d(e.wrapperEl,{attributes:!1})}},o=()=>{r.forEach(c=>{c.disconnect()}),r.splice(0,r.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",u),i("destroy",o)}var Pt={on(s,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const a=t?"unshift":"push";return s.split(" ").forEach(r=>{i.eventsListeners[r]||(i.eventsListeners[r]=[]),i.eventsListeners[r][a](e)}),i},once(s,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function a(){i.off(s,a),a.__emitterProxy&&delete a.__emitterProxy;for(var r=arguments.length,f=new Array(r),d=0;d<r;d++)f[d]=arguments[d];e.apply(i,f)}return a.__emitterProxy=e,i.on(s,a,t)},onAny(s,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof s!="function")return t;const i=e?"unshift":"push";return t.eventsAnyListeners.indexOf(s)<0&&t.eventsAnyListeners[i](s),t},offAny(s){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(s);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(s,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||s.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((a,r)=>{(a===e||a.__emitterProxy&&a.__emitterProxy===e)&&t.eventsListeners[i].splice(r,1)})}),t},emit(){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let e,t,i;for(var a=arguments.length,r=new Array(a),f=0;f<a;f++)r[f]=arguments[f];return typeof r[0]=="string"||Array.isArray(r[0])?(e=r[0],t=r.slice(1,r.length),i=s):(e=r[0].events,t=r[0].data,i=r[0].context||s),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(u=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(o=>{o.apply(i,[u,...t])}),s.eventsListeners&&s.eventsListeners[u]&&s.eventsListeners[u].forEach(o=>{o.apply(i,t)})}),s}};function It(){const s=this;let e,t;const i=s.el;typeof s.params.width<"u"&&s.params.width!==null?e=s.params.width:e=i.clientWidth,typeof s.params.height<"u"&&s.params.height!==null?t=s.params.height:t=i.clientHeight,!(e===0&&s.isHorizontal()||t===0&&s.isVertical())&&(e=e-parseInt(ce(i,"padding-left")||0,10)-parseInt(ce(i,"padding-right")||0,10),t=t-parseInt(ce(i,"padding-top")||0,10)-parseInt(ce(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(s,{width:e,height:t,size:s.isHorizontal()?e:t}))}function Lt(){const s=this;function e(T,I){return parseFloat(T.getPropertyValue(s.getDirectionLabel(I))||0)}const t=s.params,{wrapperEl:i,slidesEl:a,size:r,rtlTranslate:f,wrongRTL:d}=s,u=s.virtual&&t.virtual.enabled,o=u?s.virtual.slides.length:s.slides.length,c=q(a,`.${s.params.slideClass}, swiper-slide`),h=u?s.virtual.slides.length:c.length;let w=[];const p=[],n=[];let l=t.slidesOffsetBefore;typeof l=="function"&&(l=t.slidesOffsetBefore.call(s));let v=t.slidesOffsetAfter;typeof v=="function"&&(v=t.slidesOffsetAfter.call(s));const y=s.snapGrid.length,g=s.slidesGrid.length;let m=t.spaceBetween,b=-l,E=0,$=0;if(typeof r>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*r:typeof m=="string"&&(m=parseFloat(m)),s.virtualSize=-m,c.forEach(T=>{f?T.style.marginLeft="":T.style.marginRight="",T.style.marginBottom="",T.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(xe(i,"--swiper-centered-offset-before",""),xe(i,"--swiper-centered-offset-after",""));const z=t.grid&&t.grid.rows>1&&s.grid;z?s.grid.initSlides(c):s.grid&&s.grid.unsetSlides();let A;const M=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(T=>typeof t.breakpoints[T].slidesPerView<"u").length>0;for(let T=0;T<h;T+=1){A=0;let I;if(c[T]&&(I=c[T]),z&&s.grid.updateSlide(T,I,c),!(c[T]&&ce(I,"display")==="none")){if(t.slidesPerView==="auto"){M&&(c[T].style[s.getDirectionLabel("width")]="");const P=getComputedStyle(I),C=I.style.transform,L=I.style.webkitTransform;if(C&&(I.style.transform="none"),L&&(I.style.webkitTransform="none"),t.roundLengths)A=s.isHorizontal()?je(I,"width"):je(I,"height");else{const D=e(P,"width"),B=e(P,"padding-left"),S=e(P,"padding-right"),x=e(P,"margin-left"),H=e(P,"margin-right"),R=P.getPropertyValue("box-sizing");if(R&&R==="border-box")A=D+x+H;else{const{clientWidth:N,offsetWidth:_}=I;A=D+B+S+x+H+(_-N)}}C&&(I.style.transform=C),L&&(I.style.webkitTransform=L),t.roundLengths&&(A=Math.floor(A))}else A=(r-(t.slidesPerView-1)*m)/t.slidesPerView,t.roundLengths&&(A=Math.floor(A)),c[T]&&(c[T].style[s.getDirectionLabel("width")]=`${A}px`);c[T]&&(c[T].swiperSlideSize=A),n.push(A),t.centeredSlides?(b=b+A/2+E/2+m,E===0&&T!==0&&(b=b-r/2-m),T===0&&(b=b-r/2-m),Math.abs(b)<1/1e3&&(b=0),t.roundLengths&&(b=Math.floor(b)),$%t.slidesPerGroup===0&&w.push(b),p.push(b)):(t.roundLengths&&(b=Math.floor(b)),($-Math.min(s.params.slidesPerGroupSkip,$))%s.params.slidesPerGroup===0&&w.push(b),p.push(b),b=b+A+m),s.virtualSize+=A+m,E=A,$+=1}}if(s.virtualSize=Math.max(s.virtualSize,r)+v,f&&d&&(t.effect==="slide"||t.effect==="coverflow")&&(i.style.width=`${s.virtualSize+m}px`),t.setWrapperSize&&(i.style[s.getDirectionLabel("width")]=`${s.virtualSize+m}px`),z&&s.grid.updateWrapperSize(A,w),!t.centeredSlides){const T=[];for(let I=0;I<w.length;I+=1){let P=w[I];t.roundLengths&&(P=Math.floor(P)),w[I]<=s.virtualSize-r&&T.push(P)}w=T,Math.floor(s.virtualSize-r)-Math.floor(w[w.length-1])>1&&w.push(s.virtualSize-r)}if(u&&t.loop){const T=n[0]+m;if(t.slidesPerGroup>1){const I=Math.ceil((s.virtual.slidesBefore+s.virtual.slidesAfter)/t.slidesPerGroup),P=T*t.slidesPerGroup;for(let C=0;C<I;C+=1)w.push(w[w.length-1]+P)}for(let I=0;I<s.virtual.slidesBefore+s.virtual.slidesAfter;I+=1)t.slidesPerGroup===1&&w.push(w[w.length-1]+T),p.push(p[p.length-1]+T),s.virtualSize+=T}if(w.length===0&&(w=[0]),m!==0){const T=s.isHorizontal()&&f?"marginLeft":s.getDirectionLabel("marginRight");c.filter((I,P)=>!t.cssMode||t.loop?!0:P!==c.length-1).forEach(I=>{I.style[T]=`${m}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let T=0;n.forEach(P=>{T+=P+(m||0)}),T-=m;const I=T>r?T-r:0;w=w.map(P=>P<=0?-l:P>I?I+v:P)}if(t.centerInsufficientSlides){let T=0;n.forEach(P=>{T+=P+(m||0)}),T-=m;const I=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(T+I<r){const P=(r-T-I)/2;w.forEach((C,L)=>{w[L]=C-P}),p.forEach((C,L)=>{p[L]=C+P})}}if(Object.assign(s,{slides:c,snapGrid:w,slidesGrid:p,slidesSizesGrid:n}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){xe(i,"--swiper-centered-offset-before",`${-w[0]}px`),xe(i,"--swiper-centered-offset-after",`${s.size/2-n[n.length-1]/2}px`);const T=-s.snapGrid[0],I=-s.slidesGrid[0];s.snapGrid=s.snapGrid.map(P=>P+T),s.slidesGrid=s.slidesGrid.map(P=>P+I)}if(h!==o&&s.emit("slidesLengthChange"),w.length!==y&&(s.params.watchOverflow&&s.checkOverflow(),s.emit("snapGridLengthChange")),p.length!==g&&s.emit("slidesGridLengthChange"),t.watchSlidesProgress&&s.updateSlidesOffset(),s.emit("slidesUpdated"),!u&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const T=`${t.containerModifierClass}backface-hidden`,I=s.el.classList.contains(T);h<=t.maxBackfaceHiddenSlides?I||s.el.classList.add(T):I&&s.el.classList.remove(T)}}function zt(s){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let a=0,r;typeof s=="number"?e.setTransition(s):s===!0&&e.setTransition(e.params.speed);const f=d=>i?e.slides[e.getSlideIndexByData(d)]:e.slides[d];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(d=>{t.push(d)});else for(r=0;r<Math.ceil(e.params.slidesPerView);r+=1){const d=e.activeIndex+r;if(d>e.slides.length&&!i)break;t.push(f(d))}else t.push(f(e.activeIndex));for(r=0;r<t.length;r+=1)if(typeof t[r]<"u"){const d=t[r].offsetHeight;a=d>a?d:a}(a||a===0)&&(e.wrapperEl.style.height=`${a}px`)}function At(){const s=this,e=s.slides,t=s.isElement?s.isHorizontal()?s.wrapperEl.offsetLeft:s.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(s.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-s.cssOverflowAdjustment()}const st=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function $t(s){s===void 0&&(s=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:a,snapGrid:r}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let f=-s;a&&(f=s),e.visibleSlidesIndexes=[],e.visibleSlides=[];let d=t.spaceBetween;typeof d=="string"&&d.indexOf("%")>=0?d=parseFloat(d.replace("%",""))/100*e.size:typeof d=="string"&&(d=parseFloat(d));for(let u=0;u<i.length;u+=1){const o=i[u];let c=o.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(c-=i[0].swiperSlideOffset);const h=(f+(t.centeredSlides?e.minTranslate():0)-c)/(o.swiperSlideSize+d),w=(f-r[0]+(t.centeredSlides?e.minTranslate():0)-c)/(o.swiperSlideSize+d),p=-(f-c),n=p+e.slidesSizesGrid[u],l=p>=0&&p<=e.size-e.slidesSizesGrid[u],v=p>=0&&p<e.size-1||n>1&&n<=e.size||p<=0&&n>=e.size;v&&(e.visibleSlides.push(o),e.visibleSlidesIndexes.push(u)),st(o,v,t.slideVisibleClass),st(o,l,t.slideFullyVisibleClass),o.progress=a?-h:h,o.originalProgress=a?-w:w}}function Ot(s){const e=this;if(typeof s>"u"){const c=e.rtlTranslate?-1:1;s=e&&e.translate&&e.translate*c||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:a,isBeginning:r,isEnd:f,progressLoop:d}=e;const u=r,o=f;if(i===0)a=0,r=!0,f=!0;else{a=(s-e.minTranslate())/i;const c=Math.abs(s-e.minTranslate())<1,h=Math.abs(s-e.maxTranslate())<1;r=c||a<=0,f=h||a>=1,c&&(a=0),h&&(a=1)}if(t.loop){const c=e.getSlideIndexByData(0),h=e.getSlideIndexByData(e.slides.length-1),w=e.slidesGrid[c],p=e.slidesGrid[h],n=e.slidesGrid[e.slidesGrid.length-1],l=Math.abs(s);l>=w?d=(l-w)/n:d=(l+n-p)/n,d>1&&(d-=1)}Object.assign(e,{progress:a,progressLoop:d,isBeginning:r,isEnd:f}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(s),r&&!u&&e.emit("reachBeginning toEdge"),f&&!o&&e.emit("reachEnd toEdge"),(u&&!r||o&&!f)&&e.emit("fromEdge"),e.emit("progress",a)}const Fe=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function Dt(){const s=this,{slides:e,params:t,slidesEl:i,activeIndex:a}=s,r=s.virtual&&t.virtual.enabled,f=s.grid&&t.grid&&t.grid.rows>1,d=h=>q(i,`.${t.slideClass}${h}, swiper-slide${h}`)[0];let u,o,c;if(r)if(t.loop){let h=a-s.virtual.slidesBefore;h<0&&(h=s.virtual.slides.length+h),h>=s.virtual.slides.length&&(h-=s.virtual.slides.length),u=d(`[data-swiper-slide-index="${h}"]`)}else u=d(`[data-swiper-slide-index="${a}"]`);else f?(u=e.find(h=>h.column===a),c=e.find(h=>h.column===a+1),o=e.find(h=>h.column===a-1)):u=e[a];u&&(f||(c=St(u,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),o=bt(u,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!o===0&&(o=e[e.length-1]))),e.forEach(h=>{Fe(h,h===u,t.slideActiveClass),Fe(h,h===c,t.slideNextClass),Fe(h,h===o,t.slidePrevClass)}),s.emitSlidesClasses()}const ze=(s,e)=>{if(!s||s.destroyed||!s.params)return;const t=()=>s.isElement?"swiper-slide":`.${s.params.slideClass}`,i=e.closest(t());if(i){let a=i.querySelector(`.${s.params.lazyPreloaderClass}`);!a&&s.isElement&&(i.shadowRoot?a=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(a=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`),a&&a.remove())})),a&&a.remove()}},Ne=(s,e)=>{if(!s.slides[e])return;const t=s.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},Ue=s=>{if(!s||s.destroyed||!s.params)return;let e=s.params.lazyPreloadPrevNext;const t=s.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const i=s.params.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(s.params.slidesPerView),a=s.activeIndex;if(s.params.grid&&s.params.grid.rows>1){const f=a,d=[f-e];d.push(...Array.from({length:e}).map((u,o)=>f+i+o)),s.slides.forEach((u,o)=>{d.includes(u.column)&&Ne(s,o)});return}const r=a+i-1;if(s.params.rewind||s.params.loop)for(let f=a-e;f<=r+e;f+=1){const d=(f%t+t)%t;(d<a||d>r)&&Ne(s,d)}else for(let f=Math.max(a-e,0);f<=Math.min(r+e,t-1);f+=1)f!==a&&(f>r||f<a)&&Ne(s,f)};function kt(s){const{slidesGrid:e,params:t}=s,i=s.rtlTranslate?s.translate:-s.translate;let a;for(let r=0;r<e.length;r+=1)typeof e[r+1]<"u"?i>=e[r]&&i<e[r+1]-(e[r+1]-e[r])/2?a=r:i>=e[r]&&i<e[r+1]&&(a=r+1):i>=e[r]&&(a=r);return t.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function Bt(s){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:a,activeIndex:r,realIndex:f,snapIndex:d}=e;let u=s,o;const c=p=>{let n=p-e.virtual.slidesBefore;return n<0&&(n=e.virtual.slides.length+n),n>=e.virtual.slides.length&&(n-=e.virtual.slides.length),n};if(typeof u>"u"&&(u=kt(e)),i.indexOf(t)>=0)o=i.indexOf(t);else{const p=Math.min(a.slidesPerGroupSkip,u);o=p+Math.floor((u-p)/a.slidesPerGroup)}if(o>=i.length&&(o=i.length-1),u===r&&!e.params.loop){o!==d&&(e.snapIndex=o,e.emit("snapIndexChange"));return}if(u===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(u);return}const h=e.grid&&a.grid&&a.grid.rows>1;let w;if(e.virtual&&a.virtual.enabled&&a.loop)w=c(u);else if(h){const p=e.slides.find(l=>l.column===u);let n=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(e.slides.indexOf(p),0)),w=Math.floor(n/a.grid.rows)}else if(e.slides[u]){const p=e.slides[u].getAttribute("data-swiper-slide-index");p?w=parseInt(p,10):w=u}else w=u;Object.assign(e,{previousSnapIndex:d,snapIndex:o,previousRealIndex:f,realIndex:w,previousIndex:r,activeIndex:u}),e.initialized&&Ue(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(f!==w&&e.emit("realIndexChange"),e.emit("slideChange"))}function Gt(s,e){const t=this,i=t.params;let a=s.closest(`.${i.slideClass}, swiper-slide`);!a&&t.isElement&&e&&e.length>1&&e.includes(s)&&[...e.slice(e.indexOf(s)+1,e.length)].forEach(d=>{!a&&d.matches&&d.matches(`.${i.slideClass}, swiper-slide`)&&(a=d)});let r=!1,f;if(a){for(let d=0;d<t.slides.length;d+=1)if(t.slides[d]===a){r=!0,f=d;break}}if(a&&r)t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=f;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}i.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var Ht={updateSize:It,updateSlides:Lt,updateAutoHeight:zt,updateSlidesOffset:At,updateSlidesProgress:$t,updateProgress:Ot,updateSlidesClasses:Dt,updateActiveIndex:Bt,updateClickedSlide:Gt};function Xt(s){s===void 0&&(s=this.isHorizontal()?"x":"y");const e=this,{params:t,rtlTranslate:i,translate:a,wrapperEl:r}=e;if(t.virtualTranslate)return i?-a:a;if(t.cssMode)return a;let f=qe(r,s);return f+=e.cssOverflowAdjustment(),i&&(f=-f),f||0}function Rt(s,e){const t=this,{rtlTranslate:i,params:a,wrapperEl:r,progress:f}=t;let d=0,u=0;const o=0;t.isHorizontal()?d=i?-s:s:u=s,a.roundLengths&&(d=Math.floor(d),u=Math.floor(u)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?d:u,a.cssMode?r[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-d:-u:a.virtualTranslate||(t.isHorizontal()?d-=t.cssOverflowAdjustment():u-=t.cssOverflowAdjustment(),r.style.transform=`translate3d(${d}px, ${u}px, ${o}px)`);let c;const h=t.maxTranslate()-t.minTranslate();h===0?c=0:c=(s-t.minTranslate())/h,c!==f&&t.updateProgress(s),t.emit("setTranslate",t.translate,e)}function Vt(){return-this.snapGrid[0]}function Yt(){return-this.snapGrid[this.snapGrid.length-1]}function Ft(s,e,t,i,a){s===void 0&&(s=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),i===void 0&&(i=!0);const r=this,{params:f,wrapperEl:d}=r;if(r.animating&&f.preventInteractionOnTransition)return!1;const u=r.minTranslate(),o=r.maxTranslate();let c;if(i&&s>u?c=u:i&&s<o?c=o:c=s,r.updateProgress(c),f.cssMode){const h=r.isHorizontal();if(e===0)d[h?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return ot({swiper:r,targetPosition:-c,side:h?"left":"top"}),!0;d.scrollTo({[h?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(r.setTransition(0),r.setTranslate(c),t&&(r.emit("beforeTransitionStart",e,a),r.emit("transitionEnd"))):(r.setTransition(e),r.setTranslate(c),t&&(r.emit("beforeTransitionStart",e,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(w){!r||r.destroyed||w.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,t&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var Nt={getTranslate:Xt,setTranslate:Rt,minTranslate:Vt,maxTranslate:Yt,translateTo:Ft};function _t(s,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${s}ms`,t.wrapperEl.style.transitionDelay=s===0?"0ms":""),t.emit("setTransition",s,e)}function ut(s){let{swiper:e,runCallbacks:t,direction:i,step:a}=s;const{activeIndex:r,previousIndex:f}=e;let d=i;d||(r>f?d="next":r<f?d="prev":d="reset"),e.emit(`transition${a}`),t&&d==="reset"?e.emit(`slideResetTransition${a}`):t&&r!==f&&(e.emit(`slideChangeTransition${a}`),d==="next"?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`))}function Wt(s,e){s===void 0&&(s=!0);const t=this,{params:i}=t;i.cssMode||(i.autoHeight&&t.updateAutoHeight(),ut({swiper:t,runCallbacks:s,direction:e,step:"Start"}))}function qt(s,e){s===void 0&&(s=!0);const t=this,{params:i}=t;t.animating=!1,!i.cssMode&&(t.setTransition(0),ut({swiper:t,runCallbacks:s,direction:e,step:"End"}))}var jt={setTransition:_t,transitionStart:Wt,transitionEnd:qt};function Ut(s,e,t,i,a){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));const r=this;let f=s;f<0&&(f=0);const{params:d,snapGrid:u,slidesGrid:o,previousIndex:c,activeIndex:h,rtlTranslate:w,wrapperEl:p,enabled:n}=r;if(!n&&!i&&!a||r.destroyed||r.animating&&d.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=r.params.speed);const l=Math.min(r.params.slidesPerGroupSkip,f);let v=l+Math.floor((f-l)/r.params.slidesPerGroup);v>=u.length&&(v=u.length-1);const y=-u[v];if(d.normalizeSlideIndex)for(let z=0;z<o.length;z+=1){const A=-Math.floor(y*100),M=Math.floor(o[z]*100),T=Math.floor(o[z+1]*100);typeof o[z+1]<"u"?A>=M&&A<T-(T-M)/2?f=z:A>=M&&A<T&&(f=z+1):A>=M&&(f=z)}if(r.initialized&&f!==h&&(!r.allowSlideNext&&(w?y>r.translate&&y>r.minTranslate():y<r.translate&&y<r.minTranslate())||!r.allowSlidePrev&&y>r.translate&&y>r.maxTranslate()&&(h||0)!==f))return!1;f!==(c||0)&&t&&r.emit("beforeSlideChangeStart"),r.updateProgress(y);let g;f>h?g="next":f<h?g="prev":g="reset";const m=r.virtual&&r.params.virtual.enabled;if(!(m&&a)&&(w&&-y===r.translate||!w&&y===r.translate))return r.updateActiveIndex(f),d.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),d.effect!=="slide"&&r.setTranslate(y),g!=="reset"&&(r.transitionStart(t,g),r.transitionEnd(t,g)),!1;if(d.cssMode){const z=r.isHorizontal(),A=w?y:-y;if(e===0)m&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),m&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[z?"scrollLeft":"scrollTop"]=A})):p[z?"scrollLeft":"scrollTop"]=A,m&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return ot({swiper:r,targetPosition:A,side:z?"left":"top"}),!0;p.scrollTo({[z?"left":"top"]:A,behavior:"smooth"})}return!0}const $=ft().isSafari;return m&&!a&&$&&r.isElement&&r.virtual.update(!1,!1,f),r.setTransition(e),r.setTranslate(y),r.updateActiveIndex(f),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,i),r.transitionStart(t,g),e===0?r.transitionEnd(t,g):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(A){!r||r.destroyed||A.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(t,g))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Kt(s,e,t,i){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));const a=this;if(a.destroyed)return;typeof e>"u"&&(e=a.params.speed);const r=a.grid&&a.params.grid&&a.params.grid.rows>1;let f=s;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)f=f+a.virtual.slidesBefore;else{let d;if(r){const w=f*a.params.grid.rows;d=a.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===w).column}else d=a.getSlideIndexByData(f);const u=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:o}=a.params;let c=a.params.slidesPerView;c==="auto"?c=a.slidesPerViewDynamic():(c=Math.ceil(parseFloat(a.params.slidesPerView,10)),o&&c%2===0&&(c=c+1));let h=u-d<c;if(o&&(h=h||d<Math.ceil(c/2)),i&&o&&a.params.slidesPerView!=="auto"&&!r&&(h=!1),h){const w=o?d<a.activeIndex?"prev":"next":d-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:w,slideTo:!0,activeSlideIndex:w==="next"?d+1:d-u+1,slideRealIndex:w==="next"?a.realIndex:void 0})}if(r){const w=f*a.params.grid.rows;f=a.slides.find(p=>p.getAttribute("data-swiper-slide-index")*1===w).column}else f=a.getSlideIndexByData(f)}return requestAnimationFrame(()=>{a.slideTo(f,e,t,i)}),a}function Zt(s,e,t){e===void 0&&(e=!0);const i=this,{enabled:a,params:r,animating:f}=i;if(!a||i.destroyed)return i;typeof s>"u"&&(s=i.params.speed);let d=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(d=Math.max(i.slidesPerViewDynamic("current",!0),1));const u=i.activeIndex<r.slidesPerGroupSkip?1:d,o=i.virtual&&r.virtual.enabled;if(r.loop){if(f&&!o&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+u,s,e,t)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,s,e,t):i.slideTo(i.activeIndex+u,s,e,t)}function Qt(s,e,t){e===void 0&&(e=!0);const i=this,{params:a,snapGrid:r,slidesGrid:f,rtlTranslate:d,enabled:u,animating:o}=i;if(!u||i.destroyed)return i;typeof s>"u"&&(s=i.params.speed);const c=i.virtual&&a.virtual.enabled;if(a.loop){if(o&&!c&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const h=d?i.translate:-i.translate;function w(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const p=w(h),n=r.map(g=>w(g)),l=a.freeMode&&a.freeMode.enabled;let v=r[n.indexOf(p)-1];if(typeof v>"u"&&(a.cssMode||l)){let g;r.forEach((m,b)=>{p>=m&&(g=b)}),typeof g<"u"&&(v=l?r[g]:r[g>0?g-1:g])}let y=0;if(typeof v<"u"&&(y=f.indexOf(v),y<0&&(y=i.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(y=y-i.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),a.rewind&&i.isBeginning){const g=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(g,s,e,t)}else if(a.loop&&i.activeIndex===0&&a.cssMode)return requestAnimationFrame(()=>{i.slideTo(y,s,e,t)}),!0;return i.slideTo(y,s,e,t)}function Jt(s,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof s>"u"&&(s=i.params.speed),i.slideTo(i.activeIndex,s,e,t)}function es(s,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const a=this;if(a.destroyed)return;typeof s>"u"&&(s=a.params.speed);let r=a.activeIndex;const f=Math.min(a.params.slidesPerGroupSkip,r),d=f+Math.floor((r-f)/a.params.slidesPerGroup),u=a.rtlTranslate?a.translate:-a.translate;if(u>=a.snapGrid[d]){const o=a.snapGrid[d],c=a.snapGrid[d+1];u-o>(c-o)*i&&(r+=a.params.slidesPerGroup)}else{const o=a.snapGrid[d-1],c=a.snapGrid[d];u-o<=(c-o)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,s,e,t)}function ts(){const s=this;if(s.destroyed)return;const{params:e,slidesEl:t}=s,i=e.slidesPerView==="auto"?s.slidesPerViewDynamic():e.slidesPerView;let a=s.getSlideIndexWhenGrid(s.clickedIndex),r;const f=s.isElement?"swiper-slide":`.${e.slideClass}`,d=s.grid&&s.params.grid&&s.params.grid.rows>1;if(e.loop){if(s.animating)return;r=parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?s.slideToLoop(r):a>(d?(s.slides.length-i)/2-(s.params.grid.rows-1):s.slides.length-i)?(s.loopFix(),a=s.getSlideIndex(q(t,`${f}[data-swiper-slide-index="${r}"]`)[0]),ge(()=>{s.slideTo(a)})):s.slideTo(a)}else s.slideTo(a)}var ss={slideTo:Ut,slideToLoop:Kt,slideNext:Zt,slidePrev:Qt,slideReset:Jt,slideToClosest:es,slideToClickedSlide:ts};function is(s,e){const t=this,{params:i,slidesEl:a}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{q(a,`.${i.slideClass}, swiper-slide`).forEach((p,n)=>{p.setAttribute("data-swiper-slide-index",n)})},f=()=>{const w=q(a,`.${i.slideBlankClass}`);w.forEach(p=>{p.remove()}),w.length>0&&(t.recalcSlides(),t.updateSlides())},d=t.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||d)&&f();const u=i.slidesPerGroup*(d?i.grid.rows:1),o=t.slides.length%u!==0,c=d&&t.slides.length%i.grid.rows!==0,h=w=>{for(let p=0;p<w;p+=1){const n=t.isElement?Q("swiper-slide",[i.slideBlankClass]):Q("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(n)}};if(o){if(i.loopAddBlankSlides){const w=u-t.slides.length%u;h(w),t.recalcSlides(),t.updateSlides()}else Ae("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(c){if(i.loopAddBlankSlides){const w=i.grid.rows-t.slides.length%i.grid.rows;h(w),t.recalcSlides(),t.updateSlides()}else Ae("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();t.loopFix({slideRealIndex:s,direction:i.centeredSlides?void 0:"next",initial:e})}function rs(s){let{slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:a,activeSlideIndex:r,initial:f,byController:d,byMousewheel:u}=s===void 0?{}:s;const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:c,allowSlidePrev:h,allowSlideNext:w,slidesEl:p,params:n}=o,{centeredSlides:l,initialSlide:v}=n;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&n.virtual.enabled){t&&(!n.centeredSlides&&o.snapIndex===0?o.slideTo(o.virtual.slides.length,0,!1,!0):n.centeredSlides&&o.snapIndex<n.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0)),o.allowSlidePrev=h,o.allowSlideNext=w,o.emit("loopFix");return}let y=n.slidesPerView;y==="auto"?y=o.slidesPerViewDynamic():(y=Math.ceil(parseFloat(n.slidesPerView,10)),l&&y%2===0&&(y=y+1));const g=n.slidesPerGroupAuto?y:n.slidesPerGroup;let m=l?Math.max(g,Math.ceil(y/2)):g;m%g!==0&&(m+=g-m%g),m+=n.loopAdditionalSlides,o.loopedSlides=m;const b=o.grid&&n.grid&&n.grid.rows>1;c.length<y+m||o.params.effect==="cards"&&c.length<y+m*2?Ae("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&n.grid.fill==="row"&&Ae("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const E=[],$=[],z=b?Math.ceil(c.length/n.grid.rows):c.length,A=f&&z-v<y&&!l;let M=A?v:o.activeIndex;typeof r>"u"?r=o.getSlideIndex(c.find(B=>B.classList.contains(n.slideActiveClass))):M=r;const T=i==="next"||!i,I=i==="prev"||!i;let P=0,C=0;const D=(b?c[r].column:r)+(l&&typeof a>"u"?-y/2+.5:0);if(D<m){P=Math.max(m-D,g);for(let B=0;B<m-D;B+=1){const S=B-Math.floor(B/z)*z;if(b){const x=z-S-1;for(let H=c.length-1;H>=0;H-=1)c[H].column===x&&E.push(H)}else E.push(z-S-1)}}else if(D+y>z-m){C=Math.max(D-(z-m*2),g),A&&(C=Math.max(C,y-z+v+1));for(let B=0;B<C;B+=1){const S=B-Math.floor(B/z)*z;b?c.forEach((x,H)=>{x.column===S&&$.push(H)}):$.push(S)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),o.params.effect==="cards"&&c.length<y+m*2&&($.includes(r)&&$.splice($.indexOf(r),1),E.includes(r)&&E.splice(E.indexOf(r),1)),I&&E.forEach(B=>{c[B].swiperLoopMoveDOM=!0,p.prepend(c[B]),c[B].swiperLoopMoveDOM=!1}),T&&$.forEach(B=>{c[B].swiperLoopMoveDOM=!0,p.append(c[B]),c[B].swiperLoopMoveDOM=!1}),o.recalcSlides(),n.slidesPerView==="auto"?o.updateSlides():b&&(E.length>0&&I||$.length>0&&T)&&o.slides.forEach((B,S)=>{o.grid.updateSlide(S,B,o.slides)}),n.watchSlidesProgress&&o.updateSlidesOffset(),t){if(E.length>0&&I){if(typeof e>"u"){const B=o.slidesGrid[M],x=o.slidesGrid[M+P]-B;u?o.setTranslate(o.translate-x):(o.slideTo(M+Math.ceil(P),0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-x,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-x))}else if(a){const B=b?E.length/n.grid.rows:E.length;o.slideTo(o.activeIndex+B,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if($.length>0&&T)if(typeof e>"u"){const B=o.slidesGrid[M],x=o.slidesGrid[M-C]-B;u?o.setTranslate(o.translate-x):(o.slideTo(M-C,0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-x,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-x))}else{const B=b?$.length/n.grid.rows:$.length;o.slideTo(o.activeIndex-B,0,!1,!0)}}if(o.allowSlidePrev=h,o.allowSlideNext=w,o.controller&&o.controller.control&&!d){const B={slideRealIndex:e,direction:i,setTranslate:a,activeSlideIndex:r,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(S=>{!S.destroyed&&S.params.loop&&S.loopFix({...B,slideTo:S.params.slidesPerView===n.slidesPerView?t:!1})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...B,slideTo:o.controller.control.params.slidesPerView===n.slidesPerView?t:!1})}o.emit("loopFix")}function as(){const s=this,{params:e,slidesEl:t}=s;if(!e.loop||!t||s.virtual&&s.params.virtual.enabled)return;s.recalcSlides();const i=[];s.slides.forEach(a=>{const r=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;i[r]=a}),s.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),i.forEach(a=>{t.append(a)}),s.recalcSlides(),s.slideTo(s.realIndex,0)}var ns={loopCreate:is,loopFix:rs,loopDestroy:as};function ls(s){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=s?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function os(){const s=this;s.params.watchOverflow&&s.isLocked||s.params.cssMode||(s.isElement&&(s.__preventObserver__=!0),s[s.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1}))}var ds={setGrabCursor:ls,unsetGrabCursor:os};function cs(s,e){e===void 0&&(e=this);function t(i){if(!i||i===W()||i===F())return null;i.assignedSlot&&(i=i.assignedSlot);const a=i.closest(s);return!a&&!i.getRootNode?null:a||t(i.getRootNode().host)}return t(e)}function it(s,e,t){const i=F(),{params:a}=s,r=a.edgeSwipeDetection,f=a.edgeSwipeThreshold;return r&&(t<=f||t>=i.innerWidth-f)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function fs(s){const e=this,t=W();let i=s;i.originalEvent&&(i=i.originalEvent);const a=e.touchEventsData;if(i.type==="pointerdown"){if(a.pointerId!==null&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(a.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){it(e,i,i.targetTouches[0].pageX);return}const{params:r,touches:f,enabled:d}=e;if(!d||!r.simulateTouch&&i.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let u=i.target;if(r.touchEventsTarget==="wrapper"&&!yt(u,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||a.isTouched&&a.isMoved)return;const o=!!r.noSwipingClass&&r.noSwipingClass!=="",c=i.composedPath?i.composedPath():i.path;o&&i.target&&i.target.shadowRoot&&c&&(u=c[0]);const h=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,w=!!(i.target&&i.target.shadowRoot);if(r.noSwiping&&(w?cs(h,u):u.closest(h))){e.allowClick=!0;return}if(r.swipeHandler&&!u.closest(r.swipeHandler))return;f.currentX=i.pageX,f.currentY=i.pageY;const p=f.currentX,n=f.currentY;if(!it(e,i,p))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),f.startX=p,f.startY=n,a.touchStartTime=J(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let l=!0;u.matches(a.focusableElements)&&(l=!1,u.nodeName==="SELECT"&&(a.isTouched=!1)),t.activeElement&&t.activeElement.matches(a.focusableElements)&&t.activeElement!==u&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!u.matches(a.focusableElements))&&t.activeElement.blur();const v=l&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||v)&&!u.isContentEditable&&i.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function us(s){const e=W(),t=this,i=t.touchEventsData,{params:a,touches:r,rtlTranslate:f,enabled:d}=t;if(!d||!a.simulateTouch&&s.pointerType==="mouse")return;let u=s;if(u.originalEvent&&(u=u.originalEvent),u.type==="pointermove"&&(i.touchId!==null||u.pointerId!==i.pointerId))return;let o;if(u.type==="touchmove"){if(o=[...u.changedTouches].find(E=>E.identifier===i.touchId),!o||o.identifier!==i.touchId)return}else o=u;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",u);return}const c=o.pageX,h=o.pageY;if(u.preventedByNestedSwiper){r.startX=c,r.startY=h;return}if(!t.allowTouchMove){u.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(r,{startX:c,startY:h,currentX:c,currentY:h}),i.touchStartTime=J());return}if(a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(h<r.startY&&t.translate<=t.maxTranslate()||h>r.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(f&&(c>r.startX&&-t.translate<=t.maxTranslate()||c<r.startX&&-t.translate>=t.minTranslate()))return;if(!f&&(c<r.startX&&t.translate<=t.maxTranslate()||c>r.startX&&t.translate>=t.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==u.target&&u.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&u.target===e.activeElement&&u.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",u),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=h;const w=r.currentX-r.startX,p=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(w**2+p**2)<t.params.threshold)return;if(typeof i.isScrolling>"u"){let E;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:w*w+p*p>=25&&(E=Math.atan2(Math.abs(p),Math.abs(w))*180/Math.PI,i.isScrolling=t.isHorizontal()?E>a.touchAngle:90-E>a.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",u),typeof i.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(i.startMoving=!0),i.isScrolling||u.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!a.cssMode&&u.cancelable&&u.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&u.stopPropagation();let n=t.isHorizontal()?w:p,l=t.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(n=Math.abs(n)*(f?1:-1),l=Math.abs(l)*(f?1:-1)),r.diff=n,n*=a.touchRatio,f&&(n=-n,l=-l);const v=t.touchesDirection;t.swipeDirection=n>0?"prev":"next",t.touchesDirection=l>0?"prev":"next";const y=t.params.loop&&!a.cssMode,g=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(y&&g&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(E)}i.allowMomentumBounce=!1,a.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",u)}if(new Date().getTime(),a._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&v!==t.touchesDirection&&y&&g&&Math.abs(n)>=1){Object.assign(r,{startX:c,startY:h,currentX:c,currentY:h,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",u),i.isMoved=!0,i.currentTranslate=n+i.startTranslate;let m=!0,b=a.resistanceRatio;if(a.touchReleaseOnEdges&&(b=0),n>0?(y&&g&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(a.slidesPerView!=="auto"&&t.slides.length-a.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(m=!1,a.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+n)**b))):n<0&&(y&&g&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(a.slidesPerView!=="auto"&&t.slides.length-a.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(a.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<t.maxTranslate()&&(m=!1,a.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-n)**b))),m&&(u.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),a.threshold>0)if(Math.abs(n)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{i.currentTranslate=i.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&t.freeMode||a.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function ps(s){const e=this,t=e.touchEventsData;let i=s;i.originalEvent&&(i=i.originalEvent);let a;if(i.type==="touchend"||i.type==="touchcancel"){if(a=[...i.changedTouches].find(E=>E.identifier===t.touchId),!a||a.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;a=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:f,touches:d,rtlTranslate:u,slidesGrid:o,enabled:c}=e;if(!c||!f.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&f.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}f.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const h=J(),w=h-t.touchStartTime;if(e.allowClick){const E=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(E&&E[0]||i.target,E),e.emit("tap click",i),w<300&&h-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=J(),ge(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||d.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(f.followFinger?p=u?e.translate:-e.translate:p=-t.currentTranslate,f.cssMode)return;if(f.freeMode&&f.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const n=p>=-e.maxTranslate()&&!e.params.loop;let l=0,v=e.slidesSizesGrid[0];for(let E=0;E<o.length;E+=E<f.slidesPerGroupSkip?1:f.slidesPerGroup){const $=E<f.slidesPerGroupSkip-1?1:f.slidesPerGroup;typeof o[E+$]<"u"?(n||p>=o[E]&&p<o[E+$])&&(l=E,v=o[E+$]-o[E]):(n||p>=o[E])&&(l=E,v=o[o.length-1]-o[o.length-2])}let y=null,g=null;f.rewind&&(e.isBeginning?g=f.virtual&&f.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(y=0));const m=(p-o[l])/v,b=l<f.slidesPerGroupSkip-1?1:f.slidesPerGroup;if(w>f.longSwipesMs){if(!f.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=f.longSwipesRatio?e.slideTo(f.rewind&&e.isEnd?y:l+b):e.slideTo(l)),e.swipeDirection==="prev"&&(m>1-f.longSwipesRatio?e.slideTo(l+b):g!==null&&m<0&&Math.abs(m)>f.longSwipesRatio?e.slideTo(g):e.slideTo(l))}else{if(!f.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(l+b):e.slideTo(l):(e.swipeDirection==="next"&&e.slideTo(y!==null?y:l+b),e.swipeDirection==="prev"&&e.slideTo(g!==null?g:l))}}function rt(){const s=this,{params:e,el:t}=s;if(t&&t.offsetWidth===0)return;e.breakpoints&&s.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:r}=s,f=s.virtual&&s.params.virtual.enabled;s.allowSlideNext=!0,s.allowSlidePrev=!0,s.updateSize(),s.updateSlides(),s.updateSlidesClasses();const d=f&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&s.isEnd&&!s.isBeginning&&!s.params.centeredSlides&&!d?s.slideTo(s.slides.length-1,0,!1,!0):s.params.loop&&!f?s.slideToLoop(s.realIndex,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0),s.autoplay&&s.autoplay.running&&s.autoplay.paused&&(clearTimeout(s.autoplay.resizeTimeout),s.autoplay.resizeTimeout=setTimeout(()=>{s.autoplay&&s.autoplay.running&&s.autoplay.paused&&s.autoplay.resume()},500)),s.allowSlidePrev=a,s.allowSlideNext=i,s.params.watchOverflow&&r!==s.snapGrid&&s.checkOverflow()}function ms(s){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&s.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(s.stopPropagation(),s.stopImmediatePropagation())))}function hs(){const s=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=s;if(!i)return;s.previousTranslate=s.translate,s.isHorizontal()?s.translate=-e.scrollLeft:s.translate=-e.scrollTop,s.translate===0&&(s.translate=0),s.updateActiveIndex(),s.updateSlidesClasses();let a;const r=s.maxTranslate()-s.minTranslate();r===0?a=0:a=(s.translate-s.minTranslate())/r,a!==s.progress&&s.updateProgress(t?-s.translate:s.translate),s.emit("setTranslate",s.translate,!1)}function gs(s){const e=this;ze(e,s.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function vs(){const s=this;s.documentTouchHandlerProceeded||(s.documentTouchHandlerProceeded=!0,s.params.touchReleaseOnEdges&&(s.el.style.touchAction="auto"))}const pt=(s,e)=>{const t=W(),{params:i,el:a,wrapperEl:r,device:f}=s,d=!!i.nested,u=e==="on"?"addEventListener":"removeEventListener",o=e;!a||typeof a=="string"||(t[u]("touchstart",s.onDocumentTouchStart,{passive:!1,capture:d}),a[u]("touchstart",s.onTouchStart,{passive:!1}),a[u]("pointerdown",s.onTouchStart,{passive:!1}),t[u]("touchmove",s.onTouchMove,{passive:!1,capture:d}),t[u]("pointermove",s.onTouchMove,{passive:!1,capture:d}),t[u]("touchend",s.onTouchEnd,{passive:!0}),t[u]("pointerup",s.onTouchEnd,{passive:!0}),t[u]("pointercancel",s.onTouchEnd,{passive:!0}),t[u]("touchcancel",s.onTouchEnd,{passive:!0}),t[u]("pointerout",s.onTouchEnd,{passive:!0}),t[u]("pointerleave",s.onTouchEnd,{passive:!0}),t[u]("contextmenu",s.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&a[u]("click",s.onClick,!0),i.cssMode&&r[u]("scroll",s.onScroll),i.updateOnWindowResize?s[o](f.ios||f.android?"resize orientationchange observerUpdate":"resize observerUpdate",rt,!0):s[o]("observerUpdate",rt,!0),a[u]("load",s.onLoad,{capture:!0}))};function ws(){const s=this,{params:e}=s;s.onTouchStart=fs.bind(s),s.onTouchMove=us.bind(s),s.onTouchEnd=ps.bind(s),s.onDocumentTouchStart=vs.bind(s),e.cssMode&&(s.onScroll=hs.bind(s)),s.onClick=ms.bind(s),s.onLoad=gs.bind(s),pt(s,"on")}function ys(){pt(this,"off")}var bs={attachEvents:ws,detachEvents:ys};const at=(s,e)=>s.grid&&e.grid&&e.grid.rows>1;function Ss(){const s=this,{realIndex:e,initialized:t,params:i,el:a}=s,r=i.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const f=W(),d=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",u=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?s.el:f.querySelector(i.breakpointsBase),o=s.getBreakpoint(r,d,u);if(!o||s.currentBreakpoint===o)return;const h=(o in r?r[o]:void 0)||s.originalParams,w=at(s,i),p=at(s,h),n=s.params.grabCursor,l=h.grabCursor,v=i.enabled;w&&!p?(a.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),s.emitContainerClasses()):!w&&p&&(a.classList.add(`${i.containerModifierClass}grid`),(h.grid.fill&&h.grid.fill==="column"||!h.grid.fill&&i.grid.fill==="column")&&a.classList.add(`${i.containerModifierClass}grid-column`),s.emitContainerClasses()),n&&!l?s.unsetGrabCursor():!n&&l&&s.setGrabCursor(),["navigation","pagination","scrollbar"].forEach($=>{if(typeof h[$]>"u")return;const z=i[$]&&i[$].enabled,A=h[$]&&h[$].enabled;z&&!A&&s[$].disable(),!z&&A&&s[$].enable()});const y=h.direction&&h.direction!==i.direction,g=i.loop&&(h.slidesPerView!==i.slidesPerView||y),m=i.loop;y&&t&&s.changeDirection(),Z(s.params,h);const b=s.params.enabled,E=s.params.loop;Object.assign(s,{allowTouchMove:s.params.allowTouchMove,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev}),v&&!b?s.disable():!v&&b&&s.enable(),s.currentBreakpoint=o,s.emit("_beforeBreakpoint",h),t&&(g?(s.loopDestroy(),s.loopCreate(e),s.updateSlides()):!m&&E?(s.loopCreate(e),s.updateSlides()):m&&!E&&s.loopDestroy()),s.emit("breakpoint",h)}function Es(s,e,t){if(e===void 0&&(e="window"),!s||e==="container"&&!t)return;let i=!1;const a=F(),r=e==="window"?a.innerHeight:t.clientHeight,f=Object.keys(s).map(d=>{if(typeof d=="string"&&d.indexOf("@")===0){const u=parseFloat(d.substr(1));return{value:r*u,point:d}}return{value:d,point:d}});f.sort((d,u)=>parseInt(d.value,10)-parseInt(u.value,10));for(let d=0;d<f.length;d+=1){const{point:u,value:o}=f[d];e==="window"?a.matchMedia(`(min-width: ${o}px)`).matches&&(i=u):o<=t.clientWidth&&(i=u)}return i||"max"}var xs={setBreakpoint:Ss,getBreakpoint:Es};function Ts(s,e){const t=[];return s.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(a=>{i[a]&&t.push(e+a)}):typeof i=="string"&&t.push(e+i)}),t}function Ms(){const s=this,{classNames:e,params:t,rtl:i,el:a,device:r}=s,f=Ts(["initialized",t.direction,{"free-mode":s.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...f),a.classList.add(...e),s.emitContainerClasses()}function Cs(){const s=this,{el:e,classNames:t}=s;!e||typeof e=="string"||(e.classList.remove(...t),s.emitContainerClasses())}var Ps={addClasses:Ms,removeClasses:Cs};function Is(){const s=this,{isLocked:e,params:t}=s,{slidesOffsetBefore:i}=t;if(i){const a=s.slides.length-1,r=s.slidesGrid[a]+s.slidesSizesGrid[a]+i*2;s.isLocked=s.size>r}else s.isLocked=s.snapGrid.length===1;t.allowSlideNext===!0&&(s.allowSlideNext=!s.isLocked),t.allowSlidePrev===!0&&(s.allowSlidePrev=!s.isLocked),e&&e!==s.isLocked&&(s.isEnd=!1),e!==s.isLocked&&s.emit(s.isLocked?"lock":"unlock")}var Ls={checkOverflow:Is},nt={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 zs(s,e){return function(i){i===void 0&&(i={});const a=Object.keys(i)[0],r=i[a];if(typeof r!="object"||r===null){Z(e,i);return}if(s[a]===!0&&(s[a]={enabled:!0}),a==="navigation"&&s[a]&&s[a].enabled&&!s[a].prevEl&&!s[a].nextEl&&(s[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&s[a]&&s[a].enabled&&!s[a].el&&(s[a].auto=!0),!(a in s&&"enabled"in r)){Z(e,i);return}typeof s[a]=="object"&&!("enabled"in s[a])&&(s[a].enabled=!0),s[a]||(s[a]={enabled:!1}),Z(e,i)}}const _e={eventsEmitter:Pt,update:Ht,translate:Nt,transition:jt,slide:ss,loop:ns,grabCursor:ds,events:bs,breakpoints:xs,checkOverflow:Ls,classes:Ps},We={};class K{constructor(){let e,t;for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?t=a[0]:[e,t]=a,t||(t={}),t=Z({},t),e&&!t.el&&(t.el=e);const f=W();if(t.el&&typeof t.el=="string"&&f.querySelectorAll(t.el).length>1){const c=[];return f.querySelectorAll(t.el).forEach(h=>{const w=Z({},t,{el:h});c.push(new K(w))}),c}const d=this;d.__swiper__=!0,d.support=dt(),d.device=ct({userAgent:t.userAgent}),d.browser=ft(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],t.modules&&Array.isArray(t.modules)&&d.modules.push(...t.modules);const u={};d.modules.forEach(c=>{c({params:t,swiper:d,extendParams:zs(t,u),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});const o=Z({},nt,u);return d.params=Z({},o,We,t),d.originalParams=Z({},d.params),d.passedParams=Z({},t),d.params&&d.params.on&&Object.keys(d.params.on).forEach(c=>{d.on(c,d.params.on[c])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return d.params.direction==="horizontal"},isVertical(){return d.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:d.params.allowSlideNext,allowSlidePrev:d.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:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}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:i}=this,a=q(t,`.${i.slideClass}, swiper-slide`),r=Me(a[0]);return Me(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:t,params:i}=e;e.slides=q(t,`.${i.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 i=this;e=Math.min(Math.max(e,0),1);const a=i.minTranslate(),f=(i.maxTranslate()-a)*e+a;i.translateTo(f,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const a=e.getSlideClasses(i);t.push({slideEl:i,classNames:a}),e.emit("_slideClass",i,a)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const i=this,{params:a,slides:r,slidesGrid:f,slidesSizesGrid:d,size:u,activeIndex:o}=i;let c=1;if(typeof a.slidesPerView=="number")return a.slidesPerView;if(a.centeredSlides){let h=r[o]?Math.ceil(r[o].swiperSlideSize):0,w;for(let p=o+1;p<r.length;p+=1)r[p]&&!w&&(h+=Math.ceil(r[p].swiperSlideSize),c+=1,h>u&&(w=!0));for(let p=o-1;p>=0;p-=1)r[p]&&!w&&(h+=r[p].swiperSlideSize,c+=1,h>u&&(w=!0))}else if(e==="current")for(let h=o+1;h<r.length;h+=1)(t?f[h]+d[h]-f[o]<u:f[h]-f[o]<u)&&(c+=1);else for(let h=o-1;h>=0;h-=1)f[o]-f[h]<u&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;i.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(f=>{f.complete&&ze(e,f)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function a(){const f=e.rtlTranslate?e.translate*-1:e.translate,d=Math.min(Math.max(f,e.maxTranslate()),e.minTranslate());e.setTranslate(d),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)a(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const f=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(f.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||a()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const i=this,a=i.params.direction;return e||(e=a==="horizontal"?"vertical":"horizontal"),e===a||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${a}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}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 i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let f=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(a()):q(i,a())[0];return!f&&t.params.createElements&&(f=Q("div",t.params.wrapperClass),i.append(f),q(i,`.${t.params.slideClass}`).forEach(d=>{f.append(d)})),Object.assign(t,{el:i,wrapperEl:f,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:f,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||ce(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||ce(i,"direction")==="rtl"),wrongRTL:ce(f,"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(void 0,!0),t.attachEvents();const a=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&a.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),a.forEach(r=>{r.complete?ze(t,r):r.addEventListener("load",f=>{ze(t,f.target)})}),Ue(t),t.initialized=!0,Ue(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const i=this,{params:a,el:r,wrapperEl:f,slides:d}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),t&&(i.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),f&&f.removeAttribute("style"),d&&d.length&&d.forEach(u=>{u.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),u.removeAttribute("style"),u.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(u=>{i.off(u)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),ht(i)),i.destroyed=!0),null}static extendDefaults(e){Z(We,e)}static get extendedDefaults(){return We}static get defaults(){return nt}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(_e).forEach(s=>{Object.keys(_e[s]).forEach(e=>{K.prototype[e]=_e[s][e]})});K.use([Mt,Ct]);function As(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let r;const f=W();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const d=f.createElement("div");function u(n,l){const v=e.params.virtual;if(v.cache&&e.virtual.cache[l])return e.virtual.cache[l];let y;return v.renderSlide?(y=v.renderSlide.call(e,n,l),typeof y=="string"&&(re(d,y),y=d.children[0])):e.isElement?y=Q("swiper-slide"):y=Q("div",e.params.slideClass),y.setAttribute("data-swiper-slide-index",l),v.renderSlide||re(y,n),v.cache&&(e.virtual.cache[l]=y),y}function o(n,l,v){const{slidesPerView:y,slidesPerGroup:g,centeredSlides:m,loop:b,initialSlide:E}=e.params;if(l&&!b&&E>0)return;const{addSlidesBefore:$,addSlidesAfter:z}=e.params.virtual,{from:A,to:M,slides:T,slidesGrid:I,offset:P}=e.virtual;e.params.cssMode||e.updateActiveIndex();const C=typeof v>"u"?e.activeIndex||0:v;let L;e.rtlTranslate?L="right":L=e.isHorizontal()?"left":"top";let D,B;m?(D=Math.floor(y/2)+g+z,B=Math.floor(y/2)+g+$):(D=y+(g-1)+z,B=(b?y:g)+$);let S=C-B,x=C+D;b||(S=Math.max(S,0),x=Math.min(x,T.length-1));let H=(e.slidesGrid[S]||0)-(e.slidesGrid[0]||0);b&&C>=B?(S-=B,m||(H+=e.slidesGrid[0])):b&&C<B&&(S=-B,m&&(H+=e.slidesGrid[0])),Object.assign(e.virtual,{from:S,to:x,offset:H,slidesGrid:e.slidesGrid,slidesBefore:B,slidesAfter:D});function R(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),a("virtualUpdate")}if(A===S&&M===x&&!n){e.slidesGrid!==I&&H!==P&&e.slides.forEach(O=>{O.style[L]=`${H-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),a("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:H,from:S,to:x,slides:(function(){const G=[];for(let Y=S;Y<=x;Y+=1)G.push(T[Y]);return G})()}),e.params.virtual.renderExternalUpdate?R():a("virtualUpdate");return}const N=[],_=[],te=O=>{let G=O;return O<0?G=T.length+O:G>=T.length&&(G=G-T.length),G};if(n)e.slides.filter(O=>O.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(O=>{O.remove()});else for(let O=A;O<=M;O+=1)if(O<S||O>x){const G=te(O);e.slides.filter(Y=>Y.matches(`.${e.params.slideClass}[data-swiper-slide-index="${G}"], swiper-slide[data-swiper-slide-index="${G}"]`)).forEach(Y=>{Y.remove()})}const ye=b?-T.length:0,k=b?T.length*2:T.length;for(let O=ye;O<k;O+=1)if(O>=S&&O<=x){const G=te(O);typeof M>"u"||n?_.push(G):(O>M&&_.push(G),O<A&&N.push(G))}if(_.forEach(O=>{e.slidesEl.append(u(T[O],O))}),b)for(let O=N.length-1;O>=0;O-=1){const G=N[O];e.slidesEl.prepend(u(T[G],G))}else N.sort((O,G)=>G-O),N.forEach(O=>{e.slidesEl.prepend(u(T[O],O))});q(e.slidesEl,".swiper-slide, swiper-slide").forEach(O=>{O.style[L]=`${H-Math.abs(e.cssOverflowAdjustment())}px`}),R()}function c(n){if(typeof n=="object"&&"length"in n)for(let l=0;l<n.length;l+=1)n[l]&&e.virtual.slides.push(n[l]);else e.virtual.slides.push(n);o(!0)}function h(n){const l=e.activeIndex;let v=l+1,y=1;if(Array.isArray(n)){for(let g=0;g<n.length;g+=1)n[g]&&e.virtual.slides.unshift(n[g]);v=l+n.length,y=n.length}else e.virtual.slides.unshift(n);if(e.params.virtual.cache){const g=e.virtual.cache,m={};Object.keys(g).forEach(b=>{const E=g[b],$=E.getAttribute("data-swiper-slide-index");$&&E.setAttribute("data-swiper-slide-index",parseInt($,10)+y),m[parseInt(b,10)+y]=E}),e.virtual.cache=m}o(!0),e.slideTo(v,0)}function w(n){if(typeof n>"u"||n===null)return;let l=e.activeIndex;if(Array.isArray(n))for(let v=n.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[n[v]],Object.keys(e.virtual.cache).forEach(y=>{y>n&&(e.virtual.cache[y-1]=e.virtual.cache[y],e.virtual.cache[y-1].setAttribute("data-swiper-slide-index",y-1),delete e.virtual.cache[y])})),e.virtual.slides.splice(n[v],1),n[v]<l&&(l-=1),l=Math.max(l,0);else e.params.virtual.cache&&(delete e.virtual.cache[n],Object.keys(e.virtual.cache).forEach(v=>{v>n&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(n,1),n<l&&(l-=1),l=Math.max(l,0);o(!0),e.slideTo(l,0)}function p(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),o(!0),e.slideTo(0,0)}i("beforeInit",()=>{if(!e.params.virtual.enabled)return;let n;if(typeof e.passedParams.virtual.slides>"u"){const l=[...e.slidesEl.children].filter(v=>v.matches(`.${e.params.slideClass}, swiper-slide`));l&&l.length&&(e.virtual.slides=[...l],n=!0,l.forEach((v,y)=>{v.setAttribute("data-swiper-slide-index",y),e.virtual.cache[y]=v,v.remove()}))}n||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,o(!1,!0)}),i("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(r),r=setTimeout(()=>{o()},100)):o())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&xe(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:h,removeSlide:w,removeAllSlides:p,update:o})}function $s(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;const r=W(),f=F();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function d(c){if(!e.enabled)return;const{rtlTranslate:h}=e;let w=c;w.originalEvent&&(w=w.originalEvent);const p=w.keyCode||w.charCode,n=e.params.keyboard.pageUpDown,l=n&&p===33,v=n&&p===34,y=p===37,g=p===39,m=p===38,b=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&g||e.isVertical()&&b||v)||!e.allowSlidePrev&&(e.isHorizontal()&&y||e.isVertical()&&m||l))return!1;if(!(w.shiftKey||w.altKey||w.ctrlKey||w.metaKey)&&!(r.activeElement&&(r.activeElement.isContentEditable||r.activeElement.nodeName&&(r.activeElement.nodeName.toLowerCase()==="input"||r.activeElement.nodeName.toLowerCase()==="textarea")))){if(e.params.keyboard.onlyInViewport&&(l||v||y||g||m||b)){let E=!1;if(fe(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&fe(e.el,`.${e.params.slideActiveClass}`).length===0)return;const $=e.el,z=$.clientWidth,A=$.clientHeight,M=f.innerWidth,T=f.innerHeight,I=$e($);h&&(I.left-=$.scrollLeft);const P=[[I.left,I.top],[I.left+z,I.top],[I.left,I.top+A],[I.left+z,I.top+A]];for(let C=0;C<P.length;C+=1){const L=P[C];if(L[0]>=0&&L[0]<=M&&L[1]>=0&&L[1]<=T){if(L[0]===0&&L[1]===0)continue;E=!0}}if(!E)return}e.isHorizontal()?((l||v||y||g)&&(w.preventDefault?w.preventDefault():w.returnValue=!1),((v||g)&&!h||(l||y)&&h)&&e.slideNext(),((l||y)&&!h||(v||g)&&h)&&e.slidePrev()):((l||v||m||b)&&(w.preventDefault?w.preventDefault():w.returnValue=!1),(v||b)&&e.slideNext(),(l||m)&&e.slidePrev()),a("keyPress",p)}}function u(){e.keyboard.enabled||(r.addEventListener("keydown",d),e.keyboard.enabled=!0)}function o(){e.keyboard.enabled&&(r.removeEventListener("keydown",d),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&u()}),i("destroy",()=>{e.keyboard.enabled&&o()}),Object.assign(e.keyboard,{enable:u,disable:o})}function Os(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;const r=F();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let f,d=J(),u;const o=[];function c(m){let z=0,A=0,M=0,T=0;return"detail"in m&&(A=m.detail),"wheelDelta"in m&&(A=-m.wheelDelta/120),"wheelDeltaY"in m&&(A=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(z=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(z=A,A=0),M=z*10,T=A*10,"deltaY"in m&&(T=m.deltaY),"deltaX"in m&&(M=m.deltaX),m.shiftKey&&!M&&(M=T,T=0),(M||T)&&m.deltaMode&&(m.deltaMode===1?(M*=40,T*=40):(M*=800,T*=800)),M&&!z&&(z=M<1?-1:1),T&&!A&&(A=T<1?-1:1),{spinX:z,spinY:A,pixelX:M,pixelY:T}}function h(){e.enabled&&(e.mouseEntered=!0)}function w(){e.enabled&&(e.mouseEntered=!1)}function p(m){return e.params.mousewheel.thresholdDelta&&m.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&J()-d<e.params.mousewheel.thresholdTime?!1:m.delta>=6&&J()-d<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),a("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),a("scroll",m.raw)),d=new r.Date().getTime(),!1)}function n(m){const b=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&b.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&b.releaseOnEdges)return!0;return!1}function l(m){let b=m,E=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const $=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let z=e.el;e.params.mousewheel.eventsTarget!=="container"&&(z=document.querySelector(e.params.mousewheel.eventsTarget));const A=z&&z.contains(b.target);if(!e.mouseEntered&&!A&&!$.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let M=0;const T=e.rtlTranslate?-1:1,I=c(b);if($.forceToAxis)if(e.isHorizontal())if(Math.abs(I.pixelX)>Math.abs(I.pixelY))M=-I.pixelX*T;else return!0;else if(Math.abs(I.pixelY)>Math.abs(I.pixelX))M=-I.pixelY;else return!0;else M=Math.abs(I.pixelX)>Math.abs(I.pixelY)?-I.pixelX*T:-I.pixelY;if(M===0)return!0;$.invert&&(M=-M);let P=e.getTranslate()+M*$.sensitivity;if(P>=e.minTranslate()&&(P=e.minTranslate()),P<=e.maxTranslate()&&(P=e.maxTranslate()),E=e.params.loop?!0:!(P===e.minTranslate()||P===e.maxTranslate()),E&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:J(),delta:Math.abs(M),direction:Math.sign(M),raw:m};o.length>=2&&o.shift();const L=o.length?o[o.length-1]:void 0;if(o.push(C),L?(C.direction!==L.direction||C.delta>L.delta||C.time>L.time+150)&&p(C):p(C),n(C))return!0}else{const C={time:J(),delta:Math.abs(M),direction:Math.sign(M)},L=u&&C.time<u.time+500&&C.delta<=u.delta&&C.direction===u.direction;if(!L){u=void 0;let D=e.getTranslate()+M*$.sensitivity;const B=e.isBeginning,S=e.isEnd;if(D>=e.minTranslate()&&(D=e.minTranslate()),D<=e.maxTranslate()&&(D=e.maxTranslate()),e.setTransition(0),e.setTranslate(D),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!B&&e.isBeginning||!S&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:C.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(f),f=void 0,o.length>=15&&o.shift();const x=o.length?o[o.length-1]:void 0,H=o[0];if(o.push(C),x&&(C.delta>x.delta||C.direction!==x.direction))o.splice(0);else if(o.length>=15&&C.time-H.time<500&&H.delta-C.delta>=1&&C.delta<=6){const R=M>0?.8:.2;u=C,o.splice(0),f=ge(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,R)},0)}f||(f=ge(()=>{if(e.destroyed||!e.params)return;const R=.5;u=C,o.splice(0),e.slideToClosest(e.params.speed,!0,void 0,R)},500))}if(L||a("scroll",b),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),$.releaseOnEdges&&(D===e.minTranslate()||D===e.maxTranslate()))return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function v(m){let b=e.el;e.params.mousewheel.eventsTarget!=="container"&&(b=document.querySelector(e.params.mousewheel.eventsTarget)),b[m]("mouseenter",h),b[m]("mouseleave",w),b[m]("wheel",l)}function y(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",l),!0):e.mousewheel.enabled?!1:(v("addEventListener"),e.mousewheel.enabled=!0,!0)}function g(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,l),!0):e.mousewheel.enabled?(v("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&g(),e.params.mousewheel.enabled&&y()}),i("destroy",()=>{e.params.cssMode&&y(),e.mousewheel.enabled&&g()}),Object.assign(e.mousewheel,{enable:y,disable:g})}function Qe(s,e,t,i){return s.params.createElements&&Object.keys(i).forEach(a=>{if(!t[a]&&t.auto===!0){let r=q(s.el,`.${i[a]}`)[0];r||(r=Q("div",i[a]),r.className=i[a],s.el.append(r)),t[a]=r,e[a]=r}}),t}function Ds(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;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 r(n){let l;return n&&typeof n=="string"&&e.isElement&&(l=e.el.querySelector(n)||e.hostEl.querySelector(n),l)?l:(n&&(typeof n=="string"&&(l=[...document.querySelectorAll(n)]),e.params.uniqueNavElements&&typeof n=="string"&&l&&l.length>1&&e.el.querySelectorAll(n).length===1?l=e.el.querySelector(n):l&&l.length===1&&(l=l[0])),n&&!l?n:l)}function f(n,l){const v=e.params.navigation;n=V(n),n.forEach(y=>{y&&(y.classList[l?"add":"remove"](...v.disabledClass.split(" ")),y.tagName==="BUTTON"&&(y.disabled=l),e.params.watchOverflow&&e.enabled&&y.classList[e.isLocked?"add":"remove"](v.lockClass))})}function d(){const{nextEl:n,prevEl:l}=e.navigation;if(e.params.loop){f(l,!1),f(n,!1);return}f(l,e.isBeginning&&!e.params.rewind),f(n,e.isEnd&&!e.params.rewind)}function u(n){n.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),a("navigationPrev"))}function o(n){n.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),a("navigationNext"))}function c(){const n=e.params.navigation;if(e.params.navigation=Qe(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(n.nextEl||n.prevEl))return;let l=r(n.nextEl),v=r(n.prevEl);Object.assign(e.navigation,{nextEl:l,prevEl:v}),l=V(l),v=V(v);const y=(g,m)=>{g&&g.addEventListener("click",m==="next"?o:u),!e.enabled&&g&&g.classList.add(...n.lockClass.split(" "))};l.forEach(g=>y(g,"next")),v.forEach(g=>y(g,"prev"))}function h(){let{nextEl:n,prevEl:l}=e.navigation;n=V(n),l=V(l);const v=(y,g)=>{y.removeEventListener("click",g==="next"?o:u),y.classList.remove(...e.params.navigation.disabledClass.split(" "))};n.forEach(y=>v(y,"next")),l.forEach(y=>v(y,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?p():(c(),d())}),i("toEdge fromEdge lock unlock",()=>{d()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{nextEl:n,prevEl:l}=e.navigation;if(n=V(n),l=V(l),e.enabled){d();return}[...n,...l].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),i("click",(n,l)=>{let{nextEl:v,prevEl:y}=e.navigation;v=V(v),y=V(y);const g=l.target;let m=y.includes(g)||v.includes(g);if(e.isElement&&!m){const b=l.path||l.composedPath&&l.composedPath();b&&(m=b.find(E=>v.includes(E)||y.includes(E)))}if(e.params.navigation.hideOnClick&&!m){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let b;v.length?b=v[0].classList.contains(e.params.navigation.hiddenClass):y.length&&(b=y[0].classList.contains(e.params.navigation.hiddenClass)),a(b===!0?"navigationShow":"navigationHide"),[...v,...y].filter(E=>!!E).forEach(E=>E.classList.toggle(e.params.navigation.hiddenClass))}});const w=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),d()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),h()};Object.assign(e.navigation,{enable:w,disable:p,update:d,init:c,destroy:h})}function ie(s){return s===void 0&&(s=""),`.${s.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function ks(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;const r="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:g=>g,formatFractionTotal:g=>g,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let f,d=0;function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function o(g,m){const{bulletActiveClass:b}=e.params.pagination;g&&(g=g[`${m==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${b}-${m}`),g=g[`${m==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${b}-${m}-${m}`)))}function c(g,m,b){if(g=g%b,m=m%b,m===g+1)return"next";if(m===g-1)return"previous"}function h(g){const m=g.target.closest(ie(e.params.pagination.bulletClass));if(!m)return;g.preventDefault();const b=Me(m)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;const E=c(e.realIndex,b,e.slides.length);E==="next"?e.slideNext():E==="previous"?e.slidePrev():e.slideToLoop(b)}else e.slideTo(b)}function w(){const g=e.rtl,m=e.params.pagination;if(u())return;let b=e.pagination.el;b=V(b);let E,$;const z=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,A=e.params.loop?Math.ceil(z/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?($=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,$=e.previousSnapIndex):($=e.previousIndex||0,E=e.activeIndex||0),m.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const M=e.pagination.bullets;let T,I,P;if(m.dynamicBullets&&(f=je(M[0],e.isHorizontal()?"width":"height"),b.forEach(C=>{C.style[e.isHorizontal()?"width":"height"]=`${f*(m.dynamicMainBullets+4)}px`}),m.dynamicMainBullets>1&&$!==void 0&&(d+=E-($||0),d>m.dynamicMainBullets-1?d=m.dynamicMainBullets-1:d<0&&(d=0)),T=Math.max(E-d,0),I=T+(Math.min(M.length,m.dynamicMainBullets)-1),P=(I+T)/2),M.forEach(C=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${m.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();C.classList.remove(...L)}),b.length>1)M.forEach(C=>{const L=Me(C);L===E?C.classList.add(...m.bulletActiveClass.split(" ")):e.isElement&&C.setAttribute("part","bullet"),m.dynamicBullets&&(L>=T&&L<=I&&C.classList.add(...`${m.bulletActiveClass}-main`.split(" ")),L===T&&o(C,"prev"),L===I&&o(C,"next"))});else{const C=M[E];if(C&&C.classList.add(...m.bulletActiveClass.split(" ")),e.isElement&&M.forEach((L,D)=>{L.setAttribute("part",D===E?"bullet-active":"bullet")}),m.dynamicBullets){const L=M[T],D=M[I];for(let B=T;B<=I;B+=1)M[B]&&M[B].classList.add(...`${m.bulletActiveClass}-main`.split(" "));o(L,"prev"),o(D,"next")}}if(m.dynamicBullets){const C=Math.min(M.length,m.dynamicMainBullets+4),L=(f*C-f)/2-P*f,D=g?"right":"left";M.forEach(B=>{B.style[e.isHorizontal()?D:"top"]=`${L}px`})}}b.forEach((M,T)=>{if(m.type==="fraction"&&(M.querySelectorAll(ie(m.currentClass)).forEach(I=>{I.textContent=m.formatFractionCurrent(E+1)}),M.querySelectorAll(ie(m.totalClass)).forEach(I=>{I.textContent=m.formatFractionTotal(A)})),m.type==="progressbar"){let I;m.progressbarOpposite?I=e.isHorizontal()?"vertical":"horizontal":I=e.isHorizontal()?"horizontal":"vertical";const P=(E+1)/A;let C=1,L=1;I==="horizontal"?C=P:L=P,M.querySelectorAll(ie(m.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${C}) scaleY(${L})`,D.style.transitionDuration=`${e.params.speed}ms`})}m.type==="custom"&&m.renderCustom?(re(M,m.renderCustom(e,E+1,A)),T===0&&a("paginationRender",M)):(T===0&&a("paginationRender",M),a("paginationUpdate",M)),e.params.watchOverflow&&e.enabled&&M.classList[e.isLocked?"add":"remove"](m.lockClass)})}function p(){const g=e.params.pagination;if(u())return;const m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=V(b);let E="";if(g.type==="bullets"){let $=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&$>m&&($=m);for(let z=0;z<$;z+=1)g.renderBullet?E+=g.renderBullet.call(e,z,g.bulletClass):E+=`<${g.bulletElement} ${e.isElement?'part="bullet"':""} class="${g.bulletClass}"></${g.bulletElement}>`}g.type==="fraction"&&(g.renderFraction?E=g.renderFraction.call(e,g.currentClass,g.totalClass):E=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`),g.type==="progressbar"&&(g.renderProgressbar?E=g.renderProgressbar.call(e,g.progressbarFillClass):E=`<span class="${g.progressbarFillClass}"></span>`),e.pagination.bullets=[],b.forEach($=>{g.type!=="custom"&&re($,E||""),g.type==="bullets"&&e.pagination.bullets.push(...$.querySelectorAll(ie(g.bulletClass)))}),g.type!=="custom"&&a("paginationRender",b[0])}function n(){e.params.pagination=Qe(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const g=e.params.pagination;if(!g.el)return;let m;typeof g.el=="string"&&e.isElement&&(m=e.el.querySelector(g.el)),!m&&typeof g.el=="string"&&(m=[...document.querySelectorAll(g.el)]),m||(m=g.el),!(!m||m.length===0)&&(e.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(m)&&m.length>1&&(m=[...e.el.querySelectorAll(g.el)],m.length>1&&(m=m.find(b=>fe(b,".swiper")[0]===e.el))),Array.isArray(m)&&m.length===1&&(m=m[0]),Object.assign(e.pagination,{el:m}),m=V(m),m.forEach(b=>{g.type==="bullets"&&g.clickable&&b.classList.add(...(g.clickableClass||"").split(" ")),b.classList.add(g.modifierClass+g.type),b.classList.add(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(b.classList.add(`${g.modifierClass}${g.type}-dynamic`),d=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&b.classList.add(g.progressbarOppositeClass),g.clickable&&b.addEventListener("click",h),e.enabled||b.classList.add(g.lockClass)}))}function l(){const g=e.params.pagination;if(u())return;let m=e.pagination.el;m&&(m=V(m),m.forEach(b=>{b.classList.remove(g.hiddenClass),b.classList.remove(g.modifierClass+g.type),b.classList.remove(e.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(b.classList.remove(...(g.clickableClass||"").split(" ")),b.removeEventListener("click",h))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...g.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const g=e.params.pagination;let{el:m}=e.pagination;m=V(m),m.forEach(b=>{b.classList.remove(g.horizontalClass,g.verticalClass),b.classList.add(e.isHorizontal()?g.horizontalClass:g.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?y():(n(),p(),w())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&w()}),i("snapIndexChange",()=>{w()}),i("snapGridLengthChange",()=>{p(),w()}),i("destroy",()=>{l()}),i("enable disable",()=>{let{el:g}=e.pagination;g&&(g=V(g),g.forEach(m=>m.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{w()}),i("click",(g,m)=>{const b=m.target,E=V(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const $=E[0].classList.contains(e.params.pagination.hiddenClass);a($===!0?"paginationShow":"paginationHide"),E.forEach(z=>z.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:g}=e.pagination;g&&(g=V(g),g.forEach(m=>m.classList.remove(e.params.pagination.paginationDisabledClass))),n(),p(),w()},y=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:g}=e.pagination;g&&(g=V(g),g.forEach(m=>m.classList.add(e.params.pagination.paginationDisabledClass))),l()};Object.assign(e.pagination,{enable:v,disable:y,render:p,update:w,init:n,destroy:l})}function Bs(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;const r=W();let f=!1,d=null,u=null,o,c,h,w;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:P,rtlTranslate:C}=e,{dragEl:L,el:D}=P,B=e.params.scrollbar,S=e.params.loop?e.progressLoop:e.progress;let x=c,H=(h-c)*S;C?(H=-H,H>0?(x=c-H,H=0):-H+c>h&&(x=h+H)):H<0?(x=c+H,H=0):H+c>h&&(x=h-H),e.isHorizontal()?(L.style.transform=`translate3d(${H}px, 0, 0)`,L.style.width=`${x}px`):(L.style.transform=`translate3d(0px, ${H}px, 0)`,L.style.height=`${x}px`),B.hide&&(clearTimeout(d),D.style.opacity=1,d=setTimeout(()=>{D.style.opacity=0,D.style.transitionDuration="400ms"},1e3))}function n(P){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${P}ms`)}function l(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:P}=e,{dragEl:C,el:L}=P;C.style.width="",C.style.height="",h=e.isHorizontal()?L.offsetWidth:L.offsetHeight,w=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=h*w:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${c}px`:C.style.height=`${c}px`,w>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&P.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(P){return e.isHorizontal()?P.clientX:P.clientY}function y(P){const{scrollbar:C,rtlTranslate:L}=e,{el:D}=C;let B;B=(v(P)-$e(D)[e.isHorizontal()?"left":"top"]-(o!==null?o:c/2))/(h-c),B=Math.max(Math.min(B,1),0),L&&(B=1-B);const S=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*B;e.updateProgress(S),e.setTranslate(S),e.updateActiveIndex(),e.updateSlidesClasses()}function g(P){const C=e.params.scrollbar,{scrollbar:L,wrapperEl:D}=e,{el:B,dragEl:S}=L;f=!0,o=P.target===S?v(P)-P.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,P.preventDefault(),P.stopPropagation(),D.style.transitionDuration="100ms",S.style.transitionDuration="100ms",y(P),clearTimeout(u),B.style.transitionDuration="0ms",C.hide&&(B.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),a("scrollbarDragStart",P)}function m(P){const{scrollbar:C,wrapperEl:L}=e,{el:D,dragEl:B}=C;f&&(P.preventDefault&&P.cancelable?P.preventDefault():P.returnValue=!1,y(P),L.style.transitionDuration="0ms",D.style.transitionDuration="0ms",B.style.transitionDuration="0ms",a("scrollbarDragMove",P))}function b(P){const C=e.params.scrollbar,{scrollbar:L,wrapperEl:D}=e,{el:B}=L;f&&(f=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",D.style.transitionDuration=""),C.hide&&(clearTimeout(u),u=ge(()=>{B.style.opacity=0,B.style.transitionDuration="400ms"},1e3)),a("scrollbarDragEnd",P),C.snapOnRelease&&e.slideToClosest())}function E(P){const{scrollbar:C,params:L}=e,D=C.el;if(!D)return;const B=D,S=L.passiveListeners?{passive:!1,capture:!1}:!1,x=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!B)return;const H=P==="on"?"addEventListener":"removeEventListener";B[H]("pointerdown",g,S),r[H]("pointermove",m,S),r[H]("pointerup",b,x)}function $(){!e.params.scrollbar.el||!e.scrollbar.el||E("on")}function z(){!e.params.scrollbar.el||!e.scrollbar.el||E("off")}function A(){const{scrollbar:P,el:C}=e;e.params.scrollbar=Qe(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let D;if(typeof L.el=="string"&&e.isElement&&(D=e.el.querySelector(L.el)),!D&&typeof L.el=="string"){if(D=r.querySelectorAll(L.el),!D.length)return}else D||(D=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&D.length>1&&C.querySelectorAll(L.el).length===1&&(D=C.querySelector(L.el)),D.length>0&&(D=D[0]),D.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let B;D&&(B=D.querySelector(ie(e.params.scrollbar.dragClass)),B||(B=Q("div",e.params.scrollbar.dragClass),D.append(B))),Object.assign(P,{el:D,dragEl:B}),L.draggable&&$(),D&&D.classList[e.enabled?"remove":"add"](...de(e.params.scrollbar.lockClass))}function M(){const P=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...de(e.isHorizontal()?P.horizontalClass:P.verticalClass)),z()}i("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const P=e.params.scrollbar;let{el:C}=e.scrollbar;C=V(C),C.forEach(L=>{L.classList.remove(P.horizontalClass,P.verticalClass),L.classList.add(e.isHorizontal()?P.horizontalClass:P.verticalClass)})}),i("init",()=>{e.params.scrollbar.enabled===!1?I():(A(),l(),p())}),i("update resize observerUpdate lock unlock changeDirection",()=>{l()}),i("setTranslate",()=>{p()}),i("setTransition",(P,C)=>{n(C)}),i("enable disable",()=>{const{el:P}=e.scrollbar;P&&P.classList[e.enabled?"remove":"add"](...de(e.params.scrollbar.lockClass))}),i("destroy",()=>{M()});const T=()=>{e.el.classList.remove(...de(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...de(e.params.scrollbar.scrollbarDisabledClass)),A(),l(),p()},I=()=>{e.el.classList.add(...de(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...de(e.params.scrollbar.scrollbarDisabledClass)),M()};Object.assign(e.scrollbar,{enable:T,disable:I,updateSize:l,setTranslate:p,init:A,destroy:M})}function Gs(s){let{swiper:e,extendParams:t,on:i}=s;t({parallax:{enabled:!1}});const a="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(u,o)=>{const{rtl:c}=e,h=c?-1:1,w=u.getAttribute("data-swiper-parallax")||"0";let p=u.getAttribute("data-swiper-parallax-x"),n=u.getAttribute("data-swiper-parallax-y");const l=u.getAttribute("data-swiper-parallax-scale"),v=u.getAttribute("data-swiper-parallax-opacity"),y=u.getAttribute("data-swiper-parallax-rotate");if(p||n?(p=p||"0",n=n||"0"):e.isHorizontal()?(p=w,n="0"):(n=w,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*o*h}%`:p=`${p*o*h}px`,n.indexOf("%")>=0?n=`${parseInt(n,10)*o}%`:n=`${n*o}px`,typeof v<"u"&&v!==null){const m=v-(v-1)*(1-Math.abs(o));u.style.opacity=m}let g=`translate3d(${p}, ${n}, 0px)`;if(typeof l<"u"&&l!==null){const m=l-(l-1)*(1-Math.abs(o));g+=` scale(${m})`}if(y&&typeof y<"u"&&y!==null){const m=y*o*-1;g+=` rotate(${m}deg)`}u.style.transform=g},f=()=>{const{el:u,slides:o,progress:c,snapGrid:h,isElement:w}=e,p=q(u,a);e.isElement&&p.push(...q(e.hostEl,a)),p.forEach(n=>{r(n,c)}),o.forEach((n,l)=>{let v=n.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(l/2)-c*(h.length-1)),v=Math.min(Math.max(v,-1),1),n.querySelectorAll(`${a}, [data-swiper-parallax-rotate]`).forEach(y=>{r(y,v)})})},d=function(u){u===void 0&&(u=e.params.speed);const{el:o,hostEl:c}=e,h=[...o.querySelectorAll(a)];e.isElement&&h.push(...c.querySelectorAll(a)),h.forEach(w=>{let p=parseInt(w.getAttribute("data-swiper-parallax-duration"),10)||u;u===0&&(p=0),w.style.transitionDuration=`${p}ms`})};i("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),i("init",()=>{e.params.parallax.enabled&&f()}),i("setTranslate",()=>{e.params.parallax.enabled&&f()}),i("setTransition",(u,o)=>{e.params.parallax.enabled&&d(o)})}function Hs(s){let{swiper:e,extendParams:t,on:i,emit:a}=s;const r=F();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let f=1,d=!1,u=!1,o={x:0,y:0};const c=-3;let h,w;const p=[],n={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},l={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},v={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let y=1;Object.defineProperty(e.zoom,"scale",{get(){return y},set(k){if(y!==k){const O=n.imageEl,G=n.slideEl;a("zoomChange",k,O,G)}y=k}});function g(){if(p.length<2)return 1;const k=p[0].pageX,O=p[0].pageY,G=p[1].pageX,Y=p[1].pageY;return Math.sqrt((G-k)**2+(Y-O)**2)}function m(){const k=e.params.zoom,O=n.imageWrapEl.getAttribute("data-swiper-zoom")||k.maxRatio;if(k.limitToOriginalSize&&n.imageEl&&n.imageEl.naturalWidth){const G=n.imageEl.naturalWidth/n.imageEl.offsetWidth;return Math.min(G,O)}return O}function b(){if(p.length<2)return{x:null,y:null};const k=n.imageEl.getBoundingClientRect();return[(p[0].pageX+(p[1].pageX-p[0].pageX)/2-k.x-r.scrollX)/f,(p[0].pageY+(p[1].pageY-p[0].pageY)/2-k.y-r.scrollY)/f]}function E(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function $(k){const O=E();return!!(k.target.matches(O)||e.slides.filter(G=>G.contains(k.target)).length>0)}function z(k){const O=`.${e.params.zoom.containerClass}`;return!!(k.target.matches(O)||[...e.hostEl.querySelectorAll(O)].filter(G=>G.contains(k.target)).length>0)}function A(k){if(k.pointerType==="mouse"&&p.splice(0,p.length),!$(k))return;const O=e.params.zoom;if(h=!1,w=!1,p.push(k),!(p.length<2)){if(h=!0,n.scaleStart=g(),!n.slideEl){n.slideEl=k.target.closest(`.${e.params.slideClass}, swiper-slide`),n.slideEl||(n.slideEl=e.slides[e.activeIndex]);let G=n.slideEl.querySelector(`.${O.containerClass}`);if(G&&(G=G.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),n.imageEl=G,G?n.imageWrapEl=fe(n.imageEl,`.${O.containerClass}`)[0]:n.imageWrapEl=void 0,!n.imageWrapEl){n.imageEl=void 0;return}n.maxRatio=m()}if(n.imageEl){const[G,Y]=b();n.originX=G,n.originY=Y,n.imageEl.style.transitionDuration="0ms"}d=!0}}function M(k){if(!$(k))return;const O=e.params.zoom,G=e.zoom,Y=p.findIndex(j=>j.pointerId===k.pointerId);Y>=0&&(p[Y]=k),!(p.length<2)&&(w=!0,n.scaleMove=g(),n.imageEl&&(G.scale=n.scaleMove/n.scaleStart*f,G.scale>n.maxRatio&&(G.scale=n.maxRatio-1+(G.scale-n.maxRatio+1)**.5),G.scale<O.minRatio&&(G.scale=O.minRatio+1-(O.minRatio-G.scale+1)**.5),n.imageEl.style.transform=`translate3d(0,0,0) scale(${G.scale})`))}function T(k){if(!$(k)||k.pointerType==="mouse"&&k.type==="pointerout")return;const O=e.params.zoom,G=e.zoom,Y=p.findIndex(j=>j.pointerId===k.pointerId);Y>=0&&p.splice(Y,1),!(!h||!w)&&(h=!1,w=!1,n.imageEl&&(G.scale=Math.max(Math.min(G.scale,n.maxRatio),O.minRatio),n.imageEl.style.transitionDuration=`${e.params.speed}ms`,n.imageEl.style.transform=`translate3d(0,0,0) scale(${G.scale})`,f=G.scale,d=!1,G.scale>1&&n.slideEl?n.slideEl.classList.add(`${O.zoomedSlideClass}`):G.scale<=1&&n.slideEl&&n.slideEl.classList.remove(`${O.zoomedSlideClass}`),G.scale===1&&(n.originX=0,n.originY=0,n.slideEl=void 0)))}let I;function P(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function C(){clearTimeout(I),e.touchEventsData.preventTouchMoveFromPointerMove=!0,I=setTimeout(()=>{e.destroyed||P()})}function L(k){const O=e.device;if(!n.imageEl||l.isTouched)return;O.android&&k.cancelable&&k.preventDefault(),l.isTouched=!0;const G=p.length>0?p[0]:k;l.touchesStart.x=G.pageX,l.touchesStart.y=G.pageY}function D(k){const G=k.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!$(k)||!z(k))return;const Y=e.zoom;if(!n.imageEl)return;if(!l.isTouched||!n.slideEl){G&&x(k);return}if(G){x(k);return}l.isMoved||(l.width=n.imageEl.offsetWidth||n.imageEl.clientWidth,l.height=n.imageEl.offsetHeight||n.imageEl.clientHeight,l.startX=qe(n.imageWrapEl,"x")||0,l.startY=qe(n.imageWrapEl,"y")||0,n.slideWidth=n.slideEl.offsetWidth,n.slideHeight=n.slideEl.offsetHeight,n.imageWrapEl.style.transitionDuration="0ms");const j=l.width*Y.scale,ae=l.height*Y.scale;if(l.minX=Math.min(n.slideWidth/2-j/2,0),l.maxX=-l.minX,l.minY=Math.min(n.slideHeight/2-ae/2,0),l.maxY=-l.minY,l.touchesCurrent.x=p.length>0?p[0].pageX:k.pageX,l.touchesCurrent.y=p.length>0?p[0].pageY:k.pageY,Math.max(Math.abs(l.touchesCurrent.x-l.touchesStart.x),Math.abs(l.touchesCurrent.y-l.touchesStart.y))>5&&(e.allowClick=!1),!l.isMoved&&!d){if(e.isHorizontal()&&(Math.floor(l.minX)===Math.floor(l.startX)&&l.touchesCurrent.x<l.touchesStart.x||Math.floor(l.maxX)===Math.floor(l.startX)&&l.touchesCurrent.x>l.touchesStart.x)){l.isTouched=!1,P();return}if(!e.isHorizontal()&&(Math.floor(l.minY)===Math.floor(l.startY)&&l.touchesCurrent.y<l.touchesStart.y||Math.floor(l.maxY)===Math.floor(l.startY)&&l.touchesCurrent.y>l.touchesStart.y)){l.isTouched=!1,P();return}}k.cancelable&&k.preventDefault(),k.stopPropagation(),C(),l.isMoved=!0;const se=(Y.scale-f)/(n.maxRatio-e.params.zoom.minRatio),{originX:le,originY:U}=n;l.currentX=l.touchesCurrent.x-l.touchesStart.x+l.startX+se*(l.width-le*2),l.currentY=l.touchesCurrent.y-l.touchesStart.y+l.startY+se*(l.height-U*2),l.currentX<l.minX&&(l.currentX=l.minX+1-(l.minX-l.currentX+1)**.8),l.currentX>l.maxX&&(l.currentX=l.maxX-1+(l.currentX-l.maxX+1)**.8),l.currentY<l.minY&&(l.currentY=l.minY+1-(l.minY-l.currentY+1)**.8),l.currentY>l.maxY&&(l.currentY=l.maxY-1+(l.currentY-l.maxY+1)**.8),v.prevPositionX||(v.prevPositionX=l.touchesCurrent.x),v.prevPositionY||(v.prevPositionY=l.touchesCurrent.y),v.prevTime||(v.prevTime=Date.now()),v.x=(l.touchesCurrent.x-v.prevPositionX)/(Date.now()-v.prevTime)/2,v.y=(l.touchesCurrent.y-v.prevPositionY)/(Date.now()-v.prevTime)/2,Math.abs(l.touchesCurrent.x-v.prevPositionX)<2&&(v.x=0),Math.abs(l.touchesCurrent.y-v.prevPositionY)<2&&(v.y=0),v.prevPositionX=l.touchesCurrent.x,v.prevPositionY=l.touchesCurrent.y,v.prevTime=Date.now(),n.imageWrapEl.style.transform=`translate3d(${l.currentX}px, ${l.currentY}px,0)`}function B(){const k=e.zoom;if(p.length=0,!n.imageEl)return;if(!l.isTouched||!l.isMoved){l.isTouched=!1,l.isMoved=!1;return}l.isTouched=!1,l.isMoved=!1;let O=300,G=300;const Y=v.x*O,j=l.currentX+Y,ae=v.y*G,ne=l.currentY+ae;v.x!==0&&(O=Math.abs((j-l.currentX)/v.x)),v.y!==0&&(G=Math.abs((ne-l.currentY)/v.y));const se=Math.max(O,G);l.currentX=j,l.currentY=ne;const le=l.width*k.scale,U=l.height*k.scale;l.minX=Math.min(n.slideWidth/2-le/2,0),l.maxX=-l.minX,l.minY=Math.min(n.slideHeight/2-U/2,0),l.maxY=-l.minY,l.currentX=Math.max(Math.min(l.currentX,l.maxX),l.minX),l.currentY=Math.max(Math.min(l.currentY,l.maxY),l.minY),n.imageWrapEl.style.transitionDuration=`${se}ms`,n.imageWrapEl.style.transform=`translate3d(${l.currentX}px, ${l.currentY}px,0)`}function S(){const k=e.zoom;n.slideEl&&e.activeIndex!==e.slides.indexOf(n.slideEl)&&(n.imageEl&&(n.imageEl.style.transform="translate3d(0,0,0) scale(1)"),n.imageWrapEl&&(n.imageWrapEl.style.transform="translate3d(0,0,0)"),n.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),k.scale=1,f=1,n.slideEl=void 0,n.imageEl=void 0,n.imageWrapEl=void 0,n.originX=0,n.originY=0)}function x(k){if(f<=1||!n.imageWrapEl||!$(k)||!z(k))return;const O=r.getComputedStyle(n.imageWrapEl).transform,G=new r.DOMMatrix(O);if(!u){u=!0,o.x=k.clientX,o.y=k.clientY,l.startX=G.e,l.startY=G.f,l.width=n.imageEl.offsetWidth||n.imageEl.clientWidth,l.height=n.imageEl.offsetHeight||n.imageEl.clientHeight,n.slideWidth=n.slideEl.offsetWidth,n.slideHeight=n.slideEl.offsetHeight;return}const Y=(k.clientX-o.x)*c,j=(k.clientY-o.y)*c,ae=l.width*f,ne=l.height*f,se=n.slideWidth,le=n.slideHeight,U=Math.min(se/2-ae/2,0),ee=-U,be=Math.min(le/2-ne/2,0),Pe=-be,pe=Math.max(Math.min(l.startX+Y,ee),U),me=Math.max(Math.min(l.startY+j,Pe),be);n.imageWrapEl.style.transitionDuration="0ms",n.imageWrapEl.style.transform=`translate3d(${pe}px, ${me}px, 0)`,o.x=k.clientX,o.y=k.clientY,l.startX=pe,l.startY=me,l.currentX=pe,l.currentY=me}function H(k){const O=e.zoom,G=e.params.zoom;if(!n.slideEl){k&&k.target&&(n.slideEl=k.target.closest(`.${e.params.slideClass}, swiper-slide`)),n.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.slideEl=q(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:n.slideEl=e.slides[e.activeIndex]);let Se=n.slideEl.querySelector(`.${G.containerClass}`);Se&&(Se=Se.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),n.imageEl=Se,Se?n.imageWrapEl=fe(n.imageEl,`.${G.containerClass}`)[0]:n.imageWrapEl=void 0}if(!n.imageEl||!n.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),n.slideEl.classList.add(`${G.zoomedSlideClass}`);let Y,j,ae,ne,se,le,U,ee,be,Pe,pe,me,Ie,Le,ke,Be,Ge,He;typeof l.touchesStart.x>"u"&&k?(Y=k.pageX,j=k.pageY):(Y=l.touchesStart.x,j=l.touchesStart.y);const Xe=f,he=typeof k=="number"?k:null;f===1&&he&&(Y=void 0,j=void 0,l.touchesStart.x=void 0,l.touchesStart.y=void 0);const Je=m();O.scale=he||Je,f=he||Je,k&&!(f===1&&he)?(Ge=n.slideEl.offsetWidth,He=n.slideEl.offsetHeight,ae=$e(n.slideEl).left+r.scrollX,ne=$e(n.slideEl).top+r.scrollY,se=ae+Ge/2-Y,le=ne+He/2-j,be=n.imageEl.offsetWidth||n.imageEl.clientWidth,Pe=n.imageEl.offsetHeight||n.imageEl.clientHeight,pe=be*O.scale,me=Pe*O.scale,Ie=Math.min(Ge/2-pe/2,0),Le=Math.min(He/2-me/2,0),ke=-Ie,Be=-Le,Xe>0&&he&&typeof l.currentX=="number"&&typeof l.currentY=="number"?(U=l.currentX*O.scale/Xe,ee=l.currentY*O.scale/Xe):(U=se*O.scale,ee=le*O.scale),U<Ie&&(U=Ie),U>ke&&(U=ke),ee<Le&&(ee=Le),ee>Be&&(ee=Be)):(U=0,ee=0),he&&O.scale===1&&(n.originX=0,n.originY=0),l.currentX=U,l.currentY=ee,n.imageWrapEl.style.transitionDuration="300ms",n.imageWrapEl.style.transform=`translate3d(${U}px, ${ee}px,0)`,n.imageEl.style.transitionDuration="300ms",n.imageEl.style.transform=`translate3d(0,0,0) scale(${O.scale})`}function R(){const k=e.zoom,O=e.params.zoom;if(!n.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.slideEl=q(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:n.slideEl=e.slides[e.activeIndex];let G=n.slideEl.querySelector(`.${O.containerClass}`);G&&(G=G.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),n.imageEl=G,G?n.imageWrapEl=fe(n.imageEl,`.${O.containerClass}`)[0]:n.imageWrapEl=void 0}!n.imageEl||!n.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),k.scale=1,f=1,l.currentX=void 0,l.currentY=void 0,l.touchesStart.x=void 0,l.touchesStart.y=void 0,n.imageWrapEl.style.transitionDuration="300ms",n.imageWrapEl.style.transform="translate3d(0,0,0)",n.imageEl.style.transitionDuration="300ms",n.imageEl.style.transform="translate3d(0,0,0) scale(1)",n.slideEl.classList.remove(`${O.zoomedSlideClass}`),n.slideEl=void 0,n.originX=0,n.originY=0,e.params.zoom.panOnMouseMove&&(o={x:0,y:0},u&&(u=!1,l.startX=0,l.startY=0)))}function N(k){const O=e.zoom;O.scale&&O.scale!==1?R():H(k)}function _(){const k=e.params.passiveListeners?{passive:!0,capture:!1}:!1,O=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:k,activeListenerWithCapture:O}}function te(){const k=e.zoom;if(k.enabled)return;k.enabled=!0;const{passiveListener:O,activeListenerWithCapture:G}=_();e.wrapperEl.addEventListener("pointerdown",A,O),e.wrapperEl.addEventListener("pointermove",M,G),["pointerup","pointercancel","pointerout"].forEach(Y=>{e.wrapperEl.addEventListener(Y,T,O)}),e.wrapperEl.addEventListener("pointermove",D,G)}function ye(){const k=e.zoom;if(!k.enabled)return;k.enabled=!1;const{passiveListener:O,activeListenerWithCapture:G}=_();e.wrapperEl.removeEventListener("pointerdown",A,O),e.wrapperEl.removeEventListener("pointermove",M,G),["pointerup","pointercancel","pointerout"].forEach(Y=>{e.wrapperEl.removeEventListener(Y,T,O)}),e.wrapperEl.removeEventListener("pointermove",D,G)}i("init",()=>{e.params.zoom.enabled&&te()}),i("destroy",()=>{ye()}),i("touchStart",(k,O)=>{e.zoom.enabled&&L(O)}),i("touchEnd",(k,O)=>{e.zoom.enabled&&B()}),i("doubleTap",(k,O)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&N(O)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&S()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&S()}),Object.assign(e.zoom,{enable:te,disable:ye,in:H,out:R,toggle:N})}function Xs(s){let{swiper:e,extendParams:t,on:i}=s;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function a(o,c){const h=(function(){let l,v,y;return(g,m)=>{for(v=-1,l=g.length;l-v>1;)y=l+v>>1,g[y]<=m?v=y:l=y;return l}})();this.x=o,this.y=c,this.lastIndex=o.length-1;let w,p;return this.interpolate=function(l){return l?(p=h(this.x,l),w=p-1,(l-this.x[w])*(this.y[p]-this.y[w])/(this.x[p]-this.x[w])+this.y[w]):0},this}function r(o){e.controller.spline=e.params.loop?new a(e.slidesGrid,o.slidesGrid):new a(e.snapGrid,o.snapGrid)}function f(o,c){const h=e.controller.control;let w,p;const n=e.constructor;function l(v){if(v.destroyed)return;const y=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(r(v),p=-e.controller.spline.interpolate(-y)),(!p||e.params.controller.by==="container")&&(w=(v.maxTranslate()-v.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(w)||!Number.isFinite(w))&&(w=1),p=(y-e.minTranslate())*w+v.minTranslate()),e.params.controller.inverse&&(p=v.maxTranslate()-p),v.updateProgress(p),v.setTranslate(p,e),v.updateActiveIndex(),v.updateSlidesClasses()}if(Array.isArray(h))for(let v=0;v<h.length;v+=1)h[v]!==c&&h[v]instanceof n&&l(h[v]);else h instanceof n&&c!==h&&l(h)}function d(o,c){const h=e.constructor,w=e.controller.control;let p;function n(l){l.destroyed||(l.setTransition(o,e),o!==0&&(l.transitionStart(),l.params.autoHeight&&ge(()=>{l.updateAutoHeight()}),Te(l.wrapperEl,()=>{w&&l.transitionEnd()})))}if(Array.isArray(w))for(p=0;p<w.length;p+=1)w[p]!==c&&w[p]instanceof h&&n(w[p]);else w instanceof h&&c!==w&&n(w)}function u(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}i("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(c=>{if(e.controller.control||(e.controller.control=[]),c&&c.swiper)e.controller.control.push(c.swiper);else if(c){const h=`${e.params.eventsPrefix}init`,w=p=>{e.controller.control.push(p.detail[0]),e.update(),c.removeEventListener(h,w)};c.addEventListener(h,w)}});return}e.controller.control=e.params.controller.control}),i("update",()=>{u()}),i("resize",()=>{u()}),i("observerUpdate",()=>{u()}),i("setTranslate",(o,c,h)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,h)}),i("setTransition",(o,c,h)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,h)}),Object.assign(e.controller,{setTranslate:f,setTransition:d})}function Rs(s){let{swiper:e,extendParams:t,on:i}=s;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let a=null,r,f,d=new Date().getTime();function u(S){const x=a;x.length!==0&&re(x,S)}function o(S){const x=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(S).replace(/x/g,x)}function c(S){S=V(S),S.forEach(x=>{x.setAttribute("tabIndex","0")})}function h(S){S=V(S),S.forEach(x=>{x.setAttribute("tabIndex","-1")})}function w(S,x){S=V(S),S.forEach(H=>{H.setAttribute("role",x)})}function p(S,x){S=V(S),S.forEach(H=>{H.setAttribute("aria-roledescription",x)})}function n(S,x){S=V(S),S.forEach(H=>{H.setAttribute("aria-controls",x)})}function l(S,x){S=V(S),S.forEach(H=>{H.setAttribute("aria-label",x)})}function v(S,x){S=V(S),S.forEach(H=>{H.setAttribute("id",x)})}function y(S,x){S=V(S),S.forEach(H=>{H.setAttribute("aria-live",x)})}function g(S){S=V(S),S.forEach(x=>{x.setAttribute("aria-disabled",!0)})}function m(S){S=V(S),S.forEach(x=>{x.setAttribute("aria-disabled",!1)})}function b(S){if(S.keyCode!==13&&S.keyCode!==32)return;const x=e.params.a11y,H=S.target;if(!(e.pagination&&e.pagination.el&&(H===e.pagination.el||e.pagination.el.contains(S.target))&&!S.target.matches(ie(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const R=V(e.navigation.prevEl);V(e.navigation.nextEl).includes(H)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?u(x.lastSlideMessage):u(x.nextSlideMessage)),R.includes(H)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?u(x.firstSlideMessage):u(x.prevSlideMessage))}e.pagination&&H.matches(ie(e.params.pagination.bulletClass))&&H.click()}}function E(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:S,prevEl:x}=e.navigation;x&&(e.isBeginning?(g(x),h(x)):(m(x),c(x))),S&&(e.isEnd?(g(S),h(S)):(m(S),c(S)))}function $(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function z(){return $()&&e.params.pagination.clickable}function A(){const S=e.params.a11y;$()&&e.pagination.bullets.forEach(x=>{e.params.pagination.clickable&&(c(x),e.params.pagination.renderBullet||(w(x,"button"),l(x,S.paginationBulletMessage.replace(/\{\{index\}\}/,Me(x)+1)))),x.matches(ie(e.params.pagination.bulletActiveClass))?x.setAttribute("aria-current","true"):x.removeAttribute("aria-current")})}const M=(S,x,H)=>{c(S),S.tagName!=="BUTTON"&&(w(S,"button"),S.addEventListener("keydown",b)),l(S,H),n(S,x)},T=S=>{f&&f!==S.target&&!f.contains(S.target)&&(r=!0),e.a11y.clicked=!0},I=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},P=S=>{d=new Date().getTime()},C=S=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-d<100)return;const x=S.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!x||!e.slides.includes(x))return;f=x;const H=e.slides.indexOf(x)===e.activeIndex,R=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(x);H||R||S.sourceCapabilities&&S.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{r||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(x.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(x)),0),r=!1)}))},L=()=>{const S=e.params.a11y;S.itemRoleDescriptionMessage&&p(e.slides,S.itemRoleDescriptionMessage),S.slideRole&&w(e.slides,S.slideRole);const x=e.slides.length;S.slideLabelMessage&&e.slides.forEach((H,R)=>{const N=e.params.loop?parseInt(H.getAttribute("data-swiper-slide-index"),10):R,_=S.slideLabelMessage.replace(/\{\{index\}\}/,N+1).replace(/\{\{slidesLength\}\}/,x);l(H,_)})},D=()=>{const S=e.params.a11y;e.el.append(a);const x=e.el;S.containerRoleDescriptionMessage&&p(x,S.containerRoleDescriptionMessage),S.containerMessage&&l(x,S.containerMessage),S.containerRole&&w(x,S.containerRole);const H=e.wrapperEl,R=S.id||H.getAttribute("id")||`swiper-wrapper-${o(16)}`,N=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";v(H,R),y(H,N),L();let{nextEl:_,prevEl:te}=e.navigation?e.navigation:{};_=V(_),te=V(te),_&&_.forEach(k=>M(k,R,S.nextSlideMessage)),te&&te.forEach(k=>M(k,R,S.prevSlideMessage)),z()&&V(e.pagination.el).forEach(O=>{O.addEventListener("keydown",b)}),W().addEventListener("visibilitychange",P),e.el.addEventListener("focus",C,!0),e.el.addEventListener("focus",C,!0),e.el.addEventListener("pointerdown",T,!0),e.el.addEventListener("pointerup",I,!0)};function B(){a&&a.remove();let{nextEl:S,prevEl:x}=e.navigation?e.navigation:{};S=V(S),x=V(x),S&&S.forEach(R=>R.removeEventListener("keydown",b)),x&&x.forEach(R=>R.removeEventListener("keydown",b)),z()&&V(e.pagination.el).forEach(N=>{N.removeEventListener("keydown",b)}),W().removeEventListener("visibilitychange",P),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",C,!0),e.el.removeEventListener("pointerdown",T,!0),e.el.removeEventListener("pointerup",I,!0))}i("beforeInit",()=>{a=Q("span",e.params.a11y.notificationClass),a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&D()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&L()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&E()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&A()}),i("destroy",()=>{e.params.a11y.enabled&&B()})}function Vs(s){let{swiper:e,extendParams:t,on:i}=s;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let a=!1,r={};const f=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),d=p=>{const n=F();let l;p?l=new URL(p):l=n.location;const v=l.pathname.slice(1).split("/").filter(b=>b!==""),y=v.length,g=v[y-2],m=v[y-1];return{key:g,value:m}},u=(p,n)=>{const l=F();if(!a||!e.params.history.enabled)return;let v;e.params.url?v=new URL(e.params.url):v=l.location;const y=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${n}"]`):e.slides[n];let g=f(y.getAttribute("data-history"));if(e.params.history.root.length>0){let b=e.params.history.root;b[b.length-1]==="/"&&(b=b.slice(0,b.length-1)),g=`${b}/${p?`${p}/`:""}${g}`}else v.pathname.includes(p)||(g=`${p?`${p}/`:""}${g}`);e.params.history.keepQuery&&(g+=v.search);const m=l.history.state;m&&m.value===g||(e.params.history.replaceState?l.history.replaceState({value:g},null,g):l.history.pushState({value:g},null,g))},o=(p,n,l)=>{if(n)for(let v=0,y=e.slides.length;v<y;v+=1){const g=e.slides[v];if(f(g.getAttribute("data-history"))===n){const b=e.getSlideIndex(g);e.slideTo(b,p,l)}}else e.slideTo(0,p,l)},c=()=>{r=d(e.params.url),o(e.params.speed,r.value,!1)},h=()=>{const p=F();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(a=!0,r=d(e.params.url),!r.key&&!r.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}o(0,r.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},w=()=>{const p=F();e.params.history.replaceState||p.removeEventListener("popstate",c)};i("init",()=>{e.params.history.enabled&&h()}),i("destroy",()=>{e.params.history.enabled&&w()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{a&&u(e.params.history.key,e.activeIndex)}),i("slideChange",()=>{a&&e.params.cssMode&&u(e.params.history.key,e.activeIndex)})}function Ys(s){let{swiper:e,extendParams:t,emit:i,on:a}=s,r=!1;const f=W(),d=F();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(w,p){if(e.virtual&&e.params.virtual.enabled){const n=e.slides.find(v=>v.getAttribute("data-hash")===p);return n?parseInt(n.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(q(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const u=()=>{i("hashChange");const w=f.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],n=p?p.getAttribute("data-hash"):"";if(w!==n){const l=e.params.hashNavigation.getSlideIndex(e,w);if(typeof l>"u"||Number.isNaN(l))return;e.slideTo(l)}},o=()=>{if(!r||!e.params.hashNavigation.enabled)return;const w=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=w?w.getAttribute("data-hash")||w.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,`#${p}`||""),i("hashSet")):(f.location.hash=p||"",i("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;r=!0;const w=f.location.hash.replace("#","");if(w){const n=e.params.hashNavigation.getSlideIndex(e,w);e.slideTo(n||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&d.addEventListener("hashchange",u)},h=()=>{e.params.hashNavigation.watchState&&d.removeEventListener("hashchange",u)};a("init",()=>{e.params.hashNavigation.enabled&&c()}),a("destroy",()=>{e.params.hashNavigation.enabled&&h()}),a("transitionEnd _freeModeNoMomentumRelease",()=>{r&&o()}),a("slideChange",()=>{r&&e.params.cssMode&&o()})}function Fs(s){let{swiper:e,extendParams:t,on:i,emit:a,params:r}=s;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let f,d,u=r&&r.autoplay?r.autoplay.delay:3e3,o=r&&r.autoplay?r.autoplay.delay:3e3,c,h=new Date().getTime(),w,p,n,l,v,y,g;function m(x){!e||e.destroyed||!e.wrapperEl||x.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!(g||x.detail&&x.detail.bySwiperTouchMove)&&T())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?w=!0:w&&(o=c,w=!1);const x=e.autoplay.paused?c:h+o-new Date().getTime();e.autoplay.timeLeft=x,a("autoplayTimeLeft",x,x/u),d=requestAnimationFrame(()=>{b()})},E=()=>{let x;return e.virtual&&e.params.virtual.enabled?x=e.slides.find(R=>R.classList.contains("swiper-slide-active")):x=e.slides[e.activeIndex],x?parseInt(x.getAttribute("data-swiper-autoplay"),10):void 0},$=x=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),b();let H=typeof x>"u"?e.params.autoplay.delay:x;u=e.params.autoplay.delay,o=e.params.autoplay.delay;const R=E();!Number.isNaN(R)&&R>0&&typeof x>"u"&&(H=R,u=R,o=R),c=H;const N=e.params.speed,_=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(N,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,N,!0,!0),a("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(N,!0,!0),a("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,N,!0,!0),a("autoplay")),e.params.cssMode&&(h=new Date().getTime(),requestAnimationFrame(()=>{$()})))};return H>0?(clearTimeout(f),f=setTimeout(()=>{_()},H)):requestAnimationFrame(()=>{_()}),H},z=()=>{h=new Date().getTime(),e.autoplay.running=!0,$(),a("autoplayStart")},A=()=>{e.autoplay.running=!1,clearTimeout(f),cancelAnimationFrame(d),a("autoplayStop")},M=(x,H)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(f),x||(y=!0);const R=()=>{a("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):T()};if(e.autoplay.paused=!0,H){v&&(c=e.params.autoplay.delay),v=!1,R();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-h),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),R())},T=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(h=new Date().getTime(),y?(y=!1,$(c)):$(),e.autoplay.paused=!1,a("autoplayResume"))},I=()=>{if(e.destroyed||!e.autoplay.running)return;const x=W();x.visibilityState==="hidden"&&(y=!0,M(!0)),x.visibilityState==="visible"&&T()},P=x=>{x.pointerType==="mouse"&&(y=!0,g=!0,!(e.animating||e.autoplay.paused)&&M(!0))},C=x=>{x.pointerType==="mouse"&&(g=!1,e.autoplay.paused&&T())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",P),e.el.addEventListener("pointerleave",C))},D=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",P),e.el.removeEventListener("pointerleave",C))},B=()=>{W().addEventListener("visibilitychange",I)},S=()=>{W().removeEventListener("visibilitychange",I)};i("init",()=>{e.params.autoplay.enabled&&(L(),B(),z())}),i("destroy",()=>{D(),S(),e.autoplay.running&&A()}),i("_freeModeStaticRelease",()=>{(n||y)&&T()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?A():M(!0,!0)}),i("beforeTransitionStart",(x,H,R)=>{e.destroyed||!e.autoplay.running||(R||!e.params.autoplay.disableOnInteraction?M(!0,!0):A())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){A();return}p=!0,n=!1,y=!1,l=setTimeout(()=>{y=!0,n=!0,M(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(l),clearTimeout(f),e.params.autoplay.disableOnInteraction){n=!1,p=!1;return}n&&e.params.cssMode&&T(),n=!1,p=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:z,stop:A,pause:M,resume:T})}function Ns(s){let{swiper:e,extendParams:t,on:i}=s;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let a=!1,r=!1;e.thumbs={swiper:null};function f(){const o=e.thumbs.swiper;if(!o||o.destroyed)return;const c=o.clickedIndex,h=o.clickedSlide;if(h&&h.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let w;o.params.loop?w=parseInt(o.clickedSlide.getAttribute("data-swiper-slide-index"),10):w=c,e.params.loop?e.slideToLoop(w):e.slideTo(w)}function d(){const{thumbs:o}=e.params;if(a)return!1;a=!0;const c=e.constructor;if(o.swiper instanceof c){if(o.swiper.destroyed)return a=!1,!1;e.thumbs.swiper=o.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(Ee(o.swiper)){const h=Object.assign({},o.swiper);Object.assign(h,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(h),r=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",f),!0}function u(o){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const h=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let w=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(w=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(w=1),w=Math.floor(w),c.slides.forEach(v=>v.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let v=0;v<w;v+=1)q(c.slidesEl,`[data-swiper-slide-index="${e.realIndex+v}"]`).forEach(y=>{y.classList.add(p)});else for(let v=0;v<w;v+=1)c.slides[e.realIndex+v]&&c.slides[e.realIndex+v].classList.add(p);const n=e.params.thumbs.autoScrollOffset,l=n&&!c.params.loop;if(e.realIndex!==c.realIndex||l){const v=c.activeIndex;let y,g;if(c.params.loop){const m=c.slides.find(b=>b.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);y=c.slides.indexOf(m),g=e.activeIndex>e.previousIndex?"next":"prev"}else y=e.realIndex,g=y>e.previousIndex?"next":"prev";l&&(y+=g==="next"?n:-1*n),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(y)<0&&(c.params.centeredSlides?y>v?y=y-Math.floor(h/2)+1:y=y+Math.floor(h/2)-1:y>v&&c.params.slidesPerGroup,c.slideTo(y,o?0:void 0))}}i("beforeInit",()=>{const{thumbs:o}=e.params;if(!(!o||!o.swiper))if(typeof o.swiper=="string"||o.swiper instanceof HTMLElement){const c=W(),h=()=>{const p=typeof o.swiper=="string"?c.querySelector(o.swiper):o.swiper;if(p&&p.swiper)o.swiper=p.swiper,d(),u(!0);else if(p){const n=`${e.params.eventsPrefix}init`,l=v=>{o.swiper=v.detail[0],p.removeEventListener(n,l),d(),u(!0),o.swiper.update(),e.update()};p.addEventListener(n,l)}return p},w=()=>{if(e.destroyed)return;h()||requestAnimationFrame(w)};requestAnimationFrame(w)}else d(),u(!0)}),i("slideChange update resize observerUpdate",()=>{u()}),i("setTransition",(o,c)=>{const h=e.thumbs.swiper;!h||h.destroyed||h.setTransition(c)}),i("beforeDestroy",()=>{const o=e.thumbs.swiper;!o||o.destroyed||r&&o.destroy()}),Object.assign(e.thumbs,{init:d,update:u})}function _s(s){let{swiper:e,extendParams:t,emit:i,once:a}=s;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function r(){if(e.params.cssMode)return;const u=e.getTranslate();e.setTranslate(u),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function f(){if(e.params.cssMode)return;const{touchEventsData:u,touches:o}=e;u.velocities.length===0&&u.velocities.push({position:o[e.isHorizontal()?"startX":"startY"],time:u.touchStartTime}),u.velocities.push({position:o[e.isHorizontal()?"currentX":"currentY"],time:J()})}function d(u){let{currentPos:o}=u;if(e.params.cssMode)return;const{params:c,wrapperEl:h,rtlTranslate:w,snapGrid:p,touchEventsData:n}=e,v=J()-n.touchStartTime;if(o<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(o>-e.maxTranslate()){e.slides.length<p.length?e.slideTo(p.length-1):e.slideTo(e.slides.length-1);return}if(c.freeMode.momentum){if(n.velocities.length>1){const A=n.velocities.pop(),M=n.velocities.pop(),T=A.position-M.position,I=A.time-M.time;e.velocity=T/I,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(I>150||J()-A.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,n.velocities.length=0;let y=1e3*c.freeMode.momentumRatio;const g=e.velocity*y;let m=e.translate+g;w&&(m=-m);let b=!1,E;const $=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let z;if(m<e.maxTranslate())c.freeMode.momentumBounce?(m+e.maxTranslate()<-$&&(m=e.maxTranslate()-$),E=e.maxTranslate(),b=!0,n.allowMomentumBounce=!0):m=e.maxTranslate(),c.loop&&c.centeredSlides&&(z=!0);else if(m>e.minTranslate())c.freeMode.momentumBounce?(m-e.minTranslate()>$&&(m=e.minTranslate()+$),E=e.minTranslate(),b=!0,n.allowMomentumBounce=!0):m=e.minTranslate(),c.loop&&c.centeredSlides&&(z=!0);else if(c.freeMode.sticky){let A;for(let M=0;M<p.length;M+=1)if(p[M]>-m){A=M;break}Math.abs(p[A]-m)<Math.abs(p[A-1]-m)||e.swipeDirection==="next"?m=p[A]:m=p[A-1],m=-m}if(z&&a("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(w?y=Math.abs((-m-e.translate)/e.velocity):y=Math.abs((m-e.translate)/e.velocity),c.freeMode.sticky){const A=Math.abs((w?-m:m)-e.translate),M=e.slidesSizesGrid[e.activeIndex];A<M?y=c.speed:A<2*M?y=c.speed*1.5:y=c.speed*2.5}}else if(c.freeMode.sticky){e.slideToClosest();return}c.freeMode.momentumBounce&&b?(e.updateProgress(E),e.setTransition(y),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Te(h,()=>{!e||e.destroyed||!n.allowMomentumBounce||(i("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(E),Te(h,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(y),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Te(h,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&i("_freeModeNoMomentumRelease");(!c.freeMode.momentum||v>=c.longSwipesMs)&&(i("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:r,onTouchMove:f,onTouchEnd:d}})}function Ws(s){let{swiper:e,extendParams:t,on:i}=s;t({grid:{rows:1,fill:"column"}});let a,r,f,d;const u=()=>{let l=e.params.spaceBetween;return typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l)),l},o=l=>{const{slidesPerView:v}=e.params,{rows:y,fill:g}=e.params.grid,m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:l.length;f=Math.floor(m/y),Math.floor(m/y)===m/y?a=m:a=Math.ceil(m/y)*y,v!=="auto"&&g==="row"&&(a=Math.max(a,v*y)),r=a/y},c=()=>{e.slides&&e.slides.forEach(l=>{l.swiperSlideGridSet&&(l.style.height="",l.style[e.getDirectionLabel("margin-top")]="")})},h=(l,v,y)=>{const{slidesPerGroup:g}=e.params,m=u(),{rows:b,fill:E}=e.params.grid,$=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:y.length;let z,A,M;if(E==="row"&&g>1){const T=Math.floor(l/(g*b)),I=l-b*g*T,P=T===0?g:Math.min(Math.ceil(($-T*b*g)/b),g);M=Math.floor(I/P),A=I-M*P+T*g,z=A+M*a/b,v.style.order=z}else E==="column"?(A=Math.floor(l/b),M=l-A*b,(A>f||A===f&&M===b-1)&&(M+=1,M>=b&&(M=0,A+=1))):(M=Math.floor(l/r),A=l-M*r);v.row=M,v.column=A,v.style.height=`calc((100% - ${(b-1)*m}px) / ${b})`,v.style[e.getDirectionLabel("margin-top")]=M!==0?m&&`${m}px`:"",v.swiperSlideGridSet=!0},w=(l,v)=>{const{centeredSlides:y,roundLengths:g}=e.params,m=u(),{rows:b}=e.params.grid;if(e.virtualSize=(l+m)*a,e.virtualSize=Math.ceil(e.virtualSize/b)-m,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+m}px`),y){const E=[];for(let $=0;$<v.length;$+=1){let z=v[$];g&&(z=Math.floor(z)),v[$]<e.virtualSize+v[0]&&E.push(z)}v.splice(0,v.length),v.push(...E)}},p=()=>{d=e.params.grid&&e.params.grid.rows>1},n=()=>{const{params:l,el:v}=e,y=l.grid&&l.grid.rows>1;d&&!y?(v.classList.remove(`${l.containerModifierClass}grid`,`${l.containerModifierClass}grid-column`),f=1,e.emitContainerClasses()):!d&&y&&(v.classList.add(`${l.containerModifierClass}grid`),l.grid.fill==="column"&&v.classList.add(`${l.containerModifierClass}grid-column`),e.emitContainerClasses()),d=y};i("init",p),i("update",n),e.grid={initSlides:o,unsetSlides:c,updateSlide:h,updateWrapperSize:w}}function qs(s){const e=this,{params:t,slidesEl:i}=e;t.loop&&e.loopDestroy();const a=r=>{if(typeof r=="string"){const f=document.createElement("div");re(f,r),i.append(f.children[0]),re(f,"")}else i.append(r)};if(typeof s=="object"&&"length"in s)for(let r=0;r<s.length;r+=1)s[r]&&a(s[r]);else a(s);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update()}function js(s){const e=this,{params:t,activeIndex:i,slidesEl:a}=e;t.loop&&e.loopDestroy();let r=i+1;const f=d=>{if(typeof d=="string"){const u=document.createElement("div");re(u,d),a.prepend(u.children[0]),re(u,"")}else a.prepend(d)};if(typeof s=="object"&&"length"in s){for(let d=0;d<s.length;d+=1)s[d]&&f(s[d]);r=i+s.length}else f(s);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),e.slideTo(r,0,!1)}function Us(s,e){const t=this,{params:i,activeIndex:a,slidesEl:r}=t;let f=a;i.loop&&(f-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const d=t.slides.length;if(s<=0){t.prependSlide(e);return}if(s>=d){t.appendSlide(e);return}let u=f>s?f+1:f;const o=[];for(let c=d-1;c>=s;c-=1){const h=t.slides[c];h.remove(),o.unshift(h)}if(typeof e=="object"&&"length"in e){for(let c=0;c<e.length;c+=1)e[c]&&r.append(e[c]);u=f>s?f+e.length:f}else r.append(e);for(let c=0;c<o.length;c+=1)r.append(o[c]);t.recalcSlides(),i.loop&&t.loopCreate(),(!i.observer||t.isElement)&&t.update(),i.loop?t.slideTo(u+t.loopedSlides,0,!1):t.slideTo(u,0,!1)}function Ks(s){const e=this,{params:t,activeIndex:i}=e;let a=i;t.loop&&(a-=e.loopedSlides,e.loopDestroy());let r=a,f;if(typeof s=="object"&&"length"in s){for(let d=0;d<s.length;d+=1)f=s[d],e.slides[f]&&e.slides[f].remove(),f<r&&(r-=1);r=Math.max(r,0)}else f=s,e.slides[f]&&e.slides[f].remove(),f<r&&(r-=1),r=Math.max(r,0);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),t.loop?e.slideTo(r+e.loopedSlides,0,!1):e.slideTo(r,0,!1)}function Zs(){const s=this,e=[];for(let t=0;t<s.slides.length;t+=1)e.push(t);s.removeSlide(e)}function Qs(s){let{swiper:e}=s;Object.assign(e,{appendSlide:qs.bind(e),prependSlide:js.bind(e),addSlide:Us.bind(e),removeSlide:Ks.bind(e),removeAllSlides:Zs.bind(e)})}function we(s){const{effect:e,swiper:t,on:i,setTranslate:a,setTransition:r,overwriteParams:f,perspective:d,recreateShadows:u,getEffectParams:o}=s;i("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),d&&d()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const h=f?f():{};Object.assign(t.params,h),Object.assign(t.originalParams,h)}),i("setTranslate _virtualUpdated",()=>{t.params.effect===e&&a()}),i("setTransition",(h,w)=>{t.params.effect===e&&r(w)}),i("transitionEnd",()=>{if(t.params.effect===e&&u){if(!o||!o().slideShadows)return;t.slides.forEach(h=>{h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(w=>w.remove())}),u()}});let c;i("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(c=!0),requestAnimationFrame(()=>{c&&t.slides&&t.slides.length&&(a(),c=!1)}))})}function Ce(s,e){const t=ue(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function De(s){let{swiper:e,duration:t,transformElements:i,allSlides:a}=s;const{activeIndex:r}=e,f=d=>d.parentElement?d.parentElement:e.slides.find(o=>o.shadowRoot&&o.shadowRoot===d.parentNode);if(e.params.virtualTranslate&&t!==0){let d=!1,u;a?u=i:u=i.filter(o=>{const c=o.classList.contains("swiper-slide-transform")?f(o):o;return e.getSlideIndex(c)===r}),u.forEach(o=>{Te(o,()=>{if(d||!e||e.destroyed)return;d=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function Js(s){let{swiper:e,extendParams:t,on:i}=s;t({fadeEffect:{crossFade:!1}}),we({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:f}=e,d=e.params.fadeEffect;for(let u=0;u<f.length;u+=1){const o=e.slides[u];let h=-o.swiperSlideOffset;e.params.virtualTranslate||(h-=e.translate);let w=0;e.isHorizontal()||(w=h,h=0);const p=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(o.progress),0):1+Math.min(Math.max(o.progress,-1),0),n=Ce(d,o);n.style.opacity=p,n.style.transform=`translate3d(${h}px, ${w}px, 0px)`}},setTransition:f=>{const d=e.slides.map(u=>ue(u));d.forEach(u=>{u.style.transitionDuration=`${f}ms`}),De({swiper:e,duration:f,transformElements:d,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function ei(s){let{swiper:e,extendParams:t,on:i}=s;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(u,o,c)=>{let h=c?u.querySelector(".swiper-slide-shadow-left"):u.querySelector(".swiper-slide-shadow-top"),w=c?u.querySelector(".swiper-slide-shadow-right"):u.querySelector(".swiper-slide-shadow-bottom");h||(h=Q("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),u.append(h)),w||(w=Q("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),u.append(w)),h&&(h.style.opacity=Math.max(-o,0)),w&&(w.style.opacity=Math.max(o,0))};we({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{el:u,wrapperEl:o,slides:c,width:h,height:w,rtlTranslate:p,size:n,browser:l}=e,v=Oe(e),y=e.params.cubeEffect,g=e.isHorizontal(),m=e.virtual&&e.params.virtual.enabled;let b=0,E;y.shadow&&(g?(E=e.wrapperEl.querySelector(".swiper-cube-shadow"),E||(E=Q("div","swiper-cube-shadow"),e.wrapperEl.append(E)),E.style.height=`${h}px`):(E=u.querySelector(".swiper-cube-shadow"),E||(E=Q("div","swiper-cube-shadow"),u.append(E))));for(let z=0;z<c.length;z+=1){const A=c[z];let M=z;m&&(M=parseInt(A.getAttribute("data-swiper-slide-index"),10));let T=M*90,I=Math.floor(T/360);p&&(T=-T,I=Math.floor(-T/360));const P=Math.max(Math.min(A.progress,1),-1);let C=0,L=0,D=0;M%4===0?(C=-I*4*n,D=0):(M-1)%4===0?(C=0,D=-I*4*n):(M-2)%4===0?(C=n+I*4*n,D=n):(M-3)%4===0&&(C=-n,D=3*n+n*4*I),p&&(C=-C),g||(L=C,C=0);const B=`rotateX(${v(g?0:-T)}deg) rotateY(${v(g?T:0)}deg) translate3d(${C}px, ${L}px, ${D}px)`;P<=1&&P>-1&&(b=M*90+P*90,p&&(b=-M*90-P*90)),A.style.transform=B,y.slideShadows&&a(A,P,g)}if(o.style.transformOrigin=`50% 50% -${n/2}px`,o.style["-webkit-transform-origin"]=`50% 50% -${n/2}px`,y.shadow)if(g)E.style.transform=`translate3d(0px, ${h/2+y.shadowOffset}px, ${-h/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${y.shadowScale})`;else{const z=Math.abs(b)-Math.floor(Math.abs(b)/90)*90,A=1.5-(Math.sin(z*2*Math.PI/360)/2+Math.cos(z*2*Math.PI/360)/2),M=y.shadowScale,T=y.shadowScale/A,I=y.shadowOffset;E.style.transform=`scale3d(${M}, 1, ${T}) translate3d(0px, ${w/2+I}px, ${-w/2/T}px) rotateX(-89.99deg)`}const $=(l.isSafari||l.isWebView)&&l.needPerspectiveFix?-n/2:0;o.style.transform=`translate3d(0px,0,${$}px) rotateX(${v(e.isHorizontal()?0:b)}deg) rotateY(${v(e.isHorizontal()?-b:0)}deg)`,o.style.setProperty("--swiper-cube-translate-z",`${$}px`)},setTransition:u=>{const{el:o,slides:c}=e;if(c.forEach(h=>{h.style.transitionDuration=`${u}ms`,h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(w=>{w.style.transitionDuration=`${u}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const h=o.querySelector(".swiper-cube-shadow");h&&(h.style.transitionDuration=`${u}ms`)}},recreateShadows:()=>{const u=e.isHorizontal();e.slides.forEach(o=>{const c=Math.max(Math.min(o.progress,1),-1);a(o,c,u)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function ve(s,e,t){const i=`swiper-slide-shadow${t?`-${t}`:""}${s?` swiper-slide-shadow-${s}`:""}`,a=ue(e);let r=a.querySelector(`.${i.split(" ").join(".")}`);return r||(r=Q("div",i.split(" ")),a.append(r)),r}function ti(s){let{swiper:e,extendParams:t,on:i}=s;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(u,o)=>{let c=e.isHorizontal()?u.querySelector(".swiper-slide-shadow-left"):u.querySelector(".swiper-slide-shadow-top"),h=e.isHorizontal()?u.querySelector(".swiper-slide-shadow-right"):u.querySelector(".swiper-slide-shadow-bottom");c||(c=ve("flip",u,e.isHorizontal()?"left":"top")),h||(h=ve("flip",u,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-o,0)),h&&(h.style.opacity=Math.max(o,0))};we({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:u,rtlTranslate:o}=e,c=e.params.flipEffect,h=Oe(e);for(let w=0;w<u.length;w+=1){const p=u[w];let n=p.progress;e.params.flipEffect.limitRotation&&(n=Math.max(Math.min(p.progress,1),-1));const l=p.swiperSlideOffset;let y=-180*n,g=0,m=e.params.cssMode?-l-e.translate:-l,b=0;e.isHorizontal()?o&&(y=-y):(b=m,m=0,g=-y,y=0),p.style.zIndex=-Math.abs(Math.round(n))+u.length,c.slideShadows&&a(p,n);const E=`translate3d(${m}px, ${b}px, 0px) rotateX(${h(g)}deg) rotateY(${h(y)}deg)`,$=Ce(c,p);$.style.transform=E}},setTransition:u=>{const o=e.slides.map(c=>ue(c));o.forEach(c=>{c.style.transitionDuration=`${u}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(h=>{h.style.transitionDuration=`${u}ms`})}),De({swiper:e,duration:u,transformElements:o})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(u=>{let o=u.progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(u.progress,1),-1)),a(u,o)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function si(s){let{swiper:e,extendParams:t,on:i}=s;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),we({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:f,height:d,slides:u,slidesSizesGrid:o}=e,c=e.params.coverflowEffect,h=e.isHorizontal(),w=e.translate,p=h?-w+f/2:-w+d/2,n=h?c.rotate:-c.rotate,l=c.depth,v=Oe(e);for(let y=0,g=u.length;y<g;y+=1){const m=u[y],b=o[y],E=m.swiperSlideOffset,$=(p-E-b/2)/b,z=typeof c.modifier=="function"?c.modifier($):$*c.modifier;let A=h?n*z:0,M=h?0:n*z,T=-l*Math.abs(z),I=c.stretch;typeof I=="string"&&I.indexOf("%")!==-1&&(I=parseFloat(c.stretch)/100*b);let P=h?0:I*z,C=h?I*z:0,L=1-(1-c.scale)*Math.abs(z);Math.abs(C)<.001&&(C=0),Math.abs(P)<.001&&(P=0),Math.abs(T)<.001&&(T=0),Math.abs(A)<.001&&(A=0),Math.abs(M)<.001&&(M=0),Math.abs(L)<.001&&(L=0);const D=`translate3d(${C}px,${P}px,${T}px) rotateX(${v(M)}deg) rotateY(${v(A)}deg) scale(${L})`,B=Ce(c,m);if(B.style.transform=D,m.style.zIndex=-Math.abs(Math.round(z))+1,c.slideShadows){let S=h?m.querySelector(".swiper-slide-shadow-left"):m.querySelector(".swiper-slide-shadow-top"),x=h?m.querySelector(".swiper-slide-shadow-right"):m.querySelector(".swiper-slide-shadow-bottom");S||(S=ve("coverflow",m,h?"left":"top")),x||(x=ve("coverflow",m,h?"right":"bottom")),S&&(S.style.opacity=z>0?z:0),x&&(x.style.opacity=-z>0?-z:0)}}},setTransition:f=>{e.slides.map(u=>ue(u)).forEach(u=>{u.style.transitionDuration=`${f}ms`,u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(o=>{o.style.transitionDuration=`${f}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function ii(s){let{swiper:e,extendParams:t,on:i}=s;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=d=>typeof d=="string"?d:`${d}px`;we({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:d,wrapperEl:u,slidesSizesGrid:o}=e,c=e.params.creativeEffect,{progressMultiplier:h}=c,w=e.params.centeredSlides,p=Oe(e);if(w){const n=o[0]/2-e.params.slidesOffsetBefore||0;u.style.transform=`translateX(calc(50% - ${n}px))`}for(let n=0;n<d.length;n+=1){const l=d[n],v=l.progress,y=Math.min(Math.max(l.progress,-c.limitProgress),c.limitProgress);let g=y;w||(g=Math.min(Math.max(l.originalProgress,-c.limitProgress),c.limitProgress));const m=l.swiperSlideOffset,b=[e.params.cssMode?-m-e.translate:-m,0,0],E=[0,0,0];let $=!1;e.isHorizontal()||(b[1]=b[0],b[0]=0);let z={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};y<0?(z=c.next,$=!0):y>0&&(z=c.prev,$=!0),b.forEach((L,D)=>{b[D]=`calc(${L}px + (${a(z.translate[D])} * ${Math.abs(y*h)}))`}),E.forEach((L,D)=>{let B=z.rotate[D]*Math.abs(y*h);E[D]=B}),l.style.zIndex=-Math.abs(Math.round(v))+d.length;const A=b.join(", "),M=`rotateX(${p(E[0])}deg) rotateY(${p(E[1])}deg) rotateZ(${p(E[2])}deg)`,T=g<0?`scale(${1+(1-z.scale)*g*h})`:`scale(${1-(1-z.scale)*g*h})`,I=g<0?1+(1-z.opacity)*g*h:1-(1-z.opacity)*g*h,P=`translate3d(${A}) ${M} ${T}`;if($&&z.shadow||!$){let L=l.querySelector(".swiper-slide-shadow");if(!L&&z.shadow&&(L=ve("creative",l)),L){const D=c.shadowPerProgress?y*(1/c.limitProgress):y;L.style.opacity=Math.min(Math.max(Math.abs(D),0),1)}}const C=Ce(c,l);C.style.transform=P,C.style.opacity=I,z.origin&&(C.style.transformOrigin=z.origin)}},setTransition:d=>{const u=e.slides.map(o=>ue(o));u.forEach(o=>{o.style.transitionDuration=`${d}ms`,o.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${d}ms`})}),De({swiper:e,duration:d,transformElements:u,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function ri(s){let{swiper:e,extendParams:t,on:i}=s;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),we({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:f,activeIndex:d,rtlTranslate:u}=e,o=e.params.cardsEffect,{startTranslate:c,isTouched:h}=e.touchEventsData,w=u?-e.translate:e.translate;for(let p=0;p<f.length;p+=1){const n=f[p],l=n.progress,v=Math.min(Math.max(l,-4),4);let y=n.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(y-=f[0].swiperSlideOffset);let g=e.params.cssMode?-y-e.translate:-y,m=0;const b=-100*Math.abs(v);let E=1,$=-o.perSlideRotate*v,z=o.perSlideOffset-Math.abs(v)*.75;const A=e.virtual&&e.params.virtual.enabled?e.virtual.from+p:p,M=(A===d||A===d-1)&&v>0&&v<1&&(h||e.params.cssMode)&&w<c,T=(A===d||A===d+1)&&v<0&&v>-1&&(h||e.params.cssMode)&&w>c;if(M||T){const L=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;$+=-28*v*L,E+=-.5*L,z+=96*L,m=`${-25*L*Math.abs(v)}%`}if(v<0?g=`calc(${g}px ${u?"-":"+"} (${z*Math.abs(v)}%))`:v>0?g=`calc(${g}px ${u?"-":"+"} (-${z*Math.abs(v)}%))`:g=`${g}px`,!e.isHorizontal()){const L=m;m=g,g=L}const I=v<0?`${1+(1-E)*v}`:`${1-(1-E)*v}`,P=`
2
- translate3d(${g}, ${m}, ${b}px)
3
- rotateZ(${o.rotate?u?-$:$:0}deg)
4
- scale(${I})
5
- `;if(o.slideShadows){let L=n.querySelector(".swiper-slide-shadow");L||(L=ve("cards",n)),L&&(L.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}n.style.zIndex=-Math.abs(Math.round(l))+f.length;const C=Ce(o,n);C.style.transform=P}},setTransition:f=>{const d=e.slides.map(u=>ue(u));d.forEach(u=>{u.style.transitionDuration=`${f}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(o=>{o.style.transitionDuration=`${f}ms`})}),De({swiper:e,duration:f,transformElements:d})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}const ai=[As,$s,Os,Ds,ks,Bs,Gs,Hs,Xs,Rs,Vs,Ys,Fs,Ns,_s,Ws,Qs,Js,ei,ti,si,ii,ri];K.use(ai);const ni={class:"swiper-wrapper"},li=["onClick"],Ke=X.defineComponent({__name:"swiper-vehicle",props:{modelValue:{default:0},backgroundImgUrl:{},backgroundImgAlt:{},dataList:{},imgFullHeightInMobile:{type:Boolean},swiperOptions:{default:()=>({})},effect:{default:"fade"},indicatorClass:{},tabIndicatorBottom:{},showTextBackground:{type:Boolean}},emits:["change","update:modelValue"],setup(s,{emit:e}){const t=s,i=e;let a=null;const r=X.ref(t.modelValue),f=X.ref(),d=X.computed(()=>{const p={};return t.tabIndicatorBottom&&(p.position="absolute",p.zIndex=1,p.left="50%",p.bottom=typeof t.tabIndicatorBottom=="number"?`${t.tabIndicatorBottom}px`:t.tabIndicatorBottom,p.transform="translateX(-50%)"),p}),u=X.computed(()=>t.dataList[r.value].text);X.watch(()=>t.modelValue,p=>{r.value!==p&&(r.value=p,o(r.value))});const o=p=>{a==null||a.slideTo(p)},c=()=>{a==null||a.destroy(),f.value&&(a=new K(f.value,{slidesPerView:1,allowTouchMove:!1,effect:t.effect,autoplay:!0,...t.swiperOptions}),a.on("realIndexChange",p=>{r.value=p.realIndex,i("change",p.realIndex),i("update:modelValue",p.realIndex)}))},h=()=>{(a==null?void 0:a.params.autoplay).enabled&&(a==null||a.autoplay.start())},w=()=>{(a==null?void 0:a.params.autoplay).enabled&&(a==null||a.autoplay.stop())};return X.onMounted(()=>{c(),window.addEventListener("resize",c)}),X.onBeforeUnmount(()=>{a==null||a.destroy(),window.removeEventListener("resize",c)}),(p,n)=>(X.openBlock(),X.createElementBlock("div",{class:X.normalizeClass([`${X.unref(oe.PREFIX)}-swiper-vehicle`])},[p.backgroundImgUrl?(X.openBlock(),X.createBlock(X.unref(et.ScLayzImage),{key:0,class:X.normalizeClass(`${X.unref(oe.PREFIX)}-swiper-vehicle__bg`),src:p.backgroundImgUrl,alt:p.backgroundImgAlt},null,8,["class","src","alt"])):X.createCommentVNode("v-if",!0),X.createElementVNode("div",{ref_key:"swiperRef",ref:f,class:X.normalizeClass([`${X.unref(oe.PREFIX)}-swiper-vehicle__main`])},[X.createElementVNode("div",ni,[(X.openBlock(!0),X.createElementBlock(X.Fragment,null,X.renderList(p.dataList,l=>(X.openBlock(),X.createElementBlock("div",{key:l.url,class:"swiper-slide"},[p.showTextBackground?(X.openBlock(),X.createElementBlock("span",{key:0,class:X.normalizeClass(`${X.unref(oe.PREFIX)}-swiper-vehicle__text-bg`)},X.toDisplayString(l.text),3)):X.createCommentVNode("v-if",!0),X.createVNode(X.unref(et.ScLayzImage),{class:X.normalizeClass(p.imgFullHeightInMobile?`${X.unref(oe.PREFIX)}-swiper-vehicle__full-height`:""),src:l.url,alt:l.alt},null,8,["class","src","alt"])]))),128))])],2),X.createElementVNode("div",{class:X.normalizeClass([`${X.unref(oe.PREFIX)}-swiper-vehicle__indicator`,p.indicatorClass]),style:X.normalizeStyle(d.value)},[X.createElementVNode("div",{class:X.normalizeClass(`${X.unref(oe.PREFIX)}-swiper-vehicle__indicator-control`)},[(X.openBlock(!0),X.createElementBlock(X.Fragment,null,X.renderList(p.dataList,(l,v)=>(X.openBlock(),X.createElementBlock("div",{key:l.color,class:X.normalizeClass([r.value===v&&"active","color-stroke"]),style:X.normalizeStyle({"background-color":l.color,"border-color":l.color}),onClick:y=>o(v),onMouseenter:w,onMouseleave:h},null,46,li))),128))],2),X.createElementVNode("div",{class:X.normalizeClass(`${X.unref(oe.PREFIX)}-swiper-vehicle__indicator-text`)},X.toDisplayString(u.value),3)],6)],2))}});Ke.install=s=>(s.component("ScSwiperVehicle",Ke),s);const oi=Ke;exports.ScSwiperVehicle=oi;exports.Swiper=K;