@opfr/utils-type 0.11.1 → 0.12.2
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/index.es.js +408 -378
- package/dist/index.umd.js +4 -4
- package/dist/ranks/constants.d.ts.map +1 -1
- package/dist/ranks/constants.js +37 -6
- package/dist/ranks/constants.js.map +1 -1
- package/dist/ranks/types.d.ts +1 -0
- package/dist/ranks/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,42 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
var
|
|
1
|
+
import { t as V } from "i18next";
|
|
2
|
+
var T = /* @__PURE__ */ ((e) => (e.BASIC = "BASIC", e.COMMON = "COMMON", e.RARE = "RARE", e.EPIC = "EPIC", e.LEGENDARY = "LEGENDARY", e.MYTHIC = "MYTHIC", e))(T || {});
|
|
3
3
|
const La = {
|
|
4
|
-
BASIC: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
BASIC: {
|
|
5
|
+
color: "#fff",
|
|
6
|
+
strength: 0,
|
|
7
|
+
id: T.BASIC,
|
|
8
|
+
name: (e, t = 1) => V(`ranks.${T.BASIC}.text`, { count: t, context: e })
|
|
9
|
+
},
|
|
10
|
+
COMMON: {
|
|
11
|
+
color: "#813D31",
|
|
12
|
+
strength: 1,
|
|
13
|
+
id: T.COMMON,
|
|
14
|
+
name: (e, t = 1) => V(`ranks.${T.COMMON}.text`, { count: t, context: e })
|
|
15
|
+
},
|
|
16
|
+
RARE: {
|
|
17
|
+
color: "#5B6870",
|
|
18
|
+
strength: 2,
|
|
19
|
+
id: T.RARE,
|
|
20
|
+
name: (e, t = 1) => V(`ranks.${T.RARE}.text`, { count: t, context: e })
|
|
21
|
+
},
|
|
22
|
+
EPIC: {
|
|
23
|
+
color: "#C46619",
|
|
24
|
+
strength: 3,
|
|
25
|
+
id: T.EPIC,
|
|
26
|
+
name: (e, t = 1) => V(`ranks.${T.EPIC}.text`, { count: t, context: e })
|
|
27
|
+
},
|
|
28
|
+
LEGENDARY: {
|
|
29
|
+
color: "#88A3CB",
|
|
30
|
+
strength: 4,
|
|
31
|
+
id: T.LEGENDARY,
|
|
32
|
+
name: (e, t = 1) => V(`ranks.${T.LEGENDARY}.text`, { count: t, context: e })
|
|
33
|
+
},
|
|
34
|
+
MYTHIC: {
|
|
35
|
+
color: "#F6bF62",
|
|
36
|
+
strength: 5,
|
|
37
|
+
id: T.MYTHIC,
|
|
38
|
+
name: (e, t = 1) => V(`ranks.${T.MYTHIC}.text`, { count: t, context: e })
|
|
39
|
+
}
|
|
10
40
|
}, Ha = [
|
|
11
41
|
"vitality",
|
|
12
42
|
"strength",
|
|
@@ -162,7 +192,7 @@ const La = {
|
|
|
162
192
|
equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
|
|
163
193
|
equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
|
|
164
194
|
equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>"
|
|
165
|
-
},
|
|
195
|
+
}, $e = (e) => new Intl.NumberFormat("de-DE").format(e);
|
|
166
196
|
//! moment.js
|
|
167
197
|
//! version : 2.30.1
|
|
168
198
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
@@ -175,10 +205,10 @@ function u() {
|
|
|
175
205
|
function Nn(e) {
|
|
176
206
|
Lt = e;
|
|
177
207
|
}
|
|
178
|
-
function
|
|
208
|
+
function W(e) {
|
|
179
209
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
180
210
|
}
|
|
181
|
-
function
|
|
211
|
+
function se(e) {
|
|
182
212
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
183
213
|
}
|
|
184
214
|
function g(e, t) {
|
|
@@ -196,10 +226,10 @@ function ot(e) {
|
|
|
196
226
|
function b(e) {
|
|
197
227
|
return e === void 0;
|
|
198
228
|
}
|
|
199
|
-
function
|
|
229
|
+
function B(e) {
|
|
200
230
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
201
231
|
}
|
|
202
|
-
function
|
|
232
|
+
function ke(e) {
|
|
203
233
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
204
234
|
}
|
|
205
235
|
function Ht(e, t) {
|
|
@@ -208,12 +238,12 @@ function Ht(e, t) {
|
|
|
208
238
|
n.push(t(e[r], r));
|
|
209
239
|
return n;
|
|
210
240
|
}
|
|
211
|
-
function
|
|
241
|
+
function K(e, t) {
|
|
212
242
|
for (var n in t)
|
|
213
243
|
g(t, n) && (e[n] = t[n]);
|
|
214
244
|
return g(t, "toString") && (e.toString = t.toString), g(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
215
245
|
}
|
|
216
|
-
function
|
|
246
|
+
function F(e, t, n, r) {
|
|
217
247
|
return on(e, t, n, r, !0).utc();
|
|
218
248
|
}
|
|
219
249
|
function Cn() {
|
|
@@ -257,11 +287,11 @@ function ut(e) {
|
|
|
257
287
|
return r;
|
|
258
288
|
return e._isValid;
|
|
259
289
|
}
|
|
260
|
-
function
|
|
261
|
-
var t =
|
|
262
|
-
return e != null ?
|
|
290
|
+
function Le(e) {
|
|
291
|
+
var t = F(NaN);
|
|
292
|
+
return e != null ? K(f(t), e) : f(t).userInvalidated = !0, t;
|
|
263
293
|
}
|
|
264
|
-
var xt = u.momentProperties = [],
|
|
294
|
+
var xt = u.momentProperties = [], Be = !1;
|
|
265
295
|
function lt(e, t) {
|
|
266
296
|
var n, r, s, i = xt.length;
|
|
267
297
|
if (b(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), b(t._i) || (e._i = t._i), b(t._f) || (e._f = t._f), b(t._l) || (e._l = t._l), b(t._strict) || (e._strict = t._strict), b(t._tzm) || (e._tzm = t._tzm), b(t._isUTC) || (e._isUTC = t._isUTC), b(t._offset) || (e._offset = t._offset), b(t._pf) || (e._pf = f(t)), b(t._locale) || (e._locale = t._locale), i > 0)
|
|
@@ -269,18 +299,18 @@ function lt(e, t) {
|
|
|
269
299
|
r = xt[n], s = t[r], b(s) || (e[r] = s);
|
|
270
300
|
return e;
|
|
271
301
|
}
|
|
272
|
-
function
|
|
273
|
-
lt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)),
|
|
302
|
+
function Ye(e) {
|
|
303
|
+
lt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Be === !1 && (Be = !0, u.updateOffset(this), Be = !1);
|
|
274
304
|
}
|
|
275
|
-
function
|
|
276
|
-
return e instanceof
|
|
305
|
+
function E(e) {
|
|
306
|
+
return e instanceof Ye || e != null && e._isAMomentObject != null;
|
|
277
307
|
}
|
|
278
308
|
function At(e) {
|
|
279
309
|
u.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
280
310
|
}
|
|
281
|
-
function
|
|
311
|
+
function C(e, t) {
|
|
282
312
|
var n = !0;
|
|
283
|
-
return
|
|
313
|
+
return K(function() {
|
|
284
314
|
if (u.deprecationHandler != null && u.deprecationHandler(null, e), n) {
|
|
285
315
|
var r = [], s, i, a, l = arguments.length;
|
|
286
316
|
for (i = 0; i < l; i++) {
|
|
@@ -309,23 +339,23 @@ function Ft(e, t) {
|
|
|
309
339
|
}
|
|
310
340
|
u.suppressDeprecationWarnings = !1;
|
|
311
341
|
u.deprecationHandler = null;
|
|
312
|
-
function
|
|
342
|
+
function U(e) {
|
|
313
343
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
314
344
|
}
|
|
315
345
|
function Rn(e) {
|
|
316
346
|
var t, n;
|
|
317
347
|
for (n in e)
|
|
318
|
-
g(e, n) && (t = e[n],
|
|
348
|
+
g(e, n) && (t = e[n], U(t) ? this[n] = t : this["_" + n] = t);
|
|
319
349
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
320
350
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
321
351
|
);
|
|
322
352
|
}
|
|
323
353
|
function tt(e, t) {
|
|
324
|
-
var n =
|
|
354
|
+
var n = K({}, e), r;
|
|
325
355
|
for (r in t)
|
|
326
|
-
g(t, r) && (
|
|
356
|
+
g(t, r) && (se(e[r]) && se(t[r]) ? (n[r] = {}, K(n[r], e[r]), K(n[r], t[r])) : t[r] != null ? n[r] = t[r] : delete n[r]);
|
|
327
357
|
for (r in e)
|
|
328
|
-
g(e, r) && !g(t, r) &&
|
|
358
|
+
g(e, r) && !g(t, r) && se(e[r]) && (n[r] = K({}, n[r]));
|
|
329
359
|
return n;
|
|
330
360
|
}
|
|
331
361
|
function dt(e) {
|
|
@@ -348,20 +378,20 @@ var Pn = {
|
|
|
348
378
|
};
|
|
349
379
|
function Wn(e, t, n) {
|
|
350
380
|
var r = this._calendar[e] || this._calendar.sameElse;
|
|
351
|
-
return
|
|
381
|
+
return U(r) ? r.call(t, n) : r;
|
|
352
382
|
}
|
|
353
|
-
function
|
|
383
|
+
function A(e, t, n) {
|
|
354
384
|
var r = "" + Math.abs(e), s = t - r.length, i = e >= 0;
|
|
355
385
|
return (i ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, s)).toString().substr(1) + r;
|
|
356
386
|
}
|
|
357
|
-
var ht = /(\[[^\[]*\])|(\\)?([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,
|
|
387
|
+
var ht = /(\[[^\[]*\])|(\\)?([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, Oe = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Je = {}, le = {};
|
|
358
388
|
function h(e, t, n, r) {
|
|
359
389
|
var s = r;
|
|
360
390
|
typeof r == "string" && (s = function() {
|
|
361
391
|
return this[r]();
|
|
362
|
-
}), e && (
|
|
363
|
-
return
|
|
364
|
-
}), n && (
|
|
392
|
+
}), e && (le[e] = s), t && (le[t[0]] = function() {
|
|
393
|
+
return A(s.apply(this, arguments), t[1], t[2]);
|
|
394
|
+
}), n && (le[n] = function() {
|
|
365
395
|
return this.localeData().ordinal(
|
|
366
396
|
s.apply(this, arguments),
|
|
367
397
|
e
|
|
@@ -374,15 +404,15 @@ function En(e) {
|
|
|
374
404
|
function Ln(e) {
|
|
375
405
|
var t = e.match(ht), n, r;
|
|
376
406
|
for (n = 0, r = t.length; n < r; n++)
|
|
377
|
-
|
|
407
|
+
le[t[n]] ? t[n] = le[t[n]] : t[n] = En(t[n]);
|
|
378
408
|
return function(s) {
|
|
379
409
|
var i = "", a;
|
|
380
410
|
for (a = 0; a < r; a++)
|
|
381
|
-
i +=
|
|
411
|
+
i += U(t[a]) ? t[a].call(s, e) : t[a];
|
|
382
412
|
return i;
|
|
383
413
|
};
|
|
384
414
|
}
|
|
385
|
-
function
|
|
415
|
+
function Te(e, t) {
|
|
386
416
|
return e.isValid() ? (t = Ut(t, e.localeData()), Je[t] = Je[t] || Ln(t), Je[t](e)) : e.localeData().invalidDate();
|
|
387
417
|
}
|
|
388
418
|
function Ut(e, t) {
|
|
@@ -390,11 +420,11 @@ function Ut(e, t) {
|
|
|
390
420
|
function r(s) {
|
|
391
421
|
return t.longDateFormat(s) || s;
|
|
392
422
|
}
|
|
393
|
-
for (
|
|
423
|
+
for (Oe.lastIndex = 0; n >= 0 && Oe.test(e); )
|
|
394
424
|
e = e.replace(
|
|
395
|
-
|
|
425
|
+
Oe,
|
|
396
426
|
r
|
|
397
|
-
),
|
|
427
|
+
), Oe.lastIndex = 0, n -= 1;
|
|
398
428
|
return e;
|
|
399
429
|
}
|
|
400
430
|
var Hn = {
|
|
@@ -439,11 +469,11 @@ var Vn = {
|
|
|
439
469
|
};
|
|
440
470
|
function qn(e, t, n, r) {
|
|
441
471
|
var s = this._relativeTime[n];
|
|
442
|
-
return
|
|
472
|
+
return U(s) ? s(e, t, n, r) : s.replace(/%d/i, e);
|
|
443
473
|
}
|
|
444
474
|
function zn(e, t) {
|
|
445
475
|
var n = this._relativeTime[e > 0 ? "future" : "past"];
|
|
446
|
-
return
|
|
476
|
+
return U(n) ? n(t) : n.replace(/%s/i, t);
|
|
447
477
|
}
|
|
448
478
|
var Ct = {
|
|
449
479
|
D: "date",
|
|
@@ -495,13 +525,13 @@ var Ct = {
|
|
|
495
525
|
years: "year",
|
|
496
526
|
year: "year"
|
|
497
527
|
};
|
|
498
|
-
function
|
|
528
|
+
function R(e) {
|
|
499
529
|
return typeof e == "string" ? Ct[e] || Ct[e.toLowerCase()] : void 0;
|
|
500
530
|
}
|
|
501
531
|
function ct(e) {
|
|
502
532
|
var t = {}, n, r;
|
|
503
533
|
for (r in e)
|
|
504
|
-
g(e, r) && (n =
|
|
534
|
+
g(e, r) && (n = R(r), n && (t[n] = e[r]));
|
|
505
535
|
return t;
|
|
506
536
|
}
|
|
507
537
|
var Zn = {
|
|
@@ -522,7 +552,7 @@ var Zn = {
|
|
|
522
552
|
isoWeek: 5,
|
|
523
553
|
year: 1
|
|
524
554
|
};
|
|
525
|
-
function
|
|
555
|
+
function $n(e) {
|
|
526
556
|
var t = [], n;
|
|
527
557
|
for (n in e)
|
|
528
558
|
g(e, n) && t.push({ unit: n, priority: Zn[n] });
|
|
@@ -530,18 +560,18 @@ function Bn(e) {
|
|
|
530
560
|
return r.priority - s.priority;
|
|
531
561
|
}), t;
|
|
532
562
|
}
|
|
533
|
-
var It = /\d/,
|
|
534
|
-
|
|
563
|
+
var It = /\d/, x = /\d\d/, jt = /\d{3}/, ft = /\d{4}/, He = /[+-]?\d{6}/, M = /\d\d?/, Gt = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ae = /\d{1,3}/, mt = /\d{1,4}/, Fe = /[+-]?\d{1,6}/, ce = /\d+/, Ue = /[+-]?\d+/, Bn = /Z|[+-]\d\d:?\d\d/gi, Ie = /Z|[+-]\d\d(?::?\d\d)?/gi, Jn = /[+-]?\d+(\.\d{1,3})?/, De = /[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?/, _t = /^([1-9]\d|\d)/, Ce;
|
|
564
|
+
Ce = {};
|
|
535
565
|
function d(e, t, n) {
|
|
536
|
-
|
|
566
|
+
Ce[e] = U(t) ? t : function(r, s) {
|
|
537
567
|
return r && n ? n : t;
|
|
538
568
|
};
|
|
539
569
|
}
|
|
540
570
|
function Qn(e, t) {
|
|
541
|
-
return g(
|
|
571
|
+
return g(Ce, e) ? Ce[e](t._strict, t._locale) : new RegExp(Xn(e));
|
|
542
572
|
}
|
|
543
573
|
function Xn(e) {
|
|
544
|
-
return
|
|
574
|
+
return Z(
|
|
545
575
|
e.replace("\\", "").replace(
|
|
546
576
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
547
577
|
function(t, n, r, s, i) {
|
|
@@ -550,25 +580,25 @@ function Xn(e) {
|
|
|
550
580
|
)
|
|
551
581
|
);
|
|
552
582
|
}
|
|
553
|
-
function
|
|
583
|
+
function Z(e) {
|
|
554
584
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
555
585
|
}
|
|
556
|
-
function
|
|
586
|
+
function N(e) {
|
|
557
587
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
558
588
|
}
|
|
559
589
|
function m(e) {
|
|
560
590
|
var t = +e, n = 0;
|
|
561
|
-
return t !== 0 && isFinite(t) && (n =
|
|
591
|
+
return t !== 0 && isFinite(t) && (n = N(t)), n;
|
|
562
592
|
}
|
|
563
593
|
var rt = {};
|
|
564
594
|
function p(e, t) {
|
|
565
595
|
var n, r = t, s;
|
|
566
|
-
for (typeof e == "string" && (e = [e]),
|
|
596
|
+
for (typeof e == "string" && (e = [e]), B(t) && (r = function(i, a) {
|
|
567
597
|
a[t] = m(i);
|
|
568
598
|
}), s = e.length, n = 0; n < s; n++)
|
|
569
599
|
rt[e[n]] = r;
|
|
570
600
|
}
|
|
571
|
-
function
|
|
601
|
+
function Se(e, t) {
|
|
572
602
|
p(e, function(n, r, s, i) {
|
|
573
603
|
s._w = s._w || {}, t(n, s._w, s, i);
|
|
574
604
|
});
|
|
@@ -576,13 +606,13 @@ function De(e, t) {
|
|
|
576
606
|
function Kn(e, t, n) {
|
|
577
607
|
t != null && g(rt, e) && rt[e](t, n._a, n, e);
|
|
578
608
|
}
|
|
579
|
-
function
|
|
609
|
+
function je(e) {
|
|
580
610
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
581
611
|
}
|
|
582
|
-
var S = 0,
|
|
612
|
+
var S = 0, q = 1, H = 2, D = 3, P = 4, z = 5, re = 6, er = 7, tr = 8;
|
|
583
613
|
h("Y", 0, 0, function() {
|
|
584
614
|
var e = this.year();
|
|
585
|
-
return e <= 9999 ?
|
|
615
|
+
return e <= 9999 ? A(e, 4) : "+" + e;
|
|
586
616
|
});
|
|
587
617
|
h(0, ["YY", 2], 0, function() {
|
|
588
618
|
return this.year() % 100;
|
|
@@ -590,11 +620,11 @@ h(0, ["YY", 2], 0, function() {
|
|
|
590
620
|
h(0, ["YYYY", 4], 0, "year");
|
|
591
621
|
h(0, ["YYYYY", 5], 0, "year");
|
|
592
622
|
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
593
|
-
d("Y",
|
|
594
|
-
d("YY", M,
|
|
623
|
+
d("Y", Ue);
|
|
624
|
+
d("YY", M, x);
|
|
595
625
|
d("YYYY", mt, ft);
|
|
596
|
-
d("YYYYY",
|
|
597
|
-
d("YYYYYY",
|
|
626
|
+
d("YYYYY", Fe, He);
|
|
627
|
+
d("YYYYYY", Fe, He);
|
|
598
628
|
p(["YYYYY", "YYYYYY"], S);
|
|
599
629
|
p("YYYY", function(e, t) {
|
|
600
630
|
t[S] = e.length === 2 ? u.parseTwoDigitYear(e) : m(e);
|
|
@@ -605,22 +635,22 @@ p("YY", function(e, t) {
|
|
|
605
635
|
p("Y", function(e, t) {
|
|
606
636
|
t[S] = parseInt(e, 10);
|
|
607
637
|
});
|
|
608
|
-
function
|
|
609
|
-
return
|
|
638
|
+
function ge(e) {
|
|
639
|
+
return je(e) ? 366 : 365;
|
|
610
640
|
}
|
|
611
641
|
u.parseTwoDigitYear = function(e) {
|
|
612
642
|
return m(e) + (m(e) > 68 ? 1900 : 2e3);
|
|
613
643
|
};
|
|
614
|
-
var qt =
|
|
644
|
+
var qt = me("FullYear", !0);
|
|
615
645
|
function nr() {
|
|
616
|
-
return
|
|
646
|
+
return je(this.year());
|
|
617
647
|
}
|
|
618
|
-
function
|
|
648
|
+
function me(e, t) {
|
|
619
649
|
return function(n) {
|
|
620
|
-
return n != null ? (zt(this, e, n), u.updateOffset(this, t), this) :
|
|
650
|
+
return n != null ? (zt(this, e, n), u.updateOffset(this, t), this) : ve(this, e);
|
|
621
651
|
};
|
|
622
652
|
}
|
|
623
|
-
function
|
|
653
|
+
function ve(e, t) {
|
|
624
654
|
if (!e.isValid())
|
|
625
655
|
return NaN;
|
|
626
656
|
var n = e._d, r = e._isUTC;
|
|
@@ -664,19 +694,19 @@ function zt(e, t, n) {
|
|
|
664
694
|
default:
|
|
665
695
|
return;
|
|
666
696
|
}
|
|
667
|
-
i = n, a = e.month(), l = e.date(), l = l === 29 && a === 1 && !
|
|
697
|
+
i = n, a = e.month(), l = e.date(), l = l === 29 && a === 1 && !je(i) ? 28 : l, s ? r.setUTCFullYear(i, a, l) : r.setFullYear(i, a, l);
|
|
668
698
|
}
|
|
669
699
|
}
|
|
670
700
|
function rr(e) {
|
|
671
|
-
return e =
|
|
701
|
+
return e = R(e), U(this[e]) ? this[e]() : this;
|
|
672
702
|
}
|
|
673
703
|
function sr(e, t) {
|
|
674
704
|
if (typeof e == "object") {
|
|
675
705
|
e = ct(e);
|
|
676
|
-
var n =
|
|
706
|
+
var n = $n(e), r, s = n.length;
|
|
677
707
|
for (r = 0; r < s; r++)
|
|
678
708
|
this[n[r].unit](e[n[r].unit]);
|
|
679
|
-
} else if (e =
|
|
709
|
+
} else if (e = R(e), U(this[e]))
|
|
680
710
|
return this[e](t);
|
|
681
711
|
return this;
|
|
682
712
|
}
|
|
@@ -695,7 +725,7 @@ function yt(e, t) {
|
|
|
695
725
|
if (isNaN(e) || isNaN(t))
|
|
696
726
|
return NaN;
|
|
697
727
|
var n = ir(t, 12);
|
|
698
|
-
return e += (t - n) / 12, n === 1 ?
|
|
728
|
+
return e += (t - n) / 12, n === 1 ? je(e) ? 29 : 28 : 31 - n % 7 % 2;
|
|
699
729
|
}
|
|
700
730
|
h("M", ["MM", 2], "Mo", function() {
|
|
701
731
|
return this.month() + 1;
|
|
@@ -706,8 +736,8 @@ h("MMM", 0, 0, function(e) {
|
|
|
706
736
|
h("MMMM", 0, 0, function(e) {
|
|
707
737
|
return this.localeData().months(this, e);
|
|
708
738
|
});
|
|
709
|
-
d("M", M,
|
|
710
|
-
d("MM", M,
|
|
739
|
+
d("M", M, fe);
|
|
740
|
+
d("MM", M, x);
|
|
711
741
|
d("MMM", function(e, t) {
|
|
712
742
|
return t.monthsShortRegex(e);
|
|
713
743
|
});
|
|
@@ -715,26 +745,26 @@ d("MMMM", function(e, t) {
|
|
|
715
745
|
return t.monthsRegex(e);
|
|
716
746
|
});
|
|
717
747
|
p(["M", "MM"], function(e, t) {
|
|
718
|
-
t[
|
|
748
|
+
t[q] = m(e) - 1;
|
|
719
749
|
});
|
|
720
750
|
p(["MMM", "MMMM"], function(e, t, n, r) {
|
|
721
751
|
var s = n._locale.monthsParse(e, r, n._strict);
|
|
722
|
-
s != null ? t[
|
|
752
|
+
s != null ? t[q] = s : f(n).invalidMonth = e;
|
|
723
753
|
});
|
|
724
754
|
var ar = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
725
755
|
"_"
|
|
726
|
-
), Zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
|
756
|
+
), Zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), $t = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, or = De, ur = De;
|
|
727
757
|
function lr(e, t) {
|
|
728
|
-
return e ?
|
|
758
|
+
return e ? W(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || $t).test(t) ? "format" : "standalone"][e.month()] : W(this._months) ? this._months : this._months.standalone;
|
|
729
759
|
}
|
|
730
760
|
function dr(e, t) {
|
|
731
|
-
return e ?
|
|
761
|
+
return e ? W(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[$t.test(t) ? "format" : "standalone"][e.month()] : W(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
732
762
|
}
|
|
733
763
|
function hr(e, t, n) {
|
|
734
764
|
var r, s, i, a = e.toLocaleLowerCase();
|
|
735
765
|
if (!this._monthsParse)
|
|
736
766
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
737
|
-
i =
|
|
767
|
+
i = F([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
|
|
738
768
|
i,
|
|
739
769
|
""
|
|
740
770
|
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(i, "").toLocaleLowerCase();
|
|
@@ -745,7 +775,7 @@ function cr(e, t, n) {
|
|
|
745
775
|
if (this._monthsParseExact)
|
|
746
776
|
return hr.call(this, e, t, n);
|
|
747
777
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++)
|
|
748
|
-
if (s =
|
|
778
|
+
if (s = F([2e3, r]), n && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
749
779
|
"^" + this.months(s, "").replace(".", "") + "$",
|
|
750
780
|
"i"
|
|
751
781
|
), this._shortMonthsParse[r] = new RegExp(
|
|
@@ -754,20 +784,20 @@ function cr(e, t, n) {
|
|
|
754
784
|
)), !n && !this._monthsParse[r] && (i = "^" + this.months(s, "") + "|^" + this.monthsShort(s, ""), this._monthsParse[r] = new RegExp(i.replace(".", ""), "i")), n && t === "MMMM" && this._longMonthsParse[r].test(e) || n && t === "MMM" && this._shortMonthsParse[r].test(e) || !n && this._monthsParse[r].test(e))
|
|
755
785
|
return r;
|
|
756
786
|
}
|
|
757
|
-
function
|
|
787
|
+
function Bt(e, t) {
|
|
758
788
|
if (!e.isValid())
|
|
759
789
|
return e;
|
|
760
790
|
if (typeof t == "string") {
|
|
761
791
|
if (/^\d+$/.test(t))
|
|
762
792
|
t = m(t);
|
|
763
|
-
else if (t = e.localeData().monthsParse(t), !
|
|
793
|
+
else if (t = e.localeData().monthsParse(t), !B(t))
|
|
764
794
|
return e;
|
|
765
795
|
}
|
|
766
796
|
var n = t, r = e.date();
|
|
767
797
|
return r = r < 29 ? r : Math.min(r, yt(e.year(), n)), e._isUTC ? e._d.setUTCMonth(n, r) : e._d.setMonth(n, r), e;
|
|
768
798
|
}
|
|
769
799
|
function Jt(e) {
|
|
770
|
-
return e != null ? (
|
|
800
|
+
return e != null ? (Bt(this, e), u.updateOffset(this, !0), this) : ve(this, "Month");
|
|
771
801
|
}
|
|
772
802
|
function fr() {
|
|
773
803
|
return yt(this.year(), this.month());
|
|
@@ -784,7 +814,7 @@ function Qt() {
|
|
|
784
814
|
}
|
|
785
815
|
var t = [], n = [], r = [], s, i, a, l;
|
|
786
816
|
for (s = 0; s < 12; s++)
|
|
787
|
-
i =
|
|
817
|
+
i = F([2e3, s]), a = Z(this.monthsShort(i, "")), l = Z(this.months(i, "")), t.push(a), n.push(l), r.push(l), r.push(a);
|
|
788
818
|
t.sort(e), n.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
789
819
|
"^(" + n.join("|") + ")",
|
|
790
820
|
"i"
|
|
@@ -797,46 +827,46 @@ function yr(e, t, n, r, s, i, a) {
|
|
|
797
827
|
var l;
|
|
798
828
|
return e < 100 && e >= 0 ? (l = new Date(e + 400, t, n, r, s, i, a), isFinite(l.getFullYear()) && l.setFullYear(e)) : l = new Date(e, t, n, r, s, i, a), l;
|
|
799
829
|
}
|
|
800
|
-
function
|
|
830
|
+
function pe(e) {
|
|
801
831
|
var t, n;
|
|
802
832
|
return e < 100 && e >= 0 ? (n = Array.prototype.slice.call(arguments), n[0] = e + 400, t = new Date(Date.UTC.apply(null, n)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
803
833
|
}
|
|
804
|
-
function
|
|
805
|
-
var r = 7 + t - n, s = (7 +
|
|
834
|
+
function Re(e, t, n) {
|
|
835
|
+
var r = 7 + t - n, s = (7 + pe(e, 0, r).getUTCDay() - t) % 7;
|
|
806
836
|
return -s + r - 1;
|
|
807
837
|
}
|
|
808
838
|
function Xt(e, t, n, r, s) {
|
|
809
|
-
var i = (7 + n - r) % 7, a =
|
|
810
|
-
return l <= 0 ? (c = e - 1, _ =
|
|
839
|
+
var i = (7 + n - r) % 7, a = Re(e, r, s), l = 1 + 7 * (t - 1) + i + a, c, _;
|
|
840
|
+
return l <= 0 ? (c = e - 1, _ = ge(c) + l) : l > ge(e) ? (c = e + 1, _ = l - ge(e)) : (c = e, _ = l), {
|
|
811
841
|
year: c,
|
|
812
842
|
dayOfYear: _
|
|
813
843
|
};
|
|
814
844
|
}
|
|
815
|
-
function
|
|
816
|
-
var r =
|
|
817
|
-
return s < 1 ? (a = e.year() - 1, i = s +
|
|
845
|
+
function we(e, t, n) {
|
|
846
|
+
var r = Re(e.year(), t, n), s = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, i, a;
|
|
847
|
+
return s < 1 ? (a = e.year() - 1, i = s + $(a, t, n)) : s > $(e.year(), t, n) ? (i = s - $(e.year(), t, n), a = e.year() + 1) : (a = e.year(), i = s), {
|
|
818
848
|
week: i,
|
|
819
849
|
year: a
|
|
820
850
|
};
|
|
821
851
|
}
|
|
822
|
-
function
|
|
823
|
-
var r =
|
|
824
|
-
return (
|
|
852
|
+
function $(e, t, n) {
|
|
853
|
+
var r = Re(e, t, n), s = Re(e + 1, t, n);
|
|
854
|
+
return (ge(e) - r + s) / 7;
|
|
825
855
|
}
|
|
826
856
|
h("w", ["ww", 2], "wo", "week");
|
|
827
857
|
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
828
|
-
d("w", M,
|
|
829
|
-
d("ww", M,
|
|
830
|
-
d("W", M,
|
|
831
|
-
d("WW", M,
|
|
832
|
-
|
|
858
|
+
d("w", M, fe);
|
|
859
|
+
d("ww", M, x);
|
|
860
|
+
d("W", M, fe);
|
|
861
|
+
d("WW", M, x);
|
|
862
|
+
Se(
|
|
833
863
|
["w", "ww", "W", "WW"],
|
|
834
864
|
function(e, t, n, r) {
|
|
835
865
|
t[r.substr(0, 1)] = m(e);
|
|
836
866
|
}
|
|
837
867
|
);
|
|
838
868
|
function gr(e) {
|
|
839
|
-
return
|
|
869
|
+
return we(e, this._week.dow, this._week.doy).week;
|
|
840
870
|
}
|
|
841
871
|
var vr = {
|
|
842
872
|
dow: 0,
|
|
@@ -855,7 +885,7 @@ function Mr(e) {
|
|
|
855
885
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
856
886
|
}
|
|
857
887
|
function kr(e) {
|
|
858
|
-
var t =
|
|
888
|
+
var t = we(this, 1, 4).week;
|
|
859
889
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
860
890
|
}
|
|
861
891
|
h("d", 0, "do", "day");
|
|
@@ -882,11 +912,11 @@ d("ddd", function(e, t) {
|
|
|
882
912
|
d("dddd", function(e, t) {
|
|
883
913
|
return t.weekdaysRegex(e);
|
|
884
914
|
});
|
|
885
|
-
|
|
915
|
+
Se(["dd", "ddd", "dddd"], function(e, t, n, r) {
|
|
886
916
|
var s = n._locale.weekdaysParse(e, r, n._strict);
|
|
887
917
|
s != null ? t.d = s : f(n).invalidWeekday = e;
|
|
888
918
|
});
|
|
889
|
-
|
|
919
|
+
Se(["d", "e", "E"], function(e, t, n, r) {
|
|
890
920
|
t[r] = m(e);
|
|
891
921
|
});
|
|
892
922
|
function Yr(e, t) {
|
|
@@ -898,9 +928,9 @@ function Dr(e, t) {
|
|
|
898
928
|
function gt(e, t) {
|
|
899
929
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
900
930
|
}
|
|
901
|
-
var Sr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Kt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Or = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), br =
|
|
931
|
+
var Sr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Kt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Or = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), br = De, Tr = De, xr = De;
|
|
902
932
|
function Nr(e, t) {
|
|
903
|
-
var n =
|
|
933
|
+
var n = W(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
904
934
|
return e === !0 ? gt(n, this._week.dow) : e ? n[e.day()] : n;
|
|
905
935
|
}
|
|
906
936
|
function Cr(e) {
|
|
@@ -913,7 +943,7 @@ function Pr(e, t, n) {
|
|
|
913
943
|
var r, s, i, a = e.toLocaleLowerCase();
|
|
914
944
|
if (!this._weekdaysParse)
|
|
915
945
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
916
|
-
i =
|
|
946
|
+
i = F([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
|
|
917
947
|
i,
|
|
918
948
|
""
|
|
919
949
|
).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
|
|
@@ -927,7 +957,7 @@ function Wr(e, t, n) {
|
|
|
927
957
|
if (this._weekdaysParseExact)
|
|
928
958
|
return Pr.call(this, e, t, n);
|
|
929
959
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++)
|
|
930
|
-
if (s =
|
|
960
|
+
if (s = F([2e3, 1]).day(r), n && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
931
961
|
"^" + this.weekdays(s, "").replace(".", "\\.?") + "$",
|
|
932
962
|
"i"
|
|
933
963
|
), this._shortWeekdaysParse[r] = new RegExp(
|
|
@@ -942,7 +972,7 @@ function Wr(e, t, n) {
|
|
|
942
972
|
function Er(e) {
|
|
943
973
|
if (!this.isValid())
|
|
944
974
|
return e != null ? this : NaN;
|
|
945
|
-
var t =
|
|
975
|
+
var t = ve(this, "Day");
|
|
946
976
|
return e != null ? (e = Yr(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
947
977
|
}
|
|
948
978
|
function Lr(e) {
|
|
@@ -970,12 +1000,12 @@ function Ur(e) {
|
|
|
970
1000
|
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || vt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = xr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
971
1001
|
}
|
|
972
1002
|
function vt() {
|
|
973
|
-
function e(O,
|
|
974
|
-
return
|
|
1003
|
+
function e(O, I) {
|
|
1004
|
+
return I.length - O.length;
|
|
975
1005
|
}
|
|
976
1006
|
var t = [], n = [], r = [], s = [], i, a, l, c, _;
|
|
977
1007
|
for (i = 0; i < 7; i++)
|
|
978
|
-
a =
|
|
1008
|
+
a = F([2e3, 1]).day(i), l = Z(this.weekdaysMin(a, "")), c = Z(this.weekdaysShort(a, "")), _ = Z(this.weekdays(a, "")), t.push(l), n.push(c), r.push(_), s.push(l), s.push(c), s.push(_);
|
|
979
1009
|
t.sort(e), n.sort(e), r.sort(e), s.sort(e), this._weekdaysRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
980
1010
|
"^(" + r.join("|") + ")",
|
|
981
1011
|
"i"
|
|
@@ -997,16 +1027,16 @@ h("H", ["HH", 2], 0, "hour");
|
|
|
997
1027
|
h("h", ["hh", 2], 0, pt);
|
|
998
1028
|
h("k", ["kk", 2], 0, Ir);
|
|
999
1029
|
h("hmm", 0, 0, function() {
|
|
1000
|
-
return "" + pt.apply(this) +
|
|
1030
|
+
return "" + pt.apply(this) + A(this.minutes(), 2);
|
|
1001
1031
|
});
|
|
1002
1032
|
h("hmmss", 0, 0, function() {
|
|
1003
|
-
return "" + pt.apply(this) +
|
|
1033
|
+
return "" + pt.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1004
1034
|
});
|
|
1005
1035
|
h("Hmm", 0, 0, function() {
|
|
1006
|
-
return "" + this.hours() +
|
|
1036
|
+
return "" + this.hours() + A(this.minutes(), 2);
|
|
1007
1037
|
});
|
|
1008
1038
|
h("Hmmss", 0, 0, function() {
|
|
1009
|
-
return "" + this.hours() +
|
|
1039
|
+
return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1010
1040
|
});
|
|
1011
1041
|
function en(e, t) {
|
|
1012
1042
|
h(e, 0, 0, function() {
|
|
@@ -1025,11 +1055,11 @@ function tn(e, t) {
|
|
|
1025
1055
|
d("a", tn);
|
|
1026
1056
|
d("A", tn);
|
|
1027
1057
|
d("H", M, _t);
|
|
1028
|
-
d("h", M,
|
|
1029
|
-
d("k", M,
|
|
1030
|
-
d("HH", M,
|
|
1031
|
-
d("hh", M,
|
|
1032
|
-
d("kk", M,
|
|
1058
|
+
d("h", M, fe);
|
|
1059
|
+
d("k", M, fe);
|
|
1060
|
+
d("HH", M, x);
|
|
1061
|
+
d("hh", M, x);
|
|
1062
|
+
d("kk", M, x);
|
|
1033
1063
|
d("hmm", Gt);
|
|
1034
1064
|
d("hmmss", Vt);
|
|
1035
1065
|
d("Hmm", Gt);
|
|
@@ -1047,24 +1077,24 @@ p(["h", "hh"], function(e, t, n) {
|
|
|
1047
1077
|
});
|
|
1048
1078
|
p("hmm", function(e, t, n) {
|
|
1049
1079
|
var r = e.length - 2;
|
|
1050
|
-
t[D] = m(e.substr(0, r)), t[
|
|
1080
|
+
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r)), f(n).bigHour = !0;
|
|
1051
1081
|
});
|
|
1052
1082
|
p("hmmss", function(e, t, n) {
|
|
1053
1083
|
var r = e.length - 4, s = e.length - 2;
|
|
1054
|
-
t[D] = m(e.substr(0, r)), t[
|
|
1084
|
+
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[z] = m(e.substr(s)), f(n).bigHour = !0;
|
|
1055
1085
|
});
|
|
1056
1086
|
p("Hmm", function(e, t, n) {
|
|
1057
1087
|
var r = e.length - 2;
|
|
1058
|
-
t[D] = m(e.substr(0, r)), t[
|
|
1088
|
+
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r));
|
|
1059
1089
|
});
|
|
1060
1090
|
p("Hmmss", function(e, t, n) {
|
|
1061
1091
|
var r = e.length - 4, s = e.length - 2;
|
|
1062
|
-
t[D] = m(e.substr(0, r)), t[
|
|
1092
|
+
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[z] = m(e.substr(s));
|
|
1063
1093
|
});
|
|
1064
1094
|
function jr(e) {
|
|
1065
1095
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1066
1096
|
}
|
|
1067
|
-
var Gr = /[ap]\.?m?\.?/i, Vr =
|
|
1097
|
+
var Gr = /[ap]\.?m?\.?/i, Vr = me("Hours", !0);
|
|
1068
1098
|
function qr(e, t, n) {
|
|
1069
1099
|
return e > 11 ? n ? "pm" : "PM" : n ? "am" : "AM";
|
|
1070
1100
|
}
|
|
@@ -1082,7 +1112,7 @@ var nn = {
|
|
|
1082
1112
|
weekdaysMin: Or,
|
|
1083
1113
|
weekdaysShort: Kt,
|
|
1084
1114
|
meridiemParse: Gr
|
|
1085
|
-
}, k = {},
|
|
1115
|
+
}, k = {}, _e = {}, Me;
|
|
1086
1116
|
function zr(e, t) {
|
|
1087
1117
|
var n, r = Math.min(e.length, t.length);
|
|
1088
1118
|
for (n = 0; n < r; n += 1)
|
|
@@ -1096,7 +1126,7 @@ function Rt(e) {
|
|
|
1096
1126
|
function Zr(e) {
|
|
1097
1127
|
for (var t = 0, n, r, s, i; t < e.length; ) {
|
|
1098
1128
|
for (i = Rt(e[t]).split("-"), n = i.length, r = Rt(e[t + 1]), r = r ? r.split("-") : null; n > 0; ) {
|
|
1099
|
-
if (s =
|
|
1129
|
+
if (s = Ge(i.slice(0, n).join("-")), s)
|
|
1100
1130
|
return s;
|
|
1101
1131
|
if (r && r.length >= n && zr(i, r) >= n - 1)
|
|
1102
1132
|
break;
|
|
@@ -1104,26 +1134,26 @@ function Zr(e) {
|
|
|
1104
1134
|
}
|
|
1105
1135
|
t++;
|
|
1106
1136
|
}
|
|
1107
|
-
return
|
|
1137
|
+
return Me;
|
|
1108
1138
|
}
|
|
1109
|
-
function
|
|
1139
|
+
function $r(e) {
|
|
1110
1140
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1111
1141
|
}
|
|
1112
|
-
function
|
|
1142
|
+
function Ge(e) {
|
|
1113
1143
|
var t = null, n;
|
|
1114
|
-
if (k[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
1144
|
+
if (k[e] === void 0 && typeof module < "u" && module && module.exports && $r(e))
|
|
1115
1145
|
try {
|
|
1116
|
-
t =
|
|
1146
|
+
t = Me._abbr, n = require, n("./locale/" + e), te(t);
|
|
1117
1147
|
} catch {
|
|
1118
1148
|
k[e] = null;
|
|
1119
1149
|
}
|
|
1120
1150
|
return k[e];
|
|
1121
1151
|
}
|
|
1122
|
-
function
|
|
1152
|
+
function te(e, t) {
|
|
1123
1153
|
var n;
|
|
1124
|
-
return e && (b(t) ? n =
|
|
1154
|
+
return e && (b(t) ? n = J(e) : n = wt(e, t), n ? Me = n : typeof console < "u" && console.warn && console.warn(
|
|
1125
1155
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1126
|
-
)),
|
|
1156
|
+
)), Me._abbr;
|
|
1127
1157
|
}
|
|
1128
1158
|
function wt(e, t) {
|
|
1129
1159
|
if (t !== null) {
|
|
@@ -1136,33 +1166,33 @@ function wt(e, t) {
|
|
|
1136
1166
|
else if (t.parentLocale != null)
|
|
1137
1167
|
if (k[t.parentLocale] != null)
|
|
1138
1168
|
r = k[t.parentLocale]._config;
|
|
1139
|
-
else if (n =
|
|
1169
|
+
else if (n = Ge(t.parentLocale), n != null)
|
|
1140
1170
|
r = n._config;
|
|
1141
1171
|
else
|
|
1142
|
-
return
|
|
1172
|
+
return _e[t.parentLocale] || (_e[t.parentLocale] = []), _e[t.parentLocale].push({
|
|
1143
1173
|
name: e,
|
|
1144
1174
|
config: t
|
|
1145
1175
|
}), null;
|
|
1146
|
-
return k[e] = new dt(tt(r, t)),
|
|
1176
|
+
return k[e] = new dt(tt(r, t)), _e[e] && _e[e].forEach(function(s) {
|
|
1147
1177
|
wt(s.name, s.config);
|
|
1148
|
-
}),
|
|
1178
|
+
}), te(e), k[e];
|
|
1149
1179
|
} else
|
|
1150
1180
|
return delete k[e], null;
|
|
1151
1181
|
}
|
|
1152
|
-
function
|
|
1182
|
+
function Br(e, t) {
|
|
1153
1183
|
if (t != null) {
|
|
1154
1184
|
var n, r, s = nn;
|
|
1155
|
-
k[e] != null && k[e].parentLocale != null ? k[e].set(tt(k[e]._config, t)) : (r =
|
|
1185
|
+
k[e] != null && k[e].parentLocale != null ? k[e].set(tt(k[e]._config, t)) : (r = Ge(e), r != null && (s = r._config), t = tt(s, t), r == null && (t.abbr = e), n = new dt(t), n.parentLocale = k[e], k[e] = n), te(e);
|
|
1156
1186
|
} else
|
|
1157
|
-
k[e] != null && (k[e].parentLocale != null ? (k[e] = k[e].parentLocale, e ===
|
|
1187
|
+
k[e] != null && (k[e].parentLocale != null ? (k[e] = k[e].parentLocale, e === te() && te(e)) : k[e] != null && delete k[e]);
|
|
1158
1188
|
return k[e];
|
|
1159
1189
|
}
|
|
1160
|
-
function
|
|
1190
|
+
function J(e) {
|
|
1161
1191
|
var t;
|
|
1162
1192
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1163
|
-
return
|
|
1164
|
-
if (!
|
|
1165
|
-
if (t =
|
|
1193
|
+
return Me;
|
|
1194
|
+
if (!W(e)) {
|
|
1195
|
+
if (t = Ge(e), t)
|
|
1166
1196
|
return t;
|
|
1167
1197
|
e = [e];
|
|
1168
1198
|
}
|
|
@@ -1173,9 +1203,9 @@ function Jr() {
|
|
|
1173
1203
|
}
|
|
1174
1204
|
function Mt(e) {
|
|
1175
1205
|
var t, n = e._a;
|
|
1176
|
-
return n && f(e).overflow === -2 && (t = n[
|
|
1206
|
+
return n && f(e).overflow === -2 && (t = n[q] < 0 || n[q] > 11 ? q : n[H] < 1 || n[H] > yt(n[S], n[q]) ? H : n[D] < 0 || n[D] > 24 || n[D] === 24 && (n[P] !== 0 || n[z] !== 0 || n[re] !== 0) ? D : n[P] < 0 || n[P] > 59 ? P : n[z] < 0 || n[z] > 59 ? z : n[re] < 0 || n[re] > 999 ? re : -1, f(e)._overflowDayOfYear && (t < S || t > H) && (t = H), f(e)._overflowWeeks && t === -1 && (t = er), f(e)._overflowWeekday && t === -1 && (t = tr), f(e).overflow = t), e;
|
|
1177
1207
|
}
|
|
1178
|
-
var Qr = /^\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)?)?$/, Xr = /^\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)?)?$/, Kr = /Z|[+-]\d\d(?::?\d\d)?/,
|
|
1208
|
+
var Qr = /^\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)?)?$/, Xr = /^\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)?)?$/, Kr = /Z|[+-]\d\d(?::?\d\d)?/, be = [
|
|
1179
1209
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1180
1210
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1181
1211
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1212,11 +1242,11 @@ var Qr = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1212
1242
|
PST: -8 * 60
|
|
1213
1243
|
};
|
|
1214
1244
|
function rn(e) {
|
|
1215
|
-
var t, n, r = e._i, s = Qr.exec(r) || Xr.exec(r), i, a, l, c, _ =
|
|
1245
|
+
var t, n, r = e._i, s = Qr.exec(r) || Xr.exec(r), i, a, l, c, _ = be.length, O = Qe.length;
|
|
1216
1246
|
if (s) {
|
|
1217
1247
|
for (f(e).iso = !0, t = 0, n = _; t < n; t++)
|
|
1218
|
-
if (
|
|
1219
|
-
a =
|
|
1248
|
+
if (be[t][1].exec(s[1])) {
|
|
1249
|
+
a = be[t][0], i = be[t][2] !== !1;
|
|
1220
1250
|
break;
|
|
1221
1251
|
}
|
|
1222
1252
|
if (a == null) {
|
|
@@ -1298,7 +1328,7 @@ function sn(e) {
|
|
|
1298
1328
|
t[7]
|
|
1299
1329
|
), !as(t[1], n, e))
|
|
1300
1330
|
return;
|
|
1301
|
-
e._a = n, e._tzm = os(t[8], t[9], t[10]), e._d =
|
|
1331
|
+
e._a = n, e._tzm = os(t[8], t[9], t[10]), e._d = pe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), f(e).rfc2822 = !0;
|
|
1302
1332
|
} else
|
|
1303
1333
|
e._isValid = !1;
|
|
1304
1334
|
}
|
|
@@ -1318,13 +1348,13 @@ function us(e) {
|
|
|
1318
1348
|
return;
|
|
1319
1349
|
e._strict ? e._isValid = !1 : u.createFromInputFallback(e);
|
|
1320
1350
|
}
|
|
1321
|
-
u.createFromInputFallback =
|
|
1351
|
+
u.createFromInputFallback = C(
|
|
1322
1352
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1323
1353
|
function(e) {
|
|
1324
1354
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1325
1355
|
}
|
|
1326
1356
|
);
|
|
1327
|
-
function
|
|
1357
|
+
function oe(e, t, n) {
|
|
1328
1358
|
return e ?? t ?? n;
|
|
1329
1359
|
}
|
|
1330
1360
|
function ls(e) {
|
|
@@ -1338,11 +1368,11 @@ function ls(e) {
|
|
|
1338
1368
|
function kt(e) {
|
|
1339
1369
|
var t, n, r = [], s, i, a;
|
|
1340
1370
|
if (!e._d) {
|
|
1341
|
-
for (s = ls(e), e._w && e._a[
|
|
1371
|
+
for (s = ls(e), e._w && e._a[H] == null && e._a[q] == null && ds(e), e._dayOfYear != null && (a = oe(e._a[S], s[S]), (e._dayOfYear > ge(a) || e._dayOfYear === 0) && (f(e)._overflowDayOfYear = !0), n = pe(a, 0, e._dayOfYear), e._a[q] = n.getUTCMonth(), e._a[H] = n.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1342
1372
|
e._a[t] = r[t] = s[t];
|
|
1343
1373
|
for (; t < 7; t++)
|
|
1344
1374
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1345
|
-
e._a[D] === 24 && e._a[
|
|
1375
|
+
e._a[D] === 24 && e._a[P] === 0 && e._a[z] === 0 && e._a[re] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? pe : yr).apply(
|
|
1346
1376
|
null,
|
|
1347
1377
|
r
|
|
1348
1378
|
), 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 && (f(e).weekdayMismatch = !0);
|
|
@@ -1350,11 +1380,11 @@ function kt(e) {
|
|
|
1350
1380
|
}
|
|
1351
1381
|
function ds(e) {
|
|
1352
1382
|
var t, n, r, s, i, a, l, c, _;
|
|
1353
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, a = 4, n =
|
|
1383
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, a = 4, n = oe(
|
|
1354
1384
|
t.GG,
|
|
1355
1385
|
e._a[S],
|
|
1356
|
-
|
|
1357
|
-
), r =
|
|
1386
|
+
we(w(), 1, 4).year
|
|
1387
|
+
), r = oe(t.W, 1), s = oe(t.E, 1), (s < 1 || s > 7) && (c = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, _ = we(w(), i, a), n = oe(t.gg, e._a[S], _.year), r = oe(t.w, _.week), t.d != null ? (s = t.d, (s < 0 || s > 6) && (c = !0)) : t.e != null ? (s = t.e + i, (t.e < 0 || t.e > 6) && (c = !0)) : s = i), r < 1 || r > $(n, i, a) ? f(e)._overflowWeeks = !0 : c != null ? f(e)._overflowWeekday = !0 : (l = Xt(n, r, s, i, a), e._a[S] = l.year, e._dayOfYear = l.dayOfYear);
|
|
1358
1388
|
}
|
|
1359
1389
|
u.ISO_8601 = function() {
|
|
1360
1390
|
};
|
|
@@ -1374,7 +1404,7 @@ function Yt(e) {
|
|
|
1374
1404
|
for (s = Ut(e._f, e._locale).match(ht) || [], O = s.length, n = 0; n < O; n++)
|
|
1375
1405
|
i = s[n], r = (t.match(Qn(i, e)) || [])[0], r && (a = t.substr(0, t.indexOf(r)), a.length > 0 && f(e).unusedInput.push(a), t = t.slice(
|
|
1376
1406
|
t.indexOf(r) + r.length
|
|
1377
|
-
), c += r.length),
|
|
1407
|
+
), c += r.length), le[i] ? (r ? f(e).empty = !1 : f(e).unusedTokens.push(i), Kn(i, r, e)) : e._strict && !r && f(e).unusedTokens.push(i);
|
|
1378
1408
|
f(e).charsLeftOver = l - c, t.length > 0 && f(e).unusedInput.push(t), e._a[D] <= 12 && f(e).bigHour === !0 && e._a[D] > 0 && (f(e).bigHour = void 0), f(e).parsedDateParts = e._a.slice(0), f(e).meridiem = e._meridiem, e._a[D] = hs(
|
|
1379
1409
|
e._locale,
|
|
1380
1410
|
e._a[D],
|
|
@@ -1393,7 +1423,7 @@ function cs(e) {
|
|
|
1393
1423
|
}
|
|
1394
1424
|
for (s = 0; s < c; s++)
|
|
1395
1425
|
i = 0, a = !1, t = lt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[s], Yt(t), ut(t) && (a = !0), i += f(t).charsLeftOver, i += f(t).unusedTokens.length * 10, f(t).score = i, l ? i < r && (r = i, n = t) : (r == null || i < r || a) && (r = i, n = t, a && (l = !0));
|
|
1396
|
-
|
|
1426
|
+
K(e, n || t);
|
|
1397
1427
|
}
|
|
1398
1428
|
function fs(e) {
|
|
1399
1429
|
if (!e._d) {
|
|
@@ -1407,42 +1437,42 @@ function fs(e) {
|
|
|
1407
1437
|
}
|
|
1408
1438
|
}
|
|
1409
1439
|
function ms(e) {
|
|
1410
|
-
var t = new
|
|
1440
|
+
var t = new Ye(Mt(an(e)));
|
|
1411
1441
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1412
1442
|
}
|
|
1413
1443
|
function an(e) {
|
|
1414
1444
|
var t = e._i, n = e._f;
|
|
1415
|
-
return e._locale = e._locale ||
|
|
1445
|
+
return e._locale = e._locale || J(e._l), t === null || n === void 0 && t === "" ? Le({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), E(t) ? new Ye(Mt(t)) : (ke(t) ? e._d = t : W(n) ? cs(e) : n ? Yt(e) : _s(e), ut(e) || (e._d = null), e));
|
|
1416
1446
|
}
|
|
1417
1447
|
function _s(e) {
|
|
1418
1448
|
var t = e._i;
|
|
1419
|
-
b(t) ? e._d = new Date(u.now()) :
|
|
1449
|
+
b(t) ? e._d = new Date(u.now()) : ke(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? us(e) : W(t) ? (e._a = Ht(t.slice(0), function(n) {
|
|
1420
1450
|
return parseInt(n, 10);
|
|
1421
|
-
}), kt(e)) :
|
|
1451
|
+
}), kt(e)) : se(t) ? fs(e) : B(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1422
1452
|
}
|
|
1423
1453
|
function on(e, t, n, r, s) {
|
|
1424
1454
|
var i = {};
|
|
1425
|
-
return (t === !0 || t === !1) && (r = t, t = void 0), (n === !0 || n === !1) && (r = n, n = void 0), (
|
|
1455
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (n === !0 || n === !1) && (r = n, n = void 0), (se(e) && ot(e) || W(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = s, i._l = n, i._i = e, i._f = t, i._strict = r, ms(i);
|
|
1426
1456
|
}
|
|
1427
1457
|
function w(e, t, n, r) {
|
|
1428
1458
|
return on(e, t, n, r, !1);
|
|
1429
1459
|
}
|
|
1430
|
-
var ys =
|
|
1460
|
+
var ys = C(
|
|
1431
1461
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1432
1462
|
function() {
|
|
1433
1463
|
var e = w.apply(null, arguments);
|
|
1434
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1464
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Le();
|
|
1435
1465
|
}
|
|
1436
|
-
), gs =
|
|
1466
|
+
), gs = C(
|
|
1437
1467
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1438
1468
|
function() {
|
|
1439
1469
|
var e = w.apply(null, arguments);
|
|
1440
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1470
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Le();
|
|
1441
1471
|
}
|
|
1442
1472
|
);
|
|
1443
1473
|
function un(e, t) {
|
|
1444
1474
|
var n, r;
|
|
1445
|
-
if (t.length === 1 &&
|
|
1475
|
+
if (t.length === 1 && W(t[0]) && (t = t[0]), !t.length)
|
|
1446
1476
|
return w();
|
|
1447
1477
|
for (n = t[0], r = 1; r < t.length; ++r)
|
|
1448
1478
|
(!t[r].isValid() || t[r][e](n)) && (n = t[r]);
|
|
@@ -1458,7 +1488,7 @@ function ps() {
|
|
|
1458
1488
|
}
|
|
1459
1489
|
var ws = function() {
|
|
1460
1490
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1461
|
-
},
|
|
1491
|
+
}, ye = [
|
|
1462
1492
|
"year",
|
|
1463
1493
|
"quarter",
|
|
1464
1494
|
"month",
|
|
@@ -1470,15 +1500,15 @@ var ws = function() {
|
|
|
1470
1500
|
"millisecond"
|
|
1471
1501
|
];
|
|
1472
1502
|
function Ms(e) {
|
|
1473
|
-
var t, n = !1, r, s =
|
|
1503
|
+
var t, n = !1, r, s = ye.length;
|
|
1474
1504
|
for (t in e)
|
|
1475
|
-
if (g(e, t) && !(Y.call(
|
|
1505
|
+
if (g(e, t) && !(Y.call(ye, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1476
1506
|
return !1;
|
|
1477
1507
|
for (r = 0; r < s; ++r)
|
|
1478
|
-
if (e[
|
|
1508
|
+
if (e[ye[r]]) {
|
|
1479
1509
|
if (n)
|
|
1480
1510
|
return !1;
|
|
1481
|
-
parseFloat(e[
|
|
1511
|
+
parseFloat(e[ye[r]]) !== m(e[ye[r]]) && (n = !0);
|
|
1482
1512
|
}
|
|
1483
1513
|
return !0;
|
|
1484
1514
|
}
|
|
@@ -1486,16 +1516,16 @@ function ks() {
|
|
|
1486
1516
|
return this._isValid;
|
|
1487
1517
|
}
|
|
1488
1518
|
function Ys() {
|
|
1489
|
-
return
|
|
1519
|
+
return L(NaN);
|
|
1490
1520
|
}
|
|
1491
|
-
function
|
|
1521
|
+
function Ve(e) {
|
|
1492
1522
|
var t = ct(e), n = t.year || 0, r = t.quarter || 0, s = t.month || 0, i = t.week || t.isoWeek || 0, a = t.day || 0, l = t.hour || 0, c = t.minute || 0, _ = t.second || 0, O = t.millisecond || 0;
|
|
1493
1523
|
this._isValid = Ms(t), this._milliseconds = +O + _ * 1e3 + // 1000
|
|
1494
1524
|
c * 6e4 + // 1000 * 60
|
|
1495
|
-
l * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +s + r * 3 + n * 12, this._data = {}, this._locale =
|
|
1525
|
+
l * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +s + r * 3 + n * 12, this._data = {}, this._locale = J(), this._bubble();
|
|
1496
1526
|
}
|
|
1497
|
-
function
|
|
1498
|
-
return e instanceof
|
|
1527
|
+
function xe(e) {
|
|
1528
|
+
return e instanceof Ve;
|
|
1499
1529
|
}
|
|
1500
1530
|
function st(e) {
|
|
1501
1531
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
@@ -1509,15 +1539,15 @@ function Ds(e, t, n) {
|
|
|
1509
1539
|
function ln(e, t) {
|
|
1510
1540
|
h(e, 0, 0, function() {
|
|
1511
1541
|
var n = this.utcOffset(), r = "+";
|
|
1512
|
-
return n < 0 && (n = -n, r = "-"), r +
|
|
1542
|
+
return n < 0 && (n = -n, r = "-"), r + A(~~(n / 60), 2) + t + A(~~n % 60, 2);
|
|
1513
1543
|
});
|
|
1514
1544
|
}
|
|
1515
1545
|
ln("Z", ":");
|
|
1516
1546
|
ln("ZZ", "");
|
|
1517
|
-
d("Z",
|
|
1518
|
-
d("ZZ",
|
|
1547
|
+
d("Z", Ie);
|
|
1548
|
+
d("ZZ", Ie);
|
|
1519
1549
|
p(["Z", "ZZ"], function(e, t, n) {
|
|
1520
|
-
n._useUTC = !0, n._tzm = Dt(
|
|
1550
|
+
n._useUTC = !0, n._tzm = Dt(Ie, e);
|
|
1521
1551
|
});
|
|
1522
1552
|
var Ss = /([\+\-]|\d\d)/gi;
|
|
1523
1553
|
function Dt(e, t) {
|
|
@@ -1526,7 +1556,7 @@ function Dt(e, t) {
|
|
|
1526
1556
|
}
|
|
1527
1557
|
function St(e, t) {
|
|
1528
1558
|
var n, r;
|
|
1529
|
-
return t._isUTC ? (n = t.clone(), r = (
|
|
1559
|
+
return t._isUTC ? (n = t.clone(), r = (E(e) || ke(e) ? e.valueOf() : w(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), u.updateOffset(n, !1), n) : w(e).local();
|
|
1530
1560
|
}
|
|
1531
1561
|
function it(e) {
|
|
1532
1562
|
return -Math.round(e._d.getTimezoneOffset());
|
|
@@ -1539,12 +1569,12 @@ function Os(e, t, n) {
|
|
|
1539
1569
|
return e != null ? this : NaN;
|
|
1540
1570
|
if (e != null) {
|
|
1541
1571
|
if (typeof e == "string") {
|
|
1542
|
-
if (e = Dt(
|
|
1572
|
+
if (e = Dt(Ie, e), e === null)
|
|
1543
1573
|
return this;
|
|
1544
1574
|
} else Math.abs(e) < 16 && !n && (e = e * 60);
|
|
1545
1575
|
return !this._isUTC && t && (s = it(this)), this._offset = e, this._isUTC = !0, s != null && this.add(s, "m"), r !== e && (!t || this._changeInProgress ? cn(
|
|
1546
1576
|
this,
|
|
1547
|
-
|
|
1577
|
+
L(e - r, "m"),
|
|
1548
1578
|
1,
|
|
1549
1579
|
!1
|
|
1550
1580
|
) : this._changeInProgress || (this._changeInProgress = !0, u.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
@@ -1564,7 +1594,7 @@ function Ns() {
|
|
|
1564
1594
|
if (this._tzm != null)
|
|
1565
1595
|
this.utcOffset(this._tzm, !1, !0);
|
|
1566
1596
|
else if (typeof this._i == "string") {
|
|
1567
|
-
var e = Dt(
|
|
1597
|
+
var e = Dt(Bn, this._i);
|
|
1568
1598
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1569
1599
|
}
|
|
1570
1600
|
return this;
|
|
@@ -1579,7 +1609,7 @@ function Ps() {
|
|
|
1579
1609
|
if (!b(this._isDSTShifted))
|
|
1580
1610
|
return this._isDSTShifted;
|
|
1581
1611
|
var e = {}, t;
|
|
1582
|
-
return lt(e, this), e = an(e), e._a ? (t = e._isUTC ?
|
|
1612
|
+
return lt(e, this), e = an(e), e._a ? (t = e._isUTC ? F(e._a) : w(e._a), this._isDSTShifted = this.isValid() && Ds(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1583
1613
|
}
|
|
1584
1614
|
function Ws() {
|
|
1585
1615
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -1591,36 +1621,36 @@ function dn() {
|
|
|
1591
1621
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1592
1622
|
}
|
|
1593
1623
|
var Ls = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Hs = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1594
|
-
function
|
|
1624
|
+
function L(e, t) {
|
|
1595
1625
|
var n = e, r = null, s, i, a;
|
|
1596
|
-
return
|
|
1626
|
+
return xe(e) ? n = {
|
|
1597
1627
|
ms: e._milliseconds,
|
|
1598
1628
|
d: e._days,
|
|
1599
1629
|
M: e._months
|
|
1600
|
-
} :
|
|
1630
|
+
} : B(e) || !isNaN(+e) ? (n = {}, t ? n[t] = +e : n.milliseconds = +e) : (r = Ls.exec(e)) ? (s = r[1] === "-" ? -1 : 1, n = {
|
|
1601
1631
|
y: 0,
|
|
1602
|
-
d: m(r[
|
|
1632
|
+
d: m(r[H]) * s,
|
|
1603
1633
|
h: m(r[D]) * s,
|
|
1604
|
-
m: m(r[
|
|
1605
|
-
s: m(r[
|
|
1606
|
-
ms: m(st(r[
|
|
1634
|
+
m: m(r[P]) * s,
|
|
1635
|
+
s: m(r[z]) * s,
|
|
1636
|
+
ms: m(st(r[re] * 1e3)) * s
|
|
1607
1637
|
// the millisecond decimal point is included in the match
|
|
1608
1638
|
}) : (r = Hs.exec(e)) ? (s = r[1] === "-" ? -1 : 1, n = {
|
|
1609
|
-
y:
|
|
1610
|
-
M:
|
|
1611
|
-
w:
|
|
1612
|
-
d:
|
|
1613
|
-
h:
|
|
1614
|
-
m:
|
|
1615
|
-
s:
|
|
1639
|
+
y: ne(r[2], s),
|
|
1640
|
+
M: ne(r[3], s),
|
|
1641
|
+
w: ne(r[4], s),
|
|
1642
|
+
d: ne(r[5], s),
|
|
1643
|
+
h: ne(r[6], s),
|
|
1644
|
+
m: ne(r[7], s),
|
|
1645
|
+
s: ne(r[8], s)
|
|
1616
1646
|
}) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (a = As(
|
|
1617
1647
|
w(n.from),
|
|
1618
1648
|
w(n.to)
|
|
1619
|
-
), n = {}, n.ms = a.milliseconds, n.M = a.months), i = new
|
|
1649
|
+
), n = {}, n.ms = a.milliseconds, n.M = a.months), i = new Ve(n), xe(e) && g(e, "_locale") && (i._locale = e._locale), xe(e) && g(e, "_isValid") && (i._isValid = e._isValid), i;
|
|
1620
1650
|
}
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
function
|
|
1651
|
+
L.fn = Ve.prototype;
|
|
1652
|
+
L.invalid = Ys;
|
|
1653
|
+
function ne(e, t) {
|
|
1624
1654
|
var n = e && parseFloat(e.replace(",", "."));
|
|
1625
1655
|
return (isNaN(n) ? 0 : n) * t;
|
|
1626
1656
|
}
|
|
@@ -1638,22 +1668,22 @@ function hn(e, t) {
|
|
|
1638
1668
|
return r !== null && !isNaN(+r) && (Ft(
|
|
1639
1669
|
t,
|
|
1640
1670
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1641
|
-
), i = n, n = r, r = i), s =
|
|
1671
|
+
), i = n, n = r, r = i), s = L(n, r), cn(this, s, e), this;
|
|
1642
1672
|
};
|
|
1643
1673
|
}
|
|
1644
1674
|
function cn(e, t, n, r) {
|
|
1645
1675
|
var s = t._milliseconds, i = st(t._days), a = st(t._months);
|
|
1646
|
-
e.isValid() && (r = r ?? !0, a &&
|
|
1676
|
+
e.isValid() && (r = r ?? !0, a && Bt(e, ve(e, "Month") + a * n), i && zt(e, "Date", ve(e, "Date") + i * n), s && e._d.setTime(e._d.valueOf() + s * n), r && u.updateOffset(e, i || a));
|
|
1647
1677
|
}
|
|
1648
1678
|
var Fs = hn(1, "add"), Us = hn(-1, "subtract");
|
|
1649
1679
|
function fn(e) {
|
|
1650
1680
|
return typeof e == "string" || e instanceof String;
|
|
1651
1681
|
}
|
|
1652
1682
|
function Is(e) {
|
|
1653
|
-
return
|
|
1683
|
+
return E(e) || ke(e) || fn(e) || B(e) || Gs(e) || js(e) || e === null || e === void 0;
|
|
1654
1684
|
}
|
|
1655
1685
|
function js(e) {
|
|
1656
|
-
var t =
|
|
1686
|
+
var t = se(e) && !ot(e), n = !1, r = [
|
|
1657
1687
|
"years",
|
|
1658
1688
|
"year",
|
|
1659
1689
|
"y",
|
|
@@ -1684,13 +1714,13 @@ function js(e) {
|
|
|
1684
1714
|
return t && n;
|
|
1685
1715
|
}
|
|
1686
1716
|
function Gs(e) {
|
|
1687
|
-
var t =
|
|
1717
|
+
var t = W(e), n = !1;
|
|
1688
1718
|
return t && (n = e.filter(function(r) {
|
|
1689
|
-
return !
|
|
1719
|
+
return !B(r) && fn(e);
|
|
1690
1720
|
}).length === 0), t && n;
|
|
1691
1721
|
}
|
|
1692
1722
|
function Vs(e) {
|
|
1693
|
-
var t =
|
|
1723
|
+
var t = se(e) && !ot(e), n = !1, r = [
|
|
1694
1724
|
"sameDay",
|
|
1695
1725
|
"nextDay",
|
|
1696
1726
|
"lastDay",
|
|
@@ -1708,29 +1738,29 @@ function qs(e, t) {
|
|
|
1708
1738
|
}
|
|
1709
1739
|
function zs(e, t) {
|
|
1710
1740
|
arguments.length === 1 && (arguments[0] ? Is(arguments[0]) ? (e = arguments[0], t = void 0) : Vs(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1711
|
-
var n = e || w(), r = St(n, this).startOf("day"), s = u.calendarFormat(this, r) || "sameElse", i = t && (
|
|
1741
|
+
var n = e || w(), r = St(n, this).startOf("day"), s = u.calendarFormat(this, r) || "sameElse", i = t && (U(t[s]) ? t[s].call(this, n) : t[s]);
|
|
1712
1742
|
return this.format(
|
|
1713
1743
|
i || this.localeData().calendar(s, this, w(n))
|
|
1714
1744
|
);
|
|
1715
1745
|
}
|
|
1716
1746
|
function Zs() {
|
|
1717
|
-
return new
|
|
1718
|
-
}
|
|
1719
|
-
function Bs(e, t) {
|
|
1720
|
-
var n = W(e) ? e : w(e);
|
|
1721
|
-
return this.isValid() && n.isValid() ? (t = C(t) || "millisecond", t === "millisecond" ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1747
|
+
return new Ye(this);
|
|
1722
1748
|
}
|
|
1723
1749
|
function $s(e, t) {
|
|
1724
|
-
var n =
|
|
1725
|
-
return this.isValid() && n.isValid() ? (t =
|
|
1750
|
+
var n = E(e) ? e : w(e);
|
|
1751
|
+
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1752
|
+
}
|
|
1753
|
+
function Bs(e, t) {
|
|
1754
|
+
var n = E(e) ? e : w(e);
|
|
1755
|
+
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) : !1;
|
|
1726
1756
|
}
|
|
1727
1757
|
function Js(e, t, n, r) {
|
|
1728
|
-
var s =
|
|
1758
|
+
var s = E(e) ? e : w(e), i = E(t) ? t : w(t);
|
|
1729
1759
|
return this.isValid() && s.isValid() && i.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(s, n) : !this.isBefore(s, n)) && (r[1] === ")" ? this.isBefore(i, n) : !this.isAfter(i, n))) : !1;
|
|
1730
1760
|
}
|
|
1731
1761
|
function Qs(e, t) {
|
|
1732
|
-
var n =
|
|
1733
|
-
return this.isValid() && n.isValid() ? (t =
|
|
1762
|
+
var n = E(e) ? e : w(e), r;
|
|
1763
|
+
return this.isValid() && n.isValid() ? (t = R(t) || "millisecond", t === "millisecond" ? this.valueOf() === n.valueOf() : (r = n.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
|
|
1734
1764
|
}
|
|
1735
1765
|
function Xs(e, t) {
|
|
1736
1766
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
@@ -1744,15 +1774,15 @@ function ei(e, t, n) {
|
|
|
1744
1774
|
return NaN;
|
|
1745
1775
|
if (r = St(e, this), !r.isValid())
|
|
1746
1776
|
return NaN;
|
|
1747
|
-
switch (s = (r.utcOffset() - this.utcOffset()) * 6e4, t =
|
|
1777
|
+
switch (s = (r.utcOffset() - this.utcOffset()) * 6e4, t = R(t), t) {
|
|
1748
1778
|
case "year":
|
|
1749
|
-
i =
|
|
1779
|
+
i = Ne(this, r) / 12;
|
|
1750
1780
|
break;
|
|
1751
1781
|
case "month":
|
|
1752
|
-
i =
|
|
1782
|
+
i = Ne(this, r);
|
|
1753
1783
|
break;
|
|
1754
1784
|
case "quarter":
|
|
1755
|
-
i =
|
|
1785
|
+
i = Ne(this, r) / 3;
|
|
1756
1786
|
break;
|
|
1757
1787
|
case "second":
|
|
1758
1788
|
i = (this - r) / 1e3;
|
|
@@ -1772,11 +1802,11 @@ function ei(e, t, n) {
|
|
|
1772
1802
|
default:
|
|
1773
1803
|
i = this - r;
|
|
1774
1804
|
}
|
|
1775
|
-
return n ? i :
|
|
1805
|
+
return n ? i : N(i);
|
|
1776
1806
|
}
|
|
1777
|
-
function
|
|
1807
|
+
function Ne(e, t) {
|
|
1778
1808
|
if (e.date() < t.date())
|
|
1779
|
-
return -
|
|
1809
|
+
return -Ne(t, e);
|
|
1780
1810
|
var n = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(n, "months"), s, i;
|
|
1781
1811
|
return t - r < 0 ? (s = e.clone().add(n - 1, "months"), i = (t - r) / (r - s)) : (s = e.clone().add(n + 1, "months"), i = (t - r) / (s - r)), -(n + i) || 0;
|
|
1782
1812
|
}
|
|
@@ -1789,10 +1819,10 @@ function ni(e) {
|
|
|
1789
1819
|
if (!this.isValid())
|
|
1790
1820
|
return null;
|
|
1791
1821
|
var t = e !== !0, n = t ? this.clone().utc() : this;
|
|
1792
|
-
return n.year() < 0 || n.year() > 9999 ?
|
|
1822
|
+
return n.year() < 0 || n.year() > 9999 ? Te(
|
|
1793
1823
|
n,
|
|
1794
1824
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1795
|
-
) :
|
|
1825
|
+
) : U(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Te(n, "Z")) : Te(
|
|
1796
1826
|
n,
|
|
1797
1827
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1798
1828
|
);
|
|
@@ -1805,26 +1835,26 @@ function ri() {
|
|
|
1805
1835
|
}
|
|
1806
1836
|
function si(e) {
|
|
1807
1837
|
e || (e = this.isUtc() ? u.defaultFormatUtc : u.defaultFormat);
|
|
1808
|
-
var t =
|
|
1838
|
+
var t = Te(this, e);
|
|
1809
1839
|
return this.localeData().postformat(t);
|
|
1810
1840
|
}
|
|
1811
1841
|
function ii(e, t) {
|
|
1812
|
-
return this.isValid() && (
|
|
1842
|
+
return this.isValid() && (E(e) && e.isValid() || w(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1813
1843
|
}
|
|
1814
1844
|
function ai(e) {
|
|
1815
1845
|
return this.from(w(), e);
|
|
1816
1846
|
}
|
|
1817
1847
|
function oi(e, t) {
|
|
1818
|
-
return this.isValid() && (
|
|
1848
|
+
return this.isValid() && (E(e) && e.isValid() || w(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1819
1849
|
}
|
|
1820
1850
|
function ui(e) {
|
|
1821
1851
|
return this.to(w(), e);
|
|
1822
1852
|
}
|
|
1823
1853
|
function mn(e) {
|
|
1824
1854
|
var t;
|
|
1825
|
-
return e === void 0 ? this._locale._abbr : (t =
|
|
1855
|
+
return e === void 0 ? this._locale._abbr : (t = J(e), t != null && (this._locale = t), this);
|
|
1826
1856
|
}
|
|
1827
|
-
var _n =
|
|
1857
|
+
var _n = C(
|
|
1828
1858
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1829
1859
|
function(e) {
|
|
1830
1860
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
@@ -1833,8 +1863,8 @@ var _n = N(
|
|
|
1833
1863
|
function yn() {
|
|
1834
1864
|
return this._locale;
|
|
1835
1865
|
}
|
|
1836
|
-
var
|
|
1837
|
-
function
|
|
1866
|
+
var Pe = 1e3, de = 60 * Pe, We = 60 * de, gn = (365 * 400 + 97) * 24 * We;
|
|
1867
|
+
function he(e, t) {
|
|
1838
1868
|
return (e % t + t) % t;
|
|
1839
1869
|
}
|
|
1840
1870
|
function vn(e, t, n) {
|
|
@@ -1845,7 +1875,7 @@ function pn(e, t, n) {
|
|
|
1845
1875
|
}
|
|
1846
1876
|
function li(e) {
|
|
1847
1877
|
var t, n;
|
|
1848
|
-
if (e =
|
|
1878
|
+
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1849
1879
|
return this;
|
|
1850
1880
|
switch (n = this._isUTC ? pn : vn, e) {
|
|
1851
1881
|
case "year":
|
|
@@ -1880,23 +1910,23 @@ function li(e) {
|
|
|
1880
1910
|
t = n(this.year(), this.month(), this.date());
|
|
1881
1911
|
break;
|
|
1882
1912
|
case "hour":
|
|
1883
|
-
t = this._d.valueOf(), t -=
|
|
1884
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
1885
|
-
|
|
1913
|
+
t = this._d.valueOf(), t -= he(
|
|
1914
|
+
t + (this._isUTC ? 0 : this.utcOffset() * de),
|
|
1915
|
+
We
|
|
1886
1916
|
);
|
|
1887
1917
|
break;
|
|
1888
1918
|
case "minute":
|
|
1889
|
-
t = this._d.valueOf(), t -=
|
|
1919
|
+
t = this._d.valueOf(), t -= he(t, de);
|
|
1890
1920
|
break;
|
|
1891
1921
|
case "second":
|
|
1892
|
-
t = this._d.valueOf(), t -=
|
|
1922
|
+
t = this._d.valueOf(), t -= he(t, Pe);
|
|
1893
1923
|
break;
|
|
1894
1924
|
}
|
|
1895
1925
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1896
1926
|
}
|
|
1897
1927
|
function di(e) {
|
|
1898
1928
|
var t, n;
|
|
1899
|
-
if (e =
|
|
1929
|
+
if (e = R(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1900
1930
|
return this;
|
|
1901
1931
|
switch (n = this._isUTC ? pn : vn, e) {
|
|
1902
1932
|
case "year":
|
|
@@ -1931,16 +1961,16 @@ function di(e) {
|
|
|
1931
1961
|
t = n(this.year(), this.month(), this.date() + 1) - 1;
|
|
1932
1962
|
break;
|
|
1933
1963
|
case "hour":
|
|
1934
|
-
t = this._d.valueOf(), t +=
|
|
1935
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
1936
|
-
|
|
1964
|
+
t = this._d.valueOf(), t += We - he(
|
|
1965
|
+
t + (this._isUTC ? 0 : this.utcOffset() * de),
|
|
1966
|
+
We
|
|
1937
1967
|
) - 1;
|
|
1938
1968
|
break;
|
|
1939
1969
|
case "minute":
|
|
1940
|
-
t = this._d.valueOf(), t +=
|
|
1970
|
+
t = this._d.valueOf(), t += de - he(t, de) - 1;
|
|
1941
1971
|
break;
|
|
1942
1972
|
case "second":
|
|
1943
|
-
t = this._d.valueOf(), t +=
|
|
1973
|
+
t = this._d.valueOf(), t += Pe - he(t, Pe) - 1;
|
|
1944
1974
|
break;
|
|
1945
1975
|
}
|
|
1946
1976
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
@@ -1985,7 +2015,7 @@ function gi() {
|
|
|
1985
2015
|
return ut(this);
|
|
1986
2016
|
}
|
|
1987
2017
|
function vi() {
|
|
1988
|
-
return
|
|
2018
|
+
return K({}, f(this));
|
|
1989
2019
|
}
|
|
1990
2020
|
function pi() {
|
|
1991
2021
|
return f(this).overflow;
|
|
@@ -2020,10 +2050,10 @@ p(
|
|
|
2020
2050
|
s ? f(n).era = s : f(n).invalidEra = e;
|
|
2021
2051
|
}
|
|
2022
2052
|
);
|
|
2023
|
-
d("y",
|
|
2024
|
-
d("yy",
|
|
2025
|
-
d("yyy",
|
|
2026
|
-
d("yyyy",
|
|
2053
|
+
d("y", ce);
|
|
2054
|
+
d("yy", ce);
|
|
2055
|
+
d("yyy", ce);
|
|
2056
|
+
d("yyyy", ce);
|
|
2027
2057
|
d("yo", Pi);
|
|
2028
2058
|
p(["y", "yy", "yyy", "yyyy"], S);
|
|
2029
2059
|
p(["yo"], function(e, t, n, r) {
|
|
@@ -2031,7 +2061,7 @@ p(["yo"], function(e, t, n, r) {
|
|
|
2031
2061
|
n._locale._eraYearOrdinalRegex && (s = e.match(n._locale._eraYearOrdinalRegex)), n._locale.eraYearOrdinalParse ? t[S] = n._locale.eraYearOrdinalParse(e, s) : t[S] = parseInt(e, 10);
|
|
2032
2062
|
});
|
|
2033
2063
|
function Mi(e, t) {
|
|
2034
|
-
var n, r, s, i = this._eras ||
|
|
2064
|
+
var n, r, s, i = this._eras || J("en")._eras;
|
|
2035
2065
|
for (n = 0, r = i.length; n < r; ++n) {
|
|
2036
2066
|
switch (typeof i[n].since) {
|
|
2037
2067
|
case "string":
|
|
@@ -2123,12 +2153,12 @@ function Ri(e, t) {
|
|
|
2123
2153
|
return t.erasNarrowRegex(e);
|
|
2124
2154
|
}
|
|
2125
2155
|
function Pi(e, t) {
|
|
2126
|
-
return t._eraYearOrdinalRegex ||
|
|
2156
|
+
return t._eraYearOrdinalRegex || ce;
|
|
2127
2157
|
}
|
|
2128
2158
|
function bt() {
|
|
2129
2159
|
var e = [], t = [], n = [], r = [], s, i, a, l, c, _ = this.eras();
|
|
2130
2160
|
for (s = 0, i = _.length; s < i; ++s)
|
|
2131
|
-
a =
|
|
2161
|
+
a = Z(_[s].name), l = Z(_[s].abbr), c = Z(_[s].narrow), t.push(a), e.push(l), n.push(c), r.push(a), r.push(l), r.push(c);
|
|
2132
2162
|
this._erasRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2133
2163
|
"^(" + n.join("|") + ")",
|
|
2134
2164
|
"i"
|
|
@@ -2140,28 +2170,28 @@ h(0, ["gg", 2], 0, function() {
|
|
|
2140
2170
|
h(0, ["GG", 2], 0, function() {
|
|
2141
2171
|
return this.isoWeekYear() % 100;
|
|
2142
2172
|
});
|
|
2143
|
-
function
|
|
2173
|
+
function qe(e, t) {
|
|
2144
2174
|
h(0, [e, e.length], 0, t);
|
|
2145
2175
|
}
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
d("G",
|
|
2151
|
-
d("g",
|
|
2152
|
-
d("GG", M,
|
|
2153
|
-
d("gg", M,
|
|
2176
|
+
qe("gggg", "weekYear");
|
|
2177
|
+
qe("ggggg", "weekYear");
|
|
2178
|
+
qe("GGGG", "isoWeekYear");
|
|
2179
|
+
qe("GGGGG", "isoWeekYear");
|
|
2180
|
+
d("G", Ue);
|
|
2181
|
+
d("g", Ue);
|
|
2182
|
+
d("GG", M, x);
|
|
2183
|
+
d("gg", M, x);
|
|
2154
2184
|
d("GGGG", mt, ft);
|
|
2155
2185
|
d("gggg", mt, ft);
|
|
2156
|
-
d("GGGGG",
|
|
2157
|
-
d("ggggg",
|
|
2158
|
-
|
|
2186
|
+
d("GGGGG", Fe, He);
|
|
2187
|
+
d("ggggg", Fe, He);
|
|
2188
|
+
Se(
|
|
2159
2189
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2160
2190
|
function(e, t, n, r) {
|
|
2161
2191
|
t[r.substr(0, 2)] = m(e);
|
|
2162
2192
|
}
|
|
2163
2193
|
);
|
|
2164
|
-
|
|
2194
|
+
Se(["gg", "GG"], function(e, t, n, r) {
|
|
2165
2195
|
t[r] = u.parseTwoDigitYear(e);
|
|
2166
2196
|
});
|
|
2167
2197
|
function Wi(e) {
|
|
@@ -2185,48 +2215,48 @@ function Ei(e) {
|
|
|
2185
2215
|
);
|
|
2186
2216
|
}
|
|
2187
2217
|
function Li() {
|
|
2188
|
-
return
|
|
2218
|
+
return $(this.year(), 1, 4);
|
|
2189
2219
|
}
|
|
2190
2220
|
function Hi() {
|
|
2191
|
-
return
|
|
2221
|
+
return $(this.isoWeekYear(), 1, 4);
|
|
2192
2222
|
}
|
|
2193
2223
|
function Ai() {
|
|
2194
2224
|
var e = this.localeData()._week;
|
|
2195
|
-
return
|
|
2225
|
+
return $(this.year(), e.dow, e.doy);
|
|
2196
2226
|
}
|
|
2197
2227
|
function Fi() {
|
|
2198
2228
|
var e = this.localeData()._week;
|
|
2199
|
-
return
|
|
2229
|
+
return $(this.weekYear(), e.dow, e.doy);
|
|
2200
2230
|
}
|
|
2201
2231
|
function wn(e, t, n, r, s) {
|
|
2202
2232
|
var i;
|
|
2203
|
-
return e == null ?
|
|
2233
|
+
return e == null ? we(this, r, s).year : (i = $(e, r, s), t > i && (t = i), Ui.call(this, e, t, n, r, s));
|
|
2204
2234
|
}
|
|
2205
2235
|
function Ui(e, t, n, r, s) {
|
|
2206
|
-
var i = Xt(e, t, n, r, s), a =
|
|
2236
|
+
var i = Xt(e, t, n, r, s), a = pe(i.year, 0, i.dayOfYear);
|
|
2207
2237
|
return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this;
|
|
2208
2238
|
}
|
|
2209
2239
|
h("Q", 0, "Qo", "quarter");
|
|
2210
2240
|
d("Q", It);
|
|
2211
2241
|
p("Q", function(e, t) {
|
|
2212
|
-
t[
|
|
2242
|
+
t[q] = (m(e) - 1) * 3;
|
|
2213
2243
|
});
|
|
2214
2244
|
function Ii(e) {
|
|
2215
2245
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2216
2246
|
}
|
|
2217
2247
|
h("D", ["DD", 2], "Do", "date");
|
|
2218
|
-
d("D", M,
|
|
2219
|
-
d("DD", M,
|
|
2248
|
+
d("D", M, fe);
|
|
2249
|
+
d("DD", M, x);
|
|
2220
2250
|
d("Do", function(e, t) {
|
|
2221
2251
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2222
2252
|
});
|
|
2223
|
-
p(["D", "DD"],
|
|
2253
|
+
p(["D", "DD"], H);
|
|
2224
2254
|
p("Do", function(e, t) {
|
|
2225
|
-
t[
|
|
2255
|
+
t[H] = m(e.match(M)[0]);
|
|
2226
2256
|
});
|
|
2227
|
-
var Mn =
|
|
2257
|
+
var Mn = me("Date", !0);
|
|
2228
2258
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2229
|
-
d("DDD",
|
|
2259
|
+
d("DDD", Ae);
|
|
2230
2260
|
d("DDDD", jt);
|
|
2231
2261
|
p(["DDD", "DDDD"], function(e, t, n) {
|
|
2232
2262
|
n._dayOfYear = m(e);
|
|
@@ -2239,14 +2269,14 @@ function ji(e) {
|
|
|
2239
2269
|
}
|
|
2240
2270
|
h("m", ["mm", 2], 0, "minute");
|
|
2241
2271
|
d("m", M, _t);
|
|
2242
|
-
d("mm", M,
|
|
2243
|
-
p(["m", "mm"],
|
|
2244
|
-
var Gi =
|
|
2272
|
+
d("mm", M, x);
|
|
2273
|
+
p(["m", "mm"], P);
|
|
2274
|
+
var Gi = me("Minutes", !1);
|
|
2245
2275
|
h("s", ["ss", 2], 0, "second");
|
|
2246
2276
|
d("s", M, _t);
|
|
2247
|
-
d("ss", M,
|
|
2248
|
-
p(["s", "ss"],
|
|
2249
|
-
var Vi =
|
|
2277
|
+
d("ss", M, x);
|
|
2278
|
+
p(["s", "ss"], z);
|
|
2279
|
+
var Vi = me("Seconds", !1);
|
|
2250
2280
|
h("S", 0, 0, function() {
|
|
2251
2281
|
return ~~(this.millisecond() / 100);
|
|
2252
2282
|
});
|
|
@@ -2272,18 +2302,18 @@ h(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2272
2302
|
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2273
2303
|
return this.millisecond() * 1e6;
|
|
2274
2304
|
});
|
|
2275
|
-
d("S",
|
|
2276
|
-
d("SS",
|
|
2277
|
-
d("SSS",
|
|
2278
|
-
var
|
|
2279
|
-
for (
|
|
2280
|
-
d(
|
|
2305
|
+
d("S", Ae, It);
|
|
2306
|
+
d("SS", Ae, x);
|
|
2307
|
+
d("SSS", Ae, jt);
|
|
2308
|
+
var ee, kn;
|
|
2309
|
+
for (ee = "SSSS"; ee.length <= 9; ee += "S")
|
|
2310
|
+
d(ee, ce);
|
|
2281
2311
|
function qi(e, t) {
|
|
2282
|
-
t[
|
|
2312
|
+
t[re] = m(("0." + e) * 1e3);
|
|
2283
2313
|
}
|
|
2284
|
-
for (
|
|
2285
|
-
p(
|
|
2286
|
-
kn =
|
|
2314
|
+
for (ee = "S"; ee.length <= 9; ee += "S")
|
|
2315
|
+
p(ee, qi);
|
|
2316
|
+
kn = me("Milliseconds", !1);
|
|
2287
2317
|
h("z", 0, 0, "zoneAbbr");
|
|
2288
2318
|
h("zz", 0, 0, "zoneName");
|
|
2289
2319
|
function zi() {
|
|
@@ -2292,7 +2322,7 @@ function zi() {
|
|
|
2292
2322
|
function Zi() {
|
|
2293
2323
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2294
2324
|
}
|
|
2295
|
-
var o =
|
|
2325
|
+
var o = Ye.prototype;
|
|
2296
2326
|
o.add = Fs;
|
|
2297
2327
|
o.calendar = zs;
|
|
2298
2328
|
o.clone = Zs;
|
|
@@ -2305,8 +2335,8 @@ o.to = oi;
|
|
|
2305
2335
|
o.toNow = ui;
|
|
2306
2336
|
o.get = rr;
|
|
2307
2337
|
o.invalidAt = pi;
|
|
2308
|
-
o.isAfter =
|
|
2309
|
-
o.isBefore =
|
|
2338
|
+
o.isAfter = $s;
|
|
2339
|
+
o.isBefore = Bs;
|
|
2310
2340
|
o.isBetween = Js;
|
|
2311
2341
|
o.isSame = Qs;
|
|
2312
2342
|
o.isSameOrAfter = Xs;
|
|
@@ -2372,30 +2402,30 @@ o.isUtc = dn;
|
|
|
2372
2402
|
o.isUTC = dn;
|
|
2373
2403
|
o.zoneAbbr = zi;
|
|
2374
2404
|
o.zoneName = Zi;
|
|
2375
|
-
o.dates =
|
|
2405
|
+
o.dates = C(
|
|
2376
2406
|
"dates accessor is deprecated. Use date instead.",
|
|
2377
2407
|
Mn
|
|
2378
2408
|
);
|
|
2379
|
-
o.months =
|
|
2409
|
+
o.months = C(
|
|
2380
2410
|
"months accessor is deprecated. Use month instead",
|
|
2381
2411
|
Jt
|
|
2382
2412
|
);
|
|
2383
|
-
o.years =
|
|
2413
|
+
o.years = C(
|
|
2384
2414
|
"years accessor is deprecated. Use year instead",
|
|
2385
2415
|
qt
|
|
2386
2416
|
);
|
|
2387
|
-
o.zone =
|
|
2417
|
+
o.zone = C(
|
|
2388
2418
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2389
2419
|
bs
|
|
2390
2420
|
);
|
|
2391
|
-
o.isDSTShifted =
|
|
2421
|
+
o.isDSTShifted = C(
|
|
2392
2422
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2393
2423
|
Ps
|
|
2394
2424
|
);
|
|
2395
|
-
function
|
|
2425
|
+
function $i(e) {
|
|
2396
2426
|
return w(e * 1e3);
|
|
2397
2427
|
}
|
|
2398
|
-
function
|
|
2428
|
+
function Bi() {
|
|
2399
2429
|
return w.apply(null, arguments).parseZone();
|
|
2400
2430
|
}
|
|
2401
2431
|
function Yn(e) {
|
|
@@ -2434,25 +2464,25 @@ v.weekdaysShortRegex = Fr;
|
|
|
2434
2464
|
v.weekdaysMinRegex = Ur;
|
|
2435
2465
|
v.isPM = jr;
|
|
2436
2466
|
v.meridiem = qr;
|
|
2437
|
-
function
|
|
2438
|
-
var s =
|
|
2467
|
+
function Ee(e, t, n, r) {
|
|
2468
|
+
var s = J(), i = F().set(r, t);
|
|
2439
2469
|
return s[n](i, e);
|
|
2440
2470
|
}
|
|
2441
2471
|
function Dn(e, t, n) {
|
|
2442
|
-
if (
|
|
2443
|
-
return
|
|
2472
|
+
if (B(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2473
|
+
return Ee(e, t, n, "month");
|
|
2444
2474
|
var r, s = [];
|
|
2445
2475
|
for (r = 0; r < 12; r++)
|
|
2446
|
-
s[r] =
|
|
2476
|
+
s[r] = Ee(e, r, n, "month");
|
|
2447
2477
|
return s;
|
|
2448
2478
|
}
|
|
2449
2479
|
function Tt(e, t, n, r) {
|
|
2450
|
-
typeof e == "boolean" ? (
|
|
2451
|
-
var s =
|
|
2480
|
+
typeof e == "boolean" ? (B(t) && (n = t, t = void 0), t = t || "") : (t = e, n = t, e = !1, B(t) && (n = t, t = void 0), t = t || "");
|
|
2481
|
+
var s = J(), i = e ? s._week.dow : 0, a, l = [];
|
|
2452
2482
|
if (n != null)
|
|
2453
|
-
return
|
|
2483
|
+
return Ee(t, (n + i) % 7, r, "day");
|
|
2454
2484
|
for (a = 0; a < 7; a++)
|
|
2455
|
-
l[a] =
|
|
2485
|
+
l[a] = Ee(t, (a + i) % 7, r, "day");
|
|
2456
2486
|
return l;
|
|
2457
2487
|
}
|
|
2458
2488
|
function Ji(e, t) {
|
|
@@ -2470,7 +2500,7 @@ function Ki(e, t, n) {
|
|
|
2470
2500
|
function ea(e, t, n) {
|
|
2471
2501
|
return Tt(e, t, n, "weekdaysMin");
|
|
2472
2502
|
}
|
|
2473
|
-
|
|
2503
|
+
te("en", {
|
|
2474
2504
|
eras: [
|
|
2475
2505
|
{
|
|
2476
2506
|
since: "0001-01-01",
|
|
@@ -2495,21 +2525,21 @@ K("en", {
|
|
|
2495
2525
|
return e + n;
|
|
2496
2526
|
}
|
|
2497
2527
|
});
|
|
2498
|
-
u.lang =
|
|
2528
|
+
u.lang = C(
|
|
2499
2529
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2500
|
-
|
|
2530
|
+
te
|
|
2501
2531
|
);
|
|
2502
|
-
u.langData =
|
|
2532
|
+
u.langData = C(
|
|
2503
2533
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2504
|
-
|
|
2534
|
+
J
|
|
2505
2535
|
);
|
|
2506
|
-
var
|
|
2536
|
+
var j = Math.abs;
|
|
2507
2537
|
function ta() {
|
|
2508
2538
|
var e = this._data;
|
|
2509
|
-
return this._milliseconds =
|
|
2539
|
+
return this._milliseconds = j(this._milliseconds), this._days = j(this._days), this._months = j(this._months), e.milliseconds = j(e.milliseconds), e.seconds = j(e.seconds), e.minutes = j(e.minutes), e.hours = j(e.hours), e.months = j(e.months), e.years = j(e.years), this;
|
|
2510
2540
|
}
|
|
2511
2541
|
function Sn(e, t, n, r) {
|
|
2512
|
-
var s =
|
|
2542
|
+
var s = L(t, n);
|
|
2513
2543
|
return e._milliseconds += r * s._milliseconds, e._days += r * s._days, e._months += r * s._months, e._bubble();
|
|
2514
2544
|
}
|
|
2515
2545
|
function na(e, t) {
|
|
@@ -2523,7 +2553,7 @@ function Wt(e) {
|
|
|
2523
2553
|
}
|
|
2524
2554
|
function sa() {
|
|
2525
2555
|
var e = this._milliseconds, t = this._days, n = this._months, r = this._data, s, i, a, l, c;
|
|
2526
|
-
return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += Wt(at(n) + t) * 864e5, t = 0, n = 0), r.milliseconds = e % 1e3, s =
|
|
2556
|
+
return e >= 0 && t >= 0 && n >= 0 || e <= 0 && t <= 0 && n <= 0 || (e += Wt(at(n) + t) * 864e5, t = 0, n = 0), r.milliseconds = e % 1e3, s = N(e / 1e3), r.seconds = s % 60, i = N(s / 60), r.minutes = i % 60, a = N(i / 60), r.hours = a % 24, t += N(a / 24), c = N(On(t)), n += c, t -= Wt(at(c)), l = N(n / 12), n %= 12, r.days = t, r.months = n, r.years = l, this;
|
|
2527
2557
|
}
|
|
2528
2558
|
function On(e) {
|
|
2529
2559
|
return e * 4800 / 146097;
|
|
@@ -2535,7 +2565,7 @@ function ia(e) {
|
|
|
2535
2565
|
if (!this.isValid())
|
|
2536
2566
|
return NaN;
|
|
2537
2567
|
var t, n, r = this._milliseconds;
|
|
2538
|
-
if (e =
|
|
2568
|
+
if (e = R(e), e === "month" || e === "quarter" || e === "year")
|
|
2539
2569
|
switch (t = this._days + r / 864e5, n = this._months + On(t), e) {
|
|
2540
2570
|
case "month":
|
|
2541
2571
|
return n;
|
|
@@ -2562,28 +2592,28 @@ function ia(e) {
|
|
|
2562
2592
|
throw new Error("Unknown unit " + e);
|
|
2563
2593
|
}
|
|
2564
2594
|
}
|
|
2565
|
-
function
|
|
2595
|
+
function Q(e) {
|
|
2566
2596
|
return function() {
|
|
2567
2597
|
return this.as(e);
|
|
2568
2598
|
};
|
|
2569
2599
|
}
|
|
2570
|
-
var bn =
|
|
2600
|
+
var bn = Q("ms"), aa = Q("s"), oa = Q("m"), ua = Q("h"), la = Q("d"), da = Q("w"), ha = Q("M"), ca = Q("Q"), fa = Q("y"), ma = bn;
|
|
2571
2601
|
function _a() {
|
|
2572
|
-
return
|
|
2602
|
+
return L(this);
|
|
2573
2603
|
}
|
|
2574
2604
|
function ya(e) {
|
|
2575
|
-
return e =
|
|
2605
|
+
return e = R(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2576
2606
|
}
|
|
2577
|
-
function
|
|
2607
|
+
function ie(e) {
|
|
2578
2608
|
return function() {
|
|
2579
2609
|
return this.isValid() ? this._data[e] : NaN;
|
|
2580
2610
|
};
|
|
2581
2611
|
}
|
|
2582
|
-
var ga =
|
|
2612
|
+
var ga = ie("milliseconds"), va = ie("seconds"), pa = ie("minutes"), wa = ie("hours"), Ma = ie("days"), ka = ie("months"), Ya = ie("years");
|
|
2583
2613
|
function Da() {
|
|
2584
|
-
return
|
|
2614
|
+
return N(this.days() / 7);
|
|
2585
2615
|
}
|
|
2586
|
-
var
|
|
2616
|
+
var G = Math.round, ue = {
|
|
2587
2617
|
ss: 44,
|
|
2588
2618
|
// a few seconds to seconds
|
|
2589
2619
|
s: 45,
|
|
@@ -2603,32 +2633,32 @@ function Sa(e, t, n, r, s) {
|
|
|
2603
2633
|
return s.relativeTime(t || 1, !!n, e, r);
|
|
2604
2634
|
}
|
|
2605
2635
|
function Oa(e, t, n, r) {
|
|
2606
|
-
var s =
|
|
2607
|
-
return n.w != null && (
|
|
2636
|
+
var s = L(e).abs(), i = G(s.as("s")), a = G(s.as("m")), l = G(s.as("h")), c = G(s.as("d")), _ = G(s.as("M")), O = G(s.as("w")), I = G(s.as("y")), X = i <= n.ss && ["s", i] || i < n.s && ["ss", i] || a <= 1 && ["m"] || a < n.m && ["mm", a] || l <= 1 && ["h"] || l < n.h && ["hh", l] || c <= 1 && ["d"] || c < n.d && ["dd", c];
|
|
2637
|
+
return n.w != null && (X = X || O <= 1 && ["w"] || O < n.w && ["ww", O]), X = X || _ <= 1 && ["M"] || _ < n.M && ["MM", _] || I <= 1 && ["y"] || ["yy", I], X[2] = t, X[3] = +e > 0, X[4] = r, Sa.apply(null, X);
|
|
2608
2638
|
}
|
|
2609
2639
|
function ba(e) {
|
|
2610
|
-
return e === void 0 ?
|
|
2640
|
+
return e === void 0 ? G : typeof e == "function" ? (G = e, !0) : !1;
|
|
2611
2641
|
}
|
|
2612
2642
|
function Ta(e, t) {
|
|
2613
|
-
return
|
|
2643
|
+
return ue[e] === void 0 ? !1 : t === void 0 ? ue[e] : (ue[e] = t, e === "s" && (ue.ss = t - 1), !0);
|
|
2614
2644
|
}
|
|
2615
2645
|
function xa(e, t) {
|
|
2616
2646
|
if (!this.isValid())
|
|
2617
2647
|
return this.localeData().invalidDate();
|
|
2618
|
-
var n = !1, r =
|
|
2619
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (n = e), typeof t == "object" && (r = Object.assign({},
|
|
2648
|
+
var n = !1, r = ue, s, i;
|
|
2649
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (n = e), typeof t == "object" && (r = Object.assign({}, ue, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), s = this.localeData(), i = Oa(this, !n, r, s), n && (i = s.pastFuture(+this, i)), s.postformat(i);
|
|
2620
2650
|
}
|
|
2621
2651
|
var Xe = Math.abs;
|
|
2622
|
-
function
|
|
2652
|
+
function ae(e) {
|
|
2623
2653
|
return (e > 0) - (e < 0) || +e;
|
|
2624
2654
|
}
|
|
2625
|
-
function
|
|
2655
|
+
function ze() {
|
|
2626
2656
|
if (!this.isValid())
|
|
2627
2657
|
return this.localeData().invalidDate();
|
|
2628
|
-
var e = Xe(this._milliseconds) / 1e3, t = Xe(this._days), n = Xe(this._months), r, s, i, a, l = this.asSeconds(), c, _, O,
|
|
2629
|
-
return l ? (r =
|
|
2658
|
+
var e = Xe(this._milliseconds) / 1e3, t = Xe(this._days), n = Xe(this._months), r, s, i, a, l = this.asSeconds(), c, _, O, I;
|
|
2659
|
+
return l ? (r = N(e / 60), s = N(r / 60), e %= 60, r %= 60, i = N(n / 12), n %= 12, a = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", c = l < 0 ? "-" : "", _ = ae(this._months) !== ae(l) ? "-" : "", O = ae(this._days) !== ae(l) ? "-" : "", I = ae(this._milliseconds) !== ae(l) ? "-" : "", c + "P" + (i ? _ + i + "Y" : "") + (n ? _ + n + "M" : "") + (t ? O + t + "D" : "") + (s || r || e ? "T" : "") + (s ? I + s + "H" : "") + (r ? I + r + "M" : "") + (e ? I + a + "S" : "")) : "P0D";
|
|
2630
2660
|
}
|
|
2631
|
-
var y =
|
|
2661
|
+
var y = Ve.prototype;
|
|
2632
2662
|
y.isValid = ks;
|
|
2633
2663
|
y.abs = ta;
|
|
2634
2664
|
y.add = na;
|
|
@@ -2656,19 +2686,19 @@ y.weeks = Da;
|
|
|
2656
2686
|
y.months = ka;
|
|
2657
2687
|
y.years = Ya;
|
|
2658
2688
|
y.humanize = xa;
|
|
2659
|
-
y.toISOString =
|
|
2660
|
-
y.toString =
|
|
2661
|
-
y.toJSON =
|
|
2689
|
+
y.toISOString = ze;
|
|
2690
|
+
y.toString = ze;
|
|
2691
|
+
y.toJSON = ze;
|
|
2662
2692
|
y.locale = mn;
|
|
2663
2693
|
y.localeData = yn;
|
|
2664
|
-
y.toIsoString =
|
|
2694
|
+
y.toIsoString = C(
|
|
2665
2695
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2666
|
-
|
|
2696
|
+
ze
|
|
2667
2697
|
);
|
|
2668
2698
|
y.lang = _n;
|
|
2669
2699
|
h("X", 0, 0, "unix");
|
|
2670
2700
|
h("x", 0, 0, "valueOf");
|
|
2671
|
-
d("x",
|
|
2701
|
+
d("x", Ue);
|
|
2672
2702
|
d("X", Jn);
|
|
2673
2703
|
p("X", function(e, t, n) {
|
|
2674
2704
|
n._d = new Date(parseFloat(e) * 1e3);
|
|
@@ -2683,25 +2713,25 @@ u.fn = o;
|
|
|
2683
2713
|
u.min = vs;
|
|
2684
2714
|
u.max = ps;
|
|
2685
2715
|
u.now = ws;
|
|
2686
|
-
u.utc =
|
|
2687
|
-
u.unix =
|
|
2716
|
+
u.utc = F;
|
|
2717
|
+
u.unix = $i;
|
|
2688
2718
|
u.months = Ji;
|
|
2689
|
-
u.isDate =
|
|
2690
|
-
u.locale =
|
|
2691
|
-
u.invalid =
|
|
2692
|
-
u.duration =
|
|
2693
|
-
u.isMoment =
|
|
2719
|
+
u.isDate = ke;
|
|
2720
|
+
u.locale = te;
|
|
2721
|
+
u.invalid = Le;
|
|
2722
|
+
u.duration = L;
|
|
2723
|
+
u.isMoment = E;
|
|
2694
2724
|
u.weekdays = Xi;
|
|
2695
|
-
u.parseZone =
|
|
2696
|
-
u.localeData =
|
|
2697
|
-
u.isDuration =
|
|
2725
|
+
u.parseZone = Bi;
|
|
2726
|
+
u.localeData = J;
|
|
2727
|
+
u.isDuration = xe;
|
|
2698
2728
|
u.monthsShort = Qi;
|
|
2699
2729
|
u.weekdaysMin = ea;
|
|
2700
2730
|
u.defineLocale = wt;
|
|
2701
|
-
u.updateLocale =
|
|
2731
|
+
u.updateLocale = Br;
|
|
2702
2732
|
u.locales = Jr;
|
|
2703
2733
|
u.weekdaysShort = Ki;
|
|
2704
|
-
u.normalizeUnits =
|
|
2734
|
+
u.normalizeUnits = R;
|
|
2705
2735
|
u.relativeTimeRounding = ba;
|
|
2706
2736
|
u.relativeTimeThreshold = Ta;
|
|
2707
2737
|
u.calendarFormat = qs;
|
|
@@ -2811,7 +2841,7 @@ const Na = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2811
2841
|
}
|
|
2812
2842
|
};
|
|
2813
2843
|
u.locale("fr", Ra);
|
|
2814
|
-
const Pa = (e) => Math.round(5e3 * Math.pow(200, 0.01 * e) / 10) * 10, Tn = (e) => e >= 1 ? Tn(e - 1) + Pa(e) : 0, Wa = (e, t = 0) => e < Tn(t + 1) ? t : Wa(e, t + 1), za = ([e, t]) => t ? `${
|
|
2844
|
+
const Pa = (e) => Math.round(5e3 * Math.pow(200, 0.01 * e) / 10) * 10, Tn = (e) => e >= 1 ? Tn(e - 1) + Pa(e) : 0, Wa = (e, t = 0) => e < Tn(t + 1) ? t : Wa(e, t + 1), za = ([e, t]) => t ? `${V("xp.user", { amount: $e(e), emoji: Ze.xp })} ${V("xp.crew", { amount: $e(t), emoji: Ze.xp })}` : V("xp.user", { amount: $e(e), emoji: Ze.xp });
|
|
2815
2845
|
export {
|
|
2816
2846
|
Ha as CHARACTERISTICS,
|
|
2817
2847
|
xn as CHARACTERISTIC_DEFAULT_POINT_COST,
|
|
@@ -2822,7 +2852,7 @@ export {
|
|
|
2822
2852
|
ja as FACTIONS,
|
|
2823
2853
|
Ia as HP_PER_VITALITY,
|
|
2824
2854
|
La as RANKS,
|
|
2825
|
-
|
|
2855
|
+
T as RankId,
|
|
2826
2856
|
Va as SORT_VALUES,
|
|
2827
2857
|
za as displayXp,
|
|
2828
2858
|
Wa as getCurrentLevel,
|