vendor: 53,215 bytes, lines 1-717
1/* 2 _ _ _ _ 3 ___| (_) ___| | __ (_)___ 4/ __| | |/ __| |/ / | / __| 5\__ \ | | (__| < _ | \__ \ 6|___/_|_|\___|_|\_(_)/ |___/ 7 |__/ 8 9 Version: 1.9.0 10 Author: Ken Wheeler 11 Website: http://kenwheeler.github.io 12 Docs: http://kenwheeler.github.io/slick 13 Repo: http://github.com/kenwheeler/slick 14 Issues: http://github.com/kenwheeler/slick/issues 15 16 */ 17(function (i) { 18 "use strict"; 19 "function" == typeof define && define.amd ? define(["jquery"], i) : "undefined" != typeof exports ? module.exports = i(require("jquery")) : i(jQuery) 20})(function (i) { 21 "use strict"; 22 var e = window.Slick || {}; 23 e = function () { 24 function e(e, o) { 25 var s, n = this; 26 n.defaults = { 27 accessibility: !0, 28 adaptiveHeight: !1, 29 appendArrows: i(e), 30 appendDots: i(e), 31 arrows: !0, 32 asNavFor: null, 33 prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>', 34 nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>', 35 autoplay: !1, 36 autoplaySpeed: 3e3, 37 centerMode: !1, 38 centerPadding: "50px", 39 cssEase: "ease", 40 customPaging: function (e, t) { 41 return i('<button type="button" />').text(t + 1) 42 }, 43 dots: !1, 44 dotsClass: "slick-dots", 45 draggable: !0, 46 easing: "linear", 47 edgeFriction: .35, 48 fade: !1, 49 focusOnSelect: !1, 50 focusOnChange: !1, 51 infinite: !0, 52 initialSlide: 0, 53 lazyLoad: "ondemand", 54 mobileFirst: !1, 55 pauseOnHover: !0, 56 pauseOnFocus: !0, 57 pauseOnDotsHover: !1, 58 respondTo: "window", 59 responsive: null, 60 rows: 1, 61 rtl: !1, 62 slide: "", 63 slidesPerRow: 1, 64 slidesToShow: 1, 65 slidesToScroll: 1, 66 speed: 500, 67 swipe: !0, 68 swipeToSlide: !1, 69 touchMove: !0, 70 touchThreshold: 5, 71 useCSS: !0, 72 useTransform: !0, 73 variableWidth: !1, 74 vertical: !1, 75 verticalSwiping: !1, 76 waitForAnimate: !0, 77 zIndex: 1e3 78 }, n.initials = { 79 animating: !1, 80 dragging: !1, 81 autoPlayTimer: null, 82 currentDirection: 0, 83 currentLeft: null, 84 currentSlide: 0, 85 direction: 1, 86 $dots: null, 87 listWidth: null, 88 listHeight: null, 89 loadIndex: 0, 90 $nextArrow: null, 91 $prevArrow: null, 92 scrolling: !1, 93 slideCount: null, 94 slideWidth: null, 95 $slideTrack: null, 96 $slides: null, 97 sliding: !1, 98 slideOffset: 0, 99 swipeLeft: null, 100 swiping: !1, 101 $list: null, 102 touchObject: {}, 103 transformsEnabled: !1, 104 unslicked: !1 105 }, 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(e), n.$slidesCache = null, n.transformType = null, n.transitionType = null, n.visibilityChange = "visibilitychange", n.windowWidth = 0, n.windowTimer = null, s = i(e).data("slick") || {}, n.options = i.extend({}, n.defaults, o, s), n.currentSlide = n.options.initialSlide, n.originalSettings = n.options, "undefined" != typeof document.mozHidden ? (n.hidden = "mozHidden", n.visibilityChange = "mozvisibilitychange") : "undefined" != typeof 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 = t++, n.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, n.registerBreakpoints(), n.init(!0) 106 } 107 var t = 0; 108 return e 109 }(), e.prototype.activateADA = function () { 110 var i = this; 111 i.$slideTrack.find(".slick-active").attr({ 112 "aria-hidden": "false" 113 }).find("a, input, button, select").attr({ 114 tabindex: "0" 115 }) 116 }, e.prototype.addSlide = e.prototype.slickAdd = function (e, t, o) { 117 var s = this; 118 if ("boolean" == typeof t) o = t, t = null; 119 else if (t < 0 || t >= s.slideCount) return !1; 120 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)) : o === !0 ? 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) { 121 i(t).attr("data-slick-index", e) 122 }), s.$slidesCache = s.$slides, s.reinit() 123 }, e.prototype.animateHeight = function () { 124 var i = this; 125 if (1 === i.options.slidesToShow && i.options.adaptiveHeight === !0 && i.options.vertical === !1) { 126 var e = i.$slides.eq(i.currentSlide).outerHeight(!0); 127 i.$list.animate({ 128 height: e 129 }, i.options.speed) 130 } 131 }, e.prototype.animateSlide = function (e, t) { 132 var o = {}, 133 s = this; 134 s.animateHeight(), s.options.rtl === !0 && s.options.vertical === !1 && (e = -e), s.transformsEnabled === !1 ? s.options.vertical === !1 ? s.$slideTrack.animate({ 135 left: e 136 }, s.options.speed, s.options.easing, t) : s.$slideTrack.animate({ 137 top: e 138 }, s.options.speed, s.options.easing, t) : s.cssTransitions === !1 ? (s.options.rtl === !0 && (s.currentLeft = -s.currentLeft), i({ 139 animStart: s.currentLeft 140 }).animate({ 141 animStart: e 142 }, { 143 duration: s.options.speed, 144 easing: s.options.easing, 145 step: function (i) { 146 i = Math.ceil(i), s.options.vertical === !1 ? (o[s.animType] = "translate(" + i + "px, 0px)", s.$slideTrack.css(o)) : (o[s.animType] = "translate(0px," + i + "px)", s.$slideTrack.css(o)) 147 }, 148 complete: function () { 149 t && t.call() 150 } 151 })) : (s.applyTransition(), e = Math.ceil(e), s.options.vertical === !1 ? o[s.animType] = "translate3d(" + e + "px, 0px, 0px)" : o[s.animType] = "translate3d(0px," + e + "px, 0px)", s.$slideTrack.css(o), t && setTimeout(function () { 152 s.disableTransition(), t.call() 153 }, s.options.speed)) 154 }, e.prototype.getNavTarget = function () { 155 var e = this, 156 t = e.options.asNavFor; 157 return t && null !== t && (t = i(t).not(e.$slider)), t 158 }, e.prototype.asNavFor = function (e) { 159 var t = this, 160 o = t.getNavTarget(); 161 null !== o && "object" == typeof o && o.each(function () { 162 var t = i(this).slick("getSlick"); 163 t.unslicked || t.slideHandler(e, !0) 164 }) 165 }, e.prototype.applyTransition = function (i) { 166 var e = this, 167 t = {}; 168 e.options.fade === !1 ? t[e.transitionType] = e.transformType + " " + e.options.speed + "ms " + e.options.cssEase : t[e.transitionType] = "opacity " + e.options.speed + "ms " + e.options.cssEase, e.options.fade === !1 ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) 169 }, e.prototype.autoPlay = function () { 170 var i = this; 171 i.autoPlayClear(), i.slideCount > i.options.slidesToShow && (i.autoPlayTimer = setInterval(i.autoPlayIterator, i.options.autoplaySpeed)) 172 }, e.prototype.autoPlayClear = function () { 173 var i = this; 174 i.autoPlayTimer && clearInterval(i.autoPlayTimer) 175 }, e.prototype.autoPlayIterator = function () { 176 var i = this, 177 e = i.currentSlide + i.options.slidesToScroll; 178 i.paused || i.interrupted || i.focussed || (i.options.infinite === !1 && (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)) 179 }, e.prototype.buildArrows = function () { 180 var e = this; 181 e.options.arrows === !0 && (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), e.options.infinite !== !0 && e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({ 182 "aria-disabled": "true", 183 tabindex: "-1" 184 })) 185 }, e.prototype.buildDots = function () { 186 var e, t, o = this; 187 if (o.options.dots === !0 && o.slideCount > o.options.slidesToShow) { 188 for (o.$slider.addClass("slick-dotted"), t = i("<ul />").addClass(o.options.dotsClass), e = 0; e <= o.getDotCount(); e += 1) t.append(i("<li />").append(o.options.customPaging.call(this, o, e))); 189 o.$dots = t.appendTo(o.options.appendDots), o.$dots.find("li").first().addClass("slick-active") 190 } 191 }, e.prototype.buildOut = function () { 192 var e = this; 193 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) { 194 i(t).attr("data-slick-index", e).data("originalStyling", i(t).attr("style") || "") 195 }), e.$slider.addClass("slick-slider"), e.$slideTrack = 0 === e.slideCount ? i('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent(), e.$list = e.$slideTrack.wrap('<div class="slick-list"/>').parent(), e.$slideTrack.css("opacity", 0), e.options.centerMode !== !0 && e.options.swipeToSlide !== !0 || (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), e.options.draggable === !0 && e.$list.addClass("draggable") 196 }, e.prototype.buildRows = function () { 197 var i, e, t, o, s, n, r, l = this; 198 if (o = document.createDocumentFragment(), n = l.$slider.children(), l.options.rows > 0) { 199 for (r = l.options.slidesPerRow * l.options.rows, s = Math.ceil(n.length / r), i = 0; i < s; i++) { 200 var d = document.createElement("div"); 201 for (e = 0; e < l.options.rows; e++) { 202 var a = document.createElement("div"); 203 for (t = 0; t < l.options.slidesPerRow; t++) { 204 var c = i * r + (e * l.options.slidesPerRow + t); 205 n.get(c) && a.appendChild(n.get(c)) 206 } 207 d.appendChild(a) 208 } 209 o.appendChild(d) 210 } 211 l.$slider.empty().append(o), l.$slider.children().children().children().css({ 212 width: 100 / l.options.slidesPerRow + "%", 213 display: "inline-block" 214 }) 215 } 216 }, e.prototype.checkResponsive = function (e, t) { 217 var o, s, n, r = this, 218 l = !1, 219 d = r.$slider.width(), 220 a = window.innerWidth || i(window).width(); 221 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) { 222 s = null; 223 for (o in r.breakpoints) r.breakpoints.hasOwnProperty(o) && (r.originalSettings.mobileFirst === !1 ? n < r.breakpoints[o] && (s = r.breakpoints[o]) : n > r.breakpoints[o] && (s = r.breakpoints[o])); 224 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]), e === !0 && (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]), e === !0 && (r.currentSlide = r.options.initialSlide), r.refresh(e)), l = s) : null !== r.activeBreakpoint && (r.activeBreakpoint = null, r.options = r.originalSettings, e === !0 && (r.currentSlide = r.options.initialSlide), r.refresh(e), l = s), e || l === !1 || r.$slider.trigger("breakpoint", [r, l]) 225 } 226 }, e.prototype.changeSlide = function (e, t) { 227 var o, s, n, r = this, 228 l = i(e.currentTarget); 229 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) { 230 case "previous": 231 s = 0 === o ? r.options.slidesToScroll : r.options.slidesToShow - o, r.slideCount > r.options.slidesToShow && r.slideHandler(r.currentSlide - s, !1, t); 232 break; 233 case "next": 234 s = 0 === o ? r.options.slidesToScroll : o, r.slideCount > r.options.slidesToShow && r.slideHandler(r.currentSlide + s, !1, t); 235 break; 236 case "index": 237 var d = 0 === e.data.index ? 0 : e.data.index || l.index() * r.options.slidesToScroll; 238 r.slideHandler(r.checkNavigable(d), !1, t), l.children().trigger("focus"); 239 break; 240 default: 241 return 242 } 243 }, e.prototype.checkNavigable = function (i) { 244 var e, t, o = this; 245 if (e = o.getNavigableIndexes(), t = 0, i > e[e.length - 1]) i = e[e.length - 1]; 246 else 247 for (var s in e) { 248 if (i < e[s]) { 249 i = t; 250 break 251 } 252 t = e[s] 253 } 254 return i 255 }, e.prototype.cleanUpEvents = function () { 256 var e = this; 257 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)), e.options.accessibility === !0 && e.$dots.off("keydown.slick", e.keyHandler)), e.$slider.off("focus.slick blur.slick"), e.options.arrows === !0 && e.slideCount > e.options.slidesToShow && (e.$prevArrow && e.$prevArrow.off("click.slick", e.changeSlide), e.$nextArrow && e.$nextArrow.off("click.slick", e.changeSlide), e.options.accessibility === !0 && (e.$prevArrow && e.$prevArrow.off("keydown.slick", e.keyHandler), e.$nextArrow && 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(), e.options.accessibility === !0 && e.$list.off("keydown.slick", e.keyHandler), e.options.focusOnSelect === !0 && 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) 258 }, e.prototype.cleanUpSlideEvents = function () { 259 var e = this; 260 e.$list.off("mouseenter.slick", i.proxy(e.interrupt, e, !0)), e.$list.off("mouseleave.slick", i.proxy(e.interrupt, e, !1)) 261 }, e.prototype.cleanUpRows = function () { 262 var i, e = this; 263 e.options.rows > 0 && (i = e.$slides.children().children(), i.removeAttr("style"), e.$slider.empty().append(i)) 264 }, e.prototype.clickHandler = function (i) { 265 var e = this; 266 e.shouldClick === !1 && (i.stopImmediatePropagation(), i.stopPropagation(), i.preventDefault()) 267 }, e.prototype.destroy = function (e) { 268 var t = this; 269 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 () { 270 i(this).attr("style", i(this).data("originalStyling")) 271 }), 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]) 272 }, e.prototype.disableTransition = function (i) { 273 var e = this, 274 t = {}; 275 t[e.transitionType] = "", e.options.fade === !1 ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) 276 }, e.prototype.fadeSlide = function (i, e) { 277 var t = this; 278 t.cssTransitions === !1 ? (t.$slides.eq(i).css({ 279 zIndex: t.options.zIndex 280 }), t.$slides.eq(i).animate({ 281 opacity: 1 282 }, t.options.speed, t.options.easing, e)) : (t.applyTransition(i), t.$slides.eq(i).css({ 283 opacity: 1, 284 zIndex: t.options.zIndex 285 }), e && setTimeout(function () { 286 t.disableTransition(i), e.call() 287 }, t.options.speed)) 288 }, e.prototype.fadeSlideOut = function (i) { 289 var e = this; 290 e.cssTransitions === !1 ? e.$slides.eq(i).animate({ 291 opacity: 0, 292 zIndex: e.options.zIndex - 2 293 }, e.options.speed, e.options.easing) : (e.applyTransition(i), e.$slides.eq(i).css({ 294 opacity: 0, 295 zIndex: e.options.zIndex - 2 296 })) 297 }, e.prototype.filterSlides = e.prototype.slickFilter = function (i) { 298 var e = this; 299 null !== i && (e.$slidesCache = e.$slides, e.unload(), e.$slideTrack.children(this.options.slide).detach(), e.$slidesCache.filter(i).appendTo(e.$slideTrack), e.reinit()) 300 }, e.prototype.focusHandler = function () { 301 var e = this; 302 e.$slider.off("focus.slick blur.slick").on("focus.slick", "*", function (t) { 303 var o = i(this); 304 setTimeout(function () { 305 e.options.pauseOnFocus && o.is(":focus") && (e.focussed = !0, e.autoPlay()) 306 }, 0) 307 }).on("blur.slick", "*", function (t) { 308 i(this); 309 e.options.pauseOnFocus && (e.focussed = !1, e.autoPlay()) 310 }) 311 }, e.prototype.getCurrent = e.prototype.slickCurrentSlide = function () { 312 var i = this; 313 return i.currentSlide 314 }, e.prototype.getDotCount = function () { 315 var i = this, 316 e = 0, 317 t = 0, 318 o = 0; 319 if (i.options.infinite === !0) 320 if (i.slideCount <= i.options.slidesToShow) ++o; 321 else 322 for (; e < i.slideCount;) ++o, e = t + i.options.slidesToScroll, t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow; 323 else if (i.options.centerMode === !0) o = i.slideCount; 324 else if (i.options.asNavFor) 325 for (; e < i.slideCount;) ++o, e = t + i.options.slidesToScroll, t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow; 326 else o = 1 + Math.ceil((i.slideCount - i.options.slidesToShow) / i.options.slidesToScroll); 327 return o - 1 328 }, e.prototype.getLeft = function (i) { 329 var e, t, o, s, n = this, 330 r = 0; 331 return n.slideOffset = 0, t = n.$slides.first().outerHeight(!0), n.options.infinite === !0 ? (n.slideCount > n.options.slidesToShow && (n.slideOffset = n.slideWidth * n.options.slidesToShow * -1, s = -1, n.options.vertical === !0 && n.options.centerMode === !0 && (2 === n.options.slidesToShow ? s = -1.5 : 1 === n.options.slidesToShow && (s = -2)), r = t * n.options.slidesToShow * s), n.slideCount % n.options.slidesToScroll !== 0 && i + n.options.slidesToScroll > n.slideCount && n.slideCount > n.options.slidesToShow && (i > n.slideCount ? (n.slideOffset = (n.options.slidesToShow - (i - n.slideCount)) * n.slideWidth * -1, r = (n.options.slidesToShow - (i - n.slideCount)) * t * -1) : (n.slideOffset = n.slideCount % n.options.slidesToScroll * n.slideWidth * -1, r = n.slideCount % n.options.slidesToScroll * t * -1))) : i + n.options.slidesToShow > n.slideCount && (n.slideOffset = (i + n.options.slidesToShow - n.slideCount) * n.slideWidth, r = (i + n.options.slidesToShow - n.slideCount) * t), n.slideCount <= n.options.slidesToShow && (n.slideOffset = 0, r = 0), n.options.centerMode === !0 && n.slideCount <= n.options.slidesToShow ? n.slideOffset = n.slideWidth * Math.floor(n.options.slidesToShow) / 2 - n.slideWidth * n.slideCount / 2 : n.options.centerMode === !0 && n.options.infinite === !0 ? n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2) - n.slideWidth : n.options.centerMode === !0 && (n.slideOffset = 0, n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2)), e = n.options.vertical === !1 ? i * n.slideWidth * -1 + n.slideOffset : i * t * -1 + r, n.options.variableWidth === !0 && (o = n.slideCount <= n.options.slidesToShow || n.options.infinite === !1 ? n.$slideTrack.children(".slick-slide").eq(i) : n.$slideTrack.children(".slick-slide").eq(i + n.options.slidesToShow), e = n.options.rtl === !0 ? o[0] ? (n.$slideTrack.width() - o[0].offsetLeft - o.width()) * -1 : 0 : o[0] ? o[0].offsetLeft * -1 : 0, n.options.centerMode === !0 && (o = n.slideCount <= n.options.slidesToShow || n.options.infinite === !1 ? n.$slideTrack.children(".slick-slide").eq(i) : n.$slideTrack.children(".slick-slide").eq(i + n.options.slidesToShow + 1), e = n.options.rtl === !0 ? o[0] ? (n.$slideTrack.width() - o[0].offsetLeft - o.width()) * -1 : 0 : o[0] ? o[0].offsetLeft * -1 : 0, e += (n.$list.width() - o.outerWidth()) / 2)), e 332 }, e.prototype.getOption = e.prototype.slickGetOption = function (i) { 333 var e = this; 334 return e.options[i] 335 }, e.prototype.getNavigableIndexes = function () { 336 var i, e = this, 337 t = 0, 338 o = 0, 339 s = []; 340 for (e.options.infinite === !1 ? i = e.slideCount : (t = e.options.slidesToScroll * -1, o = e.options.slidesToScroll * -1, 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; 341 return s 342 }, e.prototype.getSlick = function () { 343 return this 344 }, e.prototype.getSlideCount = function () { 345 var e, t, o, s, n = this; 346 return s = n.options.centerMode === !0 ? Math.floor(n.$list.width() / 2) : 0, o = n.swipeLeft * -1 + s, n.options.swipeToSlide === !0 ? (n.$slideTrack.find(".slick-slide").each(function (e, s) { 347 var r, l, d; 348 if (r = i(s).outerWidth(), l = s.offsetLeft, n.options.centerMode !== !0 && (l += r / 2), d = l + r, o < d) return t = s, !1 349 }), e = Math.abs(i(t).attr("data-slick-index") - n.currentSlide) || 1) : n.options.slidesToScroll 350 }, e.prototype.goTo = e.prototype.slickGoTo = function (i, e) { 351 var t = this; 352 t.changeSlide({ 353 data: { 354 message: "index", 355 index: parseInt(i) 356 } 357 }, e) 358 }, e.prototype.init = function (e) { 359 var t = this; 360 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]), t.options.accessibility === !0 && t.initADA(), t.options.autoplay && (t.paused = !1, t.autoPlay()) 361 }, e.prototype.initADA = function () { 362 var e = this, 363 t = Math.ceil(e.slideCount / e.options.slidesToShow), 364 o = e.getNavigableIndexes().filter(function (i) { 365 return i >= 0 && i < e.slideCount 366 }); 367 e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({ 368 "aria-hidden": "true", 369 tabindex: "-1" 370 }).find("a, input, button, select").attr({ 371 tabindex: "-1" 372 }), null !== e.$dots && (e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function (t) { 373 var s = o.indexOf(t); 374 if (i(this).attr({ 375 role: "tabpanel", 376 id: "slick-slide" + e.instanceUid + t, 377 tabindex: -1 378 }), s !== -1) { 379 var n = "slick-slide-control" + e.instanceUid + s; 380 i("#" + n).length && i(this).attr({ 381 "aria-describedby": n 382 }) 383 } 384 }), e.$dots.attr("role", "tablist").find("li").each(function (s) { 385 var n = o[s]; 386 i(this).attr({ 387 role: "presentation" 388 }), i(this).find("button").first().attr({ 389 role: "tab", 390 id: "slick-slide-control" + e.instanceUid + s, 391 "aria-controls": "slick-slide" + e.instanceUid + n, 392 "aria-label": s + 1 + " of " + t, 393 "aria-selected": null, 394 tabindex: "-1" 395 }) 396 }).eq(e.currentSlide).find("button").attr({ 397 "aria-selected": "true", 398 tabindex: "0" 399 }).end()); 400 for (var s = e.currentSlide, n = s + e.options.slidesToShow; s < n; s++) e.options.focusOnChange ? e.$slides.eq(s).attr({ 401 tabindex: "0" 402 }) : e.$slides.eq(s).removeAttr("tabindex"); 403 e.activateADA() 404 }, e.prototype.initArrowEvents = function () { 405 var i = this; 406 i.options.arrows === !0 && i.slideCount > i.options.slidesToShow && (i.$prevArrow.off("click.slick").on("click.slick", { 407 message: "previous" 408 }, i.changeSlide), i.$nextArrow.off("click.slick").on("click.slick", { 409 message: "next" 410 }, i.changeSlide), i.options.accessibility === !0 && (i.$prevArrow.on("keydown.slick", i.keyHandler), i.$nextArrow.on("keydown.slick", i.keyHandler))) 411 }, e.prototype.initDotEvents = function () { 412 var e = this; 413 e.options.dots === !0 && e.slideCount > e.options.slidesToShow && (i("li", e.$dots).on("click.slick", { 414 message: "index" 415 }, e.changeSlide), e.options.accessibility === !0 && e.$dots.on("keydown.slick", e.keyHandler)), e.options.dots === !0 && e.options.pauseOnDotsHover === !0 && e.slideCount > e.options.slidesToShow && i("li", e.$dots).on("mouseenter.slick", i.proxy(e.interrupt, e, !0)).on("mouseleave.slick", i.proxy(e.interrupt, e, !1)) 416 }, e.prototype.initSlideEvents = function () { 417 var e = this; 418 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))) 419 }, e.prototype.initializeEvents = function () { 420 var e = this; 421 e.initArrowEvents(), e.initDotEvents(), e.initSlideEvents(), e.$list.on("touchstart.slick mousedown.slick", { 422 action: "start" 423 }, e.swipeHandler), e.$list.on("touchmove.slick mousemove.slick", { 424 action: "move" 425 }, e.swipeHandler), e.$list.on("touchend.slick mouseup.slick", { 426 action: "end" 427 }, e.swipeHandler), e.$list.on("touchcancel.slick mouseleave.slick", { 428 action: "end" 429 }, e.swipeHandler), e.$list.on("click.slick", e.clickHandler), i(document).on(e.visibilityChange, i.proxy(e.visibility, e)), e.options.accessibility === !0 && e.$list.on("keydown.slick", e.keyHandler), e.options.focusOnSelect === !0 && 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) 430 }, e.prototype.initUI = function () { 431 var i = this; 432 i.options.arrows === !0 && i.slideCount > i.options.slidesToShow && (i.$prevArrow.show(), i.$nextArrow.show()), i.options.dots === !0 && i.slideCount > i.options.slidesToShow && i.$dots.show() 433 }, e.prototype.keyHandler = function (i) { 434 var e = this; 435 i.target.tagName.match("TEXTAREA|INPUT|SELECT") || (37 === i.keyCode && e.options.accessibility === !0 ? e.changeSlide({ 436 data: { 437 message: e.options.rtl === !0 ? "next" : "previous" 438 } 439 }) : 39 === i.keyCode && e.options.accessibility === !0 && e.changeSlide({ 440 data: { 441 message: e.options.rtl === !0 ? "previous" : "next" 442 } 443 })) 444 }, e.prototype.lazyLoad = function () { 445 function e(e) { 446 i("img[data-lazy]", e).each(function () { 447 var e = i(this), 448 t = i(this).attr("data-lazy"), 449 o = i(this).attr("data-srcset"), 450 s = i(this).attr("data-sizes") || r.$slider.attr("data-sizes"), 451 n = document.createElement("img"); 452 n.onload = function () { 453 e.animate({ 454 opacity: 0 455 }, 100, function () { 456 o && (e.attr("srcset", o), s && e.attr("sizes", s)), e.attr("src", t).animate({ 457 opacity: 1 458 }, 200, function () { 459 e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading") 460 }), r.$slider.trigger("lazyLoaded", [r, e, t]) 461 }) 462 }, n.onerror = function () { 463 e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), r.$slider.trigger("lazyLoadError", [r, e, t]) 464 }, n.src = t 465 }) 466 } 467 var t, o, s, n, r = this; 468 if (r.options.centerMode === !0 ? r.options.infinite === !0 ? (s = r.currentSlide + (r.options.slidesToShow / 2 + 1), n = s + r.options.slidesToShow + 2) : (s = Math.max(0, r.currentSlide - (r.options.slidesToShow / 2 + 1)), n = 2 + (r.options.slidesToShow / 2 + 1) + r.currentSlide) : (s = r.options.infinite ? r.options.slidesToShow + r.currentSlide : r.currentSlide, n = Math.ceil(s + r.options.slidesToShow), r.options.fade === !0 && (s > 0 && s--, n <= r.slideCount && n++)), t = r.$slider.find(".slick-slide").slice(s, n), "anticipated" === r.options.lazyLoad) 469 for (var l = s - 1, d = n, a = r.$slider.find(".slick-slide"), c = 0; c < r.options.slidesToScroll; c++) l < 0 && (l = r.slideCount - 1), t = t.add(a.eq(l)), t = t.add(a.eq(d)), l--, d++; 470 e(t), r.slideCount <= r.options.slidesToShow ? (o = r.$slider.find(".slick-slide"), e(o)) : r.currentSlide >= r.slideCount - r.options.slidesToShow ? (o = r.$slider.find(".slick-cloned").slice(0, r.options.slidesToShow), e(o)) : 0 === r.currentSlide && (o = r.$slider.find(".slick-cloned").slice(r.options.slidesToShow * -1), e(o)) 471 }, e.prototype.loadSlider = function () { 472 var i = this; 473 i.setPosition(), i.$slideTrack.css({ 474 opacity: 1 475 }), i.$slider.removeClass("slick-loading"), i.initUI(), "progressive" === i.options.lazyLoad && i.progressiveLazyLoad() 476 }, e.prototype.next = e.prototype.slickNext = function () { 477 var i = this; 478 i.changeSlide({ 479 data: { 480 message: "next" 481 } 482 }) 483 }, e.prototype.orientationChange = function () { 484 var i = this; 485 i.checkResponsive(), i.setPosition() 486 }, e.prototype.pause = e.prototype.slickPause = function () { 487 var i = this; 488 i.autoPlayClear(), i.paused = !0 489 }, e.prototype.play = e.prototype.slickPlay = function () { 490 var i = this; 491 i.autoPlay(), i.options.autoplay = !0, i.paused = !1, i.focussed = !1, i.interrupted = !1 492 }, e.prototype.postSlide = function (e) { 493 var t = this; 494 if (!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(), t.options.accessibility === !0 && (t.initADA(), t.options.focusOnChange))) { 495 var o = i(t.$slides.get(t.currentSlide)); 496 o.attr("tabindex", 0).focus() 497 } 498 }, e.prototype.prev = e.prototype.slickPrev = function () { 499 var i = this; 500 i.changeSlide({ 501 data: { 502 message: "previous" 503 } 504 }) 505 }, e.prototype.preventDefault = function (i) { 506 i.preventDefault() 507 }, e.prototype.progressiveLazyLoad = function (e) { 508 e = e || 1; 509 var t, o, s, n, r, l = this, 510 d = i("img[data-lazy]", l.$slider); 511 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"), r.onload = function () { 512 s && (t.attr("srcset", s), n && t.attr("sizes", n)), t.attr("src", o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"), l.options.adaptiveHeight === !0 && l.setPosition(), l.$slider.trigger("lazyLoaded", [l, t, o]), l.progressiveLazyLoad() 513 }, r.onerror = function () { 514 e < 3 ? setTimeout(function () { 515 l.progressiveLazyLoad(e + 1) 516 }, 500) : (t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"), l.$slider.trigger("lazyLoadError", [l, t, o]), l.progressiveLazyLoad()) 517 }, r.src = o) : l.$slider.trigger("allImagesLoaded", [l]) 518 }, e.prototype.refresh = function (e) { 519 var t, o, s = this; 520 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, { 521 currentSlide: t 522 }), s.init(), e || s.changeSlide({ 523 data: { 524 message: "index", 525 index: t 526 } 527 }, !1) 528 }, e.prototype.registerBreakpoints = function () { 529 var e, t, o, s = this, 530 n = s.options.responsive || null; 531 if ("array" === i.type(n) && n.length) { 532 s.respondTo = s.options.respondTo || "window"; 533 for (e in n) 534 if (o = s.breakpoints.length - 1, n.hasOwnProperty(e)) { 535 for (t = n[e].breakpoint; o >= 0;) s.breakpoints[o] && s.breakpoints[o] === t && s.breakpoints.splice(o, 1), o--; 536 s.breakpoints.push(t), s.breakpointSettings[t] = n[e].settings 537 } 538 s.breakpoints.sort(function (i, e) { 539 return s.options.mobileFirst ? i - e : e - i 540 }) 541 } 542 }, e.prototype.reinit = function () { 543 var e = this; 544 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), e.options.focusOnSelect === !0 && 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]) 545 }, e.prototype.resize = function () { 546 var e = this; 547 i(window).width() !== e.windowWidth && (clearTimeout(e.windowDelay), e.windowDelay = window.setTimeout(function () { 548 e.windowWidth = i(window).width(), e.checkResponsive(), e.unslicked || e.setPosition() 549 }, 50)) 550 }, e.prototype.removeSlide = e.prototype.slickRemove = function (i, e, t) { 551 var o = this; 552 return "boolean" == typeof i ? (e = i, i = e === !0 ? 0 : o.slideCount - 1) : i = e === !0 ? --i : i, !(o.slideCount < 1 || i < 0 || i > o.slideCount - 1) && (o.unload(), t === !0 ? 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, void o.reinit()) 553 }, e.prototype.setCSS = function (i) { 554 var e, t, o = this, 555 s = {}; 556 o.options.rtl === !0 && (i = -i), e = "left" == o.positionProp ? Math.ceil(i) + "px" : "0px", t = "top" == o.positionProp ? Math.ceil(i) + "px" : "0px", s[o.positionProp] = i, o.transformsEnabled === !1 ? o.$slideTrack.css(s) : (s = {}, o.cssTransitions === !1 ? (s[o.animType] = "translate(" + e + ", " + t + ")", o.$slideTrack.css(s)) : (s[o.animType] = "translate3d(" + e + ", " + t + ", 0px)", o.$slideTrack.css(s))) 557 }, e.prototype.setDimensions = function () { 558 var i = this; 559 i.options.vertical === !1 ? i.options.centerMode === !0 && i.$list.css({ 560 padding: "0px " + i.options.centerPadding 561 }) : (i.$list.height(i.$slides.first().outerHeight(!0) * i.options.slidesToShow), i.options.centerMode === !0 && i.$list.css({ 562 padding: i.options.centerPadding + " 0px" 563 })), i.listWidth = i.$list.width(), i.listHeight = i.$list.height(), i.options.vertical === !1 && i.options.variableWidth === !1 ? (i.slideWidth = Math.ceil(i.listWidth / i.options.slidesToShow), i.$slideTrack.width(Math.ceil(i.slideWidth * i.$slideTrack.children(".slick-slide").length))) : i.options.variableWidth === !0 ? 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))); 564 var e = i.$slides.first().outerWidth(!0) - i.$slides.first().width(); 565 i.options.variableWidth === !1 && i.$slideTrack.children(".slick-slide").width(i.slideWidth - e) 566 }, e.prototype.setFade = function () { 567 var e, t = this; 568 t.$slides.each(function (o, s) { 569 e = t.slideWidth * o * -1, t.options.rtl === !0 ? i(s).css({ 570 position: "relative", 571 right: e, 572 top: 0, 573 zIndex: t.options.zIndex - 2, 574 opacity: 0 575 }) : i(s).css({ 576 position: "relative", 577 left: e, 578 top: 0, 579 zIndex: t.options.zIndex - 2, 580 opacity: 0 581 }) 582 }), t.$slides.eq(t.currentSlide).css({ 583 zIndex: t.options.zIndex - 1, 584 opacity: 1 585 }) 586 }, e.prototype.setHeight = function () { 587 var i = this; 588 if (1 === i.options.slidesToShow && i.options.adaptiveHeight === !0 && i.options.vertical === !1) { 589 var e = i.$slides.eq(i.currentSlide).outerHeight(!0); 590 i.$list.css("height", e) 591 } 592 }, e.prototype.setOption = e.prototype.slickSetOption = function () { 593 var e, t, o, s, n, r = this, 594 l = !1; 595 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" : "undefined" != typeof arguments[1] && (n = "single")), "single" === n) r.options[o] = s; 596 else if ("multiple" === n) i.each(o, function (i, e) { 597 r.options[i] = e 598 }); 599 else if ("responsive" === n) 600 for (t in s) 601 if ("array" !== i.type(r.options.responsive)) r.options.responsive = [s[t]]; 602 else { 603 for (e = r.options.responsive.length - 1; e >= 0;) r.options.responsive[e].breakpoint === s[t].breakpoint && r.options.responsive.splice(e, 1), e--; 604 r.options.responsive.push(s[t]) 605 } 606 l && (r.unload(), r.reinit()) 607 }, e.prototype.setPosition = function () { 608 var i = this; 609 i.setDimensions(), i.setHeight(), i.options.fade === !1 ? i.setCSS(i.getLeft(i.currentSlide)) : i.setFade(), i.$slider.trigger("setPosition", [i]) 610 }, e.prototype.setProps = function () { 611 var i = this, 612 e = document.body.style; 613 i.positionProp = i.options.vertical === !0 ? "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 || i.options.useCSS === !0 && (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 && i.animType !== !1 && (i.animType = "transform", i.transformType = "transform", i.transitionType = "transition"), i.transformsEnabled = i.options.useTransform && null !== i.animType && i.animType !== !1 614 }, e.prototype.setSlideClasses = function (i) { 615 var e, t, o, s, n = this; 616 if (t = n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true"), n.$slides.eq(i).addClass("slick-current"), n.options.centerMode === !0) { 617 var r = n.options.slidesToShow % 2 === 0 ? 1 : 0; 618 e = Math.floor(n.options.slidesToShow / 2), n.options.infinite === !0 && (i >= e && i <= n.slideCount - 1 - e ? n.$slides.slice(i - e + r, i + e + 1).addClass("slick-active").attr("aria-hidden", "false") : (o = n.options.slidesToShow + i, t.slice(o - e + 1 + r, 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") 619 } else 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 = n.options.infinite === !0 ? 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")); 620 "ondemand" !== n.options.lazyLoad && "anticipated" !== n.options.lazyLoad || n.lazyLoad() 621 }, e.prototype.setupInfinite = function () { 622 var e, t, o, s = this; 623 if (s.options.fade === !0 && (s.options.centerMode = !1), s.options.infinite === !0 && s.options.fade === !1 && (t = null, s.slideCount > s.options.slidesToShow)) { 624 for (o = s.options.centerMode === !0 ? 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"); 625 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"); 626 s.$slideTrack.find(".slick-cloned").find("[id]").each(function () { 627 i(this).attr("id", "") 628 }) 629 } 630 }, e.prototype.interrupt = function (i) { 631 var e = this; 632 i || e.autoPlay(), e.interrupted = i 633 }, e.prototype.selectHandler = function (e) { 634 var t = this, 635 o = i(e.target).is(".slick-slide") ? i(e.target) : i(e.target).parents(".slick-slide"), 636 s = parseInt(o.attr("data-slick-index")); 637 return s || (s = 0), t.slideCount <= t.options.slidesToShow ? void t.slideHandler(s, !1, !0) : void t.slideHandler(s) 638 }, e.prototype.slideHandler = function (i, e, t) { 639 var o, s, n, r, l, d = null, 640 a = this; 641 if (e = e || !1, !(a.animating === !0 && a.options.waitForAnimate === !0 || a.options.fade === !0 && a.currentSlide === i)) return e === !1 && a.asNavFor(i), o = i, d = a.getLeft(o), r = a.getLeft(a.currentSlide), a.currentLeft = null === a.swipeLeft ? r : a.swipeLeft, a.options.infinite === !1 && a.options.centerMode === !1 && (i < 0 || i > a.getDotCount() * a.options.slidesToScroll) ? void(a.options.fade === !1 && (o = a.currentSlide, t !== !0 && a.slideCount > a.options.slidesToShow ? a.animateSlide(r, function () { 642 a.postSlide(o) 643 }) : a.postSlide(o))) : a.options.infinite === !1 && a.options.centerMode === !0 && (i < 0 || i > a.slideCount - a.options.slidesToScroll) ? void(a.options.fade === !1 && (o = a.currentSlide, t !== !0 && a.slideCount > a.options.slidesToShow ? a.animateSlide(r, function () { 644 a.postSlide(o) 645 }) : a.postSlide(o))) : (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 = a.getNavTarget(), l = l.slick("getSlick"), l.slideCount <= l.options.slidesToShow && l.setSlideClasses(a.currentSlide)), a.updateDots(), a.updateArrows(), a.options.fade === !0 ? (t !== !0 ? (a.fadeSlideOut(n), a.fadeSlide(s, function () { 646 a.postSlide(s) 647 })) : a.postSlide(s), void a.animateHeight()) : void(t !== !0 && a.slideCount > a.options.slidesToShow ? a.animateSlide(d, function () { 648 a.postSlide(s) 649 }) : a.postSlide(s))) 650 }, e.prototype.startLoad = function () { 651 var i = this; 652 i.options.arrows === !0 && i.slideCount > i.options.slidesToShow && (i.$prevArrow.hide(), i.$nextArrow.hide()), i.options.dots === !0 && i.slideCount > i.options.slidesToShow && i.$dots.hide(), i.$slider.addClass("slick-loading") 653 }, e.prototype.swipeDirection = function () { 654 var i, e, t, o, s = this; 655 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), o < 0 && (o = 360 - Math.abs(o)), o <= 45 && o >= 0 ? s.options.rtl === !1 ? "left" : "right" : o <= 360 && o >= 315 ? s.options.rtl === !1 ? "left" : "right" : o >= 135 && o <= 225 ? s.options.rtl === !1 ? "right" : "left" : s.options.verticalSwiping === !0 ? o >= 35 && o <= 135 ? "down" : "up" : "vertical" 656 }, e.prototype.swipeEnd = function (i) { 657 var e, t, o = this; 658 if (o.dragging = !1, o.swiping = !1, o.scrolling) return o.scrolling = !1, !1; 659 if (o.interrupted = !1, o.shouldClick = !(o.touchObject.swipeLength > 10), void 0 === o.touchObject.curX) return !1; 660 if (o.touchObject.edgeHit === !0 && o.$slider.trigger("edge", [o, o.swipeDirection()]), o.touchObject.swipeLength >= o.touchObject.minSwipe) { 661 switch (t = o.swipeDirection()) { 662 case "left": 663 case "down": 664 e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide + o.getSlideCount()) : o.currentSlide + o.getSlideCount(), o.currentDirection = 0; 665 break; 666 case "right": 667 case "up": 668 e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide - o.getSlideCount()) : o.currentSlide - o.getSlideCount(), o.currentDirection = 1 669 } 670 "vertical" != t && (o.slideHandler(e), o.touchObject = {}, o.$slider.trigger("swipe", [o, t])) 671 } else o.touchObject.startX !== o.touchObject.curX && (o.slideHandler(o.currentSlide), o.touchObject = {}) 672 }, e.prototype.swipeHandler = function (i) { 673 var e = this; 674 if (!(e.options.swipe === !1 || "ontouchend" in document && e.options.swipe === !1 || e.options.draggable === !1 && i.type.indexOf("mouse") !== -1)) switch (e.touchObject.fingerCount = i.originalEvent && void 0 !== i.originalEvent.touches ? i.originalEvent.touches.length : 1, e.touchObject.minSwipe = e.listWidth / e.options.touchThreshold, e.options.verticalSwiping === !0 && (e.touchObject.minSwipe = e.listHeight / e.options.touchThreshold), i.data.action) { 675 case "start": 676 e.swipeStart(i); 677 break; 678 case "move": 679 e.swipeMove(i); 680 break; 681 case "end": 682 e.swipeEnd(i) 683 } 684 }, e.prototype.swipeMove = function (i) { 685 var e, t, o, s, n, r, l = this; 686 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) : (l.options.verticalSwiping === !0 && (l.touchObject.swipeLength = r), t = l.swipeDirection(), void 0 !== i.originalEvent && l.touchObject.swipeLength > 4 && (l.swiping = !0, i.preventDefault()), s = (l.options.rtl === !1 ? 1 : -1) * (l.touchObject.curX > l.touchObject.startX ? 1 : -1), l.options.verticalSwiping === !0 && (s = l.touchObject.curY > l.touchObject.startY ? 1 : -1), o = l.touchObject.swipeLength, l.touchObject.edgeHit = !1, l.options.infinite === !1 && (0 === l.currentSlide && "right" === t || l.currentSlide >= l.getDotCount() && "left" === t) && (o = l.touchObject.swipeLength * l.options.edgeFriction, l.touchObject.edgeHit = !0), l.options.vertical === !1 ? l.swipeLeft = e + o * s : l.swipeLeft = e + o * (l.$list.height() / l.listWidth) * s, l.options.verticalSwiping === !0 && (l.swipeLeft = e + o * s), l.options.fade !== !0 && l.options.touchMove !== !1 && (l.animating === !0 ? (l.swipeLeft = null, !1) : void l.setCSS(l.swipeLeft)))) 687 }, e.prototype.swipeStart = function (i) { 688 var e, t = this; 689 return t.interrupted = !0, 1 !== t.touchObject.fingerCount || t.slideCount <= t.options.slidesToShow ? (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, void(t.dragging = !0)) 690 }, e.prototype.unfilterSlides = e.prototype.slickUnfilter = function () { 691 var i = this; 692 null !== i.$slidesCache && (i.unload(), i.$slideTrack.children(this.options.slide).detach(), i.$slidesCache.appendTo(i.$slideTrack), i.reinit()) 693 }, e.prototype.unload = function () { 694 var e = this; 695 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", "") 696 }, e.prototype.unslick = function (i) { 697 var e = this; 698 e.$slider.trigger("unslick", [e, i]), e.destroy() 699 }, e.prototype.updateArrows = function () { 700 var i, e = this; 701 i = Math.floor(e.options.slidesToShow / 2), e.options.arrows === !0 && e.slideCount > e.options.slidesToShow && !e.options.infinite && (e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 0 === e.currentSlide ? (e.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : e.currentSlide >= e.slideCount - e.options.slidesToShow && e.options.centerMode === !1 ? (e.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : e.currentSlide >= e.slideCount - 1 && e.options.centerMode === !0 && (e.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))) 702 }, e.prototype.updateDots = function () { 703 var i = this; 704 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")) 705 }, e.prototype.visibility = function () { 706 var i = this; 707 i.options.autoplay && (document[i.hidden] ? i.interrupted = !0 : i.interrupted = !1) 708 }, i.fn.slick = function () { 709 var i, t, o = this, 710 s = arguments[0], 711 n = Array.prototype.slice.call(arguments, 1), 712 r = o.length; 713 for (i = 0; i < r; i++) 714 if ("object" == typeof s || "undefined" == typeof s ? o[i].slick = new e(o[i], s) : t = o[i].slick[s].apply(o[i].slick, n), "undefined" != typeof t) return t; 715 return o 716 } 717});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.