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