You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
118 KiB

(function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.Swiper=t()})(this,function(){"use strict";function t(n,t){var s=[],r=0,h,c,e,o;if(n&&!t&&n instanceof f)return n;if(n)if(typeof n=="string")if(e=n.trim(),e.indexOf("<")>=0&&e.indexOf(">")>=0)for(o="div",e.indexOf("<li")===0&&(o="ul"),e.indexOf("<tr")===0&&(o="tbody"),(e.indexOf("<td")===0||e.indexOf("<th")===0)&&(o="tr"),e.indexOf("<tbody")===0&&(o="table"),e.indexOf("<option")===0&&(o="select"),c=u.createElement(o),c.innerHTML=e,r=0;r<c.childNodes.length;r+=1)s.push(c.childNodes[r]);else for(h=t||n[0]!=="#"||n.match(/[ .<>:~]/)?(t||u).querySelectorAll(n.trim()):[u.getElementById(n.trim().split("#")[1])],r=0;r<h.length;r+=1)h[r]&&s.push(h[r]);else if(n.nodeType||n===i||n===u)s.push(n);else if(n.length>0&&n[0].nodeType)for(r=0;r<n.length;r+=1)s.push(n[r]);return new f(s)}function d(n){for(var i=[],t=0;t<n.length;t+=1)i.indexOf(n[t])===-1&&i.push(n[t]);return i}function oi(n){var u=this,r,i,t;if(typeof n=="undefined")return this;for(r=n.split(" "),i=0;i<r.length;i+=1)for(t=0;t<this.length;t+=1)typeof u[t].classList!="undefined"&&u[t].classList.add(r[i]);return this}function si(n){for(var t,r=this,u=n.split(" "),i=0;i<u.length;i+=1)for(t=0;t<this.length;t+=1)typeof r[t].classList!="undefined"&&r[t].classList.remove(u[i]);return this}function hi(n){return this[0]?this[0].classList.contains(n):!1}function ci(n){for(var t,r=this,u=n.split(" "),i=0;i<u.length;i+=1)for(t=0;t<this.length;t+=1)typeof r[t].classList!="undefined"&&r[t].classList.toggle(u[i]);return this}function li(n,t){var f=arguments,u=this,i,r;if(arguments.length===1&&typeof n=="string")return this[0]?this[0].getAttribute(n):undefined;for(i=0;i<this.length;i+=1)if(f.length===2)u[i].setAttribute(n,t);else for(r in n)u[i][r]=n[r],u[i].setAttribute(r,n[r]);return this}function ai(n){for(var i=this,t=0;t<this.length;t+=1)i[t].removeAttribute(n);return this}function vi(n,t){var f=this,i,u,r;if(typeof t=="undefined")return(i=this[0],i)?i.dom7ElementDataStorage&&n in i.dom7ElementDataStorage?i.dom7ElementDataStorage[n]:(u=i.getAttribute("data-"+n),u)?u:undefined:undefined;for(r=0;r<this.length;r+=1)i=f[r],i.dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[n]=t;return this}function yi(n){for(var i,r=this,t=0;t<this.length;t+=1)i=r[t].style,i.webkitTransform=n,i.transform=n;return this}function pi(n){var r=this,t,i;for(typeof n!="string"&&(n=n+"ms"),t=0;t<this.length;t+=1)i=r[t].style,i.webkitTransitionDuration=n,i.transitionDuration=n;return this}function wi(){function y(n){var f=n.target,i,e,r;if(f)if(i=n.target.dom7EventData||[],i.indexOf(n)<0&&i.unshift(n),t(f).is(c))u.apply(f,i);else for(e=t(f).parents(),r=0;r<e.length;r+=1)t(e[r]).is(c)&&u.apply(e[r],i)}function p(n){var t=n&&n.target?n.target.dom7EventData||[]:[];t.indexOf(n)<0&&t.unshift(n);u.apply(this,t)}for(var w=this,h,r=[],a=arguments.length,e,i,l,n,o,s;a--;)r[a]=arguments[a];var v=r[0],c=r[1],u=r[2],f=r[3];for(typeof r[1]=="function"&&(h=r,v=h[0],u=h[1],f=h[2],c=undefined),f||(f=!1),e=v.split(" "),l=0;l<this.length;l+=1)if(n=w[l],c)for(i=0;i<e.length;i+=1)s=e[i],n.dom7LiveListeners||(n.dom7LiveListeners={}),n.dom7LiveListeners[s]||(n.dom7LiveListeners[s]=[]),n.dom7LiveListeners[s].push({listener:u,proxyListener:y}),n.addEventListener(s,y,f);else for(i=0;i<e.length;i+=1)o=e[i],n.dom7Listeners||(n.dom7Listeners={}),n.dom7Listeners[o]||(n.dom7Listeners[o]=[]),n.dom7Listeners[o].push({listener:u,proxyListener:p}),n.addEventListener(o,p,f);return this}function bi(){for(var p=this,e,n=[],l=arguments.length,v,s,f,h,t,i,r,c;l--;)n[l]=arguments[l];var y=n[0],a=n[1],o=n[2],u=n[3];for(typeof n[1]=="function"&&(e=n,y=e[0],o=e[1],u=e[2],a=undefined),u||(u=!1),v=y.split(" "),s=0;s<v.length;s+=1)for(f=v[s],h=0;h<this.length;h+=1)for(t=p[h],i=void 0,!a&&t.dom7Listeners?i=t.dom7Listeners[f]:a&&t.dom7LiveListeners&&(i=t.dom7LiveListeners[f]),r=i.length-1;r>=0;r-=1)c=i[r],o&&c.listener===o?(t.removeEventListener(f,c.proxyListener,u),i.splice(r,1)):o||(t.removeEventListener(f,c.proxyListener,u),i.splice(r,1));return this}function ki(){for(var l=this,r=[],o=arguments.length,s,h,f,c,e,t,n;o--;)r[o]=arguments[o];for(s=r[0].split(" "),h=r[1],f=0;f<s.length;f+=1)for(c=s[f],e=0;e<this.length;e+=1){t=l[e];n=void 0;try{n=new i.CustomEvent(c,{detail:h,bubbles:!0,cancelable:!0})}catch(a){n=u.createEvent("Event");n.initEvent(c,!0,!0);n.detail=h}t.dom7EventData=r.filter(function(n,t){return t>0});t.dispatchEvent(n);t.dom7EventData=[];delete t.dom7EventData}return this}function di(n){function u(f){if(f.target===this)for(n.call(this,f),t=0;t<i.length;t+=1)r.off(i[t],u)}var i=["webkitTransitionEnd","transitionend"],r=this,t;if(n)for(t=0;t<i.length;t+=1)r.on(i[t],u);return this}function gi(n){if(this.length>0){if(n){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function nr(n){if(this.length>0){if(n){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function tr(){if(this.length>0){var n=this[0],t=n.getBoundingClientRect(),r=u.body,f=n.clientTop||r.clientTop||0,e=n.clientLeft||r.clientLeft||0,o=n===i?i.scrollY:n.scrollTop,s=n===i?i.scrollX:n.scrollLeft;return{top:t.top+o-f,left:t.left+s-e}}return null}function ir(){return this[0]?i.getComputedStyle(this[0],null):{}}function rr(n,t){var f=this,r,u;if(arguments.length===1)if(typeof n=="string"){if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(n)}else{for(r=0;r<this.length;r+=1)for(u in n)f[r].style[u]=n[u];return this}if(arguments.length===2&&typeof n=="string"){for(r=0;r<this.length;r+=1)f[r].style[n]=t;return this}return this}function ur(n){var i=this,t;if(!n)return this;for(t=0;t<this.length;t+=1)if(n.call(i[t],t,i[t])===!1)return i;return this}function fr(n){var i=this,t;if(typeof n=="undefined")return this[0]?this[0].innerHTML:undefined;for(t=0;t<this.length;t+=1)i[t].innerHTML=n;return this}function er(n){var i=this,t;if(typeof n=="undefined")return this[0]?this[0].textContent.trim():null;for(t=0;t<this.length;t+=1)i[t].textContent=n;return this}function or(n){var r=this[0],o,e;if(!r||typeof n=="undefined")return!1;if(typeof n=="string"){if(r.matches)return r.matches(n);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(n);if(r.msMatchesSelector)return r.msMatchesSelector(n);for(o=t(n),e=0;e<o.length;e+=1)if(o[e]===r)return!0;return!1}if(n===u)return r===u;if(n===i)return r===i;if(n.nodeType||n instanceof f){for(o=n.nodeType?[n]:n,e=0;e<o.length;e+=1)if(o[e]===r)return!0;return!1}return!1}function sr(){var n=this[0],t;if(n){for(t=0;(n=n.previousSibling)!==null;)n.nodeType===1&&(t+=1);return t}return undefined}function hr(n){if(typeof n=="undefined")return this;var i=this.length,t;return n>i-1?new f([]):n<0?(t=i+n,t<0)?new f([]):new f([this[t]]):new f([this[n]])}function cr(){for(var o=this,s=[],h=arguments.length,n,i,t,r,e;h--;)s[h]=arguments[h];for(i=0;i<s.length;i+=1)for(n=s[i],t=0;t<this.length;t+=1)if(typeof n=="string")for(r=u.createElement("div"),r.innerHTML=n;r.firstChild;)o[t].appendChild(r.firstChild);else if(n instanceof f)for(e=0;e<n.length;e+=1)o[t].appendChild(n[e]);else o[t].appendChild(n);return this}function lr(n){for(var r=this,i,e,t=0;t<this.length;t+=1)if(typeof n=="string")for(e=u.createElement("div"),e.innerHTML=n,i=e.childNodes.length-1;i>=0;i-=1)r[t].insertBefore(e.childNodes[i],r[t].childNodes[0]);else if(n instanceof f)for(i=0;i<n.length;i+=1)r[t].insertBefore(n[i],r[t].childNodes[0]);else r[t].insertBefore(n,r[t].childNodes[0]);return this}function ar(n){return this.length>0?n?this[0].nextElementSibling&&t(this[0].nextElementSibling).is(n)?new f([this[0].nextElementSibling]):new f([]):this[0].nextElementSibling?new f([this[0].nextElementSibling]):new f([]):new f([])}function vr(n){var u=[],r=this[0],i;if(!r)return new f([]);while(r.nextElementSibling)i=r.nextElementSibling,n?t(i).is(n)&&u.push(i):u.push(i),r=i;return new f(u)}function yr(n){if(this.length>0){var i=this[0];return n?i.previousElementSibling&&t(i.previousElementSibling).is(n)?new f([i.previousElementSibling]):new f([]):i.previousElementSibling?new f([i.previousElementSibling]):new f([])}return new f([])}function pr(n){var u=[],r=this[0],i;if(!r)return new f([]);while(r.previousElementSibling)i=r.previousElementSibling,n?t(i).is(n)&&u.push(i):u.push(i),r=i;return new f(u)}function wr(n){for(var r=this,u=[],i=0;i<this.length;i+=1)r[i].parentNode!==null&&(n?t(r[i].parentNode).is(n)&&u.push(r[i].parentNode):u.push(r[i].parentNode));return t(d(u))}function br(n){for(var i,f=this,r=[],u=0;u<this.length;u+=1)for(i=f[u].parentNode;i;)n?t(i).is(n)&&r.push(i):r.push(i),i=i.parentNode;return t(d(r))}function kr(n){var t=this;return typeof n=="undefined"?new f([]):(t.is(n)||(t=t.parents(n).eq(0)),t)}function dr(n){for(var r,t,e=this,u=[],i=0;i<this.length;i+=1)for(r=e[i].querySelectorAll(n),t=0;t<r.length;t+=1)u.push(r[t]);return new f(u)}function gr(n){for(var r,i,o=this,u=[],e=0;e<this.length;e+=1)for(r=o[e].childNodes,i=0;i<r.length;i+=1)n?r[i].nodeType===1&&t(r[i]).is(n)&&u.push(r[i]):r[i].nodeType===1&&u.push(r[i]);return new f(d(u))}function nu(){for(var t=this,n=0;n<this.length;n+=1)t[n].parentNode&&t[n].parentNode.removeChild(t[n]);return this}function tu(){for(var u=[],f=arguments.length,n,i,r,e;f--;)u[f]=arguments[f];for(n=this,i=0;i<u.length;i+=1)for(e=t(u[i]),r=0;r<e.length;r+=1)n[n.length]=e[r],n.length+=1;return n}function iu(){var t=this,i,r,u=t.$el;(i=typeof t.params.width!="undefined"?t.params.width:u[0].clientWidth,r=typeof t.params.height!="undefined"?t.params.height:u[0].clientHeight,i===0&&t.isHorizontal()||r===0&&t.isVertical())||(i=i-parseInt(u.css("padding-left"),10)-parseInt(u.css("padding-right"),10),r=r-parseInt(u.css("padding-top"),10)-parseInt(u.css("padding-bottom"),10),n.extend(t,{width:i,height:r,size:t.isHorizontal()?i:r}))}function ru(){var u=this,t=u.params,w=u.$wrapperEl,v=u.size,ot=u.rtlTranslate,vt=u.wrongRTL,c=w.children("."+u.params.slideClass),yt=u.virtual&&t.virtual.enabled,y=yt?u.virtual.slides.length:c.length,f=[],rt=[],lt=[],st=t.slidesOffsetBefore,ut,b,o,l,nt,et,g,tt,it;typeof st=="function"&&(st=t.slidesOffsetBefore.call(u));ut=t.slidesOffsetAfter;typeof ut=="function"&&(ut=t.slidesOffsetAfter.call(u));var pt=y,wt=u.snapGrid.length,bt=u.snapGrid.length,s=t.spaceBetween,h=-st,ht=0,ct=0;if(typeof v!="undefined"){typeof s=="string"&&s.indexOf("%")>=0&&(s=parseFloat(s.replace("%",""))/100*v);u.virtualSize=-s;ot?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""});t.slidesPerColumn>1&&(b=Math.floor(y/t.slidesPerColumn)===y/u.params.slidesPerColumn?y:Math.ceil(y/t.slidesPerColumn)*t.slidesPerColumn,t.slidesPerView!=="auto"&&t.slidesPerColumnFill==="row"&&(b=Math.max(b,t.slidesPerView*t.slidesPerColumn)));var e,k=t.slidesPerColumn,ft=b/k,at=ft-(t.slidesPerColumn*ft-y);for(o=0;o<y;o+=1){if(e=0,l=c.eq(o),t.slidesPerColumn>1){var d=void 0,p=void 0,a=void 0;t.slidesPerColumnFill==="column"?(p=Math.floor(o/k),a=o-p*k,(p>at||p===at&&a===k-1)&&(a+=1,a>=k&&(a=0,p+=1)),d=p+a*b/k,l.css({"-webkit-box-ordinal-group":d,"-moz-box-ordinal-group":d,"-ms-flex-order":d,"-webkit-order":d,order:d})):(a=Math.floor(o/ft),p=o-a*ft);l.css("margin-"+(u.isHorizontal()?"top":"left"),a!==0&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",p).attr("data-swiper-row",a)}l.css("display")!=="none"&&(t.slidesPerView==="auto"?(nt=i.getComputedStyle(l[0],null),et=l[0].style.transform,et&&(l[0].style.transform="none"),e=u.isHorizontal()?l[0].getBoundingClientRect().width+parseFloat(nt.getPropertyValue("margin-left"))+parseFloat(nt.getPropertyValue("margin-right")):l[0].getBoundingClientRect().height+parseFloat(nt.getPropertyValue("margin-top"))+parseFloat(nt.getPropertyValue("margin-bottom")),et&&(l[0].style.transform=et),t.roundLengths&&(e=Math.floor(e))):(e=(v-(t.slidesPerView-1)*s)/t.slidesPerView,t.roundLengths&&(e=Math.floor(e)),c[o]&&(u.isHorizontal()?c[o].style.width=e+"px":c[o].style.height=e+"px")),c[o]&&(c[o].swiperSlideSize=e),lt.push(e),t.centeredSlides?(h=h+e/2+ht/2+s,ht===0&&o!==0&&(h=h-v/2-s),o===0&&(h=h-v/2-s),Math.abs(h)<1/1e3&&(h=0),ct%t.slidesPerGroup==0&&f.push(h),rt.push(h)):(ct%t.slidesPerGroup==0&&f.push(h),rt.push(h),h=h+e+s),u.virtualSize+=e+s,ht=e,ct+=1)}if(u.virtualSize=Math.max(u.virtualSize,v)+ut,ot&&vt&&(t.effect==="slide"||t.effect==="coverflow")&&w.css({width:u.virtualSize+t.spaceBetween+"px"}),(!r.flexbox||t.setWrapperSize)&&(u.isHorizontal()?w.css({width:u.virtualSize+t.spaceBetween+"px"}):w.css({height:u.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(u.virtualSize=(e+t.spaceBetween)*b,u.virtualSize=Math.ceil(u.virtualSize/t.slidesPerColumn)-t.spaceBetween,u.isHorizontal()?w.css({width:u.virtualSize+t.spaceBetween+"px"}):w.css({height:u.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){for(g=[],tt=0;tt<f.length;tt+=1)f[tt]<u.virtualSize+f[0]&&g.push(f[tt]);f=g}if(!t.centeredSlides){for(g=[],it=0;it<f.length;it+=1)f[it]<=u.virtualSize-v&&g.push(f[it]);f=g;Math.floor(u.virtualSize-v)-Math.floor(f[f.length-1])>1&&f.push(u.virtualSize-v)}f.length===0&&(f=[0]);t.spaceBetween!==0&&(u.isHorizontal()?ot?c.css({marginLeft:s+"px"}):c.css({marginRight:s+"px"}):c.css({marginBottom:s+"px"}));n.extend(u,{slides:c,snapGrid:f,slidesGrid:rt,slidesSizesGrid:lt});y!==pt&&u.emit("slidesLengthChange");f.length!==wt&&(u.params.watchOverflow&&u.checkOverflow(),u.emit("snapGridLengthChange"));rt.length!==bt&&u.emit("slidesGridLengthChange");(t.watchSlidesProgress||t.watchSlidesVisibility)&&u.updateSlidesOffset()}}function uu(n){var t=this,r=[],u=0,i,f,e;if(typeof n=="number"?t.setTransition(n):n===!0&&t.setTransition(t.params.speed),t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){if(f=t.activeIndex+i,f>t.slides.length)break;r.push(t.slides.eq(f)[0])}else r.push(t.slides.eq(t.activeIndex)[0]);for(i=0;i<r.length;i+=1)typeof r[i]!="undefined"&&(e=r[i].offsetHeight,u=e>u?e:u);u&&t.$wrapperEl.css("height",u+"px")}function fu(){for(var i=this,t=i.slides,n=0;n<t.length;n+=1)t[n].swiperSlideOffset=i.isHorizontal()?t[n].offsetLeft:t[n].offsetTop}function eu(n){var e,r,f,s;n===void 0&&(n=this&&this.translate||0);var t=this,u=t.params,i=t.slides,c=t.rtlTranslate;if(i.length!==0)for(typeof i[0].swiperSlideOffset=="undefined"&&t.updateSlidesOffset(),e=-n,c&&(e=n),i.removeClass(u.slideVisibleClass),r=0;r<i.length;r+=1){if(f=i[r],s=(e+(u.centeredSlides?t.minTranslate():0)-f.swiperSlideOffset)/(f.swiperSlideSize+u.spaceBetween),u.watchSlidesVisibility){var o=-(e-f.swiperSlideOffset),h=o+t.slidesSizesGrid[r],l=o>=0&&o<t.size||h>0&&h<=t.size||o<=0&&h>=t.size;l&&i.eq(r).addClass(u.slideVisibleClass)}f.progress=c?-s:s}}function ou(t){t===void 0&&(t=this&&this.translate||0);var i=this,e=i.params,o=i.maxTranslate()-i.minTranslate(),r=i.progress,u=i.isBeginning,f=i.isEnd,s=u,h=f;o===0?(r=0,u=!0,f=!0):(r=(t-i.minTranslate())/o,u=r<=0,f=r>=1);n.extend(i,{progress:r,isBeginning:u,isEnd:f});(e.watchSlidesProgress||e.watchSlidesVisibility)&&i.updateSlidesProgress(t);u&&!s&&i.emit("reachBeginning toEdge");f&&!h&&i.emit("reachEnd toEdge");(s&&!u||h&&!f)&&i.emit("fromEdge");i.emit("progress",r)}function su(){var t=this,e=t.slides,n=t.params,u=t.$wrapperEl,o=t.activeIndex,s=t.realIndex,h=t.virtual&&n.virtual.enabled,f,i,r;e.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass);f=h?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+o+'"]'):e.eq(o);f.addClass(n.slideActiveClass);n.loop&&(f.hasClass(n.slideDuplicateClass)?u.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass):u.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass));i=f.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&i.length===0&&(i=e.eq(0),i.addClass(n.slideNextClass));r=f.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&r.length===0&&(r=e.eq(-1),r.addClass(n.slidePrevClass));n.loop&&(i.hasClass(n.slideDuplicateClass)?u.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):u.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),r.hasClass(n.slideDuplicateClass)?u.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):u.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass))}function hu(t){var i=this,e=i.rtlTranslate?i.translate:-i.translate,f=i.slidesGrid,s=i.snapGrid,c=i.params,l=i.activeIndex,a=i.realIndex,v=i.snapIndex,u=t,o,r,h;if(typeof u=="undefined"){for(r=0;r<f.length;r+=1)typeof f[r+1]!="undefined"?e>=f[r]&&e<f[r+1]-(f[r+1]-f[r])/2?u=r:e>=f[r]&&e<f[r+1]&&(u=r+1):e>=f[r]&&(u=r);c.normalizeSlideIndex&&(u<0||typeof u=="undefined")&&(u=0)}if(o=s.indexOf(e)>=0?s.indexOf(e):Math.floor(u/c.slidesPerGroup),o>=s.length&&(o=s.length-1),u===l){o!==v&&(i.snapIndex=o,i.emit("snapIndexChange"));return}h=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);n.extend(i,{snapIndex:o,realIndex:h,previousIndex:l,activeIndex:u});i.emit("activeIndexChange");i.emit("snapIndexChange");a!==h&&i.emit("realIndexChange");i.emit("slideChange")}function cu(n){var i=this,f=i.params,r=t(n.target).closest("."+f.slideClass)[0],e=!1,u;if(r)for(u=0;u<i.slides.length;u+=1)i.slides[u]===r&&(e=!0);if(r&&e)i.clickedSlide=r,i.clickedIndex=i.virtual&&i.params.virtual.enabled?parseInt(t(r).attr("data-swiper-slide-index"),10):t(r).index();else{i.clickedSlide=undefined;i.clickedIndex=undefined;return}f.slideToClickedSlide&&i.clickedIndex!==undefined&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}function lu(t){var r;t===void 0&&(t=this.isHorizontal()?"x":"y");var i=this,e=i.params,u=i.rtlTranslate,f=i.translate,o=i.$wrapperEl;return e.virtualTranslate?u?-f:f:(r=n.getTranslate(o[0],t),u&&(r=-r),r||0)}function au(n,t){var i=this,c=i.rtlTranslate,o=i.params,s=i.$wrapperEl,l=i.progress,u=0,f=0,h,e;i.isHorizontal()?u=c?-n:n:f=n;o.roundLengths&&(u=Math.floor(u),f=Math.floor(f));o.virtualTranslate||(r.transforms3d?s.transform("translate3d("+u+"px, "+f+"px, 0px)"):s.transform("translate("+u+"px, "+f+"px)"));i.translate=i.isHorizontal()?u:f;e=i.maxTranslate()-i.minTranslate();h=e===0?0:(n-i.minTranslate())/e;h!==l&&i.updateProgress(n);i.emit("setTranslate",i.translate,t)}function vu(){return-this.snapGrid[0]}function yu(){return-this.snapGrid[this.snapGrid.length-1]}function pu(n,t){var i=this;i.$wrapperEl.transition(n);i.emit("setTransition",n,t)}function wu(n,t){var r;n===void 0&&(n=!0);var i=this,u=i.activeIndex,e=i.params,f=i.previousIndex;if(e.autoHeight&&i.updateAutoHeight(),r=t,r||(r=u>f?"next":u<f?"prev":"reset"),i.emit("transitionStart"),n&&u!==f){if(r==="reset"){i.emit("slideResetTransitionStart");return}i.emit("slideChangeTransitionStart");r==="next"?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}function bu(n,t){var r;n===void 0&&(n=!0);var i=this,u=i.activeIndex,f=i.previousIndex;if(i.animating=!1,i.setTransition(0),r=t,r||(r=u>f?"next":u<f?"prev":"reset"),i.emit("transitionEnd"),n&&u!==f){if(r==="reset"){i.emit("slideResetTransitionEnd");return}i.emit("slideChangeTransitionEnd");r==="next"?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}function ku(n,t,i,u){var f,e,a,o,l,s;n===void 0&&(n=0);t===void 0&&(t=this.params.speed);i===void 0&&(i=!0);f=this;e=n;e<0&&(e=0);var h=f.params,v=f.snapGrid,y=f.slidesGrid,w=f.previousIndex,c=f.activeIndex,p=f.rtlTranslate;if(f.animating&&h.preventIntercationOnTransition)return!1;if(a=Math.floor(e/h.slidesPerGroup),a>=v.length&&(a=v.length-1),(c||h.initialSlide||0)===(w||0)&&i&&f.emit("beforeSlideChangeStart"),o=-v[a],f.updateProgress(o),h.normalizeSlideIndex)for(l=0;l<y.length;l+=1)-Math.floor(o*100)>=Math.floor(y[l]*100)&&(e=l);return f.initialized&&e!==c&&(!f.allowSlideNext&&o<f.translate&&o<f.minTranslate()||!f.allowSlidePrev&&o>f.translate&&o>f.maxTranslate()&&(c||0)!==e)?!1:(s=e>c?"next":e<c?"prev":"reset",p&&-o===f.translate||!p&&o===f.translate)?(f.updateActiveIndex(e),h.autoHeight&&f.updateAutoHeight(),f.updateSlidesClasses(),h.effect!=="slide"&&f.setTranslate(o),s!=="reset"&&(f.transitionStart(i,s),f.transitionEnd(i,s)),!1):(t!==0&&r.transition?(f.setTransition(t),f.setTranslate(o),f.updateActiveIndex(e),f.updateSlidesClasses(),f.emit("beforeTransitionStart",t,u),f.transitionStart(i,s),f.animating||(f.animating=!0,f.onSlideToWrapperTransitionEnd||(f.onSlideToWrapperTransitionEnd=function(n){f&&!f.destroyed&&n.target===this&&(f.$wrapperEl[0].removeEventListener("transitionend",f.onSlideToWrapperTransitionEnd),f.$wrapperEl[0].removeEventListener("webkitTransitionEnd",f.onSlideToWrapperTransitionEnd),f.transitionEnd(i,s))}),f.$wrapperEl[0].addEventListener("transitionend",f.onSlideToWrapperTransitionEnd),f.$wrapperEl[0].addEventListener("webkitTransitionEnd",f.onSlideToWrapperTransitionEnd))):(f.setTransition(0),f.setTranslate(o),f.updateActiveIndex(e),f.updateSlidesClasses(),f.emit("beforeTransitionStart",t,u),f.transitionStart(i,s),f.transitionEnd(i,s)),!0)}function du(n,t,i,r){n===void 0&&(n=0);t===void 0&&(t=this.params.speed);i===void 0&&(i=!0);var u=this,f=n;return u.params.loop&&(f+=u.loopedSlides),u.slideTo(f,t,i,r)}function gu(n,t,i){n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this,u=r.params,f=r.animating;return u.loop?f?!1:(r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft,r.slideTo(r.activeIndex+u.slidesPerGroup,n,t,i)):r.slideTo(r.activeIndex+u.slidesPerGroup,n,t,i)}function nf(n,t,i){n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this,s=r.params,h=r.animating,u=r.snapGrid,c=r.slidesGrid,l=r.rtlTranslate;if(s.loop){if(h)return!1;r.loopFix();r._clientLeft=r.$wrapperEl[0].clientLeft}var e=l?r.translate:-r.translate,a=u[u.indexOf(e)],o=u[u.indexOf(e)-1],f;return o&&(f=c.indexOf(o),f<0&&(f=r.activeIndex-1)),r.slideTo(f,n,t,i)}function tf(n,t,i){n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this;return r.slideTo(r.activeIndex,n,t,i)}function rf(n,t,i){n===void 0&&(n=this.params.speed);t===void 0&&(t=!0);var r=this,u=r.activeIndex,f=Math.floor(u/r.params.slidesPerGroup);if(f<r.snapGrid.length-1){var o=r.rtlTranslate?r.translate:-r.translate,e=r.snapGrid[f],s=r.snapGrid[f+1];o-e>(s-e)/2&&(u=r.params.slidesPerGroup)}return r.slideTo(u,n,t,i)}function uf(){var i=this,u=i.params,o=i.$wrapperEl,f=u.slidesPerView==="auto"?i.slidesPerViewDynamic():u.slidesPerView,r=i.clickedIndex,e;if(u.loop){if(i.animating)return;e=parseInt(t(i.clickedSlide).attr("data-swiper-slide-index"),10);u.centeredSlides?r<i.loopedSlides-f/2||r>i.slides.length-i.loopedSlides+f/2?(i.loopFix(),r=o.children("."+u.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+u.slideDuplicateClass+")").eq(0).index(),n.nextTick(function(){i.slideTo(r)})):i.slideTo(r):r>i.slides.length-f?(i.loopFix(),r=o.children("."+u.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+u.slideDuplicateClass+")").eq(0).index(),n.nextTick(function(){i.slideTo(r)})):i.slideTo(r)}else i.slideTo(r)}function ff(){var r=this,n=r.params,f=r.$wrapperEl,i,c,l,a,e,o,s,h;if(f.children("."+n.slideClass+"."+n.slideDuplicateClass).remove(),i=f.children("."+n.slideClass),n.loopFillGroupWithBlank&&(c=n.slidesPerGroup-i.length%n.slidesPerGroup,c!==n.slidesPerGroup)){for(l=0;l<c;l+=1)a=t(u.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass),f.append(a);i=f.children("."+n.slideClass)}for(n.slidesPerView!=="auto"||n.loopedSlides||(n.loopedSlides=i.length),r.loopedSlides=parseInt(n.loopedSlides||n.slidesPerView,10),r.loopedSlides+=n.loopAdditionalSlides,r.loopedSlides>i.length&&(r.loopedSlides=i.length),e=[],o=[],i.each(function(n,u){var f=t(u);n<r.loopedSlides&&o.push(u);n<i.length&&n>=i.length-r.loopedSlides&&e.push(u);f.attr("data-swiper-slide-index",n)}),s=0;s<o.length;s+=1)f.append(t(o[s].cloneNode(!0)).addClass(n.slideDuplicateClass));for(h=e.length-1;h>=0;h-=1)f.prepend(t(e[h].cloneNode(!0)).addClass(n.slideDuplicateClass))}function ef(){var n=this,e=n.params,t=n.activeIndex,f=n.slides,i=n.loopedSlides,l=n.allowSlidePrev,a=n.allowSlideNext,v=n.snapGrid,o=n.rtlTranslate,r,s,u,h,c;n.allowSlidePrev=!0;n.allowSlideNext=!0;s=-v[t];u=s-n.getTranslate();t<i?(r=f.length-i*3+t,r+=i,h=n.slideTo(r,0,!1,!0),h&&u!==0&&n.setTranslate((o?-n.translate:n.translate)-u)):(e.slidesPerView==="auto"&&t>=i*2||t>f.length-e.slidesPerView*2)&&(r=-f.length+t+i,r+=i,c=n.slideTo(r,0,!1,!0),c&&u!==0&&n.setTranslate((o?-n.translate:n.translate)-u));n.allowSlidePrev=l;n.allowSlideNext=a}function of(){var n=this,i=n.$wrapperEl,t=n.params,r=n.slides;i.children("."+t.slideClass+"."+t.slideDuplicateClass).remove();r.removeAttr("data-swiper-slide-index")}function sf(n){var i=this,t;r.touch||!i.params.simulateTouch||i.params.watchOverflow&&i.isLocked||(t=i.el,t.style.cursor="move",t.style.cursor=n?"-webkit-grabbing":"-webkit-grab",t.style.cursor=n?"-moz-grabbin":"-moz-grab",t.style.cursor=n?"grabbing":"grab")}function hf(){var n=this;r.touch||n.params.watchOverflow&&n.isLocked||(n.el.style.cursor="")}function cf(n){var t=this,f=t.$wrapperEl,u=t.params,i;if(u.loop&&t.loopDestroy(),typeof n=="object"&&"length"in n)for(i=0;i<n.length;i+=1)n[i]&&f.append(n[i]);else f.append(n);u.loop&&t.loopCreate();u.observer&&r.observer||t.update()}function lf(n){var t=this,u=t.params,e=t.$wrapperEl,o=t.activeIndex,f,i;if(u.loop&&t.loopDestroy(),f=o+1,typeof n=="object"&&"length"in n){for(i=0;i<n.length;i+=1)n[i]&&e.prepend(n[i]);f=o+n.length}else e.prepend(n);u.loop&&t.loopCreate();u.observer&&r.observer||t.update();t.slideTo(f,0,!1)}function af(n){var t=this,f=t.params,o=t.$wrapperEl,s=t.activeIndex,i,u,e;if(f.loop&&(t.loopDestroy(),t.slides=o.children("."+f.slideClass)),i=s,typeof n=="object"&&"length"in n){for(e=0;e<n.length;e+=1)u=n[e],t.slides[u]&&t.slides.eq(u).remove(),u<i&&(i-=1);i=Math.max(i,0)}else u=n,t.slides[u]&&t.slides.eq(u).remove(),u<i&&(i-=1),i=Math.max(i,0);f.loop&&t.loopCreate();f.observer&&r.observer||t.update();f.loop?t.slideTo(i+t.loopedSlides,0,!1):t.slideTo(i,0,!1)}function vf(){for(var t=this,i=[],n=0;n<t.slides.length;n+=1)i.push(n);t.removeSlide(i)}function yf(r){var s=this,h=s.touchEventsData,o=s.params,c=s.touches,f,l,v,a;if((!s.animating||!o.preventIntercationOnTransition)&&(f=r,f.originalEvent&&(f=f.originalEvent),h.isTouchEvent=f.type==="touchstart",h.isTouchEvent||!("which"in f)||f.which!==3)&&(!h.isTouched||!h.isMoved)){if(o.noSwiping&&t(f.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0]){s.allowClick=!0;return}(!o.swipeHandler||t(f).closest(o.swipeHandler)[0])&&((c.currentX=f.type==="touchstart"?f.targetTouches[0].pageX:f.pageX,c.currentY=f.type==="touchstart"?f.targetTouches[0].pageY:f.pageY,l=c.currentX,v=c.currentY,e.ios&&!e.cordova&&o.iOSEdgeSwipeDetection&&l<=o.iOSEdgeSwipeThreshold&&l>=i.screen.width-o.iOSEdgeSwipeThreshold)||(n.extend(h,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:undefined,startMoving:undefined}),c.startX=l,c.startY=v,h.touchStartTime=n.now(),s.allowClick=!0,s.updateSize(),s.swipeDirection=undefined,o.threshold>0&&(h.allowThresholdMove=!1),f.type!=="touchstart"&&(a=!0,t(f.target).is(h.formElements)&&(a=!1),u.activeElement&&t(u.activeElement).is(h.formElements)&&u.activeElement!==f.target&&u.activeElement.blur(),a&&s.allowTouchMove&&f.preventDefault()),s.emit("touchStart",f)))}}function pf(i){var f=this,r=f.touchEventsData,s=f.params,e=f.touches,b=f.rtlTranslate,o=i,c,l,a,v,w,h,y,p;if(o.originalEvent&&(o=o.originalEvent),!r.isTouched){r.startMoving&&r.isScrolling&&f.emit("touchMoveOpposite",o);return}if(!r.isTouchEvent||o.type!=="mousemove"){if(c=o.type==="touchmove"?o.targetTouches[0].pageX:o.pageX,l=o.type==="touchmove"?o.targetTouches[0].pageY:o.pageY,o.preventedByNestedSwiper){e.startX=c;e.startY=l;return}if(!f.allowTouchMove){f.allowClick=!1;r.isTouched&&(n.extend(e,{startX:c,startY:l,currentX:c,currentY:l}),r.touchStartTime=n.now());return}if(r.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(f.isVertical()){if(l<e.startY&&f.translate<=f.maxTranslate()||l>e.startY&&f.translate>=f.minTranslate()){r.isTouched=!1;r.isMoved=!1;return}}else if(c<e.startX&&f.translate<=f.maxTranslate()||c>e.startX&&f.translate>=f.minTranslate())return;if(r.isTouchEvent&&u.activeElement&&o.target===u.activeElement&&t(o.target).is(r.formElements)){r.isMoved=!0;f.allowClick=!1;return}if(r.allowTouchCallbacks&&f.emit("touchMove",o),!o.targetTouches||!(o.targetTouches.length>1)){if(e.currentX=c,e.currentY=l,a=e.currentX-e.startX,v=e.currentY-e.startY,typeof r.isScrolling=="undefined"&&(f.isHorizontal()&&e.currentY===e.startY||f.isVertical()&&e.currentX===e.startX?r.isScrolling=!1:a*a+v*v>=25&&(w=Math.atan2(Math.abs(v),Math.abs(a))*180/Math.PI,r.isScrolling=f.isHorizontal()?w>s.touchAngle:90-w>s.touchAngle)),r.isScrolling&&f.emit("touchMoveOpposite",o),typeof startMoving=="undefined"&&(e.currentX!==e.startX||e.currentY!==e.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(r.startMoving){if(f.allowClick=!1,o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(),r.isMoved||(s.loop&&f.loopFix(),r.startTranslate=f.getTranslate(),f.setTransition(0),f.animating&&f.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,s.grabCursor&&(f.allowSlideNext===!0||f.allowSlidePrev===!0)&&f.setGrabCursor(!0),f.emit("sliderFirstMove",o)),f.emit("sliderMove",o),r.isMoved=!0,h=f.isHorizontal()?a:v,e.diff=h,h*=s.touchRatio,b&&(h=-h),f.swipeDirection=h>0?"prev":"next",r.currentTranslate=h+r.startTranslate,y=!0,p=s.resistanceRatio,s.touchReleaseOnEdges&&(p=0),h>0&&r.currentTranslate>f.minTranslate()?(y=!1,s.resistance&&(r.currentTranslate=f.minTranslate()-1+Math.pow(-f.minTranslate()+r.startTranslate+h,p))):h<0&&r.currentTranslate<f.maxTranslate()&&(y=!1,s.resistance&&(r.currentTranslate=f.maxTranslate()+1-Math.pow(f.maxTranslate()-r.startTranslate-h,p))),y&&(o.preventedByNestedSwiper=!0),!f.allowSlideNext&&f.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!f.allowSlidePrev&&f.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),s.threshold>0)if(Math.abs(h)>s.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0;e.startX=e.currentX;e.startY=e.currentY;r.currentTranslate=r.startTranslate;e.diff=f.isHorizontal()?e.currentX-e.startX:e.currentY-e.startY;return}}else{r.currentTranslate=r.startTranslate;return}s.followFinger&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(f.updateActiveIndex(),f.updateSlidesClasses()),s.freeMode&&(r.velocities.length===0&&r.velocities.push({position:e[f.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:e[f.isHorizontal()?"currentX":"currentY"],time:n.now()})),f.updateProgress(r.currentTranslate),f.setTranslate(r.currentTranslate))}}}}function wf(t){var i=this,r=i.touchEventsData,u=i.params,ot=i.touches,nt=i.rtlTranslate,tt=i.$wrapperEl,e=i.slidesGrid,h=i.snapGrid,c=t,w,a,l,k,d,v,rt,y,p,s,g,o,ut;if(c.originalEvent&&(c=c.originalEvent),r.allowTouchCallbacks&&i.emit("touchEnd",c),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&u.grabCursor&&i.setGrabCursor(!1);r.isMoved=!1;r.startMoving=!1;return}if(u.grabCursor&&r.isMoved&&r.isTouched&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!1),w=n.now(),a=w-r.touchStartTime,i.allowClick&&(i.updateClickedSlide(c),i.emit("tap",c),a<300&&w-r.lastClickTime>300&&(r.clickTimeout&&clearTimeout(r.clickTimeout),r.clickTimeout=n.nextTick(function(){i&&!i.destroyed&&i.emit("click",c)},300)),a<300&&w-r.lastClickTime<300&&(r.clickTimeout&&clearTimeout(r.clickTimeout),i.emit("doubleTap",c))),r.lastClickTime=n.now(),n.nextTick(function(){i.destroyed||(i.allowClick=!0)}),!r.isTouched||!r.isMoved||!i.swipeDirection||ot.diff===0||r.currentTranslate===r.startTranslate){r.isTouched=!1;r.isMoved=!1;r.startMoving=!1;return}if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,l=u.followFinger?nt?i.translate:-i.translate:-r.currentTranslate,u.freeMode){if(l<-i.minTranslate()){i.slideTo(i.activeIndex);return}if(l>-i.maxTranslate()){i.slides.length<h.length?i.slideTo(h.length-1):i.slideTo(i.slides.length-1);return}if(u.freeModeMomentum){if(r.velocities.length>1){var it=r.velocities.pop(),ft=r.velocities.pop(),st=it.position-ft.position,et=it.time-ft.time;i.velocity=st/et;i.velocity/=2;Math.abs(i.velocity)<u.freeModeMinimumVelocity&&(i.velocity=0);(et>150||n.now()-it.time>300)&&(i.velocity=0)}else i.velocity=0;i.velocity*=u.freeModeMomentumVelocityRatio;r.velocities.length=0;var b=1e3*u.freeModeMomentumRatio,ht=i.velocity*b,f=i.translate+ht;if(nt&&(f=-f),k=!1,v=Math.abs(i.velocity)*20*u.freeModeMomentumBounceRatio,f<i.maxTranslate())u.freeModeMomentumBounce?(f+i.maxTranslate()<-v&&(f=i.maxTranslate()-v),d=i.maxTranslate(),k=!0,r.allowMomentumBounce=!0):f=i.maxTranslate(),u.loop&&u.centeredSlides&&(rt=!0);else if(f>i.minTranslate())u.freeModeMomentumBounce?(f-i.minTranslate()>v&&(f=i.minTranslate()+v),d=i.minTranslate(),k=!0,r.allowMomentumBounce=!0):f=i.minTranslate(),u.loop&&u.centeredSlides&&(rt=!0);else if(u.freeModeSticky){for(p=0;p<h.length;p+=1)if(h[p]>-f){y=p;break}f=Math.abs(h[y]-f)<Math.abs(h[y-1]-f)||i.swipeDirection==="next"?h[y]:h[y-1];f=-f}if(rt)i.once("transitionEnd",function(){i.loopFix()});if(i.velocity!==0)b=nt?Math.abs((-f-i.translate)/i.velocity):Math.abs((f-i.translate)/i.velocity);else if(u.freeModeSticky){i.slideToClosest();return}u.freeModeMomentumBounce&&k?(i.updateProgress(d),i.setTransition(b),i.setTranslate(f),i.transitionStart(!0,i.swipeDirection),i.animating=!0,tt.transitionEnd(function(){i&&!i.destroyed&&r.allowMomentumBounce&&(i.emit("momentumBounce"),i.setTransition(u.speed),i.setTranslate(d),tt.transitionEnd(function(){i&&!i.destroyed&&i.transitionEnd()}))})):i.velocity?(i.updateProgress(f),i.setTransition(b),i.setTranslate(f),i.transitionStart(!0,i.swipeDirection),i.animating||(i.animating=!0,tt.transitionEnd(function(){i&&!i.destroyed&&i.transitionEnd()}))):i.updateProgress(f);i.updateActiveIndex();i.updateSlidesClasses()}else if(u.freeModeSticky){i.slideToClosest();return}(!u.freeModeMomentum||a>=u.longSwipesMs)&&(i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses());return}for(s=0,g=i.slidesSizesGrid[0],o=0;o<e.length;o+=u.slidesPerGroup)typeof e[o+u.slidesPerGroup]!="undefined"?l>=e[o]&&l<e[o+u.slidesPerGroup]&&(s=o,g=e[o+u.slidesPerGroup]-e[o]):l>=e[o]&&(s=o,g=e[e.length-1]-e[e.length-2]);if(ut=(l-e[s])/g,a>u.longSwipesMs){if(!u.longSwipes){i.slideTo(i.activeIndex);return}i.swipeDirection==="next"&&(ut>=u.longSwipesRatio?i.slideTo(s+u.slidesPerGroup):i.slideTo(s));i.swipeDirection==="prev"&&(ut>1-u.longSwipesRatio?i.slideTo(s+u.slidesPerGroup):i.slideTo(s))}else{if(!u.shortSwipes){i.slideTo(i.activeIndex);return}i.swipeDirection==="next"&&i.slideTo(s+u.slidesPerGroup);i.swipeDirection==="prev"&&i.slideTo(s)}}function wt(){var n=this,t=n.params,i=n.el,r;if(!i||i.offsetWidth!==0){t.breakpoints&&n.setBreakpoint();var u=n.allowSlideNext,f=n.allowSlidePrev,e=n.snapGrid;n.allowSlideNext=!0;n.allowSlidePrev=!0;n.updateSize();n.updateSlides();t.freeMode?(r=Math.min(Math.max(n.translate,n.maxTranslate()),n.minTranslate()),n.setTranslate(r),n.updateActiveIndex(),n.updateSlidesClasses(),t.autoHeight&&n.updateAutoHeight()):(n.updateSlidesClasses(),(t.slidesPerView==="auto"||t.slidesPerView>1)&&n.isEnd&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0));n.allowSlidePrev=f;n.allowSlideNext=u;n.params.watchOverflow&&e!==n.snapGrid&&n.checkOverflow()}}function bf(n){var t=this;t.allowClick||(t.params.preventClicks&&n.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(n.stopPropagation(),n.stopImmediatePropagation()))}function kf(){var n=this,t=n.params,i=n.touchEvents,h=n.el,c=n.wrapperEl,f,o,s;n.onTouchStart=yf.bind(n);n.onTouchMove=pf.bind(n);n.onTouchEnd=wf.bind(n);n.onClick=bf.bind(n);f=t.touchEventsTarget==="container"?h:c;o=!!t.nested;!r.touch&&(r.pointerEvents||r.prefixedPointerEvents)?(f.addEventListener(i.start,n.onTouchStart,!1),u.addEventListener(i.move,n.onTouchMove,o),u.addEventListener(i.end,n.onTouchEnd,!1)):(r.touch&&(s=i.start==="touchstart"&&r.passiveListener&&t.passiveListeners?{passive:!0,capture:!1}:!1,f.addEventListener(i.start,n.onTouchStart,s),f.addEventListener(i.move,n.onTouchMove,r.passiveListener?{passive:!1,capture:o}:o),f.addEventListener(i.end,n.onTouchEnd,s)),(t.simulateTouch&&!e.ios&&!e.android||t.simulateTouch&&!r.touch&&e.ios)&&(f.addEventListener("mousedown",n.onTouchStart,!1),u.addEventListener("mousemove",n.onTouchMove,o),u.addEventListener("mouseup",n.onTouchEnd,!1)));(t.preventClicks||t.preventClicksPropagation)&&f.addEventListener("click",n.onClick,!0);n.on("resize observerUpdate",wt,!0)}function df(){var n=this,t=n.params,i=n.touchEvents,h=n.el,c=n.wrapperEl,f=t.touchEventsTarget==="container"?h:c,o=!!t.nested,s;!r.touch&&(r.pointerEvents||r.prefixedPointerEvents)?(f.removeEventListener(i.start,n.onTouchStart,!1),u.removeEventListener(i.move,n.onTouchMove,o),u.removeEventListener(i.end,n.onTouchEnd,!1)):(r.touch&&(s=i.start==="onTouchStart"&&r.passiveListener&&t.passiveListeners?{passive:!0,capture:!1}:!1,f.removeEventListener(i.start,n.onTouchStart,s),f.removeEventListener(i.move,n.onTouchMove,o),f.removeEventListener(i.end,n.onTouchEnd,s)),(t.simulateTouch&&!e.ios&&!e.android||t.simulateTouch&&!r.touch&&e.ios)&&(f.removeEventListener("mousedown",n.onTouchStart,!1),u.removeEventListener("mousemove",n.onTouchMove,o),u.removeEventListener("mouseup",n.onTouchEnd,!1)));(t.preventClicks||t.preventClicksPropagation)&&f.removeEventListener("click",n.onClick,!0);n.off("resize observerUpdate",wt)}function gf(){var t=this,s=t.activeIndex,h=t.initialized,e=t.loopedSlides,u,i,r,f,o;(e===void 0&&(e=0),u=t.params,i=u.breakpoints,i&&(!i||Object.keys(i).length!==0))&&(r=t.getBreakpoint(i),r&&t.currentBreakpoint!==r&&(f=r in i?i[r]:t.originalParams,o=u.loop&&f.slidesPerView!==u.slidesPerView,n.extend(t.params,f),n.extend(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),t.currentBreakpoint=r,o&&h&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(s-e+t.loopedSlides,0,!1)),t.emit("breakpoint",f)))}function ne(n){var r,t,u,f;if(!n)return undefined;for(r=!1,t=[],Object.keys(n).forEach(function(n){t.push(n)}),t.sort(function(n,t){return parseInt(n,10)-parseInt(t,10)}),u=0;u<t.length;u+=1)f=t[u],f>=i.innerWidth&&!r&&(r=f);return r||"max"}function te(){var i=this,u=i.classNames,t=i.params,f=i.rtl,o=i.$el,n=[];n.push(t.direction);t.freeMode&&n.push("free-mode");r.flexbox||n.push("no-flexbox");t.autoHeight&&n.push("autoheight");f&&n.push("rtl");t.slidesPerColumn>1&&n.push("multirow");e.android&&n.push("android");e.ios&&n.push("ios");a.isIE&&(r.pointerEvents||r.prefixedPointerEvents)&&n.push("wp8-"+t.direction);n.forEach(function(n){u.push(t.containerModifierClass+n)});o.addClass(u.join(" "))}function ie(){var n=this,t=n.$el,i=n.classNames;t.removeClass(i.join(" "))}function re(n,t,r,u,f,e){function s(){e&&e()}var o;n.complete&&f?s():t?(o=new i.Image,o.onload=s,o.onerror=s,u&&(o.sizes=u),r&&(o.srcset=r),t&&(o.src=t)):s()}function ue(){function r(){typeof n!="undefined"&&n!==null&&n&&!n.destroyed&&(n.imagesLoaded!==undefined&&(n.imagesLoaded+=1),n.imagesLoaded===n.imagesToLoad.length&&(n.params.updateOnImagesReady&&n.update(),n.emit("imagesReady")))}var n=this,i,t;for(n.imagesToLoad=n.$el.find("img"),i=0;i<n.imagesToLoad.length;i+=1)t=n.imagesToLoad[i],n.loadImage(t,t.currentSrc||t.getAttribute("src"),t.srcset||t.getAttribute("srcset"),t.sizes||t.getAttribute("sizes"),!0,r)}function fe(){var n=this,t=n.isLocked;n.isLocked=n.snapGrid.length===1;n.allowSlideNext=!n.isLocked;n.allowSlidePrev=!n.isLocked;t!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock");t&&t!==n.isLocked&&(n.isEnd=!1,n.navigation.update())}function ye(){var t="onwheel",n=t in u,i;return n||(i=u.createElement("div"),i.setAttribute(t,"return;"),n=typeof i[t]=="function"),!n&&u.implementation&&u.implementation.hasFeature&&u.implementation.hasFeature("","")!==!0&&(n=u.implementation.hasFeature("Events.wheel","3.0")),n}var et,u,ot,i,f,g,ht,ct,lt,at,vt,yt,pt,e,bt,kt,a,dt,gt;et=typeof document=="undefined"?{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[]}}},location:{hash:""}}:document;u=et;ot=typeof window=="undefined"?{document:u,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window;i=ot;f=function(n){for(var i=this,t=0;t<n.length;t+=1)i[t]=n[t];return i.length=n.length,this};t.fn=f.prototype;t.Class=f;t.Dom7=f;g={addClass:oi,removeClass:si,hasClass:hi,toggleClass:ci,attr:li,removeAttr:ai,data:vi,transform:yi,transition:pi,on:wi,off:bi,trigger:ki,transitionEnd:di,outerWidth:gi,outerHeight:nr,offset:tr,css:rr,each:ur,html:fr,text:er,is:or,index:sr,eq:hr,append:cr,prepend:lr,next:ar,nextAll:vr,prev:yr,prevAll:pr,parent:wr,parents:br,closest:kr,find:dr,children:gr,remove:nu,add:tu,styles:ir};Object.keys(g).forEach(function(n){t.fn[n]=g[n]});var n={deleteProps:function(n){var t=n;Object.keys(t).forEach(function(n){try{t[n]=null}catch(i){}try{delete t[n]}catch(i){}})},nextTick:function(n,t){return t===void 0&&(t=0),setTimeout(n,t)},now:function(){return Date.now()},getTranslate:function(n,t){t===void 0&&(t="x");var f,r,e,u=i.getComputedStyle(n,null);return i.WebKitCSSMatrix?(r=u.transform||u.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(function(n){return n.replace(",",".")}).join(", ")),e=new i.WebKitCSSMatrix(r==="none"?"":r)):(e=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),f=e.toString().split(",")),t==="x"&&(r=i.WebKitCSSMatrix?e.m41:f.length===16?parseFloat(f[12]):parseFloat(f[4])),t==="y"&&(r=i.WebKitCSSMatrix?e.m42:f.length===16?parseFloat(f[13]):parseFloat(f[5])),r||0},parseUrlQuery:function(n){var e={},t=n||i.location.href,r,f,u,o;if(typeof t=="string"&&t.length)for(t=t.indexOf("?")>-1?t.replace(/\S*\?/,""):"",f=t.split("&").filter(function(n){return n!==""}),o=f.length,r=0;r<o;r+=1)u=f[r].replace(/#\S+/g,"").split("="),e[decodeURIComponent(u[0])]=typeof u[1]=="undefined"?undefined:decodeURIComponent(u[1])||"";return e},isObject:function(n){return typeof n=="object"&&n!==null&&n.constructor&&n.constructor===Object},extend:function(){for(var u=[],o=arguments.length,r,f,i,s,e,c,t,h;o--;)u[o]=arguments[o];for(r=Object(u[0]),f=1;f<u.length;f+=1)if(i=u[f],i!==undefined&&i!==null)for(s=Object.keys(Object(i)),e=0,c=s.length;e<c;e+=1)t=s[e],h=Object.getOwnPropertyDescriptor(i,t),h!==undefined&&h.enumerable&&(n.isObject(r[t])&&n.isObject(i[t])?n.extend(r[t],i[t]):!n.isObject(r[t])&&n.isObject(i[t])?(r[t]={},n.extend(r[t],i[t])):r[t]=i[t]);return r}},r=function(){var n=u.createElement("div");return{touch:i.Modernizr&&i.Modernizr.touch===!0||function(){return!!("ontouchstart"in i||i.DocumentTouch&&u instanceof i.DocumentTouch)}(),pointerEvents:!!(i.navigator.pointerEnabled||i.PointerEvent),prefixedPointerEvents:!!i.navigator.msPointerEnabled,transition:function(){var t=n.style;return"transition"in t||"webkitTransition"in t||"MozTransition"in t}(),transforms3d:i.Modernizr&&i.Modernizr.csstransforms3d===!0||function(){var t=n.style;return"webkitPerspective"in t||"MozPerspective"in t||"OPerspective"in t||"MsPerspective"in t||"perspective"in t}(),flexbox:function(){for(var r=n.style,i="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),t=0;t<i.length;t+=1)if(i[t]in r)return!0;return!1}(),observer:function(){return"MutationObserver"in i||"WebkitMutationObserver"in i}(),passiveListener:function(){var n=!1,t;try{t=Object.defineProperty({},"passive",{get:function(){n=!0}});i.addEventListener("testPassiveListener",null,t)}catch(u){}return n}(),gestures:function(){return"ongesturestart"in i}()}}(),h=function(n){n===void 0&&(n={});var t=this;t.params=n;t.eventsListeners={};t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(n){t.on(n,t.params.on[n])})},st={components:{configurable:!0}};h.prototype.on=function(n,t,i){var r=this,u;return typeof t!="function"?r:(u=i?"unshift":"push",n.split(" ").forEach(function(n){r.eventsListeners[n]||(r.eventsListeners[n]=[]);r.eventsListeners[n][u](t)}),r)};h.prototype.once=function(n,t,i){function u(){for(var f=[],i=arguments.length;i--;)f[i]=arguments[i];t.apply(r,f);r.off(n,u)}var r=this;return typeof t!="function"?r:r.on(n,u,i)};h.prototype.off=function(n,t){var i=this;return i.eventsListeners?(n.split(" ").forEach(function(n){typeof t=="undefined"?i.eventsListeners[n]=[]:i.eventsListeners[n].forEach(function(r,u){r===t&&i.eventsListeners[n].splice(u,1)})}),i):i};h.prototype.emit=function(){for(var n=[],r=arguments.length,t,i,u,f,e;r--;)n[r]=arguments[r];return(t=this,!t.eventsListeners)?t:(typeof n[0]=="string"||Array.isArray(n[0])?(i=n[0],u=n.slice(1,n.length),f=t):(i=n[0].events,u=n[0].data,f=n[0].context||t),e=Array.isArray(i)?i:i.split(" "),e.forEach(function(n){if(t.eventsListeners&&t.eventsListeners[n]){var i=[];t.eventsListeners[n].forEach(function(n){i.push(n)});i.forEach(function(n){n.apply(f,u)})}}),t)};h.prototype.useModulesParams=function(t){var i=this;i.modules&&Object.keys(i.modules).forEach(function(r){var u=i.modules[r];u.params&&n.extend(t,u.params)})};h.prototype.useModules=function(n){n===void 0&&(n={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var r=t.modules[i],u=n[i]||{};r.instance&&Object.keys(r.instance).forEach(function(n){var i=r.instance[n];t[n]=typeof i=="function"?i.bind(t):i});r.on&&t.on&&Object.keys(r.on).forEach(function(n){t.on(n,r.on[n])});r.create&&r.create.bind(t)(u)})};st.components.set=function(n){var t=this;t.use&&t.use(n)};h.installModule=function(t){for(var u=[],r=arguments.length-1,i,f;r-->0;)u[r]=arguments[r+1];return i=this,i.prototype.modules||(i.prototype.modules={}),f=t.name||Object.keys(i.prototype.modules).length+"_"+n.now(),i.prototype.modules[f]=t,t.proto&&Object.keys(t.proto).forEach(function(n){i.prototype[n]=t.proto[n]}),t.static&&Object.keys(t.static).forEach(function(n){i[n]=t.static[n]}),t.install&&t.install.apply(i,u),i};h.use=function(n){for(var r=[],i=arguments.length-1,t;i-->0;)r[i]=arguments[i+1];return(t=this,Array.isArray(n))?(n.forEach(function(n){return t.installModule(n)}),t):t.installModule.apply(t,[n].concat(r))};Object.defineProperties(h,st);ht={updateSize:iu,updateSlides:ru,updateAutoHeight:uu,updateSlidesOffset:fu,updateSlidesProgress:eu,updateProgress:ou,updateSlidesClasses:su,updateActiveIndex:hu,updateClickedSlide:cu};ct={getTranslate:lu,setTranslate:au,minTranslate:vu,maxTranslate:yu};lt={setTransition:pu,transitionStart:wu,transitionEnd:bu};at={slideTo:ku,slideToLoop:du,slideNext:gu,slidePrev:nf,slideReset:tf,slideToClosest:rf,slideToClickedSlide:uf};vt={loopCreate:ff,loopFix:ef,loopDestroy:of};yt={setGrabCursor:sf,unsetGrabCursor:hf};pt={appendSlide:cf,prependSlide:lf,removeSlide:af,removeAllSlides:vf};e=function(){var t=i.navigator.userAgent,n={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:i.cordova||i.phonegap,phonegap:i.cordova||i.phonegap},s=t.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),c=t.match(/(Android);?[\s\/]+([\d.]+)?/),f=t.match(/(iPad).*OS\s([\d_]+)/),r=t.match(/(iPod)(.*OS\s([\d_]+))?/),e=!f&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),o,h;return s&&(n.os="windows",n.osVersion=s[2],n.windows=!0),c&&!s&&(n.os="android",n.osVersion=c[2],n.android=!0,n.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(f||e||r)&&(n.os="ios",n.ios=!0),e&&!r&&(n.osVersion=e[2].replace(/_/g,"."),n.iphone=!0),f&&(n.osVersion=f[2].replace(/_/g,"."),n.ipad=!0),r&&(n.osVersion=r[3]?r[3].replace(/_/g,"."):null,n.iphone=!0),n.ios&&n.osVersion&&t.indexOf("Version/")>=0&&n.osVersion.split(".")[0]==="10"&&(n.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),n.desktop=!(n.os||n.android||n.webView),n.webView=(e||f||r)&&t.match(/.*AppleWebKit(?!.*Safari)/i),n.os&&n.os==="ios"&&(o=n.osVersion.split("."),h=u.querySelector('meta[name="viewport"]'),n.minimalUi=!n.webView&&(r||e)&&(o[0]*1==7?o[1]*1>=1:o[0]*1>7)&&h&&h.getAttribute("content").indexOf("minimal-ui")>=0),n.pixelRatio=i.devicePixelRatio||1,n}();bt={attachEvents:kf,detachEvents:df};kt={setBreakpoint:gf,getBreakpoint:ne};a=function(){function n(){var n=i.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}return{isIE:!!i.navigator.userAgent.match(/Trident/g)||!!i.navigator.userAgent.match(/MSIE/g),isSafari:n(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent)}}();dt={addClasses:te,removeClasses:ie};gt={loadImage:re,preloadImages:ue};var ee={checkOverflow:fe},ni={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventIntercationOnTransition:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold: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:undefined,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,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:!0,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,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},nt={update:ht,translate:ct,transition:lt,slide:at,loop:vt,grabCursor:yt,manipulation:pt,events:bt,breakpoints:kt,checkOverflow:ee,classes:dt,images:gt},tt={},o=function(i){function u(){for(var l,h=[],a=arguments.length,o,e,f,v,s,y,c;a--;)h[a]=arguments[a];return(h.length===1&&h[0].constructor&&h[0].constructor===Object?e=h[0]:(l=h,o=l[0],e=l[1]),e||(e={}),e=n.extend({},e),o&&!e.el&&(e.el=o),i.call(this,e),Object.keys(nt).forEach(function(n){Object.keys(nt[n]).forEach(function(t){u.prototype[t]||(u.prototype[t]=nt[n][t])})}),f=this,typeof f.modules=="undefined"&&(f.modules={}),Object.keys(f.modules).forEach(function(n){var i=f.modules[n],t,r;if(i.params){if(t=Object.keys(i.params)[0],r=i.params[t],typeof r!="object")return;if(!(t in e&&"enabled"in r))return;e[t]===!0&&(e[t]={enabled:!0});typeof e[t]!="object"||"enabled"in e[t]||(e[t].enabled=!0);e[t]||(e[t]={enabled:!1})}}),v=n.extend({},ni),f.useModulesParams(v),f.params=n.extend({},v,tt,e),f.originalParams=n.extend({},f.params),f.passedParams=n.extend({},e),f.$=t,s=t(f.params.el),o=s[0],!o)?undefined:s.length>1?(y=[],s.each(function(t,i){var r=n.extend({},e,{el:i});y.push(new u(r))}),y):(o.swiper=f,s.data("swiper",f),c=s.children("."+f.params.wrapperClass),n.extend(f,{$el:s,el:o,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:t(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return f.params.direction==="horizontal"},isVertical:function(){return f.params.direction==="vertical"},rtl:o.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl",rtlTranslate:f.params.direction==="horizontal"&&(o.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl"),wrongRTL:c.css("display")==="-webkit-box",activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,progress:0,velocity:0,animating:!1,allowSlideNext:f.params.allowSlideNext,allowSlidePrev:f.params.allowSlidePrev,touchEvents:function(){var t=["touchstart","touchmove","touchend"],n=["mousedown","mousemove","mouseup"];return r.pointerEvents?n=["pointerdown","pointermove","pointerup"]:r.prefixedPointerEvents&&(n=["MSPointerDown","MSPointerMove","MSPointerUp"]),f.touchEventsTouch={start:t[0],move:t[1],end:t[2]},f.touchEventsDesktop={start:n[0],move:n[1],end:n[2]},r.touch||!f.params.simulateTouch?f.touchEventsTouch:f.touchEventsDesktop}(),touchEventsData:{isTouched:undefined,isMoved:undefined,allowTouchCallbacks:undefined,touchStartTime:undefined,isScrolling:undefined,currentTranslate:undefined,startTranslate:undefined,allowThresholdMove:undefined,formElements:"input, select, option, textarea, button, video",lastClickTime:n.now(),clickTimeout:undefined,velocities:[],allowMomentumBounce:undefined,isTouchEvent:undefined,startMoving:undefined},allowClick:!0,allowTouchMove:f.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),f.useModules(),f.params.init&&f.init(),f)}i&&(u.__proto__=i);u.prototype=Object.create(i&&i.prototype);u.prototype.constructor=u;var f={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return u.prototype.slidesPerViewDynamic=function(){var t=this,l=t.params,n=t.slides,c=t.slidesGrid,h=t.size,i=t.activeIndex,e=1,r,o,u,f,s;if(l.centeredSlides){for(r=n[i].swiperSlideSize,u=i+1;u<n.length;u+=1)n[u]&&!o&&(r+=n[u].swiperSlideSize,e+=1,r>h&&(o=!0));for(f=i-1;f>=0;f-=1)n[f]&&!o&&(r+=n[f].swiperSlideSize,e+=1,r>h&&(o=!0))}else for(s=i+1;s<n.length;s+=1)c[s]-c[i]<h&&(e+=1);return e},u.prototype.update=function(){function r(){var t=n.rtlTranslate?n.translate*-1:n.translate,i=Math.min(Math.max(t,n.maxTranslate()),n.minTranslate());n.setTranslate(i);n.updateActiveIndex();n.updateSlidesClasses()}var n=this,i,t,u;n&&!n.destroyed&&(i=n.snapGrid,t=n.params,t.breakpoints&&n.setBreakpoint(),n.updateSize(),n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.params.freeMode?(r(),n.params.autoHeight&&n.updateAutoHeight()):(u=(n.params.slidesPerView==="auto"||n.params.slidesPerView>1)&&n.isEnd&&!n.params.centeredSlides?n.slideTo(n.slides.length-1,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),u||r()),t.watchOverflow&&i!==n.snapGrid&&n.checkOverflow(),n.emit("update"))},u.prototype.init=function(){var n=this;n.initialized||(n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.params.loop&&n.loopCreate(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.setGrabCursor(),n.params.preloadImages&&n.preloadImages(),n.params.loop?n.slideTo(n.params.initialSlide+n.loopedSlides,0,n.params.runCallbacksOnInit):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit),n.attachEvents(),n.initialized=!0,n.emit("init"))},u.prototype.destroy=function(t,i){t===void 0&&(t=!0);i===void 0&&(i=!0);var r=this,u=r.params,e=r.$el,o=r.$wrapperEl,f=r.slides;return typeof r.params=="undefined"||r.destroyed?null:(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),u.loop&&r.loopDestroy(),i&&(r.removeClasses(),e.removeAttr("style"),o.removeAttr("style"),f&&f.length&&f.removeClass([u.slideVisibleClass,u.slideActiveClass,u.slideNextClass,u.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(function(n){r.off(n)}),t!==!1&&(r.$el[0].swiper=null,r.$el.data("swiper",null),n.deleteProps(r)),r.destroyed=!0,null)},u.extendDefaults=function(t){n.extend(tt,t)},f.extendedDefaults.get=function(){return tt},f.defaults.get=function(){return ni},f.Class.get=function(){return i},f.$.get=function(){return t},Object.defineProperties(u,f),u}(h),oe={name:"device",proto:{device:e},"static":{device:e}},se={name:"support",proto:{support:r},"static":{support:r}},he={name:"browser",proto:{browser:a},"static":{browser:a}},ce={name:"resize",create:function(){var t=this;n.extend(t,{resize:{resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(){var n=this;i.addEventListener("resize",n.resize.resizeHandler);i.addEventListener("orientationchange",n.resize.orientationChangeHandler)},destroy:function(){var n=this;i.removeEventListener("resize",n.resize.resizeHandler);i.removeEventListener("orientationchange",n.resize.orientationChangeHandler)}}},y={func:i.MutationObserver||i.WebkitMutationObserver,attach:function(n,t){t===void 0&&(t={});var i=this,u=y.func,r=new u(function(n){n.forEach(function(n){i.emit("observerUpdate",n)})});r.observe(n,{attributes:typeof t.attributes=="undefined"?!0:t.attributes,childList:typeof t.childList=="undefined"?!0:t.childList,characterData:typeof t.characterData=="undefined"?!0:t.characterData});i.observer.observers.push(r)},init:function(){var n=this,i,t;if(r.observer&&n.params.observer){if(n.params.observeParents)for(i=n.$el.parents(),t=0;t<i.length;t+=1)n.observer.attach(i[t]);n.observer.attach(n.$el[0],{childList:!1});n.observer.attach(n.$wrapperEl[0],{attributes:!1})}},destroy:function(){var n=this;n.observer.observers.forEach(function(n){n.disconnect()});n.observer.observers=[]}},le={name:"observer",params:{observer:!1,observeParents:!1},create:function(){var t=this;n.extend(t,{observer:{init:y.init.bind(t),attach:y.attach.bind(t),destroy:y.destroy.bind(t),observers:[]}})},on:{init:function(){var n=this;n.observer.init()},destroy:function(){var n=this;n.observer.destroy()}}},p={update:function(t){function tt(){i.updateSlides();i.updateProgress();i.updateSlidesClasses();i.lazy&&i.params.lazy.enabled&&i.lazy.load()}var i=this,v=i.params,y=v.slidesPerView,c=v.slidesPerGroup,it=v.centeredSlides,f=i.virtual,p=f.from,l=f.to,s=f.slides,rt=f.slidesGrid,nt=f.renderSlide,ut=f.offset,w,b,k,d,g,a,o,r;i.updateActiveIndex();w=i.activeIndex||0;b=i.rtlTranslate?"right":i.isHorizontal()?"left":"top";it?(k=Math.floor(y/2)+c,d=Math.floor(y/2)+c):(k=y+(c-1),d=c);var u=Math.max((w||0)-d,0),e=Math.min((w||0)+k,s.length-1),h=(i.slidesGrid[u]||0)-(i.slidesGrid[0]||0);if(n.extend(i.virtual,{from:u,to:e,offset:h,slidesGrid:i.slidesGrid}),p===u&&l===e&&!t){i.slidesGrid!==rt&&h!==ut&&i.slides.css(b,h+"px");i.updateProgress();return}if(i.params.virtual.renderExternal){i.params.virtual.renderExternal.call(i,{offset:h,from:u,to:e,slides:function(){for(var t=[],n=u;n<=e;n+=1)t.push(s[n]);return t}()});tt();return}if(g=[],a=[],t)i.$wrapperEl.find("."+i.params.slideClass).remove();else for(o=p;o<=l;o+=1)(o<u||o>e)&&i.$wrapperEl.find("."+i.params.slideClass+'[data-swiper-slide-index="'+o+'"]').remove();for(r=0;r<s.length;r+=1)r>=u&&r<=e&&(typeof l=="undefined"||t?a.push(r):(r>l&&a.push(r),r<p&&g.push(r)));a.forEach(function(n){i.$wrapperEl.append(nt(s[n],n))});g.sort(function(n,t){return n<t}).forEach(function(n){i.$wrapperEl.prepend(nt(s[n],n))});i.$wrapperEl.children(".swiper-slide").css(b,h+"px");tt()},renderSlide:function(n,i){var r=this,f=r.params.virtual,u;return f.cache&&r.virtual.cache[i]?r.virtual.cache[i]:(u=f.renderSlide?t(f.renderSlide.call(r,n,i)):t('<div class="'+r.params.slideClass+'" data-swiper-slide-index="'+i+'">'+n+"<\/div>"),u.attr("data-swiper-slide-index")||u.attr("data-swiper-slide-index",i),f.cache&&(r.virtual.cache[i]=u),u)},appendSlide:function(n){var t=this;t.virtual.slides.push(n);t.virtual.update(!0)},prependSlide:function(n){var t=this,i,r;t.virtual.slides.unshift(n);t.params.virtual.cache&&(i=t.virtual.cache,r={},Object.keys(i).forEach(function(n){r[n+1]=i[n]}),t.virtual.cache=r);t.virtual.update(!0);t.slideNext(0)}},ae={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null}},create:function(){var t=this;n.extend(t,{virtual:{update:p.update.bind(t),appendSlide:p.appendSlide.bind(t),prependSlide:p.prependSlide.bind(t),renderSlide:p.renderSlide.bind(t),slides:t.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var t=this,i;t.params.virtual.enabled&&(t.classNames.push(t.params.containerModifierClass+"virtual"),i={watchSlidesProgress:!0},n.extend(t.params,i),n.extend(t.originalParams,i),t.virtual.update())},setTranslate:function(){var n=this;n.params.virtual.enabled&&n.virtual.update()}}},it={handle:function(n){var t=this,o=t.rtlTranslate,f=n,r,c,l,h,s;if((f.originalEvent&&(f=f.originalEvent),r=f.keyCode||f.charCode,!t.allowSlideNext&&(t.isHorizontal()&&r===39||t.isVertical()&&r===40))||!t.allowSlidePrev&&(t.isHorizontal()&&r===37||t.isVertical()&&r===38))return!1;if(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey||u.activeElement&&u.activeElement.nodeName&&(u.activeElement.nodeName.toLowerCase()==="input"||u.activeElement.nodeName.toLowerCase()==="textarea"))return undefined;if(t.params.keyboard.onlyInViewport&&(r===37||r===39||r===38||r===40)){if(c=!1,t.$el.parents("."+t.params.slideClass).length>0&&t.$el.parents("."+t.params.slideActiveClass).length===0)return undefined;var a=i.innerWidth,v=i.innerHeight,e=t.$el.offset();for(o&&(e.left-=t.$el[0].scrollLeft),l=[[e.left,e.top],[e.left+t.width,e.top],[e.left,e.top+t.height],[e.left+t.width,e.top+t.height]],h=0;h<l.length;h+=1)s=l[h],s[0]>=0&&s[0]<=a&&s[1]>=0&&s[1]<=v&&(c=!0);if(!c)return undefined}return t.isHorizontal()?((r===37||r===39)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(r===39&&!o||r===37&&o)&&t.slideNext(),(r===37&&!o||r===39&&o)&&t.slidePrev()):((r===38||r===40)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),r===40&&t.slideNext(),r===38&&t.slidePrev()),t.emit("keyPress",r),undefined},enable:function(){var n=this;if(!n.keyboard.enabled){t(u).on("keydown",n.keyboard.handle);n.keyboard.enabled=!0}},disable:function(){var n=this;n.keyboard.enabled&&(t(u).off("keydown",n.keyboard.handle),n.keyboard.enabled=!1)}},ve={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var t=this;n.extend(t,{keyboard:{enabled:!1,enable:it.enable.bind(t),disable:it.disable.bind(t),handle:it.handle.bind(t)}})},on:{init:function(){var n=this;n.params.keyboard.enabled&&n.keyboard.enable()},destroy:function(){var n=this;n.keyboard.enabled&&n.keyboard.disable()}}};var c={lastScrollTime:n.now(),event:function(){return i.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":ye()?"wheel":"mousewheel"}(),normalize:function(n){var f=10,e=40,o=800,u=0,t=0,i=0,r=0;return"detail"in n&&(t=n.detail),"wheelDelta"in n&&(t=-n.wheelDelta/120),"wheelDeltaY"in n&&(t=-n.wheelDeltaY/120),"wheelDeltaX"in n&&(u=-n.wheelDeltaX/120),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(u=t,t=0),i=u*f,r=t*f,"deltaY"in n&&(r=n.deltaY),"deltaX"in n&&(i=n.deltaX),(i||r)&&n.deltaMode&&(n.deltaMode===1?(i*=e,r*=e):(i*=o,r*=o)),i&&!u&&(u=i<1?-1:1),r&&!t&&(t=r<1?-1:1),{spinX:u,spinY:t,pixelX:i,pixelY:r}},handleMouseEnter:function(){var n=this;n.mouseEntered=!0},handleMouseLeave:function(){var n=this;n.mouseEntered=!1},handle:function(t){var u=t,r=this,s=r.params.mousewheel;if(!r.mouseEntered&&!s.releaseOnEdges)return!0;u.originalEvent&&(u=u.originalEvent);var e=0,h=r.rtlTranslate?-1:1,f=c.normalize(u);if(s.forceToAxis)if(r.isHorizontal())if(Math.abs(f.pixelX)>Math.abs(f.pixelY))e=f.pixelX*h;else return!0;else if(Math.abs(f.pixelY)>Math.abs(f.pixelX))e=f.pixelY;else return!0;else e=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(e===0)return!0;if(s.invert&&(e=-e),r.params.freeMode){r.params.loop&&r.loopFix();var o=r.getTranslate()+e*s.sensitivity,l=r.isBeginning,a=r.isEnd;if(o>=r.minTranslate()&&(o=r.minTranslate()),o<=r.maxTranslate()&&(o=r.maxTranslate()),r.setTransition(0),r.setTranslate(o),r.updateProgress(),r.updateActiveIndex(),r.updateSlidesClasses(),(!l&&r.isBeginning||!a&&r.isEnd)&&r.updateSlidesClasses(),r.params.freeModeSticky&&(clearTimeout(r.mousewheel.timeout),r.mousewheel.timeout=n.nextTick(function(){r.slideToClosest()},300)),r.emit("scroll",u),r.params.autoplay&&r.params.autoplayDisableOnInteraction&&r.stopAutoplay(),o===r.minTranslate()||o===r.maxTranslate())return!0}else{if(n.now()-r.mousewheel.lastScrollTime>60)if(e<0)if(r.isEnd&&!r.params.loop||r.animating){if(s.releaseOnEdges)return!0}else r.slideNext(),r.emit("scroll",u);else if(r.isBeginning&&!r.params.loop||r.animating){if(s.releaseOnEdges)return!0}else r.slidePrev(),r.emit("scroll",u);r.mousewheel.lastScrollTime=(new i.Date).getTime()}return u.preventDefault?u.preventDefault():u.returnValue=!1,!1},enable:function(){var n=this,i;if(!c.event||n.mousewheel.enabled)return!1;i=n.$el;n.params.mousewheel.eventsTarged!=="container"&&(i=t(n.params.mousewheel.eventsTarged));i.on("mouseenter",n.mousewheel.handleMouseEnter);i.on("mouseleave",n.mousewheel.handleMouseLeave);i.on(c.event,n.mousewheel.handle);return n.mousewheel.enabled=!0,!0},disable:function(){var n=this,i;return c.event?n.mousewheel.enabled?(i=n.$el,n.params.mousewheel.eventsTarged!=="container"&&(i=t(n.params.mousewheel.eventsTarged)),i.off(c.event,n.mousewheel.handle),n.mousewheel.enabled=!1,!0):!1:!1}},pe={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var t=this;n.extend(t,{mousewheel:{enabled:!1,enable:c.enable.bind(t),disable:c.disable.bind(t),handle:c.handle.bind(t),handleMouseEnter:c.handleMouseEnter.bind(t),handleMouseLeave:c.handleMouseLeave.bind(t),lastScrollTime:n.now()}})},on:{init:function(){var n=this;n.params.mousewheel.enabled&&n.mousewheel.enable()},destroy:function(){var n=this;n.mousewheel.enabled&&n.mousewheel.disable()}}},rt={update:function(){var n=this,t=n.params.navigation;if(!n.params.loop){var u=n.navigation,i=u.$nextEl,r=u.$prevEl;r&&r.length>0&&(n.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](t.lockClass));i&&i.length>0&&(n.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](t.lockClass))}},init:function(){var i=this,r=i.params.navigation,u,f;if(r.nextEl||r.prevEl){if(r.nextEl&&(u=t(r.nextEl),i.params.uniqueNavElements&&typeof r.nextEl=="string"&&u.length>1&&i.$el.find(r.nextEl).length===1&&(u=i.$el.find(r.nextEl))),r.prevEl&&(f=t(r.prevEl),i.params.uniqueNavElements&&typeof r.prevEl=="string"&&f.length>1&&i.$el.find(r.prevEl).length===1&&(f=i.$el.find(r.prevEl))),u&&u.length>0)u.on("click",function(n){(n.preventDefault(),!i.isEnd||i.params.loop)&&i.slideNext()});if(f&&f.length>0)f.on("click",function(n){(n.preventDefault(),!i.isBeginning||i.params.loop)&&i.slidePrev()});n.extend(i.navigation,{$nextEl:u,nextEl:u&&u[0],$prevEl:f,prevEl:f&&f[0]})}},destroy:function(){var i=this,r=i.navigation,n=r.$nextEl,t=r.$prevEl;n&&n.length&&(n.off("click"),n.removeClass(i.params.navigation.disabledClass));t&&t.length&&(t.off("click"),t.removeClass(i.params.navigation.disabledClass))}},we={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var t=this;n.extend(t,{navigation:{init:rt.init.bind(t),update:rt.update.bind(t),destroy:rt.destroy.bind(t)}})},on:{init:function(){var n=this;n.navigation.init();n.navigation.update()},toEdge:function(){var n=this;n.navigation.update()},fromEdge:function(){var n=this;n.navigation.update()},destroy:function(){var n=this;n.navigation.destroy()},click:function(n){var i=this,f=i.navigation,r=f.$nextEl,u=f.$prevEl;!i.params.navigation.hideOnClick||t(n.target).is(u)||t(n.target).is(r)||(r&&r.toggleClass(i.params.navigation.hiddenClass),u&&u.toggleClass(i.params.navigation.hiddenClass))}}},w={update:function(){var n=this,d=n.rtl,i=n.params.pagination,u,e,s,l,a,v,y,h,p;if(i.el&&n.pagination.el&&n.pagination.$el&&n.pagination.$el.length!==0){var c=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,f=n.pagination.$el,r,o=n.params.loop?Math.ceil((c-n.loopedSlides*2)/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(r=Math.ceil((n.activeIndex-n.loopedSlides)/n.params.slidesPerGroup),r>c-1-n.loopedSlides*2&&(r-=c-n.loopedSlides*2),r>o-1&&(r-=o),r<0&&n.params.paginationType!=="bullets"&&(r=o+r)):r=typeof n.snapIndex!="undefined"?n.snapIndex:n.activeIndex||0,i.type==="bullets"&&n.pagination.bullets&&n.pagination.bullets.length>0){if(u=n.pagination.bullets,i.dynamicBullets&&(n.pagination.bulletSize=u.eq(0)[n.isHorizontal()?"outerWidth":"outerHeight"](!0),f.css(n.isHorizontal()?"width":"height",n.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&n.previousIndex!==undefined&&(n.pagination.dynamicBulletIndex+=r-n.previousIndex,n.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?n.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:n.pagination.dynamicBulletIndex<0&&(n.pagination.dynamicBulletIndex=0)),e=r-n.pagination.dynamicBulletIndex,s=e+(Math.min(u.length,i.dynamicMainBullets)-1),l=(s+e)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),f.length>1)u.each(function(n,u){var f=t(u),o=f.index();o===r&&f.addClass(i.bulletActiveClass);i.dynamicBullets&&(o>=e&&o<=s&&f.addClass(i.bulletActiveClass+"-main"),o===e&&f.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),o===s&&f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else if(a=u.eq(r),a.addClass(i.bulletActiveClass),i.dynamicBullets){for(v=u.eq(e),y=u.eq(s),h=e;h<=s;h+=1)u.eq(h).addClass(i.bulletActiveClass+"-main");v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev");y.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}if(i.dynamicBullets){var g=Math.min(u.length,i.dynamicMainBullets+4),nt=(n.pagination.bulletSize*g-n.pagination.bulletSize)/2-l*n.pagination.bulletSize,tt=d?"right":"left";u.css(n.isHorizontal()?tt:"top",nt+"px")}}if(i.type==="fraction"&&(f.find("."+i.currentClass).text(r+1),f.find("."+i.totalClass).text(o)),i.type==="progressbar"){p=i.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";var w=(r+1)/o,b=1,k=1;p==="horizontal"?b=w:k=w;f.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+b+") scaleY("+k+")").transition(n.params.speed)}i.type==="custom"&&i.renderCustom?(f.html(i.renderCustom(n,r+1,o)),n.emit("paginationRender",n,f[0])):n.emit("paginationUpdate",n,f[0]);f[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var t=this,n=t.params.pagination,f,u;if(n.el&&t.pagination.el&&t.pagination.$el&&t.pagination.$el.length!==0){var e=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el,i="";if(n.type==="bullets"){for(f=t.params.loop?Math.ceil((e-t.loopedSlides*2)/t.params.slidesPerGroup):t.snapGrid.length,u=0;u<f;u+=1)i+=n.renderBullet?n.renderBullet.call(t,u,n.bulletClass):"<"+n.bulletElement+' class="'+n.bulletClass+'"><\/'+n.bulletElement+">";r.html(i);t.pagination.bullets=r.find("."+n.bulletClass)}n.type==="fraction"&&(i=n.renderFraction?n.renderFraction.call(t,n.currentClass,n.totalClass):'<span class="'+n.currentClass+'"><\/span> / <span class="'+n.totalClass+'"><\/span>',r.html(i));n.type==="progressbar"&&(i=n.renderProgressbar?n.renderProgressbar.call(t,n.progressbarFillClass):'<span class="'+n.progressbarFillClass+'"><\/span>',r.html(i));n.type!=="custom"&&t.emit("paginationRender",t.pagination.$el[0])}},init:function(){var u=this,i=u.params.pagination,r;if(i.el&&(r=t(i.el),r.length!==0)){if(u.params.uniqueNavElements&&typeof i.el=="string"&&r.length>1&&u.$el.find(i.el).length===1&&(r=u.$el.find(i.el)),i.type==="bullets"&&i.clickable&&r.addClass(i.clickableClass),r.addClass(i.modifierClass+i.type),i.type==="bullets"&&i.dynamicBullets&&(r.addClass(""+i.modifierClass+i.type+"-dynamic"),u.pagination.dynamicBulletIndex=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),i.type==="progressbar"&&i.progressbarOpposite&&r.addClass(i.progressbarOppositeClass),i.clickable)r.on("click","."+i.bulletClass,function(n){n.preventDefault();var i=t(this).index()*u.params.slidesPerGroup;u.params.loop&&(i+=u.loopedSlides);u.slideTo(i)});n.extend(u.pagination,{$el:r,el:r[0]})}},destroy:function(){var n=this,t=n.params.pagination,i;t.el&&n.pagination.el&&n.pagination.$el&&n.pagination.$el.length!==0&&(i=n.pagination.$el,i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),n.pagination.bullets&&n.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass))}},be={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var t=this;n.extend(t,{pagination:{init:w.init.bind(t),render:w.render.bind(t),update:w.update.bind(t),destroy:w.destroy.bind(t),dynamicBulletIndex:0}})},on:{init:function(){var n=this;n.pagination.init();n.pagination.render();n.pagination.update()},activeIndexChange:function(){var n=this;n.params.loop?n.pagination.update():typeof n.snapIndex=="undefined"&&n.pagination.update()},snapIndexChange:function(){var n=this;n.params.loop||n.pagination.update()},slidesLengthChange:function(){var n=this;n.params.loop&&(n.pagination.render(),n.pagination.update())},snapGridLengthChange:function(){var n=this;n.params.loop||(n.pagination.render(),n.pagination.update())},destroy:function(){var n=this;n.pagination.destroy()},click:function(n){var i=this;i.params.pagination.el&&i.params.pagination.hideOnClick&&i.pagination.$el.length>0&&!t(n.target).hasClass(i.params.pagination.bulletClass)&&i.pagination.$el.toggleClass(i.params.pagination.hiddenClass)}}},s={setTranslate:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var o=t.scrollbar,h=t.rtlTranslate,c=t.progress,i=o.dragSize,e=o.trackSize,u=o.$dragEl,s=o.$el,l=t.params.scrollbar,f=i,n=(e-i)*c;h?(n=-n,n>0?(f=i-n,n=0):-n+i>e&&(f=e+n)):n<0?(f=i+n,n=0):n+i>e&&(f=e-n);t.isHorizontal()?(r.transforms3d?u.transform("translate3d("+n+"px, 0, 0)"):u.transform("translateX("+n+"px)"),u[0].style.width=f+"px"):(r.transforms3d?u.transform("translate3d(0px, "+n+"px, 0)"):u.transform("translateY("+n+"px)"),u[0].style.height=f+"px");l.hide&&(clearTimeout(t.scrollbar.timeout),s[0].style.opacity=1,t.scrollbar.timeout=setTimeout(function(){s[0].style.opacity=0;s.transition(400)},1e3))}},setTransition:function(n){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(n)},updateSize:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var i=t.scrollbar,r=i.$dragEl,u=i.$el;r[0].style.width="";r[0].style.height="";var o=t.isHorizontal()?u[0].offsetWidth:u[0].offsetHeight,f=t.size/t.virtualSize,s=f*(o/t.size),e;e=t.params.scrollbar.dragSize==="auto"?o*f:parseInt(t.params.scrollbar.dragSize,10);t.isHorizontal()?r[0].style.width=e+"px":r[0].style.height=e+"px";u[0].style.display=f>=1?"none":"";t.params.scrollbarHide&&(u[0].style.opacity=0);n.extend(i,{trackSize:o,divider:f,moveDivider:s,dragSize:e});i.$el[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}},setDragPosition:function(n){var t=this,r=t.scrollbar,o=t.rtlTranslate,s=r.$el,f=r.dragSize,h=r.trackSize,e,i,u;e=t.isHorizontal()?n.type==="touchstart"||n.type==="touchmove"?n.targetTouches[0].pageX:n.pageX||n.clientX:n.type==="touchstart"||n.type==="touchmove"?n.targetTouches[0].pageY:n.pageY||n.clientY;i=(e-s.offset()[t.isHorizontal()?"left":"top"]-f/2)/(h-f);i=Math.max(Math.min(i,1),0);o&&(i=1-i);u=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*i;t.updateProgress(u);t.setTranslate(u);t.updateActiveIndex();t.updateSlidesClasses()},onDragStart:function(n){var t=this,u=t.params.scrollbar,i=t.scrollbar,f=t.$wrapperEl,r=i.$el,e=i.$dragEl;t.scrollbar.isTouched=!0;n.preventDefault();n.stopPropagation();f.transition(100);e.transition(100);i.setDragPosition(n);clearTimeout(t.scrollbar.dragTimeout);r.transition(0);u.hide&&r.css("opacity",1);t.emit("scrollbarDragStart",n)},onDragMove:function(n){var t=this,i=t.scrollbar,r=t.$wrapperEl,u=i.$el,f=i.$dragEl;t.scrollbar.isTouched&&(n.preventDefault?n.preventDefault():n.returnValue=!1,i.setDragPosition(n),r.transition(0),u.transition(0),f.transition(0),t.emit("scrollbarDragMove",n))},onDragEnd:function(t){var i=this,r=i.params.scrollbar,f=i.scrollbar,u=f.$el;i.scrollbar.isTouched&&(i.scrollbar.isTouched=!1,r.hide&&(clearTimeout(i.scrollbar.dragTimeout),i.scrollbar.dragTimeout=n.nextTick(function(){u.css("opacity",0);u.transition(400)},1e3)),i.emit("scrollbarDragEnd",t),r.snapOnRelease&&i.slideToClosest())},enableDraggable:function(){var n=this;if(n.params.scrollbar.el){var c=n.scrollbar,o=n.touchEvents,s=n.touchEventsDesktop,f=n.params,l=c.$el,i=l[0],t=r.passiveListener&&f.passiveListener?{passive:!1,capture:!1}:!1,h=r.passiveListener&&f.passiveListener?{passive:!0,capture:!1}:!1;!r.touch&&(r.pointerEvents||r.prefixedPointerEvents)?(i.addEventListener(s.start,n.scrollbar.onDragStart,t),u.addEventListener(s.move,n.scrollbar.onDragMove,t),u.addEventListener(s.end,n.scrollbar.onDragEnd,h)):(r.touch&&(i.addEventListener(o.start,n.scrollbar.onDragStart,t),i.addEventListener(o.move,n.scrollbar.onDragMove,t),i.addEventListener(o.end,n.scrollbar.onDragEnd,h)),(f.simulateTouch&&!e.ios&&!e.android||f.simulateTouch&&!r.touch&&e.ios)&&(i.addEventListener("mousedown",n.scrollbar.onDragStart,t),u.addEventListener("mousemove",n.scrollbar.onDragMove,t),u.addEventListener("mouseup",n.scrollbar.onDragEnd,h)))}},disableDraggable:function(){var n=this;if(n.params.scrollbar.el){var c=n.scrollbar,o=n.touchEvents,s=n.touchEventsDesktop,f=n.params,l=c.$el,i=l[0],t=r.passiveListener&&f.passiveListener?{passive:!1,capture:!1}:!1,h=r.passiveListener&&f.passiveListener?{passive:!0,capture:!1}:!1;!r.touch&&(r.pointerEvents||r.prefixedPointerEvents)?(i.removeEventListener(s.start,n.scrollbar.onDragStart,t),u.removeEventListener(s.move,n.scrollbar.onDragMove,t),u.removeEventListener(s.end,n.scrollbar.onDragEnd,h)):(r.touch&&(i.removeEventListener(o.start,n.scrollbar.onDragStart,t),i.removeEventListener(o.move,n.scrollbar.onDragMove,t),i.removeEventListener(o.end,n.scrollbar.onDragEnd,h)),(f.simulateTouch&&!e.ios&&!e.android||f.simulateTouch&&!r.touch&&e.ios)&&(i.removeEventListener("mousedown",n.scrollbar.onDragStart,t),u.removeEventListener("mousemove",n.scrollbar.onDragMove,t),u.removeEventListener("mouseup",n.scrollbar.onDragEnd,h)))}},init:function(){var i=this,u;if(i.params.scrollbar.el){var e=i.scrollbar,o=i.$el,f=i.params.scrollbar,r=t(f.el);i.params.uniqueNavElements&&typeof f.el=="string"&&r.length>1&&o.find(f.el).length===1&&(r=o.find(f.el));u=r.find("."+i.params.scrollbar.dragClass);u.length===0&&(u=t('<div class="'+i.params.scrollbar.dragClass+'"><\/div>'),r.append(u));n.extend(e,{$el:r,el:r[0],$dragEl:u,dragEl:u[0]});f.draggable&&e.enableDraggable()}},destroy:function(){var n=this;n.scrollbar.disableDraggable()}},ke={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var t=this;n.extend(t,{scrollbar:{init:s.init.bind(t),destroy:s.destroy.bind(t),updateSize:s.updateSize.bind(t),setTranslate:s.setTranslate.bind(t),setTransition:s.setTransition.bind(t),enableDraggable:s.enableDraggable.bind(t),disableDraggable:s.disableDraggable.bind(t),setDragPosition:s.setDragPosition.bind(t),onDragStart:s.onDragStart.bind(t),onDragMove:s.onDragMove.bind(t),onDragEnd:s.onDragEnd.bind(t),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var n=this;n.scrollbar.init();n.scrollbar.updateSize();n.scrollbar.setTranslate()},update:function(){var n=this;n.scrollbar.updateSize()},resize:function(){var n=this;n.scrollbar.updateSize()},observerUpdate:function(){var n=this;n.scrollbar.updateSize()},setTranslate:function(){var n=this;n.scrollbar.setTranslate()},setTransition:function(n){var t=this;t.scrollbar.setTransition(n)},destroy:function(){var n=this;n.scrollbar.destroy()}}},ut={setTransform:function(n,i){var s=this,v=s.rtl,f=t(n),h=v?-1:1,c=f.attr("data-swiper-parallax")||"0",r=f.attr("data-swiper-parallax-x"),u=f.attr("data-swiper-parallax-y"),e=f.attr("data-swiper-parallax-scale"),o=f.attr("data-swiper-parallax-opacity"),l,a;r||u?(r=r||"0",u=u||"0"):s.isHorizontal()?(r=c,u="0"):(u=c,r="0");r=r.indexOf("%")>=0?parseInt(r,10)*i*h+"%":r*i*h+"px";u=u.indexOf("%")>=0?parseInt(u,10)*i+"%":u*i+"px";typeof o!="undefined"&&o!==null&&(l=o-(o-1)*(1-Math.abs(i)),f[0].style.opacity=l);typeof e=="undefined"||e===null?f.transform("translate3d("+r+", "+u+", 0px)"):(a=e-(e-1)*(1-Math.abs(i)),f.transform("translate3d("+r+", "+u+", 0px) scale("+a+")"))},setTranslate:function(){var n=this,r=n.$el,u=n.slides,i=n.progress,f=n.snapGrid;r.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,r){n.parallax.setTransform(r,i)});u.each(function(r,u){var e=u.progress;n.params.slidesPerGroup>1&&n.params.slidesPerView!=="auto"&&(e+=Math.ceil(r/2)-i*(f.length-1));e=Math.min(Math.max(e,-1),1);t(u).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,i){n.parallax.setTransform(i,e)})})},setTransition:function(n){n===void 0&&(n=this.params.speed);var i=this,r=i.$el;r.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(i,r){var u=t(r),f=parseInt(u.attr("data-swiper-parallax-duration"),10)||n;n===0&&(f=0);u.transition(f)})}},de={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var t=this;n.extend(t,{parallax:{setTransform:ut.setTransform.bind(t),setTranslate:ut.setTranslate.bind(t),setTransition:ut.setTransition.bind(t)}})},on:{beforeInit:function(){var n=this;n.params.parallax.enabled&&(n.params.watchSlidesProgress=!0)},init:function(){var n=this;n.params.parallax&&n.parallax.setTranslate()},setTranslate:function(){var n=this;n.params.parallax&&n.parallax.setTranslate()},setTransition:function(n){var t=this;t.params.parallax&&t.parallax.setTransition(n)}}},ft={getDistanceBetweenTouches:function(n){if(n.targetTouches.length<2)return 1;var t=n.targetTouches[0].pageX,i=n.targetTouches[0].pageY,r=n.targetTouches[1].pageX,u=n.targetTouches[1].pageY;return Math.sqrt(Math.pow(r-t,2)+Math.pow(u-i,2))},onGestureStart:function(n){var u=this,e=u.params.zoom,f=u.zoom,i=f.gesture;if(f.fakeGestureTouched=!1,f.fakeGestureMoved=!1,!r.gestures){if(n.type!=="touchstart"||n.type==="touchstart"&&n.targetTouches.length<2)return;f.fakeGestureTouched=!0;i.scaleStart=ft.getDistanceBetweenTouches(n)}if((!i.$slideEl||!i.$slideEl.length)&&(i.$slideEl=t(n.target).closest(".swiper-slide"),i.$slideEl.length===0&&(i.$slideEl=u.slides.eq(u.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+e.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||e.maxRatio,i.$imageWrapEl.length===0)){i.$imageEl=undefined;return}i.$imageEl.transition(0);u.zoom.isScaling=!0},onGestureChange:function(n){var u=this,f=u.params.zoom,t=u.zoom,i=t.gesture;if(!r.gestures){if(n.type!=="touchmove"||n.type==="touchmove"&&n.targetTouches.length<2)return;t.fakeGestureMoved=!0;i.scaleMove=ft.getDistanceBetweenTouches(n)}i.$imageEl&&i.$imageEl.length!==0&&(r.gestures?u.zoom.scale=n.scale*t.currentScale:t.scale=i.scaleMove/i.scaleStart*t.currentScale,t.scale>i.maxRatio&&(t.scale=i.maxRatio-1+Math.pow(t.scale-i.maxRatio+1,.5)),t.scale<f.minRatio&&(t.scale=f.minRatio+1-Math.pow(f.minRatio-t.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+t.scale+")"))},onGestureEnd:function(n){var u=this,f=u.params.zoom,t=u.zoom,i=t.gesture;if(!r.gestures){if(!t.fakeGestureTouched||!t.fakeGestureMoved)return;if(n.type!=="touchend"||n.type==="touchend"&&n.changedTouches.length<2&&!e.android)return;t.fakeGestureTouched=!1;t.fakeGestureMoved=!1}i.$imageEl&&i.$imageEl.length!==0&&(t.scale=Math.max(Math.min(t.scale,i.maxRatio),f.minRatio),i.$imageEl.transition(u.params.speed).transform("translate3d(0,0,0) scale("+t.scale+")"),t.currentScale=t.scale,t.isScaling=!1,t.scale===1&&(i.$slideEl=undefined))},onTouchStart:function(n){var u=this,i=u.zoom,r=i.gesture,t=i.image;r.$imageEl&&r.$imageEl.length!==0&&(t.isTouched||(e.android&&n.preventDefault(),t.isTouched=!0,t.touchesStart.x=n.type==="touchstart"?n.targetTouches[0].pageX:n.pageX,t.touchesStart.y=n.type==="touchstart"?n.targetTouches[0].pageY:n.pageY))},onTouchMove:function(t){var e=this,f=e.zoom,u=f.gesture,i=f.image,r=f.velocity,o,s;if(u.$imageEl&&u.$imageEl.length!==0&&(e.allowClick=!1,i.isTouched&&u.$slideEl)&&(i.isMoved||(i.width=u.$imageEl[0].offsetWidth,i.height=u.$imageEl[0].offsetHeight,i.startX=n.getTranslate(u.$imageWrapEl[0],"x")||0,i.startY=n.getTranslate(u.$imageWrapEl[0],"y")||0,u.slideWidth=u.$slideEl[0].offsetWidth,u.slideHeight=u.$slideEl[0].offsetHeight,u.$imageWrapEl.transition(0),e.rtl&&(i.startX=-i.startX,i.startY=-i.startY)),o=i.width*f.scale,s=i.height*f.scale,!(o<u.slideWidth)||!(s<u.slideHeight))){if(i.minX=Math.min(u.slideWidth/2-o/2,0),i.maxX=-i.minX,i.minY=Math.min(u.slideHeight/2-s/2,0),i.maxY=-i.minY,i.touchesCurrent.x=t.type==="touchmove"?t.targetTouches[0].pageX:t.pageX,i.touchesCurrent.y=t.type==="touchmove"?t.targetTouches[0].pageY:t.pageY,!i.isMoved&&!f.isScaling){if(e.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x)){i.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y)){i.isTouched=!1;return}}t.preventDefault();t.stopPropagation();i.isMoved=!0;i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX;i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY;i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8));i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8));i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8));i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8));r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x);r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y);r.prevTime||(r.prevTime=Date.now());r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2;r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2;Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0);Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0);r.prevPositionX=i.touchesCurrent.x;r.prevPositionY=i.touchesCurrent.y;r.prevTime=Date.now();u.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTouchEnd:function(){var l=this,i=l.zoom,r=i.gesture,n=i.image,t=i.velocity,s,h,c;if(r.$imageEl&&r.$imageEl.length!==0){if(!n.isTouched||!n.isMoved){n.isTouched=!1;n.isMoved=!1;return}n.isTouched=!1;n.isMoved=!1;var u=300,f=300,a=t.x*u,e=n.currentX+a,v=t.y*f,o=n.currentY+v;t.x!==0&&(u=Math.abs((e-n.currentX)/t.x));t.y!==0&&(f=Math.abs((o-n.currentY)/t.y));s=Math.max(u,f);n.currentX=e;n.currentY=o;h=n.width*i.scale;c=n.height*i.scale;n.minX=Math.min(r.slideWidth/2-h/2,0);n.maxX=-n.minX;n.minY=Math.min(r.slideHeight/2-c/2,0);n.maxY=-n.minY;n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX);n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY);r.$imageWrapEl.transition(s).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var t=this,i=t.zoom,n=i.gesture;n.$slideEl&&t.previousIndex!==t.activeIndex&&(n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl.transform("translate3d(0,0,0)"),n.$slideEl=undefined,n.$imageEl=undefined,n.$imageWrapEl=undefined,i.scale=1,i.currentScale=1)},toggle:function(n){var i=this,t=i.zoom;t.scale&&t.scale!==1?t.out():t.in(n)},"in":function(n){var e=this,r=e.zoom,o=e.params.zoom,i=r.gesture,c=r.image,l,a,b,k,d,g,u,f,nt,tt,it,rt,s,h,v,y,p,w;(i.$slideEl||(i.$slideEl=e.clickedSlide?t(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+o.containerClass)),i.$imageEl&&i.$imageEl.length!==0)&&(i.$slideEl.addClass(""+o.zoomedSlideClass),typeof c.touchesStart.x=="undefined"&&n?(l=n.type==="touchend"?n.changedTouches[0].pageX:n.pageX,a=n.type==="touchend"?n.changedTouches[0].pageY:n.pageY):(l=c.touchesStart.x,a=c.touchesStart.y),r.scale=i.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,r.currentScale=i.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,n?(p=i.$slideEl[0].offsetWidth,w=i.$slideEl[0].offsetHeight,b=i.$slideEl.offset().left,k=i.$slideEl.offset().top,d=b+p/2-l,g=k+w/2-a,nt=i.$imageEl[0].offsetWidth,tt=i.$imageEl[0].offsetHeight,it=nt*r.scale,rt=tt*r.scale,s=Math.min(p/2-it/2,0),h=Math.min(w/2-rt/2,0),v=-s,y=-h,u=d*r.scale,f=g*r.scale,u<s&&(u=s),u>v&&(u=v),f<h&&(f=h),f>y&&(f=y)):(u=0,f=0),i.$imageWrapEl.transition(300).transform("translate3d("+u+"px, "+f+"px,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+r.scale+")"))},out:function(){var i=this,r=i.zoom,u=i.params.zoom,n=r.gesture;(n.$slideEl||(n.$slideEl=i.clickedSlide?t(i.clickedSlide):i.slides.eq(i.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+u.containerClass)),n.$imageEl&&n.$imageEl.length!==0)&&(r.scale=1,r.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+u.zoomedSlideClass),n.$slideEl=undefined)},enable:function(){var n=this,t=n.zoom,i;if(!t.enabled){if(t.enabled=!0,i=n.touchEvents.start==="touchstart"&&r.passiveListener&&n.params.passiveListeners?{passive:!0,capture:!1}:!1,r.gestures){n.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,i);n.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,i);n.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,i)}else if(n.touchEvents.start==="touchstart"){n.$wrapperEl.on(n.touchEvents.start,".swiper-slide",t.onGestureStart,i);n.$wrapperEl.on(n.touchEvents.move,".swiper-slide",t.onGestureChange,i);n.$wrapperEl.on(n.touchEvents.end,".swiper-slide",t.onGestureEnd,i)}n.$wrapperEl.on(n.touchEvents.move,"."+n.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var n=this,t=n.zoom,i;t.enabled&&(n.zoom.enabled=!1,i=n.touchEvents.start==="touchstart"&&r.passiveListener&&n.params.passiveListeners?{passive:!0,capture:!1}:!1,r.gestures?(n.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,i),n.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,i),n.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,i)):n.touchEvents.start==="touchstart"&&(n.$wrapperEl.off(n.touchEvents.start,".swiper-slide",t.onGestureStart,i),n.$wrapperEl.off(n.touchEvents.move,".swiper-slide",t.onGestureChange,i),n.$wrapperEl.off(n.touchEvents.end,".swiper-slide",t.onGestureEnd,i)),n.$wrapperEl.off(n.touchEvents.move,"."+n.params.zoom.containerClass,t.onTouchMove))}},ge={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this,i={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:undefined,slideWidth:undefined,slideHeight:undefined,$imageEl:undefined,$imageWrapEl:undefined,maxRatio:3},image:{isTouched:undefined,isMoved:undefined,currentX:undefined,currentY:undefined,minX:undefined,minY:undefined,maxX:undefined,maxY:undefined,width:undefined,height:undefined,startX:undefined,startY:undefined,touchesStart:{},touchesCurrent:{}},velocity:{x:undefined,y:undefined,prevPositionX:undefined,prevPositionY:undefined,prevTime:undefined}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(n){i[n]=ft[n].bind(t)});n.extend(t,{zoom:i})},on:{init:function(){var n=this;n.params.zoom.enabled&&n.zoom.enable()},destroy:function(){var n=this;n.zoom.disable()},touchStart:function(n){var t=this;if(t.zoom.enabled)t.zoom.onTouchStart(n)},touchEnd:function(n){var t=this;if(t.zoom.enabled)t.zoom.onTouchEnd(n)},doubleTap:function(n){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(n)},transitionEnd:function(){var n=this;n.zoom.enabled&&n.params.zoom.enabled&&n.zoom.onTransitionEnd()}}},ti={loadInSlide:function(n,i){var r,u;if((i===void 0&&(i=!0),r=this,u=r.params.lazy,typeof n!="undefined")&&r.slides.length!==0){var o=r.virtual&&r.params.virtual.enabled,f=o?r.$wrapperEl.children("."+r.params.slideClass+'[data-swiper-slide-index="'+n+'"]'):r.slides.eq(n),e=f.find("."+u.elementClass+":not(."+u.loadedClass+"):not(."+u.loadingClass+")");(!f.hasClass(u.elementClass)||f.hasClass(u.loadedClass)||f.hasClass(u.loadingClass)||(e=e.add(f[0])),e.length!==0)&&e.each(function(n,e){var o=t(e);o.addClass(u.loadingClass);var s=o.attr("data-background"),h=o.attr("data-src"),c=o.attr("data-srcset"),l=o.attr("data-sizes");r.loadImage(o[0],h||s,c,l,!1,function(){var n,t,e;typeof r!="undefined"&&r!==null&&r&&(!r||r.params)&&!r.destroyed&&(s?(o.css("background-image",'url("'+s+'")'),o.removeAttr("data-background")):(c&&(o.attr("srcset",c),o.removeAttr("data-srcset")),l&&(o.attr("sizes",l),o.removeAttr("data-sizes")),h&&(o.attr("src",h),o.removeAttr("data-src"))),o.addClass(u.loadedClass).removeClass(u.loadingClass),f.find("."+u.preloaderClass).remove(),r.params.loop&&i&&(n=f.attr("data-swiper-slide-index"),f.hasClass(r.params.slideDuplicateClass)?(t=r.$wrapperEl.children('[data-swiper-slide-index="'+n+'"]:not(.'+r.params.slideDuplicateClass+")"),r.lazy.loadInSlide(t.index(),!1)):(e=r.$wrapperEl.children("."+r.params.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]'),r.lazy.loadInSlide(e.index(),!1))),r.emit("lazyImageReady",f[0],o[0]))});r.emit("lazyImageLoad",f[0],o[0])})}},load:function(){function l(n){if(c){if(s.children("."+i.slideClass+'[data-swiper-slide-index="'+n+'"]').length)return!0}else if(p[n])return!0;return!1}function w(n){return c?t(n).attr("data-swiper-slide-index"):t(n).index()}var n=this,s=n.$wrapperEl,i=n.params,p=n.slides,r=n.activeIndex,c=n.virtual&&i.virtual.enabled,h=i.lazy,u=i.slidesPerView,f,e,o,v,y;if(u==="auto"&&(u=0),n.lazy.initialImageLoaded||(n.lazy.initialImageLoaded=!0),n.params.watchSlidesVisibility)s.children("."+i.slideVisibleClass).each(function(i,r){var u=c?t(r).attr("data-swiper-slide-index"):t(r).index();n.lazy.loadInSlide(u)});else if(u>1)for(f=r;f<r+u;f+=1)l(f)&&n.lazy.loadInSlide(f);else n.lazy.loadInSlide(r);if(h.loadPrevNext)if(u>1||h.loadPrevNextAmount&&h.loadPrevNextAmount>1){var b=h.loadPrevNextAmount,a=u,k=Math.min(r+a+Math.max(b,a),p.length),d=Math.max(r-Math.max(a,b),0);for(e=r+u;e<k;e+=1)l(e)&&n.lazy.loadInSlide(e);for(o=d;o<r;o+=1)l(o)&&n.lazy.loadInSlide(o)}else v=s.children("."+i.slideNextClass),v.length>0&&n.lazy.loadInSlide(w(v)),y=s.children("."+i.slidePrevClass),y.length>0&&n.lazy.loadInSlide(w(y))}},no={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var t=this;n.extend(t,{lazy:{initialImageLoaded:!1,load:ti.load.bind(t),loadInSlide:ti.loadInSlide.bind(t)}})},on:{beforeInit:function(){var n=this;n.params.lazy.enabled&&n.params.preloadImages&&(n.params.preloadImages=!1)},init:function(){var n=this;n.params.lazy.enabled&&!n.params.loop&&n.params.initialSlide===0&&n.lazy.load()},scroll:function(){var n=this;n.params.freeMode&&!n.params.freeModeSticky&&n.lazy.load()},resize:function(){var n=this;n.params.lazy.enabled&&n.lazy.load()},scrollbarDragMove:function(){var n=this;n.params.lazy.enabled&&n.lazy.load()},transitionStart:function(){var n=this;n.params.lazy.enabled&&(!n.params.lazy.loadOnTransitionStart&&(n.params.lazy.loadOnTransitionStart||n.lazy.initialImageLoaded)||n.lazy.load())},transitionEnd:function(){var n=this;n.params.lazy.enabled&&!n.params.lazy.loadOnTransitionStart&&n.lazy.load()}}},v={LinearSpline:function(n,t){var u=function(){var n,t,i;return function(r,u){for(t=-1,n=r.length;n-t>1;)i=n+t>>1,r[i]<=u?t=i:n=i;return n}}(),i,r;return this.x=n,this.y=t,this.lastIndex=n.length-1,this.interpolate=function(n){return n?(r=u(this.x,n),i=r-1,(n-this.x[i])*(this.y[r]-this.y[i])/(this.x[r]-this.x[i])+this.y[i]):0},this},getInterpolateFunction:function(n){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new v.LinearSpline(t.slidesGrid,n.slidesGrid):new v.LinearSpline(t.snapGrid,n.snapGrid))},setTranslate:function(n,t){function s(n){var t=i.rtlTranslate?-i.translate:i.translate;i.params.controller.by==="slide"&&(i.controller.getInterpolateFunction(n),u=-i.controller.spline.interpolate(-t));u&&i.params.controller.by!=="container"||(e=(n.maxTranslate()-n.minTranslate())/(i.maxTranslate()-i.minTranslate()),u=(t-i.minTranslate())*e+n.minTranslate());i.params.controller.inverse&&(u=n.maxTranslate()-u);n.updateProgress(u);n.setTranslate(u,i);n.updateActiveIndex();n.updateSlidesClasses()}var i=this,r=i.controller.control,e,u,f;if(Array.isArray(r))for(f=0;f<r.length;f+=1)r[f]!==t&&r[f]instanceof o&&s(r[f]);else r instanceof o&&t!==r&&s(r)},setTransition:function(n,t){function f(t){t.setTransition(n,u);n!==0&&(t.transitionStart(),t.$wrapperEl.transitionEnd(function(){i&&(t.params.loop&&u.params.controller.by==="slide"&&t.loopFix(),t.transitionEnd())}))}var u=this,i=u.controller.control,r;if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==t&&i[r]instanceof o&&f(i[r]);else i instanceof o&&t!==i&&f(i)}},to={name:"controller",params:{controller:{control:undefined,inverse:!1,by:"slide"}},create:function(){var t=this;n.extend(t,{controller:{control:t.params.controller.control,getInterpolateFunction:v.getInterpolateFunction.bind(t),setTranslate:v.setTranslate.bind(t),setTransition:v.setTransition.bind(t)}})},on:{update:function(){var n=this;n.controller.control&&n.controller.spline&&(n.controller.spline=undefined,delete n.controller.spline)},resize:function(){var n=this;n.controller.control&&n.controller.spline&&(n.controller.spline=undefined,delete n.controller.spline)},observerUpdate:function(){var n=this;n.controller.control&&n.controller.spline&&(n.controller.spline=undefined,delete n.controller.spline)},setTranslate:function(n,t){var i=this;i.controller.control&&i.controller.setTranslate(n,t)},setTransition:function(n,t){var i=this;i.controller.control&&i.controller.setTransition(n,t)}}},ii={makeElFocusable:function(n){return n.attr("tabIndex","0"),n},addElRole:function(n,t){return n.attr("role",t),n},addElLabel:function(n,t){return n.attr("aria-label",t),n},disableEl:function(n){return n.attr("aria-disabled",!0),n},enableEl:function(n){return n.attr("aria-disabled",!1),n},onEnterKey:function(n){var i=this,u=i.params.a11y,r;n.keyCode===13&&(r=t(n.target),i.navigation&&i.navigation.$nextEl&&r.is(i.navigation.$nextEl)&&(i.isEnd&&!i.params.loop||i.slideNext(),i.isEnd?i.a11y.notify(u.lastSlideMessage):i.a11y.notify(u.nextSlideMessage)),i.navigation&&i.navigation.$prevEl&&r.is(i.navigation.$prevEl)&&(i.isBeginning&&!i.params.loop||i.slidePrev(),i.isBeginning?i.a11y.notify(u.firstSlideMessage):i.a11y.notify(u.prevSlideMessage)),i.pagination&&r.is("."+i.params.pagination.bulletClass)&&r[0].click())},notify:function(n){var i=this,t=i.a11y.liveRegion;t.length!==0&&(t.html(""),t.html(n))},updateNavigation:function(){var n=this;if(!n.params.loop){var r=n.navigation,t=r.$nextEl,i=r.$prevEl;i&&i.length>0&&(n.isBeginning?n.a11y.disableEl(i):n.a11y.enableEl(i));t&&t.length>0&&(n.isEnd?n.a11y.disableEl(t):n.a11y.enableEl(t))}},updatePagination:function(){var n=this,i=n.params.a11y;n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.bullets.each(function(r,u){var f=t(u);n.a11y.makeElFocusable(f);n.a11y.addElRole(f,"button");n.a11y.addElLabel(f,i.paginationBulletMessage.replace(/{{index}}/,f.index()+1))})},init:function(){var n=this,r,t,i;if(n.$el.append(n.a11y.liveRegion),r=n.params.a11y,n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(i=n.navigation.$prevEl),t){n.a11y.makeElFocusable(t);n.a11y.addElRole(t,"button");n.a11y.addElLabel(t,r.nextSlideMessage);t.on("keydown",n.a11y.onEnterKey)}if(i){n.a11y.makeElFocusable(i);n.a11y.addElRole(i,"button");n.a11y.addElLabel(i,r.prevSlideMessage);i.on("keydown",n.a11y.onEnterKey)}if(n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length)n.pagination.$el.on("keydown","."+n.params.pagination.bulletClass,n.a11y.onEnterKey)},destroy:function(){var n=this,t,i;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove();n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl);n.navigation&&n.navigation.$prevEl&&(i=n.navigation.$prevEl);t&&t.off("keydown",n.a11y.onEnterKey);i&&i.off("keydown",n.a11y.onEnterKey);n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown","."+n.params.pagination.bulletClass,n.a11y.onEnterKey)}},io={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var i=this;n.extend(i,{a11y:{liveRegion:t('<span class="'+i.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"><\/span>')}});Object.keys(ii).forEach(function(n){i.a11y[n]=ii[n].bind(i)})},on:{init:function(){var n=this;n.params.a11y.enabled&&(n.a11y.init(),n.a11y.updateNavigation())},toEdge:function(){var n=this;n.params.a11y.enabled&&n.a11y.updateNavigation()},fromEdge:function(){var n=this;n.params.a11y.enabled&&n.a11y.updateNavigation()},paginationUpdate:function(){var n=this;n.params.a11y.enabled&&n.a11y.updatePagination()},destroy:function(){var n=this;n.params.a11y.enabled&&n.a11y.destroy()}}},l={init:function(){var n=this,t;if(n.params.history){if(!i.history||!i.history.pushState){n.params.history.enabled=!1;n.params.hashNavigation.enabled=!0;return}(t=n.history,t.initialized=!0,t.paths=l.getPathValues(),t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,n.params.runCallbacksOnInit),n.params.history.replaceState||i.addEventListener("popstate",n.history.setHistoryPopState))}},destroy:function(){var n=this;n.params.history.replaceState||i.removeEventListener("popstate",n.history.setHistoryPopState)},setHistoryPopState:function(){var n=this;n.history.paths=l.getPathValues();n.history.scrollToSlide(n.params.speed,n.history.paths.value,!1)},getPathValues:function(){var n=i.location.pathname.slice(1).split("/").filter(function(n){return n!==""}),t=n.length,r=n[t-2],u=n[t-1];return{key:r,value:u}},setHistory:function(n,t){var u=this,e,r,f;u.history.initialized&&u.params.history.enabled&&((e=u.slides.eq(t),r=l.slugify(e.attr("data-history")),i.location.pathname.includes(n)||(r=n+"/"+r),f=i.history.state,f&&f.value===r)||(u.params.history.replaceState?i.history.replaceState({value:r},null,r):i.history.pushState({value:r},null,r)))},slugify:function(n){return n.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(n,t,i){var r=this,u,e,f,o,s;if(t)for(u=0,e=r.slides.length;u<e;u+=1)f=r.slides.eq(u),o=l.slugify(f.attr("data-history")),o!==t||f.hasClass(r.params.slideDuplicateClass)||(s=f.index(),r.slideTo(s,n,i));else r.slideTo(0,n,i)}},ro={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var t=this;n.extend(t,{history:{init:l.init.bind(t),setHistory:l.setHistory.bind(t),setHistoryPopState:l.setHistoryPopState.bind(t),scrollToSlide:l.scrollToSlide.bind(t),destroy:l.destroy.bind(t)}})},on:{init:function(){var n=this;n.params.history.enabled&&n.history.init()},destroy:function(){var n=this;n.params.history.enabled&&n.history.destroy()},transitionEnd:function(){var n=this;n.history.initialized&&n.history.setHistory(n.params.history.key,n.activeIndex)}}},b={onHashCange:function(){var n=this,t=u.location.hash.replace("#",""),i=n.slides.eq(n.activeIndex).attr("data-hash");t!==i&&n.slideTo(n.$wrapperEl.children("."+n.params.slideClass+'[data-hash="'+t+'"]').index())},setHash:function(){var n=this,t,r;n.hashNavigation.initialized&&n.params.hashNavigation.enabled&&(n.params.hashNavigation.replaceState&&i.history&&i.history.replaceState?i.history.replaceState(null,null,"#"+n.slides.eq(n.activeIndex).attr("data-hash")||""):(t=n.slides.eq(n.activeIndex),r=t.attr("data-hash")||t.attr("data-history"),u.location.hash=r||""))},init:function(){var n=this,e,o,f,s,r,h,c;if(n.params.hashNavigation.enabled&&(!n.params.history||!n.params.history.enabled)){if(n.hashNavigation.initialized=!0,e=u.location.hash.replace("#",""),e)for(o=0,f=0,s=n.slides.length;f<s;f+=1)r=n.slides.eq(f),h=r.attr("data-hash")||r.attr("data-history"),h!==e||r.hasClass(n.params.slideDuplicateClass)||(c=r.index(),n.slideTo(c,o,n.params.runCallbacksOnInit,!0));if(n.params.hashNavigation.watchState)t(i).on("hashchange",n.hashNavigation.onHashCange)}},destroy:function(){var n=this;n.params.hashNavigation.watchState&&t(i).off("hashchange",n.hashNavigation.onHashCange)}},uo={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var t=this;n.extend(t,{hashNavigation:{initialized:!1,init:b.init.bind(t),destroy:b.destroy.bind(t),setHash:b.setHash.bind(t),onHashCange:b.onHashCange.bind(t)}})},on:{init:function(){var n=this;n.params.hashNavigation.enabled&&n.hashNavigation.init()},destroy:function(){var n=this;n.params.hashNavigation.enabled&&n.hashNavigation.destroy()},transitionEnd:function(){var n=this;n.hashNavigation.initialized&&n.hashNavigation.setHash()}}},k={run:function(){var t=this,i=t.slides.eq(t.activeIndex),r=t.params.autoplay.delay;i.attr("data-swiper-autoplay")&&(r=i.attr("data-swiper-autoplay")||t.params.autoplay.delay);t.autoplay.timeout=n.nextTick(function(){t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(t.slideNext(t.params.speed,!0,!0),t.emit("autoplay"))},r)},start:function(){var n=this;return typeof n.autoplay.timeout!="undefined"?!1:n.autoplay.running?!1:(n.autoplay.running=!0,n.emit("autoplayStart"),n.autoplay.run(),!0)},stop:function(){var n=this;return n.autoplay.running?typeof n.autoplay.timeout=="undefined"?!1:(n.autoplay.timeout&&(clearTimeout(n.autoplay.timeout),n.autoplay.timeout=undefined),n.autoplay.running=!1,n.emit("autoplayStop"),!0):!1},pause:function(n){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,n!==0&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},fo={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var t=this;n.extend(t,{autoplay:{running:!1,paused:!1,run:k.run.bind(t),start:k.start.bind(t),stop:k.stop.bind(t),pause:k.pause.bind(t),onTransitionEnd:function(n){t&&!t.destroyed&&t.$wrapperEl&&n.target===this&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){var n=this;n.params.autoplay.enabled&&n.autoplay.start()},beforeTransitionStart:function(n,t){var i=this;i.autoplay.running&&(t||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(n):i.autoplay.stop())},sliderFirstMove:function(){var n=this;n.autoplay.running&&(n.params.autoplay.disableOnInteraction?n.autoplay.stop():n.autoplay.pause())},destroy:function(){var n=this;n.autoplay.running&&n.autoplay.stop()}}},ri={setTranslate:function(){for(var u,f,n=this,e=n.slides,r=0;r<e.length;r+=1){var t=n.slides.eq(r),o=t[0].swiperSlideOffset,i=-o;n.params.virtualTranslate||(i-=n.translate);u=0;n.isHorizontal()||(u=i,i=0);f=n.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);t.css({opacity:f}).transform("translate3d("+i+"px, "+u+"px, 0px)")}},setTransition:function(n){var t=this,r=t.slides,u=t.$wrapperEl,i;r.transition(n);t.params.virtualTranslate&&n!==0&&(i=!1,r.transitionEnd(function(){var r,n;if(!i&&t&&!t.destroyed)for(i=!0,t.animating=!1,r=["webkitTransitionEnd","transitionend"],n=0;n<r.length;n+=1)u.trigger(r[n])}))}},eo={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var t=this;n.extend(t,{fadeEffect:{setTranslate:ri.setTranslate.bind(t),setTransition:ri.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this,i;t.params.effect==="fade"&&(t.classNames.push(t.params.containerModifierClass+"fade"),i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},n.extend(t.params,i),n.extend(t.originalParams,i))},setTranslate:function(){var n=this;n.params.effect==="fade"&&n.fadeEffect.setTranslate()},setTransition:function(n){var t=this;t.params.effect==="fade"&&t.fadeEffect.setTransition(n)}}},ui={setTranslate:function(){var n=this,nt=n.$el,k=n.$wrapperEl,tt=n.slides,d=n.width,it=n.height,g=n.rtlTranslate,i=n.size,s=n.params.cubeEffect,f=n.isHorizontal(),st=n.virtual&&n.params.virtual.enabled,c=0,r,w,u,e,h,l,ut,y,p,ot;for(s.shadow&&(f?(r=k.find(".swiper-cube-shadow"),r.length===0&&(r=t('<div class="swiper-cube-shadow"><\/div>'),k.append(r)),r.css({height:d+"px"})):(r=nt.find(".swiper-cube-shadow"),r.length===0&&(r=t('<div class="swiper-cube-shadow"><\/div>'),nt.append(r)))),w=0;w<tt.length;w+=1){u=tt.eq(w);e=w;st&&(e=parseInt(u.attr("data-swiper-slide-index"),10));h=e*90;l=Math.floor(h/360);g&&(h=-h,l=Math.floor(-h/360));var v=Math.max(Math.min(u[0].progress,1),-1),o=0,rt=0,b=0;e%4==0?(o=-l*4*i,b=0):(e-1)%4==0?(o=0,b=-l*4*i):(e-2)%4==0?(o=i+l*4*i,b=i):(e-3)%4==0&&(o=-i,b=3*i+i*4*l);g&&(o=-o);f||(rt=o,o=0);ut="rotateX("+(f?0:-h)+"deg) rotateY("+(f?h:0)+"deg) translate3d("+o+"px, "+rt+"px, "+b+"px)";v<=1&&v>-1&&(c=e*90+v*90,g&&(c=-e*90-v*90));u.transform(ut);s.slideShadows&&(y=f?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),p=f?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom"),y.length===0&&(y=t('<div class="swiper-slide-shadow-'+(f?"left":"top")+'"><\/div>'),u.append(y)),p.length===0&&(p=t('<div class="swiper-slide-shadow-'+(f?"right":"bottom")+'"><\/div>'),u.append(p)),y.length&&(y[0].style.opacity=Math.max(-v,0)),p.length&&(p[0].style.opacity=Math.max(v,0)))}if(k.css({"-webkit-transform-origin":"50% 50% -"+i/2+"px","-moz-transform-origin":"50% 50% -"+i/2+"px","-ms-transform-origin":"50% 50% -"+i/2+"px","transform-origin":"50% 50% -"+i/2+"px"}),s.shadow)if(f)r.transform("translate3d(0px, "+(d/2+s.shadowOffset)+"px, "+-d/2+"px) rotateX(90deg) rotateZ(0deg) scale("+s.shadowScale+")");else{var ft=Math.abs(c)-Math.floor(Math.abs(c)/90)*90,ht=1.5-(Math.sin(ft*2*Math.PI/360)/2+Math.cos(ft*2*Math.PI/360)/2),ct=s.shadowScale,et=s.shadowScale/ht,lt=s.shadowOffset;r.transform("scale3d("+ct+", 1, "+et+") translate3d(0px, "+(it/2+lt)+"px, "+-it/2/et+"px) rotateX(-90deg)")}ot=a.isSafari||a.isUiWebView?-i/2:0;k.transform("translate3d(0px,0,"+ot+"px) rotateX("+(n.isHorizontal()?0:c)+"deg) rotateY("+(n.isHorizontal()?-c:0)+"deg)")},setTransition:function(n){var t=this,i=t.$el,r=t.slides;r.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n);t.params.cubeEffect.shadow&&!t.isHorizontal()&&i.find(".swiper-cube-shadow").transition(n)}},oo={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var t=this;n.extend(t,{cubeEffect:{setTranslate:ui.setTranslate.bind(t),setTransition:ui.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this,i;t.params.effect==="cube"&&(t.classNames.push(t.params.containerModifierClass+"cube"),t.classNames.push(t.params.containerModifierClass+"3d"),i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0},n.extend(t.params,i),n.extend(t.originalParams,i))},setTranslate:function(){var n=this;n.params.effect==="cube"&&n.cubeEffect.setTranslate()},setTransition:function(n){var t=this;t.params.effect==="cube"&&t.cubeEffect.setTransition(n)}}},fi={setTranslate:function(){for(var n,r,u,f,i=this,o=i.slides,a=i.rtlTranslate,s=0;s<o.length;s+=1){n=o.eq(s);r=n[0].progress;i.params.flipEffect.limitRotation&&(r=Math.max(Math.min(n[0].progress,1),-1));var v=n[0].swiperSlideOffset,y=-180*r,e=y,c=0,h=-v,l=0;i.isHorizontal()?a&&(e=-e):(l=h,h=0,c=-e,e=0);n[0].style.zIndex=-Math.abs(Math.round(r))+o.length;i.params.flipEffect.slideShadows&&(u=i.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),f=i.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom"),u.length===0&&(u=t('<div class="swiper-slide-shadow-'+(i.isHorizontal()?"left":"top")+'"><\/div>'),n.append(u)),f.length===0&&(f=t('<div class="swiper-slide-shadow-'+(i.isHorizontal()?"right":"bottom")+'"><\/div>'),n.append(f)),u.length&&(u[0].style.opacity=Math.max(-r,0)),f.length&&(f[0].style.opacity=Math.max(r,0)));n.transform("translate3d("+h+"px, "+l+"px, 0px) rotateX("+c+"deg) rotateY("+e+"deg)")}},setTransition:function(n){var t=this,r=t.slides,u=t.activeIndex,f=t.$wrapperEl,i;r.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n);t.params.virtualTranslate&&n!==0&&(i=!1,r.eq(u).transitionEnd(function(){var r,n;if(!i&&t&&!t.destroyed)for(i=!0,t.animating=!1,r=["webkitTransitionEnd","transitionend"],n=0;n<r.length;n+=1)f.trigger(r[n])}))}},so={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var t=this;n.extend(t,{flipEffect:{setTranslate:fi.setTranslate.bind(t),setTransition:fi.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this,i;t.params.effect==="flip"&&(t.classNames.push(t.params.containerModifierClass+"flip"),t.classNames.push(t.params.containerModifierClass+"3d"),i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},n.extend(t.params,i),n.extend(t.originalParams,i))},setTranslate:function(){var n=this;n.params.effect==="flip"&&n.flipEffect.setTranslate()},setTransition:function(n){var t=this;t.params.effect==="flip"&&t.flipEffect.setTransition(n)}}},ei={setTranslate:function(){for(var g,o,s,nt,f=this,tt=f.width,it=f.height,p=f.slides,rt=f.$wrapperEl,ut=f.slidesSizesGrid,e=f.params.coverflowEffect,n=f.isHorizontal(),w=f.translate,b=n?-w+tt/2:-w+it/2,k=n?e.rotate:-e.rotate,ft=e.depth,h=0,et=p.length;h<et;h+=1){var u=p.eq(h),d=ut[h],ot=u[0].swiperSlideOffset,i=(b-ot-d/2)/d*e.modifier,c=n?k*i:0,l=n?0:k*i,a=-ft*Math.abs(i),v=n?0:e.stretch*i,y=n?e.stretch*i:0;Math.abs(y)<.001&&(y=0);Math.abs(v)<.001&&(v=0);Math.abs(a)<.001&&(a=0);Math.abs(c)<.001&&(c=0);Math.abs(l)<.001&&(l=0);g="translate3d("+y+"px,"+v+"px,"+a+"px) rotateX("+l+"deg) rotateY("+c+"deg)";u.transform(g);u[0].style.zIndex=-Math.abs(Math.round(i))+1;e.slideShadows&&(o=n?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),s=n?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom"),o.length===0&&(o=t('<div class="swiper-slide-shadow-'+(n?"left":"top")+'"><\/div>'),u.append(o)),s.length===0&&(s=t('<div class="swiper-slide-shadow-'+(n?"right":"bottom")+'"><\/div>'),u.append(s)),o.length&&(o[0].style.opacity=i>0?i:0),s.length&&(s[0].style.opacity=-i>0?-i:0))}(r.pointerEvents||r.prefixedPointerEvents)&&(nt=rt[0].style,nt.perspectiveOrigin=b+"px 50%")},setTransition:function(n){var t=this;t.slides.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n)}},ho={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var t=this;n.extend(t,{coverflowEffect:{setTranslate:ei.setTranslate.bind(t),setTransition:ei.setTransition.bind(t)}})},on:{beforeInit:function(){var n=this;n.params.effect==="coverflow"&&(n.classNames.push(n.params.containerModifierClass+"coverflow"),n.classNames.push(n.params.containerModifierClass+"3d"),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var n=this;n.params.effect==="coverflow"&&n.coverflowEffect.setTranslate()},setTransition:function(n){var t=this;t.params.effect==="coverflow"&&t.coverflowEffect.setTransition(n)}}},co=[oe,se,he,ce,le,ae,ve,pe,we,be,ke,de,ge,no,to,io,ro,uo,fo,eo,oo,so,ho];return typeof o.use=="undefined"&&(o.use=o.Class.use,o.installModule=o.Class.installModule),o.use(co),o});