From e2cf04cf181a025f26d501d61f47a43cf350b8dc Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 2 Jul 2023 20:30:42 +0200 Subject: [PATCH] stash --- frontend/src/assets/js/app.js | 25141 ++++++++++++++++ frontend/src/components/BaseLayout.vue | 12 +- frontend/src/components/CombinedFileField.vue | 98 +- frontend/src/components/Messages.vue | 13 +- frontend/src/components/Notifications.vue | 14 +- frontend/src/components/Sidebar.vue | 4 +- frontend/src/components/UserDropdown.vue | 22 +- frontend/src/federation.js | 10 +- frontend/src/main.js | 34 +- 9 files changed, 25270 insertions(+), 78 deletions(-) create mode 100644 frontend/src/assets/js/app.js diff --git a/frontend/src/assets/js/app.js b/frontend/src/assets/js/app.js new file mode 100644 index 0000000..e32287b --- /dev/null +++ b/frontend/src/assets/js/app.js @@ -0,0 +1,25141 @@ +/*! For license information please see app.js.LICENSE.txt */ +!function (e) { + var t = {}; + + function n(i) { + if (t[i]) return t[i].exports; + var a = t[i] = {i: i, l: !1, exports: {}}; + return e[i].call(a.exports, a, a.exports, n), a.l = !0, a.exports + } + + n.m = e, n.c = t, n.d = function (e, t, i) { + n.o(e, t) || Object.defineProperty(e, t, {enumerable: !0, get: i}) + }, n.r = function (e) { + "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0}) + }, n.t = function (e, t) { + if (1 & t && (e = n(e)), 8 & t) return e; + if (4 & t && "object" == typeof e && e && e.__esModule) return e; + var i = Object.create(null); + if (n.r(i), Object.defineProperty(i, "default", { + enumerable: !0, + value: e + }), 2 & t && "string" != typeof e) for (var a in e) n.d(i, a, function (t) { + return e[t] + }.bind(null, a)); + return i + }, n.n = function (e) { + var t = e && e.__esModule ? function () { + return e.default + } : function () { + return e + }; + return n.d(t, "a", t), t + }, n.o = function (e, t) { + return Object.prototype.hasOwnProperty.call(e, t) + }, n.p = "", n(n.s = 304) +}([function (e, t, n) { + (function (e) { + e.exports = function () { + "use strict"; + var t, i; + + function a() { + return t.apply(null, arguments) + } + + function r(e) { + t = e + } + + function l(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 d(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 u(e) { + return void 0 === e + } + + function c(e) { + return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e) + } + + function h(e) { + return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e) + } + + function m(e, t) { + var n, i = []; + for (n = 0; n < e.length; ++n) i.push(t(e[n], n)); + return i + } + + 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 _(e, t, n, i) { + return Gn(e, t, n, i, !0).utc() + } + + function p() { + return { + 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 + } + } + + function g(e) { + return null == e._pf && (e._pf = p()), e._pf + } + + function y(e) { + if (null == e._isValid) { + var t = g(e), n = i.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 = _(NaN); + return null != e ? f(g(t), e) : g(t).userInvalidated = !0, t + } + + i = Array.prototype.some ? Array.prototype.some : function (e) { + var t, n = Object(this), i = n.length >>> 0; + for (t = 0; t < i; t++) if (t in n && e.call(this, n[t], t, n)) return !0; + return !1 + }; + var M = a.momentProperties = [], b = !1; + + function x(e, t) { + var n, i, a; + if (u(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), u(t._i) || (e._i = t._i), u(t._f) || (e._f = t._f), u(t._l) || (e._l = t._l), u(t._strict) || (e._strict = t._strict), u(t._tzm) || (e._tzm = t._tzm), u(t._isUTC) || (e._isUTC = t._isUTC), u(t._offset) || (e._offset = t._offset), u(t._pf) || (e._pf = g(t)), u(t._locale) || (e._locale = t._locale), M.length > 0) for (n = 0; n < M.length; n++) u(a = t[i = M[n]]) || (e[i] = a); + return e + } + + function L(e) { + x(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === b && (b = !0, a.updateOffset(this), b = !1) + } + + function w(e) { + return e instanceof L || null != e && null != e._isAMomentObject + } + + function k(e) { + !1 === a.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e) + } + + function Y(e, t) { + var n = !0; + return f((function () { + if (null != a.deprecationHandler && a.deprecationHandler(null, e), n) { + var i, r, l, o = []; + for (r = 0; r < arguments.length; r++) { + if (i = "", "object" == typeof arguments[r]) { + for (l in i += "\n[" + r + "] ", arguments[0]) s(arguments[0], l) && (i += l + ": " + arguments[0][l] + ", "); + i = i.slice(0, -2) + } else i = arguments[r]; + o.push(i) + } + k(e + "\nArguments: " + Array.prototype.slice.call(o).join("") + "\n" + (new Error).stack), n = !1 + } + return t.apply(this, arguments) + }), t) + } + + var D, T = {}; + + function S(e, t) { + null != a.deprecationHandler && a.deprecationHandler(e, t), T[e] || (k(t), T[e] = !0) + } + + function j(e) { + return "undefined" != typeof Function && e instanceof Function || "[object Function]" === Object.prototype.toString.call(e) + } + + function E(e) { + var t, n; + for (n in e) s(e, n) && (j(t = e[n]) ? this[n] = t : this["_" + n] = t); + this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source) + } + + function H(e, t) { + var n, i = f({}, e); + for (n in t) s(t, n) && (o(e[n]) && o(t[n]) ? (i[n] = {}, f(i[n], e[n]), f(i[n], t[n])) : null != t[n] ? i[n] = t[n] : delete i[n]); + for (n in e) s(e, n) && !s(t, n) && o(e[n]) && (i[n] = f({}, i[n])); + return i + } + + function O(e) { + null != e && this.set(e) + } + + a.suppressDeprecationWarnings = !1, a.deprecationHandler = null, D = Object.keys ? Object.keys : function (e) { + var t, n = []; + for (t in e) s(e, t) && n.push(t); + return n + }; + var A = { + sameDay: "[Today at] LT", + nextDay: "[Tomorrow at] LT", + nextWeek: "dddd [at] LT", + lastDay: "[Yesterday at] LT", + lastWeek: "[Last] dddd [at] LT", + sameElse: "L" + }; + + function P(e, t, n) { + var i = this._calendar[e] || this._calendar.sameElse; + return j(i) ? i.call(t, n) : i + } + + function C(e, t, n) { + var i = "" + Math.abs(e), a = t - i.length; + return (e >= 0 ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + i + } + + var F = /(\[[^\[]*\])|(\\)?([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, + I = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, W = {}, N = {}; + + function z(e, t, n, i) { + var a = i; + "string" == typeof i && (a = function () { + return this[i]() + }), e && (N[e] = a), t && (N[t[0]] = function () { + return C(a.apply(this, arguments), t[1], t[2]) + }), n && (N[n] = function () { + return this.localeData().ordinal(a.apply(this, arguments), e) + }) + } + + function R(e) { + return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "") + } + + function V(e) { + var t, n, i = e.match(F); + for (t = 0, n = i.length; t < n; t++) N[i[t]] ? i[t] = N[i[t]] : i[t] = R(i[t]); + return function (t) { + var a, r = ""; + for (a = 0; a < n; a++) r += j(i[a]) ? i[a].call(t, e) : i[a]; + return r + } + } + + function B(e, t) { + return e.isValid() ? (t = Z(t, e.localeData()), W[t] = W[t] || V(t), W[t](e)) : e.localeData().invalidDate() + } + + function Z(e, t) { + var n = 5; + + function i(e) { + return t.longDateFormat(e) || e + } + + for (I.lastIndex = 0; n >= 0 && I.test(e);) e = e.replace(I, i), I.lastIndex = 0, n -= 1; + return e + } + + var U = { + 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" + }; + + function J(e) { + var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()]; + return t || !n ? t : (this._longDateFormat[e] = n.match(F).map((function (e) { + return "MMMM" === e || "MM" === e || "DD" === e || "dddd" === e ? e.slice(1) : e + })).join(""), this._longDateFormat[e]) + } + + var G = "Invalid date"; + + function q() { + return this._invalidDate + } + + var K = "%d", X = /\d{1,2}/; + + function $(e) { + return this._ordinal.replace("%d", e) + } + + var Q = { + 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" + }; + + function ee(e, t, n, i) { + var a = this._relativeTime[n]; + return j(a) ? a(e, t, n, i) : a.replace(/%d/i, e) + } + + function te(e, t) { + var n = this._relativeTime[e > 0 ? "future" : "past"]; + return j(n) ? n(t) : n.replace(/%s/i, t) + } + + var ne = {}; + + function ie(e, t) { + var n = e.toLowerCase(); + ne[n] = ne[n + "s"] = ne[t] = e + } + + function ae(e) { + return "string" == typeof e ? ne[e] || ne[e.toLowerCase()] : void 0 + } + + function re(e) { + var t, n, i = {}; + for (n in e) s(e, n) && (t = ae(n)) && (i[t] = e[n]); + return i + } + + var le = {}; + + function oe(e, t) { + le[e] = t + } + + function se(e) { + var t, n = []; + for (t in e) s(e, t) && n.push({unit: t, priority: le[t]}); + return n.sort((function (e, t) { + return e.priority - t.priority + })), n + } + + function de(e) { + return e % 4 == 0 && e % 100 != 0 || e % 400 == 0 + } + + function ue(e) { + return e < 0 ? Math.ceil(e) || 0 : Math.floor(e) + } + + function ce(e) { + var t = +e, n = 0; + return 0 !== t && isFinite(t) && (n = ue(t)), n + } + + function he(e, t) { + return function (n) { + return null != n ? (fe(this, e, n), a.updateOffset(this, t), this) : me(this, e) + } + } + + function me(e, t) { + return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN + } + + function fe(e, t, n) { + e.isValid() && !isNaN(n) && ("FullYear" === t && de(e.year()) && 1 === e.month() && 29 === e.date() ? (n = ce(n), e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), et(n, e.month()))) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n)) + } + + function _e(e) { + return j(this[e = ae(e)]) ? this[e]() : this + } + + function pe(e, t) { + if ("object" == typeof e) { + var n, i = se(e = re(e)); + for (n = 0; n < i.length; n++) this[i[n].unit](e[i[n].unit]) + } else if (j(this[e = ae(e)])) return this[e](t); + return this + } + + var ge, ye = /\d/, ve = /\d\d/, Me = /\d{3}/, be = /\d{4}/, xe = /[+-]?\d{6}/, Le = /\d\d?/, + we = /\d\d\d\d?/, ke = /\d\d\d\d\d\d?/, Ye = /\d{1,3}/, De = /\d{1,4}/, Te = /[+-]?\d{1,6}/, Se = /\d+/, + je = /[+-]?\d+/, Ee = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, Oe = /[+-]?\d+(\.\d{1,3})?/, + Ae = /[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) { + ge[e] = j(t) ? t : function (e, i) { + return e && n ? n : t + } + } + + function Ce(e, t) { + return s(ge, e) ? ge[e](t._strict, t._locale) : new RegExp(Fe(e)) + } + + function Fe(e) { + return Ie(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, (function (e, t, n, i, a) { + return t || n || i || a + }))) + } + + function Ie(e) { + return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") + } + + ge = {}; + var We = {}; + + function Ne(e, t) { + var n, i = t; + for ("string" == typeof e && (e = [e]), c(t) && (i = function (e, n) { + n[t] = ce(e) + }), n = 0; n < e.length; n++) We[e[n]] = i + } + + function ze(e, t) { + Ne(e, (function (e, n, i, a) { + i._w = i._w || {}, t(e, i._w, i, a) + })) + } + + function Re(e, t, n) { + null != t && s(We, e) && We[e](t, n._a, n, e) + } + + var Ve, Be = 0, Ze = 1, Ue = 2, Je = 3, Ge = 4, qe = 5, Ke = 6, Xe = 7, $e = 8; + + function Qe(e, t) { + return (e % t + t) % t + } + + function et(e, t) { + if (isNaN(e) || isNaN(t)) return NaN; + var n = Qe(t, 12); + return e += (t - n) / 12, 1 === n ? de(e) ? 29 : 28 : 31 - n % 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 + }, z("M", ["MM", 2], "Mo", (function () { + return this.month() + 1 + })), z("MMM", 0, 0, (function (e) { + return this.localeData().monthsShort(this, e) + })), z("MMMM", 0, 0, (function (e) { + return this.localeData().months(this, e) + })), ie("month", "M"), oe("month", 8), Pe("M", Le), Pe("MM", Le, ve), Pe("MMM", (function (e, t) { + return t.monthsShortRegex(e) + })), Pe("MMMM", (function (e, t) { + return t.monthsRegex(e) + })), Ne(["M", "MM"], (function (e, t) { + t[Ze] = ce(e) - 1 + })), Ne(["MMM", "MMMM"], (function (e, t, n, i) { + var a = n._locale.monthsParse(e, i, n._strict); + null != a ? t[Ze] = a : g(n).invalidMonth = e + })); + var tt = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), + nt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), it = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, + at = Ae, rt = Ae; + + function lt(e, t) { + return e ? l(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || it).test(t) ? "format" : "standalone"][e.month()] : l(this._months) ? this._months : this._months.standalone + } + + function ot(e, t) { + return e ? l(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[it.test(t) ? "format" : "standalone"][e.month()] : l(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone + } + + function st(e, t, n) { + var i, a, r, l = e.toLocaleLowerCase(); + if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], i = 0; i < 12; ++i) r = _([2e3, i]), this._shortMonthsParse[i] = this.monthsShort(r, "").toLocaleLowerCase(), this._longMonthsParse[i] = this.months(r, "").toLocaleLowerCase(); + return n ? "MMM" === t ? -1 !== (a = Ve.call(this._shortMonthsParse, l)) ? a : null : -1 !== (a = Ve.call(this._longMonthsParse, l)) ? a : null : "MMM" === t ? -1 !== (a = Ve.call(this._shortMonthsParse, l)) || -1 !== (a = Ve.call(this._longMonthsParse, l)) ? a : null : -1 !== (a = Ve.call(this._longMonthsParse, l)) || -1 !== (a = Ve.call(this._shortMonthsParse, l)) ? a : null + } + + function dt(e, t, n) { + var i, a, r; + if (this._monthsParseExact) return st.call(this, e, t, n); + for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), i = 0; i < 12; i++) { + if (a = _([2e3, i]), n && !this._longMonthsParse[i] && (this._longMonthsParse[i] = new RegExp("^" + this.months(a, "").replace(".", "") + "$", "i"), this._shortMonthsParse[i] = new RegExp("^" + this.monthsShort(a, "").replace(".", "") + "$", "i")), n || this._monthsParse[i] || (r = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[i] = new RegExp(r.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 ut(e, t) { + var n; + if (!e.isValid()) return e; + if ("string" == typeof t) if (/^\d+$/.test(t)) t = ce(t); else if (!c(t = e.localeData().monthsParse(t))) return e; + return n = Math.min(e.date(), et(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e + } + + function ct(e) { + return null != e ? (ut(this, e), a.updateOffset(this, !0), this) : me(this, "Month") + } + + function ht() { + return et(this.year(), this.month()) + } + + function mt(e) { + return this._monthsParseExact ? (s(this, "_monthsRegex") || _t.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (s(this, "_monthsShortRegex") || (this._monthsShortRegex = at), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex) + } + + function ft(e) { + return this._monthsParseExact ? (s(this, "_monthsRegex") || _t.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (s(this, "_monthsRegex") || (this._monthsRegex = rt), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex) + } + + function _t() { + function e(e, t) { + return t.length - e.length + } + + var t, n, i = [], a = [], r = []; + for (t = 0; t < 12; t++) n = _([2e3, t]), i.push(this.monthsShort(n, "")), a.push(this.months(n, "")), r.push(this.months(n, "")), r.push(this.monthsShort(n, "")); + for (i.sort(e), a.sort(e), r.sort(e), t = 0; t < 12; t++) i[t] = Ie(i[t]), a[t] = Ie(a[t]); + for (t = 0; t < 24; t++) r[t] = Ie(r[t]); + this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + i.join("|") + ")", "i") + } + + function pt(e) { + return de(e) ? 366 : 365 + } + + z("Y", 0, 0, (function () { + var e = this.year(); + return e <= 9999 ? C(e, 4) : "+" + e + })), z(0, ["YY", 2], 0, (function () { + return this.year() % 100 + })), z(0, ["YYYY", 4], 0, "year"), z(0, ["YYYYY", 5], 0, "year"), z(0, ["YYYYYY", 6, !0], 0, "year"), ie("year", "y"), oe("year", 1), Pe("Y", je), Pe("YY", Le, ve), Pe("YYYY", De, be), Pe("YYYYY", Te, xe), Pe("YYYYYY", Te, xe), Ne(["YYYYY", "YYYYYY"], Be), Ne("YYYY", (function (e, t) { + t[Be] = 2 === e.length ? a.parseTwoDigitYear(e) : ce(e) + })), Ne("YY", (function (e, t) { + t[Be] = a.parseTwoDigitYear(e) + })), Ne("Y", (function (e, t) { + t[Be] = parseInt(e, 10) + })), a.parseTwoDigitYear = function (e) { + return ce(e) + (ce(e) > 68 ? 1900 : 2e3) + }; + var gt = he("FullYear", !0); + + function yt() { + return de(this.year()) + } + + function vt(e, t, n, i, a, r, l) { + var o; + return e < 100 && e >= 0 ? (o = new Date(e + 400, t, n, i, a, r, l), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, n, i, a, r, l), o + } + + function Mt(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 bt(e, t, n) { + var i = 7 + t - n; + return -(7 + Mt(e, 0, i).getUTCDay() - t) % 7 + i - 1 + } + + function xt(e, t, n, i, a) { + var r, l, o = 1 + 7 * (t - 1) + (7 + n - i) % 7 + bt(e, i, a); + return o <= 0 ? l = pt(r = e - 1) + o : o > pt(e) ? (r = e + 1, l = o - pt(e)) : (r = e, l = o), { + year: r, + dayOfYear: l + } + } + + function Lt(e, t, n) { + var i, a, r = bt(e.year(), t, n), l = Math.floor((e.dayOfYear() - r - 1) / 7) + 1; + return l < 1 ? i = l + wt(a = e.year() - 1, t, n) : l > wt(e.year(), t, n) ? (i = l - wt(e.year(), t, n), a = e.year() + 1) : (a = e.year(), i = l), { + week: i, + year: a + } + } + + function wt(e, t, n) { + var i = bt(e, t, n), a = bt(e + 1, t, n); + return (pt(e) - i + a) / 7 + } + + function kt(e) { + return Lt(e, this._week.dow, this._week.doy).week + } + + z("w", ["ww", 2], "wo", "week"), z("W", ["WW", 2], "Wo", "isoWeek"), ie("week", "w"), ie("isoWeek", "W"), oe("week", 5), oe("isoWeek", 5), Pe("w", Le), Pe("ww", Le, ve), Pe("W", Le), Pe("WW", Le, ve), ze(["w", "ww", "W", "WW"], (function (e, t, n, i) { + t[i.substr(0, 1)] = ce(e) + })); + var Yt = {dow: 0, doy: 6}; + + function Dt() { + return this._week.dow + } + + function Tt() { + return this._week.doy + } + + function St(e) { + var t = this.localeData().week(this); + return null == e ? t : this.add(7 * (e - t), "d") + } + + function jt(e) { + var t = Lt(this, 1, 4).week; + return null == e ? t : this.add(7 * (e - t), "d") + } + + function Et(e, t) { + return "string" != typeof e ? e : isNaN(e) ? "number" == typeof (e = t.weekdaysParse(e)) ? e : null : parseInt(e, 10) + } + + function Ht(e, t) { + return "string" == typeof e ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e + } + + function Ot(e, t) { + return e.slice(t, 7).concat(e.slice(0, t)) + } + + z("d", 0, "do", "day"), z("dd", 0, 0, (function (e) { + return this.localeData().weekdaysMin(this, e) + })), z("ddd", 0, 0, (function (e) { + return this.localeData().weekdaysShort(this, e) + })), z("dddd", 0, 0, (function (e) { + return this.localeData().weekdays(this, e) + })), z("e", 0, 0, "weekday"), z("E", 0, 0, "isoWeekday"), ie("day", "d"), ie("weekday", "e"), ie("isoWeekday", "E"), oe("day", 11), oe("weekday", 11), oe("isoWeekday", 11), Pe("d", Le), Pe("e", Le), Pe("E", Le), 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) + })), ze(["dd", "ddd", "dddd"], (function (e, t, n, i) { + var a = n._locale.weekdaysParse(e, i, n._strict); + null != a ? t.d = a : g(n).invalidWeekday = e + })), ze(["d", "e", "E"], (function (e, t, n, i) { + t[i] = ce(e) + })); + var At = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), + Pt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ct = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ft = Ae, It = Ae, + Wt = Ae; + + function Nt(e, t) { + var n = l(this._weekdays) ? this._weekdays : this._weekdays[e && !0 !== e && this._weekdays.isFormat.test(t) ? "format" : "standalone"]; + return !0 === e ? Ot(n, this._week.dow) : e ? n[e.day()] : n + } + + function zt(e) { + return !0 === e ? Ot(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort + } + + function Rt(e) { + return !0 === e ? Ot(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin + } + + function Vt(e, t, n) { + var i, a, r, l = e.toLocaleLowerCase(); + if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], i = 0; i < 7; ++i) r = _([2e3, 1]).day(i), this._minWeekdaysParse[i] = this.weekdaysMin(r, "").toLocaleLowerCase(), this._shortWeekdaysParse[i] = this.weekdaysShort(r, "").toLocaleLowerCase(), this._weekdaysParse[i] = this.weekdays(r, "").toLocaleLowerCase(); + return n ? "dddd" === t ? -1 !== (a = Ve.call(this._weekdaysParse, l)) ? a : null : "ddd" === t ? -1 !== (a = Ve.call(this._shortWeekdaysParse, l)) ? a : null : -1 !== (a = Ve.call(this._minWeekdaysParse, l)) ? a : null : "dddd" === t ? -1 !== (a = Ve.call(this._weekdaysParse, l)) || -1 !== (a = Ve.call(this._shortWeekdaysParse, l)) || -1 !== (a = Ve.call(this._minWeekdaysParse, l)) ? a : null : "ddd" === t ? -1 !== (a = Ve.call(this._shortWeekdaysParse, l)) || -1 !== (a = Ve.call(this._weekdaysParse, l)) || -1 !== (a = Ve.call(this._minWeekdaysParse, l)) ? a : null : -1 !== (a = Ve.call(this._minWeekdaysParse, l)) || -1 !== (a = Ve.call(this._weekdaysParse, l)) || -1 !== (a = Ve.call(this._shortWeekdaysParse, l)) ? a : null + } + + function Bt(e, t, n) { + var i, a, r; + if (this._weekdaysParseExact) return Vt.call(this, e, t, n); + for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), i = 0; i < 7; i++) { + if (a = _([2e3, 1]).day(i), n && !this._fullWeekdaysParse[i] && (this._fullWeekdaysParse[i] = new RegExp("^" + this.weekdays(a, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[i] = new RegExp("^" + this.weekdaysShort(a, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[i] = new RegExp("^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[i] || (r = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[i] = new RegExp(r.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 Zt(e) { + if (!this.isValid()) return null != e ? this : NaN; + var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); + return null != e ? (e = Et(e, this.localeData()), this.add(e - t, "d")) : t + } + + function Ut(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 Jt(e) { + if (!this.isValid()) return null != e ? this : NaN; + if (null != e) { + var t = Ht(e, this.localeData()); + return this.day(this.day() % 7 ? t : t - 7) + } + return this.day() || 7 + } + + function Gt(e) { + return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || Xt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (s(this, "_weekdaysRegex") || (this._weekdaysRegex = Ft), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex) + } + + function qt(e) { + return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || Xt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (s(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = It), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) + } + + function Kt(e) { + return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || Xt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (s(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Wt), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) + } + + function Xt() { + function e(e, t) { + return t.length - e.length + } + + var t, n, i, a, r, l = [], o = [], s = [], d = []; + for (t = 0; t < 7; t++) n = _([2e3, 1]).day(t), i = Ie(this.weekdaysMin(n, "")), a = Ie(this.weekdaysShort(n, "")), r = Ie(this.weekdays(n, "")), l.push(i), o.push(a), s.push(r), d.push(i), d.push(a), d.push(r); + l.sort(e), o.sort(e), s.sort(e), d.sort(e), this._weekdaysRegex = new RegExp("^(" + d.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + o.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + l.join("|") + ")", "i") + } + + function $t() { + return this.hours() % 12 || 12 + } + + function Qt() { + return this.hours() || 24 + } + + function en(e, t) { + z(e, 0, 0, (function () { + return this.localeData().meridiem(this.hours(), this.minutes(), t) + })) + } + + function tn(e, t) { + return t._meridiemParse + } + + function nn(e) { + return "p" === (e + "").toLowerCase().charAt(0) + } + + z("H", ["HH", 2], 0, "hour"), z("h", ["hh", 2], 0, $t), z("k", ["kk", 2], 0, Qt), z("hmm", 0, 0, (function () { + return "" + $t.apply(this) + C(this.minutes(), 2) + })), z("hmmss", 0, 0, (function () { + return "" + $t.apply(this) + C(this.minutes(), 2) + C(this.seconds(), 2) + })), z("Hmm", 0, 0, (function () { + return "" + this.hours() + C(this.minutes(), 2) + })), z("Hmmss", 0, 0, (function () { + return "" + this.hours() + C(this.minutes(), 2) + C(this.seconds(), 2) + })), en("a", !0), en("A", !1), ie("hour", "h"), oe("hour", 13), Pe("a", tn), Pe("A", tn), Pe("H", Le), Pe("h", Le), Pe("k", Le), Pe("HH", Le, ve), Pe("hh", Le, ve), Pe("kk", Le, ve), Pe("hmm", we), Pe("hmmss", ke), Pe("Hmm", we), Pe("Hmmss", ke), Ne(["H", "HH"], Je), Ne(["k", "kk"], (function (e, t, n) { + var i = ce(e); + t[Je] = 24 === i ? 0 : i + })), Ne(["a", "A"], (function (e, t, n) { + n._isPm = n._locale.isPM(e), n._meridiem = e + })), Ne(["h", "hh"], (function (e, t, n) { + t[Je] = ce(e), g(n).bigHour = !0 + })), Ne("hmm", (function (e, t, n) { + var i = e.length - 2; + t[Je] = ce(e.substr(0, i)), t[Ge] = ce(e.substr(i)), g(n).bigHour = !0 + })), Ne("hmmss", (function (e, t, n) { + var i = e.length - 4, a = e.length - 2; + t[Je] = ce(e.substr(0, i)), t[Ge] = ce(e.substr(i, 2)), t[qe] = ce(e.substr(a)), g(n).bigHour = !0 + })), Ne("Hmm", (function (e, t, n) { + var i = e.length - 2; + t[Je] = ce(e.substr(0, i)), t[Ge] = ce(e.substr(i)) + })), Ne("Hmmss", (function (e, t, n) { + var i = e.length - 4, a = e.length - 2; + t[Je] = ce(e.substr(0, i)), t[Ge] = ce(e.substr(i, 2)), t[qe] = ce(e.substr(a)) + })); + var an = /[ap]\.?m?\.?/i, rn = he("Hours", !0); + + function ln(e, t, n) { + return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM" + } + + var on, sn = { + calendar: A, + longDateFormat: U, + invalidDate: G, + ordinal: K, + dayOfMonthOrdinalParse: X, + relativeTime: Q, + months: tt, + monthsShort: nt, + week: Yt, + weekdays: At, + weekdaysMin: Ct, + weekdaysShort: Pt, + meridiemParse: an + }, dn = {}, un = {}; + + function cn(e, t) { + var n, i = Math.min(e.length, t.length); + for (n = 0; n < i; n += 1) if (e[n] !== t[n]) return n; + return i + } + + function hn(e) { + return e ? e.toLowerCase().replace("_", "-") : e + } + + function mn(e) { + for (var t, n, i, a, r = 0; r < e.length;) { + for (t = (a = hn(e[r]).split("-")).length, n = (n = hn(e[r + 1])) ? n.split("-") : null; t > 0;) { + if (i = fn(a.slice(0, t).join("-"))) return i; + if (n && n.length >= t && cn(a, n) >= t - 1) break; + t-- + } + r++ + } + return on + } + + function fn(t) { + var i = null; + if (void 0 === dn[t] && void 0 !== e && e && e.exports) try { + i = on._abbr, n(255)("./" + t), _n(i) + } catch (e) { + dn[t] = null + } + return dn[t] + } + + function _n(e, t) { + var n; + return e && ((n = u(t) ? yn(e) : pn(e, t)) ? on = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), on._abbr + } + + function pn(e, t) { + if (null !== t) { + var n, i = sn; + if (t.abbr = e, null != dn[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."), i = dn[e]._config; else if (null != t.parentLocale) if (null != dn[t.parentLocale]) i = dn[t.parentLocale]._config; else { + if (null == (n = fn(t.parentLocale))) return un[t.parentLocale] || (un[t.parentLocale] = []), un[t.parentLocale].push({ + name: e, + config: t + }), null; + i = n._config + } + return dn[e] = new O(H(i, t)), un[e] && un[e].forEach((function (e) { + pn(e.name, e.config) + })), _n(e), dn[e] + } + return delete dn[e], null + } + + function gn(e, t) { + if (null != t) { + var n, i, a = sn; + null != dn[e] && null != dn[e].parentLocale ? dn[e].set(H(dn[e]._config, t)) : (null != (i = fn(e)) && (a = i._config), t = H(a, t), null == i && (t.abbr = e), (n = new O(t)).parentLocale = dn[e], dn[e] = n), _n(e) + } else null != dn[e] && (null != dn[e].parentLocale ? (dn[e] = dn[e].parentLocale, e === _n() && _n(e)) : null != dn[e] && delete dn[e]); + return dn[e] + } + + function yn(e) { + var t; + if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return on; + if (!l(e)) { + if (t = fn(e)) return t; + e = [e] + } + return mn(e) + } + + function vn() { + return D(dn) + } + + function Mn(e) { + var t, n = e._a; + return n && -2 === g(e).overflow && (t = n[Ze] < 0 || n[Ze] > 11 ? Ze : n[Ue] < 1 || n[Ue] > et(n[Be], n[Ze]) ? Ue : n[Je] < 0 || n[Je] > 24 || 24 === n[Je] && (0 !== n[Ge] || 0 !== n[qe] || 0 !== n[Ke]) ? Je : n[Ge] < 0 || n[Ge] > 59 ? Ge : n[qe] < 0 || n[qe] > 59 ? qe : n[Ke] < 0 || n[Ke] > 999 ? Ke : -1, g(e)._overflowDayOfYear && (t < Be || t > Ue) && (t = Ue), g(e)._overflowWeeks && -1 === t && (t = Xe), g(e)._overflowWeekday && -1 === t && (t = $e), g(e).overflow = t), e + } + + var bn = /^\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)?)?$/, + xn = /^\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)?)?$/, + Ln = /Z|[+-]\d\d(?::?\d\d)?/, + wn = [["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]], + kn = [["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/]], + Yn = /^\/?Date\((-?\d+)/i, + Dn = /^(?:(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}))$/, + Tn = { + UT: 0, + GMT: 0, + EDT: -240, + EST: -300, + CDT: -300, + CST: -360, + MDT: -360, + MST: -420, + PDT: -420, + PST: -480 + }; + + function Sn(e) { + var t, n, i, a, r, l, o = e._i, s = bn.exec(o) || xn.exec(o); + if (s) { + for (g(e).iso = !0, t = 0, n = wn.length; t < n; t++) if (wn[t][1].exec(s[1])) { + a = wn[t][0], i = !1 !== wn[t][2]; + break + } + if (null == a) return void (e._isValid = !1); + if (s[3]) { + for (t = 0, n = kn.length; t < n; t++) if (kn[t][1].exec(s[3])) { + r = (s[2] || " ") + kn[t][0]; + break + } + if (null == r) return void (e._isValid = !1) + } + if (!i && null != r) return void (e._isValid = !1); + if (s[4]) { + if (!Ln.exec(s[4])) return void (e._isValid = !1); + l = "Z" + } + e._f = a + (r || "") + (l || ""), zn(e) + } else e._isValid = !1 + } + + function jn(e, t, n, i, a, r) { + var l = [En(e), nt.indexOf(t), parseInt(n, 10), parseInt(i, 10), parseInt(a, 10)]; + return r && l.push(parseInt(r, 10)), l + } + + function En(e) { + var t = parseInt(e, 10); + return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t + } + + function Hn(e) { + return e.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "") + } + + function On(e, t, n) { + return !e || Pt.indexOf(e) === new Date(t[0], t[1], t[2]).getDay() || (g(n).weekdayMismatch = !0, n._isValid = !1, !1) + } + + function An(e, t, n) { + if (e) return Tn[e]; + if (t) return 0; + var i = parseInt(n, 10), a = i % 100; + return (i - a) / 100 * 60 + a + } + + function Pn(e) { + var t, n = Dn.exec(Hn(e._i)); + if (n) { + if (t = jn(n[4], n[3], n[2], n[5], n[6], n[7]), !On(n[1], t, e)) return; + e._a = t, e._tzm = An(n[8], n[9], n[10]), e._d = Mt.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), g(e).rfc2822 = !0 + } else e._isValid = !1 + } + + function Cn(e) { + var t = Yn.exec(e._i); + null === t ? (Sn(e), !1 === e._isValid && (delete e._isValid, Pn(e), !1 === e._isValid && (delete e._isValid, e._strict ? e._isValid = !1 : a.createFromInputFallback(e)))) : e._d = new Date(+t[1]) + } + + function Fn(e, t, n) { + return null != e ? e : null != t ? t : n + } + + function In(e) { + var t = new Date(a.now()); + return e._useUTC ? [t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()] : [t.getFullYear(), t.getMonth(), t.getDate()] + } + + function Wn(e) { + var t, n, i, a, r, l = []; + if (!e._d) { + for (i = In(e), e._w && null == e._a[Ue] && null == e._a[Ze] && Nn(e), null != e._dayOfYear && (r = Fn(e._a[Be], i[Be]), (e._dayOfYear > pt(r) || 0 === e._dayOfYear) && (g(e)._overflowDayOfYear = !0), n = Mt(r, 0, e._dayOfYear), e._a[Ze] = n.getUTCMonth(), e._a[Ue] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = l[t] = i[t]; + for (; t < 7; t++) e._a[t] = l[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t]; + 24 === e._a[Je] && 0 === e._a[Ge] && 0 === e._a[qe] && 0 === e._a[Ke] && (e._nextDay = !0, e._a[Je] = 0), e._d = (e._useUTC ? Mt : vt).apply(null, l), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[Je] = 24), e._w && void 0 !== e._w.d && e._w.d !== a && (g(e).weekdayMismatch = !0) + } + } + + function Nn(e) { + var t, n, i, a, r, l, o, s, d; + null != (t = e._w).GG || null != t.W || null != t.E ? (r = 1, l = 4, n = Fn(t.GG, e._a[Be], Lt(qn(), 1, 4).year), i = Fn(t.W, 1), ((a = Fn(t.E, 1)) < 1 || a > 7) && (s = !0)) : (r = e._locale._week.dow, l = e._locale._week.doy, d = Lt(qn(), r, l), n = Fn(t.gg, e._a[Be], d.year), i = Fn(t.w, d.week), null != t.d ? ((a = t.d) < 0 || a > 6) && (s = !0) : null != t.e ? (a = t.e + r, (t.e < 0 || t.e > 6) && (s = !0)) : a = r), i < 1 || i > wt(n, r, l) ? g(e)._overflowWeeks = !0 : null != s ? g(e)._overflowWeekday = !0 : (o = xt(n, i, a, r, l), e._a[Be] = o.year, e._dayOfYear = o.dayOfYear) + } + + function zn(e) { + if (e._f !== a.ISO_8601) if (e._f !== a.RFC_2822) { + e._a = [], g(e).empty = !0; + var t, n, i, r, l, o, s = "" + e._i, d = s.length, u = 0; + for (i = Z(e._f, e._locale).match(F) || [], t = 0; t < i.length; t++) r = i[t], (n = (s.match(Ce(r, e)) || [])[0]) && ((l = s.substr(0, s.indexOf(n))).length > 0 && g(e).unusedInput.push(l), s = s.slice(s.indexOf(n) + n.length), u += n.length), N[r] ? (n ? g(e).empty = !1 : g(e).unusedTokens.push(r), Re(r, n, e)) : e._strict && !n && g(e).unusedTokens.push(r); + g(e).charsLeftOver = d - u, s.length > 0 && g(e).unusedInput.push(s), e._a[Je] <= 12 && !0 === g(e).bigHour && e._a[Je] > 0 && (g(e).bigHour = void 0), g(e).parsedDateParts = e._a.slice(0), g(e).meridiem = e._meridiem, e._a[Je] = Rn(e._locale, e._a[Je], e._meridiem), null !== (o = g(e).era) && (e._a[Be] = e._locale.erasConvertYear(o, e._a[Be])), Wn(e), Mn(e) + } else Pn(e); else Sn(e) + } + + function Rn(e, t, n) { + var i; + return null == n ? t : null != e.meridiemHour ? e.meridiemHour(t, n) : null != e.isPM ? ((i = e.isPM(n)) && t < 12 && (t += 12), i || 12 !== t || (t = 0), t) : t + } + + function Vn(e) { + var t, n, i, a, r, l, o = !1; + if (0 === e._f.length) return g(e).invalidFormat = !0, void (e._d = new Date(NaN)); + for (a = 0; a < e._f.length; a++) r = 0, l = !1, t = x({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[a], zn(t), y(t) && (l = !0), r += g(t).charsLeftOver, r += 10 * g(t).unusedTokens.length, g(t).score = r, o ? r < i && (i = r, n = t) : (null == i || r < i || l) && (i = r, n = t, l && (o = !0)); + f(e, n || t) + } + + function Bn(e) { + if (!e._d) { + var t = re(e._i), n = void 0 === t.day ? t.date : t.day; + e._a = m([t.year, t.month, n, t.hour, t.minute, t.second, t.millisecond], (function (e) { + return e && parseInt(e, 10) + })), Wn(e) + } + } + + function Zn(e) { + var t = new L(Mn(Un(e))); + return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t + } + + function Un(e) { + var t = e._i, n = e._f; + return e._locale = e._locale || yn(e._l), null === t || void 0 === n && "" === t ? v({nullInput: !0}) : ("string" == typeof t && (e._i = t = e._locale.preparse(t)), w(t) ? new L(Mn(t)) : (h(t) ? e._d = t : l(n) ? Vn(e) : n ? zn(e) : Jn(e), y(e) || (e._d = null), e)) + } + + function Jn(e) { + var t = e._i; + u(t) ? e._d = new Date(a.now()) : h(t) ? e._d = new Date(t.valueOf()) : "string" == typeof t ? Cn(e) : l(t) ? (e._a = m(t.slice(0), (function (e) { + return parseInt(e, 10) + })), Wn(e)) : o(t) ? Bn(e) : c(t) ? e._d = new Date(t) : a.createFromInputFallback(e) + } + + function Gn(e, t, n, i, a) { + var r = {}; + return !0 !== t && !1 !== t || (i = t, t = void 0), !0 !== n && !1 !== n || (i = n, n = void 0), (o(e) && d(e) || l(e) && 0 === e.length) && (e = void 0), r._isAMomentObject = !0, r._useUTC = r._isUTC = a, r._l = n, r._i = e, r._f = t, r._strict = i, Zn(r) + } + + function qn(e, t, n, i) { + return Gn(e, t, n, i, !1) + } + + a.createFromInputFallback = Y("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 Kn = Y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/", (function () { + var e = qn.apply(null, arguments); + return this.isValid() && e.isValid() ? e < this ? this : e : v() + })), + Xn = Y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/", (function () { + var e = qn.apply(null, arguments); + return this.isValid() && e.isValid() ? e > this ? this : e : v() + })); + + function $n(e, t) { + var n, i; + if (1 === t.length && l(t[0]) && (t = t[0]), !t.length) return qn(); + for (n = t[0], i = 1; i < t.length; ++i) t[i].isValid() && !t[i][e](n) || (n = t[i]); + return n + } + + function Qn() { + return $n("isBefore", [].slice.call(arguments, 0)) + } + + function ei() { + return $n("isAfter", [].slice.call(arguments, 0)) + } + + var ti = function () { + return Date.now ? Date.now() : +new Date + }, ni = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"]; + + function ii(e) { + var t, n, i = !1; + for (t in e) if (s(e, t) && (-1 === Ve.call(ni, t) || null != e[t] && isNaN(e[t]))) return !1; + for (n = 0; n < ni.length; ++n) if (e[ni[n]]) { + if (i) return !1; + parseFloat(e[ni[n]]) !== ce(e[ni[n]]) && (i = !0) + } + return !0 + } + + function ai() { + return this._isValid + } + + function ri() { + return Ti(NaN) + } + + function li(e) { + var t = re(e), n = t.year || 0, i = t.quarter || 0, a = t.month || 0, r = t.week || t.isoWeek || 0, + l = t.day || 0, o = t.hour || 0, s = t.minute || 0, d = t.second || 0, u = t.millisecond || 0; + this._isValid = ii(t), this._milliseconds = +u + 1e3 * d + 6e4 * s + 1e3 * o * 60 * 60, this._days = +l + 7 * r, this._months = +a + 3 * i + 12 * n, this._data = {}, this._locale = yn(), this._bubble() + } + + function oi(e) { + return e instanceof li + } + + function si(e) { + return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e) + } + + function di(e, t, n) { + var i, a = Math.min(e.length, t.length), r = Math.abs(e.length - t.length), l = 0; + for (i = 0; i < a; i++) (n && e[i] !== t[i] || !n && ce(e[i]) !== ce(t[i])) && l++; + return l + r + } + + function ui(e, t) { + z(e, 0, 0, (function () { + var e = this.utcOffset(), n = "+"; + return e < 0 && (e = -e, n = "-"), n + C(~~(e / 60), 2) + t + C(~~e % 60, 2) + })) + } + + ui("Z", ":"), ui("ZZ", ""), Pe("Z", He), Pe("ZZ", He), Ne(["Z", "ZZ"], (function (e, t, n) { + n._useUTC = !0, n._tzm = hi(He, e) + })); + var ci = /([\+\-]|\d\d)/gi; + + function hi(e, t) { + var n, i, a = (t || "").match(e); + return null === a ? null : 0 === (i = 60 * (n = ((a[a.length - 1] || []) + "").match(ci) || ["-", 0, 0])[1] + ce(n[2])) ? 0 : "+" === n[0] ? i : -i + } + + function mi(e, t) { + var n, i; + return t._isUTC ? (n = t.clone(), i = (w(e) || h(e) ? e.valueOf() : qn(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + i), a.updateOffset(n, !1), n) : qn(e).local() + } + + function fi(e) { + return -Math.round(e._d.getTimezoneOffset()) + } + + function _i(e, t, n) { + var i, r = this._offset || 0; + if (!this.isValid()) return null != e ? this : NaN; + if (null != e) { + if ("string" == typeof e) { + if (null === (e = hi(He, e))) return this + } else Math.abs(e) < 16 && !n && (e *= 60); + return !this._isUTC && t && (i = fi(this)), this._offset = e, this._isUTC = !0, null != i && this.add(i, "m"), r !== e && (!t || this._changeInProgress ? Oi(this, Ti(e - r, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, a.updateOffset(this, !0), this._changeInProgress = null)), this + } + return this._isUTC ? r : fi(this) + } + + function pi(e, t) { + return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset() + } + + function gi(e) { + return this.utcOffset(0, e) + } + + function yi(e) { + return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(fi(this), "m")), this + } + + function vi() { + if (null != this._tzm) this.utcOffset(this._tzm, !1, !0); else if ("string" == typeof this._i) { + var e = hi(Ee, this._i); + null != e ? this.utcOffset(e) : this.utcOffset(0, !0) + } + return this + } + + function Mi(e) { + return !!this.isValid() && (e = e ? qn(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0) + } + + function bi() { + return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset() + } + + function xi() { + if (!u(this._isDSTShifted)) return this._isDSTShifted; + var e, t = {}; + return x(t, this), (t = Un(t))._a ? (e = t._isUTC ? _(t._a) : qn(t._a), this._isDSTShifted = this.isValid() && di(t._a, e.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted + } + + function Li() { + return !!this.isValid() && !this._isUTC + } + + function wi() { + return !!this.isValid() && this._isUTC + } + + function ki() { + return !!this.isValid() && this._isUTC && 0 === this._offset + } + + a.updateOffset = function () { + }; + var Yi = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, + Di = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + + function Ti(e, t) { + var n, i, a, r = e, l = null; + return oi(e) ? r = { + ms: e._milliseconds, + d: e._days, + M: e._months + } : c(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (l = Yi.exec(e)) ? (n = "-" === l[1] ? -1 : 1, r = { + y: 0, + d: ce(l[Ue]) * n, + h: ce(l[Je]) * n, + m: ce(l[Ge]) * n, + s: ce(l[qe]) * n, + ms: ce(si(1e3 * l[Ke])) * n + }) : (l = Di.exec(e)) ? (n = "-" === l[1] ? -1 : 1, r = { + y: Si(l[2], n), + M: Si(l[3], n), + w: Si(l[4], n), + d: Si(l[5], n), + h: Si(l[6], n), + m: Si(l[7], n), + s: Si(l[8], n) + }) : null == r ? r = {} : "object" == typeof r && ("from" in r || "to" in r) && (a = Ei(qn(r.from), qn(r.to)), (r = {}).ms = a.milliseconds, r.M = a.months), i = new li(r), oi(e) && s(e, "_locale") && (i._locale = e._locale), oi(e) && s(e, "_isValid") && (i._isValid = e._isValid), i + } + + function Si(e, t) { + var n = e && parseFloat(e.replace(",", ".")); + return (isNaN(n) ? 0 : n) * t + } + + function ji(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 Ei(e, t) { + var n; + return e.isValid() && t.isValid() ? (t = mi(t, e), e.isBefore(t) ? n = ji(e, t) : ((n = ji(t, e)).milliseconds = -n.milliseconds, n.months = -n.months), n) : { + milliseconds: 0, + months: 0 + } + } + + function Hi(e, t) { + return function (n, i) { + var a; + 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."), a = n, n = i, i = a), Oi(this, Ti(n, i), e), this + } + } + + function Oi(e, t, n, i) { + var r = t._milliseconds, l = si(t._days), o = si(t._months); + e.isValid() && (i = null == i || i, o && ut(e, me(e, "Month") + o * n), l && fe(e, "Date", me(e, "Date") + l * n), r && e._d.setTime(e._d.valueOf() + r * n), i && a.updateOffset(e, l || o)) + } + + Ti.fn = li.prototype, Ti.invalid = ri; + var Ai = Hi(1, "add"), Pi = Hi(-1, "subtract"); + + function Ci(e) { + return "string" == typeof e || e instanceof String + } + + function Fi(e) { + return w(e) || h(e) || Ci(e) || c(e) || Wi(e) || Ii(e) || null == e + } + + function Ii(e) { + var t, n, i = o(e) && !d(e), a = !1, + r = ["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 < r.length; t += 1) n = r[t], a = a || s(e, n); + return i && a + } + + function Wi(e) { + var t = l(e), n = !1; + return t && (n = 0 === e.filter((function (t) { + return !c(t) && Ci(e) + })).length), t && n + } + + function Ni(e) { + var t, n, i = o(e) && !d(e), a = !1, + r = ["sameDay", "nextDay", "lastDay", "nextWeek", "lastWeek", "sameElse"]; + for (t = 0; t < r.length; t += 1) n = r[t], a = a || s(e, n); + return i && a + } + + function zi(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 Ri(e, t) { + 1 === arguments.length && (arguments[0] ? Fi(arguments[0]) ? (e = arguments[0], t = void 0) : Ni(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0)); + var n = e || qn(), i = mi(n, this).startOf("day"), r = a.calendarFormat(this, i) || "sameElse", + l = t && (j(t[r]) ? t[r].call(this, n) : t[r]); + return this.format(l || this.localeData().calendar(r, this, qn(n))) + } + + function Vi() { + return new L(this) + } + + function Bi(e, t) { + var n = w(e) ? e : qn(e); + return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = ae(t) || "millisecond") ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) + } + + function Zi(e, t) { + var n = w(e) ? e : qn(e); + return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = ae(t) || "millisecond") ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) + } + + function Ui(e, t, n, i) { + var a = w(e) ? e : qn(e), r = w(t) ? t : qn(t); + return !!(this.isValid() && a.isValid() && r.isValid()) && ("(" === (i = i || "()")[0] ? this.isAfter(a, n) : !this.isBefore(a, n)) && (")" === i[1] ? this.isBefore(r, n) : !this.isAfter(r, n)) + } + + function Ji(e, t) { + var n, i = w(e) ? e : qn(e); + return !(!this.isValid() || !i.isValid()) && ("millisecond" === (t = ae(t) || "millisecond") ? this.valueOf() === i.valueOf() : (n = i.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) + } + + function Gi(e, t) { + return this.isSame(e, t) || this.isAfter(e, t) + } + + function qi(e, t) { + return this.isSame(e, t) || this.isBefore(e, t) + } + + function Ki(e, t, n) { + var i, a, r; + if (!this.isValid()) return NaN; + if (!(i = mi(e, this)).isValid()) return NaN; + switch (a = 6e4 * (i.utcOffset() - this.utcOffset()), t = ae(t)) { + case"year": + r = Xi(this, i) / 12; + break; + case"month": + r = Xi(this, i); + break; + case"quarter": + r = Xi(this, i) / 3; + break; + case"second": + r = (this - i) / 1e3; + break; + case"minute": + r = (this - i) / 6e4; + break; + case"hour": + r = (this - i) / 36e5; + break; + case"day": + r = (this - i - a) / 864e5; + break; + case"week": + r = (this - i - a) / 6048e5; + break; + default: + r = this - i + } + return n ? r : ue(r) + } + + function Xi(e, t) { + if (e.date() < t.date()) return -Xi(t, e); + var n = 12 * (t.year() - e.year()) + (t.month() - e.month()), i = e.clone().add(n, "months"); + return -(n + (t - i < 0 ? (t - i) / (i - e.clone().add(n - 1, "months")) : (t - i) / (e.clone().add(n + 1, "months") - i))) || 0 + } + + function $i() { + return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ") + } + + function Qi(e) { + if (!this.isValid()) return null; + var t = !0 !== e, n = t ? this.clone().utc() : this; + return n.year() < 0 || n.year() > 9999 ? B(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : j(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", B(n, "Z")) : B(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ") + } + + function ea() { + if (!this.isValid()) return "moment.invalid(/* " + this._i + " */)"; + var e, t, n, i, a = "moment", r = ""; + return this.isLocal() || (a = 0 === this.utcOffset() ? "moment.utc" : "moment.parseZone", r = "Z"), e = "[" + a + '("]', t = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", i = r + '[")]', this.format(e + t + n + i) + } + + function ta(e) { + e || (e = this.isUtc() ? a.defaultFormatUtc : a.defaultFormat); + var t = B(this, e); + return this.localeData().postformat(t) + } + + function na(e, t) { + return this.isValid() && (w(e) && e.isValid() || qn(e).isValid()) ? Ti({ + to: this, + from: e + }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() + } + + function ia(e) { + return this.from(qn(), e) + } + + function aa(e, t) { + return this.isValid() && (w(e) && e.isValid() || qn(e).isValid()) ? Ti({ + from: this, + to: e + }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() + } + + function ra(e) { + return this.to(qn(), e) + } + + function la(e) { + var t; + return void 0 === e ? this._locale._abbr : (null != (t = yn(e)) && (this._locale = t), this) + } + + a.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", a.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; + var oa = Y("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 sa() { + return this._locale + } + + var da = 1e3, ua = 60 * da, ca = 60 * ua, ha = 3506328 * ca; + + function ma(e, t) { + return (e % t + t) % t + } + + function fa(e, t, n) { + return e < 100 && e >= 0 ? new Date(e + 400, t, n) - ha : new Date(e, t, n).valueOf() + } + + function _a(e, t, n) { + return e < 100 && e >= 0 ? Date.UTC(e + 400, t, n) - ha : Date.UTC(e, t, n) + } + + function pa(e) { + var t, n; + if (void 0 === (e = ae(e)) || "millisecond" === e || !this.isValid()) return this; + switch (n = this._isUTC ? _a : fa, 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 -= ma(t + (this._isUTC ? 0 : this.utcOffset() * ua), ca); + break; + case"minute": + t = this._d.valueOf(), t -= ma(t, ua); + break; + case"second": + t = this._d.valueOf(), t -= ma(t, da) + } + return this._d.setTime(t), a.updateOffset(this, !0), this + } + + function ga(e) { + var t, n; + if (void 0 === (e = ae(e)) || "millisecond" === e || !this.isValid()) return this; + switch (n = this._isUTC ? _a : fa, 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 += ca - ma(t + (this._isUTC ? 0 : this.utcOffset() * ua), ca) - 1; + break; + case"minute": + t = this._d.valueOf(), t += ua - ma(t, ua) - 1; + break; + case"second": + t = this._d.valueOf(), t += da - ma(t, da) - 1 + } + return this._d.setTime(t), a.updateOffset(this, !0), this + } + + function ya() { + return this._d.valueOf() - 6e4 * (this._offset || 0) + } + + function va() { + return Math.floor(this.valueOf() / 1e3) + } + + function Ma() { + return new Date(this.valueOf()) + } + + function ba() { + var e = this; + return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()] + } + + function xa() { + 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 La() { + return this.isValid() ? this.toISOString() : null + } + + function wa() { + return y(this) + } + + function ka() { + return f({}, g(this)) + } + + function Ya() { + return g(this).overflow + } + + function Da() { + return {input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict} + } + + function Ta(e, t) { + var n, i, r, l = this._eras || yn("en")._eras; + for (n = 0, i = l.length; n < i; ++n) { + switch (typeof l[n].since) { + case"string": + r = a(l[n].since).startOf("day"), l[n].since = r.valueOf() + } + switch (typeof l[n].until) { + case"undefined": + l[n].until = 1 / 0; + break; + case"string": + r = a(l[n].until).startOf("day").valueOf(), l[n].until = r.valueOf() + } + } + return l + } + + function Sa(e, t, n) { + var i, a, r, l, o, s = this.eras(); + for (e = e.toUpperCase(), i = 0, a = s.length; i < a; ++i) if (r = s[i].name.toUpperCase(), l = s[i].abbr.toUpperCase(), o = s[i].narrow.toUpperCase(), n) switch (t) { + case"N": + case"NN": + case"NNN": + if (l === e) return s[i]; + break; + case"NNNN": + if (r === e) return s[i]; + break; + case"NNNNN": + if (o === e) return s[i] + } else if ([r, l, o].indexOf(e) >= 0) return s[i] + } + + function ja(e, t) { + var n = e.since <= e.until ? 1 : -1; + return void 0 === t ? a(e.since).year() : a(e.since).year() + (t - e.offset) * n + } + + function Ea() { + var e, t, n, i = this.localeData().eras(); + for (e = 0, t = i.length; e < t; ++e) { + if (n = this.clone().startOf("day").valueOf(), i[e].since <= n && n <= i[e].until) return i[e].name; + if (i[e].until <= n && n <= i[e].since) return i[e].name + } + return "" + } + + function Ha() { + var e, t, n, i = this.localeData().eras(); + for (e = 0, t = i.length; e < t; ++e) { + if (n = this.clone().startOf("day").valueOf(), i[e].since <= n && n <= i[e].until) return i[e].narrow; + if (i[e].until <= n && n <= i[e].since) return i[e].narrow + } + return "" + } + + function Oa() { + var e, t, n, i = this.localeData().eras(); + for (e = 0, t = i.length; e < t; ++e) { + if (n = this.clone().startOf("day").valueOf(), i[e].since <= n && n <= i[e].until) return i[e].abbr; + if (i[e].until <= n && n <= i[e].since) return i[e].abbr + } + return "" + } + + function Aa() { + var e, t, n, i, r = this.localeData().eras(); + for (e = 0, t = r.length; e < t; ++e) if (n = r[e].since <= r[e].until ? 1 : -1, i = this.clone().startOf("day").valueOf(), r[e].since <= i && i <= r[e].until || r[e].until <= i && i <= r[e].since) return (this.year() - a(r[e].since).year()) * n + r[e].offset; + return this.year() + } + + function Pa(e) { + return s(this, "_erasNameRegex") || Ra.call(this), e ? this._erasNameRegex : this._erasRegex + } + + function Ca(e) { + return s(this, "_erasAbbrRegex") || Ra.call(this), e ? this._erasAbbrRegex : this._erasRegex + } + + function Fa(e) { + return s(this, "_erasNarrowRegex") || Ra.call(this), e ? this._erasNarrowRegex : this._erasRegex + } + + function Ia(e, t) { + return t.erasAbbrRegex(e) + } + + function Wa(e, t) { + return t.erasNameRegex(e) + } + + function Na(e, t) { + return t.erasNarrowRegex(e) + } + + function za(e, t) { + return t._eraYearOrdinalRegex || Se + } + + function Ra() { + var e, t, n = [], i = [], a = [], r = [], l = this.eras(); + for (e = 0, t = l.length; e < t; ++e) i.push(Ie(l[e].name)), n.push(Ie(l[e].abbr)), a.push(Ie(l[e].narrow)), r.push(Ie(l[e].name)), r.push(Ie(l[e].abbr)), r.push(Ie(l[e].narrow)); + this._erasRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp("^(" + a.join("|") + ")", "i") + } + + function Va(e, t) { + z(0, [e, e.length], 0, t) + } + + function Ba(e) { + return Ka.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy) + } + + function Za(e) { + return Ka.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4) + } + + function Ua() { + return wt(this.year(), 1, 4) + } + + function Ja() { + return wt(this.isoWeekYear(), 1, 4) + } + + function Ga() { + var e = this.localeData()._week; + return wt(this.year(), e.dow, e.doy) + } + + function qa() { + var e = this.localeData()._week; + return wt(this.weekYear(), e.dow, e.doy) + } + + function Ka(e, t, n, i, a) { + var r; + return null == e ? Lt(this, i, a).year : (t > (r = wt(e, i, a)) && (t = r), Xa.call(this, e, t, n, i, a)) + } + + function Xa(e, t, n, i, a) { + var r = xt(e, t, n, i, a), l = Mt(r.year, 0, r.dayOfYear); + return this.year(l.getUTCFullYear()), this.month(l.getUTCMonth()), this.date(l.getUTCDate()), this + } + + function $a(e) { + return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3) + } + + z("N", 0, 0, "eraAbbr"), z("NN", 0, 0, "eraAbbr"), z("NNN", 0, 0, "eraAbbr"), z("NNNN", 0, 0, "eraName"), z("NNNNN", 0, 0, "eraNarrow"), z("y", ["y", 1], "yo", "eraYear"), z("y", ["yy", 2], 0, "eraYear"), z("y", ["yyy", 3], 0, "eraYear"), z("y", ["yyyy", 4], 0, "eraYear"), Pe("N", Ia), Pe("NN", Ia), Pe("NNN", Ia), Pe("NNNN", Wa), Pe("NNNNN", Na), Ne(["N", "NN", "NNN", "NNNN", "NNNNN"], (function (e, t, n, i) { + var a = n._locale.erasParse(e, i, n._strict); + a ? g(n).era = a : g(n).invalidEra = e + })), Pe("y", Se), Pe("yy", Se), Pe("yyy", Se), Pe("yyyy", Se), Pe("yo", za), Ne(["y", "yy", "yyy", "yyyy"], Be), Ne(["yo"], (function (e, t, n, i) { + var a; + n._locale._eraYearOrdinalRegex && (a = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[Be] = n._locale.eraYearOrdinalParse(e, a) : t[Be] = parseInt(e, 10) + })), z(0, ["gg", 2], 0, (function () { + return this.weekYear() % 100 + })), z(0, ["GG", 2], 0, (function () { + return this.isoWeekYear() % 100 + })), Va("gggg", "weekYear"), Va("ggggg", "weekYear"), Va("GGGG", "isoWeekYear"), Va("GGGGG", "isoWeekYear"), ie("weekYear", "gg"), ie("isoWeekYear", "GG"), oe("weekYear", 1), oe("isoWeekYear", 1), Pe("G", je), Pe("g", je), Pe("GG", Le, ve), Pe("gg", Le, ve), Pe("GGGG", De, be), Pe("gggg", De, be), Pe("GGGGG", Te, xe), Pe("ggggg", Te, xe), ze(["gggg", "ggggg", "GGGG", "GGGGG"], (function (e, t, n, i) { + t[i.substr(0, 2)] = ce(e) + })), ze(["gg", "GG"], (function (e, t, n, i) { + t[i] = a.parseTwoDigitYear(e) + })), z("Q", 0, "Qo", "quarter"), ie("quarter", "Q"), oe("quarter", 7), Pe("Q", ye), Ne("Q", (function (e, t) { + t[Ze] = 3 * (ce(e) - 1) + })), z("D", ["DD", 2], "Do", "date"), ie("date", "D"), oe("date", 9), Pe("D", Le), Pe("DD", Le, ve), Pe("Do", (function (e, t) { + return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient + })), Ne(["D", "DD"], Ue), Ne("Do", (function (e, t) { + t[Ue] = ce(e.match(Le)[0]) + })); + var Qa = he("Date", !0); + + function er(e) { + var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1; + return null == e ? t : this.add(e - t, "d") + } + + z("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), ie("dayOfYear", "DDD"), oe("dayOfYear", 4), Pe("DDD", Ye), Pe("DDDD", Me), Ne(["DDD", "DDDD"], (function (e, t, n) { + n._dayOfYear = ce(e) + })), z("m", ["mm", 2], 0, "minute"), ie("minute", "m"), oe("minute", 14), Pe("m", Le), Pe("mm", Le, ve), Ne(["m", "mm"], Ge); + var tr = he("Minutes", !1); + z("s", ["ss", 2], 0, "second"), ie("second", "s"), oe("second", 15), Pe("s", Le), Pe("ss", Le, ve), Ne(["s", "ss"], qe); + var nr, ir, ar = he("Seconds", !1); + for (z("S", 0, 0, (function () { + return ~~(this.millisecond() / 100) + })), z(0, ["SS", 2], 0, (function () { + return ~~(this.millisecond() / 10) + })), z(0, ["SSS", 3], 0, "millisecond"), z(0, ["SSSS", 4], 0, (function () { + return 10 * this.millisecond() + })), z(0, ["SSSSS", 5], 0, (function () { + return 100 * this.millisecond() + })), z(0, ["SSSSSS", 6], 0, (function () { + return 1e3 * this.millisecond() + })), z(0, ["SSSSSSS", 7], 0, (function () { + return 1e4 * this.millisecond() + })), z(0, ["SSSSSSSS", 8], 0, (function () { + return 1e5 * this.millisecond() + })), z(0, ["SSSSSSSSS", 9], 0, (function () { + return 1e6 * this.millisecond() + })), ie("millisecond", "ms"), oe("millisecond", 16), Pe("S", Ye, ye), Pe("SS", Ye, ve), Pe("SSS", Ye, Me), nr = "SSSS"; nr.length <= 9; nr += "S") Pe(nr, Se); + + function rr(e, t) { + t[Ke] = ce(1e3 * ("0." + e)) + } + + for (nr = "S"; nr.length <= 9; nr += "S") Ne(nr, rr); + + function lr() { + return this._isUTC ? "UTC" : "" + } + + function or() { + return this._isUTC ? "Coordinated Universal Time" : "" + } + + ir = he("Milliseconds", !1), z("z", 0, 0, "zoneAbbr"), z("zz", 0, 0, "zoneName"); + var sr = L.prototype; + + function dr(e) { + return qn(1e3 * e) + } + + function ur() { + return qn.apply(null, arguments).parseZone() + } + + function cr(e) { + return e + } + + sr.add = Ai, sr.calendar = Ri, sr.clone = Vi, sr.diff = Ki, sr.endOf = ga, sr.format = ta, sr.from = na, sr.fromNow = ia, sr.to = aa, sr.toNow = ra, sr.get = _e, sr.invalidAt = Ya, sr.isAfter = Bi, sr.isBefore = Zi, sr.isBetween = Ui, sr.isSame = Ji, sr.isSameOrAfter = Gi, sr.isSameOrBefore = qi, sr.isValid = wa, sr.lang = oa, sr.locale = la, sr.localeData = sa, sr.max = Xn, sr.min = Kn, sr.parsingFlags = ka, sr.set = pe, sr.startOf = pa, sr.subtract = Pi, sr.toArray = ba, sr.toObject = xa, sr.toDate = Ma, sr.toISOString = Qi, sr.inspect = ea, "undefined" != typeof Symbol && null != Symbol.for && (sr[Symbol.for("nodejs.util.inspect.custom")] = function () { + return "Moment<" + this.format() + ">" + }), sr.toJSON = La, sr.toString = $i, sr.unix = va, sr.valueOf = ya, sr.creationData = Da, sr.eraName = Ea, sr.eraNarrow = Ha, sr.eraAbbr = Oa, sr.eraYear = Aa, sr.year = gt, sr.isLeapYear = yt, sr.weekYear = Ba, sr.isoWeekYear = Za, sr.quarter = sr.quarters = $a, sr.month = ct, sr.daysInMonth = ht, sr.week = sr.weeks = St, sr.isoWeek = sr.isoWeeks = jt, sr.weeksInYear = Ga, sr.weeksInWeekYear = qa, sr.isoWeeksInYear = Ua, sr.isoWeeksInISOWeekYear = Ja, sr.date = Qa, sr.day = sr.days = Zt, sr.weekday = Ut, sr.isoWeekday = Jt, sr.dayOfYear = er, sr.hour = sr.hours = rn, sr.minute = sr.minutes = tr, sr.second = sr.seconds = ar, sr.millisecond = sr.milliseconds = ir, sr.utcOffset = _i, sr.utc = gi, sr.local = yi, sr.parseZone = vi, sr.hasAlignedHourOffset = Mi, sr.isDST = bi, sr.isLocal = Li, sr.isUtcOffset = wi, sr.isUtc = ki, sr.isUTC = ki, sr.zoneAbbr = lr, sr.zoneName = or, sr.dates = Y("dates accessor is deprecated. Use date instead.", Qa), sr.months = Y("months accessor is deprecated. Use month instead", ct), sr.years = Y("years accessor is deprecated. Use year instead", gt), sr.zone = Y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", pi), sr.isDSTShifted = Y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", xi); + var hr = O.prototype; + + function mr(e, t, n, i) { + var a = yn(), r = _().set(i, t); + return a[n](r, e) + } + + function fr(e, t, n) { + if (c(e) && (t = e, e = void 0), e = e || "", null != t) return mr(e, t, n, "month"); + var i, a = []; + for (i = 0; i < 12; i++) a[i] = mr(e, i, n, "month"); + return a + } + + function _r(e, t, n, i) { + "boolean" == typeof e ? (c(t) && (n = t, t = void 0), t = t || "") : (n = t = e, e = !1, c(t) && (n = t, t = void 0), t = t || ""); + var a, r = yn(), l = e ? r._week.dow : 0, o = []; + if (null != n) return mr(t, (n + l) % 7, i, "day"); + for (a = 0; a < 7; a++) o[a] = mr(t, (a + l) % 7, i, "day"); + return o + } + + function pr(e, t) { + return fr(e, t, "months") + } + + function gr(e, t) { + return fr(e, t, "monthsShort") + } + + function yr(e, t, n) { + return _r(e, t, n, "weekdays") + } + + function vr(e, t, n) { + return _r(e, t, n, "weekdaysShort") + } + + function Mr(e, t, n) { + return _r(e, t, n, "weekdaysMin") + } + + hr.calendar = P, hr.longDateFormat = J, hr.invalidDate = q, hr.ordinal = $, hr.preparse = cr, hr.postformat = cr, hr.relativeTime = ee, hr.pastFuture = te, hr.set = E, hr.eras = Ta, hr.erasParse = Sa, hr.erasConvertYear = ja, hr.erasAbbrRegex = Ca, hr.erasNameRegex = Pa, hr.erasNarrowRegex = Fa, hr.months = lt, hr.monthsShort = ot, hr.monthsParse = dt, hr.monthsRegex = ft, hr.monthsShortRegex = mt, hr.week = kt, hr.firstDayOfYear = Tt, hr.firstDayOfWeek = Dt, hr.weekdays = Nt, hr.weekdaysMin = Rt, hr.weekdaysShort = zt, hr.weekdaysParse = Bt, hr.weekdaysRegex = Gt, hr.weekdaysShortRegex = qt, hr.weekdaysMinRegex = Kt, hr.isPM = nn, hr.meridiem = ln, _n("en", { + eras: [{ + since: "0001-01-01", + until: 1 / 0, + offset: 1, + name: "Anno Domini", + narrow: "AD", + abbr: "AD" + }, {since: "0000-12-31", until: -1 / 0, offset: 1, name: "Before Christ", narrow: "BC", abbr: "BC"}], + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (e) { + var t = e % 10; + return e + (1 === ce(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th") + } + }), a.lang = Y("moment.lang is deprecated. Use moment.locale instead.", _n), a.langData = Y("moment.langData is deprecated. Use moment.localeData instead.", yn); + var br = Math.abs; + + function xr() { + var e = this._data; + return this._milliseconds = br(this._milliseconds), this._days = br(this._days), this._months = br(this._months), e.milliseconds = br(e.milliseconds), e.seconds = br(e.seconds), e.minutes = br(e.minutes), e.hours = br(e.hours), e.months = br(e.months), e.years = br(e.years), this + } + + function Lr(e, t, n, i) { + var a = Ti(t, n); + return e._milliseconds += i * a._milliseconds, e._days += i * a._days, e._months += i * a._months, e._bubble() + } + + function wr(e, t) { + return Lr(this, e, t, 1) + } + + function kr(e, t) { + return Lr(this, e, t, -1) + } + + function Yr(e) { + return e < 0 ? Math.floor(e) : Math.ceil(e) + } + + function Dr() { + var e, t, n, i, a, r = this._milliseconds, l = this._days, o = this._months, s = this._data; + return r >= 0 && l >= 0 && o >= 0 || r <= 0 && l <= 0 && o <= 0 || (r += 864e5 * Yr(Sr(o) + l), l = 0, o = 0), s.milliseconds = r % 1e3, e = ue(r / 1e3), s.seconds = e % 60, t = ue(e / 60), s.minutes = t % 60, n = ue(t / 60), s.hours = n % 24, l += ue(n / 24), o += a = ue(Tr(l)), l -= Yr(Sr(a)), i = ue(o / 12), o %= 12, s.days = l, s.months = o, s.years = i, this + } + + function Tr(e) { + return 4800 * e / 146097 + } + + function Sr(e) { + return 146097 * e / 4800 + } + + function jr(e) { + if (!this.isValid()) return NaN; + var t, n, i = this._milliseconds; + if ("month" === (e = ae(e)) || "quarter" === e || "year" === e) switch (t = this._days + i / 864e5, n = this._months + Tr(t), e) { + case"month": + return n; + case"quarter": + return n / 3; + case"year": + return n / 12 + } else switch (t = this._days + Math.round(Sr(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 Er() { + return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * ce(this._months / 12) : NaN + } + + function Hr(e) { + return function () { + return this.as(e) + } + } + + var Or = Hr("ms"), Ar = Hr("s"), Pr = Hr("m"), Cr = Hr("h"), Fr = Hr("d"), Ir = Hr("w"), Wr = Hr("M"), + Nr = Hr("Q"), zr = Hr("y"); + + function Rr() { + return Ti(this) + } + + function Vr(e) { + return e = ae(e), this.isValid() ? this[e + "s"]() : NaN + } + + function Br(e) { + return function () { + return this.isValid() ? this._data[e] : NaN + } + } + + var Zr = Br("milliseconds"), Ur = Br("seconds"), Jr = Br("minutes"), Gr = Br("hours"), qr = Br("days"), + Kr = Br("months"), Xr = Br("years"); + + function $r() { + return ue(this.days() / 7) + } + + var Qr = Math.round, el = {ss: 44, s: 45, m: 45, h: 22, d: 26, w: null, M: 11}; + + function tl(e, t, n, i, a) { + return a.relativeTime(t || 1, !!n, e, i) + } + + function nl(e, t, n, i) { + var a = Ti(e).abs(), r = Qr(a.as("s")), l = Qr(a.as("m")), o = Qr(a.as("h")), s = Qr(a.as("d")), + d = Qr(a.as("M")), u = Qr(a.as("w")), c = Qr(a.as("y")), + h = r <= n.ss && ["s", r] || r < n.s && ["ss", r] || l <= 1 && ["m"] || l < n.m && ["mm", l] || o <= 1 && ["h"] || o < n.h && ["hh", o] || s <= 1 && ["d"] || s < n.d && ["dd", s]; + return null != n.w && (h = h || u <= 1 && ["w"] || u < n.w && ["ww", u]), (h = h || d <= 1 && ["M"] || d < n.M && ["MM", d] || c <= 1 && ["y"] || ["yy", c])[2] = t, h[3] = +e > 0, h[4] = i, tl.apply(null, h) + } + + function il(e) { + return void 0 === e ? Qr : "function" == typeof e && (Qr = e, !0) + } + + function al(e, t) { + return void 0 !== el[e] && (void 0 === t ? el[e] : (el[e] = t, "s" === e && (el.ss = t - 1), !0)) + } + + function rl(e, t) { + if (!this.isValid()) return this.localeData().invalidDate(); + var n, i, a = !1, r = el; + return "object" == typeof e && (t = e, e = !1), "boolean" == typeof e && (a = e), "object" == typeof t && (r = Object.assign({}, el, t), null != t.s && null == t.ss && (r.ss = t.s - 1)), i = nl(this, !a, r, n = this.localeData()), a && (i = n.pastFuture(+this, i)), n.postformat(i) + } + + var ll = Math.abs; + + function ol(e) { + return (e > 0) - (e < 0) || +e + } + + function sl() { + if (!this.isValid()) return this.localeData().invalidDate(); + var e, t, n, i, a, r, l, o, s = ll(this._milliseconds) / 1e3, d = ll(this._days), u = ll(this._months), + c = this.asSeconds(); + return c ? (e = ue(s / 60), t = ue(e / 60), s %= 60, e %= 60, n = ue(u / 12), u %= 12, i = s ? s.toFixed(3).replace(/\.?0+$/, "") : "", a = c < 0 ? "-" : "", r = ol(this._months) !== ol(c) ? "-" : "", l = ol(this._days) !== ol(c) ? "-" : "", o = ol(this._milliseconds) !== ol(c) ? "-" : "", a + "P" + (n ? r + n + "Y" : "") + (u ? r + u + "M" : "") + (d ? l + d + "D" : "") + (t || e || s ? "T" : "") + (t ? o + t + "H" : "") + (e ? o + e + "M" : "") + (s ? o + i + "S" : "")) : "P0D" + } + + var dl = li.prototype; + return dl.isValid = ai, dl.abs = xr, dl.add = wr, dl.subtract = kr, dl.as = jr, dl.asMilliseconds = Or, dl.asSeconds = Ar, dl.asMinutes = Pr, dl.asHours = Cr, dl.asDays = Fr, dl.asWeeks = Ir, dl.asMonths = Wr, dl.asQuarters = Nr, dl.asYears = zr, dl.valueOf = Er, dl._bubble = Dr, dl.clone = Rr, dl.get = Vr, dl.milliseconds = Zr, dl.seconds = Ur, dl.minutes = Jr, dl.hours = Gr, dl.days = qr, dl.weeks = $r, dl.months = Kr, dl.years = Xr, dl.humanize = rl, dl.toISOString = sl, dl.toString = sl, dl.toJSON = sl, dl.locale = la, dl.localeData = sa, dl.toIsoString = Y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", sl), dl.lang = oa, z("X", 0, 0, "unix"), z("x", 0, 0, "valueOf"), Pe("x", je), Pe("X", Oe), Ne("X", (function (e, t, n) { + n._d = new Date(1e3 * parseFloat(e)) + })), Ne("x", (function (e, t, n) { + n._d = new Date(ce(e)) + })), a.version = "2.29.1", r(qn), a.fn = sr, a.min = Qn, a.max = ei, a.now = ti, a.utc = _, a.unix = dr, a.months = pr, a.isDate = h, a.locale = _n, a.invalid = v, a.duration = Ti, a.isMoment = w, a.weekdays = yr, a.parseZone = ur, a.localeData = yn, a.isDuration = oi, a.monthsShort = gr, a.weekdaysMin = Mr, a.defineLocale = pn, a.updateLocale = gn, a.locales = vn, a.weekdaysShort = vr, a.normalizeUnits = ae, a.relativeTimeRounding = il, a.relativeTimeThreshold = al, a.calendarFormat = zi, a.prototype = sr, a.HTML5_FMT = { + DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", + DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", + DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", + DATE: "YYYY-MM-DD", + TIME: "HH:mm", + TIME_SECONDS: "HH:mm:ss", + TIME_MS: "HH:mm:ss.SSS", + WEEK: "GGGG-[W]WW", + MONTH: "YYYY-MM" + }, a + }() + }).call(this, n(254)(e)) +}, function (e, t, n) { + (function (t) { + var n = function (e) { + return e && e.Math == Math && e + }; + e.exports = n("object" == typeof globalThis && globalThis) || n("object" == typeof window && window) || n("object" == typeof self && self) || n("object" == typeof t && t) || function () { + return this + }() || Function("return this")() + }).call(this, n(11)) +}, function (e, t) { + e.exports = function (e) { + try { + return !!e() + } catch (e) { + return !0 + } + } +}, function (e, t, n) { + var i = n(1), a = n(198), r = n(4), l = n(39), o = n(205), s = n(265), d = a("wks"), u = i.Symbol, + c = s ? u : u && u.withoutSetter || l; + e.exports = function (e) { + return r(d, e) || (o && r(u, e) ? d[e] = u[e] : d[e] = c("Symbol." + e)), d[e] + } +}, function (e, t) { + var n = {}.hasOwnProperty; + e.exports = function (e, t) { + return n.call(e, t) + } +}, function (e, t) { + e.exports = function (e) { + return "object" == typeof e ? null !== e : "function" == typeof e + } +}, function (e, t, n) { + var i = n(5); + e.exports = function (e) { + if (!i(e)) throw TypeError(String(e) + " is not an object"); + return e + } +}, function (e, t, n) { + var i = n(9), a = n(10), r = n(34); + e.exports = i ? function (e, t, n) { + return a.f(e, t, r(1, n)) + } : function (e, t, n) { + return e[t] = n, e + } +}, function (e, t, n) { + var i = n(1), a = n(191).f, r = n(7), l = n(13), o = n(35), s = n(257), d = n(201); + e.exports = function (e, t) { + var n, u, c, h, m, f = e.target, _ = e.global, p = e.stat; + if (n = _ ? i : p ? i[f] || o(f, {}) : (i[f] || {}).prototype) for (u in t) { + if (h = t[u], c = e.noTargetGet ? (m = a(n, u)) && m.value : n[u], !d(_ ? u : f + (p ? "." : "#") + u, e.forced) && void 0 !== c) { + if (typeof h == typeof c) continue; + s(h, c) + } + (e.sham || c && c.sham) && r(h, "sham", !0), l(n, u, h, e) + } + } +}, function (e, t, n) { + var i = n(2); + e.exports = !i((function () { + return 7 != Object.defineProperty({}, 1, { + get: function () { + return 7 + } + })[1] + })) +}, function (e, t, n) { + var i = n(9), a = n(194), r = n(6), l = n(193), o = Object.defineProperty; + t.f = i ? o : function (e, t, n) { + if (r(e), t = l(t, !0), r(n), a) try { + return o(e, t, n) + } catch (e) { + } + if ("get" in n || "set" in n) throw TypeError("Accessors not supported"); + return "value" in n && (e[t] = n.value), e + } +}, function (e, t) { + var n; + n = function () { + return this + }(); + try { + n = n || new Function("return this")() + } catch (e) { + "object" == typeof window && (n = window) + } + e.exports = n +}, function (e, t) { + e.exports = function (e) { + if (null == e) throw TypeError("Can't call method on " + e); + return e + } +}, function (e, t, n) { + var i = n(1), a = n(7), r = n(4), l = n(35), o = n(196), s = n(17), d = s.get, u = s.enforce, + c = String(String).split("String"); + (e.exports = function (e, t, n, o) { + var s, d = !!o && !!o.unsafe, h = !!o && !!o.enumerable, m = !!o && !!o.noTargetGet; + "function" == typeof n && ("string" != typeof t || r(n, "name") || a(n, "name", t), (s = u(n)).source || (s.source = c.join("string" == typeof t ? t : ""))), e !== i ? (d ? !m && e[t] && (h = !0) : delete e[t], h ? e[t] = n : a(e, t, n)) : h ? e[t] = n : l(t, n) + })(Function.prototype, "toString", (function () { + return "function" == typeof this && d(this).source || o(this) + })) +}, function (e, t, n) { + var i = n(24), a = Math.min; + e.exports = function (e) { + return e > 0 ? a(i(e), 9007199254740991) : 0 + } +}, function (e, t) { + var n = e.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")(); + "number" == typeof __g && (__g = n) +}, function (e, t) { + var n = {}.toString; + e.exports = function (e) { + return n.call(e).slice(8, -1) + } +}, function (e, t, n) { + var i, a, r, l = n(197), o = n(1), s = n(5), d = n(7), u = n(4), c = n(36), h = n(37), m = n(23), f = o.WeakMap; + if (l) { + var _ = c.state || (c.state = new f), p = _.get, g = _.has, y = _.set; + i = function (e, t) { + return t.facade = e, y.call(_, e, t), t + }, a = function (e) { + return p.call(_, e) || {} + }, r = function (e) { + return g.call(_, e) + } + } else { + var v = h("state"); + m[v] = !0, i = function (e, t) { + return t.facade = e, d(e, v, t), t + }, a = function (e) { + return u(e, v) ? e[v] : {} + }, r = function (e) { + return u(e, v) + } + } + e.exports = { + set: i, get: a, has: r, enforce: function (e) { + return r(e) ? a(e) : i(e, {}) + }, getterFor: function (e) { + return function (t) { + var n; + if (!s(t) || (n = a(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required"); + return n + } + } + } +}, function (e, t, n) { + var i = n(12); + e.exports = function (e) { + return Object(i(e)) + } +}, function (e, t) { + e.exports = {} +}, function (e, t, n) { + "use strict"; + (function (e) { + var n = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator, + i = function () { + for (var e = ["Edge", "Trident", "Firefox"], t = 0; t < e.length; t += 1) if (n && navigator.userAgent.indexOf(e[t]) >= 0) return 1; + return 0 + }(); + var a = n && window.Promise ? function (e) { + var t = !1; + return function () { + t || (t = !0, window.Promise.resolve().then((function () { + t = !1, e() + }))) + } + } : function (e) { + var t = !1; + return function () { + t || (t = !0, setTimeout((function () { + t = !1, e() + }), i)) + } + }; + + function r(e) { + return e && "[object Function]" === {}.toString.call(e) + } + + function l(e, t) { + if (1 !== e.nodeType) return []; + var n = e.ownerDocument.defaultView.getComputedStyle(e, null); + return t ? n[t] : n + } + + function o(e) { + return "HTML" === e.nodeName ? e : e.parentNode || e.host + } + + function s(e) { + if (!e) return document.body; + switch (e.nodeName) { + case"HTML": + case"BODY": + return e.ownerDocument.body; + case"#document": + return e.body + } + var t = l(e), n = t.overflow, i = t.overflowX, a = t.overflowY; + return /(auto|scroll|overlay)/.test(n + a + i) ? e : s(o(e)) + } + + function d(e) { + return e && e.referenceNode ? e.referenceNode : e + } + + var u = n && !(!window.MSInputMethodContext || !document.documentMode), + c = n && /MSIE 10/.test(navigator.userAgent); + + function h(e) { + return 11 === e ? u : 10 === e ? c : u || c + } + + function m(e) { + if (!e) return document.documentElement; + for (var t = h(10) ? document.body : null, n = e.offsetParent || null; n === t && e.nextElementSibling;) n = (e = e.nextElementSibling).offsetParent; + var i = n && n.nodeName; + return i && "BODY" !== i && "HTML" !== i ? -1 !== ["TH", "TD", "TABLE"].indexOf(n.nodeName) && "static" === l(n, "position") ? m(n) : n : e ? e.ownerDocument.documentElement : document.documentElement + } + + function f(e) { + return null !== e.parentNode ? f(e.parentNode) : e + } + + function _(e, t) { + if (!(e && e.nodeType && t && t.nodeType)) return document.documentElement; + var n = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING, i = n ? e : t, a = n ? t : e, + r = document.createRange(); + r.setStart(i, 0), r.setEnd(a, 0); + var l, o, s = r.commonAncestorContainer; + if (e !== s && t !== s || i.contains(a)) return "BODY" === (o = (l = s).nodeName) || "HTML" !== o && m(l.firstElementChild) !== l ? m(s) : s; + var d = f(e); + return d.host ? _(d.host, t) : _(e, f(t).host) + } + + function p(e) { + var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "top", + n = "top" === t ? "scrollTop" : "scrollLeft", i = e.nodeName; + if ("BODY" === i || "HTML" === i) { + var a = e.ownerDocument.documentElement, r = e.ownerDocument.scrollingElement || a; + return r[n] + } + return e[n] + } + + function g(e, t) { + var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], i = p(t, "top"), a = p(t, "left"), + r = n ? -1 : 1; + return e.top += i * r, e.bottom += i * r, e.left += a * r, e.right += a * r, e + } + + function y(e, t) { + var n = "x" === t ? "Left" : "Top", i = "Left" === n ? "Right" : "Bottom"; + return parseFloat(e["border" + n + "Width"]) + parseFloat(e["border" + i + "Width"]) + } + + function v(e, t, n, i) { + return Math.max(t["offset" + e], t["scroll" + e], n["client" + e], n["offset" + e], n["scroll" + e], h(10) ? parseInt(n["offset" + e]) + parseInt(i["margin" + ("Height" === e ? "Top" : "Left")]) + parseInt(i["margin" + ("Height" === e ? "Bottom" : "Right")]) : 0) + } + + function M(e) { + var t = e.body, n = e.documentElement, i = h(10) && getComputedStyle(n); + return {height: v("Height", t, n, i), width: v("Width", t, n, i)} + } + + var b = function (e, t) { + if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") + }, x = function () { + function e(e, t) { + for (var n = 0; n < t.length; n++) { + var i = t[n]; + i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) + } + } + + return function (t, n, i) { + return n && e(t.prototype, n), i && e(t, i), t + } + }(), L = function (e, t, n) { + return t in e ? Object.defineProperty(e, t, { + value: n, + enumerable: !0, + configurable: !0, + writable: !0 + }) : e[t] = n, e + }, w = Object.assign || function (e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t]; + for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]) + } + return e + }; + + function k(e) { + return w({}, e, {right: e.left + e.width, bottom: e.top + e.height}) + } + + function Y(e) { + var t = {}; + try { + if (h(10)) { + t = e.getBoundingClientRect(); + var n = p(e, "top"), i = p(e, "left"); + t.top += n, t.left += i, t.bottom += n, t.right += i + } else t = e.getBoundingClientRect() + } catch (e) { + } + var a = {left: t.left, top: t.top, width: t.right - t.left, height: t.bottom - t.top}, + r = "HTML" === e.nodeName ? M(e.ownerDocument) : {}, o = r.width || e.clientWidth || a.width, + s = r.height || e.clientHeight || a.height, d = e.offsetWidth - o, u = e.offsetHeight - s; + if (d || u) { + var c = l(e); + d -= y(c, "x"), u -= y(c, "y"), a.width -= d, a.height -= u + } + return k(a) + } + + function D(e, t) { + var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], i = h(10), + a = "HTML" === t.nodeName, r = Y(e), o = Y(t), d = s(e), u = l(t), c = parseFloat(u.borderTopWidth), + m = parseFloat(u.borderLeftWidth); + n && a && (o.top = Math.max(o.top, 0), o.left = Math.max(o.left, 0)); + var f = k({top: r.top - o.top - c, left: r.left - o.left - m, width: r.width, height: r.height}); + if (f.marginTop = 0, f.marginLeft = 0, !i && a) { + var _ = parseFloat(u.marginTop), p = parseFloat(u.marginLeft); + f.top -= c - _, f.bottom -= c - _, f.left -= m - p, f.right -= m - p, f.marginTop = _, f.marginLeft = p + } + return (i && !n ? t.contains(d) : t === d && "BODY" !== d.nodeName) && (f = g(f, t)), f + } + + function T(e) { + var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], + n = e.ownerDocument.documentElement, i = D(e, n), a = Math.max(n.clientWidth, window.innerWidth || 0), + r = Math.max(n.clientHeight, window.innerHeight || 0), l = t ? 0 : p(n), o = t ? 0 : p(n, "left"), + s = {top: l - i.top + i.marginTop, left: o - i.left + i.marginLeft, width: a, height: r}; + return k(s) + } + + function S(e) { + var t = e.nodeName; + if ("BODY" === t || "HTML" === t) return !1; + if ("fixed" === l(e, "position")) return !0; + var n = o(e); + return !!n && S(n) + } + + function j(e) { + if (!e || !e.parentElement || h()) return document.documentElement; + for (var t = e.parentElement; t && "none" === l(t, "transform");) t = t.parentElement; + return t || document.documentElement + } + + function E(e, t, n, i) { + var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4], r = {top: 0, left: 0}, + l = a ? j(e) : _(e, d(t)); + if ("viewport" === i) r = T(l, a); else { + var u = void 0; + "scrollParent" === i ? "BODY" === (u = s(o(t))).nodeName && (u = e.ownerDocument.documentElement) : u = "window" === i ? e.ownerDocument.documentElement : i; + var c = D(u, l, a); + if ("HTML" !== u.nodeName || S(l)) r = c; else { + var h = M(e.ownerDocument), m = h.height, f = h.width; + r.top += c.top - c.marginTop, r.bottom = m + c.top, r.left += c.left - c.marginLeft, r.right = f + c.left + } + } + var p = "number" == typeof (n = n || 0); + return r.left += p ? n : n.left || 0, r.top += p ? n : n.top || 0, r.right -= p ? n : n.right || 0, r.bottom -= p ? n : n.bottom || 0, r + } + + function H(e) { + return e.width * e.height + } + + function O(e, t, n, i, a) { + var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0; + if (-1 === e.indexOf("auto")) return e; + var l = E(n, i, r, a), o = { + top: {width: l.width, height: t.top - l.top}, + right: {width: l.right - t.right, height: l.height}, + bottom: {width: l.width, height: l.bottom - t.bottom}, + left: {width: t.left - l.left, height: l.height} + }, s = Object.keys(o).map((function (e) { + return w({key: e}, o[e], {area: H(o[e])}) + })).sort((function (e, t) { + return t.area - e.area + })), d = s.filter((function (e) { + var t = e.width, i = e.height; + return t >= n.clientWidth && i >= n.clientHeight + })), u = d.length > 0 ? d[0].key : s[0].key, c = e.split("-")[1]; + return u + (c ? "-" + c : "") + } + + function A(e, t, n) { + var i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null, a = i ? j(t) : _(t, d(n)); + return D(n, a, i) + } + + function P(e) { + var t = e.ownerDocument.defaultView.getComputedStyle(e), + n = parseFloat(t.marginTop || 0) + parseFloat(t.marginBottom || 0), + i = parseFloat(t.marginLeft || 0) + parseFloat(t.marginRight || 0); + return {width: e.offsetWidth + i, height: e.offsetHeight + n} + } + + function C(e) { + var t = {left: "right", right: "left", bottom: "top", top: "bottom"}; + return e.replace(/left|right|bottom|top/g, (function (e) { + return t[e] + })) + } + + function F(e, t, n) { + n = n.split("-")[0]; + var i = P(e), a = {width: i.width, height: i.height}, r = -1 !== ["right", "left"].indexOf(n), + l = r ? "top" : "left", o = r ? "left" : "top", s = r ? "height" : "width", d = r ? "width" : "height"; + return a[l] = t[l] + t[s] / 2 - i[s] / 2, a[o] = n === o ? t[o] - i[d] : t[C(o)], a + } + + function I(e, t) { + return Array.prototype.find ? e.find(t) : e.filter(t)[0] + } + + function W(e, t, n) { + return (void 0 === n ? e : e.slice(0, function (e, t, n) { + if (Array.prototype.findIndex) return e.findIndex((function (e) { + return e[t] === n + })); + var i = I(e, (function (e) { + return e[t] === n + })); + return e.indexOf(i) + }(e, "name", n))).forEach((function (e) { + e.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); + var n = e.function || e.fn; + e.enabled && r(n) && (t.offsets.popper = k(t.offsets.popper), t.offsets.reference = k(t.offsets.reference), t = n(t, e)) + })), t + } + + function N() { + if (!this.state.isDestroyed) { + var e = {instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: !1, offsets: {}}; + e.offsets.reference = A(this.state, this.popper, this.reference, this.options.positionFixed), e.placement = O(this.options.placement, e.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), e.originalPlacement = e.placement, e.positionFixed = this.options.positionFixed, e.offsets.popper = F(this.popper, e.offsets.reference, e.placement), e.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute", e = W(this.modifiers, e), this.state.isCreated ? this.options.onUpdate(e) : (this.state.isCreated = !0, this.options.onCreate(e)) + } + } + + function z(e, t) { + return e.some((function (e) { + var n = e.name; + return e.enabled && n === t + })) + } + + function R(e) { + for (var t = [!1, "ms", "Webkit", "Moz", "O"], n = e.charAt(0).toUpperCase() + e.slice(1), i = 0; i < t.length; i++) { + var a = t[i], r = a ? "" + a + n : e; + if (void 0 !== document.body.style[r]) return r + } + return null + } + + function V() { + return this.state.isDestroyed = !0, z(this.modifiers, "applyStyle") && (this.popper.removeAttribute("x-placement"), this.popper.style.position = "", this.popper.style.top = "", this.popper.style.left = "", this.popper.style.right = "", this.popper.style.bottom = "", this.popper.style.willChange = "", this.popper.style[R("transform")] = ""), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this + } + + function B(e) { + var t = e.ownerDocument; + return t ? t.defaultView : window + } + + function Z(e, t, n, i) { + var a = "BODY" === e.nodeName, r = a ? e.ownerDocument.defaultView : e; + r.addEventListener(t, n, {passive: !0}), a || Z(s(r.parentNode), t, n, i), i.push(r) + } + + function U(e, t, n, i) { + n.updateBound = i, B(e).addEventListener("resize", n.updateBound, {passive: !0}); + var a = s(e); + return Z(a, "scroll", n.updateBound, n.scrollParents), n.scrollElement = a, n.eventsEnabled = !0, n + } + + function J() { + this.state.eventsEnabled || (this.state = U(this.reference, this.options, this.state, this.scheduleUpdate)) + } + + function G() { + var e, t; + this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = (e = this.reference, t = this.state, B(e).removeEventListener("resize", t.updateBound), t.scrollParents.forEach((function (e) { + e.removeEventListener("scroll", t.updateBound) + })), t.updateBound = null, t.scrollParents = [], t.scrollElement = null, t.eventsEnabled = !1, t)) + } + + function q(e) { + return "" !== e && !isNaN(parseFloat(e)) && isFinite(e) + } + + function K(e, t) { + Object.keys(t).forEach((function (n) { + var i = ""; + -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(n) && q(t[n]) && (i = "px"), e.style[n] = t[n] + i + })) + } + + var X = n && /Firefox/i.test(navigator.userAgent); + + function $(e, t, n) { + var i = I(e, (function (e) { + return e.name === t + })), a = !!i && e.some((function (e) { + return e.name === n && e.enabled && e.order < i.order + })); + if (!a) { + var r = "`" + t + "`", l = "`" + n + "`"; + console.warn(l + " modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!") + } + return a + } + + var Q = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"], + ee = Q.slice(3); + + function te(e) { + var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], n = ee.indexOf(e), + i = ee.slice(n + 1).concat(ee.slice(0, n)); + return t ? i.reverse() : i + } + + var ne = "flip", ie = "clockwise", ae = "counterclockwise"; + + function re(e, t, n, i) { + var a = [0, 0], r = -1 !== ["right", "left"].indexOf(i), l = e.split(/(\+|\-)/).map((function (e) { + return e.trim() + })), o = l.indexOf(I(l, (function (e) { + return -1 !== e.search(/,|\s/) + }))); + l[o] && -1 === l[o].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."); + var s = /\s*,\s*|\s+/, + d = -1 !== o ? [l.slice(0, o).concat([l[o].split(s)[0]]), [l[o].split(s)[1]].concat(l.slice(o + 1))] : [l]; + return (d = d.map((function (e, i) { + var a = (1 === i ? !r : r) ? "height" : "width", l = !1; + return e.reduce((function (e, t) { + return "" === e[e.length - 1] && -1 !== ["+", "-"].indexOf(t) ? (e[e.length - 1] = t, l = !0, e) : l ? (e[e.length - 1] += t, l = !1, e) : e.concat(t) + }), []).map((function (e) { + return function (e, t, n, i) { + var a = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), r = +a[1], l = a[2]; + if (!r) return e; + if (0 === l.indexOf("%")) { + var o = void 0; + switch (l) { + case"%p": + o = n; + break; + case"%": + case"%r": + default: + o = i + } + return k(o)[t] / 100 * r + } + if ("vh" === l || "vw" === l) return ("vh" === l ? Math.max(document.documentElement.clientHeight, window.innerHeight || 0) : Math.max(document.documentElement.clientWidth, window.innerWidth || 0)) / 100 * r; + return r + }(e, a, t, n) + })) + }))).forEach((function (e, t) { + e.forEach((function (n, i) { + q(n) && (a[t] += n * ("-" === e[i - 1] ? -1 : 1)) + })) + })), a + } + + var le = { + placement: "bottom", positionFixed: !1, eventsEnabled: !0, removeOnDestroy: !1, onCreate: function () { + }, onUpdate: function () { + }, modifiers: { + shift: { + order: 100, enabled: !0, fn: function (e) { + var t = e.placement, n = t.split("-")[0], i = t.split("-")[1]; + if (i) { + var a = e.offsets, r = a.reference, l = a.popper, o = -1 !== ["bottom", "top"].indexOf(n), + s = o ? "left" : "top", d = o ? "width" : "height", + u = {start: L({}, s, r[s]), end: L({}, s, r[s] + r[d] - l[d])}; + e.offsets.popper = w({}, l, u[i]) + } + return e + } + }, offset: { + order: 200, enabled: !0, fn: function (e, t) { + var n = t.offset, i = e.placement, a = e.offsets, r = a.popper, l = a.reference, + o = i.split("-")[0], s = void 0; + return s = q(+n) ? [+n, 0] : re(n, r, l, o), "left" === o ? (r.top += s[0], r.left -= s[1]) : "right" === o ? (r.top += s[0], r.left += s[1]) : "top" === o ? (r.left += s[0], r.top -= s[1]) : "bottom" === o && (r.left += s[0], r.top += s[1]), e.popper = r, e + }, offset: 0 + }, preventOverflow: { + order: 300, enabled: !0, fn: function (e, t) { + var n = t.boundariesElement || m(e.instance.popper); + e.instance.reference === n && (n = m(n)); + var i = R("transform"), a = e.instance.popper.style, r = a.top, l = a.left, o = a[i]; + a.top = "", a.left = "", a[i] = ""; + var s = E(e.instance.popper, e.instance.reference, t.padding, n, e.positionFixed); + a.top = r, a.left = l, a[i] = o, t.boundaries = s; + var d = t.priority, u = e.offsets.popper, c = { + primary: function (e) { + var n = u[e]; + return u[e] < s[e] && !t.escapeWithReference && (n = Math.max(u[e], s[e])), L({}, e, n) + }, secondary: function (e) { + var n = "right" === e ? "left" : "top", i = u[n]; + return u[e] > s[e] && !t.escapeWithReference && (i = Math.min(u[n], s[e] - ("right" === e ? u.width : u.height))), L({}, n, i) + } + }; + return d.forEach((function (e) { + var t = -1 !== ["left", "top"].indexOf(e) ? "primary" : "secondary"; + u = w({}, u, c[t](e)) + })), e.offsets.popper = u, e + }, priority: ["left", "right", "top", "bottom"], padding: 5, boundariesElement: "scrollParent" + }, keepTogether: { + order: 400, enabled: !0, fn: function (e) { + var t = e.offsets, n = t.popper, i = t.reference, a = e.placement.split("-")[0], r = Math.floor, + l = -1 !== ["top", "bottom"].indexOf(a), o = l ? "right" : "bottom", s = l ? "left" : "top", + d = l ? "width" : "height"; + return n[o] < r(i[s]) && (e.offsets.popper[s] = r(i[s]) - n[d]), n[s] > r(i[o]) && (e.offsets.popper[s] = r(i[o])), e + } + }, arrow: { + order: 500, enabled: !0, fn: function (e, t) { + var n; + if (!$(e.instance.modifiers, "arrow", "keepTogether")) return e; + var i = t.element; + if ("string" == typeof i) { + if (!(i = e.instance.popper.querySelector(i))) return e + } else if (!e.instance.popper.contains(i)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), e; + var a = e.placement.split("-")[0], r = e.offsets, o = r.popper, s = r.reference, + d = -1 !== ["left", "right"].indexOf(a), u = d ? "height" : "width", c = d ? "Top" : "Left", + h = c.toLowerCase(), m = d ? "left" : "top", f = d ? "bottom" : "right", _ = P(i)[u]; + s[f] - _ < o[h] && (e.offsets.popper[h] -= o[h] - (s[f] - _)), s[h] + _ > o[f] && (e.offsets.popper[h] += s[h] + _ - o[f]), e.offsets.popper = k(e.offsets.popper); + var p = s[h] + s[u] / 2 - _ / 2, g = l(e.instance.popper), y = parseFloat(g["margin" + c]), + v = parseFloat(g["border" + c + "Width"]), M = p - e.offsets.popper[h] - y - v; + return M = Math.max(Math.min(o[u] - _, M), 0), e.arrowElement = i, e.offsets.arrow = (L(n = {}, h, Math.round(M)), L(n, m, ""), n), e + }, element: "[x-arrow]" + }, flip: { + order: 600, + enabled: !0, + fn: function (e, t) { + if (z(e.instance.modifiers, "inner")) return e; + if (e.flipped && e.placement === e.originalPlacement) return e; + var n = E(e.instance.popper, e.instance.reference, t.padding, t.boundariesElement, e.positionFixed), + i = e.placement.split("-")[0], a = C(i), r = e.placement.split("-")[1] || "", l = []; + switch (t.behavior) { + case ne: + l = [i, a]; + break; + case ie: + l = te(i); + break; + case ae: + l = te(i, !0); + break; + default: + l = t.behavior + } + return l.forEach((function (o, s) { + if (i !== o || l.length === s + 1) return e; + i = e.placement.split("-")[0], a = C(i); + var d = e.offsets.popper, u = e.offsets.reference, c = Math.floor, + h = "left" === i && c(d.right) > c(u.left) || "right" === i && c(d.left) < c(u.right) || "top" === i && c(d.bottom) > c(u.top) || "bottom" === i && c(d.top) < c(u.bottom), + m = c(d.left) < c(n.left), f = c(d.right) > c(n.right), _ = c(d.top) < c(n.top), + p = c(d.bottom) > c(n.bottom), + g = "left" === i && m || "right" === i && f || "top" === i && _ || "bottom" === i && p, + y = -1 !== ["top", "bottom"].indexOf(i), + v = !!t.flipVariations && (y && "start" === r && m || y && "end" === r && f || !y && "start" === r && _ || !y && "end" === r && p), + M = !!t.flipVariationsByContent && (y && "start" === r && f || y && "end" === r && m || !y && "start" === r && p || !y && "end" === r && _), + b = v || M; + (h || g || b) && (e.flipped = !0, (h || g) && (i = l[s + 1]), b && (r = function (e) { + return "end" === e ? "start" : "start" === e ? "end" : e + }(r)), e.placement = i + (r ? "-" + r : ""), e.offsets.popper = w({}, e.offsets.popper, F(e.instance.popper, e.offsets.reference, e.placement)), e = W(e.instance.modifiers, e, "flip")) + })), e + }, + behavior: "flip", + padding: 5, + boundariesElement: "viewport", + flipVariations: !1, + flipVariationsByContent: !1 + }, inner: { + order: 700, enabled: !1, fn: function (e) { + var t = e.placement, n = t.split("-")[0], i = e.offsets, a = i.popper, r = i.reference, + l = -1 !== ["left", "right"].indexOf(n), o = -1 === ["top", "left"].indexOf(n); + return a[l ? "left" : "top"] = r[n] - (o ? a[l ? "width" : "height"] : 0), e.placement = C(t), e.offsets.popper = k(a), e + } + }, hide: { + order: 800, enabled: !0, fn: function (e) { + if (!$(e.instance.modifiers, "hide", "preventOverflow")) return e; + var t = e.offsets.reference, n = I(e.instance.modifiers, (function (e) { + return "preventOverflow" === e.name + })).boundaries; + if (t.bottom < n.top || t.left > n.right || t.top > n.bottom || t.right < n.left) { + if (!0 === e.hide) return e; + e.hide = !0, e.attributes["x-out-of-boundaries"] = "" + } else { + if (!1 === e.hide) return e; + e.hide = !1, e.attributes["x-out-of-boundaries"] = !1 + } + return e + } + }, computeStyle: { + order: 850, enabled: !0, fn: function (e, t) { + var n = t.x, i = t.y, a = e.offsets.popper, r = I(e.instance.modifiers, (function (e) { + return "applyStyle" === e.name + })).gpuAcceleration; + void 0 !== r && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"); + var l = void 0 !== r ? r : t.gpuAcceleration, o = m(e.instance.popper), s = Y(o), + d = {position: a.position}, u = function (e, t) { + var n = e.offsets, i = n.popper, a = n.reference, r = Math.round, l = Math.floor, + o = function (e) { + return e + }, s = r(a.width), d = r(i.width), u = -1 !== ["left", "right"].indexOf(e.placement), + c = -1 !== e.placement.indexOf("-"), h = t ? u || c || s % 2 == d % 2 ? r : l : o, + m = t ? r : o; + return { + left: h(s % 2 == 1 && d % 2 == 1 && !c && t ? i.left - 1 : i.left), + top: m(i.top), + bottom: m(i.bottom), + right: h(i.right) + } + }(e, window.devicePixelRatio < 2 || !X), c = "bottom" === n ? "top" : "bottom", + h = "right" === i ? "left" : "right", f = R("transform"), _ = void 0, p = void 0; + if (p = "bottom" === c ? "HTML" === o.nodeName ? -o.clientHeight + u.bottom : -s.height + u.bottom : u.top, _ = "right" === h ? "HTML" === o.nodeName ? -o.clientWidth + u.right : -s.width + u.right : u.left, l && f) d[f] = "translate3d(" + _ + "px, " + p + "px, 0)", d[c] = 0, d[h] = 0, d.willChange = "transform"; else { + var g = "bottom" === c ? -1 : 1, y = "right" === h ? -1 : 1; + d[c] = p * g, d[h] = _ * y, d.willChange = c + ", " + h + } + var v = {"x-placement": e.placement}; + return e.attributes = w({}, v, e.attributes), e.styles = w({}, d, e.styles), e.arrowStyles = w({}, e.offsets.arrow, e.arrowStyles), e + }, gpuAcceleration: !0, x: "bottom", y: "right" + }, applyStyle: { + order: 900, enabled: !0, fn: function (e) { + var t, n; + return K(e.instance.popper, e.styles), t = e.instance.popper, n = e.attributes, Object.keys(n).forEach((function (e) { + !1 !== n[e] ? t.setAttribute(e, n[e]) : t.removeAttribute(e) + })), e.arrowElement && Object.keys(e.arrowStyles).length && K(e.arrowElement, e.arrowStyles), e + }, onLoad: function (e, t, n, i, a) { + var r = A(a, t, e, n.positionFixed), + l = O(n.placement, r, t, e, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding); + return t.setAttribute("x-placement", l), K(t, {position: n.positionFixed ? "fixed" : "absolute"}), n + }, gpuAcceleration: void 0 + } + } + }, oe = function () { + function e(t, n) { + var i = this, l = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; + b(this, e), this.scheduleUpdate = function () { + return requestAnimationFrame(i.update) + }, this.update = a(this.update.bind(this)), this.options = w({}, e.Defaults, l), this.state = { + isDestroyed: !1, + isCreated: !1, + scrollParents: [] + }, this.reference = t && t.jquery ? t[0] : t, this.popper = n && n.jquery ? n[0] : n, this.options.modifiers = {}, Object.keys(w({}, e.Defaults.modifiers, l.modifiers)).forEach((function (t) { + i.options.modifiers[t] = w({}, e.Defaults.modifiers[t] || {}, l.modifiers ? l.modifiers[t] : {}) + })), this.modifiers = Object.keys(this.options.modifiers).map((function (e) { + return w({name: e}, i.options.modifiers[e]) + })).sort((function (e, t) { + return e.order - t.order + })), this.modifiers.forEach((function (e) { + e.enabled && r(e.onLoad) && e.onLoad(i.reference, i.popper, i.options, e, i.state) + })), this.update(); + var o = this.options.eventsEnabled; + o && this.enableEventListeners(), this.state.eventsEnabled = o + } + + return x(e, [{ + key: "update", value: function () { + return N.call(this) + } + }, { + key: "destroy", value: function () { + return V.call(this) + } + }, { + key: "enableEventListeners", value: function () { + return J.call(this) + } + }, { + key: "disableEventListeners", value: function () { + return G.call(this) + } + }]), e + }(); + oe.Utils = ("undefined" != typeof window ? window : e).PopperUtils, oe.placements = Q, oe.Defaults = le, t.a = oe + }).call(this, n(11)) +}, function (e, t, n) { + var i = n(22), a = n(12); + e.exports = function (e) { + return i(a(e)) + } +}, function (e, t, n) { + var i = n(2), a = n(16), r = "".split; + e.exports = i((function () { + return !Object("z").propertyIsEnumerable(0) + })) ? function (e) { + return "String" == a(e) ? r.call(e, "") : Object(e) + } : Object +}, function (e, t) { + e.exports = {} +}, function (e, t) { + var n = Math.ceil, i = Math.floor; + e.exports = function (e) { + return isNaN(e = +e) ? 0 : (e > 0 ? i : n)(e) + } +}, function (e, t) { + var n = !("undefined" == typeof window || !window.document || !window.document.createElement); + e.exports = n +}, function (e, t, n) { + var i = n(27); + e.exports = function (e) { + if (!i(e)) throw TypeError(e + " is not an object!"); + return e + } +}, function (e, t) { + e.exports = function (e) { + return "object" == typeof e ? null !== e : "function" == typeof e + } +}, function (e, t) { + e.exports = function (e) { + if (null == e) throw TypeError("Can't call method on " + e); + return e + } +}, function (e, t) { + var n = Math.ceil, i = Math.floor; + e.exports = function (e) { + return isNaN(e = +e) ? 0 : (e > 0 ? i : n)(e) + } +}, function (e, t) { + var n = e.exports = {version: "2.6.12"}; + "number" == typeof __e && (__e = n) +}, function (e, t, n) { + var i = n(245), a = n(249); + e.exports = n(32) ? function (e, t, n) { + return i.f(e, t, a(1, n)) + } : function (e, t, n) { + return e[t] = n, e + } +}, function (e, t, n) { + e.exports = !n(33)((function () { + return 7 != Object.defineProperty({}, "a", { + get: function () { + return 7 + } + }).a + })) +}, function (e, t) { + e.exports = function (e) { + try { + return !!e() + } catch (e) { + return !0 + } + } +}, function (e, t) { + e.exports = function (e, t) { + return {enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t} + } +}, function (e, t, n) { + var i = n(1), a = n(7); + e.exports = function (e, t) { + try { + a(i, e, t) + } catch (n) { + i[e] = t + } + return t + } +}, function (e, t, n) { + var i = n(1), a = n(35), r = "__core-js_shared__", l = i[r] || a(r, {}); + e.exports = l +}, function (e, t, n) { + var i = n(198), a = n(39), r = i("keys"); + e.exports = function (e) { + return r[e] || (r[e] = a(e)) + } +}, function (e, t) { + e.exports = !1 +}, function (e, t) { + var n = 0, i = Math.random(); + e.exports = function (e) { + return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++n + i).toString(36) + } +}, function (e, t, n) { + var i = n(259), a = n(1), r = function (e) { + return "function" == typeof e ? e : void 0 + }; + e.exports = function (e, t) { + return arguments.length < 2 ? r(i[e]) || r(a[e]) : i[e] && i[e][t] || a[e] && a[e][t] + } +}, function (e, t) { + e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] +}, function (e, t, n) { + var i = n(203), a = n(22), r = n(18), l = n(14), o = n(263), s = [].push, d = function (e) { + var t = 1 == e, n = 2 == e, d = 3 == e, u = 4 == e, c = 6 == e, h = 7 == e, m = 5 == e || c; + return function (f, _, p, g) { + for (var y, v, M = r(f), b = a(M), x = i(_, p, 3), L = l(b.length), w = 0, k = g || o, Y = t ? k(f, L) : n || h ? k(f, 0) : void 0; L > w; w++) if ((m || w in b) && (v = x(y = b[w], w, M), e)) if (t) Y[w] = v; else if (v) switch (e) { + case 3: + return !0; + case 5: + return y; + case 6: + return w; + case 2: + s.call(Y, y) + } else switch (e) { + case 4: + return !1; + case 7: + s.call(Y, y) + } + return c ? -1 : d || u ? u : Y + } + }; + e.exports = { + forEach: d(0), + map: d(1), + filter: d(2), + some: d(3), + every: d(4), + find: d(5), + findIndex: d(6), + filterOut: d(7) + } +}, function (e, t, n) { + var i = n(9), a = n(2), r = n(4), l = Object.defineProperty, o = {}, s = function (e) { + throw e + }; + e.exports = function (e, t) { + if (r(o, e)) return o[e]; + t || (t = {}); + var n = [][e], d = !!r(t, "ACCESSORS") && t.ACCESSORS, u = r(t, 0) ? t[0] : s, c = r(t, 1) ? t[1] : void 0; + return o[e] = !!n && !a((function () { + if (d && !i) return !0; + var e = {length: -1}; + d ? l(e, 1, {enumerable: !0, get: s}) : e[1] = 1, n.call(e, u, c) + })) + } +}, function (e, t, n) { + var i = n(10).f, a = n(4), r = n(3)("toStringTag"); + e.exports = function (e, t, n) { + e && !a(e = n ? e : e.prototype, r) && i(e, r, {configurable: !0, value: t}) + } +}, function (e, t, n) { + var i = {}; + i[n(3)("toStringTag")] = "z", e.exports = "[object z]" === String(i) +}, function (e, t, n) { + var i = n(23), a = n(5), r = n(4), l = n(10).f, o = n(39), s = n(285), d = o("meta"), u = 0, + c = Object.isExtensible || function () { + return !0 + }, h = function (e) { + l(e, d, {value: {objectID: "O" + ++u, weakData: {}}}) + }, m = e.exports = { + REQUIRED: !1, fastKey: function (e, t) { + if (!a(e)) return "symbol" == typeof e ? e : ("string" == typeof e ? "S" : "P") + e; + if (!r(e, d)) { + if (!c(e)) return "F"; + if (!t) return "E"; + h(e) + } + return e[d].objectID + }, getWeakData: function (e, t) { + if (!r(e, d)) { + if (!c(e)) return !0; + if (!t) return !1; + h(e) + } + return e[d].weakData + }, onFreeze: function (e) { + return s && m.REQUIRED && c(e) && !r(e, d) && h(e), e + } + }; + i[d] = !0 +}, function (e, t, n) { + "use strict"; + var i, a, r = n(298), l = n(299), o = RegExp.prototype.exec, s = String.prototype.replace, d = o, + u = (i = /a/, a = /b*/g, o.call(i, "a"), o.call(a, "a"), 0 !== i.lastIndex || 0 !== a.lastIndex), + c = l.UNSUPPORTED_Y || l.BROKEN_CARET, h = void 0 !== /()??/.exec("")[1]; + (u || h || c) && (d = function (e) { + var t, n, i, a, l = this, d = c && l.sticky, m = r.call(l), f = l.source, _ = 0, p = e; + return d && (-1 === (m = m.replace("y", "")).indexOf("g") && (m += "g"), p = String(e).slice(l.lastIndex), l.lastIndex > 0 && (!l.multiline || l.multiline && "\n" !== e[l.lastIndex - 1]) && (f = "(?: " + f + ")", p = " " + p, _++), n = new RegExp("^(?:" + f + ")", m)), h && (n = new RegExp("^" + f + "$(?!\\s)", m)), u && (t = l.lastIndex), i = o.call(d ? n : l, p), d ? i ? (i.input = i.input.slice(_), i[0] = i[0].slice(_), i.index = l.lastIndex, l.lastIndex += i[0].length) : l.lastIndex = 0 : u && i && (l.lastIndex = l.global ? i.index + i[0].length : t), h && i && i.length > 1 && s.call(i[0], n, (function () { + for (a = 1; a < arguments.length - 2; a++) void 0 === arguments[a] && (i[a] = void 0) + })), i + }), e.exports = d +}, function (e, t, n) { + var i; + "undefined" != typeof self && self, i = function () { + return function (e) { + var t = {}; + + function n(i) { + if (t[i]) return t[i].exports; + var a = t[i] = {i: i, l: !1, exports: {}}; + return e[i].call(a.exports, a, a.exports, n), a.l = !0, a.exports + } + + return n.m = e, n.c = t, n.d = function (e, t, i) { + n.o(e, t) || Object.defineProperty(e, t, {configurable: !1, enumerable: !0, get: i}) + }, n.r = function (e) { + Object.defineProperty(e, "__esModule", {value: !0}) + }, n.n = function (e) { + var t = e && e.__esModule ? function () { + return e.default + } : function () { + return e + }; + return n.d(t, "a", t), t + }, n.o = function (e, t) { + return Object.prototype.hasOwnProperty.call(e, t) + }, n.p = "", n(n.s = 0) + }({ + "./dist/icons.json": function (e) { + e.exports = { + activity: '', + airplay: '', + "alert-circle": '', + "alert-octagon": '', + "alert-triangle": '', + "align-center": '', + "align-justify": '', + "align-left": '', + "align-right": '', + anchor: '', + aperture: '', + archive: '', + "arrow-down-circle": '', + "arrow-down-left": '', + "arrow-down-right": '', + "arrow-down": '', + "arrow-left-circle": '', + "arrow-left": '', + "arrow-right-circle": '', + "arrow-right": '', + "arrow-up-circle": '', + "arrow-up-left": '', + "arrow-up-right": '', + "arrow-up": '', + "at-sign": '', + award: '', + "bar-chart-2": '', + "bar-chart": '', + "battery-charging": '', + battery: '', + "bell-off": '', + bell: '', + bluetooth: '', + bold: '', + "book-open": '', + book: '', + bookmark: '', + box: '', + briefcase: '', + calendar: '', + "camera-off": '', + camera: '', + cast: '', + "check-circle": '', + "check-square": '', + check: '', + "chevron-down": '', + "chevron-left": '', + "chevron-right": '', + "chevron-up": '', + "chevrons-down": '', + "chevrons-left": '', + "chevrons-right": '', + "chevrons-up": '', + chrome: '', + circle: '', + clipboard: '', + clock: '', + "cloud-drizzle": '', + "cloud-lightning": '', + "cloud-off": '', + "cloud-rain": '', + "cloud-snow": '', + cloud: '', + code: '', + codepen: '', + codesandbox: '', + coffee: '', + columns: '', + command: '', + compass: '', + copy: '', + "corner-down-left": '', + "corner-down-right": '', + "corner-left-down": '', + "corner-left-up": '', + "corner-right-down": '', + "corner-right-up": '', + "corner-up-left": '', + "corner-up-right": '', + cpu: '', + "credit-card": '', + crop: '', + crosshair: '', + database: '', + delete: '', + disc: '', + "divide-circle": '', + "divide-square": '', + divide: '', + "dollar-sign": '', + "download-cloud": '', + download: '', + dribbble: '', + droplet: '', + "edit-2": '', + "edit-3": '', + edit: '', + "external-link": '', + "eye-off": '', + eye: '', + facebook: '', + "fast-forward": '', + feather: '', + figma: '', + "file-minus": '', + "file-plus": '', + "file-text": '', + file: '', + film: '', + filter: '', + flag: '', + "folder-minus": '', + "folder-plus": '', + folder: '', + framer: '', + frown: '', + gift: '', + "git-branch": '', + "git-commit": '', + "git-merge": '', + "git-pull-request": '', + github: '', + gitlab: '', + globe: '', + grid: '', + "hard-drive": '', + hash: '', + headphones: '', + heart: '', + "help-circle": '', + hexagon: '', + home: '', + image: '', + inbox: '', + info: '', + instagram: '', + italic: '', + key: '', + layers: '', + layout: '', + "life-buoy": '', + "link-2": '', + link: '', + linkedin: '', + list: '', + loader: '', + lock: '', + "log-in": '', + "log-out": '', + mail: '', + "map-pin": '', + map: '', + "maximize-2": '', + maximize: '', + meh: '', + menu: '', + "message-circle": '', + "message-square": '', + "mic-off": '', + mic: '', + "minimize-2": '', + minimize: '', + "minus-circle": '', + "minus-square": '', + minus: '', + monitor: '', + moon: '', + "more-horizontal": '', + "more-vertical": '', + "mouse-pointer": '', + move: '', + music: '', + "navigation-2": '', + navigation: '', + octagon: '', + package: '', + paperclip: '', + "pause-circle": '', + pause: '', + "pen-tool": '', + percent: '', + "phone-call": '', + "phone-forwarded": '', + "phone-incoming": '', + "phone-missed": '', + "phone-off": '', + "phone-outgoing": '', + phone: '', + "pie-chart": '', + "play-circle": '', + play: '', + "plus-circle": '', + "plus-square": '', + plus: '', + pocket: '', + power: '', + printer: '', + radio: '', + "refresh-ccw": '', + "refresh-cw": '', + repeat: '', + rewind: '', + "rotate-ccw": '', + "rotate-cw": '', + rss: '', + save: '', + scissors: '', + search: '', + send: '', + server: '', + settings: '', + "share-2": '', + share: '', + "shield-off": '', + shield: '', + "shopping-bag": '', + "shopping-cart": '', + shuffle: '', + sidebar: '', + "skip-back": '', + "skip-forward": '', + slack: '', + slash: '', + sliders: '', + smartphone: '', + smile: '', + speaker: '', + square: '', + star: '', + "stop-circle": '', + sun: '', + sunrise: '', + sunset: '', + tablet: '', + tag: '', + target: '', + terminal: '', + thermometer: '', + "thumbs-down": '', + "thumbs-up": '', + "toggle-left": '', + "toggle-right": '', + tool: '', + "trash-2": '', + trash: '', + trello: '', + "trending-down": '', + "trending-up": '', + triangle: '', + truck: '', + tv: '', + twitch: '', + twitter: '', + type: '', + umbrella: '', + underline: '', + unlock: '', + "upload-cloud": '', + upload: '', + "user-check": '', + "user-minus": '', + "user-plus": '', + "user-x": '', + user: '', + users: '', + "video-off": '', + video: '', + voicemail: '', + "volume-1": '', + "volume-2": '', + "volume-x": '', + volume: '', + watch: '', + "wifi-off": '', + wifi: '', + wind: '', + "x-circle": '', + "x-octagon": '', + "x-square": '', + x: '', + youtube: '', + "zap-off": '', + zap: '', + "zoom-in": '', + "zoom-out": '' + } + }, "./node_modules/classnames/dedupe.js": function (e, t, n) { + var i; + !function () { + "use strict"; + var n = function () { + function e() { + } + + function t(e, t) { + for (var n = t.length, i = 0; i < n; ++i) a(e, t[i]) + } + + e.prototype = Object.create(null); + var n = {}.hasOwnProperty, i = /\s+/; + + function a(e, a) { + if (a) { + var r = typeof a; + "string" === r ? function (e, t) { + for (var n = t.split(i), a = n.length, r = 0; r < a; ++r) e[n[r]] = !0 + }(e, a) : Array.isArray(a) ? t(e, a) : "object" === r ? function (e, t) { + for (var i in t) n.call(t, i) && (e[i] = !!t[i]) + }(e, a) : "number" === r && function (e, t) { + e[t] = !0 + }(e, a) + } + } + + return function () { + for (var n = arguments.length, i = Array(n), a = 0; a < n; a++) i[a] = arguments[a]; + var r = new e; + t(r, i); + var l = []; + for (var o in r) r[o] && l.push(o); + return l.join(" ") + } + }(); + void 0 !== e && e.exports ? e.exports = n : void 0 === (i = function () { + return n + }.apply(t, [])) || (e.exports = i) + }() + }, "./node_modules/core-js/es/array/from.js": function (e, t, n) { + n("./node_modules/core-js/modules/es.string.iterator.js"), n("./node_modules/core-js/modules/es.array.from.js"); + var i = n("./node_modules/core-js/internals/path.js"); + e.exports = i.Array.from + }, "./node_modules/core-js/internals/a-function.js": function (e, t) { + e.exports = function (e) { + if ("function" != typeof e) throw TypeError(String(e) + " is not a function"); + return e + } + }, "./node_modules/core-js/internals/an-object.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/is-object.js"); + e.exports = function (e) { + if (!i(e)) throw TypeError(String(e) + " is not an object"); + return e + } + }, "./node_modules/core-js/internals/array-from.js": function (e, t, n) { + "use strict"; + var i = n("./node_modules/core-js/internals/bind-context.js"), + a = n("./node_modules/core-js/internals/to-object.js"), + r = n("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"), + l = n("./node_modules/core-js/internals/is-array-iterator-method.js"), + o = n("./node_modules/core-js/internals/to-length.js"), + s = n("./node_modules/core-js/internals/create-property.js"), + d = n("./node_modules/core-js/internals/get-iterator-method.js"); + e.exports = function (e) { + var t, n, u, c, h = a(e), m = "function" == typeof this ? this : Array, f = arguments.length, + _ = f > 1 ? arguments[1] : void 0, p = void 0 !== _, g = 0, y = d(h); + if (p && (_ = i(_, f > 2 ? arguments[2] : void 0, 2)), null == y || m == Array && l(y)) for (n = new m(t = o(h.length)); t > g; g++) s(n, g, p ? _(h[g], g) : h[g]); else for (c = y.call(h), n = new m; !(u = c.next()).done; g++) s(n, g, p ? r(c, _, [u.value, g], !0) : u.value); + return n.length = g, n + } + }, "./node_modules/core-js/internals/array-includes.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/to-indexed-object.js"), + a = n("./node_modules/core-js/internals/to-length.js"), + r = n("./node_modules/core-js/internals/to-absolute-index.js"); + e.exports = function (e) { + return function (t, n, l) { + var o, s = i(t), d = a(s.length), u = r(l, d); + if (e && n != n) { + for (; d > u;) if ((o = s[u++]) != o) return !0 + } else for (; d > u; u++) if ((e || u in s) && s[u] === n) return e || u || 0; + return !e && -1 + } + } + }, "./node_modules/core-js/internals/bind-context.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/a-function.js"); + e.exports = function (e, t, n) { + if (i(e), void 0 === t) return e; + switch (n) { + case 0: + return function () { + return e.call(t) + }; + case 1: + return function (n) { + return e.call(t, n) + }; + case 2: + return function (n, i) { + return e.call(t, n, i) + }; + case 3: + return function (n, i, a) { + return e.call(t, n, i, a) + } + } + return function () { + return e.apply(t, arguments) + } + } + }, "./node_modules/core-js/internals/call-with-safe-iteration-closing.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/an-object.js"); + e.exports = function (e, t, n, a) { + try { + return a ? t(i(n)[0], n[1]) : t(n) + } catch (t) { + var r = e.return; + throw void 0 !== r && i(r.call(e)), t + } + } + }, "./node_modules/core-js/internals/check-correctness-of-iteration.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"), a = !1; + try { + var r = 0, l = { + next: function () { + return {done: !!r++} + }, return: function () { + a = !0 + } + }; + l[i] = function () { + return this + }, Array.from(l, (function () { + throw 2 + })) + } catch (e) { + } + e.exports = function (e, t) { + if (!t && !a) return !1; + var n = !1; + try { + var r = {}; + r[i] = function () { + return { + next: function () { + return {done: n = !0} + } + } + }, e(r) + } catch (e) { + } + return n + } + }, "./node_modules/core-js/internals/classof-raw.js": function (e, t) { + var n = {}.toString; + e.exports = function (e) { + return n.call(e).slice(8, -1) + } + }, "./node_modules/core-js/internals/classof.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/classof-raw.js"), + a = n("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"), + r = "Arguments" == i(function () { + return arguments + }()); + e.exports = function (e) { + var t, n, l; + return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (n = function (e, t) { + try { + return e[t] + } catch (e) { + } + }(t = Object(e), a)) ? n : r ? i(t) : "Object" == (l = i(t)) && "function" == typeof t.callee ? "Arguments" : l + } + }, "./node_modules/core-js/internals/copy-constructor-properties.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/has.js"), + a = n("./node_modules/core-js/internals/own-keys.js"), + r = n("./node_modules/core-js/internals/object-get-own-property-descriptor.js"), + l = n("./node_modules/core-js/internals/object-define-property.js"); + e.exports = function (e, t) { + for (var n = a(t), o = l.f, s = r.f, d = 0; d < n.length; d++) { + var u = n[d]; + i(e, u) || o(e, u, s(t, u)) + } + } + }, "./node_modules/core-js/internals/correct-prototype-getter.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/fails.js"); + e.exports = !i((function () { + function e() { + } + + return e.prototype.constructor = null, Object.getPrototypeOf(new e) !== e.prototype + })) + }, "./node_modules/core-js/internals/create-iterator-constructor.js": function (e, t, n) { + "use strict"; + var i = n("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype, + a = n("./node_modules/core-js/internals/object-create.js"), + r = n("./node_modules/core-js/internals/create-property-descriptor.js"), + l = n("./node_modules/core-js/internals/set-to-string-tag.js"), + o = n("./node_modules/core-js/internals/iterators.js"), s = function () { + return this + }; + e.exports = function (e, t, n) { + var d = t + " Iterator"; + return e.prototype = a(i, {next: r(1, n)}), l(e, d, !1, !0), o[d] = s, e + } + }, "./node_modules/core-js/internals/create-property-descriptor.js": function (e, t) { + e.exports = function (e, t) { + return {enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t} + } + }, "./node_modules/core-js/internals/create-property.js": function (e, t, n) { + "use strict"; + var i = n("./node_modules/core-js/internals/to-primitive.js"), + a = n("./node_modules/core-js/internals/object-define-property.js"), + r = n("./node_modules/core-js/internals/create-property-descriptor.js"); + e.exports = function (e, t, n) { + var l = i(t); + l in e ? a.f(e, l, r(0, n)) : e[l] = n + } + }, "./node_modules/core-js/internals/define-iterator.js": function (e, t, n) { + "use strict"; + var i = n("./node_modules/core-js/internals/export.js"), + a = n("./node_modules/core-js/internals/create-iterator-constructor.js"), + r = n("./node_modules/core-js/internals/object-get-prototype-of.js"), + l = n("./node_modules/core-js/internals/object-set-prototype-of.js"), + o = n("./node_modules/core-js/internals/set-to-string-tag.js"), + s = n("./node_modules/core-js/internals/hide.js"), + d = n("./node_modules/core-js/internals/redefine.js"), + u = n("./node_modules/core-js/internals/well-known-symbol.js"), + c = n("./node_modules/core-js/internals/is-pure.js"), + h = n("./node_modules/core-js/internals/iterators.js"), + m = n("./node_modules/core-js/internals/iterators-core.js"), f = m.IteratorPrototype, + _ = m.BUGGY_SAFARI_ITERATORS, p = u("iterator"), g = "keys", y = "values", v = "entries", + M = function () { + return this + }; + e.exports = function (e, t, n, u, m, b, x) { + a(n, t, u); + var L, w, k, Y = function (e) { + if (e === m && E) return E; + if (!_ && e in S) return S[e]; + switch (e) { + case g: + case y: + case v: + return function () { + return new n(this, e) + } + } + return function () { + return new n(this) + } + }, D = t + " Iterator", T = !1, S = e.prototype, j = S[p] || S["@@iterator"] || m && S[m], + E = !_ && j || Y(m), H = "Array" == t && S.entries || j; + if (H && (L = r(H.call(new e)), f !== Object.prototype && L.next && (c || r(L) === f || (l ? l(L, f) : "function" != typeof L[p] && s(L, p, M)), o(L, D, !0, !0), c && (h[D] = M))), m == y && j && j.name !== y && (T = !0, E = function () { + return j.call(this) + }), c && !x || S[p] === E || s(S, p, E), h[t] = E, m) if (w = { + values: Y(y), + keys: b ? E : Y(g), + entries: Y(v) + }, x) for (k in w) (_ || T || !(k in S)) && d(S, k, w[k]); else i({ + target: t, + proto: !0, + forced: _ || T + }, w); + return w + } + }, "./node_modules/core-js/internals/descriptors.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/fails.js"); + e.exports = !i((function () { + return 7 != Object.defineProperty({}, "a", { + get: function () { + return 7 + } + }).a + })) + }, "./node_modules/core-js/internals/document-create-element.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/global.js"), + a = n("./node_modules/core-js/internals/is-object.js"), r = i.document, + l = a(r) && a(r.createElement); + e.exports = function (e) { + return l ? r.createElement(e) : {} + } + }, "./node_modules/core-js/internals/enum-bug-keys.js": function (e, t) { + e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] + }, "./node_modules/core-js/internals/export.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/global.js"), + a = n("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f, + r = n("./node_modules/core-js/internals/hide.js"), + l = n("./node_modules/core-js/internals/redefine.js"), + o = n("./node_modules/core-js/internals/set-global.js"), + s = n("./node_modules/core-js/internals/copy-constructor-properties.js"), + d = n("./node_modules/core-js/internals/is-forced.js"); + e.exports = function (e, t) { + var n, u, c, h, m, f = e.target, _ = e.global, p = e.stat; + if (n = _ ? i : p ? i[f] || o(f, {}) : (i[f] || {}).prototype) for (u in t) { + if (h = t[u], c = e.noTargetGet ? (m = a(n, u)) && m.value : n[u], !d(_ ? u : f + (p ? "." : "#") + u, e.forced) && void 0 !== c) { + if (typeof h == typeof c) continue; + s(h, c) + } + (e.sham || c && c.sham) && r(h, "sham", !0), l(n, u, h, e) + } + } + }, "./node_modules/core-js/internals/fails.js": function (e, t) { + e.exports = function (e) { + try { + return !!e() + } catch (e) { + return !0 + } + } + }, "./node_modules/core-js/internals/function-to-string.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/shared.js"); + e.exports = i("native-function-to-string", Function.toString) + }, "./node_modules/core-js/internals/get-iterator-method.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/classof.js"), + a = n("./node_modules/core-js/internals/iterators.js"), + r = n("./node_modules/core-js/internals/well-known-symbol.js")("iterator"); + e.exports = function (e) { + if (null != e) return e[r] || e["@@iterator"] || a[i(e)] + } + }, "./node_modules/core-js/internals/global.js": function (e, t, n) { + (function (t) { + var n = "object", i = function (e) { + return e && e.Math == Math && e + }; + e.exports = i(typeof globalThis == n && globalThis) || i(typeof window == n && window) || i(typeof self == n && self) || i(typeof t == n && t) || Function("return this")() + }).call(this, n("./node_modules/webpack/buildin/global.js")) + }, "./node_modules/core-js/internals/has.js": function (e, t) { + var n = {}.hasOwnProperty; + e.exports = function (e, t) { + return n.call(e, t) + } + }, "./node_modules/core-js/internals/hidden-keys.js": function (e, t) { + e.exports = {} + }, "./node_modules/core-js/internals/hide.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/descriptors.js"), + a = n("./node_modules/core-js/internals/object-define-property.js"), + r = n("./node_modules/core-js/internals/create-property-descriptor.js"); + e.exports = i ? function (e, t, n) { + return a.f(e, t, r(1, n)) + } : function (e, t, n) { + return e[t] = n, e + } + }, "./node_modules/core-js/internals/html.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/global.js").document; + e.exports = i && i.documentElement + }, "./node_modules/core-js/internals/ie8-dom-define.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/descriptors.js"), + a = n("./node_modules/core-js/internals/fails.js"), + r = n("./node_modules/core-js/internals/document-create-element.js"); + e.exports = !i && !a((function () { + return 7 != Object.defineProperty(r("div"), "a", { + get: function () { + return 7 + } + }).a + })) + }, "./node_modules/core-js/internals/indexed-object.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/fails.js"), + a = n("./node_modules/core-js/internals/classof-raw.js"), r = "".split; + e.exports = i((function () { + return !Object("z").propertyIsEnumerable(0) + })) ? function (e) { + return "String" == a(e) ? r.call(e, "") : Object(e) + } : Object + }, "./node_modules/core-js/internals/internal-state.js": function (e, t, n) { + var i, a, r, l = n("./node_modules/core-js/internals/native-weak-map.js"), + o = n("./node_modules/core-js/internals/global.js"), + s = n("./node_modules/core-js/internals/is-object.js"), + d = n("./node_modules/core-js/internals/hide.js"), u = n("./node_modules/core-js/internals/has.js"), + c = n("./node_modules/core-js/internals/shared-key.js"), + h = n("./node_modules/core-js/internals/hidden-keys.js"), m = o.WeakMap; + if (l) { + var f = new m, _ = f.get, p = f.has, g = f.set; + i = function (e, t) { + return g.call(f, e, t), t + }, a = function (e) { + return _.call(f, e) || {} + }, r = function (e) { + return p.call(f, e) + } + } else { + var y = c("state"); + h[y] = !0, i = function (e, t) { + return d(e, y, t), t + }, a = function (e) { + return u(e, y) ? e[y] : {} + }, r = function (e) { + return u(e, y) + } + } + e.exports = { + set: i, get: a, has: r, enforce: function (e) { + return r(e) ? a(e) : i(e, {}) + }, getterFor: function (e) { + return function (t) { + var n; + if (!s(t) || (n = a(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required"); + return n + } + } + } + }, "./node_modules/core-js/internals/is-array-iterator-method.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/well-known-symbol.js"), + a = n("./node_modules/core-js/internals/iterators.js"), r = i("iterator"), l = Array.prototype; + e.exports = function (e) { + return void 0 !== e && (a.Array === e || l[r] === e) + } + }, "./node_modules/core-js/internals/is-forced.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/fails.js"), a = /#|\.prototype\./, r = function (e, t) { + var n = o[l(e)]; + return n == d || n != s && ("function" == typeof t ? i(t) : !!t) + }, l = r.normalize = function (e) { + return String(e).replace(a, ".").toLowerCase() + }, o = r.data = {}, s = r.NATIVE = "N", d = r.POLYFILL = "P"; + e.exports = r + }, "./node_modules/core-js/internals/is-object.js": function (e, t) { + e.exports = function (e) { + return "object" == typeof e ? null !== e : "function" == typeof e + } + }, "./node_modules/core-js/internals/is-pure.js": function (e, t) { + e.exports = !1 + }, "./node_modules/core-js/internals/iterators-core.js": function (e, t, n) { + "use strict"; + var i, a, r, l = n("./node_modules/core-js/internals/object-get-prototype-of.js"), + o = n("./node_modules/core-js/internals/hide.js"), s = n("./node_modules/core-js/internals/has.js"), + d = n("./node_modules/core-js/internals/well-known-symbol.js"), + u = n("./node_modules/core-js/internals/is-pure.js"), c = d("iterator"), h = !1; + [].keys && ("next" in (r = [].keys()) ? (a = l(l(r))) !== Object.prototype && (i = a) : h = !0), null == i && (i = {}), u || s(i, c) || o(i, c, (function () { + return this + })), e.exports = {IteratorPrototype: i, BUGGY_SAFARI_ITERATORS: h} + }, "./node_modules/core-js/internals/iterators.js": function (e, t) { + e.exports = {} + }, "./node_modules/core-js/internals/native-symbol.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/fails.js"); + e.exports = !!Object.getOwnPropertySymbols && !i((function () { + return !String(Symbol()) + })) + }, "./node_modules/core-js/internals/native-weak-map.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/global.js"), + a = n("./node_modules/core-js/internals/function-to-string.js"), r = i.WeakMap; + e.exports = "function" == typeof r && /native code/.test(a.call(r)) + }, "./node_modules/core-js/internals/object-create.js": function (e, t, n) { + var i = n("./node_modules/core-js/internals/an-object.js"), + a = n("./node_modules/core-js/internals/object-define-properties.js"), + r = n("./node_modules/core-js/internals/enum-bug-keys.js"), + l = n("./node_modules/core-js/internals/hidden-keys.js"), + o = n("./node_modules/core-js/internals/html.js"), + s = n("./node_modules/core-js/internals/document-create-element.js"), + d = n("./node_modules/core-js/internals/shared-key.js")("IE_PROTO"), u = function () { + }, c = function () { + var e, t = s("iframe"), n = r.length; + for (t.style.display = "none", o.appendChild(t), t.src = String("javascript:"), (e = t.contentWindow.document).open(), e.write(" diff --git a/frontend/src/components/CombinedFileField.vue b/frontend/src/components/CombinedFileField.vue index da5e689..d22dfad 100644 --- a/frontend/src/components/CombinedFileField.vue +++ b/frontend/src/components/CombinedFileField.vue @@ -8,18 +8,25 @@ -
- Files -
- - - -
-
+ Files +
+ + + +
+
+ + + +
@@ -38,7 +45,9 @@ import {mapActions, mapState} from "vuex"; export default { name: "CombinedFileField", data() { - return {} + return { + show_camera: false + } }, components: { ...BIcons @@ -55,15 +64,6 @@ export default { }, computed: { ...mapState(["files"]), - /*localValue: { - get() { - return this.value; - }, - set(value) { - this.$emit("input", value); - console.log("set", value); - } - }*/ }, methods: { ...mapActions(["fetchFiles", "pushFile"]), @@ -84,20 +84,9 @@ export default { }); const data = new Uint8Array(buffer); const hash = nacl.crypto_hash(data); - //const hex_hash = Array.from(hash) - // .map(b => b.toString(16).padStart(2, "0")) - // .join(""); - //console.log("name", file.name); - //console.log("size", file.size); - //console.log("type", file.type); - //console.log("hash", hex_hash); var base64 = btoa( data.reduce((a, b) => a + String.fromCharCode(b), '') ); - //console.log("base64", base64.length); - //console.log("base64", base64); - //console.log("base64", typeof base64); - //formData.append("files[]", files[i]); await this.pushFile({ file: { mime_type: file.type, @@ -108,10 +97,51 @@ export default { await this.fetchFiles(); } //console.log("formData", formData); - } + }, + async uploadPhoto() { + //const formData = new FormData(); + const files = document.getElementById("photos").files; + for (let i = 0; i < files.length; i++) { + var reader = new FileReader(); + const file = files[i]; + const buffer = await new Promise((resolve, reject) => { + reader.onload = (e) => { + resolve(e.target.result); + }; + reader.onerror = (e) => { + reject(e); + }; + reader.readAsArrayBuffer(file) + }); + const data = new Uint8Array(buffer); + const hash = nacl.crypto_hash(data); + var base64 = btoa( + data.reduce((a, b) => a + String.fromCharCode(b), '') + ); + await this.pushFile({ + file: { + mime_type: file.type, + data: base64, + }, + item_id: 1 + }); + await this.fetchFiles(); + } + //console.log("formData", formData); + }, }, mounted() { this.fetchFiles(); + //detect media api + if ('capture' in document.createElement('input')) { + console.log('capture supported.'); + this.show_camera = true; + } + + if (navigator.getUserMedia) { + console.log('getUserMedia supported.'); + this.show_camera = true; + } } } \ No newline at end of file diff --git a/frontend/src/components/Messages.vue b/frontend/src/components/Messages.vue index dd34050..5ff485c 100644 --- a/frontend/src/components/Messages.vue +++ b/frontend/src/components/Messages.vue @@ -1,11 +1,11 @@