PageSourceSearch

https://allsaintscollege.org/js/jquery.flexslider.js

js allsaintscollege.org collected 2026-10-03 01:04:57 UTC 33,486 bytes, 452 lines download raw bytes

vendor: 5,881 bytes, lines 1-65
1! function (e) {
2    var t = !0;
3    e.flexslider = function (a, n) {
4        var i = e(a);
5        i.vars = e.extend({}, e.flexslider.defaults, n);
6        var s, r = i.vars.namespace,
7            o = window.navigator && window.navigator.msPointerEnabled && window.MSGesture,
8            l = ("ontouchstart" in window || o || window.DocumentTouch && document instanceof DocumentTouch) && i.vars.touch,
9            c = "click touchend MSPointerUp keyup",
10            d = "",
11            u = "vertical" === i.vars.direction,
12            v = i.vars.reverse,
13            p = i.vars.itemWidth > 0,
14            m = "fade" === i.vars.animation,
15            f = "" !== i.vars.asNavFor,
16            g = {};
17        e.data(a, "flexslider", i), g = {
18            init: function () {
19                i.animating = !1, i.currentSlide = parseInt(i.vars.startAt ? i.vars.startAt : 0, 10), isNaN(i.currentSlide) && (i.currentSlide = 0), i.animatingTo = i.currentSlide, i.atEnd = 0 === i.currentSlide || i.currentSlide === i.last, i.containerSelector = i.vars.selector.substr(0, i.vars.selector.search(" ")), i.slides = e(i.vars.selector, i), i.container = e(i.containerSelector, i), i.count = i.slides.length, i.syncExists = e(i.vars.sync).length > 0, "slide" === i.vars.animation && (i.vars.animation = "swing"), i.prop = u ? "top" : "marginLeft", i.args = {}, i.manualPause = !1, i.stopped = !1, i.started = !1, i.startTimeout = null, i.transitions = !i.vars.video && !m && i.vars.useCSS && function () {
20                    var e = document.createElement("div"),
21                        t = ["perspectiveProperty", "WebkitPerspective", "MozPerspective", "OPerspective", "msPerspective"];
22                    for (var a in t)
23                        if (void 0 !== e.style[t[a]]) return i.pfx = t[a].replace("Perspective", "").toLowerCase(), i.prop = "-" + i.pfx + "-transform", !0;
24                    return !1
25                }(), i.ensureAnimationEnd = "", "" !== i.vars.controlsContainer && (i.controlsContainer = e(i.vars.controlsContainer).length > 0 && e(i.vars.controlsContainer)), "" !== i.vars.manualControls && (i.manualControls = e(i.vars.manualControls).length > 0 && e(i.vars.manualControls)), "" !== i.vars.customDirectionNav && (i.customDirectionNav = 2 === e(i.vars.customDirectionNav).length && e(i.vars.customDirectionNav)), i.vars.randomize && (i.slides.sort(function () {
26                    return Math.round(Math.random()) - .5
27                }), i.container.empty().append(i.slides)), i.doMath(), i.setup("init"), i.vars.controlNav && g.controlNav.setup(), i.vars.directionNav && g.directionNav.setup(), i.vars.keyboard && (1 === e(i.containerSelector).length || i.vars.multipleKeyboard) && e(document).bind("keyup", function (e) {
28                    var t = e.keyCode;
29                    if (!i.animating && (39 === t || 37 === t)) {
30                        var a = 39 === t ? i.getTarget("next") : 37 === t && i.getTarget("prev");
31                        i.flexAnimate(a, i.vars.pauseOnAction)
32                    }
33                }), i.vars.mousewheel && i.bind("mousewheel", function (e, t, a, n) {
34                    e.preventDefault(), i.flexAnimate(target, i.vars.pauseOnAction)
35                }), i.vars.pausePlay && g.pausePlay.setup(), i.vars.slideshow && i.vars.pauseInvisible && g.pauseInvisible.init(), i.vars.slideshow && (i.vars.pauseOnHover && i.hover(function () {
36                    i.manualPlay || i.manualPause || i.pause()
37                }, function () {
38                    i.manualPause || i.manualPlay || i.stopped || i.play()
39                }), i.vars.pauseInvisible && g.pauseInvisible.isHidden() || (i.vars.initDelay > 0 ? i.startTimeout = setTimeout(i.play, i.vars.initDelay) : i.play())), f && g.asNav.setup(), l && i.vars.touch && g.touch(), (!m || m && i.vars.smoothHeight) && e(window).bind("resize orientationchange focus", g.resize), i.find("img").attr("draggable", "false"), setTimeout(function () {
40                    i.vars.start(i)
41                }, 200)
42            },
43            asNav: {
44                setup: function () {
45                    i.asNav = !0, i.animatingTo = Math.floor(i.currentSlide / i.move), i.currentItem = i.currentSlide, i.slides.removeClass(r + "active-slide").eq(i.currentItem).addClass(r + "active-slide"), o ? (a._slider = i, i.slides.each(function () {
46                        var t = this;
47                        t._gesture = new MSGesture, t._gesture.target = t, t.addEventListener("MSPointerDown", function (e) {
48                            e.preventDefault(), e.currentTarget._gesture && e.currentTarget._gesture.addPointer(e.pointerId)
49                        }, !1), t.addEventListener("MSGestureTap", function (t) {
50                            t.preventDefault();
51                            var a = e(this),
52                                n = a.index();
53                            e(i.vars.asNavFor).data("flexslider").animating || a.hasClass("active") || (i.direction = i.currentItem < n ? "next" : "prev", i.flexAnimate(n, i.vars.pauseOnAction, !1, !0, !0))
54                        })
55                    })) : i.slides.on(c, function (t) {
56                        t.preventDefault();
57                        var a = e(this),
58                            n = a.index();
59                        0 >= a.offset().left - e(i).scrollLeft() && a.hasClass(r + "active-slide") ? i.flexAnimate(i.getTarget("prev"), !0) : e(i.vars.asNavFor).data("flexslider").animating || a.hasClass(r + "active-slide") || (i.direction = i.currentItem < n ? "next" : "prev", i.flexAnimate(n, i.vars.pauseOnAction, !1, !0, !0))
60                    })
61                }
62            },
63            controlNav: {
64                setup: function () {
65                    i.manualControls ? g.controlNav.setupManual() : g.controlNav.setupPaging(
65)
66                },
67                setupPaging: function () {
68                    var t, a, n = "thumbnails" === i.vars.controlNav ? "control-thumbs" : "control-paging",
69                        s = 1;
70                    if (i.controlNavScaffold = e('<ol class="' + r + "control-nav " + r + n + '"></ol>'), i.pagingCount > 1)
71                        for (var o = 0; o < i.pagingCount; o++) {
72                            if (void 0 === (a = i.slides.eq(o)).attr("data-thumb-alt") && a.attr("data-thumb-alt", ""), altText = "" !== a.attr("data-thumb-alt") ? altText = ' alt="' + a.attr("data-thumb-alt") + '"' : "", t = "thumbnails" === i.vars.controlNav ? '<img src="' + a.attr("data-thumb") + '"' + altText + "/>" : '<a href="#">' + s + "</a>", "thumbnails" === i.vars.controlNav && !0 === i.vars.thumbCaptions) {
73                                var l = a.attr("data-thumbcaption");
74                                "" !== l && void 0 !== l && (t += '<span class="' + r + 'caption">' + l + "</span>")
75                            }
76                            i.controlNavScaffold.append("<li>" + t + "</li>"), s++
77                        }
78                    i.controlsContainer ? e(i.controlsContainer).append(i.controlNavScaffold) : i.append(i.controlNavScaffold), g.controlNav.set(), g.controlNav.active(), i.controlNavScaffold.delegate("a, img", c, function (t) {
79                        if (t.preventDefault(), "" === d || d === t.type) {
80                            var a = e(this),
81                                n = i.controlNav.index(a);
82                            a.hasClass(r + "active") || (i.direction = n > i.currentSlide ? "next" : "prev", i.flexAnimate(n, i.vars.pauseOnAction))
83                        }
84                        "" === d && (d = t.type), g.setToClearWatchedEvent()
85                    })
86                },
87                setupManual: function () {
88                    i.controlNav = i.manualControls, g.controlNav.active(), i.controlNav.bind(c, function (t) {
89                        if (t.preventDefault(), "" === d || d === t.type) {
90                            var a = e(this),
91                                n = i.controlNav.index(a);
92                            a.hasClass(r + "active") || (n > i.currentSlide ? i.direction = "next" : i.direction = "prev", i.flexAnimate(n, i.vars.pauseOnAction))
93                        }
94                        "" === d && (d = t.type), g.setToClearWatchedEvent()
95                    })
96                },
97                set: function () {
98                    var t = "thumbnails" === i.vars.controlNav ? "img" : "a";
99                    i.controlNav = e("." + r + "control-nav li " + t, i.controlsContainer ? i.controlsContainer : i)
100                },
101                active: function () {
102                    i.controlNav.removeClass(r + "active").eq(i.animatingTo).addClass(r + "active")
103                },
104                update: function (t, a) {
105                    i.pagingCount > 1 && "add" === t ? i.controlNavScaffold.append(e('<li><a href="#">' + i.count + "</a></li>")) : 1 === i.pagingCount ? i.controlNavScaffold.find("li").remove() : i.controlNav.eq(a).closest("li").remove(), g.controlNav.set(), i.pagingCount > 1 && i.pagingCount !== i.controlNav.length ? i.update(a, t) : g.controlNav.active()
106                }
107            },
108            directionNav: {
109                setup: function () {
110                    var t = e('<ul class="' + r + 'direction-nav"><li class="' + r + 'nav-prev"><a class="' + r + 'prev" href="#">' + i.vars.prevText + '</a></li><li class="' + r + 'nav-next"><a class="' + r + 'next" href="#">' + i.vars.nextText + "</a></li></ul>");
111                    i.customDirectionNav ? i.directionNav = i.customDirectionNav : i.controlsContainer ? (e(i.controlsContainer).append(t), i.directionNav = e("." + r + "direction-nav li a", i.controlsContainer)) : (i.append(t), i.directionNav = e("." + r + "direction-nav li a", i)), g.directionNav.update(), i.directionNav.bind(c, function (t) {
112                        t.preventDefault();
113                        var a;
114                        ("" === d || d === t.type) && (a = e(this).hasClass(r + "next") ? i.getTarget("next") : i.getTarget("prev"), i.flexAnimate(a, i.vars.pauseOnAction)), "" === d && (d = t.type), g.setToClearWatchedEvent()
115                    })
116                },
117                update: function () {
118                    var e = r + "disabled";
119                    1 === i.pagingCount ? i.directionNav.addClass(e).attr("tabindex", "-1") : i.vars.animationLoop ? i.directionNav.removeClass(e).removeAttr("tabindex") : 0 === i.animatingTo ? i.directionNav.removeClass(e).filter("." + r + "prev").addClass(e).attr("tabindex", "-1") : i.animatingTo === i.last ? i.directionNav.removeClass(e).filter("." + r + "next").addClass(e).attr("tabindex", "-1") : i.directionNav.removeClass(e).removeAttr("tabindex")
120                }
121            },
122            pausePlay: {
123                setup: function () {
124                    var t = e('<div class="' + r + 'pauseplay"><a href="#"></a></div>');
125                    i.controlsContainer ? (i.controlsContainer.append(t), i.pausePlay = e("." + r + "pauseplay a", i.controlsContainer)) : (i.append(t), i.pausePlay = e("." + r + "pauseplay a", i)), g.pausePlay.update(i.vars.slideshow ? r + "pause" : r + "play"), i.pausePlay.bind(c, function (t) {
126                        t.preventDefault(), ("" === d || d === t.type) && (e(this).hasClass(r + "pause") ? (i.manualPause = !0, i.manualPlay 
vendor: 22,028 bytes, lines 126-452
126= !1, i.pause()) : (i.manualPause = !1, i.manualPlay = !0, i.play())), "" === d && (d = t.type), g.setToClearWatchedEvent()
127                    })
128                },
129                update: function (e) {
130                    "play" === e ? i.pausePlay.removeClass(r + "pause").addClass(r + "play").html(i.vars.playText) : i.pausePlay.removeClass(r + "play").addClass(r + "pause").html(i.vars.pauseText)
131                }
132            },
133            touch: function () {
134                var e, t, n, s, r, l, c, d, f, g = !1,
135                    h = 0,
136                    S = 0,
137                    x = 0;
138                o ? (a.style.msTouchAction = "none", a._gesture = new MSGesture, a._gesture.target = a, a.addEventListener("MSPointerDown", function (e) {
139                    e.stopPropagation(), i.animating ? e.preventDefault() : (i.pause(), a._gesture.addPointer(e.pointerId), x = 0, s = u ? i.h : i.w, l = Number(new Date), n = p && v && i.animatingTo === i.last ? 0 : p && v ? i.limit - (i.itemW + i.vars.itemMargin) * i.move * i.animatingTo : p && i.currentSlide === i.last ? i.limit : p ? (i.itemW + i.vars.itemMargin) * i.move * i.currentSlide : v ? (i.last - i.currentSlide + i.cloneOffset) * s : (i.currentSlide + i.cloneOffset) * s)
140                }, !1), a._slider = i, a.addEventListener("MSGestureChange", function (e) {
141                    e.stopPropagation();
142                    var t = e.target._slider;
143                    if (t) {
144                        var i = -e.translationX,
145                            o = -e.translationY;
146                        return x += u ? o : i, r = x, g = u ? Math.abs(x) < Math.abs(-i) : Math.abs(x) < Math.abs(-o), e.detail === e.MSGESTURE_FLAG_INERTIA ? void setImmediate(function () {
147                            a._gesture.stop()
148                        }) : void ((!g || Number(new Date) - l > 500) && (e.preventDefault(), !m && t.transitions && (t.vars.animationLoop || (r = x / (0 === t.currentSlide && 0 > x || t.currentSlide === t.last && x > 0 ? Math.abs(x) / s + 2 : 1)), t.setProps(n + r, "setTouch"))))
149                    }
150                }, !1), a.addEventListener("MSGestureEnd", function (a) {
151                    a.stopPropagation();
152                    var i = a.target._slider;
153                    if (i) {
154                        if (i.animatingTo === i.currentSlide && !g && null !== r) {
155                            var o = v ? -r : r,
156                                c = o > 0 ? i.getTarget("next") : i.getTarget("prev");
157                            i.canAdvance(c) && (Number(new Date) - l < 550 && Math.abs(o) > 50 || Math.abs(o) > s / 2) ? i.flexAnimate(c, i.vars.pauseOnAction) : m || i.flexAnimate(i.currentSlide, i.vars.pauseOnAction, !0)
158                        }
159                        e = null, t = null, r = null, n = null, x = 0
160                    }
161                }, !1)) : (c = function (r) {
162                    i.animating ? r.preventDefault() : (window.navigator.msPointerEnabled || 1 === r.touches.length) && (i.pause(), s = u ? i.h : i.w, l = Number(new Date), h = r.touches[0].pageX, S = r.touches[0].pageY, n = p && v && i.animatingTo === i.last ? 0 : p && v ? i.limit - (i.itemW + i.vars.itemMargin) * i.move * i.animatingTo : p && i.currentSlide === i.last ? i.limit : p ? (i.itemW + i.vars.itemMargin) * i.move * i.currentSlide : v ? (i.last - i.currentSlide + i.cloneOffset) * s : (i.currentSlide + i.cloneOffset) * s, e = u ? S : h, t = u ? h : S, a.addEventListener("touchmove", d, !1), a.addEventListener("touchend", f, !1))
163                }, d = function (a) {
164                    h = a.touches[0].pageX, S = a.touches[0].pageY, r = u ? e - S : e - h;
165                    (!(g = u ? Math.abs(r) < Math.abs(h - t) : Math.abs(r) < Math.abs(S - t)) || Number(new Date) - l > 500) && (a.preventDefault(), !m && i.transitions && (i.vars.animationLoop || (r /= 0 === i.currentSlide && 0 > r || i.currentSlide === i.last && r > 0 ? Math.abs(r) / s + 2 : 1), i.setProps(n + r, "setTouch")))
166                }, f = function (o) {
167                    if (a.removeEventListener("touchmove", d, !1), i.animatingTo === i.currentSlide && !g && null !== r) {
168                        var c = v ? -r : r,
169                            u = c > 0 ? i.getTarget("next") : i.getTarget("prev");
170                        i.canAdvance(u) && (Number(new Date) - l < 550 && Math.abs(c) > 50 || Math.abs(c) > s / 2) ? i.flexAnimate(u, i.vars.pauseOnAction) : m || i.flexAnimate(i.currentSlide, i.vars.pauseOnAction, !0)
171                    }
172                    a.removeEventListener("touchend", f, !1), e = null, t = null, r = null, n = null
173                }, a.addEventListener("touchstart", c, !1))
174            },
175            resize: function () {
176                !i.animating && i.is(":visible") && (p || i.doMath(), m ? g.smoothHeight() : p ? (i.slides.width(i.computedW), i.update(i.pagingCount), i.setProps()) : u ? (i.viewport.height(i.h), i.setProps(i.h, "setTotal")) : (i.vars.smoothHeight && g.smoothHeight(), i.newSlides.width(i.computedW), i.setProps(i.computedW, "setTotal")))
177            },
178            smoothHeight: function (e) {
179                if (!u || m) {
180                    var t = m ? i : i.viewport;
181                    e ? t.animate({
182                        height: i.slides.eq(i.animatingTo).height()
183                    }, e) : t.height(i.slides.eq(i.animatingTo).height())
184                }
185            },
186            sync: function (t) {
187                var a = e(i.vars.sync).data("flexslider"),
188                    n = i.animatingTo;
189                switch (t) {
190                    case "animate":
191                        a.flexAnimate(n, i.vars.pauseOnAction, !1, !0);
192                        break;
193                    case "play":
194                        a.playing || a.asNav || a.play();
195                        break;
196                    case "pause":
197                        a.pause()
198                }
199            },
200            uniqueID: function (t) {
201                return t.filter("[id]").add(t.find("[id]")).each(function () {
202                    var t = e(this);
203                    t.attr("id", t.attr("id") + "_clone")
204                }), t
205            },
206            pauseInvisible: {
207                visProp: null,
208                init: function () {
209                    var e = g.pauseInvisible.getHiddenProp();
210                    if (e) {
211                        var t = e.replace(/[H|h]idden/, "") + "visibilitychange";
212                        document.addEventListener(t, function () {
213                            g.pauseInvisible.isHidden() ? i.startTimeout ? clearTimeout(i.startTimeout) : i.pause() : i.started ? i.play() : i.vars.initDelay > 0 ? setTimeout(i.play, i.vars.initDelay) : i.play()
214                        })
215                    }
216                },
217                isHidden: function () {
218                    var e = g.pauseInvisible.getHiddenProp();
219                    return !!e && document[e]
220                },
221                getHiddenProp: function () {
222                    var e = ["webkit", "moz", "ms", "o"];
223                    if ("hidden" in document) return "hidden";
224                    for (var t = 0; t < e.length; t++)
225                        if (e[t] + "Hidden" in document) return e[t] + "Hidden";
226                    return null
227                }
228            },
229            setToClearWatchedEvent: function () {
230                clearTimeout(s), s = setTimeout(function () {
231                    d = ""
232                }, 3e3)
233            }
234        }, i.flexAnimate = function (t, a, n, s, o) {
235            if (i.vars.animationLoop || t === i.currentSlide || (i.direction = t > i.currentSlide ? "next" : "prev"), f && 1 === i.pagingCount && (i.direction = i.currentItem < t ? "next" : "prev"), !i.animating && (i.canAdvance(t, o) || n) && i.is(":visible")) {
236                if (f && s) {
237                    var c = e(i.vars.asNavFor).data("flexslider");
238                    if (i.atEnd = 0 === t || t === i.count - 1, c.flexAnimate(t, !0, !1, !0, o), i.direction = i.currentItem < t ? "next" : "prev", c.direction = i.direction, Math.ceil((t + 1) / i.visible) - 1 === i.currentSlide || 0 === t) return i.currentItem = t, i.slides.removeClass(r + "active-slide").eq(t).addClass(r + "active-slide"), !1;
239                    i.currentItem = t, i.slides.removeClass(r + "active-slide").eq(t).addClass(r + "active-slide"), t = Math.floor(t / i.visible)
240                }
241                if (i.animating = !0, i.animatingTo = t, a && i.pause(), i.vars.before(i), i.syncExists && !o && g.sync("animate"), i.vars.controlNav && g.controlNav.active(), p || i.slides.removeClass(r + "active-slide").eq(t).addClass(r + "active-slide"), i.atEnd = 0 === t || t === i.last, i.vars.directionNav && g.directionNav.update(), t === i.last && (i.vars.end(i), i.vars.animationLoop || i.pause()), m) l ? (i.slides.eq(i.currentSlide).css({
242                    opacity: 0,
243                    zIndex: 1
244                }), i.slides.eq(t).css({
245                    opacity: 1,
246                    zIndex: 2
247                }), i.wrapup(x)) : (i.slides.eq(i.currentSlide).css({
248                    zIndex: 1
249                }).animate({
250                    opacity: 0
251                }, i.vars.animationSpeed, i.vars.easing), i.slides.eq(t).css({
252                    zIndex: 2
253                }).animate({
254                    opacity: 1
255                }, i.vars.animationSpeed, i.vars.easing, i.wrapup));
256                else {
257                    var d, h, S, x = u ? i.slides.filter(":first").height() : i.computedW;
258                    p ? (d = i.vars.itemMargin, S = (i.itemW + d) * i.move * i.animatingTo, h = S > i.limit && 1 !== i.visible ? i.limit : S) : h = 0 === i.currentSlide && t === i.count - 1 && i.vars.animationLoop && "next" !== i.direction ? v ? (i.count + i.cloneOffset) * x : 0 : i.currentSlide === i.last && 0 === t && i.vars.animationLoop && "prev" !== i.direction ? v ? 0 : (i.count + 1) * x : v ? (i.count - 1 - t + i.cloneOffset) * x : (t + i.cloneOffset) * x, i.setProps(h, "", i.vars.animationSpeed), i.transitions ? (i.vars.animationLoop && i.atEnd || (i.animating = !1, i.currentSlide = i.animatingTo), i.container.unbind("webkitTransitionEnd transitionend"), i.container.bind("webkitTransitionEnd transitionend", function () {
259                        clearTimeout(i.ensureAnimationEnd), i.wrapup(x)
260                    }), clearTimeout(i.ensureAnimationEnd), i.ensureAnimationEnd = setTimeout(function () {
261                        i.wrapup(x)
262                    }, i.vars.animationSpeed + 100)) : i.container.animate(i.args, i.vars.animationSpeed, i.vars.easing, function () {
263                        i.wrapup(x)
264                    })
265                }
266                i.vars.smoothHeight && g.smoothHeight(i.vars.animationSpeed)
267            }
268        }, i.wrapup = function (e) {
269            m || p || (0 === i.currentSlide && i.animatingTo === i.last && i.vars.animationLoop ? i.setProps(e, "jumpEnd") : i.currentSlide === i.last && 0 === i.animatingTo && i.vars.animationLoop && i.setProps(e, "jumpStart")), i.animating = !1, i.currentSlide = i.animatingTo, i.vars.after(i)
270        }, i.animateSlides = function () {
271            !i.animating && t && i.flexAnimate(i.getTarget("next"))
272        }, i.pause = function () {
273            clearInterval(i.animatedSlides), i.animatedSlides = null, i.playing = !1, i.vars.pausePlay && g.pausePlay.update("play"), i.syncExists && g.sync("pause")
274        }, i.play = function () {
275            i.playing && clearInterval(i.animatedSlides), i.animatedSlides = i.animatedSlides || setInterval(i.animateSlides, i.vars.slideshowSpeed), i.started = i.playing = !0, i.vars.pausePlay && g.pausePlay.update("pause"), i.syncExists && g.sync("play")
276        }, i.stop = function () {
277            i.pause(), i.stopped = !0
278        }, i.canAdvance = function (e, t) {
279            var a = f ? i.pagingCount - 1 : i.last;
280            return !!t || (!(!f || i.currentItem !== i.count - 1 || 0 !== e || "prev" !== i.direction) || (!f || 0 !== i.currentItem || e !== i.pagingCount - 1 || "next" === i.direction) && (!(e === i.currentSlide && !f) && (!!i.vars.animationLoop || (!i.atEnd || 0 !== i.currentSlide || e !== a || "next" === i.direction) && (!i.atEnd || i.currentSlide !== a || 0 !== e || "next" !== i.direction))))
281        }, i.getTarget = function (e) {
282            return i.direction = e, "next" === e ? i.currentSlide === i.last ? 0 : i.currentSlide + 1 : 0 === i.currentSlide ? i.last : i.currentSlide - 1
283        }, i.setProps = function (e, t, a) {
284            var n = function () {
285                var a = e || (i.itemW + i.vars.itemMargin) * i.move * i.animatingTo;
286                return -1 * function () {
287                    if (p) return "setTouch" === t ? e : v && i.animatingTo === i.last ? 0 : v ? i.limit - (i.itemW + i.vars.itemMargin) * i.move * i.animatingTo : i.animatingTo === i.last ? i.limit : a;
288                    switch (t) {
289                        case "setTotal":
290                            return v ? (i.count - 1 - i.currentSlide + i.cloneOffset) * e : (i.currentSlide + i.cloneOffset) * e;
291                        case "setTouch":
292                            return e;
293                        case "jumpEnd":
294                            return v ? e : i.count * e;
295                        case "jumpStart":
296                            return v ? i.count * e : e;
297                        default:
298                            return e
299                    }
300                }() + "px"
301            }();
302            i.transitions && (n = u ? "translate3d(0," + n + ",0)" : "translate3d(" + n + ",0,0)", a = void 0 !== a ? a / 1e3 + "s" : "0s", i.container.css("-" + i.pfx + "-transition-duration", a), i.container.css("transition-duration", a)), i.args[i.prop] = n, (i.transitions || void 0 === a) && i.container.css(i.args), i.container.css("transform", n)
303        }, i.setup = function (t) {
304            if (m) i.slides.css({
305                width: "100%",
306                float: "left",
307                marginRight: "-100%",
308                position: "relative"
309            }), "init" === t && (l ? i.slides.css({
310                opacity: 0,
311                display: "block",
312                webkitTransition: "opacity " + i.vars.animationSpeed / 1e3 + "s ease",
313                zIndex: 1
314            }).eq(i.currentSlide).css({
315                opacity: 1,
316                zIndex: 2
317            }) : 0 == i.vars.fadeFirstSlide ? i.slides.css({
318                opacity: 0,
319                display: "block",
320                zIndex: 1
321            }).eq(i.currentSlide).css({
322                zIndex: 2
323            }).css({
324                opacity: 1
325            }) : i.slides.css({
326                opacity: 0,
327                display: "block",
328                zIndex: 1
329            }).eq(i.currentSlide).css({
330                zIndex: 2
331            }).animate({
332                opacity: 1
333            }, i.vars.animationSpeed, i.vars.easing)), i.vars.smoothHeight && g.smoothHeight();
334            else {
335                var a, n;
336                "init" === t && (i.viewport = e('<div class="' + r + 'viewport"></div>').css({
337                    overflow: "hidden",
338                    position: "relative"
339                }).appendTo(i).append(i.container), i.cloneCount = 0, i.cloneOffset = 0, v && (n = e.makeArray(i.slides).reverse(), i.slides = e(n), i.container.empty().append(i.slides))), i.vars.animationLoop && !p && (i.cloneCount = 2, i.cloneOffset = 1, "init" !== t && i.container.find(".clone").remove(), i.container.append(g.uniqueID(i.slides.first().clone().addClass("clone")).attr("aria-hidden", "true")).prepend(g.uniqueID(i.slides.last().clone().addClass("clone")).attr("aria-hidden", "true"))), i.newSlides = e(i.vars.selector, i), a = v ? i.count - 1 - i.currentSlide + i.cloneOffset : i.currentSlide + i.cloneOffset, u && !p ? (i.container.height(200 * (i.count + i.cloneCount) + "%").css("position", "absolute").width("100%"), setTimeout(function () {
340                    i.newSlides.css({
341                        display: "block"
342                    }), i.doMath(), i.viewport.height(i.h), i.setProps(a * i.h, "init")
343                }, "init" === t ? 100 : 0)) : (i.container.width(200 * (i.count + i.cloneCount) + "%"), i.setProps(a * i.computedW, "init"), setTimeout(function () {
344                    i.doMath(), i.newSlides.css({
345                        width: i.computedW,
346                        marginRight: i.computedM,
347                        float: "left",
348                        display: "block"
349                    }), i.vars.smoothHeight && g.smoothHeight()
350                }, "init" === t ? 100 : 0))
351            }
352            p || i.slides.removeClass(r + "active-slide").eq(i.currentSlide).addClass(r + "active-slide"), i.vars.init(i)
353        }, i.doMath = function () {
354            var e = i.slides.first(),
355                t = i.vars.itemMargin,
356                a = i.vars.minItems,
357                n = i.vars.maxItems;
358            i.w = void 0 === i.viewport ? i.width() : i.viewport.width(), i.h = e.height(), i.boxPadding = e.outerWidth() - e.width(), p ? (i.itemT = i.vars.itemWidth + t, i.itemM = t, i.minW = a ? a * i.itemT : i.w, i.maxW = n ? n * i.itemT - t : i.w, i.itemW = i.minW > i.w ? (i.w - t * (a - 1)) / a : i.maxW < i.w ? (i.w - t * (n - 1)) / n : i.vars.itemWidth > i.w ? i.w : i.vars.itemWidth, i.visible = Math.floor(i.w / i.itemW), i.move = i.vars.move > 0 && i.vars.move < i.visible ? i.vars.move : i.visible, i.pagingCount = Math.ceil((i.count - i.visible) / i.move + 1), i.last = i.pagingCount - 1, i.limit = 1 === i.pagingCount ? 0 : i.vars.itemWidth > i.w ? i.itemW * (i.count - 1) + t * (i.count - 1) : (i.itemW + t) * i.count - i.w - t) : (i.itemW = i.w, i.itemM = t, i.pagingCount = i.count, i.last = i.count - 1), i.computedW = i.itemW - i.boxPadding, i.computedM = i.itemM
359        }, i.update = function (e, t) {
360            i.doMath(), p || (e < i.currentSlide ? i.currentSlide += 1 : e <= i.currentSlide && 0 !== e && (i.currentSlide -= 1), i.animatingTo = i.currentSlide), i.vars.controlNav && !i.manualControls && ("add" === t && !p || i.pagingCount > i.controlNav.length ? g.controlNav.update("add") : ("remove" === t && !p || i.pagingCount < i.controlNav.length) && (p && i.currentSlide > i.last && (i.currentSlide -= 1, i.animatingTo -= 1), g.controlNav.update("remove", i.last))), i.vars.directionNav && g.directionNav.update()
361        }, i.addSlide = function (t, a) {
362            var n = e(t);
363            i.count += 1, i.last = i.count - 1, u && v ? void 0 !== a ? i.slides.eq(i.count - a).after(n) : i.container.prepend(n) : void 0 !== a ? i.slides.eq(a).before(n) : i.container.append(n), i.update(a, "add"), i.slides = e(i.vars.selector + ":not(.clone)", i), i.setup(), i.vars.added(i)
364        }, i.removeSlide = function (t) {
365            var a = isNaN(t) ? i.slides.index(e(t)) : t;
366            i.count -= 1, i.last = i.count - 1, isNaN(t) ? e(t, i.slides).remove() : u && v ? i.slides.eq(i.last).remove() : i.slides.eq(t).remove(), i.doMath(), i.update(a, "remove"), i.slides = e(i.vars.selector + ":not(.clone)", i), i.setup(), i.vars.removed(i)
367        }, g.init()
368    }, e(window).blur(function (e) {
369        t = !1
370    }).focus(function (e) {
371        t = !0
372    }), e.flexslider.defaults = {
373        namespace: "flex-",
374        selector: ".slides > li",
375        animation: "fade",
376        easing: "swing",
377        direction: "horizontal",
378        reverse: !1,
379        animationLoop: !0,
380        smoothHeight: !1,
381        startAt: 0,
382        slideshow: !0,
383        slideshowSpeed: 7e3,
384        animationSpeed: 600,
385        initDelay: 0,
386        randomize: !1,
387        fadeFirstSlide: !0,
388        thumbCaptions: !1,
389        pauseOnAction: !0,
390        pauseOnHover: !1,
391        pauseInvisible: !0,
392        useCSS: !0,
393        touch: !0,
394        video: !1,
395        controlNav: !0,
396        directionNav: !0,
397        prevText: "",
398        nextText: "",
399        keyboard: !0,
400        multipleKeyboard: !1,
401        mousewheel: !1,
402        pausePlay: !1,
403        pauseText: "Pause",
404        playText: "Play",
405        controlsContainer: "",
406        manualControls: "",
407        customDirectionNav: "",
408        sync: "",
409        asNavFor: "",
410        itemWidth: 0,
411        itemMargin: 0,
412        minItems: 1,
413        maxItems: 0,
414        move: 0,
415        allowOneSlide: !0,
416        start: function () { },
417        before: function () { },
418        after: function () { },
419        end: function () { },
420        added: function () { },
421        removed: function () { },
422        init: function () { }
423    }, e.fn.flexslider = function (t) {
424        if (void 0 === t && (t = {}), "object" == typeof t) return this.each(function () {
425            var a = e(this),
426                n = t.selector ? t.selector : ".slides > li",
427                i = a.find(n);
428            1 === i.length && !0 === t.allowOneSlide || 0 === i.length ? (i.fadeIn(400), t.start && t.start(a)) : void 0 === a.data("flexslider") && new e.flexslider(this, t)
429        });
430        var a = e(this).data("flexslider");
431        switch (t) {
432            case "play":
433                a.play();
434                break;
435            case "pause":
436                a.pause();
437                break;
438            case "stop":
439                a.stop();
440                break;
441            case "next":
442                a.flexAnimate(a.getTarget("next"), !0);
443                break;
444            case "prev":
445            case "previous":
446                a.flexAnimate(a.getTarget("prev"), !0);
447                break;
448            default:
449                "number" == typeof t && a.flexAnimate(t, !0)
450        }
451    }
452}(jQuery);

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.