Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "use strict";
- var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
- return typeof e
- }
- : function(e) {
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
- }
- ;
- !function(e, t) {
- "object" === ("undefined" == typeof module ? "undefined" : _typeof(module)) && "object" === _typeof(module.exports) ? module.exports = e.document ? t(e, !0) : function(e) {
- if (!e.document)
- throw new Error("jQuery requires a window with a document");
- return t(e)
- }
- : t(e)
- }("undefined" != typeof window ? window : void 0, function(e, t) {
- function n(e) {
- var t = !!e && "length"in e && e.length
- , n = oe.type(e);
- return "function" !== n && !oe.isWindow(e) && ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e)
- }
- function i(e, t, n) {
- if (oe.isFunction(t))
- return oe.grep(e, function(e, i) {
- return !!t.call(e, i, e) !== n
- });
- if (t.nodeType)
- return oe.grep(e, function(e) {
- return e === t !== n
- });
- if ("string" == typeof t) {
- if (me.test(t))
- return oe.filter(t, e, n);
- t = oe.filter(t, e)
- }
- return oe.grep(e, function(e) {
- return K.call(t, e) > -1 !== n
- })
- }
- function r(e, t) {
- for (; (e = e[t]) && 1 !== e.nodeType; )
- ;
- return e
- }
- function o(e) {
- var t = {};
- return oe.each(e.match(we) || [], function(e, n) {
- t[n] = !0
- }),
- t
- }
- function s() {
- Z.removeEventListener("DOMContentLoaded", s),
- e.removeEventListener("load", s),
- oe.ready()
- }
- function a() {
- this.expando = oe.expando + a.uid++
- }
- function u(e, t, n) {
- var i;
- if (void 0 === n && 1 === e.nodeType)
- if (i = "data-" + t.replace(Me, "-$&").toLowerCase(),
- n = e.getAttribute(i),
- "string" == typeof n) {
- try {
- n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : Ce.test(n) ? oe.parseJSON(n) : n)
- } catch (r) {}
- De.set(e, t, n)
- } else
- n = void 0;
- return n
- }
- function l(e, t, n, i) {
- var r, o = 1, s = 20, a = i ? function() {
- return i.cur()
- }
- : function() {
- return oe.css(e, t, "")
- }
- , u = a(), l = n && n[3] || (oe.cssNumber[t] ? "" : "px"), c = (oe.cssNumber[t] || "px" !== l && +u) && Ee.exec(oe.css(e, t));
- if (c && c[3] !== l) {
- l = l || c[3],
- n = n || [],
- c = +u || 1;
- do
- o = o || ".5",
- c /= o,
- oe.style(e, t, c + l);
- while (o !== (o = a() / u) && 1 !== o && --s)
- }
- return n && (c = +c || +u || 0,
- r = n[1] ? c + (n[1] + 1) * n[2] : +n[2],
- i && (i.unit = l,
- i.start = c,
- i.end = r)),
- r
- }
- function c(e, t) {
- var n = "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName(t || "*") : "undefined" != typeof e.querySelectorAll ? e.querySelectorAll(t || "*") : [];
- return void 0 === t || t && oe.nodeName(e, t) ? oe.merge([e], n) : n
- }
- function d(e, t) {
- for (var n = 0, i = e.length; n < i; n++)
- Te.set(e[n], "globalEval", !t || Te.get(t[n], "globalEval"))
- }
- function f(e, t, n, i, r) {
- for (var o, s, a, u, l, f, h = t.createDocumentFragment(), p = [], m = 0, g = e.length; m < g; m++)
- if (o = e[m],
- o || 0 === o)
- if ("object" === oe.type(o))
- oe.merge(p, o.nodeType ? [o] : o);
- else if (je.test(o)) {
- for (s = s || h.appendChild(t.createElement("div")),
- a = (Pe.exec(o) || ["", ""])[1].toLowerCase(),
- u = Le[a] || Le._default,
- s.innerHTML = u[1] + oe.htmlPrefilter(o) + u[2],
- f = u[0]; f--; )
- s = s.lastChild;
- oe.merge(p, s.childNodes),
- s = h.firstChild,
- s.textContent = ""
- } else
- p.push(t.createTextNode(o));
- for (h.textContent = "",
- m = 0; o = p[m++]; )
- if (i && oe.inArray(o, i) > -1)
- r && r.push(o);
- else if (l = oe.contains(o.ownerDocument, o),
- s = c(h.appendChild(o), "script"),
- l && d(s),
- n)
- for (f = 0; o = s[f++]; )
- Re.test(o.type || "") && n.push(o);
- return h
- }
- function h() {
- return !0
- }
- function p() {
- return !1
- }
- function m() {
- try {
- return Z.activeElement
- } catch (e) {}
- }
- function g(e, t, n, i, r, o) {
- var s, a;
- if ("object" === ("undefined" == typeof t ? "undefined" : _typeof(t))) {
- "string" != typeof n && (i = i || n,
- n = void 0);
- for (a in t)
- g(e, a, n, i, t[a], o);
- return e
- }
- if (null == i && null == r ? (r = n,
- i = n = void 0) : null == r && ("string" == typeof n ? (r = i,
- i = void 0) : (r = i,
- i = n,
- n = void 0)),
- r === !1)
- r = p;
- else if (!r)
- return e;
- return 1 === o && (s = r,
- r = function(e) {
- return oe().off(e),
- s.apply(this, arguments)
- }
- ,
- r.guid = s.guid || (s.guid = oe.guid++)),
- e.each(function() {
- oe.event.add(this, t, r, i, n)
- })
- }
- function y(e, t) {
- return oe.nodeName(e, "table") && oe.nodeName(11 !== t.nodeType ? t : t.firstChild, "tr") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e
- }
- function v(e) {
- return e.type = (null !== e.getAttribute("type")) + "/" + e.type,
- e
- }
- function b(e) {
- var t = Ue.exec(e.type);
- return t ? e.type = t[1] : e.removeAttribute("type"),
- e
- }
- function _(e, t) {
- var n, i, r, o, s, a, u, l;
- if (1 === t.nodeType) {
- if (Te.hasData(e) && (o = Te.access(e),
- s = Te.set(t, o),
- l = o.events)) {
- delete s.handle,
- s.events = {};
- for (r in l)
- for (n = 0,
- i = l[r].length; n < i; n++)
- oe.event.add(t, r, l[r][n])
- }
- De.hasData(e) && (a = De.access(e),
- u = oe.extend({}, a),
- De.set(t, u))
- }
- }
- function w(e, t) {
- var n = t.nodeName.toLowerCase();
- "input" === n && Ye.test(e.type) ? t.checked = e.checked : "input" !== n && "textarea" !== n || (t.defaultValue = e.defaultValue)
- }
- function x(e, t, n, i) {
- t = Q.apply([], t);
- var r, o, s, a, u, l, d = 0, h = e.length, p = h - 1, m = t[0], g = oe.isFunction(m);
- if (g || h > 1 && "string" == typeof m && !ie.checkClone && qe.test(m))
- return e.each(function(r) {
- var o = e.eq(r);
- g && (t[0] = m.call(this, r, o.html())),
- x(o, t, n, i)
- });
- if (h && (r = f(t, e[0].ownerDocument, !1, e, i),
- o = r.firstChild,
- 1 === r.childNodes.length && (r = o),
- o || i)) {
- for (s = oe.map(c(r, "script"), v),
- a = s.length; d < h; d++)
- u = r,
- d !== p && (u = oe.clone(u, !0, !0),
- a && oe.merge(s, c(u, "script"))),
- n.call(e[d], u, d);
- if (a)
- for (l = s[s.length - 1].ownerDocument,
- oe.map(s, b),
- d = 0; d < a; d++)
- u = s[d],
- Re.test(u.type || "") && !Te.access(u, "globalEval") && oe.contains(l, u) && (u.src ? oe._evalUrl && oe._evalUrl(u.src) : oe.globalEval(u.textContent.replace(Ge, "")))
- }
- return e
- }
- function k(e, t, n) {
- for (var i, r = t ? oe.filter(t, e) : e, o = 0; null != (i = r[o]); o++)
- n || 1 !== i.nodeType || oe.cleanData(c(i)),
- i.parentNode && (n && oe.contains(i.ownerDocument, i) && d(c(i, "script")),
- i.parentNode.removeChild(i));
- return e
- }
- function S(e, t) {
- var n = oe(t.createElement(e)).appendTo(t.body)
- , i = oe.css(n[0], "display");
- return n.detach(),
- i
- }
- function T(e) {
- var t = Z
- , n = Ve[e];
- return n || (n = S(e, t),
- "none" !== n && n || (Be = (Be || oe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),
- t = Be[0].contentDocument,
- t.write(),
- t.close(),
- n = S(e, t),
- Be.detach()),
- Ve[e] = n),
- n
- }
- function D(e, t, n) {
- var i, r, o, s, a = e.style;
- return n = n || Xe(e),
- s = n ? n.getPropertyValue(t) || n[t] : void 0,
- "" !== s && void 0 !== s || oe.contains(e.ownerDocument, e) || (s = oe.style(e, t)),
- n && !ie.pixelMarginRight() && Ze.test(s) && ze.test(t) && (i = a.width,
- r = a.minWidth,
- o = a.maxWidth,
- a.minWidth = a.maxWidth = a.width = s,
- s = n.width,
- a.width = i,
- a.minWidth = r,
- a.maxWidth = o),
- void 0 !== s ? s + "" : s
- }
- function C(e, t) {
- return {
- get: function() {
- return e() ? void delete this.get : (this.get = t).apply(this, arguments)
- }
- }
- }
- function M(e) {
- if (e in it)
- return e;
- for (var t = e[0].toUpperCase() + e.slice(1), n = nt.length; n--; )
- if (e = nt[n] + t,
- e in it)
- return e
- }
- function O(e, t, n) {
- var i = Ee.exec(t);
- return i ? Math.max(0, i[2] - (n || 0)) + (i[3] || "px") : t
- }
- function E(e, t, n, i, r) {
- for (var o = n === (i ? "border" : "content") ? 4 : "width" === t ? 1 : 0, s = 0; o < 4; o += 2)
- "margin" === n && (s += oe.css(e, n + Ne[o], !0, r)),
- i ? ("content" === n && (s -= oe.css(e, "padding" + Ne[o], !0, r)),
- "margin" !== n && (s -= oe.css(e, "border" + Ne[o] + "Width", !0, r))) : (s += oe.css(e, "padding" + Ne[o], !0, r),
- "padding" !== n && (s += oe.css(e, "border" + Ne[o] + "Width", !0, r)));
- return s
- }
- function N(e, t, n) {
- var i = !0
- , r = "width" === t ? e.offsetWidth : e.offsetHeight
- , o = Xe(e)
- , s = "border-box" === oe.css(e, "boxSizing", !1, o);
- if (r <= 0 || null == r) {
- if (r = D(e, t, o),
- (r < 0 || null == r) && (r = e.style[t]),
- Ze.test(r))
- return r;
- i = s && (ie.boxSizingReliable() || r === e.style[t]),
- r = parseFloat(r) || 0
- }
- return r + E(e, t, n || (s ? "border" : "content"), i, o) + "px"
- }
- function A(e, t) {
- for (var n, i, r, o = [], s = 0, a = e.length; s < a; s++)
- i = e[s],
- i.style && (o[s] = Te.get(i, "olddisplay"),
- n = i.style.display,
- t ? (o[s] || "none" !== n || (i.style.display = ""),
- "" === i.style.display && Ae(i) && (o[s] = Te.access(i, "olddisplay", T(i.nodeName)))) : (r = Ae(i),
- "none" === n && r || Te.set(i, "olddisplay", r ? n : oe.css(i, "display"))));
- for (s = 0; s < a; s++)
- i = e[s],
- i.style && (t && "none" !== i.style.display && "" !== i.style.display || (i.style.display = t ? o[s] || "" : "none"));
- return e
- }
- function Y(e, t, n, i, r) {
- return new Y.prototype.init(e,t,n,i,r)
- }
- function P() {
- return e.setTimeout(function() {
- rt = void 0
- }),
- rt = oe.now()
- }
- function R(e, t) {
- var n, i = 0, r = {
- height: e
- };
- for (t = t ? 1 : 0; i < 4; i += 2 - t)
- n = Ne[i],
- r["margin" + n] = r["padding" + n] = e;
- return t && (r.opacity = r.width = e),
- r
- }
- function L(e, t, n) {
- for (var i, r = (H.tweeners[t] || []).concat(H.tweeners["*"]), o = 0, s = r.length; o < s; o++)
- if (i = r[o].call(n, t, e))
- return i
- }
- function j(e, t, n) {
- var i, r, o, s, a, u, l, c, d = this, f = {}, h = e.style, p = e.nodeType && Ae(e), m = Te.get(e, "fxshow");
- n.queue || (a = oe._queueHooks(e, "fx"),
- null == a.unqueued && (a.unqueued = 0,
- u = a.empty.fire,
- a.empty.fire = function() {
- a.unqueued || u()
- }
- ),
- a.unqueued++,
- d.always(function() {
- d.always(function() {
- a.unqueued--,
- oe.queue(e, "fx").length || a.empty.fire()
- })
- })),
- 1 === e.nodeType && ("height"in t || "width"in t) && (n.overflow = [h.overflow, h.overflowX, h.overflowY],
- l = oe.css(e, "display"),
- c = "none" === l ? Te.get(e, "olddisplay") || T(e.nodeName) : l,
- "inline" === c && "none" === oe.css(e, "float") && (h.display = "inline-block")),
- n.overflow && (h.overflow = "hidden",
- d.always(function() {
- h.overflow = n.overflow[0],
- h.overflowX = n.overflow[1],
- h.overflowY = n.overflow[2]
- }));
- for (i in t)
- if (r = t[i],
- st.exec(r)) {
- if (delete t[i],
- o = o || "toggle" === r,
- r === (p ? "hide" : "show")) {
- if ("show" !== r || !m || void 0 === m[i])
- continue;
- p = !0
- }
- f[i] = m && m[i] || oe.style(e, i)
- } else
- l = void 0;
- if (oe.isEmptyObject(f))
- "inline" === ("none" === l ? T(e.nodeName) : l) && (h.display = l);
- else {
- m ? "hidden"in m && (p = m.hidden) : m = Te.access(e, "fxshow", {}),
- o && (m.hidden = !p),
- p ? oe(e).show() : d.done(function() {
- oe(e).hide()
- }),
- d.done(function() {
- var t;
- Te.remove(e, "fxshow");
- for (t in f)
- oe.style(e, t, f[t])
- });
- for (i in f)
- s = L(p ? m[i] : 0, i, d),
- i in m || (m[i] = s.start,
- p && (s.end = s.start,
- s.start = "width" === i || "height" === i ? 1 : 0))
- }
- }
- function $(e, t) {
- var n, i, r, o, s;
- for (n in e)
- if (i = oe.camelCase(n),
- r = t[i],
- o = e[n],
- oe.isArray(o) && (r = o[1],
- o = e[n] = o[0]),
- n !== i && (e[i] = o,
- delete e[n]),
- s = oe.cssHooks[i],
- s && "expand"in s) {
- o = s.expand(o),
- delete e[i];
- for (n in o)
- n in e || (e[n] = o[n],
- t[n] = r)
- } else
- t[i] = r
- }
- function H(e, t, n) {
- var i, r, o = 0, s = H.prefilters.length, a = oe.Deferred().always(function() {
- delete u.elem
- }), u = function() {
- if (r)
- return !1;
- for (var t = rt || P(), n = Math.max(0, l.startTime + l.duration - t), i = n / l.duration || 0, o = 1 - i, s = 0, u = l.tweens.length; s < u; s++)
- l.tweens[s].run(o);
- return a.notifyWith(e, [l, o, n]),
- o < 1 && u ? n : (a.resolveWith(e, [l]),
- !1)
- }, l = a.promise({
- elem: e,
- props: oe.extend({}, t),
- opts: oe.extend(!0, {
- specialEasing: {},
- easing: oe.easing._default
- }, n),
- originalProperties: t,
- originalOptions: n,
- startTime: rt || P(),
- duration: n.duration,
- tweens: [],
- createTween: function(t, n) {
- var i = oe.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing);
- return l.tweens.push(i),
- i
- },
- stop: function(t) {
- var n = 0
- , i = t ? l.tweens.length : 0;
- if (r)
- return this;
- for (r = !0; n < i; n++)
- l.tweens[n].run(1);
- return t ? (a.notifyWith(e, [l, 1, 0]),
- a.resolveWith(e, [l, t])) : a.rejectWith(e, [l, t]),
- this
- }
- }), c = l.props;
- for ($(c, l.opts.specialEasing); o < s; o++)
- if (i = H.prefilters[o].call(l, e, c, l.opts))
- return oe.isFunction(i.stop) && (oe._queueHooks(l.elem, l.opts.queue).stop = oe.proxy(i.stop, i)),
- i;
- return oe.map(c, L, l),
- oe.isFunction(l.opts.start) && l.opts.start.call(e, l),
- oe.fx.timer(oe.extend(u, {
- elem: e,
- anim: l,
- queue: l.opts.queue
- })),
- l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always)
- }
- function I(e) {
- return e.getAttribute && e.getAttribute("class") || ""
- }
- function W(e) {
- return function(t, n) {
- "string" != typeof t && (n = t,
- t = "*");
- var i, r = 0, o = t.toLowerCase().match(we) || [];
- if (oe.isFunction(n))
- for (; i = o[r++]; )
- "+" === i[0] ? (i = i.slice(1) || "*",
- (e[i] = e[i] || []).unshift(n)) : (e[i] = e[i] || []).push(n)
- }
- }
- function F(e, t, n, i) {
- function r(a) {
- var u;
- return o[a] = !0,
- oe.each(e[a] || [], function(e, a) {
- var l = a(t, n, i);
- return "string" != typeof l || s || o[l] ? s ? !(u = l) : void 0 : (t.dataTypes.unshift(l),
- r(l),
- !1)
- }),
- u
- }
- var o = {}
- , s = e === Dt;
- return r(t.dataTypes[0]) || !o["*"] && r("*")
- }
- function q(e, t) {
- var n, i, r = oe.ajaxSettings.flatOptions || {};
- for (n in t)
- void 0 !== t[n] && ((r[n] ? e : i || (i = {}))[n] = t[n]);
- return i && oe.extend(!0, e, i),
- e
- }
- function U(e, t, n) {
- for (var i, r, o, s, a = e.contents, u = e.dataTypes; "*" === u[0]; )
- u.shift(),
- void 0 === i && (i = e.mimeType || t.getResponseHeader("Content-Type"));
- if (i)
- for (r in a)
- if (a[r] && a[r].test(i)) {
- u.unshift(r);
- break
- }
- if (u[0]in n)
- o = u[0];
- else {
- for (r in n) {
- if (!u[0] || e.converters[r + " " + u[0]]) {
- o = r;
- break
- }
- s || (s = r)
- }
- o = o || s
- }
- if (o)
- return o !== u[0] && u.unshift(o),
- n[o]
- }
- function G(e, t, n, i) {
- var r, o, s, a, u, l = {}, c = e.dataTypes.slice();
- if (c[1])
- for (s in e.converters)
- l[s.toLowerCase()] = e.converters[s];
- for (o = c.shift(); o; )
- if (e.responseFields[o] && (n[e.responseFields[o]] = t),
- !u && i && e.dataFilter && (t = e.dataFilter(t, e.dataType)),
- u = o,
- o = c.shift())
- if ("*" === o)
- o = u;
- else if ("*" !== u && u !== o) {
- if (s = l[u + " " + o] || l["* " + o],
- !s)
- for (r in l)
- if (a = r.split(" "),
- a[1] === o && (s = l[u + " " + a[0]] || l["* " + a[0]])) {
- s === !0 ? s = l[r] : l[r] !== !0 && (o = a[0],
- c.unshift(a[1]));
- break
- }
- if (s !== !0)
- if (s && e["throws"])
- t = s(t);
- else
- try {
- t = s(t)
- } catch (d) {
- return {
- state: "parsererror",
- error: s ? d : "No conversion from " + u + " to " + o
- }
- }
- }
- return {
- state: "success",
- data: t
- }
- }
- function B(e, t, n, i) {
- var r;
- if (oe.isArray(t))
- oe.each(t, function(t, r) {
- n || Et.test(e) ? i(e, r) : B(e + "[" + ("object" === ("undefined" == typeof r ? "undefined" : _typeof(r)) && null != r ? t : "") + "]", r, n, i)
- });
- else if (n || "object" !== oe.type(t))
- i(e, t);
- else
- for (r in t)
- B(e + "[" + r + "]", t[r], n, i)
- }
- function V(e) {
- return oe.isWindow(e) ? e : 9 === e.nodeType && e.defaultView
- }
- var z = []
- , Z = e.document
- , X = z.slice
- , Q = z.concat
- , J = z.push
- , K = z.indexOf
- , ee = {}
- , te = ee.toString
- , ne = ee.hasOwnProperty
- , ie = {}
- , re = "2.2.4"
- , oe = function Wt(e, t) {
- return new Wt.fn.init(e,t)
- }
- , se = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g
- , ae = /^-ms-/
- , ue = /-([\da-z])/gi
- , le = function(e, t) {
- return t.toUpperCase()
- };
- oe.fn = oe.prototype = {
- jquery: re,
- constructor: oe,
- selector: "",
- length: 0,
- toArray: function() {
- return X.call(this)
- },
- get: function(e) {
- return null != e ? e < 0 ? this[e + this.length] : this[e] : X.call(this)
- },
- pushStack: function(e) {
- var t = oe.merge(this.constructor(), e);
- return t.prevObject = this,
- t.context = this.context,
- t
- },
- each: function(e) {
- return oe.each(this, e)
- },
- map: function(e) {
- return this.pushStack(oe.map(this, function(t, n) {
- return e.call(t, n, t)
- }))
- },
- slice: function() {
- return this.pushStack(X.apply(this, arguments))
- },
- first: function() {
- return this.eq(0)
- },
- last: function() {
- return this.eq(-1)
- },
- eq: function(e) {
- var t = this.length
- , n = +e + (e < 0 ? t : 0);
- return this.pushStack(n >= 0 && n < t ? [this[n]] : [])
- },
- end: function() {
- return this.prevObject || this.constructor()
- },
- push: J,
- sort: z.sort,
- splice: z.splice
- },
- oe.extend = oe.fn.extend = function() {
- var e, t, n, i, r, o, s = arguments[0] || {}, a = 1, u = arguments.length, l = !1;
- for ("boolean" == typeof s && (l = s,
- s = arguments[a] || {},
- a++),
- "object" === ("undefined" == typeof s ? "undefined" : _typeof(s)) || oe.isFunction(s) || (s = {}),
- a === u && (s = this,
- a--); a < u; a++)
- if (null != (e = arguments[a]))
- for (t in e)
- n = s[t],
- i = e[t],
- s !== i && (l && i && (oe.isPlainObject(i) || (r = oe.isArray(i))) ? (r ? (r = !1,
- o = n && oe.isArray(n) ? n : []) : o = n && oe.isPlainObject(n) ? n : {},
- s[t] = oe.extend(l, o, i)) : void 0 !== i && (s[t] = i));
- return s
- }
- ,
- oe.extend({
- expando: "jQuery" + (re + Math.random()).replace(/\D/g, ""),
- isReady: !0,
- error: function(e) {
- throw new Error(e)
- },
- noop: function() {},
- isFunction: function(e) {
- return "function" === oe.type(e)
- },
- isArray: Array.isArray,
- isWindow: function(e) {
- return null != e && e === e.window
- },
- isNumeric: function(e) {
- var t = e && e.toString();
- return !oe.isArray(e) && t - parseFloat(t) + 1 >= 0
- },
- isPlainObject: function(e) {
- var t;
- if ("object" !== oe.type(e) || e.nodeType || oe.isWindow(e))
- return !1;
- if (e.constructor && !ne.call(e, "constructor") && !ne.call(e.constructor.prototype || {}, "isPrototypeOf"))
- return !1;
- for (t in e)
- ;
- return void 0 === t || ne.call(e, t)
- },
- isEmptyObject: function(e) {
- var t;
- for (t in e)
- return !1;
- return !0
- },
- type: function(e) {
- return null == e ? e + "" : "object" === ("undefined" == typeof e ? "undefined" : _typeof(e)) || "function" == typeof e ? ee[te.call(e)] || "object" : "undefined" == typeof e ? "undefined" : _typeof(e)
- },
- globalEval: function(e) {
- var t, n = eval;
- e = oe.trim(e),
- e && (1 === e.indexOf("use strict") ? (t = Z.createElement("script"),
- t.text = e,
- Z.head.appendChild(t).parentNode.removeChild(t)) : n(e))
- },
- camelCase: function(e) {
- return e.replace(ae, "ms-").replace(ue, le)
- },
- nodeName: function(e, t) {
- return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
- },
- each: function(e, t) {
- var i, r = 0;
- if (n(e))
- for (i = e.length; r < i && t.call(e[r], r, e[r]) !== !1; r++)
- ;
- else
- for (r in e)
- if (t.call(e[r], r, e[r]) === !1)
- break;
- return e
- },
- trim: function(e) {
- return null == e ? "" : (e + "").replace(se, "")
- },
- makeArray: function(e, t) {
- var i = t || [];
- return null != e && (n(Object(e)) ? oe.merge(i, "string" == typeof e ? [e] : e) : J.call(i, e)),
- i
- },
- inArray: function(e, t, n) {
- return null == t ? -1 : K.call(t, e, n)
- },
- merge: function(e, t) {
- for (var n = +t.length, i = 0, r = e.length; i < n; i++)
- e[r++] = t[i];
- return e.length = r,
- e
- },
- grep: function(e, t, n) {
- for (var i, r = [], o = 0, s = e.length, a = !n; o < s; o++)
- i = !t(e[o], o),
- i !== a && r.push(e[o]);
- return r
- },
- map: function(e, t, i) {
- var r, o, s = 0, a = [];
- if (n(e))
- for (r = e.length; s < r; s++)
- o = t(e[s], s, i),
- null != o && a.push(o);
- else
- for (s in e)
- o = t(e[s], s, i),
- null != o && a.push(o);
- return Q.apply([], a)
- },
- guid: 1,
- proxy: function Ft(e, t) {
- var n, i, Ft;
- if ("string" == typeof t && (n = e[t],
- t = e,
- e = n),
- oe.isFunction(e))
- return i = X.call(arguments, 2),
- Ft = function() {
- return e.apply(t || this, i.concat(X.call(arguments)))
- }
- ,
- Ft.guid = e.guid = e.guid || oe.guid++,
- Ft
- },
- now: Date.now,
- support: ie
- }),
- "function" == typeof Symbol && (oe.fn[Symbol.iterator] = z[Symbol.iterator]),
- oe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(e, t) {
- ee["[object " + t + "]"] = t.toLowerCase()
- });
- var ce = function(e) {
- function t(e, t, n, i) {
- var r, o, s, a, u, l, d, h, p = t && t.ownerDocument, m = t ? t.nodeType : 9;
- if (n = n || [],
- "string" != typeof e || !e || 1 !== m && 9 !== m && 11 !== m)
- return n;
- if (!i && ((t ? t.ownerDocument || t : I) !== A && N(t),
- t = t || A,
- P)) {
- if (11 !== m && (l = ye.exec(e)))
- if (r = l[1]) {
- if (9 === m) {
- if (!(s = t.getElementById(r)))
- return n;
- if (s.id === r)
- return n.push(s),
- n
- } else if (p && (s = p.getElementById(r)) && $(t, s) && s.id === r)
- return n.push(s),
- n
- } else {
- if (l[2])
- return J.apply(n, t.getElementsByTagName(e)),
- n;
- if ((r = l[3]) && w.getElementsByClassName && t.getElementsByClassName)
- return J.apply(n, t.getElementsByClassName(r)),
- n
- }
- if (w.qsa && !G[e + " "] && (!R || !R.test(e))) {
- if (1 !== m)
- p = t,
- h = e;
- else if ("object" !== t.nodeName.toLowerCase()) {
- for ((a = t.getAttribute("id")) ? a = a.replace(be, "\\$&") : t.setAttribute("id", a = H),
- d = T(e),
- o = d.length,
- u = fe.test(a) ? "#" + a : "[id='" + a + "']"; o--; )
- d[o] = u + " " + f(d[o]);
- h = d.join(","),
- p = ve.test(e) && c(t.parentNode) || t
- }
- if (h)
- try {
- return J.apply(n, p.querySelectorAll(h)),
- n
- } catch (g) {} finally {
- a === H && t.removeAttribute("id")
- }
- }
- }
- return C(e.replace(ae, "$1"), t, n, i)
- }
- function n() {
- function e(n, i) {
- return t.push(n + " ") > x.cacheLength && delete e[t.shift()],
- e[n + " "] = i
- }
- var t = [];
- return e
- }
- function i(e) {
- return e[H] = !0,
- e
- }
- function r(e) {
- var t = A.createElement("div");
- try {
- return !!e(t)
- } catch (n) {
- return !1
- } finally {
- t.parentNode && t.parentNode.removeChild(t),
- t = null
- }
- }
- function o(e, t) {
- for (var n = e.split("|"), i = n.length; i--; )
- x.attrHandle[n[i]] = t
- }
- function s(e, t) {
- var n = t && e
- , i = n && 1 === e.nodeType && 1 === t.nodeType && (~t.sourceIndex || V) - (~e.sourceIndex || V);
- if (i)
- return i;
- if (n)
- for (; n = n.nextSibling; )
- if (n === t)
- return -1;
- return e ? 1 : -1
- }
- function a(e) {
- return function(t) {
- var n = t.nodeName.toLowerCase();
- return "input" === n && t.type === e
- }
- }
- function u(e) {
- return function(t) {
- var n = t.nodeName.toLowerCase();
- return ("input" === n || "button" === n) && t.type === e
- }
- }
- function l(e) {
- return i(function(t) {
- return t = +t,
- i(function(n, i) {
- for (var r, o = e([], n.length, t), s = o.length; s--; )
- n[r = o[s]] && (n[r] = !(i[r] = n[r]))
- })
- })
- }
- function c(e) {
- return e && "undefined" != typeof e.getElementsByTagName && e
- }
- function d() {}
- function f(e) {
- for (var t = 0, n = e.length, i = ""; t < n; t++)
- i += e[t].value;
- return i
- }
- function h(e, t, n) {
- var i = t.dir
- , r = n && "parentNode" === i
- , o = F++;
- return t.first ? function(t, n, o) {
- for (; t = t[i]; )
- if (1 === t.nodeType || r)
- return e(t, n, o)
- }
- : function(t, n, s) {
- var a, u, l, c = [W, o];
- if (s) {
- for (; t = t[i]; )
- if ((1 === t.nodeType || r) && e(t, n, s))
- return !0
- } else
- for (; t = t[i]; )
- if (1 === t.nodeType || r) {
- if (l = t[H] || (t[H] = {}),
- u = l[t.uniqueID] || (l[t.uniqueID] = {}),
- (a = u[i]) && a[0] === W && a[1] === o)
- return c[2] = a[2];
- if (u[i] = c,
- c[2] = e(t, n, s))
- return !0
- }
- }
- }
- function p(e) {
- return e.length > 1 ? function(t, n, i) {
- for (var r = e.length; r--; )
- if (!e[r](t, n, i))
- return !1;
- return !0
- }
- : e[0]
- }
- function m(e, n, i) {
- for (var r = 0, o = n.length; r < o; r++)
- t(e, n[r], i);
- return i
- }
- function g(e, t, n, i, r) {
- for (var o, s = [], a = 0, u = e.length, l = null != t; a < u; a++)
- (o = e[a]) && (n && !n(o, i, r) || (s.push(o),
- l && t.push(a)));
- return s
- }
- function y(e, t, n, r, o, s) {
- return r && !r[H] && (r = y(r)),
- o && !o[H] && (o = y(o, s)),
- i(function(i, s, a, u) {
- var l, c, d, f = [], h = [], p = s.length, y = i || m(t || "*", a.nodeType ? [a] : a, []), v = !e || !i && t ? y : g(y, f, e, a, u), b = n ? o || (i ? e : p || r) ? [] : s : v;
- if (n && n(v, b, a, u),
- r)
- for (l = g(b, h),
- r(l, [], a, u),
- c = l.length; c--; )
- (d = l[c]) && (b[h[c]] = !(v[h[c]] = d));
- if (i) {
- if (o || e) {
- if (o) {
- for (l = [],
- c = b.length; c--; )
- (d = b[c]) && l.push(v[c] = d);
- o(null, b = [], l, u)
- }
- for (c = b.length; c--; )
- (d = b[c]) && (l = o ? ee(i, d) : f[c]) > -1 && (i[l] = !(s[l] = d))
- }
- } else
- b = g(b === s ? b.splice(p, b.length) : b),
- o ? o(null, s, b, u) : J.apply(s, b)
- })
- }
- function v(e) {
- for (var t, n, i, r = e.length, o = x.relative[e[0].type], s = o || x.relative[" "], a = o ? 1 : 0, u = h(function(e) {
- return e === t
- }, s, !0), l = h(function(e) {
- return ee(t, e) > -1
- }, s, !0), c = [function(e, n, i) {
- var r = !o && (i || n !== M) || ((t = n).nodeType ? u(e, n, i) : l(e, n, i));
- return t = null,
- r
- }
- ]; a < r; a++)
- if (n = x.relative[e[a].type])
- c = [h(p(c), n)];
- else {
- if (n = x.filter[e[a].type].apply(null, e[a].matches),
- n[H]) {
- for (i = ++a; i < r && !x.relative[e[i].type]; i++)
- ;
- return y(a > 1 && p(c), a > 1 && f(e.slice(0, a - 1).concat({
- value: " " === e[a - 2].type ? "*" : ""
- })).replace(ae, "$1"), n, a < i && v(e.slice(a, i)), i < r && v(e = e.slice(i)), i < r && f(e))
- }
- c.push(n)
- }
- return p(c)
- }
- function b(e, n) {
- var r = n.length > 0
- , o = e.length > 0
- , s = function(i, s, a, u, l) {
- var c, d, f, h = 0, p = "0", m = i && [], y = [], v = M, b = i || o && x.find.TAG("*", l), _ = W += null == v ? 1 : Math.random() || .1, w = b.length;
- for (l && (M = s === A || s || l); p !== w && null != (c = b[p]); p++) {
- if (o && c) {
- for (d = 0,
- s || c.ownerDocument === A || (N(c),
- a = !P); f = e[d++]; )
- if (f(c, s || A, a)) {
- u.push(c);
- break
- }
- l && (W = _)
- }
- r && ((c = !f && c) && h--,
- i && m.push(c))
- }
- if (h += p,
- r && p !== h) {
- for (d = 0; f = n[d++]; )
- f(m, y, s, a);
- if (i) {
- if (h > 0)
- for (; p--; )
- m[p] || y[p] || (y[p] = X.call(u));
- y = g(y)
- }
- J.apply(u, y),
- l && !i && y.length > 0 && h + n.length > 1 && t.uniqueSort(u)
- }
- return l && (W = _,
- M = v),
- m
- };
- return r ? i(s) : s
- }
- var _, w, x, k, S, T, D, C, M, O, E, N, A, Y, P, R, L, j, $, H = "sizzle" + 1 * new Date, I = e.document, W = 0, F = 0, q = n(), U = n(), G = n(), B = function(e, t) {
- return e === t && (E = !0),
- 0
- }, V = 1 << 31, z = {}.hasOwnProperty, Z = [], X = Z.pop, Q = Z.push, J = Z.push, K = Z.slice, ee = function(e, t) {
- for (var n = 0, i = e.length; n < i; n++)
- if (e[n] === t)
- return n;
- return -1
- }, te = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", ne = "[\\x20\\t\\r\\n\\f]", ie = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", re = "\\[" + ne + "*(" + ie + ")(?:" + ne + "*([*^$|!~]?=)" + ne + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + ie + "))|)" + ne + "*\\]", oe = ":(" + ie + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + re + ")*)|.*)\\)|)", se = new RegExp(ne + "+","g"), ae = new RegExp("^" + ne + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ne + "+$","g"), ue = new RegExp("^" + ne + "*," + ne + "*"), le = new RegExp("^" + ne + "*([>+~]|" + ne + ")" + ne + "*"), ce = new RegExp("=" + ne + "*([^\\]'\"]*?)" + ne + "*\\]","g"), de = new RegExp(oe), fe = new RegExp("^" + ie + "$"), he = {
- ID: new RegExp("^#(" + ie + ")"),
- CLASS: new RegExp("^\\.(" + ie + ")"),
- TAG: new RegExp("^(" + ie + "|[*])"),
- ATTR: new RegExp("^" + re),
- PSEUDO: new RegExp("^" + oe),
- CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + ne + "*(even|odd|(([+-]|)(\\d*)n|)" + ne + "*(?:([+-]|)" + ne + "*(\\d+)|))" + ne + "*\\)|)","i"),
- bool: new RegExp("^(?:" + te + ")$","i"),
- needsContext: new RegExp("^" + ne + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + ne + "*((?:-\\d)?\\d*)" + ne + "*\\)|)(?=[^-]|$)","i")
- }, pe = /^(?:input|select|textarea|button)$/i, me = /^h\d$/i, ge = /^[^{]+\{\s*\[native \w/, ye = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ve = /[+~]/, be = /'|\\/g, _e = new RegExp("\\\\([\\da-f]{1,6}" + ne + "?|(" + ne + ")|.)","ig"), we = function(e, t, n) {
- var i = "0x" + t - 65536;
- return i !== i || n ? t : i < 0 ? String.fromCharCode(i + 65536) : String.fromCharCode(i >> 10 | 55296, 1023 & i | 56320)
- }, xe = function() {
- N()
- };
- try {
- J.apply(Z = K.call(I.childNodes), I.childNodes),
- Z[I.childNodes.length].nodeType
- } catch (ke) {
- J = {
- apply: Z.length ? function(e, t) {
- Q.apply(e, K.call(t))
- }
- : function(e, t) {
- for (var n = e.length, i = 0; e[n++] = t[i++]; )
- ;
- e.length = n - 1
- }
- }
- }
- w = t.support = {},
- S = t.isXML = function(e) {
- var t = e && (e.ownerDocument || e).documentElement;
- return !!t && "HTML" !== t.nodeName
- }
- ,
- N = t.setDocument = function(e) {
- var t, n, i = e ? e.ownerDocument || e : I;
- return i !== A && 9 === i.nodeType && i.documentElement ? (A = i,
- Y = A.documentElement,
- P = !S(A),
- (n = A.defaultView) && n.top !== n && (n.addEventListener ? n.addEventListener("unload", xe, !1) : n.attachEvent && n.attachEvent("onunload", xe)),
- w.attributes = r(function(e) {
- return e.className = "i",
- !e.getAttribute("className")
- }),
- w.getElementsByTagName = r(function(e) {
- return e.appendChild(A.createComment("")),
- !e.getElementsByTagName("*").length
- }),
- w.getElementsByClassName = ge.test(A.getElementsByClassName),
- w.getById = r(function(e) {
- return Y.appendChild(e).id = H,
- !A.getElementsByName || !A.getElementsByName(H).length
- }),
- w.getById ? (x.find.ID = function(e, t) {
- if ("undefined" != typeof t.getElementById && P) {
- var n = t.getElementById(e);
- return n ? [n] : []
- }
- }
- ,
- x.filter.ID = function(e) {
- var t = e.replace(_e, we);
- return function(e) {
- return e.getAttribute("id") === t
- }
- }
- ) : (delete x.find.ID,
- x.filter.ID = function(e) {
- var t = e.replace(_e, we);
- return function(e) {
- var n = "undefined" != typeof e.getAttributeNode && e.getAttributeNode("id");
- return n && n.value === t
- }
- }
- ),
- x.find.TAG = w.getElementsByTagName ? function(e, t) {
- return "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : w.qsa ? t.querySelectorAll(e) : void 0
- }
- : function(e, t) {
- var n, i = [], r = 0, o = t.getElementsByTagName(e);
- if ("*" === e) {
- for (; n = o[r++]; )
- 1 === n.nodeType && i.push(n);
- return i
- }
- return o
- }
- ,
- x.find.CLASS = w.getElementsByClassName && function(e, t) {
- if ("undefined" != typeof t.getElementsByClassName && P)
- return t.getElementsByClassName(e)
- }
- ,
- L = [],
- R = [],
- (w.qsa = ge.test(A.querySelectorAll)) && (r(function(e) {
- Y.appendChild(e).innerHTML = "<a id='" + H + "'></a><select id='" + H + "-\r\\' msallowcapture=''><option selected=''></option></select>",
- e.querySelectorAll("[msallowcapture^='']").length && R.push("[*^$]=" + ne + "*(?:''|\"\")"),
- e.querySelectorAll("[selected]").length || R.push("\\[" + ne + "*(?:value|" + te + ")"),
- e.querySelectorAll("[id~=" + H + "-]").length || R.push("~="),
- e.querySelectorAll(":checked").length || R.push(":checked"),
- e.querySelectorAll("a#" + H + "+*").length || R.push(".#.+[+~]")
- }),
- r(function(e) {
- var t = A.createElement("input");
- t.setAttribute("type", "hidden"),
- e.appendChild(t).setAttribute("name", "D"),
- e.querySelectorAll("[name=d]").length && R.push("name" + ne + "*[*^$|!~]?="),
- e.querySelectorAll(":enabled").length || R.push(":enabled", ":disabled"),
- e.querySelectorAll("*,:x"),
- R.push(",.*:")
- })),
- (w.matchesSelector = ge.test(j = Y.matches || Y.webkitMatchesSelector || Y.mozMatchesSelector || Y.oMatchesSelector || Y.msMatchesSelector)) && r(function(e) {
- w.disconnectedMatch = j.call(e, "div"),
- j.call(e, "[s!='']:x"),
- L.push("!=", oe)
- }),
- R = R.length && new RegExp(R.join("|")),
- L = L.length && new RegExp(L.join("|")),
- t = ge.test(Y.compareDocumentPosition),
- $ = t || ge.test(Y.contains) ? function(e, t) {
- var n = 9 === e.nodeType ? e.documentElement : e
- , i = t && t.parentNode;
- return e === i || !(!i || 1 !== i.nodeType || !(n.contains ? n.contains(i) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(i)))
- }
- : function(e, t) {
- if (t)
- for (; t = t.parentNode; )
- if (t === e)
- return !0;
- return !1
- }
- ,
- B = t ? function(e, t) {
- if (e === t)
- return E = !0,
- 0;
- var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
- return n ? n : (n = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1,
- 1 & n || !w.sortDetached && t.compareDocumentPosition(e) === n ? e === A || e.ownerDocument === I && $(I, e) ? -1 : t === A || t.ownerDocument === I && $(I, t) ? 1 : O ? ee(O, e) - ee(O, t) : 0 : 4 & n ? -1 : 1)
- }
- : function(e, t) {
- if (e === t)
- return E = !0,
- 0;
- var n, i = 0, r = e.parentNode, o = t.parentNode, a = [e], u = [t];
- if (!r || !o)
- return e === A ? -1 : t === A ? 1 : r ? -1 : o ? 1 : O ? ee(O, e) - ee(O, t) : 0;
- if (r === o)
- return s(e, t);
- for (n = e; n = n.parentNode; )
- a.unshift(n);
- for (n = t; n = n.parentNode; )
- u.unshift(n);
- for (; a[i] === u[i]; )
- i++;
- return i ? s(a[i], u[i]) : a[i] === I ? -1 : u[i] === I ? 1 : 0
- }
- ,
- A) : A
- }
- ,
- t.matches = function(e, n) {
- return t(e, null, null, n)
- }
- ,
- t.matchesSelector = function(e, n) {
- if ((e.ownerDocument || e) !== A && N(e),
- n = n.replace(ce, "='$1']"),
- w.matchesSelector && P && !G[n + " "] && (!L || !L.test(n)) && (!R || !R.test(n)))
- try {
- var i = j.call(e, n);
- if (i || w.disconnectedMatch || e.document && 11 !== e.document.nodeType)
- return i
- } catch (r) {}
- return t(n, A, null, [e]).length > 0
- }
- ,
- t.contains = function(e, t) {
- return (e.ownerDocument || e) !== A && N(e),
- $(e, t)
- }
- ,
- t.attr = function(e, t) {
- (e.ownerDocument || e) !== A && N(e);
- var n = x.attrHandle[t.toLowerCase()]
- , i = n && z.call(x.attrHandle, t.toLowerCase()) ? n(e, t, !P) : void 0;
- return void 0 !== i ? i : w.attributes || !P ? e.getAttribute(t) : (i = e.getAttributeNode(t)) && i.specified ? i.value : null
- }
- ,
- t.error = function(e) {
- throw new Error("Syntax error, unrecognized expression: " + e)
- }
- ,
- t.uniqueSort = function(e) {
- var t, n = [], i = 0, r = 0;
- if (E = !w.detectDuplicates,
- O = !w.sortStable && e.slice(0),
- e.sort(B),
- E) {
- for (; t = e[r++]; )
- t === e[r] && (i = n.push(r));
- for (; i--; )
- e.splice(n[i], 1)
- }
- return O = null,
- e
- }
- ,
- k = t.getText = function(e) {
- var t, n = "", i = 0, r = e.nodeType;
- if (r) {
- if (1 === r || 9 === r || 11 === r) {
- if ("string" == typeof e.textContent)
- return e.textContent;
- for (e = e.firstChild; e; e = e.nextSibling)
- n += k(e)
- } else if (3 === r || 4 === r)
- return e.nodeValue
- } else
- for (; t = e[i++]; )
- n += k(t);
- return n
- }
- ,
- x = t.selectors = {
- cacheLength: 50,
- createPseudo: i,
- match: he,
- attrHandle: {},
- find: {},
- relative: {
- ">": {
- dir: "parentNode",
- first: !0
- },
- " ": {
- dir: "parentNode"
- },
- "+": {
- dir: "previousSibling",
- first: !0
- },
- "~": {
- dir: "previousSibling"
- }
- },
- preFilter: {
- ATTR: function(e) {
- return e[1] = e[1].replace(_e, we),
- e[3] = (e[3] || e[4] || e[5] || "").replace(_e, we),
- "~=" === e[2] && (e[3] = " " + e[3] + " "),
- e.slice(0, 4)
- },
- CHILD: function(e) {
- return e[1] = e[1].toLowerCase(),
- "nth" === e[1].slice(0, 3) ? (e[3] || t.error(e[0]),
- e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])),
- e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && t.error(e[0]),
- e
- },
- PSEUDO: function(e) {
- var t, n = !e[6] && e[2];
- return he.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && de.test(n) && (t = T(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t),
- e[2] = n.slice(0, t)),
- e.slice(0, 3))
- }
- },
- filter: {
- TAG: function(e) {
- var t = e.replace(_e, we).toLowerCase();
- return "*" === e ? function() {
- return !0
- }
- : function(e) {
- return e.nodeName && e.nodeName.toLowerCase() === t
- }
- },
- CLASS: function(e) {
- var t = q[e + " "];
- return t || (t = new RegExp("(^|" + ne + ")" + e + "(" + ne + "|$)")) && q(e, function(e) {
- return t.test("string" == typeof e.className && e.className || "undefined" != typeof e.getAttribute && e.getAttribute("class") || "")
- })
- },
- ATTR: function(e, n, i) {
- return function(r) {
- var o = t.attr(r, e);
- return null == o ? "!=" === n : !n || (o += "",
- "=" === n ? o === i : "!=" === n ? o !== i : "^=" === n ? i && 0 === o.indexOf(i) : "*=" === n ? i && o.indexOf(i) > -1 : "$=" === n ? i && o.slice(-i.length) === i : "~=" === n ? (" " + o.replace(se, " ") + " ").indexOf(i) > -1 : "|=" === n && (o === i || o.slice(0, i.length + 1) === i + "-"))
- }
- },
- CHILD: function(e, t, n, i, r) {
- var o = "nth" !== e.slice(0, 3)
- , s = "last" !== e.slice(-4)
- , a = "of-type" === t;
- return 1 === i && 0 === r ? function(e) {
- return !!e.parentNode
- }
- : function(t, n, u) {
- var l, c, d, f, h, p, m = o !== s ? "nextSibling" : "previousSibling", g = t.parentNode, y = a && t.nodeName.toLowerCase(), v = !u && !a, b = !1;
- if (g) {
- if (o) {
- for (; m; ) {
- for (f = t; f = f[m]; )
- if (a ? f.nodeName.toLowerCase() === y : 1 === f.nodeType)
- return !1;
- p = m = "only" === e && !p && "nextSibling"
- }
- return !0
- }
- if (p = [s ? g.firstChild : g.lastChild],
- s && v) {
- for (f = g,
- d = f[H] || (f[H] = {}),
- c = d[f.uniqueID] || (d[f.uniqueID] = {}),
- l = c[e] || [],
- h = l[0] === W && l[1],
- b = h && l[2],
- f = h && g.childNodes[h]; f = ++h && f && f[m] || (b = h = 0) || p.pop(); )
- if (1 === f.nodeType && ++b && f === t) {
- c[e] = [W, h, b];
- break
- }
- } else if (v && (f = t,
- d = f[H] || (f[H] = {}),
- c = d[f.uniqueID] || (d[f.uniqueID] = {}),
- l = c[e] || [],
- h = l[0] === W && l[1],
- b = h),
- b === !1)
- for (; (f = ++h && f && f[m] || (b = h = 0) || p.pop()) && ((a ? f.nodeName.toLowerCase() !== y : 1 !== f.nodeType) || !++b || (v && (d = f[H] || (f[H] = {}),
- c = d[f.uniqueID] || (d[f.uniqueID] = {}),
- c[e] = [W, b]),
- f !== t)); )
- ;
- return b -= r,
- b === i || b % i === 0 && b / i >= 0
- }
- }
- },
- PSEUDO: function(e, n) {
- var r, o = x.pseudos[e] || x.setFilters[e.toLowerCase()] || t.error("unsupported pseudo: " + e);
- return o[H] ? o(n) : o.length > 1 ? (r = [e, e, "", n],
- x.setFilters.hasOwnProperty(e.toLowerCase()) ? i(function(e, t) {
- for (var i, r = o(e, n), s = r.length; s--; )
- i = ee(e, r[s]),
- e[i] = !(t[i] = r[s])
- }) : function(e) {
- return o(e, 0, r)
- }
- ) : o
- }
- },
- pseudos: {
- not: i(function(e) {
- var t = []
- , n = []
- , r = D(e.replace(ae, "$1"));
- return r[H] ? i(function(e, t, n, i) {
- for (var o, s = r(e, null, i, []), a = e.length; a--; )
- (o = s[a]) && (e[a] = !(t[a] = o))
- }) : function(e, i, o) {
- return t[0] = e,
- r(t, null, o, n),
- t[0] = null,
- !n.pop()
- }
- }),
- has: i(function(e) {
- return function(n) {
- return t(e, n).length > 0
- }
- }),
- contains: i(function(e) {
- return e = e.replace(_e, we),
- function(t) {
- return (t.textContent || t.innerText || k(t)).indexOf(e) > -1
- }
- }),
- lang: i(function(e) {
- return fe.test(e || "") || t.error("unsupported lang: " + e),
- e = e.replace(_e, we).toLowerCase(),
- function(t) {
- var n;
- do
- if (n = P ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang"))
- return n = n.toLowerCase(),
- n === e || 0 === n.indexOf(e + "-");
- while ((t = t.parentNode) && 1 === t.nodeType);return !1
- }
- }),
- target: function(t) {
- var n = e.location && e.location.hash;
- return n && n.slice(1) === t.id
- },
- root: function(e) {
- return e === Y
- },
- focus: function(e) {
- return e === A.activeElement && (!A.hasFocus || A.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
- },
- enabled: function(e) {
- return e.disabled === !1
- },
- disabled: function(e) {
- return e.disabled === !0
- },
- checked: function(e) {
- var t = e.nodeName.toLowerCase();
- return "input" === t && !!e.checked || "option" === t && !!e.selected
- },
- selected: function(e) {
- return e.parentNode && e.parentNode.selectedIndex,
- e.selected === !0
- },
- empty: function(e) {
- for (e = e.firstChild; e; e = e.nextSibling)
- if (e.nodeType < 6)
- return !1;
- return !0
- },
- parent: function(e) {
- return !x.pseudos.empty(e)
- },
- header: function(e) {
- return me.test(e.nodeName)
- },
- input: function(e) {
- return pe.test(e.nodeName)
- },
- button: function(e) {
- var t = e.nodeName.toLowerCase();
- return "input" === t && "button" === e.type || "button" === t
- },
- text: function(e) {
- var t;
- return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase())
- },
- first: l(function() {
- return [0]
- }),
- last: l(function(e, t) {
- return [t - 1]
- }),
- eq: l(function(e, t, n) {
- return [n < 0 ? n + t : n]
- }),
- even: l(function(e, t) {
- for (var n = 0; n < t; n += 2)
- e.push(n);
- return e
- }),
- odd: l(function(e, t) {
- for (var n = 1; n < t; n += 2)
- e.push(n);
- return e
- }),
- lt: l(function(e, t, n) {
- for (var i = n < 0 ? n + t : n; --i >= 0; )
- e.push(i);
- return e
- }),
- gt: l(function(e, t, n) {
- for (var i = n < 0 ? n + t : n; ++i < t; )
- e.push(i);
- return e
- })
- }
- },
- x.pseudos.nth = x.pseudos.eq;
- for (_ in {
- radio: !0,
- checkbox: !0,
- file: !0,
- password: !0,
- image: !0
- })
- x.pseudos[_] = a(_);
- for (_ in {
- submit: !0,
- reset: !0
- })
- x.pseudos[_] = u(_);
- return d.prototype = x.filters = x.pseudos,
- x.setFilters = new d,
- T = t.tokenize = function(e, n) {
- var i, r, o, s, a, u, l, c = U[e + " "];
- if (c)
- return n ? 0 : c.slice(0);
- for (a = e,
- u = [],
- l = x.preFilter; a; ) {
- i && !(r = ue.exec(a)) || (r && (a = a.slice(r[0].length) || a),
- u.push(o = [])),
- i = !1,
- (r = le.exec(a)) && (i = r.shift(),
- o.push({
- value: i,
- type: r[0].replace(ae, " ")
- }),
- a = a.slice(i.length));
- for (s in x.filter)
- !(r = he[s].exec(a)) || l[s] && !(r = l[s](r)) || (i = r.shift(),
- o.push({
- value: i,
- type: s,
- matches: r
- }),
- a = a.slice(i.length));
- if (!i)
- break
- }
- return n ? a.length : a ? t.error(e) : U(e, u).slice(0)
- }
- ,
- D = t.compile = function(e, t) {
- var n, i = [], r = [], o = G[e + " "];
- if (!o) {
- for (t || (t = T(e)),
- n = t.length; n--; )
- o = v(t[n]),
- o[H] ? i.push(o) : r.push(o);
- o = G(e, b(r, i)),
- o.selector = e
- }
- return o
- }
- ,
- C = t.select = function(e, t, n, i) {
- var r, o, s, a, u, l = "function" == typeof e && e, d = !i && T(e = l.selector || e);
- if (n = n || [],
- 1 === d.length) {
- if (o = d[0] = d[0].slice(0),
- o.length > 2 && "ID" === (s = o[0]).type && w.getById && 9 === t.nodeType && P && x.relative[o[1].type]) {
- if (t = (x.find.ID(s.matches[0].replace(_e, we), t) || [])[0],
- !t)
- return n;
- l && (t = t.parentNode),
- e = e.slice(o.shift().value.length)
- }
- for (r = he.needsContext.test(e) ? 0 : o.length; r-- && (s = o[r],
- !x.relative[a = s.type]); )
- if ((u = x.find[a]) && (i = u(s.matches[0].replace(_e, we), ve.test(o[0].type) && c(t.parentNode) || t))) {
- if (o.splice(r, 1),
- e = i.length && f(o),
- !e)
- return J.apply(n, i),
- n;
- break
- }
- }
- return (l || D(e, d))(i, t, !P, n, !t || ve.test(e) && c(t.parentNode) || t),
- n
- }
- ,
- w.sortStable = H.split("").sort(B).join("") === H,
- w.detectDuplicates = !!E,
- N(),
- w.sortDetached = r(function(e) {
- return 1 & e.compareDocumentPosition(A.createElement("div"))
- }),
- r(function(e) {
- return e.innerHTML = "<a href='#'></a>",
- "#" === e.firstChild.getAttribute("href")
- }) || o("type|href|height|width", function(e, t, n) {
- if (!n)
- return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2)
- }),
- w.attributes && r(function(e) {
- return e.innerHTML = "<input/>",
- e.firstChild.setAttribute("value", ""),
- "" === e.firstChild.getAttribute("value")
- }) || o("value", function(e, t, n) {
- if (!n && "input" === e.nodeName.toLowerCase())
- return e.defaultValue
- }),
- r(function(e) {
- return null == e.getAttribute("disabled")
- }) || o(te, function(e, t, n) {
- var i;
- if (!n)
- return e[t] === !0 ? t.toLowerCase() : (i = e.getAttributeNode(t)) && i.specified ? i.value : null
- }),
- t
- }(e);
- oe.find = ce,
- oe.expr = ce.selectors,
- oe.expr[":"] = oe.expr.pseudos,
- oe.uniqueSort = oe.unique = ce.uniqueSort,
- oe.text = ce.getText,
- oe.isXMLDoc = ce.isXML,
- oe.contains = ce.contains;
- var de = function(e, t, n) {
- for (var i = [], r = void 0 !== n; (e = e[t]) && 9 !== e.nodeType; )
- if (1 === e.nodeType) {
- if (r && oe(e).is(n))
- break;
- i.push(e)
- }
- return i
- }
- , fe = function(e, t) {
- for (var n = []; e; e = e.nextSibling)
- 1 === e.nodeType && e !== t && n.push(e);
- return n
- }
- , he = oe.expr.match.needsContext
- , pe = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/
- , me = /^.[^:#\[\.,]*$/;
- oe.filter = function(e, t, n) {
- var i = t[0];
- return n && (e = ":not(" + e + ")"),
- 1 === t.length && 1 === i.nodeType ? oe.find.matchesSelector(i, e) ? [i] : [] : oe.find.matches(e, oe.grep(t, function(e) {
- return 1 === e.nodeType
- }))
- }
- ,
- oe.fn.extend({
- find: function(e) {
- var t, n = this.length, i = [], r = this;
- if ("string" != typeof e)
- return this.pushStack(oe(e).filter(function() {
- for (t = 0; t < n; t++)
- if (oe.contains(r[t], this))
- return !0
- }));
- for (t = 0; t < n; t++)
- oe.find(e, r[t], i);
- return i = this.pushStack(n > 1 ? oe.unique(i) : i),
- i.selector = this.selector ? this.selector + " " + e : e,
- i
- },
- filter: function(e) {
- return this.pushStack(i(this, e || [], !1))
- },
- not: function(e) {
- return this.pushStack(i(this, e || [], !0))
- },
- is: function(e) {
- return !!i(this, "string" == typeof e && he.test(e) ? oe(e) : e || [], !1).length
- }
- });
- var ge, ye = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, ve = oe.fn.init = function(e, t, n) {
- var i, r;
- if (!e)
- return this;
- if (n = n || ge,
- "string" == typeof e) {
- if (i = "<" === e[0] && ">" === e[e.length - 1] && e.length >= 3 ? [null, e, null] : ye.exec(e),
- !i || !i[1] && t)
- return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
- if (i[1]) {
- if (t = t instanceof oe ? t[0] : t,
- oe.merge(this, oe.parseHTML(i[1], t && t.nodeType ? t.ownerDocument || t : Z, !0)),
- pe.test(i[1]) && oe.isPlainObject(t))
- for (i in t)
- oe.isFunction(this[i]) ? this[i](t[i]) : this.attr(i, t[i]);
- return this
- }
- return r = Z.getElementById(i[2]),
- r && r.parentNode && (this.length = 1,
- this[0] = r),
- this.context = Z,
- this.selector = e,
- this
- }
- return e.nodeType ? (this.context = this[0] = e,
- this.length = 1,
- this) : oe.isFunction(e) ? void 0 !== n.ready ? n.ready(e) : e(oe) : (void 0 !== e.selector && (this.selector = e.selector,
- this.context = e.context),
- oe.makeArray(e, this))
- }
- ;
- ve.prototype = oe.fn,
- ge = oe(Z);
- var be = /^(?:parents|prev(?:Until|All))/
- , _e = {
- children: !0,
- contents: !0,
- next: !0,
- prev: !0
- };
- oe.fn.extend({
- has: function(e) {
- var t = oe(e, this)
- , n = t.length;
- return this.filter(function() {
- for (var e = 0; e < n; e++)
- if (oe.contains(this, t[e]))
- return !0
- })
- },
- closest: function(e, t) {
- for (var n, i = 0, r = this.length, o = [], s = he.test(e) || "string" != typeof e ? oe(e, t || this.context) : 0; i < r; i++)
- for (n = this[i]; n && n !== t; n = n.parentNode)
- if (n.nodeType < 11 && (s ? s.index(n) > -1 : 1 === n.nodeType && oe.find.matchesSelector(n, e))) {
- o.push(n);
- break
- }
- return this.pushStack(o.length > 1 ? oe.uniqueSort(o) : o)
- },
- index: function(e) {
- return e ? "string" == typeof e ? K.call(oe(e), this[0]) : K.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
- },
- add: function(e, t) {
- return this.pushStack(oe.uniqueSort(oe.merge(this.get(), oe(e, t))))
- },
- addBack: function(e) {
- return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
- }
- }),
- oe.each({
- parent: function qt(e) {
- var qt = e.parentNode;
- return qt && 11 !== qt.nodeType ? qt : null
- },
- parents: function(e) {
- return de(e, "parentNode")
- },
- parentsUntil: function(e, t, n) {
- return de(e, "parentNode", n)
- },
- next: function(e) {
- return r(e, "nextSibling")
- },
- prev: function(e) {
- return r(e, "previousSibling")
- },
- nextAll: function(e) {
- return de(e, "nextSibling")
- },
- prevAll: function(e) {
- return de(e, "previousSibling")
- },
- nextUntil: function(e, t, n) {
- return de(e, "nextSibling", n)
- },
- prevUntil: function(e, t, n) {
- return de(e, "previousSibling", n)
- },
- siblings: function(e) {
- return fe((e.parentNode || {}).firstChild, e)
- },
- children: function(e) {
- return fe(e.firstChild)
- },
- contents: function(e) {
- return e.contentDocument || oe.merge([], e.childNodes)
- }
- }, function(e, t) {
- oe.fn[e] = function(n, i) {
- var r = oe.map(this, t, n);
- return "Until" !== e.slice(-5) && (i = n),
- i && "string" == typeof i && (r = oe.filter(i, r)),
- this.length > 1 && (_e[e] || oe.uniqueSort(r),
- be.test(e) && r.reverse()),
- this.pushStack(r)
- }
- });
- var we = /\S+/g;
- oe.Callbacks = function(e) {
- e = "string" == typeof e ? o(e) : oe.extend({}, e);
- var t, n, i, r, s = [], a = [], u = -1, l = function() {
- for (r = e.once,
- i = t = !0; a.length; u = -1)
- for (n = a.shift(); ++u < s.length; )
- s[u].apply(n[0], n[1]) === !1 && e.stopOnFalse && (u = s.length,
- n = !1);
- e.memory || (n = !1),
- t = !1,
- r && (s = n ? [] : "")
- }, c = {
- add: function() {
- return s && (n && !t && (u = s.length - 1,
- a.push(n)),
- function i(t) {
- oe.each(t, function(t, n) {
- oe.isFunction(n) ? e.unique && c.has(n) || s.push(n) : n && n.length && "string" !== oe.type(n) && i(n)
- })
- }(arguments),
- n && !t && l()),
- this
- },
- remove: function() {
- return oe.each(arguments, function(e, t) {
- for (var n; (n = oe.inArray(t, s, n)) > -1; )
- s.splice(n, 1),
- n <= u && u--
- }),
- this
- },
- has: function(e) {
- return e ? oe.inArray(e, s) > -1 : s.length > 0
- },
- empty: function() {
- return s && (s = []),
- this
- },
- disable: function() {
- return r = a = [],
- s = n = "",
- this
- },
- disabled: function() {
- return !s
- },
- lock: function() {
- return r = a = [],
- n || (s = n = ""),
- this
- },
- locked: function() {
- return !!r
- },
- fireWith: function(e, n) {
- return r || (n = n || [],
- n = [e, n.slice ? n.slice() : n],
- a.push(n),
- t || l()),
- this
- },
- fire: function() {
- return c.fireWith(this, arguments),
- this
- },
- fired: function() {
- return !!i
- }
- };
- return c
- }
- ,
- oe.extend({
- Deferred: function(e) {
- var t = [["resolve", "done", oe.Callbacks("once memory"), "resolved"], ["reject", "fail", oe.Callbacks("once memory"), "rejected"], ["notify", "progress", oe.Callbacks("memory")]]
- , n = "pending"
- , i = {
- state: function() {
- return n
- },
- always: function() {
- return r.done(arguments).fail(arguments),
- this
- },
- then: function() {
- var e = arguments;
- return oe.Deferred(function(n) {
- oe.each(t, function(t, o) {
- var s = oe.isFunction(e[t]) && e[t];
- r[o[1]](function() {
- var e = s && s.apply(this, arguments);
- e && oe.isFunction(e.promise) ? e.promise().progress(n.notify).done(n.resolve).fail(n.reject) : n[o[0] + "With"](this === i ? n.promise() : this, s ? [e] : arguments)
- })
- }),
- e = null
- }).promise()
- },
- promise: function(e) {
- return null != e ? oe.extend(e, i) : i
- }
- }
- , r = {};
- return i.pipe = i.then,
- oe.each(t, function(e, o) {
- var s = o[2]
- , a = o[3];
- i[o[1]] = s.add,
- a && s.add(function() {
- n = a
- }, t[1 ^ e][2].disable, t[2][2].lock),
- r[o[0]] = function() {
- return r[o[0] + "With"](this === r ? i : this, arguments),
- this
- }
- ,
- r[o[0] + "With"] = s.fireWith
- }),
- i.promise(r),
- e && e.call(r, r),
- r
- },
- when: function(e) {
- var t, n, i, r = 0, o = X.call(arguments), s = o.length, a = 1 !== s || e && oe.isFunction(e.promise) ? s : 0, u = 1 === a ? e : oe.Deferred(), l = function(e, n, i) {
- return function(r) {
- n[e] = this,
- i[e] = arguments.length > 1 ? X.call(arguments) : r,
- i === t ? u.notifyWith(n, i) : --a || u.resolveWith(n, i)
- }
- };
- if (s > 1)
- for (t = new Array(s),
- n = new Array(s),
- i = new Array(s); r < s; r++)
- o[r] && oe.isFunction(o[r].promise) ? o[r].promise().progress(l(r, n, t)).done(l(r, i, o)).fail(u.reject) : --a;
- return a || u.resolveWith(i, o),
- u.promise()
- }
- });
- var xe;
- oe.fn.ready = function(e) {
- return oe.ready.promise().done(e),
- this
- }
- ,
- oe.extend({
- isReady: !1,
- readyWait: 1,
- holdReady: function(e) {
- e ? oe.readyWait++ : oe.ready(!0)
- },
- ready: function(e) {
- (e === !0 ? --oe.readyWait : oe.isReady) || (oe.isReady = !0,
- e !== !0 && --oe.readyWait > 0 || (xe.resolveWith(Z, [oe]),
- oe.fn.triggerHandler && (oe(Z).triggerHandler("ready"),
- oe(Z).off("ready"))))
- }
- }),
- oe.ready.promise = function(t) {
- return xe || (xe = oe.Deferred(),
- "complete" === Z.readyState || "loading" !== Z.readyState && !Z.documentElement.doScroll ? e.setTimeout(oe.ready) : (Z.addEventListener("DOMContentLoaded", s),
- e.addEventListener("load", s))),
- xe.promise(t)
- }
- ,
- oe.ready.promise();
- var ke = function Ut(e, t, n, i, r, o, s) {
- var a = 0
- , u = e.length
- , l = null == n;
- if ("object" === oe.type(n)) {
- r = !0;
- for (a in n)
- Ut(e, t, a, n[a], !0, o, s)
- } else if (void 0 !== i && (r = !0,
- oe.isFunction(i) || (s = !0),
- l && (s ? (t.call(e, i),
- t = null) : (l = t,
- t = function(e, t, n) {
- return l.call(oe(e), n)
- }
- )),
- t))
- for (; a < u; a++)
- t(e[a], n, s ? i : i.call(e[a], a, t(e[a], n)));
- return r ? e : l ? t.call(e) : u ? t(e[0], n) : o
- }
- , Se = function(e) {
- return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType
- };
- a.uid = 1,
- a.prototype = {
- register: function(e, t) {
- var n = t || {};
- return e.nodeType ? e[this.expando] = n : Object.defineProperty(e, this.expando, {
- value: n,
- writable: !0,
- configurable: !0
- }),
- e[this.expando]
- },
- cache: function(e) {
- if (!Se(e))
- return {};
- var t = e[this.expando];
- return t || (t = {},
- Se(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, {
- value: t,
- configurable: !0
- }))),
- t
- },
- set: function(e, t, n) {
- var i, r = this.cache(e);
- if ("string" == typeof t)
- r[t] = n;
- else
- for (i in t)
- r[i] = t[i];
- return r
- },
- get: function(e, t) {
- return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][t]
- },
- access: function(e, t, n) {
- var i;
- return void 0 === t || t && "string" == typeof t && void 0 === n ? (i = this.get(e, t),
- void 0 !== i ? i : this.get(e, oe.camelCase(t))) : (this.set(e, t, n),
- void 0 !== n ? n : t)
- },
- remove: function(e, t) {
- var n, i, r, o = e[this.expando];
- if (void 0 !== o) {
- if (void 0 === t)
- this.register(e);
- else {
- oe.isArray(t) ? i = t.concat(t.map(oe.camelCase)) : (r = oe.camelCase(t),
- t in o ? i = [t, r] : (i = r,
- i = i in o ? [i] : i.match(we) || [])),
- n = i.length;
- for (; n--; )
- delete o[i[n]]
- }
- (void 0 === t || oe.isEmptyObject(o)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando])
- }
- },
- hasData: function(e) {
- var t = e[this.expando];
- return void 0 !== t && !oe.isEmptyObject(t)
- }
- };
- var Te = new a
- , De = new a
- , Ce = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/
- , Me = /[A-Z]/g;
- oe.extend({
- hasData: function(e) {
- return De.hasData(e) || Te.hasData(e)
- },
- data: function(e, t, n) {
- return De.access(e, t, n)
- },
- removeData: function(e, t) {
- De.remove(e, t)
- },
- _data: function(e, t, n) {
- return Te.access(e, t, n)
- },
- _removeData: function(e, t) {
- Te.remove(e, t)
- }
- }),
- oe.fn.extend({
- data: function Gt(e, t) {
- var n, i, Gt, r = this[0], o = r && r.attributes;
- if (void 0 === e) {
- if (this.length && (Gt = De.get(r),
- 1 === r.nodeType && !Te.get(r, "hasDataAttrs"))) {
- for (n = o.length; n--; )
- o[n] && (i = o[n].name,
- 0 === i.indexOf("data-") && (i = oe.camelCase(i.slice(5)),
- u(r, i, Gt[i])));
- Te.set(r, "hasDataAttrs", !0)
- }
- return Gt
- }
- return "object" === ("undefined" == typeof e ? "undefined" : _typeof(e)) ? this.each(function() {
- De.set(this, e)
- }) : ke(this, function(t) {
- var n, i;
- if (r && void 0 === t) {
- if (n = De.get(r, e) || De.get(r, e.replace(Me, "-$&").toLowerCase()),
- void 0 !== n)
- return n;
- if (i = oe.camelCase(e),
- n = De.get(r, i),
- void 0 !== n)
- return n;
- if (n = u(r, i, void 0),
- void 0 !== n)
- return n
- } else
- i = oe.camelCase(e),
- this.each(function() {
- var n = De.get(this, i);
- De.set(this, i, t),
- e.indexOf("-") > -1 && void 0 !== n && De.set(this, e, t)
- })
- }, null, t, arguments.length > 1, null, !0)
- },
- removeData: function(e) {
- return this.each(function() {
- De.remove(this, e)
- })
- }
- }),
- oe.extend({
- queue: function Bt(e, t, n) {
- var Bt;
- if (e)
- return t = (t || "fx") + "queue",
- Bt = Te.get(e, t),
- n && (!Bt || oe.isArray(n) ? Bt = Te.access(e, t, oe.makeArray(n)) : Bt.push(n)),
- Bt || []
- },
- dequeue: function(e, t) {
- t = t || "fx";
- var n = oe.queue(e, t)
- , i = n.length
- , r = n.shift()
- , o = oe._queueHooks(e, t)
- , s = function() {
- oe.dequeue(e, t)
- };
- "inprogress" === r && (r = n.shift(),
- i--),
- r && ("fx" === t && n.unshift("inprogress"),
- delete o.stop,
- r.call(e, s, o)),
- !i && o && o.empty.fire()
- },
- _queueHooks: function(e, t) {
- var n = t + "queueHooks";
- return Te.get(e, n) || Te.access(e, n, {
- empty: oe.Callbacks("once memory").add(function() {
- Te.remove(e, [t + "queue", n])
- })
- })
- }
- }),
- oe.fn.extend({
- queue: function(e, t) {
- var n = 2;
- return "string" != typeof e && (t = e,
- e = "fx",
- n--),
- arguments.length < n ? oe.queue(this[0], e) : void 0 === t ? this : this.each(function() {
- var n = oe.queue(this, e, t);
- oe._queueHooks(this, e),
- "fx" === e && "inprogress" !== n[0] && oe.dequeue(this, e)
- })
- },
- dequeue: function(e) {
- return this.each(function() {
- oe.dequeue(this, e)
- })
- },
- clearQueue: function(e) {
- return this.queue(e || "fx", [])
- },
- promise: function(e, t) {
- var n, i = 1, r = oe.Deferred(), o = this, s = this.length, a = function() {
- --i || r.resolveWith(o, [o])
- };
- for ("string" != typeof e && (t = e,
- e = void 0),
- e = e || "fx"; s--; )
- n = Te.get(o[s], e + "queueHooks"),
- n && n.empty && (i++,
- n.empty.add(a));
- return a(),
- r.promise(t)
- }
- });
- var Oe = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source
- , Ee = new RegExp("^(?:([+-])=|)(" + Oe + ")([a-z%]*)$","i")
- , Ne = ["Top", "Right", "Bottom", "Left"]
- , Ae = function(e, t) {
- return e = t || e,
- "none" === oe.css(e, "display") || !oe.contains(e.ownerDocument, e)
- }
- , Ye = /^(?:checkbox|radio)$/i
- , Pe = /<([\w:-]+)/
- , Re = /^$|\/(?:java|ecma)script/i
- , Le = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- thead: [1, "<table>", "</table>"],
- col: [2, "<table><colgroup>", "</colgroup></table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: [0, "", ""]
- };
- Le.optgroup = Le.option,
- Le.tbody = Le.tfoot = Le.colgroup = Le.caption = Le.thead,
- Le.th = Le.td;
- var je = /<|&#?\w+;/;
- !function() {
- var e = Z.createDocumentFragment()
- , t = e.appendChild(Z.createElement("div"))
- , n = Z.createElement("input");
- n.setAttribute("type", "radio"),
- n.setAttribute("checked", "checked"),
- n.setAttribute("name", "t"),
- t.appendChild(n),
- ie.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked,
- t.innerHTML = "<textarea>x</textarea>",
- ie.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue
- }();
- var $e = /^key/
- , He = /^(?:mouse|pointer|contextmenu|drag|drop)|click/
- , Ie = /^([^.]*)(?:\.(.+)|)/;
- oe.event = {
- global: {},
- add: function(e, t, n, i, r) {
- var o, s, a, u, l, c, d, f, h, p, m, g = Te.get(e);
- if (g)
- for (n.handler && (o = n,
- n = o.handler,
- r = o.selector),
- n.guid || (n.guid = oe.guid++),
- (u = g.events) || (u = g.events = {}),
- (s = g.handle) || (s = g.handle = function(t) {
- return "undefined" != typeof oe && oe.event.triggered !== t.type ? oe.event.dispatch.apply(e, arguments) : void 0
- }
- ),
- t = (t || "").match(we) || [""],
- l = t.length; l--; )
- a = Ie.exec(t[l]) || [],
- h = m = a[1],
- p = (a[2] || "").split(".").sort(),
- h && (d = oe.event.special[h] || {},
- h = (r ? d.delegateType : d.bindType) || h,
- d = oe.event.special[h] || {},
- c = oe.extend({
- type: h,
- origType: m,
- data: i,
- handler: n,
- guid: n.guid,
- selector: r,
- needsContext: r && oe.expr.match.needsContext.test(r),
- namespace: p.join(".")
- }, o),
- (f = u[h]) || (f = u[h] = [],
- f.delegateCount = 0,
- d.setup && d.setup.call(e, i, p, s) !== !1 || e.addEventListener && e.addEventListener(h, s)),
- d.add && (d.add.call(e, c),
- c.handler.guid || (c.handler.guid = n.guid)),
- r ? f.splice(f.delegateCount++, 0, c) : f.push(c),
- oe.event.global[h] = !0)
- },
- remove: function(e, t, n, i, r) {
- var o, s, a, u, l, c, d, f, h, p, m, g = Te.hasData(e) && Te.get(e);
- if (g && (u = g.events)) {
- for (t = (t || "").match(we) || [""],
- l = t.length; l--; )
- if (a = Ie.exec(t[l]) || [],
- h = m = a[1],
- p = (a[2] || "").split(".").sort(),
- h) {
- for (d = oe.event.special[h] || {},
- h = (i ? d.delegateType : d.bindType) || h,
- f = u[h] || [],
- a = a[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"),
- s = o = f.length; o--; )
- c = f[o],
- !r && m !== c.origType || n && n.guid !== c.guid || a && !a.test(c.namespace) || i && i !== c.selector && ("**" !== i || !c.selector) || (f.splice(o, 1),
- c.selector && f.delegateCount--,
- d.remove && d.remove.call(e, c));
- s && !f.length && (d.teardown && d.teardown.call(e, p, g.handle) !== !1 || oe.removeEvent(e, h, g.handle),
- delete u[h])
- } else
- for (h in u)
- oe.event.remove(e, h + t[l], n, i, !0);
- oe.isEmptyObject(u) && Te.remove(e, "handle events")
- }
- },
- dispatch: function(e) {
- e = oe.event.fix(e);
- var t, n, i, r, o, s = [], a = X.call(arguments), u = (Te.get(this, "events") || {})[e.type] || [], l = oe.event.special[e.type] || {};
- if (a[0] = e,
- e.delegateTarget = this,
- !l.preDispatch || l.preDispatch.call(this, e) !== !1) {
- for (s = oe.event.handlers.call(this, e, u),
- t = 0; (r = s[t++]) && !e.isPropagationStopped(); )
- for (e.currentTarget = r.elem,
- n = 0; (o = r.handlers[n++]) && !e.isImmediatePropagationStopped(); )
- e.rnamespace && !e.rnamespace.test(o.namespace) || (e.handleObj = o,
- e.data = o.data,
- i = ((oe.event.special[o.origType] || {}).handle || o.handler).apply(r.elem, a),
- void 0 !== i && (e.result = i) === !1 && (e.preventDefault(),
- e.stopPropagation()));
- return l.postDispatch && l.postDispatch.call(this, e),
- e.result
- }
- },
- handlers: function(e, t) {
- var n, i, r, o, s = [], a = t.delegateCount, u = e.target;
- if (a && u.nodeType && ("click" !== e.type || isNaN(e.button) || e.button < 1))
- for (; u !== this; u = u.parentNode || this)
- if (1 === u.nodeType && (u.disabled !== !0 || "click" !== e.type)) {
- for (i = [],
- n = 0; n < a; n++)
- o = t[n],
- r = o.selector + " ",
- void 0 === i[r] && (i[r] = o.needsContext ? oe(r, this).index(u) > -1 : oe.find(r, this, null, [u]).length),
- i[r] && i.push(o);
- i.length && s.push({
- elem: u,
- handlers: i
- })
- }
- return a < t.length && s.push({
- elem: this,
- handlers: t.slice(a)
- }),
- s
- },
- props: "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
- fixHooks: {},
- keyHooks: {
- props: "char charCode key keyCode".split(" "),
- filter: function(e, t) {
- return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode),
- e
- }
- },
- mouseHooks: {
- props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function(e, t) {
- var n, i, r, o = t.button;
- return null == e.pageX && null != t.clientX && (n = e.target.ownerDocument || Z,
- i = n.documentElement,
- r = n.body,
- e.pageX = t.clientX + (i && i.scrollLeft || r && r.scrollLeft || 0) - (i && i.clientLeft || r && r.clientLeft || 0),
- e.pageY = t.clientY + (i && i.scrollTop || r && r.scrollTop || 0) - (i && i.clientTop || r && r.clientTop || 0)),
- e.which || void 0 === o || (e.which = 1 & o ? 1 : 2 & o ? 3 : 4 & o ? 2 : 0),
- e
- }
- },
- fix: function(e) {
- if (e[oe.expando])
- return e;
- var t, n, i, r = e.type, o = e, s = this.fixHooks[r];
- for (s || (this.fixHooks[r] = s = He.test(r) ? this.mouseHooks : $e.test(r) ? this.keyHooks : {}),
- i = s.props ? this.props.concat(s.props) : this.props,
- e = new oe.Event(o),
- t = i.length; t--; )
- n = i[t],
- e[n] = o[n];
- return e.target || (e.target = Z),
- 3 === e.target.nodeType && (e.target = e.target.parentNode),
- s.filter ? s.filter(e, o) : e
- },
- special: {
- load: {
- noBubble: !0
- },
- focus: {
- trigger: function() {
- if (this !== m() && this.focus)
- return this.focus(),
- !1
- },
- delegateType: "focusin"
- },
- blur: {
- trigger: function() {
- if (this === m() && this.blur)
- return this.blur(),
- !1
- },
- delegateType: "focusout"
- },
- click: {
- trigger: function() {
- if ("checkbox" === this.type && this.click && oe.nodeName(this, "input"))
- return this.click(),
- !1
- },
- _default: function(e) {
- return oe.nodeName(e.target, "a")
- }
- },
- beforeunload: {
- postDispatch: function(e) {
- void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result)
- }
- }
- }
- },
- oe.removeEvent = function(e, t, n) {
- e.removeEventListener && e.removeEventListener(t, n)
- }
- ,
- oe.Event = function(e, t) {
- return this instanceof oe.Event ? (e && e.type ? (this.originalEvent = e,
- this.type = e.type,
- this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && e.returnValue === !1 ? h : p) : this.type = e,
- t && oe.extend(this, t),
- this.timeStamp = e && e.timeStamp || oe.now(),
- void (this[oe.expando] = !0)) : new oe.Event(e,t)
- }
- ,
- oe.Event.prototype = {
- constructor: oe.Event,
- isDefaultPrevented: p,
- isPropagationStopped: p,
- isImmediatePropagationStopped: p,
- isSimulated: !1,
- preventDefault: function() {
- var e = this.originalEvent;
- this.isDefaultPrevented = h,
- e && !this.isSimulated && e.preventDefault()
- },
- stopPropagation: function() {
- var e = this.originalEvent;
- this.isPropagationStopped = h,
- e && !this.isSimulated && e.stopPropagation()
- },
- stopImmediatePropagation: function() {
- var e = this.originalEvent;
- this.isImmediatePropagationStopped = h,
- e && !this.isSimulated && e.stopImmediatePropagation(),
- this.stopPropagation()
- }
- },
- oe.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout",
- pointerenter: "pointerover",
- pointerleave: "pointerout"
- }, function(e, t) {
- oe.event.special[e] = {
- delegateType: t,
- bindType: t,
- handle: function(e) {
- var n, i = this, r = e.relatedTarget, o = e.handleObj;
- return r && (r === i || oe.contains(i, r)) || (e.type = o.origType,
- n = o.handler.apply(this, arguments),
- e.type = t),
- n
- }
- }
- }),
- oe.fn.extend({
- on: function(e, t, n, i) {
- return g(this, e, t, n, i)
- },
- one: function(e, t, n, i) {
- return g(this, e, t, n, i, 1)
- },
- off: function(e, t, n) {
- var i, r;
- if (e && e.preventDefault && e.handleObj)
- return i = e.handleObj,
- oe(e.delegateTarget).off(i.namespace ? i.origType + "." + i.namespace : i.origType, i.selector, i.handler),
- this;
- if ("object" === ("undefined" == typeof e ? "undefined" : _typeof(e))) {
- for (r in e)
- this.off(r, t, e[r]);
- return this
- }
- return t !== !1 && "function" != typeof t || (n = t,
- t = void 0),
- n === !1 && (n = p),
- this.each(function() {
- oe.event.remove(this, e, n, t)
- })
- }
- });
- var We = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi
- , Fe = /<script|<style|<link/i
- , qe = /checked\s*(?:[^=]|=\s*.checked.)/i
- , Ue = /^true\/(.*)/
- , Ge = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
- oe.extend({
- htmlPrefilter: function(e) {
- return e.replace(We, "<$1></$2>")
- },
- clone: function Vt(e, t, n) {
- var i, r, o, s, Vt = e.cloneNode(!0), a = oe.contains(e.ownerDocument, e);
- if (!(ie.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || oe.isXMLDoc(e)))
- for (s = c(Vt),
- o = c(e),
- i = 0,
- r = o.length; i < r; i++)
- w(o[i], s[i]);
- if (t)
- if (n)
- for (o = o || c(e),
- s = s || c(Vt),
- i = 0,
- r = o.length; i < r; i++)
- _(o[i], s[i]);
- else
- _(e, Vt);
- return s = c(Vt, "script"),
- s.length > 0 && d(s, !a && c(e, "script")),
- Vt
- },
- cleanData: function(e) {
- for (var t, n, i, r = oe.event.special, o = 0; void 0 !== (n = e[o]); o++)
- if (Se(n)) {
- if (t = n[Te.expando]) {
- if (t.events)
- for (i in t.events)
- r[i] ? oe.event.remove(n, i) : oe.removeEvent(n, i, t.handle);
- n[Te.expando] = void 0
- }
- n[De.expando] && (n[De.expando] = void 0)
- }
- }
- }),
- oe.fn.extend({
- domManip: x,
- detach: function(e) {
- return k(this, e, !0)
- },
- remove: function(e) {
- return k(this, e)
- },
- text: function(e) {
- return ke(this, function(e) {
- return void 0 === e ? oe.text(this) : this.empty().each(function() {
- 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e)
- })
- }, null, e, arguments.length)
- },
- append: function() {
- return x(this, arguments, function(e) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var t = y(this, e);
- t.appendChild(e)
- }
- })
- },
- prepend: function() {
- return x(this, arguments, function(e) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var t = y(this, e);
- t.insertBefore(e, t.firstChild)
- }
- })
- },
- before: function() {
- return x(this, arguments, function(e) {
- this.parentNode && this.parentNode.insertBefore(e, this)
- })
- },
- after: function() {
- return x(this, arguments, function(e) {
- this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
- })
- },
- empty: function() {
- for (var e, t = 0; null != (e = this[t]); t++)
- 1 === e.nodeType && (oe.cleanData(c(e, !1)),
- e.textContent = "");
- return this
- },
- clone: function(e, t) {
- return e = null != e && e,
- t = null == t ? e : t,
- this.map(function() {
- return oe.clone(this, e, t)
- })
- },
- html: function(e) {
- return ke(this, function(e) {
- var t = this[0] || {}
- , n = 0
- , i = this.length;
- if (void 0 === e && 1 === t.nodeType)
- return t.innerHTML;
- if ("string" == typeof e && !Fe.test(e) && !Le[(Pe.exec(e) || ["", ""])[1].toLowerCase()]) {
- e = oe.htmlPrefilter(e);
- try {
- for (; n < i; n++)
- t = this[n] || {},
- 1 === t.nodeType && (oe.cleanData(c(t, !1)),
- t.innerHTML = e);
- t = 0
- } catch (r) {}
- }
- t && this.empty().append(e)
- }, null, e, arguments.length)
- },
- replaceWith: function() {
- var e = [];
- return x(this, arguments, function(t) {
- var n = this.parentNode;
- oe.inArray(this, e) < 0 && (oe.cleanData(c(this)),
- n && n.replaceChild(t, this))
- }, e)
- }
- }),
- oe.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function(e, t) {
- oe.fn[e] = function(e) {
- for (var n, i = [], r = oe(e), o = r.length - 1, s = 0; s <= o; s++)
- n = s === o ? this : this.clone(!0),
- oe(r[s])[t](n),
- J.apply(i, n.get());
- return this.pushStack(i)
- }
- });
- var Be, Ve = {
- HTML: "block",
- BODY: "block"
- }, ze = /^margin/, Ze = new RegExp("^(" + Oe + ")(?!px)[a-z%]+$","i"), Xe = function(t) {
- var n = t.ownerDocument.defaultView;
- return n && n.opener || (n = e),
- n.getComputedStyle(t)
- }, Qe = function(e, t, n, i) {
- var r, o, s = {};
- for (o in t)
- s[o] = e.style[o],
- e.style[o] = t[o];
- r = n.apply(e, i || []);
- for (o in t)
- e.style[o] = s[o];
- return r
- }, Je = Z.documentElement;
- !function() {
- function t() {
- a.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",
- a.innerHTML = "",
- Je.appendChild(s);
- var t = e.getComputedStyle(a);
- n = "1%" !== t.top,
- o = "2px" === t.marginLeft,
- i = "4px" === t.width,
- a.style.marginRight = "50%",
- r = "4px" === t.marginRight,
- Je.removeChild(s)
- }
- var n, i, r, o, s = Z.createElement("div"), a = Z.createElement("div");
- a.style && (a.style.backgroundClip = "content-box",
- a.cloneNode(!0).style.backgroundClip = "",
- ie.clearCloneStyle = "content-box" === a.style.backgroundClip,
- s.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",
- s.appendChild(a),
- oe.extend(ie, {
- pixelPosition: function() {
- return t(),
- n
- },
- boxSizingReliable: function() {
- return null == i && t(),
- i
- },
- pixelMarginRight: function() {
- return null == i && t(),
- r
- },
- reliableMarginLeft: function() {
- return null == i && t(),
- o
- },
- reliableMarginRight: function() {
- var t, n = a.appendChild(Z.createElement("div"));
- return n.style.cssText = a.style.cssText = "-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",
- n.style.marginRight = n.style.width = "0",
- a.style.width = "1px",
- Je.appendChild(s),
- t = !parseFloat(e.getComputedStyle(n).marginRight),
- Je.removeChild(s),
- a.removeChild(n),
- t
- }
- }))
- }();
- var Ke = /^(none|table(?!-c[ea]).+)/
- , et = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- }
- , tt = {
- letterSpacing: "0",
- fontWeight: "400"
- }
- , nt = ["Webkit", "O", "Moz", "ms"]
- , it = Z.createElement("div").style;
- oe.extend({
- cssHooks: {
- opacity: {
- get: function(e, t) {
- if (t) {
- var n = D(e, "opacity");
- return "" === n ? "1" : n
- }
- }
- }
- },
- cssNumber: {
- animationIterationCount: !0,
- columnCount: !0,
- fillOpacity: !0,
- flexGrow: !0,
- flexShrink: !0,
- fontWeight: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0
- },
- cssProps: {
- "float": "cssFloat"
- },
- style: function zt(e, t, n, i) {
- if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
- var r, o, s, a = oe.camelCase(t), zt = e.style;
- return t = oe.cssProps[a] || (oe.cssProps[a] = M(a) || a),
- s = oe.cssHooks[t] || oe.cssHooks[a],
- void 0 === n ? s && "get"in s && void 0 !== (r = s.get(e, !1, i)) ? r : zt[t] : (o = "undefined" == typeof n ? "undefined" : _typeof(n),
- "string" === o && (r = Ee.exec(n)) && r[1] && (n = l(e, t, r),
- o = "number"),
- null != n && n === n && ("number" === o && (n += r && r[3] || (oe.cssNumber[a] ? "" : "px")),
- ie.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (zt[t] = "inherit"),
- s && "set"in s && void 0 === (n = s.set(e, n, i)) || (zt[t] = n)),
- void 0)
- }
- },
- css: function(e, t, n, i) {
- var r, o, s, a = oe.camelCase(t);
- return t = oe.cssProps[a] || (oe.cssProps[a] = M(a) || a),
- s = oe.cssHooks[t] || oe.cssHooks[a],
- s && "get"in s && (r = s.get(e, !0, n)),
- void 0 === r && (r = D(e, t, i)),
- "normal" === r && t in tt && (r = tt[t]),
- "" === n || n ? (o = parseFloat(r),
- n === !0 || isFinite(o) ? o || 0 : r) : r
- }
- }),
- oe.each(["height", "width"], function(e, t) {
- oe.cssHooks[t] = {
- get: function(e, n, i) {
- if (n)
- return Ke.test(oe.css(e, "display")) && 0 === e.offsetWidth ? Qe(e, et, function() {
- return N(e, t, i)
- }) : N(e, t, i)
- },
- set: function(e, n, i) {
- var r, o = i && Xe(e), s = i && E(e, t, i, "border-box" === oe.css(e, "boxSizing", !1, o), o);
- return s && (r = Ee.exec(n)) && "px" !== (r[3] || "px") && (e.style[t] = n,
- n = oe.css(e, t)),
- O(e, n, s)
- }
- }
- }),
- oe.cssHooks.marginLeft = C(ie.reliableMarginLeft, function(e, t) {
- if (t)
- return (parseFloat(D(e, "marginLeft")) || e.getBoundingClientRect().left - Qe(e, {
- marginLeft: 0
- }, function() {
- return e.getBoundingClientRect().left
- })) + "px"
- }),
- oe.cssHooks.marginRight = C(ie.reliableMarginRight, function(e, t) {
- if (t)
- return Qe(e, {
- display: "inline-block"
- }, D, [e, "marginRight"])
- }),
- oe.each({
- margin: "",
- padding: "",
- border: "Width"
- }, function(e, t) {
- oe.cssHooks[e + t] = {
- expand: function(n) {
- for (var i = 0, r = {}, o = "string" == typeof n ? n.split(" ") : [n]; i < 4; i++)
- r[e + Ne[i] + t] = o[i] || o[i - 2] || o[0];
- return r
- }
- },
- ze.test(e) || (oe.cssHooks[e + t].set = O)
- }),
- oe.fn.extend({
- css: function(e, t) {
- return ke(this, function(e, t, n) {
- var i, r, o = {}, s = 0;
- if (oe.isArray(t)) {
- for (i = Xe(e),
- r = t.length; s < r; s++)
- o[t[s]] = oe.css(e, t[s], !1, i);
- return o
- }
- return void 0 !== n ? oe.style(e, t, n) : oe.css(e, t)
- }, e, t, arguments.length > 1)
- },
- show: function() {
- return A(this, !0)
- },
- hide: function() {
- return A(this)
- },
- toggle: function(e) {
- return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function() {
- Ae(this) ? oe(this).show() : oe(this).hide()
- })
- }
- }),
- oe.Tween = Y,
- Y.prototype = {
- constructor: Y,
- init: function(e, t, n, i, r, o) {
- this.elem = e,
- this.prop = n,
- this.easing = r || oe.easing._default,
- this.options = t,
- this.start = this.now = this.cur(),
- this.end = i,
- this.unit = o || (oe.cssNumber[n] ? "" : "px")
- },
- cur: function() {
- var e = Y.propHooks[this.prop];
- return e && e.get ? e.get(this) : Y.propHooks._default.get(this)
- },
- run: function(e) {
- var t, n = Y.propHooks[this.prop];
- return this.options.duration ? this.pos = t = oe.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e,
- this.now = (this.end - this.start) * t + this.start,
- this.options.step && this.options.step.call(this.elem, this.now, this),
- n && n.set ? n.set(this) : Y.propHooks._default.set(this),
- this
- }
- },
- Y.prototype.init.prototype = Y.prototype,
- Y.propHooks = {
- _default: {
- get: function(e) {
- var t;
- return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = oe.css(e.elem, e.prop, ""),
- t && "auto" !== t ? t : 0)
- },
- set: function(e) {
- oe.fx.step[e.prop] ? oe.fx.step[e.prop](e) : 1 !== e.elem.nodeType || null == e.elem.style[oe.cssProps[e.prop]] && !oe.cssHooks[e.prop] ? e.elem[e.prop] = e.now : oe.style(e.elem, e.prop, e.now + e.unit)
- }
- }
- },
- Y.propHooks.scrollTop = Y.propHooks.scrollLeft = {
- set: function(e) {
- e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
- }
- },
- oe.easing = {
- linear: function(e) {
- return e
- },
- swing: function(e) {
- return .5 - Math.cos(e * Math.PI) / 2
- },
- _default: "swing"
- },
- oe.fx = Y.prototype.init,
- oe.fx.step = {};
- var rt, ot, st = /^(?:toggle|show|hide)$/, at = /queueHooks$/;
- oe.Animation = oe.extend(H, {
- tweeners: {
- "*": [function(e, t) {
- var n = this.createTween(e, t);
- return l(n.elem, e, Ee.exec(t), n),
- n
- }
- ]
- },
- tweener: function(e, t) {
- oe.isFunction(e) ? (t = e,
- e = ["*"]) : e = e.match(we);
- for (var n, i = 0, r = e.length; i < r; i++)
- n = e[i],
- H.tweeners[n] = H.tweeners[n] || [],
- H.tweeners[n].unshift(t)
- },
- prefilters: [j],
- prefilter: function(e, t) {
- t ? H.prefilters.unshift(e) : H.prefilters.push(e)
- }
- }),
- oe.speed = function(e, t, n) {
- var i = e && "object" === ("undefined" == typeof e ? "undefined" : _typeof(e)) ? oe.extend({}, e) : {
- complete: n || !n && t || oe.isFunction(e) && e,
- duration: e,
- easing: n && t || t && !oe.isFunction(t) && t
- };
- return i.duration = oe.fx.off ? 0 : "number" == typeof i.duration ? i.duration : i.duration in oe.fx.speeds ? oe.fx.speeds[i.duration] : oe.fx.speeds._default,
- null != i.queue && i.queue !== !0 || (i.queue = "fx"),
- i.old = i.complete,
- i.complete = function() {
- oe.isFunction(i.old) && i.old.call(this),
- i.queue && oe.dequeue(this, i.queue)
- }
- ,
- i
- }
- ,
- oe.fn.extend({
- fadeTo: function(e, t, n, i) {
- return this.filter(Ae).css("opacity", 0).show().end().animate({
- opacity: t
- }, e, n, i)
- },
- animate: function(e, t, n, i) {
- var r = oe.isEmptyObject(e)
- , o = oe.speed(t, n, i)
- , s = function() {
- var t = H(this, oe.extend({}, e), o);
- (r || Te.get(this, "finish")) && t.stop(!0)
- };
- return s.finish = s,
- r || o.queue === !1 ? this.each(s) : this.queue(o.queue, s)
- },
- stop: function(e, t, n) {
- var i = function(e) {
- var t = e.stop;
- delete e.stop,
- t(n)
- };
- return "string" != typeof e && (n = t,
- t = e,
- e = void 0),
- t && e !== !1 && this.queue(e || "fx", []),
- this.each(function() {
- var t = !0
- , r = null != e && e + "queueHooks"
- , o = oe.timers
- , s = Te.get(this);
- if (r)
- s[r] && s[r].stop && i(s[r]);
- else
- for (r in s)
- s[r] && s[r].stop && at.test(r) && i(s[r]);
- for (r = o.length; r--; )
- o[r].elem !== this || null != e && o[r].queue !== e || (o[r].anim.stop(n),
- t = !1,
- o.splice(r, 1));
- !t && n || oe.dequeue(this, e)
- })
- },
- finish: function(e) {
- return e !== !1 && (e = e || "fx"),
- this.each(function() {
- var t, n = Te.get(this), i = n[e + "queue"], r = n[e + "queueHooks"], o = oe.timers, s = i ? i.length : 0;
- for (n.finish = !0,
- oe.queue(this, e, []),
- r && r.stop && r.stop.call(this, !0),
- t = o.length; t--; )
- o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0),
- o.splice(t, 1));
- for (t = 0; t < s; t++)
- i[t] && i[t].finish && i[t].finish.call(this);
- delete n.finish
- })
- }
- }),
- oe.each(["toggle", "show", "hide"], function(e, t) {
- var n = oe.fn[t];
- oe.fn[t] = function(e, i, r) {
- return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(R(t, !0), e, i, r)
- }
- }),
- oe.each({
- slideDown: R("show"),
- slideUp: R("hide"),
- slideToggle: R("toggle"),
- fadeIn: {
- opacity: "show"
- },
- fadeOut: {
- opacity: "hide"
- },
- fadeToggle: {
- opacity: "toggle"
- }
- }, function(e, t) {
- oe.fn[e] = function(e, n, i) {
- return this.animate(t, e, n, i)
- }
- }),
- oe.timers = [],
- oe.fx.tick = function() {
- var e, t = 0, n = oe.timers;
- for (rt = oe.now(); t < n.length; t++)
- e = n[t],
- e() || n[t] !== e || n.splice(t--, 1);
- n.length || oe.fx.stop(),
- rt = void 0
- }
- ,
- oe.fx.timer = function(e) {
- oe.timers.push(e),
- e() ? oe.fx.start() : oe.timers.pop()
- }
- ,
- oe.fx.interval = 13,
- oe.fx.start = function() {
- ot || (ot = e.setInterval(oe.fx.tick, oe.fx.interval))
- }
- ,
- oe.fx.stop = function() {
- e.clearInterval(ot),
- ot = null
- }
- ,
- oe.fx.speeds = {
- slow: 600,
- fast: 200,
- _default: 400
- },
- oe.fn.delay = function(t, n) {
- return t = oe.fx ? oe.fx.speeds[t] || t : t,
- n = n || "fx",
- this.queue(n, function(n, i) {
- var r = e.setTimeout(n, t);
- i.stop = function() {
- e.clearTimeout(r)
- }
- })
- }
- ,
- function() {
- var e = Z.createElement("input")
- , t = Z.createElement("select")
- , n = t.appendChild(Z.createElement("option"));
- e.type = "checkbox",
- ie.checkOn = "" !== e.value,
- ie.optSelected = n.selected,
- t.disabled = !0,
- ie.optDisabled = !n.disabled,
- e = Z.createElement("input"),
- e.value = "t",
- e.type = "radio",
- ie.radioValue = "t" === e.value
- }();
- var ut, lt = oe.expr.attrHandle;
- oe.fn.extend({
- attr: function(e, t) {
- return ke(this, oe.attr, e, t, arguments.length > 1)
- },
- removeAttr: function(e) {
- return this.each(function() {
- oe.removeAttr(this, e)
- })
- }
- }),
- oe.extend({
- attr: function(e, t, n) {
- var i, r, o = e.nodeType;
- if (3 !== o && 8 !== o && 2 !== o)
- return "undefined" == typeof e.getAttribute ? oe.prop(e, t, n) : (1 === o && oe.isXMLDoc(e) || (t = t.toLowerCase(),
- r = oe.attrHooks[t] || (oe.expr.match.bool.test(t) ? ut : void 0)),
- void 0 !== n ? null === n ? void oe.removeAttr(e, t) : r && "set"in r && void 0 !== (i = r.set(e, n, t)) ? i : (e.setAttribute(t, n + ""),
- n) : r && "get"in r && null !== (i = r.get(e, t)) ? i : (i = oe.find.attr(e, t),
- null == i ? void 0 : i))
- },
- attrHooks: {
- type: {
- set: function(e, t) {
- if (!ie.radioValue && "radio" === t && oe.nodeName(e, "input")) {
- var n = e.value;
- return e.setAttribute("type", t),
- n && (e.value = n),
- t
- }
- }
- }
- },
- removeAttr: function(e, t) {
- var n, i, r = 0, o = t && t.match(we);
- if (o && 1 === e.nodeType)
- for (; n = o[r++]; )
- i = oe.propFix[n] || n,
- oe.expr.match.bool.test(n) && (e[i] = !1),
- e.removeAttribute(n)
- }
- }),
- ut = {
- set: function(e, t, n) {
- return t === !1 ? oe.removeAttr(e, n) : e.setAttribute(n, n),
- n
- }
- },
- oe.each(oe.expr.match.bool.source.match(/\w+/g), function(e, t) {
- var n = lt[t] || oe.find.attr;
- lt[t] = function(e, t, i) {
- var r, o;
- return i || (o = lt[t],
- lt[t] = r,
- r = null != n(e, t, i) ? t.toLowerCase() : null,
- lt[t] = o),
- r
- }
- });
- var ct = /^(?:input|select|textarea|button)$/i
- , dt = /^(?:a|area)$/i;
- oe.fn.extend({
- prop: function(e, t) {
- return ke(this, oe.prop, e, t, arguments.length > 1)
- },
- removeProp: function(e) {
- return this.each(function() {
- delete this[oe.propFix[e] || e]
- })
- }
- }),
- oe.extend({
- prop: function(e, t, n) {
- var i, r, o = e.nodeType;
- if (3 !== o && 8 !== o && 2 !== o)
- return 1 === o && oe.isXMLDoc(e) || (t = oe.propFix[t] || t,
- r = oe.propHooks[t]),
- void 0 !== n ? r && "set"in r && void 0 !== (i = r.set(e, n, t)) ? i : e[t] = n : r && "get"in r && null !== (i = r.get(e, t)) ? i : e[t]
- },
- propHooks: {
- tabIndex: {
- get: function(e) {
- var t = oe.find.attr(e, "tabindex");
- return t ? parseInt(t, 10) : ct.test(e.nodeName) || dt.test(e.nodeName) && e.href ? 0 : -1
- }
- }
- },
- propFix: {
- "for": "htmlFor",
- "class": "className"
- }
- }),
- ie.optSelected || (oe.propHooks.selected = {
- get: function(e) {
- var t = e.parentNode;
- return t && t.parentNode && t.parentNode.selectedIndex,
- null
- },
- set: function(e) {
- var t = e.parentNode;
- t && (t.selectedIndex,
- t.parentNode && t.parentNode.selectedIndex)
- }
- }),
- oe.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
- oe.propFix[this.toLowerCase()] = this
- });
- var ft = /[\t\r\n\f]/g;
- oe.fn.extend({
- addClass: function(e) {
- var t, n, i, r, o, s, a, u = 0;
- if (oe.isFunction(e))
- return this.each(function(t) {
- oe(this).addClass(e.call(this, t, I(this)))
- });
- if ("string" == typeof e && e)
- for (t = e.match(we) || []; n = this[u++]; )
- if (r = I(n),
- i = 1 === n.nodeType && (" " + r + " ").replace(ft, " ")) {
- for (s = 0; o = t[s++]; )
- i.indexOf(" " + o + " ") < 0 && (i += o + " ");
- a = oe.trim(i),
- r !== a && n.setAttribute("class", a)
- }
- return this
- },
- removeClass: function(e) {
- var t, n, i, r, o, s, a, u = 0;
- if (oe.isFunction(e))
- return this.each(function(t) {
- oe(this).removeClass(e.call(this, t, I(this)))
- });
- if (!arguments.length)
- return this.attr("class", "");
- if ("string" == typeof e && e)
- for (t = e.match(we) || []; n = this[u++]; )
- if (r = I(n),
- i = 1 === n.nodeType && (" " + r + " ").replace(ft, " ")) {
- for (s = 0; o = t[s++]; )
- for (; i.indexOf(" " + o + " ") > -1; )
- i = i.replace(" " + o + " ", " ");
- a = oe.trim(i),
- r !== a && n.setAttribute("class", a)
- }
- return this
- },
- toggleClass: function(e, t) {
- var n = "undefined" == typeof e ? "undefined" : _typeof(e);
- return "boolean" == typeof t && "string" === n ? t ? this.addClass(e) : this.removeClass(e) : oe.isFunction(e) ? this.each(function(n) {
- oe(this).toggleClass(e.call(this, n, I(this), t), t)
- }) : this.each(function() {
- var t, i, r, o;
- if ("string" === n)
- for (i = 0,
- r = oe(this),
- o = e.match(we) || []; t = o[i++]; )
- r.hasClass(t) ? r.removeClass(t) : r.addClass(t);
- else
- void 0 !== e && "boolean" !== n || (t = I(this),
- t && Te.set(this, "__className__", t),
- this.setAttribute && this.setAttribute("class", t || e === !1 ? "" : Te.get(this, "__className__") || ""))
- })
- },
- hasClass: function(e) {
- var t, n, i = 0;
- for (t = " " + e + " "; n = this[i++]; )
- if (1 === n.nodeType && (" " + I(n) + " ").replace(ft, " ").indexOf(t) > -1)
- return !0;
- return !1
- }
- });
- var ht = /\r/g
- , pt = /[\x20\t\r\n\f]+/g;
- oe.fn.extend({
- val: function(e) {
- var t, n, i, r = this[0];
- {
- if (arguments.length)
- return i = oe.isFunction(e),
- this.each(function(n) {
- var r;
- 1 === this.nodeType && (r = i ? e.call(this, n, oe(this).val()) : e,
- null == r ? r = "" : "number" == typeof r ? r += "" : oe.isArray(r) && (r = oe.map(r, function(e) {
- return null == e ? "" : e + ""
- })),
- t = oe.valHooks[this.type] || oe.valHooks[this.nodeName.toLowerCase()],
- t && "set"in t && void 0 !== t.set(this, r, "value") || (this.value = r))
- });
- if (r)
- return t = oe.valHooks[r.type] || oe.valHooks[r.nodeName.toLowerCase()],
- t && "get"in t && void 0 !== (n = t.get(r, "value")) ? n : (n = r.value,
- "string" == typeof n ? n.replace(ht, "") : null == n ? "" : n)
- }
- }
- }),
- oe.extend({
- valHooks: {
- option: {
- get: function(e) {
- var t = oe.find.attr(e, "value");
- return null != t ? t : oe.trim(oe.text(e)).replace(pt, " ")
- }
- },
- select: {
- get: function(e) {
- for (var t, n, i = e.options, r = e.selectedIndex, o = "select-one" === e.type || r < 0, s = o ? null : [], a = o ? r + 1 : i.length, u = r < 0 ? a : o ? r : 0; u < a; u++)
- if (n = i[u],
- (n.selected || u === r) && (ie.optDisabled ? !n.disabled : null === n.getAttribute("disabled")) && (!n.parentNode.disabled || !oe.nodeName(n.parentNode, "optgroup"))) {
- if (t = oe(n).val(),
- o)
- return t;
- s.push(t)
- }
- return s
- },
- set: function(e, t) {
- for (var n, i, r = e.options, o = oe.makeArray(t), s = r.length; s--; )
- i = r[s],
- (i.selected = oe.inArray(oe.valHooks.option.get(i), o) > -1) && (n = !0);
- return n || (e.selectedIndex = -1),
- o
- }
- }
- }
- }),
- oe.each(["radio", "checkbox"], function() {
- oe.valHooks[this] = {
- set: function(e, t) {
- if (oe.isArray(t))
- return e.checked = oe.inArray(oe(e).val(), t) > -1
- }
- },
- ie.checkOn || (oe.valHooks[this].get = function(e) {
- return null === e.getAttribute("value") ? "on" : e.value
- }
- )
- });
- var mt = /^(?:focusinfocus|focusoutblur)$/;
- oe.extend(oe.event, {
- trigger: function(t, n, i, r) {
- var o, s, a, u, l, c, d, f = [i || Z], h = ne.call(t, "type") ? t.type : t, p = ne.call(t, "namespace") ? t.namespace.split(".") : [];
- if (s = a = i = i || Z,
- 3 !== i.nodeType && 8 !== i.nodeType && !mt.test(h + oe.event.triggered) && (h.indexOf(".") > -1 && (p = h.split("."),
- h = p.shift(),
- p.sort()),
- l = h.indexOf(":") < 0 && "on" + h,
- t = t[oe.expando] ? t : new oe.Event(h,"object" === ("undefined" == typeof t ? "undefined" : _typeof(t)) && t),
- t.isTrigger = r ? 2 : 3,
- t.namespace = p.join("."),
- t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)") : null,
- t.result = void 0,
- t.target || (t.target = i),
- n = null == n ? [t] : oe.makeArray(n, [t]),
- d = oe.event.special[h] || {},
- r || !d.trigger || d.trigger.apply(i, n) !== !1)) {
- if (!r && !d.noBubble && !oe.isWindow(i)) {
- for (u = d.delegateType || h,
- mt.test(u + h) || (s = s.parentNode); s; s = s.parentNode)
- f.push(s),
- a = s;
- a === (i.ownerDocument || Z) && f.push(a.defaultView || a.parentWindow || e)
- }
- for (o = 0; (s = f[o++]) && !t.isPropagationStopped(); )
- t.type = o > 1 ? u : d.bindType || h,
- c = (Te.get(s, "events") || {})[t.type] && Te.get(s, "handle"),
- c && c.apply(s, n),
- c = l && s[l],
- c && c.apply && Se(s) && (t.result = c.apply(s, n),
- t.result === !1 && t.preventDefault());
- return t.type = h,
- r || t.isDefaultPrevented() || d._default && d._default.apply(f.pop(), n) !== !1 || !Se(i) || l && oe.isFunction(i[h]) && !oe.isWindow(i) && (a = i[l],
- a && (i[l] = null),
- oe.event.triggered = h,
- i[h](),
- oe.event.triggered = void 0,
- a && (i[l] = a)),
- t.result
- }
- },
- simulate: function(e, t, n) {
- var i = oe.extend(new oe.Event, n, {
- type: e,
- isSimulated: !0
- });
- oe.event.trigger(i, null, t)
- }
- }),
- oe.fn.extend({
- trigger: function(e, t) {
- return this.each(function() {
- oe.event.trigger(e, t, this)
- })
- },
- triggerHandler: function(e, t) {
- var n = this[0];
- if (n)
- return oe.event.trigger(e, t, n, !0)
- }
- }),
- oe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(e, t) {
- oe.fn[t] = function(e, n) {
- return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t)
- }
- }),
- oe.fn.extend({
- hover: function(e, t) {
- return this.mouseenter(e).mouseleave(t || e)
- }
- }),
- ie.focusin = "onfocusin"in e,
- ie.focusin || oe.each({
- focus: "focusin",
- blur: "focusout"
- }, function(e, t) {
- var n = function(e) {
- oe.event.simulate(t, e.target, oe.event.fix(e))
- };
- oe.event.special[t] = {
- setup: function() {
- var i = this.ownerDocument || this
- , r = Te.access(i, t);
- r || i.addEventListener(e, n, !0),
- Te.access(i, t, (r || 0) + 1)
- },
- teardown: function() {
- var i = this.ownerDocument || this
- , r = Te.access(i, t) - 1;
- r ? Te.access(i, t, r) : (i.removeEventListener(e, n, !0),
- Te.remove(i, t))
- }
- }
- });
- var gt = e.location
- , yt = oe.now()
- , vt = /\?/;
- oe.parseJSON = function(e) {
- return JSON.parse(e + "")
- }
- ,
- oe.parseXML = function(t) {
- var n;
- if (!t || "string" != typeof t)
- return null;
- try {
- n = (new e.DOMParser).parseFromString(t, "text/xml")
- } catch (i) {
- n = void 0
- }
- return n && !n.getElementsByTagName("parsererror").length || oe.error("Invalid XML: " + t),
- n
- }
- ;
- var bt = /#.*$/
- , _t = /([?&])_=[^&]*/
- , wt = /^(.*?):[ \t]*([^\r\n]*)$/gm
- , xt = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/
- , kt = /^(?:GET|HEAD)$/
- , St = /^\/\//
- , Tt = {}
- , Dt = {}
- , Ct = "*/".concat("*")
- , Mt = Z.createElement("a");
- Mt.href = gt.href,
- oe.extend({
- active: 0,
- lastModified: {},
- etag: {},
- ajaxSettings: {
- url: gt.href,
- type: "GET",
- isLocal: xt.test(gt.protocol),
- global: !0,
- processData: !0,
- async: !0,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- accepts: {
- "*": Ct,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
- contents: {
- xml: /\bxml\b/,
- html: /\bhtml/,
- json: /\bjson\b/
- },
- responseFields: {
- xml: "responseXML",
- text: "responseText",
- json: "responseJSON"
- },
- converters: {
- "* text": String,
- "text html": !0,
- "text json": oe.parseJSON,
- "text xml": oe.parseXML
- },
- flatOptions: {
- url: !0,
- context: !0
- }
- },
- ajaxSetup: function(e, t) {
- return t ? q(q(e, oe.ajaxSettings), t) : q(oe.ajaxSettings, e)
- },
- ajaxPrefilter: W(Tt),
- ajaxTransport: W(Dt),
- ajax: function(t, n) {
- function i(t, n, i, a) {
- var l, d, v, b, w, k = n;
- 2 !== _ && (_ = 2,
- u && e.clearTimeout(u),
- r = void 0,
- s = a || "",
- x.readyState = t > 0 ? 4 : 0,
- l = t >= 200 && t < 300 || 304 === t,
- i && (b = U(f, x, i)),
- b = G(f, b, x, l),
- l ? (f.ifModified && (w = x.getResponseHeader("Last-Modified"),
- w && (oe.lastModified[o] = w),
- w = x.getResponseHeader("etag"),
- w && (oe.etag[o] = w)),
- 204 === t || "HEAD" === f.type ? k = "nocontent" : 304 === t ? k = "notmodified" : (k = b.state,
- d = b.data,
- v = b.error,
- l = !v)) : (v = k,
- !t && k || (k = "error",
- t < 0 && (t = 0))),
- x.status = t,
- x.statusText = (n || k) + "",
- l ? m.resolveWith(h, [d, k, x]) : m.rejectWith(h, [x, k, v]),
- x.statusCode(y),
- y = void 0,
- c && p.trigger(l ? "ajaxSuccess" : "ajaxError", [x, f, l ? d : v]),
- g.fireWith(h, [x, k]),
- c && (p.trigger("ajaxComplete", [x, f]),
- --oe.active || oe.event.trigger("ajaxStop")))
- }
- "object" === ("undefined" == typeof t ? "undefined" : _typeof(t)) && (n = t,
- t = void 0),
- n = n || {};
- var r, o, s, a, u, l, c, d, f = oe.ajaxSetup({}, n), h = f.context || f, p = f.context && (h.nodeType || h.jquery) ? oe(h) : oe.event, m = oe.Deferred(), g = oe.Callbacks("once memory"), y = f.statusCode || {}, v = {}, b = {}, _ = 0, w = "canceled", x = {
- readyState: 0,
- getResponseHeader: function(e) {
- var t;
- if (2 === _) {
- if (!a)
- for (a = {}; t = wt.exec(s); )
- a[t[1].toLowerCase()] = t[2];
- t = a[e.toLowerCase()]
- }
- return null == t ? null : t
- },
- getAllResponseHeaders: function() {
- return 2 === _ ? s : null
- },
- setRequestHeader: function(e, t) {
- var n = e.toLowerCase();
- return _ || (e = b[n] = b[n] || e,
- v[e] = t),
- this
- },
- overrideMimeType: function(e) {
- return _ || (f.mimeType = e),
- this
- },
- statusCode: function(e) {
- var t;
- if (e)
- if (_ < 2)
- for (t in e)
- y[t] = [y[t], e[t]];
- else
- x.always(e[x.status]);
- return this
- },
- abort: function(e) {
- var t = e || w;
- return r && r.abort(t),
- i(0, t),
- this
- }
- };
- if (m.promise(x).complete = g.add,
- x.success = x.done,
- x.error = x.fail,
- f.url = ((t || f.url || gt.href) + "").replace(bt, "").replace(St, gt.protocol + "//"),
- f.type = n.method || n.type || f.method || f.type,
- f.dataTypes = oe.trim(f.dataType || "*").toLowerCase().match(we) || [""],
- null == f.crossDomain) {
- l = Z.createElement("a");
- try {
- l.href = f.url,
- l.href = l.href,
- f.crossDomain = Mt.protocol + "//" + Mt.host != l.protocol + "//" + l.host
- } catch (k) {
- f.crossDomain = !0
- }
- }
- if (f.data && f.processData && "string" != typeof f.data && (f.data = oe.param(f.data, f.traditional)),
- F(Tt, f, n, x),
- 2 === _)
- return x;
- c = oe.event && f.global,
- c && 0 === oe.active++ && oe.event.trigger("ajaxStart"),
- f.type = f.type.toUpperCase(),
- f.hasContent = !kt.test(f.type),
- o = f.url,
- f.hasContent || (f.data && (o = f.url += (vt.test(o) ? "&" : "?") + f.data,
- delete f.data),
- f.cache === !1 && (f.url = _t.test(o) ? o.replace(_t, "$1_=" + yt++) : o + (vt.test(o) ? "&" : "?") + "_=" + yt++)),
- f.ifModified && (oe.lastModified[o] && x.setRequestHeader("If-Modified-Since", oe.lastModified[o]),
- oe.etag[o] && x.setRequestHeader("If-None-Match", oe.etag[o])),
- (f.data && f.hasContent && f.contentType !== !1 || n.contentType) && x.setRequestHeader("Content-Type", f.contentType),
- x.setRequestHeader("Accept", f.dataTypes[0] && f.accepts[f.dataTypes[0]] ? f.accepts[f.dataTypes[0]] + ("*" !== f.dataTypes[0] ? ", " + Ct + "; q=0.01" : "") : f.accepts["*"]);
- for (d in f.headers)
- x.setRequestHeader(d, f.headers[d]);
- if (f.beforeSend && (f.beforeSend.call(h, x, f) === !1 || 2 === _))
- return x.abort();
- w = "abort";
- for (d in {
- success: 1,
- error: 1,
- complete: 1
- })
- x[d](f[d]);
- if (r = F(Dt, f, n, x)) {
- if (x.readyState = 1,
- c && p.trigger("ajaxSend", [x, f]),
- 2 === _)
- return x;
- f.async && f.timeout > 0 && (u = e.setTimeout(function() {
- x.abort("timeout")
- }, f.timeout));
- try {
- _ = 1,
- r.send(v, i)
- } catch (k) {
- if (!(_ < 2))
- throw k;
- i(-1, k)
- }
- } else
- i(-1, "No Transport");
- return x
- },
- getJSON: function(e, t, n) {
- return oe.get(e, t, n, "json")
- },
- getScript: function(e, t) {
- return oe.get(e, void 0, t, "script")
- }
- }),
- oe.each(["get", "post"], function(e, t) {
- oe[t] = function(e, n, i, r) {
- return oe.isFunction(n) && (r = r || i,
- i = n,
- n = void 0),
- oe.ajax(oe.extend({
- url: e,
- type: t,
- dataType: r,
- data: n,
- success: i
- }, oe.isPlainObject(e) && e))
- }
- }),
- oe._evalUrl = function(e) {
- return oe.ajax({
- url: e,
- type: "GET",
- dataType: "script",
- async: !1,
- global: !1,
- "throws": !0
- })
- }
- ,
- oe.fn.extend({
- wrapAll: function(e) {
- var t;
- return oe.isFunction(e) ? this.each(function(t) {
- oe(this).wrapAll(e.call(this, t))
- }) : (this[0] && (t = oe(e, this[0].ownerDocument).eq(0).clone(!0),
- this[0].parentNode && t.insertBefore(this[0]),
- t.map(function() {
- for (var e = this; e.firstElementChild; )
- e = e.firstElementChild;
- return e
- }).append(this)),
- this)
- },
- wrapInner: function(e) {
- return oe.isFunction(e) ? this.each(function(t) {
- oe(this).wrapInner(e.call(this, t))
- }) : this.each(function() {
- var t = oe(this)
- , n = t.contents();
- n.length ? n.wrapAll(e) : t.append(e)
- })
- },
- wrap: function(e) {
- var t = oe.isFunction(e);
- return this.each(function(n) {
- oe(this).wrapAll(t ? e.call(this, n) : e)
- })
- },
- unwrap: function() {
- return this.parent().each(function() {
- oe.nodeName(this, "body") || oe(this).replaceWith(this.childNodes)
- }).end()
- }
- }),
- oe.expr.filters.hidden = function(e) {
- return !oe.expr.filters.visible(e)
- }
- ,
- oe.expr.filters.visible = function(e) {
- return e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0
- }
- ;
- var Ot = /%20/g
- , Et = /\[\]$/
- , Nt = /\r?\n/g
- , At = /^(?:submit|button|image|reset|file)$/i
- , Yt = /^(?:input|select|textarea|keygen)/i;
- oe.param = function(e, t) {
- var n, i = [], r = function(e, t) {
- t = oe.isFunction(t) ? t() : null == t ? "" : t,
- i[i.length] = encodeURIComponent(e) + "=" + encodeURIComponent(t)
- };
- if (void 0 === t && (t = oe.ajaxSettings && oe.ajaxSettings.traditional),
- oe.isArray(e) || e.jquery && !oe.isPlainObject(e))
- oe.each(e, function() {
- r(this.name, this.value)
- });
- else
- for (n in e)
- B(n, e[n], t, r);
- return i.join("&").replace(Ot, "+")
- }
- ,
- oe.fn.extend({
- serialize: function() {
- return oe.param(this.serializeArray())
- },
- serializeArray: function() {
- return this.map(function() {
- var e = oe.prop(this, "elements");
- return e ? oe.makeArray(e) : this
- }).filter(function() {
- var e = this.type;
- return this.name && !oe(this).is(":disabled") && Yt.test(this.nodeName) && !At.test(e) && (this.checked || !Ye.test(e))
- }).map(function(e, t) {
- var n = oe(this).val();
- return null == n ? null : oe.isArray(n) ? oe.map(n, function(e) {
- return {
- name: t.name,
- value: e.replace(Nt, "\r\n")
- }
- }) : {
- name: t.name,
- value: n.replace(Nt, "\r\n")
- }
- }).get()
- }
- }),
- oe.ajaxSettings.xhr = function() {
- try {
- return new e.XMLHttpRequest
- } catch (t) {}
- }
- ;
- var Pt = {
- 0: 200,
- 1223: 204
- }
- , Rt = oe.ajaxSettings.xhr();
- ie.cors = !!Rt && "withCredentials"in Rt,
- ie.ajax = Rt = !!Rt,
- oe.ajaxTransport(function(t) {
- var n, i;
- if (ie.cors || Rt && !t.crossDomain)
- return {
- send: function(r, o) {
- var s, a = t.xhr();
- if (a.open(t.type, t.url, t.async, t.username, t.password),
- t.xhrFields)
- for (s in t.xhrFields)
- a[s] = t.xhrFields[s];
- t.mimeType && a.overrideMimeType && a.overrideMimeType(t.mimeType),
- t.crossDomain || r["X-Requested-With"] || (r["X-Requested-With"] = "XMLHttpRequest");
- for (s in r)
- a.setRequestHeader(s, r[s]);
- n = function(e) {
- return function() {
- n && (n = i = a.onload = a.onerror = a.onabort = a.onreadystatechange = null,
- "abort" === e ? a.abort() : "error" === e ? "number" != typeof a.status ? o(0, "error") : o(a.status, a.statusText) : o(Pt[a.status] || a.status, a.statusText, "text" !== (a.responseType || "text") || "string" != typeof a.responseText ? {
- binary: a.response
- } : {
- text: a.responseText
- }, a.getAllResponseHeaders()))
- }
- }
- ,
- a.onload = n(),
- i = a.onerror = n("error"),
- void 0 !== a.onabort ? a.onabort = i : a.onreadystatechange = function() {
- 4 === a.readyState && e.setTimeout(function() {
- n && i()
- })
- }
- ,
- n = n("abort");
- try {
- a.send(t.hasContent && t.data || null)
- } catch (u) {
- if (n)
- throw u
- }
- },
- abort: function() {
- n && n()
- }
- }
- }),
- oe.ajaxSetup({
- accepts: {
- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
- },
- contents: {
- script: /\b(?:java|ecma)script\b/
- },
- converters: {
- "text script": function(e) {
- return oe.globalEval(e),
- e
- }
- }
- }),
- oe.ajaxPrefilter("script", function(e) {
- void 0 === e.cache && (e.cache = !1),
- e.crossDomain && (e.type = "GET")
- }),
- oe.ajaxTransport("script", function(e) {
- if (e.crossDomain) {
- var t, n;
- return {
- send: function(i, r) {
- t = oe("<script>").prop({
- charset: e.scriptCharset,
- src: e.url
- }).on("load error", n = function(e) {
- t.remove(),
- n = null,
- e && r("error" === e.type ? 404 : 200, e.type)
- }
- ),
- Z.head.appendChild(t[0])
- },
- abort: function() {
- n && n()
- }
- }
- }
- });
- var Lt = []
- , jt = /(=)\?(?=&|$)|\?\?/;
- oe.ajaxSetup({
- jsonp: "callback",
- jsonpCallback: function() {
- var e = Lt.pop() || oe.expando + "_" + yt++;
- return this[e] = !0,
- e
- }
- }),
- oe.ajaxPrefilter("json jsonp", function(t, n, i) {
- var r, o, s, a = t.jsonp !== !1 && (jt.test(t.url) ? "url" : "string" == typeof t.data && 0 === (t.contentType || "").indexOf("application/x-www-form-urlencoded") && jt.test(t.data) && "data");
- if (a || "jsonp" === t.dataTypes[0])
- return r = t.jsonpCallback = oe.isFunction(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback,
- a ? t[a] = t[a].replace(jt, "$1" + r) : t.jsonp !== !1 && (t.url += (vt.test(t.url) ? "&" : "?") + t.jsonp + "=" + r),
- t.converters["script json"] = function() {
- return s || oe.error(r + " was not called"),
- s[0]
- }
- ,
- t.dataTypes[0] = "json",
- o = e[r],
- e[r] = function() {
- s = arguments
- }
- ,
- i.always(function() {
- void 0 === o ? oe(e).removeProp(r) : e[r] = o,
- t[r] && (t.jsonpCallback = n.jsonpCallback,
- Lt.push(r)),
- s && oe.isFunction(o) && o(s[0]),
- s = o = void 0
- }),
- "script"
- }),
- oe.parseHTML = function(e, t, n) {
- if (!e || "string" != typeof e)
- return null;
- "boolean" == typeof t && (n = t,
- t = !1),
- t = t || Z;
- var i = pe.exec(e)
- , r = !n && [];
- return i ? [t.createElement(i[1])] : (i = f([e], t, r),
- r && r.length && oe(r).remove(),
- oe.merge([], i.childNodes))
- }
- ;
- var $t = oe.fn.load;
- oe.fn.load = function(e, t, n) {
- if ("string" != typeof e && $t)
- return $t.apply(this, arguments);
- var i, r, o, s = this, a = e.indexOf(" ");
- return a > -1 && (i = oe.trim(e.slice(a)),
- e = e.slice(0, a)),
- oe.isFunction(t) ? (n = t,
- t = void 0) : t && "object" === ("undefined" == typeof t ? "undefined" : _typeof(t)) && (r = "POST"),
- s.length > 0 && oe.ajax({
- url: e,
- type: r || "GET",
- dataType: "html",
- data: t
- }).done(function(e) {
- o = arguments,
- s.html(i ? oe("<div>").append(oe.parseHTML(e)).find(i) : e)
- }).always(n && function(e, t) {
- s.each(function() {
- n.apply(this, o || [e.responseText, t, e])
- })
- }
- ),
- this
- }
- ,
- oe.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(e, t) {
- oe.fn[t] = function(e) {
- return this.on(t, e)
- }
- }),
- oe.expr.filters.animated = function(e) {
- return oe.grep(oe.timers, function(t) {
- return e === t.elem
- }).length
- }
- ,
- oe.offset = {
- setOffset: function(e, t, n) {
- var i, r, o, s, a, u, l, c = oe.css(e, "position"), d = oe(e), f = {};
- "static" === c && (e.style.position = "relative"),
- a = d.offset(),
- o = oe.css(e, "top"),
- u = oe.css(e, "left"),
- l = ("absolute" === c || "fixed" === c) && (o + u).indexOf("auto") > -1,
- l ? (i = d.position(),
- s = i.top,
- r = i.left) : (s = parseFloat(o) || 0,
- r = parseFloat(u) || 0),
- oe.isFunction(t) && (t = t.call(e, n, oe.extend({}, a))),
- null != t.top && (f.top = t.top - a.top + s),
- null != t.left && (f.left = t.left - a.left + r),
- "using"in t ? t.using.call(e, f) : d.css(f)
- }
- },
- oe.fn.extend({
- offset: function(e) {
- if (arguments.length)
- return void 0 === e ? this : this.each(function(t) {
- oe.offset.setOffset(this, e, t)
- });
- var t, n, i = this[0], r = {
- top: 0,
- left: 0
- }, o = i && i.ownerDocument;
- if (o)
- return t = o.documentElement,
- oe.contains(t, i) ? (r = i.getBoundingClientRect(),
- n = V(o),
- {
- top: r.top + n.pageYOffset - t.clientTop,
- left: r.left + n.pageXOffset - t.clientLeft
- }) : r
- },
- position: function() {
- if (this[0]) {
- var e, t, n = this[0], i = {
- top: 0,
- left: 0
- };
- return "fixed" === oe.css(n, "position") ? t = n.getBoundingClientRect() : (e = this.offsetParent(),
- t = this.offset(),
- oe.nodeName(e[0], "html") || (i = e.offset()),
- i.top += oe.css(e[0], "borderTopWidth", !0),
- i.left += oe.css(e[0], "borderLeftWidth", !0)),
- {
- top: t.top - i.top - oe.css(n, "marginTop", !0),
- left: t.left - i.left - oe.css(n, "marginLeft", !0)
- }
- }
- },
- offsetParent: function() {
- return this.map(function() {
- for (var e = this.offsetParent; e && "static" === oe.css(e, "position"); )
- e = e.offsetParent;
- return e || Je
- })
- }
- }),
- oe.each({
- scrollLeft: "pageXOffset",
- scrollTop: "pageYOffset"
- }, function(e, t) {
- var n = "pageYOffset" === t;
- oe.fn[e] = function(i) {
- return ke(this, function(e, i, r) {
- var o = V(e);
- return void 0 === r ? o ? o[t] : e[i] : void (o ? o.scrollTo(n ? o.pageXOffset : r, n ? r : o.pageYOffset) : e[i] = r)
- }, e, i, arguments.length)
- }
- }),
- oe.each(["top", "left"], function(e, t) {
- oe.cssHooks[t] = C(ie.pixelPosition, function(e, n) {
- if (n)
- return n = D(e, t),
- Ze.test(n) ? oe(e).position()[t] + "px" : n
- })
- }),
- oe.each({
- Height: "height",
- Width: "width"
- }, function(e, t) {
- oe.each({
- padding: "inner" + e,
- content: t,
- "": "outer" + e
- }, function(n, i) {
- oe.fn[i] = function(i, r) {
- var o = arguments.length && (n || "boolean" != typeof i)
- , s = n || (i === !0 || r === !0 ? "margin" : "border");
- return ke(this, function(t, n, i) {
- var r;
- return oe.isWindow(t) ? t.document.documentElement["client" + e] : 9 === t.nodeType ? (r = t.documentElement,
- Math.max(t.body["scroll" + e], r["scroll" + e], t.body["offset" + e], r["offset" + e], r["client" + e])) : void 0 === i ? oe.css(t, n, s) : oe.style(t, n, i, s)
- }, t, o ? i : void 0, o, null)
- }
- })
- }),
- oe.fn.extend({
- bind: function(e, t, n) {
- return this.on(e, null, t, n)
- },
- unbind: function(e, t) {
- return this.off(e, null, t)
- },
- delegate: function(e, t, n, i) {
- return this.on(t, e, n, i)
- },
- undelegate: function(e, t, n) {
- return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
- },
- size: function() {
- return this.length
- }
- }),
- oe.fn.andSelf = oe.fn.addBack,
- "function" == typeof define && define.amd && define("jquery", [], function() {
- return oe
- });
- var Ht = e.jQuery
- , It = e.$;
- return oe.noConflict = function(t) {
- return e.$ === oe && (e.$ = It),
- t && e.jQuery === oe && (e.jQuery = Ht),
- oe
- }
- ,
- t || (e.jQuery = e.$ = oe),
- oe
- });
- var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
- return typeof e
- }
- : function(e) {
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
- }
- ;
- !function(e, t) {
- "object" === ("undefined" == typeof exports ? "undefined" : _typeof(exports)) && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : window.moment = t()
- }(void 0, function() {
- function e() {
- return bi.apply(null, arguments)
- }
- function t(e) {
- bi = e
- }
- function n(e) {
- return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e)
- }
- function i(e) {
- return null != e && "[object Object]" === Object.prototype.toString.call(e)
- }
- function r(e) {
- var t;
- for (t in e)
- return !1;
- return !0
- }
- function o(e) {
- return void 0 === e
- }
- function s(e) {
- return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e)
- }
- function a(e) {
- return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
- }
- function u(e, t) {
- var n, i = [];
- for (n = 0; n < e.length; ++n)
- i.push(t(e[n], n));
- return i
- }
- function l(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }
- function c(e, t) {
- for (var n in t)
- l(t, n) && (e[n] = t[n]);
- return l(t, "toString") && (e.toString = t.toString),
- l(t, "valueOf") && (e.valueOf = t.valueOf),
- e
- }
- function d(e, t, n, i) {
- return vt(e, t, n, i, !0).utc()
- }
- function f() {
- return {
- empty: !1,
- unusedTokens: [],
- unusedInput: [],
- overflow: -2,
- charsLeftOver: 0,
- nullInput: !1,
- invalidMonth: null,
- invalidFormat: !1,
- userInvalidated: !1,
- iso: !1,
- parsedDateParts: [],
- meridiem: null,
- rfc2822: !1,
- weekdayMismatch: !1
- }
- }
- function h(e) {
- return null == e._pf && (e._pf = f()),
- e._pf
- }
- function p(e) {
- if (null == e._isValid) {
- var t = h(e)
- , n = wi.call(t.parsedDateParts, function(e) {
- return null != e
- })
- , i = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidMonth && !t.invalidWeekday && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n);
- if (e._strict && (i = i && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour),
- null != Object.isFrozen && Object.isFrozen(e))
- return i;
- e._isValid = i
- }
- return e._isValid
- }
- function m(e) {
- var t = d(NaN);
- return null != e ? c(h(t), e) : h(t).userInvalidated = !0,
- t
- }
- function g(e, t) {
- var n, i, r;
- if (o(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject),
- o(t._i) || (e._i = t._i),
- o(t._f) || (e._f = t._f),
- o(t._l) || (e._l = t._l),
- o(t._strict) || (e._strict = t._strict),
- o(t._tzm) || (e._tzm = t._tzm),
- o(t._isUTC) || (e._isUTC = t._isUTC),
- o(t._offset) || (e._offset = t._offset),
- o(t._pf) || (e._pf = h(t)),
- o(t._locale) || (e._locale = t._locale),
- xi.length > 0)
- for (n = 0; n < xi.length; n++)
- i = xi[n],
- r = t[i],
- o(r) || (e[i] = r);
- return e
- }
- function y(t) {
- g(this, t),
- this._d = new Date(null != t._d ? t._d.getTime() : NaN),
- this.isValid() || (this._d = new Date(NaN)),
- ki === !1 && (ki = !0,
- e.updateOffset(this),
- ki = !1)
- }
- function v(e) {
- return e instanceof y || null != e && null != e._isAMomentObject
- }
- function b(e) {
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
- }
- function _(e) {
- var t = +e
- , n = 0;
- return 0 !== t && isFinite(t) && (n = b(t)),
- n
- }
- function w(e, t, n) {
- var i, r = Math.min(e.length, t.length), o = Math.abs(e.length - t.length), s = 0;
- for (i = 0; i < r; i++)
- (n && e[i] !== t[i] || !n && _(e[i]) !== _(t[i])) && s++;
- return s + o
- }
- function x(t) {
- e.suppressDeprecationWarnings === !1 && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + t)
- }
- function k(t, n) {
- var i = !0;
- return c(function() {
- if (null != e.deprecationHandler && e.deprecationHandler(null, t),
- i) {
- for (var r, o = [], s = 0; s < arguments.length; s++) {
- if (r = "",
- "object" === _typeof(arguments[s])) {
- r += "\n[" + s + "] ";
- for (var a in arguments[0])
- r += a + ": " + arguments[0][a] + ", ";
- r = r.slice(0, -2)
- } else
- r = arguments[s];
- o.push(r)
- }
- x(t + "\nArguments: " + Array.prototype.slice.call(o).join("") + "\n" + (new Error).stack),
- i = !1
- }
- return n.apply(this, arguments)
- }, n)
- }
- function S(t, n) {
- null != e.deprecationHandler && e.deprecationHandler(t, n),
- Si[t] || (x(n),
- Si[t] = !0)
- }
- function T(e) {
- return e instanceof Function || "[object Function]" === Object.prototype.toString.call(e)
- }
- function D(e) {
- var t, n;
- for (n in e)
- t = e[n],
- T(t) ? this[n] = t : this["_" + n] = t;
- this._config = e,
- this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source)
- }
- function C(e, t) {
- var n, r = c({}, e);
- for (n in t)
- l(t, n) && (i(e[n]) && i(t[n]) ? (r[n] = {},
- c(r[n], e[n]),
- c(r[n], t[n])) : null != t[n] ? r[n] = t[n] : delete r[n]);
- for (n in e)
- l(e, n) && !l(t, n) && i(e[n]) && (r[n] = c({}, r[n]));
- return r
- }
- function M(e) {
- null != e && this.set(e)
- }
- function O(e, t, n) {
- var i = this._calendar[e] || this._calendar.sameElse;
- return T(i) ? i.call(t, n) : i
- }
- function E(e) {
- var t = this._longDateFormat[e]
- , n = this._longDateFormat[e.toUpperCase()];
- return t || !n ? t : (this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function(e) {
- return e.slice(1)
- }),
- this._longDateFormat[e])
- }
- function N() {
- return this._invalidDate
- }
- function A(e) {
- return this._ordinal.replace("%d", e)
- }
- function Y(e, t, n, i) {
- var r = this._relativeTime[n];
- return T(r) ? r(e, t, n, i) : r.replace(/%d/i, e)
- }
- function P(e, t) {
- var n = this._relativeTime[e > 0 ? "future" : "past"];
- return T(n) ? n(t) : n.replace(/%s/i, t)
- }
- function R(e, t) {
- var n = e.toLowerCase();
- Pi[n] = Pi[n + "s"] = Pi[t] = e
- }
- function L(e) {
- return "string" == typeof e ? Pi[e] || Pi[e.toLowerCase()] : void 0
- }
- function j(e) {
- var t, n, i = {};
- for (n in e)
- l(e, n) && (t = L(n),
- t && (i[t] = e[n]));
- return i
- }
- function $(e, t) {
- Ri[e] = t
- }
- function H(e) {
- var t = [];
- for (var n in e)
- t.push({
- unit: n,
- priority: Ri[n]
- });
- return t.sort(function(e, t) {
- return e.priority - t.priority
- }),
- t
- }
- function I(t, n) {
- return function(i) {
- return null != i ? (F(this, t, i),
- e.updateOffset(this, n),
- this) : W(this, t)
- }
- }
- function W(e, t) {
- return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN
- }
- function F(e, t, n) {
- e.isValid() && e._d["set" + (e._isUTC ? "UTC" : "") + t](n)
- }
- function q(e) {
- return e = L(e),
- T(this[e]) ? this[e]() : this
- }
- function U(e, t) {
- if ("object" === ("undefined" == typeof e ? "undefined" : _typeof(e))) {
- e = j(e);
- for (var n = H(e), i = 0; i < n.length; i++)
- this[n[i].unit](e[n[i].unit])
- } else if (e = L(e),
- T(this[e]))
- return this[e](t);
- return this
- }
- function G(e, t, n) {
- var i = "" + Math.abs(e)
- , r = t - i.length
- , o = e >= 0;
- return (o ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, r)).toString().substr(1) + i
- }
- function B(e, t, n, i) {
- var r = i;
- "string" == typeof i && (r = function() {
- return this[i]()
- }
- ),
- e && (Hi[e] = r),
- t && (Hi[t[0]] = function() {
- return G(r.apply(this, arguments), t[1], t[2])
- }
- ),
- n && (Hi[n] = function() {
- return this.localeData().ordinal(r.apply(this, arguments), e)
- }
- )
- }
- function V(e) {
- return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "")
- }
- function z(e) {
- var t, n, i = e.match(Li);
- for (t = 0,
- n = i.length; t < n; t++)
- Hi[i[t]] ? i[t] = Hi[i[t]] : i[t] = V(i[t]);
- return function(t) {
- var r, o = "";
- for (r = 0; r < n; r++)
- o += T(i[r]) ? i[r].call(t, e) : i[r];
- return o
- }
- }
- function Z(e, t) {
- return e.isValid() ? (t = X(t, e.localeData()),
- $i[t] = $i[t] || z(t),
- $i[t](e)) : e.localeData().invalidDate()
- }
- function X(e, t) {
- function n(e) {
- return t.longDateFormat(e) || e
- }
- var i = 5;
- for (ji.lastIndex = 0; i >= 0 && ji.test(e); )
- e = e.replace(ji, n),
- ji.lastIndex = 0,
- i -= 1;
- return e
- }
- function Q(e, t, n) {
- ir[e] = T(t) ? t : function(e, i) {
- return e && n ? n : t
- }
- }
- function J(e, t) {
- return l(ir, e) ? ir[e](t._strict, t._locale) : new RegExp(K(e))
- }
- function K(e) {
- return ee(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e, t, n, i, r) {
- return t || n || i || r
- }))
- }
- function ee(e) {
- return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
- }
- function te(e, t) {
- var n, i = t;
- for ("string" == typeof e && (e = [e]),
- s(t) && (i = function(e, n) {
- n[t] = _(e)
- }
- ),
- n = 0; n < e.length; n++)
- rr[e[n]] = i
- }
- function ne(e, t) {
- te(e, function(e, n, i, r) {
- i._w = i._w || {},
- t(e, i._w, i, r)
- })
- }
- function ie(e, t, n) {
- null != t && l(rr, e) && rr[e](t, n._a, n, e)
- }
- function re(e, t) {
- return new Date(Date.UTC(e, t + 1, 0)).getUTCDate()
- }
- function oe(e, t) {
- return e ? n(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || mr).test(t) ? "format" : "standalone"][e.month()] : n(this._months) ? this._months : this._months.standalone
- }
- function se(e, t) {
- return e ? n(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[mr.test(t) ? "format" : "standalone"][e.month()] : n(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone
- }
- function ae(e, t, n) {
- var i, r, o, s = e.toLocaleLowerCase();
- if (!this._monthsParse)
- for (this._monthsParse = [],
- this._longMonthsParse = [],
- this._shortMonthsParse = [],
- i = 0; i < 12; ++i)
- o = d([2e3, i]),
- this._shortMonthsParse[i] = this.monthsShort(o, "").toLocaleLowerCase(),
- this._longMonthsParse[i] = this.months(o, "").toLocaleLowerCase();
- return n ? "MMM" === t ? (r = pr.call(this._shortMonthsParse, s),
- r !== -1 ? r : null) : (r = pr.call(this._longMonthsParse, s),
- r !== -1 ? r : null) : "MMM" === t ? (r = pr.call(this._shortMonthsParse, s),
- r !== -1 ? r : (r = pr.call(this._longMonthsParse, s),
- r !== -1 ? r : null)) : (r = pr.call(this._longMonthsParse, s),
- r !== -1 ? r : (r = pr.call(this._shortMonthsParse, s),
- r !== -1 ? r : null))
- }
- function ue(e, t, n) {
- var i, r, o;
- if (this._monthsParseExact)
- return ae.call(this, e, t, n);
- for (this._monthsParse || (this._monthsParse = [],
- this._longMonthsParse = [],
- this._shortMonthsParse = []),
- i = 0; i < 12; i++) {
- if (r = d([2e3, i]),
- n && !this._longMonthsParse[i] && (this._longMonthsParse[i] = new RegExp("^" + this.months(r, "").replace(".", "") + "$","i"),
- this._shortMonthsParse[i] = new RegExp("^" + this.monthsShort(r, "").replace(".", "") + "$","i")),
- n || this._monthsParse[i] || (o = "^" + this.months(r, "") + "|^" + this.monthsShort(r, ""),
- this._monthsParse[i] = new RegExp(o.replace(".", ""),"i")),
- n && "MMMM" === t && this._longMonthsParse[i].test(e))
- return i;
- if (n && "MMM" === t && this._shortMonthsParse[i].test(e))
- return i;
- if (!n && this._monthsParse[i].test(e))
- return i
- }
- }
- function le(e, t) {
- var n;
- if (!e.isValid())
- return e;
- if ("string" == typeof t)
- if (/^\d+$/.test(t))
- t = _(t);
- else if (t = e.localeData().monthsParse(t),
- !s(t))
- return e;
- return n = Math.min(e.date(), re(e.year(), t)),
- e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n),
- e
- }
- function ce(t) {
- return null != t ? (le(this, t),
- e.updateOffset(this, !0),
- this) : W(this, "Month")
- }
- function de() {
- return re(this.year(), this.month())
- }
- function fe(e) {
- return this._monthsParseExact ? (l(this, "_monthsRegex") || pe.call(this),
- e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (l(this, "_monthsShortRegex") || (this._monthsShortRegex = vr),
- this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex)
- }
- function he(e) {
- return this._monthsParseExact ? (l(this, "_monthsRegex") || pe.call(this),
- e ? this._monthsStrictRegex : this._monthsRegex) : (l(this, "_monthsRegex") || (this._monthsRegex = br),
- this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex)
- }
- function pe() {
- function e(e, t) {
- return t.length - e.length
- }
- var t, n, i = [], r = [], o = [];
- for (t = 0; t < 12; t++)
- n = d([2e3, t]),
- i.push(this.monthsShort(n, "")),
- r.push(this.months(n, "")),
- o.push(this.months(n, "")),
- o.push(this.monthsShort(n, ""));
- for (i.sort(e),
- r.sort(e),
- o.sort(e),
- t = 0; t < 12; t++)
- i[t] = ee(i[t]),
- r[t] = ee(r[t]);
- for (t = 0; t < 24; t++)
- o[t] = ee(o[t]);
- this._monthsRegex = new RegExp("^(" + o.join("|") + ")","i"),
- this._monthsShortRegex = this._monthsRegex,
- this._monthsStrictRegex = new RegExp("^(" + r.join("|") + ")","i"),
- this._monthsShortStrictRegex = new RegExp("^(" + i.join("|") + ")","i")
- }
- function me(e) {
- return ge(e) ? 366 : 365
- }
- function ge(e) {
- return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0
- }
- function ye() {
- return ge(this.year())
- }
- function ve(e, t, n, i, r, o, s) {
- var a = new Date(e,t,n,i,r,o,s);
- return e < 100 && e >= 0 && isFinite(a.getFullYear()) && a.setFullYear(e),
- a
- }
- function be(e) {
- var t = new Date(Date.UTC.apply(null, arguments));
- return e < 100 && e >= 0 && isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e),
- t
- }
- function _e(e, t, n) {
- var i = 7 + t - n
- , r = (7 + be(e, 0, i).getUTCDay() - t) % 7;
- return -r + i - 1
- }
- function we(e, t, n, i, r) {
- var o, s, a = (7 + n - i) % 7, u = _e(e, i, r), l = 1 + 7 * (t - 1) + a + u;
- return l <= 0 ? (o = e - 1,
- s = me(o) + l) : l > me(e) ? (o = e + 1,
- s = l - me(e)) : (o = e,
- s = l),
- {
- year: o,
- dayOfYear: s
- }
- }
- function xe(e, t, n) {
- var i, r, o = _e(e.year(), t, n), s = Math.floor((e.dayOfYear() - o - 1) / 7) + 1;
- return s < 1 ? (r = e.year() - 1,
- i = s + ke(r, t, n)) : s > ke(e.year(), t, n) ? (i = s - ke(e.year(), t, n),
- r = e.year() + 1) : (r = e.year(),
- i = s),
- {
- week: i,
- year: r
- }
- }
- function ke(e, t, n) {
- var i = _e(e, t, n)
- , r = _e(e + 1, t, n);
- return (me(e) - i + r) / 7
- }
- function Se(e) {
- return xe(e, this._week.dow, this._week.doy).week
- }
- function Te() {
- return this._week.dow
- }
- function De() {
- return this._week.doy
- }
- function Ce(e) {
- var t = this.localeData().week(this);
- return null == e ? t : this.add(7 * (e - t), "d")
- }
- function Me(e) {
- var t = xe(this, 1, 4).week;
- return null == e ? t : this.add(7 * (e - t), "d")
- }
- function Oe(e, t) {
- return "string" != typeof e ? e : isNaN(e) ? (e = t.weekdaysParse(e),
- "number" == typeof e ? e : null) : parseInt(e, 10)
- }
- function Ee(e, t) {
- return "string" == typeof e ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e
- }
- function Ne(e, t) {
- return e ? n(this._weekdays) ? this._weekdays[e.day()] : this._weekdays[this._weekdays.isFormat.test(t) ? "format" : "standalone"][e.day()] : n(this._weekdays) ? this._weekdays : this._weekdays.standalone
- }
- function Ae(e) {
- return e ? this._weekdaysShort[e.day()] : this._weekdaysShort
- }
- function Ye(e) {
- return e ? this._weekdaysMin[e.day()] : this._weekdaysMin
- }
- function Pe(e, t, n) {
- var i, r, o, s = e.toLocaleLowerCase();
- if (!this._weekdaysParse)
- for (this._weekdaysParse = [],
- this._shortWeekdaysParse = [],
- this._minWeekdaysParse = [],
- i = 0; i < 7; ++i)
- o = d([2e3, 1]).day(i),
- this._minWeekdaysParse[i] = this.weekdaysMin(o, "").toLocaleLowerCase(),
- this._shortWeekdaysParse[i] = this.weekdaysShort(o, "").toLocaleLowerCase(),
- this._weekdaysParse[i] = this.weekdays(o, "").toLocaleLowerCase();
- return n ? "dddd" === t ? (r = pr.call(this._weekdaysParse, s),
- r !== -1 ? r : null) : "ddd" === t ? (r = pr.call(this._shortWeekdaysParse, s),
- r !== -1 ? r : null) : (r = pr.call(this._minWeekdaysParse, s),
- r !== -1 ? r : null) : "dddd" === t ? (r = pr.call(this._weekdaysParse, s),
- r !== -1 ? r : (r = pr.call(this._shortWeekdaysParse, s),
- r !== -1 ? r : (r = pr.call(this._minWeekdaysParse, s),
- r !== -1 ? r : null))) : "ddd" === t ? (r = pr.call(this._shortWeekdaysParse, s),
- r !== -1 ? r : (r = pr.call(this._weekdaysParse, s),
- r !== -1 ? r : (r = pr.call(this._minWeekdaysParse, s),
- r !== -1 ? r : null))) : (r = pr.call(this._minWeekdaysParse, s),
- r !== -1 ? r : (r = pr.call(this._weekdaysParse, s),
- r !== -1 ? r : (r = pr.call(this._shortWeekdaysParse, s),
- r !== -1 ? r : null)))
- }
- function Re(e, t, n) {
- var i, r, o;
- if (this._weekdaysParseExact)
- return Pe.call(this, e, t, n);
- for (this._weekdaysParse || (this._weekdaysParse = [],
- this._minWeekdaysParse = [],
- this._shortWeekdaysParse = [],
- this._fullWeekdaysParse = []),
- i = 0; i < 7; i++) {
- if (r = d([2e3, 1]).day(i),
- n && !this._fullWeekdaysParse[i] && (this._fullWeekdaysParse[i] = new RegExp("^" + this.weekdays(r, "").replace(".", ".?") + "$","i"),
- this._shortWeekdaysParse[i] = new RegExp("^" + this.weekdaysShort(r, "").replace(".", ".?") + "$","i"),
- this._minWeekdaysParse[i] = new RegExp("^" + this.weekdaysMin(r, "").replace(".", ".?") + "$","i")),
- this._weekdaysParse[i] || (o = "^" + this.weekdays(r, "") + "|^" + this.weekdaysShort(r, "") + "|^" + this.weekdaysMin(r, ""),
- this._weekdaysParse[i] = new RegExp(o.replace(".", ""),"i")),
- n && "dddd" === t && this._fullWeekdaysParse[i].test(e))
- return i;
- if (n && "ddd" === t && this._shortWeekdaysParse[i].test(e))
- return i;
- if (n && "dd" === t && this._minWeekdaysParse[i].test(e))
- return i;
- if (!n && this._weekdaysParse[i].test(e))
- return i
- }
- }
- function Le(e) {
- if (!this.isValid())
- return null != e ? this : NaN;
- var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
- return null != e ? (e = Oe(e, this.localeData()),
- this.add(e - t, "d")) : t
- }
- function je(e) {
- if (!this.isValid())
- return null != e ? this : NaN;
- var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
- return null == e ? t : this.add(e - t, "d")
- }
- function $e(e) {
- if (!this.isValid())
- return null != e ? this : NaN;
- if (null != e) {
- var t = Ee(e, this.localeData());
- return this.day(this.day() % 7 ? t : t - 7)
- }
- return this.day() || 7
- }
- function He(e) {
- return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Fe.call(this),
- e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (l(this, "_weekdaysRegex") || (this._weekdaysRegex = Tr),
- this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex)
- }
- function Ie(e) {
- return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Fe.call(this),
- e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (l(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Dr),
- this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex)
- }
- function We(e) {
- return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Fe.call(this),
- e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (l(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Cr),
- this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex)
- }
- function Fe() {
- function e(e, t) {
- return t.length - e.length
- }
- var t, n, i, r, o, s = [], a = [], u = [], l = [];
- for (t = 0; t < 7; t++)
- n = d([2e3, 1]).day(t),
- i = this.weekdaysMin(n, ""),
- r = this.weekdaysShort(n, ""),
- o = this.weekdays(n, ""),
- s.push(i),
- a.push(r),
- u.push(o),
- l.push(i),
- l.push(r),
- l.push(o);
- for (s.sort(e),
- a.sort(e),
- u.sort(e),
- l.sort(e),
- t = 0; t < 7; t++)
- a[t] = ee(a[t]),
- u[t] = ee(u[t]),
- l[t] = ee(l[t]);
- this._weekdaysRegex = new RegExp("^(" + l.join("|") + ")","i"),
- this._weekdaysShortRegex = this._weekdaysRegex,
- this._weekdaysMinRegex = this._weekdaysRegex,
- this._weekdaysStrictRegex = new RegExp("^(" + u.join("|") + ")","i"),
- this._weekdaysShortStrictRegex = new RegExp("^(" + a.join("|") + ")","i"),
- this._weekdaysMinStrictRegex = new RegExp("^(" + s.join("|") + ")","i")
- }
- function qe() {
- return this.hours() % 12 || 12
- }
- function Ue() {
- return this.hours() || 24
- }
- function Ge(e, t) {
- B(e, 0, 0, function() {
- return this.localeData().meridiem(this.hours(), this.minutes(), t)
- })
- }
- function Be(e, t) {
- return t._meridiemParse
- }
- function Ve(e) {
- return "p" === (e + "").toLowerCase().charAt(0)
- }
- function ze(e, t, n) {
- return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM"
- }
- function Ze(e) {
- return e ? e.toLowerCase().replace("_", "-") : e
- }
- function Xe(e) {
- for (var t, n, i, r, o = 0; o < e.length; ) {
- for (r = Ze(e[o]).split("-"),
- t = r.length,
- n = Ze(e[o + 1]),
- n = n ? n.split("-") : null; t > 0; ) {
- if (i = Qe(r.slice(0, t).join("-")))
- return i;
- if (n && n.length >= t && w(r, n, !0) >= t - 1)
- break;
- t--
- }
- o++
- }
- return null
- }
- function Qe(e) {
- var t = null;
- if (!Ar[e] && "undefined" != typeof module && module && module.exports)
- try {
- t = Mr._abbr,
- require("./locale/" + e),
- Je(t)
- } catch (n) {}
- return Ar[e]
- }
- function Je(e, t) {
- var n;
- return e && (n = o(t) ? tt(e) : Ke(e, t),
- n && (Mr = n)),
- Mr._abbr
- }
- function Ke(e, t) {
- if (null !== t) {
- var n = Nr;
- if (t.abbr = e,
- null != Ar[e])
- S("defineLocaleOverride", "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),
- n = Ar[e]._config;
- else if (null != t.parentLocale) {
- if (null == Ar[t.parentLocale])
- return Yr[t.parentLocale] || (Yr[t.parentLocale] = []),
- Yr[t.parentLocale].push({
- name: e,
- config: t
- }),
- null;
- n = Ar[t.parentLocale]._config
- }
- return Ar[e] = new M(C(n, t)),
- Yr[e] && Yr[e].forEach(function(e) {
- Ke(e.name, e.config)
- }),
- Je(e),
- Ar[e]
- }
- return delete Ar[e],
- null
- }
- function et(e, t) {
- if (null != t) {
- var n, i = Nr;
- null != Ar[e] && (i = Ar[e]._config),
- t = C(i, t),
- n = new M(t),
- n.parentLocale = Ar[e],
- Ar[e] = n,
- Je(e)
- } else
- null != Ar[e] && (null != Ar[e].parentLocale ? Ar[e] = Ar[e].parentLocale : null != Ar[e] && delete Ar[e]);
- return Ar[e]
- }
- function tt(e) {
- var t;
- if (e && e._locale && e._locale._abbr && (e = e._locale._abbr),
- !e)
- return Mr;
- if (!n(e)) {
- if (t = Qe(e))
- return t;
- e = [e]
- }
- return Xe(e)
- }
- function nt() {
- return Ci(Ar)
- }
- function it(e) {
- var t, n = e._a;
- return n && h(e).overflow === -2 && (t = n[sr] < 0 || n[sr] > 11 ? sr : n[ar] < 1 || n[ar] > re(n[or], n[sr]) ? ar : n[ur] < 0 || n[ur] > 24 || 24 === n[ur] && (0 !== n[lr] || 0 !== n[cr] || 0 !== n[dr]) ? ur : n[lr] < 0 || n[lr] > 59 ? lr : n[cr] < 0 || n[cr] > 59 ? cr : n[dr] < 0 || n[dr] > 999 ? dr : -1,
- h(e)._overflowDayOfYear && (t < or || t > ar) && (t = ar),
- h(e)._overflowWeeks && t === -1 && (t = fr),
- h(e)._overflowWeekday && t === -1 && (t = hr),
- h(e).overflow = t),
- e
- }
- function rt(e) {
- var t, n, i, r, o, s, a = e._i, u = Pr.exec(a) || Rr.exec(a);
- if (u) {
- for (h(e).iso = !0,
- t = 0,
- n = jr.length; t < n; t++)
- if (jr[t][1].exec(u[1])) {
- r = jr[t][0],
- i = jr[t][2] !== !1;
- break
- }
- if (null == r)
- return void (e._isValid = !1);
- if (u[3]) {
- for (t = 0,
- n = $r.length; t < n; t++)
- if ($r[t][1].exec(u[3])) {
- o = (u[2] || " ") + $r[t][0];
- break
- }
- if (null == o)
- return void (e._isValid = !1)
- }
- if (!i && null != o)
- return void (e._isValid = !1);
- if (u[4]) {
- if (!Lr.exec(u[4]))
- return void (e._isValid = !1);
- s = "Z"
- }
- e._f = r + (o || "") + (s || ""),
- dt(e)
- } else
- e._isValid = !1
- }
- function ot(e) {
- var t, n, i, r, o, s, a, u, l = {
- " GMT": " +0000",
- " EDT": " -0400",
- " EST": " -0500",
- " CDT": " -0500",
- " CST": " -0600",
- " MDT": " -0600",
- " MST": " -0700",
- " PDT": " -0700",
- " PST": " -0800"
- }, c = "YXWVUTSRQPONZABCDEFGHIKLM";
- if (t = e._i.replace(/\([^\)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s|\s$/g, ""),
- n = Ir.exec(t)) {
- if (i = n[1] ? "ddd" + (5 === n[1].length ? ", " : " ") : "",
- r = "D MMM " + (n[2].length > 10 ? "YYYY " : "YY "),
- o = "HH:mm" + (n[4] ? ":ss" : ""),
- n[1]) {
- var d = new Date(n[2])
- , f = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"][d.getDay()];
- if (n[1].substr(0, 3) !== f)
- return h(e).weekdayMismatch = !0,
- void (e._isValid = !1)
- }
- switch (n[5].length) {
- case 2:
- 0 === u ? a = " +0000" : (u = c.indexOf(n[5][1].toUpperCase()) - 12,
- a = (u < 0 ? " -" : " +") + ("" + u).replace(/^-?/, "0").match(/..$/)[0] + "00");
- break;
- case 4:
- a = l[n[5]];
- break;
- default:
- a = l[" GMT"]
- }
- n[5] = a,
- e._i = n.splice(1).join(""),
- s = " ZZ",
- e._f = i + r + o + s,
- dt(e),
- h(e).rfc2822 = !0
- } else
- e._isValid = !1
- }
- function st(t) {
- var n = Hr.exec(t._i);
- return null !== n ? void (t._d = new Date((+n[1]))) : (rt(t),
- void (t._isValid === !1 && (delete t._isValid,
- ot(t),
- t._isValid === !1 && (delete t._isValid,
- e.createFromInputFallback(t)))))
- }
- function at(e, t, n) {
- return null != e ? e : null != t ? t : n
- }
- function ut(t) {
- var n = new Date(e.now());
- return t._useUTC ? [n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate()] : [n.getFullYear(), n.getMonth(), n.getDate()]
- }
- function lt(e) {
- var t, n, i, r, o = [];
- if (!e._d) {
- for (i = ut(e),
- e._w && null == e._a[ar] && null == e._a[sr] && ct(e),
- null != e._dayOfYear && (r = at(e._a[or], i[or]),
- (e._dayOfYear > me(r) || 0 === e._dayOfYear) && (h(e)._overflowDayOfYear = !0),
- n = be(r, 0, e._dayOfYear),
- e._a[sr] = n.getUTCMonth(),
- e._a[ar] = n.getUTCDate()),
- t = 0; t < 3 && null == e._a[t]; ++t)
- e._a[t] = o[t] = i[t];
- for (; t < 7; t++)
- e._a[t] = o[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t];
- 24 === e._a[ur] && 0 === e._a[lr] && 0 === e._a[cr] && 0 === e._a[dr] && (e._nextDay = !0,
- e._a[ur] = 0),
- e._d = (e._useUTC ? be : ve).apply(null, o),
- null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm),
- e._nextDay && (e._a[ur] = 24)
- }
- }
- function ct(e) {
- var t, n, i, r, o, s, a, u;
- if (t = e._w,
- null != t.GG || null != t.W || null != t.E)
- o = 1,
- s = 4,
- n = at(t.GG, e._a[or], xe(bt(), 1, 4).year),
- i = at(t.W, 1),
- r = at(t.E, 1),
- (r < 1 || r > 7) && (u = !0);
- else {
- o = e._locale._week.dow,
- s = e._locale._week.doy;
- var l = xe(bt(), o, s);
- n = at(t.gg, e._a[or], l.year),
- i = at(t.w, l.week),
- null != t.d ? (r = t.d,
- (r < 0 || r > 6) && (u = !0)) : null != t.e ? (r = t.e + o,
- (t.e < 0 || t.e > 6) && (u = !0)) : r = o
- }
- i < 1 || i > ke(n, o, s) ? h(e)._overflowWeeks = !0 : null != u ? h(e)._overflowWeekday = !0 : (a = we(n, i, r, o, s),
- e._a[or] = a.year,
- e._dayOfYear = a.dayOfYear)
- }
- function dt(t) {
- if (t._f === e.ISO_8601)
- return void rt(t);
- if (t._f === e.RFC_2822)
- return void ot(t);
- t._a = [],
- h(t).empty = !0;
- var n, i, r, o, s, a = "" + t._i, u = a.length, l = 0;
- for (r = X(t._f, t._locale).match(Li) || [],
- n = 0; n < r.length; n++)
- o = r[n],
- i = (a.match(J(o, t)) || [])[0],
- i && (s = a.substr(0, a.indexOf(i)),
- s.length > 0 && h(t).unusedInput.push(s),
- a = a.slice(a.indexOf(i) + i.length),
- l += i.length),
- Hi[o] ? (i ? h(t).empty = !1 : h(t).unusedTokens.push(o),
- ie(o, i, t)) : t._strict && !i && h(t).unusedTokens.push(o);
- h(t).charsLeftOver = u - l,
- a.length > 0 && h(t).unusedInput.push(a),
- t._a[ur] <= 12 && h(t).bigHour === !0 && t._a[ur] > 0 && (h(t).bigHour = void 0),
- h(t).parsedDateParts = t._a.slice(0),
- h(t).meridiem = t._meridiem,
- t._a[ur] = ft(t._locale, t._a[ur], t._meridiem),
- lt(t),
- it(t)
- }
- function ft(e, t, n) {
- var i;
- return null == n ? t : null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM ? (i = e.isPM(n),
- i && t < 12 && (t += 12),
- i || 12 !== t || (t = 0),
- t) : t
- }
- function ht(e) {
- var t, n, i, r, o;
- if (0 === e._f.length)
- return h(e).invalidFormat = !0,
- void (e._d = new Date(NaN));
- for (r = 0; r < e._f.length; r++)
- o = 0,
- t = g({}, e),
- null != e._useUTC && (t._useUTC = e._useUTC),
- t._f = e._f[r],
- dt(t),
- p(t) && (o += h(t).charsLeftOver,
- o += 10 * h(t).unusedTokens.length,
- h(t).score = o,
- (null == i || o < i) && (i = o,
- n = t));
- c(e, n || t)
- }
- function pt(e) {
- if (!e._d) {
- var t = j(e._i);
- e._a = u([t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], function(e) {
- return e && parseInt(e, 10)
- }),
- lt(e)
- }
- }
- function mt(e) {
- var t = new y(it(gt(e)));
- return t._nextDay && (t.add(1, "d"),
- t._nextDay = void 0),
- t
- }
- function gt(e) {
- var t = e._i
- , i = e._f;
- return e._locale = e._locale || tt(e._l),
- null === t || void 0 === i && "" === t ? m({
- nullInput: !0
- }) : ("string" == typeof t && (e._i = t = e._locale.preparse(t)),
- v(t) ? new y(it(t)) : (a(t) ? e._d = t : n(i) ? ht(e) : i ? dt(e) : yt(e),
- p(e) || (e._d = null),
- e))
- }
- function yt(t) {
- var r = t._i;
- o(r) ? t._d = new Date(e.now()) : a(r) ? t._d = new Date(r.valueOf()) : "string" == typeof r ? st(t) : n(r) ? (t._a = u(r.slice(0), function(e) {
- return parseInt(e, 10)
- }),
- lt(t)) : i(r) ? pt(t) : s(r) ? t._d = new Date(r) : e.createFromInputFallback(t)
- }
- function vt(e, t, o, s, a) {
- var u = {};
- return o !== !0 && o !== !1 || (s = o,
- o = void 0),
- (i(e) && r(e) || n(e) && 0 === e.length) && (e = void 0),
- u._isAMomentObject = !0,
- u._useUTC = u._isUTC = a,
- u._l = o,
- u._i = e,
- u._f = t,
- u._strict = s,
- mt(u)
- }
- function bt(e, t, n, i) {
- return vt(e, t, n, i, !1)
- }
- function _t(e, t) {
- var i, r;
- if (1 === t.length && n(t[0]) && (t = t[0]),
- !t.length)
- return bt();
- for (i = t[0],
- r = 1; r < t.length; ++r)
- t[r].isValid() && !t[r][e](i) || (i = t[r]);
- return i
- }
- function wt() {
- var e = [].slice.call(arguments, 0);
- return _t("isBefore", e)
- }
- function xt() {
- var e = [].slice.call(arguments, 0);
- return _t("isAfter", e)
- }
- function kt(e) {
- for (var t in e)
- if (Ur.indexOf(t) === -1 || null != e[t] && isNaN(e[t]))
- return !1;
- for (var n = !1, i = 0; i < Ur.length; ++i)
- if (e[Ur[i]]) {
- if (n)
- return !1;
- parseFloat(e[Ur[i]]) !== _(e[Ur[i]]) && (n = !0)
- }
- return !0
- }
- function St() {
- return this._isValid
- }
- function Tt() {
- return Ut(NaN)
- }
- function Dt(e) {
- var t = j(e)
- , n = t.year || 0
- , i = t.quarter || 0
- , r = t.month || 0
- , o = t.week || 0
- , s = t.day || 0
- , a = t.hour || 0
- , u = t.minute || 0
- , l = t.second || 0
- , c = t.millisecond || 0;
- this._isValid = kt(t),
- this._milliseconds = +c + 1e3 * l + 6e4 * u + 1e3 * a * 60 * 60,
- this._days = +s + 7 * o,
- this._months = +r + 3 * i + 12 * n,
- this._data = {},
- this._locale = tt(),
- this._bubble()
- }
- function Ct(e) {
- return e instanceof Dt
- }
- function Mt(e) {
- return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e)
- }
- function Ot(e, t) {
- B(e, 0, 0, function() {
- var e = this.utcOffset()
- , n = "+";
- return e < 0 && (e = -e,
- n = "-"),
- n + G(~~(e / 60), 2) + t + G(~~e % 60, 2)
- })
- }
- function Et(e, t) {
- var n = (t || "").match(e);
- if (null === n)
- return null;
- var i = n[n.length - 1] || []
- , r = (i + "").match(Gr) || ["-", 0, 0]
- , o = +(60 * r[1]) + _(r[2]);
- return 0 === o ? 0 : "+" === r[0] ? o : -o
- }
- function Nt(t, n) {
- var i, r;
- return n._isUTC ? (i = n.clone(),
- r = (v(t) || a(t) ? t.valueOf() : bt(t).valueOf()) - i.valueOf(),
- i._d.setTime(i._d.valueOf() + r),
- e.updateOffset(i, !1),
- i) : bt(t).local()
- }
- function At(e) {
- return 15 * -Math.round(e._d.getTimezoneOffset() / 15)
- }
- function Yt(t, n, i) {
- var r, o = this._offset || 0;
- if (!this.isValid())
- return null != t ? this : NaN;
- if (null != t) {
- if ("string" == typeof t) {
- if (t = Et(er, t),
- null === t)
- return this
- } else
- Math.abs(t) < 16 && !i && (t = 60 * t);
- return !this._isUTC && n && (r = At(this)),
- this._offset = t,
- this._isUTC = !0,
- null != r && this.add(r, "m"),
- o !== t && (!n || this._changeInProgress ? Zt(this, Ut(t - o, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0,
- e.updateOffset(this, !0),
- this._changeInProgress = null)),
- this
- }
- return this._isUTC ? o : At(this)
- }
- function Pt(e, t) {
- return null != e ? ("string" != typeof e && (e = -e),
- this.utcOffset(e, t),
- this) : -this.utcOffset()
- }
- function Rt(e) {
- return this.utcOffset(0, e)
- }
- function Lt(e) {
- return this._isUTC && (this.utcOffset(0, e),
- this._isUTC = !1,
- e && this.subtract(At(this), "m")),
- this
- }
- function jt() {
- if (null != this._tzm)
- this.utcOffset(this._tzm, !1, !0);
- else if ("string" == typeof this._i) {
- var e = Et(Ki, this._i);
- null != e ? this.utcOffset(e) : this.utcOffset(0, !0)
- }
- return this
- }
- function $t(e) {
- return !!this.isValid() && (e = e ? bt(e).utcOffset() : 0,
- (this.utcOffset() - e) % 60 === 0)
- }
- function Ht() {
- return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset()
- }
- function It() {
- if (!o(this._isDSTShifted))
- return this._isDSTShifted;
- var e = {};
- if (g(e, this),
- e = gt(e),
- e._a) {
- var t = e._isUTC ? d(e._a) : bt(e._a);
- this._isDSTShifted = this.isValid() && w(e._a, t.toArray()) > 0
- } else
- this._isDSTShifted = !1;
- return this._isDSTShifted
- }
- function Wt() {
- return !!this.isValid() && !this._isUTC
- }
- function Ft() {
- return !!this.isValid() && this._isUTC
- }
- function qt() {
- return !!this.isValid() && (this._isUTC && 0 === this._offset)
- }
- function Ut(e, t) {
- var n, i, r, o = e, a = null;
- return Ct(e) ? o = {
- ms: e._milliseconds,
- d: e._days,
- M: e._months
- } : s(e) ? (o = {},
- t ? o[t] = e : o.milliseconds = e) : (a = Br.exec(e)) ? (n = "-" === a[1] ? -1 : 1,
- o = {
- y: 0,
- d: _(a[ar]) * n,
- h: _(a[ur]) * n,
- m: _(a[lr]) * n,
- s: _(a[cr]) * n,
- ms: _(Mt(1e3 * a[dr])) * n
- }) : (a = Vr.exec(e)) ? (n = "-" === a[1] ? -1 : 1,
- o = {
- y: Gt(a[2], n),
- M: Gt(a[3], n),
- w: Gt(a[4], n),
- d: Gt(a[5], n),
- h: Gt(a[6], n),
- m: Gt(a[7], n),
- s: Gt(a[8], n)
- }) : null == o ? o = {} : "object" === ("undefined" == typeof o ? "undefined" : _typeof(o)) && ("from"in o || "to"in o) && (r = Vt(bt(o.from), bt(o.to)),
- o = {},
- o.ms = r.milliseconds,
- o.M = r.months),
- i = new Dt(o),
- Ct(e) && l(e, "_locale") && (i._locale = e._locale),
- i
- }
- function Gt(e, t) {
- var n = e && parseFloat(e.replace(",", "."));
- return (isNaN(n) ? 0 : n) * t
- }
- function Bt(e, t) {
- var n = {
- milliseconds: 0,
- months: 0
- };
- return n.months = t.month() - e.month() + 12 * (t.year() - e.year()),
- e.clone().add(n.months, "M").isAfter(t) && --n.months,
- n.milliseconds = +t - +e.clone().add(n.months, "M"),
- n
- }
- function Vt(e, t) {
- var n;
- return e.isValid() && t.isValid() ? (t = Nt(t, e),
- e.isBefore(t) ? n = Bt(e, t) : (n = Bt(t, e),
- n.milliseconds = -n.milliseconds,
- n.months = -n.months),
- n) : {
- milliseconds: 0,
- months: 0
- }
- }
- function zt(e, t) {
- return function(n, i) {
- var r, o;
- return null === i || isNaN(+i) || (S(t, "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),
- o = n,
- n = i,
- i = o),
- n = "string" == typeof n ? +n : n,
- r = Ut(n, i),
- Zt(this, r, e),
- this
- }
- }
- function Zt(t, n, i, r) {
- var o = n._milliseconds
- , s = Mt(n._days)
- , a = Mt(n._months);
- t.isValid() && (r = null == r || r,
- o && t._d.setTime(t._d.valueOf() + o * i),
- s && F(t, "Date", W(t, "Date") + s * i),
- a && le(t, W(t, "Month") + a * i),
- r && e.updateOffset(t, s || a))
- }
- function Xt(e, t) {
- var n = e.diff(t, "days", !0);
- return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse"
- }
- function Qt(t, n) {
- var i = t || bt()
- , r = Nt(i, this).startOf("day")
- , o = e.calendarFormat(this, r) || "sameElse"
- , s = n && (T(n[o]) ? n[o].call(this, i) : n[o]);
- return this.format(s || this.localeData().calendar(o, this, bt(i)))
- }
- function Jt() {
- return new y(this)
- }
- function Kt(e, t) {
- var n = v(e) ? e : bt(e);
- return !(!this.isValid() || !n.isValid()) && (t = L(o(t) ? "millisecond" : t),
- "millisecond" === t ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf())
- }
- function en(e, t) {
- var n = v(e) ? e : bt(e);
- return !(!this.isValid() || !n.isValid()) && (t = L(o(t) ? "millisecond" : t),
- "millisecond" === t ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf())
- }
- function tn(e, t, n, i) {
- return i = i || "()",
- ("(" === i[0] ? this.isAfter(e, n) : !this.isBefore(e, n)) && (")" === i[1] ? this.isBefore(t, n) : !this.isAfter(t, n))
- }
- function nn(e, t) {
- var n, i = v(e) ? e : bt(e);
- return !(!this.isValid() || !i.isValid()) && (t = L(t || "millisecond"),
- "millisecond" === t ? this.valueOf() === i.valueOf() : (n = i.valueOf(),
- this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf()))
- }
- function rn(e, t) {
- return this.isSame(e, t) || this.isAfter(e, t)
- }
- function on(e, t) {
- return this.isSame(e, t) || this.isBefore(e, t)
- }
- function sn(e, t, n) {
- var i, r, o, s;
- return this.isValid() ? (i = Nt(e, this),
- i.isValid() ? (r = 6e4 * (i.utcOffset() - this.utcOffset()),
- t = L(t),
- "year" === t || "month" === t || "quarter" === t ? (s = an(this, i),
- "quarter" === t ? s /= 3 : "year" === t && (s /= 12)) : (o = this - i,
- s = "second" === t ? o / 1e3 : "minute" === t ? o / 6e4 : "hour" === t ? o / 36e5 : "day" === t ? (o - r) / 864e5 : "week" === t ? (o - r) / 6048e5 : o),
- n ? s : b(s)) : NaN) : NaN
- }
- function an(e, t) {
- var n, i, r = 12 * (t.year() - e.year()) + (t.month() - e.month()), o = e.clone().add(r, "months");
- return t - o < 0 ? (n = e.clone().add(r - 1, "months"),
- i = (t - o) / (o - n)) : (n = e.clone().add(r + 1, "months"),
- i = (t - o) / (n - o)),
- -(r + i) || 0
- }
- function un() {
- return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
- }
- function ln() {
- if (!this.isValid())
- return null;
- var e = this.clone().utc();
- return e.year() < 0 || e.year() > 9999 ? Z(e, "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]") : T(Date.prototype.toISOString) ? this.toDate().toISOString() : Z(e, "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")
- }
- function cn() {
- if (!this.isValid())
- return "moment.invalid(/* " + this._i + " */)";
- var e = "moment"
- , t = "";
- this.isLocal() || (e = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone",
- t = "Z");
- var n = "[" + e + '("]'
- , i = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY"
- , r = "-MM-DD[T]HH:mm:ss.SSS"
- , o = t + '[")]';
- return this.format(n + i + r + o)
- }
- function dn(t) {
- t || (t = this.isUtc() ? e.defaultFormatUtc : e.defaultFormat);
- var n = Z(this, t);
- return this.localeData().postformat(n)
- }
- function fn(e, t) {
- return this.isValid() && (v(e) && e.isValid() || bt(e).isValid()) ? Ut({
- to: this,
- from: e
- }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
- }
- function hn(e) {
- return this.from(bt(), e)
- }
- function pn(e, t) {
- return this.isValid() && (v(e) && e.isValid() || bt(e).isValid()) ? Ut({
- from: this,
- to: e
- }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
- }
- function mn(e) {
- return this.to(bt(), e)
- }
- function gn(e) {
- var t;
- return void 0 === e ? this._locale._abbr : (t = tt(e),
- null != t && (this._locale = t),
- this)
- }
- function yn() {
- return this._locale
- }
- function vn(e) {
- switch (e = L(e)) {
- case "year":
- this.month(0);
- case "quarter":
- case "month":
- this.date(1);
- case "week":
- case "isoWeek":
- case "day":
- case "date":
- this.hours(0);
- case "hour":
- this.minutes(0);
- case "minute":
- this.seconds(0);
- case "second":
- this.milliseconds(0)
- }
- return "week" === e && this.weekday(0),
- "isoWeek" === e && this.isoWeekday(1),
- "quarter" === e && this.month(3 * Math.floor(this.month() / 3)),
- this
- }
- function bn(e) {
- return e = L(e),
- void 0 === e || "millisecond" === e ? this : ("date" === e && (e = "day"),
- this.startOf(e).add(1, "isoWeek" === e ? "week" : e).subtract(1, "ms"))
- }
- function _n() {
- return this._d.valueOf() - 6e4 * (this._offset || 0)
- }
- function wn() {
- return Math.floor(this.valueOf() / 1e3)
- }
- function xn() {
- return new Date(this.valueOf())
- }
- function kn() {
- var e = this;
- return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()]
- }
- function Sn() {
- var e = this;
- return {
- years: e.year(),
- months: e.month(),
- date: e.date(),
- hours: e.hours(),
- minutes: e.minutes(),
- seconds: e.seconds(),
- milliseconds: e.milliseconds()
- }
- }
- function Tn() {
- return this.isValid() ? this.toISOString() : null
- }
- function Dn() {
- return p(this)
- }
- function Cn() {
- return c({}, h(this))
- }
- function Mn() {
- return h(this).overflow
- }
- function On() {
- return {
- input: this._i,
- format: this._f,
- locale: this._locale,
- isUTC: this._isUTC,
- strict: this._strict
- }
- }
- function En(e, t) {
- B(0, [e, e.length], 0, t)
- }
- function Nn(e) {
- return Rn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
- }
- function An(e) {
- return Rn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4)
- }
- function Yn() {
- return ke(this.year(), 1, 4)
- }
- function Pn() {
- var e = this.localeData()._week;
- return ke(this.year(), e.dow, e.doy)
- }
- function Rn(e, t, n, i, r) {
- var o;
- return null == e ? xe(this, i, r).year : (o = ke(e, i, r),
- t > o && (t = o),
- Ln.call(this, e, t, n, i, r))
- }
- function Ln(e, t, n, i, r) {
- var o = we(e, t, n, i, r)
- , s = be(o.year, 0, o.dayOfYear);
- return this.year(s.getUTCFullYear()),
- this.month(s.getUTCMonth()),
- this.date(s.getUTCDate()),
- this
- }
- function jn(e) {
- return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3)
- }
- function $n(e) {
- var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1;
- return null == e ? t : this.add(e - t, "d")
- }
- function Hn(e, t) {
- t[dr] = _(1e3 * ("0." + e))
- }
- function In() {
- return this._isUTC ? "UTC" : ""
- }
- function Wn() {
- return this._isUTC ? "Coordinated Universal Time" : ""
- }
- function Fn(e) {
- return bt(1e3 * e)
- }
- function qn() {
- return bt.apply(null, arguments).parseZone()
- }
- function Un(e) {
- return e
- }
- function Gn(e, t, n, i) {
- var r = tt()
- , o = d().set(i, t);
- return r[n](o, e)
- }
- function Bn(e, t, n) {
- if (s(e) && (t = e,
- e = void 0),
- e = e || "",
- null != t)
- return Gn(e, t, n, "month");
- var i, r = [];
- for (i = 0; i < 12; i++)
- r[i] = Gn(e, i, n, "month");
- return r
- }
- function Vn(e, t, n, i) {
- "boolean" == typeof e ? (s(t) && (n = t,
- t = void 0),
- t = t || "") : (t = e,
- n = t,
- e = !1,
- s(t) && (n = t,
- t = void 0),
- t = t || "");
- var r = tt()
- , o = e ? r._week.dow : 0;
- if (null != n)
- return Gn(t, (n + o) % 7, i, "day");
- var a, u = [];
- for (a = 0; a < 7; a++)
- u[a] = Gn(t, (a + o) % 7, i, "day");
- return u
- }
- function zn(e, t) {
- return Bn(e, t, "months")
- }
- function Zn(e, t) {
- return Bn(e, t, "monthsShort")
- }
- function Xn(e, t, n) {
- return Vn(e, t, n, "weekdays")
- }
- function Qn(e, t, n) {
- return Vn(e, t, n, "weekdaysShort")
- }
- function Jn(e, t, n) {
- return Vn(e, t, n, "weekdaysMin")
- }
- function Kn() {
- var e = this._data;
- return this._milliseconds = ro(this._milliseconds),
- this._days = ro(this._days),
- this._months = ro(this._months),
- e.milliseconds = ro(e.milliseconds),
- e.seconds = ro(e.seconds),
- e.minutes = ro(e.minutes),
- e.hours = ro(e.hours),
- e.months = ro(e.months),
- e.years = ro(e.years),
- this
- }
- function ei(e, t, n, i) {
- var r = Ut(t, n);
- return e._milliseconds += i * r._milliseconds,
- e._days += i * r._days,
- e._months += i * r._months,
- e._bubble()
- }
- function ti(e, t) {
- return ei(this, e, t, 1)
- }
- function ni(e, t) {
- return ei(this, e, t, -1)
- }
- function ii(e) {
- return e < 0 ? Math.floor(e) : Math.ceil(e)
- }
- function ri() {
- var e, t, n, i, r, o = this._milliseconds, s = this._days, a = this._months, u = this._data;
- return o >= 0 && s >= 0 && a >= 0 || o <= 0 && s <= 0 && a <= 0 || (o += 864e5 * ii(si(a) + s),
- s = 0,
- a = 0),
- u.milliseconds = o % 1e3,
- e = b(o / 1e3),
- u.seconds = e % 60,
- t = b(e / 60),
- u.minutes = t % 60,
- n = b(t / 60),
- u.hours = n % 24,
- s += b(n / 24),
- r = b(oi(s)),
- a += r,
- s -= ii(si(r)),
- i = b(a / 12),
- a %= 12,
- u.days = s,
- u.months = a,
- u.years = i,
- this
- }
- function oi(e) {
- return 4800 * e / 146097
- }
- function si(e) {
- return 146097 * e / 4800
- }
- function ai(e) {
- if (!this.isValid())
- return NaN;
- var t, n, i = this._milliseconds;
- if (e = L(e),
- "month" === e || "year" === e)
- return t = this._days + i / 864e5,
- n = this._months + oi(t),
- "month" === e ? n : n / 12;
- switch (t = this._days + Math.round(si(this._months)),
- e) {
- case "week":
- return t / 7 + i / 6048e5;
- case "day":
- return t + i / 864e5;
- case "hour":
- return 24 * t + i / 36e5;
- case "minute":
- return 1440 * t + i / 6e4;
- case "second":
- return 86400 * t + i / 1e3;
- case "millisecond":
- return Math.floor(864e5 * t) + i;
- default:
- throw new Error("Unknown unit " + e)
- }
- }
- function ui() {
- return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * _(this._months / 12) : NaN
- }
- function li(e) {
- return function() {
- return this.as(e)
- }
- }
- function ci(e) {
- return e = L(e),
- this.isValid() ? this[e + "s"]() : NaN
- }
- function di(e) {
- return function() {
- return this.isValid() ? this._data[e] : NaN
- }
- }
- function fi() {
- return b(this.days() / 7)
- }
- function hi(e, t, n, i, r) {
- return r.relativeTime(t || 1, !!n, e, i)
- }
- function pi(e, t, n) {
- var i = Ut(e).abs()
- , r = wo(i.as("s"))
- , o = wo(i.as("m"))
- , s = wo(i.as("h"))
- , a = wo(i.as("d"))
- , u = wo(i.as("M"))
- , l = wo(i.as("y"))
- , c = r <= xo.ss && ["s", r] || r < xo.s && ["ss", r] || o <= 1 && ["m"] || o < xo.m && ["mm", o] || s <= 1 && ["h"] || s < xo.h && ["hh", s] || a <= 1 && ["d"] || a < xo.d && ["dd", a] || u <= 1 && ["M"] || u < xo.M && ["MM", u] || l <= 1 && ["y"] || ["yy", l];
- return c[2] = t,
- c[3] = +e > 0,
- c[4] = n,
- hi.apply(null, c)
- }
- function mi(e) {
- return void 0 === e ? wo : "function" == typeof e && (wo = e,
- !0)
- }
- function gi(e, t) {
- return void 0 !== xo[e] && (void 0 === t ? xo[e] : (xo[e] = t,
- "s" === e && (xo.ss = t - 1),
- !0))
- }
- function yi(e) {
- if (!this.isValid())
- return this.localeData().invalidDate();
- var t = this.localeData()
- , n = pi(this, !e, t);
- return e && (n = t.pastFuture(+this, n)),
- t.postformat(n)
- }
- function vi() {
- if (!this.isValid())
- return this.localeData().invalidDate();
- var e, t, n, i = ko(this._milliseconds) / 1e3, r = ko(this._days), o = ko(this._months);
- e = b(i / 60),
- t = b(e / 60),
- i %= 60,
- e %= 60,
- n = b(o / 12),
- o %= 12;
- var s = n
- , a = o
- , u = r
- , l = t
- , c = e
- , d = i
- , f = this.asSeconds();
- return f ? (f < 0 ? "-" : "") + "P" + (s ? s + "Y" : "") + (a ? a + "M" : "") + (u ? u + "D" : "") + (l || c || d ? "T" : "") + (l ? l + "H" : "") + (c ? c + "M" : "") + (d ? d + "S" : "") : "P0D"
- }
- var bi, _i;
- _i = Array.prototype.some ? Array.prototype.some : function(e) {
- for (var t = Object(this), n = t.length >>> 0, i = 0; i < n; i++)
- if (i in t && e.call(this, t[i], i, t))
- return !0;
- return !1
- }
- ;
- var wi = _i
- , xi = e.momentProperties = []
- , ki = !1
- , Si = {};
- e.suppressDeprecationWarnings = !1,
- e.deprecationHandler = null;
- var Ti;
- Ti = Object.keys ? Object.keys : function(e) {
- var t, n = [];
- for (t in e)
- l(e, t) && n.push(t);
- return n
- }
- ;
- var Di, Ci = Ti, Mi = {
- sameDay: "[Today at] LT",
- nextDay: "[Tomorrow at] LT",
- nextWeek: "dddd [at] LT",
- lastDay: "[Yesterday at] LT",
- lastWeek: "[Last] dddd [at] LT",
- sameElse: "L"
- }, Oi = {
- LTS: "h:mm:ss A",
- LT: "h:mm A",
- L: "MM/DD/YYYY",
- LL: "MMMM D, YYYY",
- LLL: "MMMM D, YYYY h:mm A",
- LLLL: "dddd, MMMM D, YYYY h:mm A"
- }, Ei = "Invalid date", Ni = "%d", Ai = /\d{1,2}/, Yi = {
- future: "in %s",
- past: "%s ago",
- s: "a few seconds",
- ss: "%d seconds",
- m: "a minute",
- mm: "%d minutes",
- h: "an hour",
- hh: "%d hours",
- d: "a day",
- dd: "%d days",
- M: "a month",
- MM: "%d months",
- y: "a year",
- yy: "%d years"
- }, Pi = {}, Ri = {}, Li = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, ji = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, $i = {}, Hi = {}, Ii = /\d/, Wi = /\d\d/, Fi = /\d{3}/, qi = /\d{4}/, Ui = /[+-]?\d{6}/, Gi = /\d\d?/, Bi = /\d\d\d\d?/, Vi = /\d\d\d\d\d\d?/, zi = /\d{1,3}/, Zi = /\d{1,4}/, Xi = /[+-]?\d{1,6}/, Qi = /\d+/, Ji = /[+-]?\d+/, Ki = /Z|[+-]\d\d:?\d\d/gi, er = /Z|[+-]\d\d(?::?\d\d)?/gi, tr = /[+-]?\d+(\.\d{1,3})?/, nr = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, ir = {}, rr = {}, or = 0, sr = 1, ar = 2, ur = 3, lr = 4, cr = 5, dr = 6, fr = 7, hr = 8;
- Di = Array.prototype.indexOf ? Array.prototype.indexOf : function(e) {
- var t;
- for (t = 0; t < this.length; ++t)
- if (this[t] === e)
- return t;
- return -1
- }
- ;
- var pr = Di;
- B("M", ["MM", 2], "Mo", function() {
- return this.month() + 1
- }),
- B("MMM", 0, 0, function(e) {
- return this.localeData().monthsShort(this, e)
- }),
- B("MMMM", 0, 0, function(e) {
- return this.localeData().months(this, e)
- }),
- R("month", "M"),
- $("month", 8),
- Q("M", Gi),
- Q("MM", Gi, Wi),
- Q("MMM", function(e, t) {
- return t.monthsShortRegex(e)
- }),
- Q("MMMM", function(e, t) {
- return t.monthsRegex(e)
- }),
- te(["M", "MM"], function(e, t) {
- t[sr] = _(e) - 1
- }),
- te(["MMM", "MMMM"], function(e, t, n, i) {
- var r = n._locale.monthsParse(e, i, n._strict);
- null != r ? t[sr] = r : h(n).invalidMonth = e
- });
- var mr = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/
- , gr = "January_February_March_April_May_June_July_August_September_October_November_December".split("_")
- , yr = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_")
- , vr = nr
- , br = nr;
- B("Y", 0, 0, function() {
- var e = this.year();
- return e <= 9999 ? "" + e : "+" + e
- }),
- B(0, ["YY", 2], 0, function() {
- return this.year() % 100
- }),
- B(0, ["YYYY", 4], 0, "year"),
- B(0, ["YYYYY", 5], 0, "year"),
- B(0, ["YYYYYY", 6, !0], 0, "year"),
- R("year", "y"),
- $("year", 1),
- Q("Y", Ji),
- Q("YY", Gi, Wi),
- Q("YYYY", Zi, qi),
- Q("YYYYY", Xi, Ui),
- Q("YYYYYY", Xi, Ui),
- te(["YYYYY", "YYYYYY"], or),
- te("YYYY", function(t, n) {
- n[or] = 2 === t.length ? e.parseTwoDigitYear(t) : _(t)
- }),
- te("YY", function(t, n) {
- n[or] = e.parseTwoDigitYear(t)
- }),
- te("Y", function(e, t) {
- t[or] = parseInt(e, 10)
- }),
- e.parseTwoDigitYear = function(e) {
- return _(e) + (_(e) > 68 ? 1900 : 2e3)
- }
- ;
- var _r = I("FullYear", !0);
- B("w", ["ww", 2], "wo", "week"),
- B("W", ["WW", 2], "Wo", "isoWeek"),
- R("week", "w"),
- R("isoWeek", "W"),
- $("week", 5),
- $("isoWeek", 5),
- Q("w", Gi),
- Q("ww", Gi, Wi),
- Q("W", Gi),
- Q("WW", Gi, Wi),
- ne(["w", "ww", "W", "WW"], function(e, t, n, i) {
- t[i.substr(0, 1)] = _(e)
- });
- var wr = {
- dow: 0,
- doy: 6
- };
- B("d", 0, "do", "day"),
- B("dd", 0, 0, function(e) {
- return this.localeData().weekdaysMin(this, e)
- }),
- B("ddd", 0, 0, function(e) {
- return this.localeData().weekdaysShort(this, e)
- }),
- B("dddd", 0, 0, function(e) {
- return this.localeData().weekdays(this, e)
- }),
- B("e", 0, 0, "weekday"),
- B("E", 0, 0, "isoWeekday"),
- R("day", "d"),
- R("weekday", "e"),
- R("isoWeekday", "E"),
- $("day", 11),
- $("weekday", 11),
- $("isoWeekday", 11),
- Q("d", Gi),
- Q("e", Gi),
- Q("E", Gi),
- Q("dd", function(e, t) {
- return t.weekdaysMinRegex(e)
- }),
- Q("ddd", function(e, t) {
- return t.weekdaysShortRegex(e)
- }),
- Q("dddd", function(e, t) {
- return t.weekdaysRegex(e)
- }),
- ne(["dd", "ddd", "dddd"], function(e, t, n, i) {
- var r = n._locale.weekdaysParse(e, i, n._strict);
- null != r ? t.d = r : h(n).invalidWeekday = e
- }),
- ne(["d", "e", "E"], function(e, t, n, i) {
- t[i] = _(e)
- });
- var xr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_")
- , kr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_")
- , Sr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_")
- , Tr = nr
- , Dr = nr
- , Cr = nr;
- B("H", ["HH", 2], 0, "hour"),
- B("h", ["hh", 2], 0, qe),
- B("k", ["kk", 2], 0, Ue),
- B("hmm", 0, 0, function() {
- return "" + qe.apply(this) + G(this.minutes(), 2)
- }),
- B("hmmss", 0, 0, function() {
- return "" + qe.apply(this) + G(this.minutes(), 2) + G(this.seconds(), 2)
- }),
- B("Hmm", 0, 0, function() {
- return "" + this.hours() + G(this.minutes(), 2)
- }),
- B("Hmmss", 0, 0, function() {
- return "" + this.hours() + G(this.minutes(), 2) + G(this.seconds(), 2)
- }),
- Ge("a", !0),
- Ge("A", !1),
- R("hour", "h"),
- $("hour", 13),
- Q("a", Be),
- Q("A", Be),
- Q("H", Gi),
- Q("h", Gi),
- Q("k", Gi),
- Q("HH", Gi, Wi),
- Q("hh", Gi, Wi),
- Q("kk", Gi, Wi),
- Q("hmm", Bi),
- Q("hmmss", Vi),
- Q("Hmm", Bi),
- Q("Hmmss", Vi),
- te(["H", "HH"], ur),
- te(["k", "kk"], function(e, t, n) {
- var i = _(e);
- t[ur] = 24 === i ? 0 : i
- }),
- te(["a", "A"], function(e, t, n) {
- n._isPm = n._locale.isPM(e),
- n._meridiem = e
- }),
- te(["h", "hh"], function(e, t, n) {
- t[ur] = _(e),
- h(n).bigHour = !0
- }),
- te("hmm", function(e, t, n) {
- var i = e.length - 2;
- t[ur] = _(e.substr(0, i)),
- t[lr] = _(e.substr(i)),
- h(n).bigHour = !0
- }),
- te("hmmss", function(e, t, n) {
- var i = e.length - 4
- , r = e.length - 2;
- t[ur] = _(e.substr(0, i)),
- t[lr] = _(e.substr(i, 2)),
- t[cr] = _(e.substr(r)),
- h(n).bigHour = !0
- }),
- te("Hmm", function(e, t, n) {
- var i = e.length - 2;
- t[ur] = _(e.substr(0, i)),
- t[lr] = _(e.substr(i))
- }),
- te("Hmmss", function(e, t, n) {
- var i = e.length - 4
- , r = e.length - 2;
- t[ur] = _(e.substr(0, i)),
- t[lr] = _(e.substr(i, 2)),
- t[cr] = _(e.substr(r))
- });
- var Mr, Or = /[ap]\.?m?\.?/i, Er = I("Hours", !0), Nr = {
- calendar: Mi,
- longDateFormat: Oi,
- invalidDate: Ei,
- ordinal: Ni,
- dayOfMonthOrdinalParse: Ai,
- relativeTime: Yi,
- months: gr,
- monthsShort: yr,
- week: wr,
- weekdays: xr,
- weekdaysMin: Sr,
- weekdaysShort: kr,
- meridiemParse: Or
- }, Ar = {}, Yr = {}, Pr = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Rr = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Lr = /Z|[+-]\d\d(?::?\d\d)?/, jr = [["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/], ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/], ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/], ["GGGG-[W]WW", /\d{4}-W\d\d/, !1], ["YYYY-DDD", /\d{4}-\d{3}/], ["YYYY-MM", /\d{4}-\d\d/, !1], ["YYYYYYMMDD", /[+-]\d{10}/], ["YYYYMMDD", /\d{8}/], ["GGGG[W]WWE", /\d{4}W\d{3}/], ["GGGG[W]WW", /\d{4}W\d{2}/, !1], ["YYYYDDD", /\d{7}/]], $r = [["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/], ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/], ["HH:mm:ss", /\d\d:\d\d:\d\d/], ["HH:mm", /\d\d:\d\d/], ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/], ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/], ["HHmmss", /\d\d\d\d\d\d/], ["HHmm", /\d\d\d\d/], ["HH", /\d\d/]], Hr = /^\/?Date\((\-?\d+)/i, Ir = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;
- e.createFromInputFallback = k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", function(e) {
- e._d = new Date(e._i + (e._useUTC ? " UTC" : ""))
- }),
- e.ISO_8601 = function() {}
- ,
- e.RFC_2822 = function() {}
- ;
- var Wr = k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
- var e = bt.apply(null, arguments);
- return this.isValid() && e.isValid() ? e < this ? this : e : m()
- })
- , Fr = k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", function() {
- var e = bt.apply(null, arguments);
- return this.isValid() && e.isValid() ? e > this ? this : e : m()
- })
- , qr = function() {
- return Date.now ? Date.now() : +new Date
- }
- , Ur = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
- Ot("Z", ":"),
- Ot("ZZ", ""),
- Q("Z", er),
- Q("ZZ", er),
- te(["Z", "ZZ"], function(e, t, n) {
- n._useUTC = !0,
- n._tzm = Et(er, e)
- });
- var Gr = /([\+\-]|\d\d)/gi;
- e.updateOffset = function() {}
- ;
- var Br = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/
- , Vr = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;
- Ut.fn = Dt.prototype,
- Ut.invalid = Tt;
- var zr = zt(1, "add")
- , Zr = zt(-1, "subtract");
- e.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ",
- e.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
- var Xr = k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.", function(e) {
- return void 0 === e ? this.localeData() : this.locale(e)
- });
- B(0, ["gg", 2], 0, function() {
- return this.weekYear() % 100
- }),
- B(0, ["GG", 2], 0, function() {
- return this.isoWeekYear() % 100
- }),
- En("gggg", "weekYear"),
- En("ggggg", "weekYear"),
- En("GGGG", "isoWeekYear"),
- En("GGGGG", "isoWeekYear"),
- R("weekYear", "gg"),
- R("isoWeekYear", "GG"),
- $("weekYear", 1),
- $("isoWeekYear", 1),
- Q("G", Ji),
- Q("g", Ji),
- Q("GG", Gi, Wi),
- Q("gg", Gi, Wi),
- Q("GGGG", Zi, qi),
- Q("gggg", Zi, qi),
- Q("GGGGG", Xi, Ui),
- Q("ggggg", Xi, Ui),
- ne(["gggg", "ggggg", "GGGG", "GGGGG"], function(e, t, n, i) {
- t[i.substr(0, 2)] = _(e)
- }),
- ne(["gg", "GG"], function(t, n, i, r) {
- n[r] = e.parseTwoDigitYear(t)
- }),
- B("Q", 0, "Qo", "quarter"),
- R("quarter", "Q"),
- $("quarter", 7),
- Q("Q", Ii),
- te("Q", function(e, t) {
- t[sr] = 3 * (_(e) - 1)
- }),
- B("D", ["DD", 2], "Do", "date"),
- R("date", "D"),
- $("date", 9),
- Q("D", Gi),
- Q("DD", Gi, Wi),
- Q("Do", function(e, t) {
- return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient
- }),
- te(["D", "DD"], ar),
- te("Do", function(e, t) {
- t[ar] = _(e.match(Gi)[0], 10)
- });
- var Qr = I("Date", !0);
- B("DDD", ["DDDD", 3], "DDDo", "dayOfYear"),
- R("dayOfYear", "DDD"),
- $("dayOfYear", 4),
- Q("DDD", zi),
- Q("DDDD", Fi),
- te(["DDD", "DDDD"], function(e, t, n) {
- n._dayOfYear = _(e)
- }),
- B("m", ["mm", 2], 0, "minute"),
- R("minute", "m"),
- $("minute", 14),
- Q("m", Gi),
- Q("mm", Gi, Wi),
- te(["m", "mm"], lr);
- var Jr = I("Minutes", !1);
- B("s", ["ss", 2], 0, "second"),
- R("second", "s"),
- $("second", 15),
- Q("s", Gi),
- Q("ss", Gi, Wi),
- te(["s", "ss"], cr);
- var Kr = I("Seconds", !1);
- B("S", 0, 0, function() {
- return ~~(this.millisecond() / 100)
- }),
- B(0, ["SS", 2], 0, function() {
- return ~~(this.millisecond() / 10)
- }),
- B(0, ["SSS", 3], 0, "millisecond"),
- B(0, ["SSSS", 4], 0, function() {
- return 10 * this.millisecond()
- }),
- B(0, ["SSSSS", 5], 0, function() {
- return 100 * this.millisecond()
- }),
- B(0, ["SSSSSS", 6], 0, function() {
- return 1e3 * this.millisecond()
- }),
- B(0, ["SSSSSSS", 7], 0, function() {
- return 1e4 * this.millisecond()
- }),
- B(0, ["SSSSSSSS", 8], 0, function() {
- return 1e5 * this.millisecond()
- }),
- B(0, ["SSSSSSSSS", 9], 0, function() {
- return 1e6 * this.millisecond()
- }),
- R("millisecond", "ms"),
- $("millisecond", 16),
- Q("S", zi, Ii),
- Q("SS", zi, Wi),
- Q("SSS", zi, Fi);
- var eo;
- for (eo = "SSSS"; eo.length <= 9; eo += "S")
- Q(eo, Qi);
- for (eo = "S"; eo.length <= 9; eo += "S")
- te(eo, Hn);
- var to = I("Milliseconds", !1);
- B("z", 0, 0, "zoneAbbr"),
- B("zz", 0, 0, "zoneName");
- var no = y.prototype;
- no.add = zr,
- no.calendar = Qt,
- no.clone = Jt,
- no.diff = sn,
- no.endOf = bn,
- no.format = dn,
- no.from = fn,
- no.fromNow = hn,
- no.to = pn,
- no.toNow = mn,
- no.get = q,
- no.invalidAt = Mn,
- no.isAfter = Kt,
- no.isBefore = en,
- no.isBetween = tn,
- no.isSame = nn,
- no.isSameOrAfter = rn,
- no.isSameOrBefore = on,
- no.isValid = Dn,
- no.lang = Xr,
- no.locale = gn,
- no.localeData = yn,
- no.max = Fr,
- no.min = Wr,
- no.parsingFlags = Cn,
- no.set = U,
- no.startOf = vn,
- no.subtract = Zr,
- no.toArray = kn,
- no.toObject = Sn,
- no.toDate = xn,
- no.toISOString = ln,
- no.inspect = cn,
- no.toJSON = Tn,
- no.toString = un,
- no.unix = wn,
- no.valueOf = _n,
- no.creationData = On,
- no.year = _r,
- no.isLeapYear = ye,
- no.weekYear = Nn,
- no.isoWeekYear = An,
- no.quarter = no.quarters = jn,
- no.month = ce,
- no.daysInMonth = de,
- no.week = no.weeks = Ce,
- no.isoWeek = no.isoWeeks = Me,
- no.weeksInYear = Pn,
- no.isoWeeksInYear = Yn,
- no.date = Qr,
- no.day = no.days = Le,
- no.weekday = je,
- no.isoWeekday = $e,
- no.dayOfYear = $n,
- no.hour = no.hours = Er,
- no.minute = no.minutes = Jr,
- no.second = no.seconds = Kr,
- no.millisecond = no.milliseconds = to,
- no.utcOffset = Yt,
- no.utc = Rt,
- no.local = Lt,
- no.parseZone = jt,
- no.hasAlignedHourOffset = $t,
- no.isDST = Ht,
- no.isLocal = Wt,
- no.isUtcOffset = Ft,
- no.isUtc = qt,
- no.isUTC = qt,
- no.zoneAbbr = In,
- no.zoneName = Wn,
- no.dates = k("dates accessor is deprecated. Use date instead.", Qr),
- no.months = k("months accessor is deprecated. Use month instead", ce),
- no.years = k("years accessor is deprecated. Use year instead", _r),
- no.zone = k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", Pt),
- no.isDSTShifted = k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", It);
- var io = M.prototype;
- io.calendar = O,
- io.longDateFormat = E,
- io.invalidDate = N,
- io.ordinal = A,
- io.preparse = Un,
- io.postformat = Un,
- io.relativeTime = Y,
- io.pastFuture = P,
- io.set = D,
- io.months = oe,
- io.monthsShort = se,
- io.monthsParse = ue,
- io.monthsRegex = he,
- io.monthsShortRegex = fe,
- io.week = Se,
- io.firstDayOfYear = De,
- io.firstDayOfWeek = Te,
- io.weekdays = Ne,
- io.weekdaysMin = Ye,
- io.weekdaysShort = Ae,
- io.weekdaysParse = Re,
- io.weekdaysRegex = He,
- io.weekdaysShortRegex = Ie,
- io.weekdaysMinRegex = We,
- io.isPM = Ve,
- io.meridiem = ze,
- Je("en", {
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
- ordinal: function(e) {
- var t = e % 10
- , n = 1 === _(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th";
- return e + n
- }
- }),
- e.lang = k("moment.lang is deprecated. Use moment.locale instead.", Je),
- e.langData = k("moment.langData is deprecated. Use moment.localeData instead.", tt);
- var ro = Math.abs
- , oo = li("ms")
- , so = li("s")
- , ao = li("m")
- , uo = li("h")
- , lo = li("d")
- , co = li("w")
- , fo = li("M")
- , ho = li("y")
- , po = di("milliseconds")
- , mo = di("seconds")
- , go = di("minutes")
- , yo = di("hours")
- , vo = di("days")
- , bo = di("months")
- , _o = di("years")
- , wo = Math.round
- , xo = {
- ss: 44,
- s: 45,
- m: 45,
- h: 22,
- d: 26,
- M: 11
- }
- , ko = Math.abs
- , So = Dt.prototype;
- return So.isValid = St,
- So.abs = Kn,
- So.add = ti,
- So.subtract = ni,
- So.as = ai,
- So.asMilliseconds = oo,
- So.asSeconds = so,
- So.asMinutes = ao,
- So.asHours = uo,
- So.asDays = lo,
- So.asWeeks = co,
- So.asMonths = fo,
- So.asYears = ho,
- So.valueOf = ui,
- So._bubble = ri,
- So.get = ci,
- So.milliseconds = po,
- So.seconds = mo,
- So.minutes = go,
- So.hours = yo,
- So.days = vo,
- So.weeks = fi,
- So.months = bo,
- So.years = _o,
- So.humanize = yi,
- So.toISOString = vi,
- So.toString = vi,
- So.toJSON = vi,
- So.locale = gn,
- So.localeData = yn,
- So.toIsoString = k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", vi),
- So.lang = Xr,
- B("X", 0, 0, "unix"),
- B("x", 0, 0, "valueOf"),
- Q("x", Ji),
- Q("X", tr),
- te("X", function(e, t, n) {
- n._d = new Date(1e3 * parseFloat(e, 10))
- }),
- te("x", function(e, t, n) {
- n._d = new Date(_(e))
- }),
- e.version = "2.18.1",
- t(bt),
- e.fn = no,
- e.min = wt,
- e.max = xt,
- e.now = qr,
- e.utc = d,
- e.unix = Fn,
- e.months = zn,
- e.isDate = a,
- e.locale = Je,
- e.invalid = m,
- e.duration = Ut,
- e.isMoment = v,
- e.weekdays = Xn,
- e.parseZone = qn,
- e.localeData = tt,
- e.isDuration = Ct,
- e.monthsShort = Zn,
- e.weekdaysMin = Jn,
- e.defineLocale = Ke,
- e.updateLocale = et,
- e.locales = nt,
- e.weekdaysShort = Qn,
- e.normalizeUnits = L,
- e.relativeTimeRounding = mi,
- e.relativeTimeThreshold = gi,
- e.calendarFormat = Xt,
- e.prototype = no,
- e
- });
- var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
- return typeof e
- }
- : function(e) {
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
- }
- ;
- if ("undefined" == typeof jQuery)
- throw new Error("Bootstrap's JavaScript requires jQuery");
- +function(e) {
- var t = e.fn.jquery.split(" ")[0].split(".");
- if (t[0] < 2 && t[1] < 9 || 1 == t[0] && 9 == t[1] && t[2] < 1 || t[0] > 3)
- throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")
- }(jQuery),
- +function(e) {
- function t(t) {
- return this.each(function() {
- var n = e(this)
- , r = n.data("bs.alert");
- r || n.data("bs.alert", r = new i(this)),
- "string" == typeof t && r[t].call(n)
- })
- }
- var n = '[data-dismiss="alert"]'
- , i = function(t) {
- e(t).on("click", n, this.close)
- };
- i.VERSION = "3.3.7",
- i.TRANSITION_DURATION = 150,
- i.prototype.close = function(t) {
- function n() {
- s.detach().trigger("closed.bs.alert").remove()
- }
- var r = e(this)
- , o = r.attr("data-target");
- o || (o = r.attr("href"),
- o = o && o.replace(/.*(?=#[^\s]*$)/, ""));
- var s = e("#" === o ? [] : o);
- t && t.preventDefault(),
- s.length || (s = r.closest(".alert")),
- s.trigger(t = e.Event("close.bs.alert")),
- t.isDefaultPrevented() || (s.removeClass("in"),
- e.support.transition && s.hasClass("fade") ? s.one("bsTransitionEnd", n).emulateTransitionEnd(i.TRANSITION_DURATION) : n())
- }
- ;
- var r = e.fn.alert;
- e.fn.alert = t,
- e.fn.alert.Constructor = i,
- e.fn.alert.noConflict = function() {
- return e.fn.alert = r,
- this
- }
- ,
- e(document).on("click.bs.alert.data-api", n, i.prototype.close)
- }(jQuery),
- +function(e) {
- function t(t) {
- return this.each(function() {
- var i = e(this)
- , r = i.data("bs.button")
- , o = "object" == ("undefined" == typeof t ? "undefined" : _typeof(t)) && t;
- r || i.data("bs.button", r = new n(this,o)),
- "toggle" == t ? r.toggle() : t && r.setState(t)
- })
- }
- var n = function r(t, n) {
- this.$element = e(t),
- this.options = e.extend({}, r.DEFAULTS, n),
- this.isLoading = !1
- };
- n.VERSION = "3.3.7",
- n.DEFAULTS = {
- loadingText: "loading..."
- },
- n.prototype.setState = function(t) {
- var n = "disabled"
- , i = this.$element
- , r = i.is("input") ? "val" : "html"
- , o = i.data();
- t += "Text",
- null == o.resetText && i.data("resetText", i[r]()),
- setTimeout(e.proxy(function() {
- i[r](null == o[t] ? this.options[t] : o[t]),
- "loadingText" == t ? (this.isLoading = !0,
- i.addClass(n).attr(n, n).prop(n, !0)) : this.isLoading && (this.isLoading = !1,
- i.removeClass(n).removeAttr(n).prop(n, !1))
- }, this), 0)
- }
- ,
- n.prototype.toggle = function() {
- var e = !0
- , t = this.$element.closest('[data-toggle="buttons"]');
- if (t.length) {
- var n = this.$element.find("input");
- "radio" == n.prop("type") ? (n.prop("checked") && (e = !1),
- t.find(".active").removeClass("active"),
- this.$element.addClass("active")) : "checkbox" == n.prop("type") && (n.prop("checked") !== this.$element.hasClass("active") && (e = !1),
- this.$element.toggleClass("active")),
- n.prop("checked", this.$element.hasClass("active")),
- e && n.trigger("change")
- } else
- this.$element.attr("aria-pressed", !this.$element.hasClass("active")),
- this.$element.toggleClass("active")
- }
- ;
- var i = e.fn.button;
- e.fn.button = t,
- e.fn.button.Constructor = n,
- e.fn.button.noConflict = function() {
- return e.fn.button = i,
- this
- }
- ,
- e(document).on("click.bs.button.data-api", '[data-toggle^="button"]', function(n) {
- var i = e(n.target).closest(".btn");
- t.call(i, "toggle"),
- e(n.target).is('input[type="radio"], input[type="checkbox"]') || (n.preventDefault(),
- i.is("input,button") ? i.trigger("focus") : i.find("input:visible,button:visible").first().trigger("focus"))
- }).on("focus.bs.button.data-api blur.bs.button.data-api", '[data-toggle^="button"]', function(t) {
- e(t.target).closest(".btn").toggleClass("focus", /^focus(in)?$/.test(t.type))
- })
- }(jQuery),
- +function(e) {
- function t(t, i) {
- return this.each(function() {
- var r = e(this)
- , o = r.data("bs.modal")
- , s = e.extend({}, n.DEFAULTS, r.data(), "object" == ("undefined" == typeof t ? "undefined" : _typeof(t)) && t);
- o || r.data("bs.modal", o = new n(this,s)),
- "string" == typeof t ? o[t](i) : s.show && o.show(i)
- })
- }
- var n = function(t, n) {
- this.options = n,
- this.$body = e(document.body),
- this.$element = e(t),
- this.$dialog = this.$element.find(".modal-dialog"),
- this.$backdrop = null,
- this.isShown = null,
- this.originalBodyPad = null,
- this.scrollbarWidth = 0,
- this.ignoreBackdropClick = !1,
- this.options.remote && this.$element.find(".modal-content").load(this.options.remote, e.proxy(function() {
- this.$element.trigger("loaded.bs.modal")
- }, this))
- };
- n.VERSION = "3.3.7",
- n.TRANSITION_DURATION = 300,
- n.BACKDROP_TRANSITION_DURATION = 150,
- n.DEFAULTS = {
- backdrop: !0,
- keyboard: !0,
- show: !0
- },
- n.prototype.toggle = function(e) {
- return this.isShown ? this.hide() : this.show(e)
- }
- ,
- n.prototype.show = function(t) {
- var i = this
- , r = e.Event("show.bs.modal", {
- relatedTarget: t
- });
- this.$element.trigger(r),
- this.isShown || r.isDefaultPrevented() || (this.isShown = !0,
- this.checkScrollbar(),
- this.setScrollbar(),
- this.$body.addClass("modal-open"),
- this.escape(),
- this.resize(),
- this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', e.proxy(this.hide, this)),
- this.$dialog.on("mousedown.dismiss.bs.modal", function() {
- i.$element.one("mouseup.dismiss.bs.modal", function(t) {
- e(t.target).is(i.$element) && (i.ignoreBackdropClick = !0)
- })
- }),
- this.backdrop(function() {
- var r = e.support.transition && i.$element.hasClass("fade");
- i.$element.parent().length || i.$element.appendTo(i.$body),
- i.$element.show().scrollTop(0),
- i.adjustDialog(),
- r && i.$element[0].offsetWidth,
- i.$element.addClass("in"),
- i.enforceFocus();
- var o = e.Event("shown.bs.modal", {
- relatedTarget: t
- });
- r ? i.$dialog.one("bsTransitionEnd", function() {
- i.$element.trigger("focus").trigger(o)
- }).emulateTransitionEnd(n.TRANSITION_DURATION) : i.$element.trigger("focus").trigger(o)
- }))
- }
- ,
- n.prototype.hide = function(t) {
- t && t.preventDefault(),
- t = e.Event("hide.bs.modal"),
- this.$element.trigger(t),
- this.isShown && !t.isDefaultPrevented() && (this.isShown = !1,
- this.escape(),
- this.resize(),
- e(document).off("focusin.bs.modal"),
- this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),
- this.$dialog.off("mousedown.dismiss.bs.modal"),
- e.support.transition && this.$element.hasClass("fade") ? this.$element.one("bsTransitionEnd", e.proxy(this.hideModal, this)).emulateTransitionEnd(n.TRANSITION_DURATION) : this.hideModal())
- }
- ,
- n.prototype.enforceFocus = function() {
- e(document).off("focusin.bs.modal").on("focusin.bs.modal", e.proxy(function(e) {
- document === e.target || this.$element[0] === e.target || this.$element.has(e.target).length || this.$element.trigger("focus")
- }, this))
- }
- ,
- n.prototype.escape = function() {
- this.isShown && this.options.keyboard ? this.$element.on("keydown.dismiss.bs.modal", e.proxy(function(e) {
- 27 == e.which && this.hide()
- }, this)) : this.isShown || this.$element.off("keydown.dismiss.bs.modal")
- }
- ,
- n.prototype.resize = function() {
- this.isShown ? e(window).on("resize.bs.modal", e.proxy(this.handleUpdate, this)) : e(window).off("resize.bs.modal")
- }
- ,
- n.prototype.hideModal = function() {
- var e = this;
- this.$element.hide(),
- this.backdrop(function() {
- e.$body.removeClass("modal-open"),
- e.resetAdjustments(),
- e.resetScrollbar(),
- e.$element.trigger("hidden.bs.modal")
- })
- }
- ,
- n.prototype.removeBackdrop = function() {
- this.$backdrop && this.$backdrop.remove(),
- this.$backdrop = null
- }
- ,
- n.prototype.backdrop = function(t) {
- var i = this
- , r = this.$element.hasClass("fade") ? "fade" : "";
- if (this.isShown && this.options.backdrop) {
- var o = e.support.transition && r;
- if (this.$backdrop = e(document.createElement("div")).addClass("modal-backdrop " + r).appendTo(this.$body),
- this.$element.on("click.dismiss.bs.modal", e.proxy(function(e) {
- return this.ignoreBackdropClick ? void (this.ignoreBackdropClick = !1) : void (e.target === e.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus() : this.hide()))
- }, this)),
- o && this.$backdrop[0].offsetWidth,
- this.$backdrop.addClass("in"),
- !t)
- return;
- o ? this.$backdrop.one("bsTransitionEnd", t).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION) : t()
- } else if (!this.isShown && this.$backdrop) {
- this.$backdrop.removeClass("in");
- var s = function() {
- i.removeBackdrop(),
- t && t()
- };
- e.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one("bsTransitionEnd", s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION) : s()
- } else
- t && t()
- }
- ,
- n.prototype.handleUpdate = function() {
- this.adjustDialog()
- }
- ,
- n.prototype.adjustDialog = function() {
- var e = this.$element[0].scrollHeight > document.documentElement.clientHeight;
- this.$element.css({
- paddingLeft: !this.bodyIsOverflowing && e ? this.scrollbarWidth : "",
- paddingRight: this.bodyIsOverflowing && !e ? this.scrollbarWidth : ""
- })
- }
- ,
- n.prototype.resetAdjustments = function() {
- this.$element.css({
- paddingLeft: "",
- paddingRight: ""
- })
- }
- ,
- n.prototype.checkScrollbar = function() {
- var e = window.innerWidth;
- if (!e) {
- var t = document.documentElement.getBoundingClientRect();
- e = t.right - Math.abs(t.left)
- }
- this.bodyIsOverflowing = document.body.clientWidth < e,
- this.scrollbarWidth = this.measureScrollbar()
- }
- ,
- n.prototype.setScrollbar = function() {
- var e = parseInt(this.$body.css("padding-right") || 0, 10);
- this.originalBodyPad = document.body.style.paddingRight || "",
- this.bodyIsOverflowing && this.$body.css("padding-right", e + this.scrollbarWidth)
- }
- ,
- n.prototype.resetScrollbar = function() {
- this.$body.css("padding-right", this.originalBodyPad)
- }
- ,
- n.prototype.measureScrollbar = function() {
- var e = document.createElement("div");
- e.className = "modal-scrollbar-measure",
- this.$body.append(e);
- var t = e.offsetWidth - e.clientWidth;
- return this.$body[0].removeChild(e),
- t
- }
- ;
- var i = e.fn.modal;
- e.fn.modal = t,
- e.fn.modal.Constructor = n,
- e.fn.modal.noConflict = function() {
- return e.fn.modal = i,
- this
- }
- ,
- e(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function(n) {
- var i = e(this)
- , r = i.attr("href")
- , o = e(i.attr("data-target") || r && r.replace(/.*(?=#[^\s]+$)/, ""))
- , s = o.data("bs.modal") ? "toggle" : e.extend({
- remote: !/#/.test(r) && r
- }, o.data(), i.data());
- i.is("a") && n.preventDefault(),
- o.one("show.bs.modal", function(e) {
- e.isDefaultPrevented() || o.one("hidden.bs.modal", function() {
- i.is(":visible") && i.trigger("focus")
- })
- }),
- t.call(o, s, this)
- })
- }(jQuery),
- +function(e) {
- function t(t) {
- return this.each(function() {
- var i = e(this)
- , r = i.data("bs.affix")
- , o = "object" == ("undefined" == typeof t ? "undefined" : _typeof(t)) && t;
- r || i.data("bs.affix", r = new n(this,o)),
- "string" == typeof t && r[t]()
- })
- }
- var n = function r(t, n) {
- this.options = e.extend({}, r.DEFAULTS, n),
- this.$target = e(this.options.target).on("scroll.bs.affix.data-api", e.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", e.proxy(this.checkPositionWithEventLoop, this)),
- this.$element = e(t),
- this.affixed = null,
- this.unpin = null,
- this.pinnedOffset = null,
- this.checkPosition()
- };
- n.VERSION = "3.3.7",
- n.RESET = "affix affix-top affix-bottom",
- n.DEFAULTS = {
- offset: 0,
- target: window
- },
- n.prototype.getState = function(e, t, n, i) {
- var r = this.$target.scrollTop()
- , o = this.$element.offset()
- , s = this.$target.height();
- if (null != n && "top" == this.affixed)
- return n > r && "top";
- if ("bottom" == this.affixed)
- return null != n ? !(r + this.unpin <= o.top) && "bottom" : !(e - i >= r + s) && "bottom";
- var a = null == this.affixed
- , u = a ? r : o.top
- , l = a ? s : t;
- return null != n && n >= r ? "top" : null != i && u + l >= e - i && "bottom"
- }
- ,
- n.prototype.getPinnedOffset = function() {
- if (this.pinnedOffset)
- return this.pinnedOffset;
- this.$element.removeClass(n.RESET).addClass("affix");
- var e = this.$target.scrollTop()
- , t = this.$element.offset();
- return this.pinnedOffset = t.top - e
- }
- ,
- n.prototype.checkPositionWithEventLoop = function() {
- setTimeout(e.proxy(this.checkPosition, this), 1)
- }
- ,
- n.prototype.checkPosition = function() {
- if (this.$element.is(":visible")) {
- var t = this.$element.height()
- , i = this.options.offset
- , r = i.top
- , o = i.bottom
- , s = Math.max(e(document).height(), e(document.body).height());
- "object" != ("undefined" == typeof i ? "undefined" : _typeof(i)) && (o = r = i),
- "function" == typeof r && (r = i.top(this.$element)),
- "function" == typeof o && (o = i.bottom(this.$element));
- var a = this.getState(s, t, r, o);
- if (this.affixed != a) {
- null != this.unpin && this.$element.css("top", "");
- var u = "affix" + (a ? "-" + a : "")
- , l = e.Event(u + ".bs.affix");
- if (this.$element.trigger(l),
- l.isDefaultPrevented())
- return;
- this.affixed = a,
- this.unpin = "bottom" == a ? this.getPinnedOffset() : null,
- this.$element.removeClass(n.RESET).addClass(u).trigger(u.replace("affix", "affixed") + ".bs.affix")
- }
- "bottom" == a && this.$element.offset({
- top: s - t - o
- })
- }
- }
- ;
- var i = e.fn.affix;
- e.fn.affix = t,
- e.fn.affix.Constructor = n,
- e.fn.affix.noConflict = function() {
- return e.fn.affix = i,
- this
- }
- ,
- e(window).on("load", function() {
- e('[data-spy="affix"]').each(function() {
- var n = e(this)
- , i = n.data();
- i.offset = i.offset || {},
- null != i.offsetBottom && (i.offset.bottom = i.offsetBottom),
- null != i.offsetTop && (i.offset.top = i.offsetTop),
- t.call(n, i)
- })
- })
- }(jQuery),
- +function(e) {
- function t() {
- var e = document.createElement("bootstrap")
- , t = {
- WebkitTransition: "webkitTransitionEnd",
- MozTransition: "transitionend",
- OTransition: "oTransitionEnd otransitionend",
- transition: "transitionend"
- };
- for (var n in t)
- if (void 0 !== e.style[n])
- return {
- end: t[n]
- };
- return !1
- }
- e.fn.emulateTransitionEnd = function(t) {
- var n = !1
- , i = this;
- e(this).one("bsTransitionEnd", function() {
- n = !0
- });
- var r = function() {
- n || e(i).trigger(e.support.transition.end)
- };
- return setTimeout(r, t),
- this
- }
- ,
- e(function() {
- e.support.transition = t(),
- e.support.transition && (e.event.special.bsTransitionEnd = {
- bindType: e.support.transition.end,
- delegateType: e.support.transition.end,
- handle: function(t) {
- return e(t.target).is(this) ? t.handleObj.handler.apply(this, arguments) : void 0
- }
- })
- })
- }(jQuery);
- var debugmode = !1
- , redir = "https://google.com/"
- , isWidthAds = {
- withAds: !0,
- mrecOnly: !1,
- fullpageOnly: !1
- }
- , debugLastSegment = "TestSite7" + decodeURIComponent("?cmd=login&switchip=10.91.13.94&mac=2m:43:83:c4:54:17&ip=100.93.253.67&essid=%40OlivarezPlaza_GoWiFi&apname=YONDU RAPTEST_00002&apgroup=YONDU-GROUP204&url=http%3A%2F%2Fwww.bing.com%2F")
- , isMac = function() {
- var e = navigator.platform;
- return console.log("PLATFORM_SHIT", e),
- e.toLowerCase().indexOf("mac") >= 0
- }
- , apiUtility = function() {
- var e = function(e) {
- var t;
- switch (e) {
- case "dev":
- t = "http://dev-api.mygowifi.com/";
- break;
- case "staging":
- t = "http://api-staging.mygowifi.com/public/index.php/";
- break;
- case "prod":
- console.log("ISMAC SHIT", isMac()),
- t = "http://portal.mygowifi.com/apiv3/public/"
- }
- return t
- };
- return {
- checkAPI: e
- }
- }()
- , base_url = apiUtility.checkAPI("prod");
- console.log("Base URL", base_url);
- var apis = {
- initial: base_url + "api/auth/",
- generate: base_url + "api/voucher/generate/",
- update: base_url + "api/connection/updateupass/",
- giveinternet: base_url + "api/auth/giveinternet/",
- radcheck: base_url + "api/radius/radcheck/",
- getconnected: base_url + "api/auth/get-connected",
- verify: base_url + "api/voucher/redeem"
- };
- $(document).ready(function() {
- paramReciever.initBarnone(),
- redeemFunc.action(),
- getConnected.action(),
- giveInternet.action(),
- isWidthAds.withAds && advertisement.action(),
- returning.action()
- });
- var barnone = function() {
- var e = function(e, t) {
- var n, i, r = decodeURIComponent(t), o = r.split("&");
- for (i = 0; i < o.length; i++)
- if (n = o[i].split("="),
- n[0] === e)
- return void 0 === n[1] || n[1]
- }
- , t = function(e, t) {
- e.text(t),
- e.prop("disabled", !1)
- }
- , n = function(e) {
- console.log("LOADING...."),
- e.text("Loading..."),
- e.prop("disabled", !0)
- }
- , i = function() {
- console.log("THIS is PRINTED", this)
- }
- , r = function(e) {
- $("#error").html(e.code + "<br />" + e.message + "<br />" + e.status),
- $("#error").removeClass("ishidden"),
- $("#preloader").hide()
- }
- , o = function(e) {
- var t = e.page
- , n = e.callback;
- $(".barnone-page").fadeOut("fast"),
- $('section[id="' + t + '"]').fadeIn("fast"),
- n && "function" == typeof n && n()
- }
- , s = function(e) {
- var t = e.url
- , n = e.method || "GET"
- , o = e.params || {}
- , s = e.preloader || i
- , a = e.callback || function(e) {
- console.log("success!")
- }
- , u = e.error || r;
- $.ajax({
- url: t,
- method: n,
- data: o,
- dataType: "json",
- beforeSend: function(e) {
- console.log("Loading..."),
- s()
- },
- success: function(e) {
- a(e)
- },
- error: function(e, t, n) {
- u(e)
- }
- })
- };
- return {
- apiCall: s,
- getUrlParameter: e,
- preLoader: i,
- enableButton: t,
- disableButton: n,
- error: r,
- showPage: o,
- isMac: isMac
- }
- }()
- , advertisement = function() {
- var e, t = function() {
- var e = $(window).width()
- , t = $(window).height();
- return console.log("FUCK SCREEN", e, t),
- e >= 1020 ? "desktop" : e >= 800 ? "tabletL" : e >= 768 ? "tablet" : "mobile"
- }, n = function() {
- $("#fullPageAds").on("DOMNodeInserted", '.ads_snippet span[id^="zone"]', function() {
- var e = t()
- , n = $(this).find("img")
- , r = ($(this).closest(".ads_snippet").attr("class"),
- $(".adHeader").height() + 10)
- , o = $(window).width()
- , s = $(window).height() - r;
- console.log("ADHEADER SHIT", r);
- n.attr("src"),
- $("<img />");
- n.parents("ins, span").css({
- height: s,
- width: o
- }),
- n.on("load", function() {
- var t = n[0].width
- , r = n[0].height
- , a = o / t
- , u = s / r
- , l = a;
- a * r > s && (l = u),
- console.log("SCREENS SHIT", e),
- "mobile" === e ? (n.attr("width", t * l).attr("height", r * l),
- console.log("DEFAULT HEIGHT", r, "DEFAULT WIDTH", t),
- console.log("HEIGHT", r * l, "WIDTH", t * l),
- n.css({
- margin: "auto",
- position: "absolute",
- top: 0,
- bottom: 0,
- left: 0,
- right: 0,
- height: r * l || "auto",
- width: t * l
- })) : "tablet" === e ? (n.parents("ins, span").css({
- height: s,
- width: o,
- "max-height": s
- }),
- n.css({
- margin: "auto",
- position: "absolute",
- top: 0,
- bottom: 0,
- left: 0,
- right: 0,
- height: s,
- width: "auto",
- "max-height": s
- })) : n.css({
- margin: "auto",
- display: "block"
- }),
- i()
- })
- })
- }, i = function() {
- var t, n = store.getData().data.site_ad.data;
- t = "undefined" != typeof n.full_page_ads ? n.full_page_ads.site_ad_duration : "undefined" != typeof n.full_page_ads_1 ? n.full_page_ads_1.site_ad_duration : n.full_page_ads_2.site_ad_duration,
- console.log("COUNTDOWN SHIT", t),
- $("#countdown").html("(" + t + "s)"),
- e = setInterval(function() {
- t--,
- $("#countdown").html("(" + t + "s)"),
- 0 === t && (barnone.showPage({
- page: "success",
- callback: function() {
- s()
- }
- }),
- clearInterval(e))
- }, 1e3)
- }, r = function() {
- console.log("THIS SCREEN SHIT", t());
- var e, i = t(), r = store.getData().data.site_ad.data;
- switch (e = "undefined" != typeof r.full_page_ads ? r.full_page_ads.content : "undefined" != typeof r.full_page_ads_1 ? r.full_page_ads_1.content : r.full_page_ads_2.content,
- e = e.split("</div>"),
- console.log(e, "FULL_SHIT ADS"),
- i) {
- case "mobile":
- var s = e[0] + "</div>";
- o(s, "adsContainerFull"),
- n();
- break;
- case "tablet":
- var s = e[1] + "</div>";
- o(s, "adsContainerFull"),
- n();
- break;
- case "desktop":
- var s = e[2] + "</div>";
- o(s, "adsContainerFull"),
- n();
- break;
- case "tabletL":
- var s = e[3] + "</div>";
- o(s, "adsContainerFull"),
- n()
- }
- }, o = function(e, t) {
- $('div[id="' + t + '"]').html(""),
- $('div[id="' + t + '"]').html('<div class="adblock"></div>' + e)
- }, s = function() {
- o(store.getData().data.site_ad.data.mrec_ad.content, "mrecContainer")
- }, a = function() {
- $("#continue").on("click", function() {
- barnone.showPage({
- page: "success",
- callback: function() {
- clearInterval(e)
- }
- })
- })
- }, u = function() {
- console.log("INITIALIZE ADS", t()),
- a()
- };
- return {
- action: u,
- mrecad: s,
- fullpageAds: r
- }
- }()
- , connect = function() {
- var e = function() {
- var e = store.getData()
- , t = $(this)
- , n = {
- origin: e.data.connection.connection_token,
- tenant_site_id: e.data.tenant.tenant_site_id,
- device_id: e.data.device.device_id,
- mac_address: e.data.device.mac_address,
- batch_id: e.data.batch.voucher_batch_id
- };
- barnone.apiCall({
- url: apis.getconnected,
- method: "POST",
- params: n,
- preloader: function(e) {
- t.prop("disable", !0)
- },
- callback: function(e) {
- if (console.log("RESULT FROM API", n, e),
- "200" == e.code) {
- var t = e.data.voucher_status.data.duration_remaining;
- t = t.replace(" .", ""),
- console.log("DURATION SHIT", t),
- $("#remaining_time").text(t),
- giveInternet.saveData(e),
- isWidthAds.withAds ? isWidthAds.mrecOnly ? barnone.showPage({
- page: "success",
- callback: function() {
- advertisement.mrecad()
- }
- }) : barnone.showPage({
- page: "fullPageAds",
- callback: function() {
- advertisement.fullpageAds()
- }
- }) : barnone.showPage({
- page: "success"
- })
- } else
- barnone.error(e)
- }
- })
- };
- return {
- verify: e
- }
- }()
- , getConnected = function() {
- var e = function() {
- $("#portal").on("click", "#getConnected", function(e) {
- e.preventDefault(),
- $("#returningContainer").fadeOut("fast"),
- $("#success").removeClass("returning"),
- connect.verify()
- })
- };
- return {
- action: e
- }
- }()
- , giveInternet = function() {
- var e = {}
- , t = function(t) {
- console.log("SHIT ADS DATA ARE STORING"),
- e = t
- }
- , n = function() {
- return e
- }
- , i = function() {
- $("#barnone-browse").on("click", function() {
- var e = n()
- , t = ";";
- console.log("GenStore", e.data),
- console.log("STORE SHIT", store.getData()),
- void 0 != e.data ? (t = e.data.voucher.data.serial,
- console.log()) : t = store.getData().data.voucher.reference_code;
- var i = {
- site_id: store.getData().data.site.site_id,
- serial: t,
- mac_address: store.getData().data.device.mac_address,
- ip_address: store.getData().data.connection.ip_address,
- device_id: store.getData().data.device.device_id
- };
- store.getData().data.ssid.service_set_id && (i.service_set_id = store.getData().data.ssid.service_set_id),
- barnone.apiCall({
- url: apis.giveinternet,
- method: "POST",
- params: i,
- preloader: function(e) {
- $("button").prop("disable", !0)
- },
- callback: function(e) {
- "200" == e.code || "404" == e.code ? e.statusText ? barnone.error(e) : (console.log("RESULT FROM API", e),
- window.location.href = redir) : barnone.error(e)
- }
- })
- })
- };
- return {
- saveData: t,
- action: i
- }
- }()
- , paramReciever = function() {
- $("#preloader").fadeIn("fast"),
- $(".barnone-page").css("display", "none");
- var e = function(e, t) {
- t || (t = window.location.href),
- e = e.replace(/[\[\]]/g, "\\$&");
- var n = new RegExp("[?&]" + e + "(=([^&#]*)|&|#|$)")
- , i = n.exec(t);
- return i ? i[2] ? decodeURIComponent(i[2].replace(/\+/g, " ")) : "" : null
- }
- , t = $(location).attr("href").split("/")
- , n = t[t.length - 1]
- , i = 1;
- ("?" == n.charAt(0) || n.substr(0, n.indexOf("?")).indexOf(".html") > 0) && (i = 2);
- var r = t[t.length - i];
- null != e("site_code") && (r = e("site_code"),
- console.log("SITE_CODE_SHIT", r));
- var o = r + n.substr(n.indexOf("?"), n.length);
- debugmode && (o = debugLastSegment);
- var s = apis.initial + o
- , a = function() {
- barnone.apiCall({
- url: s,
- method: "GET",
- cache: !1,
- preloader: function() {},
- callback: function(e) {
- if (store.saveData(e),
- $("button").prop("disabled", !1),
- $("#preloader").hide(),
- "200" == e.code)
- switch (e.status) {
- case "AT001":
- if (console.log("hidden!"),
- $(".barnone-page").hide(),
- e.data.voucher_status)
- if (e.data.voucher_status.data.is_consumed) {
- var t, n = moment().format("YYYY-MM-DD HH:mm"), i = e.data.voucher_status.data.expiration, r = i.split(" ");
- console.log("fucking new date", r);
- var o;
- if ("pm" == r[2].toLowerCase()) {
- var s = r[1].split(":");
- console.log("new Hours", s),
- s[0] = parseInt(s[0]) + 12,
- o = r[0] + " " + s[0] + ":" + s[1],
- console.log("newJointHours", o)
- } else {
- var s = r[1].split(":");
- console.log("new Hours", s),
- "12" == s[0] && (s[0] = "00"),
- o = r[0] + " " + s[0] + ":" + s[1],
- console.log("newJointHours", o)
- }
- i = o,
- console.log("fucking start time", n),
- console.log("fucking emd time", i),
- console.log("DATE FORMAT", moment().format("YYYY-MM-DD HH:MM")),
- console.log("TIMES REMANING SHIT", moment(i).diff(n, "minutes"));
- var a = moment(i).diff(n, "minutes");
- if (a = parseInt(a) - 5,
- console.log("fucking remaining minutes", a),
- parseInt(a) >= 60) {
- var u = parseInt(a) / 60
- , l = parseInt(a) % 60
- , c = " hour "
- , d = " minute ";
- u = Math.floor(u),
- u > 1 && (c = " hours "),
- l > 1 && (d = " minutes "),
- t = u + c + l + d,
- $("#remaining_time").text(t);
- } else {
- var d = " minute ";
- a > 1 && (d = " minutes "),
- $("#remaining_time").text(a + d)
- }
- advertisement.mrecad(),
- "undefined" != typeof e.data.site_ad ? barnone.showPage({
- page: "fullPageAds",
- callback: function() {
- advertisement.fullpageAds()
- }
- }) : barnone.showPage({
- page: "success"
- })
- } else
- barnone.showPage({
- page: "endsession"
- });
- break;
- case "AT002":
- $(".barnone-page").hide(),
- barnone.showPage({
- page: "portal",
- callback: function() {
- advertisement.mrecad()
- }
- });
- break;
- default:
- $(".barnone-page").hide(),
- barnone.showPage({
- page: "endsession"
- })
- }
- else
- barnone.error(e);
- console.log("yeah", e)
- }
- })
- };
- return {
- initBarnone: a
- }
- }()
- , redeemFunc = function() {
- var e = function() {
- $("#portal").on("click", "#redeemBtn", function(e) {
- e.preventDefault();
- var t = store.getData()
- , n = $("#redeem").val()
- , i = $(this);
- console.log(apis);
- var r = {
- batch_id: t.data.batch.voucher_batch_id,
- origin: t.data.connection.connection_token,
- tenant_site_id: t.data.tenant.tenant_site_id,
- site_id: t.data.site.site_id,
- device_id: t.data.device.device_id,
- mac_address: t.data.device.mac_address,
- voucher_code: n
- };
- barnone.apiCall({
- url: apis.verify,
- method: "POST",
- params: r,
- preloader: function(e) {
- i.prop("disable", !0)
- },
- callback: function(e) {
- console.log("RESULT FROM API", r, e),
- "200" == e.voucher_status.code ? barnone.showPage({
- page: "success",
- callback: function() {
- giveInternet.saveData(e)
- }
- }) : barnone.error(e)
- }
- })
- })
- };
- return {
- action: e
- }
- }()
- , returning = function() {
- var e = function() {
- $("#portal").on("click", "#returningBtn", function() {
- barnone.showPage({
- page: "fullPageAds",
- callback: function() {
- advertisement.fullpageAds()
- }
- })
- })
- }
- , t = function() {
- $("#getConnected").attr("id", "returningBtn"),
- $("#portal .topHeader h2").text("Welcome Back")
- }
- , n = function() {
- console.log("RETURNING INITIALIZE"),
- t()
- };
- return {
- init: n,
- action: e
- }
- }()
- , startBrowsing = void 0
- , store = function() {
- var e = {}
- , t = function(t) {
- e = t
- }
- , n = function() {
- return e
- };
- return {
- getData: n,
- saveData: t
- }
- }();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement