@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 218 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SlidePoster=t():e.SlidePoster=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,r){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../lib",t(t.s=2068)}({0:function(e,t){var i=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},1:function(e,t,i){"use strict";function r(e,t,i,r,n,a,s,o){e=e||{};var l=typeof e.default;"object"!==l&&"function"!==l||(e=e.default);var d="function"==typeof e?e.options:e;t&&(d.render=t,d.staticRenderFns=i,d._compiled=!0),r&&(d.functional=!0),a&&(d._scopeId=a);var u;if(s?(u=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__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=u):n&&(u=o?function(){n.call(this,this.$root.$options.shadowRoot)}:n),u)if(d.functional){d._injectStyles=u;var c=d.render;d.render=function(e,t){return u.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,u):[u]}return{exports:e,options:d}}t.a=r},10:function(e,t,i){var r=i(7),n=i(22);e.exports=i(4)?function(e,t,i){return r.f(e,t,n(1,i))}:function(e,t,i){return e[t]=i,e}},100:function(e,t,i){e.exports={default:i(101),__esModule:!0}},101:function(e,t,i){i(59),i(52),i(102),i(103),e.exports=i(0).Symbol},102:function(e,t,i){i(41)("asyncIterator")},103:function(e,t,i){i(41)("observable")},104:function(e,t,i){"use strict";function r(e){o||i(136)}var n=i(73),a=i(137),s=i(1),o=!1,l=r,d=Object(s.a)(n.a,a.a,a.b,!1,l,null,null);d.options.__file="src\\components\\common\\popup.vue",t.a=d.exports},106:function(e,t,i){i(107),e.exports=i(0).Object.keys},1066:function(e,t,i){"use strict";function r(e){o||i(1067)}var n=i(592),a=i(1068),s=i(1),o=!1,l=r,d=Object(s.a)(n.a,a.a,a.b,!1,l,"data-v-503eaf05",null);d.options.__file="src\\components\\Toast\\src\\index.vue",t.a=d.exports},1067:function(e,t){},1068:function(e,t,i){"use strict";i.d(t,"a",function(){return r}),i.d(t,"b",function(){return n});var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("act-popup",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],attrs:{opacity:"0",pointerEvent:e.pointerEvents,zIndex:e.zIndex},scopedSlots:e._u([{key:"mask",fn:function(){return[i("div",{staticClass:"act-toast",style:{fontSize:e._fontSize}},[i("div",{class:{"act-toast-content":!0,icon:""!==e.iconObj,"icon-left":"left"===e.iconObj.align},style:{"text-align":e.align,background:"rgba(0,0,0,"+e.opacity+")"}},[e.iconObj?i("div",{staticClass:"icon-cont"},[i("Loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:e.iconObj.type,size:e.iconObj.size?e.iconObj.size:33,color:e.iconObj.color,bgcolor:e.iconObj.bgcolor,center:e.iconObj.center}})],1):e._e(),e._v(" "),i("div",{staticClass:"toast-txt"},[e._v("\n "+e._s(e.txt)+"\n ")])])])]},proxy:!0}])})},n=[];r._withStripped=!0},107:function(e,t,i){var r=i(17),n=i(16);i(60)("keys",function(){return function(e){return n(r(e))}})},109:function(e,t,i){e.exports={default:i(110),__esModule:!0}},11:function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},110:function(e,t,i){i(111);var r=i(0).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},111:function(e,t,i){i(60)("getOwnPropertyNames",function(){return i(58).f})},112:function(e,t,i){e.exports={default:i(113),__esModule:!0}},113:function(e,t,i){i(59),e.exports=i(0).Object.getOwnPropertySymbols},116:function(e,t,i){var r=i(9);e.exports=function(e,t,i,n){try{return n?t(r(i)[0],i[1]):t(i)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},117:function(e,t,i){var r=i(21),n=i(3)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[n]===e)}},118:function(e,t,i){"use strict";function r(e){var t={},i={},r={};for(var l in e)if(e.hasOwnProperty(l))if(-1!==o.indexOf(l))t[l]=e[l];else if(s.test(l)){var d=s.exec(l)[1];d=Object(a.a)(d),r[d]=e[l]}else i[l]=e[l];return t.on=Object(n.a)(r,t.on),t.props=Object(n.a)(i,t.props),t}t.a=r;var n=i(68),a=i(119),s=new RegExp(/^on(.+)/),o=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},119:function(e,t,i){"use strict";function r(e,t){var i=l(e,t);return i.charAt(0).toLowerCase()+i.slice(1)}t.a=r;var n=i(29),a=i.n(n),s=i(5),o=function(e){for(var t=!1,i=!1,r=!1,n=0;n<e.length;n++){var a=e[n];t&&/[a-zA-Z]/.test(a)&&a.toUpperCase()===a?(e=e.slice(0,n)+"-"+e.slice(n),t=!1,r=i,i=!0,n++):i&&r&&/[a-zA-Z]/.test(a)&&a.toLowerCase()===a?(e=e.slice(0,n-1)+"-"+e.slice(n-1),r=i,i=!1,t=!0):(t=a.toLowerCase()===a&&a.toUpperCase()!==a,r=i,i=a.toUpperCase()===a&&a.toLowerCase()!==a)}return e},l=function(e,t){if("string"!=typeof e&&!Object(s.p)(e))throw new TypeError("Expected the input to be `string | string[]`");t=a()({pascalCase:!1},t);return e=Array.isArray(e)?e.map(function(e){return e.trim()}).filter(function(e){return e.length}).join("-"):e.trim(),0===e.length?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=o(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(e,t){return t.toUpperCase()}).replace(/\d+(\w|$)/g,function(e){return e.toUpperCase()}),function(e){return t.pascalCase?e.charAt(0).toUpperCase()+e.slice(1):e}(e))}},120:function(e,t,i){"use strict";function r(e,t,i,r){var a=void 0,s=void 0,o=new e({render:function(e){var i=s&&s(e);return i&&!Object(n.p)(i)&&(i=[i]),e(t,a,i||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return o.updateRenderData=function(e,t){a=e,s=t},o.updateRenderData(i,r),o.$mount(),o.init(),o.$children[0]}t.a=r;var n=i(5)},121:function(e,t,i){var r=i(3)("iterator"),n=!1;try{var a=[7][r]();a.return=function(){n=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!n)return!1;var i=!1;try{var a=[7],s=a[r]();s.next=function(){return{done:i=!0}},a[r]=function(){return s},e(a)}catch(e){}return i}},122:function(e,t,i){"use strict";var r=i(2),n=i(0),a=i(7),s=i(4),o=i(3)("species");e.exports=function(e){var t="function"==typeof n[e]?n[e]:r[e];s&&t&&!t[o]&&a.f(t,o,{configurable:!0,get:function(){return this}})}},13:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},1344:function(e,t,i){!function(t,r){e.exports=r(i(1345))}(0,function(e){return function(e){function t(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var i={};return t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,r){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=4)}([function(t,i){t.exports=e},function(e,t){e.exports=function(e,t,i,r,n,a){var s,o=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(s=e,o=e.default);var d="function"==typeof o?o.options:o;t&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0),i&&(d.functional=!0),n&&(d._scopeId=n);var u;if(a?(u=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):r&&(u=r),u){var c=d.functional,p=c?d.render:d.beforeCreate;c?(d._injectStyles=u,d.render=function(e,t){return u.call(t),p(e,t)}):d.beforeCreate=p?[].concat(p,u):[u]}return{esModule:s,exports:o,options:d}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(5),n=i.n(r),a=i(8),s=i(1),o=s(n.a,a.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(6),n=i.n(r),a=i(7),s=i(1),o=s(n.a,a.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function r(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 n=i(0),a=r(n),s=i(2),o=r(s),l=i(3),d=r(l),u=window.Swiper||a.default,c=d.default,p=o.default,f=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)},h={Swiper:u,swiper:c,swiperSlide:p,install:f};t.default=h,t.Swiper=u,t.swiper=c,t.swiperSlide=p,t.install=f},function(e,t,i){"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,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),n=function(e){return e&&e.__esModule?e:{default:e}}(r),a=window.Swiper||n.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 i=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])}return i},writable:!0,configurable:!0});var s=["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 a(this.$el,e),this.bindEvents(),this.$emit("ready",this.swiper)},bindEvents:function(){var e=this,t=this;s.forEach(function(i){e.swiper.on(i,function(){t.$emit.apply(t,[i].concat(Array.prototype.slice.call(arguments))),t.$emit.apply(t,[i.replace(/([A-Z])/g,"-$1").toLowerCase()].concat(Array.prototype.slice.call(arguments)))})})}}}},function(e,t,i){"use strict";var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"swiper-container"},[e._t("parallax-bg"),e._v(" "),i("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)},n=[],a={render:r,staticRenderFns:n};t.a=a},function(e,t,i){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:e.slideClass},[e._t("default")],2)},n=[],a={render:r,staticRenderFns:n};t.a=a}])})},1345:function(e,t,i){!function(t,i){e.exports=i()}(0,function(){"use strict";function e(e,t){var i=[],r=0;if(e&&!t&&e instanceof De)return e;if(e)if("string"==typeof e){var n,a,s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){var o="div";for(0===s.indexOf("<li")&&(o="ul"),0===s.indexOf("<tr")&&(o="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(o="tr"),0===s.indexOf("<tbody")&&(o="table"),0===s.indexOf("<option")&&(o="select"),a=Ie.createElement(o),a.innerHTML=s,r=0;r<a.childNodes.length;r+=1)i.push(a.childNodes[r])}else for(n=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||Ie).querySelectorAll(e.trim()):[Ie.getElementById(e.trim().split("#")[1])],r=0;r<n.length;r+=1)n[r]&&i.push(n[r])}else if(e.nodeType||e===Ae||e===Ie)i.push(e);else if(e.length>0&&e[0].nodeType)for(r=0;r<e.length;r+=1)i.push(e[r]);return new De(i)}function t(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}function i(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var r=0;r<this.length;r+=1)void 0!==this[r]&&void 0!==this[r].classList&&this[r].classList.add(t[i]);return this}function r(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var r=0;r<this.length;r+=1)void 0!==this[r]&&void 0!==this[r].classList&&this[r].classList.remove(t[i]);return this}function n(e){return!!this[0]&&this[0].classList.contains(e)}function a(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var r=0;r<this.length;r+=1)void 0!==this[r]&&void 0!==this[r].classList&&this[r].classList.toggle(t[i]);return this}function s(e,t){var i=arguments;{if(1!==arguments.length||"string"!=typeof e){for(var r=0;r<this.length;r+=1)if(2===i.length)this[r].setAttribute(e,t);else for(var n in e)this[r][n]=e[n],this[r].setAttribute(n,e[n]);return this}if(this[0])return this[0].getAttribute(e)}}function o(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function l(e,t){var i;{if(void 0!==t){for(var r=0;r<this.length;r+=1)i=this[r],i.dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var n=i.getAttribute("data-"+e);if(n)return n;return}}}function d(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this}function u(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this}function c(){function t(t){var i=t.target;if(i){var r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),e(i).is(o))l.apply(i,r);else for(var n=e(i).parents(),a=0;a<n.length;a+=1)e(n[a]).is(o)&&l.apply(n[a],r)}}function i(e){var t=e&&e.target?e.target.dom7EventData||[]:[];t.indexOf(e)<0&&t.unshift(e),l.apply(this,t)}for(var r,n=[],a=arguments.length;a--;)n[a]=arguments[a];var s=n[0],o=n[1],l=n[2],d=n[3];"function"==typeof n[1]&&(r=n,s=r[0],l=r[1],d=r[2],o=void 0),d||(d=!1);for(var u,c=s.split(" "),p=0;p<this.length;p+=1){var f=this[p];if(o)for(u=0;u<c.length;u+=1){var h=c[u];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[h]||(f.dom7LiveListeners[h]=[]),f.dom7LiveListeners[h].push({listener:l,proxyListener:t}),f.addEventListener(h,t,d)}else for(u=0;u<c.length;u+=1){var v=c[u];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[v]||(f.dom7Listeners[v]=[]),f.dom7Listeners[v].push({listener:l,proxyListener:i}),f.addEventListener(v,i,d)}}return this}function p(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var r=t[0],n=t[1],a=t[2],s=t[3];"function"==typeof t[1]&&(e=t,r=e[0],a=e[1],s=e[2],n=void 0),s||(s=!1);for(var o=r.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],u=0;u<this.length;u+=1){var c=this[u],p=void 0;if(!n&&c.dom7Listeners?p=c.dom7Listeners[d]:n&&c.dom7LiveListeners&&(p=c.dom7LiveListeners[d]),p&&p.length)for(var f=p.length-1;f>=0;f-=1){var h=p[f];a&&h.listener===a?(c.removeEventListener(d,h.proxyListener,s),p.splice(f,1)):a&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===a?(c.removeEventListener(d,h.proxyListener,s),p.splice(f,1)):a||(c.removeEventListener(d,h.proxyListener,s),p.splice(f,1))}}return this}function f(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=e[0].split(" "),r=e[1],n=0;n<i.length;n+=1)for(var a=i[n],s=0;s<this.length;s+=1){var o=this[s],l=void 0;try{l=new Ae.CustomEvent(a,{detail:r,bubbles:!0,cancelable:!0})}catch(e){l=Ie.createEvent("Event"),l.initEvent(a,!0,!0),l.detail=r}o.dom7EventData=e.filter(function(e,t){return t>0}),o.dispatchEvent(l),o.dom7EventData=[],delete o.dom7EventData}return this}function h(e){function t(a){if(a.target===this)for(e.call(this,a),i=0;i<r.length;i+=1)n.off(r[i],t)}var i,r=["webkitTransitionEnd","transitionend"],n=this;if(e)for(i=0;i<r.length;i+=1)n.on(r[i],t);return this}function v(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 m(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 g(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=Ie.body,r=e.clientTop||i.clientTop||0,n=e.clientLeft||i.clientLeft||0,a=e===Ae?Ae.scrollY:e.scrollTop,s=e===Ae?Ae.scrollX:e.scrollLeft;return{top:t.top+a-r,left:t.left+s-n}}return null}function b(){return this[0]?Ae.getComputedStyle(this[0],null):{}}function y(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var r in e)this[i].style[r]=e[r];return this}if(this[0])return Ae.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]=t;return this}return this}function w(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 x(e){if(void 0===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(void 0===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 E(t){var i,r,n=this[0];if(!n||void 0===t)return!1;if("string"==typeof t){if(n.matches)return n.matches(t);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(t);if(n.msMatchesSelector)return n.msMatchesSelector(t);for(i=e(t),r=0;r<i.length;r+=1)if(i[r]===n)return!0;return!1}if(t===Ie)return n===Ie;if(t===Ae)return n===Ae;if(t.nodeType||t instanceof De){for(i=t.nodeType?[t]:t,r=0;r<i.length;r+=1)if(i[r]===n)return!0;return!1}return!1}function T(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}}function S(e){if(void 0===e)return this;var t,i=this.length;return e>i-1?new De([]):e<0?(t=i+e,new De(t<0?[]:[this[t]])):new De([this[e]])}function M(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i,r=0;r<e.length;r+=1){i=e[r];for(var n=0;n<this.length;n+=1)if("string"==typeof i){var a=Ie.createElement("div");for(a.innerHTML=i;a.firstChild;)this[n].appendChild(a.firstChild)}else if(i instanceof De)for(var s=0;s<i.length;s+=1)this[n].appendChild(i[s]);else this[n].appendChild(i)}return this}function P(e){var t,i;for(t=0;t<this.length;t+=1)if("string"==typeof e){var r=Ie.createElement("div");for(r.innerHTML=e,i=r.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(r.childNodes[i],this[t].childNodes[0])}else if(e instanceof De)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function k(t){return new De(this.length>0?t?this[0].nextElementSibling&&e(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])}function _(t){var i=[],r=this[0];if(!r)return new De([]);for(;r.nextElementSibling;){var n=r.nextElementSibling;t?e(n).is(t)&&i.push(n):i.push(n),r=n}return new De(i)}function O(t){if(this.length>0){var i=this[0];return new De(t?i.previousElementSibling&&e(i.previousElementSibling).is(t)?[i.previousElementSibling]:[]:i.previousElementSibling?[i.previousElementSibling]:[])}return new De([])}function L(t){var i=[],r=this[0];if(!r)return new De([]);for(;r.previousElementSibling;){var n=r.previousElementSibling;t?e(n).is(t)&&i.push(n):i.push(n),r=n}return new De(i)}function z(i){for(var r=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(i?e(this[n].parentNode).is(i)&&r.push(this[n].parentNode):r.push(this[n].parentNode));return e(t(r))}function I(i){for(var r=[],n=0;n<this.length;n+=1)for(var a=this[n].parentNode;a;)i?e(a).is(i)&&r.push(a):r.push(a),a=a.parentNode;return e(t(r))}function A(e){var t=this;return void 0===e?new De([]):(t.is(e)||(t=t.parents(e).eq(0)),t)}function D(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(e),n=0;n<r.length;n+=1)t.push(r[n]);return new De(t)}function $(i){for(var r=[],n=0;n<this.length;n+=1)for(var a=this[n].childNodes,s=0;s<a.length;s+=1)i?1===a[s].nodeType&&e(a[s]).is(i)&&r.push(a[s]):1===a[s].nodeType&&r.push(a[s]);return new De(t(r))}function N(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function j(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];var r,n,a=this;for(r=0;r<t.length;r+=1){var s=e(t[r]);for(n=0;n<s.length;n+=1)a[a.length]=s[n],a.length+=1}return a}function B(){var e,t,i=this,r=i.$el;e=void 0!==i.params.width?i.params.width:r[0].clientWidth,t=void 0!==i.params.height?i.params.height:r[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(r.css("padding-left"),10)-parseInt(r.css("padding-right"),10),t=t-parseInt(r.css("padding-top"),10)-parseInt(r.css("padding-bottom"),10),Ne.extend(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function R(){var e=this,t=e.params,i=e.$wrapperEl,r=e.size,n=e.rtlTranslate,a=e.wrongRTL,s=e.virtual&&t.virtual.enabled,o=s?e.virtual.slides.length:e.slides.length,l=i.children("."+e.params.slideClass),d=s?e.virtual.slides.length:l.length,u=[],c=[],p=[],f=t.slidesOffsetBefore;"function"==typeof f&&(f=t.slidesOffsetBefore.call(e));var h=t.slidesOffsetAfter;"function"==typeof h&&(h=t.slidesOffsetAfter.call(e));var v=e.snapGrid.length,m=e.snapGrid.length,g=t.spaceBetween,b=-f,y=0,w=0;if(void 0!==r){"string"==typeof g&&g.indexOf("%")>=0&&(g=parseFloat(g.replace("%",""))/100*r),e.virtualSize=-g,n?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""});var x;t.slidesPerColumn>1&&(x=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(x=Math.max(x,t.slidesPerView*t.slidesPerColumn)));for(var C,E=t.slidesPerColumn,T=x/E,S=Math.floor(d/t.slidesPerColumn),M=0;M<d;M+=1){C=0;var P=l.eq(M);if(t.slidesPerColumn>1){var k=void 0,_=void 0,O=void 0;if("column"===t.slidesPerColumnFill||"row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){if("column"===t.slidesPerColumnFill)_=Math.floor(M/E),O=M-_*E,(_>S||_===S&&O===E-1)&&(O+=1)>=E&&(O=0,_+=1);else{var L=Math.floor(M/t.slidesPerGroup);O=Math.floor(M/t.slidesPerView)-L*t.slidesPerColumn,_=M-O*t.slidesPerView-L*t.slidesPerView}k=_+O*x/E,P.css({"-webkit-box-ordinal-group":k,"-moz-box-ordinal-group":k,"-ms-flex-order":k,"-webkit-order":k,order:k})}else O=Math.floor(M/T),_=M-O*T;P.css("margin-"+(e.isHorizontal()?"top":"left"),0!==O&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",_).attr("data-swiper-row",O)}if("none"!==P.css("display")){if("auto"===t.slidesPerView){var z=Ae.getComputedStyle(P[0],null),I=P[0].style.transform,A=P[0].style.webkitTransform;if(I&&(P[0].style.transform="none"),A&&(P[0].style.webkitTransform="none"),t.roundLengths)C=e.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0);else if(e.isHorizontal()){var D=parseFloat(z.getPropertyValue("width")),$=parseFloat(z.getPropertyValue("padding-left")),N=parseFloat(z.getPropertyValue("padding-right")),j=parseFloat(z.getPropertyValue("margin-left")),B=parseFloat(z.getPropertyValue("margin-right")),R=z.getPropertyValue("box-sizing");C=R&&"border-box"===R&&!Be.isIE?D+j+B:D+$+N+j+B}else{var H=parseFloat(z.getPropertyValue("height")),V=parseFloat(z.getPropertyValue("padding-top")),G=parseFloat(z.getPropertyValue("padding-bottom")),F=parseFloat(z.getPropertyValue("margin-top")),X=parseFloat(z.getPropertyValue("margin-bottom")),W=z.getPropertyValue("box-sizing");C=W&&"border-box"===W&&!Be.isIE?H+F+X:H+V+G+F+X}I&&(P[0].style.transform=I),A&&(P[0].style.webkitTransform=A),t.roundLengths&&(C=Math.floor(C))}else C=(r-(t.slidesPerView-1)*g)/t.slidesPerView,t.roundLengths&&(C=Math.floor(C)),l[M]&&(e.isHorizontal()?l[M].style.width=C+"px":l[M].style.height=C+"px");l[M]&&(l[M].swiperSlideSize=C),p.push(C),t.centeredSlides?(b=b+C/2+y/2+g,0===y&&0!==M&&(b=b-r/2-g),0===M&&(b=b-r/2-g),Math.abs(b)<.001&&(b=0),t.roundLengths&&(b=Math.floor(b)),w%t.slidesPerGroup==0&&u.push(b),c.push(b)):(t.roundLengths&&(b=Math.floor(b)),w%t.slidesPerGroup==0&&u.push(b),c.push(b),b=b+C+g),e.virtualSize+=C+g,y=C,w+=1}}e.virtualSize=Math.max(e.virtualSize,r)+h;var Y;if(n&&a&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),je.flexbox&&!t.setWrapperSize||(e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(C+t.spaceBetween)*x,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){Y=[];for(var q=0;q<u.length;q+=1){var U=u[q];t.roundLengths&&(U=Math.floor(U)),u[q]<e.virtualSize+u[0]&&Y.push(U)}u=Y}if(!t.centeredSlides){Y=[];for(var K=0;K<u.length;K+=1){var J=u[K];t.roundLengths&&(J=Math.floor(J)),u[K]<=e.virtualSize-r&&Y.push(J)}u=Y,Math.floor(e.virtualSize-r)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-r)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(e.isHorizontal()?n?l.css({marginLeft:g+"px"}):l.css({marginRight:g+"px"}):l.css({marginBottom:g+"px"})),t.centerInsufficientSlides){var Q=0;if(p.forEach(function(e){Q+=e+(t.spaceBetween?t.spaceBetween:0)}),(Q-=t.spaceBetween)<r){var Z=(r-Q)/2;u.forEach(function(e,t){u[t]=e-Z}),c.forEach(function(e,t){c[t]=e+Z})}}Ne.extend(e,{slides:l,snapGrid:u,slidesGrid:c,slidesSizesGrid:p}),d!==o&&e.emit("slidesLengthChange"),u.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),c.length!==m&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}}function H(e){var t,i=this,r=[],n=0;if("number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var a=i.activeIndex+t;if(a>i.slides.length)break;r.push(i.slides.eq(a)[0])}else r.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<r.length;t+=1)if(void 0!==r[t]){var s=r[t].offsetHeight;n=s>n?s:n}n&&i.$wrapperEl.css("height",n+"px")}function V(){for(var e=this,t=e.slides,i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop}function G(t){void 0===t&&(t=this&&this.translate||0);var i=this,r=i.params,n=i.slides,a=i.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&i.updateSlidesOffset();var s=-t;a&&(s=t),n.removeClass(r.slideVisibleClass),i.visibleSlidesIndexes=[],i.visibleSlides=[];for(var o=0;o<n.length;o+=1){var l=n[o],d=(s+(r.centeredSlides?i.minTranslate():0)-l.swiperSlideOffset)/(l.swiperSlideSize+r.spaceBetween);if(r.watchSlidesVisibility){var u=-(s-l.swiperSlideOffset),c=u+i.slidesSizesGrid[o];(u>=0&&u<i.size-1||c>1&&c<=i.size||u<=0&&c>=i.size)&&(i.visibleSlides.push(l),i.visibleSlidesIndexes.push(o),n.eq(o).addClass(r.slideVisibleClass))}l.progress=a?-d:d}i.visibleSlides=e(i.visibleSlides)}}function F(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,r=t.maxTranslate()-t.minTranslate(),n=t.progress,a=t.isBeginning,s=t.isEnd,o=a,l=s;0===r?(n=0,a=!0,s=!0):(n=(e-t.minTranslate())/r,a=n<=0,s=n>=1),Ne.extend(t,{progress:n,isBeginning:a,isEnd:s}),(i.watchSlidesProgress||i.watchSlidesVisibility)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!s)&&t.emit("fromEdge"),t.emit("progress",n)}function X(){var e=this,t=e.slides,i=e.params,r=e.$wrapperEl,n=e.activeIndex,a=e.realIndex,s=e.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass);var o;o=s?e.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+n+'"]'):t.eq(n),o.addClass(i.slideActiveClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(i.slideDuplicateActiveClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(i.slideDuplicateActiveClass));var l=o.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=t.eq(0),l.addClass(i.slideNextClass));var d=o.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=t.eq(-1),d.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))}function W(e){var t,i=this,r=i.rtlTranslate?i.translate:-i.translate,n=i.slidesGrid,a=i.snapGrid,s=i.params,o=i.activeIndex,l=i.realIndex,d=i.snapIndex,u=e;if(void 0===u){for(var c=0;c<n.length;c+=1)void 0!==n[c+1]?r>=n[c]&&r<n[c+1]-(n[c+1]-n[c])/2?u=c:r>=n[c]&&r<n[c+1]&&(u=c+1):r>=n[c]&&(u=c);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(t=a.indexOf(r)>=0?a.indexOf(r):Math.floor(u/s.slidesPerGroup),t>=a.length&&(t=a.length-1),u===o)return void(t!==d&&(i.snapIndex=t,i.emit("snapIndexChange")));var p=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);Ne.extend(i,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:u}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==p&&i.emit("realIndexChange"),(i.initialized||i.runCallbacksOnInit)&&i.emit("slideChange")}function Y(t){var i=this,r=i.params,n=e(t.target).closest("."+r.slideClass)[0],a=!1;if(n)for(var s=0;s<i.slides.length;s+=1)i.slides[s]===n&&(a=!0);if(!n||!a)return i.clickedSlide=void 0,void(i.clickedIndex=void 0);i.clickedSlide=n,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(e(n).attr("data-swiper-slide-index"),10):i.clickedIndex=e(n).index(),r.slideToClickedSlide&&void 0!==i.clickedIndex&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}function q(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,r=t.rtlTranslate,n=t.translate,a=t.$wrapperEl;if(i.virtualTranslate)return r?-n:n;var s=Ne.getTranslate(a[0],e);return r&&(s=-s),s||0}function U(e,t){var i=this,r=i.rtlTranslate,n=i.params,a=i.$wrapperEl,s=i.progress,o=0,l=0;i.isHorizontal()?o=r?-e:e:l=e,n.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),n.virtualTranslate||(je.transforms3d?a.transform("translate3d("+o+"px, "+l+"px, 0px)"):a.transform("translate("+o+"px, "+l+"px)")),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?o:l;var d,u=i.maxTranslate()-i.minTranslate();d=0===u?0:(e-i.minTranslate())/u,d!==s&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)}function K(){return-this.snapGrid[0]}function J(){return-this.snapGrid[this.snapGrid.length-1]}function Q(e,t){var i=this;i.$wrapperEl.transition(e),i.emit("setTransition",e,t)}function Z(e,t){void 0===e&&(e=!0);var i=this,r=i.activeIndex,n=i.params,a=i.previousIndex;n.autoHeight&&i.updateAutoHeight();var s=t;if(s||(s=r>a?"next":r<a?"prev":"reset"),i.emit("transitionStart"),e&&r!==a){if("reset"===s)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===s?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}function ee(e,t){void 0===e&&(e=!0);var i=this,r=i.activeIndex,n=i.previousIndex;i.animating=!1,i.setTransition(0);var a=t;if(a||(a=r>n?"next":r<n?"prev":"reset"),i.emit("transitionEnd"),e&&r!==n){if("reset"===a)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===a?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}function te(e,t,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var n=this,a=e;a<0&&(a=0);var s=n.params,o=n.snapGrid,l=n.slidesGrid,d=n.previousIndex,u=n.activeIndex,c=n.rtlTranslate;if(n.animating&&s.preventInteractionOnTransition)return!1;var p=Math.floor(a/s.slidesPerGroup);p>=o.length&&(p=o.length-1),(u||s.initialSlide||0)===(d||0)&&i&&n.emit("beforeSlideChangeStart");var f=-o[p];if(n.updateProgress(f),s.normalizeSlideIndex)for(var h=0;h<l.length;h+=1)-Math.floor(100*f)>=Math.floor(100*l[h])&&(a=h);if(n.initialized&&a!==u){if(!n.allowSlideNext&&f<n.translate&&f<n.minTranslate())return!1;if(!n.allowSlidePrev&&f>n.translate&&f>n.maxTranslate()&&(u||0)!==a)return!1}var v;return v=a>u?"next":a<u?"prev":"reset",c&&-f===n.translate||!c&&f===n.translate?(n.updateActiveIndex(a),s.autoHeight&&n.updateAutoHeight(),n.updateSlidesClasses(),"slide"!==s.effect&&n.setTranslate(f),"reset"!==v&&(n.transitionStart(i,v),n.transitionEnd(i,v)),!1):(0!==t&&je.transition?(n.setTransition(t),n.setTranslate(f),n.updateActiveIndex(a),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,r),n.transitionStart(i,v),n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(i,v))}),n.$wrapperEl[0].addEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onSlideToWrapperTransitionEnd))):(n.setTransition(0),n.setTranslate(f),n.updateActiveIndex(a),n.updateSlidesClasses(),n.emit("beforeTransitionStart",t,r),n.transitionStart(i,v),n.transitionEnd(i,v)),!0)}function ie(e,t,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var n=this,a=e;return n.params.loop&&(a+=n.loopedSlides),n.slideTo(a,t,i,r)}function re(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,n=r.params,a=r.animating;return n.loop?!a&&(r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft,r.slideTo(r.activeIndex+n.slidesPerGroup,e,t,i)):r.slideTo(r.activeIndex+n.slidesPerGroup,e,t,i)}function ne(e,t,i){function r(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,a=n.params,s=n.animating,o=n.snapGrid,l=n.slidesGrid,d=n.rtlTranslate;if(a.loop){if(s)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}var u,c=d?n.translate:-n.translate,p=r(c),f=o.map(function(e){return r(e)}),h=(l.map(function(e){return r(e)}),o[f.indexOf(p)],o[f.indexOf(p)-1]);return void 0!==h&&(u=l.indexOf(h))<0&&(u=n.activeIndex-1),n.slideTo(u,e,t,i)}function ae(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this;return r.slideTo(r.activeIndex,e,t,i)}function se(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var r=this,n=r.activeIndex,a=Math.floor(n/r.params.slidesPerGroup);if(a<r.snapGrid.length-1){var s=r.rtlTranslate?r.translate:-r.translate,o=r.snapGrid[a];s-o>(r.snapGrid[a+1]-o)/2&&(n=r.params.slidesPerGroup)}return r.slideTo(n,e,t,i)}function oe(){var t,i=this,r=i.params,n=i.$wrapperEl,a="auto"===r.slidesPerView?i.slidesPerViewDynamic():r.slidesPerView,s=i.clickedIndex;if(r.loop){if(i.animating)return;t=parseInt(e(i.clickedSlide).attr("data-swiper-slide-index"),10),r.centeredSlides?s<i.loopedSlides-a/2||s>i.slides.length-i.loopedSlides+a/2?(i.loopFix(),s=n.children("."+r.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),Ne.nextTick(function(){i.slideTo(s)})):i.slideTo(s):s>i.slides.length-a?(i.loopFix(),s=n.children("."+r.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),Ne.nextTick(function(){i.slideTo(s)})):i.slideTo(s)}else i.slideTo(s)}function le(){var t=this,i=t.params,r=t.$wrapperEl;r.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var n=r.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var a=i.slidesPerGroup-n.length%i.slidesPerGroup;if(a!==i.slidesPerGroup){for(var s=0;s<a;s+=1){var o=e(Ie.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);r.append(o)}n=r.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=n.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>n.length&&(t.loopedSlides=n.length);var l=[],d=[];n.each(function(i,r){var a=e(r);i<t.loopedSlides&&d.push(r),i<n.length&&i>=n.length-t.loopedSlides&&l.push(r),a.attr("data-swiper-slide-index",i)});for(var u=0;u<d.length;u+=1)r.append(e(d[u].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var c=l.length-1;c>=0;c-=1)r.prepend(e(l[c].cloneNode(!0)).addClass(i.slideDuplicateClass))}function de(){var e,t=this,i=t.params,r=t.activeIndex,n=t.slides,a=t.loopedSlides,s=t.allowSlidePrev,o=t.allowSlideNext,l=t.snapGrid,d=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var u=-l[r],c=u-t.getTranslate();if(r<a){e=n.length-3*a+r,e+=a;t.slideTo(e,0,!1,!0)&&0!==c&&t.setTranslate((d?-t.translate:t.translate)-c)}else if("auto"===i.slidesPerView&&r>=2*a||r>=n.length-a){e=-n.length+r+a,e+=a;var p=t.slideTo(e,0,!1,!0);p&&0!==c&&t.setTranslate((d?-t.translate:t.translate)-c)}t.allowSlidePrev=s,t.allowSlideNext=o}function ue(){var e=this,t=e.$wrapperEl,i=e.params,r=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}function ce(e){var t=this;if(!(je.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked)){var i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}}function pe(){var e=this;je.touch||e.params.watchOverflow&&e.isLocked||(e.el.style.cursor="")}function fe(e){var t=this,i=t.$wrapperEl,r=t.params;if(r.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var n=0;n<e.length;n+=1)e[n]&&i.append(e[n]);else i.append(e);r.loop&&t.loopCreate(),r.observer&&je.observer||t.update()}function he(e){var t=this,i=t.params,r=t.$wrapperEl,n=t.activeIndex;i.loop&&t.loopDestroy();var a=n+1;if("object"==typeof e&&"length"in e){for(var s=0;s<e.length;s+=1)e[s]&&r.prepend(e[s]);a=n+e.length}else r.prepend(e);i.loop&&t.loopCreate(),i.observer&&je.observer||t.update(),t.slideTo(a,0,!1)}function ve(e,t){var i=this,r=i.$wrapperEl,n=i.params,a=i.activeIndex,s=a;n.loop&&(s-=i.loopedSlides,i.loopDestroy(),i.slides=r.children("."+n.slideClass));var o=i.slides.length;if(e<=0)return void i.prependSlide(t);if(e>=o)return void i.appendSlide(t);for(var l=s>e?s+1:s,d=[],u=o-1;u>=e;u-=1){var c=i.slides.eq(u);c.remove(),d.unshift(c)}if("object"==typeof t&&"length"in t){for(var p=0;p<t.length;p+=1)t[p]&&r.append(t[p]);l=s>e?s+t.length:s}else r.append(t);for(var f=0;f<d.length;f+=1)r.append(d[f]);n.loop&&i.loopCreate(),n.observer&&je.observer||i.update(),n.loop?i.slideTo(l+i.loopedSlides,0,!1):i.slideTo(l,0,!1)}function me(e){var t=this,i=t.params,r=t.$wrapperEl,n=t.activeIndex,a=n;i.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.slides=r.children("."+i.slideClass));var s,o=a;if("object"==typeof e&&"length"in e){for(var l=0;l<e.length;l+=1)s=e[l],t.slides[s]&&t.slides.eq(s).remove(),s<o&&(o-=1);o=Math.max(o,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<o&&(o-=1),o=Math.max(o,0);i.loop&&t.loopCreate(),i.observer&&je.observer||t.update(),i.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function ge(){for(var e=this,t=[],i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}function be(t){var i=this,r=i.touchEventsData,n=i.params,a=i.touches;if(!i.animating||!n.preventInteractionOnTransition){var s=t;if(s.originalEvent&&(s=s.originalEvent),r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&s.button>0||r.isTouched&&r.isMoved)){if(n.noSwiping&&e(s.target).closest(n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass)[0])return void(i.allowClick=!0);if(!n.swipeHandler||e(s).closest(n.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var o=a.currentX,l=a.currentY,d=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,u=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(!d||!(o<=u||o>=Ae.screen.width-u)){if(Ne.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=o,a.startY=l,r.touchStartTime=Ne.now(),i.allowClick=!0,i.updateSize(),i.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==s.type){var c=!0;e(s.target).is(r.formElements)&&(c=!1),Ie.activeElement&&e(Ie.activeElement).is(r.formElements)&&Ie.activeElement!==s.target&&Ie.activeElement.blur();var p=c&&i.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||p)&&s.preventDefault()}i.emit("touchStart",s)}}}}}function ye(t){var i=this,r=i.touchEventsData,n=i.params,a=i.touches,s=i.rtlTranslate,o=t;if(o.originalEvent&&(o=o.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&i.emit("touchMoveOpposite",o));if(!r.isTouchEvent||"mousemove"!==o.type){var l="touchmove"===o.type?o.targetTouches[0].pageX:o.pageX,d="touchmove"===o.type?o.targetTouches[0].pageY:o.pageY;if(o.preventedByNestedSwiper)return a.startX=l,void(a.startY=d);if(!i.allowTouchMove)return i.allowClick=!1,void(r.isTouched&&(Ne.extend(a,{startX:l,startY:d,currentX:l,currentY:d}),r.touchStartTime=Ne.now()));if(r.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(i.isVertical()){if(d<a.startY&&i.translate<=i.maxTranslate()||d>a.startY&&i.translate>=i.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(l<a.startX&&i.translate<=i.maxTranslate()||l>a.startX&&i.translate>=i.minTranslate())return;if(r.isTouchEvent&&Ie.activeElement&&o.target===Ie.activeElement&&e(o.target).is(r.formElements))return r.isMoved=!0,void(i.allowClick=!1);if(r.allowTouchCallbacks&&i.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){a.currentX=l,a.currentY=d;var u=a.currentX-a.startX,c=a.currentY-a.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(c,2))<i.params.threshold)){if(void 0===r.isScrolling){var p;i.isHorizontal()&&a.currentY===a.startY||i.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:u*u+c*c>=25&&(p=180*Math.atan2(Math.abs(c),Math.abs(u))/Math.PI,r.isScrolling=i.isHorizontal()?p>n.touchAngle:90-p>n.touchAngle)}if(r.isScrolling&&i.emit("touchMoveOpposite",o),void 0===r.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(r.startMoving){i.allowClick=!1,o.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&o.stopPropagation(),r.isMoved||(n.loop&&i.loopFix(),r.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!n.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",o)),i.emit("sliderMove",o),r.isMoved=!0;var f=i.isHorizontal()?u:c;a.diff=f,f*=n.touchRatio,s&&(f=-f),i.swipeDirection=f>0?"prev":"next",r.currentTranslate=f+r.startTranslate;var h=!0,v=n.resistanceRatio;if(n.touchReleaseOnEdges&&(v=0),f>0&&r.currentTranslate>i.minTranslate()?(h=!1,n.resistance&&(r.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+r.startTranslate+f,v))):f<0&&r.currentTranslate<i.maxTranslate()&&(h=!1,n.resistance&&(r.currentTranslate=i.maxTranslate()+1-Math.pow(i.maxTranslate()-r.startTranslate-f,v))),h&&(o.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.threshold>0){if(!(Math.abs(f)>n.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,void(a.diff=i.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}n.followFinger&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&(0===r.velocities.length&&r.velocities.push({position:a[i.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:a[i.isHorizontal()?"currentX":"currentY"],time:Ne.now()})),i.updateProgress(r.currentTranslate),i.setTranslate(r.currentTranslate))}}}}}function we(e){var t=this,i=t.touchEventsData,r=t.params,n=t.touches,a=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&r.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);r.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u=Ne.now(),c=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap",d),c<300&&u-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=Ne.nextTick(function(){t&&!t.destroyed&&t.emit("click",d)},300)),c<300&&u-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",d))),i.lastClickTime=Ne.now(),Ne.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===n.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;var p;if(p=r.followFinger?a?t.translate:-t.translate:-i.currentTranslate,r.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(r.freeModeMomentum){if(i.velocities.length>1){var f=i.velocities.pop(),h=i.velocities.pop(),v=f.position-h.position,m=f.time-h.time;t.velocity=v/m,t.velocity/=2,Math.abs(t.velocity)<r.freeModeMinimumVelocity&&(t.velocity=0),(m>150||Ne.now()-f.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeModeMomentumVelocityRatio,i.velocities.length=0;var g=1e3*r.freeModeMomentumRatio,b=t.velocity*g,y=t.translate+b;a&&(y=-y);var w,x,C=!1,E=20*Math.abs(t.velocity)*r.freeModeMomentumBounceRatio;if(y<t.maxTranslate())r.freeModeMomentumBounce?(y+t.maxTranslate()<-E&&(y=t.maxTranslate()-E),w=t.maxTranslate(),C=!0,i.allowMomentumBounce=!0):y=t.maxTranslate(),r.loop&&r.centeredSlides&&(x=!0);else if(y>t.minTranslate())r.freeModeMomentumBounce?(y-t.minTranslate()>E&&(y=t.minTranslate()+E),w=t.minTranslate(),C=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),r.loop&&r.centeredSlides&&(x=!0);else if(r.freeModeSticky){for(var T,S=0;S<l.length;S+=1)if(l[S]>-y){T=S;break}y=Math.abs(l[T]-y)<Math.abs(l[T-1]-y)||"next"===t.swipeDirection?l[T]:l[T-1],y=-y}if(x&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)g=a?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(r.freeModeSticky)return void t.slideToClosest();r.freeModeMomentumBounce&&C?(t.updateProgress(w),t.setTransition(g),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,s.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(r.speed),t.setTranslate(w),s.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(y),t.setTransition(g),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,s.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(r.freeModeSticky)return void t.slideToClosest();return void((!r.freeModeMoment