vendor: 50,162 bytes, lines 1-546
1/* 2 * Version: 1.5.9 3 * Author: Ken Wheeler 4 * Website: http://kenwheeler.github.io 5 * Docs: http://kenwheeler.github.io/slick 6 * Repo: http://github.com/kenwheeler/slick 7 * Issues: http://github.com/kenwheeler/slick/issues 8 * Licensed under the MIT license 9*/ 10!function (a) { 11 "use strict"; 12 "function" == typeof define && define.amd ? define(["jquery"], a) : "undefined" != typeof exports ? module.exports = a(require("jquery")) : a(jQuery) 13}(function (a) { 14 "use strict"; 15 var b = window.Slick || {}; 16 b = function () { 17 function c(c, d) { 18 var f, e = this; 19 e.defaults = { 20 accessibility: !0, 21 adaptiveHeight: !1, 22 appendArrows: a(c), 23 appendDots: a(c), 24 arrows: !0, 25 asNavFor: null, 26 prevArrow: '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>', 27 nextArrow: '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>', 28 autoplay: !1, 29 autoplaySpeed: 3e3, 30 centerMode: !1, 31 centerPadding: "50px", 32 cssEase: "ease", 33 customPaging: function (a, b) { 34 return '<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">' + (b + 1) + "</button>" 35 }, 36 dots: !1, 37 dotsClass: "slick-dots", 38 draggable: !0, 39 easing: "linear", 40 edgeFriction: .35, 41 fade: !1, 42 focusOnSelect: !1, 43 infinite: !0, 44 initialSlide: 0, 45 lazyLoad: "ondemand", 46 mobileFirst: !1, 47 pauseOnHover: !0, 48 pauseOnDotsHover: !1, 49 respondTo: "window", 50 responsive: null, 51 rows: 1, 52 rtl: !1, 53 slide: "", 54 slidesPerRow: 1, 55 slidesToShow: 1, 56 slidesToScroll: 1, 57 speed: 500, 58 swipe: !0, 59 swipeToSlide: !1, 60 touchMove: !0, 61 touchThreshold: 5, 62 useCSS: !0, 63 useTransform: !1, 64 variableWidth: !1, 65 vertical: !1, 66 verticalSwiping: !1, 67 waitForAnimate: !0, 68 zIndex: 1e3 69 }, e.initials = { 70 animating: !1, 71 dragging: !1, 72 autoPlayTimer: null, 73 currentDirection: 0, 74 currentLeft: null, 75 currentSlide: 0, 76 direction: 1, 77 $dots: null, 78 listWidth: null, 79 listHeight: null, 80 loadIndex: 0, 81 $nextArrow: null, 82 $prevArrow: null, 83 slideCount: null, 84 slideWidth: null, 85 $slideTrack: null, 86 $slides: null, 87 sliding: !1, 88 slideOffset: 0, 89 swipeLeft: null, 90 $list: null, 91 touchObject: {}, 92 transformsEnabled: !1, 93 unslicked: !1 94 }, a.extend(e, e.initials), e.activeBreakpoint = null, e.animType = null, e.animProp = null, e.breakpoints = [], e.breakpointSettings = [], e.cssTransitions = !1, e.hidden = "hidden", e.paused = !1, e.positionProp = null, e.respondTo = null, e.rowCount = 1, e.shouldClick = !0, e.$slider = a(c), e.$slidesCache = null, e.transformType = null, e.transitionType = null, e.visibilityChange = "visibilitychange", e.windowWidth = 0, e.windowTimer = null, f = a(c).data("slick") || {}, e.options = a.extend({}, e.defaults, f, d), e.currentSlide = e.options.initialSlide, e.originalSettings = e.options, "undefined" != typeof document.mozHidden ? (e.hidden = "mozHidden", e.visibilityChange = "mozvisibilitychange") : "undefined" != typeof document.webkitHidden && (e.hidden = "webkitHidden", e.visibilityChange = "webkitvisibilitychange"), e.autoPlay = a.proxy(e.autoPlay, e), e.autoPlayClear = a.proxy(e.autoPlayClear, e), e.changeSlide = a.proxy(e.changeSlide, e), e.clickHandler = a.proxy(e.clickHandler, e), e.selectHandler = a.proxy(e.selectHandler, e), e.setPosition = a.proxy(e.setPosition, e), e.swipeHandler = a.proxy(e.swipeHandler, e), e.dragHandler = a.proxy(e.dragHandler, e), e.keyHandler = a.proxy(e.keyHandler, e), e.autoPlayIterator = a.proxy(e.autoPlayIterator, e), e.instanceUid = b++, e.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/, e.registerBreakpoints(), e.init(!0), e.checkResponsive(!0) 95 } 96 97 var b = 0; 98 return c 99 }(), b.prototype.addSlide = b.prototype.slickAdd = function (b, c, d) { 100 var e = this; 101 if ("boolean" == typeof c) d = c, c = null; else if (0 > c || c >= e.slideCount)return !1; 102 e.unload(), "number" == typeof c ? 0 === c && 0 === e.$slides.length ? a(b).appendTo(e.$slideTrack) : d ? a(b).insertBefore(e.$slides.eq(c)) : a(b).insertAfter(e.$slides.eq(c)) : d === !0 ? a(b).prependTo(e.$slideTrack) : a(b).appendTo(e.$slideTrack), e.$slides = e.$slideTrack.children(this.options.slide), e.$slideTrack.children(this.options.slide).detach(), e.$slideTrack.append(e.$slides), e.$slides.each(function (b, c) { 103 a(c).attr("data-slick-index", b) 104 }), e.$slidesCache = e.$slides, e.reinit() 105 }, b.prototype.animateHeight = function () { 106 var a = this; 107 if (1 === a.options.slidesToShow && a.options.adaptiveHeight === !0 && a.options.vertical === !1) { 108 var b = a.$slides.eq(a.currentSlide).outerHeight(!0); 109 a.$list.animate({height: b}, a.options.speed) 110 } 111 }, b.prototype.animateSlide = function (b, c) { 112 var d = {}, e = this; 113 e.animateHeight(), e.options.rtl === !0 && e.options.vertical === !1 && (b = -b), e.transformsEnabled === !1 ? e.options.vertical === !1 ? e.$slideTrack.animate({left: b}, e.options.speed, e.options.easing, c) : e.$slideTrack.animate({top: b}, e.options.speed, e.options.easing, c) : e.cssTransitions === !1 ? (e.options.rtl === !0 && (e.currentLeft = -e.currentLeft), a({animStart: e.currentLeft}).animate({animStart: b}, { 114 duration: e.options.speed, 115 easing: e.options.easing, 116 step: function (a) { 117 a = Math.ceil(a), e.options.vertical === !1 ? (d[e.animType] = "translate(" + a + "px, 0px)", e.$slideTrack.css(d)) : (d[e.animType] = "translate(0px," + a + "px)", e.$slideTrack.css(d)) 118 }, 119 complete: function () { 120 c && c.call() 121 } 122 })) : (e.applyTransition(), b = Math.ceil(b), e.options.vertical === !1 ? d[e.animType] = "translate3d(" + b + "px, 0px, 0px)" : d[e.animType] = "translate3d(0px," + b + "px, 0px)", e.$slideTrack.css(d), c && setTimeout(function () { 123 e.disableTransition(), c.call() 124 }, e.options.speed)) 125 }, b.prototype.asNavFor = function (b) { 126 var c = this, d = c.options.asNavFor; 127 d && null !== d && (d = a(d).not(c.$slider)), null !== d && "object" == typeof d && d.each(function () { 128 var c = a(this).slick("getSlick"); 129 c.unslicked || c.slideHandler(b, !0) 130 }) 131 }, b.prototype.applyTransition = function (a) { 132 var b = this, c = {}; 133 b.options.fade === !1 ? c[b.transitionType] = b.transformType + " " + b.options.speed + "ms " + b.options.cssEase : c[b.transitionType] = "opacity " + b.options.speed + "ms " + b.options.cssEase, b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c) 134 }, b.prototype.autoPlay = function () { 135 var a = this; 136 a.autoPlayTimer && clearInterval(a.autoPlayTimer), a.slideCount > a.options.slidesToShow && a.paused !== !0 && (a.autoPlayTimer = setInterval(a.autoPlayIterator, a.options.autoplaySpeed)) 137 }, b.prototype.autoPlayClear = function () { 138 var a = this; 139 a.autoPlayTimer && clearInterval(a.autoPlayTimer) 140 }, b.prototype.autoPlayIterator = function () { 141 var a = this; 142 a.options.infinite === !1 ? 1 === a.direction ? (a.currentSlide + 1 === a.slideCount - 1 && (a.direction = 0), a.slideHandler(a.currentSlide + a.options.slidesToScroll)) : (a.currentSlide - 1 === 0 && (a.direction = 1), a.slideHandler(a.currentSlide - a.options.slidesToScroll)) : a.slideHandler(a.currentSlide + a.options.slidesToScroll) 143 }, b.prototype.buildArrows = function () { 144 var b = this; 145 b.options.arrows === !0 && (b.$prevArrow = a(b.options.prevArrow).addClass("slick-arrow"), b.$nextArrow = a(b.options.nextArrow).addClass("slick-arrow"), b.slideCount > b.options.slidesToShow ? (b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"), b.htmlExpr.test(b.options.prevArrow) && b.$prevArrow.prependTo(b.options.appendArrows), b.htmlExpr.test(b.options.nextArrow) && b.$nextArrow.appendTo(b.options.appendArrows), b.options.infinite !== !0 && b.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true")) : b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({ 146 "aria-disabled": "true", 147 tabindex: "-1" 148 })) 149 }, b.prototype.buildDots = function () { 150 var c, d, b = this; 151 if (b.options.dots === !0 && b.slideCount > b.options.slidesToShow) { 152 for (d = '<ul class="' + b.options.dotsClass + '">', c = 0; c <= b.getDotCount(); c += 1)d += "<li>" + b.options.customPaging.call(this, b, c) + "</li>"; 153 d += "</ul>", b.$dots = a(d).appendTo(b.options.appendDots), b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden", "false") 154 } 155 }, b.prototype.buildOut = function () { 156 var b = this; 157 b.$slides = b.$slider.children(b.options.slide + ":not(.slick-cloned)").addClass("slick-slide"), b.slideCount = b.$slides.length, b.$slides.each(function (b, c) { 158 a(c).attr("data-slick-index", b).data("originalStyling", a(c).attr("style") || "") 159 }), b.$slider.addClass("slick-slider"), b.$slideTrack = 0 === b.slideCount ? a('<div class="slick-track"/>').appendTo(b.$slider) : b.$slides.wrapAll('<div class="slick-track"/>').parent(), b.$list = b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(), b.$slideTrack.css("opacity", 0), (b.options.centerMode === !0 || b.options.swipeToSlide === !0) && (b.options.slidesToScroll = 1), a("img[data-lazy]", b.$slider).not("[src]").addClass("slick-loading"), b.setupInfinite(), b.buildArrows(), b.buildDots(), b.updateDots(), b.setSlideClasses("number" == typeof b.currentSlide ? b.currentSlide : 0), b.options.draggable === !0 && b.$list.addClass("draggable") 160 }, b.prototype.buildRows = function () { 161 var b, c, d, e, f, g, h, a = this; 162 if (e = document.createDocumentFragment(), g = a.$slider.children(), a.options.rows > 1) { 163 for (h = a.options.slidesPerRow * a.options.rows, f = Math.ceil(g.length / h), b = 0; f > b; b++) { 164 var i = document.createElement("div"); 165 for (c = 0; c < a.options.rows; c++) { 166 var j = document.createElement("div"); 167 for (d = 0; d < a.options.slidesPerRow; d++) { 168 var k = b * h + (c * a.options.slidesPerRow + d); 169 g.get(k) && j.appendChild(g.get(k)) 170 } 171 i.appendChild(j) 172 } 173 e.appendChild(i) 174 } 175 a.$slider.html(e), a.$slider.children().children().children().css({ 176 width: 100 / a.options.slidesPerRow + "%", 177 display: "inline-block" 178 }) 179 } 180 }, b.prototype.checkResponsive = function (b, c) { 181 var e, f, g, d = this, h = !1, i = d.$slider.width(), j = window.innerWidth || a(window).width(); 182 if ("window" === d.respondTo ? g = j : "slider" === d.respondTo ? g = i : "min" === d.respondTo && (g = Math.min(j, i)), d.options.responsive && d.options.responsive.length && null !== d.options.responsive) { 183 f = null; 184 for (e in d.breakpoints)d.breakpoints.hasOwnProperty(e) && (d.originalSettings.mobileFirst === !1 ? g < d.breakpoints[e] && (f = d.breakpoints[e]) : g > d.breakpoints[e] && (f = d.breakpoints[e])); 185 null !== f ? null !== d.activeBreakpoint ? (f !== d.activeBreakpoint || c) && (d.activeBreakpoint = f, "unslick" === d.breakpointSettings[f] ? d.unslick(f) : (d.options = a.extend({}, d.originalSettings, d.breakpointSettings[f]), b === !0 && (d.currentSlide = d.options.initialSlide), d.refresh(b)), h = f) : (d.activeBreakpoint = f, "unslick" === d.breakpointSettings[f] ? d.unslick(f) : (d.options = a.extend({}, d.originalSettings, d.breakpointSettings[f]), b === !0 && (d.currentSlide = d.options.initialSlide), d.refresh(b)), h = f) : null !== d.activeBreakpoint && (d.activeBreakpoint = null, d.options = d.originalSettings, b === !0 && (d.currentSlide = d.options.initialSlide), d.refresh(b), h = f), b || h === !1 || d.$slider.trigger("breakpoint", [d, h]) 186 } 187 }, b.prototype.changeSlide = function (b, c) { 188 var f, g, h, d = this, e = a(b.target); 189 switch (e.is("a") && b.preventDefault(), e.is("li") || (e = e.closest("li")), h = d.slideCount % d.options.slidesToScroll !== 0, f = h ? 0 : (d.slideCount - d.currentSlide) % d.options.slidesToScroll, b.data.message) { 190 case"previous": 191 g = 0 === f ? d.options.slidesToScroll : d.options.slidesToShow - f, d.slideCount > d.options.slidesToShow && d.slideHandler(d.currentSlide - g, !1, c); 192 break; 193 case"next": 194 g = 0 === f ? d.options.slidesToScroll : f, d.slideCount > d.options.slidesToShow && d.slideHandler(d.currentSlide + g, !1, c); 195 break; 196 case"index": 197 var i = 0 === b.data.index ? 0 : b.data.index || e.index() * d.options.slidesToScroll; 198 d.slideHandler(d.checkNavigable(i), !1, c), e.children().trigger("focus"); 199 break; 200 default: 201 return 202 } 203 if(lozadJsFlag){ 204 lozad('.lozad', { 205 load: function(el) { 206 if (!el.classList.contains('lazy-loaded')) { 207 el.src = el.dataset.originalImg; 208 if(el.src !== undefined){ 209 el.onload = function() { 210 el.classList.add('fade'); 211 } 212 } 213 } 214 } 215 }).observe(); 216 } 217 }, b.prototype.checkNavigable = function (a) { 218 var c, d, b = this; 219 if (c = b.getNavigableIndexes(), d = 0, a > c[c.length - 1]) a = c[c.length - 1]; else for (var e in c) { 220 if (a < c[e]) { 221 a = d; 222 break 223 } 224 d = c[e] 225 } 226 return a 227 }, b.prototype.cleanUpEvents = function () { 228 var b = this; 229 b.options.dots && null !== b.$dots && (a("li", b.$dots).off("click.slick", b.changeSlide), b.options.pauseOnDotsHover === !0 && b.options.autoplay === !0 && a("li", b.$dots).off("mouseenter.slick", a.proxy(b.setPaused, b, !0)).off("mouseleave.slick", a.proxy(b.setPaused, b, !1))), b.options.arrows === !0 && b.slideCount > b.options.slidesToShow && (b.$prevArrow && b.$prevArrow.off("click.slick", b.changeSlide), b.$nextArrow && b.$nextArrow.off("click.slick", b.changeSlide)), b.$list.off("touchstart.slick mousedown.slick", b.swipeHandler), b.$list.off("touchmove.slick mousemove.slick", b.swipeHandler), b.$list.off("touchend.slick mouseup.slick", b.swipeHandler), b.$list.off("touchcancel.slick mouseleave.slick", b.swipeHandler), b.$list.off("click.slick", b.clickHandler), a(document).off(b.visibilityChange, b.visibility), b.$list.off("mouseenter.slick", a.proxy(b.setPaused, b, !0)), b.$list.off("mouseleave.slick", a.proxy(b.setPaused, b, !1)), b.options.accessibility === !0 && b.$list.off("keydown.slick", b.keyHandler), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().off("click.slick", b.selectHandler), a(window).off("orientationchange.slick.slick-" + b.instanceUid, b.orientationChange), a(window).off("resize.slick.slick-" + b.instanceUid, b.resize), a("[draggable!=true]", b.$slideTrack).off("dragstart", b.preventDefault), a(window).off("load.slick.slick-" + b.instanceUid, b.setPosition), a(document).off("ready.slick.slick-" + b.instanceUid, b.setPosition) 230 }, b.prototype.cleanUpRows = function () { 231 var b, a = this; 232 a.options.rows > 1 && (b = a.$slides.children().children(), b.removeAttr("style"), a.$slider.html(b)) 233 }, b.prototype.clickHandler = function (a) { 234 var b = this; 235 b.shouldClick === !1 && (a.stopImmediatePropagation(), a.stopPropagation(), a.preventDefault()) 236 }, b.prototype.destroy = function (b) { 237 var c = this; 238 c.autoPlayClear(), c.touchObject = {}, c.cleanUpEvents(), a(".slick-cloned", c.$slider).detach(), c.$dots && c.$dots.remove(), c.$prevArrow && c.$prevArrow.length && (c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), c.htmlExpr.test(c.options.prevArrow) && c.$prevArrow.remove()), c.$nextArrow && c.$nextArrow.length && (c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display", ""), c.htmlExpr.test(c.options.nextArrow) && c.$nextArrow.remove()), c.$slides && (c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function () { 239 a(this).attr("style", a(this).data("originalStyling")) 240 }), c.$slideTrack.children(this.options.slide).detach(), c.$slideTrack.detach(), c.$list.detach(), c.$slider.append(c.$slides)), c.cleanUpRows(), c.$slider.removeClass("slick-slider"), c.$slider.removeClass("slick-initialized"), c.unslicked = !0, b || c.$slider.trigger("destroy", [c]) 241 }, b.prototype.disableTransition = function (a) { 242 var b = this, c = {}; 243 c[b.transitionType] = "", b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c) 244 }, b.prototype.fadeSlide = function (a, b) { 245 var c = this; 246 c.cssTransitions === !1 ? (c.$slides.eq(a).css({zIndex: c.options.zIndex}), c.$slides.eq(a).animate({opacity: 1}, c.options.speed, c.options.easing, b)) : (c.applyTransition(a), c.$slides.eq(a).css({ 247 opacity: 1, 248 zIndex: c.options.zIndex 249 }), b && setTimeout(function () { 250 c.disableTransition(a), b.call() 251 }, c.options.speed)) 252 }, b.prototype.fadeSlideOut = function (a) { 253 var b = this; 254 b.cssTransitions === !1 ? b.$slides.eq(a).animate({ 255 opacity: 0, 256 zIndex: b.options.zIndex - 2 257 }, b.options.speed, b.options.easing) : (b.applyTransition(a), b.$slides.eq(a).css({ 258 opacity: 0, 259 zIndex: b.options.zIndex - 2 260 })) 261 }, b.prototype.filterSlides = b.prototype.slickFilter = function (a) { 262 var b = this; 263 null !== a && (b.$slidesCache = b.$slides, b.unload(), b.$slideTrack.children(this.options.slide).detach(), b.$slidesCache.filter(a).appendTo(b.$slideTrack), b.reinit()) 264 }, b.prototype.getCurrent = b.prototype.slickCurrentSlide = function () { 265 var a = this; 266 return a.currentSlide 267 }, b.prototype.getDotCount = function () { 268 var a = this, b = 0, c = 0, d = 0; 269 if (a.options.infinite === !0)for (; b < a.slideCount;)++d, b = c + a.options.slidesToScroll, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow; else if (a.options.centerMode === !0) d = a.slideCount; else for (; b < a.slideCount;)++d, b = c + a.options.slidesToScroll, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow; 270 return d - 1 271 }, b.prototype.getLeft = function (a) { 272 var c, d, f, b = this, e = 0; 273 return b.slideOffset = 0, d = b.$slides.first().outerHeight(!0), b.options.infinite === !0 ? (b.slideCount > b.options.slidesToShow && (b.slideOffset = b.slideWidth * b.options.slidesToShow * -1, e = d * b.options.slidesToShow * -1), b.slideCount % b.options.slidesToScroll !== 0 && a + b.options.slidesToScroll > b.slideCount && b.slideCount > b.options.slidesToShow && (a > b.slideCount ? (b.slideOffset = (b.options.slidesToShow - (a - b.slideCount)) * b.slideWidth * -1, e = (b.options.slidesToShow - (a - b.slideCount)) * d * -1) : (b.slideOffset = b.slideCount % b.options.slidesToScroll * b.slideWidth * -1, e = b.slideCount % b.options.slidesToScroll * d * -1))) : a + b.options.slidesToShow > b.slideCount && (b.slideOffset = (a + b.options.slidesToShow - b.slideCount) * b.slideWidth, e = (a + b.options.slidesToShow - b.slideCount) * d), b.slideCount <= b.options.slidesToShow && (b.slideOffset = 0, e = 0), b.options.centerMode === !0 && b.options.infinite === !0 ? b.slideOffset += b.slideWidth * Math.floor(b.options.slidesToShow / 2) - b.slideWidth : b.options.centerMode === !0 && (b.slideOffset = 0, b.slideOffset += b.slideWidth * Math.floor(b.options.slidesToShow / 2)), c = b.options.vertical === !1 ? a * b.slideWidth * -1 + b.slideOffset : a * d * -1 + e, b.options.variableWidth === !0 && (f = b.slideCount <= b.options.slidesToShow || b.options.infinite === !1 ? b.$slideTrack.children(".slick-slide").eq(a) : b.$slideTrack.children(".slick-slide").eq(a + b.options.slidesToShow), c = b.options.rtl === !0 ? f[0] ? -1 * (b.$slideTrack.width() - f[0].offsetLeft - f.width()) : 0 : f[0] ? -1 * f[0].offsetLeft : 0, b.options.centerMode === !0 && (f = b.slideCount <= b.options.slidesToShow || b.options.infinite === !1 ? b.$slideTrack.children(".slick-slide").eq(a) : b.$slideTrack.children(".slick-slide").eq(a + b.options.slidesToShow + 1), c = b.options.rtl === !0 ? f[0] ? -1 * (b.$slideTrack.width() - f[0].offsetLeft - f.width()) : 0 : f[0] ? -1 * f[0].offsetLeft : 0, c += (b.$list.width() - f.outerWidth()) / 2)), c 274 }, b.prototype.getOption = b.prototype.slickGetOption = function (a) { 275 var b = this; 276 return b.options[a] 277 }, b.prototype.getNavigableIndexes = function () { 278 var e, a = this, b = 0, c = 0, d = []; 279 for (a.options.infinite === !1 ? e = a.slideCount : (b = -1 * a.options.slidesToScroll, c = -1 * a.options.slidesToScroll, e = 2 * a.slideCount); e > b;)d.push(b), b = c + a.options.slidesToScroll, c += a.options.slidesToScroll <= a.options.slidesToShow ? a.options.slidesToScroll : a.options.slidesToShow; 280 return d 281 }, b.prototype.getSlick = function () { 282 return this 283 }, b.prototype.getSlideCount = function () { 284 var c, d, e, b = this; 285 return e = b.options.centerMode === !0 ? b.slideWidth * Math.floor(b.options.slidesToShow / 2) : 0, b.options.swipeToSlide === !0 ? (b.$slideTrack.find(".slick-slide").each(function (c, f) { 286 return f.offsetLeft - e + a(f).outerWidth() / 2 > -1 * b.swipeLeft ? (d = f, !1) : void 0 287 }), c = Math.abs(a(d).attr("data-slick-index") - b.currentSlide) || 1) : b.options.slidesToScroll 288 }, b.prototype.goTo = b.prototype.slickGoTo = function (a, b) { 289 var c = this; 290 c.changeSlide({data: {message: "index", index: parseInt(a)}}, b) 291 }, b.prototype.init = function (b) { 292 var c = this; 293 a(c.$slider).hasClass("slick-initialized") || (a(c.$slider).addClass("slick-initialized"), c.buildRows(), c.buildOut(), c.setProps(), c.startLoad(), c.loadSlider(), c.initializeEvents(), c.updateArrows(), c.updateDots()), b && c.$slider.trigger("init", [c]), c.options.accessibility === !0 && c.initADA() 294 }, b.prototype.initArrowEvents = function () { 295 var a = this; 296 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.on("click.slick", {message: "previous"}, a.changeSlide), a.$nextArrow.on("click.slick", {message: "next"}, a.changeSlide)) 297 }, b.prototype.initDotEvents = function () { 298 var b = this; 299 b.options.dots === !0 && b.slideCount > b.options.slidesToShow && a("li", b.$dots).on("click.slick", {message: "index"}, b.changeSlide), b.options.dots === !0 && b.options.pauseOnDotsHover === !0 && b.options.autoplay === !0 && a("li", b.$dots).on("mouseenter.slick", a.proxy(b.setPaused, b, !0)).on("mouseleave.slick", a.proxy(b.setPaused, b, !1)) 300 }, b.prototype.initializeEvents = function () { 301 var b = this; 302 b.initArrowEvents(), b.initDotEvents(), b.$list.on("touchstart.slick mousedown.slick", {action: "start"}, b.swipeHandler), b.$list.on("touchmove.slick mousemove.slick", {action: "move"}, b.swipeHandler), b.$list.on("touchend.slick mouseup.slick", {action: "end"}, b.swipeHandler), b.$list.on("touchcancel.slick mouseleave.slick", {action: "end"}, b.swipeHandler), b.$list.on("click.slick", b.clickHandler), a(document).on(b.visibilityChange, a.proxy(b.visibility, b)), b.$list.on("mouseenter.slick", a.proxy(b.setPaused, b, !0)), b.$list.on("mouseleave.slick", a.proxy(b.setPaused, b, !1)), b.options.accessibility === !0 && b.$list.on("keydown.slick", b.keyHandler), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().on("click.slick", b.selectHandler), a(window).on("orientationchange.slick.slick-" + b.instanceUid, a.proxy(b.orientationChange, b)), a(window).on("resize.slick.slick-" + b.instanceUid, a.proxy(b.resize, b)), a("[draggable!=true]", b.$slideTrack).on("dragstart", b.preventDefault), a(window).on("load.slick.slick-" + b.instanceUid, b.setPosition), a(document).on("ready.slick.slick-" + b.instanceUid, b.setPosition) 303 }, b.prototype.initUI = function () { 304 var a = this; 305 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.show(), a.$nextArrow.show()), a.options.dots === !0 && a.slideCount > a.options.slidesToShow && a.$dots.show(), a.options.autoplay === !0 && a.autoPlay() 306 }, b.prototype.keyHandler = function (a) { 307 var b = this; 308 a.target.tagName.match("TEXTAREA|INPUT|SELECT") || (37 === a.keyCode && b.options.accessibility === !0 ? b.changeSlide({data: {message: "previous"}}) : 39 === a.keyCode && b.options.accessibility === !0 && b.changeSlide({data: {message: "next"}})) 309 }, b.prototype.lazyLoad = function () { 310 if(lozadJsFlag){ 311 lozad('.lozad', { 312 load: function(el) { 313 if (!el.classList.contains('lazy-loaded')) { 314 el.src = el.dataset.originalImg; 315 if(el.src !== undefined){ 316 el.onload = function() { 317 el.classList.add('fade'); 318 } 319 } 320 } 321 } 322 }).observe(); 323 } 324 }, b.prototype.loadSlider = function () { 325 var a = this; 326 a.setPosition(), a.$slideTrack.css({opacity: 1}), a.$slider.removeClass("slick-loading"), a.initUI(), "progressive" === a.options.lazyLoad && a.progressiveLazyLoad() 327 }, b.prototype.next = b.prototype.slickNext = function () { 328 var a = this; 329 a.changeSlide({data: {message: "next"}}) 330 }, b.prototype.orientationChange = function () { 331 var a = this; 332 a.checkResponsive(), a.setPosition() 333 }, b.prototype.pause = b.prototype.slickPause = function () { 334 var a = this; 335 a.autoPlayClear(), a.paused = !0 336 }, b.prototype.play = b.prototype.slickPlay = function () { 337 var a = this; 338 a.paused = !1, a.autoPlay() 339 }, b.prototype.postSlide = function (a) { 340 var b = this; 341 b.$slider.trigger("afterChange", [b, a]), b.animating = !1, b.setPosition(), b.swipeLeft = null, b.options.autoplay === !0 && b.paused === !1 && b.autoPlay(), b.options.accessibility === !0 && b.initADA() 342 }, b.prototype.prev = b.prototype.slickPrev = function () { 343 var a = this; 344 a.changeSlide({data: {message: "previous"}}) 345 }, b.prototype.preventDefault = function (a) { 346 a.preventDefault() 347 }, b.prototype.progressiveLazyLoad = function () { 348 if(lozadJsFlag){ 349 lozad('.lozad', { 350 load: function(el) { 351 if (!el.classList.contains('lazy-loaded')) { 352 el.src = el.dataset.originalImg; 353 if(el.src !== undefined){ 354 el.onload = function() { 355 el.classList.add('fade'); 356 } 357 } 358 } 359 } 360 }).observe(); 361 } 362 }, b.prototype.refresh = function (b) { 363 var d, e, c = this; 364 e = c.slideCount - c.options.slidesToShow, c.options.infinite || (c.slideCount <= c.options.slidesToShow ? c.currentSlide = 0 : c.currentSlide > e && (c.currentSlide = e)), d = c.currentSlide, c.destroy(!0), a.extend(c, c.initials, {currentSlide: d}), c.init(), b || c.changeSlide({ 365 data: { 366 message: "index", 367 index: d 368 } 369 }, !1) 370 }, b.prototype.registerBreakpoints = function () { 371 var c, d, e, b = this, f = b.options.responsive || null; 372 if ("array" === a.type(f) && f.length) { 373 b.respondTo = b.options.respondTo || "window"; 374 for (c in f)if (e = b.breakpoints.length - 1, d = f[c].breakpoint, f.hasOwnProperty(c)) { 375 for (; e >= 0;)b.breakpoints[e] && b.breakpoints[e] === d && b.breakpoints.splice(e, 1), e--; 376 b.breakpoints.push(d), b.breakpointSettings[d] = f[c].settings 377 } 378 b.breakpoints.sort(function (a, c) { 379 return b.options.mobileFirst ? a - c : c - a 380 }) 381 } 382 }, b.prototype.reinit = function () { 383 var b = this; 384 b.$slides = b.$slideTrack.children(b.options.slide).addClass("slick-slide"), b.slideCount = b.$slides.length, b.currentSlide >= b.slideCount && 0 !== b.currentSlide && (b.currentSlide = b.currentSlide - b.options.slidesToScroll), b.slideCount <= b.options.slidesToShow && (b.currentSlide = 0), b.registerBreakpoints(), b.setProps(), b.setupInfinite(), b.buildArrows(), b.updateArrows(), b.initArrowEvents(), b.buildDots(), b.updateDots(), b.initDotEvents(), b.checkResponsive(!1, !0), b.options.focusOnSelect === !0 && a(b.$slideTrack).children().on("click.slick", b.selectHandler), b.setSlideClasses(0), b.setPosition(), b.$slider.trigger("reInit", [b]), b.options.autoplay === !0 && b.focusHandler() 385 }, b.prototype.resize = function () { 386 var b = this; 387 a(window).width() !== b.windowWidth && (clearTimeout(b.windowDelay), b.windowDelay = window.setTimeout(function () { 388 b.windowWidth = a(window).width(), b.checkResponsive(), b.unslicked || b.setPosition() 389 }, 50)) 390 }, b.prototype.removeSlide = b.prototype.slickRemove = function (a, b, c) { 391 var d = this; 392 return "boolean" == typeof a ? (b = a, a = b === !0 ? 0 : d.slideCount - 1) : a = b === !0 ? --a : a, d.slideCount < 1 || 0 > a || a > d.slideCount - 1 ? !1 : (d.unload(), c === !0 ? d.$slideTrack.children().remove() : d.$slideTrack.children(this.options.slide).eq(a).remove(), d.$slides = d.$slideTrack.children(this.options.slide), d.$slideTrack.children(this.options.slide).detach(), d.$slideTrack.append(d.$slides), d.$slidesCache = d.$slides, void d.reinit()) 393 }, b.prototype.setCSS = function (a) { 394 var d, e, b = this, c = {}; 395 b.options.rtl === !0 && (a = -a), d = "left" == b.positionProp ? Math.ceil(a) + "px" : "0px", e = "top" == b.positionProp ? Math.ceil(a) + "px" : "0px", c[b.positionProp] = a, b.transformsEnabled === !1 ? b.$slideTrack.css(c) : (c = {}, b.cssTransitions === !1 ? (c[b.animType] = "translate(" + d + ", " + e + ")", b.$slideTrack.css(c)) : (c[b.animType] = "translate3d(" + d + ", " + e + ", 0px)", b.$slideTrack.css(c))) 396 }, b.prototype.setDimensions = function () { 397 var a = this; 398 a.options.vertical === !1 ? a.options.centerMode === !0 && a.$list.css({padding: "0px " + a.options.centerPadding}) : (a.$list.height(a.$slides.first().outerHeight(!0) * a.options.slidesToShow), a.options.centerMode === !0 && a.$list.css({padding: a.options.centerPadding + " 0px"})), a.listWidth = a.$list.width(), a.listHeight = a.$list.height(), a.options.vertical === !1 && a.options.variableWidth === !1 ? (a.slideWidth = Math.ceil(a.listWidth / a.options.slidesToShow), a.$slideTrack.width(Math.ceil(a.slideWidth * a.$slideTrack.children(".slick-slide").length))) : a.options.variableWidth === !0 ? a.$slideTrack.width(5e3 * a.slideCount) : (a.slideWidth = Math.ceil(a.listWidth), a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0) * a.$slideTrack.children(".slick-slide").length))); 399 var b = a.$slides.first().outerWidth(!0) - a.$slides.first().width(); 400 a.options.variableWidth === !1 && a.$slideTrack.children(".slick-slide").width(a.slideWidth - b) 401 }, b.prototype.setFade = function () { 402 var c, b = this; 403 b.$slides.each(function (d, e) { 404 c = b.slideWidth * d * -1, b.options.rtl === !0 ? a(e).css({ 405 position: "relative", 406 right: c, 407 top: 0, 408 zIndex: b.options.zIndex - 2, 409 opacity: 0 410 }) : a(e).css({position: "relative", left: c, top: 0, zIndex: b.options.zIndex - 2, opacity: 0}) 411 }), b.$slides.eq(b.currentSlide).css({zIndex: b.options.zIndex - 1, opacity: 1}) 412 }, b.prototype.setHeight = function () { 413 var a = this; 414 if (1 === a.options.slidesToShow && a.options.adaptiveHeight === !0 && a.options.vertical === !1) { 415 var b = a.$slides.eq(a.currentSlide).outerHeight(!0); 416 a.$list.css("height", b) 417 } 418 }, b.prototype.setOption = b.prototype.slickSetOption = function (b, c, d) { 419 var f, g, e = this; 420 if ("responsive" === b && "array" === a.type(c))for (g in c)if ("array" !== a.type(e.options.responsive)) e.options.responsive = [c[g]]; else { 421 for (f = e.options.responsive.length - 1; f >= 0;)e.options.responsive[f].breakpoint === c[g].breakpoint && e.options.responsive.splice(f, 1), f--; 422 e.options.responsive.push(c[g]) 423 } else e.options[b] = c; 424 d === !0 && (e.unload(), e.reinit()) 425 }, b.prototype.setPosition = function () { 426 var a = this; 427 a.setDimensions(), a.setHeight(), a.options.fade === !1 ? a.setCSS(a.getLeft(a.currentSlide)) : a.setFade(), a.$slider.trigger("setPosition", [a]) 428 }, b.prototype.setProps = function () { 429 var a = this, b = document.body.style; 430 a.positionProp = a.options.vertical === !0 ? "top" : "left", "top" === a.positionProp ? a.$slider.addClass("slick-vertical") : a.$slider.removeClass("slick-vertical"), (void 0 !== b.WebkitTransition || void 0 !== b.MozTransition || void 0 !== b.msTransition) && a.options.useCSS === !0 && (a.cssTransitions = !0), a.options.fade && ("number" == typeof a.options.zIndex ? a.options.zIndex < 3 && (a.options.zIndex = 3) : a.options.zIndex = a.defaults.zIndex), void 0 !== b.OTransform && (a.animType = "OTransform", a.transformType = "-o-transform", a.transitionType = "OTransition", void 0 === b.perspectiveProperty && void 0 === b.webkitPerspective && (a.animType = !1)), void 0 !== b.MozTransform && (a.animType = "MozTransform", a.transformType = "-moz-transform", a.transitionType = "MozTransition", void 0 === b.perspectiveProperty && void 0 === b.MozPerspective && (a.animType = !1)), void 0 !== b.webkitTransform && (a.animType = "webkitTransform", a.transformType = "-webkit-transform", a.transitionType = "webkitTransition", void 0 === b.perspectiveProperty && void 0 === b.webkitPerspective && (a.animType = !1)), void 0 !== b.msTransform && (a.animType = "msTransform", a.transformType = "-ms-transform", a.transitionType = "msTransition", void 0 === b.msTransform && (a.animType = !1)), void 0 !== b.transform && a.animType !== !1 && (a.animType = "transform", a.transformType = "transform", a.transitionType = "transition"), a.transformsEnabled = a.options.useTransform && null !== a.animType && a.animType !== !1 431 }, b.prototype.setSlideClasses = function (a) { 432 var c, d, e, f, b = this; 433 d = b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden", "true"), b.$slides.eq(a).addClass("slick-current"), b.options.centerMode === !0 ? (c = Math.floor(b.options.slidesToShow / 2), b.options.infinite === !0 && (a >= c && a <= b.slideCount - 1 - c ? b.$slides.slice(a - c, a + c + 1).addClass("slick-active").attr("aria-hidden", "false") : (e = b.options.slidesToShow + a, d.slice(e - c + 1, e + c + 2).addClass("slick-active").attr("aria-hidden", "false")), 0 === a ? d.eq(d.length - 1 - b.options.slidesToShow).addClass("slick-center") : a === b.slideCount - 1 && d.eq(b.options.slidesToShow).addClass("slick-center")), b.$slides.eq(a).addClass("slick-center")) : a >= 0 && a <= b.slideCount - b.options.slidesToShow ? b.$slides.slice(a, a + b.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false") : d.length <= b.options.slidesToShow ? d.addClass("slick-active").attr("aria-hidden", "false") : (f = b.slideCount % b.options.slidesToShow, e = b.options.infinite === !0 ? b.options.slidesToShow + a : a, b.options.slidesToShow == b.options.slidesToScroll && b.slideCount - a < b.options.slidesToShow ? d.slice(e - (b.options.slidesToShow - f), e + f).addClass("slick-active").attr("aria-hidden", "false") : d.slice(e, e + b.options.slidesToShow).addClass("slick-active").attr("aria-hidden", "false")), "ondemand" === b.options.lazyLoad && b.lazyLoad() 434 }, b.prototype.setupInfinite = function () { 435 var c, d, e, b = this; 436 if (b.options.fade === !0 && (b.options.centerMode = !1), b.options.infinite === !0 && b.options.fade === !1 && (d = null, b.slideCount > b.options.slidesToShow)) { 437 for (e = b.options.centerMode === !0 ? b.options.slidesToShow + 1 : b.options.slidesToShow, c = b.slideCount; c > b.slideCount - e; c -= 1)d = c - 1, a(b.$slides[d]).clone(!0).attr("id", "").attr("data-slick-index", d - b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned"); 438 for (c = 0; e > c; c += 1)d = c, a(b.$slides[d]).clone(!0).attr("id", "").attr("data-slick-index", d + b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned"); 439 b.$slideTrack.find(".slick-cloned").find("[id]").each(function () { 440 a(this).attr("id", "") 441 }) 442 } 443 }, b.prototype.setPaused = function (a) { 444 var b = this; 445 b.options.autoplay === !0 && b.options.pauseOnHover === !0 && (b.paused = a, a ? b.autoPlayClear() : b.autoPlay()) 446 }, b.prototype.selectHandler = function (b) { 447 var c = this, d = a(b.target).is(".slick-slide") ? a(b.target) : a(b.target).parents(".slick-slide"), 448 e = parseInt(d.attr("data-slick-index")); 449 return e || (e = 0), c.slideCount <= c.options.slidesToShow ? (c.setSlideClasses(e), void c.asNavFor(e)) : void c.slideHandler(e) 450 }, b.prototype.slideHandler = function (a, b, c) { 451 var d, e, f, g, h = null, i = this; 452 return b = b || !1, i.animating === !0 && i.options.waitForAnimate === !0 || i.options.fade === !0 && i.currentSlide === a || i.slideCount <= i.options.slidesToShow ? void 0 : (b === !1 && i.asNavFor(a), d = a, h = i.getLeft(d), g = i.getLeft(i.currentSlide), i.currentLeft = null === i.swipeLeft ? g : i.swipeLeft, i.options.infinite === !1 && i.options.centerMode === !1 && (0 > a || a > i.getDotCount() * i.options.slidesToScroll) ? void(i.options.fade === !1 && (d = i.currentSlide, c !== !0 ? i.animateSlide(g, function () { 453 i.postSlide(d); 454 }) : i.postSlide(d))) : i.options.infinite === !1 && i.options.centerMode === !0 && (0 > a || a > i.slideCount - i.options.slidesToScroll) ? void(i.options.fade === !1 && (d = i.currentSlide, c !== !0 ? i.animateSlide(g, function () { 455 i.postSlide(d) 456 }) : i.postSlide(d))) : (i.options.autoplay === !0 && clearInterval(i.autoPlayTimer), e = 0 > d ? i.slideCount % i.options.slidesToScroll !== 0 ? i.slideCount - i.slideCount % i.options.slidesToScroll : i.slideCount + d : d >= i.slideCount ? i.slideCount % i.options.slidesToScroll !== 0 ? 0 : d - i.slideCount : d, i.animating = !0, i.$slider.trigger("beforeChange", [i, i.currentSlide, e]), f = i.currentSlide, i.currentSlide = e, i.setSlideClasses(i.currentSlide), i.updateDots(), i.updateArrows(), i.options.fade === !0 ? (c !== !0 ? (i.fadeSlideOut(f), i.fadeSlide(e, function () { 457 i.postSlide(e) 458 })) : i.postSlide(e), void i.animateHeight()) : void(c !== !0 ? i.animateSlide(h, function () { 459 i.postSlide(e) 460 }) : i.postSlide(e)))) 461 }, b.prototype.startLoad = function () { 462 var a = this; 463 a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.hide(), a.$nextArrow.hide()), a.options.dots === !0 && a.slideCount > a.options.slidesToShow && a.$dots.hide(), a.$slider.addClass("slick-loading") 464 }, b.prototype.swipeDirection = function () { 465 var a, b, c, d, e = this; 466 return a = e.touchObject.startX - e.touchObject.curX, b = e.touchObject.startY - e.touchObject.curY, c = Math.atan2(b, a), d = Math.round(180 * c / Math.PI), 0 > d && (d = 360 - Math.abs(d)), 45 >= d && d >= 0 ? e.options.rtl === !1 ? "left" : "right" : 360 >= d && d >= 315 ? e.options.rtl === !1 ? "left" : "right" : d >= 135 && 225 >= d ? e.options.rtl === !1 ? "right" : "left" : e.options.verticalSwiping === !0 ? d >= 35 && 135 >= d ? "left" : "right" : "vertical" 467 }, b.prototype.swipeEnd = function (a) { 468 var c, b = this; 469 if (b.dragging = !1, b.shouldClick = b.touchObject.swipeLength > 10 ? !1 : !0, void 0 === b.touchObject.curX)return !1; 470 if (b.touchObject.edgeHit === !0 && b.$slider.trigger("edge", [b, b.swipeDirection()]), b.touchObject.swipeLength >= b.touchObject.minSwipe)switch (b.swipeDirection()) { 471 case"left": 472 c = b.options.swipeToSlide ? b.checkNavigable(b.currentSlide + b.getSlideCount()) : b.currentSlide + b.getSlideCount(), b.slideHandler(c), b.currentDirection = 0, b.touchObject = {}, b.$slider.trigger("swipe", [b, "left"]); 473 break; 474 case"right": 475 c = b.options.swipeToSlide ? b.checkNavigable(b.currentSlide - b.getSlideCount()) : b.currentSlide - b.getSlideCount(), b.slideHandler(c), b.currentDirection = 1, b.touchObject = {}, b.$slider.trigger("swipe", [b, "right"]) 476 } else b.touchObject.startX !== b.touchObject.curX && (b.slideHandler(b.currentSlide), b.touchObject = {}) 477 }, b.prototype.swipeHandler = function (a) { 478 var b = this; 479 if (!(b.options.swipe === !1 || "ontouchend" in document && b.options.swipe === !1 || b.options.draggable === !1 && -1 !== a.type.indexOf("mouse")))switch (b.touchObject.fingerCount = a.originalEvent && void 0 !== a.originalEvent.touches ? a.originalEvent.touches.length : 1, b.touchObject.minSwipe = b.listWidth / b.options.touchThreshold, b.options.verticalSwiping === !0 && (b.touchObject.minSwipe = b.listHeight / b.options.touchThreshold), a.data.action) { 480 case"start": 481 b.swipeStart(a); 482 break; 483 case"move": 484 b.swipeMove(a); 485 break; 486 case"end": 487 b.swipeEnd(a) 488 } 489 }, b.prototype.swipeMove = function (a) { 490 var d, e, f, g, h, b = this; 491 return h = void 0 !== a.originalEvent ? a.originalEvent.touches : null, !b.dragging || h && 1 !== h.length ? !1 : (d = b.getLeft(b.currentSlide), b.touchObject.curX = void 0 !== h ? h[0].pageX : a.clientX, b.touchObject.curY = void 0 !== h ? h[0].pageY : a.clientY, b.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(b.touchObject.curX - b.touchObject.startX, 2))), b.options.verticalSwiping === !0 && (b.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(b.touchObject.curY - b.touchObject.startY, 2)))), e = b.swipeDirection(), "vertical" !== e ? (void 0 !== a.originalEvent && b.touchObject.swipeLength > 4 && a.preventDefault(), g = (b.options.rtl === !1 ? 1 : -1) * (b.touchObject.curX > b.touchObject.startX ? 1 : -1), b.options.verticalSwiping === !0 && (g = b.touchObject.curY > b.touchObject.startY ? 1 : -1), f = b.touchObject.swipeLength, b.touchObject.edgeHit = !1, b.options.infinite === !1 && (0 === b.currentSlide && "right" === e || b.currentSlide >= b.getDotCount() && "left" === e) && (f = b.touchObject.swipeLength * b.options.edgeFriction, b.touchObject.edgeHit = !0), b.options.vertical === !1 ? b.swipeLeft = d + f * g : b.swipeLeft = d + f * (b.$list.height() / b.listWidth) * g, b.options.verticalSwiping === !0 && (b.swipeLeft = d + f * g), b.options.fade === !0 || b.options.touchMove === !1 ? !1 : b.animating === !0 ? (b.swipeLeft = null, !1) : void b.setCSS(b.swipeLeft)) : void 0) 492 }, b.prototype.swipeStart = function (a) { 493 var c, b = this; 494 return 1 !== b.touchObject.fingerCount || b.slideCount <= b.options.slidesToShow ? (b.touchObject = {}, !1) : (void 0 !== a.originalEvent && void 0 !== a.originalEvent.touches && (c = a.originalEvent.touches[0]), b.touchObject.startX = b.touchObject.curX = void 0 !== c ? c.pageX : a.clientX, b.touchObject.startY = b.touchObject.curY = void 0 !== c ? c.pageY : a.clientY, void(b.dragging = !0)) 495 }, b.prototype.unfilterSlides = b.prototype.slickUnfilter = function () { 496 var a = this; 497 null !== a.$slidesCache && (a.unload(), a.$slideTrack.children(this.options.slide).detach(), a.$slidesCache.appendTo(a.$slideTrack), a.reinit()) 498 }, b.prototype.unload = function () { 499 var b = this; 500 a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevArrow && b.htmlExpr.test(b.options.prevArrow) && b.$prevArrow.remove(), b.$nextArrow && b.htmlExpr.test(b.options.nextArrow) && b.$nextArrow.remove(), b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden", "true").css("width", "") 501 }, b.prototype.unslick = function (a) { 502 var b = this; 503 b.$slider.trigger("unslick", [b, a]), b.destroy() 504 }, b.prototype.updateArrows = function () { 505 var b, a = this; 506 b = Math.floor(a.options.slidesToShow / 2), a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && !a.options.infinite && (a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false"), 0 === a.currentSlide ? (a.$prevArrow.addClass("slick-disabled").attr("aria-disabled", "true"), a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : a.currentSlide >= a.slideCount - a.options.slidesToShow && a.options.centerMode === !1 ? (a.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false")) : a.currentSlide >= a.slideCount - 1 && a.options.centerMode === !0 && (a.$nextArrow.addClass("slick-disabled").attr("aria-disabled", "true"), a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled", "false"))) 507 }, b.prototype.updateDots = function () { 508 var a = this; 509 null !== a.$dots && (a.$dots.find("li").removeClass("slick-active").attr("aria-hidden", "true"), a.$dots.find("li").eq(Math.floor(a.currentSlide / a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden", "false")) 510 }, b.prototype.visibility = function () { 511 var a = this; 512 document[a.hidden] ? (a.paused = !0, a.autoPlayClear()) : a.options.autoplay === !0 && (a.paused = !1, a.autoPlay()) 513 }, b.prototype.initADA = function () { 514 var b = this; 515 b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({ 516 "aria-hidden": "true", 517 tabindex: "-1" 518 }).find("a, input, button, select").attr({tabindex: "-1"}), b.$slideTrack.attr("role", "listbox"), b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function (c) { 519 a(this).attr({role: "option", "aria-describedby": "slick-slide" + b.instanceUid + c}) 520 }), null !== b.$dots && b.$dots.attr("role", "tablist").find("li").each(function (c) { 521 a(this).attr({ 522 role: "presentation", 523 "aria-selected": "false", 524 "aria-controls": "navigation" + b.instanceUid + c, 525 id: "slick-slide" + b.instanceUid + c 526 }) 527 }).first().attr("aria-selected", "true").end().find("button").attr("role", "button").end().closest("div").attr("role", "toolbar"), b.activateADA() 528 }, b.prototype.activateADA = function () { 529 var a = this; 530 a.$slideTrack.find(".slick-active").attr({"aria-hidden": "false"}).find("a, input, button, select").attr({tabindex: "0"}) 531 }, b.prototype.focusHandler = function () { 532 var b = this; 533 b.$slider.on("focus.slick blur.slick", "*", function (c) { 534 c.stopImmediatePropagation(); 535 var d = a(this); 536 setTimeout(function () { 537 b.isPlay && (d.is(":focus") ? (b.autoPlayClear(), b.paused = !0) : (b.paused = !1, b.autoPlay())) 538 }, 0) 539 }) 540 }, a.fn.slick = function () { 541 var f, g, a = this, c = arguments[0], d = Array.prototype.slice.call(arguments, 1), e = a.length; 542 for (f = 0; e > f; f++)if ("object" == typeof c || "undefined" == typeof c ? a[f].slick = new b(a[f], c) : g = a[f].slick[c].apply(a[f].slick, d), "undefined" != typeof g)return g; 543 return a 544 } 545}); 546
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.