import{a as Se,c as L}from"./chunk-lodash-6114c6d4.js";import{r as fe,d as Te}from"./chunk-react-caacd912.js";import{s as Ce,$ as k,g as q,a as V,n as Z,b as j,c as ze,d as be,e as ce,i as Pe,f as J,h as le,j as ue,E as Ie,N as Xe,P as Oe,S as $e}from"./chunk-effect-fade-17bfa8f3.js";var xe={},me={};function De({swiper:e,extendParams:g,on:i}){g({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let y;e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};function x(a,t){const l=e.params.virtual;if(l.cache&&e.virtual.cache[t])return e.virtual.cache[t];const m=l.renderSlide?k(l.renderSlide.call(e,a,t)):k(`<div class="${e.params.slideClass}" data-swiper-slide-index="${t}">${a}</div>`);return m.attr("data-swiper-slide-index")||m.attr("data-swiper-slide-index",t),l.cache&&(e.virtual.cache[t]=m),m}function $(a){const{slidesPerView:t,slidesPerGroup:l,centeredSlides:m}=e.params,{addSlidesBefore:o,addSlidesAfter:r}=e.params.virtual,{from:s,to:p,slides:h,slidesGrid:b,offset:C}=e.virtual;e.params.cssMode||e.updateActiveIndex();const T=e.activeIndex||0;let z;e.rtlTranslate?z="right":z=e.isHorizontal()?"left":"top";let I,E;m?(I=Math.floor(t/2)+l+r,E=Math.floor(t/2)+l+o):(I=t+(l-1)+r,E=l+o);const d=Math.max((T||0)-E,0),S=Math.min((T||0)+I,h.length-1),M=(e.slidesGrid[d]||0)-(e.slidesGrid[0]||0);Object.assign(e.virtual,{from:d,to:S,offset:M,slidesGrid:e.slidesGrid});function O(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load()}if(s===d&&p===S&&!a){e.slidesGrid!==b&&M!==C&&e.slides.css(z,`${M}px`),e.updateProgress();return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:M,from:d,to:S,slides:function(){const v=[];for(let X=d;X<=S;X+=1)v.push(h[X]);return v}()}),e.params.virtual.renderExternalUpdate&&O();return}const P=[],H=[];if(a)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let D=s;D<=p;D+=1)(D<d||D>S)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${D}"]`).remove();for(let D=0;D<h.length;D+=1)D>=d&&D<=S&&(typeof p>"u"||a?H.push(D):(D>p&&H.push(D),D<s&&P.push(D)));H.forEach(D=>{e.$wrapperEl.append(x(h[D],D))}),P.sort((D,v)=>v-D).forEach(D=>{e.$wrapperEl.prepend(x(h[D],D))}),e.$wrapperEl.children(".swiper-slide").css(z,`${M}px`),O()}function u(a){if(typeof a=="object"&&"length"in a)for(let t=0;t<a.length;t+=1)a[t]&&e.virtual.slides.push(a[t]);else e.virtual.slides.push(a);$(!0)}function f(a){const t=e.activeIndex;let l=t+1,m=1;if(Array.isArray(a)){for(let o=0;o<a.length;o+=1)a[o]&&e.virtual.slides.unshift(a[o]);l=t+a.length,m=a.length}else e.virtual.slides.unshift(a);if(e.params.virtual.cache){const o=e.virtual.cache,r={};Object.keys(o).forEach(s=>{const p=o[s],h=p.attr("data-swiper-slide-index");h&&p.attr("data-swiper-slide-index",parseInt(h,10)+m),r[parseInt(s,10)+m]=p}),e.virtual.cache=r}$(!0),e.slideTo(l,0)}function c(a){if(typeof a>"u"||a===null)return;let t=e.activeIndex;if(Array.isArray(a))for(let l=a.length-1;l>=0;l-=1)e.virtual.slides.splice(a[l],1),e.params.virtual.cache&&delete e.virtual.cache[a[l]],a[l]<t&&(t-=1),t=Math.max(t,0);else e.virtual.slides.splice(a,1),e.params.virtual.cache&&delete e.virtual.cache[a],a<t&&(t-=1),t=Math.max(t,0);$(!0),e.slideTo(t,0)}function n(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),$(!0),e.slideTo(0,0)}i("beforeInit",()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||$())}),i("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(y),y=setTimeout(()=>{$()},100)):$())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Ce(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:u,prependSlide:f,removeSlide:c,removeAllSlides:n,update:$})}function Ye({swiper:e,extendParams:g,on:i,emit:y}){const x=q(),$=V();e.keyboard={enabled:!1},g({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function u(n){if(!e.enabled)return;const{rtlTranslate:a}=e;let t=n;t.originalEvent&&(t=t.originalEvent);const l=t.keyCode||t.charCode,m=e.params.keyboard.pageUpDown,o=m&&l===33,r=m&&l===34,s=l===37,p=l===39,h=l===38,b=l===40;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&b||r)||!e.allowSlidePrev&&(e.isHorizontal()&&s||e.isVertical()&&h||o))return!1;if(!(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey)&&!(x.activeElement&&x.activeElement.nodeName&&(x.activeElement.nodeName.toLowerCase()==="input"||x.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(o||r||s||p||h||b)){let C=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&e.$el.parents(`.${e.params.slideActiveClass}`).length===0)return;const T=e.$el,z=T[0].clientWidth,I=T[0].clientHeight,E=$.innerWidth,d=$.innerHeight,S=e.$el.offset();a&&(S.left-=e.$el[0].scrollLeft);const M=[[S.left,S.top],[S.left+z,S.top],[S.left,S.top+I],[S.left+z,S.top+I]];for(let O=0;O<M.length;O+=1){const P=M[O];if(P[0]>=0&&P[0]<=E&&P[1]>=0&&P[1]<=d){if(P[0]===0&&P[1]===0)continue;C=!0}}if(!C)return}e.isHorizontal()?((o||r||s||p)&&(t.preventDefault?t.preventDefault():t.returnValue=!1),((r||p)&&!a||(o||s)&&a)&&e.slideNext(),((o||s)&&!a||(r||p)&&a)&&e.slidePrev()):((o||r||h||b)&&(t.preventDefault?t.preventDefault():t.returnValue=!1),(r||b)&&e.slideNext(),(o||h)&&e.slidePrev()),y("keyPress",l)}}function f(){e.keyboard.enabled||(k(x).on("keydown",u),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(k(x).off("keydown",u),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&f()}),i("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:f,disable:c})}function He({swiper:e,extendParams:g,on:i,emit:y}){const x=V();g({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let $,u=j(),f;const c=[];function n(h){let z=0,I=0,E=0,d=0;return"detail"in h&&(I=h.detail),"wheelDelta"in h&&(I=-h.wheelDelta/120),"wheelDeltaY"in h&&(I=-h.wheelDeltaY/120),"wheelDeltaX"in h&&(z=-h.wheelDeltaX/120),"axis"in h&&h.axis===h.HORIZONTAL_AXIS&&(z=I,I=0),E=z*10,d=I*10,"deltaY"in h&&(d=h.deltaY),"deltaX"in h&&(E=h.deltaX),h.shiftKey&&!E&&(E=d,d=0),(E||d)&&h.deltaMode&&(h.deltaMode===1?(E*=40,d*=40):(E*=800,d*=800)),E&&!z&&(z=E<1?-1:1),d&&!I&&(I=d<1?-1:1),{spinX:z,spinY:I,pixelX:E,pixelY:d}}function a(){e.enabled&&(e.mouseEntered=!0)}function t(){e.enabled&&(e.mouseEntered=!1)}function l(h){return e.params.mousewheel.thresholdDelta&&h.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&j()-u<e.params.mousewheel.thresholdTime?!1:h.delta>=6&&j()-u<60?!0:(h.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),y("scroll",h.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),y("scroll",h.raw)),u=new x.Date().getTime(),!1)}function m(h){const b=e.params.mousewheel;if(h.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 o(h){let b=h,C=!0;if(!e.enabled)return;const T=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let z=e.$el;if(e.params.mousewheel.eventsTarget!=="container"&&(z=k(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!z[0].contains(b.target)&&!T.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let I=0;const E=e.rtlTranslate?-1:1,d=n(b);if(T.forceToAxis)if(e.isHorizontal())if(Math.abs(d.pixelX)>Math.abs(d.pixelY))I=-d.pixelX*E;else return!0;else if(Math.abs(d.pixelY)>Math.abs(d.pixelX))I=-d.pixelY;else return!0;else I=Math.abs(d.pixelX)>Math.abs(d.pixelY)?-d.pixelX*E:-d.pixelY;if(I===0)return!0;T.invert&&(I=-I);let S=e.getTranslate()+I*T.sensitivity;if(S>=e.minTranslate()&&(S=e.minTranslate()),S<=e.maxTranslate()&&(S=e.maxTranslate()),C=e.params.loop?!0:!(S===e.minTranslate()||S===e.maxTranslate()),C&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const M={time:j(),delta:Math.abs(I),direction:Math.sign(I),raw:h};c.length>=2&&c.shift();const O=c.length?c[c.length-1]:void 0;if(c.push(M),O?(M.direction!==O.direction||M.delta>O.delta||M.time>O.time+150)&&l(M):l(M),m(M))return!0}else{const M={time:j(),delta:Math.abs(I),direction:Math.sign(I)},O=f&&M.time<f.time+500&&M.delta<=f.delta&&M.direction===f.direction;if(!O){f=void 0,e.params.loop&&e.loopFix();let P=e.getTranslate()+I*T.sensitivity;const H=e.isBeginning,D=e.isEnd;if(P>=e.minTranslate()&&(P=e.minTranslate()),P<=e.maxTranslate()&&(P=e.maxTranslate()),e.setTransition(0),e.setTranslate(P),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!H&&e.isBeginning||!D&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout($),$=void 0,c.length>=15&&c.shift();const v=c.length?c[c.length-1]:void 0,X=c[0];if(c.push(M),v&&(M.delta>v.delta||M.direction!==v.direction))c.splice(0);else if(c.length>=15&&M.time-X.time<500&&X.delta-M.delta>=1&&M.delta<=6){const Y=I>0?.8:.2;f=M,c.splice(0),$=Z(()=>{e.slideToClosest(e.params.speed,!0,void 0,Y)},0)}$||($=Z(()=>{f=M,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||y("scroll",b),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),P===e.minTranslate()||P===e.maxTranslate())return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function r(h){let b=e.$el;e.params.mousewheel.eventsTarget!=="container"&&(b=k(e.params.mousewheel.eventsTarget)),b[h]("mouseenter",a),b[h]("mouseleave",t),b[h]("wheel",o)}function s(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",o),!0):e.mousewheel.enabled?!1:(r("on"),e.mousewheel.enabled=!0,!0)}function p(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,o),!0):e.mousewheel.enabled?(r("off"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&p(),e.params.mousewheel.enabled&&s()}),i("destroy",()=>{e.params.cssMode&&s(),e.mousewheel.enabled&&p()}),Object.assign(e.mousewheel,{enable:s,disable:p})}function _e({swiper:e,extendParams:g,on:i,emit:y}){const x=q();let $=!1,u=null,f=null,c,n,a,t;g({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null};function l(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:d,rtlTranslate:S,progress:M}=e,{$dragEl:O,$el:P}=d,H=e.params.scrollbar;let D=n,v=(a-n)*M;S?(v=-v,v>0?(D=n-v,v=0):-v+n>a&&(D=a+v)):v<0?(D=n+v,v=0):v+n>a&&(D=a-v),e.isHorizontal()?(O.transform(`translate3d(${v}px, 0, 0)`),O[0].style.width=`${D}px`):(O.transform(`translate3d(0px, ${v}px, 0)`),O[0].style.height=`${D}px`),H.hide&&(clearTimeout(u),P[0].style.opacity=1,u=setTimeout(()=>{P[0].style.opacity=0,P.transition(400)},1e3))}function m(d){!e.params.scrollbar.el||!e.scrollbar.el||e.scrollbar.$dragEl.transition(d)}function o(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:d}=e,{$dragEl:S,$el:M}=d;S[0].style.width="",S[0].style.height="",a=e.isHorizontal()?M[0].offsetWidth:M[0].offsetHeight,t=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?n=a*t:n=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?S[0].style.width=`${n}px`:S[0].style.height=`${n}px`,t>=1?M[0].style.display="none":M[0].style.display="",e.params.scrollbar.hide&&(M[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&d.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function r(d){return e.isHorizontal()?d.type==="touchstart"||d.type==="touchmove"?d.targetTouches[0].clientX:d.clientX:d.type==="touchstart"||d.type==="touchmove"?d.targetTouches[0].clientY:d.clientY}function s(d){const{scrollbar:S,rtlTranslate:M}=e,{$el:O}=S;let P;P=(r(d)-O.offset()[e.isHorizontal()?"left":"top"]-(c!==null?c:n/2))/(a-n),P=Math.max(Math.min(P,1),0),M&&(P=1-P);const H=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*P;e.updateProgress(H),e.setTranslate(H),e.updateActiveIndex(),e.updateSlidesClasses()}function p(d){const S=e.params.scrollbar,{scrollbar:M,$wrapperEl:O}=e,{$el:P,$dragEl:H}=M;$=!0,c=d.target===H[0]||d.target===H?r(d)-d.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,d.preventDefault(),d.stopPropagation(),O.transition(100),H.transition(100),s(d),clearTimeout(f),P.transition(0),S.hide&&P.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),y("scrollbarDragStart",d)}function h(d){const{scrollbar:S,$wrapperEl:M}=e,{$el:O,$dragEl:P}=S;$&&(d.preventDefault?d.preventDefault():d.returnValue=!1,s(d),M.transition(0),O.transition(0),P.transition(0),y("scrollbarDragMove",d))}function b(d){const S=e.params.scrollbar,{scrollbar:M,$wrapperEl:O}=e,{$el:P}=M;$&&($=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),O.transition("")),S.hide&&(clearTimeout(f),f=Z(()=>{P.css("opacity",0),P.transition(400)},1e3)),y("scrollbarDragEnd",d),S.snapOnRelease&&e.slideToClosest())}function C(d){const{scrollbar:S,touchEventsTouch:M,touchEventsDesktop:O,params:P,support:H}=e,v=S.$el[0],X=H.passiveListener&&P.passiveListeners?{passive:!1,capture:!1}:!1,Y=H.passiveListener&&P.passiveListeners?{passive:!0,capture:!1}:!1;if(!v)return;const _=d==="on"?"addEventListener":"removeEventListener";H.touch?(v[_](M.start,p,X),v[_](M.move,h,X),v[_](M.end,b,Y)):(v[_](O.start,p,X),x[_](O.move,h,X),x[_](O.end,b,Y))}function T(){e.params.scrollbar.el&&C("on")}function z(){e.params.scrollbar.el&&C("off")}function I(){const{scrollbar:d,$el:S}=e;e.params.scrollbar=ze(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const M=e.params.scrollbar;if(!M.el)return;let O=k(M.el);e.params.uniqueNavElements&&typeof M.el=="string"&&O.length>1&&S.find(M.el).length===1&&(O=S.find(M.el));let P=O.find(`.${e.params.scrollbar.dragClass}`);P.length===0&&(P=k(`<div class="${e.params.scrollbar.dragClass}"></div>`),O.append(P)),Object.assign(d,{$el:O,el:O[0],$dragEl:P,dragEl:P[0]}),M.draggable&&T(),O&&O[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function E(){z()}i("init",()=>{I(),o(),l()}),i("update resize observerUpdate lock unlock",()=>{o()}),i("setTranslate",()=>{l()}),i("setTransition",(d,S)=>{m(S)}),i("enable disable",()=>{const{$el:d}=e.scrollbar;d&&d[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}),i("destroy",()=>{E()}),Object.assign(e.scrollbar,{updateSize:o,setTranslate:l,init:I,destroy:E})}function ke({swiper:e,extendParams:g,on:i}){g({parallax:{enabled:!1}});const y=(u,f)=>{const{rtl:c}=e,n=k(u),a=c?-1:1,t=n.attr("data-swiper-parallax")||"0";let l=n.attr("data-swiper-parallax-x"),m=n.attr("data-swiper-parallax-y");const o=n.attr("data-swiper-parallax-scale"),r=n.attr("data-swiper-parallax-opacity");if(l||m?(l=l||"0",m=m||"0"):e.isHorizontal()?(l=t,m="0"):(m=t,l="0"),l.indexOf("%")>=0?l=`${parseInt(l,10)*f*a}%`:l=`${l*f*a}px`,m.indexOf("%")>=0?m=`${parseInt(m,10)*f}%`:m=`${m*f}px`,typeof r<"u"&&r!==null){const s=r-(r-1)*(1-Math.abs(f));n[0].style.opacity=s}if(typeof o>"u"||o===null)n.transform(`translate3d(${l}, ${m}, 0px)`);else{const s=o-(o-1)*(1-Math.abs(f));n.transform(`translate3d(${l}, ${m}, 0px) scale(${s})`)}},x=()=>{const{$el:u,slides:f,progress:c,snapGrid:n}=e;u.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(a=>{y(a,c)}),f.each((a,t)=>{let l=a.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(l+=Math.ceil(t/2)-c*(n.length-1)),l=Math.min(Math.max(l,-1),1),k(a).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(m=>{y(m,l)})})},$=(u=e.params.speed)=>{const{$el:f}=e;f.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(c=>{const n=k(c);let a=parseInt(n.attr("data-swiper-parallax-duration"),10)||u;u===0&&(a=0),n.transition(a)})};i("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),i("init",()=>{e.params.parallax.enabled&&x()}),i("setTranslate",()=>{e.params.parallax.enabled&&x()}),i("setTransition",(u,f)=>{e.params.parallax.enabled&&$(f)})}function Ae({swiper:e,extendParams:g,on:i,emit:y}){const x=V();g({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let $=1,u=!1,f,c,n;const a={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},t={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:{}},l={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m=1;Object.defineProperty(e.zoom,"scale",{get(){return m},set(v){if(m!==v){const X=a.$imageEl?a.$imageEl[0]:void 0,Y=a.$slideEl?a.$slideEl[0]:void 0;y("zoomChange",v,X,Y)}m=v}});function o(v){if(v.targetTouches.length<2)return 1;const X=v.targetTouches[0].pageX,Y=v.targetTouches[0].pageY,_=v.targetTouches[1].pageX,A=v.targetTouches[1].pageY;return Math.sqrt((_-X)**2+(A-Y)**2)}function r(v){const X=e.support,Y=e.params.zoom;if(c=!1,n=!1,!X.gestures){if(v.type!=="touchstart"||v.type==="touchstart"&&v.targetTouches.length<2)return;c=!0,a.scaleStart=o(v)}if((!a.$slideEl||!a.$slideEl.length)&&(a.$slideEl=k(v.target).closest(`.${e.params.slideClass}`),a.$slideEl.length===0&&(a.$slideEl=e.slides.eq(e.activeIndex)),a.$imageEl=a.$slideEl.find(`.${Y.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),a.$imageWrapEl=a.$imageEl.parent(`.${Y.containerClass}`),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||Y.maxRatio,a.$imageWrapEl.length===0)){a.$imageEl=void 0;return}a.$imageEl&&a.$imageEl.transition(0),u=!0}function s(v){const X=e.support,Y=e.params.zoom,_=e.zoom;if(!X.gestures){if(v.type!=="touchmove"||v.type==="touchmove"&&v.targetTouches.length<2)return;n=!0,a.scaleMove=o(v)}if(!a.$imageEl||a.$imageEl.length===0){v.type==="gesturechange"&&r(v);return}X.gestures?_.scale=v.scale*$:_.scale=a.scaleMove/a.scaleStart*$,_.scale>a.maxRatio&&(_.scale=a.maxRatio-1+(_.scale-a.maxRatio+1)**.5),_.scale<Y.minRatio&&(_.scale=Y.minRatio+1-(Y.minRatio-_.scale+1)**.5),a.$imageEl.transform(`translate3d(0,0,0) scale(${_.scale})`)}function p(v){const X=e.device,Y=e.support,_=e.params.zoom,A=e.zoom;if(!Y.gestures){if(!c||!n||v.type!=="touchend"||v.type==="touchend"&&v.changedTouches.length<2&&!X.android)return;c=!1,n=!1}!a.$imageEl||a.$imageEl.length===0||(A.scale=Math.max(Math.min(A.scale,a.maxRatio),_.minRatio),a.$imageEl.transition(e.params.speed).transform(`translate3d(0,0,0) scale(${A.scale})`),$=A.scale,u=!1,A.scale===1&&(a.$slideEl=void 0))}function h(v){const X=e.device;!a.$imageEl||a.$imageEl.length===0||t.isTouched||(X.android&&v.cancelable&&v.preventDefault(),t.isTouched=!0,t.touchesStart.x=v.type==="touchstart"?v.targetTouches[0].pageX:v.pageX,t.touchesStart.y=v.type==="touchstart"?v.targetTouches[0].pageY:v.pageY)}function b(v){const X=e.zoom;if(!a.$imageEl||a.$imageEl.length===0||(e.allowClick=!1,!t.isTouched||!a.$slideEl))return;t.isMoved||(t.width=a.$imageEl[0].offsetWidth,t.height=a.$imageEl[0].offsetHeight,t.startX=be(a.$imageWrapEl[0],"x")||0,t.startY=be(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0));const Y=t.width*X.scale,_=t.height*X.scale;if(!(Y<a.slideWidth&&_<a.slideHeight)){if(t.minX=Math.min(a.slideWidth/2-Y/2,0),t.maxX=-t.minX,t.minY=Math.min(a.slideHeight/2-_/2,0),t.maxY=-t.minY,t.touchesCurrent.x=v.type==="touchmove"?v.targetTouches[0].pageX:v.pageX,t.touchesCurrent.y=v.type==="touchmove"?v.targetTouches[0].pageY:v.pageY,!t.isMoved&&!u){if(e.isHorizontal()&&(Math.floor(t.minX)===Math.floor(t.startX)&&t.touchesCurrent.x<t.touchesStart.x||Math.floor(t.maxX)===Math.floor(t.startX)&&t.touchesCurrent.x>t.touchesStart.x)){t.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(t.minY)===Math.floor(t.startY)&&t.touchesCurrent.y<t.touchesStart.y||Math.floor(t.maxY)===Math.floor(t.startY)&&t.touchesCurrent.y>t.touchesStart.y)){t.isTouched=!1;return}}v.cancelable&&v.preventDefault(),v.stopPropagation(),t.isMoved=!0,t.currentX=t.touchesCurrent.x-t.touchesStart.x+t.startX,t.currentY=t.touchesCurrent.y-t.touchesStart.y+t.startY,t.currentX<t.minX&&(t.currentX=t.minX+1-(t.minX-t.currentX+1)**.8),t.currentX>t.maxX&&(t.currentX=t.maxX-1+(t.currentX-t.maxX+1)**.8),t.currentY<t.minY&&(t.currentY=t.minY+1-(t.minY-t.currentY+1)**.8),t.currentY>t.maxY&&(t.currentY=t.maxY-1+(t.currentY-t.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=t.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=t.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(t.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(t.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(t.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(t.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=t.touchesCurrent.x,l.prevPositionY=t.touchesCurrent.y,l.prevTime=Date.now(),a.$imageWrapEl.transform(`translate3d(${t.currentX}px, ${t.currentY}px,0)`)}}function C(){const v=e.zoom;if(!a.$imageEl||a.$imageEl.length===0)return;if(!t.isTouched||!t.isMoved){t.isTouched=!1,t.isMoved=!1;return}t.isTouched=!1,t.isMoved=!1;let X=300,Y=300;const _=l.x*X,A=t.currentX+_,U=l.y*Y,K=t.currentY+U;l.x!==0&&(X=Math.abs((A-t.currentX)/l.x)),l.y!==0&&(Y=Math.abs((K-t.currentY)/l.y));const Q=Math.max(X,Y);t.currentX=A,t.currentY=K;const w=t.width*v.scale,W=t.height*v.scale;t.minX=Math.min(a.slideWidth/2-w/2,0),t.maxX=-t.minX,t.minY=Math.min(a.slideHeight/2-W/2,0),t.maxY=-t.minY,t.currentX=Math.max(Math.min(t.currentX,t.maxX),t.minX),t.currentY=Math.max(Math.min(t.currentY,t.maxY),t.minY),a.$imageWrapEl.transition(Q).transform(`translate3d(${t.currentX}px, ${t.currentY}px,0)`)}function T(){const v=e.zoom;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl&&a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl&&a.$imageWrapEl.transform("translate3d(0,0,0)"),v.scale=1,$=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)}function z(v){const X=e.zoom,Y=e.params.zoom;if(a.$slideEl||(v&&v.target&&(a.$slideEl=k(v.target).closest(`.${e.params.slideClass}`)),a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):a.$slideEl=e.slides.eq(e.activeIndex)),a.$imageEl=a.$slideEl.find(`.${Y.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),a.$imageWrapEl=a.$imageEl.parent(`.${Y.containerClass}`)),!a.$imageEl||a.$imageEl.length===0||!a.$imageWrapEl||a.$imageWrapEl.length===0)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),a.$slideEl.addClass(`${Y.zoomedSlideClass}`);let _,A,U,K,Q,w,W,G,ge,pe,ve,Ee,ee,te,oe,ie,re,de;typeof t.touchesStart.x>"u"&&v?(_=v.type==="touchend"?v.changedTouches[0].pageX:v.pageX,A=v.type==="touchend"?v.changedTouches[0].pageY:v.pageY):(_=t.touchesStart.x,A=t.touchesStart.y),X.scale=a.$imageWrapEl.attr("data-swiper-zoom")||Y.maxRatio,$=a.$imageWrapEl.attr("data-swiper-zoom")||Y.maxRatio,v?(re=a.$slideEl[0].offsetWidth,de=a.$slideEl[0].offsetHeight,U=a.$slideEl.offset().left+x.scrollX,K=a.$slideEl.offset().top+x.scrollY,Q=U+re/2-_,w=K+de/2-A,ge=a.$imageEl[0].offsetWidth,pe=a.$imageEl[0].offsetHeight,ve=ge*X.scale,Ee=pe*X.scale,ee=Math.min(re/2-ve/2,0),te=Math.min(de/2-Ee/2,0),oe=-ee,ie=-te,W=Q*X.scale,G=w*X.scale,W<ee&&(W=ee),W>oe&&(W=oe),G<te&&(G=te),G>ie&&(G=ie)):(W=0,G=0),a.$imageWrapEl.transition(300).transform(`translate3d(${W}px, ${G}px,0)`),a.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${X.scale})`)}function I(){const v=e.zoom,X=e.params.zoom;a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):a.$slideEl=e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find(`.${X.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),a.$imageWrapEl=a.$imageEl.parent(`.${X.containerClass}`)),!(!a.$imageEl||a.$imageEl.length===0||!a.$imageWrapEl||a.$imageWrapEl.length===0)&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),v.scale=1,$=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass(`${X.zoomedSlideClass}`),a.$slideEl=void 0)}function E(v){const X=e.zoom;X.scale&&X.scale!==1?I():z(v)}function d(){const v=e.support,X=e.touchEvents.start==="touchstart"&&v.passiveListener&&e.params.passiveListeners?{passive:!0,capture:!1}:!1,Y=v.passiveListener?{passive:!1,capture:!0}:!0;return{passiveListener:X,activeListenerWithCapture:Y}}function S(){return`.${e.params.slideClass}`}function M(v){const{passiveListener:X}=d(),Y=S();e.$wrapperEl[v]("gesturestart",Y,r,X),e.$wrapperEl[v]("gesturechange",Y,s,X),e.$wrapperEl[v]("gestureend",Y,p,X)}function O(){f||(f=!0,M("on"))}function P(){f&&(f=!1,M("off"))}function H(){const v=e.zoom;if(v.enabled)return;v.enabled=!0;const X=e.support,{passiveListener:Y,activeListenerWithCapture:_}=d(),A=S();X.gestures?(e.$wrapperEl.on(e.touchEvents.start,O,Y),e.$wrapperEl.on(e.touchEvents.end,P,Y)):e.touchEvents.start==="touchstart"&&(e.$wrapperEl.on(e.touchEvents.start,A,r,Y),e.$wrapperEl.on(e.touchEvents.move,A,s,_),e.$wrapperEl.on(e.touchEvents.end,A,p,Y),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,A,p,Y)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,b,_)}function D(){const v=e.zoom;if(!v.enabled)return;const X=e.support;v.enabled=!1;const{passiveListener:Y,activeListenerWithCapture:_}=d(),A=S();X.gestures?(e.$wrapperEl.off(e.touchEvents.start,O,Y),e.$wrapperEl.off(e.touchEvents.end,P,Y)):e.touchEvents.start==="touchstart"&&(e.$wrapperEl.off(e.touchEvents.start,A,r,Y),e.$wrapperEl.off(e.touchEvents.move,A,s,_),e.$wrapperEl.off(e.touchEvents.end,A,p,Y),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,A,p,Y)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,b,_)}i("init",()=>{e.params.zoom.enabled&&H()}),i("destroy",()=>{D()}),i("touchStart",(v,X)=>{e.zoom.enabled&&h(X)}),i("touchEnd",(v,X)=>{e.zoom.enabled&&C()}),i("doubleTap",(v,X)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&E(X)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&T()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&T()}),Object.assign(e.zoom,{enable:H,disable:D,in:z,out:I,toggle:E})}function Re({swiper:e,extendParams:g,on:i,emit:y}){g({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let x=!1,$=!1;function u(n,a=!0){const t=e.params.lazy;if(typeof n>"u"||e.slides.length===0)return;const m=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${n}"]`):e.slides.eq(n),o=m.find(`.${t.elementClass}:not(.${t.loadedClass}):not(.${t.loadingClass})`);m.hasClass(t.elementClass)&&!m.hasClass(t.loadedClass)&&!m.hasClass(t.loadingClass)&&o.push(m[0]),o.length!==0&&o.each(r=>{const s=k(r);s.addClass(t.loadingClass);const p=s.attr("data-background"),h=s.attr("data-src"),b=s.attr("data-srcset"),C=s.attr("data-sizes"),T=s.parent("picture");e.loadImage(s[0],h||p,b,C,!1,()=>{if(!(typeof e>"u"||e===null||!e||e&&!e.params||e.destroyed)){if(p?(s.css("background-image",`url("${p}")`),s.removeAttr("data-background")):(b&&(s.attr("srcset",b),s.removeAttr("data-srcset")),C&&(s.attr("sizes",C),s.removeAttr("data-sizes")),T.length&&T.children("source").each(z=>{const I=k(z);I.attr("data-srcset")&&(I.attr("srcset",I.attr("data-srcset")),I.removeAttr("data-srcset"))}),h&&(s.attr("src",h),s.removeAttr("data-src"))),s.addClass(t.loadedClass).removeClass(t.loadingClass),m.find(`.${t.preloaderClass}`).remove(),e.params.loop&&a){const z=m.attr("data-swiper-slide-index");if(m.hasClass(e.params.slideDuplicateClass)){const I=e.$wrapperEl.children(`[data-swiper-slide-index="${z}"]:not(.${e.params.slideDuplicateClass})`);u(I.index(),!1)}else{const I=e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${z}"]`);u(I.index(),!1)}}y("lazyImageReady",m[0],s[0]),e.params.autoHeight&&e.updateAutoHeight()}}),y("lazyImageLoad",m[0],s[0])})}function f(){const{$wrapperEl:n,params:a,slides:t,activeIndex:l}=e,m=e.virtual&&a.virtual.enabled,o=a.lazy;let r=a.slidesPerView;r==="auto"&&(r=0);function s(h){if(m){if(n.children(`.${a.slideClass}[data-swiper-slide-index="${h}"]`).length)return!0}else if(t[h])return!0;return!1}function p(h){return m?k(h).attr("data-swiper-slide-index"):k(h).index()}if($||($=!0),e.params.watchSlidesProgress)n.children(`.${a.slideVisibleClass}`).each(h=>{const b=m?k(h).attr("data-swiper-slide-index"):k(h).index();u(b)});else if(r>1)for(let h=l;h<l+r;h+=1)s(h)&&u(h);else u(l);if(o.loadPrevNext)if(r>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){const h=o.loadPrevNextAmount,b=r,C=Math.min(l+b+Math.max(h,b),t.length),T=Math.max(l-Math.max(b,h),0);for(let z=l+r;z<C;z+=1)s(z)&&u(z);for(let z=T;z<l;z+=1)s(z)&&u(z)}else{const h=n.children(`.${a.slideNextClass}`);h.length>0&&u(p(h));const b=n.children(`.${a.slidePrevClass}`);b.length>0&&u(p(b))}}function c(){const n=V();if(!e||e.destroyed)return;const a=e.params.lazy.scrollingElement?k(e.params.lazy.scrollingElement):k(n),t=a[0]===n,l=t?n.innerWidth:a[0].offsetWidth,m=t?n.innerHeight:a[0].offsetHeight,o=e.$el.offset(),{rtlTranslate:r}=e;let s=!1;r&&(o.left-=e.$el[0].scrollLeft);const p=[[o.left,o.top],[o.left+e.width,o.top],[o.left,o.top+e.height],[o.left+e.width,o.top+e.height]];for(let b=0;b<p.length;b+=1){const C=p[b];if(C[0]>=0&&C[0]<=l&&C[1]>=0&&C[1]<=m){if(C[0]===0&&C[1]===0)continue;s=!0}}const h=e.touchEvents.start==="touchstart"&&e.support.passiveListener&&e.params.passiveListeners?{passive:!0,capture:!1}:!1;s?(f(),a.off("scroll",c,h)):x||(x=!0,a.on("scroll",c,h))}i("beforeInit",()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)}),i("init",()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():f())}),i("scroll",()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&f()}),i("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?c():f())}),i("transitionStart",()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!$)&&(e.params.lazy.checkInView?c():f())}),i("transitionEnd",()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?c():f())}),i("slideChange",()=>{const{lazy:n,cssMode:a,watchSlidesProgress:t,touchReleaseOnEdges:l,resistanceRatio:m}=e.params;n.enabled&&(a||t&&(l||m===0))&&f()}),Object.assign(e.lazy,{load:f,loadInSlide:u})}function Ne({swiper:e,extendParams:g,on:i}){g({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function y(c,n){const a=function(){let o,r,s;return(p,h)=>{for(r=-1,o=p.length;o-r>1;)s=o+r>>1,p[s]<=h?r=s:o=s;return o}}();this.x=c,this.y=n,this.lastIndex=c.length-1;let t,l;return this.interpolate=function(o){return o?(l=a(this.x,o),t=l-1,(o-this.x[t])*(this.y[l]-this.y[t])/(this.x[l]-this.x[t])+this.y[t]):0},this}function x(c){e.controller.spline||(e.controller.spline=e.params.loop?new y(e.slidesGrid,c.slidesGrid):new y(e.snapGrid,c.snapGrid))}function $(c,n){const a=e.controller.control;let t,l;const m=e.constructor;function o(r){const s=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(x(r),l=-e.controller.spline.interpolate(-s)),(!l||e.params.controller.by==="container")&&(t=(r.maxTranslate()-r.minTranslate())/(e.maxTranslate()-e.minTranslate()),l=(s-e.minTranslate())*t+r.minTranslate()),e.params.controller.inverse&&(l=r.maxTranslate()-l),r.updateProgress(l),r.setTranslate(l,e),r.updateActiveIndex(),r.updateSlidesClasses()}if(Array.isArray(a))for(let r=0;r<a.length;r+=1)a[r]!==n&&a[r]instanceof m&&o(a[r]);else a instanceof m&&n!==a&&o(a)}function u(c,n){const a=e.constructor,t=e.controller.control;let l;function m(o){o.setTransition(c,e),c!==0&&(o.transitionStart(),o.params.autoHeight&&Z(()=>{o.updateAutoHeight()}),o.$wrapperEl.transitionEnd(()=>{t&&(o.params.loop&&e.params.controller.by==="slide"&&o.loopFix(),o.transitionEnd())}))}if(Array.isArray(t))for(l=0;l<t.length;l+=1)t[l]!==n&&t[l]instanceof a&&m(t[l]);else t instanceof a&&n!==t&&m(t)}function f(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}i("beforeInit",()=>{e.controller.control=e.params.controller.control}),i("update",()=>{f()}),i("resize",()=>{f()}),i("observerUpdate",()=>{f()}),i("setTranslate",(c,n,a)=>{e.controller.control&&e.controller.setTranslate(n,a)}),i("setTransition",(c,n,a)=>{e.controller.control&&e.controller.setTransition(n,a)}),Object.assign(e.controller,{setTranslate:$,setTransition:u})}function Le({swiper:e,extendParams:g,on:i}){g({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,itemRoleDescriptionMessage:null,slideRole:"group"}});let y=null;function x(E){const d=y;d.length!==0&&(d.html(""),d.html(E))}function $(E=16){const d=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(E).replace(/x/g,d)}function u(E){E.attr("tabIndex","0")}function f(E){E.attr("tabIndex","-1")}function c(E,d){E.attr("role",d)}function n(E,d){E.attr("aria-roledescription",d)}function a(E,d){E.attr("aria-controls",d)}function t(E,d){E.attr("aria-label",d)}function l(E,d){E.attr("id",d)}function m(E,d){E.attr("aria-live",d)}function o(E){E.attr("aria-disabled",!0)}function r(E){E.attr("aria-disabled",!1)}function s(E){if(E.keyCode!==13&&E.keyCode!==32)return;const d=e.params.a11y,S=k(E.target);e.navigation&&e.navigation.$nextEl&&S.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?x(d.lastSlideMessage):x(d.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&S.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?x(d.firstSlideMessage):x(d.prevSlideMessage)),e.pagination&&S.is(ce(e.params.pagination.bulletClass))&&S[0].click()}function p(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{$nextEl:E,$prevEl:d}=e.navigation;d&&d.length>0&&(e.isBeginning?(o(d),f(d)):(r(d),u(d))),E&&E.length>0&&(e.isEnd?(o(E),f(E)):(r(E),u(E)))}function h(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function b(){return h()&&e.params.pagination.clickable}function C(){const E=e.params.a11y;h()&&e.pagination.bullets.each(d=>{const S=k(d);e.params.pagination.clickable&&(u(S),e.params.pagination.renderBullet||(c(S,"button"),t(S,E.paginationBulletMessage.replace(/\{\{index\}\}/,S.index()+1)))),S.is(`.${e.params.pagination.bulletActiveClass}`)?S.attr("aria-current","true"):S.removeAttr("aria-current")})}const T=(E,d,S)=>{u(E),E[0].tagName!=="BUTTON"&&(c(E,"button"),E.on("keydown",s)),t(E,S),a(E,d)};function z(){const E=e.params.a11y;e.$el.append(y);const d=e.$el;E.containerRoleDescriptionMessage&&n(d,E.containerRoleDescriptionMessage),E.containerMessage&&t(d,E.containerMessage);const S=e.$wrapperEl,M=S.attr("id")||`swiper-wrapper-${$(16)}`,O=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";l(S,M),m(S,O),E.itemRoleDescriptionMessage&&n(k(e.slides),E.itemRoleDescriptionMessage),c(k(e.slides),E.slideRole);const P=e.params.loop?e.slides.filter(v=>!v.classList.contains(e.params.slideDuplicateClass)).length:e.slides.length;e.slides.each((v,X)=>{const Y=k(v),_=e.params.loop?parseInt(Y.attr("data-swiper-slide-index"),10):X,A=E.slideLabelMessage.replace(/\{\{index\}\}/,_+1).replace(/\{\{slidesLength\}\}/,P);t(Y,A)});let H,D;e.navigation&&e.navigation.$nextEl&&(H=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(D=e.navigation.$prevEl),H&&H.length&&T(H,M,E.nextSlideMessage),D&&D.length&&T(D,M,E.prevSlideMessage),b()&&e.pagination.$el.on("keydown",ce(e.params.pagination.bulletClass),s)}function I(){y&&y.length>0&&y.remove();let E,d;e.navigation&&e.navigation.$nextEl&&(E=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(d=e.navigation.$prevEl),E&&E.off("keydown",s),d&&d.off("keydown",s),b()&&e.pagination.$el.off("keydown",ce(e.params.pagination.bulletClass),s)}i("beforeInit",()=>{y=k(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}),i("afterInit",()=>{e.params.a11y.enabled&&(z(),p())}),i("toEdge",()=>{e.params.a11y.enabled&&p()}),i("fromEdge",()=>{e.params.a11y.enabled&&p()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&C()}),i("destroy",()=>{e.params.a11y.enabled&&I()})}function We({swiper:e,extendParams:g,on:i}){g({history:{enabled:!1,root:"",replaceState:!1,key:"slides"}});let y=!1,x={};const $=l=>l.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),u=l=>{const m=V();let o;l?o=new URL(l):o=m.location;const r=o.pathname.slice(1).split("/").filter(b=>b!==""),s=r.length,p=r[s-2],h=r[s-1];return{key:p,value:h}},f=(l,m)=>{const o=V();if(!y||!e.params.history.enabled)return;let r;e.params.url?r=new URL(e.params.url):r=o.location;const s=e.slides.eq(m);let p=$(s.attr("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)),p=`${b}/${l}/${p}`}else r.pathname.includes(l)||(p=`${l}/${p}`);const h=o.history.state;h&&h.value===p||(e.params.history.replaceState?o.history.replaceState({value:p},null,p):o.history.pushState({value:p},null,p))},c=(l,m,o)=>{if(m)for(let r=0,s=e.slides.length;r<s;r+=1){const p=e.slides.eq(r);if($(p.attr("data-history"))===m&&!p.hasClass(e.params.slideDuplicateClass)){const b=p.index();e.slideTo(b,l,o)}}else e.slideTo(0,l,o)},n=()=>{x=u(e.params.url),c(e.params.speed,e.paths.value,!1)},a=()=>{const l=V();if(e.params.history){if(!l.history||!l.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}y=!0,x=u(e.params.url),!(!x.key&&!x.value)&&(c(0,x.value,e.params.runCallbacksOnInit),e.params.history.replaceState||l.addEventListener("popstate",n))}},t=()=>{const l=V();e.params.history.replaceState||l.removeEventListener("popstate",n)};i("init",()=>{e.params.history.enabled&&a()}),i("destroy",()=>{e.params.history.enabled&&t()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{y&&f(e.params.history.key,e.activeIndex)}),i("slideChange",()=>{y&&e.params.cssMode&&f(e.params.history.key,e.activeIndex)})}function Be({swiper:e,extendParams:g,emit:i,on:y}){let x=!1;const $=q(),u=V();g({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const f=()=>{i("hashChange");const t=$.location.hash.replace("#",""),l=e.slides.eq(e.activeIndex).attr("data-hash");if(t!==l){const m=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(typeof m>"u")return;e.slideTo(m)}},c=()=>{if(!(!x||!e.params.hashNavigation.enabled))if(e.params.hashNavigation.replaceState&&u.history&&u.history.replaceState)u.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),i("hashSet");else{const t=e.slides.eq(e.activeIndex),l=t.attr("data-hash")||t.attr("data-history");$.location.hash=l||"",i("hashSet")}},n=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;x=!0;const t=$.location.hash.replace("#","");if(t)for(let m=0,o=e.slides.length;m<o;m+=1){const r=e.slides.eq(m);if((r.attr("data-hash")||r.attr("data-history"))===t&&!r.hasClass(e.params.slideDuplicateClass)){const p=r.index();e.slideTo(p,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&k(u).on("hashchange",f)},a=()=>{e.params.hashNavigation.watchState&&k(u).off("hashchange",f)};y("init",()=>{e.params.hashNavigation.enabled&&n()}),y("destroy",()=>{e.params.hashNavigation.enabled&&a()}),y("transitionEnd _freeModeNoMomentumRelease",()=>{x&&c()}),y("slideChange",()=>{x&&e.params.cssMode&&c()})}function Ve({swiper:e,extendParams:g,on:i,emit:y}){let x;e.autoplay={running:!1,paused:!1},g({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});function $(){const r=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;r.attr("data-swiper-autoplay")&&(s=r.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(x),x=Z(()=>{let p;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),p=e.slidePrev(e.params.speed,!0,!0),y("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?f():(p=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),y("autoplay")):(p=e.slidePrev(e.params.speed,!0,!0),y("autoplay")):e.params.loop?(e.loopFix(),p=e.slideNext(e.params.speed,!0,!0),y("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?f():(p=e.slideTo(0,e.params.speed,!0,!0),y("autoplay")):(p=e.slideNext(e.params.speed,!0,!0),y("autoplay")),(e.params.cssMode&&e.autoplay.running||p===!1)&&$()},s)}function u(){return typeof x<"u"||e.autoplay.running?!1:(e.autoplay.running=!0,y("autoplayStart"),$(),!0)}function f(){return!e.autoplay.running||typeof x>"u"?!1:(x&&(clearTimeout(x),x=void 0),e.autoplay.running=!1,y("autoplayStop"),!0)}function c(r){e.autoplay.running&&(e.autoplay.paused||(x&&clearTimeout(x),e.autoplay.paused=!0,r===0||!e.params.autoplay.waitForTransition?(e.autoplay.paused=!1,$()):["transitionend","webkitTransitionEnd"].forEach(s=>{e.$wrapperEl[0].addEventListener(s,a)})))}function n(){const r=q();r.visibilityState==="hidden"&&e.autoplay.running&&c(),r.visibilityState==="visible"&&e.autoplay.paused&&($(),e.autoplay.paused=!1)}function a(r){!e||e.destroyed||!e.$wrapperEl||r.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(s=>{e.$wrapperEl[0].removeEventListener(s,a)}),e.autoplay.paused=!1,e.autoplay.running?$():f())}function t(){e.params.autoplay.disableOnInteraction?f():c(),["transitionend","webkitTransitionEnd"].forEach(r=>{e.$wrapperEl[0].removeEventListener(r,a)})}function l(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,$())}function m(){e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",t),e.$el.on("mouseleave",l))}function o(){e.$el.off("mouseenter",t),e.$el.off("mouseleave",l)}i("init",()=>{e.params.autoplay.enabled&&(u(),q().addEventListener("visibilitychange",n),m())}),i("beforeTransitionStart",(r,s,p)=>{e.autoplay.running&&(p||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(s):f())}),i("sliderFirstMove",()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?f():c())}),i("touchEnd",()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&$()}),i("destroy",()=>{o(),e.autoplay.running&&f(),q().removeEventListener("visibilitychange",n)}),Object.assign(e.autoplay,{pause:c,run:$,start:u,stop:f})}function je({swiper:e,extendParams:g,on:i}){g({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let y=!1,x=!1;e.thumbs={swiper:null};function $(){const c=e.thumbs.swiper;if(!c)return;const n=c.clickedIndex,a=c.clickedSlide;if(a&&k(a).hasClass(e.params.thumbs.slideThumbActiveClass)||typeof n>"u"||n===null)return;let t;if(c.params.loop?t=parseInt(k(c.clickedSlide).attr("data-swiper-slide-index"),10):t=n,e.params.loop){let l=e.activeIndex;e.slides.eq(l).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,l=e.activeIndex);const m=e.slides.eq(l).prevAll(`[data-swiper-slide-index="${t}"]`).eq(0).index(),o=e.slides.eq(l).nextAll(`[data-swiper-slide-index="${t}"]`).eq(0).index();typeof m>"u"?t=o:typeof o>"u"?t=m:o-l<l-m?t=o:t=m}e.slideTo(t)}function u(){const{thumbs:c}=e.params;if(y)return!1;y=!0;const n=e.constructor;if(c.swiper instanceof n)e.thumbs.swiper=c.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(Pe(c.swiper)){const a=Object.assign({},c.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new n(a),x=!0}return e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",$),!0}function f(c){const n=e.thumbs.swiper;if(!n)return;const a=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():n.params.slidesPerView,t=e.params.thumbs.autoScrollOffset,l=t&&!n.params.loop;if(e.realIndex!==n.realIndex||l){let r=n.activeIndex,s,p;if(n.params.loop){n.slides.eq(r).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,r=n.activeIndex);const h=n.slides.eq(r).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(),b=n.slides.eq(r).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();typeof h>"u"?s=b:typeof b>"u"?s=h:b-r===r-h?s=n.params.slidesPerGroup>1?b:r:b-r<r-h?s=b:s=h,p=e.activeIndex>e.previousIndex?"next":"prev"}else s=e.realIndex,p=s>e.previousIndex?"next":"prev";l&&(s+=p==="next"?t:-1*t),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s>r?s=s-Math.floor(a/2)+1:s=s+Math.floor(a/2)-1:s>r&&n.params.slidesPerGroup,n.slideTo(s,c?0:void 0))}let m=1;const o=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(m=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(m=1),m=Math.floor(m),n.slides.removeClass(o),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let r=0;r<m;r+=1)n.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex+r}"]`).addClass(o);else for(let r=0;r<m;r+=1)n.slides.eq(e.realIndex+r).addClass(o)}i("beforeInit",()=>{const{thumbs:c}=e.params;!c||!c.swiper||(u(),f(!0))}),i("slideChange update resize observerUpdate",()=>{e.thumbs.swiper&&f()}),i("setTransition",(c,n)=>{const a=e.thumbs.swiper;a&&a.setTransition(n)}),i("beforeDestroy",()=>{const c=e.thumbs.swiper;c&&x&&c&&c.destroy()}),Object.assign(e.thumbs,{init:u,update:f})}function Ge({swiper:e,extendParams:g,emit:i,once:y}){g({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function x(){const{touchEventsData:u,touches:f}=e;u.velocities.length===0&&u.velocities.push({position:f[e.isHorizontal()?"startX":"startY"],time:u.touchStartTime}),u.velocities.push({position:f[e.isHorizontal()?"currentX":"currentY"],time:j()})}function $({currentPos:u}){const{params:f,$wrapperEl:c,rtlTranslate:n,snapGrid:a,touchEventsData:t}=e,m=j()-t.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<a.length?e.slideTo(a.length-1):e.slideTo(e.slides.length-1);return}if(f.freeMode.momentum){if(t.velocities.length>1){const T=t.velocities.pop(),z=t.velocities.pop(),I=T.position-z.position,E=T.time-z.time;e.velocity=I/E,e.velocity/=2,Math.abs(e.velocity)<f.freeMode.minimumVelocity&&(e.velocity=0),(E>150||j()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=f.freeMode.momentumVelocityRatio,t.velocities.length=0;let o=1e3*f.freeMode.momentumRatio;const r=e.velocity*o;let s=e.translate+r;n&&(s=-s);let p=!1,h;const b=Math.abs(e.velocity)*20*f.freeMode.momentumBounceRatio;let C;if(s<e.maxTranslate())f.freeMode.momentumBounce?(s+e.maxTranslate()<-b&&(s=e.maxTranslate()-b),h=e.maxTranslate(),p=!0,t.allowMomentumBounce=!0):s=e.maxTranslate(),f.loop&&f.centeredSlides&&(C=!0);else if(s>e.minTranslate())f.freeMode.momentumBounce?(s-e.minTranslate()>b&&(s=e.minTranslate()+b),h=e.minTranslate(),p=!0,t.allowMomentumBounce=!0):s=e.minTranslate(),f.loop&&f.centeredSlides&&(C=!0);else if(f.freeMode.sticky){let T;for(let z=0;z<a.length;z+=1)if(a[z]>-s){T=z;break}Math.abs(a[T]-s)<Math.abs(a[T-1]-s)||e.swipeDirection==="next"?s=a[T]:s=a[T-1],s=-s}if(C&&y("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(n?o=Math.abs((-s-e.translate)/e.velocity):o=Math.abs((s-e.translate)/e.velocity),f.freeMode.sticky){const T=Math.abs((n?-s:s)-e.translate),z=e.slidesSizesGrid[e.activeIndex];T<z?o=f.speed:T<2*z?o=f.speed*1.5:o=f.speed*2.5}}else if(f.freeMode.sticky){e.slideToClosest();return}f.freeMode.momentumBounce&&p?(e.updateProgress(h),e.setTransition(o),e.setTranslate(s),e.transitionStart(!0,e.swipeDirection),e.animating=!0,c.transitionEnd(()=>{!e||e.destroyed||!t.allowMomentumBounce||(i("momentumBounce"),e.setTransition(f.speed),setTimeout(()=>{e.setTranslate(h),c.transitionEnd(()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(s),e.setTransition(o),e.setTranslate(s),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,c.transitionEnd(()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(s),e.updateActiveIndex(),e.updateSlidesClasses()}else if(f.freeMode.sticky){e.slideToClosest();return}else f.freeMode&&i("_freeModeNoMomentumRelease");(!f.freeMode.momentum||m>=f.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchMove:x,onTouchEnd:$}})}function qe({swiper:e,extendParams:g}){g({grid:{rows:1,fill:"column"}});let i,y,x;const $=c=>{const{slidesPerView:n}=e.params,{rows:a,fill:t}=e.params.grid;y=i/a,x=Math.floor(c/a),Math.floor(c/a)===c/a?i=c:i=Math.ceil(c/a)*a,n!=="auto"&&t==="row"&&(i=Math.max(i,n*a))},u=(c,n,a,t)=>{const{slidesPerGroup:l,spaceBetween:m}=e.params,{rows:o,fill:r}=e.params.grid;let s,p,h;if(r==="row"&&l>1){const b=Math.floor(c/(l*o)),C=c-o*l*b,T=b===0?l:Math.min(Math.ceil((a-b*o*l)/o),l);h=Math.floor(C/T),p=C-h*T+b*l,s=p+h*i/o,n.css({"-webkit-order":s,order:s})}else r==="column"?(p=Math.floor(c/o),h=c-p*o,(p>x||p===x&&h===o-1)&&(h+=1,h>=o&&(h=0,p+=1))):(h=Math.floor(c/y),p=c-h*y);n.css(t("margin-top"),h!==0?m&&`${m}px`:"")},f=(c,n,a)=>{const{spaceBetween:t,centeredSlides:l,roundLengths:m}=e.params,{rows:o}=e.params.grid;if(e.virtualSize=(c+t)*i,e.virtualSize=Math.ceil(e.virtualSize/o)-t,e.$wrapperEl.css({[a("width")]:`${e.virtualSize+t}px`}),l){n.splice(0,n.length);const r=[];for(let s=0;s<n.length;s+=1){let p=n[s];m&&(p=Math.floor(p)),n[s]<e.virtualSize+n[0]&&r.push(p)}n.push(...r)}};e.grid={initSlides:$,updateSlide:u,updateWrapperSize:f}}function Fe(e){const g=this,{$wrapperEl:i,params:y}=g;if(y.loop&&g.loopDestroy(),typeof e=="object"&&"length"in e)for(let x=0;x<e.length;x+=1)e[x]&&i.append(e[x]);else i.append(e);y.loop&&g.loopCreate(),y.observer||g.update()}function Ue(e){const g=this,{params:i,$wrapperEl:y,activeIndex:x}=g;i.loop&&g.loopDestroy();let $=x+1;if(typeof e=="object"&&"length"in e){for(let u=0;u<e.length;u+=1)e[u]&&y.prepend(e[u]);$=x+e.length}else y.prepend(e);i.loop&&g.loopCreate(),i.observer||g.update(),g.slideTo($,0,!1)}function Ke(e,g){const i=this,{$wrapperEl:y,params:x,activeIndex:$}=i;let u=$;x.loop&&(u-=i.loopedSlides,i.loopDestroy(),i.slides=y.children(`.${x.slideClass}`));const f=i.slides.length;if(e<=0){i.prependSlide(g);return}if(e>=f){i.appendSlide(g);return}let c=u>e?u+1:u;const n=[];for(let a=f-1;a>=e;a-=1){const t=i.slides.eq(a);t.remove(),n.unshift(t)}if(typeof g=="object"&&"length"in g){for(let a=0;a<g.length;a+=1)g[a]&&y.append(g[a]);c=u>e?u+g.length:u}else y.append(g);for(let a=0;a<n.length;a+=1)y.append(n[a]);x.loop&&i.loopCreate(),x.observer||i.update(),x.loop?i.slideTo(c+i.loopedSlides,0,!1):i.slideTo(c,0,!1)}function Ze(e){const g=this,{params:i,$wrapperEl:y,activeIndex:x}=g;let $=x;i.loop&&($-=g.loopedSlides,g.loopDestroy(),g.slides=y.children(`.${i.slideClass}`));let u=$,f;if(typeof e=="object"&&"length"in e){for(let c=0;c<e.length;c+=1)f=e[c],g.slides[f]&&g.slides.eq(f).remove(),f<u&&(u-=1);u=Math.max(u,0)}else f=e,g.slides[f]&&g.slides.eq(f).remove(),f<u&&(u-=1),u=Math.max(u,0);i.loop&&g.loopCreate(),i.observer||g.update(),i.loop?g.slideTo(u+g.loopedSlides,0,!1):g.slideTo(u,0,!1)}function Je(){const e=this,g=[];for(let i=0;i<e.slides.length;i+=1)g.push(i);e.removeSlide(g)}function Qe({swiper:e}){Object.assign(e,{appendSlide:Fe.bind(e),prependSlide:Ue.bind(e),addSlide:Ke.bind(e),removeSlide:Ze.bind(e),removeAllSlides:Je.bind(e)})}function we({swiper:e,extendParams:g,on:i}){g({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}}),J({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{$el:$,$wrapperEl:u,slides:f,width:c,height:n,rtlTranslate:a,size:t,browser:l}=e,m=e.params.cubeEffect,o=e.isHorizontal(),r=e.virtual&&e.params.virtual.enabled;let s=0,p;m.shadow&&(o?(p=u.find(".swiper-cube-shadow"),p.length===0&&(p=k('<div class="swiper-cube-shadow"></div>'),u.append(p)),p.css({height:`${c}px`})):(p=$.find(".swiper-cube-shadow"),p.length===0&&(p=k('<div class="swiper-cube-shadow"></div>'),$.append(p))));for(let b=0;b<f.length;b+=1){const C=f.eq(b);let T=b;r&&(T=parseInt(C.attr("data-swiper-slide-index"),10));let z=T*90,I=Math.floor(z/360);a&&(z=-z,I=Math.floor(-z/360));const E=Math.max(Math.min(C[0].progress,1),-1);let d=0,S=0,M=0;T%4===0?(d=-I*4*t,M=0):(T-1)%4===0?(d=0,M=-I*4*t):(T-2)%4===0?(d=t+I*4*t,M=t):(T-3)%4===0&&(d=-t,M=3*t+t*4*I),a&&(d=-d),o||(S=d,d=0);const O=`rotateX(${o?0:-z}deg) rotateY(${o?z:0}deg) translate3d(${d}px, ${S}px, ${M}px)`;if(E<=1&&E>-1&&(s=T*90+E*90,a&&(s=-T*90-E*90)),C.transform(O),m.slideShadows){let P=o?C.find(".swiper-slide-shadow-left"):C.find(".swiper-slide-shadow-top"),H=o?C.find(".swiper-slide-shadow-right"):C.find(".swiper-slide-shadow-bottom");P.length===0&&(P=k(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),C.append(P)),H.length===0&&(H=k(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),C.append(H)),P.length&&(P[0].style.opacity=Math.max(-E,0)),H.length&&(H[0].style.opacity=Math.max(E,0))}}if(u.css({"-webkit-transform-origin":`50% 50% -${t/2}px`,"transform-origin":`50% 50% -${t/2}px`}),m.shadow)if(o)p.transform(`translate3d(0px, ${c/2+m.shadowOffset}px, ${-c/2}px) rotateX(90deg) rotateZ(0deg) scale(${m.shadowScale})`);else{const b=Math.abs(s)-Math.floor(Math.abs(s)/90)*90,C=1.5-(Math.sin(b*2*Math.PI/360)/2+Math.cos(b*2*Math.PI/360)/2),T=m.shadowScale,z=m.shadowScale/C,I=m.shadowOffset;p.transform(`scale3d(${T}, 1, ${z}) translate3d(0px, ${n/2+I}px, ${-n/2/z}px) rotateX(-90deg)`)}const h=l.isSafari||l.isWebView?-t/2:0;u.transform(`translate3d(0px,0,${h}px) rotateX(${e.isHorizontal()?0:s}deg) rotateY(${e.isHorizontal()?-s:0}deg)`)},setTransition:$=>{const{$el:u,slides:f}=e;f.transition($).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition($),e.params.cubeEffect.shadow&&!e.isHorizontal()&&u.find(".swiper-cube-shadow").transition($)},perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function F(e,g,i){const y=`swiper-slide-shadow${i?`-${i}`:""}`,x=e.transformEl?g.find(e.transformEl):g;let $=x.children(`.${y}`);return $.length||($=k(`<div class="swiper-slide-shadow${i?`-${i}`:""}"></div>`),x.append($)),$}function et({swiper:e,extendParams:g,on:i}){g({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}}),J({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:$,rtlTranslate:u}=e,f=e.params.flipEffect;for(let c=0;c<$.length;c+=1){const n=$.eq(c);let a=n[0].progress;e.params.flipEffect.limitRotation&&(a=Math.max(Math.min(n[0].progress,1),-1));const t=n[0].swiperSlideOffset;let m=-180*a,o=0,r=e.params.cssMode?-t-e.translate:-t,s=0;if(e.isHorizontal()?u&&(m=-m):(s=r,r=0,o=-m,m=0),n[0].style.zIndex=-Math.abs(Math.round(a))+$.length,f.slideShadows){let b=e.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),C=e.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");b.length===0&&(b=F(f,n,e.isHorizontal()?"left":"top")),C.length===0&&(C=F(f,n,e.isHorizontal()?"right":"bottom")),b.length&&(b[0].style.opacity=Math.max(-a,0)),C.length&&(C[0].style.opacity=Math.max(a,0))}const p=`translate3d(${r}px, ${s}px, 0px) rotateX(${o}deg) rotateY(${m}deg)`;le(f,n).transform(p)}},setTransition:$=>{const{transformEl:u}=e.params.flipEffect;(u?e.slides.find(u):e.slides).transition($).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition($),ue({swiper:e,duration:$,transformEl:u})},perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function tt({swiper:e,extendParams:g,on:i}){g({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),J({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:$,height:u,slides:f,slidesSizesGrid:c}=e,n=e.params.coverflowEffect,a=e.isHorizontal(),t=e.translate,l=a?-t+$/2:-t+u/2,m=a?n.rotate:-n.rotate,o=n.depth;for(let r=0,s=f.length;r<s;r+=1){const p=f.eq(r),h=c[r],b=p[0].swiperSlideOffset,C=(l-b-h/2)/h*n.modifier;let T=a?m*C:0,z=a?0:m*C,I=-o*Math.abs(C),E=n.stretch;typeof E=="string"&&E.indexOf("%")!==-1&&(E=parseFloat(n.stretch)/100*h);let d=a?0:E*C,S=a?E*C:0,M=1-(1-n.scale)*Math.abs(C);Math.abs(S)<.001&&(S=0),Math.abs(d)<.001&&(d=0),Math.abs(I)<.001&&(I=0),Math.abs(T)<.001&&(T=0),Math.abs(z)<.001&&(z=0),Math.abs(M)<.001&&(M=0);const O=`translate3d(${S}px,${d}px,${I}px) rotateX(${z}deg) rotateY(${T}deg) scale(${M})`;if(le(n,p).transform(O),p[0].style.zIndex=-Math.abs(Math.round(C))+1,n.slideShadows){let H=a?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),D=a?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom");H.length===0&&(H=F(n,p,a?"left":"top")),D.length===0&&(D=F(n,p,a?"right":"bottom")),H.length&&(H[0].style.opacity=C>0?C:0),D.length&&(D[0].style.opacity=-C>0?-C:0)}}},setTransition:$=>{const{transformEl:u}=e.params.coverflowEffect;(u?e.slides.find(u):e.slides).transition($).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition($)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function at({swiper:e,extendParams:g,on:i}){g({creativeEffect:{transformEl:null,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 y=u=>typeof u=="string"?u:`${u}px`;J({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:u,$wrapperEl:f,slidesSizesGrid:c}=e,n=e.params.creativeEffect,{progressMultiplier:a}=n,t=e.params.centeredSlides;if(t){const l=c[0]/2-e.params.slidesOffsetBefore||0;f.transform(`translateX(calc(50% - ${l}px))`)}for(let l=0;l<u.length;l+=1){const m=u.eq(l),o=m[0].progress,r=Math.min(Math.max(m[0].progress,-n.limitProgress),n.limitProgress);let s=r;t||(s=Math.min(Math.max(m[0].originalProgress,-n.limitProgress),n.limitProgress));const p=m[0].swiperSlideOffset,h=[e.params.cssMode?-p-e.translate:-p,0,0],b=[0,0,0];let C=!1;e.isHorizontal()||(h[1]=h[0],h[0]=0);let T={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};r<0?(T=n.next,C=!0):r>0&&(T=n.prev,C=!0),h.forEach((O,P)=>{h[P]=`calc(${O}px + (${y(T.translate[P])} * ${Math.abs(r*a)}))`}),b.forEach((O,P)=>{b[P]=T.rotate[P]*Math.abs(r*a)}),m[0].style.zIndex=-Math.abs(Math.round(o))+u.length;const z=h.join(", "),I=`rotateX(${b[0]}deg) rotateY(${b[1]}deg) rotateZ(${b[2]}deg)`,E=s<0?`scale(${1+(1-T.scale)*s*a})`:`scale(${1-(1-T.scale)*s*a})`,d=s<0?1+(1-T.opacity)*s*a:1-(1-T.opacity)*s*a,S=`translate3d(${z}) ${I} ${E}`;if(C&&T.shadow||!C){let O=m.children(".swiper-slide-shadow");if(O.length===0&&T.shadow&&(O=F(n,m)),O.length){const P=n.shadowPerProgress?r*(1/n.limitProgress):r;O[0].style.opacity=Math.min(Math.max(Math.abs(P),0),1)}}const M=le(n,m);M.transform(S).css({opacity:d}),T.origin&&M.css("transform-origin",T.origin)}},setTransition:u=>{const{transformEl:f}=e.params.creativeEffect;(f?e.slides.find(f):e.slides).transition(u).find(".swiper-slide-shadow").transition(u),ue({swiper:e,duration:u,transformEl:f,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function nt({swiper:e,extendParams:g,on:i}){g({cardsEffect:{slideShadows:!0,transformEl:null}}),J({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:$,activeIndex:u}=e,f=e.params.cardsEffect,{startTranslate:c,isTouched:n}=e.touchEventsData,a=e.translate;for(let t=0;t<$.length;t+=1){const l=$.eq(t),m=l[0].progress,o=Math.min(Math.max(m,-4),4);let r=l[0].swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(r-=$[0].swiperSlideOffset);let s=e.params.cssMode?-r-e.translate:-r,p=0;const h=-100*Math.abs(o);let b=1,C=-2*o,T=8-Math.abs(o)*.75;const z=(t===u||t===u-1)&&o>0&&o<1&&(n||e.params.cssMode)&&a<c,I=(t===u||t===u+1)&&o<0&&o>-1&&(n||e.params.cssMode)&&a>c;if(z||I){const M=(1-Math.abs((Math.abs(o)-.5)/.5))**.5;C+=-28*o*M,b+=-.5*M,T+=96*M,p=`${-25*M*Math.abs(o)}%`}if(o<0?s=`calc(${s}px + (${T*Math.abs(o)}%))`:o>0?s=`calc(${s}px + (-${T*Math.abs(o)}%))`:s=`${s}px`,!e.isHorizontal()){const M=p;p=s,s=M}const E=o<0?`${1+(1-b)*o}`:`${1-(1-b)*o}`,d=` translate3d(${s}, ${p}, ${h}px) rotateZ(${C}deg) scale(${E}) `;if(f.slideShadows){let M=l.find(".swiper-slide-shadow");M.length===0&&(M=F(f,l)),M.length&&(M[0].style.opacity=Math.min(Math.max((Math.abs(o)-.5)/.5,0),1))}l[0].style.zIndex=-Math.abs(Math.round(m))+$.length,le(f,l).transform(d)}},setTransition:$=>{const{transformEl:u}=e.params.cardsEffect;(u?e.slides.find(u):e.slides).transition($).find(".swiper-slide-shadow").transition($),ue({swiper:e,duration:$,transformEl:u})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const lt=Object.freeze(Object.defineProperty({__proto__:null,A11y:Le,Autoplay:Ve,Controller:Ne,EffectCards:nt,EffectCoverflow:tt,EffectCreative:at,EffectCube:we,EffectFade:Ie,EffectFlip:et,FreeMode:Ge,Grid:qe,HashNavigation:Be,History:We,Keyboard:Ye,Lazy:Re,Manipulation:Qe,Mousewheel:He,Navigation:Xe,Pagination:Oe,Parallax:ke,Scrollbar:_e,Swiper:$e,Thumbs:je,Virtual:De,Zoom:Ae,default:$e},Symbol.toStringTag,{value:"Module"})),st=Se(lt);var N={};Object.defineProperty(N,"__esModule",{value:!0});N.setRef=N.isModuleAvailable=N.isReactElement=N.validateChildren=N.classNames=void 0;var ae=fe;N.classNames=function(e){return typeof e=="string"?e.split(".").join(" ").trim():e instanceof HTMLElement?e.className:""};N.validateChildren=function(e){var g=!0;return Array.isArray(e)?ae.Children.forEach(e,function(i){ae.isValidElement(i)||(g=!1)}):g=ae.isValidElement(e),g};N.isReactElement=function(e){return ae.isValidElement(e)&&(typeof e.type=="string"||typeof e.type=="function"||typeof e.type=="object")};N.isModuleAvailable=function(e,g){for(var i=!1,y=0;y<e.length;y++)if(e[y].name===g){i=!0;break}return i};N.setRef=function(e,g){typeof e=="function"?e(g):e&&(e.current=g)};var se={};Object.defineProperty(se,"__esModule",{value:!0});se.useForkRef=void 0;var ot=fe,ye=N;se.useForkRef=function(e,g){return ot.useMemo(function(){return e==null&&g==null?null:function(i){ye.setRef(e,i),ye.setRef(g,i)}},[e,g])};var ne=L&&L.__assign||function(){return ne=Object.assign||function(e){for(var g,i=1,y=arguments.length;i<y;i++){g=arguments[i];for(var x in g)Object.prototype.hasOwnProperty.call(g,x)&&(e[x]=g[x])}return e},ne.apply(this,arguments)},it=L&&L.__createBinding||(Object.create?function(e,g,i,y){y===void 0&&(y=i),Object.defineProperty(e,y,{enumerable:!0,get:function(){return g[i]}})}:function(e,g,i,y){y===void 0&&(y=i),e[y]=g[i]}),rt=L&&L.__setModuleDefault||(Object.create?function(e,g){Object.defineProperty(e,"default",{enumerable:!0,value:g})}:function(e,g){e.default=g}),dt=L&&L.__importStar||function(e){if(e&&e.__esModule)return e;var g={};if(e!=null)for(var i in e)i!=="default"&&Object.hasOwnProperty.call(e,i)&&it(g,e,i);return rt(g,e),g},Me=L&&L.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(me,"__esModule",{value:!0});var R=dt(fe),ct=Me(st),ft=Me(Te),B=N,ut=se,he=R.forwardRef(function(e,g){var i=e.activeSlideKey,y=e.ContainerEl,x=e.children,$=e.containerClass,u=e.navigation,f=e.noSwiping,c=e.pagination,n=e.parallax,a=e.parallaxEl,t=e.WrapperEl,l=e.wrapperClass,m=e.rebuildOnUpdate,o=e.renderScrollbar,r=e.renderPagination,s=e.renderPrevButton,p=e.renderNextButton,h=e.renderParallax,b=e.rtl,C=e.scrollbar,T=e.shouldSwiperUpdate,z=e.slideClass,I=e.loop,E=R.useRef(null),d=R.useRef(null),S=ut.useForkRef(d,g),M=R.useCallback(function(){if(!i)return null;var D=0,v=I?1:0;return R.Children.forEach(x,function(X){R.isValidElement(X)&&(X.key===i&&(D=v),v+=1)}),D},[i,x,I]),O=R.useCallback(function(){E.current!==null&&(E.current.destroy(!0,!0),B.setRef(E,null))},[]),P=R.useCallback(function(){d.current&&E.current===null&&B.setRef(E,new ct.default(d.current,ft.default({},e)))},[e]),H=function(D){if(!B.isReactElement(D))return null;var v=[z,D.props.className];return f&&v.push("swiper-no-swiping"),R.cloneElement(D,ne(ne({},D.props),{className:v.join(" ").trim()}))};return R.useEffect(function(){return function(){return O()}},[O]),R.useEffect(function(){if(P(),E.current!==null){m?(O(),P()):T&&E.current.update();var D=E.current.slides.length;if(D<=E.current.activeIndex){var v=Math.max(D-1,0);E.current.slideTo(v)}var X=M();X!==null&&E.current.slideTo(X)}},[O,M,m,T,P]),!x||!y||!t||!B.validateChildren(x)?null:R.default.createElement(y,{className:$,dir:b&&"rtl",ref:S},n&&a&&h&&h(e),R.default.createElement(t,{className:l},R.Children.map(x,H)),c&&c.el&&r&&r(e),C&&C.el&&o&&o(e),u&&u.nextEl&&p&&p(e),u&&u.prevEl&&s&&s(e))});he.defaultProps={containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide",ContainerEl:"div",WrapperEl:"div",renderScrollbar:function(e){var g=e.scrollbar;return g?R.default.createElement("div",{className:B.classNames(g.el)}):null},renderPagination:function(e){var g=e.pagination;return g?R.default.createElement("div",{className:B.classNames(g.el)}):null},renderPrevButton:function(e){var g=e.navigation;return g?R.default.createElement("div",{className:B.classNames(g.prevEl)}):null},renderNextButton:function(e){var g=e.navigation;return g?R.default.createElement("div",{className:B.classNames(g.nextEl)}):null},renderParallax:function(e){var g=e.parallaxEl;return g?R.default.createElement("div",{className:B.classNames(g.el),"data-swiper-parallax":g.value}):null}};he.displayName="ReactIdSwiper";me.default=he;var mt=L&&L.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xe,"__esModule",{value:!0});var ht=mt(me),Et=xe.default=ht.default;export{Et as _};