PeriodAdjust~PeriodChange.6b7f9168.js 139 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["PeriodAdjust~PeriodChange"],{"19a3":function(e,t,a){"use strict";var i=a("55b2"),s=a.n(i);s.a},"47ad":function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"calendar"},[a("div",{staticClass:"c__hd"},[a("div",{staticClass:"c__date",on:{click:e.onToggleType}},[a("span",[e._v(e._s(e.curDays.month.toString().length>=2?e.curDays.month:"0"+e.curDays.month)+"月")]),e._v(e._s(e.curDays.year)+"年")]),"small"!==e.calendarType?a("div",{staticClass:"c__change"},[a("van-icon",{attrs:{name:"arrow-left"},on:{click:e.slidePrev}}),a("van-icon",{attrs:{name:"arrow"},on:{click:e.slideNext}})],1):e._e()]),e._m(0),a("swiper",{ref:"mySwiper",staticStyle:{height:"auto"},attrs:{options:e.swiperOption},on:{slideChangeTransitionEnd:e.slideChangeTransitionEnd}},e._l(e.daySet,function(t,i){return a("swiper-slide",{key:i},[a("div",{staticClass:"tr"},[e._l(t,function(t,i){return[a("div",{key:i,class:["small"==e.calendarType?"small":"","td"]},[a("span",{class:[t.disabled?"disabled":"",t.noCheck?"noCheck":"",t.toDay?"today":"",t.nowDate==e.selectElement?"active":""],on:{click:function(a){return a.stopPropagation(),e.onSelectDay(t)}}},[e._v(e._s(t.dayNum))])])]})],2)])}),1)],1)},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"week-title"},[a("span",[e._v("一")]),a("span",[e._v("二")]),a("span",[e._v("三")]),a("span",[e._v("四")]),a("span",[e._v("五")]),a("span",[e._v("六")]),a("span",[e._v("日")])])}],r=(a("c5f6"),a("6b54"),a("dfa4"),a("7212")),n={name:"calendar",components:{swiper:r["swiper"],swiperSlide:r["swiperSlide"]},props:{dataList:{type:Array,default:function(){return[]}},type:{type:String,default:"default"}},data:function(){return{calendarType:this.type,swiperOption:{autoHeight:!0,initialSlide:13,centeredSlides:!0,observer:!0,observeParents:!0},OS:Object.prototype.toString,startWeek:1,daySet:[],curDays:{year:(new Date).getFullYear(),month:(new Date).getMonth()+1},points:{startX:0,startY:0,endX:0,endY:0},selectElement:null}},methods:{isLeap:function(e){return e%100!==0&&e%4===0||e%400===0},isDate:function(e){return this.OS.call("[object Date]"===e)},dateToString:function(e){return!!this.isDate(e)&&e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()},getSiblingsMonth:function(e,t,a){var i=new Date(e,t-1);return i.setMonth(t-1+a),{y:i.getFullYear(),m:i.getMonth()+1}},getDaysNum:function(e,t){var a=31;switch(t){case 2:a=this.isLeap(e)?29:28;break;case 4:case 6:case 9:case 11:a=30;break}return a},getPrevMonth:function(e,t,a){return this.getSiblingsMonth(e,t,0-(a||1))},getNextMonth:function(e,t,a){return this.getSiblingsMonth(e,t,a||1)},getListMonth:function(){this.daySet=[];for(var e=12;e>=-2;e--)this.daySet.push(this.getDaysSet(new Date(this.curDays.year,this.curDays.month-(e+2))))},getDayItem:function(e,t,a,i){var s,r=!1,n=new Date;n.getFullYear()===e&&n.getMonth()+1===t&&n.getDate()===a&&2===i&&(r=!0,this.selectElement=new Date(e,t-1,a)),s="small"==this.calendarType?0:2===i?0:1;var o=!1;return{dayNum:a,monthType:i,disabled:s,noCheck:o,toDay:r,nowDate:new Date(e,t-1,a)}},getDaysSet:function(e,t){var a,i,s,r,n,o,l,d,p=[];this.isDate(e)?(a=e.getFullYear(),i=e.getMonth()+1):(a=Number(e),i=Number(t)),s=new Date(a,i-1,1).getDay()||7,o=s-this.startWeek,r=this.getDaysNum(a,i),n=this.getPrevMonth(a,i),l=this.getDaysNum(a,n.m),d=this.getNextMonth(a,i);for(var u=1,c=2,h=3,f=0,v=l-o+1;v<=l;v++,f++)p.push(this.getDayItem(n.y,n.m,v,u));for(var m=1;m<=r;m++,f++)p.push(this.getDayItem(a,i,m,c));for(var g=f%7===0?f:7-f%7+f,w=1,b=g-f;w<=b;w++)p.push(this.getDayItem(d.y,d.m,w,h));return p},getSmallCalendar:function(e,t,a){var i,s,r,n,o=[];this.isDate(e)?(i=e.getFullYear(),s=e.getMonth()+1,r=e.getDate()):(i=Number(e),s=Number(t),r=Number(a));var l=2,d=0;n=new Date(i,s-1,r).getDay()||7;for(var p=n-1;p>0;p--,d++){var u=new Date(i,s-1,r-p),c=u.getFullYear(),h=u.getMonth()+1,f=u.getDate();o.push(this.getDayItem(c,h,f,l))}o.push(this.getDayItem(i,s,r,l)),d++;for(var v=1;v<=7-d;v++){var m=new Date(i,s-1,r+v),g=m.getFullYear(),w=m.getMonth()+1,b=m.getDate();o.push(this.getDayItem(g,w,b,l))}this.daySet.push(o)},slideChangeTransitionEnd:function(){var e=this.swiper,t=this.daySet[e.activeIndex][6].nowDate;this.curDays={year:t.getFullYear(),month:t.getMonth()+1},e.isEnd&&this.daySet.push(this.getDaysSet(new Date(this.curDays.year,this.curDays.month)))},slidePrev:function(){this.swiper.slidePrev()},slideNext:function(){this.swiper.slideNext()},touchStart:function(){var e=event.touches[0];this.points.startY=e.pageY,this.points.startX=e.pageX},touchMove:function(){},onTouchUp:function(){},onTouchDown:function(){},touchEnd:function(){},onSelectDay:function(e){2!=e.monthType||e.noCheck||(this.selectElement=e.nowDate,this.$emit("onSelectDay",e.nowDate))},onToggleType:function(){"default"===this.calendarType?(this.calendarType="small",this.getSmallCalendar(new Date)):(this.calendarType="default",this.getListMonth()),this.$forceUpdate()}},computed:{swiper:function(){return this.$refs.mySwiper.swiper}},watch:{},mounted:function(){"default"==this.calendarType?this.getListMonth():this.getSmallCalendar(new Date)}},o=n,l=(a("7a67"),a("2877")),d=Object(l["a"])(o,i,s,!1,null,"99639bf6",null);t["a"]=d.exports},"55b2":function(e,t,a){},7212:function(e,t,a){!function(t,i){e.exports=i(a("d090"))}(0,function(e){return function(e){function t(i){if(a[i])return a[i].exports;var s=a[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var a={};return t.m=e,t.c=a,t.i=function(e){return e},t.d=function(e,a,i){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(t,a){t.exports=e},function(e,t){e.exports=function(e,t,a,i,s,r){var n,o=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(n=e,o=e.default);var d,p="function"==typeof o?o.options:o;if(t&&(p.render=t.render,p.staticRenderFns=t.staticRenderFns,p._compiled=!0),a&&(p.functional=!0),s&&(p._scopeId=s),r?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},p._ssrRegister=d):i&&(d=i),d){var u=p.functional,c=u?p.render:p.beforeCreate;u?(p._injectStyles=d,p.render=function(e,t){return d.call(t),c(e,t)}):p.beforeCreate=c?[].concat(c,d):[d]}return{esModule:n,exports:o,options:p}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(5),s=a.n(i),r=a(8),n=a(1),o=n(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(6),s=a.n(i),r=a(7),n=a(1),o=n(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.swiperSlide=t.swiper=t.Swiper=void 0;var s=a(0),r=i(s),n=a(2),o=i(n),l=a(3),d=i(l),p=window.Swiper||r.default,u=d.default,c=o.default,h=function(e,t){t&&(d.default.props.globalOptions.default=function(){return t}),e.component(d.default.name,d.default),e.component(o.default.name,o.default)},f={Swiper:p,swiper:u,swiperSlide:c,install:h};t.default=f,t.Swiper=p,t.swiper=u,t.swiperSlide=c,t.install=h},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"swiper-slide",data:function(){return{slideClass:"swiper-slide"}},ready:function(){this.update()},mounted:function(){this.update(),this.$parent&&this.$parent.options&&this.$parent.options.slideClass&&(this.slideClass=this.$parent.options.slideClass)},updated:function(){this.update()},attached:function(){this.update()},methods:{update:function(){this.$parent&&this.$parent.swiper&&this.$parent.update()}}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(0),s=function(e){return e&&e.__esModule?e:{default:e}}(i),r=window.Swiper||s.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),i=1;i<arguments.length;i++){var s=arguments[i];if(null!=s)for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(a[r]=s[r])}return a},writable:!0,configurable:!0});var n=["beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize"];t.default={name:"swiper",props:{options:{type:Object,default:function(){return{}}},globalOptions:{type:Object,required:!1,default:function(){return{}}}},data:function(){return{swiper:null,classes:{wrapperClass:"swiper-wrapper"}}},ready:function(){this.swiper||this.mountInstance()},mounted:function(){if(!this.swiper){var e=!1;for(var t in this.classes)this.classes.hasOwnProperty(t)&&this.options[t]&&(e=!0,this.classes[t]=this.options[t]);e?this.$nextTick(this.mountInstance):this.mountInstance()}},activated:function(){this.update()},updated:function(){this.update()},beforeDestroy:function(){this.$nextTick(function(){this.swiper&&(this.swiper.destroy&&this.swiper.destroy(),delete this.swiper)})},methods:{update:function(){this.swiper&&(this.swiper.update&&this.swiper.update(),this.swiper.navigation&&this.swiper.navigation.update(),this.swiper.pagination&&this.swiper.pagination.render(),this.swiper.pagination&&this.swiper.pagination.update())},mountInstance:function(){var e=Object.assign({},this.globalOptions,this.options);this.swiper=new r(this.$el,e),this.bindEvents(),this.$emit("ready",this.swiper)},bindEvents:function(){var e=this,t=this;n.forEach(function(a){e.swiper.on(a,function(){t.$emit.apply(t,[a].concat(Array.prototype.slice.call(arguments))),t.$emit.apply(t,[a.replace(/([A-Z])/g,"-$1").toLowerCase()].concat(Array.prototype.slice.call(arguments)))})})}}}},function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"swiper-container"},[e._t("parallax-bg"),e._v(" "),a("div",{class:e.classes.wrapperClass},[e._t("default")],2),e._v(" "),e._t("pagination"),e._v(" "),e._t("button-prev"),e._v(" "),e._t("button-next"),e._v(" "),e._t("scrollbar")],2)},s=[],r={render:i,staticRenderFns:s};t.a=r},function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass},[e._t("default")],2)},s=[],r={render:i,staticRenderFns:s};t.a=r}])})},"7a67":function(e,t,a){"use strict";var i=a("882a"),s=a.n(i);s.a},"882a":function(e,t,a){},d090:function(e,t,a){(function(t,a){e.exports=a()})(0,function(){"use strict";var e="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,t="undefined"===typeof window?{document:e,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(e){for(var t=this,a=0;a<e.length;a+=1)t[a]=e[a];return t.length=e.length,this};function i(i,s){var r=[],n=0;if(i&&!s&&i instanceof a)return i;if(i)if("string"===typeof i){var o,l,d=i.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var p="div";for(0===d.indexOf("<li")&&(p="ul"),0===d.indexOf("<tr")&&(p="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(p="tr"),0===d.indexOf("<tbody")&&(p="table"),0===d.indexOf("<option")&&(p="select"),l=e.createElement(p),l.innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else for(o=s||"#"!==i[0]||i.match(/[ .<>:~]/)?(s||e).querySelectorAll(i.trim()):[e.getElementById(i.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else if(i.nodeType||i===t||i===e)r.push(i);else if(i.length>0&&i[0].nodeType)for(n=0;n<i.length;n+=1)r.push(i[n]);return new a(r)}function s(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}function r(e){if("undefined"===typeof e)return this;for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)"undefined"!==typeof this[i]&&"undefined"!==typeof this[i].classList&&this[i].classList.add(t[a]);return this}function n(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)"undefined"!==typeof this[i]&&"undefined"!==typeof this[i].classList&&this[i].classList.remove(t[a]);return this}function o(e){return!!this[0]&&this[0].classList.contains(e)}function l(e){for(var t=e.split(" "),a=0;a<t.length;a+=1)for(var i=0;i<this.length;i+=1)"undefined"!==typeof this[i]&&"undefined"!==typeof this[i].classList&&this[i].classList.toggle(t[a]);return this}function d(e,t){var a=arguments;if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===a.length)this[i].setAttribute(e,t);else for(var s in e)this[i][s]=e[s],this[i].setAttribute(s,e[s]);return this}function p(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function u(e,t){var a;if("undefined"!==typeof t){for(var i=0;i<this.length;i+=1)a=this[i],a.dom7ElementDataStorage||(a.dom7ElementDataStorage={}),a.dom7ElementDataStorage[e]=t;return this}if(a=this[0],a){if(a.dom7ElementDataStorage&&e in a.dom7ElementDataStorage)return a.dom7ElementDataStorage[e];var s=a.getAttribute("data-"+e);return s||void 0}}function c(e){for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransform=e,a.transform=e}return this}function h(e){"string"!==typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var a=this[t].style;a.webkitTransitionDuration=e,a.transitionDuration=e}return this}function f(){var e,t=[],a=arguments.length;while(a--)t[a]=arguments[a];var s=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),i(t).is(r))n.apply(t,a);else for(var s=i(t).parents(),o=0;o<s.length;o+=1)i(s[o]).is(r)&&n.apply(s[o],a)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"===typeof t[1]&&(e=t,s=e[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var p,u=s.split(" "),c=0;c<this.length;c+=1){var h=this[c];if(r)for(p=0;p<u.length;p+=1){var f=u[p];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[f]||(h.dom7LiveListeners[f]=[]),h.dom7LiveListeners[f].push({listener:n,proxyListener:l}),h.addEventListener(f,l,o)}else for(p=0;p<u.length;p+=1){var v=u[p];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[v]||(h.dom7Listeners[v]=[]),h.dom7Listeners[v].push({listener:n,proxyListener:d}),h.addEventListener(v,d,o)}}return this}function v(){var e,t=[],a=arguments.length;while(a--)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"===typeof t[1]&&(e=t,i=e[0],r=e[1],n=e[2],s=void 0),n||(n=!1);for(var o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],p=0;p<this.length;p+=1){var u=this[p],c=void 0;if(!s&&u.dom7Listeners?c=u.dom7Listeners[d]:s&&u.dom7LiveListeners&&(c=u.dom7LiveListeners[d]),c&&c.length)for(var h=c.length-1;h>=0;h-=1){var f=c[h];r&&f.listener===r?(u.removeEventListener(d,f.proxyListener,n),c.splice(h,1)):r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(u.removeEventListener(d,f.proxyListener,n),c.splice(h,1)):r||(u.removeEventListener(d,f.proxyListener,n),c.splice(h,1))}}return this}function m(){var a=[],i=arguments.length;while(i--)a[i]=arguments[i];for(var s=a[0].split(" "),r=a[1],n=0;n<s.length;n+=1)for(var o=s[n],l=0;l<this.length;l+=1){var d=this[l],p=void 0;try{p=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(u){p=e.createEvent("Event"),p.initEvent(o,!0,!0),p.detail=r}d.dom7EventData=a.filter(function(e,t){return t>0}),d.dispatchEvent(p),d.dom7EventData=[],delete d.dom7EventData}return this}function g(e){var t,a=["webkitTransitionEnd","transitionend"],i=this;function s(r){if(r.target===this)for(e.call(this,r),t=0;t<a.length;t+=1)i.off(a[t],s)}if(e)for(t=0;t<a.length;t+=1)i.on(a[t],s);return this}function w(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function b(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function y(){if(this.length>0){var a=this[0],i=a.getBoundingClientRect(),s=e.body,r=a.clientTop||s.clientTop||0,n=a.clientLeft||s.clientLeft||0,o=a===t?t.scrollY:a.scrollTop,l=a===t?t.scrollX:a.scrollLeft;return{top:i.top+o-r,left:i.left+l-n}}return null}function x(){return this[0]?t.getComputedStyle(this[0],null):{}}function T(e,a){var i;if(1===arguments.length){if("string"!==typeof e){for(i=0;i<this.length;i+=1)for(var s in e)this[i].style[s]=e[s];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=a;return this}return this}function E(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this}function S(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function C(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function M(s){var r,n,o=this[0];if(!o||"undefined"===typeof s)return!1;if("string"===typeof s){if(o.matches)return o.matches(s);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(s);if(o.msMatchesSelector)return o.msMatchesSelector(s);for(r=i(s),n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}if(s===e)return o===e;if(s===t)return o===t;if(s.nodeType||s instanceof a){for(r=s.nodeType?[s]:s,n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}return!1}function P(){var e,t=this[0];if(t){e=0;while(null!==(t=t.previousSibling))1===t.nodeType&&(e+=1);return e}}function k(e){if("undefined"===typeof e)return this;var t,i=this.length;return e>i-1?new a([]):e<0?(t=i+e,new a(t<0?[]:[this[t]])):new a([this[e]])}function z(){var t,i=[],s=arguments.length;while(s--)i[s]=arguments[s];for(var r=0;r<i.length;r+=1){t=i[r];for(var n=0;n<this.length;n+=1)if("string"===typeof t){var o=e.createElement("div");o.innerHTML=t;while(o.firstChild)this[n].appendChild(o.firstChild)}else if(t instanceof a)for(var l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else this[n].appendChild(t)}return this}function $(t){var i,s;for(i=0;i<this.length;i+=1)if("string"===typeof t){var r=e.createElement("div");for(r.innerHTML=t,s=r.childNodes.length-1;s>=0;s-=1)this[i].insertBefore(r.childNodes[s],this[i].childNodes[0])}else if(t instanceof a)for(s=0;s<t.length;s+=1)this[i].insertBefore(t[s],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this}function D(e){return this.length>0?e?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(e)?new a([this[0].nextElementSibling]):new a([]):this[0].nextElementSibling?new a([this[0].nextElementSibling]):new a([]):new a([])}function I(e){var t=[],s=this[0];if(!s)return new a([]);while(s.nextElementSibling){var r=s.nextElementSibling;e?i(r).is(e)&&t.push(r):t.push(r),s=r}return new a(t)}function L(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&i(t.previousElementSibling).is(e)?new a([t.previousElementSibling]):new a([]):t.previousElementSibling?new a([t.previousElementSibling]):new a([])}return new a([])}function O(e){var t=[],s=this[0];if(!s)return new a([]);while(s.previousElementSibling){var r=s.previousElementSibling;e?i(r).is(e)&&t.push(r):t.push(r),s=r}return new a(t)}function A(e){for(var t=[],a=0;a<this.length;a+=1)null!==this[a].parentNode&&(e?i(this[a].parentNode).is(e)&&t.push(this[a].parentNode):t.push(this[a].parentNode));return i(s(t))}function N(e){for(var t=[],a=0;a<this.length;a+=1){var r=this[a].parentNode;while(r)e?i(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return i(s(t))}function H(e){var t=this;return"undefined"===typeof e?new a([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function Y(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].querySelectorAll(e),r=0;r<s.length;r+=1)t.push(s[r]);return new a(t)}function G(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&i(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return new a(s(t))}function B(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function X(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var a,s,r=this;for(a=0;a<e.length;a+=1){var n=i(e[a]);for(s=0;s<n.length;s+=1)r[r.length]=n[s],r.length+=1}return r}i.fn=a.prototype,i.Class=a,i.Dom7=a;var V={addClass:r,removeClass:n,hasClass:o,toggleClass:l,attr:d,removeAttr:p,data:u,transform:c,transition:h,on:f,off:v,trigger:m,transitionEnd:g,outerWidth:w,outerHeight:b,offset:y,css:T,each:E,html:S,text:C,is:M,index:P,eq:k,append:z,prepend:$,next:D,nextAll:I,prev:L,prevAll:O,parent:A,parents:N,closest:H,find:Y,children:G,remove:B,add:X,styles:x};Object.keys(V).forEach(function(e){i.fn[e]=i.fn[e]||V[e]});var _={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(a){}try{delete t[e]}catch(a){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,a){var i,s,r;void 0===a&&(a="x");var n=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?(s=n.transform||n.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new t.WebKitCSSMatrix("none"===s?"":s)):(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===a&&(s=t.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===a&&(s=t.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0},parseUrlQuery:function(e){var a,i,s,r,n={},o=e||t.location.href;if("string"===typeof o&&o.length)for(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"",i=o.split("&").filter(function(e){return""!==e}),r=i.length,a=0;a<r;a+=1)s=i[a].replace(/#\S+/g,"").split("="),n[decodeURIComponent(s[0])]="undefined"===typeof s[1]?void 0:decodeURIComponent(s[1])||"";return n},isObject:function(e){return"object"===typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];for(var a=Object(e[0]),i=1;i<e.length;i+=1){var s=e[i];if(void 0!==s&&null!==s)for(var r=Object.keys(Object(s)),n=0,o=r.length;n<o;n+=1){var l=r[n],d=Object.getOwnPropertyDescriptor(s,l);void 0!==d&&d.enumerable&&(_.isObject(a[l])&&_.isObject(s[l])?_.extend(a[l],s[l]):!_.isObject(a[l])&&_.isObject(s[l])?(a[l]={},_.extend(a[l],s[l])):a[l]=s[l])}}return a}},F=function(){var a=e.createElement("div");return{touch:t.Modernizr&&!0===t.Modernizr.touch||function(){return!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}(),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:function(){var e=a.style;return"transition"in e||"webkitTransition"in e||"MozTransition"in e}(),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=a.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=a.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in e)return!0;return!1}(),observer:function(){return"MutationObserver"in t||"WebkitMutationObserver"in t}(),passiveListener:function(){var e=!1;try{var a=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,a)}catch(i){}return e}(),gestures:function(){return"ongesturestart"in t}()}}(),R=function(){function e(){var e=t.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}return{isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:e(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),j=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},q={components:{configurable:!0}};function W(){var e,t,a=this,i=a.$el;e="undefined"!==typeof a.params.width?a.params.width:i[0].clientWidth,t="undefined"!==typeof a.params.height?a.params.height:i[0].clientHeight,0===e&&a.isHorizontal()||0===t&&a.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),_.extend(a,{width:e,height:t,size:a.isHorizontal()?e:t}))}function U(){var e=this,a=e.params,i=e.$wrapperEl,s=e.size,r=e.rtlTranslate,n=e.wrongRTL,o=e.virtual&&a.virtual.enabled,l=o?e.virtual.slides.length:e.slides.length,d=i.children("."+e.params.slideClass),p=o?e.virtual.slides.length:d.length,u=[],c=[],h=[],f=a.slidesOffsetBefore;"function"===typeof f&&(f=a.slidesOffsetBefore.call(e));var v=a.slidesOffsetAfter;"function"===typeof v&&(v=a.slidesOffsetAfter.call(e));var m=e.snapGrid.length,g=e.snapGrid.length,w=a.spaceBetween,b=-f,y=0,x=0;if("undefined"!==typeof s){var T,E;"string"===typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*s),e.virtualSize=-w,r?d.css({marginLeft:"",marginTop:""}):d.css({marginRight:"",marginBottom:""}),a.slidesPerColumn>1&&(T=Math.floor(p/a.slidesPerColumn)===p/e.params.slidesPerColumn?p:Math.ceil(p/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView&&"row"===a.slidesPerColumnFill&&(T=Math.max(T,a.slidesPerView*a.slidesPerColumn)));for(var S,C=a.slidesPerColumn,M=T/C,P=Math.floor(p/a.slidesPerColumn),k=0;k<p;k+=1){E=0;var z=d.eq(k);if(a.slidesPerColumn>1){var $=void 0,D=void 0,I=void 0;if("column"===a.slidesPerColumnFill||"row"===a.slidesPerColumnFill&&a.slidesPerGroup>1){if("column"===a.slidesPerColumnFill)D=Math.floor(k/C),I=k-D*C,(D>P||D===P&&I===C-1)&&(I+=1,I>=C&&(I=0,D+=1));else{var L=Math.floor(k/a.slidesPerGroup);I=Math.floor(k/a.slidesPerView)-L*a.slidesPerColumn,D=k-I*a.slidesPerView-L*a.slidesPerView}$=D+I*T/C,z.css({"-webkit-box-ordinal-group":$,"-moz-box-ordinal-group":$,"-ms-flex-order":$,"-webkit-order":$,order:$})}else I=Math.floor(k/M),D=k-I*M;z.css("margin-"+(e.isHorizontal()?"top":"left"),0!==I&&a.spaceBetween&&a.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",I)}if("none"!==z.css("display")){if("auto"===a.slidesPerView){var O=t.getComputedStyle(z[0],null),A=z[0].style.transform,N=z[0].style.webkitTransform;if(A&&(z[0].style.transform="none"),N&&(z[0].style.webkitTransform="none"),a.roundLengths)E=e.isHorizontal()?z.outerWidth(!0):z.outerHeight(!0);else if(e.isHorizontal()){var H=parseFloat(O.getPropertyValue("width")),Y=parseFloat(O.getPropertyValue("padding-left")),G=parseFloat(O.getPropertyValue("padding-right")),B=parseFloat(O.getPropertyValue("margin-left")),X=parseFloat(O.getPropertyValue("margin-right")),V=O.getPropertyValue("box-sizing");E=V&&"border-box"===V&&!R.isIE?H+B+X:H+Y+G+B+X}else{var j=parseFloat(O.getPropertyValue("height")),q=parseFloat(O.getPropertyValue("padding-top")),W=parseFloat(O.getPropertyValue("padding-bottom")),U=parseFloat(O.getPropertyValue("margin-top")),K=parseFloat(O.getPropertyValue("margin-bottom")),Z=O.getPropertyValue("box-sizing");E=Z&&"border-box"===Z&&!R.isIE?j+U+K:j+q+W+U+K}A&&(z[0].style.transform=A),N&&(z[0].style.webkitTransform=N),a.roundLengths&&(E=Math.floor(E))}else E=(s-(a.slidesPerView-1)*w)/a.slidesPerView,a.roundLengths&&(E=Math.floor(E)),d[k]&&(e.isHorizontal()?d[k].style.width=E+"px":d[k].style.height=E+"px");d[k]&&(d[k].swiperSlideSize=E),h.push(E),a.centeredSlides?(b=b+E/2+y/2+w,0===y&&0!==k&&(b=b-s/2-w),0===k&&(b=b-s/2-w),Math.abs(b)<.001&&(b=0),a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup===0&&u.push(b),c.push(b)):(a.roundLengths&&(b=Math.floor(b)),x%a.slidesPerGroup===0&&u.push(b),c.push(b),b=b+E+w),e.virtualSize+=E+w,y=E,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+v,r&&n&&("slide"===a.effect||"coverflow"===a.effect)&&i.css({width:e.virtualSize+a.spaceBetween+"px"}),F.flexbox&&!a.setWrapperSize||(e.isHorizontal()?i.css({width:e.virtualSize+a.spaceBetween+"px"}):i.css({height:e.virtualSize+a.spaceBetween+"px"})),a.slidesPerColumn>1&&(e.virtualSize=(E+a.spaceBetween)*T,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+a.spaceBetween+"px"}):i.css({height:e.virtualSize+a.spaceBetween+"px"}),a.centeredSlides)){S=[];for(var J=0;J<u.length;J+=1){var Q=u[J];a.roundLengths&&(Q=Math.floor(Q)),u[J]<e.virtualSize+u[0]&&S.push(Q)}u=S}if(!a.centeredSlides){S=[];for(var ee=0;ee<u.length;ee+=1){var te=u[ee];a.roundLengths&&(te=Math.floor(te)),u[ee]<=e.virtualSize-s&&S.push(te)}u=S,Math.floor(e.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-s)}if(0===u.length&&(u=[0]),0!==a.spaceBetween&&(e.isHorizontal()?r?d.css({marginLeft:w+"px"}):d.css({marginRight:w+"px"}):d.css({marginBottom:w+"px"})),a.centerInsufficientSlides){var ae=0;if(h.forEach(function(e){ae+=e+(a.spaceBetween?a.spaceBetween:0)}),ae-=a.spaceBetween,ae<s){var ie=(s-ae)/2;u.forEach(function(e,t){u[t]=e-ie}),c.forEach(function(e,t){c[t]=e+ie})}}_.extend(e,{slides:d,snapGrid:u,slidesGrid:c,slidesSizesGrid:h}),p!==l&&e.emit("slidesLengthChange"),u.length!==m&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),c.length!==g&&e.emit("slidesGridLengthChange"),(a.watchSlidesProgress||a.watchSlidesVisibility)&&e.updateSlidesOffset()}}function K(e){var t,a=this,i=[],s=0;if("number"===typeof e?a.setTransition(e):!0===e&&a.setTransition(a.params.speed),"auto"!==a.params.slidesPerView&&a.params.slidesPerView>1)for(t=0;t<Math.ceil(a.params.slidesPerView);t+=1){var r=a.activeIndex+t;if(r>a.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeIndex)[0]);for(t=0;t<i.length;t+=1)if("undefined"!==typeof i[t]){var n=i[t].offsetHeight;s=n>s?n:s}s&&a.$wrapperEl.css("height",s+"px")}function Z(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1)t[a].swiperSlideOffset=e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop}function J(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,s=t.slides,r=t.rtlTranslate;if(0!==s.length){"undefined"===typeof s[0].swiperSlideOffset&&t.updateSlidesOffset();var n=-e;r&&(n=e),s.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var o=0;o<s.length;o+=1){var l=s[o],d=(n+(a.centeredSlides?t.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+a.spaceBetween);if(a.watchSlidesVisibility){var p=-(n-l.swiperSlideOffset),u=p+t.slidesSizesGrid[o],c=p>=0&&p<t.size-1||u>1&&u<=t.size||p<=0&&u>=t.size;c&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(o),s.eq(o).addClass(a.slideVisibleClass))}l.progress=r?-d:d}t.visibleSlides=i(t.visibleSlides)}}function Q(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?(s=0,r=!0,n=!0):(s=(e-t.minTranslate())/i,r=s<=0,n=s>=1),_.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)}function ee(){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),e.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),l.addClass(i.slideNextClass));var d=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=a.eq(-1),d.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))}function te(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("undefined"===typeof p){for(var u=0;u<s.length;u+=1)"undefined"!==typeof s[u+1]?i>=s[u]&&i<s[u+1]-(s[u+1]-s[u])/2?p=u:i>=s[u]&&i<s[u+1]&&(p=u+1):i>=s[u]&&(p=u);n.normalizeSlideIndex&&(p<0||"undefined"===typeof p)&&(p=0)}if(t=r.indexOf(i)>=0?r.indexOf(i):Math.floor(p/n.slidesPerGroup),t>=r.length&&(t=r.length-1),p!==o){var c=parseInt(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);_.extend(a,{snapIndex:t,realIndex:c,previousIndex:o,activeIndex:p}),a.emit("activeIndexChange"),a.emit("snapIndexChange"),l!==c&&a.emit("realIndexChange"),(a.initialized||a.runCallbacksOnInit)&&a.emit("slideChange")}else t!==d&&(a.snapIndex=t,a.emit("snapIndexChange"))}function ae(e){var t=this,a=t.params,s=i(e.target).closest("."+a.slideClass)[0],r=!1;if(s)for(var n=0;n<t.slides.length;n+=1)t.slides[n]===s&&(r=!0);if(!s||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=s,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(i(s).attr("data-swiper-slide-index"),10):t.clickedIndex=i(s).index(),a.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}j.prototype.on=function(e,t,a){var i=this;if("function"!==typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)}),i},j.prototype.once=function(e,t,a){var i=this;if("function"!==typeof t)return i;function s(){var a=[],r=arguments.length;while(r--)a[r]=arguments[r];t.apply(i,a),i.off(e,s),s.f7proxy&&delete s.f7proxy}return s.f7proxy=t,i.on(e,s,a)},j.prototype.off=function(e,t){var a=this;return a.eventsListeners?(e.split(" ").forEach(function(e){"undefined"===typeof t?a.eventsListeners[e]=[]:a.eventsListeners[e]&&a.eventsListeners[e].length&&a.eventsListeners[e].forEach(function(i,s){(i===t||i.f7proxy&&i.f7proxy===t)&&a.eventsListeners[e].splice(s,1)})}),a):a},j.prototype.emit=function(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var a,i,s,r=this;if(!r.eventsListeners)return r;"string"===typeof e[0]||Array.isArray(e[0])?(a=e[0],i=e.slice(1,e.length),s=r):(a=e[0].events,i=e[0].data,s=e[0].context||r);var n=Array.isArray(a)?a:a.split(" ");return n.forEach(function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(s,i)})}}),r},j.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(a){var i=t.modules[a];i.params&&_.extend(e,i.params)})},j.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(a){var i=t.modules[a],s=e[a]||{};i.instance&&Object.keys(i.instance).forEach(function(e){var a=i.instance[e];t[e]="function"===typeof a?a.bind(t):a}),i.on&&t.on&&Object.keys(i.on).forEach(function(e){t.on(e,i.on[e])}),i.create&&i.create.bind(t)(s)})},q.components.set=function(e){var t=this;t.use&&t.use(e)},j.installModule=function(e){var t=[],a=arguments.length-1;while(a-- >0)t[a]=arguments[a+1];var i=this;i.prototype.modules||(i.prototype.modules={});var s=e.name||Object.keys(i.prototype.modules).length+"_"+_.now();return i.prototype.modules[s]=e,e.proto&&Object.keys(e.proto).forEach(function(t){i.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(function(t){i[t]=e.static[t]}),e.install&&e.install.apply(i,t),i},j.use=function(e){var t=[],a=arguments.length-1;while(a-- >0)t[a]=arguments[a+1];var i=this;return Array.isArray(e)?(e.forEach(function(e){return i.installModule(e)}),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(j,q);var ie={updateSize:W,updateSlides:U,updateAutoHeight:K,updateSlidesOffset:Z,updateSlidesProgress:J,updateProgress:Q,updateSlidesClasses:ee,updateActiveIndex:te,updateClickedSlide:ae};function se(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,a=t.params,i=t.rtlTranslate,s=t.translate,r=t.$wrapperEl;if(a.virtualTranslate)return i?-s:s;var n=_.getTranslate(r[0],e);return i&&(n=-n),n||0}function re(e,t){var a,i=this,s=i.rtlTranslate,r=i.params,n=i.$wrapperEl,o=i.progress,l=0,d=0,p=0;i.isHorizontal()?l=s?-e:e:d=e,r.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),r.virtualTranslate||(F.transforms3d?n.transform("translate3d("+l+"px, "+d+"px, "+p+"px)"):n.transform("translate("+l+"px, "+d+"px)")),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var u=i.maxTranslate()-i.minTranslate();a=0===u?0:(e-i.minTranslate())/u,a!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function ne(){return-this.snapGrid[0]}function oe(){return-this.snapGrid[this.snapGrid.length-1]}var le={getTranslate:se,setTranslate:re,minTranslate:ne,maxTranslate:oe};function de(e,t){var a=this;a.$wrapperEl.transition(e),a.emit("setTransition",e,t)}function pe(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;s.autoHeight&&a.updateAutoHeight();var n=t;if(n||(n=i>r?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r){if("reset"===n)return void a.emit("slideResetTransitionStart");a.emit("slideChangeTransitionStart"),"next"===n?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")}}function ue(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex;a.animating=!1,a.setTransition(0);var r=t;if(r||(r=i>s?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s){if("reset"===r)return void a.emit("slideResetTransitionEnd");a.emit("slideChangeTransitionEnd"),"next"===r?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")}}var ce={setTransition:de,transitionStart:pe,transitionEnd:ue};function he(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;r<0&&(r=0);var n=s.params,o=s.snapGrid,l=s.slidesGrid,d=s.previousIndex,p=s.activeIndex,u=s.rtlTranslate;if(s.animating&&n.preventInteractionOnTransition)return!1;var c=Math.floor(r/n.slidesPerGroup);c>=o.length&&(c=o.length-1),(p||n.initialSlide||0)===(d||0)&&a&&s.emit("beforeSlideChangeStart");var h,f=-o[c];if(s.updateProgress(f),n.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*f)>=Math.floor(100*l[v])&&(r=v);if(s.initialized&&r!==p){if(!s.allowSlideNext&&f<s.translate&&f<s.minTranslate())return!1;if(!s.allowSlidePrev&&f>s.translate&&f>s.maxTranslate()&&(p||0)!==r)return!1}return h=r>p?"next":r<p?"prev":"reset",u&&-f===s.translate||!u&&f===s.translate?(s.updateActiveIndex(r),n.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==n.effect&&s.setTranslate(f),"reset"!==h&&(s.transitionStart(a,h),s.transitionEnd(a,h)),!1):(0!==t&&F.transition?(s.setTransition(t),s.setTranslate(f),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,h),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(a,h))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))):(s.setTransition(0),s.setTranslate(f),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(a,h),s.transitionEnd(a,h)),!0)}function fe(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);var s=this,r=e;return s.params.loop&&(r+=s.loopedSlides),s.slideTo(r,t,a,i)}function ve(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating;return s.loop?!r&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)):i.slideTo(i.activeIndex+s.slidesPerGroup,e,t,a)}function me(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(s.loop){if(r)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}var d=l?i.translate:-i.translate;function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=p(d),h=n.map(function(e){return p(e)}),f=(o.map(function(e){return p(e)}),n[h.indexOf(c)],n[h.indexOf(c)-1]);return"undefined"!==typeof f&&(u=o.indexOf(f),u<0&&(u=i.activeIndex-1)),i.slideTo(u,e,t,a)}function ge(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this;return i.slideTo(i.activeIndex,e,t,a)}function we(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.activeIndex,r=Math.floor(s/i.params.slidesPerGroup);if(r<i.snapGrid.length-1){var n=i.rtlTranslate?i.translate:-i.translate,o=i.snapGrid[r],l=i.snapGrid[r+1];n-o>(l-o)/2&&(s=i.params.slidesPerGroup)}return i.slideTo(s,e,t,a)}function be(){var e,t=this,a=t.params,s=t.$wrapperEl,r="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,n=t.clickedIndex;if(a.loop){if(t.animating)return;e=parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=s.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),_.nextTick(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=s.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),_.nextTick(function(){t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var ye={slideTo:he,slideToLoop:fe,slideNext:ve,slidePrev:me,slideReset:ge,slideToClosest:we,slideToClickedSlide:be};function xe(){var t=this,a=t.params,s=t.$wrapperEl;s.children("."+a.slideClass+"."+a.slideDuplicateClass).remove();var r=s.children("."+a.slideClass);if(a.loopFillGroupWithBlank){var n=a.slidesPerGroup-r.length%a.slidesPerGroup;if(n!==a.slidesPerGroup){for(var o=0;o<n;o+=1){var l=i(e.createElement("div")).addClass(a.slideClass+" "+a.slideBlankClass);s.append(l)}r=s.children("."+a.slideClass)}}"auto"!==a.slidesPerView||a.loopedSlides||(a.loopedSlides=r.length),t.loopedSlides=parseInt(a.loopedSlides||a.slidesPerView,10),t.loopedSlides+=a.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var d=[],p=[];r.each(function(e,a){var s=i(a);e<t.loopedSlides&&p.push(a),e<r.length&&e>=r.length-t.loopedSlides&&d.push(a),s.attr("data-swiper-slide-index",e)});for(var u=0;u<p.length;u+=1)s.append(i(p[u].cloneNode(!0)).addClass(a.slideDuplicateClass));for(var c=d.length-1;c>=0;c-=1)s.prepend(i(d[c].cloneNode(!0)).addClass(a.slideDuplicateClass))}function Te(){var e,t=this,a=t.params,i=t.activeIndex,s=t.slides,r=t.loopedSlides,n=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var p=-l[i],u=p-t.getTranslate();if(i<r){e=s.length-3*r+i,e+=r;var c=t.slideTo(e,0,!1,!0);c&&0!==u&&t.setTranslate((d?-t.translate:t.translate)-u)}else if("auto"===a.slidesPerView&&i>=2*r||i>=s.length-r){e=-s.length+i+r,e+=r;var h=t.slideTo(e,0,!1,!0);h&&0!==u&&t.setTranslate((d?-t.translate:t.translate)-u)}t.allowSlidePrev=n,t.allowSlideNext=o}function Ee(){var e=this,t=e.$wrapperEl,a=e.params,i=e.slides;t.children("."+a.slideClass+"."+a.slideDuplicateClass+",."+a.slideClass+"."+a.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}var Se={loopCreate:xe,loopFix:Te,loopDestroy:Ee};function Ce(e){var t=this;if(!(F.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var a=t.el;a.style.cursor="move",a.style.cursor=e?"-webkit-grabbing":"-webkit-grab",a.style.cursor=e?"-moz-grabbin":"-moz-grab",a.style.cursor=e?"grabbing":"grab"}}function Me(){var e=this;F.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}var Pe={setGrabCursor:Ce,unsetGrabCursor:Me};function ke(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<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&F.observer||t.update()}function ze(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"===typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&F.observer||t.update(),t.slideTo(r,0,!1)}function $e(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex,n=r;s.loop&&(n-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass));var o=a.slides.length;if(e<=0)a.prependSlide(t);else if(e>=o)a.appendSlide(t);else{for(var l=n>e?n+1:n,d=[],p=o-1;p>=e;p-=1){var u=a.slides.eq(p);u.remove(),d.unshift(u)}if("object"===typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);l=n>e?n+t.length:n}else i.append(t);for(var h=0;h<d.length;h+=1)i.append(d[h]);s.loop&&a.loopCreate(),s.observer&&F.observer||a.update(),s.loop?a.slideTo(l+a.loopedSlides,0,!1):a.slideTo(l,0,!1)}}function De(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex,r=s;a.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var n,o=r;if("object"===typeof e&&"length"in e){for(var l=0;l<e.length;l+=1)n=e[l],t.slides[n]&&t.slides.eq(n).remove(),n<o&&(o-=1);o=Math.max(o,0)}else n=e,t.slides[n]&&t.slides.eq(n).remove(),n<o&&(o-=1),o=Math.max(o,0);a.loop&&t.loopCreate(),a.observer&&F.observer||t.update(),a.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function Ie(){for(var e=this,t=[],a=0;a<e.slides.length;a+=1)t.push(a);e.removeSlide(t)}var Le={appendSlide:ke,prependSlide:ze,addSlide:$e,removeSlide:De,removeAllSlides:Ie},Oe=function(){var a=t.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},s=a.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),r=a.match(/(Android);?[\s\/]+([\d.]+)?/),n=a.match(/(iPad).*OS\s([\d_]+)/),o=a.match(/(iPod)(.*OS\s([\d_]+))?/),l=!n&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(s&&(i.os="windows",i.osVersion=s[2],i.windows=!0),r&&!s&&(i.os="android",i.osVersion=r[2],i.android=!0,i.androidChrome=a.toLowerCase().indexOf("chrome")>=0),(n||l||o)&&(i.os="ios",i.ios=!0),l&&!o&&(i.osVersion=l[2].replace(/_/g,"."),i.iphone=!0),n&&(i.osVersion=n[2].replace(/_/g,"."),i.ipad=!0),o&&(i.osVersion=o[3]?o[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&a.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=a.toLowerCase().split("version/")[1].split(" ")[0]),i.desktop=!(i.os||i.android||i.webView),i.webView=(l||n||o)&&a.match(/.*AppleWebKit(?!.*Safari)/i),i.os&&"ios"===i.os){var d=i.osVersion.split("."),p=e.querySelector('meta[name="viewport"]');i.minimalUi=!i.webView&&(o||l)&&(1*d[0]===7?1*d[1]>=1:1*d[0]>7)&&p&&p.getAttribute("content").indexOf("minimal-ui")>=0}return i.pixelRatio=t.devicePixelRatio||1,i}();function Ae(a){var s=this,r=s.touchEventsData,n=s.params,o=s.touches;if(!s.animating||!n.preventInteractionOnTransition){var l=a;if(l.originalEvent&&(l=l.originalEvent),r.isTouchEvent="touchstart"===l.type,(r.isTouchEvent||!("which"in l)||3!==l.which)&&!(!r.isTouchEvent&&"button"in l&&l.button>0)&&(!r.isTouched||!r.isMoved))if(n.noSwiping&&i(l.target).closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])s.allowClick=!0;else if(!n.swipeHandler||i(l).closest(n.swipeHandler)[0]){o.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,o.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;var d=o.currentX,p=o.currentY,u=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,c=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!u||!(d<=c||d>=t.screen.width-c)){if(_.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=d,o.startY=p,r.touchStartTime=_.now(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==l.type){var h=!0;i(l.target).is(r.formElements)&&(h=!1),e.activeElement&&i(e.activeElement).is(r.formElements)&&e.activeElement!==l.target&&e.activeElement.blur();var f=h&&s.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||f)&&l.preventDefault()}s.emit("touchStart",l)}}}}function Ne(t){var a=this,s=a.touchEventsData,r=a.params,n=a.touches,o=a.rtlTranslate,l=t;if(l.originalEvent&&(l=l.originalEvent),s.isTouched){if(!s.isTouchEvent||"mousemove"!==l.type){var d="touchmove"===l.type?l.targetTouches[0].pageX:l.pageX,p="touchmove"===l.type?l.targetTouches[0].pageY:l.pageY;if(l.preventedByNestedSwiper)return n.startX=d,void(n.startY=p);if(!a.allowTouchMove)return a.allowClick=!1,void(s.isTouched&&(_.extend(n,{startX:d,startY:p,currentX:d,currentY:p}),s.touchStartTime=_.now()));if(s.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(a.isVertical()){if(p<n.startY&&a.translate<=a.maxTranslate()||p>n.startY&&a.translate>=a.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(d<n.startX&&a.translate<=a.maxTranslate()||d>n.startX&&a.translate>=a.minTranslate())return;if(s.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&i(l.target).is(s.formElements))return s.isMoved=!0,void(a.allowClick=!1);if(s.allowTouchCallbacks&&a.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){n.currentX=d,n.currentY=p;var u=n.currentX-n.startX,c=n.currentY-n.startY;if(!(a.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(c,2))<a.params.threshold)){var h;if("undefined"===typeof s.isScrolling)a.isHorizontal()&&n.currentY===n.startY||a.isVertical()&&n.currentX===n.startX?s.isScrolling=!1:u*u+c*c>=25&&(h=180*Math.atan2(Math.abs(c),Math.abs(u))/Math.PI,s.isScrolling=a.isHorizontal()?h>r.touchAngle:90-h>r.touchAngle);if(s.isScrolling&&a.emit("touchMoveOpposite",l),"undefined"===typeof s.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(s.startMoving=!0)),s.isScrolling)s.isTouched=!1;else if(s.startMoving){a.allowClick=!1,l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation(),s.isMoved||(r.loop&&a.loopFix(),s.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,!r.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",l)),a.emit("sliderMove",l),s.isMoved=!0;var f=a.isHorizontal()?u:c;n.diff=f,f*=r.touchRatio,o&&(f=-f),a.swipeDirection=f>0?"prev":"next",s.currentTranslate=f+s.startTranslate;var v=!0,m=r.resistanceRatio;if(r.touchReleaseOnEdges&&(m=0),f>0&&s.currentTranslate>a.minTranslate()?(v=!1,r.resistance&&(s.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+s.startTranslate+f,m))):f<0&&s.currentTranslate<a.maxTranslate()&&(v=!1,r.resistance&&(s.currentTranslate=a.maxTranslate()+1-Math.pow(a.maxTranslate()-s.startTranslate-f,m))),v&&(l.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&s.currentTranslate<s.startTranslate&&(s.currentTranslate=s.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&s.currentTranslate>s.startTranslate&&(s.currentTranslate=s.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,void(n.diff=a.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),r.freeMode&&(0===s.velocities.length&&s.velocities.push({position:n[a.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:n[a.isHorizontal()?"currentX":"currentY"],time:_.now()})),a.updateProgress(s.currentTranslate),a.setTranslate(s.currentTranslate))}}}}}else s.startMoving&&s.isScrolling&&a.emit("touchMoveOpposite",l)}function He(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,u=_.now(),c=u-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),c<300&&u-a.lastClickTime>300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),a.clickTimeout=_.nextTick(function(){t&&!t.destroyed&&t.emit("click",d)},300)),c<300&&u-a.lastClickTime<300&&(a.clickTimeout&&clearTimeout(a.clickTimeout),t.emit("doubleTap",d))),a.lastClickTime=_.now(),_.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.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,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,i.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(a.velocities.length>1){var h=a.velocities.pop(),f=a.velocities.pop(),v=h.position-f.position,m=h.time-f.time;t.velocity=v/m,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(m>150||_.now()-h.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var g=1e3*i.freeModeMomentumRatio,w=t.velocity*g,b=t.translate+w;r&&(b=-b);var y,x,T=!1,E=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(b<t.maxTranslate())i.freeModeMomentumBounce?(b+t.maxTranslate()<-E&&(b=t.maxTranslate()-E),y=t.maxTranslate(),T=!0,a.allowMomentumBounce=!0):b=t.maxTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(b>t.minTranslate())i.freeModeMomentumBounce?(b-t.minTranslate()>E&&(b=t.minTranslate()+E),y=t.minTranslate(),T=!0,a.allowMomentumBounce=!0):b=t.minTranslate(),i.loop&&i.centeredSlides&&(x=!0);else if(i.freeModeSticky){for(var S,C=0;C<l.length;C+=1)if(l[C]>-b){S=C;break}b=Math.abs(l[S]-b)<Math.abs(l[S-1]-b)||"next"===t.swipeDirection?l[S]:l[S-1],b=-b}if(x&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)g=r?Math.abs((-b-t.translate)/t.velocity):Math.abs((b-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&T?(t.updateProgress(y),t.setTransition(g),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(y),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(b),t.setTransition(g),t.setTranslate(b),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(b),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||c>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,P=t.slidesSizesGrid[0],k=0;k<o.length;k+=i.slidesPerGroup)"undefined"!==typeof o[k+i.slidesPerGroup]?p>=o[k]&&p<o[k+i.slidesPerGroup]&&(M=k,P=o[k+i.slidesPerGroup]-o[k]):p>=o[k]&&(M=k,P=o[o.length-1]-o[o.length-2]);var z=(p-o[M])/P;if(c>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=i.longSwipesRatio?t.slideTo(M+i.slidesPerGroup):t.slideTo(M)),"prev"===t.swipeDirection&&(z>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)}}}function Ye(){var e=this,t=e.params,a=e.el;if(!a||0!==a.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,s=e.allowSlidePrev,r=e.snapGrid;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var n=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}function Ge(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function Be(){var t=this,a=t.params,i=t.touchEvents,s=t.el,r=t.wrapperEl;t.onTouchStart=Ae.bind(t),t.onTouchMove=Ne.bind(t),t.onTouchEnd=He.bind(t),t.onClick=Ge.bind(t);var n="container"===a.touchEventsTarget?s:r,o=!!a.nested;if(F.touch||!F.pointerEvents&&!F.prefixedPointerEvents){if(F.touch){var l=!("touchstart"!==i.start||!F.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(i.start,t.onTouchStart,l),n.addEventListener(i.move,t.onTouchMove,F.passiveListener?{passive:!1,capture:o}:o),n.addEventListener(i.end,t.onTouchEnd,l)}(a.simulateTouch&&!Oe.ios&&!Oe.android||a.simulateTouch&&!F.touch&&Oe.ios)&&(n.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,o),e.addEventListener("mouseup",t.onTouchEnd,!1))}else n.addEventListener(i.start,t.onTouchStart,!1),e.addEventListener(i.move,t.onTouchMove,o),e.addEventListener(i.end,t.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&n.addEventListener("click",t.onClick,!0),t.on(Oe.ios||Oe.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ye,!0)}function Xe(){var t=this,a=t.params,i=t.touchEvents,s=t.el,r=t.wrapperEl,n="container"===a.touchEventsTarget?s:r,o=!!a.nested;if(F.touch||!F.pointerEvents&&!F.prefixedPointerEvents){if(F.touch){var l=!("onTouchStart"!==i.start||!F.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(i.start,t.onTouchStart,l),n.removeEventListener(i.move,t.onTouchMove,o),n.removeEventListener(i.end,t.onTouchEnd,l)}(a.simulateTouch&&!Oe.ios&&!Oe.android||a.simulateTouch&&!F.touch&&Oe.ios)&&(n.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,o),e.removeEventListener("mouseup",t.onTouchEnd,!1))}else n.removeEventListener(i.start,t.onTouchStart,!1),e.removeEventListener(i.move,t.onTouchMove,o),e.removeEventListener(i.end,t.onTouchEnd,!1);(a.preventClicks||a.preventClicksPropagation)&&n.removeEventListener("click",t.onClick,!0),t.off(Oe.ios||Oe.android?"resize orientationchange observerUpdate":"resize observerUpdate",Ye)}var Ve={attachEvents:Be,detachEvents:Xe};function _e(){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]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(e){var t=o[e];"undefined"!==typeof t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var l=o||e.originalParams,d=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||d);d&&a&&e.changeDirection(),_.extend(e.params,l),_.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=n,p&&a&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}}function Fe(e){var a=this;if(e){var i=!1,s=[];Object.keys(e).forEach(function(e){s.push(e)}),s.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var r=0;r<s.length;r+=1){var n=s[r];a.params.breakpointsInverse?n<=t.innerWidth&&(i=n):n>=t.innerWidth&&!i&&(i=n)}return i||"max"}}var Re={setBreakpoint:_e,getBreakpoint:Fe};function je(){var e=this,t=e.classNames,a=e.params,i=e.rtl,s=e.$el,r=[];r.push("initialized"),r.push(a.direction),a.freeMode&&r.push("free-mode"),F.flexbox||r.push("no-flexbox"),a.autoHeight&&r.push("autoheight"),i&&r.push("rtl"),a.slidesPerColumn>1&&r.push("multirow"),Oe.android&&r.push("android"),Oe.ios&&r.push("ios"),(R.isIE||R.isEdge)&&(F.pointerEvents||F.prefixedPointerEvents)&&r.push("wp8-"+a.direction),r.forEach(function(e){t.push(a.containerModifierClass+e)}),s.addClass(t.join(" "))}function qe(){var e=this,t=e.$el,a=e.classNames;t.removeClass(a.join(" "))}var We={addClasses:je,removeClasses:qe};function Ue(e,a,i,s,r,n){var o;function l(){n&&n()}e.complete&&r?l():a?(o=new t.Image,o.onload=l,o.onerror=l,s&&(o.sizes=s),i&&(o.srcset=i),a&&(o.src=a)):l()}function Ke(){var e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}var Ze={loadImage:Ue,preloadImages:Ke};function Je(){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())}var Qe={checkOverflow:Je},et={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,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},tt={update:ie,translate:le,transition:ce,slide:ye,loop:Se,grabCursor:Pe,manipulation:Le,events:Ve,breakpoints:Re,checkOverflow:Qe,classes:We,images:Ze},at={},it=function(e){function t(){var a,s,r,n=[],o=arguments.length;while(o--)n[o]=arguments[o];1===n.length&&n[0].constructor&&n[0].constructor===Object?r=n[0]:(a=n,s=a[0],r=a[1]),r||(r={}),r=_.extend({},r),s&&!r.el&&(r.el=s),e.call(this,r),Object.keys(tt).forEach(function(e){Object.keys(tt[e]).forEach(function(a){t.prototype[a]||(t.prototype[a]=tt[e][a])})});var l=this;"undefined"===typeof l.modules&&(l.modules={}),Object.keys(l.modules).forEach(function(e){var t=l.modules[e];if(t.params){var a=Object.keys(t.params)[0],i=t.params[a];if("object"!==typeof i||null===i)return;if(!(a in r&&"enabled"in i))return;!0===r[a]&&(r[a]={enabled:!0}),"object"!==typeof r[a]||"enabled"in r[a]||(r[a].enabled=!0),r[a]||(r[a]={enabled:!1})}});var d=_.extend({},et);l.useModulesParams(d),l.params=_.extend({},d,at,r),l.originalParams=_.extend({},l.params),l.passedParams=_.extend({},r),l.$=i;var p=i(l.params.el);if(s=p[0],s){if(p.length>1){var u=[];return p.each(function(e,a){var i=_.extend({},r,{el:a});u.push(new t(i))}),u}s.swiper=l,p.data("swiper",l);var c=p.children("."+l.params.wrapperClass);return _.extend(l,{$el:p,el:s,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===s.dir.toLowerCase()||"rtl"===p.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===p.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend"],t=["mousedown","mousemove","mouseup"];return F.pointerEvents?t=["pointerdown","pointermove","pointerup"]:F.prefixedPointerEvents&&(t=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:e[0],move:e[1],end:e[2]},l.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},F.touch||!l.params.simulateTouch?l.touchEventsTouch:l.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:_.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var a={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var o,l=a[r].swiperSlideSize,d=r+1;d<a.length;d+=1)a[d]&&!o&&(l+=a[d].swiperSlideSize,n+=1,l>s&&(o=!0));for(var p=r-1;p>=0;p-=1)a[p]&&!o&&(l+=a[p].swiperSlideSize,n+=1,l>s&&(o=!0))}else for(var u=r+1;u<a.length;u+=1)i[u]-i[r]<s&&(n+=1);return n},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t,a=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):(t=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),t||s()),i.watchOverflow&&a!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,a=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var a=this,i=a.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?a:(a.$el.removeClass(""+a.params.containerModifierClass+i+" wp8-"+i).addClass(""+a.params.containerModifierClass+e),(R.isIE||R.isEdge)&&(F.pointerEvents||F.prefixedPointerEvents)&&a.$el.addClass(a.params.containerModifierClass+"wp8-"+e),a.params.direction=e,a.slides.each(function(t,a){"vertical"===e?a.style.width="":a.style.height=""}),a.emit("changeDirection"),t&&a.update(),a)},t.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a=this,i=a.params,s=a.$el,r=a.$wrapperEl,n=a.slides;return"undefined"===typeof a.params||a.destroyed?null:(a.emit("beforeDestroy"),a.initialized=!1,a.detachEvents(),i.loop&&a.loopDestroy(),t&&(a.removeClasses(),s.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),a.emit("destroy"),Object.keys(a.eventsListeners).forEach(function(e){a.off(e)}),!1!==e&&(a.$el[0].swiper=null,a.$el.data("swiper",null),_.deleteProps(a)),a.destroyed=!0,null)},t.extendDefaults=function(e){_.extend(at,e)},a.extendedDefaults.get=function(){return at},a.defaults.get=function(){return et},a.Class.get=function(){return e},a.$.get=function(){return i},Object.defineProperties(t,a),t}(j),st={name:"device",proto:{device:Oe},static:{device:Oe}},rt={name:"support",proto:{support:F},static:{support:F}},nt={name:"browser",proto:{browser:R},static:{browser:R}},ot={name:"resize",create:function(){var e=this;_.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){var e=this;t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(){var e=this;t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},lt={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,a){void 0===a&&(a={});var i=this,s=lt.func,r=new s(function(e){if(1!==e.length){var a=function(){i.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(a):t.setTimeout(a,0)}else i.emit("observerUpdate",e[0])});r.observe(e,{attributes:"undefined"===typeof a.attributes||a.attributes,childList:"undefined"===typeof a.childList||a.childList,characterData:"undefined"===typeof a.characterData||a.characterData}),i.observer.observers.push(r)},init:function(){var e=this;if(F.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach(function(e){e.disconnect()}),e.observer.observers=[]}},dt={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;_.extend(e,{observer:{init:lt.init.bind(e),attach:lt.attach.bind(e),destroy:lt.destroy.bind(e),observers:[]}})},on:{init:function(){var e=this;e.observer.init()},destroy:function(){var e=this;e.observer.destroy()}}},pt={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,r=a.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,d=t.virtual,p=d.from,u=d.to,c=d.slides,h=d.slidesGrid,f=d.renderSlide,v=d.offset;t.updateActiveIndex();var m,g,w,b=t.activeIndex||0;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(g=Math.floor(i/2)+s+o,w=Math.floor(i/2)+s+l):(g=i+(s-1)+o,w=s+l);var y=Math.max((b||0)-w,0),x=Math.min((b||0)+g,c.length-1),T=(t.slidesGrid[y]||0)-(t.slidesGrid[0]||0);function E(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(_.extend(t.virtual,{from:y,to:x,offset:T,slidesGrid:t.slidesGrid}),p===y&&u===x&&!e)return t.slidesGrid!==h&&T!==v&&t.slides.css(m,T+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:T,from:y,to:x,slides:function(){for(var e=[],t=y;t<=x;t+=1)e.push(c[t]);return e}()}),void E();var S=[],C=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var M=p;M<=u;M+=1)(M<y||M>x)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+M+'"]').remove();for(var P=0;P<c.length;P+=1)P>=y&&P<=x&&("undefined"===typeof u||e?C.push(P):(P>u&&C.push(P),P<p&&S.push(P)));C.forEach(function(e){t.$wrapperEl.append(f(c[e],e))}),S.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(f(c[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,T+"px"),E()},renderSlide:function(e,t){var a=this,s=a.params.virtual;if(s.cache&&a.virtual.cache[t])return a.virtual.cache[t];var r=s.renderSlide?i(s.renderSlide.call(a,e,t)):i('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",t),s.cache&&(a.virtual.cache[t]=r),r},appendSlide:function(e){var t=this;if("object"===typeof e&&"length"in e)for(var a=0;a<e.length;a+=1)e[a]&&t.virtual.slides.push(e[a]);else t.virtual.slides.push(e);t.virtual.update(!0)},prependSlide:function(e){var t=this,a=t.activeIndex,i=a+1,s=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&t.virtual.slides.unshift(e[r]);i=a+e.length,s=e.length}else t.virtual.slides.unshift(e);if(t.params.virtual.cache){var n=t.virtual.cache,o={};Object.keys(n).forEach(function(e){o[parseInt(e,10)+s]=n[e]}),t.virtual.cache=o}t.virtual.update(!0),t.slideTo(i,0)},removeSlide:function(e){var t=this;if("undefined"!==typeof e&&null!==e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&(a-=1),a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&(a-=1),a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},ut={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;_.extend(e,{virtual:{update:pt.update.bind(e),appendSlide:pt.appendSlide.bind(e),prependSlide:pt.prependSlide.bind(e),removeSlide:pt.removeSlide.bind(e),removeAllSlides:pt.removeAllSlides.bind(e),renderSlide:pt.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};_.extend(e.params,t),_.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){var e=this;e.params.virtual.enabled&&e.virtual.update()}}},ct={handle:function(a){var i=this,s=i.rtlTranslate,r=a;r.originalEvent&&(r=r.originalEvent);var n=r.keyCode||r.charCode;if(!i.allowSlideNext&&(i.isHorizontal()&&39===n||i.isVertical()&&40===n||34===n))return!1;if(!i.allowSlidePrev&&(i.isHorizontal()&&37===n||i.isVertical()&&38===n||33===n))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey)&&(!e.activeElement||!e.activeElement.nodeName||"input"!==e.activeElement.nodeName.toLowerCase()&&"textarea"!==e.activeElement.nodeName.toLowerCase())){if(i.params.keyboard.onlyInViewport&&(33===n||34===n||37===n||39===n||38===n||40===n)){var o=!1;if(i.$el.parents("."+i.params.slideClass).length>0&&0===i.$el.parents("."+i.params.slideActiveClass).length)return;var l=t.innerWidth,d=t.innerHeight,p=i.$el.offset();s&&(p.left-=i.$el[0].scrollLeft);for(var u=[[p.left,p.top],[p.left+i.width,p.top],[p.left,p.top+i.height],[p.left+i.width,p.top+i.height]],c=0;c<u.length;c+=1){var h=u[c];h[0]>=0&&h[0]<=l&&h[1]>=0&&h[1]<=d&&(o=!0)}if(!o)return}i.isHorizontal()?(33!==n&&34!==n&&37!==n&&39!==n||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==n&&39!==n||s)&&(33!==n&&37!==n||!s)||i.slideNext(),(33!==n&&37!==n||s)&&(34!==n&&39!==n||!s)||i.slidePrev()):(33!==n&&34!==n&&38!==n&&40!==n||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==n&&40!==n||i.slideNext(),33!==n&&38!==n||i.slidePrev()),i.emit("keyPress",n)}},enable:function(){var t=this;t.keyboard.enabled||(i(e).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this;t.keyboard.enabled&&(i(e).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},ht={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;_.extend(e,{keyboard:{enabled:!1,enable:ct.enable.bind(e),disable:ct.disable.bind(e),handle:ct.handle.bind(e)}})},on:{init:function(){var e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(){var e=this;e.keyboard.enabled&&e.keyboard.disable()}}};function ft(){var t="onwheel",a=t in e;if(!a){var i=e.createElement("div");i.setAttribute(t,"return;"),a="function"===typeof i[t]}return!a&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(a=e.implementation.hasFeature("Events.wheel","3.0")),a}var vt={lastScrollTime:_.now(),event:function(){return t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":ft()?"wheel":"mousewheel"}(),normalize:function(e){var t=10,a=40,i=800,s=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(s=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(s=r,r=0),n=s*t,o=r*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(1===e.deltaMode?(n*=a,o*=a):(n*=i,o*=i)),n&&!s&&(s=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:s,spinY:r,pixelX:n,pixelY:o}},handleMouseEnter:function(){var e=this;e.mouseEntered=!0},handleMouseLeave:function(){var e=this;e.mouseEntered=!1},handle:function(e){var a=e,i=this,s=i.params.mousewheel;if(!i.mouseEntered&&!s.releaseOnEdges)return!0;a.originalEvent&&(a=a.originalEvent);var r=0,n=i.rtlTranslate?-1:1,o=vt.normalize(a);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(s.invert&&(r=-r),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+r*s.sensitivity,d=i.isBeginning,p=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!d&&i.isBeginning||!p&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=_.nextTick(function(){i.slideToClosest()},300)),i.emit("scroll",a),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}else{if(_.now()-i.mousewheel.lastScrollTime>60)if(r<0)if(i.isEnd&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",a);else if(i.isBeginning&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",a);i.mousewheel.lastScrollTime=(new t.Date).getTime()}return a.preventDefault?a.preventDefault():a.returnValue=!1,!1},enable:function(){var e=this;if(!vt.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=i(e.params.mousewheel.eventsTarged)),t.on("mouseenter",e.mousewheel.handleMouseEnter),t.on("mouseleave",e.mousewheel.handleMouseLeave),t.on(vt.event,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this;if(!vt.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=i(e.params.mousewheel.eventsTarged)),t.off(vt.event,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},mt={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var e=this;_.extend(e,{mousewheel:{enabled:!1,enable:vt.enable.bind(e),disable:vt.disable.bind(e),handle:vt.handle.bind(e),handleMouseEnter:vt.handleMouseEnter.bind(e),handleMouseLeave:vt.handleMouseLeave.bind(e),lastScrollTime:_.now()}})},on:{init:function(){var e=this;e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(){var e=this;e.mousewheel.enabled&&e.mousewheel.disable()}}},gt={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var a=e.navigation,i=a.$nextEl,s=a.$prevEl;s&&s.length>0&&(e.isBeginning?s.addClass(t.disabledClass):s.removeClass(t.disabledClass),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),i&&i.length>0&&(e.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,a=this,s=a.params.navigation;(s.nextEl||s.prevEl)&&(s.nextEl&&(e=i(s.nextEl),a.params.uniqueNavElements&&"string"===typeof s.nextEl&&e.length>1&&1===a.$el.find(s.nextEl).length&&(e=a.$el.find(s.nextEl))),s.prevEl&&(t=i(s.prevEl),a.params.uniqueNavElements&&"string"===typeof s.prevEl&&t.length>1&&1===a.$el.find(s.prevEl).length&&(t=a.$el.find(s.prevEl))),e&&e.length>0&&e.on("click",a.navigation.onNextClick),t&&t.length>0&&t.on("click",a.navigation.onPrevClick),_.extend(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,i=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}},wt={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;_.extend(e,{navigation:{init:gt.init.bind(e),update:gt.update.bind(e),destroy:gt.destroy.bind(e),onNextClick:gt.onNextClick.bind(e),onPrevClick:gt.onPrevClick.bind(e)}})},on:{init:function(){var e=this;e.navigation.init(),e.navigation.update()},toEdge:function(){var e=this;e.navigation.update()},fromEdge:function(){var e=this;e.navigation.update()},destroy:function(){var e=this;e.navigation.destroy()},click:function(e){var t,a=this,s=a.navigation,r=s.$nextEl,n=s.$prevEl;!a.params.navigation.hideOnClick||i(e.target).is(n)||i(e.target).is(r)||(r?t=r.hasClass(a.params.navigation.hiddenClass):n&&(t=n.hasClass(a.params.navigation.hiddenClass)),!0===t?a.emit("navigationShow",a):a.emit("navigationHide",a),r&&r.toggleClass(a.params.navigation.hiddenClass),n&&n.toggleClass(a.params.navigation.hiddenClass))}}},bt={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var s,r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,o=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(s=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),s>r-1-2*e.loopedSlides&&(s-=r-2*e.loopedSlides),s>o-1&&(s-=o),s<0&&"bullets"!==e.params.paginationType&&(s=o+s)):s="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var l,d,p,u=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),n.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(a.dynamicMainBullets+4)+"px"),a.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=s-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=s-e.pagination.dynamicBulletIndex,d=l+(Math.min(u.length,a.dynamicMainBullets)-1),p=(d+l)/2),u.removeClass(a.bulletActiveClass+" "+a.bulletActiveClass+"-next "+a.bulletActiveClass+"-next-next "+a.bulletActiveClass+"-prev "+a.bulletActiveClass+"-prev-prev "+a.bulletActiveClass+"-main"),n.length>1)u.each(function(e,t){var r=i(t),n=r.index();n===s&&r.addClass(a.bulletActiveClass),a.dynamicBullets&&(n>=l&&n<=d&&r.addClass(a.bulletActiveClass+"-main"),n===l&&r.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),n===d&&r.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next"))});else{var c=u.eq(s);if(c.addClass(a.bulletActiveClass),a.dynamicBullets){for(var h=u.eq(l),f=u.eq(d),v=l;v<=d;v+=1)u.eq(v).addClass(a.bulletActiveClass+"-main");h.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),f.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")}}if(a.dynamicBullets){var m=Math.min(u.length,a.dynamicMainBullets+4),g=(e.pagination.bulletSize*m-e.pagination.bulletSize)/2-p*e.pagination.bulletSize,w=t?"right":"left";u.css(e.isHorizontal()?w:"top",g+"px")}}if("fraction"===a.type&&(n.find("."+a.currentClass).text(a.formatFractionCurrent(s+1)),n.find("."+a.totalClass).text(a.formatFractionTotal(o))),"progressbar"===a.type){var b;b=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var y=(s+1)/o,x=1,T=1;"horizontal"===b?x=y:T=y,n.find("."+a.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+x+") scaleY("+T+")").transition(e.params.speed)}"custom"===a.type&&a.renderCustom?(n.html(a.renderCustom(e,s+1,o)),e.emit("paginationRender",e,n[0])):e.emit("paginationUpdate",e,n[0]),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){for(var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,n=0;n<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var a=i(t.el);0!==a.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&a.length>1&&1===e.$el.find(t.el).length&&(a=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&a.addClass(t.clickableClass),a.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(a.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&a.addClass(t.progressbarOppositeClass),t.clickable&&a.on("click","."+t.bulletClass,function(t){t.preventDefault();var a=i(this).index()*e.params.slidesPerGroup;e.params.loop&&(a+=e.loopedSlides),e.slideTo(a)}),_.extend(e.pagination,{$el:a,el:a[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=e.pagination.$el;a.removeClass(t.hiddenClass),a.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&a.off("click","."+t.bulletClass)}}},yt={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var e=this;_.extend(e,{pagination:{init:bt.init.bind(e),render:bt.render.bind(e),update:bt.update.bind(e),destroy:bt.destroy.bind(e),dynamicBulletIndex:0}})},on:{init:function(){var e=this;e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(){var e=this;e.params.loop?e.pagination.update():"undefined"===typeof e.snapIndex&&e.pagination.update()},snapIndexChange:function(){var e=this;e.params.loop||e.pagination.update()},slidesLengthChange:function(){var e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(){var e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(){var e=this;e.pagination.destroy()},click:function(e){var t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!i(e.target).hasClass(t.params.pagination.bulletClass)){var a=t.pagination.$el.hasClass(t.params.pagination.hiddenClass);!0===a?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},xt={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=e.rtlTranslate,i=e.progress,s=t.dragSize,r=t.trackSize,n=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=s,p=(r-s)*i;a?(p=-p,p>0?(d=s-p,p=0):-p+s>r&&(d=r+p)):p<0?(d=s+p,p=0):p+s>r&&(d=r-p),e.isHorizontal()?(F.transforms3d?n.transform("translate3d("+p+"px, 0, 0)"):n.transform("translateX("+p+"px)"),n[0].style.width=d+"px"):(F.transforms3d?n.transform("translate3d(0px, "+p+"px, 0)"):n.transform("translateY("+p+"px)"),n[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,a=t.$dragEl,i=t.$el;a[0].style.width="",a[0].style.height="";var s,r=e.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=e.size/e.virtualSize,o=n*(r/e.size);s="auto"===e.params.scrollbar.dragSize?r*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?a[0].style.width=s+"px":a[0].style.height=s+"px",i[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(i[0].style.opacity=0),_.extend(t,{trackSize:r,divider:n,moveDivider:o,dragSize:s}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){var t=this;return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,a=this,i=a.scrollbar,s=a.rtlTranslate,r=i.$el,n=i.dragSize,o=i.trackSize,l=i.dragStartPos;t=(i.getPointerPosition(e)-r.offset()[a.isHorizontal()?"left":"top"]-(null!==l?l:n/2))/(o-n),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var d=a.minTranslate()+(a.maxTranslate()-a.minTranslate())*t;a.updateProgress(d),a.setTranslate(d),a.updateActiveIndex(),a.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===n[0]||e.target===n?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,a=t.scrollbar,i=t.$wrapperEl,s=a.$el,r=a.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,a.setDragPosition(e),i.transition(0),s.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=i.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=_.nextTick(function(){s.css("opacity",0),s.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar,i=t.touchEventsTouch,s=t.touchEventsDesktop,r=t.params,n=a.$el,o=n[0],l=!(!F.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!F.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};F.touch?(o.addEventListener(i.start,t.scrollbar.onDragStart,l),o.addEventListener(i.move,t.scrollbar.onDragMove,l),o.addEventListener(i.end,t.scrollbar.onDragEnd,d)):(o.addEventListener(s.start,t.scrollbar.onDragStart,l),e.addEventListener(s.move,t.scrollbar.onDragMove,l),e.addEventListener(s.end,t.scrollbar.onDragEnd,d))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var a=t.scrollbar,i=t.touchEventsTouch,s=t.touchEventsDesktop,r=t.params,n=a.$el,o=n[0],l=!(!F.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},d=!(!F.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};F.touch?(o.removeEventListener(i.start,t.scrollbar.onDragStart,l),o.removeEventListener(i.move,t.scrollbar.onDragMove,l),o.removeEventListener(i.end,t.scrollbar.onDragEnd,d)):(o.removeEventListener(s.start,t.scrollbar.onDragStart,l),e.removeEventListener(s.move,t.scrollbar.onDragMove,l),e.removeEventListener(s.end,t.scrollbar.onDragEnd,d))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,a=e.$el,s=e.params.scrollbar,r=i(s.el);e.params.uniqueNavElements&&"string"===typeof s.el&&r.length>1&&1===a.find(s.el).length&&(r=a.find(s.el));var n=r.find("."+e.params.scrollbar.dragClass);0===n.length&&(n=i('<div class="'+e.params.scrollbar.dragClass+'"></div>'),r.append(n)),_.extend(t,{$el:r,el:r[0],$dragEl:n,dragEl:n[0]}),s.draggable&&t.enableDraggable()}},destroy:function(){var e=this;e.scrollbar.disableDraggable()}},Tt={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var e=this;_.extend(e,{scrollbar:{init:xt.init.bind(e),destroy:xt.destroy.bind(e),updateSize:xt.updateSize.bind(e),setTranslate:xt.setTranslate.bind(e),setTransition:xt.setTransition.bind(e),enableDraggable:xt.enableDraggable.bind(e),disableDraggable:xt.disableDraggable.bind(e),setDragPosition:xt.setDragPosition.bind(e),getPointerPosition:xt.getPointerPosition.bind(e),onDragStart:xt.onDragStart.bind(e),onDragMove:xt.onDragMove.bind(e),onDragEnd:xt.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var e=this;e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(){var e=this;e.scrollbar.updateSize()},resize:function(){var e=this;e.scrollbar.updateSize()},observerUpdate:function(){var e=this;e.scrollbar.updateSize()},setTranslate:function(){var e=this;e.scrollbar.setTranslate()},setTransition:function(e){var t=this;t.scrollbar.setTransition(e)},destroy:function(){var e=this;e.scrollbar.destroy()}}},Et={setTransform:function(e,t){var a=this,s=a.rtl,r=i(e),n=s?-1:1,o=r.attr("data-swiper-parallax")||"0",l=r.attr("data-swiper-parallax-x"),d=r.attr("data-swiper-parallax-y"),p=r.attr("data-swiper-parallax-scale"),u=r.attr("data-swiper-parallax-opacity");if(l||d?(l=l||"0",d=d||"0"):a.isHorizontal()?(l=o,d="0"):(d=o,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*t*n+"%":l*t*n+"px",d=d.indexOf("%")>=0?parseInt(d,10)*t+"%":d*t+"px","undefined"!==typeof u&&null!==u){var c=u-(u-1)*(1-Math.abs(t));r[0].style.opacity=c}if("undefined"===typeof p||null===p)r.transform("translate3d("+l+", "+d+", 0px)");else{var h=p-(p-1)*(1-Math.abs(t));r.transform("translate3d("+l+", "+d+", 0px) scale("+h+")")}},setTranslate:function(){var e=this,t=e.$el,a=e.slides,s=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,a){e.parallax.setTransform(a,s)}),a.each(function(t,a){var n=a.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-s*(r.length-1)),n=Math.min(Math.max(n,-1),1),i(a).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,a){e.parallax.setTransform(a,n)})})},setTransition:function(e){void 0===e&&(e=this.params.speed);var t=this,a=t.$el;a.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t,a){var s=i(a),r=parseInt(s.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),s.transition(r)})}},St={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var e=this;_.extend(e,{parallax:{setTransform:Et.setTransform.bind(e),setTranslate:Et.setTranslate.bind(e),setTransition:Et.setTransition.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(){var e=this;e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e){var t=this;t.params.parallax.enabled&&t.parallax.setTransition(e)}}},Ct={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,s=e.targetTouches[1].pageY,r=Math.sqrt(Math.pow(i-t,2)+Math.pow(s-a,2));return r},onGestureStart:function(e){var t=this,a=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!F.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=Ct.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=i(e.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+a.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(!F.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=Ct.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(F.gestures?i.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<a.minRatio&&(i.scale=a.minRatio+1-Math.pow(a.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this,a=t.params.zoom,i=t.zoom,s=i.gesture;if(!F.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!Oe.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),a.minRatio),s.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(Oe.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=_.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=_.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,o=s.height*a.scale;if(!(n<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.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.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.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,t=e.zoom,a=t.gesture,i=t.image,s=t.velocity;if(a.$imageEl&&0!==a.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var r=300,n=300,o=s.x*r,l=i.currentX+o,d=s.y*n,p=i.currentY+d;0!==s.x&&(r=Math.abs((l-i.currentX)/s.x)),0!==s.y&&(n=Math.abs((p-i.currentY)/s.y));var u=Math.max(r,n);i.currentX=l,i.currentY=p;var c=i.width*t.scale,h=i.height*t.scale;i.minX=Math.min(a.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(a.slideHeight/2-h/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),a.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,a=t.gesture;a.$slideEl&&e.previousIndex!==e.activeIndex&&(a.$imageEl.transform("translate3d(0,0,0) scale(1)"),a.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,a.$slideEl=void 0,a.$imageEl=void 0,a.$imageWrapEl=void 0)},toggle:function(e){var t=this,a=t.zoom;a.scale&&1!==a.scale?a.out():a.in(e)},in:function(e){var t,a,s,r,n,o,l,d,p,u,c,h,f,v,m,g,w,b,y=this,x=y.zoom,T=y.params.zoom,E=x.gesture,S=x.image;(E.$slideEl||(E.$slideEl=y.clickedSlide?i(y.clickedSlide):y.slides.eq(y.activeIndex),E.$imageEl=E.$slideEl.find("img, svg, canvas"),E.$imageWrapEl=E.$imageEl.parent("."+T.containerClass)),E.$imageEl&&0!==E.$imageEl.length)&&(E.$slideEl.addClass(""+T.zoomedSlideClass),"undefined"===typeof S.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,a="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=S.touchesStart.x,a=S.touchesStart.y),x.scale=E.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,x.currentScale=E.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,e?(w=E.$slideEl[0].offsetWidth,b=E.$slideEl[0].offsetHeight,s=E.$slideEl.offset().left,r=E.$slideEl.offset().top,n=s+w/2-t,o=r+b/2-a,p=E.$imageEl[0].offsetWidth,u=E.$imageEl[0].offsetHeight,c=p*x.scale,h=u*x.scale,f=Math.min(w/2-c/2,0),v=Math.min(b/2-h/2,0),m=-f,g=-v,l=n*x.scale,d=o*x.scale,l<f&&(l=f),l>m&&(l=m),d<v&&(d=v),d>g&&(d=g)):(l=0,d=0),E.$imageWrapEl.transition(300).transform("translate3d("+l+"px, "+d+"px,0)"),E.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+x.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,s=t.gesture;s.$slideEl||(s.$slideEl=e.clickedSlide?i(e.clickedSlide):e.slides.eq(e.activeIndex),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+a.containerClass)),s.$imageEl&&0!==s.$imageEl.length&&(t.scale=1,t.currentScale=1,s.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),s.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),s.$slideEl.removeClass(""+a.zoomedSlideClass),s.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var a=!("touchstart"!==e.touchEvents.start||!F.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};F.gestures?(e.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.on(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var a=!("touchstart"!==e.touchEvents.start||!F.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};F.gestures?(e.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,".swiper-slide",t.onGestureStart,a),e.$wrapperEl.off(e.touchEvents.move,".swiper-slide",t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,".swiper-slide",t.onGestureEnd,a)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove)}}},Mt={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={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){t[a]=Ct[a].bind(e)}),_.extend(e,{zoom:t});var a=1;Object.defineProperty(e.zoom,"scale",{get:function(){return a},set:function(t){if(a!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,s=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,s)}a=t}})},on:{init:function(){var e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy:function(){var e=this;e.zoom.disable()},touchStart:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(e){var t=this;t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(e){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()}}},Pt={loadInSlide:function(e,t){void 0===t&&(t=!0);var a=this,s=a.params.lazy;if("undefined"!==typeof e&&0!==a.slides.length){var r=a.virtual&&a.params.virtual.enabled,n=r?a.$wrapperEl.children("."+a.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):a.slides.eq(e),o=n.find("."+s.elementClass+":not(."+s.loadedClass+"):not(."+s.loadingClass+")");!n.hasClass(s.elementClass)||n.hasClass(s.loadedClass)||n.hasClass(s.loadingClass)||(o=o.add(n[0])),0!==o.length&&o.each(function(e,r){var o=i(r);o.addClass(s.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),p=o.attr("data-srcset"),u=o.attr("data-sizes");a.loadImage(o[0],d||l,p,u,!1,function(){if("undefined"!==typeof a&&null!==a&&a&&(!a||a.params)&&!a.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(p&&(o.attr("srcset",p),o.removeAttr("data-srcset")),u&&(o.attr("sizes",u),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(s.loadedClass).removeClass(s.loadingClass),n.find("."+s.preloaderClass).remove(),a.params.loop&&t){var e=n.attr("data-swiper-slide-index");if(n.hasClass(a.params.slideDuplicateClass)){var i=a.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+a.params.slideDuplicateClass+")");a.lazy.loadInSlide(i.index(),!1)}else{var r=a.$wrapperEl.children("."+a.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');a.lazy.loadInSlide(r.index(),!1)}}a.emit("lazyImageReady",n[0],o[0])}}),a.emit("lazyImageLoad",n[0],o[0])})}},load:function(){var e=this,t=e.$wrapperEl,a=e.params,s=e.slides,r=e.activeIndex,n=e.virtual&&a.virtual.enabled,o=a.lazy,l=a.slidesPerView;function d(e){if(n){if(t.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(s[e])return!0;return!1}function p(e){return n?i(e).attr("data-swiper-slide-index"):i(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+a.slideVisibleClass).each(function(t,a){var s=n?i(a).attr("data-swiper-slide-index"):i(a).index();e.lazy.loadInSlide(s)});else if(l>1)for(var u=r;u<r+l;u+=1)d(u)&&e.lazy.loadInSlide(u);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,h=l,f=Math.min(r+h+Math.max(c,h),s.length),v=Math.max(r-Math.max(h,c),0),m=r+l;m<f;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var g=v;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{var w=t.children("."+a.slideNextClass);w.length>0&&e.lazy.loadInSlide(p(w));var b=t.children("."+a.slidePrevClass);b.length>0&&e.lazy.loadInSlide(p(b))}}},kt={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var e=this;_.extend(e,{lazy:{initialImageLoaded:!1,load:Pt.load.bind(e),loadInSlide:Pt.loadInSlide.bind(e)}})},on:{beforeInit:function(){var e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(){var e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll:function(){var e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove:function(){var e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){var e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()}}},zt={LinearSpline:function(e,t){var a,i,s=function(){var e,t,a;return function(i,s){t=-1,e=i.length;while(e-t>1)a=e+t>>1,i[a]<=s?t=a:e=a;return e}}();return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new zt.LinearSpline(t.slidesGrid,e.slidesGrid):new zt.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<r.length;o+=1)r[o]!==t&&r[o]instanceof it&&n(r[o]);else r instanceof it&&t!==r&&n(r)},setTransition:function(e,t){var a,i=this,s=i.controller.control;function r(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&_.nextTick(function(){t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(function(){s&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(s))for(a=0;a<s.length;a+=1)s[a]!==t&&s[a]instanceof it&&r(s[a]);else s instanceof it&&t!==s&&r(s)}},$t={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;_.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:zt.getInterpolateFunction.bind(e),setTranslate:zt.setTranslate.bind(e),setTransition:zt.setTransition.bind(e)}})},on:{update:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(){var e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t){var a=this;a.controller.control&&a.controller.setTranslate(e,t)},setTransition:function(e,t){var a=this;a.controller.control&&a.controller.setTransition(e,t)}}},Dt={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,a=t.params.a11y;if(13===e.keyCode){var s=i(e.target);t.navigation&&t.navigation.$nextEl&&s.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&s.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&s.is("."+t.params.pagination.bulletClass)&&s[0].click()}},notify:function(e){var t=this,a=t.a11y.liveRegion;0!==a.length&&(a.html(""),a.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,a=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(e.isBeginning?e.a11y.disableEl(i):e.a11y.enableEl(i)),a&&a.length>0&&(e.isEnd?e.a11y.disableEl(a):e.a11y.enableEl(a))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(function(a,s){var r=i(s);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))})},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,a,i=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,i.nextSlideMessage),t.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,i.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&a.a11y.liveRegion.length>0&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterKey),t&&t.off("keydown",a.a11y.onEnterKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown","."+a.params.pagination.bulletClass,a.a11y.onEnterKey)}},It={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 e=this;_.extend(e,{a11y:{liveRegion:i('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(Dt).forEach(function(t){e.a11y[t]=Dt[t].bind(e)})},on:{init:function(){var e=this;e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(){var e=this;e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(){var e=this;e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(){var e=this;e.params.a11y.enabled&&e.a11y.destroy()}}},Lt={init:function(){var e=this;if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var a=e.history;a.initialized=!0,a.paths=Lt.getPathValues(),(a.paths.key||a.paths.value)&&(a.scrollToSlide(0,a.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=this;e.params.history.replaceState||t.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=Lt.getPathValues(),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),a=e.length,i=e[a-2],s=e[a-1];return{key:i,value:s}},setHistory:function(e,a){var i=this;if(i.history.initialized&&i.params.history.enabled){var s=i.slides.eq(a),r=Lt.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(r=e+"/"+r);var n=t.history.state;n&&n.value===r||(i.params.history.replaceState?t.history.replaceState({value:r},null,r):t.history.pushState({value:r},null,r))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s<r;s+=1){var n=i.slides.eq(s),o=Lt.slugify(n.attr("data-history"));if(o===t&&!n.hasClass(i.params.slideDuplicateClass)){var l=n.index();i.slideTo(l,e,a)}}else i.slideTo(0,e,a)}},Ot={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;_.extend(e,{history:{init:Lt.init.bind(e),setHistory:Lt.setHistory.bind(e),setHistoryPopState:Lt.setHistoryPopState.bind(e),scrollToSlide:Lt.scrollToSlide.bind(e),destroy:Lt.destroy.bind(e)}})},on:{init:function(){var e=this;e.params.history.enabled&&e.history.init()},destroy:function(){var e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd:function(){var e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},At={onHashCange:function(){var t=this,a=e.location.hash.replace("#",""),i=t.slides.eq(t.activeIndex).attr("data-hash");if(a!==i){var s=t.$wrapperEl.children("."+t.params.slideClass+'[data-hash="'+a+'"]').index();if("undefined"===typeof s)return;t.slideTo(s)}},setHash:function(){var a=this;if(a.hashNavigation.initialized&&a.params.hashNavigation.enabled)if(a.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+a.slides.eq(a.activeIndex).attr("data-hash")||!1);else{var i=a.slides.eq(a.activeIndex),s=i.attr("data-hash")||i.attr("data-history");e.location.hash=s||""}},init:function(){var a=this;if(!(!a.params.hashNavigation.enabled||a.params.history&&a.params.history.enabled)){a.hashNavigation.initialized=!0;var s=e.location.hash.replace("#","");if(s)for(var r=0,n=0,o=a.slides.length;n<o;n+=1){var l=a.slides.eq(n),d=l.attr("data-hash")||l.attr("data-history");if(d===s&&!l.hasClass(a.params.slideDuplicateClass)){var p=l.index();a.slideTo(p,r,a.params.runCallbacksOnInit,!0)}}a.params.hashNavigation.watchState&&i(t).on("hashchange",a.hashNavigation.onHashCange)}},destroy:function(){var e=this;e.params.hashNavigation.watchState&&i(t).off("hashchange",e.hashNavigation.onHashCange)}},Nt={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;_.extend(e,{hashNavigation:{initialized:!1,init:At.init.bind(e),destroy:At.destroy.bind(e),setHash:At.setHash.bind(e),onHashCange:At.onHashCange.bind(e)}})},on:{init:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(){var e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(){var e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()}}},Ht={run:function(){var e=this,t=e.slides.eq(e.activeIndex),a=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(a=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=_.nextTick(function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},a)},start:function(){var e=this;return"undefined"===typeof e.autoplay.timeout&&(!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0))},stop:function(){var e=this;return!!e.autoplay.running&&("undefined"!==typeof e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}},Yt={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;_.extend(e,{autoplay:{running:!1,paused:!1,run:Ht.run.bind(e),start:Ht.start.bind(e),stop:Ht.stop.bind(e),pause:Ht.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){var e=this;e.params.autoplay.enabled&&e.autoplay.start()},beforeTransitionStart:function(e,t){var a=this;a.autoplay.running&&(t||!a.params.autoplay.disableOnInteraction?a.autoplay.pause(e):a.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},destroy:function(){var e=this;e.autoplay.running&&e.autoplay.stop()}}},Gt={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=i[0].swiperSlideOffset,r=-s;e.params.virtualTranslate||(r-=e.translate);var n=0;e.isHorizontal()||(n=r,r=0);var o=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:o}).transform("translate3d("+r+"px, "+n+"px, 0px)")}},setTransition:function(e){var t=this,a=t.slides,i=t.$wrapperEl;if(a.transition(e),t.params.virtualTranslate&&0!==e){var s=!1;a.transitionEnd(function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)i.trigger(e[a])}})}}},Bt={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){var e=this;_.extend(e,{fadeEffect:{setTranslate:Gt.setTranslate.bind(e),setTransition:Gt.setTransition.bind(e)}})},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};_.extend(e.params,t),_.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e){var t=this;"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}},Xt={setTranslate:function(){var e,t=this,a=t.$el,s=t.$wrapperEl,r=t.slides,n=t.width,o=t.height,l=t.rtlTranslate,d=t.size,p=t.params.cubeEffect,u=t.isHorizontal(),c=t.virtual&&t.params.virtual.enabled,h=0;p.shadow&&(u?(e=s.find(".swiper-cube-shadow"),0===e.length&&(e=i('<div class="swiper-cube-shadow"></div>'),s.append(e)),e.css({height:n+"px"})):(e=a.find(".swiper-cube-shadow"),0===e.length&&(e=i('<div class="swiper-cube-shadow"></div>'),a.append(e))));for(var f=0;f<r.length;f+=1){var v=r.eq(f),m=f;c&&(m=parseInt(v.attr("data-swiper-slide-index"),10));var g=90*m,w=Math.floor(g/360);l&&(g=-g,w=Math.floor(-g/360));var b=Math.max(Math.min(v[0].progress,1),-1),y=0,x=0,T=0;m%4===0?(y=4*-w*d,T=0):(m-1)%4===0?(y=0,T=4*-w*d):(m-2)%4===0?(y=d+4*w*d,T=d):(m-3)%4===0&&(y=-d,T=3*d+4*d*w),l&&(y=-y),u||(x=y,y=0);var E="rotateX("+(u?0:-g)+"deg) rotateY("+(u?g:0)+"deg) translate3d("+y+"px, "+x+"px, "+T+"px)";if(b<=1&&b>-1&&(h=90*m+90*b,l&&(h=90*-m-90*b)),v.transform(E),p.slideShadows){var S=u?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),C=u?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===S.length&&(S=i('<div class="swiper-slide-shadow-'+(u?"left":"top")+'"></div>'),v.append(S)),0===C.length&&(C=i('<div class="swiper-slide-shadow-'+(u?"right":"bottom")+'"></div>'),v.append(C)),S.length&&(S[0].style.opacity=Math.max(-b,0)),C.length&&(C[0].style.opacity=Math.max(b,0))}}if(s.css({"-webkit-transform-origin":"50% 50% -"+d/2+"px","-moz-transform-origin":"50% 50% -"+d/2+"px","-ms-transform-origin":"50% 50% -"+d/2+"px","transform-origin":"50% 50% -"+d/2+"px"}),p.shadow)if(u)e.transform("translate3d(0px, "+(n/2+p.shadowOffset)+"px, "+-n/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")");else{var M=Math.abs(h)-90*Math.floor(Math.abs(h)/90),P=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),k=p.shadowScale,z=p.shadowScale/P,$=p.shadowOffset;e.transform("scale3d("+k+", 1, "+z+") translate3d(0px, "+(o/2+$)+"px, "+-o/2/z+"px) rotateX(-90deg)")}var D=R.isSafari||R.isUiWebView?-d/2:0;s.transform("translate3d(0px,0,"+D+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this,a=t.$el,i=t.slides;i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&a.find(".swiper-cube-shadow").transition(e)}},Vt={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var e=this;_.extend(e,{cubeEffect:{setTranslate:Xt.setTranslate.bind(e),setTransition:Xt.setTransition.bind(e)}})},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};_.extend(e.params,t),_.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e){var t=this;"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}},_t={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,s=0;s<t.length;s+=1){var r=t.eq(s),n=r[0].progress;e.params.flipEffect.limitRotation&&(n=Math.max(Math.min(r[0].progress,1),-1));var o=r[0].swiperSlideOffset,l=-180*n,d=l,p=0,u=-o,c=0;if(e.isHorizontal()?a&&(d=-d):(c=u,u=0,p=-d,d=0),r[0].style.zIndex=-Math.abs(Math.round(n))+t.length,e.params.flipEffect.slideShadows){var h=e.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),f=e.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===h.length&&(h=i('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),r.append(h)),0===f.length&&(f=i('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),r.append(f)),h.length&&(h[0].style.opacity=Math.max(-n,0)),f.length&&(f[0].style.opacity=Math.max(n,0))}r.transform("translate3d("+u+"px, "+c+"px, 0px) rotateX("+p+"deg) rotateY("+d+"deg)")}},setTransition:function(e){var t=this,a=t.slides,i=t.activeIndex,s=t.$wrapperEl;if(a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;a.eq(i).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],a=0;a<e.length;a+=1)s.trigger(e[a])}})}}},Ft={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){var e=this;_.extend(e,{flipEffect:{setTranslate:_t.setTranslate.bind(e),setTransition:_t.setTransition.bind(e)}})},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};_.extend(e.params,t),_.extend(e.originalParams,t)}},setTranslate:function(){var e=this;"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e){var t=this;"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}},Rt={setTranslate:function(){for(var e=this,t=e.width,a=e.height,s=e.slides,r=e.$wrapperEl,n=e.slidesSizesGrid,o=e.params.coverflowEffect,l=e.isHorizontal(),d=e.translate,p=l?t/2-d:a/2-d,u=l?o.rotate:-o.rotate,c=o.depth,h=0,f=s.length;h<f;h+=1){var v=s.eq(h),m=n[h],g=v[0].swiperSlideOffset,w=(p-g-m/2)/m*o.modifier,b=l?u*w:0,y=l?0:u*w,x=-c*Math.abs(w),T=l?0:o.stretch*w,E=l?o.stretch*w:0;Math.abs(E)<.001&&(E=0),Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(b)<.001&&(b=0),Math.abs(y)<.001&&(y=0);var S="translate3d("+E+"px,"+T+"px,"+x+"px) rotateX("+y+"deg) rotateY("+b+"deg)";if(v.transform(S),v[0].style.zIndex=1-Math.abs(Math.round(w)),o.slideShadows){var C=l?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),M=l?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");0===C.length&&(C=i('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),v.append(C)),0===M.length&&(M=i('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),v.append(M)),C.length&&(C[0].style.opacity=w>0?w:0),M.length&&(M[0].style.opacity=-w>0?-w:0)}}if(F.pointerEvents||F.prefixedPointerEvents){var P=r[0].style;P.perspectiveOrigin=p+"px 50%"}},setTransition:function(e){var t=this;t.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},jt={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var e=this;_.extend(e,{coverflowEffect:{setTranslate:Rt.setTranslate.bind(e),setTransition:Rt.setTransition.bind(e)}})},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(){var e=this;"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e){var t=this;"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}},qt={init:function(){var e=this,t=e.params,a=t.thumbs,i=e.constructor;a.swiper instanceof i?(e.thumbs.swiper=a.swiper,_.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),_.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):_.isObject(a.swiper)&&(e.thumbs.swiper=new i(_.extend({},a.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var a=t.clickedIndex,s=t.clickedSlide;if((!s||!i(s).hasClass(e.params.thumbs.slideThumbActiveClass))&&"undefined"!==typeof a&&null!==a){var r;if(r=t.params.loop?parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10):a,e.params.loop){var n=e.activeIndex;e.slides.eq(n).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,n=e.activeIndex);var o=e.slides.eq(n).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),l=e.slides.eq(n).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r="undefined"===typeof o?l:"undefined"===typeof l?o:l-n<n-o?l:o}e.slideTo(r)}}},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView;if(t.realIndex!==a.realIndex){var s,r=a.activeIndex;if(a.params.loop){a.slides.eq(r).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,r=a.activeIndex);var n=a.slides.eq(r).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),o=a.slides.eq(r).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index();s="undefined"===typeof n?o:"undefined"===typeof o?n:o-r===r-n?r:o-r<r-n?o:n}else s=t.realIndex;a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(s)<0&&(a.params.centeredSlides?s=s>r?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>r&&(s=s-i+1),a.slideTo(s,e?0:void 0))}var l=1,d=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(l=t.params.slidesPerView),a.slides.removeClass(d),a.params.loop||a.params.virtual)for(var p=0;p<l;p+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+p)+'"]').addClass(d);else for(var u=0;u<l;u+=1)a.slides.eq(t.realIndex+u).addClass(d)}}},Wt={name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){var e=this;_.extend(e,{thumbs:{swiper:null,init:qt.init.bind(e),update:qt.update.bind(e),onThumbClick:qt.onThumbClick.bind(e)}})},on:{beforeInit:function(){var e=this,t=e.params,a=t.thumbs;a&&a.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},update:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},resize:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(){var e=this;e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e){var t=this,a=t.thumbs.swiper;a&&a.setTransition(e)},beforeDestroy:function(){var e=this,t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}},Ut=[st,rt,nt,ot,dt,ut,ht,mt,wt,yt,Tt,St,Mt,kt,$t,It,Ot,Nt,Yt,Bt,Vt,Ft,jt,Wt];return"undefined"===typeof it.use&&(it.use=it.Class.use,it.installModule=it.Class.installModule),it.use(Ut),it})},d678:function(e,t,a){"use strict";var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mempty"},[a("div",{class:[e.icon?e.icon:"icon_nodata","icon"]}),a("div",{staticClass:"msg"},[e._v(e._s(e.msg?e.msg:"暂无内容"))])])},s=[],r={name:"mempty",props:{icon:String,msg:String}},n=r,o=(a("19a3"),a("2877")),l=Object(o["a"])(n,i,s,!1,null,"67669af7",null);t["a"]=l.exports},dfa4:function(e,t,a){}}]);