[]
“).append(p.parseHTML(e)).find(r) : e) }).complete(n && function (e, t) { a.each(n, i || [e.responseText, t, e]) }), this }, p.each([“ajaxStart”, “ajaxStop”, “ajaxComplete”, “ajaxError”, “ajaxSuccess”, “ajaxSend”], function (e, t) { p.fn[t] = function (e) { return this.on(t, e) } }), p.expr.filters.animated = function (e) { return p.grep(p.timers, function (t) { return e === t.elem }).length }; var Ut = e.document.documentElement; function Gt(e) { return p.isWindow(e) ? e : 9 === e.nodeType && (e.defaultView || e.parentWindow) } p.offset = { setOffset: function (e, t, n) { var r, i, o, a, s, l, u = p.css(e, “position”), c = p(e), d = {}; “static” === u && (e.style.position = “relative”), s = c.offset(), o = p.css(e, “top”), l = p.css(e, “left”), (“absolute” === u || “fixed” === u) && p.inArray(“auto”, [o, l]) > -1 ? (a = (r = c.position()).top, i = r.left) : (a = parseFloat(o) || 0, i = parseFloat(l) || 0), p.isFunction(t) && (t = t.call(e, n, s)), null != t.top && (d.top = t.top – s.top + a), null != t.left && (d.left = t.left – s.left + i), “using” in t ? t.using.call(e, d) : c.css(d) } }, p.fn.extend({ offset: function (e) { if (arguments.length) return void 0 === e ? this : this.each(function (t) { p.offset.setOffset(this, e, t) }); var t, n, r = {top: 0, left: 0}, i = this[0], o = i && i.ownerDocument; return o ? (t = o.documentElement, p.contains(t, i) ? (typeof i.getBoundingClientRect !== O && (r = i.getBoundingClientRect()), n = Gt(o), { top: r.top + (n.pageYOffset || t.scrollTop) – (t.clientTop || 0), left: r.left + (n.pageXOffset || t.scrollLeft) – (t.clientLeft || 0) }) : r) : void 0 }, position: function () { if (this[0]) { var e, t, n = {top: 0, left: 0}, r = this[0]; return “fixed” === p.css(r, “position”) ? t = r.getBoundingClientRect() : (e = this.offsetParent(), t = this.offset(), p.nodeName(e[0], “html”) || (n = e.offset()), n.top += p.css(e[0], “borderTopWidth”, !0), n.left += p.css(e[0], “borderLeftWidth”, !0)), { top: t.top – n.top – p.css(r, “marginTop”, !0), left: t.left – n.left – p.css(r, “marginLeft”, !0) } } }, offsetParent: function () { return this.map(function () { for (var e = this.offsetParent || Ut; e && !p.nodeName(e, “html”) && “static” === p.css(e, “position”);) e = e.offsetParent; return e || Ut }) } }), p.each({scrollLeft: “pageXOffset”, scrollTop: “pageYOffset”}, function (e, t) { var n = /Y/.test(t); p.fn[e] = function (r) { return X(this, function (e, r, i) { var o = Gt(e); return void 0 === i ? o ? t in o ? o[t] : o.document.documentElement[r] : e[r] : void (o ? o.scrollTo(n ? p(o).scrollLeft() : i, n ? i : p(o).scrollTop()) : e[r] = i) }, e, r, arguments.length, null) } }), p.each([“top”, “left”], function (e, t) { p.cssHooks[t] = _e(c.pixelPosition, function (e, n) { return n ? (n = Ae(e, t), He.test(n) ? p(e).position()[t] + “px” : n) : void 0 }) }), p.each({Height: “height”, Width: “width”}, function (e, t) { p.each({padding: “inner” + e, content: t, “”: “outer” + e}, function (n, r) { p.fn[r] = function (r, i) { var o = arguments.length && (n || “boolean” != typeof r), a = n || (!0 === r || !0 === i ? “margin” : “border”); return X(this, function (t, n, r) { var i; return p.isWindow(t) ? t.document.documentElement[“client” + e] : 9 === t.nodeType ? (i = t.documentElement, Math.max(t.body[“scroll” + e], i[“scroll” + e], t.body[“offset” + e], i[“offset” + e], i[“client” + e])) : void 0 === r ? p.css(t, n, a) : p.style(t, n, r, a) }, t, o ? r : void 0, o, null) } }) }), p.fn.size = function () { return this.length }, p.fn.andSelf = p.fn.addBack, “function” == typeof define && define.amd && define(“jquery”, [], function () { return p }); var Vt = e.jQuery, Jt = e.$; return p.noConflict = function (t) { return e.$ === p && (e.$ = Jt), t && e.jQuery === p && (e.jQuery = Vt), p }, typeof t === O && (e.jQuery = e.$ = p), p }), function (e) { e.fn.marquee = function (t) { return this.each(function () { var n, r, i, o, a, s = e.extend({}, e.fn.marquee.defaults, t), l = e(this), u = “animation-play-state”, c = !1; void 0 !== l.data().delaybeforestart && (l.data().delayBeforeStart = l.data().delaybeforestart, delete l.data().delaybeforestart), void 0 !== l.data().pauseonhover && (l.data().pauseOnHover = l.data().pauseonhover, delete l.data().pauseonhover), void 0 !== l.data().pauseoncycle && (l.data().pauseOnCycle = l.data().pauseoncycle, delete l.data().pauseoncycle), void 0 !== l.data().allowcss3support && (l.data().allowCss3Support = l.data().allowcss3support, delete l.data().allowcss3support), (s = e.extend({}, s, l.data())).duration = s.speed || s.duration, o = “up” == s.direction || “down” == s.direction, s.gap = s.duplicated ? s.gap : 0, l.wrapInner(”); var d = l.find(“.js-marquee”).css({“margin-right”: s.gap, float: “left”}); if (s.duplicated && d.clone().appendTo(l), l.wrapInner(”), n = l.find(“.js-marquee-wrapper”), o) { var p = l.height(); n.removeAttr(“style”), l.height(p), l.find(“.js-marquee”).css({ float: “none”, “margin-bottom”: s.gap, “margin-right”: 0 }), s.duplicated && l.find(“.js-marquee:last”).css({“margin-bottom”: 0}); var f = l.find(“.js-marquee:first”).height() + s.gap; s.duration = (parseInt(f, 10) + parseInt(p, 10)) / parseInt(p, 10) * s.duration } else a = l.find(“.js-marquee:first”).width() + s.gap, r = l.width(), s.duration = (parseInt(a, 10) + parseInt(r, 10)) / parseInt(r, 10) * s.duration; function h() { if (c && s.allowCss3Support) return n.css(u, “paused”); e.fn.pause && (n.pause(), l.trigger(“paused”)) } function m() { if (c && s.allowCss3Support) return n.css(u, “running”); e.fn.resume && (n.resume(), l.trigger(“resumed”)) } if (s.duplicated && (s.duration = s.duration / 2), s.allowCss3Support) { var v = document.createElement(“div”), g = “marqueeAnimation-” + Math.floor(1e7 * Math.random()), y = “Webkit Moz O ms Khtml”.split(” “), x = “”, b = “”, w = e(“style”), T = “”; if (v.style.animationCssStr && (c = !0), !1 === c) for (var C = 0; C < y.length; C++) if (void 0 !== v.style[y[C] + "AnimationName"]) { var E = "-" + y[C].toLowerCase() + "-"; x = E + "animation", u = E + u, T = "@" + E + "keyframes " + g + " ", c = !0; break } c && (b = g + " " + s.duration / 1e3 + "s " + s.delayBeforeStart / 1e3 + "s infinite " + s.css3easing) } var N = function () { if (o ? s.duplicated ? (n.css("margin-top", "up" == s.direction ? 0 : "-" + f + "px"), i = {"margin-top": "up" == s.direction ? "-" + f + "px" : 0}) : (n.css("margin-top", "up" == s.direction ? p + "px" : "-" + f + "px"), i = {"margin-top": "up" == s.direction ? "-" + n.height() + "px" : p + "px"}) : s.duplicated ? (n.css("margin-left", "left" == s.direction ? 0 : "-" + a + "px"), i = {"margin-left": "left" == s.direction ? "-" + a + "px" : 0}) : (n.css("margin-left", "left" == s.direction ? r + "px" : "-" + a + "px"), i = {"margin-left": "left" == s.direction ? "-" + a + "px" : r + "px"}), l.trigger("beforeStarting"), c) { n.css(x, b); var t = T + " { 100% " + function (e) { var t = []; for (var n in e) e.hasOwnProperty(n) && t.push(n + ":" + e[n]); return t.push(), "{" + t.join(",") + "}" }(i) + "}"; 0 != w.length ? w.last().append(t) : e("head").append("") } else n.animate(i, s.duration, s.easing, function () { l.trigger("finished"), s.pauseOnCycle ? setTimeout(N, s.delayBeforeStart) : N() }) }; l.bind("pause", h), l.bind("resume", m), s.pauseOnHover && l.hover(h, m), c && s.allowCss3Support ? N() : setTimeout(N, s.delayBeforeStart) }) }, e.fn.marquee.defaults = { allowCss3Support: !0, css3easing: "linear", easing: "linear", delayBeforeStart: 0, direction: "left", duplicated: !1, duration: 5e3, gap: 20, pauseOnCycle: !1, pauseOnHover: !1 } }(jQuery), function (e, t, n, r) { function i(t, n) { this.element = t, this.$el = e(t), this.options = e.extend({}, a, n), this._defaults = a, this._name = o, this.moveInterval, this.moving = this.paused = this.state = 0, (this.$el.is("ul") || this.$el.is("ol")) && this.init() } var o = "newsTicker", a = { row_height: 20, max_rows: 3, speed: 400, duration: 2500, direction: "up", autostart: 1, pauseOnHover: 1, nextButton: null, prevButton: null, startButton: null, stopButton: null, hasMoved: function () { }, movingUp: function () { }, movingDown: function () { }, start: function () { }, stop: function () { }, pause: function () { }, unpause: function () { } }; i.prototype = { init: function () { this.$el.height(this.options.row_height * this.options.max_rows).css({overflow: "hidden"}), this.checkSpeed(), this.options.nextButton && void 0 !== this.options.nextButton[0] && this.options.nextButton.click(function (e) { this.moveNext(), this.resetInterval() }.bind(this)), this.options.prevButton && void 0 !== this.options.prevButton[0] && this.options.prevButton.click(function (e) { this.movePrev(), this.resetInterval() }.bind(this)), this.options.stopButton && void 0 !== this.options.stopButton[0] && this.options.stopButton.click(function (e) { this.stop() }.bind(this)), this.options.startButton && void 0 !== this.options.startButton[0] && this.options.startButton.click(function (e) { this.start() }.bind(this)), this.options.pauseOnHover && this.$el.hover(function () { this.state && this.pause() }.bind(this), function () { this.state && this.unpause() }.bind(this)), this.options.autostart && this.start() }, start: function () { this.state || (this.state = 1, this.resetInterval(), this.options.start()) }, stop: function () { this.state && (clearInterval(this.moveInterval), this.state = 0, this.options.stop()) }, resetInterval: function () { this.state && (clearInterval(this.moveInterval), this.moveInterval = setInterval(function () { this.move() }.bind(this), this.options.duration)) }, move: function () { this.paused || this.moveNext() }, moveNext: function () { "down" === this.options.direction ? this.moveDown() : "up" === this.options.direction && this.moveUp() }, movePrev: function () { "down" === this.options.direction ? this.moveUp() : "up" === this.options.direction && this.moveDown() }, pause: function () { this.paused || (this.paused = 1), this.options.pause() }, unpause: function () { this.paused && (this.paused = 0), this.options.unpause() }, moveDown: function () { this.moving || (this.moving = 1, this.options.movingDown(), this.$el.children("li:last").detach().prependTo(this.$el).css("marginTop", "-" + this.options.row_height + "px").animate({marginTop: "0px"}, this.options.speed, function () { this.moving = 0, this.options.hasMoved() }.bind(this))) }, moveUp: function () { if (!this.moving) { this.moving = 1, this.options.movingUp(); var e = this.$el.children("li:first"); e.animate({marginTop: "-" + this.options.row_height + "px"}, this.options.speed, function () { e.detach().css("marginTop", "0").appendTo(this.$el), this.moving = 0, this.options.hasMoved() }.bind(this)) } }, updateOption: function (e, t) { void 0 !== this.options[e] && (this.options[e] = t, "duration" == e || "speed" == e) && (this.checkSpeed(), this.resetInterval()) }, add: function (t) { this.$el.append(e("











