PageSourceSearch

https://newsinstar.com/js/common/slick.js

js newsinstar.com collected 2026-10-02 23:38:57 UTC 55,241 bytes, 770 lines download raw bytes

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

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.