PageSourceSearch

https://www.sppc.edu.cn/_upload/tpl/00/ab/171/template171/js/slick.min.js

js sppc.edu.cn collected 2026-09-25 05:19:19 UTC 32,759 bytes, 477 lines download raw bytes

vendor: 12,163 bytes, lines 1-203
1/*
2     _ _      _       _
3 ___| (_) ___| | __  (_)___
4/ __| | |/ __| |/ /  | / __|
5\__ \ | | (__|   < _ | \__ \
6|___/_|_|\___|_|\_(_)/ |___/
7                   |__/
8
9  Author: Ken Wheeler
10 Website: http://kenwheeler.github.io
11    Docs: http://kenwheeler.github.io/slick
12    Repo: http://github.com/kenwheeler/slick
13  Issues: http://github.com/kenwheeler/slick/issues
14
15 */
16
17/* global window, document, define, jQuery, setInterval, clearInterval */
18
19
20! function(a) {
21    "use strict";
22    "function" == typeof define && define.amd ? define(["jquery"], a) : a(jQuery)
23}(function(a) {
24    "use strict";
25    var b = window.Slick || {};
26    b = function() {
27        function c(c, d) {
28            var f, g, e = this;
29            if (e.defaults = {
30                    accessibility: !0,
31                    arrows: !0,
32                    autoplay: !1,
33                    autoplaySpeed: 3e3,
34                    centerMode: !1,
35                    centerPadding: "50px",
36                    cssEase: "ease",
37                    customPaging: function(a, b) {
38                        return '<button type="button">' + (b + 1) + "</button>"
39                    },
40                    dots: !1,
41                    draggable: !0,
42                    easing: "linear",
43                    fade: !1,
44                    infinite: !0,
45                    lazyLoad: "ondemand",
46                    onBeforeChange: null,
47                    onAfterChange: null,
48                    onInit: null,
49                    onReInit: null,
50                    pauseOnHover: !0,
51                    responsive: null,
52                    slide: "li",
53                    slidesToShow: 1,
54                    slidesToScroll: 1,
55                    speed: 300,
56                    swipe: !0,
57                    touchMove: !0,
58                    touchThreshold: 5,
59                    useCSS: !0,
60                    vertical: !1
61                }, e.initials = {
62                    animating: !1,
63                    autoPlayTimer: null,
64                    currentSlide: 0,
65                    currentLeft: null,
66                    direction: 1,
67                    $dots: null,
68                    listWidth: null,
69                    listHeight: null,
70                    loadIndex: 0,
71                    $nextArrow: null,
72                    $prevArrow: null,
73                    slideCount: null,
74                    slideWidth: null,
75                    $slideTrack: null,
76                    $slides: null,
77                    sliding: !1,
78                    slideOffset: 0,
79                    swipeLeft: null,
80                    $list: null,
81                    touchObject: {},
82                    transformsEnabled: !1
83                }, a.extend(e, e.initials), e.activeBreakpoint = null, e.animType = null, e.animProp = null, e.breakpoints = [], e.breakpointSettings = [], e.cssTransitions = !1, e.paused = !1, e.positionProp = null, e.$slider = a(c), e.$slidesCache = null, e.transformType = null, e.transitionType = null, e.windowWidth = 0, e.windowTimer = null, e.options = a.extend({}, e.defaults, d), e.originalSettings = e.options, f = e.options.responsive || null, f && f.length > -1) {
84                for (g in f) f.hasOwnProperty(g) && (e.breakpoints.push(f[g].breakpoint), e.breakpointSettings[f[g].breakpoint] = f[g].settings);
85                e.breakpoints.sort(function(a, b) {
86                    return b - a
87                })
88            }
89            e.autoPlay = a.proxy(e.autoPlay, e), e.autoPlayClear = a.proxy(e.autoPlayClear, e), e.changeSlide = a.proxy(e.changeSlide, e), e.setPosition = a.proxy(e.setPosition, e), e.swipeHandler = a.proxy(e.swipeHandler, e), e.dragHandler = a.proxy(e.dragHandler, e), e.keyHandler = a.proxy(e.keyHandler, e), e.autoPlayIterator = a.proxy(e.autoPlayIterator, e), e.instanceUid = b++, e.init()
90        }
91        var b = 0;
92        return c
93    }(), b.prototype.addSlide = function(b, c, d) {
94        var e = this;
95        if ("boolean" == typeof c) d = c, c = null;
96        else if (0 > c || c >= e.slideCount) return !1;
97        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).remove(), e.$slideTrack.append(e.$slides), e.$slidesCache = e.$slides, e.reinit()
98    }, b.prototype.animateSlide = function(b, c) {
99        var d = {},
100            e = this;
101        e.transformsEnabled === !1 ? e.options.vertical === !1 ? e.$slideTrack.animate({
102            left: b
103        }, e.options.speed, e.options.easing, c) : e.$slideTrack.animate({
104            top: b
105        }, e.options.speed, e.options.easing, c) : e.cssTransitions === !1 ? a({
106            animStart: e.currentLeft
107        }).animate({
108            animStart: b
109        }, {
110            duration: e.options.speed,
111            easing: e.options.easing,
112            step: function(a) {
113                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))
114            },
115            complete: function() {
116                c && c.call()
117            }
118        }) : (e.applyTransition(), d[e.animType] = e.options.vertical === !1 ? "translate3d(" + b + "px, 0px, 0px)" : "translate3d(0px," + b + "px, 0px)", e.$slideTrack.css(d), c && setTimeout(function() {
119            e.disableTransition(), c.call()
120        }, e.options.speed))
121    }, b.prototype.applyTransition = function(a) {
122        var b = this,
123            c = {};
124        c[b.transitionType] = b.options.fade === !1 ? b.transformType + " " + b.options.speed + "ms " + b.options.cssEase : "opacity " + b.options.speed + "ms " + b.options.cssEase, b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c)
125    }, b.prototype.autoPlay = function() {
126        var a = this;
127        a.autoPlayTimer && clearInterval(a.autoPlayTimer), a.slideCount > a.options.slidesToShow && a.paused !== !0 && (a.autoPlayTimer = setInterval(a.autoPlayIterator, a.options.autoplaySpeed))
128    }, b.prototype.autoPlayClear = function() {
129        var a = this;
130        a.autoPlayTimer && clearInterval(a.autoPlayTimer)
131    }, b.prototype.autoPlayIterator = function() {
132        var a = this;
133        a.options.infinite === !1 ? 1 === a.direction ? (a.currentSlide + 1 === a.slideCount - 1 && (a.direction = 0), a.slideHandler(a.currentSlide + a.options.slidesToScroll)) : (0 === a.currentSlide - 1 && (a.direction = 1), a.slideHandler(a.currentSlide - a.options.slidesToScroll)) : a.slideHandler(a.currentSlide + a.options.slidesToScroll)
134    }, b.prototype.buildArrows = function() {
135        var b = this;
136        b.options.arrows === !0 && b.slideCount > b.options.slidesToShow && (b.$prevArrow = a('<button type="button" class="slick-prev">Previous</button>').appendTo(b.$slider), b.$nextArrow = a('<button type="button" class="slick-next">Next</button>').appendTo(b.$slider), b.options.infinite !== !0 && b.$prevArrow.addClass("slick-disabled"))
137    }, b.prototype.buildDots = function() {
138        var c, d, b = this;
139        if (b.options.dots === !0 && b.slideCount > b.options.slidesToShow) {
140            for (d = '<ul class="slick-dots">', c = 0; c <= b.getDotCount(); c += 1) d += "<li>" + b.options.customPaging.call(this, b, c) + "</li>";
141            d += "</ul>", b.$dots = a(d).appendTo(b.$slider), b.$dots.find("li").first().addClass("slick-active")
142        }
143    }, b.prototype.buildOut = function() {
144        var b = this;
145        b.$slides = b.$slider.children(b.options.slide + ":not(.slick-cloned)").addClass("slick-slide"), b.slideCount = b.$slides.length, b.$slidesCache = b.$slides, 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 class="slick-list"/>').parent(), b.$slideTrack.css("opacity", 0), b.options.centerMode === !0 && (b.options.infinite = !0, b.options.slidesToScroll = 1, 0 === b.options.slidesToShow % 2 && (b.options.slidesToShow = 3)), a("img[data-lazy]", b.$slider).not("[src]").addClass("slick-loading"), b.setupInfinite(), b.buildArrows(), b.buildDots(), b.options.accessibility === !0 && b.$list.prop("tabIndex", 0), b.setSlideClasses(0), b.options.draggable === !0 && b.$list.addClass("draggable")
146    }, b.prototype.checkResponsive = function() {
147        var c, d, b = this;
148        if (b.originalSettings.responsive && b.originalSettings.responsive.length > -1 && null !== b.originalSettings.responsive) {
149            d = null;
150            for (c in b.breakpoints) b.breakpoints.hasOwnProperty(c) && a(window).width() < b.breakpoints[c] && (d = b.breakpoints[c]);
151            null !== d ? null !== b.activeBreakpoint ? d !== b.activeBreakpoint && (b.activeBreakpoint = d, b.options = a.extend({}, b.defaults, b.breakpointSettings[d]), b.refresh()) : (b.activeBreakpoint = d, b.options = a.extend({}, b.defaults, b.breakpointSettings[d]), b.refresh()) : null !== b.activeBreakpoint && (b.activeBreakpoint = null, b.options = a.extend({}, b.defaults, b.originalSettings), b.refresh())
152        }
153    }, b.prototype.changeSlide = function(b) {
154        var c = this;
155        switch (b.data.message) {
156            case "previous":
157                c.slideHandler(c.currentSlide - c.options.slidesToScroll);
158                break;
159            case "next":
160                c.slideHandler(c.currentSlide + c.options.slidesToScroll);
161                break;
162            case "index":
163                c.slideHandler(a(b.target).parent().index() * c.options.slidesToScroll);
164                break;
165            default:
166                return !1
167        }
168    }, b.prototype.destroy = function() {
169        var b = this;
170        b.autoPlayClear(), b.touchObject = {}, a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevArrow && (b.$prevArrow.remove(), b.$nextArrow.remove()), b.$slides.unwrap().unwrap(), b.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style"), b.$slider.removeClass("slick-slider"), b.$slider.removeClass("slick-initialized"), b.$list.off(".slick"), a(window).off(".slick-" + b.instanceUid)
171    }, b.prototype.disableTransition = function(a) {
172        var b = this,
173            c = {};
174        c[b.transitionType] = "", b.options.fade === !1 ? b.$slideTrack.css(c) : b.$slides.eq(a).css(c)
175    }, b.prototype.fadeSlide = function(a, b) {
176        var c = this;
177        c.cssTransitions === !1 ? (c.$slides.eq(a).css({
178            zIndex: 1e3
179        }), c.$slides.eq(a).animate({
180            opacity: 1
181        }, c.options.speed, c.options.easing, b)) : (c.applyTransition(a), c.$slides.eq(a).css({
182            opacity: 1,
183            zIndex: 1e3
184        }), b && setTimeout(function() {
185            c.disableTransition(a), b.call()
186        }, c.options.speed))
187    }, b.prototype.filterSlides = function(a) {
188        var b = this;
189        null !== a && (b.unload(), b.$slideTrack.children(this.options.slide).remove(), b.$slidesCache.filter(a).appendTo(b.$slideTrack), b.reinit())
190    }, b.prototype.getCurrent = function() {
191        var a = this;
192        return a.currentSlide
193    }, b.prototype.getDotCount = function() {
194        var e, a = this,
195            b = 0,
196            c = 0,
197            d = 0;
198        for (e = a.options.infinite === !0 ? a.slideCount + a.options.slidesToShow - a.options.slidesToScroll : a.slideCount; e > b;) d++, c += a.options.slidesToScroll, b = c + a.options.slidesToShow;
199        return d
200    }, b.prototype.getLeft = function(a) {
201        var c, d, b = this,
202            e = 0;
203        return b.slideOffset = 0, d = b.$slides.first().outerHeight(), b.options.infinite === !0 ? (b.
203slideCount > b.options.slidesToShow && (b.slideOffset = -1 * b.slideWidth * b.options.slidesToShow, e = -1 * d * b.options.slidesToShow), 0 !== b.slideCount % b.options.slidesToScroll && a + b.options.slidesToScroll > b.slideCount && b.slideCount > b.options.slidesToShow && (b.slideOffset = -1 * b.slideCount % b.options.slidesToShow * b.slideWidth, e = -1 * b.slideCount % b.options.slidesToShow * d)) : 0 !== b.slideCount % b.options.slidesToShow && a + b.options.slidesToScroll > b.slideCount && b.slideCount > b.options.slidesToShow && (b.slideOffset = b.options.slidesToShow * b.slideWidth - b.slideCount % b.options.slidesToShow * b.slideWidth, e = b.slideCount % b.options.slidesToShow * d), b.options.centerMode === !0 && (b.slideOffset += b.slideWidth * Math.floor(b.options.slidesToShow / 2) - b.slideWidth), c = b.options.vertical === !1 ? -1 * a * b.slideWidth + b.slideOffset : -1 * a * d + e
204    }, b.prototype.init = function() {
205        var b = this;
206        a(b.$slider).hasClass("slick-initialized") || (a(b.$slider).addClass("slick-initialized"), b.buildOut(), b.setProps(), b.startLoad(), b.loadSlider(), b.initializeEvents(), b.checkResponsive()), null !== b.options.onInit && b.options.onInit.call(this, b)
207    }, b.prototype.initArrowEvents = function() {
208        var a = this;
209        a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.on("click.slick", {
210            message: "previous"
211        }, a.changeSlide), a.$nextArrow.on("click.slick", {
212            message: "next"
213        }, a.changeSlide))
214    }, b.prototype.initDotEvents = function() {
215        var b = this;
216        b.options.dots === !0 && b.slideCount > b.options.slidesToShow && a("li", b.$dots).on("click.slick", {
217            message: "index"
218        }, b.changeSlide)
219    }, b.prototype.initializeEvents = function() {
220        var b = this;
221        b.initArrowEvents(), b.initDotEvents(), b.$list.on("touchstart.slick mousedown.slick", {
222            action: "start"
223        }, b.swipeHandler), b.$list.on("touchmove.slick mousemove.slick", {
224            action: "move"
225        }, b.swipeHandler), b.$list.on("touchend.slick mouseup.slick", {
226            action: "end"
227        }
227, b.swipeHandler), b.$list.on("touchcancel.slick mouseleave.slick", {
228            action: "end"
229        }, b.swipeHandler), b.options.pauseOnHover === !0 && b.options.autoplay === !0 && (b.$list.on("mouseenter.slick", b.autoPlayClear), b.$list.on("mouseleave.slick", b.autoPlay)), b.options.accessibility === !0 && b.$list.on("keydown.slick", b.keyHandler), a(window).on("orientationchange.slick.slick-" + b.instanceUid, function() {
230            b.checkResponsive(), b.setPosition()
231        }), a(window).on("resize.slick.slick-" + b.instanceUid, function() {
232            a(window).width !== b.windowWidth && (clearTimeout(b.windowDelay), b.windowDelay = window.setTimeout(function() {
233                b.windowWidth = a(window).width(), b.checkResponsive(), b.setPosition()
234            }, 50))
235        }), a(window).on("load.slick.slick-" + b.instanceUid, b.setPosition)
236    }, b.prototype.initUI = function() {
237        var a = this;
238        a.options.arrows === !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.show(), a.$nextArrow.show()), a.options.dots === !0 && a.slideCount > a.options.slidesToShow && a.$dots.show(), a.options.autoplay === !0 && a.autoPlay()
239    }, b.prototype.keyHandler = function(a) {
240        var b = this;
241        37 === a.keyCode ? b.changeSlide({
242            data: {
243                message: "previous"
244            }
245        }) : 39 === a.keyCode && b.changeSlide({
246            data: {
247                message: "next"
248            }
249        })
250    }, b.prototype.lazyLoad = function() {
251        var c, d, e, f, b = this;
252        b.options.centerMode === !0 ? (e = b.options.slidesToShow + b.currentSlide - 1, f = e + b.options.slidesToShow + 2) : (e = b.options.infinite ? b.options.slidesToShow + b.currentSlide : b.currentSlide, f = e + b.options.slidesToShow), c = b.$slider.find(".slick-slide").slice(e, f), a("img[data-lazy]", c).not("[src]").each(function() {
253            a(this).css({
254                opacity: 0
255            }).attr("src", a(this).attr("data-lazy")).removeClass("slick-loading").load(function() {
256                a(this).animate({
257                    opacity: 1
258                }, 200)
259            })
260        }), b.currentSlide >= b.slideCount - b.options.slidesToShow ? (d = b.$slider.find(".slick-cloned").slice(0, b.options.slidesToShow), a("img[data-lazy]", d).not("[src]").each(function() {
261            a(this).css({
262                opacity: 0
263            }).attr("src", a(this).attr("data-lazy")).removeClass("slick-loading").load(function() {
264                a(this).animate({
265                    opacity: 1
266                }, 200)
267            })
268        })) : 0 === b.currentSlide && (d = b.$slider.find(".slick-cloned").slice(-1 * b.options.slidesToShow), a("img[data-lazy]", d).not("[src]").each(function() {
269            a(this).css({
270                opacity: 0
271            }).attr("src", a(this).attr("data-lazy")).removeClass("slick-loading").load(function() {
272                a(this).animate({
273                    opacity: 1
274                }, 200)
275            })
276        }))
277    }, b.prototype.loadSlider = function() {
278        var a = this;
279        a.setPosition(), a.$slideTrack.css({
280            opacity: 1
281        }), a.$slider.removeClass("slick-loading"), a.initUI(), "progressive" === a.options.lazyLoad && a.progressiveLazyLoad()
282    }, b.prototype.postSlide = function(a) {
283        var b = this;
284        null !== b.options.onAfterChange && b.options.onAfterChange.call(this, b, a), b.animating = !1, b.setPosition(), b.swipeLeft = null, b.options.autoplay === !0 && b.paused === !1 && b.autoPlay()
285    }, b.prototype.progressiveLazyLoad = function() {
286        var c, d, b = this;
287        c = a("img[data-lazy]").not("[src]").length, c > 0 && (d = a(a("img[data-lazy]", b.$slider).not("[src]").get(0)), d.attr("src", d.attr("data-lazy")).removeClass("slick-loading").load(function() {
288            b.progressiveLazyLoad()
289        }))
290    }, b.prototype.refresh = function() {
291        var b = this;
292        b.destroy(), a.extend(b, b.initials), b.init()
293    }, b.prototype.reinit = function() {
294        var a = this;
295        a.$slides = a.$slideTrack.children(a.options.slide).addClass("slick-slide"), a.slideCount = a.$slides.length, a.currentSlide >= a.slideCount && 0 !== a.currentSlide && (a.currentSlide = a.currentSlide - a.options.slidesToScroll), a.setProps(), a.setupInfinite(), a.buildArrows(), a.updateArrows(), a.initArrowEvents(), a.buildDots(), a.updateDots(), a.initDotEvents(), a.setSlideClasses(0), a.setPosition(), null !== a.options.onReInit && a.options.onReInit.call(this, a)
296    }, b.prototype.removeSlide = function(a, b) {
297        var c = this;
298        return "boolean" == typeof a ? (b = a, a = b === !0 ? 0 : c.slideCount - 1) : a = b === !0 ? --a : a, c.slideCount < 1 || 0 > a || a > c.slideCount - 1 ? !1 : (c.unload(), c.$slideTrack.children(this.options.slide).eq(a).remove(), c.$slides = c.$slideTrack.children(this.options.slide), c.$slideTrack.children(this.options.slide).remove(), c.$slideTrack.append(c.$slides), c.$slidesCache = c.$slides, c.reinit(), void 0)
299    }, b.prototype.setCSS = function(a) {
300        var d, e, b = this,
301            c = {};
302        d = "left" == b.positionProp ? a + "px" : "0px", e = "top" == b.positionProp ? 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)))
303    }, b.prototype.setDimensions = function() {
304        var a = this;
305        a.options.centerMode === !0 ? a.$slideTrack.children(".slick-slide").width(a.slideWidth) : a.$slideTrack.children(".slick-slide").width(a.slideWidth), a.options.vertical === !1 ? (a.$slideTrack.width(Math.ceil(a.slideWidth * a.$slideTrack.children(".slick-slide").length)), a.options.centerMode === !0 && a.$list.css({
306            padding: "0px " + a.options.centerPadding
307        })) : (a.$list.height(a.$slides.first().outerHeight() * a.options.slidesToShow), a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight() * a.$slideTrack.children(".slick-slide").length)), a.options.centerMode === !0 && a.$list.css({
308            padding: a.options.centerPadding + " 0px"
309        }))
310    }, b.prototype.setFade = function() {
311        var c, b = this;
312        b.$slides.each(function(d, e) {
313            c = -1 * b.slideWidth * d, a(e).css({
314                position: "relative",
315                left: c,
316                top: 0,
317                zIndex: 800,
318                opacity: 0
319            })
320        }), b.$slides.eq(b.currentSlide).css({
321            zIndex: 900,
322            opacity: 1
323        })
324    }, b.prototype.setPosition = function() {
325        var a = this;
326        a.setValues(), a.setDimensions(), a.options.fade === !1 ? a.setCSS(a.getLeft(a.currentSlide)) : a.setFade()
327    }, b.prototype.setProps = function() {
328        var a = this;
329        a.positionProp = a.options.vertical === !0 ? "top" : "left", "top" === a.positionProp ? a.$slider.addClass("slick-vertical") : a.$slider.removeClass("slick-vertical"), (void 0 !== document.body.style.WebkitTransition || void 0 !== document.body.style.MozTransition || void 0 !== document.body.style.msTransition) && a.options.useCSS === !0 && (a.cssTransitions = !0), void 0 !== document.body.style.MozTransform && (a.animType = "MozTransform", a.transformType = "-moz-transform", a.transitionType = "MozTransition"), void 0 !== document.body.style.webkitTransform && (a.animType = "
329webkitTransform", a.transformType = "-webkit-transform", a.transitionType = "webkitTransition"), void 0 !== document.body.style.msTransform && (a.animType = "transform", a.transformType = "transform", a.transitionType = "transition"), a.transformsEnabled = null !== a.animType
330    }, b.prototype.setValues = function() {
331        var a = this;
332        a.listWidth = a.$list.width(), a.listHeight = a.$list.height(), a.slideWidth = a.options.vertical === !1 ? Math.ceil(a.listWidth / a.options.slidesToShow) : Math.ceil(a.listWidth)
333    }, b.prototype.setSlideClasses = function(a) {
334        var c, d, e, b = this;
335        b.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center"), d = b.$slider.find(".slick-slide"), b.options.centerMode === !0 ? (c = Math.floor(b.options.slidesToShow / 2), a >= c && a <= b.slideCount - 1 - c ? b.$slides.slice(a - c, a + c + 1).addClass("slick-active") : (e = b.options.slidesToShow + a, d.slice(e - c + 1, e + c + 2).addClass("slick-active")), 0 === a ? d.eq(d.length - 1 - b.options.slidesToShow).addClass("slick-center") : a === b.slideCount - 1 && d.eq(b.options.slidesToShow).addClass("slick-center"), b.$slides.eq(a).addClass("slick-center")) : a > 0 && a < b.slideCount - b.options.slidesToShow ? b.$slides.slice(a, a + b.options.slidesToShow).addClass("slick-active") : (e = b.options.infinite === !0 ? b.options.slidesToShow + a : a, d.slice(e, e + b.options.slidesToShow).addClass("slick-active")), "ondemand" === b.options.lazyLoad && b.lazyLoad()
336    }, b.prototype.setupInfinite = function() {
337        var c, d, e, b = this;
338        if ((b.options.fade === !0 || b.options.vertical === !0) && (b.options.centerMode = !1), b.options.infinite === !0 && b.options.fade === !1 && (d = null, b.slideCount > b.options.slidesToShow)) {
339            for (e = b.options.centerMode === !0 ? b.options.slidesToShow + 1 : b.options.slidesToShow, c = b.slideCount; c > b.slideCount - e; c -= 1) d = c - 1, a(b.$slides[d]).clone().attr("id", "").prependTo(b.$slideTrack).addClass("slick-cloned");
340            for (c = 0; e > c; c += 1) d = c, a(b.$slides[d]).clone().attr("id", "").appendTo(b.$slideTrack).addClass("slick-cloned");
341            b.$slideTrack.find(".slick-cloned").find("[id]").each(function() {
342                a(this).attr("id", "")
343            })
344        }
345    }, b.prototype.slideHandler = function(a) {
346        var b, c, d, e, f = null,
347            g = this;
348        return g.animating === !0 ? !1 : (b = a, f = g.getLeft(b), d = g.getLeft(g.currentSlide), e = 0 !== g.slideCount % g.options.slidesToScroll ? g.options.slidesToScroll : 0, g.currentLeft = null === g.swipeLeft ? d : g.swipeLeft, g.options.infinite === !1 && (0 > a || a > g.slideCount - g.options.slidesToShow + e) ? (b = g.currentSlide, g.animateSlide(d, function() {
349            g.postSlide(b)
350        }), !1) : (g.options.autoplay === !0 && clearInterval(g.autoPlayTimer), c = 0 > b ? 0 !== g.slideCount % g.options.slidesToScroll ? g.slideCount - g.slideCount % g.options.slidesToScroll : g.slideCount - g.options.slidesToScroll : b > g.slideCount - 1 ? 0 : b, g.animating = !0, null !== g.options.onBeforeChange && a !== g.currentSlide && g.options.onBeforeChange.call(this, g, g.currentSlide, c), g.currentSlide = c, g.setSlideClasses(g.currentSlide), g.updateDots(), g.updateArrows(), g.options.fade === !0 ? (g.fadeSlide(c, function() {
351            g.postSlide(c)
352        }), !1) : (g.animateSlide(f, function() {
353            g.postSlide(c)
354        }), void 0)))
355    }, b.prototype.startLoad = function() {
356        var a = this;
357        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")
358    }, b.prototype.swipeDirection = function() {
359        var a, b, c, d, e = this;
360        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 ? "left" : 360 >= d && d >= 315 ? "left" : d >= 135 && 225 >= d ? "right" : "vertical"
361    }, b.prototype.swipeEnd = function(b) {
362        var c = this;
363        if (c.$list.removeClass("dragging"), void 0 === c.touchObject.curX) return !1;
364        if (c.touchObject.swipeLength >= c.touchObject.minSwipe) switch (a(b.target).on("click.slick", function(b) {
365            b.stopImmediatePropagation(), b.stopPropagation(), b.preventDefault(), a(b.target).off("click.slick")
366        }), c.swipeDirection()) {
367            case "left":
368                c.slideHandler(c.currentSlide + c.options.slidesToScroll), c.touchObject = {};
369                break;
370            case "right":
371                c.slideHandler(c.currentSlide - c.options.slidesToScroll), c.touchObject = {}
372        } else c.touchObject.startX !== c.touchObject.curX && (c.slideHandler(c.currentSlide), c.touchObject = {})
373    }, b.prototype.swipeHandler = function(a) {
374        var b = this;
375        if ("ontouchend" in document && b.options.swipe === !1) return !1;
376        if (b.options.draggable === !1 && !a.originalEvent.touches) return !1;
377        switch (b.touchObject.fingerCount = a.originalEvent && void 0 !== a.originalEvent.touches ? a.originalEvent.touches.length : 1, b.touchObject.minSwipe = b.listWidth / b.options.touchThreshold, a.data.action) {
378            case "start":
379                b.swipeStart(a);
380                break;
381            case "move":
382                b.swipeMove(a);
383                break;
384            case "end":
385                b.swipeEnd(a)
386        }
387    }, b.prototype.swipeMove = function(a) {
388        var c, d, e, f, b = this;
389        return f = void 0 !== a.originalEvent ? a.originalEvent.touches : null, c = b.getLeft(b.currentSlide), !b.$list.hasClass("dragging") || f && 1 !== f.length ? !1 : (b.touchObject.curX = void 0 !== f ? f[0].pageX : a.clientX, b.touchObject.curY = void 0 !== f ? f[0].pageY : a.clientY, b.touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(b.touchObject.curX - b.touchObject.startX, 2))), d = b.swipeDirection(), "vertical" !== d ? (void 0 !== a.originalEvent && b.touchObject.swipeLength > 4 && a.preventDefault(), e = b.touchObject.curX > b.touchObject.startX ? 1 : -1, b.swipeLeft = b.options.vertical === !1 ? c + b.touchObject.swipeLength * e : c + b.touchObject.swipeLength * (b.$list.height() / b.listWidth) * e, b.options.fade === !0 || b.options.touchMove === !1 ? !1 : b.animating === !0 ? (b.swipeLeft = null, !1) : (b.setCSS(b.swipeLeft), void 0)) : void 0)
390    }, b.prototype.swipeStart = function(a) {
391        var c, b = this;
392        return 1 !== b.touchObject.fingerCount || b.slideCount <= b.options.slidesToShow ? (b.touchObject = {}, !1) : (void 0 !== a.originalEvent && void 0 !== a.originalEvent.touches && (c = a.originalEvent.touches[0]), b.touchObject.startX = b.touchObject.curX = void 0 !== c ? c.pageX : a.clientX, b.touchObject.startY = b.touchObject.curY = void 0 !== c ? c.pageY : a.clientY, b.$list.addClass("dragging"), void 0)
393    }, b.prototype.unfilterSlides = function() {
394        var a = this;
395        null !== a.$slidesCache && (a.unload(), a.$slideTrack.children(this.options.slide).remove(), a.$slidesCache.appendTo(a.$slideTrack), a.reinit())
396    }, b.prototype.unload = function() {
397        var b = this;
398        a(".slick-cloned", b.$slider).remove(), b.$dots && b.$dots.remove(), b.$prevArrow && (b.$prevArrow.remove(), b.$nextArrow.remove()), b.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style")
399    }, b.prototype.updateArrows = function() {
400        var a = this;
401        a.options.arrows === !0 && a.options.infinite !== !0 && a.slideCount > a.options.slidesToShow && (a.$prevArrow.removeClass("slick-disabled"), a.$nextArrow.removeClass("slick-disabled"), 0 === a.currentSlide ? (a.$prevArrow.addClass("slick-disabled"), a.$nextArrow.removeClass("slick-disabled")) : a.currentSlide >= a.slideCount - a.options.slidesToShow && (a.$nextArrow.addClass("slick-disabled"), a.$prevArrow.removeClass("slick-disabled")))
402    }, b.prototype.updateDots = function() {
403        var a = this;
404        null !== a.$dots && (a.$dots.find("li").removeClass("slick-active"), a.$dots.find("li").eq(a.currentSlide / a.options.slidesToScroll).addClass("slick-active"))
405    }, a.fn.slick = function(a) {
406        var c = this;
407        return c.each(function(c, d) {
408            d.slick = new b(d, a)
409        })
410    }, a.fn.slickAdd = function(a, b, c) {
411        var d = this;
412        return d.each(function(d, e) {
413            e.slick.addSlide(a, b, c)
414        })
415    }, a.fn.slickCurrentSlide = function() {
416        var a = this;
417        return a.get(0).slick.getCurrent()
418    }, a.fn.slickFilter = function(a) {
419        var b = this;
420        return b.each(function(b, c) {
421            c.slick.filterSlides(a)
422        })
423    }, a.fn.slickGoTo = function(a) {
424        var b = this;
425        return b.each(function(b, c) {
426            c.slick.slideHandler(a)
427        })
428    }, a.fn.slickNext = function() {
429        var a = this;
430        return a.each(function(a, b) {
431            b.slick.changeSlide({
432                data: {
433                    message: "next"
434                }
435            })
436        })
437    }, a.fn.slickPause = function() {
438        var a = this;
439        return a.each(function(a, b) {
440            b.slick.autoPlayClear(), b.slick.paused = !0
441        })
442    }, a.fn.slickPlay = function() {
443        var a = this;
444        return a.each(function(a, b) {
445            b.slick.paused = !1, b.slick.autoPlay()
446        })
447    }, a.fn.slickPrev = function() {
448        var a = this;
449        return a.each(function(a, b) {
450            b.slick.changeSlide({
451                data: {
452                    message: "previous"
453                }
454            })
455        })
456    }, a.fn.slickRemove = function(a, b) {
457        var c = this;
458        return c.each(function(c, d) {
459            d.slick.removeSlide(a, b)
460        })
461    }, a.fn.slickSetOption = function(a, b, c) {
462        var d = this;
463        return d.each(function(d, e) {
464            e.slick.options[a] = b, c === !0 && (e.slick.unload(), e.slick.reinit())
465        })
466    }, a.fn.slickUnfilter = function() {
467        var a = this;
468        return a.each(function(a, b) {
469            b.slick.unfilterSlides()
470        })
471    }, a.fn.unslick = function() {
472        var a = this;
473        return a.each(function(a, b) {
474            b.slick.destroy()
475        })
476    }
477});

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.