PageSourceSearch

https://yelmocines.es/Sections/Garantia/content/scripts/jquery.bxslider.min.js

js yelmocines.es collected 2026-10-02 06:45:27 UTC 28,831 bytes, 449 lines download raw bytes

1/**
2 * BxSlider v4.1.2 - Fully loaded, responsive content slider
3 * http://bxslider.com
4 *
5 * Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
6 * Written while drinking Belgian ales and listening to jazz
7 *
8 * Released under the MIT license - http://opensource.org/licenses/MIT
9 */
10! function(t) {
11    var e = {},
12        s = {
13            mode: "horizontal",
14            slideSelector: "",
15            infiniteLoop: !0,
16            hideControlOnEnd: !1,
17            speed: 500,
18            easing: null,
19            slideMargin: 0,
20            startSlide: 0,
21            randomStart: !1,
22            captions: !1,
23            ticker: !1,
24            tickerHover: !1,
25            adaptiveHeight: !1,
26            adaptiveHeightSpeed: 500,
27            video: !1,
28            useCSS: !0,
29            preloadImages: "visible",
30            responsive: !0,
31            slideZIndex: 50,
32            touchEnabled: !0,
33            swipeThreshold: 50,
34            oneToOneTouch: !0,
35            preventDefaultSwipeX: !0,
36            preventDefaultSwipeY: !1,
37            pager: !0,
38            pagerType: "full",
39            pagerShortSeparator: " / ",
40            pagerSelector: null,
41            buildPager: null,
42            pagerCustom: null,
43            controls: !0,
44            nextText: "",
45            prevText: "",
46            nextSelector: null,
47            prevSelector: null,
48            autoControls: !1,
49            startText: "Start",
50            stopText: "Stop",
51            autoControlsCombine: !1,
52            autoControlsSelector: null,
53            auto: !1,
54            pause: 4e3,
55            autoStart: !0,
56            autoDirection: "next",
57            autoHover: !1,
58            autoDelay: 0,
59            minSlides: 1,
60            maxSlides: 1,
61            moveSlides: 0,
62            slideWidth: 0,
63            onSliderLoad: function() {},
64            onSlideBefore: function() {},
65            onSlideAfter: function() {},
66            onSlideNext: function() {},
67            onSlidePrev: function() {},
68            onSliderResize: function() {}
69        };
70    t.fn.bxSlider = function(n) {
71        if (0 == this.length) return this;
72        if (this.length > 1) return this.each(function() {
73            t(this).bxSlider(n)
74        }), this;
75        var o = {},
76            r = this;
77        e.el = this;
78        var a = t(window).width(),
79            l = t(window).height(),
80            d = function() {
81                o.settings = t.extend({}, s, n), o.settings.slideWidth = parseInt(o.settings.slideWidth), o.children = r.children(o.settings.slideSelector), o.children.length < o.settings.minSlides && (o.settings.minSlides = o.children.length), o.children.length < o.settings.maxSlides && (o.settings.maxSlides = o.children.length), o.settings.randomStart && (o.settings.startSlide = Math.floor(Math.random() * o.children.length)), o.active = {
82                    index: o.settings.startSlide
83                }, o.carousel = o.settings.minSlides > 1 || o.settings.maxSlides > 1, o.carousel && (o.settings.preloadImages = "all"), o.minThreshold = o.settings.minSlides * o.settings.slideWidth + (o.settings.minSlides - 1) * o.settings.slideMargin, o.maxThreshold = o.settings.maxSlides * o.settings.slideWidth + (o.settings.maxSlides - 1) * o.settings.slideMargin, o.working = !1, o.controls = {}, o.interval = null, o.animProp = "vertical" == o.settings.mode ? "top" : "left", o.usingCSS = o.settings.useCSS && "fade" != o.settings.mode && function() {
84                    var t = document.createElement("div"),
85                        e = ["WebkitPerspective", "MozPerspective", "OPerspective", "msPerspective"];
86                    for (var i in e)
87                        if (void 0 !== t.style[e[i]]) return o.cssPrefix = e[i].replace("Perspective", "").toLowerCase(), o.animProp = "-" + o.cssPrefix + "-transform", !0;
88                    return !1
89                }(), "vertical" == o.settings.mode && (o.settings.maxSlides = o.settings.minSlides), r.data("origStyle", r.attr("style")), r.children(o.settings.slideSelector).each(function() {
90                    t(this).data("origStyle", t(this).attr("style"))
91                }), c()
92            },
93            c = function() {
94                r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>
94'), o.viewport = r.parent(), o.loader = t('<div class="bx-loading" />'), o.viewport.prepend(o.loader), r.css({
95                    width: "horizontal" == o.settings.mode ? 100 * o.children.length + 215 + "%" : "auto",
96                    position: "relative"
97                }), o.usingCSS && o.settings.easing ? r.css("-" + o.cssPrefix + "-transition-timing-function", o.settings.easing) : o.settings.easing || (o.settings.easing = "swing"), f(), o.viewport.css({
98                    width: "100%"
99                }), o.viewport.parent().css({
100                    maxWidth: p()
101                }), o.settings.pager || o.viewport.parent().css({
102                    margin: "0 auto 0px"
103                }), o.children.css({
104                    "float": "horizontal" == o.settings.mode ? "left" : "none",
105                    listStyle: "none",
106                    position: "relative"
107                }), o.children.css("width", u()), "horizontal" == o.settings.mode && o.settings.slideMargin > 0 && o.children.css("marginRight", o.settings.slideMargin), "vertical" == o.settings.mode && o.settings.slideMargin > 0 && o.children.css("marginBottom", o.settings.slideMargin), "fade" == o.settings.mode && (o.children.css({
108                    position: "absolute",
109                    zIndex: 0,
110                    display: "none"
111                }), o.children.eq(o.settings.startSlide).css({
112                    zIndex: o.settings.slideZIndex,
113                    display: "block"
114                })), o.controls.el = t('<div class="bx-controls" />'), o.settings.captions && P(), o.active.last = o.settings.startSlide == x() - 1, o.settings.video && r.fitVids();
115                var e = o.children.eq(o.settings.startSlide);
116                "all" == o.settings.preloadImages && (e = o.children), o.settings.ticker ? o.settings.pager = !1 : (o.settings.pager && T(), o.settings.controls && C(), o.settings.auto && o.settings.autoControls && E(), (o.settings.controls || o.settings.autoControls || o.settings.pager) && o.viewport.after(o.controls.el)), g(e, h)
117            },
118            g = function(e, i) {
119                var s = e.find("img, iframe").length;
120                if (0 == s) return i(), void 0;
121                var n = 0;
122                e.find("img, iframe").each(function() {
123                    t(this).one("load", function() {
124                        ++n == s && i()
125                    }).each(function() {
126                        this.complete && t(this).load()
127                    })
128                })
129            },
130            h = function() {
131                if (o.settings.infiniteLoop && "fade" != o.settings.mode && !o.settings.ticker) {
132                    var e = "vertical" == o.settings.mode ? o.settings.minSlides : o.settings.maxSlides,
133                        i = o.children.slice(0, e).clone().addClass("bx-clone"),
134                        s = o.children.slice(-e).clone().addClass("bx-clone");
135                    r.append(i).prepend(s)
136                }
137                o.loader.remove(), S(), "vertical" == o.settings.mode && (o.settings.adaptiveHeight = !0), o.viewport.height(v()), r.redrawSlider(), o.settings.onSliderLoad(o.active.index), o.initialized = !0, o.settings.responsive && t(window).bind("resize", Z), o.settings.auto && o.settings.autoStart && H(), o.settings.ticker && L(), o.settings.pager && q(o.settings.startSlide), o.settings.controls && W(), o.settings.touchEnabled && !o.settings.ticker && O()
138            },
139            v = function() {
140                var e = 0,
141                    s = t();
142                if ("vertical" == o.settings.mode || o.settings.adaptiveHeight)
143                    if (o.carousel) {
144                        var n = 1 == o.settings.moveSlides ? o.active.index : o.active.index * m();
145                        for (s = o.children.eq(n), i = 1; i <= o.settings.maxSlides - 1; i++) s = n + i >= o.children.length ? s.add(o.children.eq(i - 1)) : s.add(o.children.eq(n + i))
146                    } else s = o.children.eq(o.active.index);
147                else s = o.children;
148                return "vertical" == o.settings.mode ? (s.each(function() {
149                    e += t(this).outerHeight()
150                }), o.settings.slideMargin > 0 && (e += o.settings.slideMargin * (o.settings.minSlides - 1))) : e = Math.max.apply(Math, s.map(function() {
151                    return t(this).outerHeight(!1)
152                }).get()), e
153            },
154            p = function() {
155                var t = "100%";
156                return o.settings.slideWidth > 0 && (t = "horizontal" == o.settings.mode ? o.settings.maxSlides * o.settings.slideWidth + (o.settings.maxSlides - 1) * o.settings.slideMargin : o.settings.slideWidth), t
157            },
158            u = function() {
159                var t = o.settings.slideWidth,
160                    e = o.viewport.width();
161                return 0 == o.settings.slideWidth || o.settings.slideWidth > e && !o.carousel || "vertical" == o.settings.mode ? t = e : o.settings.maxSlides > 1 && "horizontal" == o.settings.mode && (e > o.maxThreshold || e < o.minThreshold && (t = (e - o.settings.slideMargin * (o.settings.minSlides - 1)) / o.settings.minSlides)), t
162            },
163            f = function() {
164                var t = 1;
165                if ("horizontal" == o.settings.mode && o.settings.slideWidth > 0)
166                    if (o.viewport.width() < o.minThreshold) t = o.settings.minSlides;
167                    else if (o.viewport.width() > o.maxThreshold) t = o.settings.maxSlides;
168                else {
169                    var e = o.children.first().width();
170                    t = Math.floor(o.viewport.width() / e)
171                } else "vertical" == o.settings.mode && (t = o.settings.minSlides);
172                return t
173            },
174            x = function() {
175                var t = 0;
176                if (o.settings.moveSlides > 0)
177                    if (o.settings.infiniteLoop) t = o.children.length / m();
178                    else
179                        for (var e = 0, i = 0; e < o.children.length;) ++t, e = i + f(), i += o.settings.moveSlides <= f() ? o.settings.moveSlides : f();
180                else t = Math.ceil(o.children.length / f());
181                return t
182            },
183            m = function() {
184                return o.settings.moveSlides > 0 && o.settings.moveSlides <= f() ? o.settings.moveSlides : f()
185            },
186            S = function() {
187                if (o.children.length > o.settings.maxSlides && o.active.last && !o.settings.infiniteLoop) {
188                    if ("horizontal" == o.settings.mode) {
189                        var t = o.children.last(),
190                            e = t.position();
191                        b(-(e.left - (o.viewport.width() - t.width())), "reset", 0)
192                    } else if ("vertical" == o.settings.mode) {
193                        var i = o.children.length - o.settings.minSlides,
194                            e = o.children.eq(i).position();
195                        b(-e.top, "reset", 0)
196                    }
197                } else {
198                    var e = o.children.eq(o.active.index * m()).position();
199                    o.active.index == x() - 1 && (o.active.last = !0), void 0 != e && ("horizontal" == o.settings.mode ? b(-e.left, "reset", 0) : "vertical" == o.settings.mode && b(-e.top, "reset", 0))
200                }
201            },
202            b = function(t, e, i, s) {
203                if (o.usingCSS) {
204                    var n = "vertical" == o.settings.mode ? "translate3d(0, " + t + "px, 0)" : "translate3d(" + t + "px, 0, 0)";
205                    r.css("-" + o.cssPrefix + "-transition-duration", i / 1e3 + "s"), "slide" == e ? (r.css(o.animProp, n), r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd", function() {
206                        r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"), D()
207                    })) : "reset" == e ? r.css(o.animProp, n) : "ticker" == e && (r.css("-" + o.cssPrefix + "-transition-timing-function", "linear"), r.css(o.animProp, n), r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd", function() {
208                        r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"), b(s.resetValue, "reset", 0), N()
209                    }))
210                } else {
211                    var a = {};
212                    a[o.animProp] = t, "slide" == e ? r.animate(a, i, o.settings.easing, function() {
213                        D()
214                    }) : "reset" == e ? r.css(o.animProp, t) : "ticker" == e && r.animate(a, speed, "linear", function() {
215                        b(s.resetValue, "reset", 0), N()
216                    })
217                }
218            },
219            w = function() {
220                for (var e = "", i = x(), s = 0; i > s; s++) {
221                    var n = "";
222                    o.settings.buildPager && t.isFunction(o.settings.buildPager) ? (n = o.settings.buildPager(s), o.pagerEl.addClass("bx-custom-pager")) : (n = s + 1, o.pagerEl.addClass("bx-default-pager")), e += '<div class="bx-pager-item"><a href="" data-slide-index="' + s + '" class="bx-pager-link">' + n + "</a></div>"
223                }
224                o.pagerEl.html(e)
225            },
226            T = function() {
227                o.settings.pagerCustom ? o.pagerEl = t(o.settings.pagerCustom) : (o.pagerEl = t('<div class="bx-pager" />'), o.settings.pagerSelector ? t(o.settings.pagerSelector).html(o.pagerEl) : o.controls.el.addClass("bx-has-pager").append(o.pagerEl), w()), o.pagerEl.on("click", "a", I)
228            },
229            C = function() {
230                o.controls.next = t('<a class="bx-next" href="">' + o.settings.nextText + "</a>"), o.controls.prev = t('<a class="bx-prev" href="">' + o.settings.prevText + "</a>"), o.controls.next.bind("click", y), o.controls.prev.bind("click", z), o.settings.nextSelector && t(o.settings.nextSelector).append(o.controls.next), o.settings.prevSelector && t(o.settings.prevSelector).append(o.controls.prev), o.settings.nextSelector || o.settings.prevSelector || (o.controls.directionEl = t('<div class="bx-controls-direction" />'), o.controls.directionEl.append(o.controls.prev).append(o.controls.next), o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))
231            },
232            E = function() {
233                o.controls.start = t('<div class="bx-controls-auto-item"><a class="bx-start" href="">' + o.settings.startText + "</a></div>"), o.controls.stop = t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">' + o.settings.stopText + "</a></div>"), o.controls.autoEl = t('<div class="bx-controls-auto" />'), o.controls.autoEl.on("click", ".bx-start", k), o.controls.autoEl.on("click", ".bx-stop", M), o.settings.autoControlsCombine ? o.controls.autoEl.append(o.controls.start) : o.controls.autoEl.append(o.controls.start).append(o.controls.stop), o.settings.autoControlsSelector ? t(o.settings.autoControlsSelector).html(o.controls.autoEl) : o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl), A(o.settings.autoStart ? "stop" : "start")
234            },
235            P = function() {
236                o.children.each(function() {
237                    var e = t(this).find("img:first").attr("title");
238                    void 0 != e && ("" + e).length && t(this).append('<div class="bx-caption"><span>' + e + "</span></div>")
239                })
240            },
241            y = function(t) {
242                o.settings.auto && r.stopAuto(), r.goToNextSlide(), t.preventDefault()
243            },
244            z = function(t) {
245                o.settings.auto && r.stopAuto(), r.goToPrevSlide(), t.preventDefault()
246            },
247            k = function(t) {
248                r.startAuto(), t.preventDefault()
249            },
250            M = function(t) {
251                r.stopAuto(), t.preventDefault()
252            },
253            I = function(e) {
254                o.settings.auto && r.stopAuto();
255                var i = t(e.currentTarget),
256                    s = parseInt(i.attr("data-slide-index"));
257                s != o.active.index && r.goToSlide(s), e.preventDefault()
258            },
259            q = function(e) {
260                var i = o.children.length;
261                return "short" == o.settings.pagerType ? (o.settings.maxSlides > 1 && (i = Math.ceil(o.children.length / o.settings.maxSlides)), o.pagerEl.html(e + 1 + o.settings.pagerShortSeparator + i), void 0) : (o.pagerEl.find("a").removeClass("active"), o.pagerEl.each(function(i, s) {
262                    t(s).find("a").eq(e).addClass("active")
263                }), void 0)
264            },
265            D = function() {
266                if (o.settings.infiniteLoop) {
267                    var t = "";
268                    0 == o.active.index ? t = o.children.eq(0).position() : o.active.index == x() - 1 && o.carousel ? t = o.children.eq((x() - 1) * m()).position() : o.active.index == o.children.length - 1 && (t = o.children.eq(o.children.length - 1).position()), t && ("horizontal" == o.settings.mode ? b(-t.left, "reset", 0) : "vertical" == o.settings.mode && b(-t.top, "reset", 0))
269                }
270                o.working = !1, o.settings.onSlideAfter(o.children.eq(o.active.index), o.oldIndex, o.active.index)
271            },
272            A = function(t) {
273                o.settings.autoControlsCombine ? o.controls.autoEl.html(o.controls[t]) : (o.controls.autoEl.find("a").removeClass("active"), o.controls.autoEl.find("a:not(.bx-" + t + ")").addClass("active"))
274            },
275            W = function() {
276                1 == x() ? (o.controls.prev.addClass("disabled"), o.controls.next.addClass("disabled")) : !o.settings.infiniteLoop && o.settings.hideControlOnEnd && (0 == o.active.index ? (o.controls.prev.addClass("disabled"), o.controls.next.removeClass("disabled")) : o.active.index == x() - 1 ? (o.controls.next.addClass("disabled"), o.controls.prev.removeClass("disabled")) : (o.controls.prev.removeClass("disabled"), o.controls.next.removeClass("disabled")))
277            },
278            H = function() {
279                o.settings.autoDelay > 0 ? setTimeout(r.startAuto, o.settings.autoDelay) : r.startAuto(), o.settings.autoHover && r.hover(function() {
280                    o.interval && (r.stopAuto(!0), o.autoPaused = !0)
281                }, function() {
282                    o.autoPaused && (r.startAuto(!0), o.autoPaused = null)
283                })
284            },
285            L = function() {
286                var e = 0;
287                if ("next" == o.settings.autoDirection) r.append(o.children.clone().addClass("bx-clone"));
288                else {
289                    r.prepend(o.children.clone().addClass("bx-clone"));
290                    var i = o.children.first().position();
291                    e = "horizontal" == o.settings.mode ? -i.left : -i.top
292                }
293                b(e, "reset", 0), o.settings.pager = !1, o.settings.controls = !1, o.settings.autoControls = !1, o.settings.tickerHover && !o.usingCSS && o.viewport.hover(function() {
294                    r.stop()
295                }, function() {
296                    var e = 0;
297                    o.children.each(function() {
298                        e += "horizontal" == o.settings.mode ? t(this).outerWidth(!0) : t(this).outerHeight(!0)
299                    });
300                    var i = o.settings.speed / e,
301                        s = "horizontal" == o.settings.mode ? "left" : "top",
302                        n = i * (e - Math.abs(parseInt(r.css(s))
302));
303                    N(n)
304                }), N()
305            },
306            N = function(t) {
307                speed = t ? t : o.settings.speed;
308                var e = {
309                        left: 0,
310                        top: 0
311                    },
312                    i = {
313                        left: 0,
314                        top: 0
315                    };
316                "next" == o.settings.autoDirection ? e = r.find(".bx-clone").first().position() : i = o.children.first().position();
317                var s = "horizontal" == o.settings.mode ? -e.left : -e.top,
318                    n = "horizontal" == o.settings.mode ? -i.left : -i.top,
319                    a = {
320                        resetValue: n
321                    };
322                b(s, "ticker", speed, a)
323            },
324            O = function() {
325                o.touch = {
326                    start: {
327                        x: 0,
328                        y: 0
329                    },
330                    end: {
331                        x: 0,
332                        y: 0
333                    }
334                }, o.viewport.bind("touchstart", X)
335            },
336            X = function(t) {
337                if (o.working) t.preventDefault();
338                else {
339                    o.touch.originalPos = r.position();
340                    var e = t.originalEvent;
341                    o.touch.start.x = e.changedTouches[0].pageX, o.touch.start.y = e.changedTouches[0].pageY, o.viewport.bind("touchmove", Y), o.viewport.bind("touchend", V)
342                }
343            },
344            Y = function(t) {
345                var e = t.originalEvent,
346                    i = Math.abs(e.changedTouches[0].pageX - o.touch.start.x),
347                    s = Math.abs(e.changedTouches[0].pageY - o.touch.start.y);
348                if (3 * i > s && o.settings.preventDefaultSwipeX ? t.preventDefault() : 3 * s > i && o.settings.preventDefaultSwipeY && t.preventDefault(), "fade" != o.settings.mode && o.settings.oneToOneTouch) {
349                    var n = 0;
350                    if ("horizontal" == o.settings.mode) {
351                        var r = e.changedTouches[0].pageX - o.touch.start.x;
352                        n = o.touch.originalPos.left + r
353                    } else {
354                        var r = e.changedTouches[0].pageY - o.touch.start.y;
355                        n = o.touch.originalPos.top + r
356                    }
357                    b(n, "reset", 0)
358                }
359            },
360            V = function(t) {
361                o.viewport.unbind("touchmove", Y);
362                var e = t.originalEvent,
363                    i = 0;
364                if (o.touch.end.x = e.changedTouches[0].pageX, o.touch.end.y = e.changedTouches[0].pageY, "fade" == o.settings.mode) {
365                    var s = Math.abs(o.touch.start.x - o.touch.end.x);
366                    s >= o.settings.swipeThreshold && (o.touch.start.x > o.touch.end.x ? r.goToNextSlide() : r.goToPrevSlide(), r.stopAuto())
367                } else {
368                    var s = 0;
369                    "horizontal" == o.settings.mode ? (s = o.touch.end.x - o.touch.start.x, i = o.touch.originalPos.left) : (s = o.touch.end.y - o.touch.start.y, i = o.touch.originalPos.top), !o.settings.infiniteLoop && (0 == o.active.index && s > 0 || o.active.last && 0 > s) ? b(i, "reset", 200) : Math.abs(s) >= o.settings.swipeThreshold ? (0 > s ? r.goToNextSlide() : r.goToPrevSlide(), r.stopAuto()) : b(i, "reset", 200)
370                }
371                o.viewport.unbind("touchend", V)
372            },
373            Z = function() {
374                var e = t(window).width(),
375                    i = t(window).height();
376                (a != e || l != i) && (a = e, l = i, r.redrawSlider(), o.settings.onSliderResize.call(r, o.active.index))
377            };
378        return r.goToSlide = function(e, i) {
379            if (!o.working && o.active.index != e)
380                if (o.working = !0, o.oldIndex = o.active.index, o.active.index = 0 > e ? x() - 1 : e >= x() ? 0 : e, o.settings.onSlideBefore(o.children.eq(o.active.index), o.oldIndex, o.active.index), "next" == i ? o.settings.onSlideNext(o.children.eq(o.active.index), o.oldIndex, o.active.index) : "prev" == i && o.settings.onSlidePrev(o.children.eq(o.active.index), o.oldIndex, o.active.index), o.active.last = o.active.index >= x() - 1, o.settings.pager && q(o.active.index), o.settings.controls && W(), "fade" == o.settings.mode) o.settings.adaptiveHeight && o.viewport.height() != v() && o.viewport.animate({
381                    height: v()
382                }, o.settings.adaptiveHeightSpeed), o.children.filter(":visible").fadeOut(o.settings.speed).css({
383                    zIndex: 0
384                }), o.children.eq(o.active.index).css("zIndex", o.settings.slideZIndex + 1).fadeIn(o.settings.speed, function() {
385                    t(this).css("zIndex", o.settings.slideZIndex), D()
386                });
387                else {
388                    o.settings.adaptiveHeight && o.viewport.height() != v() && o.viewport.animate({
389                        height: v()
390                    }, o.settings.adaptiveHeightSpeed);
391                    var s = 0,
392                        n = {
393                            left: 0,
394                            top: 0
395                        };
396                    if (!o.settings.infiniteLoop && o.carousel && o.active.last)
397                        if ("horizontal" == o.settings.mode) {
398                            var a = o.children.eq(o.children.length - 1);
399                            n = a.position(), s = o.viewport.width() - a.outerWidth()
400                        } else {
401                            var l = o.children.length - o.settings.minSlides;
402                            n = o.children.eq(l).position()
403                        } else if (o.carousel && o.active.last && "prev" == i) {
404                        var d = 1 == o.settings.moveSlides ? o.settings.maxSlides - m() : (x() - 1) * m() - (o.children.length - o.settings.maxSlides),
405                            a = r.children(".bx-clone").eq(d);
406                        n = a.position()
407                    } else if ("next" == i && 0 == o.active.index) n = r.find("> .bx-clone").eq(o.settings.maxSlides).position(), o.active.last = !1;
408                    else if (e >= 0) {
409                        var c = e * m();
410                        n = o.children.eq(c).position()
411                    }
412                    if ("undefined" != typeof n) {
413                        var g = "horizontal" == o.settings.mode ? -(n.left - s) : -n.top;
414                        b(g, "slide", o.settings.speed)
415                    }
416                }
417        }, r.goToNextSlide = function() {
418            if (o.settings.infiniteLoop || !o.active.last) {
419                var t = parseInt(o.active.index) + 1;
420                r.goToSlide(t, "next")
421            }
422        }, r.goToPrevSlide = function() {
423            if (o.settings.infiniteLoop || 0 != o.active.index) {
424                var t = parseInt(o.active.index) - 1;
425                r.goToSlide(t, "prev")
426            }
427        }, r.startAuto = function(t) {
428            o.interval || (o.interval = setInterval(function() {
429                "next" == o.settings.autoDirection ? r.goToNextSlide() : r.goToPrevSlide()
430            }, o.settings.pause), o.settings.autoControls && 1 != t && A("stop"))
431        }, r.stopAuto = function(t) {
432            o.interval && (clearInterval(o.interval), o.interval = null, o.settings.autoControls && 1 != t && A("start"))
433        }, r.getCurrentSlide = function() {
434            return o.active.index
435        }, r.getCurrentSlideElement = function() {
436            return o.children.eq(o.active.index)
437        }, r.getSlideCount = function() {
438            return o.children.length
439        }, r.redrawSlider = function() {
440            o.children.add(r.find(".bx-clone")).outerWidth(u()), o.viewport.css("height", v()), o.settings.ticker || S(), o.active.last && (o.active.index = x() - 1), o.active.index >= x() && (o.active.last = !0), o.settings.pager && !o.settings.pagerCustom && (w(), q(o.active.index))
441        }, r.destroySlider = function() {
442            o.initialized && (o.initialized = !1, t(".bx-clone", this).remove(), o.children.each(function() {
443                void 0 != t(this).data("origStyle") ? t(this).attr("style", t(this).data("origStyle")) : t(this).removeAttr("style")
444            }), void 0 != t(this).data("origStyle") ? this.attr("style", t(this).data("origStyle")) : t(this).removeAttr("style"), t(this).unwrap().unwrap(), o.controls.el && o.controls.el.remove(), o.controls.next && o.controls.next.remove(), o.controls.prev && o.controls.prev.remove(), o.pagerEl && o.settings.controls && o.pagerEl.remove(), t(".bx-caption", this).remove(), o.controls.autoEl && o.controls.autoEl.remove(), clearInterval(o.interval), o.settings.responsive && t(window).unbind("resize", Z))
445        }, r.reloadSlider = function(t) {
446            void 0 != t && (n = t), r.destroySlider(), d()
447        }, d(), this
448    }
449}(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.