<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">//$(document)
//       .ready(function () {
//        alert('file is ready');


//       });
// jQuery RoyalSlider plugin. Copyright Dmitry Semenov http://dimsemenov.com 
// jquery.royalslider v9.5.7
(function (n) {
    function v(b, f) {
        var c, a = this,
            e = window.navigator,
            g = e.userAgent.toLowerCase();
        a.uid = n.rsModules.uid++;
        a.ns = ".rs" + a.uid;
        var d = document.createElement("div").style,
            h = ["webkit", "Moz", "ms", "O"],
            k = "",
            l = 0,
            q;
        for (c = 0; c &lt; h.length; c++) q = h[c], !k &amp;&amp; q + "Transform" in d &amp;&amp; (k = q), q = q.toLowerCase(), window.requestAnimationFrame || (window.requestAnimationFrame = window[q + "RequestAnimationFrame"], window.cancelAnimationFrame = window[q + "CancelAnimationFrame"] || window[q + "CancelRequestAnimationFrame"]);
        window.requestAnimationFrame ||
            (window.requestAnimationFrame = function (a, b) {
                var c = (new Date).getTime(),
                    d = Math.max(0, 16 - (c - l)),
                    e = window.setTimeout(function () {
                        a(c + d)
                    }, d);
                l = c + d;
                return e
            });
        window.cancelAnimationFrame || (window.cancelAnimationFrame = function (a) {
            clearTimeout(a)
        });
        a.isIPAD = g.match(/(ipad)/);
        a.isIOS = a.isIPAD || g.match(/(iphone|ipod)/);
        c = function (a) {
            a = /(chrome)[ \/]([\w.]+)/.exec(a) || /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || 0 &gt; a.indexOf("compatible") &amp;&amp; /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a) || [];
            return {
                browser: a[1] || "",
                version: a[2] || "0"
            }
        }(g);
        h = {};
        c.browser &amp;&amp; (h[c.browser] = !0, h.version = c.version);
        h.chrome &amp;&amp; (h.webkit = !0);
        a._a = h;
        a.isAndroid = -1 &lt; g.indexOf("android");
        a.slider = n(b);
        a.ev = n(a);
        a._b = n(document);
        a.st = n.extend({}, n.fn.royalSlider.defaults, f);
        a._c = a.st.transitionSpeed;
        a._d = 0;
        !a.st.allowCSS3 || h.webkit &amp;&amp; !a.st.allowCSS3OnWebkit || (c = k + (k ? "T" : "t"), a._e = c + "ransform" in d &amp;&amp; c + "ransition" in d, a._e &amp;&amp; (a._f = k + (k ? "P" : "p") + "erspective" in d));
        k = k.toLowerCase();
        a._g = "-" + k + "-";
        a._h = "vertical" === a.st.slidesOrientation ?
            !1 : !0;
        a._i = a._h ? "left" : "top";
        a._j = a._h ? "width" : "height";
        a._k = -1;
        a._l = "fade" === a.st.transitionType ? !1 : !0;
        a._l || (a.st.sliderDrag = !1, a._m = 10);
        a._n = "z-index:0; display:none; opacity:0;";
        a._o = 0;
        a._p = 0;
        a._q = 0;
        n.each(n.rsModules, function (b, c) {
            "uid" !== b &amp;&amp; c.call(a)
        });
        a.slides = [];
        a._r = 0;
        (a.st.slides ? n(a.st.slides) : a.slider.children().detach()).each(function () {
            a._s(this, !0)
        });
        a.st.randomizeSlides &amp;&amp; a.slides.sort(function () {
            return .5 - Math.random()
        });
        a.numSlides = a.slides.length;
        a._t();
        a.st.startSlideId ? a.st.startSlideId &gt;
            a.numSlides - 1 &amp;&amp; (a.st.startSlideId = a.numSlides - 1) : a.st.startSlideId = 0;
        a._o = a.staticSlideId = a.currSlideId = a._u = a.st.startSlideId;
        a.currSlide = a.slides[a.currSlideId];
        a._v = 0;
        a.pointerMultitouch = !1;
        a.slider.addClass((a._h ? "rsHor" : "rsVer") + (a._l ? "" : " rsFade"));
        d = '&lt;div class="rsOverflow"&gt;&lt;div class="rsContainer"&gt;';
        a.slidesSpacing = a.st.slidesSpacing;
        a._w = (a._h ? a.slider.width() : a.slider.height()) + a.st.slidesSpacing;
        a._x = Boolean(0 &lt; a._y);
        1 &gt;= a.numSlides &amp;&amp; (a._z = !1);
        a._a1 = a._z &amp;&amp; a._l ? 2 === a.numSlides ? 1 : 2 : 0;
        a._b1 =
            6 &gt; a.numSlides ? a.numSlides : 6;
        a._c1 = 0;
        a._d1 = 0;
        a.slidesJQ = [];
        for (c = 0; c &lt; a.numSlides; c++) a.slidesJQ.push(n('&lt;div style="' + (a._l ? "" : c !== a.currSlideId ? a._n : "z-index:0;") + '" class="rsSlide "&gt;&lt;/div&gt;'));
        a._e1 = d = n(d + "&lt;/div&gt;&lt;/div&gt;");
        var m = a.ns,
            k = function (b, c, d, e, f) {
                a._j1 = b + c + m;
                a._k1 = b + d + m;
                a._l1 = b + e + m;
                f &amp;&amp; (a._m1 = b + f + m)
            };
        c = e.pointerEnabled;
        a.pointerEnabled = c || e.msPointerEnabled;
        a.pointerEnabled ? (a.hasTouch = !1, a._n1 = .2, a.pointerMultitouch = Boolean(1 &lt; e[(c ? "m" : "msM") + "axTouchPoints"]), 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"), "ontouchstart" in window || "createTouch" in document ? (a.hasTouch = !0, a._j1 += " touchstart" + m, a._k1 += " touchmove" + m, a._l1 += " touchend" + m, a._m1 += " touchcancel" + m, a._n1 = .5, a.st.sliderTouch &amp;&amp; (a._f1 = !0)) : (a.hasTouch = !1, a._n1 = .2));
        a.st.sliderDrag &amp;&amp; (a._f1 = !0, h.msie || h.opera ? a._g1 = a._h1 = "move" : h.mozilla ? (a._g1 = "-moz-grab", a._h1 = "-moz-grabbing") : h.webkit &amp;&amp; -1 != e.platform.indexOf("Mac") &amp;&amp; (a._g1 =
            "-webkit-grab", a._h1 = "-webkit-grabbing"), a._i1());
        a.slider.html(d);
        a._o1 = a.st.controlsInside ? a._e1 : a.slider;
        a._p1 = a._e1.children(".rsContainer");
        a.pointerEnabled &amp;&amp; a._p1.css((c ? "" : "-ms-") + "touch-action", a._h ? "pan-y" : "pan-x");
        a._q1 = n('&lt;div class="rsPreloader"&gt;&lt;/div&gt;');
        e = a._p1.children(".rsSlide");
        a._r1 = a.slidesJQ[a.currSlideId];
        a._s1 = 0;
        a._e ? (a._t1 = "transition-property", a._u1 = "transition-duration", a._v1 = "transition-timing-function", a._w1 = a._x1 = a._g + "transform", a._f ? (h.webkit &amp;&amp; !h.chrome &amp;&amp; a.slider.addClass("rsWebkit3d"),
            a._y1 = "translate3d(", a._z1 = "px, ", a._a2 = "px, 0px)") : (a._y1 = "translate(", a._z1 = "px, ", a._a2 = "px)"), a._l ? a._p1[a._g + a._t1] = a._g + "transform" : (h = {}, h[a._g + a._t1] = "opacity", h[a._g + a._u1] = a.st.transitionSpeed + "ms", h[a._g + a._v1] = a.st.css3easeInOut, e.css(h))) : (a._x1 = "left", a._w1 = "top");
        var p;
        n(window).on("resize" + a.ns, function () {
            p &amp;&amp; clearTimeout(p);
            p = setTimeout(function () {
                a.updateSliderSize()
            }, 50)
        });
        a.ev.trigger("rsAfterPropsSetup");
        a.updateSliderSize();
        a.st.keyboardNavEnabled &amp;&amp; a._b2();
        a.st.arrowsNavHideOnTouch &amp;&amp;
            (a.hasTouch || a.pointerMultitouch) &amp;&amp; (a.st.arrowsNav = !1);
        a.st.arrowsNav &amp;&amp; (e = a._o1, n('&lt;div class="rsArrow rsArrowLeft"&gt;&lt;div class="rsArrowIcn"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="rsArrow rsArrowRight"&gt;&lt;div class="rsArrowIcn"&gt;&lt;/div&gt;&lt;/div&gt;').appendTo(e), a._c2 = e.children(".rsArrowLeft").click(function (b) {
           // alert('previous slider');
            /*Squeeze Page*/
           // ShowLeadModalInDetailsPage();
            b.preventDefault();
            a.prev()
        }), a._d2 = e.children(".rsArrowRight").click(function (b) {
            //alert('next slider');
            /*Squeeze Page*/
            //ShowLeadModalInDetailsPage();
            //b.preventDefault();
            a.next()
        }), a.st.arrowsNavAutoHide &amp;&amp; !a.hasTouch &amp;&amp; (a._c2.addClass("rsHidden"), a._d2.addClass("rsHidden"), e.one("mousemove.arrowshover",
            function () {
                a._c2.removeClass("rsHidden");
                a._d2.removeClass("rsHidden")
            }), e.hover(function () {
                a._e2 || (a._c2.removeClass("rsHidden"), a._d2.removeClass("rsHidden"))
            }, function () {
                a._e2 || (a._c2.addClass("rsHidden"), a._d2.addClass("rsHidden"))
            })), a.ev.on("rsOnUpdateNav", function () {
                a._f2()
            }), a._f2());
        if (a.hasTouch &amp;&amp; a.st.sliderTouch || !a.hasTouch &amp;&amp; a.st.sliderDrag) a._p1.on(a._j1, function (b) {
            a._g2(b)
        });
        else a.dragSuccess = !1;
        var r = ["rsPlayBtnIcon", "rsPlayBtn", "rsCloseVideoBtn", "rsCloseVideoIcn"];
        a._p1.click(function (b) {
            if (!a.dragSuccess) {
                var c =
                    n(b.target).attr("class");
                if (-1 !== n.inArray(c, r) &amp;&amp; a.toggleVideo()) return !1;
                if (a.st.navigateByClick &amp;&amp; !a._h2) {
                    if (n(b.target).closest(".rsNoDrag", a._r1).length) return !0;
                    a._i2(b)
                }
                a.ev.trigger("rsSlideClick", b)
            }
        }).on("click.rs", "a", function (b) {
            if (a.dragSuccess) return !1;
            a._h2 = !0;
            setTimeout(function () {
                a._h2 = !1
            }, 3)
        });
        a.ev.trigger("rsAfterInit")
    }
    n.rsModules || (n.rsModules = {
        uid: 0
    });
    v.prototype = {
        constructor: v,
        _i2: function (b) {
            b = b[this._h ? "pageX" : "pageY"] - this._j2;
            b &gt;= this._q ? this.next() : 0 &gt; b &amp;&amp; this.prev()
        },
        _t: function () {
            var b;
            b = this.st.numImagesToPreload;
            if (this._z = this.st.loop) 2 === this.numSlides ? (this._z = !1, this.st.loopRewind = !0) : 2 &gt; this.numSlides &amp;&amp; (this.st.loopRewind = this._z = !1);
            this._z &amp;&amp; 0 &lt; b &amp;&amp; (4 &gt;= this.numSlides ? b = 1 : this.st.numImagesToPreload &gt; (this.numSlides - 1) / 2 &amp;&amp; (b = Math.floor((this.numSlides - 1) / 2)));
            this._y = b
        },
        _s: function (b, f) {
            function c(b, c) {
                c ? g.images.push(b.attr(c)) : g.images.push(b.text());
                if (h) {
                    h = !1;
                    g.caption = "src" === c ? b.attr("alt") : b.contents();
                    g.image = g.images[0];
                    g.videoURL = b.attr("data-rsVideo");
                    var d = b.attr("data-rsw"),
                        e = b.attr("data-rsh");
                    "undefined" !== typeof d &amp;&amp; !1 !== d &amp;&amp; "undefined" !== typeof e &amp;&amp; !1 !== e ? (g.iW = parseInt(d, 10), g.iH = parseInt(e, 10)) : a.st.imgWidth &amp;&amp; a.st.imgHeight &amp;&amp; (g.iW = a.st.imgWidth, g.iH = a.st.imgHeight)
                }
            }
            var a = this,
                e, g = {},
                d, h = !0;
            b = n(b);
            a._k2 = b;
            a.ev.trigger("rsBeforeParseNode", [b, g]);
            if (!g.stopParsing) return b = a._k2, g.id = a._r, g.contentAdded = !1, a._r++, g.images = [], g.isBig = !1, g.hasCover || (b.hasClass("rsImg") ? (d = b, e = !0) : (d = b.find(".rsImg"), d.length &amp;&amp; (e = !0)), e ? (g.bigImage = d.eq(0).attr("data-rsBigImg"), d.each(function () {
                var a =
                    n(this);
                a.is("a") ? c(a, "href") : a.is("img") ? c(a, "src") : c(a)
            })) : b.is("img") &amp;&amp; (b.addClass("rsImg rsMainSlideImage"), c(b, "src"))), d = b.find(".rsCaption"), d.length &amp;&amp; (g.caption = d.remove()), g.content = b, a.ev.trigger("rsAfterParseNode", [b, g]), f &amp;&amp; a.slides.push(g), 0 === g.images.length &amp;&amp; (g.isLoaded = !0, g.isRendered = !1, g.isLoading = !1, g.images = null), g
        },
        _b2: function () {
            var b = this,
                f, c, a = function (a) {
                    37 === a ? b.prev() : 39 === a &amp;&amp; b.next()
                };
            b._b.on("keydown" + b.ns, function (e) {
                if (!b.st.keyboardNavEnabled) return !0;
                if (!(b._l2 || (c =
                        e.keyCode, 37 !== c &amp;&amp; 39 !== c || f))) {
                    if (document.activeElement &amp;&amp; /(INPUT|SELECT|TEXTAREA)/i.test(document.activeElement.tagName)) return !0;
                    b.isFullscreen &amp;&amp; e.preventDefault();
                    a(c);
                    f = setInterval(function () {
                        a(c)
                    }, 700)
                }
            }).on("keyup" + b.ns, function (a) {
                f &amp;&amp; (clearInterval(f), f = null)
            })
        },
        goTo: function (b, f) {
            b !== this.currSlideId &amp;&amp; this._m2(b, this.st.transitionSpeed, !0, !f)
        },
        destroy: function (b) {
            this.ev.trigger("rsBeforeDestroy");
            this._b.off("keydown" + this.ns + " keyup" + this.ns + " " + this._k1 + " " + this._l1);
            this._p1.off(this._j1 +
                " click");
            this.slider.data("royalSlider", null);
            n.removeData(this.slider, "royalSlider");
            n(window).off("resize" + this.ns);
            this.loadingTimeout &amp;&amp; clearTimeout(this.loadingTimeout);
            b &amp;&amp; this.slider.remove();
            this.ev = this.slider = this.slides = null
        },
        _n2: function (b, f) {
            function c(c, f, g) {
                c.isAdded ? (a(f, c), e(f, c)) : (g || (g = d.slidesJQ[f]), c.holder ? g = c.holder : (g = d.slidesJQ[f] = n(g), c.holder = g), c.appendOnLoaded = !1, e(f, c, g), a(f, c), d._p2(c, g, b), c.isAdded = !0)
            }

            function a(a, c) {
                c.contentAdded || (d.setItemHtml(c, b), b || (c.contentAdded = !0))
            }

            function e(a, b, c) {
                d._l &amp;&amp; (c || (c = d.slidesJQ[a]), c.css(d._i, (a + d._d1 + p) * d._w))
            }

            function g(a) {
                if (l) {
                    if (a &gt; q - 1) return g(a - q);
                    if (0 &gt; a) return g(q + a)
                }
                return a
            }
            var d = this,
                h, k, l = d._z,
                q = d.numSlides;
            if (!isNaN(f)) return g(f);
            var m = d.currSlideId,
                p, r = b ? Math.abs(d._o2 - d.currSlideId) &gt;= d.numSlides - 1 ? 0 : 1 : d._y,
                t = Math.min(2, r),
                w = !1,
                v = !1,
                u;
            for (k = m; k &lt; m + 1 + t; k++)
                if (u = g(k), (h = d.slides[u]) &amp;&amp; (!h.isAdded || !h.positionSet)) {
                    w = !0;
                    break
                }
            for (k = m - 1; k &gt; m - 1 - t; k--)
                if (u = g(k), (h = d.slides[u]) &amp;&amp; (!h.isAdded || !h.positionSet)) {
                    v = !0;
                    break
                }
            if (w)
                for (k =
                    m; k &lt; m + r + 1; k++) u = g(k), p = Math.floor((d._u - (m - k)) / d.numSlides) * d.numSlides, (h = d.slides[u]) &amp;&amp; c(h, u);
            if (v)
                for (k = m - 1; k &gt; m - 1 - r; k--) u = g(k), p = Math.floor((d._u - (m - k)) / q) * q, (h = d.slides[u]) &amp;&amp; c(h, u);
            if (!b)
                for (t = g(m - r), m = g(m + r), r = t &gt; m ? 0 : t, k = 0; k &lt; q; k++) t &gt; m &amp;&amp; k &gt; t - 1 || !(k &lt; r || k &gt; m) || (h = d.slides[k]) &amp;&amp; h.holder &amp;&amp; (h.holder.detach(), h.isAdded = !1)
        },
        setItemHtml: function (b, f) {
            var c = this,
                a = function () {
                    if (!b.images) b.isRendered = !0, b.isLoaded = !0, b.isLoading = !1, d(!0);
                    else if (!b.isLoading) {
                        var a, f;
                        b.content.hasClass("rsImg") ? (a = b.content,
                            f = !0) : a = b.content.find(".rsImg:not(img)");
                        a &amp;&amp; !a.is("img") &amp;&amp; a.each(function () {
                            var a = n(this),
                                c = '&lt;img class="rsImg" src="' + (a.is("a") ? a.attr("href") : a.text()) + '" /&gt;';
                            f ? b.content = n(c) : a.replaceWith(c)
                        });
                        a = f ? b.content : b.content.find("img.rsImg");
                        k();
                        a.eq(0).addClass("rsMainSlideImage");
                        b.iW &amp;&amp; b.iH &amp;&amp; (b.isLoaded || c._q2(b), d());
                        b.isLoading = !0;
                        if (b.isBig) n("&lt;img /&gt;").on("load.rs error.rs", function (a) {
                            n(this).off("load.rs error.rs");
                            e([this], !0)
                        }).attr("src", b.image);
                        else {
                            b.loaded = [];
                            b.numStartedLoad = 0;
                            a = function (a) {
                                n(this).off("load.rs error.rs");
                                b.loaded.push(this);
                                b.loaded.length === b.numStartedLoad &amp;&amp; e(b.loaded, !1)
                            };
                            for (var g = 0; g &lt; b.images.length; g++) {
                                var h = n("&lt;img /&gt;");
                                b.numStartedLoad++;
                                h.on("load.rs error.rs", a).attr("src", b.images[g])
                            }
                        }
                    }
                },
                e = function (a, c) {
                    if (a.length) {
                        var d = a[0];
                        if (c !== b.isBig) (d = b.holder.children()) &amp;&amp; 1 &lt; d.length &amp;&amp; l();
                        else if (b.iW &amp;&amp; b.iH) g();
                        else if (b.iW = d.width, b.iH = d.height, b.iW &amp;&amp; b.iH) g();
                        else {
                            var e = new Image;
                            e.onload = function () {
                                e.width ? (b.iW = e.width, b.iH = e.height, g()) : setTimeout(function () {
                                    e.width &amp;&amp; (b.iW = e.width, b.iH =
                                        e.height);
                                    g()
                                }, 1E3)
                            };
                            e.src = d.src
                        }
                    } else g()
                },
                g = function () {
                    b.isLoaded = !0;
                    b.isLoading = !1;
                    d();
                    l();
                    h()
                },
                d = function () {
                    if (!b.isAppended &amp;&amp; c.ev) {
                        var a = c.st.visibleNearby,
                            d = b.id - c._o;
                        f || b.appendOnLoaded || !c.st.fadeinLoadedSlide || 0 !== d &amp;&amp; (!(a || c._r2 || c._l2) || -1 !== d &amp;&amp; 1 !== d) || (a = {
                            visibility: "visible",
                            opacity: 0
                        }, a[c._g + "transition"] = "opacity 400ms ease-in-out", b.content.css(a), setTimeout(function () {
                            b.content.css("opacity", 1)
                        }, 16));
                        b.holder.find(".rsPreloader").length ? b.holder.append(b.content) : b.holder.html(b.content);
                        b.isAppended = !0;
                        b.isLoaded &amp;&amp; (c._q2(b), h());
                        b.sizeReady || (b.sizeReady = !0, setTimeout(function () {
                            c.ev.trigger("rsMaybeSizeReady", b)
                        }, 100))
                    }
                },
                h = function () {
                    !b.loadedTriggered &amp;&amp; c.ev &amp;&amp; (b.isLoaded = b.loadedTriggered = !0, b.holder.trigger("rsAfterContentSet"), c.ev.trigger("rsAfterContentSet", b))
                },
                k = function () {
                    c.st.usePreloader &amp;&amp; b.holder.html(c._q1.clone())
                },
                l = function (a) {
                    c.st.usePreloader &amp;&amp; (a = b.holder.find(".rsPreloader"), a.length &amp;&amp; a.remove())
                };
            b.isLoaded ? d() : f ? !c._l &amp;&amp; b.images &amp;&amp; b.iW &amp;&amp; b.iH ? a() : (b.holder.isWaiting = !0, k(), b.holder.slideId = -99) : a()
        },
        _p2: function (b, f, c) {
            this._p1.append(b.holder);
            b.appendOnLoaded = !1
        },
        _g2: function (b, f) {
            var c = this,
                a, e = "touchstart" === b.type;
            c._s2 = e;
            c.ev.trigger("rsDragStart");
            if (n(b.target).closest(".rsNoDrag", c._r1).length) return c.dragSuccess = !1, !0;
            !f &amp;&amp; c._r2 &amp;&amp; (c._t2 = !0, c._u2());
            c.dragSuccess = !1;
            if (c._l2) e &amp;&amp; (c._v2 = !0);
            else {
                e &amp;&amp; (c._v2 = !1);
                c._w2();
                if (e) {
                    var g = b.originalEvent.touches;
                    if (g &amp;&amp; 0 &lt; g.length) a = g[0], 1 &lt; g.length &amp;&amp; (c._v2 = !0);
                    else return
                } else b.preventDefault(), a = b, c.pointerEnabled &amp;&amp;
                    (a = a.originalEvent);
                c._l2 = !0;
                c._b.on(c._k1, function (a) {
                    c._x2(a, f)
                }).on(c._l1, function (a) {
                    c._y2(a, f)
                });
                c._z2 = "";
                c._a3 = !1;
                c._b3 = a.pageX;
                c._c3 = a.pageY;
                c._d3 = c._v = (f ? c._e3 : c._h) ? a.pageX : a.pageY;
                c._f3 = 0;
                c._g3 = 0;
                c._h3 = f ? c._i3 : c._p;
                c._j3 = (new Date).getTime();
                if (e) c._e1.on(c._m1, function (a) {
                    c._y2(a, f)
                })
            }
        },
        _k3: function (b, f) {
            if (this._l3) {
                var c = this._m3,
                    a = b.pageX - this._b3,
                    e = b.pageY - this._c3,
                    g = this._h3 + a,
                    d = this._h3 + e,
                    h = f ? this._e3 : this._h,
                    g = h ? g : d,
                    d = this._z2;
                this._a3 = !0;
                this._b3 = b.pageX;
                this._c3 = b.pageY;
                "x" ===
                d &amp;&amp; 0 !== a ? this._f3 = 0 &lt; a ? 1 : -1 : "y" === d &amp;&amp; 0 !== e &amp;&amp; (this._g3 = 0 &lt; e ? 1 : -1);
                d = h ? this._b3 : this._c3;
                a = h ? a : e;
                f ? g &gt; this._n3 ? g = this._h3 + a * this._n1 : g &lt; this._o3 &amp;&amp; (g = this._h3 + a * this._n1) : this._z || (0 &gt;= this.currSlideId &amp;&amp; 0 &lt; d - this._d3 &amp;&amp; (g = this._h3 + a * this._n1), this.currSlideId &gt;= this.numSlides - 1 &amp;&amp; 0 &gt; d - this._d3 &amp;&amp; (g = this._h3 + a * this._n1));
                this._h3 = g;
                200 &lt; c - this._j3 &amp;&amp; (this._j3 = c, this._v = d);
                f ? this._q3(this._h3) : this._l &amp;&amp; this._p3(this._h3)
            }
        },
        _x2: function (b, f) {
            var c = this,
                a, e = "touchmove" === b.type;
            if (!c._s2 || e) {
                if (e) {
                    if (c._r3) return;
                    var g =
                        b.originalEvent.touches;
                    if (g) {
                        if (1 &lt; g.length) return;
                        a = g[0]
                    } else return
                } else a = b, c.pointerEnabled &amp;&amp; (a = a.originalEvent);
                c._a3 || (c._e &amp;&amp; (f ? c._s3 : c._p1).css(c._g + c._u1, "0s"), function h() {
                    c._l2 &amp;&amp; (c._t3 = requestAnimationFrame(h), c._u3 &amp;&amp; c._k3(c._u3, f))
                }());
                if (c._l3) b.preventDefault(), c._m3 = (new Date).getTime(), c._u3 = a;
                else if (g = f ? c._e3 : c._h, a = Math.abs(a.pageX - c._b3) - Math.abs(a.pageY - c._c3) - (g ? -7 : 7), 7 &lt; a) {
                    if (g) b.preventDefault(), c._z2 = "x";
                    else if (e) {
                        c._v3(b);
                        return
                    }
                    c._l3 = !0
                } else if (-7 &gt; a) {
                    if (!g) b.preventDefault(),
                        c._z2 = "y";
                    else if (e) {
                        c._v3(b);
                        return
                    }
                    c._l3 = !0
                }
            }
        },
        _v3: function (b, f) {
            this._r3 = !0;
            this._a3 = this._l2 = !1;
            this._y2(b)
        },
        _y2: function (b, f) {
            function c(a) {
                return 100 &gt; a ? 100 : 500 &lt; a ? 500 : a
            }

            function a(a, b) {
                if (e._l || f) h = (-e._u - e._d1) * e._w, k = Math.abs(e._p - h), e._c = k / b, a &amp;&amp; (e._c += 250), e._c = c(e._c), e._x3(h, !1)
            }
            var e = this,
                g, d, h, k;
            g = -1 &lt; b.type.indexOf("touch");
            if (!e._s2 || g)
                if (e._s2 = !1, e.ev.trigger("rsDragRelease"), e._u3 = null, e._l2 = !1, e._r3 = !1, e._l3 = !1, e._m3 = 0, cancelAnimationFrame(e._t3), e._a3 &amp;&amp; (f ? e._q3(e._h3) : e._l &amp;&amp; e._p3(e._h3)),
                    e._b.off(e._k1).off(e._l1), g &amp;&amp; e._e1.off(e._m1), e._i1(), !e._a3 &amp;&amp; !e._v2 &amp;&amp; f &amp;&amp; e._w3) {
                    var l = n(b.target).closest(".rsNavItem");
                    l.length &amp;&amp; e.goTo(l.index())
                } else {
                    d = f ? e._e3 : e._h;
                    if (!e._a3 || "y" === e._z2 &amp;&amp; d || "x" === e._z2 &amp;&amp; !d)
                        if (!f &amp;&amp; e._t2) {
                            e._t2 = !1;
                            if (e.st.navigateByClick) {
                                e._i2(e.pointerEnabled ? b.originalEvent : b);
                                e.dragSuccess = !0;
                                return
                            }
                            e.dragSuccess = !0
                        } else {
                            e._t2 = !1;
                            e.dragSuccess = !1;
                            return
                        } else e.dragSuccess = !0;
                    e._t2 = !1;
                    e._z2 = "";
                    var q = e.st.minSlideOffset;
                    g = g ? b.originalEvent.changedTouches[0] : e.pointerEnabled ?
                        b.originalEvent : b;
                    var m = d ? g.pageX : g.pageY,
                        p = e._d3;
                    g = e._v;
                    var r = e.currSlideId,
                        t = e.numSlides,
                        w = d ? e._f3 : e._g3,
                        v = e._z;
                    Math.abs(m - p);
                    g = m - g;
                    d = (new Date).getTime() - e._j3;
                    d = Math.abs(g) / d;
                    if (0 === w || 1 &gt;= t) a(!0, d);
                    else {
                        if (!v &amp;&amp; !f)
                            if (0 &gt;= r) {
                                if (0 &lt; w) {
                                    a(!0, d);
                                    return
                                }
                            } else if (r &gt;= t - 1 &amp;&amp; 0 &gt; w) {
                                a(!0, d);
                                return
                            }
                        if (f) {
                            h = e._i3;
                            if (h &gt; e._n3) h = e._n3;
                            else if (h &lt; e._o3) h = e._o3;
                            else {
                                m = d * d / .006;
                                l = -e._i3;
                                p = e._y3 - e._z3 + e._i3;
                                0 &lt; g &amp;&amp; m &gt; l ? (l += e._z3 / (15 / (m / d * .003)), d = d * l / m, m = l) : 0 &gt; g &amp;&amp; m &gt; p &amp;&amp; (p += e._z3 / (15 / (m / d * .003)), d = d * p / m, m = p);
                                l = Math.max(Math.round(d /
                                    .003), 50);
                                h += m * (0 &gt; g ? -1 : 1);
                                if (h &gt; e._n3) {
                                    e._a4(h, l, !0, e._n3, 200);
                                    return
                                }
                                if (h &lt; e._o3) {
                                    e._a4(h, l, !0, e._o3, 200);
                                    return
                                }
                            }
                            e._a4(h, l, !0)
                        } else l = function (a) {
                            var b = Math.floor(a / e._w);
                            a - b * e._w &gt; q &amp;&amp; b++;
                            return b
                        }, p + q &lt; m ? 0 &gt; w ? a(!1, d) : (l = l(m - p), e._m2(e.currSlideId - l, c(Math.abs(e._p - (-e._u - e._d1 + l) * e._w) / d), !1, !0, !0)) : p - q &gt; m ? 0 &lt; w ? a(!1, d) : (l = l(p - m), e._m2(e.currSlideId + l, c(Math.abs(e._p - (-e._u - e._d1 - l) * e._w) / d), !1, !0, !0)) : a(!1, d)
                    }
                }
        },
        _p3: function (b) {
            b = this._p = b;
            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)
        },
        updateSliderSize: function (b) {
            var f, c;
            if (this.slider) {
                if (this.st.autoScaleSlider) {
                    var a = this.st.autoScaleSliderWidth,
                        e = this.st.autoScaleSliderHeight;
                    this.st.autoScaleHeight ? (f = this.slider.width(), f != this.width &amp;&amp; (this.slider.css("height", e / a * f), f = this.slider.width()), c = this.slider.height()) : (c = this.slider.height(), c != this.height &amp;&amp; (this.slider.css("width", a / e * c), c = this.slider.height()), f = this.slider.width())
                } else f = this.slider.width(),
                    c = this.slider.height();
                if (b || f != this.width || c != this.height) {
                    this.width = f;
                    this.height = c;
                    this._b4 = f;
                    this._c4 = c;
                    this.ev.trigger("rsBeforeSizeSet");
                    this.ev.trigger("rsAfterSizePropSet");
                    this._e1.css({
                        width: this._b4,
                        height: this._c4
                    });
                    this._w = (this._h ? this._b4 : this._c4) + this.st.slidesSpacing;
                    this._d4 = this.st.imageScalePadding;
                    for (f = 0; f &lt; this.slides.length; f++) b = this.slides[f], b.positionSet = !1, b &amp;&amp; b.images &amp;&amp; b.isLoaded &amp;&amp; (b.isRendered = !1, this._q2(b));
                    if (this._e4)
                        for (f = 0; f &lt; this._e4.length; f++) b = this._e4[f], b.holder.css(this._i, (b.id + this._d1) * this._w);
                    this._n2();
                    this._l &amp;&amp; (this._e &amp;&amp; this._p1.css(this._g + "transition-duration", "0s"), this._p3((-this._u - this._d1) * this._w));
                    this.ev.trigger("rsOnUpdateNav")
                }
                this._j2 = this._e1.offset();
                this._j2 = this._j2[this._i]
            }
        },
        appendSlide: function (b, f) {
            var c = this._s(b);
            if (isNaN(f) || f &gt; this.numSlides) f = this.numSlides;
            this.slides.splice(f, 0, c);
            this.slidesJQ.splice(f, 0, n('&lt;div style="' + (this._l ? "position:absolute;" : this._n) + '" class="rsSlide"&gt;&lt;/div&gt;'));
            f &lt;= this.currSlideId &amp;&amp; this.currSlideId++;
            this.ev.trigger("rsOnAppendSlide", [c, f]);
            this._f4(f);
            f === this.currSlideId &amp;&amp; this.ev.trigger("rsAfterSlideChange")
        },
        removeSlide: function (b) {
            var f = this.slides[b];
            f &amp;&amp; (f.holder &amp;&amp; f.holder.remove(), b &lt; this.currSlideId &amp;&amp; this.currSlideId--, this.slides.splice(b, 1), this.slidesJQ.splice(b, 1), this.ev.trigger("rsOnRemoveSlide", [b]), this._f4(b), b === this.currSlideId &amp;&amp; this.ev.trigger("rsAfterSlideChange"))
        },
        _f4: function (b) {
            var f = this;
            b = f.numSlides;
            b = 0 &gt;= f._u ? 0 : Math.floor(f._u / b);
            f.numSlides = f.slides.length;
            0 === f.numSlides ? (f.currSlideId = f._d1 = f._u =
                0, f.currSlide = f._g4 = null) : f._u = b * f.numSlides + f.currSlideId;
            for (b = 0; b &lt; f.numSlides; b++) f.slides[b].id = b;
            f.currSlide = f.slides[f.currSlideId];
            f._r1 = f.slidesJQ[f.currSlideId];
            f.currSlideId &gt;= f.numSlides ? f.goTo(f.numSlides - 1) : 0 &gt; f.currSlideId &amp;&amp; f.goTo(0);
            f._t();
            f._l &amp;&amp; f._p1.css(f._g + f._u1, "0ms");
            f._h4 &amp;&amp; clearTimeout(f._h4);
            f._h4 = setTimeout(function () {
                f._l &amp;&amp; f._p3((-f._u - f._d1) * f._w);
                f._n2();
                f._l || f._r1.css({
                    display: "block",
                    opacity: 1
                })
            }, 14);
            f.ev.trigger("rsOnUpdateNav")
        },
        _i1: function () {
            this._f1 &amp;&amp; this._l &amp;&amp; (this._g1 ?
                this._e1.css("cursor", this._g1) : (this._e1.removeClass("grabbing-cursor"), this._e1.addClass("grab-cursor")))
        },
        _w2: function () {
            this._f1 &amp;&amp; this._l &amp;&amp; (this._h1 ? this._e1.css("cursor", this._h1) : (this._e1.removeClass("grab-cursor"), this._e1.addClass("grabbing-cursor")))
        },
        next: function (b) {
            this._m2("next", this.st.transitionSpeed, !0, !b)
        },
        prev: function (b) {
            this._m2("prev", this.st.transitionSpeed, !0, !b)
        },
        _m2: function (b, f, c, a, e) {
            var g = this,
                d, h, k;
            g.ev.trigger("rsBeforeMove", [b, a]);
            k = "next" === b ? g.currSlideId + 1 : "prev" ===
                b ? g.currSlideId - 1 : b = parseInt(b, 10);
            if (!g._z) {
                if (0 &gt; k) {
                    g._i4("left", !a);
                    return
                }
                if (k &gt;= g.numSlides) {
                    g._i4("right", !a);
                    return
                }
            }
            g._r2 &amp;&amp; (g._u2(!0), c = !1);
            h = k - g.currSlideId;
            k = g._o2 = g.currSlideId;
            var l = g.currSlideId + h;
            a = g._u;
            var n;
            g._z ? (l = g._n2(!1, l), a += h) : a = l;
            g._o = l;
            g._g4 = g.slidesJQ[g.currSlideId];
            g._u = a;
            g.currSlideId = g._o;
            g.currSlide = g.slides[g.currSlideId];
            g._r1 = g.slidesJQ[g.currSlideId];
            var l = g.st.slidesDiff,
                m = Boolean(0 &lt; h);
            h = Math.abs(h);
            var p = Math.floor(k / g._y),
                r = Math.floor((k + (m ? l : -l)) / g._y),
                p = (m ? Math.max(p,
                    r) : Math.min(p, r)) * g._y + (m ? g._y - 1 : 0);
            p &gt; g.numSlides - 1 ? p = g.numSlides - 1 : 0 &gt; p &amp;&amp; (p = 0);
            k = m ? p - k : k - p;
            k &gt; g._y &amp;&amp; (k = g._y);
            if (h &gt; k + l)
                for (g._d1 += (h - (k + l)) * (m ? -1 : 1), f *= 1.4, k = 0; k &lt; g.numSlides; k++) g.slides[k].positionSet = !1;
            g._c = f;
            g._n2(!0);
            e || (n = !0);
            d = (-a - g._d1) * g._w;
            n ? setTimeout(function () {
                g._j4 = !1;
                g._x3(d, b, !1, c);
                g.ev.trigger("rsOnUpdateNav")
            }, 0) : (g._x3(d, b, !1, c), g.ev.trigger("rsOnUpdateNav"))
        },
        _f2: function () {
            this.st.arrowsNav &amp;&amp; (1 &gt;= this.numSlides ? (this._c2.css("display", "none"), this._d2.css("display", "none")) : (this._c2.css("display",
                "block"), this._d2.css("display", "block"), this._z || this.st.loopRewind || (0 === this.currSlideId ? this._c2.addClass("rsArrowDisabled") : this._c2.removeClass("rsArrowDisabled"), this.currSlideId === this.numSlides - 1 ? this._d2.addClass("rsArrowDisabled") : this._d2.removeClass("rsArrowDisabled"))))
        },
        _x3: function (b, f, c, a, e) {
            function g() {
                var a;
                h &amp;&amp; (a = h.data("rsTimeout")) &amp;&amp; (h !== k &amp;&amp; h.css({
                    opacity: 0,
                    display: "none",
                    zIndex: 0
                }), clearTimeout(a), h.data("rsTimeout", ""));
                if (a = k.data("rsTimeout")) clearTimeout(a), k.data("rsTimeout",
                    "")
            }
            var d = this,
                h, k, l = {};
            isNaN(d._c) &amp;&amp; (d._c = 400);
            d._p = d._h3 = b;
            d.ev.trigger("rsBeforeAnimStart");
            d._e ? d._l ? (d._c = parseInt(d._c, 10), c = d._g + d._v1, l[d._g + d._u1] = d._c + "ms", l[c] = a ? n.rsCSS3Easing[d.st.easeInOut] : n.rsCSS3Easing[d.st.easeOut], d._p1.css(l), a || !d.hasTouch ? setTimeout(function () {
                d._p3(b)
            }, 5) : d._p3(b)) : (d._c = d.st.transitionSpeed, h = d._g4, k = d._r1, k.data("rsTimeout") &amp;&amp; k.css("opacity", 0), g(), h &amp;&amp; h.data("rsTimeout", setTimeout(function () {
                l[d._g + d._u1] = "0ms";
                l.zIndex = 0;
                l.display = "none";
                h.data("rsTimeout",
                    "");
                h.css(l);
                setTimeout(function () {
                    h.css("opacity", 0)
                }, 16)
            }, d._c + 60)), l.display = "block", l.zIndex = d._m, l.opacity = 0, l[d._g + d._u1] = "0ms", l[d._g + d._v1] = n.rsCSS3Easing[d.st.easeInOut], k.css(l), k.data("rsTimeout", setTimeout(function () {
                k.css(d._g + d._u1, d._c + "ms");
                k.data("rsTimeout", setTimeout(function () {
                    k.css("opacity", 1);
                    k.data("rsTimeout", "")
                }, 20))
            }, 20))) : d._l ? (l[d._h ? d._x1 : d._w1] = b + "px", d._p1.animate(l, d._c, a ? d.st.easeInOut : d.st.easeOut)) : (h = d._g4, k = d._r1, k.stop(!0, !0).css({
                opacity: 0,
                display: "block",
                zIndex: d._m
            }), d._c = d.st.transitionSpeed, k.animate({
                opacity: 1
            }, d._c, d.st.easeInOut), g(), h &amp;&amp; h.data("rsTimeout", setTimeout(function () {
                h.stop(!0, !0).css({
                    opacity: 0,
                    display: "none",
                    zIndex: 0
                })
            }, d._c + 60)));
            d._r2 = !0;
            d.loadingTimeout &amp;&amp; clearTimeout(d.loadingTimeout);
            d.loadingTimeout = e ? setTimeout(function () {
                d.loadingTimeout = null;
                e.call()
            }, d._c + 60) : setTimeout(function () {
                d.loadingTimeout = null;
                d._k4(f)
            }, d._c + 60)
        },
        _u2: function (b) {
            this._r2 = !1;
            clearTimeout(this.loadingTimeout);
            if (this._l)
                if (!this._e) this._p1.stop(!0),
                    this._p = parseInt(this._p1.css(this._h ? this._x1 : this._w1), 10);
                else {
                    if (!b) {
                        b = this._p;
                        var f = this._h3 = this._l4();
                        this._p1.css(this._g + this._u1, "0ms");
                        b !== f &amp;&amp; this._p3(f)
                    }
                } else 20 &lt; this._m ? this._m = 10 : this._m++
        },
        _l4: function () {
            var b = window.getComputedStyle(this._p1.get(0), null).getPropertyValue(this._g + "transform").replace(/^matrix\(/i, "").split(/, |\)$/g),
                f = 0 === b[0].indexOf("matrix3d");
            return parseInt(b[this._h ? f ? 12 : 4 : f ? 13 : 5], 10)
        },
        _m4: function (b, f) {
            return this._e ? this._y1 + (f ? b + this._z1 + 0 : 0 + this._z1 + b) + this._a2 :
                b
        },
        _k4: function (b) {
            this._l || (this._r1.css("z-index", 0), this._m = 10);
            this._r2 = !1;
            this.staticSlideId = this.currSlideId;
            this._n2();
            this._n4 = !1;
            this.ev.trigger("rsAfterSlideChange")
        },
        _i4: function (b, f) {
            var c = this,
                a = (-c._u - c._d1) * c._w;
            if (0 !== c.numSlides &amp;&amp; !c._r2)
                if (c.st.loopRewind) c.goTo("left" === b ? c.numSlides - 1 : 0, f);
                else if (c._l) {
                    c._c = 200;
                    var e = function () {
                        c._r2 = !1
                    };
                    c._x3(a + ("left" === b ? 30 : -30), "", !1, !0, function () {
                        c._r2 = !1;
                        c._x3(a, "", !1, !0, e)
                    })
                }
        },
        _q2: function (b, f) {
            if (!b.isRendered) {
                var c = b.content,
                    a = "rsMainSlideImage",
                    e, g = n.isFunction(this.st.imageAlignCenter) ? this.st.imageAlignCenter(b) : this.st.imageAlignCenter,
                    d = n.isFunction(this.st.imageScaleMode) ? this.st.imageScaleMode(b) : this.st.imageScaleMode,
                    h;
                b.videoURL &amp;&amp; (a = "rsVideoContainer", "fill" !== d ? e = !0 : (h = c, h.hasClass(a) || (h = h.find("." + a)), h.css({
                    width: "100%",
                    height: "100%"
                }), a = "rsMainSlideImage"));
                c.hasClass(a) || (c = c.find("." + a));
                if (c) {
                    var k = b.iW,
                        l = b.iH;
                    b.isRendered = !0;
                    if ("none" !== d || g) {
                        a = "fill" !== d ? this._d4 : 0;
                        h = this._b4 - 2 * a;
                        var q = this._c4 - 2 * a,
                            m, p, r = {};
                        "fit-if-smaller" ===
                        d &amp;&amp; (k &gt; h || l &gt; q) &amp;&amp; (d = "fit");
                        if ("fill" === d || "fit" === d) m = h / k, p = q / l, m = "fill" == d ? m &gt; p ? m : p : "fit" == d ? m &lt; p ? m : p : 1, k = Math.ceil(k * m, 10), l = Math.ceil(l * m, 10);
                        "none" !== d &amp;&amp; (r.width = k, r.height = l, e &amp;&amp; c.find(".rsImg").css({
                            width: "100%",
                            height: "100%"
                        }));
                        g &amp;&amp; (r.marginLeft = Math.floor((h - k) / 2) + a, r.marginTop = Math.floor((q - l) / 2) + a);
                        c.css(r)
                    }
                }
            }
        }
    };
    n.rsProto = v.prototype;
    n.fn.royalSlider = function (b) {
        var f = arguments;
        return this.each(function () {
            var c = n(this);
            if ("object" !== typeof b &amp;&amp; b) {
                if ((c = c.data("royalSlider")) &amp;&amp; c[b]) return c[b].apply(c,
                    Array.prototype.slice.call(f, 1))
            } else c.data("royalSlider") || c.data("royalSlider", new v(c, b))
        })
    };
    n.fn.royalSlider.defaults = {
        slidesSpacing: 8,
        startSlideId: 0,
        loop: !1,
        loopRewind: !1,
        numImagesToPreload: 4,
        fadeinLoadedSlide: !0,
        slidesOrientation: "horizontal",
        transitionType: "move",
        transitionSpeed: 600,
        controlNavigation: "bullets",
        controlsInside: !0,
        arrowsNav: !0,
        arrowsNavAutoHide: !0,
        navigateByClick: !0,
        randomizeSlides: !1,
        sliderDrag: !0,
        sliderTouch: !0,
        keyboardNavEnabled: !1,
        fadeInAfterLoaded: !0,
        allowCSS3: !0,
        allowCSS3OnWebkit: !0,
        addActiveClass: !1,
        autoHeight: !1,
        easeOut: "easeOutSine",
        easeInOut: "easeInOutSine",
        minSlideOffset: 10,
        imageScaleMode: "fit-if-smaller",
        imageAlignCenter: !0,
        imageScalePadding: 4,
        usePreloader: !0,
        autoScaleSlider: !1,
        autoScaleSliderWidth: 800,
        autoScaleSliderHeight: 400,
        autoScaleHeight: !0,
        arrowsNavHideOnTouch: !1,
        globalCaption: !1,
        slidesDiff: 2
    };
    n.rsCSS3Easing = {
        easeOutSine: "cubic-bezier(0.390, 0.575, 0.565, 1.000)",
        easeInOutSine: "cubic-bezier(0.445, 0.050, 0.550, 0.950)"
    };
    n.extend(jQuery.easing, {
        easeInOutSine: function (b,
            f, c, a, e) {
            return -a / 2 * (Math.cos(Math.PI * f / e) - 1) + c
        },
        easeOutSine: function (b, f, c, a, e) {
            return a * Math.sin(f / e * (Math.PI / 2)) + c
        },
        easeOutCubic: function (b, f, c, a, e) {
            return a * ((f = f / e - 1) * f * f + 1) + c
        }
    })
})(jQuery, window);
// jquery.rs.bullets v1.0.1
(function (c) {
    c.extend(c.rsProto, {
        _i5: function () {
            var a = this;
            "bullets" === a.st.controlNavigation &amp;&amp; (a.ev.one("rsAfterPropsSetup", function () {
                a._j5 = !0;
                a.slider.addClass("rsWithBullets");
                for (var b = '&lt;div class="rsNav rsBullets"&gt;', e = 0; e &lt; a.numSlides; e++) b += '&lt;div class="rsNavItem rsBullet"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;';
                a._k5 = b = c(b + "&lt;/div&gt;");
                a._l5 = b.appendTo(a.slider).children();
                a._k5.on("click.rs", ".rsNavItem", function (b) {
                    a._m5 || a.goTo(c(this).index())
                })
            }), a.ev.on("rsOnAppendSlide", function (b, c, d) {
                d &gt;= a.numSlides ? a._k5.append('&lt;div class="rsNavItem rsBullet"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;') :
                    a._l5.eq(d).before('&lt;div class="rsNavItem rsBullet"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;');
                a._l5 = a._k5.children()
            }), a.ev.on("rsOnRemoveSlide", function (b, c) {
                var d = a._l5.eq(c);
                d &amp;&amp; d.length &amp;&amp; (d.remove(), a._l5 = a._k5.children())
            }), a.ev.on("rsOnUpdateNav", function () {
                var b = a.currSlideId;
                a._n5 &amp;&amp; a._n5.removeClass("rsNavSelected");
                b = a._l5.eq(b);
                b.addClass("rsNavSelected");
                a._n5 = b
            }))
        }
    });
    c.rsModules.bullets = c.rsProto._i5
})(jQuery);
// jquery.rs.thumbnails v1.0.8
(function (f) {
    f.extend(f.rsProto, {
        _h6: function () {
            var a = this;
            "thumbnails" === a.st.controlNavigation &amp;&amp; (a._i6 = {
                drag: !0,
                touch: !0,
                orientation: "horizontal",
                navigation: !0,
                arrows: !0,
                arrowLeft: null,
                arrowRight: null,
                spacing: 4,
                arrowsAutoHide: !1,
                appendSpan: !1,
                transitionSpeed: 600,
                autoCenter: !0,
                fitInViewport: !0,
                firstMargin: !0,
                paddingTop: 0,
                paddingBottom: 0
            }, a.st.thumbs = f.extend({}, a._i6, a.st.thumbs), a._j6 = !0, !1 === a.st.thumbs.firstMargin ? a.st.thumbs.firstMargin = 0 : !0 === a.st.thumbs.firstMargin &amp;&amp; (a.st.thumbs.firstMargin =
                a.st.thumbs.spacing), a.ev.on("rsBeforeParseNode", function (a, b, c) {
                    b = f(b);
                    c.thumbnail = b.find(".rsTmb").remove();
                    c.thumbnail.length ? c.thumbnail = f(document.createElement("div")).append(c.thumbnail).html() : (c.thumbnail = b.attr("data-rsTmb"), c.thumbnail || (c.thumbnail = b.find(".rsImg").attr("data-rsTmb")), c.thumbnail = c.thumbnail ? '&lt;img src="' + c.thumbnail + '"/&gt;' : "")
                }), a.ev.one("rsAfterPropsSetup", function () {
                    a._k6()
                }), a._n5 = null, a.ev.on("rsOnUpdateNav", function () {
                    var e = f(a._l5[a.currSlideId]);
                    e !== a._n5 &amp;&amp; (a._n5 &amp;&amp;
                        (a._n5.removeClass("rsNavSelected"), a._n5 = null), a._l6 &amp;&amp; a._m6(a.currSlideId), a._n5 = e.addClass("rsNavSelected"))
                }), a.ev.on("rsOnAppendSlide", function (e, b, c) {
                    e = "&lt;div" + a._n6 + ' class="rsNavItem rsThumb"&gt;' + a._o6 + b.thumbnail + "&lt;/div&gt;";
                    a._e &amp;&amp; a._s3.css(a._g + "transition-duration", "0ms");
                    c &gt;= a.numSlides ? a._s3.append(e) : a._l5.eq(c).before(e);
                    a._l5 = a._s3.children();
                    a.updateThumbsSize(!0)
                }), a.ev.on("rsOnRemoveSlide", function (e, b) {
                    var c = a._l5.eq(b);
                    c &amp;&amp; (a._e &amp;&amp; a._s3.css(a._g + "transition-duration", "0ms"), c.remove(),
                        a._l5 = a._s3.children(), a.updateThumbsSize(!0))
                }))
        },
        _k6: function () {
            var a = this,
                e = "rsThumbs",
                b = a.st.thumbs,
                c = "",
                g, d, h = b.spacing;
            a._j5 = !0;
            a._e3 = "vertical" === b.orientation ? !1 : !0;
            a._n6 = g = h ? ' style="margin-' + (a._e3 ? "right" : "bottom") + ":" + h + 'px;"' : "";
            a._i3 = 0;
            a._p6 = !1;
            a._m5 = !1;
            a._l6 = !1;
            a._q6 = b.arrows &amp;&amp; b.navigation;
            d = a._e3 ? "Hor" : "Ver";
            a.slider.addClass("rsWithThumbs rsWithThumbs" + d);
            c += '&lt;div class="rsNav rsThumbs rsThumbs' + d + '"&gt;&lt;div class="' + e + 'Container"&gt;';
            a._o6 = b.appendSpan ? '&lt;span class="thumbIco"&gt;&lt;/span&gt;' :
                "";
            for (var k = 0; k &lt; a.numSlides; k++) d = a.slides[k], c += "&lt;div" + g + ' class="rsNavItem rsThumb"&gt;' + d.thumbnail + a._o6 + "&lt;/div&gt;";
            c = f(c + "&lt;/div&gt;&lt;/div&gt;");
            g = {};
            b.paddingTop &amp;&amp; (g[a._e3 ? "paddingTop" : "paddingLeft"] = b.paddingTop);
            b.paddingBottom &amp;&amp; (g[a._e3 ? "paddingBottom" : "paddingRight"] = b.paddingBottom);
            c.css(g);
            a._s3 = f(c).find("." + e + "Container");
            a._q6 &amp;&amp; (e += "Arrow", b.arrowLeft ? a._r6 = b.arrowLeft : (a._r6 = f('&lt;div class="' + e + " " + e + 'Left"&gt;&lt;div class="' + e + 'Icn"&gt;&lt;/div&gt;&lt;/div&gt;'), c.append(a._r6)), b.arrowRight ? a._s6 = b.arrowRight :
                (a._s6 = f('&lt;div class="' + e + " " + e + 'Right"&gt;&lt;div class="' + e + 'Icn"&gt;&lt;/div&gt;&lt;/div&gt;'), c.append(a._s6)), a._r6.click(function () {
                    var b = (Math.floor(a._i3 / a._t6) + a._u6) * a._t6 + a.st.thumbs.firstMargin;
                    a._a4(b &gt; a._n3 ? a._n3 : b)
                }), a._s6.click(function () {
                    var b = (Math.floor(a._i3 / a._t6) - a._u6) * a._t6 + a.st.thumbs.firstMargin;
                    a._a4(b &lt; a._o3 ? a._o3 : b)
                }), b.arrowsAutoHide &amp;&amp; !a.hasTouch &amp;&amp; (a._r6.css("opacity", 0), a._s6.css("opacity", 0), c.one("mousemove.rsarrowshover", function () {
                    a._l6 &amp;&amp; (a._r6.css("opacity", 1), a._s6.css("opacity", 1))
                }),
                    c.hover(function () {
                        a._l6 &amp;&amp; (a._r6.css("opacity", 1), a._s6.css("opacity", 1))
                    }, function () {
                        a._l6 &amp;&amp; (a._r6.css("opacity", 0), a._s6.css("opacity", 0))
                    })));
            a._k5 = c;
            a._l5 = a._s3.children();
            a.msEnabled &amp;&amp; a.st.thumbs.navigation &amp;&amp; a._s3.css("-ms-touch-action", a._e3 ? "pan-y" : "pan-x");
            a.slider.append(c);
            a._w3 = !0;
            a._v6 = h;
            b.navigation &amp;&amp; a._e &amp;&amp; a._s3.css(a._g + "transition-property", a._g + "transform");
            a._k5.on("click.rs", ".rsNavItem", function (b) {
              //  alert('thumbs');
                /*Squeeze Page*/
               // ShowLeadModalInDetailsPage();
                a._m5 || a.goTo(f(this).index())
            });
            a.ev.off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs",
                function () {
                    a._w6 = a._e3 ? a._c4 : a._b4;
                    a.updateThumbsSize(!0)
                });
            a.ev.off("rsAutoHeightChange.thumbs").on("rsAutoHeightChange.thumbs", function (b, c) {
                a.updateThumbsSize(!0, c)
            })
        },
        updateThumbsSize: function (a, e) {
            var b = this,
                c = b._l5.first(),
                f = {},
                d = b._l5.length;
            b._t6 = (b._e3 ? c.outerWidth() : c.outerHeight()) + b._v6;
            b._y3 = d * b._t6 - b._v6;
            f[b._e3 ? "width" : "height"] = b._y3 + b._v6;
            b._z3 = b._e3 ? b._k5.width() : void 0 !== e ? e : b._k5.height();
            b._w3 &amp;&amp; (b.isFullscreen || b.st.thumbs.fitInViewport) &amp;&amp; (b._e3 ? b._c4 = b._w6 - b._k5.outerHeight() :
                b._b4 = b._w6 - b._k5.outerWidth());
            b._z3 &amp;&amp; (b._o3 = -(b._y3 - b._z3) - b.st.thumbs.firstMargin, b._n3 = b.st.thumbs.firstMargin, b._u6 = Math.floor(b._z3 / b._t6), b._y3 &lt; b._z3 ? (b.st.thumbs.autoCenter ? b._q3((b._z3 - b._y3) / 2) : b._q3(b._n3), b.st.thumbs.arrows &amp;&amp; b._r6 &amp;&amp; (b._r6.addClass("rsThumbsArrowDisabled"), b._s6.addClass("rsThumbsArrowDisabled")), b._l6 = !1, b._m5 = !1, b._k5.off(b._j1)) : b.st.thumbs.navigation &amp;&amp; !b._l6 &amp;&amp; (b._l6 = !0, !b.hasTouch &amp;&amp; b.st.thumbs.drag || b.hasTouch &amp;&amp; b.st.thumbs.touch) &amp;&amp; (b._m5 = !0, b._k5.on(b._j1, function (a) {
                b._g2(a, !0)
            })), b._s3.css(f), a &amp;&amp; e &amp;&amp; b._m6(b.currSlideId, !0))
        },
        setThumbsOrientation: function (a, e) {
            this._w3 &amp;&amp; (this.st.thumbs.orientation = a, this._k5.remove(), this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"), this._k6(), this._k5.off(this._j1), e || this.updateSliderSize(!0))
        },
        _q3: function (a) {
            this._i3 = a;
            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)
        },
        _a4: function (a, e, b, c, g) {
            var d = this;
            if (d._l6) {
                e || (e = d.st.thumbs.transitionSpeed);
                d._i3 = a;
                d._x6 &amp;&amp; clearTimeout(d._x6);
                d._p6 &amp;&amp; (d._e || d._s3.stop(), b = !0);
                var h = {};
                d._p6 = !0;
                d._e ? (h[d._g + "transition-duration"] = e + "ms", h[d._g + "transition-timing-function"] = b ? f.rsCSS3Easing[d.st.easeOut] : f.rsCSS3Easing[d.st.easeInOut], d._s3.css(h), d._q3(a)) : (h[d._e3 ? d._x1 : d._w1] = a + "px", d._s3.animate(h, e, b ? "easeOutCubic" : d.st.easeInOut));
                c &amp;&amp; (d._i3 = c);
                d._y6();
                d._x6 = setTimeout(function () {
                    d._p6 = !1;
                    g &amp;&amp; (d._a4(c, g, !0), g = null)
                }, e)
            }
        },
        _y6: function () {
            this._q6 &amp;&amp; (this._i3 === this._n3 ? this._r6.addClass("rsThumbsArrowDisabled") :
                this._r6.removeClass("rsThumbsArrowDisabled"), this._i3 === this._o3 ? this._s6.addClass("rsThumbsArrowDisabled") : this._s6.removeClass("rsThumbsArrowDisabled"))
        },
        _m6: function (a, e) {
            var b = 0,
                c, f = a * this._t6 + 2 * this._t6 - this._v6 + this._n3,
                d = Math.floor(this._i3 / this._t6);
            this._l6 &amp;&amp; (this._j6 &amp;&amp; (e = !0, this._j6 = !1), f + this._i3 &gt; this._z3 ? (a === this.numSlides - 1 &amp;&amp; (b = 1), d = -a + this._u6 - 2 + b, c = d * this._t6 + this._z3 % this._t6 + this._v6 - this._n3) : 0 !== a ? (a - 1) * this._t6 &lt;= -this._i3 + this._n3 &amp;&amp; a - 1 &lt;= this.numSlides - this._u6 &amp;&amp; (c = (-a + 1) * this._t6 +
                this._n3) : c = this._n3, c !== this._i3 &amp;&amp; (b = void 0 === c ? this._i3 : c, b &gt; this._n3 ? this._q3(this._n3) : b &lt; this._o3 ? this._q3(this._o3) : void 0 !== c &amp;&amp; (e ? this._q3(c) : this._a4(c))), this._y6())
        }
    });
    f.rsModules.thumbnails = f.rsProto._h6
})(jQuery);
// jquery.rs.tabs v1.0.2
(function (e) {
    e.extend(e.rsProto, {
        _f6: function () {
            var a = this;
            "tabs" === a.st.controlNavigation &amp;&amp; (a.ev.on("rsBeforeParseNode", function (a, d, b) {
                d = e(d);
                b.thumbnail = d.find(".rsTmb").remove();
                b.thumbnail.length ? b.thumbnail = e(document.createElement("div")).append(b.thumbnail).html() : (b.thumbnail = d.attr("data-rsTmb"), b.thumbnail || (b.thumbnail = d.find(".rsImg").attr("data-rsTmb")), b.thumbnail = b.thumbnail ? '&lt;img src="' + b.thumbnail + '"/&gt;' : "")
            }), a.ev.one("rsAfterPropsSetup", function () {
                a._g6()
            }), a.ev.on("rsOnAppendSlide",
                function (c, d, b) {
                    b &gt;= a.numSlides ? a._k5.append('&lt;div class="rsNavItem rsTab"&gt;' + d.thumbnail + "&lt;/div&gt;") : a._l5.eq(b).before('&lt;div class="rsNavItem rsTab"&gt;' + item.thumbnail + "&lt;/div&gt;");
                    a._l5 = a._k5.children()
                }), a.ev.on("rsOnRemoveSlide", function (c, d) {
                    var b = a._l5.eq(d);
                    b &amp;&amp; (b.remove(), a._l5 = a._k5.children())
                }), a.ev.on("rsOnUpdateNav", function () {
                    var c = a.currSlideId;
                    a._n5 &amp;&amp; a._n5.removeClass("rsNavSelected");
                    c = a._l5.eq(c);
                    c.addClass("rsNavSelected");
                    a._n5 = c
                }))
        },
        _g6: function () {
            var a = this,
                c;
            a._j5 = !0;
            c = '&lt;div class="rsNav rsTabs"&gt;';
            for (var d = 0; d &lt; a.numSlides; d++) c += '&lt;div class="rsNavItem rsTab"&gt;' + a.slides[d].thumbnail + "&lt;/div&gt;";
            c = e(c + "&lt;/div&gt;");
            a._k5 = c;
            a._l5 = c.children(".rsNavItem");
            a.slider.append(c);
            a._k5.click(function (b) {
            
                b = e(b.target).closest(".rsNavItem");
                
               
                b.length &amp;&amp; a.goTo(b.index())
            })
        }
    });
    e.rsModules.tabs = e.rsProto._f6
})(jQuery);
// jquery.rs.fullscreen v1.0.6
(function (c) {
    c.extend(c.rsProto, {
        _q5: function () {
            var a = this;
            a._r5 = {
                enabled: !1,
                keyboardNav: !0,
                buttonFS: !0,
                nativeFS: !1,
                doubleTap: !0
            };
            a.st.fullscreen = c.extend({}, a._r5, a.st.fullscreen);
            if (a.st.fullscreen.enabled) a.ev.one("rsBeforeSizeSet", function () {
                a._s5()
            })
        },
        _s5: function () {
            var a = this;
            a._t5 = !a.st.keyboardNavEnabled &amp;&amp; a.st.fullscreen.keyboardNav;
            if (a.st.fullscreen.nativeFS) {
                var b = {
                    supportsFullScreen: !1,
                    isFullScreen: function () {
                        return !1
                    },
                    requestFullScreen: function () { },
                    cancelFullScreen: function () { },
                    fullScreenEventName: "",
                    prefix: ""
                },
                    d = ["webkit", "moz", "o", "ms", "khtml"];
                if ("undefined" != typeof document.cancelFullScreen) b.supportsFullScreen = !0;
                else
                    for (var e = 0, f = d.length; e &lt; f; e++)
                        if (b.prefix = d[e], "undefined" != typeof document[b.prefix + "CancelFullScreen"]) {
                            b.supportsFullScreen = !0;
                            break
                        }
                b.supportsFullScreen ? (a.nativeFS = !0, b.fullScreenEventName = b.prefix + "fullscreenchange" + a.ns, b.isFullScreen = function () {
                    switch (this.prefix) {
                        case "":
                            return document.fullScreen;
                        case "webkit":
                            return document.webkitIsFullScreen;
                        default:
                            return document[this.prefix +
                                "FullScreen"]
                    }
                }, b.requestFullScreen = function (a) {
                    return "" === this.prefix ? a.requestFullScreen() : a[this.prefix + "RequestFullScreen"]()
                }, b.cancelFullScreen = function (a) {
                    return "" === this.prefix ? document.cancelFullScreen() : document[this.prefix + "CancelFullScreen"]()
                }, a._u5 = b) : a._u5 = !1
            }
            a.st.fullscreen.buttonFS &amp;&amp; (a._v5 = c('&lt;div class="rsFullscreenBtn"&gt;&lt;div class="rsFullscreenIcn"&gt;&lt;/div&gt;&lt;/div&gt;').appendTo(a._o1).on("click.rs", function () {
                // alert('full screen');
                //Squeeze Page
                //ShowLeadModalInDetailsPage();
                a.isFullscreen ? a.exitFullscreen() : a.enterFullscreen()
            }))
        },
        enterFullscreen: function (a) {
            var b =
                this;
            if (b._u5)
                if (a) b._u5.requestFullScreen(c("html")[0]);
                else {
                    b._b.on(b._u5.fullScreenEventName, function (a) {
                        b._u5.isFullScreen() ? b.enterFullscreen(!0) : b.exitFullscreen(!0)
                    });
                    b._u5.requestFullScreen(c("html")[0]);
                    return
                }
            if (!b._w5) {
                b._w5 = !0;
                b._b.on("keyup" + b.ns + "fullscreen", function (a) {
                    27 === a.keyCode &amp;&amp; b.exitFullscreen()
                });
                b._t5 &amp;&amp; b._b2();
                a = c(window);
                b._x5 = a.scrollTop();
                b._y5 = a.scrollLeft();
                b._z5 = c("html").attr("style");
                b._a6 = c("body").attr("style");
                b._b6 = b.slider.attr("style");
                c("body, html").css({
                    overflow: "hidden",
                    height: "100%",
                    width: "100%",
                    margin: "0",
                    padding: "0"
                });
                b.slider.addClass("rsFullscreen");
                var d;
                for (d = 0; d &lt; b.numSlides; d++) a = b.slides[d], a.isRendered = !1, a.bigImage &amp;&amp; (a.isBig = !0, a.isMedLoaded = a.isLoaded, a.isMedLoading = a.isLoading, a.medImage = a.image, a.medIW = a.iW, a.medIH = a.iH, a.slideId = -99, a.bigImage !== a.medImage &amp;&amp; (a.sizeType = "big"), a.isLoaded = a.isBigLoaded, a.isLoading = !1, a.image = a.bigImage, a.images[0] = a.bigImage, a.iW = a.bigIW, a.iH = a.bigIH, a.isAppended = a.contentAdded = !1, b._c6(a));
                b.isFullscreen = !0;
                b._w5 = !1;
                b.updateSliderSize();
                b.ev.trigger("rsEnterFullscreen")
            }
        },
        exitFullscreen: function (a) {
            var b = this;
            if (b._u5) {
                if (!a) {
                    b._u5.cancelFullScreen(c("html")[0]);
                    return
                }
                b._b.off(b._u5.fullScreenEventName)
            }
            if (!b._w5) {
                b._w5 = !0;
                b._b.off("keyup" + b.ns + "fullscreen");
                b._t5 &amp;&amp; b._b.off("keydown" + b.ns);
                c("html").attr("style", b._z5 || "");
                c("body").attr("style", b._a6 || "");
                var d;
                for (d = 0; d &lt; b.numSlides; d++) a = b.slides[d], a.isRendered = !1, a.bigImage &amp;&amp; (a.isBig = !1, a.slideId = -99, a.isBigLoaded = a.isLoaded, a.isBigLoading = a.isLoading, a.bigImage =
                    a.image, a.bigIW = a.iW, a.bigIH = a.iH, a.isLoaded = a.isMedLoaded, a.isLoading = !1, a.image = a.medImage, a.images[0] = a.medImage, a.iW = a.medIW, a.iH = a.medIH, a.isAppended = a.contentAdded = !1, b._c6(a, !0), a.bigImage !== a.medImage &amp;&amp; (a.sizeType = "med"));
                b.isFullscreen = !1;
                a = c(window);
                a.scrollTop(b._x5);
                a.scrollLeft(b._y5);
                b._w5 = !1;
                b.slider.removeClass("rsFullscreen");
                b.updateSliderSize();
                setTimeout(function () {
                    b.updateSliderSize()
                }, 1);
                b.ev.trigger("rsExitFullscreen")
            }
        },
        _c6: function (a, b) {
            var d = a.isLoaded || a.isLoading ? '&lt;img class="rsImg rsMainSlideImage" src="' +
                a.image + '"/&gt;' : '&lt;a class="rsImg rsMainSlideImage" href="' + a.image + '"&gt;&lt;/a&gt;';
            a.content.hasClass("rsImg") ? a.content = c(d) : a.content.find(".rsImg").eq(0).replaceWith(d);
            a.isLoaded || a.isLoading || !a.holder || a.holder.html(a.content)
        }
    });
    c.rsModules.fullscreen = c.rsProto._q5
})(jQuery);
// jquery.rs.autoplay v1.0.5
(function (b) {
    b.extend(b.rsProto, {
        _x4: function () {
            var a = this,
                d;
            a._y4 = {
                enabled: !1,
                stopAtAction: !0,
                pauseOnHover: !0,
                delay: 2E3
            };
            !a.st.autoPlay &amp;&amp; a.st.autoplay &amp;&amp; (a.st.autoPlay = a.st.autoplay);
            a.st.autoPlay = b.extend({}, a._y4, a.st.autoPlay);
            a.st.autoPlay.enabled &amp;&amp; (a.ev.on("rsBeforeParseNode", function (a, c, f) {
                c = b(c);
                if (d = c.attr("data-rsDelay")) f.customDelay = parseInt(d, 10)
            }), a.ev.one("rsAfterInit", function () {
                a._z4()
            }), a.ev.on("rsBeforeDestroy", function () {
                a.stopAutoPlay();
                a.slider.off("mouseenter mouseleave");
                b(window).off("blur" +
                    a.ns + " focus" + a.ns)
            }))
        },
        _z4: function () {
            var a = this;
            a.startAutoPlay();
            a.ev.on("rsAfterContentSet", function (b, e) {
                a._l2 || a._r2 || !a._a5 || e !== a.currSlide || a._b5()
            });
            a.ev.on("rsDragRelease", function () {
                a._a5 &amp;&amp; a._c5 &amp;&amp; (a._c5 = !1, a._b5())
            });
            a.ev.on("rsAfterSlideChange", function () {
                a._a5 &amp;&amp; a._c5 &amp;&amp; (a._c5 = !1, a.currSlide.isLoaded &amp;&amp; a._b5())
            });
            a.ev.on("rsDragStart", function () {
                a._a5 &amp;&amp; (a.st.autoPlay.stopAtAction ? a.stopAutoPlay() : (a._c5 = !0, a._d5()))
            });
            a.ev.on("rsBeforeMove", function (b, e, c) {
                a._a5 &amp;&amp; (c &amp;&amp; a.st.autoPlay.stopAtAction ?
                    a.stopAutoPlay() : (a._c5 = !0, a._d5()))
            });
            a._e5 = !1;
            a.ev.on("rsVideoStop", function () {
                a._a5 &amp;&amp; (a._e5 = !1, a._b5())
            });
            a.ev.on("rsVideoPlay", function () {
                a._a5 &amp;&amp; (a._c5 = !1, a._d5(), a._e5 = !0)
            });
            b(window).on("blur" + a.ns, function () {
                a._a5 &amp;&amp; (a._c5 = !0, a._d5())
            }).on("focus" + a.ns, function () {
                a._a5 &amp;&amp; a._c5 &amp;&amp; (a._c5 = !1, a._b5())
            });
            a.st.autoPlay.pauseOnHover &amp;&amp; (a._f5 = !1, a.slider.hover(function () {
                a._a5 &amp;&amp; (a._c5 = !1, a._d5(), a._f5 = !0)
            }, function () {
                a._a5 &amp;&amp; (a._f5 = !1, a._b5())
            }))
        },
        toggleAutoPlay: function () {
            this._a5 ? this.stopAutoPlay() :
                this.startAutoPlay()
        },
        startAutoPlay: function () {
            this._a5 = !0;
            this.currSlide.isLoaded &amp;&amp; this._b5()
        },
        stopAutoPlay: function () {
            this._e5 = this._f5 = this._c5 = this._a5 = !1;
            this._d5()
        },
        _b5: function () {
            var a = this;
            a._f5 || a._e5 || (a._g5 = !0, a._h5 &amp;&amp; clearTimeout(a._h5), a._h5 = setTimeout(function () {
                var b;
                a._z || a.st.loopRewind || (b = !0, a.st.loopRewind = !0);
                a.next(!0);
                b &amp;&amp; (a.st.loopRewind = !1)
            }, a.currSlide.customDelay ? a.currSlide.customDelay : a.st.autoPlay.delay))
        },
        _d5: function () {
            this._f5 || this._e5 || (this._g5 = !1, this._h5 &amp;&amp; (clearTimeout(this._h5),
                this._h5 = null))
        }
    });
    b.rsModules.autoplay = b.rsProto._x4
})(jQuery);
// jquery.rs.video v1.1.3
(function (f) {
    f.extend(f.rsProto, {
        _z6: function () {
            var a = this;
            a._a7 = {
                autoHideArrows: !0,
                autoHideControlNav: !1,
                autoHideBlocks: !1,
                autoHideCaption: !1,
                disableCSS3inFF: !0,
                youTubeCode: '&lt;iframe src="https://www.youtube.com/embed/%id%?rel=1&amp;showinfo=0&amp;autoplay=1&amp;wmode=transparent" frameborder="no"&gt;&lt;/iframe&gt;',
                vimeoCode: '&lt;iframe src="https://player.vimeo.com/video/%id%?byline=0&amp;portrait=0&amp;autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen&gt;&lt;/iframe&gt;'
            };
            a.st.video = f.extend({}, a._a7,
                a.st.video);
            a.ev.on("rsBeforeSizeSet", function () {
                a._b7 &amp;&amp; setTimeout(function () {
                    var b = a._r1,
                        b = b.hasClass("rsVideoContainer") ? b : b.find(".rsVideoContainer");
                    a._c7 &amp;&amp; a._c7.css({
                        width: b.width(),
                        height: b.height()
                    })
                }, 32)
            });
            var d = a._a.mozilla;
            a.ev.on("rsAfterParseNode", function (b, c, e) {
                b = f(c);
                if (e.videoURL) {
                    a.st.video.disableCSS3inFF &amp;&amp; d &amp;&amp; (a._e = a._f = !1);
                    c = f('&lt;div class="rsVideoContainer"&gt;&lt;/div&gt;');
                    var g = f('&lt;div class="rsBtnCenterer"&gt;&lt;div class="rsPlayBtn"&gt;&lt;div class="rsPlayBtnIcon"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;');
                    b.hasClass("rsImg") ?
                        e.content = c.append(b).append(g) : e.content.find(".rsImg").wrap(c).after(g)
                }
            });
            a.ev.on("rsAfterSlideChange", function () {
                a.stopVideo()
            })
        },
        toggleVideo: function () {
            return this._b7 ? this.stopVideo() : this.playVideo()
        },
        playVideo: function () {
            var a = this;
            if (!a._b7) {
                var d = a.currSlide;
                if (!d.videoURL) return !1;
                a._d7 = d;
                var b = a._e7 = d.content,
                    d = d.videoURL,
                    c, e;
                d.match(/youtu\.be/i) || d.match(/youtube\.com/i) ? (e = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&amp;\?]*).*/, (e = d.match(e)) &amp;&amp; 11 == e[7].length &amp;&amp;
                    (c = e[7]), void 0 !== c &amp;&amp; (a._c7 = a.st.video.youTubeCode.replace("%id%", c))) : d.match(/vimeo\.com/i) &amp;&amp; (e = /(www\.)?vimeo.com\/(\d+)($|\/)/, (e = d.match(e)) &amp;&amp; (c = e[2]), void 0 !== c &amp;&amp; (a._c7 = a.st.video.vimeoCode.replace("%id%", c)));
                a.videoObj = f(a._c7);
                a.ev.trigger("rsOnCreateVideoElement", [d]);
                a.videoObj.length &amp;&amp; (a._c7 = f('&lt;div class="rsVideoFrameHolder"&gt;&lt;div class="rsPreloader"&gt;&lt;/div&gt;&lt;div class="rsCloseVideoBtn"&gt;&lt;div class="rsCloseVideoIcn"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;'), a._c7.find(".rsPreloader").after(a.videoObj), b = b.hasClass("rsVideoContainer") ?
                    b : b.find(".rsVideoContainer"), a._c7.css({
                        width: b.width(),
                        height: b.height()
                    }).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv", function (b) {
                        a.stopVideo();
                        b.preventDefault();
                        b.stopPropagation();
                        return !1
                    }), b.append(a._c7), a.isIPAD &amp;&amp; b.addClass("rsIOSVideo"), a._f7(!1), setTimeout(function () {
                        a._c7.addClass("rsVideoActive")
                    }, 10), a.ev.trigger("rsVideoPlay"), a._b7 = !0);
                return !0
            }
            return !1
        },
        stopVideo: function () {
            var a = this;
            return a._b7 ? (a.isIPAD &amp;&amp; a.slider.find(".rsCloseVideoBtn").remove(), a._f7(!0), setTimeout(function () {
                a.ev.trigger("rsOnDestroyVideoElement", [a.videoObj]);
                var d = a._c7.find("iframe");
                if (d.length) try {
                    d.attr("src", "")
                } catch (b) { }
                a._c7.remove();
                a._c7 = null
            }, 16), a.ev.trigger("rsVideoStop"), a._b7 = !1, !0) : !1
        },
        _f7: function (a, d) {
            var b = [],
                c = this.st.video;
            c.autoHideArrows &amp;&amp; (this._c2 &amp;&amp; (b.push(this._c2, this._d2), this._e2 = !a), this._v5 &amp;&amp; b.push(this._v5));
            c.autoHideControlNav &amp;&amp; this._k5 &amp;&amp; b.push(this._k5);
            c.autoHideBlocks &amp;&amp; this._d7.animBlocks &amp;&amp; b.push(this._d7.animBlocks);
            c.autoHideCaption &amp;&amp; this.globalCaption &amp;&amp; b.push(this.globalCaption);
            this.slider[a ? "removeClass" :
                "addClass"]("rsVideoPlaying");
            if (b.length)
                for (c = 0; c &lt; b.length; c++) a ? b[c].removeClass("rsHidden") : b[c].addClass("rsHidden")
        }
    });
    f.rsModules.video = f.rsProto._z6
})(jQuery);
// jquery.rs.animated-blocks v1.0.7
(function (l) {
    l.extend(l.rsProto, {
        _p4: function () {
            function m() {
                var g = a.currSlide;
                if (a.currSlide &amp;&amp; a.currSlide.isLoaded &amp;&amp; a._t4 !== g) {
                    if (0 &lt; a._s4.length) {
                        for (b = 0; b &lt; a._s4.length; b++) clearTimeout(a._s4[b]);
                        a._s4 = []
                    }
                    if (0 &lt; a._r4.length) {
                        var f;
                        for (b = 0; b &lt; a._r4.length; b++)
                            if (f = a._r4[b]) a._e ? (f.block.css(a._g + a._u1, "0s"), f.block.css(f.css)) : f.block.stop(!0).css(f.css), a._t4 = null, g.animBlocksDisplayed = !1;
                        a._r4 = []
                    }
                    g.animBlocks &amp;&amp; (g.animBlocksDisplayed = !0, a._t4 = g, a._u4(g.animBlocks))
                }
            }
            var a = this,
                b;
            a._q4 = {
                fadeEffect: !0,
                moveEffect: "top",
                moveOffset: 20,
                speed: 400,
                easing: "easeOutSine",
                delay: 200
            };
            a.st.block = l.extend({}, a._q4, a.st.block);
            a._r4 = [];
            a._s4 = [];
            a.ev.on("rsAfterInit", function () {
                m()
            });
            a.ev.on("rsBeforeParseNode", function (a, b, d) {
                b = l(b);
                d.animBlocks = b.find(".rsABlock").css("display", "none");
                d.animBlocks.length || (b.hasClass("rsABlock") ? d.animBlocks = b.css("display", "none") : d.animBlocks = !1)
            });
            a.ev.on("rsAfterContentSet", function (b, f) {
                f.id === a.slides[a.currSlideId].id &amp;&amp; setTimeout(function () {
                    m()
                }, a.st.fadeinLoadedSlide ?
                    300 : 0)
            });
            a.ev.on("rsAfterSlideChange", function () {
                m()
            })
        },
        _v4: function (l, a) {
            setTimeout(function () {
                l.css(a)
            }, 6)
        },
        _u4: function (m) {
            var a = this,
                b, g, f, d, h, e, n;
            a._s4 = [];
            m.each(function (m) {
                b = l(this);
                g = {};
                f = {};
                d = null;
                var c = b.attr("data-move-offset"),
                    c = c ? parseInt(c, 10) : a.st.block.moveOffset;
                if (0 &lt; c &amp;&amp; ((e = b.data("move-effect")) ? (e = e.toLowerCase(), "none" === e ? e = !1 : "left" !== e &amp;&amp; "top" !== e &amp;&amp; "bottom" !== e &amp;&amp; "right" !== e &amp;&amp; (e = a.st.block.moveEffect, "none" === e &amp;&amp; (e = !1))) : e = a.st.block.moveEffect, e &amp;&amp; "none" !== e)) {
                    var p;
                    p = "right" ===
                        e || "left" === e ? !0 : !1;
                    var k;
                    n = !1;
                    a._e ? (k = 0, h = a._x1) : (p ? isNaN(parseInt(b.css("right"), 10)) ? h = "left" : (h = "right", n = !0) : isNaN(parseInt(b.css("bottom"), 10)) ? h = "top" : (h = "bottom", n = !0), h = "margin-" + h, n &amp;&amp; (c = -c), a._e ? k = parseInt(b.css(h), 10) : (k = b.data("rs-start-move-prop"), void 0 === k &amp;&amp; (k = parseInt(b.css(h), 10), isNaN(k) &amp;&amp; (k = 0), b.data("rs-start-move-prop", k))));
                    f[h] = a._m4("top" === e || "left" === e ? k - c : k + c, p);
                    g[h] = a._m4(k, p)
                }
                c = b.attr("data-fade-effect");
                if (!c) c = a.st.block.fadeEffect;
                else if ("none" === c.toLowerCase() ||
                    "false" === c.toLowerCase()) c = !1;
                c &amp;&amp; (f.opacity = 0, g.opacity = 1);
                if (c || e) d = {}, d.hasFade = Boolean(c), Boolean(e) &amp;&amp; (d.moveProp = h, d.hasMove = !0), d.speed = b.data("speed"), isNaN(d.speed) &amp;&amp; (d.speed = a.st.block.speed), d.easing = b.data("easing"), d.easing || (d.easing = a.st.block.easing), d.css3Easing = l.rsCSS3Easing[d.easing], d.delay = b.data("delay"), isNaN(d.delay) &amp;&amp; (d.delay = a.st.block.delay * m);
                c = {};
                a._e &amp;&amp; (c[a._g + a._u1] = "0ms");
                c.moveProp = g.moveProp;
                c.opacity = g.opacity;
                c.display = "none";
                a._r4.push({
                    block: b,
                    css: c
                });
                a._v4(b,
                    f);
                a._s4.push(setTimeout(function (b, d, c, e) {
                    return function () {
                        b.css("display", "block");
                        if (c) {
                            var g = {};
                            if (a._e) {
                                var f = "";
                                c.hasMove &amp;&amp; (f += c.moveProp);
                                c.hasFade &amp;&amp; (c.hasMove &amp;&amp; (f += ", "), f += "opacity");
                                g[a._g + a._t1] = f;
                                g[a._g + a._u1] = c.speed + "ms";
                                g[a._g + a._v1] = c.css3Easing;
                                b.css(g);
                                setTimeout(function () {
                                    b.css(d)
                                }, 24)
                            } else setTimeout(function () {
                                b.animate(d, c.speed, c.easing)
                            }, 16)
                        }
                        delete a._s4[e]
                    }
                }(b, g, d, m), 6 &gt;= d.delay ? 12 : d.delay))
            })
        }
    });
    l.rsModules.animatedBlocks = l.rsProto._p4
})(jQuery);
// jquery.rs.auto-height v1.0.3
(function (b) {
    b.extend(b.rsProto, {
        _w4: function () {
            var a = this;
            if (a.st.autoHeight) {
                var b, c, e, f = !0,
                    d = function (d) {
                        e = a.slides[a.currSlideId];
                        (b = e.holder) &amp;&amp; (c = b.height()) &amp;&amp; void 0 !== c &amp;&amp; c &gt; (a.st.minAutoHeight || 30) &amp;&amp; (a._c4 = c, a._e || !d ? a._e1.css("height", c) : a._e1.stop(!0, !0).animate({
                            height: c
                        }, a.st.transitionSpeed), a.ev.trigger("rsAutoHeightChange", c), f &amp;&amp; (a._e &amp;&amp; setTimeout(function () {
                            a._e1.css(a._g + "transition", "height " + a.st.transitionSpeed + "ms ease-in-out")
                        }, 16), f = !1))
                    };
                a.ev.on("rsMaybeSizeReady.rsAutoHeight",
                    function (a, b) {
                        e === b &amp;&amp; d()
                    });
                a.ev.on("rsAfterContentSet.rsAutoHeight", function (a, b) {
                    e === b &amp;&amp; d()
                });
                a.slider.addClass("rsAutoHeight");
                a.ev.one("rsAfterInit", function () {
                    setTimeout(function () {
                        d(!1);
                        setTimeout(function () {
                            a.slider.append('&lt;div style="clear:both; float: none;"&gt;&lt;/div&gt;')
                        }, 16)
                    }, 16)
                });
                a.ev.on("rsBeforeAnimStart", function () {
                    d(!0)
                });
                a.ev.on("rsBeforeSizeSet", function () {
                    setTimeout(function () {
                        d(!1)
                    }, 16)
                })
            }
        }
    });
    b.rsModules.autoHeight = b.rsProto._w4
})(jQuery);
// jquery.rs.global-caption v1.0.1
(function (b) {
    b.extend(b.rsProto, {
        _d6: function () {
            var a = this;
            a.st.globalCaption &amp;&amp; (a.ev.on("rsAfterInit", function () {
                a.globalCaption = b('&lt;div class="rsGCaption"&gt;&lt;/div&gt;').appendTo(a.st.globalCaptionInside ? a._e1 : a.slider);
                a.globalCaption.html(a.currSlide.caption || "")
            }), a.ev.on("rsBeforeAnimStart", function () {
                a.globalCaption.html(a.currSlide.caption || "")
            }))
        }
    });
    b.rsModules.globalCaption = b.rsProto._d6
})(jQuery);
// jquery.rs.active-class v1.0.1
(function (c) {
    c.rsProto._o4 = function () {
        var b, a = this;
        if (a.st.addActiveClass) a.ev.on("rsOnUpdateNav", function () {
            b &amp;&amp; clearTimeout(b);
            b = setTimeout(function () {
                a._g4 &amp;&amp; a._g4.removeClass("rsActiveSlide");
                a._r1 &amp;&amp; a._r1.addClass("rsActiveSlide");
                b = null
            }, 50)
        })
    };
    c.rsModules.activeClass = c.rsProto._o4
})(jQuery);
// jquery.rs.deeplinking v1.0.6 + jQuery hashchange plugin v1.3 Copyright (c) 2010 Ben Alman
(function (b) {
    b.extend(b.rsProto, {
        _o5: function () {
            var a = this,
                h, d, f;
            a._p5 = {
                enabled: !1,
                change: !1,
                prefix: ""
            };
            a.st.deeplinking = b.extend({}, a._p5, a.st.deeplinking);
            if (a.st.deeplinking.enabled) {
                var g = a.st.deeplinking.change,
                    e = a.st.deeplinking.prefix,
                    c = "#" + e,
                    k = function () {
                        var a = window.location.hash;
                        return a &amp;&amp; 0 &lt; a.indexOf(e) &amp;&amp; (a = parseInt(a.substring(c.length), 10), 0 &lt;= a) ? a - 1 : -1
                    },
                    p = k(); -1 !== p &amp;&amp; (a.st.startSlideId = p);
                g &amp;&amp; (b(window).on("hashchange" + a.ns, function (b) {
                    h || (b = k(), 0 &gt; b || (b &gt; a.numSlides - 1 &amp;&amp; (b = a.numSlides - 1),
                        a.goTo(b)))
                }), a.ev.on("rsBeforeAnimStart", function () {
                    d &amp;&amp; clearTimeout(d);
                    f &amp;&amp; clearTimeout(f)
                }), a.ev.on("rsAfterSlideChange", function () {
                    d &amp;&amp; clearTimeout(d);
                    f &amp;&amp; clearTimeout(f);
                    f = setTimeout(function () {
                        h = !0;
                        window.location.replace(("" + window.location).split("#")[0] + c + (a.currSlideId + 1));
                        d = setTimeout(function () {
                            h = !1;
                            d = null
                        }, 60)
                    }, 400)
                }));
                a.ev.on("rsBeforeDestroy", function () {
                    d = f = null;
                    g &amp;&amp; b(window).off("hashchange" + a.ns)
                })
            }
        }
    });
    b.rsModules.deeplinking = b.rsProto._o5
})(jQuery);
(function (b, a, h) {
    function d(a) {
        a = a || location.href;
        return "#" + a.replace(/^[^#]*#?(.*)$/, "$1")
    }
    "$:nomunge";
    var f = document,
        g, e = b.event.special,
        c = f.documentMode,
        k = "onhashchange" in a &amp;&amp; (c === h || 7 &lt; c);
    b.fn.hashchange = function (a) {
        return a ? this.bind("hashchange", a) : this.trigger("hashchange")
    };
    b.fn.hashchange.delay = 50;
    e.hashchange = b.extend(e.hashchange, {
        setup: function () {
            if (k) return !1;
            b(g.start)
        },
        teardown: function () {
            if (k) return !1;
            b(g.stop)
        }
    });
    g = function () {
        function g() {
            var f = d(),
                e = q(l);
            f !== l ? (m(l = f, e), b(a).trigger("hashchange")) :
                e !== l &amp;&amp; (location.href = location.href.replace(/#.*/, "") + e);
            c = setTimeout(g, b.fn.hashchange.delay)
        }
        var e = {},
            c, l = d(),
            n = function (a) {
                return a
            },
            m = n,
            q = n;
        e.start = function () {
            c || g()
        };
        e.stop = function () {
            c &amp;&amp; clearTimeout(c);
            c = h
        };
        a.attachEvent &amp;&amp; !a.addEventListener &amp;&amp; !k &amp;&amp; function () {
            var a, c;
            e.start = function () {
                a || (c = (c = b.fn.hashchange.src) &amp;&amp; c + d(), a = b('&lt;iframe tabindex="-1" title="empty"/&gt;').hide().one("load", function () {
                    c || m(d());
                    g()
                }).attr("src", c || "javascript:0").insertAfter("body")[0].contentWindow, f.onpropertychange =
                    function () {
                        try {
                            "title" === event.propertyName &amp;&amp; (a.document.title = f.title)
                        } catch (b) { }
                    })
            };
            e.stop = n;
            q = function () {
                return d(a.location.href)
            };
            m = function (c, e) {
                var d = a.document,
                    g = b.fn.hashchange.domain;
                c !== e &amp;&amp; (d.title = f.title, d.open(), g &amp;&amp; d.write('&lt;script&gt;document.domain="' + g + '"\x3c/script&gt;'), d.close(), a.location.hash = c)
            }
        }();
        return e
    }()
})(jQuery, this);
// jquery.rs.visible-nearby v1.0.2
(function (d) {
    d.rsProto._g7 = function () {
        var a = this;
        a.st.visibleNearby &amp;&amp; a.st.visibleNearby.enabled &amp;&amp; (a._h7 = {
            enabled: !0,
            centerArea: .6,
            center: !0,
            breakpoint: 0,
            breakpointCenterArea: .8,
            hiddenOverflow: !0,
            navigateByCenterClick: !1
        }, a.st.visibleNearby = d.extend({}, a._h7, a.st.visibleNearby), a.ev.one("rsAfterPropsSetup", function () {
            a._i7 = a._e1.css("overflow", "visible").wrap('&lt;div class="rsVisibleNearbyWrap"&gt;&lt;/div&gt;').parent();
            a.st.visibleNearby.hiddenOverflow || a._i7.css("overflow", "visible");
            a._o1 = a.st.controlsInside ?
                a._i7 : a.slider
        }), a.ev.on("rsAfterSizePropSet", function () {
            var b, c = a.st.visibleNearby;
            b = c.breakpoint &amp;&amp; a.width &lt; c.breakpoint ? c.breakpointCenterArea : c.centerArea;
            a._h ? (a._b4 *= b, a._i7.css({
                height: a._c4,
                width: a._b4 / b
            }), a._d = a._b4 * (1 - b) / 2 / b) : (a._c4 *= b, a._i7.css({
                height: a._c4 / b,
                width: a._b4
            }), a._d = a._c4 * (1 - b) / 2 / b);
            c.navigateByCenterClick || (a._q = a._h ? a._b4 : a._c4);
            c.center &amp;&amp; a._e1.css("margin-" + (a._h ? "left" : "top"), a._d)
        }))
    };
    d.rsModules.visibleNearby = d.rsProto._g7
})(jQuery);</pre></body></html>