!function(g,h){"object"==typeof exports&&"undefined"!=typeof module?module.exports=h():"function"==typeof define&&define.amd?define(h):(g=g||self).swiper=h()}(this,function(){"use strict";var g="undefined"==typeof document?{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,h="undefined"==typeof window?{document:g,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,a=function(g){for(var h=0;h=0&&f.indexof(">")>=0){var ad="div";for(0===f.indexof(":~]/)?(b||g).queryselectorall(e.trim()):[g.getelementbyid(e.trim().split("#")[1])],c=0;c0&&e[0].nodetype)for(c=0;c=0;d-=1){var bg=ae[d];y&&bg.listener===y?(f.removeeventlistener(f,bg.proxylistener,c),ae.splice(d,1)):y&&bg.listener&&bg.listener.dom7proxy&&bg.listener.dom7proxy===y?(f.removeeventlistener(f,bg.proxylistener,c),ae.splice(d,1)):y||(f.removeeventlistener(f,bg.proxylistener,c),ae.splice(d,1))}}return this},trigger:function(){for(var a=[],e=arguments.length;e--;)a[e]=arguments[e];for(var b=a[0].split(" "),y=a[1],c=0;c0}),f.dispatchevent(ad),f.dom7eventdata=[],delete f.dom7eventdata}return this},transitionend:function(g){var h,a=["webkittransitionend","transitionend"],e=this;function b(y){if(y.target===this)for(g.call(this,y),h=0;h0){if(g){var h=this.styles();return this[0].offsetwidth+parsefloat(h.getpropertyvalue("margin-right"))+parsefloat(h.getpropertyvalue("margin-left"))}return this[0].offsetwidth}return null},outerheight:function(g){if(this.length>0){if(g){var h=this.styles();return this[0].offsetheight+parsefloat(h.getpropertyvalue("margin-top"))+parsefloat(h.getpropertyvalue("margin-bottom"))}return this[0].offsetheight}return null},offset:function(){if(this.length>0){var a=this[0],e=a.getboundingclientrect(),b=g.body,y=a.clienttop||b.clienttop||0,c=a.clientleft||b.clientleft||0,h=a===h?h.scrolly:a.scrolltop,hb=a===h?h.scrollx:a.scrollleft;return{top:e.top+h-y,left:e.left+hb-c}}return null},css:function(g,a){var e;if(1===arguments.length){if("string"!=typeof g){for(e=0;ee-1?[]:g<0?(h=e+g)<0?[]:[this[h]]:[this[g]])},append:function(){for(var h,e=[],b=arguments.length;b--;)e[b]=arguments[b];for(var y=0;y=0;b-=1)this[e].insertbefore(y.childnodes[b],this[e].childnodes[0])}else if(h instanceof a)for(b=0;b0?g?this[0].nextelementsibling&&e(this[0].nextelementsibling).is(g)?new a([this[0].nextelementsibling]):new a([]):this[0].nextelementsibling?new a([this[0].nextelementsibling]):new a([]):new a([])},nextall:function(g){var h=[],b=this[0];if(!b)return new a([]);for(;b.nextelementsibling;){var y=b.nextelementsibling;g?e(y).is(g)&&h.push(y):h.push(y),b=y}return new a(h)},prev:function(g){if(this.length>0){var h=this[0];return g?h.previouselementsibling&&e(h.previouselementsibling).is(g)?new a([h.previouselementsibling]):new a([]):h.previouselementsibling?new a([h.previouselementsibling]):new a([])}return new a([])},prevall:function(g){var h=[],b=this[0];if(!b)return new a([]);for(;b.previouselementsibling;){var y=b.previouselementsibling;g?e(y).is(g)&&h.push(y):h.push(y),b=y}return new a(h)},parent:function(g){for(var h=[],a=0;a6&&(b=b.split(", ").map(function(g){return g.replace(",",".")}).join(", ")),y=new h.webkitcssmatrix("none"===b?"":b)):e=(y=c.moztransform||c.otransform||c.mstransform||c.mstransform||c.transform||c.getpropertyvalue("transform").replace("translate(","matrix(1, 0, 0, 1,")).tostring().split(","),"x"===a&&(b=h.webkitcssmatrix?y.m41:16===e.length?parsefloat(e[12]):parsefloat(e[4])),"y"===a&&(b=h.webkitcssmatrix?y.m42:16===e.length?parsefloat(e[13]):parsefloat(e[5])),b||0},parseurlquery:function(g){var a,e,b,y,c={},h=g||h.location.href;if("string"==typeof h&&h.length)for(y=(e=(h=h.indexof("?")>-1?h.replace(/\s*\?/,""):"").split("&").filter(function(g){return""!==g})).length,a=0;a0||"ontouchstart"in h||h.documenttouch&&g instanceof h.documenttouch),pointerevents:!!h.pointerevent&&"maxtouchpoints"in h.navigator&&h.navigator.maxtouchpoints>0,observer:"mutationobserver"in h||"webkitmutationobserver"in h,passivelistener:function(){var g=!1;try{var a=object.defineproperty({},"passive",{get:function(){g=!0}});h.addeventlistener("testpassivelistener",null,a)}catch(g){}return g}(),gestures:"ongesturestart"in h},hb=function(g){void 0===g&&(g={});var h=this;h.params=g,h.eventslisteners={},h.params&&h.params.on&&object.keys(h.params.on).foreach(function(g){h.on(g,h.params.on[g])})},f={components:{configurable:!0}};hb.prototype.on=function(g,h,a){var e=this;if("function"!=typeof h)return e;var b=a?"unshift":"push";return g.split(" ").foreach(function(g){e.eventslisteners[g]||(e.eventslisteners[g]=[]),e.eventslisteners[g][b](h)}),e},hb.prototype.once=function(g,h,a){var e=this;if("function"!=typeof h)return e;function b(){for(var a=[],y=arguments.length;y--;)a[y]=arguments[y];h.apply(e,a),e.off(g,b),b.f7proxy&&delete b.f7proxy}return b.f7proxy=h,e.on(g,b,a)},hb.prototype.off=function(g,h){var a=this;return a.eventslisteners?(g.split(" ").foreach(function(g){void 0===h?a.eventslisteners[g]=[]:a.eventslisteners[g]&&a.eventslisteners[g].length&&a.eventslisteners[g].foreach(function(e,b){(e===h||e.f7proxy&&e.f7proxy===h)&&a.eventslisteners[g].splice(b,1)})}),a):a},hb.prototype.emit=function(){for(var g=[],h=arguments.length;h--;)g[h]=arguments[h];var a,e,b,y=this;if(!y.eventslisteners)return y;"string"==typeof g[0]||array.isarray(g[0])?(a=g[0],e=g.slice(1,g.length),b=y):(a=g[0].events,e=g[0].data,b=g[0].context||y);var c=array.isarray(a)?a:a.split(" ");return c.foreach(function(g){if(y.eventslisteners&&y.eventslisteners[g]){var h=[];y.eventslisteners[g].foreach(function(g){h.push(g)}),h.foreach(function(g){g.apply(b,e)})}}),y},hb.prototype.usemodulesparams=function(g){var h=this;h.modules&&object.keys(h.modules).foreach(function(a){var e=h.modules[a];e.params&&c.extend(g,e.params)})},hb.prototype.usemodules=function(g){void 0===g&&(g={});var h=this;h.modules&&object.keys(h.modules).foreach(function(a){var e=h.modules[a],b=g[a]||{};e.instance&&object.keys(e.instance).foreach(function(g){var a=e.instance[g];h[g]="function"==typeof a?a.bind(h):a}),e.on&&h.on&&object.keys(e.on).foreach(function(g){h.on(g,e.on[g])}),e.create&&e.create.bind(h)(b)})},f.components.set=function(g){this.use&&this.use(g)},hb.installmodule=function(g){for(var h=[],a=arguments.length-1;a-- >0;)h[a]=arguments[a+1];var e=this;e.prototype.modules||(e.prototype.modules={});var b=g.name||object.keys(e.prototype.modules).length+"_"+c.now();return e.prototype.modules[b]=g,g.proto&&object.keys(g.proto).foreach(function(h){e.prototype[h]=g.proto[h]}),g.static&&object.keys(g.static).foreach(function(h){e[h]=g.static[h]}),g.install&&g.install.apply(e,h),e},hb.use=function(g){for(var h=[],a=arguments.length-1;a-- >0;)h[a]=arguments[a+1];var e=this;return array.isarray(g)?(g.foreach(function(g){return e.installmodule(g)}),e):e.installmodule.apply(e,[g].concat(h))},object.defineproperties(hb,f);var ad={updatesize:function(){var g,h,a=this.$el;g=void 0!==this.params.width?this.params.width:a[0].clientwidth,h=void 0!==this.params.height?this.params.height:a[0].clientheight,0===g&&this.ishorizontal()||0===h&&this.isvertical()||(g=g-parseint(a.css("padding-left"),10)-parseint(a.css("padding-right"),10),h=h-parseint(a.css("padding-top"),10)-parseint(a.css("padding-bottom"),10),c.extend(this,{width:g,height:h,size:this.ishorizontal()?g:h}))},updateslides:function(){var g=this.params,a=this.$wrapperel,e=this.size,b=this.rtltranslate,y=this.wrongrtl,h=this.virtual&&g.virtual.enabled,hb=h?this.virtual.slides.length:this.slides.length,f=a.children("."+this.params.slideclass),ad=h?this.virtual.slides.length:f.length,f=[],ae=[],d=[];function bg(h){return!g.cssmode||h!==f.length-1}var e=g.slidesoffsetbefore;"function"==typeof e&&(e=g.slidesoffsetbefore.call(this));var br=g.slidesoffsetafter;"function"==typeof br&&(br=g.slidesoffsetafter.call(this));var fn=this.snapgrid.length,fa=this.snapgrid.length,aa=g.spacebetween,by=-e,bd=0,cb=0;if(void 0!==e){var ag,dq;"string"==typeof aa&&aa.indexof("%")>=0&&(aa=parsefloat(aa.replace("%",""))/100*e),this.virtualsize=-aa,b?f.css({marginleft:"",margintop:""}):f.css({marginright:"",marginbottom:""}),g.slidespercolumn>1&&(ag=math.floor(ad/g.slidespercolumn)===ad/this.params.slidespercolumn?ad:math.ceil(ad/g.slidespercolumn)*g.slidespercolumn,"auto"!==g.slidesperview&&"row"===g.slidespercolumnfill&&(ag=math.max(ag,g.slidesperview*g.slidespercolumn)));for(var aga,j=g.slidespercolumn,ew=ag/j,ci=math.floor(ad/g.slidespercolumn),et=0;et1){var ca=void 0,ee=void 0,fc=void 0;if("row"===g.slidespercolumnfill&&g.slidespergroup>1){var gc=math.floor(et/(g.slidespergroup*g.slidespercolumn)),cw=et-g.slidespercolumn*g.slidespergroup*gc,ei=0===gc?g.slidespergroup:math.min(math.ceil((ad-gc*j*g.slidespergroup)/j),g.slidespergroup);ca=(ee=cw-(fc=math.floor(cw/ei))*ei+gc*g.slidespergroup)+fc*ag/j,dj.css({"-webkit-box-ordinal-group":ca,"-moz-box-ordinal-group":ca,"-ms-flex-order":ca,"-webkit-order":ca,order:ca})}else"column"===g.slidespercolumnfill?(fc=et-(ee=math.floor(et/j))*j,(ee>ci||ee===ci&&fc===j-1)&&(fc+=1)>=j&&(fc=0,ee+=1)):ee=et-(fc=math.floor(et/ew))*ew;dj.css("margin-"+(this.ishorizontal()?"top":"left"),0!==fc&&g.spacebetween&&g.spacebetween+"px")}if("none"!==dj.css("display")){if("auto"===g.slidesperview){var i=h.getcomputedstyle(dj[0],null),k=dj[0].style.transform,l=dj[0].style.webkittransform;if(k&&(dj[0].style.transform="none"),l&&(dj[0].style.webkittransform="none"),g.roundlengths)dq=this.ishorizontal()?dj.outerwidth(!0):dj.outerheight(!0);else if(this.ishorizontal()){var m=parsefloat(i.getpropertyvalue("width")),n=parsefloat(i.getpropertyvalue("padding-left")),o=parsefloat(i.getpropertyvalue("padding-right")),p=parsefloat(i.getpropertyvalue("margin-left")),q=parsefloat(i.getpropertyvalue("margin-right")),r=i.getpropertyvalue("box-sizing");dq=r&&"border-box"===r?m+p+q:m+n+o+p+q}else{var s=parsefloat(i.getpropertyvalue("height")),t=parsefloat(i.getpropertyvalue("padding-top")),u=parsefloat(i.getpropertyvalue("padding-bottom")),v=parsefloat(i.getpropertyvalue("margin-top")),w=parsefloat(i.getpropertyvalue("margin-bottom")),x=i.getpropertyvalue("box-sizing");dq=x&&"border-box"===x?s+v+w:s+t+u+v+w}k&&(dj[0].style.transform=k),l&&(dj[0].style.webkittransform=l),g.roundlengths&&(dq=math.floor(dq))}else dq=(e-(g.slidesperview-1)*aa)/g.slidesperview,g.roundlengths&&(dq=math.floor(dq)),f[et]&&(this.ishorizontal()?f[et].style.width=dq+"px":f[et].style.height=dq+"px");f[et]&&(f[et].swiperslidesize=dq),d.push(dq),g.centeredslides?(by=by+dq/2+bd/2+aa,0===bd&&0!==et&&(by=by-e/2-aa),0===et&&(by=by-e/2-aa),math.abs(by)<.001&&(by=0),g.roundlengths&&(by=math.floor(by)),cb%g.slidespergroup==0&&f.push(by),ae.push(by)):(g.roundlengths&&(by=math.floor(by)),cb%g.slidespergroup==0&&f.push(by),ae.push(by),by=by+dq+aa),this.virtualsize+=dq+aa,bd=dq,cb+=1}}if(this.virtualsize=math.max(this.virtualsize,e)+br,b&&y&&("slide"===g.effect||"coverflow"===g.effect)&&a.css({width:this.virtualsize+g.spacebetween+"px"}),g.setwrappersize&&(this.ishorizontal()?a.css({width:this.virtualsize+g.spacebetween+"px"}):a.css({height:this.virtualsize+g.spacebetween+"px"})),g.slidespercolumn>1&&(this.virtualsize=(dq+g.spacebetween)*ag,this.virtualsize=math.ceil(this.virtualsize/g.slidespercolumn)-g.spacebetween,this.ishorizontal()?a.css({width:this.virtualsize+g.spacebetween+"px"}):a.css({height:this.virtualsize+g.spacebetween+"px"}),g.centeredslides)){aga=[];for(var y=0;y1&&f.push(this.virtualsize-e)}if(0===f.length&&(f=[0]),0!==g.spacebetween&&(this.ishorizontal()?b?f.filter(bg).css({marginleft:aa+"px"}):f.filter(bg).css({marginright:aa+"px"}):f.filter(bg).css({marginbottom:aa+"px"})),g.centeredslides&&g.centeredslidesbounds){var c=0;d.foreach(function(h){c+=h+(g.spacebetween?g.spacebetween:0)});var d=(c-=g.spacebetween)-e;f=f.map(function(g){return g<0?-e:g>d?d+br:g})}if(g.centerinsufficientslides){var g=0;if(d.foreach(function(h){g+=h+(g.spacebetween?g.spacebetween:0)}),(g-=g.spacebetween)1)for(h=0;hthis.slides.length)break;a.push(this.slides.eq(b)[0])}else a.push(this.slides.eq(this.activeindex)[0]);for(h=0;he?y:e}e&&this.$wrapperel.css("height",e+"px")},updateslidesoffset:function(){for(var g=this.slides,h=0;h=0&&f1&&ad<=this.size||f<=0&&ad>=this.size)&&(this.visibleslides.push(h),this.visibleslidesindexes.push(c),a.eq(c).addclass(h.slidevisibleclass))}h.progress=b?-hb:hb}this.visibleslides=e(this.visibleslides)}},updateprogress:function(g){if(void 0===g){var h=this.rtltranslate?-1:1;g=this&&this.translate&&this.translate*h||0}var a=this.params,e=this.maxtranslate()-this.mintranslate(),b=this.progress,y=this.isbeginning,h=this.isend,hb=y,f=h;0===e?(b=0,y=!0,h=!0):(y=(b=(g-this.mintranslate())/e)<=0,h=b>=1),c.extend(this,{progress:b,isbeginning:y,isend:h}),(a.watchslidesprogress||a.watchslidesvisibility)&&this.updateslidesprogress(g),y&&!hb&&this.emit("reachbeginning toedge"),h&&!f&&this.emit("reachend toedge"),(hb&&!y||f&&!h)&&this.emit("fromedge"),this.emit("progress",b)},updateslidesclasses:function(){var g,h=this.slides,a=this.params,e=this.$wrapperel,b=this.activeindex,y=this.realindex,c=this.virtual&&a.virtual.enabled;h.removeclass(a.slideactiveclass+" "+a.slidenextclass+" "+a.slideprevclass+" "+a.slideduplicateactiveclass+" "+a.slideduplicatenextclass+" "+a.slideduplicateprevclass),(g=c?this.$wrapperel.find("."+a.slideclass+'[data-swiper-slide-index="'+b+'"]'):h.eq(b)).addclass(a.slideactiveclass),a.loop&&(g.hasclass(a.slideduplicateclass)?e.children("."+a.slideclass+":not(."+a.slideduplicateclass+')[data-swiper-slide-index="'+y+'"]').addclass(a.slideduplicateactiveclass):e.children("."+a.slideclass+"."+a.slideduplicateclass+'[data-swiper-slide-index="'+y+'"]').addclass(a.slideduplicateactiveclass));var h=g.nextall("."+a.slideclass).eq(0).addclass(a.slidenextclass);a.loop&&0===h.length&&(h=h.eq(0)).addclass(a.slidenextclass);var hb=g.prevall("."+a.slideclass).eq(0).addclass(a.slideprevclass);a.loop&&0===hb.length&&(hb=h.eq(-1)).addclass(a.slideprevclass),a.loop&&(h.hasclass(a.slideduplicateclass)?e.children("."+a.slideclass+":not(."+a.slideduplicateclass+')[data-swiper-slide-index="'+h.attr("data-swiper-slide-index")+'"]').addclass(a.slideduplicatenextclass):e.children("."+a.slideclass+"."+a.slideduplicateclass+'[data-swiper-slide-index="'+h.attr("data-swiper-slide-index")+'"]').addclass(a.slideduplicatenextclass),hb.hasclass(a.slideduplicateclass)?e.children("."+a.slideclass+":not(."+a.slideduplicateclass+')[data-swiper-slide-index="'+hb.attr("data-swiper-slide-index")+'"]').addclass(a.slideduplicateprevclass):e.children("."+a.slideclass+"."+a.slideduplicateclass+'[data-swiper-slide-index="'+hb.attr("data-swiper-slide-index")+'"]').addclass(a.slideduplicateprevclass))},updateactiveindex:function(g){var h,a=this.rtltranslate?this.translate:-this.translate,e=this.slidesgrid,b=this.snapgrid,y=this.params,h=this.activeindex,hb=this.realindex,f=this.snapindex,ad=g;if(void 0===ad){for(var f=0;f=e[f]&&a=e[f]&&a=e[f]&&(ad=f);y.normalizeslideindex&&(ad<0||void 0===ad)&&(ad=0)}if((h=b.indexof(a)>=0?b.indexof(a):math.floor(ad/y.slidespergroup))>=b.length&&(h=b.length-1),ad!==h){var ae=parseint(this.slides.eq(ad).attr("data-swiper-slide-index")||ad,10);c.extend(this,{snapindex:h,realindex:ae,previousindex:h,activeindex:ad}),this.emit("activeindexchange"),this.emit("snapindexchange"),hb!==ae&&this.emit("realindexchange"),(this.initialized||this.runcallbacksoninit)&&this.emit("slidechange")}else h!==f&&(this.snapindex=h,this.emit("snapindexchange"))},updateclickedslide:function(g){var h=this.params,a=e(g.target).closest("."+h.slideclass)[0],b=!1;if(a)for(var y=0;yad?ad:e&&gb?"next":ae?"next":a=hb.length&&(bg=hb.length-1),(f||h.initialslide||0)===(ad||0)&&a&&y.emit("beforeslidechangestart");var e,br=-hb[bg];if(y.updateprogress(br),h.normalizeslideindex)for(var fn=0;fn=math.floor(100*f[fn])&&(c=fn);if(y.initialized&&c!==f){if(!y.allowslidenext&&bry.translate&&br>y.maxtranslate()&&(f||0)!==c)return!1}if(e=c>f?"next":c=g&&(ae=g)}),void 0!==ae&&(f=c.indexof(ae))<0&&(f=this.activeindex-1),this.slideto(f,g,h,a)},slidereset:function(g,h,a){return void 0===g&&(g=this.params.speed),void 0===h&&(h=!0),this.slideto(this.activeindex,g,h,a)},slidetoclosest:function(g,h,a,e){void 0===g&&(g=this.params.speed),void 0===h&&(h=!0),void 0===e&&(e=.5);var b=this.activeindex,y=math.floor(b/this.params.slidespergroup),c=this.rtltranslate?this.translate:-this.translate;if(c>=this.snapgrid[y]){var h=this.snapgrid[y];c-h>(this.snapgrid[y+1]-h)*e&&(b+=this.params.slidespergroup)}else{var hb=this.snapgrid[y-1];c-hb<=(this.snapgrid[y]-hb)*e&&(b-=this.params.slidespergroup)}return b=math.max(b,0),b=math.min(b,this.snapgrid.length-1),this.slideto(b,g,h,a)},slidetoclickedslide:function(){var g,h=this,a=h.params,b=h.$wrapperel,y="auto"===a.slidesperview?h.slidesperviewdynamic():a.slidesperview,h=h.clickedindex;if(a.loop){if(h.animating)return;g=parseint(e(h.clickedslide).attr("data-swiper-slide-index"),10),a.centeredslides?hh.slides.length-h.loopedslides+y/2?(h.loopfix(),h=b.children("."+a.slideclass+'[data-swiper-slide-index="'+g+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),c.nexttick(function(){h.slideto(h)})):h.slideto(h):h>h.slides.length-y?(h.loopfix(),h=b.children("."+a.slideclass+'[data-swiper-slide-index="'+g+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),c.nexttick(function(){h.slideto(h)})):h.slideto(h)}else h.slideto(h)}};var bg={loopcreate:function(){var h=this,a=h.params,b=h.$wrapperel;b.children("."+a.slideclass+"."+a.slideduplicateclass).remove();var y=b.children("."+a.slideclass);if(a.loopfillgroupwithblank){var c=a.slidespergroup-y.length%a.slidespergroup;if(c!==a.slidespergroup){for(var h=0;hy.length&&(h.loopedslides=y.length);var f=[],ad=[];y.each(function(g,a){var b=e(a);g=y.length-h.loopedslides&&f.push(a),b.attr("data-swiper-slide-index",g)});for(var f=0;f=0;ae-=1)b.prepend(e(f[ae].clonenode(!0)).addclass(a.slideduplicateclass))},loopfix:function(){var g,h=this.activeindex,a=this.slides,e=this.loopedslides,b=this.allowslideprev,y=this.allowslidenext,c=this.snapgrid,h=this.rtltranslate;this.allowslideprev=!0,this.allowslidenext=!0;var hb=-c[h]-this.gettranslate();if(h=a.length-e){g=-a.length+h+e,g+=e,this.slideto(g,0,!1,!0)&&0!==hb&&this.settranslate((h?-this.translate:this.translate)-hb)}this.allowslideprev=b,this.allowslidenext=y},loopdestroy:function(){var g=this.$wrapperel,h=this.params,a=this.slides;g.children("."+h.slideclass+"."+h.slideduplicateclass+",."+h.slideclass+"."+h.slideblankclass).remove(),a.removeattr("data-swiper-slide-index")}};var e={setgrabcursor:function(g){if(!(h.touch||!this.params.simulatetouch||this.params.watchoverflow&&this.islocked||this.params.cssmode)){var h=this.el;h.style.cursor="move",h.style.cursor=g?"-webkit-grabbing":"-webkit-grab",h.style.cursor=g?"-moz-grabbin":"-moz-grab",h.style.cursor=g?"grabbing":"grab"}},unsetgrabcursor:function(){h.touch||this.params.watchoverflow&&this.islocked||this.params.cssmode||(this.el.style.cursor="")}};var br,fn,fa,aa,by,bd,cb,ag,dq,aga,j,ew,ci,et,dj,ca={appendslide:function(g){var h=this.$wrapperel,a=this.params;if(a.loop&&this.loopdestroy(),"object"==typeof g&&"length"in g)for(var e=0;e=y)this.appendslide(h);else{for(var c=b>g?b+1:b,hb=[],f=y-1;f>=g;f-=1){var ad=this.slides.eq(f);ad.remove(),hb.unshift(ad)}if("object"==typeof h&&"length"in h){for(var f=0;fg?b+h.length:b}else a.append(h);for(var ae=0;ae=0||fn.indexof("trident/")>=0,j=fn.indexof("edge/")>=0,ew=fn.indexof("gecko/")>=0&&fn.indexof("firefox/")>=0,ci="win32"===br,et=fn.tolowercase().indexof("electron")>=0,dj="macintel"===br,!cb&&dj&&h.touch&&(1024===aa&&1366===by||834===aa&&1194===by||834===aa&&1112===by||768===aa&&1024===by)&&(cb=fn.match(/(version)\/([\d.]+)/),dj=!1),fa.ie=aga,fa.edge=j,fa.firefox=ew,bd&&!ci&&(fa.os="android",fa.osversion=bd[2],fa.android=!0,fa.androidchrome=fn.tolowercase().indexof("chrome")>=0),(cb||dq||ag)&&(fa.os="ios",fa.ios=!0),dq&&!ag&&(fa.osversion=dq[2].replace(/_/g,"."),fa.iphone=!0),cb&&(fa.osversion=cb[2].replace(/_/g,"."),fa.ipad=!0),ag&&(fa.osversion=ag[3]?ag[3].replace(/_/g,"."):null,fa.ipod=!0),fa.ios&&fa.osversion&&fn.indexof("version/")>=0&&"10"===fa.osversion.split(".")[0]&&(fa.osversion=fn.tolowercase().split("version/")[1].split(" ")[0]),fa.webview=!(!(dq||cb||ag)||!fn.match(/.*applewebkit(?!.*safari)/i)&&!h.navigator.standalone)||h.matchmedia&&h.matchmedia("(display-mode: standalone)").matches,fa.webview=fa.webview,fa.standalone=fa.webview,fa.desktop=!(fa.ios||fa.android)||et,fa.desktop&&(fa.electron=et,fa.macos=dj,fa.windows=ci,fa.macos&&(fa.os="macos"),fa.windows&&(fa.os="windows")),fa.pixelratio=h.devicepixelratio||1,fa);function fc(a){var b=this.toucheventsdata,y=this.params,h=this.touches;if(!this.animating||!y.preventinteractionontransition){var hb=a;hb.originalevent&&(hb=hb.originalevent);var f=e(hb.target);if(("wrapper"!==y.toucheventstarget||f.closest(this.wrapperel).length)&&(b.istouchevent="touchstart"===hb.type,(b.istouchevent||!("which"in hb)||3!==hb.which)&&!(!b.istouchevent&&"button"in hb&&hb.button>0||b.istouched&&b.ismoved)))if(y.noswiping&&f.closest(y.noswipingselector?y.noswipingselector:"."+y.noswipingclass)[0])this.allowclick=!0;else if(!y.swipehandler||f.closest(y.swipehandler)[0]){h.currentx="touchstart"===hb.type?hb.targettouches[0].pagex:hb.pagex,h.currenty="touchstart"===hb.type?hb.targettouches[0].pagey:hb.pagey;var ad=h.currentx,f=h.currenty,ae=y.edgeswipedetection||y.iosedgeswipedetection,d=y.edgeswipethreshold||y.iosedgeswipethreshold;if(!ae||!(ad<=d||ad>=h.screen.width-d)){if(c.extend(b,{istouched:!0,ismoved:!1,allowtouchcallbacks:!0,isscrolling:void 0,startmoving:void 0}),h.startx=ad,h.starty=f,b.touchstarttime=c.now(),this.allowclick=!0,this.updatesize(),this.swipedirection=void 0,y.threshold>0&&(b.allowthresholdmove=!1),"touchstart"!==hb.type){var bg=!0;f.is(b.formelements)&&(bg=!1),g.activeelement&&e(g.activeelement).is(b.formelements)&&g.activeelement!==f[0]&&g.activeelement.blur();var e=bg&&this.allowtouchmove&&y.touchstartpreventdefault;(y.touchstartforcepreventdefault||e)&&hb.preventdefault()}this.emit("touchstart",hb)}}}}function gc(h){var a=this.toucheventsdata,b=this.params,y=this.touches,h=this.rtltranslate,hb=h;if(hb.originalevent&&(hb=hb.originalevent),a.istouched){if(!a.istouchevent||"mousemove"!==hb.type){var f="touchmove"===hb.type&&hb.targettouches&&(hb.targettouches[0]||hb.changedtouches[0]),ad="touchmove"===hb.type?f.pagex:hb.pagex,f="touchmove"===hb.type?f.pagey:hb.pagey;if(hb.preventedbynestedswiper)return y.startx=ad,void(y.starty=f);if(!this.allowtouchmove)return this.allowclick=!1,void(a.istouched&&(c.extend(y,{startx:ad,starty:f,currentx:ad,currenty:f}),a.touchstarttime=c.now()));if(a.istouchevent&&b.touchreleaseonedges&&!b.loop)if(this.isvertical()){if(fy.starty&&this.translate>=this.mintranslate())return a.istouched=!1,void(a.ismoved=!1)}else if(ady.startx&&this.translate>=this.mintranslate())return;if(a.istouchevent&&g.activeelement&&hb.target===g.activeelement&&e(hb.target).is(a.formelements))return a.ismoved=!0,void(this.allowclick=!1);if(a.allowtouchcallbacks&&this.emit("touchmove",hb),!(hb.targettouches&&hb.targettouches.length>1)){y.currentx=ad,y.currenty=f;var ae=y.currentx-y.startx,d=y.currenty-y.starty;if(!(this.params.threshold&&math.sqrt(math.pow(ae,2)+math.pow(d,2))=25&&(bg=180*math.atan2(math.abs(d),math.abs(ae))/math.pi,a.isscrolling=this.ishorizontal()?bg>b.touchangle:90-bg>b.touchangle);if(a.isscrolling&&this.emit("touchmoveopposite",hb),void 0===a.startmoving&&(y.currentx===y.startx&&y.currenty===y.starty||(a.startmoving=!0)),a.isscrolling)a.istouched=!1;else if(a.startmoving){this.allowclick=!1,b.cssmode||hb.preventdefault(),b.touchmovestoppropagation&&!b.nested&&hb.stoppropagation(),a.ismoved||(b.loop&&this.loopfix(),a.starttranslate=this.gettranslate(),this.settransition(0),this.animating&&this.$wrapperel.trigger("webkittransitionend transitionend"),a.allowmomentumbounce=!1,!b.grabcursor||!0!==this.allowslidenext&&!0!==this.allowslideprev||this.setgrabcursor(!0),this.emit("sliderfirstmove",hb)),this.emit("slidermove",hb),a.ismoved=!0;var e=this.ishorizontal()?ae:d;y.diff=e,e*=b.touchratio,h&&(e=-e),this.swipedirection=e>0?"prev":"next",a.currenttranslate=e+a.starttranslate;var br=!0,fn=b.resistanceratio;if(b.touchreleaseonedges&&(fn=0),e>0&&a.currenttranslate>this.mintranslate()?(br=!1,b.resistance&&(a.currenttranslate=this.mintranslate()-1+math.pow(-this.mintranslate()+a.starttranslate+e,fn))):e<0&&a.currenttranslatea.starttranslate&&(a.currenttranslate=a.starttranslate),b.threshold>0){if(!(math.abs(e)>b.threshold||a.allowthresholdmove))return void(a.currenttranslate=a.starttranslate);if(!a.allowthresholdmove)return a.allowthresholdmove=!0,y.startx=y.currentx,y.starty=y.currenty,a.currenttranslate=a.starttranslate,void(y.diff=this.ishorizontal()?y.currentx-y.startx:y.currenty-y.starty)}b.followfinger&&!b.cssmode&&((b.freemode||b.watchslidesprogress||b.watchslidesvisibility)&&(this.updateactiveindex(),this.updateslidesclasses()),b.freemode&&(0===a.velocities.length&&a.velocities.push({position:y[this.ishorizontal()?"startx":"starty"],time:a.touchstarttime}),a.velocities.push({position:y[this.ishorizontal()?"currentx":"currenty"],time:c.now()})),this.updateprogress(a.currenttranslate),this.settranslate(a.currenttranslate))}}}}}else a.startmoving&&a.isscrolling&&this.emit("touchmoveopposite",hb)}function cw(g){var h=this,a=h.toucheventsdata,e=h.params,b=h.touches,y=h.rtltranslate,h=h.$wrapperel,hb=h.slidesgrid,f=h.snapgrid,ad=g;if(ad.originalevent&&(ad=ad.originalevent),a.allowtouchcallbacks&&h.emit("touchend",ad),a.allowtouchcallbacks=!1,!a.istouched)return a.ismoved&&e.grabcursor&&h.setgrabcursor(!1),a.ismoved=!1,void(a.startmoving=!1);e.grabcursor&&a.ismoved&&a.istouched&&(!0===h.allowslidenext||!0===h.allowslideprev)&&h.setgrabcursor(!1);var f,ae=c.now(),d=ae-a.touchstarttime;if(h.allowclick&&(h.updateclickedslide(ad),h.emit("tap click",ad),d<300&&ae-a.lastclicktime<300&&h.emit("doubletap doubleclick",ad)),a.lastclicktime=c.now(),c.nexttick(function(){h.destroyed||(h.allowclick=!0)}),!a.istouched||!a.ismoved||!h.swipedirection||0===b.diff||a.currenttranslate===a.starttranslate)return a.istouched=!1,a.ismoved=!1,void(a.startmoving=!1);if(a.istouched=!1,a.ismoved=!1,a.startmoving=!1,f=e.followfinger?y?h.translate:-h.translate:-a.currenttranslate,!e.cssmode)if(e.freemode){if(f<-h.mintranslate())return void h.slideto(h.activeindex);if(f>-h.maxtranslate())return void(h.slides.length1){var bg=a.velocities.pop(),e=a.velocities.pop(),br=bg.position-e.position,fn=bg.time-e.time;h.velocity=br/fn,h.velocity/=2,math.abs(h.velocity)150||c.now()-bg.time>300)&&(h.velocity=0)}else h.velocity=0;h.velocity*=e.freemodemomentumvelocityratio,a.velocities.length=0;var fa=1e3*e.freemodemomentumratio,aa=h.velocity*fa,by=h.translate+aa;y&&(by=-by);var bd,cb,ag=!1,dq=20*math.abs(h.velocity)*e.freemodemomentumbounceratio;if(byh.mintranslate())e.freemodemomentumbounce?(by-h.mintranslate()>dq&&(by=h.mintranslate()+dq),bd=h.mintranslate(),ag=!0,a.allowmomentumbounce=!0):by=h.mintranslate(),e.loop&&e.centeredslides&&(cb=!0);else if(e.freemodesticky){for(var aga,j=0;j-by){aga=j;break}by=-(by=math.abs(f[aga]-by)=e.longswipesms)&&(h.updateprogress(),h.updateactiveindex(),h.updateslidesclasses())}else{for(var et=0,dj=h.slidessizesgrid[0],ca=0;ca=hb[ca]&&f=hb[ca]&&(et=ca,dj=hb[hb.length-1]-hb[hb.length-2]);var ee=(f-hb[et])/dj;if(d>e.longswipesms){if(!e.longswipes)return void h.slideto(h.activeindex);"next"===h.swipedirection&&(ee>=e.longswipesratio?h.slideto(et+e.slidespergroup):h.slideto(et)),"prev"===h.swipedirection&&(ee>1-e.longswipesratio?h.slideto(et+e.slidespergroup):h.slideto(et))}else{if(!e.shortswipes)return void h.slideto(h.activeindex);h.navigation&&(ad.target===h.navigation.nextel||ad.target===h.navigation.prevel)?ad.target===h.navigation.nextel?h.slideto(et+e.slidespergroup):h.slideto(et):("next"===h.swipedirection&&h.slideto(et+e.slidespergroup),"prev"===h.swipedirection&&h.slideto(et))}}}function ei(){var g=this.params,h=this.el;if(!h||0!==h.offsetwidth){g.breakpoints&&this.setbreakpoint();var a=this.allowslidenext,e=this.allowslideprev,b=this.snapgrid;this.allowslidenext=!0,this.allowslideprev=!0,this.updatesize(),this.updateslides(),this.updateslidesclasses(),("auto"===g.slidesperview||g.slidesperview>1)&&this.isend&&!this.params.centeredslides?this.slideto(this.slides.length-1,0,!1,!0):this.slideto(this.activeindex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowslideprev=e,this.allowslidenext=a,this.params.watchoverflow&&b!==this.snapgrid&&this.checkoverflow()}}function i(g){this.allowclick||(this.params.preventclicks&&g.preventdefault(),this.params.preventclickspropagation&&this.animating&&(g.stoppropagation(),g.stopimmediatepropagation()))}function k(){var g=this.wrapperel;this.previoustranslate=this.translate,this.translate=this.ishorizontal()?-g.scrollleft:-g.scrolltop,-0===this.translate&&(this.translate=0),this.updateactiveindex(),this.updateslidesclasses();var h=this.maxtranslate()-this.mintranslate();(0===h?0:(this.translate-this.mintranslate())/h)!==this.progress&&this.updateprogress(this.translate),this.emit("settranslate",this.translate,!1)}var l=!1;function m(){}var n={init:!0,direction:"horizontal",toucheventstarget:"container",initialslide:0,speed:300,cssmode:!1,preventinteractionontransition:!1,edgeswipedetection:!1,edgeswipethreshold:20,freemode:!1,freemodemomentum:!0,freemodemomentumratio:1,freemodemomentumbounce:!0,freemodemomentumbounceratio:1,freemodemomentumvelocityratio:1,freemodesticky:!1,freemodeminimumvelocity:.02,autoheight:!1,setwrappersize:!1,virtualtranslate:!1,effect:"slide",breakpoints:void 0,spacebetween:0,slidesperview:1,slidespercolumn:1,slidespercolumnfill:"column",slidespergroup:1,centeredslides:!1,centeredslidesbounds:!1,slidesoffsetbefore:0,slidesoffsetafter:0,normalizeslideindex:!0,centerinsufficientslides:!1,watchoverflow:!1,roundlengths:!1,touchratio:1,touchangle:45,simulatetouch:!0,shortswipes:!0,longswipes:!0,longswipesratio:.5,longswipesms:300,followfinger:!0,allowtouchmove:!0,threshold:0,touchmovestoppropagation:!1,touchstartpreventdefault:!0,touchstartforcepreventdefault:!1,touchreleaseonedges:!1,uniquenavelements:!0,resistance:!0,resistanceratio:.85,watchslidesprogress:!1,watchslidesvisibility:!1,grabcursor:!1,preventclicks:!0,preventclickspropagation:!0,slidetoclickedslide:!1,preloadimages:!0,updateonimagesready:!0,loop:!1,loopadditionalslides:0,loopedslides:null,loopfillgroupwithblank:!1,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},o={update:ad,translate:f,transition:ae,slide:d,loop:bg,grabcursor:e,manipulation:ca,events:{attachevents:function(){var h=this.params,a=this.touchevents,e=this.el,b=this.wrapperel;this.ontouchstart=fc.bind(this),this.ontouchmove=gc.bind(this),this.ontouchend=cw.bind(this),h.cssmode&&(this.onscroll=k.bind(this)),this.onclick=i.bind(this);var y=!!h.nested;if(!h.touch&&h.pointerevents)e.addeventlistener(a.start,this.ontouchstart,!1),g.addeventlistener(a.move,this.ontouchmove,y),g.addeventlistener(a.end,this.ontouchend,!1);else{if(h.touch){var c=!("touchstart"!==a.start||!h.passivelistener||!h.passivelisteners)&&{passive:!0,capture:!1};e.addeventlistener(a.start,this.ontouchstart,c),e.addeventlistener(a.move,this.ontouchmove,h.passivelistener?{passive:!1,capture:y}:y),e.addeventlistener(a.end,this.ontouchend,c),a.cancel&&e.addeventlistener(a.cancel,this.ontouchend,c),l||(g.addeventlistener("touchstart",m),l=!0)}(h.simulatetouch&&!ee.ios&&!ee.android||h.simulatetouch&&!h.touch&&ee.ios)&&(e.addeventlistener("mousedown",this.ontouchstart,!1),g.addeventlistener("mousemove",this.ontouchmove,y),g.addeventlistener("mouseup",this.ontouchend,!1))}(h.preventclicks||h.preventclickspropagation)&&e.addeventlistener("click",this.onclick,!0),h.cssmode&&b.addeventlistener("scroll",this.onscroll),this.on(ee.ios||ee.android?"resize orientationchange observerupdate":"resize observerupdate",ei,!0)},detachevents:function(){var h=this.params,a=this.touchevents,e=this.el,b=this.wrapperel,y=!!h.nested;if(!h.touch&&h.pointerevents)e.removeeventlistener(a.start,this.ontouchstart,!1),g.removeeventlistener(a.move,this.ontouchmove,y),g.removeeventlistener(a.end,this.ontouchend,!1);else{if(h.touch){var c=!("ontouchstart"!==a.start||!h.passivelistener||!h.passivelisteners)&&{passive:!0,capture:!1};e.removeeventlistener(a.start,this.ontouchstart,c),e.removeeventlistener(a.move,this.ontouchmove,y),e.removeeventlistener(a.end,this.ontouchend,c),a.cancel&&e.removeeventlistener(a.cancel,this.ontouchend,c)}(h.simulatetouch&&!ee.ios&&!ee.android||h.simulatetouch&&!h.touch&&ee.ios)&&(e.removeeventlistener("mousedown",this.ontouchstart,!1),g.removeeventlistener("mousemove",this.ontouchmove,y),g.removeeventlistener("mouseup",this.ontouchend,!1))}(h.preventclicks||h.preventclickspropagation)&&e.removeeventlistener("click",this.onclick,!0),h.cssmode&&b.removeeventlistener("scroll",this.onscroll),this.off(ee.ios||ee.android?"resize orientationchange observerupdate":"resize observerupdate",ei)}},breakpoints:{setbreakpoint:function(){var g=this.activeindex,h=this.initialized,a=this.loopedslides;void 0===a&&(a=0);var e=this.params,b=this.$el,y=e.breakpoints;if(y&&(!y||0!==object.keys(y).length)){var h=this.getbreakpoint(y);if(h&&this.currentbreakpoint!==h){var hb=h in y?y[h]:void 0;hb&&["slidesperview","spacebetween","slidespergroup","slidespercolumn"].foreach(function(g){var h=hb[g];void 0!==h&&(hb[g]="slidesperview"!==g||"auto"!==h&&"auto"!==h?"slidesperview"===g?parsefloat(h):parseint(h,10):"auto")});var f=hb||this.originalparams,ad=e.slidespercolumn>1,f=f.slidespercolumn>1;ad&&!f?b.removeclass(e.containermodifierclass+"multirow "+e.containermodifierclass+"multirow-column"):!ad&&f&&(b.addclass(e.containermodifierclass+"multirow"),"column"===f.slidespercolumnfill&&b.addclass(e.containermodifierclass+"multirow-column"));var ae=f.direction&&f.direction!==e.direction,d=e.loop&&(f.slidesperview!==e.slidesperview||ae);ae&&h&&this.changedirection(),c.extend(this.params,f),c.extend(this,{allowtouchmove:this.params.allowtouchmove,allowslidenext:this.params.allowslidenext,allowslideprev:this.params.allowslideprev}),this.currentbreakpoint=h,d&&h&&(this.loopdestroy(),this.loopcreate(),this.updateslides(),this.slideto(g-a+this.loopedslides,0,!1)),this.emit("breakpoint",f)}}},getbreakpoint:function(g){if(g){var a=!1,e=[];object.keys(g).foreach(function(g){e.push(g)}),e.sort(function(g,h){return parseint(g,10)-parseint(h,10)});for(var b=0;b0&&g.slidesoffsetbefore+g.spacebetween*(this.slides.length-1)+this.slides[0].offsetwidth*this.slides.length;g.slidesoffsetbefore&&g.slidesoffsetafter&&a?this.islocked=a<=this.size:this.islocked=1===this.snapgrid.length,this.allowslidenext=!this.islocked,this.allowslideprev=!this.islocked,h!==this.islocked&&this.emit(this.islocked?"lock":"unlock"),h&&h!==this.islocked&&(this.isend=!1,this.navigation.update())}},classes:{addclasses:function(){var g=this.classnames,h=this.params,a=this.rtl,e=this.$el,b=[];b.push("initialized"),b.push(h.direction),h.freemode&&b.push("free-mode"),h.autoheight&&b.push("autoheight"),a&&b.push("rtl"),h.slidespercolumn>1&&(b.push("multirow"),"column"===h.slidespercolumnfill&&b.push("multirow-column")),ee.android&&b.push("android"),ee.ios&&b.push("ios"),h.cssmode&&b.push("css-mode"),b.foreach(function(a){g.push(h.containermodifierclass+a)}),e.addclass(g.join(" "))},removeclasses:function(){var g=this.$el,h=this.classnames;g.removeclass(h.join(" "))}},images:{loadimage:function(g,a,e,b,y,c){var h;function hb(){c&&c()}g.complete&&y?hb():a?((h=new h.image).onload=hb,h.onerror=hb,b&&(h.sizes=b),e&&(h.srcset=e),a&&(h.src=a)):hb()},preloadimages:function(){var g=this;function h(){null!=g&&g&&!g.destroyed&&(void 0!==g.imagesloaded&&(g.imagesloaded+=1),g.imagesloaded===g.imagestoload.length&&(g.params.updateonimagesready&&g.update(),g.emit("imagesready")))}g.imagestoload=g.$el.find("img");for(var a=0;a1){var d=[];return ae.each(function(g,a){var e=c.extend({},y,{el:a});d.push(new h(e))}),d}var bg,e,br;return b.swiper=ad,ae.data("swiper",ad),b&&b.shadowroot&&b.shadowroot.queryselector?(bg=e(b.shadowroot.queryselector("."+ad.params.wrapperclass))).children=function(g){return ae.children(g)}:bg=ae.children("."+ad.params.wrapperclass),c.extend(ad,{$el:ae,el:b,$wrapperel:bg,wrapperel:bg[0],classnames:[],slides:e(),slidesgrid:[],snapgrid:[],slidessizesgrid:[],ishorizontal:function(){return"horizontal"===ad.params.direction},isvertical:function(){return"vertical"===ad.params.direction},rtl:"rtl"===b.dir.tolowercase()||"rtl"===ae.css("direction"),rtltranslate:"horizontal"===ad.params.direction&&("rtl"===b.dir.tolowercase()||"rtl"===ae.css("direction")),wrongrtl:"-webkit-box"===bg.css("display"),activeindex:0,realindex:0,isbeginning:!0,isend:!1,translate:0,previoustranslate:0,progress:0,velocity:0,animating:!1,allowslidenext:ad.params.allowslidenext,allowslideprev:ad.params.allowslideprev,touchevents:(e=["touchstart","touchmove","touchend","touchcancel"],br=["mousedown","mousemove","mouseup"],h.pointerevents&&(br=["pointerdown","pointermove","pointerup"]),ad.toucheventstouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},ad.toucheventsdesktop={start:br[0],move:br[1],end:br[2]},h.touch||!ad.params.simulatetouch?ad.toucheventstouch:ad.toucheventsdesktop),toucheventsdata:{istouched:void 0,ismoved:void 0,allowtouchcallbacks:void 0,touchstarttime:void 0,isscrolling:void 0,currenttranslate:void 0,starttranslate:void 0,allowthresholdmove:void 0,formelements:"input, select, option, textarea, button, video",lastclicktime:c.now(),clicktimeout:void 0,velocities:[],allowmomentumbounce:void 0,istouchevent:void 0,startmoving:void 0},allowclick:!0,allowtouchmove:ad.params.allowtouchmove,touches:{startx:0,starty:0,currentx:0,currenty:0,diff:0},imagestoload:[],imagesloaded:0}),ad.usemodules(),ad.params.init&&ad.init(),ad}}g&&(h.__proto__=g),h.prototype=object.create(g&&g.prototype),h.prototype.constructor=h;var a={extendeddefaults:{configurable:!0},defaults:{configurable:!0},class:{configurable:!0},$:{configurable:!0}};return h.prototype.slidesperviewdynamic=function(){var g=this.params,h=this.slides,a=this.slidesgrid,e=this.size,b=this.activeindex,y=1;if(g.centeredslides){for(var c,h=h[b].swiperslidesize,hb=b+1;hbe&&(c=!0));for(var f=b-1;f>=0;f-=1)h[f]&&!c&&(y+=1,(h+=h[f].swiperslidesize)>e&&(c=!0))}else for(var ad=b+1;ad1)&&g.isend&&!g.params.centeredslides?g.slideto(g.slides.length-1,0,!1,!0):g.slideto(g.activeindex,0,!1,!0))||e(),a.watchoverflow&&h!==g.snapgrid&&g.checkoverflow(),g.emit("update")}function e(){var h=g.rtltranslate?-1*g.translate:g.translate,a=math.min(math.max(h,g.maxtranslate()),g.mintranslate());g.settranslate(a),g.updateactiveindex(),g.updateslidesclasses()}},h.prototype.changedirection=function(g,h){void 0===h&&(h=!0);var a=this.params.direction;return g||(g="horizontal"===a?"vertical":"horizontal"),g===a||"horizontal"!==g&&"vertical"!==g?this:(this.$el.removeclass(""+this.params.containermodifierclass+a).addclass(""+this.params.containermodifierclass+g),this.params.direction=g,this.slides.each(function(h,a){"vertical"===g?a.style.width="":a.style.height=""}),this.emit("changedirection"),h&&this.update(),this)},h.prototype.init=function(){this.initialized||(this.emit("beforeinit"),this.params.breakpoints&&this.setbreakpoint(),this.addclasses(),this.params.loop&&this.loopcreate(),this.updatesize(),this.updateslides(),this.params.watchoverflow&&this.checkoverflow(),this.params.grabcursor&&this.setgrabcursor(),this.params.preloadimages&&this.preloadimages(),this.params.loop?this.slideto(this.params.initialslide+this.loopedslides,0,this.params.runcallbacksoninit):this.slideto(this.params.initialslide,0,this.params.runcallbacksoninit),this.attachevents(),this.initialized=!0,this.emit("init"))},h.prototype.destroy=function(g,h){void 0===g&&(g=!0),void 0===h&&(h=!0);var a=this,e=a.params,b=a.$el,y=a.$wrapperel,h=a.slides;return void 0===a.params||a.destroyed?null:(a.emit("beforedestroy"),a.initialized=!1,a.detachevents(),e.loop&&a.loopdestroy(),h&&(a.removeclasses(),b.removeattr("style"),y.removeattr("style"),h&&h.length&&h.removeclass([e.slidevisibleclass,e.slideactiveclass,e.slidenextclass,e.slideprevclass].join(" ")).removeattr("style").removeattr("data-swiper-slide-index")),a.emit("destroy"),object.keys(a.eventslisteners).foreach(function(g){a.off(g)}),!1!==g&&(a.$el[0].swiper=null,a.$el.data("swiper",null),c.deleteprops(a)),a.destroyed=!0,null)},h.extenddefaults=function(g){c.extend(p,g)},a.extendeddefaults.get=function(){return p},a.defaults.get=function(){return n},a.class.get=function(){return g},a.$.get=function(){return e},object.defineproperties(h,a),h}(hb),r={name:"device",proto:{device:ee},static:{device:ee}},s={name:"support",proto:{support:h},static:{support:h}},t={isedge:!!h.navigator.useragent.match(/edge/g),issafari:function(){var g=h.navigator.useragent.tolowercase();return g.indexof("safari")>=0&&g.indexof("chrome")<0&&g.indexof("android")<0}(),isuiwebview:/(iphone|ipod|ipad).*applewebkit(?!.*safari)/i.test(h.navigator.useragent)},u={name:"browser",proto:{browser:t},static:{browser:t}},v={name:"resize",create:function(){var g=this;c.extend(g,{resize:{resizehandler:function(){g&&!g.destroyed&&g.initialized&&(g.emit("beforeresize"),g.emit("resize"))},orientationchangehandler:function(){g&&!g.destroyed&&g.initialized&&g.emit("orientationchange")}}})},on:{init:function(){h.addeventlistener("resize",this.resize.resizehandler),h.addeventlistener("orientationchange",this.resize.orientationchangehandler)},destroy:function(){h.removeeventlistener("resize",this.resize.resizehandler),h.removeeventlistener("orientationchange",this.resize.orientationchangehandler)}}},w={func:h.mutationobserver||h.webkitmutationobserver,attach:function(g,a){void 0===a&&(a={});var e=this,b=new(0,w.func)(function(g){if(1!==g.length){var a=function(){e.emit("observerupdate",g[0])};h.requestanimationframe?h.requestanimationframe(a):h.settimeout(a,0)}else e.emit("observerupdate",g[0])});b.observe(g,{attributes:void 0===a.attributes||a.attributes,childlist:void 0===a.childlist||a.childlist,characterdata:void 0===a.characterdata||a.characterdata}),e.observer.observers.push(b)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeparents)for(var g=this.$el.parents(),h=0;hcb)&&h.$wrapperel.find("."+h.params.slideclass+'[data-swiper-slide-index="'+ew+'"]').remove();for(var ci=0;ci=bd&&ci<=cb&&(void 0===ae||g?j.push(ci):(ci>ae&&j.push(ci),ci'+g+"");return b.attr("data-swiper-slide-index")||b.attr("data-swiper-slide-index",h),a.cache&&(this.virtual.cache[h]=b),b},appendslide:function(g){if("object"==typeof g&&"length"in g)for(var h=0;h=0;a-=1)this.virtual.slides.splice(g[a],1),this.params.virtual.cache&&delete this.virtual.cache[g[a]],g[a]0&&0===this.$el.parents("."+this.params.slideactiveclass).length)return;var h=h.innerwidth,hb=h.innerheight,f=this.$el.offset();e&&(f.left-=this.$el[0].scrollleft);for(var ad=[[f.left,f.top],[f.left+this.width,f.top],[f.left,f.top+this.height],[f.left+this.width,f.top+this.height]],f=0;f=0&&ae[0]<=h&&ae[1]>=0&&ae[1]<=hb&&(c=!0)}if(!c)return}this.ishorizontal()?(33!==y&&34!==y&&37!==y&&39!==y||(b.preventdefault?b.preventdefault():b.returnvalue=!1),(34!==y&&39!==y||e)&&(33!==y&&37!==y||!e)||this.slidenext(),(33!==y&&37!==y||e)&&(34!==y&&39!==y||!e)||this.slideprev()):(33!==y&&34!==y&&38!==y&&40!==y||(b.preventdefault?b.preventdefault():b.returnvalue=!1),34!==y&&40!==y||this.slidenext(),33!==y&&38!==y||this.slideprev()),this.emit("keypress",y)}},enable:function(){this.keyboard.enabled||(e(g).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(e(g).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},b={name:"keyboard",params:{keyboard:{enabled:!1,onlyinviewport:!0}},create:function(){c.extend(this,{keyboard:{enabled:!1,enable:a.enable.bind(this),disable:a.disable.bind(this),handle:a.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var c={lastscrolltime:c.now(),lasteventbeforesnap:void 0,recentwheelevents:[],event:function(){return h.navigator.useragent.indexof("firefox")>-1?"dommousescroll":function(){var h="onwheel"in g;if(!h){var a=g.createelement("div");a.setattribute("onwheel","return;"),h="function"==typeof a.onwheel}return!h&&g.implementation&&g.implementation.hasfeature&&!0!==g.implementation.hasfeature("","")&&(h=g.implementation.hasfeature("events.wheel","3.0")),h}()?"wheel":"mousewheel"},normalize:function(g){var h=0,a=0,e=0,b=0;return"detail"in g&&(a=g.detail),"wheeldelta"in g&&(a=-g.wheeldelta/120),"wheeldeltay"in g&&(a=-g.wheeldeltay/120),"wheeldeltax"in g&&(h=-g.wheeldeltax/120),"axis"in g&&g.axis===g.horizontal_axis&&(h=a,a=0),e=10*h,b=10*a,"deltay"in g&&(b=g.deltay),"deltax"in g&&(e=g.deltax),g.shiftkey&&!e&&(e=b,b=0),(e||b)&&g.deltamode&&(1===g.deltamode?(e*=40,b*=40):(e*=800,b*=800)),e&&!h&&(h=e<1?-1:1),b&&!a&&(a=b<1?-1:1),{spinx:h,spiny:a,pixelx:e,pixely:b}},handlemouseenter:function(){this.mouseentered=!0},handlemouseleave:function(){this.mouseentered=!1},handle:function(g){var a=g,e=this,b=e.params.mousewheel;if(e.params.cssmode&&a.preventdefault(),!e.mouseentered&&!b.releaseonedges)return!0;a.originalevent&&(a=a.originalevent);var y=0,h=e.rtltranslate?-1:1,hb=c.normalize(a);if(b.forcetoaxis)if(e.ishorizontal()){if(!(math.abs(hb.pixelx)>math.abs(hb.pixely)))return!0;y=hb.pixelx*h}else{if(!(math.abs(hb.pixely)>math.abs(hb.pixelx)))return!0;y=hb.pixely}else y=math.abs(hb.pixelx)>math.abs(hb.pixely)?-hb.pixelx*h:-hb.pixely;if(0===y)return!0;if(b.invert&&(y=-y),e.params.freemode){var f={time:c.now(),delta:math.abs(y),direction:math.sign(y)},ad=e.mousewheel.lasteventbeforesnap,f=ad&&f.time=e.mintranslate()&&(ae=e.mintranslate()),ae<=e.maxtranslate()&&(ae=e.maxtranslate()),e.settransition(0),e.settranslate(ae),e.updateprogress(),e.updateactiveindex(),e.updateslidesclasses(),(!d&&e.isbeginning||!bg&&e.isend)&&e.updateslidesclasses(),e.params.freemodesticky){cleartimeout(e.mousewheel.timeout),e.mousewheel.timeout=void 0;var e=e.mousewheel.recentwheelevents;e.length>=15&&e.shift();var br=e.length?e[e.length-1]:void 0,fn=e[0];if(e.push(f),br&&(f.delta>br.delta||f.direction!==br.direction))e.splice(0);else if(e.length>=15&&f.time-fn.time<500&&fn.delta-f.delta>=1&&f.delta<=6){var fa=y>0?.8:.2;e.mousewheel.lasteventbeforesnap=f,e.splice(0),e.mousewheel.timeout=c.nexttick(function(){e.slidetoclosest(e.params.speed,!0,void 0,fa)},0)}e.mousewheel.timeout||(e.mousewheel.timeout=c.nexttick(function(){e.mousewheel.lasteventbeforesnap=f,e.splice(0),e.slidetoclosest(e.params.speed,!0,void 0,.5)},500))}if(f||e.emit("scroll",a),e.params.autoplay&&e.params.autoplaydisableoninteraction&&e.autoplay.stop(),ae===e.mintranslate()||ae===e.maxtranslate())return!0}}else{if(c.now()-e.mousewheel.lastscrolltime>60)if(y<0)if(e.isend&&!e.params.loop||e.animating){if(b.releaseonedges)return!0}else e.slidenext(),e.emit("scroll",a);else if(e.isbeginning&&!e.params.loop||e.animating){if(b.releaseonedges)return!0}else e.slideprev(),e.emit("scroll",a);e.mousewheel.lastscrolltime=(new h.date).gettime()}return a.preventdefault?a.preventdefault():a.returnvalue=!1,!1},enable:function(){var g=c.event();if(this.params.cssmode)return this.wrapperel.removeeventlistener(g,this.mousewheel.handle),!0;if(!g)return!1;if(this.mousewheel.enabled)return!1;var h=this.$el;return"container"!==this.params.mousewheel.eventstarged&&(h=e(this.params.mousewheel.eventstarged)),h.on("mouseenter",this.mousewheel.handlemouseenter),h.on("mouseleave",this.mousewheel.handlemouseleave),h.on(g,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var g=c.event();if(this.params.cssmode)return this.wrapperel.addeventlistener(g,this.mousewheel.handle),!0;if(!g)return!1;if(!this.mousewheel.enabled)return!1;var h=this.$el;return"container"!==this.params.mousewheel.eventstarged&&(h=e(this.params.mousewheel.eventstarged)),h.off(g,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},d={update:function(){var g=this.params.navigation;if(!this.params.loop){var h=this.navigation,a=h.$nextel,e=h.$prevel;e&&e.length>0&&(this.isbeginning?e.addclass(g.disabledclass):e.removeclass(g.disabledclass),e[this.params.watchoverflow&&this.islocked?"addclass":"removeclass"](g.lockclass)),a&&a.length>0&&(this.isend?a.addclass(g.disabledclass):a.removeclass(g.disabledclass),a[this.params.watchoverflow&&this.islocked?"addclass":"removeclass"](g.lockclass))}},onprevclick:function(g){g.preventdefault(),this.isbeginning&&!this.params.loop||this.slideprev()},onnextclick:function(g){g.preventdefault(),this.isend&&!this.params.loop||this.slidenext()},init:function(){var g,h,a=this.params.navigation;(a.nextel||a.prevel)&&(a.nextel&&(g=e(a.nextel),this.params.uniquenavelements&&"string"==typeof a.nextel&&g.length>1&&1===this.$el.find(a.nextel).length&&(g=this.$el.find(a.nextel))),a.prevel&&(h=e(a.prevel),this.params.uniquenavelements&&"string"==typeof a.prevel&&h.length>1&&1===this.$el.find(a.prevel).length&&(h=this.$el.find(a.prevel))),g&&g.length>0&&g.on("click",this.navigation.onnextclick),h&&h.length>0&&h.on("click",this.navigation.onprevclick),c.extend(this.navigation,{$nextel:g,nextel:g&&g[0],$prevel:h,prevel:h&&h[0]}))},destroy:function(){var g=this.navigation,h=g.$nextel,a=g.$prevel;h&&h.length&&(h.off("click",this.navigation.onnextclick),h.removeclass(this.params.navigation.disabledclass)),a&&a.length&&(a.off("click",this.navigation.onprevclick),a.removeclass(this.params.navigation.disabledclass))}},g={update:function(){var g=this.rtl,h=this.params.pagination;if(h.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var a,b=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,y=this.pagination.$el,c=this.params.loop?math.ceil((b-2*this.loopedslides)/this.params.slidespergroup):this.snapgrid.length;if(this.params.loop?((a=math.ceil((this.activeindex-this.loopedslides)/this.params.slidespergroup))>b-1-2*this.loopedslides&&(a-=b-2*this.loopedslides),a>c-1&&(a-=c),a<0&&"bullets"!==this.params.paginationtype&&(a=c+a)):a=void 0!==this.snapindex?this.snapindex:this.activeindex||0,"bullets"===h.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var h,hb,f,ad=this.pagination.bullets;if(h.dynamicbullets&&(this.pagination.bulletsize=ad.eq(0)[this.ishorizontal()?"outerwidth":"outerheight"](!0),y.css(this.ishorizontal()?"width":"height",this.pagination.bulletsize*(h.dynamicmainbullets+4)+"px"),h.dynamicmainbullets>1&&void 0!==this.previousindex&&(this.pagination.dynamicbulletindex+=a-this.previousindex,this.pagination.dynamicbulletindex>h.dynamicmainbullets-1?this.pagination.dynamicbulletindex=h.dynamicmainbullets-1:this.pagination.dynamicbulletindex<0&&(this.pagination.dynamicbulletindex=0)),h=a-this.pagination.dynamicbulletindex,f=((hb=h+(math.min(ad.length,h.dynamicmainbullets)-1))+h)/2),ad.removeclass(h.bulletactiveclass+" "+h.bulletactiveclass+"-next "+h.bulletactiveclass+"-next-next "+h.bulletactiveclass+"-prev "+h.bulletactiveclass+"-prev-prev "+h.bulletactiveclass+"-main"),y.length>1)ad.each(function(g,b){var y=e(b),c=y.index();c===a&&y.addclass(h.bulletactiveclass),h.dynamicbullets&&(c>=h&&c<=hb&&y.addclass(h.bulletactiveclass+"-main"),c===h&&y.prev().addclass(h.bulletactiveclass+"-prev").prev().addclass(h.bulletactiveclass+"-prev-prev"),c===hb&&y.next().addclass(h.bulletactiveclass+"-next").next().addclass(h.bulletactiveclass+"-next-next"))});else{var f=ad.eq(a),ae=f.index();if(f.addclass(h.bulletactiveclass),h.dynamicbullets){for(var d=ad.eq(h),bg=ad.eq(hb),e=h;e<=hb;e+=1)ad.eq(e).addclass(h.bulletactiveclass+"-main");if(this.params.loop)if(ae>=ad.length-h.dynamicmainbullets){for(var br=h.dynamicmainbullets;br>=0;br-=1)ad.eq(ad.length-br).addclass(h.bulletactiveclass+"-main");ad.eq(ad.length-h.dynamicmainbullets-1).addclass(h.bulletactiveclass+"-prev")}else d.prev().addclass(h.bulletactiveclass+"-prev").prev().addclass(h.bulletactiveclass+"-prev-prev"),bg.next().addclass(h.bulletactiveclass+"-next").next().addclass(h.bulletactiveclass+"-next-next");else d.prev().addclass(h.bulletactiveclass+"-prev").prev().addclass(h.bulletactiveclass+"-prev-prev"),bg.next().addclass(h.bulletactiveclass+"-next").next().addclass(h.bulletactiveclass+"-next-next")}}if(h.dynamicbullets){var fn=math.min(ad.length,h.dynamicmainbullets+4),fa=(this.pagination.bulletsize*fn-this.pagination.bulletsize)/2-f*this.pagination.bulletsize,aa=g?"right":"left";ad.css(this.ishorizontal()?aa:"top",fa+"px")}}if("fraction"===h.type&&(y.find("."+h.currentclass).text(h.formatfractioncurrent(a+1)),y.find("."+h.totalclass).text(h.formatfractiontotal(c))),"progressbar"===h.type){var by;by=h.progressbaropposite?this.ishorizontal()?"vertical":"horizontal":this.ishorizontal()?"horizontal":"vertical";var bd=(a+1)/c,cb=1,ag=1;"horizontal"===by?cb=bd:ag=bd,y.find("."+h.progressbarfillclass).transform("translate3d(0,0,0) scalex("+cb+") scaley("+ag+")").transition(this.params.speed)}"custom"===h.type&&h.rendercustom?(y.html(h.rendercustom(this,a+1,c)),this.emit("paginationrender",this,y[0])):this.emit("paginationupdate",this,y[0]),y[this.params.watchoverflow&&this.islocked?"addclass":"removeclass"](h.lockclass)}},render:function(){var g=this.params.pagination;if(g.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var h=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,a=this.pagination.$el,e="";if("bullets"===g.type){for(var b=this.params.loop?math.ceil((h-2*this.loopedslides)/this.params.slidespergroup):this.snapgrid.length,y=0;y";a.html(e),this.pagination.bullets=a.find("."+g.bulletclass)}"fraction"===g.type&&(e=g.renderfraction?g.renderfraction.call(this,g.currentclass,g.totalclass):' / ',a.html(e)),"progressbar"===g.type&&(e=g.renderprogressbar?g.renderprogressbar.call(this,g.progressbarfillclass):'',a.html(e)),"custom"!==g.type&&this.emit("paginationrender",this.pagination.$el[0])}},init:function(){var g=this,h=g.params.pagination;if(h.el){var a=e(h.el);0!==a.length&&(g.params.uniquenavelements&&"string"==typeof h.el&&a.length>1&&1===g.$el.find(h.el).length&&(a=g.$el.find(h.el)),"bullets"===h.type&&h.clickable&&a.addclass(h.clickableclass),a.addclass(h.modifierclass+h.type),"bullets"===h.type&&h.dynamicbullets&&(a.addclass(""+h.modifierclass+h.type+"-dynamic"),g.pagination.dynamicbulletindex=0,h.dynamicmainbullets<1&&(h.dynamicmainbullets=1)),"progressbar"===h.type&&h.progressbaropposite&&a.addclass(h.progressbaroppositeclass),h.clickable&&a.on("click","."+h.bulletclass,function(h){h.preventdefault();var a=e(this).index()*g.params.slidespergroup;g.params.loop&&(a+=g.loopedslides),g.slideto(a)}),c.extend(g.pagination,{$el:a,el:a[0]}))}},destroy:function(){var g=this.params.pagination;if(g.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var h=this.pagination.$el;h.removeclass(g.hiddenclass),h.removeclass(g.modifierclass+g.type),this.pagination.bullets&&this.pagination.bullets.removeclass(g.bulletactiveclass),g.clickable&&h.off("click","."+g.bulletclass)}}},i={settranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var g=this.scrollbar,h=this.rtltranslate,a=this.progress,e=g.dragsize,b=g.tracksize,y=g.$dragel,c=g.$el,h=this.params.scrollbar,hb=e,f=(b-e)*a;h?(f=-f)>0?(hb=e-f,f=0):-f+e>b&&(hb=b+f):f<0?(hb=e+f,f=0):f+e>b&&(hb=b-f),this.ishorizontal()?(y.transform("translate3d("+f+"px, 0, 0)"),y[0].style.width=hb+"px"):(y.transform("translate3d(0px, "+f+"px, 0)"),y[0].style.height=hb+"px"),h.hide&&(cleartimeout(this.scrollbar.timeout),c[0].style.opacity=1,this.scrollbar.timeout=settimeout(function(){c[0].style.opacity=0,c.transition(400)},1e3))}},settransition:function(g){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragel.transition(g)},updatesize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var g=this.scrollbar,h=g.$dragel,a=g.$el;h[0].style.width="",h[0].style.height="";var e,b=this.ishorizontal()?a[0].offsetwidth:a[0].offsetheight,y=this.size/this.virtualsize,h=y*(b/this.size);e="auto"===this.params.scrollbar.dragsize?b*y:parseint(this.params.scrollbar.dragsize,10),this.ishorizontal()?h[0].style.width=e+"px":h[0].style.height=e+"px",a[0].style.display=y>=1?"none":"",this.params.scrollbar.hide&&(a[0].style.opacity=0),c.extend(g,{tracksize:b,divider:y,movedivider:h,dragsize:e}),g.$el[this.params.watchoverflow&&this.islocked?"addclass":"removeclass"](this.params.scrollbar.lockclass)}},getpointerposition:function(g){return this.ishorizontal()?"touchstart"===g.type||"touchmove"===g.type?g.targettouches[0].clientx:g.clientx:"touchstart"===g.type||"touchmove"===g.type?g.targettouches[0].clienty:g.clienty},setdragposition:function(g){var h,a=this.scrollbar,e=this.rtltranslate,b=a.$el,y=a.dragsize,c=a.tracksize,h=a.dragstartpos;h=(a.getpointerposition(g)-b.offset()[this.ishorizontal()?"left":"top"]-(null!==h?h:y/2))/(c-y),h=math.max(math.min(h,1),0),e&&(h=1-h);var hb=this.mintranslate()+(this.maxtranslate()-this.mintranslate())*h;this.updateprogress(hb),this.settranslate(hb),this.updateactiveindex(),this.updateslidesclasses()},ondragstart:function(g){var h=this.params.scrollbar,a=this.scrollbar,e=this.$wrapperel,b=a.$el,y=a.$dragel;this.scrollbar.istouched=!0,this.scrollbar.dragstartpos=g.target===y[0]||g.target===y?a.getpointerposition(g)-g.target.getboundingclientrect()[this.ishorizontal()?"left":"top"]:null,g.preventdefault(),g.stoppropagation(),e.transition(100),y.transition(100),a.setdragposition(g),cleartimeout(this.scrollbar.dragtimeout),b.transition(0),h.hide&&b.css("opacity",1),this.params.cssmode&&this.$wrapperel.css("scroll-snap-type","none"),this.emit("scrollbardragstart",g)},ondragmove:function(g){var h=this.scrollbar,a=this.$wrapperel,e=h.$el,b=h.$dragel;this.scrollbar.istouched&&(g.preventdefault?g.preventdefault():g.returnvalue=!1,h.setdragposition(g),a.transition(0),e.transition(0),b.transition(0),this.emit("scrollbardragmove",g))},ondragend:function(g){var h=this.params.scrollbar,a=this.scrollbar,e=this.$wrapperel,b=a.$el;this.scrollbar.istouched&&(this.scrollbar.istouched=!1,this.params.cssmode&&(this.$wrapperel.css("scroll-snap-type",""),e.transition("")),h.hide&&(cleartimeout(this.scrollbar.dragtimeout),this.scrollbar.dragtimeout=c.nexttick(function(){b.css("opacity",0),b.transition(400)},1e3)),this.emit("scrollbardragend",g),h.snaponrelease&&this.slidetoclosest())},enabledraggable:function(){if(this.params.scrollbar.el){var h=this.scrollbar,a=this.toucheventstouch,e=this.toucheventsdesktop,b=this.params,y=h.$el[0],c=!(!h.passivelistener||!b.passivelisteners)&&{passive:!1,capture:!1},hb=!(!h.passivelistener||!b.passivelisteners)&&{passive:!0,capture:!1};h.touch?(y.addeventlistener(a.start,this.scrollbar.ondragstart,c),y.addeventlistener(a.move,this.scrollbar.ondragmove,c),y.addeventlistener(a.end,this.scrollbar.ondragend,hb)):(y.addeventlistener(e.start,this.scrollbar.ondragstart,c),g.addeventlistener(e.move,this.scrollbar.ondragmove,c),g.addeventlistener(e.end,this.scrollbar.ondragend,hb))}},disabledraggable:function(){if(this.params.scrollbar.el){var h=this.scrollbar,a=this.toucheventstouch,e=this.toucheventsdesktop,b=this.params,y=h.$el[0],c=!(!h.passivelistener||!b.passivelisteners)&&{passive:!1,capture:!1},hb=!(!h.passivelistener||!b.passivelisteners)&&{passive:!0,capture:!1};h.touch?(y.removeeventlistener(a.start,this.scrollbar.ondragstart,c),y.removeeventlistener(a.move,this.scrollbar.ondragmove,c),y.removeeventlistener(a.end,this.scrollbar.ondragend,hb)):(y.removeeventlistener(e.start,this.scrollbar.ondragstart,c),g.removeeventlistener(e.move,this.scrollbar.ondragmove,c),g.removeeventlistener(e.end,this.scrollbar.ondragend,hb))}},init:function(){if(this.params.scrollbar.el){var g=this.scrollbar,h=this.$el,a=this.params.scrollbar,b=e(a.el);this.params.uniquenavelements&&"string"==typeof a.el&&b.length>1&&1===h.find(a.el).length&&(b=h.find(a.el));var y=b.find("."+this.params.scrollbar.dragclass);0===y.length&&(y=e('
'),b.append(y)),c.extend(g,{$el:b,el:b[0],$dragel:y,dragel:y[0]}),a.draggable&&g.enabledraggable()}},destroy:function(){this.scrollbar.disabledraggable()}},j={settransform:function(g,h){var a=this.rtl,b=e(g),y=a?-1:1,c=b.attr("data-swiper-parallax")||"0",h=b.attr("data-swiper-parallax-x"),hb=b.attr("data-swiper-parallax-y"),f=b.attr("data-swiper-parallax-scale"),ad=b.attr("data-swiper-parallax-opacity");if(h||hb?(h=h||"0",hb=hb||"0"):this.ishorizontal()?(h=c,hb="0"):(hb=c,h="0"),h=h.indexof("%")>=0?parseint(h,10)*h*y+"%":h*h*y+"px",hb=hb.indexof("%")>=0?parseint(hb,10)*h+"%":hb*h+"px",null!=ad){var f=ad-(ad-1)*(1-math.abs(h));b[0].style.opacity=f}if(null==f)b.transform("translate3d("+h+", "+hb+", 0px)");else{var ae=f-(f-1)*(1-math.abs(h));b.transform("translate3d("+h+", "+hb+", 0px) scale("+ae+")")}},settranslate:function(){var g=this,h=g.$el,a=g.slides,b=g.progress,y=g.snapgrid;h.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(h,a){g.parallax.settransform(a,b)}),a.each(function(h,a){var c=a.progress;g.params.slidespergroup>1&&"auto"!==g.params.slidesperview&&(c+=math.ceil(h/2)-b*(y.length-1)),c=math.min(math.max(c,-1),1),e(a).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(h,a){g.parallax.settransform(a,c)})})},settransition:function(g){void 0===g&&(g=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(h,a){var b=e(a),y=parseint(b.attr("data-swiper-parallax-duration"),10)||g;0===g&&(y=0),b.transition(y)})}},k={getdistancebetweentouches:function(g){if(g.targettouches.length<2)return 1;var h=g.targettouches[0].pagex,a=g.targettouches[0].pagey,e=g.targettouches[1].pagex,b=g.targettouches[1].pagey;return math.sqrt(math.pow(e-h,2)+math.pow(b-a,2))},ongesturestart:function(g){var h=this.params.zoom,a=this.zoom,b=a.gesture;if(a.fakegesturetouched=!1,a.fakegesturemoved=!1,!h.gestures){if("touchstart"!==g.type||"touchstart"===g.type&&g.targettouches.length<2)return;a.fakegesturetouched=!0,b.scalestart=k.getdistancebetweentouches(g)}b.$slideel&&b.$slideel.length||(b.$slideel=e(g.target).closest(".swiper-slide"),0===b.$slideel.length&&(b.$slideel=this.slides.eq(this.activeindex)),b.$imageel=b.$slideel.find("img, svg, canvas"),b.$imagewrapel=b.$imageel.parent("."+h.containerclass),b.maxratio=b.$imagewrapel.attr("data-swiper-zoom")||h.maxratio,0!==b.$imagewrapel.length)?(b.$imageel.transition(0),this.zoom.isscaling=!0):b.$imageel=void 0},ongesturechange:function(g){var h=this.params.zoom,a=this.zoom,e=a.gesture;if(!h.gestures){if("touchmove"!==g.type||"touchmove"===g.type&&g.targettouches.length<2)return;a.fakegesturemoved=!0,e.scalemove=k.getdistancebetweentouches(g)}e.$imageel&&0!==e.$imageel.length&&(h.gestures?a.scale=g.scale*a.currentscale:a.scale=e.scalemove/e.scalestart*a.currentscale,a.scale>e.maxratio&&(a.scale=e.maxratio-1+math.pow(a.scale-e.maxratio+1,.5)),a.scalee.touchesstart.x))return void(e.istouched=!1);if(!this.ishorizontal()&&(math.floor(e.miny)===math.floor(e.starty)&&e.touchescurrent.ye.touchesstart.y))return void(e.istouched=!1)}g.preventdefault(),g.stoppropagation(),e.ismoved=!0,e.currentx=e.touchescurrent.x-e.touchesstart.x+e.startx,e.currenty=e.touchescurrent.y-e.touchesstart.y+e.starty,e.currentxe.maxx&&(e.currentx=e.maxx-1+math.pow(e.currentx-e.maxx+1,.8)),e.currentye.maxy&&(e.currenty=e.maxy-1+math.pow(e.currenty-e.maxy+1,.8)),b.prevpositionx||(b.prevpositionx=e.touchescurrent.x),b.prevpositiony||(b.prevpositiony=e.touchescurrent.y),b.prevtime||(b.prevtime=date.now()),b.x=(e.touchescurrent.x-b.prevpositionx)/(date.now()-b.prevtime)/2,b.y=(e.touchescurrent.y-b.prevpositiony)/(date.now()-b.prevtime)/2,math.abs(e.touchescurrent.x-b.prevpositionx)<2&&(b.x=0),math.abs(e.touchescurrent.y-b.prevpositiony)<2&&(b.y=0),b.prevpositionx=e.touchescurrent.x,b.prevpositiony=e.touchescurrent.y,b.prevtime=date.now(),a.$imagewrapel.transform("translate3d("+e.currentx+"px, "+e.currenty+"px,0)")}}},ontouchend:function(){var g=this.zoom,h=g.gesture,a=g.image,e=g.velocity;if(h.$imageel&&0!==h.$imageel.length){if(!a.istouched||!a.ismoved)return a.istouched=!1,void(a.ismoved=!1);a.istouched=!1,a.ismoved=!1;var b=300,y=300,c=e.x*b,h=a.currentx+c,hb=e.y*y,f=a.currenty+hb;0!==e.x&&(b=math.abs((h-a.currentx)/e.x)),0!==e.y&&(y=math.abs((f-a.currenty)/e.y));var ad=math.max(b,y);a.currentx=h,a.currenty=f;var f=a.width*g.scale,ae=a.height*g.scale;a.minx=math.min(h.slidewidth/2-f/2,0),a.maxx=-a.minx,a.miny=math.min(h.slideheight/2-ae/2,0),a.maxy=-a.miny,a.currentx=math.max(math.min(a.currentx,a.maxx),a.minx),a.currenty=math.max(math.min(a.currenty,a.maxy),a.miny),h.$imagewrapel.transition(ad).transform("translate3d("+a.currentx+"px, "+a.currenty+"px,0)")}},ontransitionend:function(){var g=this.zoom,h=g.gesture;h.$slideel&&this.previousindex!==this.activeindex&&(h.$imageel.transform("translate3d(0,0,0) scale(1)"),h.$imagewrapel.transform("translate3d(0,0,0)"),g.scale=1,g.currentscale=1,h.$slideel=void 0,h.$imageel=void 0,h.$imagewrapel=void 0)},toggle:function(g){var h=this.zoom;h.scale&&1!==h.scale?h.out():h.in(g)},in:function(g){var h,a,b,y,c,h,hb,f,ad,f,ae,d,bg,e,br,fn,fa=this.zoom,aa=this.params.zoom,by=fa.gesture,bd=fa.image;(by.$slideel||(by.$slideel=this.clickedslide?e(this.clickedslide):this.slides.eq(this.activeindex),by.$imageel=by.$slideel.find("img, svg, canvas"),by.$imagewrapel=by.$imageel.parent("."+aa.containerclass)),by.$imageel&&0!==by.$imageel.length)&&(by.$slideel.addclass(""+aa.zoomedslideclass),void 0===bd.touchesstart.x&&g?(h="touchend"===g.type?g.changedtouches[0].pagex:g.pagex,a="touchend"===g.type?g.changedtouches[0].pagey:g.pagey):(h=bd.touchesstart.x,a=bd.touchesstart.y),fa.scale=by.$imagewrapel.attr("data-swiper-zoom")||aa.maxratio,fa.currentscale=by.$imagewrapel.attr("data-swiper-zoom")||aa.maxratio,g?(br=by.$slideel[0].offsetwidth,fn=by.$slideel[0].offsetheight,b=by.$slideel.offset().left+br/2-h,y=by.$slideel.offset().top+fn/2-a,hb=by.$imageel[0].offsetwidth,f=by.$imageel[0].offsetheight,ad=hb*fa.scale,f=f*fa.scale,bg=-(ae=math.min(br/2-ad/2,0)),e=-(d=math.min(fn/2-f/2,0)),(c=b*fa.scale)bg&&(c=bg),(h=y*fa.scale)e&&(h=e)):(c=0,h=0),by.$imagewrapel.transition(300).transform("translate3d("+c+"px, "+h+"px,0)"),by.$imageel.transition(300).transform("translate3d(0,0,0) scale("+fa.scale+")"))},out:function(){var g=this.zoom,h=this.params.zoom,a=g.gesture;a.$slideel||(a.$slideel=this.clickedslide?e(this.clickedslide):this.slides.eq(this.activeindex),a.$imageel=a.$slideel.find("img, svg, canvas"),a.$imagewrapel=a.$imageel.parent("."+h.containerclass)),a.$imageel&&0!==a.$imageel.length&&(g.scale=1,g.currentscale=1,a.$imagewrapel.transition(300).transform("translate3d(0,0,0)"),a.$imageel.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideel.removeclass(""+h.zoomedslideclass),a.$slideel=void 0)},enable:function(){var g=this.zoom;if(!g.enabled){g.enabled=!0;var h=!("touchstart"!==this.touchevents.start||!h.passivelistener||!this.params.passivelisteners)&&{passive:!0,capture:!1},a=!h.passivelistener||{passive:!1,capture:!0};h.gestures?(this.$wrapperel.on("gesturestart",".swiper-slide",g.ongesturestart,h),this.$wrapperel.on("gesturechange",".swiper-slide",g.ongesturechange,h),this.$wrapperel.on("gestureend",".swiper-slide",g.ongestureend,h)):"touchstart"===this.touchevents.start&&(this.$wrapperel.on(this.touchevents.start,".swiper-slide",g.ongesturestart,h),this.$wrapperel.on(this.touchevents.move,".swiper-slide",g.ongesturechange,a),this.$wrapperel.on(this.touchevents.end,".swiper-slide",g.ongestureend,h),this.touchevents.cancel&&this.$wrapperel.on(this.touchevents.cancel,".swiper-slide",g.ongestureend,h)),this.$wrapperel.on(this.touchevents.move,"."+this.params.zoom.containerclass,g.ontouchmove,a)}},disable:function(){var g=this.zoom;if(g.enabled){this.zoom.enabled=!1;var h=!("touchstart"!==this.touchevents.start||!h.passivelistener||!this.params.passivelisteners)&&{passive:!0,capture:!1},a=!h.passivelistener||{passive:!1,capture:!0};h.gestures?(this.$wrapperel.off("gesturestart",".swiper-slide",g.ongesturestart,h),this.$wrapperel.off("gesturechange",".swiper-slide",g.ongesturechange,h),this.$wrapperel.off("gestureend",".swiper-slide",g.ongestureend,h)):"touchstart"===this.touchevents.start&&(this.$wrapperel.off(this.touchevents.start,".swiper-slide",g.ongesturestart,h),this.$wrapperel.off(this.touchevents.move,".swiper-slide",g.ongesturechange,a),this.$wrapperel.off(this.touchevents.end,".swiper-slide",g.ongestureend,h),this.touchevents.cancel&&this.$wrapperel.off(this.touchevents.cancel,".swiper-slide",g.ongestureend,h)),this.$wrapperel.off(this.touchevents.move,"."+this.params.zoom.containerclass,g.ontouchmove,a)}}},l={loadinslide:function(g,h){void 0===h&&(h=!0);var a=this,b=a.params.lazy;if(void 0!==g&&0!==a.slides.length){var y=a.virtual&&a.params.virtual.enabled?a.$wrapperel.children("."+a.params.slideclass+'[data-swiper-slide-index="'+g+'"]'):a.slides.eq(g),c=y.find("."+b.elementclass+":not(."+b.loadedclass+"):not(."+b.loadingclass+")");!y.hasclass(b.elementclass)||y.hasclass(b.loadedclass)||y.hasclass(b.loadingclass)||(c=c.add(y[0])),0!==c.length&&c.each(function(g,c){var h=e(c);h.addclass(b.loadingclass);var hb=h.attr("data-background"),f=h.attr("data-src"),ad=h.attr("data-srcset"),f=h.attr("data-sizes");a.loadimage(h[0],f||hb,ad,f,!1,function(){if(null!=a&&a&&(!a||a.params)&&!a.destroyed){if(hb?(h.css("background-image",'url("'+hb+'")'),h.removeattr("data-background")):(ad&&(h.attr("srcset",ad),h.removeattr("data-srcset")),f&&(h.attr("sizes",f),h.removeattr("data-sizes")),f&&(h.attr("src",f),h.removeattr("data-src"))),h.addclass(b.loadedclass).removeclass(b.loadingclass),y.find("."+b.preloaderclass).remove(),a.params.loop&&h){var g=y.attr("data-swiper-slide-index");if(y.hasclass(a.params.slideduplicateclass)){var e=a.$wrapperel.children('[data-swiper-slide-index="'+g+'"]:not(.'+a.params.slideduplicateclass+")");a.lazy.loadinslide(e.index(),!1)}else{var c=a.$wrapperel.children("."+a.params.slideduplicateclass+'[data-swiper-slide-index="'+g+'"]');a.lazy.loadinslide(c.index(),!1)}}a.emit("lazyimageready",y[0],h[0])}}),a.emit("lazyimageload",y[0],h[0])})}},load:function(){var g=this,h=g.$wrapperel,a=g.params,b=g.slides,y=g.activeindex,c=g.virtual&&a.virtual.enabled,h=a.lazy,hb=a.slidesperview;function f(g){if(c){if(h.children("."+a.slideclass+'[data-swiper-slide-index="'+g+'"]').length)return!0}else if(b[g])return!0;return!1}function ad(g){return c?e(g).attr("data-swiper-slide-index"):e(g).index()}if("auto"===hb&&(hb=0),g.lazy.initialimageloaded||(g.lazy.initialimageloaded=!0),g.params.watchslidesvisibility)h.children("."+a.slidevisibleclass).each(function(h,a){var b=c?e(a).attr("data-swiper-slide-index"):e(a).index();g.lazy.loadinslide(b)});else if(hb>1)for(var f=y;f1||h.loadprevnextamount&&h.loadprevnextamount>1){for(var ae=h.loadprevnextamount,d=hb,bg=math.min(y+d+math.max(ae,d),b.length),e=math.max(y-math.max(d,ae),0),br=y+hb;br0&&g.lazy.loadinslide(ad(fa));var aa=h.children("."+a.slideprevclass);aa.length>0&&g.lazy.loadinslide(ad(aa))}}},m={linearspline:function(g,h){var a,e,b,y,c,h=function(g,h){for(e=-1,a=g.length;a-e>1;)g[b=a+e>>1]<=h?e=b:a=b;return a};return this.x=g,this.y=h,this.lastindex=g.length-1,this.interpolate=function(g){return g?(c=h(this.x,g),y=c-1,(g-this.x[y])*(this.y[c]-this.y[y])/(this.x[c]-this.x[y])+this.y[y]):0},this},getinterpolatefunction:function(g){this.controller.spline||(this.controller.spline=this.params.loop?new m.linearspline(this.slidesgrid,g.slidesgrid):new m.linearspline(this.snapgrid,g.snapgrid))},settranslate:function(g,h){var a,e,b=this,y=b.controller.control;function c(g){var h=b.rtltranslate?-b.translate:b.translate;"slide"===b.params.controller.by&&(b.controller.getinterpolatefunction(g),e=-b.controller.spline.interpolate(-h)),e&&"container"!==b.params.controller.by||(a=(g.maxtranslate()-g.mintranslate())/(b.maxtranslate()-b.mintranslate()),e=(h-b.mintranslate())*a+g.mintranslate()),b.params.controller.inverse&&(e=g.maxtranslate()-e),g.updateprogress(e),g.settranslate(e,b),g.updateactiveindex(),g.updateslidesclasses()}if(array.isarray(y))for(var h=0;h0&&(this.isbeginning?this.a11y.disableel(a):this.a11y.enableel(a)),h&&h.length>0&&(this.isend?this.a11y.disableel(h):this.a11y.enableel(h))}},updatepagination:function(){var g=this,h=g.params.a11y;g.pagination&&g.params.pagination.clickable&&g.pagination.bullets&&g.pagination.bullets.length&&g.pagination.bullets.each(function(a,b){var y=e(b);g.a11y.makeelfocusable(y),g.a11y.addelrole(y,"button"),g.a11y.addellabel(y,h.paginationbulletmessage.replace(/{{index}}/,y.index()+1))})},init:function(){this.$el.append(this.a11y.liveregion);var g,h,a=this.params.a11y;this.navigation&&this.navigation.$nextel&&(g=this.navigation.$nextel),this.navigation&&this.navigation.$prevel&&(h=this.navigation.$prevel),g&&(this.a11y.makeelfocusable(g),this.a11y.addelrole(g,"button"),this.a11y.addellabel(g,a.nextslidemessage),g.on("keydown",this.a11y.onenterkey)),h&&(this.a11y.makeelfocusable(h),this.a11y.addelrole(h,"button"),this.a11y.addellabel(h,a.prevslidemessage),h.on("keydown",this.a11y.onenterkey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletclass,this.a11y.onenterkey)},destroy:function(){var g,h;this.a11y.liveregion&&this.a11y.liveregion.length>0&&this.a11y.liveregion.remove(),this.navigation&&this.navigation.$nextel&&(g=this.navigation.$nextel),this.navigation&&this.navigation.$prevel&&(h=this.navigation.$prevel),g&&g.off("keydown",this.a11y.onenterkey),h&&h.off("keydown",this.a11y.onenterkey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletclass,this.a11y.onenterkey)}},o={init:function(){if(this.params.history){if(!h.history||!h.history.pushstate)return this.params.history.enabled=!1,void(this.params.hashnavigation.enabled=!0);var g=this.history;g.initialized=!0,g.paths=o.getpathvalues(),(g.paths.key||g.paths.value)&&(g.scrolltoslide(0,g.paths.value,this.params.runcallbacksoninit),this.params.history.replacestate||h.addeventlistener("popstate",this.history.sethistorypopstate))}},destroy:function(){this.params.history.replacestate||h.removeeventlistener("popstate",this.history.sethistorypopstate)},sethistorypopstate:function(){this.history.paths=o.getpathvalues(),this.history.scrolltoslide(this.params.speed,this.history.paths.value,!1)},getpathvalues:function(){var g=h.location.pathname.slice(1).split("/").filter(function(g){return""!==g}),a=g.length;return{key:g[a-2],value:g[a-1]}},sethistory:function(g,a){if(this.history.initialized&&this.params.history.enabled){var e=this.slides.eq(a),b=o.slugify(e.attr("data-history"));h.location.pathname.includes(g)||(b=g+"/"+b);var y=h.history.state;y&&y.value===b||(this.params.history.replacestate?h.history.replacestate({value:b},null,b):h.history.pushstate({value:b},null,b))}},slugify:function(g){return g.tostring().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrolltoslide:function(g,h,a){if(h)for(var e=0,b=this.slides.length;e'),a.append(g)),g.css({height:y+"px"})):0===(g=h.find(".swiper-cube-shadow")).length&&(g=e('
'),h.append(g)));for(var d=0;d-1&&(ae=90*e+90*fa,h&&(ae=90*-e-90*fa)),bg.transform(cb),f.slideshadows){var ag=ad?bg.find(".swiper-slide-shadow-left"):bg.find(".swiper-slide-shadow-top"),dq=ad?bg.find(".swiper-slide-shadow-right"):bg.find(".swiper-slide-shadow-bottom");0===ag.length&&(ag=e('
'),bg.append(ag)),0===dq.length&&(dq=e('
'),bg.append(dq)),ag.length&&(ag[0].style.opacity=math.max(-fa,0)),dq.length&&(dq[0].style.opacity=math.max(fa,0))}}if(a.css({"-webkit-transform-origin":"50% 50% -"+hb/2+"px","-moz-transform-origin":"50% 50% -"+hb/2+"px","-ms-transform-origin":"50% 50% -"+hb/2+"px","transform-origin":"50% 50% -"+hb/2+"px"}),f.shadow)if(ad)g.transform("translate3d(0px, "+(y/2+f.shadowoffset)+"px, "+-y/2+"px) rotatex(90deg) rotatez(0deg) scale("+f.shadowscale+")");else{var aga=math.abs(ae)-90*math.floor(math.abs(ae)/90),j=1.5-(math.sin(2*aga*math.pi/360)/2+math.cos(2*aga*math.pi/360)/2),ew=f.shadowscale,ci=f.shadowscale/j,et=f.shadowoffset;g.transform("scale3d("+ew+", 1, "+ci+") translate3d(0px, "+(c/2+et)+"px, "+-c/2/ci+"px) rotatex(-90deg)")}var dj=t.issafari||t.isuiwebview?-hb/2:0;a.transform("translate3d(0px,0,"+dj+"px) rotatex("+(this.ishorizontal()?0:ae)+"deg) rotatey("+(this.ishorizontal()?-ae:0)+"deg)")},settransition:function(g){var h=this.$el;this.slides.transition(g).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(g),this.params.cubeeffect.shadow&&!this.ishorizontal()&&h.find(".swiper-cube-shadow").transition(g)}},t={settranslate:function(){for(var g=this.slides,h=this.rtltranslate,a=0;a'),b.append(ad)),0===f.length&&(f=e('
'),b.append(f)),ad.length&&(ad[0].style.opacity=math.max(-y,0)),f.length&&(f[0].style.opacity=math.max(y,0))}b.transform("translate3d("+hb+"px, "+f+"px, 0px) rotatex("+h+"deg) rotatey("+c+"deg)")}},settransition:function(g){var h=this,a=h.slides,e=h.activeindex,b=h.$wrapperel;if(a.transition(g).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(g),h.params.virtualtranslate&&0!==g){var y=!1;a.eq(e).transitionend(function(){if(!y&&h&&!h.destroyed){y=!0,h.animating=!1;for(var g=["webkittransitionend","transitionend"],a=0;a'),e.append(dq)),0===aga.length&&(aga=e('
'),e.append(aga)),dq.length&&(dq[0].style.opacity=fn>0?fn:0),aga.length&&(aga[0].style.opacity=-fn>0?-fn:0)}}(h.pointerevents||h.prefixedpointerevents)&&(b[0].style.perspectiveorigin=ad+"px 50%")},settransition:function(g){this.slides.transition(g).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(g)}},v={init:function(){var g=this.params.thumbs,h=this.constructor;g.swiper instanceof h?(this.thumbs.swiper=g.swiper,c.extend(this.thumbs.swiper.originalparams,{watchslidesprogress:!0,slidetoclickedslide:!1}),c.extend(this.thumbs.swiper.params,{watchslidesprogress:!0,slidetoclickedslide:!1})):c.isobject(g.swiper)&&(this.thumbs.swiper=new h(c.extend({},g.swiper,{watchslidesvisibility:!0,watchslidesprogress:!0,slidetoclickedslide:!1})),this.thumbs.swipercreated=!0),this.thumbs.swiper.$el.addclass(this.params.thumbs.thumbscontainerclass),this.thumbs.swiper.on("tap",this.thumbs.onthumbclick)},onthumbclick:function(){var g=this.thumbs.swiper;if(g){var h=g.clickedindex,a=g.clickedslide;if(!(a&&e(a).hasclass(this.params.thumbs.slidethumbactiveclass)||null==h)){var b;if(b=g.params.loop?parseint(e(g.clickedslide).attr("data-swiper-slide-index"),10):h,this.params.loop){var y=this.activeindex;this.slides.eq(y).hasclass(this.params.slideduplicateclass)&&(this.loopfix(),this._clientleft=this.$wrapperel[0].clientleft,y=this.activeindex);var c=this.slides.eq(y).prevall('[data-swiper-slide-index="'+b+'"]').eq(0).index(),h=this.slides.eq(y).nextall('[data-swiper-slide-index="'+b+'"]').eq(0).index();b=void 0===c?h:void 0===h?c:h-yb?e-math.floor(a/2)+1:e+math.floor(a/2)-1:e>b&&(e=e-a+1),h.slideto(e,g?0:void 0))}var h=1,hb=this.params.thumbs.slidethumbactiveclass;if(this.params.slidesperview>1&&!this.params.centeredslides&&(h=this.params.slidesperview),h.slides.removeclass(hb),h.params.loop||h.params.virtual&&h.params.virtual.enabled)for(var f=0;f0&&!e(g.target).hasclass(this.params.pagination.bulletclass)&&(!0===this.pagination.$el.hasclass(this.params.pagination.hiddenclass)?this.emit("paginationshow",this):this.emit("paginationhide",this),this.pagination.$el.toggleclass(this.params.pagination.hiddenclass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragsize:"auto",hide:!1,draggable:!1,snaponrelease:!0,lockclass:"swiper-scrollbar-lock",dragclass:"swiper-scrollbar-drag"}},create:function(){c.extend(this,{scrollbar:{init:i.init.bind(this),destroy:i.destroy.bind(this),updatesize:i.updatesize.bind(this),settranslate:i.settranslate.bind(this),settransition:i.settransition.bind(this),enabledraggable:i.enabledraggable.bind(this),disabledraggable:i.disabledraggable.bind(this),setdragposition:i.setdragposition.bind(this),getpointerposition:i.getpointerposition.bind(this),ondragstart:i.ondragstart.bind(this),ondragmove:i.ondragmove.bind(this),ondragend:i.ondragend.bind(this),istouched:!1,timeout:null,dragtimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updatesize(),this.scrollbar.settranslate()},update:function(){this.scrollbar.updatesize()},resize:function(){this.scrollbar.updatesize()},observerupdate:function(){this.scrollbar.updatesize()},settranslate:function(){this.scrollbar.settranslate()},settransition:function(g){this.scrollbar.settransition(g)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){c.extend(this,{parallax:{settransform:j.settransform.bind(this),settranslate:j.settranslate.bind(this),settransition:j.settransition.bind(this)}})},on:{beforeinit:function(){this.params.parallax.enabled&&(this.params.watchslidesprogress=!0,this.originalparams.watchslidesprogress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.settranslate()},settranslate:function(){this.params.parallax.enabled&&this.parallax.settranslate()},settransition:function(g){this.params.parallax.enabled&&this.parallax.settransition(g)}}},{name:"zoom",params:{zoom:{enabled:!1,maxratio:3,minratio:1,toggle:!0,containerclass:"swiper-zoom-container",zoomedslideclass:"swiper-slide-zoomed"}},create:function(){var g=this,h={enabled:!1,scale:1,currentscale:1,isscaling:!1,gesture:{$slideel:void 0,slidewidth:void 0,slideheight:void 0,$imageel:void 0,$imagewrapel:void 0,maxratio:3},image:{istouched:void 0,ismoved:void 0,currentx:void 0,currenty:void 0,minx:void 0,miny:void 0,maxx:void 0,maxy:void 0,width:void 0,height:void 0,startx:void 0,starty:void 0,touchesstart:{},touchescurrent:{}},velocity:{x:void 0,y:void 0,prevpositionx:void 0,prevpositiony:void 0,prevtime:void 0}};"ongesturestart ongesturechange ongestureend ontouchstart ontouchmove ontouchend ontransitionend toggle enable disable in out".split(" ").foreach(function(a){h[a]=k[a].bind(g)}),c.extend(g,{zoom:h});var a=1;object.defineproperty(g.zoom,"scale",{get:function(){return a},set:function(h){if(a!==h){var e=g.zoom.gesture.$imageel?g.zoom.gesture.$imageel[0]:void 0,b=g.zoom.gesture.$slideel?g.zoom.gesture.$slideel[0]:void 0;g.emit("zoomchange",h,e,b)}a=h}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchstart:function(g){this.zoom.enabled&&this.zoom.ontouchstart(g)},touchend:function(g){this.zoom.enabled&&this.zoom.ontouchend(g)},doubletap:function(g){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(g)},transitionend:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.ontransitionend()},slidechange:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssmode&&this.zoom.ontransitionend()}}},{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(){c.extend(this,{lazy:{initialimageloaded:!1,load:l.load.bind(this),loadinslide:l.loadinslide.bind(this)}})},on:{beforeinit:function(){this.params.lazy.enabled&&this.params.preloadimages&&(this.params.preloadimages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialslide&&this.lazy.load()},scroll:function(){this.params.freemode&&!this.params.freemodesticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbardragmove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionstart:function(){this.params.lazy.enabled&&(this.params.lazy.loadontransitionstart||!this.params.lazy.loadontransitionstart&&!this.lazy.initialimageloaded)&&this.lazy.load()},transitionend:function(){this.params.lazy.enabled&&!this.params.lazy.loadontransitionstart&&this.lazy.load()},slidechange:function(){this.params.lazy.enabled&&this.params.cssmode&&this.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){c.extend(this,{controller:{control:this.params.controller.control,getinterpolatefunction:m.getinterpolatefunction.bind(this),settranslate:m.settranslate.bind(this),settransition:m.settransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerupdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},settranslate:function(g,h){this.controller.control&&this.controller.settranslate(g,h)},settransition:function(g,h){this.controller.control&&this.controller.settransition(g,h)}}},{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 g=this;c.extend(g,{a11y:{liveregion:e('')}}),object.keys(n).foreach(function(h){g.a11y[h]=n[h].bind(g)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updatenavigation())},toedge:function(){this.params.a11y.enabled&&this.a11y.updatenavigation()},fromedge:function(){this.params.a11y.enabled&&this.a11y.updatenavigation()},paginationupdate:function(){this.params.a11y.enabled&&this.a11y.updatepagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replacestate:!1,key:"slides"}},create:function(){c.extend(this,{history:{init:o.init.bind(this),sethistory:o.sethistory.bind(this),sethistorypopstate:o.sethistorypopstate.bind(this),scrolltoslide:o.scrolltoslide.bind(this),destroy:o.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionend:function(){this.history.initialized&&this.history.sethistory(this.params.history.key,this.activeindex)},slidechange:function(){this.history.initialized&&this.params.cssmode&&this.history.sethistory(this.params.history.key,this.activeindex)}}},{name:"hash-navigation",params:{hashnavigation:{enabled:!1,replacestate:!1,watchstate:!1}},create:function(){c.extend(this,{hashnavigation:{initialized:!1,init:p.init.bind(this),destroy:p.destroy.bind(this),sethash:p.sethash.bind(this),onhashcange:p.onhashcange.bind(this)}})},on:{init:function(){this.params.hashnavigation.enabled&&this.hashnavigation.init()},destroy:function(){this.params.hashnavigation.enabled&&this.hashnavigation.destroy()},transitionend:function(){this.hashnavigation.initialized&&this.hashnavigation.sethash()},slidechange:function(){this.hashnavigation.initialized&&this.params.cssmode&&this.hashnavigation.sethash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitfortransition:!0,disableoninteraction:!0,stoponlastslide:!1,reversedirection:!1}},create:function(){var g=this;c.extend(g,{autoplay:{running:!1,paused:!1,run:q.run.bind(g),start:q.start.bind(g),stop:q.stop.bind(g),pause:q.pause.bind(g),onvisibilitychange:function(){"hidden"===document.visibilitystate&&g.autoplay.running&&g.autoplay.pause(),"visible"===document.visibilitystate&&g.autoplay.paused&&(g.autoplay.run(),g.autoplay.paused=!1)},ontransitionend:function(h){g&&!g.destroyed&&g.$wrapperel&&h.target===this&&(g.$wrapperel[0].removeeventlistener("transitionend",g.autoplay.ontransitionend),g.$wrapperel[0].removeeventlistener("webkittransitionend",g.autoplay.ontransitionend),g.autoplay.paused=!1,g.autoplay.running?g.autoplay.run():g.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&(this.autoplay.start(),document.addeventlistener("visibilitychange",this.autoplay.onvisibilitychange))},beforetransitionstart:function(g,h){this.autoplay.running&&(h||!this.params.autoplay.disableoninteraction?this.autoplay.pause(g):this.autoplay.stop())},sliderfirstmove:function(){this.autoplay.running&&(this.params.autoplay.disableoninteraction?this.autoplay.stop():this.autoplay.pause())},touchend:function(){this.params.cssmode&&this.autoplay.paused&&!this.params.autoplay.disableoninteraction&&this.autoplay.run()},destroy:function(){this.autoplay.running&&this.autoplay.stop(),document.removeeventlistener("visibilitychange",this.autoplay.onvisibilitychange)}}},{name:"effect-fade",params:{fadeeffect:{crossfade:!1}},create:function(){c.extend(this,{fadeeffect:{settranslate:r.settranslate.bind(this),settransition:r.settransition.bind(this)}})},on:{beforeinit:function(){if("fade"===this.params.effect){this.classnames.push(this.params.containermodifierclass+"fade");var g={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};c.extend(this.params,g),c.extend(this.originalparams,g)}},settranslate:function(){"fade"===this.params.effect&&this.fadeeffect.settranslate()},settransition:function(g){"fade"===this.params.effect&&this.fadeeffect.settransition(g)}}},{name:"effect-cube",params:{cubeeffect:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94}},create:function(){c.extend(this,{cubeeffect:{settranslate:s.settranslate.bind(this),settransition:s.settransition.bind(this)}})},on:{beforeinit:function(){if("cube"===this.params.effect){this.classnames.push(this.params.containermodifierclass+"cube"),this.classnames.push(this.params.containermodifierclass+"3d");var g={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,resistanceratio:0,spacebetween:0,centeredslides:!1,virtualtranslate:!0};c.extend(this.params,g),c.extend(this.originalparams,g)}},settranslate:function(){"cube"===this.params.effect&&this.cubeeffect.settranslate()},settransition:function(g){"cube"===this.params.effect&&this.cubeeffect.settransition(g)}}},{name:"effect-flip",params:{flipeffect:{slideshadows:!0,limitrotation:!0}},create:function(){c.extend(this,{flipeffect:{settranslate:t.settranslate.bind(this),settransition:t.settransition.bind(this)}})},on:{beforeinit:function(){if("flip"===this.params.effect){this.classnames.push(this.params.containermodifierclass+"flip"),this.classnames.push(this.params.containermodifierclass+"3d");var g={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};c.extend(this.params,g),c.extend(this.originalparams,g)}},settranslate:function(){"flip"===this.params.effect&&this.flipeffect.settranslate()},settransition:function(g){"flip"===this.params.effect&&this.flipeffect.settransition(g)}}},{name:"effect-coverflow",params:{coverfloweffect:{rotate:50,stretch:0,depth:100,modifier:1,slideshadows:!0}},create:function(){c.extend(this,{coverfloweffect:{settranslate:u.settranslate.bind(this),settransition:u.settransition.bind(this)}})},on:{beforeinit:function(){"coverflow"===this.params.effect&&(this.classnames.push(this.params.containermodifierclass+"coverflow"),this.classnames.push(this.params.containermodifierclass+"3d"),this.params.watchslidesprogress=!0,this.originalparams.watchslidesprogress=!0)},settranslate:function(){"coverflow"===this.params.effect&&this.coverfloweffect.settranslate()},settransition:function(g){"coverflow"===this.params.effect&&this.coverfloweffect.settransition(g)}}},{name:"thumbs",params:{thumbs:{swiper:null,slidethumbactiveclass:"swiper-slide-thumb-active",thumbscontainerclass:"swiper-container-thumbs"}},create:function(){c.extend(this,{thumbs:{swiper:null,init:v.init.bind(this),update:v.update.bind(this),onthumbclick:v.onthumbclick.bind(this)}})},on:{beforeinit:function(){var g=this.params.thumbs;g&&g.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slidechange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerupdate:function(){this.thumbs.swiper&&this.thumbs.update()},settransition:function(g){var h=this.thumbs.swiper;h&&h.settransition(g)},beforedestroy:function(){var g=this.thumbs.swiper;g&&this.thumbs.swipercreated&&g&&g.destroy()}}}];return void 0===q.use&&(q.use=q.class.use,q.installmodule=q.class.installmodule),q.use(w),q});$(function(){var g=new swiper(".swiper-container",{slidesperview:1,spacebetween:30,direction:"vertical",loop:true,clickable:true,mousewheel:true,pagination:{el:".swiper-pagination",clickable:true},navigation:{nextel:".swiper-button-next",prevel:".swiper-button-prev"},autoplay:{delay:5e3,disableoninteraction:false}})});