@opfr/utils-lang 0.0.35 → 0.0.37
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/common.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/number.d.ts +2 -0
- package/dist/string.d.ts +1 -0
- package/dist/utils-lang.js +857 -863
- package/dist/utils-lang.umd.cjs +5 -5
- package/package.json +1 -1
- package/dist/memory.d.ts +0 -2
- /package/dist/__tests__/{memory.test.d.ts → common.test.d.ts} +0 -0
package/dist/utils-lang.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Nn = (e) => new Intl.NumberFormat("de-DE").format(e), Yr = (e, t, r = Math.random) => Math.floor(r() * (t - e) + e), Fn = (e) => {
|
|
2
2
|
let t = e;
|
|
3
3
|
const r = 2147483648, s = 1103515245, a = 12345;
|
|
4
4
|
return () => (t = (s * t + a) % r, t / (r - 1));
|
|
5
|
-
}, Cn = (e, t) => e.reduce((r, s, a) => {
|
|
5
|
+
}, Ln = (e, t, r) => Math.max(t, Math.min(e, r)), Cn = (e) => typeof e == "number", In = (e, t) => e.reduce((r, s, a) => {
|
|
6
6
|
const i = Math.floor(a / t);
|
|
7
7
|
return (r[i] || (r[i] = [])).push(s), r;
|
|
8
|
-
}, []),
|
|
8
|
+
}, []), Un = (e, t) => e.reduce(
|
|
9
9
|
(r, s) => ((r[t(s)] = r[t(s)] || []).push(s), r),
|
|
10
10
|
{}
|
|
11
|
-
),
|
|
11
|
+
), Hn = (e, t) => [...e].sort((r, s) => t(r) < t(s) ? -1 : t(r) > t(s) ? 1 : 0), En = (e, t, r = (s) => s) => e.filter((s) => t.some((a) => r(a) === r(s))), An = (e, t, r = (s) => s) => e.filter((s) => !t.some((a) => r(a) === r(s))), jn = (e, t) => [...new Set(e.map((r) => t(r)))], Gn = (e) => {
|
|
12
12
|
for (let t = e.length - 1; t > 0; t--) {
|
|
13
13
|
const r = Math.floor(Math.random() * (t + 1));
|
|
14
14
|
[e[t], e[r]] = [e[r], e[t]];
|
|
15
15
|
}
|
|
16
16
|
return e;
|
|
17
|
-
}, Vn = (e) => e.filter((t) => t != null),
|
|
17
|
+
}, Vn = (e) => e.filter((t) => t != null), zn = (e, t, r) => [
|
|
18
18
|
...e,
|
|
19
19
|
...r ? [t] : []
|
|
20
|
-
],
|
|
20
|
+
], $n = (e, t, r) => [...r ? [t] : [], ...e], qn = (e, t, r) => [...e, ...r ? t : []], Zn = (e) => e[Yr(0, e.length)], Bn = (e) => e != null;
|
|
21
21
|
//! moment.js
|
|
22
22
|
//! version : 2.30.1
|
|
23
23
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
24
24
|
//! license : MIT
|
|
25
25
|
//! momentjs.com
|
|
26
|
-
var
|
|
26
|
+
var Nt;
|
|
27
27
|
function l() {
|
|
28
|
-
return
|
|
28
|
+
return Nt.apply(null, arguments);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
30
|
+
function br(e) {
|
|
31
|
+
Nt = e;
|
|
32
32
|
}
|
|
33
33
|
function N(e) {
|
|
34
34
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
@@ -39,7 +39,7 @@ function re(e) {
|
|
|
39
39
|
function p(e, t) {
|
|
40
40
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function st(e) {
|
|
43
43
|
if (Object.getOwnPropertyNames)
|
|
44
44
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
45
45
|
var t;
|
|
@@ -57,7 +57,7 @@ function q(e) {
|
|
|
57
57
|
function Me(e) {
|
|
58
58
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Ft(e, t) {
|
|
61
61
|
var r = [], s, a = e.length;
|
|
62
62
|
for (s = 0; s < a; ++s)
|
|
63
63
|
r.push(t(e[s], s));
|
|
@@ -69,9 +69,9 @@ function Q(e, t) {
|
|
|
69
69
|
return p(t, "toString") && (e.toString = t.toString), p(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
70
70
|
}
|
|
71
71
|
function U(e, t, r, s) {
|
|
72
|
-
return
|
|
72
|
+
return sr(e, t, r, s, !0).utc();
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Or() {
|
|
75
75
|
return {
|
|
76
76
|
empty: !1,
|
|
77
77
|
unusedTokens: [],
|
|
@@ -92,19 +92,19 @@ function xr() {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
function c(e) {
|
|
95
|
-
return e._pf == null && (e._pf =
|
|
95
|
+
return e._pf == null && (e._pf = Or()), e._pf;
|
|
96
96
|
}
|
|
97
|
-
var
|
|
98
|
-
Array.prototype.some ?
|
|
97
|
+
var Je;
|
|
98
|
+
Array.prototype.some ? Je = Array.prototype.some : Je = function(e) {
|
|
99
99
|
var t = Object(this), r = t.length >>> 0, s;
|
|
100
100
|
for (s = 0; s < r; s++)
|
|
101
101
|
if (s in t && e.call(this, t[s], s, t))
|
|
102
102
|
return !0;
|
|
103
103
|
return !1;
|
|
104
104
|
};
|
|
105
|
-
function
|
|
105
|
+
function at(e) {
|
|
106
106
|
var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
|
|
107
|
-
if (s && (t = c(e), r =
|
|
107
|
+
if (s && (t = c(e), r = Je.call(t.parsedDateParts, function(a) {
|
|
108
108
|
return a != null;
|
|
109
109
|
}), 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))
|
|
110
110
|
e._isValid = s;
|
|
@@ -112,25 +112,25 @@ function it(e) {
|
|
|
112
112
|
return s;
|
|
113
113
|
return e._isValid;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Fe(e) {
|
|
116
116
|
var t = U(NaN);
|
|
117
117
|
return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
|
|
118
118
|
}
|
|
119
|
-
var
|
|
120
|
-
function
|
|
121
|
-
var r, s, a, i =
|
|
119
|
+
var bt = l.momentProperties = [], ze = !1;
|
|
120
|
+
function it(e, t) {
|
|
121
|
+
var r, s, a, i = bt.length;
|
|
122
122
|
if (O(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), O(t._i) || (e._i = t._i), O(t._f) || (e._f = t._f), O(t._l) || (e._l = t._l), O(t._strict) || (e._strict = t._strict), O(t._tzm) || (e._tzm = t._tzm), O(t._isUTC) || (e._isUTC = t._isUTC), O(t._offset) || (e._offset = t._offset), O(t._pf) || (e._pf = c(t)), O(t._locale) || (e._locale = t._locale), i > 0)
|
|
123
123
|
for (r = 0; r < i; r++)
|
|
124
|
-
s =
|
|
124
|
+
s = bt[r], a = t[s], O(a) || (e[s] = a);
|
|
125
125
|
return e;
|
|
126
126
|
}
|
|
127
127
|
function ve(e) {
|
|
128
|
-
|
|
128
|
+
it(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), ze === !1 && (ze = !0, l.updateOffset(this), ze = !1);
|
|
129
129
|
}
|
|
130
130
|
function F(e) {
|
|
131
131
|
return e instanceof ve || e != null && e._isAMomentObject != null;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Lt(e) {
|
|
134
134
|
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
135
135
|
}
|
|
136
136
|
function P(e, t) {
|
|
@@ -149,7 +149,7 @@ function P(e, t) {
|
|
|
149
149
|
a = arguments[i];
|
|
150
150
|
s.push(a);
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
Lt(
|
|
153
153
|
e + `
|
|
154
154
|
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
155
155
|
` + new Error().stack
|
|
@@ -158,16 +158,16 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
|
158
158
|
return t.apply(this, arguments);
|
|
159
159
|
}, t);
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
function
|
|
163
|
-
l.deprecationHandler != null && l.deprecationHandler(e, t),
|
|
161
|
+
var Ot = {};
|
|
162
|
+
function Ct(e, t) {
|
|
163
|
+
l.deprecationHandler != null && l.deprecationHandler(e, t), Ot[e] || (Lt(t), Ot[e] = !0);
|
|
164
164
|
}
|
|
165
165
|
l.suppressDeprecationWarnings = !1;
|
|
166
166
|
l.deprecationHandler = null;
|
|
167
167
|
function H(e) {
|
|
168
168
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function Tr(e) {
|
|
171
171
|
var t, r;
|
|
172
172
|
for (r in e)
|
|
173
173
|
p(e, r) && (t = e[r], H(t) ? this[r] = t : this["_" + r] = t);
|
|
@@ -175,7 +175,7 @@ function Pr(e) {
|
|
|
175
175
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function Qe(e, t) {
|
|
179
179
|
var r = Q({}, e), s;
|
|
180
180
|
for (s in t)
|
|
181
181
|
p(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]);
|
|
@@ -183,17 +183,17 @@ function Ke(e, t) {
|
|
|
183
183
|
p(e, s) && !p(t, s) && re(e[s]) && (r[s] = Q({}, r[s]));
|
|
184
184
|
return r;
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function nt(e) {
|
|
187
187
|
e != null && this.set(e);
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
Object.keys ?
|
|
189
|
+
var Ke;
|
|
190
|
+
Object.keys ? Ke = Object.keys : Ke = function(e) {
|
|
191
191
|
var t, r = [];
|
|
192
192
|
for (t in e)
|
|
193
193
|
p(e, t) && r.push(t);
|
|
194
194
|
return r;
|
|
195
195
|
};
|
|
196
|
-
var
|
|
196
|
+
var xr = {
|
|
197
197
|
sameDay: "[Today at] LT",
|
|
198
198
|
nextDay: "[Tomorrow at] LT",
|
|
199
199
|
nextWeek: "dddd [at] LT",
|
|
@@ -201,7 +201,7 @@ var Wr = {
|
|
|
201
201
|
lastWeek: "[Last] dddd [at] LT",
|
|
202
202
|
sameElse: "L"
|
|
203
203
|
};
|
|
204
|
-
function
|
|
204
|
+
function Pr(e, t, r) {
|
|
205
205
|
var s = this._calendar[e] || this._calendar.sameElse;
|
|
206
206
|
return H(s) ? s.call(t, r) : s;
|
|
207
207
|
}
|
|
@@ -209,8 +209,8 @@ function I(e, t, r) {
|
|
|
209
209
|
var s = "" + Math.abs(e), a = t - s.length, i = e >= 0;
|
|
210
210
|
return (i ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
|
|
211
211
|
}
|
|
212
|
-
var
|
|
213
|
-
function
|
|
212
|
+
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, De = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, $e = {}, oe = {};
|
|
213
|
+
function f(e, t, r, s) {
|
|
214
214
|
var a = s;
|
|
215
215
|
typeof s == "string" && (a = function() {
|
|
216
216
|
return this[s]();
|
|
@@ -223,13 +223,13 @@ function h(e, t, r, s) {
|
|
|
223
223
|
);
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Wr(e) {
|
|
227
227
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
var t = e.match(
|
|
229
|
+
function Rr(e) {
|
|
230
|
+
var t = e.match(ot), r, s;
|
|
231
231
|
for (r = 0, s = t.length; r < s; r++)
|
|
232
|
-
oe[t[r]] ? t[r] = oe[t[r]] : t[r] =
|
|
232
|
+
oe[t[r]] ? t[r] = oe[t[r]] : t[r] = Wr(t[r]);
|
|
233
233
|
return function(a) {
|
|
234
234
|
var i = "", n;
|
|
235
235
|
for (n = 0; n < s; n++)
|
|
@@ -237,10 +237,10 @@ function Fr(e) {
|
|
|
237
237
|
return i;
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
return e.isValid() ? (t =
|
|
240
|
+
function be(e, t) {
|
|
241
|
+
return e.isValid() ? (t = It(t, e.localeData()), $e[t] = $e[t] || Rr(t), $e[t](e)) : e.localeData().invalidDate();
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function It(e, t) {
|
|
244
244
|
var r = 5;
|
|
245
245
|
function s(a) {
|
|
246
246
|
return t.longDateFormat(a) || a;
|
|
@@ -252,7 +252,7 @@ function Ut(e, t) {
|
|
|
252
252
|
), De.lastIndex = 0, r -= 1;
|
|
253
253
|
return e;
|
|
254
254
|
}
|
|
255
|
-
var
|
|
255
|
+
var Nr = {
|
|
256
256
|
LTS: "h:mm:ss A",
|
|
257
257
|
LT: "h:mm A",
|
|
258
258
|
L: "MM/DD/YYYY",
|
|
@@ -260,21 +260,21 @@ var Lr = {
|
|
|
260
260
|
LLL: "MMMM D, YYYY h:mm A",
|
|
261
261
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
262
262
|
};
|
|
263
|
-
function
|
|
263
|
+
function Fr(e) {
|
|
264
264
|
var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
|
|
265
|
-
return t || !r ? t : (this._longDateFormat[e] = r.match(
|
|
265
|
+
return t || !r ? t : (this._longDateFormat[e] = r.match(ot).map(function(s) {
|
|
266
266
|
return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
|
|
267
267
|
}).join(""), this._longDateFormat[e]);
|
|
268
268
|
}
|
|
269
|
-
var
|
|
270
|
-
function
|
|
269
|
+
var Lr = "Invalid date";
|
|
270
|
+
function Cr() {
|
|
271
271
|
return this._invalidDate;
|
|
272
272
|
}
|
|
273
|
-
var
|
|
274
|
-
function
|
|
273
|
+
var Ir = "%d", Ur = /\d{1,2}/;
|
|
274
|
+
function Hr(e) {
|
|
275
275
|
return this._ordinal.replace("%d", e);
|
|
276
276
|
}
|
|
277
|
-
var
|
|
277
|
+
var Er = {
|
|
278
278
|
future: "in %s",
|
|
279
279
|
past: "%s ago",
|
|
280
280
|
s: "a few seconds",
|
|
@@ -292,15 +292,15 @@ var jr = {
|
|
|
292
292
|
y: "a year",
|
|
293
293
|
yy: "%d years"
|
|
294
294
|
};
|
|
295
|
-
function
|
|
295
|
+
function Ar(e, t, r, s) {
|
|
296
296
|
var a = this._relativeTime[r];
|
|
297
297
|
return H(a) ? a(e, t, r, s) : a.replace(/%d/i, e);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function jr(e, t) {
|
|
300
300
|
var r = this._relativeTime[e > 0 ? "future" : "past"];
|
|
301
301
|
return H(r) ? r(t) : r.replace(/%s/i, t);
|
|
302
302
|
}
|
|
303
|
-
var
|
|
303
|
+
var Tt = {
|
|
304
304
|
D: "date",
|
|
305
305
|
dates: "date",
|
|
306
306
|
date: "date",
|
|
@@ -351,15 +351,15 @@ var xt = {
|
|
|
351
351
|
year: "year"
|
|
352
352
|
};
|
|
353
353
|
function W(e) {
|
|
354
|
-
return typeof e == "string" ?
|
|
354
|
+
return typeof e == "string" ? Tt[e] || Tt[e.toLowerCase()] : void 0;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function lt(e) {
|
|
357
357
|
var t = {}, r, s;
|
|
358
358
|
for (s in e)
|
|
359
359
|
p(e, s) && (r = W(s), r && (t[r] = e[s]));
|
|
360
360
|
return t;
|
|
361
361
|
}
|
|
362
|
-
var
|
|
362
|
+
var Gr = {
|
|
363
363
|
date: 9,
|
|
364
364
|
day: 11,
|
|
365
365
|
weekday: 11,
|
|
@@ -377,25 +377,25 @@ var zr = {
|
|
|
377
377
|
isoWeek: 5,
|
|
378
378
|
year: 1
|
|
379
379
|
};
|
|
380
|
-
function
|
|
380
|
+
function Vr(e) {
|
|
381
381
|
var t = [], r;
|
|
382
382
|
for (r in e)
|
|
383
|
-
p(e, r) && t.push({ unit: r, priority:
|
|
383
|
+
p(e, r) && t.push({ unit: r, priority: Gr[r] });
|
|
384
384
|
return t.sort(function(s, a) {
|
|
385
385
|
return s.priority - a.priority;
|
|
386
386
|
}), t;
|
|
387
387
|
}
|
|
388
|
-
var
|
|
389
|
-
|
|
388
|
+
var Ut = /\d/, T = /\d\d/, Ht = /\d{3}/, ut = /\d{4}/, Le = /[+-]?\d{6}/, v = /\d\d?/, Et = /\d\d\d\d?/, At = /\d\d\d\d\d\d?/, Ce = /\d{1,3}/, dt = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, de = /\d+/, Ue = /[+-]?\d+/, zr = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, $r = /[+-]?\d+(\.\d{1,3})?/, ke = /[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, fe = /^[1-9]\d?/, ft = /^([1-9]\d|\d)/, xe;
|
|
389
|
+
xe = {};
|
|
390
390
|
function d(e, t, r) {
|
|
391
|
-
|
|
391
|
+
xe[e] = H(t) ? t : function(s, a) {
|
|
392
392
|
return s && r ? r : t;
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
return p(
|
|
395
|
+
function qr(e, t) {
|
|
396
|
+
return p(xe, e) ? xe[e](t._strict, t._locale) : new RegExp(Zr(e));
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Zr(e) {
|
|
399
399
|
return z(
|
|
400
400
|
e.replace("\\", "").replace(
|
|
401
401
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
@@ -415,62 +415,62 @@ function _(e) {
|
|
|
415
415
|
var t = +e, r = 0;
|
|
416
416
|
return t !== 0 && isFinite(t) && (r = x(t)), r;
|
|
417
417
|
}
|
|
418
|
-
var
|
|
419
|
-
function
|
|
418
|
+
var Xe = {};
|
|
419
|
+
function g(e, t) {
|
|
420
420
|
var r, s = t, a;
|
|
421
421
|
for (typeof e == "string" && (e = [e]), q(t) && (s = function(i, n) {
|
|
422
422
|
n[t] = _(i);
|
|
423
423
|
}), a = e.length, r = 0; r < a; r++)
|
|
424
|
-
|
|
424
|
+
Xe[e[r]] = s;
|
|
425
425
|
}
|
|
426
426
|
function Se(e, t) {
|
|
427
|
-
|
|
427
|
+
g(e, function(r, s, a, i) {
|
|
428
428
|
a._w = a._w || {}, t(r, a._w, a, i);
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
t != null && p(
|
|
431
|
+
function Br(e, t, r) {
|
|
432
|
+
t != null && p(Xe, e) && Xe[e](t, r._a, r, e);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Ee(e) {
|
|
435
435
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
436
436
|
}
|
|
437
|
-
var Y = 0,
|
|
438
|
-
|
|
437
|
+
var Y = 0, G = 1, C = 2, D = 3, R = 4, V = 5, te = 6, Jr = 7, Qr = 8;
|
|
438
|
+
f("Y", 0, 0, function() {
|
|
439
439
|
var e = this.year();
|
|
440
440
|
return e <= 9999 ? I(e, 4) : "+" + e;
|
|
441
441
|
});
|
|
442
|
-
|
|
442
|
+
f(0, ["YY", 2], 0, function() {
|
|
443
443
|
return this.year() % 100;
|
|
444
444
|
});
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
d("Y",
|
|
445
|
+
f(0, ["YYYY", 4], 0, "year");
|
|
446
|
+
f(0, ["YYYYY", 5], 0, "year");
|
|
447
|
+
f(0, ["YYYYYY", 6, !0], 0, "year");
|
|
448
|
+
d("Y", Ue);
|
|
449
449
|
d("YY", v, T);
|
|
450
|
-
d("YYYY",
|
|
451
|
-
d("YYYYY",
|
|
452
|
-
d("YYYYYY",
|
|
453
|
-
|
|
454
|
-
|
|
450
|
+
d("YYYY", dt, ut);
|
|
451
|
+
d("YYYYY", Ie, Le);
|
|
452
|
+
d("YYYYYY", Ie, Le);
|
|
453
|
+
g(["YYYYY", "YYYYYY"], Y);
|
|
454
|
+
g("YYYY", function(e, t) {
|
|
455
455
|
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : _(e);
|
|
456
456
|
});
|
|
457
|
-
|
|
457
|
+
g("YY", function(e, t) {
|
|
458
458
|
t[Y] = l.parseTwoDigitYear(e);
|
|
459
459
|
});
|
|
460
|
-
|
|
460
|
+
g("Y", function(e, t) {
|
|
461
461
|
t[Y] = parseInt(e, 10);
|
|
462
462
|
});
|
|
463
463
|
function me(e) {
|
|
464
|
-
return
|
|
464
|
+
return Ee(e) ? 366 : 365;
|
|
465
465
|
}
|
|
466
466
|
l.parseTwoDigitYear = function(e) {
|
|
467
467
|
return _(e) + (_(e) > 68 ? 1900 : 2e3);
|
|
468
468
|
};
|
|
469
|
-
var
|
|
470
|
-
function
|
|
471
|
-
return
|
|
469
|
+
var jt = he("FullYear", !0);
|
|
470
|
+
function Kr() {
|
|
471
|
+
return Ee(this.year());
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function he(e, t) {
|
|
474
474
|
return function(r) {
|
|
475
475
|
return r != null ? (Gt(this, e, r), l.updateOffset(this, t), this) : ye(this, e);
|
|
476
476
|
};
|
|
@@ -519,23 +519,23 @@ function Gt(e, t, r) {
|
|
|
519
519
|
default:
|
|
520
520
|
return;
|
|
521
521
|
}
|
|
522
|
-
i = r, n = e.month(), u = e.date(), u = u === 29 && n === 1 && !
|
|
522
|
+
i = r, n = e.month(), u = e.date(), u = u === 29 && n === 1 && !Ee(i) ? 28 : u, a ? s.setUTCFullYear(i, n, u) : s.setFullYear(i, n, u);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Xr(e) {
|
|
526
526
|
return e = W(e), H(this[e]) ? this[e]() : this;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function es(e, t) {
|
|
529
529
|
if (typeof e == "object") {
|
|
530
|
-
e =
|
|
531
|
-
var r =
|
|
530
|
+
e = lt(e);
|
|
531
|
+
var r = Vr(e), s, a = r.length;
|
|
532
532
|
for (s = 0; s < a; s++)
|
|
533
533
|
this[r[s].unit](e[r[s].unit]);
|
|
534
534
|
} else if (e = W(e), H(this[e]))
|
|
535
535
|
return this[e](t);
|
|
536
536
|
return this;
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function ts(e, t) {
|
|
539
539
|
return (e % t + t) % t;
|
|
540
540
|
}
|
|
541
541
|
var S;
|
|
@@ -546,22 +546,22 @@ Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
|
|
|
546
546
|
return t;
|
|
547
547
|
return -1;
|
|
548
548
|
};
|
|
549
|
-
function
|
|
549
|
+
function ht(e, t) {
|
|
550
550
|
if (isNaN(e) || isNaN(t))
|
|
551
551
|
return NaN;
|
|
552
|
-
var r =
|
|
553
|
-
return e += (t - r) / 12, r === 1 ?
|
|
552
|
+
var r = ts(t, 12);
|
|
553
|
+
return e += (t - r) / 12, r === 1 ? Ee(e) ? 29 : 28 : 31 - r % 7 % 2;
|
|
554
554
|
}
|
|
555
|
-
|
|
555
|
+
f("M", ["MM", 2], "Mo", function() {
|
|
556
556
|
return this.month() + 1;
|
|
557
557
|
});
|
|
558
|
-
|
|
558
|
+
f("MMM", 0, 0, function(e) {
|
|
559
559
|
return this.localeData().monthsShort(this, e);
|
|
560
560
|
});
|
|
561
|
-
|
|
561
|
+
f("MMMM", 0, 0, function(e) {
|
|
562
562
|
return this.localeData().months(this, e);
|
|
563
563
|
});
|
|
564
|
-
d("M", v,
|
|
564
|
+
d("M", v, fe);
|
|
565
565
|
d("MM", v, T);
|
|
566
566
|
d("MMM", function(e, t) {
|
|
567
567
|
return t.monthsShortRegex(e);
|
|
@@ -569,23 +569,23 @@ d("MMM", function(e, t) {
|
|
|
569
569
|
d("MMMM", function(e, t) {
|
|
570
570
|
return t.monthsRegex(e);
|
|
571
571
|
});
|
|
572
|
-
|
|
573
|
-
t[
|
|
572
|
+
g(["M", "MM"], function(e, t) {
|
|
573
|
+
t[G] = _(e) - 1;
|
|
574
574
|
});
|
|
575
|
-
|
|
575
|
+
g(["MMM", "MMMM"], function(e, t, r, s) {
|
|
576
576
|
var a = r._locale.monthsParse(e, s, r._strict);
|
|
577
|
-
a != null ? t[
|
|
577
|
+
a != null ? t[G] = a : c(r).invalidMonth = e;
|
|
578
578
|
});
|
|
579
|
-
var
|
|
579
|
+
var rs = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
580
580
|
"_"
|
|
581
|
-
),
|
|
582
|
-
function
|
|
583
|
-
return e ? N(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat ||
|
|
581
|
+
), Vt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), zt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, ss = ke, as = ke;
|
|
582
|
+
function is(e, t) {
|
|
583
|
+
return e ? N(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || zt).test(t) ? "format" : "standalone"][e.month()] : N(this._months) ? this._months : this._months.standalone;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
586
|
-
return e ? N(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[
|
|
585
|
+
function ns(e, t) {
|
|
586
|
+
return e ? N(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[zt.test(t) ? "format" : "standalone"][e.month()] : N(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function os(e, t, r) {
|
|
589
589
|
var s, a, i, n = e.toLocaleLowerCase();
|
|
590
590
|
if (!this._monthsParse)
|
|
591
591
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
@@ -595,10 +595,10 @@ function us(e, t, r) {
|
|
|
595
595
|
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(i, "").toLocaleLowerCase();
|
|
596
596
|
return r ? t === "MMM" ? (a = S.call(this._shortMonthsParse, n), a !== -1 ? a : null) : (a = S.call(this._longMonthsParse, n), a !== -1 ? a : null) : t === "MMM" ? (a = S.call(this._shortMonthsParse, n), a !== -1 ? a : (a = S.call(this._longMonthsParse, n), a !== -1 ? a : null)) : (a = S.call(this._longMonthsParse, n), a !== -1 ? a : (a = S.call(this._shortMonthsParse, n), a !== -1 ? a : null));
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function ls(e, t, r) {
|
|
599
599
|
var s, a, i;
|
|
600
600
|
if (this._monthsParseExact)
|
|
601
|
-
return
|
|
601
|
+
return os.call(this, e, t, r);
|
|
602
602
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
603
603
|
if (a = U([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
604
604
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
@@ -614,7 +614,7 @@ function ds(e, t, r) {
|
|
|
614
614
|
return s;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function $t(e, t) {
|
|
618
618
|
if (!e.isValid())
|
|
619
619
|
return e;
|
|
620
620
|
if (typeof t == "string") {
|
|
@@ -624,23 +624,23 @@ function qt(e, t) {
|
|
|
624
624
|
return e;
|
|
625
625
|
}
|
|
626
626
|
var r = t, s = e.date();
|
|
627
|
-
return s = s < 29 ? s : Math.min(s,
|
|
627
|
+
return s = s < 29 ? s : Math.min(s, ht(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
|
|
628
628
|
}
|
|
629
|
-
function
|
|
630
|
-
return e != null ? (
|
|
629
|
+
function qt(e) {
|
|
630
|
+
return e != null ? ($t(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
return
|
|
632
|
+
function us() {
|
|
633
|
+
return ht(this.year(), this.month());
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return this._monthsParseExact ? (p(this, "_monthsRegex") ||
|
|
635
|
+
function ds(e) {
|
|
636
|
+
return this._monthsParseExact ? (p(this, "_monthsRegex") || Zt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (p(this, "_monthsShortRegex") || (this._monthsShortRegex = ss), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
return this._monthsParseExact ? (p(this, "_monthsRegex") ||
|
|
638
|
+
function fs(e) {
|
|
639
|
+
return this._monthsParseExact ? (p(this, "_monthsRegex") || Zt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (p(this, "_monthsRegex") || (this._monthsRegex = as), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
function e(
|
|
643
|
-
return m.length -
|
|
641
|
+
function Zt() {
|
|
642
|
+
function e(h, m) {
|
|
643
|
+
return m.length - h.length;
|
|
644
644
|
}
|
|
645
645
|
var t = [], r = [], s = [], a, i, n, u;
|
|
646
646
|
for (a = 0; a < 12; a++)
|
|
@@ -653,7 +653,7 @@ function Bt() {
|
|
|
653
653
|
"i"
|
|
654
654
|
);
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function hs(e, t, r, s, a, i, n) {
|
|
657
657
|
var u;
|
|
658
658
|
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r, s, a, i, n), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, r, s, a, i, n), u;
|
|
659
659
|
}
|
|
@@ -661,33 +661,33 @@ function pe(e) {
|
|
|
661
661
|
var t, r;
|
|
662
662
|
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;
|
|
663
663
|
}
|
|
664
|
-
function
|
|
664
|
+
function Pe(e, t, r) {
|
|
665
665
|
var s = 7 + t - r, a = (7 + pe(e, 0, s).getUTCDay() - t) % 7;
|
|
666
666
|
return -a + s - 1;
|
|
667
667
|
}
|
|
668
|
-
function
|
|
669
|
-
var i = (7 + r - s) % 7, n =
|
|
670
|
-
return u <= 0 ? (
|
|
671
|
-
year:
|
|
668
|
+
function Bt(e, t, r, s, a) {
|
|
669
|
+
var i = (7 + r - s) % 7, n = Pe(e, s, a), u = 1 + 7 * (t - 1) + i + n, h, m;
|
|
670
|
+
return u <= 0 ? (h = e - 1, m = me(h) + u) : u > me(e) ? (h = e + 1, m = u - me(e)) : (h = e, m = u), {
|
|
671
|
+
year: h,
|
|
672
672
|
dayOfYear: m
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
|
-
function
|
|
676
|
-
var s =
|
|
675
|
+
function we(e, t, r) {
|
|
676
|
+
var s = Pe(e.year(), t, r), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, i, n;
|
|
677
677
|
return a < 1 ? (n = e.year() - 1, i = a + $(n, t, r)) : a > $(e.year(), t, r) ? (i = a - $(e.year(), t, r), n = e.year() + 1) : (n = e.year(), i = a), {
|
|
678
678
|
week: i,
|
|
679
679
|
year: n
|
|
680
680
|
};
|
|
681
681
|
}
|
|
682
682
|
function $(e, t, r) {
|
|
683
|
-
var s =
|
|
683
|
+
var s = Pe(e, t, r), a = Pe(e + 1, t, r);
|
|
684
684
|
return (me(e) - s + a) / 7;
|
|
685
685
|
}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
d("w", v,
|
|
686
|
+
f("w", ["ww", 2], "wo", "week");
|
|
687
|
+
f("W", ["WW", 2], "Wo", "isoWeek");
|
|
688
|
+
d("w", v, fe);
|
|
689
689
|
d("ww", v, T);
|
|
690
|
-
d("W", v,
|
|
690
|
+
d("W", v, fe);
|
|
691
691
|
d("WW", v, T);
|
|
692
692
|
Se(
|
|
693
693
|
["w", "ww", "W", "WW"],
|
|
@@ -695,41 +695,41 @@ Se(
|
|
|
695
695
|
t[s.substr(0, 1)] = _(e);
|
|
696
696
|
}
|
|
697
697
|
);
|
|
698
|
-
function
|
|
699
|
-
return
|
|
698
|
+
function cs(e) {
|
|
699
|
+
return we(e, this._week.dow, this._week.doy).week;
|
|
700
700
|
}
|
|
701
|
-
var
|
|
701
|
+
var _s = {
|
|
702
702
|
dow: 0,
|
|
703
703
|
// Sunday is the first day of the week.
|
|
704
704
|
doy: 6
|
|
705
705
|
// The week that contains Jan 6th is the first week of the year.
|
|
706
706
|
};
|
|
707
|
-
function
|
|
707
|
+
function ms() {
|
|
708
708
|
return this._week.dow;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function ys() {
|
|
711
711
|
return this._week.doy;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function ps(e) {
|
|
714
714
|
var t = this.localeData().week(this);
|
|
715
715
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
716
716
|
}
|
|
717
|
-
function
|
|
718
|
-
var t =
|
|
717
|
+
function ws(e) {
|
|
718
|
+
var t = we(this, 1, 4).week;
|
|
719
719
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
720
720
|
}
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
f("d", 0, "do", "day");
|
|
722
|
+
f("dd", 0, 0, function(e) {
|
|
723
723
|
return this.localeData().weekdaysMin(this, e);
|
|
724
724
|
});
|
|
725
|
-
|
|
725
|
+
f("ddd", 0, 0, function(e) {
|
|
726
726
|
return this.localeData().weekdaysShort(this, e);
|
|
727
727
|
});
|
|
728
|
-
|
|
728
|
+
f("dddd", 0, 0, function(e) {
|
|
729
729
|
return this.localeData().weekdays(this, e);
|
|
730
730
|
});
|
|
731
|
-
|
|
732
|
-
|
|
731
|
+
f("e", 0, 0, "weekday");
|
|
732
|
+
f("E", 0, 0, "isoWeekday");
|
|
733
733
|
d("d", v);
|
|
734
734
|
d("e", v);
|
|
735
735
|
d("E", v);
|
|
@@ -749,27 +749,27 @@ Se(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
|
749
749
|
Se(["d", "e", "E"], function(e, t, r, s) {
|
|
750
750
|
t[s] = _(e);
|
|
751
751
|
});
|
|
752
|
-
function
|
|
752
|
+
function gs(e, t) {
|
|
753
753
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function Ms(e, t) {
|
|
756
756
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function ct(e, t) {
|
|
759
759
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
760
760
|
}
|
|
761
|
-
var
|
|
762
|
-
function
|
|
761
|
+
var vs = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Jt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), ks = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ss = ke, Ds = ke, Ys = ke;
|
|
762
|
+
function bs(e, t) {
|
|
763
763
|
var r = N(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
764
|
-
return e === !0 ?
|
|
764
|
+
return e === !0 ? ct(r, this._week.dow) : e ? r[e.day()] : r;
|
|
765
765
|
}
|
|
766
|
-
function
|
|
767
|
-
return e === !0 ?
|
|
766
|
+
function Os(e) {
|
|
767
|
+
return e === !0 ? ct(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
770
|
-
return e === !0 ?
|
|
769
|
+
function Ts(e) {
|
|
770
|
+
return e === !0 ? ct(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function xs(e, t, r) {
|
|
773
773
|
var s, a, i, n = e.toLocaleLowerCase();
|
|
774
774
|
if (!this._weekdaysParse)
|
|
775
775
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
@@ -782,10 +782,10 @@ function Ws(e, t, r) {
|
|
|
782
782
|
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(i, "").toLocaleLowerCase();
|
|
783
783
|
return r ? t === "dddd" ? (a = S.call(this._weekdaysParse, n), a !== -1 ? a : null) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, n), a !== -1 ? a : null) : (a = S.call(this._minWeekdaysParse, n), a !== -1 ? a : null) : t === "dddd" ? (a = S.call(this._weekdaysParse, n), a !== -1 || (a = S.call(this._shortWeekdaysParse, n), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, n), a !== -1 ? a : null)) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, n), a !== -1 || (a = S.call(this._weekdaysParse, n), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, n), a !== -1 ? a : null)) : (a = S.call(this._minWeekdaysParse, n), a !== -1 || (a = S.call(this._weekdaysParse, n), a !== -1) ? a : (a = S.call(this._shortWeekdaysParse, n), a !== -1 ? a : null));
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function Ps(e, t, r) {
|
|
786
786
|
var s, a, i;
|
|
787
787
|
if (this._weekdaysParseExact)
|
|
788
|
-
return
|
|
788
|
+
return xs.call(this, e, t, r);
|
|
789
789
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
790
790
|
if (a = U([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
791
791
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
@@ -806,43 +806,43 @@ function Rs(e, t, r) {
|
|
|
806
806
|
return s;
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Ws(e) {
|
|
810
810
|
if (!this.isValid())
|
|
811
811
|
return e != null ? this : NaN;
|
|
812
812
|
var t = ye(this, "Day");
|
|
813
|
-
return e != null ? (e =
|
|
813
|
+
return e != null ? (e = gs(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function Rs(e) {
|
|
816
816
|
if (!this.isValid())
|
|
817
817
|
return e != null ? this : NaN;
|
|
818
818
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
819
819
|
return e == null ? t : this.add(e - t, "d");
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Ns(e) {
|
|
822
822
|
if (!this.isValid())
|
|
823
823
|
return e != null ? this : NaN;
|
|
824
824
|
if (e != null) {
|
|
825
|
-
var t =
|
|
825
|
+
var t = Ms(e, this.localeData());
|
|
826
826
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
827
827
|
} else
|
|
828
828
|
return this.day() || 7;
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") ||
|
|
830
|
+
function Fs(e) {
|
|
831
|
+
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (p(this, "_weekdaysRegex") || (this._weekdaysRegex = Ss), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
832
832
|
}
|
|
833
|
-
function
|
|
834
|
-
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") ||
|
|
833
|
+
function Ls(e) {
|
|
834
|
+
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (p(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ds), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
837
|
-
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") ||
|
|
836
|
+
function Cs(e) {
|
|
837
|
+
return this._weekdaysParseExact ? (p(this, "_weekdaysRegex") || _t.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (p(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ys), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function _t() {
|
|
840
840
|
function e(b, E) {
|
|
841
841
|
return E.length - b.length;
|
|
842
842
|
}
|
|
843
|
-
var t = [], r = [], s = [], a = [], i, n, u,
|
|
843
|
+
var t = [], r = [], s = [], a = [], i, n, u, h, m;
|
|
844
844
|
for (i = 0; i < 7; i++)
|
|
845
|
-
n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")),
|
|
845
|
+
n = U([2e3, 1]).day(i), u = z(this.weekdaysMin(n, "")), h = z(this.weekdaysShort(n, "")), m = z(this.weekdays(n, "")), t.push(u), r.push(h), s.push(m), a.push(u), a.push(h), a.push(m);
|
|
846
846
|
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(
|
|
847
847
|
"^(" + s.join("|") + ")",
|
|
848
848
|
"i"
|
|
@@ -854,29 +854,29 @@ function mt() {
|
|
|
854
854
|
"i"
|
|
855
855
|
);
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function mt() {
|
|
858
858
|
return this.hours() % 12 || 12;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function Is() {
|
|
861
861
|
return this.hours() || 24;
|
|
862
862
|
}
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
return "" +
|
|
863
|
+
f("H", ["HH", 2], 0, "hour");
|
|
864
|
+
f("h", ["hh", 2], 0, mt);
|
|
865
|
+
f("k", ["kk", 2], 0, Is);
|
|
866
|
+
f("hmm", 0, 0, function() {
|
|
867
|
+
return "" + mt.apply(this) + I(this.minutes(), 2);
|
|
868
868
|
});
|
|
869
|
-
|
|
870
|
-
return "" +
|
|
869
|
+
f("hmmss", 0, 0, function() {
|
|
870
|
+
return "" + mt.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
871
871
|
});
|
|
872
|
-
|
|
872
|
+
f("Hmm", 0, 0, function() {
|
|
873
873
|
return "" + this.hours() + I(this.minutes(), 2);
|
|
874
874
|
});
|
|
875
|
-
|
|
875
|
+
f("Hmmss", 0, 0, function() {
|
|
876
876
|
return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
877
877
|
});
|
|
878
|
-
function
|
|
879
|
-
|
|
878
|
+
function Qt(e, t) {
|
|
879
|
+
f(e, 0, 0, function() {
|
|
880
880
|
return this.localeData().meridiem(
|
|
881
881
|
this.hours(),
|
|
882
882
|
this.minutes(),
|
|
@@ -884,103 +884,103 @@ function Kt(e, t) {
|
|
|
884
884
|
);
|
|
885
885
|
});
|
|
886
886
|
}
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
function
|
|
887
|
+
Qt("a", !0);
|
|
888
|
+
Qt("A", !1);
|
|
889
|
+
function Kt(e, t) {
|
|
890
890
|
return t._meridiemParse;
|
|
891
891
|
}
|
|
892
|
-
d("a",
|
|
893
|
-
d("A",
|
|
892
|
+
d("a", Kt);
|
|
893
|
+
d("A", Kt);
|
|
894
894
|
d("H", v, ft);
|
|
895
|
-
d("h", v,
|
|
896
|
-
d("k", v,
|
|
895
|
+
d("h", v, fe);
|
|
896
|
+
d("k", v, fe);
|
|
897
897
|
d("HH", v, T);
|
|
898
898
|
d("hh", v, T);
|
|
899
899
|
d("kk", v, T);
|
|
900
|
-
d("hmm",
|
|
901
|
-
d("hmmss",
|
|
902
|
-
d("Hmm",
|
|
903
|
-
d("Hmmss",
|
|
904
|
-
|
|
905
|
-
|
|
900
|
+
d("hmm", Et);
|
|
901
|
+
d("hmmss", At);
|
|
902
|
+
d("Hmm", Et);
|
|
903
|
+
d("Hmmss", At);
|
|
904
|
+
g(["H", "HH"], D);
|
|
905
|
+
g(["k", "kk"], function(e, t, r) {
|
|
906
906
|
var s = _(e);
|
|
907
907
|
t[D] = s === 24 ? 0 : s;
|
|
908
908
|
});
|
|
909
|
-
|
|
909
|
+
g(["a", "A"], function(e, t, r) {
|
|
910
910
|
r._isPm = r._locale.isPM(e), r._meridiem = e;
|
|
911
911
|
});
|
|
912
|
-
|
|
912
|
+
g(["h", "hh"], function(e, t, r) {
|
|
913
913
|
t[D] = _(e), c(r).bigHour = !0;
|
|
914
914
|
});
|
|
915
|
-
|
|
915
|
+
g("hmm", function(e, t, r) {
|
|
916
916
|
var s = e.length - 2;
|
|
917
917
|
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s)), c(r).bigHour = !0;
|
|
918
918
|
});
|
|
919
|
-
|
|
919
|
+
g("hmmss", function(e, t, r) {
|
|
920
920
|
var s = e.length - 4, a = e.length - 2;
|
|
921
|
-
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[
|
|
921
|
+
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[V] = _(e.substr(a)), c(r).bigHour = !0;
|
|
922
922
|
});
|
|
923
|
-
|
|
923
|
+
g("Hmm", function(e, t, r) {
|
|
924
924
|
var s = e.length - 2;
|
|
925
925
|
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s));
|
|
926
926
|
});
|
|
927
|
-
|
|
927
|
+
g("Hmmss", function(e, t, r) {
|
|
928
928
|
var s = e.length - 4, a = e.length - 2;
|
|
929
|
-
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[
|
|
929
|
+
t[D] = _(e.substr(0, s)), t[R] = _(e.substr(s, 2)), t[V] = _(e.substr(a));
|
|
930
930
|
});
|
|
931
|
-
function
|
|
931
|
+
function Us(e) {
|
|
932
932
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
933
933
|
}
|
|
934
|
-
var
|
|
935
|
-
function
|
|
934
|
+
var Hs = /[ap]\.?m?\.?/i, Es = he("Hours", !0);
|
|
935
|
+
function As(e, t, r) {
|
|
936
936
|
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
937
937
|
}
|
|
938
|
-
var
|
|
939
|
-
calendar:
|
|
940
|
-
longDateFormat:
|
|
941
|
-
invalidDate:
|
|
942
|
-
ordinal:
|
|
943
|
-
dayOfMonthOrdinalParse:
|
|
944
|
-
relativeTime:
|
|
945
|
-
months:
|
|
946
|
-
monthsShort:
|
|
947
|
-
week:
|
|
948
|
-
weekdays:
|
|
949
|
-
weekdaysMin:
|
|
950
|
-
weekdaysShort:
|
|
951
|
-
meridiemParse:
|
|
952
|
-
}, k = {}, ce = {},
|
|
953
|
-
function
|
|
938
|
+
var Xt = {
|
|
939
|
+
calendar: xr,
|
|
940
|
+
longDateFormat: Nr,
|
|
941
|
+
invalidDate: Lr,
|
|
942
|
+
ordinal: Ir,
|
|
943
|
+
dayOfMonthOrdinalParse: Ur,
|
|
944
|
+
relativeTime: Er,
|
|
945
|
+
months: rs,
|
|
946
|
+
monthsShort: Vt,
|
|
947
|
+
week: _s,
|
|
948
|
+
weekdays: vs,
|
|
949
|
+
weekdaysMin: ks,
|
|
950
|
+
weekdaysShort: Jt,
|
|
951
|
+
meridiemParse: Hs
|
|
952
|
+
}, k = {}, ce = {}, ge;
|
|
953
|
+
function js(e, t) {
|
|
954
954
|
var r, s = Math.min(e.length, t.length);
|
|
955
955
|
for (r = 0; r < s; r += 1)
|
|
956
956
|
if (e[r] !== t[r])
|
|
957
957
|
return r;
|
|
958
958
|
return s;
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function xt(e) {
|
|
961
961
|
return e && e.toLowerCase().replace("_", "-");
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function Gs(e) {
|
|
964
964
|
for (var t = 0, r, s, a, i; t < e.length; ) {
|
|
965
|
-
for (i =
|
|
966
|
-
if (a =
|
|
965
|
+
for (i = xt(e[t]).split("-"), r = i.length, s = xt(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
|
|
966
|
+
if (a = Ae(i.slice(0, r).join("-")), a)
|
|
967
967
|
return a;
|
|
968
|
-
if (s && s.length >= r &&
|
|
968
|
+
if (s && s.length >= r && js(i, s) >= r - 1)
|
|
969
969
|
break;
|
|
970
970
|
r--;
|
|
971
971
|
}
|
|
972
972
|
t++;
|
|
973
973
|
}
|
|
974
|
-
return
|
|
974
|
+
return ge;
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function Vs(e) {
|
|
977
977
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function Ae(e) {
|
|
980
980
|
var t = null, r;
|
|
981
|
-
if (k[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
981
|
+
if (k[e] === void 0 && typeof module < "u" && module && module.exports && Vs(e))
|
|
982
982
|
try {
|
|
983
|
-
t =
|
|
983
|
+
t = ge._abbr, r = require, r("./locale/" + e), X(t);
|
|
984
984
|
} catch {
|
|
985
985
|
k[e] = null;
|
|
986
986
|
}
|
|
@@ -988,38 +988,38 @@ function je(e) {
|
|
|
988
988
|
}
|
|
989
989
|
function X(e, t) {
|
|
990
990
|
var r;
|
|
991
|
-
return e && (O(t) ? r = Z(e) : r =
|
|
991
|
+
return e && (O(t) ? r = Z(e) : r = yt(e, t), r ? ge = r : typeof console < "u" && console.warn && console.warn(
|
|
992
992
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
993
|
-
)),
|
|
993
|
+
)), ge._abbr;
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function yt(e, t) {
|
|
996
996
|
if (t !== null) {
|
|
997
|
-
var r, s =
|
|
997
|
+
var r, s = Xt;
|
|
998
998
|
if (t.abbr = e, k[e] != null)
|
|
999
|
-
|
|
999
|
+
Ct(
|
|
1000
1000
|
"defineLocaleOverride",
|
|
1001
1001
|
"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."
|
|
1002
1002
|
), s = k[e]._config;
|
|
1003
1003
|
else if (t.parentLocale != null)
|
|
1004
1004
|
if (k[t.parentLocale] != null)
|
|
1005
1005
|
s = k[t.parentLocale]._config;
|
|
1006
|
-
else if (r =
|
|
1006
|
+
else if (r = Ae(t.parentLocale), r != null)
|
|
1007
1007
|
s = r._config;
|
|
1008
1008
|
else
|
|
1009
1009
|
return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
|
|
1010
1010
|
name: e,
|
|
1011
1011
|
config: t
|
|
1012
1012
|
}), null;
|
|
1013
|
-
return k[e] = new
|
|
1014
|
-
|
|
1013
|
+
return k[e] = new nt(Qe(s, t)), ce[e] && ce[e].forEach(function(a) {
|
|
1014
|
+
yt(a.name, a.config);
|
|
1015
1015
|
}), X(e), k[e];
|
|
1016
1016
|
} else
|
|
1017
1017
|
return delete k[e], null;
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function zs(e, t) {
|
|
1020
1020
|
if (t != null) {
|
|
1021
|
-
var r, s, a =
|
|
1022
|
-
k[e] != null && k[e].parentLocale != null ? k[e].set(
|
|
1021
|
+
var r, s, a = Xt;
|
|
1022
|
+
k[e] != null && k[e].parentLocale != null ? k[e].set(Qe(k[e]._config, t)) : (s = Ae(e), s != null && (a = s._config), t = Qe(a, t), s == null && (t.abbr = e), r = new nt(t), r.parentLocale = k[e], k[e] = r), X(e);
|
|
1023
1023
|
} else
|
|
1024
1024
|
k[e] != null && (k[e].parentLocale != null ? (k[e] = k[e].parentLocale, e === X() && X(e)) : k[e] != null && delete k[e]);
|
|
1025
1025
|
return k[e];
|
|
@@ -1027,22 +1027,22 @@ function qs(e, t) {
|
|
|
1027
1027
|
function Z(e) {
|
|
1028
1028
|
var t;
|
|
1029
1029
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1030
|
-
return
|
|
1030
|
+
return ge;
|
|
1031
1031
|
if (!N(e)) {
|
|
1032
|
-
if (t =
|
|
1032
|
+
if (t = Ae(e), t)
|
|
1033
1033
|
return t;
|
|
1034
1034
|
e = [e];
|
|
1035
1035
|
}
|
|
1036
|
-
return
|
|
1036
|
+
return Gs(e);
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1039
|
-
return
|
|
1038
|
+
function $s() {
|
|
1039
|
+
return Ke(k);
|
|
1040
1040
|
}
|
|
1041
|
-
function
|
|
1041
|
+
function pt(e) {
|
|
1042
1042
|
var t, r = e._a;
|
|
1043
|
-
return r && c(e).overflow === -2 && (t = r[
|
|
1043
|
+
return r && c(e).overflow === -2 && (t = r[G] < 0 || r[G] > 11 ? G : r[C] < 1 || r[C] > ht(r[Y], r[G]) ? C : r[D] < 0 || r[D] > 24 || r[D] === 24 && (r[R] !== 0 || r[V] !== 0 || r[te] !== 0) ? D : r[R] < 0 || r[R] > 59 ? R : r[V] < 0 || r[V] > 59 ? V : r[te] < 0 || r[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > C) && (t = C), c(e)._overflowWeeks && t === -1 && (t = Jr), c(e)._overflowWeekday && t === -1 && (t = Qr), c(e).overflow = t), e;
|
|
1044
1044
|
}
|
|
1045
|
-
var
|
|
1045
|
+
var qs = /^\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)?)?$/, 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)?)?$/, Bs = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
|
|
1046
1046
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1047
1047
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1048
1048
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1056,7 +1056,7 @@ var Bs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1056
1056
|
["YYYYDDD", /\d{7}/],
|
|
1057
1057
|
["YYYYMM", /\d{6}/, !1],
|
|
1058
1058
|
["YYYY", /\d{4}/, !1]
|
|
1059
|
-
],
|
|
1059
|
+
], qe = [
|
|
1060
1060
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1061
1061
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1062
1062
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1066,7 +1066,7 @@ var Bs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1066
1066
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1067
1067
|
["HHmm", /\d\d\d\d/],
|
|
1068
1068
|
["HH", /\d\d/]
|
|
1069
|
-
],
|
|
1069
|
+
], Js = /^\/?Date\((-?\d+)/i, Qs = /^(?:(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}))$/, Ks = {
|
|
1070
1070
|
UT: 0,
|
|
1071
1071
|
GMT: 0,
|
|
1072
1072
|
EDT: -4 * 60,
|
|
@@ -1078,8 +1078,8 @@ var Bs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1078
1078
|
PDT: -7 * 60,
|
|
1079
1079
|
PST: -8 * 60
|
|
1080
1080
|
};
|
|
1081
|
-
function
|
|
1082
|
-
var t, r, s = e._i, a =
|
|
1081
|
+
function er(e) {
|
|
1082
|
+
var t, r, s = e._i, a = qs.exec(s) || Zs.exec(s), i, n, u, h, m = Ye.length, b = qe.length;
|
|
1083
1083
|
if (a) {
|
|
1084
1084
|
for (c(e).iso = !0, t = 0, r = m; t < r; t++)
|
|
1085
1085
|
if (Ye[t][1].exec(a[1])) {
|
|
@@ -1092,8 +1092,8 @@ function tr(e) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
if (a[3]) {
|
|
1094
1094
|
for (t = 0, r = b; t < r; t++)
|
|
1095
|
-
if (
|
|
1096
|
-
u = (a[2] || " ") +
|
|
1095
|
+
if (qe[t][1].exec(a[3])) {
|
|
1096
|
+
u = (a[2] || " ") + qe[t][0];
|
|
1097
1097
|
break;
|
|
1098
1098
|
}
|
|
1099
1099
|
if (u == null) {
|
|
@@ -1106,36 +1106,36 @@ function tr(e) {
|
|
|
1106
1106
|
return;
|
|
1107
1107
|
}
|
|
1108
1108
|
if (a[4])
|
|
1109
|
-
if (
|
|
1110
|
-
|
|
1109
|
+
if (Bs.exec(a[4]))
|
|
1110
|
+
h = "Z";
|
|
1111
1111
|
else {
|
|
1112
1112
|
e._isValid = !1;
|
|
1113
1113
|
return;
|
|
1114
1114
|
}
|
|
1115
|
-
e._f = n + (u || "") + (
|
|
1115
|
+
e._f = n + (u || "") + (h || ""), gt(e);
|
|
1116
1116
|
} else
|
|
1117
1117
|
e._isValid = !1;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Xs(e, t, r, s, a, i) {
|
|
1120
1120
|
var n = [
|
|
1121
|
-
|
|
1122
|
-
|
|
1121
|
+
ea(e),
|
|
1122
|
+
Vt.indexOf(t),
|
|
1123
1123
|
parseInt(r, 10),
|
|
1124
1124
|
parseInt(s, 10),
|
|
1125
1125
|
parseInt(a, 10)
|
|
1126
1126
|
];
|
|
1127
1127
|
return i && n.push(parseInt(i, 10)), n;
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function ea(e) {
|
|
1130
1130
|
var t = parseInt(e, 10);
|
|
1131
1131
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function ta(e) {
|
|
1134
1134
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function ra(e, t, r) {
|
|
1137
1137
|
if (e) {
|
|
1138
|
-
var s =
|
|
1138
|
+
var s = Jt.indexOf(e), a = new Date(
|
|
1139
1139
|
t[0],
|
|
1140
1140
|
t[1],
|
|
1141
1141
|
t[2]
|
|
@@ -1145,41 +1145,41 @@ function aa(e, t, r) {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
return !0;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function sa(e, t, r) {
|
|
1149
1149
|
if (e)
|
|
1150
|
-
return
|
|
1150
|
+
return Ks[e];
|
|
1151
1151
|
if (t)
|
|
1152
1152
|
return 0;
|
|
1153
1153
|
var s = parseInt(r, 10), a = s % 100, i = (s - a) / 100;
|
|
1154
1154
|
return i * 60 + a;
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1157
|
-
var t =
|
|
1156
|
+
function tr(e) {
|
|
1157
|
+
var t = Qs.exec(ta(e._i)), r;
|
|
1158
1158
|
if (t) {
|
|
1159
|
-
if (r =
|
|
1159
|
+
if (r = Xs(
|
|
1160
1160
|
t[4],
|
|
1161
1161
|
t[3],
|
|
1162
1162
|
t[2],
|
|
1163
1163
|
t[5],
|
|
1164
1164
|
t[6],
|
|
1165
1165
|
t[7]
|
|
1166
|
-
), !
|
|
1166
|
+
), !ra(t[1], r, e))
|
|
1167
1167
|
return;
|
|
1168
|
-
e._a = r, e._tzm =
|
|
1168
|
+
e._a = r, e._tzm = sa(t[8], t[9], t[10]), e._d = pe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
|
|
1169
1169
|
} else
|
|
1170
1170
|
e._isValid = !1;
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1173
|
-
var t =
|
|
1172
|
+
function aa(e) {
|
|
1173
|
+
var t = Js.exec(e._i);
|
|
1174
1174
|
if (t !== null) {
|
|
1175
1175
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1176
1176
|
return;
|
|
1177
1177
|
}
|
|
1178
|
-
if (
|
|
1178
|
+
if (er(e), e._isValid === !1)
|
|
1179
1179
|
delete e._isValid;
|
|
1180
1180
|
else
|
|
1181
1181
|
return;
|
|
1182
|
-
if (
|
|
1182
|
+
if (tr(e), e._isValid === !1)
|
|
1183
1183
|
delete e._isValid;
|
|
1184
1184
|
else
|
|
1185
1185
|
return;
|
|
@@ -1194,7 +1194,7 @@ l.createFromInputFallback = P(
|
|
|
1194
1194
|
function ie(e, t, r) {
|
|
1195
1195
|
return e ?? t ?? r;
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function ia(e) {
|
|
1198
1198
|
var t = new Date(l.now());
|
|
1199
1199
|
return e._useUTC ? [
|
|
1200
1200
|
t.getUTCFullYear(),
|
|
@@ -1205,67 +1205,67 @@ function oa(e) {
|
|
|
1205
1205
|
function wt(e) {
|
|
1206
1206
|
var t, r, s = [], a, i, n;
|
|
1207
1207
|
if (!e._d) {
|
|
1208
|
-
for (a =
|
|
1208
|
+
for (a = ia(e), e._w && e._a[C] == null && e._a[G] == null && na(e), e._dayOfYear != null && (n = ie(e._a[Y], a[Y]), (e._dayOfYear > me(n) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), r = pe(n, 0, e._dayOfYear), e._a[G] = r.getUTCMonth(), e._a[C] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1209
1209
|
e._a[t] = s[t] = a[t];
|
|
1210
1210
|
for (; t < 7; t++)
|
|
1211
1211
|
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1212
|
-
e._a[D] === 24 && e._a[R] === 0 && e._a[
|
|
1212
|
+
e._a[D] === 24 && e._a[R] === 0 && e._a[V] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? pe : hs).apply(
|
|
1213
1213
|
null,
|
|
1214
1214
|
s
|
|
1215
1215
|
), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[D] = 24), e._w && typeof e._w.d < "u" && e._w.d !== i && (c(e).weekdayMismatch = !0);
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1219
|
-
var t, r, s, a, i, n, u,
|
|
1218
|
+
function na(e) {
|
|
1219
|
+
var t, r, s, a, i, n, u, h, m;
|
|
1220
1220
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, n = 4, r = ie(
|
|
1221
1221
|
t.GG,
|
|
1222
1222
|
e._a[Y],
|
|
1223
|
-
|
|
1224
|
-
), s = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (
|
|
1223
|
+
we(M(), 1, 4).year
|
|
1224
|
+
), s = ie(t.W, 1), a = ie(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (i = e._locale._week.dow, n = e._locale._week.doy, m = we(M(), i, n), r = ie(t.gg, e._a[Y], m.year), s = ie(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + i, (t.e < 0 || t.e > 6) && (h = !0)) : a = i), s < 1 || s > $(r, i, n) ? c(e)._overflowWeeks = !0 : h != null ? c(e)._overflowWeekday = !0 : (u = Bt(r, s, a, i, n), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1225
1225
|
}
|
|
1226
1226
|
l.ISO_8601 = function() {
|
|
1227
1227
|
};
|
|
1228
1228
|
l.RFC_2822 = function() {
|
|
1229
1229
|
};
|
|
1230
|
-
function
|
|
1230
|
+
function gt(e) {
|
|
1231
1231
|
if (e._f === l.ISO_8601) {
|
|
1232
|
-
|
|
1232
|
+
er(e);
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
1235
|
if (e._f === l.RFC_2822) {
|
|
1236
|
-
|
|
1236
|
+
tr(e);
|
|
1237
1237
|
return;
|
|
1238
1238
|
}
|
|
1239
1239
|
e._a = [], c(e).empty = !0;
|
|
1240
|
-
var t = "" + e._i, r, s, a, i, n, u = t.length,
|
|
1241
|
-
for (a =
|
|
1242
|
-
i = a[r], s = (t.match(
|
|
1240
|
+
var t = "" + e._i, r, s, a, i, n, u = t.length, h = 0, m, b;
|
|
1241
|
+
for (a = It(e._f, e._locale).match(ot) || [], b = a.length, r = 0; r < b; r++)
|
|
1242
|
+
i = a[r], s = (t.match(qr(i, e)) || [])[0], s && (n = t.substr(0, t.indexOf(s)), n.length > 0 && c(e).unusedInput.push(n), t = t.slice(
|
|
1243
1243
|
t.indexOf(s) + s.length
|
|
1244
|
-
),
|
|
1245
|
-
c(e).charsLeftOver = u -
|
|
1244
|
+
), h += s.length), oe[i] ? (s ? c(e).empty = !1 : c(e).unusedTokens.push(i), Br(i, s, e)) : e._strict && !s && c(e).unusedTokens.push(i);
|
|
1245
|
+
c(e).charsLeftOver = u - h, t.length > 0 && c(e).unusedInput.push(t), e._a[D] <= 12 && c(e).bigHour === !0 && e._a[D] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[D] = oa(
|
|
1246
1246
|
e._locale,
|
|
1247
1247
|
e._a[D],
|
|
1248
1248
|
e._meridiem
|
|
1249
|
-
), m = c(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), wt(e),
|
|
1249
|
+
), m = c(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), wt(e), pt(e);
|
|
1250
1250
|
}
|
|
1251
|
-
function
|
|
1251
|
+
function oa(e, t, r) {
|
|
1252
1252
|
var s;
|
|
1253
1253
|
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);
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1256
|
-
var t, r, s, a, i, n, u = !1,
|
|
1257
|
-
if (
|
|
1255
|
+
function la(e) {
|
|
1256
|
+
var t, r, s, a, i, n, u = !1, h = e._f.length;
|
|
1257
|
+
if (h === 0) {
|
|
1258
1258
|
c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1259
1259
|
return;
|
|
1260
1260
|
}
|
|
1261
|
-
for (a = 0; a <
|
|
1262
|
-
i = 0, n = !1, t =
|
|
1261
|
+
for (a = 0; a < h; a++)
|
|
1262
|
+
i = 0, n = !1, t = it({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], gt(t), at(t) && (n = !0), i += c(t).charsLeftOver, i += c(t).unusedTokens.length * 10, c(t).score = i, u ? i < s && (s = i, r = t) : (s == null || i < s || n) && (s = i, r = t, n && (u = !0));
|
|
1263
1263
|
Q(e, r || t);
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1265
|
+
function ua(e) {
|
|
1266
1266
|
if (!e._d) {
|
|
1267
|
-
var t =
|
|
1268
|
-
e._a =
|
|
1267
|
+
var t = lt(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
1268
|
+
e._a = Ft(
|
|
1269
1269
|
[t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
|
|
1270
1270
|
function(s) {
|
|
1271
1271
|
return s && parseInt(s, 10);
|
|
@@ -1273,41 +1273,41 @@ function ha(e) {
|
|
|
1273
1273
|
), wt(e);
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1277
|
-
var t = new ve(
|
|
1276
|
+
function da(e) {
|
|
1277
|
+
var t = new ve(pt(rr(e)));
|
|
1278
1278
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1280
|
+
function rr(e) {
|
|
1281
1281
|
var t = e._i, r = e._f;
|
|
1282
|
-
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ?
|
|
1282
|
+
return e._locale = e._locale || Z(e._l), t === null || r === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ve(pt(t)) : (Me(t) ? e._d = t : N(r) ? la(e) : r ? gt(e) : fa(e), at(e) || (e._d = null), e));
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function fa(e) {
|
|
1285
1285
|
var t = e._i;
|
|
1286
|
-
O(t) ? e._d = new Date(l.now()) : Me(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ?
|
|
1286
|
+
O(t) ? e._d = new Date(l.now()) : Me(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? aa(e) : N(t) ? (e._a = Ft(t.slice(0), function(r) {
|
|
1287
1287
|
return parseInt(r, 10);
|
|
1288
|
-
}), wt(e)) : re(t) ?
|
|
1288
|
+
}), wt(e)) : re(t) ? ua(e) : q(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function sr(e, t, r, s, a) {
|
|
1291
1291
|
var i = {};
|
|
1292
|
-
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) &&
|
|
1292
|
+
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (re(e) && st(e) || N(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = a, i._l = r, i._i = e, i._f = t, i._strict = s, da(i);
|
|
1293
1293
|
}
|
|
1294
1294
|
function M(e, t, r, s) {
|
|
1295
|
-
return
|
|
1295
|
+
return sr(e, t, r, s, !1);
|
|
1296
1296
|
}
|
|
1297
|
-
var
|
|
1297
|
+
var ha = P(
|
|
1298
1298
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1299
1299
|
function() {
|
|
1300
1300
|
var e = M.apply(null, arguments);
|
|
1301
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1301
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Fe();
|
|
1302
1302
|
}
|
|
1303
|
-
),
|
|
1303
|
+
), ca = P(
|
|
1304
1304
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1305
1305
|
function() {
|
|
1306
1306
|
var e = M.apply(null, arguments);
|
|
1307
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1307
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Fe();
|
|
1308
1308
|
}
|
|
1309
1309
|
);
|
|
1310
|
-
function
|
|
1310
|
+
function ar(e, t) {
|
|
1311
1311
|
var r, s;
|
|
1312
1312
|
if (t.length === 1 && N(t[0]) && (t = t[0]), !t.length)
|
|
1313
1313
|
return M();
|
|
@@ -1315,15 +1315,15 @@ function ir(e, t) {
|
|
|
1315
1315
|
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1316
1316
|
return r;
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function _a() {
|
|
1319
1319
|
var e = [].slice.call(arguments, 0);
|
|
1320
|
-
return
|
|
1320
|
+
return ar("isBefore", e);
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function ma() {
|
|
1323
1323
|
var e = [].slice.call(arguments, 0);
|
|
1324
|
-
return
|
|
1324
|
+
return ar("isAfter", e);
|
|
1325
1325
|
}
|
|
1326
|
-
var
|
|
1326
|
+
var ya = function() {
|
|
1327
1327
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1328
1328
|
}, _e = [
|
|
1329
1329
|
"year",
|
|
@@ -1336,7 +1336,7 @@ var ga = function() {
|
|
|
1336
1336
|
"second",
|
|
1337
1337
|
"millisecond"
|
|
1338
1338
|
];
|
|
1339
|
-
function
|
|
1339
|
+
function pa(e) {
|
|
1340
1340
|
var t, r = !1, s, a = _e.length;
|
|
1341
1341
|
for (t in e)
|
|
1342
1342
|
if (p(e, t) && !(S.call(_e, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
@@ -1349,131 +1349,131 @@ function wa(e) {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
return !0;
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function wa() {
|
|
1353
1353
|
return this._isValid;
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1355
|
+
function ga() {
|
|
1356
1356
|
return L(NaN);
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1359
|
-
var t =
|
|
1360
|
-
this._isValid =
|
|
1361
|
-
|
|
1358
|
+
function je(e) {
|
|
1359
|
+
var t = lt(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, i = t.week || t.isoWeek || 0, n = t.day || 0, u = t.hour || 0, h = t.minute || 0, m = t.second || 0, b = t.millisecond || 0;
|
|
1360
|
+
this._isValid = pa(t), this._milliseconds = +b + m * 1e3 + // 1000
|
|
1361
|
+
h * 6e4 + // 1000 * 60
|
|
1362
1362
|
u * 1e3 * 60 * 60, this._days = +n + i * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = Z(), this._bubble();
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1365
|
-
return e instanceof
|
|
1364
|
+
function Oe(e) {
|
|
1365
|
+
return e instanceof je;
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function et(e) {
|
|
1368
1368
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Ma(e, t, r) {
|
|
1371
1371
|
var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), i = 0, n;
|
|
1372
1372
|
for (n = 0; n < s; n++)
|
|
1373
1373
|
(r && e[n] !== t[n] || !r && _(e[n]) !== _(t[n])) && i++;
|
|
1374
1374
|
return i + a;
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1377
|
-
|
|
1376
|
+
function ir(e, t) {
|
|
1377
|
+
f(e, 0, 0, function() {
|
|
1378
1378
|
var r = this.utcOffset(), s = "+";
|
|
1379
1379
|
return r < 0 && (r = -r, s = "-"), s + I(~~(r / 60), 2) + t + I(~~r % 60, 2);
|
|
1380
1380
|
});
|
|
1381
1381
|
}
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
d("Z",
|
|
1385
|
-
d("ZZ",
|
|
1386
|
-
|
|
1387
|
-
r._useUTC = !0, r._tzm =
|
|
1382
|
+
ir("Z", ":");
|
|
1383
|
+
ir("ZZ", "");
|
|
1384
|
+
d("Z", He);
|
|
1385
|
+
d("ZZ", He);
|
|
1386
|
+
g(["Z", "ZZ"], function(e, t, r) {
|
|
1387
|
+
r._useUTC = !0, r._tzm = Mt(He, e);
|
|
1388
1388
|
});
|
|
1389
|
-
var
|
|
1390
|
-
function
|
|
1389
|
+
var va = /([\+\-]|\d\d)/gi;
|
|
1390
|
+
function Mt(e, t) {
|
|
1391
1391
|
var r = (t || "").match(e), s, a, i;
|
|
1392
|
-
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(
|
|
1392
|
+
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(va) || ["-", 0, 0], i = +(a[1] * 60) + _(a[2]), i === 0 ? 0 : a[0] === "+" ? i : -i);
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function vt(e, t) {
|
|
1395
1395
|
var r, s;
|
|
1396
1396
|
return t._isUTC ? (r = t.clone(), s = (F(e) || Me(e) ? e.valueOf() : M(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), l.updateOffset(r, !1), r) : M(e).local();
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1398
|
+
function tt(e) {
|
|
1399
1399
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1400
1400
|
}
|
|
1401
1401
|
l.updateOffset = function() {
|
|
1402
1402
|
};
|
|
1403
|
-
function
|
|
1403
|
+
function ka(e, t, r) {
|
|
1404
1404
|
var s = this._offset || 0, a;
|
|
1405
1405
|
if (!this.isValid())
|
|
1406
1406
|
return e != null ? this : NaN;
|
|
1407
1407
|
if (e != null) {
|
|
1408
1408
|
if (typeof e == "string") {
|
|
1409
|
-
if (e =
|
|
1409
|
+
if (e = Mt(He, e), e === null)
|
|
1410
1410
|
return this;
|
|
1411
1411
|
} else
|
|
1412
1412
|
Math.abs(e) < 16 && !r && (e = e * 60);
|
|
1413
|
-
return !this._isUTC && t && (a =
|
|
1413
|
+
return !this._isUTC && t && (a = tt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!t || this._changeInProgress ? lr(
|
|
1414
1414
|
this,
|
|
1415
1415
|
L(e - s, "m"),
|
|
1416
1416
|
1,
|
|
1417
1417
|
!1
|
|
1418
1418
|
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1419
1419
|
} else
|
|
1420
|
-
return this._isUTC ? s :
|
|
1420
|
+
return this._isUTC ? s : tt(this);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function Sa(e, t) {
|
|
1423
1423
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function Da(e) {
|
|
1426
1426
|
return this.utcOffset(0, e);
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1429
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1428
|
+
function Ya(e) {
|
|
1429
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(tt(this), "m")), this;
|
|
1430
1430
|
}
|
|
1431
|
-
function
|
|
1431
|
+
function ba() {
|
|
1432
1432
|
if (this._tzm != null)
|
|
1433
1433
|
this.utcOffset(this._tzm, !1, !0);
|
|
1434
1434
|
else if (typeof this._i == "string") {
|
|
1435
|
-
var e =
|
|
1435
|
+
var e = Mt(zr, this._i);
|
|
1436
1436
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1437
1437
|
}
|
|
1438
1438
|
return this;
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1440
|
+
function Oa(e) {
|
|
1441
1441
|
return this.isValid() ? (e = e ? M(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function Ta() {
|
|
1444
1444
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function xa() {
|
|
1447
1447
|
if (!O(this._isDSTShifted))
|
|
1448
1448
|
return this._isDSTShifted;
|
|
1449
1449
|
var e = {}, t;
|
|
1450
|
-
return
|
|
1450
|
+
return it(e, this), e = rr(e), e._a ? (t = e._isUTC ? U(e._a) : M(e._a), this._isDSTShifted = this.isValid() && Ma(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Pa() {
|
|
1453
1453
|
return this.isValid() ? !this._isUTC : !1;
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function Wa() {
|
|
1456
1456
|
return this.isValid() ? this._isUTC : !1;
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function nr() {
|
|
1459
1459
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1460
1460
|
}
|
|
1461
|
-
var
|
|
1461
|
+
var Ra = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Na = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1462
1462
|
function L(e, t) {
|
|
1463
1463
|
var r = e, s = null, a, i, n;
|
|
1464
|
-
return
|
|
1464
|
+
return Oe(e) ? r = {
|
|
1465
1465
|
ms: e._milliseconds,
|
|
1466
1466
|
d: e._days,
|
|
1467
1467
|
M: e._months
|
|
1468
|
-
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s =
|
|
1468
|
+
} : q(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Ra.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1469
1469
|
y: 0,
|
|
1470
1470
|
d: _(s[C]) * a,
|
|
1471
1471
|
h: _(s[D]) * a,
|
|
1472
1472
|
m: _(s[R]) * a,
|
|
1473
|
-
s: _(s[
|
|
1474
|
-
ms: _(
|
|
1473
|
+
s: _(s[V]) * a,
|
|
1474
|
+
ms: _(et(s[te] * 1e3)) * a
|
|
1475
1475
|
// the millisecond decimal point is included in the match
|
|
1476
|
-
}) : (s =
|
|
1476
|
+
}) : (s = Na.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1477
1477
|
y: ee(s[2], a),
|
|
1478
1478
|
M: ee(s[3], a),
|
|
1479
1479
|
w: ee(s[4], a),
|
|
@@ -1481,47 +1481,47 @@ function L(e, t) {
|
|
|
1481
1481
|
h: ee(s[6], a),
|
|
1482
1482
|
m: ee(s[7], a),
|
|
1483
1483
|
s: ee(s[8], a)
|
|
1484
|
-
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (n =
|
|
1484
|
+
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (n = Fa(
|
|
1485
1485
|
M(r.from),
|
|
1486
1486
|
M(r.to)
|
|
1487
|
-
), r = {}, r.ms = n.milliseconds, r.M = n.months), i = new
|
|
1487
|
+
), r = {}, r.ms = n.milliseconds, r.M = n.months), i = new je(r), Oe(e) && p(e, "_locale") && (i._locale = e._locale), Oe(e) && p(e, "_isValid") && (i._isValid = e._isValid), i;
|
|
1488
1488
|
}
|
|
1489
|
-
L.fn =
|
|
1490
|
-
L.invalid =
|
|
1489
|
+
L.fn = je.prototype;
|
|
1490
|
+
L.invalid = ga;
|
|
1491
1491
|
function ee(e, t) {
|
|
1492
1492
|
var r = e && parseFloat(e.replace(",", "."));
|
|
1493
1493
|
return (isNaN(r) ? 0 : r) * t;
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function Pt(e, t) {
|
|
1496
1496
|
var r = {};
|
|
1497
1497
|
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;
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Fa(e, t) {
|
|
1500
1500
|
var r;
|
|
1501
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1501
|
+
return e.isValid() && t.isValid() ? (t = vt(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 };
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function or(e, t) {
|
|
1504
1504
|
return function(r, s) {
|
|
1505
1505
|
var a, i;
|
|
1506
|
-
return s !== null && !isNaN(+s) && (
|
|
1506
|
+
return s !== null && !isNaN(+s) && (Ct(
|
|
1507
1507
|
t,
|
|
1508
1508
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1509
|
-
), i = r, r = s, s = i), a = L(r, s),
|
|
1509
|
+
), i = r, r = s, s = i), a = L(r, s), lr(this, a, e), this;
|
|
1510
1510
|
};
|
|
1511
1511
|
}
|
|
1512
|
-
function
|
|
1513
|
-
var a = t._milliseconds, i =
|
|
1514
|
-
e.isValid() && (s = s ?? !0, n &&
|
|
1512
|
+
function lr(e, t, r, s) {
|
|
1513
|
+
var a = t._milliseconds, i = et(t._days), n = et(t._months);
|
|
1514
|
+
e.isValid() && (s = s ?? !0, n && $t(e, ye(e, "Month") + n * r), i && Gt(e, "Date", ye(e, "Date") + i * r), a && e._d.setTime(e._d.valueOf() + a * r), s && l.updateOffset(e, i || n));
|
|
1515
1515
|
}
|
|
1516
|
-
var
|
|
1517
|
-
function
|
|
1516
|
+
var La = or(1, "add"), Ca = or(-1, "subtract");
|
|
1517
|
+
function ur(e) {
|
|
1518
1518
|
return typeof e == "string" || e instanceof String;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
return F(e) || Me(e) ||
|
|
1520
|
+
function Ia(e) {
|
|
1521
|
+
return F(e) || Me(e) || ur(e) || q(e) || Ha(e) || Ua(e) || e === null || e === void 0;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1524
|
-
var t = re(e) && !
|
|
1523
|
+
function Ua(e) {
|
|
1524
|
+
var t = re(e) && !st(e), r = !1, s = [
|
|
1525
1525
|
"years",
|
|
1526
1526
|
"year",
|
|
1527
1527
|
"y",
|
|
@@ -1551,14 +1551,14 @@ function Ea(e) {
|
|
|
1551
1551
|
i = s[a], r = r || p(e, i);
|
|
1552
1552
|
return t && r;
|
|
1553
1553
|
}
|
|
1554
|
-
function
|
|
1554
|
+
function Ha(e) {
|
|
1555
1555
|
var t = N(e), r = !1;
|
|
1556
1556
|
return t && (r = e.filter(function(s) {
|
|
1557
|
-
return !q(s) &&
|
|
1557
|
+
return !q(s) && ur(e);
|
|
1558
1558
|
}).length === 0), t && r;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1561
|
-
var t = re(e) && !
|
|
1560
|
+
function Ea(e) {
|
|
1561
|
+
var t = re(e) && !st(e), r = !1, s = [
|
|
1562
1562
|
"sameDay",
|
|
1563
1563
|
"nextDay",
|
|
1564
1564
|
"lastDay",
|
|
@@ -1570,57 +1570,57 @@ function ja(e) {
|
|
|
1570
1570
|
i = s[a], r = r || p(e, i);
|
|
1571
1571
|
return t && r;
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function Aa(e, t) {
|
|
1574
1574
|
var r = e.diff(t, "days", !0);
|
|
1575
1575
|
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1578
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1579
|
-
var r = e || M(), s =
|
|
1577
|
+
function ja(e, t) {
|
|
1578
|
+
arguments.length === 1 && (arguments[0] ? Ia(arguments[0]) ? (e = arguments[0], t = void 0) : Ea(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1579
|
+
var r = e || M(), s = vt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", i = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
|
|
1580
1580
|
return this.format(
|
|
1581
1581
|
i || this.localeData().calendar(a, this, M(r))
|
|
1582
1582
|
);
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function Ga() {
|
|
1585
1585
|
return new ve(this);
|
|
1586
1586
|
}
|
|
1587
|
-
function
|
|
1587
|
+
function Va(e, t) {
|
|
1588
1588
|
var r = F(e) ? e : M(e);
|
|
1589
1589
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1591
|
+
function za(e, t) {
|
|
1592
1592
|
var r = F(e) ? e : M(e);
|
|
1593
1593
|
return this.isValid() && r.isValid() ? (t = W(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function $a(e, t, r, s) {
|
|
1596
1596
|
var a = F(e) ? e : M(e), i = F(t) ? t : M(t);
|
|
1597
1597
|
return this.isValid() && a.isValid() && i.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (s[1] === ")" ? this.isBefore(i, r) : !this.isAfter(i, r))) : !1;
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function qa(e, t) {
|
|
1600
1600
|
var r = F(e) ? e : M(e), s;
|
|
1601
1601
|
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;
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function Za(e, t) {
|
|
1604
1604
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function Ba(e, t) {
|
|
1607
1607
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1608
1608
|
}
|
|
1609
|
-
function
|
|
1609
|
+
function Ja(e, t, r) {
|
|
1610
1610
|
var s, a, i;
|
|
1611
1611
|
if (!this.isValid())
|
|
1612
1612
|
return NaN;
|
|
1613
|
-
if (s =
|
|
1613
|
+
if (s = vt(e, this), !s.isValid())
|
|
1614
1614
|
return NaN;
|
|
1615
1615
|
switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, t = W(t), t) {
|
|
1616
1616
|
case "year":
|
|
1617
|
-
i =
|
|
1617
|
+
i = Te(this, s) / 12;
|
|
1618
1618
|
break;
|
|
1619
1619
|
case "month":
|
|
1620
|
-
i =
|
|
1620
|
+
i = Te(this, s);
|
|
1621
1621
|
break;
|
|
1622
1622
|
case "quarter":
|
|
1623
|
-
i =
|
|
1623
|
+
i = Te(this, s) / 3;
|
|
1624
1624
|
break;
|
|
1625
1625
|
case "second":
|
|
1626
1626
|
i = (this - s) / 1e3;
|
|
@@ -1642,53 +1642,53 @@ function Ka(e, t, r) {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
return r ? i : x(i);
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function Te(e, t) {
|
|
1646
1646
|
if (e.date() < t.date())
|
|
1647
|
-
return -
|
|
1647
|
+
return -Te(t, e);
|
|
1648
1648
|
var r = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(r, "months"), a, i;
|
|
1649
1649
|
return t - s < 0 ? (a = e.clone().add(r - 1, "months"), i = (t - s) / (s - a)) : (a = e.clone().add(r + 1, "months"), i = (t - s) / (a - s)), -(r + i) || 0;
|
|
1650
1650
|
}
|
|
1651
1651
|
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1652
1652
|
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1653
|
-
function
|
|
1653
|
+
function Qa() {
|
|
1654
1654
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1655
1655
|
}
|
|
1656
|
-
function
|
|
1656
|
+
function Ka(e) {
|
|
1657
1657
|
if (!this.isValid())
|
|
1658
1658
|
return null;
|
|
1659
1659
|
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
1660
|
-
return r.year() < 0 || r.year() > 9999 ?
|
|
1660
|
+
return r.year() < 0 || r.year() > 9999 ? be(
|
|
1661
1661
|
r,
|
|
1662
1662
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1663
|
-
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z",
|
|
1663
|
+
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", be(r, "Z")) : be(
|
|
1664
1664
|
r,
|
|
1665
1665
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1666
1666
|
);
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function Xa() {
|
|
1669
1669
|
if (!this.isValid())
|
|
1670
1670
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1671
1671
|
var e = "moment", t = "", r, s, a, i;
|
|
1672
1672
|
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", i = t + '[")]', this.format(r + s + a + i);
|
|
1673
1673
|
}
|
|
1674
|
-
function
|
|
1674
|
+
function ei(e) {
|
|
1675
1675
|
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1676
|
-
var t =
|
|
1676
|
+
var t = be(this, e);
|
|
1677
1677
|
return this.localeData().postformat(t);
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function ti(e, t) {
|
|
1680
1680
|
return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function ri(e) {
|
|
1683
1683
|
return this.from(M(), e);
|
|
1684
1684
|
}
|
|
1685
|
-
function
|
|
1685
|
+
function si(e, t) {
|
|
1686
1686
|
return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function ai(e) {
|
|
1689
1689
|
return this.to(M(), e);
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function dr(e) {
|
|
1692
1692
|
var t;
|
|
1693
1693
|
return e === void 0 ? this._locale._abbr : (t = Z(e), t != null && (this._locale = t), this);
|
|
1694
1694
|
}
|
|
@@ -1698,24 +1698,24 @@ var fr = P(
|
|
|
1698
1698
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1699
1699
|
}
|
|
1700
1700
|
);
|
|
1701
|
-
function
|
|
1701
|
+
function hr() {
|
|
1702
1702
|
return this._locale;
|
|
1703
1703
|
}
|
|
1704
|
-
var
|
|
1704
|
+
var We = 1e3, le = 60 * We, Re = 60 * le, cr = (365 * 400 + 97) * 24 * Re;
|
|
1705
1705
|
function ue(e, t) {
|
|
1706
1706
|
return (e % t + t) % t;
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1709
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) -
|
|
1708
|
+
function _r(e, t, r) {
|
|
1709
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - cr : new Date(e, t, r).valueOf();
|
|
1710
1710
|
}
|
|
1711
|
-
function
|
|
1712
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) -
|
|
1711
|
+
function mr(e, t, r) {
|
|
1712
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - cr : Date.UTC(e, t, r);
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function ii(e) {
|
|
1715
1715
|
var t, r;
|
|
1716
1716
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1717
1717
|
return this;
|
|
1718
|
-
switch (r = this._isUTC ?
|
|
1718
|
+
switch (r = this._isUTC ? mr : _r, e) {
|
|
1719
1719
|
case "year":
|
|
1720
1720
|
t = r(this.year(), 0, 1);
|
|
1721
1721
|
break;
|
|
@@ -1750,23 +1750,23 @@ function oi(e) {
|
|
|
1750
1750
|
case "hour":
|
|
1751
1751
|
t = this._d.valueOf(), t -= ue(
|
|
1752
1752
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1753
|
-
|
|
1753
|
+
Re
|
|
1754
1754
|
);
|
|
1755
1755
|
break;
|
|
1756
1756
|
case "minute":
|
|
1757
1757
|
t = this._d.valueOf(), t -= ue(t, le);
|
|
1758
1758
|
break;
|
|
1759
1759
|
case "second":
|
|
1760
|
-
t = this._d.valueOf(), t -= ue(t,
|
|
1760
|
+
t = this._d.valueOf(), t -= ue(t, We);
|
|
1761
1761
|
break;
|
|
1762
1762
|
}
|
|
1763
1763
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function ni(e) {
|
|
1766
1766
|
var t, r;
|
|
1767
1767
|
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1768
1768
|
return this;
|
|
1769
|
-
switch (r = this._isUTC ?
|
|
1769
|
+
switch (r = this._isUTC ? mr : _r, e) {
|
|
1770
1770
|
case "year":
|
|
1771
1771
|
t = r(this.year() + 1, 0, 1) - 1;
|
|
1772
1772
|
break;
|
|
@@ -1799,30 +1799,30 @@ function li(e) {
|
|
|
1799
1799
|
t = r(this.year(), this.month(), this.date() + 1) - 1;
|
|
1800
1800
|
break;
|
|
1801
1801
|
case "hour":
|
|
1802
|
-
t = this._d.valueOf(), t +=
|
|
1802
|
+
t = this._d.valueOf(), t += Re - ue(
|
|
1803
1803
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1804
|
-
|
|
1804
|
+
Re
|
|
1805
1805
|
) - 1;
|
|
1806
1806
|
break;
|
|
1807
1807
|
case "minute":
|
|
1808
1808
|
t = this._d.valueOf(), t += le - ue(t, le) - 1;
|
|
1809
1809
|
break;
|
|
1810
1810
|
case "second":
|
|
1811
|
-
t = this._d.valueOf(), t +=
|
|
1811
|
+
t = this._d.valueOf(), t += We - ue(t, We) - 1;
|
|
1812
1812
|
break;
|
|
1813
1813
|
}
|
|
1814
1814
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1815
1815
|
}
|
|
1816
|
-
function
|
|
1816
|
+
function oi() {
|
|
1817
1817
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1818
1818
|
}
|
|
1819
|
-
function
|
|
1819
|
+
function li() {
|
|
1820
1820
|
return Math.floor(this.valueOf() / 1e3);
|
|
1821
1821
|
}
|
|
1822
|
-
function
|
|
1822
|
+
function ui() {
|
|
1823
1823
|
return new Date(this.valueOf());
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function di() {
|
|
1826
1826
|
var e = this;
|
|
1827
1827
|
return [
|
|
1828
1828
|
e.year(),
|
|
@@ -1834,7 +1834,7 @@ function fi() {
|
|
|
1834
1834
|
e.millisecond()
|
|
1835
1835
|
];
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1837
|
+
function fi() {
|
|
1838
1838
|
var e = this;
|
|
1839
1839
|
return {
|
|
1840
1840
|
years: e.year(),
|
|
@@ -1846,19 +1846,19 @@ function ci() {
|
|
|
1846
1846
|
milliseconds: e.milliseconds()
|
|
1847
1847
|
};
|
|
1848
1848
|
}
|
|
1849
|
-
function
|
|
1849
|
+
function hi() {
|
|
1850
1850
|
return this.isValid() ? this.toISOString() : null;
|
|
1851
1851
|
}
|
|
1852
|
-
function
|
|
1853
|
-
return
|
|
1852
|
+
function ci() {
|
|
1853
|
+
return at(this);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function _i() {
|
|
1856
1856
|
return Q({}, c(this));
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function mi() {
|
|
1859
1859
|
return c(this).overflow;
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1861
|
+
function yi() {
|
|
1862
1862
|
return {
|
|
1863
1863
|
input: this._i,
|
|
1864
1864
|
format: this._f,
|
|
@@ -1867,21 +1867,21 @@ function gi() {
|
|
|
1867
1867
|
strict: this._strict
|
|
1868
1868
|
};
|
|
1869
1869
|
}
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
d("N",
|
|
1880
|
-
d("NN",
|
|
1881
|
-
d("NNN",
|
|
1882
|
-
d("NNNN",
|
|
1883
|
-
d("NNNNN",
|
|
1884
|
-
|
|
1870
|
+
f("N", 0, 0, "eraAbbr");
|
|
1871
|
+
f("NN", 0, 0, "eraAbbr");
|
|
1872
|
+
f("NNN", 0, 0, "eraAbbr");
|
|
1873
|
+
f("NNNN", 0, 0, "eraName");
|
|
1874
|
+
f("NNNNN", 0, 0, "eraNarrow");
|
|
1875
|
+
f("y", ["y", 1], "yo", "eraYear");
|
|
1876
|
+
f("y", ["yy", 2], 0, "eraYear");
|
|
1877
|
+
f("y", ["yyy", 3], 0, "eraYear");
|
|
1878
|
+
f("y", ["yyyy", 4], 0, "eraYear");
|
|
1879
|
+
d("N", kt);
|
|
1880
|
+
d("NN", kt);
|
|
1881
|
+
d("NNN", kt);
|
|
1882
|
+
d("NNNN", Oi);
|
|
1883
|
+
d("NNNNN", Ti);
|
|
1884
|
+
g(
|
|
1885
1885
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
1886
1886
|
function(e, t, r, s) {
|
|
1887
1887
|
var a = r._locale.erasParse(e, s, r._strict);
|
|
@@ -1892,13 +1892,13 @@ d("y", de);
|
|
|
1892
1892
|
d("yy", de);
|
|
1893
1893
|
d("yyy", de);
|
|
1894
1894
|
d("yyyy", de);
|
|
1895
|
-
d("yo",
|
|
1896
|
-
|
|
1897
|
-
|
|
1895
|
+
d("yo", xi);
|
|
1896
|
+
g(["y", "yy", "yyy", "yyyy"], Y);
|
|
1897
|
+
g(["yo"], function(e, t, r, s) {
|
|
1898
1898
|
var a;
|
|
1899
1899
|
r._locale._eraYearOrdinalRegex && (a = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Y] = r._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
|
1900
1900
|
});
|
|
1901
|
-
function
|
|
1901
|
+
function pi(e, t) {
|
|
1902
1902
|
var r, s, a, i = this._eras || Z("en")._eras;
|
|
1903
1903
|
for (r = 0, s = i.length; r < s; ++r) {
|
|
1904
1904
|
switch (typeof i[r].since) {
|
|
@@ -1917,10 +1917,10 @@ function wi(e, t) {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
return i;
|
|
1919
1919
|
}
|
|
1920
|
-
function
|
|
1921
|
-
var s, a, i = this.eras(), n, u,
|
|
1920
|
+
function wi(e, t, r) {
|
|
1921
|
+
var s, a, i = this.eras(), n, u, h;
|
|
1922
1922
|
for (e = e.toUpperCase(), s = 0, a = i.length; s < a; ++s)
|
|
1923
|
-
if (n = i[s].name.toUpperCase(), u = i[s].abbr.toUpperCase(),
|
|
1923
|
+
if (n = i[s].name.toUpperCase(), u = i[s].abbr.toUpperCase(), h = i[s].narrow.toUpperCase(), r)
|
|
1924
1924
|
switch (t) {
|
|
1925
1925
|
case "N":
|
|
1926
1926
|
case "NN":
|
|
@@ -1933,96 +1933,96 @@ function Mi(e, t, r) {
|
|
|
1933
1933
|
return i[s];
|
|
1934
1934
|
break;
|
|
1935
1935
|
case "NNNNN":
|
|
1936
|
-
if (
|
|
1936
|
+
if (h === e)
|
|
1937
1937
|
return i[s];
|
|
1938
1938
|
break;
|
|
1939
1939
|
}
|
|
1940
|
-
else if ([n, u,
|
|
1940
|
+
else if ([n, u, h].indexOf(e) >= 0)
|
|
1941
1941
|
return i[s];
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1943
|
+
function gi(e, t) {
|
|
1944
1944
|
var r = e.since <= e.until ? 1 : -1;
|
|
1945
1945
|
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * r;
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function Mi() {
|
|
1948
1948
|
var e, t, r, s = this.localeData().eras();
|
|
1949
1949
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1950
1950
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1951
1951
|
return s[e].name;
|
|
1952
1952
|
return "";
|
|
1953
1953
|
}
|
|
1954
|
-
function
|
|
1954
|
+
function vi() {
|
|
1955
1955
|
var e, t, r, s = this.localeData().eras();
|
|
1956
1956
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1957
1957
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1958
1958
|
return s[e].narrow;
|
|
1959
1959
|
return "";
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1961
|
+
function ki() {
|
|
1962
1962
|
var e, t, r, s = this.localeData().eras();
|
|
1963
1963
|
for (e = 0, t = s.length; e < t; ++e)
|
|
1964
1964
|
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
1965
1965
|
return s[e].abbr;
|
|
1966
1966
|
return "";
|
|
1967
1967
|
}
|
|
1968
|
-
function
|
|
1968
|
+
function Si() {
|
|
1969
1969
|
var e, t, r, s, a = this.localeData().eras();
|
|
1970
1970
|
for (e = 0, t = a.length; e < t; ++e)
|
|
1971
1971
|
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)
|
|
1972
1972
|
return (this.year() - l(a[e].since).year()) * r + a[e].offset;
|
|
1973
1973
|
return this.year();
|
|
1974
1974
|
}
|
|
1975
|
-
function
|
|
1976
|
-
return p(this, "_erasNameRegex") ||
|
|
1975
|
+
function Di(e) {
|
|
1976
|
+
return p(this, "_erasNameRegex") || St.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1979
|
-
return p(this, "_erasAbbrRegex") ||
|
|
1978
|
+
function Yi(e) {
|
|
1979
|
+
return p(this, "_erasAbbrRegex") || St.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
1980
1980
|
}
|
|
1981
|
-
function
|
|
1982
|
-
return p(this, "_erasNarrowRegex") ||
|
|
1981
|
+
function bi(e) {
|
|
1982
|
+
return p(this, "_erasNarrowRegex") || St.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
1983
1983
|
}
|
|
1984
|
-
function
|
|
1984
|
+
function kt(e, t) {
|
|
1985
1985
|
return t.erasAbbrRegex(e);
|
|
1986
1986
|
}
|
|
1987
|
-
function
|
|
1987
|
+
function Oi(e, t) {
|
|
1988
1988
|
return t.erasNameRegex(e);
|
|
1989
1989
|
}
|
|
1990
|
-
function
|
|
1990
|
+
function Ti(e, t) {
|
|
1991
1991
|
return t.erasNarrowRegex(e);
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1993
|
+
function xi(e, t) {
|
|
1994
1994
|
return t._eraYearOrdinalRegex || de;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1997
|
-
var e = [], t = [], r = [], s = [], a, i, n, u,
|
|
1996
|
+
function St() {
|
|
1997
|
+
var e = [], t = [], r = [], s = [], a, i, n, u, h, m = this.eras();
|
|
1998
1998
|
for (a = 0, i = m.length; a < i; ++a)
|
|
1999
|
-
n = z(m[a].name), u = z(m[a].abbr),
|
|
1999
|
+
n = z(m[a].name), u = z(m[a].abbr), h = z(m[a].narrow), t.push(n), e.push(u), r.push(h), s.push(n), s.push(u), s.push(h);
|
|
2000
2000
|
this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2001
2001
|
"^(" + r.join("|") + ")",
|
|
2002
2002
|
"i"
|
|
2003
2003
|
);
|
|
2004
2004
|
}
|
|
2005
|
-
|
|
2005
|
+
f(0, ["gg", 2], 0, function() {
|
|
2006
2006
|
return this.weekYear() % 100;
|
|
2007
2007
|
});
|
|
2008
|
-
|
|
2008
|
+
f(0, ["GG", 2], 0, function() {
|
|
2009
2009
|
return this.isoWeekYear() % 100;
|
|
2010
2010
|
});
|
|
2011
2011
|
function Ge(e, t) {
|
|
2012
|
-
|
|
2012
|
+
f(0, [e, e.length], 0, t);
|
|
2013
2013
|
}
|
|
2014
2014
|
Ge("gggg", "weekYear");
|
|
2015
2015
|
Ge("ggggg", "weekYear");
|
|
2016
2016
|
Ge("GGGG", "isoWeekYear");
|
|
2017
2017
|
Ge("GGGGG", "isoWeekYear");
|
|
2018
|
-
d("G",
|
|
2019
|
-
d("g",
|
|
2018
|
+
d("G", Ue);
|
|
2019
|
+
d("g", Ue);
|
|
2020
2020
|
d("GG", v, T);
|
|
2021
2021
|
d("gg", v, T);
|
|
2022
|
-
d("GGGG",
|
|
2023
|
-
d("gggg",
|
|
2024
|
-
d("GGGGG",
|
|
2025
|
-
d("ggggg",
|
|
2022
|
+
d("GGGG", dt, ut);
|
|
2023
|
+
d("gggg", dt, ut);
|
|
2024
|
+
d("GGGGG", Ie, Le);
|
|
2025
|
+
d("ggggg", Ie, Le);
|
|
2026
2026
|
Se(
|
|
2027
2027
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2028
2028
|
function(e, t, r, s) {
|
|
@@ -2032,8 +2032,8 @@ Se(
|
|
|
2032
2032
|
Se(["gg", "GG"], function(e, t, r, s) {
|
|
2033
2033
|
t[s] = l.parseTwoDigitYear(e);
|
|
2034
2034
|
});
|
|
2035
|
-
function
|
|
2036
|
-
return
|
|
2035
|
+
function Pi(e) {
|
|
2036
|
+
return yr.call(
|
|
2037
2037
|
this,
|
|
2038
2038
|
e,
|
|
2039
2039
|
this.week(),
|
|
@@ -2042,8 +2042,8 @@ function Ri(e) {
|
|
|
2042
2042
|
this.localeData()._week.doy
|
|
2043
2043
|
);
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2045
|
+
function Wi(e) {
|
|
2046
|
+
return yr.call(
|
|
2047
2047
|
this,
|
|
2048
2048
|
e,
|
|
2049
2049
|
this.isoWeek(),
|
|
@@ -2052,291 +2052,291 @@ function Ni(e) {
|
|
|
2052
2052
|
4
|
|
2053
2053
|
);
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function Ri() {
|
|
2056
2056
|
return $(this.year(), 1, 4);
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function Ni() {
|
|
2059
2059
|
return $(this.isoWeekYear(), 1, 4);
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2061
|
+
function Fi() {
|
|
2062
2062
|
var e = this.localeData()._week;
|
|
2063
2063
|
return $(this.year(), e.dow, e.doy);
|
|
2064
2064
|
}
|
|
2065
|
-
function
|
|
2065
|
+
function Li() {
|
|
2066
2066
|
var e = this.localeData()._week;
|
|
2067
2067
|
return $(this.weekYear(), e.dow, e.doy);
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function yr(e, t, r, s, a) {
|
|
2070
2070
|
var i;
|
|
2071
|
-
return e == null ?
|
|
2071
|
+
return e == null ? we(this, s, a).year : (i = $(e, s, a), t > i && (t = i), Ci.call(this, e, t, r, s, a));
|
|
2072
2072
|
}
|
|
2073
|
-
function
|
|
2074
|
-
var i =
|
|
2073
|
+
function Ci(e, t, r, s, a) {
|
|
2074
|
+
var i = Bt(e, t, r, s, a), n = pe(i.year, 0, i.dayOfYear);
|
|
2075
2075
|
return this.year(n.getUTCFullYear()), this.month(n.getUTCMonth()), this.date(n.getUTCDate()), this;
|
|
2076
2076
|
}
|
|
2077
|
-
|
|
2078
|
-
d("Q",
|
|
2079
|
-
|
|
2080
|
-
t[
|
|
2077
|
+
f("Q", 0, "Qo", "quarter");
|
|
2078
|
+
d("Q", Ut);
|
|
2079
|
+
g("Q", function(e, t) {
|
|
2080
|
+
t[G] = (_(e) - 1) * 3;
|
|
2081
2081
|
});
|
|
2082
|
-
function
|
|
2082
|
+
function Ii(e) {
|
|
2083
2083
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2084
2084
|
}
|
|
2085
|
-
|
|
2086
|
-
d("D", v,
|
|
2085
|
+
f("D", ["DD", 2], "Do", "date");
|
|
2086
|
+
d("D", v, fe);
|
|
2087
2087
|
d("DD", v, T);
|
|
2088
2088
|
d("Do", function(e, t) {
|
|
2089
2089
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2090
2090
|
});
|
|
2091
|
-
|
|
2092
|
-
|
|
2091
|
+
g(["D", "DD"], C);
|
|
2092
|
+
g("Do", function(e, t) {
|
|
2093
2093
|
t[C] = _(e.match(v)[0]);
|
|
2094
2094
|
});
|
|
2095
|
-
var
|
|
2096
|
-
|
|
2097
|
-
d("DDD",
|
|
2098
|
-
d("DDDD",
|
|
2099
|
-
|
|
2095
|
+
var pr = he("Date", !0);
|
|
2096
|
+
f("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2097
|
+
d("DDD", Ce);
|
|
2098
|
+
d("DDDD", Ht);
|
|
2099
|
+
g(["DDD", "DDDD"], function(e, t, r) {
|
|
2100
2100
|
r._dayOfYear = _(e);
|
|
2101
2101
|
});
|
|
2102
|
-
function
|
|
2102
|
+
function Ui(e) {
|
|
2103
2103
|
var t = Math.round(
|
|
2104
2104
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2105
2105
|
) + 1;
|
|
2106
2106
|
return e == null ? t : this.add(e - t, "d");
|
|
2107
2107
|
}
|
|
2108
|
-
|
|
2108
|
+
f("m", ["mm", 2], 0, "minute");
|
|
2109
2109
|
d("m", v, ft);
|
|
2110
2110
|
d("mm", v, T);
|
|
2111
|
-
|
|
2112
|
-
var
|
|
2113
|
-
|
|
2111
|
+
g(["m", "mm"], R);
|
|
2112
|
+
var Hi = he("Minutes", !1);
|
|
2113
|
+
f("s", ["ss", 2], 0, "second");
|
|
2114
2114
|
d("s", v, ft);
|
|
2115
2115
|
d("ss", v, T);
|
|
2116
|
-
|
|
2117
|
-
var
|
|
2118
|
-
|
|
2116
|
+
g(["s", "ss"], V);
|
|
2117
|
+
var Ei = he("Seconds", !1);
|
|
2118
|
+
f("S", 0, 0, function() {
|
|
2119
2119
|
return ~~(this.millisecond() / 100);
|
|
2120
2120
|
});
|
|
2121
|
-
|
|
2121
|
+
f(0, ["SS", 2], 0, function() {
|
|
2122
2122
|
return ~~(this.millisecond() / 10);
|
|
2123
2123
|
});
|
|
2124
|
-
|
|
2125
|
-
|
|
2124
|
+
f(0, ["SSS", 3], 0, "millisecond");
|
|
2125
|
+
f(0, ["SSSS", 4], 0, function() {
|
|
2126
2126
|
return this.millisecond() * 10;
|
|
2127
2127
|
});
|
|
2128
|
-
|
|
2128
|
+
f(0, ["SSSSS", 5], 0, function() {
|
|
2129
2129
|
return this.millisecond() * 100;
|
|
2130
2130
|
});
|
|
2131
|
-
|
|
2131
|
+
f(0, ["SSSSSS", 6], 0, function() {
|
|
2132
2132
|
return this.millisecond() * 1e3;
|
|
2133
2133
|
});
|
|
2134
|
-
|
|
2134
|
+
f(0, ["SSSSSSS", 7], 0, function() {
|
|
2135
2135
|
return this.millisecond() * 1e4;
|
|
2136
2136
|
});
|
|
2137
|
-
|
|
2137
|
+
f(0, ["SSSSSSSS", 8], 0, function() {
|
|
2138
2138
|
return this.millisecond() * 1e5;
|
|
2139
2139
|
});
|
|
2140
|
-
|
|
2140
|
+
f(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2141
2141
|
return this.millisecond() * 1e6;
|
|
2142
2142
|
});
|
|
2143
|
-
d("S",
|
|
2144
|
-
d("SS",
|
|
2145
|
-
d("SSS",
|
|
2143
|
+
d("S", Ce, Ut);
|
|
2144
|
+
d("SS", Ce, T);
|
|
2145
|
+
d("SSS", Ce, Ht);
|
|
2146
2146
|
var K, wr;
|
|
2147
2147
|
for (K = "SSSS"; K.length <= 9; K += "S")
|
|
2148
2148
|
d(K, de);
|
|
2149
|
-
function
|
|
2149
|
+
function Ai(e, t) {
|
|
2150
2150
|
t[te] = _(("0." + e) * 1e3);
|
|
2151
2151
|
}
|
|
2152
2152
|
for (K = "S"; K.length <= 9; K += "S")
|
|
2153
|
-
|
|
2154
|
-
wr =
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
function
|
|
2153
|
+
g(K, Ai);
|
|
2154
|
+
wr = he("Milliseconds", !1);
|
|
2155
|
+
f("z", 0, 0, "zoneAbbr");
|
|
2156
|
+
f("zz", 0, 0, "zoneName");
|
|
2157
|
+
function ji() {
|
|
2158
2158
|
return this._isUTC ? "UTC" : "";
|
|
2159
2159
|
}
|
|
2160
|
-
function
|
|
2160
|
+
function Gi() {
|
|
2161
2161
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2162
2162
|
}
|
|
2163
2163
|
var o = ve.prototype;
|
|
2164
|
-
o.add =
|
|
2165
|
-
o.calendar =
|
|
2166
|
-
o.clone =
|
|
2167
|
-
o.diff =
|
|
2168
|
-
o.endOf =
|
|
2169
|
-
o.format =
|
|
2170
|
-
o.from =
|
|
2171
|
-
o.fromNow =
|
|
2172
|
-
o.to =
|
|
2173
|
-
o.toNow =
|
|
2174
|
-
o.get =
|
|
2175
|
-
o.invalidAt =
|
|
2176
|
-
o.isAfter =
|
|
2177
|
-
o.isBefore =
|
|
2178
|
-
o.isBetween =
|
|
2179
|
-
o.isSame =
|
|
2180
|
-
o.isSameOrAfter =
|
|
2181
|
-
o.isSameOrBefore =
|
|
2182
|
-
o.isValid =
|
|
2164
|
+
o.add = La;
|
|
2165
|
+
o.calendar = ja;
|
|
2166
|
+
o.clone = Ga;
|
|
2167
|
+
o.diff = Ja;
|
|
2168
|
+
o.endOf = ni;
|
|
2169
|
+
o.format = ei;
|
|
2170
|
+
o.from = ti;
|
|
2171
|
+
o.fromNow = ri;
|
|
2172
|
+
o.to = si;
|
|
2173
|
+
o.toNow = ai;
|
|
2174
|
+
o.get = Xr;
|
|
2175
|
+
o.invalidAt = mi;
|
|
2176
|
+
o.isAfter = Va;
|
|
2177
|
+
o.isBefore = za;
|
|
2178
|
+
o.isBetween = $a;
|
|
2179
|
+
o.isSame = qa;
|
|
2180
|
+
o.isSameOrAfter = Za;
|
|
2181
|
+
o.isSameOrBefore = Ba;
|
|
2182
|
+
o.isValid = ci;
|
|
2183
2183
|
o.lang = fr;
|
|
2184
|
-
o.locale =
|
|
2185
|
-
o.localeData =
|
|
2186
|
-
o.max =
|
|
2187
|
-
o.min =
|
|
2188
|
-
o.parsingFlags =
|
|
2189
|
-
o.set =
|
|
2190
|
-
o.startOf =
|
|
2191
|
-
o.subtract =
|
|
2192
|
-
o.toArray =
|
|
2193
|
-
o.toObject =
|
|
2194
|
-
o.toDate =
|
|
2195
|
-
o.toISOString =
|
|
2196
|
-
o.inspect =
|
|
2184
|
+
o.locale = dr;
|
|
2185
|
+
o.localeData = hr;
|
|
2186
|
+
o.max = ca;
|
|
2187
|
+
o.min = ha;
|
|
2188
|
+
o.parsingFlags = _i;
|
|
2189
|
+
o.set = es;
|
|
2190
|
+
o.startOf = ii;
|
|
2191
|
+
o.subtract = Ca;
|
|
2192
|
+
o.toArray = di;
|
|
2193
|
+
o.toObject = fi;
|
|
2194
|
+
o.toDate = ui;
|
|
2195
|
+
o.toISOString = Ka;
|
|
2196
|
+
o.inspect = Xa;
|
|
2197
2197
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2198
2198
|
return "Moment<" + this.format() + ">";
|
|
2199
2199
|
});
|
|
2200
|
-
o.toJSON =
|
|
2201
|
-
o.toString =
|
|
2202
|
-
o.unix =
|
|
2203
|
-
o.valueOf =
|
|
2204
|
-
o.creationData =
|
|
2205
|
-
o.eraName =
|
|
2206
|
-
o.eraNarrow =
|
|
2207
|
-
o.eraAbbr =
|
|
2208
|
-
o.eraYear =
|
|
2209
|
-
o.year =
|
|
2210
|
-
o.isLeapYear =
|
|
2211
|
-
o.weekYear =
|
|
2212
|
-
o.isoWeekYear =
|
|
2213
|
-
o.quarter = o.quarters =
|
|
2214
|
-
o.month =
|
|
2215
|
-
o.daysInMonth =
|
|
2216
|
-
o.week = o.weeks =
|
|
2217
|
-
o.isoWeek = o.isoWeeks =
|
|
2218
|
-
o.weeksInYear =
|
|
2219
|
-
o.weeksInWeekYear =
|
|
2220
|
-
o.isoWeeksInYear =
|
|
2221
|
-
o.isoWeeksInISOWeekYear =
|
|
2222
|
-
o.date =
|
|
2223
|
-
o.day = o.days =
|
|
2224
|
-
o.weekday =
|
|
2225
|
-
o.isoWeekday =
|
|
2226
|
-
o.dayOfYear =
|
|
2227
|
-
o.hour = o.hours =
|
|
2228
|
-
o.minute = o.minutes =
|
|
2229
|
-
o.second = o.seconds =
|
|
2200
|
+
o.toJSON = hi;
|
|
2201
|
+
o.toString = Qa;
|
|
2202
|
+
o.unix = li;
|
|
2203
|
+
o.valueOf = oi;
|
|
2204
|
+
o.creationData = yi;
|
|
2205
|
+
o.eraName = Mi;
|
|
2206
|
+
o.eraNarrow = vi;
|
|
2207
|
+
o.eraAbbr = ki;
|
|
2208
|
+
o.eraYear = Si;
|
|
2209
|
+
o.year = jt;
|
|
2210
|
+
o.isLeapYear = Kr;
|
|
2211
|
+
o.weekYear = Pi;
|
|
2212
|
+
o.isoWeekYear = Wi;
|
|
2213
|
+
o.quarter = o.quarters = Ii;
|
|
2214
|
+
o.month = qt;
|
|
2215
|
+
o.daysInMonth = us;
|
|
2216
|
+
o.week = o.weeks = ps;
|
|
2217
|
+
o.isoWeek = o.isoWeeks = ws;
|
|
2218
|
+
o.weeksInYear = Fi;
|
|
2219
|
+
o.weeksInWeekYear = Li;
|
|
2220
|
+
o.isoWeeksInYear = Ri;
|
|
2221
|
+
o.isoWeeksInISOWeekYear = Ni;
|
|
2222
|
+
o.date = pr;
|
|
2223
|
+
o.day = o.days = Ws;
|
|
2224
|
+
o.weekday = Rs;
|
|
2225
|
+
o.isoWeekday = Ns;
|
|
2226
|
+
o.dayOfYear = Ui;
|
|
2227
|
+
o.hour = o.hours = Es;
|
|
2228
|
+
o.minute = o.minutes = Hi;
|
|
2229
|
+
o.second = o.seconds = Ei;
|
|
2230
2230
|
o.millisecond = o.milliseconds = wr;
|
|
2231
|
-
o.utcOffset =
|
|
2232
|
-
o.utc =
|
|
2233
|
-
o.local =
|
|
2234
|
-
o.parseZone =
|
|
2235
|
-
o.hasAlignedHourOffset =
|
|
2236
|
-
o.isDST =
|
|
2237
|
-
o.isLocal =
|
|
2238
|
-
o.isUtcOffset =
|
|
2239
|
-
o.isUtc =
|
|
2240
|
-
o.isUTC =
|
|
2241
|
-
o.zoneAbbr =
|
|
2242
|
-
o.zoneName =
|
|
2231
|
+
o.utcOffset = ka;
|
|
2232
|
+
o.utc = Da;
|
|
2233
|
+
o.local = Ya;
|
|
2234
|
+
o.parseZone = ba;
|
|
2235
|
+
o.hasAlignedHourOffset = Oa;
|
|
2236
|
+
o.isDST = Ta;
|
|
2237
|
+
o.isLocal = Pa;
|
|
2238
|
+
o.isUtcOffset = Wa;
|
|
2239
|
+
o.isUtc = nr;
|
|
2240
|
+
o.isUTC = nr;
|
|
2241
|
+
o.zoneAbbr = ji;
|
|
2242
|
+
o.zoneName = Gi;
|
|
2243
2243
|
o.dates = P(
|
|
2244
2244
|
"dates accessor is deprecated. Use date instead.",
|
|
2245
|
-
|
|
2245
|
+
pr
|
|
2246
2246
|
);
|
|
2247
2247
|
o.months = P(
|
|
2248
2248
|
"months accessor is deprecated. Use month instead",
|
|
2249
|
-
|
|
2249
|
+
qt
|
|
2250
2250
|
);
|
|
2251
2251
|
o.years = P(
|
|
2252
2252
|
"years accessor is deprecated. Use year instead",
|
|
2253
|
-
|
|
2253
|
+
jt
|
|
2254
2254
|
);
|
|
2255
2255
|
o.zone = P(
|
|
2256
2256
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2257
|
-
|
|
2257
|
+
Sa
|
|
2258
2258
|
);
|
|
2259
2259
|
o.isDSTShifted = P(
|
|
2260
2260
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2261
|
-
|
|
2261
|
+
xa
|
|
2262
2262
|
);
|
|
2263
|
-
function
|
|
2263
|
+
function Vi(e) {
|
|
2264
2264
|
return M(e * 1e3);
|
|
2265
2265
|
}
|
|
2266
|
-
function
|
|
2266
|
+
function zi() {
|
|
2267
2267
|
return M.apply(null, arguments).parseZone();
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2269
|
+
function gr(e) {
|
|
2270
2270
|
return e;
|
|
2271
2271
|
}
|
|
2272
|
-
var
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
function
|
|
2272
|
+
var w = nt.prototype;
|
|
2273
|
+
w.calendar = Pr;
|
|
2274
|
+
w.longDateFormat = Fr;
|
|
2275
|
+
w.invalidDate = Cr;
|
|
2276
|
+
w.ordinal = Hr;
|
|
2277
|
+
w.preparse = gr;
|
|
2278
|
+
w.postformat = gr;
|
|
2279
|
+
w.relativeTime = Ar;
|
|
2280
|
+
w.pastFuture = jr;
|
|
2281
|
+
w.set = Tr;
|
|
2282
|
+
w.eras = pi;
|
|
2283
|
+
w.erasParse = wi;
|
|
2284
|
+
w.erasConvertYear = gi;
|
|
2285
|
+
w.erasAbbrRegex = Yi;
|
|
2286
|
+
w.erasNameRegex = Di;
|
|
2287
|
+
w.erasNarrowRegex = bi;
|
|
2288
|
+
w.months = is;
|
|
2289
|
+
w.monthsShort = ns;
|
|
2290
|
+
w.monthsParse = ls;
|
|
2291
|
+
w.monthsRegex = fs;
|
|
2292
|
+
w.monthsShortRegex = ds;
|
|
2293
|
+
w.week = cs;
|
|
2294
|
+
w.firstDayOfYear = ys;
|
|
2295
|
+
w.firstDayOfWeek = ms;
|
|
2296
|
+
w.weekdays = bs;
|
|
2297
|
+
w.weekdaysMin = Ts;
|
|
2298
|
+
w.weekdaysShort = Os;
|
|
2299
|
+
w.weekdaysParse = Ps;
|
|
2300
|
+
w.weekdaysRegex = Fs;
|
|
2301
|
+
w.weekdaysShortRegex = Ls;
|
|
2302
|
+
w.weekdaysMinRegex = Cs;
|
|
2303
|
+
w.isPM = Us;
|
|
2304
|
+
w.meridiem = As;
|
|
2305
|
+
function Ne(e, t, r, s) {
|
|
2306
2306
|
var a = Z(), i = U().set(s, t);
|
|
2307
2307
|
return a[r](i, e);
|
|
2308
2308
|
}
|
|
2309
|
-
function
|
|
2309
|
+
function Mr(e, t, r) {
|
|
2310
2310
|
if (q(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2311
|
-
return
|
|
2311
|
+
return Ne(e, t, r, "month");
|
|
2312
2312
|
var s, a = [];
|
|
2313
2313
|
for (s = 0; s < 12; s++)
|
|
2314
|
-
a[s] =
|
|
2314
|
+
a[s] = Ne(e, s, r, "month");
|
|
2315
2315
|
return a;
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2317
|
+
function Dt(e, t, r, s) {
|
|
2318
2318
|
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 || "");
|
|
2319
2319
|
var a = Z(), i = e ? a._week.dow : 0, n, u = [];
|
|
2320
2320
|
if (r != null)
|
|
2321
|
-
return
|
|
2321
|
+
return Ne(t, (r + i) % 7, s, "day");
|
|
2322
2322
|
for (n = 0; n < 7; n++)
|
|
2323
|
-
u[n] =
|
|
2323
|
+
u[n] = Ne(t, (n + i) % 7, s, "day");
|
|
2324
2324
|
return u;
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2327
|
-
return
|
|
2326
|
+
function $i(e, t) {
|
|
2327
|
+
return Mr(e, t, "months");
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2330
|
-
return
|
|
2329
|
+
function qi(e, t) {
|
|
2330
|
+
return Mr(e, t, "monthsShort");
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2333
|
-
return
|
|
2332
|
+
function Zi(e, t, r) {
|
|
2333
|
+
return Dt(e, t, r, "weekdays");
|
|
2334
2334
|
}
|
|
2335
|
-
function
|
|
2336
|
-
return
|
|
2335
|
+
function Bi(e, t, r) {
|
|
2336
|
+
return Dt(e, t, r, "weekdaysShort");
|
|
2337
2337
|
}
|
|
2338
|
-
function
|
|
2339
|
-
return
|
|
2338
|
+
function Ji(e, t, r) {
|
|
2339
|
+
return Dt(e, t, r, "weekdaysMin");
|
|
2340
2340
|
}
|
|
2341
2341
|
X("en", {
|
|
2342
2342
|
eras: [
|
|
@@ -2372,39 +2372,39 @@ l.langData = P(
|
|
|
2372
2372
|
Z
|
|
2373
2373
|
);
|
|
2374
2374
|
var A = Math.abs;
|
|
2375
|
-
function
|
|
2375
|
+
function Qi() {
|
|
2376
2376
|
var e = this._data;
|
|
2377
2377
|
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;
|
|
2378
2378
|
}
|
|
2379
|
-
function
|
|
2379
|
+
function vr(e, t, r, s) {
|
|
2380
2380
|
var a = L(t, r);
|
|
2381
2381
|
return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
|
|
2382
2382
|
}
|
|
2383
|
-
function
|
|
2384
|
-
return
|
|
2383
|
+
function Ki(e, t) {
|
|
2384
|
+
return vr(this, e, t, 1);
|
|
2385
2385
|
}
|
|
2386
|
-
function
|
|
2387
|
-
return
|
|
2386
|
+
function Xi(e, t) {
|
|
2387
|
+
return vr(this, e, t, -1);
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2389
|
+
function Wt(e) {
|
|
2390
2390
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2391
2391
|
}
|
|
2392
|
-
function
|
|
2393
|
-
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, i, n, u,
|
|
2394
|
-
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e +=
|
|
2392
|
+
function en() {
|
|
2393
|
+
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, i, n, u, h;
|
|
2394
|
+
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, i = x(a / 60), s.minutes = i % 60, n = x(i / 60), s.hours = n % 24, t += x(n / 24), h = x(kr(t)), r += h, t -= Wt(rt(h)), u = x(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
|
|
2395
2395
|
}
|
|
2396
|
-
function
|
|
2396
|
+
function kr(e) {
|
|
2397
2397
|
return e * 4800 / 146097;
|
|
2398
2398
|
}
|
|
2399
|
-
function
|
|
2399
|
+
function rt(e) {
|
|
2400
2400
|
return e * 146097 / 4800;
|
|
2401
2401
|
}
|
|
2402
|
-
function
|
|
2402
|
+
function tn(e) {
|
|
2403
2403
|
if (!this.isValid())
|
|
2404
2404
|
return NaN;
|
|
2405
2405
|
var t, r, s = this._milliseconds;
|
|
2406
2406
|
if (e = W(e), e === "month" || e === "quarter" || e === "year")
|
|
2407
|
-
switch (t = this._days + s / 864e5, r = this._months +
|
|
2407
|
+
switch (t = this._days + s / 864e5, r = this._months + kr(t), e) {
|
|
2408
2408
|
case "month":
|
|
2409
2409
|
return r;
|
|
2410
2410
|
case "quarter":
|
|
@@ -2413,7 +2413,7 @@ function sn(e) {
|
|
|
2413
2413
|
return r / 12;
|
|
2414
2414
|
}
|
|
2415
2415
|
else
|
|
2416
|
-
switch (t = this._days + Math.round(
|
|
2416
|
+
switch (t = this._days + Math.round(rt(this._months)), e) {
|
|
2417
2417
|
case "week":
|
|
2418
2418
|
return t / 7 + s / 6048e5;
|
|
2419
2419
|
case "day":
|
|
@@ -2435,11 +2435,11 @@ function B(e) {
|
|
|
2435
2435
|
return this.as(e);
|
|
2436
2436
|
};
|
|
2437
2437
|
}
|
|
2438
|
-
var
|
|
2439
|
-
function
|
|
2438
|
+
var Sr = B("ms"), rn = B("s"), sn = B("m"), an = B("h"), nn = B("d"), on = B("w"), ln = B("M"), un = B("Q"), dn = B("y"), fn = Sr;
|
|
2439
|
+
function hn() {
|
|
2440
2440
|
return L(this);
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function cn(e) {
|
|
2443
2443
|
return e = W(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2444
2444
|
}
|
|
2445
2445
|
function se(e) {
|
|
@@ -2447,8 +2447,8 @@ function se(e) {
|
|
|
2447
2447
|
return this.isValid() ? this._data[e] : NaN;
|
|
2448
2448
|
};
|
|
2449
2449
|
}
|
|
2450
|
-
var
|
|
2451
|
-
function
|
|
2450
|
+
var _n = se("milliseconds"), mn = se("seconds"), yn = se("minutes"), pn = se("hours"), wn = se("days"), gn = se("months"), Mn = se("years");
|
|
2451
|
+
function vn() {
|
|
2452
2452
|
return x(this.days() / 7);
|
|
2453
2453
|
}
|
|
2454
2454
|
var j = Math.round, ne = {
|
|
@@ -2467,112 +2467,112 @@ var j = Math.round, ne = {
|
|
|
2467
2467
|
M: 11
|
|
2468
2468
|
// months to year
|
|
2469
2469
|
};
|
|
2470
|
-
function
|
|
2470
|
+
function kn(e, t, r, s, a) {
|
|
2471
2471
|
return a.relativeTime(t || 1, !!r, e, s);
|
|
2472
2472
|
}
|
|
2473
|
-
function
|
|
2474
|
-
var a = L(e).abs(), i = j(a.as("s")), n = j(a.as("m")), u = j(a.as("h")),
|
|
2475
|
-
return r.w != null && (J = J || b <= 1 && ["w"] || b < r.w && ["ww", b]), J = J || m <= 1 && ["M"] || m < r.M && ["MM", m] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = s,
|
|
2473
|
+
function Sn(e, t, r, s) {
|
|
2474
|
+
var a = L(e).abs(), i = j(a.as("s")), n = j(a.as("m")), u = j(a.as("h")), h = j(a.as("d")), m = j(a.as("M")), b = j(a.as("w")), E = j(a.as("y")), J = i <= r.ss && ["s", i] || i < r.s && ["ss", i] || n <= 1 && ["m"] || n < r.m && ["mm", n] || u <= 1 && ["h"] || u < r.h && ["hh", u] || h <= 1 && ["d"] || h < r.d && ["dd", h];
|
|
2475
|
+
return r.w != null && (J = J || b <= 1 && ["w"] || b < r.w && ["ww", b]), J = J || m <= 1 && ["M"] || m < r.M && ["MM", m] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = s, kn.apply(null, J);
|
|
2476
2476
|
}
|
|
2477
|
-
function
|
|
2477
|
+
function Dn(e) {
|
|
2478
2478
|
return e === void 0 ? j : typeof e == "function" ? (j = e, !0) : !1;
|
|
2479
2479
|
}
|
|
2480
|
-
function
|
|
2480
|
+
function Yn(e, t) {
|
|
2481
2481
|
return ne[e] === void 0 ? !1 : t === void 0 ? ne[e] : (ne[e] = t, e === "s" && (ne.ss = t - 1), !0);
|
|
2482
2482
|
}
|
|
2483
|
-
function
|
|
2483
|
+
function bn(e, t) {
|
|
2484
2484
|
if (!this.isValid())
|
|
2485
2485
|
return this.localeData().invalidDate();
|
|
2486
2486
|
var r = !1, s = ne, a, i;
|
|
2487
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ne, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), i =
|
|
2487
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, ne, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), i = Sn(this, !r, s, a), r && (i = a.pastFuture(+this, i)), a.postformat(i);
|
|
2488
2488
|
}
|
|
2489
|
-
var
|
|
2489
|
+
var Ze = Math.abs;
|
|
2490
2490
|
function ae(e) {
|
|
2491
2491
|
return (e > 0) - (e < 0) || +e;
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function Ve() {
|
|
2494
2494
|
if (!this.isValid())
|
|
2495
2495
|
return this.localeData().invalidDate();
|
|
2496
|
-
var e =
|
|
2497
|
-
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, i = x(r / 12), r %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "",
|
|
2498
|
-
}
|
|
2499
|
-
var y =
|
|
2500
|
-
y.isValid =
|
|
2501
|
-
y.abs =
|
|
2502
|
-
y.add =
|
|
2503
|
-
y.subtract =
|
|
2504
|
-
y.as =
|
|
2505
|
-
y.asMilliseconds =
|
|
2506
|
-
y.asSeconds =
|
|
2507
|
-
y.asMinutes =
|
|
2508
|
-
y.asHours =
|
|
2509
|
-
y.asDays =
|
|
2510
|
-
y.asWeeks =
|
|
2511
|
-
y.asMonths =
|
|
2512
|
-
y.asQuarters =
|
|
2513
|
-
y.asYears =
|
|
2514
|
-
y.valueOf =
|
|
2515
|
-
y._bubble =
|
|
2516
|
-
y.clone =
|
|
2517
|
-
y.get =
|
|
2518
|
-
y.milliseconds =
|
|
2519
|
-
y.seconds =
|
|
2520
|
-
y.minutes =
|
|
2521
|
-
y.hours =
|
|
2522
|
-
y.days =
|
|
2523
|
-
y.weeks =
|
|
2524
|
-
y.months =
|
|
2525
|
-
y.years =
|
|
2526
|
-
y.humanize =
|
|
2527
|
-
y.toISOString =
|
|
2528
|
-
y.toString =
|
|
2529
|
-
y.toJSON =
|
|
2530
|
-
y.locale =
|
|
2531
|
-
y.localeData =
|
|
2496
|
+
var e = Ze(this._milliseconds) / 1e3, t = Ze(this._days), r = Ze(this._months), s, a, i, n, u = this.asSeconds(), h, m, b, E;
|
|
2497
|
+
return u ? (s = x(e / 60), a = x(s / 60), e %= 60, s %= 60, i = x(r / 12), r %= 12, n = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = u < 0 ? "-" : "", m = ae(this._months) !== ae(u) ? "-" : "", b = ae(this._days) !== ae(u) ? "-" : "", E = ae(this._milliseconds) !== ae(u) ? "-" : "", h + "P" + (i ? m + i + "Y" : "") + (r ? m + r + "M" : "") + (t ? b + t + "D" : "") + (a || s || e ? "T" : "") + (a ? E + a + "H" : "") + (s ? E + s + "M" : "") + (e ? E + n + "S" : "")) : "P0D";
|
|
2498
|
+
}
|
|
2499
|
+
var y = je.prototype;
|
|
2500
|
+
y.isValid = wa;
|
|
2501
|
+
y.abs = Qi;
|
|
2502
|
+
y.add = Ki;
|
|
2503
|
+
y.subtract = Xi;
|
|
2504
|
+
y.as = tn;
|
|
2505
|
+
y.asMilliseconds = Sr;
|
|
2506
|
+
y.asSeconds = rn;
|
|
2507
|
+
y.asMinutes = sn;
|
|
2508
|
+
y.asHours = an;
|
|
2509
|
+
y.asDays = nn;
|
|
2510
|
+
y.asWeeks = on;
|
|
2511
|
+
y.asMonths = ln;
|
|
2512
|
+
y.asQuarters = un;
|
|
2513
|
+
y.asYears = dn;
|
|
2514
|
+
y.valueOf = fn;
|
|
2515
|
+
y._bubble = en;
|
|
2516
|
+
y.clone = hn;
|
|
2517
|
+
y.get = cn;
|
|
2518
|
+
y.milliseconds = _n;
|
|
2519
|
+
y.seconds = mn;
|
|
2520
|
+
y.minutes = yn;
|
|
2521
|
+
y.hours = pn;
|
|
2522
|
+
y.days = wn;
|
|
2523
|
+
y.weeks = vn;
|
|
2524
|
+
y.months = gn;
|
|
2525
|
+
y.years = Mn;
|
|
2526
|
+
y.humanize = bn;
|
|
2527
|
+
y.toISOString = Ve;
|
|
2528
|
+
y.toString = Ve;
|
|
2529
|
+
y.toJSON = Ve;
|
|
2530
|
+
y.locale = dr;
|
|
2531
|
+
y.localeData = hr;
|
|
2532
2532
|
y.toIsoString = P(
|
|
2533
2533
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2534
|
-
|
|
2534
|
+
Ve
|
|
2535
2535
|
);
|
|
2536
2536
|
y.lang = fr;
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
d("x",
|
|
2540
|
-
d("X",
|
|
2541
|
-
|
|
2537
|
+
f("X", 0, 0, "unix");
|
|
2538
|
+
f("x", 0, 0, "valueOf");
|
|
2539
|
+
d("x", Ue);
|
|
2540
|
+
d("X", $r);
|
|
2541
|
+
g("X", function(e, t, r) {
|
|
2542
2542
|
r._d = new Date(parseFloat(e) * 1e3);
|
|
2543
2543
|
});
|
|
2544
|
-
|
|
2544
|
+
g("x", function(e, t, r) {
|
|
2545
2545
|
r._d = new Date(_(e));
|
|
2546
2546
|
});
|
|
2547
2547
|
//! moment.js
|
|
2548
2548
|
l.version = "2.30.1";
|
|
2549
|
-
|
|
2549
|
+
br(M);
|
|
2550
2550
|
l.fn = o;
|
|
2551
|
-
l.min =
|
|
2552
|
-
l.max =
|
|
2553
|
-
l.now =
|
|
2551
|
+
l.min = _a;
|
|
2552
|
+
l.max = ma;
|
|
2553
|
+
l.now = ya;
|
|
2554
2554
|
l.utc = U;
|
|
2555
|
-
l.unix =
|
|
2556
|
-
l.months =
|
|
2555
|
+
l.unix = Vi;
|
|
2556
|
+
l.months = $i;
|
|
2557
2557
|
l.isDate = Me;
|
|
2558
2558
|
l.locale = X;
|
|
2559
|
-
l.invalid =
|
|
2559
|
+
l.invalid = Fe;
|
|
2560
2560
|
l.duration = L;
|
|
2561
2561
|
l.isMoment = F;
|
|
2562
|
-
l.weekdays =
|
|
2563
|
-
l.parseZone =
|
|
2562
|
+
l.weekdays = Zi;
|
|
2563
|
+
l.parseZone = zi;
|
|
2564
2564
|
l.localeData = Z;
|
|
2565
|
-
l.isDuration =
|
|
2566
|
-
l.monthsShort =
|
|
2567
|
-
l.weekdaysMin =
|
|
2568
|
-
l.defineLocale =
|
|
2569
|
-
l.updateLocale =
|
|
2570
|
-
l.locales =
|
|
2571
|
-
l.weekdaysShort =
|
|
2565
|
+
l.isDuration = Oe;
|
|
2566
|
+
l.monthsShort = qi;
|
|
2567
|
+
l.weekdaysMin = Ji;
|
|
2568
|
+
l.defineLocale = yt;
|
|
2569
|
+
l.updateLocale = zs;
|
|
2570
|
+
l.locales = $s;
|
|
2571
|
+
l.weekdaysShort = Bi;
|
|
2572
2572
|
l.normalizeUnits = W;
|
|
2573
|
-
l.relativeTimeRounding =
|
|
2574
|
-
l.relativeTimeThreshold =
|
|
2575
|
-
l.calendarFormat =
|
|
2573
|
+
l.relativeTimeRounding = Dn;
|
|
2574
|
+
l.relativeTimeThreshold = Yn;
|
|
2575
|
+
l.calendarFormat = Aa;
|
|
2576
2576
|
l.prototype = o;
|
|
2577
2577
|
l.HTML5_FMT = {
|
|
2578
2578
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2594,7 +2594,7 @@ l.HTML5_FMT = {
|
|
|
2594
2594
|
MONTH: "YYYY-MM"
|
|
2595
2595
|
// <input type="month" />
|
|
2596
2596
|
};
|
|
2597
|
-
const
|
|
2597
|
+
const On = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Tn = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Rt = /(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Be = [
|
|
2598
2598
|
/^janv/i,
|
|
2599
2599
|
/^févr/i,
|
|
2600
2600
|
/^mars/i,
|
|
@@ -2607,18 +2607,18 @@ const xn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2607
2607
|
/^oct/i,
|
|
2608
2608
|
/^nov/i,
|
|
2609
2609
|
/^déc/i
|
|
2610
|
-
],
|
|
2610
|
+
], xn = {
|
|
2611
2611
|
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2612
2612
|
"_"
|
|
2613
2613
|
),
|
|
2614
2614
|
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2615
|
-
monthsRegex:
|
|
2616
|
-
monthsShortRegex:
|
|
2617
|
-
monthsStrictRegex:
|
|
2618
|
-
monthsShortStrictRegex:
|
|
2619
|
-
monthsParse:
|
|
2620
|
-
longMonthsParse:
|
|
2621
|
-
shortMonthsParse:
|
|
2615
|
+
monthsRegex: Rt,
|
|
2616
|
+
monthsShortRegex: Rt,
|
|
2617
|
+
monthsStrictRegex: On,
|
|
2618
|
+
monthsShortStrictRegex: Tn,
|
|
2619
|
+
monthsParse: Be,
|
|
2620
|
+
longMonthsParse: Be,
|
|
2621
|
+
shortMonthsParse: Be,
|
|
2622
2622
|
weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
|
2623
2623
|
weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
|
|
2624
2624
|
weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
|
|
@@ -2677,7 +2677,7 @@ const xn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2677
2677
|
dow: 1,
|
|
2678
2678
|
doy: 4
|
|
2679
2679
|
}
|
|
2680
|
-
},
|
|
2680
|
+
}, Pn = " ", Wn = " ", Jn = (e, t = "") => e.split(t).join(Pn), Qn = (e, t = "") => e.split(t).join(Wn), Kn = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Rn = (e) => e && e[0].toUpperCase() + e.slice(1), Dr = (e) => e.split(" ").map(Rn).join(" "), Xn = (e) => /^\d+$/.test(e), eo = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, to = (e) => e.trim().replace(/\s+/gi, " "), ro = (e) => {
|
|
2681
2681
|
const t = e.split(" "), s = ((a) => {
|
|
2682
2682
|
let i = 1 / 0;
|
|
2683
2683
|
for (let n = 0; n < a.length; n++) {
|
|
@@ -2694,11 +2694,11 @@ const xn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2694
2694
|
return t.length === 1 ? [t[0]] : [t.slice(0, s + 1), t.slice(s + 1)].map(
|
|
2695
2695
|
(a) => a.join(" ")
|
|
2696
2696
|
);
|
|
2697
|
-
};
|
|
2698
|
-
l.locale("fr",
|
|
2699
|
-
const
|
|
2697
|
+
}, so = (e) => typeof e == "string";
|
|
2698
|
+
l.locale("fr", xn);
|
|
2699
|
+
const ao = (e) => new Date(e).toString() !== "Invalid Date", io = (e, t) => Math.abs(
|
|
2700
2700
|
Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
|
|
2701
|
-
),
|
|
2701
|
+
), no = (e) => Dr(l(e).format("DD MMMM YYYY")), oo = (e) => Dr(l(e).format("dddd DD MMMM YYYY")), lo = (e, t, r = !0) => (r ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), uo = () => l().locale("fr").subtract(1, "days").toDate(), fo = (e) => {
|
|
2702
2702
|
const t = [], r = l.duration(e);
|
|
2703
2703
|
if (!(!r || r.toISOString() === "P0D")) {
|
|
2704
2704
|
if (r.years() >= 1) {
|
|
@@ -2727,8 +2727,8 @@ const to = (e) => new Date(e).toString() !== "Invalid Date", ro = (e, t) => Math
|
|
|
2727
2727
|
}
|
|
2728
2728
|
return t.join(", ");
|
|
2729
2729
|
}
|
|
2730
|
-
},
|
|
2731
|
-
const t =
|
|
2730
|
+
}, Yt = /^([1-9][0-9]?)([hmd])$/i, ho = (e) => !!e && Yt.test(e), co = (e) => {
|
|
2731
|
+
const t = Yt.exec(e);
|
|
2732
2732
|
if (!t)
|
|
2733
2733
|
return null;
|
|
2734
2734
|
const [, r, s] = t, a = parseInt(r, 10), i = 1e3 * 60;
|
|
@@ -2738,8 +2738,8 @@ const to = (e) => new Date(e).toString() !== "Invalid Date", ro = (e, t) => Math
|
|
|
2738
2738
|
return i * 60 * a;
|
|
2739
2739
|
if (s === "d")
|
|
2740
2740
|
return i * 60 * 24 * a;
|
|
2741
|
-
},
|
|
2742
|
-
const t =
|
|
2741
|
+
}, _o = (e) => {
|
|
2742
|
+
const t = Yt.exec(e);
|
|
2743
2743
|
if (!t)
|
|
2744
2744
|
return null;
|
|
2745
2745
|
const [, r, s] = t, a = parseInt(r, 10);
|
|
@@ -2749,7 +2749,7 @@ const to = (e) => new Date(e).toString() !== "Invalid Date", ro = (e, t) => Math
|
|
|
2749
2749
|
return `${a} heure${a > 1 ? "s" : ""}`;
|
|
2750
2750
|
if (s === "d")
|
|
2751
2751
|
return `${a} jour${a > 1 ? "s" : ""}`;
|
|
2752
|
-
},
|
|
2752
|
+
}, mo = {
|
|
2753
2753
|
d1: "<:d1:1159542168738873455>",
|
|
2754
2754
|
d2: "<:d2:1159542071049334814>",
|
|
2755
2755
|
d3: "<:d3:1159542073914032191>",
|
|
@@ -2762,7 +2762,7 @@ const to = (e) => new Date(e).toString() !== "Invalid Date", ro = (e, t) => Math
|
|
|
2762
2762
|
berry: "<:berry:1153734056035504158>",
|
|
2763
2763
|
xp: "<:xp:1084914564379975772>",
|
|
2764
2764
|
success: "<:success:1186707379534954506>",
|
|
2765
|
-
hp: "<:hp:
|
|
2765
|
+
hp: "<:hp:1257776163955277824>",
|
|
2766
2766
|
paper: "📄",
|
|
2767
2767
|
rock: "🪨",
|
|
2768
2768
|
scissor: "✂️",
|
|
@@ -2953,15 +2953,7 @@ const to = (e) => new Date(e).toString() !== "Invalid Date", ro = (e, t) => Math
|
|
|
2953
2953
|
equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
|
|
2954
2954
|
equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
|
|
2955
2955
|
equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>"
|
|
2956
|
-
},
|
|
2957
|
-
const e = process.memoryUsage(), t = {
|
|
2958
|
-
rss: `${be(e.rss)} -> Resident Set Size - total memory allocated for the process execution`,
|
|
2959
|
-
heapTotal: `${be(e.heapTotal)} -> total size of the allocated heap`,
|
|
2960
|
-
heapUsed: `${be(e.heapUsed)} -> actual memory used during the execution`,
|
|
2961
|
-
external: `${be(e.external)} -> V8 external memory`
|
|
2962
|
-
};
|
|
2963
|
-
console.log(t);
|
|
2964
|
-
}, _o = (e) => typeof e == "function", mo = (e, t, r) => {
|
|
2956
|
+
}, yo = (e) => typeof e == "function", po = (e, t, r) => {
|
|
2965
2957
|
const s = {}, a = Object.entries(e);
|
|
2966
2958
|
for (const [i, n] of a) {
|
|
2967
2959
|
const u = t[i];
|
|
@@ -2970,45 +2962,47 @@ const to = (e) => new Date(e).toString() !== "Invalid Date", ro = (e, t) => Math
|
|
|
2970
2962
|
return s;
|
|
2971
2963
|
};
|
|
2972
2964
|
export {
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2965
|
+
Pn as TIGHT_SPACE,
|
|
2966
|
+
Wn as WIDE_SPACE,
|
|
2967
|
+
ro as breakWords,
|
|
2968
|
+
Rn as capitalize,
|
|
2969
|
+
Dr as capitalizeAllWords,
|
|
2970
|
+
Ln as clamp,
|
|
2971
|
+
io as dateDiff,
|
|
2972
|
+
co as durationToMs,
|
|
2973
|
+
Kn as ellipsis,
|
|
2974
|
+
mo as emojis,
|
|
2975
|
+
An as exclude,
|
|
2976
|
+
Jn as fillWithTightSpaces,
|
|
2977
|
+
Qn as fillWithWideSpaces,
|
|
2985
2978
|
Vn as filterNullAndUndefined,
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
$n as
|
|
2993
|
-
zn as
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
2979
|
+
no as formatDate,
|
|
2980
|
+
oo as formatDateWithDay,
|
|
2981
|
+
_o as formatDuration,
|
|
2982
|
+
Nn as formatNumber,
|
|
2983
|
+
Un as groupBy,
|
|
2984
|
+
qn as includeArrayIf,
|
|
2985
|
+
$n as includeBeginIf,
|
|
2986
|
+
zn as includeIf,
|
|
2987
|
+
Bn as isDefined,
|
|
2988
|
+
ho as isDuration,
|
|
2989
|
+
yo as isFunction,
|
|
2990
|
+
Cn as isNumber,
|
|
2991
|
+
Xn as isPositiveInteger,
|
|
2992
|
+
so as isString,
|
|
2993
|
+
ao as isValidDate,
|
|
2994
|
+
po as mergeObjects,
|
|
2995
|
+
En as mutuallyInclusive,
|
|
2996
|
+
eo as numberToOrdinal,
|
|
2997
|
+
In as paginate,
|
|
2998
|
+
Zn as pickFrom,
|
|
2999
|
+
fo as precise,
|
|
3000
|
+
Yr as randomBetween,
|
|
3001
|
+
lo as sameDay,
|
|
3002
|
+
Fn as seededRandom,
|
|
3003
|
+
Gn as shuffle,
|
|
3004
|
+
Hn as sortBy,
|
|
3005
|
+
to as trim,
|
|
3006
|
+
jn as unique,
|
|
3007
|
+
uo as yesterday
|
|
3014
3008
|
};
|