@opfr/utils-type 0.18.0 → 0.18.1
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 +1314 -1302
- package/dist/index.umd.js +6 -6
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tns as V } from "@opfr/translate";
|
|
2
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
|
-
const
|
|
3
|
+
const Ui = {
|
|
4
4
|
BASIC: {
|
|
5
5
|
color: "#fff",
|
|
6
6
|
strength: 0,
|
|
@@ -44,12 +44,12 @@ const Ii = {
|
|
|
44
44
|
"intelligence",
|
|
45
45
|
"chance",
|
|
46
46
|
"wisdom"
|
|
47
|
-
], Gi = 10,
|
|
47
|
+
], Gi = 10, xr = 1, Vi = [
|
|
48
48
|
[200, 4],
|
|
49
49
|
[100, 3],
|
|
50
50
|
[50, 2],
|
|
51
|
-
[0,
|
|
52
|
-
],
|
|
51
|
+
[0, xr]
|
|
52
|
+
], zi = 100, $i = 10, qi = {
|
|
53
53
|
pirate: {
|
|
54
54
|
name: "pirate",
|
|
55
55
|
color: "#8A1623",
|
|
@@ -70,7 +70,7 @@ const Ii = {
|
|
|
70
70
|
color: "#fff",
|
|
71
71
|
role: "1147953458507423874"
|
|
72
72
|
}
|
|
73
|
-
},
|
|
73
|
+
}, Zi = "citizen", Bi = ["category", "alpha", "quantity"], Ji = (e, t) => t === null ? null : e === t ? `-${e}` : t, Rr = {
|
|
74
74
|
adventurer_strap: "<:adventurer_strap:1253041086147068035>",
|
|
75
75
|
adventurer_collar: "<:adventurer_collar:1253041084611690567>",
|
|
76
76
|
adventurer_boots: "<:adventurer_boots:1253041083252867123>",
|
|
@@ -103,7 +103,7 @@ const Ii = {
|
|
|
103
103
|
christmas_helmet: "<:Chapeau_de_Noel:1302993343051202701>",
|
|
104
104
|
christmas_weapon: "<:Canne_de_Noel:1302993339666272266>",
|
|
105
105
|
christmas_belt: "<:Ceinture_de_Noel:1302993340849066045>"
|
|
106
|
-
},
|
|
106
|
+
}, Nr = {
|
|
107
107
|
background: "<:background:1178465681809887334>",
|
|
108
108
|
title: "<:title:1178465688915038208>",
|
|
109
109
|
chest_1: "<:lootbox1:1186689926167810088>",
|
|
@@ -230,7 +230,7 @@ const Ii = {
|
|
|
230
230
|
little_cookie_christmas: "<:Petit_Biscuit_de_Noel:1303022418951934002>",
|
|
231
231
|
christmas_present: "<:CadeaudeNoel:1309501482252501094>",
|
|
232
232
|
aeronef: "<:Aeronef:1312419591812812861>"
|
|
233
|
-
},
|
|
233
|
+
}, qe = {
|
|
234
234
|
d1: "<:d1:1159542168738873455>",
|
|
235
235
|
d2: "<:d2:1159542071049334814>",
|
|
236
236
|
d3: "<:d3:1159542073914032191>",
|
|
@@ -347,28 +347,28 @@ const Ii = {
|
|
|
347
347
|
wisdom: "<:wisdom:1251861017231884378>"
|
|
348
348
|
},
|
|
349
349
|
bag: "<:sacdosbleu:1320873412121460837>",
|
|
350
|
-
items:
|
|
351
|
-
equipments:
|
|
352
|
-
}
|
|
350
|
+
items: Nr,
|
|
351
|
+
equipments: Rr
|
|
352
|
+
};
|
|
353
353
|
//! moment.js
|
|
354
354
|
//! version : 2.30.1
|
|
355
355
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
356
356
|
//! license : MIT
|
|
357
357
|
//! momentjs.com
|
|
358
|
-
var
|
|
359
|
-
function
|
|
360
|
-
return
|
|
358
|
+
var Lt;
|
|
359
|
+
function l() {
|
|
360
|
+
return Lt.apply(null, arguments);
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
|
|
362
|
+
function Pr(e) {
|
|
363
|
+
Lt = e;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function W(e) {
|
|
366
366
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
367
367
|
}
|
|
368
368
|
function ae(e) {
|
|
369
369
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function w(e, t) {
|
|
372
372
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
373
373
|
}
|
|
374
374
|
function ot(e) {
|
|
@@ -376,34 +376,34 @@ function ot(e) {
|
|
|
376
376
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
377
377
|
var t;
|
|
378
378
|
for (t in e)
|
|
379
|
-
if (
|
|
379
|
+
if (w(e, t))
|
|
380
380
|
return !1;
|
|
381
381
|
return !0;
|
|
382
382
|
}
|
|
383
383
|
function O(e) {
|
|
384
384
|
return e === void 0;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function B(e) {
|
|
387
387
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function ve(e) {
|
|
390
390
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
391
391
|
}
|
|
392
|
-
function
|
|
393
|
-
var
|
|
394
|
-
for (
|
|
395
|
-
|
|
396
|
-
return
|
|
392
|
+
function Et(e, t) {
|
|
393
|
+
var r = [], s, a = e.length;
|
|
394
|
+
for (s = 0; s < a; ++s)
|
|
395
|
+
r.push(t(e[s], s));
|
|
396
|
+
return r;
|
|
397
397
|
}
|
|
398
|
-
function
|
|
399
|
-
for (var
|
|
400
|
-
|
|
401
|
-
return
|
|
398
|
+
function X(e, t) {
|
|
399
|
+
for (var r in t)
|
|
400
|
+
w(t, r) && (e[r] = t[r]);
|
|
401
|
+
return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
402
402
|
}
|
|
403
|
-
function
|
|
404
|
-
return
|
|
403
|
+
function I(e, t, r, s) {
|
|
404
|
+
return ir(e, t, r, s, !0).utc();
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function Cr() {
|
|
407
407
|
return {
|
|
408
408
|
empty: !1,
|
|
409
409
|
unusedTokens: [],
|
|
@@ -424,108 +424,108 @@ function En() {
|
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
426
|
function f(e) {
|
|
427
|
-
return e._pf == null && (e._pf =
|
|
427
|
+
return e._pf == null && (e._pf = Cr()), e._pf;
|
|
428
428
|
}
|
|
429
429
|
var et;
|
|
430
430
|
Array.prototype.some ? et = Array.prototype.some : et = function(e) {
|
|
431
|
-
var t = Object(this),
|
|
432
|
-
for (
|
|
433
|
-
if (
|
|
431
|
+
var t = Object(this), r = t.length >>> 0, s;
|
|
432
|
+
for (s = 0; s < r; s++)
|
|
433
|
+
if (s in t && e.call(this, t[s], s, t))
|
|
434
434
|
return !0;
|
|
435
435
|
return !1;
|
|
436
436
|
};
|
|
437
|
-
function
|
|
438
|
-
var t = null,
|
|
439
|
-
if (
|
|
437
|
+
function lt(e) {
|
|
438
|
+
var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
|
|
439
|
+
if (s && (t = f(e), r = et.call(t.parsedDateParts, function(a) {
|
|
440
440
|
return a != null;
|
|
441
|
-
}),
|
|
442
|
-
e._isValid =
|
|
441
|
+
}), 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))
|
|
442
|
+
e._isValid = s;
|
|
443
443
|
else
|
|
444
|
-
return
|
|
444
|
+
return s;
|
|
445
445
|
return e._isValid;
|
|
446
446
|
}
|
|
447
|
-
function
|
|
448
|
-
var t =
|
|
449
|
-
return e != null ?
|
|
447
|
+
function Le(e) {
|
|
448
|
+
var t = I(NaN);
|
|
449
|
+
return e != null ? X(f(t), e) : f(t).userInvalidated = !0, t;
|
|
450
450
|
}
|
|
451
|
-
var xt =
|
|
452
|
-
function
|
|
453
|
-
var
|
|
454
|
-
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 = f(t)), O(t._locale) || (e._locale = t._locale),
|
|
455
|
-
for (
|
|
456
|
-
|
|
451
|
+
var xt = l.momentProperties = [], Ze = !1;
|
|
452
|
+
function ut(e, t) {
|
|
453
|
+
var r, s, a, n = xt.length;
|
|
454
|
+
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 = f(t)), O(t._locale) || (e._locale = t._locale), n > 0)
|
|
455
|
+
for (r = 0; r < n; r++)
|
|
456
|
+
s = xt[r], a = t[s], O(a) || (e[s] = a);
|
|
457
457
|
return e;
|
|
458
458
|
}
|
|
459
|
-
function
|
|
460
|
-
|
|
459
|
+
function Se(e) {
|
|
460
|
+
ut(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);
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
return e instanceof
|
|
462
|
+
function F(e) {
|
|
463
|
+
return e instanceof Se || e != null && e._isAMomentObject != null;
|
|
464
464
|
}
|
|
465
465
|
function At(e) {
|
|
466
|
-
|
|
466
|
+
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
467
467
|
}
|
|
468
468
|
function N(e, t) {
|
|
469
|
-
var
|
|
470
|
-
return
|
|
471
|
-
if (
|
|
472
|
-
var
|
|
473
|
-
for (
|
|
474
|
-
if (a = "", typeof arguments[
|
|
469
|
+
var r = !0;
|
|
470
|
+
return X(function() {
|
|
471
|
+
if (l.deprecationHandler != null && l.deprecationHandler(null, e), r) {
|
|
472
|
+
var s = [], a, n, i, u = arguments.length;
|
|
473
|
+
for (n = 0; n < u; n++) {
|
|
474
|
+
if (a = "", typeof arguments[n] == "object") {
|
|
475
475
|
a += `
|
|
476
|
-
[` +
|
|
476
|
+
[` + n + "] ";
|
|
477
477
|
for (i in arguments[0])
|
|
478
|
-
|
|
478
|
+
w(arguments[0], i) && (a += i + ": " + arguments[0][i] + ", ");
|
|
479
479
|
a = a.slice(0, -2);
|
|
480
480
|
} else
|
|
481
|
-
a = arguments[
|
|
482
|
-
|
|
481
|
+
a = arguments[n];
|
|
482
|
+
s.push(a);
|
|
483
483
|
}
|
|
484
484
|
At(
|
|
485
485
|
e + `
|
|
486
|
-
Arguments: ` + Array.prototype.slice.call(
|
|
486
|
+
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
487
487
|
` + new Error().stack
|
|
488
|
-
),
|
|
488
|
+
), r = !1;
|
|
489
489
|
}
|
|
490
490
|
return t.apply(this, arguments);
|
|
491
491
|
}, t);
|
|
492
492
|
}
|
|
493
|
-
var
|
|
494
|
-
function
|
|
495
|
-
|
|
493
|
+
var Rt = {};
|
|
494
|
+
function It(e, t) {
|
|
495
|
+
l.deprecationHandler != null && l.deprecationHandler(e, t), Rt[e] || (At(t), Rt[e] = !0);
|
|
496
496
|
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
function
|
|
497
|
+
l.suppressDeprecationWarnings = !1;
|
|
498
|
+
l.deprecationHandler = null;
|
|
499
|
+
function H(e) {
|
|
500
500
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
501
501
|
}
|
|
502
|
-
function
|
|
503
|
-
var t,
|
|
504
|
-
for (
|
|
505
|
-
|
|
502
|
+
function Wr(e) {
|
|
503
|
+
var t, r;
|
|
504
|
+
for (r in e)
|
|
505
|
+
w(e, r) && (t = e[r], H(t) ? this[r] = t : this["_" + r] = t);
|
|
506
506
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
507
507
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
510
|
function tt(e, t) {
|
|
511
|
-
var
|
|
512
|
-
for (
|
|
513
|
-
|
|
514
|
-
for (
|
|
515
|
-
|
|
516
|
-
return
|
|
511
|
+
var r = X({}, e), s;
|
|
512
|
+
for (s in t)
|
|
513
|
+
w(t, s) && (ae(e[s]) && ae(t[s]) ? (r[s] = {}, X(r[s], e[s]), X(r[s], t[s])) : t[s] != null ? r[s] = t[s] : delete r[s]);
|
|
514
|
+
for (s in e)
|
|
515
|
+
w(e, s) && !w(t, s) && ae(e[s]) && (r[s] = X({}, r[s]));
|
|
516
|
+
return r;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function dt(e) {
|
|
519
519
|
e != null && this.set(e);
|
|
520
520
|
}
|
|
521
|
-
var
|
|
522
|
-
Object.keys ?
|
|
523
|
-
var t,
|
|
521
|
+
var rt;
|
|
522
|
+
Object.keys ? rt = Object.keys : rt = function(e) {
|
|
523
|
+
var t, r = [];
|
|
524
524
|
for (t in e)
|
|
525
|
-
|
|
526
|
-
return
|
|
525
|
+
w(e, t) && r.push(t);
|
|
526
|
+
return r;
|
|
527
527
|
};
|
|
528
|
-
var
|
|
528
|
+
var Fr = {
|
|
529
529
|
sameDay: "[Today at] LT",
|
|
530
530
|
nextDay: "[Tomorrow at] LT",
|
|
531
531
|
nextWeek: "dddd [at] LT",
|
|
@@ -533,58 +533,58 @@ var Wn = {
|
|
|
533
533
|
lastWeek: "[Last] dddd [at] LT",
|
|
534
534
|
sameElse: "L"
|
|
535
535
|
};
|
|
536
|
-
function
|
|
537
|
-
var
|
|
538
|
-
return
|
|
539
|
-
}
|
|
540
|
-
function A(e, t,
|
|
541
|
-
var
|
|
542
|
-
return (
|
|
543
|
-
}
|
|
544
|
-
var
|
|
545
|
-
function
|
|
546
|
-
var a =
|
|
547
|
-
typeof
|
|
548
|
-
return this[
|
|
549
|
-
}), e && (
|
|
536
|
+
function Lr(e, t, r) {
|
|
537
|
+
var s = this._calendar[e] || this._calendar.sameElse;
|
|
538
|
+
return H(s) ? s.call(t, r) : s;
|
|
539
|
+
}
|
|
540
|
+
function A(e, t, r) {
|
|
541
|
+
var s = "" + Math.abs(e), a = t - s.length, n = e >= 0;
|
|
542
|
+
return (n ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
|
|
543
|
+
}
|
|
544
|
+
var ct = /(\[[^\[]*\])|(\\)?([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, be = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Be = {}, ue = {};
|
|
545
|
+
function c(e, t, r, s) {
|
|
546
|
+
var a = s;
|
|
547
|
+
typeof s == "string" && (a = function() {
|
|
548
|
+
return this[s]();
|
|
549
|
+
}), e && (ue[e] = a), t && (ue[t[0]] = function() {
|
|
550
550
|
return A(a.apply(this, arguments), t[1], t[2]);
|
|
551
|
-
}),
|
|
551
|
+
}), r && (ue[r] = function() {
|
|
552
552
|
return this.localeData().ordinal(
|
|
553
553
|
a.apply(this, arguments),
|
|
554
554
|
e
|
|
555
555
|
);
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Er(e) {
|
|
559
559
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
560
560
|
}
|
|
561
|
-
function
|
|
562
|
-
var t = e.match(
|
|
563
|
-
for (
|
|
564
|
-
|
|
561
|
+
function Ar(e) {
|
|
562
|
+
var t = e.match(ct), r, s;
|
|
563
|
+
for (r = 0, s = t.length; r < s; r++)
|
|
564
|
+
ue[t[r]] ? t[r] = ue[t[r]] : t[r] = Er(t[r]);
|
|
565
565
|
return function(a) {
|
|
566
|
-
var
|
|
567
|
-
for (i = 0; i <
|
|
568
|
-
|
|
569
|
-
return
|
|
566
|
+
var n = "", i;
|
|
567
|
+
for (i = 0; i < s; i++)
|
|
568
|
+
n += H(t[i]) ? t[i].call(a, e) : t[i];
|
|
569
|
+
return n;
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
572
|
function Te(e, t) {
|
|
573
|
-
return e.isValid() ? (t =
|
|
573
|
+
return e.isValid() ? (t = Ht(t, e.localeData()), Be[t] = Be[t] || Ar(t), Be[t](e)) : e.localeData().invalidDate();
|
|
574
574
|
}
|
|
575
|
-
function
|
|
576
|
-
var
|
|
577
|
-
function
|
|
575
|
+
function Ht(e, t) {
|
|
576
|
+
var r = 5;
|
|
577
|
+
function s(a) {
|
|
578
578
|
return t.longDateFormat(a) || a;
|
|
579
579
|
}
|
|
580
|
-
for (
|
|
580
|
+
for (be.lastIndex = 0; r >= 0 && be.test(e); )
|
|
581
581
|
e = e.replace(
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
),
|
|
582
|
+
be,
|
|
583
|
+
s
|
|
584
|
+
), be.lastIndex = 0, r -= 1;
|
|
585
585
|
return e;
|
|
586
586
|
}
|
|
587
|
-
var
|
|
587
|
+
var Ir = {
|
|
588
588
|
LTS: "h:mm:ss A",
|
|
589
589
|
LT: "h:mm A",
|
|
590
590
|
L: "MM/DD/YYYY",
|
|
@@ -592,21 +592,21 @@ var Un = {
|
|
|
592
592
|
LLL: "MMMM D, YYYY h:mm A",
|
|
593
593
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
594
594
|
};
|
|
595
|
-
function
|
|
596
|
-
var t = this._longDateFormat[e],
|
|
597
|
-
return t || !
|
|
598
|
-
return
|
|
595
|
+
function Hr(e) {
|
|
596
|
+
var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
|
|
597
|
+
return t || !r ? t : (this._longDateFormat[e] = r.match(ct).map(function(s) {
|
|
598
|
+
return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
|
|
599
599
|
}).join(""), this._longDateFormat[e]);
|
|
600
600
|
}
|
|
601
|
-
var
|
|
602
|
-
function
|
|
601
|
+
var Ur = "Invalid date";
|
|
602
|
+
function jr() {
|
|
603
603
|
return this._invalidDate;
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
function
|
|
605
|
+
var Gr = "%d", Vr = /\d{1,2}/;
|
|
606
|
+
function zr(e) {
|
|
607
607
|
return this._ordinal.replace("%d", e);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var $r = {
|
|
610
610
|
future: "in %s",
|
|
611
611
|
past: "%s ago",
|
|
612
612
|
s: "a few seconds",
|
|
@@ -624,13 +624,13 @@ var Zn = {
|
|
|
624
624
|
y: "a year",
|
|
625
625
|
yy: "%d years"
|
|
626
626
|
};
|
|
627
|
-
function
|
|
628
|
-
var a = this._relativeTime[
|
|
629
|
-
return
|
|
627
|
+
function qr(e, t, r, s) {
|
|
628
|
+
var a = this._relativeTime[r];
|
|
629
|
+
return H(a) ? a(e, t, r, s) : a.replace(/%d/i, e);
|
|
630
630
|
}
|
|
631
|
-
function
|
|
632
|
-
var
|
|
633
|
-
return
|
|
631
|
+
function Zr(e, t) {
|
|
632
|
+
var r = this._relativeTime[e > 0 ? "future" : "past"];
|
|
633
|
+
return H(r) ? r(t) : r.replace(/%s/i, t);
|
|
634
634
|
}
|
|
635
635
|
var Nt = {
|
|
636
636
|
D: "date",
|
|
@@ -682,16 +682,16 @@ var Nt = {
|
|
|
682
682
|
years: "year",
|
|
683
683
|
year: "year"
|
|
684
684
|
};
|
|
685
|
-
function
|
|
685
|
+
function P(e) {
|
|
686
686
|
return typeof e == "string" ? Nt[e] || Nt[e.toLowerCase()] : void 0;
|
|
687
687
|
}
|
|
688
688
|
function ht(e) {
|
|
689
|
-
var t = {},
|
|
690
|
-
for (
|
|
691
|
-
|
|
689
|
+
var t = {}, r, s;
|
|
690
|
+
for (s in e)
|
|
691
|
+
w(e, s) && (r = P(s), r && (t[r] = e[s]));
|
|
692
692
|
return t;
|
|
693
693
|
}
|
|
694
|
-
var
|
|
694
|
+
var Br = {
|
|
695
695
|
date: 9,
|
|
696
696
|
day: 11,
|
|
697
697
|
weekday: 11,
|
|
@@ -709,169 +709,169 @@ var Jn = {
|
|
|
709
709
|
isoWeek: 5,
|
|
710
710
|
year: 1
|
|
711
711
|
};
|
|
712
|
-
function
|
|
713
|
-
var t = [],
|
|
714
|
-
for (
|
|
715
|
-
|
|
716
|
-
return t.sort(function(
|
|
717
|
-
return
|
|
712
|
+
function Jr(e) {
|
|
713
|
+
var t = [], r;
|
|
714
|
+
for (r in e)
|
|
715
|
+
w(e, r) && t.push({ unit: r, priority: Br[r] });
|
|
716
|
+
return t.sort(function(s, a) {
|
|
717
|
+
return s.priority - a.priority;
|
|
718
718
|
}), t;
|
|
719
719
|
}
|
|
720
|
-
var
|
|
720
|
+
var Ut = /\d/, x = /\d\d/, jt = /\d{3}/, ft = /\d{4}/, Ee = /[+-]?\d{6}/, k = /\d\d?/, Gt = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ae = /\d{1,3}/, _t = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, he = /\d+/, He = /[+-]?\d+/, Qr = /Z|[+-]\d\d:?\d\d/gi, Ue = /Z|[+-]\d\d(?::?\d\d)?/gi, Kr = /[+-]?\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?/, mt = /^([1-9]\d|\d)/, Ne;
|
|
721
721
|
Ne = {};
|
|
722
|
-
function
|
|
723
|
-
Ne[e] =
|
|
724
|
-
return
|
|
722
|
+
function d(e, t, r) {
|
|
723
|
+
Ne[e] = H(t) ? t : function(s, a) {
|
|
724
|
+
return s && r ? r : t;
|
|
725
725
|
};
|
|
726
726
|
}
|
|
727
|
-
function
|
|
728
|
-
return
|
|
727
|
+
function Xr(e, t) {
|
|
728
|
+
return w(Ne, e) ? Ne[e](t._strict, t._locale) : new RegExp(es(e));
|
|
729
729
|
}
|
|
730
|
-
function
|
|
731
|
-
return
|
|
730
|
+
function es(e) {
|
|
731
|
+
return q(
|
|
732
732
|
e.replace("\\", "").replace(
|
|
733
733
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
734
|
-
function(t,
|
|
735
|
-
return
|
|
734
|
+
function(t, r, s, a, n) {
|
|
735
|
+
return r || s || a || n;
|
|
736
736
|
}
|
|
737
737
|
)
|
|
738
738
|
);
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function q(e) {
|
|
741
741
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function R(e) {
|
|
744
744
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
745
745
|
}
|
|
746
746
|
function _(e) {
|
|
747
|
-
var t = +e,
|
|
748
|
-
return t !== 0 && isFinite(t) && (
|
|
747
|
+
var t = +e, r = 0;
|
|
748
|
+
return t !== 0 && isFinite(t) && (r = R(t)), r;
|
|
749
749
|
}
|
|
750
|
-
var
|
|
751
|
-
function
|
|
752
|
-
var
|
|
753
|
-
for (typeof e == "string" && (e = [e]),
|
|
754
|
-
i[t] = _(
|
|
755
|
-
}), a = e.length,
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
-
function
|
|
759
|
-
|
|
760
|
-
a._w = a._w || {}, t(
|
|
750
|
+
var st = {};
|
|
751
|
+
function g(e, t) {
|
|
752
|
+
var r, s = t, a;
|
|
753
|
+
for (typeof e == "string" && (e = [e]), B(t) && (s = function(n, i) {
|
|
754
|
+
i[t] = _(n);
|
|
755
|
+
}), a = e.length, r = 0; r < a; r++)
|
|
756
|
+
st[e[r]] = s;
|
|
757
|
+
}
|
|
758
|
+
function Ye(e, t) {
|
|
759
|
+
g(e, function(r, s, a, n) {
|
|
760
|
+
a._w = a._w || {}, t(r, a._w, a, n);
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
|
-
function
|
|
764
|
-
t != null &&
|
|
763
|
+
function ts(e, t, r) {
|
|
764
|
+
t != null && w(st, e) && st[e](t, r._a, r, e);
|
|
765
765
|
}
|
|
766
766
|
function je(e) {
|
|
767
767
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
768
768
|
}
|
|
769
|
-
var
|
|
770
|
-
|
|
769
|
+
var Y = 0, z = 1, E = 2, D = 3, C = 4, $ = 5, se = 6, rs = 7, ss = 8;
|
|
770
|
+
c("Y", 0, 0, function() {
|
|
771
771
|
var e = this.year();
|
|
772
772
|
return e <= 9999 ? A(e, 4) : "+" + e;
|
|
773
773
|
});
|
|
774
|
-
|
|
774
|
+
c(0, ["YY", 2], 0, function() {
|
|
775
775
|
return this.year() % 100;
|
|
776
776
|
});
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
t[
|
|
777
|
+
c(0, ["YYYY", 4], 0, "year");
|
|
778
|
+
c(0, ["YYYYY", 5], 0, "year");
|
|
779
|
+
c(0, ["YYYYYY", 6, !0], 0, "year");
|
|
780
|
+
d("Y", He);
|
|
781
|
+
d("YY", k, x);
|
|
782
|
+
d("YYYY", _t, ft);
|
|
783
|
+
d("YYYYY", Ie, Ee);
|
|
784
|
+
d("YYYYYY", Ie, Ee);
|
|
785
|
+
g(["YYYYY", "YYYYYY"], Y);
|
|
786
|
+
g("YYYY", function(e, t) {
|
|
787
|
+
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : _(e);
|
|
788
788
|
});
|
|
789
|
-
|
|
790
|
-
t[
|
|
789
|
+
g("YY", function(e, t) {
|
|
790
|
+
t[Y] = l.parseTwoDigitYear(e);
|
|
791
791
|
});
|
|
792
|
-
|
|
793
|
-
t[
|
|
792
|
+
g("Y", function(e, t) {
|
|
793
|
+
t[Y] = parseInt(e, 10);
|
|
794
794
|
});
|
|
795
|
-
function
|
|
795
|
+
function we(e) {
|
|
796
796
|
return je(e) ? 366 : 365;
|
|
797
797
|
}
|
|
798
|
-
|
|
798
|
+
l.parseTwoDigitYear = function(e) {
|
|
799
799
|
return _(e) + (_(e) > 68 ? 1900 : 2e3);
|
|
800
800
|
};
|
|
801
|
-
var
|
|
802
|
-
function
|
|
801
|
+
var zt = _e("FullYear", !0);
|
|
802
|
+
function as() {
|
|
803
803
|
return je(this.year());
|
|
804
804
|
}
|
|
805
805
|
function _e(e, t) {
|
|
806
|
-
return function(
|
|
807
|
-
return
|
|
806
|
+
return function(r) {
|
|
807
|
+
return r != null ? ($t(this, e, r), l.updateOffset(this, t), this) : pe(this, e);
|
|
808
808
|
};
|
|
809
809
|
}
|
|
810
810
|
function pe(e, t) {
|
|
811
811
|
if (!e.isValid())
|
|
812
812
|
return NaN;
|
|
813
|
-
var
|
|
813
|
+
var r = e._d, s = e._isUTC;
|
|
814
814
|
switch (t) {
|
|
815
815
|
case "Milliseconds":
|
|
816
|
-
return
|
|
816
|
+
return s ? r.getUTCMilliseconds() : r.getMilliseconds();
|
|
817
817
|
case "Seconds":
|
|
818
|
-
return
|
|
818
|
+
return s ? r.getUTCSeconds() : r.getSeconds();
|
|
819
819
|
case "Minutes":
|
|
820
|
-
return
|
|
820
|
+
return s ? r.getUTCMinutes() : r.getMinutes();
|
|
821
821
|
case "Hours":
|
|
822
|
-
return
|
|
822
|
+
return s ? r.getUTCHours() : r.getHours();
|
|
823
823
|
case "Date":
|
|
824
|
-
return
|
|
824
|
+
return s ? r.getUTCDate() : r.getDate();
|
|
825
825
|
case "Day":
|
|
826
|
-
return
|
|
826
|
+
return s ? r.getUTCDay() : r.getDay();
|
|
827
827
|
case "Month":
|
|
828
|
-
return
|
|
828
|
+
return s ? r.getUTCMonth() : r.getMonth();
|
|
829
829
|
case "FullYear":
|
|
830
|
-
return
|
|
830
|
+
return s ? r.getUTCFullYear() : r.getFullYear();
|
|
831
831
|
default:
|
|
832
832
|
return NaN;
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
function
|
|
836
|
-
var
|
|
837
|
-
if (!(!e.isValid() || isNaN(
|
|
838
|
-
switch (
|
|
835
|
+
function $t(e, t, r) {
|
|
836
|
+
var s, a, n, i, u;
|
|
837
|
+
if (!(!e.isValid() || isNaN(r))) {
|
|
838
|
+
switch (s = e._d, a = e._isUTC, t) {
|
|
839
839
|
case "Milliseconds":
|
|
840
|
-
return void (a ?
|
|
840
|
+
return void (a ? s.setUTCMilliseconds(r) : s.setMilliseconds(r));
|
|
841
841
|
case "Seconds":
|
|
842
|
-
return void (a ?
|
|
842
|
+
return void (a ? s.setUTCSeconds(r) : s.setSeconds(r));
|
|
843
843
|
case "Minutes":
|
|
844
|
-
return void (a ?
|
|
844
|
+
return void (a ? s.setUTCMinutes(r) : s.setMinutes(r));
|
|
845
845
|
case "Hours":
|
|
846
|
-
return void (a ?
|
|
846
|
+
return void (a ? s.setUTCHours(r) : s.setHours(r));
|
|
847
847
|
case "Date":
|
|
848
|
-
return void (a ?
|
|
848
|
+
return void (a ? s.setUTCDate(r) : s.setDate(r));
|
|
849
849
|
case "FullYear":
|
|
850
850
|
break;
|
|
851
851
|
default:
|
|
852
852
|
return;
|
|
853
853
|
}
|
|
854
|
-
|
|
854
|
+
n = r, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !je(n) ? 28 : u, a ? s.setUTCFullYear(n, i, u) : s.setFullYear(n, i, u);
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
function
|
|
858
|
-
return e =
|
|
857
|
+
function ns(e) {
|
|
858
|
+
return e = P(e), H(this[e]) ? this[e]() : this;
|
|
859
859
|
}
|
|
860
|
-
function
|
|
860
|
+
function is(e, t) {
|
|
861
861
|
if (typeof e == "object") {
|
|
862
862
|
e = ht(e);
|
|
863
|
-
var
|
|
864
|
-
for (
|
|
865
|
-
this[
|
|
866
|
-
} else if (e =
|
|
863
|
+
var r = Jr(e), s, a = r.length;
|
|
864
|
+
for (s = 0; s < a; s++)
|
|
865
|
+
this[r[s].unit](e[r[s].unit]);
|
|
866
|
+
} else if (e = P(e), H(this[e]))
|
|
867
867
|
return this[e](t);
|
|
868
868
|
return this;
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function os(e, t) {
|
|
871
871
|
return (e % t + t) % t;
|
|
872
872
|
}
|
|
873
|
-
var
|
|
874
|
-
Array.prototype.indexOf ?
|
|
873
|
+
var S;
|
|
874
|
+
Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
|
|
875
875
|
var t;
|
|
876
876
|
for (t = 0; t < this.length; ++t)
|
|
877
877
|
if (this[t] === e)
|
|
@@ -881,322 +881,334 @@ Array.prototype.indexOf ? b = Array.prototype.indexOf : b = function(e) {
|
|
|
881
881
|
function yt(e, t) {
|
|
882
882
|
if (isNaN(e) || isNaN(t))
|
|
883
883
|
return NaN;
|
|
884
|
-
var
|
|
885
|
-
return e += (t -
|
|
884
|
+
var r = os(t, 12);
|
|
885
|
+
return e += (t - r) / 12, r === 1 ? je(e) ? 29 : 28 : 31 - r % 7 % 2;
|
|
886
886
|
}
|
|
887
|
-
|
|
887
|
+
c("M", ["MM", 2], "Mo", function() {
|
|
888
888
|
return this.month() + 1;
|
|
889
889
|
});
|
|
890
|
-
|
|
890
|
+
c("MMM", 0, 0, function(e) {
|
|
891
891
|
return this.localeData().monthsShort(this, e);
|
|
892
892
|
});
|
|
893
|
-
|
|
893
|
+
c("MMMM", 0, 0, function(e) {
|
|
894
894
|
return this.localeData().months(this, e);
|
|
895
895
|
});
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
896
|
+
d("M", k, fe);
|
|
897
|
+
d("MM", k, x);
|
|
898
|
+
d("MMM", function(e, t) {
|
|
899
899
|
return t.monthsShortRegex(e);
|
|
900
900
|
});
|
|
901
|
-
|
|
901
|
+
d("MMMM", function(e, t) {
|
|
902
902
|
return t.monthsRegex(e);
|
|
903
903
|
});
|
|
904
|
-
|
|
905
|
-
t[
|
|
904
|
+
g(["M", "MM"], function(e, t) {
|
|
905
|
+
t[z] = _(e) - 1;
|
|
906
906
|
});
|
|
907
|
-
|
|
908
|
-
var a =
|
|
909
|
-
a != null ? t[
|
|
907
|
+
g(["MMM", "MMMM"], function(e, t, r, s) {
|
|
908
|
+
var a = r._locale.monthsParse(e, s, r._strict);
|
|
909
|
+
a != null ? t[z] = a : f(r).invalidMonth = e;
|
|
910
910
|
});
|
|
911
|
-
var
|
|
911
|
+
var ls = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
912
912
|
"_"
|
|
913
|
-
),
|
|
914
|
-
function
|
|
915
|
-
return e ?
|
|
913
|
+
), qt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Zt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, us = De, ds = De;
|
|
914
|
+
function cs(e, t) {
|
|
915
|
+
return e ? W(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Zt).test(t) ? "format" : "standalone"][e.month()] : W(this._months) ? this._months : this._months.standalone;
|
|
916
916
|
}
|
|
917
|
-
function
|
|
918
|
-
return e ?
|
|
917
|
+
function hs(e, t) {
|
|
918
|
+
return e ? W(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Zt.test(t) ? "format" : "standalone"][e.month()] : W(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
919
919
|
}
|
|
920
|
-
function
|
|
921
|
-
var
|
|
920
|
+
function fs(e, t, r) {
|
|
921
|
+
var s, a, n, i = e.toLocaleLowerCase();
|
|
922
922
|
if (!this._monthsParse)
|
|
923
|
-
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [],
|
|
924
|
-
|
|
925
|
-
|
|
923
|
+
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
924
|
+
n = I([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
925
|
+
n,
|
|
926
926
|
""
|
|
927
|
-
).toLocaleLowerCase(), this._longMonthsParse[
|
|
928
|
-
return
|
|
927
|
+
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(n, "").toLocaleLowerCase();
|
|
928
|
+
return r ? t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null));
|
|
929
929
|
}
|
|
930
|
-
function
|
|
931
|
-
var
|
|
930
|
+
function _s(e, t, r) {
|
|
931
|
+
var s, a, n;
|
|
932
932
|
if (this._monthsParseExact)
|
|
933
|
-
return
|
|
934
|
-
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []),
|
|
935
|
-
if (a =
|
|
933
|
+
return fs.call(this, e, t, r);
|
|
934
|
+
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
935
|
+
if (a = I([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
936
936
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
937
937
|
"i"
|
|
938
|
-
), this._shortMonthsParse[
|
|
938
|
+
), this._shortMonthsParse[s] = new RegExp(
|
|
939
939
|
"^" + this.monthsShort(a, "").replace(".", "") + "$",
|
|
940
940
|
"i"
|
|
941
|
-
)), !
|
|
942
|
-
return
|
|
941
|
+
)), !r && !this._monthsParse[s] && (n = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[s] = new RegExp(n.replace(".", ""), "i")), r && t === "MMMM" && this._longMonthsParse[s].test(e))
|
|
942
|
+
return s;
|
|
943
|
+
if (r && t === "MMM" && this._shortMonthsParse[s].test(e))
|
|
944
|
+
return s;
|
|
945
|
+
if (!r && this._monthsParse[s].test(e))
|
|
946
|
+
return s;
|
|
947
|
+
}
|
|
943
948
|
}
|
|
944
|
-
function
|
|
949
|
+
function Bt(e, t) {
|
|
945
950
|
if (!e.isValid())
|
|
946
951
|
return e;
|
|
947
952
|
if (typeof t == "string") {
|
|
948
953
|
if (/^\d+$/.test(t))
|
|
949
954
|
t = _(t);
|
|
950
|
-
else if (t = e.localeData().monthsParse(t),
|
|
955
|
+
else if (t = e.localeData().monthsParse(t), !B(t))
|
|
951
956
|
return e;
|
|
952
957
|
}
|
|
953
|
-
var
|
|
954
|
-
return
|
|
958
|
+
var r = t, s = e.date();
|
|
959
|
+
return s = s < 29 ? s : Math.min(s, yt(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
|
|
955
960
|
}
|
|
956
961
|
function Jt(e) {
|
|
957
|
-
return e != null ? (
|
|
962
|
+
return e != null ? (Bt(this, e), l.updateOffset(this, !0), this) : pe(this, "Month");
|
|
958
963
|
}
|
|
959
|
-
function
|
|
964
|
+
function ms() {
|
|
960
965
|
return yt(this.year(), this.month());
|
|
961
966
|
}
|
|
962
|
-
function
|
|
963
|
-
return this._monthsParseExact ? (
|
|
967
|
+
function ys(e) {
|
|
968
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = us), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
964
969
|
}
|
|
965
|
-
function
|
|
966
|
-
return this._monthsParseExact ? (
|
|
970
|
+
function ws(e) {
|
|
971
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Qt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = ds), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
967
972
|
}
|
|
968
973
|
function Qt() {
|
|
969
974
|
function e(h, m) {
|
|
970
975
|
return m.length - h.length;
|
|
971
976
|
}
|
|
972
|
-
var t = [],
|
|
977
|
+
var t = [], r = [], s = [], a, n, i, u;
|
|
973
978
|
for (a = 0; a < 12; a++)
|
|
974
|
-
|
|
975
|
-
t.sort(e),
|
|
976
|
-
"^(" +
|
|
979
|
+
n = I([2e3, a]), i = q(this.monthsShort(n, "")), u = q(this.months(n, "")), t.push(i), r.push(u), s.push(u), s.push(i);
|
|
980
|
+
t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
981
|
+
"^(" + r.join("|") + ")",
|
|
977
982
|
"i"
|
|
978
983
|
), this._monthsShortStrictRegex = new RegExp(
|
|
979
984
|
"^(" + t.join("|") + ")",
|
|
980
985
|
"i"
|
|
981
986
|
);
|
|
982
987
|
}
|
|
983
|
-
function
|
|
984
|
-
var
|
|
985
|
-
return e < 100 && e >= 0 ? (
|
|
988
|
+
function ps(e, t, r, s, a, n, i) {
|
|
989
|
+
var u;
|
|
990
|
+
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r, s, a, n, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, r, s, a, n, i), u;
|
|
986
991
|
}
|
|
987
|
-
function
|
|
988
|
-
var t,
|
|
989
|
-
return e < 100 && e >= 0 ? (
|
|
992
|
+
function ge(e) {
|
|
993
|
+
var t, r;
|
|
994
|
+
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;
|
|
990
995
|
}
|
|
991
|
-
function
|
|
992
|
-
var
|
|
993
|
-
return -a +
|
|
996
|
+
function Pe(e, t, r) {
|
|
997
|
+
var s = 7 + t - r, a = (7 + ge(e, 0, s).getUTCDay() - t) % 7;
|
|
998
|
+
return -a + s - 1;
|
|
994
999
|
}
|
|
995
|
-
function
|
|
996
|
-
var
|
|
997
|
-
return
|
|
1000
|
+
function Kt(e, t, r, s, a) {
|
|
1001
|
+
var n = (7 + r - s) % 7, i = Pe(e, s, a), u = 1 + 7 * (t - 1) + n + i, h, m;
|
|
1002
|
+
return u <= 0 ? (h = e - 1, m = we(h) + u) : u > we(e) ? (h = e + 1, m = u - we(e)) : (h = e, m = u), {
|
|
998
1003
|
year: h,
|
|
999
1004
|
dayOfYear: m
|
|
1000
1005
|
};
|
|
1001
1006
|
}
|
|
1002
|
-
function
|
|
1003
|
-
var
|
|
1004
|
-
return a < 1 ? (i = e.year() - 1,
|
|
1005
|
-
week:
|
|
1007
|
+
function Me(e, t, r) {
|
|
1008
|
+
var s = Pe(e.year(), t, r), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, n, i;
|
|
1009
|
+
return a < 1 ? (i = e.year() - 1, n = a + Z(i, t, r)) : a > Z(e.year(), t, r) ? (n = a - Z(e.year(), t, r), i = e.year() + 1) : (i = e.year(), n = a), {
|
|
1010
|
+
week: n,
|
|
1006
1011
|
year: i
|
|
1007
1012
|
};
|
|
1008
1013
|
}
|
|
1009
|
-
function
|
|
1010
|
-
var
|
|
1011
|
-
return (
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1014
|
+
function Z(e, t, r) {
|
|
1015
|
+
var s = Pe(e, t, r), a = Pe(e + 1, t, r);
|
|
1016
|
+
return (we(e) - s + a) / 7;
|
|
1017
|
+
}
|
|
1018
|
+
c("w", ["ww", 2], "wo", "week");
|
|
1019
|
+
c("W", ["WW", 2], "Wo", "isoWeek");
|
|
1020
|
+
d("w", k, fe);
|
|
1021
|
+
d("ww", k, x);
|
|
1022
|
+
d("W", k, fe);
|
|
1023
|
+
d("WW", k, x);
|
|
1024
|
+
Ye(
|
|
1020
1025
|
["w", "ww", "W", "WW"],
|
|
1021
|
-
function(e, t,
|
|
1022
|
-
t[
|
|
1026
|
+
function(e, t, r, s) {
|
|
1027
|
+
t[s.substr(0, 1)] = _(e);
|
|
1023
1028
|
}
|
|
1024
1029
|
);
|
|
1025
|
-
function
|
|
1026
|
-
return
|
|
1030
|
+
function gs(e) {
|
|
1031
|
+
return Me(e, this._week.dow, this._week.doy).week;
|
|
1027
1032
|
}
|
|
1028
|
-
var
|
|
1033
|
+
var Ms = {
|
|
1029
1034
|
dow: 0,
|
|
1030
1035
|
// Sunday is the first day of the week.
|
|
1031
1036
|
doy: 6
|
|
1032
1037
|
// The week that contains Jan 6th is the first week of the year.
|
|
1033
1038
|
};
|
|
1034
|
-
function
|
|
1039
|
+
function ks() {
|
|
1035
1040
|
return this._week.dow;
|
|
1036
1041
|
}
|
|
1037
|
-
function
|
|
1042
|
+
function vs() {
|
|
1038
1043
|
return this._week.doy;
|
|
1039
1044
|
}
|
|
1040
|
-
function
|
|
1045
|
+
function Ss(e) {
|
|
1041
1046
|
var t = this.localeData().week(this);
|
|
1042
1047
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
1043
1048
|
}
|
|
1044
|
-
function
|
|
1045
|
-
var t =
|
|
1049
|
+
function Ds(e) {
|
|
1050
|
+
var t = Me(this, 1, 4).week;
|
|
1046
1051
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
1047
1052
|
}
|
|
1048
|
-
|
|
1049
|
-
|
|
1053
|
+
c("d", 0, "do", "day");
|
|
1054
|
+
c("dd", 0, 0, function(e) {
|
|
1050
1055
|
return this.localeData().weekdaysMin(this, e);
|
|
1051
1056
|
});
|
|
1052
|
-
|
|
1057
|
+
c("ddd", 0, 0, function(e) {
|
|
1053
1058
|
return this.localeData().weekdaysShort(this, e);
|
|
1054
1059
|
});
|
|
1055
|
-
|
|
1060
|
+
c("dddd", 0, 0, function(e) {
|
|
1056
1061
|
return this.localeData().weekdays(this, e);
|
|
1057
1062
|
});
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1063
|
+
c("e", 0, 0, "weekday");
|
|
1064
|
+
c("E", 0, 0, "isoWeekday");
|
|
1065
|
+
d("d", k);
|
|
1066
|
+
d("e", k);
|
|
1067
|
+
d("E", k);
|
|
1068
|
+
d("dd", function(e, t) {
|
|
1064
1069
|
return t.weekdaysMinRegex(e);
|
|
1065
1070
|
});
|
|
1066
|
-
|
|
1071
|
+
d("ddd", function(e, t) {
|
|
1067
1072
|
return t.weekdaysShortRegex(e);
|
|
1068
1073
|
});
|
|
1069
|
-
|
|
1074
|
+
d("dddd", function(e, t) {
|
|
1070
1075
|
return t.weekdaysRegex(e);
|
|
1071
1076
|
});
|
|
1072
|
-
|
|
1073
|
-
var a =
|
|
1074
|
-
a != null ? t.d = a : f(
|
|
1077
|
+
Ye(["dd", "ddd", "dddd"], function(e, t, r, s) {
|
|
1078
|
+
var a = r._locale.weekdaysParse(e, s, r._strict);
|
|
1079
|
+
a != null ? t.d = a : f(r).invalidWeekday = e;
|
|
1075
1080
|
});
|
|
1076
|
-
|
|
1077
|
-
t[
|
|
1081
|
+
Ye(["d", "e", "E"], function(e, t, r, s) {
|
|
1082
|
+
t[s] = _(e);
|
|
1078
1083
|
});
|
|
1079
|
-
function
|
|
1084
|
+
function Ys(e, t) {
|
|
1080
1085
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
1081
1086
|
}
|
|
1082
|
-
function
|
|
1087
|
+
function bs(e, t) {
|
|
1083
1088
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
1084
1089
|
}
|
|
1085
|
-
function
|
|
1090
|
+
function wt(e, t) {
|
|
1086
1091
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
1087
1092
|
}
|
|
1088
|
-
var
|
|
1089
|
-
function
|
|
1090
|
-
var
|
|
1091
|
-
return e === !0 ?
|
|
1093
|
+
var Os = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ts = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), xs = De, Rs = De, Ns = De;
|
|
1094
|
+
function Ps(e, t) {
|
|
1095
|
+
var r = W(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
1096
|
+
return e === !0 ? wt(r, this._week.dow) : e ? r[e.day()] : r;
|
|
1092
1097
|
}
|
|
1093
|
-
function
|
|
1094
|
-
return e === !0 ?
|
|
1098
|
+
function Cs(e) {
|
|
1099
|
+
return e === !0 ? wt(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
1095
1100
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return e === !0 ?
|
|
1101
|
+
function Ws(e) {
|
|
1102
|
+
return e === !0 ? wt(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
1098
1103
|
}
|
|
1099
|
-
function
|
|
1100
|
-
var
|
|
1104
|
+
function Fs(e, t, r) {
|
|
1105
|
+
var s, a, n, i = e.toLocaleLowerCase();
|
|
1101
1106
|
if (!this._weekdaysParse)
|
|
1102
|
-
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [],
|
|
1103
|
-
|
|
1104
|
-
|
|
1107
|
+
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
1108
|
+
n = I([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
1109
|
+
n,
|
|
1105
1110
|
""
|
|
1106
|
-
).toLocaleLowerCase(), this._shortWeekdaysParse[
|
|
1107
|
-
|
|
1111
|
+
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
1112
|
+
n,
|
|
1108
1113
|
""
|
|
1109
|
-
).toLocaleLowerCase(), this._weekdaysParse[
|
|
1110
|
-
return
|
|
1114
|
+
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(n, "").toLocaleLowerCase();
|
|
1115
|
+
return r ? t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 || (a = S.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = S.call(this._minWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
|
|
1111
1116
|
}
|
|
1112
|
-
function
|
|
1113
|
-
var
|
|
1117
|
+
function Ls(e, t, r) {
|
|
1118
|
+
var s, a, n;
|
|
1114
1119
|
if (this._weekdaysParseExact)
|
|
1115
|
-
return
|
|
1116
|
-
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []),
|
|
1117
|
-
if (a =
|
|
1120
|
+
return Fs.call(this, e, t, r);
|
|
1121
|
+
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
1122
|
+
if (a = I([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
1118
1123
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
1119
1124
|
"i"
|
|
1120
|
-
), this._shortWeekdaysParse[
|
|
1125
|
+
), this._shortWeekdaysParse[s] = new RegExp(
|
|
1121
1126
|
"^" + this.weekdaysShort(a, "").replace(".", "\\.?") + "$",
|
|
1122
1127
|
"i"
|
|
1123
|
-
), this._minWeekdaysParse[
|
|
1128
|
+
), this._minWeekdaysParse[s] = new RegExp(
|
|
1124
1129
|
"^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$",
|
|
1125
1130
|
"i"
|
|
1126
|
-
)), this._weekdaysParse[
|
|
1127
|
-
return
|
|
1131
|
+
)), this._weekdaysParse[s] || (n = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[s] = new RegExp(n.replace(".", ""), "i")), r && t === "dddd" && this._fullWeekdaysParse[s].test(e))
|
|
1132
|
+
return s;
|
|
1133
|
+
if (r && t === "ddd" && this._shortWeekdaysParse[s].test(e))
|
|
1134
|
+
return s;
|
|
1135
|
+
if (r && t === "dd" && this._minWeekdaysParse[s].test(e))
|
|
1136
|
+
return s;
|
|
1137
|
+
if (!r && this._weekdaysParse[s].test(e))
|
|
1138
|
+
return s;
|
|
1139
|
+
}
|
|
1128
1140
|
}
|
|
1129
|
-
function
|
|
1141
|
+
function Es(e) {
|
|
1130
1142
|
if (!this.isValid())
|
|
1131
1143
|
return e != null ? this : NaN;
|
|
1132
1144
|
var t = pe(this, "Day");
|
|
1133
|
-
return e != null ? (e =
|
|
1145
|
+
return e != null ? (e = Ys(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
1134
1146
|
}
|
|
1135
|
-
function
|
|
1147
|
+
function As(e) {
|
|
1136
1148
|
if (!this.isValid())
|
|
1137
1149
|
return e != null ? this : NaN;
|
|
1138
1150
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
1139
1151
|
return e == null ? t : this.add(e - t, "d");
|
|
1140
1152
|
}
|
|
1141
|
-
function
|
|
1153
|
+
function Is(e) {
|
|
1142
1154
|
if (!this.isValid())
|
|
1143
1155
|
return e != null ? this : NaN;
|
|
1144
1156
|
if (e != null) {
|
|
1145
|
-
var t =
|
|
1157
|
+
var t = bs(e, this.localeData());
|
|
1146
1158
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
1147
1159
|
} else
|
|
1148
1160
|
return this.day() || 7;
|
|
1149
1161
|
}
|
|
1150
|
-
function
|
|
1151
|
-
return this._weekdaysParseExact ? (
|
|
1162
|
+
function Hs(e) {
|
|
1163
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = xs), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1152
1164
|
}
|
|
1153
|
-
function
|
|
1154
|
-
return this._weekdaysParseExact ? (
|
|
1165
|
+
function Us(e) {
|
|
1166
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Rs), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1155
1167
|
}
|
|
1156
|
-
function
|
|
1157
|
-
return this._weekdaysParseExact ? (
|
|
1168
|
+
function js(e) {
|
|
1169
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ns), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1158
1170
|
}
|
|
1159
1171
|
function pt() {
|
|
1160
|
-
function e(
|
|
1161
|
-
return
|
|
1172
|
+
function e(b, U) {
|
|
1173
|
+
return U.length - b.length;
|
|
1162
1174
|
}
|
|
1163
|
-
var t = [],
|
|
1164
|
-
for (
|
|
1165
|
-
i =
|
|
1166
|
-
t.sort(e),
|
|
1167
|
-
"^(" +
|
|
1175
|
+
var t = [], r = [], s = [], a = [], n, i, u, h, m;
|
|
1176
|
+
for (n = 0; n < 7; n++)
|
|
1177
|
+
i = I([2e3, 1]).day(n), u = q(this.weekdaysMin(i, "")), h = q(this.weekdaysShort(i, "")), m = q(this.weekdays(i, "")), t.push(u), r.push(h), s.push(m), a.push(u), a.push(h), a.push(m);
|
|
1178
|
+
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(
|
|
1179
|
+
"^(" + s.join("|") + ")",
|
|
1168
1180
|
"i"
|
|
1169
1181
|
), this._weekdaysShortStrictRegex = new RegExp(
|
|
1170
|
-
"^(" +
|
|
1182
|
+
"^(" + r.join("|") + ")",
|
|
1171
1183
|
"i"
|
|
1172
1184
|
), this._weekdaysMinStrictRegex = new RegExp(
|
|
1173
1185
|
"^(" + t.join("|") + ")",
|
|
1174
1186
|
"i"
|
|
1175
1187
|
);
|
|
1176
1188
|
}
|
|
1177
|
-
function
|
|
1189
|
+
function gt() {
|
|
1178
1190
|
return this.hours() % 12 || 12;
|
|
1179
1191
|
}
|
|
1180
|
-
function
|
|
1192
|
+
function Gs() {
|
|
1181
1193
|
return this.hours() || 24;
|
|
1182
1194
|
}
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
return "" +
|
|
1195
|
+
c("H", ["HH", 2], 0, "hour");
|
|
1196
|
+
c("h", ["hh", 2], 0, gt);
|
|
1197
|
+
c("k", ["kk", 2], 0, Gs);
|
|
1198
|
+
c("hmm", 0, 0, function() {
|
|
1199
|
+
return "" + gt.apply(this) + A(this.minutes(), 2);
|
|
1188
1200
|
});
|
|
1189
|
-
|
|
1190
|
-
return "" +
|
|
1201
|
+
c("hmmss", 0, 0, function() {
|
|
1202
|
+
return "" + gt.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1191
1203
|
});
|
|
1192
|
-
|
|
1204
|
+
c("Hmm", 0, 0, function() {
|
|
1193
1205
|
return "" + this.hours() + A(this.minutes(), 2);
|
|
1194
1206
|
});
|
|
1195
|
-
|
|
1207
|
+
c("Hmmss", 0, 0, function() {
|
|
1196
1208
|
return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1197
1209
|
});
|
|
1198
|
-
function
|
|
1199
|
-
|
|
1210
|
+
function er(e, t) {
|
|
1211
|
+
c(e, 0, 0, function() {
|
|
1200
1212
|
return this.localeData().meridiem(
|
|
1201
1213
|
this.hours(),
|
|
1202
1214
|
this.minutes(),
|
|
@@ -1204,165 +1216,165 @@ function en(e, t) {
|
|
|
1204
1216
|
);
|
|
1205
1217
|
});
|
|
1206
1218
|
}
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
function
|
|
1219
|
+
er("a", !0);
|
|
1220
|
+
er("A", !1);
|
|
1221
|
+
function tr(e, t) {
|
|
1210
1222
|
return t._meridiemParse;
|
|
1211
1223
|
}
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
var
|
|
1227
|
-
t[
|
|
1224
|
+
d("a", tr);
|
|
1225
|
+
d("A", tr);
|
|
1226
|
+
d("H", k, mt);
|
|
1227
|
+
d("h", k, fe);
|
|
1228
|
+
d("k", k, fe);
|
|
1229
|
+
d("HH", k, x);
|
|
1230
|
+
d("hh", k, x);
|
|
1231
|
+
d("kk", k, x);
|
|
1232
|
+
d("hmm", Gt);
|
|
1233
|
+
d("hmmss", Vt);
|
|
1234
|
+
d("Hmm", Gt);
|
|
1235
|
+
d("Hmmss", Vt);
|
|
1236
|
+
g(["H", "HH"], D);
|
|
1237
|
+
g(["k", "kk"], function(e, t, r) {
|
|
1238
|
+
var s = _(e);
|
|
1239
|
+
t[D] = s === 24 ? 0 : s;
|
|
1228
1240
|
});
|
|
1229
|
-
|
|
1230
|
-
|
|
1241
|
+
g(["a", "A"], function(e, t, r) {
|
|
1242
|
+
r._isPm = r._locale.isPM(e), r._meridiem = e;
|
|
1231
1243
|
});
|
|
1232
|
-
|
|
1233
|
-
t[
|
|
1244
|
+
g(["h", "hh"], function(e, t, r) {
|
|
1245
|
+
t[D] = _(e), f(r).bigHour = !0;
|
|
1234
1246
|
});
|
|
1235
|
-
|
|
1236
|
-
var
|
|
1237
|
-
t[
|
|
1247
|
+
g("hmm", function(e, t, r) {
|
|
1248
|
+
var s = e.length - 2;
|
|
1249
|
+
t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s)), f(r).bigHour = !0;
|
|
1238
1250
|
});
|
|
1239
|
-
|
|
1240
|
-
var
|
|
1241
|
-
t[
|
|
1251
|
+
g("hmmss", function(e, t, r) {
|
|
1252
|
+
var s = e.length - 4, a = e.length - 2;
|
|
1253
|
+
t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s, 2)), t[$] = _(e.substr(a)), f(r).bigHour = !0;
|
|
1242
1254
|
});
|
|
1243
|
-
|
|
1244
|
-
var
|
|
1245
|
-
t[
|
|
1255
|
+
g("Hmm", function(e, t, r) {
|
|
1256
|
+
var s = e.length - 2;
|
|
1257
|
+
t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s));
|
|
1246
1258
|
});
|
|
1247
|
-
|
|
1248
|
-
var
|
|
1249
|
-
t[
|
|
1259
|
+
g("Hmmss", function(e, t, r) {
|
|
1260
|
+
var s = e.length - 4, a = e.length - 2;
|
|
1261
|
+
t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s, 2)), t[$] = _(e.substr(a));
|
|
1250
1262
|
});
|
|
1251
|
-
function
|
|
1263
|
+
function Vs(e) {
|
|
1252
1264
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1253
1265
|
}
|
|
1254
|
-
var
|
|
1255
|
-
function
|
|
1256
|
-
return e > 11 ?
|
|
1257
|
-
}
|
|
1258
|
-
var
|
|
1259
|
-
calendar:
|
|
1260
|
-
longDateFormat:
|
|
1261
|
-
invalidDate:
|
|
1262
|
-
ordinal:
|
|
1263
|
-
dayOfMonthOrdinalParse:
|
|
1264
|
-
relativeTime:
|
|
1265
|
-
months:
|
|
1266
|
-
monthsShort:
|
|
1267
|
-
week:
|
|
1268
|
-
weekdays:
|
|
1269
|
-
weekdaysMin:
|
|
1270
|
-
weekdaysShort:
|
|
1271
|
-
meridiemParse:
|
|
1272
|
-
},
|
|
1273
|
-
function
|
|
1274
|
-
var
|
|
1275
|
-
for (
|
|
1276
|
-
if (e[
|
|
1277
|
-
return
|
|
1278
|
-
return
|
|
1266
|
+
var zs = /[ap]\.?m?\.?/i, $s = _e("Hours", !0);
|
|
1267
|
+
function qs(e, t, r) {
|
|
1268
|
+
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
1269
|
+
}
|
|
1270
|
+
var rr = {
|
|
1271
|
+
calendar: Fr,
|
|
1272
|
+
longDateFormat: Ir,
|
|
1273
|
+
invalidDate: Ur,
|
|
1274
|
+
ordinal: Gr,
|
|
1275
|
+
dayOfMonthOrdinalParse: Vr,
|
|
1276
|
+
relativeTime: $r,
|
|
1277
|
+
months: ls,
|
|
1278
|
+
monthsShort: qt,
|
|
1279
|
+
week: Ms,
|
|
1280
|
+
weekdays: Os,
|
|
1281
|
+
weekdaysMin: Ts,
|
|
1282
|
+
weekdaysShort: Xt,
|
|
1283
|
+
meridiemParse: zs
|
|
1284
|
+
}, v = {}, me = {}, ke;
|
|
1285
|
+
function Zs(e, t) {
|
|
1286
|
+
var r, s = Math.min(e.length, t.length);
|
|
1287
|
+
for (r = 0; r < s; r += 1)
|
|
1288
|
+
if (e[r] !== t[r])
|
|
1289
|
+
return r;
|
|
1290
|
+
return s;
|
|
1279
1291
|
}
|
|
1280
|
-
function
|
|
1292
|
+
function Pt(e) {
|
|
1281
1293
|
return e && e.toLowerCase().replace("_", "-");
|
|
1282
1294
|
}
|
|
1283
|
-
function
|
|
1284
|
-
for (var t = 0,
|
|
1285
|
-
for (
|
|
1286
|
-
if (a = Ge(
|
|
1295
|
+
function Bs(e) {
|
|
1296
|
+
for (var t = 0, r, s, a, n; t < e.length; ) {
|
|
1297
|
+
for (n = Pt(e[t]).split("-"), r = n.length, s = Pt(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
|
|
1298
|
+
if (a = Ge(n.slice(0, r).join("-")), a)
|
|
1287
1299
|
return a;
|
|
1288
|
-
if (
|
|
1300
|
+
if (s && s.length >= r && Zs(n, s) >= r - 1)
|
|
1289
1301
|
break;
|
|
1290
|
-
|
|
1302
|
+
r--;
|
|
1291
1303
|
}
|
|
1292
1304
|
t++;
|
|
1293
1305
|
}
|
|
1294
|
-
return
|
|
1306
|
+
return ke;
|
|
1295
1307
|
}
|
|
1296
|
-
function
|
|
1308
|
+
function Js(e) {
|
|
1297
1309
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1298
1310
|
}
|
|
1299
1311
|
function Ge(e) {
|
|
1300
|
-
var t = null,
|
|
1301
|
-
if (
|
|
1312
|
+
var t = null, r;
|
|
1313
|
+
if (v[e] === void 0 && typeof module < "u" && module && module.exports && Js(e))
|
|
1302
1314
|
try {
|
|
1303
|
-
t =
|
|
1315
|
+
t = ke._abbr, r = require, r("./locale/" + e), te(t);
|
|
1304
1316
|
} catch {
|
|
1305
|
-
|
|
1317
|
+
v[e] = null;
|
|
1306
1318
|
}
|
|
1307
|
-
return
|
|
1319
|
+
return v[e];
|
|
1308
1320
|
}
|
|
1309
1321
|
function te(e, t) {
|
|
1310
|
-
var
|
|
1311
|
-
return e && (O(t) ?
|
|
1322
|
+
var r;
|
|
1323
|
+
return e && (O(t) ? r = J(e) : r = Mt(e, t), r ? ke = r : typeof console < "u" && console.warn && console.warn(
|
|
1312
1324
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1313
|
-
)),
|
|
1325
|
+
)), ke._abbr;
|
|
1314
1326
|
}
|
|
1315
|
-
function
|
|
1327
|
+
function Mt(e, t) {
|
|
1316
1328
|
if (t !== null) {
|
|
1317
|
-
var
|
|
1318
|
-
if (t.abbr = e,
|
|
1319
|
-
|
|
1329
|
+
var r, s = rr;
|
|
1330
|
+
if (t.abbr = e, v[e] != null)
|
|
1331
|
+
It(
|
|
1320
1332
|
"defineLocaleOverride",
|
|
1321
1333
|
"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."
|
|
1322
|
-
),
|
|
1334
|
+
), s = v[e]._config;
|
|
1323
1335
|
else if (t.parentLocale != null)
|
|
1324
|
-
if (
|
|
1325
|
-
|
|
1326
|
-
else if (
|
|
1327
|
-
|
|
1336
|
+
if (v[t.parentLocale] != null)
|
|
1337
|
+
s = v[t.parentLocale]._config;
|
|
1338
|
+
else if (r = Ge(t.parentLocale), r != null)
|
|
1339
|
+
s = r._config;
|
|
1328
1340
|
else
|
|
1329
1341
|
return me[t.parentLocale] || (me[t.parentLocale] = []), me[t.parentLocale].push({
|
|
1330
1342
|
name: e,
|
|
1331
1343
|
config: t
|
|
1332
1344
|
}), null;
|
|
1333
|
-
return
|
|
1334
|
-
|
|
1335
|
-
}), te(e),
|
|
1345
|
+
return v[e] = new dt(tt(s, t)), me[e] && me[e].forEach(function(a) {
|
|
1346
|
+
Mt(a.name, a.config);
|
|
1347
|
+
}), te(e), v[e];
|
|
1336
1348
|
} else
|
|
1337
|
-
return delete
|
|
1349
|
+
return delete v[e], null;
|
|
1338
1350
|
}
|
|
1339
|
-
function
|
|
1351
|
+
function Qs(e, t) {
|
|
1340
1352
|
if (t != null) {
|
|
1341
|
-
var
|
|
1342
|
-
|
|
1353
|
+
var r, s, a = rr;
|
|
1354
|
+
v[e] != null && v[e].parentLocale != null ? v[e].set(tt(v[e]._config, t)) : (s = Ge(e), s != null && (a = s._config), t = tt(a, t), s == null && (t.abbr = e), r = new dt(t), r.parentLocale = v[e], v[e] = r), te(e);
|
|
1343
1355
|
} else
|
|
1344
|
-
|
|
1345
|
-
return
|
|
1356
|
+
v[e] != null && (v[e].parentLocale != null ? (v[e] = v[e].parentLocale, e === te() && te(e)) : v[e] != null && delete v[e]);
|
|
1357
|
+
return v[e];
|
|
1346
1358
|
}
|
|
1347
1359
|
function J(e) {
|
|
1348
1360
|
var t;
|
|
1349
1361
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1350
|
-
return
|
|
1351
|
-
if (!
|
|
1362
|
+
return ke;
|
|
1363
|
+
if (!W(e)) {
|
|
1352
1364
|
if (t = Ge(e), t)
|
|
1353
1365
|
return t;
|
|
1354
1366
|
e = [e];
|
|
1355
1367
|
}
|
|
1356
|
-
return
|
|
1368
|
+
return Bs(e);
|
|
1357
1369
|
}
|
|
1358
|
-
function
|
|
1359
|
-
return
|
|
1370
|
+
function Ks() {
|
|
1371
|
+
return rt(v);
|
|
1360
1372
|
}
|
|
1361
|
-
function
|
|
1362
|
-
var t,
|
|
1363
|
-
return
|
|
1373
|
+
function kt(e) {
|
|
1374
|
+
var t, r = e._a;
|
|
1375
|
+
return r && f(e).overflow === -2 && (t = r[z] < 0 || r[z] > 11 ? z : r[E] < 1 || r[E] > yt(r[Y], r[z]) ? E : r[D] < 0 || r[D] > 24 || r[D] === 24 && (r[C] !== 0 || r[$] !== 0 || r[se] !== 0) ? D : r[C] < 0 || r[C] > 59 ? C : r[$] < 0 || r[$] > 59 ? $ : r[se] < 0 || r[se] > 999 ? se : -1, f(e)._overflowDayOfYear && (t < Y || t > E) && (t = E), f(e)._overflowWeeks && t === -1 && (t = rs), f(e)._overflowWeekday && t === -1 && (t = ss), f(e).overflow = t), e;
|
|
1364
1376
|
}
|
|
1365
|
-
var
|
|
1377
|
+
var Xs = /^\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)?)?$/, ea = /^\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)?)?$/, ta = /Z|[+-]\d\d(?::?\d\d)?/, Oe = [
|
|
1366
1378
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1367
1379
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1368
1380
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1376,7 +1388,7 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1376
1388
|
["YYYYDDD", /\d{7}/],
|
|
1377
1389
|
["YYYYMM", /\d{6}/, !1],
|
|
1378
1390
|
["YYYY", /\d{4}/, !1]
|
|
1379
|
-
],
|
|
1391
|
+
], Je = [
|
|
1380
1392
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1381
1393
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1382
1394
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1386,7 +1398,7 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1386
1398
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1387
1399
|
["HHmm", /\d\d\d\d/],
|
|
1388
1400
|
["HH", /\d\d/]
|
|
1389
|
-
], ra = /^\/?Date\((-?\d+)/i,
|
|
1401
|
+
], ra = /^\/?Date\((-?\d+)/i, sa = /^(?:(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}))$/, aa = {
|
|
1390
1402
|
UT: 0,
|
|
1391
1403
|
GMT: 0,
|
|
1392
1404
|
EDT: -4 * 60,
|
|
@@ -1398,12 +1410,12 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1398
1410
|
PDT: -7 * 60,
|
|
1399
1411
|
PST: -8 * 60
|
|
1400
1412
|
};
|
|
1401
|
-
function
|
|
1402
|
-
var t,
|
|
1413
|
+
function sr(e) {
|
|
1414
|
+
var t, r, s = e._i, a = Xs.exec(s) || ea.exec(s), n, i, u, h, m = Oe.length, b = Je.length;
|
|
1403
1415
|
if (a) {
|
|
1404
|
-
for (f(e).iso = !0, t = 0,
|
|
1416
|
+
for (f(e).iso = !0, t = 0, r = m; t < r; t++)
|
|
1405
1417
|
if (Oe[t][1].exec(a[1])) {
|
|
1406
|
-
i = Oe[t][0],
|
|
1418
|
+
i = Oe[t][0], n = Oe[t][2] !== !1;
|
|
1407
1419
|
break;
|
|
1408
1420
|
}
|
|
1409
1421
|
if (i == null) {
|
|
@@ -1411,81 +1423,81 @@ function rn(e) {
|
|
|
1411
1423
|
return;
|
|
1412
1424
|
}
|
|
1413
1425
|
if (a[3]) {
|
|
1414
|
-
for (t = 0,
|
|
1415
|
-
if (
|
|
1416
|
-
|
|
1426
|
+
for (t = 0, r = b; t < r; t++)
|
|
1427
|
+
if (Je[t][1].exec(a[3])) {
|
|
1428
|
+
u = (a[2] || " ") + Je[t][0];
|
|
1417
1429
|
break;
|
|
1418
1430
|
}
|
|
1419
|
-
if (
|
|
1431
|
+
if (u == null) {
|
|
1420
1432
|
e._isValid = !1;
|
|
1421
1433
|
return;
|
|
1422
1434
|
}
|
|
1423
1435
|
}
|
|
1424
|
-
if (!
|
|
1436
|
+
if (!n && u != null) {
|
|
1425
1437
|
e._isValid = !1;
|
|
1426
1438
|
return;
|
|
1427
1439
|
}
|
|
1428
1440
|
if (a[4])
|
|
1429
|
-
if (
|
|
1441
|
+
if (ta.exec(a[4]))
|
|
1430
1442
|
h = "Z";
|
|
1431
1443
|
else {
|
|
1432
1444
|
e._isValid = !1;
|
|
1433
1445
|
return;
|
|
1434
1446
|
}
|
|
1435
|
-
e._f = i + (
|
|
1447
|
+
e._f = i + (u || "") + (h || ""), St(e);
|
|
1436
1448
|
} else
|
|
1437
1449
|
e._isValid = !1;
|
|
1438
1450
|
}
|
|
1439
|
-
function
|
|
1451
|
+
function na(e, t, r, s, a, n) {
|
|
1440
1452
|
var i = [
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
parseInt(n, 10),
|
|
1453
|
+
ia(e),
|
|
1454
|
+
qt.indexOf(t),
|
|
1444
1455
|
parseInt(r, 10),
|
|
1456
|
+
parseInt(s, 10),
|
|
1445
1457
|
parseInt(a, 10)
|
|
1446
1458
|
];
|
|
1447
|
-
return
|
|
1459
|
+
return n && i.push(parseInt(n, 10)), i;
|
|
1448
1460
|
}
|
|
1449
|
-
function
|
|
1461
|
+
function ia(e) {
|
|
1450
1462
|
var t = parseInt(e, 10);
|
|
1451
1463
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1452
1464
|
}
|
|
1453
|
-
function
|
|
1465
|
+
function oa(e) {
|
|
1454
1466
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1455
1467
|
}
|
|
1456
|
-
function la(e, t,
|
|
1468
|
+
function la(e, t, r) {
|
|
1457
1469
|
if (e) {
|
|
1458
|
-
var
|
|
1470
|
+
var s = Xt.indexOf(e), a = new Date(
|
|
1459
1471
|
t[0],
|
|
1460
1472
|
t[1],
|
|
1461
1473
|
t[2]
|
|
1462
1474
|
).getDay();
|
|
1463
|
-
if (
|
|
1464
|
-
return f(
|
|
1475
|
+
if (s !== a)
|
|
1476
|
+
return f(r).weekdayMismatch = !0, r._isValid = !1, !1;
|
|
1465
1477
|
}
|
|
1466
1478
|
return !0;
|
|
1467
1479
|
}
|
|
1468
|
-
function
|
|
1480
|
+
function ua(e, t, r) {
|
|
1469
1481
|
if (e)
|
|
1470
|
-
return
|
|
1482
|
+
return aa[e];
|
|
1471
1483
|
if (t)
|
|
1472
1484
|
return 0;
|
|
1473
|
-
var
|
|
1474
|
-
return
|
|
1485
|
+
var s = parseInt(r, 10), a = s % 100, n = (s - a) / 100;
|
|
1486
|
+
return n * 60 + a;
|
|
1475
1487
|
}
|
|
1476
|
-
function
|
|
1477
|
-
var t =
|
|
1488
|
+
function ar(e) {
|
|
1489
|
+
var t = sa.exec(oa(e._i)), r;
|
|
1478
1490
|
if (t) {
|
|
1479
|
-
if (
|
|
1491
|
+
if (r = na(
|
|
1480
1492
|
t[4],
|
|
1481
1493
|
t[3],
|
|
1482
1494
|
t[2],
|
|
1483
1495
|
t[5],
|
|
1484
1496
|
t[6],
|
|
1485
1497
|
t[7]
|
|
1486
|
-
), !la(t[1],
|
|
1498
|
+
), !la(t[1], r, e))
|
|
1487
1499
|
return;
|
|
1488
|
-
e._a =
|
|
1500
|
+
e._a = r, e._tzm = ua(t[8], t[9], t[10]), e._d = ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), f(e).rfc2822 = !0;
|
|
1489
1501
|
} else
|
|
1490
1502
|
e._isValid = !1;
|
|
1491
1503
|
}
|
|
@@ -1495,155 +1507,155 @@ function da(e) {
|
|
|
1495
1507
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1496
1508
|
return;
|
|
1497
1509
|
}
|
|
1498
|
-
if (
|
|
1510
|
+
if (sr(e), e._isValid === !1)
|
|
1499
1511
|
delete e._isValid;
|
|
1500
1512
|
else
|
|
1501
1513
|
return;
|
|
1502
|
-
if (
|
|
1514
|
+
if (ar(e), e._isValid === !1)
|
|
1503
1515
|
delete e._isValid;
|
|
1504
1516
|
else
|
|
1505
1517
|
return;
|
|
1506
|
-
e._strict ? e._isValid = !1 :
|
|
1518
|
+
e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
|
|
1507
1519
|
}
|
|
1508
|
-
|
|
1520
|
+
l.createFromInputFallback = N(
|
|
1509
1521
|
"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.",
|
|
1510
1522
|
function(e) {
|
|
1511
1523
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1512
1524
|
}
|
|
1513
1525
|
);
|
|
1514
|
-
function oe(e, t,
|
|
1515
|
-
return e ?? t ??
|
|
1526
|
+
function oe(e, t, r) {
|
|
1527
|
+
return e ?? t ?? r;
|
|
1516
1528
|
}
|
|
1517
|
-
function
|
|
1518
|
-
var t = new Date(
|
|
1529
|
+
function ca(e) {
|
|
1530
|
+
var t = new Date(l.now());
|
|
1519
1531
|
return e._useUTC ? [
|
|
1520
1532
|
t.getUTCFullYear(),
|
|
1521
1533
|
t.getUTCMonth(),
|
|
1522
1534
|
t.getUTCDate()
|
|
1523
1535
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1524
1536
|
}
|
|
1525
|
-
function
|
|
1526
|
-
var t,
|
|
1537
|
+
function vt(e) {
|
|
1538
|
+
var t, r, s = [], a, n, i;
|
|
1527
1539
|
if (!e._d) {
|
|
1528
|
-
for (a =
|
|
1529
|
-
e._a[t] =
|
|
1540
|
+
for (a = ca(e), e._w && e._a[E] == null && e._a[z] == null && ha(e), e._dayOfYear != null && (i = oe(e._a[Y], a[Y]), (e._dayOfYear > we(i) || e._dayOfYear === 0) && (f(e)._overflowDayOfYear = !0), r = ge(i, 0, e._dayOfYear), e._a[z] = r.getUTCMonth(), e._a[E] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1541
|
+
e._a[t] = s[t] = a[t];
|
|
1530
1542
|
for (; t < 7; t++)
|
|
1531
|
-
e._a[t] =
|
|
1532
|
-
e._a[
|
|
1543
|
+
e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1544
|
+
e._a[D] === 24 && e._a[C] === 0 && e._a[$] === 0 && e._a[se] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? ge : ps).apply(
|
|
1533
1545
|
null,
|
|
1534
|
-
|
|
1535
|
-
),
|
|
1546
|
+
s
|
|
1547
|
+
), n = 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 !== n && (f(e).weekdayMismatch = !0);
|
|
1536
1548
|
}
|
|
1537
1549
|
}
|
|
1538
|
-
function
|
|
1539
|
-
var t,
|
|
1540
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (
|
|
1550
|
+
function ha(e) {
|
|
1551
|
+
var t, r, s, a, n, i, u, h, m;
|
|
1552
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (n = 1, i = 4, r = oe(
|
|
1541
1553
|
t.GG,
|
|
1542
|
-
e._a[
|
|
1543
|
-
|
|
1544
|
-
),
|
|
1554
|
+
e._a[Y],
|
|
1555
|
+
Me(M(), 1, 4).year
|
|
1556
|
+
), s = oe(t.W, 1), a = oe(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, m = Me(M(), n, i), r = oe(t.gg, e._a[Y], m.year), s = oe(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (h = !0)) : a = n), s < 1 || s > Z(r, n, i) ? f(e)._overflowWeeks = !0 : h != null ? f(e)._overflowWeekday = !0 : (u = Kt(r, s, a, n, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1545
1557
|
}
|
|
1546
|
-
|
|
1558
|
+
l.ISO_8601 = function() {
|
|
1547
1559
|
};
|
|
1548
|
-
|
|
1560
|
+
l.RFC_2822 = function() {
|
|
1549
1561
|
};
|
|
1550
|
-
function
|
|
1551
|
-
if (e._f ===
|
|
1552
|
-
|
|
1562
|
+
function St(e) {
|
|
1563
|
+
if (e._f === l.ISO_8601) {
|
|
1564
|
+
sr(e);
|
|
1553
1565
|
return;
|
|
1554
1566
|
}
|
|
1555
|
-
if (e._f ===
|
|
1556
|
-
|
|
1567
|
+
if (e._f === l.RFC_2822) {
|
|
1568
|
+
ar(e);
|
|
1557
1569
|
return;
|
|
1558
1570
|
}
|
|
1559
1571
|
e._a = [], f(e).empty = !0;
|
|
1560
|
-
var t = "" + e._i,
|
|
1561
|
-
for (a =
|
|
1562
|
-
|
|
1563
|
-
t.indexOf(
|
|
1564
|
-
), h +=
|
|
1565
|
-
f(e).charsLeftOver =
|
|
1572
|
+
var t = "" + e._i, r, s, a, n, i, u = t.length, h = 0, m, b;
|
|
1573
|
+
for (a = Ht(e._f, e._locale).match(ct) || [], b = a.length, r = 0; r < b; r++)
|
|
1574
|
+
n = a[r], s = (t.match(Xr(n, e)) || [])[0], s && (i = t.substr(0, t.indexOf(s)), i.length > 0 && f(e).unusedInput.push(i), t = t.slice(
|
|
1575
|
+
t.indexOf(s) + s.length
|
|
1576
|
+
), h += s.length), ue[n] ? (s ? f(e).empty = !1 : f(e).unusedTokens.push(n), ts(n, s, e)) : e._strict && !s && f(e).unusedTokens.push(n);
|
|
1577
|
+
f(e).charsLeftOver = u - h, 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] = fa(
|
|
1566
1578
|
e._locale,
|
|
1567
|
-
e._a[
|
|
1579
|
+
e._a[D],
|
|
1568
1580
|
e._meridiem
|
|
1569
|
-
), m = f(e).era, m !== null && (e._a[
|
|
1581
|
+
), m = f(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), vt(e), kt(e);
|
|
1570
1582
|
}
|
|
1571
|
-
function
|
|
1572
|
-
var
|
|
1573
|
-
return
|
|
1583
|
+
function fa(e, t, r) {
|
|
1584
|
+
var s;
|
|
1585
|
+
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);
|
|
1574
1586
|
}
|
|
1575
|
-
function
|
|
1576
|
-
var t,
|
|
1587
|
+
function _a(e) {
|
|
1588
|
+
var t, r, s, a, n, i, u = !1, h = e._f.length;
|
|
1577
1589
|
if (h === 0) {
|
|
1578
1590
|
f(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1579
1591
|
return;
|
|
1580
1592
|
}
|
|
1581
1593
|
for (a = 0; a < h; a++)
|
|
1582
|
-
|
|
1583
|
-
|
|
1594
|
+
n = 0, i = !1, t = ut({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], St(t), lt(t) && (i = !0), n += f(t).charsLeftOver, n += f(t).unusedTokens.length * 10, f(t).score = n, u ? n < s && (s = n, r = t) : (s == null || n < s || i) && (s = n, r = t, i && (u = !0));
|
|
1595
|
+
X(e, r || t);
|
|
1584
1596
|
}
|
|
1585
|
-
function
|
|
1597
|
+
function ma(e) {
|
|
1586
1598
|
if (!e._d) {
|
|
1587
|
-
var t = ht(e._i),
|
|
1588
|
-
e._a =
|
|
1589
|
-
[t.year, t.month,
|
|
1590
|
-
function(
|
|
1591
|
-
return
|
|
1599
|
+
var t = ht(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
1600
|
+
e._a = Et(
|
|
1601
|
+
[t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
|
|
1602
|
+
function(s) {
|
|
1603
|
+
return s && parseInt(s, 10);
|
|
1592
1604
|
}
|
|
1593
|
-
),
|
|
1605
|
+
), vt(e);
|
|
1594
1606
|
}
|
|
1595
1607
|
}
|
|
1596
|
-
function
|
|
1597
|
-
var t = new
|
|
1608
|
+
function ya(e) {
|
|
1609
|
+
var t = new Se(kt(nr(e)));
|
|
1598
1610
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1599
1611
|
}
|
|
1600
|
-
function
|
|
1601
|
-
var t = e._i,
|
|
1602
|
-
return e._locale = e._locale || J(e._l), t === null ||
|
|
1612
|
+
function nr(e) {
|
|
1613
|
+
var t = e._i, r = e._f;
|
|
1614
|
+
return e._locale = e._locale || J(e._l), t === null || r === void 0 && t === "" ? Le({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new Se(kt(t)) : (ve(t) ? e._d = t : W(r) ? _a(e) : r ? St(e) : wa(e), lt(e) || (e._d = null), e));
|
|
1603
1615
|
}
|
|
1604
|
-
function
|
|
1616
|
+
function wa(e) {
|
|
1605
1617
|
var t = e._i;
|
|
1606
|
-
O(t) ? e._d = new Date(
|
|
1607
|
-
return parseInt(
|
|
1608
|
-
}),
|
|
1618
|
+
O(t) ? e._d = new Date(l.now()) : ve(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? da(e) : W(t) ? (e._a = Et(t.slice(0), function(r) {
|
|
1619
|
+
return parseInt(r, 10);
|
|
1620
|
+
}), vt(e)) : ae(t) ? ma(e) : B(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1609
1621
|
}
|
|
1610
|
-
function
|
|
1611
|
-
var
|
|
1612
|
-
return (t === !0 || t === !1) && (
|
|
1622
|
+
function ir(e, t, r, s, a) {
|
|
1623
|
+
var n = {};
|
|
1624
|
+
return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (ae(e) && ot(e) || W(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = r, n._i = e, n._f = t, n._strict = s, ya(n);
|
|
1613
1625
|
}
|
|
1614
|
-
function
|
|
1615
|
-
return
|
|
1626
|
+
function M(e, t, r, s) {
|
|
1627
|
+
return ir(e, t, r, s, !1);
|
|
1616
1628
|
}
|
|
1617
|
-
var
|
|
1629
|
+
var pa = N(
|
|
1618
1630
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1619
1631
|
function() {
|
|
1620
|
-
var e =
|
|
1621
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1632
|
+
var e = M.apply(null, arguments);
|
|
1633
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Le();
|
|
1622
1634
|
}
|
|
1623
|
-
),
|
|
1635
|
+
), ga = N(
|
|
1624
1636
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1625
1637
|
function() {
|
|
1626
|
-
var e =
|
|
1627
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1638
|
+
var e = M.apply(null, arguments);
|
|
1639
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Le();
|
|
1628
1640
|
}
|
|
1629
1641
|
);
|
|
1630
|
-
function
|
|
1631
|
-
var
|
|
1632
|
-
if (t.length === 1 &&
|
|
1633
|
-
return
|
|
1634
|
-
for (
|
|
1635
|
-
(!t[
|
|
1636
|
-
return
|
|
1642
|
+
function or(e, t) {
|
|
1643
|
+
var r, s;
|
|
1644
|
+
if (t.length === 1 && W(t[0]) && (t = t[0]), !t.length)
|
|
1645
|
+
return M();
|
|
1646
|
+
for (r = t[0], s = 1; s < t.length; ++s)
|
|
1647
|
+
(!t[s].isValid() || t[s][e](r)) && (r = t[s]);
|
|
1648
|
+
return r;
|
|
1637
1649
|
}
|
|
1638
1650
|
function Ma() {
|
|
1639
1651
|
var e = [].slice.call(arguments, 0);
|
|
1640
|
-
return
|
|
1652
|
+
return or("isBefore", e);
|
|
1641
1653
|
}
|
|
1642
1654
|
function ka() {
|
|
1643
1655
|
var e = [].slice.call(arguments, 0);
|
|
1644
|
-
return
|
|
1656
|
+
return or("isAfter", e);
|
|
1645
1657
|
}
|
|
1646
|
-
var
|
|
1658
|
+
var va = function() {
|
|
1647
1659
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1648
1660
|
}, ye = [
|
|
1649
1661
|
"year",
|
|
@@ -1656,30 +1668,30 @@ var ba = function() {
|
|
|
1656
1668
|
"second",
|
|
1657
1669
|
"millisecond"
|
|
1658
1670
|
];
|
|
1659
|
-
function
|
|
1660
|
-
var t,
|
|
1671
|
+
function Sa(e) {
|
|
1672
|
+
var t, r = !1, s, a = ye.length;
|
|
1661
1673
|
for (t in e)
|
|
1662
|
-
if (
|
|
1674
|
+
if (w(e, t) && !(S.call(ye, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1663
1675
|
return !1;
|
|
1664
|
-
for (
|
|
1665
|
-
if (e[ye[
|
|
1666
|
-
if (
|
|
1676
|
+
for (s = 0; s < a; ++s)
|
|
1677
|
+
if (e[ye[s]]) {
|
|
1678
|
+
if (r)
|
|
1667
1679
|
return !1;
|
|
1668
|
-
parseFloat(e[ye[
|
|
1680
|
+
parseFloat(e[ye[s]]) !== _(e[ye[s]]) && (r = !0);
|
|
1669
1681
|
}
|
|
1670
1682
|
return !0;
|
|
1671
1683
|
}
|
|
1672
1684
|
function Da() {
|
|
1673
1685
|
return this._isValid;
|
|
1674
1686
|
}
|
|
1675
|
-
function
|
|
1676
|
-
return
|
|
1687
|
+
function Ya() {
|
|
1688
|
+
return L(NaN);
|
|
1677
1689
|
}
|
|
1678
1690
|
function Ve(e) {
|
|
1679
|
-
var t = ht(e),
|
|
1680
|
-
this._isValid =
|
|
1691
|
+
var t = ht(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, n = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, h = t.minute || 0, m = t.second || 0, b = t.millisecond || 0;
|
|
1692
|
+
this._isValid = Sa(t), this._milliseconds = +b + m * 1e3 + // 1000
|
|
1681
1693
|
h * 6e4 + // 1000 * 60
|
|
1682
|
-
|
|
1694
|
+
u * 1e3 * 60 * 60, this._days = +i + n * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = J(), this._bubble();
|
|
1683
1695
|
}
|
|
1684
1696
|
function xe(e) {
|
|
1685
1697
|
return e instanceof Ve;
|
|
@@ -1687,160 +1699,160 @@ function xe(e) {
|
|
|
1687
1699
|
function at(e) {
|
|
1688
1700
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1689
1701
|
}
|
|
1690
|
-
function
|
|
1691
|
-
var
|
|
1692
|
-
for (i = 0; i <
|
|
1693
|
-
_(e[i]) !== _(t[i]) &&
|
|
1694
|
-
return
|
|
1702
|
+
function ba(e, t, r) {
|
|
1703
|
+
var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), n = 0, i;
|
|
1704
|
+
for (i = 0; i < s; i++)
|
|
1705
|
+
_(e[i]) !== _(t[i]) && n++;
|
|
1706
|
+
return n + a;
|
|
1695
1707
|
}
|
|
1696
|
-
function
|
|
1697
|
-
|
|
1698
|
-
var
|
|
1699
|
-
return
|
|
1708
|
+
function lr(e, t) {
|
|
1709
|
+
c(e, 0, 0, function() {
|
|
1710
|
+
var r = this.utcOffset(), s = "+";
|
|
1711
|
+
return r < 0 && (r = -r, s = "-"), s + A(~~(r / 60), 2) + t + A(~~r % 60, 2);
|
|
1700
1712
|
});
|
|
1701
1713
|
}
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1714
|
+
lr("Z", ":");
|
|
1715
|
+
lr("ZZ", "");
|
|
1716
|
+
d("Z", Ue);
|
|
1717
|
+
d("ZZ", Ue);
|
|
1718
|
+
g(["Z", "ZZ"], function(e, t, r) {
|
|
1719
|
+
r._useUTC = !0, r._tzm = Dt(Ue, e);
|
|
1708
1720
|
});
|
|
1709
|
-
var
|
|
1710
|
-
function Yt(e, t) {
|
|
1711
|
-
var n = (t || "").match(e), r, a, s;
|
|
1712
|
-
return n === null ? null : (r = n[n.length - 1] || [], a = (r + "").match(Ta) || ["-", 0, 0], s = +(a[1] * 60) + _(a[2]), s === 0 ? 0 : a[0] === "+" ? s : -s);
|
|
1713
|
-
}
|
|
1721
|
+
var Oa = /([\+\-]|\d\d)/gi;
|
|
1714
1722
|
function Dt(e, t) {
|
|
1715
|
-
var
|
|
1716
|
-
return
|
|
1723
|
+
var r = (t || "").match(e), s, a, n;
|
|
1724
|
+
return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(Oa) || ["-", 0, 0], n = +(a[1] * 60) + _(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
|
|
1725
|
+
}
|
|
1726
|
+
function Yt(e, t) {
|
|
1727
|
+
var r, s;
|
|
1728
|
+
return t._isUTC ? (r = t.clone(), s = (F(e) || ve(e) ? e.valueOf() : M(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), l.updateOffset(r, !1), r) : M(e).local();
|
|
1717
1729
|
}
|
|
1718
|
-
function
|
|
1730
|
+
function nt(e) {
|
|
1719
1731
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1720
1732
|
}
|
|
1721
|
-
|
|
1733
|
+
l.updateOffset = function() {
|
|
1722
1734
|
};
|
|
1723
|
-
function
|
|
1724
|
-
var
|
|
1735
|
+
function Ta(e, t, r) {
|
|
1736
|
+
var s = this._offset || 0, a;
|
|
1725
1737
|
if (!this.isValid())
|
|
1726
1738
|
return e != null ? this : NaN;
|
|
1727
1739
|
if (e != null) {
|
|
1728
1740
|
if (typeof e == "string") {
|
|
1729
|
-
if (e =
|
|
1741
|
+
if (e = Dt(Ue, e), e === null)
|
|
1730
1742
|
return this;
|
|
1731
|
-
} else Math.abs(e) < 16 && !
|
|
1732
|
-
return !this._isUTC && t && (a =
|
|
1743
|
+
} else Math.abs(e) < 16 && !r && (e = e * 60);
|
|
1744
|
+
return !this._isUTC && t && (a = nt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!t || this._changeInProgress ? cr(
|
|
1733
1745
|
this,
|
|
1734
|
-
|
|
1746
|
+
L(e - s, "m"),
|
|
1735
1747
|
1,
|
|
1736
1748
|
!1
|
|
1737
|
-
) : this._changeInProgress || (this._changeInProgress = !0,
|
|
1749
|
+
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1738
1750
|
} else
|
|
1739
|
-
return this._isUTC ?
|
|
1751
|
+
return this._isUTC ? s : nt(this);
|
|
1740
1752
|
}
|
|
1741
|
-
function
|
|
1753
|
+
function xa(e, t) {
|
|
1742
1754
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1743
1755
|
}
|
|
1744
|
-
function
|
|
1756
|
+
function Ra(e) {
|
|
1745
1757
|
return this.utcOffset(0, e);
|
|
1746
1758
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1759
|
+
function Na(e) {
|
|
1760
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(nt(this), "m")), this;
|
|
1749
1761
|
}
|
|
1750
1762
|
function Pa() {
|
|
1751
1763
|
if (this._tzm != null)
|
|
1752
1764
|
this.utcOffset(this._tzm, !1, !0);
|
|
1753
1765
|
else if (typeof this._i == "string") {
|
|
1754
|
-
var e =
|
|
1766
|
+
var e = Dt(Qr, this._i);
|
|
1755
1767
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1756
1768
|
}
|
|
1757
1769
|
return this;
|
|
1758
1770
|
}
|
|
1759
|
-
function
|
|
1760
|
-
return this.isValid() ? (e = e ?
|
|
1771
|
+
function Ca(e) {
|
|
1772
|
+
return this.isValid() ? (e = e ? M(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1761
1773
|
}
|
|
1762
|
-
function
|
|
1774
|
+
function Wa() {
|
|
1763
1775
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1764
1776
|
}
|
|
1765
|
-
function
|
|
1777
|
+
function Fa() {
|
|
1766
1778
|
if (!O(this._isDSTShifted))
|
|
1767
1779
|
return this._isDSTShifted;
|
|
1768
1780
|
var e = {}, t;
|
|
1769
|
-
return
|
|
1781
|
+
return ut(e, this), e = nr(e), e._a ? (t = e._isUTC ? I(e._a) : M(e._a), this._isDSTShifted = this.isValid() && ba(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1770
1782
|
}
|
|
1771
|
-
function
|
|
1783
|
+
function La() {
|
|
1772
1784
|
return this.isValid() ? !this._isUTC : !1;
|
|
1773
1785
|
}
|
|
1774
|
-
function
|
|
1786
|
+
function Ea() {
|
|
1775
1787
|
return this.isValid() ? this._isUTC : !1;
|
|
1776
1788
|
}
|
|
1777
|
-
function
|
|
1789
|
+
function ur() {
|
|
1778
1790
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1779
1791
|
}
|
|
1780
|
-
var
|
|
1781
|
-
function
|
|
1782
|
-
var
|
|
1783
|
-
return xe(e) ?
|
|
1792
|
+
var Aa = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Ia = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1793
|
+
function L(e, t) {
|
|
1794
|
+
var r = e, s = null, a, n, i;
|
|
1795
|
+
return xe(e) ? r = {
|
|
1784
1796
|
ms: e._milliseconds,
|
|
1785
1797
|
d: e._days,
|
|
1786
1798
|
M: e._months
|
|
1787
|
-
} :
|
|
1799
|
+
} : B(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Aa.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1788
1800
|
y: 0,
|
|
1789
|
-
d: _(
|
|
1790
|
-
h: _(
|
|
1791
|
-
m: _(
|
|
1792
|
-
s: _(
|
|
1793
|
-
ms: _(at(
|
|
1801
|
+
d: _(s[E]) * a,
|
|
1802
|
+
h: _(s[D]) * a,
|
|
1803
|
+
m: _(s[C]) * a,
|
|
1804
|
+
s: _(s[$]) * a,
|
|
1805
|
+
ms: _(at(s[se] * 1e3)) * a
|
|
1794
1806
|
// the millisecond decimal point is included in the match
|
|
1795
|
-
}) : (
|
|
1796
|
-
y:
|
|
1797
|
-
M:
|
|
1798
|
-
w:
|
|
1799
|
-
d:
|
|
1800
|
-
h:
|
|
1801
|
-
m:
|
|
1802
|
-
s:
|
|
1803
|
-
}) :
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
),
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
function
|
|
1811
|
-
var
|
|
1812
|
-
return (isNaN(
|
|
1813
|
-
}
|
|
1814
|
-
function
|
|
1815
|
-
var
|
|
1816
|
-
return
|
|
1817
|
-
}
|
|
1818
|
-
function
|
|
1819
|
-
var
|
|
1820
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1807
|
+
}) : (s = Ia.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
|
|
1808
|
+
y: re(s[2], a),
|
|
1809
|
+
M: re(s[3], a),
|
|
1810
|
+
w: re(s[4], a),
|
|
1811
|
+
d: re(s[5], a),
|
|
1812
|
+
h: re(s[6], a),
|
|
1813
|
+
m: re(s[7], a),
|
|
1814
|
+
s: re(s[8], a)
|
|
1815
|
+
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i = Ha(
|
|
1816
|
+
M(r.from),
|
|
1817
|
+
M(r.to)
|
|
1818
|
+
), r = {}, r.ms = i.milliseconds, r.M = i.months), n = new Ve(r), xe(e) && w(e, "_locale") && (n._locale = e._locale), xe(e) && w(e, "_isValid") && (n._isValid = e._isValid), n;
|
|
1819
|
+
}
|
|
1820
|
+
L.fn = Ve.prototype;
|
|
1821
|
+
L.invalid = Ya;
|
|
1822
|
+
function re(e, t) {
|
|
1823
|
+
var r = e && parseFloat(e.replace(",", "."));
|
|
1824
|
+
return (isNaN(r) ? 0 : r) * t;
|
|
1825
|
+
}
|
|
1826
|
+
function Ct(e, t) {
|
|
1827
|
+
var r = {};
|
|
1828
|
+
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;
|
|
1829
|
+
}
|
|
1830
|
+
function Ha(e, t) {
|
|
1831
|
+
var r;
|
|
1832
|
+
return e.isValid() && t.isValid() ? (t = Yt(t, e), e.isBefore(t) ? r = Ct(e, t) : (r = Ct(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
|
|
1821
1833
|
}
|
|
1822
|
-
function
|
|
1823
|
-
return function(
|
|
1824
|
-
var a,
|
|
1825
|
-
return
|
|
1834
|
+
function dr(e, t) {
|
|
1835
|
+
return function(r, s) {
|
|
1836
|
+
var a, n;
|
|
1837
|
+
return s !== null && !isNaN(+s) && (It(
|
|
1826
1838
|
t,
|
|
1827
1839
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1828
|
-
),
|
|
1840
|
+
), n = r, r = s, s = n), a = L(r, s), cr(this, a, e), this;
|
|
1829
1841
|
};
|
|
1830
1842
|
}
|
|
1831
|
-
function
|
|
1832
|
-
var a = t._milliseconds,
|
|
1833
|
-
e.isValid() && (
|
|
1843
|
+
function cr(e, t, r, s) {
|
|
1844
|
+
var a = t._milliseconds, n = at(t._days), i = at(t._months);
|
|
1845
|
+
e.isValid() && (s = s ?? !0, i && Bt(e, pe(e, "Month") + i * r), n && $t(e, "Date", pe(e, "Date") + n * r), a && e._d.setTime(e._d.valueOf() + a * r), s && l.updateOffset(e, n || i));
|
|
1834
1846
|
}
|
|
1835
|
-
var
|
|
1836
|
-
function
|
|
1847
|
+
var Ua = dr(1, "add"), ja = dr(-1, "subtract");
|
|
1848
|
+
function hr(e) {
|
|
1837
1849
|
return typeof e == "string" || e instanceof String;
|
|
1838
1850
|
}
|
|
1839
|
-
function
|
|
1840
|
-
return
|
|
1851
|
+
function Ga(e) {
|
|
1852
|
+
return F(e) || ve(e) || hr(e) || B(e) || za(e) || Va(e) || e === null || e === void 0;
|
|
1841
1853
|
}
|
|
1842
|
-
function
|
|
1843
|
-
var t = ae(e) && !ot(e),
|
|
1854
|
+
function Va(e) {
|
|
1855
|
+
var t = ae(e) && !ot(e), r = !1, s = [
|
|
1844
1856
|
"years",
|
|
1845
1857
|
"year",
|
|
1846
1858
|
"y",
|
|
@@ -1865,198 +1877,198 @@ function qa(e) {
|
|
|
1865
1877
|
"milliseconds",
|
|
1866
1878
|
"millisecond",
|
|
1867
1879
|
"ms"
|
|
1868
|
-
], a,
|
|
1880
|
+
], a, n, i = s.length;
|
|
1869
1881
|
for (a = 0; a < i; a += 1)
|
|
1870
|
-
|
|
1871
|
-
return t &&
|
|
1882
|
+
n = s[a], r = r || w(e, n);
|
|
1883
|
+
return t && r;
|
|
1872
1884
|
}
|
|
1873
1885
|
function za(e) {
|
|
1874
|
-
var t =
|
|
1875
|
-
return t && (
|
|
1876
|
-
return
|
|
1877
|
-
}).length === 0), t &&
|
|
1886
|
+
var t = W(e), r = !1;
|
|
1887
|
+
return t && (r = e.filter(function(s) {
|
|
1888
|
+
return !B(s) && hr(e);
|
|
1889
|
+
}).length === 0), t && r;
|
|
1878
1890
|
}
|
|
1879
|
-
function
|
|
1880
|
-
var t = ae(e) && !ot(e),
|
|
1891
|
+
function $a(e) {
|
|
1892
|
+
var t = ae(e) && !ot(e), r = !1, s = [
|
|
1881
1893
|
"sameDay",
|
|
1882
1894
|
"nextDay",
|
|
1883
1895
|
"lastDay",
|
|
1884
1896
|
"nextWeek",
|
|
1885
1897
|
"lastWeek",
|
|
1886
1898
|
"sameElse"
|
|
1887
|
-
], a,
|
|
1888
|
-
for (a = 0; a <
|
|
1889
|
-
|
|
1890
|
-
return t &&
|
|
1891
|
-
}
|
|
1892
|
-
function
|
|
1893
|
-
var
|
|
1894
|
-
return
|
|
1895
|
-
}
|
|
1896
|
-
function
|
|
1897
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1898
|
-
var
|
|
1899
|
+
], a, n;
|
|
1900
|
+
for (a = 0; a < s.length; a += 1)
|
|
1901
|
+
n = s[a], r = r || w(e, n);
|
|
1902
|
+
return t && r;
|
|
1903
|
+
}
|
|
1904
|
+
function qa(e, t) {
|
|
1905
|
+
var r = e.diff(t, "days", !0);
|
|
1906
|
+
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
1907
|
+
}
|
|
1908
|
+
function Za(e, t) {
|
|
1909
|
+
arguments.length === 1 && (arguments[0] ? Ga(arguments[0]) ? (e = arguments[0], t = void 0) : $a(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1910
|
+
var r = e || M(), s = Yt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", n = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
|
|
1899
1911
|
return this.format(
|
|
1900
|
-
|
|
1912
|
+
n || this.localeData().calendar(a, this, M(r))
|
|
1901
1913
|
);
|
|
1902
1914
|
}
|
|
1903
|
-
function
|
|
1904
|
-
return new
|
|
1915
|
+
function Ba() {
|
|
1916
|
+
return new Se(this);
|
|
1905
1917
|
}
|
|
1906
|
-
function
|
|
1907
|
-
var
|
|
1908
|
-
return this.isValid() &&
|
|
1918
|
+
function Ja(e, t) {
|
|
1919
|
+
var r = F(e) ? e : M(e);
|
|
1920
|
+
return this.isValid() && r.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1909
1921
|
}
|
|
1910
|
-
function
|
|
1911
|
-
var
|
|
1912
|
-
return this.isValid() &&
|
|
1922
|
+
function Qa(e, t) {
|
|
1923
|
+
var r = F(e) ? e : M(e);
|
|
1924
|
+
return this.isValid() && r.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
1913
1925
|
}
|
|
1914
|
-
function Ka(e, t,
|
|
1915
|
-
var a =
|
|
1916
|
-
return this.isValid() && a.isValid() &&
|
|
1926
|
+
function Ka(e, t, r, s) {
|
|
1927
|
+
var a = F(e) ? e : M(e), n = F(t) ? t : M(t);
|
|
1928
|
+
return this.isValid() && a.isValid() && n.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (s[1] === ")" ? this.isBefore(n, r) : !this.isAfter(n, r))) : !1;
|
|
1917
1929
|
}
|
|
1918
|
-
function
|
|
1919
|
-
var
|
|
1920
|
-
return this.isValid() &&
|
|
1930
|
+
function Xa(e, t) {
|
|
1931
|
+
var r = F(e) ? e : M(e), s;
|
|
1932
|
+
return this.isValid() && r.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (s = r.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
|
|
1921
1933
|
}
|
|
1922
|
-
function
|
|
1934
|
+
function en(e, t) {
|
|
1923
1935
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1924
1936
|
}
|
|
1925
|
-
function
|
|
1937
|
+
function tn(e, t) {
|
|
1926
1938
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1927
1939
|
}
|
|
1928
|
-
function
|
|
1929
|
-
var
|
|
1940
|
+
function rn(e, t, r) {
|
|
1941
|
+
var s, a, n;
|
|
1930
1942
|
if (!this.isValid())
|
|
1931
1943
|
return NaN;
|
|
1932
|
-
if (
|
|
1944
|
+
if (s = Yt(e, this), !s.isValid())
|
|
1933
1945
|
return NaN;
|
|
1934
|
-
switch (a = (
|
|
1946
|
+
switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, t = P(t), t) {
|
|
1935
1947
|
case "year":
|
|
1936
|
-
|
|
1948
|
+
n = Re(this, s) / 12;
|
|
1937
1949
|
break;
|
|
1938
1950
|
case "month":
|
|
1939
|
-
|
|
1951
|
+
n = Re(this, s);
|
|
1940
1952
|
break;
|
|
1941
1953
|
case "quarter":
|
|
1942
|
-
|
|
1954
|
+
n = Re(this, s) / 3;
|
|
1943
1955
|
break;
|
|
1944
1956
|
case "second":
|
|
1945
|
-
|
|
1957
|
+
n = (this - s) / 1e3;
|
|
1946
1958
|
break;
|
|
1947
1959
|
case "minute":
|
|
1948
|
-
|
|
1960
|
+
n = (this - s) / 6e4;
|
|
1949
1961
|
break;
|
|
1950
1962
|
case "hour":
|
|
1951
|
-
|
|
1963
|
+
n = (this - s) / 36e5;
|
|
1952
1964
|
break;
|
|
1953
1965
|
case "day":
|
|
1954
|
-
|
|
1966
|
+
n = (this - s - a) / 864e5;
|
|
1955
1967
|
break;
|
|
1956
1968
|
case "week":
|
|
1957
|
-
|
|
1969
|
+
n = (this - s - a) / 6048e5;
|
|
1958
1970
|
break;
|
|
1959
1971
|
default:
|
|
1960
|
-
|
|
1972
|
+
n = this - s;
|
|
1961
1973
|
}
|
|
1962
|
-
return
|
|
1974
|
+
return r ? n : R(n);
|
|
1963
1975
|
}
|
|
1964
|
-
function
|
|
1976
|
+
function Re(e, t) {
|
|
1965
1977
|
if (e.date() < t.date())
|
|
1966
|
-
return -
|
|
1967
|
-
var
|
|
1968
|
-
return t -
|
|
1978
|
+
return -Re(t, e);
|
|
1979
|
+
var r = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(r, "months"), a, n;
|
|
1980
|
+
return t - s < 0 ? (a = e.clone().add(r - 1, "months"), n = (t - s) / (s - a)) : (a = e.clone().add(r + 1, "months"), n = (t - s) / (a - s)), -(r + n) || 0;
|
|
1969
1981
|
}
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
function
|
|
1982
|
+
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1983
|
+
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1984
|
+
function sn() {
|
|
1973
1985
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1974
1986
|
}
|
|
1975
|
-
function
|
|
1987
|
+
function an(e) {
|
|
1976
1988
|
if (!this.isValid())
|
|
1977
1989
|
return null;
|
|
1978
|
-
var t = e !== !0,
|
|
1979
|
-
return
|
|
1980
|
-
|
|
1990
|
+
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
1991
|
+
return r.year() < 0 || r.year() > 9999 ? Te(
|
|
1992
|
+
r,
|
|
1981
1993
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1982
|
-
) :
|
|
1983
|
-
|
|
1994
|
+
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Te(r, "Z")) : Te(
|
|
1995
|
+
r,
|
|
1984
1996
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1985
1997
|
);
|
|
1986
1998
|
}
|
|
1987
|
-
function
|
|
1999
|
+
function nn() {
|
|
1988
2000
|
if (!this.isValid())
|
|
1989
2001
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1990
|
-
var e = "moment", t = "",
|
|
1991
|
-
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"),
|
|
2002
|
+
var e = "moment", t = "", r, s, a, n;
|
|
2003
|
+
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), r = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", n = t + '[")]', this.format(r + s + a + n);
|
|
1992
2004
|
}
|
|
1993
|
-
function
|
|
1994
|
-
e || (e = this.isUtc() ?
|
|
2005
|
+
function on(e) {
|
|
2006
|
+
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1995
2007
|
var t = Te(this, e);
|
|
1996
2008
|
return this.localeData().postformat(t);
|
|
1997
2009
|
}
|
|
1998
|
-
function
|
|
1999
|
-
return this.isValid() && (
|
|
2010
|
+
function ln(e, t) {
|
|
2011
|
+
return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
2000
2012
|
}
|
|
2001
|
-
function
|
|
2002
|
-
return this.from(
|
|
2013
|
+
function un(e) {
|
|
2014
|
+
return this.from(M(), e);
|
|
2003
2015
|
}
|
|
2004
|
-
function
|
|
2005
|
-
return this.isValid() && (
|
|
2016
|
+
function dn(e, t) {
|
|
2017
|
+
return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
2006
2018
|
}
|
|
2007
|
-
function
|
|
2008
|
-
return this.to(
|
|
2019
|
+
function cn(e) {
|
|
2020
|
+
return this.to(M(), e);
|
|
2009
2021
|
}
|
|
2010
|
-
function
|
|
2022
|
+
function fr(e) {
|
|
2011
2023
|
var t;
|
|
2012
2024
|
return e === void 0 ? this._locale._abbr : (t = J(e), t != null && (this._locale = t), this);
|
|
2013
2025
|
}
|
|
2014
|
-
var
|
|
2026
|
+
var _r = N(
|
|
2015
2027
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
2016
2028
|
function(e) {
|
|
2017
2029
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
2018
2030
|
}
|
|
2019
2031
|
);
|
|
2020
|
-
function
|
|
2032
|
+
function mr() {
|
|
2021
2033
|
return this._locale;
|
|
2022
2034
|
}
|
|
2023
|
-
var
|
|
2024
|
-
function
|
|
2035
|
+
var Ce = 1e3, de = 60 * Ce, We = 60 * de, yr = (365 * 400 + 97) * 24 * We;
|
|
2036
|
+
function ce(e, t) {
|
|
2025
2037
|
return (e % t + t) % t;
|
|
2026
2038
|
}
|
|
2027
|
-
function
|
|
2028
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t,
|
|
2039
|
+
function wr(e, t, r) {
|
|
2040
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - yr : new Date(e, t, r).valueOf();
|
|
2029
2041
|
}
|
|
2030
|
-
function
|
|
2031
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t,
|
|
2042
|
+
function pr(e, t, r) {
|
|
2043
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - yr : Date.UTC(e, t, r);
|
|
2032
2044
|
}
|
|
2033
|
-
function
|
|
2034
|
-
var t,
|
|
2035
|
-
if (e =
|
|
2045
|
+
function hn(e) {
|
|
2046
|
+
var t, r;
|
|
2047
|
+
if (e = P(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2036
2048
|
return this;
|
|
2037
|
-
switch (
|
|
2049
|
+
switch (r = this._isUTC ? pr : wr, e) {
|
|
2038
2050
|
case "year":
|
|
2039
|
-
t =
|
|
2051
|
+
t = r(this.year(), 0, 1);
|
|
2040
2052
|
break;
|
|
2041
2053
|
case "quarter":
|
|
2042
|
-
t =
|
|
2054
|
+
t = r(
|
|
2043
2055
|
this.year(),
|
|
2044
2056
|
this.month() - this.month() % 3,
|
|
2045
2057
|
1
|
|
2046
2058
|
);
|
|
2047
2059
|
break;
|
|
2048
2060
|
case "month":
|
|
2049
|
-
t =
|
|
2061
|
+
t = r(this.year(), this.month(), 1);
|
|
2050
2062
|
break;
|
|
2051
2063
|
case "week":
|
|
2052
|
-
t =
|
|
2064
|
+
t = r(
|
|
2053
2065
|
this.year(),
|
|
2054
2066
|
this.month(),
|
|
2055
2067
|
this.date() - this.weekday()
|
|
2056
2068
|
);
|
|
2057
2069
|
break;
|
|
2058
2070
|
case "isoWeek":
|
|
2059
|
-
t =
|
|
2071
|
+
t = r(
|
|
2060
2072
|
this.year(),
|
|
2061
2073
|
this.month(),
|
|
2062
2074
|
this.date() - (this.isoWeekday() - 1)
|
|
@@ -2064,50 +2076,50 @@ function hs(e) {
|
|
|
2064
2076
|
break;
|
|
2065
2077
|
case "day":
|
|
2066
2078
|
case "date":
|
|
2067
|
-
t =
|
|
2079
|
+
t = r(this.year(), this.month(), this.date());
|
|
2068
2080
|
break;
|
|
2069
2081
|
case "hour":
|
|
2070
|
-
t = this._d.valueOf(), t -=
|
|
2071
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2072
|
-
|
|
2082
|
+
t = this._d.valueOf(), t -= ce(
|
|
2083
|
+
t + (this._isUTC ? 0 : this.utcOffset() * de),
|
|
2084
|
+
We
|
|
2073
2085
|
);
|
|
2074
2086
|
break;
|
|
2075
2087
|
case "minute":
|
|
2076
|
-
t = this._d.valueOf(), t -=
|
|
2088
|
+
t = this._d.valueOf(), t -= ce(t, de);
|
|
2077
2089
|
break;
|
|
2078
2090
|
case "second":
|
|
2079
|
-
t = this._d.valueOf(), t -=
|
|
2091
|
+
t = this._d.valueOf(), t -= ce(t, Ce);
|
|
2080
2092
|
break;
|
|
2081
2093
|
}
|
|
2082
|
-
return this._d.setTime(t),
|
|
2094
|
+
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
2083
2095
|
}
|
|
2084
|
-
function
|
|
2085
|
-
var t,
|
|
2086
|
-
if (e =
|
|
2096
|
+
function fn(e) {
|
|
2097
|
+
var t, r;
|
|
2098
|
+
if (e = P(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2087
2099
|
return this;
|
|
2088
|
-
switch (
|
|
2100
|
+
switch (r = this._isUTC ? pr : wr, e) {
|
|
2089
2101
|
case "year":
|
|
2090
|
-
t =
|
|
2102
|
+
t = r(this.year() + 1, 0, 1) - 1;
|
|
2091
2103
|
break;
|
|
2092
2104
|
case "quarter":
|
|
2093
|
-
t =
|
|
2105
|
+
t = r(
|
|
2094
2106
|
this.year(),
|
|
2095
2107
|
this.month() - this.month() % 3 + 3,
|
|
2096
2108
|
1
|
|
2097
2109
|
) - 1;
|
|
2098
2110
|
break;
|
|
2099
2111
|
case "month":
|
|
2100
|
-
t =
|
|
2112
|
+
t = r(this.year(), this.month() + 1, 1) - 1;
|
|
2101
2113
|
break;
|
|
2102
2114
|
case "week":
|
|
2103
|
-
t =
|
|
2115
|
+
t = r(
|
|
2104
2116
|
this.year(),
|
|
2105
2117
|
this.month(),
|
|
2106
2118
|
this.date() - this.weekday() + 7
|
|
2107
2119
|
) - 1;
|
|
2108
2120
|
break;
|
|
2109
2121
|
case "isoWeek":
|
|
2110
|
-
t =
|
|
2122
|
+
t = r(
|
|
2111
2123
|
this.year(),
|
|
2112
2124
|
this.month(),
|
|
2113
2125
|
this.date() - (this.isoWeekday() - 1) + 7
|
|
@@ -2115,33 +2127,33 @@ function fs(e) {
|
|
|
2115
2127
|
break;
|
|
2116
2128
|
case "day":
|
|
2117
2129
|
case "date":
|
|
2118
|
-
t =
|
|
2130
|
+
t = r(this.year(), this.month(), this.date() + 1) - 1;
|
|
2119
2131
|
break;
|
|
2120
2132
|
case "hour":
|
|
2121
|
-
t = this._d.valueOf(), t +=
|
|
2122
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
2123
|
-
|
|
2133
|
+
t = this._d.valueOf(), t += We - ce(
|
|
2134
|
+
t + (this._isUTC ? 0 : this.utcOffset() * de),
|
|
2135
|
+
We
|
|
2124
2136
|
) - 1;
|
|
2125
2137
|
break;
|
|
2126
2138
|
case "minute":
|
|
2127
|
-
t = this._d.valueOf(), t +=
|
|
2139
|
+
t = this._d.valueOf(), t += de - ce(t, de) - 1;
|
|
2128
2140
|
break;
|
|
2129
2141
|
case "second":
|
|
2130
|
-
t = this._d.valueOf(), t +=
|
|
2142
|
+
t = this._d.valueOf(), t += Ce - ce(t, Ce) - 1;
|
|
2131
2143
|
break;
|
|
2132
2144
|
}
|
|
2133
|
-
return this._d.setTime(t),
|
|
2145
|
+
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
2134
2146
|
}
|
|
2135
|
-
function
|
|
2147
|
+
function _n() {
|
|
2136
2148
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
2137
2149
|
}
|
|
2138
|
-
function
|
|
2150
|
+
function mn() {
|
|
2139
2151
|
return Math.floor(this.valueOf() / 1e3);
|
|
2140
2152
|
}
|
|
2141
|
-
function
|
|
2153
|
+
function yn() {
|
|
2142
2154
|
return new Date(this.valueOf());
|
|
2143
2155
|
}
|
|
2144
|
-
function
|
|
2156
|
+
function wn() {
|
|
2145
2157
|
var e = this;
|
|
2146
2158
|
return [
|
|
2147
2159
|
e.year(),
|
|
@@ -2153,7 +2165,7 @@ function gs() {
|
|
|
2153
2165
|
e.millisecond()
|
|
2154
2166
|
];
|
|
2155
2167
|
}
|
|
2156
|
-
function
|
|
2168
|
+
function pn() {
|
|
2157
2169
|
var e = this;
|
|
2158
2170
|
return {
|
|
2159
2171
|
years: e.year(),
|
|
@@ -2165,19 +2177,19 @@ function ps() {
|
|
|
2165
2177
|
milliseconds: e.milliseconds()
|
|
2166
2178
|
};
|
|
2167
2179
|
}
|
|
2168
|
-
function
|
|
2180
|
+
function gn() {
|
|
2169
2181
|
return this.isValid() ? this.toISOString() : null;
|
|
2170
2182
|
}
|
|
2171
|
-
function
|
|
2172
|
-
return
|
|
2183
|
+
function Mn() {
|
|
2184
|
+
return lt(this);
|
|
2173
2185
|
}
|
|
2174
|
-
function
|
|
2175
|
-
return
|
|
2186
|
+
function kn() {
|
|
2187
|
+
return X({}, f(this));
|
|
2176
2188
|
}
|
|
2177
|
-
function
|
|
2189
|
+
function vn() {
|
|
2178
2190
|
return f(this).overflow;
|
|
2179
2191
|
}
|
|
2180
|
-
function
|
|
2192
|
+
function Sn() {
|
|
2181
2193
|
return {
|
|
2182
2194
|
input: this._i,
|
|
2183
2195
|
format: this._f,
|
|
@@ -2186,173 +2198,173 @@ function bs() {
|
|
|
2186
2198
|
strict: this._strict
|
|
2187
2199
|
};
|
|
2188
2200
|
}
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2201
|
+
c("N", 0, 0, "eraAbbr");
|
|
2202
|
+
c("NN", 0, 0, "eraAbbr");
|
|
2203
|
+
c("NNN", 0, 0, "eraAbbr");
|
|
2204
|
+
c("NNNN", 0, 0, "eraName");
|
|
2205
|
+
c("NNNNN", 0, 0, "eraNarrow");
|
|
2206
|
+
c("y", ["y", 1], "yo", "eraYear");
|
|
2207
|
+
c("y", ["yy", 2], 0, "eraYear");
|
|
2208
|
+
c("y", ["yyy", 3], 0, "eraYear");
|
|
2209
|
+
c("y", ["yyyy", 4], 0, "eraYear");
|
|
2210
|
+
d("N", bt);
|
|
2211
|
+
d("NN", bt);
|
|
2212
|
+
d("NNN", bt);
|
|
2213
|
+
d("NNNN", Wn);
|
|
2214
|
+
d("NNNNN", Fn);
|
|
2215
|
+
g(
|
|
2204
2216
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2205
|
-
function(e, t,
|
|
2206
|
-
var a =
|
|
2207
|
-
a ? f(
|
|
2217
|
+
function(e, t, r, s) {
|
|
2218
|
+
var a = r._locale.erasParse(e, s, r._strict);
|
|
2219
|
+
a ? f(r).era = a : f(r).invalidEra = e;
|
|
2208
2220
|
}
|
|
2209
2221
|
);
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2222
|
+
d("y", he);
|
|
2223
|
+
d("yy", he);
|
|
2224
|
+
d("yyy", he);
|
|
2225
|
+
d("yyyy", he);
|
|
2226
|
+
d("yo", Ln);
|
|
2227
|
+
g(["y", "yy", "yyy", "yyyy"], Y);
|
|
2228
|
+
g(["yo"], function(e, t, r, s) {
|
|
2217
2229
|
var a;
|
|
2218
|
-
|
|
2230
|
+
r._locale._eraYearOrdinalRegex && (a = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Y] = r._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
|
2219
2231
|
});
|
|
2220
|
-
function
|
|
2221
|
-
var
|
|
2222
|
-
for (
|
|
2223
|
-
switch (typeof
|
|
2232
|
+
function Dn(e, t) {
|
|
2233
|
+
var r, s, a, n = this._eras || J("en")._eras;
|
|
2234
|
+
for (r = 0, s = n.length; r < s; ++r) {
|
|
2235
|
+
switch (typeof n[r].since) {
|
|
2224
2236
|
case "string":
|
|
2225
|
-
a =
|
|
2237
|
+
a = l(n[r].since).startOf("day"), n[r].since = a.valueOf();
|
|
2226
2238
|
break;
|
|
2227
2239
|
}
|
|
2228
|
-
switch (typeof
|
|
2240
|
+
switch (typeof n[r].until) {
|
|
2229
2241
|
case "undefined":
|
|
2230
|
-
|
|
2242
|
+
n[r].until = 1 / 0;
|
|
2231
2243
|
break;
|
|
2232
2244
|
case "string":
|
|
2233
|
-
a =
|
|
2245
|
+
a = l(n[r].until).startOf("day").valueOf(), n[r].until = a.valueOf();
|
|
2234
2246
|
break;
|
|
2235
2247
|
}
|
|
2236
2248
|
}
|
|
2237
|
-
return
|
|
2249
|
+
return n;
|
|
2238
2250
|
}
|
|
2239
|
-
function
|
|
2240
|
-
var
|
|
2241
|
-
for (e = e.toUpperCase(),
|
|
2242
|
-
if (i = s
|
|
2251
|
+
function Yn(e, t, r) {
|
|
2252
|
+
var s, a, n = this.eras(), i, u, h;
|
|
2253
|
+
for (e = e.toUpperCase(), s = 0, a = n.length; s < a; ++s)
|
|
2254
|
+
if (i = n[s].name.toUpperCase(), u = n[s].abbr.toUpperCase(), h = n[s].narrow.toUpperCase(), r)
|
|
2243
2255
|
switch (t) {
|
|
2244
2256
|
case "N":
|
|
2245
2257
|
case "NN":
|
|
2246
2258
|
case "NNN":
|
|
2247
|
-
if (
|
|
2248
|
-
return s
|
|
2259
|
+
if (u === e)
|
|
2260
|
+
return n[s];
|
|
2249
2261
|
break;
|
|
2250
2262
|
case "NNNN":
|
|
2251
2263
|
if (i === e)
|
|
2252
|
-
return s
|
|
2264
|
+
return n[s];
|
|
2253
2265
|
break;
|
|
2254
2266
|
case "NNNNN":
|
|
2255
2267
|
if (h === e)
|
|
2256
|
-
return s
|
|
2268
|
+
return n[s];
|
|
2257
2269
|
break;
|
|
2258
2270
|
}
|
|
2259
|
-
else if ([i,
|
|
2260
|
-
return s
|
|
2261
|
-
}
|
|
2262
|
-
function
|
|
2263
|
-
var
|
|
2264
|
-
return t === void 0 ?
|
|
2265
|
-
}
|
|
2266
|
-
function
|
|
2267
|
-
var e, t,
|
|
2268
|
-
for (e = 0, t =
|
|
2269
|
-
if (
|
|
2270
|
-
return
|
|
2271
|
+
else if ([i, u, h].indexOf(e) >= 0)
|
|
2272
|
+
return n[s];
|
|
2273
|
+
}
|
|
2274
|
+
function bn(e, t) {
|
|
2275
|
+
var r = e.since <= e.until ? 1 : -1;
|
|
2276
|
+
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * r;
|
|
2277
|
+
}
|
|
2278
|
+
function On() {
|
|
2279
|
+
var e, t, r, s = this.localeData().eras();
|
|
2280
|
+
for (e = 0, t = s.length; e < t; ++e)
|
|
2281
|
+
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2282
|
+
return s[e].name;
|
|
2271
2283
|
return "";
|
|
2272
2284
|
}
|
|
2273
|
-
function
|
|
2274
|
-
var e, t,
|
|
2275
|
-
for (e = 0, t =
|
|
2276
|
-
if (
|
|
2277
|
-
return
|
|
2285
|
+
function Tn() {
|
|
2286
|
+
var e, t, r, s = this.localeData().eras();
|
|
2287
|
+
for (e = 0, t = s.length; e < t; ++e)
|
|
2288
|
+
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2289
|
+
return s[e].narrow;
|
|
2278
2290
|
return "";
|
|
2279
2291
|
}
|
|
2280
|
-
function
|
|
2281
|
-
var e, t,
|
|
2282
|
-
for (e = 0, t =
|
|
2283
|
-
if (
|
|
2284
|
-
return
|
|
2292
|
+
function xn() {
|
|
2293
|
+
var e, t, r, s = this.localeData().eras();
|
|
2294
|
+
for (e = 0, t = s.length; e < t; ++e)
|
|
2295
|
+
if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
|
|
2296
|
+
return s[e].abbr;
|
|
2285
2297
|
return "";
|
|
2286
2298
|
}
|
|
2287
|
-
function
|
|
2288
|
-
var e, t,
|
|
2299
|
+
function Rn() {
|
|
2300
|
+
var e, t, r, s, a = this.localeData().eras();
|
|
2289
2301
|
for (e = 0, t = a.length; e < t; ++e)
|
|
2290
|
-
if (
|
|
2291
|
-
return (this.year() -
|
|
2302
|
+
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)
|
|
2303
|
+
return (this.year() - l(a[e].since).year()) * r + a[e].offset;
|
|
2292
2304
|
return this.year();
|
|
2293
2305
|
}
|
|
2294
|
-
function
|
|
2295
|
-
return
|
|
2306
|
+
function Nn(e) {
|
|
2307
|
+
return w(this, "_erasNameRegex") || Ot.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2296
2308
|
}
|
|
2297
|
-
function
|
|
2298
|
-
return
|
|
2309
|
+
function Pn(e) {
|
|
2310
|
+
return w(this, "_erasAbbrRegex") || Ot.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2299
2311
|
}
|
|
2300
|
-
function
|
|
2301
|
-
return
|
|
2312
|
+
function Cn(e) {
|
|
2313
|
+
return w(this, "_erasNarrowRegex") || Ot.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2302
2314
|
}
|
|
2303
|
-
function
|
|
2315
|
+
function bt(e, t) {
|
|
2304
2316
|
return t.erasAbbrRegex(e);
|
|
2305
2317
|
}
|
|
2306
|
-
function
|
|
2318
|
+
function Wn(e, t) {
|
|
2307
2319
|
return t.erasNameRegex(e);
|
|
2308
2320
|
}
|
|
2309
|
-
function
|
|
2321
|
+
function Fn(e, t) {
|
|
2310
2322
|
return t.erasNarrowRegex(e);
|
|
2311
2323
|
}
|
|
2312
|
-
function
|
|
2324
|
+
function Ln(e, t) {
|
|
2313
2325
|
return t._eraYearOrdinalRegex || he;
|
|
2314
2326
|
}
|
|
2315
2327
|
function Ot() {
|
|
2316
|
-
var e = [], t = [],
|
|
2317
|
-
for (a = 0,
|
|
2318
|
-
i =
|
|
2319
|
-
this._erasRegex = new RegExp("^(" +
|
|
2320
|
-
"^(" +
|
|
2328
|
+
var e = [], t = [], r = [], s = [], a, n, i, u, h, m = this.eras();
|
|
2329
|
+
for (a = 0, n = m.length; a < n; ++a)
|
|
2330
|
+
i = q(m[a].name), u = q(m[a].abbr), h = q(m[a].narrow), t.push(i), e.push(u), r.push(h), s.push(i), s.push(u), s.push(h);
|
|
2331
|
+
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(
|
|
2332
|
+
"^(" + r.join("|") + ")",
|
|
2321
2333
|
"i"
|
|
2322
2334
|
);
|
|
2323
2335
|
}
|
|
2324
|
-
|
|
2336
|
+
c(0, ["gg", 2], 0, function() {
|
|
2325
2337
|
return this.weekYear() % 100;
|
|
2326
2338
|
});
|
|
2327
|
-
|
|
2339
|
+
c(0, ["GG", 2], 0, function() {
|
|
2328
2340
|
return this.isoWeekYear() % 100;
|
|
2329
2341
|
});
|
|
2330
|
-
function
|
|
2331
|
-
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2342
|
+
function ze(e, t) {
|
|
2343
|
+
c(0, [e, e.length], 0, t);
|
|
2344
|
+
}
|
|
2345
|
+
ze("gggg", "weekYear");
|
|
2346
|
+
ze("ggggg", "weekYear");
|
|
2347
|
+
ze("GGGG", "isoWeekYear");
|
|
2348
|
+
ze("GGGGG", "isoWeekYear");
|
|
2349
|
+
d("G", He);
|
|
2350
|
+
d("g", He);
|
|
2351
|
+
d("GG", k, x);
|
|
2352
|
+
d("gg", k, x);
|
|
2353
|
+
d("GGGG", _t, ft);
|
|
2354
|
+
d("gggg", _t, ft);
|
|
2355
|
+
d("GGGGG", Ie, Ee);
|
|
2356
|
+
d("ggggg", Ie, Ee);
|
|
2357
|
+
Ye(
|
|
2346
2358
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2347
|
-
function(e, t,
|
|
2348
|
-
t[
|
|
2359
|
+
function(e, t, r, s) {
|
|
2360
|
+
t[s.substr(0, 2)] = _(e);
|
|
2349
2361
|
}
|
|
2350
2362
|
);
|
|
2351
|
-
|
|
2352
|
-
t[
|
|
2363
|
+
Ye(["gg", "GG"], function(e, t, r, s) {
|
|
2364
|
+
t[s] = l.parseTwoDigitYear(e);
|
|
2353
2365
|
});
|
|
2354
|
-
function
|
|
2355
|
-
return
|
|
2366
|
+
function En(e) {
|
|
2367
|
+
return gr.call(
|
|
2356
2368
|
this,
|
|
2357
2369
|
e,
|
|
2358
2370
|
this.week(),
|
|
@@ -2361,8 +2373,8 @@ function Hs(e) {
|
|
|
2361
2373
|
this.localeData()._week.doy
|
|
2362
2374
|
);
|
|
2363
2375
|
}
|
|
2364
|
-
function
|
|
2365
|
-
return
|
|
2376
|
+
function An(e) {
|
|
2377
|
+
return gr.call(
|
|
2366
2378
|
this,
|
|
2367
2379
|
e,
|
|
2368
2380
|
this.isoWeek(),
|
|
@@ -2371,197 +2383,197 @@ function As(e) {
|
|
|
2371
2383
|
4
|
|
2372
2384
|
);
|
|
2373
2385
|
}
|
|
2374
|
-
function
|
|
2375
|
-
return
|
|
2386
|
+
function In() {
|
|
2387
|
+
return Z(this.year(), 1, 4);
|
|
2376
2388
|
}
|
|
2377
|
-
function
|
|
2378
|
-
return
|
|
2389
|
+
function Hn() {
|
|
2390
|
+
return Z(this.isoWeekYear(), 1, 4);
|
|
2379
2391
|
}
|
|
2380
|
-
function
|
|
2392
|
+
function Un() {
|
|
2381
2393
|
var e = this.localeData()._week;
|
|
2382
|
-
return
|
|
2394
|
+
return Z(this.year(), e.dow, e.doy);
|
|
2383
2395
|
}
|
|
2384
|
-
function
|
|
2396
|
+
function jn() {
|
|
2385
2397
|
var e = this.localeData()._week;
|
|
2386
|
-
return
|
|
2398
|
+
return Z(this.weekYear(), e.dow, e.doy);
|
|
2387
2399
|
}
|
|
2388
|
-
function
|
|
2389
|
-
var
|
|
2390
|
-
return e == null ?
|
|
2400
|
+
function gr(e, t, r, s, a) {
|
|
2401
|
+
var n;
|
|
2402
|
+
return e == null ? Me(this, s, a).year : (n = Z(e, s, a), t > n && (t = n), Gn.call(this, e, t, r, s, a));
|
|
2391
2403
|
}
|
|
2392
|
-
function
|
|
2393
|
-
var
|
|
2404
|
+
function Gn(e, t, r, s, a) {
|
|
2405
|
+
var n = Kt(e, t, r, s, a), i = ge(n.year, 0, n.dayOfYear);
|
|
2394
2406
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2395
2407
|
}
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
t[
|
|
2408
|
+
c("Q", 0, "Qo", "quarter");
|
|
2409
|
+
d("Q", Ut);
|
|
2410
|
+
g("Q", function(e, t) {
|
|
2411
|
+
t[z] = (_(e) - 1) * 3;
|
|
2400
2412
|
});
|
|
2401
|
-
function
|
|
2413
|
+
function Vn(e) {
|
|
2402
2414
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2403
2415
|
}
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2416
|
+
c("D", ["DD", 2], "Do", "date");
|
|
2417
|
+
d("D", k, fe);
|
|
2418
|
+
d("DD", k, x);
|
|
2419
|
+
d("Do", function(e, t) {
|
|
2408
2420
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2409
2421
|
});
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
t[
|
|
2422
|
+
g(["D", "DD"], E);
|
|
2423
|
+
g("Do", function(e, t) {
|
|
2424
|
+
t[E] = _(e.match(k)[0]);
|
|
2413
2425
|
});
|
|
2414
|
-
var
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2426
|
+
var Mr = _e("Date", !0);
|
|
2427
|
+
c("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2428
|
+
d("DDD", Ae);
|
|
2429
|
+
d("DDDD", jt);
|
|
2430
|
+
g(["DDD", "DDDD"], function(e, t, r) {
|
|
2431
|
+
r._dayOfYear = _(e);
|
|
2420
2432
|
});
|
|
2421
|
-
function
|
|
2433
|
+
function zn(e) {
|
|
2422
2434
|
var t = Math.round(
|
|
2423
2435
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2424
2436
|
) + 1;
|
|
2425
2437
|
return e == null ? t : this.add(e - t, "d");
|
|
2426
2438
|
}
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
var
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
var
|
|
2437
|
-
|
|
2439
|
+
c("m", ["mm", 2], 0, "minute");
|
|
2440
|
+
d("m", k, mt);
|
|
2441
|
+
d("mm", k, x);
|
|
2442
|
+
g(["m", "mm"], C);
|
|
2443
|
+
var $n = _e("Minutes", !1);
|
|
2444
|
+
c("s", ["ss", 2], 0, "second");
|
|
2445
|
+
d("s", k, mt);
|
|
2446
|
+
d("ss", k, x);
|
|
2447
|
+
g(["s", "ss"], $);
|
|
2448
|
+
var qn = _e("Seconds", !1);
|
|
2449
|
+
c("S", 0, 0, function() {
|
|
2438
2450
|
return ~~(this.millisecond() / 100);
|
|
2439
2451
|
});
|
|
2440
|
-
|
|
2452
|
+
c(0, ["SS", 2], 0, function() {
|
|
2441
2453
|
return ~~(this.millisecond() / 10);
|
|
2442
2454
|
});
|
|
2443
|
-
|
|
2444
|
-
|
|
2455
|
+
c(0, ["SSS", 3], 0, "millisecond");
|
|
2456
|
+
c(0, ["SSSS", 4], 0, function() {
|
|
2445
2457
|
return this.millisecond() * 10;
|
|
2446
2458
|
});
|
|
2447
|
-
|
|
2459
|
+
c(0, ["SSSSS", 5], 0, function() {
|
|
2448
2460
|
return this.millisecond() * 100;
|
|
2449
2461
|
});
|
|
2450
|
-
|
|
2462
|
+
c(0, ["SSSSSS", 6], 0, function() {
|
|
2451
2463
|
return this.millisecond() * 1e3;
|
|
2452
2464
|
});
|
|
2453
|
-
|
|
2465
|
+
c(0, ["SSSSSSS", 7], 0, function() {
|
|
2454
2466
|
return this.millisecond() * 1e4;
|
|
2455
2467
|
});
|
|
2456
|
-
|
|
2468
|
+
c(0, ["SSSSSSSS", 8], 0, function() {
|
|
2457
2469
|
return this.millisecond() * 1e5;
|
|
2458
2470
|
});
|
|
2459
|
-
|
|
2471
|
+
c(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2460
2472
|
return this.millisecond() * 1e6;
|
|
2461
2473
|
});
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
var ee,
|
|
2474
|
+
d("S", Ae, Ut);
|
|
2475
|
+
d("SS", Ae, x);
|
|
2476
|
+
d("SSS", Ae, jt);
|
|
2477
|
+
var ee, kr;
|
|
2466
2478
|
for (ee = "SSSS"; ee.length <= 9; ee += "S")
|
|
2467
|
-
|
|
2468
|
-
function
|
|
2469
|
-
t[
|
|
2479
|
+
d(ee, he);
|
|
2480
|
+
function Zn(e, t) {
|
|
2481
|
+
t[se] = _(("0." + e) * 1e3);
|
|
2470
2482
|
}
|
|
2471
2483
|
for (ee = "S"; ee.length <= 9; ee += "S")
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
function
|
|
2484
|
+
g(ee, Zn);
|
|
2485
|
+
kr = _e("Milliseconds", !1);
|
|
2486
|
+
c("z", 0, 0, "zoneAbbr");
|
|
2487
|
+
c("zz", 0, 0, "zoneName");
|
|
2488
|
+
function Bn() {
|
|
2477
2489
|
return this._isUTC ? "UTC" : "";
|
|
2478
2490
|
}
|
|
2479
|
-
function
|
|
2491
|
+
function Jn() {
|
|
2480
2492
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2481
2493
|
}
|
|
2482
|
-
var o =
|
|
2483
|
-
o.add =
|
|
2484
|
-
o.calendar =
|
|
2485
|
-
o.clone =
|
|
2486
|
-
o.diff =
|
|
2487
|
-
o.endOf =
|
|
2488
|
-
o.format =
|
|
2489
|
-
o.from =
|
|
2490
|
-
o.fromNow =
|
|
2491
|
-
o.to =
|
|
2492
|
-
o.toNow =
|
|
2493
|
-
o.get =
|
|
2494
|
-
o.invalidAt =
|
|
2495
|
-
o.isAfter =
|
|
2496
|
-
o.isBefore =
|
|
2494
|
+
var o = Se.prototype;
|
|
2495
|
+
o.add = Ua;
|
|
2496
|
+
o.calendar = Za;
|
|
2497
|
+
o.clone = Ba;
|
|
2498
|
+
o.diff = rn;
|
|
2499
|
+
o.endOf = fn;
|
|
2500
|
+
o.format = on;
|
|
2501
|
+
o.from = ln;
|
|
2502
|
+
o.fromNow = un;
|
|
2503
|
+
o.to = dn;
|
|
2504
|
+
o.toNow = cn;
|
|
2505
|
+
o.get = ns;
|
|
2506
|
+
o.invalidAt = vn;
|
|
2507
|
+
o.isAfter = Ja;
|
|
2508
|
+
o.isBefore = Qa;
|
|
2497
2509
|
o.isBetween = Ka;
|
|
2498
|
-
o.isSame =
|
|
2499
|
-
o.isSameOrAfter =
|
|
2500
|
-
o.isSameOrBefore =
|
|
2501
|
-
o.isValid =
|
|
2502
|
-
o.lang =
|
|
2503
|
-
o.locale =
|
|
2504
|
-
o.localeData =
|
|
2505
|
-
o.max =
|
|
2506
|
-
o.min =
|
|
2507
|
-
o.parsingFlags =
|
|
2508
|
-
o.set =
|
|
2509
|
-
o.startOf =
|
|
2510
|
-
o.subtract =
|
|
2511
|
-
o.toArray =
|
|
2512
|
-
o.toObject =
|
|
2513
|
-
o.toDate =
|
|
2514
|
-
o.toISOString =
|
|
2515
|
-
o.inspect =
|
|
2510
|
+
o.isSame = Xa;
|
|
2511
|
+
o.isSameOrAfter = en;
|
|
2512
|
+
o.isSameOrBefore = tn;
|
|
2513
|
+
o.isValid = Mn;
|
|
2514
|
+
o.lang = _r;
|
|
2515
|
+
o.locale = fr;
|
|
2516
|
+
o.localeData = mr;
|
|
2517
|
+
o.max = ga;
|
|
2518
|
+
o.min = pa;
|
|
2519
|
+
o.parsingFlags = kn;
|
|
2520
|
+
o.set = is;
|
|
2521
|
+
o.startOf = hn;
|
|
2522
|
+
o.subtract = ja;
|
|
2523
|
+
o.toArray = wn;
|
|
2524
|
+
o.toObject = pn;
|
|
2525
|
+
o.toDate = yn;
|
|
2526
|
+
o.toISOString = an;
|
|
2527
|
+
o.inspect = nn;
|
|
2516
2528
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2517
2529
|
return "Moment<" + this.format() + ">";
|
|
2518
2530
|
});
|
|
2519
|
-
o.toJSON =
|
|
2520
|
-
o.toString =
|
|
2521
|
-
o.unix =
|
|
2522
|
-
o.valueOf =
|
|
2523
|
-
o.creationData =
|
|
2524
|
-
o.eraName =
|
|
2525
|
-
o.eraNarrow =
|
|
2526
|
-
o.eraAbbr =
|
|
2527
|
-
o.eraYear =
|
|
2528
|
-
o.year =
|
|
2529
|
-
o.isLeapYear =
|
|
2530
|
-
o.weekYear =
|
|
2531
|
-
o.isoWeekYear =
|
|
2532
|
-
o.quarter = o.quarters =
|
|
2531
|
+
o.toJSON = gn;
|
|
2532
|
+
o.toString = sn;
|
|
2533
|
+
o.unix = mn;
|
|
2534
|
+
o.valueOf = _n;
|
|
2535
|
+
o.creationData = Sn;
|
|
2536
|
+
o.eraName = On;
|
|
2537
|
+
o.eraNarrow = Tn;
|
|
2538
|
+
o.eraAbbr = xn;
|
|
2539
|
+
o.eraYear = Rn;
|
|
2540
|
+
o.year = zt;
|
|
2541
|
+
o.isLeapYear = as;
|
|
2542
|
+
o.weekYear = En;
|
|
2543
|
+
o.isoWeekYear = An;
|
|
2544
|
+
o.quarter = o.quarters = Vn;
|
|
2533
2545
|
o.month = Jt;
|
|
2534
|
-
o.daysInMonth =
|
|
2535
|
-
o.week = o.weeks =
|
|
2536
|
-
o.isoWeek = o.isoWeeks =
|
|
2537
|
-
o.weeksInYear =
|
|
2538
|
-
o.weeksInWeekYear =
|
|
2539
|
-
o.isoWeeksInYear =
|
|
2540
|
-
o.isoWeeksInISOWeekYear =
|
|
2541
|
-
o.date =
|
|
2542
|
-
o.day = o.days =
|
|
2543
|
-
o.weekday =
|
|
2544
|
-
o.isoWeekday =
|
|
2545
|
-
o.dayOfYear =
|
|
2546
|
-
o.hour = o.hours =
|
|
2547
|
-
o.minute = o.minutes =
|
|
2548
|
-
o.second = o.seconds =
|
|
2549
|
-
o.millisecond = o.milliseconds =
|
|
2550
|
-
o.utcOffset =
|
|
2551
|
-
o.utc =
|
|
2552
|
-
o.local =
|
|
2546
|
+
o.daysInMonth = ms;
|
|
2547
|
+
o.week = o.weeks = Ss;
|
|
2548
|
+
o.isoWeek = o.isoWeeks = Ds;
|
|
2549
|
+
o.weeksInYear = Un;
|
|
2550
|
+
o.weeksInWeekYear = jn;
|
|
2551
|
+
o.isoWeeksInYear = In;
|
|
2552
|
+
o.isoWeeksInISOWeekYear = Hn;
|
|
2553
|
+
o.date = Mr;
|
|
2554
|
+
o.day = o.days = Es;
|
|
2555
|
+
o.weekday = As;
|
|
2556
|
+
o.isoWeekday = Is;
|
|
2557
|
+
o.dayOfYear = zn;
|
|
2558
|
+
o.hour = o.hours = $s;
|
|
2559
|
+
o.minute = o.minutes = $n;
|
|
2560
|
+
o.second = o.seconds = qn;
|
|
2561
|
+
o.millisecond = o.milliseconds = kr;
|
|
2562
|
+
o.utcOffset = Ta;
|
|
2563
|
+
o.utc = Ra;
|
|
2564
|
+
o.local = Na;
|
|
2553
2565
|
o.parseZone = Pa;
|
|
2554
|
-
o.hasAlignedHourOffset =
|
|
2555
|
-
o.isDST =
|
|
2556
|
-
o.isLocal =
|
|
2557
|
-
o.isUtcOffset =
|
|
2558
|
-
o.isUtc =
|
|
2559
|
-
o.isUTC =
|
|
2560
|
-
o.zoneAbbr =
|
|
2561
|
-
o.zoneName =
|
|
2566
|
+
o.hasAlignedHourOffset = Ca;
|
|
2567
|
+
o.isDST = Wa;
|
|
2568
|
+
o.isLocal = La;
|
|
2569
|
+
o.isUtcOffset = Ea;
|
|
2570
|
+
o.isUtc = ur;
|
|
2571
|
+
o.isUTC = ur;
|
|
2572
|
+
o.zoneAbbr = Bn;
|
|
2573
|
+
o.zoneName = Jn;
|
|
2562
2574
|
o.dates = N(
|
|
2563
2575
|
"dates accessor is deprecated. Use date instead.",
|
|
2564
|
-
|
|
2576
|
+
Mr
|
|
2565
2577
|
);
|
|
2566
2578
|
o.months = N(
|
|
2567
2579
|
"months accessor is deprecated. Use month instead",
|
|
@@ -2569,93 +2581,93 @@ o.months = N(
|
|
|
2569
2581
|
);
|
|
2570
2582
|
o.years = N(
|
|
2571
2583
|
"years accessor is deprecated. Use year instead",
|
|
2572
|
-
|
|
2584
|
+
zt
|
|
2573
2585
|
);
|
|
2574
2586
|
o.zone = N(
|
|
2575
2587
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2576
|
-
|
|
2588
|
+
xa
|
|
2577
2589
|
);
|
|
2578
2590
|
o.isDSTShifted = N(
|
|
2579
2591
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2580
|
-
|
|
2592
|
+
Fa
|
|
2581
2593
|
);
|
|
2582
|
-
function
|
|
2583
|
-
return
|
|
2594
|
+
function Qn(e) {
|
|
2595
|
+
return M(e * 1e3);
|
|
2584
2596
|
}
|
|
2585
|
-
function
|
|
2586
|
-
return
|
|
2597
|
+
function Kn() {
|
|
2598
|
+
return M.apply(null, arguments).parseZone();
|
|
2587
2599
|
}
|
|
2588
|
-
function
|
|
2600
|
+
function vr(e) {
|
|
2589
2601
|
return e;
|
|
2590
2602
|
}
|
|
2591
|
-
var p =
|
|
2592
|
-
p.calendar =
|
|
2593
|
-
p.longDateFormat =
|
|
2594
|
-
p.invalidDate =
|
|
2595
|
-
p.ordinal =
|
|
2596
|
-
p.preparse =
|
|
2597
|
-
p.postformat =
|
|
2598
|
-
p.relativeTime =
|
|
2599
|
-
p.pastFuture =
|
|
2600
|
-
p.set =
|
|
2601
|
-
p.eras =
|
|
2602
|
-
p.erasParse =
|
|
2603
|
-
p.erasConvertYear =
|
|
2604
|
-
p.erasAbbrRegex =
|
|
2605
|
-
p.erasNameRegex =
|
|
2606
|
-
p.erasNarrowRegex =
|
|
2607
|
-
p.months =
|
|
2608
|
-
p.monthsShort =
|
|
2609
|
-
p.monthsParse =
|
|
2610
|
-
p.monthsRegex =
|
|
2611
|
-
p.monthsShortRegex =
|
|
2612
|
-
p.week =
|
|
2613
|
-
p.firstDayOfYear =
|
|
2614
|
-
p.firstDayOfWeek =
|
|
2615
|
-
p.weekdays =
|
|
2616
|
-
p.weekdaysMin =
|
|
2617
|
-
p.weekdaysShort =
|
|
2618
|
-
p.weekdaysParse =
|
|
2619
|
-
p.weekdaysRegex =
|
|
2620
|
-
p.weekdaysShortRegex =
|
|
2621
|
-
p.weekdaysMinRegex =
|
|
2622
|
-
p.isPM =
|
|
2623
|
-
p.meridiem =
|
|
2624
|
-
function
|
|
2625
|
-
var a = J(),
|
|
2626
|
-
return a[
|
|
2627
|
-
}
|
|
2628
|
-
function
|
|
2629
|
-
if (
|
|
2630
|
-
return
|
|
2631
|
-
var
|
|
2632
|
-
for (
|
|
2633
|
-
a[
|
|
2603
|
+
var p = dt.prototype;
|
|
2604
|
+
p.calendar = Lr;
|
|
2605
|
+
p.longDateFormat = Hr;
|
|
2606
|
+
p.invalidDate = jr;
|
|
2607
|
+
p.ordinal = zr;
|
|
2608
|
+
p.preparse = vr;
|
|
2609
|
+
p.postformat = vr;
|
|
2610
|
+
p.relativeTime = qr;
|
|
2611
|
+
p.pastFuture = Zr;
|
|
2612
|
+
p.set = Wr;
|
|
2613
|
+
p.eras = Dn;
|
|
2614
|
+
p.erasParse = Yn;
|
|
2615
|
+
p.erasConvertYear = bn;
|
|
2616
|
+
p.erasAbbrRegex = Pn;
|
|
2617
|
+
p.erasNameRegex = Nn;
|
|
2618
|
+
p.erasNarrowRegex = Cn;
|
|
2619
|
+
p.months = cs;
|
|
2620
|
+
p.monthsShort = hs;
|
|
2621
|
+
p.monthsParse = _s;
|
|
2622
|
+
p.monthsRegex = ws;
|
|
2623
|
+
p.monthsShortRegex = ys;
|
|
2624
|
+
p.week = gs;
|
|
2625
|
+
p.firstDayOfYear = vs;
|
|
2626
|
+
p.firstDayOfWeek = ks;
|
|
2627
|
+
p.weekdays = Ps;
|
|
2628
|
+
p.weekdaysMin = Ws;
|
|
2629
|
+
p.weekdaysShort = Cs;
|
|
2630
|
+
p.weekdaysParse = Ls;
|
|
2631
|
+
p.weekdaysRegex = Hs;
|
|
2632
|
+
p.weekdaysShortRegex = Us;
|
|
2633
|
+
p.weekdaysMinRegex = js;
|
|
2634
|
+
p.isPM = Vs;
|
|
2635
|
+
p.meridiem = qs;
|
|
2636
|
+
function Fe(e, t, r, s) {
|
|
2637
|
+
var a = J(), n = I().set(s, t);
|
|
2638
|
+
return a[r](n, e);
|
|
2639
|
+
}
|
|
2640
|
+
function Sr(e, t, r) {
|
|
2641
|
+
if (B(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2642
|
+
return Fe(e, t, r, "month");
|
|
2643
|
+
var s, a = [];
|
|
2644
|
+
for (s = 0; s < 12; s++)
|
|
2645
|
+
a[s] = Fe(e, s, r, "month");
|
|
2634
2646
|
return a;
|
|
2635
2647
|
}
|
|
2636
|
-
function Tt(e, t,
|
|
2637
|
-
typeof e == "boolean" ? (
|
|
2638
|
-
var a = J(),
|
|
2639
|
-
if (
|
|
2640
|
-
return
|
|
2648
|
+
function Tt(e, t, r, s) {
|
|
2649
|
+
typeof e == "boolean" ? (B(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, B(t) && (r = t, t = void 0), t = t || "");
|
|
2650
|
+
var a = J(), n = e ? a._week.dow : 0, i, u = [];
|
|
2651
|
+
if (r != null)
|
|
2652
|
+
return Fe(t, (r + n) % 7, s, "day");
|
|
2641
2653
|
for (i = 0; i < 7; i++)
|
|
2642
|
-
|
|
2643
|
-
return
|
|
2654
|
+
u[i] = Fe(t, (i + n) % 7, s, "day");
|
|
2655
|
+
return u;
|
|
2644
2656
|
}
|
|
2645
|
-
function
|
|
2646
|
-
return
|
|
2657
|
+
function Xn(e, t) {
|
|
2658
|
+
return Sr(e, t, "months");
|
|
2647
2659
|
}
|
|
2648
2660
|
function ei(e, t) {
|
|
2649
|
-
return
|
|
2661
|
+
return Sr(e, t, "monthsShort");
|
|
2650
2662
|
}
|
|
2651
|
-
function ti(e, t,
|
|
2652
|
-
return Tt(e, t,
|
|
2663
|
+
function ti(e, t, r) {
|
|
2664
|
+
return Tt(e, t, r, "weekdays");
|
|
2653
2665
|
}
|
|
2654
|
-
function
|
|
2655
|
-
return Tt(e, t,
|
|
2666
|
+
function ri(e, t, r) {
|
|
2667
|
+
return Tt(e, t, r, "weekdaysShort");
|
|
2656
2668
|
}
|
|
2657
|
-
function
|
|
2658
|
-
return Tt(e, t,
|
|
2669
|
+
function si(e, t, r) {
|
|
2670
|
+
return Tt(e, t, r, "weekdaysMin");
|
|
2659
2671
|
}
|
|
2660
2672
|
te("en", {
|
|
2661
2673
|
eras: [
|
|
@@ -2678,15 +2690,15 @@ te("en", {
|
|
|
2678
2690
|
],
|
|
2679
2691
|
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
2680
2692
|
ordinal: function(e) {
|
|
2681
|
-
var t = e % 10,
|
|
2682
|
-
return e +
|
|
2693
|
+
var t = e % 10, r = _(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
|
|
2694
|
+
return e + r;
|
|
2683
2695
|
}
|
|
2684
2696
|
});
|
|
2685
|
-
|
|
2697
|
+
l.lang = N(
|
|
2686
2698
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2687
2699
|
te
|
|
2688
2700
|
);
|
|
2689
|
-
|
|
2701
|
+
l.langData = N(
|
|
2690
2702
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2691
2703
|
J
|
|
2692
2704
|
);
|
|
@@ -2695,56 +2707,56 @@ function ai() {
|
|
|
2695
2707
|
var e = this._data;
|
|
2696
2708
|
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;
|
|
2697
2709
|
}
|
|
2698
|
-
function
|
|
2699
|
-
var a =
|
|
2700
|
-
return e._milliseconds +=
|
|
2710
|
+
function Dr(e, t, r, s) {
|
|
2711
|
+
var a = L(t, r);
|
|
2712
|
+
return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
|
|
2701
2713
|
}
|
|
2702
|
-
function
|
|
2703
|
-
return
|
|
2714
|
+
function ni(e, t) {
|
|
2715
|
+
return Dr(this, e, t, 1);
|
|
2704
2716
|
}
|
|
2705
2717
|
function ii(e, t) {
|
|
2706
|
-
return
|
|
2718
|
+
return Dr(this, e, t, -1);
|
|
2707
2719
|
}
|
|
2708
|
-
function
|
|
2720
|
+
function Wt(e) {
|
|
2709
2721
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2710
2722
|
}
|
|
2711
2723
|
function oi() {
|
|
2712
|
-
var e = this._milliseconds, t = this._days,
|
|
2713
|
-
return e >= 0 && t >= 0 &&
|
|
2724
|
+
var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, n, i, u, h;
|
|
2725
|
+
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += Wt(it(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, a = R(e / 1e3), s.seconds = a % 60, n = R(a / 60), s.minutes = n % 60, i = R(n / 60), s.hours = i % 24, t += R(i / 24), h = R(Yr(t)), r += h, t -= Wt(it(h)), u = R(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
|
|
2714
2726
|
}
|
|
2715
|
-
function
|
|
2727
|
+
function Yr(e) {
|
|
2716
2728
|
return e * 4800 / 146097;
|
|
2717
2729
|
}
|
|
2718
2730
|
function it(e) {
|
|
2719
2731
|
return e * 146097 / 4800;
|
|
2720
2732
|
}
|
|
2721
|
-
function
|
|
2733
|
+
function li(e) {
|
|
2722
2734
|
if (!this.isValid())
|
|
2723
2735
|
return NaN;
|
|
2724
|
-
var t,
|
|
2725
|
-
if (e =
|
|
2726
|
-
switch (t = this._days +
|
|
2736
|
+
var t, r, s = this._milliseconds;
|
|
2737
|
+
if (e = P(e), e === "month" || e === "quarter" || e === "year")
|
|
2738
|
+
switch (t = this._days + s / 864e5, r = this._months + Yr(t), e) {
|
|
2727
2739
|
case "month":
|
|
2728
|
-
return
|
|
2740
|
+
return r;
|
|
2729
2741
|
case "quarter":
|
|
2730
|
-
return
|
|
2742
|
+
return r / 3;
|
|
2731
2743
|
case "year":
|
|
2732
|
-
return
|
|
2744
|
+
return r / 12;
|
|
2733
2745
|
}
|
|
2734
2746
|
else
|
|
2735
2747
|
switch (t = this._days + Math.round(it(this._months)), e) {
|
|
2736
2748
|
case "week":
|
|
2737
|
-
return t / 7 +
|
|
2749
|
+
return t / 7 + s / 6048e5;
|
|
2738
2750
|
case "day":
|
|
2739
|
-
return t +
|
|
2751
|
+
return t + s / 864e5;
|
|
2740
2752
|
case "hour":
|
|
2741
|
-
return t * 24 +
|
|
2753
|
+
return t * 24 + s / 36e5;
|
|
2742
2754
|
case "minute":
|
|
2743
|
-
return t * 1440 +
|
|
2755
|
+
return t * 1440 + s / 6e4;
|
|
2744
2756
|
case "second":
|
|
2745
|
-
return t * 86400 +
|
|
2757
|
+
return t * 86400 + s / 1e3;
|
|
2746
2758
|
case "millisecond":
|
|
2747
|
-
return Math.floor(t * 864e5) +
|
|
2759
|
+
return Math.floor(t * 864e5) + s;
|
|
2748
2760
|
default:
|
|
2749
2761
|
throw new Error("Unknown unit " + e);
|
|
2750
2762
|
}
|
|
@@ -2754,23 +2766,23 @@ function Q(e) {
|
|
|
2754
2766
|
return this.as(e);
|
|
2755
2767
|
};
|
|
2756
2768
|
}
|
|
2757
|
-
var
|
|
2769
|
+
var br = Q("ms"), ui = Q("s"), di = Q("m"), ci = Q("h"), hi = Q("d"), fi = Q("w"), _i = Q("M"), mi = Q("Q"), yi = Q("y"), wi = br;
|
|
2758
2770
|
function pi() {
|
|
2759
|
-
return
|
|
2771
|
+
return L(this);
|
|
2760
2772
|
}
|
|
2761
|
-
function
|
|
2762
|
-
return e =
|
|
2773
|
+
function gi(e) {
|
|
2774
|
+
return e = P(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2763
2775
|
}
|
|
2764
|
-
function
|
|
2776
|
+
function ne(e) {
|
|
2765
2777
|
return function() {
|
|
2766
2778
|
return this.isValid() ? this._data[e] : NaN;
|
|
2767
2779
|
};
|
|
2768
2780
|
}
|
|
2769
|
-
var
|
|
2781
|
+
var Mi = ne("milliseconds"), ki = ne("seconds"), vi = ne("minutes"), Si = ne("hours"), Di = ne("days"), Yi = ne("months"), bi = ne("years");
|
|
2770
2782
|
function Oi() {
|
|
2771
|
-
return
|
|
2783
|
+
return R(this.days() / 7);
|
|
2772
2784
|
}
|
|
2773
|
-
var G = Math.round,
|
|
2785
|
+
var G = Math.round, le = {
|
|
2774
2786
|
ss: 44,
|
|
2775
2787
|
// a few seconds to seconds
|
|
2776
2788
|
s: 45,
|
|
@@ -2786,114 +2798,114 @@ var G = Math.round, ue = {
|
|
|
2786
2798
|
M: 11
|
|
2787
2799
|
// months to year
|
|
2788
2800
|
};
|
|
2789
|
-
function Ti(e, t,
|
|
2790
|
-
return a.relativeTime(t || 1, !!
|
|
2801
|
+
function Ti(e, t, r, s, a) {
|
|
2802
|
+
return a.relativeTime(t || 1, !!r, e, s);
|
|
2791
2803
|
}
|
|
2792
|
-
function xi(e, t,
|
|
2793
|
-
var a =
|
|
2794
|
-
return
|
|
2804
|
+
function xi(e, t, r, s) {
|
|
2805
|
+
var a = L(e).abs(), n = G(a.as("s")), i = G(a.as("m")), u = G(a.as("h")), h = G(a.as("d")), m = G(a.as("M")), b = G(a.as("w")), U = G(a.as("y")), K = n <= r.ss && ["s", n] || n < r.s && ["ss", n] || i <= 1 && ["m"] || i < r.m && ["mm", i] || u <= 1 && ["h"] || u < r.h && ["hh", u] || h <= 1 && ["d"] || h < r.d && ["dd", h];
|
|
2806
|
+
return r.w != null && (K = K || b <= 1 && ["w"] || b < r.w && ["ww", b]), K = K || m <= 1 && ["M"] || m < r.M && ["MM", m] || U <= 1 && ["y"] || ["yy", U], K[2] = t, K[3] = +e > 0, K[4] = s, Ti.apply(null, K);
|
|
2795
2807
|
}
|
|
2796
|
-
function
|
|
2808
|
+
function Ri(e) {
|
|
2797
2809
|
return e === void 0 ? G : typeof e == "function" ? (G = e, !0) : !1;
|
|
2798
2810
|
}
|
|
2799
2811
|
function Ni(e, t) {
|
|
2800
|
-
return
|
|
2812
|
+
return le[e] === void 0 ? !1 : t === void 0 ? le[e] : (le[e] = t, e === "s" && (le.ss = t - 1), !0);
|
|
2801
2813
|
}
|
|
2802
|
-
function
|
|
2814
|
+
function Pi(e, t) {
|
|
2803
2815
|
if (!this.isValid())
|
|
2804
2816
|
return this.localeData().invalidDate();
|
|
2805
|
-
var
|
|
2806
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (
|
|
2817
|
+
var r = !1, s = le, a, n;
|
|
2818
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, le, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), n = xi(this, !r, s, a), r && (n = a.pastFuture(+this, n)), a.postformat(n);
|
|
2807
2819
|
}
|
|
2808
|
-
var
|
|
2820
|
+
var Qe = Math.abs;
|
|
2809
2821
|
function ie(e) {
|
|
2810
2822
|
return (e > 0) - (e < 0) || +e;
|
|
2811
2823
|
}
|
|
2812
|
-
function
|
|
2824
|
+
function $e() {
|
|
2813
2825
|
if (!this.isValid())
|
|
2814
2826
|
return this.localeData().invalidDate();
|
|
2815
|
-
var e =
|
|
2816
|
-
return
|
|
2827
|
+
var e = Qe(this._milliseconds) / 1e3, t = Qe(this._days), r = Qe(this._months), s, a, n, i, u = this.asSeconds(), h, m, b, U;
|
|
2828
|
+
return u ? (s = R(e / 60), a = R(s / 60), e %= 60, s %= 60, n = R(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = u < 0 ? "-" : "", m = ie(this._months) !== ie(u) ? "-" : "", b = ie(this._days) !== ie(u) ? "-" : "", U = ie(this._milliseconds) !== ie(u) ? "-" : "", h + "P" + (n ? m + n + "Y" : "") + (r ? m + r + "M" : "") + (t ? b + t + "D" : "") + (a || s || e ? "T" : "") + (a ? U + a + "H" : "") + (s ? U + s + "M" : "") + (e ? U + i + "S" : "")) : "P0D";
|
|
2817
2829
|
}
|
|
2818
2830
|
var y = Ve.prototype;
|
|
2819
2831
|
y.isValid = Da;
|
|
2820
2832
|
y.abs = ai;
|
|
2821
|
-
y.add =
|
|
2833
|
+
y.add = ni;
|
|
2822
2834
|
y.subtract = ii;
|
|
2823
|
-
y.as =
|
|
2824
|
-
y.asMilliseconds =
|
|
2825
|
-
y.asSeconds =
|
|
2826
|
-
y.asMinutes =
|
|
2827
|
-
y.asHours =
|
|
2835
|
+
y.as = li;
|
|
2836
|
+
y.asMilliseconds = br;
|
|
2837
|
+
y.asSeconds = ui;
|
|
2838
|
+
y.asMinutes = di;
|
|
2839
|
+
y.asHours = ci;
|
|
2828
2840
|
y.asDays = hi;
|
|
2829
2841
|
y.asWeeks = fi;
|
|
2830
2842
|
y.asMonths = _i;
|
|
2831
2843
|
y.asQuarters = mi;
|
|
2832
2844
|
y.asYears = yi;
|
|
2833
|
-
y.valueOf =
|
|
2845
|
+
y.valueOf = wi;
|
|
2834
2846
|
y._bubble = oi;
|
|
2835
2847
|
y.clone = pi;
|
|
2836
|
-
y.get =
|
|
2837
|
-
y.milliseconds =
|
|
2838
|
-
y.seconds =
|
|
2839
|
-
y.minutes =
|
|
2840
|
-
y.hours =
|
|
2841
|
-
y.days =
|
|
2848
|
+
y.get = gi;
|
|
2849
|
+
y.milliseconds = Mi;
|
|
2850
|
+
y.seconds = ki;
|
|
2851
|
+
y.minutes = vi;
|
|
2852
|
+
y.hours = Si;
|
|
2853
|
+
y.days = Di;
|
|
2842
2854
|
y.weeks = Oi;
|
|
2843
|
-
y.months =
|
|
2844
|
-
y.years =
|
|
2845
|
-
y.humanize =
|
|
2846
|
-
y.toISOString =
|
|
2847
|
-
y.toString =
|
|
2848
|
-
y.toJSON =
|
|
2849
|
-
y.locale =
|
|
2850
|
-
y.localeData =
|
|
2855
|
+
y.months = Yi;
|
|
2856
|
+
y.years = bi;
|
|
2857
|
+
y.humanize = Pi;
|
|
2858
|
+
y.toISOString = $e;
|
|
2859
|
+
y.toString = $e;
|
|
2860
|
+
y.toJSON = $e;
|
|
2861
|
+
y.locale = fr;
|
|
2862
|
+
y.localeData = mr;
|
|
2851
2863
|
y.toIsoString = N(
|
|
2852
2864
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2853
|
-
|
|
2865
|
+
$e
|
|
2854
2866
|
);
|
|
2855
|
-
y.lang =
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2867
|
+
y.lang = _r;
|
|
2868
|
+
c("X", 0, 0, "unix");
|
|
2869
|
+
c("x", 0, 0, "valueOf");
|
|
2870
|
+
d("x", He);
|
|
2871
|
+
d("X", Kr);
|
|
2872
|
+
g("X", function(e, t, r) {
|
|
2873
|
+
r._d = new Date(parseFloat(e) * 1e3);
|
|
2862
2874
|
});
|
|
2863
|
-
|
|
2864
|
-
|
|
2875
|
+
g("x", function(e, t, r) {
|
|
2876
|
+
r._d = new Date(_(e));
|
|
2865
2877
|
});
|
|
2866
2878
|
//! moment.js
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2879
|
+
l.version = "2.30.1";
|
|
2880
|
+
Pr(M);
|
|
2881
|
+
l.fn = o;
|
|
2882
|
+
l.min = Ma;
|
|
2883
|
+
l.max = ka;
|
|
2884
|
+
l.now = va;
|
|
2885
|
+
l.utc = I;
|
|
2886
|
+
l.unix = Qn;
|
|
2887
|
+
l.months = Xn;
|
|
2888
|
+
l.isDate = ve;
|
|
2889
|
+
l.locale = te;
|
|
2890
|
+
l.invalid = Le;
|
|
2891
|
+
l.duration = L;
|
|
2892
|
+
l.isMoment = F;
|
|
2893
|
+
l.weekdays = ti;
|
|
2894
|
+
l.parseZone = Kn;
|
|
2895
|
+
l.localeData = J;
|
|
2896
|
+
l.isDuration = xe;
|
|
2897
|
+
l.monthsShort = ei;
|
|
2898
|
+
l.weekdaysMin = si;
|
|
2899
|
+
l.defineLocale = Mt;
|
|
2900
|
+
l.updateLocale = Qs;
|
|
2901
|
+
l.locales = Ks;
|
|
2902
|
+
l.weekdaysShort = ri;
|
|
2903
|
+
l.normalizeUnits = P;
|
|
2904
|
+
l.relativeTimeRounding = Ri;
|
|
2905
|
+
l.relativeTimeThreshold = Ni;
|
|
2906
|
+
l.calendarFormat = qa;
|
|
2907
|
+
l.prototype = o;
|
|
2908
|
+
l.HTML5_FMT = {
|
|
2897
2909
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
2898
2910
|
// <input type="datetime-local" />
|
|
2899
2911
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -2913,7 +2925,7 @@ u.HTML5_FMT = {
|
|
|
2913
2925
|
MONTH: "YYYY-MM"
|
|
2914
2926
|
// <input type="month" />
|
|
2915
2927
|
};
|
|
2916
|
-
const
|
|
2928
|
+
const Ke = (e) => new Intl.NumberFormat("de-DE").format(e), Ci = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Wi = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Ft = /(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, Xe = [
|
|
2917
2929
|
/^janv/i,
|
|
2918
2930
|
/^févr/i,
|
|
2919
2931
|
/^mars/i,
|
|
@@ -2926,18 +2938,18 @@ const Pi = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2926
2938
|
/^oct/i,
|
|
2927
2939
|
/^nov/i,
|
|
2928
2940
|
/^déc/i
|
|
2929
|
-
],
|
|
2941
|
+
], Fi = {
|
|
2930
2942
|
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2931
2943
|
"_"
|
|
2932
2944
|
),
|
|
2933
2945
|
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2934
|
-
monthsRegex:
|
|
2935
|
-
monthsShortRegex:
|
|
2936
|
-
monthsStrictRegex:
|
|
2937
|
-
monthsShortStrictRegex:
|
|
2938
|
-
monthsParse:
|
|
2939
|
-
longMonthsParse:
|
|
2940
|
-
shortMonthsParse:
|
|
2946
|
+
monthsRegex: Ft,
|
|
2947
|
+
monthsShortRegex: Ft,
|
|
2948
|
+
monthsStrictRegex: Ci,
|
|
2949
|
+
monthsShortStrictRegex: Wi,
|
|
2950
|
+
monthsParse: Xe,
|
|
2951
|
+
longMonthsParse: Xe,
|
|
2952
|
+
shortMonthsParse: Xe,
|
|
2941
2953
|
weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
|
2942
2954
|
weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
|
|
2943
2955
|
weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
|
|
@@ -2997,29 +3009,29 @@ const Pi = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2997
3009
|
doy: 4
|
|
2998
3010
|
}
|
|
2999
3011
|
};
|
|
3000
|
-
|
|
3001
|
-
const
|
|
3002
|
-
amount:
|
|
3003
|
-
emoji:
|
|
3012
|
+
l.locale("fr", Fi);
|
|
3013
|
+
const Li = (e) => Math.round(5e3 * Math.pow(200, 0.01 * e) / 10) * 10, Or = (e) => e >= 1 ? Or(e - 1) + Li(e) : 0, Ei = (e, t = 0) => e < Or(t + 1) ? t : Ei(e, t + 1), Ai = (e) => Math.round(1e5 * Math.pow(50, 0.01 * e) / 10) * 10, Tr = (e) => e >= 1 ? Tr(e - 1) + Ai(e) : 0, Ii = (e, t = 0) => e < Tr(t + 1) ? t : Ii(e, t + 1), Qi = ([e, t]) => t ? `${V("common", "xp.user", { amount: Ke(e), emoji: qe.xp })} ${V("common", "xp.crew", { amount: Ke(t), emoji: qe.xp })}` : V("common", "xp.user", {
|
|
3014
|
+
amount: Ke(e),
|
|
3015
|
+
emoji: qe.xp
|
|
3004
3016
|
});
|
|
3005
3017
|
export {
|
|
3006
3018
|
ji as CHARACTERISTICS,
|
|
3007
|
-
|
|
3019
|
+
xr as CHARACTERISTIC_DEFAULT_POINT_COST,
|
|
3008
3020
|
Vi as CHARACTERISTIC_POINT_COSTS,
|
|
3009
3021
|
Gi as CHARACTERISTIC_POINT_PER_LEVEL,
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3022
|
+
Zi as DEFAULT_FACTION,
|
|
3023
|
+
zi as DEFAULT_MAX_HP,
|
|
3024
|
+
qi as FACTIONS,
|
|
3025
|
+
$i as HP_PER_VITALITY,
|
|
3026
|
+
Ui as RANKS,
|
|
3015
3027
|
T as RankId,
|
|
3016
|
-
|
|
3028
|
+
Bi as SORT_VALUES,
|
|
3017
3029
|
Ai as crewXpToLevel,
|
|
3018
3030
|
Qi as displayXp,
|
|
3019
|
-
|
|
3020
|
-
|
|
3031
|
+
Ii as getCurrentCrewLevel,
|
|
3032
|
+
Ei as getCurrentLevel,
|
|
3021
3033
|
Ji as getNewSortValue,
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3034
|
+
Tr as totalCrewXpToLevel,
|
|
3035
|
+
Or as totalXpToLevel,
|
|
3036
|
+
Li as xpToLevel
|
|
3025
3037
|
};
|