!function (e, t){
"object"==typeof exports&&"undefined"!=typeof module ? module.exports=t():"function"==typeof define&&define.amd ? define(t):(e=e||self).Swiper=t()
}(this, (function (){
"use strict";
function e(e){
return null!==e&&"object"==typeof e&&"constructor" in e&&e.constructor===Object
}
function t(i, s){
void 0===i&&(i={}), void 0===s&&(s={}), Object.keys(s).forEach((function (a){
void 0===i[a] ? i[a]=s[a]:e(s[a])&&e(i[a])&&Object.keys(s[a]).length > 0&&t(i[a], s[a])
}))
}
var i="undefined"!=typeof document ? document:{}, s={
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: ""}};
t(i, s);
var a="undefined"!=typeof window ? window:{};
t(a, {
document: s,
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 r=function (e){
for (var t=0; t < e.length; t +=1) this[t]=e[t];
return this.length=e.length, this
};
function n(e, t){
var s=[], n=0;
if(e&&!t&&e instanceof r) return e;
if(e) if("string"==typeof e){
var o, l, d=e.trim();
if(d.indexOf("<") >=0&&d.indexOf(">") >=0){
var h="div";
for (0===d.indexOf("<li")&&(h="ul"), 0===d.indexOf("<tr")&&(h="tbody"), 0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"), 0===d.indexOf("<tbody")&&(h="table"), 0===d.indexOf("<option")&&(h="select"), (l=i.createElement(h)).innerHTML=d, n=0; n < l.childNodes.length; n +=1) s.push(l.childNodes[n])
} else for (o=t||"#"!==e[0]||e.match(/[ .<>:~]/) ? (t||i).querySelectorAll(e.trim()):[i.getElementById(e.trim().split("#")[1])], n=0; n < o.length; n +=1) o[n]&&s.push(o[n])
}else if(e.nodeType||e===a||e===i) s.push(e); else if(e.length > 0&&e[0].nodeType) for (n=0; n < e.length; n +=1) s.push(e[n]);
return new r(s)
}
function o(e){
for (var t=[], i=0; i < e.length; i +=1) -1===t.indexOf(e[i])&&t.push(e[i]);
return t
}
n.fn=r.prototype, n.Class=r, n.Dom7=r;
var l={
addClass: function (e){
if(void 0===e) return this;
for (var t=e.split(" "), i=0; i < t.length; i +=1) for (var s=0; s < this.length; s +=1) void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);
return this
}, removeClass: function (e){
for (var t=e.split(" "), i=0; i < t.length; i +=1) for (var s=0; s < this.length; s +=1) void 0!==this[s]&&void 0!==this[s].classList&&this[s].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 s=0; s < this.length; s +=1) void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);
return this
}, attr: function (e, t){
var i=arguments;
if(1===arguments.length&&"string"==typeof e) return this[0] ? this[0].getAttribute(e):void 0;
for (var s=0; s < this.length; s +=1) if(2===i.length) this[s].setAttribute(e, t); else for (var a in e) this[s][a]=e[a], this[s].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(void 0!==t){
for (var s=0; s < this.length; s +=1) (i=this[s]).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 a=i.getAttribute("data-" + e);
return a||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=[], i=arguments.length; i--;) t[i]=arguments[i];
var s=t[0], a=t[1], r=t[2], o=t[3];
function l(e){
var t=e.target;
if(t){
var i=e.target.dom7EventData||[];
if(i.indexOf(e) < 0&&i.unshift(e), n(t).is(a)) r.apply(t, i); else for (var s=n(t).parents(), o=0; o < s.length; o +=1) n(s[o]).is(a)&&r.apply(s[o], i)
}}
function d(e){
var t=e&&e.target&&e.target.dom7EventData||[];
t.indexOf(e) < 0&&t.unshift(e), r.apply(this, t)
}
"function"==typeof t[1]&&(s=(e=t)[0], r=e[1], o=e[2], a=void 0), o||(o = !1);
for (var h, p=s.split(" "), c=0; c < this.length; c +=1){
var u=this[c];
if(a) for (h=0; h < p.length; h +=1){
var v=p[h];
u.dom7LiveListeners||(u.dom7LiveListeners={}), u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]), u.dom7LiveListeners[v].push({
listener: r,
proxyListener: l
}), u.addEventListener(v, l, o)
} else for (h=0; h < p.length; h +=1){
var f=p[h];
u.dom7Listeners||(u.dom7Listeners={}), u.dom7Listeners[f]||(u.dom7Listeners[f]=[]), u.dom7Listeners[f].push({
listener: r,
proxyListener: d
}), u.addEventListener(f, d, o)
}}
return this
}, off: function (){
for (var e, t=[], i=arguments.length; i--;) t[i]=arguments[i];
var s=t[0], a=t[1], r=t[2], n=t[3];
"function"==typeof t[1]&&(s=(e=t)[0], r=e[1], n=e[2], a=void 0), n||(n = !1);
for (var o=s.split(" "), l=0; l < o.length; l +=1) for (var d=o[l], h=0; h < this.length; h +=1){
var p=this[h], c=void 0;
if(!a&&p.dom7Listeners ? c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]), c&&c.length) for (var u=c.length - 1; u >=0; u -=1){
var v=c[u];
r&&v.listener===r||r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r ? (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1)):r||(p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1))
}}
return this
}, trigger: function (){
for (var e=[], t=arguments.length; t--;) e[t]=arguments[t];
for (var s=e[0].split(" "), r=e[1], n=0; n < s.length; n +=1) for (var o=s[n], l=0; l < this.length; l +=1){
var d=this[l], h=void 0;
try {
h=new a.CustomEvent(o, {detail: r, bubbles: !0, cancelable: !0})
} catch (e){
(h=i.createEvent("Event")).initEvent(o, !0, !0), h.detail=r
}
d.dom7EventData=e.filter((function (e, t){
return t > 0
})), d.dispatchEvent(h), d.dom7EventData=[], delete d.dom7EventData
}
return this
}, transitionEnd: function (e){
var t, i=["webkitTransitionEnd", "transitionend"], s=this;
function a(r){
if(r.target===this) for (e.call(this, r), t=0; t < i.length; t +=1) s.off(i[t], a)
}
if(e) for (t=0; t < i.length; t +=1) s.on(i[t], a);
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(), s=i.body, r=e.clientTop||s.clientTop||0,
n=e.clientLeft||s.clientLeft||0, o=e===a ? a.scrollY:e.scrollTop,
l=e===a ? a.scrollX:e.scrollLeft;
return {top: t.top + o - r, left: t.left + l - n}}
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 s in e) this[i].style[s]=e[s];
return this
}
if(this[0]) return a.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(void 0===e) return this[0] ? this[0].innerHTML:void 0;
for (var t=0; t < this.length; t +=1) this[t].innerHTML=e;
return this
}, text: function (e){
if(void 0===e) return this[0] ? this[0].textContent.trim():null;
for (var t=0; t < this.length; t +=1) this[t].textContent=e;
return this
}, is: function (e){
var t, s, o=this[0];
if(!o||void 0===e) return !1;
if("string"==typeof e){
if(o.matches) return o.matches(e);
if(o.webkitMatchesSelector) return o.webkitMatchesSelector(e);
if(o.msMatchesSelector) return o.msMatchesSelector(e);
for (t=n(e), s=0; s < t.length; s +=1) if(t[s]===o) return !0;
return !1
}
if(e===i) return o===i;
if(e===a) return o===a;
if(e.nodeType||e instanceof r){
for (t=e.nodeType ? [e]:e, s=0; s < t.length; s +=1) if(t[s]===o) 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(void 0===e) return this;
var t, i=this.length;
return new r(e > i - 1 ? []:e < 0 ? (t=i + e) < 0 ? []:[this[t]]:[this[e]])
}, append: function (){
for (var e, t=[], s=arguments.length; s--;) t[s]=arguments[s];
for (var a=0; a < t.length; a +=1){
e=t[a];
for (var n=0; n < this.length; n +=1) if("string"==typeof e){
var o=i.createElement("div");
for (o.innerHTML=e; o.firstChild;) this[n].appendChild(o.firstChild)
}else if(e instanceof r) for (var l=0; l < e.length; l +=1) this[n].appendChild(e[l]); else this[n].appendChild(e)
}
return this
}, prepend: function (e){
var t, s;
for (t=0; t < this.length; t +=1) if("string"==typeof e){
var a=i.createElement("div");
for (a.innerHTML=e, s=a.childNodes.length - 1; s >=0; s -=1) this[t].insertBefore(a.childNodes[s], this[t].childNodes[0])
}else if(e instanceof r) for (s=0; s < e.length; s +=1) this[t].insertBefore(e[s], 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&&n(this[0].nextElementSibling).is(e) ? new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling ? new r([this[0].nextElementSibling]):new r([]):new r([])
}, nextAll: function (e){
var t=[], i=this[0];
if(!i) return new r([]);
for (; i.nextElementSibling;){
var s=i.nextElementSibling;
e ? n(s).is(e)&&t.push(s):t.push(s), i=s
}
return new r(t)
}, prev: function (e){
if(this.length > 0){
var t=this[0];
return e ? t.previousElementSibling&&n(t.previousElementSibling).is(e) ? new r([t.previousElementSibling]):new r([]):t.previousElementSibling ? new r([t.previousElementSibling]):new r([])
}
return new r([])
}, prevAll: function (e){
var t=[], i=this[0];
if(!i) return new r([]);
for (; i.previousElementSibling;){
var s=i.previousElementSibling;
e ? n(s).is(e)&&t.push(s):t.push(s), i=s
}
return new r(t)
}, parent: function (e){
for (var t=[], i=0; i < this.length; i +=1) null!==this[i].parentNode&&(e ? n(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));
return n(o(t))
}, parents: function (e){
for (var t=[], i=0; i < this.length; i +=1) for (var s=this[i].parentNode; s;) e ? n(s).is(e)&&t.push(s):t.push(s), s=s.parentNode;
return n(o(t))
}, closest: function (e){
var t=this;
return void 0===e ? new r([]):(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 s=this[i].querySelectorAll(e), a=0; a < s.length; a +=1) t.push(s[a]);
return new r(t)
}, children: function (e){
for (var t=[], i=0; i < this.length; i +=1) for (var s=this[i].childNodes, a=0; a < s.length; a +=1) e ? 1===s[a].nodeType&&n(s[a]).is(e)&&t.push(s[a]):1===s[a].nodeType&&t.push(s[a]);
return new r(o(t))
}, filter: function (e){
for (var t=[], i=0; i < this.length; i +=1) e.call(this[i], i, this[i])&&t.push(this[i]);
return new r(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=arguments.length; t--;) e[t]=arguments[t];
var i, s, a=this;
for (i=0; i < e.length; i +=1){
var r=n(e[i]);
for (s=0; s < r.length; s +=1) a[a.length]=r[s], a.length +=1
}
return a
}, styles: function (){
return this[0] ? a.getComputedStyle(this[0], null):{}}
};
Object.keys(l).forEach((function (e){
n.fn[e]=n.fn[e]||l[e]
}));
var d={
deleteProps: function (e){
var t=e;
Object.keys(t).forEach((function (e){
try {
t[e]=null
} catch (e){
}
try {
delete t[e]
} catch (e){
}}))
}, nextTick: function (e, t){
return void 0===t&&(t=0), setTimeout(e, t)
}, now: function (){
return Date.now()
}, getTranslate: function (e, t){
var i, s, r;
void 0===t&&(t="x");
var n=a.getComputedStyle(e, null);
return a.WebKitCSSMatrix ? ((s=n.transform||n.webkitTransform).split(",").length > 6&&(s=s.split(", ").map((function (e){
return e.replace(",", ".")
})).join(", ")), r=new a.WebKitCSSMatrix("none"===s ? "":s)):i=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,")).toString().split(","), "x"===t&&(s=a.WebKitCSSMatrix ? r.m41:16===i.length ? parseFloat(i[12]):parseFloat(i[4])), "y"===t&&(s=a.WebKitCSSMatrix ? r.m42:16===i.length ? parseFloat(i[13]):parseFloat(i[5])), s||0
}, parseUrlQuery: function (e){
var t, i, s, r, n={}, o=e||a.location.href;
if("string"==typeof o&&o.length) for (r=(i=(o=o.indexOf("?") > -1 ? o.replace(/\S*\?/, ""):"").split("&").filter((function (e){
return ""!==e
}))).length, t=0; t < r; t +=1) s=i[t].replace(/#\S+/g, "").split("="), n[decodeURIComponent(s[0])]=void 0===s[1] ? void 0:decodeURIComponent(s[1])||"";
return n
}, isObject: function (e){
return "object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object
}, extend: function (){
for (var e=[], t=arguments.length; t--;) e[t]=arguments[t];
for (var i=Object(e[0]), s=1; s < e.length; s +=1){
var a=e[s];
if(null!=a) for (var r=Object.keys(Object(a)), n=0, o=r.length; n < o; n +=1){
var l=r[n], h=Object.getOwnPropertyDescriptor(a, l);
void 0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l]) ? d.extend(i[l], a[l]):!d.isObject(i[l])&&d.isObject(a[l]) ? (i[l]={}, d.extend(i[l], a[l])):i[l]=a[l])
}}
return i
}}, h={
touch: !!("ontouchstart" in a||a.DocumentTouch&&i instanceof a.DocumentTouch),
pointerEvents: !!a.PointerEvent&&"maxTouchPoints" in a.navigator&&a.navigator.maxTouchPoints >=0,
observer: "MutationObserver" in a||"WebkitMutationObserver" in a,
passiveListener: function (){
var e = !1;
try {
var t=Object.defineProperty({}, "passive", {
get: function (){
e = !0
}});
a.addEventListener("testPassiveListener", null, t)
} catch (e){
}
return e
}(),
gestures: "ongesturestart" in a
}, p=function (e){
void 0===e&&(e={});
var t=this;
t.params=e, t.eventsListeners={}, t.params&&t.params.on&&Object.keys(t.params.on).forEach((function (e){
t.on(e, t.params.on[e])
}))
}, c={components: {configurable: !0}};
p.prototype.on=function (e, t, i){
var s=this;
if("function"!=typeof t) return s;
var a=i ? "unshift":"push";
return e.split(" ").forEach((function (e){
s.eventsListeners[e]||(s.eventsListeners[e]=[]), s.eventsListeners[e][a](t)
})), s
}, p.prototype.once=function (e, t, i){
var s=this;
if("function"!=typeof t) return s;
function a(){
for (var i=[], r=arguments.length; r--;) i[r]=arguments[r];
s.off(e, a), a.f7proxy&&delete a.f7proxy, t.apply(s, i)
}
return a.f7proxy=t, s.on(e, a, i)
}, p.prototype.off=function (e, t){
var i=this;
return i.eventsListeners ? (e.split(" ").forEach((function (e){
void 0===t ? i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function (s, a){
(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a, 1)
}))
})), i):i
}, p.prototype.emit=function (){
for (var e=[], t=arguments.length; t--;) e[t]=arguments[t];
var i, s, a, r=this;
if(!r.eventsListeners) return r;
"string"==typeof e[0]||Array.isArray(e[0]) ? (i=e[0], s=e.slice(1, e.length), a=r):(i=e[0].events, s=e[0].data, a=e[0].context||r);
var n=Array.isArray(i) ? i:i.split(" ");
return n.forEach((function (e){
if(r.eventsListeners&&r.eventsListeners[e]){
var t=[];
r.eventsListeners[e].forEach((function (e){
t.push(e)
})), t.forEach((function (e){
e.apply(a, s)
}))
}})), r
}, p.prototype.useModulesParams=function (e){
var t=this;
t.modules&&Object.keys(t.modules).forEach((function (i){
var s=t.modules[i];
s.params&&d.extend(e, s.params)
}))
}, p.prototype.useModules=function (e){
void 0===e&&(e={});
var t=this;
t.modules&&Object.keys(t.modules).forEach((function (i){
var s=t.modules[i], a=e[i]||{};
s.instance&&Object.keys(s.instance).forEach((function (e){
var i=s.instance[e];
t[e]="function"==typeof i ? i.bind(t):i
})), s.on&&t.on&&Object.keys(s.on).forEach((function (e){
t.on(e, s.on[e])
})), s.create&&s.create.bind(t)(a)
}))
}, c.components.set=function (e){
this.use&&this.use(e)
}, p.installModule=function (e){
for (var t=[], i=arguments.length - 1; i-- > 0;) t[i]=arguments[i + 1];
var s=this;
s.prototype.modules||(s.prototype.modules={});
var a=e.name||Object.keys(s.prototype.modules).length + "_" + d.now();
return s.prototype.modules[a]=e, e.proto&&Object.keys(e.proto).forEach((function (t){
s.prototype[t]=e.proto[t]
})), e.static&&Object.keys(e.static).forEach((function (t){
s[t]=e.static[t]
})), e.install&&e.install.apply(s, t), s
}, p.use=function (e){
for (var t=[], i=arguments.length - 1; i-- > 0;) t[i]=arguments[i + 1];
var s=this;
return Array.isArray(e) ? (e.forEach((function (e){
return s.installModule(e)
})), s):s.installModule.apply(s, [e].concat(t))
}, Object.defineProperties(p, c);
var u={
updateSize: function (){
var e, t, i=this.$el;
e=void 0!==this.params.width ? this.params.width:i[0].clientWidth, t=void 0!==this.params.height ? this.params.height:i[0].clientHeight, 0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e - parseInt(i.css("padding-left"), 10) - parseInt(i.css("padding-right"), 10), t=t - parseInt(i.css("padding-top"), 10) - parseInt(i.css("padding-bottom"), 10), d.extend(this, {
width: e,
height: t,
size: this.isHorizontal() ? e:t
}))
}, updateSlides: function (){
var e=this.params, t=this.$wrapperEl, i=this.size, s=this.rtlTranslate, r=this.wrongRTL,
n=this.virtual&&e.virtual.enabled, o=n ? this.virtual.slides.length:this.slides.length,
l=t.children("." + this.params.slideClass), h=n ? this.virtual.slides.length:l.length, p=[],
c=[], u=[];
function v(t){
return !e.cssMode||t!==l.length - 1
}
var f=e.slidesOffsetBefore;
"function"==typeof f&&(f=e.slidesOffsetBefore.call(this));
var m=e.slidesOffsetAfter;
"function"==typeof m&&(m=e.slidesOffsetAfter.call(this));
var g=this.snapGrid.length, b=this.snapGrid.length, w=e.spaceBetween, y=-f, x=0, E=0;
if(void 0!==i){
var T, S;
"string"==typeof w&&w.indexOf("%") >=0&&(w=parseFloat(w.replace("%", "")) / 100 * i), this.virtualSize=-w, s ? l.css({
marginLeft: "",
marginTop: ""
}):l.css({
marginRight: "",
marginBottom: ""
}), e.slidesPerColumn > 1&&(T=Math.floor(h / e.slidesPerColumn)===h / this.params.slidesPerColumn ? h:Math.ceil(h / e.slidesPerColumn) * e.slidesPerColumn, "auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(T=Math.max(T, e.slidesPerView * e.slidesPerColumn)));
for (var C, M=e.slidesPerColumn, P=T / M, z=Math.floor(h / e.slidesPerColumn), k=0; k < h; k +=1){
S=0;
var $=l.eq(k);
if(e.slidesPerColumn > 1){
var L=void 0, I=void 0, D=void 0;
if("row"===e.slidesPerColumnFill&&e.slidesPerGroup > 1){
var O=Math.floor(k / (e.slidesPerGroup * e.slidesPerColumn)),
A=k - e.slidesPerColumn * e.slidesPerGroup * O,
G=0===O ? e.slidesPerGroup:Math.min(Math.ceil((h - O * M * e.slidesPerGroup) / M), e.slidesPerGroup);
L=(I=A - (D=Math.floor(A / G)) * G + O * e.slidesPerGroup) + D * T / M, $.css({
"-webkit-box-ordinal-group": L,
"-moz-box-ordinal-group": L,
"-ms-flex-order": L,
"-webkit-order": L,
order: L
})
} else "column"===e.slidesPerColumnFill ? (D=k - (I=Math.floor(k / M)) * M, (I > z||I===z&&D===M - 1)&&(D +=1) >=M&&(D=0, I +=1)):I=k - (D=Math.floor(k / P)) * P;
$.css("margin-" + (this.isHorizontal() ? "top":"left"), 0!==D&&e.spaceBetween&&e.spaceBetween + "px")
}
if("none"!==$.css("display")){
if("auto"===e.slidesPerView){
var H=a.getComputedStyle($[0], null), B=$[0].style.transform,
N=$[0].style.webkitTransform;
if(B&&($[0].style.transform="none"), N&&($[0].style.webkitTransform="none"), e.roundLengths) S=this.isHorizontal() ? $.outerWidth(!0):$.outerHeight(!0); else if(this.isHorizontal()){
var X=parseFloat(H.getPropertyValue("width")),
V=parseFloat(H.getPropertyValue("padding-left")),
Y=parseFloat(H.getPropertyValue("padding-right")),
F=parseFloat(H.getPropertyValue("margin-left")),
W=parseFloat(H.getPropertyValue("margin-right")),
R=H.getPropertyValue("box-sizing");
S=R&&"border-box"===R ? X + F + W:X + V + Y + F + W
}else{
var q=parseFloat(H.getPropertyValue("height")),
j=parseFloat(H.getPropertyValue("padding-top")),
K=parseFloat(H.getPropertyValue("padding-bottom")),
U=parseFloat(H.getPropertyValue("margin-top")),
_=parseFloat(H.getPropertyValue("margin-bottom")),
Z=H.getPropertyValue("box-sizing");
S=Z&&"border-box"===Z ? q + U + _:q + j + K + U + _
}
B&&($[0].style.transform=B), N&&($[0].style.webkitTransform=N), e.roundLengths&&(S=Math.floor(S))
} else S=(i - (e.slidesPerView - 1) * w) / e.slidesPerView, e.roundLengths&&(S=Math.floor(S)), l[k]&&(this.isHorizontal() ? l[k].style.width=S + "px":l[k].style.height=S + "px");
l[k]&&(l[k].swiperSlideSize=S), u.push(S), e.centeredSlides ? (y=y + S / 2 + x / 2 + w, 0===x&&0!==k&&(y=y - i / 2 - w), 0===k&&(y=y - i / 2 - w), Math.abs(y) < .001&&(y=0), e.roundLengths&&(y=Math.floor(y)), E % e.slidesPerGroup==0&&p.push(y), c.push(y)):(e.roundLengths&&(y=Math.floor(y)), (E - Math.min(this.params.slidesPerGroupSkip, E)) % this.params.slidesPerGroup==0&&p.push(y), c.push(y), y=y + S + w), this.virtualSize +=S + w, x=S, E +=1
}}
if(this.virtualSize=Math.max(this.virtualSize, i) + m, s&&r && ("slide"===e.effect||"coverflow"===e.effect)&&t.css({width: this.virtualSize + e.spaceBetween + "px"}), e.setWrapperSize&&(this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}):t.css({height: this.virtualSize + e.spaceBetween + "px"})), e.slidesPerColumn > 1&&(this.virtualSize=(S + e.spaceBetween) * T, this.virtualSize=Math.ceil(this.virtualSize / e.slidesPerColumn) - e.spaceBetween, this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}):t.css({height: this.virtualSize + e.spaceBetween + "px"}), e.centeredSlides)){
C=[];
for (var Q=0; Q < p.length; Q +=1){
var J=p[Q];
e.roundLengths&&(J=Math.floor(J)), p[Q] < this.virtualSize + p[0]&&C.push(J)
}
p=C
}
if(!e.centeredSlides){
C=[];
for (var ee=0; ee < p.length; ee +=1){
var te=p[ee];
e.roundLengths&&(te=Math.floor(te)), p[ee] <=this.virtualSize - i&&C.push(te)
}
p=C, Math.floor(this.virtualSize - i) - Math.floor(p[p.length - 1]) > 1&&p.push(this.virtualSize - i)
}
if(0===p.length&&(p=[0]), 0!==e.spaceBetween&&(this.isHorizontal() ? s ? l.filter(v).css({marginLeft: w + "px"}):l.filter(v).css({marginRight: w + "px"}):l.filter(v).css({marginBottom: w + "px"})), e.centeredSlides&&e.centeredSlidesBounds){
var ie=0;
u.forEach((function (t){
ie +=t + (e.spaceBetween ? e.spaceBetween:0)
}));
var se=(ie -=e.spaceBetween) - i;
p=p.map((function (e){
return e < 0 ? -f:e > se ? se + m:e
}))
}
if(e.centerInsufficientSlides){
var ae=0;
if(u.forEach((function (t){
ae +=t + (e.spaceBetween ? e.spaceBetween:0)
})), (ae -=e.spaceBetween) < i){
var re=(i - ae) / 2;
p.forEach((function (e, t){
p[t]=e - re
})), c.forEach((function (e, t){
c[t]=e + re
}))
}}
d.extend(this, {
slides: l,
snapGrid: p,
slidesGrid: c,
slidesSizesGrid: u
}), h!==o&&this.emit("slidesLengthChange"), p.length!==g&&(this.params.watchOverflow&&this.checkOverflow(), this.emit("snapGridLengthChange")), c.length!==b&&this.emit("slidesGridLengthChange"), (e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()
}}, updateAutoHeight: function (e){
var t, i=[], s=0;
if("number"==typeof e ? this.setTransition(e):!0===e&&this.setTransition(this.params.speed), "auto"!==this.params.slidesPerView&&this.params.slidesPerView > 1) if(this.params.centeredSlides) this.visibleSlides.each((function (e, t){
i.push(t)
})); else for (t=0; t < Math.ceil(this.params.slidesPerView); t +=1){
var a=this.activeIndex + t;
if(a > this.slides.length) break;
i.push(this.slides.eq(a)[0])
} else i.push(this.slides.eq(this.activeIndex)[0]);
for (t=0; t < i.length; t +=1) if(void 0!==i[t]){
var r=i[t].offsetHeight;
s=r > s ? r:s
}
s&&this.$wrapperEl.css("height", s + "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.params, i=this.slides, s=this.rtlTranslate;
if(0!==i.length){
void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();
var a=-e;
s&&(a=e), i.removeClass(t.slideVisibleClass), this.visibleSlidesIndexes=[], this.visibleSlides=[];
for (var r=0; r < i.length; r +=1){
var o=i[r],
l=(a + (t.centeredSlides ? this.minTranslate():0) - o.swiperSlideOffset) / (o.swiperSlideSize + t.spaceBetween);
if(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight){
var d=-(a - o.swiperSlideOffset), h=d + this.slidesSizesGrid[r];
(d >=0&&d < this.size - 1||h > 1&&h <=this.size||d <=0&&h >=this.size)&&(this.visibleSlides.push(o), this.visibleSlidesIndexes.push(r), i.eq(r).addClass(t.slideVisibleClass))
}
o.progress=s ? -l:l
}
this.visibleSlides=n(this.visibleSlides)
}}, updateProgress: function (e){
if(void 0===e){
var t=this.rtlTranslate ? -1:1;
e=this&&this.translate&&this.translate * t||0
}
var i=this.params, s=this.maxTranslate() - this.minTranslate(), a=this.progress, r=this.isBeginning,
n=this.isEnd, o=r, l=n;
0===s ? (a=0, r = !0, n = !0):(r=(a=(e - this.minTranslate()) / s) <=0, n=a >=1), d.extend(this, {
progress: a,
isBeginning: r,
isEnd: n
}), (i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e), r&&!o&&this.emit("reachBeginning toEdge"), n&&!l&&this.emit("reachEnd toEdge"), (o&&!r||l&&!n)&&this.emit("fromEdge"), this.emit("progress", a)
}, updateSlidesClasses: function (){
var e, t=this.slides, i=this.params, s=this.$wrapperEl, a=this.activeIndex, r=this.realIndex,
n=this.virtual&&i.virtual.enabled;
t.removeClass(i.slideActiveClass + " " + i.slideNextClass + " " + i.slidePrevClass + " " + i.slideDuplicateActiveClass + " " + i.slideDuplicateNextClass + " " + i.slideDuplicatePrevClass), (e=n ? this.$wrapperEl.find("." + i.slideClass + '[data-swiper-slide-index="' + a + '"]'):t.eq(a)).addClass(i.slideActiveClass), i.loop&&(e.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass):s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass));
var o=e.nextAll("." + i.slideClass).eq(0).addClass(i.slideNextClass);
i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);
var l=e.prevAll("." + i.slideClass).eq(0).addClass(i.slidePrevClass);
i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass), i.loop&&(o.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass):s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass), l.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass):s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass))
}, updateActiveIndex: function (e){
var t, i=this.rtlTranslate ? this.translate:-this.translate, s=this.slidesGrid, a=this.snapGrid,
r=this.params, n=this.activeIndex, o=this.realIndex, l=this.snapIndex, h=e;
if(void 0===h){
for (var p=0; p < s.length; p +=1) void 0!==s[p + 1] ? i >=s[p]&&i < s[p + 1] - (s[p + 1] - s[p]) / 2 ? h=p:i >=s[p]&&i < s[p + 1]&&(h=p + 1):i >=s[p]&&(h=p);
r.normalizeSlideIndex&&(h < 0||void 0===h)&&(h=0)
}
if(a.indexOf(i) >=0) t=a.indexOf(i); else {
var c=Math.min(r.slidesPerGroupSkip, h);
t=c + Math.floor((h - c) / r.slidesPerGroup)
}
if(t >=a.length&&(t=a.length - 1), h!==n){
var u=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h, 10);
d.extend(this, {
snapIndex: t,
realIndex: u,
previousIndex: n,
activeIndex: h
}), this.emit("activeIndexChange"), this.emit("snapIndexChange"), o!==u&&this.emit("realIndexChange"), (this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")
} else t!==l&&(this.snapIndex=t, this.emit("snapIndexChange"))
}, updateClickedSlide: function (e){
var t=this.params, i=n(e.target).closest("." + t.slideClass)[0], s = !1;
if(i) for (var a=0; a < this.slides.length; a +=1) this.slides[a]===i&&(s = !0);
if(!i||!s) return this.clickedSlide=void 0, void (this.clickedIndex=void 0);
this.clickedSlide=i, this.virtual&&this.params.virtual.enabled ? this.clickedIndex=parseInt(n(i).attr("data-swiper-slide-index"), 10):this.clickedIndex=n(i).index(), t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()
}};
var v={
getTranslate: function (e){
void 0===e&&(e=this.isHorizontal() ? "x":"y");
var t=this.params, i=this.rtlTranslate, s=this.translate, a=this.$wrapperEl;
if(t.virtualTranslate) return i ? -s:s;
if(t.cssMode) return s;
var r=d.getTranslate(a[0], e);
return i&&(r=-r), r||0
}, setTranslate: function (e, t){
var i=this.rtlTranslate, s=this.params, a=this.$wrapperEl, r=this.wrapperEl, n=this.progress,
o=0, l=0;
this.isHorizontal() ? o=i ? -e:e : l=e, s.roundLengths&&(o=Math.floor(o), l=Math.floor(l)), s.cssMode ? r[this.isHorizontal() ? "scrollLeft":"scrollTop"]=this.isHorizontal() ? -o:-l:s.virtualTranslate||a.transform("translate3d(" + o + "px, " + l + "px, 0px)"), this.previousTranslate=this.translate, this.translate=this.isHorizontal() ? o:l;
var d=this.maxTranslate() - this.minTranslate();
(0===d ? 0:(e - this.minTranslate()) / d)!==n&&this.updateProgress(e), this.emit("setTranslate", this.translate, t)
}, minTranslate: function (){
return -this.snapGrid[0]
}, maxTranslate: function (){
return -this.snapGrid[this.snapGrid.length - 1]
}, translateTo: function (e, t, i, s, a){
var r;
void 0===e&&(e=0), void 0===t&&(t=this.params.speed), void 0===i&&(i = !0), void 0===s&&(s = !0);
var n=this, o=n.params, l=n.wrapperEl;
if(n.animating&&o.preventInteractionOnTransition) return !1;
var d, h=n.minTranslate(), p=n.maxTranslate();
if(d=s&&e > h ? h:s&&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(((r={})[c ? "left":"top"]=-d, r.behavior="smooth", r)):l[c ? "scrollLeft":"scrollTop"]=-d, !0
}
return 0===t ? (n.setTransition(0), n.setTranslate(d), i&&(n.emit("beforeTransitionStart", t, a), n.emit("transitionEnd"))):(n.setTransition(t), n.setTranslate(d), i&&(n.emit("beforeTransitionStart", t, a), 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 f={
setTransition: function (e, t){
this.params.cssMode||this.$wrapperEl.transition(e), this.emit("setTransition", e, t)
}, transitionStart: function (e, t){
void 0===e&&(e = !0);
var i=this.activeIndex, s=this.params, a=this.previousIndex;
if(!s.cssMode){
s.autoHeight&&this.updateAutoHeight();
var r=t;
if(r||(r=i > a ? "next":i < a ? "prev":"reset"), this.emit("transitionStart"), e&&i!==a){
if("reset"===r) return void this.emit("slideResetTransitionStart");
this.emit("slideChangeTransitionStart"), "next"===r ? this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")
}}
}, transitionEnd: function (e, t){
void 0===e&&(e = !0);
var i=this.activeIndex, s=this.previousIndex, a=this.params;
if(this.animating = !1, !a.cssMode){
this.setTransition(0);
var r=t;
if(r||(r=i > s ? "next":i < s ? "prev":"reset"), this.emit("transitionEnd"), e&&i!==s){
if("reset"===r) return void this.emit("slideResetTransitionEnd");
this.emit("slideChangeTransitionEnd"), "next"===r ? this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")
}}
}};
var m={
slideTo: function (e, t, i, s){
var a;
void 0===e&&(e=0), void 0===t&&(t=this.params.speed), void 0===i&&(i = !0);
var r=this, n=e;
n < 0&&(n=0);
var o=r.params, l=r.snapGrid, d=r.slidesGrid, h=r.previousIndex, p=r.activeIndex,
c=r.rtlTranslate, u=r.wrapperEl;
if(r.animating&&o.preventInteractionOnTransition) return !1;
var v=Math.min(r.params.slidesPerGroupSkip, n), f=v + Math.floor((n - v) / r.params.slidesPerGroup);
f >=l.length&&(f=l.length - 1), (p||o.initialSlide||0)===(h||0)&&i && r.emit("beforeSlideChangeStart");
var m, g=-l[f];
if(r.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(r.initialized&&n!==p){
if(!r.allowSlideNext&&g < r.translate&&g < r.minTranslate()) return !1;
if(!r.allowSlidePrev&&g > r.translate&&g > r.maxTranslate()&&(p||0)!==n) return !1
}
if(m=n > p ? "next":n < p ? "prev":"reset", c&&-g===r.translate||!c&&g===r.translate) return r.updateActiveIndex(n), o.autoHeight&&r.updateAutoHeight(), r.updateSlidesClasses(), "slide"!==o.effect&&r.setTranslate(g), "reset"!==m&&(r.transitionStart(i, m), r.transitionEnd(i, m)), !1;
if(o.cssMode){
var w=r.isHorizontal(), y=-g;
return c&&(y=u.scrollWidth - u.offsetWidth - y), 0===t ? u[w ? "scrollLeft":"scrollTop"]=y:u.scrollTo ? u.scrollTo(((a={})[w ? "left":"top"]=y, a.behavior="smooth", a)):u[w ? "scrollLeft":"scrollTop"]=y, !0
}
return 0===t ? (r.setTransition(0), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.transitionEnd(i, m)):(r.setTransition(t), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.animating||(r.animating = !0, r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function (e){
r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd=null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, m))
}), r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd))), !0
}, slideToLoop: function (e, t, i, s){
void 0===e&&(e=0), void 0===t&&(t=this.params.speed), void 0===i&&(i = !0);
var a=e;
return this.params.loop&&(a +=this.loopedSlides), this.slideTo(a, t, i, s)
}, slideNext: function (e, t, i){
void 0===e&&(e=this.params.speed), void 0===t&&(t = !0);
var s=this.params, a=this.animating, r=this.activeIndex < s.slidesPerGroupSkip ? 1:s.slidesPerGroup;
if(s.loop){
if(a) return !1;
this.loopFix(), this._clientLeft=this.$wrapperEl[0].clientLeft
}
return this.slideTo(this.activeIndex + r, e, t, i)
}, slidePrev: function (e, t, i){
void 0===e&&(e=this.params.speed), void 0===t&&(t = !0);
var s=this.params, a=this.animating, r=this.snapGrid, n=this.slidesGrid, o=this.rtlTranslate;
if(s.loop){
if(a) return !1;
this.loopFix(), this._clientLeft=this.$wrapperEl[0].clientLeft
}
function l(e){
return e < 0 ? -Math.floor(Math.abs(e)):Math.floor(e)
}
var d, h=l(o ? this.translate:-this.translate), p=r.map((function (e){
return l(e)
})), c=(n.map((function (e){
return l(e)
})), r[p.indexOf(h)], r[p.indexOf(h) - 1]);
return void 0===c&&s.cssMode&&r.forEach((function (e){
!c&&h >=e&&(c=e)
})), void 0!==c&&(d=n.indexOf(c)) < 0&&(d=this.activeIndex - 1), this.slideTo(d, 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, s){
void 0===e&&(e=this.params.speed), void 0===t&&(t = !0), void 0===s&&(s=.5);
var a=this.activeIndex, r=Math.min(this.params.slidesPerGroupSkip, a),
n=r + Math.floor((a - r) / this.params.slidesPerGroup),
o=this.rtlTranslate ? this.translate:-this.translate;
if(o >=this.snapGrid[n]){
var l=this.snapGrid[n];
o - l > (this.snapGrid[n + 1] - l) * s&&(a +=this.params.slidesPerGroup)
}else{
var d=this.snapGrid[n - 1];
o - d <=(this.snapGrid[n] - d) * s&&(a -=this.params.slidesPerGroup)
}
return a=Math.max(a, 0), a=Math.min(a, this.slidesGrid.length - 1), this.slideTo(a, e, t, i)
}, slideToClickedSlide: function (){
var e, t=this, i=t.params, s=t.$wrapperEl,
a="auto"===i.slidesPerView ? t.slidesPerViewDynamic():i.slidesPerView, r=t.clickedIndex;
if(i.loop){
if(t.animating) return;
e=parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"), 10), i.centeredSlides ? r < t.loopedSlides - a / 2||r > t.slides.length - t.loopedSlides + a / 2 ? (t.loopFix(), r=s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function (){
t.slideTo(r)
}))):t.slideTo(r):r > t.slides.length - a ? (t.loopFix(), r=s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function (){
t.slideTo(r)
}))):t.slideTo(r)
} else t.slideTo(r)
}};
var g={
loopCreate: function (){
var e=this, t=e.params, s=e.$wrapperEl;
s.children("." + t.slideClass + "." + t.slideDuplicateClass).remove();
var a=s.children("." + t.slideClass);
if(t.loopFillGroupWithBlank){
var r=t.slidesPerGroup - a.length % t.slidesPerGroup;
if(r!==t.slidesPerGroup){
for (var o=0; o < r; o +=1){
var l=n(i.createElement("div")).addClass(t.slideClass + " " + t.slideBlankClass);
s.append(l)
}
a=s.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 d=[], h=[];
a.each((function (t, i){
var s=n(i);
t < e.loopedSlides&&h.push(i), t < a.length&&t >=a.length - e.loopedSlides&&d.push(i), s.attr("data-swiper-slide-index", t)
}));
for (var p=0; p < h.length; p +=1) s.append(n(h[p].cloneNode(!0)).addClass(t.slideDuplicateClass));
for (var c=d.length - 1; c >=0; c -=1) s.prepend(n(d[c].cloneNode(!0)).addClass(t.slideDuplicateClass))
}, loopFix: function (){
this.emit("beforeLoopFix");
var e, t=this.activeIndex, i=this.slides, s=this.loopedSlides, a=this.allowSlidePrev,
r=this.allowSlideNext, n=this.snapGrid, o=this.rtlTranslate;
this.allowSlidePrev = !0, this.allowSlideNext = !0;
var l=-n[t] - this.getTranslate();
if(t < s) e=i.length - 3 * s + t, e +=s, this.slideTo(e, 0, !1, !0)&&0!==l&&this.setTranslate((o ? -this.translate:this.translate) - l); else if(t >=i.length - s){
e=-i.length + t + s, e +=s, this.slideTo(e, 0, !1, !0)&&0!==l&&this.setTranslate((o ? -this.translate:this.translate) - l)
}
this.allowSlidePrev=a, this.allowSlideNext=r, this.emit("loopFix")
}, loopDestroy: function (){
var e=this.$wrapperEl, t=this.params, i=this.slides;
e.children("." + t.slideClass + "." + t.slideDuplicateClass + ",." + t.slideClass + "." + t.slideBlankClass).remove(), i.removeAttr("data-swiper-slide-index")
}};
var b={
setGrabCursor: function (e){
if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){
var t=this.el;
t.style.cursor="move", t.style.cursor=e ? "-webkit-grabbing":"-webkit-grab", t.style.cursor=e ? "-moz-grabbin":"-moz-grab", t.style.cursor=e ? "grabbing":"grab"
}}, unsetGrabCursor: function (){
h.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")
}};
var w, y, x, E, T, S, C, M, P, z, k, $, L, I, D, O={
appendSlide: function (e){
var t=this.$wrapperEl, i=this.params;
if(i.loop&&this.loopDestroy(), "object"==typeof e&&"length" in e) for (var s=0; s < e.length; s +=1) e[s]&&t.append(e[s]); else t.append(e);
i.loop&&this.loopCreate(), i.observer&&h.observer||this.update()
}, prependSlide: function (e){
var t=this.params, i=this.$wrapperEl, s=this.activeIndex;
t.loop&&this.loopDestroy();
var a=s + 1;
if("object"==typeof e&&"length" in e){
for (var r=0; r < e.length; r +=1) e[r]&&i.prepend(e[r]);
a=s + e.length
} else i.prepend(e);
t.loop&&this.loopCreate(), t.observer&&h.observer||this.update(), this.slideTo(a, 0, !1)
}, addSlide: function (e, t){
var i=this.$wrapperEl, s=this.params, a=this.activeIndex;
s.loop&&(a -=this.loopedSlides, this.loopDestroy(), this.slides=i.children("." + s.slideClass));
var r=this.slides.length;
if(e <=0) this.prependSlide(t); else if(e >=r) this.appendSlide(t); else {
for (var n=a > e ? a + 1:a, o=[], l=r - 1; l >=e; l -=1){
var d=this.slides.eq(l);
d.remove(), o.unshift(d)
}
if("object"==typeof t&&"length" in t){
for (var p=0; p < t.length; p +=1) t[p]&&i.append(t[p]);
n=a > e ? a + t.length:a
} else i.append(t);
for (var c=0; c < o.length; c +=1) i.append(o[c]);
s.loop&&this.loopCreate(), s.observer&&h.observer||this.update(), s.loop ? this.slideTo(n + this.loopedSlides, 0, !1):this.slideTo(n, 0, !1)
}}, removeSlide: function (e){
var t=this.params, i=this.$wrapperEl, s=this.activeIndex;
t.loop&&(s -=this.loopedSlides, this.loopDestroy(), this.slides=i.children("." + t.slideClass));
var a, r=s;
if("object"==typeof e&&"length" in e){
for (var n=0; n < e.length; n +=1) a=e[n], this.slides[a]&&this.slides.eq(a).remove(), a < r&&(r -=1);
r=Math.max(r, 0)
} else a=e, this.slides[a]&&this.slides.eq(a).remove(), a < r&&(r -=1), r=Math.max(r, 0);
t.loop&&this.loopCreate(), t.observer&&h.observer||this.update(), t.loop ? this.slideTo(r + this.loopedSlides, 0, !1):this.slideTo(r, 0, !1)
}, removeAllSlides: function (){
for (var e=[], t=0; t < this.slides.length; t +=1) e.push(t);
this.removeSlide(e)
}}, A=(w=a.navigator.platform, y=a.navigator.userAgent, x={
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: !(!a.cordova&&!a.phonegap),
phonegap: !(!a.cordova&&!a.phonegap),
electron: !1
}, E=a.screen.width, T=a.screen.height, S=y.match(/(Android);?[\s\/]+([\d.]+)?/), C=y.match(/(iPad).*OS\s([\d_]+)/), M=y.match(/(iPod)(.*OS\s([\d_]+))?/), P = !C&&y.match(/(iPhone\sOS|iOS)\s([\d_]+)/), z=y.indexOf("MSIE ") >=0||y.indexOf("Trident/") >=0, k=y.indexOf("Edge/") >=0, $=y.indexOf("Gecko/") >=0&&y.indexOf("Firefox/") >=0, L="Win32"===w, I=y.toLowerCase().indexOf("electron") >=0, D="MacIntel"===w, !C&&D && h.touch&&(1024===E&&1366===T||834===E&&1194===T||834===E&&1112===T||768===E&&1024===T)&&(C=y.match(/(Version)\/([\d.]+)/), D = !1), x.ie=z, x.edge=k, x.firefox=$, S&&!L&&(x.os="android", x.osVersion=S[2], x.android = !0, x.androidChrome=y.toLowerCase().indexOf("chrome") >=0), (C||P || M)&&(x.os="ios", x.ios = !0), P&&!M&&(x.osVersion=P[2].replace(/_/g, "."), x.iphone = !0), C&&(x.osVersion=C[2].replace(/_/g, "."), x.ipad = !0), M&&(x.osVersion=M[3] ? M[3].replace(/_/g, "."):null, x.ipod = !0), x.ios&&x.osVersion&&y.indexOf("Version/") >=0&&"10"===x.osVersion.split(".")[0]&&(x.osVersion=y.toLowerCase().split("version/")[1].split(" ")[0]), x.webView = !(!(P||C || M)||!y.match(/.*AppleWebKit(?!.*Safari)/i)&&!a.navigator.standalone)||a.matchMedia&&a.matchMedia("(display-mode: standalone)").matches, x.webview=x.webView, x.standalone=x.webView, x.desktop = !(x.ios||x.android)||I, x.desktop&&(x.electron=I, x.macos=D, x.windows=L, x.macos&&(x.os="macos"), x.windows&&(x.os="windows")), x.pixelRatio=a.devicePixelRatio||1, x);
function G(e){
var t=this.touchEventsData, s=this.params, r=this.touches;
if(!this.animating||!s.preventInteractionOnTransition){
var o=e;
o.originalEvent&&(o=o.originalEvent);
var l=n(o.target);
if(("wrapper"!==s.touchEventsTarget||l.closest(this.wrapperEl).length)&&(t.isTouchEvent="touchstart"===o.type, (t.isTouchEvent||!("which" in o)||3!==o.which)&&!(!t.isTouchEvent&&"button" in o&&o.button > 0||t.isTouched&&t.isMoved))) if(s.noSwiping&&l.closest(s.noSwipingSelector ? s.noSwipingSelector:"." + s.noSwipingClass)[0]) this.allowClick = !0; else if(!s.swipeHandler||l.closest(s.swipeHandler)[0]){
r.currentX="touchstart"===o.type ? o.targetTouches[0].pageX:o.pageX, r.currentY="touchstart"===o.type ? o.targetTouches[0].pageY:o.pageY;
var h=r.currentX, p=r.currentY, c=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,
u=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;
if(!c||!(h <=u||h >=a.screen.width - u)){
if(d.extend(t, {
isTouched: !0,
isMoved: !1,
allowTouchCallbacks: !0,
isScrolling: void 0,
startMoving: void 0
}), r.startX=h, r.startY=p, t.touchStartTime=d.now(), this.allowClick = !0, this.updateSize(), this.swipeDirection=void 0, s.threshold > 0&&(t.allowThresholdMove = !1), "touchstart"!==o.type){
var v = !0;
l.is(t.formElements)&&(v = !1), i.activeElement&&n(i.activeElement).is(t.formElements)&&i.activeElement!==l[0]&&i.activeElement.blur();
var f=v&&this.allowTouchMove&&s.touchStartPreventDefault;
(s.touchStartForcePreventDefault||f)&&o.preventDefault()
}
this.emit("touchStart", o)
}}
}}
function H(e){
var t=this.touchEventsData, s=this.params, a=this.touches, r=this.rtlTranslate, o=e;
if(o.originalEvent&&(o=o.originalEvent), t.isTouched){
if(!t.isTouchEvent||"touchmove"===o.type){
var l="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),
h="touchmove"===o.type ? l.pageX:o.pageX, p="touchmove"===o.type ? l.pageY:o.pageY;
if(o.preventedByNestedSwiper) return a.startX=h, void (a.startY=p);
if(!this.allowTouchMove) return this.allowClick = !1, void (t.isTouched&&(d.extend(a, {
startX: h,
startY: p,
currentX: h,
currentY: p
}), t.touchStartTime=d.now()));
if(t.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop) if(this.isVertical()){
if(p < a.startY&&this.translate <=this.maxTranslate()||p > a.startY&&this.translate >=this.minTranslate()) return t.isTouched = !1, void (t.isMoved = !1)
}else if(h < a.startX&&this.translate <=this.maxTranslate()||h > a.startX&&this.translate >=this.minTranslate()) return;
if(t.isTouchEvent&&i.activeElement&&o.target===i.activeElement&&n(o.target).is(t.formElements)) return t.isMoved = !0, void (this.allowClick = !1);
if(t.allowTouchCallbacks&&this.emit("touchMove", o), !(o.targetTouches&&o.targetTouches.length > 1)){
a.currentX=h, a.currentY=p;
var c=a.currentX - a.startX, u=a.currentY - a.startY;
if(!(this.params.threshold&&Math.sqrt(Math.pow(c, 2) + Math.pow(u, 2)) < this.params.threshold)){
var v;
if(void 0===t.isScrolling) this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX ? t.isScrolling = !1:c * c + u * u >=25&&(v=180 * Math.atan2(Math.abs(u), Math.abs(c)) / Math.PI, t.isScrolling=this.isHorizontal() ? v > s.touchAngle:90 - v > s.touchAngle);
if(t.isScrolling&&this.emit("touchMoveOpposite", o), void 0===t.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(t.startMoving = !0)), t.isScrolling) t.isTouched = !1; else if(t.startMoving){
this.allowClick = !1, !s.cssMode&&o.cancelable&&o.preventDefault(), s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(), t.isMoved||(s.loop&&this.loopFix(), t.startTranslate=this.getTranslate(), this.setTransition(0), this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"), t.allowMomentumBounce = !1, !s.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0), this.emit("sliderFirstMove", o)), this.emit("sliderMove", o), t.isMoved = !0;
var f=this.isHorizontal() ? c:u;
a.diff=f, f *=s.touchRatio, r&&(f=-f), this.swipeDirection=f > 0 ? "prev":"next", t.currentTranslate=f + t.startTranslate;
var m = !0, g=s.resistanceRatio;
if(s.touchReleaseOnEdges&&(g=0), f > 0&&t.currentTranslate > this.minTranslate() ? (m = !1, s.resistance&&(t.currentTranslate=this.minTranslate() - 1 + Math.pow(-this.minTranslate() + t.startTranslate + f, g))):f < 0&&t.currentTranslate < this.maxTranslate()&&(m = !1, s.resistance&&(t.currentTranslate=this.maxTranslate() + 1 - Math.pow(this.maxTranslate() - t.startTranslate - f, g))), m&&(o.preventedByNestedSwiper = !0), !this.allowSlideNext&&"next"===this.swipeDirection&&t.currentTranslate < t.startTranslate&&(t.currentTranslate=t.startTranslate), !this.allowSlidePrev&&"prev"===this.swipeDirection&&t.currentTranslate > t.startTranslate&&(t.currentTranslate=t.startTranslate), s.threshold > 0){
if(!(Math.abs(f) > s.threshold||t.allowThresholdMove)) return void (t.currentTranslate=t.startTranslate);
if(!t.allowThresholdMove) return t.allowThresholdMove = !0, a.startX=a.currentX, a.startY=a.currentY, t.currentTranslate=t.startTranslate, void (a.diff=this.isHorizontal() ? a.currentX - a.startX:a.currentY - a.startY)
}
s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(this.updateActiveIndex(), this.updateSlidesClasses()), s.freeMode&&(0===t.velocities.length&&t.velocities.push({
position: a[this.isHorizontal() ? "startX":"startY"],
time: t.touchStartTime
}), t.velocities.push({
position: a[this.isHorizontal() ? "currentX":"currentY"],
time: d.now()
})), this.updateProgress(t.currentTranslate), this.setTranslate(t.currentTranslate))
}}
}}
} else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite", o)
}
function B(e){
var t=this, i=t.touchEventsData, s=t.params, a=t.touches, r=t.rtlTranslate, n=t.$wrapperEl,
o=t.slidesGrid, l=t.snapGrid, h=e;
if(h.originalEvent&&(h=h.originalEvent), i.allowTouchCallbacks&&t.emit("touchEnd", h), i.allowTouchCallbacks = !1, !i.isTouched) return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1), i.isMoved = !1, void (i.startMoving = !1);
s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);
var p, c=d.now(), u=c - i.touchStartTime;
if(t.allowClick&&(t.updateClickedSlide(h), t.emit("tap click", h), u < 300&&c - i.lastClickTime < 300&&t.emit("doubleTap doubleClick", h)), i.lastClickTime=d.now(), d.nextTick((function (){
t.destroyed||(t.allowClick = !0)
})), !i.isTouched||!i.isMoved||!t.swipeDirection||0===a.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, p=s.followFinger ? r ? t.translate:-t.translate:-i.currentTranslate, !s.cssMode) if(s.freeMode){
if(p < -t.minTranslate()) return void t.slideTo(t.activeIndex);
if(p > -t.maxTranslate()) return void (t.slides.length < l.length ? t.slideTo(l.length - 1):t.slideTo(t.slides.length - 1));
if(s.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) < s.freeModeMinimumVelocity&&(t.velocity=0), (g > 150||d.now() - v.time > 300)&&(t.velocity=0)
} else t.velocity=0;
t.velocity *=s.freeModeMomentumVelocityRatio, i.velocities.length=0;
var b=1e3 * s.freeModeMomentumRatio, w=t.velocity * b, y=t.translate + w;
r&&(y=-y);
var x, E, T = !1, S=20 * Math.abs(t.velocity) * s.freeModeMomentumBounceRatio;
if(y < t.maxTranslate()) s.freeModeMomentumBounce ? (y + t.maxTranslate() < -S&&(y=t.maxTranslate() - S), x=t.maxTranslate(), T = !0, i.allowMomentumBounce = !0):y=t.maxTranslate(), s.loop&&s.centeredSlides&&(E = !0); else if(y > t.minTranslate()) s.freeModeMomentumBounce ? (y - t.minTranslate() > S&&(y=t.minTranslate() + S), x=t.minTranslate(), T = !0, i.allowMomentumBounce = !0):y=t.minTranslate(), s.loop&&s.centeredSlides&&(E = !0); else if(s.freeModeSticky){
for (var C, 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(E&&t.once("transitionEnd", (function (){
t.loopFix()
})), 0!==t.velocity){
if(b=r ? Math.abs((-y - t.translate) / t.velocity):Math.abs((y - t.translate) / t.velocity), s.freeModeSticky){
var P=Math.abs((r ? -y:y) - t.translate), z=t.slidesSizesGrid[t.activeIndex];
b=P < z ? s.speed:P < 2 * z ? 1.5 * s.speed:2.5 * s.speed
}}else if(s.freeModeSticky) return void t.slideToClosest();
s.freeModeMomentumBounce&&T ? (t.updateProgress(x), 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(s.speed), setTimeout((function (){
t.setTranslate(x), 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(s.freeModeSticky) return void t.slideToClosest();
(!s.freeModeMomentum||u >=s.longSwipesMs)&&(t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses())
}else{
for (var k=0, $=t.slidesSizesGrid[0], L=0; L < o.length; L +=L < s.slidesPerGroupSkip ? 1:s.slidesPerGroup){
var I=L < s.slidesPerGroupSkip - 1 ? 1:s.slidesPerGroup;
void 0!==o[L + I] ? p >=o[L]&&p < o[L + I]&&(k=L, $=o[L + I] - o[L]):p >=o[L]&&(k=L, $=o[o.length - 1] - o[o.length - 2])
}
var D=(p - o[k]) / $, O=k < s.slidesPerGroupSkip - 1 ? 1:s.slidesPerGroup;
if(u > s.longSwipesMs){
if(!s.longSwipes) return void t.slideTo(t.activeIndex);
"next"===t.swipeDirection&&(D >=s.longSwipesRatio ? t.slideTo(k + O):t.slideTo(k)), "prev"===t.swipeDirection&&(D > 1 - s.longSwipesRatio ? t.slideTo(k + O):t.slideTo(k))
}else{
if(!s.shortSwipes) return void t.slideTo(t.activeIndex);
t.navigation&&(h.target===t.navigation.nextEl||h.target===t.navigation.prevEl) ? h.target===t.navigation.nextEl ? t.slideTo(k + O):t.slideTo(k):("next"===t.swipeDirection&&t.slideTo(k + O), "prev"===t.swipeDirection&&t.slideTo(k))
}}
}
function N(){
var e=this.params, t=this.el;
if(!t||0!==t.offsetWidth){
e.breakpoints&&this.setBreakpoint();
var i=this.allowSlideNext, s=this.allowSlidePrev, a=this.snapGrid;
this.allowSlideNext = !0, this.allowSlidePrev = !0, this.updateSize(), this.updateSlides(), this.updateSlidesClasses(), ("auto"===e.slidesPerView||e.slidesPerView > 1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides ? this.slideTo(this.slides.length - 1, 0, !1, !0):this.slideTo(this.activeIndex, 0, !1, !0), this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(), this.allowSlidePrev=s, this.allowSlideNext=i, this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()
}}
function X(e){
this.allowClick||(this.params.preventClicks&&e.preventDefault(), this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(), e.stopImmediatePropagation()))
}
function V(){
var e=this.wrapperEl, t=this.rtlTranslate;
this.previousTranslate=this.translate, this.isHorizontal() ? this.translate=t ? e.scrollWidth - e.offsetWidth - e.scrollLeft:-e.scrollLeft:this.translate=-e.scrollTop, -0===this.translate&&(this.translate=0), this.updateActiveIndex(), this.updateSlidesClasses();
var i=this.maxTranslate() - this.minTranslate();
(0===i ? 0:(this.translate - this.minTranslate()) / i)!==this.progress&&this.updateProgress(t ? -this.translate:this.translate), this.emit("setTranslate", this.translate, !1)
}
var Y = !1;
function F(){
}
var W={
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
}, R={
update: u, translate: v, transition: f, slide: m, loop: g, grabCursor: b, manipulation: O, events: {
attachEvents: function (){
var e=this.params, t=this.touchEvents, s=this.el, a=this.wrapperEl;
this.onTouchStart=G.bind(this), this.onTouchMove=H.bind(this), this.onTouchEnd=B.bind(this), e.cssMode&&(this.onScroll=V.bind(this)), this.onClick=X.bind(this);
var r = !!e.nested;
if(!h.touch&&h.pointerEvents) s.addEventListener(t.start, this.onTouchStart, !1), i.addEventListener(t.move, this.onTouchMove, r), i.addEventListener(t.end, this.onTouchEnd, !1); else {
if(h.touch){
var n = !("touchstart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{
passive: !0,
capture: !1
};
s.addEventListener(t.start, this.onTouchStart, n), s.addEventListener(t.move, this.onTouchMove, h.passiveListener ? {
passive: !1,
capture: r
}:r), s.addEventListener(t.end, this.onTouchEnd, n), t.cancel&&s.addEventListener(t.cancel, this.onTouchEnd, n), Y||(i.addEventListener("touchstart", F), Y = !0)
}
(e.simulateTouch&&!A.ios&&!A.android||e.simulateTouch&&!h.touch&&A.ios)&&(s.addEventListener("mousedown", this.onTouchStart, !1), i.addEventListener("mousemove", this.onTouchMove, r), i.addEventListener("mouseup", this.onTouchEnd, !1))
}
(e.preventClicks||e.preventClicksPropagation)&&s.addEventListener("click", this.onClick, !0), e.cssMode&&a.addEventListener("scroll", this.onScroll), e.updateOnWindowResize ? this.on(A.ios||A.android ? "resize orientationchange observerUpdate":"resize observerUpdate", N, !0):this.on("observerUpdate", N, !0)
}, detachEvents: function (){
var e=this.params, t=this.touchEvents, s=this.el, a=this.wrapperEl, r = !!e.nested;
if(!h.touch&&h.pointerEvents) s.removeEventListener(t.start, this.onTouchStart, !1), i.removeEventListener(t.move, this.onTouchMove, r), i.removeEventListener(t.end, this.onTouchEnd, !1); else {
if(h.touch){
var n = !("onTouchStart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{
passive: !0,
capture: !1
};
s.removeEventListener(t.start, this.onTouchStart, n), s.removeEventListener(t.move, this.onTouchMove, r), s.removeEventListener(t.end, this.onTouchEnd, n), t.cancel&&s.removeEventListener(t.cancel, this.onTouchEnd, n)
}
(e.simulateTouch&&!A.ios&&!A.android||e.simulateTouch&&!h.touch&&A.ios)&&(s.removeEventListener("mousedown", this.onTouchStart, !1), i.removeEventListener("mousemove", this.onTouchMove, r), i.removeEventListener("mouseup", this.onTouchEnd, !1))
}
(e.preventClicks||e.preventClicksPropagation)&&s.removeEventListener("click", this.onClick, !0), e.cssMode&&a.removeEventListener("scroll", this.onScroll), this.off(A.ios||A.android ? "resize orientationchange observerUpdate":"resize observerUpdate", N)
}}, breakpoints: {
setBreakpoint: function (){
var e=this.activeIndex, t=this.initialized, i=this.loopedSlides;
void 0===i&&(i=0);
var s=this.params, a=this.$el, r=s.breakpoints;
if(r&&(!r||0!==Object.keys(r).length)){
var n=this.getBreakpoint(r);
if(n&&this.currentBreakpoint!==n){
var o=n in r ? r[n]:void 0;
o&&["slidesPerView", "spaceBetween", "slidesPerGroup", "slidesPerGroupSkip", "slidesPerColumn"].forEach((function (e){
var t=o[e];
void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t ? "slidesPerView"===e ? parseFloat(t):parseInt(t, 10):"auto")
}));
var l=o||this.originalParams, h=s.slidesPerColumn > 1, p=l.slidesPerColumn > 1;
h&&!p ? a.removeClass(s.containerModifierClass + "multirow " + s.containerModifierClass + "multirow-column"):!h&&p && (a.addClass(s.containerModifierClass + "multirow"), "column"===l.slidesPerColumnFill&&a.addClass(s.containerModifierClass + "multirow-column"));
var c=l.direction&&l.direction!==s.direction,
u=s.loop&&(l.slidesPerView!==s.slidesPerView||c);
c&&t && this.changeDirection(), d.extend(this.params, l), d.extend(this, {
allowTouchMove: this.params.allowTouchMove,
allowSlideNext: this.params.allowSlideNext,
allowSlidePrev: this.params.allowSlidePrev
}), this.currentBreakpoint=n, u&&t && (this.loopDestroy(), this.loopCreate(), this.updateSlides(), this.slideTo(e - i + this.loopedSlides, 0, !1)), this.emit("breakpoint", l)
}}
}, 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: a.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 s=0; s < i.length; s +=1){
var r=i[s], n=r.point;
r.value <=a.innerWidth&&(t=n)
}
return t||"max"
}}
}, checkOverflow: {
checkOverflow: function (){
var e=this.params, t=this.isLocked,
i=this.slides.length > 0&&e.slidesOffsetBefore + e.spaceBetween * (this.slides.length - 1) + this.slides[0].offsetWidth * this.slides.length;
e.slidesOffsetBefore&&e.slidesOffsetAfter&&i ? this.isLocked=i <=this.size:this.isLocked=1===this.snapGrid.length, this.allowSlideNext = !this.isLocked, this.allowSlidePrev = !this.isLocked, t!==this.isLocked&&this.emit(this.isLocked ? "lock":"unlock"), t&&t!==this.isLocked&&(this.isEnd = !1, this.navigation&&this.navigation.update())
}}, classes: {
addClasses: function (){
var e=this.classNames, t=this.params, i=this.rtl, s=this.$el, a=[];
a.push("initialized"), a.push(t.direction), t.freeMode&&a.push("free-mode"), t.autoHeight&&a.push("autoheight"), i&&a.push("rtl"), t.slidesPerColumn > 1&&(a.push("multirow"), "column"===t.slidesPerColumnFill&&a.push("multirow-column")), A.android&&a.push("android"), A.ios&&a.push("ios"), t.cssMode&&a.push("css-mode"), a.forEach((function (i){
e.push(t.containerModifierClass + i)
})), s.addClass(e.join(" "))
}, removeClasses: function (){
var e=this.$el, t=this.classNames;
e.removeClass(t.join(" "))
}}, images: {
loadImage: function (e, t, i, s, r, o){
var l;
function d(){
o&&o()
}
n(e).parent("picture")[0]||e.complete&&r ? d():t ? ((l=new a.Image).onload=d, l.onerror=d, s&&(l.sizes=s), i&&(l.srcset=i), t&&(l.src=t)):d()
}, preloadImages: function (){
var e=this;
function t(){
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 s=e.imagesToLoad[i];
e.loadImage(s, s.currentSrc||s.getAttribute("src"), s.srcset||s.getAttribute("srcset"), s.sizes||s.getAttribute("sizes"), !0, t)
}}
}}, q={}, j=function (e){
function t(){
for (var i, s, a, r=[], o=arguments.length; o--;) r[o]=arguments[o];
1===r.length&&r[0].constructor&&r[0].constructor===Object ? a=r[0]:(s=(i=r)[0], a=i[1]), a||(a={}), a=d.extend({}, a), s&&!a.el&&(a.el=s), e.call(this, a), Object.keys(R).forEach((function (e){
Object.keys(R[e]).forEach((function (i){
t.prototype[i]||(t.prototype[i]=R[e][i])
}))
}));
var l=this;
void 0===l.modules&&(l.modules={}), Object.keys(l.modules).forEach((function (e){
var t=l.modules[e];
if(t.params){
var i=Object.keys(t.params)[0], s=t.params[i];
if("object"!=typeof s||null===s) return;
if(!(i in a)||!("enabled" in s)) return;
!0===a[i]&&(a[i]={enabled: !0}), "object"!=typeof a[i]||"enabled" in a[i]||(a[i].enabled = !0), a[i]||(a[i]={enabled: !1})
}}));
var p=d.extend({}, W);
l.useModulesParams(p), l.params=d.extend({}, p, q, a), l.originalParams=d.extend({}, l.params), l.passedParams=d.extend({}, a), l.$=n;
var c=n(l.params.el);
if(s=c[0]){
if(c.length > 1){
var u=[];
return c.each((function (e, i){
var s=d.extend({}, a, {el: i});
u.push(new t(s))
})), u
}
var v, f, m;
return s.swiper=l, c.data("swiper", l), s&&s.shadowRoot&&s.shadowRoot.querySelector ? (v=n(s.shadowRoot.querySelector("." + l.params.wrapperClass))).children=function (e){
return c.children(e)
}:v=c.children("." + l.params.wrapperClass), d.extend(l, {
$el: c,
el: s,
$wrapperEl: v,
wrapperEl: v[0],
classNames: [],
slides: n(),
slidesGrid: [],
snapGrid: [],
slidesSizesGrid: [],
isHorizontal: function (){
return "horizontal"===l.params.direction
},
isVertical: function (){
return "vertical"===l.params.direction
},
rtl: "rtl"===s.dir.toLowerCase()||"rtl"===c.css("direction"),
rtlTranslate: "horizontal"===l.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===c.css("direction")),
wrongRTL: "-webkit-box"===v.css("display"),
activeIndex: 0,
realIndex: 0,
isBeginning: !0,
isEnd: !1,
translate: 0,
previousTranslate: 0,
progress: 0,
velocity: 0,
animating: !1,
allowSlideNext: l.params.allowSlideNext,
allowSlidePrev: l.params.allowSlidePrev,
touchEvents: (f=["touchstart", "touchmove", "touchend", "touchcancel"], m=["mousedown", "mousemove", "mouseup"], h.pointerEvents&&(m=["pointerdown", "pointermove", "pointerup"]), l.touchEventsTouch={
start: f[0],
move: f[1],
end: f[2],
cancel: f[3]
}, l.touchEventsDesktop={
start: m[0],
move: m[1],
end: m[2]
}, h.touch||!l.params.simulateTouch ? l.touchEventsTouch:l.touchEventsDesktop),
touchEventsData: {
isTouched: void 0,
isMoved: void 0,
allowTouchCallbacks: void 0,
touchStartTime: void 0,
isScrolling: void 0,
currentTranslate: void 0,
startTranslate: void 0,
allowThresholdMove: void 0,
formElements: "input, select, option, textarea, button, video, label",
lastClickTime: d.now(),
clickTimeout: void 0,
velocities: [],
allowMomentumBounce: void 0,
isTouchEvent: void 0,
startMoving: void 0
},
allowClick: !0,
allowTouchMove: l.params.allowTouchMove,
touches: {startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0},
imagesToLoad: [],
imagesLoaded: 0
}), l.useModules(), l.params.init&&l.init(), l
}}
e&&(t.__proto__=e), t.prototype=Object.create(e&&e.prototype), t.prototype.constructor=t;
var i={
extendedDefaults: {configurable: !0},
defaults: {configurable: !0},
Class: {configurable: !0},
$: {configurable: !0}};
return t.prototype.slidesPerViewDynamic=function (){
var e=this.params, t=this.slides, i=this.slidesGrid, s=this.size, a=this.activeIndex, r=1;
if(e.centeredSlides){
for (var n, o=t[a].swiperSlideSize, l=a + 1; l < t.length; l +=1) t[l]&&!n&&(r +=1, (o +=t[l].swiperSlideSize) > s&&(n = !0));
for (var d=a - 1; d >=0; d -=1) t[d]&&!n&&(r +=1, (o +=t[d].swiperSlideSize) > s&&(n = !0))
} else for (var h=a + 1; h < t.length; h +=1) i[h] - i[a] < s&&(r +=1);
return r
}, 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 ? (s(), 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))||s(), i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(), e.emit("update")
}
function s(){
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.params.direction;
return e||(e="horizontal"===i ? "vertical":"horizontal"), e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass("" + this.params.containerModifierClass + i).addClass("" + this.params.containerModifierClass + e), this.params.direction=e, this.slides.each((function (t, i){
"vertical"===e ? i.style.width="":i.style.height=""
})), this.emit("changeDirection"), t&&this.update()), this
}, t.prototype.init=function (){
this.initialized||(this.emit("beforeInit"), this.params.breakpoints&&this.setBreakpoint(), this.addClasses(), this.params.loop&&this.loopCreate(), this.updateSize(), this.updateSlides(), this.params.watchOverflow&&this.checkOverflow(), this.params.grabCursor&&this.setGrabCursor(), this.params.preloadImages&&this.preloadImages(), this.params.loop ? this.slideTo(this.params.initialSlide + this.loopedSlides, 0, this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide, 0, this.params.runCallbacksOnInit), this.attachEvents(), this.initialized = !0, this.emit("init"))
}, t.prototype.destroy=function (e, t){
void 0===e&&(e = !0), void 0===t&&(t = !0);
var i=this, s=i.params, a=i.$el, r=i.$wrapperEl, n=i.slides;
return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), s.loop&&i.loopDestroy(), t&&(i.removeClasses(), a.removeAttr("style"), r.removeAttr("style"), n&&n.length&&n.removeClass([s.slideVisibleClass, s.slideActiveClass, s.slideNextClass, s.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), d.deleteProps(i)), i.destroyed = !0), null
}, t.extendDefaults=function (e){
d.extend(q, e)
}, i.extendedDefaults.get=function (){
return q
}, i.defaults.get=function (){
return W
}, i.Class.get=function (){
return e
}, i.$.get=function (){
return n
}, Object.defineProperties(t, i), t
}(p), K={name: "device", proto: {device: A}, static: {device: A}},
U={name: "support", proto: {support: h}, static: {support: h}}, _={
isEdge: !!a.navigator.userAgent.match(/Edge/g), isSafari: function (){
var e=a.navigator.userAgent.toLowerCase();
return e.indexOf("safari") >=0&&e.indexOf("chrome") < 0&&e.indexOf("android") < 0
}(), isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(a.navigator.userAgent)
}, Z={name: "browser", proto: {browser: _}, static: {browser: _}}, Q={
name: "resize", create: function (){
var e=this;
d.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 (){
a.addEventListener("resize", this.resize.resizeHandler), a.addEventListener("orientationchange", this.resize.orientationChangeHandler)
}, destroy: function (){
a.removeEventListener("resize", this.resize.resizeHandler), a.removeEventListener("orientationchange", this.resize.orientationChangeHandler)
}}
}, J={
func: a.MutationObserver||a.WebkitMutationObserver, attach: function (e, t){
void 0===t&&(t={});
var i=this, s=new (0, J.func)((function (e){
if(1!==e.length){
var t=function (){
i.emit("observerUpdate", e[0])
};
a.requestAnimationFrame ? a.requestAnimationFrame(t):a.setTimeout(t, 0)
} else i.emit("observerUpdate", e[0])
}));
s.observe(e, {
attributes: void 0===t.attributes||t.attributes,
childList: void 0===t.childList||t.childList,
characterData: void 0===t.characterData||t.characterData
}), i.observer.observers.push(s)
}, init: function (){
if(h.observer&&this.params.observer){
if(this.params.observeParents) for (var e=this.$el.parents(), t=0; t < e.length; t +=1) this.observer.attach(e[t]);
this.observer.attach(this.$el[0], {childList: this.params.observeSlideChildren}), this.observer.attach(this.$wrapperEl[0], {attributes: !1})
}}, destroy: function (){
this.observer.observers.forEach((function (e){
e.disconnect()
})), this.observer.observers=[]
}}, ee={
name: "observer",
params: {observer: !1, observeParents: !1, observeSlideChildren: !1},
create: function (){
d.extend(this, {
observer: {
init: J.init.bind(this),
attach: J.attach.bind(this),
destroy: J.destroy.bind(this),
observers: []
}})
},
on: {
init: function (){
this.observer.init()
}, destroy: function (){
this.observer.destroy()
}}
}, te={
update: function (e){
var t=this, i=t.params, s=i.slidesPerView, a=i.slidesPerGroup, r=i.centeredSlides,
n=t.params.virtual, o=n.addSlidesBefore, l=n.addSlidesAfter, h=t.virtual, p=h.from, c=h.to,
u=h.slides, v=h.slidesGrid, f=h.renderSlide, m=h.offset;
t.updateActiveIndex();
var g, b, w, y=t.activeIndex||0;
g=t.rtlTranslate ? "right":t.isHorizontal() ? "left":"top", r ? (b=Math.floor(s / 2) + a + o, w=Math.floor(s / 2) + a + l):(b=s + (a - 1) + o, w=a + l);
var x=Math.max((y||0) - w, 0), E=Math.min((y||0) + b, u.length - 1),
T=(t.slidesGrid[x]||0) - (t.slidesGrid[0]||0);
function S(){
t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.lazy&&t.params.lazy.enabled&&t.lazy.load()
}
if(d.extend(t.virtual, {
from: x,
to: E,
offset: T,
slidesGrid: t.slidesGrid
}), p===x&&c===E&&!e) return t.slidesGrid!==v&&T!==m&&t.slides.css(g, T + "px"), void t.updateProgress();
if(t.params.virtual.renderExternal) return t.params.virtual.renderExternal.call(t, {
offset: T,
from: x,
to: E,
slides: function (){
for (var e=[], t=x; t <=E; t +=1) e.push(u[t]);
return e
}()
}), void S();
var C=[], M=[];
if(e) t.$wrapperEl.find("." + t.params.slideClass).remove(); else for (var P=p; P <=c; P +=1) (P < x||P > E)&&t.$wrapperEl.find("." + t.params.slideClass + '[data-swiper-slide-index="' + P + '"]').remove();
for (var z=0; z < u.length; z +=1) z >=x&&z <=E&&(void 0===c||e ? M.push(z):(z > c&&M.push(z), z < p&&C.push(z)));
M.forEach((function (e){
t.$wrapperEl.append(f(u[e], e))
})), C.sort((function (e, t){
return t - e
})).forEach((function (e){
t.$wrapperEl.prepend(f(u[e], e))
})), t.$wrapperEl.children(".swiper-slide").css(g, T + "px"), S()
}, renderSlide: function (e, t){
var i=this.params.virtual;
if(i.cache&&this.virtual.cache[t]) return this.virtual.cache[t];
var s=i.renderSlide ? n(i.renderSlide.call(this, e, t)):n('<div class="' + this.params.slideClass + '" data-swiper-slide-index="' + t + '">' + e + "</div>");
return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index", t), i.cache&&(this.virtual.cache[t]=s), s
}, appendSlide: function (e){
if("object"==typeof e&&"length" in e) for (var t=0; t < e.length; t +=1) e[t]&&this.virtual.slides.push(e[t]); else this.virtual.slides.push(e);
this.virtual.update(!0)
}, prependSlide: function (e){
var t=this.activeIndex, i=t + 1, s=1;
if(Array.isArray(e)){
for (var a=0; a < e.length; a +=1) e[a]&&this.virtual.slides.unshift(e[a]);
i=t + e.length, s=e.length
} else this.virtual.slides.unshift(e);
if(this.params.virtual.cache){
var r=this.virtual.cache, n={};
Object.keys(r).forEach((function (e){
var t=r[e], i=t.attr("data-swiper-slide-index");
i&&t.attr("data-swiper-slide-index", parseInt(i, 10) + 1), n[parseInt(e, 10) + s]=t
})), this.virtual.cache=n
}
this.virtual.update(!0), this.slideTo(i, 0)
}, removeSlide: function (e){
if(null!=e){
var t=this.activeIndex;
if(Array.isArray(e)) for (var i=e.length - 1; i >=0; i -=1) this.virtual.slides.splice(e[i], 1), this.params.virtual.cache&&delete this.virtual.cache[e[i]], e[i] < t&&(t -=1), t=Math.max(t, 0); else this.virtual.slides.splice(e, 1), this.params.virtual.cache&&delete this.virtual.cache[e], e < t&&(t -=1), t=Math.max(t, 0);
this.virtual.update(!0), this.slideTo(t, 0)
}}, removeAllSlides: function (){
this.virtual.slides=[], this.params.virtual.cache&&(this.virtual.cache={}), this.virtual.update(!0), this.slideTo(0, 0)
}}, ie={
name: "virtual",
params: {
virtual: {
enabled: !1,
slides: [],
cache: !0,
renderSlide: null,
renderExternal: null,
addSlidesBefore: 0,
addSlidesAfter: 0
}},
create: function (){
d.extend(this, {
virtual: {
update: te.update.bind(this),
appendSlide: te.appendSlide.bind(this),
prependSlide: te.prependSlide.bind(this),
removeSlide: te.removeSlide.bind(this),
removeAllSlides: te.removeAllSlides.bind(this),
renderSlide: te.renderSlide.bind(this),
slides: this.params.virtual.slides,
cache: {}}
})
},
on: {
beforeInit: function (){
if(this.params.virtual.enabled){
this.classNames.push(this.params.containerModifierClass + "virtual");
var e={watchSlidesProgress: !0};
d.extend(this.params, e), d.extend(this.originalParams, e), this.params.initialSlide||this.virtual.update()
}}, setTranslate: function (){
this.params.virtual.enabled&&this.virtual.update()
}}
}, se={
handle: function (e){
var t=this.rtlTranslate, s=e;
s.originalEvent&&(s=s.originalEvent);
var r=s.keyCode||s.charCode, n=this.params.keyboard.pageUpDown, o=n&&33===r, l=n&&34===r,
d=37===r, h=39===r, p=38===r, c=40===r;
if(!this.allowSlideNext&&(this.isHorizontal()&&h||this.isVertical()&&c||l)) return !1;
if(!this.allowSlidePrev&&(this.isHorizontal()&&d||this.isVertical()&&p||o)) return !1;
if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){
if(this.params.keyboard.onlyInViewport&&(o||l || d||h || p||c)){
var u = !1;
if(this.$el.parents("." + this.params.slideClass).length > 0&&0===this.$el.parents("." + this.params.slideActiveClass).length) return;
var v=a.innerWidth, f=a.innerHeight, m=this.$el.offset();
t&&(m.left -=this.$el[0].scrollLeft);
for (var g=[[m.left, m.top], [m.left + this.width, m.top], [m.left, m.top + this.height], [m.left + this.width, m.top + this.height]], b=0; b < g.length; b +=1){
var w=g[b];
w[0] >=0&&w[0] <=v&&w[1] >=0&&w[1] <=f&&(u = !0)
}
if(!u) return
}
this.isHorizontal() ? ((o||l || d||h)&&(s.preventDefault ? s.preventDefault():s.returnValue = !1), ((l||h)&&!t||(o||d)&&t)&&this.slideNext(), ((o||d)&&!t||(l||h)&&t)&&this.slidePrev()):((o||l || p||c)&&(s.preventDefault ? s.preventDefault():s.returnValue = !1), (l||c)&&this.slideNext(), (o||p)&&this.slidePrev()), this.emit("keyPress", r)
}}, enable: function (){
this.keyboard.enabled||(n(i).on("keydown", this.keyboard.handle), this.keyboard.enabled = !0)
}, disable: function (){
this.keyboard.enabled&&(n(i).off("keydown", this.keyboard.handle), this.keyboard.enabled = !1)
}}, ae={
name: "keyboard",
params: {keyboard: {enabled: !1, onlyInViewport: !0, pageUpDown: !0}},
create: function (){
d.extend(this, {
keyboard: {
enabled: !1,
enable: se.enable.bind(this),
disable: se.disable.bind(this),
handle: se.handle.bind(this)
}})
},
on: {
init: function (){
this.params.keyboard.enabled&&this.keyboard.enable()
}, destroy: function (){
this.keyboard.enabled&&this.keyboard.disable()
}}
};
var re={
lastScrollTime: d.now(), lastEventBeforeSnap: void 0, recentWheelEvents: [], event: function (){
return a.navigator.userAgent.indexOf("firefox") > -1 ? "DOMMouseScroll":function (){
var e="onwheel" in i;
if(!e){
var t=i.createElement("div");
t.setAttribute("onwheel", "return;"), e="function"==typeof t.onwheel
}
return !e&&i.implementation&&i.implementation.hasFeature&&!0!==i.implementation.hasFeature("", "")&&(e=i.implementation.hasFeature("Events.wheel", "3.0")), e
}() ? "wheel":"mousewheel"
}, normalize: function (e){
var t=0, i=0, s=0, a=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), s=10 * t, a=10 * i, "deltaY" in e&&(a=e.deltaY), "deltaX" in e&&(s=e.deltaX), e.shiftKey&&!s&&(s=a, a=0), (s||a)&&e.deltaMode&&(1===e.deltaMode ? (s *=40, a *=40):(s *=800, a *=800)), s&&!t&&(t=s < 1 ? -1:1), a&&!i&&(i=a < 1 ? -1:1), {
spinX: t,
spinY: i,
pixelX: s,
pixelY: a
}}, handleMouseEnter: function (){
this.mouseEntered = !0
}, handleMouseLeave: function (){
this.mouseEntered = !1
}, handle: function (e){
var t=e, i=this, s=i.params.mousewheel;
i.params.cssMode&&t.preventDefault();
var a=i.$el;
if("container"!==i.params.mousewheel.eventsTarged&&(a=n(i.params.mousewheel.eventsTarged)), !i.mouseEntered&&!a[0].contains(t.target)&&!s.releaseOnEdges) return !0;
t.originalEvent&&(t=t.originalEvent);
var r=0, o=i.rtlTranslate ? -1:1, l=re.normalize(t);
if(s.forceToAxis) if(i.isHorizontal()){
if(!(Math.abs(l.pixelX) > Math.abs(l.pixelY))) return !0;
r=-l.pixelX * o
}else{
if(!(Math.abs(l.pixelY) > Math.abs(l.pixelX))) return !0;
r=-l.pixelY
} else r=Math.abs(l.pixelX) > Math.abs(l.pixelY) ? -l.pixelX * o:-l.pixelY;
if(0===r) return !0;
if(s.invert&&(r=-r), i.params.freeMode){
var h={time: d.now(), delta: Math.abs(r), direction: Math.sign(r)},
p=i.mousewheel.lastEventBeforeSnap,
c=p&&h.time < p.time + 500&&h.delta <=p.delta&&h.direction===p.direction;
if(!c){
i.mousewheel.lastEventBeforeSnap=void 0, i.params.loop&&i.loopFix();
var u=i.getTranslate() + r * s.sensitivity, v=i.isBeginning, f=i.isEnd;
if(u >=i.minTranslate()&&(u=i.minTranslate()), u <=i.maxTranslate()&&(u=i.maxTranslate()), i.setTransition(0), i.setTranslate(u), 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();
var g=m.length ? m[m.length - 1]:void 0, b=m[0];
if(m.push(h), g&&(h.delta > g.delta||h.direction!==g.direction)) m.splice(0); else if(m.length >=15&&h.time - b.time < 500&&b.delta - h.delta >=1&&h.delta <=6){
var w=r > 0 ? .8 : .2;
i.mousewheel.lastEventBeforeSnap=h, m.splice(0), i.mousewheel.timeout=d.nextTick((function (){
i.slideToClosest(i.params.speed, !0, void 0, w)
}), 0)
}
i.mousewheel.timeout||(i.mousewheel.timeout=d.nextTick((function (){
i.mousewheel.lastEventBeforeSnap=h, m.splice(0), i.slideToClosest(i.params.speed, !0, void 0, .5)
}), 500))
}
if(c||i.emit("scroll", t), i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(), u===i.minTranslate()||u===i.maxTranslate()) return !0
}}else{
var y={time: d.now(), delta: Math.abs(r), direction: Math.sign(r), raw: e},
x=i.mousewheel.recentWheelEvents;
x.length >=2&&x.shift();
var E=x.length ? x[x.length - 1]:void 0;
if(x.push(y), E ? (y.direction!==E.direction||y.delta > E.delta||y.time > E.time + 150)&&i.mousewheel.animateSlider(y):i.mousewheel.animateSlider(y), i.mousewheel.releaseScroll(y)) return !0
}
return t.preventDefault ? t.preventDefault():t.returnValue = !1, !1
}, animateSlider: function (e){
return e.delta >=6&&d.now() - this.mousewheel.lastScrollTime < 60||(e.direction < 0 ? this.isEnd&&!this.params.loop||this.animating||(this.slideNext(), this.emit("scroll", e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(), this.emit("scroll", e.raw)), this.mousewheel.lastScrollTime=(new a.Date).getTime(), !1)
}, releaseScroll: function (e){
var t=this.params.mousewheel;
if(e.direction < 0){
if(this.isEnd&&!this.params.loop&&t.releaseOnEdges) return !0
}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges) return !0;
return !1
}, enable: function (){
var e=re.event();
if(this.params.cssMode) return this.wrapperEl.removeEventListener(e, this.mousewheel.handle), !0;
if(!e) return !1;
if(this.mousewheel.enabled) return !1;
var t=this.$el;
return "container"!==this.params.mousewheel.eventsTarged&&(t=n(this.params.mousewheel.eventsTarged)), t.on("mouseenter", this.mousewheel.handleMouseEnter), t.on("mouseleave", this.mousewheel.handleMouseLeave), t.on(e, this.mousewheel.handle), this.mousewheel.enabled = !0, !0
}, disable: function (){
var e=re.event();
if(this.params.cssMode) return this.wrapperEl.addEventListener(e, this.mousewheel.handle), !0;
if(!e) return !1;
if(!this.mousewheel.enabled) return !1;
var t=this.$el;
return "container"!==this.params.mousewheel.eventsTarged&&(t=n(this.params.mousewheel.eventsTarged)), t.off(e, this.mousewheel.handle), this.mousewheel.enabled = !1, !0
}}, ne={
update: function (){
var e=this.params.navigation;
if(!this.params.loop){
var t=this.navigation, i=t.$nextEl, s=t.$prevEl;
s&&s.length > 0&&(this.isBeginning ? s.addClass(e.disabledClass):s.removeClass(e.disabledClass), s[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](e.lockClass)), i&&i.length > 0&&(this.isEnd ? i.addClass(e.disabledClass):i.removeClass(e.disabledClass), i[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](e.lockClass))
}}, onPrevClick: function (e){
e.preventDefault(), this.isBeginning&&!this.params.loop||this.slidePrev()
}, onNextClick: function (e){
e.preventDefault(), this.isEnd&&!this.params.loop||this.slideNext()
}, init: function (){
var e, t, i=this.params.navigation;
(i.nextEl||i.prevEl)&&(i.nextEl&&(e=n(i.nextEl), this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length > 1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))), i.prevEl&&(t=n(i.prevEl), this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length > 1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))), e&&e.length > 0&&e.on("click", this.navigation.onNextClick), t&&t.length > 0&&t.on("click", this.navigation.onPrevClick), d.extend(this.navigation, {
$nextEl: e,
nextEl: e&&e[0],
$prevEl: t,
prevEl: t&&t[0]
}))
}, destroy: function (){
var e=this.navigation, t=e.$nextEl, i=e.$prevEl;
t&&t.length&&(t.off("click", this.navigation.onNextClick), t.removeClass(this.params.navigation.disabledClass)), i&&i.length&&(i.off("click", this.navigation.onPrevClick), i.removeClass(this.params.navigation.disabledClass))
}}, oe={
update: function (){
var e=this.rtl, t=this.params.pagination;
if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){
var i,
s=this.virtual&&this.params.virtual.enabled ? this.virtual.slides.length:this.slides.length,
a=this.pagination.$el,
r=this.params.loop ? Math.ceil((s - 2 * this.loopedSlides) / this.params.slidesPerGroup):this.snapGrid.length;
if(this.params.loop ? ((i=Math.ceil((this.activeIndex - this.loopedSlides) / this.params.slidesPerGroup)) > s - 1 - 2 * this.loopedSlides&&(i -=s - 2 * this.loopedSlides), i > r - 1&&(i -=r), i < 0&&"bullets"!==this.params.paginationType&&(i=r + i)):i=void 0!==this.snapIndex ? this.snapIndex:this.activeIndex||0, "bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length > 0){
var o, l, d, h=this.pagination.bullets;
if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal() ? "outerWidth":"outerHeight"](!0), a.css(this.isHorizontal() ? "width":"height", this.pagination.bulletSize * (t.dynamicMainBullets + 4) + "px"), t.dynamicMainBullets > 1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex +=i - this.previousIndex, this.pagination.dynamicBulletIndex > t.dynamicMainBullets - 1 ? this.pagination.dynamicBulletIndex=t.dynamicMainBullets - 1:this.pagination.dynamicBulletIndex < 0&&(this.pagination.dynamicBulletIndex=0)), o=i - this.pagination.dynamicBulletIndex, d=((l=o + (Math.min(h.length, t.dynamicMainBullets) - 1)) + o) / 2), h.removeClass(t.bulletActiveClass + " " + t.bulletActiveClass + "-next " + t.bulletActiveClass + "-next-next " + t.bulletActiveClass + "-prev " + t.bulletActiveClass + "-prev-prev " + t.bulletActiveClass + "-main"), a.length > 1) h.each((function (e, s){
var a=n(s), r=a.index();
r===i&&a.addClass(t.bulletActiveClass), t.dynamicBullets&&(r >=o&&r <=l&&a.addClass(t.bulletActiveClass + "-main"), r===o&&a.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), r===l&&a.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next"))
})); else {
var p=h.eq(i), c=p.index();
if(p.addClass(t.bulletActiveClass), t.dynamicBullets){
for (var u=h.eq(o), v=h.eq(l), f=o; f <=l; f +=1) h.eq(f).addClass(t.bulletActiveClass + "-main");
if(this.params.loop) if(c >=h.length - t.dynamicMainBullets){
for (var m=t.dynamicMainBullets; m >=0; m -=1) h.eq(h.length - m).addClass(t.bulletActiveClass + "-main");
h.eq(h.length - t.dynamicMainBullets - 1).addClass(t.bulletActiveClass + "-prev")
} else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next"); else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next")
}}
if(t.dynamicBullets){
var g=Math.min(h.length, t.dynamicMainBullets + 4),
b=(this.pagination.bulletSize * g - this.pagination.bulletSize) / 2 - d * this.pagination.bulletSize,
w=e ? "right":"left";
h.css(this.isHorizontal() ? w:"top", b + "px")
}}
if("fraction"===t.type&&(a.find("." + t.currentClass).text(t.formatFractionCurrent(i + 1)), a.find("." + t.totalClass).text(t.formatFractionTotal(r))), "progressbar"===t.type){
var y;
y=t.progressbarOpposite ? this.isHorizontal() ? "vertical":"horizontal":this.isHorizontal() ? "horizontal":"vertical";
var x=(i + 1) / r, E=1, T=1;
"horizontal"===y ? E=x:T=x, a.find("." + t.progressbarFillClass).transform("translate3d(0,0,0) scaleX(" + E + ") scaleY(" + T + ")").transition(this.params.speed)
}
"custom"===t.type&&t.renderCustom ? (a.html(t.renderCustom(this, i + 1, r)), this.emit("paginationRender", this, a[0])):this.emit("paginationUpdate", this, a[0]), a[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](t.lockClass)
}}, render: function (){
var e=this.params.pagination;
if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){
var t=this.virtual&&this.params.virtual.enabled ? this.virtual.slides.length:this.slides.length,
i=this.pagination.$el, s="";
if("bullets"===e.type){
for (var a=this.params.loop ? Math.ceil((t - 2 * this.loopedSlides) / this.params.slidesPerGroup):this.snapGrid.length, r=0; r < a; r +=1) e.renderBullet ? s +=e.renderBullet.call(this, r, e.bulletClass):s +="<" + e.bulletElement + ' class="' + e.bulletClass + '"></' + e.bulletElement + ">";
i.html(s), this.pagination.bullets=i.find("." + e.bulletClass)
}
"fraction"===e.type&&(s=e.renderFraction ? e.renderFraction.call(this, e.currentClass, e.totalClass):'<span class="' + e.currentClass + '"></span> / <span class="' + e.totalClass + '"></span>', i.html(s)), "progressbar"===e.type&&(s=e.renderProgressbar ? e.renderProgressbar.call(this, e.progressbarFillClass):'<span class="' + e.progressbarFillClass + '"></span>', i.html(s)), "custom"!==e.type&&this.emit("paginationRender", this.pagination.$el[0])
}}, init: function (){
var e=this, t=e.params.pagination;
if(t.el){
var i=n(t.el);
0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length > 1&&(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=n(this).index() * e.params.slidesPerGroup;
e.params.loop&&(i +=e.loopedSlides), e.slideTo(i)
})), d.extend(e.pagination, {$el: i, el: i[0]}))
}}, destroy: function (){
var e=this.params.pagination;
if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){
var t=this.pagination.$el;
t.removeClass(e.hiddenClass), t.removeClass(e.modifierClass + e.type), this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass), e.clickable&&t.off("click", "." + e.bulletClass)
}}
}, le={
setTranslate: function (){
if(this.params.scrollbar.el&&this.scrollbar.el){
var e=this.scrollbar, t=this.rtlTranslate, i=this.progress, s=e.dragSize, a=e.trackSize,
r=e.$dragEl, n=e.$el, o=this.params.scrollbar, l=s, d=(a - s) * i;
t ? (d=-d) > 0 ? (l=s - d, d=0):-d + s > a&&(l=a + d):d < 0 ? (l=s + d, d=0):d + s > a&&(l=a - d), this.isHorizontal() ? (r.transform("translate3d(" + d + "px, 0, 0)"), r[0].style.width=l + "px"):(r.transform("translate3d(0px, " + d + "px, 0)"), r[0].style.height=l + "px"), o.hide&&(clearTimeout(this.scrollbar.timeout), n[0].style.opacity=1, this.scrollbar.timeout=setTimeout((function (){
n[0].style.opacity=0, n.transition(400)
}), 1e3))
}}, setTransition: function (e){
this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)
}, updateSize: function (){
if(this.params.scrollbar.el&&this.scrollbar.el){
var e=this.scrollbar, t=e.$dragEl, i=e.$el;
t[0].style.width="", t[0].style.height="";
var s, a=this.isHorizontal() ? i[0].offsetWidth:i[0].offsetHeight, r=this.size / this.virtualSize,
n=r * (a / this.size);
s="auto"===this.params.scrollbar.dragSize ? a * r:parseInt(this.params.scrollbar.dragSize, 10), this.isHorizontal() ? t[0].style.width=s + "px":t[0].style.height=s + "px", i[0].style.display=r >=1 ? "none":"", this.params.scrollbar.hide&&(i[0].style.opacity=0), d.extend(e, {
trackSize: a,
divider: r,
moveDivider: n,
dragSize: s
}), e.$el[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](this.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.scrollbar, s=this.rtlTranslate, a=i.$el, r=i.dragSize, n=i.trackSize,
o=i.dragStartPos;
t=(i.getPointerPosition(e) - a.offset()[this.isHorizontal() ? "left":"top"] - (null!==o ? o:r / 2)) / (n - r), t=Math.max(Math.min(t, 1), 0), s&&(t=1 - t);
var l=this.minTranslate() + (this.maxTranslate() - this.minTranslate()) * t;
this.updateProgress(l), this.setTranslate(l), this.updateActiveIndex(), this.updateSlidesClasses()
}, onDragStart: function (e){
var t=this.params.scrollbar, i=this.scrollbar, s=this.$wrapperEl, a=i.$el, r=i.$dragEl;
this.scrollbar.isTouched = !0, this.scrollbar.dragStartPos=e.target===r[0]||e.target===r ? i.getPointerPosition(e) - e.target.getBoundingClientRect()[this.isHorizontal() ? "left":"top"]:null, e.preventDefault(), e.stopPropagation(), s.transition(100), r.transition(100), i.setDragPosition(e), clearTimeout(this.scrollbar.dragTimeout), a.transition(0), t.hide&&a.css("opacity", 1), this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type", "none"), this.emit("scrollbarDragStart", e)
}, onDragMove: function (e){
var t=this.scrollbar, i=this.$wrapperEl, s=t.$el, a=t.$dragEl;
this.scrollbar.isTouched&&(e.preventDefault ? e.preventDefault():e.returnValue = !1, t.setDragPosition(e), i.transition(0), s.transition(0), a.transition(0), this.emit("scrollbarDragMove", e))
}, onDragEnd: function (e){
var t=this.params.scrollbar, i=this.scrollbar, s=this.$wrapperEl, a=i.$el;
this.scrollbar.isTouched&&(this.scrollbar.isTouched = !1, this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type", ""), s.transition("")), t.hide&&(clearTimeout(this.scrollbar.dragTimeout), this.scrollbar.dragTimeout=d.nextTick((function (){
a.css("opacity", 0), a.transition(400)
}), 1e3)), this.emit("scrollbarDragEnd", e), t.snapOnRelease&&this.slideToClosest())
}, enableDraggable: function (){
if(this.params.scrollbar.el){
var e=this.scrollbar, t=this.touchEventsTouch, s=this.touchEventsDesktop, a=this.params,
r=e.$el[0], n = !(!h.passiveListener||!a.passiveListeners)&&{passive: !1, capture: !1},
o = !(!h.passiveListener||!a.passiveListeners)&&{passive: !0, capture: !1};
h.touch ? (r.addEventListener(t.start, this.scrollbar.onDragStart, n), r.addEventListener(t.move, this.scrollbar.onDragMove, n), r.addEventListener(t.end, this.scrollbar.onDragEnd, o)):(r.addEventListener(s.start, this.scrollbar.onDragStart, n), i.addEventListener(s.move, this.scrollbar.onDragMove, n), i.addEventListener(s.end, this.scrollbar.onDragEnd, o))
}}, disableDraggable: function (){
if(this.params.scrollbar.el){
var e=this.scrollbar, t=this.touchEventsTouch, s=this.touchEventsDesktop, a=this.params,
r=e.$el[0], n = !(!h.passiveListener||!a.passiveListeners)&&{passive: !1, capture: !1},
o = !(!h.passiveListener||!a.passiveListeners)&&{passive: !0, capture: !1};
h.touch ? (r.removeEventListener(t.start, this.scrollbar.onDragStart, n), r.removeEventListener(t.move, this.scrollbar.onDragMove, n), r.removeEventListener(t.end, this.scrollbar.onDragEnd, o)):(r.removeEventListener(s.start, this.scrollbar.onDragStart, n), i.removeEventListener(s.move, this.scrollbar.onDragMove, n), i.removeEventListener(s.end, this.scrollbar.onDragEnd, o))
}}, init: function (){
if(this.params.scrollbar.el){
var e=this.scrollbar, t=this.$el, i=this.params.scrollbar, s=n(i.el);
this.params.uniqueNavElements&&"string"==typeof i.el&&s.length > 1&&1===t.find(i.el).length&&(s=t.find(i.el));
var a=s.find("." + this.params.scrollbar.dragClass);
0===a.length&&(a=n('<div class="' + this.params.scrollbar.dragClass + '"></div>'), s.append(a)), d.extend(e, {
$el: s,
el: s[0],
$dragEl: a,
dragEl: a[0]
}), i.draggable&&e.enableDraggable()
}}, destroy: function (){
this.scrollbar.disableDraggable()
}}, de={
setTransform: function (e, t){
var i=this.rtl, s=n(e), a=i ? -1:1, r=s.attr("data-swiper-parallax")||"0",
o=s.attr("data-swiper-parallax-x"), l=s.attr("data-swiper-parallax-y"),
d=s.attr("data-swiper-parallax-scale"), h=s.attr("data-swiper-parallax-opacity");
if(o||l ? (o=o||"0", l=l||"0"):this.isHorizontal() ? (o=r, l="0"):(l=r, o="0"), o=o.indexOf("%") >=0 ? parseInt(o, 10) * t * a + "%":o * t * a + "px", l=l.indexOf("%") >=0 ? parseInt(l, 10) * t + "%":l * t + "px", null!=h){
var p=h - (h - 1) * (1 - Math.abs(t));
s[0].style.opacity=p
}
if(null==d) s.transform("translate3d(" + o + ", " + l + ", 0px)"); else {
var c=d - (d - 1) * (1 - Math.abs(t));
s.transform("translate3d(" + o + ", " + l + ", 0px) scale(" + c + ")")
}}, setTranslate: function (){
var e=this, t=e.$el, i=e.slides, s=e.progress, a=e.snapGrid;
t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i){
e.parallax.setTransform(i, s)
})), i.each((function (t, i){
var r=i.progress;
e.params.slidesPerGroup > 1&&"auto"!==e.params.slidesPerView&&(r +=Math.ceil(t / 2) - s * (a.length - 1)), r=Math.min(Math.max(r, -1), 1), n(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i){
e.parallax.setTransform(i, r)
}))
}))
}, setTransition: function (e){
void 0===e&&(e=this.params.speed);
this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i){
var s=n(i), a=parseInt(s.attr("data-swiper-parallax-duration"), 10)||e;
0===e&&(a=0), s.transition(a)
}))
}}, he={
getDistanceBetweenTouches: function (e){
if(e.targetTouches.length < 2) return 1;
var t=e.targetTouches[0].pageX, i=e.targetTouches[0].pageY, s=e.targetTouches[1].pageX,
a=e.targetTouches[1].pageY;
return Math.sqrt(Math.pow(s - t, 2) + Math.pow(a - i, 2))
}, onGestureStart: function (e){
var t=this.params.zoom, i=this.zoom, s=i.gesture;
if(i.fakeGestureTouched = !1, i.fakeGestureMoved = !1, !h.gestures){
if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length < 2) return;
i.fakeGestureTouched = !0, s.scaleStart=he.getDistanceBetweenTouches(e)
}
s.$slideEl&&s.$slideEl.length||(s.$slideEl=n(e.target).closest("." + this.params.slideClass), 0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)), s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), s.$imageWrapEl=s.$imageEl.parent("." + t.containerClass), s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio, 0!==s.$imageWrapEl.length) ? (s.$imageEl&&s.$imageEl.transition(0), this.zoom.isScaling = !0):s.$imageEl=void 0
}, onGestureChange: function (e){
var t=this.params.zoom, i=this.zoom, s=i.gesture;
if(!h.gestures){
if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length < 2) return;
i.fakeGestureMoved = !0, s.scaleMove=he.getDistanceBetweenTouches(e)
}
s.$imageEl&&0!==s.$imageEl.length&&(i.scale=h.gestures ? e.scale * i.currentScale:s.scaleMove / s.scaleStart * i.currentScale, i.scale > s.maxRatio&&(i.scale=s.maxRatio - 1 + Math.pow(i.scale - s.maxRatio + 1, .5)), i.scale < t.minRatio&&(i.scale=t.minRatio + 1 - Math.pow(t.minRatio - i.scale + 1, .5)), s.$imageEl.transform("translate3d(0,0,0) scale(" + i.scale + ")"))
}, onGestureEnd: function (e){
var t=this.params.zoom, i=this.zoom, s=i.gesture;
if(!h.gestures){
if(!i.fakeGestureTouched||!i.fakeGestureMoved) return;
if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length < 2&&!A.android) return;
i.fakeGestureTouched = !1, i.fakeGestureMoved = !1
}
s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale, s.maxRatio), t.minRatio), s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(" + i.scale + ")"), i.currentScale=i.scale, i.isScaling = !1, 1===i.scale&&(s.$slideEl=void 0))
}, onTouchStart: function (e){
var t=this.zoom, i=t.gesture, s=t.image;
i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(A.android&&e.cancelable&&e.preventDefault(), s.isTouched = !0, s.touchesStart.x="touchstart"===e.type ? e.targetTouches[0].pageX:e.pageX, s.touchesStart.y="touchstart"===e.type ? e.targetTouches[0].pageY:e.pageY))
}, onTouchMove: function (e){
var t=this.zoom, i=t.gesture, s=t.image, a=t.velocity;
if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick = !1, s.isTouched&&i.$slideEl)){
s.isMoved||(s.width=i.$imageEl[0].offsetWidth, s.height=i.$imageEl[0].offsetHeight, s.startX=d.getTranslate(i.$imageWrapEl[0], "x")||0, s.startY=d.getTranslate(i.$imageWrapEl[0], "y")||0, i.slideWidth=i.$slideEl[0].offsetWidth, i.slideHeight=i.$slideEl[0].offsetHeight, i.$imageWrapEl.transition(0), this.rtl&&(s.startX=-s.startX, s.startY=-s.startY));
var r=s.width * t.scale, n=s.height * t.scale;
if(!(r < i.slideWidth&&n < i.slideHeight)){
if(s.minX=Math.min(i.slideWidth / 2 - r / 2, 0), s.maxX=-s.minX, s.minY=Math.min(i.slideHeight / 2 - n / 2, 0), s.maxY=-s.minY, s.touchesCurrent.x="touchmove"===e.type ? e.targetTouches[0].pageX:e.pageX, s.touchesCurrent.y="touchmove"===e.type ? e.targetTouches[0].pageY:e.pageY, !s.isMoved&&!t.isScaling){
if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x < s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x > s.touchesStart.x)) return void (s.isTouched = !1);
if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y < s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y > s.touchesStart.y)) return void (s.isTouched = !1)
}
e.cancelable&&e.preventDefault(), e.stopPropagation(), s.isMoved = !0, s.currentX=s.touchesCurrent.x - s.touchesStart.x + s.startX, s.currentY=s.touchesCurrent.y - s.touchesStart.y + s.startY, s.currentX < s.minX&&(s.currentX=s.minX + 1 - Math.pow(s.minX - s.currentX + 1, .8)), s.currentX > s.maxX&&(s.currentX=s.maxX - 1 + Math.pow(s.currentX - s.maxX + 1, .8)), s.currentY < s.minY&&(s.currentY=s.minY + 1 - Math.pow(s.minY - s.currentY + 1, .8)), s.currentY > s.maxY&&(s.currentY=s.maxY - 1 + Math.pow(s.currentY - s.maxY + 1, .8)), a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x), a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y), a.prevTime||(a.prevTime=Date.now()), a.x=(s.touchesCurrent.x - a.prevPositionX) / (Date.now() - a.prevTime) / 2, a.y=(s.touchesCurrent.y - a.prevPositionY) / (Date.now() - a.prevTime) / 2, Math.abs(s.touchesCurrent.x - a.prevPositionX) < 2&&(a.x=0), Math.abs(s.touchesCurrent.y - a.prevPositionY) < 2&&(a.y=0), a.prevPositionX=s.touchesCurrent.x, a.prevPositionY=s.touchesCurrent.y, a.prevTime=Date.now(), i.$imageWrapEl.transform("translate3d(" + s.currentX + "px, " + s.currentY + "px,0)")
}}
}, onTouchEnd: function (){
var e=this.zoom, t=e.gesture, i=e.image, s=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 a=300, r=300, n=s.x * a, o=i.currentX + n, l=s.y * r, d=i.currentY + l;
0!==s.x&&(a=Math.abs((o - i.currentX) / s.x)), 0!==s.y&&(r=Math.abs((d - i.currentY) / s.y));
var h=Math.max(a, r);
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(h).transform("translate3d(" + i.currentX + "px, " + i.currentY + "px,0)")
}}, onTransitionEnd: function (){
var e=this.zoom, t=e.gesture;
t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"), t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"), e.scale=1, e.currentScale=1, t.$slideEl=void 0, t.$imageEl=void 0, t.$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, s, a, r, n, o, l, d, h, p, c, u, v, f, m, g=this.zoom, b=this.params.zoom, w=g.gesture,
y=g.image;
(w.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual ? w.$slideEl=this.$wrapperEl.children("." + this.params.slideActiveClass):w.$slideEl=this.slides.eq(this.activeIndex), w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), w.$imageWrapEl=w.$imageEl.parent("." + b.containerClass)), w.$imageEl&&0!==w.$imageEl.length)&&(w.$slideEl.addClass("" + b.zoomedSlideClass), void 0===y.touchesStart.x&&e ? (t="touchend"===e.type ? e.changedTouches[0].pageX:e.pageX, i="touchend"===e.type ? e.changedTouches[0].pageY:e.pageY):(t=y.touchesStart.x, i=y.touchesStart.y), g.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio, g.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio, e ? (f=w.$slideEl[0].offsetWidth, m=w.$slideEl[0].offsetHeight, s=w.$slideEl.offset().left + f / 2 - t, a=w.$slideEl.offset().top + m / 2 - i, o=w.$imageEl[0].offsetWidth, l=w.$imageEl[0].offsetHeight, d=o * g.scale, h=l * g.scale, u=-(p=Math.min(f / 2 - d / 2, 0)), v=-(c=Math.min(m / 2 - h / 2, 0)), (r=s * g.scale) < p&&(r=p), r > u&&(r=u), (n=a * g.scale) < c&&(n=c), n > v&&(n=v)):(r=0, n=0), w.$imageWrapEl.transition(300).transform("translate3d(" + r + "px, " + n + "px,0)"), w.$imageEl.transition(300).transform("translate3d(0,0,0) scale(" + g.scale + ")"))
}, out: function (){
var e=this.zoom, t=this.params.zoom, i=e.gesture;
i.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual ? i.$slideEl=this.$wrapperEl.children("." + this.params.slideActiveClass):i.$slideEl=this.slides.eq(this.activeIndex), i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), i.$imageWrapEl=i.$imageEl.parent("." + t.containerClass)), i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1, e.currentScale=1, i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"), i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"), i.$slideEl.removeClass("" + t.zoomedSlideClass), i.$slideEl=void 0)
}, enable: function (){
var e=this.zoom;
if(!e.enabled){
e.enabled = !0;
var t = !("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{
passive: !0,
capture: !1
}, i = !h.passiveListener||{passive: !1, capture: !0}, s="." + this.params.slideClass;
h.gestures ? (this.$wrapperEl.on("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.on("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.on("gestureend", s, e.onGestureEnd, t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.on(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.on(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.on(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i)
}}, disable: function (){
var e=this.zoom;
if(e.enabled){
this.zoom.enabled = !1;
var t = !("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{
passive: !0,
capture: !1
}, i = !h.passiveListener||{passive: !1, capture: !0}, s="." + this.params.slideClass;
h.gestures ? (this.$wrapperEl.off("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.off("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.off("gestureend", s, e.onGestureEnd, t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.off(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.off(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.off(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i)
}}
}, pe={
loadInSlide: function (e, t){
void 0===t&&(t = !0);
var i=this, s=i.params.lazy;
if(void 0!==e&&0!==i.slides.length){
var a=i.virtual&&i.params.virtual.enabled ? i.$wrapperEl.children("." + i.params.slideClass + '[data-swiper-slide-index="' + e + '"]'):i.slides.eq(e),
r=a.find("." + s.elementClass + ":not(." + s.loadedClass + "):not(." + s.loadingClass + ")");
!a.hasClass(s.elementClass)||a.hasClass(s.loadedClass)||a.hasClass(s.loadingClass)||(r=r.add(a[0])), 0!==r.length&&r.each((function (e, r){
var o=n(r);
o.addClass(s.loadingClass);
var l=o.attr("data-background"), d=o.attr("data-src"), h=o.attr("data-srcset"),
p=o.attr("data-sizes"), c=o.parent("picture");
i.loadImage(o[0], d||l, h, p, !1, (function (){
if(null!=i&&i && (!i||i.params)&&!i.destroyed){
if(l ? (o.css("background-image", 'url("' + l + '")'), o.removeAttr("data-background")):(h&&(o.attr("srcset", h), o.removeAttr("data-srcset")), p&&(o.attr("sizes", p), o.removeAttr("data-sizes")), c.length&&c.children("source").each((function (e, t){
var i=n(t);
i.attr("data-srcset")&&(i.attr("srcset", i.attr("data-srcset")), i.removeAttr("data-srcset"))
})), d&&(o.attr("src", d), o.removeAttr("data-src"))), o.addClass(s.loadedClass).removeClass(s.loadingClass), a.find("." + s.preloaderClass).remove(), i.params.loop&&t){
var e=a.attr("data-swiper-slide-index");
if(a.hasClass(i.params.slideDuplicateClass)){
var r=i.$wrapperEl.children('[data-swiper-slide-index="' + e + '"]:not(.' + i.params.slideDuplicateClass + ")");
i.lazy.loadInSlide(r.index(), !1)
}else{
var u=i.$wrapperEl.children("." + i.params.slideDuplicateClass + '[data-swiper-slide-index="' + e + '"]');
i.lazy.loadInSlide(u.index(), !1)
}}
i.emit("lazyImageReady", a[0], o[0]), i.params.autoHeight&&i.updateAutoHeight()
}})), i.emit("lazyImageLoad", a[0], o[0])
}))
}}, load: function (){
var e=this, t=e.$wrapperEl, i=e.params, s=e.slides, a=e.activeIndex,
r=e.virtual&&i.virtual.enabled, o=i.lazy, l=i.slidesPerView;
function d(e){
if(r){
if(t.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]').length) return !0
}else if(s[e]) return !0;
return !1
}
function h(e){
return r ? n(e).attr("data-swiper-slide-index"):n(e).index()
}
if("auto"===l&&(l=0), e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded = !0), e.params.watchSlidesVisibility) t.children("." + i.slideVisibleClass).each((function (t, i){
var s=r ? n(i).attr("data-swiper-slide-index"):n(i).index();
e.lazy.loadInSlide(s)
})); else if(l > 1) for (var p=a; p < a + l; p +=1) d(p)&&e.lazy.loadInSlide(p); else e.lazy.loadInSlide(a);
if(o.loadPrevNext) if(l > 1||o.loadPrevNextAmount&&o.loadPrevNextAmount > 1){
for (var c=o.loadPrevNextAmount, u=l, v=Math.min(a + u + Math.max(c, u), s.length), f=Math.max(a - Math.max(u, c), 0), m=a + l; m < v; m +=1) d(m)&&e.lazy.loadInSlide(m);
for (var g=f; g < a; g +=1) d(g)&&e.lazy.loadInSlide(g)
}else{
var b=t.children("." + i.slideNextClass);
b.length > 0&&e.lazy.loadInSlide(h(b));
var w=t.children("." + i.slidePrevClass);
w.length > 0&&e.lazy.loadInSlide(h(w))
}}
}, ce={
LinearSpline: function (e, t){
var i, s, a, r, n, o=function (e, t){
for (s=-1, i=e.length; i - s > 1;) e[a=i + s >> 1] <=t ? s=a:i=a;
return i
};
return this.x=e, this.y=t, this.lastIndex=e.length - 1, this.interpolate=function (e){
return e ? (n=o(this.x, e), r=n - 1, (e - this.x[r]) * (this.y[n] - this.y[r]) / (this.x[n] - this.x[r]) + this.y[r]):0
}, this
}, getInterpolateFunction: function (e){
this.controller.spline||(this.controller.spline=this.params.loop ? new ce.LinearSpline(this.slidesGrid, e.slidesGrid):new ce.LinearSpline(this.snapGrid, e.snapGrid))
}, setTranslate: function (e, t){
var i, s, a=this, r=a.controller.control;
function n(e){
var t=a.rtlTranslate ? -a.translate:a.translate;
"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e), s=-a.controller.spline.interpolate(-t)), s&&"container"!==a.params.controller.by||(i=(e.maxTranslate() - e.minTranslate()) / (a.maxTranslate() - a.minTranslate()), s=(t - a.minTranslate()) * i + e.minTranslate()), a.params.controller.inverse&&(s=e.maxTranslate() - s), e.updateProgress(s), e.setTranslate(s, a), e.updateActiveIndex(), e.updateSlidesClasses()
}
if(Array.isArray(r)) for (var o=0; o < r.length; o +=1) r[o]!==t&&r[o] instanceof j&&n(r[o]); else r instanceof j&&t!==r&&n(r)
}, setTransition: function (e, t){
var i, s=this, a=s.controller.control;
function r(t){
t.setTransition(e, s), 0!==e&&(t.transitionStart(), t.params.autoHeight&&d.nextTick((function (){
t.updateAutoHeight()
})), t.$wrapperEl.transitionEnd((function (){
a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(), t.transitionEnd())
})))
}
if(Array.isArray(a)) for (i=0; i < a.length; i +=1) a[i]!==t&&a[i] instanceof j&&r(a[i]); else a instanceof j&&t!==a&&r(a)
}}, ue={
makeElFocusable: function (e){
return e.attr("tabIndex", "0"), e
}, makeElNotFocusable: function (e){
return e.attr("tabIndex", "-1"), e
}, addElRole: function (e, t){
return e.attr("role", t), e
}, addElLabel: function (e, t){
return e.attr("aria-label", t), e
}, disableEl: function (e){
return e.attr("aria-disabled", !0), e
}, enableEl: function (e){
return e.attr("aria-disabled", !1), e
}, onEnterKey: function (e){
var t=this.params.a11y;
if(13===e.keyCode){
var i=n(e.target);
this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(), this.isEnd ? this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)), this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(), this.isBeginning ? this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)), this.pagination&&i.is("." + this.params.pagination.bulletClass)&&i[0].click()
}}, notify: function (e){
var t=this.a11y.liveRegion;
0!==t.length&&(t.html(""), t.html(e))
}, updateNavigation: function (){
if(!this.params.loop&&this.navigation){
var e=this.navigation, t=e.$nextEl, i=e.$prevEl;
i&&i.length > 0&&(this.isBeginning ? (this.a11y.disableEl(i), this.a11y.makeElNotFocusable(i)):(this.a11y.enableEl(i), this.a11y.makeElFocusable(i))), t&&t.length > 0&&(this.isEnd ? (this.a11y.disableEl(t), this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t), this.a11y.makeElFocusable(t)))
}}, updatePagination: function (){
var e=this, t=e.params.a11y;
e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function (i, s){
var a=n(s);
e.a11y.makeElFocusable(a), e.a11y.addElRole(a, "button"), e.a11y.addElLabel(a, t.paginationBulletMessage.replace(/\{\{index\}\}/, a.index() + 1))
}))
}, init: function (){
this.$el.append(this.a11y.liveRegion);
var e, t, i=this.params.a11y;
this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl), this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl), e&&(this.a11y.makeElFocusable(e), this.a11y.addElRole(e, "button"), this.a11y.addElLabel(e, i.nextSlideMessage), e.on("keydown", this.a11y.onEnterKey)), t&&(this.a11y.makeElFocusable(t), this.a11y.addElRole(t, "button"), this.a11y.addElLabel(t, i.prevSlideMessage), t.on("keydown", this.a11y.onEnterKey)), this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey)
}, destroy: function (){
var e, t;
this.a11y.liveRegion&&this.a11y.liveRegion.length > 0&&this.a11y.liveRegion.remove(), this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl), this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl), e&&e.off("keydown", this.a11y.onEnterKey), t&&t.off("keydown", this.a11y.onEnterKey), this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey)
}}, ve={
init: function (){
if(this.params.history){
if(!a.history||!a.history.pushState) return this.params.history.enabled = !1, void (this.params.hashNavigation.enabled = !0);
var e=this.history;
e.initialized = !0, e.paths=ve.getPathValues(), (e.paths.key||e.paths.value)&&(e.scrollToSlide(0, e.paths.value, this.params.runCallbacksOnInit), this.params.history.replaceState||a.addEventListener("popstate", this.history.setHistoryPopState))
}}, destroy: function (){
this.params.history.replaceState||a.removeEventListener("popstate", this.history.setHistoryPopState)
}, setHistoryPopState: function (){
this.history.paths=ve.getPathValues(), this.history.scrollToSlide(this.params.speed, this.history.paths.value, !1)
}, getPathValues: function (){
var e=a.location.pathname.slice(1).split("/").filter((function (e){
return ""!==e
})), t=e.length;
return {key: e[t - 2], value: e[t - 1]}}, setHistory: function (e, t){
if(this.history.initialized&&this.params.history.enabled){
var i=this.slides.eq(t), s=ve.slugify(i.attr("data-history"));
a.location.pathname.includes(e)||(s=e + "/" + s);
var r=a.history.state;
r&&r.value===s||(this.params.history.replaceState ? a.history.replaceState({value: s}, null, s):a.history.pushState({value: s}, null, s))
}}, slugify: function (e){
return e.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, "")
}, scrollToSlide: function (e, t, i){
if(t) for (var s=0, a=this.slides.length; s < a; s +=1){
var r=this.slides.eq(s);
if(ve.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){
var n=r.index();
this.slideTo(n, e, i)
}} else this.slideTo(0, e, i)
}}, fe={
onHashCange: function (){
this.emit("hashChange");
var e=i.location.hash.replace("#", "");
if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){
var t=this.$wrapperEl.children("." + this.params.slideClass + '[data-hash="' + e + '"]').index();
if(void 0===t) return;
this.slideTo(t)
}}, setHash: function (){
if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled) if(this.params.hashNavigation.replaceState&&a.history&&a.history.replaceState) a.history.replaceState(null, null, "#" + this.slides.eq(this.activeIndex).attr("data-hash")||""), this.emit("hashSet"); else {
var e=this.slides.eq(this.activeIndex), t=e.attr("data-hash")||e.attr("data-history");
i.location.hash=t||"", this.emit("hashSet")
}}, init: function (){
if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){
this.hashNavigation.initialized = !0;
var e=i.location.hash.replace("#", "");
if(e) for (var t=0, s=this.slides.length; t < s; t +=1){
var r=this.slides.eq(t);
if((r.attr("data-hash")||r.attr("data-history"))===e&&!r.hasClass(this.params.slideDuplicateClass)){
var o=r.index();
this.slideTo(o, 0, this.params.runCallbacksOnInit, !0)
}}
this.params.hashNavigation.watchState&&n(a).on("hashchange", this.hashNavigation.onHashCange)
}}, destroy: function (){
this.params.hashNavigation.watchState&&n(a).off("hashchange", this.hashNavigation.onHashCange)
}}, me={
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=d.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 (){
return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running = !0, this.emit("autoplayStart"), this.autoplay.run(), !0))
}, stop: function (){
return !!this.autoplay.running&&(void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout), this.autoplay.timeout=void 0), this.autoplay.running = !1, this.emit("autoplayStop"), !0))
}, pause: function (e){
this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout), this.autoplay.paused = !0, 0!==e&&this.params.autoplay.waitForTransition ? (this.$wrapperEl[0].addEventListener("transitionend", this.autoplay.onTransitionEnd), this.$wrapperEl[0].addEventListener("webkitTransitionEnd", this.autoplay.onTransitionEnd)):(this.autoplay.paused = !1, this.autoplay.run())))
}}, ge={
setTranslate: function (){
for (var e=this.slides, t=0; t < e.length; t +=1){
var i=this.slides.eq(t), s=-i[0].swiperSlideOffset;
this.params.virtualTranslate||(s -=this.translate);
var a=0;
this.isHorizontal()||(a=s, s=0);
var r=this.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(i[0].progress), 0):1 + Math.min(Math.max(i[0].progress, -1), 0);
i.css({opacity: r}).transform("translate3d(" + s + "px, " + a + "px, 0px)")
}}, setTransition: function (e){
var t=this, i=t.slides, s=t.$wrapperEl;
if(i.transition(e), t.params.virtualTranslate&&0!==e){
var a = !1;
i.transitionEnd((function (){
if(!a&&t && !t.destroyed){
a = !0, t.animating = !1;
for (var e=["webkitTransitionEnd", "transitionend"], i=0; i < e.length; i +=1) s.trigger(e[i])
}}))
}}
}, be={
setTranslate: function (){
var e, t=this.$el, i=this.$wrapperEl, s=this.slides, a=this.width, r=this.height,
o=this.rtlTranslate, l=this.size, d=this.params.cubeEffect, h=this.isHorizontal(),
p=this.virtual&&this.params.virtual.enabled, c=0;
d.shadow&&(h ? (0===(e=i.find(".swiper-cube-shadow")).length&&(e=n('<div class="swiper-cube-shadow"></div>'), i.append(e)), e.css({height: a + "px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=n('<div class="swiper-cube-shadow"></div>'), t.append(e)));
for (var u=0; u < s.length; u +=1){
var v=s.eq(u), f=u;
p&&(f=parseInt(v.attr("data-swiper-slide-index"), 10));
var m=90 * f, g=Math.floor(m / 360);
o&&(m=-m, g=Math.floor(-m / 360));
var b=Math.max(Math.min(v[0].progress, 1), -1), w=0, y=0, x=0;
f % 4==0 ? (w=4 * -g * l, x=0):(f - 1) % 4==0 ? (w=0, x=4 * -g * l):(f - 2) % 4==0 ? (w=l + 4 * g * l, x=l):(f - 3) % 4==0&&(w=-l, x=3 * l + 4 * l * g), o&&(w=-w), h||(y=w, w=0);
var E="rotateX(" + (h ? 0:-m) + "deg) rotateY(" + (h ? m:0) + "deg) translate3d(" + w + "px, " + y + "px, " + x + "px)";
if(b <=1&&b > -1&&(c=90 * f + 90 * b, o&&(c=90 * -f - 90 * b)), v.transform(E), d.slideShadows){
var T=h ? v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),
S=h ? v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");
0===T.length&&(T=n('<div class="swiper-slide-shadow-' + (h ? "left":"top") + '"></div>'), v.append(T)), 0===S.length&&(S=n('<div class="swiper-slide-shadow-' + (h ? "right":"bottom") + '"></div>'), v.append(S)), T.length&&(T[0].style.opacity=Math.max(-b, 0)), S.length&&(S[0].style.opacity=Math.max(b, 0))
}}
if(i.css({
"-webkit-transform-origin": "50% 50% -" + l / 2 + "px",
"-moz-transform-origin": "50% 50% -" + l / 2 + "px",
"-ms-transform-origin": "50% 50% -" + l / 2 + "px",
"transform-origin": "50% 50% -" + l / 2 + "px"
}), d.shadow) if(h) e.transform("translate3d(0px, " + (a / 2 + d.shadowOffset) + "px, " + -a / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + d.shadowScale + ")"); else {
var C=Math.abs(c) - 90 * Math.floor(Math.abs(c) / 90),
M=1.5 - (Math.sin(2 * C * Math.PI / 360) / 2 + Math.cos(2 * C * Math.PI / 360) / 2),
P=d.shadowScale, z=d.shadowScale / M, k=d.shadowOffset;
e.transform("scale3d(" + P + ", 1, " + z + ") translate3d(0px, " + (r / 2 + k) + "px, " + -r / 2 / z + "px) rotateX(-90deg)")
}
var $=_.isSafari||_.isWebView ? -l / 2:0;
i.transform("translate3d(0px,0," + $ + "px) rotateX(" + (this.isHorizontal() ? 0:c) + "deg) rotateY(" + (this.isHorizontal() ? -c:0) + "deg)")
}, setTransition: function (e){
var t=this.$el;
this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)
}}, we={
setTranslate: function (){
for (var e=this.slides, t=this.rtlTranslate, i=0; i < e.length; i +=1){
var s=e.eq(i), a=s[0].progress;
this.params.flipEffect.limitRotation&&(a=Math.max(Math.min(s[0].progress, 1), -1));
var r=-180 * a, o=0, l=-s[0].swiperSlideOffset, d=0;
if(this.isHorizontal() ? t&&(r=-r):(d=l, l=0, o=-r, r=0), s[0].style.zIndex=-Math.abs(Math.round(a)) + e.length, this.params.flipEffect.slideShadows){
var h=this.isHorizontal() ? s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),
p=this.isHorizontal() ? s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");
0===h.length&&(h=n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "left":"top") + '"></div>'), s.append(h)), 0===p.length&&(p=n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "right":"bottom") + '"></div>'), s.append(p)), h.length&&(h[0].style.opacity=Math.max(-a, 0)), p.length&&(p[0].style.opacity=Math.max(a, 0))
}
s.transform("translate3d(" + l + "px, " + d + "px, 0px) rotateX(" + o + "deg) rotateY(" + r + "deg)")
}}, setTransition: function (e){
var t=this, i=t.slides, s=t.activeIndex, a=t.$wrapperEl;
if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), t.params.virtualTranslate&&0!==e){
var r = !1;
i.eq(s).transitionEnd((function (){
if(!r&&t && !t.destroyed){
r = !0, t.animating = !1;
for (var e=["webkitTransitionEnd", "transitionend"], i=0; i < e.length; i +=1) a.trigger(e[i])
}}))
}}
}, ye={
setTranslate: function (){
for (var e=this.width, t=this.height, i=this.slides, s=this.$wrapperEl, a=this.slidesSizesGrid, r=this.params.coverflowEffect, o=this.isHorizontal(), l=this.translate, d=o ? e / 2 - l:t / 2 - l, p=o ? r.rotate:-r.rotate, c=r.depth, u=0, v=i.length; u < v; u +=1){
var f=i.eq(u), m=a[u], g=(d - f[0].swiperSlideOffset - m / 2) / m * r.modifier, b=o ? p * g:0,
w=o ? 0:p * g, y=-c * Math.abs(g), x=r.stretch;
"string"==typeof x&&-1!==x.indexOf("%")&&(x=parseFloat(r.stretch) / 100 * m);
var E=o ? 0:x * g, T=o ? x * g:0, S=1 - (1 - r.scale) * Math.abs(g);
Math.abs(T) < .001&&(T=0), Math.abs(E) < .001&&(E=0), Math.abs(y) < .001&&(y=0), Math.abs(b) < .001&&(b=0), Math.abs(w) < .001&&(w=0), Math.abs(S) < .001&&(S=0);
var C="translate3d(" + T + "px," + E + "px," + y + "px)  rotateX(" + w + "deg) rotateY(" + b + "deg) scale(" + S + ")";
if(f.transform(C), f[0].style.zIndex=1 - Math.abs(Math.round(g)), r.slideShadows){
var M=o ? f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),
P=o ? f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");
0===M.length&&(M=n('<div class="swiper-slide-shadow-' + (o ? "left":"top") + '"></div>'), f.append(M)), 0===P.length&&(P=n('<div class="swiper-slide-shadow-' + (o ? "right":"bottom") + '"></div>'), f.append(P)), M.length&&(M[0].style.opacity=g > 0 ? g:0), P.length&&(P[0].style.opacity=-g > 0 ? -g:0)
}}
(h.pointerEvents||h.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=d + "px 50%")
}, setTransition: function (e){
this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)
}}, xe={
init: function (){
var e=this.params.thumbs, t=this.constructor;
e.swiper instanceof t ? (this.thumbs.swiper=e.swiper, d.extend(this.thumbs.swiper.originalParams, {
watchSlidesProgress: !0,
slideToClickedSlide: !1
}), d.extend(this.thumbs.swiper.params, {
watchSlidesProgress: !0,
slideToClickedSlide: !1
})):d.isObject(e.swiper)&&(this.thumbs.swiper=new t(d.extend({}, e.swiper, {
watchSlidesVisibility: !0,
watchSlidesProgress: !0,
slideToClickedSlide: !1
})), this.thumbs.swiperCreated = !0), this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass), this.thumbs.swiper.on("tap", this.thumbs.onThumbClick)
}, onThumbClick: function (){
var e=this.thumbs.swiper;
if(e){
var t=e.clickedIndex, i=e.clickedSlide;
if(!(i&&n(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){
var s;
if(s=e.params.loop ? parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"), 10):t, this.params.loop){
var a=this.activeIndex;
this.slides.eq(a).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(), this._clientLeft=this.$wrapperEl[0].clientLeft, a=this.activeIndex);
var r=this.slides.eq(a).prevAll('[data-swiper-slide-index="' + s + '"]').eq(0).index(),
o=this.slides.eq(a).nextAll('[data-swiper-slide-index="' + s + '"]').eq(0).index();
s=void 0===r ? o:void 0===o ? r:o - a < a - r ? o:r
}
this.slideTo(s)
}}
}, update: function (e){
var t=this.thumbs.swiper;
if(t){
var i="auto"===t.params.slidesPerView ? t.slidesPerViewDynamic():t.params.slidesPerView,
s=this.params.thumbs.autoScrollOffset, a=s&&!t.params.loop;
if(this.realIndex!==t.realIndex||a){
var r, n, o=t.activeIndex;
if(t.params.loop){
t.slides.eq(o).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(), t._clientLeft=t.$wrapperEl[0].clientLeft, o=t.activeIndex);
var l=t.slides.eq(o).prevAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index(),
d=t.slides.eq(o).nextAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index();
r=void 0===l ? d:void 0===d ? l:d - o==o - l ? o:d - o < o - l ? d:l, n=this.activeIndex > this.previousIndex ? "next":"prev"
} else n=(r=this.realIndex) > this.previousIndex ? "next":"prev";
a&&(r +="next"===n ? s:-1 * s), t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(r) < 0&&(t.params.centeredSlides ? r=r > o ? r - Math.floor(i / 2) + 1:r + Math.floor(i / 2) - 1:r > o&&(r=r - i + 1), t.slideTo(r, e ? 0:void 0))
}
var h=1, p=this.params.thumbs.slideThumbActiveClass;
if(this.params.slidesPerView > 1&&!this.params.centeredSlides&&(h=this.params.slidesPerView), this.params.thumbs.multipleActiveThumbs||(h=1), h=Math.floor(h), t.slides.removeClass(p), t.params.loop||t.params.virtual&&t.params.virtual.enabled) for (var c=0; c < h; c +=1) t.$wrapperEl.children('[data-swiper-slide-index="' + (this.realIndex + c) + '"]').addClass(p); else for (var u=0; u < h; u +=1) t.slides.eq(this.realIndex + u).addClass(p)
}}
}, Ee=[K, U, Z, Q, ee, ie, ae, {
name: "mousewheel",
params: {
mousewheel: {
enabled: !1,
releaseOnEdges: !1,
invert: !1,
forceToAxis: !1,
sensitivity: 1,
eventsTarged: "container"
}},
create: function (){
d.extend(this, {
mousewheel: {
enabled: !1,
enable: re.enable.bind(this),
disable: re.disable.bind(this),
handle: re.handle.bind(this),
handleMouseEnter: re.handleMouseEnter.bind(this),
handleMouseLeave: re.handleMouseLeave.bind(this),
animateSlider: re.animateSlider.bind(this),
releaseScroll: re.releaseScroll.bind(this),
lastScrollTime: d.now(),
lastEventBeforeSnap: void 0,
recentWheelEvents: []
}})
},
on: {
init: function (){
!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(), this.params.mousewheel.enabled&&this.mousewheel.enable()
}, destroy: function (){
this.params.cssMode&&this.mousewheel.enable(), this.mousewheel.enabled&&this.mousewheel.disable()
}}
}, {
name: "navigation",
params: {
navigation: {
nextEl: null,
prevEl: null,
hideOnClick: !1,
disabledClass: "swiper-button-disabled",
hiddenClass: "swiper-button-hidden",
lockClass: "swiper-button-lock"
}},
create: function (){
d.extend(this, {
navigation: {
init: ne.init.bind(this),
update: ne.update.bind(this),
destroy: ne.destroy.bind(this),
onNextClick: ne.onNextClick.bind(this),
onPrevClick: ne.onPrevClick.bind(this)
}})
},
on: {
init: function (){
this.navigation.init(), this.navigation.update()
}, toEdge: function (){
this.navigation.update()
}, fromEdge: function (){
this.navigation.update()
}, destroy: function (){
this.navigation.destroy()
}, click: function (e){
var t, i=this.navigation, s=i.$nextEl, a=i.$prevEl;
!this.params.navigation.hideOnClick||n(e.target).is(a)||n(e.target).is(s)||(s ? t=s.hasClass(this.params.navigation.hiddenClass):a&&(t=a.hasClass(this.params.navigation.hiddenClass)), !0===t ? this.emit("navigationShow", this):this.emit("navigationHide", this), s&&s.toggleClass(this.params.navigation.hiddenClass), a&&a.toggleClass(this.params.navigation.hiddenClass))
}}
}, {
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 (){
d.extend(this, {
pagination: {
init: oe.init.bind(this),
render: oe.render.bind(this),
update: oe.update.bind(this),
destroy: oe.destroy.bind(this),
dynamicBulletIndex: 0
}})
},
on: {
init: function (){
this.pagination.init(), this.pagination.render(), this.pagination.update()
}, activeIndexChange: function (){
(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()
}, snapIndexChange: function (){
this.params.loop||this.pagination.update()
}, slidesLengthChange: function (){
this.params.loop&&(this.pagination.render(), this.pagination.update())
}, snapGridLengthChange: function (){
this.params.loop||(this.pagination.render(), this.pagination.update())
}, destroy: function (){
this.pagination.destroy()
}, click: function (e){
this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length > 0&&!n(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass) ? this.emit("paginationShow", this):this.emit("paginationHide", this), this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))
}}
}, {
name: "scrollbar",
params: {
scrollbar: {
el: null,
dragSize: "auto",
hide: !1,
draggable: !1,
snapOnRelease: !0,
lockClass: "swiper-scrollbar-lock",
dragClass: "swiper-scrollbar-drag"
}},
create: function (){
d.extend(this, {
scrollbar: {
init: le.init.bind(this),
destroy: le.destroy.bind(this),
updateSize: le.updateSize.bind(this),
setTranslate: le.setTranslate.bind(this),
setTransition: le.setTransition.bind(this),
enableDraggable: le.enableDraggable.bind(this),
disableDraggable: le.disableDraggable.bind(this),
setDragPosition: le.setDragPosition.bind(this),
getPointerPosition: le.getPointerPosition.bind(this),
onDragStart: le.onDragStart.bind(this),
onDragMove: le.onDragMove.bind(this),
onDragEnd: le.onDragEnd.bind(this),
isTouched: !1,
timeout: null,
dragTimeout: null
}})
},
on: {
init: function (){
this.scrollbar.init(), this.scrollbar.updateSize(), this.scrollbar.setTranslate()
}, update: function (){
this.scrollbar.updateSize()
}, resize: function (){
this.scrollbar.updateSize()
}, observerUpdate: function (){
this.scrollbar.updateSize()
}, setTranslate: function (){
this.scrollbar.setTranslate()
}, setTransition: function (e){
this.scrollbar.setTransition(e)
}, destroy: function (){
this.scrollbar.destroy()
}}
}, {
name: "parallax", params: {parallax: {enabled: !1}}, create: function (){
d.extend(this, {
parallax: {
setTransform: de.setTransform.bind(this),
setTranslate: de.setTranslate.bind(this),
setTransition: de.setTransition.bind(this)
}})
}, on: {
beforeInit: function (){
this.params.parallax.enabled&&(this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0)
}, init: function (){
this.params.parallax.enabled&&this.parallax.setTranslate()
}, setTranslate: function (){
this.params.parallax.enabled&&this.parallax.setTranslate()
}, setTransition: function (e){
this.params.parallax.enabled&&this.parallax.setTransition(e)
}}
}, {
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]=he[i].bind(e)
})), d.extend(e, {zoom: t});
var i=1;
Object.defineProperty(e.zoom, "scale", {
get: function (){
return i
}, set: function (t){
if(i!==t){
var s=e.zoom.gesture.$imageEl ? e.zoom.gesture.$imageEl[0]:void 0,
a=e.zoom.gesture.$slideEl ? e.zoom.gesture.$slideEl[0]:void 0;
e.emit("zoomChange", t, s, a)
}
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){
this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)
}, transitionEnd: function (){
this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()
}, slideChange: function (){
this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()
}}
}, {
name: "lazy",
params: {
lazy: {
enabled: !1,
loadPrevNext: !1,
loadPrevNextAmount: 1,
loadOnTransitionStart: !1,
elementClass: "swiper-lazy",
loadingClass: "swiper-lazy-loading",
loadedClass: "swiper-lazy-loaded",
preloaderClass: "swiper-lazy-preloader"
}},
create: function (){
d.extend(this, {
lazy: {
initialImageLoaded: !1,
load: pe.load.bind(this),
loadInSlide: pe.loadInSlide.bind(this)
}})
},
on: {
beforeInit: function (){
this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages = !1)
}, init: function (){
this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()
}, scroll: function (){
this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()
}, resize: function (){
this.params.lazy.enabled&&this.lazy.load()
}, scrollbarDragMove: function (){
this.params.lazy.enabled&&this.lazy.load()
}, transitionStart: function (){
this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()
}, transitionEnd: function (){
this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()
}, slideChange: function (){
this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()
}}
}, {
name: "controller", params: {controller: {control: void 0, inverse: !1, by: "slide"}}, create: function (){
d.extend(this, {
controller: {
control: this.params.controller.control,
getInterpolateFunction: ce.getInterpolateFunction.bind(this),
setTranslate: ce.setTranslate.bind(this),
setTransition: ce.setTransition.bind(this)
}})
}, on: {
update: function (){
this.controller.control&&this.controller.spline&&(this.controller.spline=void 0, delete this.controller.spline)
}, resize: function (){
this.controller.control&&this.controller.spline&&(this.controller.spline=void 0, delete this.controller.spline)
}, observerUpdate: function (){
this.controller.control&&this.controller.spline&&(this.controller.spline=void 0, delete this.controller.spline)
}, setTranslate: function (e, t){
this.controller.control&&this.controller.setTranslate(e, t)
}, setTransition: function (e, t){
this.controller.control&&this.controller.setTransition(e, t)
}}
}, {
name: "a11y",
params: {
a11y: {
enabled: !0,
notificationClass: "swiper-notification",
prevSlideMessage: "Previous slide",
nextSlideMessage: "Next slide",
firstSlideMessage: "This is the first slide",
lastSlideMessage: "This is the last slide",
paginationBulletMessage: "Go to slide {{index}}"
}},
create: function (){
var e=this;
d.extend(e, {a11y: {liveRegion: n('<span class="' + e.params.a11y.notificationClass + '" aria-live="assertive" aria-atomic="true"></span>')}}), Object.keys(ue).forEach((function (t){
e.a11y[t]=ue[t].bind(e)
}))
},
on: {
init: function (){
this.params.a11y.enabled&&(this.a11y.init(), this.a11y.updateNavigation())
}, toEdge: function (){
this.params.a11y.enabled&&this.a11y.updateNavigation()
}, fromEdge: function (){
this.params.a11y.enabled&&this.a11y.updateNavigation()
}, paginationUpdate: function (){
this.params.a11y.enabled&&this.a11y.updatePagination()
}, destroy: function (){
this.params.a11y.enabled&&this.a11y.destroy()
}}
}, {
name: "history", params: {history: {enabled: !1, replaceState: !1, key: "slides"}}, create: function (){
d.extend(this, {
history: {
init: ve.init.bind(this),
setHistory: ve.setHistory.bind(this),
setHistoryPopState: ve.setHistoryPopState.bind(this),
scrollToSlide: ve.scrollToSlide.bind(this),
destroy: ve.destroy.bind(this)
}})
}, on: {
init: function (){
this.params.history.enabled&&this.history.init()
}, destroy: function (){
this.params.history.enabled&&this.history.destroy()
}, transitionEnd: function (){
this.history.initialized&&this.history.setHistory(this.params.history.key, this.activeIndex)
}, slideChange: function (){
this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key, this.activeIndex)
}}
}, {
name: "hash-navigation",
params: {hashNavigation: {enabled: !1, replaceState: !1, watchState: !1}},
create: function (){
d.extend(this, {
hashNavigation: {
initialized: !1,
init: fe.init.bind(this),
destroy: fe.destroy.bind(this),
setHash: fe.setHash.bind(this),
onHashCange: fe.onHashCange.bind(this)
}})
},
on: {
init: function (){
this.params.hashNavigation.enabled&&this.hashNavigation.init()
}, destroy: function (){
this.params.hashNavigation.enabled&&this.hashNavigation.destroy()
}, transitionEnd: function (){
this.hashNavigation.initialized&&this.hashNavigation.setHash()
}, slideChange: function (){
this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()
}}
}, {
name: "autoplay",
params: {
autoplay: {
enabled: !1,
delay: 3e3,
waitForTransition: !0,
disableOnInteraction: !0,
stopOnLastSlide: !1,
reverseDirection: !1
}},
create: function (){
var e=this;
d.extend(e, {
autoplay: {
running: !1,
paused: !1,
run: me.run.bind(e),
start: me.start.bind(e),
stop: me.stop.bind(e),
pause: me.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 (){
this.params.autoplay.enabled&&(this.autoplay.start(), document.addEventListener("visibilitychange", this.autoplay.onVisibilityChange))
}, beforeTransitionStart: function (e, t){
this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction ? this.autoplay.pause(e):this.autoplay.stop())
}, sliderFirstMove: function (){
this.autoplay.running&&(this.params.autoplay.disableOnInteraction ? this.autoplay.stop():this.autoplay.pause())
}, touchEnd: function (){
this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()
}, destroy: function (){
this.autoplay.running&&this.autoplay.stop(), document.removeEventListener("visibilitychange", this.autoplay.onVisibilityChange)
}}
}, {
name: "effect-fade", params: {fadeEffect: {crossFade: !1}}, create: function (){
d.extend(this, {
fadeEffect: {
setTranslate: ge.setTranslate.bind(this),
setTransition: ge.setTransition.bind(this)
}})
}, on: {
beforeInit: function (){
if("fade"===this.params.effect){
this.classNames.push(this.params.containerModifierClass + "fade");
var e={
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerGroup: 1,
watchSlidesProgress: !0,
spaceBetween: 0,
virtualTranslate: !0
};
d.extend(this.params, e), d.extend(this.originalParams, e)
}}, setTranslate: function (){
"fade"===this.params.effect&&this.fadeEffect.setTranslate()
}, setTransition: function (e){
"fade"===this.params.effect&&this.fadeEffect.setTransition(e)
}}
}, {
name: "effect-cube",
params: {cubeEffect: {slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94}},
create: function (){
d.extend(this, {
cubeEffect: {
setTranslate: be.setTranslate.bind(this),
setTransition: be.setTransition.bind(this)
}})
},
on: {
beforeInit: function (){
if("cube"===this.params.effect){
this.classNames.push(this.params.containerModifierClass + "cube"), this.classNames.push(this.params.containerModifierClass + "3d");
var e={
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerGroup: 1,
watchSlidesProgress: !0,
resistanceRatio: 0,
spaceBetween: 0,
centeredSlides: !1,
virtualTranslate: !0
};
d.extend(this.params, e), d.extend(this.originalParams, e)
}}, setTranslate: function (){
"cube"===this.params.effect&&this.cubeEffect.setTranslate()
}, setTransition: function (e){
"cube"===this.params.effect&&this.cubeEffect.setTransition(e)
}}
}, {
name: "effect-flip", params: {flipEffect: {slideShadows: !0, limitRotation: !0}}, create: function (){
d.extend(this, {
flipEffect: {
setTranslate: we.setTranslate.bind(this),
setTransition: we.setTransition.bind(this)
}})
}, on: {
beforeInit: function (){
if("flip"===this.params.effect){
this.classNames.push(this.params.containerModifierClass + "flip"), this.classNames.push(this.params.containerModifierClass + "3d");
var e={
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerGroup: 1,
watchSlidesProgress: !0,
spaceBetween: 0,
virtualTranslate: !0
};
d.extend(this.params, e), d.extend(this.originalParams, e)
}}, setTranslate: function (){
"flip"===this.params.effect&&this.flipEffect.setTranslate()
}, setTransition: function (e){
"flip"===this.params.effect&&this.flipEffect.setTransition(e)
}}
}, {
name: "effect-coverflow",
params: {coverflowEffect: {rotate: 50, stretch: 0, depth: 100, scale: 1, modifier: 1, slideShadows: !0}},
create: function (){
d.extend(this, {
coverflowEffect: {
setTranslate: ye.setTranslate.bind(this),
setTransition: ye.setTransition.bind(this)
}})
},
on: {
beforeInit: function (){
"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass + "coverflow"), this.classNames.push(this.params.containerModifierClass + "3d"), this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0)
}, setTranslate: function (){
"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()
}, setTransition: function (e){
"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)
}}
}, {
name: "thumbs",
params: {
thumbs: {
swiper: null,
multipleActiveThumbs: !0,
autoScrollOffset: 0,
slideThumbActiveClass: "swiper-slide-thumb-active",
thumbsContainerClass: "swiper-container-thumbs"
}},
create: function (){
d.extend(this, {
thumbs: {
swiper: null,
init: xe.init.bind(this),
update: xe.update.bind(this),
onThumbClick: xe.onThumbClick.bind(this)
}})
},
on: {
beforeInit: function (){
var e=this.params.thumbs;
e&&e.swiper&&(this.thumbs.init(), this.thumbs.update(!0))
}, slideChange: function (){
this.thumbs.swiper&&this.thumbs.update()
}, update: function (){
this.thumbs.swiper&&this.thumbs.update()
}, resize: function (){
this.thumbs.swiper&&this.thumbs.update()
}, observerUpdate: function (){
this.thumbs.swiper&&this.thumbs.update()
}, setTransition: function (e){
var t=this.thumbs.swiper;
t&&t.setTransition(e)
}, beforeDestroy: function (){
var e=this.thumbs.swiper;
e&&this.thumbs.swiperCreated&&e && e.destroy()
}}
}];
return void 0===j.use&&(j.use=j.Class.use, j.installModule=j.Class.installModule), j.use(Ee), j
}));
!function (e, t){
"object"==typeof exports&&"undefined"!=typeof module ? module.exports=t():"function"==typeof define&&define.amd ? define(t):(e=e||self).Swiper=t()
}(this, (function (){
"use strict";
function e(e){
return null!==e&&"object"==typeof e&&"constructor" in e&&e.constructor===Object
}
function t(i, s){
void 0===i&&(i={}), void 0===s&&(s={}), Object.keys(s).forEach((function (a){
void 0===i[a] ? i[a]=s[a]:e(s[a])&&e(i[a])&&Object.keys(s[a]).length > 0&&t(i[a], s[a])
}))
}
var i="undefined"!=typeof document ? document:{}, s={
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: ""}};
t(i, s);
var a="undefined"!=typeof window ? window:{};
t(a, {
document: s,
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 r=function (e){
for (var t=0; t < e.length; t +=1) this[t]=e[t];
return this.length=e.length, this
};
function n(e, t){
var s=[], n=0;
if(e&&!t&&e instanceof r) return e;
if(e) if("string"==typeof e){
var o, l, d=e.trim();
if(d.indexOf("<") >=0&&d.indexOf(">") >=0){
var h="div";
for (0===d.indexOf("<li")&&(h="ul"), 0===d.indexOf("<tr")&&(h="tbody"), 0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"), 0===d.indexOf("<tbody")&&(h="table"), 0===d.indexOf("<option")&&(h="select"), (l=i.createElement(h)).innerHTML=d, n=0; n < l.childNodes.length; n +=1) s.push(l.childNodes[n])
} else for (o=t||"#"!==e[0]||e.match(/[ .<>:~]/) ? (t||i).querySelectorAll(e.trim()):[i.getElementById(e.trim().split("#")[1])], n=0; n < o.length; n +=1) o[n]&&s.push(o[n])
}else if(e.nodeType||e===a||e===i) s.push(e); else if(e.length > 0&&e[0].nodeType) for (n=0; n < e.length; n +=1) s.push(e[n]);
return new r(s)
}
function o(e){
for (var t=[], i=0; i < e.length; i +=1) -1===t.indexOf(e[i])&&t.push(e[i]);
return t
}
n.fn=r.prototype, n.Class=r, n.Dom7=r;
var l={
addClass: function (e){
if(void 0===e) return this;
for (var t=e.split(" "), i=0; i < t.length; i +=1) for (var s=0; s < this.length; s +=1) void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);
return this
}, removeClass: function (e){
for (var t=e.split(" "), i=0; i < t.length; i +=1) for (var s=0; s < this.length; s +=1) void 0!==this[s]&&void 0!==this[s].classList&&this[s].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 s=0; s < this.length; s +=1) void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);
return this
}, attr: function (e, t){
var i=arguments;
if(1===arguments.length&&"string"==typeof e) return this[0] ? this[0].getAttribute(e):void 0;
for (var s=0; s < this.length; s +=1) if(2===i.length) this[s].setAttribute(e, t); else for (var a in e) this[s][a]=e[a], this[s].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(void 0!==t){
for (var s=0; s < this.length; s +=1) (i=this[s]).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 a=i.getAttribute("data-" + e);
return a||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=[], i=arguments.length; i--;) t[i]=arguments[i];
var s=t[0], a=t[1], r=t[2], o=t[3];
function l(e){
var t=e.target;
if(t){
var i=e.target.dom7EventData||[];
if(i.indexOf(e) < 0&&i.unshift(e), n(t).is(a)) r.apply(t, i); else for (var s=n(t).parents(), o=0; o < s.length; o +=1) n(s[o]).is(a)&&r.apply(s[o], i)
}}
function d(e){
var t=e&&e.target&&e.target.dom7EventData||[];
t.indexOf(e) < 0&&t.unshift(e), r.apply(this, t)
}
"function"==typeof t[1]&&(s=(e=t)[0], r=e[1], o=e[2], a=void 0), o||(o = !1);
for (var h, p=s.split(" "), c=0; c < this.length; c +=1){
var u=this[c];
if(a) for (h=0; h < p.length; h +=1){
var v=p[h];
u.dom7LiveListeners||(u.dom7LiveListeners={}), u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]), u.dom7LiveListeners[v].push({
listener: r,
proxyListener: l
}), u.addEventListener(v, l, o)
} else for (h=0; h < p.length; h +=1){
var f=p[h];
u.dom7Listeners||(u.dom7Listeners={}), u.dom7Listeners[f]||(u.dom7Listeners[f]=[]), u.dom7Listeners[f].push({
listener: r,
proxyListener: d
}), u.addEventListener(f, d, o)
}}
return this
}, off: function (){
for (var e, t=[], i=arguments.length; i--;) t[i]=arguments[i];
var s=t[0], a=t[1], r=t[2], n=t[3];
"function"==typeof t[1]&&(s=(e=t)[0], r=e[1], n=e[2], a=void 0), n||(n = !1);
for (var o=s.split(" "), l=0; l < o.length; l +=1) for (var d=o[l], h=0; h < this.length; h +=1){
var p=this[h], c=void 0;
if(!a&&p.dom7Listeners ? c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]), c&&c.length) for (var u=c.length - 1; u >=0; u -=1){
var v=c[u];
r&&v.listener===r||r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r ? (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1)):r||(p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1))
}}
return this
}, trigger: function (){
for (var e=[], t=arguments.length; t--;) e[t]=arguments[t];
for (var s=e[0].split(" "), r=e[1], n=0; n < s.length; n +=1) for (var o=s[n], l=0; l < this.length; l +=1){
var d=this[l], h=void 0;
try {
h=new a.CustomEvent(o, {detail: r, bubbles: !0, cancelable: !0})
} catch (e){
(h=i.createEvent("Event")).initEvent(o, !0, !0), h.detail=r
}
d.dom7EventData=e.filter((function (e, t){
return t > 0
})), d.dispatchEvent(h), d.dom7EventData=[], delete d.dom7EventData
}
return this
}, transitionEnd: function (e){
var t, i=["webkitTransitionEnd", "transitionend"], s=this;
function a(r){
if(r.target===this) for (e.call(this, r), t=0; t < i.length; t +=1) s.off(i[t], a)
}
if(e) for (t=0; t < i.length; t +=1) s.on(i[t], a);
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(), s=i.body, r=e.clientTop||s.clientTop||0,
n=e.clientLeft||s.clientLeft||0, o=e===a ? a.scrollY:e.scrollTop,
l=e===a ? a.scrollX:e.scrollLeft;
return {top: t.top + o - r, left: t.left + l - n}}
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 s in e) this[i].style[s]=e[s];
return this
}
if(this[0]) return a.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(void 0===e) return this[0] ? this[0].innerHTML:void 0;
for (var t=0; t < this.length; t +=1) this[t].innerHTML=e;
return this
}, text: function (e){
if(void 0===e) return this[0] ? this[0].textContent.trim():null;
for (var t=0; t < this.length; t +=1) this[t].textContent=e;
return this
}, is: function (e){
var t, s, o=this[0];
if(!o||void 0===e) return !1;
if("string"==typeof e){
if(o.matches) return o.matches(e);
if(o.webkitMatchesSelector) return o.webkitMatchesSelector(e);
if(o.msMatchesSelector) return o.msMatchesSelector(e);
for (t=n(e), s=0; s < t.length; s +=1) if(t[s]===o) return !0;
return !1
}
if(e===i) return o===i;
if(e===a) return o===a;
if(e.nodeType||e instanceof r){
for (t=e.nodeType ? [e]:e, s=0; s < t.length; s +=1) if(t[s]===o) 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(void 0===e) return this;
var t, i=this.length;
return new r(e > i - 1 ? []:e < 0 ? (t=i + e) < 0 ? []:[this[t]]:[this[e]])
}, append: function (){
for (var e, t=[], s=arguments.length; s--;) t[s]=arguments[s];
for (var a=0; a < t.length; a +=1){
e=t[a];
for (var n=0; n < this.length; n +=1) if("string"==typeof e){
var o=i.createElement("div");
for (o.innerHTML=e; o.firstChild;) this[n].appendChild(o.firstChild)
}else if(e instanceof r) for (var l=0; l < e.length; l +=1) this[n].appendChild(e[l]); else this[n].appendChild(e)
}
return this
}, prepend: function (e){
var t, s;
for (t=0; t < this.length; t +=1) if("string"==typeof e){
var a=i.createElement("div");
for (a.innerHTML=e, s=a.childNodes.length - 1; s >=0; s -=1) this[t].insertBefore(a.childNodes[s], this[t].childNodes[0])
}else if(e instanceof r) for (s=0; s < e.length; s +=1) this[t].insertBefore(e[s], 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&&n(this[0].nextElementSibling).is(e) ? new r([this[0].nextElementSibling]):new r([]):this[0].nextElementSibling ? new r([this[0].nextElementSibling]):new r([]):new r([])
}, nextAll: function (e){
var t=[], i=this[0];
if(!i) return new r([]);
for (; i.nextElementSibling;){
var s=i.nextElementSibling;
e ? n(s).is(e)&&t.push(s):t.push(s), i=s
}
return new r(t)
}, prev: function (e){
if(this.length > 0){
var t=this[0];
return e ? t.previousElementSibling&&n(t.previousElementSibling).is(e) ? new r([t.previousElementSibling]):new r([]):t.previousElementSibling ? new r([t.previousElementSibling]):new r([])
}
return new r([])
}, prevAll: function (e){
var t=[], i=this[0];
if(!i) return new r([]);
for (; i.previousElementSibling;){
var s=i.previousElementSibling;
e ? n(s).is(e)&&t.push(s):t.push(s), i=s
}
return new r(t)
}, parent: function (e){
for (var t=[], i=0; i < this.length; i +=1) null!==this[i].parentNode&&(e ? n(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));
return n(o(t))
}, parents: function (e){
for (var t=[], i=0; i < this.length; i +=1) for (var s=this[i].parentNode; s;) e ? n(s).is(e)&&t.push(s):t.push(s), s=s.parentNode;
return n(o(t))
}, closest: function (e){
var t=this;
return void 0===e ? new r([]):(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 s=this[i].querySelectorAll(e), a=0; a < s.length; a +=1) t.push(s[a]);
return new r(t)
}, children: function (e){
for (var t=[], i=0; i < this.length; i +=1) for (var s=this[i].childNodes, a=0; a < s.length; a +=1) e ? 1===s[a].nodeType&&n(s[a]).is(e)&&t.push(s[a]):1===s[a].nodeType&&t.push(s[a]);
return new r(o(t))
}, filter: function (e){
for (var t=[], i=0; i < this.length; i +=1) e.call(this[i], i, this[i])&&t.push(this[i]);
return new r(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=arguments.length; t--;) e[t]=arguments[t];
var i, s, a=this;
for (i=0; i < e.length; i +=1){
var r=n(e[i]);
for (s=0; s < r.length; s +=1) a[a.length]=r[s], a.length +=1
}
return a
}, styles: function (){
return this[0] ? a.getComputedStyle(this[0], null):{}}
};
Object.keys(l).forEach((function (e){
n.fn[e]=n.fn[e]||l[e]
}));
var d={
deleteProps: function (e){
var t=e;
Object.keys(t).forEach((function (e){
try {
t[e]=null
} catch (e){
}
try {
delete t[e]
} catch (e){
}}))
}, nextTick: function (e, t){
return void 0===t&&(t=0), setTimeout(e, t)
}, now: function (){
return Date.now()
}, getTranslate: function (e, t){
var i, s, r;
void 0===t&&(t="x");
var n=a.getComputedStyle(e, null);
return a.WebKitCSSMatrix ? ((s=n.transform||n.webkitTransform).split(",").length > 6&&(s=s.split(", ").map((function (e){
return e.replace(",", ".")
})).join(", ")), r=new a.WebKitCSSMatrix("none"===s ? "":s)):i=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,")).toString().split(","), "x"===t&&(s=a.WebKitCSSMatrix ? r.m41:16===i.length ? parseFloat(i[12]):parseFloat(i[4])), "y"===t&&(s=a.WebKitCSSMatrix ? r.m42:16===i.length ? parseFloat(i[13]):parseFloat(i[5])), s||0
}, parseUrlQuery: function (e){
var t, i, s, r, n={}, o=e||a.location.href;
if("string"==typeof o&&o.length) for (r=(i=(o=o.indexOf("?") > -1 ? o.replace(/\S*\?/, ""):"").split("&").filter((function (e){
return ""!==e
}))).length, t=0; t < r; t +=1) s=i[t].replace(/#\S+/g, "").split("="), n[decodeURIComponent(s[0])]=void 0===s[1] ? void 0:decodeURIComponent(s[1])||"";
return n
}, isObject: function (e){
return "object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object
}, extend: function (){
for (var e=[], t=arguments.length; t--;) e[t]=arguments[t];
for (var i=Object(e[0]), s=1; s < e.length; s +=1){
var a=e[s];
if(null!=a) for (var r=Object.keys(Object(a)), n=0, o=r.length; n < o; n +=1){
var l=r[n], h=Object.getOwnPropertyDescriptor(a, l);
void 0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l]) ? d.extend(i[l], a[l]):!d.isObject(i[l])&&d.isObject(a[l]) ? (i[l]={}, d.extend(i[l], a[l])):i[l]=a[l])
}}
return i
}}, h={
touch: !!("ontouchstart" in a||a.DocumentTouch&&i instanceof a.DocumentTouch),
pointerEvents: !!a.PointerEvent&&"maxTouchPoints" in a.navigator&&a.navigator.maxTouchPoints >=0,
observer: "MutationObserver" in a||"WebkitMutationObserver" in a,
passiveListener: function (){
var e = !1;
try {
var t=Object.defineProperty({}, "passive", {
get: function (){
e = !0
}});
a.addEventListener("testPassiveListener", null, t)
} catch (e){
}
return e
}(),
gestures: "ongesturestart" in a
}, p=function (e){
void 0===e&&(e={});
var t=this;
t.params=e, t.eventsListeners={}, t.params&&t.params.on&&Object.keys(t.params.on).forEach((function (e){
t.on(e, t.params.on[e])
}))
}, c={components: {configurable: !0}};
p.prototype.on=function (e, t, i){
var s=this;
if("function"!=typeof t) return s;
var a=i ? "unshift":"push";
return e.split(" ").forEach((function (e){
s.eventsListeners[e]||(s.eventsListeners[e]=[]), s.eventsListeners[e][a](t)
})), s
}, p.prototype.once=function (e, t, i){
var s=this;
if("function"!=typeof t) return s;
function a(){
for (var i=[], r=arguments.length; r--;) i[r]=arguments[r];
s.off(e, a), a.f7proxy&&delete a.f7proxy, t.apply(s, i)
}
return a.f7proxy=t, s.on(e, a, i)
}, p.prototype.off=function (e, t){
var i=this;
return i.eventsListeners ? (e.split(" ").forEach((function (e){
void 0===t ? i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function (s, a){
(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a, 1)
}))
})), i):i
}, p.prototype.emit=function (){
for (var e=[], t=arguments.length; t--;) e[t]=arguments[t];
var i, s, a, r=this;
if(!r.eventsListeners) return r;
"string"==typeof e[0]||Array.isArray(e[0]) ? (i=e[0], s=e.slice(1, e.length), a=r):(i=e[0].events, s=e[0].data, a=e[0].context||r);
var n=Array.isArray(i) ? i:i.split(" ");
return n.forEach((function (e){
if(r.eventsListeners&&r.eventsListeners[e]){
var t=[];
r.eventsListeners[e].forEach((function (e){
t.push(e)
})), t.forEach((function (e){
e.apply(a, s)
}))
}})), r
}, p.prototype.useModulesParams=function (e){
var t=this;
t.modules&&Object.keys(t.modules).forEach((function (i){
var s=t.modules[i];
s.params&&d.extend(e, s.params)
}))
}, p.prototype.useModules=function (e){
void 0===e&&(e={});
var t=this;
t.modules&&Object.keys(t.modules).forEach((function (i){
var s=t.modules[i], a=e[i]||{};
s.instance&&Object.keys(s.instance).forEach((function (e){
var i=s.instance[e];
t[e]="function"==typeof i ? i.bind(t):i
})), s.on&&t.on&&Object.keys(s.on).forEach((function (e){
t.on(e, s.on[e])
})), s.create&&s.create.bind(t)(a)
}))
}, c.components.set=function (e){
this.use&&this.use(e)
}, p.installModule=function (e){
for (var t=[], i=arguments.length - 1; i-- > 0;) t[i]=arguments[i + 1];
var s=this;
s.prototype.modules||(s.prototype.modules={});
var a=e.name||Object.keys(s.prototype.modules).length + "_" + d.now();
return s.prototype.modules[a]=e, e.proto&&Object.keys(e.proto).forEach((function (t){
s.prototype[t]=e.proto[t]
})), e.static&&Object.keys(e.static).forEach((function (t){
s[t]=e.static[t]
})), e.install&&e.install.apply(s, t), s
}, p.use=function (e){
for (var t=[], i=arguments.length - 1; i-- > 0;) t[i]=arguments[i + 1];
var s=this;
return Array.isArray(e) ? (e.forEach((function (e){
return s.installModule(e)
})), s):s.installModule.apply(s, [e].concat(t))
}, Object.defineProperties(p, c);
var u={
updateSize: function (){
var e, t, i=this.$el;
e=void 0!==this.params.width ? this.params.width:i[0].clientWidth, t=void 0!==this.params.height ? this.params.height:i[0].clientHeight, 0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e - parseInt(i.css("padding-left"), 10) - parseInt(i.css("padding-right"), 10), t=t - parseInt(i.css("padding-top"), 10) - parseInt(i.css("padding-bottom"), 10), d.extend(this, {
width: e,
height: t,
size: this.isHorizontal() ? e:t
}))
}, updateSlides: function (){
var e=this.params, t=this.$wrapperEl, i=this.size, s=this.rtlTranslate, r=this.wrongRTL,
n=this.virtual&&e.virtual.enabled, o=n ? this.virtual.slides.length:this.slides.length,
l=t.children("." + this.params.slideClass), h=n ? this.virtual.slides.length:l.length, p=[],
c=[], u=[];
function v(t){
return !e.cssMode||t!==l.length - 1
}
var f=e.slidesOffsetBefore;
"function"==typeof f&&(f=e.slidesOffsetBefore.call(this));
var m=e.slidesOffsetAfter;
"function"==typeof m&&(m=e.slidesOffsetAfter.call(this));
var g=this.snapGrid.length, b=this.snapGrid.length, w=e.spaceBetween, y=-f, x=0, E=0;
if(void 0!==i){
var T, S;
"string"==typeof w&&w.indexOf("%") >=0&&(w=parseFloat(w.replace("%", "")) / 100 * i), this.virtualSize=-w, s ? l.css({
marginLeft: "",
marginTop: ""
}):l.css({
marginRight: "",
marginBottom: ""
}), e.slidesPerColumn > 1&&(T=Math.floor(h / e.slidesPerColumn)===h / this.params.slidesPerColumn ? h:Math.ceil(h / e.slidesPerColumn) * e.slidesPerColumn, "auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(T=Math.max(T, e.slidesPerView * e.slidesPerColumn)));
for (var C, M=e.slidesPerColumn, P=T / M, z=Math.floor(h / e.slidesPerColumn), k=0; k < h; k +=1){
S=0;
var $=l.eq(k);
if(e.slidesPerColumn > 1){
var L=void 0, I=void 0, D=void 0;
if("row"===e.slidesPerColumnFill&&e.slidesPerGroup > 1){
var O=Math.floor(k / (e.slidesPerGroup * e.slidesPerColumn)),
A=k - e.slidesPerColumn * e.slidesPerGroup * O,
G=0===O ? e.slidesPerGroup:Math.min(Math.ceil((h - O * M * e.slidesPerGroup) / M), e.slidesPerGroup);
L=(I=A - (D=Math.floor(A / G)) * G + O * e.slidesPerGroup) + D * T / M, $.css({
"-webkit-box-ordinal-group": L,
"-moz-box-ordinal-group": L,
"-ms-flex-order": L,
"-webkit-order": L,
order: L
})
} else "column"===e.slidesPerColumnFill ? (D=k - (I=Math.floor(k / M)) * M, (I > z||I===z&&D===M - 1)&&(D +=1) >=M&&(D=0, I +=1)):I=k - (D=Math.floor(k / P)) * P;
$.css("margin-" + (this.isHorizontal() ? "top":"left"), 0!==D&&e.spaceBetween&&e.spaceBetween + "px")
}
if("none"!==$.css("display")){
if("auto"===e.slidesPerView){
var H=a.getComputedStyle($[0], null), B=$[0].style.transform,
N=$[0].style.webkitTransform;
if(B&&($[0].style.transform="none"), N&&($[0].style.webkitTransform="none"), e.roundLengths) S=this.isHorizontal() ? $.outerWidth(!0):$.outerHeight(!0); else if(this.isHorizontal()){
var X=parseFloat(H.getPropertyValue("width")),
V=parseFloat(H.getPropertyValue("padding-left")),
Y=parseFloat(H.getPropertyValue("padding-right")),
F=parseFloat(H.getPropertyValue("margin-left")),
W=parseFloat(H.getPropertyValue("margin-right")),
R=H.getPropertyValue("box-sizing");
S=R&&"border-box"===R ? X + F + W:X + V + Y + F + W
}else{
var q=parseFloat(H.getPropertyValue("height")),
j=parseFloat(H.getPropertyValue("padding-top")),
K=parseFloat(H.getPropertyValue("padding-bottom")),
U=parseFloat(H.getPropertyValue("margin-top")),
_=parseFloat(H.getPropertyValue("margin-bottom")),
Z=H.getPropertyValue("box-sizing");
S=Z&&"border-box"===Z ? q + U + _:q + j + K + U + _
}
B&&($[0].style.transform=B), N&&($[0].style.webkitTransform=N), e.roundLengths&&(S=Math.floor(S))
} else S=(i - (e.slidesPerView - 1) * w) / e.slidesPerView, e.roundLengths&&(S=Math.floor(S)), l[k]&&(this.isHorizontal() ? l[k].style.width=S + "px":l[k].style.height=S + "px");
l[k]&&(l[k].swiperSlideSize=S), u.push(S), e.centeredSlides ? (y=y + S / 2 + x / 2 + w, 0===x&&0!==k&&(y=y - i / 2 - w), 0===k&&(y=y - i / 2 - w), Math.abs(y) < .001&&(y=0), e.roundLengths&&(y=Math.floor(y)), E % e.slidesPerGroup==0&&p.push(y), c.push(y)):(e.roundLengths&&(y=Math.floor(y)), (E - Math.min(this.params.slidesPerGroupSkip, E)) % this.params.slidesPerGroup==0&&p.push(y), c.push(y), y=y + S + w), this.virtualSize +=S + w, x=S, E +=1
}}
if(this.virtualSize=Math.max(this.virtualSize, i) + m, s&&r && ("slide"===e.effect||"coverflow"===e.effect)&&t.css({width: this.virtualSize + e.spaceBetween + "px"}), e.setWrapperSize&&(this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}):t.css({height: this.virtualSize + e.spaceBetween + "px"})), e.slidesPerColumn > 1&&(this.virtualSize=(S + e.spaceBetween) * T, this.virtualSize=Math.ceil(this.virtualSize / e.slidesPerColumn) - e.spaceBetween, this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}):t.css({height: this.virtualSize + e.spaceBetween + "px"}), e.centeredSlides)){
C=[];
for (var Q=0; Q < p.length; Q +=1){
var J=p[Q];
e.roundLengths&&(J=Math.floor(J)), p[Q] < this.virtualSize + p[0]&&C.push(J)
}
p=C
}
if(!e.centeredSlides){
C=[];
for (var ee=0; ee < p.length; ee +=1){
var te=p[ee];
e.roundLengths&&(te=Math.floor(te)), p[ee] <=this.virtualSize - i&&C.push(te)
}
p=C, Math.floor(this.virtualSize - i) - Math.floor(p[p.length - 1]) > 1&&p.push(this.virtualSize - i)
}
if(0===p.length&&(p=[0]), 0!==e.spaceBetween&&(this.isHorizontal() ? s ? l.filter(v).css({marginLeft: w + "px"}):l.filter(v).css({marginRight: w + "px"}):l.filter(v).css({marginBottom: w + "px"})), e.centeredSlides&&e.centeredSlidesBounds){
var ie=0;
u.forEach((function (t){
ie +=t + (e.spaceBetween ? e.spaceBetween:0)
}));
var se=(ie -=e.spaceBetween) - i;
p=p.map((function (e){
return e < 0 ? -f:e > se ? se + m:e
}))
}
if(e.centerInsufficientSlides){
var ae=0;
if(u.forEach((function (t){
ae +=t + (e.spaceBetween ? e.spaceBetween:0)
})), (ae -=e.spaceBetween) < i){
var re=(i - ae) / 2;
p.forEach((function (e, t){
p[t]=e - re
})), c.forEach((function (e, t){
c[t]=e + re
}))
}}
d.extend(this, {
slides: l,
snapGrid: p,
slidesGrid: c,
slidesSizesGrid: u
}), h!==o&&this.emit("slidesLengthChange"), p.length!==g&&(this.params.watchOverflow&&this.checkOverflow(), this.emit("snapGridLengthChange")), c.length!==b&&this.emit("slidesGridLengthChange"), (e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()
}}, updateAutoHeight: function (e){
var t, i=[], s=0;
if("number"==typeof e ? this.setTransition(e):!0===e&&this.setTransition(this.params.speed), "auto"!==this.params.slidesPerView&&this.params.slidesPerView > 1) if(this.params.centeredSlides) this.visibleSlides.each((function (e, t){
i.push(t)
})); else for (t=0; t < Math.ceil(this.params.slidesPerView); t +=1){
var a=this.activeIndex + t;
if(a > this.slides.length) break;
i.push(this.slides.eq(a)[0])
} else i.push(this.slides.eq(this.activeIndex)[0]);
for (t=0; t < i.length; t +=1) if(void 0!==i[t]){
var r=i[t].offsetHeight;
s=r > s ? r:s
}
s&&this.$wrapperEl.css("height", s + "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.params, i=this.slides, s=this.rtlTranslate;
if(0!==i.length){
void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();
var a=-e;
s&&(a=e), i.removeClass(t.slideVisibleClass), this.visibleSlidesIndexes=[], this.visibleSlides=[];
for (var r=0; r < i.length; r +=1){
var o=i[r],
l=(a + (t.centeredSlides ? this.minTranslate():0) - o.swiperSlideOffset) / (o.swiperSlideSize + t.spaceBetween);
if(t.watchSlidesVisibility||t.centeredSlides&&t.autoHeight){
var d=-(a - o.swiperSlideOffset), h=d + this.slidesSizesGrid[r];
(d >=0&&d < this.size - 1||h > 1&&h <=this.size||d <=0&&h >=this.size)&&(this.visibleSlides.push(o), this.visibleSlidesIndexes.push(r), i.eq(r).addClass(t.slideVisibleClass))
}
o.progress=s ? -l:l
}
this.visibleSlides=n(this.visibleSlides)
}}, updateProgress: function (e){
if(void 0===e){
var t=this.rtlTranslate ? -1:1;
e=this&&this.translate&&this.translate * t||0
}
var i=this.params, s=this.maxTranslate() - this.minTranslate(), a=this.progress, r=this.isBeginning,
n=this.isEnd, o=r, l=n;
0===s ? (a=0, r = !0, n = !0):(r=(a=(e - this.minTranslate()) / s) <=0, n=a >=1), d.extend(this, {
progress: a,
isBeginning: r,
isEnd: n
}), (i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e), r&&!o&&this.emit("reachBeginning toEdge"), n&&!l&&this.emit("reachEnd toEdge"), (o&&!r||l&&!n)&&this.emit("fromEdge"), this.emit("progress", a)
}, updateSlidesClasses: function (){
var e, t=this.slides, i=this.params, s=this.$wrapperEl, a=this.activeIndex, r=this.realIndex,
n=this.virtual&&i.virtual.enabled;
t.removeClass(i.slideActiveClass + " " + i.slideNextClass + " " + i.slidePrevClass + " " + i.slideDuplicateActiveClass + " " + i.slideDuplicateNextClass + " " + i.slideDuplicatePrevClass), (e=n ? this.$wrapperEl.find("." + i.slideClass + '[data-swiper-slide-index="' + a + '"]'):t.eq(a)).addClass(i.slideActiveClass), i.loop&&(e.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass):s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass));
var o=e.nextAll("." + i.slideClass).eq(0).addClass(i.slideNextClass);
i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);
var l=e.prevAll("." + i.slideClass).eq(0).addClass(i.slidePrevClass);
i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass), i.loop&&(o.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass):s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass), l.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass):s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass))
}, updateActiveIndex: function (e){
var t, i=this.rtlTranslate ? this.translate:-this.translate, s=this.slidesGrid, a=this.snapGrid,
r=this.params, n=this.activeIndex, o=this.realIndex, l=this.snapIndex, h=e;
if(void 0===h){
for (var p=0; p < s.length; p +=1) void 0!==s[p + 1] ? i >=s[p]&&i < s[p + 1] - (s[p + 1] - s[p]) / 2 ? h=p:i >=s[p]&&i < s[p + 1]&&(h=p + 1):i >=s[p]&&(h=p);
r.normalizeSlideIndex&&(h < 0||void 0===h)&&(h=0)
}
if(a.indexOf(i) >=0) t=a.indexOf(i); else {
var c=Math.min(r.slidesPerGroupSkip, h);
t=c + Math.floor((h - c) / r.slidesPerGroup)
}
if(t >=a.length&&(t=a.length - 1), h!==n){
var u=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h, 10);
d.extend(this, {
snapIndex: t,
realIndex: u,
previousIndex: n,
activeIndex: h
}), this.emit("activeIndexChange"), this.emit("snapIndexChange"), o!==u&&this.emit("realIndexChange"), (this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")
} else t!==l&&(this.snapIndex=t, this.emit("snapIndexChange"))
}, updateClickedSlide: function (e){
var t=this.params, i=n(e.target).closest("." + t.slideClass)[0], s = !1;
if(i) for (var a=0; a < this.slides.length; a +=1) this.slides[a]===i&&(s = !0);
if(!i||!s) return this.clickedSlide=void 0, void (this.clickedIndex=void 0);
this.clickedSlide=i, this.virtual&&this.params.virtual.enabled ? this.clickedIndex=parseInt(n(i).attr("data-swiper-slide-index"), 10):this.clickedIndex=n(i).index(), t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()
}};
var v={
getTranslate: function (e){
void 0===e&&(e=this.isHorizontal() ? "x":"y");
var t=this.params, i=this.rtlTranslate, s=this.translate, a=this.$wrapperEl;
if(t.virtualTranslate) return i ? -s:s;
if(t.cssMode) return s;
var r=d.getTranslate(a[0], e);
return i&&(r=-r), r||0
}, setTranslate: function (e, t){
var i=this.rtlTranslate, s=this.params, a=this.$wrapperEl, r=this.wrapperEl, n=this.progress,
o=0, l=0;
this.isHorizontal() ? o=i ? -e:e : l=e, s.roundLengths&&(o=Math.floor(o), l=Math.floor(l)), s.cssMode ? r[this.isHorizontal() ? "scrollLeft":"scrollTop"]=this.isHorizontal() ? -o:-l:s.virtualTranslate||a.transform("translate3d(" + o + "px, " + l + "px, 0px)"), this.previousTranslate=this.translate, this.translate=this.isHorizontal() ? o:l;
var d=this.maxTranslate() - this.minTranslate();
(0===d ? 0:(e - this.minTranslate()) / d)!==n&&this.updateProgress(e), this.emit("setTranslate", this.translate, t)
}, minTranslate: function (){
return -this.snapGrid[0]
}, maxTranslate: function (){
return -this.snapGrid[this.snapGrid.length - 1]
}, translateTo: function (e, t, i, s, a){
var r;
void 0===e&&(e=0), void 0===t&&(t=this.params.speed), void 0===i&&(i = !0), void 0===s&&(s = !0);
var n=this, o=n.params, l=n.wrapperEl;
if(n.animating&&o.preventInteractionOnTransition) return !1;
var d, h=n.minTranslate(), p=n.maxTranslate();
if(d=s&&e > h ? h:s&&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(((r={})[c ? "left":"top"]=-d, r.behavior="smooth", r)):l[c ? "scrollLeft":"scrollTop"]=-d, !0
}
return 0===t ? (n.setTransition(0), n.setTranslate(d), i&&(n.emit("beforeTransitionStart", t, a), n.emit("transitionEnd"))):(n.setTransition(t), n.setTranslate(d), i&&(n.emit("beforeTransitionStart", t, a), 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 f={
setTransition: function (e, t){
this.params.cssMode||this.$wrapperEl.transition(e), this.emit("setTransition", e, t)
}, transitionStart: function (e, t){
void 0===e&&(e = !0);
var i=this.activeIndex, s=this.params, a=this.previousIndex;
if(!s.cssMode){
s.autoHeight&&this.updateAutoHeight();
var r=t;
if(r||(r=i > a ? "next":i < a ? "prev":"reset"), this.emit("transitionStart"), e&&i!==a){
if("reset"===r) return void this.emit("slideResetTransitionStart");
this.emit("slideChangeTransitionStart"), "next"===r ? this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")
}}
}, transitionEnd: function (e, t){
void 0===e&&(e = !0);
var i=this.activeIndex, s=this.previousIndex, a=this.params;
if(this.animating = !1, !a.cssMode){
this.setTransition(0);
var r=t;
if(r||(r=i > s ? "next":i < s ? "prev":"reset"), this.emit("transitionEnd"), e&&i!==s){
if("reset"===r) return void this.emit("slideResetTransitionEnd");
this.emit("slideChangeTransitionEnd"), "next"===r ? this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")
}}
}};
var m={
slideTo: function (e, t, i, s){
var a;
void 0===e&&(e=0), void 0===t&&(t=this.params.speed), void 0===i&&(i = !0);
var r=this, n=e;
n < 0&&(n=0);
var o=r.params, l=r.snapGrid, d=r.slidesGrid, h=r.previousIndex, p=r.activeIndex,
c=r.rtlTranslate, u=r.wrapperEl;
if(r.animating&&o.preventInteractionOnTransition) return !1;
var v=Math.min(r.params.slidesPerGroupSkip, n), f=v + Math.floor((n - v) / r.params.slidesPerGroup);
f >=l.length&&(f=l.length - 1), (p||o.initialSlide||0)===(h||0)&&i && r.emit("beforeSlideChangeStart");
var m, g=-l[f];
if(r.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(r.initialized&&n!==p){
if(!r.allowSlideNext&&g < r.translate&&g < r.minTranslate()) return !1;
if(!r.allowSlidePrev&&g > r.translate&&g > r.maxTranslate()&&(p||0)!==n) return !1
}
if(m=n > p ? "next":n < p ? "prev":"reset", c&&-g===r.translate||!c&&g===r.translate) return r.updateActiveIndex(n), o.autoHeight&&r.updateAutoHeight(), r.updateSlidesClasses(), "slide"!==o.effect&&r.setTranslate(g), "reset"!==m&&(r.transitionStart(i, m), r.transitionEnd(i, m)), !1;
if(o.cssMode){
var w=r.isHorizontal(), y=-g;
return c&&(y=u.scrollWidth - u.offsetWidth - y), 0===t ? u[w ? "scrollLeft":"scrollTop"]=y:u.scrollTo ? u.scrollTo(((a={})[w ? "left":"top"]=y, a.behavior="smooth", a)):u[w ? "scrollLeft":"scrollTop"]=y, !0
}
return 0===t ? (r.setTransition(0), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.transitionEnd(i, m)):(r.setTransition(t), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.animating||(r.animating = !0, r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function (e){
r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd=null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, m))
}), r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd))), !0
}, slideToLoop: function (e, t, i, s){
void 0===e&&(e=0), void 0===t&&(t=this.params.speed), void 0===i&&(i = !0);
var a=e;
return this.params.loop&&(a +=this.loopedSlides), this.slideTo(a, t, i, s)
}, slideNext: function (e, t, i){
void 0===e&&(e=this.params.speed), void 0===t&&(t = !0);
var s=this.params, a=this.animating, r=this.activeIndex < s.slidesPerGroupSkip ? 1:s.slidesPerGroup;
if(s.loop){
if(a) return !1;
this.loopFix(), this._clientLeft=this.$wrapperEl[0].clientLeft
}
return this.slideTo(this.activeIndex + r, e, t, i)
}, slidePrev: function (e, t, i){
void 0===e&&(e=this.params.speed), void 0===t&&(t = !0);
var s=this.params, a=this.animating, r=this.snapGrid, n=this.slidesGrid, o=this.rtlTranslate;
if(s.loop){
if(a) return !1;
this.loopFix(), this._clientLeft=this.$wrapperEl[0].clientLeft
}
function l(e){
return e < 0 ? -Math.floor(Math.abs(e)):Math.floor(e)
}
var d, h=l(o ? this.translate:-this.translate), p=r.map((function (e){
return l(e)
})), c=(n.map((function (e){
return l(e)
})), r[p.indexOf(h)], r[p.indexOf(h) - 1]);
return void 0===c&&s.cssMode&&r.forEach((function (e){
!c&&h >=e&&(c=e)
})), void 0!==c&&(d=n.indexOf(c)) < 0&&(d=this.activeIndex - 1), this.slideTo(d, 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, s){
void 0===e&&(e=this.params.speed), void 0===t&&(t = !0), void 0===s&&(s=.5);
var a=this.activeIndex, r=Math.min(this.params.slidesPerGroupSkip, a),
n=r + Math.floor((a - r) / this.params.slidesPerGroup),
o=this.rtlTranslate ? this.translate:-this.translate;
if(o >=this.snapGrid[n]){
var l=this.snapGrid[n];
o - l > (this.snapGrid[n + 1] - l) * s&&(a +=this.params.slidesPerGroup)
}else{
var d=this.snapGrid[n - 1];
o - d <=(this.snapGrid[n] - d) * s&&(a -=this.params.slidesPerGroup)
}
return a=Math.max(a, 0), a=Math.min(a, this.slidesGrid.length - 1), this.slideTo(a, e, t, i)
}, slideToClickedSlide: function (){
var e, t=this, i=t.params, s=t.$wrapperEl,
a="auto"===i.slidesPerView ? t.slidesPerViewDynamic():i.slidesPerView, r=t.clickedIndex;
if(i.loop){
if(t.animating) return;
e=parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"), 10), i.centeredSlides ? r < t.loopedSlides - a / 2||r > t.slides.length - t.loopedSlides + a / 2 ? (t.loopFix(), r=s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function (){
t.slideTo(r)
}))):t.slideTo(r):r > t.slides.length - a ? (t.loopFix(), r=s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function (){
t.slideTo(r)
}))):t.slideTo(r)
} else t.slideTo(r)
}};
var g={
loopCreate: function (){
var e=this, t=e.params, s=e.$wrapperEl;
s.children("." + t.slideClass + "." + t.slideDuplicateClass).remove();
var a=s.children("." + t.slideClass);
if(t.loopFillGroupWithBlank){
var r=t.slidesPerGroup - a.length % t.slidesPerGroup;
if(r!==t.slidesPerGroup){
for (var o=0; o < r; o +=1){
var l=n(i.createElement("div")).addClass(t.slideClass + " " + t.slideBlankClass);
s.append(l)
}
a=s.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 d=[], h=[];
a.each((function (t, i){
var s=n(i);
t < e.loopedSlides&&h.push(i), t < a.length&&t >=a.length - e.loopedSlides&&d.push(i), s.attr("data-swiper-slide-index", t)
}));
for (var p=0; p < h.length; p +=1) s.append(n(h[p].cloneNode(!0)).addClass(t.slideDuplicateClass));
for (var c=d.length - 1; c >=0; c -=1) s.prepend(n(d[c].cloneNode(!0)).addClass(t.slideDuplicateClass))
}, loopFix: function (){
this.emit("beforeLoopFix");
var e, t=this.activeIndex, i=this.slides, s=this.loopedSlides, a=this.allowSlidePrev,
r=this.allowSlideNext, n=this.snapGrid, o=this.rtlTranslate;
this.allowSlidePrev = !0, this.allowSlideNext = !0;
var l=-n[t] - this.getTranslate();
if(t < s) e=i.length - 3 * s + t, e +=s, this.slideTo(e, 0, !1, !0)&&0!==l&&this.setTranslate((o ? -this.translate:this.translate) - l); else if(t >=i.length - s){
e=-i.length + t + s, e +=s, this.slideTo(e, 0, !1, !0)&&0!==l&&this.setTranslate((o ? -this.translate:this.translate) - l)
}
this.allowSlidePrev=a, this.allowSlideNext=r, this.emit("loopFix")
}, loopDestroy: function (){
var e=this.$wrapperEl, t=this.params, i=this.slides;
e.children("." + t.slideClass + "." + t.slideDuplicateClass + ",." + t.slideClass + "." + t.slideBlankClass).remove(), i.removeAttr("data-swiper-slide-index")
}};
var b={
setGrabCursor: function (e){
if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){
var t=this.el;
t.style.cursor="move", t.style.cursor=e ? "-webkit-grabbing":"-webkit-grab", t.style.cursor=e ? "-moz-grabbin":"-moz-grab", t.style.cursor=e ? "grabbing":"grab"
}}, unsetGrabCursor: function (){
h.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")
}};
var w, y, x, E, T, S, C, M, P, z, k, $, L, I, D, O={
appendSlide: function (e){
var t=this.$wrapperEl, i=this.params;
if(i.loop&&this.loopDestroy(), "object"==typeof e&&"length" in e) for (var s=0; s < e.length; s +=1) e[s]&&t.append(e[s]); else t.append(e);
i.loop&&this.loopCreate(), i.observer&&h.observer||this.update()
}, prependSlide: function (e){
var t=this.params, i=this.$wrapperEl, s=this.activeIndex;
t.loop&&this.loopDestroy();
var a=s + 1;
if("object"==typeof e&&"length" in e){
for (var r=0; r < e.length; r +=1) e[r]&&i.prepend(e[r]);
a=s + e.length
} else i.prepend(e);
t.loop&&this.loopCreate(), t.observer&&h.observer||this.update(), this.slideTo(a, 0, !1)
}, addSlide: function (e, t){
var i=this.$wrapperEl, s=this.params, a=this.activeIndex;
s.loop&&(a -=this.loopedSlides, this.loopDestroy(), this.slides=i.children("." + s.slideClass));
var r=this.slides.length;
if(e <=0) this.prependSlide(t); else if(e >=r) this.appendSlide(t); else {
for (var n=a > e ? a + 1:a, o=[], l=r - 1; l >=e; l -=1){
var d=this.slides.eq(l);
d.remove(), o.unshift(d)
}
if("object"==typeof t&&"length" in t){
for (var p=0; p < t.length; p +=1) t[p]&&i.append(t[p]);
n=a > e ? a + t.length:a
} else i.append(t);
for (var c=0; c < o.length; c +=1) i.append(o[c]);
s.loop&&this.loopCreate(), s.observer&&h.observer||this.update(), s.loop ? this.slideTo(n + this.loopedSlides, 0, !1):this.slideTo(n, 0, !1)
}}, removeSlide: function (e){
var t=this.params, i=this.$wrapperEl, s=this.activeIndex;
t.loop&&(s -=this.loopedSlides, this.loopDestroy(), this.slides=i.children("." + t.slideClass));
var a, r=s;
if("object"==typeof e&&"length" in e){
for (var n=0; n < e.length; n +=1) a=e[n], this.slides[a]&&this.slides.eq(a).remove(), a < r&&(r -=1);
r=Math.max(r, 0)
} else a=e, this.slides[a]&&this.slides.eq(a).remove(), a < r&&(r -=1), r=Math.max(r, 0);
t.loop&&this.loopCreate(), t.observer&&h.observer||this.update(), t.loop ? this.slideTo(r + this.loopedSlides, 0, !1):this.slideTo(r, 0, !1)
}, removeAllSlides: function (){
for (var e=[], t=0; t < this.slides.length; t +=1) e.push(t);
this.removeSlide(e)
}}, A=(w=a.navigator.platform, y=a.navigator.userAgent, x={
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: !(!a.cordova&&!a.phonegap),
phonegap: !(!a.cordova&&!a.phonegap),
electron: !1
}, E=a.screen.width, T=a.screen.height, S=y.match(/(Android);?[\s\/]+([\d.]+)?/), C=y.match(/(iPad).*OS\s([\d_]+)/), M=y.match(/(iPod)(.*OS\s([\d_]+))?/), P = !C&&y.match(/(iPhone\sOS|iOS)\s([\d_]+)/), z=y.indexOf("MSIE ") >=0||y.indexOf("Trident/") >=0, k=y.indexOf("Edge/") >=0, $=y.indexOf("Gecko/") >=0&&y.indexOf("Firefox/") >=0, L="Win32"===w, I=y.toLowerCase().indexOf("electron") >=0, D="MacIntel"===w, !C&&D && h.touch&&(1024===E&&1366===T||834===E&&1194===T||834===E&&1112===T||768===E&&1024===T)&&(C=y.match(/(Version)\/([\d.]+)/), D = !1), x.ie=z, x.edge=k, x.firefox=$, S&&!L&&(x.os="android", x.osVersion=S[2], x.android = !0, x.androidChrome=y.toLowerCase().indexOf("chrome") >=0), (C||P || M)&&(x.os="ios", x.ios = !0), P&&!M&&(x.osVersion=P[2].replace(/_/g, "."), x.iphone = !0), C&&(x.osVersion=C[2].replace(/_/g, "."), x.ipad = !0), M&&(x.osVersion=M[3] ? M[3].replace(/_/g, "."):null, x.ipod = !0), x.ios&&x.osVersion&&y.indexOf("Version/") >=0&&"10"===x.osVersion.split(".")[0]&&(x.osVersion=y.toLowerCase().split("version/")[1].split(" ")[0]), x.webView = !(!(P||C || M)||!y.match(/.*AppleWebKit(?!.*Safari)/i)&&!a.navigator.standalone)||a.matchMedia&&a.matchMedia("(display-mode: standalone)").matches, x.webview=x.webView, x.standalone=x.webView, x.desktop = !(x.ios||x.android)||I, x.desktop&&(x.electron=I, x.macos=D, x.windows=L, x.macos&&(x.os="macos"), x.windows&&(x.os="windows")), x.pixelRatio=a.devicePixelRatio||1, x);
function G(e){
var t=this.touchEventsData, s=this.params, r=this.touches;
if(!this.animating||!s.preventInteractionOnTransition){
var o=e;
o.originalEvent&&(o=o.originalEvent);
var l=n(o.target);
if(("wrapper"!==s.touchEventsTarget||l.closest(this.wrapperEl).length)&&(t.isTouchEvent="touchstart"===o.type, (t.isTouchEvent||!("which" in o)||3!==o.which)&&!(!t.isTouchEvent&&"button" in o&&o.button > 0||t.isTouched&&t.isMoved))) if(s.noSwiping&&l.closest(s.noSwipingSelector ? s.noSwipingSelector:"." + s.noSwipingClass)[0]) this.allowClick = !0; else if(!s.swipeHandler||l.closest(s.swipeHandler)[0]){
r.currentX="touchstart"===o.type ? o.targetTouches[0].pageX:o.pageX, r.currentY="touchstart"===o.type ? o.targetTouches[0].pageY:o.pageY;
var h=r.currentX, p=r.currentY, c=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,
u=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;
if(!c||!(h <=u||h >=a.screen.width - u)){
if(d.extend(t, {
isTouched: !0,
isMoved: !1,
allowTouchCallbacks: !0,
isScrolling: void 0,
startMoving: void 0
}), r.startX=h, r.startY=p, t.touchStartTime=d.now(), this.allowClick = !0, this.updateSize(), this.swipeDirection=void 0, s.threshold > 0&&(t.allowThresholdMove = !1), "touchstart"!==o.type){
var v = !0;
l.is(t.formElements)&&(v = !1), i.activeElement&&n(i.activeElement).is(t.formElements)&&i.activeElement!==l[0]&&i.activeElement.blur();
var f=v&&this.allowTouchMove&&s.touchStartPreventDefault;
(s.touchStartForcePreventDefault||f)&&o.preventDefault()
}
this.emit("touchStart", o)
}}
}}
function H(e){
var t=this.touchEventsData, s=this.params, a=this.touches, r=this.rtlTranslate, o=e;
if(o.originalEvent&&(o=o.originalEvent), t.isTouched){
if(!t.isTouchEvent||"touchmove"===o.type){
var l="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),
h="touchmove"===o.type ? l.pageX:o.pageX, p="touchmove"===o.type ? l.pageY:o.pageY;
if(o.preventedByNestedSwiper) return a.startX=h, void (a.startY=p);
if(!this.allowTouchMove) return this.allowClick = !1, void (t.isTouched&&(d.extend(a, {
startX: h,
startY: p,
currentX: h,
currentY: p
}), t.touchStartTime=d.now()));
if(t.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop) if(this.isVertical()){
if(p < a.startY&&this.translate <=this.maxTranslate()||p > a.startY&&this.translate >=this.minTranslate()) return t.isTouched = !1, void (t.isMoved = !1)
}else if(h < a.startX&&this.translate <=this.maxTranslate()||h > a.startX&&this.translate >=this.minTranslate()) return;
if(t.isTouchEvent&&i.activeElement&&o.target===i.activeElement&&n(o.target).is(t.formElements)) return t.isMoved = !0, void (this.allowClick = !1);
if(t.allowTouchCallbacks&&this.emit("touchMove", o), !(o.targetTouches&&o.targetTouches.length > 1)){
a.currentX=h, a.currentY=p;
var c=a.currentX - a.startX, u=a.currentY - a.startY;
if(!(this.params.threshold&&Math.sqrt(Math.pow(c, 2) + Math.pow(u, 2)) < this.params.threshold)){
var v;
if(void 0===t.isScrolling) this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX ? t.isScrolling = !1:c * c + u * u >=25&&(v=180 * Math.atan2(Math.abs(u), Math.abs(c)) / Math.PI, t.isScrolling=this.isHorizontal() ? v > s.touchAngle:90 - v > s.touchAngle);
if(t.isScrolling&&this.emit("touchMoveOpposite", o), void 0===t.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(t.startMoving = !0)), t.isScrolling) t.isTouched = !1; else if(t.startMoving){
this.allowClick = !1, !s.cssMode&&o.cancelable&&o.preventDefault(), s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(), t.isMoved||(s.loop&&this.loopFix(), t.startTranslate=this.getTranslate(), this.setTransition(0), this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"), t.allowMomentumBounce = !1, !s.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0), this.emit("sliderFirstMove", o)), this.emit("sliderMove", o), t.isMoved = !0;
var f=this.isHorizontal() ? c:u;
a.diff=f, f *=s.touchRatio, r&&(f=-f), this.swipeDirection=f > 0 ? "prev":"next", t.currentTranslate=f + t.startTranslate;
var m = !0, g=s.resistanceRatio;
if(s.touchReleaseOnEdges&&(g=0), f > 0&&t.currentTranslate > this.minTranslate() ? (m = !1, s.resistance&&(t.currentTranslate=this.minTranslate() - 1 + Math.pow(-this.minTranslate() + t.startTranslate + f, g))):f < 0&&t.currentTranslate < this.maxTranslate()&&(m = !1, s.resistance&&(t.currentTranslate=this.maxTranslate() + 1 - Math.pow(this.maxTranslate() - t.startTranslate - f, g))), m&&(o.preventedByNestedSwiper = !0), !this.allowSlideNext&&"next"===this.swipeDirection&&t.currentTranslate < t.startTranslate&&(t.currentTranslate=t.startTranslate), !this.allowSlidePrev&&"prev"===this.swipeDirection&&t.currentTranslate > t.startTranslate&&(t.currentTranslate=t.startTranslate), s.threshold > 0){
if(!(Math.abs(f) > s.threshold||t.allowThresholdMove)) return void (t.currentTranslate=t.startTranslate);
if(!t.allowThresholdMove) return t.allowThresholdMove = !0, a.startX=a.currentX, a.startY=a.currentY, t.currentTranslate=t.startTranslate, void (a.diff=this.isHorizontal() ? a.currentX - a.startX:a.currentY - a.startY)
}
s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(this.updateActiveIndex(), this.updateSlidesClasses()), s.freeMode&&(0===t.velocities.length&&t.velocities.push({
position: a[this.isHorizontal() ? "startX":"startY"],
time: t.touchStartTime
}), t.velocities.push({
position: a[this.isHorizontal() ? "currentX":"currentY"],
time: d.now()
})), this.updateProgress(t.currentTranslate), this.setTranslate(t.currentTranslate))
}}
}}
} else t.startMoving&&t.isScrolling&&this.emit("touchMoveOpposite", o)
}
function B(e){
var t=this, i=t.touchEventsData, s=t.params, a=t.touches, r=t.rtlTranslate, n=t.$wrapperEl,
o=t.slidesGrid, l=t.snapGrid, h=e;
if(h.originalEvent&&(h=h.originalEvent), i.allowTouchCallbacks&&t.emit("touchEnd", h), i.allowTouchCallbacks = !1, !i.isTouched) return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1), i.isMoved = !1, void (i.startMoving = !1);
s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);
var p, c=d.now(), u=c - i.touchStartTime;
if(t.allowClick&&(t.updateClickedSlide(h), t.emit("tap click", h), u < 300&&c - i.lastClickTime < 300&&t.emit("doubleTap doubleClick", h)), i.lastClickTime=d.now(), d.nextTick((function (){
t.destroyed||(t.allowClick = !0)
})), !i.isTouched||!i.isMoved||!t.swipeDirection||0===a.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, p=s.followFinger ? r ? t.translate:-t.translate:-i.currentTranslate, !s.cssMode) if(s.freeMode){
if(p < -t.minTranslate()) return void t.slideTo(t.activeIndex);
if(p > -t.maxTranslate()) return void (t.slides.length < l.length ? t.slideTo(l.length - 1):t.slideTo(t.slides.length - 1));
if(s.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) < s.freeModeMinimumVelocity&&(t.velocity=0), (g > 150||d.now() - v.time > 300)&&(t.velocity=0)
} else t.velocity=0;
t.velocity *=s.freeModeMomentumVelocityRatio, i.velocities.length=0;
var b=1e3 * s.freeModeMomentumRatio, w=t.velocity * b, y=t.translate + w;
r&&(y=-y);
var x, E, T = !1, S=20 * Math.abs(t.velocity) * s.freeModeMomentumBounceRatio;
if(y < t.maxTranslate()) s.freeModeMomentumBounce ? (y + t.maxTranslate() < -S&&(y=t.maxTranslate() - S), x=t.maxTranslate(), T = !0, i.allowMomentumBounce = !0):y=t.maxTranslate(), s.loop&&s.centeredSlides&&(E = !0); else if(y > t.minTranslate()) s.freeModeMomentumBounce ? (y - t.minTranslate() > S&&(y=t.minTranslate() + S), x=t.minTranslate(), T = !0, i.allowMomentumBounce = !0):y=t.minTranslate(), s.loop&&s.centeredSlides&&(E = !0); else if(s.freeModeSticky){
for (var C, 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(E&&t.once("transitionEnd", (function (){
t.loopFix()
})), 0!==t.velocity){
if(b=r ? Math.abs((-y - t.translate) / t.velocity):Math.abs((y - t.translate) / t.velocity), s.freeModeSticky){
var P=Math.abs((r ? -y:y) - t.translate), z=t.slidesSizesGrid[t.activeIndex];
b=P < z ? s.speed:P < 2 * z ? 1.5 * s.speed:2.5 * s.speed
}}else if(s.freeModeSticky) return void t.slideToClosest();
s.freeModeMomentumBounce&&T ? (t.updateProgress(x), 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(s.speed), setTimeout((function (){
t.setTranslate(x), 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(s.freeModeSticky) return void t.slideToClosest();
(!s.freeModeMomentum||u >=s.longSwipesMs)&&(t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses())
}else{
for (var k=0, $=t.slidesSizesGrid[0], L=0; L < o.length; L +=L < s.slidesPerGroupSkip ? 1:s.slidesPerGroup){
var I=L < s.slidesPerGroupSkip - 1 ? 1:s.slidesPerGroup;
void 0!==o[L + I] ? p >=o[L]&&p < o[L + I]&&(k=L, $=o[L + I] - o[L]):p >=o[L]&&(k=L, $=o[o.length - 1] - o[o.length - 2])
}
var D=(p - o[k]) / $, O=k < s.slidesPerGroupSkip - 1 ? 1:s.slidesPerGroup;
if(u > s.longSwipesMs){
if(!s.longSwipes) return void t.slideTo(t.activeIndex);
"next"===t.swipeDirection&&(D >=s.longSwipesRatio ? t.slideTo(k + O):t.slideTo(k)), "prev"===t.swipeDirection&&(D > 1 - s.longSwipesRatio ? t.slideTo(k + O):t.slideTo(k))
}else{
if(!s.shortSwipes) return void t.slideTo(t.activeIndex);
t.navigation&&(h.target===t.navigation.nextEl||h.target===t.navigation.prevEl) ? h.target===t.navigation.nextEl ? t.slideTo(k + O):t.slideTo(k):("next"===t.swipeDirection&&t.slideTo(k + O), "prev"===t.swipeDirection&&t.slideTo(k))
}}
}
function N(){
var e=this.params, t=this.el;
if(!t||0!==t.offsetWidth){
e.breakpoints&&this.setBreakpoint();
var i=this.allowSlideNext, s=this.allowSlidePrev, a=this.snapGrid;
this.allowSlideNext = !0, this.allowSlidePrev = !0, this.updateSize(), this.updateSlides(), this.updateSlidesClasses(), ("auto"===e.slidesPerView||e.slidesPerView > 1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides ? this.slideTo(this.slides.length - 1, 0, !1, !0):this.slideTo(this.activeIndex, 0, !1, !0), this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(), this.allowSlidePrev=s, this.allowSlideNext=i, this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()
}}
function X(e){
this.allowClick||(this.params.preventClicks&&e.preventDefault(), this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(), e.stopImmediatePropagation()))
}
function V(){
var e=this.wrapperEl, t=this.rtlTranslate;
this.previousTranslate=this.translate, this.isHorizontal() ? this.translate=t ? e.scrollWidth - e.offsetWidth - e.scrollLeft:-e.scrollLeft:this.translate=-e.scrollTop, -0===this.translate&&(this.translate=0), this.updateActiveIndex(), this.updateSlidesClasses();
var i=this.maxTranslate() - this.minTranslate();
(0===i ? 0:(this.translate - this.minTranslate()) / i)!==this.progress&&this.updateProgress(t ? -this.translate:this.translate), this.emit("setTranslate", this.translate, !1)
}
var Y = !1;
function F(){
}
var W={
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
}, R={
update: u, translate: v, transition: f, slide: m, loop: g, grabCursor: b, manipulation: O, events: {
attachEvents: function (){
var e=this.params, t=this.touchEvents, s=this.el, a=this.wrapperEl;
this.onTouchStart=G.bind(this), this.onTouchMove=H.bind(this), this.onTouchEnd=B.bind(this), e.cssMode&&(this.onScroll=V.bind(this)), this.onClick=X.bind(this);
var r = !!e.nested;
if(!h.touch&&h.pointerEvents) s.addEventListener(t.start, this.onTouchStart, !1), i.addEventListener(t.move, this.onTouchMove, r), i.addEventListener(t.end, this.onTouchEnd, !1); else {
if(h.touch){
var n = !("touchstart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{
passive: !0,
capture: !1
};
s.addEventListener(t.start, this.onTouchStart, n), s.addEventListener(t.move, this.onTouchMove, h.passiveListener ? {
passive: !1,
capture: r
}:r), s.addEventListener(t.end, this.onTouchEnd, n), t.cancel&&s.addEventListener(t.cancel, this.onTouchEnd, n), Y||(i.addEventListener("touchstart", F), Y = !0)
}
(e.simulateTouch&&!A.ios&&!A.android||e.simulateTouch&&!h.touch&&A.ios)&&(s.addEventListener("mousedown", this.onTouchStart, !1), i.addEventListener("mousemove", this.onTouchMove, r), i.addEventListener("mouseup", this.onTouchEnd, !1))
}
(e.preventClicks||e.preventClicksPropagation)&&s.addEventListener("click", this.onClick, !0), e.cssMode&&a.addEventListener("scroll", this.onScroll), e.updateOnWindowResize ? this.on(A.ios||A.android ? "resize orientationchange observerUpdate":"resize observerUpdate", N, !0):this.on("observerUpdate", N, !0)
}, detachEvents: function (){
var e=this.params, t=this.touchEvents, s=this.el, a=this.wrapperEl, r = !!e.nested;
if(!h.touch&&h.pointerEvents) s.removeEventListener(t.start, this.onTouchStart, !1), i.removeEventListener(t.move, this.onTouchMove, r), i.removeEventListener(t.end, this.onTouchEnd, !1); else {
if(h.touch){
var n = !("onTouchStart"!==t.start||!h.passiveListener||!e.passiveListeners)&&{
passive: !0,
capture: !1
};
s.removeEventListener(t.start, this.onTouchStart, n), s.removeEventListener(t.move, this.onTouchMove, r), s.removeEventListener(t.end, this.onTouchEnd, n), t.cancel&&s.removeEventListener(t.cancel, this.onTouchEnd, n)
}
(e.simulateTouch&&!A.ios&&!A.android||e.simulateTouch&&!h.touch&&A.ios)&&(s.removeEventListener("mousedown", this.onTouchStart, !1), i.removeEventListener("mousemove", this.onTouchMove, r), i.removeEventListener("mouseup", this.onTouchEnd, !1))
}
(e.preventClicks||e.preventClicksPropagation)&&s.removeEventListener("click", this.onClick, !0), e.cssMode&&a.removeEventListener("scroll", this.onScroll), this.off(A.ios||A.android ? "resize orientationchange observerUpdate":"resize observerUpdate", N)
}}, breakpoints: {
setBreakpoint: function (){
var e=this.activeIndex, t=this.initialized, i=this.loopedSlides;
void 0===i&&(i=0);
var s=this.params, a=this.$el, r=s.breakpoints;
if(r&&(!r||0!==Object.keys(r).length)){
var n=this.getBreakpoint(r);
if(n&&this.currentBreakpoint!==n){
var o=n in r ? r[n]:void 0;
o&&["slidesPerView", "spaceBetween", "slidesPerGroup", "slidesPerGroupSkip", "slidesPerColumn"].forEach((function (e){
var t=o[e];
void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t ? "slidesPerView"===e ? parseFloat(t):parseInt(t, 10):"auto")
}));
var l=o||this.originalParams, h=s.slidesPerColumn > 1, p=l.slidesPerColumn > 1;
h&&!p ? a.removeClass(s.containerModifierClass + "multirow " + s.containerModifierClass + "multirow-column"):!h&&p && (a.addClass(s.containerModifierClass + "multirow"), "column"===l.slidesPerColumnFill&&a.addClass(s.containerModifierClass + "multirow-column"));
var c=l.direction&&l.direction!==s.direction,
u=s.loop&&(l.slidesPerView!==s.slidesPerView||c);
c&&t && this.changeDirection(), d.extend(this.params, l), d.extend(this, {
allowTouchMove: this.params.allowTouchMove,
allowSlideNext: this.params.allowSlideNext,
allowSlidePrev: this.params.allowSlidePrev
}), this.currentBreakpoint=n, u&&t && (this.loopDestroy(), this.loopCreate(), this.updateSlides(), this.slideTo(e - i + this.loopedSlides, 0, !1)), this.emit("breakpoint", l)
}}
}, 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: a.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 s=0; s < i.length; s +=1){
var r=i[s], n=r.point;
r.value <=a.innerWidth&&(t=n)
}
return t||"max"
}}
}, checkOverflow: {
checkOverflow: function (){
var e=this.params, t=this.isLocked,
i=this.slides.length > 0&&e.slidesOffsetBefore + e.spaceBetween * (this.slides.length - 1) + this.slides[0].offsetWidth * this.slides.length;
e.slidesOffsetBefore&&e.slidesOffsetAfter&&i ? this.isLocked=i <=this.size:this.isLocked=1===this.snapGrid.length, this.allowSlideNext = !this.isLocked, this.allowSlidePrev = !this.isLocked, t!==this.isLocked&&this.emit(this.isLocked ? "lock":"unlock"), t&&t!==this.isLocked&&(this.isEnd = !1, this.navigation&&this.navigation.update())
}}, classes: {
addClasses: function (){
var e=this.classNames, t=this.params, i=this.rtl, s=this.$el, a=[];
a.push("initialized"), a.push(t.direction), t.freeMode&&a.push("free-mode"), t.autoHeight&&a.push("autoheight"), i&&a.push("rtl"), t.slidesPerColumn > 1&&(a.push("multirow"), "column"===t.slidesPerColumnFill&&a.push("multirow-column")), A.android&&a.push("android"), A.ios&&a.push("ios"), t.cssMode&&a.push("css-mode"), a.forEach((function (i){
e.push(t.containerModifierClass + i)
})), s.addClass(e.join(" "))
}, removeClasses: function (){
var e=this.$el, t=this.classNames;
e.removeClass(t.join(" "))
}}, images: {
loadImage: function (e, t, i, s, r, o){
var l;
function d(){
o&&o()
}
n(e).parent("picture")[0]||e.complete&&r ? d():t ? ((l=new a.Image).onload=d, l.onerror=d, s&&(l.sizes=s), i&&(l.srcset=i), t&&(l.src=t)):d()
}, preloadImages: function (){
var e=this;
function t(){
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 s=e.imagesToLoad[i];
e.loadImage(s, s.currentSrc||s.getAttribute("src"), s.srcset||s.getAttribute("srcset"), s.sizes||s.getAttribute("sizes"), !0, t)
}}
}}, q={}, j=function (e){
function t(){
for (var i, s, a, r=[], o=arguments.length; o--;) r[o]=arguments[o];
1===r.length&&r[0].constructor&&r[0].constructor===Object ? a=r[0]:(s=(i=r)[0], a=i[1]), a||(a={}), a=d.extend({}, a), s&&!a.el&&(a.el=s), e.call(this, a), Object.keys(R).forEach((function (e){
Object.keys(R[e]).forEach((function (i){
t.prototype[i]||(t.prototype[i]=R[e][i])
}))
}));
var l=this;
void 0===l.modules&&(l.modules={}), Object.keys(l.modules).forEach((function (e){
var t=l.modules[e];
if(t.params){
var i=Object.keys(t.params)[0], s=t.params[i];
if("object"!=typeof s||null===s) return;
if(!(i in a)||!("enabled" in s)) return;
!0===a[i]&&(a[i]={enabled: !0}), "object"!=typeof a[i]||"enabled" in a[i]||(a[i].enabled = !0), a[i]||(a[i]={enabled: !1})
}}));
var p=d.extend({}, W);
l.useModulesParams(p), l.params=d.extend({}, p, q, a), l.originalParams=d.extend({}, l.params), l.passedParams=d.extend({}, a), l.$=n;
var c=n(l.params.el);
if(s=c[0]){
if(c.length > 1){
var u=[];
return c.each((function (e, i){
var s=d.extend({}, a, {el: i});
u.push(new t(s))
})), u
}
var v, f, m;
return s.swiper=l, c.data("swiper", l), s&&s.shadowRoot&&s.shadowRoot.querySelector ? (v=n(s.shadowRoot.querySelector("." + l.params.wrapperClass))).children=function (e){
return c.children(e)
}:v=c.children("." + l.params.wrapperClass), d.extend(l, {
$el: c,
el: s,
$wrapperEl: v,
wrapperEl: v[0],
classNames: [],
slides: n(),
slidesGrid: [],
snapGrid: [],
slidesSizesGrid: [],
isHorizontal: function (){
return "horizontal"===l.params.direction
},
isVertical: function (){
return "vertical"===l.params.direction
},
rtl: "rtl"===s.dir.toLowerCase()||"rtl"===c.css("direction"),
rtlTranslate: "horizontal"===l.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===c.css("direction")),
wrongRTL: "-webkit-box"===v.css("display"),
activeIndex: 0,
realIndex: 0,
isBeginning: !0,
isEnd: !1,
translate: 0,
previousTranslate: 0,
progress: 0,
velocity: 0,
animating: !1,
allowSlideNext: l.params.allowSlideNext,
allowSlidePrev: l.params.allowSlidePrev,
touchEvents: (f=["touchstart", "touchmove", "touchend", "touchcancel"], m=["mousedown", "mousemove", "mouseup"], h.pointerEvents&&(m=["pointerdown", "pointermove", "pointerup"]), l.touchEventsTouch={
start: f[0],
move: f[1],
end: f[2],
cancel: f[3]
}, l.touchEventsDesktop={
start: m[0],
move: m[1],
end: m[2]
}, h.touch||!l.params.simulateTouch ? l.touchEventsTouch:l.touchEventsDesktop),
touchEventsData: {
isTouched: void 0,
isMoved: void 0,
allowTouchCallbacks: void 0,
touchStartTime: void 0,
isScrolling: void 0,
currentTranslate: void 0,
startTranslate: void 0,
allowThresholdMove: void 0,
formElements: "input, select, option, textarea, button, video, label",
lastClickTime: d.now(),
clickTimeout: void 0,
velocities: [],
allowMomentumBounce: void 0,
isTouchEvent: void 0,
startMoving: void 0
},
allowClick: !0,
allowTouchMove: l.params.allowTouchMove,
touches: {startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0},
imagesToLoad: [],
imagesLoaded: 0
}), l.useModules(), l.params.init&&l.init(), l
}}
e&&(t.__proto__=e), t.prototype=Object.create(e&&e.prototype), t.prototype.constructor=t;
var i={
extendedDefaults: {configurable: !0},
defaults: {configurable: !0},
Class: {configurable: !0},
$: {configurable: !0}};
return t.prototype.slidesPerViewDynamic=function (){
var e=this.params, t=this.slides, i=this.slidesGrid, s=this.size, a=this.activeIndex, r=1;
if(e.centeredSlides){
for (var n, o=t[a].swiperSlideSize, l=a + 1; l < t.length; l +=1) t[l]&&!n&&(r +=1, (o +=t[l].swiperSlideSize) > s&&(n = !0));
for (var d=a - 1; d >=0; d -=1) t[d]&&!n&&(r +=1, (o +=t[d].swiperSlideSize) > s&&(n = !0))
} else for (var h=a + 1; h < t.length; h +=1) i[h] - i[a] < s&&(r +=1);
return r
}, 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 ? (s(), 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))||s(), i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(), e.emit("update")
}
function s(){
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.params.direction;
return e||(e="horizontal"===i ? "vertical":"horizontal"), e===i||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass("" + this.params.containerModifierClass + i).addClass("" + this.params.containerModifierClass + e), this.params.direction=e, this.slides.each((function (t, i){
"vertical"===e ? i.style.width="":i.style.height=""
})), this.emit("changeDirection"), t&&this.update()), this
}, t.prototype.init=function (){
this.initialized||(this.emit("beforeInit"), this.params.breakpoints&&this.setBreakpoint(), this.addClasses(), this.params.loop&&this.loopCreate(), this.updateSize(), this.updateSlides(), this.params.watchOverflow&&this.checkOverflow(), this.params.grabCursor&&this.setGrabCursor(), this.params.preloadImages&&this.preloadImages(), this.params.loop ? this.slideTo(this.params.initialSlide + this.loopedSlides, 0, this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide, 0, this.params.runCallbacksOnInit), this.attachEvents(), this.initialized = !0, this.emit("init"))
}, t.prototype.destroy=function (e, t){
void 0===e&&(e = !0), void 0===t&&(t = !0);
var i=this, s=i.params, a=i.$el, r=i.$wrapperEl, n=i.slides;
return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), s.loop&&i.loopDestroy(), t&&(i.removeClasses(), a.removeAttr("style"), r.removeAttr("style"), n&&n.length&&n.removeClass([s.slideVisibleClass, s.slideActiveClass, s.slideNextClass, s.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), d.deleteProps(i)), i.destroyed = !0), null
}, t.extendDefaults=function (e){
d.extend(q, e)
}, i.extendedDefaults.get=function (){
return q
}, i.defaults.get=function (){
return W
}, i.Class.get=function (){
return e
}, i.$.get=function (){
return n
}, Object.defineProperties(t, i), t
}(p), K={name: "device", proto: {device: A}, static: {device: A}},
U={name: "support", proto: {support: h}, static: {support: h}}, _={
isEdge: !!a.navigator.userAgent.match(/Edge/g), isSafari: function (){
var e=a.navigator.userAgent.toLowerCase();
return e.indexOf("safari") >=0&&e.indexOf("chrome") < 0&&e.indexOf("android") < 0
}(), isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(a.navigator.userAgent)
}, Z={name: "browser", proto: {browser: _}, static: {browser: _}}, Q={
name: "resize", create: function (){
var e=this;
d.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 (){
a.addEventListener("resize", this.resize.resizeHandler), a.addEventListener("orientationchange", this.resize.orientationChangeHandler)
}, destroy: function (){
a.removeEventListener("resize", this.resize.resizeHandler), a.removeEventListener("orientationchange", this.resize.orientationChangeHandler)
}}
}, J={
func: a.MutationObserver||a.WebkitMutationObserver, attach: function (e, t){
void 0===t&&(t={});
var i=this, s=new (0, J.func)((function (e){
if(1!==e.length){
var t=function (){
i.emit("observerUpdate", e[0])
};
a.requestAnimationFrame ? a.requestAnimationFrame(t):a.setTimeout(t, 0)
} else i.emit("observerUpdate", e[0])
}));
s.observe(e, {
attributes: void 0===t.attributes||t.attributes,
childList: void 0===t.childList||t.childList,
characterData: void 0===t.characterData||t.characterData
}), i.observer.observers.push(s)
}, init: function (){
if(h.observer&&this.params.observer){
if(this.params.observeParents) for (var e=this.$el.parents(), t=0; t < e.length; t +=1) this.observer.attach(e[t]);
this.observer.attach(this.$el[0], {childList: this.params.observeSlideChildren}), this.observer.attach(this.$wrapperEl[0], {attributes: !1})
}}, destroy: function (){
this.observer.observers.forEach((function (e){
e.disconnect()
})), this.observer.observers=[]
}}, ee={
name: "observer",
params: {observer: !1, observeParents: !1, observeSlideChildren: !1},
create: function (){
d.extend(this, {
observer: {
init: J.init.bind(this),
attach: J.attach.bind(this),
destroy: J.destroy.bind(this),
observers: []
}})
},
on: {
init: function (){
this.observer.init()
}, destroy: function (){
this.observer.destroy()
}}
}, te={
update: function (e){
var t=this, i=t.params, s=i.slidesPerView, a=i.slidesPerGroup, r=i.centeredSlides,
n=t.params.virtual, o=n.addSlidesBefore, l=n.addSlidesAfter, h=t.virtual, p=h.from, c=h.to,
u=h.slides, v=h.slidesGrid, f=h.renderSlide, m=h.offset;
t.updateActiveIndex();
var g, b, w, y=t.activeIndex||0;
g=t.rtlTranslate ? "right":t.isHorizontal() ? "left":"top", r ? (b=Math.floor(s / 2) + a + o, w=Math.floor(s / 2) + a + l):(b=s + (a - 1) + o, w=a + l);
var x=Math.max((y||0) - w, 0), E=Math.min((y||0) + b, u.length - 1),
T=(t.slidesGrid[x]||0) - (t.slidesGrid[0]||0);
function S(){
t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.lazy&&t.params.lazy.enabled&&t.lazy.load()
}
if(d.extend(t.virtual, {
from: x,
to: E,
offset: T,
slidesGrid: t.slidesGrid
}), p===x&&c===E&&!e) return t.slidesGrid!==v&&T!==m&&t.slides.css(g, T + "px"), void t.updateProgress();
if(t.params.virtual.renderExternal) return t.params.virtual.renderExternal.call(t, {
offset: T,
from: x,
to: E,
slides: function (){
for (var e=[], t=x; t <=E; t +=1) e.push(u[t]);
return e
}()
}), void S();
var C=[], M=[];
if(e) t.$wrapperEl.find("." + t.params.slideClass).remove(); else for (var P=p; P <=c; P +=1) (P < x||P > E)&&t.$wrapperEl.find("." + t.params.slideClass + '[data-swiper-slide-index="' + P + '"]').remove();
for (var z=0; z < u.length; z +=1) z >=x&&z <=E&&(void 0===c||e ? M.push(z):(z > c&&M.push(z), z < p&&C.push(z)));
M.forEach((function (e){
t.$wrapperEl.append(f(u[e], e))
})), C.sort((function (e, t){
return t - e
})).forEach((function (e){
t.$wrapperEl.prepend(f(u[e], e))
})), t.$wrapperEl.children(".swiper-slide").css(g, T + "px"), S()
}, renderSlide: function (e, t){
var i=this.params.virtual;
if(i.cache&&this.virtual.cache[t]) return this.virtual.cache[t];
var s=i.renderSlide ? n(i.renderSlide.call(this, e, t)):n('<div class="' + this.params.slideClass + '" data-swiper-slide-index="' + t + '">' + e + "</div>");
return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index", t), i.cache&&(this.virtual.cache[t]=s), s
}, appendSlide: function (e){
if("object"==typeof e&&"length" in e) for (var t=0; t < e.length; t +=1) e[t]&&this.virtual.slides.push(e[t]); else this.virtual.slides.push(e);
this.virtual.update(!0)
}, prependSlide: function (e){
var t=this.activeIndex, i=t + 1, s=1;
if(Array.isArray(e)){
for (var a=0; a < e.length; a +=1) e[a]&&this.virtual.slides.unshift(e[a]);
i=t + e.length, s=e.length
} else this.virtual.slides.unshift(e);
if(this.params.virtual.cache){
var r=this.virtual.cache, n={};
Object.keys(r).forEach((function (e){
var t=r[e], i=t.attr("data-swiper-slide-index");
i&&t.attr("data-swiper-slide-index", parseInt(i, 10) + 1), n[parseInt(e, 10) + s]=t
})), this.virtual.cache=n
}
this.virtual.update(!0), this.slideTo(i, 0)
}, removeSlide: function (e){
if(null!=e){
var t=this.activeIndex;
if(Array.isArray(e)) for (var i=e.length - 1; i >=0; i -=1) this.virtual.slides.splice(e[i], 1), this.params.virtual.cache&&delete this.virtual.cache[e[i]], e[i] < t&&(t -=1), t=Math.max(t, 0); else this.virtual.slides.splice(e, 1), this.params.virtual.cache&&delete this.virtual.cache[e], e < t&&(t -=1), t=Math.max(t, 0);
this.virtual.update(!0), this.slideTo(t, 0)
}}, removeAllSlides: function (){
this.virtual.slides=[], this.params.virtual.cache&&(this.virtual.cache={}), this.virtual.update(!0), this.slideTo(0, 0)
}}, ie={
name: "virtual",
params: {
virtual: {
enabled: !1,
slides: [],
cache: !0,
renderSlide: null,
renderExternal: null,
addSlidesBefore: 0,
addSlidesAfter: 0
}},
create: function (){
d.extend(this, {
virtual: {
update: te.update.bind(this),
appendSlide: te.appendSlide.bind(this),
prependSlide: te.prependSlide.bind(this),
removeSlide: te.removeSlide.bind(this),
removeAllSlides: te.removeAllSlides.bind(this),
renderSlide: te.renderSlide.bind(this),
slides: this.params.virtual.slides,
cache: {}}
})
},
on: {
beforeInit: function (){
if(this.params.virtual.enabled){
this.classNames.push(this.params.containerModifierClass + "virtual");
var e={watchSlidesProgress: !0};
d.extend(this.params, e), d.extend(this.originalParams, e), this.params.initialSlide||this.virtual.update()
}}, setTranslate: function (){
this.params.virtual.enabled&&this.virtual.update()
}}
}, se={
handle: function (e){
var t=this.rtlTranslate, s=e;
s.originalEvent&&(s=s.originalEvent);
var r=s.keyCode||s.charCode, n=this.params.keyboard.pageUpDown, o=n&&33===r, l=n&&34===r,
d=37===r, h=39===r, p=38===r, c=40===r;
if(!this.allowSlideNext&&(this.isHorizontal()&&h||this.isVertical()&&c||l)) return !1;
if(!this.allowSlidePrev&&(this.isHorizontal()&&d||this.isVertical()&&p||o)) return !1;
if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){
if(this.params.keyboard.onlyInViewport&&(o||l || d||h || p||c)){
var u = !1;
if(this.$el.parents("." + this.params.slideClass).length > 0&&0===this.$el.parents("." + this.params.slideActiveClass).length) return;
var v=a.innerWidth, f=a.innerHeight, m=this.$el.offset();
t&&(m.left -=this.$el[0].scrollLeft);
for (var g=[[m.left, m.top], [m.left + this.width, m.top], [m.left, m.top + this.height], [m.left + this.width, m.top + this.height]], b=0; b < g.length; b +=1){
var w=g[b];
w[0] >=0&&w[0] <=v&&w[1] >=0&&w[1] <=f&&(u = !0)
}
if(!u) return
}
this.isHorizontal() ? ((o||l || d||h)&&(s.preventDefault ? s.preventDefault():s.returnValue = !1), ((l||h)&&!t||(o||d)&&t)&&this.slideNext(), ((o||d)&&!t||(l||h)&&t)&&this.slidePrev()):((o||l || p||c)&&(s.preventDefault ? s.preventDefault():s.returnValue = !1), (l||c)&&this.slideNext(), (o||p)&&this.slidePrev()), this.emit("keyPress", r)
}}, enable: function (){
this.keyboard.enabled||(n(i).on("keydown", this.keyboard.handle), this.keyboard.enabled = !0)
}, disable: function (){
this.keyboard.enabled&&(n(i).off("keydown", this.keyboard.handle), this.keyboard.enabled = !1)
}}, ae={
name: "keyboard",
params: {keyboard: {enabled: !1, onlyInViewport: !0, pageUpDown: !0}},
create: function (){
d.extend(this, {
keyboard: {
enabled: !1,
enable: se.enable.bind(this),
disable: se.disable.bind(this),
handle: se.handle.bind(this)
}})
},
on: {
init: function (){
this.params.keyboard.enabled&&this.keyboard.enable()
}, destroy: function (){
this.keyboard.enabled&&this.keyboard.disable()
}}
};
var re={
lastScrollTime: d.now(), lastEventBeforeSnap: void 0, recentWheelEvents: [], event: function (){
return a.navigator.userAgent.indexOf("firefox") > -1 ? "DOMMouseScroll":function (){
var e="onwheel" in i;
if(!e){
var t=i.createElement("div");
t.setAttribute("onwheel", "return;"), e="function"==typeof t.onwheel
}
return !e&&i.implementation&&i.implementation.hasFeature&&!0!==i.implementation.hasFeature("", "")&&(e=i.implementation.hasFeature("Events.wheel", "3.0")), e
}() ? "wheel":"mousewheel"
}, normalize: function (e){
var t=0, i=0, s=0, a=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), s=10 * t, a=10 * i, "deltaY" in e&&(a=e.deltaY), "deltaX" in e&&(s=e.deltaX), e.shiftKey&&!s&&(s=a, a=0), (s||a)&&e.deltaMode&&(1===e.deltaMode ? (s *=40, a *=40):(s *=800, a *=800)), s&&!t&&(t=s < 1 ? -1:1), a&&!i&&(i=a < 1 ? -1:1), {
spinX: t,
spinY: i,
pixelX: s,
pixelY: a
}}, handleMouseEnter: function (){
this.mouseEntered = !0
}, handleMouseLeave: function (){
this.mouseEntered = !1
}, handle: function (e){
var t=e, i=this, s=i.params.mousewheel;
i.params.cssMode&&t.preventDefault();
var a=i.$el;
if("container"!==i.params.mousewheel.eventsTarged&&(a=n(i.params.mousewheel.eventsTarged)), !i.mouseEntered&&!a[0].contains(t.target)&&!s.releaseOnEdges) return !0;
t.originalEvent&&(t=t.originalEvent);
var r=0, o=i.rtlTranslate ? -1:1, l=re.normalize(t);
if(s.forceToAxis) if(i.isHorizontal()){
if(!(Math.abs(l.pixelX) > Math.abs(l.pixelY))) return !0;
r=-l.pixelX * o
}else{
if(!(Math.abs(l.pixelY) > Math.abs(l.pixelX))) return !0;
r=-l.pixelY
} else r=Math.abs(l.pixelX) > Math.abs(l.pixelY) ? -l.pixelX * o:-l.pixelY;
if(0===r) return !0;
if(s.invert&&(r=-r), i.params.freeMode){
var h={time: d.now(), delta: Math.abs(r), direction: Math.sign(r)},
p=i.mousewheel.lastEventBeforeSnap,
c=p&&h.time < p.time + 500&&h.delta <=p.delta&&h.direction===p.direction;
if(!c){
i.mousewheel.lastEventBeforeSnap=void 0, i.params.loop&&i.loopFix();
var u=i.getTranslate() + r * s.sensitivity, v=i.isBeginning, f=i.isEnd;
if(u >=i.minTranslate()&&(u=i.minTranslate()), u <=i.maxTranslate()&&(u=i.maxTranslate()), i.setTransition(0), i.setTranslate(u), 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();
var g=m.length ? m[m.length - 1]:void 0, b=m[0];
if(m.push(h), g&&(h.delta > g.delta||h.direction!==g.direction)) m.splice(0); else if(m.length >=15&&h.time - b.time < 500&&b.delta - h.delta >=1&&h.delta <=6){
var w=r > 0 ? .8 : .2;
i.mousewheel.lastEventBeforeSnap=h, m.splice(0), i.mousewheel.timeout=d.nextTick((function (){
i.slideToClosest(i.params.speed, !0, void 0, w)
}), 0)
}
i.mousewheel.timeout||(i.mousewheel.timeout=d.nextTick((function (){
i.mousewheel.lastEventBeforeSnap=h, m.splice(0), i.slideToClosest(i.params.speed, !0, void 0, .5)
}), 500))
}
if(c||i.emit("scroll", t), i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(), u===i.minTranslate()||u===i.maxTranslate()) return !0
}}else{
var y={time: d.now(), delta: Math.abs(r), direction: Math.sign(r), raw: e},
x=i.mousewheel.recentWheelEvents;
x.length >=2&&x.shift();
var E=x.length ? x[x.length - 1]:void 0;
if(x.push(y), E ? (y.direction!==E.direction||y.delta > E.delta||y.time > E.time + 150)&&i.mousewheel.animateSlider(y):i.mousewheel.animateSlider(y), i.mousewheel.releaseScroll(y)) return !0
}
return t.preventDefault ? t.preventDefault():t.returnValue = !1, !1
}, animateSlider: function (e){
return e.delta >=6&&d.now() - this.mousewheel.lastScrollTime < 60||(e.direction < 0 ? this.isEnd&&!this.params.loop||this.animating||(this.slideNext(), this.emit("scroll", e.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(), this.emit("scroll", e.raw)), this.mousewheel.lastScrollTime=(new a.Date).getTime(), !1)
}, releaseScroll: function (e){
var t=this.params.mousewheel;
if(e.direction < 0){
if(this.isEnd&&!this.params.loop&&t.releaseOnEdges) return !0
}else if(this.isBeginning&&!this.params.loop&&t.releaseOnEdges) return !0;
return !1
}, enable: function (){
var e=re.event();
if(this.params.cssMode) return this.wrapperEl.removeEventListener(e, this.mousewheel.handle), !0;
if(!e) return !1;
if(this.mousewheel.enabled) return !1;
var t=this.$el;
return "container"!==this.params.mousewheel.eventsTarged&&(t=n(this.params.mousewheel.eventsTarged)), t.on("mouseenter", this.mousewheel.handleMouseEnter), t.on("mouseleave", this.mousewheel.handleMouseLeave), t.on(e, this.mousewheel.handle), this.mousewheel.enabled = !0, !0
}, disable: function (){
var e=re.event();
if(this.params.cssMode) return this.wrapperEl.addEventListener(e, this.mousewheel.handle), !0;
if(!e) return !1;
if(!this.mousewheel.enabled) return !1;
var t=this.$el;
return "container"!==this.params.mousewheel.eventsTarged&&(t=n(this.params.mousewheel.eventsTarged)), t.off(e, this.mousewheel.handle), this.mousewheel.enabled = !1, !0
}}, ne={
update: function (){
var e=this.params.navigation;
if(!this.params.loop){
var t=this.navigation, i=t.$nextEl, s=t.$prevEl;
s&&s.length > 0&&(this.isBeginning ? s.addClass(e.disabledClass):s.removeClass(e.disabledClass), s[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](e.lockClass)), i&&i.length > 0&&(this.isEnd ? i.addClass(e.disabledClass):i.removeClass(e.disabledClass), i[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](e.lockClass))
}}, onPrevClick: function (e){
e.preventDefault(), this.isBeginning&&!this.params.loop||this.slidePrev()
}, onNextClick: function (e){
e.preventDefault(), this.isEnd&&!this.params.loop||this.slideNext()
}, init: function (){
var e, t, i=this.params.navigation;
(i.nextEl||i.prevEl)&&(i.nextEl&&(e=n(i.nextEl), this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length > 1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))), i.prevEl&&(t=n(i.prevEl), this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length > 1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))), e&&e.length > 0&&e.on("click", this.navigation.onNextClick), t&&t.length > 0&&t.on("click", this.navigation.onPrevClick), d.extend(this.navigation, {
$nextEl: e,
nextEl: e&&e[0],
$prevEl: t,
prevEl: t&&t[0]
}))
}, destroy: function (){
var e=this.navigation, t=e.$nextEl, i=e.$prevEl;
t&&t.length&&(t.off("click", this.navigation.onNextClick), t.removeClass(this.params.navigation.disabledClass)), i&&i.length&&(i.off("click", this.navigation.onPrevClick), i.removeClass(this.params.navigation.disabledClass))
}}, oe={
update: function (){
var e=this.rtl, t=this.params.pagination;
if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){
var i,
s=this.virtual&&this.params.virtual.enabled ? this.virtual.slides.length:this.slides.length,
a=this.pagination.$el,
r=this.params.loop ? Math.ceil((s - 2 * this.loopedSlides) / this.params.slidesPerGroup):this.snapGrid.length;
if(this.params.loop ? ((i=Math.ceil((this.activeIndex - this.loopedSlides) / this.params.slidesPerGroup)) > s - 1 - 2 * this.loopedSlides&&(i -=s - 2 * this.loopedSlides), i > r - 1&&(i -=r), i < 0&&"bullets"!==this.params.paginationType&&(i=r + i)):i=void 0!==this.snapIndex ? this.snapIndex:this.activeIndex||0, "bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length > 0){
var o, l, d, h=this.pagination.bullets;
if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal() ? "outerWidth":"outerHeight"](!0), a.css(this.isHorizontal() ? "width":"height", this.pagination.bulletSize * (t.dynamicMainBullets + 4) + "px"), t.dynamicMainBullets > 1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex +=i - this.previousIndex, this.pagination.dynamicBulletIndex > t.dynamicMainBullets - 1 ? this.pagination.dynamicBulletIndex=t.dynamicMainBullets - 1:this.pagination.dynamicBulletIndex < 0&&(this.pagination.dynamicBulletIndex=0)), o=i - this.pagination.dynamicBulletIndex, d=((l=o + (Math.min(h.length, t.dynamicMainBullets) - 1)) + o) / 2), h.removeClass(t.bulletActiveClass + " " + t.bulletActiveClass + "-next " + t.bulletActiveClass + "-next-next " + t.bulletActiveClass + "-prev " + t.bulletActiveClass + "-prev-prev " + t.bulletActiveClass + "-main"), a.length > 1) h.each((function (e, s){
var a=n(s), r=a.index();
r===i&&a.addClass(t.bulletActiveClass), t.dynamicBullets&&(r >=o&&r <=l&&a.addClass(t.bulletActiveClass + "-main"), r===o&&a.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), r===l&&a.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next"))
})); else {
var p=h.eq(i), c=p.index();
if(p.addClass(t.bulletActiveClass), t.dynamicBullets){
for (var u=h.eq(o), v=h.eq(l), f=o; f <=l; f +=1) h.eq(f).addClass(t.bulletActiveClass + "-main");
if(this.params.loop) if(c >=h.length - t.dynamicMainBullets){
for (var m=t.dynamicMainBullets; m >=0; m -=1) h.eq(h.length - m).addClass(t.bulletActiveClass + "-main");
h.eq(h.length - t.dynamicMainBullets - 1).addClass(t.bulletActiveClass + "-prev")
} else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next"); else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next")
}}
if(t.dynamicBullets){
var g=Math.min(h.length, t.dynamicMainBullets + 4),
b=(this.pagination.bulletSize * g - this.pagination.bulletSize) / 2 - d * this.pagination.bulletSize,
w=e ? "right":"left";
h.css(this.isHorizontal() ? w:"top", b + "px")
}}
if("fraction"===t.type&&(a.find("." + t.currentClass).text(t.formatFractionCurrent(i + 1)), a.find("." + t.totalClass).text(t.formatFractionTotal(r))), "progressbar"===t.type){
var y;
y=t.progressbarOpposite ? this.isHorizontal() ? "vertical":"horizontal":this.isHorizontal() ? "horizontal":"vertical";
var x=(i + 1) / r, E=1, T=1;
"horizontal"===y ? E=x:T=x, a.find("." + t.progressbarFillClass).transform("translate3d(0,0,0) scaleX(" + E + ") scaleY(" + T + ")").transition(this.params.speed)
}
"custom"===t.type&&t.renderCustom ? (a.html(t.renderCustom(this, i + 1, r)), this.emit("paginationRender", this, a[0])):this.emit("paginationUpdate", this, a[0]), a[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](t.lockClass)
}}, render: function (){
var e=this.params.pagination;
if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){
var t=this.virtual&&this.params.virtual.enabled ? this.virtual.slides.length:this.slides.length,
i=this.pagination.$el, s="";
if("bullets"===e.type){
for (var a=this.params.loop ? Math.ceil((t - 2 * this.loopedSlides) / this.params.slidesPerGroup):this.snapGrid.length, r=0; r < a; r +=1) e.renderBullet ? s +=e.renderBullet.call(this, r, e.bulletClass):s +="<" + e.bulletElement + ' class="' + e.bulletClass + '"></' + e.bulletElement + ">";
i.html(s), this.pagination.bullets=i.find("." + e.bulletClass)
}
"fraction"===e.type&&(s=e.renderFraction ? e.renderFraction.call(this, e.currentClass, e.totalClass):'<span class="' + e.currentClass + '"></span> / <span class="' + e.totalClass + '"></span>', i.html(s)), "progressbar"===e.type&&(s=e.renderProgressbar ? e.renderProgressbar.call(this, e.progressbarFillClass):'<span class="' + e.progressbarFillClass + '"></span>', i.html(s)), "custom"!==e.type&&this.emit("paginationRender", this.pagination.$el[0])
}}, init: function (){
var e=this, t=e.params.pagination;
if(t.el){
var i=n(t.el);
0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length > 1&&(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=n(this).index() * e.params.slidesPerGroup;
e.params.loop&&(i +=e.loopedSlides), e.slideTo(i)
})), d.extend(e.pagination, {$el: i, el: i[0]}))
}}, destroy: function (){
var e=this.params.pagination;
if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){
var t=this.pagination.$el;
t.removeClass(e.hiddenClass), t.removeClass(e.modifierClass + e.type), this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass), e.clickable&&t.off("click", "." + e.bulletClass)
}}
}, le={
setTranslate: function (){
if(this.params.scrollbar.el&&this.scrollbar.el){
var e=this.scrollbar, t=this.rtlTranslate, i=this.progress, s=e.dragSize, a=e.trackSize,
r=e.$dragEl, n=e.$el, o=this.params.scrollbar, l=s, d=(a - s) * i;
t ? (d=-d) > 0 ? (l=s - d, d=0):-d + s > a&&(l=a + d):d < 0 ? (l=s + d, d=0):d + s > a&&(l=a - d), this.isHorizontal() ? (r.transform("translate3d(" + d + "px, 0, 0)"), r[0].style.width=l + "px"):(r.transform("translate3d(0px, " + d + "px, 0)"), r[0].style.height=l + "px"), o.hide&&(clearTimeout(this.scrollbar.timeout), n[0].style.opacity=1, this.scrollbar.timeout=setTimeout((function (){
n[0].style.opacity=0, n.transition(400)
}), 1e3))
}}, setTransition: function (e){
this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)
}, updateSize: function (){
if(this.params.scrollbar.el&&this.scrollbar.el){
var e=this.scrollbar, t=e.$dragEl, i=e.$el;
t[0].style.width="", t[0].style.height="";
var s, a=this.isHorizontal() ? i[0].offsetWidth:i[0].offsetHeight, r=this.size / this.virtualSize,
n=r * (a / this.size);
s="auto"===this.params.scrollbar.dragSize ? a * r:parseInt(this.params.scrollbar.dragSize, 10), this.isHorizontal() ? t[0].style.width=s + "px":t[0].style.height=s + "px", i[0].style.display=r >=1 ? "none":"", this.params.scrollbar.hide&&(i[0].style.opacity=0), d.extend(e, {
trackSize: a,
divider: r,
moveDivider: n,
dragSize: s
}), e.$el[this.params.watchOverflow&&this.isLocked ? "addClass":"removeClass"](this.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.scrollbar, s=this.rtlTranslate, a=i.$el, r=i.dragSize, n=i.trackSize,
o=i.dragStartPos;
t=(i.getPointerPosition(e) - a.offset()[this.isHorizontal() ? "left":"top"] - (null!==o ? o:r / 2)) / (n - r), t=Math.max(Math.min(t, 1), 0), s&&(t=1 - t);
var l=this.minTranslate() + (this.maxTranslate() - this.minTranslate()) * t;
this.updateProgress(l), this.setTranslate(l), this.updateActiveIndex(), this.updateSlidesClasses()
}, onDragStart: function (e){
var t=this.params.scrollbar, i=this.scrollbar, s=this.$wrapperEl, a=i.$el, r=i.$dragEl;
this.scrollbar.isTouched = !0, this.scrollbar.dragStartPos=e.target===r[0]||e.target===r ? i.getPointerPosition(e) - e.target.getBoundingClientRect()[this.isHorizontal() ? "left":"top"]:null, e.preventDefault(), e.stopPropagation(), s.transition(100), r.transition(100), i.setDragPosition(e), clearTimeout(this.scrollbar.dragTimeout), a.transition(0), t.hide&&a.css("opacity", 1), this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type", "none"), this.emit("scrollbarDragStart", e)
}, onDragMove: function (e){
var t=this.scrollbar, i=this.$wrapperEl, s=t.$el, a=t.$dragEl;
this.scrollbar.isTouched&&(e.preventDefault ? e.preventDefault():e.returnValue = !1, t.setDragPosition(e), i.transition(0), s.transition(0), a.transition(0), this.emit("scrollbarDragMove", e))
}, onDragEnd: function (e){
var t=this.params.scrollbar, i=this.scrollbar, s=this.$wrapperEl, a=i.$el;
this.scrollbar.isTouched&&(this.scrollbar.isTouched = !1, this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type", ""), s.transition("")), t.hide&&(clearTimeout(this.scrollbar.dragTimeout), this.scrollbar.dragTimeout=d.nextTick((function (){
a.css("opacity", 0), a.transition(400)
}), 1e3)), this.emit("scrollbarDragEnd", e), t.snapOnRelease&&this.slideToClosest())
}, enableDraggable: function (){
if(this.params.scrollbar.el){
var e=this.scrollbar, t=this.touchEventsTouch, s=this.touchEventsDesktop, a=this.params,
r=e.$el[0], n = !(!h.passiveListener||!a.passiveListeners)&&{passive: !1, capture: !1},
o = !(!h.passiveListener||!a.passiveListeners)&&{passive: !0, capture: !1};
h.touch ? (r.addEventListener(t.start, this.scrollbar.onDragStart, n), r.addEventListener(t.move, this.scrollbar.onDragMove, n), r.addEventListener(t.end, this.scrollbar.onDragEnd, o)):(r.addEventListener(s.start, this.scrollbar.onDragStart, n), i.addEventListener(s.move, this.scrollbar.onDragMove, n), i.addEventListener(s.end, this.scrollbar.onDragEnd, o))
}}, disableDraggable: function (){
if(this.params.scrollbar.el){
var e=this.scrollbar, t=this.touchEventsTouch, s=this.touchEventsDesktop, a=this.params,
r=e.$el[0], n = !(!h.passiveListener||!a.passiveListeners)&&{passive: !1, capture: !1},
o = !(!h.passiveListener||!a.passiveListeners)&&{passive: !0, capture: !1};
h.touch ? (r.removeEventListener(t.start, this.scrollbar.onDragStart, n), r.removeEventListener(t.move, this.scrollbar.onDragMove, n), r.removeEventListener(t.end, this.scrollbar.onDragEnd, o)):(r.removeEventListener(s.start, this.scrollbar.onDragStart, n), i.removeEventListener(s.move, this.scrollbar.onDragMove, n), i.removeEventListener(s.end, this.scrollbar.onDragEnd, o))
}}, init: function (){
if(this.params.scrollbar.el){
var e=this.scrollbar, t=this.$el, i=this.params.scrollbar, s=n(i.el);
this.params.uniqueNavElements&&"string"==typeof i.el&&s.length > 1&&1===t.find(i.el).length&&(s=t.find(i.el));
var a=s.find("." + this.params.scrollbar.dragClass);
0===a.length&&(a=n('<div class="' + this.params.scrollbar.dragClass + '"></div>'), s.append(a)), d.extend(e, {
$el: s,
el: s[0],
$dragEl: a,
dragEl: a[0]
}), i.draggable&&e.enableDraggable()
}}, destroy: function (){
this.scrollbar.disableDraggable()
}}, de={
setTransform: function (e, t){
var i=this.rtl, s=n(e), a=i ? -1:1, r=s.attr("data-swiper-parallax")||"0",
o=s.attr("data-swiper-parallax-x"), l=s.attr("data-swiper-parallax-y"),
d=s.attr("data-swiper-parallax-scale"), h=s.attr("data-swiper-parallax-opacity");
if(o||l ? (o=o||"0", l=l||"0"):this.isHorizontal() ? (o=r, l="0"):(l=r, o="0"), o=o.indexOf("%") >=0 ? parseInt(o, 10) * t * a + "%":o * t * a + "px", l=l.indexOf("%") >=0 ? parseInt(l, 10) * t + "%":l * t + "px", null!=h){
var p=h - (h - 1) * (1 - Math.abs(t));
s[0].style.opacity=p
}
if(null==d) s.transform("translate3d(" + o + ", " + l + ", 0px)"); else {
var c=d - (d - 1) * (1 - Math.abs(t));
s.transform("translate3d(" + o + ", " + l + ", 0px) scale(" + c + ")")
}}, setTranslate: function (){
var e=this, t=e.$el, i=e.slides, s=e.progress, a=e.snapGrid;
t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i){
e.parallax.setTransform(i, s)
})), i.each((function (t, i){
var r=i.progress;
e.params.slidesPerGroup > 1&&"auto"!==e.params.slidesPerView&&(r +=Math.ceil(t / 2) - s * (a.length - 1)), r=Math.min(Math.max(r, -1), 1), n(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i){
e.parallax.setTransform(i, r)
}))
}))
}, setTransition: function (e){
void 0===e&&(e=this.params.speed);
this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i){
var s=n(i), a=parseInt(s.attr("data-swiper-parallax-duration"), 10)||e;
0===e&&(a=0), s.transition(a)
}))
}}, he={
getDistanceBetweenTouches: function (e){
if(e.targetTouches.length < 2) return 1;
var t=e.targetTouches[0].pageX, i=e.targetTouches[0].pageY, s=e.targetTouches[1].pageX,
a=e.targetTouches[1].pageY;
return Math.sqrt(Math.pow(s - t, 2) + Math.pow(a - i, 2))
}, onGestureStart: function (e){
var t=this.params.zoom, i=this.zoom, s=i.gesture;
if(i.fakeGestureTouched = !1, i.fakeGestureMoved = !1, !h.gestures){
if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length < 2) return;
i.fakeGestureTouched = !0, s.scaleStart=he.getDistanceBetweenTouches(e)
}
s.$slideEl&&s.$slideEl.length||(s.$slideEl=n(e.target).closest("." + this.params.slideClass), 0===s.$slideEl.length&&(s.$slideEl=this.slides.eq(this.activeIndex)), s.$imageEl=s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), s.$imageWrapEl=s.$imageEl.parent("." + t.containerClass), s.maxRatio=s.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio, 0!==s.$imageWrapEl.length) ? (s.$imageEl&&s.$imageEl.transition(0), this.zoom.isScaling = !0):s.$imageEl=void 0
}, onGestureChange: function (e){
var t=this.params.zoom, i=this.zoom, s=i.gesture;
if(!h.gestures){
if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length < 2) return;
i.fakeGestureMoved = !0, s.scaleMove=he.getDistanceBetweenTouches(e)
}
s.$imageEl&&0!==s.$imageEl.length&&(i.scale=h.gestures ? e.scale * i.currentScale:s.scaleMove / s.scaleStart * i.currentScale, i.scale > s.maxRatio&&(i.scale=s.maxRatio - 1 + Math.pow(i.scale - s.maxRatio + 1, .5)), i.scale < t.minRatio&&(i.scale=t.minRatio + 1 - Math.pow(t.minRatio - i.scale + 1, .5)), s.$imageEl.transform("translate3d(0,0,0) scale(" + i.scale + ")"))
}, onGestureEnd: function (e){
var t=this.params.zoom, i=this.zoom, s=i.gesture;
if(!h.gestures){
if(!i.fakeGestureTouched||!i.fakeGestureMoved) return;
if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length < 2&&!A.android) return;
i.fakeGestureTouched = !1, i.fakeGestureMoved = !1
}
s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale, s.maxRatio), t.minRatio), s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(" + i.scale + ")"), i.currentScale=i.scale, i.isScaling = !1, 1===i.scale&&(s.$slideEl=void 0))
}, onTouchStart: function (e){
var t=this.zoom, i=t.gesture, s=t.image;
i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(A.android&&e.cancelable&&e.preventDefault(), s.isTouched = !0, s.touchesStart.x="touchstart"===e.type ? e.targetTouches[0].pageX:e.pageX, s.touchesStart.y="touchstart"===e.type ? e.targetTouches[0].pageY:e.pageY))
}, onTouchMove: function (e){
var t=this.zoom, i=t.gesture, s=t.image, a=t.velocity;
if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick = !1, s.isTouched&&i.$slideEl)){
s.isMoved||(s.width=i.$imageEl[0].offsetWidth, s.height=i.$imageEl[0].offsetHeight, s.startX=d.getTranslate(i.$imageWrapEl[0], "x")||0, s.startY=d.getTranslate(i.$imageWrapEl[0], "y")||0, i.slideWidth=i.$slideEl[0].offsetWidth, i.slideHeight=i.$slideEl[0].offsetHeight, i.$imageWrapEl.transition(0), this.rtl&&(s.startX=-s.startX, s.startY=-s.startY));
var r=s.width * t.scale, n=s.height * t.scale;
if(!(r < i.slideWidth&&n < i.slideHeight)){
if(s.minX=Math.min(i.slideWidth / 2 - r / 2, 0), s.maxX=-s.minX, s.minY=Math.min(i.slideHeight / 2 - n / 2, 0), s.maxY=-s.minY, s.touchesCurrent.x="touchmove"===e.type ? e.targetTouches[0].pageX:e.pageX, s.touchesCurrent.y="touchmove"===e.type ? e.targetTouches[0].pageY:e.pageY, !s.isMoved&&!t.isScaling){
if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x < s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x > s.touchesStart.x)) return void (s.isTouched = !1);
if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y < s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y > s.touchesStart.y)) return void (s.isTouched = !1)
}
e.cancelable&&e.preventDefault(), e.stopPropagation(), s.isMoved = !0, s.currentX=s.touchesCurrent.x - s.touchesStart.x + s.startX, s.currentY=s.touchesCurrent.y - s.touchesStart.y + s.startY, s.currentX < s.minX&&(s.currentX=s.minX + 1 - Math.pow(s.minX - s.currentX + 1, .8)), s.currentX > s.maxX&&(s.currentX=s.maxX - 1 + Math.pow(s.currentX - s.maxX + 1, .8)), s.currentY < s.minY&&(s.currentY=s.minY + 1 - Math.pow(s.minY - s.currentY + 1, .8)), s.currentY > s.maxY&&(s.currentY=s.maxY - 1 + Math.pow(s.currentY - s.maxY + 1, .8)), a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x), a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y), a.prevTime||(a.prevTime=Date.now()), a.x=(s.touchesCurrent.x - a.prevPositionX) / (Date.now() - a.prevTime) / 2, a.y=(s.touchesCurrent.y - a.prevPositionY) / (Date.now() - a.prevTime) / 2, Math.abs(s.touchesCurrent.x - a.prevPositionX) < 2&&(a.x=0), Math.abs(s.touchesCurrent.y - a.prevPositionY) < 2&&(a.y=0), a.prevPositionX=s.touchesCurrent.x, a.prevPositionY=s.touchesCurrent.y, a.prevTime=Date.now(), i.$imageWrapEl.transform("translate3d(" + s.currentX + "px, " + s.currentY + "px,0)")
}}
}, onTouchEnd: function (){
var e=this.zoom, t=e.gesture, i=e.image, s=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 a=300, r=300, n=s.x * a, o=i.currentX + n, l=s.y * r, d=i.currentY + l;
0!==s.x&&(a=Math.abs((o - i.currentX) / s.x)), 0!==s.y&&(r=Math.abs((d - i.currentY) / s.y));
var h=Math.max(a, r);
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(h).transform("translate3d(" + i.currentX + "px, " + i.currentY + "px,0)")
}}, onTransitionEnd: function (){
var e=this.zoom, t=e.gesture;
t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"), t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"), e.scale=1, e.currentScale=1, t.$slideEl=void 0, t.$imageEl=void 0, t.$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, s, a, r, n, o, l, d, h, p, c, u, v, f, m, g=this.zoom, b=this.params.zoom, w=g.gesture,
y=g.image;
(w.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual ? w.$slideEl=this.$wrapperEl.children("." + this.params.slideActiveClass):w.$slideEl=this.slides.eq(this.activeIndex), w.$imageEl=w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), w.$imageWrapEl=w.$imageEl.parent("." + b.containerClass)), w.$imageEl&&0!==w.$imageEl.length)&&(w.$slideEl.addClass("" + b.zoomedSlideClass), void 0===y.touchesStart.x&&e ? (t="touchend"===e.type ? e.changedTouches[0].pageX:e.pageX, i="touchend"===e.type ? e.changedTouches[0].pageY:e.pageY):(t=y.touchesStart.x, i=y.touchesStart.y), g.scale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio, g.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||b.maxRatio, e ? (f=w.$slideEl[0].offsetWidth, m=w.$slideEl[0].offsetHeight, s=w.$slideEl.offset().left + f / 2 - t, a=w.$slideEl.offset().top + m / 2 - i, o=w.$imageEl[0].offsetWidth, l=w.$imageEl[0].offsetHeight, d=o * g.scale, h=l * g.scale, u=-(p=Math.min(f / 2 - d / 2, 0)), v=-(c=Math.min(m / 2 - h / 2, 0)), (r=s * g.scale) < p&&(r=p), r > u&&(r=u), (n=a * g.scale) < c&&(n=c), n > v&&(n=v)):(r=0, n=0), w.$imageWrapEl.transition(300).transform("translate3d(" + r + "px, " + n + "px,0)"), w.$imageEl.transition(300).transform("translate3d(0,0,0) scale(" + g.scale + ")"))
}, out: function (){
var e=this.zoom, t=this.params.zoom, i=e.gesture;
i.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual ? i.$slideEl=this.$wrapperEl.children("." + this.params.slideActiveClass):i.$slideEl=this.slides.eq(this.activeIndex), i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), i.$imageWrapEl=i.$imageEl.parent("." + t.containerClass)), i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1, e.currentScale=1, i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"), i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"), i.$slideEl.removeClass("" + t.zoomedSlideClass), i.$slideEl=void 0)
}, enable: function (){
var e=this.zoom;
if(!e.enabled){
e.enabled = !0;
var t = !("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{
passive: !0,
capture: !1
}, i = !h.passiveListener||{passive: !1, capture: !0}, s="." + this.params.slideClass;
h.gestures ? (this.$wrapperEl.on("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.on("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.on("gestureend", s, e.onGestureEnd, t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.on(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.on(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.on(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i)
}}, disable: function (){
var e=this.zoom;
if(e.enabled){
this.zoom.enabled = !1;
var t = !("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{
passive: !0,
capture: !1
}, i = !h.passiveListener||{passive: !1, capture: !0}, s="." + this.params.slideClass;
h.gestures ? (this.$wrapperEl.off("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.off("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.off("gestureend", s, e.onGestureEnd, t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.off(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.off(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.off(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i)
}}
}, pe={
loadInSlide: function (e, t){
void 0===t&&(t = !0);
var i=this, s=i.params.lazy;
if(void 0!==e&&0!==i.slides.length){
var a=i.virtual&&i.params.virtual.enabled ? i.$wrapperEl.children("." + i.params.slideClass + '[data-swiper-slide-index="' + e + '"]'):i.slides.eq(e),
r=a.find("." + s.elementClass + ":not(." + s.loadedClass + "):not(." + s.loadingClass + ")");
!a.hasClass(s.elementClass)||a.hasClass(s.loadedClass)||a.hasClass(s.loadingClass)||(r=r.add(a[0])), 0!==r.length&&r.each((function (e, r){
var o=n(r);
o.addClass(s.loadingClass);
var l=o.attr("data-background"), d=o.attr("data-src"), h=o.attr("data-srcset"),
p=o.attr("data-sizes"), c=o.parent("picture");
i.loadImage(o[0], d||l, h, p, !1, (function (){
if(null!=i&&i && (!i||i.params)&&!i.destroyed){
if(l ? (o.css("background-image", 'url("' + l + '")'), o.removeAttr("data-background")):(h&&(o.attr("srcset", h), o.removeAttr("data-srcset")), p&&(o.attr("sizes", p), o.removeAttr("data-sizes")), c.length&&c.children("source").each((function (e, t){
var i=n(t);
i.attr("data-srcset")&&(i.attr("srcset", i.attr("data-srcset")), i.removeAttr("data-srcset"))
})), d&&(o.attr("src", d), o.removeAttr("data-src"))), o.addClass(s.loadedClass).removeClass(s.loadingClass), a.find("." + s.preloaderClass).remove(), i.params.loop&&t){
var e=a.attr("data-swiper-slide-index");
if(a.hasClass(i.params.slideDuplicateClass)){
var r=i.$wrapperEl.children('[data-swiper-slide-index="' + e + '"]:not(.' + i.params.slideDuplicateClass + ")");
i.lazy.loadInSlide(r.index(), !1)
}else{
var u=i.$wrapperEl.children("." + i.params.slideDuplicateClass + '[data-swiper-slide-index="' + e + '"]');
i.lazy.loadInSlide(u.index(), !1)
}}
i.emit("lazyImageReady", a[0], o[0]), i.params.autoHeight&&i.updateAutoHeight()
}})), i.emit("lazyImageLoad", a[0], o[0])
}))
}}, load: function (){
var e=this, t=e.$wrapperEl, i=e.params, s=e.slides, a=e.activeIndex,
r=e.virtual&&i.virtual.enabled, o=i.lazy, l=i.slidesPerView;
function d(e){
if(r){
if(t.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]').length) return !0
}else if(s[e]) return !0;
return !1
}
function h(e){
return r ? n(e).attr("data-swiper-slide-index"):n(e).index()
}
if("auto"===l&&(l=0), e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded = !0), e.params.watchSlidesVisibility) t.children("." + i.slideVisibleClass).each((function (t, i){
var s=r ? n(i).attr("data-swiper-slide-index"):n(i).index();
e.lazy.loadInSlide(s)
})); else if(l > 1) for (var p=a; p < a + l; p +=1) d(p)&&e.lazy.loadInSlide(p); else e.lazy.loadInSlide(a);
if(o.loadPrevNext) if(l > 1||o.loadPrevNextAmount&&o.loadPrevNextAmount > 1){
for (var c=o.loadPrevNextAmount, u=l, v=Math.min(a + u + Math.max(c, u), s.length), f=Math.max(a - Math.max(u, c), 0), m=a + l; m < v; m +=1) d(m)&&e.lazy.loadInSlide(m);
for (var g=f; g < a; g +=1) d(g)&&e.lazy.loadInSlide(g)
}else{
var b=t.children("." + i.slideNextClass);
b.length > 0&&e.lazy.loadInSlide(h(b));
var w=t.children("." + i.slidePrevClass);
w.length > 0&&e.lazy.loadInSlide(h(w))
}}
}, ce={
LinearSpline: function (e, t){
var i, s, a, r, n, o=function (e, t){
for (s=-1, i=e.length; i - s > 1;) e[a=i + s >> 1] <=t ? s=a:i=a;
return i
};
return this.x=e, this.y=t, this.lastIndex=e.length - 1, this.interpolate=function (e){
return e ? (n=o(this.x, e), r=n - 1, (e - this.x[r]) * (this.y[n] - this.y[r]) / (this.x[n] - this.x[r]) + this.y[r]):0
}, this
}, getInterpolateFunction: function (e){
this.controller.spline||(this.controller.spline=this.params.loop ? new ce.LinearSpline(this.slidesGrid, e.slidesGrid):new ce.LinearSpline(this.snapGrid, e.snapGrid))
}, setTranslate: function (e, t){
var i, s, a=this, r=a.controller.control;
function n(e){
var t=a.rtlTranslate ? -a.translate:a.translate;
"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e), s=-a.controller.spline.interpolate(-t)), s&&"container"!==a.params.controller.by||(i=(e.maxTranslate() - e.minTranslate()) / (a.maxTranslate() - a.minTranslate()), s=(t - a.minTranslate()) * i + e.minTranslate()), a.params.controller.inverse&&(s=e.maxTranslate() - s), e.updateProgress(s), e.setTranslate(s, a), e.updateActiveIndex(), e.updateSlidesClasses()
}
if(Array.isArray(r)) for (var o=0; o < r.length; o +=1) r[o]!==t&&r[o] instanceof j&&n(r[o]); else r instanceof j&&t!==r&&n(r)
}, setTransition: function (e, t){
var i, s=this, a=s.controller.control;
function r(t){
t.setTransition(e, s), 0!==e&&(t.transitionStart(), t.params.autoHeight&&d.nextTick((function (){
t.updateAutoHeight()
})), t.$wrapperEl.transitionEnd((function (){
a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(), t.transitionEnd())
})))
}
if(Array.isArray(a)) for (i=0; i < a.length; i +=1) a[i]!==t&&a[i] instanceof j&&r(a[i]); else a instanceof j&&t!==a&&r(a)
}}, ue={
makeElFocusable: function (e){
return e.attr("tabIndex", "0"), e
}, makeElNotFocusable: function (e){
return e.attr("tabIndex", "-1"), e
}, addElRole: function (e, t){
return e.attr("role", t), e
}, addElLabel: function (e, t){
return e.attr("aria-label", t), e
}, disableEl: function (e){
return e.attr("aria-disabled", !0), e
}, enableEl: function (e){
return e.attr("aria-disabled", !1), e
}, onEnterKey: function (e){
var t=this.params.a11y;
if(13===e.keyCode){
var i=n(e.target);
this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(), this.isEnd ? this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)), this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(), this.isBeginning ? this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)), this.pagination&&i.is("." + this.params.pagination.bulletClass)&&i[0].click()
}}, notify: function (e){
var t=this.a11y.liveRegion;
0!==t.length&&(t.html(""), t.html(e))
}, updateNavigation: function (){
if(!this.params.loop&&this.navigation){
var e=this.navigation, t=e.$nextEl, i=e.$prevEl;
i&&i.length > 0&&(this.isBeginning ? (this.a11y.disableEl(i), this.a11y.makeElNotFocusable(i)):(this.a11y.enableEl(i), this.a11y.makeElFocusable(i))), t&&t.length > 0&&(this.isEnd ? (this.a11y.disableEl(t), this.a11y.makeElNotFocusable(t)):(this.a11y.enableEl(t), this.a11y.makeElFocusable(t)))
}}, updatePagination: function (){
var e=this, t=e.params.a11y;
e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function (i, s){
var a=n(s);
e.a11y.makeElFocusable(a), e.a11y.addElRole(a, "button"), e.a11y.addElLabel(a, t.paginationBulletMessage.replace(/\{\{index\}\}/, a.index() + 1))
}))
}, init: function (){
this.$el.append(this.a11y.liveRegion);
var e, t, i=this.params.a11y;
this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl), this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl), e&&(this.a11y.makeElFocusable(e), this.a11y.addElRole(e, "button"), this.a11y.addElLabel(e, i.nextSlideMessage), e.on("keydown", this.a11y.onEnterKey)), t&&(this.a11y.makeElFocusable(t), this.a11y.addElRole(t, "button"), this.a11y.addElLabel(t, i.prevSlideMessage), t.on("keydown", this.a11y.onEnterKey)), this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey)
}, destroy: function (){
var e, t;
this.a11y.liveRegion&&this.a11y.liveRegion.length > 0&&this.a11y.liveRegion.remove(), this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl), this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl), e&&e.off("keydown", this.a11y.onEnterKey), t&&t.off("keydown", this.a11y.onEnterKey), this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey)
}}, ve={
init: function (){
if(this.params.history){
if(!a.history||!a.history.pushState) return this.params.history.enabled = !1, void (this.params.hashNavigation.enabled = !0);
var e=this.history;
e.initialized = !0, e.paths=ve.getPathValues(), (e.paths.key||e.paths.value)&&(e.scrollToSlide(0, e.paths.value, this.params.runCallbacksOnInit), this.params.history.replaceState||a.addEventListener("popstate", this.history.setHistoryPopState))
}}, destroy: function (){
this.params.history.replaceState||a.removeEventListener("popstate", this.history.setHistoryPopState)
}, setHistoryPopState: function (){
this.history.paths=ve.getPathValues(), this.history.scrollToSlide(this.params.speed, this.history.paths.value, !1)
}, getPathValues: function (){
var e=a.location.pathname.slice(1).split("/").filter((function (e){
return ""!==e
})), t=e.length;
return {key: e[t - 2], value: e[t - 1]}}, setHistory: function (e, t){
if(this.history.initialized&&this.params.history.enabled){
var i=this.slides.eq(t), s=ve.slugify(i.attr("data-history"));
a.location.pathname.includes(e)||(s=e + "/" + s);
var r=a.history.state;
r&&r.value===s||(this.params.history.replaceState ? a.history.replaceState({value: s}, null, s):a.history.pushState({value: s}, null, s))
}}, slugify: function (e){
return e.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, "")
}, scrollToSlide: function (e, t, i){
if(t) for (var s=0, a=this.slides.length; s < a; s +=1){
var r=this.slides.eq(s);
if(ve.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){
var n=r.index();
this.slideTo(n, e, i)
}} else this.slideTo(0, e, i)
}}, fe={
onHashCange: function (){
this.emit("hashChange");
var e=i.location.hash.replace("#", "");
if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){
var t=this.$wrapperEl.children("." + this.params.slideClass + '[data-hash="' + e + '"]').index();
if(void 0===t) return;
this.slideTo(t)
}}, setHash: function (){
if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled) if(this.params.hashNavigation.replaceState&&a.history&&a.history.replaceState) a.history.replaceState(null, null, "#" + this.slides.eq(this.activeIndex).attr("data-hash")||""), this.emit("hashSet"); else {
var e=this.slides.eq(this.activeIndex), t=e.attr("data-hash")||e.attr("data-history");
i.location.hash=t||"", this.emit("hashSet")
}}, init: function (){
if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){
this.hashNavigation.initialized = !0;
var e=i.location.hash.replace("#", "");
if(e) for (var t=0, s=this.slides.length; t < s; t +=1){
var r=this.slides.eq(t);
if((r.attr("data-hash")||r.attr("data-history"))===e&&!r.hasClass(this.params.slideDuplicateClass)){
var o=r.index();
this.slideTo(o, 0, this.params.runCallbacksOnInit, !0)
}}
this.params.hashNavigation.watchState&&n(a).on("hashchange", this.hashNavigation.onHashCange)
}}, destroy: function (){
this.params.hashNavigation.watchState&&n(a).off("hashchange", this.hashNavigation.onHashCange)
}}, me={
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=d.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 (){
return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running = !0, this.emit("autoplayStart"), this.autoplay.run(), !0))
}, stop: function (){
return !!this.autoplay.running&&(void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout), this.autoplay.timeout=void 0), this.autoplay.running = !1, this.emit("autoplayStop"), !0))
}, pause: function (e){
this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout), this.autoplay.paused = !0, 0!==e&&this.params.autoplay.waitForTransition ? (this.$wrapperEl[0].addEventListener("transitionend", this.autoplay.onTransitionEnd), this.$wrapperEl[0].addEventListener("webkitTransitionEnd", this.autoplay.onTransitionEnd)):(this.autoplay.paused = !1, this.autoplay.run())))
}}, ge={
setTranslate: function (){
for (var e=this.slides, t=0; t < e.length; t +=1){
var i=this.slides.eq(t), s=-i[0].swiperSlideOffset;
this.params.virtualTranslate||(s -=this.translate);
var a=0;
this.isHorizontal()||(a=s, s=0);
var r=this.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(i[0].progress), 0):1 + Math.min(Math.max(i[0].progress, -1), 0);
i.css({opacity: r}).transform("translate3d(" + s + "px, " + a + "px, 0px)")
}}, setTransition: function (e){
var t=this, i=t.slides, s=t.$wrapperEl;
if(i.transition(e), t.params.virtualTranslate&&0!==e){
var a = !1;
i.transitionEnd((function (){
if(!a&&t && !t.destroyed){
a = !0, t.animating = !1;
for (var e=["webkitTransitionEnd", "transitionend"], i=0; i < e.length; i +=1) s.trigger(e[i])
}}))
}}
}, be={
setTranslate: function (){
var e, t=this.$el, i=this.$wrapperEl, s=this.slides, a=this.width, r=this.height,
o=this.rtlTranslate, l=this.size, d=this.params.cubeEffect, h=this.isHorizontal(),
p=this.virtual&&this.params.virtual.enabled, c=0;
d.shadow&&(h ? (0===(e=i.find(".swiper-cube-shadow")).length&&(e=n('<div class="swiper-cube-shadow"></div>'), i.append(e)), e.css({height: a + "px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=n('<div class="swiper-cube-shadow"></div>'), t.append(e)));
for (var u=0; u < s.length; u +=1){
var v=s.eq(u), f=u;
p&&(f=parseInt(v.attr("data-swiper-slide-index"), 10));
var m=90 * f, g=Math.floor(m / 360);
o&&(m=-m, g=Math.floor(-m / 360));
var b=Math.max(Math.min(v[0].progress, 1), -1), w=0, y=0, x=0;
f % 4==0 ? (w=4 * -g * l, x=0):(f - 1) % 4==0 ? (w=0, x=4 * -g * l):(f - 2) % 4==0 ? (w=l + 4 * g * l, x=l):(f - 3) % 4==0&&(w=-l, x=3 * l + 4 * l * g), o&&(w=-w), h||(y=w, w=0);
var E="rotateX(" + (h ? 0:-m) + "deg) rotateY(" + (h ? m:0) + "deg) translate3d(" + w + "px, " + y + "px, " + x + "px)";
if(b <=1&&b > -1&&(c=90 * f + 90 * b, o&&(c=90 * -f - 90 * b)), v.transform(E), d.slideShadows){
var T=h ? v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),
S=h ? v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom");
0===T.length&&(T=n('<div class="swiper-slide-shadow-' + (h ? "left":"top") + '"></div>'), v.append(T)), 0===S.length&&(S=n('<div class="swiper-slide-shadow-' + (h ? "right":"bottom") + '"></div>'), v.append(S)), T.length&&(T[0].style.opacity=Math.max(-b, 0)), S.length&&(S[0].style.opacity=Math.max(b, 0))
}}
if(i.css({
"-webkit-transform-origin": "50% 50% -" + l / 2 + "px",
"-moz-transform-origin": "50% 50% -" + l / 2 + "px",
"-ms-transform-origin": "50% 50% -" + l / 2 + "px",
"transform-origin": "50% 50% -" + l / 2 + "px"
}), d.shadow) if(h) e.transform("translate3d(0px, " + (a / 2 + d.shadowOffset) + "px, " + -a / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + d.shadowScale + ")"); else {
var C=Math.abs(c) - 90 * Math.floor(Math.abs(c) / 90),
M=1.5 - (Math.sin(2 * C * Math.PI / 360) / 2 + Math.cos(2 * C * Math.PI / 360) / 2),
P=d.shadowScale, z=d.shadowScale / M, k=d.shadowOffset;
e.transform("scale3d(" + P + ", 1, " + z + ") translate3d(0px, " + (r / 2 + k) + "px, " + -r / 2 / z + "px) rotateX(-90deg)")
}
var $=_.isSafari||_.isWebView ? -l / 2:0;
i.transform("translate3d(0px,0," + $ + "px) rotateX(" + (this.isHorizontal() ? 0:c) + "deg) rotateY(" + (this.isHorizontal() ? -c:0) + "deg)")
}, setTransition: function (e){
var t=this.$el;
this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)
}}, we={
setTranslate: function (){
for (var e=this.slides, t=this.rtlTranslate, i=0; i < e.length; i +=1){
var s=e.eq(i), a=s[0].progress;
this.params.flipEffect.limitRotation&&(a=Math.max(Math.min(s[0].progress, 1), -1));
var r=-180 * a, o=0, l=-s[0].swiperSlideOffset, d=0;
if(this.isHorizontal() ? t&&(r=-r):(d=l, l=0, o=-r, r=0), s[0].style.zIndex=-Math.abs(Math.round(a)) + e.length, this.params.flipEffect.slideShadows){
var h=this.isHorizontal() ? s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),
p=this.isHorizontal() ? s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");
0===h.length&&(h=n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "left":"top") + '"></div>'), s.append(h)), 0===p.length&&(p=n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "right":"bottom") + '"></div>'), s.append(p)), h.length&&(h[0].style.opacity=Math.max(-a, 0)), p.length&&(p[0].style.opacity=Math.max(a, 0))
}
s.transform("translate3d(" + l + "px, " + d + "px, 0px) rotateX(" + o + "deg) rotateY(" + r + "deg)")
}}, setTransition: function (e){
var t=this, i=t.slides, s=t.activeIndex, a=t.$wrapperEl;
if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), t.params.virtualTranslate&&0!==e){
var r = !1;
i.eq(s).transitionEnd((function (){
if(!r&&t && !t.destroyed){
r = !0, t.animating = !1;
for (var e=["webkitTransitionEnd", "transitionend"], i=0; i < e.length; i +=1) a.trigger(e[i])
}}))
}}
}, ye={
setTranslate: function (){
for (var e=this.width, t=this.height, i=this.slides, s=this.$wrapperEl, a=this.slidesSizesGrid, r=this.params.coverflowEffect, o=this.isHorizontal(), l=this.translate, d=o ? e / 2 - l:t / 2 - l, p=o ? r.rotate:-r.rotate, c=r.depth, u=0, v=i.length; u < v; u +=1){
var f=i.eq(u), m=a[u], g=(d - f[0].swiperSlideOffset - m / 2) / m * r.modifier, b=o ? p * g:0,
w=o ? 0:p * g, y=-c * Math.abs(g), x=r.stretch;
"string"==typeof x&&-1!==x.indexOf("%")&&(x=parseFloat(r.stretch) / 100 * m);
var E=o ? 0:x * g, T=o ? x * g:0, S=1 - (1 - r.scale) * Math.abs(g);
Math.abs(T) < .001&&(T=0), Math.abs(E) < .001&&(E=0), Math.abs(y) < .001&&(y=0), Math.abs(b) < .001&&(b=0), Math.abs(w) < .001&&(w=0), Math.abs(S) < .001&&(S=0);
var C="translate3d(" + T + "px," + E + "px," + y + "px)  rotateX(" + w + "deg) rotateY(" + b + "deg) scale(" + S + ")";
if(f.transform(C), f[0].style.zIndex=1 - Math.abs(Math.round(g)), r.slideShadows){
var M=o ? f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),
P=o ? f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");
0===M.length&&(M=n('<div class="swiper-slide-shadow-' + (o ? "left":"top") + '"></div>'), f.append(M)), 0===P.length&&(P=n('<div class="swiper-slide-shadow-' + (o ? "right":"bottom") + '"></div>'), f.append(P)), M.length&&(M[0].style.opacity=g > 0 ? g:0), P.length&&(P[0].style.opacity=-g > 0 ? -g:0)
}}
(h.pointerEvents||h.prefixedPointerEvents)&&(s[0].style.perspectiveOrigin=d + "px 50%")
}, setTransition: function (e){
this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)
}}, xe={
init: function (){
var e=this.params.thumbs, t=this.constructor;
e.swiper instanceof t ? (this.thumbs.swiper=e.swiper, d.extend(this.thumbs.swiper.originalParams, {
watchSlidesProgress: !0,
slideToClickedSlide: !1
}), d.extend(this.thumbs.swiper.params, {
watchSlidesProgress: !0,
slideToClickedSlide: !1
})):d.isObject(e.swiper)&&(this.thumbs.swiper=new t(d.extend({}, e.swiper, {
watchSlidesVisibility: !0,
watchSlidesProgress: !0,
slideToClickedSlide: !1
})), this.thumbs.swiperCreated = !0), this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass), this.thumbs.swiper.on("tap", this.thumbs.onThumbClick)
}, onThumbClick: function (){
var e=this.thumbs.swiper;
if(e){
var t=e.clickedIndex, i=e.clickedSlide;
if(!(i&&n(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){
var s;
if(s=e.params.loop ? parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"), 10):t, this.params.loop){
var a=this.activeIndex;
this.slides.eq(a).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(), this._clientLeft=this.$wrapperEl[0].clientLeft, a=this.activeIndex);
var r=this.slides.eq(a).prevAll('[data-swiper-slide-index="' + s + '"]').eq(0).index(),
o=this.slides.eq(a).nextAll('[data-swiper-slide-index="' + s + '"]').eq(0).index();
s=void 0===r ? o:void 0===o ? r:o - a < a - r ? o:r
}
this.slideTo(s)
}}
}, update: function (e){
var t=this.thumbs.swiper;
if(t){
var i="auto"===t.params.slidesPerView ? t.slidesPerViewDynamic():t.params.slidesPerView,
s=this.params.thumbs.autoScrollOffset, a=s&&!t.params.loop;
if(this.realIndex!==t.realIndex||a){
var r, n, o=t.activeIndex;
if(t.params.loop){
t.slides.eq(o).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(), t._clientLeft=t.$wrapperEl[0].clientLeft, o=t.activeIndex);
var l=t.slides.eq(o).prevAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index(),
d=t.slides.eq(o).nextAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index();
r=void 0===l ? d:void 0===d ? l:d - o==o - l ? o:d - o < o - l ? d:l, n=this.activeIndex > this.previousIndex ? "next":"prev"
} else n=(r=this.realIndex) > this.previousIndex ? "next":"prev";
a&&(r +="next"===n ? s:-1 * s), t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(r) < 0&&(t.params.centeredSlides ? r=r > o ? r - Math.floor(i / 2) + 1:r + Math.floor(i / 2) - 1:r > o&&(r=r - i + 1), t.slideTo(r, e ? 0:void 0))
}
var h=1, p=this.params.thumbs.slideThumbActiveClass;
if(this.params.slidesPerView > 1&&!this.params.centeredSlides&&(h=this.params.slidesPerView), this.params.thumbs.multipleActiveThumbs||(h=1), h=Math.floor(h), t.slides.removeClass(p), t.params.loop||t.params.virtual&&t.params.virtual.enabled) for (var c=0; c < h; c +=1) t.$wrapperEl.children('[data-swiper-slide-index="' + (this.realIndex + c) + '"]').addClass(p); else for (var u=0; u < h; u +=1) t.slides.eq(this.realIndex + u).addClass(p)
}}
}, Ee=[K, U, Z, Q, ee, ie, ae, {
name: "mousewheel",
params: {
mousewheel: {
enabled: !1,
releaseOnEdges: !1,
invert: !1,
forceToAxis: !1,
sensitivity: 1,
eventsTarged: "container"
}},
create: function (){
d.extend(this, {
mousewheel: {
enabled: !1,
enable: re.enable.bind(this),
disable: re.disable.bind(this),
handle: re.handle.bind(this),
handleMouseEnter: re.handleMouseEnter.bind(this),
handleMouseLeave: re.handleMouseLeave.bind(this),
animateSlider: re.animateSlider.bind(this),
releaseScroll: re.releaseScroll.bind(this),
lastScrollTime: d.now(),
lastEventBeforeSnap: void 0,
recentWheelEvents: []
}})
},
on: {
init: function (){
!this.params.mousewheel.enabled&&this.params.cssMode&&this.mousewheel.disable(), this.params.mousewheel.enabled&&this.mousewheel.enable()
}, destroy: function (){
this.params.cssMode&&this.mousewheel.enable(), this.mousewheel.enabled&&this.mousewheel.disable()
}}
}, {
name: "navigation",
params: {
navigation: {
nextEl: null,
prevEl: null,
hideOnClick: !1,
disabledClass: "swiper-button-disabled",
hiddenClass: "swiper-button-hidden",
lockClass: "swiper-button-lock"
}},
create: function (){
d.extend(this, {
navigation: {
init: ne.init.bind(this),
update: ne.update.bind(this),
destroy: ne.destroy.bind(this),
onNextClick: ne.onNextClick.bind(this),
onPrevClick: ne.onPrevClick.bind(this)
}})
},
on: {
init: function (){
this.navigation.init(), this.navigation.update()
}, toEdge: function (){
this.navigation.update()
}, fromEdge: function (){
this.navigation.update()
}, destroy: function (){
this.navigation.destroy()
}, click: function (e){
var t, i=this.navigation, s=i.$nextEl, a=i.$prevEl;
!this.params.navigation.hideOnClick||n(e.target).is(a)||n(e.target).is(s)||(s ? t=s.hasClass(this.params.navigation.hiddenClass):a&&(t=a.hasClass(this.params.navigation.hiddenClass)), !0===t ? this.emit("navigationShow", this):this.emit("navigationHide", this), s&&s.toggleClass(this.params.navigation.hiddenClass), a&&a.toggleClass(this.params.navigation.hiddenClass))
}}
}, {
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 (){
d.extend(this, {
pagination: {
init: oe.init.bind(this),
render: oe.render.bind(this),
update: oe.update.bind(this),
destroy: oe.destroy.bind(this),
dynamicBulletIndex: 0
}})
},
on: {
init: function (){
this.pagination.init(), this.pagination.render(), this.pagination.update()
}, activeIndexChange: function (){
(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()
}, snapIndexChange: function (){
this.params.loop||this.pagination.update()
}, slidesLengthChange: function (){
this.params.loop&&(this.pagination.render(), this.pagination.update())
}, snapGridLengthChange: function (){
this.params.loop||(this.pagination.render(), this.pagination.update())
}, destroy: function (){
this.pagination.destroy()
}, click: function (e){
this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length > 0&&!n(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass) ? this.emit("paginationShow", this):this.emit("paginationHide", this), this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))
}}
}, {
name: "scrollbar",
params: {
scrollbar: {
el: null,
dragSize: "auto",
hide: !1,
draggable: !1,
snapOnRelease: !0,
lockClass: "swiper-scrollbar-lock",
dragClass: "swiper-scrollbar-drag"
}},
create: function (){
d.extend(this, {
scrollbar: {
init: le.init.bind(this),
destroy: le.destroy.bind(this),
updateSize: le.updateSize.bind(this),
setTranslate: le.setTranslate.bind(this),
setTransition: le.setTransition.bind(this),
enableDraggable: le.enableDraggable.bind(this),
disableDraggable: le.disableDraggable.bind(this),
setDragPosition: le.setDragPosition.bind(this),
getPointerPosition: le.getPointerPosition.bind(this),
onDragStart: le.onDragStart.bind(this),
onDragMove: le.onDragMove.bind(this),
onDragEnd: le.onDragEnd.bind(this),
isTouched: !1,
timeout: null,
dragTimeout: null
}})
},
on: {
init: function (){
this.scrollbar.init(), this.scrollbar.updateSize(), this.scrollbar.setTranslate()
}, update: function (){
this.scrollbar.updateSize()
}, resize: function (){
this.scrollbar.updateSize()
}, observerUpdate: function (){
this.scrollbar.updateSize()
}, setTranslate: function (){
this.scrollbar.setTranslate()
}, setTransition: function (e){
this.scrollbar.setTransition(e)
}, destroy: function (){
this.scrollbar.destroy()
}}
}, {
name: "parallax", params: {parallax: {enabled: !1}}, create: function (){
d.extend(this, {
parallax: {
setTransform: de.setTransform.bind(this),
setTranslate: de.setTranslate.bind(this),
setTransition: de.setTransition.bind(this)
}})
}, on: {
beforeInit: function (){
this.params.parallax.enabled&&(this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0)
}, init: function (){
this.params.parallax.enabled&&this.parallax.setTranslate()
}, setTranslate: function (){
this.params.parallax.enabled&&this.parallax.setTranslate()
}, setTransition: function (e){
this.params.parallax.enabled&&this.parallax.setTransition(e)
}}
}, {
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]=he[i].bind(e)
})), d.extend(e, {zoom: t});
var i=1;
Object.defineProperty(e.zoom, "scale", {
get: function (){
return i
}, set: function (t){
if(i!==t){
var s=e.zoom.gesture.$imageEl ? e.zoom.gesture.$imageEl[0]:void 0,
a=e.zoom.gesture.$slideEl ? e.zoom.gesture.$slideEl[0]:void 0;
e.emit("zoomChange", t, s, a)
}
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){
this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)
}, transitionEnd: function (){
this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()
}, slideChange: function (){
this.zoom.enabled&&this.params.zoom.enabled&&this.params.cssMode&&this.zoom.onTransitionEnd()
}}
}, {
name: "lazy",
params: {
lazy: {
enabled: !1,
loadPrevNext: !1,
loadPrevNextAmount: 1,
loadOnTransitionStart: !1,
elementClass: "swiper-lazy",
loadingClass: "swiper-lazy-loading",
loadedClass: "swiper-lazy-loaded",
preloaderClass: "swiper-lazy-preloader"
}},
create: function (){
d.extend(this, {
lazy: {
initialImageLoaded: !1,
load: pe.load.bind(this),
loadInSlide: pe.loadInSlide.bind(this)
}})
},
on: {
beforeInit: function (){
this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages = !1)
}, init: function (){
this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()
}, scroll: function (){
this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()
}, resize: function (){
this.params.lazy.enabled&&this.lazy.load()
}, scrollbarDragMove: function (){
this.params.lazy.enabled&&this.lazy.load()
}, transitionStart: function (){
this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()
}, transitionEnd: function (){
this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()
}, slideChange: function (){
this.params.lazy.enabled&&this.params.cssMode&&this.lazy.load()
}}
}, {
name: "controller", params: {controller: {control: void 0, inverse: !1, by: "slide"}}, create: function (){
d.extend(this, {
controller: {
control: this.params.controller.control,
getInterpolateFunction: ce.getInterpolateFunction.bind(this),
setTranslate: ce.setTranslate.bind(this),
setTransition: ce.setTransition.bind(this)
}})
}, on: {
update: function (){
this.controller.control&&this.controller.spline&&(this.controller.spline=void 0, delete this.controller.spline)
}, resize: function (){
this.controller.control&&this.controller.spline&&(this.controller.spline=void 0, delete this.controller.spline)
}, observerUpdate: function (){
this.controller.control&&this.controller.spline&&(this.controller.spline=void 0, delete this.controller.spline)
}, setTranslate: function (e, t){
this.controller.control&&this.controller.setTranslate(e, t)
}, setTransition: function (e, t){
this.controller.control&&this.controller.setTransition(e, t)
}}
}, {
name: "a11y",
params: {
a11y: {
enabled: !0,
notificationClass: "swiper-notification",
prevSlideMessage: "Previous slide",
nextSlideMessage: "Next slide",
firstSlideMessage: "This is the first slide",
lastSlideMessage: "This is the last slide",
paginationBulletMessage: "Go to slide {{index}}"
}},
create: function (){
var e=this;
d.extend(e, {a11y: {liveRegion: n('<span class="' + e.params.a11y.notificationClass + '" aria-live="assertive" aria-atomic="true"></span>')}}), Object.keys(ue).forEach((function (t){
e.a11y[t]=ue[t].bind(e)
}))
},
on: {
init: function (){
this.params.a11y.enabled&&(this.a11y.init(), this.a11y.updateNavigation())
}, toEdge: function (){
this.params.a11y.enabled&&this.a11y.updateNavigation()
}, fromEdge: function (){
this.params.a11y.enabled&&this.a11y.updateNavigation()
}, paginationUpdate: function (){
this.params.a11y.enabled&&this.a11y.updatePagination()
}, destroy: function (){
this.params.a11y.enabled&&this.a11y.destroy()
}}
}, {
name: "history", params: {history: {enabled: !1, replaceState: !1, key: "slides"}}, create: function (){
d.extend(this, {
history: {
init: ve.init.bind(this),
setHistory: ve.setHistory.bind(this),
setHistoryPopState: ve.setHistoryPopState.bind(this),
scrollToSlide: ve.scrollToSlide.bind(this),
destroy: ve.destroy.bind(this)
}})
}, on: {
init: function (){
this.params.history.enabled&&this.history.init()
}, destroy: function (){
this.params.history.enabled&&this.history.destroy()
}, transitionEnd: function (){
this.history.initialized&&this.history.setHistory(this.params.history.key, this.activeIndex)
}, slideChange: function (){
this.history.initialized&&this.params.cssMode&&this.history.setHistory(this.params.history.key, this.activeIndex)
}}
}, {
name: "hash-navigation",
params: {hashNavigation: {enabled: !1, replaceState: !1, watchState: !1}},
create: function (){
d.extend(this, {
hashNavigation: {
initialized: !1,
init: fe.init.bind(this),
destroy: fe.destroy.bind(this),
setHash: fe.setHash.bind(this),
onHashCange: fe.onHashCange.bind(this)
}})
},
on: {
init: function (){
this.params.hashNavigation.enabled&&this.hashNavigation.init()
}, destroy: function (){
this.params.hashNavigation.enabled&&this.hashNavigation.destroy()
}, transitionEnd: function (){
this.hashNavigation.initialized&&this.hashNavigation.setHash()
}, slideChange: function (){
this.hashNavigation.initialized&&this.params.cssMode&&this.hashNavigation.setHash()
}}
}, {
name: "autoplay",
params: {
autoplay: {
enabled: !1,
delay: 3e3,
waitForTransition: !0,
disableOnInteraction: !0,
stopOnLastSlide: !1,
reverseDirection: !1
}},
create: function (){
var e=this;
d.extend(e, {
autoplay: {
running: !1,
paused: !1,
run: me.run.bind(e),
start: me.start.bind(e),
stop: me.stop.bind(e),
pause: me.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 (){
this.params.autoplay.enabled&&(this.autoplay.start(), document.addEventListener("visibilitychange", this.autoplay.onVisibilityChange))
}, beforeTransitionStart: function (e, t){
this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction ? this.autoplay.pause(e):this.autoplay.stop())
}, sliderFirstMove: function (){
this.autoplay.running&&(this.params.autoplay.disableOnInteraction ? this.autoplay.stop():this.autoplay.pause())
}, touchEnd: function (){
this.params.cssMode&&this.autoplay.paused&&!this.params.autoplay.disableOnInteraction&&this.autoplay.run()
}, destroy: function (){
this.autoplay.running&&this.autoplay.stop(), document.removeEventListener("visibilitychange", this.autoplay.onVisibilityChange)
}}
}, {
name: "effect-fade", params: {fadeEffect: {crossFade: !1}}, create: function (){
d.extend(this, {
fadeEffect: {
setTranslate: ge.setTranslate.bind(this),
setTransition: ge.setTransition.bind(this)
}})
}, on: {
beforeInit: function (){
if("fade"===this.params.effect){
this.classNames.push(this.params.containerModifierClass + "fade");
var e={
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerGroup: 1,
watchSlidesProgress: !0,
spaceBetween: 0,
virtualTranslate: !0
};
d.extend(this.params, e), d.extend(this.originalParams, e)
}}, setTranslate: function (){
"fade"===this.params.effect&&this.fadeEffect.setTranslate()
}, setTransition: function (e){
"fade"===this.params.effect&&this.fadeEffect.setTransition(e)
}}
}, {
name: "effect-cube",
params: {cubeEffect: {slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94}},
create: function (){
d.extend(this, {
cubeEffect: {
setTranslate: be.setTranslate.bind(this),
setTransition: be.setTransition.bind(this)
}})
},
on: {
beforeInit: function (){
if("cube"===this.params.effect){
this.classNames.push(this.params.containerModifierClass + "cube"), this.classNames.push(this.params.containerModifierClass + "3d");
var e={
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerGroup: 1,
watchSlidesProgress: !0,
resistanceRatio: 0,
spaceBetween: 0,
centeredSlides: !1,
virtualTranslate: !0
};
d.extend(this.params, e), d.extend(this.originalParams, e)
}}, setTranslate: function (){
"cube"===this.params.effect&&this.cubeEffect.setTranslate()
}, setTransition: function (e){
"cube"===this.params.effect&&this.cubeEffect.setTransition(e)
}}
}, {
name: "effect-flip", params: {flipEffect: {slideShadows: !0, limitRotation: !0}}, create: function (){
d.extend(this, {
flipEffect: {
setTranslate: we.setTranslate.bind(this),
setTransition: we.setTransition.bind(this)
}})
}, on: {
beforeInit: function (){
if("flip"===this.params.effect){
this.classNames.push(this.params.containerModifierClass + "flip"), this.classNames.push(this.params.containerModifierClass + "3d");
var e={
slidesPerView: 1,
slidesPerColumn: 1,
slidesPerGroup: 1,
watchSlidesProgress: !0,
spaceBetween: 0,
virtualTranslate: !0
};
d.extend(this.params, e), d.extend(this.originalParams, e)
}}, setTranslate: function (){
"flip"===this.params.effect&&this.flipEffect.setTranslate()
}, setTransition: function (e){
"flip"===this.params.effect&&this.flipEffect.setTransition(e)
}}
}, {
name: "effect-coverflow",
params: {coverflowEffect: {rotate: 50, stretch: 0, depth: 100, scale: 1, modifier: 1, slideShadows: !0}},
create: function (){
d.extend(this, {
coverflowEffect: {
setTranslate: ye.setTranslate.bind(this),
setTransition: ye.setTransition.bind(this)
}})
},
on: {
beforeInit: function (){
"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass + "coverflow"), this.classNames.push(this.params.containerModifierClass + "3d"), this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0)
}, setTranslate: function (){
"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()
}, setTransition: function (e){
"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)
}}
}, {
name: "thumbs",
params: {
thumbs: {
swiper: null,
multipleActiveThumbs: !0,
autoScrollOffset: 0,
slideThumbActiveClass: "swiper-slide-thumb-active",
thumbsContainerClass: "swiper-container-thumbs"
}},
create: function (){
d.extend(this, {
thumbs: {
swiper: null,
init: xe.init.bind(this),
update: xe.update.bind(this),
onThumbClick: xe.onThumbClick.bind(this)
}})
},
on: {
beforeInit: function (){
var e=this.params.thumbs;
e&&e.swiper&&(this.thumbs.init(), this.thumbs.update(!0))
}, slideChange: function (){
this.thumbs.swiper&&this.thumbs.update()
}, update: function (){
this.thumbs.swiper&&this.thumbs.update()
}, resize: function (){
this.thumbs.swiper&&this.thumbs.update()
}, observerUpdate: function (){
this.thumbs.swiper&&this.thumbs.update()
}, setTransition: function (e){
var t=this.thumbs.swiper;
t&&t.setTransition(e)
}, beforeDestroy: function (){
var e=this.thumbs.swiper;
e&&this.thumbs.swiperCreated&&e && e.destroy()
}}
}];
return void 0===j.use&&(j.use=j.Class.use, j.installModule=j.Class.installModule), j.use(Ee), j
}));
var divimode_front=function(){"use strict";!function(e,t,i){var a=t.DiviArea=t.DiviArea||{},n=a.Utils=a.Utils||{},r=a.Debug=a.Debug||{},o=a.Hooks=a.Hooks||{},s=!1,l=null,d=null,c=0;function p(t,i,a){var n,r;for(Array.isArray(t)&&(t=e(t).map(e.fn.toArray)),t=e(t),i=i.split(/\s+/),n=0;n<t.length;n++)for(r=0;r<i.length;r++)a(t[n],i[r])}function u(e){var i=n.getOption("storageMethod").toString().toLowerCase();return"none"!==(i=(i=a.applyFilters("storage_method",i,e)).toString().toLowerCase().trim())&&"cookie"!==i&&"local"!==i&&(i="auto"),"auto"===i&&(i=t.localStorage?"local":"cookie"),i}n.getOption=function(e){var t=null;if(void 0!==DiviAreaConfig[e])t=DiviAreaConfig[e];else{var i=e.toLowerCase().replace(/[^a-z0-9]/g,"");for(var a in DiviAreaConfig)if(DiviAreaConfig.hasOwnProperty(a)&&a.toLowerCase().replace(/[^a-z0-9]/g,"")===i){t=DiviAreaConfig[a];break}}var r=n.sanitizeHookName(e);return o.silent().applyFilters("get_option_"+r,t)},n.toBool=function(e,t){return void 0===t&&(t=!0),null==e?!!t:!0===e||!1===e?e:("string"==typeof e&&(e=e.toLowerCase()),0!==e&&"0"!==e&&"n"!==e[0]&&"f"!==e[0]&&"off"!==e&&(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e||!!t))},n.toMilliseconds=function(e){var t,i=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":t=1e3*i;break;case"ms":t=i;break;default:t=0}return t},n.sanitizeHookName=function(e){return e.toLowerCase().replace(/-/g,"_").replace(/[^a-z0-9_]+/,"")},n.showOnViewport=function(i){var a=e(t).innerWidth();return!i||!!(a<768?Array.isArray(i)?i[2]:i.getData("onmobile"):a<981?Array.isArray(i)?i[1]:i.getData("ontablet"):Array.isArray(i)?i[0]:i.getData("ondesktop"))},n.getPositionType=function(e){if("HTML"===e.prop("tagName"))return"static";var t=e.css("position");return"fixed"===t?"fixed":"absolute"===t?"absolute":n.getPositionType(e.offsetParent())},n.isTrue=function(e,t){if(void 0===e)return!!t;if(null===e||!1===e||0===e)return!1;if(!0===e||1===e)return!0;if(!isNaN(e))return 0!==parseInt(e);if("string"==typeof e){return-1!==["1","on","yes","true","active","checked"].indexOf(e.toLowerCase())}return n.isEmpty(e)},n.setLocalData=function(e,t,i){e=e.replace(/^_da_/,""),i&&!isNaN(i)||(i=525600);var r=n.sanitizeHookName(e),o=u(e);if(t=a.applyFilters("set_data",t,e),t=a.applyFilters("set_data_"+r,t,e),i=a.applyFilters("set_data_expire",i,e,t),i=a.applyFilters("set_data_expire_"+r,i,e,t),!1===t||i<0)"local"===o?localStorage.removeItem("_da_"+e):"cookie"===o&&n.setCookie("_da_"+e,null,-1);else if("local"===o){var s=new Date;s=s.setMinutes(s.getMinutes()+i),localStorage.setItem("_da_"+e,s+":"+t)}else"cookie"===o&&n.setCookie("_da_"+e,t,i)},n.getLocalData=function(e){var t="",i=u(e=e.replace(/^_da_/,""));if("local"===i){var r=localStorage.getItem("_da_"+e);if(r){var o=r.split(":"),s=parseInt(o.shift()),l=o.join(":");s>new Date?t=l:localStorage.removeItem("_da_"+e)}}else"cookie"===i&&(t=n.getCookie("_da_"+e));var d=n.sanitizeHookName(e);return t=a.applyFilters("get_data",t,e),t=a.applyFilters("get_data_"+d,t,e)},n.setCookie=function(e,t,a){var n=escape(t);if(a>0){var r=new Date;r.setMinutes(r.getMinutes()+a),n+="; expires="+r.toUTCString()}else a<0&&(n+="; expires=expires=Thu, 01 Jan 1970 00:00:01 GMT");i.cookie=e+"="+n+"; path=/"},n.getCookie=function(e){var t,a,n,r=i.cookie.split(";");for(t=0;t<r.length;t++)if(a=r[t].substr(0,r[t].indexOf("=")),n=r[t].substr(r[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(n);return!1},n.getUrlParam=function(e){if(null===d){d={};var i=t.location.search.slice(1);if(i)for(var a=(i=i.split("#")[0]).split("&"),n=0;n<a.length;n++){var r=a[n].split("="),o=r[0],s=void 0===r[1]||r[1];if(o=o.toLowerCase(),"string"==typeof s&&(s=s.toLowerCase()),o.match(/\[(\d+)?\]$/)){var l=o.replace(/\[(\d+)?\]/,"");if(d[l]||(d[l]=[]),o.match(/\[\d+\]$/)){var c=/\[(\d+)\]/.exec(o)[1];d[l][c]=s}else d[l].push(s)}else d[o]?d[o]&&"string"==typeof d[o]?(d[o]=[d[o]],d[o].push(s)):d[o].push(s):d[o]=s}}return e?d[e]:Object.assign({},d)},n.getWindow=function(t){return e.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)},n.getClientRect=function(i){var a={top:0,left:0,width:0,height:0,bottom:0,right:0};if(!i.length)return a;var n,r=(i=i[0]).ownerDocument.documentElement,o=t.pageXOffset||r.scrollLeft,s=t.pageYOffset||r.scrollTop;if(!e.contains(r,i))return a;try{n=i.getBoundingClientRect()}catch(e){}return!n||n.right===n.left&&n.top===n.bottom||(a.top=n.top+s-(r.clientTop||0),a.left=n.left+o-(r.clientLeft||0),a.width=n.right-n.left,a.height=n.bottom-n.top,a.bottom=a.top+a.height,a.right=a.left+a.width),a},n.bindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},p(e,t,(function(e,t){e.addEventListener(t,i,a)}))},n.unbindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},p(e,t,(function(e,t){e.removeEventListener(t,i,a)}))},n.observePosition=function(e,t){if(e&&e.length){e.data("da-pos-observer")||e.data("da-pos-observer",{cb:[]});var i=e.data("da-pos-observer"),a={};if(!i.observer){function t(){var t=n.getClientRect(e);a.left===t.left&&a.top===t.top&&a.width===t.width&&a.height===t.height||r(a=t)}function r(t){for(var a=0;a<i.cb.length;a++)i.cb[a].call(e[0],t)}i.observer=setInterval(t,120)}i.cb.push(t)}},n.unobservePosition=function(e,t){if(e&&e.length&&e.data("da-pos-observer")){for(var i=e.data("da-pos-observer"),a=i.cb.length-1;a>=0;a--)t===i.cb[a]&&i.cb.splice(a,1);i.cb.length||(clearInterval(i.observer),i.observer=0)}},n.init=function(){var n,o={popupSelector:".et_pb_section.popup",fullHeightClass:"full-height",openPopupClass:"da-overlay-visible",overlayClass:"da-overlay",modalIndicatorClass:"is-modal",blockingIndicatorClass:"is-blocking",exitIndicatorClass:"on-exit",hoverTriggerClass:"on-hover",clickTriggerClass:"on-click",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",withLoaderClass:"with-loader",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"da-close",popupWrapperClass:"area-outer-wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e6,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,storageMethod:"auto",areaPrefix:"",ajaxUrl:"/wp-admin/admin-ajax.php",initializeOnEvent:"et_pb_after_init_modules"},l="";if(function(){try{var e={get passive(){return s=!0,!1}};t.addEventListener("test",null,e),t.removeEventListener("test",null,e)}catch(e){s=!1}}(),e.support.getBoundingClientRect="getBoundingClientRect"in i.documentElement,(n=t.DiviAreaConfig)&&"object"==typeof n||(n=o),t.DiviPopupData)for(l in DiviPopupData)DiviPopupData.hasOwnProperty(l)&&(n[l]=DiviPopupData[l]);for(l in o)void 0===n[l]&&(n[l]=o[l]);for(l in n)n.hasOwnProperty(l)&&n[l].replace&&(n[l]=n[l].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));n.zIndex=parseInt(n.zIndex.toString())||o.zIndex,n.onExitDelay=parseInt(n.onExitDelay.toString())||o.onExitDelay,n.animateSpeed=parseInt(n.animateSpeed.toString())||o.animateSpeed,n.debug=!!n.debug,n.defaultShowCloseButton=!!n.defaultShowCloseButton,(!n.triggerClassPrefix||n.triggerClassPrefix.length<3)&&(n.triggerClassPrefix=!1),"body"===n.baseContext&&(1===e("#et_builder_outer_content").length?(n.baseContext="#et_builder_outer_content",r.info("🎚 Divi plugin detected.","Inject Areas into #et_builder_outer_content")):1===e("body.et_divi_theme #page-container").length?(n.baseContext="#page-container",r.info("🎚 Divi theme detected.","Inject Areas into #page-container")):1===e(".et-db #et-boc").length&&(n.baseContext=".et-db #et-boc",r.info("🎚 Divi theme detected.","Inject Areas into #et-boc"))),"body"===n.baseContext||e(n.baseContext).length||(n.baseContext="body",r.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),t.DiviAreaConfig=t.DiviPopupData=a.applyFilters("init_options",n)},n.initErrorLogging=function(e){var i=function(e,t,i){if(!e[t]||!e[t].__dm_orig__){var a=e[t],n=void 0;for(var r in e[t]=function(){var e=!1;try{e=i.apply(this,arguments)}finally{!e&&a&&(n=a.apply(this,arguments))}return n},a)a.hasOwnProperty(r)&&(e[t][r]=a[r]);e[t].__dm_orig__=a}},n=function(){var e=arguments,i=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var n=0;n<arguments.length;n++)if("object"==typeof e[n]&&e[n]&&e[n].message&&e[n].stack){i=e[n];break}if(i){var r=[],o=i.stack.toString().split("\n");if(r.push("divimode.com Anonymized Error Report"),r.push("-".repeat(30)),r.push(i.name),i.message?r.push(i.message):r.push("-"),r.push(""),o&&o.length>1)for(var s=0;s<o.length;s++){var l=o[s];if(l.match(/(\/wp-includes\/|\/jquery\.js)/))break;l.match(/\.js/)&&(l=(l=(l=l.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),r.push(l))}if(a.info&&(r.push(""),r.push("js api:"+a.info)),t.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var d in r.push(""),DiviAreaConfig.sys)try{r.push(d+": "+DiviAreaConfig.sys[d])}catch(e){}r.push("-".repeat(30));var c=console.error.__dm_orig__||console.error;return console.log(""),c("✋ "+r.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",n),i(e.console,"error",n)},n.toPixel=function(e,a,n){if(l||((l={}).PPI=void 0,l.getPPI=function(){return l.PPI=l.PPI||l.getSizeBrutal("in",i.body),l.PPI},l.parseUnit=function(e){var t=[0,""];return e=String(e),t[0]=parseFloat(e,10),t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t},l.getPropertyInPx=function(e,t){var i=l.parseUnit(getComputedStyle(e).getPropertyValue(t));return i[0]*l.conversionFactor(i[1],e)},l.getSizeBrutal=function(e,t){var a=i.createElement("div");a.style.height="128"+e,t.appendChild(a);var n=l.getPropertyInPx(a,"height")/128;return t.removeChild(a),n},l.conversionFactor=function(e,a){switch(e=(e+""||"px").trim().toLowerCase()){case"%":return a.clientHeight/100;case"ch":case"ex":return l.getSizeBrutal(e,a);case"em":return l.getPropertyInPx(a,"font-size");case"rem":return l.getPropertyInPx(i.body,"font-size");case"vw":return t.innerWidth/100;case"vh":return t.innerHeight/100;case"vmin":return Math.min(t.innerWidth,t.innerHeight)/100;case"vmax":return Math.max(t.innerWidth,t.innerHeight)/100;case"in":return l.getPPI();case"cm":return l.getPPI()/2.54;case"mm":return l.getPPI()/25.4;case"pt":return l.getPPI()/72;case"pc":return l.getPPI()/6;case"px":return 1}return 0}),!e)return 0;if((n=n||i.body)!==t&&n!==i||(n=i.body),!isNaN(e)){if(a){var r=l.conversionFactor(a,n);return"number"==typeof r?e*r:0}return e}return 0},n.getStyleDef=function(e,o,s){var l,d,c="",p=!1,u=[],f=[],h="StyleDef "+o;if(r.profile(h,{el:e}),l=t.innerWidth<=980?t.innerWidth>767?"tablet":"phone":"desktop","string"==typeof e){var g=e.split(" "),v=a.getArea(g.shift());if(!v)return r.profile(h,!1),"";e=v.get(g.join(" "))[0]}if(e&&e instanceof jQuery&&(e=e.get(0)),!e||t.HTMLElement&&!e instanceof HTMLElement)return r.profile(h,!1),"";if(e.style&&""!==e.style[o])return r.profile(h,"Use inline style"),r.profile(h,!1),e.style[o];if(e._DAStyles||(e._DAStyles={}),!e._DAStyles[l])for(e._DAStyles[l]=[],r.profile(h,'Before "_getRelevantRules()"'),function(e){var t,a,n;for(d=0;d<i.styleSheets.length;d++)for(y(i.styleSheets[d]);t=u.shift();)if(t.styleSheet)y(t.styleSheet);else if(t.media)y(t);else if(t.selectorText)for(n=t.selectorText.split(","),a=0;a<n.length;a++)if(n[a]&&!(n[a].indexOf(":")>0)){try{if(!e.matches(n[a]))continue}catch(e){continue}f.push(t);break}}(e),r.profile(h,'After "_getRelevantRules()"'),d=f.length-1;d>=0;d--)e._DAStyles[l].push({selectorText:f[d].selectorText,style:f[d].style});for(r.profile(h,"Start to evaluate relevant rules"),d=0;d<e._DAStyles[l].length;d++){var m=e._DAStyles[l][d];if((!s||!s.length||-1===s.indexOf(m.selectorText))&&""!==m.style[o]){var b=n.getCssSpecificity(m.selectorText,m.style[o]);n.compareCssSpecificity(b,p)>0&&(p=b,c=m.style[o])}}return r.profile(h,!1),c;function y(e){try{var i=e.media&&e.media.mediaText;if(e.disabled||i&&!t.matchMedia(i).matches)return;Array.prototype.unshift.apply(u,function(e){if(null==e)return[];try{return"function"==typeof Array.from?Array.from(e):[].slice.call(e)}catch(e){return[]}}(e.cssRules))}catch(e){}}},n.getCssSpecificity=function(e,t){var i=e.split(",");if(i.length>1){for(var a,r=[],o=0;o<i.length;o++)a=n.getCssSpecificity(i[o]),n.compareCssSpecificity(a,r)>0&&(r=a);return r}var s,l=e,d={a:0,b:0,c:0};function c(e,t){var i,a,n,r,o;if(e.test(l))for(a=0,n=(i=l.match(e)).length;a<n;a+=1)d[t]+=1,r=i[a],l.indexOf(r),o=r.length,l=l.replace(r,Array(o+1).join(" "))}function p(e){var t,i,a,n;if(e.test(l))for(i=0,a=(t=l.match(e)).length;i<a;i+=1)n=t[i],l=l.replace(n,Array(n.length+1).join("A"))}s="string"==typeof t&&t.indexOf("!important")>0;p(/\\[0-9A-Fa-f]{6}\s?/g),p(/\\[0-9A-Fa-f]{1,5}\s/g),p(/\\./g);var u=/{[^]*/gm;if(u.test(l))for(var f=l.match(u),h=0,g=f.length;h<g;h+=1)l=l.replace(f[h],Array(f[h].length+1).join(" "));return c(/(\[[^\]]+\])/g,"b"),c(/(#[^#\s\+>~\.\[:\)]+)/g,"a"),c(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),c(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),c(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),c(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),l=(l=(l=(l=(l=(l=l.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g,"    ")).replace(/:local/g,"      ")).replace(/:global/g,"       ")).replace(/[\(\)]/g," "),c(/([^\s\+>~\.\[:]+)/g,"c"),[s?1:0,d.a,d.b,d.c]},n.compareCssSpecificity=function(e,t){for(var i=0;i<4;i+=1){var a=parseInt(isNaN(e[i])?0:e[i]),n=parseInt(isNaN(t[i])?0:t[i]);if(a<n)return-1;if(a>n)return 1}return 0},n.getUniqueId=function(){if(!c){c=16777215&+new Date;var e=Math.floor(256*Math.random())<<24>>>0;c=(c|e)>>>0}return(++c).toString(16).padStart(8,"0")}}(jQuery,window,document),window.DiviAreaItem=function(e,t){var i,a,n,r,o,s,l,d,c,p=jQuery,u=window.DiviArea,f=u.Core,h=u.Utils,g=u.Debug,v=u.UI,m=u.Data,b=this,y=window.ResizeObserver||window.WebKitResizeObserver,A=p(e),_={},w={hideclose:!1,showclose:!0,notmobile:!1,onmobile:!0,nottablet:!1,ontablet:!0,notdesktop:!1,ondesktop:!0,closealt:!1,notmodal:!0,ismodal:!1,notblocking:!1,isblocking:!1,triggerexit:!1,shadow:!0,noshadow:!1,darkmode:!1,singleton:!1,static:!1,withloader:!1,pushcontent:!1},D={hideclose:"showclose",notdesktop:"ondesktop",notmobile:"onmobile",notmodal:"ismodal",notblocking:"isblocking",nottablet:"ontablet",shadow:"noshadow",dynamic:"static"},C={},k=null,x=null,I=0,O=null,P=null,T=null,S={};function H(){for(var e in i=A.attr("id"),n=h.sanitizeHookName(i),r=L(t),o=A.closest(document.documentElement).length,s=o&&A[0].getClientRects().length,a=[],l={},d=!1,c=h.getUniqueId(),g.debug("Area Type",b.theType()),g.debug("Area ID",b.theId()),g.debug("Area Hook",b.theKey()),K(A),b.setData("zIndex",0),b.setData("container",p("body")),b.setData("hasShowAnim",!0),b.setData("position","center-center"),b.setData("positionV","center"),b.setData("positionH","center"),b.setData("overflow","clip"),b.setData("size","auto"),b.setData("animationSpeedIn",h.getOption("animateSpeed")),b.setData("animationSpeedOut",h.getOption("animateSpeed")),w)void 0!==A.data("da-"+e)?(b.setData(h.toBool(A.data("da-"+e))),A.removeAttr("data-da-"+e)):void 0!==A.data(e)?(b.setData(h.toBool(A.data(e))),A.removeAttr("data-"+e)):b.setData(e,w[e]);var u={};for(var f in u[h.getOption("notMobileClass")]=["onmobile",!1],u[h.getOption("notTabletClass")]=["ontablet",!1],u[h.getOption("notDesktopClass")]=["ondesktop",!1],u[h.getOption("noCloseClass")]=["showclose",!1],u[h.getOption("withCloseClass")]=["showclose",!0],u[h.getOption("altCloseClass")]=["closealt",!0],u[h.getOption("modalIndicatorClass")]=["ismodal",!0],u[h.getOption("blockingIndicatorClass")]=["isblocking",!0],u[h.getOption("exitIndicatorClass")]=["triggerexit",!0],u[h.getOption("noShadowClass")]=["noshadow",!0],u[h.getOption("darkModeClass")]=["darkmode",!0],u[h.getOption("singletonClass")]=["singleton",!0],u[h.getOption("withLoaderClass")]=["withloader",!0],u)if(A.hasClass(f)){var m=u[f];b.setData(m[0],m[1]),A.removeClass(f)}v.initializeAreaAnimation(b),E(),j(),z(),b.addActionOnce("pre_init_area",N),b.addAction("setup_area",q,2),b.addAction("cleanup_area",q),y&&(O=new y((function(){var e=A[0].scrollHeight-A[0].clientHeight;e>0&&e-A[0].scrollTop<1&&(A[0].scrollTop-=1),l.width=0,l.height=0,l.contentWidth=0,l.contentHeight=0,Q("resize",B)}),{box:"border-box"}),P=new y((function(){l.wrapperWidth=0,l.wrapperHeight=0,Q("resize",B)}),{box:"border-box"})),A.on("resize",(function(){return Q("resize",B)})),k.on("resize",(function(){return Q("resize",B)})),X()}function z(){A.attr("data-da-area",i),k.attr("data-da-area",i),k.attr("data-da-registered",1),k.attr("data-da-type",b.theType()),k.attr("data-da-close-btn",b.getData("showclose")?"yes":"no"),k.attr("data-da-close-bg",b.getData("closeAlt")?"none":"solid"),k.attr("data-da-loader",b.getData("withLoader")?"yes":"no"),k.attr("data-da-shadow",b.getData("shadow")?"yes":"no"),k.attr("data-da-color",b.getData("darkMode")?"dark":"light"),k.attr("data-da-overflow",b.getData("overflow")),k.attr("data-da-size",b.getData("size"));var e=b.getData("wrapClasses");e&&k.addClass(e),Q("position",b.setPosition),b.doAction("refresh_area")}function F(){if(b.isVisible()){A.find("."+h.getOption("closeButtonClass")).off(".da");var e=function(e,t){return g.debug("Click on",t,"close-button"),b.doAction("close_area",b,t),e.preventDefault(),!1};k.find("div ."+h.getOption("triggerCloseClass")).off(".da").on("click.da",(function(t){return e(t,"custom")})),x.find("a").off(".da").on("click.da",(function(t){return e(t,"default")})),p(window).on("resize",U),b.addAction("close_area",W)}else k.find("div ."+h.getOption("triggerCloseClass")).off(".da"),x.find("a").off(".da"),p(window).off("resize",U),b.removeAction("close_area")}function N(){for(var e=b.theId(!0),t=b.getNames(),i=h.getOption("areaPrefix"),a=h.getOption("triggerClassPrefix"),n=h.getOption("idAttrib"),r=h.getOption("hoverTriggerClass"),o=['[href="'+b.theId()+'"]','[href="#popup:'+e+'"]',"."+e,"."+a+e,"["+n+'="'+e+'"]'],s=0;s<t.length;s++){var l=t[s],d=t[s].replace(i,"");o.push('[href="#'+l+'"]'),o.push("."+l),o.push("["+n+'="'+l+'"]'),o.push('[href="#'+d+'"]'),o.push("."+d),o.push("["+n+'="'+d+'"]')}for(var c=[],p=0;p<o.length;p++)c.push(o[p]+"."+r);b.addTrigger("on-hover","hover",{selector:c}),b.addTrigger("on-click","click",{selector:o}),b.getData("triggerexit")&&b.addTrigger("on-exit","exit"),u.Pro&&b.addTrigger("on-hash","hash")}function M(e){b.isVisible()?b.getData("hasShowAnim")?(g.info("✨ Animate the area (show)",b.theId()),v.animateArea(b,"show",(function(){return function(e){b.getData("showclose")&&(g.debug("Show the default close button"),x.show()),e()}(e)}))):e():b.getData("hasShowAnim")?(x.hide(),g.info("✨ Animate the area (hide)",b.theId()),v.animateArea(b,"hide",e)):e()}function j(){if(!x){var e=h.getOption("closeButtonClass"),t=e+"-wrap";x=p("<span>").addClass(t).appendTo(k),p("<a>").attr("href","#close").addClass(e).html("&times;").appendTo(x),x.hide(),b.doAction("area_close_button",x)}}function E(){if(!k){var e=h.getOption("popupWrapperClass");(k=A.parent()).hasClass(e)||(A.wrap("<div>"),(k=A.parent()).addClass(e)),k.detach().appendTo("body"),K(k),b.doAction("area_wrap",k,b)}}function V(){var e=this;I&&clearTimeout(I),I=setTimeout((function(){I=0,e.inDom()&&z()}),20)}function L(e){return e.toLowerCase().trim().replace(/-/g,"")}function W(e,t){var i=this,a=!1;if(a=i.applyFilters("ignore_close_area",a,i,t))return g.debug("Ignored, manually cancelled in filter"),!0;u.hide(i)}function U(){l.windowWidth=0,l.windowHeight=0,l.wrapperWidth=0,l.wrapperHeight=0,Q("resize",B)}function B(){if(b.isVisible()){var e=b.getSize(),t=[e.width,e.height,e.contentWidth,e.contentHeight,e.windowWidth,e.windowHeight].join("-");if(_._resizeState!==t){if(_._resizeState=t,x.css({width:e.width,height:e.height}),(b.isType("popup")||b.isType("flyin"))&&"show"!==b.getData("overflow")&&"full_height"!==b.getData("size")&&"full_screen"!==b.getData("size")){var i="auto"===b.getData("size")?20:0;if(k.attr("data-da-size-full-height"))e.windowHeight-e.contentHeight>=i&&(k.removeAttr("data-da-size-full-height"),k.removeClass(h.getOption("fullHeightClass")));else e.windowHeight-e.contentHeight<i&&(k.attr("data-da-size-full-height",1),k.addClass(h.getOption("fullHeightClass")))}Q("position",b.setPosition)}}}function R(e,t){var i,a="";if(t||""===(a=h.getStyleDef(k[0],e))&&(a=h.getStyleDef(A[0],e)),""===a){var n=k.find(".et_pb_section");for(i=0;i<n.length&&!a;i++)a=h.getStyleDef(n[i],e,['[class*="et_pb_section_dap_"]'])}return a}function Y(){var e=R("width",!1),t=R("max-width",!0);e&&"auto"!==e||(b.isType("popup")||k.css("width","100%"),A.css("width","100%")),t&&A.css("max-width",t)}function Q(e,t){var i=this;S[e]||(S[e]=window.setTimeout((function(){S[e]=!1,t.apply(i)}),4))}function K(e){e.data("isArea",!0),e.data("area",b),e.data("areaConfig",_),e.getArea=function(){return b},e[0].DiviAreaItem=b,e[0].DiviAreaConfig=_}function X(){u.Pro&&u.Pro.trackEvent&&(b.getData("static")||b.applyFilters("disable_tracking",b.getData("disable-tracking"))||u.Pro.initTracking(b))}function q(e){void 0===e&&(e=!1),e&&e.type?b.setData("event",e):b.setData("event",!1)}function $(){}this.theId=function(e){return e?i:"#"+i},this.postId=function(){var e=h.getOption("areaPrefix");if(!e||0!==i.indexOf(e))return 0;var t=parseInt(i.replace(e,""));return isNaN(t)?0:t},this.theSession=function(){return c},this.theKey=function(){return n},this.hasId=function(e){var t=h.getOption("areaPrefix");if(e=e.toString().replace(/^#/,""),i===e)return!0;var n=this.postId().toString();if(n&&n===e)return!0;for(var r=0;r<a.length;r++){if(a[r]===e)return!0;if(a[r].replace(t,"")===e)return!0}return!1},this.theType=function(){return r},this.isType=function(e){if(!e)return!0;if("string"!=typeof e)throw new Error("DiviAreaItem.isType() expects a string parameter. Given value is a "+typeof e);if((e=L(e))===r)return!0;if("any"===e||"all"===e)return!0;for(var t=0===e.indexOf("not:"),i=e.replace(/^not:\s*/,"").split(/\s*,\s*/),a=0;a<i.length;a++)if(i[a]===r)return!t;return t},this.addName=function(e){if("string"==typeof e)-1===a.indexOf(e)&&(a.push(e.replace(/^#/,"")),b.isPrepared()&&Q("triggers",N));else if(Array.isArray(e))for(var t=0;t<e.length;t++)this.addName(e[t])},this.getNames=function(){return a.slice()},this.allIds=function(){return[this.theId(!0)].concat(a)},this.show=function(e){this.setData("opencount",this.getData("opencount")+1||1),g.group("Show Area",this.theId()),this.setData("hasShowAnim",!this.isVisible()),this.doAction("setup_area",e),f.attachArea(this),f.reOrderAreas(),g.group()},this.trigger=function(e,t){var i=this,a=this.isPrepared(!0);this.applyFilters("before_trigger",!1,e)||function(e){var t=new Promise((function(e){return e()}));return t=(t=t.then((function(){return new Promise((function(e,t){h.showOnViewport(b)?e():t("Area is not available on this device")}))}))).then((function(){return new Promise((function(e,t){u.isClosed(b)?t("Area is still marked as closed"):e()}))})),e&&e.dev&&(t=t.then((function(){return new Promise((function(t,i){h.showOnViewport(e.dev)?t():i("Do not trigger area on current device")}))}))),b.applyFilters("area_trigger_conditions",t)}(this).then((function(){i.applyFilters("before_trigger_show",!1,e)||i.show(e)})).catch((function(e){g.info.apply(g,["Trigger failed",i.theId()].concat(e)),a||i.detach()}))},this.hide=function(){this.setData("hasShowAnim",!0),this.doAction("cleanup_area"),this.setData("event",void 0),g.debug("Close Area and unlink event handlers:",this.theId()),f.detachArea(this),f.reOrderAreas()},this.get=function(e){return e?p(e,A):A},this.getWrap=function(){return k},this.getCloseButton=function(){return x},this.focus=function(){var e=h.getOption("activePopupClass");f.activateContainer(A),b.hasClass(e)||(b.addClass(e),b.doAction("focus_area"))},this.blur=function(){var e=h.getOption("activePopupClass");b.hasClass(e)&&(b.removeClass(e),b.doAction("blur_area"))},this.attach=function(){if(V(),b.isPrepared(!0)||(s=!1),b.inDom()&&b.isVisible())return b;o=!0;var e=b.findHook();return A.hide(),e?("replace"===e.position&&!0===e.target.data("isArea")?(e.target.blur(),e.target.data("area").detach(!1),e=b.findHook()):"before"===e.position&&(e.target=e.target.prev()),e.target.after(k.detach()),k.attr("data-inline-pos",e.position),"replace"===e.position&&(T=e.target.detach())):k.detach().appendTo(b.getData("container")),k.closest("#et-boc").length||(k.wrap('<div id="et-boc" class="dynamic">'),k.wrap('<div class="et-l dynamic">')),Q("position",b.setPosition),b.setVisible(!0,(function(){if(g.debug("Prepare Size-Observer and position the Area"),O){var e=h.getOption("closeButtonClass")+"-wrap";A.children().each((function(t,i){-1===i.className.indexOf(e)&&O.observe(i)})),O.observe(A[0]),P.observe(k[0])}Q("position",b.setPosition),g.debug("Area.attach() is completed for Area",b.theId())})),b},this.detach=function(e){if(void 0===e&&(e=!0),b.isPrepared()&&!b.inDom())return b;return b.isPrepared(!0)||(s=!0),O&&O.disconnect(),P&&P.disconnect(),b.setVisible(!1,(function(){g.debug("Remove Area from DOM",b.theId());var e=k.parent();T&&(k.after(T),T=null),A.hide(),k.detach(),k.removeAttr("data-inline-pos"),e.hasClass("dynamic")&&!e.children().length&&e.parent().remove(),g.debug("Area.detach() is completed for Area",b.theId())}),e),b},this.findHook=function(){var e='[data-area-hook="'+b.getData("hookid")+'"]',t=p(e);return!!t.length&&{position:t.data("area-place"),target:t.nextAll(':not([data-area-hook]):not([data-inline-pos="before"]):not([data-inline-pos="after"])').first()}},this.setVisible=function(e,t,a){if(void 0===a&&(a=!0),e=!!e,b.isPrepared()&&b.isVisible()===e)return b;"function"!=typeof t&&(t=$),s=e;var n=e?"Show":"Hide";return F(),a&&b.isPrepared()?(g.debug(n+" the prepared Area: Trigger animation",i),M(t)):(g.debug(n+" the Area without animation",i),t()),b.isVisible()?(Y(),b.doAction("show_area")):(b.doAction("hide_area"),c=h.getUniqueId()),b},this.setPosition=function(){var e={},t={};if(!b.isVisible()||!b.inDom())return b;if(b.getData("maxheight")&&(e.overflow="auto",e.maxHeight="100%",t.maxHeight=b.getData("maxheight")),b.getData("maxwidth")&&(e.maxWidth="100%",t.maxWidth=b.getData("maxwidth")),t.zIndex=b.getData("zindex"),b.doAction("resize_area"),b.isType("inline")||b.isType("hover"))k.removeAttr("data-da-position"),k.removeAttr("data-da-position-h"),k.removeAttr("data-da-position-v");else{var i=b.getData("positionh"),a=b.getData("positionv"),n=b.getData("size"),r=b.getSize(),o={minX:0,minY:0,maxX:r.windowWidth,maxY:r.windowHeight};if(k.attr("data-da-position",b.getData("position")),k.attr("data-da-position-h",i),k.attr("data-da-position-v",a),b.isType("flyin")&&(o.minY=parseInt(p("html").css("margin-top"))),b.doAction("position_boundary",o),o.minX>o.maxX){var s=o.maxX;o.maxX=o.minX,o.minX=s}if(o.minY>o.maxY){var l=o.maxY;o.maxY=o.minY,o.minY=l}if("full_width"===n||"full_screen"===n)t.left=o.minX,t.right=o.maxX,t.width="auto";else switch(i){case"left":t.left=o.minX;break;case"right":t.right=parseInt(r.windowWidth-o.maxX);break;case"center":t.left=parseInt(o.minX+(o.maxX-o.minX-r.wrapperWidth)/2)}if("full_height"===n||"full_screen"===n)t.top=o.minY,t.bottom=o.maxY,t.height="auto";else if(!k.attr("data-da-size-full-height"))switch(a){case"top":t.top=o.minY;break;case"bottom":t.bottom=parseInt(r.windowHeight-o.maxY);break;case"center":t.top=parseInt(o.minY+(o.maxY-o.minY-r.wrapperHeight)/2)}b.doAction("position_area",t,e)}return A.css(e),k.css(t),b},this.setTriggerEvent=function(e){return q(e),b},this.addTrigger=function(e,t,i,a){function n(){var n=m.createNewTrigger(t,b,i,a);n?(n.id=e,C[n.id]=n,n.start(),g.info("Trigger added to Area",b.theId(),n.id)):g.info("Could not create trigger!",b.theId(),t,"Args:",i)}b.removeTrigger(C[e]),u.Pro&&a?u.Pro.checkConditions(this,a).then(n).catch((function(e){g.info.apply(g,["Trigger not added, because condition failed",b.theId(),t,"Reason:"].concat(e))})):n()},this.removeTrigger=function(e){C[e]&&(C[e].stop(),delete C[e])},this.getTrigger=function(e){return e?C[e]:C},this.isVisible=function(){return s},this.inDom=function(){return o},this.isPrepared=function(e){void 0===e&&(e=!1);var t=d;return!d&&e&&(o=!0,d=!0,setTimeout((function(){return b.doAction("area_prepared")}))),t},this.getSize=function(){var e=b.isVisible();if(l&&void 0!==l.width||(l={}),l.width||(l.width=e?A[0].clientWidth:0),l.height||(l.height=e?A[0].clientHeight:0),l.contentWidth||(l.contentWidth=e?A[0].scrollWidth:0),!l.contentHeight&&(l.contentHeight=0,e))if(A.hasClass("et_pb_section")){var t=window.getComputedStyle(A[0]);l.contentHeight+=parseInt(t["border-top-width"]),l.contentHeight+=parseInt(t["padding-top"]),l.contentHeight+=parseInt(t["padding-bottom"]),l.contentHeight+=parseInt(t["border-bottom-width"]),A.children().each((function(){l.contentHeight+=this.offsetHeight}))}else l.contentHeight=A[0].scrollHeight;return l.wrapperWidth||(l.wrapperWidth=e?k[0].offsetWidth:0),l.wrapperHeight||(l.wrapperHeight=e?k[0].offsetHeight:0),l.windowWidth||(l.windowWidth=window.innerWidth),l.windowHeight||(l.windowHeight=window.innerHeight),l},this.getData=function(e){var t;return e?(e=e.toLowerCase().replace(/[^a-z0-9]/g,""),D.hasOwnProperty(e)?(e=D[e],t=!_[e]):t=_[e]):t=Object.keys(_).filter((function(e){return"string"==typeof e&&"_"!==e[0]})).reduce((function(e,t){return e[t]=_[t],e}),{}),t},this.setData=function(e,t){if(void 0===t)return this;if(e=e.toLowerCase().replace(/[^a-z0-9]/g,""),w.hasOwnProperty(e))t=h.toBool(t,w[e]),D.hasOwnProperty(e)&&(e=D[e],t=!t);else switch(e){case"fixzindex":case"zindex":t=parseInt(t);break;case"closedelay":t=parseFloat(t);break;case"position":-1!==t.indexOf("top")?_.positionv="top":-1!==t.indexOf("bottom")?_.positionv="bottom":_.positionv="center",-1!==t.indexOf("left")?_.positionh="left":-1!==t.indexOf("right")?_.positionh="right":_.positionh="center",t=_.positionv+"-"+_.positionh;break;case"positionh":if("left"!==t&&"right"!==t&&"center"!==t)return b;break;case"positionv":if("top"!==t&&"bottom"!==t&&"center"!==t)return b;break;case"container":(t=p(t).first()).length||(t=p("body"));break;case"attachto":t=!!t&&p(t).first()}switch(_[e]=t,e){case"positionh":case"positionv":_.position=_.positionv+"-"+_.positionh}return V(),b},this.doAction=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];Array.isArray(t)||(t=[]),t.push(b),DiviArea.doAction.apply(DiviArea,[[e,e+"_"+b.theKey()]].concat(t))},this.applyFilters=function(e,t){for(var i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return Array.isArray(i)||(i=[]),i.push(b),DiviArea.applyFilters.apply(DiviArea,[[e,e+"_"+b.theKey()],t].concat(i))},this.addFilter=function(e,t,i,a){DiviArea.addFilter(e+"_"+b.theKey(),t,i,a)},this.addAction=function(e,t,i,a){DiviArea.addAction(e+"_"+b.theKey(),t,i,a)},this.removeFilter=function(e,t){DiviArea.removeFilter(e+"_"+b.theKey(),t)},this.removeAction=function(e,t){DiviArea.removeAction(e+"_"+b.theKey(),t)},this.addActionOnce=function(e,t,i,a){DiviArea.addActionOnce(e+"_"+b.theKey(),t,i,a)},this.trackEvent=function(e,t){u.Pro&&u.Pro.trackEvent&&u.Pro.trackEvent(this,e,t)},this.hasClass=A.hasClass.bind(A),this.addClass=A.addClass.bind(A),this.removeClass=A.removeClass.bind(A),this.attr=A.attr.bind(A),this.removeAttr=A.removeAttr.bind(A),this.find=A.find.bind(A),this.css=A.css.bind(A),this.on=A.on.bind(A),this.off=A.off.bind(A),function(e){for(var t in H=H.bind(e),z=z.bind(e),F=F.bind(e),M=M.bind(e),V=V.bind(e),E=E.bind(e),j=j.bind(e),W=W.bind(e),U=U.bind(e),B=B.bind(e),R=R.bind(e),Y=Y.bind(e),Q=Q.bind(e),K=K.bind(e),X=X.bind(e),e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=e[t].bind(e))}(b),H()},window.DiviAreaTrigger=function(e,t,i){var a,n,r,o=jQuery,s=window.DiviArea.Utils,l=this,d={once:!1,single:!0,selector:[]},c="pfd.modal",p=o(document),u=!1;function f(){}function h(){if(a=!0,t.once=s.isTrue(t.once,d.once),t.single=s.isTrue(t.single,d.single),t.selector&&("string"==typeof t.selector||Array.isArray(t.selector))||(t.selector=d.selector),Array.isArray(t.selector)?t.selector=t.selector:"string"==typeof t.selector&&(t.selector=t.selector.split(",")),"string"==typeof t.hashes?t.hashes=t.hashes.split(","):Array.isArray(t.hashes)?t.hashes=t.hashes:t.hashes=[],t.hashes.map((function(e){return e.toString().trim()})),t.delay=Math.max(50,(1e3*parseFloat(t.delay)||0)+20),void 0===t.distance?t.distance=-1:"string"==typeof t.distance&&-1!==t.distance.indexOf("%")&&(t.percent=t.distance,t.distance=-1),void 0===t.percent&&(t.percent=-1),-1!==t.percent&&(t.percent=Math.max(0,Math.min(100,parseFloat(t.percent)||0))),-1!==t.distance)if("string"==typeof t.distance){var e=t.distance.match(/(-?[\d.]+)([a-z]*)/);t.distance=[Math.max(0,Math.min(100,parseFloat(e[1]))),e[2]]}else t.distance=[parseFloat(t.distance),"px"];delete l.setArgDefault}function g(e){return(!(e=o(e))||!e.length||!e instanceof jQuery)&&(e=o(document)),e}this.parseDiviLinks=function(t){void 0===t&&(t="");var i=window.et_link_options_data,a=window.diviElementLinkData;if(a&&a.length&&(i=a),i&&i.length)for(var n=i.length-1;n>=0;n--){var r=i[n];e.hasId(r.url)&&(r.dap_class||(r.dap_class=r.class,delete r.class,i[n]=r),r.dap_class&&this.addSelector("."+r.dap_class+t))}},this.setArgDefault=function(e,t){d[e]=t},this._setup=function(e){n="function"==typeof e.start?e.start:f,r="function"==typeof e.stop?e.stop:f,delete l._setup},this.isActive=function(){return u},this.getType=function(){return type},this.getArgs=function(e){return!0!==a&&h(),e&&"string"==typeof e?"selector"===e?t[e].join(","):t[e]:t},this.addSelector=function(e){!0!==a&&h(),-1===t.selector.indexOf(e)&&t.selector.push(e)},this.bindEvent=function(t,i){var a="data-trigger-"+i,n=e.theId(!0);return t.not(".et_pb_section.popup,.area-outer-wrap,.divi-area-wrap").not("["+a+"]").attr(a,n).off(i).on(i,this.run),p.on(i+"."+c,"["+a+'="'+n+'"]',this.run),t},this.unbindEvent=function(t,i){var a="data-trigger-"+i,n=e.theId(!0);return t.filter("["+a+"]").removeAttr(a).off(i,this.run),p.off(i+"."+c,"["+a+'="'+n+'"]',this.run),t},this.start=function(e){n(g(e)),u=!0},this.stop=function(e){r(g(e)),u=!1},this.run=function(t){if(t&&t.type){if("click"===t.type){var a=o(t.target);if("A"===a.prop("tagName")&&a.attr("href").length&&!a.attr("data-trigger-click"))return!0}t.preventDefault(),t.stopImmediatePropagation()}return l.getArgs("once")?(e.getData("opencount")||e.trigger(t,i),l.stop()):e.trigger(t,i),!1}};var e,t,i,a,n,r,o,s={isPro:!1,version:"3.2.7",lib:"DiviPopup",app:"Popups for Divi",_notice:"You can disable the debug output by disabling WP_DEBUG"};e=jQuery,t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Debug=t.Debug||{},r=t.Data=t.Data||{},o=0,t.init=function(){var e=new URLSearchParams(window.location.search),r=e.get("no_optimize");if(e.get("nowprocket")||r)return!1;var o=s;for(var l in o)o.hasOwnProperty(l)&&!this.hasOwnProperty(l)&&"_"!==l[0]&&(this[l]=o[l]);this.info=this.lib+"-"+this.version,this.loaded=!0,n.info("🚀 Initialize "+this.app,"- JS API:",this.info),n.info("ℹ️",o._notice),n.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),a.init(),t.UI.init(),i.smartInit()},t.markClosed=function(e,i){var r=t.getArea(e);r&&(e=r.theId(!0)),a.getOption("debug")&&n.info("📌 Mark Area as closed for "+i+" minutes:",e),a.setLocalData(e,"1",i)},t.isClosed=function(e){var i=t.getArea(e);i&&(e=i.theId(!0));var o=a.getLocalData(e);if(a.getOption("debug")){var s=r.sanitizeId(e);"1"===o?n.info("📌 Area is still closed:",s):n.info("📌 Area is not closed:",s)}return"1"===o},t.register=function(a,s,l,d){var c;if(void 0===s&&(s={}),void 0===l&&(l=!1),"string"!=typeof a||e(a).length||(a=r.sanitizeId(a)),a&&(c=e(a)),!c||1!==c.length)return n.error("Cannot find the Area element:",a),!1;var p=t.getArea(a);if(p)return p;if("string"!=typeof a&&((a=c.attr("id"))&&!t.getArea(a)||(a=c.data("id")),a&&!t.getArea(a)||(a="dynamic-area-"+ ++o),c.attr("id",a)),c.length&&s.selector&&(c=c.filter(s.selector),delete s.selector),!c.length)return n.error("Cannot find the Area element:",a),!1;if(c.length>1)return n.error("Multiple matching elements found, but require exactly one:",a,c),!1;if("function"!=typeof l||d||(d=l,l=!1),!l){if(c.data("da-type"))l=c.data("da-type"),c.removeAttr("data-da-type");else if(c.data("type"))l=c.data("type"),c.removeAttr("data-type");else for(var u=c[0].className.split(/\s+/),f=0;f<u.length;f++)if(0===u[f].indexOf("divi-area-type-")){l=u[f].replace("divi-area-type-",""),c.removeClass(u[f]);break}if(!l)return n.error("Cannot determine the type for this Area",a,c),!1}if(n.group("Register Area | "+l+" | "+a),s.areaHook&&s.hookId&&"inline"===l){var h=e(s.areaHook).first();if(h.length){var g=e("<span>");g.attr("data-area-hook",s.hookId),g.attr("data-area-place",s.areaPlace),h.before(g)}else n.error("Inline hook not found:",s.areaHook)}var v=r.createArea(c,l,a);return s.alternateid?v.addName(s.alternateid):s.alternateId?v.addName(s.alternateId):s.ids&&v.addName(s.ids),delete s.alternateid,delete s.alternateId,delete s.ids,Object.keys(s).forEach((function(e){v.setData(e,s[e])})),v.setData("wrapClasses","et-l entry-content"),v.setData("container",i.getContext()),v.applyFilters("pre_init_area",!1)||(v.isType("inline")&&v.getData("static")?(i.initContainer(v),t.show(a,"static")):v.detach()),n.info("➕ Registered new area:",a,"("+l+")"),n.group(),"function"==typeof d&&d(v),v.doAction("init_area"),v},t.show=function(e,i){if(!e)return!1;var a=t.getArea(e);return a?(a.show(i),!0):(n.error("Could not find an area with the ID:",e),!1)},t.hide=function(e){var t=r.getVisibleArea(e);t&&t.hide()},function(e,t,i){var a=t.DiviArea||{},n=a.Core=a.Core||{},r=a.Utils=a.Utils||{},o=a.Data=a.Data||{},s=a.Debug=a.Debug||{},l=e(i),d=!1,c=null,p=!1,u=!1,f=e("body"),h=i.getElementById("page-container");function g(){(c=e(r.getOption("baseContext"))).length>1&&(c=c.filter(":visible").length?c.filter(":visible").first():c.first()),c.length?s.debug('Base context "'+r.getOption("baseContext")+'" found'):(s.error('Could not find the popup container "'+r.getOption("baseContext")+'"'),s.debug("Use the body-tag as default context."),c=f),c.closest("#et-boc").length||(c.append('<div id="et-boc" class="dm-base-context"></div>'),c=c.find(".dm-base-context#et-boc").first()),c.closest(".et-l").length||(c.append('<div class="et-l dm-base-context"></div>'),c=c.find(".dm-base-context.et-l").first()),s.debug("Base context container:",c)}function v(e,t){o.isArea(e)||(e=o.getVisibleArea())&&(s.debug("Close the top-most area"),e.doAction("close_area",e,"default"))}function m(e){if(27===e.keyCode)return function(){s.info("⚡️ ESC-key pressed");var e=!1,t=o.getVisibleArea(null,"popup");return t?(e=t.getData("isblocking"),(e=a.applyFilters("ignore_esc_key",e))?(s.debug("Ignored, manually cancelled in filter"),!0):(s.debug("Close top-most popup"),a.doAction("close_area",null,"esc"),!1)):(s.debug("Ignored, no popup is visible"),!0)}()}function b(){var e=a.applyFilters("trigger_exit_intent",[]);e&&e.length}function y(e,t){var i=[];if(t.isType("popup")&&"show"===e&&t.getData("singleton")&&(o.loopVisibleAreas("popup",(function(e){e.theId()!==t.theId()&&i.push(e.theId())})),s.debug("Singleton Popup detected. Close all open Popups:",i)),"hide"===e?t.doAction("before_hide_area",t,i):t.doAction("before_show_area",t,i),i.length)for(var r in s.debug("Hide following areas:",i),i)if(i.hasOwnProperty(r)){var l=a.getArea(i[r]);l&&l.inDom()&&n.detachArea(l)}}function A(i,a){void 0===a&&(a=0),t.recaptcha_test=i;var n=t.grecaptcha,r=t.__recaptcha_api;if(n&&i&&i.length)if(r&&n.render&&n.execute){var o=((e('script[src*="google.com/recaptcha/api.js"]').attr("src")||"").split("?")[1]||"").split("&");try{var l=p("onload"),d=p("render"),c=t.etCore&&etme.api&&etme.api.spam&&etme.api.spam.recaptcha&&etme.api.spam.recaptcha.isEnabled&&etme.api.spam.recaptcha.isEnabled()?etme.api.spam.recaptcha:null;c&&i.find(".et_pb_recaptcha_enabled").length&&c.init(),l&&"function"==typeof t[l]&&t[l](),i.find("form [data-sitekey]").length>0&&i.find("form").each((function(){var i=e(this),a=i.find("[data-sitekey]");if(a.length&&!i.find('iframe[src*="/recaptcha/"]').length){var r={sitekey:a.attr("data-sitekey"),type:a.attr("data-type"),size:a.attr("data-size"),theme:a.attr("data-theme"),badge:a.attr("data-badge"),tabindex:a.attr("data-tabindex")},o=a.attr("data-callback"),s=a.attr("data-expired-callback");o&&"function"==typeof t[o]&&(r.callback=t[o]),s&&"function"==typeof t[s]&&(r["expired-callback"]=t[s]);var l=n.render(a[0],r);t.recaptchaWidgets&&recaptchaWidgets.push(l)}})),d.length>10&&n.execute(d,{action:"homepage"}).then((function(e){i.find('form [name="g-recaptcha-response"]').val(e)}))}catch(e){s.debug("ReCaptcha init failed:",e)}}else a<5&&(isNaN(a)&&(a=0),setTimeout((function(){return A(i,a+1)}),250));function p(e){var t=o.filter((function(t){return 0===t.indexOf(e+"=")}))[0];return t=t?t.replace(/^.*?=/,""):""}}function _(t){if(t instanceof WheelEvent&&!0===t.ctrlKey)return!0;var i=e(t.target),a=i.closest("[data-da-type][data-da-registered]");function n(){return t.preventDefault(),t.stopPropagation(),t.returnValue=!1,!1}if(a.length){var o=r.getOption("fullHeightClass");if(a.hasClass(o)||"show"===a.attr("data-da-overflow"))return!0;do{var s=i.css("overflow-y"),l=i[0],d=l.scrollTop,c=l.scrollHeight,p=l.clientHeight,u=t.deltaY;if(("auto"===s||"scroll"===s)&&c>p){if(u<0){if(-u>d)return i.scrollTop(0),n()}else if(u>c-p-d)return i.scrollTop(c),n();return!0}i=i.parent()}while(i.length&&!i.is("[data-da-type][data-da-registered]"))}return n()}function w(e,t){var i=r.getOption("hoverTriggerClass"),n=r.getOption("clickTriggerClass");e.parseDiviLinks(":not(."+i+")"),e.parseDiviLinks("."+n);var o=e.getArgs("selector");a.addAction("dom_changed",(function(t){e.isActive()&&e.start(t)})),this.start=function(t){if(o){var i=t.find(o);e.bindEvent(i,"click")}},this.stop=function(t){if(o&&e.isActive()){var i=t.find(o);e.unbindEvent(i,"click")}}}function D(e,t){var i=r.getOption("hoverTriggerClass");e.parseDiviLinks("."+i);var n=e.getArgs("selector");a.addAction("dom_changed",(function(t){e.isActive()&&e.start(t)})),this.start=function(t){if(n){var i=t.find(n);e.bindEvent(i,"mouseenter")}},this.stop=function(t){if(n&&e.isActive()){var i=t.find(n);e.unbindEvent(i,"mouseenter")}}}function C(e,t){var i=10;function n(i){return i.length&&e.getArgs("single")||(i.push(t),e.run(0)),i}t.isType("popup")?i-=5:t.isType("inline")&&(i+=5),e.setArgDefault("once",!0),this.start=function(){e.stop(),a.addFilter("trigger_exit_intent",n,i)},this.stop=function(){e.isActive()&&a.removeFilter("trigger_exit_intent",n)}}n.smartInit=function(){var o=r.getOption("initializeOnEvent");function s(){p||setTimeout(n.init,1)}o?(e(t).add(i).one(o,(function(){setTimeout(n.init,1)})),t.addEventListener("error",s),a.addAction("load",(function(){t.removeEventListener("error",s)})),setTimeout(n.init,350)):setTimeout(n.init,1)},n.init=function(){p||(p=!0,s.debug("Initialize the app"),a.doAction("load"),g(),function(){var t=e(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!t.length)return;t.parent().css({minHeight:t.outerHeight()})}(),a.registerTriggerType("click",w),a.registerTriggerType("hover",D),a.registerTriggerType("exit",C),setTimeout((function(){!function(){function n(e){var n;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(n=Math.max(i.documentElement.clientWidth,t.innerWidth||0),e.clientX>=n-50||e.clientY>=50||e.toElement||e.relatedTarget||(s.info("⚡️ Exit-intent detected (mouse leave)"),a.doAction("exit_intent","mouse-leave")))}e(t).on("mouseleave.da",n)}(),a.addAction("exit_intent",b)}),r.getOption("onExitDelay")),a.addAction("ready",(function(){a.addAction("close_area",v),function(e){var a=t.MutationObserver||t.WebKitMutationObserver,r=t.addEventListener,o=n.getContext(),l=o,d=!1;function c(){d||(d=setTimeout((function(){d=!1,s.debug("DOM changed"),e()}),50))}if(a){var p=new a((function(e){if(e[0].addedNodes.length||e[0].removedNodes.length)return c()}));i.body!==l[0]&&(l=i.body),null!==h&&(l=h),p.observe(l,{childList:!0,subtree:!0})}else r&&(o.addEventListener("DOMNodeInserted",c,!1),o.addEventListener("DOMNodeRemoved",c,!1))}(n.activateContainer),l.on("keyup",m)}),1),a.addAction("ready",(function(){n.activateContainer()}),9),a.doAction("ready"),"function"==typeof t.et_pb_side_nav_page_init&&(e(t).off("scroll",et_pb_window_side_nav_scroll_init),e("#main-content .et_pb_side_nav").off("click",".et_pb_side_nav a").remove(),et_pb_side_nav_page_init()))},n.getContext=function(){return c&&c.length||g(),c},n.reOrderAreas=function(){var e=o.countVisibleAreas("popup"),t=o.countVisibleAreas("flyin"),i=o.countVisibleAreas("hover");if(e?f.addClass("da-popup-visible"):(a.hideOverlay(),f.removeClass("da-popup-visible")),t?f.addClass("da-flyin-visible"):f.removeClass("da-flyin-visible"),i?f.addClass("da-hover-visible"):f.removeClass("da-hover-visible"),o.countVisibleAreas()){var n=r.getOption("zIndex"),l=o.countVisibleAreas("not: inline"),d=o.countVisibleAreas("popup"),c=[],p=0,u=0,h={};if(s.debug("Refresh the z-index of visible areas"),o.loopVisibleAreas("not:inline",(function(e){return e.blur()})),o.getVisibleArea().focus(),o.loopVisibleAreas("not: inline",(function(e){var t,i=e.getData("fixZIndex");e.isType("popup")?(u++,t=n+l-d+u,e.hasClass(r.getOption("activePopupClass"))&&(h.overlay=t,t+=1)):(p++,t=n+p),isNaN(i)||(t=i),h[e.theId()]=t})),(h=a.applyFilters("reorder_areas",h)).overlay&&!isNaN(h.overlay)){var g=a.showOverlay(h.overlay);c.push({id:"-",type:"overlay","z-index":g})}for(var v in h)h.hasOwnProperty(v)&&m(v);s.info("👓 List of visible Areas:"),s.table(c)}function m(e){if("overlay"!==e){var t=a.getArea(e);if(t){var i=t.applyFilters("apply_z_index",h[e],t);i&&!isNaN(i)&&t.setData("zindex",i),t.isType("popup")&&t.attach(),c.push({id:t.theId(),type:t.theType(),"z-index":t.getData("zindex")||null})}}}},n.activateContainer=function(t){!t?t=f:o.isArea(t)&&(t=t.get()),function(t){t.find(r.getOption("popupSelector")).not("[data-da-area]").filter("[id],."+r.getOption("exitIndicatorClass")).each((function(){var t=e(this);s.debug("Found an On-Page Popup Area:",t.attr("id")),a.register(t,{},"popup")}))}(t),d||(d=!0,setTimeout((function(){a.doAction("dom_changed",t),d=!1}),100)),n.initContainer(t)},n.initContainer=function(i){var n,o=a.getArea(i);if(o)return i=o.get(),n=o.getData("post_id"),!0!==i.data("_daInitDone")&&(i.data("_daInitDone",!0),f.trigger("post-load"),i.find("img[loading=lazy]").attr("loading","eager"),"function"==typeof t.et_fix_pricing_currency_position&&et_fix_pricing_currency_position(i.find(".et_pb_pricing_table")),n&&i.find(".et_pb_newsletter_form").length&&i.find(".et_pb_newsletter_form [name=et_pb_signup_post_id]").val(n),A(i),function(t){var i=t.getArea();t.find("img").on("load",(function(){return t.trigger("resize")})),"show"!==i.getData("overflow")&&t.find(".et_pb_row").each((function(){var t=e(this),i=r.getStyleDef(t[0],"height"),a=r.getStyleDef(t[0],"max-height");i&&(t.css("height","auto"),r.getStyleDef(t[0],"min-height")||t.css("min-height",i)),a&&t.css("max-height","none")}));t.trigger("resize")}(i),function(t){function i(){var i=e(this),n=i.attr("href").split("#")[1];try{t.find('[id="'+n+'"],a[name="'+n+'"]').length&&i.off("click").on("click",a)}catch(e){}}function a(i){var a=e(this).attr("href").split("#")[1],n=t.find('[id="'+a+'"],a[name="'+a+'"]').first();return t.animate({scrollTop:n.position().top},400),i.preventDefault(),!1}t.find('[href*="#"]').each(i)}(i)),void 0!==t.et_reinit_waypoint_modules&&t.et_reinit_waypoint_modules(),i},n.attachArea=function(e){u||(u=!0,y("show",e),u=!1),o.addVisibleArea(e),e.attach()},n.detachArea=function(e){if(u||(u=!0,y("hide",e),u=!1),e.inDom()){if(!o.isArea(e)||!e.inDom())return;e.removeClass("__is_animating"),o.removeVisibleArea(e),e.blur(),e.detach()}},n.disableBodyScroll=function(){if(!0!==f.data("da-disable-scroll")){f.data("da-disable-scroll",!0),r.bindPassiveEvent([f,a.getOverlay()],"DOMMouseScroll mousewheel touchmove",_);var n=t.innerWidth-i.body.clientWidth;f.addClass(r.getOption("openPopupClass")),n&&(f.css("padding-right",n),f.hasClass("et_boxed_layout")||e(".et_fixed_nav #main-header").css("padding-right",n)),a.doAction("disabled_scrolling")}},n.enableBodyScroll=function(){!0===f.data("da-disable-scroll")&&(f.data("da-disable-scroll",!1),r.unbindPassiveEvent([f,a.getOverlay()],"DOMMouseScroll mousewheel touchmove",_),f.removeClass(r.getOption("openPopupClass")),f.css("padding-right",""),e(".et_fixed_nav #main-header").css("padding-right",""),a.doAction("enabled_scrolling"))},n.closeMainMenu=function(){e(".et_pb_fullscreen_menu_active").length?e(".et_toggle_fullscreen_menu").first().trigger("click"):e(".et_pb_slide_menu_active").length&&e(".et_toggle_slide_menu").first().trigger("click")}}(jQuery,window,document),function(e){var t=window.DiviArea||{},i=t.Data=t.Data||{},a=t.Utils=t.Utils||{},n=window.DiviAreaItem,r=window.DiviAreaTrigger;delete window.DiviAreaItem,delete window.DiviAreaTrigger;var o={},s=[],l={};i.sanitizeId=function(e,t){if(!e)return"";if(e instanceof n)return e.theId();if(e instanceof jQuery)return"#"+e.attr("id");if(e&&"string"==typeof e){if(t){var i=new RegExp("^#"+t+":");e=e.replace(i,"#")}"#"!==e[0]&&(e="#"+e)}return"string"==typeof e&&e.length>1?e:""},i.getRealId=function(e){var t=i.getArea(e);return t?t.theId():""},i.getArea=function(e){if(void 0===e)return i.getVisibleArea();if(e instanceof n)return e;if(e.DiviAreaItem&&e.DiviAreaItem instanceof n)return e.DiviAreaItem;if("function"==typeof e.getArea)return e.getArea();if(e instanceof jQuery&&!0===e.data("isArea"))return e.data("area");if("string"==typeof e||"number"==typeof e)for(var t in o){var a=o[t];if(a.hasId(e))return a}return!1},i.createArea=function(t,a,r){return(t=e(t)).length?(r=i.sanitizeId(r),o[r]=new n(t,a),o[r]):""},i.isArea=function(e){return e&&e instanceof n},i.getAllIds=function(e){var t=[];if(e||(e="all"),i.isArea(e))return e.allIds();for(var a in o){var n=o[a];n.isType(e)&&t.push.apply(t,n.allIds())}return t},i.loopAllAreas=function(e,t){if("function"==typeof t){var i=e;e=t,t=i}for(var a in t||(t="all"),o){var n=o[a];n.isType(t)&&e(n,a)}},i.countVisibleAreas=function(e){if(!e||"any"===e)return s.length;var t=0;return i.loopVisibleAreas(e,(function(){return t++})),t},i.addVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;if(i.removeVisibleArea(e),e.isType("popup")||!i.countVisibleAreas("popup"))s.push(e);else for(var a=0;a<s.length;a++)if(s[a].isType("popup")){s.splice(a,0,e);break}},i.removeVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;for(var i=e.theId(),a=s.length-1;a>=0;a--){s[a].theId()===i&&s.splice(a,1)}},i.getVisibleArea=function(e,i){var a=s.length-1;if(!e&&!i)return s[a];if(e){var n=t.getArea(e);return!!n&&(!!n.isType(i)&&(!!n.isVisible()&&n))}for(var r=a;r>=0;r--){var o=s[r];if(o.isType(i))return o}return!1},i.loopVisibleAreas=function(e,t,i){for(var a=s.length,n=i?a-1:0,r=0;r<a;r++){var o=s[n];n+=i?-1:1,o.isType(e)&&t(o,r)}},i.registerTriggerType=function(e,t){l[e]=function(e,i,a){r.call(this,e,i,a),this._setup(new t(this,e))}},i.getTriggerTypes=function(){return Object.assign({},l)},i.createNewTrigger=function(e,t,i,n){var r=!1;return l[e]&&(i&&"object"==typeof i||(i={}),(r=new l[e](t,i,n))&&"function"==typeof r.start&&"function"==typeof r.stop?r.id=e+"_"+a.getUniqueId():r=!1),r}}(jQuery),function(e){var t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Data=t.Data||{},r=t.Debug=t.Debug||{},o=null,s=!1;function l(e){r.info("⚡️ Click on background overlay"),e.preventDefault(),t.doAction("click_overlay",o);var i=n.getVisibleArea(null,"popup");return i?i.getData("ismodal")?(r.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):t.applyFilters("ignore_overlay_click",!1)?(r.debug("Ignore click:","Manually cancelled via filter"),!1):(t.doAction("close_area",null,"overlay"),n.countVisibleAreas("popup")||t.hideOverlay(),!1):(r.debug("Ignore click:","No visible Popups found"),!1)}t.showOverlay=function(e){var o=t.getOverlay();return e&&!isNaN(e)||(e=a.getOption("zIndex"),e+=Math.max(0,n.countVisibleAreas())),o.css({zIndex:e}),s||(s=!0,r.info("⤴️ Show background overlay"),i.disableBodyScroll(),o.detach().appendTo(i.getContext()),o.fadeIn(a.getOption("animateSpeed")),t.doAction("show_overlay",o),i.closeMainMenu()),e},t.hideOverlay=function(){s&&(s=!1,r.info("⤵️ Hide background overlay"),o.hide().detach(),i.enableBodyScroll(),t.doAction("hide_overlay",o))},t.getOverlay=function(){return null===o&&((o=e("<div />")).addClass(a.getOption("overlayClass")),o.on("click.popup",l),t.doAction("init_overlay",o)),o}}(jQuery),function(e,t){var i=t.DiviArea||{},a=i.UI=i.UI||{},n=i.Debug=i.Debug||{},r={};function o(e,t){var i;return i="show"===t?parseInt(e.getData("animationSpeedIn")):parseInt(e.getData("animationSpeedOut")),(isNaN(i)||i<0)&&(i=0),i}function s(e){return e.push(".et_fixed_nav #main-header"),e}function l(t,i,a,r){var o,s="da-push-"+t,l="margin-"+t,c="top"===t||"bottom"===t?"v":"h";if(n.debug("Add Container Space (push content)",t,i+"px"),"top"===t?o=e("body"):(o=e("#page-container")).length||(o=e("body")),void 0===o.data(s)){var p=parseInt(o.css(l));isNaN(p)&&(p=0),o.data(s,p)}isNaN(i)&&(i=0);var u=parseInt(o.data(s))+i;isNaN(u)&&(u=i),u<0&&(u=0);var f=!u;if(o.data(s,u),d(o,l,u,a,f),"h"===c){var h=parseInt(o.css("width"));i>0&&o.css("width",h),d(o,"width",h-i,a,f)}e(r).each((function(){var n=e(this),r=parseInt(n.css(t)),o=(isNaN(r)?0:r)+i;if(i>0&&n.css(t,r),"h"===c){var s=parseInt(n.css("width"));i>0&&n.css("width",s),d(n,"width",s-i,a,f)}d(n,t,o,a,f)}))}function d(e,t,i,a,r,o){void 0===r&&(r=!1),void 0===o&&(o="ease-in-out"),n.debug("  Push Content",e.prop("tagName")+"#"+e.attr("id"),t+": "+e.css(t)+" → "+i+"px");var s=e.css("transition");e.css("transition",s+", "+t+" "+a+"ms "+o),e.css(t,i+"px"),setTimeout((function(){e.css("transition",""),r&&e.css(t,"")}),a+20)}function c(e,t,i){i=i||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<i){var n=e.waypoint(t);n&&n.length>0&&(a.push(n[0]),e.data("et_waypoint",a))}else for(var r=0;r<a.length;r++)a[r].context.refresh()}a.init=function(){i.addAction("push_fixed_elements_top",s),i.addAction("push_fixed_elements_left",s),i.addAction("push_fixed_elements_right",s)},a.animateArea=function(e,i,a){var s=!1,d=!1,p=!1,u=function(){n.debug("Area animation is complete",i,e.theId()),"function"==typeof a&&a()};if(e.isType("flyin"))t.TweenLite&&(d=!0),p=!!e.getData("pushContent");else if("hide"===i)return void u();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var t=e.attr("data-animation"),i=!1;if(!t)return!1;if(!(i=r[t]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":i.style,"data-animation-repeat":"once"===i.repeat?"":"infinite","data-animation-duration":i.duration,"data-animation-delay":i.delay,"data-animation-intensity":i.intensity,"data-animation-starting-opacity":i.starting_opacity,"data-animation-speed-curve":i.speed_curve}),c(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),i=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),n=e.attr("data-animation-delay"),r=e.attr("data-animation-intensity"),o=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],i=e.get(0).attributes,a=0;a<i.length;a++)"data-animation-"===i[a].name.substring(0,15)&&t.push(i[a].name);jQuery.each(t,(function(t,i){e.removeAttr(i)}))}(e);var l=isNaN(parseInt(o))?0:.01*parseInt(o);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":n,opacity:l,"animation-timing-function":s});for(var d={},c=isNaN(parseInt(r))?50:parseInt(r),p=["slide","zoom","flip","fold","roll"],u=!1,f=!1,h=0;h<p.length;h++){var g=p[h];if(t&&t.substr(0,g.length)===g){u=g,""!==(f=t.substr(g.length,t.length))&&(f=f.toLowerCase());break}}!1!==u&&!1!==f&&(d=function(e,t,i){var a={};switch(e){case"slide":switch(t){case"top":a={transform:"translate3d(0, "+(n=-2*i)+"%, 0)"};break;case"right":a={transform:"translate3d("+(n=2*i)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(n=2*i)+"%, 0)"};break;case"left":var n=-2*i;a={transform:"translate3d("+n+"%, 0, 0)"};break;default:a={transform:"scale3d("+(r=.01*(100-i))+", "+r+", "+r+")"}}break;case"zoom":var r=.01*(100-i);a={transform:"scale3d("+r+", "+r+", "+r+")"};break;case"flip":switch(t){case"right":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"fold":switch(t){case"top":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;default:a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":a={transform:"rotateZ("+(o=-1*Math.ceil(3.6*i))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(o=Math.ceil(3.6*i))+"deg)"};break;default:var o=Math.ceil(3.6*i);a={transform:"rotateZ("+o+"deg)"}}}return a}(u,f,c)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(t),e.addClass(i)}(jQuery(this.element))}})}(e.get())&&(s=!0),d?function(e,i,a){n.debug("Animate Area using GSAP");var r={},s={},l=e.get();l.css({opacity:"show"===i?0:1,transition:"all 0s"}),l.show(),t.setTimeout((function(){var n=e.getData("positionH"),d=e.getData("positionV"),c=o(e,i);"left"===n?(r.left=-1*l.outerWidth(),s.left=0):"right"===n?(r.right=-1*l.outerWidth(),s.right=0):"top"===d?(r.top=-1*l.outerHeight(),s.top=0):"bottom"===d&&(r.bottom=-1*l.outerHeight(),s.bottom=0),r.opacity=1,s.opacity=1,"show"===i?(l.css(r),TweenLite.to(l,c/1e3,{css:s})):(l.css(s),TweenLite.to(l,c/1e3,{css:r})),t.setTimeout(a,c)}),5)}(e,i,u):s?function(e,i,a){n.debug("Animate Area using a Divi Animation");var r=e.get();r.show(),r.css({opacity:0}),t.setTimeout((function(){r.css({opacity:""}),c(r,{offset:"100%",handler:function(){r.addClass("et-animated"),a()}},2)}),10)}(e,0,u):function(e,t,i){var a=e.get(),r=o(e,t);"show"===t?(n.debug("Animate Area using jQuery fadeIn",r),a.fadeIn(r,i)):"hide"===t&&(n.debug("Animate Area using jQuery fadeOut",r),a.fadeOut(r,i))}(e,i,u),p&&setTimeout((function(){return function(e,t){n.debug("Push content:",t);var i=e.getData("positionH"),a=e.getData("positionV"),r=o(e,t),s=e.getSize(),d="",c=0;"right"===i||"left"===i?(c=s.width,d=i):"top"!==a&&"bottom"!==a||(c=s.height,d=a);if(d){var p=e.applyFilters("push_fixed_elements_"+d,[],d);l(d,"show"===t?c:-1*c,r,p)}else n.debug("Could not determine edge to push",a,i)}(e,i)})),n.debug("Animate Area finished - animation might continue asynchronously")},a.initializeAreaAnimation=function(e){if(!t.et_animation_data||!t.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var i=0;i<et_animation_data.length;i++){var a=!1,n=et_animation_data[i];if(n&&(n.class&&e.hasClass(n.class)&&n.style&&n.repeat&&n.duration&&n.delay&&n.intensity&&n.starting_opacity&&n.speed_curve))return a=n.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),r[a]=n,et_animation_data[i].class=void 0,!0}return!1}}(jQuery,window),function(e){var t=e.DiviArea||{},i=t.Debug=t.Debug||{},a=t.Hooks=t.Hooks||{},n=e.console,r=!1,o={},s=[],l=e.DiviAreaConfig;i.group=function(e){if(l.debug&&n.group){var t=!r||e&&e!==r;if(r&&(n.groupEnd(),r=!1),e&&t){var i=Array.prototype.slice.call(arguments);i.unshift("[DiviAreas]"),n.group.apply(this,i),r=e}}},i.profile=function(t,i){if(l.debug&&l.debugVerbose&&e.performance&&performance.now){var a=performance.now(),r=["[DiviAreas Timer]"];if(o[t]&&!0!==i){if(o[t]){var d=a-o[t],c=d.toFixed(4).padStart(8)+" ms";!1===i||void 0===i?(r.push("End   |",t,"|",c),delete o[t],s.push({group:t,duration:c,value:d})):i&&r.push("Log   |",t,"|",c,"|",i)}}else o[t]=a,r.push("Start |",t),i&&r.push("|",i);r.length>1&&n.log.apply(this,r)}},i.profileSummary=function(){if(l.debug&&l.debugVerbose)if(s.length){var e=s.reduce((function(e,t){return("number"==typeof e?e:0)+t.value}))/s.length;n.table(s),n.log("Average:",e.toFixed(4).padStart(8)+" ms /",s.length+" entries")}else n.log("No profile data collected yet")},i.table=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),n.table?n.table.apply(this,e):n.log.apply(this,e)}},i.verbose=function(){if(l.debug&&l.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas]    %c%s"),n.debug.apply(this,e)}},i.dev=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("color:#acbbc3"),e.unshift("%c[DiviAreas]    ⚙   DiviArea%c%s"),n.debug.apply(this,e)}},i.debug=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas]    %c%s"),n.debug.apply(this,e)}},i.info=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),n.log.apply(this,e)}},i.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),n.error.apply(this,e)},i.sysInfo=function(){var i=["\n----------"];if(i.push("Please copy-paste this information into your support ticket:"),i.push("----------\n"),t.lib&&t.version&&i.push(" • js_api:      "+t.lib+" "+t.version),e.DiviAreaConfig&&DiviAreaConfig.sys)for(var a in DiviAreaConfig.sys)if(DiviAreaConfig.sys.hasOwnProperty(a))try{i.push(" • "+a+": "+" ".repeat(Math.max(0,11-a.length))+DiviAreaConfig.sys[a])}catch(e){}i.push(" • jQuery:      v"+jQuery.fn.jquery),i.push(" • browser:     "+navigator.userAgent),i.push("\n----------\n"),console.log(i.join("\n"))};var d=!0,c={};c.silent=a.silent,c.removeFilter=a.removeFilter,c.removeAction=a.removeAction,c.applyFilters=a.applyFilters,c.doAction=a.doAction,c.addFilter=a.addFilter,c.addAction=a.addAction,c.addActionOnce=a.addActionOnce,a.silent=function(){return d=!1,c.silent.apply(this,arguments)},t.removeFilter=a.removeFilter=function(e){return d&&i.debug("Remove Filter:",e),d=!0,c.removeFilter.apply(this,arguments)},t.removeAction=a.removeAction=function(e){return d&&i.debug("Remove Action:",e),d=!0,c.removeAction.apply(this,arguments)},t.applyFilters=a.applyFilters=function(e){if(d){Array.isArray(e)||(e=[e]),i.debug("📢️ Apply Filters:",e.join("  →  "));for(var t=0;t<e.length;t++)i.dev('.addFilter("'+e[t]+'", callback)')}return d=!0,c.applyFilters.apply(this,arguments)},t.doAction=a.doAction=function(e){if(d){Array.isArray(e)||(e=[e]),i.debug("📢️ Do Action:",e.join("  →  "));for(var t=0;t<e.length;t++)i.dev('.addAction("'+e[t]+'", callback)')}return d=!0,c.doAction.apply(this,arguments)},t.addFilter=a.addFilter=function(e){return d&&i.debug("Add Filter:",e),d=!0,c.addFilter.apply(this,arguments)},t.addAction=a.addAction=function(e){return d&&i.debug("Add Action:",e),d=!0,c.addAction.apply(this,arguments)},t.addActionOnce=a.addActionOnce=function(e){return d&&i.debug("Add Action Once:",e),d=!0,c.addActionOnce.apply(this,arguments)}}(window),function(){var e=window.DiviArea||{},t=e.Debug=e.Debug||{},i=e.Utils=e.Utils||{},a=e.Data=e.Data||{};e.openPopup=function(i){t.error("DiviArea.openPopup() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.openArea=function(i){t.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.closePopup=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},e.closeArea=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},a.configArea=function(i,a,n){t.error("DiviArea.configArea() is deprecated. Please use DiviArea.setData() instead");var r=e.getArea(i);if(r)if("object"==typeof a)for(var o in a)a.hasOwnProperty(o)&&r.setData(o,a[o]);else r.setData(a,n)},e.Hooks.silent().addAction("init_area",(function(t){e.Hooks.silent().doAction("init_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("show_area",(function(t){e.Hooks.silent().doAction("show_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("hide_area",(function(t){e.Hooks.silent().doAction("hide_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("close_area",(function(t,i){t&&e.Hooks.silent().doAction("close_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("blur_area",(function(t){e.Hooks.silent().doAction("blur_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("focus_area",(function(t){e.Hooks.silent().doAction("focus_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("before_show_area",(function(t,i){e.Hooks.silent().doAction("before_show_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("before_hide_area",(function(t,i){e.Hooks.silent().doAction("before_hide_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addFilter("ignore_close_area",(function(t,i,a){return t=e.Hooks.silent().applyFilters("before_close_area",t,i,a),t=e.Hooks.silent().applyFilters("before_close_area-"+i.theKey(),t,i,a)}),1),e.Hooks.silent().addFilter("ignore_esc_key",(function(t){return t=e.Hooks.silent().applyFilters("esc_key_pressed",t)}),1),e.Hooks.silent().addAction("area_close_button",(function(e){e.addClass("evr-close_wrap"),e.find(">a").addClass("evr-close")}),1),e.Hooks.silent().addAction("area_wrap",(function(e){e.addClass("popup_outer_wrap")}),1),e.Hooks.silent().addAction("init_overlay",(function(e){e.addClass("evr_fb_popup_modal")}),1),e.Hooks.silent().addAction("refresh_area",(function(e){var t={notmobile:i.getOption("notMobileClass"),nottablet:i.getOption("notTabletClass"),notdesktop:i.getOption("notDesktopClass"),showclose:i.getOption("withCloseClass"),hideclose:i.getOption("noCloseClass"),closealt:i.getOption("altCloseClass"),ismodal:i.getOption("modalIndicatorClass"),noshadow:i.getOption("noShadowClass"),darkmode:i.getOption("darkModeClass"),singleton:i.getOption("singletonClass")};for(var a in t)e.getData(a)?e.addClass(t[a]):e.removeClass(t[a])}),1),e.listAreas=a.getAllIds,e.configArea=a.configArea,e.getArea=a.getArea,e.registerTriggerType=a.registerTriggerType}(),DiviArea.init();return{}}();