1!(function (i) { 2 'use strict' 3 'function' == typeof define && define.amd ? define(['jquery'], i) : 'undefined' != typeof exports ? (module.exports = i(require('jquery'))) : i(jQuery) 4})(function (i) { 5 'use strict' 6 var e = window.Slick || {} 7 ;((e = (function () { 8 var e = 0 9 return function (t, o) { 10 var s, 11 n = this 12 ;(n.defaults = { 13 accessibility: !0, 14 adaptiveHeight: !1, 15 appendArrows: i(t), 16 appendDots: i(t), 17 arrows: !0, 18 asNavFor: null, 19 prevArrow: '<button class="slick-prev" aria-label="Previous" type="button">Previous</button>', 20 nextArrow: '<button class="slick-next" aria-label="Next" type="button">Next</button>', 21 autoplay: !1, 22 autoplaySpeed: 3e3, 23 centerMode: !1, 24 centerPadding: '50px', 25 cssEase: 'ease', 26 customPaging: function (e, t) { 27 return i('<button type="button" />').text(t + 1) 28 }, 29 dots: !1, 30 dotsClass: 'slick-dots', 31 draggable: !0, 32 easing: 'linear', 33 edgeFriction: 0.35, 34 fade: !1, 35 focusOnSelect: !1, 36 focusOnChange: !1, 37 infinite: !0, 38 initialSlide: 0, 39 lazyLoad: 'ondemand', 40 mobileFirst: !1, 41 pauseOnHover: !0, 42 pauseOnFocus: !0, 43 pauseOnDotsHover: !1, 44 respondTo: 'window', 45 responsive: null, 46 rows: 1, 47 rtl: !1, 48 slide: '', 49 slidesPerRow: 1, 50 slidesToShow: 1, 51 slidesToScroll: 1, 52 speed: 500, 53 swipe: !0, 54 swipeToSlide: !1, 55 touchMove: !0, 56 touchThreshold: 5, 57 useCSS: !0, 58 useTransform: !0, 59 variableWidth: !1, 60 vertical: !1, 61 verticalSwiping: !1, 62 waitForAnimate: !0, 63 zIndex: 1e3, 64 }), 65 (n.initials = { 66 animating: !1, 67 dragging: !1, 68 autoPlayTimer: null, 69 currentDirection: 0, 70 currentLeft: null, 71 currentSlide: 0, 72 direction: 1, 73 $dots: null, 74 listWidth: null, 75 listHeight: null, 76 loadIndex: 0, 77 $nextArrow: null, 78 $prevArrow: null, 79 scrolling: !1, 80 slideCount: null, 81 slideWidth: null, 82 $slideTrack: null, 83 $slides: null, 84 sliding: !1, 85 slideOffset: 0, 86 swipeLeft: null, 87 swiping: !1, 88 $list: null, 89 touchObject: {}, 90 transformsEnabled: !1, 91 unslicked: !1, 92 }), 93 i.extend(n, n.initials), 94 (n.activeBreakpoint = null), 95 (n.animType = null), 96 (n.animProp = null), 97 (n.breakpoints = []), 98 (n.breakpointSettings = []), 99 (n.cssTransitions = !1), 100 (n.focussed = !1), 101 (n.interrupted = !1), 102 (n.hidden = 'hidden'), 103 (n.paused = !0), 104 (n.positionProp = null), 105 (n.respondTo = null), 106 (n.rowCount = 1), 107 (n.shouldClick = !0), 108 (n.$slider = i(t)), 109 (n.$slidesCache = null), 110 (n.transformType = null), 111 (n.transitionType = null), 112 (n.visibilityChange = 'visibilitychange'), 113 (n.windowWidth = 0), 114 (n.windowTimer = null), 115 (s = i(t).data('slick') || {}), 116 (n.options = i.extend({}, n.defaults, o, s)), 117 (n.currentSlide = n.options.initialSlide), 118 (n.originalSettings = n.options), 119 void 0 !== document.mozHidden 120 ? ((n.hidden = 'mozHidden'), (n.visibilityChange = 'mozvisibilitychange')) 121 : void 0 !== document.webkitHidden && ((n.hidden = 'webkitHidden'), (n.visibilityChange = 'webkitvisibilitychange')), 122 (n.autoPlay = i.proxy(n.autoPlay, n)), 123 (n.autoPlayClear = i.proxy(n.autoPlayClear, n)), 124 (n.autoPlayIterator = i.proxy(n.autoPlayIterator, n)), 125 (n.changeSlide = i.proxy(n.changeSlide, n)), 126 (n.clickHandler = i.proxy(n.clickHandler, n)), 127 (n.selectHandler = i.proxy(n.selectHandler, n)), 128 (n.setPosition = i.proxy(n.setPosition, n)), 129 (n.swipeHandler = i.proxy(n.swipeHandler, n)), 130 (n.dragHandler = i.proxy(n.dragHandler, n)), 131 (n.keyHandler = i.proxy(n.keyHandler, n)), 132 (n.instanceUid = e++), 133 (n.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/), 134 n.registerBreakpoints(), 135 n.init(!0) 136 } 137 })()).prototype.activateADA = function () { 138 this.$slideTrack.find('.slick-active').attr({ 'aria-hidden': 'false' }).find('a, input, button, select').attr({ tabindex: '0' }) 139 }), 140 (e.prototype.addSlide = e.prototype.slickAdd = 141 function (e, t, o) { 142 var s = this 143 if ('boolean' == typeof t) (o = t), (t = null) 144 else if (t < 0 || t >= s.slideCount) return !1 145 s.unload(), 146 'number' == typeof t 147 ? 0 === t && 0 === s.$slides.length 148 ? i(e).appendTo(s.$slideTrack) 149 : o 150 ? i(e).insertBefore(s.$slides.eq(t)) 151 : i(e).insertAfter(s.$slides.eq(t)) 152 : !0 === o 153 ? i(e).prependTo(s.$slideTrack) 154 : i(e).appendTo(s.$slideTrack), 155 (s.$slides = s.$slideTrack.children(this.options.slide)), 156 s.$slideTrack.children(this.options.slide).detach(), 157 s.$slideTrack.append(s.$slides), 158 s.$slides.each(function (e, t) { 159 i(t).attr('data-slick-index', e) 160 }), 161 (s.$slidesCache = s.$slides), 162 s.reinit() 163 }), 164 (e.prototype.animateHeight = function () { 165 var i = this 166 if (1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical) { 167 var e = i.$slides.eq(i.currentSlide).outerHeight(!0) 168 i.$list.animate({ height: e }, i.options.speed) 169 } 170 }), 171 (e.prototype.animateSlide = function (e, t) { 172 var o = {}, 173 s = this 174 s.animateHeight(), 175 !0 === s.options.rtl && !1 === s.options.vertical && (e = -e), 176 !1 === s.transformsEnabled 177 ? !1 === s.options.vertical 178 ? s.$slideTrack.animate({ left: e }, s.options.speed, s.options.easing, t) 179 : s.$slideTrack.animate({ top: e }, s.options.speed, s.options.easing, t) 180 : !1 === s.cssTransitions 181 ? (!0 === s.options.rtl && (s.currentLeft = -s.currentLeft), 182 i({ animStart: s.currentLeft }).animate( 183 { animStart: e }, 184 { 185 duration: s.options.speed, 186 easing: s.options.easing, 187 step: function (i) { 188 ;(i = Math.ceil(i)), 189 !1 === s.options.vertical ? ((o[s.animType] = 'translate(' + i + 'px, 0px)'), s.$slideTrack.css(o)) : ((o[s.animType] = 'translate(0px,' + i + 'px)'), s.$slideTrack.css(o)) 190 }, 191 complete: function () { 192 t && t.call() 193 }, 194 } 195 )) 196 : (s.applyTransition(),
197 (e = Math.ceil(e)), 198 !1 === s.options.vertical ? (o[s.animType] = 'translate3d(' + e + 'px, 0px, 0px)') : (o[s.animType] = 'translate3d(0px,' + e + 'px, 0px)'), 199 s.$slideTrack.css(o), 200 t && 201 setTimeout(function () { 202 s.disableTransition(), t.call() 203 }, s.options.speed)) 204 }), 205 (e.prototype.getNavTarget = function () { 206 var e = this, 207 t = e.options.asNavFor 208 return t && null !== t && (t = i(t).not(e.$slider)), t 209 }), 210 (e.prototype.asNavFor = function (e) { 211 var t = this.getNavTarget() 212 null !== t && 213 'object' == typeof t && 214 t.each(function () { 215 var t = i(this).slick('getSlick') 216 t.unslicked || t.slideHandler(e, !0) 217 }) 218 }), 219 (e.prototype.applyTransition = function (i) { 220 var e = this, 221 t = {} 222 !1 === e.options.fade 223 ? (t[e.transitionType] = e.transformType + ' ' + e.options.speed + 'ms ' + e.options.cssEase) 224 : (t[e.transitionType] = 'opacity ' + e.options.speed + 'ms ' + e.options.cssEase), 225 !1 === e.options.fade ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) 226 }), 227 (e.prototype.autoPlay = function () { 228 var i = this 229 i.autoPlayClear(), i.slideCount > i.options.slidesToShow && (i.autoPlayTimer = setInterval(i.autoPlayIterator, i.options.autoplaySpeed)) 230 }), 231 (e.prototype.autoPlayClear = function () { 232 var i = this 233 i.autoPlayTimer && clearInterval(i.autoPlayTimer) 234 }), 235 (e.prototype.autoPlayIterator = function () { 236 var i = this, 237 e = i.currentSlide + i.options.slidesToScroll 238 i.paused || 239 i.interrupted || 240 i.focussed || 241 (!1 === i.options.infinite && 242 (1 === i.direction && i.currentSlide + 1 === i.slideCount - 1 243 ? (i.direction = 0) 244 : 0 === i.direction && ((e = i.currentSlide - i.options.slidesToScroll), i.currentSlide - 1 == 0 && (i.direction = 1))), 245 i.slideHandler(e)) 246 }), 247 (e.prototype.buildArrows = function () { 248 var e = this 249 !0 === e.options.arrows && 250 ((e.$prevArrow = i(e.options.prevArrow).addClass('slick-arrow')), 251 (e.$nextArrow = i(e.options.nextArrow).addClass('slick-arrow')), 252 e.slideCount > e.options.slidesToShow 253 ? (e.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex'), 254 e.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex'), 255 e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.prependTo(e.options.appendArrows), 256 e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.appendTo(e.options.appendArrows), 257 !0 !== e.options.infinite && e.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true')) 258 : e.$prevArrow.add(e.$nextArrow).addClass('slick-hidden').attr({ 'aria-disabled': 'true', tabindex: '-1' })) 259 }), 260 (e.prototype.buildDots = function () { 261 var e, 262 t, 263 o = this 264 if (!0 === o.options.dots) { 265 for (o.$slider.addClass('slick-dotted'), t = i('<ul />').addClass(o.options.dotsClass), e = 0; e <= o.getDotCount(); e += 1) 266 t.append(i('<li />').append(o.options.customPaging.call(this, o, e))) 267 ;(o.$dots = t.appendTo(o.options.appendDots)), o.$dots.find('li').first().addClass('slick-active') 268 } 269 }), 270 (e.prototype.buildOut = function () { 271 var e = this 272 ;(e.$slides = e.$slider.children(e.options.slide + ':not(.slick-cloned)').addClass('slick-slide')), 273 (e.slideCount = e.$slides.length), 274 e.$slides.each(function (e, t) { 275 i(t) 276 .attr('data-slick-index', e) 277 .data('originalStyling', i(t).attr('style') || '') 278 }), 279 e.$slider.addClass('slick-slider'), 280 (e.$slideTrack = 0 === e.slideCount ? i('<div class="slick-track"/>').appendTo(e.$slider) : e.$slides.wrapAll('<div class="slick-track"/>').parent()), 281 (e.$list = e.$slideTrack.wrap('<div class="slick-list"/>').parent()), 282 e.$slideTrack.css('opacity', 0), 283 (!0 !== e.options.centerMode && !0 !== e.options.swipeToSlide) || (e.options.slidesToScroll = 1), 284 i('img[data-lazy]', e.$slider).not('[src]').addClass('slick-loading'), 285 e.setupInfinite(), 286 e.buildArrows(), 287 e.buildDots(), 288 e.updateDots(), 289 e.setSlideClasses('number' == typeof e.currentSlide ? e.currentSlide : 0), 290 !0 === e.options.draggable && e.$list.addClass('draggable') 291 }), 292 (e.prototype.buildRows = function () { 293 var i, 294 e, 295 t, 296 o, 297 s, 298 n, 299 r, 300 l = this 301 if (((o = document.createDocumentFragment()), (n = l.$slider.children()), l.o
301ptions.rows > 1)) { 302 for (r = l.options.slidesPerRow * l.options.rows, s = Math.ceil(n.length / r), i = 0; i < s; i++) { 303 var d = document.createElement('div') 304 for (e = 0; e < l.options.rows; e++) { 305 var a = document.createElement('div') 306 for (t = 0; t < l.options.slidesPerRow; t++) { 307 var c = i * r + (e * l.options.slidesPerRow + t) 308 n.get(c) && a.appendChild(n.get(c)) 309 } 310 d.appendChild(a) 311 } 312 o.appendChild(d) 313 } 314 l.$slider.empty().append(o), 315 l.$slider 316 .children() 317 .children() 318 .children() 319 .css({ width: 100 / l.options.slidesPerRow + '%', display: 'inline-block' }) 320 } 321 }), 322 (e.prototype.checkResponsive = function (e, t) { 323 var o, 324 s, 325 n, 326 r = this, 327 l = !1, 328 d = r.$slider.width(), 329 a = window.innerWidth || i(window).width() 330 if ( 331 ('window' === r.respondTo ? (n = a) : 'slider' === r.respondTo ? (n = d) : 'min' === r.respondTo && (n = Math.min(a, d)), 332 r.options.responsive && r.options.responsive.length && null !== r.options.responsive) 333 ) { 334 s = null 335 for (o in r.breakpoints) 336 r.breakpoints.hasOwnProperty(o) && (!1 === r.originalSettings.mobileFirst ? n < r.breakpoints[o] && (s = r.breakpoints[o]) : n > r.breakpoints[o] && (s = r.breakpoints[o])) 337 null !== s 338 ? null !== r.activeBreakpoint 339 ? (s !== r.activeBreakpoint || t) && 340 ((r.activeBreakpoint = s), 341 'unslick' === r.breakpointSettings[s] 342 ? r.unslick(s) 343 : ((r.options = i.extend({}, r.originalSettings, r.breakpointSettings[s])), !0 === e && (r.currentSlide = r.options.initialSlide), r.refresh(e)), 344 (l = s)) 345 : ((r.activeBreakpoint = s), 346 'unslick' === r.breakpointSettings[s] 347 ? r.unslick(s) 348 : ((r.options = i.extend({}, r.originalSettings, r.breakpointSettings[s])), !0 === e && (r.currentSlide = r.options.initialSlide), r.refresh(e)), 349 (l = s)) 350 : null !== r.activeBreakpoint && ((r.activeBreakpoint = null), (r.options = r.originalSettings), !0 === e && (r.currentSlide = r.options.initialSlide), r.refresh(e), (l = s)), 351 e || !1 === l || r.$slider.trigger('breakpoint', [r, l]) 352 } 353 }), 354 (e.prototype.changeSlide = function (e, t) { 355 var o, 356 s, 357 n, 358 r = this, 359 l = i(e.currentTarget) 360 switch ( 361 (l.is('a') && e.preventDefault(), 362 l.is('li') || (l = l.closest('li')), 363 (n = r.slideCount % r.options.slidesToScroll != 0), 364 (o = n ? 0 : (r.slideCount - r.currentSlide) % r.options.slidesToScroll), 365 e.data.message) 366 ) { 367 case 'previous': 368 ;(s = 0 === o ? r.options.slidesToScroll : r.options.slidesToShow - o), r.slideCount > r.options.slidesToShow && r.slideHandler(r.currentSlide - s, !1, t) 369 break 370 case 'next': 371 ;(s = 0 === o ? r.options.slidesToScroll : o), r.slideCount > r.options.slidesToShow && r.slideHandler(r.currentSlide + s, !1, t) 372 break 373 case 'index': 374 var d = 0 === e.data.index ? 0 : e.data.index || l.index() * r.options.slidesToScroll 375 r.slideHandler(r.checkNavigable(d), !1, t), l.children().trigger('focus') 376 break 377 default: 378 return 379 } 380 }), 381 (e.prototype.checkNavigable = function (i) { 382 var e, t 383 if (((e = this.getNavigableIndexes()), (t = 0), i > e[e.length - 1])) i = e[e.length - 1] 384 else 385 for (var o in e) { 386 if (i < e[o]) { 387 i = t 388 break 389 } 390 t = e[o] 391 } 392 return i 393 }), 394 (e.prototype.cleanUpEvents = function () { 395 var e = this 396 e.options.dots && 397 null !== e.$dots && 398 (i('li', e.$dots).off('click.slick', e.changeSlide).off('mouseenter.slick', i.proxy(e.interrupt, e, !0)).off('mouseleave.
398slick', i.proxy(e.interrupt, e, !1)), 399 !0 === e.options.accessibility && e.$dots.off('keydown.slick', e.keyHandler)), 400 e.$slider.off('focus.slick blur.slick'), 401 !0 === e.options.arrows && 402 e.slideCount > e.options.slidesToShow && 403 (e.$prevArrow && e.$prevArrow.off('click.slick', e.changeSlide), 404 e.$nextArrow && e.$nextArrow.off('click.slick', e.changeSlide), 405 !0 === e.options.accessibility && (e.$prevArrow && e.$prevArrow.off('keydown.slick', e.keyHandler), e.$nextArrow && e.$nextArrow.off('keydown.slick', e.keyHandler))), 406 e.$list.off('touchstart.slick mousedown.slick', e.swipeHandler), 407 e.$list.off('touchmove.slick mousemove.slick', e.swipeHandler), 408 e.$list.off('touchend.slick mouseup.slick', e.swipeHandler), 409 e.$list.off('touchcancel.slick mouseleave.slick', e.swipeHandler), 410 e.$list.off('click.slick', e.clickHandler), 411 i(document).off(e.visibilityChange, e.visibility), 412 e.cleanUpSlideEvents(), 413 !0 === e.options.accessibility && e.$list.off('keydown.slick', e.keyHandler), 414 !0 === e.options.focusOnSelect && i(e.$slideTrack).children().off('click.slick', e.selectHandler), 415 i(window).off('orientationchange.slick.slick-' + e.instanceUid, e.orientationChange), 416 i(window).off('resize.slick.slick-' + e.instanceUid, e.resize), 417 i('[draggable!=true]', e.$slideTrack).off('dragstart', e.preventDefault), 418 i(window).off('load.slick.slick-' + e.instanceUid, e.setPosition) 419 }), 420 (e.prototype.cleanUpSlideEvents = function () { 421 var e = this 422 e.$list.off('mouseenter.slick', i.proxy(e.interrupt, e, !0)), e.$list.off('mouseleave.slick', i.proxy(e.interrupt, e, !1)) 423 }), 424 (e.prototype.cleanUpRows = function () { 425 var i, 426 e = this 427 e.options.rows > 1 && ((i = e.$slides.children().children()).removeAttr('style'), e.$slider.empty().append(i)) 428 }), 429 (e.prototype.clickHandler = function (i) { 430 !1 === this.shouldClick && (i.stopImmediatePropagation(), i.stopPropagation(), i.preventDefault()) 431 }), 432 (e.prototype.destroy = function (e) { 433 var t = this 434 t.autoPlayClear(), 435 (t.touchObject = {}), 436 t.cleanUpEvents(), 437 i('.slick-cloned', t.$slider).detach(), 438 t.$dots && t.$dots.remove(), 439 t.$prevArrow && 440 t.$prevArrow.length && 441 (t.$prevArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden aria-disabled tabindex').css('display', ''), 442 t.htmlExpr.test(t.options.prevArrow) && t.$prevArrow.remove()), 443 t.$nextArrow && 444 t.$nextArrow.length && 445 (t.$nextArrow.removeClass('slick-disabled slick-arrow slick-hidden').removeAttr('aria-hidden aria-disabled tabindex').css('display', ''), 446 t.htmlExpr.test(t.options.nextArrow) && t.$nextArrow.remove()), 447 t.$slides && 448 (t.$slides 449 .removeClass('slick-slide slick-active slick-center slick-visible slick-current') 450 .removeAttr('aria-hidden') 451 .removeAttr('data-slick-index') 452 .each(function () { 453 i(this).attr('style', i(this).data('originalStyling')) 454 }), 455 t.$slideTrack.children(this.options.slide).detach(), 456 t.$slideTrack.detach(), 457 t.$list.detach(), 458 t.$slider.append(t.$slides)), 459 t.cleanUpRows(), 460 t.$slider.removeClass('slick-slider'), 461 t.$slider.removeClass('slick-initialized'), 462 t.$slider.removeClass('slick-dotted'), 463 (t.unslicked = !0), 464 e || t.$slider.trigger('destroy', [t]) 465 }), 466 (e.prototype.disableTransition = function (i) { 467 var e = this, 468 t = {} 469 ;(t[e.transitionType] = ''), !1 === e.options.fade ? e.$slideTrack.css(t) : e.$slides.eq(i).css(t) 470 }), 471 (e.prototype.fadeSlide = function (i, e) { 472 var t = this 473 !1 === t.cssTransitions 474 ? (t.$slides.eq(i).css({ zIndex: t.options.zIndex }), t.$slides.eq(i).animate({ opacity: 1 }, t.options.speed, t.options.easing, e)) 475 : (t.applyTransition(i), 476 t.$slides.eq(i).css({ opacity: 1, zIndex: t.options.zIndex }), 477 e && 478 setTimeout(function () { 479 t.disableTransition(i), e.call() 480 }, t.options.speed)) 481 }), 482 (e.prototype.fadeSlideOut = function (i) { 483 var e = this 484 !1 === e.cssTransitions 485 ? e.$slides.eq(i).animate({ opacity: 0, zIndex: e.options.zIndex - 2 }, e.options.speed, e.options.easing) 486 : (e.applyTransition(i), e.$slides.eq(i).css({ opacity: 0, zIndex: e.options.zIndex - 2 })) 487 }),
488 (e.prototype.filterSlides = e.prototype.slickFilter = 489 function (i) { 490 var e = this 491 null !== i && ((e.$slidesCache = e.$slides), e.unload(), e.$slideTrack.children(this.options.slide).detach(), e.$slidesCache.filter(i).appendTo(e.$slideTrack), e.reinit()) 492 }), 493 (e.prototype.focusHandler = function () { 494 var e = this 495 e.$slider.off('focus.slick blur.slick').on('focus.slick blur.slick', '*', function (t) { 496 t.stopImmediatePropagation() 497 var o = i(this) 498 setTimeout(function () { 499 e.options.pauseOnFocus && ((e.focussed = o.is(':focus')), e.autoPlay()) 500 }, 0) 501 }) 502 }), 503 (e.prototype.getCurrent = e.prototype.slickCurrentSlide = 504 function () { 505 return this.currentSlide 506 }), 507 (e.prototype.getDotCount = function () { 508 var i = this, 509 e = 0, 510 t = 0, 511 o = 0 512 if (!0 === i.options.infinite) 513 if (i.slideCount <= i.options.slidesToShow) ++o 514 else for (; e < i.slideCount; ) ++o, (e = t + i.options.slidesToScroll), (t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow) 515 else if (!0 === i.options.centerMode) o = i.slideCount 516 else if (i.options.asNavFor) 517 for (; e < i.slideCount; ) ++o, (e = t + i.options.slidesToScroll), (t += i.options.slidesToScroll <= i.options.slidesToShow ? i.options.slidesToScroll : i.options.slidesToShow) 518 else o = 1 + Math.ceil((i.slideCount - i.options.slidesToShow) / i.options.slidesToScroll) 519 return o - 1 520 }), 521 (e.prototype.getLeft = function (i) { 522 var e, 523 t, 524 o, 525 s, 526 n = this, 527 r = 0 528 return ( 529 (n.slideOffset = 0), 530 (t = n.$slides.first().outerHeight(!0)), 531 !0 === n.options.infinite 532 ? (n.slideCount > n.options.slidesToShow && 533 ((n.slideOffset = n.slideWidth * n.options.slidesToShow * -1), 534 (s = -1), 535 !0 === n.options.vertical && !0 === n.options.centerMode && (2 === n.options.slidesToShow ? (s = -1.5) : 1 === n.options.slidesToShow && (s = -2)), 536 (r = t * n.options.slidesToShow * s)), 537 n.slideCount % n.options.slidesToScroll != 0 && 538 i + n.options.slidesToScroll > n.slideCount && 539 n.slideCount > n.options.slidesToShow && 540 (i > n.slideCount 541 ? ((n.slideOffset = (n.options.slidesToShow - (i - n.slideCount)) * n.slideWidth * -1), (r = (n.options.slidesToShow - (i - n.slideCount)) * t * -1)) 542 : ((n.slideOffset = (n.slideCount % n.options.slidesToScroll) * n.slideWidth * -1), (r = (n.slideCount % n.options.slidesToScroll) * t * -1)))) 543 : i + n.options.slidesToShow > n.slideCount && ((n.slideOffset = (i + n.options.slidesToShow - n.slideCount) * n.slideWidth), (r = (i + n.options.slidesToShow - n.slideCount) * t)), 544 n.slideCount <= n.options.slidesToShow && ((n.slideOffset = 0), (r = 0)), 545 !0 === n.options.centerMode && n.slideCount <= n.options.slidesToShow 546 ? (n.slideOffset = (n.slideWidth * Math.floor(n.options.slidesToShow)) / 2 - (n.slideWidth * n.slideCount) / 2) 547 : !0 === n.options.centerMode && !0 === n.options.infinite 548 ? (n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2) - n.slideWidth) 549 : !0 === n.options.centerMode && ((n.slideOffset = 0), (n.slideOffset += n.slideWidth * Math.floor(n.options.slidesToShow / 2))), 550 (e = !1 === n.options.vertical ? i * n.slideWidth * -1 + n.slideOffset : i * t * -1 + r), 551 !0 === n.options.variableWidth && 552 ((o = 553 n.slideCount <= n.options.slidesToShow || !1 === n.options.infinite ? n.$slideTrack.children('.slick-slide').eq(i) : n.$slideTrack.children('.slick-slide').eq(i + n.options.slidesToShow)), 554 (e = !0 === n.options.rtl ? (o[0] ? -1 * (n.$slideTrack.width() - o[0].offsetLeft - o.width()) : 0) : o[0] ? -1 * o[0].offsetLeft : 0), 555 !0 === n.options.centerMode && 556 ((o = 557 n.slideCount <= n.options.slidesToShow || !1 === n.options.infinite 558 ? n.$slideTrack.children('.slick-slide').eq(i) 559 : n.$slideTrack.children('.slick-slide').eq(i + n.options.slidesToShow + 1)), 560 (e = !0 === n.options.rtl ? (o[0] ? -1 * (n.$slideTrack.width() - o[0].offsetLeft - o.width()) : 0) : o[0] ? -1 * o[0].offsetLeft : 0), 561 (e += (n.$list.width() - o.outerWidth()) / 2))), 562 e 563 ) 564 }), 565 (e.prototype.getOption = e.prototype.slickGetOption = 566 function (i) { 567 return this.options[i] 568 }), 569 (e.prototype.getNavigableIndexes = function () { 570 var i, 571 e = this, 572 t = 0, 573 o = 0, 574 s = [] 575 for (!1 === e.options.infinite ? (i = e.slideCount) : ((t = -1 * e.options.slidesToScroll), (o = -1 * e.options.slidesToScroll), (i = 2 * e.
575slideCount)); t < i; ) 576 s.push(t), (t = o + e.options.slidesToScroll), (o += e.options.slidesToScroll <= e.options.slidesToShow ? e.options.slidesToScroll : e.options.slidesToShow) 577 return s 578 }), 579 (e.prototype.getSlick = function () { 580 return this 581 }), 582 (e.prototype.getSlideCount = function () { 583 var e, 584 t, 585 o = this 586 return ( 587 (t = !0 === o.options.centerMode ? o.slideWidth * Math.floor(o.options.slidesToShow / 2) : 0), 588 !0 === o.options.swipeToSlide 589 ? (o.$slideTrack.find('.slick-slide').each(function (s, n) { 590 if (n.offsetLeft - t + i(n).outerWidth() / 2 > -1 * o.swipeLeft) return (e = n), !1 591 }), 592 Math.abs(i(e).attr('data-slick-index') - o.currentSlide) || 1) 593 : o.options.slidesToScroll 594 ) 595 }), 596 (e.prototype.goTo = e.prototype.slickGoTo = 597 function (i, e) { 598 this.changeSlide({ data: { message: 'index', index: parseInt(i) } }, e) 599 }), 600 (e.prototype.init = function (e) { 601 var t = this 602 i(t.$slider).hasClass('slick-initialized') || 603 (i(t.$slider).addClass('slick-initialized'), 604 t.buildRows(), 605 t.buildOut(), 606 t.setProps(), 607 t.startLoad(), 608 t.loadSlider(), 609 t.initializeEvents(), 610 t.updateArrows(), 611 t.updateDots(), 612 t.checkResponsive(!0), 613 t.focusHandler()), 614 e && t.$slider.trigger('init', [t]), 615 !0 === t.options.accessibility && t.initADA(), 616 t.options.autoplay && ((t.paused = !1), t.autoPlay()) 617 }), 618 (e.prototype.initADA = function () { 619 var e = this, 620 t = Math.ceil(e.slideCount / e.options.slidesToShow), 621 o = e.getNavigableIndexes().filter(function (i) { 622 return i >= 0 && i < e.slideCount 623 }) 624 e.$slides.add(e.$slideTrack.find('.slick-cloned')).attr({ 'aria-hidden': 'true', tabindex: '-1' }).find('a, input, button, select').attr({ tabindex: '-1' }), 625 null !== e.$dots && 626 (e.$slides.not(e.$slideTrack.find('.slick-cloned')).each(function (t) { 627 var s = o.indexOf(t) 628 i(this).attr({ role: 'tabpanel', id: 'slick-slide' + e.instanceUid + t, tabindex: -1 }), -1 !== s && i(this).attr({ 'aria-describedby': 'slick-slide-control' + e.instanceUid + s }) 629 }), 630 e.$dots 631 .attr('role', 'tablist') 632 .find('li') 633 .each(function (s) { 634 var n = o[s] 635 i(this).attr({ role: 'presentation' }), 636 i(this) 637 .find('button') 638 .first() 639 .attr({ 640 role: 'tab', 641 id: 'slick-slide-control' + e.instanceUid + s, 642 'aria-controls': 'slick-slide' + e.instanceUid + n, 643 'aria-label': s + 1 + ' of ' + t, 644 'aria-selected': null, 645 tabindex: '-1', 646 }) 647 }) 648 .eq(e.currentSlide) 649 .find('button') 650 .attr({ 'aria-selected': 'true', tabindex: '0' }) 651 .end()) 652 for (var s = e.currentSlide, n = s + e.options.slidesToShow; s < n; s++) e.$slides.eq(s).attr('tabindex', 0) 653 e.activateADA() 654 }), 655 (e.prototype.initArrowEvents = function () { 656 var i = this 657 !0 === i.options.arrows && 658 i.slideCount > i.options.slidesToShow && 659 (i.$prevArrow.off('click.slick').on('click.slick', { message: 'previous' }, i.changeSlide), 660 i.$nextArrow.off('click.slick').on('click.slick', { message: 'next' }, i.changeSlide), 661 !0 === i.options.accessibility && (i.$prevArrow.on('keydown.slick', i.keyHandler), i.$nextArrow.on('keydown.slick', i.keyHandler))) 662 }), 663 (e.prototype.initDotEvents = function () { 664 var e = this 665 !0 === e.options.dots && (i('li', e.$dots).on('click.slick', { message: 'index' }, e.changeSlide), !0 === e.options.accessibility && e.$dots.on('keydown.slick', e.keyHandler)), 666 !0 === e.options.dots && !0 === e.options.pauseOnDotsHover && i('li', e.$dots).on('mouseenter.slick', i.proxy(e.interrupt, e, !0)).on('mouseleave.
666slick', i.proxy(e.interrupt, e, !1)) 667 }), 668 (e.prototype.initSlideEvents = function () { 669 var e = this 670 e.options.pauseOnHover && (e.$list.on('mouseenter.slick', i.proxy(e.interrupt, e, !0)), e.$list.on('mouseleave.slick', i.proxy(e.interrupt, e, !1))) 671 }), 672 (e.prototype.initializeEvents = function () { 673 var e = this 674 e.initArrowEvents(), 675 e.initDotEvents(), 676 e.initSlideEvents(), 677 e.$list.on('touchstart.slick mousedown.slick', { action: 'start' }, e.swipeHandler), 678 e.$list.on('touchmove.slick mousemove.slick', { action: 'move' }, e.swipeHandler), 679 e.$list.on('touchend.slick mouseup.slick', { action: 'end' }, e.swipeHandler), 680 e.$list.on('touchcancel.slick mouseleave.slick', { action: 'end' }, e.swipeHandler), 681 e.$list.on('click.slick', e.clickHandler), 682 i(document).on(e.visibilityChange, i.proxy(e.visibility, e)), 683 !0 === e.options.accessibility && e.$list.on('keydown.slick', e.keyHandler), 684 !0 === e.options.focusOnSelect && i(e.$slideTrack).children().on('click.slick', e.selectHandler), 685 i(window).on('orientationchange.slick.slick-' + e.instanceUid, i.proxy(e.orientationChange, e)), 686 i(window).on('resize.slick.slick-' + e.instanceUid, i.proxy(e.resize, e)), 687 i('[draggable!=true]', e.$slideTrack).on('dragstart', e.preventDefault), 688 i(window).on('load.slick.slick-' + e.instanceUid, e.setPosition), 689 i(e.setPosition) 690 }), 691 (e.prototype.initUI = function () { 692 var i = this 693 !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.show(), i.$nextArrow.show()), !0 === i.options.dots && i.slideCount > i.options.slidesToShow && i.$dots.show() 694 }), 695 (e.prototype.keyHandler = function (i) { 696 var e = this 697 i.target.tagName.match('TEXTAREA|INPUT|SELECT') || 698 (37 === i.keyCode && !0 === e.options.accessibility 699 ? e.changeSlide({ data: { message: !0 === e.options.rtl ? 'next' : 'previous' } }) 700 : 39 === i.keyCode && !0 === e.options.accessibility && e.changeSlide({ data: { message: !0 === e.options.rtl ? 'previous' : 'next' } })) 701 }), 702 (e.prototype.lazyLoad = function () { 703 function e(e) { 704 i('img[data-lazy]', e).each(function () { 705 var e = i(this), 706 t = i(this).attr('data-lazy'), 707 o = i(this).attr('data-srcset'), 708 s = i(this).attr('data-sizes') || n.$slider.attr('data-sizes'), 709 r = document.createElement('img') 710 ;(r.onload = function () { 711 e.animate({ opacity: 0 }, 100, function () { 712 o && (e.attr('srcset', o), s && e.attr('sizes', s)), 713 e.attr('src', t).animate({ opacity: 1 }, 200, function () { 714 e.removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading') 715 }), 716 n.$slider.trigger('lazyLoaded', [n, e, t]) 717 }) 718 }), 719 (r.onerror = function () { 720 e.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error'), n.$slider.trigger('lazyLoadError', [n, e, t]) 721 }), 722 (r.src = t) 723 }) 724 } 725 var t, 726 o, 727 s, 728 n = this 729 if ( 730 (!0 === n.options.centerMode 731 ? !0 === n.options.infinite 732 ? (s = (o = n.currentSlide + (n.options.slidesToShow / 2 + 1)) + n.options.slidesToShow + 2) 733 : ((o = Math.max(0, n.currentSlide - (n.options.slidesToShow / 2 + 1))), (s = n.options.slidesToShow / 2 + 1 + 2 + n.currentSlide)) 734 : ((o = n.options.infinite ? n.options.slidesToShow + n.currentSlide : n.currentSlide), 735 (s = Math.ceil(o + n.options.slidesToShow)), 736 !0 === n.options.fade && (o > 0 && o--, s <= n.slideCount && s++)), 737 (t = n.$slider.find('.slick-slide').slice(o, s)), 738 'anticipated' === n.options.lazyLoad) 739 ) 740 for (var r = o - 1, l = s, d = n.$slider.find('.slick-slide'), a = 0; a < n.options.slidesToScroll; a++) r < 0 && (r = n.slideCount - 1), (t = (t = t.add(d.eq(r))).add(d.eq(l))), r--, l++ 741 e(t), 742 n.slideCount <= n.options.slidesToShow 743 ? e(n.$slider.find('.slick-slide')) 744 : n.currentSlide >= n.slideCount - n.options.slidesToShow 745 ? e(n.$slider.find('.slick-cloned').slice(0, n.options.slidesToShow)) 746 : 0 === n.currentSlide && e(n.$slider.find('.slick-cloned').slice(-1 * n.options.slidesToShow)) 747 }), 748 (e.prototype.loadSlider = function () { 749 var i = this 750 i.setPosition(), i.$slideTrack.css({ opacity: 1 }), i.$slider.removeClass('slick-loading'), i.initUI(), 'progressive' === i.options.lazyLoad && i.progressiveLazyLoad() 751 }), 752 (e.prototype.next = e.prototype.slickNext = 753 function () { 754 this.changeSlide({ data: { message: 'next' } }) 755 }), 756 (e.prototype.orientationChange = function () { 757 var i = this 758 i.checkResponsive(), i.setPosition() 759 }), 760 (e.prototype.pause = e.prototype.slickPause = 761 function () { 762 var i = this 763 i.autoPlayClear(), (i.paused = !0) 764 }), 765 (e.prototype.play = e.prototype.slickPlay = 766 function () { 767 var i = this 768 i.autoPlay(), (i.options.autoplay = !0), (i.paused = !1), (i.focussed = !1), (i.interrupted = !1) 769 }), 770 (e.prototype.postSlide = function (e) { 771 var t = this 772 t.unslicked || 773 (t.$slider.trigger('afterChange', [t, e]), 774 (t.animating = !1), 775 t.slideCount > t.options.slidesToShow && t.setPosition(), 776 (t.swipeLeft = null), 777 t.options.autoplay && t.autoPlay(), 778 !0 === t.options.accessibility && (t.initADA(), t.options.focusOnChange && i(t.$slides.get(t.currentSlide)).attr('tabindex', 0).focus())) 779 }), 780 (e.prototype.prev = e.prototype.slickPrev = 781 function () { 782 this.changeSlide({ data: { message: 'previous' } }) 783 }), 784 (e.prototype.preventDefault = function (i) { 785 i.preventDefault() 786 }), 787 (e.prototype.progressiveLazyLoad = function (e) { 788 e = e || 1 789 var t, 790 o, 791 s, 792 n, 793 r, 794 l = this, 795 d = i('img[data-lazy]', l.$slider) 796 d.length 797 ? ((t = d.first()), 798 (o = t.attr('data-lazy')), 799 (s = t.attr('data-srcset')), 800 (n = t.attr('data-sizes') || l.$slider.attr('data-sizes')), 801 ((r = document.createElement('img')).onload = function () { 802 s && (t.attr('srcset', s), n && t.attr('sizes', n)), 803 t.attr('src', o).removeAttr('data-lazy data-srcset data-sizes').removeClass('slick-loading'), 804 !0 === l.options.adaptiveHeight && l.setPosition(), 805 l.$slider.trigger('lazyLoaded', [l, t, o]), 806 l.progressiveLazyLoad() 807 }), 808 (r.onerror = function () { 809 e < 3 810 ? setTimeout(function () { 811 l.progressiveLazyLoad(e + 1) 812 }, 500) 813 : (t.removeAttr('data-lazy').removeClass('slick-loading').addClass('slick-lazyload-error'), l.$slider.trigger('lazyLoadError', [l, t, o]), l.progressiveLazyLoad()) 814 }), 815 (r.src = o)) 816 : l.$slider.trigger('allImagesLoaded', [l]) 817 }), 818 (e.prototype.refresh = function (e) { 819 var t, 820 o, 821 s = this 822 ;(o = s.slideCount - s.options.slidesToShow), 823 !s.options.infinite && s.currentSlide > o && (s.currentSlide = o), 824 s.slideCount <= s.options.slidesToShow && (s.currentSlide = 0), 825 (t = s.currentSlide), 826 s.destroy(!0), 827 i.extend(s, s.initials, { currentSlide: t }), 828 s.init(), 829 e || s.changeSlide({ data: { message: 'index', index: t } }, !1) 830 }), 831 (e.prototype.registerBreakpoints = function () { 832 var e, 833 t, 834 o, 835 s = this, 836 n = s.options.responsive || null 837 if ('array' === i.type(n) && n.length) { 838 s.respondTo = s.options.respondTo || 'window' 839 for (e in n) 840 if (((o = s.breakpoints.length - 1), n.hasOwnProperty(e))) { 841 for (t = n[e].breakpoint; o >= 0; ) s.breakpoints[o] && s.breakpoints[o] === t && s.breakpoints.splice(o, 1), o-- 842 s.breakpoints.push(t), (s.breakpointSettings[t] = n[e].settings) 843 } 844 s.breakpoints.sort(function (i, e) { 845 return s.options.mobileFirst ? i - e : e - i 846 }) 847 } 848 }), 849 (e.prototype.reinit = function () { 850 var e = this 851 ;(e.$slides = e.$slideTrack.children(e.options.slide).addClass('slick-slide')), 852 (e.slideCount = e.$slides.length), 853 e.currentSlide >= e.slideCount && 0 !== e.currentSlide && (e.currentSlide = e.currentSlide - e.options.slidesToScroll), 854 e.slideCount <= e.options.slidesToShow && (e.currentSlide = 0), 855 e.registerBreakpoints(), 856 e.setProps(), 857 e.setupInfinite(), 858 e.buildArrows(), 859 e.updateArrows(), 860 e.initArrowEvents(), 861 e.buildDots(), 862 e.updateDots(), 863 e.initDotEvents(), 864 e.cleanUpSlideEvents(), 865 e.initSlideEvents(), 866 e.checkResponsive(!1, !0), 867 !0 === e.options.focusOnSelect && i(e.$slideTrack).children().on('click.slick', e.selectHandler), 868 e.setSlideClasses('number' == typeof e.currentSlide ? e.currentSlide : 0), 869 e.setPosition(), 870 e.focusHandler(), 871 (e.paused = !e.options.autoplay), 872 e.autoPlay(), 873 e.$slider.trigger('reInit', [e]) 874 }), 875 (e.prototype.resize = function () { 876 var e = this 877 i(window).width() !== e.windowWidth && 878 (clearTimeout(e.windowDelay), 879 (e.windowDelay = window.setTimeout(function () { 880 ;(e.windowWidth = i(window).width()), e.checkResponsive(), e.unslicked || e.setPosition() 881 }, 50))) 882 }), 883 (e.prototype.removeSlide = e.prototype.slickRemove = 884 function (i, e, t) { 885 var o = this 886 if (((i = 'boolean' == typeof i ? (!0 === (e = i) ? 0 : o.slideCount - 1) : !0 === e ? --i : i), o.slideCount < 1 || i < 0 || i > o.slideCount - 1)) return !1 887 o.unload(), 888 !0 === t ? o.$slideTrack.children().remove() : o.$slideTrack.children(this.options.slide).eq(i).remove(), 889 (o.$slides = o.$slideTrack.children(this.options.slide)), 890 o.$slideTrack.children(this.options.slide).detach(), 891 o.$slideTrack.append(o.$slides), 892 (o.$slidesCache = o.$slides), 893 o.reinit() 894 }), 895 (e.prototype.setCSS = function (i) { 896 var e, 897 t, 898 o = this, 899 s = {} 900 !0 === o.options.rtl && (i = -i), 901 (e = 'left' == o.positionProp ? Math.ceil(i) + 'px' : '0px'), 902 (t = 'top' == o.positionProp ? Math.ceil(i) + 'px' : '0px'), 903 (s[o.positionProp] = i), 904 !1 === o.transformsEnabled 905 ? o.$slideTrack.css(s) 906 : ((s = {}), 907 !1 === o.cssTransitions ? ((s[o.animType] = 'translate(' + e + ', ' + t + ')'), o.$slideTrack.css(s)) : ((s[o.animType] = 'translate3d(' + e + ', ' + t + ', 0px)'), o.$slideTrack.css(s))) 908 }), 909 (e.prototype.setDimensions = function () { 910 var i = this 911 !1 === i.options.vertical 912 ? !0 === i.options.centerMode && i.$list.css({ padding: '0px ' + i.options.centerPadding }) 913 : (i.$list.height(i.$slides.first().outerHeight(!0) * i.options.slidesToShow), !0 === i.options.centerMode && i.$list.css({ padding: i.options.centerPadding + ' 0px' })), 914 (i.listWidth = i.$list.width()), 915 (i.listHeight = i.$list.height()), 916 !1 === i.options.vertical && !1 === i.options.variableWidth 917 ? ((i.slideWidth = Math.ceil(i.listWidth / i.options.slidesToShow)), i.$slideTrack.width(Math.ceil(i.slideWidth * i.$slideTrack.children('.slick-slide').length))) 918 : !0 === i.options.variableWidth 919 ? i.$slideTrack.width(5e3 * i.slideCount) 920 : ((i.slideWidth = Math.ceil(i.listWidth)), i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0) * i.$slideTrack.children('.slick-slide').length))) 921 var e = i.$slides.first().outerWidth(!0) - i.$slides.first().width() 922 !1 === i.options.variableWidth && i.$slideTrack.children('.slick-slide').width(i.slideWidth - e) 923 }), 924 (e.prototype.setFade = function () { 925 var e, 926 t = this 927 t.$slides.each(function (o, s) { 928 ;(e = t.slideWidth * o * -1), 929 !0 === t.options.rtl 930 ? i(s).css({ position: 'relative', right: e, top: 0, zIndex: t.options.zIndex - 2, opacity: 0 }) 931 : i(s).css({ position: 'relative', left: e, top: 0, zIndex: t.options.zIndex - 2, opacity: 0 }) 932 }), 933 t.$slides.eq(t.currentSlide).css({ zIndex: t.options.zIndex - 1, opacity: 1 }) 934 }), 935 (e.prototype.setHeight = function () { 936 var i = this 937 if (1 === i.options.slidesToShow && !0 === i.options.adaptiveHeight && !1 === i.options.vertical) { 938 var e = i.$slides.eq(i.currentSlide).outerHeight(!0) 939 i.$list.css('height', e) 940 } 941 }), 942 (e.prototype.setOption = e.prototype.slickSetOption = 943 function () { 944 var e, 945 t, 946 o, 947 s, 948 n, 949 r = this, 950 l = !1 951 if ( 952 ('object' === i.type(arguments[0]) 953 ? ((o = arguments[0]), (l = arguments[1]), (n = 'multiple')) 954 : 'string' === i.type(arguments[0]) && 955 ((o = arguments[0]), 956 (s = arguments[1]), 957 (l = arguments[2]), 958 'responsive' === arguments[0] && 'array' === i.type(arguments[1]) ? (n = 'responsive') : void 0 !== arguments[1] && (n = 'single')), 959 'single' === n) 960 ) 961 r.options[o] = s 962 else if ('multiple' === n) 963 i.each(o, function (i, e) { 964 r.options[i] = e 965 }) 966 else if ('responsive' === n) 967 for (t in s) 968 if ('array' !== i.type(r.options.responsive)) r.options.responsive = [s[t]] 969 else { 970 for (e = r.options.responsive.length - 1; e >= 0; ) r.options.responsive[e].breakpoint === s[t].breakpoint && r.options.responsive.splice(e, 1), e-- 971 r.options.responsive.push(s[t]) 972 } 973 l && (r.unload(), r.reinit()) 974 }), 975 (e.prototype.setPosition = function () { 976 var i = this 977 i.setDimensions(), i.setHeight(), !1 === i.options.fade ? i.setCSS(i.getLeft(i.currentSlide)) : i.setFade(), i.$slider.trigger('setPosition', [i]) 978 }), 979 (e.prototype.setProps = function () { 980 var i = this, 981 e = document.body.style 982 ;(i.positionProp = !0 === i.options.vertical ? 'top' : 'left'), 983 'top' === i.positionProp ? i.$slider.addClass('slick-vertical')
983: i.$slider.removeClass('slick-vertical'), 984 (void 0 === e.WebkitTransition && void 0 === e.MozTransition && void 0 === e.msTransition) || (!0 === i.options.useCSS && (i.cssTransitions = !0)), 985 i.options.fade && ('number' == typeof i.options.zIndex ? i.options.zIndex < 3 && (i.options.zIndex = 3) : (i.options.zIndex = i.defaults.zIndex)), 986 void 0 !== e.OTransform && 987 ((i.animType = 'OTransform'), 988 (i.transformType = '-o-transform'), 989 (i.transitionType = 'OTransition'), 990 void 0 === e.perspectiveProperty && void 0 === e.webkitPerspective && (i.animType = !1)), 991 void 0 !== e.MozTransform && 992 ((i.animType = 'MozTransform'), 993 (i.transformType = '-moz-transform'), 994 (i.transitionType = 'MozTransition'), 995 void 0 === e.perspectiveProperty && void 0 === e.MozPerspective && (i.animType = !1)), 996 void 0 !== e.webkitTransform && 997 ((i.animType = 'webkitTransform'), 998 (i.transformType = '-webkit-transform'), 999 (i.transitionType = 'webkitTransition'), 1000 void 0 === e.perspectiveProperty && void 0 === e.webkitPerspective && (i.animType = !1)), 1001 void 0 !== e.msTransform && ((i.animType = 'msTransform'), (i.transformType = '-ms-transform'), (i.transitionType = 'msTransition'), void 0 === e.msTransform && (i.animType = !1)), 1002 void 0 !== e.transform && !1 !== i.animType && ((i.animType = 'transform'), (i.transformType = 'transform'), (i.transitionType = 'transition')), 1003 (i.transformsEnabled = i.options.useTransform && null !== i.animType && !1 !== i.animType) 1004 }), 1005 (e.prototype.setSlideClasses = function (i) { 1006 var e, 1007 t, 1008 o, 1009 s, 1010 n = this 1011 if ( 1012 ((t = n.$slider.find('.slick-slide').removeClass('slick-active slick-center slick-current').attr('aria-hidden', 'true')), 1013 n.$slides.eq(i).addClass('slick-current'), 1014 !0 === n.options.centerMode) 1015 ) { 1016 var r = n.options.slidesToShow % 2 == 0 ? 1 : 0 1017 ;(e = Math.floor(n.options.slidesToShow / 2)), 1018 !0 === n.options.infinite && 1019 (i >= e && i <= n.slideCount - 1 - e 1020 ? n.$slides 1021 .slice(i - e + r, i + e + 1) 1022 .addClass('slick-active') 1023 .attr('aria-hidden', 'false') 1024 : ((o = n.options.slidesToShow + i), 1025 t 1026 .slice(o - e + 1 + r, o + e + 2) 1027 .addClass('slick-active') 1028 .attr('aria-hidden', 'false')), 1029 0 === i ? t.eq(t.length - 1 - n.options.slidesToShow).addClass('slick-center') : i === n.slideCount - 1 && t.eq(n.options.slidesToShow).addClass('slick-center')), 1030 n.$slides.eq(i).addClass('slick-center') 1031 } else 1032 i >= 0 && i <= n.slideCount - n.options.slidesToShow 1033 ? n.$slides 1034 .slice(i, i + n.options.slidesToShow) 1035 .addClass('slick-active') 1036 .attr('aria-hidden', 'false') 1037 : t.length <= n.options.slidesToShow 1038 ? t.addClass('slick-active').attr('aria-hidden', 'false') 1039 : ((s = n.slideCount % n.options.slidesToShow), 1040 (o = !0 === n.options.infinite ? n.options.slidesToShow + i : i), 1041 n.options.slidesToShow == n.options.slidesToScroll && n.slideCount - i < n.options.slidesToShow 1042 ? t 1043 .slice(o - (n.options.slidesToShow - s), o + s) 1044 .addClass('slick-active') 1045 .attr('aria-hidden', 'false') 1046 : t 1047 .slice(o, o + n.options.slidesToShow) 1048 .addClass('slick-active') 1049 .attr('aria-hidden', 'false')) 1050 ;('ondemand' !== n.options.lazyLoad && 'anticipated' !== n.options.lazyLoad) || n.lazyLoad() 1051 }), 1052 (e.prototype.setupInfinite = function () { 1053 var e, 1054 t, 1055 o, 1056 s = this 1057 if ((!0 === s.options.fade && (s.options.centerMode = !1), !0 === s.options.infinite && !1 === s.options.fade && ((t = null), s.slideCount > s.options.slidesToShow))) { 1058 for (o = !0 === s.options.centerMode ? s.options.slidesToShow + 1 : s.options.slidesToShow, e = s.slideCount; e > s.slideCount - o; e -= 1) 1059 (t = e - 1), 1060 i(s.$slides[t]) 1061 .clone(!0) 1062 .attr('id', '') 1063 .attr('data-slick-index', t - s.slideCount) 1064 .prependTo(s.$slideTrack) 1065 .addClass('slick-cloned') 1066 for (e = 0; e < o + s.slideCount;
1066 e += 1) 1067 (t = e), 1068 i(s.$slides[t]) 1069 .clone(!0) 1070 .attr('id', '') 1071 .attr('data-slick-index', t + s.slideCount) 1072 .appendTo(s.$slideTrack) 1073 .addClass('slick-cloned') 1074 s.$slideTrack 1075 .find('.slick-cloned') 1076 .find('[id]') 1077 .each(function () { 1078 i(this).attr('id', '') 1079 }) 1080 } 1081 }), 1082 (e.prototype.interrupt = function (i) { 1083 var e = this 1084 i || e.autoPlay(), (e.interrupted = i) 1085 }), 1086 (e.prototype.selectHandler = function (e) { 1087 var t = this, 1088 o = i(e.target).is('.slick-slide') ? i(e.target) : i(e.target).parents('.slick-slide'), 1089 s = parseInt(o.attr('data-slick-index')) 1090 s || (s = 0), t.slideCount <= t.options.slidesToShow ? t.slideHandler(s, !1, !0) : t.slideHandler(s) 1091 }), 1092 (e.prototype.slideHandler = function (i, e, t) { 1093 var o, 1094 s, 1095 n, 1096 r, 1097 l, 1098 d = null, 1099 a = this 1100 if (((e = e || !1), !((!0 === a.animating && !0 === a.options.waitForAnimate) || (!0 === a.options.fade && a.currentSlide === i)))) 1101 if ( 1102 (!1 === e && a.asNavFor(i), 1103 (o = i), 1104 (d = a.getLeft(o)), 1105 (r = a.getLeft(a.currentSlide)), 1106 (a.currentLeft = null === a.swipeLeft ? r : a.swipeLeft), 1107 !1 === a.options.infinite && !1 === a.options.centerMode && (i < 0 || i > a.getDotCount() * a.options.slidesToScroll)) 1108 ) 1109 !1 === a.options.fade && 1110 ((o = a.currentSlide), 1111 !0 !== t 1112 ? a.animateSlide(r, function () { 1113 a.postSlide(o) 1114 }) 1115 : a.postSlide(o)) 1116 else if (!1 === a.options.infinite && !0 === a.options.centerMode && (i < 0 || i > a.slideCount - a.options.slidesToScroll)) 1117 !1 === a.options.fade && 1118 ((o = a.currentSlide), 1119 !0 !== t 1120 ? a.animateSlide(r, function () { 1121 a.postSlide(o) 1122 }) 1123 : a.postSlide(o)) 1124 else { 1125 if ( 1126 (a.options.autoplay && clearInterval(a.autoPlayTimer), 1127 (s = 1128 o < 0 1129 ? a.slideCount % a.options.slidesToScroll != 0 1130 ? a.slideCount - (a.slideCount % a.options.slidesToScroll) 1131 : a.slideCount + o 1132 : o >= a.slideCount 1133 ? a.slideCount % a.options.slidesToScroll != 0 1134 ? 0 1135 : o - a.slideCount 1136 : o), 1137 (a.animating = !0), 1138 a.$slider.trigger('beforeChange', [a, a.currentSlide, s]), 1139 (n = a.currentSlide), 1140 (a.currentSlide = s), 1141 a.setSlideClasses(a.currentSlide), 1142 a.options.asNavFor && (l = (l = a.getNavTarget()).slick('getSlick')).slideCount <= l.options.slidesToShow && l.setSlideClasses(a.currentSlide), 1143 a.updateDots(), 1144 a.updateArrows(), 1145 !0 === a.options.fade) 1146 ) 1147 return ( 1148 !0 !== t 1149 ? (a.fadeSlideOut(n), 1150 a.fadeSlide(s, function () { 1151 a.postSlide(s) 1152 })) 1153 : a.postSlide(s), 1154 void a.animateHeight() 1155 ) 1156 !0 !== t 1157 ? a.animateSlide(d, function () { 1158 a.postSlide(s) 1159 }) 1160 : a.postSlide(s) 1161 } 1162 }), 1163 (e.prototype.startLoad = function () { 1164 var i = this 1165 !0 === i.options.arrows && i.slideCount > i.options.slidesToShow && (i.$prevArrow.hide(), i.$nextArrow.hide()), 1166 !0 === i.options.dots && i.slideCount > i.options.slidesToShow && i.$dots.hide(), 1167 i.$slider.addClass('slick-loading') 1168 }), 1169 (e.prototype.swipeDirection = function () { 1170 var i, 1171 e, 1172 t, 1173 o, 1174 s = this 1175 return ( 1176 (i = s.touchObject.startX - s.touchObject.curX), 1177 (e = s.touchObject.startY - s.touchObject.curY), 1178 (t = Math.atan2(e, i)), 1179 (o = Math.round((180 * t) / Math.PI)) < 0 && (o = 360 - Math.abs(o)), 1180 o <= 45 && o >= 0 1181 ? !1 === s.options.rtl 1182 ? 'left' 1183 : 'right' 1184 : o <= 360 && o >= 315 1185 ? !1 === s.options.rtl 1186 ? 'left' 1187 : 'right' 1188 : o >= 135 && o <= 225 1189 ? !1 === s.options.rtl 1190 ? 'right' 1191 : 'left' 1192 : !0 === s.options.verticalSwiping 1193 ? o >= 35 && o <= 135 1194 ? 'down' 1195 : 'up' 1196 : 'vertical' 1197 ) 1198 }), 1199 (e.prototype.swipeEnd = function (i) { 1200 var e, 1201 t, 1202 o = this 1203 if (((o.dragging = !1), (o.swiping = !1), o.scrolling)) return (o.scrolling = !1), !1 1204 if (((o.interrupted = !1), (o.shouldClick = !(o.touchObject.swipeLength > 10)), void 0 === o.touchObject.curX)) return !1 1205 if ((!0 === o.touchObject.edgeHit && o.$slider.trigger('edge', [o, o.swipeDirection()]), o.touchObject.swipeLength >= o.touchObject.minSwipe)) { 1206 switch ((t = o.swipeDirection())) { 1207 case 'left': 1208 case 'down': 1209 ;(e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide + o.getSlideCount()) : o.currentSlide + o.getSlideCount()), (o.currentDirection = 0) 1210 break 1211 case 'right': 1212 case 'up': 1213 ;(e = o.options.swipeToSlide ? o.checkNavigable(o.currentSlide - o.getSlideCount()) : o.currentSlide - o.getSlideCount()), (o.currentDirection = 1) 1214 } 1215 'vertical' != t && (o.slideHandler(e), (o.touchObject = {}), o.$slider.trigger('swipe', [o, t])) 1216 } else o.touchObject.startX !== o.touchObject.curX && (o.slideHandler(o.currentSlide), (o.touchObject = {})) 1217 }), 1218 (e.prototype.swipeHandler = function (i) { 1219 var e = this 1220 if (!(!1 === e.options.swipe || ('ontouchend' in document && !1 === e.options.swipe) || (!1 === e.options.draggable && -1 !== i.type.indexOf('mouse')))) 1221 switch ( 1222 ((e.touchObject.fingerCount = i.originalEvent && void 0 !== i.originalEvent.touches ? i.originalEvent.touches.length : 1), 1223 (e.touchObject.minSwipe = e.listWidth / e.options.touchThreshold), 1224 !0 === e.options.verticalSwiping && (e.touchObject.minSwipe = e.listHeight / e.options.touchThreshold), 1225 i.data.action) 1226 ) { 1227 case 'start': 1228 e.swipeStart(i) 1229 break 1230 case 'move': 1231 e.swipeMove(i) 1232 break 1233 case 'end': 1234 e.swipeEnd(i) 1235 } 1236 }), 1237 (e.prototype.swipeMove = function (i) { 1238 var e, 1239 t, 1240 o, 1241 s, 1242 n, 1243 r, 1244 l = this 1245 return ( 1246 (n = void 0 !== i.originalEvent ? i.originalEvent.touches : null), 1247 !(!l.dragging || l.scrolling || (n && 1 !== n.length)) && 1248 ((e = l.getLeft(l.currentSlide)), 1249 (l.touchObject.curX = void 0 !== n ? n[0].pageX : i.clientX), 1250 (l.touchObject.curY = void 0 !== n ? n[0].pageY : i.clientY), 1251 (l.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(l.touchObject.curX - l.touchObject.startX, 2)))
1251), 1252 (r = Math.round(Math.sqrt(Math.pow(l.touchObject.curY - l.touchObject.startY, 2)))), 1253 !l.options.verticalSwiping && !l.swiping && r > 4 1254 ? ((l.scrolling = !0), !1) 1255 : (!0 === l.options.verticalSwiping && (l.touchObject.swipeLength = r), 1256 (t = l.swipeDirection()), 1257 void 0 !== i.originalEvent && l.touchObject.swipeLength > 4 && ((l.swiping = !0), i.preventDefault()), 1258 (s = (!1 === l.options.rtl ? 1 : -1) * (l.touchObject.curX > l.touchObject.startX ? 1 : -1)), 1259 !0 === l.options.verticalSwiping && (s = l.touchObject.curY > l.touchObject.startY ? 1 : -1), 1260 (o = l.touchObject.swipeLength), 1261 (l.touchObject.edgeHit = !1), 1262 !1 === l.options.infinite && 1263 ((0 === l.currentSlide && 'right' === t) || (l.currentSlide >= l.getDotCount() && 'left' === t)) && 1264 ((o = l.touchObject.swipeLength * l.options.edgeFriction), (l.touchObject.edgeHit = !0)), 1265 !1 === l.options.vertical ? (l.swipeLeft = e + o * s) : (l.swipeLeft = e + o * (l.$list.height() / l.listWidth) * s), 1266 !0 === l.options.verticalSwiping && (l.swipeLeft = e + o * s), 1267 !0 !== l.options.fade && !1 !== l.options.touchMove && (!0 === l.animating ? ((l.swipeLeft = null), !1) : void l.setCSS(l.swipeLeft)))) 1268 ) 1269 }), 1270 (e.prototype.swipeStart = function (i) { 1271 var e, 1272 t = this 1273 if (((t.interrupted = !0), 1 !== t.touchObject.fingerCount || t.slideCount <= t.options.slidesToShow)) return (t.touchObject = {}), !1 1274 void 0 !== i.originalEvent && void 0 !== i.originalEvent.touches && (e = i.originalEvent.touches[0]), 1275 (t.touchObject.startX = t.touchObject.curX = void 0 !== e ? e.pageX : i.clientX), 1276 (t.touchObject.startY = t.touchObject.curY = void 0 !== e ? e.pageY : i.clientY), 1277 (t.dragging = !0) 1278 }), 1279 (e.prototype.unfilterSlides = e.prototype.slickUnfilter = 1280 function () { 1281 var i = this 1282 null !== i.$slidesCache && (i.unload(), i.$slideTrack.children(this.options.slide).detach(), i.$slidesCache.appendTo(i.$slideTrack), i.reinit()) 1283 }), 1284 (e.prototype.unload = function () { 1285 var e = this 1286 i('.slick-cloned', e.$slider).remove(), 1287 e.$dots && e.$dots.remove(), 1288 e.$prevArrow && e.htmlExpr.test(e.options.prevArrow) && e.$prevArrow.remove(), 1289 e.$nextArrow && e.htmlExpr.test(e.options.nextArrow) && e.$nextArrow.remove(), 1290 e.$slides.removeClass('slick-slide slick-active slick-visible slick-current').attr('aria-hidden', 'true').css('width', '') 1291 }), 1292 (e.prototype.unslick = function (i) { 1293 var e = this 1294 e.$slider.trigger('unslick', [e, i]), e.destroy() 1295 }), 1296 (e.prototype.updateArrows = function () { 1297 var i = this 1298 Math.floor(i.options.slidesToShow / 2), 1299 !0 === i.options.arrows && 1300 i.slideCount > i.options.slidesToShow && 1301 !i.options.infinite && 1302 (i.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'), 1303 i.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'), 1304 0 === i.currentSlide 1305 ? (i.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true'), i.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false')) 1306 : i.currentSlide >= i.slideCount - i.options.slidesToShow && !1 === i.options.centerMode 1307 ? (i.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true'), i.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false')) 1308 : i.currentSlide >= i.slideCount - 1 && 1309 !0 === i.options.centerMode && 1310 (i.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true'), i.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false'))) 1311 }), 1312 (e.prototype.updateDots = function () { 1313 var i = this 1314 null !== i.$dots && 1315 (i.$dots.find('li').removeClass('slick-active').end(), 1316 i.$dots 1317 .find('li') 1318 .eq(Math.floor(i.currentSlide / i.options.slidesToScroll)) 1319 .addClass('slick-active')) 1320 }), 1321 (e.prototype.visibility = function () { 1322 var i = this 1323 i.options.autoplay && (document[i.hidden] ? (i.interrupted = !0) : (i.interrupted = !1)) 1324 }), 1325 (i.fn.slick = function () { 1326 var i, 1327 t, 1328 o = this, 1329 s = arguments[0], 1330 n = Array.prototype.slice.call(arguments, 1), 1331 r = o.length 1332 for (i = 0; i < r; i++) if (('object' == typeof s || void 0 === s ? (o[i].slick = new e(o[i], s)) : (t = o[i].slick[s].apply(o[i].slick, n)), void 0 !== t)) return t 1333 return o 1334 }) 1335})
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.