! function(i) {
"use strict";
"function" == typeof define && define.amd ? define(["jquery"], i) : "undefined" != typeof exports ? module.exports = i(require("jquery")) : i(jquery)
}(function(i) {
"use strict";
var e = window.slick || {};
(e = function() {
var e = 0;
return function(t, o) {
var s, n = this;
n.defaults = {
accessibility: !0,
adaptiveheight: !1,
appendarrows: i(t),
appenddots: i(t),
arrows: !0,
asnavfor: null,
prevarrow: '',
nextarrow: '',
autoplay: !1,
autoplayspeed: 3e3,
centermode: !1,
centerpadding: "50px",
cssease: "ease",
custompaging: function(e, t) {
return i('').text(t + 1)
},
dots: !1,
dotsclass: "slick-dots",
draggable: !0,
easing: "linear",
edgefriction: .35,
fade: !1,
focusonselect: !1,
infinite: !0,
initialslide: 0,
lazyload: "ondemand",
mobilefirst: !1,
pauseonhover: !0,
pauseonfocus: !0,
pauseondotshover: !1,
respondto: "window",
responsive: null,
rows: 1,
rtl: !1,
slide: "",
slidesperrow: 1,
slidestoshow: 1,
slidestoscroll: 1,
speed: 500,
swipe: !0,
swipetoslide: !1,
touchmove: !0,
touchthreshold: 5,
usecss: !0,
usetransform: !0,
variablewidth: !1,
vertical: !1,
verticalswiping: !1,
waitforanimate: !0,
zindex: 1e3
}, n.initials = {
animating: !1,
dragging: !1,
autoplaytimer: null,
currentdirection: 0,
currentleft: null,
currentslide: 0,
direction: 1,
$dots: null,
listwidth: null,
listheight: null,
loadindex: 0,
$nextarrow: null,
$prevarrow: null,
scrolling: !1,
slidecount: null,
slidewidth: null,
$slidetrack: null,
$slides: null,
sliding: !1,
slideoffset: 0,
swipeleft: null,
swiping: !1,
$list: null,
touchobject: {},
transformsenabled: !1,
unslicked: !1
}, i.extend(n, n.initials), n.activebreakpoint = null, n.animtype = null, n.animprop = null, n.breakpoints = [], n.breakpointsettings = [], n.csstransitions = !1, n.focussed = !1, n.interrupted = !1, n.hidden = "hidden", n.paused = !0, n.positionprop = null, n.respondto = null, n.rowcount = 1, n.shouldclick = !0, n.$slider = i(t), n.$slidescache = null, n.transformtype = null, n.transitiontype = null, n.visibilitychange = "visibilitychange", n.windowwidth = 0, n.windowtimer = null, s = i(t).data("slick") || {}, n.options = i.extend({}, n.defaults, o, s), n.currentslide = n.options.initialslide, n.originalsettings = n.options, void 0 !== document.mozhidden ? (n.hidden = "mozhidden", n.visibilitychange = "mozvisibilitychange") : void 0 !== document.webkithidden && (n.hidden = "webkithidden", n.visibilitychange = "webkitvisibilitychange"), n.autoplay = i.proxy(n.autoplay, n), n.autoplayclear = i.proxy(n.autoplayclear, n), n.autoplayiterator = i.proxy(n.autoplayiterator, n), n.changeslide = i.proxy(n.changeslide, n), n.clickhandler = i.proxy(n.clickhandler, n), n.selecthandler = i.proxy(n.selecthandler, n), n.setposition = i.proxy(n.setposition, n), n.swipehandler = i.proxy(n.swipehandler, n), n.draghandler = i.proxy(n.draghandler, n), n.keyhandler = i.proxy(n.keyhandler, n), n.instanceuid = e++, n.htmlexpr = /^(?:\s*(<[\w\w]+>)[^>]*)$/, n.registerbreakpoints(), n.init(!0)
}
}()).prototype.activateada = function() {
this.$slidetrack.find(".slick-active").attr({
"aria-hidden": "false"
}).find("a, input, button, select").attr({
tabindex: "0"
})
}, e.prototype.addslide = e.prototype.slickadd = function(e, t, o) {
var s = this;
if ("boolean" == typeof t) o = t, t = null;
else if (t < 0 || t >= s.slidecount) return !1;
s.unload(), "number" == typeof t ? 0 === t && 0 === s.$slides.length ? i(e).appendto(s.$slidetrack) : o ? i(e).insertbefore(s.$slides.eq(t)) : i(e).insertafter(s.$slides.eq(t)) : !0 === o ? i(e).prependto(s.$slidetrack) : i(e).appendto(s.$slidetrack), s.$slides = s.$slidetrack.children(this.options.slide), s.$slidetrack.children(this.options.slide).detach(), s.$slidetrack.append(s.$slides), s.$slides.each(function(e, t) {
i(t).attr("data-slick-index", e)
}), s.$slidescache = s.$slides, s.reinit()
}, e.prototype.animateheight = function() {
var i = this;
if (1 === i.options.slidestoshow && !0 === i.options.adaptiveheight && !1 === i.options.vertical) {
var e = i.$slides.eq(i.currentslide).outerheight(!0);
i.$list.animate({
height: e
}, i.options.speed)
}
}, e.prototype.animateslide = function(e, t) {
var o = {},
s = this;
s.animateheight(), !0 === s.options.rtl && !1 === s.options.vertical && (e = -e), !1 === s.transformsenabled ? !1 === s.options.vertical ? s.$slidetrack.animate({
left: e
}, s.options.speed, s.options.easing, t) : s.$slidetrack.animate({
top: e
}, s.options.speed, s.options.easing, t) : !1 === s.csstransitions ? (!0 === s.options.rtl && (s.currentleft = -s.currentleft), i({
animstart: s.currentleft
}).animate({
animstart: e
}, {
duration: s.options.speed,
easing: s.options.easing,
step: function(i) {
i = math.ceil(i), !1 === s.options.vertical ? (o[s.animtype] = "translate(" + i + "px, 0px)", s.$slidetrack.css(o)) : (o[s.animtype] = "translate(0px," + i + "px)", s.$slidetrack.css(o))
},
complete: function() {
t && t.call()
}
})) : (s.applytransition(), e = math.ceil(e), !1 === s.options.vertical ? o[s.animtype] = "translate3d(" + e + "px, 0px, 0px)" : o[s.animtype] = "translate3d(0px," + e + "px, 0px)", s.$slidetrack.css(o), t && settimeout(function() {
s.disabletransition(), t.call()
}, s.options.speed))
}, e.prototype.getnavtarget = function() {
var e = this,
t = e.options.asnavfor;
return t && null !== t && (t = i(t).not(e.$slider)), t
}, e.prototype.asnavfor = function(e) {
var t = this.getnavtarget();
null !== t && "object" == typeof t && t.each(function() {
var t = i(this).slick("getslick");
t.unslicked || t.slidehandler(e, !0)
})
}, e.prototype.applytransition = function(i) {
var e = this,
t = {};
!1 === e.options.fade ? t[e.transitiontype] = e.transformtype + " " + e.options.speed + "ms " + e.options.cssease : t[e.transitiontype] = "opacity " + e.options.speed + "ms " + e.options.cssease, !1 === e.options.fade ? e.$slidetrack.css(t) : e.$slides.eq(i).css(t)
}, e.prototype.autoplay = function() {
var i = this;
i.autoplayclear(), i.slidecount > i.options.slidestoshow && (i.autoplaytimer = setinterval(i.autoplayiterator, i.options.autoplayspeed))
}, e.prototype.autoplayclear = function() {
var i = this;
i.autoplaytimer && clearinterval(i.autoplaytimer)
}, e.prototype.autoplayiterator = function() {
var i = this,
e = i.currentslide + i.options.slidestoscroll;
i.paused || i.interrupted || i.focussed || (!1 === i.options.infinite && (1 === i.direction && i.currentslide + 1 === i.slidecount - 1 ? i.direction = 0 : 0 === i.direction && (e = i.currentslide - i.options.slidestoscroll, i.currentslide - 1 == 0 && (i.direction = 1))), i.slidehandler(e))
}, e.prototype.buildarrows = function() {
var e = this;
!0 === e.options.arrows && (e.$prevarrow = i(e.options.prevarrow).addclass("slick-arrow"), e.$nextarrow = i(e.options.nextarrow).addclass("slick-arrow"), e.slidecount > e.options.slidestoshow ? (e.$prevarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"), e.$nextarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"), e.htmlexpr.test(e.options.prevarrow) && e.$prevarrow.prependto(e.options.appendarrows), e.htmlexpr.test(e.options.nextarrow) && e.$nextarrow.appendto(e.options.appendarrows), !0 !== e.options.infinite && e.$prevarrow.addclass("slick-disabled").attr("aria-disabled", "true")) : e.$prevarrow.add(e.$nextarrow).addclass("slick-hidden").attr({
"aria-disabled": "true",
tabindex: "-1"
}))
}, e.prototype.builddots = function() {
var e, t, o = this;
if (!0 === o.options.dots) {
for (o.$slider.addclass("slick-dotted"), t = i("
").addclass(o.options.dotsclass), e = 0; e <= o.getdotcount(); e += 1) t.append(i("").append(o.options.custompaging.call(this, o, e)));
o.$dots = t.appendto(o.options.appenddots), o.$dots.find("li").first().addclass("slick-active")
}
}, e.prototype.buildout = function() {
var e = this;
e.$slides = e.$slider.children(e.options.slide + ":not(.slick-cloned)").addclass("slick-slide"), e.slidecount = e.$slides.length, e.$slides.each(function(e, t) {
i(t).attr("data-slick-index", e).data("originalstyling", i(t).attr("style") || "")
}), e.$slider.addclass("slick-slider"), e.$slidetrack = 0 === e.slidecount ? i('').appendto(e.$slider) : e.$slides.wrapall('').parent(), e.$list = e.$slidetrack.wrap('').parent(), e.$slidetrack.css("opacity", 0), !0 !== e.options.centermode && !0 !== e.options.swipetoslide || (e.options.slidestoscroll = 1), i("img[data-lazy]", e.$slider).not("[src]").addclass("slick-loading"), e.setupinfinite(), e.buildarrows(), e.builddots(), e.updatedots(), e.setslideclasses("number" == typeof e.currentslide ? e.currentslide : 0), !0 === e.options.draggable && e.$list.addclass("draggable")
}, e.prototype.buildrows = function() {
var i, e, t, o, s, n, r, l = this;
if (o = document.createdocumentfragment(), n = l.$slider.children(), l.options.rows > 1) {
for (r = l.options.slidesperrow * l.options.rows, s = math.ceil(n.length / r), i = 0; i < s; i++) {
var d = document.createelement("div");
for (e = 0; e < l.options.rows; e++) {
var a = document.createelement("div");
for (t = 0; t < l.options.slidesperrow; t++) {
var c = i * r + (e * l.options.slidesperrow + t);
n.get(c) && a.appendchild(n.get(c))
}
d.appendchild(a)
}
o.appendchild(d)
}
l.$slider.empty().append(o), l.$slider.children().children().children().css({
width: 100 / l.options.slidesperrow + "%",
display: "inline-block"
})
}
}, e.prototype.checkresponsive = function(e, t) {
var o, s, n, r = this,
l = !1,
d = r.$slider.width(),
a = window.innerwidth || i(window).width();
if ("window" === r.respondto ? n = a : "slider" === r.respondto ? n = d : "min" === r.respondto && (n = math.min(a, d)), r.options.responsive && r.options.responsive.length && null !== r.options.responsive) {
s = null;
for (o in r.breakpoints) r.breakpoints.hasownproperty(o) && (!1 === r.originalsettings.mobilefirst ? n < r.breakpoints[o] && (s = r.breakpoints[o]) : n > r.breakpoints[o] && (s = r.breakpoints[o]));
null !== s ? null !== r.activebreakpoint ? (s !== r.activebreakpoint || t) && (r.activebreakpoint = s, "unslick" === r.breakpointsettings[s] ? r.unslick(s) : (r.options = i.extend({}, r.originalsettings, r.breakpointsettings[s]), !0 === e && (r.currentslide = r.options.initialslide), r.refresh(e)), l = s) : (r.activebreakpoint = s, "unslick" === r.breakpointsettings[s] ? r.unslick(s) : (r.options = i.extend({}, r.originalsettings, r.breakpointsettings[s]), !0 === e && (r.currentslide = r.options.initialslide), r.refresh(e)), l = s) : null !== r.activebreakpoint && (r.activebreakpoint = null, r.options = r.originalsettings, !0 === e && (r.currentslide = r.options.initialslide), r.refresh(e), l = s), e || !1 === l || r.$slider.trigger("breakpoint", [r, l])
}
}, e.prototype.changeslide = function(e, t) {
var o, s, n, r = this,
l = i(e.currenttarget);
switch (l.is("a") && e.preventdefault(), l.is("li") || (l = l.closest("li")), n = r.slidecount % r.options.slidestoscroll != 0, o = n ? 0 : (r.slidecount - r.currentslide) % r.options.slidestoscroll, e.data.message) {
case "previous":
s = 0 === o ? r.options.slidestoscroll : r.options.slidestoshow - o, r.slidecount > r.options.slidestoshow && r.slidehandler(r.currentslide - s, !1, t);
break;
case "next":
s = 0 === o ? r.options.slidestoscroll : o, r.slidecount > r.options.slidestoshow && r.slidehandler(r.currentslide + s, !1, t);
break;
case "index":
var d = 0 === e.data.index ? 0 : e.data.index || l.index() * r.options.slidestoscroll;
r.slidehandler(r.checknavigable(d), !1, t), l.children().trigger("focus");
break;
default:
return
}
}, e.prototype.checknavigable = function(i) {
var e, t;
if (e = this.getnavigableindexes(), t = 0, i > e[e.length - 1]) i = e[e.length - 1];
else
for (var o in e) {
if (i < e[o]) {
i = t;
break
}
t = e[o]
}
return i
}, e.prototype.cleanupevents = function() {
var e = this;
e.options.dots && null !== e.$dots && (i("li", e.$dots).off("click.slick", e.changeslide).off("mouseenter.slick", i.proxy(e.interrupt, e, !0)).off("mouseleave.slick", i.proxy(e.interrupt, e, !1)), !0 === e.options.accessibility && e.$dots.off("keydown.slick", e.keyhandler)), e.$slider.off("focus.slick blur.slick"), !0 === e.options.arrows && e.slidecount > e.options.slidestoshow && (e.$prevarrow && e.$prevarrow.off("click.slick", e.changeslide), e.$nextarrow && e.$nextarrow.off("click.slick", e.changeslide), !0 === e.options.accessibility && (e.$prevarrow.off("keydown.slick", e.keyhandler), e.$nextarrow.off("keydown.slick", e.keyhandler))), e.$list.off("touchstart.slick mousedown.slick", e.swipehandler), e.$list.off("touchmove.slick mousemove.slick", e.swipehandler), e.$list.off("touchend.slick mouseup.slick", e.swipehandler), e.$list.off("touchcancel.slick mouseleave.slick", e.swipehandler), e.$list.off("click.slick", e.clickhandler), i(document).off(e.visibilitychange, e.visibility), e.cleanupslideevents(), !0 === e.options.accessibility && e.$list.off("keydown.slick", e.keyhandler), !0 === e.options.focusonselect && i(e.$slidetrack).children().off("click.slick", e.selecthandler), i(window).off("orientationchange.slick.slick-" + e.instanceuid, e.orientationchange), i(window).off("resize.slick.slick-" + e.instanceuid, e.resize), i("[draggable!=true]", e.$slidetrack).off("dragstart", e.preventdefault), i(window).off("load.slick.slick-" + e.instanceuid, e.setposition)
}, e.prototype.cleanupslideevents = function() {
var e = this;
e.$list.off("mouseenter.slick", i.proxy(e.interrupt, e, !0)), e.$list.off("mouseleave.slick", i.proxy(e.interrupt, e, !1))
}, e.prototype.cleanuprows = function() {
var i, e = this;
e.options.rows > 1 && ((i = e.$slides.children().children()).removeattr("style"), e.$slider.empty().append(i))
}, e.prototype.clickhandler = function(i) {
!1 === this.shouldclick && (i.stopimmediatepropagation(), i.stoppropagation(), i.preventdefault())
}, e.prototype.destroy = function(e) {
var t = this;
t.autoplayclear(), t.touchobject = {}, t.cleanupevents(), i(".slick-cloned", t.$slider).detach(), t.$dots && t.$dots.remove(), t.$prevarrow && t.$prevarrow.length && (t.$prevarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display", ""), t.htmlexpr.test(t.options.prevarrow) && t.$prevarrow.remove()), t.$nextarrow && t.$nextarrow.length && (t.$nextarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display", ""), t.htmlexpr.test(t.options.nextarrow) && t.$nextarrow.remove()), t.$slides && (t.$slides.removeclass("slick-slide slick-active slick-center slick-visible slick-current").removeattr("aria-hidden").removeattr("data-slick-index").each(function() {
i(this).attr("style", i(this).data("originalstyling"))
}), t.$slidetrack.children(this.options.slide).detach(), t.$slidetrack.detach(), t.$list.detach(), t.$slider.append(t.$slides)), t.cleanuprows(), t.$slider.removeclass("slick-slider"), t.$slider.removeclass("slick-initialized"), t.$slider.removeclass("slick-dotted"), t.unslicked = !0, e || t.$slider.trigger("destroy", [t])
}, e.prototype.disabletransition = function(i) {
var e = this,
t = {};
t[e.transitiontype] = "", !1 === e.options.fade ? e.$slidetrack.css(t) : e.$slides.eq(i).css(t)
}, e.prototype.fadeslide = function(i, e) {
var t = this;
!1 === t.csstransitions ? (t.$slides.eq(i).css({
zindex: t.options.zindex
}), t.$slides.eq(i).animate({
opacity: 1
}, t.options.speed, t.options.easing, e)) : (t.applytransition(i), t.$slides.eq(i).css({
opacity: 1,
zindex: t.options.zindex
}), e && settimeout(function() {
t.disabletransition(i), e.call()
}, t.options.speed))
}, e.prototype.fadeslideout = function(i) {
var e = this;
!1 === e.csstransitions ? e.$slides.eq(i).animate({
opacity: 0,
zindex: e.options.zindex - 2
}, e.options.speed, e.options.easing) : (e.applytransition(i), e.$slides.eq(i).css({
opacity: 0,
zindex: e.options.zindex - 2
}))
}, e.prototype.filterslides = e.prototype.slickfilter = function(i) {
var e = this;
null !== i && (e.$slidescache = e.$slides, e.unload(), e.$slidetrack.children(this.options.slide).detach(), e.$slidescache.filter(i).appendto(e.$slidetrack), e.reinit())
}, e.prototype.focushandler = function() {
var e = this;
e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick", "*", function(t) {
t.stopimmediatepropagation();
var o = i(this);
settimeout(function() {
e.options.pauseonfocus && (e.focussed = o.is(":focus"), e.autoplay())
}, 0)
})
}, e.prototype.getcurrent = e.prototype.slickcurrentslide = function() {
return this.currentslide
}, e.prototype.getdotcount = function() {
var i = this,
e = 0,
t = 0,
o = 0;
if (!0 === i.options.infinite)
if (i.slidecount <= i.options.slidestoshow) ++o;
else
for (; e < i.slidecount;) ++o, e = t + i.options.slidestoscroll, t += i.options.slidestoscroll <= i.options.slidestoshow ? i.options.slidestoscroll : i.options.slidestoshow;
else if (!0 === i.options.centermode) o = i.slidecount;
else if (i.options.asnavfor)
for (; e < i.slidecount;) ++o, e = t + i.options.slidestoscroll, t += i.options.slidestoscroll <= i.options.slidestoshow ? i.options.slidestoscroll : i.options.slidestoshow;
else o = 1 + math.ceil((i.slidecount - i.options.slidestoshow) / i.options.slidestoscroll);
return o - 1
}, e.prototype.getleft = function(i) {
var e, t, o, s = this,
n = 0;
return s.slideoffset = 0, t = s.$slides.first().outerheight(!0), !0 === s.options.infinite ? (s.slidecount > s.options.slidestoshow && (s.slideoffset = s.slidewidth * s.options.slidestoshow * -1, n = t * s.options.slidestoshow * -1), s.slidecount % s.options.slidestoscroll != 0 && i + s.options.slidestoscroll > s.slidecount && s.slidecount > s.options.slidestoshow && (i > s.slidecount ? (s.slideoffset = (s.options.slidestoshow - (i - s.slidecount)) * s.slidewidth * -1, n = (s.options.slidestoshow - (i - s.slidecount)) * t * -1) : (s.slideoffset = s.slidecount % s.options.slidestoscroll * s.slidewidth * -1, n = s.slidecount % s.options.slidestoscroll * t * -1))) : i + s.options.slidestoshow > s.slidecount && (s.slideoffset = (i + s.options.slidestoshow - s.slidecount) * s.slidewidth, n = (i + s.options.slidestoshow - s.slidecount) * t), s.slidecount <= s.options.slidestoshow && (s.slideoffset = 0, n = 0), !0 === s.options.centermode && s.slidecount <= s.options.slidestoshow ? s.slideoffset = s.slidewidth * math.floor(s.options.slidestoshow) / 2 - s.slidewidth * s.slidecount / 2 : !0 === s.options.centermode && !0 === s.options.infinite ? s.slideoffset += s.slidewidth * math.floor(s.options.slidestoshow / 2) - s.slidewidth : !0 === s.options.centermode && (s.slideoffset = 0, s.slideoffset += s.slidewidth * math.floor(s.options.slidestoshow / 2)), e = !1 === s.options.vertical ? i * s.slidewidth * -1 + s.slideoffset : i * t * -1 + n, !0 === s.options.variablewidth && (o = s.slidecount <= s.options.slidestoshow || !1 === s.options.infinite ? s.$slidetrack.children(".slick-slide").eq(i) : s.$slidetrack.children(".slick-slide").eq(i + s.options.slidestoshow), e = !0 === s.options.rtl ? o[0] ? -1 * (s.$slidetrack.width() - o[0].offsetleft - o.width()) : 0 : o[0] ? -1 * o[0].offsetleft : 0, !0 === s.options.centermode && (o = s.slidecount <= s.options.slidestoshow || !1 === s.options.infinite ? s.$slidetrack.children(".slick-slide").eq(i) : s.$slidetrack.children(".slick-slide").eq(i + s.options.slidestoshow + 1), e = !0 === s.options.rtl ? o[0] ? -1 * (s.$slidetrack.width() - o[0].offsetleft - o.width()) : 0 : o[0] ? -1 * o[0].offsetleft : 0, e += (s.$list.width() - o.outerwidth()) / 2)), e
}, e.prototype.getoption = e.prototype.slickgetoption = function(i) {
return this.options[i]
}, e.prototype.getnavigableindexes = function() {
var i, e = this,
t = 0,
o = 0,
s = [];
for (!1 === e.options.infinite ? i = e.slidecount : (t = -1 * e.options.slidestoscroll, o = -1 * e.options.slidestoscroll, i = 2 * e.slidecount); t < i;) s.push(t), t = o + e.options.slidestoscroll, o += e.options.slidestoscroll <= e.options.slidestoshow ? e.options.slidestoscroll : e.options.slidestoshow;
return s
}, e.prototype.getslick = function() {
return this
}, e.prototype.getslidecount = function() {
var e, t, o = this;
return t = !0 === o.options.centermode ? o.slidewidth * math.floor(o.options.slidestoshow / 2) : 0, !0 === o.options.swipetoslide ? (o.$slidetrack.find(".slick-slide").each(function(s, n) {
if (n.offsetleft - t + i(n).outerwidth() / 2 > -1 * o.swipeleft) return e = n, !1
}), math.abs(i(e).attr("data-slick-index") - o.currentslide) || 1) : o.options.slidestoscroll
}, e.prototype.goto = e.prototype.slickgoto = function(i, e) {
this.changeslide({
data: {
message: "index",
index: parseint(i)
}
}, e)
}, e.prototype.init = function(e) {
var t = this;
i(t.$slider).hasclass("slick-initialized") || (i(t.$slider).addclass("slick-initialized"), t.buildrows(), t.buildout(), t.setprops(), t.startload(), t.loadslider(), t.initializeevents(), t.updatearrows(), t.updatedots(), t.checkresponsive(!0), t.focushandler()), e && t.$slider.trigger("init", [t]), !0 === t.options.accessibility && t.initada(), t.options.autoplay && (t.paused = !1, t.autoplay())
}, e.prototype.initada = function() {
var e = this,
t = math.ceil(e.slidecount / e.options.slidestoshow),
o = e.getnavigableindexes().filter(function(i) {
return i >= 0 && i < e.slidecount
});
e.$slides.add(e.$slidetrack.find(".slick-cloned")).attr({
"aria-hidden": "true",
tabindex: "-1"
}).find("a, input, button, select").attr({
tabindex: "-1"
}), null !== e.$dots && (e.$slides.not(e.$slidetrack.find(".slick-cloned")).each(function(t) {
var s = o.indexof(t);
i(this).attr({
role: "tabpanel",
id: "slick-slide" + e.instanceuid + t,
tabindex: -1
}), -1 !== s && i(this).attr({
"aria-describedby": "slick-slide-control" + e.instanceuid + s
})
}), e.$dots.attr("role", "tablist").find("li").each(function(s) {
var n = o[s];
i(this).attr({
role: "presentation"
}), i(this).find("button").first().attr({
role: "tab",
id: "slick-slide-control" + e.instanceuid + s,
"aria-controls": "slick-slide" + e.instanceuid + n,
"aria-label": s + 1 + " of " + t,
"aria-selected": null,
tabindex: "-1"
})
}).eq(e.currentslide).find("button").attr({
"aria-selected": "true",
tabindex: "0"
}).end());
for (var s = e.currentslide, n = s + e.options.slidestoshow; s < n; s++) e.$slides.eq(s).attr("tabindex", 0);
e.activateada()
}, e.prototype.initarrowevents = function() {
var i = this;
!0 === i.options.arrows && i.slidecount > i.options.slidestoshow && (i.$prevarrow.off("click.slick").on("click.slick", {
message: "previous"
}, i.changeslide), i.$nextarrow.off("click.slick").on("click.slick", {
message: "next"
}, i.changeslide), !0 === i.options.accessibility && (i.$prevarrow.on("keydown.slick", i.keyhandler), i.$nextarrow.on("keydown.slick", i.keyhandler)))
}, e.prototype.initdotevents = function() {
var e = this;
!0 === e.options.dots && (i("li", e.$dots).on("click.slick", {
message: "index"
}, e.changeslide), !0 === e.options.accessibility && e.$dots.on("keydown.slick", e.keyhandler)), !0 === e.options.dots && !0 === e.options.pauseondotshover && i("li", e.$dots).on("mouseenter.slick", i.proxy(e.interrupt, e, !0)).on("mouseleave.slick", i.proxy(e.interrupt, e, !1))
}, e.prototype.initslideevents = function() {
var e = this;
e.options.pauseonhover && (e.$list.on("mouseenter.slick", i.proxy(e.interrupt, e, !0)), e.$list.on("mouseleave.slick", i.proxy(e.interrupt, e, !1)))
}, e.prototype.initializeevents = function() {
var e = this;
e.initarrowevents(), e.initdotevents(), e.initslideevents(), e.$list.on("touchstart.slick mousedown.slick", {
action: "start"
}, e.swipehandler), e.$list.on("touchmove.slick mousemove.slick", {
action: "move"
}, e.swipehandler), e.$list.on("touchend.slick mouseup.slick", {
action: "end"
}, e.swipehandler), e.$list.on("touchcancel.slick mouseleave.slick", {
action: "end"
}, e.swipehandler), e.$list.on("click.slick", e.clickhandler), i(document).on(e.visibilitychange, i.proxy(e.visibility, e)), !0 === e.options.accessibility && e.$list.on("keydown.slick", e.keyhandler), !0 === e.options.focusonselect && i(e.$slidetrack).children().on("click.slick", e.selecthandler), i(window).on("orientationchange.slick.slick-" + e.instanceuid, i.proxy(e.orientationchange, e)), i(window).on("resize.slick.slick-" + e.instanceuid, i.proxy(e.resize, e)), i("[draggable!=true]", e.$slidetrack).on("dragstart", e.preventdefault), i(window).on("load.slick.slick-" + e.instanceuid, e.setposition), i(e.setposition)
}, e.prototype.initui = function() {
var i = this;
!0 === i.options.arrows && i.slidecount > i.options.slidestoshow && (i.$prevarrow.show(), i.$nextarrow.show()), !0 === i.options.dots && i.slidecount > i.options.slidestoshow && i.$dots.show()
}, e.prototype.keyhandler = function(i) {
var e = this;
i.target.tagname.match("textarea|input|select") || (37 === i.keycode && !0 === e.options.accessibility ? e.changeslide({
data: {
message: !0 === e.options.rtl ? "next" : "previous"
}
}) : 39 === i.keycode && !0 === e.options.accessibility && e.changeslide({
data: {
message: !0 === e.options.rtl ? "previous" : "next"
}
}))
}, e.prototype.lazyload = function() {
function e(e) {
i("img[data-lazy]", e).each(function() {
var e = i(this),
t = i(this).attr("data-lazy"),
o = i(this).attr("data-srcset"),
s = i(this).attr("data-sizes") || n.$slider.attr("data-sizes"),
r = document.createelement("img");
r.onload = function() {
e.animate({
opacity: 0
}, 100, function() {
o && (e.attr("srcset", o), s && e.attr("sizes", s)), e.attr("src", t).animate({
opacity: 1
}, 200, function() {
e.removeattr("data-lazy data-srcset data-sizes").removeclass("slick-loading")
}), n.$slider.trigger("lazyloaded", [n, e, t])
})
}, r.onerror = function() {
e.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"), n.$slider.trigger("lazyloaderror", [n, e, t])
}, r.src = t
})
}
var t, o, s, n = this;
if (!0 === n.options.centermode ? !0 === n.options.infinite ? s = (o = n.currentslide + (n.options.slidestoshow / 2 + 1)) + n.options.slidestoshow + 2 : (o = math.max(0, n.currentslide - (n.options.slidestoshow / 2 + 1)), s = n.options.slidestoshow / 2 + 1 + 2 + n.currentslide) : (o = n.options.infinite ? n.options.slidestoshow + n.currentslide : n.currentslide, s = math.ceil(o + n.options.slidestoshow), !0 === n.options.fade && (o > 0 && o--, s <= n.slidecount && s++)), t = n.$slider.find(".slick-slide").slice(o, s), "anticipated" === n.options.lazyload)
for (var r = o - 1, l = s, d = n.$slider.find(".slick-slide"), a = 0; a < n.options.slidestoscroll; a++) r < 0 && (r = n.slidecount - 1), t = (t = t.add(d.eq(r))).add(d.eq(l)), r--, l++;
e(t), n.slidecount <= n.options.slidestoshow ? e(n.$slider.find(".slick-slide")) : n.currentslide >= n.slidecount - n.options.slidestoshow ? e(n.$slider.find(".slick-cloned").slice(0, n.options.slidestoshow)) : 0 === n.currentslide && e(n.$slider.find(".slick-cloned").slice(-1 * n.options.slidestoshow))
}, e.prototype.loadslider = function() {
var i = this;
i.setposition(), i.$slidetrack.css({
opacity: 1
}), i.$slider.removeclass("slick-loading"), i.initui(), "progressive" === i.options.lazyload && i.progressivelazyload()
}, e.prototype.next = e.prototype.slicknext = function() {
this.changeslide({
data: {
message: "next"
}
})
}, e.prototype.orientationchange = function() {
var i = this;
i.checkresponsive(), i.setposition()
}, e.prototype.pause = e.prototype.slickpause = function() {
var i = this;
i.autoplayclear(), i.paused = !0
}, e.prototype.play = e.prototype.slickplay = function() {
var i = this;
i.autoplay(), i.options.autoplay = !0, i.paused = !1, i.focussed = !1, i.interrupted = !1
}, e.prototype.postslide = function(e) {
var t = this;
t.unslicked || (t.$slider.trigger("afterchange", [t, e]), t.animating = !1, t.slidecount > t.options.slidestoshow && t.setposition(), t.swipeleft = null, t.options.autoplay && t.autoplay(), !0 === t.options.accessibility && (t.initada(), t.options.autoplay || i(t.$slides.get(t.currentslide)).attr("tabindex", 0).focus()))
}, e.prototype.prev = e.prototype.slickprev = function() {
this.changeslide({
data: {
message: "previous"
}
})
}, e.prototype.preventdefault = function(i) {
i.preventdefault()
}, e.prototype.progressivelazyload = function(e) {
e = e || 1;
var t, o, s, n, r, l = this,
d = i("img[data-lazy]", l.$slider);
d.length ? (t = d.first(), o = t.attr("data-lazy"), s = t.attr("data-srcset"), n = t.attr("data-sizes") || l.$slider.attr("data-sizes"), (r = document.createelement("img")).onload = function() {
s && (t.attr("srcset", s), n && t.attr("sizes", n)), t.attr("src", o).removeattr("data-lazy data-srcset data-sizes").removeclass("slick-loading"), !0 === l.options.adaptiveheight && l.setposition(), l.$slider.trigger("lazyloaded", [l, t, o]), l.progressivelazyload()
}, r.onerror = function() {
e < 3 ? settimeout(function() {
l.progressivelazyload(e + 1)
}, 500) : (t.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"), l.$slider.trigger("lazyloaderror", [l, t, o]), l.progressivelazyload())
}, r.src = o) : l.$slider.trigger("allimagesloaded", [l])
}, e.prototype.refresh = function(e) {
var t, o, s = this;
o = s.slidecount - s.options.slidestoshow, !s.options.infinite && s.currentslide > o && (s.currentslide = o), s.slidecount <= s.options.slidestoshow && (s.currentslide = 0), t = s.currentslide, s.destroy(!0), i.extend(s, s.initials, {
currentslide: t
}), s.init(), e || s.changeslide({
data: {
message: "index",
index: t
}
}, !1)
}, e.prototype.registerbreakpoints = function() {
var e, t, o, s = this,
n = s.options.responsive || null;
if ("array" === i.type(n) && n.length) {
s.respondto = s.options.respondto || "window";
for (e in n)
if (o = s.breakpoints.length - 1, n.hasownproperty(e)) {
for (t = n[e].breakpoint; o >= 0;) s.breakpoints[o] && s.breakpoints[o] === t && s.breakpoints.splice(o, 1), o--;
s.breakpoints.push(t), s.breakpointsettings[t] = n[e].settings
}
s.breakpoints.sort(function(i, e) {
return s.options.mobilefirst ? i - e : e - i
})
}
}, e.prototype.reinit = function() {
var e = this;
e.$slides = e.$slidetrack.children(e.options.slide).addclass("slick-slide"), e.slidecount = e.$slides.length, e.currentslide >= e.slidecount && 0 !== e.currentslide && (e.currentslide = e.currentslide - e.options.slidestoscroll), e.slidecount <= e.options.slidestoshow && (e.currentslide = 0), e.registerbreakpoints(), e.setprops(), e.setupinfinite(), e.buildarrows(), e.updatearrows(), e.initarrowevents(), e.builddots(), e.updatedots(), e.initdotevents(), e.cleanupslideevents(), e.initslideevents(), e.checkresponsive(!1, !0), !0 === e.options.focusonselect && i(e.$slidetrack).children().on("click.slick", e.selecthandler), e.setslideclasses("number" == typeof e.currentslide ? e.currentslide : 0), e.setposition(), e.focushandler(), e.paused = !e.options.autoplay, e.autoplay(), e.$slider.trigger("reinit", [e])
}, e.prototype.resize = function() {
var e = this;
i(window).width() !== e.windowwidth && (cleartimeout(e.windowdelay), e.windowdelay = window.settimeout(function() {
e.windowwidth = i(window).width(), e.checkresponsive(), e.unslicked || e.setposition()
}, 50))
}, e.prototype.removeslide = e.prototype.slickremove = function(i, e, t) {
var o = this;
if (i = "boolean" == typeof i ? !0 === (e = i) ? 0 : o.slidecount - 1 : !0 === e ? --i : i, o.slidecount < 1 || i < 0 || i > o.slidecount - 1) return !1;
o.unload(), !0 === t ? o.$slidetrack.children().remove() : o.$slidetrack.children(this.options.slide).eq(i).remove(), o.$slides = o.$slidetrack.children(this.options.slide), o.$slidetrack.children(this.options.slide).detach(), o.$slidetrack.append(o.$slides), o.$slidescache = o.$slides, o.reinit()
}, e.prototype.setcss = function(i) {
var e, t, o = this,
s = {};
!0 === o.options.rtl && (i = -i), e = "left" == o.positionprop ? math.ceil(i) + "px" : "0px", t = "top" == o.positionprop ? math.ceil(i) + "px" : "0px", s[o.positionprop] = i, !1 === o.transformsenabled ? o.$slidetrack.css(s) : (s = {}, !1 === o.csstransitions ? (s[o.animtype] = "translate(" + e + ", " + t + ")", o.$slidetrack.css(s)) : (s[o.animtype] = "translate3d(" + e + ", " + t + ", 0px)", o.$slidetrack.css(s)))
}, e.prototype.setdimensions = function() {
var i = this;
!1 === i.options.vertical ? !0 === i.options.centermode && i.$list.css({
padding: "0px " + i.options.centerpadding
}) : (i.$list.height(i.$slides.first().outerheight(!0) * i.options.slidestoshow), !0 === i.options.centermode && i.$list.css({
padding: i.options.centerpadding + " 0px"
})), i.listwidth = i.$list.width(), i.listheight = i.$list.height(), !1 === i.options.vertical && !1 === i.options.variablewidth ? (i.slidewidth = math.ceil(i.listwidth / i.options.slidestoshow), i.$slidetrack.width(math.ceil(i.slidewidth * i.$slidetrack.children(".slick-slide").length))) : !0 === i.options.variablewidth ? i.$slidetrack.width(5e3 * i.slidecount) : (i.slidewidth = math.ceil(i.listwidth), i.$slidetrack.height(math.ceil(i.$slides.first().outerheight(!0) * i.$slidetrack.children(".slick-slide").length)));
var e = i.$slides.first().outerwidth(!0) - i.$slides.first().width();
!1 === i.options.variablewidth && i.$slidetrack.children(".slick-slide").width(i.slidewidth - e)
}, e.prototype.setfade = function() {
var e, t = this;
t.$slides.each(function(o, s) {
e = t.slidewidth * o * -1, !0 === t.options.rtl ? i(s).css({
position: "relative",
right: e,
top: 0,
zindex: t.options.zindex - 2,
opacity: 0
}) : i(s).css({
position: "relative",
left: e,
top: 0,
zindex: t.options.zindex - 2,
opacity: 0
})
}), t.$slides.eq(t.currentslide).css({
zindex: t.options.zindex - 1,
opacity: 1
})
}, e.prototype.setheight = function() {
var i = this;
if (1 === i.options.slidestoshow && !0 === i.options.adaptiveheight && !1 === i.options.vertical) {
var e = i.$slides.eq(i.currentslide).outerheight(!0);
i.$list.css("height", e)
}
}, e.prototype.setoption = e.prototype.slicksetoption = function() {
var e, t, o, s, n, r = this,
l = !1;
if ("object" === i.type(arguments[0]) ? (o = arguments[0], l = arguments[1], n = "multiple") : "string" === i.type(arguments[0]) && (o = arguments[0], s = arguments[1], l = arguments[2], "responsive" === arguments[0] && "array" === i.type(arguments[1]) ? n = "responsive" : void 0 !== arguments[1] && (n = "single")), "single" === n) r.options[o] = s;
else if ("multiple" === n) i.each(o, function(i, e) {
r.options[i] = e
});
else if ("responsive" === n)
for (t in s)
if ("array" !== i.type(r.options.responsive)) r.options.responsive = [s[t]];
else {
for (e = r.options.responsive.length - 1; e >= 0;) r.options.responsive[e].breakpoint === s[t].breakpoint && r.options.responsive.splice(e, 1), e--;
r.options.responsive.push(s[t])
}
l && (r.unload(), r.reinit())
}, e.prototype.setposition = function() {
var i = this;
i.setdimensions(), i.setheight(), !1 === i.options.fade ? i.setcss(i.getleft(i.currentslide)) : i.setfade(), i.$slider.trigger("setposition", [i])
}, e.prototype.setprops = function() {
var i = this,
e = document.body.style;
i.positionprop = !0 === i.options.vertical ? "top" : "left", "top" === i.positionprop ? i.$slider.addclass("slick-vertical") : i.$slider.removeclass("slick-vertical"), void 0 === e.webkittransition && void 0 === e.moztransition && void 0 === e.mstransition || !0 === i.options.usecss && (i.csstransitions = !0), i.options.fade && ("number" == typeof i.options.zindex ? i.options.zindex < 3 && (i.options.zindex = 3) : i.options.zindex = i.defaults.zindex), void 0 !== e.otransform && (i.animtype = "otransform", i.transformtype = "-o-transform", i.transitiontype = "otransition", void 0 === e.perspectiveproperty && void 0 === e.webkitperspective && (i.animtype = !1)), void 0 !== e.moztransform && (i.animtype = "moztransform", i.transformtype = "-moz-transform", i.transitiontype = "moztransition", void 0 === e.perspectiveproperty && void 0 === e.mozperspective && (i.animtype = !1)), void 0 !== e.webkittransform && (i.animtype = "webkittransform", i.transformtype = "-webkit-transform", i.transitiontype = "webkittransition", void 0 === e.perspectiveproperty && void 0 === e.webkitperspective && (i.animtype = !1)), void 0 !== e.mstransform && (i.animtype = "mstransform", i.transformtype = "-ms-transform", i.transitiontype = "mstransition", void 0 === e.mstransform && (i.animtype = !1)), void 0 !== e.transform && !1 !== i.animtype && (i.animtype = "transform", i.transformtype = "transform", i.transitiontype = "transition"), i.transformsenabled = i.options.usetransform && null !== i.animtype && !1 !== i.animtype
}, e.prototype.setslideclasses = function(i) {
var e, t, o, s, n = this;
t = n.$slider.find(".slick-slide").removeclass("slick-active slick-center slick-current").attr("aria-hidden", "true"), n.$slides.eq(i).addclass("slick-current"), !0 === n.options.centermode ? (e = math.floor(n.options.slidestoshow / 2), !0 === n.options.infinite && (i >= e && i <= n.slidecount - 1 - e ? n.$slides.slice(i - e, i + e + 1).addclass("slick-active").attr("aria-hidden", "false") : (o = n.options.slidestoshow + i, t.slice(o - e + 1, o + e + 2).addclass("slick-active").attr("aria-hidden", "false")), 0 === i ? t.eq(t.length - 1 - n.options.slidestoshow).addclass("slick-center") : i === n.slidecount - 1 && t.eq(n.options.slidestoshow).addclass("slick-center")), n.$slides.eq(i).addclass("slick-center")) : i >= 0 && i <= n.slidecount - n.options.slidestoshow ? n.$slides.slice(i, i + n.options.slidestoshow).addclass("slick-active").attr("aria-hidden", "false") : t.length <= n.options.slidestoshow ? t.addclass("slick-active").attr("aria-hidden", "false") : (s = n.slidecount % n.options.slidestoshow, o = !0 === n.options.infinite ? n.options.slidestoshow + i : i, n.options.slidestoshow == n.options.slidestoscroll && n.slidecount - i < n.options.slidestoshow ? t.slice(o - (n.options.slidestoshow - s), o + s).addclass("slick-active").attr("aria-hidden", "false") : t.slice(o, o + n.options.slidestoshow).addclass("slick-active").attr("aria-hidden", "false")), "ondemand" !== n.options.lazyload && "anticipated" !== n.options.lazyload || n.lazyload()
}, e.prototype.setupinfinite = function() {
var e, t, o, s = this;
if (!0 === s.options.fade && (s.options.centermode = !1), !0 === s.options.infinite && !1 === s.options.fade && (t = null, s.slidecount > s.options.slidestoshow)) {
for (o = !0 === s.options.centermode ? s.options.slidestoshow + 1 : s.options.slidestoshow, e = s.slidecount; e > s.slidecount - o; e -= 1) t = e - 1, i(s.$slides[t]).clone(!0).attr("id", "").attr("data-slick-index", t - s.slidecount).prependto(s.$slidetrack).addclass("slick-cloned");
for (e = 0; e < o + s.slidecount; e += 1) t = e, i(s.$slides[t]).clone(!0).attr("id", "").attr("data-slick-index", t + s.slidecount).appendto(s.$slidetrack).addclass("slick-cloned");
s.$slidetrack.find(".slick-cloned").find("[id]").each(function() {
i(this).attr("id", "")
})
}
}, e.prototype.interrupt = function(i) {
var e = this;
i || e.autoplay(), e.interrupted = i
}, e.prototype.selecthandler = function(e) {
var t = this,
o = i(e.target).is(".slick-slide") ? i(e.target) : i(e.target).parents(".slick-slide"),
s = parseint(o.attr("data-slick-index"));
s || (s = 0), t.slidecount <= t.options.slidestoshow ? t.slidehandler(s, !1, !0) : t.slidehandler(s)
}, e.prototype.slidehandler = function(i, e, t) {
var o, s, n, r, l, d = null,
a = this;
if (e = e || !1, !(!0 === a.animating && !0 === a.options.waitforanimate || !0 === a.options.fade && a.currentslide === i))
if (!1 === e && a.asnavfor(i), o = i, d = a.getleft(o), r = a.getleft(a.currentslide), a.currentleft = null === a.swipeleft ? r : a.swipeleft, !1 === a.options.infinite && !1 === a.options.centermode && (i < 0 || i > a.getdotcount() * a.options.slidestoscroll)) !1 === a.options.fade && (o = a.currentslide, !0 !== t ? a.animateslide(r, function() {
a.postslide(o)
}) : a.postslide(o));
else if (!1 === a.options.infinite && !0 === a.options.centermode && (i < 0 || i > a.slidecount - a.options.slidestoscroll)) !1 === a.options.fade && (o = a.currentslide, !0 !== t ? a.animateslide(r, function() {
a.postslide(o)
}) : a.postslide(o));
else {
if (a.options.autoplay && clearinterval(a.autoplaytimer), s = o < 0 ? a.slidecount % a.options.slidestoscroll != 0 ? a.slidecount - a.slidecount % a.options.slidestoscroll : a.slidecount + o : o >= a.slidecount ? a.slidecount % a.options.slidestoscroll != 0 ? 0 : o - a.slidecount : o, a.animating = !0, a.$slider.trigger("beforechange", [a, a.currentslide, s]), n = a.currentslide, a.currentslide = s, a.setslideclasses(a.currentslide), a.options.asnavfor && (l = (l = a.getnavtarget()).slick("getslick")).slidecount <= l.options.slidestoshow && l.setslideclasses(a.currentslide), a.updatedots(), a.updatearrows(), !0 === a.options.fade) return !0 !== t ? (a.fadeslideout(n), a.fadeslide(s, function() {
a.postslide(s)
})) : a.postslide(s), void a.animateheight();
!0 !== t ? a.animateslide(d, function() {
a.postslide(s)
}) : a.postslide(s)
}
}, e.prototype.startload = function() {
var i = this;
!0 === i.options.arrows && i.slidecount > i.options.slidestoshow && (i.$prevarrow.hide(), i.$nextarrow.hide()), !0 === i.options.dots && i.slidecount > i.options.slidestoshow && i.$dots.hide(), i.$slider.addclass("slick-loading")
}, e.prototype.swipedirection = function() {
var i, e, t, o, s = this;
return i = s.touchobject.startx - s.touchobject.curx, e = s.touchobject.starty - s.touchobject.cury, t = math.atan2(e, i), (o = math.round(180 * t / math.pi)) < 0 && (o = 360 - math.abs(o)), o <= 45 && o >= 0 ? !1 === s.options.rtl ? "left" : "right" : o <= 360 && o >= 315 ? !1 === s.options.rtl ? "left" : "right" : o >= 135 && o <= 225 ? !1 === s.options.rtl ? "right" : "left" : !0 === s.options.verticalswiping ? o >= 35 && o <= 135 ? "down" : "up" : "vertical"
}, e.prototype.swipeend = function(i) {
var e, t, o = this;
if (o.dragging = !1, o.swiping = !1, o.scrolling) return o.scrolling = !1, !1;
if (o.interrupted = !1, o.shouldclick = !(o.touchobject.swipelength > 10), void 0 === o.touchobject.curx) return !1;
if (!0 === o.touchobject.edgehit && o.$slider.trigger("edge", [o, o.swipedirection()]), o.touchobject.swipelength >= o.touchobject.minswipe) {
switch (t = o.swipedirection()) {
case "left":
case "down":
e = o.options.swipetoslide ? o.checknavigable(o.currentslide + o.getslidecount()) : o.currentslide + o.getslidecount(), o.currentdirection = 0;
break;
case "right":
case "up":
e = o.options.swipetoslide ? o.checknavigable(o.currentslide - o.getslidecount()) : o.currentslide - o.getslidecount(), o.currentdirection = 1
}
"vertical" != t && (o.slidehandler(e), o.touchobject = {}, o.$slider.trigger("swipe", [o, t]))
} else o.touchobject.startx !== o.touchobject.curx && (o.slidehandler(o.currentslide), o.touchobject = {})
}, e.prototype.swipehandler = function(i) {
var e = this;
if (!(!1 === e.options.swipe || "ontouchend" in document && !1 === e.options.swipe || !1 === e.options.draggable && -1 !== i.type.indexof("mouse"))) switch (e.touchobject.fingercount = i.originalevent && void 0 !== i.originalevent.touches ? i.originalevent.touches.length : 1, e.touchobject.minswipe = e.listwidth / e.options.touchthreshold, !0 === e.options.verticalswiping && (e.touchobject.minswipe = e.listheight / e.options.touchthreshold), i.data.action) {
case "start":
e.swipestart(i);
break;
case "move":
e.swipemove(i);
break;
case "end":
e.swipeend(i)
}
}, e.prototype.swipemove = function(i) {
var e, t, o, s, n, r, l = this;
return n = void 0 !== i.originalevent ? i.originalevent.touches : null, !(!l.dragging || l.scrolling || n && 1 !== n.length) && (e = l.getleft(l.currentslide), l.touchobject.curx = void 0 !== n ? n[0].pagex : i.clientx, l.touchobject.cury = void 0 !== n ? n[0].pagey : i.clienty, l.touchobject.swipelength = math.round(math.sqrt(math.pow(l.touchobject.curx - l.touchobject.startx, 2))), r = math.round(math.sqrt(math.pow(l.touchobject.cury - l.touchobject.starty, 2))), !l.options.verticalswiping && !l.swiping && r > 4 ? (l.scrolling = !0, !1) : (!0 === l.options.verticalswiping && (l.touchobject.swipelength = r), t = l.swipedirection(), void 0 !== i.originalevent && l.touchobject.swipelength > 4 && (l.swiping = !0, i.preventdefault()), s = (!1 === l.options.rtl ? 1 : -1) * (l.touchobject.curx > l.touchobject.startx ? 1 : -1), !0 === l.options.verticalswiping && (s = l.touchobject.cury > l.touchobject.starty ? 1 : -1), o = l.touchobject.swipelength, l.touchobject.edgehit = !1, !1 === l.options.infinite && (0 === l.currentslide && "right" === t || l.currentslide >= l.getdotcount() && "left" === t) && (o = l.touchobject.swipelength * l.options.edgefriction, l.touchobject.edgehit = !0), !1 === l.options.vertical ? l.swipeleft = e + o * s : l.swipeleft = e + o * (l.$list.height() / l.listwidth) * s, !0 === l.options.verticalswiping && (l.swipeleft = e + o * s), !0 !== l.options.fade && !1 !== l.options.touchmove && (!0 === l.animating ? (l.swipeleft = null, !1) : void l.setcss(l.swipeleft))))
}, e.prototype.swipestart = function(i) {
var e, t = this;
if (t.interrupted = !0, 1 !== t.touchobject.fingercount || t.slidecount <= t.options.slidestoshow) return t.touchobject = {}, !1;
void 0 !== i.originalevent && void 0 !== i.originalevent.touches && (e = i.originalevent.touches[0]), t.touchobject.startx = t.touchobject.curx = void 0 !== e ? e.pagex : i.clientx, t.touchobject.starty = t.touchobject.cury = void 0 !== e ? e.pagey : i.clienty, t.dragging = !0
}, e.prototype.unfilterslides = e.prototype.slickunfilter = function() {
var i = this;
null !== i.$slidescache && (i.unload(), i.$slidetrack.children(this.options.slide).detach(), i.$slidescache.appendto(i.$slidetrack), i.reinit())
}, e.prototype.unload = function() {
var e = this;
i(".slick-cloned", e.$slider).remove(), e.$dots && e.$dots.remove(), e.$prevarrow && e.htmlexpr.test(e.options.prevarrow) && e.$prevarrow.remove(), e.$nextarrow && e.htmlexpr.test(e.options.nextarrow) && e.$nextarrow.remove(), e.$slides.removeclass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "")
}, e.prototype.unslick = function(i) {
var e = this;
e.$slider.trigger("unslick", [e, i]), e.destroy()
}, e.prototype.updatearrows = function() {
var i = this;
math.floor(i.options.slidestoshow / 2), !0 === i.options.arrows && i.slidecount > i.options.slidestoshow && !i.options.infinite && (i.$prevarrow.removeclass("slick-disabled").attr("aria-disabled", "false"), i.$nextarrow.removeclass("slick-disabled").attr("aria-disabled", "false"), 0 === i.currentslide ? (i.$prevarrow.addclass("slick-disabled").attr("aria-disabled", "true"), i.$nextarrow.removeclass("slick-disabled").attr("aria-disabled", "false")) : i.currentslide >= i.slidecount - i.options.slidestoshow && !1 === i.options.centermode ? (i.$nextarrow.addclass("slick-disabled").attr("aria-disabled", "true"), i.$prevarrow.removeclass("slick-disabled").attr("aria-disabled", "false")) : i.currentslide >= i.slidecount - 1 && !0 === i.options.centermode && (i.$nextarrow.addclass("slick-disabled").attr("aria-disabled", "true"), i.$prevarrow.removeclass("slick-disabled").attr("aria-disabled", "false")))
}, e.prototype.updatedots = function() {
var i = this;
null !== i.$dots && (i.$dots.find("li").removeclass("slick-active").end(), i.$dots.find("li").eq(math.floor(i.currentslide / i.options.slidestoscroll)).addclass("slick-active"))
}, e.prototype.visibility = function() {
var i = this;
i.options.autoplay && (document[i.hidden] ? i.interrupted = !0 : i.interrupted = !1)
}, i.fn.slick = function() {
var i, t, o = this,
s = arguments[0],
n = array.prototype.slice.call(arguments, 1),
r = o.length;
for (i = 0; i < r; i++)
if ("object" == typeof s || void 0 === s ? o[i].slick = new e(o[i], s) : t = o[i].slick[s].apply(o[i].slick, n), void 0 !== t) return t;
return o
}
});