From f33d937e104e6fb3f86d612f587cff46936b4c36 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 11 Jul 2022 11:59:10 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9E=96=20Deleted:=20src/web/js/moment-with-l?= =?UTF-8?q?ocales-2.29.1.min.js=20=E2=9E=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/js/moment-with-locales-2.29.1.min.js | 3572 ------------------ 1 file changed, 3572 deletions(-) delete mode 100755 src/web/js/moment-with-locales-2.29.1.min.js diff --git a/src/web/js/moment-with-locales-2.29.1.min.js b/src/web/js/moment-with-locales-2.29.1.min.js deleted file mode 100755 index 1eb839b..0000000 --- a/src/web/js/moment-with-locales-2.29.1.min.js +++ /dev/null @@ -1,3572 +0,0 @@ -!(function (e, t) { - 'object' == typeof exports && 'undefined' != typeof module - ? (module.exports = t()) - : 'function' == typeof define && define.amd - ? define(t) - : (e.moment = t()); -})(this, function () { - 'use strict'; - var e, i; - function p() { - return e.apply(null, arguments); - } - function d(e) { - return ( - e instanceof Array || - '[object Array]' === Object.prototype.toString.call(e) - ); - } - function h(e) { - return null != e && '[object Object]' === Object.prototype.toString.call(e); - } - function Y(e, t) { - return Object.prototype.hasOwnProperty.call(e, t); - } - function c(e) { - if (Object.getOwnPropertyNames) - return 0 === Object.getOwnPropertyNames(e).length; - for (var t in e) if (Y(e, t)) return; - return 1; - } - function f(e) { - return void 0 === e; - } - function m(e) { - return ( - 'number' == typeof e || - '[object Number]' === Object.prototype.toString.call(e) - ); - } - function _(e) { - return ( - e instanceof Date || '[object Date]' === Object.prototype.toString.call(e) - ); - } - function y(e, t) { - for (var n = [], s = 0; s < e.length; ++s) n.push(t(e[s], s)); - return n; - } - function g(e, t) { - for (var n in t) Y(t, n) && (e[n] = t[n]); - return ( - Y(t, 'toString') && (e.toString = t.toString), - Y(t, 'valueOf') && (e.valueOf = t.valueOf), - e - ); - } - function w(e, t, n, s) { - return St(e, t, n, s, !0).utc(); - } - function v(e) { - return ( - null == e._pf && - (e._pf = { - empty: !1, - unusedTokens: [], - unusedInput: [], - overflow: -2, - charsLeftOver: 0, - nullInput: !1, - invalidEra: null, - invalidMonth: null, - invalidFormat: !1, - userInvalidated: !1, - iso: !1, - parsedDateParts: [], - era: null, - meridiem: null, - rfc2822: !1, - weekdayMismatch: !1, - }), - e._pf - ); - } - function M(e) { - if (null == e._isValid) { - var t = v(e), - n = i.call(t.parsedDateParts, function (e) { - return null != e; - }), - s = - !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 && - (s = - s && - 0 === t.charsLeftOver && - 0 === t.unusedTokens.length && - void 0 === t.bigHour), - null != Object.isFrozen && Object.isFrozen(e)) - ) - return s; - e._isValid = s; - } - return e._isValid; - } - function D(e) { - var t = w(NaN); - return null != e ? g(v(t), e) : (v(t).userInvalidated = !0), t; - } - i = Array.prototype.some - ? Array.prototype.some - : function (e) { - for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++) - if (s in t && e.call(this, t[s], s, t)) return !0; - return !1; - }; - var r = (p.momentProperties = []), - t = !1; - function k(e, t) { - var n, s, i; - if ( - (f(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), - f(t._i) || (e._i = t._i), - f(t._f) || (e._f = t._f), - f(t._l) || (e._l = t._l), - f(t._strict) || (e._strict = t._strict), - f(t._tzm) || (e._tzm = t._tzm), - f(t._isUTC) || (e._isUTC = t._isUTC), - f(t._offset) || (e._offset = t._offset), - f(t._pf) || (e._pf = v(t)), - f(t._locale) || (e._locale = t._locale), - 0 < r.length) - ) - for (n = 0; n < r.length; n++) f((i = t[(s = r[n])])) || (e[s] = i); - return e; - } - function S(e) { - k(this, e), - (this._d = new Date(null != e._d ? e._d.getTime() : NaN)), - this.isValid() || (this._d = new Date(NaN)), - !1 === t && ((t = !0), p.updateOffset(this), (t = !1)); - } - function O(e) { - return e instanceof S || (null != e && null != e._isAMomentObject); - } - function o(e) { - !1 === p.suppressDeprecationWarnings && - 'undefined' != typeof console && - console.warn && - console.warn('Deprecation warning: ' + e); - } - function n(i, r) { - var a = !0; - return g(function () { - if ((null != p.deprecationHandler && p.deprecationHandler(null, i), a)) { - for (var e, t, n = [], s = 0; s < arguments.length; s++) { - if (((e = ''), 'object' == typeof arguments[s])) { - for (t in ((e += '\n[' + s + '] '), arguments[0])) - Y(arguments[0], t) && (e += t + ': ' + arguments[0][t] + ', '); - e = e.slice(0, -2); - } else e = arguments[s]; - n.push(e); - } - o( - i + - '\nArguments: ' + - Array.prototype.slice.call(n).join('') + - '\n' + - new Error().stack - ), - (a = !1); - } - return r.apply(this, arguments); - }, r); - } - var s, - a = {}; - function u(e, t) { - null != p.deprecationHandler && p.deprecationHandler(e, t), - a[e] || (o(t), (a[e] = !0)); - } - function b(e) { - return ( - ('undefined' != typeof Function && e instanceof Function) || - '[object Function]' === Object.prototype.toString.call(e) - ); - } - function l(e, t) { - var n, - s = g({}, e); - for (n in t) - Y(t, n) && - (h(e[n]) && h(t[n]) - ? ((s[n] = {}), g(s[n], e[n]), g(s[n], t[n])) - : null != t[n] - ? (s[n] = t[n]) - : delete s[n]); - for (n in e) Y(e, n) && !Y(t, n) && h(e[n]) && (s[n] = g({}, s[n])); - return s; - } - function T(e) { - null != e && this.set(e); - } - function x(e, t, n) { - var s = '' + Math.abs(e), - i = t - s.length; - return ( - (0 <= e ? (n ? '+' : '') : '-') + - Math.pow(10, Math.max(0, i)).toString().substr(1) + - s - ); - } - (p.suppressDeprecationWarnings = !1), - (p.deprecationHandler = null), - (s = Object.keys - ? Object.keys - : function (e) { - var t, - n = []; - for (t in e) Y(e, t) && n.push(t); - return n; - }); - var N = - /(\[[^\[]*\])|(\\)?([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, - L = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, - P = {}, - W = {}; - function R(e, t, n, s) { - var i = - 'string' == typeof s - ? function () { - return this[s](); - } - : s; - e && (W[e] = i), - t && - (W[t[0]] = function () { - return x(i.apply(this, arguments), t[1], t[2]); - }), - n && - (W[n] = function () { - return this.localeData().ordinal(i.apply(this, arguments), e); - }); - } - function H(e, t) { - return e.isValid() - ? ((t = C(t, e.localeData())), - (P[t] = - P[t] || - (function (s) { - for (var e, i = s.match(N), t = 0, r = i.length; t < r; t++) - W[i[t]] - ? (i[t] = W[i[t]]) - : (i[t] = (e = i[t]).match(/\[[\s\S]/) - ? e.replace(/^\[|\]$/g, '') - : e.replace(/\\/g, '')); - return function (e) { - for (var t = '', n = 0; n < r; n++) - t += b(i[n]) ? i[n].call(e, s) : i[n]; - return t; - }; - })(t)), - P[t](e)) - : e.localeData().invalidDate(); - } - function C(e, t) { - var n = 5; - function s(e) { - return t.longDateFormat(e) || e; - } - for (L.lastIndex = 0; 0 <= n && L.test(e); ) - (e = e.replace(L, s)), (L.lastIndex = 0), --n; - return e; - } - var U = {}; - function F(e, t) { - var n = e.toLowerCase(); - U[n] = U[n + 's'] = U[t] = e; - } - function V(e) { - return 'string' == typeof e ? U[e] || U[e.toLowerCase()] : void 0; - } - function E(e) { - var t, - n, - s = {}; - for (n in e) Y(e, n) && (t = V(n)) && (s[t] = e[n]); - return s; - } - var G = {}; - function A(e, t) { - G[e] = t; - } - function j(e) { - return (e % 4 == 0 && e % 100 != 0) || e % 400 == 0; - } - function I(e) { - return e < 0 ? Math.ceil(e) || 0 : Math.floor(e); - } - function z(e) { - var t = +e, - n = 0; - return 0 != t && isFinite(t) && (n = I(t)), n; - } - function Z(t, n) { - return function (e) { - return null != e - ? ($(this, t, e), p.updateOffset(this, n), this) - : q(this, t); - }; - } - function q(e, t) { - return e.isValid() ? e._d['get' + (e._isUTC ? 'UTC' : '') + t]() : NaN; - } - function $(e, t, n) { - e.isValid() && - !isNaN(n) && - ('FullYear' === t && j(e.year()) && 1 === e.month() && 29 === e.date() - ? ((n = z(n)), - e._d['set' + (e._isUTC ? 'UTC' : '') + t]( - n, - e.month(), - be(n, e.month()) - )) - : e._d['set' + (e._isUTC ? 'UTC' : '') + t](n)); - } - var B, - J = /\d/, - Q = /\d\d/, - X = /\d{3}/, - K = /\d{4}/, - ee = /[+-]?\d{6}/, - te = /\d\d?/, - ne = /\d\d\d\d?/, - se = /\d\d\d\d\d\d?/, - ie = /\d{1,3}/, - re = /\d{1,4}/, - ae = /[+-]?\d{1,6}/, - oe = /\d+/, - ue = /[+-]?\d+/, - le = /Z|[+-]\d\d:?\d\d/gi, - de = /Z|[+-]\d\d(?::?\d\d)?/gi, - he = - /[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 ce(e, n, s) { - B[e] = b(n) - ? n - : function (e, t) { - return e && s ? s : n; - }; - } - function fe(e) { - return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); - } - B = {}; - var me = {}; - function _e(e, n) { - var t, - s = n; - for ( - 'string' == typeof e && (e = [e]), - m(n) && - (s = function (e, t) { - t[n] = z(e); - }), - t = 0; - t < e.length; - t++ - ) - me[e[t]] = s; - } - function ye(e, i) { - _e(e, function (e, t, n, s) { - (n._w = n._w || {}), i(e, n._w, n, s); - }); - } - var ge, - we = 0, - pe = 1, - Ye = 2, - ve = 3, - Me = 4, - De = 5, - ke = 6, - Se = 7, - Oe = 8; - function be(e, t) { - if (isNaN(e) || isNaN(t)) return NaN; - var n = ((t % 12) + 12) % 12; - return (e += (t - n) / 12), 1 == n ? (j(e) ? 29 : 28) : 31 - ((n % 7) % 2); - } - (ge = Array.prototype.indexOf - ? Array.prototype.indexOf - : function (e) { - for (var t = 0; t < this.length; ++t) if (this[t] === e) return t; - return -1; - }), - R('M', ['MM', 2], 'Mo', function () { - return this.month() + 1; - }), - R('MMM', 0, 0, function (e) { - return this.localeData().monthsShort(this, e); - }), - R('MMMM', 0, 0, function (e) { - return this.localeData().months(this, e); - }), - F('month', 'M'), - A('month', 8), - ce('M', te), - ce('MM', te, Q), - ce('MMM', function (e, t) { - return t.monthsShortRegex(e); - }), - ce('MMMM', function (e, t) { - return t.monthsRegex(e); - }), - _e(['M', 'MM'], function (e, t) { - t[pe] = z(e) - 1; - }), - _e(['MMM', 'MMMM'], function (e, t, n, s) { - var i = n._locale.monthsParse(e, s, n._strict); - null != i ? (t[pe] = i) : (v(n).invalidMonth = e); - }); - var Te = - 'January_February_March_April_May_June_July_August_September_October_November_December'.split( - '_' - ), - xe = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - Ne = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, - Le = he, - Pe = he; - function We(e, t) { - var n; - if (!e.isValid()) return e; - if ('string' == typeof t) - if (/^\d+$/.test(t)) t = z(t); - else if (!m((t = e.localeData().monthsParse(t)))) return e; - return ( - (n = Math.min(e.date(), be(e.year(), t))), - e._d['set' + (e._isUTC ? 'UTC' : '') + 'Month'](t, n), - e - ); - } - function Re(e) { - return null != e - ? (We(this, e), p.updateOffset(this, !0), this) - : q(this, 'Month'); - } - function He() { - function e(e, t) { - return t.length - e.length; - } - for (var t, n = [], s = [], i = [], r = 0; r < 12; r++) - (t = w([2e3, r])), - n.push(this.monthsShort(t, '')), - s.push(this.months(t, '')), - i.push(this.months(t, '')), - i.push(this.monthsShort(t, '')); - for (n.sort(e), s.sort(e), i.sort(e), r = 0; r < 12; r++) - (n[r] = fe(n[r])), (s[r] = fe(s[r])); - for (r = 0; r < 24; r++) i[r] = fe(i[r]); - (this._monthsRegex = new RegExp('^(' + i.join('|') + ')', 'i')), - (this._monthsShortRegex = this._monthsRegex), - (this._monthsStrictRegex = new RegExp('^(' + s.join('|') + ')', 'i')), - (this._monthsShortStrictRegex = new RegExp( - '^(' + n.join('|') + ')', - 'i' - )); - } - function Ce(e) { - return j(e) ? 366 : 365; - } - R('Y', 0, 0, function () { - var e = this.year(); - return e <= 9999 ? x(e, 4) : '+' + e; - }), - R(0, ['YY', 2], 0, function () { - return this.year() % 100; - }), - R(0, ['YYYY', 4], 0, 'year'), - R(0, ['YYYYY', 5], 0, 'year'), - R(0, ['YYYYYY', 6, !0], 0, 'year'), - F('year', 'y'), - A('year', 1), - ce('Y', ue), - ce('YY', te, Q), - ce('YYYY', re, K), - ce('YYYYY', ae, ee), - ce('YYYYYY', ae, ee), - _e(['YYYYY', 'YYYYYY'], we), - _e('YYYY', function (e, t) { - t[we] = 2 === e.length ? p.parseTwoDigitYear(e) : z(e); - }), - _e('YY', function (e, t) { - t[we] = p.parseTwoDigitYear(e); - }), - _e('Y', function (e, t) { - t[we] = parseInt(e, 10); - }), - (p.parseTwoDigitYear = function (e) { - return z(e) + (68 < z(e) ? 1900 : 2e3); - }); - var Ue = Z('FullYear', !0); - function Fe(e) { - var t, n; - return ( - e < 100 && 0 <= e - ? (((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 Ve(e, t, n) { - var s = 7 + t - n; - return s - ((7 + Fe(e, 0, s).getUTCDay() - t) % 7) - 1; - } - function Ee(e, t, n, s, i) { - var r, - a = 1 + 7 * (t - 1) + ((7 + n - s) % 7) + Ve(e, s, i), - o = - a <= 0 - ? Ce((r = e - 1)) + a - : a > Ce(e) - ? ((r = e + 1), a - Ce(e)) - : ((r = e), a); - return { year: r, dayOfYear: o }; - } - function Ge(e, t, n) { - var s, - i, - r = Ve(e.year(), t, n), - a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1; - return ( - a < 1 - ? (s = a + Ae((i = e.year() - 1), t, n)) - : a > Ae(e.year(), t, n) - ? ((s = a - Ae(e.year(), t, n)), (i = e.year() + 1)) - : ((i = e.year()), (s = a)), - { week: s, year: i } - ); - } - function Ae(e, t, n) { - var s = Ve(e, t, n), - i = Ve(e + 1, t, n); - return (Ce(e) - s + i) / 7; - } - function je(e, t) { - return e.slice(t, 7).concat(e.slice(0, t)); - } - R('w', ['ww', 2], 'wo', 'week'), - R('W', ['WW', 2], 'Wo', 'isoWeek'), - F('week', 'w'), - F('isoWeek', 'W'), - A('week', 5), - A('isoWeek', 5), - ce('w', te), - ce('ww', te, Q), - ce('W', te), - ce('WW', te, Q), - ye(['w', 'ww', 'W', 'WW'], function (e, t, n, s) { - t[s.substr(0, 1)] = z(e); - }), - R('d', 0, 'do', 'day'), - R('dd', 0, 0, function (e) { - return this.localeData().weekdaysMin(this, e); - }), - R('ddd', 0, 0, function (e) { - return this.localeData().weekdaysShort(this, e); - }), - R('dddd', 0, 0, function (e) { - return this.localeData().weekdays(this, e); - }), - R('e', 0, 0, 'weekday'), - R('E', 0, 0, 'isoWeekday'), - F('day', 'd'), - F('weekday', 'e'), - F('isoWeekday', 'E'), - A('day', 11), - A('weekday', 11), - A('isoWeekday', 11), - ce('d', te), - ce('e', te), - ce('E', te), - ce('dd', function (e, t) { - return t.weekdaysMinRegex(e); - }), - ce('ddd', function (e, t) { - return t.weekdaysShortRegex(e); - }), - ce('dddd', function (e, t) { - return t.weekdaysRegex(e); - }), - ye(['dd', 'ddd', 'dddd'], function (e, t, n, s) { - var i = n._locale.weekdaysParse(e, s, n._strict); - null != i ? (t.d = i) : (v(n).invalidWeekday = e); - }), - ye(['d', 'e', 'E'], function (e, t, n, s) { - t[s] = z(e); - }); - var Ie = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( - '_' - ), - ze = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - Ze = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - qe = he, - $e = he, - Be = he; - function Je() { - function e(e, t) { - return t.length - e.length; - } - for (var t, n, s, i, r = [], a = [], o = [], u = [], l = 0; l < 7; l++) - (t = w([2e3, 1]).day(l)), - (n = fe(this.weekdaysMin(t, ''))), - (s = fe(this.weekdaysShort(t, ''))), - (i = fe(this.weekdays(t, ''))), - r.push(n), - a.push(s), - o.push(i), - u.push(n), - u.push(s), - u.push(i); - r.sort(e), - a.sort(e), - o.sort(e), - u.sort(e), - (this._weekdaysRegex = new RegExp('^(' + u.join('|') + ')', 'i')), - (this._weekdaysShortRegex = this._weekdaysRegex), - (this._weekdaysMinRegex = this._weekdaysRegex), - (this._weekdaysStrictRegex = new RegExp('^(' + o.join('|') + ')', 'i')), - (this._weekdaysShortStrictRegex = new RegExp( - '^(' + a.join('|') + ')', - 'i' - )), - (this._weekdaysMinStrictRegex = new RegExp( - '^(' + r.join('|') + ')', - 'i' - )); - } - function Qe() { - return this.hours() % 12 || 12; - } - function Xe(e, t) { - R(e, 0, 0, function () { - return this.localeData().meridiem(this.hours(), this.minutes(), t); - }); - } - function Ke(e, t) { - return t._meridiemParse; - } - R('H', ['HH', 2], 0, 'hour'), - R('h', ['hh', 2], 0, Qe), - R('k', ['kk', 2], 0, function () { - return this.hours() || 24; - }), - R('hmm', 0, 0, function () { - return '' + Qe.apply(this) + x(this.minutes(), 2); - }), - R('hmmss', 0, 0, function () { - return '' + Qe.apply(this) + x(this.minutes(), 2) + x(this.seconds(), 2); - }), - R('Hmm', 0, 0, function () { - return '' + this.hours() + x(this.minutes(), 2); - }), - R('Hmmss', 0, 0, function () { - return '' + this.hours() + x(this.minutes(), 2) + x(this.seconds(), 2); - }), - Xe('a', !0), - Xe('A', !1), - F('hour', 'h'), - A('hour', 13), - ce('a', Ke), - ce('A', Ke), - ce('H', te), - ce('h', te), - ce('k', te), - ce('HH', te, Q), - ce('hh', te, Q), - ce('kk', te, Q), - ce('hmm', ne), - ce('hmmss', se), - ce('Hmm', ne), - ce('Hmmss', se), - _e(['H', 'HH'], ve), - _e(['k', 'kk'], function (e, t, n) { - var s = z(e); - t[ve] = 24 === s ? 0 : s; - }), - _e(['a', 'A'], function (e, t, n) { - (n._isPm = n._locale.isPM(e)), (n._meridiem = e); - }), - _e(['h', 'hh'], function (e, t, n) { - (t[ve] = z(e)), (v(n).bigHour = !0); - }), - _e('hmm', function (e, t, n) { - var s = e.length - 2; - (t[ve] = z(e.substr(0, s))), - (t[Me] = z(e.substr(s))), - (v(n).bigHour = !0); - }), - _e('hmmss', function (e, t, n) { - var s = e.length - 4, - i = e.length - 2; - (t[ve] = z(e.substr(0, s))), - (t[Me] = z(e.substr(s, 2))), - (t[De] = z(e.substr(i))), - (v(n).bigHour = !0); - }), - _e('Hmm', function (e, t, n) { - var s = e.length - 2; - (t[ve] = z(e.substr(0, s))), (t[Me] = z(e.substr(s))); - }), - _e('Hmmss', function (e, t, n) { - var s = e.length - 4, - i = e.length - 2; - (t[ve] = z(e.substr(0, s))), - (t[Me] = z(e.substr(s, 2))), - (t[De] = z(e.substr(i))); - }); - var et, - tt = Z('Hours', !0), - nt = { - calendar: { - sameDay: '[Today at] LT', - nextDay: '[Tomorrow at] LT', - nextWeek: 'dddd [at] LT', - lastDay: '[Yesterday at] LT', - lastWeek: '[Last] dddd [at] LT', - sameElse: 'L', - }, - longDateFormat: { - LTS: 'h:mm:ss A', - LT: 'h:mm A', - L: 'MM/DD/YYYY', - LL: 'MMMM D, YYYY', - LLL: 'MMMM D, YYYY h:mm A', - LLLL: 'dddd, MMMM D, YYYY h:mm A', - }, - invalidDate: 'Invalid date', - ordinal: '%d', - dayOfMonthOrdinalParse: /\d{1,2}/, - relativeTime: { - future: 'in %s', - past: '%s ago', - s: 'a few seconds', - ss: '%d seconds', - m: 'a minute', - mm: '%d minutes', - h: 'an hour', - hh: '%d hours', - d: 'a day', - dd: '%d days', - w: 'a week', - ww: '%d weeks', - M: 'a month', - MM: '%d months', - y: 'a year', - yy: '%d years', - }, - months: Te, - monthsShort: xe, - week: { dow: 0, doy: 6 }, - weekdays: Ie, - weekdaysMin: Ze, - weekdaysShort: ze, - meridiemParse: /[ap]\.?m?\.?/i, - }, - st = {}, - it = {}; - function rt(e) { - return e ? e.toLowerCase().replace('_', '-') : e; - } - function at(e) { - var t; - if ( - void 0 === st[e] && - 'undefined' != typeof module && - module && - module.exports - ) - try { - (t = et._abbr), require('./locale/' + e), ot(t); - } catch (t) { - st[e] = null; - } - return st[e]; - } - function ot(e, t) { - var n; - return ( - e && - ((n = f(t) ? lt(e) : ut(e, t)) - ? (et = n) - : 'undefined' != typeof console && - console.warn && - console.warn( - 'Locale ' + e + ' not found. Did you forget to load it?' - )), - et._abbr - ); - } - function ut(e, t) { - if (null === t) return delete st[e], null; - var n, - s = nt; - if (((t.abbr = e), null != st[e])) - u( - '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.' - ), - (s = st[e]._config); - else if (null != t.parentLocale) - if (null != st[t.parentLocale]) s = st[t.parentLocale]._config; - else { - if (null == (n = at(t.parentLocale))) - return ( - it[t.parentLocale] || (it[t.parentLocale] = []), - it[t.parentLocale].push({ name: e, config: t }), - null - ); - s = n._config; - } - return ( - (st[e] = new T(l(s, t))), - it[e] && - it[e].forEach(function (e) { - ut(e.name, e.config); - }), - ot(e), - st[e] - ); - } - function lt(e) { - var t; - if ((e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)) - return et; - if (!d(e)) { - if ((t = at(e))) return t; - e = [e]; - } - return (function (e) { - for (var t, n, s, i, r = 0; r < e.length; ) { - for ( - t = (i = rt(e[r]).split('-')).length, - n = (n = rt(e[r + 1])) ? n.split('-') : null; - 0 < t; - - ) { - if ((s = at(i.slice(0, t).join('-')))) return s; - if ( - n && - n.length >= t && - (function (e, t) { - for (var n = Math.min(e.length, t.length), s = 0; s < n; s += 1) - if (e[s] !== t[s]) return s; - return n; - })(i, n) >= - t - 1 - ) - break; - t--; - } - r++; - } - return et; - })(e); - } - function dt(e) { - var t, - n = e._a; - return ( - n && - -2 === v(e).overflow && - ((t = - n[pe] < 0 || 11 < n[pe] - ? pe - : n[Ye] < 1 || n[Ye] > be(n[we], n[pe]) - ? Ye - : n[ve] < 0 || - 24 < n[ve] || - (24 === n[ve] && (0 !== n[Me] || 0 !== n[De] || 0 !== n[ke])) - ? ve - : n[Me] < 0 || 59 < n[Me] - ? Me - : n[De] < 0 || 59 < n[De] - ? De - : n[ke] < 0 || 999 < n[ke] - ? ke - : -1), - v(e)._overflowDayOfYear && (t < we || Ye < t) && (t = Ye), - v(e)._overflowWeeks && -1 === t && (t = Se), - v(e)._overflowWeekday && -1 === t && (t = Oe), - (v(e).overflow = t)), - e - ); - } - var ht = - /^\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)?)?$/, - ct = - /^\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)?)?$/, - ft = /Z|[+-]\d\d(?::?\d\d)?/, - mt = [ - ['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], - ], - _t = [ - ['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/], - ], - yt = /^\/?Date\((-?\d+)/i, - gt = - /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, - wt = { - UT: 0, - GMT: 0, - EDT: -240, - EST: -300, - CDT: -300, - CST: -360, - MDT: -360, - MST: -420, - PDT: -420, - PST: -480, - }; - function pt(e) { - var t, - n, - s, - i, - r, - a, - o = e._i, - u = ht.exec(o) || ct.exec(o); - if (u) { - for (v(e).iso = !0, t = 0, n = mt.length; t < n; t++) - if (mt[t][1].exec(u[1])) { - (i = mt[t][0]), (s = !1 !== mt[t][2]); - break; - } - if (null == i) return void (e._isValid = !1); - if (u[3]) { - for (t = 0, n = _t.length; t < n; t++) - if (_t[t][1].exec(u[3])) { - r = (u[2] || ' ') + _t[t][0]; - break; - } - if (null == r) return void (e._isValid = !1); - } - if (!s && null != r) return void (e._isValid = !1); - if (u[4]) { - if (!ft.exec(u[4])) return void (e._isValid = !1); - a = 'Z'; - } - (e._f = i + (r || '') + (a || '')), Dt(e); - } else e._isValid = !1; - } - function Yt(e) { - var t, - n, - s, - i, - r, - a, - o, - u, - l, - d, - h, - c, - f = gt.exec( - e._i - .replace(/\([^)]*\)|[\n\t]/g, ' ') - .replace(/(\s\s+)/g, ' ') - .replace(/^\s\s*/, '') - .replace(/\s\s*$/, '') - ); - if (f) { - if ( - ((r = f[4]), - (a = f[3]), - (o = f[2]), - (u = f[5]), - (l = f[6]), - (d = f[7]), - (c = [ - ((h = parseInt(r, 10)), h <= 49 ? 2e3 + h : h <= 999 ? 1900 + h : h), - xe.indexOf(a), - parseInt(o, 10), - parseInt(u, 10), - parseInt(l, 10), - ]), - d && c.push(parseInt(d, 10)), - (s = t = c), - (i = e), - (n = f[1]) && - ze.indexOf(n) !== new Date(s[0], s[1], s[2]).getDay() && - ((v(i).weekdayMismatch = !0), !void (i._isValid = !1))) - ) - return; - (e._a = t), - (e._tzm = (function (e, t, n) { - if (e) return wt[e]; - if (t) return 0; - var s = parseInt(n, 10), - i = s % 100; - return ((s - i) / 100) * 60 + i; - })(f[8], f[9], f[10])), - (e._d = Fe.apply(null, e._a)), - e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), - (v(e).rfc2822 = !0); - } else e._isValid = !1; - } - function vt(e, t, n) { - return null != e ? e : null != t ? t : n; - } - function Mt(e) { - var t, - n, - s, - i, - r, - a, - o, - u, - l, - d, - h, - c, - f, - m, - _, - y, - g, - w = []; - if (!e._d) { - for ( - a = e, - o = new Date(p.now()), - s = a._useUTC - ? [o.getUTCFullYear(), o.getUTCMonth(), o.getUTCDate()] - : [o.getFullYear(), o.getMonth(), o.getDate()], - e._w && - null == e._a[Ye] && - null == e._a[pe] && - ((g = y = _ = m = f = c = h = d = l = void 0), - null != (l = (u = e)._w).GG || null != l.W || null != l.E - ? ((f = 1), - (m = 4), - (d = vt(l.GG, u._a[we], Ge(Ot(), 1, 4).year)), - (h = vt(l.W, 1)), - ((c = vt(l.E, 1)) < 1 || 7 < c) && (y = !0)) - : ((f = u._locale._week.dow), - (m = u._locale._week.doy), - (g = Ge(Ot(), f, m)), - (d = vt(l.gg, u._a[we], g.year)), - (h = vt(l.w, g.week)), - null != l.d - ? ((c = l.d) < 0 || 6 < c) && (y = !0) - : null != l.e - ? ((c = l.e + f), (l.e < 0 || 6 < l.e) && (y = !0)) - : (c = f)), - h < 1 || h > Ae(d, f, m) - ? (v(u)._overflowWeeks = !0) - : null != y - ? (v(u)._overflowWeekday = !0) - : ((_ = Ee(d, h, c, f, m)), - (u._a[we] = _.year), - (u._dayOfYear = _.dayOfYear))), - null != e._dayOfYear && - ((r = vt(e._a[we], s[we])), - (e._dayOfYear > Ce(r) || 0 === e._dayOfYear) && - (v(e)._overflowDayOfYear = !0), - (n = Fe(r, 0, e._dayOfYear)), - (e._a[pe] = n.getUTCMonth()), - (e._a[Ye] = n.getUTCDate())), - t = 0; - t < 3 && null == e._a[t]; - ++t - ) - e._a[t] = w[t] = s[t]; - for (; t < 7; t++) - e._a[t] = w[t] = null == e._a[t] ? (2 === t ? 1 : 0) : e._a[t]; - 24 === e._a[ve] && - 0 === e._a[Me] && - 0 === e._a[De] && - 0 === e._a[ke] && - ((e._nextDay = !0), (e._a[ve] = 0)), - (e._d = ( - e._useUTC - ? Fe - : function (e, t, n, s, i, r, a) { - var o; - return ( - e < 100 && 0 <= e - ? ((o = new Date(e + 400, t, n, s, i, r, a)), - isFinite(o.getFullYear()) && o.setFullYear(e)) - : (o = new Date(e, t, n, s, i, r, a)), - o - ); - } - ).apply(null, w)), - (i = e._useUTC ? e._d.getUTCDay() : e._d.getDay()), - null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), - e._nextDay && (e._a[ve] = 24), - e._w && - void 0 !== e._w.d && - e._w.d !== i && - (v(e).weekdayMismatch = !0); - } - } - function Dt(e) { - if (e._f !== p.ISO_8601) - if (e._f !== p.RFC_2822) { - (e._a = []), (v(e).empty = !0); - for ( - var t, - n, - s, - i, - r, - a, - o, - u = '' + e._i, - l = u.length, - d = 0, - h = C(e._f, e._locale).match(N) || [], - c = 0; - c < h.length; - c++ - ) - (n = h[c]), - (t = (u.match( - ((g = n), - (w = e), - Y(B, g) - ? B[g](w._strict, w._locale) - : new RegExp( - fe( - g - .replace('\\', '') - .replace( - /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, - function (e, t, n, s, i) { - return t || n || s || i; - } - ) - ) - )) - ) || [])[0]) && - (0 < (s = u.substr(0, u.indexOf(t))).length && - v(e).unusedInput.push(s), - (u = u.slice(u.indexOf(t) + t.length)), - (d += t.length)), - W[n] - ? (t ? (v(e).empty = !1) : v(e).unusedTokens.push(n), - (r = n), - (o = e), - null != (a = t) && Y(me, r) && me[r](a, o._a, o, r)) - : e._strict && !t && v(e).unusedTokens.push(n); - (v(e).charsLeftOver = l - d), - 0 < u.length && v(e).unusedInput.push(u), - e._a[ve] <= 12 && - !0 === v(e).bigHour && - 0 < e._a[ve] && - (v(e).bigHour = void 0), - (v(e).parsedDateParts = e._a.slice(0)), - (v(e).meridiem = e._meridiem), - (e._a[ve] = - ((f = e._locale), - (m = e._a[ve]), - null == (_ = e._meridiem) - ? m - : null != f.meridiemHour - ? f.meridiemHour(m, _) - : (null != f.isPM && - ((y = f.isPM(_)) && m < 12 && (m += 12), - y || 12 !== m || (m = 0)), - m))), - null !== (i = v(e).era) && - (e._a[we] = e._locale.erasConvertYear(i, e._a[we])), - Mt(e), - dt(e); - } else Yt(e); - else pt(e); - var f, m, _, y, g, w; - } - function kt(e) { - var t, - n, - s, - i, - r, - a, - o, - u = e._i, - l = e._f; - return ( - (e._locale = e._locale || lt(e._l)), - null === u || (void 0 === l && '' === u) - ? D({ nullInput: !0 }) - : ('string' == typeof u && (e._i = u = e._locale.preparse(u)), - O(u) - ? new S(dt(u)) - : (_(u) - ? (e._d = u) - : d(l) - ? (function (e) { - var t, - n, - s, - i, - r, - a, - o = !1; - if (0 === e._f.length) - return (v(e).invalidFormat = !0), (e._d = new Date(NaN)); - for (i = 0; i < e._f.length; i++) - (r = 0), - (a = !1), - (t = k({}, e)), - null != e._useUTC && (t._useUTC = e._useUTC), - (t._f = e._f[i]), - Dt(t), - M(t) && (a = !0), - (r += v(t).charsLeftOver), - (r += 10 * v(t).unusedTokens.length), - (v(t).score = r), - o - ? r < s && ((s = r), (n = t)) - : (null == s || r < s || a) && - ((s = r), (n = t), a && (o = !0)); - g(e, n || t); - })(e) - : l - ? Dt(e) - : f((n = (t = e)._i)) - ? (t._d = new Date(p.now())) - : _(n) - ? (t._d = new Date(n.valueOf())) - : 'string' == typeof n - ? ((a = t), - null === (o = yt.exec(a._i)) - ? (pt(a), - !1 === a._isValid && - (delete a._isValid, - Yt(a), - !1 === a._isValid && - (delete a._isValid, - a._strict - ? (a._isValid = !1) - : p.createFromInputFallback(a)))) - : (a._d = new Date(+o[1]))) - : d(n) - ? ((t._a = y(n.slice(0), function (e) { - return parseInt(e, 10); - })), - Mt(t)) - : h(n) - ? (s = t)._d || - ((r = void 0 === (i = E(s._i)).day ? i.date : i.day), - (s._a = y( - [ - i.year, - i.month, - r, - i.hour, - i.minute, - i.second, - i.millisecond, - ], - function (e) { - return e && parseInt(e, 10); - } - )), - Mt(s)) - : m(n) - ? (t._d = new Date(n)) - : p.createFromInputFallback(t), - M(e) || (e._d = null), - e)) - ); - } - function St(e, t, n, s, i) { - var r, - a = {}; - return ( - (!0 !== t && !1 !== t) || ((s = t), (t = void 0)), - (!0 !== n && !1 !== n) || ((s = n), (n = void 0)), - ((h(e) && c(e)) || (d(e) && 0 === e.length)) && (e = void 0), - (a._isAMomentObject = !0), - (a._useUTC = a._isUTC = i), - (a._l = n), - (a._i = e), - (a._f = t), - (a._strict = s), - (r = new S(dt(kt(a))))._nextDay && (r.add(1, 'd'), (r._nextDay = void 0)), - r - ); - } - function Ot(e, t, n, s) { - return St(e, t, n, s, !1); - } - (p.createFromInputFallback = n( - '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' : '')); - } - )), - (p.ISO_8601 = function () {}), - (p.RFC_2822 = function () {}); - var bt = n( - 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', - function () { - var e = Ot.apply(null, arguments); - return this.isValid() && e.isValid() ? (e < this ? this : e) : D(); - } - ), - Tt = n( - 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', - function () { - var e = Ot.apply(null, arguments); - return this.isValid() && e.isValid() ? (this < e ? this : e) : D(); - } - ); - function xt(e, t) { - var n, s; - if ((1 === t.length && d(t[0]) && (t = t[0]), !t.length)) return Ot(); - for (n = t[0], s = 1; s < t.length; ++s) - (t[s].isValid() && !t[s][e](n)) || (n = t[s]); - return n; - } - var Nt = [ - 'year', - 'quarter', - 'month', - 'week', - 'day', - 'hour', - 'minute', - 'second', - 'millisecond', - ]; - function Lt(e) { - var t = E(e), - n = t.year || 0, - s = t.quarter || 0, - i = t.month || 0, - r = t.week || t.isoWeek || 0, - a = t.day || 0, - o = t.hour || 0, - u = t.minute || 0, - l = t.second || 0, - d = t.millisecond || 0; - (this._isValid = (function (e) { - var t, - n, - s = !1; - for (t in e) - if (Y(e, t) && (-1 === ge.call(Nt, t) || (null != e[t] && isNaN(e[t])))) - return !1; - for (n = 0; n < Nt.length; ++n) - if (e[Nt[n]]) { - if (s) return !1; - parseFloat(e[Nt[n]]) !== z(e[Nt[n]]) && (s = !0); - } - return !0; - })(t)), - (this._milliseconds = +d + 1e3 * l + 6e4 * u + 1e3 * o * 60 * 60), - (this._days = +a + 7 * r), - (this._months = +i + 3 * s + 12 * n), - (this._data = {}), - (this._locale = lt()), - this._bubble(); - } - function Pt(e) { - return e instanceof Lt; - } - function Wt(e) { - return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e); - } - function Rt(e, n) { - R(e, 0, 0, function () { - var e = this.utcOffset(), - t = '+'; - return ( - e < 0 && ((e = -e), (t = '-')), - t + x(~~(e / 60), 2) + n + x(~~e % 60, 2) - ); - }); - } - Rt('Z', ':'), - Rt('ZZ', ''), - ce('Z', de), - ce('ZZ', de), - _e(['Z', 'ZZ'], function (e, t, n) { - (n._useUTC = !0), (n._tzm = Ct(de, e)); - }); - var Ht = /([\+\-]|\d\d)/gi; - function Ct(e, t) { - var n, - s, - i = (t || '').match(e); - return null === i - ? null - : 0 === - (s = - 60 * - (n = ((i[i.length - 1] || []) + '').match(Ht) || ['-', 0, 0])[1] + - z(n[2])) - ? 0 - : '+' === n[0] - ? s - : -s; - } - function Ut(e, t) { - var n, s; - return t._isUTC - ? ((n = t.clone()), - (s = (O(e) || _(e) ? e.valueOf() : Ot(e).valueOf()) - n.valueOf()), - n._d.setTime(n._d.valueOf() + s), - p.updateOffset(n, !1), - n) - : Ot(e).local(); - } - function Ft(e) { - return -Math.round(e._d.getTimezoneOffset()); - } - function Vt() { - return !!this.isValid() && this._isUTC && 0 === this._offset; - } - p.updateOffset = function () {}; - var Et = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, - Gt = - /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; - function At(e, t) { - var n, - s, - i, - r, - a, - o, - u = e, - l = null; - return ( - Pt(e) - ? (u = { ms: e._milliseconds, d: e._days, M: e._months }) - : m(e) || !isNaN(+e) - ? ((u = {}), t ? (u[t] = +e) : (u.milliseconds = +e)) - : (l = Et.exec(e)) - ? ((n = '-' === l[1] ? -1 : 1), - (u = { - y: 0, - d: z(l[Ye]) * n, - h: z(l[ve]) * n, - m: z(l[Me]) * n, - s: z(l[De]) * n, - ms: z(Wt(1e3 * l[ke])) * n, - })) - : (l = Gt.exec(e)) - ? ((n = '-' === l[1] ? -1 : 1), - (u = { - y: jt(l[2], n), - M: jt(l[3], n), - w: jt(l[4], n), - d: jt(l[5], n), - h: jt(l[6], n), - m: jt(l[7], n), - s: jt(l[8], n), - })) - : null == u - ? (u = {}) - : 'object' == typeof u && - ('from' in u || 'to' in u) && - ((r = Ot(u.from)), - (a = Ot(u.to)), - (i = - r.isValid() && a.isValid() - ? ((a = Ut(a, r)), - r.isBefore(a) - ? (o = It(r, a)) - : (((o = It(a, r)).milliseconds = -o.milliseconds), - (o.months = -o.months)), - o) - : { milliseconds: 0, months: 0 }), - ((u = {}).ms = i.milliseconds), - (u.M = i.months)), - (s = new Lt(u)), - Pt(e) && Y(e, '_locale') && (s._locale = e._locale), - Pt(e) && Y(e, '_isValid') && (s._isValid = e._isValid), - s - ); - } - function jt(e, t) { - var n = e && parseFloat(e.replace(',', '.')); - return (isNaN(n) ? 0 : n) * t; - } - function It(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 zt(s, i) { - return function (e, t) { - var n; - return ( - null === t || - isNaN(+t) || - (u( - i, - 'moment().' + - i + - '(period, number) is deprecated. Please use moment().' + - i + - '(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' - ), - (n = e), - (e = t), - (t = n)), - Zt(this, At(e, t), s), - this - ); - }; - } - function Zt(e, t, n, s) { - var i = t._milliseconds, - r = Wt(t._days), - a = Wt(t._months); - e.isValid() && - ((s = null == s || s), - a && We(e, q(e, 'Month') + a * n), - r && $(e, 'Date', q(e, 'Date') + r * n), - i && e._d.setTime(e._d.valueOf() + i * n), - s && p.updateOffset(e, r || a)); - } - (At.fn = Lt.prototype), - (At.invalid = function () { - return At(NaN); - }); - var qt = zt(1, 'add'), - $t = zt(-1, 'subtract'); - function Bt(e) { - return 'string' == typeof e || e instanceof String; - } - function Jt(e, t) { - if (e.date() < t.date()) return -Jt(t, e); - var n = 12 * (t.year() - e.year()) + (t.month() - e.month()), - s = e.clone().add(n, 'months'); - return ( - -( - n + - (t - s < 0 - ? (t - s) / (s - e.clone().add(n - 1, 'months')) - : (t - s) / (e.clone().add(1 + n, 'months') - s)) - ) || 0 - ); - } - function Qt(e) { - var t; - return void 0 === e - ? this._locale._abbr - : (null != (t = lt(e)) && (this._locale = t), this); - } - (p.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'), - (p.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'); - var Xt = n( - '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 Kt() { - return this._locale; - } - var en = 126227808e5; - function tn(e, t) { - return ((e % t) + t) % t; - } - function nn(e, t, n) { - return e < 100 && 0 <= e - ? new Date(e + 400, t, n) - en - : new Date(e, t, n).valueOf(); - } - function sn(e, t, n) { - return e < 100 && 0 <= e ? Date.UTC(e + 400, t, n) - en : Date.UTC(e, t, n); - } - function rn(e, t) { - return t.erasAbbrRegex(e); - } - function an() { - for ( - var e = [], t = [], n = [], s = [], i = this.eras(), r = 0, a = i.length; - r < a; - ++r - ) - t.push(fe(i[r].name)), - e.push(fe(i[r].abbr)), - n.push(fe(i[r].narrow)), - s.push(fe(i[r].name)), - s.push(fe(i[r].abbr)), - s.push(fe(i[r].narrow)); - (this._erasRegex = new RegExp('^(' + s.join('|') + ')', 'i')), - (this._erasNameRegex = new RegExp('^(' + t.join('|') + ')', 'i')), - (this._erasAbbrRegex = new RegExp('^(' + e.join('|') + ')', 'i')), - (this._erasNarrowRegex = new RegExp('^(' + n.join('|') + ')', 'i')); - } - function on(e, t) { - R(0, [e, e.length], 0, t); - } - function un(e, t, n, s, i) { - var r; - return null == e - ? Ge(this, s, i).year - : ((r = Ae(e, s, i)) < t && (t = r), - function (e, t, n, s, i) { - var r = Ee(e, t, n, s, i), - a = Fe(r.year, 0, r.dayOfYear); - return ( - this.year(a.getUTCFullYear()), - this.month(a.getUTCMonth()), - this.date(a.getUTCDate()), - this - ); - }.call(this, e, t, n, s, i)); - } - R('N', 0, 0, 'eraAbbr'), - R('NN', 0, 0, 'eraAbbr'), - R('NNN', 0, 0, 'eraAbbr'), - R('NNNN', 0, 0, 'eraName'), - R('NNNNN', 0, 0, 'eraNarrow'), - R('y', ['y', 1], 'yo', 'eraYear'), - R('y', ['yy', 2], 0, 'eraYear'), - R('y', ['yyy', 3], 0, 'eraYear'), - R('y', ['yyyy', 4], 0, 'eraYear'), - ce('N', rn), - ce('NN', rn), - ce('NNN', rn), - ce('NNNN', function (e, t) { - return t.erasNameRegex(e); - }), - ce('NNNNN', function (e, t) { - return t.erasNarrowRegex(e); - }), - _e(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (e, t, n, s) { - var i = n._locale.erasParse(e, s, n._strict); - i ? (v(n).era = i) : (v(n).invalidEra = e); - }), - ce('y', oe), - ce('yy', oe), - ce('yyy', oe), - ce('yyyy', oe), - ce('yo', function (e, t) { - return t._eraYearOrdinalRegex || oe; - }), - _e(['y', 'yy', 'yyy', 'yyyy'], we), - _e(['yo'], function (e, t, n, s) { - var i; - n._locale._eraYearOrdinalRegex && - (i = e.match(n._locale._eraYearOrdinalRegex)), - n._locale.eraYearOrdinalParse - ? (t[we] = n._locale.eraYearOrdinalParse(e, i)) - : (t[we] = parseInt(e, 10)); - }), - R(0, ['gg', 2], 0, function () { - return this.weekYear() % 100; - }), - R(0, ['GG', 2], 0, function () { - return this.isoWeekYear() % 100; - }), - on('gggg', 'weekYear'), - on('ggggg', 'weekYear'), - on('GGGG', 'isoWeekYear'), - on('GGGGG', 'isoWeekYear'), - F('weekYear', 'gg'), - F('isoWeekYear', 'GG'), - A('weekYear', 1), - A('isoWeekYear', 1), - ce('G', ue), - ce('g', ue), - ce('GG', te, Q), - ce('gg', te, Q), - ce('GGGG', re, K), - ce('gggg', re, K), - ce('GGGGG', ae, ee), - ce('ggggg', ae, ee), - ye(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (e, t, n, s) { - t[s.substr(0, 2)] = z(e); - }), - ye(['gg', 'GG'], function (e, t, n, s) { - t[s] = p.parseTwoDigitYear(e); - }), - R('Q', 0, 'Qo', 'quarter'), - F('quarter', 'Q'), - A('quarter', 7), - ce('Q', J), - _e('Q', function (e, t) { - t[pe] = 3 * (z(e) - 1); - }), - R('D', ['DD', 2], 'Do', 'date'), - F('date', 'D'), - A('date', 9), - ce('D', te), - ce('DD', te, Q), - ce('Do', function (e, t) { - return e - ? t._dayOfMonthOrdinalParse || t._ordinalParse - : t._dayOfMonthOrdinalParseLenient; - }), - _e(['D', 'DD'], Ye), - _e('Do', function (e, t) { - t[Ye] = z(e.match(te)[0]); - }); - var ln = Z('Date', !0); - R('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'), - F('dayOfYear', 'DDD'), - A('dayOfYear', 4), - ce('DDD', ie), - ce('DDDD', X), - _e(['DDD', 'DDDD'], function (e, t, n) { - n._dayOfYear = z(e); - }), - R('m', ['mm', 2], 0, 'minute'), - F('minute', 'm'), - A('minute', 14), - ce('m', te), - ce('mm', te, Q), - _e(['m', 'mm'], Me); - var dn = Z('Minutes', !1); - R('s', ['ss', 2], 0, 'second'), - F('second', 's'), - A('second', 15), - ce('s', te), - ce('ss', te, Q), - _e(['s', 'ss'], De); - var hn, - cn, - fn = Z('Seconds', !1); - for ( - R('S', 0, 0, function () { - return ~~(this.millisecond() / 100); - }), - R(0, ['SS', 2], 0, function () { - return ~~(this.millisecond() / 10); - }), - R(0, ['SSS', 3], 0, 'millisecond'), - R(0, ['SSSS', 4], 0, function () { - return 10 * this.millisecond(); - }), - R(0, ['SSSSS', 5], 0, function () { - return 100 * this.millisecond(); - }), - R(0, ['SSSSSS', 6], 0, function () { - return 1e3 * this.millisecond(); - }), - R(0, ['SSSSSSS', 7], 0, function () { - return 1e4 * this.millisecond(); - }), - R(0, ['SSSSSSSS', 8], 0, function () { - return 1e5 * this.millisecond(); - }), - R(0, ['SSSSSSSSS', 9], 0, function () { - return 1e6 * this.millisecond(); - }), - F('millisecond', 'ms'), - A('millisecond', 16), - ce('S', ie, J), - ce('SS', ie, Q), - ce('SSS', ie, X), - hn = 'SSSS'; - hn.length <= 9; - hn += 'S' - ) - ce(hn, oe); - function mn(e, t) { - t[ke] = z(1e3 * ('0.' + e)); - } - for (hn = 'S'; hn.length <= 9; hn += 'S') _e(hn, mn); - (cn = Z('Milliseconds', !1)), - R('z', 0, 0, 'zoneAbbr'), - R('zz', 0, 0, 'zoneName'); - var _n = S.prototype; - function yn(e) { - return e; - } - (_n.add = qt), - (_n.calendar = function (e, t) { - var n, s, i, r; - 1 === arguments.length && - (arguments[0] - ? O((n = arguments[0])) || - _(n) || - Bt(n) || - m(n) || - ((i = d((s = n))), - (r = !1), - i && - (r = - 0 === - s.filter(function (e) { - return !m(e) && Bt(s); - }).length), - i && r) || - (function (e) { - var t, - n = h(e) && !c(e), - s = !1, - i = [ - 'years', - 'year', - 'y', - 'months', - 'month', - 'M', - 'days', - 'day', - 'd', - 'dates', - 'date', - 'D', - 'hours', - 'hour', - 'h', - 'minutes', - 'minute', - 'm', - 'seconds', - 'second', - 's', - 'milliseconds', - 'millisecond', - 'ms', - ]; - for (t = 0; t < i.length; t += 1) s = s || Y(e, i[t]); - return n && s; - })(n) || - null == n - ? ((e = arguments[0]), (t = void 0)) - : (function (e) { - for ( - var t = h(e) && !c(e), - n = !1, - s = [ - 'sameDay', - 'nextDay', - 'lastDay', - 'nextWeek', - 'lastWeek', - 'sameElse', - ], - i = 0; - i < s.length; - i += 1 - ) - n = n || Y(e, s[i]); - return t && n; - })(arguments[0]) && ((t = arguments[0]), (e = void 0)) - : (t = e = void 0)); - var a = e || Ot(), - o = Ut(a, this).startOf('day'), - u = p.calendarFormat(this, o) || 'sameElse', - l = t && (b(t[u]) ? t[u].call(this, a) : t[u]); - return this.format(l || this.localeData().calendar(u, this, Ot(a))); - }), - (_n.clone = function () { - return new S(this); - }), - (_n.diff = function (e, t, n) { - var s, i, r; - if (!this.isValid()) return NaN; - if (!(s = Ut(e, this)).isValid()) return NaN; - switch (((i = 6e4 * (s.utcOffset() - this.utcOffset())), (t = V(t)))) { - case 'year': - r = Jt(this, s) / 12; - break; - case 'month': - r = Jt(this, s); - break; - case 'quarter': - r = Jt(this, s) / 3; - break; - case 'second': - r = (this - s) / 1e3; - break; - case 'minute': - r = (this - s) / 6e4; - break; - case 'hour': - r = (this - s) / 36e5; - break; - case 'day': - r = (this - s - i) / 864e5; - break; - case 'week': - r = (this - s - i) / 6048e5; - break; - default: - r = this - s; - } - return n ? r : I(r); - }), - (_n.endOf = function (e) { - var t, n; - if (void 0 === (e = V(e)) || 'millisecond' === e || !this.isValid()) - return this; - switch (((n = this._isUTC ? sn : nn), e)) { - case 'year': - t = n(this.year() + 1, 0, 1) - 1; - break; - case 'quarter': - t = n(this.year(), this.month() - (this.month() % 3) + 3, 1) - 1; - break; - case 'month': - t = n(this.year(), this.month() + 1, 1) - 1; - break; - case 'week': - t = - n(this.year(), this.month(), this.date() - this.weekday() + 7) - 1; - break; - case 'isoWeek': - t = - n( - this.year(), - this.month(), - this.date() - (this.isoWeekday() - 1) + 7 - ) - 1; - break; - case 'day': - case 'date': - t = n(this.year(), this.month(), this.date() + 1) - 1; - break; - case 'hour': - (t = this._d.valueOf()), - (t += - 36e5 - - tn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5) - - 1); - break; - case 'minute': - (t = this._d.valueOf()), (t += 6e4 - tn(t, 6e4) - 1); - break; - case 'second': - (t = this._d.valueOf()), (t += 1e3 - tn(t, 1e3) - 1); - } - return this._d.setTime(t), p.updateOffset(this, !0), this; - }), - (_n.format = function (e) { - e = e || (this.isUtc() ? p.defaultFormatUtc : p.defaultFormat); - var t = H(this, e); - return this.localeData().postformat(t); - }), - (_n.from = function (e, t) { - return this.isValid() && ((O(e) && e.isValid()) || Ot(e).isValid()) - ? At({ to: this, from: e }).locale(this.locale()).humanize(!t) - : this.localeData().invalidDate(); - }), - (_n.fromNow = function (e) { - return this.from(Ot(), e); - }), - (_n.to = function (e, t) { - return this.isValid() && ((O(e) && e.isValid()) || Ot(e).isValid()) - ? At({ from: this, to: e }).locale(this.locale()).humanize(!t) - : this.localeData().invalidDate(); - }), - (_n.toNow = function (e) { - return this.to(Ot(), e); - }), - (_n.get = function (e) { - return b(this[(e = V(e))]) ? this[e]() : this; - }), - (_n.invalidAt = function () { - return v(this).overflow; - }), - (_n.isAfter = function (e, t) { - var n = O(e) ? e : Ot(e); - return ( - !(!this.isValid() || !n.isValid()) && - ('millisecond' === (t = V(t) || 'millisecond') - ? this.valueOf() > n.valueOf() - : n.valueOf() < this.clone().startOf(t).valueOf()) - ); - }), - (_n.isBefore = function (e, t) { - var n = O(e) ? e : Ot(e); - return ( - !(!this.isValid() || !n.isValid()) && - ('millisecond' === (t = V(t) || 'millisecond') - ? this.valueOf() < n.valueOf() - : this.clone().endOf(t).valueOf() < n.valueOf()) - ); - }), - (_n.isBetween = function (e, t, n, s) { - var i = O(e) ? e : Ot(e), - r = O(t) ? t : Ot(t); - return ( - !!(this.isValid() && i.isValid() && r.isValid()) && - ('(' === (s = s || '()')[0] - ? this.isAfter(i, n) - : !this.isBefore(i, n)) && - (')' === s[1] ? this.isBefore(r, n) : !this.isAfter(r, n)) - ); - }), - (_n.isSame = function (e, t) { - var n, - s = O(e) ? e : Ot(e); - return ( - !(!this.isValid() || !s.isValid()) && - ('millisecond' === (t = V(t) || 'millisecond') - ? this.valueOf() === s.valueOf() - : ((n = s.valueOf()), - this.clone().startOf(t).valueOf() <= n && - n <= this.clone().endOf(t).valueOf())) - ); - }), - (_n.isSameOrAfter = function (e, t) { - return this.isSame(e, t) || this.isAfter(e, t); - }), - (_n.isSameOrBefore = function (e, t) { - return this.isSame(e, t) || this.isBefore(e, t); - }), - (_n.isValid = function () { - return M(this); - }), - (_n.lang = Xt), - (_n.locale = Qt), - (_n.localeData = Kt), - (_n.max = Tt), - (_n.min = bt), - (_n.parsingFlags = function () { - return g({}, v(this)); - }), - (_n.set = function (e, t) { - if ('object' == typeof e) - for ( - var n = (function (e) { - var t, - n = []; - for (t in e) Y(e, t) && n.push({ unit: t, priority: G[t] }); - return ( - n.sort(function (e, t) { - return e.priority - t.priority; - }), - n - ); - })((e = E(e))), - s = 0; - s < n.length; - s++ - ) - this[n[s].unit](e[n[s].unit]); - else if (b(this[(e = V(e))])) return this[e](t); - return this; - }), - (_n.startOf = function (e) { - var t, n; - if (void 0 === (e = V(e)) || 'millisecond' === e || !this.isValid()) - return this; - switch (((n = this._isUTC ? sn : nn), 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 -= tn(t + (this._isUTC ? 0 : 6e4 * this.utcOffset()), 36e5)); - break; - case 'minute': - (t = this._d.valueOf()), (t -= tn(t, 6e4)); - break; - case 'second': - (t = this._d.valueOf()), (t -= tn(t, 1e3)); - } - return this._d.setTime(t), p.updateOffset(this, !0), this; - }), - (_n.subtract = $t), - (_n.toArray = function () { - var e = this; - return [ - e.year(), - e.month(), - e.date(), - e.hour(), - e.minute(), - e.second(), - e.millisecond(), - ]; - }), - (_n.toObject = function () { - var e = this; - return { - years: e.year(), - months: e.month(), - date: e.date(), - hours: e.hours(), - minutes: e.minutes(), - seconds: e.seconds(), - milliseconds: e.milliseconds(), - }; - }), - (_n.toDate = function () { - return new Date(this.valueOf()); - }), - (_n.toISOString = function (e) { - if (!this.isValid()) return null; - var t = !0 !== e, - n = t ? this.clone().utc() : this; - return n.year() < 0 || 9999 < n.year() - ? H( - n, - t - ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' - : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' - ) - : b(Date.prototype.toISOString) - ? t - ? this.toDate().toISOString() - : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3) - .toISOString() - .replace('Z', H(n, 'Z')) - : H( - n, - t ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' - ); - }), - (_n.inspect = function () { - if (!this.isValid()) return 'moment.invalid(/* ' + this._i + ' */)'; - var e, - t, - n, - s = 'moment', - i = ''; - return ( - this.isLocal() || - ((s = 0 === this.utcOffset() ? 'moment.utc' : 'moment.parseZone'), - (i = 'Z')), - (e = '[' + s + '("]'), - (t = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY'), - (n = i + '[")]'), - this.format(e + t + '-MM-DD[T]HH:mm:ss.SSS' + n) - ); - }), - 'undefined' != typeof Symbol && - null != Symbol.for && - (_n[Symbol.for('nodejs.util.inspect.custom')] = function () { - return 'Moment<' + this.format() + '>'; - }), - (_n.toJSON = function () { - return this.isValid() ? this.toISOString() : null; - }), - (_n.toString = function () { - return this.clone() - .locale('en') - .format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); - }), - (_n.unix = function () { - return Math.floor(this.valueOf() / 1e3); - }), - (_n.valueOf = function () { - return this._d.valueOf() - 6e4 * (this._offset || 0); - }), - (_n.creationData = function () { - return { - input: this._i, - format: this._f, - locale: this._locale, - isUTC: this._isUTC, - strict: this._strict, - }; - }), - (_n.eraName = function () { - for ( - var e, t = this.localeData().eras(), n = 0, s = t.length; - n < s; - ++n - ) { - if ( - ((e = this.clone().startOf('day').valueOf()), - t[n].since <= e && e <= t[n].until) - ) - return t[n].name; - if (t[n].until <= e && e <= t[n].since) return t[n].name; - } - return ''; - }), - (_n.eraNarrow = function () { - for ( - var e, t = this.localeData().eras(), n = 0, s = t.length; - n < s; - ++n - ) { - if ( - ((e = this.clone().startOf('day').valueOf()), - t[n].since <= e && e <= t[n].until) - ) - return t[n].narrow; - if (t[n].until <= e && e <= t[n].since) return t[n].narrow; - } - return ''; - }), - (_n.eraAbbr = function () { - for ( - var e, t = this.localeData().eras(), n = 0, s = t.length; - n < s; - ++n - ) { - if ( - ((e = this.clone().startOf('day').valueOf()), - t[n].since <= e && e <= t[n].until) - ) - return t[n].abbr; - if (t[n].until <= e && e <= t[n].since) return t[n].abbr; - } - return ''; - }), - (_n.eraYear = function () { - for ( - var e, t, n = this.localeData().eras(), s = 0, i = n.length; - s < i; - ++s - ) - if ( - ((e = n[s].since <= n[s].until ? 1 : -1), - (t = this.clone().startOf('day').valueOf()), - (n[s].since <= t && t <= n[s].until) || - (n[s].until <= t && t <= n[s].since)) - ) - return (this.year() - p(n[s].since).year()) * e + n[s].offset; - return this.year(); - }), - (_n.year = Ue), - (_n.isLeapYear = function () { - return j(this.year()); - }), - (_n.weekYear = function (e) { - return un.call( - this, - e, - this.week(), - this.weekday(), - this.localeData()._week.dow, - this.localeData()._week.doy - ); - }), - (_n.isoWeekYear = function (e) { - return un.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4); - }), - (_n.quarter = _n.quarters = - function (e) { - return null == e - ? Math.ceil((this.month() + 1) / 3) - : this.month(3 * (e - 1) + (this.month() % 3)); - }), - (_n.month = Re), - (_n.daysInMonth = function () { - return be(this.year(), this.month()); - }), - (_n.week = _n.weeks = - function (e) { - var t = this.localeData().week(this); - return null == e ? t : this.add(7 * (e - t), 'd'); - }), - (_n.isoWeek = _n.isoWeeks = - function (e) { - var t = Ge(this, 1, 4).week; - return null == e ? t : this.add(7 * (e - t), 'd'); - }), - (_n.weeksInYear = function () { - var e = this.localeData()._week; - return Ae(this.year(), e.dow, e.doy); - }), - (_n.weeksInWeekYear = function () { - var e = this.localeData()._week; - return Ae(this.weekYear(), e.dow, e.doy); - }), - (_n.isoWeeksInYear = function () { - return Ae(this.year(), 1, 4); - }), - (_n.isoWeeksInISOWeekYear = function () { - return Ae(this.isoWeekYear(), 1, 4); - }), - (_n.date = ln), - (_n.day = _n.days = - function (e) { - if (!this.isValid()) return null != e ? this : NaN; - var t, - n, - s = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); - return null != e - ? ((t = e), - (n = this.localeData()), - (e = - 'string' != typeof t - ? t - : isNaN(t) - ? 'number' == typeof (t = n.weekdaysParse(t)) - ? t - : null - : parseInt(t, 10)), - this.add(e - s, 'd')) - : s; - }), - (_n.weekday = function (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'); - }), - (_n.isoWeekday = function (e) { - if (!this.isValid()) return null != e ? this : NaN; - if (null == e) return this.day() || 7; - var t, - n, - s = - ((t = e), - (n = this.localeData()), - 'string' == typeof t - ? n.weekdaysParse(t) % 7 || 7 - : isNaN(t) - ? null - : t); - return this.day(this.day() % 7 ? s : s - 7); - }), - (_n.dayOfYear = function (e) { - var t = - Math.round( - (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5 - ) + 1; - return null == e ? t : this.add(e - t, 'd'); - }), - (_n.hour = _n.hours = tt), - (_n.minute = _n.minutes = dn), - (_n.second = _n.seconds = fn), - (_n.millisecond = _n.milliseconds = cn), - (_n.utcOffset = function (e, t, n) { - var s, - i = this._offset || 0; - if (!this.isValid()) return null != e ? this : NaN; - if (null == e) return this._isUTC ? i : Ft(this); - if ('string' == typeof e) { - if (null === (e = Ct(de, e))) return this; - } else Math.abs(e) < 16 && !n && (e *= 60); - return ( - !this._isUTC && t && (s = Ft(this)), - (this._offset = e), - (this._isUTC = !0), - null != s && this.add(s, 'm'), - i !== e && - (!t || this._changeInProgress - ? Zt(this, At(e - i, 'm'), 1, !1) - : this._changeInProgress || - ((this._changeInProgress = !0), - p.updateOffset(this, !0), - (this._changeInProgress = null))), - this - ); - }), - (_n.utc = function (e) { - return this.utcOffset(0, e); - }), - (_n.local = function (e) { - return ( - this._isUTC && - (this.utcOffset(0, e), - (this._isUTC = !1), - e && this.subtract(Ft(this), 'm')), - this - ); - }), - (_n.parseZone = function () { - var e; - return ( - null != this._tzm - ? this.utcOffset(this._tzm, !1, !0) - : 'string' == typeof this._i && - (null != (e = Ct(le, this._i)) - ? this.utcOffset(e) - : this.utcOffset(0, !0)), - this - ); - }), - (_n.hasAlignedHourOffset = function (e) { - return ( - !!this.isValid() && - ((e = e ? Ot(e).utcOffset() : 0), (this.utcOffset() - e) % 60 == 0) - ); - }), - (_n.isDST = function () { - return ( - this.utcOffset() > this.clone().month(0).utcOffset() || - this.utcOffset() > this.clone().month(5).utcOffset() - ); - }), - (_n.isLocal = function () { - return !!this.isValid() && !this._isUTC; - }), - (_n.isUtcOffset = function () { - return !!this.isValid() && this._isUTC; - }), - (_n.isUtc = Vt), - (_n.isUTC = Vt), - (_n.zoneAbbr = function () { - return this._isUTC ? 'UTC' : ''; - }), - (_n.zoneName = function () { - return this._isUTC ? 'Coordinated Universal Time' : ''; - }), - (_n.dates = n('dates accessor is deprecated. Use date instead.', ln)), - (_n.months = n('months accessor is deprecated. Use month instead', Re)), - (_n.years = n('years accessor is deprecated. Use year instead', Ue)), - (_n.zone = n( - 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', - function (e, t) { - return null != e - ? ('string' != typeof e && (e = -e), this.utcOffset(e, t), this) - : -this.utcOffset(); - } - )), - (_n.isDSTShifted = n( - 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', - function () { - if (!f(this._isDSTShifted)) return this._isDSTShifted; - var e, - t = {}; - return ( - k(t, this), - (t = kt(t))._a - ? ((e = (t._isUTC ? w : Ot)(t._a)), - (this._isDSTShifted = - this.isValid() && - 0 < - (function (e, t, n) { - for ( - var s = Math.min(e.length, t.length), - i = Math.abs(e.length - t.length), - r = 0, - a = 0; - a < s; - a++ - ) - z(e[a]) !== z(t[a]) && r++; - return r + i; - })(t._a, e.toArray()))) - : (this._isDSTShifted = !1), - this._isDSTShifted - ); - } - )); - var gn = T.prototype; - function wn(e, t, n, s) { - var i = lt(), - r = w().set(s, t); - return i[n](r, e); - } - function pn(e, t, n) { - if ((m(e) && ((t = e), (e = void 0)), (e = e || ''), null != t)) - return wn(e, t, n, 'month'); - for (var s = [], i = 0; i < 12; i++) s[i] = wn(e, i, n, 'month'); - return s; - } - function Yn(e, t, n, s) { - 'boolean' == typeof e - ? m(t) && ((n = t), (t = void 0)) - : ((t = e), (e = !1), m((n = t)) && ((n = t), (t = void 0))), - (t = t || ''); - var i, - r = lt(), - a = e ? r._week.dow : 0, - o = []; - if (null != n) return wn(t, (n + a) % 7, s, 'day'); - for (i = 0; i < 7; i++) o[i] = wn(t, (i + a) % 7, s, 'day'); - return o; - } - (gn.calendar = function (e, t, n) { - var s = this._calendar[e] || this._calendar.sameElse; - return b(s) ? s.call(t, n) : s; - }), - (gn.longDateFormat = function (e) { - var t = this._longDateFormat[e], - n = this._longDateFormat[e.toUpperCase()]; - return t || !n - ? t - : ((this._longDateFormat[e] = n - .match(N) - .map(function (e) { - return 'MMMM' === e || 'MM' === e || 'DD' === e || 'dddd' === e - ? e.slice(1) - : e; - }) - .join('')), - this._longDateFormat[e]); - }), - (gn.invalidDate = function () { - return this._invalidDate; - }), - (gn.ordinal = function (e) { - return this._ordinal.replace('%d', e); - }), - (gn.preparse = yn), - (gn.postformat = yn), - (gn.relativeTime = function (e, t, n, s) { - var i = this._relativeTime[n]; - return b(i) ? i(e, t, n, s) : i.replace(/%d/i, e); - }), - (gn.pastFuture = function (e, t) { - var n = this._relativeTime[0 < e ? 'future' : 'past']; - return b(n) ? n(t) : n.replace(/%s/i, t); - }), - (gn.set = function (e) { - var t, n; - for (n in e) - Y(e, n) && (b((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 - )); - }), - (gn.eras = function (e, t) { - for ( - var n, s = this._eras || lt('en')._eras, i = 0, r = s.length; - i < r; - ++i - ) { - switch (typeof s[i].since) { - case 'string': - (n = p(s[i].since).startOf('day')), (s[i].since = n.valueOf()); - } - switch (typeof s[i].until) { - case 'undefined': - s[i].until = 1 / 0; - break; - case 'string': - (n = p(s[i].until).startOf('day').valueOf()), - (s[i].until = n.valueOf()); - } - } - return s; - }), - (gn.erasParse = function (e, t, n) { - var s, - i, - r, - a, - o, - u = this.eras(); - for (e = e.toUpperCase(), s = 0, i = u.length; s < i; ++s) - if ( - ((r = u[s].name.toUpperCase()), - (a = u[s].abbr.toUpperCase()), - (o = u[s].narrow.toUpperCase()), - n) - ) - switch (t) { - case 'N': - case 'NN': - case 'NNN': - if (a === e) return u[s]; - break; - case 'NNNN': - if (r === e) return u[s]; - break; - case 'NNNNN': - if (o === e) return u[s]; - } - else if (0 <= [r, a, o].indexOf(e)) return u[s]; - }), - (gn.erasConvertYear = function (e, t) { - var n = e.since <= e.until ? 1 : -1; - return void 0 === t - ? p(e.since).year() - : p(e.since).year() + (t - e.offset) * n; - }), - (gn.erasAbbrRegex = function (e) { - return ( - Y(this, '_erasAbbrRegex') || an.call(this), - e ? this._erasAbbrRegex : this._erasRegex - ); - }), - (gn.erasNameRegex = function (e) { - return ( - Y(this, '_erasNameRegex') || an.call(this), - e ? this._erasNameRegex : this._erasRegex - ); - }), - (gn.erasNarrowRegex = function (e) { - return ( - Y(this, '_erasNarrowRegex') || an.call(this), - e ? this._erasNarrowRegex : this._erasRegex - ); - }), - (gn.months = function (e, t) { - return e - ? d(this._months) - ? this._months[e.month()] - : this._months[ - (this._months.isFormat || Ne).test(t) ? 'format' : 'standalone' - ][e.month()] - : d(this._months) - ? this._months - : this._months.standalone; - }), - (gn.monthsShort = function (e, t) { - return e - ? d(this._monthsShort) - ? this._monthsShort[e.month()] - : this._monthsShort[Ne.test(t) ? 'format' : 'standalone'][e.month()] - : d(this._monthsShort) - ? this._monthsShort - : this._monthsShort.standalone; - }), - (gn.monthsParse = function (e, t, n) { - var s, i, r; - if (this._monthsParseExact) - return function (e, t, n) { - var s, - i, - r, - a = e.toLocaleLowerCase(); - if (!this._monthsParse) - for ( - this._monthsParse = [], - this._longMonthsParse = [], - this._shortMonthsParse = [], - s = 0; - s < 12; - ++s - ) - (r = w([2e3, s])), - (this._shortMonthsParse[s] = this.monthsShort( - r, - '' - ).toLocaleLowerCase()), - (this._longMonthsParse[s] = this.months( - r, - '' - ).toLocaleLowerCase()); - return n - ? 'MMM' === t - ? -1 !== (i = ge.call(this._shortMonthsParse, a)) - ? i - : null - : -1 !== (i = ge.call(this._longMonthsParse, a)) - ? i - : null - : 'MMM' === t - ? -1 !== (i = ge.call(this._shortMonthsParse, a)) || - -1 !== (i = ge.call(this._longMonthsParse, a)) - ? i - : null - : -1 !== (i = ge.call(this._longMonthsParse, a)) || - -1 !== (i = ge.call(this._shortMonthsParse, a)) - ? i - : null; - }.call(this, e, t, n); - for ( - this._monthsParse || - ((this._monthsParse = []), - (this._longMonthsParse = []), - (this._shortMonthsParse = [])), - s = 0; - s < 12; - s++ - ) { - if ( - ((i = w([2e3, s])), - n && - !this._longMonthsParse[s] && - ((this._longMonthsParse[s] = new RegExp( - '^' + this.months(i, '').replace('.', '') + '$', - 'i' - )), - (this._shortMonthsParse[s] = new RegExp( - '^' + this.monthsShort(i, '').replace('.', '') + '$', - 'i' - ))), - n || - this._monthsParse[s] || - ((r = '^' + this.months(i, '') + '|^' + this.monthsShort(i, '')), - (this._monthsParse[s] = new RegExp(r.replace('.', ''), 'i'))), - n && 'MMMM' === t && this._longMonthsParse[s].test(e)) - ) - return s; - if (n && 'MMM' === t && this._shortMonthsParse[s].test(e)) return s; - if (!n && this._monthsParse[s].test(e)) return s; - } - }), - (gn.monthsRegex = function (e) { - return this._monthsParseExact - ? (Y(this, '_monthsRegex') || He.call(this), - e ? this._monthsStrictRegex : this._monthsRegex) - : (Y(this, '_monthsRegex') || (this._monthsRegex = Pe), - this._monthsStrictRegex && e - ? this._monthsStrictRegex - : this._monthsRegex); - }), - (gn.monthsShortRegex = function (e) { - return this._monthsParseExact - ? (Y(this, '_monthsRegex') || He.call(this), - e ? this._monthsShortStrictRegex : this._monthsShortRegex) - : (Y(this, '_monthsShortRegex') || (this._monthsShortRegex = Le), - this._monthsShortStrictRegex && e - ? this._monthsShortStrictRegex - : this._monthsShortRegex); - }), - (gn.week = function (e) { - return Ge(e, this._week.dow, this._week.doy).week; - }), - (gn.firstDayOfYear = function () { - return this._week.doy; - }), - (gn.firstDayOfWeek = function () { - return this._week.dow; - }), - (gn.weekdays = function (e, t) { - var n = d(this._weekdays) - ? this._weekdays - : this._weekdays[ - e && !0 !== e && this._weekdays.isFormat.test(t) - ? 'format' - : 'standalone' - ]; - return !0 === e ? je(n, this._week.dow) : e ? n[e.day()] : n; - }), - (gn.weekdaysMin = function (e) { - return !0 === e - ? je(this._weekdaysMin, this._week.dow) - : e - ? this._weekdaysMin[e.day()] - : this._weekdaysMin; - }), - (gn.weekdaysShort = function (e) { - return !0 === e - ? je(this._weekdaysShort, this._week.dow) - : e - ? this._weekdaysShort[e.day()] - : this._weekdaysShort; - }), - (gn.weekdaysParse = function (e, t, n) { - var s, i, r; - if (this._weekdaysParseExact) - return function (e, t, n) { - var s, - i, - r, - a = e.toLocaleLowerCase(); - if (!this._weekdaysParse) - for ( - this._weekdaysParse = [], - this._shortWeekdaysParse = [], - this._minWeekdaysParse = [], - s = 0; - s < 7; - ++s - ) - (r = w([2e3, 1]).day(s)), - (this._minWeekdaysParse[s] = this.weekdaysMin( - r, - '' - ).toLocaleLowerCase()), - (this._shortWeekdaysParse[s] = this.weekdaysShort( - r, - '' - ).toLocaleLowerCase()), - (this._weekdaysParse[s] = this.weekdays( - r, - '' - ).toLocaleLowerCase()); - return n - ? 'dddd' === t - ? -1 !== (i = ge.call(this._weekdaysParse, a)) - ? i - : null - : 'ddd' === t - ? -1 !== (i = ge.call(this._shortWeekdaysParse, a)) - ? i - : null - : -1 !== (i = ge.call(this._minWeekdaysParse, a)) - ? i - : null - : 'dddd' === t - ? -1 !== (i = ge.call(this._weekdaysParse, a)) || - -1 !== (i = ge.call(this._shortWeekdaysParse, a)) || - -1 !== (i = ge.call(this._minWeekdaysParse, a)) - ? i - : null - : 'ddd' === t - ? -1 !== (i = ge.call(this._shortWeekdaysParse, a)) || - -1 !== (i = ge.call(this._weekdaysParse, a)) || - -1 !== (i = ge.call(this._minWeekdaysParse, a)) - ? i - : null - : -1 !== (i = ge.call(this._minWeekdaysParse, a)) || - -1 !== (i = ge.call(this._weekdaysParse, a)) || - -1 !== (i = ge.call(this._shortWeekdaysParse, a)) - ? i - : null; - }.call(this, e, t, n); - for ( - this._weekdaysParse || - ((this._weekdaysParse = []), - (this._minWeekdaysParse = []), - (this._shortWeekdaysParse = []), - (this._fullWeekdaysParse = [])), - s = 0; - s < 7; - s++ - ) { - if ( - ((i = w([2e3, 1]).day(s)), - n && - !this._fullWeekdaysParse[s] && - ((this._fullWeekdaysParse[s] = new RegExp( - '^' + this.weekdays(i, '').replace('.', '\\.?') + '$', - 'i' - )), - (this._shortWeekdaysParse[s] = new RegExp( - '^' + this.weekdaysShort(i, '').replace('.', '\\.?') + '$', - 'i' - )), - (this._minWeekdaysParse[s] = new RegExp( - '^' + this.weekdaysMin(i, '').replace('.', '\\.?') + '$', - 'i' - ))), - this._weekdaysParse[s] || - ((r = - '^' + - this.weekdays(i, '') + - '|^' + - this.weekdaysShort(i, '') + - '|^' + - this.weekdaysMin(i, '')), - (this._weekdaysParse[s] = new RegExp(r.replace('.', ''), 'i'))), - n && 'dddd' === t && this._fullWeekdaysParse[s].test(e)) - ) - return s; - if (n && 'ddd' === t && this._shortWeekdaysParse[s].test(e)) return s; - if (n && 'dd' === t && this._minWeekdaysParse[s].test(e)) return s; - if (!n && this._weekdaysParse[s].test(e)) return s; - } - }), - (gn.weekdaysRegex = function (e) { - return this._weekdaysParseExact - ? (Y(this, '_weekdaysRegex') || Je.call(this), - e ? this._weekdaysStrictRegex : this._weekdaysRegex) - : (Y(this, '_weekdaysRegex') || (this._weekdaysRegex = qe), - this._weekdaysStrictRegex && e - ? this._weekdaysStrictRegex - : this._weekdaysRegex); - }), - (gn.weekdaysShortRegex = function (e) { - return this._weekdaysParseExact - ? (Y(this, '_weekdaysRegex') || Je.call(this), - e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) - : (Y(this, '_weekdaysShortRegex') || (this._weekdaysShortRegex = $e), - this._weekdaysShortStrictRegex && e - ? this._weekdaysShortStrictRegex - : this._weekdaysShortRegex); - }), - (gn.weekdaysMinRegex = function (e) { - return this._weekdaysParseExact - ? (Y(this, '_weekdaysRegex') || Je.call(this), - e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) - : (Y(this, '_weekdaysMinRegex') || (this._weekdaysMinRegex = Be), - this._weekdaysMinStrictRegex && e - ? this._weekdaysMinStrictRegex - : this._weekdaysMinRegex); - }), - (gn.isPM = function (e) { - return 'p' === (e + '').toLowerCase().charAt(0); - }), - (gn.meridiem = function (e, t, n) { - return 11 < e ? (n ? 'pm' : 'PM') : n ? 'am' : 'AM'; - }), - ot('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 === z((e % 100) / 10) - ? 'th' - : 1 == t - ? 'st' - : 2 == t - ? 'nd' - : 3 == t - ? 'rd' - : 'th') - ); - }, - }), - (p.lang = n('moment.lang is deprecated. Use moment.locale instead.', ot)), - (p.langData = n( - 'moment.langData is deprecated. Use moment.localeData instead.', - lt - )); - var vn = Math.abs; - function Mn(e, t, n, s) { - var i = At(t, n); - return ( - (e._milliseconds += s * i._milliseconds), - (e._days += s * i._days), - (e._months += s * i._months), - e._bubble() - ); - } - function Dn(e) { - return e < 0 ? Math.floor(e) : Math.ceil(e); - } - function kn(e) { - return (4800 * e) / 146097; - } - function Sn(e) { - return (146097 * e) / 4800; - } - function On(e) { - return function () { - return this.as(e); - }; - } - var bn = On('ms'), - Tn = On('s'), - xn = On('m'), - Nn = On('h'), - Ln = On('d'), - Pn = On('w'), - Wn = On('M'), - Rn = On('Q'), - Hn = On('y'); - function Cn(e) { - return function () { - return this.isValid() ? this._data[e] : NaN; - }; - } - var Un = Cn('milliseconds'), - Fn = Cn('seconds'), - Vn = Cn('minutes'), - En = Cn('hours'), - Gn = Cn('days'), - An = Cn('months'), - jn = Cn('years'), - In = Math.round, - zn = { ss: 44, s: 45, m: 45, h: 22, d: 26, w: null, M: 11 }; - var Zn = Math.abs; - function qn(e) { - return (0 < e) - (e < 0) || +e; - } - function $n() { - if (!this.isValid()) return this.localeData().invalidDate(); - var e, - t, - n, - s, - i, - r, - a, - o, - u = Zn(this._milliseconds) / 1e3, - l = Zn(this._days), - d = Zn(this._months), - h = this.asSeconds(); - return h - ? ((t = I((e = I(u / 60)) / 60)), - (u %= 60), - (e %= 60), - (n = I(d / 12)), - (d %= 12), - (s = u ? u.toFixed(3).replace(/\.?0+$/, '') : ''), - (i = h < 0 ? '-' : ''), - (r = qn(this._months) !== qn(h) ? '-' : ''), - (a = qn(this._days) !== qn(h) ? '-' : ''), - (o = qn(this._milliseconds) !== qn(h) ? '-' : ''), - i + - 'P' + - (n ? r + n + 'Y' : '') + - (d ? r + d + 'M' : '') + - (l ? a + l + 'D' : '') + - (t || e || u ? 'T' : '') + - (t ? o + t + 'H' : '') + - (e ? o + e + 'M' : '') + - (u ? o + s + 'S' : '')) - : 'P0D'; - } - var Bn = Lt.prototype; - return ( - (Bn.isValid = function () { - return this._isValid; - }), - (Bn.abs = function () { - var e = this._data; - return ( - (this._milliseconds = vn(this._milliseconds)), - (this._days = vn(this._days)), - (this._months = vn(this._months)), - (e.milliseconds = vn(e.milliseconds)), - (e.seconds = vn(e.seconds)), - (e.minutes = vn(e.minutes)), - (e.hours = vn(e.hours)), - (e.months = vn(e.months)), - (e.years = vn(e.years)), - this - ); - }), - (Bn.add = function (e, t) { - return Mn(this, e, t, 1); - }), - (Bn.subtract = function (e, t) { - return Mn(this, e, t, -1); - }), - (Bn.as = function (e) { - if (!this.isValid()) return NaN; - var t, - n, - s = this._milliseconds; - if ('month' === (e = V(e)) || 'quarter' === e || 'year' === e) - switch (((t = this._days + s / 864e5), (n = this._months + kn(t)), e)) { - case 'month': - return n; - case 'quarter': - return n / 3; - case 'year': - return n / 12; - } - else - switch (((t = this._days + Math.round(Sn(this._months))), e)) { - case 'week': - return t / 7 + s / 6048e5; - case 'day': - return t + s / 864e5; - case 'hour': - return 24 * t + s / 36e5; - case 'minute': - return 1440 * t + s / 6e4; - case 'second': - return 86400 * t + s / 1e3; - case 'millisecond': - return Math.floor(864e5 * t) + s; - default: - throw new Error('Unknown unit ' + e); - } - }), - (Bn.asMilliseconds = bn), - (Bn.asSeconds = Tn), - (Bn.asMinutes = xn), - (Bn.asHours = Nn), - (Bn.asDays = Ln), - (Bn.asWeeks = Pn), - (Bn.asMonths = Wn), - (Bn.asQuarters = Rn), - (Bn.asYears = Hn), - (Bn.valueOf = function () { - return this.isValid() - ? this._milliseconds + - 864e5 * this._days + - (this._months % 12) * 2592e6 + - 31536e6 * z(this._months / 12) - : NaN; - }), - (Bn._bubble = function () { - var e, - t, - n, - s, - i, - r = this._milliseconds, - a = this._days, - o = this._months, - u = this._data; - return ( - (0 <= r && 0 <= a && 0 <= o) || - (r <= 0 && a <= 0 && o <= 0) || - ((r += 864e5 * Dn(Sn(o) + a)), (o = a = 0)), - (u.milliseconds = r % 1e3), - (e = I(r / 1e3)), - (u.seconds = e % 60), - (t = I(e / 60)), - (u.minutes = t % 60), - (n = I(t / 60)), - (u.hours = n % 24), - (o += i = I(kn((a += I(n / 24))))), - (a -= Dn(Sn(i))), - (s = I(o / 12)), - (o %= 12), - (u.days = a), - (u.months = o), - (u.years = s), - this - ); - }), - (Bn.clone = function () { - return At(this); - }), - (Bn.get = function (e) { - return (e = V(e)), this.isValid() ? this[e + 's']() : NaN; - }), - (Bn.milliseconds = Un), - (Bn.seconds = Fn), - (Bn.minutes = Vn), - (Bn.hours = En), - (Bn.days = Gn), - (Bn.weeks = function () { - return I(this.days() / 7); - }), - (Bn.months = An), - (Bn.years = jn), - (Bn.humanize = function (e, t) { - if (!this.isValid()) return this.localeData().invalidDate(); - var n, - s, - i, - r, - a, - o, - u, - l, - d, - h, - c, - f, - m, - _, - y, - g = !1, - w = zn; - return ( - 'object' == typeof e && ((t = e), (e = !1)), - 'boolean' == typeof e && (g = e), - 'object' == typeof t && - ((w = Object.assign({}, zn, t)), - null != t.s && null == t.ss && (w.ss = t.s - 1)), - (n = this.localeData()), - (r = !g), - (a = w), - (o = n), - (u = At((i = this)).abs()), - (l = In(u.as('s'))), - (d = In(u.as('m'))), - (h = In(u.as('h'))), - (c = In(u.as('d'))), - (f = In(u.as('M'))), - (m = In(u.as('w'))), - (_ = In(u.as('y'))), - (y = - (l <= a.ss ? ['s', l] : l < a.s && ['ss', l]) || - (d <= 1 && ['m']) || - (d < a.m && ['mm', d]) || - (h <= 1 && ['h']) || - (h < a.h && ['hh', h]) || - (c <= 1 && ['d']) || - (c < a.d && ['dd', c])), - null != a.w && (y = y || (m <= 1 && ['w']) || (m < a.w && ['ww', m])), - ((y = y || - (f <= 1 && ['M']) || - (f < a.M && ['MM', f]) || - (_ <= 1 && ['y']) || ['yy', _])[2] = r), - (y[3] = 0 < +i), - (y[4] = o), - (s = function (e, t, n, s, i) { - return i.relativeTime(t || 1, !!n, e, s); - }.apply(null, y)), - g && (s = n.pastFuture(+this, s)), - n.postformat(s) - ); - }), - (Bn.toISOString = $n), - (Bn.toString = $n), - (Bn.toJSON = $n), - (Bn.locale = Qt), - (Bn.localeData = Kt), - (Bn.toIsoString = n( - 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', - $n - )), - (Bn.lang = Xt), - R('X', 0, 0, 'unix'), - R('x', 0, 0, 'valueOf'), - ce('x', ue), - ce('X', /[+-]?\d+(\.\d{1,3})?/), - _e('X', function (e, t, n) { - n._d = new Date(1e3 * parseFloat(e)); - }), - _e('x', function (e, t, n) { - n._d = new Date(z(e)); - }), - (p.version = '2.29.1'), - (e = Ot), - (p.fn = _n), - (p.min = function () { - return xt('isBefore', [].slice.call(arguments, 0)); - }), - (p.max = function () { - return xt('isAfter', [].slice.call(arguments, 0)); - }), - (p.now = function () { - return Date.now ? Date.now() : +new Date(); - }), - (p.utc = w), - (p.unix = function (e) { - return Ot(1e3 * e); - }), - (p.months = function (e, t) { - return pn(e, t, 'months'); - }), - (p.isDate = _), - (p.locale = ot), - (p.invalid = D), - (p.duration = At), - (p.isMoment = O), - (p.weekdays = function (e, t, n) { - return Yn(e, t, n, 'weekdays'); - }), - (p.parseZone = function () { - return Ot.apply(null, arguments).parseZone(); - }), - (p.localeData = lt), - (p.isDuration = Pt), - (p.monthsShort = function (e, t) { - return pn(e, t, 'monthsShort'); - }), - (p.weekdaysMin = function (e, t, n) { - return Yn(e, t, n, 'weekdaysMin'); - }), - (p.defineLocale = ut), - (p.updateLocale = function (e, t) { - var n, s, i; - return ( - null != t - ? ((i = nt), - null != st[e] && null != st[e].parentLocale - ? st[e].set(l(st[e]._config, t)) - : (null != (s = at(e)) && (i = s._config), - (t = l(i, t)), - null == s && (t.abbr = e), - ((n = new T(t)).parentLocale = st[e]), - (st[e] = n)), - ot(e)) - : null != st[e] && - (null != st[e].parentLocale - ? ((st[e] = st[e].parentLocale), e === ot() && ot(e)) - : null != st[e] && delete st[e]), - st[e] - ); - }), - (p.locales = function () { - return s(st); - }), - (p.weekdaysShort = function (e, t, n) { - return Yn(e, t, n, 'weekdaysShort'); - }), - (p.normalizeUnits = V), - (p.relativeTimeRounding = function (e) { - return void 0 === e ? In : 'function' == typeof e && ((In = e), !0); - }), - (p.relativeTimeThreshold = function (e, t) { - return ( - void 0 !== zn[e] && - (void 0 === t ? zn[e] : ((zn[e] = t), 's' === e && (zn.ss = t - 1), !0)) - ); - }), - (p.calendarFormat = function (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'; - }), - (p.prototype = _n), - (p.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', - }), - p - ); -}), - (function (e, t) { - 'object' == typeof exports && - 'undefined' != typeof module && - 'function' == typeof require - ? t(require('../moment')) - : 'function' == typeof define && define.amd - ? define(['../moment'], t) - : t(e.moment); - })(this, function (e) { - 'use strict'; - return e.defineLocale('zh-cn', { - months: - '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( - '_' - ), - monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( - '_' - ), - weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), - weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), - weekdaysMin: '日_一_二_三_四_五_六'.split('_'), - longDateFormat: { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L: 'YYYY/MM/DD', - LL: 'YYYY年M月D日', - LLL: 'YYYY年M月D日Ah点mm分', - LLLL: 'YYYY年M月D日ddddAh点mm分', - l: 'YYYY/M/D', - ll: 'YYYY年M月D日', - lll: 'YYYY年M月D日 HH:mm', - llll: 'YYYY年M月D日dddd HH:mm', - }, - meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, - meridiemHour: function (e, t) { - return ( - 12 === e && (e = 0), - '凌晨' === t || '早上' === t || '上午' === t - ? e - : '下午' === t || '晚上' === t - ? e + 12 - : 11 <= e - ? e - : e + 12 - ); - }, - meridiem: function (e, t, n) { - var s = 100 * e + t; - return s < 600 - ? '凌晨' - : s < 900 - ? '早上' - : s < 1130 - ? '上午' - : s < 1230 - ? '中午' - : s < 1800 - ? '下午' - : '晚上'; - }, - calendar: { - sameDay: '[今天]LT', - nextDay: '[明天]LT', - nextWeek: function (e) { - return e.week() !== this.week() ? '[下]dddLT' : '[本]dddLT'; - }, - lastDay: '[昨天]LT', - lastWeek: function (e) { - return this.week() !== e.week() ? '[上]dddLT' : '[本]dddLT'; - }, - sameElse: 'L', - }, - dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/, - ordinal: function (e, t) { - switch (t) { - case 'd': - case 'D': - case 'DDD': - return e + '日'; - case 'M': - return e + '月'; - case 'w': - case 'W': - return e + '周'; - default: - return e; - } - }, - relativeTime: { - future: '%s后', - past: '%s前', - s: '几秒', - ss: '%d 秒', - m: '1 分钟', - mm: '%d 分钟', - h: '1 小时', - hh: '%d 小时', - d: '1 天', - dd: '%d 天', - w: '1 周', - ww: '%d 周', - M: '1 个月', - MM: '%d 个月', - y: '1 年', - yy: '%d 年', - }, - week: { dow: 1, doy: 4 }, - }); - }), - (function (e, t) { - 'object' == typeof exports && - 'undefined' != typeof module && - 'function' == typeof require - ? t(require('../moment')) - : 'function' == typeof define && define.amd - ? define(['../moment'], t) - : t(e.moment); - })(this, function (e) { - 'use strict'; - return e.defineLocale('zh-tw', { - months: - '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split( - '_' - ), - monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split( - '_' - ), - weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), - weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), - weekdaysMin: '日_一_二_三_四_五_六'.split('_'), - longDateFormat: { - LT: 'HH:mm', - LTS: 'HH:mm:ss', - L: 'YYYY/MM/DD', - LL: 'YYYY年M月D日', - LLL: 'YYYY年M月D日 HH:mm', - LLLL: 'YYYY年M月D日dddd HH:mm', - l: 'YYYY/M/D', - ll: 'YYYY年M月D日', - lll: 'YYYY年M月D日 HH:mm', - llll: 'YYYY年M月D日dddd HH:mm', - }, - meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, - meridiemHour: function (e, t) { - return ( - 12 === e && (e = 0), - '凌晨' === t || '早上' === t || '上午' === t - ? e - : '中午' === t - ? 11 <= e - ? e - : e + 12 - : '下午' === t || '晚上' === t - ? e + 12 - : void 0 - ); - }, - meridiem: function (e, t, n) { - var s = 100 * e + t; - return s < 600 - ? '凌晨' - : s < 900 - ? '早上' - : s < 1130 - ? '上午' - : s < 1230 - ? '中午' - : s < 1800 - ? '下午' - : '晚上'; - }, - calendar: { - sameDay: '[今天] LT', - nextDay: '[明天] LT', - nextWeek: '[下]dddd LT', - lastDay: '[昨天] LT', - lastWeek: '[上]dddd LT', - sameElse: 'L', - }, - dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, - ordinal: function (e, t) { - switch (t) { - case 'd': - case 'D': - case 'DDD': - return e + '日'; - case 'M': - return e + '月'; - case 'w': - case 'W': - return e + '週'; - default: - return e; - } - }, - relativeTime: { - future: '%s後', - past: '%s前', - s: '幾秒', - ss: '%d 秒', - m: '1 分鐘', - mm: '%d 分鐘', - h: '1 小時', - hh: '%d 小時', - d: '1 天', - dd: '%d 天', - M: '1 個月', - MM: '%d 個月', - y: '1 年', - yy: '%d 年', - }, - }); - });