text: (this["webpackJsonpbiorhythm-calculator"]=this["webpackJsonpbiorhythm-calculator"]||[]).push([[54],{420:function(e,t,i){"use strict";i.r(t),i.d(t,"Swiper",(function(){return G}));var a=i(2);function r(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function s(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(i){"undefined"===typeof e[i]?e[i]=t[i]:r(t[i])&&r(e[i])&&Object.keys(t[i]).length>0&&s(e[i],t[i])}))}var n="undefined"!==typeof document?document:{},o={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[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};s(n,o);var l="undefined"!==typeof window?window:{};s(l,{document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});var d=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function u(e,t){var i=[],a=0;if(e&&!t&&e instanceof d)return e;if(e)if("string"===typeof e){var r=void 0,s=void 0,o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var u="div";for(0===o.indexOf("<li")&&(u="ul"),0===o.indexOf("<tr")&&(u="tbody"),0!==o.indexOf("<td")&&0!==o.indexOf("<th")||(u="tr"),0===o.indexOf("<tbody")&&(u="table"),0===o.indexOf("<option")&&(u="select"),(s=n.createElement(u)).innerHTML=o,a=0;a<s.childNodes.length;a+=1)i.push(s.childNodes[a])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||n).querySelectorAll(e.trim()):[n.getElementById(e.trim().split("#")[1])],a=0;a<r.length;a+=1)r[a]&&i.push(r[a])}else if(e.nodeType||e===l||e===n)i.push(e);else if(e.length>0&&e[0].nodeType)for(a=0;a<e.length;a+=1)i.push(e[a]);return new d(i)}function p(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}u.fn=d.prototype,u.Class=d,u.Dom7=d;var c={addClass:function(e){if("undefined"===typeof e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var a=0;a<this.length;a+=1)"undefined"!==typeof this[a]&&"undefined"!==typeof this[a].classList&&this[a].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var a=0;a<this.length;a+=1)"undefined"!==typeof this[a]&&"undefined"!==typeof this[a].classList&&this[a].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var a=0;a<this.length;a+=1)"undefined"!==typeof this[a]&&"undefined"!==typeof this[a].classList&&this[a].classList.toggle(t[i]);return this},attr:function(e,t){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===arguments.length)this[i].setAttribute(e,t);else for(var a in e)this[i][a]=e[a],this[i].setAttribute(a,e[a]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if("undefined"!==typeof t){for(var a=0;a<this.length;a+=1)(i=this[a]).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 r=i.getAttribute("data-"+e);return r||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(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},on:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=e[0],a=e[1],r=e[2],s=e[3];function n(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),u(t).is(a))r.apply(t,i);else for(var s=u(t).parents(),n=0;n<s.length;n+=1)u(s[n]).is(a)&&r.apply(s[n],i)}}function o(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"===typeof e[1]&&(i=e[0],r=e[1],s=e[2],a=void 0),s||(s=!1);for(var l,d=i.split(" "),p=0;p<this.length;p+=1){var c=this[p];if(a)for(l=0;l<d.length;l+=1){h=d[l];c.dom7LiveListeners||(c.dom7LiveListeners={}),c.dom7LiveListeners[h]||(c.dom7LiveListeners[h]=[]),c.dom7LiveListeners[h].push({listener:r,proxyListener:n}),c.addEventListener(h,n,s)}else for(l=0;l<d.length;l+=1){var h=d[l];c.dom7Listeners||(c.dom7Listeners={}),c.dom7Listeners[h]||(c.dom7Listeners[h]=[]),c.dom7Listeners[h].push({listener:r,proxyListener:o}),c.addEventListener(h,o,s)}}return this},off:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=e[0],a=e[1],r=e[2],s=e[3];"function"===typeof e[1]&&(i=e[0],r=e[1],s=e[2],a=void 0),s||(s=!1);for(var n=i.split(" "),o=0;o<n.length;o+=1)for(var l=n[o],d=0;d<this.length;d+=1){var u=this[d],p=void 0;if(!a&&u.dom7Listeners?p=u.dom7Listeners[l]:a&&u.dom7LiveListeners&&(p=u.dom7LiveListeners[l]),p&&p.length)for(var c=p.length-1;c>=0;c-=1){var h=p[c];r&&h.listener===r||r&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===r?(u.removeEventListener(l,h.proxyListener,s),p.splice(c,1)):r||(u.removeEventListener(l,h.proxyListener,s),p.splice(c,1))}}return this},trigger:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i=e[0].split(" "),a=e[1],r=0;r<i.length;r+=1)for(var s=i[r],o=0;o<this.length;o+=1){var d=this[o],u=void 0;try{u=new l.CustomEvent(s,{detail:a,bubbles:!0,cancelable:!0})}catch(p){(u=n.createEvent("Event")).initEvent(s,!0,!0),u.detail=a}d.dom7EventData=e.filter((function(e,t){return t>0})),d.dispatchEvent(u),d.dom7EventData=[],delete d.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],a=this;function r(s){if(s.target===this)for(e.call(this,s),t=0;t<i.length;t+=1)a.off(i[t],r)}if(e)for(t=0;t<i.length;t+=1)a.on(i[t],r);return this},outerWidth:function(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},outerHeight:function(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},offset:function(){if(this.length>0){var e=this[0],t=e.getBoundingClientRect(),i=n.body,a=e.clientTop||i.clientTop||0,r=e.clientLeft||i.clientLeft||0,s=e===l?l.scrollY:e.scrollTop,o=e===l?l.scrollX:e.scrollLeft;return{top:t.top+s-a,left:t.left+o-r}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!==typeof e){for(i=0;i<this.length;i+=1)for(var a in e)this[i].style[a]=e[a];return this}if(this[0])return l.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},each:function(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},html:function(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},text:function(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},is:function(e){var t,i,a=this[0];if(!a||"undefined"===typeof e)return!1;if("string"===typeof e){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(t=u(e),i=0;i<t.length;i+=1)if(t[i]===a)return!0;return!1}if(e===n)return a===n;if(e===l)return a===l;if(e.nodeType||e instanceof d){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===a)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if("undefined"===typeof e)return this;var t,i=this.length;return new d(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];for(var a=0;a<t.length;a+=1){e=t[a];for(var r=0;r<this.length;r+=1)if("string"===typeof e){var s=n.createElement("div");for(s.innerHTML=e;s.firstChild;)this[r].appendChild(s.firstChild)}else if(e instanceof d)for(var o=0;o<e.length;o+=1)this[r].appendChild(e[o]);else this[r].appendChild(e)}return this},prepend:function(e){var t,i;for(t=0;t<this.length;t+=1)if("string"===typeof e){var a=n.createElement("div");for(a.innerHTML=e,i=a.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(a.childNodes[i],this[t].childNodes[0])}else if(e instanceof d)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},next:function(e){return this.length>0?e?this[0].nextElementSibling&&u(this[0].nextElementSibling).is(e)?new d([this[0].nextElementSibling]):new d([]):this[0].nextElementSibling?new d([this[0].nextElementSibling]):new d([]):new d([])},nextAll:function(e){var t=[],i=this[0];if(!i)return new d([]);for(;i.nextElementSibling;){var a=i.nextElementSibling;e?u(a).is(e)&&t.push(a):t.push(a),i=a}return new d(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&u(t.previousElementSibling).is(e)?new d([t.previousElementSibling]):new d([]):t.previousElementSibling?new d([t.previousElementSibling]):new d([])}return new d([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new d([]);for(;i.previousElementSibling;){var a=i.previousElementSibling;e?u(a).is(e)&&t.push(a):t.push(a),i=a}return new d(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?u(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return u(p(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].parentNode;a;)e?u(a).is(e)&&t.push(a):t.push(a),a=a.parentNode;return u(p(t))},closest:function(e){var t=this;return"undefined"===typeof e?new d([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return new d(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var a=this[i].childNodes,r=0;r<a.length;r+=1)e?1===a[r].nodeType&&u(a[r]).is(e)&&t.push(a[r]):1===a[r].nodeType&&t.push(a[r]);return new d(p(t))},filter:function(e){for(var t=[],i=this,a=0;a<i.length;a+=1)e.call(i[a],a,i[a])&&t.push(i[a]);return new d(t)},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i,a,r=this;for(i=0;i<e.length;i+=1){var s=u(e[i]);for(a=0;a<s.length;a+=1)r[r.length]=s[a],r.length+=1}return r},styles:function(){return this[0]?l.getComputedStyle(this[0],null):{}}};Object.keys(c).forEach((function(e){u.fn[e]=u.fn[e]||c[e]}));var h={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(i){}try{delete t[e]}catch(i){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){var i,a,r;void 0===t&&(t="x");var s=l.getComputedStyle(e,null);return l.WebKitCSSMatrix?((a=s.transform||s.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new l.WebKitCSSMatrix("none"===a?"":a)):i=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(a=l.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=l.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0},parseUrlQuery:function(e){var t,i,a,r,s={},n=e||l.location.href;if("string"===typeof n&&n.length)for(i=(n=n.indexOf("?")>-1?n.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e})),r=i.length,t=0;t<r;t+=1)a=i[t].replace(/#\S+/g,"").split("="),s[decodeURIComponent(a[0])]="undefined"===typeof a[1]?void 0:decodeURIComponent(a[1])||"";return s},isObject:function(e){return"object"===typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i=Object(e[0]),a=["__proto__","constructor","prototype"],r=1;r<e.length;r+=1){var s=e[r];if(void 0!==s&&null!==s)for(var n=Object.keys(Object(s)).filter((function(e){return a.indexOf(e)<0})),o=0,l=n.length;o<l;o+=1){var d=n[o],u=Object.getOwnPropertyDescriptor(s,d);void 0!==u&&u.enumerable&&(h.isObject(i[d])&&h.isObject(s[d])?h.extend(i[d],s[d]):!h.isObject(i[d])&&h.isObject(s[d])?(i[d]={},h.extend(i[d],s[d])):i[d]=s[d])}}return i}},v={touch:!!("ontouchstart"in l||l.DocumentTouch&&n instanceof l.DocumentTouch),pointerEvents:!!l.PointerEvent&&"maxTouchPoints"in l.navigator&&l.navigator.maxTouchPoints>=0,observer:"MutationObserver"in l||"WebkitMutationObserver"in l,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});l.addEventListener("testPassiveListener",null,t)}catch(i){}return e}(),gestures:"ongesturestart"in l},f=function(){function e(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])}))}return e.prototype.on=function(e,t,i){var a=this;if("function"!==typeof t)return a;var r=i?"unshift":"push";return e.split(" ").forEach((function(e){a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][r](t)})),a},e.prototype.once=function(e,t,i){var a=this;if("function"!==typeof t)return a;function r(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];a.off(e,r),r.f7proxy&&delete r.f7proxy,t.apply(a,i)}return r.f7proxy=t,a.on(e,r,i)},e.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(a,r){(a===t||a.f7proxy&&a.f7proxy===t)&&i.eventsListeners[e].splice(r,1)}))})),i):i},e.prototype.emit=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i,a,r,s=this;if(!s.eventsListeners)return s;"string"===typeof e[0]||Array.isArray(e[0])?(i=e[0],a=e.slice(1,e.length),r=s):(i=e[0].events,a=e[0].data,r=e[0].context||s);var n=Array.isArray(i)?i:i.split(" ");return n.forEach((function(e){if(s.eventsListeners&&s.eventsListeners[e]){var t=[];s.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(r,a)}))}})),s},e.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i];a.params&&h.extend(e,a.params)}))},e.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var a=t.modules[i],r=e[i]||{};a.instance&&Object.keys(a.instance).forEach((function(e){var i=a.instance[e];t[e]="function"===typeof i?i.bind(t):i})),a.on&&t.on&&Object.keys(a.on).forEach((function(e){t.on(e,a.on[e])})),a.create&&a.create.bind(t)(r)}))},Object.defineProperty(e,"components",{set:function(e){this.use&&this.use(e)},enumerable:!1,configurable:!0}),e.installModule=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var a=this;a.prototype.modules||(a.prototype.modules={});var r=e.name||Object.keys(a.prototype.modules).length+"_"+h.now();return a.prototype.modules[r]=e,e.proto&&Object.keys(e.proto).forEach((function(t){a.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){a[t]=e.static[t]})),e.install&&e.install.apply(a,t),a},e.use=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var r=this;return Array.isArray(e)?(e.forEach((function(e){return r.installModule(e)})),r):r.installModule.apply(r,Object(a.e)([e],t))},e}();var m={updateSize:function(){var e,t,i=this,a=i.$el;e="undefined"!==typeof i.params.width?i.params.width:a[0].clientWidth,t="undefined"!==typeof i.params.height?i.params.height:a[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(a.css("padding-left"),10)-parseInt(a.css("padding-right"),10),t=t-parseInt(a.css("padding-top"),10)-parseInt(a.css("padding-bottom"),10),h.extend(i,{width:e,height:t,size:i.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,i=e.$wrapperEl,a=e.size,r=e.rtlTranslate,s=e.wrongRTL,n=e.virtual&&t.virtual.enabled,o=n?e.virtual.slides.length:e.slides.length,d=i.children("."+e.params.slideClass),u=n?e.virtual.slides.length:d.length,p=[],c=[],v=[];function f(e){return!t.cssMode||e!==d.length-1}var m=t.slidesOffsetBefore;"function"===typeof m&&(m=t.slidesOffsetBefore.call(e));var g=t.slidesOffsetAfter;"function"===typeof g&&(g=t.slidesOffsetAfter.call(e));var b=e.snapGrid.length,w=e.snapGrid.length,y=t.spaceBetween,T=-m,E=0,S=0;if("undefined"!==typeof a){var x,C;"string"===typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*a),e.virtualSize=-y,r?d.css({marginLeft:"",marginTop:""}):d.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(x=Math.floor(u/t.slidesPerColumn)===u/e.params.slidesPerColumn?u:Math.ceil(u/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(x=Math.max(x,t.slidesPerView*t.slidesPerColumn)));for(var M,P=t.slidesPerColumn,k=x/P,z=Math.floor(u/t.slidesPerColumn),L=0;L<u;L+=1){C=0;var $=d.eq(L);if(t.slidesPerColumn>1){var D=void 0,O=void 0,I=void 0;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){var G=Math.floor(L/(t.slidesPerGroup*t.slidesPerColumn)),B=L-t.slidesPerColumn*t.slidesPerGroup*G,A=0===G?t.slidesPerGroup:Math.min(Math.ceil((u-G*P*t.slidesPerGroup)/P),t.slidesPerGroup);D=(O=B-(I=Math.floor(B/A))*A+G*t.slidesPerGroup)+I*x/P,$.css({"-webkit-box-ordinal-group":D,"-moz-box-ordinal-group":D,"-ms-flex-order":D,"-webkit-order":D,order:D})}else"column"===t.slidesPerColumnFill?(I=L-(O=Math.floor(L/P))*P,(O>z||O===z&&I===P-1)&&(I+=1)>=P&&(I=0,O+=1)):O=L-(I=Math.floor(L/k))*k;$.css("margin-"+(e.isHorizontal()?"top":"left"),0!==I&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==$.css("display")){if("auto"===t.slidesPerView){var X=l.getComputedStyle($[0],null),Y=$[0].style.transform,H=$[0].style.webkitTransform;if(Y&&($[0].style.transform="none"),H&&($[0].style.webkitTransform="none"),t.roundLengths)C=e.isHorizontal()?$.outerWidth(!0):$.outerHeight(!0);else if(e.isHorizontal()){var V=parseFloat(X.getPropertyValue("width")),W=parseFloat(X.getPropertyValue("padding-left")),N=parseFloat(X.getPropertyValue("padding-right")),F=parseFloat(X.getPropertyValue("margin-left")),R=parseFloat(X.getPropertyValue("margin-right"));C=(j=X.getPropertyValue("box-sizing"))&&"border-box"===j?V+F+R:V+W+N+F+R}else{var j,q=parseFloat(X.getPropertyValue("height")),U=parseFloat(X.getPropertyValue("padding-top")),_=parseFloat(X.getPropertyValue("padding-bottom")),K=parseFloat(X.getPropertyValue("margin-top")),J=parseFloat(X.getPropertyValue("margin-bottom"));C=(j=X.getPropertyValue("box-sizing"))&&"border-box"===j?q+K+J:q+U+_+K+J}Y&&($[0].style.transform=Y),H&&($[0].style.webkitTransform=H),t.roundLengths&&(C=Math.floor(C))}else C=(a-(t.slidesPerView-1)*y)/t.slidesPerView,t.roundLengths&&(C=Math.floor(C)),d[L]&&(e.isHorizontal()?d[L].style.width=C+"px":d[L].style.height=C+"px");d[L]&&(d[L].swiperSlideSize=C),v.push(C),t.centeredSlides?(T=T+C/2+E/2+y,0===E&&0!==L&&(T=T-a/2-y),0===L&&(T=T-a/2-y),Math.abs(T)<.001&&(T=0),t.roundLengths&&(T=Math.floor(T)),S%t.slidesPerGroup===0&&p.push(T),c.push(T)):(t.roundLengths&&(T=Math.floor(T)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&p.push(T),c.push(T),T=T+C+y),e.virtualSize+=C+y,E=C,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,r&&s&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),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)){M=[];for(L=0;L<p.length;L+=1){var Q=p[L];t.roundLengths&&(Q=Math.floor(Q)),p[L]<e.virtualSize+p[0]&&M.push(Q)}p=M}if(!t.centeredSlides){M=[];for(L=0;L<p.length;L+=1){Q=p[L];t.roundLengths&&(Q=Math.floor(Q)),p[L]<=e.virtualSize-a&&M.push(Q)}p=M,Math.floor(e.virtualSize-a)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-a)}if(0===p.length&&(p=[0]),0!==t.spaceBetween&&(e.isHorizontal()?r?d.filter(f).css({marginLeft:y+"px"}):d.filter(f).css({marginRight:y+"px"}):d.filter(f).css({marginBottom:y+"px"})),t.centeredSlides&&t.centeredSlidesBounds){var Z=0;v.forEach((function(e){Z+=e+(t.spaceBetween?t.spaceBetween:0)}));var ee=(Z-=t.spaceBetween)-a;p=p.map((function(e){return e<0?-m:e>ee?ee+g:e}))}if(t.centerInsufficientSlides){var te=0;if(v.forEach((function(e){te+=e+(t.spaceBetween?t.spaceBetween:0)})),(te-=t.spaceBetween)<a){var ie=(a-te)/2;p.forEach((function(e,t){p[t]=e-ie})),c.forEach((function(e,t){c[t]=e+ie}))}}h.extend(e,{slides:d,snapGrid:p,slidesGrid:c,slidesSizesGrid:v}),u!==o&&e.emit("slidesLengthChange"),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),c.length!==w&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=this,a=[],r=0;if("number"===typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&i.params.slidesPerView>1)if(i.params.centeredSlides)i.visibleSlides.each((function(e,t){a.push(t)}));else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var s=i.activeIndex+t;if(s>i.slides.length)break;a.push(i.slides.eq(s)[0])}else a.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<a.length;t+=1)if("undefined"!==typeof a[t]){var n=a[t].offsetHeight;r=n>r?n:r}r&&i.$wrapperEl.css("height",r+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,a=t.slides,r=t.rtlTranslate;if(0!==a.length){"undefined"===typeof a[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;r&&(s=e),a.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<a.length;n+=1){var o=a[n],l=(s+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight){var d=-(s-o.swiperSlideOffset),p=d+t.slidesSizesGrid[n];(d>=0&&d<t.size-1||p>1&&p<=t.size||d<=0&&p>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(n),a.eq(n).addClass(i.slideVisibleClass))}o.progress=r?-l:l}t.visibleSlides=u(t.visibleSlides)}},updateProgress:function(e){var t=this;if("undefined"===typeof e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var a=t.params,r=t.maxTranslate()-t.minTranslate(),s=t.progress,n=t.isBeginning,o=t.isEnd,l=n,d=o;0===r?(s=0,n=!0,o=!0):(n=(s=(e-t.minTranslate())/r)<=0,o=s>=1),h.extend(t,{progress:s,isBeginning:n,isEnd:o}),(a.watchSlidesProgress||a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),n&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!n||d&&!o)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e,t=this,i=t.slides,a=t.params,r=t.$wrapperEl,s=t.activeIndex,n=t.realIndex,o=t.virtual&&a.virtual.enabled;i.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+s+'"]'):i.eq(s)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?r.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+n+'"]').addClass(a.slideDuplicateActiveClass):r.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]').addClass(a.slideDuplicateActiveClass));var l=e.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=i.eq(0)).addClass(a.slideNextClass);var d=e.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=i.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?r.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass):r.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?r.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass):r.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this,a=i.rtlTranslate?i.translate:-i.translate,r=i.slidesGrid,s=i.snapGrid,n=i.params,o=i.activeIndex,l=i.realIndex,d=i.snapIndex,u=e;if("undefined"===typeof u){for(var p=0;p<r.length;p+=1)"undefined"!==typeof r[p+1]?a>=r[p]&&a<r[p+1]-(r[p+1]-r[p])/2?u=p:a>=r[p]&&a<r[p+1]&&(u=p+1):a>=r[p]&&(u=p);n.normalizeSlideIndex&&(u<0||"undefined"===typeof u)&&(u=0)}if(s.indexOf(a)>=0)t=s.indexOf(a);else{var c=Math.min(n.slidesPerGroupSkip,u);t=c+Math.floor((u-c)/n.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),u!==o){var v=parseInt(i.slides.eq(u).attr("data-swiper-slide-index")||u,10);h.extend(i,{snapIndex:t,realIndex:v,previousIndex:o,activeIndex:u}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==v&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==d&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,a=u(e.target).closest("."+i.slideClass)[0],r=!1;if(a)for(var s=0;s<t.slides.length;s+=1)t.slides[s]===a&&(r=!0);if(!a||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(u(a).attr("data-swiper-slide-index"),10):t.clickedIndex=u(a).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var g={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,i=t.params,a=t.rtlTranslate,r=t.translate,s=t.$wrapperEl;if(i.virtualTranslate)return a?-r:r;if(i.cssMode)return r;var n=h.getTranslate(s[0],e);return a&&(n=-n),n||0},setTranslate:function(e,t){var i=this,a=i.rtlTranslate,r=i.params,s=i.$wrapperEl,n=i.wrapperEl,o=i.progress,l=0,d=0;i.isHorizontal()?l=a?-e:e:d=e,r.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),r.cssMode?n[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-l:-d:r.virtualTranslate||s.transform("translate3d("+l+"px, "+d+"px, 0px)"),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?l:d;var u=i.maxTranslate()-i.minTranslate();(0===u?0:(e-i.minTranslate())/u)!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,a,r){var s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===a&&(a=!0);var n=this,o=n.params,l=n.wrapperEl;if(n.animating&&o.preventInteractionOnTransition)return!1;var d,u=n.minTranslate(),p=n.maxTranslate();if(d=a&&e>u?u:a&&e<p?p:e,n.updateProgress(d),o.cssMode){var c=n.isHorizontal();return 0===t?l[c?"scrollLeft":"scrollTop"]=-d:l.scrollTo?l.scrollTo(((s={})[c?"left":"top"]=-d,s.behavior="smooth",s)):l[c?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(n.setTransition(0),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",t,r),n.emit("transitionEnd"))):(n.setTransition(t),n.setTranslate(d),i&&(n.emit("beforeTransitionStart",t,r),n.emit("transitionStart")),n.animating||(n.animating=!0,n.onTranslateToWrapperTransitionEnd||(n.onTranslateToWrapperTransitionEnd=function(e){n&&!n.destroyed&&e.target===this&&(n.$wrapperEl[0].removeEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].removeEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd),n.onTranslateToWrapperTransitionEnd=null,delete n.onTranslateToWrapperTransitionEnd,i&&n.emit("transitionEnd"))}),n.$wrapperEl[0].addEventListener("transitionend",n.onTranslateToWrapperTransitionEnd),n.$wrapperEl[0].addEventListener("webkitTransitionEnd",n.onTranslateToWrapperTransitionEnd))),!0}};var b={setTransition:function(e,t){var i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,r=i.params,s=i.previousIndex;if(!r.cssMode){r.autoHeight&&i.updateAutoHeight();var n=t;if(n||(n=a>s?"next":a<s?"prev":"reset"),i.emit("transitionStart"),e&&a!==s){if("reset"===n)return void i.emit("slideResetTransitionStart");i.emit("slideChangeTransitionStart"),"next"===n?i.emit("slideNextTransitionStart"):i.emit("slidePrevTransitionStart")}}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,r=i.previousIndex,s=i.params;if(i.animating=!1,!s.cssMode){i.setTransition(0);var n=t;if(n||(n=a>r?"next":a<r?"prev":"reset"),i.emit("transitionEnd"),e&&a!==r){if("reset"===n)return void i.emit("slideResetTransitionEnd");i.emit("slideChangeTransitionEnd"),"next"===n?i.emit("slideNextTransitionEnd"):i.emit("slidePrevTransitionEnd")}}}};var w={slideTo:function(e,t,i,a){var r;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var s=this,n=e;n<0&&(n=0);var o=s.params,l=s.snapGrid,d=s.slidesGrid,u=s.previousIndex,p=s.activeIndex,c=s.rtlTranslate,h=s.wrapperEl;if(s.animating&&o.preventInteractionOnTransition)return!1;var v=Math.min(s.params.slidesPerGroupSkip,n),f=v+Math.floor((n-v)/s.params.slidesPerGroup);f>=l.length&&(f=l.length-1),(p||o.initialSlide||0)===(u||0)&&i&&s.emit("beforeSlideChangeStart");var m,g=-l[f];if(s.updateProgress(g),o.normalizeSlideIndex)for(var b=0;b<d.length;b+=1)-Math.floor(100*g)>=Math.floor(100*d[b])&&(n=b);if(s.initialized&&n!==p){if(!s.allowSlideNext&&g<s.translate&&g<s.minTranslate())return!1;if(!s.allowSlidePrev&&g>s.translate&&g>s.maxTranslate()&&(p||0)!==n)return!1}if(m=n>p?"next":n<p?"prev":"reset",c&&-g===s.translate||!c&&g===s.translate)return s.updateActiveIndex(n),o.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==o.effect&&s.setTranslate(g),"reset"!==m&&(s.transitionStart(i,m),s.transitionEnd(i,m)),!1;if(o.cssMode){var w=s.isHorizontal(),y=-g;return c&&(y=h.scrollWidth-h.offsetWidth-y),0===t?h[w?"scrollLeft":"scrollTop"]=y:h.scrollTo?h.scrollTo(((r={})[w?"left":"top"]=y,r.behavior="smooth",r)):h[w?"scrollLeft":"scrollTop"]=y,!0}return 0===t?(s.setTransition(0),s.setTranslate(g),s.updateActiveIndex(n),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,m),s.transitionEnd(i,m)):(s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(n),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,a),s.transitionStart(i,m),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(i,m))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,i,a){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var r=this,s=e;return r.params.loop&&(s+=r.loopedSlides),r.slideTo(s,t,i,a)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,r=a.params,s=a.animating,n=a.activeIndex<r.slidesPerGroupSkip?1:r.slidesPerGroup;if(r.loop){if(s)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return a.slideTo(a.activeIndex+n,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var a=this,r=a.params,s=a.animating,n=a.snapGrid,o=a.slidesGrid,l=a.rtlTranslate;if(r.loop){if(s)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u=d(l?a.translate:-a.translate),p=n.map((function(e){return d(e)}));o.map((function(e){return d(e)})),n[p.indexOf(u)];var c,h=n[p.indexOf(u)-1];return"undefined"===typeof h&&r.cssMode&&n.forEach((function(e){!h&&u>=e&&(h=e)})),"undefined"!==typeof h&&(c=o.indexOf(h))<0&&(c=a.activeIndex-1),a.slideTo(c,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);var r=this,s=r.activeIndex,n=Math.min(r.params.slidesPerGroupSkip,s),o=n+Math.floor((s-n)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){l-(d=r.snapGrid[o])>(r.snapGrid[o+1]-d)*a&&(s+=r.params.slidesPerGroup)}else{var d,u=r.snapGrid[o-1];l-u<=((d=r.snapGrid[o])-u)*a&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(u(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?s<t.loopedSlides-r/2||s>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),s=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),h.nextTick((function(){t.slideTo(s)}))):t.slideTo(s):s>t.slides.length-r?(t.loopFix(),s=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),h.nextTick((function(){t.slideTo(s)}))):t.slideTo(s)}else t.slideTo(s)}};var y={loopCreate:function(){var e=this,t=e.params,i=e.$wrapperEl;i.children("."+t.slideClass+"."+t.slideDuplicateClass).remove();var a=i.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var r=t.slidesPerGroup-a.length%t.slidesPerGroup;if(r!==t.slidesPerGroup){for(var s=0;s<r;s+=1){var o=u(n.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);i.append(o)}a=i.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);var l=[],d=[];for(a.each((function(t,i){var r=u(i);t<e.loopedSlides&&d.push(i),t<a.length&&t>=a.length-e.loopedSlides&&l.push(i),r.attr("data-swiper-slide-index",t)})),s=0;s<d.length;s+=1)i.append(u(d[s].cloneNode(!0)).addClass(t.slideDuplicateClass));for(s=l.length-1;s>=0;s-=1)i.prepend(u(l[s].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,a=e.slides,r=e.loopedSlides,s=e.allowSlidePrev,n=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-o[i]-e.getTranslate();if(i<r)t=a.length-3*r+i,t+=r,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d);else if(i>=a.length-r){t=-a.length+i+r,t+=r,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=s,e.allowSlideNext=n,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),a.removeAttr("data-swiper-slide-index")}};var T={setGrabCursor:function(e){var t=this;if(!(v.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){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"}},unsetGrabCursor:function(){var e=this;v.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}};var E={appendSlide:function(e){var t=this,i=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(var r=0;r<e.length;r+=1)e[r]&&i.append(e[r]);else i.append(e);a.loop&&t.loopCreate(),a.observer&&v.observer||t.update()},prependSlide:function(e){var t=this,i=t.params,a=t.$wrapperEl,r=t.activeIndex;i.loop&&t.loopDestroy();var s=r+1;if("object"===typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&a.prepend(e[n]);s=r+e.length}else a.prepend(e);i.loop&&t.loopCreate(),i.observer&&v.observer||t.update(),t.slideTo(s,0,!1)},addSlide:function(e,t){var i=this,a=i.$wrapperEl,r=i.params,s=i.activeIndex;r.loop&&(s-=i.loopedSlides,i.loopDestroy(),i.slides=a.children("."+r.slideClass));var n=i.slides.length;if(e<=0)i.prependSlide(t);else if(e>=n)i.appendSlide(t);else{for(var o=s>e?s+1:s,l=[],d=n-1;d>=e;d-=1){var u=i.slides.eq(d);u.remove(),l.unshift(u)}if("object"===typeof t&&"length"in t){for(d=0;d<t.length;d+=1)t[d]&&a.append(t[d]);o=s>e?s+t.length:s}else a.append(t);for(d=0;d<l.length;d+=1)a.append(l[d]);r.loop&&i.loopCreate(),r.observer&&v.observer||i.update(),r.loop?i.slideTo(o+i.loopedSlides,0,!1):i.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,i=t.params,a=t.$wrapperEl,r=t.activeIndex;i.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children("."+i.slideClass));var s,n=r;if("object"===typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)s=e[o],t.slides[s]&&t.slides.eq(s).remove(),s<n&&(n-=1);n=Math.max(n,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<n&&(n-=1),n=Math.max(n,0);i.loop&&t.loopCreate(),i.observer&&v.observer||t.update(),i.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},S=function(){var e=l.navigator.platform,t=l.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,iphone:!1,ipod:!1,ipad:!1,edge:!1,ie:!1,firefox:!1,macos:!1,windows:!1,cordova:!(!l.cordova&&!l.phonegap),phonegap:!(!l.cordova&&!l.phonegap),electron:!1},a=l.screen.width,r=l.screen.height,s=t.match(/(Android);?[\s\/]+([\d.]+)?/),n=t.match(/(iPad).*OS\s([\d_]+)/),o=t.match(/(iPod)(.*OS\s([\d_]+))?/),d=!n&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u=t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0,p=t.indexOf("Edge/")>=0,c=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,h="Win32"===e,f=t.toLowerCase().indexOf("electron")>=0,m="MacIntel"===e;return!n&&m&&v.touch&&(1024===a&&1366===r||834===a&&1194===r||834===a&&1112===r||768===a&&1024===r)&&(n=t.match(/(Version)\/([\d.]+)/),m=!1),i.ie=u,i.edge=p,i.firefox=c,s&&!h&&(i.os="android",i.osVersion=s[2],i.android=!0,i.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(n||d||o)&&(i.os="ios",i.ios=!0),d&&!o&&(i.osVersion=d[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.ipod=!0),i.ios&&i.osVersion&&t.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),i.webView=!(!(d||n||o)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!l.navigator.standalone)||l.matchMedia&&l.matchMedia("(display-mode: standalone)").matches,i.webview=i.webView,i.standalone=i.webView,i.desktop=!(i.ios||i.android)||f,i.desktop&&(i.electron=f,i.macos=m,i.windows=h,i.macos&&(i.os="macos"),i.windows&&(i.os="windows")),i.pixelRatio=l.devicePixelRatio||1,i}();function x(e){var t=this,i=t.touchEventsData,a=t.params,r=t.touches;if(!t.animating||!a.preventInteractionOnTransition){var s=e;s.originalEvent&&(s=s.originalEvent);var o=u(s.target);if(("wrapper"!==a.touchEventsTarget||o.closest(t.wrapperEl).length)&&(i.isTouchEvent="touchstart"===s.type,(i.isTouchEvent||!("which"in s)||3!==s.which)&&!(!i.isTouchEvent&&"button"in s&&s.button>0)&&(!i.isTouched||!i.isMoved)))if(a.noSwiping&&o.closest(a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass)[0])t.allowClick=!0;else if(!a.swipeHandler||o.closest(a.swipeHandler)[0]){r.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,r.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var d=r.currentX,p=r.currentY,c=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,v=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!c||!(d<=v||d>=l.screen.width-v)){if(h.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=d,r.startY=p,i.touchStartTime=h.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==s.type){var f=!0;o.is(i.formElements)&&(f=!1),n.activeElement&&u(n.activeElement).is(i.formElements)&&n.activeElement!==o[0]&&n.activeElement.blur();var m=f&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||m)&&s.preventDefault()}t.emit("touchStart",s)}}}}function C(e){var t=this,i=t.touchEventsData,a=t.params,r=t.touches,s=t.rtlTranslate,o=e;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===o.type){var l="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),d="touchmove"===o.type?l.pageX:o.pageX,p="touchmove"===o.type?l.pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=d,void(r.startY=p);if(!t.allowTouchMove)return t.allowClick=!1,void(i.isTouched&&(h.extend(r,{startX:d,startY:p,currentX:d,currentY:p}),i.touchStartTime=h.now()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(p<r.startY&&t.translate<=t.maxTranslate()||p>r.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(d<r.startX&&t.translate<=t.maxTranslate()||d>r.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&n.activeElement&&o.target===n.activeElement&&u(o.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=d,r.currentY=p;var c=r.currentX-r.startX,v=r.currentY-r.startY;if(!(t.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(v,2))<t.params.threshold)){if("undefined"===typeof i.isScrolling){var f=void 0;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:c*c+v*v>=25&&(f=180*Math.atan2(Math.abs(v),Math.abs(c))/Math.PI,i.isScrolling=t.isHorizontal()?f>a.touchAngle:90-f>a.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",o),"undefined"===typeof i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){t.allowClick=!1,!a.cssMode&&o.cancelable&&o.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&o.stopPropagation(),i.isMoved||(a.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!a.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",o)),t.emit("sliderMove",o),i.isMoved=!0;var m=t.isHorizontal()?c:v;r.diff=m,m*=a.touchRatio,s&&(m=-m),t.swipeDirection=m>0?"prev":"next",i.currentTranslate=m+i.startTranslate;var g=!0,b=a.resistanceRatio;if(a.touchReleaseOnEdges&&(b=0),m>0&&i.currentTranslate>t.minTranslate()?(g=!1,a.resistance&&(i.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+i.startTranslate+m,b))):m<0&&i.currentTranslate<t.maxTranslate()&&(g=!1,a.resistance&&(i.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-i.startTranslate-m,b))),g&&(o.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(m)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[t.isHorizontal()?"currentX":"currentY"],time:h.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}}}}}else i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",o)}function M(e){var t=this,i=t.touchEventsData,a=t.params,r=t.touches,s=t.rtlTranslate,n=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&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,p=h.now(),c=p-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),c<300&&p-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=h.now(),h.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=a.followFinger?s?t.translate:-t.translate:-i.currentTranslate,!a.cssMode)if(a.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(a.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),f=i.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<a.freeModeMinimumVelocity&&(t.velocity=0),(g>150||h.now()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,i.velocities.length=0;var b=1e3*a.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;s&&(y=-y);var T,E=!1,S=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio,x=void 0;if(y<t.maxTranslate())a.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),T=t.maxTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.maxTranslate(),a.loop&&a.centeredSlides&&(x=!0);else if(y>t.minTranslate())a.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),T=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),a.loop&&a.centeredSlides&&(x=!0);else if(a.freeModeSticky){for(var C=void 0,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(x&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity){if(b=s?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity),a.freeModeSticky){var P=Math.abs((s?-y:y)-t.translate),k=t.slidesSizesGrid[t.activeIndex];b=P<k?a.speed:P<2*k?1.5*a.speed:2.5*a.speed}}else if(a.freeModeSticky)return void t.slideToClosest();a.freeModeMomentumBounce&&E?(t.updateProgress(T),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),setTimeout((function(){t.setTranslate(T),n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(a.freeModeSticky)return void t.slideToClosest();(!a.freeModeMomentum||c>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var z=0,L=t.slidesSizesGrid[0],$=0;$<o.length;$+=$<a.slidesPerGroupSkip?1:a.slidesPerGroup){var D=$<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;"undefined"!==typeof o[$+D]?u>=o[$]&&u<o[$+D]&&(z=$,L=o[$+D]-o[$]):u>=o[$]&&(z=$,L=o[o.length-1]-o[o.length-2])}var O=(u-o[z])/L,I=z<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(c>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(O>=a.longSwipesRatio?t.slideTo(z+I):t.slideTo(z)),"prev"===t.swipeDirection&&(O>1-a.longSwipesRatio?t.slideTo(z+I):t.slideTo(z))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(z+I):t.slideTo(z):("next"===t.swipeDirection&&t.slideTo(z+I),"prev"===t.swipeDirection&&t.slideTo(z))}}}function P(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var a=e.allowSlideNext,r=e.allowSlidePrev,s=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),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=r,e.allowSlideNext=a,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}}function k(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function z(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var a=e.maxTranslate()-e.minTranslate();(0===a?0:(e.translate-e.minTranslate())/a)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}var L=!1;function $(){}var D={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},O={update:m,translate:g,transition:b,slide:w,loop:y,grabCursor:T,manipulation:E,events:{attachEvents:function(){var e=this,t=e.params,i=e.touchEvents,a=e.el,r=e.wrapperEl;e.onTouchStart=x.bind(e),e.onTouchMove=C.bind(e),e.onTouchEnd=M.bind(e),t.cssMode&&(e.onScroll=z.bind(e)),e.onClick=k.bind(e);var s=!!t.nested;if(!v.touch&&v.pointerEvents)a.addEventListener(i.start,e.onTouchStart,!1),n.addEventListener(i.move,e.onTouchMove,s),n.addEventListener(i.end,e.onTouchEnd,!1);else{if(v.touch){var o=!("touchstart"!==i.start||!v.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(i.start,e.onTouchStart,o),a.addEventListener(i.move,e.onTouchMove,v.passiveListener?{passive:!1,capture:s}:s),a.addEventListener(i.end,e.onTouchEnd,o),i.cancel&&a.addEventListener(i.cancel,e.onTouchEnd,o),L||(n.addEventListener("touchstart",$),L=!0)}(t.simulateTouch&&!S.ios&&!S.android||t.simulateTouch&&!v.touch&&S.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),n.addEventListener("mousemove",e.onTouchMove,s),n.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),t.cssMode&&r.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(S.ios||S.android?"resize orientationchange observerUpdate":"resize observerUpdate",P,!0):e.on("observerUpdate",P,!0)},detachEvents:function(){var e=this,t=e.params,i=e.touchEvents,a=e.el,r=e.wrapperEl,s=!!t.nested;if(!v.touch&&v.pointerEvents)a.removeEventListener(i.start,e.onTouchStart,!1),n.removeEventListener(i.move,e.onTouchMove,s),n.removeEventListener(i.end,e.onTouchEnd,!1);else{if(v.touch){var o=!("onTouchStart"!==i.start||!v.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(i.start,e.onTouchStart,o),a.removeEventListener(i.move,e.onTouchMove,s),a.removeEventListener(i.end,e.onTouchEnd,o),i.cancel&&a.removeEventListener(i.cancel,e.onTouchEnd,o)}(t.simulateTouch&&!S.ios&&!S.android||t.simulateTouch&&!v.touch&&S.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),n.removeEventListener("mousemove",e.onTouchMove,s),n.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),t.cssMode&&r.removeEventListener("scroll",e.onScroll),e.off(S.ios||S.android?"resize orientationchange observerUpdate":"resize observerUpdate",P)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,a=e.loopedSlides,r=void 0===a?0:a,s=e.params,n=e.$el,o=s.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(e){var t=d[e];"undefined"!==typeof t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var u=d||e.originalParams,p=s.slidesPerColumn>1,c=u.slidesPerColumn>1;p&&!c?n.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"):!p&&c&&(n.addClass(s.containerModifierClass+"multirow"),"column"===u.slidesPerColumnFill&&n.addClass(s.containerModifierClass+"multirow-column"));var v=u.direction&&u.direction!==s.direction,f=s.loop&&(u.slidesPerView!==s.slidesPerView||v);v&&i&&e.changeDirection(),h.extend(e.params,u),h.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,f&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}},getBreakpoint:function(e){if(e){var t=!1,i=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:l.innerHeight*t,point:e}}return{value:e,point:e}}));i.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var a=0;a<i.length;a+=1){var r=i[a],s=r.point;r.value<=l.innerWidth&&(t=s)}return t||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.params,i=e.isLocked,a=e.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&a?e.isLocked=a<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation.update())}},classes:{addClasses:function(){var e=this,t=e.classNames,i=e.params,a=e.rtl,r=e.$el,s=[];s.push("initialized"),s.push(i.direction),i.freeMode&&s.push("free-mode"),i.autoHeight&&s.push("autoheight"),a&&s.push("rtl"),i.slidesPerColumn>1&&(s.push("multirow"),"column"===i.slidesPerColumnFill&&s.push("multirow-column")),S.android&&s.push("android"),S.ios&&s.push("ios"),i.cssMode&&s.push("css-mode"),s.forEach((function(e){t.push(i.containerModifierClass+e)})),r.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,a,r,s){var n;function o(){s&&s()}u(e).parent("picture")[0]||e.complete&&r?o():t?((n=new l.Image).onload=o,n.onerror=o,a&&(n.sizes=a),i&&(n.srcset=i),t&&(n.src=t)):o()},preloadImages:function(){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 i=0;i<e.imagesToLoad.length;i+=1){var a=e.imagesToLoad[i];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}}},I={},G=function(e){function t(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var r,s,n=this;1===i.length&&i[0].constructor&&i[0].constructor===Object?s=i[0]:(r=i[0],s=i[1]),s||(s={}),s=h.extend({},s),r&&!s.el&&(s.el=r),n=e.call(this,s)||this,Object.keys(O).forEach((function(e){Object.keys(O[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=O[e][i])}))}));var o=n;"undefined"===typeof o.modules&&(o.modules={}),Object.keys(o.modules).forEach((function(e){var t=o.modules[e];if(t.params){var i=Object.keys(t.params)[0],a=t.params[i];if("object"!==typeof a||null===a)return;if(!(i in s)||!("enabled"in a))return;!0===s[i]&&(s[i]={enabled:!0}),"object"!==typeof s[i]||"enabled"in s[i]||(s[i].enabled=!0),s[i]||(s[i]={enabled:!1})}}));var l=h.extend({},D);o.useModulesParams(l),o.params=h.extend({},l,I,s),o.originalParams=h.extend({},o.params),o.passedParams=h.extend({},s),o.$=u;var d=u(o.params.el);if(r=d[0]){if(d.length>1){var p=[];return d.each((function(e,i){var a=h.extend({},s,{el:i});p.push(new t(a))})),p}var c;return r.swiper=o,d.data("swiper",o),r&&r.shadowRoot&&r.shadowRoot.querySelector?(c=u(r.shadowRoot.querySelector("."+o.params.wrapperClass))).children=function(e){return d.children(e)}:c=d.children("."+o.params.wrapperClass),h.extend(o,{$el:d,el:r,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:u(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===d.css("direction"),rtlTranslate:"horizontal"===o.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===d.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:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:function(){var e=["touchstart","touchmove","touchend","touchcancel"],t=["mousedown","mousemove","mouseup"];return v.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},o.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},v.touch||!o.params.simulateTouch?o.touchEventsTouch:o.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, label",lastClickTime:h.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.params.init&&o.init(),o}}return Object(a.b)(t,e),t.prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,a=e.slidesGrid,r=e.size,s=e.activeIndex,n=1;if(t.centeredSlides){for(var o=i[s].swiperSlideSize,l=void 0,d=s+1;d<i.length;d+=1)i[d]&&!l&&(n+=1,(o+=i[d].swiperSlideSize)>r&&(l=!0));for(d=s-1;d>=0;d-=1)i[d]&&!l&&(n+=1,(o+=i[d].swiperSlideSize)>r&&(l=!0))}else for(d=s+1;d<i.length;d+=1)a[d]-a[s]<r&&(n+=1);return n},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(a(),e.params.autoHeight&&e.updateAutoHeight()):(("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))||a(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+a).addClass(""+i.params.containerModifierClass+e),i.params.direction=e,i.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),i.emit("changeDirection"),t&&i.update()),i},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 i=this,a=i.params,r=i.$el,s=i.$wrapperEl,n=i.slides;return"undefined"===typeof i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),a.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),n&&n.length&&n.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),h.deleteProps(i)),i.destroyed=!0),null},t.extendDefaults=function(e){h.extend(I,e)},Object.defineProperty(t,"extendedDefaults",{get:function(){return I},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaults",{get:function(){return D},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Class",{get:function(){return f},enumerable:!1,configurable:!0}),Object.defineProperty(t,"$",{get:function(){return u},enumerable:!1,configurable:!0}),t}(f),B={name:"device",proto:{device:S},static:{device:S}},A={name:"support",proto:{support:v},static:{support:v}},X={isEdge:!!l.navigator.userAgent.match(/Edge/g),isSafari:function(){var e=l.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(l.navigator.userAgent)},Y={name:"browser",proto:{browser:X},static:{browser:X}},H={name:"resize",create:function(){var e=this;h.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(){l.addEventListener("resize",this.resize.resizeHandler),l.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){l.removeEventListener("resize",this.resize.resizeHandler),l.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},V={func:l.MutationObserver||l.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,a=new(0,V.func)((function(e){if(1!==e.length){var t=function(){i.emit("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)}else i.emit("observerUpdate",e[0])}));a.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),i.observer.observers.push(a)},init:function(){var e=this;if(v.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},W={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;h.extend(e,{observer:{init:V.init.bind(e),attach:V.attach.bind(e),destroy:V.destroy.bind(e),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},N={handle:function(e){var t=this,i=t.rtlTranslate,a=e;a.originalEvent&&(a=a.originalEvent);var r=a.keyCode||a.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===r||t.isVertical()&&40===r||34===r))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===r||t.isVertical()&&38===r||33===r))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey)&&(!n.activeElement||!n.activeElement.nodeName||"input"!==n.activeElement.nodeName.toLowerCase()&&"textarea"!==n.activeElement.nodeName.toLowerCase())){if(t.params.keyboard.onlyInViewport&&(33===r||34===r||37===r||39===r||38===r||40===r)){var s=!1;if(t.$el.parents("."+t.params.slideClass).length>0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var o=l.innerWidth,d=l.innerHeight,u=t.$el.offset();i&&(u.left-=t.$el[0].scrollLeft);for(var p=[[u.left,u.top],[u.left+t.width,u.top],[u.left,u.top+t.height],[u.left+t.width,u.top+t.height]],c=0;c<p.length;c+=1){var h=p[c];h[0]>=0&&h[0]<=o&&h[1]>=0&&h[1]<=d&&(s=!0)}if(!s)return}t.isHorizontal()?(33!==r&&34!==r&&37!==r&&39!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==r&&39!==r||i)&&(33!==r&&37!==r||!i)||t.slideNext(),(33!==r&&37!==r||i)&&(34!==r&&39!==r||!i)||t.slidePrev()):(33!==r&&34!==r&&38!==r&&40!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==r&&40!==r||t.slideNext(),33!==r&&38!==r||t.slidePrev()),t.emit("keyPress",r)}},enable:function(){var e=this;e.keyboard.enabled||(u(n).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this;e.keyboard.enabled&&(u(n).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},F={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var e=this;h.extend(e,{keyboard:{enabled:!1,enable:N.enable.bind(e),disable:N.disable.bind(e),handle:N.handle.bind(e)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}};var R={lastScrollTime:h.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return l.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e="onwheel",t=e in n;if(!t){var i=n.createElement("div");i.setAttribute(e,"return;"),t="function"===typeof i[e]}return!t&&n.implementation&&n.implementation.hasFeature&&!0!==n.implementation.hasFeature("","")&&(t=n.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,a=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),a=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=r,r=0),(a||r)&&e.deltaMode&&(1===e.deltaMode?(a*=40,r*=40):(a*=800,r*=800)),a&&!t&&(t=a<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:t,spinY:i,pixelX:a,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,a=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var r=i.$el;if("container"!==i.params.mousewheel.eventsTarged&&(r=u(i.params.mousewheel.eventsTarged)),!i.mouseEntered&&!r[0].contains(t.target)&&!a.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var s=0,n=i.rtlTranslate?-1:1,o=R.normalize(t);if(a.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;s=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;s=o.pixelY}else s=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===s)return!0;if(a.invert&&(s=-s),i.params.freeMode){var l={time:h.now(),delta:Math.abs(s),direction:Math.sign(s)},d=i.mousewheel.lastEventBeforeSnap,p=d&&l.time<d.time+500&&l.delta<=d.delta&&l.direction===d.direction;if(!p){i.mousewheel.lastEventBeforeSnap=void 0,i.params.loop&&i.loopFix();var c=i.getTranslate()+s*a.sensitivity,v=i.isBeginning,f=i.isEnd;if(c>=i.minTranslate()&&(c=i.minTranslate()),c<=i.maxTranslate()&&(c=i.maxTranslate()),i.setTransition(0),i.setTranslate(c),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!v&&i.isBeginning||!f&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var m=i.mousewheel.recentWheelEvents;m.length>=15&&m.shift();T=m.length?m[m.length-1]:void 0;var g=m[0];if(m.push(l),T&&(l.delta>T.delta||l.direction!==T.direction))m.splice(0);else if(m.length>=15&&l.time-g.time<500&&g.delta-l.delta>=1&&l.delta<=6){var b=s>0?.8:.2;i.mousewheel.lastEventBeforeSnap=l,m.splice(0),i.mousewheel.timeout=h.nextTick((function(){i.slideToClosest(i.params.speed,!0,void 0,b)}),0)}i.mousewheel.timeout||(i.mousewheel.timeout=h.nextTick((function(){i.mousewheel.lastEventBeforeSnap=l,m.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)}),500))}if(p||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),c===i.minTranslate()||c===i.maxTranslate())return!0}}else{var w={time:h.now(),delta:Math.abs(s),direction:Math.sign(s),raw:e},y=i.mousewheel.recentWheelEvents;y.length>=2&&y.shift();var T=y.length?y[y.length-1]:void 0;if(y.push(w),T?(w.direction!==T.direction||w.delta>T.delta||w.time>T.time+150)&&i.mousewheel.animateSlider(w):i.mousewheel.animateSlider(w),i.mousewheel.releaseScroll(w))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this;return e.delta>=6&&h.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new l.Date).getTime(),!1)},releaseScroll:function(e){var t=this,i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=R.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(i=u(e.params.mousewheel.eventsTarged)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=R.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(i=u(e.params.mousewheel.eventsTarged)),i.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},j={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a,r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,n=e.params.loop?Math.ceil((r-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((a=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>r-1-2*e.loopedSlides&&(a-=r-2*e.loopedSlides),a>n-1&&(a-=n),a<0&&"bullets"!==e.params.paginationType&&(a=n+a)):a="undefined"!==typeof e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d=e.pagination.bullets,p=void 0;if(i.dynamicBullets&&(e.pagination.bulletSize=d.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),s.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=a-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=a-e.pagination.dynamicBulletIndex,p=((l=o+(Math.min(d.length,i.dynamicMainBullets)-1))+o)/2),d.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),s.length>1)d.each((function(e,t){var r=u(t),s=r.index();s===a&&r.addClass(i.bulletActiveClass),i.dynamicBullets&&(s>=o&&s<=l&&r.addClass(i.bulletActiveClass+"-main"),s===o&&r.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),s===l&&r.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))}));else{var c=d.eq(a),h=c.index();if(c.addClass(i.bulletActiveClass),i.dynamicBullets){for(var v=d.eq(o),f=d.eq(l),m=o;m<=l;m+=1)d.eq(m).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(h>=d.length-i.dynamicMainBullets){for(m=i.dynamicMainBullets;m>=0;m-=1)d.eq(d.length-m).addClass(i.bulletActiveClass+"-main");d.eq(d.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var g=Math.min(d.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*g-e.pagination.bulletSize)/2-p*e.pagination.bulletSize,w=t?"right":"left";d.css(e.isHorizontal()?w:"top",b+"px")}}if("fraction"===i.type&&(s.find("."+i.currentClass).text(i.formatFractionCurrent(a+1)),s.find("."+i.totalClass).text(i.formatFractionTotal(n))),"progressbar"===i.type){var y=void 0;y=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var T=(a+1)/n,E=1,S=1;"horizontal"===y?E=T:S=T,s.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+E+") scaleY("+S+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(s.html(i.renderCustom(e,a+1,n)),e.emit("paginationRender",e,s[0])):e.emit("paginationUpdate",e,s[0]),s[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](i.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 i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el,r="";if("bullets"===t.type){for(var s=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,n=0;n<s;n+=1)t.renderBullet?r+=t.renderBullet.call(e,n,t.bulletClass):r+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";a.html(r),e.pagination.bullets=a.find("."+t.bulletClass)}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',a.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',a.html(r)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=u(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"===typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=u(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),h.extend(e.pagination,{$el:i,el:i[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 i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass)}}},q={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;h.extend(e,{pagination:{init:j.init.bind(e),render:j.render.bind(e),update:j.update.bind(e),destroy:j.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||"undefined"===typeof e.snapIndex)&&e.pagination.update()},snapIndexChange:function(){this.params.loop||this.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(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!u(e.target).hasClass(t.params.pagination.bulletClass)&&(!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass))}}},U={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=e.rtlTranslate,a=e.progress,r=t.dragSize,s=t.trackSize,n=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=r,u=(s-r)*a;i?(u=-u)>0?(d=r-u,u=0):-u+r>s&&(d=s+u):u<0?(d=r+u,u=0):u+r>s&&(d=s-u),e.isHorizontal()?(n.transform("translate3d("+u+"px, 0, 0)"),n[0].style.width=d+"px"):(n.transform("translate3d(0px, "+u+"px, 0)"),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,i=t.$dragEl,a=t.$el;i[0].style.width="",i[0].style.height="";var r,s=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,n=e.size/e.virtualSize,o=n*(s/e.size);r="auto"===e.params.scrollbar.dragSize?s*n:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=r+"px":i[0].style.height=r+"px",a[0].style.display=n>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),h.extend(t,{trackSize:s,divider:n,moveDivider:o,dragSize:r}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition:function(e){var t,i=this,a=i.scrollbar,r=i.rtlTranslate,s=a.$el,n=a.dragSize,o=a.trackSize,l=a.dragStartPos;t=(a.getPointerPosition(e)-s.offset()[i.isHorizontal()?"left":"top"]-(null!==l?l:n/2))/(o-n),t=Math.max(Math.min(t,1),0),r&&(t=1-t);var d=i.minTranslate()+(i.maxTranslate()-i.minTranslate())*t;i.updateProgress(d),i.setTranslate(d),i.updateActiveIndex(),i.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,a=t.scrollbar,r=t.$wrapperEl,s=a.$el,n=a.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===n[0]||e.target===n?a.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.transition(100),n.transition(100),a.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),i.hide&&s.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,i=t.scrollbar,a=t.$wrapperEl,r=i.$el,s=i.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,i.setDragPosition(e),a.transition(0),r.transition(0),s.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,a=t.scrollbar,r=t.$wrapperEl,s=a.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),r.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=h.nextTick((function(){s.css("opacity",0),s.transition(400)}),1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,i=e.touchEventsTouch,a=e.touchEventsDesktop,r=e.params,s=t.$el[0],o=!(!v.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},l=!(!v.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};v.touch?(s.addEventListener(i.start,e.scrollbar.onDragStart,o),s.addEventListener(i.move,e.scrollbar.onDragMove,o),s.addEventListener(i.end,e.scrollbar.onDragEnd,l)):(s.addEventListener(a.start,e.scrollbar.onDragStart,o),n.addEventListener(a.move,e.scrollbar.onDragMove,o),n.addEventListener(a.end,e.scrollbar.onDragEnd,l))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,i=e.touchEventsTouch,a=e.touchEventsDesktop,r=e.params,s=t.$el[0],o=!(!v.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},l=!(!v.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};v.touch?(s.removeEventListener(i.start,e.scrollbar.onDragStart,o),s.removeEventListener(i.move,e.scrollbar.onDragMove,o),s.removeEventListener(i.end,e.scrollbar.onDragEnd,l)):(s.removeEventListener(a.start,e.scrollbar.onDragStart,o),n.removeEventListener(a.move,e.scrollbar.onDragMove,o),n.removeEventListener(a.end,e.scrollbar.onDragEnd,l))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,i=e.$el,a=e.params.scrollbar,r=u(a.el);e.params.uniqueNavElements&&"string"===typeof a.el&&r.length>1&&1===i.find(a.el).length&&(r=i.find(a.el));var s=r.find("."+e.params.scrollbar.dragClass);0===s.length&&(s=u('<div class="'+e.params.scrollbar.dragClass+'"></div>'),r.append(s)),h.extend(t,{$el:r,el:r[0],$dragEl:s,dragEl:s[0]}),a.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},_={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;h.extend(e,{scrollbar:{init:U.init.bind(e),destroy:U.destroy.bind(e),updateSize:U.updateSize.bind(e),setTranslate:U.setTranslate.bind(e),setTransition:U.setTransition.bind(e),enableDraggable:U.enableDraggable.bind(e),disableDraggable:U.disableDraggable.bind(e),setDragPosition:U.setDragPosition.bind(e),getPointerPosition:U.getPointerPosition.bind(e),onDragStart:U.onDragStart.bind(e),onDragMove:U.onDragMove.bind(e),onDragEnd:U.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(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},K={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(a-t,2)+Math.pow(r-i,2))},onGestureStart:function(e){var t=this,i=t.params.zoom,a=t.zoom,r=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!v.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,r.scaleStart=K.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=u(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,a=i.gesture;if(!v.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,a.scaleMove=K.getDistanceBetweenTouches(e)}a.$imageEl&&0!==a.$imageEl.length&&(i.scale=v.gestures?e.scale*i.currentScale:a.scaleMove/a.scaleStart*i.currentScale,i.scale>a.maxRatio&&(i.scale=a.maxRatio-1+Math.pow(i.scale-a.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),a.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this,i=t.params.zoom,a=t.zoom,r=a.gesture;if(!v.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!S.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}r.$imageEl&&0!==r.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,r.maxRatio),i.minRatio),r.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(r.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,a=t.image;i.$imageEl&&0!==i.$imageEl.length&&(a.isTouched||(S.android&&e.cancelable&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,a.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,a=i.gesture,r=i.image,s=i.velocity;if(a.$imageEl&&0!==a.$imageEl.length&&(t.allowClick=!1,r.isTouched&&a.$slideEl)){r.isMoved||(r.width=a.$imageEl[0].offsetWidth,r.height=a.$imageEl[0].offsetHeight,r.startX=h.getTranslate(a.$imageWrapEl[0],"x")||0,r.startY=h.getTranslate(a.$imageWrapEl[0],"y")||0,a.slideWidth=a.$slideEl[0].offsetWidth,a.slideHeight=a.$slideEl[0].offsetHeight,a.$imageWrapEl.transition(0),t.rtl&&(r.startX=-r.startX,r.startY=-r.startY));var n=r.width*i.scale,o=r.height*i.scale;if(!(n<a.slideWidth&&o<a.slideHeight)){if(r.minX=Math.min(a.slideWidth/2-n/2,0),r.maxX=-r.minX,r.minY=Math.min(a.slideHeight/2-o/2,0),r.maxY=-r.minY,r.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!r.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(r.minX)===Math.floor(r.startX)&&r.touchesCurrent.x<r.touchesStart.x||Math.floor(r.maxX)===Math.floor(r.startX)&&r.touchesCurrent.x>r.touchesStart.x))return void(r.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.y<r.touchesStart.y||Math.floor(r.maxY)===Math.floor(r.startY)&&r.touchesCurrent.y>r.touchesStart.y))return void(r.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),r.isMoved=!0,r.currentX=r.touchesCurrent.x-r.touchesStart.x+r.startX,r.currentY=r.touchesCurrent.y-r.touchesStart.y+r.startY,r.currentX<r.minX&&(r.currentX=r.minX+1-Math.pow(r.minX-r.currentX+1,.8)),r.currentX>r.maxX&&(r.currentX=r.maxX-1+Math.pow(r.currentX-r.maxX+1,.8)),r.currentY<r.minY&&(r.currentY=r.minY+1-Math.pow(r.minY-r.currentY+1,.8)),r.currentY>r.maxY&&(r.currentY=r.maxY-1+Math.pow(r.currentY-r.maxY+1,.8)),s.prevPositionX||(s.prevPositionX=r.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=r.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(r.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(r.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(r.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(r.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=r.touchesCurrent.x,s.prevPositionY=r.touchesCurrent.y,s.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d("+r.currentX+"px, "+r.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var r=300,s=300,n=a.x*r,o=i.currentX+n,l=a.y*s,d=i.currentY+l;0!==a.x&&(r=Math.abs((o-i.currentX)/a.x)),0!==a.y&&(s=Math.abs((d-i.currentY)/a.y));var u=Math.max(r,s);i.currentX=o,i.currentY=d;var p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/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),t.$imageWrapEl.transition(u).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,a,r,s,n,o,l,d,u,p,c,h,v,f,m,g=this,b=g.zoom,w=g.params.zoom,y=b.gesture,T=b.image;(y.$slideEl||(g.params.virtual&&g.params.virtual.enabled&&g.virtual?y.$slideEl=g.$wrapperEl.children("."+g.params.slideActiveClass):y.$slideEl=g.slides.eq(g.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length)&&(y.$slideEl.addClass(""+w.zoomedSlideClass),"undefined"===typeof T.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=T.touchesStart.x,i=T.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(f=y.$slideEl[0].offsetWidth,m=y.$slideEl[0].offsetHeight,a=y.$slideEl.offset().left+f/2-t,r=y.$slideEl.offset().top+m/2-i,o=y.$imageEl[0].offsetWidth,l=y.$imageEl[0].offsetHeight,d=o*b.scale,u=l*b.scale,h=-(p=Math.min(f/2-d/2,0)),v=-(c=Math.min(m/2-u/2,0)),(s=a*b.scale)<p&&(s=p),s>h&&(s=h),(n=r*b.scale)<c&&(n=c),n>v&&(n=v)):(s=0,n=0),y.$imageWrapEl.transition(300).transform("translate3d("+s+"px, "+n+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,a=t.gesture;a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):a.$slideEl=e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+i.containerClass)),a.$imageEl&&0!==a.$imageEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass(""+i.zoomedSlideClass),a.$slideEl=void 0)},enable:function(){var e=this,t=e.zoom;if(!t.enabled){t.enabled=!0;var i=!("touchstart"!==e.touchEvents.start||!v.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!v.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;v.gestures?(e.$wrapperEl.on("gesturestart",r,t.onGestureStart,i),e.$wrapperEl.on("gesturechange",r,t.onGestureChange,i),e.$wrapperEl.on("gestureend",r,t.onGestureEnd,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,t.onGestureStart,i),e.$wrapperEl.on(e.touchEvents.move,r,t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,r,t.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,t.onGestureEnd,i)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){e.zoom.enabled=!1;var i=!("touchstart"!==e.touchEvents.start||!v.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!v.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;v.gestures?(e.$wrapperEl.off("gesturestart",r,t.onGestureStart,i),e.$wrapperEl.off("gesturechange",r,t.onGestureChange,i),e.$wrapperEl.off("gestureend",r,t.onGestureEnd,i)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,i),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,i),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,i)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}}},J={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(i){t[i]=K[i].bind(e)})),h.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var a=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,a,r)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.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()},slideChange:function(){var e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},Q={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=h.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")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()}),i)},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())))}},Z={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;h.extend(e,{autoplay:{running:!1,paused:!1,run:Q.run.bind(e),start:Q.start.bind(e),stop:Q.stop.bind(e),pause:Q.pause.bind(e),onVisibilityChange:function(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},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(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t){var i=this;i.autoplay.running&&(t||!i.params.autoplay.disableOnInteraction?i.autoplay.pause(e):i.autoplay.stop())},sliderFirstMove:function(){var e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(){var e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(){var e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},ee=[B,A,Y,H,W];"undefined"===typeof G.use&&(G.use=G.Class.use,G.installModule=G.Class.installModule),G.use(ee),G.use([q,_,Z,F,J])}}]);
  //# sourceMappingURL=54.ab4f281f.chunk.js.map