@opfr/utils-lang 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/memory.test.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/memory.d.ts +2 -0
- package/dist/utils-lang.js +759 -747
- package/dist/utils-lang.umd.cjs +5 -5
- package/package.json +1 -1
package/dist/utils-lang.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
const
|
|
1
|
+
const xi = (e, t) => e.reduce((r, s, a) => {
|
|
2
2
|
const n = Math.floor(a / t);
|
|
3
3
|
return (r[n] || (r[n] = [])).push(s), r;
|
|
4
|
-
}, []),
|
|
4
|
+
}, []), Pi = (e, t) => e.reduce(
|
|
5
5
|
(r, s) => ((r[t(s)] = r[t(s)] || []).push(s), r),
|
|
6
6
|
{}
|
|
7
|
-
),
|
|
7
|
+
), Wi = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0), Ni = (e, t, r = (s) => s) => e.filter((s) => t.some((a) => r(a) === r(s))), Ri = (e, t, r = (s) => s) => e.filter((s) => !t.some((a) => r(a) === r(s))), Fi = (e, t) => [...new Set(e.map((r) => t(r)))];
|
|
8
8
|
//! moment.js
|
|
9
9
|
//! version : 2.30.1
|
|
10
10
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
11
11
|
//! license : MIT
|
|
12
12
|
//! momentjs.com
|
|
13
|
-
var
|
|
13
|
+
var Nt;
|
|
14
14
|
function l() {
|
|
15
|
-
return
|
|
15
|
+
return Nt.apply(null, arguments);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
17
|
+
function vr(e) {
|
|
18
|
+
Nt = e;
|
|
19
19
|
}
|
|
20
20
|
function R(e) {
|
|
21
21
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
@@ -26,7 +26,7 @@ function re(e) {
|
|
|
26
26
|
function w(e, t) {
|
|
27
27
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function st(e) {
|
|
30
30
|
if (Object.getOwnPropertyNames)
|
|
31
31
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
32
32
|
var t;
|
|
@@ -41,10 +41,10 @@ function b(e) {
|
|
|
41
41
|
function q(e) {
|
|
42
42
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function pe(e) {
|
|
45
45
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Rt(e, t) {
|
|
48
48
|
var r = [], s, a = e.length;
|
|
49
49
|
for (s = 0; s < a; ++s)
|
|
50
50
|
r.push(t(e[s], s));
|
|
@@ -55,10 +55,10 @@ function Q(e, t) {
|
|
|
55
55
|
w(t, r) && (e[r] = t[r]);
|
|
56
56
|
return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return
|
|
58
|
+
function L(e, t, r, s) {
|
|
59
|
+
return rr(e, t, r, s, !0).utc();
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Yr() {
|
|
62
62
|
return {
|
|
63
63
|
empty: !1,
|
|
64
64
|
unusedTokens: [],
|
|
@@ -79,19 +79,19 @@ function vr() {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
function c(e) {
|
|
82
|
-
return e._pf == null && (e._pf =
|
|
82
|
+
return e._pf == null && (e._pf = Yr()), e._pf;
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
Array.prototype.some ?
|
|
84
|
+
var Je;
|
|
85
|
+
Array.prototype.some ? Je = Array.prototype.some : Je = function(e) {
|
|
86
86
|
var t = Object(this), r = t.length >>> 0, s;
|
|
87
87
|
for (s = 0; s < r; s++)
|
|
88
88
|
if (s in t && e.call(this, t[s], s, t))
|
|
89
89
|
return !0;
|
|
90
90
|
return !1;
|
|
91
91
|
};
|
|
92
|
-
function
|
|
92
|
+
function at(e) {
|
|
93
93
|
var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
|
|
94
|
-
if (s && (t = c(e), r =
|
|
94
|
+
if (s && (t = c(e), r = Je.call(t.parsedDateParts, function(a) {
|
|
95
95
|
return a != null;
|
|
96
96
|
}), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && r), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
97
97
|
e._isValid = s;
|
|
@@ -99,25 +99,25 @@ function st(e) {
|
|
|
99
99
|
return s;
|
|
100
100
|
return e._isValid;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
var t =
|
|
102
|
+
function Ce(e) {
|
|
103
|
+
var t = L(NaN);
|
|
104
104
|
return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
|
|
105
105
|
}
|
|
106
|
-
var
|
|
107
|
-
function
|
|
108
|
-
var r, s, a, n =
|
|
106
|
+
var Ot = l.momentProperties = [], $e = !1;
|
|
107
|
+
function nt(e, t) {
|
|
108
|
+
var r, s, a, n = Ot.length;
|
|
109
109
|
if (b(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), b(t._i) || (e._i = t._i), b(t._f) || (e._f = t._f), b(t._l) || (e._l = t._l), b(t._strict) || (e._strict = t._strict), b(t._tzm) || (e._tzm = t._tzm), b(t._isUTC) || (e._isUTC = t._isUTC), b(t._offset) || (e._offset = t._offset), b(t._pf) || (e._pf = c(t)), b(t._locale) || (e._locale = t._locale), n > 0)
|
|
110
110
|
for (r = 0; r < n; r++)
|
|
111
|
-
s =
|
|
111
|
+
s = Ot[r], a = t[s], b(a) || (e[s] = a);
|
|
112
112
|
return e;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function ke(e) {
|
|
115
|
+
nt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), $e === !1 && ($e = !0, l.updateOffset(this), $e = !1);
|
|
116
116
|
}
|
|
117
117
|
function F(e) {
|
|
118
|
-
return e instanceof
|
|
118
|
+
return e instanceof ke || e != null && e._isAMomentObject != null;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ft(e) {
|
|
121
121
|
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
122
122
|
}
|
|
123
123
|
function P(e, t) {
|
|
@@ -136,7 +136,7 @@ function P(e, t) {
|
|
|
136
136
|
a = arguments[n];
|
|
137
137
|
s.push(a);
|
|
138
138
|
}
|
|
139
|
-
|
|
139
|
+
Ft(
|
|
140
140
|
e + `
|
|
141
141
|
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
142
142
|
` + new Error().stack
|
|
@@ -145,16 +145,16 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
|
145
145
|
return t.apply(this, arguments);
|
|
146
146
|
}, t);
|
|
147
147
|
}
|
|
148
|
-
var
|
|
149
|
-
function
|
|
150
|
-
l.deprecationHandler != null && l.deprecationHandler(e, t),
|
|
148
|
+
var bt = {};
|
|
149
|
+
function Ct(e, t) {
|
|
150
|
+
l.deprecationHandler != null && l.deprecationHandler(e, t), bt[e] || (Ft(t), bt[e] = !0);
|
|
151
151
|
}
|
|
152
152
|
l.suppressDeprecationWarnings = !1;
|
|
153
153
|
l.deprecationHandler = null;
|
|
154
154
|
function E(e) {
|
|
155
155
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Or(e) {
|
|
158
158
|
var t, r;
|
|
159
159
|
for (r in e)
|
|
160
160
|
w(e, r) && (t = e[r], E(t) ? this[r] = t : this["_" + r] = t);
|
|
@@ -162,7 +162,7 @@ function Yr(e) {
|
|
|
162
162
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function Qe(e, t) {
|
|
166
166
|
var r = Q({}, e), s;
|
|
167
167
|
for (s in t)
|
|
168
168
|
w(t, s) && (re(e[s]) && re(t[s]) ? (r[s] = {}, Q(r[s], e[s]), Q(r[s], t[s])) : t[s] != null ? r[s] = t[s] : delete r[s]);
|
|
@@ -170,17 +170,17 @@ function Je(e, t) {
|
|
|
170
170
|
w(e, s) && !w(t, s) && re(e[s]) && (r[s] = Q({}, r[s]));
|
|
171
171
|
return r;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function it(e) {
|
|
174
174
|
e != null && this.set(e);
|
|
175
175
|
}
|
|
176
|
-
var
|
|
177
|
-
Object.keys ?
|
|
176
|
+
var Ke;
|
|
177
|
+
Object.keys ? Ke = Object.keys : Ke = function(e) {
|
|
178
178
|
var t, r = [];
|
|
179
179
|
for (t in e)
|
|
180
180
|
w(e, t) && r.push(t);
|
|
181
181
|
return r;
|
|
182
182
|
};
|
|
183
|
-
var
|
|
183
|
+
var br = {
|
|
184
184
|
sameDay: "[Today at] LT",
|
|
185
185
|
nextDay: "[Tomorrow at] LT",
|
|
186
186
|
nextWeek: "dddd [at] LT",
|
|
@@ -188,21 +188,21 @@ var Or = {
|
|
|
188
188
|
lastWeek: "[Last] dddd [at] LT",
|
|
189
189
|
sameElse: "L"
|
|
190
190
|
};
|
|
191
|
-
function
|
|
191
|
+
function Tr(e, t, r) {
|
|
192
192
|
var s = this._calendar[e] || this._calendar.sameElse;
|
|
193
193
|
return E(s) ? s.call(t, r) : s;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function I(e, t, r) {
|
|
196
196
|
var s = "" + Math.abs(e), a = t - s.length, n = e >= 0;
|
|
197
197
|
return (n ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
199
|
+
var ot = /(\[[^\[]*\])|(\\)?([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, ve = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, qe = {}, oe = {};
|
|
200
200
|
function h(e, t, r, s) {
|
|
201
201
|
var a = s;
|
|
202
202
|
typeof s == "string" && (a = function() {
|
|
203
203
|
return this[s]();
|
|
204
204
|
}), e && (oe[e] = a), t && (oe[t[0]] = function() {
|
|
205
|
-
return
|
|
205
|
+
return I(a.apply(this, arguments), t[1], t[2]);
|
|
206
206
|
}), r && (oe[r] = function() {
|
|
207
207
|
return this.localeData().ordinal(
|
|
208
208
|
a.apply(this, arguments),
|
|
@@ -210,13 +210,13 @@ function h(e, t, r, s) {
|
|
|
210
210
|
);
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function xr(e) {
|
|
214
214
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
var t = e.match(
|
|
216
|
+
function Pr(e) {
|
|
217
|
+
var t = e.match(ot), r, s;
|
|
218
218
|
for (r = 0, s = t.length; r < s; r++)
|
|
219
|
-
oe[t[r]] ? t[r] = oe[t[r]] : t[r] =
|
|
219
|
+
oe[t[r]] ? t[r] = oe[t[r]] : t[r] = xr(t[r]);
|
|
220
220
|
return function(a) {
|
|
221
221
|
var n = "", i;
|
|
222
222
|
for (i = 0; i < s; i++)
|
|
@@ -224,10 +224,10 @@ function xr(e) {
|
|
|
224
224
|
return n;
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
return e.isValid() ? (t =
|
|
227
|
+
function be(e, t) {
|
|
228
|
+
return e.isValid() ? (t = Ut(t, e.localeData()), qe[t] = qe[t] || Pr(t), qe[t](e)) : e.localeData().invalidDate();
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ut(e, t) {
|
|
231
231
|
var r = 5;
|
|
232
232
|
function s(a) {
|
|
233
233
|
return t.longDateFormat(a) || a;
|
|
@@ -239,7 +239,7 @@ function Ct(e, t) {
|
|
|
239
239
|
), ve.lastIndex = 0, r -= 1;
|
|
240
240
|
return e;
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var Wr = {
|
|
243
243
|
LTS: "h:mm:ss A",
|
|
244
244
|
LT: "h:mm A",
|
|
245
245
|
L: "MM/DD/YYYY",
|
|
@@ -247,17 +247,17 @@ var Pr = {
|
|
|
247
247
|
LLL: "MMMM D, YYYY h:mm A",
|
|
248
248
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
249
249
|
};
|
|
250
|
-
function
|
|
250
|
+
function Nr(e) {
|
|
251
251
|
var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
|
|
252
|
-
return t || !r ? t : (this._longDateFormat[e] = r.match(
|
|
252
|
+
return t || !r ? t : (this._longDateFormat[e] = r.match(ot).map(function(s) {
|
|
253
253
|
return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
|
|
254
254
|
}).join(""), this._longDateFormat[e]);
|
|
255
255
|
}
|
|
256
|
-
var
|
|
257
|
-
function
|
|
256
|
+
var Rr = "Invalid date";
|
|
257
|
+
function Fr() {
|
|
258
258
|
return this._invalidDate;
|
|
259
259
|
}
|
|
260
|
-
var
|
|
260
|
+
var Cr = "%d", Ur = /\d{1,2}/;
|
|
261
261
|
function Ir(e) {
|
|
262
262
|
return this._ordinal.replace("%d", e);
|
|
263
263
|
}
|
|
@@ -279,15 +279,15 @@ var Lr = {
|
|
|
279
279
|
y: "a year",
|
|
280
280
|
yy: "%d years"
|
|
281
281
|
};
|
|
282
|
-
function
|
|
282
|
+
function Er(e, t, r, s) {
|
|
283
283
|
var a = this._relativeTime[r];
|
|
284
284
|
return E(a) ? a(e, t, r, s) : a.replace(/%d/i, e);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Hr(e, t) {
|
|
287
287
|
var r = this._relativeTime[e > 0 ? "future" : "past"];
|
|
288
288
|
return E(r) ? r(t) : r.replace(/%s/i, t);
|
|
289
289
|
}
|
|
290
|
-
var
|
|
290
|
+
var Tt = {
|
|
291
291
|
D: "date",
|
|
292
292
|
dates: "date",
|
|
293
293
|
date: "date",
|
|
@@ -338,15 +338,15 @@ var bt = {
|
|
|
338
338
|
year: "year"
|
|
339
339
|
};
|
|
340
340
|
function W(e) {
|
|
341
|
-
return typeof e == "string" ?
|
|
341
|
+
return typeof e == "string" ? Tt[e] || Tt[e.toLowerCase()] : void 0;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function lt(e) {
|
|
344
344
|
var t = {}, r, s;
|
|
345
345
|
for (s in e)
|
|
346
346
|
w(e, s) && (r = W(s), r && (t[r] = e[s]));
|
|
347
347
|
return t;
|
|
348
348
|
}
|
|
349
|
-
var
|
|
349
|
+
var Ar = {
|
|
350
350
|
date: 9,
|
|
351
351
|
day: 11,
|
|
352
352
|
weekday: 11,
|
|
@@ -364,25 +364,25 @@ var Hr = {
|
|
|
364
364
|
isoWeek: 5,
|
|
365
365
|
year: 1
|
|
366
366
|
};
|
|
367
|
-
function
|
|
367
|
+
function Vr(e) {
|
|
368
368
|
var t = [], r;
|
|
369
369
|
for (r in e)
|
|
370
|
-
w(e, r) && t.push({ unit: r, priority:
|
|
370
|
+
w(e, r) && t.push({ unit: r, priority: Ar[r] });
|
|
371
371
|
return t.sort(function(s, a) {
|
|
372
372
|
return s.priority - a.priority;
|
|
373
373
|
}), t;
|
|
374
374
|
}
|
|
375
|
-
var It = /\d/, T = /\d\d/, Lt = /\d{3}/,
|
|
376
|
-
|
|
375
|
+
var It = /\d/, T = /\d\d/, Lt = /\d{3}/, ut = /\d{4}/, Ue = /[+-]?\d{6}/, k = /\d\d?/, Et = /\d\d\d\d?/, Ht = /\d\d\d\d\d\d?/, Ie = /\d{1,3}/, dt = /\d{1,4}/, Le = /[+-]?\d{1,6}/, de = /\d+/, Ee = /[+-]?\d+/, Gr = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, jr = /[+-]?\d+(\.\d{1,3})?/, Se = /[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, he = /^[1-9]\d?/, ht = /^([1-9]\d|\d)/, Pe;
|
|
376
|
+
Pe = {};
|
|
377
377
|
function d(e, t, r) {
|
|
378
|
-
|
|
378
|
+
Pe[e] = E(t) ? t : function(s, a) {
|
|
379
379
|
return s && r ? r : t;
|
|
380
380
|
};
|
|
381
381
|
}
|
|
382
|
-
function
|
|
383
|
-
return w(
|
|
382
|
+
function zr(e, t) {
|
|
383
|
+
return w(Pe, e) ? Pe[e](t._strict, t._locale) : new RegExp($r(e));
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function $r(e) {
|
|
386
386
|
return z(
|
|
387
387
|
e.replace("\\", "").replace(
|
|
388
388
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
@@ -402,29 +402,29 @@ function m(e) {
|
|
|
402
402
|
var t = +e, r = 0;
|
|
403
403
|
return t !== 0 && isFinite(t) && (r = x(t)), r;
|
|
404
404
|
}
|
|
405
|
-
var
|
|
405
|
+
var Xe = {};
|
|
406
406
|
function M(e, t) {
|
|
407
407
|
var r, s = t, a;
|
|
408
408
|
for (typeof e == "string" && (e = [e]), q(t) && (s = function(n, i) {
|
|
409
409
|
i[t] = m(n);
|
|
410
410
|
}), a = e.length, r = 0; r < a; r++)
|
|
411
|
-
|
|
411
|
+
Xe[e[r]] = s;
|
|
412
412
|
}
|
|
413
413
|
function De(e, t) {
|
|
414
414
|
M(e, function(r, s, a, n) {
|
|
415
415
|
a._w = a._w || {}, t(r, a._w, a, n);
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
t != null && w(
|
|
418
|
+
function qr(e, t, r) {
|
|
419
|
+
t != null && w(Xe, e) && Xe[e](t, r._a, r, e);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Ae(e) {
|
|
422
422
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
423
423
|
}
|
|
424
|
-
var Y = 0,
|
|
424
|
+
var Y = 0, G = 1, U = 2, v = 3, N = 4, j = 5, te = 6, Zr = 7, Br = 8;
|
|
425
425
|
h("Y", 0, 0, function() {
|
|
426
426
|
var e = this.year();
|
|
427
|
-
return e <= 9999 ?
|
|
427
|
+
return e <= 9999 ? I(e, 4) : "+" + e;
|
|
428
428
|
});
|
|
429
429
|
h(0, ["YY", 2], 0, function() {
|
|
430
430
|
return this.year() % 100;
|
|
@@ -432,11 +432,11 @@ h(0, ["YY", 2], 0, function() {
|
|
|
432
432
|
h(0, ["YYYY", 4], 0, "year");
|
|
433
433
|
h(0, ["YYYYY", 5], 0, "year");
|
|
434
434
|
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
435
|
-
d("Y",
|
|
436
|
-
d("YY",
|
|
437
|
-
d("YYYY",
|
|
438
|
-
d("YYYYY", Le,
|
|
439
|
-
d("YYYYYY", Le,
|
|
435
|
+
d("Y", Ee);
|
|
436
|
+
d("YY", k, T);
|
|
437
|
+
d("YYYY", dt, ut);
|
|
438
|
+
d("YYYYY", Le, Ue);
|
|
439
|
+
d("YYYYYY", Le, Ue);
|
|
440
440
|
M(["YYYYY", "YYYYYY"], Y);
|
|
441
441
|
M("YYYY", function(e, t) {
|
|
442
442
|
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
|
@@ -448,18 +448,18 @@ M("Y", function(e, t) {
|
|
|
448
448
|
t[Y] = parseInt(e, 10);
|
|
449
449
|
});
|
|
450
450
|
function _e(e) {
|
|
451
|
-
return
|
|
451
|
+
return Ae(e) ? 366 : 365;
|
|
452
452
|
}
|
|
453
453
|
l.parseTwoDigitYear = function(e) {
|
|
454
454
|
return m(e) + (m(e) > 68 ? 1900 : 2e3);
|
|
455
455
|
};
|
|
456
|
-
var
|
|
457
|
-
function
|
|
458
|
-
return
|
|
456
|
+
var At = fe("FullYear", !0);
|
|
457
|
+
function Jr() {
|
|
458
|
+
return Ae(this.year());
|
|
459
459
|
}
|
|
460
460
|
function fe(e, t) {
|
|
461
461
|
return function(r) {
|
|
462
|
-
return r != null ? (
|
|
462
|
+
return r != null ? (Vt(this, e, r), l.updateOffset(this, t), this) : ye(this, e);
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
465
|
function ye(e, t) {
|
|
@@ -487,7 +487,7 @@ function ye(e, t) {
|
|
|
487
487
|
return NaN;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function Vt(e, t, r) {
|
|
491
491
|
var s, a, n, i, u;
|
|
492
492
|
if (!(!e.isValid() || isNaN(r))) {
|
|
493
493
|
switch (s = e._d, a = e._isUTC, t) {
|
|
@@ -506,23 +506,23 @@ function At(e, t, r) {
|
|
|
506
506
|
default:
|
|
507
507
|
return;
|
|
508
508
|
}
|
|
509
|
-
n = r, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !
|
|
509
|
+
n = r, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !Ae(n) ? 28 : u, a ? s.setUTCFullYear(n, i, u) : s.setFullYear(n, i, u);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function Qr(e) {
|
|
513
513
|
return e = W(e), E(this[e]) ? this[e]() : this;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Kr(e, t) {
|
|
516
516
|
if (typeof e == "object") {
|
|
517
|
-
e =
|
|
518
|
-
var r =
|
|
517
|
+
e = lt(e);
|
|
518
|
+
var r = Vr(e), s, a = r.length;
|
|
519
519
|
for (s = 0; s < a; s++)
|
|
520
520
|
this[r[s].unit](e[r[s].unit]);
|
|
521
521
|
} else if (e = W(e), E(this[e]))
|
|
522
522
|
return this[e](t);
|
|
523
523
|
return this;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Xr(e, t) {
|
|
526
526
|
return (e % t + t) % t;
|
|
527
527
|
}
|
|
528
528
|
var D;
|
|
@@ -533,11 +533,11 @@ Array.prototype.indexOf ? D = Array.prototype.indexOf : D = function(e) {
|
|
|
533
533
|
return t;
|
|
534
534
|
return -1;
|
|
535
535
|
};
|
|
536
|
-
function
|
|
536
|
+
function ft(e, t) {
|
|
537
537
|
if (isNaN(e) || isNaN(t))
|
|
538
538
|
return NaN;
|
|
539
|
-
var r =
|
|
540
|
-
return e += (t - r) / 12, r === 1 ?
|
|
539
|
+
var r = Xr(t, 12);
|
|
540
|
+
return e += (t - r) / 12, r === 1 ? Ae(e) ? 29 : 28 : 31 - r % 7 % 2;
|
|
541
541
|
}
|
|
542
542
|
h("M", ["MM", 2], "Mo", function() {
|
|
543
543
|
return this.month() + 1;
|
|
@@ -548,8 +548,8 @@ h("MMM", 0, 0, function(e) {
|
|
|
548
548
|
h("MMMM", 0, 0, function(e) {
|
|
549
549
|
return this.localeData().months(this, e);
|
|
550
550
|
});
|
|
551
|
-
d("M",
|
|
552
|
-
d("MM",
|
|
551
|
+
d("M", k, he);
|
|
552
|
+
d("MM", k, T);
|
|
553
553
|
d("MMM", function(e, t) {
|
|
554
554
|
return t.monthsShortRegex(e);
|
|
555
555
|
});
|
|
@@ -557,37 +557,37 @@ d("MMMM", function(e, t) {
|
|
|
557
557
|
return t.monthsRegex(e);
|
|
558
558
|
});
|
|
559
559
|
M(["M", "MM"], function(e, t) {
|
|
560
|
-
t[
|
|
560
|
+
t[G] = m(e) - 1;
|
|
561
561
|
});
|
|
562
562
|
M(["MMM", "MMMM"], function(e, t, r, s) {
|
|
563
563
|
var a = r._locale.monthsParse(e, s, r._strict);
|
|
564
|
-
a != null ? t[
|
|
564
|
+
a != null ? t[G] = a : c(r).invalidMonth = e;
|
|
565
565
|
});
|
|
566
|
-
var
|
|
566
|
+
var es = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
567
567
|
"_"
|
|
568
|
-
), Gt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
|
569
|
-
function rs(e, t) {
|
|
570
|
-
return e ? R(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Vt).test(t) ? "format" : "standalone"][e.month()] : R(this._months) ? this._months : this._months.standalone;
|
|
571
|
-
}
|
|
568
|
+
), Gt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), jt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, ts = Se, rs = Se;
|
|
572
569
|
function ss(e, t) {
|
|
573
|
-
return e ? R(this.
|
|
570
|
+
return e ? R(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || jt).test(t) ? "format" : "standalone"][e.month()] : R(this._months) ? this._months : this._months.standalone;
|
|
571
|
+
}
|
|
572
|
+
function as(e, t) {
|
|
573
|
+
return e ? R(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[jt.test(t) ? "format" : "standalone"][e.month()] : R(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function ns(e, t, r) {
|
|
576
576
|
var s, a, n, i = e.toLocaleLowerCase();
|
|
577
577
|
if (!this._monthsParse)
|
|
578
578
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
579
|
-
n =
|
|
579
|
+
n = L([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
580
580
|
n,
|
|
581
581
|
""
|
|
582
582
|
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(n, "").toLocaleLowerCase();
|
|
583
583
|
return r ? t === "MMM" ? (a = D.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = D.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = D.call(this._shortMonthsParse, i), a !== -1 ? a : (a = D.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = D.call(this._longMonthsParse, i), a !== -1 ? a : (a = D.call(this._shortMonthsParse, i), a !== -1 ? a : null));
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function is(e, t, r) {
|
|
586
586
|
var s, a, n;
|
|
587
587
|
if (this._monthsParseExact)
|
|
588
|
-
return
|
|
588
|
+
return ns.call(this, e, t, r);
|
|
589
589
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
590
|
-
if (a =
|
|
590
|
+
if (a = L([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
591
591
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
592
592
|
"i"
|
|
593
593
|
), this._shortMonthsParse[s] = new RegExp(
|
|
@@ -601,7 +601,7 @@ function ns(e, t, r) {
|
|
|
601
601
|
return s;
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function zt(e, t) {
|
|
605
605
|
if (!e.isValid())
|
|
606
606
|
return e;
|
|
607
607
|
if (typeof t == "string") {
|
|
@@ -611,27 +611,27 @@ function jt(e, t) {
|
|
|
611
611
|
return e;
|
|
612
612
|
}
|
|
613
613
|
var r = t, s = e.date();
|
|
614
|
-
return s = s < 29 ? s : Math.min(s,
|
|
615
|
-
}
|
|
616
|
-
function zt(e) {
|
|
617
|
-
return e != null ? (jt(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
|
|
614
|
+
return s = s < 29 ? s : Math.min(s, ft(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
|
|
618
615
|
}
|
|
619
|
-
function
|
|
620
|
-
return
|
|
616
|
+
function $t(e) {
|
|
617
|
+
return e != null ? (zt(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
|
|
621
618
|
}
|
|
622
|
-
function os(
|
|
623
|
-
return
|
|
619
|
+
function os() {
|
|
620
|
+
return ft(this.year(), this.month());
|
|
624
621
|
}
|
|
625
622
|
function ls(e) {
|
|
626
|
-
return this._monthsParseExact ? (w(this, "_monthsRegex") ||
|
|
623
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = ts), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
627
624
|
}
|
|
628
|
-
function
|
|
625
|
+
function us(e) {
|
|
626
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || qt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = rs), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
627
|
+
}
|
|
628
|
+
function qt() {
|
|
629
629
|
function e(f, _) {
|
|
630
630
|
return _.length - f.length;
|
|
631
631
|
}
|
|
632
632
|
var t = [], r = [], s = [], a, n, i, u;
|
|
633
633
|
for (a = 0; a < 12; a++)
|
|
634
|
-
n =
|
|
634
|
+
n = L([2e3, a]), i = z(this.monthsShort(n, "")), u = z(this.months(n, "")), t.push(i), r.push(u), s.push(u), s.push(i);
|
|
635
635
|
t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
636
636
|
"^(" + r.join("|") + ")",
|
|
637
637
|
"i"
|
|
@@ -640,7 +640,7 @@ function $t() {
|
|
|
640
640
|
"i"
|
|
641
641
|
);
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function ds(e, t, r, s, a, n, i) {
|
|
644
644
|
var u;
|
|
645
645
|
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r, s, a, n, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, r, s, a, n, i), u;
|
|
646
646
|
}
|
|
@@ -648,60 +648,60 @@ function we(e) {
|
|
|
648
648
|
var t, r;
|
|
649
649
|
return e < 100 && e >= 0 ? (r = Array.prototype.slice.call(arguments), r[0] = e + 400, t = new Date(Date.UTC.apply(null, r)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function We(e, t, r) {
|
|
652
652
|
var s = 7 + t - r, a = (7 + we(e, 0, s).getUTCDay() - t) % 7;
|
|
653
653
|
return -a + s - 1;
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
var n = (7 + r - s) % 7, i =
|
|
655
|
+
function Zt(e, t, r, s, a) {
|
|
656
|
+
var n = (7 + r - s) % 7, i = We(e, s, a), u = 1 + 7 * (t - 1) + n + i, f, _;
|
|
657
657
|
return u <= 0 ? (f = e - 1, _ = _e(f) + u) : u > _e(e) ? (f = e + 1, _ = u - _e(e)) : (f = e, _ = u), {
|
|
658
658
|
year: f,
|
|
659
659
|
dayOfYear: _
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
662
|
function ge(e, t, r) {
|
|
663
|
-
var s =
|
|
663
|
+
var s = We(e.year(), t, r), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, n, i;
|
|
664
664
|
return a < 1 ? (i = e.year() - 1, n = a + $(i, t, r)) : a > $(e.year(), t, r) ? (n = a - $(e.year(), t, r), i = e.year() + 1) : (i = e.year(), n = a), {
|
|
665
665
|
week: n,
|
|
666
666
|
year: i
|
|
667
667
|
};
|
|
668
668
|
}
|
|
669
669
|
function $(e, t, r) {
|
|
670
|
-
var s =
|
|
670
|
+
var s = We(e, t, r), a = We(e + 1, t, r);
|
|
671
671
|
return (_e(e) - s + a) / 7;
|
|
672
672
|
}
|
|
673
673
|
h("w", ["ww", 2], "wo", "week");
|
|
674
674
|
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
675
|
-
d("w",
|
|
676
|
-
d("ww",
|
|
677
|
-
d("W",
|
|
678
|
-
d("WW",
|
|
675
|
+
d("w", k, he);
|
|
676
|
+
d("ww", k, T);
|
|
677
|
+
d("W", k, he);
|
|
678
|
+
d("WW", k, T);
|
|
679
679
|
De(
|
|
680
680
|
["w", "ww", "W", "WW"],
|
|
681
681
|
function(e, t, r, s) {
|
|
682
682
|
t[s.substr(0, 1)] = m(e);
|
|
683
683
|
}
|
|
684
684
|
);
|
|
685
|
-
function
|
|
685
|
+
function hs(e) {
|
|
686
686
|
return ge(e, this._week.dow, this._week.doy).week;
|
|
687
687
|
}
|
|
688
|
-
var
|
|
688
|
+
var fs = {
|
|
689
689
|
dow: 0,
|
|
690
690
|
// Sunday is the first day of the week.
|
|
691
691
|
doy: 6
|
|
692
692
|
// The week that contains Jan 6th is the first week of the year.
|
|
693
693
|
};
|
|
694
|
-
function
|
|
694
|
+
function cs() {
|
|
695
695
|
return this._week.dow;
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function ms() {
|
|
698
698
|
return this._week.doy;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function _s(e) {
|
|
701
701
|
var t = this.localeData().week(this);
|
|
702
702
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function ys(e) {
|
|
705
705
|
var t = ge(this, 1, 4).week;
|
|
706
706
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
707
707
|
}
|
|
@@ -717,9 +717,9 @@ h("dddd", 0, 0, function(e) {
|
|
|
717
717
|
});
|
|
718
718
|
h("e", 0, 0, "weekday");
|
|
719
719
|
h("E", 0, 0, "isoWeekday");
|
|
720
|
-
d("d",
|
|
721
|
-
d("e",
|
|
722
|
-
d("E",
|
|
720
|
+
d("d", k);
|
|
721
|
+
d("e", k);
|
|
722
|
+
d("E", k);
|
|
723
723
|
d("dd", function(e, t) {
|
|
724
724
|
return t.weekdaysMinRegex(e);
|
|
725
725
|
});
|
|
@@ -736,31 +736,31 @@ De(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
|
736
736
|
De(["d", "e", "E"], function(e, t, r, s) {
|
|
737
737
|
t[s] = m(e);
|
|
738
738
|
});
|
|
739
|
-
function
|
|
739
|
+
function ws(e, t) {
|
|
740
740
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
741
741
|
}
|
|
742
|
-
function
|
|
742
|
+
function gs(e, t) {
|
|
743
743
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function ct(e, t) {
|
|
746
746
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
747
747
|
}
|
|
748
|
-
var
|
|
749
|
-
function
|
|
748
|
+
var Ms = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Bt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), ps = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), ks = Se, Ss = Se, Ds = Se;
|
|
749
|
+
function vs(e, t) {
|
|
750
750
|
var r = R(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
751
|
-
return e === !0 ?
|
|
752
|
-
}
|
|
753
|
-
function vs(e) {
|
|
754
|
-
return e === !0 ? ft(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
751
|
+
return e === !0 ? ct(r, this._week.dow) : e ? r[e.day()] : r;
|
|
755
752
|
}
|
|
756
753
|
function Ys(e) {
|
|
757
|
-
return e === !0 ?
|
|
754
|
+
return e === !0 ? ct(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
755
|
+
}
|
|
756
|
+
function Os(e) {
|
|
757
|
+
return e === !0 ? ct(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function bs(e, t, r) {
|
|
760
760
|
var s, a, n, i = e.toLocaleLowerCase();
|
|
761
761
|
if (!this._weekdaysParse)
|
|
762
762
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
763
|
-
n =
|
|
763
|
+
n = L([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
764
764
|
n,
|
|
765
765
|
""
|
|
766
766
|
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
@@ -769,12 +769,12 @@ function Os(e, t, r) {
|
|
|
769
769
|
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(n, "").toLocaleLowerCase();
|
|
770
770
|
return r ? t === "dddd" ? (a = D.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = D.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = D.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = D.call(this._weekdaysParse, i), a !== -1 || (a = D.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = D.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = D.call(this._shortWeekdaysParse, i), a !== -1 || (a = D.call(this._weekdaysParse, i), a !== -1) ? a : (a = D.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = D.call(this._minWeekdaysParse, i), a !== -1 || (a = D.call(this._weekdaysParse, i), a !== -1) ? a : (a = D.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function Ts(e, t, r) {
|
|
773
773
|
var s, a, n;
|
|
774
774
|
if (this._weekdaysParseExact)
|
|
775
|
-
return
|
|
775
|
+
return bs.call(this, e, t, r);
|
|
776
776
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
777
|
-
if (a =
|
|
777
|
+
if (a = L([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
778
778
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
779
779
|
"i"
|
|
780
780
|
), this._shortWeekdaysParse[s] = new RegExp(
|
|
@@ -793,43 +793,43 @@ function bs(e, t, r) {
|
|
|
793
793
|
return s;
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function xs(e) {
|
|
797
797
|
if (!this.isValid())
|
|
798
798
|
return e != null ? this : NaN;
|
|
799
799
|
var t = ye(this, "Day");
|
|
800
|
-
return e != null ? (e =
|
|
800
|
+
return e != null ? (e = ws(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
801
801
|
}
|
|
802
|
-
function
|
|
802
|
+
function Ps(e) {
|
|
803
803
|
if (!this.isValid())
|
|
804
804
|
return e != null ? this : NaN;
|
|
805
805
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
806
806
|
return e == null ? t : this.add(e - t, "d");
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function Ws(e) {
|
|
809
809
|
if (!this.isValid())
|
|
810
810
|
return e != null ? this : NaN;
|
|
811
811
|
if (e != null) {
|
|
812
|
-
var t =
|
|
812
|
+
var t = gs(e, this.localeData());
|
|
813
813
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
814
814
|
} else
|
|
815
815
|
return this.day() || 7;
|
|
816
816
|
}
|
|
817
|
-
function Ws(e) {
|
|
818
|
-
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || ct.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = ks), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
819
|
-
}
|
|
820
817
|
function Ns(e) {
|
|
821
|
-
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") ||
|
|
818
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = ks), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
822
819
|
}
|
|
823
820
|
function Rs(e) {
|
|
824
|
-
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") ||
|
|
821
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ss), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
822
|
+
}
|
|
823
|
+
function Fs(e) {
|
|
824
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ds), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function mt() {
|
|
827
827
|
function e(O, H) {
|
|
828
828
|
return H.length - O.length;
|
|
829
829
|
}
|
|
830
830
|
var t = [], r = [], s = [], a = [], n, i, u, f, _;
|
|
831
831
|
for (n = 0; n < 7; n++)
|
|
832
|
-
i =
|
|
832
|
+
i = L([2e3, 1]).day(n), u = z(this.weekdaysMin(i, "")), f = z(this.weekdaysShort(i, "")), _ = z(this.weekdays(i, "")), t.push(u), r.push(f), s.push(_), a.push(u), a.push(f), a.push(_);
|
|
833
833
|
t.sort(e), r.sort(e), s.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
834
834
|
"^(" + s.join("|") + ")",
|
|
835
835
|
"i"
|
|
@@ -841,28 +841,28 @@ function ct() {
|
|
|
841
841
|
"i"
|
|
842
842
|
);
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function _t() {
|
|
845
845
|
return this.hours() % 12 || 12;
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function Cs() {
|
|
848
848
|
return this.hours() || 24;
|
|
849
849
|
}
|
|
850
850
|
h("H", ["HH", 2], 0, "hour");
|
|
851
|
-
h("h", ["hh", 2], 0,
|
|
852
|
-
h("k", ["kk", 2], 0,
|
|
851
|
+
h("h", ["hh", 2], 0, _t);
|
|
852
|
+
h("k", ["kk", 2], 0, Cs);
|
|
853
853
|
h("hmm", 0, 0, function() {
|
|
854
|
-
return "" +
|
|
854
|
+
return "" + _t.apply(this) + I(this.minutes(), 2);
|
|
855
855
|
});
|
|
856
856
|
h("hmmss", 0, 0, function() {
|
|
857
|
-
return "" +
|
|
857
|
+
return "" + _t.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
858
858
|
});
|
|
859
859
|
h("Hmm", 0, 0, function() {
|
|
860
|
-
return "" + this.hours() +
|
|
860
|
+
return "" + this.hours() + I(this.minutes(), 2);
|
|
861
861
|
});
|
|
862
862
|
h("Hmmss", 0, 0, function() {
|
|
863
|
-
return "" + this.hours() +
|
|
863
|
+
return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
864
864
|
});
|
|
865
|
-
function
|
|
865
|
+
function Jt(e, t) {
|
|
866
866
|
h(e, 0, 0, function() {
|
|
867
867
|
return this.localeData().meridiem(
|
|
868
868
|
this.hours(),
|
|
@@ -871,23 +871,23 @@ function Bt(e, t) {
|
|
|
871
871
|
);
|
|
872
872
|
});
|
|
873
873
|
}
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
function
|
|
874
|
+
Jt("a", !0);
|
|
875
|
+
Jt("A", !1);
|
|
876
|
+
function Qt(e, t) {
|
|
877
877
|
return t._meridiemParse;
|
|
878
878
|
}
|
|
879
|
-
d("a",
|
|
880
|
-
d("A",
|
|
881
|
-
d("H",
|
|
882
|
-
d("h",
|
|
883
|
-
d("k",
|
|
884
|
-
d("HH",
|
|
885
|
-
d("hh",
|
|
886
|
-
d("kk",
|
|
887
|
-
d("hmm",
|
|
888
|
-
d("hmmss",
|
|
889
|
-
d("Hmm",
|
|
890
|
-
d("Hmmss",
|
|
879
|
+
d("a", Qt);
|
|
880
|
+
d("A", Qt);
|
|
881
|
+
d("H", k, ht);
|
|
882
|
+
d("h", k, he);
|
|
883
|
+
d("k", k, he);
|
|
884
|
+
d("HH", k, T);
|
|
885
|
+
d("hh", k, T);
|
|
886
|
+
d("kk", k, T);
|
|
887
|
+
d("hmm", Et);
|
|
888
|
+
d("hmmss", Ht);
|
|
889
|
+
d("Hmm", Et);
|
|
890
|
+
d("Hmmss", Ht);
|
|
891
891
|
M(["H", "HH"], v);
|
|
892
892
|
M(["k", "kk"], function(e, t, r) {
|
|
893
893
|
var s = m(e);
|
|
@@ -915,44 +915,44 @@ M("Hmmss", function(e, t, r) {
|
|
|
915
915
|
var s = e.length - 4, a = e.length - 2;
|
|
916
916
|
t[v] = m(e.substr(0, s)), t[N] = m(e.substr(s, 2)), t[j] = m(e.substr(a));
|
|
917
917
|
});
|
|
918
|
-
function
|
|
918
|
+
function Us(e) {
|
|
919
919
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
920
920
|
}
|
|
921
921
|
var Is = /[ap]\.?m?\.?/i, Ls = fe("Hours", !0);
|
|
922
|
-
function
|
|
922
|
+
function Es(e, t, r) {
|
|
923
923
|
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
924
924
|
}
|
|
925
|
-
var
|
|
926
|
-
calendar:
|
|
927
|
-
longDateFormat:
|
|
928
|
-
invalidDate:
|
|
929
|
-
ordinal:
|
|
930
|
-
dayOfMonthOrdinalParse:
|
|
925
|
+
var Kt = {
|
|
926
|
+
calendar: br,
|
|
927
|
+
longDateFormat: Wr,
|
|
928
|
+
invalidDate: Rr,
|
|
929
|
+
ordinal: Cr,
|
|
930
|
+
dayOfMonthOrdinalParse: Ur,
|
|
931
931
|
relativeTime: Lr,
|
|
932
|
-
months:
|
|
932
|
+
months: es,
|
|
933
933
|
monthsShort: Gt,
|
|
934
|
-
week:
|
|
935
|
-
weekdays:
|
|
936
|
-
weekdaysMin:
|
|
937
|
-
weekdaysShort:
|
|
934
|
+
week: fs,
|
|
935
|
+
weekdays: Ms,
|
|
936
|
+
weekdaysMin: ps,
|
|
937
|
+
weekdaysShort: Bt,
|
|
938
938
|
meridiemParse: Is
|
|
939
939
|
}, S = {}, ce = {}, Me;
|
|
940
|
-
function
|
|
940
|
+
function Hs(e, t) {
|
|
941
941
|
var r, s = Math.min(e.length, t.length);
|
|
942
942
|
for (r = 0; r < s; r += 1)
|
|
943
943
|
if (e[r] !== t[r])
|
|
944
944
|
return r;
|
|
945
945
|
return s;
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function xt(e) {
|
|
948
948
|
return e && e.toLowerCase().replace("_", "-");
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function As(e) {
|
|
951
951
|
for (var t = 0, r, s, a, n; t < e.length; ) {
|
|
952
|
-
for (n =
|
|
953
|
-
if (a =
|
|
952
|
+
for (n = xt(e[t]).split("-"), r = n.length, s = xt(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
|
|
953
|
+
if (a = Ve(n.slice(0, r).join("-")), a)
|
|
954
954
|
return a;
|
|
955
|
-
if (s && s.length >= r &&
|
|
955
|
+
if (s && s.length >= r && Hs(n, s) >= r - 1)
|
|
956
956
|
break;
|
|
957
957
|
r--;
|
|
958
958
|
}
|
|
@@ -960,12 +960,12 @@ function Hs(e) {
|
|
|
960
960
|
}
|
|
961
961
|
return Me;
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function Vs(e) {
|
|
964
964
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function Ve(e) {
|
|
967
967
|
var t = null, r;
|
|
968
|
-
if (S[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
968
|
+
if (S[e] === void 0 && typeof module < "u" && module && module.exports && Vs(e))
|
|
969
969
|
try {
|
|
970
970
|
t = Me._abbr, r = require, r("./locale/" + e), X(t);
|
|
971
971
|
} catch {
|
|
@@ -975,38 +975,38 @@ function Ae(e) {
|
|
|
975
975
|
}
|
|
976
976
|
function X(e, t) {
|
|
977
977
|
var r;
|
|
978
|
-
return e && (b(t) ? r = Z(e) : r =
|
|
978
|
+
return e && (b(t) ? r = Z(e) : r = yt(e, t), r ? Me = r : typeof console < "u" && console.warn && console.warn(
|
|
979
979
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
980
980
|
)), Me._abbr;
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function yt(e, t) {
|
|
983
983
|
if (t !== null) {
|
|
984
|
-
var r, s =
|
|
984
|
+
var r, s = Kt;
|
|
985
985
|
if (t.abbr = e, S[e] != null)
|
|
986
|
-
|
|
986
|
+
Ct(
|
|
987
987
|
"defineLocaleOverride",
|
|
988
988
|
"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."
|
|
989
989
|
), s = S[e]._config;
|
|
990
990
|
else if (t.parentLocale != null)
|
|
991
991
|
if (S[t.parentLocale] != null)
|
|
992
992
|
s = S[t.parentLocale]._config;
|
|
993
|
-
else if (r =
|
|
993
|
+
else if (r = Ve(t.parentLocale), r != null)
|
|
994
994
|
s = r._config;
|
|
995
995
|
else
|
|
996
996
|
return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
|
|
997
997
|
name: e,
|
|
998
998
|
config: t
|
|
999
999
|
}), null;
|
|
1000
|
-
return S[e] = new
|
|
1001
|
-
|
|
1000
|
+
return S[e] = new it(Qe(s, t)), ce[e] && ce[e].forEach(function(a) {
|
|
1001
|
+
yt(a.name, a.config);
|
|
1002
1002
|
}), X(e), S[e];
|
|
1003
1003
|
} else
|
|
1004
1004
|
return delete S[e], null;
|
|
1005
1005
|
}
|
|
1006
1006
|
function Gs(e, t) {
|
|
1007
1007
|
if (t != null) {
|
|
1008
|
-
var r, s, a =
|
|
1009
|
-
S[e] != null && S[e].parentLocale != null ? S[e].set(
|
|
1008
|
+
var r, s, a = Kt;
|
|
1009
|
+
S[e] != null && S[e].parentLocale != null ? S[e].set(Qe(S[e]._config, t)) : (s = Ve(e), s != null && (a = s._config), t = Qe(a, t), s == null && (t.abbr = e), r = new it(t), r.parentLocale = S[e], S[e] = r), X(e);
|
|
1010
1010
|
} else
|
|
1011
1011
|
S[e] != null && (S[e].parentLocale != null ? (S[e] = S[e].parentLocale, e === X() && X(e)) : S[e] != null && delete S[e]);
|
|
1012
1012
|
return S[e];
|
|
@@ -1016,20 +1016,20 @@ function Z(e) {
|
|
|
1016
1016
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1017
1017
|
return Me;
|
|
1018
1018
|
if (!R(e)) {
|
|
1019
|
-
if (t =
|
|
1019
|
+
if (t = Ve(e), t)
|
|
1020
1020
|
return t;
|
|
1021
1021
|
e = [e];
|
|
1022
1022
|
}
|
|
1023
|
-
return
|
|
1023
|
+
return As(e);
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1026
|
-
return
|
|
1025
|
+
function js() {
|
|
1026
|
+
return Ke(S);
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function wt(e) {
|
|
1029
1029
|
var t, r = e._a;
|
|
1030
|
-
return r && c(e).overflow === -2 && (t = r[
|
|
1030
|
+
return r && c(e).overflow === -2 && (t = r[G] < 0 || r[G] > 11 ? G : r[U] < 1 || r[U] > ft(r[Y], r[G]) ? U : r[v] < 0 || r[v] > 24 || r[v] === 24 && (r[N] !== 0 || r[j] !== 0 || r[te] !== 0) ? v : r[N] < 0 || r[N] > 59 ? N : r[j] < 0 || r[j] > 59 ? j : r[te] < 0 || r[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > U) && (t = U), c(e)._overflowWeeks && t === -1 && (t = Zr), c(e)._overflowWeekday && t === -1 && (t = Br), c(e).overflow = t), e;
|
|
1031
1031
|
}
|
|
1032
|
-
var
|
|
1032
|
+
var zs = /^\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)?)?$/, $s = /^\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)?)?$/, qs = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
|
|
1033
1033
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1034
1034
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1035
1035
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1043,7 +1043,7 @@ var js = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1043
1043
|
["YYYYDDD", /\d{7}/],
|
|
1044
1044
|
["YYYYMM", /\d{6}/, !1],
|
|
1045
1045
|
["YYYY", /\d{4}/, !1]
|
|
1046
|
-
],
|
|
1046
|
+
], Ze = [
|
|
1047
1047
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1048
1048
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1049
1049
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1053,7 +1053,7 @@ var js = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1053
1053
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1054
1054
|
["HHmm", /\d\d\d\d/],
|
|
1055
1055
|
["HH", /\d\d/]
|
|
1056
|
-
],
|
|
1056
|
+
], Zs = /^\/?Date\((-?\d+)/i, Bs = /^(?:(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}))$/, Js = {
|
|
1057
1057
|
UT: 0,
|
|
1058
1058
|
GMT: 0,
|
|
1059
1059
|
EDT: -4 * 60,
|
|
@@ -1065,8 +1065,8 @@ var js = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1065
1065
|
PDT: -7 * 60,
|
|
1066
1066
|
PST: -8 * 60
|
|
1067
1067
|
};
|
|
1068
|
-
function
|
|
1069
|
-
var t, r, s = e._i, a =
|
|
1068
|
+
function Xt(e) {
|
|
1069
|
+
var t, r, s = e._i, a = zs.exec(s) || $s.exec(s), n, i, u, f, _ = Ye.length, O = Ze.length;
|
|
1070
1070
|
if (a) {
|
|
1071
1071
|
for (c(e).iso = !0, t = 0, r = _; t < r; t++)
|
|
1072
1072
|
if (Ye[t][1].exec(a[1])) {
|
|
@@ -1079,8 +1079,8 @@ function Kt(e) {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
if (a[3]) {
|
|
1081
1081
|
for (t = 0, r = O; t < r; t++)
|
|
1082
|
-
if (
|
|
1083
|
-
u = (a[2] || " ") +
|
|
1082
|
+
if (Ze[t][1].exec(a[3])) {
|
|
1083
|
+
u = (a[2] || " ") + Ze[t][0];
|
|
1084
1084
|
break;
|
|
1085
1085
|
}
|
|
1086
1086
|
if (u == null) {
|
|
@@ -1093,19 +1093,19 @@ function Kt(e) {
|
|
|
1093
1093
|
return;
|
|
1094
1094
|
}
|
|
1095
1095
|
if (a[4])
|
|
1096
|
-
if (
|
|
1096
|
+
if (qs.exec(a[4]))
|
|
1097
1097
|
f = "Z";
|
|
1098
1098
|
else {
|
|
1099
1099
|
e._isValid = !1;
|
|
1100
1100
|
return;
|
|
1101
1101
|
}
|
|
1102
|
-
e._f = i + (u || "") + (f || ""),
|
|
1102
|
+
e._f = i + (u || "") + (f || ""), Mt(e);
|
|
1103
1103
|
} else
|
|
1104
1104
|
e._isValid = !1;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1106
|
+
function Qs(e, t, r, s, a, n) {
|
|
1107
1107
|
var i = [
|
|
1108
|
-
|
|
1108
|
+
Ks(e),
|
|
1109
1109
|
Gt.indexOf(t),
|
|
1110
1110
|
parseInt(r, 10),
|
|
1111
1111
|
parseInt(s, 10),
|
|
@@ -1113,16 +1113,16 @@ function Js(e, t, r, s, a, n) {
|
|
|
1113
1113
|
];
|
|
1114
1114
|
return n && i.push(parseInt(n, 10)), i;
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function Ks(e) {
|
|
1117
1117
|
var t = parseInt(e, 10);
|
|
1118
1118
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function Xs(e) {
|
|
1121
1121
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function ea(e, t, r) {
|
|
1124
1124
|
if (e) {
|
|
1125
|
-
var s =
|
|
1125
|
+
var s = Bt.indexOf(e), a = new Date(
|
|
1126
1126
|
t[0],
|
|
1127
1127
|
t[1],
|
|
1128
1128
|
t[2]
|
|
@@ -1132,41 +1132,41 @@ function Xs(e, t, r) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
return !0;
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function ta(e, t, r) {
|
|
1136
1136
|
if (e)
|
|
1137
|
-
return
|
|
1137
|
+
return Js[e];
|
|
1138
1138
|
if (t)
|
|
1139
1139
|
return 0;
|
|
1140
1140
|
var s = parseInt(r, 10), a = s % 100, n = (s - a) / 100;
|
|
1141
1141
|
return n * 60 + a;
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
var t =
|
|
1143
|
+
function er(e) {
|
|
1144
|
+
var t = Bs.exec(Xs(e._i)), r;
|
|
1145
1145
|
if (t) {
|
|
1146
|
-
if (r =
|
|
1146
|
+
if (r = Qs(
|
|
1147
1147
|
t[4],
|
|
1148
1148
|
t[3],
|
|
1149
1149
|
t[2],
|
|
1150
1150
|
t[5],
|
|
1151
1151
|
t[6],
|
|
1152
1152
|
t[7]
|
|
1153
|
-
), !
|
|
1153
|
+
), !ea(t[1], r, e))
|
|
1154
1154
|
return;
|
|
1155
|
-
e._a = r, e._tzm =
|
|
1155
|
+
e._a = r, e._tzm = ta(t[8], t[9], t[10]), e._d = we.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
|
|
1156
1156
|
} else
|
|
1157
1157
|
e._isValid = !1;
|
|
1158
1158
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var t =
|
|
1159
|
+
function ra(e) {
|
|
1160
|
+
var t = Zs.exec(e._i);
|
|
1161
1161
|
if (t !== null) {
|
|
1162
1162
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1163
1163
|
return;
|
|
1164
1164
|
}
|
|
1165
|
-
if (
|
|
1165
|
+
if (Xt(e), e._isValid === !1)
|
|
1166
1166
|
delete e._isValid;
|
|
1167
1167
|
else
|
|
1168
1168
|
return;
|
|
1169
|
-
if (
|
|
1169
|
+
if (er(e), e._isValid === !1)
|
|
1170
1170
|
delete e._isValid;
|
|
1171
1171
|
else
|
|
1172
1172
|
return;
|
|
@@ -1181,7 +1181,7 @@ l.createFromInputFallback = P(
|
|
|
1181
1181
|
function ne(e, t, r) {
|
|
1182
1182
|
return e ?? t ?? r;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function sa(e) {
|
|
1185
1185
|
var t = new Date(l.now());
|
|
1186
1186
|
return e._useUTC ? [
|
|
1187
1187
|
t.getUTCFullYear(),
|
|
@@ -1189,128 +1189,128 @@ function ra(e) {
|
|
|
1189
1189
|
t.getUTCDate()
|
|
1190
1190
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1192
|
+
function gt(e) {
|
|
1193
1193
|
var t, r, s = [], a, n, i;
|
|
1194
1194
|
if (!e._d) {
|
|
1195
|
-
for (a =
|
|
1195
|
+
for (a = sa(e), e._w && e._a[U] == null && e._a[G] == null && aa(e), e._dayOfYear != null && (i = ne(e._a[Y], a[Y]), (e._dayOfYear > _e(i) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), r = we(i, 0, e._dayOfYear), e._a[G] = r.getUTCMonth(), e._a[U] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1196
1196
|
e._a[t] = s[t] = a[t];
|
|
1197
1197
|
for (; t < 7; t++)
|
|
1198
1198
|
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1199
|
-
e._a[v] === 24 && e._a[N] === 0 && e._a[j] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[v] = 0), e._d = (e._useUTC ? we :
|
|
1199
|
+
e._a[v] === 24 && e._a[N] === 0 && e._a[j] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[v] = 0), e._d = (e._useUTC ? we : ds).apply(
|
|
1200
1200
|
null,
|
|
1201
1201
|
s
|
|
1202
1202
|
), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[v] = 24), e._w && typeof e._w.d < "u" && e._w.d !== n && (c(e).weekdayMismatch = !0);
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function aa(e) {
|
|
1206
1206
|
var t, r, s, a, n, i, u, f, _;
|
|
1207
1207
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (n = 1, i = 4, r = ne(
|
|
1208
1208
|
t.GG,
|
|
1209
1209
|
e._a[Y],
|
|
1210
|
-
ge(
|
|
1211
|
-
), s = ne(t.W, 1), a = ne(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, _ = ge(
|
|
1210
|
+
ge(p(), 1, 4).year
|
|
1211
|
+
), s = ne(t.W, 1), a = ne(t.E, 1), (a < 1 || a > 7) && (f = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, _ = ge(p(), n, i), r = ne(t.gg, e._a[Y], _.year), s = ne(t.w, _.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (f = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (f = !0)) : a = n), s < 1 || s > $(r, n, i) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = Zt(r, s, a, n, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1212
1212
|
}
|
|
1213
1213
|
l.ISO_8601 = function() {
|
|
1214
1214
|
};
|
|
1215
1215
|
l.RFC_2822 = function() {
|
|
1216
1216
|
};
|
|
1217
|
-
function
|
|
1217
|
+
function Mt(e) {
|
|
1218
1218
|
if (e._f === l.ISO_8601) {
|
|
1219
|
-
|
|
1219
|
+
Xt(e);
|
|
1220
1220
|
return;
|
|
1221
1221
|
}
|
|
1222
1222
|
if (e._f === l.RFC_2822) {
|
|
1223
|
-
|
|
1223
|
+
er(e);
|
|
1224
1224
|
return;
|
|
1225
1225
|
}
|
|
1226
1226
|
e._a = [], c(e).empty = !0;
|
|
1227
1227
|
var t = "" + e._i, r, s, a, n, i, u = t.length, f = 0, _, O;
|
|
1228
|
-
for (a =
|
|
1229
|
-
n = a[r], s = (t.match(
|
|
1228
|
+
for (a = Ut(e._f, e._locale).match(ot) || [], O = a.length, r = 0; r < O; r++)
|
|
1229
|
+
n = a[r], s = (t.match(zr(n, e)) || [])[0], s && (i = t.substr(0, t.indexOf(s)), i.length > 0 && c(e).unusedInput.push(i), t = t.slice(
|
|
1230
1230
|
t.indexOf(s) + s.length
|
|
1231
|
-
), f += s.length), oe[n] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(n),
|
|
1232
|
-
c(e).charsLeftOver = u - f, t.length > 0 && c(e).unusedInput.push(t), e._a[v] <= 12 && c(e).bigHour === !0 && e._a[v] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[v] =
|
|
1231
|
+
), f += s.length), oe[n] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(n), qr(n, s, e)) : e._strict && !s && c(e).unusedTokens.push(n);
|
|
1232
|
+
c(e).charsLeftOver = u - f, t.length > 0 && c(e).unusedInput.push(t), e._a[v] <= 12 && c(e).bigHour === !0 && e._a[v] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[v] = na(
|
|
1233
1233
|
e._locale,
|
|
1234
1234
|
e._a[v],
|
|
1235
1235
|
e._meridiem
|
|
1236
|
-
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])),
|
|
1236
|
+
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), gt(e), wt(e);
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function na(e, t, r) {
|
|
1239
1239
|
var s;
|
|
1240
1240
|
return r == null ? t : e.meridiemHour != null ? e.meridiemHour(t, r) : (e.isPM != null && (s = e.isPM(r), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function ia(e) {
|
|
1243
1243
|
var t, r, s, a, n, i, u = !1, f = e._f.length;
|
|
1244
1244
|
if (f === 0) {
|
|
1245
1245
|
c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1246
1246
|
return;
|
|
1247
1247
|
}
|
|
1248
1248
|
for (a = 0; a < f; a++)
|
|
1249
|
-
n = 0, i = !1, t =
|
|
1249
|
+
n = 0, i = !1, t = nt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], Mt(t), at(t) && (i = !0), n += c(t).charsLeftOver, n += c(t).unusedTokens.length * 10, c(t).score = n, u ? n < s && (s = n, r = t) : (s == null || n < s || i) && (s = n, r = t, i && (u = !0));
|
|
1250
1250
|
Q(e, r || t);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function oa(e) {
|
|
1253
1253
|
if (!e._d) {
|
|
1254
|
-
var t =
|
|
1255
|
-
e._a =
|
|
1254
|
+
var t = lt(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
1255
|
+
e._a = Rt(
|
|
1256
1256
|
[t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
|
|
1257
1257
|
function(s) {
|
|
1258
1258
|
return s && parseInt(s, 10);
|
|
1259
1259
|
}
|
|
1260
|
-
),
|
|
1260
|
+
), gt(e);
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1264
|
-
var t = new
|
|
1263
|
+
function la(e) {
|
|
1264
|
+
var t = new ke(wt(tr(e)));
|
|
1265
1265
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function tr(e) {
|
|
1268
1268
|
var t = e._i, r = e._f;
|
|
1269
|
-
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ?
|
|
1269
|
+
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Ce({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ke(wt(t)) : (pe(t) ? e._d = t : R(r) ? ia(e) : r ? Mt(e) : ua(e), at(e) || (e._d = null), e));
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1271
|
+
function ua(e) {
|
|
1272
1272
|
var t = e._i;
|
|
1273
|
-
b(t) ? e._d = new Date(l.now()) :
|
|
1273
|
+
b(t) ? e._d = new Date(l.now()) : pe(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ra(e) : R(t) ? (e._a = Rt(t.slice(0), function(r) {
|
|
1274
1274
|
return parseInt(r, 10);
|
|
1275
|
-
}),
|
|
1275
|
+
}), gt(e)) : re(t) ? oa(e) : q(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function rr(e, t, r, s, a) {
|
|
1278
1278
|
var n = {};
|
|
1279
|
-
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) &&
|
|
1279
|
+
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) && st(e) || R(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = r, n._i = e, n._f = t, n._strict = s, la(n);
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return
|
|
1281
|
+
function p(e, t, r, s) {
|
|
1282
|
+
return rr(e, t, r, s, !1);
|
|
1283
1283
|
}
|
|
1284
|
-
var
|
|
1284
|
+
var da = P(
|
|
1285
1285
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1286
1286
|
function() {
|
|
1287
|
-
var e =
|
|
1288
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1287
|
+
var e = p.apply(null, arguments);
|
|
1288
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Ce();
|
|
1289
1289
|
}
|
|
1290
|
-
),
|
|
1290
|
+
), ha = P(
|
|
1291
1291
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1292
1292
|
function() {
|
|
1293
|
-
var e =
|
|
1294
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1293
|
+
var e = p.apply(null, arguments);
|
|
1294
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Ce();
|
|
1295
1295
|
}
|
|
1296
1296
|
);
|
|
1297
|
-
function
|
|
1297
|
+
function sr(e, t) {
|
|
1298
1298
|
var r, s;
|
|
1299
1299
|
if (t.length === 1 && R(t[0]) && (t = t[0]), !t.length)
|
|
1300
|
-
return
|
|
1300
|
+
return p();
|
|
1301
1301
|
for (r = t[0], s = 1; s < t.length; ++s)
|
|
1302
1302
|
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1303
1303
|
return r;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function fa() {
|
|
1306
1306
|
var e = [].slice.call(arguments, 0);
|
|
1307
|
-
return
|
|
1307
|
+
return sr("isBefore", e);
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function ca() {
|
|
1310
1310
|
var e = [].slice.call(arguments, 0);
|
|
1311
|
-
return
|
|
1311
|
+
return sr("isAfter", e);
|
|
1312
1312
|
}
|
|
1313
|
-
var
|
|
1313
|
+
var ma = function() {
|
|
1314
1314
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1315
1315
|
}, me = [
|
|
1316
1316
|
"year",
|
|
@@ -1323,7 +1323,7 @@ var ca = function() {
|
|
|
1323
1323
|
"second",
|
|
1324
1324
|
"millisecond"
|
|
1325
1325
|
];
|
|
1326
|
-
function
|
|
1326
|
+
function _a(e) {
|
|
1327
1327
|
var t, r = !1, s, a = me.length;
|
|
1328
1328
|
for (t in e)
|
|
1329
1329
|
if (w(e, t) && !(D.call(me, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
@@ -1336,131 +1336,131 @@ function ma(e) {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
return !0;
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function ya() {
|
|
1340
1340
|
return this._isValid;
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1342
|
+
function wa() {
|
|
1343
1343
|
return C(NaN);
|
|
1344
1344
|
}
|
|
1345
1345
|
function Ge(e) {
|
|
1346
|
-
var t =
|
|
1347
|
-
this._isValid =
|
|
1346
|
+
var t = lt(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, n = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, f = t.minute || 0, _ = t.second || 0, O = t.millisecond || 0;
|
|
1347
|
+
this._isValid = _a(t), this._milliseconds = +O + _ * 1e3 + // 1000
|
|
1348
1348
|
f * 6e4 + // 1000 * 60
|
|
1349
1349
|
u * 1e3 * 60 * 60, this._days = +i + n * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = Z(), this._bubble();
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1351
|
+
function Te(e) {
|
|
1352
1352
|
return e instanceof Ge;
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1354
|
+
function et(e) {
|
|
1355
1355
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function ga(e, t, r) {
|
|
1358
1358
|
var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), n = 0, i;
|
|
1359
1359
|
for (i = 0; i < s; i++)
|
|
1360
1360
|
(r && e[i] !== t[i] || !r && m(e[i]) !== m(t[i])) && n++;
|
|
1361
1361
|
return n + a;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1363
|
+
function ar(e, t) {
|
|
1364
1364
|
h(e, 0, 0, function() {
|
|
1365
1365
|
var r = this.utcOffset(), s = "+";
|
|
1366
|
-
return r < 0 && (r = -r, s = "-"), s +
|
|
1366
|
+
return r < 0 && (r = -r, s = "-"), s + I(~~(r / 60), 2) + t + I(~~r % 60, 2);
|
|
1367
1367
|
});
|
|
1368
1368
|
}
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
d("Z",
|
|
1372
|
-
d("ZZ",
|
|
1369
|
+
ar("Z", ":");
|
|
1370
|
+
ar("ZZ", "");
|
|
1371
|
+
d("Z", He);
|
|
1372
|
+
d("ZZ", He);
|
|
1373
1373
|
M(["Z", "ZZ"], function(e, t, r) {
|
|
1374
|
-
r._useUTC = !0, r._tzm =
|
|
1374
|
+
r._useUTC = !0, r._tzm = pt(He, e);
|
|
1375
1375
|
});
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1376
|
+
var Ma = /([\+\-]|\d\d)/gi;
|
|
1377
|
+
function pt(e, t) {
|
|
1378
1378
|
var r = (t || "").match(e), s, a, n;
|
|
1379
|
-
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(
|
|
1379
|
+
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(Ma) || ["-", 0, 0], n = +(a[1] * 60) + m(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
|
|
1380
1380
|
}
|
|
1381
1381
|
function kt(e, t) {
|
|
1382
1382
|
var r, s;
|
|
1383
|
-
return t._isUTC ? (r = t.clone(), s = (F(e) ||
|
|
1383
|
+
return t._isUTC ? (r = t.clone(), s = (F(e) || pe(e) ? e.valueOf() : p(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), l.updateOffset(r, !1), r) : p(e).local();
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function tt(e) {
|
|
1386
1386
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1387
1387
|
}
|
|
1388
1388
|
l.updateOffset = function() {
|
|
1389
1389
|
};
|
|
1390
|
-
function
|
|
1390
|
+
function pa(e, t, r) {
|
|
1391
1391
|
var s = this._offset || 0, a;
|
|
1392
1392
|
if (!this.isValid())
|
|
1393
1393
|
return e != null ? this : NaN;
|
|
1394
1394
|
if (e != null) {
|
|
1395
1395
|
if (typeof e == "string") {
|
|
1396
|
-
if (e =
|
|
1396
|
+
if (e = pt(He, e), e === null)
|
|
1397
1397
|
return this;
|
|
1398
1398
|
} else
|
|
1399
1399
|
Math.abs(e) < 16 && !r && (e = e * 60);
|
|
1400
|
-
return !this._isUTC && t && (a =
|
|
1400
|
+
return !this._isUTC && t && (a = tt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!t || this._changeInProgress ? or(
|
|
1401
1401
|
this,
|
|
1402
1402
|
C(e - s, "m"),
|
|
1403
1403
|
1,
|
|
1404
1404
|
!1
|
|
1405
1405
|
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1406
1406
|
} else
|
|
1407
|
-
return this._isUTC ? s :
|
|
1407
|
+
return this._isUTC ? s : tt(this);
|
|
1408
1408
|
}
|
|
1409
1409
|
function ka(e, t) {
|
|
1410
1410
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function Sa(e) {
|
|
1413
1413
|
return this.utcOffset(0, e);
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1416
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1415
|
+
function Da(e) {
|
|
1416
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(tt(this), "m")), this;
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function va() {
|
|
1419
1419
|
if (this._tzm != null)
|
|
1420
1420
|
this.utcOffset(this._tzm, !1, !0);
|
|
1421
1421
|
else if (typeof this._i == "string") {
|
|
1422
|
-
var e =
|
|
1422
|
+
var e = pt(Gr, this._i);
|
|
1423
1423
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1424
1424
|
}
|
|
1425
1425
|
return this;
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1428
|
-
return this.isValid() ? (e = e ?
|
|
1427
|
+
function Ya(e) {
|
|
1428
|
+
return this.isValid() ? (e = e ? p(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function Oa() {
|
|
1431
1431
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function ba() {
|
|
1434
1434
|
if (!b(this._isDSTShifted))
|
|
1435
1435
|
return this._isDSTShifted;
|
|
1436
1436
|
var e = {}, t;
|
|
1437
|
-
return
|
|
1437
|
+
return nt(e, this), e = tr(e), e._a ? (t = e._isUTC ? L(e._a) : p(e._a), this._isDSTShifted = this.isValid() && ga(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function Ta() {
|
|
1440
1440
|
return this.isValid() ? !this._isUTC : !1;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function xa() {
|
|
1443
1443
|
return this.isValid() ? this._isUTC : !1;
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1445
|
+
function nr() {
|
|
1446
1446
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1447
1447
|
}
|
|
1448
|
-
var
|
|
1448
|
+
var Pa = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Wa = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1449
1449
|
function C(e, t) {
|
|
1450
1450
|
var r = e, s = null, a, n, i;
|
|
1451
|
-
return
|
|
1451
|
+
return Te(e) ? r = {
|
|
1452
1452
|
ms: e._milliseconds,
|
|
1453
1453
|
d: e._days,
|
|
1454
1454
|
M: e._months
|
|
1455
|
-
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s =
|
|
1455
|
+
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Pa.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1456
1456
|
y: 0,
|
|
1457
|
-
d: m(s[
|
|
1457
|
+
d: m(s[U]) * a,
|
|
1458
1458
|
h: m(s[v]) * a,
|
|
1459
1459
|
m: m(s[N]) * a,
|
|
1460
1460
|
s: m(s[j]) * a,
|
|
1461
|
-
ms: m(
|
|
1461
|
+
ms: m(et(s[te] * 1e3)) * a
|
|
1462
1462
|
// the millisecond decimal point is included in the match
|
|
1463
|
-
}) : (s =
|
|
1463
|
+
}) : (s = Wa.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1464
1464
|
y: ee(s[2], a),
|
|
1465
1465
|
M: ee(s[3], a),
|
|
1466
1466
|
w: ee(s[4], a),
|
|
@@ -1468,47 +1468,47 @@ function C(e, t) {
|
|
|
1468
1468
|
h: ee(s[6], a),
|
|
1469
1469
|
m: ee(s[7], a),
|
|
1470
1470
|
s: ee(s[8], a)
|
|
1471
|
-
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i =
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
), r = {}, r.ms = i.milliseconds, r.M = i.months), n = new Ge(r),
|
|
1471
|
+
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i = Na(
|
|
1472
|
+
p(r.from),
|
|
1473
|
+
p(r.to)
|
|
1474
|
+
), r = {}, r.ms = i.milliseconds, r.M = i.months), n = new Ge(r), Te(e) && w(e, "_locale") && (n._locale = e._locale), Te(e) && w(e, "_isValid") && (n._isValid = e._isValid), n;
|
|
1475
1475
|
}
|
|
1476
1476
|
C.fn = Ge.prototype;
|
|
1477
|
-
C.invalid =
|
|
1477
|
+
C.invalid = wa;
|
|
1478
1478
|
function ee(e, t) {
|
|
1479
1479
|
var r = e && parseFloat(e.replace(",", "."));
|
|
1480
1480
|
return (isNaN(r) ? 0 : r) * t;
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function Pt(e, t) {
|
|
1483
1483
|
var r = {};
|
|
1484
1484
|
return r.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(r.months, "M").isAfter(t) && --r.months, r.milliseconds = +t - +e.clone().add(r.months, "M"), r;
|
|
1485
1485
|
}
|
|
1486
|
-
function
|
|
1486
|
+
function Na(e, t) {
|
|
1487
1487
|
var r;
|
|
1488
|
-
return e.isValid() && t.isValid() ? (t = kt(t, e), e.isBefore(t) ? r =
|
|
1488
|
+
return e.isValid() && t.isValid() ? (t = kt(t, e), e.isBefore(t) ? r = Pt(e, t) : (r = Pt(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function ir(e, t) {
|
|
1491
1491
|
return function(r, s) {
|
|
1492
1492
|
var a, n;
|
|
1493
|
-
return s !== null && !isNaN(+s) && (
|
|
1493
|
+
return s !== null && !isNaN(+s) && (Ct(
|
|
1494
1494
|
t,
|
|
1495
1495
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1496
|
-
), n = r, r = s, s = n), a = C(r, s),
|
|
1496
|
+
), n = r, r = s, s = n), a = C(r, s), or(this, a, e), this;
|
|
1497
1497
|
};
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1500
|
-
var a = t._milliseconds, n =
|
|
1501
|
-
e.isValid() && (s = s ?? !0, i &&
|
|
1499
|
+
function or(e, t, r, s) {
|
|
1500
|
+
var a = t._milliseconds, n = et(t._days), i = et(t._months);
|
|
1501
|
+
e.isValid() && (s = s ?? !0, i && zt(e, ye(e, "Month") + i * r), n && Vt(e, "Date", ye(e, "Date") + n * r), a && e._d.setTime(e._d.valueOf() + a * r), s && l.updateOffset(e, n || i));
|
|
1502
1502
|
}
|
|
1503
|
-
var
|
|
1504
|
-
function
|
|
1503
|
+
var Ra = ir(1, "add"), Fa = ir(-1, "subtract");
|
|
1504
|
+
function lr(e) {
|
|
1505
1505
|
return typeof e == "string" || e instanceof String;
|
|
1506
1506
|
}
|
|
1507
|
-
function Fa(e) {
|
|
1508
|
-
return F(e) || ke(e) || or(e) || q(e) || Ia(e) || Ca(e) || e === null || e === void 0;
|
|
1509
|
-
}
|
|
1510
1507
|
function Ca(e) {
|
|
1511
|
-
|
|
1508
|
+
return F(e) || pe(e) || lr(e) || q(e) || Ia(e) || Ua(e) || e === null || e === void 0;
|
|
1509
|
+
}
|
|
1510
|
+
function Ua(e) {
|
|
1511
|
+
var t = re(e) && !st(e), r = !1, s = [
|
|
1512
1512
|
"years",
|
|
1513
1513
|
"year",
|
|
1514
1514
|
"y",
|
|
@@ -1541,11 +1541,11 @@ function Ca(e) {
|
|
|
1541
1541
|
function Ia(e) {
|
|
1542
1542
|
var t = R(e), r = !1;
|
|
1543
1543
|
return t && (r = e.filter(function(s) {
|
|
1544
|
-
return !q(s) &&
|
|
1544
|
+
return !q(s) && lr(e);
|
|
1545
1545
|
}).length === 0), t && r;
|
|
1546
1546
|
}
|
|
1547
1547
|
function La(e) {
|
|
1548
|
-
var t = re(e) && !
|
|
1548
|
+
var t = re(e) && !st(e), r = !1, s = [
|
|
1549
1549
|
"sameDay",
|
|
1550
1550
|
"nextDay",
|
|
1551
1551
|
"lastDay",
|
|
@@ -1557,43 +1557,43 @@ function La(e) {
|
|
|
1557
1557
|
n = s[a], r = r || w(e, n);
|
|
1558
1558
|
return t && r;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function Ea(e, t) {
|
|
1561
1561
|
var r = e.diff(t, "days", !0);
|
|
1562
1562
|
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1563
1563
|
}
|
|
1564
|
-
function
|
|
1565
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1566
|
-
var r = e ||
|
|
1564
|
+
function Ha(e, t) {
|
|
1565
|
+
arguments.length === 1 && (arguments[0] ? Ca(arguments[0]) ? (e = arguments[0], t = void 0) : La(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1566
|
+
var r = e || p(), s = kt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", n = t && (E(t[a]) ? t[a].call(this, r) : t[a]);
|
|
1567
1567
|
return this.format(
|
|
1568
|
-
n || this.localeData().calendar(a, this,
|
|
1568
|
+
n || this.localeData().calendar(a, this, p(r))
|
|
1569
1569
|
);
|
|
1570
1570
|
}
|
|
1571
|
-
function
|
|
1572
|
-
return new
|
|
1571
|
+
function Aa() {
|
|
1572
|
+
return new ke(this);
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1575
|
-
var r = F(e) ? e :
|
|
1574
|
+
function Va(e, t) {
|
|
1575
|
+
var r = F(e) ? e : p(e);
|
|
1576
1576
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1577
1577
|
}
|
|
1578
1578
|
function Ga(e, t) {
|
|
1579
|
-
var r = F(e) ? e :
|
|
1579
|
+
var r = F(e) ? e : p(e);
|
|
1580
1580
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1583
|
-
var a = F(e) ? e :
|
|
1582
|
+
function ja(e, t, r, s) {
|
|
1583
|
+
var a = F(e) ? e : p(e), n = F(t) ? t : p(t);
|
|
1584
1584
|
return this.isValid() && a.isValid() && n.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (s[1] === ")" ? this.isBefore(n, r) : !this.isAfter(n, r))) : !1;
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1587
|
-
var r = F(e) ? e :
|
|
1586
|
+
function za(e, t) {
|
|
1587
|
+
var r = F(e) ? e : p(e), s;
|
|
1588
1588
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (s = r.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function $a(e, t) {
|
|
1591
1591
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function qa(e, t) {
|
|
1594
1594
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function Za(e, t, r) {
|
|
1597
1597
|
var s, a, n;
|
|
1598
1598
|
if (!this.isValid())
|
|
1599
1599
|
return NaN;
|
|
@@ -1601,13 +1601,13 @@ function qa(e, t, r) {
|
|
|
1601
1601
|
return NaN;
|
|
1602
1602
|
switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, t = W(t), t) {
|
|
1603
1603
|
case "year":
|
|
1604
|
-
n =
|
|
1604
|
+
n = xe(this, s) / 12;
|
|
1605
1605
|
break;
|
|
1606
1606
|
case "month":
|
|
1607
|
-
n =
|
|
1607
|
+
n = xe(this, s);
|
|
1608
1608
|
break;
|
|
1609
1609
|
case "quarter":
|
|
1610
|
-
n =
|
|
1610
|
+
n = xe(this, s) / 3;
|
|
1611
1611
|
break;
|
|
1612
1612
|
case "second":
|
|
1613
1613
|
n = (this - s) / 1e3;
|
|
@@ -1629,80 +1629,80 @@ function qa(e, t, r) {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
return r ? n : x(n);
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function xe(e, t) {
|
|
1633
1633
|
if (e.date() < t.date())
|
|
1634
|
-
return -
|
|
1634
|
+
return -xe(t, e);
|
|
1635
1635
|
var r = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(r, "months"), a, n;
|
|
1636
1636
|
return t - s < 0 ? (a = e.clone().add(r - 1, "months"), n = (t - s) / (s - a)) : (a = e.clone().add(r + 1, "months"), n = (t - s) / (a - s)), -(r + n) || 0;
|
|
1637
1637
|
}
|
|
1638
1638
|
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1639
1639
|
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1640
|
-
function
|
|
1640
|
+
function Ba() {
|
|
1641
1641
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Ja(e) {
|
|
1644
1644
|
if (!this.isValid())
|
|
1645
1645
|
return null;
|
|
1646
1646
|
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
1647
|
-
return r.year() < 0 || r.year() > 9999 ?
|
|
1647
|
+
return r.year() < 0 || r.year() > 9999 ? be(
|
|
1648
1648
|
r,
|
|
1649
1649
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1650
|
-
) : E(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z",
|
|
1650
|
+
) : E(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", be(r, "Z")) : be(
|
|
1651
1651
|
r,
|
|
1652
1652
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1653
1653
|
);
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1655
|
+
function Qa() {
|
|
1656
1656
|
if (!this.isValid())
|
|
1657
1657
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1658
1658
|
var e = "moment", t = "", r, s, a, n;
|
|
1659
1659
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), r = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", n = t + '[")]', this.format(r + s + a + n);
|
|
1660
1660
|
}
|
|
1661
|
-
function
|
|
1661
|
+
function Ka(e) {
|
|
1662
1662
|
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1663
|
-
var t =
|
|
1663
|
+
var t = be(this, e);
|
|
1664
1664
|
return this.localeData().postformat(t);
|
|
1665
1665
|
}
|
|
1666
|
-
function
|
|
1667
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1666
|
+
function Xa(e, t) {
|
|
1667
|
+
return this.isValid() && (F(e) && e.isValid() || p(e).isValid()) ? C({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1670
|
-
return this.from(
|
|
1669
|
+
function en(e) {
|
|
1670
|
+
return this.from(p(), e);
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1673
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1672
|
+
function tn(e, t) {
|
|
1673
|
+
return this.isValid() && (F(e) && e.isValid() || p(e).isValid()) ? C({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1674
1674
|
}
|
|
1675
|
-
function
|
|
1676
|
-
return this.to(
|
|
1675
|
+
function rn(e) {
|
|
1676
|
+
return this.to(p(), e);
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function ur(e) {
|
|
1679
1679
|
var t;
|
|
1680
1680
|
return e === void 0 ? this._locale._abbr : (t = Z(e), t != null && (this._locale = t), this);
|
|
1681
1681
|
}
|
|
1682
|
-
var
|
|
1682
|
+
var dr = P(
|
|
1683
1683
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1684
1684
|
function(e) {
|
|
1685
1685
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1686
1686
|
}
|
|
1687
1687
|
);
|
|
1688
|
-
function
|
|
1688
|
+
function hr() {
|
|
1689
1689
|
return this._locale;
|
|
1690
1690
|
}
|
|
1691
|
-
var
|
|
1691
|
+
var Ne = 1e3, le = 60 * Ne, Re = 60 * le, fr = (365 * 400 + 97) * 24 * Re;
|
|
1692
1692
|
function ue(e, t) {
|
|
1693
1693
|
return (e % t + t) % t;
|
|
1694
1694
|
}
|
|
1695
|
-
function fr(e, t, r) {
|
|
1696
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - hr : new Date(e, t, r).valueOf();
|
|
1697
|
-
}
|
|
1698
1695
|
function cr(e, t, r) {
|
|
1699
|
-
return e < 100 && e >= 0 ? Date
|
|
1696
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - fr : new Date(e, t, r).valueOf();
|
|
1700
1697
|
}
|
|
1701
|
-
function
|
|
1698
|
+
function mr(e, t, r) {
|
|
1699
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - fr : Date.UTC(e, t, r);
|
|
1700
|
+
}
|
|
1701
|
+
function sn(e) {
|
|
1702
1702
|
var t, r;
|
|
1703
1703
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1704
1704
|
return this;
|
|
1705
|
-
switch (r = this._isUTC ?
|
|
1705
|
+
switch (r = this._isUTC ? mr : cr, e) {
|
|
1706
1706
|
case "year":
|
|
1707
1707
|
t = r(this.year(), 0, 1);
|
|
1708
1708
|
break;
|
|
@@ -1737,23 +1737,23 @@ function rn(e) {
|
|
|
1737
1737
|
case "hour":
|
|
1738
1738
|
t = this._d.valueOf(), t -= ue(
|
|
1739
1739
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1740
|
-
|
|
1740
|
+
Re
|
|
1741
1741
|
);
|
|
1742
1742
|
break;
|
|
1743
1743
|
case "minute":
|
|
1744
1744
|
t = this._d.valueOf(), t -= ue(t, le);
|
|
1745
1745
|
break;
|
|
1746
1746
|
case "second":
|
|
1747
|
-
t = this._d.valueOf(), t -= ue(t,
|
|
1747
|
+
t = this._d.valueOf(), t -= ue(t, Ne);
|
|
1748
1748
|
break;
|
|
1749
1749
|
}
|
|
1750
1750
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1751
1751
|
}
|
|
1752
|
-
function
|
|
1752
|
+
function an(e) {
|
|
1753
1753
|
var t, r;
|
|
1754
1754
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1755
1755
|
return this;
|
|
1756
|
-
switch (r = this._isUTC ?
|
|
1756
|
+
switch (r = this._isUTC ? mr : cr, e) {
|
|
1757
1757
|
case "year":
|
|
1758
1758
|
t = r(this.year() + 1, 0, 1) - 1;
|
|
1759
1759
|
break;
|
|
@@ -1786,30 +1786,30 @@ function sn(e) {
|
|
|
1786
1786
|
t = r(this.year(), this.month(), this.date() + 1) - 1;
|
|
1787
1787
|
break;
|
|
1788
1788
|
case "hour":
|
|
1789
|
-
t = this._d.valueOf(), t +=
|
|
1789
|
+
t = this._d.valueOf(), t += Re - ue(
|
|
1790
1790
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1791
|
-
|
|
1791
|
+
Re
|
|
1792
1792
|
) - 1;
|
|
1793
1793
|
break;
|
|
1794
1794
|
case "minute":
|
|
1795
1795
|
t = this._d.valueOf(), t += le - ue(t, le) - 1;
|
|
1796
1796
|
break;
|
|
1797
1797
|
case "second":
|
|
1798
|
-
t = this._d.valueOf(), t +=
|
|
1798
|
+
t = this._d.valueOf(), t += Ne - ue(t, Ne) - 1;
|
|
1799
1799
|
break;
|
|
1800
1800
|
}
|
|
1801
1801
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function nn() {
|
|
1804
1804
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function on() {
|
|
1807
1807
|
return Math.floor(this.valueOf() / 1e3);
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function ln() {
|
|
1810
1810
|
return new Date(this.valueOf());
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function un() {
|
|
1813
1813
|
var e = this;
|
|
1814
1814
|
return [
|
|
1815
1815
|
e.year(),
|
|
@@ -1821,7 +1821,7 @@ function ln() {
|
|
|
1821
1821
|
e.millisecond()
|
|
1822
1822
|
];
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1824
|
+
function dn() {
|
|
1825
1825
|
var e = this;
|
|
1826
1826
|
return {
|
|
1827
1827
|
years: e.year(),
|
|
@@ -1833,19 +1833,19 @@ function un() {
|
|
|
1833
1833
|
milliseconds: e.milliseconds()
|
|
1834
1834
|
};
|
|
1835
1835
|
}
|
|
1836
|
-
function dn() {
|
|
1837
|
-
return this.isValid() ? this.toISOString() : null;
|
|
1838
|
-
}
|
|
1839
1836
|
function hn() {
|
|
1840
|
-
return
|
|
1837
|
+
return this.isValid() ? this.toISOString() : null;
|
|
1841
1838
|
}
|
|
1842
1839
|
function fn() {
|
|
1843
|
-
return
|
|
1840
|
+
return at(this);
|
|
1844
1841
|
}
|
|
1845
1842
|
function cn() {
|
|
1846
|
-
return c(this)
|
|
1843
|
+
return Q({}, c(this));
|
|
1847
1844
|
}
|
|
1848
1845
|
function mn() {
|
|
1846
|
+
return c(this).overflow;
|
|
1847
|
+
}
|
|
1848
|
+
function _n() {
|
|
1849
1849
|
return {
|
|
1850
1850
|
input: this._i,
|
|
1851
1851
|
format: this._f,
|
|
@@ -1863,11 +1863,11 @@ h("y", ["y", 1], "yo", "eraYear");
|
|
|
1863
1863
|
h("y", ["yy", 2], 0, "eraYear");
|
|
1864
1864
|
h("y", ["yyy", 3], 0, "eraYear");
|
|
1865
1865
|
h("y", ["yyyy", 4], 0, "eraYear");
|
|
1866
|
-
d("N",
|
|
1867
|
-
d("NN",
|
|
1868
|
-
d("NNN",
|
|
1869
|
-
d("NNNN",
|
|
1870
|
-
d("NNNNN",
|
|
1866
|
+
d("N", St);
|
|
1867
|
+
d("NN", St);
|
|
1868
|
+
d("NNN", St);
|
|
1869
|
+
d("NNNN", On);
|
|
1870
|
+
d("NNNNN", bn);
|
|
1871
1871
|
M(
|
|
1872
1872
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
1873
1873
|
function(e, t, r, s) {
|
|
@@ -1879,13 +1879,13 @@ d("y", de);
|
|
|
1879
1879
|
d("yy", de);
|
|
1880
1880
|
d("yyy", de);
|
|
1881
1881
|
d("yyyy", de);
|
|
1882
|
-
d("yo",
|
|
1882
|
+
d("yo", Tn);
|
|
1883
1883
|
M(["y", "yy", "yyy", "yyyy"], Y);
|
|
1884
1884
|
M(["yo"], function(e, t, r, s) {
|
|
1885
1885
|
var a;
|
|
1886
1886
|
r._locale._eraYearOrdinalRegex && (a = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Y] = r._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
|
1887
1887
|
});
|
|
1888
|
-
function
|
|
1888
|
+
function yn(e, t) {
|
|
1889
1889
|
var r, s, a, n = this._eras || Z("en")._eras;
|
|
1890
1890
|
for (r = 0, s = n.length; r < s; ++r) {
|
|
1891
1891
|
switch (typeof n[r].since) {
|
|
@@ -1904,7 +1904,7 @@ function _n(e, t) {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
return n;
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1907
|
+
function wn(e, t, r) {
|
|
1908
1908
|
var s, a, n = this.eras(), i, u, f;
|
|
1909
1909
|
for (e = e.toUpperCase(), s = 0, a = n.length; s < a; ++s)
|
|
1910
1910
|
if (i = n[s].name.toUpperCase(), u = n[s].abbr.toUpperCase(), f = n[s].narrow.toUpperCase(), r)
|
|
@@ -1927,18 +1927,18 @@ function yn(e, t, r) {
|
|
|
1927
1927
|
else if ([i, u, f].indexOf(e) >= 0)
|
|
1928
1928
|
return n[s];
|
|
1929
1929
|
}
|
|
1930
|
-
function
|
|
1930
|
+
function gn(e, t) {
|
|
1931
1931
|
var r = e.since <= e.until ? 1 : -1;
|
|
1932
1932
|
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * r;
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1934
|
+
function Mn() {
|
|
1935
1935
|
var e, t, r, s = this.localeData().eras();
|
|
1936
1936
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1937
1937
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1938
1938
|
return s[e].name;
|
|
1939
1939
|
return "";
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function pn() {
|
|
1942
1942
|
var e, t, r, s = this.localeData().eras();
|
|
1943
1943
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1944
1944
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
@@ -1952,35 +1952,35 @@ function kn() {
|
|
|
1952
1952
|
return s[e].abbr;
|
|
1953
1953
|
return "";
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1955
|
+
function Sn() {
|
|
1956
1956
|
var e, t, r, s, a = this.localeData().eras();
|
|
1957
1957
|
for (e = 0, t = a.length; e < t; ++e)
|
|
1958
1958
|
if (r = a[e].since <= a[e].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), a[e].since <= s && s <= a[e].until || a[e].until <= s && s <= a[e].since)
|
|
1959
1959
|
return (this.year() - l(a[e].since).year()) * r + a[e].offset;
|
|
1960
1960
|
return this.year();
|
|
1961
1961
|
}
|
|
1962
|
-
function Sn(e) {
|
|
1963
|
-
return w(this, "_erasNameRegex") || St.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
1964
|
-
}
|
|
1965
1962
|
function Dn(e) {
|
|
1966
|
-
return w(this, "
|
|
1963
|
+
return w(this, "_erasNameRegex") || Dt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
1967
1964
|
}
|
|
1968
1965
|
function vn(e) {
|
|
1969
|
-
return w(this, "
|
|
1966
|
+
return w(this, "_erasAbbrRegex") || Dt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
1970
1967
|
}
|
|
1971
|
-
function
|
|
1968
|
+
function Yn(e) {
|
|
1969
|
+
return w(this, "_erasNarrowRegex") || Dt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
1970
|
+
}
|
|
1971
|
+
function St(e, t) {
|
|
1972
1972
|
return t.erasAbbrRegex(e);
|
|
1973
1973
|
}
|
|
1974
|
-
function
|
|
1974
|
+
function On(e, t) {
|
|
1975
1975
|
return t.erasNameRegex(e);
|
|
1976
1976
|
}
|
|
1977
|
-
function
|
|
1977
|
+
function bn(e, t) {
|
|
1978
1978
|
return t.erasNarrowRegex(e);
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1980
|
+
function Tn(e, t) {
|
|
1981
1981
|
return t._eraYearOrdinalRegex || de;
|
|
1982
1982
|
}
|
|
1983
|
-
function
|
|
1983
|
+
function Dt() {
|
|
1984
1984
|
var e = [], t = [], r = [], s = [], a, n, i, u, f, _ = this.eras();
|
|
1985
1985
|
for (a = 0, n = _.length; a < n; ++a)
|
|
1986
1986
|
i = z(_[a].name), u = z(_[a].abbr), f = z(_[a].narrow), t.push(i), e.push(u), r.push(f), s.push(i), s.push(u), s.push(f);
|
|
@@ -1995,21 +1995,21 @@ h(0, ["gg", 2], 0, function() {
|
|
|
1995
1995
|
h(0, ["GG", 2], 0, function() {
|
|
1996
1996
|
return this.isoWeekYear() % 100;
|
|
1997
1997
|
});
|
|
1998
|
-
function
|
|
1998
|
+
function je(e, t) {
|
|
1999
1999
|
h(0, [e, e.length], 0, t);
|
|
2000
2000
|
}
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
d("G",
|
|
2006
|
-
d("g",
|
|
2007
|
-
d("GG",
|
|
2008
|
-
d("gg",
|
|
2009
|
-
d("GGGG",
|
|
2010
|
-
d("gggg",
|
|
2011
|
-
d("GGGGG", Le,
|
|
2012
|
-
d("ggggg", Le,
|
|
2001
|
+
je("gggg", "weekYear");
|
|
2002
|
+
je("ggggg", "weekYear");
|
|
2003
|
+
je("GGGG", "isoWeekYear");
|
|
2004
|
+
je("GGGGG", "isoWeekYear");
|
|
2005
|
+
d("G", Ee);
|
|
2006
|
+
d("g", Ee);
|
|
2007
|
+
d("GG", k, T);
|
|
2008
|
+
d("gg", k, T);
|
|
2009
|
+
d("GGGG", dt, ut);
|
|
2010
|
+
d("gggg", dt, ut);
|
|
2011
|
+
d("GGGGG", Le, Ue);
|
|
2012
|
+
d("ggggg", Le, Ue);
|
|
2013
2013
|
De(
|
|
2014
2014
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2015
2015
|
function(e, t, r, s) {
|
|
@@ -2019,8 +2019,8 @@ De(
|
|
|
2019
2019
|
De(["gg", "GG"], function(e, t, r, s) {
|
|
2020
2020
|
t[s] = l.parseTwoDigitYear(e);
|
|
2021
2021
|
});
|
|
2022
|
-
function
|
|
2023
|
-
return
|
|
2022
|
+
function xn(e) {
|
|
2023
|
+
return _r.call(
|
|
2024
2024
|
this,
|
|
2025
2025
|
e,
|
|
2026
2026
|
this.week(),
|
|
@@ -2029,8 +2029,8 @@ function Tn(e) {
|
|
|
2029
2029
|
this.localeData()._week.doy
|
|
2030
2030
|
);
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return
|
|
2032
|
+
function Pn(e) {
|
|
2033
|
+
return _r.call(
|
|
2034
2034
|
this,
|
|
2035
2035
|
e,
|
|
2036
2036
|
this.isoWeek(),
|
|
@@ -2039,47 +2039,47 @@ function xn(e) {
|
|
|
2039
2039
|
4
|
|
2040
2040
|
);
|
|
2041
2041
|
}
|
|
2042
|
-
function
|
|
2042
|
+
function Wn() {
|
|
2043
2043
|
return $(this.year(), 1, 4);
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2045
|
+
function Nn() {
|
|
2046
2046
|
return $(this.isoWeekYear(), 1, 4);
|
|
2047
2047
|
}
|
|
2048
|
-
function
|
|
2048
|
+
function Rn() {
|
|
2049
2049
|
var e = this.localeData()._week;
|
|
2050
2050
|
return $(this.year(), e.dow, e.doy);
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function Fn() {
|
|
2053
2053
|
var e = this.localeData()._week;
|
|
2054
2054
|
return $(this.weekYear(), e.dow, e.doy);
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2056
|
+
function _r(e, t, r, s, a) {
|
|
2057
2057
|
var n;
|
|
2058
|
-
return e == null ? ge(this, s, a).year : (n = $(e, s, a), t > n && (t = n),
|
|
2058
|
+
return e == null ? ge(this, s, a).year : (n = $(e, s, a), t > n && (t = n), Cn.call(this, e, t, r, s, a));
|
|
2059
2059
|
}
|
|
2060
|
-
function
|
|
2061
|
-
var n =
|
|
2060
|
+
function Cn(e, t, r, s, a) {
|
|
2061
|
+
var n = Zt(e, t, r, s, a), i = we(n.year, 0, n.dayOfYear);
|
|
2062
2062
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2063
2063
|
}
|
|
2064
2064
|
h("Q", 0, "Qo", "quarter");
|
|
2065
2065
|
d("Q", It);
|
|
2066
2066
|
M("Q", function(e, t) {
|
|
2067
|
-
t[
|
|
2067
|
+
t[G] = (m(e) - 1) * 3;
|
|
2068
2068
|
});
|
|
2069
|
-
function
|
|
2069
|
+
function Un(e) {
|
|
2070
2070
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2071
2071
|
}
|
|
2072
2072
|
h("D", ["DD", 2], "Do", "date");
|
|
2073
|
-
d("D",
|
|
2074
|
-
d("DD",
|
|
2073
|
+
d("D", k, he);
|
|
2074
|
+
d("DD", k, T);
|
|
2075
2075
|
d("Do", function(e, t) {
|
|
2076
2076
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2077
2077
|
});
|
|
2078
|
-
M(["D", "DD"],
|
|
2078
|
+
M(["D", "DD"], U);
|
|
2079
2079
|
M("Do", function(e, t) {
|
|
2080
|
-
t[
|
|
2080
|
+
t[U] = m(e.match(k)[0]);
|
|
2081
2081
|
});
|
|
2082
|
-
var
|
|
2082
|
+
var yr = fe("Date", !0);
|
|
2083
2083
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2084
2084
|
d("DDD", Ie);
|
|
2085
2085
|
d("DDDD", Lt);
|
|
@@ -2093,15 +2093,15 @@ function In(e) {
|
|
|
2093
2093
|
return e == null ? t : this.add(e - t, "d");
|
|
2094
2094
|
}
|
|
2095
2095
|
h("m", ["mm", 2], 0, "minute");
|
|
2096
|
-
d("m",
|
|
2097
|
-
d("mm",
|
|
2096
|
+
d("m", k, ht);
|
|
2097
|
+
d("mm", k, T);
|
|
2098
2098
|
M(["m", "mm"], N);
|
|
2099
2099
|
var Ln = fe("Minutes", !1);
|
|
2100
2100
|
h("s", ["ss", 2], 0, "second");
|
|
2101
|
-
d("s",
|
|
2102
|
-
d("ss",
|
|
2101
|
+
d("s", k, ht);
|
|
2102
|
+
d("ss", k, T);
|
|
2103
2103
|
M(["s", "ss"], j);
|
|
2104
|
-
var
|
|
2104
|
+
var En = fe("Seconds", !1);
|
|
2105
2105
|
h("S", 0, 0, function() {
|
|
2106
2106
|
return ~~(this.millisecond() / 100);
|
|
2107
2107
|
});
|
|
@@ -2130,114 +2130,114 @@ h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
|
2130
2130
|
d("S", Ie, It);
|
|
2131
2131
|
d("SS", Ie, T);
|
|
2132
2132
|
d("SSS", Ie, Lt);
|
|
2133
|
-
var K,
|
|
2133
|
+
var K, wr;
|
|
2134
2134
|
for (K = "SSSS"; K.length <= 9; K += "S")
|
|
2135
2135
|
d(K, de);
|
|
2136
|
-
function
|
|
2136
|
+
function Hn(e, t) {
|
|
2137
2137
|
t[te] = m(("0." + e) * 1e3);
|
|
2138
2138
|
}
|
|
2139
2139
|
for (K = "S"; K.length <= 9; K += "S")
|
|
2140
|
-
M(K,
|
|
2141
|
-
|
|
2140
|
+
M(K, Hn);
|
|
2141
|
+
wr = fe("Milliseconds", !1);
|
|
2142
2142
|
h("z", 0, 0, "zoneAbbr");
|
|
2143
2143
|
h("zz", 0, 0, "zoneName");
|
|
2144
|
-
function
|
|
2144
|
+
function An() {
|
|
2145
2145
|
return this._isUTC ? "UTC" : "";
|
|
2146
2146
|
}
|
|
2147
|
-
function
|
|
2147
|
+
function Vn() {
|
|
2148
2148
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2149
2149
|
}
|
|
2150
|
-
var o =
|
|
2151
|
-
o.add =
|
|
2152
|
-
o.calendar =
|
|
2153
|
-
o.clone =
|
|
2154
|
-
o.diff =
|
|
2155
|
-
o.endOf =
|
|
2156
|
-
o.format =
|
|
2157
|
-
o.from =
|
|
2158
|
-
o.fromNow =
|
|
2159
|
-
o.to =
|
|
2160
|
-
o.toNow =
|
|
2161
|
-
o.get =
|
|
2162
|
-
o.invalidAt =
|
|
2163
|
-
o.isAfter =
|
|
2150
|
+
var o = ke.prototype;
|
|
2151
|
+
o.add = Ra;
|
|
2152
|
+
o.calendar = Ha;
|
|
2153
|
+
o.clone = Aa;
|
|
2154
|
+
o.diff = Za;
|
|
2155
|
+
o.endOf = an;
|
|
2156
|
+
o.format = Ka;
|
|
2157
|
+
o.from = Xa;
|
|
2158
|
+
o.fromNow = en;
|
|
2159
|
+
o.to = tn;
|
|
2160
|
+
o.toNow = rn;
|
|
2161
|
+
o.get = Qr;
|
|
2162
|
+
o.invalidAt = mn;
|
|
2163
|
+
o.isAfter = Va;
|
|
2164
2164
|
o.isBefore = Ga;
|
|
2165
|
-
o.isBetween =
|
|
2166
|
-
o.isSame =
|
|
2167
|
-
o.isSameOrAfter =
|
|
2168
|
-
o.isSameOrBefore =
|
|
2169
|
-
o.isValid =
|
|
2170
|
-
o.lang =
|
|
2171
|
-
o.locale =
|
|
2172
|
-
o.localeData =
|
|
2173
|
-
o.max =
|
|
2174
|
-
o.min =
|
|
2175
|
-
o.parsingFlags =
|
|
2176
|
-
o.set =
|
|
2177
|
-
o.startOf =
|
|
2178
|
-
o.subtract =
|
|
2179
|
-
o.toArray =
|
|
2180
|
-
o.toObject =
|
|
2181
|
-
o.toDate =
|
|
2182
|
-
o.toISOString =
|
|
2183
|
-
o.inspect =
|
|
2165
|
+
o.isBetween = ja;
|
|
2166
|
+
o.isSame = za;
|
|
2167
|
+
o.isSameOrAfter = $a;
|
|
2168
|
+
o.isSameOrBefore = qa;
|
|
2169
|
+
o.isValid = fn;
|
|
2170
|
+
o.lang = dr;
|
|
2171
|
+
o.locale = ur;
|
|
2172
|
+
o.localeData = hr;
|
|
2173
|
+
o.max = ha;
|
|
2174
|
+
o.min = da;
|
|
2175
|
+
o.parsingFlags = cn;
|
|
2176
|
+
o.set = Kr;
|
|
2177
|
+
o.startOf = sn;
|
|
2178
|
+
o.subtract = Fa;
|
|
2179
|
+
o.toArray = un;
|
|
2180
|
+
o.toObject = dn;
|
|
2181
|
+
o.toDate = ln;
|
|
2182
|
+
o.toISOString = Ja;
|
|
2183
|
+
o.inspect = Qa;
|
|
2184
2184
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2185
2185
|
return "Moment<" + this.format() + ">";
|
|
2186
2186
|
});
|
|
2187
|
-
o.toJSON =
|
|
2188
|
-
o.toString =
|
|
2189
|
-
o.unix =
|
|
2190
|
-
o.valueOf =
|
|
2191
|
-
o.creationData =
|
|
2192
|
-
o.eraName =
|
|
2193
|
-
o.eraNarrow =
|
|
2187
|
+
o.toJSON = hn;
|
|
2188
|
+
o.toString = Ba;
|
|
2189
|
+
o.unix = on;
|
|
2190
|
+
o.valueOf = nn;
|
|
2191
|
+
o.creationData = _n;
|
|
2192
|
+
o.eraName = Mn;
|
|
2193
|
+
o.eraNarrow = pn;
|
|
2194
2194
|
o.eraAbbr = kn;
|
|
2195
|
-
o.eraYear =
|
|
2196
|
-
o.year =
|
|
2197
|
-
o.isLeapYear =
|
|
2198
|
-
o.weekYear =
|
|
2199
|
-
o.isoWeekYear =
|
|
2200
|
-
o.quarter = o.quarters =
|
|
2201
|
-
o.month =
|
|
2202
|
-
o.daysInMonth =
|
|
2203
|
-
o.week = o.weeks =
|
|
2204
|
-
o.isoWeek = o.isoWeeks =
|
|
2205
|
-
o.weeksInYear =
|
|
2206
|
-
o.weeksInWeekYear =
|
|
2207
|
-
o.isoWeeksInYear =
|
|
2208
|
-
o.isoWeeksInISOWeekYear =
|
|
2209
|
-
o.date =
|
|
2210
|
-
o.day = o.days =
|
|
2211
|
-
o.weekday =
|
|
2212
|
-
o.isoWeekday =
|
|
2195
|
+
o.eraYear = Sn;
|
|
2196
|
+
o.year = At;
|
|
2197
|
+
o.isLeapYear = Jr;
|
|
2198
|
+
o.weekYear = xn;
|
|
2199
|
+
o.isoWeekYear = Pn;
|
|
2200
|
+
o.quarter = o.quarters = Un;
|
|
2201
|
+
o.month = $t;
|
|
2202
|
+
o.daysInMonth = os;
|
|
2203
|
+
o.week = o.weeks = _s;
|
|
2204
|
+
o.isoWeek = o.isoWeeks = ys;
|
|
2205
|
+
o.weeksInYear = Rn;
|
|
2206
|
+
o.weeksInWeekYear = Fn;
|
|
2207
|
+
o.isoWeeksInYear = Wn;
|
|
2208
|
+
o.isoWeeksInISOWeekYear = Nn;
|
|
2209
|
+
o.date = yr;
|
|
2210
|
+
o.day = o.days = xs;
|
|
2211
|
+
o.weekday = Ps;
|
|
2212
|
+
o.isoWeekday = Ws;
|
|
2213
2213
|
o.dayOfYear = In;
|
|
2214
2214
|
o.hour = o.hours = Ls;
|
|
2215
2215
|
o.minute = o.minutes = Ln;
|
|
2216
|
-
o.second = o.seconds =
|
|
2217
|
-
o.millisecond = o.milliseconds =
|
|
2218
|
-
o.utcOffset =
|
|
2219
|
-
o.utc =
|
|
2220
|
-
o.local =
|
|
2221
|
-
o.parseZone =
|
|
2222
|
-
o.hasAlignedHourOffset =
|
|
2223
|
-
o.isDST =
|
|
2224
|
-
o.isLocal =
|
|
2225
|
-
o.isUtcOffset =
|
|
2226
|
-
o.isUtc =
|
|
2227
|
-
o.isUTC =
|
|
2228
|
-
o.zoneAbbr =
|
|
2229
|
-
o.zoneName =
|
|
2216
|
+
o.second = o.seconds = En;
|
|
2217
|
+
o.millisecond = o.milliseconds = wr;
|
|
2218
|
+
o.utcOffset = pa;
|
|
2219
|
+
o.utc = Sa;
|
|
2220
|
+
o.local = Da;
|
|
2221
|
+
o.parseZone = va;
|
|
2222
|
+
o.hasAlignedHourOffset = Ya;
|
|
2223
|
+
o.isDST = Oa;
|
|
2224
|
+
o.isLocal = Ta;
|
|
2225
|
+
o.isUtcOffset = xa;
|
|
2226
|
+
o.isUtc = nr;
|
|
2227
|
+
o.isUTC = nr;
|
|
2228
|
+
o.zoneAbbr = An;
|
|
2229
|
+
o.zoneName = Vn;
|
|
2230
2230
|
o.dates = P(
|
|
2231
2231
|
"dates accessor is deprecated. Use date instead.",
|
|
2232
|
-
|
|
2232
|
+
yr
|
|
2233
2233
|
);
|
|
2234
2234
|
o.months = P(
|
|
2235
2235
|
"months accessor is deprecated. Use month instead",
|
|
2236
|
-
|
|
2236
|
+
$t
|
|
2237
2237
|
);
|
|
2238
2238
|
o.years = P(
|
|
2239
2239
|
"years accessor is deprecated. Use year instead",
|
|
2240
|
-
|
|
2240
|
+
At
|
|
2241
2241
|
);
|
|
2242
2242
|
o.zone = P(
|
|
2243
2243
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
@@ -2245,85 +2245,85 @@ o.zone = P(
|
|
|
2245
2245
|
);
|
|
2246
2246
|
o.isDSTShifted = P(
|
|
2247
2247
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2248
|
-
|
|
2248
|
+
ba
|
|
2249
2249
|
);
|
|
2250
2250
|
function Gn(e) {
|
|
2251
|
-
return
|
|
2251
|
+
return p(e * 1e3);
|
|
2252
2252
|
}
|
|
2253
|
-
function
|
|
2254
|
-
return
|
|
2253
|
+
function jn() {
|
|
2254
|
+
return p.apply(null, arguments).parseZone();
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2256
|
+
function gr(e) {
|
|
2257
2257
|
return e;
|
|
2258
2258
|
}
|
|
2259
|
-
var g =
|
|
2260
|
-
g.calendar =
|
|
2261
|
-
g.longDateFormat =
|
|
2262
|
-
g.invalidDate =
|
|
2259
|
+
var g = it.prototype;
|
|
2260
|
+
g.calendar = Tr;
|
|
2261
|
+
g.longDateFormat = Nr;
|
|
2262
|
+
g.invalidDate = Fr;
|
|
2263
2263
|
g.ordinal = Ir;
|
|
2264
|
-
g.preparse =
|
|
2265
|
-
g.postformat =
|
|
2266
|
-
g.relativeTime =
|
|
2267
|
-
g.pastFuture =
|
|
2268
|
-
g.set =
|
|
2269
|
-
g.eras =
|
|
2270
|
-
g.erasParse =
|
|
2271
|
-
g.erasConvertYear =
|
|
2272
|
-
g.erasAbbrRegex =
|
|
2273
|
-
g.erasNameRegex =
|
|
2274
|
-
g.erasNarrowRegex =
|
|
2275
|
-
g.months =
|
|
2276
|
-
g.monthsShort =
|
|
2277
|
-
g.monthsParse =
|
|
2278
|
-
g.monthsRegex =
|
|
2279
|
-
g.monthsShortRegex =
|
|
2280
|
-
g.week =
|
|
2281
|
-
g.firstDayOfYear =
|
|
2282
|
-
g.firstDayOfWeek =
|
|
2283
|
-
g.weekdays =
|
|
2284
|
-
g.weekdaysMin =
|
|
2285
|
-
g.weekdaysShort =
|
|
2286
|
-
g.weekdaysParse =
|
|
2287
|
-
g.weekdaysRegex =
|
|
2288
|
-
g.weekdaysShortRegex =
|
|
2289
|
-
g.weekdaysMinRegex =
|
|
2290
|
-
g.isPM =
|
|
2291
|
-
g.meridiem =
|
|
2292
|
-
function
|
|
2293
|
-
var a = Z(), n =
|
|
2264
|
+
g.preparse = gr;
|
|
2265
|
+
g.postformat = gr;
|
|
2266
|
+
g.relativeTime = Er;
|
|
2267
|
+
g.pastFuture = Hr;
|
|
2268
|
+
g.set = Or;
|
|
2269
|
+
g.eras = yn;
|
|
2270
|
+
g.erasParse = wn;
|
|
2271
|
+
g.erasConvertYear = gn;
|
|
2272
|
+
g.erasAbbrRegex = vn;
|
|
2273
|
+
g.erasNameRegex = Dn;
|
|
2274
|
+
g.erasNarrowRegex = Yn;
|
|
2275
|
+
g.months = ss;
|
|
2276
|
+
g.monthsShort = as;
|
|
2277
|
+
g.monthsParse = is;
|
|
2278
|
+
g.monthsRegex = us;
|
|
2279
|
+
g.monthsShortRegex = ls;
|
|
2280
|
+
g.week = hs;
|
|
2281
|
+
g.firstDayOfYear = ms;
|
|
2282
|
+
g.firstDayOfWeek = cs;
|
|
2283
|
+
g.weekdays = vs;
|
|
2284
|
+
g.weekdaysMin = Os;
|
|
2285
|
+
g.weekdaysShort = Ys;
|
|
2286
|
+
g.weekdaysParse = Ts;
|
|
2287
|
+
g.weekdaysRegex = Ns;
|
|
2288
|
+
g.weekdaysShortRegex = Rs;
|
|
2289
|
+
g.weekdaysMinRegex = Fs;
|
|
2290
|
+
g.isPM = Us;
|
|
2291
|
+
g.meridiem = Es;
|
|
2292
|
+
function Fe(e, t, r, s) {
|
|
2293
|
+
var a = Z(), n = L().set(s, t);
|
|
2294
2294
|
return a[r](n, e);
|
|
2295
2295
|
}
|
|
2296
|
-
function
|
|
2296
|
+
function Mr(e, t, r) {
|
|
2297
2297
|
if (q(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2298
|
-
return
|
|
2298
|
+
return Fe(e, t, r, "month");
|
|
2299
2299
|
var s, a = [];
|
|
2300
2300
|
for (s = 0; s < 12; s++)
|
|
2301
|
-
a[s] =
|
|
2301
|
+
a[s] = Fe(e, s, r, "month");
|
|
2302
2302
|
return a;
|
|
2303
2303
|
}
|
|
2304
|
-
function
|
|
2304
|
+
function vt(e, t, r, s) {
|
|
2305
2305
|
typeof e == "boolean" ? (q(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, q(t) && (r = t, t = void 0), t = t || "");
|
|
2306
2306
|
var a = Z(), n = e ? a._week.dow : 0, i, u = [];
|
|
2307
2307
|
if (r != null)
|
|
2308
|
-
return
|
|
2308
|
+
return Fe(t, (r + n) % 7, s, "day");
|
|
2309
2309
|
for (i = 0; i < 7; i++)
|
|
2310
|
-
u[i] =
|
|
2310
|
+
u[i] = Fe(t, (i + n) % 7, s, "day");
|
|
2311
2311
|
return u;
|
|
2312
2312
|
}
|
|
2313
|
-
function jn(e, t) {
|
|
2314
|
-
return gr(e, t, "months");
|
|
2315
|
-
}
|
|
2316
2313
|
function zn(e, t) {
|
|
2317
|
-
return
|
|
2314
|
+
return Mr(e, t, "months");
|
|
2318
2315
|
}
|
|
2319
|
-
function $n(e, t
|
|
2320
|
-
return
|
|
2316
|
+
function $n(e, t) {
|
|
2317
|
+
return Mr(e, t, "monthsShort");
|
|
2321
2318
|
}
|
|
2322
2319
|
function qn(e, t, r) {
|
|
2323
|
-
return
|
|
2320
|
+
return vt(e, t, r, "weekdays");
|
|
2324
2321
|
}
|
|
2325
2322
|
function Zn(e, t, r) {
|
|
2326
|
-
return
|
|
2323
|
+
return vt(e, t, r, "weekdaysShort");
|
|
2324
|
+
}
|
|
2325
|
+
function Bn(e, t, r) {
|
|
2326
|
+
return vt(e, t, r, "weekdaysMin");
|
|
2327
2327
|
}
|
|
2328
2328
|
X("en", {
|
|
2329
2329
|
eras: [
|
|
@@ -2359,34 +2359,34 @@ l.langData = P(
|
|
|
2359
2359
|
Z
|
|
2360
2360
|
);
|
|
2361
2361
|
var A = Math.abs;
|
|
2362
|
-
function
|
|
2362
|
+
function Jn() {
|
|
2363
2363
|
var e = this._data;
|
|
2364
2364
|
return this._milliseconds = A(this._milliseconds), this._days = A(this._days), this._months = A(this._months), e.milliseconds = A(e.milliseconds), e.seconds = A(e.seconds), e.minutes = A(e.minutes), e.hours = A(e.hours), e.months = A(e.months), e.years = A(e.years), this;
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2366
|
+
function pr(e, t, r, s) {
|
|
2367
2367
|
var a = C(t, r);
|
|
2368
2368
|
return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
|
|
2369
2369
|
}
|
|
2370
|
-
function Jn(e, t) {
|
|
2371
|
-
return Mr(this, e, t, 1);
|
|
2372
|
-
}
|
|
2373
2370
|
function Qn(e, t) {
|
|
2374
|
-
return
|
|
2371
|
+
return pr(this, e, t, 1);
|
|
2372
|
+
}
|
|
2373
|
+
function Kn(e, t) {
|
|
2374
|
+
return pr(this, e, t, -1);
|
|
2375
2375
|
}
|
|
2376
|
-
function
|
|
2376
|
+
function Wt(e) {
|
|
2377
2377
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2378
2378
|
}
|
|
2379
|
-
function
|
|
2379
|
+
function Xn() {
|
|
2380
2380
|
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, n, i, u, f;
|
|
2381
|
-
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e +=
|
|
2381
|
+
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += Wt(rt(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, a = x(e / 1e3), s.seconds = a % 60, n = x(a / 60), s.minutes = n % 60, i = x(n / 60), s.hours = i % 24, t += x(i / 24), f = x(kr(t)), r += f, t -= Wt(rt(f)), u = x(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
|
|
2382
2382
|
}
|
|
2383
2383
|
function kr(e) {
|
|
2384
2384
|
return e * 4800 / 146097;
|
|
2385
2385
|
}
|
|
2386
|
-
function
|
|
2386
|
+
function rt(e) {
|
|
2387
2387
|
return e * 146097 / 4800;
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2389
|
+
function ei(e) {
|
|
2390
2390
|
if (!this.isValid())
|
|
2391
2391
|
return NaN;
|
|
2392
2392
|
var t, r, s = this._milliseconds;
|
|
@@ -2400,7 +2400,7 @@ function Xn(e) {
|
|
|
2400
2400
|
return r / 12;
|
|
2401
2401
|
}
|
|
2402
2402
|
else
|
|
2403
|
-
switch (t = this._days + Math.round(
|
|
2403
|
+
switch (t = this._days + Math.round(rt(this._months)), e) {
|
|
2404
2404
|
case "week":
|
|
2405
2405
|
return t / 7 + s / 6048e5;
|
|
2406
2406
|
case "day":
|
|
@@ -2422,11 +2422,11 @@ function B(e) {
|
|
|
2422
2422
|
return this.as(e);
|
|
2423
2423
|
};
|
|
2424
2424
|
}
|
|
2425
|
-
var
|
|
2426
|
-
function
|
|
2425
|
+
var Sr = B("ms"), ti = B("s"), ri = B("m"), si = B("h"), ai = B("d"), ni = B("w"), ii = B("M"), oi = B("Q"), li = B("y"), ui = Sr;
|
|
2426
|
+
function di() {
|
|
2427
2427
|
return C(this);
|
|
2428
2428
|
}
|
|
2429
|
-
function
|
|
2429
|
+
function hi(e) {
|
|
2430
2430
|
return e = W(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2431
2431
|
}
|
|
2432
2432
|
function se(e) {
|
|
@@ -2434,11 +2434,11 @@ function se(e) {
|
|
|
2434
2434
|
return this.isValid() ? this._data[e] : NaN;
|
|
2435
2435
|
};
|
|
2436
2436
|
}
|
|
2437
|
-
var
|
|
2438
|
-
function
|
|
2437
|
+
var fi = se("milliseconds"), ci = se("seconds"), mi = se("minutes"), _i = se("hours"), yi = se("days"), wi = se("months"), gi = se("years");
|
|
2438
|
+
function Mi() {
|
|
2439
2439
|
return x(this.days() / 7);
|
|
2440
2440
|
}
|
|
2441
|
-
var
|
|
2441
|
+
var V = Math.round, ie = {
|
|
2442
2442
|
ss: 44,
|
|
2443
2443
|
// a few seconds to seconds
|
|
2444
2444
|
s: 45,
|
|
@@ -2454,77 +2454,77 @@ var G = Math.round, ie = {
|
|
|
2454
2454
|
M: 11
|
|
2455
2455
|
// months to year
|
|
2456
2456
|
};
|
|
2457
|
-
function
|
|
2457
|
+
function pi(e, t, r, s, a) {
|
|
2458
2458
|
return a.relativeTime(t || 1, !!r, e, s);
|
|
2459
2459
|
}
|
|
2460
2460
|
function ki(e, t, r, s) {
|
|
2461
|
-
var a = C(e).abs(), n =
|
|
2462
|
-
return r.w != null && (J = J || O <= 1 && ["w"] || O < r.w && ["ww", O]), J = J || _ <= 1 && ["M"] || _ < r.M && ["MM", _] || H <= 1 && ["y"] || ["yy", H], J[2] = t, J[3] = +e > 0, J[4] = s,
|
|
2461
|
+
var a = C(e).abs(), n = V(a.as("s")), i = V(a.as("m")), u = V(a.as("h")), f = V(a.as("d")), _ = V(a.as("M")), O = V(a.as("w")), H = V(a.as("y")), J = n <= r.ss && ["s", n] || n < r.s && ["ss", n] || i <= 1 && ["m"] || i < r.m && ["mm", i] || u <= 1 && ["h"] || u < r.h && ["hh", u] || f <= 1 && ["d"] || f < r.d && ["dd", f];
|
|
2462
|
+
return r.w != null && (J = J || O <= 1 && ["w"] || O < r.w && ["ww", O]), J = J || _ <= 1 && ["M"] || _ < r.M && ["MM", _] || H <= 1 && ["y"] || ["yy", H], J[2] = t, J[3] = +e > 0, J[4] = s, pi.apply(null, J);
|
|
2463
2463
|
}
|
|
2464
|
-
function
|
|
2465
|
-
return e === void 0 ?
|
|
2464
|
+
function Si(e) {
|
|
2465
|
+
return e === void 0 ? V : typeof e == "function" ? (V = e, !0) : !1;
|
|
2466
2466
|
}
|
|
2467
|
-
function
|
|
2467
|
+
function Di(e, t) {
|
|
2468
2468
|
return ie[e] === void 0 ? !1 : t === void 0 ? ie[e] : (ie[e] = t, e === "s" && (ie.ss = t - 1), !0);
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function vi(e, t) {
|
|
2471
2471
|
if (!this.isValid())
|
|
2472
2472
|
return this.localeData().invalidDate();
|
|
2473
2473
|
var r = !1, s = ie, a, n;
|
|
2474
2474
|
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ie, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), n = ki(this, !r, s, a), r && (n = a.pastFuture(+this, n)), a.postformat(n);
|
|
2475
2475
|
}
|
|
2476
|
-
var
|
|
2476
|
+
var Be = Math.abs;
|
|
2477
2477
|
function ae(e) {
|
|
2478
2478
|
return (e > 0) - (e < 0) || +e;
|
|
2479
2479
|
}
|
|
2480
|
-
function
|
|
2480
|
+
function ze() {
|
|
2481
2481
|
if (!this.isValid())
|
|
2482
2482
|
return this.localeData().invalidDate();
|
|
2483
|
-
var e =
|
|
2483
|
+
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), r = Be(this._months), s, a, n, i, u = this.asSeconds(), f, _, O, H;
|
|
2484
2484
|
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, n = x(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = ae(this._months) !== ae(u) ? "-" : "", O = ae(this._days) !== ae(u) ? "-" : "", H = ae(this._milliseconds) !== ae(u) ? "-" : "", f + "P" + (n ? _ + n + "Y" : "") + (r ? _ + r + "M" : "") + (t ? O + t + "D" : "") + (a || s || e ? "T" : "") + (a ? H + a + "H" : "") + (s ? H + s + "M" : "") + (e ? H + i + "S" : "")) : "P0D";
|
|
2485
2485
|
}
|
|
2486
2486
|
var y = Ge.prototype;
|
|
2487
|
-
y.isValid =
|
|
2488
|
-
y.abs =
|
|
2489
|
-
y.add =
|
|
2490
|
-
y.subtract =
|
|
2491
|
-
y.as =
|
|
2492
|
-
y.asMilliseconds =
|
|
2493
|
-
y.asSeconds =
|
|
2494
|
-
y.asMinutes =
|
|
2495
|
-
y.asHours =
|
|
2496
|
-
y.asDays =
|
|
2497
|
-
y.asWeeks =
|
|
2498
|
-
y.asMonths =
|
|
2499
|
-
y.asQuarters =
|
|
2500
|
-
y.asYears =
|
|
2501
|
-
y.valueOf =
|
|
2502
|
-
y._bubble =
|
|
2503
|
-
y.clone =
|
|
2504
|
-
y.get =
|
|
2505
|
-
y.milliseconds =
|
|
2506
|
-
y.seconds =
|
|
2507
|
-
y.minutes =
|
|
2508
|
-
y.hours =
|
|
2509
|
-
y.days =
|
|
2510
|
-
y.weeks =
|
|
2511
|
-
y.months =
|
|
2512
|
-
y.years =
|
|
2513
|
-
y.humanize =
|
|
2514
|
-
y.toISOString =
|
|
2515
|
-
y.toString =
|
|
2516
|
-
y.toJSON =
|
|
2517
|
-
y.locale =
|
|
2518
|
-
y.localeData =
|
|
2487
|
+
y.isValid = ya;
|
|
2488
|
+
y.abs = Jn;
|
|
2489
|
+
y.add = Qn;
|
|
2490
|
+
y.subtract = Kn;
|
|
2491
|
+
y.as = ei;
|
|
2492
|
+
y.asMilliseconds = Sr;
|
|
2493
|
+
y.asSeconds = ti;
|
|
2494
|
+
y.asMinutes = ri;
|
|
2495
|
+
y.asHours = si;
|
|
2496
|
+
y.asDays = ai;
|
|
2497
|
+
y.asWeeks = ni;
|
|
2498
|
+
y.asMonths = ii;
|
|
2499
|
+
y.asQuarters = oi;
|
|
2500
|
+
y.asYears = li;
|
|
2501
|
+
y.valueOf = ui;
|
|
2502
|
+
y._bubble = Xn;
|
|
2503
|
+
y.clone = di;
|
|
2504
|
+
y.get = hi;
|
|
2505
|
+
y.milliseconds = fi;
|
|
2506
|
+
y.seconds = ci;
|
|
2507
|
+
y.minutes = mi;
|
|
2508
|
+
y.hours = _i;
|
|
2509
|
+
y.days = yi;
|
|
2510
|
+
y.weeks = Mi;
|
|
2511
|
+
y.months = wi;
|
|
2512
|
+
y.years = gi;
|
|
2513
|
+
y.humanize = vi;
|
|
2514
|
+
y.toISOString = ze;
|
|
2515
|
+
y.toString = ze;
|
|
2516
|
+
y.toJSON = ze;
|
|
2517
|
+
y.locale = ur;
|
|
2518
|
+
y.localeData = hr;
|
|
2519
2519
|
y.toIsoString = P(
|
|
2520
2520
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2521
|
-
|
|
2521
|
+
ze
|
|
2522
2522
|
);
|
|
2523
|
-
y.lang =
|
|
2523
|
+
y.lang = dr;
|
|
2524
2524
|
h("X", 0, 0, "unix");
|
|
2525
2525
|
h("x", 0, 0, "valueOf");
|
|
2526
|
-
d("x",
|
|
2527
|
-
d("X",
|
|
2526
|
+
d("x", Ee);
|
|
2527
|
+
d("X", jr);
|
|
2528
2528
|
M("X", function(e, t, r) {
|
|
2529
2529
|
r._d = new Date(parseFloat(e) * 1e3);
|
|
2530
2530
|
});
|
|
@@ -2533,33 +2533,33 @@ M("x", function(e, t, r) {
|
|
|
2533
2533
|
});
|
|
2534
2534
|
//! moment.js
|
|
2535
2535
|
l.version = "2.30.1";
|
|
2536
|
-
|
|
2536
|
+
vr(p);
|
|
2537
2537
|
l.fn = o;
|
|
2538
|
-
l.min =
|
|
2539
|
-
l.max =
|
|
2540
|
-
l.now =
|
|
2541
|
-
l.utc =
|
|
2538
|
+
l.min = fa;
|
|
2539
|
+
l.max = ca;
|
|
2540
|
+
l.now = ma;
|
|
2541
|
+
l.utc = L;
|
|
2542
2542
|
l.unix = Gn;
|
|
2543
|
-
l.months =
|
|
2544
|
-
l.isDate =
|
|
2543
|
+
l.months = zn;
|
|
2544
|
+
l.isDate = pe;
|
|
2545
2545
|
l.locale = X;
|
|
2546
|
-
l.invalid =
|
|
2546
|
+
l.invalid = Ce;
|
|
2547
2547
|
l.duration = C;
|
|
2548
2548
|
l.isMoment = F;
|
|
2549
|
-
l.weekdays =
|
|
2550
|
-
l.parseZone =
|
|
2549
|
+
l.weekdays = qn;
|
|
2550
|
+
l.parseZone = jn;
|
|
2551
2551
|
l.localeData = Z;
|
|
2552
|
-
l.isDuration =
|
|
2553
|
-
l.monthsShort =
|
|
2554
|
-
l.weekdaysMin =
|
|
2555
|
-
l.defineLocale =
|
|
2552
|
+
l.isDuration = Te;
|
|
2553
|
+
l.monthsShort = $n;
|
|
2554
|
+
l.weekdaysMin = Bn;
|
|
2555
|
+
l.defineLocale = yt;
|
|
2556
2556
|
l.updateLocale = Gs;
|
|
2557
|
-
l.locales =
|
|
2558
|
-
l.weekdaysShort =
|
|
2557
|
+
l.locales = js;
|
|
2558
|
+
l.weekdaysShort = Zn;
|
|
2559
2559
|
l.normalizeUnits = W;
|
|
2560
|
-
l.relativeTimeRounding =
|
|
2561
|
-
l.relativeTimeThreshold =
|
|
2562
|
-
l.calendarFormat =
|
|
2560
|
+
l.relativeTimeRounding = Si;
|
|
2561
|
+
l.relativeTimeThreshold = Di;
|
|
2562
|
+
l.calendarFormat = Ea;
|
|
2563
2563
|
l.prototype = o;
|
|
2564
2564
|
l.HTML5_FMT = {
|
|
2565
2565
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2581,7 +2581,7 @@ l.HTML5_FMT = {
|
|
|
2581
2581
|
MONTH: "YYYY-MM"
|
|
2582
2582
|
// <input type="month" />
|
|
2583
2583
|
};
|
|
2584
|
-
const
|
|
2584
|
+
const Yi = " ", Oi = " ", Ci = (e) => e.split("").join(Yi), Ui = (e) => e.split("").join(Oi), Ii = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, bi = (e) => e && e[0].toUpperCase() + e.slice(1), Dr = (e) => e.split(" ").map(bi).join(" "), Li = (e) => /^\d+$/.test(e), Ei = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, Hi = (e) => e.trim().replace(/\s+/gi, " "), Ai = (e) => {
|
|
2585
2585
|
const t = e.split(" "), s = ((a) => {
|
|
2586
2586
|
let n = 1 / 0;
|
|
2587
2587
|
for (let i = 0; i < a.length; i++) {
|
|
@@ -2598,9 +2598,11 @@ const vi = " ", Yi = " ", Ri = (e) => e.split("").join(vi), Fi = (e) => e.sp
|
|
|
2598
2598
|
return t.length === 1 ? [t[0]] : [t.slice(0, s + 1), t.slice(s + 1)].map(
|
|
2599
2599
|
(a) => a.join(" ")
|
|
2600
2600
|
);
|
|
2601
|
-
}
|
|
2601
|
+
};
|
|
2602
|
+
l.locale("fr");
|
|
2603
|
+
const Vi = (e) => new Date(e).toString() !== "Invalid Date", Gi = (e, t) => Math.abs(
|
|
2602
2604
|
Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
|
|
2603
|
-
),
|
|
2605
|
+
), ji = (e) => Dr(l(e).format("DD MMMM YYYY")), zi = (e) => Dr(l(e).format("dddd DD MMMM YYYY")), $i = (e, t, r = !0) => (r ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), qi = () => l().subtract(1, "days").toDate(), Zi = (e) => {
|
|
2604
2606
|
const t = [], r = l.duration(e);
|
|
2605
2607
|
if (!(!r || r.toISOString() === "P0D")) {
|
|
2606
2608
|
if (r.years() >= 1) {
|
|
@@ -2629,8 +2631,8 @@ const vi = " ", Yi = " ", Ri = (e) => e.split("").join(vi), Fi = (e) => e.sp
|
|
|
2629
2631
|
}
|
|
2630
2632
|
return t.join(", ");
|
|
2631
2633
|
}
|
|
2632
|
-
},
|
|
2633
|
-
const t =
|
|
2634
|
+
}, Yt = /^([1-9][0-9]?)([hmd])$/i, Bi = (e) => !!e && Yt.test(e), Ji = (e) => {
|
|
2635
|
+
const t = Yt.exec(e);
|
|
2634
2636
|
if (!t)
|
|
2635
2637
|
return null;
|
|
2636
2638
|
const [, r, s] = t, a = parseInt(r, 10), n = 1e3 * 60;
|
|
@@ -2640,8 +2642,8 @@ const vi = " ", Yi = " ", Ri = (e) => e.split("").join(vi), Fi = (e) => e.sp
|
|
|
2640
2642
|
return n * 60 * a;
|
|
2641
2643
|
if (s === "d")
|
|
2642
2644
|
return n * 60 * 24 * a;
|
|
2643
|
-
},
|
|
2644
|
-
const t =
|
|
2645
|
+
}, Qi = (e) => {
|
|
2646
|
+
const t = Yt.exec(e);
|
|
2645
2647
|
if (!t)
|
|
2646
2648
|
return null;
|
|
2647
2649
|
const [, r, s] = t, a = parseInt(r, 10);
|
|
@@ -2651,7 +2653,7 @@ const vi = " ", Yi = " ", Ri = (e) => e.split("").join(vi), Fi = (e) => e.sp
|
|
|
2651
2653
|
return `${a} heure${a > 1 ? "s" : ""}`;
|
|
2652
2654
|
if (s === "d")
|
|
2653
2655
|
return `${a} jour${a > 1 ? "s" : ""}`;
|
|
2654
|
-
},
|
|
2656
|
+
}, Ki = {
|
|
2655
2657
|
d1: "<:d1:1159542168738873455>",
|
|
2656
2658
|
d2: "<:d2:1159542071049334814>",
|
|
2657
2659
|
d3: "<:d3:1159542073914032191>",
|
|
@@ -2766,36 +2768,46 @@ const vi = " ", Yi = " ", Ri = (e) => e.split("").join(vi), Fi = (e) => e.sp
|
|
|
2766
2768
|
item_bottle_xp: "<:bottle_xp:1186204593667969035>",
|
|
2767
2769
|
item_boost_week: "<:boost_week:1186258728073297971>",
|
|
2768
2770
|
item_boost_day: "<:boost_day:1186258726030680145>"
|
|
2769
|
-
},
|
|
2771
|
+
}, Ti = (e) => new Intl.NumberFormat("de-DE").format(e), Xi = (e, t) => Math.floor(Math.random() * (t - e) + e), Oe = (e) => `${Ti(Math.round(e / 1024 / 1024 * 100) / 100)} MB`, eo = () => {
|
|
2772
|
+
const e = process.memoryUsage(), t = {
|
|
2773
|
+
rss: `${Oe(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,
|
|
2774
|
+
heapTotal: `${Oe(e.heapTotal)} -> total size of the allocated heap`,
|
|
2775
|
+
heapUsed: `${Oe(e.heapUsed)} -> actual memory used during the execution`,
|
|
2776
|
+
external: `${Oe(e.external)} -> V8 external memory`
|
|
2777
|
+
};
|
|
2778
|
+
console.log(t);
|
|
2779
|
+
};
|
|
2770
2780
|
export {
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
Ti as
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2781
|
+
Yi as TIGHT_SPACE,
|
|
2782
|
+
Oi as WIDE_SPACE,
|
|
2783
|
+
Ai as breakWords,
|
|
2784
|
+
bi as capitalize,
|
|
2785
|
+
Dr as capitalizeAllWords,
|
|
2786
|
+
Gi as dateDiff,
|
|
2787
|
+
Ji as durationToMs,
|
|
2788
|
+
Ii as ellipsis,
|
|
2789
|
+
Ki as emojis,
|
|
2790
|
+
Ri as exclude,
|
|
2791
|
+
Ci as fillWithTightSpaces,
|
|
2792
|
+
Ui as fillWithWideSpaces,
|
|
2793
|
+
ji as formatDate,
|
|
2794
|
+
zi as formatDateWithDay,
|
|
2795
|
+
Qi as formatDuration,
|
|
2796
|
+
Oe as formatMemoryUsage,
|
|
2797
|
+
Ti as formatNumber,
|
|
2798
|
+
Pi as groupBy,
|
|
2799
|
+
Bi as isDuration,
|
|
2800
|
+
Li as isPositiveInteger,
|
|
2801
|
+
Vi as isValidDate,
|
|
2802
|
+
Ni as mutuallyInclusive,
|
|
2803
|
+
Ei as numberToOrdinal,
|
|
2804
|
+
xi as paginate,
|
|
2805
|
+
Zi as precise,
|
|
2806
|
+
eo as printMemoryUsage,
|
|
2807
|
+
Xi as randomBetween,
|
|
2808
|
+
$i as sameDay,
|
|
2809
|
+
Wi as sortBy,
|
|
2810
|
+
Hi as trim,
|
|
2811
|
+
Fi as unique,
|
|
2812
|
+
qi as yesterday
|
|
2801
2813
|
};
|