/****tab******/ !function(){var a="@charset \"utf-8\";html{color:#000;background:#fff;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}html,body{font-family:sans-serif}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0}input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}abbr,acronym{border:0;font-variant:normal}del{text-decoration:line-through}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:500}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}q:before,q:after{content:''}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}a:hover{text-decoration:none}ins,a{text-decoration:none}",b=document.createelement("style");if(document.getelementsbytagname("head")[0].appendchild(b),b.stylesheet)b.stylesheet.disabled||(b.stylesheet.csstext=a);else try{b.innerhtml=a}catch(c){b.innertext=a}}();!function(a,b){function c(){var b=f.getboundingclientrect().width;b/i>540&&(b=540*i);var c=b/10;f.style.fontsize=c+"px",k.rem=a.rem=c}var d,e=a.document,f=e.documentelement,g=e.queryselector('meta[name="viewport"]'),h=e.queryselector('meta[name="flexible"]'),i=0,j=0,k=b.flexible||(b.flexible={});if(g){console.warn("将根据已有的meta标签来设置缩放比例");var l=g.getattribute("content").match(/initial\-scale=([\d\.]+)/);l&&(j=parsefloat(l[1]),i=parseint(1/j))}else if(h){var m=h.getattribute("content");if(m){var n=m.match(/initial\-dpr=([\d\.]+)/),o=m.match(/maximum\-dpr=([\d\.]+)/);n&&(i=parsefloat(n[1]),j=parsefloat((1/i).tofixed(2))),o&&(i=parsefloat(o[1]),j=parsefloat((1/i).tofixed(2)))}}if(!i&&!j){var p=(a.navigator.appversion.match(/android/gi),a.navigator.appversion.match(/iphone/gi)),q=a.devicepixelratio;i=p?q>=3&&(!i||i>=3)?3:q>=2&&(!i||i>=2)?2:1:1,j=1/i}if(f.setattribute("data-dpr",i),!g)if(g=e.createelement("meta"),g.setattribute("name","viewport"),g.setattribute("content","initial-scale="+j+", maximum-scale="+j+", minimum-scale="+j+", user-scalable=no"),f.firstelementchild)f.firstelementchild.appendchild(g);else{var r=e.createelement("div");r.appendchild(g),e.write(r.innerhtml)}a.addeventlistener("resize",function(){cleartimeout(d),d=settimeout(c,300)},!1),a.addeventlistener("pageshow",function(a){a.persisted&&(cleartimeout(d),d=settimeout(c,300))},!1),"complete"===e.readystate?e.body.style.fontsize=12*i+"px":e.addeventlistener("domcontentloaded",function(){e.body.style.fontsize=12*i+"px"},!1),c(),k.dpr=a.dpr=i,k.refreshrem=c,k.rem2px=function(a){var b=parsefloat(a)*this.rem;return"string"==typeof a&&a.match(/rem$/)&&(b+="px"),b},k.px2rem=function(a){var b=parsefloat(a)/this.rem;return"string"==typeof a&&a.match(/px$/)&&(b+="rem"),b}}(window,window.lib||(window.lib={})); /** * swiper 4.4.1 * most modern mobile touch slider and framework with hardware accelerated transitions * http://www.idangero.us/swiper/ * * copyright 2014-2018 vladimir kharlampidi * * released under the mit license * * released on: september 14, 2018 */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.swiper=t()}(this,function(){"use strict";var f="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,y="undefined"==typeof window?{document:f,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,l=function(e){for(var t=0;t")){var o="div";for(0===n.indexof(":~]/)?(t||f).queryselectorall(e.trim()):[f.getelementbyid(e.trim().split("#")[1])],i=0;ia.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeindex)[0]);for(t=0;t=t.size)&&(t.visibleslides.push(o),t.visibleslidesindexes.push(n),i.eq(n).addclass(a.slidevisibleclass))}o.progress=s?-l:l}t.visibleslides=l(t.visibleslides)}},updateprogress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.maxtranslate()-t.mintranslate(),s=t.progress,r=t.isbeginning,n=t.isend,o=r,l=n;0===i?n=r=!(s=0):(r=(s=(e-t.mintranslate())/i)<=0,n=1<=s),v.extend(t,{progress:s,isbeginning:r,isend:n}),(a.watchslidesprogress||a.watchslidesvisibility)&&t.updateslidesprogress(e),r&&!o&&t.emit("reachbeginning toedge"),n&&!l&&t.emit("reachend toedge"),(o&&!r||l&&!n)&&t.emit("fromedge"),t.emit("progress",s)},updateslidesclasses:function(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperel,r=t.activeindex,n=t.realindex,o=t.virtual&&i.virtual.enabled;a.removeclass(i.slideactiveclass+" "+i.slidenextclass+" "+i.slideprevclass+" "+i.slideduplicateactiveclass+" "+i.slideduplicatenextclass+" "+i.slideduplicateprevclass),(e=o?t.$wrapperel.find("."+i.slideclass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addclass(i.slideactiveclass),i.loop&&(e.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+n+'"]').addclass(i.slideduplicateactiveclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+n+'"]').addclass(i.slideduplicateactiveclass));var l=e.nextall("."+i.slideclass).eq(0).addclass(i.slidenextclass);i.loop&&0===l.length&&(l=a.eq(0)).addclass(i.slidenextclass);var d=e.prevall("."+i.slideclass).eq(0).addclass(i.slideprevclass);i.loop&&0===d.length&&(d=a.eq(-1)).addclass(i.slideprevclass),i.loop&&(l.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicatenextclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicatenextclass),d.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicateprevclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicateprevclass))},updateactiveindex:function(e){var t,a=this,i=a.rtltranslate?a.translate:-a.translate,s=a.slidesgrid,r=a.snapgrid,n=a.params,o=a.activeindex,l=a.realindex,d=a.snapindex,p=e;if(void 0===p){for(var c=0;c=s[c]&&i=s[c]&&i=s[c]&&(p=c);n.normalizeslideindex&&(p<0||void 0===p)&&(p=0)}if((t=0<=r.indexof(i)?r.indexof(i):math.floor(p/n.slidespergroup))>=r.length&&(t=r.length-1),p!==o){var u=parseint(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);v.extend(a,{snapindex:t,realindex:u,previousindex:o,activeindex:p}),a.emit("activeindexchange"),a.emit("snapindexchange"),l!==u&&a.emit("realindexchange"),a.emit("slidechange")}else t!==d&&(a.snapindex=t,a.emit("snapindexchange"))},updateclickedslide:function(e){var t=this,a=t.params,i=l(e.target).closest("."+a.slideclass)[0],s=!1;if(i)for(var r=0;r=o.length&&(u=o.length-1),(p||n.initialslide||0)===(d||0)&&a&&s.emit("beforeslidechangestart");var h,v=-o[u];if(s.updateprogress(v),n.normalizeslideindex)for(var f=0;f=math.floor(100*l[f])&&(r=f);if(s.initialized&&r!==p){if(!s.allowslidenext&&vs.translate&&v>s.maxtranslate()&&(p||0)!==r)return!1}return h=pt.slides.length-t.loopedslides+s/2?(t.loopfix(),r=i.children("."+a.slideclass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),v.nexttick(function(){t.slideto(r)})):t.slideto(r):r>t.slides.length-s?(t.loopfix(),r=i.children("."+a.slideclass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),v.nexttick(function(){t.slideto(r)})):t.slideto(r)}else t.slideto(r)}};var u={loopcreate:function(){var i=this,e=i.params,t=i.$wrapperel;t.children("."+e.slideclass+"."+e.slideduplicateclass).remove();var s=t.children("."+e.slideclass);if(e.loopfillgroupwithblank){var a=e.slidespergroup-s.length%e.slidespergroup;if(a!==e.slidespergroup){for(var r=0;rs.length&&(i.loopedslides=s.length);var o=[],l=[];s.each(function(e,t){var a=l(t);e=s.length-i.loopedslides&&o.push(t),a.attr("data-swiper-slide-index",e)});for(var d=0;d=s.length-r)&&(e=-s.length+i+r,e+=r,t.slideto(e,0,!1,!0)&&0!==p&&t.settranslate((d?-t.translate:t.translate)-p));t.allowslideprev=n,t.allowslidenext=o},loopdestroy:function(){var e=this.$wrapperel,t=this.params,a=this.slides;e.children("."+t.slideclass+"."+t.slideduplicateclass).remove(),a.removeattr("data-swiper-slide-index")}};var h={setgrabcursor:function(e){if(!(r.touch||!this.params.simulatetouch||this.params.watchoverflow&&this.islocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetgrabcursor:function(){r.touch||this.params.watchoverflow&&this.islocked||(this.el.style.cursor="")}};var v={appendslide:function(e){var t=this,a=t.$wrapperel,i=t.params;if(i.loop&&t.loopdestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=y.screen.width-d)){if(v.extend(a,{istouched:!0,ismoved:!1,allowtouchcallbacks:!0,isscrolling:void 0,startmoving:void 0}),s.startx=n,s.starty=o,a.touchstarttime=v.now(),t.allowclick=!0,t.updatesize(),t.swipedirection=void 0,0s.starty&&t.translate>=t.mintranslate())return a.istouched=!1,void(a.ismoved=!1)}else if(os.startx&&t.translate>=t.mintranslate())return;if(a.istouchevent&&f.activeelement&&n.target===f.activeelement&&l(n.target).is(a.formelements))return a.ismoved=!0,void(t.allowclick=!1);if(a.allowtouchcallbacks&&t.emit("touchmove",n),!(n.targettouches&&1i.touchangle:90-d>i.touchangle)),a.isscrolling&&t.emit("touchmoveopposite",n),void 0===a.startmoving&&(s.currentx===s.startx&&s.currenty===s.starty||(a.startmoving=!0)),a.isscrolling)a.istouched=!1;else if(a.startmoving){t.allowclick=!1,n.preventdefault(),i.touchmovestoppropagation&&!i.nested&&n.stoppropagation(),a.ismoved||(i.loop&&t.loopfix(),a.starttranslate=t.gettranslate(),t.settransition(0),t.animating&&t.$wrapperel.trigger("webkittransitionend transitionend"),a.allowmomentumbounce=!1,!i.grabcursor||!0!==t.allowslidenext&&!0!==t.allowslideprev||t.setgrabcursor(!0),t.emit("sliderfirstmove",n)),t.emit("slidermove",n),a.ismoved=!0;var u=t.ishorizontal()?p:c;s.diff=u,u*=i.touchratio,r&&(u=-u),t.swipedirection=0t.mintranslate()?(h=!1,i.resistance&&(a.currenttranslate=t.mintranslate()-1+math.pow(-t.mintranslate()+a.starttranslate+u,v))):u<0&&a.currenttranslatea.starttranslate&&(a.currenttranslate=a.starttranslate),0i.threshold||a.allowthresholdmove))return void(a.currenttranslate=a.starttranslate);if(!a.allowthresholdmove)return a.allowthresholdmove=!0,s.startx=s.currentx,s.starty=s.currenty,a.currenttranslate=a.starttranslate,void(s.diff=t.ishorizontal()?s.currentx-s.startx:s.currenty-s.starty)}i.followfinger&&((i.freemode||i.watchslidesprogress||i.watchslidesvisibility)&&(t.updateactiveindex(),t.updateslidesclasses()),i.freemode&&(0===a.velocities.length&&a.velocities.push({position:s[t.ishorizontal()?"startx":"starty"],time:a.touchstarttime}),a.velocities.push({position:s[t.ishorizontal()?"currentx":"currenty"],time:v.now()})),t.updateprogress(a.currenttranslate),t.settranslate(a.currenttranslate))}}}}else a.startmoving&&a.isscrolling&&t.emit("touchmoveopposite",n)}.bind(e),e.ontouchend=function(e){var t=this,a=t.toucheventsdata,i=t.params,s=t.touches,r=t.rtltranslate,n=t.$wrapperel,o=t.slidesgrid,l=t.snapgrid,d=e;if(d.originalevent&&(d=d.originalevent),a.allowtouchcallbacks&&t.emit("touchend",d),a.allowtouchcallbacks=!1,!a.istouched)return a.ismoved&&i.grabcursor&&t.setgrabcursor(!1),a.ismoved=!1,void(a.startmoving=!1);i.grabcursor&&a.ismoved&&a.istouched&&(!0===t.allowslidenext||!0===t.allowslideprev)&&t.setgrabcursor(!1);var p,c=v.now(),u=c-a.touchstarttime;if(t.allowclick&&(t.updateclickedslide(d),t.emit("tap",d),u<300&&300-t.maxtranslate())return void(t.slides.lengtht.mintranslate())i.freemodemomentumbounce?(w-t.mintranslate()>e&&(w=t.mintranslate()+e),y=t.mintranslate(),t=!0,a.allowmomentumbounce=!0):w=t.mintranslate(),i.loop&&i.centeredslides&&(x=!0);else if(i.freemodesticky){for(var s,c=0;c-w){s=c;break}w=-(w=math.abs(l[s]-w)=i.longswipesms)&&(t.updateprogress(),t.updateactiveindex(),t.updateslidesclasses())}else{for(var m=0,k=t.slidessizesgrid[0],z=0;z=o[z]&&p=o[z]&&(m=z,k=o[o.length-1]-o[o.length-2]);var p=(p-o[m])/k;if(u>i.longswipesms){if(!i.longswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&(p>=i.longswipesratio?t.slideto(m+i.slidespergroup):t.slideto(m)),"prev"===t.swipedirection&&(p>1-i.longswipesratio?t.slideto(m+i.slidespergroup):t.slideto(m))}else{if(!i.shortswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&t.slideto(m+i.slidespergroup),"prev"===t.swipedirection&&t.slideto(m)}}}.bind(e),e.onclick=function(e){this.allowclick||(this.params.preventclicks&&e.preventdefault(),this.params.preventclickspropagation&&this.animating&&(e.stoppropagation(),e.stopimmediatepropagation()))}.bind(e);var r="container"===t.toucheventstarget?i:s,n=!!t.nested;if(r.touch||!r.pointerevents&&!r.prefixedpointerevents){if(r.touch){var o=!("touchstart"!==a.start||!r.passivelistener||!t.passivelisteners)&&{passive:!0,capture:!1};r.addeventlistener(a.start,e.ontouchstart,o),r.addeventlistener(a.move,e.ontouchmove,r.passivelistener?{passive:!1,capture:n}:n),r.addeventlistener(a.end,e.ontouchend,o)}(t.simulatetouch&&!m.ios&&!m.android||t.simulatetouch&&!r.touch&&m.ios)&&(r.addeventlistener("mousedown",e.ontouchstart,!1),f.addeventlistener("mousemove",e.ontouchmove,n),f.addeventlistener("mouseup",e.ontouchend,!1))}else r.addeventlistener(a.start,e.ontouchstart,!1),f.addeventlistener(a.move,e.ontouchmove,n),f.addeventlistener(a.end,e.ontouchend,!1);(t.preventclicks||t.preventclickspropagation)&&r.addeventlistener("click",e.onclick,!0),e.on(m.ios||m.android?"resize orientationchange observerupdate":"resize observerupdate",g,!0)},detachevents:function(){var e=this,t=e.params,a=e.touchevents,i=e.el,s=e.wrapperel,r="container"===t.toucheventstarget?i:s,n=!!t.nested;if(r.touch||!r.pointerevents&&!r.prefixedpointerevents){if(r.touch){var o=!("ontouchstart"!==a.start||!r.passivelistener||!t.passivelisteners)&&{passive:!0,capture:!1};r.removeeventlistener(a.start,e.ontouchstart,o),r.removeeventlistener(a.move,e.ontouchmove,n),r.removeeventlistener(a.end,e.ontouchend,o)}(t.simulatetouch&&!m.ios&&!m.android||t.simulatetouch&&!r.touch&&m.ios)&&(r.removeeventlistener("mousedown",e.ontouchstart,!1),f.removeeventlistener("mousemove",e.ontouchmove,n),f.removeeventlistener("mouseup",e.ontouchend,!1))}else r.removeeventlistener(a.start,e.ontouchstart,!1),f.removeeventlistener(a.move,e.ontouchmove,n),f.removeeventlistener(a.end,e.ontouchend,!1);(t.preventclicks||t.preventclickspropagation)&&r.removeeventlistener("click",e.onclick,!0),e.off(m.ios||m.android?"resize orientationchange observerupdate":"resize observerupdate",g)}};var w,y={setbreakpoint:function(){var e=this,t=e.activeindex,a=e.initialized,i=e.loopedslides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==object.keys(r).length)){var n=e.getbreakpoint(r);if(n&&e.currentbreakpoint!==n){var o=n in r?r[n]:e.originalparams,l=s.loop&&o.slidesperview!==s.slidesperview;v.extend(e.params,o),v.extend(e,{allowtouchmove:e.params.allowtouchmove,allowslidenext:e.params.allowslidenext,allowslideprev:e.params.allowslideprev}),e.currentbreakpoint=n,l&&a&&(e.loopdestroy(),e.loopcreate(),e.updateslides(),e.slideto(t-i+e.loopedslides,0,!1)),e.emit("breakpoint",o)}}},getbreakpoint:function(e){if(e){var t=!1,a=[];object.keys(e).foreach(function(e){a.push(e)}),a.sort(function(e,t){return parseint(e,10)-parseint(t,10)});for(var i=0;i=y.innerwidth&&!t&&(t=s)}return t||"max"}}},i={isie:!!y.navigator.useragent.match(/trident/g)||!!y.navigator.useragent.match(/msie/g),isedge:!!y.navigator.useragent.match(/edge/g),issafari:(w=y.navigator.useragent.tolowercase(),0<=w.indexof("safari")&&w.indexof("chrome")<0&&w.indexof("android")<0),isuiwebview:/(iphone|ipod|ipad).*applewebkit(?!.*safari)/i.test(y.navigator.useragent)};var x={init:!0,direction:"horizontal",toucheventstarget:"container",initialslide:0,speed:300,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,breakpointsinverse:!1,spacebetween:0,slidesperview:1,slidespercolumn:1,slidespercolumnfill:"column",slidespergroup:1,centeredslides:!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:!0,touchstartpreventdefault:!0,touchreleaseonedges:!1,uniquenavelements:!0,resistance:!0,resistanceratio:.85,watchslidesprogress:!1,watchslidesvisibility:!1,grabcursor:!1,preventclicks:!0,preventclickspropagation:!0,slidetoclickedslide:!1,preloadimages:!0,updateonimagesready:!0,loop:!1,loopadditionalslides:0,loopedslides:null,loopfillgroupwithblank:!1,allowslideprev:!0,allowslidenext:!0,swipehandler:null,noswiping:!0,noswipingclass:"swiper-no-swiping",noswipingselector:null,passivelisteners:!0,containermodifierclass:"swiper-container-",slideclass:"swiper-slide",slideblankclass:"swiper-slide-invisible-blank",slideactiveclass:"swiper-slide-active",slideduplicateactiveclass:"swiper-slide-duplicate-active",slidevisibleclass:"swiper-slide-visible",slideduplicateclass:"swiper-slide-duplicate",slidenextclass:"swiper-slide-next",slideduplicatenextclass:"swiper-slide-duplicate-next",slideprevclass:"swiper-slide-prev",slideduplicateprevclass:"swiper-slide-duplicate-prev",wrapperclass:"swiper-wrapper",runcallbacksoninit:!0},t={update:o,translate:d,transition:p,slide:c,loop:u,grabcursor:h,manipulation:v,events:b,breakpoints:y,checkoverflow:{checkoverflow:function(){var e=this,t=e.islocked;e.islocked=1===e.snapgrid.length,e.allowslidenext=!e.islocked,e.allowslideprev=!e.islocked,t!==e.islocked&&e.emit(e.islocked?"lock":"unlock"),t&&t!==e.islocked&&(e.isend=!1,e.navigation.update())}},classes:{addclasses:function(){var t=this.classnames,a=this.params,e=this.rtl,i=this.$el,s=[];s.push(a.direction),a.freemode&&s.push("free-mode"),r.flexbox||s.push("no-flexbox"),a.autoheight&&s.push("autoheight"),e&&s.push("rtl"),1'+e+"");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendslide:function(e){this.virtual.slides.push(e),this.virtual.update(!0)},prependslide:function(e){var t=this;if(t.virtual.slides.unshift(e),t.params.virtual.cache){var a=t.virtual.cache,i={};object.keys(a).foreach(function(e){i[e+1]=a[e]}),t.virtual.cache=i}t.virtual.update(!0),t.slidenext(0)}},o={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderslide:null,renderexternal:null,addslidesbefore:0,addslidesafter:0}},create:function(){var e=this;v.extend(e,{virtual:{update:d.update.bind(e),appendslide:d.appendslide.bind(e),prependslide:d.prependslide.bind(e),renderslide:d.renderslide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeinit:function(){var e=this;if(e.params.virtual.enabled){e.classnames.push(e.params.containermodifierclass+"virtual");var t={watchslidesprogress:!0};v.extend(e.params,t),v.extend(e.originalparams,t),e.virtual.update()}},settranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},a={handle:function(e){var t=this,a=t.rtltranslate,i=e;i.originalevent&&(i=i.originalevent);var s=i.keycode||i.charcode;if(!t.allowslidenext&&(t.ishorizontal()&&39===s||t.isvertical()&&40===s))return!1;if(!t.allowslideprev&&(t.ishorizontal()&&37===s||t.isvertical()&&38===s))return!1;if(!(i.shiftkey||i.altkey||i.ctrlkey||i.metakey||f.activeelement&&f.activeelement.nodename&&("input"===f.activeelement.nodename.tolowercase()||"textarea"===f.activeelement.nodename.tolowercase()))){if(t.params.keyboard.onlyinviewport&&(37===s||39===s||38===s||40===s)){var r=!1;if(0math.abs(n.pixely)))return!0;s=n.pixelx*r}else{if(!(math.abs(n.pixely)>math.abs(n.pixelx)))return!0;s=n.pixely}else s=math.abs(n.pixelx)>math.abs(n.pixely)?-n.pixelx*r:-n.pixely;if(0===s)return!0;if(i.invert&&(s=-s),a.params.freemode){a.params.loop&&a.loopfix();var o=a.gettranslate()+s*i.sensitivity,l=a.isbeginning,d=a.isend;if(o>=a.mintranslate()&&(o=a.mintranslate()),o<=a.maxtranslate()&&(o=a.maxtranslate()),a.settransition(0),a.settranslate(o),a.updateprogress(),a.updateactiveindex(),a.updateslidesclasses(),(!l&&a.isbeginning||!d&&a.isend)&&a.updateslidesclasses(),a.params.freemodesticky&&(cleartimeout(a.mousewheel.timeout),a.mousewheel.timeout=v.nexttick(function(){a.slidetoclosest()},300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplaydisableoninteraction&&a.autoplay.stop(),o===a.mintranslate()||o===a.maxtranslate())return!0}else{if(60a-1-2*e.loopedslides&&(r-=a-2*e.loopedslides),n-1s.dynamicmainbullets-1?e.pagination.dynamicbulletindex=s.dynamicmainbullets-1:e.pagination.dynamicbulletindex<0&&(e.pagination.dynamicbulletindex=0)),o=r-e.pagination.dynamicbulletindex,d=((l=o+(math.min(p.length,s.dynamicmainbullets)-1))+o)/2),p.removeclass(s.bulletactiveclass+" "+s.bulletactiveclass+"-next "+s.bulletactiveclass+"-next-next "+s.bulletactiveclass+"-prev "+s.bulletactiveclass+"-prev-prev "+s.bulletactiveclass+"-main"),1";i.html(s),e.pagination.bullets=i.find("."+t.bulletclass)}"fraction"===t.type&&(s=t.renderfraction?t.renderfraction.call(e,t.currentclass,t.totalclass):' / ',i.html(s)),"progressbar"===t.type&&(s=t.renderprogressbar?t.renderprogressbar.call(e,t.progressbarfillclass):'',i.html(s)),"custom"!==t.type&&e.emit("paginationrender",e.pagination.$el[0])}},init:function(){var a=this,e=a.params.pagination;if(e.el){var t=l(e.el);0!==t.length&&(a.params.uniquenavelements&&"string"==typeof e.el&&1'),s.append(r)),v.extend(t,{$el:s,el:s[0],$dragel:r,dragel:r[0]}),i.draggable&&t.enabledraggable()}},destroy:function(){this.scrollbar.disabledraggable()}},f={settransform:function(e,t){var a=this.rtl,i=l(e),s=a?-1:1,r=i.attr("data-swiper-parallax")||"0",n=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(n||o?(n=n||"0",o=o||"0"):this.ishorizontal()?(n=r,o="0"):(o=r,n="0"),n=0<=n.indexof("%")?parseint(n,10)*t*s+"%":n*t*s+"px",o=0<=o.indexof("%")?parseint(o,10)*t+"%":o*t+"px",null!=d){var p=d-(d-1)*(1-math.abs(t));i[0].style.opacity=p}if(null==l)i.transform("translate3d("+n+", "+o+", 0px)");else{var c=l-(l-1)*(1-math.abs(t));i.transform("translate3d("+n+", "+o+", 0px) scale("+c+")")}},settranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapgrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.settransform(t,s)}),t.each(function(e,t){var a=t.progress;1i.maxratio&&(a.scale=i.maxratio-1+math.pow(a.scale-i.maxratio+1,.5)),a.scales.touchesstart.x))return void(s.istouched=!1);if(!t.ishorizontal()&&(math.floor(s.miny)===math.floor(s.starty)&&s.touchescurrent.ys.touchesstart.y))return void(s.istouched=!1)}e.preventdefault(),e.stoppropagation(),s.ismoved=!0,s.currentx=s.touchescurrent.x-s.touchesstart.x+s.startx,s.currenty=s.touchescurrent.y-s.touchesstart.y+s.starty,s.currentxs.maxx&&(s.currentx=s.maxx-1+math.pow(s.currentx-s.maxx+1,.8)),s.currentys.maxy&&(s.currenty=s.maxy-1+math.pow(s.currenty-s.maxy+1,.8)),r.prevpositionx||(r.prevpositionx=s.touchescurrent.x),r.prevpositiony||(r.prevpositiony=s.touchescurrent.y),r.prevtime||(r.prevtime=date.now()),r.x=(s.touchescurrent.x-r.prevpositionx)/(date.now()-r.prevtime)/2,r.y=(s.touchescurrent.y-r.prevpositiony)/(date.now()-r.prevtime)/2,math.abs(s.touchescurrent.x-r.prevpositionx)<2&&(r.x=0),math.abs(s.touchescurrent.y-r.prevpositiony)<2&&(r.y=0),r.prevpositionx=s.touchescurrent.x,r.prevpositiony=s.touchescurrent.y,r.prevtime=date.now(),i.$imagewrapel.transform("translate3d("+s.currentx+"px, "+s.currenty+"px,0)")}}},ontouchend:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageel&&0!==t.$imageel.length){if(!a.istouched||!a.ismoved)return a.istouched=!1,void(a.ismoved=!1);a.istouched=!1,a.ismoved=!1;var s=300,r=300,n=i.x*s,o=a.currentx+n,l=i.y*r,d=a.currenty+l;0!==i.x&&(s=math.abs((o-a.currentx)/i.x)),0!==i.y&&(r=math.abs((d-a.currenty)/i.y));var p=math.max(s,r);a.currentx=o,a.currenty=d;var c=a.width*e.scale,u=a.height*e.scale;a.minx=math.min(t.slidewidth/2-c/2,0),a.maxx=-a.minx,a.miny=math.min(t.slideheight/2-u/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),t.$imagewrapel.transition(p).transform("translate3d("+a.currentx+"px, "+a.currenty+"px,0)")}},ontransitionend:function(){var e=this.zoom,t=e.gesture;t.$slideel&&this.previousindex!==this.activeindex&&(t.$imageel.transform("translate3d(0,0,0) scale(1)"),t.$imagewrapel.transform("translate3d(0,0,0)"),t.$slideel=void 0,t.$imageel=void 0,t.$imagewrapel=void 0,e.scale=1,e.currentscale=1)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,o,l,d,p,c,u,h,v,f,m,g=this,b=g.zoom,w=g.params.zoom,y=b.gesture,x=b.image;(y.$slideel||(y.$slideel=g.clickedslide?l(g.clickedslide):g.slides.eq(g.activeindex),y.$imageel=y.$slideel.find("img, svg, canvas"),y.$imagewrapel=y.$imageel.parent("."+w.containerclass)),y.$imageel&&0!==y.$imageel.length)&&(y.$slideel.addclass(""+w.zoomedslideclass),void 0===x.touchesstart.x&&e?(t="touchend"===e.type?e.changedtouches[0].pagex:e.pagex,a="touchend"===e.type?e.changedtouches[0].pagey:e.pagey):(t=x.touchesstart.x,a=x.touchesstart.y),b.scale=y.$imagewrapel.attr("data-swiper-zoom")||w.maxratio,b.currentscale=y.$imagewrapel.attr("data-swiper-zoom")||w.maxratio,e?(f=y.$slideel[0].offsetwidth,m=y.$slideel[0].offsetheight,i=y.$slideel.offset().left+f/2-t,s=y.$slideel.offset().top+m/2-a,o=y.$imageel[0].offsetwidth,l=y.$imageel[0].offsetheight,d=o*b.scale,p=l*b.scale,h=-(c=math.min(f/2-d/2,0)),v=-(u=math.min(m/2-p/2,0)),(r=i*b.scale)>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastindex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getinterpolatefunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new j.linearspline(t.slidesgrid,e.slidesgrid):new j.linearspline(t.snapgrid,e.snapgrid))},settranslate:function(e,t){var a,i,s=this,r=s.controller.control;function n(e){var t=s.rtltranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getinterpolatefunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxtranslate()-e.mintranslate())/(s.maxtranslate()-s.mintranslate()),i=(t-s.mintranslate())*a+e.mintranslate()),s.params.controller.inverse&&(i=e.maxtranslate()-i),e.updateprogress(i),e.settranslate(i,s),e.updateactiveindex(),e.updateslidesclasses()}if(array.isarray(r))for(var o=0;o'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=l('
'),a.append(e)));for(var h=0;h'),v.append(e)),0===s.length&&(s=l('
'),v.append(s)),e.length&&(e[0].style.opacity=math.max(-b,0)),s.length&&(s[0].style.opacity=math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(p)e.transform("translate3d(0px, "+(r/2+d.shadowoffset)+"px, "+-r/2+"px) rotatex(90deg) rotatez(0deg) scale("+d.shadowscale+")");else{var c=math.abs(u)-90*math.floor(math.abs(u)/90),m=1.5-(math.sin(2*c*math.pi/360)/2+math.cos(2*c*math.pi/360)/2),k=d.shadowscale,z=d.shadowscale/m,p=d.shadowoffset;e.transform("scale3d("+k+", 1, "+z+") translate3d(0px, "+(n/2+p)+"px, "+-n/2/z+"px) rotatex(-90deg)")}var $=i.issafari||i.isuiwebview?-l/2:0;i.transform("translate3d(0px,0,"+$+"px) rotatex("+(t.ishorizontal()?0:u)+"deg) rotatey("+(t.ishorizontal()?-u:0)+"deg)")},settransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeeffect.shadow&&!this.ishorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ee={settranslate:function(){for(var e=this,t=e.slides,a=e.rtltranslate,i=0;i'),s.append(p)),0===c.length&&(c=l('
'),s.append(c)),p.length&&(p[0].style.opacity=math.max(-r,0)),c.length&&(c[0].style.opacity=math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotatex("+o+"deg) rotatey("+n+"deg)")}},settransition:function(e){var a=this,t=a.slides,i=a.activeindex,s=a.$wrapperel;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),a.params.virtualtranslate&&0!==e){var r=!1;t.eq(i).transitionend(function(){if(!r&&a&&!a.destroyed){r=!0,a.animating=!1;for(var e=["webkittransitionend","transitionend"],t=0;t'),v.append(e)),0===s.length&&(s=l('
'),v.append(s)),e.length&&(e[0].style.opacity=0')}}),object.keys(u).foreach(function(e){t.a11y[e]=u[e].bind(t)})},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(){var e=this;v.extend(e,{history:{init:k.init.bind(e),sethistory:k.sethistory.bind(e),sethistorypopstate:k.sethistorypopstate.bind(e),scrolltoslide:k.scrolltoslide.bind(e),destroy:k.destroy.bind(e)}})},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)}}},{name:"hash-navigation",params:{hashnavigation:{enabled:!1,replacestate:!1,watchstate:!1}},create:function(){var e=this;v.extend(e,{hashnavigation:{initialized:!1,init:_.init.bind(e),destroy:_.destroy.bind(e),sethash:_.sethash.bind(e),onhashcange:_.onhashcange.bind(e)}})},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()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitfortransition:!0,disableoninteraction:!0,stoponlastslide:!1,reversedirection:!1}},create:function(){var t=this;v.extend(t,{autoplay:{running:!1,paused:!1,run:z.run.bind(t),start:z.start.bind(t),stop:z.stop.bind(t),pause:z.pause.bind(t),ontransitionend:function(e){t&&!t.destroyed&&t.$wrapperel&&e.target===this&&(t.$wrapperel[0].removeeventlistener("transitionend",t.autoplay.ontransitionend),t.$wrapperel[0].removeeventlistener("webkittransitionend",t.autoplay.ontransitionend),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforetransitionstart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableoninteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderfirstmove:function(){this.autoplay.running&&(this.params.autoplay.disableoninteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeeffect:{crossfade:!1}},create:function(){v.extend(this,{fadeeffect:{settranslate:q.settranslate.bind(this),settransition:q.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("fade"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"fade");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};v.extend(e.params,t),v.extend(e.originalparams,t)}},settranslate:function(){"fade"===this.params.effect&&this.fadeeffect.settranslate()},settransition:function(e){"fade"===this.params.effect&&this.fadeeffect.settransition(e)}}},{name:"effect-cube",params:{cubeeffect:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94}},create:function(){v.extend(this,{cubeeffect:{settranslate:j.settranslate.bind(this),settransition:j.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("cube"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"cube"),e.classnames.push(e.params.containermodifierclass+"3d");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,resistanceratio:0,spacebetween:0,centeredslides:!1,virtualtranslate:!0};v.extend(e.params,t),v.extend(e.originalparams,t)}},settranslate:function(){"cube"===this.params.effect&&this.cubeeffect.settranslate()},settransition:function(e){"cube"===this.params.effect&&this.cubeeffect.settransition(e)}}},{name:"effect-flip",params:{flipeffect:{slideshadows:!0,limitrotation:!0}},create:function(){v.extend(this,{flipeffect:{settranslate:ee.settranslate.bind(this),settransition:ee.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("flip"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"flip"),e.classnames.push(e.params.containermodifierclass+"3d");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};v.extend(e.params,t),v.extend(e.originalparams,t)}},settranslate:function(){"flip"===this.params.effect&&this.flipeffect.settranslate()},settransition:function(e){"flip"===this.params.effect&&this.flipeffect.settransition(e)}}},{name:"effect-coverflow",params:{coverfloweffect:{rotate:50,stretch:0,depth:100,modifier:1,slideshadows:!0}},create:function(){v.extend(this,{coverfloweffect:{settranslate:te.settranslate.bind(this),settransition:te.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;"coverflow"===e.params.effect&&(e.classnames.push(e.params.containermodifierclass+"coverflow"),e.classnames.push(e.params.containermodifierclass+"3d"),e.params.watchslidesprogress=!0,e.originalparams.watchslidesprogress=!0)},settranslate:function(){"coverflow"===this.params.effect&&this.coverfloweffect.settranslate()},settransition:function(e){"coverflow"===this.params.effect&&this.coverfloweffect.settransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slidethumbactiveclass:"swiper-slide-thumb-active",thumbscontainerclass:"swiper-container-thumbs"}},create:function(){v.extend(this,{thumbs:{swiper:null,init:ae.init.bind(this),update:ae.update.bind(this),onthumbclick:ae.onthumbclick.bind(this)}})},on:{beforeinit:function(){var e=this.params.thumbs;e&&e.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(e){var t=this.thumbs.swiper;t&&t.settransition(e)},beforedestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swipercreated&&e&&e.destroy()}}}];return void 0===s.use&&(s.use=s.class.use,s.installmodule=s.class.installmodule),s.use(ie),s}); //# sourcemappingurl=swiper.min.js.map