(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7273],{23299:(e,t,i)=>{"use strict";i.d(t,{q:()=>l});var s=i(12115),r=i(16936),n=i(58849),a=["tag","children","className","swiper","zoom","virtualIndex"];function o(){return(o=Object.assign||function(e){for(var t=1;t=0||(r[i]=e[i]);return r}(l,a),g=(0,s.useRef)(null),w=(0,s.useState)("swiper-slide"),b=w[0],S=w[1];function T(e,t,i){t===g.current&&S(i)}(0,n.E)(function(){if(t&&(t.current=g.current),g.current&&p){if(p.destroyed){"swiper-slide"!==b&&S("swiper-slide");return}return p.on("_slideClass",T),function(){p&&p.off("_slideClass",T)}}}),(0,n.E)(function(){p&&g.current&&S(p.getSlideClasses(g.current))},[p]),"function"==typeof u&&(i={isActive:b.indexOf("swiper-slide-active")>=0||b.indexOf("swiper-slide-duplicate-active")>=0,isVisible:b.indexOf("swiper-slide-visible")>=0,isDuplicate:b.indexOf("swiper-slide-duplicate")>=0,isPrev:b.indexOf("swiper-slide-prev")>=0||b.indexOf("swiper-slide-duplicate-prev")>=0,isNext:b.indexOf("swiper-slide-next")>=0||b.indexOf("swiper-slide-duplicate-next")>=0});var y=function(){return"function"==typeof u?u(i):u};return s.createElement(void 0===d?"div":d,o({ref:g,className:(0,r.Cv)(""+b+(h?" "+h:"")),"data-swiper-slide-index":v},m),f?s.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof f?f:void 0},y()):y())});l.displayName="SwiperSlide"},929:(e,t,i)=>{"use strict";i.d(t,{R:()=>U});var s,r,n,a=i(12115);function o(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function l(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(i){void 0===e[i]?e[i]=t[i]:o(t[i])&&o(e[i])&&Object.keys(t[i]).length>0&&l(e[i],t[i])})}var d={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function u(){var e="undefined"!=typeof document?document:{};return l(e,d),e}var c={document:d,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function h(){var e="undefined"!=typeof window?window:{};return l(e,c),e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,i){return(v=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?function(e,t,i){var s=[null];s.push.apply(s,t);var r=new(Function.bind.apply(e,s));return i&&f(r,i.prototype),r}:Reflect.construct).apply(null,arguments)}function m(e){var t="function"==typeof Map?new Map:void 0;return(m=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return v(e,arguments,p(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),f(i,e)})(e)}var g=function(e){function t(t){var i,s,r;return r=(s=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i=e.call.apply(e,[this].concat(t))||this)).__proto__,Object.defineProperty(s,"__proto__",{get:function(){return r},set:function(e){r.__proto__=e}}),i}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(m(Array));function w(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,w(e)):t.push(e)}),t}function b(e,t){return Array.prototype.filter.call(e,t)}function S(e,t){var i=h(),s=u(),r=[];if(!t&&e instanceof g)return e;if(!e)return new g(r);if("string"==typeof e){var n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){var a="div";0===n.indexOf("T.indexOf(e)&&(e in this[r]?this[r][e]():S(this[r]).trigger(e));return this}return this.on.apply(this,[e].concat(i))}}y("click"),y("blur"),y("focus"),y("focusin"),y("focusout"),y("keyup"),y("keydown"),y("keypress"),y("submit"),y("change"),y("mousedown"),y("mousemove"),y("mouseup"),y("mouseenter"),y("mouseleave"),y("mouseout"),y("mouseover"),y("touchstart"),y("touchend"),y("touchmove"),y("resize"),y("scroll");var E={addClass:function(){for(var e=arguments.length,t=Array(e),i=0;i0}).length>0},toggleClass:function(){for(var e=arguments.length,t=Array(e),i=0;ii.indexOf(e)&&i.unshift(e),S(t).is(n))a.apply(t,i);else for(var s=S(t).parents(),r=0;rt.indexOf(e)&&t.unshift(e),a.apply(this,t)}"function"==typeof i[1]&&(r=i[0],a=i[1],o=i[2],n=void 0),o||(o=!1);for(var u=r.split(" "),c=0;c=0;p-=1){var f=h[p];n&&f.listener===n?(c.removeEventListener(d,f.proxyListener,a),h.splice(p,1)):n&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===n?(c.removeEventListener(d,f.proxyListener,a),h.splice(p,1)):n||(c.removeEventListener(d,f.proxyListener,a),h.splice(p,1))}}return this},trigger:function(){for(var e=h(),t=arguments.length,i=Array(t),s=0;s0}),d.dispatchEvent(u),d.dom7EventData=[],delete d.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",function i(s){s.target===this&&(e.call(this,s),t.off("transitionend",i))}),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=h();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=h(),t=u(),i=this[0],s=i.getBoundingClientRect(),r=t.body,n=i.clientTop||r.clientTop||0,a=i.clientLeft||r.clientLeft||0,o=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:s.top+o-n,left:s.left+l-a}}return null},css:function(e,t){var i,s=h();if(1==arguments.length){if("string"==typeof e){if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(i=0;it-1)return S([]);if(e<0){var i=t+e;return i<0?S([]):S([this[i]])}return S([this[e]])},append:function(){for(var e,t=u(),i=0;i=0;i-=1)this[t].insertBefore(r.childNodes[i],this[t].childNodes[0])}else if(e instanceof g)for(i=0;i0){if(e)return this[0].nextElementSibling&&S(this[0].nextElementSibling).is(e)?S([this[0].nextElementSibling]):S([]);if(this[0].nextElementSibling)return S([this[0].nextElementSibling])}return S([])},nextAll:function(e){var t=[],i=this[0];if(!i)return S([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;e?S(s).is(e)&&t.push(s):t.push(s),i=s}return S(t)},prev:function(e){if(this.length>0){var t=this[0];if(e)return t.previousElementSibling&&S(t.previousElementSibling).is(e)?S([t.previousElementSibling]):S([]);if(t.previousElementSibling)return S([t.previousElementSibling])}return S([])},prevAll:function(e){var t=[],i=this[0];if(!i)return S([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;e?S(s).is(e)&&t.push(s):t.push(s),i=s}return S(t)},parent:function(e){for(var t=[],i=0;it.indexOf(e)}),n=0,a=r.length;n=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}return s}function O(){return(O=Object.assign||function(e){for(var t=1;t0))&&(!s.isTouched||!s.isMoved))){r.noSwipingClass&&""!==r.noSwipingClass&&a.target&&a.target.shadowRoot&&e.path&&e.path[0]&&(o=S(e.path[0]));var l=r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass,d=!!(a.target&&a.target.shadowRoot);if(r.noSwiping&&(d?function(e,t){return void 0===t&&(t=this),function t(i){return i&&i!==u()&&i!==h()?(i.assignedSlot&&(i=i.assignedSlot),i.closest(e)||t(i.getRootNode().host)):null}(t)}(l,a.target):o.closest(l)[0])){this.allowClick=!0;return}if(r.swipeHandler&&!o.closest(r.swipeHandler)[0])return;n.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,n.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;var c=n.currentX,p=n.currentY,f=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(f&&(c<=v||c>=i.innerWidth-v)){if("prevent"!==f)return;e.preventDefault()}if(P(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=c,n.startY=p,s.touchStartTime=x(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==a.type){var m=!0;o.is(s.focusableElements)&&(m=!1),t.activeElement&&S(t.activeElement).is(s.focusableElements)&&t.activeElement!==o[0]&&t.activeElement.blur();var g=m&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||g)&&!o[0].isContentEditable&&a.preventDefault()}this.emit("touchStart",a)}}}function _(e){var t,i=u(),s=this.touchEventsData,r=this.params,n=this.touches,a=this.rtlTranslate;if(!!this.enabled){var o=e;if(o.originalEvent&&(o=o.originalEvent),!s.isTouched){s.startMoving&&s.isScrolling&&this.emit("touchMoveOpposite",o);return}if(!s.isTouchEvent||"touchmove"===o.type){var l="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),d="touchmove"===o.type?l.pageX:o.pageX,c="touchmove"===o.type?l.pageY:o.pageY;if(o.preventedByNestedSwiper){n.startX=d,n.startY=c;return}if(!this.allowTouchMove){this.allowClick=!1,s.isTouched&&(P(n,{startX:d,startY:c,currentX:d,currentY:c}),s.touchStartTime=x());return}if(s.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop){if(this.isVertical()){if(cn.startY&&this.translate>=this.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(dn.startX&&this.translate>=this.minTranslate())return}if(s.isTouchEvent&&i.activeElement&&o.target===i.activeElement&&S(o.target).is(s.focusableElements)){s.isMoved=!0,this.allowClick=!1;return}if(s.allowTouchCallbacks&&this.emit("touchMove",o),!o.targetTouches||!(o.targetTouches.length>1)){n.currentX=d,n.currentY=c;var h=n.currentX-n.startX,p=n.currentY-n.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(p,2))=25&&(t=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,s.isScrolling=this.isHorizontal()?t>r.touchAngle:90-t>r.touchAngle)),s.isScrolling&&this.emit("touchMoveOpposite",o),void 0===s.startMoving&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(s.startMoving){this.allowClick=!1,!r.cssMode&&o.cancelable&&o.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&o.stopPropagation(),s.isMoved||(r.loop&&this.loopFix(),s.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,r.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",o)),this.emit("sliderMove",o),s.isMoved=!0;var f=this.isHorizontal()?h:p;n.diff=f,f*=r.touchRatio,a&&(f=-f),this.swipeDirection=f>0?"prev":"next",s.currentTranslate=f+s.startTranslate;var v=!0,m=r.resistanceRatio;if(r.touchReleaseOnEdges&&(m=0),f>0&&s.currentTranslate>this.minTranslate()?(v=!1,r.resistance&&(s.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+s.startTranslate+f,m))):f<0&&s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),this.allowSlidePrev||this.allowSlideNext||(s.currentTranslate=s.startTranslate),r.threshold>0){if(Math.abs(f)>r.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,n.diff=this.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{s.currentTranslate=s.startTranslate;return}}r.followFinger&&!r.cssMode&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===s.velocities.length&&s.velocities.push({position:n[this.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:n[this.isHorizontal()?"currentX":"currentY"],time:x()})),this.updateProgress(s.currentTranslate),this.setTranslate(s.currentTranslate))}}}}}}function A(e){var t=this,i=t.touchEventsData,s=t.params,r=t.touches,n=t.rtlTranslate,a=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid;if(t.enabled){var d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u=x(),c=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),c<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=x(),C(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,h=s.followFinger?n?t.translate:-t.translate:-i.currentTranslate,s.cssMode)return;if(s.freeMode){if(h<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(h>-t.maxTranslate()){t.slides.length1){var h,p,f,v,m=i.velocities.pop(),g=i.velocities.pop(),w=m.position-g.position,b=m.time-g.time;t.velocity=w/b,t.velocity/=2,Math.abs(t.velocity)150||x()-m.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var S=1e3*s.freeModeMomentumRatio,T=t.velocity*S,y=t.translate+T;n&&(y=-y);var E=!1,M=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(yt.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>M&&(y=t.minTranslate()+M),p=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(s.freeModeSticky){for(var P=0;P-y){v=P;break}y=-(y=Math.abs(l[v]-y)=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses());return}for(var L=0,z=t.slidesSizesGrid[0],_=0;_=o[_]&&h=o[_]&&(L=_,z=o[o.length-1]-o[o.length-2])}var I=(h-o[L])/z,D=Ls.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}"next"===t.swipeDirection&&(I>=s.longSwipesRatio?t.slideTo(L+D):t.slideTo(L)),"prev"===t.swipeDirection&&(I>1-s.longSwipesRatio?t.slideTo(L+D):t.slideTo(L))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(L+D):t.slideTo(L):("next"===t.swipeDirection&&t.slideTo(L+D),"prev"===t.swipeDirection&&t.slideTo(L))}}}function I(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,r=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}function D(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function N(){var e=this.wrapperEl,t=this.rtlTranslate;if(this.enabled){this.previousTranslate=this.translate,this.isHorizontal()?t?this.translate=e.scrollWidth-e.offsetWidth-e.scrollLeft:this.translate=-e.scrollLeft:this.translate=-e.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}}var G=!1;function B(){}let j={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};var R={modular:{useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i];s.params&&P(e,s.params)})},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var s=t.modules[i],r=e[i]||{};s.on&&t.on&&Object.keys(s.on).forEach(function(e){t.on(e,s.on[e])}),s.create&&s.create.bind(t)(r)})}},eventsEmitter:{on:function(e,t,i){var s=this;if("function"!=typeof t)return s;var r=i?"unshift":"push";return e.split(" ").forEach(function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][r](t)}),s},once:function(e,t,i){var s=this;if("function"!=typeof t)return s;function r(){s.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,n=Array(i),a=0;athis.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny:function(e){if(!this.eventsAnyListeners)return this;var t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off:function(e,t){var i=this;return i.eventsListeners&&e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(function(s,r){(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)})}),i},emit:function(){var e,t,i,s=this;if(!s.eventsListeners)return s;for(var r=arguments.length,n=Array(r),a=0;a=0&&(b=parseFloat(b.replace("%",""))/100*n),e.virtualSize=-b,a?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),s.slidesPerColumn>1&&(K=Math.floor(c/s.slidesPerColumn)===c/e.params.slidesPerColumn?c:Math.ceil(c/s.slidesPerColumn)*s.slidesPerColumn,"auto"!==s.slidesPerView&&"row"===s.slidesPerColumnFill&&(K=Math.max(K,s.slidesPerView*s.slidesPerColumn)));for(var E=s.slidesPerColumn,C=K/E,x=Math.floor(c/s.slidesPerColumn),M=0;M1){var O=void 0,L=void 0,z=void 0;if("row"===s.slidesPerColumnFill&&s.slidesPerGroup>1){var _=Math.floor(M/(s.slidesPerGroup*s.slidesPerColumn)),A=M-s.slidesPerColumn*s.slidesPerGroup*_,I=0===_?s.slidesPerGroup:Math.min(Math.ceil((c-_*E*s.slidesPerGroup)/E),s.slidesPerGroup);z=Math.floor(A/I),O=(L=A-z*I+_*s.slidesPerGroup)+z*K/E,k.css({"-webkit-box-ordinal-group":O,"-moz-box-ordinal-group":O,"-ms-flex-order":O,"-webkit-order":O,order:O})}else"column"===s.slidesPerColumnFill?(L=Math.floor(M/E),z=M-L*E,(L>x||L===x&&z===E-1)&&(z+=1)>=E&&(z=0,L+=1)):(z=Math.floor(M/C),L=M-z*C);k.css(t("margin-top"),0!==z?s.spaceBetween&&s.spaceBetween+"px":"")}if("none"!==k.css("display")){if("auto"===s.slidesPerView){var D=getComputedStyle(k[0]),N=k[0].style.transform,G=k[0].style.webkitTransform;if(N&&(k[0].style.transform="none"),G&&(k[0].style.webkitTransform="none"),s.roundLengths)Z=e.isHorizontal()?k.outerWidth(!0):k.outerHeight(!0);else{var B=i(D,"width"),j=i(D,"padding-left"),R=i(D,"padding-right"),V=i(D,"margin-left"),H=i(D,"margin-right"),F=D.getPropertyValue("box-sizing");if(F&&"border-box"===F)Z=B+V+H;else{var W=k[0],$=W.clientWidth;Z=B+j+R+V+H+(W.offsetWidth-$)}}N&&(k[0].style.transform=N),G&&(k[0].style.webkitTransform=G),s.roundLengths&&(Z=Math.floor(Z))}else Z=(n-(s.slidesPerView-1)*b)/s.slidesPerView,s.roundLengths&&(Z=Math.floor(Z)),u[M]&&(u[M].style[t("width")]=Z+"px");u[M]&&(u[M].swiperSlideSize=Z),f.push(Z),s.centeredSlides?(S=S+Z/2+T/2+b,0===T&&0!==M&&(S=S-n/2-b),0===M&&(S=S-n/2-b),.001>Math.abs(S)&&(S=0),s.roundLengths&&(S=Math.floor(S)),y%s.slidesPerGroup==0&&h.push(S),p.push(S)):(s.roundLengths&&(S=Math.floor(S)),(y-Math.min(e.params.slidesPerGroupSkip,y))%e.params.slidesPerGroup==0&&h.push(S),p.push(S),S=S+Z+b),e.virtualSize+=Z+b,T=Z,y+=1}}if(e.virtualSize=Math.max(e.virtualSize,n)+m,a&&o&&("slide"===s.effect||"coverflow"===s.effect)&&r.css({width:e.virtualSize+s.spaceBetween+"px"}),s.setWrapperSize&&r.css(((Q={})[t("width")]=e.virtualSize+s.spaceBetween+"px",Q)),s.slidesPerColumn>1&&(e.virtualSize=(Z+s.spaceBetween)*K,e.virtualSize=Math.ceil(e.virtualSize/s.slidesPerColumn)-s.spaceBetween,r.css(((ee={})[t("width")]=e.virtualSize+s.spaceBetween+"px",ee)),s.centeredSlides)){J=[];for(var X=0;X1&&h.push(e.virtualSize-n)}if(0===h.length&&(h=[0]),0!==s.spaceBetween){var K,Z,J,Q,ee,et,ei=e.isHorizontal()&&a?"marginLeft":t("marginRight");u.filter(function(e,t){return!s.cssMode||t!==u.length-1}).css(((et={})[ei]=b+"px",et))}if(s.centeredSlides&&s.centeredSlidesBounds){var es=0;f.forEach(function(e){es+=e+(s.spaceBetween?s.spaceBetween:0)});var er=(es-=s.spaceBetween)-n;h=h.map(function(e){return e<0?-v:e>er?er+m:e})}if(s.centerInsufficientSlides){var en=0;if(f.forEach(function(e){en+=e+(s.spaceBetween?s.spaceBetween:0)}),(en-=s.spaceBetween)1){if(i.params.centeredSlides)i.visibleSlides.each(function(e){s.push(e)});else for(t=0;ti.slides.length&&!r)break;s.push(a(o))}}else s.push(a(i.activeIndex));for(t=0;tn?l:n}n&&i.$wrapperEl.css("height",n+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t=0&&l1&&d<=this.size||l<=0&&d>=this.size)&&(this.visibleSlides.push(a),this.visibleSlidesIndexes.push(n),i.eq(n).addClass(t.slideVisibleClass))}a.progress=s?-o:o}this.visibleSlides=S(this.visibleSlides)}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,s=this.maxTranslate()-this.minTranslate(),r=this.progress,n=this.isBeginning,a=this.isEnd,o=n,l=a;0===s?(r=0,n=!0,a=!0):(n=(r=(e-this.minTranslate())/s)<=0,a=r>=1),P(this,{progress:r,isBeginning:n,isEnd:a}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),n&&!o&&this.emit("reachBeginning toEdge"),a&&!l&&this.emit("reachEnd toEdge"),(o&&!n||l&&!a)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,r=this.activeIndex,n=this.realIndex,a=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+r+'"]'):t.eq(r)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,r=this.snapGrid,n=this.params,a=this.activeIndex,o=this.realIndex,l=this.snapIndex,d=e;if(void 0===d){for(var u=0;u=s[u]&&i=s[u]&&i=s[u]&&(d=u);n.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(r.indexOf(i)>=0)t=r.indexOf(i);else{var c=Math.min(n.slidesPerGroupSkip,d);t=c+Math.floor((d-c)/n.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),d===a){t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"));return}var h=parseInt(this.slides.eq(d).attr("data-swiper-slide-index")||d,10);P(this,{snapIndex:t,realIndex:h,previousIndex:a,activeIndex:d}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==h&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")},updateClickedSlide:function(e){var t,i=this.params,s=S(e.target).closest("."+i.slideClass)[0],r=!1;if(s){for(var n=0;n6&&(r=r.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),n=new a.WebKitCSSMatrix("none"===r?"":r)):s=(n=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(r=a.WebKitCSSMatrix?n.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===i&&(r=a.WebKitCSSMatrix?n.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),r||0);return c&&(v=-v),v||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,r=this.$wrapperEl,n=this.wrapperEl,a=this.progress,o=0,l=0;this.isHorizontal()?o=i?-e:e:l=e,s.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),s.cssMode?n[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-l:s.virtualTranslate||r.transform("translate3d("+o+"px, "+l+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:l;var d=this.maxTranslate()-this.minTranslate();(0===d?0:(e-this.minTranslate())/d)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,s,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===s&&(s=!0);var n=this,a=n.params,o=n.wrapperEl;if(n.animating&&a.preventInteractionOnTransition)return!1;var l=n.minTranslate(),d=n.maxTranslate();if(u=s&&e>l?l:s&&er?"next":is?"next":i=d.length&&(g=d.length-1),(h||l.initialSlide||0)===(c||0)&&i&&a.emit("beforeSlideChangeStart");var w=-d[g];if(a.updateProgress(w),l.normalizeSlideIndex)for(var b=0;b=T&&S=T&&S=T&&(o=b)}if(a.initialized&&o!==h&&(!a.allowSlideNext&&wa.translate&&w>a.maxTranslate()&&(h||0)!==o))return!1;if(E=o>h?"next":o=e&&(h=e)}),void 0!==h&&(s=o.indexOf(h))<0&&(s=this.activeIndex-1),this.slideTo(s,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===s&&(s=.5);var r=this.activeIndex,n=Math.min(this.params.slidesPerGroupSkip,r),a=n+Math.floor((r-n)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[a]){var l=this.snapGrid[a];o-l>(this.snapGrid[a+1]-l)*s&&(r+=this.params.slidesPerGroup)}else{var d=this.snapGrid[a-1];o-d<=(this.snapGrid[a]-d)*s&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(S(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?nt.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),C(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),C(function(){t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}},loop:{loopCreate:function(){var e=this,t=u(),i=e.params,s=e.$wrapperEl;s.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var r=s.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var a=0;ar.length&&(e.loopedSlides=r.length);var l=[],d=[];r.each(function(t,i){var s=S(t);i=r.length-e.loopedSlides&&l.push(t),s.attr("data-swiper-slide-index",i)});for(var c=0;c=0;h-=1)s.prepend(S(l[h].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var e,t=this.activeIndex,i=this.slides,s=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,a=this.snapGrid,o=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var l=-a[t]-this.getTranslate();t=i.length-s&&(e=-i.length+t+s+s,this.slideTo(e,0,!1,!0)&&0!==l&&this.setTranslate((o?-this.translate:this.translate)-l)),this.allowSlidePrev=r,this.allowSlideNext=n,this.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){if(!this.support.touch&&this.params.simulateTouch&&(!this.params.watchOverflow||!this.isLocked)&&!this.params.cssMode){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=n){this.appendSlide(t);return}for(var a=r>e?r+1:r,o=[],l=n-1;l>=e;l-=1){var d=this.slides.eq(l);d.remove(),o.unshift(d)}if("object"==typeof t&&"length"in t){for(var u=0;ue?r+t.length:r}else i.append(t);for(var c=0;c1,u=l.slidesPerColumn>1,c=s.enabled;d&&!u?(r.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"),this.emitContainerClasses()):!d&&u&&(r.addClass(s.containerModifierClass+"multirow"),(l.slidesPerColumnFill&&"column"===l.slidesPerColumnFill||!l.slidesPerColumnFill&&"column"===s.slidesPerColumnFill)&&r.addClass(s.containerModifierClass+"multirow-column"),this.emitContainerClasses());var h=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||h);h&&t&&this.changeDirection(),P(this.params,l);var f=this.params.enabled;P(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),c&&!f?this.disable():!c&&f&&this.enable(),this.currentBreakpoint=a,this.emit("_beforeBreakpoint",l),p&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-(void 0===i?0:i)+this.loopedSlides,0,!1)),this.emit("breakpoint",l)}}},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var s=!1,r=h(),n="window"===t?r.innerHeight:i.clientHeight,a=Object.keys(e).map(function(e){return"string"==typeof e&&0===e.indexOf("@")?{value:n*parseFloat(e.substr(1)),point:e}:{value:e,point:e}});a.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var o=0;o0&&e.slidesOffsetBefore+e.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?this.isLocked=i<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,t!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),t&&t!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){var e,t,i,s=this.classNames,r=this.params,n=this.rtl,a=this.$el,o=this.device,l=this.support,d=(e=["initialized",r.direction,{"pointer-events":l.pointerEvents&&!l.touch},{"free-mode":r.freeMode},{autoheight:r.autoHeight},{rtl:n},{multirow:r.slidesPerColumn>1},{"multirow-column":r.slidesPerColumn>1&&"column"===r.slidesPerColumnFill},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode}],t=r.containerModifierClass,i=[],e.forEach(function(e){"object"==typeof e?Object.keys(e).forEach(function(s){e[s]&&i.push(t+s)}):"string"==typeof e&&i.push(t+e)}),i);s.push.apply(s,d),a.addClass([].concat(s).join(" ")),this.emitContainerClasses()},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,i,s,r,n){var a,o=h();function l(){n&&n()}S(e).parent("picture")[0]||e.complete&&r?l():t?((a=new o.Image).onload=l,a.onerror=l,s&&(a.sizes=s),i&&(a.srcset=i),t&&(a.src=t)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i1){var d=[];return S(s.el).each(function(t){var i=P({},s,{el:t});d.push(new e(i))}),d}var u=this;u.__swiper__=!0,u.support=k(),u.device=function(e){if(void 0===e&&(e={}),!r){var t,i,s,n,a,o,l,d,u,c,p,f,v,m;i=(void 0===(t=e)?{}:t).userAgent,s=k(),a=(n=h()).navigator.platform,o=i||n.navigator.userAgent,l={ios:!1,android:!1},d=n.screen.width,u=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/),p=o.match(/(iPad).*OS\s([\d_]+)/),f=o.match(/(iPod)(.*OS\s([\d_]+))?/),v=!p&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===a,!p&&m&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(d+"x"+u)>=0&&((p=o.match(/(Version)\/([\d.]+)/))||(p=[0,1,"13_0_0"]),m=!1),c&&"Win32"!==a&&(l.os="android",l.android=!0),(p||v||f)&&(l.os="ios",l.ios=!0),r=l}return r}({userAgent:s.userAgent}),u.browser=function(){if(!n){var e,t;n={isEdge:!!(e=h()).navigator.userAgent.match(/Edge/g),isSafari:(t=e.navigator.userAgent.toLowerCase()).indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android"),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}return n}(),u.eventsListeners={},u.eventsAnyListeners=[],void 0===u.modules&&(u.modules={}),Object.keys(u.modules).forEach(function(e){var t=u.modules[e];if(t.params){var i=Object.keys(t.params)[0],r=t.params[i];if("object"!=typeof r||null===r||(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===s[i]&&(s[i]={auto:!0}),!(i in s&&"enabled"in r)))return;!0===s[i]&&(s[i]={enabled:!0}),"object"!=typeof s[i]||"enabled"in s[i]||(s[i].enabled=!0),s[i]||(s[i]={enabled:!1})}});var c=P({},j);return u.useParams(c),u.params=P({},c,V,s),u.originalParams=P({},u.params),u.passedParams=P({},s),u.params&&u.params.on&&Object.keys(u.params.on).forEach(function(e){u.on(e,u.params.on[e])}),u.params&&u.params.onAny&&u.onAny(u.params.onAny),u.$=S,P(u,{enabled:u.params.enabled,el:i,classNames:[],slides:S(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===u.params.direction},isVertical:function(){return"vertical"===u.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEvents:(t=["mousedown","mousemove","mouseup"],u.support.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),u.touchEventsTouch={start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},u.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},u.support.touch||!u.params.simulateTouch?u.touchEventsTouch:u.touchEventsDesktop),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:u.params.focusableElements,lastClickTime:x(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.useModules(),u.emit("_swiper"),u.params.init&&u.init(),u}var t=e.prototype;return t.enable=function(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))},t.disable=function(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))},t.setProgress=function(e,t){e=Math.min(Math.max(e,0),1);var i=this.minTranslate(),s=(this.maxTranslate()-i)*e+i;this.translateTo(s,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()},t.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}},t.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},t.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each(function(i){var s=e.getSlideClasses(i);t.push({slideEl:i,classNames:s}),e.emit("_slideClass",i,s)}),e.emit("_slideClasses",t)}},t.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,r=this.activeIndex,n=1;if(e.centeredSlides){for(var a,o=t[r].swiperSlideSize,l=r+1;ls&&(a=!0));for(var d=r-1;d>=0;d-=1)t[d]&&!a&&(o+=t[d].swiperSlideSize,n+=1,o>s&&(a=!0))}else for(var u=r+1;u1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}},t.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+i).addClass(""+this.params.containerModifierClass+e),this.emitContainerClasses(),this.params.direction=e,this.slides.each(function(t){"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this},t.mount=function(e){var t=this;if(t.mounted)return!0;var i=S(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;var s=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},r=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=S(e.shadowRoot.querySelector(s()));return t.children=function(e){return i.children(e)},t}return i.children(s())}();if(0===r.length&&t.params.createElements){var n=u().createElement("div");r=S(n),n.className=t.params.wrapperClass,i.append(n),i.children("."+t.params.slideClass).each(function(e){r.append(e)})}return P(t,{$el:i,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0},t.init=function(e){return this.initialized||!1===this.mount(e)||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.enabled&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit,!1,!0):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit,!1,!0),this.attachEvents(),this.initialized=!0,this.emit("init"),this.emit("afterInit")),this},t.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,r=i.$el,n=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),n.removeAttr("style"),a&&a.length&&a.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,function(e){Object.keys(e).forEach(function(t){try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}(i)),i.destroyed=!0),null},e.extendDefaults=function(e){P(V,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var i=t.name||Object.keys(e.prototype.modules).length+"_"+x();e.prototype.modules[i]=t},e.use=function(t){return Array.isArray(t)?t.forEach(function(t){return e.installModule(t)}):e.installModule(t),e},function(e,t){for(var i=0;ie.length&&(n=e.length),n}var X=i(58849),q=["className","tag","wrapperTag","children","onSwiper"];function Y(){return(Y=Object.assign||function(e){for(var t=1;t=0||(r[i]=e[i]);return r}(c,q),w=!1,b=(0,a.useState)("swiper-container"),S=b[0],T=b[1],y=(0,a.useState)(null),E=y[0],C=y[1],x=(0,a.useState)(!1),M=x[0],P=x[1],k=(0,a.useRef)(!1),O=(0,a.useRef)(null),L=(0,a.useRef)(null),z=(0,a.useRef)(null),_=(0,a.useRef)(null),A=(0,a.useRef)(null),I=(0,a.useRef)(null),D=(0,a.useRef)(null),N=(0,a.useRef)(null),G=(void 0===(i=g)&&(i={}),s={on:{}},r={},n={},(0,F.X$)(s,H.defaults),(0,F.X$)(s,H.extendedDefaults),s._emitClasses=!0,s.init=!1,o={},l=W.map(function(e){return e.replace(/_/,"")}),Object.keys(i).forEach(function(e){l.indexOf(e)>=0?(0,F.Gv)(i[e])?(s[e]={},n[e]={},(0,F.X$)(s[e],i[e]),(0,F.X$)(n[e],i[e])):(s[e]=i[e],n[e]=i[e]):0===e.search(/on[A-Z]/)&&"function"==typeof i[e]?r[""+e[2].toLowerCase()+e.substr(3)]=i[e]:o[e]=i[e]}),["navigation","pagination","scrollbar"].forEach(function(e){!0===s[e]&&(s[e]={}),!1===s[e]&&delete s[e]}),{params:s,passedParams:n,rest:o,events:r}),B=G.params,j=G.passedParams,R=G.rest,V=G.events,U=(d=[],u={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},a.Children.toArray(v).forEach(function(e){if(e.type&&"SwiperSlide"===e.type.displayName)d.push(e);else if(e.props&&e.props.slot&&u[e.props.slot])u[e.props.slot].push(e);else if(e.props&&e.props.children){var t=function e(t){var i=[];return a.Children.toArray(t).forEach(function(t){t.type&&"SwiperSlide"===t.type.displayName?i.push(t):t.props&&t.props.children&&e(t.props.children).forEach(function(e){return i.push(e)})}),i}(e.props.children);t.length>0?t.forEach(function(e){return d.push(e)}):u["container-end"].push(e)}else u["container-end"].push(e)}),{slides:d,slots:u}),K=U.slides,Z=U.slots,J=function(){P(!M)};if(Object.assign(B.on,{_containerClasses:function(e,t){T(t)}}),!O.current&&(Object.assign(B.on,V),w=!0,L.current=new H(B),L.current.loopCreate=function(){},L.current.loopDestroy=function(){},B.loop&&(L.current.loopedSlides=$(K,B)),L.current.virtual&&L.current.params.virtual.enabled)){L.current.virtual.slides=K;var Q={cache:!1,renderExternal:C,renderExternalUpdate:!1};(0,F.X$)(L.current.params.virtual,Q),(0,F.X$)(L.current.originalParams.virtual,Q)}L.current&&L.current.on("_beforeBreakpoint",J);var ee=function(){!w&&V&&L.current&&Object.keys(V).forEach(function(e){L.current.on(e,V[e])})},et=function(){V&&L.current&&Object.keys(V).forEach(function(e){L.current.off(e,V[e])})};return(0,a.useEffect)(function(){return function(){L.current&&L.current.off("_beforeBreakpoint",J)}}),(0,a.useEffect)(function(){!k.current&&L.current&&(L.current.emitSlidesClasses(),k.current=!0)}),(0,X.E)(function(){if(t&&(t.current=O.current),O.current){var e,i,s,r,n,a,o;return i=(e={el:O.current,nextEl:A.current,prevEl:I.current,paginationEl:D.current,scrollbarEl:N.current,swiper:L.current}).el,s=e.nextEl,r=e.prevEl,n=e.paginationEl,a=e.scrollbarEl,o=e.swiper,(0,F.qi)(B)&&s&&r&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=r,o.originalParams.navigation.prevEl=r),(0,F.Oj)(B)&&n&&(o.params.pagination.el=n,o.originalParams.pagination.el=n),(0,F.IB)(B)&&a&&(o.params.scrollbar.el=a,o.originalParams.scrollbar.el=a),o.init(i),m&&m(L.current),function(){L.current&&!L.current.destroyed&&L.current.destroy(!0,!1)}}},[]),(0,X.E)(function(){ee();var e,t,i,s,r,n,a,o,l,d,u,c,h,p,f,v,m,g,w,b,S,T,y=function(e,t,i,s){var r=[];if(!t)return r;var n=function(e){0>r.indexOf(e)&&r.push(e)},a=s.map(function(e){return e.key}),o=i.map(function(e){return e.key});return a.join("")!==o.join("")&&n("children"),s.length!==i.length&&n("children"),W.filter(function(e){return"_"===e[0]}).map(function(e){return e.replace(/_/,"")}).forEach(function(i){if(i in e&&i in t){if((0,F.Gv)(e[i])&&(0,F.Gv)(t[i])){var s=Object.keys(e[i]),r=Object.keys(t[i]);s.length!==r.length?n(i):(s.forEach(function(s){e[i][s]!==t[i][s]&&n(i)}),r.forEach(function(s){e[i][s]!==t[i][s]&&n(i)}))}else e[i]!==t[i]&&n(i)}}),r}(j,z.current,K,_.current);return z.current=j,_.current=K,y.length&&L.current&&!L.current.destroyed&&(a=(e={swiper:L.current,slides:K,passedParams:j,changedParams:y,nextEl:A.current,prevEl:I.current,scrollbarEl:N.current,paginationEl:D.current}).swiper,o=e.slides,l=e.passedParams,d=e.changedParams,u=e.nextEl,c=e.prevEl,h=e.scrollbarEl,p=e.paginationEl,f=d.filter(function(e){return"children"!==e&&"direction"!==e}),v=a.params,m=a.pagination,g=a.navigation,w=a.scrollbar,b=a.virtual,S=a.thumbs,d.includes("thumbs")&&l.thumbs&&l.thumbs.swiper&&v.thumbs&&!v.thumbs.swiper&&(t=!0),d.includes("controller")&&l.controller&&l.controller.control&&v.controller&&!v.controller.control&&(i=!0),d.includes("pagination")&&l.pagination&&(l.pagination.el||p)&&(v.pagination||!1===v.pagination)&&m&&!m.el&&(s=!0),d.includes("scrollbar")&&l.scrollbar&&(l.scrollbar.el||h)&&(v.scrollbar||!1===v.scrollbar)&&w&&!w.el&&(r=!0),d.includes("navigation")&&l.navigation&&(l.navigation.prevEl||c)&&(l.navigation.nextEl||u)&&(v.navigation||!1===v.navigation)&&g&&!g.prevEl&&!g.nextEl&&(n=!0),T=function(e){a[e]&&(a[e].destroy(),"navigation"===e?(v[e].prevEl=void 0,v[e].nextEl=void 0,a[e].prevEl=void 0,a[e].nextEl=void 0):(v[e].el=void 0,a[e].el=void 0))},f.forEach(function(e){if((0,F.Gv)(v[e])&&(0,F.Gv)(l[e]))(0,F.X$)(v[e],l[e]);else{var t=l[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):v[e]=l[e]}}),d.includes("children")&&b&&v.virtual.enabled?(b.slides=o,b.update(!0)):d.includes("children")&&a.lazy&&a.params.lazy.enabled&&a.lazy.load(),t&&S.init()&&S.update(!0),i&&(a.controller.control=v.controller.control),s&&(p&&(v.pagination.el=p),m.init(),m.render(),m.update()),r&&(h&&(v.scrollbar.el=h),w.init(),w.updateSize(),w.setTranslate()),n&&(u&&(v.navigation.nextEl=u),c&&(v.navigation.prevEl=c),g.init(),g.update()),d.includes("allowSlideNext")&&(a.allowSlideNext=l.allowSlideNext),d.includes("allowSlidePrev")&&(a.allowSlidePrev=l.allowSlidePrev),d.includes("direction")&&a.changeDirection(l.direction,!1),a.update()),function(){et()}}),(0,X.E)(function(){var e;!(e=L.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[E]),a.createElement(void 0===p?"div":p,Y({ref:O,className:(0,F.Cv)(""+S+(h?" "+h:""))},R),Z["container-start"],(0,F.qi)(B)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:I,className:"swiper-button-prev"}),a.createElement("div",{ref:A,className:"swiper-button-next"})),(0,F.IB)(B)&&a.createElement("div",{ref:N,className:"swiper-scrollbar"}),(0,F.Oj)(B)&&a.createElement("div",{ref:D,className:"swiper-pagination"}),a.createElement(void 0===f?"div":f,{className:"swiper-wrapper"},Z["wrapper-start"],B.virtual?function(e,t,i){if(!i)return null;var s,r=e.isHorizontal()?((s={})[e.rtlTranslate?"right":"left"]=i.offset+"px",s):{top:i.offset+"px"};return t.filter(function(e,t){return t>=i.from&&t<=i.to}).map(function(t){return a.cloneElement(t,{swiper:e,style:r})})}(L.current,K,E):!B.loop||L.current&&L.current.destroyed?K.map(function(e){return a.cloneElement(e,{swiper:L.current})}):function(e,t,i){var s=t.map(function(t,i){return a.cloneElement(t,{swiper:e,"data-swiper-slide-index":i})});function r(e,t,s){return a.cloneElement(e,{key:e.key+"-duplicate-"+t+"-"+s,className:(e.props.className||"")+" "+i.slideDuplicateClass})}if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-s.length%i.slidesPerGroup;if(n!==i.slidesPerGroup)for(var o=0;o=s.length-d&&u.push(r(e,t,"append"))}),e&&(e.loopedSlides=d),[].concat(u,s,c)}(L.current,K,B),Z["wrapper-end"]),Z["container-end"])});U.displayName="Swiper"},58849:(e,t,i)=>{"use strict";i.d(t,{E:()=>r});var s=i(12115);function r(e,t){return"undefined"==typeof window?(0,s.useEffect)(e,t):(0,s.useLayoutEffect)(e,t)}},16936:(e,t,i)=>{"use strict";function s(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function r(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function n(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function a(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function o(e){void 0===e&&(e="");var t=e.split(" ").map(function(e){return e.trim()}).filter(function(e){return!!e}),i=[];return t.forEach(function(e){0>i.indexOf(e)&&i.push(e)}),i.join(" ")}i.d(t,{Cv:()=>o,Gv:()=>s,IB:()=>a,Oj:()=>n,X$:()=>function e(t,i){var r=["__proto__","constructor","prototype"];Object.keys(i).filter(function(e){return 0>r.indexOf(e)}).forEach(function(r){void 0===t[r]?t[r]=i[r]:s(i[r])&&s(t[r])&&Object.keys(i[r]).length>0?i[r].__swiper__?t[r]=i[r]:e(t[r],i[r]):t[r]=i[r]})},qi:()=>r})},71411:()=>{}}]);