(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5742],{19572:function(e,t,s){"use strict";var i=s(64836);t.Z=void 0;var r=i(s(64938)),l=s(85893);t.Z=(0,r.default)((0,l.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},26215:function(e,t,s){"use strict";var i=s(64836);t.Z=void 0;var r=i(s(64938)),l=s(85893);t.Z=(0,r.default)((0,l.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},29813:function(){},76268:function(){},98918:function(e,t,s){"use strict";s.d(t,{LW:function(){return l}});var i=s(13433),r=s(7185);function l(e){let t,s,l,a,{swiper:n,extendParams:o,on:d,emit:c}=e,p=(0,i.g)(),u=!1,h=null,f=null;function m(){if(!n.params.scrollbar.el||!n.scrollbar.el)return;let{scrollbar:e,rtlTranslate:t}=n,{dragEl:i,el:r}=e,a=n.params.scrollbar,o=n.params.loop?n.progressLoop:n.progress,d=s,c=(l-s)*o;t?(c=-c)>0?(d=s-c,c=0):-c+s>l&&(d=l+c):c<0?(d=s+c,c=0):c+s>l&&(d=l-c),n.isHorizontal()?(i.style.transform=`translate3d(${c}px, 0, 0)`,i.style.width=`${d}px`):(i.style.transform=`translate3d(0px, ${c}px, 0)`,i.style.height=`${d}px`),a.hide&&(clearTimeout(h),r.style.opacity=1,h=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function v(){if(!n.params.scrollbar.el||!n.scrollbar.el)return;let{scrollbar:e}=n,{dragEl:t,el:i}=e;t.style.width="",t.style.height="",l=n.isHorizontal()?i.offsetWidth:i.offsetHeight,a=n.size/(n.virtualSize+n.params.slidesOffsetBefore-(n.params.centeredSlides?n.snapGrid[0]:0)),s="auto"===n.params.scrollbar.dragSize?l*a:parseInt(n.params.scrollbar.dragSize,10),n.isHorizontal()?t.style.width=`${s}px`:t.style.height=`${s}px`,a>=1?i.style.display="none":i.style.display="",n.params.scrollbar.hide&&(i.style.opacity=0),n.params.watchOverflow&&n.enabled&&e.el.classList[n.isLocked?"add":"remove"](n.params.scrollbar.lockClass)}function g(e){return n.isHorizontal()?e.clientX:e.clientY}function w(e){let i;let{scrollbar:a,rtlTranslate:o}=n,{el:d}=a;i=Math.max(Math.min(i=(g(e)-(0,r.b)(d)[n.isHorizontal()?"left":"top"]-(null!==t?t:s/2))/(l-s),1),0),o&&(i=1-i);let c=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*i;n.updateProgress(c),n.setTranslate(c),n.updateActiveIndex(),n.updateSlidesClasses()}function b(e){let s=n.params.scrollbar,{scrollbar:i,wrapperEl:r}=n,{el:l,dragEl:a}=i;u=!0,t=e.target===a?g(e)-e.target.getBoundingClientRect()[n.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.style.transitionDuration="100ms",a.style.transitionDuration="100ms",w(e),clearTimeout(f),l.style.transitionDuration="0ms",s.hide&&(l.style.opacity=1),n.params.cssMode&&(n.wrapperEl.style["scroll-snap-type"]="none"),c("scrollbarDragStart",e)}function T(e){let{scrollbar:t,wrapperEl:s}=n,{el:i,dragEl:r}=t;u&&(e.preventDefault?e.preventDefault():e.returnValue=!1,w(e),s.style.transitionDuration="0ms",i.style.transitionDuration="0ms",r.style.transitionDuration="0ms",c("scrollbarDragMove",e))}function S(e){let t=n.params.scrollbar,{scrollbar:s,wrapperEl:i}=n,{el:l}=s;u&&(u=!1,n.params.cssMode&&(n.wrapperEl.style["scroll-snap-type"]="",i.style.transitionDuration=""),t.hide&&(clearTimeout(f),f=(0,r.n)(()=>{l.style.opacity=0,l.style.transitionDuration="400ms"},1e3)),c("scrollbarDragEnd",e),t.snapOnRelease&&n.slideToClosest())}function y(e){let{scrollbar:t,params:s}=n,i=t.el;if(!i)return;let r=!!s.passiveListeners&&{passive:!1,capture:!1},l=!!s.passiveListeners&&{passive:!0,capture:!1};if(!i)return;let a="on"===e?"addEventListener":"removeEventListener";i[a]("pointerdown",b,r),p[a]("pointermove",T,r),p[a]("pointerup",S,l)}function x(){var e,t,s;let i,l;let{scrollbar:a,el:o}=n;n.params.scrollbar=(e=n.originalParams.scrollbar,t=n.params.scrollbar,s={el:"swiper-scrollbar"},n.params.createElements&&Object.keys(s).forEach(i=>{if(!t[i]&&!0===t.auto){let l=(0,r.e)(n.el,`.${s[i]}`)[0];l||((l=(0,r.c)("div",s[i])).className=s[i],n.el.append(l)),t[i]=l,e[i]=l}}),t);let d=n.params.scrollbar;d.el&&("string"==typeof d.el&&n.isElement&&(i=n.el.querySelector(d.el)),i||"string"!=typeof d.el?i||(i=d.el):i=p.querySelectorAll(d.el),n.params.uniqueNavElements&&"string"==typeof d.el&&i.length>1&&1===o.querySelectorAll(d.el).length&&(i=o.querySelector(d.el)),i.length>0&&(i=i[0]),i.classList.add(n.isHorizontal()?d.horizontalClass:d.verticalClass),!i||(l=i.querySelector(`.${n.params.scrollbar.dragClass}`))||(l=(0,r.c)("div",n.params.scrollbar.dragClass),i.append(l)),Object.assign(a,{el:i,dragEl:l}),!d.draggable||n.params.scrollbar.el&&n.scrollbar.el&&y("on"),i&&i.classList[n.enabled?"remove":"add"](n.params.scrollbar.lockClass))}function E(){let e=n.params.scrollbar,t=n.scrollbar.el;t&&t.classList.remove(n.isHorizontal()?e.horizontalClass:e.verticalClass),n.params.scrollbar.el&&n.scrollbar.el&&y("off")}o({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),n.scrollbar={el:null,dragEl:null},d("init",()=>{!1===n.params.scrollbar.enabled?C():(x(),v(),m())}),d("update resize observerUpdate lock unlock",()=>{v()}),d("setTranslate",()=>{m()}),d("setTransition",(e,t)=>{n.params.scrollbar.el&&n.scrollbar.el&&(n.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}),d("enable disable",()=>{let{el:e}=n.scrollbar;e&&e.classList[n.enabled?"remove":"add"](n.params.scrollbar.lockClass)}),d("destroy",()=>{E()});let C=()=>{n.el.classList.add(n.params.scrollbar.scrollbarDisabledClass),n.scrollbar.el&&n.scrollbar.el.classList.add(n.params.scrollbar.scrollbarDisabledClass),E()};Object.assign(n.scrollbar,{enable:()=>{n.el.classList.remove(n.params.scrollbar.scrollbarDisabledClass),n.scrollbar.el&&n.scrollbar.el.classList.remove(n.params.scrollbar.scrollbarDisabledClass),x(),v(),m()},disable:C,updateSize:v,setTranslate:m,init:x,destroy:E})}},13433:function(e,t,s){"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(s=>{void 0===e[s]?e[s]=t[s]:i(t[s])&&i(e[s])&&Object.keys(t[s]).length>0&&r(e[s],t[s])})}s.d(t,{a:function(){return o},g:function(){return a}});let l={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){let e="undefined"!=typeof document?document:{};return r(e,l),e}let n={document:l,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){let e="undefined"!=typeof window?window:{};return r(e,n),e}},7185:function(e,t,s){"use strict";s.d(t,{a:function(){return w},b:function(){return h},c:function(){return u},d:function(){return a},e:function(){return p},f:function(){return b},g:function(){return g},h:function(){return n},l:function(){return v},m:function(){return m},n:function(){return l},o:function(){return f},p:function(){return c},q:function(){return function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),s=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){let r=i<0||arguments.length<=i?void 0:arguments[i];if(null!=r&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let i=Object.keys(Object(r)).filter(e=>0>s.indexOf(e));for(let s=0,l=i.length;s<l;s+=1){let l=i[s],a=Object.getOwnPropertyDescriptor(r,l);void 0!==a&&a.enumerable&&(o(t[l])&&o(r[l])?r[l].__swiper__?t[l]=r[l]:e(t[l],r[l]):!o(t[l])&&o(r[l])?(t[l]={},r[l].__swiper__?t[l]=r[l]:e(t[l],r[l])):t[l]=r[l])}}}return t}},r:function(){return r},s:function(){return d}});var i=s(13433);function r(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function a(){return Date.now()}function n(e,t){let s,r,l;void 0===t&&(t="x");let a=(0,i.a)(),n=function(e){let t;let s=(0,i.a)();return s.getComputedStyle&&(t=s.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((r=n.transform||n.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),l=new a.WebKitCSSMatrix("none"===r?"":r)):s=(l=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=a.WebKitCSSMatrix?l.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(r=a.WebKitCSSMatrix?l.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),r||0}function o(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(e,t,s){e.style.setProperty(t,s)}function c(e){let t,{swiper:s,targetPosition:r,side:l}=e,a=(0,i.a)(),n=-s.translate,o=null,d=s.params.speed;s.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(s.cssModeFrameID);let c=r>n?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{t=new Date().getTime(),null===o&&(o=t);let e=Math.max(Math.min((t-o)/d,1),0),i=n+(.5-Math.cos(e*Math.PI)/2)*(r-n);if(p(i,r)&&(i=r),s.wrapperEl.scrollTo({[l]:i}),p(i,r)){s.wrapperEl.style.overflow="hidden",s.wrapperEl.style.scrollSnapType="",setTimeout(()=>{s.wrapperEl.style.overflow="",s.wrapperEl.scrollTo({[l]:i})}),a.cancelAnimationFrame(s.cssModeFrameID);return}s.cssModeFrameID=a.requestAnimationFrame(u)};u()}function p(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function u(e,t){void 0===t&&(t=[]);let s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:[t]),s}function h(e){let t=(0,i.a)(),s=(0,i.g)(),r=e.getBoundingClientRect(),l=s.body,a=e.clientTop||l.clientTop||0,n=e.clientLeft||l.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,d=e===t?t.scrollX:e.scrollLeft;return{top:r.top+o-a,left:r.left+d-n}}function f(e,t){let s=[];for(;e.previousElementSibling;){let i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}function m(e,t){let s=[];for(;e.nextElementSibling;){let i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}function v(e,t){let s=(0,i.a)();return s.getComputedStyle(e,null).getPropertyValue(t)}function g(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function w(e,t){let s=[],i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function b(e,t,s){let r=(0,i.a)();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},99977:function(e,t,s){"use strict";let i,r,l;s.d(t,{Z:function(){return P}});var a=s(13433),n=s(7185);function o(){return i||(i=function(){let e=(0,a.a)(),t=(0,a.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),i}let d=(e,t)=>{if(!e||e.destroyed||!e.params)return;let s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},c=(e,t)=>{if(!e.slides[t])return;let s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},p=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);let i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let s=[r-t];s.push(...Array.from({length:t}).map((e,t)=>r+i+t)),e.slides.forEach((t,i)=>{s.includes(t.column)&&c(e,i)});return}let l=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=l+t;i+=1){let t=(i%s+s)%s;(t<r||t>l)&&c(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(l+t,s-1);i+=1)i!==r&&(i>l||i<r)&&c(e,i)};function u(e){let{swiper:t,runCallbacks:s,direction:i,step:r}=e,{activeIndex:l,previousIndex:a}=t,n=i;if(n||(n=l>a?"next":l<a?"prev":"reset"),t.emit(`transition${r}`),s&&l!==a){if("reset"===n){t.emit(`slideResetTransition${r}`);return}t.emit(`slideChangeTransition${r}`),"next"===n?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`)}}function h(e){let t=(0,a.g)(),s=(0,a.a)(),i=this.touchEventsData;i.evCache.push(e);let{params:r,touches:l,enabled:o}=this;if(!o||!r.simulateTouch&&"mouse"===e.pointerType||this.animating&&r.preventInteractionOnTransition)return;!this.animating&&r.cssMode&&r.loop&&this.loopFix();let d=e;d.originalEvent&&(d=d.originalEvent);let c=d.target;if("wrapper"===r.touchEventsTarget&&!this.wrapperEl.contains(c)||"which"in d&&3===d.which||"button"in d&&d.button>0||i.isTouched&&i.isMoved)return;let p=!!r.noSwipingClass&&""!==r.noSwipingClass,u=e.composedPath?e.composedPath():e.path;p&&d.target&&d.target.shadowRoot&&u&&(c=u[0]);let h=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,f=!!(d.target&&d.target.shadowRoot);if(r.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===(0,a.g)()||s===(0,a.a)())return null;s.assignedSlot&&(s=s.assignedSlot);let i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(h,c):c.closest(h))){this.allowClick=!0;return}if(r.swipeHandler&&!c.closest(r.swipeHandler))return;l.currentX=d.pageX,l.currentY=d.pageY;let m=l.currentX,v=l.currentY,g=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,w=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(g&&(m<=w||m>=s.innerWidth-w)){if("prevent"!==g)return;e.preventDefault()}Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=m,l.startY=v,i.touchStartTime=(0,n.d)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(i.allowThresholdMove=!1);let b=!0;c.matches(i.focusableElements)&&(b=!1,"SELECT"===c.nodeName&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c&&t.activeElement.blur();let T=b&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||T)&&!c.isContentEditable&&d.preventDefault(),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.animating&&!r.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",d)}function f(e){let t;let s=(0,a.g)(),i=this.touchEventsData,{params:r,touches:l,rtlTranslate:o,enabled:d}=this;if(!d||!r.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",c);return}let p=i.evCache.findIndex(e=>e.pointerId===c.pointerId);p>=0&&(i.evCache[p]=c);let u=i.evCache.length>1?i.evCache[0]:c,h=u.pageX,f=u.pageY;if(c.preventedByNestedSwiper){l.startX=h,l.startY=f;return}if(!this.allowTouchMove){c.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(l,{startX:h,startY:f,prevX:this.touches.currentX,prevY:this.touches.currentY,currentX:h,currentY:f}),i.touchStartTime=(0,n.d)());return}if(r.touchReleaseOnEdges&&!r.loop){if(this.isVertical()){if(f<l.startY&&this.translate<=this.maxTranslate()||f>l.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(h<l.startX&&this.translate<=this.maxTranslate()||h>l.startX&&this.translate>=this.minTranslate())return}if(s.activeElement&&c.target===s.activeElement&&c.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}if(i.allowTouchCallbacks&&this.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;l.currentX=h,l.currentY=f;let m=l.currentX-l.startX,v=l.currentY-l.startY;if(this.params.threshold&&Math.sqrt(m**2+v**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&l.currentY===l.startY||this.isVertical()&&l.currentX===l.startX?i.isScrolling=!1:m*m+v*v>=25&&(e=180*Math.atan2(Math.abs(v),Math.abs(m))/Math.PI,i.isScrolling=this.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",c),void 0===i.startMoving&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(i.startMoving=!0),i.isScrolling||this.zoom&&this.params.zoom&&this.params.zoom.enabled&&i.evCache.length>1){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let g=this.isHorizontal()?m:v,w=this.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;r.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),w=Math.abs(w)*(o?1:-1)),l.diff=g,g*=r.touchRatio,o&&(g=-g,w=-w);let b=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=w>0?"prev":"next";let T=this.params.loop&&!r.cssMode,S="next"===this.swipeDirection&&this.allowSlideNext||"prev"===this.swipeDirection&&this.allowSlidePrev;if(!i.isMoved){if(T&&S&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,r.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",c)}i.isMoved&&b!==this.touchesDirection&&T&&S&&Math.abs(g)>=1&&(this.loopFix({direction:this.swipeDirection,setTranslate:!0}),t=!0),this.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let y=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),g>0?(T&&S&&!t&&i.currentTranslate>(r.centeredSlides?this.minTranslate()-this.size/2:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(y=!1,r.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**x))):g<0&&(T&&S&&!t&&i.currentTranslate<(r.centeredSlides?this.maxTranslate()+this.size/2:this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===r.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(y=!1,r.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**x))),y&&(c.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(Math.abs(g)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,l.diff=this.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{i.currentTranslate=i.startTranslate;return}}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&this.freeMode||r.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function m(e){let t;let s=this,i=s.touchEventsData,r=i.evCache.findIndex(t=>t.pointerId===e.pointerId);if(r>=0&&i.evCache.splice(r,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(e.type)){let t=["pointercancel","contextmenu"].includes(e.type)&&(s.browser.isSafari||s.browser.isWebView);if(!t)return}let{params:l,touches:a,rtlTranslate:o,slidesGrid:d,enabled:c}=s;if(!c||!l.simulateTouch&&"mouse"===e.pointerType)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),i.allowTouchCallbacks&&s.emit("touchEnd",p),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&s.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(!0===s.allowSlideNext||!0===s.allowSlidePrev)&&s.setGrabCursor(!1);let u=(0,n.d)(),h=u-i.touchStartTime;if(s.allowClick){let e=p.path||p.composedPath&&p.composedPath();s.updateClickedSlide(e&&e[0]||p.target,e),s.emit("tap click",p),h<300&&u-i.lastClickTime<300&&s.emit("doubleTap doubleClick",p)}if(i.lastClickTime=(0,n.d)(),(0,n.n)(()=>{s.destroyed||(s.allowClick=!0)}),!i.isTouched||!i.isMoved||!s.swipeDirection||0===a.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,t=l.followFinger?o?s.translate:-s.translate:-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){s.freeMode.onTouchEnd({currentPos:t});return}let f=0,m=s.slidesSizesGrid[0];for(let e=0;e<d.length;e+=e<l.slidesPerGroupSkip?1:l.slidesPerGroup){let s=e<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;void 0!==d[e+s]?t>=d[e]&&t<d[e+s]&&(f=e,m=d[e+s]-d[e]):t>=d[e]&&(f=e,m=d[d.length-1]-d[d.length-2])}let v=null,g=null;l.rewind&&(s.isBeginning?g=l.virtual&&l.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(v=0));let w=(t-d[f])/m,b=f<l.slidesPerGroupSkip-1?1:l.slidesPerGroup;if(h>l.longSwipesMs){if(!l.longSwipes){s.slideTo(s.activeIndex);return}"next"===s.swipeDirection&&(w>=l.longSwipesRatio?s.slideTo(l.rewind&&s.isEnd?v:f+b):s.slideTo(f)),"prev"===s.swipeDirection&&(w>1-l.longSwipesRatio?s.slideTo(f+b):null!==g&&w<0&&Math.abs(w)>l.longSwipesRatio?s.slideTo(g):s.slideTo(f))}else{if(!l.shortSwipes){s.slideTo(s.activeIndex);return}let e=s.navigation&&(p.target===s.navigation.nextEl||p.target===s.navigation.prevEl);e?p.target===s.navigation.nextEl?s.slideTo(f+b):s.slideTo(f):("next"===s.swipeDirection&&s.slideTo(null!==v?v:f+b),"prev"===s.swipeDirection&&s.slideTo(null!==g?g:f))}}function v(){let e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:r,snapGrid:l}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let n=a&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||n?e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&l!==e.snapGrid&&e.checkOverflow()}function g(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function w(){let{wrapperEl:e,rtlTranslate:t,enabled:s}=this;if(!s)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let 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)}function b(e){d(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}let T=!1;function S(){}let y=(e,t)=>{let s=(0,a.g)(),{params:i,el:r,wrapperEl:l,device:n}=e,o=!!i.nested,d="on"===t?"addEventListener":"removeEventListener";r[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[d]("click",e.onClick,!0),i.cssMode&&l[d]("scroll",e.onScroll),i.updateOnWindowResize?e[t](n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate",v,!0):e[t]("observerUpdate",v,!0),r[d]("load",e.onLoad,{capture:!0})},x=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var E={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,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,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let C={eventsEmitter:{on(e,t,s){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=s?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,s){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var s=arguments.length,l=Array(s),a=0;a<s;a++)l[a]=arguments[a];t.apply(i,l)}return r.__emitterProxy=t,i.on(e,r,s)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let s=this;return s.eventsListeners&&!s.destroyed&&s.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(r,1)})}),s},emit(){let e,t,s;let i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;for(var r=arguments.length,l=Array(r),a=0;a<r;a++)l[a]=arguments[a];"string"==typeof l[0]||Array.isArray(l[0])?(e=l[0],t=l.slice(1,l.length),s=i):(e=l[0].events,t=l[0].data,s=l[0].context||i),t.unshift(s);let n=Array.isArray(e)?e:e.split(" ");return n.forEach(e=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(i=>{i.apply(s,[e,...t])}),i.eventsListeners&&i.eventsListeners[e]&&i.eventsListeners[e].forEach(e=>{e.apply(s,t)})}),i}},update:{updateSize:function(){let e,t;let s=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:s.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:s.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,n.l)(s,"padding-left")||0,10)-parseInt((0,n.l)(s,"padding-right")||0,10),t=t-parseInt((0,n.l)(s,"padding-top")||0,10)-parseInt((0,n.l)(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function s(e){return t.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}function i(e,t){return parseFloat(e.getPropertyValue(s(t))||0)}let r=t.params,{wrapperEl:l,slidesEl:a,size:o,rtlTranslate:d,wrongRTL:c}=t,p=t.virtual&&r.virtual.enabled,u=p?t.virtual.slides.length:t.slides.length,h=(0,n.e)(a,`.${t.params.slideClass}, swiper-slide`),f=p?t.virtual.slides.length:h.length,m=[],v=[],g=[],w=r.slidesOffsetBefore;"function"==typeof w&&(w=r.slidesOffsetBefore.call(t));let b=r.slidesOffsetAfter;"function"==typeof b&&(b=r.slidesOffsetAfter.call(t));let T=t.snapGrid.length,S=t.slidesGrid.length,y=r.spaceBetween,x=-w,E=0,C=0;if(void 0===o)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*o:"string"==typeof y&&(y=parseFloat(y)),t.virtualSize=-y,h.forEach(e=>{d?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&((0,n.s)(l,"--swiper-centered-offset-before",""),(0,n.s)(l,"--swiper-centered-offset-after",""));let M=r.grid&&r.grid.rows>1&&t.grid;M&&t.grid.initSlides(f);let P="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let l=0;l<f;l+=1){let a;if(e=0,h[l]&&(a=h[l]),M&&t.grid.updateSlide(l,a,f,s),!h[l]||"none"!==(0,n.l)(a,"display")){if("auto"===r.slidesPerView){P&&(h[l].style[s("width")]="");let o=getComputedStyle(a),d=a.style.transform,c=a.style.webkitTransform;if(d&&(a.style.transform="none"),c&&(a.style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?(0,n.f)(a,"width",!0):(0,n.f)(a,"height",!0);else{let t=i(o,"width"),s=i(o,"padding-left"),r=i(o,"padding-right"),l=i(o,"margin-left"),n=i(o,"margin-right"),d=o.getPropertyValue("box-sizing");if(d&&"border-box"===d)e=t+l+n;else{let{clientWidth:i,offsetWidth:o}=a;e=t+s+r+l+n+(o-i)}}d&&(a.style.transform=d),c&&(a.style.webkitTransform=c),r.roundLengths&&(e=Math.floor(e))}else e=(o-(r.slidesPerView-1)*y)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),h[l]&&(h[l].style[s("width")]=`${e}px`);h[l]&&(h[l].swiperSlideSize=e),g.push(e),r.centeredSlides?(x=x+e/2+E/2+y,0===E&&0!==l&&(x=x-o/2-y),0===l&&(x=x-o/2-y),.001>Math.abs(x)&&(x=0),r.roundLengths&&(x=Math.floor(x)),C%r.slidesPerGroup==0&&m.push(x),v.push(x)):(r.roundLengths&&(x=Math.floor(x)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup==0&&m.push(x),v.push(x),x=x+e+y),t.virtualSize+=e+y,E=e,C+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+b,d&&c&&("slide"===r.effect||"coverflow"===r.effect)&&(l.style.width=`${t.virtualSize+y}px`),r.setWrapperSize&&(l.style[s("width")]=`${t.virtualSize+y}px`),M&&t.grid.updateWrapperSize(e,m,s),!r.centeredSlides){let e=[];for(let s=0;s<m.length;s+=1){let i=m[s];r.roundLengths&&(i=Math.floor(i)),m[s]<=t.virtualSize-o&&e.push(i)}m=e,Math.floor(t.virtualSize-o)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-o)}if(p&&r.loop){let e=g[0]+y;if(r.slidesPerGroup>1){let s=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),i=e*r.slidesPerGroup;for(let e=0;e<s;e+=1)m.push(m[m.length-1]+i)}for(let s=0;s<t.virtual.slidesBefore+t.virtual.slidesAfter;s+=1)1===r.slidesPerGroup&&m.push(m[m.length-1]+e),v.push(v[v.length-1]+e),t.virtualSize+=e}if(0===m.length&&(m=[0]),0!==y){let e=t.isHorizontal()&&d?"marginLeft":s("marginRight");h.filter((e,t)=>!r.cssMode||!!r.loop||t!==h.length-1).forEach(t=>{t.style[e]=`${y}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(y||0)}),e-=y;let t=e-o;m=m.map(e=>e<=0?-w:e>t?t+b:e)}if(r.centerInsufficientSlides){let e=0;if(g.forEach(t=>{e+=t+(y||0)}),(e-=y)<o){let t=(o-e)/2;m.forEach((e,s)=>{m[s]=e-t}),v.forEach((e,s)=>{v[s]=e+t})}}if(Object.assign(t,{slides:h,snapGrid:m,slidesGrid:v,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,n.s)(l,"--swiper-centered-offset-before",`${-m[0]}px`),(0,n.s)(l,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],s=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+s)}if(f!==u&&t.emit("slidesLengthChange"),m.length!==T&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==S&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),!p&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,s=t.el.classList.contains(e);f<=r.maxBackfaceHiddenSlides?s||t.el.classList.add(e):s&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let s=this,i=[],r=s.virtual&&s.params.virtual.enabled,l=0;"number"==typeof e?s.setTransition(e):!0===e&&s.setTransition(s.params.speed);let a=e=>r?s.slides[s.getSlideIndexByData(e)]:s.slides[e];if("auto"!==s.params.slidesPerView&&s.params.slidesPerView>1){if(s.params.centeredSlides)(s.visibleSlides||[]).forEach(e=>{i.push(e)});else for(t=0;t<Math.ceil(s.params.slidesPerView);t+=1){let e=s.activeIndex+t;if(e>s.slides.length&&!r)break;i.push(a(e))}}else i.push(a(s.activeIndex));for(t=0;t<i.length;t+=1)if(void 0!==i[t]){let e=i[t].offsetHeight;l=e>l?e:l}(l||0===l)&&(s.wrapperEl.style.height=`${l}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let s=0;s<e.length;s+=1)e[s].swiperSlideOffset=(this.isHorizontal()?e[s].offsetLeft:e[s].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:s,rtlTranslate:i,snapGrid:r}=this;if(0===s.length)return;void 0===s[0].swiperSlideOffset&&this.updateSlidesOffset();let l=-e;i&&(l=e),s.forEach(e=>{e.classList.remove(t.slideVisibleClass)}),this.visibleSlidesIndexes=[],this.visibleSlides=[];let a=t.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*this.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<s.length;e+=1){let n=s[e],o=n.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(o-=s[0].swiperSlideOffset);let d=(l+(t.centeredSlides?this.minTranslate():0)-o)/(n.swiperSlideSize+a),c=(l-r[0]+(t.centeredSlides?this.minTranslate():0)-o)/(n.swiperSlideSize+a),p=-(l-o),u=p+this.slidesSizesGrid[e],h=p>=0&&p<this.size-1||u>1&&u<=this.size||p<=0&&u>=this.size;h&&(this.visibleSlides.push(n),this.visibleSlidesIndexes.push(e),s[e].classList.add(t.slideVisibleClass)),n.progress=i?-d:d,n.originalProgress=i?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,s=this.maxTranslate()-this.minTranslate(),{progress:i,isBeginning:r,isEnd:l,progressLoop:a}=this,n=r,o=l;if(0===s)i=0,r=!0,l=!0;else{i=(e-this.minTranslate())/s;let t=1>Math.abs(e-this.minTranslate()),a=1>Math.abs(e-this.maxTranslate());r=t||i<=0,l=a||i>=1,t&&(i=0),a&&(i=1)}if(t.loop){let t=this.getSlideIndexByData(0),s=this.getSlideIndexByData(this.slides.length-1),i=this.slidesGrid[t],r=this.slidesGrid[s],l=this.slidesGrid[this.slidesGrid.length-1],n=Math.abs(e);(a=n>=i?(n-i)/l:(n+l-r)/l)>1&&(a-=1)}Object.assign(this,{progress:i,progressLoop:a,isBeginning:r,isEnd:l}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),r&&!n&&this.emit("reachBeginning toEdge"),l&&!o&&this.emit("reachEnd toEdge"),(n&&!r||o&&!l)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){let e;let{slides:t,params:s,slidesEl:i,activeIndex:r}=this,l=this.virtual&&s.virtual.enabled,a=e=>(0,n.e)(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];if(t.forEach(e=>{e.classList.remove(s.slideActiveClass,s.slideNextClass,s.slidePrevClass)}),l){if(s.loop){let t=r-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=a(`[data-swiper-slide-index="${t}"]`)}else e=a(`[data-swiper-slide-index="${r}"]`)}else e=t[r];if(e){e.classList.add(s.slideActiveClass);let i=(0,n.m)(e,`.${s.slideClass}, swiper-slide`)[0];s.loop&&!i&&(i=t[0]),i&&i.classList.add(s.slideNextClass);let r=(0,n.o)(e,`.${s.slideClass}, swiper-slide`)[0];s.loop,r&&r.classList.add(s.slidePrevClass)}this.emitSlidesClasses()},updateActiveIndex:function(e){let t,s;let i=this,r=i.rtlTranslate?i.translate:-i.translate,{snapGrid:l,params:a,activeIndex:n,realIndex:o,snapIndex:d}=i,c=e,u=e=>{let t=e-i.virtual.slidesBefore;return t<0&&(t=i.virtual.slides.length+t),t>=i.virtual.slides.length&&(t-=i.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:s,params:i}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<s.length;e+=1)void 0!==s[e+1]?r>=s[e]&&r<s[e+1]-(s[e+1]-s[e])/2?t=e:r>=s[e]&&r<s[e+1]&&(t=e+1):r>=s[e]&&(t=e);return i.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(i)),l.indexOf(r)>=0)t=l.indexOf(r);else{let e=Math.min(a.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/a.slidesPerGroup)}if(t>=l.length&&(t=l.length-1),c===n){t!==d&&(i.snapIndex=t,i.emit("snapIndexChange")),i.params.loop&&i.virtual&&i.params.virtual.enabled&&(i.realIndex=u(c));return}s=i.virtual&&a.virtual.enabled&&a.loop?u(c):i.slides[c]?parseInt(i.slides[c].getAttribute("data-swiper-slide-index")||c,10):c,Object.assign(i,{previousSnapIndex:d,snapIndex:t,previousRealIndex:o,realIndex:s,previousIndex:n,activeIndex:c}),i.initialized&&p(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(o!==s&&i.emit("realIndexChange"),i.emit("slideChange"))},updateClickedSlide:function(e,t){let s;let i=this.params,r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&this.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let l=!1;if(r){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===r){l=!0,s=e;break}}if(r&&l)this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=s;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}i.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:s,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let l=(0,n.h)(r,e);return l+=this.cssOverflowAdjustment(),s&&(l=-l),l||0},setTranslate:function(e,t){let{rtlTranslate:s,params:i,wrapperEl:r,progress:l}=this,a=0,n=0;this.isHorizontal()?a=s?-e:e:n=e,i.roundLengths&&(a=Math.floor(a),n=Math.floor(n)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:n,i.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-a:-n:i.virtualTranslate||(this.isHorizontal()?a-=this.cssOverflowAdjustment():n-=this.cssOverflowAdjustment(),r.style.transform=`translate3d(${a}px, ${n}px, 0px)`);let o=this.maxTranslate()-this.minTranslate();(0===o?0:(e-this.minTranslate())/o)!==l&&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,s,i,r){let l;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===i&&(i=!0);let a=this,{params:o,wrapperEl:d}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;let c=a.minTranslate(),p=a.maxTranslate();if(l=i&&e>c?c:i&&e<p?p:e,a.updateProgress(l),o.cssMode){let e=a.isHorizontal();if(0===t)d[e?"scrollLeft":"scrollTop"]=-l;else{if(!a.support.smoothScroll)return(0,n.p)({swiper:a,targetPosition:-l,side:e?"left":"top"}),!0;d.scrollTo({[e?"left":"top"]:-l,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(l),s&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(l),s&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,s&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:s}=this;s.cssMode||(s.autoHeight&&this.updateAutoHeight(),u({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:s}=this;this.animating=!1,s.cssMode||(this.setTransition(0),u({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,s,i,r){let l;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));let a=this,o=e;o<0&&(o=0);let{params:d,snapGrid:c,slidesGrid:p,previousIndex:u,activeIndex:h,rtlTranslate:f,wrapperEl:m,enabled:v}=a;if(a.animating&&d.preventInteractionOnTransition||!v&&!i&&!r)return!1;let g=Math.min(a.params.slidesPerGroupSkip,o),w=g+Math.floor((o-g)/a.params.slidesPerGroup);w>=c.length&&(w=c.length-1);let b=-c[w];if(d.normalizeSlideIndex)for(let e=0;e<p.length;e+=1){let t=-Math.floor(100*b),s=Math.floor(100*p[e]),i=Math.floor(100*p[e+1]);void 0!==p[e+1]?t>=s&&t<i-(i-s)/2?o=e:t>=s&&t<i&&(o=e+1):t>=s&&(o=e)}if(a.initialized&&o!==h&&(!a.allowSlideNext&&(f?b>a.translate&&b>a.minTranslate():b<a.translate&&b<a.minTranslate())||!a.allowSlidePrev&&b>a.translate&&b>a.maxTranslate()&&(h||0)!==o))return!1;if(o!==(u||0)&&s&&a.emit("beforeSlideChangeStart"),a.updateProgress(b),l=o>h?"next":o<h?"prev":"reset",f&&-b===a.translate||!f&&b===a.translate)return a.updateActiveIndex(o),d.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==d.effect&&a.setTranslate(b),"reset"!==l&&(a.transitionStart(s,l),a.transitionEnd(s,l)),!1;if(d.cssMode){let e=a.isHorizontal(),s=f?b:-b;if(0===t){let t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=s})):m[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1})}else{if(!a.support.smoothScroll)return(0,n.p)({swiper:a,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(s,l),0===t?a.transitionEnd(s,l):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(s,l))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e){let t=parseInt(e,10);e=t}let r=e;return this.params.loop&&(this.virtual&&this.params.virtual.enabled?r+=this.virtual.slidesBefore:r=this.getSlideIndexByData(r)),this.slideTo(r,t,s,i)},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let i=this,{enabled:r,params:l,animating:a}=i;if(!r)return i;let n=l.slidesPerGroup;"auto"===l.slidesPerView&&1===l.slidesPerGroup&&l.slidesPerGroupAuto&&(n=Math.max(i.slidesPerViewDynamic("current",!0),1));let o=i.activeIndex<l.slidesPerGroupSkip?1:n,d=i.virtual&&l.virtual.enabled;if(l.loop){if(a&&!d&&l.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+o,e,t,s)}),!0}return l.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let i=this,{params:r,snapGrid:l,slidesGrid:a,rtlTranslate:n,enabled:o,animating:d}=i;if(!o)return i;let c=i.virtual&&r.virtual.enabled;if(r.loop){if(d&&!c&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}let p=n?i.translate:-i.translate;function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=u(p),f=l.map(e=>u(e)),m=l[f.indexOf(h)-1];if(void 0===m&&r.cssMode){let e;l.forEach((t,s)=>{h>=t&&(e=s)}),void 0!==e&&(m=l[e>0?e-1:e])}let v=0;if(void 0!==m&&((v=a.indexOf(m))<0&&(v=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(v=Math.max(v=v-i.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&i.isBeginning){let r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,s)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(v,e,t,s)}),!0):i.slideTo(v,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e,t,s,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);let r=this.activeIndex,l=Math.min(this.params.slidesPerGroupSkip,r),a=l+Math.floor((r-l)/this.params.slidesPerGroup),n=this.rtlTranslate?this.translate:-this.translate;if(n>=this.snapGrid[a]){let e=this.snapGrid[a],t=this.snapGrid[a+1];n-e>(t-e)*i&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[a-1],t=this.snapGrid[a];n-e<=(t-e)*i&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,s)},slideToClickedSlide:function(){let e;let t=this,{params:s,slidesEl:i}=t,r="auto"===s.slidesPerView?t.slidesPerViewDynamic():s.slidesPerView,l=t.clickedIndex,a=t.isElement?"swiper-slide":`.${s.slideClass}`;if(s.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),s.centeredSlides?l<t.loopedSlides-r/2||l>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),l=t.getSlideIndex((0,n.e)(i,`${a}[data-swiper-slide-index="${e}"]`)[0]),(0,n.n)(()=>{t.slideTo(l)})):t.slideTo(l):l>t.slides.length-r?(t.loopFix(),l=t.getSlideIndex((0,n.e)(i,`${a}[data-swiper-slide-index="${e}"]`)[0]),(0,n.n)(()=>{t.slideTo(l)})):t.slideTo(l)}else t.slideTo(l)}},loop:{loopCreate:function(e){let{params:t,slidesEl:s}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;let i=(0,n.e)(s,`.${t.slideClass}, swiper-slide`);i.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),this.loopFix({slideRealIndex:e,direction:t.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:i,setTranslate:r,activeSlideIndex:l,byController:a,byMousewheel:n}=void 0===e?{}:e,o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");let{slides:d,allowSlidePrev:c,allowSlideNext:p,slidesEl:u,params:h}=o;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&h.virtual.enabled){s&&(h.centeredSlides||0!==o.snapIndex?h.centeredSlides&&o.snapIndex<h.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0):o.slideTo(o.virtual.slides.length,0,!1,!0)),o.allowSlidePrev=c,o.allowSlideNext=p,o.emit("loopFix");return}let f="auto"===h.slidesPerView?o.slidesPerViewDynamic():Math.ceil(parseFloat(h.slidesPerView,10)),m=h.loopedSlides||f;m%h.slidesPerGroup!=0&&(m+=h.slidesPerGroup-m%h.slidesPerGroup),o.loopedSlides=m;let v=[],g=[],w=o.activeIndex;void 0===l?l=o.getSlideIndex(o.slides.filter(e=>e.classList.contains(h.slideActiveClass))[0]):w=l;let b="next"===i||!i,T="prev"===i||!i,S=0,y=0;if(l<m){S=Math.max(m-l,h.slidesPerGroup);for(let e=0;e<m-l;e+=1){let t=e-Math.floor(e/d.length)*d.length;v.push(d.length-t-1)}}else if(l>o.slides.length-2*m){y=Math.max(l-(o.slides.length-2*m),h.slidesPerGroup);for(let e=0;e<y;e+=1){let t=e-Math.floor(e/d.length)*d.length;g.push(t)}}if(T&&v.forEach(e=>{o.slides[e].swiperLoopMoveDOM=!0,u.prepend(o.slides[e]),o.slides[e].swiperLoopMoveDOM=!1}),b&&g.forEach(e=>{o.slides[e].swiperLoopMoveDOM=!0,u.append(o.slides[e]),o.slides[e].swiperLoopMoveDOM=!1}),o.recalcSlides(),"auto"===h.slidesPerView&&o.updateSlides(),h.watchSlidesProgress&&o.updateSlidesOffset(),s){if(v.length>0&&T){if(void 0===t){let e=o.slidesGrid[w],t=o.slidesGrid[w+S],s=t-e;n?o.setTranslate(o.translate-s):(o.slideTo(w+S,0,!1,!0),r&&(o.touches[o.isHorizontal()?"startX":"startY"]+=s,o.touchEventsData.currentTranslate=o.translate))}else r&&(o.slideToLoop(t,0,!1,!0),o.touchEventsData.currentTranslate=o.translate)}else if(g.length>0&&b){if(void 0===t){let e=o.slidesGrid[w],t=o.slidesGrid[w-y],s=t-e;n?o.setTranslate(o.translate-s):(o.slideTo(w-y,0,!1,!0),r&&(o.touches[o.isHorizontal()?"startX":"startY"]+=s,o.touchEventsData.currentTranslate=o.translate))}else o.slideToLoop(t,0,!1,!0)}}if(o.allowSlidePrev=c,o.allowSlideNext=p,o.controller&&o.controller.control&&!a){let e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:l,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&s})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...e,slideTo:o.controller.control.params.slidesPerView===h.slidesPerView&&s})}o.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let s=[];this.slides.forEach(e=>{let t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;s[t]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),s.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let e=(0,a.g)(),{params:t}=this;this.onTouchStart=h.bind(this),this.onTouchMove=f.bind(this),this.onTouchEnd=m.bind(this),t.cssMode&&(this.onScroll=w.bind(this)),this.onClick=g.bind(this),this.onLoad=b.bind(this),T||(e.addEventListener("touchstart",S),T=!0),y(this,"on")},detachEvents:function(){y(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:s,params:i,el:r}=e,l=i.breakpoints;if(!l||l&&0===Object.keys(l).length)return;let a=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;let o=a in l?l[a]:void 0,d=o||e.originalParams,c=x(e,i),p=x(e,d),u=i.enabled;c&&!p?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&p&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===d[t])return;let s=i[t]&&i[t].enabled,r=d[t]&&d[t].enabled;s&&!r&&e[t].disable(),!s&&r&&e[t].enable()});let h=d.direction&&d.direction!==i.direction,f=i.loop&&(d.slidesPerView!==i.slidesPerView||h),m=i.loop;h&&s&&e.changeDirection(),(0,n.q)(e.params,d);let v=e.params.enabled,g=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!v?e.disable():!u&&v&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",d),s&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!m&&g?(e.loopCreate(t),e.updateSlides()):m&&!g&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let i=!1,r=(0,a.a)(),l="window"===t?r.innerHeight:s.clientHeight,n=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){let t=parseFloat(e.substr(1));return{value:l*t,point:e}}return{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<n.length;e+=1){let{point:l,value:a}=n[e];"window"===t?r.matchMedia(`(min-width: ${a}px)`).matches&&(i=l):a<=s.clientWidth&&(i=l)}return i||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:s}=t;if(s){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*s;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:s,el:i,device:r}=this,l=function(e,t){let s=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&s.push(t+i)}):"string"==typeof e&&s.push(t+e)}),s}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:s},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...l),i.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},M={};class P{constructor(){let e,t;for(var s,i=arguments.length,d=Array(i),c=0;c<i;c++)d[c]=arguments[c];1===d.length&&d[0].constructor&&"Object"===Object.prototype.toString.call(d[0]).slice(8,-1)?t=d[0]:[e,t]=d,t||(t={}),t=(0,n.q)({},t),e&&!t.el&&(t.el=e);let p=(0,a.g)();if(t.el&&"string"==typeof t.el&&p.querySelectorAll(t.el).length>1){let e=[];return p.querySelectorAll(t.el).forEach(s=>{let i=(0,n.q)({},t,{el:s});e.push(new P(i))}),e}let u=this;u.__swiper__=!0,u.support=o(),u.device=(s={userAgent:t.userAgent},r||(r=function(e){let{userAgent:t}=void 0===e?{}:e,s=o(),i=(0,a.a)(),r=i.navigator.platform,l=t||i.navigator.userAgent,n={ios:!1,android:!1},d=i.screen.width,c=i.screen.height,p=l.match(/(Android);?[\s\/]+([\d.]+)?/),u=l.match(/(iPad).*OS\s([\d_]+)/),h=l.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===r;return!u&&m&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${d}x${c}`)>=0&&((u=l.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),p&&"Win32"!==r&&(n.os="android",n.android=!0),(u||f||h)&&(n.os="ios",n.ios=!0),n}(s)),r),u.browser=(l||(l=function(){let e=(0,a.a)(),t=!1;function s(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(s()){let s=String(e.navigator.userAgent);if(s.includes("Version/")){let[e,i]=s.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&i<2}}return{isSafari:t||s(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),l),u.eventsListeners={},u.eventsAnyListeners=[],u.modules=[...u.__modules__],t.modules&&Array.isArray(t.modules)&&u.modules.push(...t.modules);let h={};u.modules.forEach(e=>{var s;e({params:t,swiper:u,extendParams:(s=t,function(e){void 0===e&&(e={});let t=Object.keys(e)[0],i=e[t];if("object"!=typeof i||null===i||(!0===s[t]&&(s[t]={enabled:!0}),"navigation"===t&&s[t]&&s[t].enabled&&!s[t].prevEl&&!s[t].nextEl&&(s[t].auto=!0),["pagination","scrollbar"].indexOf(t)>=0&&s[t]&&s[t].enabled&&!s[t].el&&(s[t].auto=!0),!(t in s&&"enabled"in i))){(0,n.q)(h,e);return}"object"!=typeof s[t]||"enabled"in s[t]||(s[t].enabled=!0),s[t]||(s[t]={enabled:!1}),(0,n.q)(h,e)}),on:u.on.bind(u),once:u.once.bind(u),off:u.off.bind(u),emit:u.emit.bind(u)})});let f=(0,n.q)({},E,h);return u.params=(0,n.q)({},f,M,t),u.originalParams=(0,n.q)({},u.params),u.passedParams=(0,n.q)({},t),u.params&&u.params.on&&Object.keys(u.params.on).forEach(e=>{u.on(e,u.params.on[e])}),u.params&&u.params.onAny&&u.onAny(u.params.onAny),Object.assign(u,{enabled:u.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===u.params.direction,isVertical:()=>"vertical"===u.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:u.params.allowSlideNext,allowSlidePrev:u.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:u.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:u.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),u.emit("_swiper"),u.params.init&&u.init(),u}getSlideIndex(e){let{slidesEl:t,params:s}=this,i=(0,n.e)(t,`.${s.slideClass}, swiper-slide`),r=(0,n.g)(i[0]);return(0,n.g)(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,n.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let s=this.minTranslate(),i=this.maxTranslate(),r=(i-s)*e+s;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(s=>{let i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:s,slides:i,slidesGrid:r,slidesSizesGrid:l,size:a,activeIndex:n}=this,o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=i[n]?i[n].swiperSlideSize:0;for(let s=n+1;s<i.length;s+=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,o+=1,t>a&&(e=!0));for(let s=n-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,o+=1,t>a&&(e=!0))}else if("current"===e)for(let e=n+1;e<i.length;e+=1){let s=t?r[e]+l[e]-r[n]<a:r[e]-r[n]<a;s&&(o+=1)}else for(let e=n-1;e>=0;e-=1){let t=r[n]-r[e]<a;t&&(o+=1)}return o}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:s,params:i}=t;function r(){let e=t.rtlTranslate?-1*t.translate:t.translate,s=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(s),t.updateActiveIndex(),t.updateSlidesClasses()}if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&d(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){let s=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(s.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}i.watchOverflow&&s!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let s=this.params.direction;return e||(e="horizontal"===s?"vertical":"horizontal"),e===s||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${s}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&"SWIPER-CONTAINER"===s.parentNode.host.nodeName&&(t.isElement=!0);let i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=(()=>{if(s&&s.shadowRoot&&s.shadowRoot.querySelector){let e=s.shadowRoot.querySelector(i());return e}return(0,n.e)(s,i())[0]})();return!r&&t.params.createElements&&(r=(0,n.c)("div",t.params.wrapperClass),s.append(r),(0,n.e)(s,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:s,wrapperEl:r,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:r,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===(0,n.l)(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===(0,n.l)(s,"direction")),wrongRTL:"-webkit-box"===(0,n.l)(r,"display")}),!0}init(e){let t=this;if(t.initialized)return t;let s=t.mount(e);if(!1===s)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();let i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(e=>{e.complete?d(t,e):e.addEventListener("load",e=>{d(t,e.target)})}),p(t),t.initialized=!0,p(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let s=this,{params:i,el:r,wrapperEl:l,slides:a}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),r.removeAttribute("style"),l.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(e=>{s.off(e)}),!1!==e&&(s.el.swiper=null,(0,n.r)(s)),s.destroyed=!0),null}static extendDefaults(e){(0,n.q)(M,e)}static get extendedDefaults(){return M}static get defaults(){return E}static installModule(e){P.prototype.__modules__||(P.prototype.__modules__=[]);let t=P.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>P.installModule(e)),P):(P.installModule(e),P)}}Object.keys(C).forEach(e=>{Object.keys(C[e]).forEach(t=>{P.prototype[t]=C[e][t]})}),P.use([function(e){let{swiper:t,on:s,emit:i}=e,r=(0,a.a)(),l=null,n=null,o=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&(l=new ResizeObserver(e=>{n=r.requestAnimationFrame(()=>{let{width:s,height:i}=t,r=s,l=i;e.forEach(e=>{let{contentBoxSize:s,contentRect:i,target:a}=e;a&&a!==t.el||(r=i?i.width:(s[0]||s).inlineSize,l=i?i.height:(s[0]||s).blockSize)}),(r!==s||l!==i)&&o()})})).observe(t.el)},c=()=>{n&&r.cancelAnimationFrame(n),l&&l.unobserve&&t.el&&(l.unobserve(t.el),l=null)},p=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};s("init",()=>{if(t.params.resizeObserver&&void 0!==r.ResizeObserver){d();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",p)}),s("destroy",()=>{c(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",p)})},function(e){let{swiper:t,extendParams:s,on:i,emit:r}=e,l=[],o=(0,a.a)(),d=function(e,s){void 0===s&&(s={});let i=o.MutationObserver||o.WebkitMutationObserver,a=new i(e=>{if(t.__preventObserver__)return;if(1===e.length){r("observerUpdate",e[0]);return}let s=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(s):o.setTimeout(s,0)});a.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:void 0===s.childList||s.childList,characterData:void 0===s.characterData||s.characterData}),l.push(a)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,n.a)(t.hostEl);for(let t=0;t<e.length;t+=1)d(e[t])}d(t.hostEl,{childList:t.params.observeSlideChildren}),d(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{l.forEach(e=>{e.disconnect()}),l.splice(0,l.length)})}])}}]);