PageSourceSearch

https://ginzanet.com/ibook/201806/js/owl.carousel.min.js

js ginzanet.com collected 2026-10-02 18:46:48 UTC 63,591 bytes, 1,545 lines download raw bytes

vendor: 41,607 bytes, lines 1-1051
1/**
2 * Owl Carousel v2.2.1
3 * Copyright 2013-2017 David Deutsch
4 * Licensed under  ()
5 */
6!function(a, b, c, d) {
7    function e(b, c) {
8        this.settings = null,
9        this.options = a.extend({}, e.Defaults, c),
10        this.$element = a(b),
11        this._handlers = {},
12        this._plugins = {},
13        this._supress = {},
14        this._current = null,
15        this._speed = null,
16        this._coordinates = [],
17        this._breakpoint = null,
18        this._width = null,
19        this._items = [],
20        this._clones = [],
21        this._mergers = [],
22        this._widths = [],
23        this._invalidated = {},
24        this._pipe = [],
25        this._drag = {
26            time: null,
27            target: null,
28            pointer: null,
29            stage: {
30                start: null,
31                current: null
32            },
33            direction: null
34        },
35        this._states = {
36            current: {},
37            tags: {
38                initializing: ["busy"],
39                animating: ["busy"],
40                dragging: ["interacting"]
41            }
42        },
43        a.each(["onResize", "onThrottledResize"], a.proxy(function(b, c) {
44            this._handlers[c] = a.proxy(this[c], this)
45        }, this)),
46        a.each(e.Plugins, a.proxy(function(a, b) {
47            this._plugins[a.charAt(0).toLowerCase() + a.slice(1)] = new b(this)
48        }, this)),
49        a.each(e.Workers, a.proxy(function(b, c) {
50            this._pipe.push({
51                filter: c.filter,
52                run: a.proxy(c.run, this)
53            })
54        }, this)),
55        this.setup(),
56        this.initialize()
57    }
58    e.Defaults = {
59        items: 3,
60        loop: !1,
61        center: !1,
62        rewind: !1,
63        mouseDrag: !0,
64        touchDrag: !0,
65        pullDrag: !0,
66        freeDrag: !1,
67        margin: 0,
68        stagePadding: 0,
69        merge: !1,
70        mergeFit: !0,
71        autoWidth: !1,
72        startPosition: 0,
73        rtl: !1,
74        smartSpeed: 250,
75        fluidSpeed: !1,
76        dragEndSpeed: !1,
77        responsive: {},
78        responsiveRefreshRate: 200,
79        responsiveBaseElement: b,
80        fallbackEasing: "swing",
81        info: !1,
82        nestedItemSelector: !1,
83        itemElement: "div",
84        stageElement: "div",
85        refreshClass: "owl-refresh",
86        loadedClass: "owl-loaded",
87        loadingClass: "owl-loading",
88        rtlClass: "owl-rtl",
89        responsiveClass: "owl-responsive",
90        dragClass: "owl-drag",
91        itemClass: "owl-item",
92        stageClass: "owl-stage",
93        stageOuterClass: "owl-stage-outer",
94        grabClass: "owl-grab"
95    },
96    e.Width = {
97        Default: "default",
98        Inner: "inner",
99        Outer: "outer"
100    },
101    e.Type = {
102        Event: "event",
103        State: "state"
104    },
105    e.Plugins = {},
106    e.Workers = [{
107        filter: ["width", "settings"],
108        run: function() {
109            this._width = this.$element.width()
110        }
111    }, {
112        filter: ["width", "items", "settings"],
113        run: function(a) {
114            a.current = this._items && this._items[this.relative(this._current)]
115        }
116    }, {
117        filter: ["items", "settings"],
118        run: function() {
119            this.$stage.children(".cloned").remove()
120        }
121    }, {
122        filter: ["width", "items", "settings"],
123        run: function(a) {
124            var b = this.settings.margin || ""
125              , c = !this.settings.autoWidth
126              , d = this.settings.rtl
127              , e = {
128                width: "auto",
129                "margin-left": d ? b : "",
130                "margin-right": d ? "" : b
131            };
132            !c && this.$stage.children().css(e),
133            a.css = e
134        }
135    }, {
136        filter: ["width", "items", "settings"],
137        run: function(a) {
138            var b = (this.width() / this.settings.items).toFixed(3) - this.settings.margin
139              , c = null
140              , d = this._items.length
141              , e = !this.settings.autoWidth
142              , f = [];
143            for (a.items = {
144                merge: !1,
145                width: b
146            }; d--; )
147                c = this._mergers[d],
148                c = this.settings.mergeFit && Math.min(c, this.settings.items) || c,
149                a.items.merge = c > 1 || a.items.merge,
150                f[d] = e ? b * c : this._items[d].width();
151            this._widths = f
152        }
153    }, {
154        filter: ["items", "settings"],
155        run: function() {
156            var b = []
157              , c = this._items
158              , d = this.settings
159              , e = Math.max(2 * d.items, 4)
160              , f = 2 * Math.ceil(c.length / 2)
161              , g = d.loop && c.length ? d.rewind ? e : Math.max(e, f) : 0
162              , h = ""
163              , i = "";
164            for (g /= 2; g--; )
165                b.push(this.normalize(b.length / 2, !0)),
166                h += c[b[b.length - 1]][0].outerHTML,
167                b.push(this.normalize(c.length - 1 - (b.length - 1) / 2, !0)),
168                i = c[b[b.length - 1]][0].outerHTML + i;
169            this._clones = b,
170            a(h).addClass("cloned").appendTo(this.$stage),
171            a(i).addClass("cloned").prependTo(this.$stage)
172        }
173    }, {
174        filter: ["width", "items", "settings"],
175        run: function() {
176            for (var a = this.settings.rtl ? 1 : -1, b = this._clones.length + this._items.length, c = -1, d = 0, e = 0, f = []; ++c < b; )
177                d = f[c - 1] || 0,
178                e = this._widths[this.relative(c)] + this.settings.margin,
179                f.push(d + e * a);
180            this._coordinates = f
181        }
182    }, {
183        filter: ["width", "items", "settings"],
184        run: function() {
185            var a = this.settings.stagePadding
186              , b = this._coordinates
187              , c = {
188                width: Math.ceil(Math.abs(b[b.length - 1])) + 2 * a,
189                "padding-left": a || "",
190                "padding-right": a || ""
191            };
192            this.$stage.css(c)
193        }
194    }, {
195        filter: ["width", "items", "settings"],
196        run: function(a) {
197            var b = this._coordinates.length
198              , c = !this.settings.autoWidth
199              , d = this.$stage.children();
200            if (c && a.items.merge)
201                for (; b--; )
202                    a.css.width = this._widths[this.relative(b)],
203                    d.eq(b).css(a.css);
204            else
205                c && (a.css.width = a.items.width,
206                d.css(a.css))
207        }
208    }, {
209        filter: ["items"],
210        run: function() {
211            this._coordinates.length < 1 && this.$stage.removeAttr("style")
212        }
213    }, {
214        filter: ["width", "items", "settings"],
215        run: function(a) {
216            a.current = a.current ? this.$stage.children().index(a.current) : 0,
217            a.current = Math.max(this.minimum(), Math.min(this.maximum(), a.current)),
218            this.reset(a.current)
219        }
220    }, {
221        filter: ["position"],
222        run: function() {
223            this.animate(this.coordinates(this._current))
224        }
225    }, {
226        filter: ["width", "position", "items", "settings"],
227        run: function() {
228            var a, b, c, d, e = this.settings.rtl ? 1 : -1, f = 2 * this.settings.stagePadding, g = this.coordinates(this.current()) + f, h = g + this.width() * e, i = [];
229            for (c = 0,
230            d = this._coordinates.length; c < d; c++)
231                a = this._coordinates[c - 1] || 0,
232                b = Math.abs(this._coordinates[c]) + f * e,
233                (this.op(a, "<=", g) && this.op(a, ">", h) || this.op(b, "<", g) && this.op(b, ">", h)) && i.push(c);
234            this.$stage.children(".active").removeClass("active"),
235            this.$stage.children(":eq(" + i.join("), :eq(") + ")").addClass("active"),
236            this.settings.center && (this.$stage.children(".center").removeClass("center"),
237            this.$stage.children().eq(this.current()).addClass("center"))
238        }
239    }],
240    e.prototype.initialize = function() {
241        if (this.enter("initializing"),
242        this.trigger("initialize"),
243        this.$element.toggleClass(this.settings.rtlClass, this.settings.rtl),
244        this.settings.autoWidth && !this.is("pre-loading")) {
245            var b, c, e;
246            b = this.$element.find("img"),
247            c = this.settings.nestedItemSelector ? "." + this.settings.nestedItemSelector : d,
248            e = this.$element.children(c).width(),
249            b.length && e <= 0 && this.preloadAutoWidthImages(b)
250        }
251        this.$element.addClass(this.options.loadingClass),
252        this.$stage = a("<" + this.settings.stageElement + ' class="' + this.settings.stageClass + '"/>').wrap('<div class="' + this.settings.stageOuterClass + '"/>'),
253        this.$element.append(this.$stage.parent()),
254        this.replace(this.$element.children().not(this.$stage.parent())),
255        this.$element.is(":visible") ? this.refresh() : this.invalidate("width"),
256        this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),
257        this.registerEventHandlers(),
258        this.leave("initializing"),
259        this.trigger("initialized")
260    }
261    ,
262    e.prototype.setup = function() {
263        var b = this.viewport()
264          , c = this.options.responsive
265          , d = -1
266          , e = null;
267        c ? (a.each(c, function(a) {
268            a <= b && a > d && (d = Number(a))
269        }),
270        e = a.extend({}, this.options, c[d]),
271        "function" == typeof e.stagePadding && (e.stagePadding = e.stagePadding()),
272        delete e.responsive,
273        e.responsiveClass && this.$element.attr("class", this.$element.attr("class").replace(new RegExp("(" + this.options.responsiveClass + "-)\\S+\\s","g"), "$1" + d))) : e = a.extend({}, this.options),
274        this.trigger("change", {
275            property: {
276                name: "settings",
277                value: e
278            }
279        }),
280        this._breakpoint = d,
281        this.settings = e,
282        this.invalidate("settings"),
283        this.trigger("changed", {
284            property: {
285                name: "settings",
286                value: this.settings
287            }
288        })
289    }
290    ,
291    e.prototype.optionsLogic = function() {
292        this.settings.autoWidth && (this.settings.stagePadding = !1,
293        this.settings.merge = !1)
294    }
295    ,
296    e.prototype.prepare = function(b) {
297        var c = this.trigger("prepare", {
298            content: b
299        });
300        return c.data || (c.data = a("<" + this.settings.itemElement + "/>").addClass(this.options.itemClass).append(b)),
301        this.trigger("prepared", {
302            content: c.data
303        }),
304        c.data
305    }
306    ,
307    e.prototype.update = function() {
308        for (var b = 0, c = this._pipe.length, d = a.proxy(function(a) {
309            return this[a]
310        }, this._invalidated), e = {}; b < c; )
311            (this._invalidated.all || a.grep(this._pipe[b].filter, d).length > 0) && this._pipe[b].run(e),
312            b++;
313        this._invalidated = {},
314        !this.is("valid") && this.enter("valid")
315    }
316    ,
317    e.prototype.width = function(a) {
318        switch (a = a || e.Width.Default) {
319        case e.Width.Inner:
320        case e.Width.Outer:
321            return this._width;
322        default:
323            return this._width - 2 * this.settings.stagePadding + this.settings.margin
324        }
325    }
326    ,
327    e.prototype.refresh = function() {
328        this.enter("refreshing"),
329        this.trigger("refresh"),
330        this.setup(),
331        this.optionsLogic(),
332        this.$element.addClass(this.options.refreshClass),
333        this.update(),
334        this.$element.removeClass(this.options.refreshClass),
335        this.leave("refreshing"),
336        this.trigger("refreshed")
337    }
338    ,
339    e.prototype.onThrottledResize = function() {
340        b.clearTimeout(this.resizeTimer),
341        this.resizeTimer = b.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate)
342    }
343    ,
344    e.prototype.onResize = function() {
345        return !!this._items.length && (this._width !== this.$element.width() && (!!this.$element.is(":visible") && (this.enter("resizing"),
346        this.trigger("resize").isDefaultPrevented() ? (this.leave("resizing"),
347        !1) : (this.invalidate("width"),
348        this.refresh(),
349        this.leave("resizing"),
350        void this.trigger("resized")))))
351    }
352    ,
353    e.prototype.registerEventHandlers = function() {
354        a.support.transition && this.$stage.on(a.support.transition.end + ".owl.core", a.proxy(this.onTransitionEnd, this)),
355        this.settings.responsive !== !1 && this.on(b, "resize", this._handlers.onThrottledResize),
356        this.settings.mouseDrag && (this.$element.addClass(this.options.dragClass),
357        this.$stage.on("mousedown.owl.core", a.proxy(this.onDragStart, this)),
358        this.$stage.on("dragstart.owl.core selectstart.owl.core", function() {
359            return !1
360        })),
361        this.settings.touchDrag && (this.$stage.on("touchstart.owl.core", a.proxy(this.onDragStart, this)),
362        this.$stage.on("touchcancel.owl.core", a.proxy(this.onDragEnd, this)))
363    }
364    ,
365    e.prototype.onDragStart = function(b) {
366        var d = null;
367        3 !== b.which && (a.support.transform ? (d = this.$stage.css("transform").replace(/.*\(|\)| /g, "").split(","),
368        d = {
369            x: d[16 === d.length ? 12 : 4],
370            y: d[16 === d.length ? 13 : 5]
371        }) : (d = this.$stage.position(),
372        d = {
373            x: this.settings.rtl ? d.left + this.$stage.width() - this.width() + this.settings.margin : d.left,
374            y: d.top
375        }),
376        this.is("animating") && (a.support.transform ? this.animate(d.x) : this.$stage.stop(),
377        this.invalidate("position")),
378        this.$element.toggleClass(this.options.grabClass, "mousedown" === b.type),
379        this.speed(0),
380        this._drag.time = (new Date).getTime(),
381        this._drag.target = a(b.target),
382        this._drag.stage.start = d,
383        this._drag.stage.current = d,
384        this._drag.pointer = this.pointer(b),
385        a(c).on("mouseup.owl.core touchend.owl.core", a.proxy(this.onDragEnd, this)),
386        a(c).one("mousemove.owl.core touchmove.owl.core", a.proxy(function(b) {
387            var d = this.difference(this._drag.pointer, this.pointer(b));
388            a(c).on("mousemove.owl.core touchmove.owl.core", a.proxy(this.onDragMove, this)),
389            Math.abs(d.x) < Math.abs(d.y) && this.is("valid") || (b.preventDefault(),
390            this.enter("dragging"),
391            this.trigger("drag"))
392        }, this)))
393    }
394    ,
395    e.prototype.onDragMove = function(a) {
396        var b = null
397          , c = null
398          , d = null
399          , e = this.difference(this._drag.pointer, this.pointer(a))
400          , f = this.difference(this._drag.stage.start, e);
401        this.is("dragging") && (a.preventDefault(),
402        this.settings.loop ? (b = this.coordinates(this.minimum()),
403        c = this.coordinates(this.maximum() + 1) - b,
404        f.x = ((f.x - b) % c + c) % c + b) : (b = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum()),
405        c = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum()),
406        d = this.settings.pullDrag ? -1 * e.x / 5 : 0,
407        f.x = Math.max(Math.min(f.x, b + d), c + d)),
408        this._drag.stage.current = f,
409        this.animate(f.x))
410    }
411    ,
412    e.prototype.onDragEnd = function(b) {
413        var d = this.difference(this._drag.pointer, this.pointer(b))
414          , e = this._drag.stage.current
415          , f = d.x > 0 ^ this.settings.rtl ? "left" : "right";
416        a(c).off(".owl.core"),
417        this.$element.removeClass(this.options.grabClass),
418        (0 !== d.x && this.is("dragging") || !this.is("valid")) && (this.speed(this.settings.dragEndSpeed || this.settings.smartSpeed),
419        this.current(this.closest(e.x, 0 !== d.x ? f : this._drag.direction)),
420        this.invalidate("position"),
421        this.update(),
422        this._drag.direction = f,
423        (Math.abs(d.x) > 3 || (new Date).getTime() - this._drag.time > 300) && this._drag.target.one("click.owl.core", function() {
424            return !1
425        })),
426        this.is("dragging") && (this.leave("dragging"),
427        this.trigger("dragged"))
428    }
429    ,
430    e.prototype.closest = function(b, c) {
431        var d = -1
432          , e = 30
433          , f = this.width()
434          , g = this.coordinates();
435        return this.settings.freeDrag || a.each(g, a.proxy(function(a, h) {
436            return "left" === c && b > h - e && b < h + e ? d = a : "right" === c && b > h - f - e && b < h - f + e ? d = a + 1 : this.op(b, "<", h) && this.op(b, ">", g[a + 1] || h - f) && (d = "left" === c ? a + 1 : a),
437            d === -1
438        }, this)),
439        this.settings.loop || (this.op(b, ">", g[this.minimum()]) ? d = b = this.minimum() : this.op(b, "<", g[this.maximum()]) && (d = b = this.maximum())),
440        d
441    }
442    ,
443    e.prototype.animate = function(b) {
444        var c = this.speed() > 0;
445        this.is("animating") && this.onTransitionEnd(),
446        c && (this.enter("animating"),
447        this.trigger("translate")),
448        a.support.transform3d && a.support.transition ? this.$stage.css({
449            transform: "translate3d(" + b + "px,0px,0px)",
450            transition: this.speed() / 1e3 + "s"
451        }) : c ? this.$stage.animate({
452            left: b + "px"
453        }, this.speed(), this.settings.fallbackEasing, a.proxy(this.onTransitionEnd, this)) : this.$stage.css({
454            left: b + "px"
455        })
456    }
457    ,
458    e.prototype.is = function(a) {
459        return this._states.current[a] && this._states.current[a] > 0
460    }
461    ,
462    e.prototype.current = function(a) {
463        if (a === d)
464            return this._current;
465        if (0 === this._items.length)
466            return d;
467        if (a = this.normalize(a),
468        this._current !== a) {
469            var b = this.trigger("change", {
470                property: {
471                    name: "position",
472                    value: a
473                }
474            });
475            b.data !== d && (a = this.normalize(b.data)),
476            this._current = a,
477            this.invalidate("position"),
478            this.trigger("changed", {
479                property: {
480                    name: "position",
481                    value: this._current
482                }
483            })
484        }
485        return this._current
486    }
487    ,
488    e.prototype.invalidate = function(b) {
489        return "string" === a.type(b) && (this._invalidated[b] = !0,
490        this.is("valid") && this.leave("valid")),
491        a.map(this._invalidated, function(a, b) {
492            return b
493        })
494    }
495    ,
496    e.prototype.reset = function(a) {
497        a = this.normalize(a),
498        a !== d && (this._speed = 0,
499        this._current = a,
500        this.suppress(["translate", "translated"]),
501        this.animate(this.coordinates(a)),
502        this.release(["translate", "translated"]))
503    }
504    ,
505    e.prototype.normalize = function(a, b) {
506        var c = this._items.length
507          , e = b ? 0 : this._clones.length;
508        return !this.isNumeric(a) || c < 1 ? a = d : (a < 0 || a >= c + e) && (a = ((a - e / 2) % c + c) % c + e / 2),
509        a
510    }
511    ,
512    e.prototype.relative = function(a) {
513        return a -= this._clones.length / 2,
514        this.normalize(a, !0)
515    }
516    ,
517    e.prototype.maximum = function(a) {
518        var b, c, d, e = this.settings, f = this._coordinates.length;
519        if (e.loop)
520            f = this._clones.length / 2 + this._items.length - 1;
521        else if (e.autoWidth || e.merge) {
522            for (b = this._items.length,
523            c = this._items[--b].width(),
524            d = this.$element.width(); b-- && (c += this._items[b].width() + this.settings.margin,
525            !(c > d)); )
526                ;
527            f = b + 1
528        } else
529            f = e.center ? this._items.length - 1 : this._items.length - e.items;
530        return a && (f -= this._clones.length / 2),
531        Math.max(f, 0)
532    }
533    ,
534    e.prototype.minimum = function(a) {
535        return a ? 0 : this._clones.length / 2
536    }
537    ,
538    e.prototype.items = function(a) {
539        return a === d ? this._items.slice() : (a = this.normalize(a, !0),
540        this._items[a])
541    }
542    ,
543    e.prototype.mergers = function(a) {
544        return a === d ? this._mergers.slice() : (a = this.normalize(a, !0),
545        this._mergers[a])
546    }
547    ,
548    e.prototype.clones = function(b) {
549        var c = this._clones.length / 2
550          , e = c + this._items.length
551          , f = function(a) {
552            return a % 2 === 0 ? e + a / 2 : c - (a + 1) / 2
553        };
554        return b === d ? a.map(this._clones, function(a, b) {
555            return f(b)
556        }) : a.map(this._clones, function(a, c) {
557            return a === b ? f(c) : null
558        })
559    }
560    ,
561    e.prototype.speed = function(a) {
562        return a !== d && (this._speed = a),
563        this._speed
564    }
565    ,
566    e.prototype.coordinates = function(b) {
567        var c, e = 1, f = b - 1;
568        return b === d ? a.map(this._coordinates, a.proxy(function(a, b) {
569            return this.coordinates(b)
570        }, this)) : (this.settings.center ? (this.settings.rtl && (e = -1,
571        f = b + 1),
572        c = this._coordinates[b],
573        c += (this.width() - c + (this._coordinates[f] || 0)) / 2 * e) : c = this._coordinates[f] || 0,
574        c = Math.ceil(c))
575    }
576    ,
577    e.prototype.duration = function(a, b, c) {
578        return 0 === c ? 0 : Math.min(Math.max(Math.abs(b - a), 1), 6) * Math.abs(c || this.settings.smartSpeed)
579    }
580    ,
581    e.prototype.to = function(a, b) {
582        var c = this.current()
583          , d = null
584          , e = a - this.relative(c)
585          , f = (e > 0) - (e < 0)
586          , g = this._items.length
587          , h = this.minimum()
588          , i = this.maximum();
589        this.settings.loop ? (!this.settings.rewind && Math.abs(e) > g / 2 && (e += f * -1 * g),
590        a = c + e,
591        d = ((a - h) % g + g) % g + h,
592        d !== a && d - e <= i && d - e > 0 && (c = d - e,
593        a = d,
594        this.reset(c))) : this.settings.rewind ? (i += 1,
595        a = (a % i + i) % i) : a = Math.max(h, Math.min(i, a)),
596        this.speed(this.duration(c, a, b)),
597        this.current(a),
598        this.$element.is(":visible") && this.update()
599    }
600    ,
601    e.prototype.next = function(a) {
602        a = a || !1,
603        this.to(this.relative(this.current()) + 1, a)
604    }
605    ,
606    e.prototype.prev = function(a) {
607        a = a || !1,
608        this.to(this.relative(this.current()) - 1, a)
609    }
610    ,
611    e.prototype.onTransitionEnd = function(a) {
612        if (a !== d && (a.stopPropagation(),
613        (a.target || a.srcElement || a.originalTarget) !== this.$stage.get(0)))
614            return !1;
615        this.leave("animating"),
616        this.trigger("translated")
617    }
618    ,
619    e.prototype.viewport = function() {
620        var d;
621        return this.options.responsiveBaseElement !== b ? d = a(this.options.responsiveBaseElement).width() : b.innerWidth ? d = b.innerWidth : c.documentElement && c.documentElement.clientWidth ? d = c.documentElement.clientWidth : console.warn("Can not detect viewport width."),
622        d
623    }
624    ,
625    e.prototype.replace = function(b) {
626        this.$stage.empty(),
627        this._items = [],
628        b && (b = b instanceof jQuery ? b : a(b)),
629        this.settings.nestedItemSelector && (b = b.find("." + this.settings.nestedItemSelector)),
630        b.filter(function() {
631            return 1 === this.nodeType
632        }).each(a.proxy(function(a, b) {
633            b = this.prepare(b),
634            this.$stage.append(b),
635            this._items.push(b),
636            this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)
637        }, this)),
638        this.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0),
639        this.invalidate("items")
640    }
641    ,
642    e.prototype.add = function(b, c) {
643        var e = this.relative(this._current);
644        c = c === d ? this._items.length : this.normalize(c, !0),
645        b = b instanceof jQuery ? b : a(b),
646        this.trigger("add", {
647            content: b,
648            position: c
649        }),
650        b = this.prepare(b),
651        0 === this._items.length || c === this._items.length ? (0 === this._items.length && this.$stage.append(b),
652        0 !== this._items.length && this._items[c - 1].after(b),
653        this._items.push(b),
654        this._mergers.push(1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)) : (this._items[c].before(b),
655        this._items.splice(c, 0, b),
656        this._mergers.splice(c, 0, 1 * b.find("[data-merge]").addBack("[data-merge]").attr("data-merge") || 1)),
657        this._items[e] && this.reset(this._items[e].index()),
658        this.invalidate("items"),
659        this.trigger("added", {
660            content: b,
661            position: c
662        })
663    }
664    ,
665    e.prototype.remove = function(a) {
666        a = this.normalize(a, !0),
667        a !== d && (this.trigger("remove", {
668            content: this._items[a],
669            position: a
670        }),
671        this._items[a].remove(),
672        this._items.splice(a, 1),
673        this._mergers.splice(a, 1),
674        this.invalidate("items"),
675        this.trigger("removed", {
676            content: null,
677            position: a
678        }))
679    }
680    ,
681    e.prototype.preloadAutoWidthImages = function(b) {
682        b.each(a.proxy(function(b, c) {
683            this.enter("pre-loading"),
684            c = a(c),
685            a(new Image).one("load", a.proxy(function(a) {
686                c.attr("src", a.target.src),
687                c.css("opacity", 1),
688                this.leave("pre-loading"),
689                !this.is("pre-loading") && !this.is("initializing") && this.refresh()
690            }, this)).attr("src", c.attr("src") || c.attr("data-src") || c.attr("data-src-retina"))
691        }, this))
692    }
693    ,
694    e.prototype.destroy = function() {
695        this.$element.off(".owl.core"),
696        this.$stage.off(".owl.core"),
697        a(c).off(".owl.core"),
698        this.settings.responsive !== !1 && (b.clearTimeout(this.resizeTimer),
699        this.off(b, "resize", this._handlers.onThrottledResize));
700        for (var d in this._plugins)
701            this._plugins[d].destroy();
702        this.$stage.children(".cloned").remove(),
703        this.$stage.unwrap(),
704        this.$stage.children().contents().unwrap(),
705        this.$stage.children().unwrap(),
706        this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class", this.$element.attr("class").replace(new RegExp(this.options.responsiveClass + "-\\S+\\s","g"), "")).removeData("owl.carousel")
707    }
708    ,
709    e.prototype.op = function(a, b, c) {
710        var d = this.settings.rtl;
711        switch (b) {
712        case "<":
713            return d ? a > c : a < c;
714        case ">":
715            return d ? a < c : a > c;
716        case ">=":
717            return d ? a <= c : a >= c;
718        case "<=":
719            return d ? a >= c : a <= c
720        }
721    }
722    ,
723    e.prototype.on = function(a, b, c, d) {
724        a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent && a.attachEvent("on" + b, c)
725    }
726    ,
727    e.prototype.off = function(a, b, c, d) {
728        a.removeEventListener ? a.removeEventListener(b, c, d) : a.detachEvent && a.detachEvent("on" + b, c)
729    }
730    ,
731    e.prototype.trigger = function(b, c, d, f, g) {
732        var h = {
733            item: {
734                count: this._items.length,
735                index: this.current()
736            }
737        }
738          , i = a.camelCase(a.grep(["on", b, d], function(a) {
739            return a
740        }).join("-").toLowerCase())
741          , j = a.Event([b, "owl", d || "carousel"].join(".").toLowerCase(), a.extend({
742            relatedTarget: this
743        }, h, c));
744        return this._supress[b] || (a.each(this._plugins, function(a, b) {
745            b.onTrigger && b.onTrigger(j)
746        }),
747        this.register({
748            type: e.Type.Event,
749            name: b
750        }),
751        this.$element.trigger(j),
752        this.settings && "function" == typeof this.settings[i] && this.settings[i].call(this, j)),
753        j
754    }
755    ,
756    e.prototype.enter = function(b) {
757        a.each([b].concat(this._states.tags[b] || []), a.proxy(function(a, b) {
758            this._states.current[b] === d && (this._states.current[b] = 0),
759            this._states.current[b]++
760        }, this))
761    }
762    ,
763    e.prototype.leave = function(b) {
764        a.each([b].concat(this._states.tags[b] || []), a.proxy(function(a, b) {
765            this._states.current[b]--
766        }, this))
767    }
768    ,
769    e.prototype.register = function(b) {
770        if (b.type === e.Type.Event) {
771            if (a.event.special[b.name] || (a.event.special[b.name] = {}),
772            !a.event.special[b.name].owl) {
773                var c = a.event.special[b.name]._default;
774                a.event.special[b.name]._default = function(a) {
775                    return !c || !c.apply || a.namespace && a.namespace.indexOf("owl") !== -1 ? a.namespace && a.namespace.indexOf("owl") > -1 : c.apply(this, arguments)
776                }
777                ,
778                a.event.special[b.name].owl = !0
779            }
780        } else
781            b.type === e.Type.State && (this._states.tags[b.name] ? this._states.tags[b.name] = this._states.tags[b.name].concat(b.tags) : this._states.tags[b.name] = b.tags,
782            this._states.tags[b.name] = a.grep(this._states.tags[b.name], a.proxy(function(c, d) {
783                return a.inArray(c, this._states.tags[b.name]) === d
784            }, this)))
785    }
786    ,
787    e.prototype.suppress = function(b) {
788        a.each(b, a.proxy(function(a, b) {
789            this._supress[b] = !0
790        }, this))
791    }
792    ,
793    e.prototype.release = function(b) {
794        a.each(b, a.proxy(function(a, b) {
795            delete this._supress[b]
796        }, this))
797    }
798    ,
799    e.prototype.pointer = function(a) {
800        var c = {
801            x: null,
802            y: null
803        };
804        return a = a.originalEvent || a || b.event,
805        a = a.touches && a.touches.length ? a.touches[0] : a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : a,
806        a.pageX ? (c.x = a.pageX,
807        c.y = a.pageY) : (c.x = a.clientX,
808        c.y = a.clientY),
809        c
810    }
811    ,
812    e.prototype.isNumeric = function(a) {
813        return !isNaN(parseFloat(a))
814    }
815    ,
816    e.prototype.difference = function(a, b) {
817        return {
818            x: a.x - b.x,
819            y: a.y - b.y
820        }
821    }
822    ,
823    a.fn.owlCarousel = function(b) {
824        var c = Array.prototype.slice.call(arguments, 1);
825        return this.each(function() {
826            var d = a(this)
827              , f = d.data("owl.carousel");
828            f || (f = new e(this,"object" == typeof b && b),
829            d.data("owl.carousel", f),
830            a.each(["next", "prev", "to", "destroy", "refresh", "replace", "add", "remove"], function(b, c) {
831                f.register({
832                    type: e.Type.Event,
833                    name: c
834                }),
835                f.$element.on(c + ".owl.carousel.core", a.proxy(function(a) {
836                    a.namespace && a.relatedTarget !== this && (this.suppress([c]),
837                    f[c].apply(this, [].slice.call(arguments, 1)),
838                    this.release([c]))
839                }, f))
840            })),
841            "string" == typeof b && "_" !== b.charAt(0) && f[b].apply(f, c)
842        })
843    }
844    ,
845    a.fn.owlCarousel.Constructor = e
846}(window.Zepto || window.jQuery, window, document),
847function(a, b, c, d) {
848    var e = function(b) {
849        this._core = b,
850        this._interval = null,
851        this._visible = null,
852        this._handlers = {
853            "initialized.owl.carousel": a.proxy(function(a) {
854                a.namespace && this._core.settings.autoRefresh && this.watch()
855            }, this)
856        },
857        this._core.options = a.extend({}, e.Defaults, this._core.options),
858        this._core.$element.on(this._handlers)
859    };
860    e.Defaults = {
861        autoRefresh: !0,
862        autoRefreshInterval: 500
863    },
864    e.prototype.watch = function() {
865        this._interval || (this._visible = this._core.$element.is(":visible"),
866        this._interval = b.setInterval(a.proxy(this.refresh, this), this._core.settings.autoRefreshInterval))
867    }
868    ,
869    e.prototype.refresh = function() {
870        this._core.$element.is(":visible") !== this._visible && (this._visible = !this._visible,
871        this._core.$element.toggleClass("owl-hidden", !this._visible),
872        this._visible && this._core.invalidate("width") && this._core.refresh())
873    }
874    ,
875    e.prototype.destroy = function() {
876        var a, c;
877        b.clearInterval(this._interval);
878        for (a in this._handlers)
879            this._core.$element.off(a, this._handlers[a]);
880        for (c in Object.getOwnPropertyNames(this))
881            "function" != typeof this[c] && (this[c] = null)
882    }
883    ,
884    a.fn.owlCarousel.Constructor.Plugins.AutoRefresh = e
885}(window.Zepto || window.jQuery, window, document),
886function(a, b, c, d) {
887    var e = function(b) {
888        this._core = b,
889        this._loaded = [],
890        this._handlers = {
891            "initialized.owl.carousel change.owl.carousel resized.owl.carousel": a.proxy(function(b) {
892                if (b.namespace && this._core.settings && this._core.settings.lazyLoad && (b.property && "position" == b.property.name || "initialized" == b.type))
893                    for (var c = this._core.settings, e = c.center && Math.ceil(c.items / 2) || c.items, f = c.center && e * -1 || 0, g = (b.property && b.property.value !== d ? b.property.value : this._core.current()) + f, h = this._core.clones().length, i = a.proxy(function(a, b) {
894                        this.load(b)
895                    }, this); f++ < e; )
896                        this.load(h / 2 + this._core.relative(g)),
897                        h && a.each(this._core.clones(this._core.relative(g)), i),
898                        g++
899            }, this)
900        },
901        this._core.options = a.extend({}, e.Defaults, this._core.options),
902        this._core.$element.on(this._handlers)
903    };
904    e.Defaults = {
905        lazyLoad: !1
906    },
907    e.prototype.load = function(c) {
908        var d = this._core.$stage.children().eq(c)
909          , e = d && d.find(".owl-lazy");
910        !e || a.inArray(d.get(0), this._loaded) > -1 || (e.each(a.proxy(function(c, d) {
911            var e, f = a(d), g = b.devicePixelRatio > 1 && f.attr("data-src-retina") || f.attr("data-src");
912            this._core.trigger("load", {
913                element: f,
914                url: g
915            }, "lazy"),
916            f.is("img") ? f.one("load.owl.lazy", a.proxy(function() {
917                f.css("opacity", 1),
918                this._core.trigger("loaded", {
919                    element: f,
920                    url: g
921                }, "lazy")
922            }, this)).attr("src", g) : (e = new Image,
923            e.onload = a.proxy(function() {
924                f.css({
925                    "background-image": 'url("' + g + '")',
926                    opacity: "1"
927                }),
928                this._core.trigger("loaded", {
929                    element: f,
930                    url: g
931                }, "lazy")
932            }, this),
933            e.src = g)
934        }, this)),
935        this._loaded.push(d.get(0)))
936    }
937    ,
938    e.prototype.destroy = function() {
939        var a, b;
940        for (a in this.handlers)
941            this._core.$element.off(a, this.handlers[a]);
942        for (b in Object.getOwnPropertyNames(this))
943            "function" != typeof this[b] && (this[b] = null)
944    }
945    ,
946    a.fn.owlCarousel.Constructor.Plugins.Lazy = e
947}(window.Zepto || window.jQuery, window, document),
948function(a, b, c, d) {
949    var e = function(b) {
950        this._core = b,
951        this._handlers = {
952            "initialized.owl.carousel refreshed.owl.carousel": a.proxy(function(a) {
953                a.namespace && this._core.settings.autoHeight && this.update()
954            }, this),
955            "changed.owl.carousel": a.proxy(function(a) {
956                a.namespace && this._core.settings.autoHeight && "position" == a.property.name && this.update()
957            }, this),
958            "loaded.owl.lazy": a.proxy(function(a) {
959                a.namespace && this._core.settings.autoHeight && a.element.closest("." + this._core.settings.itemClass).index() === this._core.current() && this.update()
960            }, this)
961        },
962        this._core.options = a.extend({}, e.Defaults, this._core.options),
963        this._core.$element.on(this._handlers)
964    };
965    e.Defaults = {
966        autoHeight: !1,
967        autoHeightClass: "owl-height"
968    },
969    e.prototype.update = function() {
970        var b = this._core._current
971          , c = b + this._core.settings.items
972          , d = this._core.$stage.children().toArray().slice(b, c)
973          , e = []
974          , f = 0;
975        a.each(d, function(b, c) {
976            e.push(a(c).height())
977        }),
978        f = Math.max.apply(null, e),
979        this._core.$stage.parent().height(f).addClass(this._core.settings.autoHeightClass)
980    }
981    ,
982    e.prototype.destroy = function() {
983        var a, b;
984        for (a in this._handlers)
985            this._core.$element.off(a, this._handlers[a]);
986        for (b in Object.getOwnPropertyNames(this))
987            "function" != typeof this[b] && (this[b] = null)
988    }
989    ,
990    a.fn.owlCarousel.Constructor.Plugins.AutoHeight = e
991}(window.Zepto || window.jQuery, window, document),
992function(a, b, c, d) {
993    var e = function(b) {
994        this._core = b,
995        this._videos = {},
996        this._playing = null,
997        this._handlers = {
998            "initialized.owl.carousel": a.proxy(function(a) {
999                a.namespace && this._core.register({
1000                    type: "state",
1001                    name: "playing",
1002                    tags: ["interacting"]
1003                })
1004            }, this),
1005            "resize.owl.carousel": a.proxy(function(a) {
1006                a.namespace && this._core.settings.video && this.isInFullScreen() && a.preventDefault()
1007            }, this),
1008            "refreshed.owl.carousel": a.proxy(function(a) {
1009                a.namespace && this._core.is("resizing") && this._core.$stage.find(".cloned .owl-video-frame").remove()
1010            }, this),
1011            "changed.owl.carousel": a.proxy(function(a) {
1012                a.namespace && "position" === a.property.name && this._playing && this.stop()
1013            }, this),
1014            "prepared.owl.carousel": a.proxy(function(b) {
1015                if (b.namespace) {
1016                    var c = a(b.content).find(".owl-video");
1017                    c.length && (c.css("display", "none"),
1018                    this.fetch(c, a(b.content)))
1019                }
1020            }, this)
1021        },
1022        this._core.options = a.extend({}, e.Defaults, this._core.options),
1023        this._core.$element.on(this._handlers),
1024        this._core.$element.on("click.owl.video", ".owl-video-play-icon", a.proxy(function(a) {
1025            this.play(a)
1026        }, this))
1027    };
1028    e.Defaults = {
1029        video: !1,
1030        videoHeight: !1,
1031        videoWidth: !1
1032    },
1033    e.prototype.fetch = function(a, b) {
1034        var c = function() {
1035            return a.attr("data-vimeo-id") ? "vimeo" : a.attr("data-vzaar-id") ? "vzaar" : "youtube"
1036        }()
1037          , d = a.attr("data-vimeo-id") || a.attr("data-youtube-id") || a.attr("data-vzaar-id")
1038          , e = a.attr("data-width") || this._core.settings.videoWidth
1039          , f = a.attr("data-height") || this._core.settings.videoHeight
1040          , g = a.attr("href");
1041        if (!g)
1042            throw new Error("Missing video URL.");
1043        if (d = g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),
1044        d[3].indexOf("youtu") > -1)
1045            c = "youtube";
1046        else if (d[3].indexOf("vimeo") > -1)
1047            c = "vimeo";
1048        else {
1049            if (!(d[3].indexOf("vzaar") > -1))
1050                throw new Error("Video URL not supported.");
1051            c = "vzaar"
vendor: 16,384 bytes, lines 1052-1399
1052        }
1053        d = d[6],
1054        this._videos[g] = {
1055            type: c,
1056            id: d,
1057            width: e,
1058            height: f
1059        },
1060        b.attr("data-video", g),
1061        this.thumbnail(a, this._videos[g])
1062    }
1063    ,
1064    e.prototype.thumbnail = function(b, c) {
1065        var d, e, f, g = c.width && c.height ? 'style="width:' + c.width + "px;height:" + c.height + 'px;"' : "", h = b.find("img"), i = "src", j = "", k = this._core.settings, l = function(a) {
1066            e = '<div class="owl-video-play-icon"></div>',
1067            d = k.lazyLoad ? '<div class="owl-video-tn ' + j + '" ' + i + '="' + a + '"></div>' : '<div class="owl-video-tn" style="opacity:1;background-image:url(' + a + ')"></div>',
1068            b.after(d),
1069            b.after(e)
1070        };
1071        if (b.wrap('<div class="owl-video-wrapper"' + g + "></div>"),
1072        this._core.settings.lazyLoad && (i = "data-src",
1073        j = "owl-lazy"),
1074        h.length)
1075            return l(h.attr(i)),
1076            h.remove(),
1077            !1;
1078        "youtube" === c.type ? (f = "//img.youtube.com/vi/" + c.id + "/hqdefault.jpg",
1079        l(f)) : "vimeo" === c.type ? a.ajax({
1080            type: "GET",
1081            url: "//vimeo.com/api/v2/video/" + c.id + ".json",
1082            jsonp: "callback",
1083            dataType: "jsonp",
1084            success: function(a) {
1085                f = a[0].thumbnail_large,
1086                l(f)
1087            }
1088        }) : "vzaar" === c.type && a.ajax({
1089            type: "GET",
1090            url: "//vzaar.com/api/videos/" + c.id + ".json",
1091            jsonp: "callback",
1092            dataType: "jsonp",
1093            success: function(a) {
1094                f = a.framegrab_url,
1095                l(f)
1096            }
1097        })
1098    }
1099    ,
1100    e.prototype.stop = function() {
1101        this._core.trigger("stop", null, "video"),
1102        this._playing.find(".owl-video-frame").remove(),
1103        this._playing.removeClass("owl-video-playing"),
1104        this._playing = null,
1105        this._core.leave("playing"),
1106        this._core.trigger("stopped", null, "video")
1107    }
1108    ,
1109    e.prototype.play = function(b) {
1110        var c, d = a(b.target), e = d.closest("." + this._core.settings.itemClass), f = this._videos[e.attr("data-video")], g = f.width || "100%", h = f.height || this._core.$stage.height();
1111        this._playing || (this._core.enter("playing"),
1112        this._core.trigger("play", null, "video"),
1113        e = this._core.items(this._core.relative(e.index())),
1114        this._core.reset(e.index()),
1115        "youtube" === f.type ? c = '<iframe width="' + g + '" height="' + h + '" src="//www.youtube.com/embed/' + f.id + "?autoplay=1&rel=0&v=" + f.id + '" frameborder="0" allowfullscreen></iframe>' : "vimeo" === f.type ? c = '<iframe src="//player.vimeo.com/video/' + f.id + '?autoplay=1" width="' + g + '" height="' + h + '" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>' : "vzaar" === f.type && (c = '<iframe frameborder="0"height="' + h + '"width="' + g + '" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/' + f.id + '/player?autoplay=true"></iframe>'),
1116        a('<div class="owl-video-frame">' + c + "</div>").insertAfter(e.find(".owl-video")),
1117        this._playing = e.addClass("owl-video-playing"))
1118    }
1119    ,
1120    e.prototype.isInFullScreen = function() {
1121        var b = c.fullscreenElement || c.mozFullScreenElement || c.webkitFullscreenElement;
1122        return b && a(b).parent().hasClass("owl-video-frame")
1123    }
1124    ,
1125    e.prototype.destroy = function() {
1126        var a, b;
1127        this._core.$element.off("click.owl.video");
1128        for (a in this._handlers)
1129            this._core.$element.off(a, this._handlers[a]);
1130        for (b in Object.getOwnPropertyNames(this))
1131            "function" != typeof this[b] && (this[b] = null)
1132    }
1133    ,
1134    a.fn.owlCarousel.Constructor.Plugins.Video = e
1135}(window.Zepto || window.jQuery, window, document),
1136function(a, b, c, d) {
1137    var e = function(b) {
1138        this.core = b,
1139        this.core.options = a.extend({}, e.Defaults, this.core.options),
1140        this.swapping = !0,
1141        this.previous = d,
1142        this.next = d,
1143        this.handlers = {
1144            "change.owl.carousel": a.proxy(function(a) {
1145                a.namespace && "position" == a.property.name && (this.previous = this.core.current(),
1146                this.next = a.property.value)
1147            }, this),
1148            "drag.owl.carousel dragged.owl.carousel translated.owl.carousel": a.proxy(function(a) {
1149                a.namespace && (this.swapping = "translated" == a.type)
1150            }, this),
1151            "translate.owl.carousel": a.proxy(function(a) {
1152                a.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn) && this.swap()
1153            }, this)
1154        },
1155        this.core.$element.on(this.handlers)
1156    };
1157    e.Defaults = {
1158        animateOut: !1,
1159        animateIn: !1
1160    },
1161    e.prototype.swap = function() {
1162        if (1 === this.core.settings.items && a.support.animation && a.support.transition) {
1163            this.core.speed(0);
1164            var b, c = a.proxy(this.clear, this), d = this.core.$stage.children().eq(this.previous), e = this.core.$stage.children().eq(this.next), f = this.core.settings.animateIn, g = this.core.settings.animateOut;
1165            this.core.current() !== this.previous && (g && (b = this.core.coordinates(this.previous) - this.core.coordinates(this.next),
1166            d.one(a.support.animation.end, c).css({
1167                left: b + "px"
1168            }).addClass("animated owl-animated-out").addClass(g)),
1169            f && e.one(a.support.animation.end, c).addClass("animated owl-animated-in").addClass(f))
1170        }
1171    }
1172    ,
1173    e.prototype.clear = function(b) {
1174        a(b.target).css({
1175            left: ""
1176        }).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),
1177        this.core.onTransitionEnd()
1178    }
1179    ,
1180    e.prototype.destroy = function() {
1181        var a, b;
1182        for (a in this.handlers)
1183            this.core.$element.off(a, this.handlers[a]);
1184        for (b in Object.getOwnPropertyNames(this))
1185            "function" != typeof this[b] && (this[b] = null)
1186    }
1187    ,
1188    a.fn.owlCarousel.Constructor.Plugins.Animate = e
1189}(window.Zepto || window.jQuery, window, document),
1190function(a, b, c, d) {
1191    var e = function(b) {
1192        this._core = b,
1193        this._timeout = null,
1194        this._paused = !1,
1195        this._handlers = {
1196            "changed.owl.carousel": a.proxy(function(a) {
1197                a.namespace && "settings" === a.property.name ? this._core.settings.autoplay ? this.play() : this.stop() : a.namespace && "position" === a.property.name && this._core.settings.autoplay && this._setAutoPlayInterval()
1198            }, this),
1199            "initialized.owl.carousel": a.proxy(function(a) {
1200                a.namespace && this._core.settings.autoplay && this.play()
1201            }, this),
1202            "play.owl.autoplay": a.proxy(function(a, b, c) {
1203                a.namespace && this.play(b, c)
1204            }, this),
1205            "stop.owl.autoplay": a.proxy(function(a) {
1206                a.namespace && this.stop()
1207            }, this),
1208            "mouseover.owl.autoplay": a.proxy(function() {
1209                this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause()
1210            }, this),
1211            "mouseleave.owl.autoplay": a.proxy(function() {
1212                this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.play()
1213            }, this),
1214            "touchstart.owl.core": a.proxy(function() {
1215                this._core.settings.autoplayHoverPause && this._core.is("rotating") && this.pause()
1216            }, this),
1217            "touchend.owl.core": a.proxy(function() {
1218                this._core.settings.autoplayHoverPause && this.play()
1219            }, this)
1220        },
1221        this._core.$element.on(this._handlers),
1222        this._core.options = a.extend({}, e.Defaults, this._core.options)
1223    };
1224    e.Defaults = {
1225        autoplay: !1,
1226        autoplayTimeout: 5e3,
1227        autoplayHoverPause: !1,
1228        autoplaySpeed: !1
1229    },
1230    e.prototype.play = function(a, b) {
1231        this._paused = !1,
1232        this._core.is("rotating") || (this._core.enter("rotating"),
1233        this._setAutoPlayInterval())
1234    }
1235    ,
1236    e.prototype._getNextTimeout = function(d, e) {
1237        return this._timeout && b.clearTimeout(this._timeout),
1238        b.setTimeout(a.proxy(function() {
1239            this._paused || this._core.is("busy") || this._core.is("interacting") || c.hidden || this._core.next(e || this._core.settings.autoplaySpeed)
1240        }, this), d || this._core.settings.autoplayTimeout)
1241    }
1242    ,
1243    e.prototype._setAutoPlayInterval = function() {
1244        this._timeout = this._getNextTimeout()
1245    }
1246    ,
1247    e.prototype.stop = function() {
1248        this._core.is("rotating") && (b.clearTimeout(this._timeout),
1249        this._core.leave("rotating"))
1250    }
1251    ,
1252    e.prototype.pause = function() {
1253        this._core.is("rotating") && (this._paused = !0)
1254    }
1255    ,
1256    e.prototype.destroy = function() {
1257        var a, b;
1258        this.stop();
1259        for (a in this._handlers)
1260            this._core.$element.off(a, this._handlers[a]);
1261        for (b in Object.getOwnPropertyNames(this))
1262            "function" != typeof this[b] && (this[b] = null)
1263    }
1264    ,
1265    a.fn.owlCarousel.Constructor.Plugins.autoplay = e
1266}(window.Zepto || window.jQuery, window, document),
1267function(a, b, c, d) {
1268    "use strict";
1269    var e = function(b) {
1270        this._core = b,
1271        this._initialized = !1,
1272        this._pages = [],
1273        this._controls = {},
1274        this._templates = [],
1275        this.$element = this._core.$element,
1276        this._overrides = {
1277            next: this._core.next,
1278            prev: this._core.prev,
1279            to: this._core.to
1280        },
1281        this._handlers = {
1282            "prepared.owl.carousel": a.proxy(function(b) {
1283                b.namespace && this._core.settings.dotsData && this._templates.push('<div class="' + this._core.settings.dotClass + '">' + a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot") + "</div>")
1284            }, this),
1285            "added.owl.carousel": a.proxy(function(a) {
1286                a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 0, this._templates.pop())
1287            }, this),
1288            "remove.owl.carousel": a.proxy(function(a) {
1289                a.namespace && this._core.settings.dotsData && this._templates.splice(a.position, 1)
1290            }, this),
1291            "changed.owl.carousel": a.proxy(function(a) {
1292                a.namespace && "position" == a.property.name && this.draw()
1293            }, this),
1294            "initialized.owl.carousel": a.proxy(function(a) {
1295                a.namespace && !this._initialized && (this._core.trigger("initialize", null, "navigation"),
1296                this.initialize(),
1297                this.update(),
1298                this.draw(),
1299                this._initialized = !0,
1300                this._core.trigger("initialized", null, "navigation"))
1301            }, this),
1302            "refreshed.owl.carousel": a.proxy(function(a) {
1303                a.namespace && this._initialized && (this._core.trigger("refresh", null, "navigation"),
1304                this.update(),
1305                this.draw(),
1306                this._core.trigger("refreshed", null, "navigation"))
1307            }, this)
1308        },
1309        this._core.options = a.extend({}, e.Defaults, this._core.options),
1310        this.$element.on(this._handlers)
1311    };
1312    e.Defaults = {
1313        nav: !1,
1314        navText: ["prev", "next"],
1315        navSpeed: !1,
1316        navElement: "div",
1317        navContainer: !1,
1318        navContainerClass: "owl-nav",
1319        navClass: ["owl-prev", "owl-next"],
1320        slideBy: 1,
1321        dotClass: "owl-dot",
1322        dotsClass: "owl-dots",
1323        dots: !0,
1324        dotsEach: !1,
1325        dotsData: !1,
1326        dotsSpeed: !1,
1327        dotsContainer: !1
1328    },
1329    e.prototype.initialize = function() {
1330        var b, c = this._core.settings;
1331        this._controls.$relative = (c.navContainer ? a(c.navContainer) : a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),
1332        this._controls.$previous = a("<" + c.navElement + ">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click", a.proxy(function(a) {
1333            this.prev(c.navSpeed)
1334        }, this)),
1335        this._controls.$next = a("<" + c.navElement + ">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click", a.proxy(function(a) {
1336            this.next(c.navSpeed)
1337        }, this)),
1338        c.dotsData || (this._templates = [a("<div>").addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),
1339        this._controls.$absolute = (c.dotsContainer ? a(c.dotsContainer) : a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),
1340        this._controls.$absolute.on("click", "div", a.proxy(function(b) {
1341            var d = a(b.target).parent().is(this._controls.$absolute) ? a(b.target).index() : a(b.target).parent().index();
1342            b.preventDefault(),
1343            this.to(d, c.dotsSpeed)
1344        }, this));
1345        for (b in this._overrides)
1346            this._core[b] = a.proxy(this[b], this)
1347    }
1348    ,
1349    e.prototype.destroy = function() {
1350        var a, b, c, d;
1351        for (a in this._handlers)
1352            this.$element.off(a, this._handlers[a]);
1353        for (b in this._controls)
1354            this._controls[b].remove();
1355        for (d in this.overides)
1356            this._core[d] = this._overrides[d];
1357        for (c in Object.getOwnPropertyNames(this))
1358            "function" != typeof this[c] && (this[c] = null)
1359    }
1360    ,
1361    e.prototype.update = function() {
1362        var a, b, c, d = this._core.clones().length / 2, e = d + this._core.items().length, f = this._core.maximum(!0), g = this._core.settings, h = g.center || g.autoWidth || g.dotsData ? 1 : g.dotsEach || g.items;
1363        if ("page" !== g.slideBy && (g.slideBy = Math.min(g.slideBy, g.items)),
1364        g.dots || "page" == g.slideBy)
1365            for (this._pages = [],
1366            a = d,
1367            b = 0,
1368            c = 0; a < e; a++) {
1369                if (b >= h || 0 === b) {
1370                    if (this._pages.push({
1371                        start: Math.min(f, a - d),
1372                        end: a - d + h - 1
1373                    }),
1374                    Math.min(f, a - d) === f)
1375                        break;
1376                    b = 0,
1377                    ++c
1378                }
1379                b += this._core.mergers(this._core.relative(a))
1380            }
1381    }
1382    ,
1383    e.prototype.draw = function() {
1384        var b, c = this._core.settings, d = this._core.items().length <= c.items, e = this._core.relative(this._core.current()), f = c.loop || c.rewind;
1385        this._controls.$relative.toggleClass("disabled", !c.nav || d),
1386        c.nav && (this._controls.$previous.toggleClass("disabled", !f && e <= this._core.minimum(!0)),
1387        this._controls.$next.toggleClass("disabled", !f && e >= this._core.maximum(!0))),
1388        this._controls.$absolute.toggleClass("disabled", !c.dots || d),
1389        c.dots && (b = this._pages.length - this._controls.$absolute.children().length,
1390        c.dotsData && 0 !== b ? this._controls.$absolute.html(this._templates.join("")) : b > 0 ? this._controls.$absolute.append(new Array(b + 1).join(this._templates[0])) : b < 0 && this._controls.$absolute.children().slice(b).remove(),
1391        this._controls.$absolute.find(".active").removeClass("active"),
1392        this._controls.$absolute.children().eq(a.inArray(this.current(), this._pages)).addClass("active"))
1393    }
1394    ,
1395    e.prototype.onTrigger = function(b) {
1396        var c = this._core.settings;
1397        b.page = {
1398            index: a.inArray(this.current(), this._pages),
1399            count: this._pages.l
vendor: 5,600 bytes, lines 1399-1545
1399ength,
1400            size: c && (c.center || c.autoWidth || c.dotsData ? 1 : c.dotsEach || c.items)
1401        }
1402    }
1403    ,
1404    e.prototype.current = function() {
1405        var b = this._core.relative(this._core.current());
1406        return a.grep(this._pages, a.proxy(function(a, c) {
1407            return a.start <= b && a.end >= b
1408        }, this)).pop()
1409    }
1410    ,
1411    e.prototype.getPosition = function(b) {
1412        var c, d, e = this._core.settings;
1413        return "page" == e.slideBy ? (c = a.inArray(this.current(), this._pages),
1414        d = this._pages.length,
1415        b ? ++c : --c,
1416        c = this._pages[(c % d + d) % d].start) : (c = this._core.relative(this._core.current()),
1417        d = this._core.items().length,
1418        b ? c += e.slideBy : c -= e.slideBy),
1419        c
1420    }
1421    ,
1422    e.prototype.next = function(b) {
1423        a.proxy(this._overrides.to, this._core)(this.getPosition(!0), b)
1424    }
1425    ,
1426    e.prototype.prev = function(b) {
1427        a.proxy(this._overrides.to, this._core)(this.getPosition(!1), b)
1428    }
1429    ,
1430    e.prototype.to = function(b, c, d) {
1431        var e;
1432        !d && this._pages.length ? (e = this._pages.length,
1433        a.proxy(this._overrides.to, this._core)(this._pages[(b % e + e) % e].start, c)) : a.proxy(this._overrides.to, this._core)(b, c)
1434    }
1435    ,
1436    a.fn.owlCarousel.Constructor.Plugins.Navigation = e
1437}(window.Zepto || window.jQuery, window, document),
1438function(a, b, c, d) {
1439    "use strict";
1440    var e = function(c) {
1441        this._core = c,
1442        this._hashes = {},
1443        this.$element = this._core.$element,
1444        this._handlers = {
1445            "initialized.owl.carousel": a.proxy(function(c) {
1446                c.namespace && "URLHash" === this._core.settings.startPosition && a(b).trigger("hashchange.owl.navigation")
1447            }, this),
1448            "prepared.owl.carousel": a.proxy(function(b) {
1449                if (b.namespace) {
1450                    var c = a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");
1451                    if (!c)
1452                        return;
1453                    this._hashes[c] = b.content
1454                }
1455            }, this),
1456            "changed.owl.carousel": a.proxy(function(c) {
1457                if (c.namespace && "position" === c.property.name) {
1458                    var d = this._core.items(this._core.relative(this._core.current()))
1459                      , e = a.map(this._hashes, function(a, b) {
1460                        return a === d ? b : null
1461                    }).join();
1462                    if (!e || b.location.hash.slice(1) === e)
1463                        return;
1464                    b.location.hash = e
1465                }
1466            }, this)
1467        },
1468        this._core.options = a.extend({}, e.Defaults, this._core.options),
1469        this.$element.on(this._handlers),
1470        a(b).on("hashchange.owl.navigation", a.proxy(function(a) {
1471            var c = b.location.hash.substring(1)
1472              , e = this._core.$stage.children()
1473              , f = this._hashes[c] && e.index(this._hashes[c]);
1474            f !== d && f !== this._core.current() && this._core.to(this._core.relative(f), !1, !0)
1475        }, this))
1476    };
1477    e.Defaults = {
1478        URLhashListener: !1
1479    },
1480    e.prototype.destroy = function() {
1481        var c, d;
1482        a(b).off("hashchange.owl.navigation");
1483        for (c in this._handlers)
1484            this._core.$element.off(c, this._handlers[c]);
1485        for (d in Object.getOwnPropertyNames(this))
1486            "function" != typeof this[d] && (this[d] = null)
1487    }
1488    ,
1489    a.fn.owlCarousel.Constructor.Plugins.Hash = e
1490}(window.Zepto || window.jQuery, window, document),
1491function(a, b, c, d) {
1492    function e(b, c) {
1493        var e = !1
1494          , f = b.charAt(0).toUpperCase() + b.slice(1);
1495        return a.each((b + " " + h.join(f + " ") + f).split(" "), function(a, b) {
1496            if (g[b] !== d)
1497                return e = !c || b,
1498                !1
1499        }),
1500        e
1501    }
1502    function f(a) {
1503        return e(a, !0)
1504    }
1505    var g = a("<support>").get(0).style
1506      , h = "Webkit Moz O ms".split(" ")
1507      , i = {
1508        transition: {
1509            end: {
1510                WebkitTransition: "webkitTransitionEnd",
1511                MozTransition: "transitionend",
1512                OTransition: "oTransitionEnd",
1513                transition: "transitionend"
1514            }
1515        },
1516        animation: {
1517            end: {
1518                WebkitAnimation: "webkitAnimationEnd",
1519                MozAnimation: "animationend",
1520                OAnimation: "oAnimationEnd",
1521                animation: "animationend"
1522            }
1523        }
1524    }
1525      , j = {
1526        csstransforms: function() {
1527            return !!e("transform")
1528        },
1529        csstransforms3d: function() {
1530            return !!e("perspective")
1531        },
1532        csstransitions: function() {
1533            return !!e("transition")
1534        },
1535        cssanimations: function() {
1536            return !!e("animation")
1537        }
1538    };
1539    j.csstransitions() && (a.support.transition = new String(f("transition")),
1540    a.support.transition.end = i.transition.end[a.support.transition]),
1541    j.cssanimations() && (a.support.animation = new String(f("animation")),
1542    a.support.animation.end = i.animation.end[a.support.animation]),
1543    j.csstransforms() && (a.support.transform = new String(f("transform")),
1544    a.support.transform3d = j.csstransforms3d())
1545}(window.Zepto || window.jQuery, window, document);

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.