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