Skip to content

Instantly share code, notes, and snippets.

@BTTBoost
Last active Jun 2, 2021
Embed
What would you like to do?
BitTorrent Speed and Binance Integration (beautified JS)
// POSTED FOR REDDIT: reddit.com/r/BittorrentToken/comments/nqgf5x/some_exciting_news_btt_speed_protocol_incl
// (L)EARN WITH US: reddit.com/r/btt_speed
! function (e) {
function t(t) {
for (var n, a, i = t[0], o = t[1], s = 0, c = []; s < i.length; s++) a = i[s], Object.prototype.hasOwnProperty.call(r, a) && r[a] && c.push(r[a][0]), r[a] = 0;
for (n in o) Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
for (l && l(t); c.length;) c.shift()()
}
var n = {},
r = {
0: 0
};
function a(t) {
if (n[t]) return n[t].exports;
var r = n[t] = {
i: t,
l: !1,
exports: {}
};
return e[t].call(r.exports, r, r.exports, a), r.l = !0, r.exports
}
a.e = function (e) {
var t = [],
n = r[e];
if (0 !== n)
if (n) t.push(n[2]);
else {
var i = new Promise((function (t, a) {
n = r[e] = [t, a]
}));
t.push(n[2] = i);
var o, s = document.createElement("script");
s.charset = "utf-8", s.timeout = 120, a.nc && s.setAttribute("nonce", a.nc), s.src = function (e) {
return a.p + "" + e + ".bundle.js"
}(e);
var l = new Error;
o = function (t) {
s.onerror = s.onload = null, clearTimeout(c);
var n = r[e];
if (0 !== n) {
if (n) {
var a = t && ("load" === t.type ? "missing" : t.type),
i = t && t.target && t.target.src;
l.message = "Loading chunk " + e + " failed.\n(" + a + ": " + i + ")", l.name = "ChunkLoadError", l.type = a, l.request = i, n[1](l)
}
r[e] = void 0
}
};
var c = setTimeout((function () {
o({
type: "timeout",
target: s
})
}), 12e4);
s.onerror = s.onload = o, document.head.appendChild(s)
} return Promise.all(t)
}, a.m = e, a.c = n, a.d = function (e, t, n) {
a.o(e, t) || Object.defineProperty(e, t, {
enumerable: !0,
get: n
})
}, a.r = function (e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(e, "__esModule", {
value: !0
})
}, a.t = function (e, t) {
if (1 & t && (e = a(e)), 8 & t) return e;
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
var n = Object.create(null);
if (a.r(n), Object.defineProperty(n, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e)
for (var r in e) a.d(n, r, function (t) {
return e[t]
}.bind(null, r));
return n
}, a.n = function (e) {
var t = e && e.__esModule ? function () {
return e.default
} : function () {
return e
};
return a.d(t, "a", t), t
}, a.o = function (e, t) {
return Object.prototype.hasOwnProperty.call(e, t)
}, a.p = "", a.oe = function (e) {
throw console.error(e), e
};
var i = window.webpackJsonp = window.webpackJsonp || [],
o = i.push.bind(i);
i.push = t, i = i.slice();
for (var s = 0; s < i.length; s++) t(i[s]);
var l = o;
a(a.s = 677)
}([function (e, t, n) {
"use strict";
function r(e, t, n, r, a, i, o, s) {
var l, c = "function" == typeof e ? e.options : e;
if (t && (c.render = t, c.staticRenderFns = n, c._compiled = !0), r && (c.functional = !0), i && (c._scopeId = "data-v-" + i), o ? (l = function (e) {
(e = e || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || "undefined" == typeof __VUE_SSR_CONTEXT__ || (e = __VUE_SSR_CONTEXT__), a && a.call(this, e), e && e._registeredComponents && e._registeredComponents.add(o)
}, c._ssrRegister = l) : a && (l = s ? function () {
a.call(this, this.$root.$options.shadowRoot)
} : a), l)
if (c.functional) {
c._injectStyles = l;
var u = c.render;
c.render = function (e, t) {
return l.call(t), u(e, t)
}
} else {
var d = c.beforeCreate;
c.beforeCreate = d ? [].concat(d, l) : [l]
} return {
exports: e,
options: c
}
}
n.d(t, "a", (function () {
return r
}))
}, function (e, t, n) {
(function (e) {
e.exports = function () {
"use strict";
var t, r;
function a() {
return t.apply(null, arguments)
}
function i(e) {
return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e)
}
function o(e) {
return null != e && "[object Object]" === Object.prototype.toString.call(e)
}
function s(e, t) {
return Object.prototype.hasOwnProperty.call(e, t)
}
function l(e) {
if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length;
var t;
for (t in e)
if (s(e, t)) return !1;
return !0
}
function c(e) {
return void 0 === e
}
function u(e) {
return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e)
}
function d(e) {
return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e)
}
function h(e, t) {
var n, r = [];
for (n = 0; n < e.length; ++n) r.push(t(e[n], n));
return r
}
function f(e, t) {
for (var n in t) s(t, n) && (e[n] = t[n]);
return s(t, "toString") && (e.toString = t.toString), s(t, "valueOf") && (e.valueOf = t.valueOf), e
}
function p(e, t, n, r) {
return Mt(e, t, n, r, !0).utc()
}
function m(e) {
return null == e._pf && (e._pf = {
empty: !1,
unusedTokens: [],
unusedInput: [],
overflow: -2,
charsLeftOver: 0,
nullInput: !1,
invalidEra: null,
invalidMonth: null,
invalidFormat: !1,
userInvalidated: !1,
iso: !1,
parsedDateParts: [],
era: null,
meridiem: null,
rfc2822: !1,
weekdayMismatch: !1
}), e._pf
}
function g(e) {
if (null == e._isValid) {
var t = m(e),
n = r.call(t.parsedDateParts, (function (e) {
return null != e
})),
a = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n);
if (e._strict && (a = a && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return a;
e._isValid = a
}
return e._isValid
}
function v(e) {
var t = p(NaN);
return null != e ? f(m(t), e) : m(t).userInvalidated = !0, t
}
r = Array.prototype.some ? Array.prototype.some : function (e) {
var t, n = Object(this),
r = n.length >>> 0;
for (t = 0; t < r; t++)
if (t in n && e.call(this, n[t], t, n)) return !0;
return !1
};
var b = a.momentProperties = [],
y = !1;
function w(e, t) {
var n, r, a;
if (c(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), c(t._i) || (e._i = t._i), c(t._f) || (e._f = t._f), c(t._l) || (e._l = t._l), c(t._strict) || (e._strict = t._strict), c(t._tzm) || (e._tzm = t._tzm), c(t._isUTC) || (e._isUTC = t._isUTC), c(t._offset) || (e._offset = t._offset), c(t._pf) || (e._pf = m(t)), c(t._locale) || (e._locale = t._locale), b.length > 0)
for (n = 0; n < b.length; n++) c(a = t[r = b[n]]) || (e[r] = a);
return e
}
function k(e) {
w(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === y && (y = !0, a.updateOffset(this), y = !1)
}
function _(e) {
return e instanceof k || null != e && null != e._isAMomentObject
}
function x(e) {
!1 === a.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e)
}
function C(e, t) {
var n = !0;
return f((function () {
if (null != a.deprecationHandler && a.deprecationHandler(null, e), n) {
var r, i, o, l = [];
for (i = 0; i < arguments.length; i++) {
if (r = "", "object" == typeof arguments[i]) {
for (o in r += "\n[" + i + "] ", arguments[0]) s(arguments[0], o) && (r += o + ": " + arguments[0][o] + ", ");
r = r.slice(0, -2)
} else r = arguments[i];
l.push(r)
}
x(e + "\nArguments: " + Array.prototype.slice.call(l).join("") + "\n" + (new Error).stack), n = !1
}
return t.apply(this, arguments)
}), t)
}
var M, T = {};
function L(e, t) {
null != a.deprecationHandler && a.deprecationHandler(e, t), T[e] || (x(t), T[e] = !0)
}
function S(e) {
return "undefined" != typeof Function && e instanceof Function || "[object Function]" === Object.prototype.toString.call(e)
}
function j(e, t) {
var n, r = f({}, e);
for (n in t) s(t, n) && (o(e[n]) && o(t[n]) ? (r[n] = {}, f(r[n], e[n]), f(r[n], t[n])) : null != t[n] ? r[n] = t[n] : delete r[n]);
for (n in e) s(e, n) && !s(t, n) && o(e[n]) && (r[n] = f({}, r[n]));
return r
}
function z(e) {
null != e && this.set(e)
}
function A(e, t, n) {
var r = "" + Math.abs(e),
a = t - r.length;
return (e >= 0 ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + r
}
a.suppressDeprecationWarnings = !1, a.deprecationHandler = null, M = Object.keys ? Object.keys : function (e) {
var t, n = [];
for (t in e) s(e, t) && n.push(t);
return n
};
var E = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
O = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
P = {},
D = {};
function R(e, t, n, r) {
var a = r;
"string" == typeof r && (a = function () {
return this[r]()
}), e && (D[e] = a), t && (D[t[0]] = function () {
return A(a.apply(this, arguments), t[1], t[2])
}), n && (D[n] = function () {
return this.localeData().ordinal(a.apply(this, arguments), e)
})
}
function I(e, t) {
return e.isValid() ? (t = N(t, e.localeData()), P[t] = P[t] || function (e) {
var t, n, r, a = e.match(E);
for (t = 0, n = a.length; t < n; t++) D[a[t]] ? a[t] = D[a[t]] : a[t] = (r = a[t]).match(/\[[\s\S]/) ? r.replace(/^\[|\]$/g, "") : r.replace(/\\/g, "");
return function (t) {
var r, i = "";
for (r = 0; r < n; r++) i += S(a[r]) ? a[r].call(t, e) : a[r];
return i
}
}(t), P[t](e)) : e.localeData().invalidDate()
}
function N(e, t) {
var n = 5;
function r(e) {
return t.longDateFormat(e) || e
}
for (O.lastIndex = 0; n >= 0 && O.test(e);) e = e.replace(O, r), O.lastIndex = 0, n -= 1;
return e
}
var B = {};
function Y(e, t) {
var n = e.toLowerCase();
B[n] = B[n + "s"] = B[t] = e
}
function H(e) {
return "string" == typeof e ? B[e] || B[e.toLowerCase()] : void 0
}
function F(e) {
var t, n, r = {};
for (n in e) s(e, n) && (t = H(n)) && (r[t] = e[n]);
return r
}
var q = {};
function V(e, t) {
q[e] = t
}
function W(e) {
return e % 4 == 0 && e % 100 != 0 || e % 400 == 0
}
function $(e) {
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e)
}
function U(e) {
var t = +e,
n = 0;
return 0 !== t && isFinite(t) && (n = $(t)), n
}
function Z(e, t) {
return function (n) {
return null != n ? (K(this, e, n), a.updateOffset(this, t), this) : G(this, e)
}
}
function G(e, t) {
return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN
}
function K(e, t, n) {
e.isValid() && !isNaN(n) && ("FullYear" === t && W(e.year()) && 1 === e.month() && 29 === e.date() ? (n = U(n), e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), _e(n, e.month()))) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n))
}
var J, X = /\d/,
Q = /\d\d/,
ee = /\d{3}/,
te = /\d{4}/,
ne = /[+-]?\d{6}/,
re = /\d\d?/,
ae = /\d\d\d\d?/,
ie = /\d\d\d\d\d\d?/,
oe = /\d{1,3}/,
se = /\d{1,4}/,
le = /[+-]?\d{1,6}/,
ce = /\d+/,
ue = /[+-]?\d+/,
de = /Z|[+-]\d\d:?\d\d/gi,
he = /Z|[+-]\d\d(?::?\d\d)?/gi,
fe = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;
function pe(e, t, n) {
J[e] = S(t) ? t : function (e, r) {
return e && n ? n : t
}
}
function me(e, t) {
return s(J, e) ? J[e](t._strict, t._locale) : new RegExp(ge(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, (function (e, t, n, r, a) {
return t || n || r || a
}))))
}
function ge(e) {
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")
}
J = {};
var ve, be = {};
function ye(e, t) {
var n, r = t;
for ("string" == typeof e && (e = [e]), u(t) && (r = function (e, n) {
n[t] = U(e)
}), n = 0; n < e.length; n++) be[e[n]] = r
}
function we(e, t) {
ye(e, (function (e, n, r, a) {
r._w = r._w || {}, t(e, r._w, r, a)
}))
}
function ke(e, t, n) {
null != t && s(be, e) && be[e](t, n._a, n, e)
}
function _e(e, t) {
if (isNaN(e) || isNaN(t)) return NaN;
var n, r = (t % (n = 12) + n) % n;
return e += (t - r) / 12, 1 === r ? W(e) ? 29 : 28 : 31 - r % 7 % 2
}
ve = 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
}, R("M", ["MM", 2], "Mo", (function () {
return this.month() + 1
})), R("MMM", 0, 0, (function (e) {
return this.localeData().monthsShort(this, e)
})), R("MMMM", 0, 0, (function (e) {
return this.localeData().months(this, e)
})), Y("month", "M"), V("month", 8), pe("M", re), pe("MM", re, Q), pe("MMM", (function (e, t) {
return t.monthsShortRegex(e)
})), pe("MMMM", (function (e, t) {
return t.monthsRegex(e)
})), ye(["M", "MM"], (function (e, t) {
t[1] = U(e) - 1
})), ye(["MMM", "MMMM"], (function (e, t, n, r) {
var a = n._locale.monthsParse(e, r, n._strict);
null != a ? t[1] = a : m(n).invalidMonth = e
}));
var xe = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
Ce = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
Me = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
Te = fe,
Le = fe;
function Se(e, t, n) {
var r, a, i, o = e.toLocaleLowerCase();
if (!this._monthsParse)
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r) i = p([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(i, "").toLocaleLowerCase(), this._longMonthsParse[r] = this.months(i, "").toLocaleLowerCase();
return n ? "MMM" === t ? -1 !== (a = ve.call(this._shortMonthsParse, o)) ? a : null : -1 !== (a = ve.call(this._longMonthsParse, o)) ? a : null : "MMM" === t ? -1 !== (a = ve.call(this._shortMonthsParse, o)) || -1 !== (a = ve.call(this._longMonthsParse, o)) ? a : null : -1 !== (a = ve.call(this._longMonthsParse, o)) || -1 !== (a = ve.call(this._shortMonthsParse, o)) ? a : null
}
function je(e, t) {
var n;
if (!e.isValid()) return e;
if ("string" == typeof t)
if (/^\d+$/.test(t)) t = U(t);
else if (!u(t = e.localeData().monthsParse(t))) return e;
return n = Math.min(e.date(), _e(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e
}
function ze(e) {
return null != e ? (je(this, e), a.updateOffset(this, !0), this) : G(this, "Month")
}
function Ae() {
function e(e, t) {
return t.length - e.length
}
var t, n, r = [],
a = [],
i = [];
for (t = 0; t < 12; t++) n = p([2e3, t]), r.push(this.monthsShort(n, "")), a.push(this.months(n, "")), i.push(this.months(n, "")), i.push(this.monthsShort(n, ""));
for (r.sort(e), a.sort(e), i.sort(e), t = 0; t < 12; t++) r[t] = ge(r[t]), a[t] = ge(a[t]);
for (t = 0; t < 24; t++) i[t] = ge(i[t]);
this._monthsRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + r.join("|") + ")", "i")
}
function Ee(e) {
return W(e) ? 366 : 365
}
R("Y", 0, 0, (function () {
var e = this.year();
return e <= 9999 ? A(e, 4) : "+" + e
})), R(0, ["YY", 2], 0, (function () {
return this.year() % 100
})), R(0, ["YYYY", 4], 0, "year"), R(0, ["YYYYY", 5], 0, "year"), R(0, ["YYYYYY", 6, !0], 0, "year"), Y("year", "y"), V("year", 1), pe("Y", ue), pe("YY", re, Q), pe("YYYY", se, te), pe("YYYYY", le, ne), pe("YYYYYY", le, ne), ye(["YYYYY", "YYYYYY"], 0), ye("YYYY", (function (e, t) {
t[0] = 2 === e.length ? a.parseTwoDigitYear(e) : U(e)
})), ye("YY", (function (e, t) {
t[0] = a.parseTwoDigitYear(e)
})), ye("Y", (function (e, t) {
t[0] = parseInt(e, 10)
})), a.parseTwoDigitYear = function (e) {
return U(e) + (U(e) > 68 ? 1900 : 2e3)
};
var Oe = Z("FullYear", !0);
function Pe(e, t, n, r, a, i, o) {
var s;
return e < 100 && e >= 0 ? (s = new Date(e + 400, t, n, r, a, i, o), isFinite(s.getFullYear()) && s.setFullYear(e)) : s = new Date(e, t, n, r, a, i, o), s
}
function De(e) {
var t, n;
return e < 100 && e >= 0 ? ((n = Array.prototype.slice.call(arguments))[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t
}
function Re(e, t, n) {
var r = 7 + t - n;
return -(7 + De(e, 0, r).getUTCDay() - t) % 7 + r - 1
}
function Ie(e, t, n, r, a) {
var i, o, s = 1 + 7 * (t - 1) + (7 + n - r) % 7 + Re(e, r, a);
return s <= 0 ? o = Ee(i = e - 1) + s : s > Ee(e) ? (i = e + 1, o = s - Ee(e)) : (i = e, o = s), {
year: i,
dayOfYear: o
}
}
function Ne(e, t, n) {
var r, a, i = Re(e.year(), t, n),
o = Math.floor((e.dayOfYear() - i - 1) / 7) + 1;
return o < 1 ? r = o + Be(a = e.year() - 1, t, n) : o > Be(e.year(), t, n) ? (r = o - Be(e.year(), t, n), a = e.year() + 1) : (a = e.year(), r = o), {
week: r,
year: a
}
}
function Be(e, t, n) {
var r = Re(e, t, n),
a = Re(e + 1, t, n);
return (Ee(e) - r + a) / 7
}
function Ye(e, t) {
return e.slice(t, 7).concat(e.slice(0, t))
}
R("w", ["ww", 2], "wo", "week"), R("W", ["WW", 2], "Wo", "isoWeek"), Y("week", "w"), Y("isoWeek", "W"), V("week", 5), V("isoWeek", 5), pe("w", re), pe("ww", re, Q), pe("W", re), pe("WW", re, Q), we(["w", "ww", "W", "WW"], (function (e, t, n, r) {
t[r.substr(0, 1)] = U(e)
})), R("d", 0, "do", "day"), R("dd", 0, 0, (function (e) {
return this.localeData().weekdaysMin(this, e)
})), R("ddd", 0, 0, (function (e) {
return this.localeData().weekdaysShort(this, e)
})), R("dddd", 0, 0, (function (e) {
return this.localeData().weekdays(this, e)
})), R("e", 0, 0, "weekday"), R("E", 0, 0, "isoWeekday"), Y("day", "d"), Y("weekday", "e"), Y("isoWeekday", "E"), V("day", 11), V("weekday", 11), V("isoWeekday", 11), pe("d", re), pe("e", re), pe("E", re), pe("dd", (function (e, t) {
return t.weekdaysMinRegex(e)
})), pe("ddd", (function (e, t) {
return t.weekdaysShortRegex(e)
})), pe("dddd", (function (e, t) {
return t.weekdaysRegex(e)
})), we(["dd", "ddd", "dddd"], (function (e, t, n, r) {
var a = n._locale.weekdaysParse(e, r, n._strict);
null != a ? t.d = a : m(n).invalidWeekday = e
})), we(["d", "e", "E"], (function (e, t, n, r) {
t[r] = U(e)
}));
var He = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
Fe = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
qe = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
Ve = fe,
We = fe,
$e = fe;
function Ue(e, t, n) {
var r, a, i, o = e.toLocaleLowerCase();
if (!this._weekdaysParse)
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r) i = p([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(i, "").toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(i, "").toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(i, "").toLocaleLowerCase();
return n ? "dddd" === t ? -1 !== (a = ve.call(this._weekdaysParse, o)) ? a : null : "ddd" === t ? -1 !== (a = ve.call(this._shortWeekdaysParse, o)) ? a : null : -1 !== (a = ve.call(this._minWeekdaysParse, o)) ? a : null : "dddd" === t ? -1 !== (a = ve.call(this._weekdaysParse, o)) || -1 !== (a = ve.call(this._shortWeekdaysParse, o)) || -1 !== (a = ve.call(this._minWeekdaysParse, o)) ? a : null : "ddd" === t ? -1 !== (a = ve.call(this._shortWeekdaysParse, o)) || -1 !== (a = ve.call(this._weekdaysParse, o)) || -1 !== (a = ve.call(this._minWeekdaysParse, o)) ? a : null : -1 !== (a = ve.call(this._minWeekdaysParse, o)) || -1 !== (a = ve.call(this._weekdaysParse, o)) || -1 !== (a = ve.call(this._shortWeekdaysParse, o)) ? a : null
}
function Ze() {
function e(e, t) {
return t.length - e.length
}
var t, n, r, a, i, o = [],
s = [],
l = [],
c = [];
for (t = 0; t < 7; t++) n = p([2e3, 1]).day(t), r = ge(this.weekdaysMin(n, "")), a = ge(this.weekdaysShort(n, "")), i = ge(this.weekdays(n, "")), o.push(r), s.push(a), l.push(i), c.push(r), c.push(a), c.push(i);
o.sort(e), s.sort(e), l.sort(e), c.sort(e), this._weekdaysRegex = new RegExp("^(" + c.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + l.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + o.join("|") + ")", "i")
}
function Ge() {
return this.hours() % 12 || 12
}
function Ke(e, t) {
R(e, 0, 0, (function () {
return this.localeData().meridiem(this.hours(), this.minutes(), t)
}))
}
function Je(e, t) {
return t._meridiemParse
}
R("H", ["HH", 2], 0, "hour"), R("h", ["hh", 2], 0, Ge), R("k", ["kk", 2], 0, (function () {
return this.hours() || 24
})), R("hmm", 0, 0, (function () {
return "" + Ge.apply(this) + A(this.minutes(), 2)
})), R("hmmss", 0, 0, (function () {
return "" + Ge.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2)
})), R("Hmm", 0, 0, (function () {
return "" + this.hours() + A(this.minutes(), 2)
})), R("Hmmss", 0, 0, (function () {
return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2)
})), Ke("a", !0), Ke("A", !1), Y("hour", "h"), V("hour", 13), pe("a", Je), pe("A", Je), pe("H", re), pe("h", re), pe("k", re), pe("HH", re, Q), pe("hh", re, Q), pe("kk", re, Q), pe("hmm", ae), pe("hmmss", ie), pe("Hmm", ae), pe("Hmmss", ie), ye(["H", "HH"], 3), ye(["k", "kk"], (function (e, t, n) {
var r = U(e);
t[3] = 24 === r ? 0 : r
})), ye(["a", "A"], (function (e, t, n) {
n._isPm = n._locale.isPM(e), n._meridiem = e
})), ye(["h", "hh"], (function (e, t, n) {
t[3] = U(e), m(n).bigHour = !0
})), ye("hmm", (function (e, t, n) {
var r = e.length - 2;
t[3] = U(e.substr(0, r)), t[4] = U(e.substr(r)), m(n).bigHour = !0
})), ye("hmmss", (function (e, t, n) {
var r = e.length - 4,
a = e.length - 2;
t[3] = U(e.substr(0, r)), t[4] = U(e.substr(r, 2)), t[5] = U(e.substr(a)), m(n).bigHour = !0
})), ye("Hmm", (function (e, t, n) {
var r = e.length - 2;
t[3] = U(e.substr(0, r)), t[4] = U(e.substr(r))
})), ye("Hmmss", (function (e, t, n) {
var r = e.length - 4,
a = e.length - 2;
t[3] = U(e.substr(0, r)), t[4] = U(e.substr(r, 2)), t[5] = U(e.substr(a))
}));
var Xe, Qe = Z("Hours", !0),
et = {
calendar: {
sameDay: "[Today at] LT",
nextDay: "[Tomorrow at] LT",
nextWeek: "dddd [at] LT",
lastDay: "[Yesterday at] LT",
lastWeek: "[Last] dddd [at] LT",
sameElse: "L"
},
longDateFormat: {
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"
},
invalidDate: "Invalid date",
ordinal: "%d",
dayOfMonthOrdinalParse: /\d{1,2}/,
relativeTime: {
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",
w: "a week",
ww: "%d weeks",
M: "a month",
MM: "%d months",
y: "a year",
yy: "%d years"
},
months: xe,
monthsShort: Ce,
week: {
dow: 0,
doy: 6
},
weekdays: He,
weekdaysMin: qe,
weekdaysShort: Fe,
meridiemParse: /[ap]\.?m?\.?/i
},
tt = {},
nt = {};
function rt(e, t) {
var n, r = Math.min(e.length, t.length);
for (n = 0; n < r; n += 1)
if (e[n] !== t[n]) return n;
return r
}
function at(e) {
return e ? e.toLowerCase().replace("_", "-") : e
}
function it(t) {
var r = null;
if (void 0 === tt[t] && void 0 !== e && e && e.exports) try {
r = Xe._abbr, n(1493)("./" + t), ot(r)
} catch (e) {
tt[t] = null
}
return tt[t]
}
function ot(e, t) {
var n;
return e && ((n = c(t) ? lt(e) : st(e, t)) ? Xe = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), Xe._abbr
}
function st(e, t) {
if (null !== t) {
var n, r = et;
if (t.abbr = e, null != tt[e]) L("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."), r = tt[e]._config;
else if (null != t.parentLocale)
if (null != tt[t.parentLocale]) r = tt[t.parentLocale]._config;
else {
if (null == (n = it(t.parentLocale))) return nt[t.parentLocale] || (nt[t.parentLocale] = []), nt[t.parentLocale].push({
name: e,
config: t
}), null;
r = n._config
} return tt[e] = new z(j(r, t)), nt[e] && nt[e].forEach((function (e) {
st(e.name, e.config)
})), ot(e), tt[e]
}
return delete tt[e], null
}
function lt(e) {
var t;
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return Xe;
if (!i(e)) {
if (t = it(e)) return t;
e = [e]
}
return function (e) {
for (var t, n, r, a, i = 0; i < e.length;) {
for (t = (a = at(e[i]).split("-")).length, n = (n = at(e[i + 1])) ? n.split("-") : null; t > 0;) {
if (r = it(a.slice(0, t).join("-"))) return r;
if (n && n.length >= t && rt(a, n) >= t - 1) break;
t--
}
i++
}
return Xe
}(e)
}
function ct(e) {
var t, n = e._a;
return n && -2 === m(e).overflow && (t = n[1] < 0 || n[1] > 11 ? 1 : n[2] < 1 || n[2] > _e(n[0], n[1]) ? 2 : n[3] < 0 || n[3] > 24 || 24 === n[3] && (0 !== n[4] || 0 !== n[5] || 0 !== n[6]) ? 3 : n[4] < 0 || n[4] > 59 ? 4 : n[5] < 0 || n[5] > 59 ? 5 : n[6] < 0 || n[6] > 999 ? 6 : -1, m(e)._overflowDayOfYear && (t < 0 || t > 2) && (t = 2), m(e)._overflowWeeks && -1 === t && (t = 7), m(e)._overflowWeekday && -1 === t && (t = 8), m(e).overflow = t), e
}
var ut = /^\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)?)?$/,
dt = /^\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)?)?$/,
ht = /Z|[+-]\d\d(?::?\d\d)?/,
ft = [
["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}/],
["YYYYMM", /\d{6}/, !1],
["YYYY", /\d{4}/, !1]
],
pt = [
["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/]
],
mt = /^\/?Date\((-?\d+)/i,
gt = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
vt = {
UT: 0,
GMT: 0,
EDT: -240,
EST: -300,
CDT: -300,
CST: -360,
MDT: -360,
MST: -420,
PDT: -420,
PST: -480
};
function bt(e) {
var t, n, r, a, i, o, s = e._i,
l = ut.exec(s) || dt.exec(s);
if (l) {
for (m(e).iso = !0, t = 0, n = ft.length; t < n; t++)
if (ft[t][1].exec(l[1])) {
a = ft[t][0], r = !1 !== ft[t][2];
break
} if (null == a) return void(e._isValid = !1);
if (l[3]) {
for (t = 0, n = pt.length; t < n; t++)
if (pt[t][1].exec(l[3])) {
i = (l[2] || " ") + pt[t][0];
break
} if (null == i) return void(e._isValid = !1)
}
if (!r && null != i) return void(e._isValid = !1);
if (l[4]) {
if (!ht.exec(l[4])) return void(e._isValid = !1);
o = "Z"
}
e._f = a + (i || "") + (o || ""), xt(e)
} else e._isValid = !1
}
function yt(e) {
var t = parseInt(e, 10);
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t
}
function wt(e) {
var t, n, r, a, i, o, s, l, c = gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, ""));
if (c) {
if (n = c[4], r = c[3], a = c[2], i = c[5], o = c[6], s = c[7], l = [yt(n), Ce.indexOf(r), parseInt(a, 10), parseInt(i, 10), parseInt(o, 10)], s && l.push(parseInt(s, 10)), t = l, ! function (e, t, n) {
return !e || Fe.indexOf(e) === new Date(t[0], t[1], t[2]).getDay() || (m(n).weekdayMismatch = !0, n._isValid = !1, !1)
}(c[1], t, e)) return;
e._a = t, e._tzm = function (e, t, n) {
if (e) return vt[e];
if (t) return 0;
var r = parseInt(n, 10),
a = r % 100;
return (r - a) / 100 * 60 + a
}(c[8], c[9], c[10]), e._d = De.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0
} else e._isValid = !1
}
function kt(e, t, n) {
return null != e ? e : null != t ? t : n
}
function _t(e) {
var t, n, r, i, o, s = [];
if (!e._d) {
for (r = function (e) {
var t = new Date(a.now());
return e._useUTC ? [t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()] : [t.getFullYear(), t.getMonth(), t.getDate()]
}(e), e._w && null == e._a[2] && null == e._a[1] && function (e) {
var t, n, r, a, i, o, s, l, c;
null != (t = e._w).GG || null != t.W || null != t.E ? (i = 1, o = 4, n = kt(t.GG, e._a[0], Ne(Tt(), 1, 4).year), r = kt(t.W, 1), ((a = kt(t.E, 1)) < 1 || a > 7) && (l = !0)) : (i = e._locale._week.dow, o = e._locale._week.doy, c = Ne(Tt(), i, o), n = kt(t.gg, e._a[0], c.year), r = kt(t.w, c.week), null != t.d ? ((a = t.d) < 0 || a > 6) && (l = !0) : null != t.e ? (a = t.e + i, (t.e < 0 || t.e > 6) && (l = !0)) : a = i), r < 1 || r > Be(n, i, o) ? m(e)._overflowWeeks = !0 : null != l ? m(e)._overflowWeekday = !0 : (s = Ie(n, r, a, i, o), e._a[0] = s.year, e._dayOfYear = s.dayOfYear)
}(e), null != e._dayOfYear && (o = kt(e._a[0], r[0]), (e._dayOfYear > Ee(o) || 0 === e._dayOfYear) && (m(e)._overflowDayOfYear = !0), n = De(o, 0, e._dayOfYear), e._a[1] = n.getUTCMonth(), e._a[2] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = s[t] = r[t];
for (; t < 7; t++) e._a[t] = s[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t];
24 === e._a[3] && 0 === e._a[4] && 0 === e._a[5] && 0 === e._a[6] && (e._nextDay = !0, e._a[3] = 0), e._d = (e._useUTC ? De : Pe).apply(null, s), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[3] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (m(e).weekdayMismatch = !0)
}
}
function xt(e) {
if (e._f !== a.ISO_8601)
if (e._f !== a.RFC_2822) {
e._a = [], m(e).empty = !0;
var t, n, r, i, o, s, l = "" + e._i,
c = l.length,
u = 0;
for (r = N(e._f, e._locale).match(E) || [], t = 0; t < r.length; t++) i = r[t], (n = (l.match(me(i, e)) || [])[0]) && ((o = l.substr(0, l.indexOf(n))).length > 0 && m(e).unusedInput.push(o), l = l.slice(l.indexOf(n) + n.length), u += n.length), D[i] ? (n ? m(e).empty = !1 : m(e).unusedTokens.push(i), ke(i, n, e)) : e._strict && !n && m(e).unusedTokens.push(i);
m(e).charsLeftOver = c - u, l.length > 0 && m(e).unusedInput.push(l), e._a[3] <= 12 && !0 === m(e).bigHour && e._a[3] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[3] = function (e, t, n) {
var r;
return null == n ? t : null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM ? ((r = e.isPM(n)) && t < 12 && (t += 12), r || 12 !== t || (t = 0), t) : t
}(e._locale, e._a[3], e._meridiem), null !== (s = m(e).era) && (e._a[0] = e._locale.erasConvertYear(s, e._a[0])), _t(e), ct(e)
} else wt(e);
else bt(e)
}
function Ct(e) {
var t = e._i,
n = e._f;
return e._locale = e._locale || lt(e._l), null === t || void 0 === n && "" === t ? v({
nullInput: !0
}) : ("string" == typeof t && (e._i = t = e._locale.preparse(t)), _(t) ? new k(ct(t)) : (d(t) ? e._d = t : i(n) ? function (e) {
var t, n, r, a, i, o, s = !1;
if (0 === e._f.length) return m(e).invalidFormat = !0, void(e._d = new Date(NaN));
for (a = 0; a < e._f.length; a++) i = 0, o = !1, t = w({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[a], xt(t), g(t) && (o = !0), i += m(t).charsLeftOver, i += 10 * m(t).unusedTokens.length, m(t).score = i, s ? i < r && (r = i, n = t) : (null == r || i < r || o) && (r = i, n = t, o && (s = !0));
f(e, n || t)
}(e) : n ? xt(e) : function (e) {
var t = e._i;
c(t) ? e._d = new Date(a.now()) : d(t) ? e._d = new Date(t.valueOf()) : "string" == typeof t ? function (e) {
var t = mt.exec(e._i);
null === t ? (bt(e), !1 === e._isValid && (delete e._isValid, wt(e), !1 === e._isValid && (delete e._isValid, e._strict ? e._isValid = !1 : a.createFromInputFallback(e)))) : e._d = new Date(+t[1])
}(e) : i(t) ? (e._a = h(t.slice(0), (function (e) {
return parseInt(e, 10)
})), _t(e)) : o(t) ? function (e) {
if (!e._d) {
var t = F(e._i),
n = void 0 === t.day ? t.date : t.day;
e._a = h([t.year, t.month, n, t.hour, t.minute, t.second, t.millisecond], (function (e) {
return e && parseInt(e, 10)
})), _t(e)
}
}(e) : u(t) ? e._d = new Date(t) : a.createFromInputFallback(e)
}(e), g(e) || (e._d = null), e))
}
function Mt(e, t, n, r, a) {
var s, c = {};
return !0 !== t && !1 !== t || (r = t, t = void 0), !0 !== n && !1 !== n || (r = n, n = void 0), (o(e) && l(e) || i(e) && 0 === e.length) && (e = void 0), c._isAMomentObject = !0, c._useUTC = c._isUTC = a, c._l = n, c._i = e, c._f = t, c._strict = r, (s = new k(ct(Ct(c))))._nextDay && (s.add(1, "d"), s._nextDay = void 0), s
}
function Tt(e, t, n, r) {
return Mt(e, t, n, r, !1)
}
a.createFromInputFallback = C("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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", (function (e) {
e._d = new Date(e._i + (e._useUTC ? " UTC" : ""))
})), a.ISO_8601 = function () {}, a.RFC_2822 = function () {};
var Lt = C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", (function () {
var e = Tt.apply(null, arguments);
return this.isValid() && e.isValid() ? e < this ? this : e : v()
})),
St = C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", (function () {
var e = Tt.apply(null, arguments);
return this.isValid() && e.isValid() ? e > this ? this : e : v()
}));
function jt(e, t) {
var n, r;
if (1 === t.length && i(t[0]) && (t = t[0]), !t.length) return Tt();
for (n = t[0], r = 1; r < t.length; ++r) t[r].isValid() && !t[r][e](n) || (n = t[r]);
return n
}
var zt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"];
function At(e) {
var t = F(e),
n = t.year || 0,
r = t.quarter || 0,
a = t.month || 0,
i = t.week || t.isoWeek || 0,
o = t.day || 0,
l = t.hour || 0,
c = t.minute || 0,
u = t.second || 0,
d = t.millisecond || 0;
this._isValid = function (e) {
var t, n, r = !1;
for (t in e)
if (s(e, t) && (-1 === ve.call(zt, t) || null != e[t] && isNaN(e[t]))) return !1;
for (n = 0; n < zt.length; ++n)
if (e[zt[n]]) {
if (r) return !1;
parseFloat(e[zt[n]]) !== U(e[zt[n]]) && (r = !0)
} return !0
}(t), this._milliseconds = +d + 1e3 * u + 6e4 * c + 1e3 * l * 60 * 60, this._days = +o + 7 * i, this._months = +a + 3 * r + 12 * n, this._data = {}, this._locale = lt(), this._bubble()
}
function Et(e) {
return e instanceof At
}
function Ot(e) {
return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e)
}
function Pt(e, t) {
R(e, 0, 0, (function () {
var e = this.utcOffset(),
n = "+";
return e < 0 && (e = -e, n = "-"), n + A(~~(e / 60), 2) + t + A(~~e % 60, 2)
}))
}
Pt("Z", ":"), Pt("ZZ", ""), pe("Z", he), pe("ZZ", he), ye(["Z", "ZZ"], (function (e, t, n) {
n._useUTC = !0, n._tzm = Rt(he, e)
}));
var Dt = /([\+\-]|\d\d)/gi;
function Rt(e, t) {
var n, r, a = (t || "").match(e);
return null === a ? null : 0 === (r = 60 * (n = ((a[a.length - 1] || []) + "").match(Dt) || ["-", 0, 0])[1] + U(n[2])) ? 0 : "+" === n[0] ? r : -r
}
function It(e, t) {
var n, r;
return t._isUTC ? (n = t.clone(), r = (_(e) || d(e) ? e.valueOf() : Tt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), a.updateOffset(n, !1), n) : Tt(e).local()
}
function Nt(e) {
return -Math.round(e._d.getTimezoneOffset())
}
function Bt() {
return !!this.isValid() && this._isUTC && 0 === this._offset
}
a.updateOffset = function () {};
var Yt = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
Ht = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
function Ft(e, t) {
var n, r, a, i, o, l, c = e,
d = null;
return Et(e) ? c = {
ms: e._milliseconds,
d: e._days,
M: e._months
} : u(e) || !isNaN(+e) ? (c = {}, t ? c[t] = +e : c.milliseconds = +e) : (d = Yt.exec(e)) ? (n = "-" === d[1] ? -1 : 1, c = {
y: 0,
d: U(d[2]) * n,
h: U(d[3]) * n,
m: U(d[4]) * n,
s: U(d[5]) * n,
ms: U(Ot(1e3 * d[6])) * n
}) : (d = Ht.exec(e)) ? (n = "-" === d[1] ? -1 : 1, c = {
y: qt(d[2], n),
M: qt(d[3], n),
w: qt(d[4], n),
d: qt(d[5], n),
h: qt(d[6], n),
m: qt(d[7], n),
s: qt(d[8], n)
}) : null == c ? c = {} : "object" == typeof c && ("from" in c || "to" in c) && (i = Tt(c.from), o = Tt(c.to), a = i.isValid() && o.isValid() ? (o = It(o, i), i.isBefore(o) ? l = Vt(i, o) : ((l = Vt(o, i)).milliseconds = -l.milliseconds, l.months = -l.months), l) : {
milliseconds: 0,
months: 0
}, (c = {}).ms = a.milliseconds, c.M = a.months), r = new At(c), Et(e) && s(e, "_locale") && (r._locale = e._locale), Et(e) && s(e, "_isValid") && (r._isValid = e._isValid), r
}
function qt(e, t) {
var n = e && parseFloat(e.replace(",", "."));
return (isNaN(n) ? 0 : n) * t
}
function Vt(e, t) {
var n = {};
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 Wt(e, t) {
return function (n, r) {
var a;
return null === r || isNaN(+r) || (L(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."), a = n, n = r, r = a), $t(this, Ft(n, r), e), this
}
}
function $t(e, t, n, r) {
var i = t._milliseconds,
o = Ot(t._days),
s = Ot(t._months);
e.isValid() && (r = null == r || r, s && je(e, G(e, "Month") + s * n), o && K(e, "Date", G(e, "Date") + o * n), i && e._d.setTime(e._d.valueOf() + i * n), r && a.updateOffset(e, o || s))
}
Ft.fn = At.prototype, Ft.invalid = function () {
return Ft(NaN)
};
var Ut = Wt(1, "add"),
Zt = Wt(-1, "subtract");
function Gt(e) {
return "string" == typeof e || e instanceof String
}
function Kt(e) {
return _(e) || d(e) || Gt(e) || u(e) || function (e) {
var t = i(e),
n = !1;
return t && (n = 0 === e.filter((function (t) {
return !u(t) && Gt(e)
})).length), t && n
}(e) || function (e) {
var t, n, r = o(e) && !l(e),
a = !1,
i = ["years", "year", "y", "months", "month", "M", "days", "day", "d", "dates", "date", "D", "hours", "hour", "h", "minutes", "minute", "m", "seconds", "second", "s", "milliseconds", "millisecond", "ms"];
for (t = 0; t < i.length; t += 1) n = i[t], a = a || s(e, n);
return r && a
}(e) || null == e
}
function Jt(e) {
var t, n = o(e) && !l(e),
r = !1,
a = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"];
for (t = 0; t < a.length; t += 1) r = r || s(e, a[t]);
return n && r
}
function Xt(e, t) {
if (e.date() < t.date()) return -Xt(t, e);
var n = 12 * (t.year() - e.year()) + (t.month() - e.month()),
r = e.clone().add(n, "months");
return -(n + (t - r < 0 ? (t - r) / (r - e.clone().add(n - 1, "months")) : (t - r) / (e.clone().add(n + 1, "months") - r))) || 0
}
function Qt(e) {
var t;
return void 0 === e ? this._locale._abbr : (null != (t = lt(e)) && (this._locale = t), this)
}
a.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", a.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
var en = C("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)
}));
function tn() {
return this._locale
}
function nn(e, t) {
return (e % t + t) % t
}
function rn(e, t, n) {
return e < 100 && e >= 0 ? new Date(e + 400, t, n) - 126227808e5 : new Date(e, t, n).valueOf()
}
function an(e, t, n) {
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - 126227808e5 : Date.UTC(e, t, n)
}
function on(e, t) {
return t.erasAbbrRegex(e)
}
function sn() {
var e, t, n = [],
r = [],
a = [],
i = [],
o = this.eras();
for (e = 0, t = o.length; e < t; ++e) r.push(ge(o[e].name)), n.push(ge(o[e].abbr)), a.push(ge(o[e].narrow)), i.push(ge(o[e].name)), i.push(ge(o[e].abbr)), i.push(ge(o[e].narrow));
this._erasRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp("^(" + a.join("|") + ")", "i")
}
function ln(e, t) {
R(0, [e, e.length], 0, t)
}
function cn(e, t, n, r, a) {
var i;
return null == e ? Ne(this, r, a).year : (t > (i = Be(e, r, a)) && (t = i), un.call(this, e, t, n, r, a))
}
function un(e, t, n, r, a) {
var i = Ie(e, t, n, r, a),
o = De(i.year, 0, i.dayOfYear);
return this.year(o.getUTCFullYear()), this.month(o.getUTCMonth()), this.date(o.getUTCDate()), this
}
R("N", 0, 0, "eraAbbr"), R("NN", 0, 0, "eraAbbr"), R("NNN", 0, 0, "eraAbbr"), R("NNNN", 0, 0, "eraName"), R("NNNNN", 0, 0, "eraNarrow"), R("y", ["y", 1], "yo", "eraYear"), R("y", ["yy", 2], 0, "eraYear"), R("y", ["yyy", 3], 0, "eraYear"), R("y", ["yyyy", 4], 0, "eraYear"), pe("N", on), pe("NN", on), pe("NNN", on), pe("NNNN", (function (e, t) {
return t.erasNameRegex(e)
})), pe("NNNNN", (function (e, t) {
return t.erasNarrowRegex(e)
})), ye(["N", "NN", "NNN", "NNNN", "NNNNN"], (function (e, t, n, r) {
var a = n._locale.erasParse(e, r, n._strict);
a ? m(n).era = a : m(n).invalidEra = e
})), pe("y", ce), pe("yy", ce), pe("yyy", ce), pe("yyyy", ce), pe("yo", (function (e, t) {
return t._eraYearOrdinalRegex || ce
})), ye(["y", "yy", "yyy", "yyyy"], 0), ye(["yo"], (function (e, t, n, r) {
var a;
n._locale._eraYearOrdinalRegex && (a = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[0] = n._locale.eraYearOrdinalParse(e, a) : t[0] = parseInt(e, 10)
})), R(0, ["gg", 2], 0, (function () {
return this.weekYear() % 100
})), R(0, ["GG", 2], 0, (function () {
return this.isoWeekYear() % 100
})), ln("gggg", "weekYear"), ln("ggggg", "weekYear"), ln("GGGG", "isoWeekYear"), ln("GGGGG", "isoWeekYear"), Y("weekYear", "gg"), Y("isoWeekYear", "GG"), V("weekYear", 1), V("isoWeekYear", 1), pe("G", ue), pe("g", ue), pe("GG", re, Q), pe("gg", re, Q), pe("GGGG", se, te), pe("gggg", se, te), pe("GGGGG", le, ne), pe("ggggg", le, ne), we(["gggg", "ggggg", "GGGG", "GGGGG"], (function (e, t, n, r) {
t[r.substr(0, 2)] = U(e)
})), we(["gg", "GG"], (function (e, t, n, r) {
t[r] = a.parseTwoDigitYear(e)
})), R("Q", 0, "Qo", "quarter"), Y("quarter", "Q"), V("quarter", 7), pe("Q", X), ye("Q", (function (e, t) {
t[1] = 3 * (U(e) - 1)
})), R("D", ["DD", 2], "Do", "date"), Y("date", "D"), V("date", 9), pe("D", re), pe("DD", re, Q), pe("Do", (function (e, t) {
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient
})), ye(["D", "DD"], 2), ye("Do", (function (e, t) {
t[2] = U(e.match(re)[0])
}));
var dn = Z("Date", !0);
R("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Y("dayOfYear", "DDD"), V("dayOfYear", 4), pe("DDD", oe), pe("DDDD", ee), ye(["DDD", "DDDD"], (function (e, t, n) {
n._dayOfYear = U(e)
})), R("m", ["mm", 2], 0, "minute"), Y("minute", "m"), V("minute", 14), pe("m", re), pe("mm", re, Q), ye(["m", "mm"], 4);
var hn = Z("Minutes", !1);
R("s", ["ss", 2], 0, "second"), Y("second", "s"), V("second", 15), pe("s", re), pe("ss", re, Q), ye(["s", "ss"], 5);
var fn, pn, mn = Z("Seconds", !1);
for (R("S", 0, 0, (function () {
return ~~(this.millisecond() / 100)
})), R(0, ["SS", 2], 0, (function () {
return ~~(this.millisecond() / 10)
})), R(0, ["SSS", 3], 0, "millisecond"), R(0, ["SSSS", 4], 0, (function () {
return 10 * this.millisecond()
})), R(0, ["SSSSS", 5], 0, (function () {
return 100 * this.millisecond()
})), R(0, ["SSSSSS", 6], 0, (function () {
return 1e3 * this.millisecond()
})), R(0, ["SSSSSSS", 7], 0, (function () {
return 1e4 * this.millisecond()
})), R(0, ["SSSSSSSS", 8], 0, (function () {
return 1e5 * this.millisecond()
})), R(0, ["SSSSSSSSS", 9], 0, (function () {
return 1e6 * this.millisecond()
})), Y("millisecond", "ms"), V("millisecond", 16), pe("S", oe, X), pe("SS", oe, Q), pe("SSS", oe, ee), fn = "SSSS"; fn.length <= 9; fn += "S") pe(fn, ce);
function gn(e, t) {
t[6] = U(1e3 * ("0." + e))
}
for (fn = "S"; fn.length <= 9; fn += "S") ye(fn, gn);
pn = Z("Milliseconds", !1), R("z", 0, 0, "zoneAbbr"), R("zz", 0, 0, "zoneName");
var vn = k.prototype;
function bn(e) {
return e
}
vn.add = Ut, vn.calendar = function (e, t) {
1 === arguments.length && (arguments[0] ? Kt(arguments[0]) ? (e = arguments[0], t = void 0) : Jt(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
var n = e || Tt(),
r = It(n, this).startOf("day"),
i = a.calendarFormat(this, r) || "sameElse",
o = t && (S(t[i]) ? t[i].call(this, n) : t[i]);
return this.format(o || this.localeData().calendar(i, this, Tt(n)))
}, vn.clone = function () {
return new k(this)
}, vn.diff = function (e, t, n) {
var r, a, i;
if (!this.isValid()) return NaN;
if (!(r = It(e, this)).isValid()) return NaN;
switch (a = 6e4 * (r.utcOffset() - this.utcOffset()), t = H(t)) {
case "year":
i = Xt(this, r) / 12;
break;
case "month":
i = Xt(this, r);
break;
case "quarter":
i = Xt(this, r) / 3;
break;
case "second":
i = (this - r) / 1e3;
break;
case "minute":
i = (this - r) / 6e4;
break;
case "hour":
i = (this - r) / 36e5;
break;
case "day":
i = (this - r - a) / 864e5;
break;
case "week":
i = (this - r - a) / 6048e5;
break;
default:
i = this - r
}
return n ? i : $(i)
}, vn.endOf = function (e) {
var t, n;
if (void 0 === (e = H(e)) || "millisecond" === e || !this.isValid()) return this;
switch (n = this._isUTC ? an : rn, e) {
case "year":
t = n(this.year() + 1, 0, 1) - 1;
break;
case "quarter":
t = n(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
break;
case "month":
t = n(this.year(), this.month() + 1, 1) - 1;
break;
case "week":
t = n(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
break;
case "isoWeek":
t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
break;
case "day":
case "date":
t = n(this.year(), this.month(), this.date() + 1) - 1;
break;
case "hour":
t = this._d.valueOf(), t += 36e5 - nn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5) - 1;
break;
case "minute":
t = this._d.valueOf(), t += 6e4 - nn(t, 6e4) - 1;
break;
case "second":
t = this._d.valueOf(), t += 1e3 - nn(t, 1e3) - 1
}
return this._d.setTime(t), a.updateOffset(this, !0), this
}, vn.format = function (e) {
e || (e = this.isUtc() ? a.defaultFormatUtc : a.defaultFormat);
var t = I(this, e);
return this.localeData().postformat(t)
}, vn.from = function (e, t) {
return this.isValid() && (_(e) && e.isValid() || Tt(e).isValid()) ? Ft({
to: this,
from: e
}).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
}, vn.fromNow = function (e) {
return this.from(Tt(), e)
}, vn.to = function (e, t) {
return this.isValid() && (_(e) && e.isValid() || Tt(e).isValid()) ? Ft({
from: this,
to: e
}).locale(this.locale()).humanize(!t) : this.localeData().invalidDate()
}, vn.toNow = function (e) {
return this.to(Tt(), e)
}, vn.get = function (e) {
return S(this[e = H(e)]) ? this[e]() : this
}, vn.invalidAt = function () {
return m(this).overflow
}, vn.isAfter = function (e, t) {
var n = _(e) ? e : Tt(e);
return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = H(t) || "millisecond") ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf())
}, vn.isBefore = function (e, t) {
var n = _(e) ? e : Tt(e);
return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = H(t) || "millisecond") ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf())
}, vn.isBetween = function (e, t, n, r) {
var a = _(e) ? e : Tt(e),
i = _(t) ? t : Tt(t);
return !!(this.isValid() && a.isValid() && i.isValid()) && (("(" === (r = r || "()")[0] ? this.isAfter(a, n) : !this.isBefore(a, n)) && (")" === r[1] ? this.isBefore(i, n) : !this.isAfter(i, n)))
}, vn.isSame = function (e, t) {
var n, r = _(e) ? e : Tt(e);
return !(!this.isValid() || !r.isValid()) && ("millisecond" === (t = H(t) || "millisecond") ? this.valueOf() === r.valueOf() : (n = r.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf()))
}, vn.isSameOrAfter = function (e, t) {
return this.isSame(e, t) || this.isAfter(e, t)
}, vn.isSameOrBefore = function (e, t) {
return this.isSame(e, t) || this.isBefore(e, t)
}, vn.isValid = function () {
return g(this)
}, vn.lang = en, vn.locale = Qt, vn.localeData = tn, vn.max = St, vn.min = Lt, vn.parsingFlags = function () {
return f({}, m(this))
}, vn.set = function (e, t) {
if ("object" == typeof e) {
var n, r = function (e) {
var t, n = [];
for (t in e) s(e, t) && n.push({
unit: t,
priority: q[t]
});
return n.sort((function (e, t) {
return e.priority - t.priority
})), n
}(e = F(e));
for (n = 0; n < r.length; n++) this[r[n].unit](e[r[n].unit])
} else if (S(this[e = H(e)])) return this[e](t);
return this
}, vn.startOf = function (e) {
var t, n;
if (void 0 === (e = H(e)) || "millisecond" === e || !this.isValid()) return this;
switch (n = this._isUTC ? an : rn, e) {
case "year":
t = n(this.year(), 0, 1);
break;
case "quarter":
t = n(this.year(), this.month() - this.month() % 3, 1);
break;
case "month":
t = n(this.year(), this.month(), 1);
break;
case "week":
t = n(this.year(), this.month(), this.date() - this.weekday());
break;
case "isoWeek":
t = n(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
break;
case "day":
case "date":
t = n(this.year(), this.month(), this.date());
break;
case "hour":
t = this._d.valueOf(), t -= nn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5);
break;
case "minute":
t = this._d.valueOf(), t -= nn(t, 6e4);
break;
case "second":
t = this._d.valueOf(), t -= nn(t, 1e3)
}
return this._d.setTime(t), a.updateOffset(this, !0), this
}, vn.subtract = Zt, vn.toArray = function () {
var e = this;
return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()]
}, vn.toObject = function () {
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()
}
}, vn.toDate = function () {
return new Date(this.valueOf())
}, vn.toISOString = function (e) {
if (!this.isValid()) return null;
var t = !0 !== e,
n = t ? this.clone().utc() : this;
return n.year() < 0 || n.year() > 9999 ? I(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : S(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", I(n, "Z")) : I(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ")
}, vn.inspect = function () {
if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)";
var e, t, n, r = "moment",
a = "";
return this.isLocal() || (r = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", a = "Z"), e = "[" + r + '("]', t = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = a + '[")]', this.format(e + t + "-MM-DD[T]HH:mm:ss.SSS" + n)
}, "undefined" != typeof Symbol && null != Symbol.for && (vn[Symbol.for("nodejs.util.inspect.custom")] = function () {
return "Moment<" + this.format() + ">"
}), vn.toJSON = function () {
return this.isValid() ? this.toISOString() : null
}, vn.toString = function () {
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")
}, vn.unix = function () {
return Math.floor(this.valueOf() / 1e3)
}, vn.valueOf = function () {
return this._d.valueOf() - 6e4 * (this._offset || 0)
}, vn.creationData = function () {
return {
input: this._i,
format: this._f,
locale: this._locale,
isUTC: this._isUTC,
strict: this._strict
}
}, vn.eraName = function () {
var e, t, n, r = this.localeData().eras();
for (e = 0, t = r.length; e < t; ++e) {
if (n = this.clone().startOf("day").valueOf(), r[e].since <= n && n <= r[e].until) return r[e].name;
if (r[e].until <= n && n <= r[e].since) return r[e].name
}
return ""
}, vn.eraNarrow = function () {
var e, t, n, r = this.localeData().eras();
for (e = 0, t = r.length; e < t; ++e) {
if (n = this.clone().startOf("day").valueOf(), r[e].since <= n && n <= r[e].until) return r[e].narrow;
if (r[e].until <= n && n <= r[e].since) return r[e].narrow
}
return ""
}, vn.eraAbbr = function () {
var e, t, n, r = this.localeData().eras();
for (e = 0, t = r.length; e < t; ++e) {
if (n = this.clone().startOf("day").valueOf(), r[e].since <= n && n <= r[e].until) return r[e].abbr;
if (r[e].until <= n && n <= r[e].since) return r[e].abbr
}
return ""
}, vn.eraYear = function () {
var e, t, n, r, i = this.localeData().eras();
for (e = 0, t = i.length; e < t; ++e)
if (n = i[e].since <= i[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), i[e].since <= r && r <= i[e].until || i[e].until <= r && r <= i[e].since) return (this.year() - a(i[e].since).year()) * n + i[e].offset;
return this.year()
}, vn.year = Oe, vn.isLeapYear = function () {
return W(this.year())
}, vn.weekYear = function (e) {
return cn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy)
}, vn.isoWeekYear = function (e) {
return cn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4)
}, vn.quarter = vn.quarters = function (e) {
return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3)
}, vn.month = ze, vn.daysInMonth = function () {
return _e(this.year(), this.month())
}, vn.week = vn.weeks = function (e) {
var t = this.localeData().week(this);
return null == e ? t : this.add(7 * (e - t), "d")
}, vn.isoWeek = vn.isoWeeks = function (e) {
var t = Ne(this, 1, 4).week;
return null == e ? t : this.add(7 * (e - t), "d")
}, vn.weeksInYear = function () {
var e = this.localeData()._week;
return Be(this.year(), e.dow, e.doy)
}, vn.weeksInWeekYear = function () {
var e = this.localeData()._week;
return Be(this.weekYear(), e.dow, e.doy)
}, vn.isoWeeksInYear = function () {
return Be(this.year(), 1, 4)
}, vn.isoWeeksInISOWeekYear = function () {
return Be(this.isoWeekYear(), 1, 4)
}, vn.date = dn, vn.day = vn.days = function (e) {
if (!this.isValid()) return null != e ? this : NaN;
var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
return null != e ? (e = function (e, t) {
return "string" != typeof e ? e : isNaN(e) ? "number" == typeof (e = t.weekdaysParse(e)) ? e : null : parseInt(e, 10)
}(e, this.localeData()), this.add(e - t, "d")) : t
}, vn.weekday = function (e) {
if (!this.isValid(