@opfr/raids 0.16.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +797 -785
- package/dist/index.umd.js +9 -9
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CHARACTERISTIC_POINT_COSTS as
|
|
2
|
-
import { findItem as
|
|
1
|
+
import { CHARACTERISTIC_POINT_COSTS as Pt, CHARACTERISTIC_DEFAULT_POINT_COST as Nt, CHARACTERISTIC_POINT_PER_LEVEL as Ct } from "@opfr/utils-type";
|
|
2
|
+
import { findItem as Y } from "@opfr/items";
|
|
3
3
|
import { tns as i } from "@opfr/translate";
|
|
4
|
-
const
|
|
4
|
+
const jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
get mysteriousIslandRaid() {
|
|
7
7
|
return $n;
|
|
@@ -15,22 +15,22 @@ const Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15
15
|
get trainingRaid() {
|
|
16
16
|
return Bn;
|
|
17
17
|
}
|
|
18
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
19
|
-
for (const [r, t] of
|
|
18
|
+
}, Symbol.toStringTag, { value: "Module" })), Er = (e) => {
|
|
19
|
+
for (const [r, t] of Pt)
|
|
20
20
|
if (e >= r)
|
|
21
21
|
return t;
|
|
22
|
-
return
|
|
22
|
+
return Nt;
|
|
23
23
|
}, Xn = (e, r) => {
|
|
24
24
|
let t = 0;
|
|
25
25
|
for (; r > 0; r--)
|
|
26
|
-
t +=
|
|
26
|
+
t += Er(e), e++;
|
|
27
27
|
return t;
|
|
28
28
|
}, In = (e) => {
|
|
29
29
|
let r = 0;
|
|
30
|
-
for (; e > 0; e -=
|
|
30
|
+
for (; e > 0; e -= Er(r))
|
|
31
31
|
r++;
|
|
32
32
|
return r;
|
|
33
|
-
},
|
|
33
|
+
}, ed = (e, r) => r * Ct - Object.values(e).reduce((t, s) => t + s, 0), Wt = {
|
|
34
34
|
adventurer_strap: "<:adventurer_strap:1253041086147068035>",
|
|
35
35
|
adventurer_collar: "<:adventurer_collar:1253041084611690567>",
|
|
36
36
|
adventurer_boots: "<:adventurer_boots:1253041083252867123>",
|
|
@@ -63,7 +63,7 @@ const Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
63
63
|
christmas_helmet: "<:Chapeau_de_Noel:1302993343051202701>",
|
|
64
64
|
christmas_weapon: "<:Canne_de_Noel:1302993339666272266>",
|
|
65
65
|
christmas_belt: "<:Ceinture_de_Noel:1302993340849066045>"
|
|
66
|
-
},
|
|
66
|
+
}, Ft = {
|
|
67
67
|
background: "<:background:1178465681809887334>",
|
|
68
68
|
title: "<:title:1178465688915038208>",
|
|
69
69
|
chest_1: "<:lootbox1:1186689926167810088>",
|
|
@@ -190,7 +190,7 @@ const Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
190
190
|
little_cookie_christmas: "<:Petit_Biscuit_de_Noel:1303022418951934002>",
|
|
191
191
|
christmas_present: "<:CadeaudeNoel:1309501482252501094>",
|
|
192
192
|
aeronef: "<:Aeronef:1312419591812812861>"
|
|
193
|
-
},
|
|
193
|
+
}, Ye = {
|
|
194
194
|
d1: "<:d1:1159542168738873455>",
|
|
195
195
|
d2: "<:d2:1159542071049334814>",
|
|
196
196
|
d3: "<:d3:1159542073914032191>",
|
|
@@ -307,40 +307,40 @@ const Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
307
307
|
wisdom: "<:wisdom:1251861017231884378>"
|
|
308
308
|
},
|
|
309
309
|
bag: "<:sacdosbleu:1320873412121460837>",
|
|
310
|
-
items:
|
|
311
|
-
equipments:
|
|
312
|
-
}
|
|
310
|
+
items: Ft,
|
|
311
|
+
equipments: Wt
|
|
312
|
+
};
|
|
313
313
|
//! moment.js
|
|
314
314
|
//! version : 2.30.1
|
|
315
315
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
316
316
|
//! license : MIT
|
|
317
317
|
//! momentjs.com
|
|
318
|
-
var
|
|
319
|
-
function
|
|
320
|
-
return
|
|
318
|
+
var Hr;
|
|
319
|
+
function l() {
|
|
320
|
+
return Hr.apply(null, arguments);
|
|
321
321
|
}
|
|
322
|
-
function
|
|
323
|
-
|
|
322
|
+
function Lt(e) {
|
|
323
|
+
Hr = e;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function L(e) {
|
|
326
326
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
327
327
|
}
|
|
328
328
|
function ie(e) {
|
|
329
329
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function w(e, r) {
|
|
332
332
|
return Object.prototype.hasOwnProperty.call(e, r);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function or(e) {
|
|
335
335
|
if (Object.getOwnPropertyNames)
|
|
336
336
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
337
337
|
var r;
|
|
338
338
|
for (r in e)
|
|
339
|
-
if (
|
|
339
|
+
if (w(e, r))
|
|
340
340
|
return !1;
|
|
341
341
|
return !0;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function R(e) {
|
|
344
344
|
return e === void 0;
|
|
345
345
|
}
|
|
346
346
|
function Q(e) {
|
|
@@ -349,7 +349,7 @@ function Q(e) {
|
|
|
349
349
|
function ke(e) {
|
|
350
350
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Ar(e, r) {
|
|
353
353
|
var t = [], s, a = e.length;
|
|
354
354
|
for (s = 0; s < a; ++s)
|
|
355
355
|
t.push(r(e[s], s));
|
|
@@ -357,13 +357,13 @@ function Ur(e, r) {
|
|
|
357
357
|
}
|
|
358
358
|
function ee(e, r) {
|
|
359
359
|
for (var t in r)
|
|
360
|
-
|
|
361
|
-
return
|
|
360
|
+
w(r, t) && (e[t] = r[t]);
|
|
361
|
+
return w(r, "toString") && (e.toString = r.toString), w(r, "valueOf") && (e.valueOf = r.valueOf), e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
return
|
|
363
|
+
function q(e, r, t, s) {
|
|
364
|
+
return lt(e, r, t, s, !0).utc();
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function jt() {
|
|
367
367
|
return {
|
|
368
368
|
empty: !1,
|
|
369
369
|
unusedTokens: [],
|
|
@@ -383,8 +383,8 @@ function Ht() {
|
|
|
383
383
|
weekdayMismatch: !1
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
return e._pf == null && (e._pf =
|
|
386
|
+
function p(e) {
|
|
387
|
+
return e._pf == null && (e._pf = jt()), e._pf;
|
|
388
388
|
}
|
|
389
389
|
var rr;
|
|
390
390
|
Array.prototype.some ? rr = Array.prototype.some : rr = function(e) {
|
|
@@ -394,9 +394,9 @@ Array.prototype.some ? rr = Array.prototype.some : rr = function(e) {
|
|
|
394
394
|
return !0;
|
|
395
395
|
return !1;
|
|
396
396
|
};
|
|
397
|
-
function
|
|
397
|
+
function lr(e) {
|
|
398
398
|
var r = null, t = !1, s = e._d && !isNaN(e._d.getTime());
|
|
399
|
-
if (s && (r =
|
|
399
|
+
if (s && (r = p(e), t = rr.call(r.parsedDateParts, function(a) {
|
|
400
400
|
return a != null;
|
|
401
401
|
}), s = r.overflow < 0 && !r.empty && !r.invalidEra && !r.invalidMonth && !r.invalidWeekday && !r.weekdayMismatch && !r.nullInput && !r.invalidFormat && !r.userInvalidated && (!r.meridiem || r.meridiem && t), e._strict && (s = s && r.charsLeftOver === 0 && r.unusedTokens.length === 0 && r.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
402
402
|
e._isValid = s;
|
|
@@ -404,44 +404,44 @@ function ur(e) {
|
|
|
404
404
|
return s;
|
|
405
405
|
return e._isValid;
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
var r =
|
|
409
|
-
return e != null ? ee(
|
|
407
|
+
function Ee(e) {
|
|
408
|
+
var r = q(NaN);
|
|
409
|
+
return e != null ? ee(p(r), e) : p(r).userInvalidated = !0, r;
|
|
410
410
|
}
|
|
411
|
-
var
|
|
412
|
-
function
|
|
413
|
-
var t, s, a, n =
|
|
414
|
-
if (
|
|
411
|
+
var Rr = l.momentProperties = [], Je = !1;
|
|
412
|
+
function ur(e, r) {
|
|
413
|
+
var t, s, a, n = Rr.length;
|
|
414
|
+
if (R(r._isAMomentObject) || (e._isAMomentObject = r._isAMomentObject), R(r._i) || (e._i = r._i), R(r._f) || (e._f = r._f), R(r._l) || (e._l = r._l), R(r._strict) || (e._strict = r._strict), R(r._tzm) || (e._tzm = r._tzm), R(r._isUTC) || (e._isUTC = r._isUTC), R(r._offset) || (e._offset = r._offset), R(r._pf) || (e._pf = p(r)), R(r._locale) || (e._locale = r._locale), n > 0)
|
|
415
415
|
for (t = 0; t < n; t++)
|
|
416
|
-
s =
|
|
416
|
+
s = Rr[t], a = r[s], R(a) || (e[s] = a);
|
|
417
417
|
return e;
|
|
418
418
|
}
|
|
419
419
|
function Me(e) {
|
|
420
|
-
|
|
420
|
+
ur(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Je === !1 && (Je = !0, l.updateOffset(this), Je = !1);
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function j(e) {
|
|
423
423
|
return e instanceof Me || e != null && e._isAMomentObject != null;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
|
|
425
|
+
function qr(e) {
|
|
426
|
+
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function C(e, r) {
|
|
429
429
|
var t = !0;
|
|
430
430
|
return ee(function() {
|
|
431
|
-
if (
|
|
432
|
-
var s = [], a, n,
|
|
433
|
-
for (n = 0; n <
|
|
431
|
+
if (l.deprecationHandler != null && l.deprecationHandler(null, e), t) {
|
|
432
|
+
var s = [], a, n, d, u = arguments.length;
|
|
433
|
+
for (n = 0; n < u; n++) {
|
|
434
434
|
if (a = "", typeof arguments[n] == "object") {
|
|
435
435
|
a += `
|
|
436
436
|
[` + n + "] ";
|
|
437
|
-
for (
|
|
438
|
-
|
|
437
|
+
for (d in arguments[0])
|
|
438
|
+
w(arguments[0], d) && (a += d + ": " + arguments[0][d] + ", ");
|
|
439
439
|
a = a.slice(0, -2);
|
|
440
440
|
} else
|
|
441
441
|
a = arguments[n];
|
|
442
442
|
s.push(a);
|
|
443
443
|
}
|
|
444
|
-
|
|
444
|
+
qr(
|
|
445
445
|
e + `
|
|
446
446
|
Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
447
447
|
` + new Error().stack
|
|
@@ -450,19 +450,19 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
|
|
|
450
450
|
return r.apply(this, arguments);
|
|
451
451
|
}, r);
|
|
452
452
|
}
|
|
453
|
-
var
|
|
454
|
-
function
|
|
455
|
-
|
|
453
|
+
var Pr = {};
|
|
454
|
+
function Ur(e, r) {
|
|
455
|
+
l.deprecationHandler != null && l.deprecationHandler(e, r), Pr[e] || (qr(r), Pr[e] = !0);
|
|
456
456
|
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
function
|
|
457
|
+
l.suppressDeprecationWarnings = !1;
|
|
458
|
+
l.deprecationHandler = null;
|
|
459
|
+
function U(e) {
|
|
460
460
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function Et(e) {
|
|
463
463
|
var r, t;
|
|
464
464
|
for (t in e)
|
|
465
|
-
|
|
465
|
+
w(e, t) && (r = e[t], U(r) ? this[t] = r : this["_" + t] = r);
|
|
466
466
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
467
467
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
468
468
|
);
|
|
@@ -470,9 +470,9 @@ function Lt(e) {
|
|
|
470
470
|
function tr(e, r) {
|
|
471
471
|
var t = ee({}, e), s;
|
|
472
472
|
for (s in r)
|
|
473
|
-
|
|
473
|
+
w(r, s) && (ie(e[s]) && ie(r[s]) ? (t[s] = {}, ee(t[s], e[s]), ee(t[s], r[s])) : r[s] != null ? t[s] = r[s] : delete t[s]);
|
|
474
474
|
for (s in e)
|
|
475
|
-
|
|
475
|
+
w(e, s) && !w(r, s) && ie(e[s]) && (t[s] = ee({}, t[s]));
|
|
476
476
|
return t;
|
|
477
477
|
}
|
|
478
478
|
function _r(e) {
|
|
@@ -482,10 +482,10 @@ var sr;
|
|
|
482
482
|
Object.keys ? sr = Object.keys : sr = function(e) {
|
|
483
483
|
var r, t = [];
|
|
484
484
|
for (r in e)
|
|
485
|
-
|
|
485
|
+
w(e, r) && t.push(r);
|
|
486
486
|
return t;
|
|
487
487
|
};
|
|
488
|
-
var
|
|
488
|
+
var Ht = {
|
|
489
489
|
sameDay: "[Today at] LT",
|
|
490
490
|
nextDay: "[Tomorrow at] LT",
|
|
491
491
|
nextWeek: "dddd [at] LT",
|
|
@@ -493,44 +493,44 @@ var Ft = {
|
|
|
493
493
|
lastWeek: "[Last] dddd [at] LT",
|
|
494
494
|
sameElse: "L"
|
|
495
495
|
};
|
|
496
|
-
function
|
|
496
|
+
function At(e, r, t) {
|
|
497
497
|
var s = this._calendar[e] || this._calendar.sameElse;
|
|
498
|
-
return
|
|
498
|
+
return U(s) ? s.call(r, t) : s;
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function A(e, r, t) {
|
|
501
501
|
var s = "" + Math.abs(e), a = r - s.length, n = e >= 0;
|
|
502
502
|
return (n ? t ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
|
|
503
503
|
}
|
|
504
|
-
var cr = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Oe = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
|
|
504
|
+
var cr = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Oe = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Qe = {}, ue = {};
|
|
505
505
|
function h(e, r, t, s) {
|
|
506
506
|
var a = s;
|
|
507
507
|
typeof s == "string" && (a = function() {
|
|
508
508
|
return this[s]();
|
|
509
|
-
}), e && (
|
|
510
|
-
return
|
|
511
|
-
}), t && (
|
|
509
|
+
}), e && (ue[e] = a), r && (ue[r[0]] = function() {
|
|
510
|
+
return A(a.apply(this, arguments), r[1], r[2]);
|
|
511
|
+
}), t && (ue[t] = function() {
|
|
512
512
|
return this.localeData().ordinal(
|
|
513
513
|
a.apply(this, arguments),
|
|
514
514
|
e
|
|
515
515
|
);
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function qt(e) {
|
|
519
519
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Ut(e) {
|
|
522
522
|
var r = e.match(cr), t, s;
|
|
523
523
|
for (t = 0, s = r.length; t < s; t++)
|
|
524
|
-
|
|
524
|
+
ue[r[t]] ? r[t] = ue[r[t]] : r[t] = qt(r[t]);
|
|
525
525
|
return function(a) {
|
|
526
|
-
var n = "",
|
|
527
|
-
for (
|
|
528
|
-
n +=
|
|
526
|
+
var n = "", d;
|
|
527
|
+
for (d = 0; d < s; d++)
|
|
528
|
+
n += U(r[d]) ? r[d].call(a, e) : r[d];
|
|
529
529
|
return n;
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
|
-
function
|
|
533
|
-
return e.isValid() ? (r = Gr(r, e.localeData()),
|
|
532
|
+
function Re(e, r) {
|
|
533
|
+
return e.isValid() ? (r = Gr(r, e.localeData()), Qe[r] = Qe[r] || Ut(r), Qe[r](e)) : e.localeData().invalidDate();
|
|
534
534
|
}
|
|
535
535
|
function Gr(e, r) {
|
|
536
536
|
var t = 5;
|
|
@@ -586,13 +586,13 @@ var Qt = {
|
|
|
586
586
|
};
|
|
587
587
|
function Kt(e, r, t, s) {
|
|
588
588
|
var a = this._relativeTime[t];
|
|
589
|
-
return
|
|
589
|
+
return U(a) ? a(e, r, t, s) : a.replace(/%d/i, e);
|
|
590
590
|
}
|
|
591
591
|
function Xt(e, r) {
|
|
592
592
|
var t = this._relativeTime[e > 0 ? "future" : "past"];
|
|
593
|
-
return
|
|
593
|
+
return U(t) ? t(r) : t.replace(/%s/i, r);
|
|
594
594
|
}
|
|
595
|
-
var
|
|
595
|
+
var Nr = {
|
|
596
596
|
D: "date",
|
|
597
597
|
dates: "date",
|
|
598
598
|
date: "date",
|
|
@@ -642,13 +642,13 @@ var Cr = {
|
|
|
642
642
|
years: "year",
|
|
643
643
|
year: "year"
|
|
644
644
|
};
|
|
645
|
-
function
|
|
646
|
-
return typeof e == "string" ?
|
|
645
|
+
function W(e) {
|
|
646
|
+
return typeof e == "string" ? Nr[e] || Nr[e.toLowerCase()] : void 0;
|
|
647
647
|
}
|
|
648
648
|
function hr(e) {
|
|
649
649
|
var r = {}, t, s;
|
|
650
650
|
for (s in e)
|
|
651
|
-
|
|
651
|
+
w(e, s) && (t = W(s), t && (r[t] = e[s]));
|
|
652
652
|
return r;
|
|
653
653
|
}
|
|
654
654
|
var It = {
|
|
@@ -672,20 +672,20 @@ var It = {
|
|
|
672
672
|
function es(e) {
|
|
673
673
|
var r = [], t;
|
|
674
674
|
for (t in e)
|
|
675
|
-
|
|
675
|
+
w(e, t) && r.push({ unit: t, priority: It[t] });
|
|
676
676
|
return r.sort(function(s, a) {
|
|
677
677
|
return s.priority - a.priority;
|
|
678
678
|
}), r;
|
|
679
679
|
}
|
|
680
|
-
var Vr = /\d/,
|
|
681
|
-
|
|
680
|
+
var Vr = /\d/, P = /\d\d/, $r = /\d{3}/, fr = /\d{4}/, He = /[+-]?\d{6}/, k = /\d\d?/, zr = /\d\d\d\d?/, Zr = /\d\d\d\d\d\d?/, Ae = /\d{1,3}/, pr = /\d{1,4}/, qe = /[+-]?\d{1,6}/, he = /\d+/, Ue = /[+-]?\d+/, rs = /Z|[+-]\d\d:?\d\d/gi, Ge = /Z|[+-]\d\d(?::?\d\d)?/gi, ts = /[+-]?\d+(\.\d{1,3})?/, Se = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, fe = /^[1-9]\d?/, yr = /^([1-9]\d|\d)/, Ce;
|
|
681
|
+
Ce = {};
|
|
682
682
|
function c(e, r, t) {
|
|
683
|
-
|
|
683
|
+
Ce[e] = U(r) ? r : function(s, a) {
|
|
684
684
|
return s && t ? t : r;
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
687
|
function ss(e, r) {
|
|
688
|
-
return
|
|
688
|
+
return w(Ce, e) ? Ce[e](r._strict, r._locale) : new RegExp(as(e));
|
|
689
689
|
}
|
|
690
690
|
function as(e) {
|
|
691
691
|
return B(
|
|
@@ -700,36 +700,36 @@ function as(e) {
|
|
|
700
700
|
function B(e) {
|
|
701
701
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function N(e) {
|
|
704
704
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function y(e) {
|
|
707
707
|
var r = +e, t = 0;
|
|
708
|
-
return r !== 0 && isFinite(r) && (t =
|
|
708
|
+
return r !== 0 && isFinite(r) && (t = N(r)), t;
|
|
709
709
|
}
|
|
710
710
|
var ar = {};
|
|
711
711
|
function v(e, r) {
|
|
712
712
|
var t, s = r, a;
|
|
713
|
-
for (typeof e == "string" && (e = [e]), Q(r) && (s = function(n,
|
|
714
|
-
|
|
713
|
+
for (typeof e == "string" && (e = [e]), Q(r) && (s = function(n, d) {
|
|
714
|
+
d[r] = y(n);
|
|
715
715
|
}), a = e.length, t = 0; t < a; t++)
|
|
716
716
|
ar[e[t]] = s;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function De(e, r) {
|
|
719
719
|
v(e, function(t, s, a, n) {
|
|
720
720
|
a._w = a._w || {}, r(t, a._w, a, n);
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
723
|
function is(e, r, t) {
|
|
724
|
-
r != null &&
|
|
724
|
+
r != null && w(ar, e) && ar[e](r, t._a, t, e);
|
|
725
725
|
}
|
|
726
726
|
function Ve(e) {
|
|
727
727
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
728
728
|
}
|
|
729
|
-
var O = 0, z = 1,
|
|
729
|
+
var O = 0, z = 1, H = 2, D = 3, F = 4, Z = 5, ae = 6, ns = 7, ds = 8;
|
|
730
730
|
h("Y", 0, 0, function() {
|
|
731
731
|
var e = this.year();
|
|
732
|
-
return e <= 9999 ?
|
|
732
|
+
return e <= 9999 ? A(e, 4) : "+" + e;
|
|
733
733
|
});
|
|
734
734
|
h(0, ["YY", 2], 0, function() {
|
|
735
735
|
return this.year() % 100;
|
|
@@ -737,17 +737,17 @@ h(0, ["YY", 2], 0, function() {
|
|
|
737
737
|
h(0, ["YYYY", 4], 0, "year");
|
|
738
738
|
h(0, ["YYYYY", 5], 0, "year");
|
|
739
739
|
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
740
|
-
c("Y",
|
|
741
|
-
c("YY", k,
|
|
742
|
-
c("YYYY",
|
|
743
|
-
c("YYYYY",
|
|
744
|
-
c("YYYYYY",
|
|
740
|
+
c("Y", Ue);
|
|
741
|
+
c("YY", k, P);
|
|
742
|
+
c("YYYY", pr, fr);
|
|
743
|
+
c("YYYYY", qe, He);
|
|
744
|
+
c("YYYYYY", qe, He);
|
|
745
745
|
v(["YYYYY", "YYYYYY"], O);
|
|
746
746
|
v("YYYY", function(e, r) {
|
|
747
|
-
r[O] = e.length === 2 ?
|
|
747
|
+
r[O] = e.length === 2 ? l.parseTwoDigitYear(e) : y(e);
|
|
748
748
|
});
|
|
749
749
|
v("YY", function(e, r) {
|
|
750
|
-
r[O] =
|
|
750
|
+
r[O] = l.parseTwoDigitYear(e);
|
|
751
751
|
});
|
|
752
752
|
v("Y", function(e, r) {
|
|
753
753
|
r[O] = parseInt(e, 10);
|
|
@@ -755,19 +755,19 @@ v("Y", function(e, r) {
|
|
|
755
755
|
function me(e) {
|
|
756
756
|
return Ve(e) ? 366 : 365;
|
|
757
757
|
}
|
|
758
|
-
|
|
759
|
-
return
|
|
758
|
+
l.parseTwoDigitYear = function(e) {
|
|
759
|
+
return y(e) + (y(e) > 68 ? 1900 : 2e3);
|
|
760
760
|
};
|
|
761
|
-
var Br =
|
|
762
|
-
function
|
|
761
|
+
var Br = pe("FullYear", !0);
|
|
762
|
+
function os() {
|
|
763
763
|
return Ve(this.year());
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function pe(e, r) {
|
|
766
766
|
return function(t) {
|
|
767
|
-
return t != null ? (Jr(this, e, t),
|
|
767
|
+
return t != null ? (Jr(this, e, t), l.updateOffset(this, r), this) : we(this, e);
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function we(e, r) {
|
|
771
771
|
if (!e.isValid())
|
|
772
772
|
return NaN;
|
|
773
773
|
var t = e._d, s = e._isUTC;
|
|
@@ -793,7 +793,7 @@ function ge(e, r) {
|
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
function Jr(e, r, t) {
|
|
796
|
-
var s, a, n,
|
|
796
|
+
var s, a, n, d, u;
|
|
797
797
|
if (!(!e.isValid() || isNaN(t))) {
|
|
798
798
|
switch (s = e._d, a = e._isUTC, r) {
|
|
799
799
|
case "Milliseconds":
|
|
@@ -811,34 +811,34 @@ function Jr(e, r, t) {
|
|
|
811
811
|
default:
|
|
812
812
|
return;
|
|
813
813
|
}
|
|
814
|
-
n = t,
|
|
814
|
+
n = t, d = e.month(), u = e.date(), u = u === 29 && d === 1 && !Ve(n) ? 28 : u, a ? s.setUTCFullYear(n, d, u) : s.setFullYear(n, d, u);
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
return e =
|
|
817
|
+
function ls(e) {
|
|
818
|
+
return e = W(e), U(this[e]) ? this[e]() : this;
|
|
819
819
|
}
|
|
820
|
-
function
|
|
820
|
+
function us(e, r) {
|
|
821
821
|
if (typeof e == "object") {
|
|
822
822
|
e = hr(e);
|
|
823
823
|
var t = es(e), s, a = t.length;
|
|
824
824
|
for (s = 0; s < a; s++)
|
|
825
825
|
this[t[s].unit](e[t[s].unit]);
|
|
826
|
-
} else if (e =
|
|
826
|
+
} else if (e = W(e), U(this[e]))
|
|
827
827
|
return this[e](r);
|
|
828
828
|
return this;
|
|
829
829
|
}
|
|
830
830
|
function _s(e, r) {
|
|
831
831
|
return (e % r + r) % r;
|
|
832
832
|
}
|
|
833
|
-
var
|
|
834
|
-
Array.prototype.indexOf ?
|
|
833
|
+
var S;
|
|
834
|
+
Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
|
|
835
835
|
var r;
|
|
836
836
|
for (r = 0; r < this.length; ++r)
|
|
837
837
|
if (this[r] === e)
|
|
838
838
|
return r;
|
|
839
839
|
return -1;
|
|
840
840
|
};
|
|
841
|
-
function
|
|
841
|
+
function br(e, r) {
|
|
842
842
|
if (isNaN(e) || isNaN(r))
|
|
843
843
|
return NaN;
|
|
844
844
|
var t = _s(r, 12);
|
|
@@ -853,8 +853,8 @@ h("MMM", 0, 0, function(e) {
|
|
|
853
853
|
h("MMMM", 0, 0, function(e) {
|
|
854
854
|
return this.localeData().months(this, e);
|
|
855
855
|
});
|
|
856
|
-
c("M", k,
|
|
857
|
-
c("MM", k,
|
|
856
|
+
c("M", k, fe);
|
|
857
|
+
c("MM", k, P);
|
|
858
858
|
c("MMM", function(e, r) {
|
|
859
859
|
return r.monthsShortRegex(e);
|
|
860
860
|
});
|
|
@@ -862,76 +862,81 @@ c("MMMM", function(e, r) {
|
|
|
862
862
|
return r.monthsRegex(e);
|
|
863
863
|
});
|
|
864
864
|
v(["M", "MM"], function(e, r) {
|
|
865
|
-
r[z] =
|
|
865
|
+
r[z] = y(e) - 1;
|
|
866
866
|
});
|
|
867
867
|
v(["MMM", "MMMM"], function(e, r, t, s) {
|
|
868
868
|
var a = t._locale.monthsParse(e, s, t._strict);
|
|
869
|
-
a != null ? r[z] = a :
|
|
869
|
+
a != null ? r[z] = a : p(t).invalidMonth = e;
|
|
870
870
|
});
|
|
871
871
|
var cs = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
872
872
|
"_"
|
|
873
|
-
), Qr = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Kr = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, hs =
|
|
874
|
-
function
|
|
875
|
-
return e ?
|
|
873
|
+
), Qr = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Kr = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, hs = Se, fs = Se;
|
|
874
|
+
function ps(e, r) {
|
|
875
|
+
return e ? L(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Kr).test(r) ? "format" : "standalone"][e.month()] : L(this._months) ? this._months : this._months.standalone;
|
|
876
876
|
}
|
|
877
|
-
function
|
|
878
|
-
return e ?
|
|
877
|
+
function ys(e, r) {
|
|
878
|
+
return e ? L(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Kr.test(r) ? "format" : "standalone"][e.month()] : L(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
879
879
|
}
|
|
880
|
-
function
|
|
881
|
-
var s, a, n,
|
|
880
|
+
function bs(e, r, t) {
|
|
881
|
+
var s, a, n, d = e.toLocaleLowerCase();
|
|
882
882
|
if (!this._monthsParse)
|
|
883
883
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
|
|
884
|
-
n =
|
|
884
|
+
n = q([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
|
|
885
885
|
n,
|
|
886
886
|
""
|
|
887
887
|
).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(n, "").toLocaleLowerCase();
|
|
888
|
-
return t ? r === "MMM" ? (a =
|
|
888
|
+
return t ? r === "MMM" ? (a = S.call(this._shortMonthsParse, d), a !== -1 ? a : null) : (a = S.call(this._longMonthsParse, d), a !== -1 ? a : null) : r === "MMM" ? (a = S.call(this._shortMonthsParse, d), a !== -1 ? a : (a = S.call(this._longMonthsParse, d), a !== -1 ? a : null)) : (a = S.call(this._longMonthsParse, d), a !== -1 ? a : (a = S.call(this._shortMonthsParse, d), a !== -1 ? a : null));
|
|
889
889
|
}
|
|
890
890
|
function ms(e, r, t) {
|
|
891
891
|
var s, a, n;
|
|
892
892
|
if (this._monthsParseExact)
|
|
893
|
-
return
|
|
894
|
-
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++)
|
|
895
|
-
if (a =
|
|
893
|
+
return bs.call(this, e, r, t);
|
|
894
|
+
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
|
|
895
|
+
if (a = q([2e3, s]), t && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
|
|
896
896
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
897
897
|
"i"
|
|
898
898
|
), this._shortMonthsParse[s] = new RegExp(
|
|
899
899
|
"^" + this.monthsShort(a, "").replace(".", "") + "$",
|
|
900
900
|
"i"
|
|
901
|
-
)), !t && !this._monthsParse[s] && (n = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[s] = new RegExp(n.replace(".", ""), "i")), t && r === "MMMM" && this._longMonthsParse[s].test(e)
|
|
901
|
+
)), !t && !this._monthsParse[s] && (n = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[s] = new RegExp(n.replace(".", ""), "i")), t && r === "MMMM" && this._longMonthsParse[s].test(e))
|
|
902
902
|
return s;
|
|
903
|
+
if (t && r === "MMM" && this._shortMonthsParse[s].test(e))
|
|
904
|
+
return s;
|
|
905
|
+
if (!t && this._monthsParse[s].test(e))
|
|
906
|
+
return s;
|
|
907
|
+
}
|
|
903
908
|
}
|
|
904
909
|
function Xr(e, r) {
|
|
905
910
|
if (!e.isValid())
|
|
906
911
|
return e;
|
|
907
912
|
if (typeof r == "string") {
|
|
908
913
|
if (/^\d+$/.test(r))
|
|
909
|
-
r =
|
|
914
|
+
r = y(r);
|
|
910
915
|
else if (r = e.localeData().monthsParse(r), !Q(r))
|
|
911
916
|
return e;
|
|
912
917
|
}
|
|
913
918
|
var t = r, s = e.date();
|
|
914
|
-
return s = s < 29 ? s : Math.min(s,
|
|
919
|
+
return s = s < 29 ? s : Math.min(s, br(e.year(), t)), e._isUTC ? e._d.setUTCMonth(t, s) : e._d.setMonth(t, s), e;
|
|
915
920
|
}
|
|
916
921
|
function Ir(e) {
|
|
917
|
-
return e != null ? (Xr(this, e),
|
|
922
|
+
return e != null ? (Xr(this, e), l.updateOffset(this, !0), this) : we(this, "Month");
|
|
918
923
|
}
|
|
919
|
-
function
|
|
920
|
-
return
|
|
924
|
+
function ws() {
|
|
925
|
+
return br(this.year(), this.month());
|
|
921
926
|
}
|
|
922
|
-
function
|
|
923
|
-
return this._monthsParseExact ? (
|
|
927
|
+
function gs(e) {
|
|
928
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || et.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = hs), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
924
929
|
}
|
|
925
930
|
function vs(e) {
|
|
926
|
-
return this._monthsParseExact ? (
|
|
931
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || et.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = fs), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
927
932
|
}
|
|
928
933
|
function et() {
|
|
929
|
-
function e(
|
|
930
|
-
return
|
|
934
|
+
function e(f, b) {
|
|
935
|
+
return b.length - f.length;
|
|
931
936
|
}
|
|
932
|
-
var r = [], t = [], s = [], a, n,
|
|
937
|
+
var r = [], t = [], s = [], a, n, d, u;
|
|
933
938
|
for (a = 0; a < 12; a++)
|
|
934
|
-
n =
|
|
939
|
+
n = q([2e3, a]), d = B(this.monthsShort(n, "")), u = B(this.months(n, "")), r.push(d), t.push(u), s.push(u), s.push(d);
|
|
935
940
|
r.sort(e), t.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
936
941
|
"^(" + t.join("|") + ")",
|
|
937
942
|
"i"
|
|
@@ -940,46 +945,46 @@ function et() {
|
|
|
940
945
|
"i"
|
|
941
946
|
);
|
|
942
947
|
}
|
|
943
|
-
function xs(e, r, t, s, a, n,
|
|
944
|
-
var
|
|
945
|
-
return e < 100 && e >= 0 ? (
|
|
948
|
+
function xs(e, r, t, s, a, n, d) {
|
|
949
|
+
var u;
|
|
950
|
+
return e < 100 && e >= 0 ? (u = new Date(e + 400, r, t, s, a, n, d), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, r, t, s, a, n, d), u;
|
|
946
951
|
}
|
|
947
|
-
function
|
|
952
|
+
function ge(e) {
|
|
948
953
|
var r, t;
|
|
949
954
|
return e < 100 && e >= 0 ? (t = Array.prototype.slice.call(arguments), t[0] = e + 400, r = new Date(Date.UTC.apply(null, t)), isFinite(r.getUTCFullYear()) && r.setUTCFullYear(e)) : r = new Date(Date.UTC.apply(null, arguments)), r;
|
|
950
955
|
}
|
|
951
|
-
function
|
|
952
|
-
var s = 7 + r - t, a = (7 +
|
|
956
|
+
function We(e, r, t) {
|
|
957
|
+
var s = 7 + r - t, a = (7 + ge(e, 0, s).getUTCDay() - r) % 7;
|
|
953
958
|
return -a + s - 1;
|
|
954
959
|
}
|
|
955
960
|
function rt(e, r, t, s, a) {
|
|
956
|
-
var n = (7 + t - s) % 7,
|
|
957
|
-
return
|
|
958
|
-
year:
|
|
959
|
-
dayOfYear:
|
|
961
|
+
var n = (7 + t - s) % 7, d = We(e, s, a), u = 1 + 7 * (r - 1) + n + d, f, b;
|
|
962
|
+
return u <= 0 ? (f = e - 1, b = me(f) + u) : u > me(e) ? (f = e + 1, b = u - me(e)) : (f = e, b = u), {
|
|
963
|
+
year: f,
|
|
964
|
+
dayOfYear: b
|
|
960
965
|
};
|
|
961
966
|
}
|
|
962
967
|
function ve(e, r, t) {
|
|
963
|
-
var s =
|
|
964
|
-
return a < 1 ? (
|
|
968
|
+
var s = We(e.year(), r, t), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, n, d;
|
|
969
|
+
return a < 1 ? (d = e.year() - 1, n = a + J(d, r, t)) : a > J(e.year(), r, t) ? (n = a - J(e.year(), r, t), d = e.year() + 1) : (d = e.year(), n = a), {
|
|
965
970
|
week: n,
|
|
966
|
-
year:
|
|
971
|
+
year: d
|
|
967
972
|
};
|
|
968
973
|
}
|
|
969
974
|
function J(e, r, t) {
|
|
970
|
-
var s =
|
|
975
|
+
var s = We(e, r, t), a = We(e + 1, r, t);
|
|
971
976
|
return (me(e) - s + a) / 7;
|
|
972
977
|
}
|
|
973
978
|
h("w", ["ww", 2], "wo", "week");
|
|
974
979
|
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
975
|
-
c("w", k,
|
|
976
|
-
c("ww", k,
|
|
977
|
-
c("W", k,
|
|
978
|
-
c("WW", k,
|
|
979
|
-
|
|
980
|
+
c("w", k, fe);
|
|
981
|
+
c("ww", k, P);
|
|
982
|
+
c("W", k, fe);
|
|
983
|
+
c("WW", k, P);
|
|
984
|
+
De(
|
|
980
985
|
["w", "ww", "W", "WW"],
|
|
981
986
|
function(e, r, t, s) {
|
|
982
|
-
r[s.substr(0, 1)] =
|
|
987
|
+
r[s.substr(0, 1)] = y(e);
|
|
983
988
|
}
|
|
984
989
|
);
|
|
985
990
|
function ks(e) {
|
|
@@ -991,13 +996,13 @@ var Ms = {
|
|
|
991
996
|
doy: 6
|
|
992
997
|
// The week that contains Jan 6th is the first week of the year.
|
|
993
998
|
};
|
|
994
|
-
function
|
|
999
|
+
function Ss() {
|
|
995
1000
|
return this._week.dow;
|
|
996
1001
|
}
|
|
997
|
-
function
|
|
1002
|
+
function Ds() {
|
|
998
1003
|
return this._week.doy;
|
|
999
1004
|
}
|
|
1000
|
-
function
|
|
1005
|
+
function Ys(e) {
|
|
1001
1006
|
var r = this.localeData().week(this);
|
|
1002
1007
|
return e == null ? r : this.add((e - r) * 7, "d");
|
|
1003
1008
|
}
|
|
@@ -1029,52 +1034,52 @@ c("ddd", function(e, r) {
|
|
|
1029
1034
|
c("dddd", function(e, r) {
|
|
1030
1035
|
return r.weekdaysRegex(e);
|
|
1031
1036
|
});
|
|
1032
|
-
|
|
1037
|
+
De(["dd", "ddd", "dddd"], function(e, r, t, s) {
|
|
1033
1038
|
var a = t._locale.weekdaysParse(e, s, t._strict);
|
|
1034
|
-
a != null ? r.d = a :
|
|
1039
|
+
a != null ? r.d = a : p(t).invalidWeekday = e;
|
|
1035
1040
|
});
|
|
1036
|
-
|
|
1037
|
-
r[s] =
|
|
1041
|
+
De(["d", "e", "E"], function(e, r, t, s) {
|
|
1042
|
+
r[s] = y(e);
|
|
1038
1043
|
});
|
|
1039
1044
|
function Ts(e, r) {
|
|
1040
1045
|
return typeof e != "string" ? e : isNaN(e) ? (e = r.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
1041
1046
|
}
|
|
1042
|
-
function
|
|
1047
|
+
function Rs(e, r) {
|
|
1043
1048
|
return typeof e == "string" ? r.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
1044
1049
|
}
|
|
1045
1050
|
function mr(e, r) {
|
|
1046
1051
|
return e.slice(r, 7).concat(e.slice(0, r));
|
|
1047
1052
|
}
|
|
1048
|
-
var
|
|
1049
|
-
function
|
|
1050
|
-
var t =
|
|
1053
|
+
var Ps = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), tt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ns = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Cs = Se, Ws = Se, Fs = Se;
|
|
1054
|
+
function Ls(e, r) {
|
|
1055
|
+
var t = L(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(r) ? "format" : "standalone"];
|
|
1051
1056
|
return e === !0 ? mr(t, this._week.dow) : e ? t[e.day()] : t;
|
|
1052
1057
|
}
|
|
1053
|
-
function
|
|
1058
|
+
function js(e) {
|
|
1054
1059
|
return e === !0 ? mr(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
1055
1060
|
}
|
|
1056
|
-
function
|
|
1061
|
+
function Es(e) {
|
|
1057
1062
|
return e === !0 ? mr(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
1058
1063
|
}
|
|
1059
|
-
function
|
|
1060
|
-
var s, a, n,
|
|
1064
|
+
function Hs(e, r, t) {
|
|
1065
|
+
var s, a, n, d = e.toLocaleLowerCase();
|
|
1061
1066
|
if (!this._weekdaysParse)
|
|
1062
1067
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
|
|
1063
|
-
n =
|
|
1068
|
+
n = q([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
|
|
1064
1069
|
n,
|
|
1065
1070
|
""
|
|
1066
1071
|
).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
|
|
1067
1072
|
n,
|
|
1068
1073
|
""
|
|
1069
1074
|
).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(n, "").toLocaleLowerCase();
|
|
1070
|
-
return t ? r === "dddd" ? (a =
|
|
1075
|
+
return t ? r === "dddd" ? (a = S.call(this._weekdaysParse, d), a !== -1 ? a : null) : r === "ddd" ? (a = S.call(this._shortWeekdaysParse, d), a !== -1 ? a : null) : (a = S.call(this._minWeekdaysParse, d), a !== -1 ? a : null) : r === "dddd" ? (a = S.call(this._weekdaysParse, d), a !== -1 || (a = S.call(this._shortWeekdaysParse, d), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, d), a !== -1 ? a : null)) : r === "ddd" ? (a = S.call(this._shortWeekdaysParse, d), a !== -1 || (a = S.call(this._weekdaysParse, d), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, d), a !== -1 ? a : null)) : (a = S.call(this._minWeekdaysParse, d), a !== -1 || (a = S.call(this._weekdaysParse, d), a !== -1) ? a : (a = S.call(this._shortWeekdaysParse, d), a !== -1 ? a : null));
|
|
1071
1076
|
}
|
|
1072
|
-
function
|
|
1077
|
+
function As(e, r, t) {
|
|
1073
1078
|
var s, a, n;
|
|
1074
1079
|
if (this._weekdaysParseExact)
|
|
1075
|
-
return
|
|
1076
|
-
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++)
|
|
1077
|
-
if (a =
|
|
1080
|
+
return Hs.call(this, e, r, t);
|
|
1081
|
+
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
|
|
1082
|
+
if (a = q([2e3, 1]).day(s), t && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
|
|
1078
1083
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
1079
1084
|
"i"
|
|
1080
1085
|
), this._shortWeekdaysParse[s] = new RegExp(
|
|
@@ -1083,16 +1088,23 @@ function Us(e, r, t) {
|
|
|
1083
1088
|
), this._minWeekdaysParse[s] = new RegExp(
|
|
1084
1089
|
"^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$",
|
|
1085
1090
|
"i"
|
|
1086
|
-
)), this._weekdaysParse[s] || (n = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[s] = new RegExp(n.replace(".", ""), "i")), t && r === "dddd" && this._fullWeekdaysParse[s].test(e)
|
|
1091
|
+
)), this._weekdaysParse[s] || (n = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[s] = new RegExp(n.replace(".", ""), "i")), t && r === "dddd" && this._fullWeekdaysParse[s].test(e))
|
|
1087
1092
|
return s;
|
|
1093
|
+
if (t && r === "ddd" && this._shortWeekdaysParse[s].test(e))
|
|
1094
|
+
return s;
|
|
1095
|
+
if (t && r === "dd" && this._minWeekdaysParse[s].test(e))
|
|
1096
|
+
return s;
|
|
1097
|
+
if (!t && this._weekdaysParse[s].test(e))
|
|
1098
|
+
return s;
|
|
1099
|
+
}
|
|
1088
1100
|
}
|
|
1089
|
-
function
|
|
1101
|
+
function qs(e) {
|
|
1090
1102
|
if (!this.isValid())
|
|
1091
1103
|
return e != null ? this : NaN;
|
|
1092
|
-
var r =
|
|
1104
|
+
var r = we(this, "Day");
|
|
1093
1105
|
return e != null ? (e = Ts(e, this.localeData()), this.add(e - r, "d")) : r;
|
|
1094
1106
|
}
|
|
1095
|
-
function
|
|
1107
|
+
function Us(e) {
|
|
1096
1108
|
if (!this.isValid())
|
|
1097
1109
|
return e != null ? this : NaN;
|
|
1098
1110
|
var r = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
@@ -1102,27 +1114,27 @@ function Gs(e) {
|
|
|
1102
1114
|
if (!this.isValid())
|
|
1103
1115
|
return e != null ? this : NaN;
|
|
1104
1116
|
if (e != null) {
|
|
1105
|
-
var r =
|
|
1117
|
+
var r = Rs(e, this.localeData());
|
|
1106
1118
|
return this.day(this.day() % 7 ? r : r - 7);
|
|
1107
1119
|
} else
|
|
1108
1120
|
return this.day() || 7;
|
|
1109
1121
|
}
|
|
1110
1122
|
function Vs(e) {
|
|
1111
|
-
return this._weekdaysParseExact ? (
|
|
1123
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || wr.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = Cs), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1112
1124
|
}
|
|
1113
1125
|
function $s(e) {
|
|
1114
|
-
return this._weekdaysParseExact ? (
|
|
1126
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || wr.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Ws), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1115
1127
|
}
|
|
1116
1128
|
function zs(e) {
|
|
1117
|
-
return this._weekdaysParseExact ? (
|
|
1129
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || wr.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Fs), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1118
1130
|
}
|
|
1119
|
-
function
|
|
1131
|
+
function wr() {
|
|
1120
1132
|
function e(T, G) {
|
|
1121
1133
|
return G.length - T.length;
|
|
1122
1134
|
}
|
|
1123
|
-
var r = [], t = [], s = [], a = [], n,
|
|
1135
|
+
var r = [], t = [], s = [], a = [], n, d, u, f, b;
|
|
1124
1136
|
for (n = 0; n < 7; n++)
|
|
1125
|
-
|
|
1137
|
+
d = q([2e3, 1]).day(n), u = B(this.weekdaysMin(d, "")), f = B(this.weekdaysShort(d, "")), b = B(this.weekdays(d, "")), r.push(u), t.push(f), s.push(b), a.push(u), a.push(f), a.push(b);
|
|
1126
1138
|
r.sort(e), t.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(
|
|
1127
1139
|
"^(" + s.join("|") + ")",
|
|
1128
1140
|
"i"
|
|
@@ -1134,26 +1146,26 @@ function gr() {
|
|
|
1134
1146
|
"i"
|
|
1135
1147
|
);
|
|
1136
1148
|
}
|
|
1137
|
-
function
|
|
1149
|
+
function gr() {
|
|
1138
1150
|
return this.hours() % 12 || 12;
|
|
1139
1151
|
}
|
|
1140
1152
|
function Zs() {
|
|
1141
1153
|
return this.hours() || 24;
|
|
1142
1154
|
}
|
|
1143
1155
|
h("H", ["HH", 2], 0, "hour");
|
|
1144
|
-
h("h", ["hh", 2], 0,
|
|
1156
|
+
h("h", ["hh", 2], 0, gr);
|
|
1145
1157
|
h("k", ["kk", 2], 0, Zs);
|
|
1146
1158
|
h("hmm", 0, 0, function() {
|
|
1147
|
-
return "" +
|
|
1159
|
+
return "" + gr.apply(this) + A(this.minutes(), 2);
|
|
1148
1160
|
});
|
|
1149
1161
|
h("hmmss", 0, 0, function() {
|
|
1150
|
-
return "" +
|
|
1162
|
+
return "" + gr.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1151
1163
|
});
|
|
1152
1164
|
h("Hmm", 0, 0, function() {
|
|
1153
|
-
return "" + this.hours() +
|
|
1165
|
+
return "" + this.hours() + A(this.minutes(), 2);
|
|
1154
1166
|
});
|
|
1155
1167
|
h("Hmmss", 0, 0, function() {
|
|
1156
|
-
return "" + this.hours() +
|
|
1168
|
+
return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2);
|
|
1157
1169
|
});
|
|
1158
1170
|
function st(e, r) {
|
|
1159
1171
|
h(e, 0, 0, function() {
|
|
@@ -1171,52 +1183,52 @@ function at(e, r) {
|
|
|
1171
1183
|
}
|
|
1172
1184
|
c("a", at);
|
|
1173
1185
|
c("A", at);
|
|
1174
|
-
c("H", k,
|
|
1175
|
-
c("h", k,
|
|
1176
|
-
c("k", k,
|
|
1177
|
-
c("HH", k,
|
|
1178
|
-
c("hh", k,
|
|
1179
|
-
c("kk", k,
|
|
1186
|
+
c("H", k, yr);
|
|
1187
|
+
c("h", k, fe);
|
|
1188
|
+
c("k", k, fe);
|
|
1189
|
+
c("HH", k, P);
|
|
1190
|
+
c("hh", k, P);
|
|
1191
|
+
c("kk", k, P);
|
|
1180
1192
|
c("hmm", zr);
|
|
1181
1193
|
c("hmmss", Zr);
|
|
1182
1194
|
c("Hmm", zr);
|
|
1183
1195
|
c("Hmmss", Zr);
|
|
1184
|
-
v(["H", "HH"],
|
|
1196
|
+
v(["H", "HH"], D);
|
|
1185
1197
|
v(["k", "kk"], function(e, r, t) {
|
|
1186
|
-
var s =
|
|
1187
|
-
r[
|
|
1198
|
+
var s = y(e);
|
|
1199
|
+
r[D] = s === 24 ? 0 : s;
|
|
1188
1200
|
});
|
|
1189
1201
|
v(["a", "A"], function(e, r, t) {
|
|
1190
1202
|
t._isPm = t._locale.isPM(e), t._meridiem = e;
|
|
1191
1203
|
});
|
|
1192
1204
|
v(["h", "hh"], function(e, r, t) {
|
|
1193
|
-
r[
|
|
1205
|
+
r[D] = y(e), p(t).bigHour = !0;
|
|
1194
1206
|
});
|
|
1195
1207
|
v("hmm", function(e, r, t) {
|
|
1196
1208
|
var s = e.length - 2;
|
|
1197
|
-
r[
|
|
1209
|
+
r[D] = y(e.substr(0, s)), r[F] = y(e.substr(s)), p(t).bigHour = !0;
|
|
1198
1210
|
});
|
|
1199
1211
|
v("hmmss", function(e, r, t) {
|
|
1200
1212
|
var s = e.length - 4, a = e.length - 2;
|
|
1201
|
-
r[
|
|
1213
|
+
r[D] = y(e.substr(0, s)), r[F] = y(e.substr(s, 2)), r[Z] = y(e.substr(a)), p(t).bigHour = !0;
|
|
1202
1214
|
});
|
|
1203
1215
|
v("Hmm", function(e, r, t) {
|
|
1204
1216
|
var s = e.length - 2;
|
|
1205
|
-
r[
|
|
1217
|
+
r[D] = y(e.substr(0, s)), r[F] = y(e.substr(s));
|
|
1206
1218
|
});
|
|
1207
1219
|
v("Hmmss", function(e, r, t) {
|
|
1208
1220
|
var s = e.length - 4, a = e.length - 2;
|
|
1209
|
-
r[
|
|
1221
|
+
r[D] = y(e.substr(0, s)), r[F] = y(e.substr(s, 2)), r[Z] = y(e.substr(a));
|
|
1210
1222
|
});
|
|
1211
1223
|
function Bs(e) {
|
|
1212
1224
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1213
1225
|
}
|
|
1214
|
-
var Js = /[ap]\.?m?\.?/i, Qs =
|
|
1226
|
+
var Js = /[ap]\.?m?\.?/i, Qs = pe("Hours", !0);
|
|
1215
1227
|
function Ks(e, r, t) {
|
|
1216
1228
|
return e > 11 ? t ? "pm" : "PM" : t ? "am" : "AM";
|
|
1217
1229
|
}
|
|
1218
1230
|
var it = {
|
|
1219
|
-
calendar:
|
|
1231
|
+
calendar: Ht,
|
|
1220
1232
|
longDateFormat: Gt,
|
|
1221
1233
|
invalidDate: $t,
|
|
1222
1234
|
ordinal: Zt,
|
|
@@ -1225,11 +1237,11 @@ var it = {
|
|
|
1225
1237
|
months: cs,
|
|
1226
1238
|
monthsShort: Qr,
|
|
1227
1239
|
week: Ms,
|
|
1228
|
-
weekdays:
|
|
1229
|
-
weekdaysMin:
|
|
1240
|
+
weekdays: Ps,
|
|
1241
|
+
weekdaysMin: Ns,
|
|
1230
1242
|
weekdaysShort: tt,
|
|
1231
1243
|
meridiemParse: Js
|
|
1232
|
-
}, M = {},
|
|
1244
|
+
}, M = {}, ye = {}, xe;
|
|
1233
1245
|
function Xs(e, r) {
|
|
1234
1246
|
var t, s = Math.min(e.length, r.length);
|
|
1235
1247
|
for (t = 0; t < s; t += 1)
|
|
@@ -1237,12 +1249,12 @@ function Xs(e, r) {
|
|
|
1237
1249
|
return t;
|
|
1238
1250
|
return s;
|
|
1239
1251
|
}
|
|
1240
|
-
function
|
|
1252
|
+
function Cr(e) {
|
|
1241
1253
|
return e && e.toLowerCase().replace("_", "-");
|
|
1242
1254
|
}
|
|
1243
1255
|
function Is(e) {
|
|
1244
1256
|
for (var r = 0, t, s, a, n; r < e.length; ) {
|
|
1245
|
-
for (n =
|
|
1257
|
+
for (n = Cr(e[r]).split("-"), t = n.length, s = Cr(e[r + 1]), s = s ? s.split("-") : null; t > 0; ) {
|
|
1246
1258
|
if (a = $e(n.slice(0, t).join("-")), a)
|
|
1247
1259
|
return a;
|
|
1248
1260
|
if (s && s.length >= t && Xs(n, s) >= t - 1)
|
|
@@ -1268,7 +1280,7 @@ function $e(e) {
|
|
|
1268
1280
|
}
|
|
1269
1281
|
function te(e, r) {
|
|
1270
1282
|
var t;
|
|
1271
|
-
return e && (
|
|
1283
|
+
return e && (R(r) ? t = K(e) : t = vr(e, r), t ? xe = t : typeof console < "u" && console.warn && console.warn(
|
|
1272
1284
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1273
1285
|
)), xe._abbr;
|
|
1274
1286
|
}
|
|
@@ -1276,7 +1288,7 @@ function vr(e, r) {
|
|
|
1276
1288
|
if (r !== null) {
|
|
1277
1289
|
var t, s = it;
|
|
1278
1290
|
if (r.abbr = e, M[e] != null)
|
|
1279
|
-
|
|
1291
|
+
Ur(
|
|
1280
1292
|
"defineLocaleOverride",
|
|
1281
1293
|
"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."
|
|
1282
1294
|
), s = M[e]._config;
|
|
@@ -1286,11 +1298,11 @@ function vr(e, r) {
|
|
|
1286
1298
|
else if (t = $e(r.parentLocale), t != null)
|
|
1287
1299
|
s = t._config;
|
|
1288
1300
|
else
|
|
1289
|
-
return
|
|
1301
|
+
return ye[r.parentLocale] || (ye[r.parentLocale] = []), ye[r.parentLocale].push({
|
|
1290
1302
|
name: e,
|
|
1291
1303
|
config: r
|
|
1292
1304
|
}), null;
|
|
1293
|
-
return M[e] = new _r(tr(s, r)),
|
|
1305
|
+
return M[e] = new _r(tr(s, r)), ye[e] && ye[e].forEach(function(a) {
|
|
1294
1306
|
vr(a.name, a.config);
|
|
1295
1307
|
}), te(e), M[e];
|
|
1296
1308
|
} else
|
|
@@ -1308,7 +1320,7 @@ function K(e) {
|
|
|
1308
1320
|
var r;
|
|
1309
1321
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1310
1322
|
return xe;
|
|
1311
|
-
if (!
|
|
1323
|
+
if (!L(e)) {
|
|
1312
1324
|
if (r = $e(e), r)
|
|
1313
1325
|
return r;
|
|
1314
1326
|
e = [e];
|
|
@@ -1320,7 +1332,7 @@ function ta() {
|
|
|
1320
1332
|
}
|
|
1321
1333
|
function xr(e) {
|
|
1322
1334
|
var r, t = e._a;
|
|
1323
|
-
return t &&
|
|
1335
|
+
return t && p(e).overflow === -2 && (r = t[z] < 0 || t[z] > 11 ? z : t[H] < 1 || t[H] > br(t[O], t[z]) ? H : t[D] < 0 || t[D] > 24 || t[D] === 24 && (t[F] !== 0 || t[Z] !== 0 || t[ae] !== 0) ? D : t[F] < 0 || t[F] > 59 ? F : t[Z] < 0 || t[Z] > 59 ? Z : t[ae] < 0 || t[ae] > 999 ? ae : -1, p(e)._overflowDayOfYear && (r < O || r > H) && (r = H), p(e)._overflowWeeks && r === -1 && (r = ns), p(e)._overflowWeekday && r === -1 && (r = ds), p(e).overflow = r), e;
|
|
1324
1336
|
}
|
|
1325
1337
|
var sa = /^\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)?)?$/, aa = /^\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)?)?$/, ia = /Z|[+-]\d\d(?::?\d\d)?/, Te = [
|
|
1326
1338
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -1336,7 +1348,7 @@ var sa = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1336
1348
|
["YYYYDDD", /\d{7}/],
|
|
1337
1349
|
["YYYYMM", /\d{6}/, !1],
|
|
1338
1350
|
["YYYY", /\d{4}/, !1]
|
|
1339
|
-
],
|
|
1351
|
+
], Ke = [
|
|
1340
1352
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1341
1353
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1342
1354
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1346,7 +1358,7 @@ var sa = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1346
1358
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1347
1359
|
["HHmm", /\d\d\d\d/],
|
|
1348
1360
|
["HH", /\d\d/]
|
|
1349
|
-
], na = /^\/?Date\((-?\d+)/i,
|
|
1361
|
+
], na = /^\/?Date\((-?\d+)/i, da = /^(?:(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}))$/, oa = {
|
|
1350
1362
|
UT: 0,
|
|
1351
1363
|
GMT: 0,
|
|
1352
1364
|
EDT: -4 * 60,
|
|
@@ -1359,54 +1371,54 @@ var sa = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1359
1371
|
PST: -8 * 60
|
|
1360
1372
|
};
|
|
1361
1373
|
function nt(e) {
|
|
1362
|
-
var r, t, s = e._i, a = sa.exec(s) || aa.exec(s), n,
|
|
1374
|
+
var r, t, s = e._i, a = sa.exec(s) || aa.exec(s), n, d, u, f, b = Te.length, T = Ke.length;
|
|
1363
1375
|
if (a) {
|
|
1364
|
-
for (
|
|
1376
|
+
for (p(e).iso = !0, r = 0, t = b; r < t; r++)
|
|
1365
1377
|
if (Te[r][1].exec(a[1])) {
|
|
1366
|
-
|
|
1378
|
+
d = Te[r][0], n = Te[r][2] !== !1;
|
|
1367
1379
|
break;
|
|
1368
1380
|
}
|
|
1369
|
-
if (
|
|
1381
|
+
if (d == null) {
|
|
1370
1382
|
e._isValid = !1;
|
|
1371
1383
|
return;
|
|
1372
1384
|
}
|
|
1373
1385
|
if (a[3]) {
|
|
1374
1386
|
for (r = 0, t = T; r < t; r++)
|
|
1375
|
-
if (
|
|
1376
|
-
|
|
1387
|
+
if (Ke[r][1].exec(a[3])) {
|
|
1388
|
+
u = (a[2] || " ") + Ke[r][0];
|
|
1377
1389
|
break;
|
|
1378
1390
|
}
|
|
1379
|
-
if (
|
|
1391
|
+
if (u == null) {
|
|
1380
1392
|
e._isValid = !1;
|
|
1381
1393
|
return;
|
|
1382
1394
|
}
|
|
1383
1395
|
}
|
|
1384
|
-
if (!n &&
|
|
1396
|
+
if (!n && u != null) {
|
|
1385
1397
|
e._isValid = !1;
|
|
1386
1398
|
return;
|
|
1387
1399
|
}
|
|
1388
1400
|
if (a[4])
|
|
1389
1401
|
if (ia.exec(a[4]))
|
|
1390
|
-
|
|
1402
|
+
f = "Z";
|
|
1391
1403
|
else {
|
|
1392
1404
|
e._isValid = !1;
|
|
1393
1405
|
return;
|
|
1394
1406
|
}
|
|
1395
|
-
e._f =
|
|
1407
|
+
e._f = d + (u || "") + (f || ""), Mr(e);
|
|
1396
1408
|
} else
|
|
1397
1409
|
e._isValid = !1;
|
|
1398
1410
|
}
|
|
1399
|
-
function
|
|
1400
|
-
var
|
|
1401
|
-
|
|
1411
|
+
function la(e, r, t, s, a, n) {
|
|
1412
|
+
var d = [
|
|
1413
|
+
ua(e),
|
|
1402
1414
|
Qr.indexOf(r),
|
|
1403
1415
|
parseInt(t, 10),
|
|
1404
1416
|
parseInt(s, 10),
|
|
1405
1417
|
parseInt(a, 10)
|
|
1406
1418
|
];
|
|
1407
|
-
return n &&
|
|
1419
|
+
return n && d.push(parseInt(n, 10)), d;
|
|
1408
1420
|
}
|
|
1409
|
-
function
|
|
1421
|
+
function ua(e) {
|
|
1410
1422
|
var r = parseInt(e, 10);
|
|
1411
1423
|
return r <= 49 ? 2e3 + r : r <= 999 ? 1900 + r : r;
|
|
1412
1424
|
}
|
|
@@ -1421,22 +1433,22 @@ function ca(e, r, t) {
|
|
|
1421
1433
|
r[2]
|
|
1422
1434
|
).getDay();
|
|
1423
1435
|
if (s !== a)
|
|
1424
|
-
return
|
|
1436
|
+
return p(t).weekdayMismatch = !0, t._isValid = !1, !1;
|
|
1425
1437
|
}
|
|
1426
1438
|
return !0;
|
|
1427
1439
|
}
|
|
1428
1440
|
function ha(e, r, t) {
|
|
1429
1441
|
if (e)
|
|
1430
|
-
return
|
|
1442
|
+
return oa[e];
|
|
1431
1443
|
if (r)
|
|
1432
1444
|
return 0;
|
|
1433
1445
|
var s = parseInt(t, 10), a = s % 100, n = (s - a) / 100;
|
|
1434
1446
|
return n * 60 + a;
|
|
1435
1447
|
}
|
|
1436
|
-
function
|
|
1437
|
-
var r =
|
|
1448
|
+
function dt(e) {
|
|
1449
|
+
var r = da.exec(_a(e._i)), t;
|
|
1438
1450
|
if (r) {
|
|
1439
|
-
if (t =
|
|
1451
|
+
if (t = la(
|
|
1440
1452
|
r[4],
|
|
1441
1453
|
r[3],
|
|
1442
1454
|
r[2],
|
|
@@ -1445,11 +1457,11 @@ function ot(e) {
|
|
|
1445
1457
|
r[7]
|
|
1446
1458
|
), !ca(r[1], t, e))
|
|
1447
1459
|
return;
|
|
1448
|
-
e._a = t, e._tzm = ha(r[8], r[9], r[10]), e._d =
|
|
1460
|
+
e._a = t, e._tzm = ha(r[8], r[9], r[10]), e._d = ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), p(e).rfc2822 = !0;
|
|
1449
1461
|
} else
|
|
1450
1462
|
e._isValid = !1;
|
|
1451
1463
|
}
|
|
1452
|
-
function
|
|
1464
|
+
function fa(e) {
|
|
1453
1465
|
var r = na.exec(e._i);
|
|
1454
1466
|
if (r !== null) {
|
|
1455
1467
|
e._d = /* @__PURE__ */ new Date(+r[1]);
|
|
@@ -1459,23 +1471,23 @@ function pa(e) {
|
|
|
1459
1471
|
delete e._isValid;
|
|
1460
1472
|
else
|
|
1461
1473
|
return;
|
|
1462
|
-
if (
|
|
1474
|
+
if (dt(e), e._isValid === !1)
|
|
1463
1475
|
delete e._isValid;
|
|
1464
1476
|
else
|
|
1465
1477
|
return;
|
|
1466
|
-
e._strict ? e._isValid = !1 :
|
|
1478
|
+
e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
|
|
1467
1479
|
}
|
|
1468
|
-
|
|
1480
|
+
l.createFromInputFallback = C(
|
|
1469
1481
|
"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.",
|
|
1470
1482
|
function(e) {
|
|
1471
1483
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1472
1484
|
}
|
|
1473
1485
|
);
|
|
1474
|
-
function
|
|
1486
|
+
function oe(e, r, t) {
|
|
1475
1487
|
return e ?? r ?? t;
|
|
1476
1488
|
}
|
|
1477
|
-
function
|
|
1478
|
-
var r = new Date(
|
|
1489
|
+
function pa(e) {
|
|
1490
|
+
var r = new Date(l.now());
|
|
1479
1491
|
return e._useUTC ? [
|
|
1480
1492
|
r.getUTCFullYear(),
|
|
1481
1493
|
r.getUTCMonth(),
|
|
@@ -1483,69 +1495,69 @@ function fa(e) {
|
|
|
1483
1495
|
] : [r.getFullYear(), r.getMonth(), r.getDate()];
|
|
1484
1496
|
}
|
|
1485
1497
|
function kr(e) {
|
|
1486
|
-
var r, t, s = [], a, n,
|
|
1498
|
+
var r, t, s = [], a, n, d;
|
|
1487
1499
|
if (!e._d) {
|
|
1488
|
-
for (a =
|
|
1500
|
+
for (a = pa(e), e._w && e._a[H] == null && e._a[z] == null && ya(e), e._dayOfYear != null && (d = oe(e._a[O], a[O]), (e._dayOfYear > me(d) || e._dayOfYear === 0) && (p(e)._overflowDayOfYear = !0), t = ge(d, 0, e._dayOfYear), e._a[z] = t.getUTCMonth(), e._a[H] = t.getUTCDate()), r = 0; r < 3 && e._a[r] == null; ++r)
|
|
1489
1501
|
e._a[r] = s[r] = a[r];
|
|
1490
1502
|
for (; r < 7; r++)
|
|
1491
1503
|
e._a[r] = s[r] = e._a[r] == null ? r === 2 ? 1 : 0 : e._a[r];
|
|
1492
|
-
e._a[
|
|
1504
|
+
e._a[D] === 24 && e._a[F] === 0 && e._a[Z] === 0 && e._a[ae] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? ge : xs).apply(
|
|
1493
1505
|
null,
|
|
1494
1506
|
s
|
|
1495
|
-
), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[
|
|
1507
|
+
), 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 && (p(e).weekdayMismatch = !0);
|
|
1496
1508
|
}
|
|
1497
1509
|
}
|
|
1498
|
-
function
|
|
1499
|
-
var r, t, s, a, n,
|
|
1500
|
-
r = e._w, r.GG != null || r.W != null || r.E != null ? (n = 1,
|
|
1510
|
+
function ya(e) {
|
|
1511
|
+
var r, t, s, a, n, d, u, f, b;
|
|
1512
|
+
r = e._w, r.GG != null || r.W != null || r.E != null ? (n = 1, d = 4, t = oe(
|
|
1501
1513
|
r.GG,
|
|
1502
1514
|
e._a[O],
|
|
1503
1515
|
ve(x(), 1, 4).year
|
|
1504
|
-
), s =
|
|
1516
|
+
), s = oe(r.W, 1), a = oe(r.E, 1), (a < 1 || a > 7) && (f = !0)) : (n = e._locale._week.dow, d = e._locale._week.doy, b = ve(x(), n, d), t = oe(r.gg, e._a[O], b.year), s = oe(r.w, b.week), r.d != null ? (a = r.d, (a < 0 || a > 6) && (f = !0)) : r.e != null ? (a = r.e + n, (r.e < 0 || r.e > 6) && (f = !0)) : a = n), s < 1 || s > J(t, n, d) ? p(e)._overflowWeeks = !0 : f != null ? p(e)._overflowWeekday = !0 : (u = rt(t, s, a, n, d), e._a[O] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1505
1517
|
}
|
|
1506
|
-
|
|
1518
|
+
l.ISO_8601 = function() {
|
|
1507
1519
|
};
|
|
1508
|
-
|
|
1520
|
+
l.RFC_2822 = function() {
|
|
1509
1521
|
};
|
|
1510
1522
|
function Mr(e) {
|
|
1511
|
-
if (e._f ===
|
|
1523
|
+
if (e._f === l.ISO_8601) {
|
|
1512
1524
|
nt(e);
|
|
1513
1525
|
return;
|
|
1514
1526
|
}
|
|
1515
|
-
if (e._f ===
|
|
1516
|
-
|
|
1527
|
+
if (e._f === l.RFC_2822) {
|
|
1528
|
+
dt(e);
|
|
1517
1529
|
return;
|
|
1518
1530
|
}
|
|
1519
|
-
e._a = [],
|
|
1520
|
-
var r = "" + e._i, t, s, a, n,
|
|
1531
|
+
e._a = [], p(e).empty = !0;
|
|
1532
|
+
var r = "" + e._i, t, s, a, n, d, u = r.length, f = 0, b, T;
|
|
1521
1533
|
for (a = Gr(e._f, e._locale).match(cr) || [], T = a.length, t = 0; t < T; t++)
|
|
1522
|
-
n = a[t], s = (r.match(ss(n, e)) || [])[0], s && (
|
|
1534
|
+
n = a[t], s = (r.match(ss(n, e)) || [])[0], s && (d = r.substr(0, r.indexOf(s)), d.length > 0 && p(e).unusedInput.push(d), r = r.slice(
|
|
1523
1535
|
r.indexOf(s) + s.length
|
|
1524
|
-
),
|
|
1525
|
-
|
|
1536
|
+
), f += s.length), ue[n] ? (s ? p(e).empty = !1 : p(e).unusedTokens.push(n), is(n, s, e)) : e._strict && !s && p(e).unusedTokens.push(n);
|
|
1537
|
+
p(e).charsLeftOver = u - f, r.length > 0 && p(e).unusedInput.push(r), e._a[D] <= 12 && p(e).bigHour === !0 && e._a[D] > 0 && (p(e).bigHour = void 0), p(e).parsedDateParts = e._a.slice(0), p(e).meridiem = e._meridiem, e._a[D] = ba(
|
|
1526
1538
|
e._locale,
|
|
1527
|
-
e._a[
|
|
1539
|
+
e._a[D],
|
|
1528
1540
|
e._meridiem
|
|
1529
|
-
),
|
|
1541
|
+
), b = p(e).era, b !== null && (e._a[O] = e._locale.erasConvertYear(b, e._a[O])), kr(e), xr(e);
|
|
1530
1542
|
}
|
|
1531
|
-
function
|
|
1543
|
+
function ba(e, r, t) {
|
|
1532
1544
|
var s;
|
|
1533
1545
|
return t == null ? r : e.meridiemHour != null ? e.meridiemHour(r, t) : (e.isPM != null && (s = e.isPM(t), s && r < 12 && (r += 12), !s && r === 12 && (r = 0)), r);
|
|
1534
1546
|
}
|
|
1535
1547
|
function ma(e) {
|
|
1536
|
-
var r, t, s, a, n,
|
|
1537
|
-
if (
|
|
1538
|
-
|
|
1548
|
+
var r, t, s, a, n, d, u = !1, f = e._f.length;
|
|
1549
|
+
if (f === 0) {
|
|
1550
|
+
p(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1539
1551
|
return;
|
|
1540
1552
|
}
|
|
1541
|
-
for (a = 0; a <
|
|
1542
|
-
n = 0,
|
|
1553
|
+
for (a = 0; a < f; a++)
|
|
1554
|
+
n = 0, d = !1, r = ur({}, e), e._useUTC != null && (r._useUTC = e._useUTC), r._f = e._f[a], Mr(r), lr(r) && (d = !0), n += p(r).charsLeftOver, n += p(r).unusedTokens.length * 10, p(r).score = n, u ? n < s && (s = n, t = r) : (s == null || n < s || d) && (s = n, t = r, d && (u = !0));
|
|
1543
1555
|
ee(e, t || r);
|
|
1544
1556
|
}
|
|
1545
|
-
function
|
|
1557
|
+
function wa(e) {
|
|
1546
1558
|
if (!e._d) {
|
|
1547
1559
|
var r = hr(e._i), t = r.day === void 0 ? r.date : r.day;
|
|
1548
|
-
e._a =
|
|
1560
|
+
e._a = Ar(
|
|
1549
1561
|
[r.year, r.month, t, r.hour, r.minute, r.second, r.millisecond],
|
|
1550
1562
|
function(s) {
|
|
1551
1563
|
return s && parseInt(s, 10);
|
|
@@ -1553,43 +1565,43 @@ function ga(e) {
|
|
|
1553
1565
|
), kr(e);
|
|
1554
1566
|
}
|
|
1555
1567
|
}
|
|
1556
|
-
function
|
|
1557
|
-
var r = new Me(xr(
|
|
1568
|
+
function ga(e) {
|
|
1569
|
+
var r = new Me(xr(ot(e)));
|
|
1558
1570
|
return r._nextDay && (r.add(1, "d"), r._nextDay = void 0), r;
|
|
1559
1571
|
}
|
|
1560
|
-
function
|
|
1572
|
+
function ot(e) {
|
|
1561
1573
|
var r = e._i, t = e._f;
|
|
1562
|
-
return e._locale = e._locale || K(e._l), r === null || t === void 0 && r === "" ?
|
|
1574
|
+
return e._locale = e._locale || K(e._l), r === null || t === void 0 && r === "" ? Ee({ nullInput: !0 }) : (typeof r == "string" && (e._i = r = e._locale.preparse(r)), j(r) ? new Me(xr(r)) : (ke(r) ? e._d = r : L(t) ? ma(e) : t ? Mr(e) : va(e), lr(e) || (e._d = null), e));
|
|
1563
1575
|
}
|
|
1564
1576
|
function va(e) {
|
|
1565
1577
|
var r = e._i;
|
|
1566
|
-
|
|
1578
|
+
R(r) ? e._d = new Date(l.now()) : ke(r) ? e._d = new Date(r.valueOf()) : typeof r == "string" ? fa(e) : L(r) ? (e._a = Ar(r.slice(0), function(t) {
|
|
1567
1579
|
return parseInt(t, 10);
|
|
1568
|
-
}), kr(e)) : ie(r) ?
|
|
1580
|
+
}), kr(e)) : ie(r) ? wa(e) : Q(r) ? e._d = new Date(r) : l.createFromInputFallback(e);
|
|
1569
1581
|
}
|
|
1570
|
-
function
|
|
1582
|
+
function lt(e, r, t, s, a) {
|
|
1571
1583
|
var n = {};
|
|
1572
|
-
return (r === !0 || r === !1) && (s = r, r = void 0), (t === !0 || t === !1) && (s = t, t = void 0), (ie(e) &&
|
|
1584
|
+
return (r === !0 || r === !1) && (s = r, r = void 0), (t === !0 || t === !1) && (s = t, t = void 0), (ie(e) && or(e) || L(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = t, n._i = e, n._f = r, n._strict = s, ga(n);
|
|
1573
1585
|
}
|
|
1574
1586
|
function x(e, r, t, s) {
|
|
1575
|
-
return
|
|
1587
|
+
return lt(e, r, t, s, !1);
|
|
1576
1588
|
}
|
|
1577
|
-
var xa =
|
|
1589
|
+
var xa = C(
|
|
1578
1590
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1579
1591
|
function() {
|
|
1580
1592
|
var e = x.apply(null, arguments);
|
|
1581
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1593
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : Ee();
|
|
1582
1594
|
}
|
|
1583
|
-
), ka =
|
|
1595
|
+
), ka = C(
|
|
1584
1596
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1585
1597
|
function() {
|
|
1586
1598
|
var e = x.apply(null, arguments);
|
|
1587
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1599
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : Ee();
|
|
1588
1600
|
}
|
|
1589
1601
|
);
|
|
1590
|
-
function
|
|
1602
|
+
function ut(e, r) {
|
|
1591
1603
|
var t, s;
|
|
1592
|
-
if (r.length === 1 &&
|
|
1604
|
+
if (r.length === 1 && L(r[0]) && (r = r[0]), !r.length)
|
|
1593
1605
|
return x();
|
|
1594
1606
|
for (t = r[0], s = 1; s < r.length; ++s)
|
|
1595
1607
|
(!r[s].isValid() || r[s][e](t)) && (t = r[s]);
|
|
@@ -1597,15 +1609,15 @@ function lt(e, r) {
|
|
|
1597
1609
|
}
|
|
1598
1610
|
function Ma() {
|
|
1599
1611
|
var e = [].slice.call(arguments, 0);
|
|
1600
|
-
return
|
|
1612
|
+
return ut("isBefore", e);
|
|
1601
1613
|
}
|
|
1602
|
-
function
|
|
1614
|
+
function Sa() {
|
|
1603
1615
|
var e = [].slice.call(arguments, 0);
|
|
1604
|
-
return
|
|
1616
|
+
return ut("isAfter", e);
|
|
1605
1617
|
}
|
|
1606
|
-
var
|
|
1618
|
+
var Da = function() {
|
|
1607
1619
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1608
|
-
},
|
|
1620
|
+
}, be = [
|
|
1609
1621
|
"year",
|
|
1610
1622
|
"quarter",
|
|
1611
1623
|
"month",
|
|
@@ -1616,16 +1628,16 @@ var Ya = function() {
|
|
|
1616
1628
|
"second",
|
|
1617
1629
|
"millisecond"
|
|
1618
1630
|
];
|
|
1619
|
-
function
|
|
1620
|
-
var r, t = !1, s, a =
|
|
1631
|
+
function Ya(e) {
|
|
1632
|
+
var r, t = !1, s, a = be.length;
|
|
1621
1633
|
for (r in e)
|
|
1622
|
-
if (
|
|
1634
|
+
if (w(e, r) && !(S.call(be, r) !== -1 && (e[r] == null || !isNaN(e[r]))))
|
|
1623
1635
|
return !1;
|
|
1624
1636
|
for (s = 0; s < a; ++s)
|
|
1625
|
-
if (e[
|
|
1637
|
+
if (e[be[s]]) {
|
|
1626
1638
|
if (t)
|
|
1627
1639
|
return !1;
|
|
1628
|
-
parseFloat(e[
|
|
1640
|
+
parseFloat(e[be[s]]) !== y(e[be[s]]) && (t = !0);
|
|
1629
1641
|
}
|
|
1630
1642
|
return !0;
|
|
1631
1643
|
}
|
|
@@ -1633,30 +1645,30 @@ function Oa() {
|
|
|
1633
1645
|
return this._isValid;
|
|
1634
1646
|
}
|
|
1635
1647
|
function Ta() {
|
|
1636
|
-
return
|
|
1648
|
+
return E(NaN);
|
|
1637
1649
|
}
|
|
1638
1650
|
function ze(e) {
|
|
1639
|
-
var r = hr(e), t = r.year || 0, s = r.quarter || 0, a = r.month || 0, n = r.week || r.isoWeek || 0,
|
|
1640
|
-
this._isValid =
|
|
1641
|
-
|
|
1642
|
-
|
|
1651
|
+
var r = hr(e), t = r.year || 0, s = r.quarter || 0, a = r.month || 0, n = r.week || r.isoWeek || 0, d = r.day || 0, u = r.hour || 0, f = r.minute || 0, b = r.second || 0, T = r.millisecond || 0;
|
|
1652
|
+
this._isValid = Ya(r), this._milliseconds = +T + b * 1e3 + // 1000
|
|
1653
|
+
f * 6e4 + // 1000 * 60
|
|
1654
|
+
u * 1e3 * 60 * 60, this._days = +d + n * 7, this._months = +a + s * 3 + t * 12, this._data = {}, this._locale = K(), this._bubble();
|
|
1643
1655
|
}
|
|
1644
|
-
function
|
|
1656
|
+
function Pe(e) {
|
|
1645
1657
|
return e instanceof ze;
|
|
1646
1658
|
}
|
|
1647
1659
|
function ir(e) {
|
|
1648
1660
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1649
1661
|
}
|
|
1650
|
-
function
|
|
1651
|
-
var s = Math.min(e.length, r.length), a = Math.abs(e.length - r.length), n = 0,
|
|
1652
|
-
for (
|
|
1653
|
-
|
|
1662
|
+
function Ra(e, r, t) {
|
|
1663
|
+
var s = Math.min(e.length, r.length), a = Math.abs(e.length - r.length), n = 0, d;
|
|
1664
|
+
for (d = 0; d < s; d++)
|
|
1665
|
+
y(e[d]) !== y(r[d]) && n++;
|
|
1654
1666
|
return n + a;
|
|
1655
1667
|
}
|
|
1656
1668
|
function _t(e, r) {
|
|
1657
1669
|
h(e, 0, 0, function() {
|
|
1658
1670
|
var t = this.utcOffset(), s = "+";
|
|
1659
|
-
return t < 0 && (t = -t, s = "-"), s +
|
|
1671
|
+
return t < 0 && (t = -t, s = "-"), s + A(~~(t / 60), 2) + r + A(~~t % 60, 2);
|
|
1660
1672
|
});
|
|
1661
1673
|
}
|
|
1662
1674
|
_t("Z", ":");
|
|
@@ -1664,93 +1676,93 @@ _t("ZZ", "");
|
|
|
1664
1676
|
c("Z", Ge);
|
|
1665
1677
|
c("ZZ", Ge);
|
|
1666
1678
|
v(["Z", "ZZ"], function(e, r, t) {
|
|
1667
|
-
t._useUTC = !0, t._tzm =
|
|
1679
|
+
t._useUTC = !0, t._tzm = Sr(Ge, e);
|
|
1668
1680
|
});
|
|
1669
|
-
var
|
|
1670
|
-
function
|
|
1681
|
+
var Pa = /([\+\-]|\d\d)/gi;
|
|
1682
|
+
function Sr(e, r) {
|
|
1671
1683
|
var t = (r || "").match(e), s, a, n;
|
|
1672
|
-
return t === null ? null : (s = t[t.length - 1] || [], a = (s + "").match(
|
|
1684
|
+
return t === null ? null : (s = t[t.length - 1] || [], a = (s + "").match(Pa) || ["-", 0, 0], n = +(a[1] * 60) + y(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
|
|
1673
1685
|
}
|
|
1674
|
-
function
|
|
1686
|
+
function Dr(e, r) {
|
|
1675
1687
|
var t, s;
|
|
1676
|
-
return r._isUTC ? (t = r.clone(), s = (
|
|
1688
|
+
return r._isUTC ? (t = r.clone(), s = (j(e) || ke(e) ? e.valueOf() : x(e).valueOf()) - t.valueOf(), t._d.setTime(t._d.valueOf() + s), l.updateOffset(t, !1), t) : x(e).local();
|
|
1677
1689
|
}
|
|
1678
1690
|
function nr(e) {
|
|
1679
1691
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1680
1692
|
}
|
|
1681
|
-
|
|
1693
|
+
l.updateOffset = function() {
|
|
1682
1694
|
};
|
|
1683
|
-
function
|
|
1695
|
+
function Na(e, r, t) {
|
|
1684
1696
|
var s = this._offset || 0, a;
|
|
1685
1697
|
if (!this.isValid())
|
|
1686
1698
|
return e != null ? this : NaN;
|
|
1687
1699
|
if (e != null) {
|
|
1688
1700
|
if (typeof e == "string") {
|
|
1689
|
-
if (e =
|
|
1701
|
+
if (e = Sr(Ge, e), e === null)
|
|
1690
1702
|
return this;
|
|
1691
1703
|
} else Math.abs(e) < 16 && !t && (e = e * 60);
|
|
1692
|
-
return !this._isUTC && r && (a = nr(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!r || this._changeInProgress ?
|
|
1704
|
+
return !this._isUTC && r && (a = nr(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!r || this._changeInProgress ? ft(
|
|
1693
1705
|
this,
|
|
1694
|
-
|
|
1706
|
+
E(e - s, "m"),
|
|
1695
1707
|
1,
|
|
1696
1708
|
!1
|
|
1697
|
-
) : this._changeInProgress || (this._changeInProgress = !0,
|
|
1709
|
+
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1698
1710
|
} else
|
|
1699
1711
|
return this._isUTC ? s : nr(this);
|
|
1700
1712
|
}
|
|
1701
|
-
function
|
|
1713
|
+
function Ca(e, r) {
|
|
1702
1714
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, r), this) : -this.utcOffset();
|
|
1703
1715
|
}
|
|
1704
|
-
function
|
|
1716
|
+
function Wa(e) {
|
|
1705
1717
|
return this.utcOffset(0, e);
|
|
1706
1718
|
}
|
|
1707
|
-
function
|
|
1719
|
+
function Fa(e) {
|
|
1708
1720
|
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(nr(this), "m")), this;
|
|
1709
1721
|
}
|
|
1710
|
-
function
|
|
1722
|
+
function La() {
|
|
1711
1723
|
if (this._tzm != null)
|
|
1712
1724
|
this.utcOffset(this._tzm, !1, !0);
|
|
1713
1725
|
else if (typeof this._i == "string") {
|
|
1714
|
-
var e =
|
|
1726
|
+
var e = Sr(rs, this._i);
|
|
1715
1727
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1716
1728
|
}
|
|
1717
1729
|
return this;
|
|
1718
1730
|
}
|
|
1719
|
-
function
|
|
1731
|
+
function ja(e) {
|
|
1720
1732
|
return this.isValid() ? (e = e ? x(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1721
1733
|
}
|
|
1722
|
-
function
|
|
1734
|
+
function Ea() {
|
|
1723
1735
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1724
1736
|
}
|
|
1725
|
-
function
|
|
1726
|
-
if (!
|
|
1737
|
+
function Ha() {
|
|
1738
|
+
if (!R(this._isDSTShifted))
|
|
1727
1739
|
return this._isDSTShifted;
|
|
1728
1740
|
var e = {}, r;
|
|
1729
|
-
return
|
|
1741
|
+
return ur(e, this), e = ot(e), e._a ? (r = e._isUTC ? q(e._a) : x(e._a), this._isDSTShifted = this.isValid() && Ra(e._a, r.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1730
1742
|
}
|
|
1731
|
-
function
|
|
1743
|
+
function Aa() {
|
|
1732
1744
|
return this.isValid() ? !this._isUTC : !1;
|
|
1733
1745
|
}
|
|
1734
|
-
function
|
|
1746
|
+
function qa() {
|
|
1735
1747
|
return this.isValid() ? this._isUTC : !1;
|
|
1736
1748
|
}
|
|
1737
1749
|
function ct() {
|
|
1738
1750
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1739
1751
|
}
|
|
1740
|
-
var
|
|
1741
|
-
function
|
|
1742
|
-
var t = e, s = null, a, n,
|
|
1743
|
-
return
|
|
1752
|
+
var Ua = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Ga = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1753
|
+
function E(e, r) {
|
|
1754
|
+
var t = e, s = null, a, n, d;
|
|
1755
|
+
return Pe(e) ? t = {
|
|
1744
1756
|
ms: e._milliseconds,
|
|
1745
1757
|
d: e._days,
|
|
1746
1758
|
M: e._months
|
|
1747
|
-
} : Q(e) || !isNaN(+e) ? (t = {}, r ? t[r] = +e : t.milliseconds = +e) : (s =
|
|
1759
|
+
} : Q(e) || !isNaN(+e) ? (t = {}, r ? t[r] = +e : t.milliseconds = +e) : (s = Ua.exec(e)) ? (a = s[1] === "-" ? -1 : 1, t = {
|
|
1748
1760
|
y: 0,
|
|
1749
|
-
d:
|
|
1750
|
-
h:
|
|
1751
|
-
m:
|
|
1752
|
-
s:
|
|
1753
|
-
ms:
|
|
1761
|
+
d: y(s[H]) * a,
|
|
1762
|
+
h: y(s[D]) * a,
|
|
1763
|
+
m: y(s[F]) * a,
|
|
1764
|
+
s: y(s[Z]) * a,
|
|
1765
|
+
ms: y(ir(s[ae] * 1e3)) * a
|
|
1754
1766
|
// the millisecond decimal point is included in the match
|
|
1755
1767
|
}) : (s = Ga.exec(e)) ? (a = s[1] === "-" ? -1 : 1, t = {
|
|
1756
1768
|
y: se(s[2], a),
|
|
@@ -1760,47 +1772,47 @@ function L(e, r) {
|
|
|
1760
1772
|
h: se(s[6], a),
|
|
1761
1773
|
m: se(s[7], a),
|
|
1762
1774
|
s: se(s[8], a)
|
|
1763
|
-
}) : t == null ? t = {} : typeof t == "object" && ("from" in t || "to" in t) && (
|
|
1775
|
+
}) : t == null ? t = {} : typeof t == "object" && ("from" in t || "to" in t) && (d = Va(
|
|
1764
1776
|
x(t.from),
|
|
1765
1777
|
x(t.to)
|
|
1766
|
-
), t = {}, t.ms =
|
|
1778
|
+
), t = {}, t.ms = d.milliseconds, t.M = d.months), n = new ze(t), Pe(e) && w(e, "_locale") && (n._locale = e._locale), Pe(e) && w(e, "_isValid") && (n._isValid = e._isValid), n;
|
|
1767
1779
|
}
|
|
1768
|
-
|
|
1769
|
-
|
|
1780
|
+
E.fn = ze.prototype;
|
|
1781
|
+
E.invalid = Ta;
|
|
1770
1782
|
function se(e, r) {
|
|
1771
1783
|
var t = e && parseFloat(e.replace(",", "."));
|
|
1772
1784
|
return (isNaN(t) ? 0 : t) * r;
|
|
1773
1785
|
}
|
|
1774
|
-
function
|
|
1786
|
+
function Wr(e, r) {
|
|
1775
1787
|
var t = {};
|
|
1776
1788
|
return t.months = r.month() - e.month() + (r.year() - e.year()) * 12, e.clone().add(t.months, "M").isAfter(r) && --t.months, t.milliseconds = +r - +e.clone().add(t.months, "M"), t;
|
|
1777
1789
|
}
|
|
1778
1790
|
function Va(e, r) {
|
|
1779
1791
|
var t;
|
|
1780
|
-
return e.isValid() && r.isValid() ? (r =
|
|
1792
|
+
return e.isValid() && r.isValid() ? (r = Dr(r, e), e.isBefore(r) ? t = Wr(e, r) : (t = Wr(r, e), t.milliseconds = -t.milliseconds, t.months = -t.months), t) : { milliseconds: 0, months: 0 };
|
|
1781
1793
|
}
|
|
1782
1794
|
function ht(e, r) {
|
|
1783
1795
|
return function(t, s) {
|
|
1784
1796
|
var a, n;
|
|
1785
|
-
return s !== null && !isNaN(+s) && (
|
|
1797
|
+
return s !== null && !isNaN(+s) && (Ur(
|
|
1786
1798
|
r,
|
|
1787
1799
|
"moment()." + r + "(period, number) is deprecated. Please use moment()." + r + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1788
|
-
), n = t, t = s, s = n), a =
|
|
1800
|
+
), n = t, t = s, s = n), a = E(t, s), ft(this, a, e), this;
|
|
1789
1801
|
};
|
|
1790
1802
|
}
|
|
1791
|
-
function
|
|
1792
|
-
var a = r._milliseconds, n = ir(r._days),
|
|
1793
|
-
e.isValid() && (s = s ?? !0,
|
|
1803
|
+
function ft(e, r, t, s) {
|
|
1804
|
+
var a = r._milliseconds, n = ir(r._days), d = ir(r._months);
|
|
1805
|
+
e.isValid() && (s = s ?? !0, d && Xr(e, we(e, "Month") + d * t), n && Jr(e, "Date", we(e, "Date") + n * t), a && e._d.setTime(e._d.valueOf() + a * t), s && l.updateOffset(e, n || d));
|
|
1794
1806
|
}
|
|
1795
1807
|
var $a = ht(1, "add"), za = ht(-1, "subtract");
|
|
1796
|
-
function
|
|
1808
|
+
function pt(e) {
|
|
1797
1809
|
return typeof e == "string" || e instanceof String;
|
|
1798
1810
|
}
|
|
1799
1811
|
function Za(e) {
|
|
1800
|
-
return
|
|
1812
|
+
return j(e) || ke(e) || pt(e) || Q(e) || Ja(e) || Ba(e) || e === null || e === void 0;
|
|
1801
1813
|
}
|
|
1802
1814
|
function Ba(e) {
|
|
1803
|
-
var r = ie(e) && !
|
|
1815
|
+
var r = ie(e) && !or(e), t = !1, s = [
|
|
1804
1816
|
"years",
|
|
1805
1817
|
"year",
|
|
1806
1818
|
"y",
|
|
@@ -1825,19 +1837,19 @@ function Ba(e) {
|
|
|
1825
1837
|
"milliseconds",
|
|
1826
1838
|
"millisecond",
|
|
1827
1839
|
"ms"
|
|
1828
|
-
], a, n,
|
|
1829
|
-
for (a = 0; a <
|
|
1830
|
-
n = s[a], t = t ||
|
|
1840
|
+
], a, n, d = s.length;
|
|
1841
|
+
for (a = 0; a < d; a += 1)
|
|
1842
|
+
n = s[a], t = t || w(e, n);
|
|
1831
1843
|
return r && t;
|
|
1832
1844
|
}
|
|
1833
1845
|
function Ja(e) {
|
|
1834
|
-
var r =
|
|
1846
|
+
var r = L(e), t = !1;
|
|
1835
1847
|
return r && (t = e.filter(function(s) {
|
|
1836
|
-
return !Q(s) &&
|
|
1848
|
+
return !Q(s) && pt(e);
|
|
1837
1849
|
}).length === 0), r && t;
|
|
1838
1850
|
}
|
|
1839
1851
|
function Qa(e) {
|
|
1840
|
-
var r = ie(e) && !
|
|
1852
|
+
var r = ie(e) && !or(e), t = !1, s = [
|
|
1841
1853
|
"sameDay",
|
|
1842
1854
|
"nextDay",
|
|
1843
1855
|
"lastDay",
|
|
@@ -1846,7 +1858,7 @@ function Qa(e) {
|
|
|
1846
1858
|
"sameElse"
|
|
1847
1859
|
], a, n;
|
|
1848
1860
|
for (a = 0; a < s.length; a += 1)
|
|
1849
|
-
n = s[a], t = t ||
|
|
1861
|
+
n = s[a], t = t || w(e, n);
|
|
1850
1862
|
return r && t;
|
|
1851
1863
|
}
|
|
1852
1864
|
function Ka(e, r) {
|
|
@@ -1855,7 +1867,7 @@ function Ka(e, r) {
|
|
|
1855
1867
|
}
|
|
1856
1868
|
function Xa(e, r) {
|
|
1857
1869
|
arguments.length === 1 && (arguments[0] ? Za(arguments[0]) ? (e = arguments[0], r = void 0) : Qa(arguments[0]) && (r = arguments[0], e = void 0) : (e = void 0, r = void 0));
|
|
1858
|
-
var t = e || x(), s =
|
|
1870
|
+
var t = e || x(), s = Dr(t, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", n = r && (U(r[a]) ? r[a].call(this, t) : r[a]);
|
|
1859
1871
|
return this.format(
|
|
1860
1872
|
n || this.localeData().calendar(a, this, x(t))
|
|
1861
1873
|
);
|
|
@@ -1864,20 +1876,20 @@ function Ia() {
|
|
|
1864
1876
|
return new Me(this);
|
|
1865
1877
|
}
|
|
1866
1878
|
function ei(e, r) {
|
|
1867
|
-
var t =
|
|
1868
|
-
return this.isValid() && t.isValid() ? (r =
|
|
1879
|
+
var t = j(e) ? e : x(e);
|
|
1880
|
+
return this.isValid() && t.isValid() ? (r = W(r) || "millisecond", r === "millisecond" ? this.valueOf() > t.valueOf() : t.valueOf() < this.clone().startOf(r).valueOf()) : !1;
|
|
1869
1881
|
}
|
|
1870
1882
|
function ri(e, r) {
|
|
1871
|
-
var t =
|
|
1872
|
-
return this.isValid() && t.isValid() ? (r =
|
|
1883
|
+
var t = j(e) ? e : x(e);
|
|
1884
|
+
return this.isValid() && t.isValid() ? (r = W(r) || "millisecond", r === "millisecond" ? this.valueOf() < t.valueOf() : this.clone().endOf(r).valueOf() < t.valueOf()) : !1;
|
|
1873
1885
|
}
|
|
1874
1886
|
function ti(e, r, t, s) {
|
|
1875
|
-
var a =
|
|
1887
|
+
var a = j(e) ? e : x(e), n = j(r) ? r : x(r);
|
|
1876
1888
|
return this.isValid() && a.isValid() && n.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, t) : !this.isBefore(a, t)) && (s[1] === ")" ? this.isBefore(n, t) : !this.isAfter(n, t))) : !1;
|
|
1877
1889
|
}
|
|
1878
1890
|
function si(e, r) {
|
|
1879
|
-
var t =
|
|
1880
|
-
return this.isValid() && t.isValid() ? (r =
|
|
1891
|
+
var t = j(e) ? e : x(e), s;
|
|
1892
|
+
return this.isValid() && t.isValid() ? (r = W(r) || "millisecond", r === "millisecond" ? this.valueOf() === t.valueOf() : (s = t.valueOf(), this.clone().startOf(r).valueOf() <= s && s <= this.clone().endOf(r).valueOf())) : !1;
|
|
1881
1893
|
}
|
|
1882
1894
|
function ai(e, r) {
|
|
1883
1895
|
return this.isSame(e, r) || this.isAfter(e, r);
|
|
@@ -1889,17 +1901,17 @@ function ni(e, r, t) {
|
|
|
1889
1901
|
var s, a, n;
|
|
1890
1902
|
if (!this.isValid())
|
|
1891
1903
|
return NaN;
|
|
1892
|
-
if (s =
|
|
1904
|
+
if (s = Dr(e, this), !s.isValid())
|
|
1893
1905
|
return NaN;
|
|
1894
|
-
switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, r =
|
|
1906
|
+
switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, r = W(r), r) {
|
|
1895
1907
|
case "year":
|
|
1896
|
-
n =
|
|
1908
|
+
n = Ne(this, s) / 12;
|
|
1897
1909
|
break;
|
|
1898
1910
|
case "month":
|
|
1899
|
-
n =
|
|
1911
|
+
n = Ne(this, s);
|
|
1900
1912
|
break;
|
|
1901
1913
|
case "quarter":
|
|
1902
|
-
n =
|
|
1914
|
+
n = Ne(this, s) / 3;
|
|
1903
1915
|
break;
|
|
1904
1916
|
case "second":
|
|
1905
1917
|
n = (this - s) / 1e3;
|
|
@@ -1919,59 +1931,59 @@ function ni(e, r, t) {
|
|
|
1919
1931
|
default:
|
|
1920
1932
|
n = this - s;
|
|
1921
1933
|
}
|
|
1922
|
-
return t ? n :
|
|
1934
|
+
return t ? n : N(n);
|
|
1923
1935
|
}
|
|
1924
|
-
function
|
|
1936
|
+
function Ne(e, r) {
|
|
1925
1937
|
if (e.date() < r.date())
|
|
1926
|
-
return -
|
|
1938
|
+
return -Ne(r, e);
|
|
1927
1939
|
var t = (r.year() - e.year()) * 12 + (r.month() - e.month()), s = e.clone().add(t, "months"), a, n;
|
|
1928
1940
|
return r - s < 0 ? (a = e.clone().add(t - 1, "months"), n = (r - s) / (s - a)) : (a = e.clone().add(t + 1, "months"), n = (r - s) / (a - s)), -(t + n) || 0;
|
|
1929
1941
|
}
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
function
|
|
1942
|
+
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1943
|
+
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1944
|
+
function di() {
|
|
1933
1945
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1934
1946
|
}
|
|
1935
|
-
function
|
|
1947
|
+
function oi(e) {
|
|
1936
1948
|
if (!this.isValid())
|
|
1937
1949
|
return null;
|
|
1938
1950
|
var r = e !== !0, t = r ? this.clone().utc() : this;
|
|
1939
|
-
return t.year() < 0 || t.year() > 9999 ?
|
|
1951
|
+
return t.year() < 0 || t.year() > 9999 ? Re(
|
|
1940
1952
|
t,
|
|
1941
1953
|
r ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1942
|
-
) :
|
|
1954
|
+
) : U(Date.prototype.toISOString) ? r ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Re(t, "Z")) : Re(
|
|
1943
1955
|
t,
|
|
1944
1956
|
r ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1945
1957
|
);
|
|
1946
1958
|
}
|
|
1947
|
-
function
|
|
1959
|
+
function li() {
|
|
1948
1960
|
if (!this.isValid())
|
|
1949
1961
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1950
1962
|
var e = "moment", r = "", t, s, a, n;
|
|
1951
1963
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", r = "Z"), t = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", n = r + '[")]', this.format(t + s + a + n);
|
|
1952
1964
|
}
|
|
1953
|
-
function
|
|
1954
|
-
e || (e = this.isUtc() ?
|
|
1955
|
-
var r =
|
|
1965
|
+
function ui(e) {
|
|
1966
|
+
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1967
|
+
var r = Re(this, e);
|
|
1956
1968
|
return this.localeData().postformat(r);
|
|
1957
1969
|
}
|
|
1958
1970
|
function _i(e, r) {
|
|
1959
|
-
return this.isValid() && (
|
|
1971
|
+
return this.isValid() && (j(e) && e.isValid() || x(e).isValid()) ? E({ to: this, from: e }).locale(this.locale()).humanize(!r) : this.localeData().invalidDate();
|
|
1960
1972
|
}
|
|
1961
1973
|
function ci(e) {
|
|
1962
1974
|
return this.from(x(), e);
|
|
1963
1975
|
}
|
|
1964
1976
|
function hi(e, r) {
|
|
1965
|
-
return this.isValid() && (
|
|
1977
|
+
return this.isValid() && (j(e) && e.isValid() || x(e).isValid()) ? E({ from: this, to: e }).locale(this.locale()).humanize(!r) : this.localeData().invalidDate();
|
|
1966
1978
|
}
|
|
1967
|
-
function
|
|
1979
|
+
function fi(e) {
|
|
1968
1980
|
return this.to(x(), e);
|
|
1969
1981
|
}
|
|
1970
|
-
function
|
|
1982
|
+
function yt(e) {
|
|
1971
1983
|
var r;
|
|
1972
1984
|
return e === void 0 ? this._locale._abbr : (r = K(e), r != null && (this._locale = r), this);
|
|
1973
1985
|
}
|
|
1974
|
-
var
|
|
1986
|
+
var bt = C(
|
|
1975
1987
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1976
1988
|
function(e) {
|
|
1977
1989
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
@@ -1980,21 +1992,21 @@ var yt = P(
|
|
|
1980
1992
|
function mt() {
|
|
1981
1993
|
return this._locale;
|
|
1982
1994
|
}
|
|
1983
|
-
var
|
|
1995
|
+
var Fe = 1e3, _e = 60 * Fe, Le = 60 * _e, wt = (365 * 400 + 97) * 24 * Le;
|
|
1984
1996
|
function ce(e, r) {
|
|
1985
1997
|
return (e % r + r) % r;
|
|
1986
1998
|
}
|
|
1987
|
-
function
|
|
1988
|
-
return e < 100 && e >= 0 ? new Date(e + 400, r, t) -
|
|
1999
|
+
function gt(e, r, t) {
|
|
2000
|
+
return e < 100 && e >= 0 ? new Date(e + 400, r, t) - wt : new Date(e, r, t).valueOf();
|
|
1989
2001
|
}
|
|
1990
2002
|
function vt(e, r, t) {
|
|
1991
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, r, t) -
|
|
2003
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, r, t) - wt : Date.UTC(e, r, t);
|
|
1992
2004
|
}
|
|
1993
|
-
function
|
|
2005
|
+
function pi(e) {
|
|
1994
2006
|
var r, t;
|
|
1995
|
-
if (e =
|
|
2007
|
+
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1996
2008
|
return this;
|
|
1997
|
-
switch (t = this._isUTC ? vt :
|
|
2009
|
+
switch (t = this._isUTC ? vt : gt, e) {
|
|
1998
2010
|
case "year":
|
|
1999
2011
|
r = t(this.year(), 0, 1);
|
|
2000
2012
|
break;
|
|
@@ -2029,23 +2041,23 @@ function fi(e) {
|
|
|
2029
2041
|
case "hour":
|
|
2030
2042
|
r = this._d.valueOf(), r -= ce(
|
|
2031
2043
|
r + (this._isUTC ? 0 : this.utcOffset() * _e),
|
|
2032
|
-
|
|
2044
|
+
Le
|
|
2033
2045
|
);
|
|
2034
2046
|
break;
|
|
2035
2047
|
case "minute":
|
|
2036
2048
|
r = this._d.valueOf(), r -= ce(r, _e);
|
|
2037
2049
|
break;
|
|
2038
2050
|
case "second":
|
|
2039
|
-
r = this._d.valueOf(), r -= ce(r,
|
|
2051
|
+
r = this._d.valueOf(), r -= ce(r, Fe);
|
|
2040
2052
|
break;
|
|
2041
2053
|
}
|
|
2042
|
-
return this._d.setTime(r),
|
|
2054
|
+
return this._d.setTime(r), l.updateOffset(this, !0), this;
|
|
2043
2055
|
}
|
|
2044
|
-
function
|
|
2056
|
+
function yi(e) {
|
|
2045
2057
|
var r, t;
|
|
2046
|
-
if (e =
|
|
2058
|
+
if (e = W(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
2047
2059
|
return this;
|
|
2048
|
-
switch (t = this._isUTC ? vt :
|
|
2060
|
+
switch (t = this._isUTC ? vt : gt, e) {
|
|
2049
2061
|
case "year":
|
|
2050
2062
|
r = t(this.year() + 1, 0, 1) - 1;
|
|
2051
2063
|
break;
|
|
@@ -2078,30 +2090,30 @@ function bi(e) {
|
|
|
2078
2090
|
r = t(this.year(), this.month(), this.date() + 1) - 1;
|
|
2079
2091
|
break;
|
|
2080
2092
|
case "hour":
|
|
2081
|
-
r = this._d.valueOf(), r +=
|
|
2093
|
+
r = this._d.valueOf(), r += Le - ce(
|
|
2082
2094
|
r + (this._isUTC ? 0 : this.utcOffset() * _e),
|
|
2083
|
-
|
|
2095
|
+
Le
|
|
2084
2096
|
) - 1;
|
|
2085
2097
|
break;
|
|
2086
2098
|
case "minute":
|
|
2087
2099
|
r = this._d.valueOf(), r += _e - ce(r, _e) - 1;
|
|
2088
2100
|
break;
|
|
2089
2101
|
case "second":
|
|
2090
|
-
r = this._d.valueOf(), r +=
|
|
2102
|
+
r = this._d.valueOf(), r += Fe - ce(r, Fe) - 1;
|
|
2091
2103
|
break;
|
|
2092
2104
|
}
|
|
2093
|
-
return this._d.setTime(r),
|
|
2105
|
+
return this._d.setTime(r), l.updateOffset(this, !0), this;
|
|
2094
2106
|
}
|
|
2095
|
-
function
|
|
2107
|
+
function bi() {
|
|
2096
2108
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
2097
2109
|
}
|
|
2098
2110
|
function mi() {
|
|
2099
2111
|
return Math.floor(this.valueOf() / 1e3);
|
|
2100
2112
|
}
|
|
2101
|
-
function
|
|
2113
|
+
function wi() {
|
|
2102
2114
|
return new Date(this.valueOf());
|
|
2103
2115
|
}
|
|
2104
|
-
function
|
|
2116
|
+
function gi() {
|
|
2105
2117
|
var e = this;
|
|
2106
2118
|
return [
|
|
2107
2119
|
e.year(),
|
|
@@ -2129,15 +2141,15 @@ function xi() {
|
|
|
2129
2141
|
return this.isValid() ? this.toISOString() : null;
|
|
2130
2142
|
}
|
|
2131
2143
|
function ki() {
|
|
2132
|
-
return
|
|
2144
|
+
return lr(this);
|
|
2133
2145
|
}
|
|
2134
2146
|
function Mi() {
|
|
2135
|
-
return ee({},
|
|
2147
|
+
return ee({}, p(this));
|
|
2136
2148
|
}
|
|
2137
|
-
function
|
|
2138
|
-
return
|
|
2149
|
+
function Si() {
|
|
2150
|
+
return p(this).overflow;
|
|
2139
2151
|
}
|
|
2140
|
-
function
|
|
2152
|
+
function Di() {
|
|
2141
2153
|
return {
|
|
2142
2154
|
input: this._i,
|
|
2143
2155
|
format: this._f,
|
|
@@ -2155,34 +2167,34 @@ h("y", ["y", 1], "yo", "eraYear");
|
|
|
2155
2167
|
h("y", ["yy", 2], 0, "eraYear");
|
|
2156
2168
|
h("y", ["yyy", 3], 0, "eraYear");
|
|
2157
2169
|
h("y", ["yyyy", 4], 0, "eraYear");
|
|
2158
|
-
c("N",
|
|
2159
|
-
c("NN",
|
|
2160
|
-
c("NNN",
|
|
2161
|
-
c("NNNN",
|
|
2162
|
-
c("NNNNN",
|
|
2170
|
+
c("N", Yr);
|
|
2171
|
+
c("NN", Yr);
|
|
2172
|
+
c("NNN", Yr);
|
|
2173
|
+
c("NNNN", ji);
|
|
2174
|
+
c("NNNNN", Ei);
|
|
2163
2175
|
v(
|
|
2164
2176
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2165
2177
|
function(e, r, t, s) {
|
|
2166
2178
|
var a = t._locale.erasParse(e, s, t._strict);
|
|
2167
|
-
a ?
|
|
2179
|
+
a ? p(t).era = a : p(t).invalidEra = e;
|
|
2168
2180
|
}
|
|
2169
2181
|
);
|
|
2170
2182
|
c("y", he);
|
|
2171
2183
|
c("yy", he);
|
|
2172
2184
|
c("yyy", he);
|
|
2173
2185
|
c("yyyy", he);
|
|
2174
|
-
c("yo",
|
|
2186
|
+
c("yo", Hi);
|
|
2175
2187
|
v(["y", "yy", "yyy", "yyyy"], O);
|
|
2176
2188
|
v(["yo"], function(e, r, t, s) {
|
|
2177
2189
|
var a;
|
|
2178
2190
|
t._locale._eraYearOrdinalRegex && (a = e.match(t._locale._eraYearOrdinalRegex)), t._locale.eraYearOrdinalParse ? r[O] = t._locale.eraYearOrdinalParse(e, a) : r[O] = parseInt(e, 10);
|
|
2179
2191
|
});
|
|
2180
|
-
function
|
|
2192
|
+
function Yi(e, r) {
|
|
2181
2193
|
var t, s, a, n = this._eras || K("en")._eras;
|
|
2182
2194
|
for (t = 0, s = n.length; t < s; ++t) {
|
|
2183
2195
|
switch (typeof n[t].since) {
|
|
2184
2196
|
case "string":
|
|
2185
|
-
a =
|
|
2197
|
+
a = l(n[t].since).startOf("day"), n[t].since = a.valueOf();
|
|
2186
2198
|
break;
|
|
2187
2199
|
}
|
|
2188
2200
|
switch (typeof n[t].until) {
|
|
@@ -2190,92 +2202,92 @@ function Si(e, r) {
|
|
|
2190
2202
|
n[t].until = 1 / 0;
|
|
2191
2203
|
break;
|
|
2192
2204
|
case "string":
|
|
2193
|
-
a =
|
|
2205
|
+
a = l(n[t].until).startOf("day").valueOf(), n[t].until = a.valueOf();
|
|
2194
2206
|
break;
|
|
2195
2207
|
}
|
|
2196
2208
|
}
|
|
2197
2209
|
return n;
|
|
2198
2210
|
}
|
|
2199
2211
|
function Oi(e, r, t) {
|
|
2200
|
-
var s, a, n = this.eras(),
|
|
2212
|
+
var s, a, n = this.eras(), d, u, f;
|
|
2201
2213
|
for (e = e.toUpperCase(), s = 0, a = n.length; s < a; ++s)
|
|
2202
|
-
if (
|
|
2214
|
+
if (d = n[s].name.toUpperCase(), u = n[s].abbr.toUpperCase(), f = n[s].narrow.toUpperCase(), t)
|
|
2203
2215
|
switch (r) {
|
|
2204
2216
|
case "N":
|
|
2205
2217
|
case "NN":
|
|
2206
2218
|
case "NNN":
|
|
2207
|
-
if (
|
|
2219
|
+
if (u === e)
|
|
2208
2220
|
return n[s];
|
|
2209
2221
|
break;
|
|
2210
2222
|
case "NNNN":
|
|
2211
|
-
if (
|
|
2223
|
+
if (d === e)
|
|
2212
2224
|
return n[s];
|
|
2213
2225
|
break;
|
|
2214
2226
|
case "NNNNN":
|
|
2215
|
-
if (
|
|
2227
|
+
if (f === e)
|
|
2216
2228
|
return n[s];
|
|
2217
2229
|
break;
|
|
2218
2230
|
}
|
|
2219
|
-
else if ([
|
|
2231
|
+
else if ([d, u, f].indexOf(e) >= 0)
|
|
2220
2232
|
return n[s];
|
|
2221
2233
|
}
|
|
2222
2234
|
function Ti(e, r) {
|
|
2223
2235
|
var t = e.since <= e.until ? 1 : -1;
|
|
2224
|
-
return r === void 0 ?
|
|
2236
|
+
return r === void 0 ? l(e.since).year() : l(e.since).year() + (r - e.offset) * t;
|
|
2225
2237
|
}
|
|
2226
|
-
function
|
|
2238
|
+
function Ri() {
|
|
2227
2239
|
var e, r, t, s = this.localeData().eras();
|
|
2228
2240
|
for (e = 0, r = s.length; e < r; ++e)
|
|
2229
2241
|
if (t = this.clone().startOf("day").valueOf(), s[e].since <= t && t <= s[e].until || s[e].until <= t && t <= s[e].since)
|
|
2230
2242
|
return s[e].name;
|
|
2231
2243
|
return "";
|
|
2232
2244
|
}
|
|
2233
|
-
function
|
|
2245
|
+
function Pi() {
|
|
2234
2246
|
var e, r, t, s = this.localeData().eras();
|
|
2235
2247
|
for (e = 0, r = s.length; e < r; ++e)
|
|
2236
2248
|
if (t = this.clone().startOf("day").valueOf(), s[e].since <= t && t <= s[e].until || s[e].until <= t && t <= s[e].since)
|
|
2237
2249
|
return s[e].narrow;
|
|
2238
2250
|
return "";
|
|
2239
2251
|
}
|
|
2240
|
-
function
|
|
2252
|
+
function Ni() {
|
|
2241
2253
|
var e, r, t, s = this.localeData().eras();
|
|
2242
2254
|
for (e = 0, r = s.length; e < r; ++e)
|
|
2243
2255
|
if (t = this.clone().startOf("day").valueOf(), s[e].since <= t && t <= s[e].until || s[e].until <= t && t <= s[e].since)
|
|
2244
2256
|
return s[e].abbr;
|
|
2245
2257
|
return "";
|
|
2246
2258
|
}
|
|
2247
|
-
function
|
|
2259
|
+
function Ci() {
|
|
2248
2260
|
var e, r, t, s, a = this.localeData().eras();
|
|
2249
2261
|
for (e = 0, r = a.length; e < r; ++e)
|
|
2250
2262
|
if (t = 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)
|
|
2251
|
-
return (this.year() -
|
|
2263
|
+
return (this.year() - l(a[e].since).year()) * t + a[e].offset;
|
|
2252
2264
|
return this.year();
|
|
2253
2265
|
}
|
|
2254
|
-
function ji(e) {
|
|
2255
|
-
return g(this, "_erasNameRegex") || Or.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2256
|
-
}
|
|
2257
2266
|
function Wi(e) {
|
|
2258
|
-
return
|
|
2267
|
+
return w(this, "_erasNameRegex") || Or.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2259
2268
|
}
|
|
2260
|
-
function
|
|
2261
|
-
return
|
|
2269
|
+
function Fi(e) {
|
|
2270
|
+
return w(this, "_erasAbbrRegex") || Or.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2262
2271
|
}
|
|
2263
|
-
function
|
|
2272
|
+
function Li(e) {
|
|
2273
|
+
return w(this, "_erasNarrowRegex") || Or.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2274
|
+
}
|
|
2275
|
+
function Yr(e, r) {
|
|
2264
2276
|
return r.erasAbbrRegex(e);
|
|
2265
2277
|
}
|
|
2266
|
-
function
|
|
2278
|
+
function ji(e, r) {
|
|
2267
2279
|
return r.erasNameRegex(e);
|
|
2268
2280
|
}
|
|
2269
|
-
function
|
|
2281
|
+
function Ei(e, r) {
|
|
2270
2282
|
return r.erasNarrowRegex(e);
|
|
2271
2283
|
}
|
|
2272
|
-
function
|
|
2284
|
+
function Hi(e, r) {
|
|
2273
2285
|
return r._eraYearOrdinalRegex || he;
|
|
2274
2286
|
}
|
|
2275
2287
|
function Or() {
|
|
2276
|
-
var e = [], r = [], t = [], s = [], a, n,
|
|
2277
|
-
for (a = 0, n =
|
|
2278
|
-
|
|
2288
|
+
var e = [], r = [], t = [], s = [], a, n, d, u, f, b = this.eras();
|
|
2289
|
+
for (a = 0, n = b.length; a < n; ++a)
|
|
2290
|
+
d = B(b[a].name), u = B(b[a].abbr), f = B(b[a].narrow), r.push(d), e.push(u), t.push(f), s.push(d), s.push(u), s.push(f);
|
|
2279
2291
|
this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
2280
2292
|
"^(" + t.join("|") + ")",
|
|
2281
2293
|
"i"
|
|
@@ -2294,24 +2306,24 @@ Ze("gggg", "weekYear");
|
|
|
2294
2306
|
Ze("ggggg", "weekYear");
|
|
2295
2307
|
Ze("GGGG", "isoWeekYear");
|
|
2296
2308
|
Ze("GGGGG", "isoWeekYear");
|
|
2297
|
-
c("G",
|
|
2298
|
-
c("g",
|
|
2299
|
-
c("GG", k,
|
|
2300
|
-
c("gg", k,
|
|
2301
|
-
c("GGGG",
|
|
2302
|
-
c("gggg",
|
|
2303
|
-
c("GGGGG",
|
|
2304
|
-
c("ggggg",
|
|
2305
|
-
|
|
2309
|
+
c("G", Ue);
|
|
2310
|
+
c("g", Ue);
|
|
2311
|
+
c("GG", k, P);
|
|
2312
|
+
c("gg", k, P);
|
|
2313
|
+
c("GGGG", pr, fr);
|
|
2314
|
+
c("gggg", pr, fr);
|
|
2315
|
+
c("GGGGG", qe, He);
|
|
2316
|
+
c("ggggg", qe, He);
|
|
2317
|
+
De(
|
|
2306
2318
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2307
2319
|
function(e, r, t, s) {
|
|
2308
|
-
r[s.substr(0, 2)] =
|
|
2320
|
+
r[s.substr(0, 2)] = y(e);
|
|
2309
2321
|
}
|
|
2310
2322
|
);
|
|
2311
|
-
|
|
2312
|
-
r[s] =
|
|
2323
|
+
De(["gg", "GG"], function(e, r, t, s) {
|
|
2324
|
+
r[s] = l.parseTwoDigitYear(e);
|
|
2313
2325
|
});
|
|
2314
|
-
function
|
|
2326
|
+
function Ai(e) {
|
|
2315
2327
|
return xt.call(
|
|
2316
2328
|
this,
|
|
2317
2329
|
e,
|
|
@@ -2321,7 +2333,7 @@ function Ui(e) {
|
|
|
2321
2333
|
this.localeData()._week.doy
|
|
2322
2334
|
);
|
|
2323
2335
|
}
|
|
2324
|
-
function
|
|
2336
|
+
function qi(e) {
|
|
2325
2337
|
return xt.call(
|
|
2326
2338
|
this,
|
|
2327
2339
|
e,
|
|
@@ -2331,7 +2343,7 @@ function Ei(e) {
|
|
|
2331
2343
|
4
|
|
2332
2344
|
);
|
|
2333
2345
|
}
|
|
2334
|
-
function
|
|
2346
|
+
function Ui() {
|
|
2335
2347
|
return J(this.year(), 1, 4);
|
|
2336
2348
|
}
|
|
2337
2349
|
function Gi() {
|
|
@@ -2350,33 +2362,33 @@ function xt(e, r, t, s, a) {
|
|
|
2350
2362
|
return e == null ? ve(this, s, a).year : (n = J(e, s, a), r > n && (r = n), zi.call(this, e, r, t, s, a));
|
|
2351
2363
|
}
|
|
2352
2364
|
function zi(e, r, t, s, a) {
|
|
2353
|
-
var n = rt(e, r, t, s, a),
|
|
2354
|
-
return this.year(
|
|
2365
|
+
var n = rt(e, r, t, s, a), d = ge(n.year, 0, n.dayOfYear);
|
|
2366
|
+
return this.year(d.getUTCFullYear()), this.month(d.getUTCMonth()), this.date(d.getUTCDate()), this;
|
|
2355
2367
|
}
|
|
2356
2368
|
h("Q", 0, "Qo", "quarter");
|
|
2357
2369
|
c("Q", Vr);
|
|
2358
2370
|
v("Q", function(e, r) {
|
|
2359
|
-
r[z] = (
|
|
2371
|
+
r[z] = (y(e) - 1) * 3;
|
|
2360
2372
|
});
|
|
2361
2373
|
function Zi(e) {
|
|
2362
2374
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2363
2375
|
}
|
|
2364
2376
|
h("D", ["DD", 2], "Do", "date");
|
|
2365
|
-
c("D", k,
|
|
2366
|
-
c("DD", k,
|
|
2377
|
+
c("D", k, fe);
|
|
2378
|
+
c("DD", k, P);
|
|
2367
2379
|
c("Do", function(e, r) {
|
|
2368
2380
|
return e ? r._dayOfMonthOrdinalParse || r._ordinalParse : r._dayOfMonthOrdinalParseLenient;
|
|
2369
2381
|
});
|
|
2370
|
-
v(["D", "DD"],
|
|
2382
|
+
v(["D", "DD"], H);
|
|
2371
2383
|
v("Do", function(e, r) {
|
|
2372
|
-
r[
|
|
2384
|
+
r[H] = y(e.match(k)[0]);
|
|
2373
2385
|
});
|
|
2374
|
-
var kt =
|
|
2386
|
+
var kt = pe("Date", !0);
|
|
2375
2387
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2376
|
-
c("DDD",
|
|
2388
|
+
c("DDD", Ae);
|
|
2377
2389
|
c("DDDD", $r);
|
|
2378
2390
|
v(["DDD", "DDDD"], function(e, r, t) {
|
|
2379
|
-
t._dayOfYear =
|
|
2391
|
+
t._dayOfYear = y(e);
|
|
2380
2392
|
});
|
|
2381
2393
|
function Bi(e) {
|
|
2382
2394
|
var r = Math.round(
|
|
@@ -2385,15 +2397,15 @@ function Bi(e) {
|
|
|
2385
2397
|
return e == null ? r : this.add(e - r, "d");
|
|
2386
2398
|
}
|
|
2387
2399
|
h("m", ["mm", 2], 0, "minute");
|
|
2388
|
-
c("m", k,
|
|
2389
|
-
c("mm", k,
|
|
2390
|
-
v(["m", "mm"],
|
|
2391
|
-
var Ji =
|
|
2400
|
+
c("m", k, yr);
|
|
2401
|
+
c("mm", k, P);
|
|
2402
|
+
v(["m", "mm"], F);
|
|
2403
|
+
var Ji = pe("Minutes", !1);
|
|
2392
2404
|
h("s", ["ss", 2], 0, "second");
|
|
2393
|
-
c("s", k,
|
|
2394
|
-
c("ss", k,
|
|
2405
|
+
c("s", k, yr);
|
|
2406
|
+
c("ss", k, P);
|
|
2395
2407
|
v(["s", "ss"], Z);
|
|
2396
|
-
var Qi =
|
|
2408
|
+
var Qi = pe("Seconds", !1);
|
|
2397
2409
|
h("S", 0, 0, function() {
|
|
2398
2410
|
return ~~(this.millisecond() / 100);
|
|
2399
2411
|
});
|
|
@@ -2419,18 +2431,18 @@ h(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2419
2431
|
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2420
2432
|
return this.millisecond() * 1e6;
|
|
2421
2433
|
});
|
|
2422
|
-
c("S",
|
|
2423
|
-
c("SS",
|
|
2424
|
-
c("SSS",
|
|
2434
|
+
c("S", Ae, Vr);
|
|
2435
|
+
c("SS", Ae, P);
|
|
2436
|
+
c("SSS", Ae, $r);
|
|
2425
2437
|
var re, Mt;
|
|
2426
2438
|
for (re = "SSSS"; re.length <= 9; re += "S")
|
|
2427
2439
|
c(re, he);
|
|
2428
2440
|
function Ki(e, r) {
|
|
2429
|
-
r[ae] =
|
|
2441
|
+
r[ae] = y(("0." + e) * 1e3);
|
|
2430
2442
|
}
|
|
2431
2443
|
for (re = "S"; re.length <= 9; re += "S")
|
|
2432
2444
|
v(re, Ki);
|
|
2433
|
-
Mt =
|
|
2445
|
+
Mt = pe("Milliseconds", !1);
|
|
2434
2446
|
h("z", 0, 0, "zoneAbbr");
|
|
2435
2447
|
h("zz", 0, 0, "zoneName");
|
|
2436
2448
|
function Xi() {
|
|
@@ -2439,105 +2451,105 @@ function Xi() {
|
|
|
2439
2451
|
function Ii() {
|
|
2440
2452
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2441
2453
|
}
|
|
2442
|
-
var
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
typeof Symbol < "u" && Symbol.for != null && (
|
|
2454
|
+
var o = Me.prototype;
|
|
2455
|
+
o.add = $a;
|
|
2456
|
+
o.calendar = Xa;
|
|
2457
|
+
o.clone = Ia;
|
|
2458
|
+
o.diff = ni;
|
|
2459
|
+
o.endOf = yi;
|
|
2460
|
+
o.format = ui;
|
|
2461
|
+
o.from = _i;
|
|
2462
|
+
o.fromNow = ci;
|
|
2463
|
+
o.to = hi;
|
|
2464
|
+
o.toNow = fi;
|
|
2465
|
+
o.get = ls;
|
|
2466
|
+
o.invalidAt = Si;
|
|
2467
|
+
o.isAfter = ei;
|
|
2468
|
+
o.isBefore = ri;
|
|
2469
|
+
o.isBetween = ti;
|
|
2470
|
+
o.isSame = si;
|
|
2471
|
+
o.isSameOrAfter = ai;
|
|
2472
|
+
o.isSameOrBefore = ii;
|
|
2473
|
+
o.isValid = ki;
|
|
2474
|
+
o.lang = bt;
|
|
2475
|
+
o.locale = yt;
|
|
2476
|
+
o.localeData = mt;
|
|
2477
|
+
o.max = ka;
|
|
2478
|
+
o.min = xa;
|
|
2479
|
+
o.parsingFlags = Mi;
|
|
2480
|
+
o.set = us;
|
|
2481
|
+
o.startOf = pi;
|
|
2482
|
+
o.subtract = za;
|
|
2483
|
+
o.toArray = gi;
|
|
2484
|
+
o.toObject = vi;
|
|
2485
|
+
o.toDate = wi;
|
|
2486
|
+
o.toISOString = oi;
|
|
2487
|
+
o.inspect = li;
|
|
2488
|
+
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2477
2489
|
return "Moment<" + this.format() + ">";
|
|
2478
2490
|
});
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2491
|
+
o.toJSON = xi;
|
|
2492
|
+
o.toString = di;
|
|
2493
|
+
o.unix = mi;
|
|
2494
|
+
o.valueOf = bi;
|
|
2495
|
+
o.creationData = Di;
|
|
2496
|
+
o.eraName = Ri;
|
|
2497
|
+
o.eraNarrow = Pi;
|
|
2498
|
+
o.eraAbbr = Ni;
|
|
2499
|
+
o.eraYear = Ci;
|
|
2500
|
+
o.year = Br;
|
|
2501
|
+
o.isLeapYear = os;
|
|
2502
|
+
o.weekYear = Ai;
|
|
2503
|
+
o.isoWeekYear = qi;
|
|
2504
|
+
o.quarter = o.quarters = Zi;
|
|
2505
|
+
o.month = Ir;
|
|
2506
|
+
o.daysInMonth = ws;
|
|
2507
|
+
o.week = o.weeks = Ys;
|
|
2508
|
+
o.isoWeek = o.isoWeeks = Os;
|
|
2509
|
+
o.weeksInYear = Vi;
|
|
2510
|
+
o.weeksInWeekYear = $i;
|
|
2511
|
+
o.isoWeeksInYear = Ui;
|
|
2512
|
+
o.isoWeeksInISOWeekYear = Gi;
|
|
2513
|
+
o.date = kt;
|
|
2514
|
+
o.day = o.days = qs;
|
|
2515
|
+
o.weekday = Us;
|
|
2516
|
+
o.isoWeekday = Gs;
|
|
2517
|
+
o.dayOfYear = Bi;
|
|
2518
|
+
o.hour = o.hours = Qs;
|
|
2519
|
+
o.minute = o.minutes = Ji;
|
|
2520
|
+
o.second = o.seconds = Qi;
|
|
2521
|
+
o.millisecond = o.milliseconds = Mt;
|
|
2522
|
+
o.utcOffset = Na;
|
|
2523
|
+
o.utc = Wa;
|
|
2524
|
+
o.local = Fa;
|
|
2525
|
+
o.parseZone = La;
|
|
2526
|
+
o.hasAlignedHourOffset = ja;
|
|
2527
|
+
o.isDST = Ea;
|
|
2528
|
+
o.isLocal = Aa;
|
|
2529
|
+
o.isUtcOffset = qa;
|
|
2530
|
+
o.isUtc = ct;
|
|
2531
|
+
o.isUTC = ct;
|
|
2532
|
+
o.zoneAbbr = Xi;
|
|
2533
|
+
o.zoneName = Ii;
|
|
2534
|
+
o.dates = C(
|
|
2523
2535
|
"dates accessor is deprecated. Use date instead.",
|
|
2524
2536
|
kt
|
|
2525
2537
|
);
|
|
2526
|
-
|
|
2538
|
+
o.months = C(
|
|
2527
2539
|
"months accessor is deprecated. Use month instead",
|
|
2528
2540
|
Ir
|
|
2529
2541
|
);
|
|
2530
|
-
|
|
2542
|
+
o.years = C(
|
|
2531
2543
|
"years accessor is deprecated. Use year instead",
|
|
2532
2544
|
Br
|
|
2533
2545
|
);
|
|
2534
|
-
|
|
2546
|
+
o.zone = C(
|
|
2535
2547
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2536
|
-
|
|
2548
|
+
Ca
|
|
2537
2549
|
);
|
|
2538
|
-
|
|
2550
|
+
o.isDSTShifted = C(
|
|
2539
2551
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2540
|
-
|
|
2552
|
+
Ha
|
|
2541
2553
|
);
|
|
2542
2554
|
function en(e) {
|
|
2543
2555
|
return x(e * 1e3);
|
|
@@ -2545,68 +2557,68 @@ function en(e) {
|
|
|
2545
2557
|
function rn() {
|
|
2546
2558
|
return x.apply(null, arguments).parseZone();
|
|
2547
2559
|
}
|
|
2548
|
-
function
|
|
2560
|
+
function St(e) {
|
|
2549
2561
|
return e;
|
|
2550
2562
|
}
|
|
2551
|
-
var
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
function
|
|
2585
|
-
var a = K(), n =
|
|
2563
|
+
var g = _r.prototype;
|
|
2564
|
+
g.calendar = At;
|
|
2565
|
+
g.longDateFormat = Vt;
|
|
2566
|
+
g.invalidDate = zt;
|
|
2567
|
+
g.ordinal = Jt;
|
|
2568
|
+
g.preparse = St;
|
|
2569
|
+
g.postformat = St;
|
|
2570
|
+
g.relativeTime = Kt;
|
|
2571
|
+
g.pastFuture = Xt;
|
|
2572
|
+
g.set = Et;
|
|
2573
|
+
g.eras = Yi;
|
|
2574
|
+
g.erasParse = Oi;
|
|
2575
|
+
g.erasConvertYear = Ti;
|
|
2576
|
+
g.erasAbbrRegex = Fi;
|
|
2577
|
+
g.erasNameRegex = Wi;
|
|
2578
|
+
g.erasNarrowRegex = Li;
|
|
2579
|
+
g.months = ps;
|
|
2580
|
+
g.monthsShort = ys;
|
|
2581
|
+
g.monthsParse = ms;
|
|
2582
|
+
g.monthsRegex = vs;
|
|
2583
|
+
g.monthsShortRegex = gs;
|
|
2584
|
+
g.week = ks;
|
|
2585
|
+
g.firstDayOfYear = Ds;
|
|
2586
|
+
g.firstDayOfWeek = Ss;
|
|
2587
|
+
g.weekdays = Ls;
|
|
2588
|
+
g.weekdaysMin = Es;
|
|
2589
|
+
g.weekdaysShort = js;
|
|
2590
|
+
g.weekdaysParse = As;
|
|
2591
|
+
g.weekdaysRegex = Vs;
|
|
2592
|
+
g.weekdaysShortRegex = $s;
|
|
2593
|
+
g.weekdaysMinRegex = zs;
|
|
2594
|
+
g.isPM = Bs;
|
|
2595
|
+
g.meridiem = Ks;
|
|
2596
|
+
function je(e, r, t, s) {
|
|
2597
|
+
var a = K(), n = q().set(s, r);
|
|
2586
2598
|
return a[t](n, e);
|
|
2587
2599
|
}
|
|
2588
|
-
function
|
|
2600
|
+
function Dt(e, r, t) {
|
|
2589
2601
|
if (Q(e) && (r = e, e = void 0), e = e || "", r != null)
|
|
2590
|
-
return
|
|
2602
|
+
return je(e, r, t, "month");
|
|
2591
2603
|
var s, a = [];
|
|
2592
2604
|
for (s = 0; s < 12; s++)
|
|
2593
|
-
a[s] =
|
|
2605
|
+
a[s] = je(e, s, t, "month");
|
|
2594
2606
|
return a;
|
|
2595
2607
|
}
|
|
2596
2608
|
function Tr(e, r, t, s) {
|
|
2597
2609
|
typeof e == "boolean" ? (Q(r) && (t = r, r = void 0), r = r || "") : (r = e, t = r, e = !1, Q(r) && (t = r, r = void 0), r = r || "");
|
|
2598
|
-
var a = K(), n = e ? a._week.dow : 0,
|
|
2610
|
+
var a = K(), n = e ? a._week.dow : 0, d, u = [];
|
|
2599
2611
|
if (t != null)
|
|
2600
|
-
return
|
|
2601
|
-
for (
|
|
2602
|
-
|
|
2603
|
-
return
|
|
2612
|
+
return je(r, (t + n) % 7, s, "day");
|
|
2613
|
+
for (d = 0; d < 7; d++)
|
|
2614
|
+
u[d] = je(r, (d + n) % 7, s, "day");
|
|
2615
|
+
return u;
|
|
2604
2616
|
}
|
|
2605
2617
|
function tn(e, r) {
|
|
2606
|
-
return
|
|
2618
|
+
return Dt(e, r, "months");
|
|
2607
2619
|
}
|
|
2608
2620
|
function sn(e, r) {
|
|
2609
|
-
return
|
|
2621
|
+
return Dt(e, r, "monthsShort");
|
|
2610
2622
|
}
|
|
2611
2623
|
function an(e, r, t) {
|
|
2612
2624
|
return Tr(e, r, t, "weekdays");
|
|
@@ -2614,7 +2626,7 @@ function an(e, r, t) {
|
|
|
2614
2626
|
function nn(e, r, t) {
|
|
2615
2627
|
return Tr(e, r, t, "weekdaysShort");
|
|
2616
2628
|
}
|
|
2617
|
-
function
|
|
2629
|
+
function dn(e, r, t) {
|
|
2618
2630
|
return Tr(e, r, t, "weekdaysMin");
|
|
2619
2631
|
}
|
|
2620
2632
|
te("en", {
|
|
@@ -2638,51 +2650,51 @@ te("en", {
|
|
|
2638
2650
|
],
|
|
2639
2651
|
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
2640
2652
|
ordinal: function(e) {
|
|
2641
|
-
var r = e % 10, t =
|
|
2653
|
+
var r = e % 10, t = y(e % 100 / 10) === 1 ? "th" : r === 1 ? "st" : r === 2 ? "nd" : r === 3 ? "rd" : "th";
|
|
2642
2654
|
return e + t;
|
|
2643
2655
|
}
|
|
2644
2656
|
});
|
|
2645
|
-
|
|
2657
|
+
l.lang = C(
|
|
2646
2658
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2647
2659
|
te
|
|
2648
2660
|
);
|
|
2649
|
-
|
|
2661
|
+
l.langData = C(
|
|
2650
2662
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2651
2663
|
K
|
|
2652
2664
|
);
|
|
2653
2665
|
var V = Math.abs;
|
|
2654
|
-
function
|
|
2666
|
+
function on() {
|
|
2655
2667
|
var e = this._data;
|
|
2656
2668
|
return this._milliseconds = V(this._milliseconds), this._days = V(this._days), this._months = V(this._months), e.milliseconds = V(e.milliseconds), e.seconds = V(e.seconds), e.minutes = V(e.minutes), e.hours = V(e.hours), e.months = V(e.months), e.years = V(e.years), this;
|
|
2657
2669
|
}
|
|
2658
|
-
function
|
|
2659
|
-
var a =
|
|
2670
|
+
function Yt(e, r, t, s) {
|
|
2671
|
+
var a = E(r, t);
|
|
2660
2672
|
return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
|
|
2661
2673
|
}
|
|
2662
|
-
function un(e, r) {
|
|
2663
|
-
return St(this, e, r, 1);
|
|
2664
|
-
}
|
|
2665
2674
|
function ln(e, r) {
|
|
2666
|
-
return
|
|
2675
|
+
return Yt(this, e, r, 1);
|
|
2676
|
+
}
|
|
2677
|
+
function un(e, r) {
|
|
2678
|
+
return Yt(this, e, r, -1);
|
|
2667
2679
|
}
|
|
2668
|
-
function
|
|
2680
|
+
function Fr(e) {
|
|
2669
2681
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2670
2682
|
}
|
|
2671
2683
|
function _n() {
|
|
2672
|
-
var e = this._milliseconds, r = this._days, t = this._months, s = this._data, a, n,
|
|
2673
|
-
return e >= 0 && r >= 0 && t >= 0 || e <= 0 && r <= 0 && t <= 0 || (e +=
|
|
2684
|
+
var e = this._milliseconds, r = this._days, t = this._months, s = this._data, a, n, d, u, f;
|
|
2685
|
+
return e >= 0 && r >= 0 && t >= 0 || e <= 0 && r <= 0 && t <= 0 || (e += Fr(dr(t) + r) * 864e5, r = 0, t = 0), s.milliseconds = e % 1e3, a = N(e / 1e3), s.seconds = a % 60, n = N(a / 60), s.minutes = n % 60, d = N(n / 60), s.hours = d % 24, r += N(d / 24), f = N(Ot(r)), t += f, r -= Fr(dr(f)), u = N(t / 12), t %= 12, s.days = r, s.months = t, s.years = u, this;
|
|
2674
2686
|
}
|
|
2675
2687
|
function Ot(e) {
|
|
2676
2688
|
return e * 4800 / 146097;
|
|
2677
2689
|
}
|
|
2678
|
-
function
|
|
2690
|
+
function dr(e) {
|
|
2679
2691
|
return e * 146097 / 4800;
|
|
2680
2692
|
}
|
|
2681
2693
|
function cn(e) {
|
|
2682
2694
|
if (!this.isValid())
|
|
2683
2695
|
return NaN;
|
|
2684
2696
|
var r, t, s = this._milliseconds;
|
|
2685
|
-
if (e =
|
|
2697
|
+
if (e = W(e), e === "month" || e === "quarter" || e === "year")
|
|
2686
2698
|
switch (r = this._days + s / 864e5, t = this._months + Ot(r), e) {
|
|
2687
2699
|
case "month":
|
|
2688
2700
|
return t;
|
|
@@ -2692,7 +2704,7 @@ function cn(e) {
|
|
|
2692
2704
|
return t / 12;
|
|
2693
2705
|
}
|
|
2694
2706
|
else
|
|
2695
|
-
switch (r = this._days + Math.round(
|
|
2707
|
+
switch (r = this._days + Math.round(dr(this._months)), e) {
|
|
2696
2708
|
case "week":
|
|
2697
2709
|
return r / 7 + s / 6048e5;
|
|
2698
2710
|
case "day":
|
|
@@ -2714,23 +2726,23 @@ function X(e) {
|
|
|
2714
2726
|
return this.as(e);
|
|
2715
2727
|
};
|
|
2716
2728
|
}
|
|
2717
|
-
var Tt = X("ms"), hn = X("s"),
|
|
2729
|
+
var Tt = X("ms"), hn = X("s"), fn = X("m"), pn = X("h"), yn = X("d"), bn = X("w"), mn = X("M"), wn = X("Q"), gn = X("y"), vn = Tt;
|
|
2718
2730
|
function xn() {
|
|
2719
|
-
return
|
|
2731
|
+
return E(this);
|
|
2720
2732
|
}
|
|
2721
2733
|
function kn(e) {
|
|
2722
|
-
return e =
|
|
2734
|
+
return e = W(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2723
2735
|
}
|
|
2724
2736
|
function ne(e) {
|
|
2725
2737
|
return function() {
|
|
2726
2738
|
return this.isValid() ? this._data[e] : NaN;
|
|
2727
2739
|
};
|
|
2728
2740
|
}
|
|
2729
|
-
var Mn = ne("milliseconds"),
|
|
2730
|
-
function
|
|
2731
|
-
return
|
|
2741
|
+
var Mn = ne("milliseconds"), Sn = ne("seconds"), Dn = ne("minutes"), Yn = ne("hours"), On = ne("days"), Tn = ne("months"), Rn = ne("years");
|
|
2742
|
+
function Pn() {
|
|
2743
|
+
return N(this.days() / 7);
|
|
2732
2744
|
}
|
|
2733
|
-
var $ = Math.round,
|
|
2745
|
+
var $ = Math.round, le = {
|
|
2734
2746
|
ss: 44,
|
|
2735
2747
|
// a few seconds to seconds
|
|
2736
2748
|
s: 45,
|
|
@@ -2746,114 +2758,114 @@ var $ = Math.round, ue = {
|
|
|
2746
2758
|
M: 11
|
|
2747
2759
|
// months to year
|
|
2748
2760
|
};
|
|
2749
|
-
function
|
|
2761
|
+
function Nn(e, r, t, s, a) {
|
|
2750
2762
|
return a.relativeTime(r || 1, !!t, e, s);
|
|
2751
2763
|
}
|
|
2752
|
-
function
|
|
2753
|
-
var a =
|
|
2754
|
-
return t.w != null && (I = I || T <= 1 && ["w"] || T < t.w && ["ww", T]), I = I ||
|
|
2764
|
+
function Cn(e, r, t, s) {
|
|
2765
|
+
var a = E(e).abs(), n = $(a.as("s")), d = $(a.as("m")), u = $(a.as("h")), f = $(a.as("d")), b = $(a.as("M")), T = $(a.as("w")), G = $(a.as("y")), I = n <= t.ss && ["s", n] || n < t.s && ["ss", n] || d <= 1 && ["m"] || d < t.m && ["mm", d] || u <= 1 && ["h"] || u < t.h && ["hh", u] || f <= 1 && ["d"] || f < t.d && ["dd", f];
|
|
2766
|
+
return t.w != null && (I = I || T <= 1 && ["w"] || T < t.w && ["ww", T]), I = I || b <= 1 && ["M"] || b < t.M && ["MM", b] || G <= 1 && ["y"] || ["yy", G], I[2] = r, I[3] = +e > 0, I[4] = s, Nn.apply(null, I);
|
|
2755
2767
|
}
|
|
2756
|
-
function
|
|
2768
|
+
function Wn(e) {
|
|
2757
2769
|
return e === void 0 ? $ : typeof e == "function" ? ($ = e, !0) : !1;
|
|
2758
2770
|
}
|
|
2759
|
-
function
|
|
2760
|
-
return
|
|
2771
|
+
function Fn(e, r) {
|
|
2772
|
+
return le[e] === void 0 ? !1 : r === void 0 ? le[e] : (le[e] = r, e === "s" && (le.ss = r - 1), !0);
|
|
2761
2773
|
}
|
|
2762
|
-
function
|
|
2774
|
+
function Ln(e, r) {
|
|
2763
2775
|
if (!this.isValid())
|
|
2764
2776
|
return this.localeData().invalidDate();
|
|
2765
|
-
var t = !1, s =
|
|
2766
|
-
return typeof e == "object" && (r = e, e = !1), typeof e == "boolean" && (t = e), typeof r == "object" && (s = Object.assign({},
|
|
2777
|
+
var t = !1, s = le, a, n;
|
|
2778
|
+
return typeof e == "object" && (r = e, e = !1), typeof e == "boolean" && (t = e), typeof r == "object" && (s = Object.assign({}, le, r), r.s != null && r.ss == null && (s.ss = r.s - 1)), a = this.localeData(), n = Cn(this, !t, s, a), t && (n = a.pastFuture(+this, n)), a.postformat(n);
|
|
2767
2779
|
}
|
|
2768
|
-
var
|
|
2769
|
-
function
|
|
2780
|
+
var Xe = Math.abs;
|
|
2781
|
+
function de(e) {
|
|
2770
2782
|
return (e > 0) - (e < 0) || +e;
|
|
2771
2783
|
}
|
|
2772
2784
|
function Be() {
|
|
2773
2785
|
if (!this.isValid())
|
|
2774
2786
|
return this.localeData().invalidDate();
|
|
2775
|
-
var e =
|
|
2776
|
-
return
|
|
2787
|
+
var e = Xe(this._milliseconds) / 1e3, r = Xe(this._days), t = Xe(this._months), s, a, n, d, u = this.asSeconds(), f, b, T, G;
|
|
2788
|
+
return u ? (s = N(e / 60), a = N(s / 60), e %= 60, s %= 60, n = N(t / 12), t %= 12, d = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", b = de(this._months) !== de(u) ? "-" : "", T = de(this._days) !== de(u) ? "-" : "", G = de(this._milliseconds) !== de(u) ? "-" : "", f + "P" + (n ? b + n + "Y" : "") + (t ? b + t + "M" : "") + (r ? T + r + "D" : "") + (a || s || e ? "T" : "") + (a ? G + a + "H" : "") + (s ? G + s + "M" : "") + (e ? G + d + "S" : "")) : "P0D";
|
|
2777
2789
|
}
|
|
2778
2790
|
var m = ze.prototype;
|
|
2779
2791
|
m.isValid = Oa;
|
|
2780
|
-
m.abs =
|
|
2781
|
-
m.add =
|
|
2782
|
-
m.subtract =
|
|
2792
|
+
m.abs = on;
|
|
2793
|
+
m.add = ln;
|
|
2794
|
+
m.subtract = un;
|
|
2783
2795
|
m.as = cn;
|
|
2784
2796
|
m.asMilliseconds = Tt;
|
|
2785
2797
|
m.asSeconds = hn;
|
|
2786
|
-
m.asMinutes =
|
|
2787
|
-
m.asHours =
|
|
2788
|
-
m.asDays =
|
|
2789
|
-
m.asWeeks =
|
|
2798
|
+
m.asMinutes = fn;
|
|
2799
|
+
m.asHours = pn;
|
|
2800
|
+
m.asDays = yn;
|
|
2801
|
+
m.asWeeks = bn;
|
|
2790
2802
|
m.asMonths = mn;
|
|
2791
|
-
m.asQuarters =
|
|
2792
|
-
m.asYears =
|
|
2803
|
+
m.asQuarters = wn;
|
|
2804
|
+
m.asYears = gn;
|
|
2793
2805
|
m.valueOf = vn;
|
|
2794
2806
|
m._bubble = _n;
|
|
2795
2807
|
m.clone = xn;
|
|
2796
2808
|
m.get = kn;
|
|
2797
2809
|
m.milliseconds = Mn;
|
|
2798
|
-
m.seconds =
|
|
2799
|
-
m.minutes =
|
|
2800
|
-
m.hours =
|
|
2810
|
+
m.seconds = Sn;
|
|
2811
|
+
m.minutes = Dn;
|
|
2812
|
+
m.hours = Yn;
|
|
2801
2813
|
m.days = On;
|
|
2802
|
-
m.weeks =
|
|
2814
|
+
m.weeks = Pn;
|
|
2803
2815
|
m.months = Tn;
|
|
2804
|
-
m.years =
|
|
2805
|
-
m.humanize =
|
|
2816
|
+
m.years = Rn;
|
|
2817
|
+
m.humanize = Ln;
|
|
2806
2818
|
m.toISOString = Be;
|
|
2807
2819
|
m.toString = Be;
|
|
2808
2820
|
m.toJSON = Be;
|
|
2809
|
-
m.locale =
|
|
2821
|
+
m.locale = yt;
|
|
2810
2822
|
m.localeData = mt;
|
|
2811
|
-
m.toIsoString =
|
|
2823
|
+
m.toIsoString = C(
|
|
2812
2824
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2813
2825
|
Be
|
|
2814
2826
|
);
|
|
2815
|
-
m.lang =
|
|
2827
|
+
m.lang = bt;
|
|
2816
2828
|
h("X", 0, 0, "unix");
|
|
2817
2829
|
h("x", 0, 0, "valueOf");
|
|
2818
|
-
c("x",
|
|
2830
|
+
c("x", Ue);
|
|
2819
2831
|
c("X", ts);
|
|
2820
2832
|
v("X", function(e, r, t) {
|
|
2821
2833
|
t._d = new Date(parseFloat(e) * 1e3);
|
|
2822
2834
|
});
|
|
2823
2835
|
v("x", function(e, r, t) {
|
|
2824
|
-
t._d = new Date(
|
|
2836
|
+
t._d = new Date(y(e));
|
|
2825
2837
|
});
|
|
2826
2838
|
//! moment.js
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2839
|
+
l.version = "2.30.1";
|
|
2840
|
+
Lt(x);
|
|
2841
|
+
l.fn = o;
|
|
2842
|
+
l.min = Ma;
|
|
2843
|
+
l.max = Sa;
|
|
2844
|
+
l.now = Da;
|
|
2845
|
+
l.utc = q;
|
|
2846
|
+
l.unix = en;
|
|
2847
|
+
l.months = tn;
|
|
2848
|
+
l.isDate = ke;
|
|
2849
|
+
l.locale = te;
|
|
2850
|
+
l.invalid = Ee;
|
|
2851
|
+
l.duration = E;
|
|
2852
|
+
l.isMoment = j;
|
|
2853
|
+
l.weekdays = an;
|
|
2854
|
+
l.parseZone = rn;
|
|
2855
|
+
l.localeData = K;
|
|
2856
|
+
l.isDuration = Pe;
|
|
2857
|
+
l.monthsShort = sn;
|
|
2858
|
+
l.weekdaysMin = dn;
|
|
2859
|
+
l.defineLocale = vr;
|
|
2860
|
+
l.updateLocale = ra;
|
|
2861
|
+
l.locales = ta;
|
|
2862
|
+
l.weekdaysShort = nn;
|
|
2863
|
+
l.normalizeUnits = W;
|
|
2864
|
+
l.relativeTimeRounding = Wn;
|
|
2865
|
+
l.relativeTimeThreshold = Fn;
|
|
2866
|
+
l.calendarFormat = Ka;
|
|
2867
|
+
l.prototype = o;
|
|
2868
|
+
l.HTML5_FMT = {
|
|
2857
2869
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
2858
2870
|
// <input type="datetime-local" />
|
|
2859
2871
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -2873,7 +2885,7 @@ u.HTML5_FMT = {
|
|
|
2873
2885
|
MONTH: "YYYY-MM"
|
|
2874
2886
|
// <input type="month" />
|
|
2875
2887
|
};
|
|
2876
|
-
const
|
|
2888
|
+
const Ie = (e) => new Intl.NumberFormat("de-DE").format(e), jn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, En = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Lr = /(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, er = [
|
|
2877
2889
|
/^janv/i,
|
|
2878
2890
|
/^févr/i,
|
|
2879
2891
|
/^mars/i,
|
|
@@ -2886,15 +2898,15 @@ const Hn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2886
2898
|
/^oct/i,
|
|
2887
2899
|
/^nov/i,
|
|
2888
2900
|
/^déc/i
|
|
2889
|
-
],
|
|
2901
|
+
], Hn = {
|
|
2890
2902
|
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2891
2903
|
"_"
|
|
2892
2904
|
),
|
|
2893
2905
|
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2894
|
-
monthsRegex:
|
|
2895
|
-
monthsShortRegex:
|
|
2896
|
-
monthsStrictRegex:
|
|
2897
|
-
monthsShortStrictRegex:
|
|
2906
|
+
monthsRegex: Lr,
|
|
2907
|
+
monthsShortRegex: Lr,
|
|
2908
|
+
monthsStrictRegex: jn,
|
|
2909
|
+
monthsShortStrictRegex: En,
|
|
2898
2910
|
monthsParse: er,
|
|
2899
2911
|
longMonthsParse: er,
|
|
2900
2912
|
shortMonthsParse: er,
|
|
@@ -2957,9 +2969,9 @@ const Hn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2957
2969
|
doy: 4
|
|
2958
2970
|
}
|
|
2959
2971
|
};
|
|
2960
|
-
|
|
2961
|
-
const
|
|
2962
|
-
const r = [], t =
|
|
2972
|
+
l.locale("fr", Hn);
|
|
2973
|
+
const An = (e) => {
|
|
2974
|
+
const r = [], t = l.duration(e);
|
|
2963
2975
|
if (!(!t || t.toISOString() === "P0D")) {
|
|
2964
2976
|
if (t.years() >= 1) {
|
|
2965
2977
|
const s = Math.floor(t.years());
|
|
@@ -2987,56 +2999,56 @@ const Un = (e) => {
|
|
|
2987
2999
|
}
|
|
2988
3000
|
return r.join(", ");
|
|
2989
3001
|
}
|
|
2990
|
-
},
|
|
3002
|
+
}, Rt = (e) => e.id.startsWith("ev_"), qn = (e) => e.id.startsWith("uc_"), rd = (e) => e.id.startsWith("goto_"), td = (e) => e.id.startsWith("end_"), Un = (e) => e.id.startsWith("c_"), Gn = (e) => e.id.startsWith("rq_"), _ = (e, r, t, s) => {
|
|
2991
3003
|
const a = [];
|
|
2992
3004
|
return t && !r.includes(e) ? a.push(
|
|
2993
3005
|
`**${i("raids", "raid_rewards.reward_received")} :
|
|
2994
|
-
` + Object.entries(t).filter(([, n]) => n > 0).map(([n,
|
|
2995
|
-
if (
|
|
3006
|
+
` + Object.entries(t).filter(([, n]) => n > 0).map(([n, d]) => {
|
|
3007
|
+
if (d === 0)
|
|
2996
3008
|
return;
|
|
2997
3009
|
if (n === "xp" || n === "berry")
|
|
2998
|
-
return `- ${
|
|
3010
|
+
return `- ${Ie(d)} ${Ye[n]}`;
|
|
2999
3011
|
if (n === "hp")
|
|
3000
|
-
return `- ${
|
|
3012
|
+
return `- ${Ie(d)} ${Ye.hp}`;
|
|
3001
3013
|
if (n === "title")
|
|
3002
|
-
return `- Le titre "${
|
|
3014
|
+
return `- Le titre "${d}"`;
|
|
3003
3015
|
if (n === "condition")
|
|
3004
|
-
return `- Condition remplie : ${i("raids", `raid_conditions.${
|
|
3005
|
-
const
|
|
3006
|
-
return `- ${
|
|
3016
|
+
return `- Condition remplie : ${i("raids", `raid_conditions.${d}`)}`;
|
|
3017
|
+
const u = Y(n);
|
|
3018
|
+
return `- ${u.name(d)} ${u.emojis}`;
|
|
3007
3019
|
}).join(`
|
|
3008
3020
|
`) + "**"
|
|
3009
3021
|
) : a.push(`**${i("raids", "raid_rewards.no_reward_received")}**`), s && a.push(
|
|
3010
3022
|
`**${i("raids", "raid_rewards.penalty_received")} :
|
|
3011
|
-
` + Object.entries(s).filter(([, n]) => n > 0).map(([n,
|
|
3023
|
+
` + Object.entries(s).filter(([, n]) => n > 0).map(([n, d]) => n === "xp" || n === "berry" ? `- ${Ie(d)} ${Ye[n]}` : n === "hp" ? `- ${d} ${Ye.hp}` : n === "time_out" ? `- Time out pendant ${An(d)}` : n === "buffs" ? "- Un debuff (consulter avec /boost)" : `- ${Y(n).name(d)} ${Y(n).emojis}`).join(`
|
|
3012
3024
|
`) + "**"
|
|
3013
3025
|
), `${a.length > 0 ? `
|
|
3014
3026
|
|
|
3015
3027
|
` : ""}${a.join(`
|
|
3016
3028
|
`)}${a.length > 0 ? `
|
|
3017
3029
|
` : ""}`;
|
|
3018
|
-
},
|
|
3019
|
-
const t = Object.values(
|
|
3030
|
+
}, sd = (e) => Object.values(jr).map((r) => r(null)).filter((r) => !e || r.type === e), ad = (e, r) => {
|
|
3031
|
+
const t = Object.values(jr).find(
|
|
3020
3032
|
(s) => s(r).id === e
|
|
3021
3033
|
);
|
|
3022
3034
|
if (!t)
|
|
3023
3035
|
throw new Error("raidBug");
|
|
3024
3036
|
return t(r);
|
|
3025
3037
|
}, Vn = (e, r) => {
|
|
3026
|
-
if (
|
|
3038
|
+
if (Rt(e))
|
|
3027
3039
|
return e.outputs.find((t) => t.id === r);
|
|
3028
|
-
if (
|
|
3040
|
+
if (Un(e))
|
|
3029
3041
|
return e.success.id === r ? e.success : e.failure;
|
|
3030
|
-
if (
|
|
3042
|
+
if (qn(e) || Gn(e))
|
|
3031
3043
|
return e.output;
|
|
3032
|
-
},
|
|
3044
|
+
}, id = (e, r) => {
|
|
3033
3045
|
let t = r.start;
|
|
3034
3046
|
for (const s of e) {
|
|
3035
3047
|
if (!t)
|
|
3036
3048
|
throw new Error("raidBug");
|
|
3037
3049
|
t = Vn(t, s);
|
|
3038
3050
|
}
|
|
3039
|
-
if (!t || !
|
|
3051
|
+
if (!t || !Rt(t))
|
|
3040
3052
|
throw new Error("raidBug");
|
|
3041
3053
|
return t;
|
|
3042
3054
|
}, $n = (e) => ({
|
|
@@ -3087,7 +3099,7 @@ const Un = (e) => {
|
|
|
3087
3099
|
label: i(
|
|
3088
3100
|
"raids",
|
|
3089
3101
|
"raids.mysterious_island.rq_use_old_key.label",
|
|
3090
|
-
{ requirements:
|
|
3102
|
+
{ requirements: Y("ancient_key").name(1) }
|
|
3091
3103
|
),
|
|
3092
3104
|
output: {
|
|
3093
3105
|
id: "ev_use_old_key",
|
|
@@ -3324,7 +3336,7 @@ const Un = (e) => {
|
|
|
3324
3336
|
label: i(
|
|
3325
3337
|
"raids",
|
|
3326
3338
|
"raids.mysterious_island.rq_turn_on_torch_ruin.label",
|
|
3327
|
-
{ requirements:
|
|
3339
|
+
{ requirements: Y("wood").name(1) }
|
|
3328
3340
|
),
|
|
3329
3341
|
output: {
|
|
3330
3342
|
id: "ev_ancient_dark_passage",
|
|
@@ -3686,7 +3698,7 @@ const Un = (e) => {
|
|
|
3686
3698
|
label: i(
|
|
3687
3699
|
"raids",
|
|
3688
3700
|
"raids.mysterious_island.rq_turn_on_torch_jungle.label",
|
|
3689
|
-
{ requirements:
|
|
3701
|
+
{ requirements: Y("wood").name(1) }
|
|
3690
3702
|
),
|
|
3691
3703
|
output: {
|
|
3692
3704
|
id: "end_torch_jungle",
|
|
@@ -3930,7 +3942,7 @@ const Un = (e) => {
|
|
|
3930
3942
|
label: i(
|
|
3931
3943
|
"raids",
|
|
3932
3944
|
"raids.mysterious_island.rq_explore_gallery_with_torch.label",
|
|
3933
|
-
{ requirements:
|
|
3945
|
+
{ requirements: Y("wood").name(1) }
|
|
3934
3946
|
),
|
|
3935
3947
|
output: {
|
|
3936
3948
|
id: "ev_explore_gallery_with_torch",
|
|
@@ -4242,7 +4254,7 @@ const Un = (e) => {
|
|
|
4242
4254
|
label: i(
|
|
4243
4255
|
"raids",
|
|
4244
4256
|
"raids.mysterious_island.rq_cave_torch.label",
|
|
4245
|
-
{ requirements:
|
|
4257
|
+
{ requirements: Y("wood").name(1) }
|
|
4246
4258
|
),
|
|
4247
4259
|
output: {
|
|
4248
4260
|
id: "ev_cave_torch_on",
|
|
@@ -4542,7 +4554,7 @@ const Un = (e) => {
|
|
|
4542
4554
|
label: i(
|
|
4543
4555
|
"raids",
|
|
4544
4556
|
"raids.pirate_cave.rq_cave_torch.label",
|
|
4545
|
-
{ requirements:
|
|
4557
|
+
{ requirements: Y("wood").name(1) }
|
|
4546
4558
|
),
|
|
4547
4559
|
output: {
|
|
4548
4560
|
id: "ev_torch_on",
|
|
@@ -4579,7 +4591,7 @@ const Un = (e) => {
|
|
|
4579
4591
|
label: i(
|
|
4580
4592
|
"raids",
|
|
4581
4593
|
"raids.pirate_cave.rq_remove_traps.label",
|
|
4582
|
-
{ requirements:
|
|
4594
|
+
{ requirements: Y("tools").name(1) }
|
|
4583
4595
|
),
|
|
4584
4596
|
output: {
|
|
4585
4597
|
id: "ev_no_trap",
|
|
@@ -5726,7 +5738,7 @@ const Un = (e) => {
|
|
|
5726
5738
|
id: "rq_wood",
|
|
5727
5739
|
requirements: { tools: 1 },
|
|
5728
5740
|
label: i("raids", "raids.resources.rq_wood.label", {
|
|
5729
|
-
requirements:
|
|
5741
|
+
requirements: Y("tools").name(1)
|
|
5730
5742
|
}),
|
|
5731
5743
|
output: {
|
|
5732
5744
|
id: "end_wood_big",
|
|
@@ -5781,7 +5793,7 @@ const Un = (e) => {
|
|
|
5781
5793
|
id: "rq_iron",
|
|
5782
5794
|
requirements: { tools: 1 },
|
|
5783
5795
|
label: i("raids", "raids.resources.rq_iron.label", {
|
|
5784
|
-
requirements:
|
|
5796
|
+
requirements: Y("tools").name(1)
|
|
5785
5797
|
}),
|
|
5786
5798
|
output: {
|
|
5787
5799
|
id: "end_iron_big",
|
|
@@ -5849,7 +5861,7 @@ const Un = (e) => {
|
|
|
5849
5861
|
id: "rq_hemp",
|
|
5850
5862
|
requirements: { tools: 1 },
|
|
5851
5863
|
label: i("raids", "raids.resources.rq_hemp.label", {
|
|
5852
|
-
requirements:
|
|
5864
|
+
requirements: Y("tools").name(1)
|
|
5853
5865
|
}),
|
|
5854
5866
|
output: {
|
|
5855
5867
|
id: "end_hemp_big",
|
|
@@ -5904,7 +5916,7 @@ const Un = (e) => {
|
|
|
5904
5916
|
id: "rq_bowl",
|
|
5905
5917
|
requirements: { bowl: 1 },
|
|
5906
5918
|
label: i("raids", "raids.resources.rq_bowl.label", {
|
|
5907
|
-
requirements:
|
|
5919
|
+
requirements: Y("bowl").name(1)
|
|
5908
5920
|
}),
|
|
5909
5921
|
output: {
|
|
5910
5922
|
id: "end_salt_water_big",
|
|
@@ -5983,7 +5995,7 @@ const Un = (e) => {
|
|
|
5983
5995
|
id: "rq_cereal",
|
|
5984
5996
|
requirements: { tools: 1 },
|
|
5985
5997
|
label: i("raids", "raids.resources.rq_cereal.label", {
|
|
5986
|
-
requirements:
|
|
5998
|
+
requirements: Y("tools").name(1)
|
|
5987
5999
|
}),
|
|
5988
6000
|
output: {
|
|
5989
6001
|
id: "end_cereal_big",
|
|
@@ -6041,7 +6053,7 @@ const Un = (e) => {
|
|
|
6041
6053
|
id: "rq_cotton",
|
|
6042
6054
|
requirements: { tools: 1 },
|
|
6043
6055
|
label: i("raids", "raids.resources.rq_cotton.label", {
|
|
6044
|
-
requirements:
|
|
6056
|
+
requirements: Y("tools").name(1)
|
|
6045
6057
|
}),
|
|
6046
6058
|
output: {
|
|
6047
6059
|
id: "end_cotton_big",
|
|
@@ -6099,7 +6111,7 @@ const Un = (e) => {
|
|
|
6099
6111
|
id: "rq_fruit",
|
|
6100
6112
|
requirements: { tools: 1 },
|
|
6101
6113
|
label: i("raids", "raids.resources.rq_fruit.label", {
|
|
6102
|
-
requirements:
|
|
6114
|
+
requirements: Y("tools").name(1)
|
|
6103
6115
|
}),
|
|
6104
6116
|
output: {
|
|
6105
6117
|
id: "end_fruit_big",
|
|
@@ -6449,7 +6461,7 @@ const Un = (e) => {
|
|
|
6449
6461
|
}
|
|
6450
6462
|
]
|
|
6451
6463
|
}
|
|
6452
|
-
}),
|
|
6464
|
+
}), nd = {
|
|
6453
6465
|
mysterious_island: [
|
|
6454
6466
|
"end_cave_blind_walk",
|
|
6455
6467
|
"end_explore_gallery_with_torch",
|
|
@@ -6513,22 +6525,22 @@ const Un = (e) => {
|
|
|
6513
6525
|
]
|
|
6514
6526
|
};
|
|
6515
6527
|
export {
|
|
6516
|
-
|
|
6528
|
+
nd as RAID_IMAGES,
|
|
6517
6529
|
_ as formatRewards,
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6530
|
+
sd as getAllRaids,
|
|
6531
|
+
ed as getAvailableCharacteristicPoints,
|
|
6532
|
+
Er as getCharacteristicCost,
|
|
6521
6533
|
Xn as getComputedCharacteristicCost,
|
|
6522
6534
|
In as getComputedCharacteristicValue,
|
|
6523
|
-
|
|
6535
|
+
id as getCurrentRaidEvent,
|
|
6524
6536
|
Vn as getNextRaidStep,
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6537
|
+
ad as getRaid,
|
|
6538
|
+
Un as isRaidConditionCheck,
|
|
6539
|
+
td as isRaidEnd,
|
|
6540
|
+
Rt as isRaidEvent,
|
|
6541
|
+
rd as isRaidGoto,
|
|
6530
6542
|
Gn as isRaidItemRequired,
|
|
6531
|
-
|
|
6543
|
+
qn as isRaidUserChoice,
|
|
6532
6544
|
$n as mysteriousIslandRaid,
|
|
6533
6545
|
zn as pirateCaveRaid,
|
|
6534
6546
|
Zn as resourcesRaid,
|