PageSourceSearch

https://zzuli.edu.cn/_upload/tpl/0a/28/2600/template2600/js/royalslider.js

js zzuli.edu.cn collected 2026-10-02 11:11:49 UTC 95,688 bytes, 2,281 lines download raw bytes

1// jquery.royalslider v9.5.1
2(function(n) {
3    function u(b, f) {
4        var c, a = this, e = window.navigator, g = e.userAgent.toLowerCase();
5        a.uid = n.rsModules.uid++;
6        a.ns = ".rs" + a.uid;
7        var d = document.createElement("div").style, h = ["webkit", "Moz", "ms", "O"], k = "", l = 0, r;
8        for (c = 0; c < h.length; c++)
9            r = h[c],
10            !k && r + "Transform"in d && (k = r),
11            r = r.toLowerCase(),
12            window.requestAnimationFrame || (window.requestAnimationFrame = window[r + "RequestAnimationFrame"],
13            window.cancelAnimationFrame = window[r + "CancelAnimationFrame"] || window[r + "CancelRequestAnimationFrame"]);
14        window.requestAnimationFrame || (window.requestAnimationFrame = function(a, b) {
15            var c = (new Date).getTime()
16              , d = Math.max(0, 16 - (c - l))
17              , e = window.setTimeout(function() {
18                a(c + d)
19            }, d);
20            l = c + d;
21            return e
22        }
23        );
24        window.cancelAnimationFrame || (window.cancelAnimationFrame = function(a) {
25            clearTimeout(a)
26        }
27        );
28        a.isIPAD = g.match(/(ipad)/);
29        a.isIOS = a.isIPAD || g.match(/(iphone|ipod)/);
30        c = function(a) {
31            a = /(chrome)[ \/]([\w.]+)/.exec(a) || /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || 0 > a.indexOf("compatible") && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a) || [];
32            return {
33                browser: a[1] || "",
34                version: a[2] || "0"
35            }
36        }(g);
37        h = {};
38        c.browser && (h[c.browser] = !0,
39        h.version = c.version);
40        h.chrome && (h.webkit = !0);
41        a._a = h;
42        a.isAndroid = -1 < g.indexOf("android");
43        a.slider = n(b);
44        a.ev = n(a);
45        a._b = n(document);
46        a.st = n.extend({}, n.fn.royalSlider.defaults, f);
47        a._c = a.st.transitionSpeed;
48        a._d = 0;
49        !a.st.allowCSS3 || h.webkit && !a.st.allowCSS3OnWebkit || (c = k + (k ? "T" : "t"),
50        a._e = c + "ransform"in d && c + "ransition"in d,
51        a._e && (a._f = k + (k ? "P" : "p") + "erspective"in d));
52        k = k.toLowerCase();
53        a._g = "-" + k + "-";
54        a._h = "vertical" === a.st.slidesOrientation ? !1 : !0;
55        a._i = a._h ? "left" : "top";
56        a._j = a._h ? "width" : "height";
57        a._k = -1;
58        a._l = "fade" === a.st.transitionType ? !1 : !0;
59        a._l || (a.st.sliderDrag = !1,
60        a._m = 10);
61        a._n = "z-index:0; display:none; opacity:0;";
62        a._o = 0;
63        a._p = 0;
64        a._q = 0;
65        n.each(n.rsModules, function(b, c) {
66            "uid" !== b && c.call(a)
67        });
68        a.slides = [];
69        a._r = 0;
70        (a.st.slides ? n(a.st.slides) : a.slider.children().detach()).each(function() {
71            a._s(this, !0)
72        });
73        a.st.randomizeSlides && a.slides.sort(function() {
74            return 0.5 - Math.random()
75        });
76        a.numSlides = a.slides.length;
77        a._t();
78        a.st.startSlideId ? a.st.startSlideId > a.numSlides - 1 && (a.st.startSlideId = a.numSlides - 1) : a.st.startSlideId = 0;
79        a._o = a.staticSlideId = a.currSlideId = a._u = a.st.startSlideId;
80        a.currSlide = a.slides[a.currSlideId];
81        a._v = 0;
82        a.pointerMultitouch = !1;
83        a.slider.addClass((a._h ? "rsHor" : "rsVer") + (a._l ? "" : " rsFade"));
84        d = '<div class="rsOverflow"><div class="rsContainer">';
85        a.slidesSpacing = a.st.slidesSpacing;
86        a._w = (a._h ? a.slider.width() : a.slider.height()) + a.st.slidesSpacing;
87        a._x = Boolean(0 < a._y);
88        1 >= a.numSlides && (a._z = !1);
89        a._a1 = a._z && a._l ? 2 === a.numSlides ? 1 : 2 : 0;
90        a._b1 = 6 > a.numSlides ? a.numSlides : 6;
91        a._c1 = 0;
92        a._d1 = 0;
93        a.slidesJQ = [];
94        for (c = 0; c < a.numSlides; c++)
95            a.slidesJQ.push(n('<div style="' + (a._l ? "" : c !== a.currSlideId ? a._n : "z-index:0;") + '" class="rsSlide "></div>'));
96        a._e1 = d = n(d + "</div></div>");
97        var m = a.ns
98          , k = function(b, c, d, e, f) {
99            a._j1 = b + c + m;
100            a._k1 = b + d + m;
101            a._l1 = b + e + m;
102            f && (a._m1 = b + f + m)
103        };
104        c = e.pointerEnabled;
105        a.pointerEnabled = c || e.msPointerEnabled;
106        a.pointerEnabled ? (a.hasTouch = !1,
107        a._n1 = 0.2,
108        a.pointerMultitouch = Boolean(1 < e[(c ? "m" : "msM") + "axTouchPoints"]),
109        c ? k("pointer", "down", "move", "up", "cancel") : k("MSPointer", "Down", "Move", "Up", "Cancel")) : (a.isIOS ? a._j1 = a._k1 = a._l1 = a._m1 = "" : k("mouse", "down", "move", "up"),
110        "ontouchstart"in window || "createTouch"in document ? (a.hasTouch = !0,
111        a._j1 += " touchstart" + m,
112        a._k1 += " touchmove" + m,
113        a._l1 += " touchend" + m,
114        a._m1 += " touchcancel" + m,
115        a._n1 = 0.5,
116        a.st.sliderTouch && (a._f1 = !0)) : (a.hasTouch = !1,
117        a._n1 = 0.2));
118        a.st.sliderDrag && (a._f1 = !0,
119        h.msie || h.opera ? a._g1 = a._h1 = "move" : h.mozilla ? (a._g1 = "-moz-grab",
120        a._h1 = "-moz-grabbing") : h.webkit && -1 != e.platform.indexOf("Mac") && (a._g1 = "-webkit-grab",
121        a._h1 = "-webkit-grabbing"),
122        a._i1());
123        a.slider.html(d);
124        a._o1 = a.st.controlsInside ? a._e1 : a.slider;
125        a._p1 = a._e1.children(".rsContainer");
126        a.pointerEnabled && a._p1.css((c ? "" : "-ms-") + "touch-action", a._h ? "pan-y" : "pan-x");
127        a._q1 = n('<div class="rsPreloader"></div>');
128        e = a._p1.children(".rsSlide");
129        a._r1 = a.slidesJQ[a.currSlideId];
130        a._s1 = 0;
131        a._e ? (a._t1 = "transition-property",
132        a._u1 = "transition-duration",
133        a._v1 = "transition-timing-function",
134        a._w1 = a._x1 = a._g + "transform",
135        a._f ? (h.webkit && !h.chrome && a.slider.addClass("rsWebkit3d"),
136        a._y1 = "translate3d(",
137        a._z1 = "px, ",
138        a._a2 = "px, 0px)") : (a._y1 = "translate(",
139        a._z1 = "px, ",
140        a._a2 = "px)"),
141        a._l ? a._p1[a._g + a._t1] = a._g + "transform" : (h = {},
142        h[a._g + a._t1] = "opacity",
143        h[a._g + a._u1] = a.st.transitionSpeed + "ms",
144        h[a._g + a._v1] = a.st.css3easeInOut,
145        e.css(h))) : (a._x1 = "left",
146        a._w1 = "top");
147        var p;
148        n(window).on("resize" + a.ns, function() {
149            p && clearTimeout(p);
150            p = setTimeout(function() {
151                a.updateSliderSize()
152            }, 50)
153        });
154        a.ev.trigger("rsAfterPropsSetup");
155        a.updateSliderSize();
156        a.st.keyboardNavEnabled && a._b2();
157        a.st.arrowsNavHideOnTouch && (a.hasTouch || a.pointerMultitouch) && (a.st.arrowsNav = !1);
158        a.st.arrowsNav && (e = a._o1,
159        n('<div class="rsArrow rsArrowLeft"><div class="rsArrowIcn"></div></div><div class="rsArrow rsArrowRight"><div class="rsArrowIcn"></div></div>').appendTo(e),
160        a._c2 = e.children(".rsArrowLeft").click(function(b) {
161            b.preventDefault();
162            a.prev()
163        }),
164        a._d2 = e.children(".rsArrowRight").click(function(b) {
165            b.preventDefault();
166            a.next()
167        }),
168        a.st.arrowsNavAutoHide && !a.hasTouch && (a._c2.addClass("rsHidden"),
169        a._d2.addClass("rsHidden"),
170        e.one("mousemove.arrowshover", function() {
171            a._c2.removeClass("rsHidden");
172            a._d2.removeClass("rsHidden")
173        }),
174        e.hover(function() {
175            a._e2 || (a._c2.removeClass("rsHidden"),
176            a._d2.removeClass("rsHidden"))
177        }, function() {
178            a._e2 || (a._c2.addClass("rsHidden"),
179            a._d2.addClass("rsHidden"))
180        })),
181        a.ev.on("rsOnUpdateNav", function() {
182            a._f2()
183        }),
184        a._f2());
185        if (a._f1)
186            a._p1.on(a._j1, function(b) {
187                a._g2(b)
188            });
189        else
190            a.dragSuccess = !1;
191        var q = ["rsPlayBtnIcon", "rsPlayBtn", "rsCloseVideoBtn", "rsCloseVideoIcn"];
192        a._p1.click(function(b) {
193            if (!a.dragSuccess) {
194                var c = n(b.target).attr("class");
195                if (-1 !== n.inArray(c, q) && a.toggleVideo())
196                    return !1;
197                if (a.st.navigateByClick && !a._h2) {
198                    if (n(b.target).closest(".rsNoDrag", a._r1).length)
199                        return !0;
200                    a._i2(b)
201                }
202                a.ev.trigger("rsSlideClick", b)
203            }
204        }).on("click.rs", "a", function(b) {
205            if (a.dragSuccess)
206                return !1;
207            a._h2 = !0;
208            setTimeout(function() {
209                a._h2 = !1
210            }, 3)
211        });
212        a.ev.trigger("rsAfterInit")
213    }
214    n.rsModules || (n.rsModules = {
215        uid: 0
216    });
217    u.prototype = {
218        constructor: u,
219        _i2: function(b) {
220            b = b[this._h ? "pageX" : "pageY"] - this._j2;
221            b >= this._q ? this.next() : 0 > b && this.prev()
222        },
223        _t: function() {
224            var b;
225            b = this.st.numImagesToPreload;
226            if (this._z = this.st.loop)
227                2 === this.numSlides ? (this._z = !1,
228                this.st.loopRewind = !0) : 2 > this.numSlides && (this.st.loopRewind = this._z = !1);
229            this._z && 0 < b && (4 >= this.numSlides ? b = 1 : this.st.numImagesToPreload > (this.numSlides - 1) / 2 && (b = Math.floor((this.numSlides - 1) / 2)));
230            this._y = b
231        },
232        _s: function(b, f) {
233            function c(b, c) {
234                c ? g.images.push(b.attr(c)) : g.images.push(b.text());
235                if (h) {
236                    h = !1;
237                    g.caption = "src" === c ? b.attr("alt") : b.contents();
238                    g.image = g.images[0];
239                    g.videoURL = b.attr("data-rsVideo");
240                    var d = b.attr("data-rsw")
241                      , e = b.attr("data-rsh");
242                    "undefined" !== typeof d && !1 !== d && "undefined" !== typeof e && !1 !== e ? (g.iW = parseInt(d, 10),
243                    g.iH = parseInt(e, 10)) : a.st.imgWidth && a.st.imgHeight && (g.iW = a.st.imgWidth,
244                    g.iH = a.st.imgHeight)
245                }
246            }
247            var a = this, e, g = {}, d, h = !0;
248            b = n(b);
249            a._k2 = b;
250            a.ev.trigger("rsBeforeParseNode", [b, g]);
251            if (!g.stopParsing)
252                return b = a._k2,
253                g.id = a._r,
254                g.contentAdded = !1,
255                a._r++,
256                g.images = [],
257                g.isBig = !1,
258                g.hasCover || (b.hasClass("rsImg") ? (d = b,
259                e = !0) : (d = b.find(".rsImg"),
260                d.length && (e = !0)),
261                e ? (g.bigImage = d.eq(0).attr("data-rsBigImg"),
262                d.each(function() {
263                    var a = n(this);
264                    a.is("a") ? c(a, "href") : a.is("img") ? c(a, "src") : c(a)
265                })) : b.is("img") && (b.addClass("rsImg rsMainSlideImage"),
266                c(b, "src"))),
267                d = b.find(".rsCaption"),
268                d.length && (g.caption = d.remove()),
269                g.content = b,
270                a.ev.trigger("rsAfterParseNode", [b, g]),
271                f && a.slides.push(g),
272                0 === g.images.length && (g.isLoaded = !0,
273                g.isRendered = !1,
274                g.isLoading = !1,
275                g.images = null),
276                g
277        },
278        _b2: function() {
279            var b = this, f, c, a = function(a) {
280                37 === a ? b.prev() : 39 === a && b.next()
281            };
282            b._b.on("keydown" + b.ns, function(e) {
283                b._l2 || (c = e.keyCode,
284                37 !== c && 39 !== c || f || (a(c),
285                f = setInterval(function() {
286                    a(c)
287                }, 700)))
288            }).on("keyup" + b.ns, function(a) {
289                f && (clearInterval(f),
290                f = null)
291            })
292        },
293        goTo: function(b, f) {
294            b !== this.currSlideId && this._m2(b, this.st.transitionSpeed, !0, !f)
295        },
296        destroy: function(b) {
297            this.ev.trigger("rsBeforeDestroy");
298            this._b.off("keydown" + this.ns + " keyup" + this.ns + " " + this._k1 + " " + this._l1);
299            this._p1.off(this._j1 + " click");
300            this.slider.data("royalSlider", null);
301            n.removeData(this.slider, "royalSlider");
302            n(window).off("resize" + this.ns);
303            b && this.slider.remove();
304            this.ev = this.slider = this.slides = null
305        },
306        _n2: function(b, f) {
307            function c(c, f, g) {
308                c.isAdded ? (a(f, c),
309                e(f, c)) : (g || (g = d.slidesJQ[f]),
310                c.holder ? g = c.holder : (g = d.slidesJQ[f] = n(g),
311                c.holder = g),
312                c.appendOnLoaded = !1,
313                e(f, c, g),
314                a(f, c),
315                d._p2(c, g, b),
316                c.isAdded = !0)
317            }
318            function a(a, c) {
319                c.contentAdded || (d.setItemHtml(c, b),
320                b || (c.contentAdded = !0))
321            }
322            function e(a, b, c) {
323                d._l && (c || (c = d.slidesJQ[a]),
324                c.css(d._i, (a + d._d1 + p) * d._w))
325            }
326            function g(a) {
327                if (l) {
328                    if (a > r - 1)
329                        return g(a - r);
330                    if (0 > a)
331                        return g(r + a)
332                }
333                return a
334            }
335            var d = this, h, k, l = d._z, r = d.numSlides;
336            if (!isNaN(f))
337                return g(f);
338            var m = d.currSlideId, p, q = b ? Math.abs(d._o2 - d.currSlideId) >= d.numSlides - 1 ? 0 : 1 : d._y, s = Math.min(2, q), v = !1, u = !1, t;
339            for (k = m; k < m + 1 + s; k++)
340                if (t = g(k),
341                (h = d.slides[t]) && (!h.isAdded || !h.positionSet)) {
342                    v = !0;
343                    break
344                }
345            for (k = m - 1; k > m - 1 - s; k--)
346                if (t = g(k),
347                (h = d.slides[t]) && (!h.isAdded || !h.positionSet)) {
348                    u = !0;
349                    break
350                }
351            if (v)
352                for (k = m; k < m + q + 1; k++)
353                    t = g(k),
354                    p = Math.floor((d._u - (m - k)) / d.numSlides) * d.numSlides,
355                    (h = d.slides[t]) && c(h, t);
356            if (u)
357                for (k = m - 1; k > m - 1 - q; k--)
358                    t = g(k),
359                    p = Math.floor((d._u - (m - k)) / r) * r,
360                    (h = d.slides[t]) && c(h, t);
361            if (!b)
362                for (s = g(m - q),
363                m = g(m + q),
364                q = s > m ? 0 : s,
365                k = 0; k < r; k++)
366                    s > m && k > s - 1 || !(k < q || k > m) || (h = d.slides[k]) && h.holder && (h.holder.detach(),
367                    h.isAdded = !1)
368        },
369        setItemHtml: function(b, f) {
370            var c = this
371              , a = function() {
372                if (!b.images)
373                    b.isRendered = !0,
374                    b.isLoaded = !0,
375                    b.isLoading = !1,
376                    d(!0);
377                else if (!b.isLoading) {
378                    var a, f;
379                    b.content.hasClass("rsImg") ? (a = b.content,
380                    f = !0) : a = b.content.find(".rsImg:not(img)");
381                    a && !a.is("img") && a.each(function() {
382                        var a = n(this)
383                          , c = '<img class="rsImg" src="' + (a.is("a") ? a.attr("href") : a.text()) + '" />';
384                        f ? b.content = n(c) : a.replaceWith(c)
385                    });
386                    a = f ? b.content : b.content.find("img.rsImg");
387                    k();
388                    a.eq(0).addClass("rsMainSlideImage");
389                    b.iW && b.iH && (b.isLoaded || c._q2(b),
390                    d());
391                    b.isLoading = !0;
392                    if (b.isBig)
393                        n("<img />").on("load.rs error.rs", function(a) {
394                            n(this).off("load.rs error.rs");
395                            e([this], !0)
396                        }).attr("src", b.image);
397                    else {
398                        b.loaded = [];
399                        b.numStartedLoad = 0;
400                        a = function(a) {
401                            n(this).off("load.rs error.rs");
402                            b.loaded.push(this);
403                            b.loaded.length === b.numStartedLoad && e(b.loaded, !1)
404                        }
405                        ;
406                        for (var g = 0; g < b.images.length; g++) {
407                            var h = n("<img />");
408                            b.numStartedLoad++;
409                            h.on("load.rs error.rs", a).attr("src", b.images[g])
410                        }
411                    }
412                }
413            }
414              , e = function(a, c) {
415                if (a.length) {
416                    var d = a[0];
417                    if (c !== b.isBig)
418                        (d = b.holder.children()) && 1 < d.length && l();
419                    else if (b.iW && b.iH)
420                        g();
421                    else if (b.iW = d.width,
422                    b.iH = d.height,
423                    b.iW && b.iH)
424                        g();
425                    else {
426                        var e = new Image;
427                        e.onload = function() {
428                            e.width ? (b.iW = e.width,
429                            b.iH = e.height,
430                            g()) : setTimeout(function() {
431                                e.width && (b.iW = e.width,
432                                b.iH = e.height);
433                                g()
434                            }, 1E3)
435                        }
436                        ;
437                        e.src = d.src
438                    }
439                } else
440                    g()
441            }
442              , g = function() {
443                b.isLoaded = !0;
444                b.isLoading = !1;
445                d();
446                l();
447                h()
448            }
449              , d = function() {
450                if (!b.isAppended && c.ev) {
451                    var a = c.st.visibleNearby
452                      , d = b.id - c._o;
453                    f || b.appendOnLoaded || !c.st.fadeinLoadedSlide || 0 !== d && (!(a || c._r2 || c._l2) || -1 !== d && 1 !== d) || (a = {
454                        visibility: "visible",
455                        opacity: 0
456                    },
457                    a[c._g + "transition"] = "opacity 400ms ease-in-out",
458                    b.content.css(a),
459                    setTimeout(function() {
460                        b.content.css("opacity", 1)
461                    }, 16));
462                    b.holder.find(".rsPreloader").length ? b.holder.append(b.content) : b.holder.html(b.content);
463                    b.isAppended = !0;
464                    b.isLoaded && (c._q2(b),
465                    h());
466                    b.sizeReady || (b.sizeReady = !0,
467                    setTimeout(function() {
468                        c.ev.trigger("rsMaybeSizeReady", b)
469                    }, 100))
470                }
471            }
472              , h = function() {
473                !b.loadedTriggered && c.ev && (b.isLoaded = b.loadedTriggered = !0,
474                b.holder.trigger("rsAfterContentSet"),
475                c.ev.trigger("rsAfterContentSet", b))
476            }
477              , k = function() {
478                c.st.usePreloader && b.holder.html(c._q1.clone())
479            }
480              , l = function(a) {
481                c.st.usePreloader && (a = b.holder.find(".rsPreloader"),
482                a.length && a.remove())
483            };
484            b.isLoaded ? d() : f ? !c._l && b.images && b.iW && b.iH ? a() : (b.holder.isWaiting = !0,
485            k(),
486            b.holder.slideId = -99) : a()
487        },
488        _p2: function(b, f, c) {
489            this._p1.append(b.holder);
490            b.appendOnLoaded = !1
491        },
492        _g2: function(b, f) {
493            var c = this, a, e = "touchstart" === b.type;
494            c._s2 = e;
495            c.ev.trigger("rsDragStart");
496            if (n(b.target).closest(".rsNoDrag", c._r1).length)
497                return c.dragSuccess = !1,
498                !0;
499            !f && c._r2 && (c._t2 = !0,
500            c._u2());
501            c.dragSuccess = !1;
502            if (c._l2)
503                e && (c._v2 = !0);
504            else {
505                e && (c._v2 = !1);
506                c._w2();
507                if (e) {
508                    var g = b.originalEvent.touches;
509                    if (g && 0 < g.length)
510                        a = g[0],
511                        1 < g.length && (c._v2 = !0);
512                    else
513                        return
514                } else
515                    b.preventDefault(),
516                    a = b,
517                    c.pointerEnabled && (a = a.originalEvent);
518                c._l2 = !0;
519                c._b.on(c._k1, function(a) {
520                    c._x2(a, f)
521                }).on(c._l1, function(a) {
522                    c._y2(a, f)
523                });
524                c._z2 = "";
525                c._a3 = !1;
526                c._b3 = a.pageX;
527                c._c3 = a.pageY;
528                c._d3 = c._v = (f ? c._e3 : c._h) ? a.pageX : a.pageY;
529                c._f3 = 0;
530                c._g3 = 0;
531                c._h3 = f ? c._i3 : c._p;
532                c._j3 = (new Date).getTime();
533                if (e)
534                    c._e1.on(c._m1, function(a) {
535                        c._y2(a, f)
536                    })
537            }
538        },
539        _k3: function(b, f) {
540            if (this._l3) {
541                var c = this._m3
542                  , a = b.pageX - this._b3
543                  , e = b.pageY - this._c3
544                  , g = this._h3 + a
545                  , d = this._h3 + e
546                  , h = f ? this._e3 : this._h
547                  , g = h ? g : d
548                  , d = this._z2;
549                this._a3 = !0;
550                this._b3 = b.pageX;
551                this._c3 = b.pageY;
552                "x" === d && 0 !== a ? this._f3 = 0 < a ? 1 : -1 : "y" === d && 0 !== e && (this._g3 = 0 < e ? 1 : -1);
553                d = h ? this._b3 : this._c3;
554                a = h ? a : e;
555                f ? g > this._n3 ? g = this._h3 + a * this._n1 : g < this._o3 && (g = this._h3 + a * this._n1) : this._z || (0 >= this.currSlideId && 0 < d - this._d3 && (g = this._h3 + a * this._n1),
556                this.currSlideId >= this.numSlides - 1 && 0 > d - this._d3 && (g = this._h3 + a * this._n1));
557                this._h3 = g;
558                200 < c - this._j3 && (this._j3 = c,
559                this._v = d);
560                f ? this._q3(this._h3) : this._l && this._p3(this._h3)
561            }
562        },
563        _x2: function(b, f) {
564            var c = this, a, e = "touchmove" === b.type;
565            if (!c._s2 || e) {
566                if (e) {
567                    if (c._r3)
568                        return;
569                    var g = b.originalEvent.touches;
570                    if (g) {
571                        if (1 < g.length)
572                            return;
573                        a = g[0]
574                    } else
575                        return
576                } else
577                    a = b,
578                    c.pointerEnabled && (a = a.originalEvent);
579                c._a3 || (c._e && (f ? c._s3 : c._p1).css(c._g + c._u1, "0s"),
580                function h() {
581                    c._l2 && (c._t3 = requestAnimationFrame(h),
582                    c._u3 && c._k3(c._u3, f))
583                }());
584                if (c._l3)
585                    b.preventDefault(),
586                    c._m3 = (new Date).getTime(),
587                    c._u3 = a;
588                else if (g = f ? c._e3 : c._h,
589                a = Math.abs(a.pageX - c._b3) - Math.abs(a.pageY - c._c3) - (g ? -7 : 7),
590                7 < a) {
591                    if (g)
592                        b.preventDefault(),
593                        c._z2 = "x";
594                    else if (e) {
595                        c._v3(b);
596                        return
597                    }
598                    c._l3 = !0
599                } else if (-7 > a) {
600                    if (!g)
601                        b.preventDefault(),
602                        c._z2 = "y";
603                    else if (e) {
604                        c._v3(b);
605                        return
606                    }
607                    c._l3 = !0
608                }
609            }
610        },
611        _v3: function(b, f) {
612            this._r3 = !0;
613            this._a3 = this._l2 = !1;
614            this._y2(b)
615        },
616        _y2: function(b, f) {
617            function c(a) {
618                return 100 > a ? 100 : 500 < a ? 500 : a
619            }
620            function a(a, b) {
621                if (e._l || f)
622                    h = (-e._u - e._d1) * e._w,
623                    k = Math.abs(e._p - h),
624                    e._c = k / b,
625                    a && (e._c += 250),
626                    e._c = c(e._c),
627                    e._x3(h, !1)
628            }
629            var e = this, g, d, h, k;
630            g = -1 < b.type.indexOf("touch");
631            if (!e._s2 || g)
632                if (e._s2 = !1,
633                e.ev.trigger("rsDragRelease"),
634                e._u3 = null,
635                e._l2 = !1,
636                e._r3 = !1,
637                e._l3 = !1,
638                e._m3 = 0,
639                cancelAnimationFrame(e._t3),
640                e._a3 && (f ? e._q3(e._h3) : e._l && e._p3(e._h3)),
641                e._b.off(e._k1).off(e._l1),
642                g && e._e1.off(e._m1),
643                e._i1(),
644                !e._a3 && !e._v2 && f && e._w3) {
645                    var l = n(b.target).closest(".rsNavItem");
646                    l.length && e.goTo(l.index())
647                } else {
648                    d = f ? e._e3 : e._h;
649                    if (!e._a3 || "y" === e._z2 && d || "x" === e._z2 && !d)
650                        if (!f && e._t2) {
651                            e._t2 = !1;
652                            if (e.st.navigateByClick) {
653                                e._i2(e.pointerEnabled ? b.originalEvent : b);
654                                e.dragSuccess = !0;
655                                return
656                            }
657                            e.dragSuccess = !0
658                        } else {
659                            e._t2 = !1;
660                            e.dragSuccess = !1;
661                            return
662                        }
663                    else
664                        e.dragSuccess = !0;
665                    e._t2 = !1;
666                    e._z2 = "";
667                    var r = e.st.minSlideOffset;
668                    g = g ? b.originalEvent.changedTouches[0] : e.pointerEnabled ? b.originalEvent : b;
669                    var m = d ? g.pageX : g.pageY
670                      , p = e._d3;
671                    g = e._v;
672                    var q = e.currSlideId
673                      , s = e.numSlides
674                      , v = d ? e._f3 : e._g3
675                      , u = e._z;
676                    Math.abs(m - p);
677                    g = m - g;
678                    d = (new Date).getTime() - e._j3;
679                    d = Math.abs(g) / d;
680                    if (0 === v || 1 >= s)
681                        a(!0, d);
682                    else {
683                        if (!u && !f)
684                            if (0 >= q) {
685                                if (0 < v) {
686                                    a(!0, d);
687                                    return
688                                }
689                            } else if (q >= s - 1 && 0 > v) {
690                                a(!0, d);
691                                return
692                            }
693                        if (f) {
694                            h = e._i3;
695                            if (h > e._n3)
696                                h = e._n3;
697                            else if (h < e._o3)
698                                h = e._o3;
699                            else {
700                                m = d * d / 0.006;
701                                l = -e._i3;
702                                p = e._y3 - e._z3 + e._i3;
703                                0 < g && m > l ? (l += e._z3 / (15 / (m / d * 0.003)),
704                                d = d * l / m,
705                                m = l) : 0 > g && m > p && (p += e._z3 / (15 / (m / d * 0.003)),
706                                d = d * p / m,
707                                m = p);
708                                l = Math.max(Math.round(d / 0.003), 50);
709                                h += m * (0 > g ? -1 : 1);
710                                if (h > e._n3) {
711                                    e._a4(h, l, !0, e._n3, 200);
712                                    return
713                                }
714                                if (h < e._o3) {
715                                    e._a4(h, l, !0, e._o3, 200);
716                                    return
717                                }
718                            }
719                            e._a4(h, l, !0)
720                        } else
721                            l = function(a) {
722                                var b = Math.floor(a / e._w);
723                                a - b * e._w > r && b++;
724                                return b
725                            }
726                            ,
727                            p + r < m ? 0 > v ? a(!1, d) : (l = l(m - p),
728                            e._m2(e.currSlideId - l, c(Math.abs(e._p - (-e._u - e._d1 + l) * e._w) / d), !1, !0, !0)) : p - r > m ? 0 < v ? a(!1, d) : (l = l(p - m),
729                            e._m2(e.currSlideId + l, c(Math.abs(e._p - (-e._u - e._d1 - l) * e._w) / d), !1, !0, !0)) : a(!1, d)
730                    }
731                }
732        },
733        _p3: function(b) {
734            b = this._p = b;
735            this._e ? this._p1.css(this._x1, this._y1 + (this._h ? b + this._z1 + 0 : 0 + this._z1 + b) + this._a2) : this._p1.css(this._h ? this._x1 : this._w1, b)
736        },
737        updateSliderSize: function(b) {
738            var f, c;
739            if (this.st.autoScaleSlider) {
740                var a = this.st.autoScaleSliderWidth
741                  , e = this.st.autoScaleSliderHeight;
742                this.st.autoScaleHeight ? (f = this.slider.width(),
743                f != this.width && (this.slider.css("height", e / a * f),
744                f = this.slider.width()),
745                c = this.slider.height()) : (c = this.slider.height(),
746                c != this.height && (this.slider.css("width", a / e * c),
747                c = this.slider.height()),
748                f = this.slider.width())
749            } else
750                f = this.slider.width(),
751                c = this.slider.height();
752            if (b || f != this.width || c != this.height) {
753                this.width = f;
754                this.height = c;
755                this._b4 = f;
756                this._c4 = c;
757                this.ev.trigger("rsBeforeSizeSet");
758                this.ev.trigger("rsAfterSizePropSet");
759                this._e1.css({
760                    width: this._b4,
761                    height: this._c4
762                });
763                this._w = (this._h ? this._b4 : this._c4) + this.st.slidesSpacing;
764                this._d4 = this.st.imageScalePadding;
765                for (f = 0; f < this.slides.length; f++)
766                    b = this.slides[f],
767                    b.positionSet = !1,
768                    b && b.images && b.isLoaded && (b.isRendered = !1,
769                    this._q2(b));
770                if (this._e4)
771                    for (f = 0; f < this._e4.length; f++)
772                        b = this._e4[f],
773                        b.holder.css(this._i, (b.id + this._d1) * this._w);
774                this._n2();
775                this._l && (this._e && this._p1.css(this._g + "transition-duration", "0s"),
776                this._p3((-this._u - this._d1) * this._w));
777                this.ev.trigger("rsOnUpdateNav")
778            }
779            this._j2 = this._e1.offset();
780            this._j2 = this._j2[this._i]
781        },
782        appendSlide: function(b, f) {
783            var c = this._s(b);
784            if (isNaN(f) || f > this.numSlides)
785                f = this.numSlides;
786            this.slides.splice(f, 0, c);
787            this.slidesJQ.splice(f, 0, n('<div style="' + (this._l ? "position:absolute;" : this._n) + '" class="rsSlide"></div>'));
788            f < this.currSlideId && this.currSlideId++;
789            this.ev.trigger("rsOnAppendSlide", [c, f]);
790            this._f4(f);
791            f === this.currSlideId && this.ev.trigger("rsAfterSlideChange")
792        },
793        removeSlide: function(b) {
794            var f = this.slides[b];
795            f && (f.holder && f.holder.remove(),
796            b < this.currSlideId && this.currSlideId--,
797            this.slides.splice(b, 1),
798            this.slidesJQ.splice(b, 1),
799            this.ev.trigger("rsOnRemoveSlide", [b]),
800            this._f4(b),
801            b === this.currSlideId && this.ev.trigger("rsAfterSlideChange"))
802        },
803        _f4: function(b) {
804            var f = this;
805            b = f.numSlides;
806            b = 0 >= f._u ? 0 : Math.floor(f._u / b);
807            f.numSlides = f.slides.length;
808            0 === f.numSlides ? (f.currSlideId = f._d1 = f._u = 0,
809            f.currSlide = f._g4 = null) : f._u = b * f.numSlides + f.currSlideId;
810            for (b = 0; b < f.numSlides; b++)
811                f.slides[b].id = b;
812            f.currSlide = f.slides[f.currSlideId];
813            f._r1 = f.slidesJQ[f.currSlideId];
814            f.currSlideId >= f.numSlides ? f.goTo(f.numSlides - 1) : 0 > f.currSlideId && f.goTo(0);
815            f._t();
816            f._l && f._z && f._p1.css(f._g + f._u1, "0ms");
817            f._h4 && clearTimeout(f._h4);
818            f._h4 = setTimeout(function() {
819                f._l && f._p3((-f._u - f._d1) * f._w);
820                f._n2();
821                f._l || f._r1.css({
822                    display: "block",
823                    opacity: 1
824                })
825            }, 14);
826            f.ev.trigger("rsOnUpdateNav")
827        },
828        _i1: function() {
829            this._f1 && this._l && (this._g1 ? this._e1.css("cursor", this._g1) : (this._e1.removeClass("grabbing-cursor"),
830            this._e1.addClass("grab-cursor")))
831        },
832        _w2: function() {
833            this._f1 && this._l && (this._h1 ? this._e1.css("cursor", this._h1) : (this._e1.removeClass("grab-cursor"),
834            this._e1.addClass("grabbing-cursor")))
835        },
836        next: function(b) {
837            this._m2("next", this.st.transitionSpeed, !0, !b)
838        },
839        prev: function(b) {
840            this._m2("prev", this.st.transitionSpeed, !0, !b)
841        },
842        _m2: function(b, f, c, a, e) {
843            var g = this, d, h, k;
844            g.ev.trigger("rsBeforeMove", [b, a]);
845            k = "next" === b ? g.currSlideId + 1 : "prev" === b ? g.currSlideId - 1 : b = parseInt(b, 10);
846            if (!g._z) {
847                if (0 > k) {
848                    g._i4("left", !a);
849                    return
850                }
851                if (k >= g.numSlides) {
852                    g._i4("right", !a);
853                    return
854                }
855            }
856            g._r2 && (g._u2(!0),
857            c = !1);
858            h = k - g.currSlideId;
859            k = g._o2 = g.currSlideId;
860            var l = g.currSlideId + h;
861            a = g._u;
862            var n;
863            g._z ? (l = g._n2(!1, l),
864            a += h) : a = l;
865            g._o = l;
866            g._g4 = g.slidesJQ[g.currSlideId];
867            g._u = a;
868            g.currSlideId = g._o;
869            g.currSlide = g.slides[g.currSlideId];
870            g._r1 = g.slidesJQ[g.currSlideId];
871            var l = g.st.slidesDiff
872              , m = Boolean(0 < h);
873            h = Math.abs(h);
874            var p = Math.floor(k / g._y)
875              , q = Math.floor((k + (m ? l : -l)) / g._y)
876              , p = (m ? Math.max(p, q) : Math.min(p, q)) * g._y + (m ? g._y - 1 : 0);
877            p >
877 g.numSlides - 1 ? p = g.numSlides - 1 : 0 > p && (p = 0);
878            k = m ? p - k : k - p;
879            k > g._y && (k = g._y);
880            if (h > k + l)
881                for (g._d1 += (h - (k + l)) * (m ? -1 : 1),
882                f *= 1.4,
883                k = 0; k < g.numSlides; k++)
884                    g.slides[k].positionSet = !1;
885            g._c = f;
886            g._n2(!0);
887            e || (n = !0);
888            d = (-a - g._d1) * g._w;
889            n ? setTimeout(function() {
890                g._j4 = !1;
891                g._x3(d, b, !1, c);
892                g.ev.trigger("rsOnUpdateNav")
893            }, 0) : (g._x3(d, b, !1, c),
894            g.ev.trigger("rsOnUpdateNav"))
895        },
896        _f2: function() {
897            this.st.arrowsNav && (1 >= this.numSlides ? (this._c2.css("display", "none"),
898            this._d2.css("display", "none")) : (this._c2.css("display", "block"),
899            this._d2.css("display", "block"),
900            this._z || this.st.loopRewind || (0 === this.currSlideId ? this._c2.addClass("rsArrowDisabled") : this._c2.removeClass("rsArrowDisabled"),
901            this.currSlideId === this.numSlides - 1 ? this._d2.addClass("rsArrowDisabled") : this._d2.removeClass("rsArrowDisabled"))))
902        },
903        _x3: function(b, f, c, a, e) {
904            function g() {
905                var a;
906                h && (a = h.data("rsTimeout")) && (h !== k && h.css({
907                    opacity: 0,
908                    display: "none",
909                    zIndex: 0
910                }),
911                clearTimeout(a),
912                h.data("rsTimeout", ""));
913                if (a = k.data("rsTimeout"))
914                    clearTimeout(a),
915                    k.data("rsTimeout", "")
916            }
917            var d = this, h, k, l = {};
918            isNaN(d._c) && (d._c = 400);
919            d._p = d._h3 = b;
920            d.ev.trigger("rsBeforeAnimStart");
921            d._e ? d._l ? (d._c = parseInt(d._c, 10),
922            c = d._g + d._v1,
923            l[d._g + d._u1] = d._c + "ms",
924            l[c] = a ? n.rsCSS3Easing[d.st.easeInOut] : n.rsCSS3Easing[d.st.easeOut],
925            d._p1.css(l),
926            a || !d.hasTouch ? setTimeout(function() {
927                d._p3(b)
928            }, 5) : d._p3(b)) : (d._c = d.st.transitionSpeed,
929            h = d._g4,
930            k = d._r1,
931            k.data("rsTimeout") && k.css("opacity", 0),
932            g(),
933            h && h.data("rsTimeout", setTimeout(function() {
934                l[d._g + d._u1] = "0ms";
935                l.zIndex = 0;
936                l.display = "none";
937                h.data("rsTimeout", "");
938                h.css(l);
939                setTimeout(function() {
940                    h.css("opacity", 0)
941                }, 16)
942            }, d._c + 60)),
943            l.display = "block",
944            l.zIndex = d._m,
945            l.opacity = 0,
946            l[d._g + d._u1] = "0ms",
947            l[d._g + d._v1] = n.rsCSS3Easing[d.st.easeInOut],
948            k.css(l),
949            k.data("rsTimeout", setTimeout(function() {
950                k.css(d._g + d._u1, d._c + "ms");
951                k.data("rsTimeout", setTimeout(function() {
952                    k.css("opacity", 1);
953                    k.data("rsTimeout", "")
954                }, 20))
955            }, 20))) : d._l ? (l[d._h ? d._x1 : d._w1] = b + "px",
956            d._p1.animate(l, d._c, a ? d.st.easeInOut : d.st.easeOut)) : (h = d._g4,
957            k = d._r1,
958            k.stop(!0, !0).css({
959                opacity: 0,
960                display: "block",
961                zIndex: d._m
962            }),
963            d._c = d.st.transitionSpeed,
964            k.animate({
965                opacity: 1
966            }, d._c, d.st.easeInOut),
967            g(),
968            h && h.data("rsTimeout", setTimeout(function() {
969                h.stop(!0, !0).css({
970                    opacity: 0,
971                    display: "none",
972                    zIndex: 0
973                })
974            }, d._c + 60)));
975            d._r2 = !0;
976            d.loadingTimeout && clearTimeout(d.loadingTimeout);
977            d.loadingTimeout = e ? setTimeout(function() {
978                d.loadingTimeout = null;
979                e.call()
980            }, d._c + 60) : setTimeout(function() {
981                d.loadingTimeout = null;
982                d._k4(f)
983            }, d._c + 60)
984        },
985        _u2: function(b) {
986            this._r2 = !1;
987            clearTimeout(this.loadingTimeout);
988            if (this._l)
989                if (!this._e)
990                    this._p1.stop(!0),
991                    this._p = parseInt(this._p1.css(this._x1), 10);
992                else {
993                    if (!b) {
994                        b = this._p;
995                        var f = this._h3 = this._l4();
996                        this._p1.css(this._g + this._u1, "0ms");
997                        b !== f && this._p3(f)
998                    }
999                }
1000            else
1001                20 < this._m ? this._m = 10 : this._m++
1002        },
1003        _l4: function() {
1004            var b = window.getComputedStyle(this._p1.get(0), null).getPropertyValue(this._g + "transform").replace(/^matrix\(/i, "").split(/, |\)$/g)
1005              , f = 0 === b[0].indexOf("matrix3d");
1006            return parseInt(b[this._h ? f ? 12 : 4 : f ? 13 : 5], 10)
1007        },
1008        _m4: function(b, f) {
1009            return this._e ? this._y1 + (f ? b + this._z1 + 0 : 0 + this._z1 + b) + this._a2 : b
1010        },
1011        _k4: function(b) {
1012            this._l || (this._r1.css("z-index", 0),
1013            this._m = 10);
1014            this._r2 = !1;
1015            this.staticSlideId = this.currSlideId;
1016            this._n2();
1017            this._n4 = !1;
1018            this.ev.trigger("rsAfterSlideChange")
1019        },
1020        _i4: function(b, f) {
1021            var c = this
1022              , a = (-c._u - c._d1) * c._w;
1023            if (0 !== c.numSlides && !c._r2)
1024                if (c.st.loopRewind)
1025                    c.goTo("left" === b ? c.numSlides - 1 : 0, f);
1026                else if (c._l) {
1027                    c._c = 200;
1028                    var e = function() {
1029                        c._r2 = !1
1030                    };
1031                    c._x3(a + ("left" === b ? 30 : -30), "", !1, !0, function() {
1032                        c._r2 = !1;
1033                        c._x3(a, "", !1, !0, e)
1034                    })
1035                }
1036        },
1037        _q2: function(b, f) {
1038            if (!b.isRendered) {
1039                var c = b.content, a = "rsMainSlideImage", e, g = this.st.imageAlignCenter, d = this.st.imageScaleMode, h;
1040                b.videoURL && (a = "rsVideoContainer",
1041                "fill" !== d ? e = !0 : (h = c,
1042                h.hasClass(a) || (h = h.find("." + a)),
1043                h.css({
1044                    width: "100%",
1045                    height: "100%"
1046                }),
1047                a = "rsMainSlideImage"));
1048                c.hasClass(a) || (c = c.find("." + a));
1049                if (c) {
1050                    var k = b.iW
1051                      , l = b.iH;
1052                    b.isRendered = !0;
1053                    if ("none" !== d || g) {
1054                        a = "fill" !== d ? this._d4 : 0;
1055                        h = this._b4 - 2 * a;
1056                        var n = this._c4 - 2 * a, m, p, q = {};
1057                        "fit-if-smaller" === d && (k > h || l > n) && (d = "fit");
1058                        if ("fill" === d || "fit" === d)
1059                            m = h / k,
1060                            p = n / l,
1061                            m = "fill" == d ? m > p ? m : p : "fit" == d ? m < p ? m : p : 1,
1062                            k = Math.ceil(k * m, 10),
1063                            l = Math.ceil(l * m, 10);
1064                        "none" !== d && (q.width = k,
1065                        q.height = l,
1066                        e && c.find(".rsImg").css({
1067                            width: "100%",
1068                            height: "100%"
1069                        }));
1070                        g && (q.marginLeft = Math.floor((h - k) / 2) + a,
1071                        q.marginTop = Math.floor((n - l) / 2) + a);
1072                        c.css(q)
1073                    }
1074                }
1075            }
1076        }
1077    };
1078    n.rsProto = u.prototype;
1079    n.fn.royalSlider = function(b) {
1080        var f = arguments;
1081        return this.each(function() {
1082            var c = n(this);
1083            if ("object" !== typeof b && b) {
1084                if ((c = c.data("royalSlider")) && c[b])
1085                    return c[b].apply(c, Array.prototype.slice.call(f, 1))
1086            } else
1087                c.data("royalSlider") || c.data("royalSlider", new u(c,b))
1088        })
1089    }
1090    ;
1091    n.fn.royalSlider.defaults = {
1092        slidesSpacing: 8,
1093        startSlideId: 0,
1094        loop: !1,
1095        loopRewind: !1,
1096        numImagesToPreload: 4,
1097        fadeinLoadedSlide: !0,
1098        slidesOrientation: "horizontal",
1099        transitionType: "move",
1100        transitionSpeed: 600,
1101        controlNavigation: "bullets",
1102        controlsInside: !0,
1103        arrowsNav: !0,
1104        arrowsNavAutoHide: !0,
1105        navigateByClick: !0,
1106        randomizeSlides: !1,
1107        sliderDrag: !0,
1108        sliderTouch: !0,
1109        keyboardNavEnabled: !1,
1110        fadeInAfterLoaded: !0,
1111        allowCSS3: !0,
1112        allowCSS3OnWebkit: !0,
1113        addActiveClass: !1,
1114        autoHeight: !1,
1115        easeOut: "easeOutSine",
1116        easeInOut: "easeInOutSine",
1117        minSlideOffset: 10,
1118        imageScaleMode: "fit-if-smaller",
1119        imageAlignCenter: !0,
1120        imageScalePadding: 4,
1121        usePreloader: !0,
1122        autoScaleSlider: !1,
1123        autoScaleSliderWidth: 800,
1124        autoScaleSliderHeight: 400,
1125        autoScaleHeight: !0,
1126        arrowsNavHideOnTouch: !1,
1127        globalCaption: !1,
1128        slidesDiff: 2
1129    };
1130    n.rsCSS3Easing = {
1131        easeOutSine: "cubic-bezier(0.390, 0.575, 0.565, 1.000)",
1132        easeInOutSine: "cubic-bezier(0.445, 0.050, 0.550, 0.950)"
1133    };
1134    n.extend(jQuery.easing, {
1135        easeInOutSine: function(b, f, c, a, e) {
1136            return -a / 2 * (Math.cos(Math.PI * f / e) - 1) + c
1137        },
1138        easeOutSine: function(b, f, c, a, e) {
1139            return a * Math.sin(f / e * (Math.PI / 2)) + c
1140        },
1141        easeOutCubic: function(b, f, c, a, e) {
1142            return a * ((f = f / e - 1) * f * f + 1) + c
1143        }
1144    })
1145}
1146)(jQuery, window);
1147// jquery.rs.active-class v1.0.1
1148(function(c) {
1149    c.rsProto._o4 = function() {
1150        var b, a = this;
1151        if (a.st.addActiveClass)
1152            a.ev.on("rsOnUpdateNav", function() {
1153                b && clearTimeout(b);
1154                b = setTimeout(function() {
1155                    a._g4 && a._g4.removeClass("rsActiveSlide");
1156                    a._r1 && a._r1.addClass("rsActiveSlide");
1157                    b = null
1158                }, 50)
1159            })
1160    }
1161    ;
1162    c.rsModules.activeClass = c.rsProto._o4
1163}
1164)(jQuery);
1165// jquery.rs.animated-blocks v1.0.7
1166(function(l) {
1167    l.extend(l.rsProto, {
1168        _p4: function() {
1169            function m() {
1170                var g = a.currSlide;
1171                if (a.currSlide && a.currSlide.isLoaded && a._t4 !== g) {
1172                    if (0 < a._s4.length) {
1173                        for (b = 0; b < a._s4.length; b++)
1174                            clearTimeout(a._s4[b]);
1175                        a._s4 = []
1176                    }
1177                    if (0 < a._r4.length) {
1178                        var f;
1179                        for (b = 0; b < a._r4.length; b++)
1180                            if (f = a._r4[b])
1181                                a._e ? (f.block.css(a._g + a._u1, "0s"),
1182                                f.block.css(f.css)) : f.block.stop(!0).css(f.css),
1183                                a._t4 = null,
1184                                g.animBlocksDisplayed = !1;
1185                        a._r4 = []
1186                    }
1187                    g.animBlocks && (g.animBlocksDisplayed = !0,
1188                    a._t4 = g,
1189                    a._u4(g.animBlocks))
1190                }
1191            }
1192            var a = this, b;
1193            a._q4 = {
1194                fadeEffect: !0,
1195                moveEffect: "top",
1196                moveOffset: 20,
1197                speed: 400,
1198                easing: "easeOutSine",
1199                delay: 200
1200            };
1201            a.st.block = l.extend({}, a._q4, a.st.block);
1202            a._r4 = [];
1203            a._s4 = [];
1204            a.ev.on("rsAfterInit", function() {
1205                m()
1206            });
1207            a.ev.on("rsBeforeParseNode", function(a, b, d) {
1208                b = l(b);
1209                d.animBlocks = b.find(".rsABlock").css("display", "none");
1210                d.animBlocks.length || (b.hasClass("rsABlock") ? d.animBlocks = b.css("display", "none") : d.animBlocks = !1)
1211            });
1212            a.ev.on("rsAfterContentSet", function(b, f) {
1213                f.id === a.slides[a.currSlideId].id && setTimeout(function() {
1214                    m()
1215                }, a.st.fadeinLoadedSlide ? 300 : 0)
1216            });
1217            a.ev.on("rsAfterSlideChange", function() {
1218                m()
1219            })
1220        },
1221        _v4: function(l, a) {
1222            setTimeout(function() {
1223                l.css(a)
1224            }, 6)
1225        },
1226        _u4: function(m) {
1227            var a = this, b, g, f, d, h, e, n;
1228            a._s4 = [];
1229            m.each(function(m) {
1230                b = l(this);
1231                g = {};
1232                f = {};
1233                d = null;
1234                var c = b.attr("data-move-offset")
1235                  , c = c ? parseInt(c, 10) : a.st.block.moveOffset;
1236                if (0 < c && ((e = b.data("move-effect")) ? (e = e.toLowerCase(),
1237                "none" === e ? e = !1 : "left" !== e && "top" !== e && "bottom" !== e && "right" !== e && (e = a.st.block.moveEffect,
1238                "none" === e && (e = !1))) : e = a.st.block.moveEffect,
1239                e && "none" !== e)) {
1240                    var p;
1241                    p = "right" === e || "left" === e ? !0 : !1;
1242                    var k;
1243                    n = !1;
1244                    a._e ? (k = 0,
1245                    h = a._x1) : (p ? isNaN(parseInt(b.css("right"), 10)) ? h 
1245= "left" : (h = "right",
1246                    n = !0) : isNaN(parseInt(b.css("bottom"), 10)) ? h = "top" : (h = "bottom",
1247                    n = !0),
1248                    h = "margin-" + h,
1249                    n && (c = -c),
1250                    a._e ? k = parseInt(b.css(h), 10) : (k = b.data("rs-start-move-prop"),
1251                    void 0 === k && (k = parseInt(b.css(h), 10),
1252                    isNaN(k) && (k = 0),
1253                    b.data("rs-start-move-prop", k))));
1254                    f[h] = a._m4("top" === e || "left" === e ? k - c : k + c, p);
1255                    g[h] = a._m4(k, p)
1256                }
1257                c = b.attr("data-fade-effect");
1258                if (!c)
1259                    c = a.st.block.fadeEffect;
1260                else if ("none" === c.toLowerCase() || "false" === c.toLowerCase())
1261                    c = !1;
1262                c && (f.opacity = 0,
1263                g.opacity = 1);
1264                if (c || e)
1265                    d = {},
1266                    d.hasFade = Boolean(c),
1267                    Boolean(e) && (d.moveProp = h,
1268                    d.hasMove = !0),
1269                    d.speed = b.data("speed"),
1270                    isNaN(d.speed) && (d.speed = a.st.block.speed),
1271                    d.easing = b.data("easing"),
1272                    d.easing || (d.easing = a.st.block.easing),
1273                    d.css3Easing = l.rsCSS3Easing[d.easing],
1274                    d.delay = b.data("delay"),
1275                    isNaN(d.delay) && (d.delay = a.st.block.delay * m);
1276                c = {};
1277                a._e && (c[a._g + a._u1] = "0ms");
1278                c.moveProp = g.moveProp;
1279                c.opacity = g.opacity;
1280                c.display = "none";
1281                a._r4.push({
1282                    block: b,
1283                    css: c
1284                });
1285                a._v4(b, f);
1286                a._s4.push(setTimeout(function(b, d, c, e) {
1287                    return function() {
1288                        b.css("display", "block");
1289                        if (c) {
1290                            var g = {};
1291                            if (a._e) {
1292                                var f = "";
1293                                c.hasMove && (f += c.moveProp);
1294                                c.hasFade && (c.hasMove && (f += ", "),
1295                                f += "opacity");
1296                                g[a._g + a._t1] = f;
1297                                g[a._g + a._u1] = c.speed + "ms";
1298                                g[a._g + a._v1] = c.css3Easing;
1299                                b.css(g);
1300                                setTimeout(function() {
1301                                    b.css(d)
1302                                }, 24)
1303                            } else
1304                                setTimeout(function() {
1305                                    b.animate(d, c.speed, c.easing)
1306                                }, 16)
1307                        }
1308                        delete a._s4[e]
1309                    }
1310                }(b, g, d, m), 6 >= d.delay ? 12 : d.delay))
1311            })
1312        }
1313    });
1314    l.rsModules.animatedBlocks = l.rsProto._p4
1315}
1316)(jQuery);
1317// jquery.rs.auto-height v1.0.3
1318(function(b) {
1319    b.extend(b.rsProto, {
1320        _w4: function() {
1321            var a = this;
1322            if (a.st.autoHeight) {
1323                var b, c, e, f = !0, d = function(d) {
1324                    e = a.slides[a.currSlideId];
1325                    (b = e.holder) && (c = b.height()) && void 0 !== c && c > (a.st.minAutoHeight || 30) && (a._c4 = c,
1326                    a._e || !d ? a._e1.css("height", c) : a._e1.stop(!0, !0).animate({
1327                        height: c
1328                    }, a.st.transitionSpeed),
1329                    a.ev.trigger("rsAutoHeightChange", c),
1330                    f && (a._e && setTimeout(function() {
1331                        a._e1.css(a._g + "transition", "height " + a.st.transitionSpeed + "ms ease-in-out")
1332                    }, 16),
1333                    f = !1))
1334                };
1335                a.ev.on("rsMaybeSizeReady.rsAutoHeight", function(a, b) {
1336                    e === b && d()
1337                });
1338                a.ev.on("rsAfterContentSet.rsAutoHeight", function(a, b) {
1339                    e === b && d()
1340                });
1341                a.slider.addClass("rsAutoHeight");
1342                a.ev.one("rsAfterInit", function() {
1343                    setTimeout(function() {
1344                        d(!1);
1345                        setTimeout(function() {
1346                            a.slider.append('<div style="clear:both; float: none;"></div>')
1347                        }, 16)
1348                    }, 16)
1349                });
1350                a.ev.on("rsBeforeAnimStart", function() {
1351                    d(!0)
1352                });
1353                a.ev.on("rsBeforeSizeSet", function() {
1354                    setTimeout(function() {
1355                        d(!1)
1356                    }, 16)
1357                })
1358            }
1359        }
1360    });
1361    b.rsModules.autoHeight = b.rsProto._w4
1362}
1363)(jQuery);
1364// jquery.rs.autoplay v1.0.5
1365(function(b) {
1366    b.extend(b.rsProto, {
1367        _x4: function() {
1368            var a = this, d;
1369            a._y4 = {
1370                enabled: !1,
1371                stopAtAction: !0,
1372                pauseOnHover: !0,
1373                delay: 2E3
1374            };
1375            !a.st.autoPlay && a.st.autoplay && (a.st.autoPlay = a.st.autoplay);
1376            a.st.autoPlay = b.extend({}, a._y4, a.st.autoPlay);
1377            a.st.autoPlay.enabled && (a.ev.on("rsBeforeParseNode", function(a, c, f) {
1378                c = b(c);
1379                if (d = c.attr("data-rsDelay"))
1380                    f.customDelay = parseInt(d, 10)
1381            }),
1382            a.ev.one("rsAfterInit", function() {
1383                a._z4()
1384            }),
1385            a.ev.on("rsBeforeDestroy", function() {
1386                a.stopAutoPlay();
1387                a.slider.off("mouseenter mouseleave");
1388                b(window).off("blur" + a.ns + " focus" + a.ns)
1389            }))
1390        },
1391        _z4: function() {
1392            var a = this;
1393            a.startAutoPlay();
1394            a.ev.on("rsAfterContentSet", function(b, e) {
1395                a._l2 || a._r2 || !a._a5 || e !== a.currSlide || a._b5()
1396            });
1397            a.ev.on("rsDragRelease", function() {
1398                a._a5 && a._c5 && (a._c5 = !1,
1399                a._b5())
1400            });
1401            a.ev.on("rsAfterSlideChange", function() {
1402                a._a5 && a._c5 && (a._c5 = !1,
1403                a.currSlide.isLoaded && a._b5())
1404            });
1405            a.ev.on("rsDragStart", function() {
1406                a._a5 && (a.st.autoPlay.stopAtAction ? a.stopAutoPlay() : (a._c5 = !0,
1407                a._d5()))
1408            });
1409            a.ev.on("rsBeforeMove", function(b, e, c) {
1410                a._a5 && (c && a.st.autoPlay.stopAtAction ? a.stopAutoPlay() : (a._c5 = !0,
1411                a._d5()))
1412            });
1413            a._e5 = !1;
1414            a.ev.on("rsVideoStop", function() {
1415                a._a5 && (a._e5 = !1,
1416                a._b5())
1417            });
1418            a.ev.on("rsVideoPlay", function() {
1419                a._a5 && (a._c5 = !1,
1420                a._d5(),
1421                a._e5 = !0)
1422            });
1423            b(window).on("blur" + a.ns, function() {
1424                a._a5 && (a._c5 = !0,
1425                a._d5())
1426            }).on("focus" + a.ns, function() {
1427                a._a5 && a._c5 && (a._c5 = !1,
1428                a._b5())
1429            });
1430            a.st.autoPlay.pauseOnHover && (a._f5 = !1,
1431            a.slider.hover(function() {
1432                a._a5 && (a._c5 = !1,
1433                a._d5(),
1434                a._f5 = !0)
1435            }, function() {
1436                a._a5 && (a._f5 = !1,
1437                a._b5())
1438            }))
1439        },
1440        toggleAutoPlay: function() {
1441            this._a5 ? this.stopAutoPlay() : this.startAutoPlay()
1442        },
1443        startAutoPlay: function() {
1444            this._a5 = !0;
1445            this.currSlide.isLoaded && this._b5()
1446        },
1447        stopAutoPlay: function() {
1448            this._e5 = this._f5 = this._c5 = this._a5 = !1;
1449            this._d5()
1450        },
1451        _b5: function() {
1452            var a = this;
1453            a._f5 || a._e5 || (a._g5 = !0,
1454            a._h5 && clearTimeout(a._h5),
1455            a._h5 = setTimeout(function() {
1456                var b;
1457                a._z || a.st.loopRewind || (b = !0,
1458                a.st.loopRewind = !0);
1459                a.next(!0);
1460                b && (a.st.loopRewind = !1)
1461            }, a.currSlide.customDelay ? a.currSlide.customDelay : a.st.autoPlay.delay))
1462        },
1463        _d5: function() {
1464            this._f5 || this._e5 || (this._g5 = !1,
1465            this._h5 && (clearTimeout(this._h5),
1466            this._h5 = null))
1467        }
1468    });
1469    b.rsModules.autoplay = b.rsProto._x4
1470}
1471)(jQuery);
1472// jquery.rs.bullets v1.0.1
1473(function(c) {
1474    c.extend(c.rsProto, {
1475        _i5: function() {
1476            var a = this;
1477            "bullets" === a.st.controlNavigation && (a.ev.one("rsAfterPropsSetup", function() {
1478                a._j5 = !0;
1479                a.slider.addClass("rsWithBullets");
1480                for (var b = '<div class="rsNav rsBullets">', e = 0; e < a.numSlides; e++)
1481                    b += '<div class="rsNavItem rsBullet"><span></span></div>';
1482                a._k5 = b = c(b + "</div>");
1483                a._l5 = b.appendTo(a.slider).children();
1484                a._k5.on("click.rs", ".rsNavItem", function(b) {
1485                    a._m5 || a.goTo(c(this).index())
1486                })
1487            }),
1488            a.ev.on("rsOnAppendSlide", function(b, c, d) {
1489                d >= a.numSlides ? a._k5.append('<div class="rsNavItem rsBullet"><span></span></div>') : a._l5.eq(d).before('<div class="rsNavItem rsBullet"><span></span></div>');
1490                a._l5 = a._k5.children()
1491            }),
1492            a.ev.on("rsOnRemoveSlide", function(b, c) {
1493                var d = a._l5.eq(c);
1494                d && d.length && (d.remove(),
1495                a._l5 = a._k5.children())
1496            }),
1497            a.ev.on("rsOnUpdateNav", function() {
1498                var b = a.currSlideId;
1499                a._n5 && a._n5.removeClass("rsNavSelected");
1500                b = a._l5.eq(b);
1501                b.addClass("rsNavSelected");
1502                a._n5 = b
1503            }))
1504        }
1505    });
1506    c.rsModules.bullets = c.rsProto._i5
1507}
1508)(jQuery);
1509// jquery.rs.deeplinking v1.0.6 + jQuery hashchange plugin v1.3 Copyright (c) 2010 Ben Alman
1510(function(d) {
1511    d.extend(d.rsProto, {
1512        _o5: function() {
1513            var a = this, l, g, f;
1514            a._p5 = {
1515                enabled: !1,
1516                change: !1,
1517                prefix: ""
1518            };
1519            a.st.deeplinking = d.extend({}, a._p5, a.st.deeplinking);
1520            if (a.st.deeplinking.enabled) {
1521                var k = a.st.deeplinking.change
1522                  , c = a.st.deeplinking.prefix
1523                  , e = "#" + c
1524                  , h = function() {
1525                    var b = window.location.hash;
1526                    return b && 0 < b.indexOf(c) && (b = parseInt(b.substring(e.length), 10),
1527                    0 <= b) ? b - 1 : -1
1528                }
1529                  , m = h();
1530                -1 !== m && (a.st.startSlideId = m);
1531                k && (d(window).on("hashchange" + a.ns, function(b) {
1532                    l || (b = h(),
1533                    0 > b || (b > a.numSlides - 1 && (b = a.numSlides - 1),
1534                    a.goTo(b)))
1535                }),
1536                a.ev.on("rsBeforeAnimStart", function() {
1537                    g && clearTimeout(g);
1538                    f && clearTimeout(f)
1539                }),
1540                a.ev.on("rsAfterSlideChange", function() {
1541                    g && clearTimeout(g);
1542                    f && clearTimeout(f);
1543                    f = setTimeout(function() {
1544                        l = !0;
1545                        window.location.replace(("" + window.location).split("#")[0] + e + (a.currSlideId + 1));
1546                        g = setTimeout(function() {
1547                            l = !1;
1548                            g = null
1549                        }, 60)
1550                    }, 400)
1551                }));
1552                a.ev.on("rsBeforeDestroy", function() {
1553                    g = f = null;
1554                    k && d(window).off("hashchange" + a.ns)
1555                })
1556            }
1557        }
1558    });
1559    d.rsModules.deeplinking = d.rsProto._o5
1560}
1561)(jQuery);
1562(function(d, a, l) {
1563    function g(b) {
1564        b = b || location.href;
1565        return "#" + b.replace(/^[^#]*#?(.*)$/, "$1")
1566    }
1567    "$:nomunge";
1568    var f = "hashchange", k = document, c, e = d.event.special, h = k.documentMode, m = "on" + f in a && (h === l || 7 < h);
1569    d.fn[f] = function(b) {
1570        return b ? this.bind(f, b) : this.trigger(f)
1571    }
1572    ;
1573    d.fn[f].delay = 50;
1574    e[f] = d.extend(e[f], {
1575        setup: function() {
1576            if (m)
1577                return !1;
1578            d(c.start)
1579        },
1580        teardown: function() {
1581            if (m)
1582                return !1;
1583            d(c.stop)
1584        }
1585    });
1586    c = function() {
1587        function b() {
1588            var c = g()
1589              , n = r(h);
1590            c !== h ? (p(h = c, n),
1591            d(a).trigger(f)) : n !== h && (location.href = location.href.replace(/#.*/, "") + n);
1592            e = setTimeout(b, d.fn[f].delay)
1593        }
1594        var c = {}, e, h = g(), q = function(b) {
1595            return b
1596        }, p = q, r = q;
1597        c.start = function() {
1598            e || b()
1599        }
1600        ;
1601        c.stop = function() {
1602            e && clearTimeout(e);
1603            e = l
1604        }
1605        ;
1606        a.attachEvent && !a.addEventListener && !m && function() {
1607            var a, e;
1608            c.start = function() {
1609                a || (e = (e = d.fn[f].src) && e + g(),
1610                a = d('<iframe tabindex="-1" title="empty"/>').hide().one("load", function() {
1611                    e || p(g());
1612                    b()
1613                }).attr("src", e || "javascript:0").insertAfter("body")[0].contentWindow,
1614                k.onpropertychange = function() {
1615                    try {
1616                        "title" === event.propertyName && (a.document.title = k.title)
1617                    } catch (b) {}
1618                }
1619                )
1620            }
1621            ;
1622            c.stop = q;
1623            r = function() {
1624                return g(a.location.href)
1625            }
1626            ;
1627            p = function(b, e) {
1628                var c = a.document
1629                  , g = d.fn[f].domain;
1630                b !== e && (c.title = k.title,
1631                c.open(),
1632                g && c.write('<script>document.domain="' + g + '"\x3c/script>'),
1633                c.close(),
1634                a.location.hash = b)
1635            }
1636        }();
1637        return c
1638    }()
1639}
1640)(jQuery, this);
1641// jquery.rs.fullscreen v1.0.5
1642(function(c) {
1643    c.extend(c.rsProto, {
1644        _q5: function() {
1645            var a = this;
1646            a._r5 = {
1647                enabled: !1,
1648                keyboardNav: !0,
1649                buttonFS: !0,
1650                nativeFS: !1,
1651                doubleTap: !0
1652            };
1653            a.st.fullscreen = c.extend({}, a._r5, a.st.fullscreen);
1654            if (a.st.fullscreen.enabled)
1655                a.ev.one("rsBeforeSizeSet", function() {
1656                    a._s5()
1657                })
1658        },
1659        _s5: function() {
1660            var a = this;
1661            a._t5 = !a.st.keyboardNavEnabled && a.st.fullscreen.keyboardNav;
1662            if (a.st.fullscreen.nativeFS) {
1663                a._u5 = {
1664                    supportsFullScreen: !1,
1665                    isFullScreen: function() {
1666                        return !1
1667                    },
1668                    requestFullScreen: function() {},
1669                    cancelFullScreen: function() {},
1670                    fullScreenEventName: "",
1671                    prefix: ""
1672                };
1673                var b = ["webkit", "moz", "o", "ms", "khtml"];
1674                if (!a.isAndroid)
1675                    if ("undefined" != typeof document.cancelFullScreen)
1676                        a._u5.supportsFullScreen = !0;
1677                    else
1678                        for (var d = 0; d < b.length; d++)
1679                            if (a._u5.prefix = b[d],
1680                            "undefined" != typeof document[a._u5.prefix + "CancelFullScreen"]) {
1681                                a._u5.supportsFullScreen = !0;
1682                                break
1683                            }
1684                a._u5.supportsFullScreen ? (a.nativeFS = !0,
1685                a._u5.fullScreenEventName = a._u5.prefix + "fullscreenchange" + a.ns,
1686                a._u5.isFullScreen = function() {
1687                    switch (this.prefix) {
1688                    case "":
1689                        return document.fullScreen;
1690                    case "webkit":
1691                        return document.webkitIsFullScreen;
1692                    default:
1693                        return document[this.prefix + "FullScreen"]
1694                    }
1695                }
1696                ,
1697                a._u5.requestFullScreen = function(a) {
1698                    return "" === this.prefix ? a.requestFullScreen() : a[this.prefix + "RequestFullScreen"]()
1699                }
1700                ,
1701                a._u5.cancelFullScreen = function(a) {
1702                    return "" === this.prefix ? document.cancelFullScreen() : document[this.prefix + "CancelFullScreen"]()
1703                }
1704                ) : a._u5 = !1
1705            }
1706            a.st.fullscreen.buttonFS && (a._v5 = c('<div class="rsFullscreenBtn"><div class="rsFullscreenIcn"></div></div>').appendTo(a._o1).on("click.rs", function() {
1707                a.isFullscreen ? a.exitFullscreen() : a.enterFullscreen()
1708            }))
1709        },
1710        enterFullscreen: function(a) {
1711            var b = this;
1712            if (b._u5)
1713                if (a)
1714                    b._u5.requestFullScreen(c("html")[0]);
1715                else {
1716                    b._b.on(b._u5.fullScreenEventName, function(a) {
1717                        b._u5.isFullScreen() ? b.enterFullscreen(!0) : b.exitFullscreen(!0)
1718                    });
1719                    b._u5.requestFullScreen(c("html")[0]);
1720                    return
1721                }
1722            if (!b._w5) {
1723                b._w5 = !0;
1724                b._b.on("keyup" + b.ns + "fullscreen", function(a) {
1725                    27 === a.keyCode && b.exitFullscreen()
1726                });
1727                b._t5 && b._b2();
1728                a = c(window);
1729                b._x5 = a.scrollTop();
1730                b._y5 = a.scrollLeft();
1731                b._z5 = c("html").attr("style");
1732                b._a6 = c("body").attr("style");
1733                b._b6 = b.slider.attr("style");
1734                c("body, html").css({
1735                    overflow: "hidden",
1736                    height: "100%",
1737                    width: "100%",
1738                    margin: "0",
1739                    padding: "0"
1740                });
1741                b.slider.addClass("rsFullscreen");
1742                var d;
1743                for (d = 0; d < b.numSlides; d++)
1744                    a = b.slides[d],
1745                    a.isRendered = !1,
1746                    a.bigImage && (a.isBig = !0,
1747                    a.isMedLoaded = a.isLoaded,
1748                    a.isMedLoading = a.isLoading,
1749                    a.medImage = a.image,
1750                    a.medIW = a.iW,
1751                    a.medIH = a.iH,
1752                    a.slideId = -99,
1753                    a.bigImage !== a.medImage && (a.sizeType = "big"),
1754                    a.isLoaded = a.isBigLoaded,
1755                    a.isLoading = !1,
1756                    a.image = a.bigImage,
1757                    a.images[0] = a.bigImage,
1758                    a.iW = a.bigIW,
1759                    a.iH = a.bigIH,
1760                    a.isAppended = a.contentAdded = !1,
1761                    b._c6(a));
1762                b.isFullscreen = !0;
1763                b._w5 = !1;
1764                b.updateSliderSize();
1765                b.ev.trigger("rsEnterFullscreen")
1766            }
1767        },
1768        exitFullscreen: function(a) {
1769            var b = this;
1770            if (b._u5) {
1771                if (!a) {
1772                    b._u5.cancelFullScreen(c("html")[0]);
1773                    return
1774                }
1775                b._b.off(b._u5.fullScreenEventName)
1776            }
1777            if (!b._w5) {
1778                b._w5 = !0;
1779                b._b.off("keyup" + b.ns + "fullscreen");
1780                b._t5 && b._b.off("keydown" + b.ns);
1781                c("html").attr("style", b._z5 || "");
1782                c("body").attr("style", b._a6 || "");
1783                var d;
1784                for (d = 0; d < b.numSlides; d++)
1785                    a = b.slides[d],
1786                    a.isRendered = !1,
1787                    a.bigImage && (a.isBig = !1,
1788                    a.slideId = -99,
1789                    a.isBigLoaded = a.isLoaded,
1790                    a.isBigLoading = a.isLoading,
1791                    a.bigImage = a.image,
1792                    a.bigIW = a.iW,
1793                    a.bigIH = a.iH,
1794                    a.isLoaded = a.isMedLoaded,
1795                    a.isLoading = !1,
1796                    a.image = a.medImage,
1797                    a.images[0] = a.medImage,
1798                    a.iW = a.medIW,
1799                    a.iH = a.medIH,
1800                    a.isAppended = a.contentAdded = !1,
1801                    b._c6(a, !0),
1802                    a.bigImage !== a.medImage && (a.sizeType = "med"));
1803                b.isFullscreen = !1;
1804                a = c(window);
1805                a.scrollTop(b._x5);
1806                a.scrollLeft(b._y5);
1807                b._w5 = !1;
1808                b.slider.removeClass("rsFullscreen");
1809                b.updateSliderSize();
1810                setTimeout(function() {
1811                    b.updateSliderSize()
1812                }, 1);
1813                b.ev.trigger("rsExitFullscreen")
1814            }
1815        },
1816        _c6: function(a, b) {
1817            var d = a.isLoaded || a.isLoading ? '<img class="rsImg rsMainSlideImage" src="' + a.image + '"/>' : '<a class="rsImg rsMainSlideImage" href="' + a.image + '"></a>';
1818            a.content.hasClass("rsImg") ? a.content = c(d) : a.content.find(".rsImg").eq(0).replaceWith(d);
1819            a.isLoaded || a.isLoading || !a.holder || a.holder.html(a.content)
1820        }
1821    });
1822    c.rsModules.fullscreen = c.rsProto._q5
1823}
1824)(jQuery);
1825// jquery.rs.global-caption v1.0
1826(function(b) {
1827    b.extend(b.rsProto, {
1828        _d6: function() {
1829            var a = this;
1830            a.st.globalCaption && (a.ev.on("rsAfterInit", function() {
1831                a.globalCaption = b('<div class="rsGCaption"></div>').appendTo(a.st.globalCaptionInside ? a._e1 : a.slider);
1832                a.globalCaption.html(a.currSlide.caption)
1833            }),
1834            a.ev.on("rsBeforeAnimStart", function() {
1835                a.globalCaption.html(a.currSlide.caption)
1836            }))
1837        }
1838    });
1839    b.rsModules.globalCaption = b.rsProto._d6
1840}
1841)(jQuery);
1842// jquery.rs.nav-auto-hide v1.0
1843(function(b) {
1844    b.extend(b.rsProto, {
1845        _e6: function() {
1846            var a = this;
1847            if (a.st.navAutoHide && !a.hasTouch)
1848                a.ev.one("rsAfterInit", function() {
1849                    if (a._k5) {
1850                        a._k5.addClass("rsHidden");
1851                        var b = a.slider;
1852                        b.one("mousemove.controlnav", function() {
1853                            a._k5.removeClass("rsHidden")
1854                        });
1855                        b.hover(function() {
1856                            a._k5.removeClass("rsHidden")
1857                        }, function() {
1858                            a._k5.addClass("rsHidden")
1859                        })
1860                    }
1861                })
1862        }
1863    });
1864    b.rsModules.autoHideNav = b.rsProto._e6
1865}
1866)(jQuery);
1867// jquery.rs.tabs v1.0.2
1868(function(e) {
1869    e.extend(e.rsProto, {
1870        _f6: function() {
1871            var a = this;
1872            "tabs" === a.st.controlNavigation && (a.ev.on("rsBeforeParseNode", function(a, d, b) {
1873                d = e(d);
1874                b.thumbnail = d.find(".rsTmb").remove();
1875                b.thumbnail.length ? b.thumbnail = e(document.createElement("div")).append(b.thumbnail).html() : (b.thumbnail = d.attr("data-rsTmb"),
1876                b.thumbnail || (b.thumbnail = d.find(".rsImg").attr("data-rsTmb")),
1877                b.thumbnail = b.thumbnail ? '<img src="' + b.thumbnail + '"/>' : "")
1878            }),
1879            a.ev.one("rsAfterPropsSetup", function() {
1880                a._g6()
1881            }),
1882            a.ev.on("rsOnAppendSlide", function(c, d, b) {
1883                b >= a.numSlides ? a._k5.append('<div class="rsNavItem rsTab">' + d.thumbnail + "</div>") : a._l5.eq(b).before('<div class="rsNavItem rsTab">' + item.thumbnail + "</div>");
1884                a._l5 = a._k5.children()
1885            }),
1886            a.ev.on("rsOnRemoveSlide", function(c, d) {
1887                var b = a._l5.eq(d);
1888                b && (b.remove(),
1889                a._l5 = a._k5.children())
1890            }),
1891            a.ev.on("rsOnUpdateNav", function() {
1892                var c = a.currSlideId;
1893                a._n5 && a._n5.removeClass("rsNavSelected");
1894                c = a._l5.eq(c);
1895                c.addClass("rsNavSelected");
1896                a._n5 = c
1897            }))
1898        },
1899        _g6: function() {
1900            var a = this, c;
1901            a._j5 = !0;
1902            c = '<div class="rsNav rsTabs">';
1903            for (var d = 0; d < a.numSlides; d++)
1904                c += '<div class="rsNavItem rsTab">' + a.slides[d].thumbnail + "</div>";
1905            c = e(c + "</div>");
1906            a._k5 = c;
1907            a._l5 = c.children(".rsNavItem");
1908            a.slider.append(c);
1909            a._k5.click(function(b) {
1910                b = e(b.target).closest(".rsNavItem");
1911                b.length && a.goTo(b.index())
1912            })
1913        }
1914    });
1915    e.rsModules.tabs = e.rsProto._f6
1916}
1917)(jQuery);
1918// jquery.rs.thumbnails v1.0.6
1919(function(g) {
1920    g.extend(g.rsProto, {
1921        _h6: function() {
1922            var a = this;
1923            "thumbnails" === a.st.controlNavigation && (a._i6 = {
1924                drag: !0,
1925                touch: !0,
1926                orientation: "horizontal",
1927                navigation: !0,
1928                arrows: !0,
1929                arrowLeft: null,
1930                arrowRight: null,
1931                spacing: 4,
1932                arrowsAutoHide: !1,
1933                appendSpan: !1,
1934                transitionSpeed: 600,
1935                autoCenter: !0,
1936                fitInViewport: !0,
1937                firstMargin: !0,
1938                paddingTop: 0,
1939                paddingBottom: 0
1940            },
1941            a.st.thumbs = g.extend({}, a._i6, a.st.thumbs),
1942            a._j6 = !0,
1943            !1 === a.st.thumbs.firstMargin ? a.st.thumbs.firstMargin = 0 : !0 === a.st.thumbs.firstMargin && (a.st.thumbs.firstMargin = a.st.thumbs.spacing),
1944            a.ev.on("rsBeforeParseNode", function(a, b, c) {
1945                b = g(b);
1946                c.thumbnail = b.find(".rsTmb").remove();
1947                c.thumbnail.length ? c.thumbnail = g(document.createElement("div")).append(c.thumbnail).html() : (c.thumbnail = b.attr("data-rsTmb"),
1948                c.thumbnail || (c.thumbnail = b.find(".rsImg").attr("data-rsTmb")),
1949                c.thumbnail = c.thumbnail ? '<img src="' + c.thumbnail + '"/>' : "")
1950            }),
1951            a.ev.one("rsAfterPropsSetup", function() {
1952                a._k6()
1953            }),
1954            a._n5 = null,
1955            a.ev.on("rsOnUpdateNav", function() {
1956                var e = g(a._l5[a.currSlideId]);
1957                e !== a._n5 && (a._n5 && (a._n5.removeClass("rsNavSelected"),
1958                a._n5 = null),
1959                a._l6 && a._m6(a.currSlideId),
1960                a._n5 = e.addClass("rsNavSelected"))
1961            }),
1962            a.ev.on("rsOnAppendSlide", function(e, b, c) {
1963                e = "<div" + a._n6 + ' class="rsNavItem rsThumb">' + a._o6 + b.thumbnail + "</div>";
1964                c >= a.numSlides ? a._s3.append(e) : a._l5.eq(c).before(e);
1965                a._l5 = a._s3.children();
1966                a.updateThumbsSize()
1967            }),
1968            a.ev.on("rsOnRemoveSlide", function(e, b) {
1969                var c = a._l5.eq(b);
1970                c && (c.remove(),
1971                a._l5 = a._s3.children(),
1972                a.updateThumbsSize())
1973            }))
1974        },
1975        _k6: function() {
1976            var a = this, e = "rsThumbs", b = a.st.thumbs, c = "", f, d, h = b.spacing;
1977            a._j5 = !0;
1978            a._e3 = "vertical" === b.orientation ? !1 : !0;
1979            a._n6 = f = h ? ' style="margin-' + (a._e3 ? "right" : "bottom") + ":" + h + 'px;"' : "";
1980            a._i3 = 0;
1981            a._p6 = !1;
1982            a._m5 = !1;
1983            a._l6 = !1;
1984            a._q6 = b.arrows && b.navigation;
1985            d = a._e3 ? "Hor" : "Ver";
1986            a.slider.addClass("rsWithThumbs rsWithThumbs" + d);
1987            c += '<div class="rsNav rsThumbs rsThumbs' + d + '"><div class="' + e + 'Container">';
1988            a._o6 = b.appendSpan ? '<span class="thumbIco"></span>' : "";
1989            for (var k = 0; k < a.numSlides; k++)
1990                d = a.slides[k],
1991                c += "<div" + f + ' class="rsNavItem rsThumb">' + d.thumbnail + a._o6 + "</div>";
1992            c = g(c + "</div></div>");
1993            f = {};
1994            b.paddingTop && (f[a._e3 ? "paddingTop" : "paddingLeft"] = b.paddingTop);
1995            b.paddingBottom && (f[a._e3 ? "paddingBottom" : "paddingRight"] = b.paddingBottom);
1996            c.css(f);
1997            a._s3 = g(c).find("." + e + "Container");
1998            a._q6 && (e += "Arrow",
1999            b.arrowLeft ? a._r6 = b.arrowLeft : (a._r6 = g('<div class="' + e + " " + e + 'Left"><div class="' + e + 'Icn"></div></div>'),
2000            c.append(a._r6)),
2001            b.arrowRight ? a._s6 = b.arrowRight : (a._s6 = g('<div class="' + e + " " + e + 'Right"><div class="' + e + 'Icn"></div></div>'),
2002            c.append(a._s6)),
2003            a._r6.click(function() {
2004                var b = (Math.floor(a._i3 / a._t6) + a._u6) * a._t6 + a._v6;
2005                a._a4(b > a._n3 ? a._n3 : b)
2006            }),
2007            a._s6.click(function() {
2008                var b = (Math.floor(a._i3 / a._t6) - a._u6) * a._t6 + a._v6;
2009                a._a4(b < a._o3 ? a._o3 : b)
2010            }),
2011            b.arrowsAutoHide && !a.hasTouch && (a._r6.css("opacity", 0),
2012            a._s6.css("opacity", 0),
2013            c.one("mousemove.rsarrowshover", function() {
2014                a._l6 && (a._r6.css("opacity", 1),
2015                a._s6.css("opacity", 1))
2016            }),
2017            c.hover(function() {
2018                a._l6 && (a._r6.css("opacity", 1),
2019                a._s6.css("opacity", 1))
2020            }, function() {
2021                a._l6 && (a._r6.css("opacity", 0),
2022                a._s6.css("opacity", 0))
2023            })));
2024            a._k5 = c;
2025            a._l5 = a._s3.children();
2026            a.msEnabled && a.st.thumbs.navigation && a._s3.css("-ms-touch-action", a._e3 ? "pan-y" : "pan-x");
2027            a.slider.append(c);
2028            a._w3 = !0;
2029            a._v6 = h;
2030            b.navigation && a._e && a._s3.css(a._g + "transition-property", a._g + "transform");
2031            a._k5.on("click.rs", ".rsNavItem", function(b) {
2032                a._m5 || a.goTo(g(this).index())
2033            });
2034            a.ev.off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs", function() {
2035                a._w6 = a._e3 ? a._c4 : a._b4;
2036                a.updateThumbsSize(!0)
2037            });
2038            a.ev.off("rsAutoHeightChange.thumbs").on("rsAutoHeightChange.thumbs", function(b, c) {
2039                a.updateThumbsSize(!0, c)
2040            })
2041        },
2042        updateThumbsSize: function(a, e) {
2043            var b = this
2044              , c = b._l5.first()
2045              , f = {}
2046              , d = b._l5.length;
2047            b._t6 = (b._e3 ? c.outerWidth() : c.outerHeight()) + b._v6;
2048            b._y3 = d * b._t6 - b._v6;
2049            f[b._e3 ? "width" : "height"] = b._y3 + b._v6;
2050            b._z3 = b._e3 ? b._k5.width() : void 0 !== e ? e : b._k5.height();
2051            b._z3 && (b._o3 = -(b._y3 - b._z3) - b.st.thumbs.firstMargin,
2052            b._n3 = b.st.thumbs.firstMargin,
2053            b._u6 = Math.floor(b._z3 / b._t6),
2054            b._y3 < b._z3 ? (b.st.thumbs.autoCenter && b._q3((b._z3 - b._y3) / 2),
2055            b.st.thumbs.arrows && b._r6 && (b._r6.addClass("rsThumbsArrowDisabled"),
2056            b._s6.addClass("rsThumbsArrowDisabled")),
2057            b._l6 = !1,
2058            b._m5 = !1,
2059            b._k5.off(b._j1)) : b.st.thumbs.navigation && !b._l6 && (b._l6 = !0,
2060            !b.hasTouch && b.st.thumbs.drag || b.hasTouch && b.st.thumbs.touch) && (b._m5 = !0,
2061            b._k5.on(b._j1, function(a) {
2062                b._g2(a, !0)
2063            })),
2064            b._w3 && (b.isFullscreen || b.st.thumbs.fitInViewport) && (b._e3 ? b._c4 = b._w6 - b._k5.outerHeight() : b._b4 = b._w6 - b._k5.outerWidth()),
2065            b._s3.css(f),
2066            a && e && b._m6(b.currSlideId),
2067            b._e && (f[b._g + "transition-duration"] = "0ms"))
2068        },
2069        setThumbsOrientation: function(a, e) {
2070            this._w3 && (this.st.thumbs.orientation = a,
2071            this._k5.remove(),
2072            this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"),
2073            this._k6(),
2074            this._k5.off(this._j1),
2075            e || this.updateSliderSize(!0))
2076        },
2077        _q3: function(a) {
2078            this._i3 = a;
2079            this._e ? this._s3.css(this._x1, this._y1 + (this._e3 ? a + this._z1 + 0 : 0 + this._z1 + a) + this._a2) : this._s3.css(this._e3 ? this._x1 : this._w1, a)
2080        },
2081        _a4: function(a, e, b, c, f) {
2082            var d = this;
2083            if (d._l6) {
2084                e || (e = d.st.thumbs.transitionSpeed);
2085                d._i3 = a;
2086                d._x6 && clearTimeout(d._x6);
2087                d._p6 && (d._e || d._s3.stop(),
2088                b = !0);
2089                var h = {};
2090                d._p6 = !0;
2091                d._e ? (h[d._g + "transition-duration"] = e + "ms",
2092                h[d._g + "transition-timing-function"] = b ? g.rsCSS3Easing[d.st.easeOut] : g.rsCSS3Easing[d.st.easeInOut],
2093                d._s3.css(h),
2094                d._q3(a)) : (h[d._e3 ? d._x1 : d._w1] = a + "px",
2095                d._s3.animate(h, e, b ? "easeOutCubic" : d.st.easeInOut));
2096                c && (d._i3 = c);
2097                d._y6();
2098                d._x6 = setTimeout(function() {
2099                    d._p6 = !1;
2100                    f && (d._a4(c, f, !0),
2101                    f = null)
2102                }, e)
2103            }
2104        },
2105        _y6: function() {
2106            this._q6 && (this._i3 === this._n3 ? this._r6.addClass("rsThumbsArrowDisabled") : this._r6.removeClass("rsThumbsArrowDisabled"),
2107            this._i3 === this._o3 ? this._s6.addClass("rsThumbsArrowDisabled") : this._s6.removeClass("rsThumbsArrowDisabled"))
2108        },
2109        _m6: function(a, e) {
2110            var b = 0, c, f = a * this._t6 + 2 * this._t6 - this._v6 + this._n3, d = Math.floor(this._i3 / this._t6);
2111            this._l6 && (this._j6 && (e = !0,
2112            this._j6 = !1),
2113            f + this._i3 > this._z3 ? (a === this.numSlides - 1 && (b = 1),
2114            d = -a + this._u6 - 2 + b,
2115            c = d * this._t6 + this._z3 % this._t6 + this._v6 - this._n3) : 0 !== a ? (a - 1) * this._t6 <= -this._i3 + this._n3 && a - 1 <= this.numSlides - this._u6 && (c = (-a + 1) * this._t6 + this._n3) : c = this._n3,
2116            c !== this._i3 && (b = void 0 === c ? this._i3 : c,
2117            b > this._n3 ? this._q3(this._n3) : b < this._o3 ? this._q3(this._o3) : void 0 !== c && (e ? this._q3(c) : this._a4(c))),
2118            this._y6())
2119        }
2120    });
2121    g.rsModules.thumbnails = g.rsProto._h6
2122}
2123)(jQuery);
2124// jquery.rs.video v1.1.3
2125(function(f) {
2126    f.extend(f.rsProto, {
2127        _z6: function() {
2128            var a = this;
2129            a._a7 = {
2130                autoHideArrows: !0,
2131                autoHideControlNav: !1,
2132                autoHideBlocks: !1,
2133                autoHideCaption: !1,
2134                disableCSS3inFF: !0,
2135                youTubeCode: '<iframe src="http://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0&autoplay=1&wmode=transparent" frameborder="no"></iframe>',
2136                vimeoCode: '<iframe src="http://player.vimeo.com/video/%id%?byline=0&amp;portrait=0&amp;autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'
2137            };
2138            a.st.video = f.extend({}, a._a7, a.st.video);
2139            a.ev.on("rsBeforeSizeSet", function() {
2140                a._b7 && setTimeout(function() {
2141                    var b = a._r1
2142                      , b = b.hasClass("rsVideoContainer") ? b : b.find(".rsVideoContainer");
2143                    a._c7 && a._c7.css({
2144                        width: b.width(),
2145                        height: b.height()
2146                    })
2147                }, 32)
2148            });
2149            var d = a._a.mozilla;
2150            a.ev.on("rsAfterParseNode", function(b, c, e) {
2151                b = f(c);
2152                if (e.videoURL) {
2153                    a.st.video.disableCSS3inFF && d && (a._e = a._f = !1);
2154                    c = f('<div class="rsVideoContainer"></div>');
2155                    var g = f('<div class="rsBtnCenterer"><div class="rsPlayBtn"><div class="rsPlayBtnIcon"></div></div></div>');
2156                    b.hasClass("rsImg") ? e.content = c.append(b).append(g) : e.content.find(".rsImg").wrap(c).after(g)
2157                }
2158            });
2159            a.ev.on("rsAfterSlideChange", function() {
2160                a.stopVideo()
2161            })
2162        },
2163        toggleVideo: function() {
2164            return this._b7 ? this.stopVideo() : this.playVideo()
2165        },
2166        playVideo: function() {
2167            var a = this;
2168            if (!a._b7) {
2169                var d = a.currSlide;
2170                if (!d.videoURL)
2171                    return !1;
2172                a._d7 = d;
2173                var b = a._e7 = d.content, d = d.videoURL, c, e;
2174                d.match(/youtu\.be/i) || d.match(/youtube\.com/i) ? (e = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,
2175                (e = d.match(e)) && 11 == e[7].length && (c = e[7]),
2176                void 0 !== c && (a._c7 = a.st.video.youTubeCode.replace("%id%", c))) : d.match(/vimeo\.com/i) && (e = /(www\.)?vimeo.com\/(\d+)($|\/)/,
2177                (e = d.match(e)) && (c = e[2]),
2178                void 0 !== c && (a._c7 = a.st.video.vimeoCode.replace("%id%", c)));
2179                a.videoObj = f(a._c7);
2180                a.ev.trigger("rsOnCreateVideoElement", [d]);
2181                a.videoObj.length && (a._c7 = f('<div class="rsVideoFrameHolder"><div class="rsPreloader"></div><div class="rsCloseVideoBtn"><div class="rsCloseVideoIcn"></div></div></div>'),
2182                a._c7.find(".rsPreloader").after(a.videoObj),
2183                b = b.hasClass("rsVideoContainer") ? b : b.find(".rsVideoContainer"),
2184                a._c7.css({
2185                    width: b.width(),
2186                    height: b.height()
2187                }).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv", function(b) {
2188                    a.stopVideo();
2189                    b.preventDefault();
2190                    b.stopPropagation();
2191                    return !1
2192                }),
2193                b.append(a._c7),
2194                a.isIPAD && b.addClass("rsIOSVideo"),
2195                a._f7(!1),
2196                setTimeout(function() {
2197                    a._c7.addClass("rsVideoActive")
2198                }, 10),
2199                a.ev.trigger("rsVideoPlay"),
2200                a._b7 = !0);
2201                return !0
2202            }
2203            return !1
2204        },
2205        stopVideo: function() {
2206            var a = this;
2207            return a._b7 ? (a.isIPAD && a.slider.find(".rsCloseVideoBtn").remove(),
2208            a._f7(!0),
2209            setTimeout(function() {
2210                a.ev.trigger("rsOnDestroyVideoElement", [a.videoObj]);
2211                var d = a._c7.find("iframe");
2212                if (d.length)
2213                    try {
2214                        d.attr("src", "")
2215                    } catch (b) {}
2216                a._c7.remove();
2217                a._c7 = null
2218            }, 16),
2219            a.ev.trigger("rsVideoStop"),
2220            a._b7 = !1,
2221            !0) : !1
2222        },
2223        _f7: function(a, d) {
2224            var b = []
2225              , c = this.st.video;
2226            c.autoHideArrows && (this._c2 && (b.push(this._c2, this._d2),
2227            this._e2 = !a),
2228            this._v5 && b.push(this._v5));
2229            c.autoHideControlNav && this._k5 && b.push(this._k5);
2230            c.autoHideBlocks && this._d7.animBlocks && b.push(this._d7.animBlocks);
2231            c.autoHideCaption && this.globalCaption && b.push(this.globalCaption);
2232            this.slider[a ? "removeClass" : "addClass"]("rsVideoPlaying");
2233            if (b.length)
2234                for (c = 0; c < b.length; c++)
2235                    a ? b[c].removeClass("rsHidden") : b[c].addClass("rsHidden")
2236        }
2237    });
2238    f.rsModules.video = f.rsProto._z6
2239}
2240)(jQuery);
2241// jquery.rs.visible-nearby v1.0.2
2242(function(d) {
2243    d.rsProto._g7 = function() {
2244        var a = this;
2245        a.st.visibleNearby && a.st.visibleNearby.enabled && (a._h7 = {
2246            enabled: !0,
2247            centerArea: 0.6,
2248            center: !0,
2249            breakpoint: 0,
2250            breakpointCenterArea: 0.8,
2251            hiddenOverflow: !0,
2252            navigateByCenterClick: !1
2253        },
2254        a.st.visibleNearby = d.extend({}, a._h7, a.st.visibleNearby),
2255        a.ev.one("rsAfterPropsSetup", function() {
2256            a._i7 = a._e1.css("overflow", "visible").wrap('<div class="rsVisibleNearbyWrap"></div>').parent();
2257            a.st.visibleNearby.hiddenOverflow || a._i7.css("overflow", "visible");
2258            a._o1 = a.st.controlsInside ? a._i7 : a.slider
2259        }),
2260        a.ev.on("rsAfterSizePropSet", function() {
2261            var b, c = a.st.visibleNearby;
2262            b = c.breakpoint && a.width < c.breakpoint ? c.breakpointCenterArea : c.centerArea;
2263            a._h ? (a._b4 *= b,
2264            a._i7.css({
2265                height: a._c4,
2266                width: a._b4 / b
2267            }),
2268            a._d = a._b4 * (1 - b) / 2 / b) : (a._c4 *= b,
2269            a._i7.css({
2270                height: a._c4 / b,
2271                width: a._b4
2272            }),
2273            a._d = a._c4 * (1 - b) / 2 / b);
2274            c.navigateByCenterClick || (a._q = a._h ? a._b4 : a._c4);
2275            c.center && a._e1.css("margin-" + (a._h ? "left" : "top"), a._d)
2276        }))
2277    }
2278    ;
2279    d.rsModules.visibleNearby = d.rsProto._g7
2280}
2281)(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.