@opfr/utils-lang 0.2.3 → 0.4.0
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/array.d.ts +2 -0
- package/dist/array.d.ts.map +1 -1
- package/dist/array.js +6 -0
- package/dist/array.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1451 -1651
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/object.d.ts +1 -0
- package/dist/object.d.ts.map +1 -1
- package/dist/object.js +1 -0
- package/dist/object.js.map +1 -1
- package/package.json +2 -2
- package/dist/emojis.d.ts +0 -206
- package/dist/emojis.d.ts.map +0 -1
- package/dist/emojis.js +0 -206
- package/dist/emojis.js.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Ui = (e) => new Intl.NumberFormat("de-DE").format(e), Os = (e, t, s = Math.random) => Math.floor(s() * (t - e) + e), Hi = (e) => {
|
|
2
2
|
let t = e;
|
|
3
|
-
const
|
|
4
|
-
return () => (t = (
|
|
5
|
-
},
|
|
6
|
-
const
|
|
7
|
-
return (
|
|
8
|
-
}, []),
|
|
9
|
-
(
|
|
3
|
+
const s = 2147483648, r = 1103515245, n = 12345;
|
|
4
|
+
return () => (t = (r * t + n) % s, t / (s - 1));
|
|
5
|
+
}, Ei = (e, t, s) => Math.max(t, Math.min(e, s)), Ai = (e) => typeof e == "number", ji = (e, t) => e.reduce((s, r, n) => {
|
|
6
|
+
const a = Math.floor(n / t);
|
|
7
|
+
return (s[a] || (s[a] = [])).push(r), s;
|
|
8
|
+
}, []), Vi = (e, t) => e.reduce(
|
|
9
|
+
(s, r) => ((s[t(r)] = s[t(r)] || []).push(r), s),
|
|
10
10
|
{}
|
|
11
|
-
),
|
|
11
|
+
), Gi = (e, t) => [...e].sort((s, r) => t(s) < t(r) ? -1 : t(s) > t(r) ? 1 : 0), $i = (e, t, s = (r) => r) => e.filter((r) => t.some((n) => s(n) === s(r))), zi = (e, t, s = (r) => r) => e.filter((r) => !t.some((n) => s(n) === s(r))), Zi = (e, t) => [...new Set(e.map((s) => t(s)))], Bi = (e) => {
|
|
12
12
|
for (let t = e.length - 1; t > 0; t--) {
|
|
13
|
-
const
|
|
14
|
-
[e[t], e[
|
|
13
|
+
const s = Math.floor(Math.random() * (t + 1));
|
|
14
|
+
[e[t], e[s]] = [e[s], e[t]];
|
|
15
15
|
}
|
|
16
16
|
return e;
|
|
17
|
-
},
|
|
17
|
+
}, qi = (e) => e.filter((t) => t != null), Ji = (e, t, s) => [
|
|
18
18
|
...e,
|
|
19
|
-
...
|
|
20
|
-
],
|
|
21
|
-
|
|
19
|
+
...Rt(t, s)
|
|
20
|
+
], Qi = (e, t, s) => [...Rt(t, s), ...e], Xi = (e, t, s) => [...e, ...Ts(t, s)], Rt = (e, t) => t ? [e] : [], Ts = (e, t) => t ? e : [], bs = (e) => e[Os(0, e.length)], Ki = (e, t) => Array.from({
|
|
21
|
+
length: t
|
|
22
|
+
}).map(() => bs(e)).reduce((s, r) => ({ ...s, [r]: s[r] + 1 }), {}), eo = ({ start: e = 0, stop: t, step: s = 1 }) => {
|
|
23
|
+
if (s === 0)
|
|
22
24
|
throw new RangeError("step cannot be equal to 0");
|
|
23
|
-
if (
|
|
25
|
+
if (s > 0 && e >= t || s < 0 && e <= t)
|
|
24
26
|
return [];
|
|
25
|
-
const
|
|
26
|
-
for (let
|
|
27
|
-
|
|
28
|
-
return
|
|
29
|
-
},
|
|
30
|
-
const t = e.split(" "),
|
|
31
|
-
let
|
|
32
|
-
for (let
|
|
27
|
+
const n = [];
|
|
28
|
+
for (let a = e; s > 0 ? a < t : a > t; a += s)
|
|
29
|
+
n.push(a);
|
|
30
|
+
return n;
|
|
31
|
+
}, to = (e) => Object.fromEntries(e), xs = " ", Ws = " ", so = (e, t = "") => e.split(t).join(xs), ro = (e, t = "") => e.split(t).join(Ws), no = (e, t) => e.length > t ? e.slice(0, t - 3) + "..." : e, Ns = (e) => e && e[0].toUpperCase() + e.slice(1), Ft = (e) => e.split(" ").map(Ns).join(" "), ao = (e) => /^\d+$/.test(e), io = (e) => e !== Math.round(e) || e < 1 || e === 1 / 0 || e === -1 / 0 ? null : e === 1 ? "1er" : `${e}ème`, oo = (e) => e.trim().replace(/\s+/gi, " "), lo = (e) => {
|
|
32
|
+
const t = e.split(" "), r = ((n) => {
|
|
33
|
+
let a = 1 / 0;
|
|
34
|
+
for (let i = 0; i < n.length; i++) {
|
|
33
35
|
const u = Math.abs(
|
|
34
|
-
|
|
36
|
+
n.slice(0, i + 1).join(" ").length - n.slice(i + 1).join(" ").length
|
|
35
37
|
);
|
|
36
|
-
if (u <=
|
|
37
|
-
|
|
38
|
+
if (u <= a)
|
|
39
|
+
a = u;
|
|
38
40
|
else
|
|
39
|
-
return
|
|
41
|
+
return i - 1;
|
|
40
42
|
}
|
|
41
|
-
return
|
|
43
|
+
return a;
|
|
42
44
|
})(t);
|
|
43
|
-
return t.length === 1 ? [t[0]] : [t.slice(0,
|
|
44
|
-
(
|
|
45
|
+
return t.length === 1 ? [t[0]] : [t.slice(0, r + 1), t.slice(r + 1)].map(
|
|
46
|
+
(n) => n.join(" ")
|
|
45
47
|
);
|
|
46
|
-
},
|
|
48
|
+
}, Ps = (e) => typeof e == "string", Rs = (e) => {
|
|
47
49
|
const t = e.replace(
|
|
48
50
|
/[^a-zA-Z0-9]+(.)/g,
|
|
49
|
-
(
|
|
51
|
+
(s, r) => r.toUpperCase()
|
|
50
52
|
);
|
|
51
53
|
return `${t.charAt(0).toLowerCase()}${t.slice(1)}`;
|
|
52
|
-
},
|
|
53
|
-
const t =
|
|
54
|
+
}, uo = (e) => {
|
|
55
|
+
const t = Rs(e);
|
|
54
56
|
return `${t.charAt(0).toUpperCase()}${t.slice(1)}`;
|
|
55
|
-
},
|
|
57
|
+
}, ho = (e) => e != null, fo = (e) => Ps(e) ? /^[\],:{}\s]*$/.test(
|
|
56
58
|
e.replace(/\\["\\\/bfnrtu]/g, "@").replace(
|
|
57
59
|
/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
|
|
58
60
|
"]"
|
|
@@ -63,55 +65,55 @@ const In = (e) => new Intl.NumberFormat("de-DE").format(e), br = (e, t, r = Math
|
|
|
63
65
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
64
66
|
//! license : MIT
|
|
65
67
|
//! momentjs.com
|
|
66
|
-
var
|
|
68
|
+
var Lt;
|
|
67
69
|
function l() {
|
|
68
|
-
return
|
|
70
|
+
return Lt.apply(null, arguments);
|
|
69
71
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
+
function Fs(e) {
|
|
73
|
+
Lt = e;
|
|
72
74
|
}
|
|
73
|
-
function
|
|
75
|
+
function R(e) {
|
|
74
76
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
75
77
|
}
|
|
76
|
-
function
|
|
78
|
+
function se(e) {
|
|
77
79
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
78
80
|
}
|
|
79
|
-
function
|
|
81
|
+
function w(e, t) {
|
|
80
82
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
81
83
|
}
|
|
82
|
-
function
|
|
84
|
+
function rt(e) {
|
|
83
85
|
if (Object.getOwnPropertyNames)
|
|
84
86
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
85
87
|
var t;
|
|
86
88
|
for (t in e)
|
|
87
|
-
if (
|
|
89
|
+
if (w(e, t))
|
|
88
90
|
return !1;
|
|
89
91
|
return !0;
|
|
90
92
|
}
|
|
91
|
-
function
|
|
93
|
+
function T(e) {
|
|
92
94
|
return e === void 0;
|
|
93
95
|
}
|
|
94
|
-
function
|
|
96
|
+
function Z(e) {
|
|
95
97
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
|
96
98
|
}
|
|
97
|
-
function
|
|
99
|
+
function Se(e) {
|
|
98
100
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
99
101
|
}
|
|
100
|
-
function
|
|
101
|
-
var
|
|
102
|
-
for (
|
|
103
|
-
|
|
104
|
-
return
|
|
102
|
+
function Ct(e, t) {
|
|
103
|
+
var s = [], r, n = e.length;
|
|
104
|
+
for (r = 0; r < n; ++r)
|
|
105
|
+
s.push(t(e[r], r));
|
|
106
|
+
return s;
|
|
105
107
|
}
|
|
106
108
|
function Q(e, t) {
|
|
107
|
-
for (var
|
|
108
|
-
|
|
109
|
-
return
|
|
109
|
+
for (var s in t)
|
|
110
|
+
w(t, s) && (e[s] = t[s]);
|
|
111
|
+
return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
110
112
|
}
|
|
111
|
-
function U(e, t,
|
|
112
|
-
return
|
|
113
|
+
function U(e, t, s, r) {
|
|
114
|
+
return as(e, t, s, r, !0).utc();
|
|
113
115
|
}
|
|
114
|
-
function
|
|
116
|
+
function Ls() {
|
|
115
117
|
return {
|
|
116
118
|
empty: !1,
|
|
117
119
|
unusedTokens: [],
|
|
@@ -131,109 +133,109 @@ function Fr() {
|
|
|
131
133
|
weekdayMismatch: !1
|
|
132
134
|
};
|
|
133
135
|
}
|
|
134
|
-
function
|
|
135
|
-
return e._pf == null && (e._pf =
|
|
136
|
+
function c(e) {
|
|
137
|
+
return e._pf == null && (e._pf = Ls()), e._pf;
|
|
136
138
|
}
|
|
137
139
|
var Je;
|
|
138
140
|
Array.prototype.some ? Je = Array.prototype.some : Je = function(e) {
|
|
139
|
-
var t = Object(this),
|
|
140
|
-
for (
|
|
141
|
-
if (
|
|
141
|
+
var t = Object(this), s = t.length >>> 0, r;
|
|
142
|
+
for (r = 0; r < s; r++)
|
|
143
|
+
if (r in t && e.call(this, t[r], r, t))
|
|
142
144
|
return !0;
|
|
143
145
|
return !1;
|
|
144
146
|
};
|
|
145
|
-
function
|
|
146
|
-
var t = null,
|
|
147
|
-
if (
|
|
148
|
-
return
|
|
149
|
-
}),
|
|
150
|
-
e._isValid =
|
|
147
|
+
function nt(e) {
|
|
148
|
+
var t = null, s = !1, r = e._d && !isNaN(e._d.getTime());
|
|
149
|
+
if (r && (t = c(e), s = Je.call(t.parsedDateParts, function(n) {
|
|
150
|
+
return n != null;
|
|
151
|
+
}), r = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && s), e._strict && (r = r && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
|
|
152
|
+
e._isValid = r;
|
|
151
153
|
else
|
|
152
|
-
return
|
|
154
|
+
return r;
|
|
153
155
|
return e._isValid;
|
|
154
156
|
}
|
|
155
157
|
function Fe(e) {
|
|
156
158
|
var t = U(NaN);
|
|
157
|
-
return e != null ? Q(
|
|
158
|
-
}
|
|
159
|
-
var
|
|
160
|
-
function
|
|
161
|
-
var r,
|
|
162
|
-
if (
|
|
163
|
-
for (
|
|
164
|
-
|
|
159
|
+
return e != null ? Q(c(t), e) : c(t).userInvalidated = !0, t;
|
|
160
|
+
}
|
|
161
|
+
var Ot = l.momentProperties = [], $e = !1;
|
|
162
|
+
function at(e, t) {
|
|
163
|
+
var s, r, n, a = Ot.length;
|
|
164
|
+
if (T(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), T(t._i) || (e._i = t._i), T(t._f) || (e._f = t._f), T(t._l) || (e._l = t._l), T(t._strict) || (e._strict = t._strict), T(t._tzm) || (e._tzm = t._tzm), T(t._isUTC) || (e._isUTC = t._isUTC), T(t._offset) || (e._offset = t._offset), T(t._pf) || (e._pf = c(t)), T(t._locale) || (e._locale = t._locale), a > 0)
|
|
165
|
+
for (s = 0; s < a; s++)
|
|
166
|
+
r = Ot[s], n = t[r], T(n) || (e[r] = n);
|
|
165
167
|
return e;
|
|
166
168
|
}
|
|
167
|
-
function
|
|
168
|
-
|
|
169
|
+
function ke(e) {
|
|
170
|
+
at(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), $e === !1 && ($e = !0, l.updateOffset(this), $e = !1);
|
|
169
171
|
}
|
|
170
172
|
function F(e) {
|
|
171
|
-
return e instanceof
|
|
173
|
+
return e instanceof ke || e != null && e._isAMomentObject != null;
|
|
172
174
|
}
|
|
173
175
|
function It(e) {
|
|
174
176
|
l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
175
177
|
}
|
|
176
|
-
function
|
|
177
|
-
var
|
|
178
|
+
function W(e, t) {
|
|
179
|
+
var s = !0;
|
|
178
180
|
return Q(function() {
|
|
179
|
-
if (l.deprecationHandler != null && l.deprecationHandler(null, e),
|
|
180
|
-
var
|
|
181
|
-
for (
|
|
182
|
-
if (
|
|
183
|
-
|
|
184
|
-
[` +
|
|
185
|
-
for (
|
|
186
|
-
|
|
187
|
-
|
|
181
|
+
if (l.deprecationHandler != null && l.deprecationHandler(null, e), s) {
|
|
182
|
+
var r = [], n, a, i, u = arguments.length;
|
|
183
|
+
for (a = 0; a < u; a++) {
|
|
184
|
+
if (n = "", typeof arguments[a] == "object") {
|
|
185
|
+
n += `
|
|
186
|
+
[` + a + "] ";
|
|
187
|
+
for (i in arguments[0])
|
|
188
|
+
w(arguments[0], i) && (n += i + ": " + arguments[0][i] + ", ");
|
|
189
|
+
n = n.slice(0, -2);
|
|
188
190
|
} else
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
n = arguments[a];
|
|
192
|
+
r.push(n);
|
|
191
193
|
}
|
|
192
194
|
It(
|
|
193
195
|
e + `
|
|
194
|
-
Arguments: ` + Array.prototype.slice.call(
|
|
196
|
+
Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
195
197
|
` + new Error().stack
|
|
196
|
-
),
|
|
198
|
+
), s = !1;
|
|
197
199
|
}
|
|
198
200
|
return t.apply(this, arguments);
|
|
199
201
|
}, t);
|
|
200
202
|
}
|
|
201
|
-
var
|
|
203
|
+
var Tt = {};
|
|
202
204
|
function Ut(e, t) {
|
|
203
|
-
l.deprecationHandler != null && l.deprecationHandler(e, t),
|
|
205
|
+
l.deprecationHandler != null && l.deprecationHandler(e, t), Tt[e] || (It(t), Tt[e] = !0);
|
|
204
206
|
}
|
|
205
207
|
l.suppressDeprecationWarnings = !1;
|
|
206
208
|
l.deprecationHandler = null;
|
|
207
209
|
function H(e) {
|
|
208
210
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
209
211
|
}
|
|
210
|
-
function
|
|
211
|
-
var t,
|
|
212
|
-
for (
|
|
213
|
-
|
|
212
|
+
function Cs(e) {
|
|
213
|
+
var t, s;
|
|
214
|
+
for (s in e)
|
|
215
|
+
w(e, s) && (t = e[s], H(t) ? this[s] = t : this["_" + s] = t);
|
|
214
216
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
215
217
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
216
218
|
);
|
|
217
219
|
}
|
|
218
220
|
function Qe(e, t) {
|
|
219
|
-
var
|
|
220
|
-
for (
|
|
221
|
-
|
|
222
|
-
for (
|
|
223
|
-
|
|
224
|
-
return
|
|
221
|
+
var s = Q({}, e), r;
|
|
222
|
+
for (r in t)
|
|
223
|
+
w(t, r) && (se(e[r]) && se(t[r]) ? (s[r] = {}, Q(s[r], e[r]), Q(s[r], t[r])) : t[r] != null ? s[r] = t[r] : delete s[r]);
|
|
224
|
+
for (r in e)
|
|
225
|
+
w(e, r) && !w(t, r) && se(e[r]) && (s[r] = Q({}, s[r]));
|
|
226
|
+
return s;
|
|
225
227
|
}
|
|
226
|
-
function
|
|
228
|
+
function it(e) {
|
|
227
229
|
e != null && this.set(e);
|
|
228
230
|
}
|
|
229
|
-
var
|
|
230
|
-
Object.keys ?
|
|
231
|
-
var t,
|
|
231
|
+
var Xe;
|
|
232
|
+
Object.keys ? Xe = Object.keys : Xe = function(e) {
|
|
233
|
+
var t, s = [];
|
|
232
234
|
for (t in e)
|
|
233
|
-
|
|
234
|
-
return
|
|
235
|
+
w(e, t) && s.push(t);
|
|
236
|
+
return s;
|
|
235
237
|
};
|
|
236
|
-
var
|
|
238
|
+
var Is = {
|
|
237
239
|
sameDay: "[Today at] LT",
|
|
238
240
|
nextDay: "[Tomorrow at] LT",
|
|
239
241
|
nextWeek: "dddd [at] LT",
|
|
@@ -241,58 +243,58 @@ var Lr = {
|
|
|
241
243
|
lastWeek: "[Last] dddd [at] LT",
|
|
242
244
|
sameElse: "L"
|
|
243
245
|
};
|
|
244
|
-
function
|
|
245
|
-
var
|
|
246
|
-
return H(
|
|
247
|
-
}
|
|
248
|
-
function I(e, t,
|
|
249
|
-
var
|
|
250
|
-
return (
|
|
251
|
-
}
|
|
252
|
-
var ot = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
|
|
253
|
-
function
|
|
254
|
-
var
|
|
255
|
-
typeof
|
|
256
|
-
return this[
|
|
257
|
-
}), e && (oe[e] =
|
|
258
|
-
return I(
|
|
259
|
-
}),
|
|
246
|
+
function Us(e, t, s) {
|
|
247
|
+
var r = this._calendar[e] || this._calendar.sameElse;
|
|
248
|
+
return H(r) ? r.call(t, s) : r;
|
|
249
|
+
}
|
|
250
|
+
function I(e, t, s) {
|
|
251
|
+
var r = "" + Math.abs(e), n = t - r.length, a = e >= 0;
|
|
252
|
+
return (a ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, n)).toString().substr(1) + r;
|
|
253
|
+
}
|
|
254
|
+
var ot = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, ve = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, ze = {}, oe = {};
|
|
255
|
+
function h(e, t, s, r) {
|
|
256
|
+
var n = r;
|
|
257
|
+
typeof r == "string" && (n = function() {
|
|
258
|
+
return this[r]();
|
|
259
|
+
}), e && (oe[e] = n), t && (oe[t[0]] = function() {
|
|
260
|
+
return I(n.apply(this, arguments), t[1], t[2]);
|
|
261
|
+
}), s && (oe[s] = function() {
|
|
260
262
|
return this.localeData().ordinal(
|
|
261
|
-
|
|
263
|
+
n.apply(this, arguments),
|
|
262
264
|
e
|
|
263
265
|
);
|
|
264
266
|
});
|
|
265
267
|
}
|
|
266
|
-
function
|
|
268
|
+
function Hs(e) {
|
|
267
269
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
268
270
|
}
|
|
269
|
-
function
|
|
270
|
-
var t = e.match(ot),
|
|
271
|
-
for (
|
|
272
|
-
oe[t[
|
|
273
|
-
return function(
|
|
274
|
-
var
|
|
275
|
-
for (
|
|
276
|
-
|
|
277
|
-
return
|
|
271
|
+
function Es(e) {
|
|
272
|
+
var t = e.match(ot), s, r;
|
|
273
|
+
for (s = 0, r = t.length; s < r; s++)
|
|
274
|
+
oe[t[s]] ? t[s] = oe[t[s]] : t[s] = Hs(t[s]);
|
|
275
|
+
return function(n) {
|
|
276
|
+
var a = "", i;
|
|
277
|
+
for (i = 0; i < r; i++)
|
|
278
|
+
a += H(t[i]) ? t[i].call(n, e) : t[i];
|
|
279
|
+
return a;
|
|
278
280
|
};
|
|
279
281
|
}
|
|
280
|
-
function
|
|
281
|
-
return e.isValid() ? (t = Ht(t, e.localeData()),
|
|
282
|
+
function Oe(e, t) {
|
|
283
|
+
return e.isValid() ? (t = Ht(t, e.localeData()), ze[t] = ze[t] || Es(t), ze[t](e)) : e.localeData().invalidDate();
|
|
282
284
|
}
|
|
283
285
|
function Ht(e, t) {
|
|
284
|
-
var
|
|
285
|
-
function
|
|
286
|
-
return t.longDateFormat(
|
|
286
|
+
var s = 5;
|
|
287
|
+
function r(n) {
|
|
288
|
+
return t.longDateFormat(n) || n;
|
|
287
289
|
}
|
|
288
|
-
for (
|
|
290
|
+
for (ve.lastIndex = 0; s >= 0 && ve.test(e); )
|
|
289
291
|
e = e.replace(
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
),
|
|
292
|
+
ve,
|
|
293
|
+
r
|
|
294
|
+
), ve.lastIndex = 0, s -= 1;
|
|
293
295
|
return e;
|
|
294
296
|
}
|
|
295
|
-
var
|
|
297
|
+
var As = {
|
|
296
298
|
LTS: "h:mm:ss A",
|
|
297
299
|
LT: "h:mm A",
|
|
298
300
|
L: "MM/DD/YYYY",
|
|
@@ -300,21 +302,21 @@ var Er = {
|
|
|
300
302
|
LLL: "MMMM D, YYYY h:mm A",
|
|
301
303
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
302
304
|
};
|
|
303
|
-
function
|
|
304
|
-
var t = this._longDateFormat[e],
|
|
305
|
-
return t || !
|
|
306
|
-
return
|
|
305
|
+
function js(e) {
|
|
306
|
+
var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
|
|
307
|
+
return t || !s ? t : (this._longDateFormat[e] = s.match(ot).map(function(r) {
|
|
308
|
+
return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
|
|
307
309
|
}).join(""), this._longDateFormat[e]);
|
|
308
310
|
}
|
|
309
|
-
var
|
|
310
|
-
function
|
|
311
|
+
var Vs = "Invalid date";
|
|
312
|
+
function Gs() {
|
|
311
313
|
return this._invalidDate;
|
|
312
314
|
}
|
|
313
|
-
var
|
|
314
|
-
function
|
|
315
|
+
var $s = "%d", zs = /\d{1,2}/;
|
|
316
|
+
function Zs(e) {
|
|
315
317
|
return this._ordinal.replace("%d", e);
|
|
316
318
|
}
|
|
317
|
-
var
|
|
319
|
+
var Bs = {
|
|
318
320
|
future: "in %s",
|
|
319
321
|
past: "%s ago",
|
|
320
322
|
s: "a few seconds",
|
|
@@ -332,15 +334,15 @@ var qr = {
|
|
|
332
334
|
y: "a year",
|
|
333
335
|
yy: "%d years"
|
|
334
336
|
};
|
|
335
|
-
function
|
|
336
|
-
var
|
|
337
|
-
return H(
|
|
337
|
+
function qs(e, t, s, r) {
|
|
338
|
+
var n = this._relativeTime[s];
|
|
339
|
+
return H(n) ? n(e, t, s, r) : n.replace(/%d/i, e);
|
|
338
340
|
}
|
|
339
|
-
function
|
|
340
|
-
var
|
|
341
|
-
return H(
|
|
341
|
+
function Js(e, t) {
|
|
342
|
+
var s = this._relativeTime[e > 0 ? "future" : "past"];
|
|
343
|
+
return H(s) ? s(t) : s.replace(/%s/i, t);
|
|
342
344
|
}
|
|
343
|
-
var
|
|
345
|
+
var bt = {
|
|
344
346
|
D: "date",
|
|
345
347
|
dates: "date",
|
|
346
348
|
date: "date",
|
|
@@ -390,16 +392,16 @@ var Tt = {
|
|
|
390
392
|
years: "year",
|
|
391
393
|
year: "year"
|
|
392
394
|
};
|
|
393
|
-
function
|
|
394
|
-
return typeof e == "string" ?
|
|
395
|
+
function N(e) {
|
|
396
|
+
return typeof e == "string" ? bt[e] || bt[e.toLowerCase()] : void 0;
|
|
395
397
|
}
|
|
396
398
|
function lt(e) {
|
|
397
|
-
var t = {},
|
|
398
|
-
for (
|
|
399
|
-
|
|
399
|
+
var t = {}, s, r;
|
|
400
|
+
for (r in e)
|
|
401
|
+
w(e, r) && (s = N(r), s && (t[s] = e[r]));
|
|
400
402
|
return t;
|
|
401
403
|
}
|
|
402
|
-
var
|
|
404
|
+
var Qs = {
|
|
403
405
|
date: 9,
|
|
404
406
|
day: 11,
|
|
405
407
|
weekday: 11,
|
|
@@ -417,169 +419,169 @@ var Jr = {
|
|
|
417
419
|
isoWeek: 5,
|
|
418
420
|
year: 1
|
|
419
421
|
};
|
|
420
|
-
function
|
|
421
|
-
var t = [],
|
|
422
|
-
for (
|
|
423
|
-
|
|
424
|
-
return t.sort(function(
|
|
425
|
-
return
|
|
422
|
+
function Xs(e) {
|
|
423
|
+
var t = [], s;
|
|
424
|
+
for (s in e)
|
|
425
|
+
w(e, s) && t.push({ unit: s, priority: Qs[s] });
|
|
426
|
+
return t.sort(function(r, n) {
|
|
427
|
+
return r.priority - n.priority;
|
|
426
428
|
}), t;
|
|
427
429
|
}
|
|
428
|
-
var Et = /\d/,
|
|
430
|
+
var Et = /\d/, b = /\d\d/, At = /\d{3}/, ut = /\d{4}/, Le = /[+-]?\d{6}/, k = /\d\d?/, jt = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ce = /\d{1,3}/, dt = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, de = /\d+/, Ue = /[+-]?\d+/, Ks = /Z|[+-]\d\d:?\d\d/gi, He = /Z|[+-]\d\d(?::?\d\d)?/gi, er = /[+-]?\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, he = /^[1-9]\d?/, ht = /^([1-9]\d|\d)/, xe;
|
|
429
431
|
xe = {};
|
|
430
|
-
function d(e, t,
|
|
431
|
-
xe[e] = H(t) ? t : function(
|
|
432
|
-
return
|
|
432
|
+
function d(e, t, s) {
|
|
433
|
+
xe[e] = H(t) ? t : function(r, n) {
|
|
434
|
+
return r && s ? s : t;
|
|
433
435
|
};
|
|
434
436
|
}
|
|
435
|
-
function
|
|
436
|
-
return
|
|
437
|
+
function tr(e, t) {
|
|
438
|
+
return w(xe, e) ? xe[e](t._strict, t._locale) : new RegExp(sr(e));
|
|
437
439
|
}
|
|
438
|
-
function
|
|
439
|
-
return
|
|
440
|
+
function sr(e) {
|
|
441
|
+
return $(
|
|
440
442
|
e.replace("\\", "").replace(
|
|
441
443
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
442
|
-
function(t, r,
|
|
443
|
-
return
|
|
444
|
+
function(t, s, r, n, a) {
|
|
445
|
+
return s || r || n || a;
|
|
444
446
|
}
|
|
445
447
|
)
|
|
446
448
|
);
|
|
447
449
|
}
|
|
448
|
-
function
|
|
450
|
+
function $(e) {
|
|
449
451
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
450
452
|
}
|
|
451
453
|
function x(e) {
|
|
452
454
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
453
455
|
}
|
|
454
|
-
function
|
|
455
|
-
var t = +e,
|
|
456
|
-
return t !== 0 && isFinite(t) && (
|
|
457
|
-
}
|
|
458
|
-
var
|
|
459
|
-
function
|
|
460
|
-
var
|
|
461
|
-
for (typeof e == "string" && (e = [e]),
|
|
462
|
-
|
|
463
|
-
}),
|
|
464
|
-
|
|
465
|
-
}
|
|
466
|
-
function
|
|
467
|
-
|
|
468
|
-
|
|
456
|
+
function m(e) {
|
|
457
|
+
var t = +e, s = 0;
|
|
458
|
+
return t !== 0 && isFinite(t) && (s = x(t)), s;
|
|
459
|
+
}
|
|
460
|
+
var Ke = {};
|
|
461
|
+
function g(e, t) {
|
|
462
|
+
var s, r = t, n;
|
|
463
|
+
for (typeof e == "string" && (e = [e]), Z(t) && (r = function(a, i) {
|
|
464
|
+
i[t] = m(a);
|
|
465
|
+
}), n = e.length, s = 0; s < n; s++)
|
|
466
|
+
Ke[e[s]] = r;
|
|
467
|
+
}
|
|
468
|
+
function pe(e, t) {
|
|
469
|
+
g(e, function(s, r, n, a) {
|
|
470
|
+
n._w = n._w || {}, t(s, n._w, n, a);
|
|
469
471
|
});
|
|
470
472
|
}
|
|
471
|
-
function
|
|
472
|
-
t != null &&
|
|
473
|
+
function rr(e, t, s) {
|
|
474
|
+
t != null && w(Ke, e) && Ke[e](t, s._a, s, e);
|
|
473
475
|
}
|
|
474
476
|
function Ee(e) {
|
|
475
477
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
476
478
|
}
|
|
477
|
-
var Y = 0,
|
|
478
|
-
|
|
479
|
+
var Y = 0, V = 1, C = 2, v = 3, P = 4, G = 5, te = 6, nr = 7, ar = 8;
|
|
480
|
+
h("Y", 0, 0, function() {
|
|
479
481
|
var e = this.year();
|
|
480
482
|
return e <= 9999 ? I(e, 4) : "+" + e;
|
|
481
483
|
});
|
|
482
|
-
|
|
484
|
+
h(0, ["YY", 2], 0, function() {
|
|
483
485
|
return this.year() % 100;
|
|
484
486
|
});
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
487
|
+
h(0, ["YYYY", 4], 0, "year");
|
|
488
|
+
h(0, ["YYYYY", 5], 0, "year");
|
|
489
|
+
h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
488
490
|
d("Y", Ue);
|
|
489
|
-
d("YY",
|
|
491
|
+
d("YY", k, b);
|
|
490
492
|
d("YYYY", dt, ut);
|
|
491
|
-
d("YYYYY", Ie,
|
|
492
|
-
d("YYYYYY", Ie,
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) :
|
|
493
|
+
d("YYYYY", Ie, Le);
|
|
494
|
+
d("YYYYYY", Ie, Le);
|
|
495
|
+
g(["YYYYY", "YYYYYY"], Y);
|
|
496
|
+
g("YYYY", function(e, t) {
|
|
497
|
+
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
|
496
498
|
});
|
|
497
|
-
|
|
499
|
+
g("YY", function(e, t) {
|
|
498
500
|
t[Y] = l.parseTwoDigitYear(e);
|
|
499
501
|
});
|
|
500
|
-
|
|
502
|
+
g("Y", function(e, t) {
|
|
501
503
|
t[Y] = parseInt(e, 10);
|
|
502
504
|
});
|
|
503
|
-
function
|
|
505
|
+
function _e(e) {
|
|
504
506
|
return Ee(e) ? 366 : 365;
|
|
505
507
|
}
|
|
506
508
|
l.parseTwoDigitYear = function(e) {
|
|
507
|
-
return
|
|
509
|
+
return m(e) + (m(e) > 68 ? 1900 : 2e3);
|
|
508
510
|
};
|
|
509
|
-
var
|
|
510
|
-
function
|
|
511
|
+
var Gt = fe("FullYear", !0);
|
|
512
|
+
function ir() {
|
|
511
513
|
return Ee(this.year());
|
|
512
514
|
}
|
|
513
515
|
function fe(e, t) {
|
|
514
|
-
return function(
|
|
515
|
-
return
|
|
516
|
+
return function(s) {
|
|
517
|
+
return s != null ? ($t(this, e, s), l.updateOffset(this, t), this) : ye(this, e);
|
|
516
518
|
};
|
|
517
519
|
}
|
|
518
520
|
function ye(e, t) {
|
|
519
521
|
if (!e.isValid())
|
|
520
522
|
return NaN;
|
|
521
|
-
var
|
|
523
|
+
var s = e._d, r = e._isUTC;
|
|
522
524
|
switch (t) {
|
|
523
525
|
case "Milliseconds":
|
|
524
|
-
return
|
|
526
|
+
return r ? s.getUTCMilliseconds() : s.getMilliseconds();
|
|
525
527
|
case "Seconds":
|
|
526
|
-
return
|
|
528
|
+
return r ? s.getUTCSeconds() : s.getSeconds();
|
|
527
529
|
case "Minutes":
|
|
528
|
-
return
|
|
530
|
+
return r ? s.getUTCMinutes() : s.getMinutes();
|
|
529
531
|
case "Hours":
|
|
530
|
-
return
|
|
532
|
+
return r ? s.getUTCHours() : s.getHours();
|
|
531
533
|
case "Date":
|
|
532
|
-
return
|
|
534
|
+
return r ? s.getUTCDate() : s.getDate();
|
|
533
535
|
case "Day":
|
|
534
|
-
return
|
|
536
|
+
return r ? s.getUTCDay() : s.getDay();
|
|
535
537
|
case "Month":
|
|
536
|
-
return
|
|
538
|
+
return r ? s.getUTCMonth() : s.getMonth();
|
|
537
539
|
case "FullYear":
|
|
538
|
-
return
|
|
540
|
+
return r ? s.getUTCFullYear() : s.getFullYear();
|
|
539
541
|
default:
|
|
540
542
|
return NaN;
|
|
541
543
|
}
|
|
542
544
|
}
|
|
543
|
-
function
|
|
544
|
-
var
|
|
545
|
-
if (!(!e.isValid() || isNaN(
|
|
546
|
-
switch (
|
|
545
|
+
function $t(e, t, s) {
|
|
546
|
+
var r, n, a, i, u;
|
|
547
|
+
if (!(!e.isValid() || isNaN(s))) {
|
|
548
|
+
switch (r = e._d, n = e._isUTC, t) {
|
|
547
549
|
case "Milliseconds":
|
|
548
|
-
return void (
|
|
550
|
+
return void (n ? r.setUTCMilliseconds(s) : r.setMilliseconds(s));
|
|
549
551
|
case "Seconds":
|
|
550
|
-
return void (
|
|
552
|
+
return void (n ? r.setUTCSeconds(s) : r.setSeconds(s));
|
|
551
553
|
case "Minutes":
|
|
552
|
-
return void (
|
|
554
|
+
return void (n ? r.setUTCMinutes(s) : r.setMinutes(s));
|
|
553
555
|
case "Hours":
|
|
554
|
-
return void (
|
|
556
|
+
return void (n ? r.setUTCHours(s) : r.setHours(s));
|
|
555
557
|
case "Date":
|
|
556
|
-
return void (
|
|
558
|
+
return void (n ? r.setUTCDate(s) : r.setDate(s));
|
|
557
559
|
case "FullYear":
|
|
558
560
|
break;
|
|
559
561
|
default:
|
|
560
562
|
return;
|
|
561
563
|
}
|
|
562
|
-
|
|
564
|
+
a = s, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !Ee(a) ? 28 : u, n ? r.setUTCFullYear(a, i, u) : r.setFullYear(a, i, u);
|
|
563
565
|
}
|
|
564
566
|
}
|
|
565
|
-
function
|
|
566
|
-
return e =
|
|
567
|
+
function or(e) {
|
|
568
|
+
return e = N(e), H(this[e]) ? this[e]() : this;
|
|
567
569
|
}
|
|
568
|
-
function
|
|
570
|
+
function lr(e, t) {
|
|
569
571
|
if (typeof e == "object") {
|
|
570
572
|
e = lt(e);
|
|
571
|
-
var
|
|
572
|
-
for (
|
|
573
|
-
this[r
|
|
574
|
-
} else if (e =
|
|
573
|
+
var s = Xs(e), r, n = s.length;
|
|
574
|
+
for (r = 0; r < n; r++)
|
|
575
|
+
this[s[r].unit](e[s[r].unit]);
|
|
576
|
+
} else if (e = N(e), H(this[e]))
|
|
575
577
|
return this[e](t);
|
|
576
578
|
return this;
|
|
577
579
|
}
|
|
578
|
-
function
|
|
580
|
+
function ur(e, t) {
|
|
579
581
|
return (e % t + t) % t;
|
|
580
582
|
}
|
|
581
|
-
var
|
|
582
|
-
Array.prototype.indexOf ?
|
|
583
|
+
var p;
|
|
584
|
+
Array.prototype.indexOf ? p = Array.prototype.indexOf : p = function(e) {
|
|
583
585
|
var t;
|
|
584
586
|
for (t = 0; t < this.length; ++t)
|
|
585
587
|
if (this[t] === e)
|
|
@@ -589,190 +591,190 @@ Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
|
|
|
589
591
|
function ft(e, t) {
|
|
590
592
|
if (isNaN(e) || isNaN(t))
|
|
591
593
|
return NaN;
|
|
592
|
-
var
|
|
593
|
-
return e += (t -
|
|
594
|
+
var s = ur(t, 12);
|
|
595
|
+
return e += (t - s) / 12, s === 1 ? Ee(e) ? 29 : 28 : 31 - s % 7 % 2;
|
|
594
596
|
}
|
|
595
|
-
|
|
597
|
+
h("M", ["MM", 2], "Mo", function() {
|
|
596
598
|
return this.month() + 1;
|
|
597
599
|
});
|
|
598
|
-
|
|
600
|
+
h("MMM", 0, 0, function(e) {
|
|
599
601
|
return this.localeData().monthsShort(this, e);
|
|
600
602
|
});
|
|
601
|
-
|
|
603
|
+
h("MMMM", 0, 0, function(e) {
|
|
602
604
|
return this.localeData().months(this, e);
|
|
603
605
|
});
|
|
604
|
-
d("M",
|
|
605
|
-
d("MM",
|
|
606
|
+
d("M", k, he);
|
|
607
|
+
d("MM", k, b);
|
|
606
608
|
d("MMM", function(e, t) {
|
|
607
609
|
return t.monthsShortRegex(e);
|
|
608
610
|
});
|
|
609
611
|
d("MMMM", function(e, t) {
|
|
610
612
|
return t.monthsRegex(e);
|
|
611
613
|
});
|
|
612
|
-
|
|
613
|
-
t[
|
|
614
|
+
g(["M", "MM"], function(e, t) {
|
|
615
|
+
t[V] = m(e) - 1;
|
|
614
616
|
});
|
|
615
|
-
|
|
616
|
-
var
|
|
617
|
-
|
|
617
|
+
g(["MMM", "MMMM"], function(e, t, s, r) {
|
|
618
|
+
var n = s._locale.monthsParse(e, r, s._strict);
|
|
619
|
+
n != null ? t[V] = n : c(s).invalidMonth = e;
|
|
618
620
|
});
|
|
619
|
-
var
|
|
621
|
+
var dr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
620
622
|
"_"
|
|
621
|
-
),
|
|
622
|
-
function
|
|
623
|
-
return e ?
|
|
623
|
+
), zt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Zt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, hr = De, fr = De;
|
|
624
|
+
function cr(e, t) {
|
|
625
|
+
return e ? R(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Zt).test(t) ? "format" : "standalone"][e.month()] : R(this._months) ? this._months : this._months.standalone;
|
|
624
626
|
}
|
|
625
|
-
function
|
|
626
|
-
return e ?
|
|
627
|
+
function mr(e, t) {
|
|
628
|
+
return e ? R(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Zt.test(t) ? "format" : "standalone"][e.month()] : R(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
627
629
|
}
|
|
628
|
-
function
|
|
629
|
-
var
|
|
630
|
+
function _r(e, t, s) {
|
|
631
|
+
var r, n, a, i = e.toLocaleLowerCase();
|
|
630
632
|
if (!this._monthsParse)
|
|
631
|
-
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [],
|
|
632
|
-
|
|
633
|
-
|
|
633
|
+
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
634
|
+
a = U([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
|
|
635
|
+
a,
|
|
634
636
|
""
|
|
635
|
-
).toLocaleLowerCase(), this._longMonthsParse[
|
|
636
|
-
return
|
|
637
|
+
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(a, "").toLocaleLowerCase();
|
|
638
|
+
return s ? t === "MMM" ? (n = p.call(this._shortMonthsParse, i), n !== -1 ? n : null) : (n = p.call(this._longMonthsParse, i), n !== -1 ? n : null) : t === "MMM" ? (n = p.call(this._shortMonthsParse, i), n !== -1 ? n : (n = p.call(this._longMonthsParse, i), n !== -1 ? n : null)) : (n = p.call(this._longMonthsParse, i), n !== -1 ? n : (n = p.call(this._shortMonthsParse, i), n !== -1 ? n : null));
|
|
637
639
|
}
|
|
638
|
-
function
|
|
639
|
-
var
|
|
640
|
+
function yr(e, t, s) {
|
|
641
|
+
var r, n, a;
|
|
640
642
|
if (this._monthsParseExact)
|
|
641
|
-
return
|
|
642
|
-
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []),
|
|
643
|
-
if (
|
|
644
|
-
"^" + this.months(
|
|
643
|
+
return _r.call(this, e, t, s);
|
|
644
|
+
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
|
|
645
|
+
if (n = U([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
646
|
+
"^" + this.months(n, "").replace(".", "") + "$",
|
|
645
647
|
"i"
|
|
646
|
-
), this._shortMonthsParse[
|
|
647
|
-
"^" + this.monthsShort(
|
|
648
|
+
), this._shortMonthsParse[r] = new RegExp(
|
|
649
|
+
"^" + this.monthsShort(n, "").replace(".", "") + "$",
|
|
648
650
|
"i"
|
|
649
|
-
)), !
|
|
650
|
-
return
|
|
651
|
-
if (
|
|
652
|
-
return
|
|
653
|
-
if (!
|
|
654
|
-
return
|
|
651
|
+
)), !s && !this._monthsParse[r] && (a = "^" + this.months(n, "") + "|^" + this.monthsShort(n, ""), this._monthsParse[r] = new RegExp(a.replace(".", ""), "i")), s && t === "MMMM" && this._longMonthsParse[r].test(e))
|
|
652
|
+
return r;
|
|
653
|
+
if (s && t === "MMM" && this._shortMonthsParse[r].test(e))
|
|
654
|
+
return r;
|
|
655
|
+
if (!s && this._monthsParse[r].test(e))
|
|
656
|
+
return r;
|
|
655
657
|
}
|
|
656
658
|
}
|
|
657
|
-
function
|
|
659
|
+
function Bt(e, t) {
|
|
658
660
|
if (!e.isValid())
|
|
659
661
|
return e;
|
|
660
662
|
if (typeof t == "string") {
|
|
661
663
|
if (/^\d+$/.test(t))
|
|
662
|
-
t =
|
|
663
|
-
else if (t = e.localeData().monthsParse(t), !
|
|
664
|
+
t = m(t);
|
|
665
|
+
else if (t = e.localeData().monthsParse(t), !Z(t))
|
|
664
666
|
return e;
|
|
665
667
|
}
|
|
666
|
-
var
|
|
667
|
-
return
|
|
668
|
+
var s = t, r = e.date();
|
|
669
|
+
return r = r < 29 ? r : Math.min(r, ft(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
|
|
668
670
|
}
|
|
669
|
-
function
|
|
670
|
-
return e != null ? (
|
|
671
|
+
function qt(e) {
|
|
672
|
+
return e != null ? (Bt(this, e), l.updateOffset(this, !0), this) : ye(this, "Month");
|
|
671
673
|
}
|
|
672
|
-
function
|
|
674
|
+
function wr() {
|
|
673
675
|
return ft(this.year(), this.month());
|
|
674
676
|
}
|
|
675
|
-
function
|
|
676
|
-
return this._monthsParseExact ? (
|
|
677
|
+
function Mr(e) {
|
|
678
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Jt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = hr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
677
679
|
}
|
|
678
|
-
function
|
|
679
|
-
return this._monthsParseExact ? (
|
|
680
|
+
function gr(e) {
|
|
681
|
+
return this._monthsParseExact ? (w(this, "_monthsRegex") || Jt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = fr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
680
682
|
}
|
|
681
683
|
function Jt() {
|
|
682
|
-
function e(f,
|
|
683
|
-
return
|
|
684
|
+
function e(f, _) {
|
|
685
|
+
return _.length - f.length;
|
|
684
686
|
}
|
|
685
|
-
var t = [],
|
|
686
|
-
for (
|
|
687
|
-
|
|
688
|
-
t.sort(e),
|
|
689
|
-
"^(" +
|
|
687
|
+
var t = [], s = [], r = [], n, a, i, u;
|
|
688
|
+
for (n = 0; n < 12; n++)
|
|
689
|
+
a = U([2e3, n]), i = $(this.monthsShort(a, "")), u = $(this.months(a, "")), t.push(i), s.push(u), r.push(u), r.push(i);
|
|
690
|
+
t.sort(e), s.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
691
|
+
"^(" + s.join("|") + ")",
|
|
690
692
|
"i"
|
|
691
693
|
), this._monthsShortStrictRegex = new RegExp(
|
|
692
694
|
"^(" + t.join("|") + ")",
|
|
693
695
|
"i"
|
|
694
696
|
);
|
|
695
697
|
}
|
|
696
|
-
function
|
|
698
|
+
function Sr(e, t, s, r, n, a, i) {
|
|
697
699
|
var u;
|
|
698
|
-
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r,
|
|
700
|
+
return e < 100 && e >= 0 ? (u = new Date(e + 400, t, s, r, n, a, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, s, r, n, a, i), u;
|
|
699
701
|
}
|
|
700
|
-
function
|
|
701
|
-
var t,
|
|
702
|
-
return e < 100 && e >= 0 ? (
|
|
702
|
+
function we(e) {
|
|
703
|
+
var t, s;
|
|
704
|
+
return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
703
705
|
}
|
|
704
|
-
function
|
|
705
|
-
var
|
|
706
|
-
return -
|
|
706
|
+
function We(e, t, s) {
|
|
707
|
+
var r = 7 + t - s, n = (7 + we(e, 0, r).getUTCDay() - t) % 7;
|
|
708
|
+
return -n + r - 1;
|
|
707
709
|
}
|
|
708
|
-
function Qt(e, t,
|
|
709
|
-
var
|
|
710
|
-
return u <= 0 ? (f = e - 1,
|
|
710
|
+
function Qt(e, t, s, r, n) {
|
|
711
|
+
var a = (7 + s - r) % 7, i = We(e, r, n), u = 1 + 7 * (t - 1) + a + i, f, _;
|
|
712
|
+
return u <= 0 ? (f = e - 1, _ = _e(f) + u) : u > _e(e) ? (f = e + 1, _ = u - _e(e)) : (f = e, _ = u), {
|
|
711
713
|
year: f,
|
|
712
|
-
dayOfYear:
|
|
714
|
+
dayOfYear: _
|
|
713
715
|
};
|
|
714
716
|
}
|
|
715
|
-
function
|
|
716
|
-
var
|
|
717
|
-
return
|
|
718
|
-
week:
|
|
719
|
-
year:
|
|
717
|
+
function Me(e, t, s) {
|
|
718
|
+
var r = We(e.year(), t, s), n = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, a, i;
|
|
719
|
+
return n < 1 ? (i = e.year() - 1, a = n + z(i, t, s)) : n > z(e.year(), t, s) ? (a = n - z(e.year(), t, s), i = e.year() + 1) : (i = e.year(), a = n), {
|
|
720
|
+
week: a,
|
|
721
|
+
year: i
|
|
720
722
|
};
|
|
721
723
|
}
|
|
722
|
-
function
|
|
723
|
-
var
|
|
724
|
-
return (
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
d("w",
|
|
729
|
-
d("ww",
|
|
730
|
-
d("W",
|
|
731
|
-
d("WW",
|
|
732
|
-
|
|
724
|
+
function z(e, t, s) {
|
|
725
|
+
var r = We(e, t, s), n = We(e + 1, t, s);
|
|
726
|
+
return (_e(e) - r + n) / 7;
|
|
727
|
+
}
|
|
728
|
+
h("w", ["ww", 2], "wo", "week");
|
|
729
|
+
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
730
|
+
d("w", k, he);
|
|
731
|
+
d("ww", k, b);
|
|
732
|
+
d("W", k, he);
|
|
733
|
+
d("WW", k, b);
|
|
734
|
+
pe(
|
|
733
735
|
["w", "ww", "W", "WW"],
|
|
734
|
-
function(e, t,
|
|
735
|
-
t[
|
|
736
|
+
function(e, t, s, r) {
|
|
737
|
+
t[r.substr(0, 1)] = m(e);
|
|
736
738
|
}
|
|
737
739
|
);
|
|
738
|
-
function
|
|
739
|
-
return
|
|
740
|
+
function kr(e) {
|
|
741
|
+
return Me(e, this._week.dow, this._week.doy).week;
|
|
740
742
|
}
|
|
741
|
-
var
|
|
743
|
+
var Dr = {
|
|
742
744
|
dow: 0,
|
|
743
745
|
// Sunday is the first day of the week.
|
|
744
746
|
doy: 6
|
|
745
747
|
// The week that contains Jan 6th is the first week of the year.
|
|
746
748
|
};
|
|
747
|
-
function
|
|
749
|
+
function pr() {
|
|
748
750
|
return this._week.dow;
|
|
749
751
|
}
|
|
750
|
-
function
|
|
752
|
+
function vr() {
|
|
751
753
|
return this._week.doy;
|
|
752
754
|
}
|
|
753
|
-
function
|
|
755
|
+
function Yr(e) {
|
|
754
756
|
var t = this.localeData().week(this);
|
|
755
757
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
756
758
|
}
|
|
757
|
-
function
|
|
758
|
-
var t =
|
|
759
|
+
function Or(e) {
|
|
760
|
+
var t = Me(this, 1, 4).week;
|
|
759
761
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
760
762
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
+
h("d", 0, "do", "day");
|
|
764
|
+
h("dd", 0, 0, function(e) {
|
|
763
765
|
return this.localeData().weekdaysMin(this, e);
|
|
764
766
|
});
|
|
765
|
-
|
|
767
|
+
h("ddd", 0, 0, function(e) {
|
|
766
768
|
return this.localeData().weekdaysShort(this, e);
|
|
767
769
|
});
|
|
768
|
-
|
|
770
|
+
h("dddd", 0, 0, function(e) {
|
|
769
771
|
return this.localeData().weekdays(this, e);
|
|
770
772
|
});
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
d("d",
|
|
774
|
-
d("e",
|
|
775
|
-
d("E",
|
|
773
|
+
h("e", 0, 0, "weekday");
|
|
774
|
+
h("E", 0, 0, "isoWeekday");
|
|
775
|
+
d("d", k);
|
|
776
|
+
d("e", k);
|
|
777
|
+
d("E", k);
|
|
776
778
|
d("dd", function(e, t) {
|
|
777
779
|
return t.weekdaysMinRegex(e);
|
|
778
780
|
});
|
|
@@ -782,141 +784,141 @@ d("ddd", function(e, t) {
|
|
|
782
784
|
d("dddd", function(e, t) {
|
|
783
785
|
return t.weekdaysRegex(e);
|
|
784
786
|
});
|
|
785
|
-
|
|
786
|
-
var
|
|
787
|
-
|
|
787
|
+
pe(["dd", "ddd", "dddd"], function(e, t, s, r) {
|
|
788
|
+
var n = s._locale.weekdaysParse(e, r, s._strict);
|
|
789
|
+
n != null ? t.d = n : c(s).invalidWeekday = e;
|
|
788
790
|
});
|
|
789
|
-
|
|
790
|
-
t[
|
|
791
|
+
pe(["d", "e", "E"], function(e, t, s, r) {
|
|
792
|
+
t[r] = m(e);
|
|
791
793
|
});
|
|
792
|
-
function
|
|
794
|
+
function Tr(e, t) {
|
|
793
795
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
794
796
|
}
|
|
795
|
-
function
|
|
797
|
+
function br(e, t) {
|
|
796
798
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
797
799
|
}
|
|
798
|
-
function
|
|
800
|
+
function ct(e, t) {
|
|
799
801
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
800
802
|
}
|
|
801
|
-
var
|
|
802
|
-
function
|
|
803
|
-
var
|
|
804
|
-
return e === !0 ?
|
|
803
|
+
var xr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Wr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Nr = De, Pr = De, Rr = De;
|
|
804
|
+
function Fr(e, t) {
|
|
805
|
+
var s = R(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
806
|
+
return e === !0 ? ct(s, this._week.dow) : e ? s[e.day()] : s;
|
|
805
807
|
}
|
|
806
|
-
function
|
|
807
|
-
return e === !0 ?
|
|
808
|
+
function Lr(e) {
|
|
809
|
+
return e === !0 ? ct(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
808
810
|
}
|
|
809
|
-
function
|
|
810
|
-
return e === !0 ?
|
|
811
|
+
function Cr(e) {
|
|
812
|
+
return e === !0 ? ct(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
811
813
|
}
|
|
812
|
-
function
|
|
813
|
-
var
|
|
814
|
+
function Ir(e, t, s) {
|
|
815
|
+
var r, n, a, i = e.toLocaleLowerCase();
|
|
814
816
|
if (!this._weekdaysParse)
|
|
815
|
-
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [],
|
|
816
|
-
|
|
817
|
-
|
|
817
|
+
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
818
|
+
a = U([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
|
|
819
|
+
a,
|
|
818
820
|
""
|
|
819
|
-
).toLocaleLowerCase(), this._shortWeekdaysParse[
|
|
820
|
-
|
|
821
|
+
).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
|
|
822
|
+
a,
|
|
821
823
|
""
|
|
822
|
-
).toLocaleLowerCase(), this._weekdaysParse[
|
|
823
|
-
return
|
|
824
|
+
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(a, "").toLocaleLowerCase();
|
|
825
|
+
return s ? t === "dddd" ? (n = p.call(this._weekdaysParse, i), n !== -1 ? n : null) : t === "ddd" ? (n = p.call(this._shortWeekdaysParse, i), n !== -1 ? n : null) : (n = p.call(this._minWeekdaysParse, i), n !== -1 ? n : null) : t === "dddd" ? (n = p.call(this._weekdaysParse, i), n !== -1 || (n = p.call(this._shortWeekdaysParse, i), n !== -1) ? n : (n = p.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : t === "ddd" ? (n = p.call(this._shortWeekdaysParse, i), n !== -1 || (n = p.call(this._weekdaysParse, i), n !== -1) ? n : (n = p.call(this._minWeekdaysParse, i), n !== -1 ? n : null)) : (n = p.call(this._minWeekdaysParse, i), n !== -1 || (n = p.call(this._weekdaysParse, i), n !== -1) ? n : (n = p.call(this._shortWeekdaysParse, i), n !== -1 ? n : null));
|
|
824
826
|
}
|
|
825
|
-
function
|
|
826
|
-
var
|
|
827
|
+
function Ur(e, t, s) {
|
|
828
|
+
var r, n, a;
|
|
827
829
|
if (this._weekdaysParseExact)
|
|
828
|
-
return
|
|
829
|
-
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []),
|
|
830
|
-
if (
|
|
831
|
-
"^" + this.weekdays(
|
|
830
|
+
return Ir.call(this, e, t, s);
|
|
831
|
+
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
|
|
832
|
+
if (n = U([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
833
|
+
"^" + this.weekdays(n, "").replace(".", "\\.?") + "$",
|
|
832
834
|
"i"
|
|
833
|
-
), this._shortWeekdaysParse[
|
|
834
|
-
"^" + this.weekdaysShort(
|
|
835
|
+
), this._shortWeekdaysParse[r] = new RegExp(
|
|
836
|
+
"^" + this.weekdaysShort(n, "").replace(".", "\\.?") + "$",
|
|
835
837
|
"i"
|
|
836
|
-
), this._minWeekdaysParse[
|
|
837
|
-
"^" + this.weekdaysMin(
|
|
838
|
+
), this._minWeekdaysParse[r] = new RegExp(
|
|
839
|
+
"^" + this.weekdaysMin(n, "").replace(".", "\\.?") + "$",
|
|
838
840
|
"i"
|
|
839
|
-
)), this._weekdaysParse[
|
|
840
|
-
return
|
|
841
|
-
if (
|
|
842
|
-
return
|
|
843
|
-
if (
|
|
844
|
-
return
|
|
845
|
-
if (!
|
|
846
|
-
return
|
|
841
|
+
)), this._weekdaysParse[r] || (a = "^" + this.weekdays(n, "") + "|^" + this.weekdaysShort(n, "") + "|^" + this.weekdaysMin(n, ""), this._weekdaysParse[r] = new RegExp(a.replace(".", ""), "i")), s && t === "dddd" && this._fullWeekdaysParse[r].test(e))
|
|
842
|
+
return r;
|
|
843
|
+
if (s && t === "ddd" && this._shortWeekdaysParse[r].test(e))
|
|
844
|
+
return r;
|
|
845
|
+
if (s && t === "dd" && this._minWeekdaysParse[r].test(e))
|
|
846
|
+
return r;
|
|
847
|
+
if (!s && this._weekdaysParse[r].test(e))
|
|
848
|
+
return r;
|
|
847
849
|
}
|
|
848
850
|
}
|
|
849
|
-
function
|
|
851
|
+
function Hr(e) {
|
|
850
852
|
if (!this.isValid())
|
|
851
853
|
return e != null ? this : NaN;
|
|
852
854
|
var t = ye(this, "Day");
|
|
853
|
-
return e != null ? (e =
|
|
855
|
+
return e != null ? (e = Tr(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
854
856
|
}
|
|
855
|
-
function
|
|
857
|
+
function Er(e) {
|
|
856
858
|
if (!this.isValid())
|
|
857
859
|
return e != null ? this : NaN;
|
|
858
860
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
859
861
|
return e == null ? t : this.add(e - t, "d");
|
|
860
862
|
}
|
|
861
|
-
function
|
|
863
|
+
function Ar(e) {
|
|
862
864
|
if (!this.isValid())
|
|
863
865
|
return e != null ? this : NaN;
|
|
864
866
|
if (e != null) {
|
|
865
|
-
var t =
|
|
867
|
+
var t = br(e, this.localeData());
|
|
866
868
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
867
869
|
} else
|
|
868
870
|
return this.day() || 7;
|
|
869
871
|
}
|
|
870
|
-
function
|
|
871
|
-
return this._weekdaysParseExact ? (
|
|
872
|
+
function jr(e) {
|
|
873
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = Nr), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
872
874
|
}
|
|
873
|
-
function
|
|
874
|
-
return this._weekdaysParseExact ? (
|
|
875
|
+
function Vr(e) {
|
|
876
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Pr), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
875
877
|
}
|
|
876
|
-
function
|
|
877
|
-
return this._weekdaysParseExact ? (
|
|
878
|
+
function Gr(e) {
|
|
879
|
+
return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Rr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
878
880
|
}
|
|
879
|
-
function
|
|
880
|
-
function e(
|
|
881
|
-
return E.length -
|
|
881
|
+
function mt() {
|
|
882
|
+
function e(O, E) {
|
|
883
|
+
return E.length - O.length;
|
|
882
884
|
}
|
|
883
|
-
var t = [],
|
|
884
|
-
for (
|
|
885
|
-
|
|
886
|
-
t.sort(e),
|
|
887
|
-
"^(" +
|
|
885
|
+
var t = [], s = [], r = [], n = [], a, i, u, f, _;
|
|
886
|
+
for (a = 0; a < 7; a++)
|
|
887
|
+
i = U([2e3, 1]).day(a), u = $(this.weekdaysMin(i, "")), f = $(this.weekdaysShort(i, "")), _ = $(this.weekdays(i, "")), t.push(u), s.push(f), r.push(_), n.push(u), n.push(f), n.push(_);
|
|
888
|
+
t.sort(e), s.sort(e), r.sort(e), n.sort(e), this._weekdaysRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
889
|
+
"^(" + r.join("|") + ")",
|
|
888
890
|
"i"
|
|
889
891
|
), this._weekdaysShortStrictRegex = new RegExp(
|
|
890
|
-
"^(" +
|
|
892
|
+
"^(" + s.join("|") + ")",
|
|
891
893
|
"i"
|
|
892
894
|
), this._weekdaysMinStrictRegex = new RegExp(
|
|
893
895
|
"^(" + t.join("|") + ")",
|
|
894
896
|
"i"
|
|
895
897
|
);
|
|
896
898
|
}
|
|
897
|
-
function
|
|
899
|
+
function _t() {
|
|
898
900
|
return this.hours() % 12 || 12;
|
|
899
901
|
}
|
|
900
|
-
function
|
|
902
|
+
function $r() {
|
|
901
903
|
return this.hours() || 24;
|
|
902
904
|
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
return "" +
|
|
905
|
+
h("H", ["HH", 2], 0, "hour");
|
|
906
|
+
h("h", ["hh", 2], 0, _t);
|
|
907
|
+
h("k", ["kk", 2], 0, $r);
|
|
908
|
+
h("hmm", 0, 0, function() {
|
|
909
|
+
return "" + _t.apply(this) + I(this.minutes(), 2);
|
|
908
910
|
});
|
|
909
|
-
|
|
910
|
-
return "" +
|
|
911
|
+
h("hmmss", 0, 0, function() {
|
|
912
|
+
return "" + _t.apply(this) + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
911
913
|
});
|
|
912
|
-
|
|
914
|
+
h("Hmm", 0, 0, function() {
|
|
913
915
|
return "" + this.hours() + I(this.minutes(), 2);
|
|
914
916
|
});
|
|
915
|
-
|
|
917
|
+
h("Hmmss", 0, 0, function() {
|
|
916
918
|
return "" + this.hours() + I(this.minutes(), 2) + I(this.seconds(), 2);
|
|
917
919
|
});
|
|
918
|
-
function
|
|
919
|
-
|
|
920
|
+
function Kt(e, t) {
|
|
921
|
+
h(e, 0, 0, function() {
|
|
920
922
|
return this.localeData().meridiem(
|
|
921
923
|
this.hours(),
|
|
922
924
|
this.minutes(),
|
|
@@ -924,165 +926,165 @@ function Xt(e, t) {
|
|
|
924
926
|
);
|
|
925
927
|
});
|
|
926
928
|
}
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
function
|
|
929
|
+
Kt("a", !0);
|
|
930
|
+
Kt("A", !1);
|
|
931
|
+
function es(e, t) {
|
|
930
932
|
return t._meridiemParse;
|
|
931
933
|
}
|
|
932
|
-
d("a",
|
|
933
|
-
d("A",
|
|
934
|
-
d("H",
|
|
935
|
-
d("h",
|
|
936
|
-
d("k",
|
|
937
|
-
d("HH",
|
|
938
|
-
d("hh",
|
|
939
|
-
d("kk",
|
|
934
|
+
d("a", es);
|
|
935
|
+
d("A", es);
|
|
936
|
+
d("H", k, ht);
|
|
937
|
+
d("h", k, he);
|
|
938
|
+
d("k", k, he);
|
|
939
|
+
d("HH", k, b);
|
|
940
|
+
d("hh", k, b);
|
|
941
|
+
d("kk", k, b);
|
|
940
942
|
d("hmm", jt);
|
|
941
|
-
d("hmmss",
|
|
943
|
+
d("hmmss", Vt);
|
|
942
944
|
d("Hmm", jt);
|
|
943
|
-
d("Hmmss",
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
var
|
|
947
|
-
t[
|
|
945
|
+
d("Hmmss", Vt);
|
|
946
|
+
g(["H", "HH"], v);
|
|
947
|
+
g(["k", "kk"], function(e, t, s) {
|
|
948
|
+
var r = m(e);
|
|
949
|
+
t[v] = r === 24 ? 0 : r;
|
|
948
950
|
});
|
|
949
|
-
|
|
950
|
-
|
|
951
|
+
g(["a", "A"], function(e, t, s) {
|
|
952
|
+
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
|
951
953
|
});
|
|
952
|
-
|
|
953
|
-
t[
|
|
954
|
+
g(["h", "hh"], function(e, t, s) {
|
|
955
|
+
t[v] = m(e), c(s).bigHour = !0;
|
|
954
956
|
});
|
|
955
|
-
|
|
956
|
-
var
|
|
957
|
-
t[
|
|
957
|
+
g("hmm", function(e, t, s) {
|
|
958
|
+
var r = e.length - 2;
|
|
959
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r)), c(s).bigHour = !0;
|
|
958
960
|
});
|
|
959
|
-
|
|
960
|
-
var
|
|
961
|
-
t[
|
|
961
|
+
g("hmmss", function(e, t, s) {
|
|
962
|
+
var r = e.length - 4, n = e.length - 2;
|
|
963
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[G] = m(e.substr(n)), c(s).bigHour = !0;
|
|
962
964
|
});
|
|
963
|
-
|
|
964
|
-
var
|
|
965
|
-
t[
|
|
965
|
+
g("Hmm", function(e, t, s) {
|
|
966
|
+
var r = e.length - 2;
|
|
967
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r));
|
|
966
968
|
});
|
|
967
|
-
|
|
968
|
-
var
|
|
969
|
-
t[
|
|
969
|
+
g("Hmmss", function(e, t, s) {
|
|
970
|
+
var r = e.length - 4, n = e.length - 2;
|
|
971
|
+
t[v] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[G] = m(e.substr(n));
|
|
970
972
|
});
|
|
971
|
-
function
|
|
973
|
+
function zr(e) {
|
|
972
974
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
973
975
|
}
|
|
974
|
-
var
|
|
975
|
-
function
|
|
976
|
-
return e > 11 ?
|
|
977
|
-
}
|
|
978
|
-
var
|
|
979
|
-
calendar:
|
|
980
|
-
longDateFormat:
|
|
981
|
-
invalidDate:
|
|
982
|
-
ordinal:
|
|
983
|
-
dayOfMonthOrdinalParse:
|
|
984
|
-
relativeTime:
|
|
985
|
-
months:
|
|
986
|
-
monthsShort:
|
|
987
|
-
week:
|
|
988
|
-
weekdays:
|
|
989
|
-
weekdaysMin:
|
|
990
|
-
weekdaysShort:
|
|
991
|
-
meridiemParse:
|
|
992
|
-
},
|
|
993
|
-
function
|
|
994
|
-
var
|
|
995
|
-
for (
|
|
996
|
-
if (e[
|
|
997
|
-
return
|
|
998
|
-
return
|
|
976
|
+
var Zr = /[ap]\.?m?\.?/i, Br = fe("Hours", !0);
|
|
977
|
+
function qr(e, t, s) {
|
|
978
|
+
return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
|
|
979
|
+
}
|
|
980
|
+
var ts = {
|
|
981
|
+
calendar: Is,
|
|
982
|
+
longDateFormat: As,
|
|
983
|
+
invalidDate: Vs,
|
|
984
|
+
ordinal: $s,
|
|
985
|
+
dayOfMonthOrdinalParse: zs,
|
|
986
|
+
relativeTime: Bs,
|
|
987
|
+
months: dr,
|
|
988
|
+
monthsShort: zt,
|
|
989
|
+
week: Dr,
|
|
990
|
+
weekdays: xr,
|
|
991
|
+
weekdaysMin: Wr,
|
|
992
|
+
weekdaysShort: Xt,
|
|
993
|
+
meridiemParse: Zr
|
|
994
|
+
}, D = {}, ce = {}, ge;
|
|
995
|
+
function Jr(e, t) {
|
|
996
|
+
var s, r = Math.min(e.length, t.length);
|
|
997
|
+
for (s = 0; s < r; s += 1)
|
|
998
|
+
if (e[s] !== t[s])
|
|
999
|
+
return s;
|
|
1000
|
+
return r;
|
|
999
1001
|
}
|
|
1000
1002
|
function xt(e) {
|
|
1001
1003
|
return e && e.toLowerCase().replace("_", "-");
|
|
1002
1004
|
}
|
|
1003
|
-
function
|
|
1004
|
-
for (var t = 0, r,
|
|
1005
|
-
for (
|
|
1006
|
-
if (
|
|
1007
|
-
return
|
|
1008
|
-
if (
|
|
1005
|
+
function Qr(e) {
|
|
1006
|
+
for (var t = 0, s, r, n, a; t < e.length; ) {
|
|
1007
|
+
for (a = xt(e[t]).split("-"), s = a.length, r = xt(e[t + 1]), r = r ? r.split("-") : null; s > 0; ) {
|
|
1008
|
+
if (n = Ae(a.slice(0, s).join("-")), n)
|
|
1009
|
+
return n;
|
|
1010
|
+
if (r && r.length >= s && Jr(a, r) >= s - 1)
|
|
1009
1011
|
break;
|
|
1010
|
-
|
|
1012
|
+
s--;
|
|
1011
1013
|
}
|
|
1012
1014
|
t++;
|
|
1013
1015
|
}
|
|
1014
|
-
return
|
|
1016
|
+
return ge;
|
|
1015
1017
|
}
|
|
1016
|
-
function
|
|
1018
|
+
function Xr(e) {
|
|
1017
1019
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1018
1020
|
}
|
|
1019
1021
|
function Ae(e) {
|
|
1020
|
-
var t = null,
|
|
1021
|
-
if (
|
|
1022
|
+
var t = null, s;
|
|
1023
|
+
if (D[e] === void 0 && typeof module < "u" && module && module.exports && Xr(e))
|
|
1022
1024
|
try {
|
|
1023
|
-
t =
|
|
1025
|
+
t = ge._abbr, s = require, s("./locale/" + e), K(t);
|
|
1024
1026
|
} catch {
|
|
1025
|
-
|
|
1027
|
+
D[e] = null;
|
|
1026
1028
|
}
|
|
1027
|
-
return
|
|
1029
|
+
return D[e];
|
|
1028
1030
|
}
|
|
1029
|
-
function
|
|
1030
|
-
var
|
|
1031
|
-
return e && (
|
|
1031
|
+
function K(e, t) {
|
|
1032
|
+
var s;
|
|
1033
|
+
return e && (T(t) ? s = B(e) : s = yt(e, t), s ? ge = s : typeof console < "u" && console.warn && console.warn(
|
|
1032
1034
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1033
|
-
)),
|
|
1035
|
+
)), ge._abbr;
|
|
1034
1036
|
}
|
|
1035
1037
|
function yt(e, t) {
|
|
1036
1038
|
if (t !== null) {
|
|
1037
|
-
var
|
|
1038
|
-
if (t.abbr = e,
|
|
1039
|
+
var s, r = ts;
|
|
1040
|
+
if (t.abbr = e, D[e] != null)
|
|
1039
1041
|
Ut(
|
|
1040
1042
|
"defineLocaleOverride",
|
|
1041
1043
|
"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
|
|
1042
|
-
),
|
|
1044
|
+
), r = D[e]._config;
|
|
1043
1045
|
else if (t.parentLocale != null)
|
|
1044
|
-
if (
|
|
1045
|
-
|
|
1046
|
-
else if (
|
|
1047
|
-
|
|
1046
|
+
if (D[t.parentLocale] != null)
|
|
1047
|
+
r = D[t.parentLocale]._config;
|
|
1048
|
+
else if (s = Ae(t.parentLocale), s != null)
|
|
1049
|
+
r = s._config;
|
|
1048
1050
|
else
|
|
1049
|
-
return
|
|
1051
|
+
return ce[t.parentLocale] || (ce[t.parentLocale] = []), ce[t.parentLocale].push({
|
|
1050
1052
|
name: e,
|
|
1051
1053
|
config: t
|
|
1052
1054
|
}), null;
|
|
1053
|
-
return
|
|
1054
|
-
yt(
|
|
1055
|
-
}),
|
|
1055
|
+
return D[e] = new it(Qe(r, t)), ce[e] && ce[e].forEach(function(n) {
|
|
1056
|
+
yt(n.name, n.config);
|
|
1057
|
+
}), K(e), D[e];
|
|
1056
1058
|
} else
|
|
1057
|
-
return delete
|
|
1059
|
+
return delete D[e], null;
|
|
1058
1060
|
}
|
|
1059
|
-
function
|
|
1061
|
+
function Kr(e, t) {
|
|
1060
1062
|
if (t != null) {
|
|
1061
|
-
var
|
|
1062
|
-
|
|
1063
|
+
var s, r, n = ts;
|
|
1064
|
+
D[e] != null && D[e].parentLocale != null ? D[e].set(Qe(D[e]._config, t)) : (r = Ae(e), r != null && (n = r._config), t = Qe(n, t), r == null && (t.abbr = e), s = new it(t), s.parentLocale = D[e], D[e] = s), K(e);
|
|
1063
1065
|
} else
|
|
1064
|
-
|
|
1065
|
-
return
|
|
1066
|
+
D[e] != null && (D[e].parentLocale != null ? (D[e] = D[e].parentLocale, e === K() && K(e)) : D[e] != null && delete D[e]);
|
|
1067
|
+
return D[e];
|
|
1066
1068
|
}
|
|
1067
|
-
function
|
|
1069
|
+
function B(e) {
|
|
1068
1070
|
var t;
|
|
1069
1071
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1070
|
-
return
|
|
1071
|
-
if (!
|
|
1072
|
+
return ge;
|
|
1073
|
+
if (!R(e)) {
|
|
1072
1074
|
if (t = Ae(e), t)
|
|
1073
1075
|
return t;
|
|
1074
1076
|
e = [e];
|
|
1075
1077
|
}
|
|
1076
|
-
return
|
|
1078
|
+
return Qr(e);
|
|
1077
1079
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return
|
|
1080
|
+
function en() {
|
|
1081
|
+
return Xe(D);
|
|
1080
1082
|
}
|
|
1081
|
-
function
|
|
1082
|
-
var t,
|
|
1083
|
-
return
|
|
1083
|
+
function wt(e) {
|
|
1084
|
+
var t, s = e._a;
|
|
1085
|
+
return s && c(e).overflow === -2 && (t = s[V] < 0 || s[V] > 11 ? V : s[C] < 1 || s[C] > ft(s[Y], s[V]) ? C : s[v] < 0 || s[v] > 24 || s[v] === 24 && (s[P] !== 0 || s[G] !== 0 || s[te] !== 0) ? v : s[P] < 0 || s[P] > 59 ? P : s[G] < 0 || s[G] > 59 ? G : s[te] < 0 || s[te] > 999 ? te : -1, c(e)._overflowDayOfYear && (t < Y || t > C) && (t = C), c(e)._overflowWeeks && t === -1 && (t = nr), c(e)._overflowWeekday && t === -1 && (t = ar), c(e).overflow = t), e;
|
|
1084
1086
|
}
|
|
1085
|
-
var
|
|
1087
|
+
var tn = /^\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)?)?$/, sn = /^\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)?)?$/, rn = /Z|[+-]\d\d(?::?\d\d)?/, Ye = [
|
|
1086
1088
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1087
1089
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1088
1090
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1096,7 +1098,7 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1096
1098
|
["YYYYDDD", /\d{7}/],
|
|
1097
1099
|
["YYYYMM", /\d{6}/, !1],
|
|
1098
1100
|
["YYYY", /\d{4}/, !1]
|
|
1099
|
-
],
|
|
1101
|
+
], Ze = [
|
|
1100
1102
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1101
1103
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1102
1104
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1106,7 +1108,7 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1106
1108
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1107
1109
|
["HHmm", /\d\d\d\d/],
|
|
1108
1110
|
["HH", /\d\d/]
|
|
1109
|
-
],
|
|
1111
|
+
], nn = /^\/?Date\((-?\d+)/i, an = /^(?:(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}))$/, on = {
|
|
1110
1112
|
UT: 0,
|
|
1111
1113
|
GMT: 0,
|
|
1112
1114
|
EDT: -4 * 60,
|
|
@@ -1118,22 +1120,22 @@ var ea = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1118
1120
|
PDT: -7 * 60,
|
|
1119
1121
|
PST: -8 * 60
|
|
1120
1122
|
};
|
|
1121
|
-
function
|
|
1122
|
-
var t,
|
|
1123
|
-
if (
|
|
1124
|
-
for (
|
|
1125
|
-
if (Ye[t][1].exec(
|
|
1126
|
-
|
|
1123
|
+
function ss(e) {
|
|
1124
|
+
var t, s, r = e._i, n = tn.exec(r) || sn.exec(r), a, i, u, f, _ = Ye.length, O = Ze.length;
|
|
1125
|
+
if (n) {
|
|
1126
|
+
for (c(e).iso = !0, t = 0, s = _; t < s; t++)
|
|
1127
|
+
if (Ye[t][1].exec(n[1])) {
|
|
1128
|
+
i = Ye[t][0], a = Ye[t][2] !== !1;
|
|
1127
1129
|
break;
|
|
1128
1130
|
}
|
|
1129
|
-
if (
|
|
1131
|
+
if (i == null) {
|
|
1130
1132
|
e._isValid = !1;
|
|
1131
1133
|
return;
|
|
1132
1134
|
}
|
|
1133
|
-
if (
|
|
1134
|
-
for (t = 0,
|
|
1135
|
-
if (
|
|
1136
|
-
u = (
|
|
1135
|
+
if (n[3]) {
|
|
1136
|
+
for (t = 0, s = O; t < s; t++)
|
|
1137
|
+
if (Ze[t][1].exec(n[3])) {
|
|
1138
|
+
u = (n[2] || " ") + Ze[t][0];
|
|
1137
1139
|
break;
|
|
1138
1140
|
}
|
|
1139
1141
|
if (u == null) {
|
|
@@ -1141,100 +1143,100 @@ function rr(e) {
|
|
|
1141
1143
|
return;
|
|
1142
1144
|
}
|
|
1143
1145
|
}
|
|
1144
|
-
if (!
|
|
1146
|
+
if (!a && u != null) {
|
|
1145
1147
|
e._isValid = !1;
|
|
1146
1148
|
return;
|
|
1147
1149
|
}
|
|
1148
|
-
if (
|
|
1149
|
-
if (
|
|
1150
|
+
if (n[4])
|
|
1151
|
+
if (rn.exec(n[4]))
|
|
1150
1152
|
f = "Z";
|
|
1151
1153
|
else {
|
|
1152
1154
|
e._isValid = !1;
|
|
1153
1155
|
return;
|
|
1154
1156
|
}
|
|
1155
|
-
e._f =
|
|
1157
|
+
e._f = i + (u || "") + (f || ""), gt(e);
|
|
1156
1158
|
} else
|
|
1157
1159
|
e._isValid = !1;
|
|
1158
1160
|
}
|
|
1159
|
-
function
|
|
1160
|
-
var
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
parseInt(r, 10),
|
|
1161
|
+
function ln(e, t, s, r, n, a) {
|
|
1162
|
+
var i = [
|
|
1163
|
+
un(e),
|
|
1164
|
+
zt.indexOf(t),
|
|
1164
1165
|
parseInt(s, 10),
|
|
1165
|
-
parseInt(
|
|
1166
|
+
parseInt(r, 10),
|
|
1167
|
+
parseInt(n, 10)
|
|
1166
1168
|
];
|
|
1167
|
-
return
|
|
1169
|
+
return a && i.push(parseInt(a, 10)), i;
|
|
1168
1170
|
}
|
|
1169
|
-
function
|
|
1171
|
+
function un(e) {
|
|
1170
1172
|
var t = parseInt(e, 10);
|
|
1171
1173
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1172
1174
|
}
|
|
1173
|
-
function
|
|
1175
|
+
function dn(e) {
|
|
1174
1176
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1175
1177
|
}
|
|
1176
|
-
function
|
|
1178
|
+
function hn(e, t, s) {
|
|
1177
1179
|
if (e) {
|
|
1178
|
-
var
|
|
1180
|
+
var r = Xt.indexOf(e), n = new Date(
|
|
1179
1181
|
t[0],
|
|
1180
1182
|
t[1],
|
|
1181
1183
|
t[2]
|
|
1182
1184
|
).getDay();
|
|
1183
|
-
if (
|
|
1184
|
-
return
|
|
1185
|
+
if (r !== n)
|
|
1186
|
+
return c(s).weekdayMismatch = !0, s._isValid = !1, !1;
|
|
1185
1187
|
}
|
|
1186
1188
|
return !0;
|
|
1187
1189
|
}
|
|
1188
|
-
function
|
|
1190
|
+
function fn(e, t, s) {
|
|
1189
1191
|
if (e)
|
|
1190
|
-
return
|
|
1192
|
+
return on[e];
|
|
1191
1193
|
if (t)
|
|
1192
1194
|
return 0;
|
|
1193
|
-
var
|
|
1194
|
-
return
|
|
1195
|
+
var r = parseInt(s, 10), n = r % 100, a = (r - n) / 100;
|
|
1196
|
+
return a * 60 + n;
|
|
1195
1197
|
}
|
|
1196
|
-
function
|
|
1197
|
-
var t =
|
|
1198
|
+
function rs(e) {
|
|
1199
|
+
var t = an.exec(dn(e._i)), s;
|
|
1198
1200
|
if (t) {
|
|
1199
|
-
if (
|
|
1201
|
+
if (s = ln(
|
|
1200
1202
|
t[4],
|
|
1201
1203
|
t[3],
|
|
1202
1204
|
t[2],
|
|
1203
1205
|
t[5],
|
|
1204
1206
|
t[6],
|
|
1205
1207
|
t[7]
|
|
1206
|
-
), !
|
|
1208
|
+
), !hn(t[1], s, e))
|
|
1207
1209
|
return;
|
|
1208
|
-
e._a =
|
|
1210
|
+
e._a = s, e._tzm = fn(t[8], t[9], t[10]), e._d = we.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), c(e).rfc2822 = !0;
|
|
1209
1211
|
} else
|
|
1210
1212
|
e._isValid = !1;
|
|
1211
1213
|
}
|
|
1212
|
-
function
|
|
1213
|
-
var t =
|
|
1214
|
+
function cn(e) {
|
|
1215
|
+
var t = nn.exec(e._i);
|
|
1214
1216
|
if (t !== null) {
|
|
1215
1217
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1216
1218
|
return;
|
|
1217
1219
|
}
|
|
1218
|
-
if (
|
|
1220
|
+
if (ss(e), e._isValid === !1)
|
|
1219
1221
|
delete e._isValid;
|
|
1220
1222
|
else
|
|
1221
1223
|
return;
|
|
1222
|
-
if (
|
|
1224
|
+
if (rs(e), e._isValid === !1)
|
|
1223
1225
|
delete e._isValid;
|
|
1224
1226
|
else
|
|
1225
1227
|
return;
|
|
1226
1228
|
e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
|
|
1227
1229
|
}
|
|
1228
|
-
l.createFromInputFallback =
|
|
1230
|
+
l.createFromInputFallback = W(
|
|
1229
1231
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1230
1232
|
function(e) {
|
|
1231
1233
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
1232
1234
|
}
|
|
1233
1235
|
);
|
|
1234
|
-
function
|
|
1235
|
-
return e ?? t ??
|
|
1236
|
+
function ae(e, t, s) {
|
|
1237
|
+
return e ?? t ?? s;
|
|
1236
1238
|
}
|
|
1237
|
-
function
|
|
1239
|
+
function mn(e) {
|
|
1238
1240
|
var t = new Date(l.now());
|
|
1239
1241
|
return e._useUTC ? [
|
|
1240
1242
|
t.getUTCFullYear(),
|
|
@@ -1242,130 +1244,130 @@ function fa(e) {
|
|
|
1242
1244
|
t.getUTCDate()
|
|
1243
1245
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1244
1246
|
}
|
|
1245
|
-
function
|
|
1246
|
-
var t,
|
|
1247
|
+
function Mt(e) {
|
|
1248
|
+
var t, s, r = [], n, a, i;
|
|
1247
1249
|
if (!e._d) {
|
|
1248
|
-
for (
|
|
1249
|
-
e._a[t] =
|
|
1250
|
+
for (n = mn(e), e._w && e._a[C] == null && e._a[V] == null && _n(e), e._dayOfYear != null && (i = ae(e._a[Y], n[Y]), (e._dayOfYear > _e(i) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), s = we(i, 0, e._dayOfYear), e._a[V] = s.getUTCMonth(), e._a[C] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1251
|
+
e._a[t] = r[t] = n[t];
|
|
1250
1252
|
for (; t < 7; t++)
|
|
1251
|
-
e._a[t] =
|
|
1252
|
-
e._a[
|
|
1253
|
+
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1254
|
+
e._a[v] === 24 && e._a[P] === 0 && e._a[G] === 0 && e._a[te] === 0 && (e._nextDay = !0, e._a[v] = 0), e._d = (e._useUTC ? we : Sr).apply(
|
|
1253
1255
|
null,
|
|
1254
|
-
|
|
1255
|
-
),
|
|
1256
|
+
r
|
|
1257
|
+
), a = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[v] = 24), e._w && typeof e._w.d < "u" && e._w.d !== a && (c(e).weekdayMismatch = !0);
|
|
1256
1258
|
}
|
|
1257
1259
|
}
|
|
1258
|
-
function
|
|
1259
|
-
var t, r,
|
|
1260
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (
|
|
1260
|
+
function _n(e) {
|
|
1261
|
+
var t, s, r, n, a, i, u, f, _;
|
|
1262
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (a = 1, i = 4, s = ae(
|
|
1261
1263
|
t.GG,
|
|
1262
1264
|
e._a[Y],
|
|
1263
|
-
|
|
1264
|
-
),
|
|
1265
|
+
Me(S(), 1, 4).year
|
|
1266
|
+
), r = ae(t.W, 1), n = ae(t.E, 1), (n < 1 || n > 7) && (f = !0)) : (a = e._locale._week.dow, i = e._locale._week.doy, _ = Me(S(), a, i), s = ae(t.gg, e._a[Y], _.year), r = ae(t.w, _.week), t.d != null ? (n = t.d, (n < 0 || n > 6) && (f = !0)) : t.e != null ? (n = t.e + a, (t.e < 0 || t.e > 6) && (f = !0)) : n = a), r < 1 || r > z(s, a, i) ? c(e)._overflowWeeks = !0 : f != null ? c(e)._overflowWeekday = !0 : (u = Qt(s, r, n, a, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
|
|
1265
1267
|
}
|
|
1266
1268
|
l.ISO_8601 = function() {
|
|
1267
1269
|
};
|
|
1268
1270
|
l.RFC_2822 = function() {
|
|
1269
1271
|
};
|
|
1270
|
-
function
|
|
1272
|
+
function gt(e) {
|
|
1271
1273
|
if (e._f === l.ISO_8601) {
|
|
1272
|
-
|
|
1274
|
+
ss(e);
|
|
1273
1275
|
return;
|
|
1274
1276
|
}
|
|
1275
1277
|
if (e._f === l.RFC_2822) {
|
|
1276
|
-
|
|
1278
|
+
rs(e);
|
|
1277
1279
|
return;
|
|
1278
1280
|
}
|
|
1279
|
-
e._a = [],
|
|
1280
|
-
var t = "" + e._i, r,
|
|
1281
|
-
for (
|
|
1282
|
-
|
|
1283
|
-
t.indexOf(
|
|
1284
|
-
), f +=
|
|
1285
|
-
|
|
1281
|
+
e._a = [], c(e).empty = !0;
|
|
1282
|
+
var t = "" + e._i, s, r, n, a, i, u = t.length, f = 0, _, O;
|
|
1283
|
+
for (n = Ht(e._f, e._locale).match(ot) || [], O = n.length, s = 0; s < O; s++)
|
|
1284
|
+
a = n[s], r = (t.match(tr(a, e)) || [])[0], r && (i = t.substr(0, t.indexOf(r)), i.length > 0 && c(e).unusedInput.push(i), t = t.slice(
|
|
1285
|
+
t.indexOf(r) + r.length
|
|
1286
|
+
), f += r.length), oe[a] ? (r ? c(e).empty = !1 : c(e).unusedTokens.push(a), rr(a, r, e)) : e._strict && !r && c(e).unusedTokens.push(a);
|
|
1287
|
+
c(e).charsLeftOver = u - f, t.length > 0 && c(e).unusedInput.push(t), e._a[v] <= 12 && c(e).bigHour === !0 && e._a[v] > 0 && (c(e).bigHour = void 0), c(e).parsedDateParts = e._a.slice(0), c(e).meridiem = e._meridiem, e._a[v] = yn(
|
|
1286
1288
|
e._locale,
|
|
1287
|
-
e._a[
|
|
1289
|
+
e._a[v],
|
|
1288
1290
|
e._meridiem
|
|
1289
|
-
),
|
|
1291
|
+
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), Mt(e), wt(e);
|
|
1290
1292
|
}
|
|
1291
|
-
function
|
|
1292
|
-
var
|
|
1293
|
-
return
|
|
1293
|
+
function yn(e, t, s) {
|
|
1294
|
+
var r;
|
|
1295
|
+
return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (r = e.isPM(s), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
|
|
1294
1296
|
}
|
|
1295
|
-
function
|
|
1296
|
-
var t, r,
|
|
1297
|
+
function wn(e) {
|
|
1298
|
+
var t, s, r, n, a, i, u = !1, f = e._f.length;
|
|
1297
1299
|
if (f === 0) {
|
|
1298
|
-
|
|
1300
|
+
c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1299
1301
|
return;
|
|
1300
1302
|
}
|
|
1301
|
-
for (
|
|
1302
|
-
|
|
1303
|
-
Q(e,
|
|
1303
|
+
for (n = 0; n < f; n++)
|
|
1304
|
+
a = 0, i = !1, t = at({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[n], gt(t), nt(t) && (i = !0), a += c(t).charsLeftOver, a += c(t).unusedTokens.length * 10, c(t).score = a, u ? a < r && (r = a, s = t) : (r == null || a < r || i) && (r = a, s = t, i && (u = !0));
|
|
1305
|
+
Q(e, s || t);
|
|
1304
1306
|
}
|
|
1305
|
-
function
|
|
1307
|
+
function Mn(e) {
|
|
1306
1308
|
if (!e._d) {
|
|
1307
|
-
var t = lt(e._i),
|
|
1308
|
-
e._a =
|
|
1309
|
-
[t.year, t.month,
|
|
1310
|
-
function(
|
|
1311
|
-
return
|
|
1309
|
+
var t = lt(e._i), s = t.day === void 0 ? t.date : t.day;
|
|
1310
|
+
e._a = Ct(
|
|
1311
|
+
[t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
|
|
1312
|
+
function(r) {
|
|
1313
|
+
return r && parseInt(r, 10);
|
|
1312
1314
|
}
|
|
1313
|
-
),
|
|
1315
|
+
), Mt(e);
|
|
1314
1316
|
}
|
|
1315
1317
|
}
|
|
1316
|
-
function
|
|
1317
|
-
var t = new
|
|
1318
|
+
function gn(e) {
|
|
1319
|
+
var t = new ke(wt(ns(e)));
|
|
1318
1320
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1319
1321
|
}
|
|
1320
|
-
function
|
|
1321
|
-
var t = e._i,
|
|
1322
|
-
return e._locale = e._locale ||
|
|
1322
|
+
function ns(e) {
|
|
1323
|
+
var t = e._i, s = e._f;
|
|
1324
|
+
return e._locale = e._locale || B(e._l), t === null || s === void 0 && t === "" ? Fe({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new ke(wt(t)) : (Se(t) ? e._d = t : R(s) ? wn(e) : s ? gt(e) : Sn(e), nt(e) || (e._d = null), e));
|
|
1323
1325
|
}
|
|
1324
|
-
function
|
|
1326
|
+
function Sn(e) {
|
|
1325
1327
|
var t = e._i;
|
|
1326
|
-
|
|
1327
|
-
return parseInt(
|
|
1328
|
-
}),
|
|
1328
|
+
T(t) ? e._d = new Date(l.now()) : Se(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? cn(e) : R(t) ? (e._a = Ct(t.slice(0), function(s) {
|
|
1329
|
+
return parseInt(s, 10);
|
|
1330
|
+
}), Mt(e)) : se(t) ? Mn(e) : Z(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1329
1331
|
}
|
|
1330
|
-
function
|
|
1331
|
-
var
|
|
1332
|
-
return (t === !0 || t === !1) && (
|
|
1332
|
+
function as(e, t, s, r, n) {
|
|
1333
|
+
var a = {};
|
|
1334
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (se(e) && rt(e) || R(e) && e.length === 0) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = n, a._l = s, a._i = e, a._f = t, a._strict = r, gn(a);
|
|
1333
1335
|
}
|
|
1334
|
-
function
|
|
1335
|
-
return
|
|
1336
|
+
function S(e, t, s, r) {
|
|
1337
|
+
return as(e, t, s, r, !1);
|
|
1336
1338
|
}
|
|
1337
|
-
var
|
|
1339
|
+
var kn = W(
|
|
1338
1340
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1339
1341
|
function() {
|
|
1340
|
-
var e =
|
|
1342
|
+
var e = S.apply(null, arguments);
|
|
1341
1343
|
return this.isValid() && e.isValid() ? e < this ? this : e : Fe();
|
|
1342
1344
|
}
|
|
1343
|
-
),
|
|
1345
|
+
), Dn = W(
|
|
1344
1346
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1345
1347
|
function() {
|
|
1346
|
-
var e =
|
|
1348
|
+
var e = S.apply(null, arguments);
|
|
1347
1349
|
return this.isValid() && e.isValid() ? e > this ? this : e : Fe();
|
|
1348
1350
|
}
|
|
1349
1351
|
);
|
|
1350
|
-
function
|
|
1351
|
-
var
|
|
1352
|
-
if (t.length === 1 &&
|
|
1353
|
-
return
|
|
1354
|
-
for (
|
|
1355
|
-
(!t[
|
|
1356
|
-
return
|
|
1352
|
+
function is(e, t) {
|
|
1353
|
+
var s, r;
|
|
1354
|
+
if (t.length === 1 && R(t[0]) && (t = t[0]), !t.length)
|
|
1355
|
+
return S();
|
|
1356
|
+
for (s = t[0], r = 1; r < t.length; ++r)
|
|
1357
|
+
(!t[r].isValid() || t[r][e](s)) && (s = t[r]);
|
|
1358
|
+
return s;
|
|
1357
1359
|
}
|
|
1358
|
-
function
|
|
1360
|
+
function pn() {
|
|
1359
1361
|
var e = [].slice.call(arguments, 0);
|
|
1360
|
-
return
|
|
1362
|
+
return is("isBefore", e);
|
|
1361
1363
|
}
|
|
1362
|
-
function
|
|
1364
|
+
function vn() {
|
|
1363
1365
|
var e = [].slice.call(arguments, 0);
|
|
1364
|
-
return
|
|
1366
|
+
return is("isAfter", e);
|
|
1365
1367
|
}
|
|
1366
|
-
var
|
|
1368
|
+
var Yn = function() {
|
|
1367
1369
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1368
|
-
},
|
|
1370
|
+
}, me = [
|
|
1369
1371
|
"year",
|
|
1370
1372
|
"quarter",
|
|
1371
1373
|
"month",
|
|
@@ -1376,192 +1378,192 @@ var Sa = function() {
|
|
|
1376
1378
|
"second",
|
|
1377
1379
|
"millisecond"
|
|
1378
1380
|
];
|
|
1379
|
-
function
|
|
1380
|
-
var t,
|
|
1381
|
+
function On(e) {
|
|
1382
|
+
var t, s = !1, r, n = me.length;
|
|
1381
1383
|
for (t in e)
|
|
1382
|
-
if (
|
|
1384
|
+
if (w(e, t) && !(p.call(me, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
1383
1385
|
return !1;
|
|
1384
|
-
for (
|
|
1385
|
-
if (e[
|
|
1386
|
-
if (
|
|
1386
|
+
for (r = 0; r < n; ++r)
|
|
1387
|
+
if (e[me[r]]) {
|
|
1388
|
+
if (s)
|
|
1387
1389
|
return !1;
|
|
1388
|
-
parseFloat(e[
|
|
1390
|
+
parseFloat(e[me[r]]) !== m(e[me[r]]) && (s = !0);
|
|
1389
1391
|
}
|
|
1390
1392
|
return !0;
|
|
1391
1393
|
}
|
|
1392
|
-
function
|
|
1394
|
+
function Tn() {
|
|
1393
1395
|
return this._isValid;
|
|
1394
1396
|
}
|
|
1395
|
-
function
|
|
1396
|
-
return
|
|
1397
|
+
function bn() {
|
|
1398
|
+
return L(NaN);
|
|
1397
1399
|
}
|
|
1398
1400
|
function je(e) {
|
|
1399
|
-
var t = lt(e),
|
|
1400
|
-
this._isValid =
|
|
1401
|
+
var t = lt(e), s = t.year || 0, r = t.quarter || 0, n = t.month || 0, a = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, f = t.minute || 0, _ = t.second || 0, O = t.millisecond || 0;
|
|
1402
|
+
this._isValid = On(t), this._milliseconds = +O + _ * 1e3 + // 1000
|
|
1401
1403
|
f * 6e4 + // 1000 * 60
|
|
1402
|
-
u * 1e3 * 60 * 60, this._days = +
|
|
1404
|
+
u * 1e3 * 60 * 60, this._days = +i + a * 7, this._months = +n + r * 3 + s * 12, this._data = {}, this._locale = B(), this._bubble();
|
|
1403
1405
|
}
|
|
1404
|
-
function
|
|
1406
|
+
function Te(e) {
|
|
1405
1407
|
return e instanceof je;
|
|
1406
1408
|
}
|
|
1407
1409
|
function et(e) {
|
|
1408
1410
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1409
1411
|
}
|
|
1410
|
-
function
|
|
1411
|
-
var
|
|
1412
|
-
for (
|
|
1413
|
-
|
|
1414
|
-
return
|
|
1412
|
+
function xn(e, t, s) {
|
|
1413
|
+
var r = Math.min(e.length, t.length), n = Math.abs(e.length - t.length), a = 0, i;
|
|
1414
|
+
for (i = 0; i < r; i++)
|
|
1415
|
+
m(e[i]) !== m(t[i]) && a++;
|
|
1416
|
+
return a + n;
|
|
1415
1417
|
}
|
|
1416
|
-
function
|
|
1417
|
-
|
|
1418
|
-
var
|
|
1419
|
-
return
|
|
1418
|
+
function os(e, t) {
|
|
1419
|
+
h(e, 0, 0, function() {
|
|
1420
|
+
var s = this.utcOffset(), r = "+";
|
|
1421
|
+
return s < 0 && (s = -s, r = "-"), r + I(~~(s / 60), 2) + t + I(~~s % 60, 2);
|
|
1420
1422
|
});
|
|
1421
1423
|
}
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
+
os("Z", ":");
|
|
1425
|
+
os("ZZ", "");
|
|
1424
1426
|
d("Z", He);
|
|
1425
1427
|
d("ZZ", He);
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
+
g(["Z", "ZZ"], function(e, t, s) {
|
|
1429
|
+
s._useUTC = !0, s._tzm = St(He, e);
|
|
1428
1430
|
});
|
|
1429
|
-
var
|
|
1430
|
-
function
|
|
1431
|
-
var
|
|
1432
|
-
return
|
|
1431
|
+
var Wn = /([\+\-]|\d\d)/gi;
|
|
1432
|
+
function St(e, t) {
|
|
1433
|
+
var s = (t || "").match(e), r, n, a;
|
|
1434
|
+
return s === null ? null : (r = s[s.length - 1] || [], n = (r + "").match(Wn) || ["-", 0, 0], a = +(n[1] * 60) + m(n[2]), a === 0 ? 0 : n[0] === "+" ? a : -a);
|
|
1433
1435
|
}
|
|
1434
|
-
function
|
|
1435
|
-
var
|
|
1436
|
-
return t._isUTC ? (
|
|
1436
|
+
function kt(e, t) {
|
|
1437
|
+
var s, r;
|
|
1438
|
+
return t._isUTC ? (s = t.clone(), r = (F(e) || Se(e) ? e.valueOf() : S(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + r), l.updateOffset(s, !1), s) : S(e).local();
|
|
1437
1439
|
}
|
|
1438
1440
|
function tt(e) {
|
|
1439
1441
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1440
1442
|
}
|
|
1441
1443
|
l.updateOffset = function() {
|
|
1442
1444
|
};
|
|
1443
|
-
function
|
|
1444
|
-
var
|
|
1445
|
+
function Nn(e, t, s) {
|
|
1446
|
+
var r = this._offset || 0, n;
|
|
1445
1447
|
if (!this.isValid())
|
|
1446
1448
|
return e != null ? this : NaN;
|
|
1447
1449
|
if (e != null) {
|
|
1448
1450
|
if (typeof e == "string") {
|
|
1449
|
-
if (e =
|
|
1451
|
+
if (e = St(He, e), e === null)
|
|
1450
1452
|
return this;
|
|
1451
1453
|
} else
|
|
1452
|
-
Math.abs(e) < 16 && !
|
|
1453
|
-
return !this._isUTC && t && (
|
|
1454
|
+
Math.abs(e) < 16 && !s && (e = e * 60);
|
|
1455
|
+
return !this._isUTC && t && (n = tt(this)), this._offset = e, this._isUTC = !0, n != null && this.add(n, "m"), r !== e && (!t || this._changeInProgress ? ds(
|
|
1454
1456
|
this,
|
|
1455
|
-
|
|
1457
|
+
L(e - r, "m"),
|
|
1456
1458
|
1,
|
|
1457
1459
|
!1
|
|
1458
1460
|
) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1459
1461
|
} else
|
|
1460
|
-
return this._isUTC ?
|
|
1462
|
+
return this._isUTC ? r : tt(this);
|
|
1461
1463
|
}
|
|
1462
|
-
function
|
|
1464
|
+
function Pn(e, t) {
|
|
1463
1465
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1464
1466
|
}
|
|
1465
|
-
function
|
|
1467
|
+
function Rn(e) {
|
|
1466
1468
|
return this.utcOffset(0, e);
|
|
1467
1469
|
}
|
|
1468
|
-
function
|
|
1470
|
+
function Fn(e) {
|
|
1469
1471
|
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(tt(this), "m")), this;
|
|
1470
1472
|
}
|
|
1471
|
-
function
|
|
1473
|
+
function Ln() {
|
|
1472
1474
|
if (this._tzm != null)
|
|
1473
1475
|
this.utcOffset(this._tzm, !1, !0);
|
|
1474
1476
|
else if (typeof this._i == "string") {
|
|
1475
|
-
var e =
|
|
1477
|
+
var e = St(Ks, this._i);
|
|
1476
1478
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1477
1479
|
}
|
|
1478
1480
|
return this;
|
|
1479
1481
|
}
|
|
1480
|
-
function
|
|
1481
|
-
return this.isValid() ? (e = e ?
|
|
1482
|
+
function Cn(e) {
|
|
1483
|
+
return this.isValid() ? (e = e ? S(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1482
1484
|
}
|
|
1483
|
-
function
|
|
1485
|
+
function In() {
|
|
1484
1486
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1485
1487
|
}
|
|
1486
|
-
function
|
|
1487
|
-
if (!
|
|
1488
|
+
function Un() {
|
|
1489
|
+
if (!T(this._isDSTShifted))
|
|
1488
1490
|
return this._isDSTShifted;
|
|
1489
1491
|
var e = {}, t;
|
|
1490
|
-
return
|
|
1492
|
+
return at(e, this), e = ns(e), e._a ? (t = e._isUTC ? U(e._a) : S(e._a), this._isDSTShifted = this.isValid() && xn(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1491
1493
|
}
|
|
1492
|
-
function
|
|
1494
|
+
function Hn() {
|
|
1493
1495
|
return this.isValid() ? !this._isUTC : !1;
|
|
1494
1496
|
}
|
|
1495
|
-
function
|
|
1497
|
+
function En() {
|
|
1496
1498
|
return this.isValid() ? this._isUTC : !1;
|
|
1497
1499
|
}
|
|
1498
|
-
function
|
|
1500
|
+
function ls() {
|
|
1499
1501
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1500
1502
|
}
|
|
1501
|
-
var
|
|
1502
|
-
function
|
|
1503
|
-
var
|
|
1504
|
-
return
|
|
1503
|
+
var An = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, jn = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1504
|
+
function L(e, t) {
|
|
1505
|
+
var s = e, r = null, n, a, i;
|
|
1506
|
+
return Te(e) ? s = {
|
|
1505
1507
|
ms: e._milliseconds,
|
|
1506
1508
|
d: e._days,
|
|
1507
1509
|
M: e._months
|
|
1508
|
-
} :
|
|
1510
|
+
} : Z(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = An.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
|
|
1509
1511
|
y: 0,
|
|
1510
|
-
d:
|
|
1511
|
-
h:
|
|
1512
|
-
m:
|
|
1513
|
-
s:
|
|
1514
|
-
ms:
|
|
1512
|
+
d: m(r[C]) * n,
|
|
1513
|
+
h: m(r[v]) * n,
|
|
1514
|
+
m: m(r[P]) * n,
|
|
1515
|
+
s: m(r[G]) * n,
|
|
1516
|
+
ms: m(et(r[te] * 1e3)) * n
|
|
1515
1517
|
// the millisecond decimal point is included in the match
|
|
1516
|
-
}) : (
|
|
1517
|
-
y: ee(
|
|
1518
|
-
M: ee(
|
|
1519
|
-
w: ee(
|
|
1520
|
-
d: ee(
|
|
1521
|
-
h: ee(
|
|
1522
|
-
m: ee(
|
|
1523
|
-
s: ee(
|
|
1524
|
-
}) :
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
),
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
|
|
1518
|
+
}) : (r = jn.exec(e)) ? (n = r[1] === "-" ? -1 : 1, s = {
|
|
1519
|
+
y: ee(r[2], n),
|
|
1520
|
+
M: ee(r[3], n),
|
|
1521
|
+
w: ee(r[4], n),
|
|
1522
|
+
d: ee(r[5], n),
|
|
1523
|
+
h: ee(r[6], n),
|
|
1524
|
+
m: ee(r[7], n),
|
|
1525
|
+
s: ee(r[8], n)
|
|
1526
|
+
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i = Vn(
|
|
1527
|
+
S(s.from),
|
|
1528
|
+
S(s.to)
|
|
1529
|
+
), s = {}, s.ms = i.milliseconds, s.M = i.months), a = new je(s), Te(e) && w(e, "_locale") && (a._locale = e._locale), Te(e) && w(e, "_isValid") && (a._isValid = e._isValid), a;
|
|
1530
|
+
}
|
|
1531
|
+
L.fn = je.prototype;
|
|
1532
|
+
L.invalid = bn;
|
|
1531
1533
|
function ee(e, t) {
|
|
1532
|
-
var
|
|
1533
|
-
return (isNaN(
|
|
1534
|
+
var s = e && parseFloat(e.replace(",", "."));
|
|
1535
|
+
return (isNaN(s) ? 0 : s) * t;
|
|
1534
1536
|
}
|
|
1535
|
-
function
|
|
1536
|
-
var
|
|
1537
|
-
return
|
|
1537
|
+
function Wt(e, t) {
|
|
1538
|
+
var s = {};
|
|
1539
|
+
return s.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(s.months, "M").isAfter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "M"), s;
|
|
1538
1540
|
}
|
|
1539
|
-
function
|
|
1540
|
-
var
|
|
1541
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1541
|
+
function Vn(e, t) {
|
|
1542
|
+
var s;
|
|
1543
|
+
return e.isValid() && t.isValid() ? (t = kt(t, e), e.isBefore(t) ? s = Wt(e, t) : (s = Wt(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
|
|
1542
1544
|
}
|
|
1543
|
-
function
|
|
1544
|
-
return function(
|
|
1545
|
-
var
|
|
1546
|
-
return
|
|
1545
|
+
function us(e, t) {
|
|
1546
|
+
return function(s, r) {
|
|
1547
|
+
var n, a;
|
|
1548
|
+
return r !== null && !isNaN(+r) && (Ut(
|
|
1547
1549
|
t,
|
|
1548
1550
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1549
|
-
),
|
|
1551
|
+
), a = s, s = r, r = a), n = L(s, r), ds(this, n, e), this;
|
|
1550
1552
|
};
|
|
1551
1553
|
}
|
|
1552
|
-
function
|
|
1553
|
-
var
|
|
1554
|
-
e.isValid() && (
|
|
1554
|
+
function ds(e, t, s, r) {
|
|
1555
|
+
var n = t._milliseconds, a = et(t._days), i = et(t._months);
|
|
1556
|
+
e.isValid() && (r = r ?? !0, i && Bt(e, ye(e, "Month") + i * s), a && $t(e, "Date", ye(e, "Date") + a * s), n && e._d.setTime(e._d.valueOf() + n * s), r && l.updateOffset(e, a || i));
|
|
1555
1557
|
}
|
|
1556
|
-
var
|
|
1557
|
-
function
|
|
1558
|
+
var Gn = us(1, "add"), $n = us(-1, "subtract");
|
|
1559
|
+
function hs(e) {
|
|
1558
1560
|
return typeof e == "string" || e instanceof String;
|
|
1559
1561
|
}
|
|
1560
|
-
function
|
|
1561
|
-
return F(e) ||
|
|
1562
|
+
function zn(e) {
|
|
1563
|
+
return F(e) || Se(e) || hs(e) || Z(e) || Bn(e) || Zn(e) || e === null || e === void 0;
|
|
1562
1564
|
}
|
|
1563
|
-
function
|
|
1564
|
-
var t =
|
|
1565
|
+
function Zn(e) {
|
|
1566
|
+
var t = se(e) && !rt(e), s = !1, r = [
|
|
1565
1567
|
"years",
|
|
1566
1568
|
"year",
|
|
1567
1569
|
"y",
|
|
@@ -1586,198 +1588,198 @@ function za(e) {
|
|
|
1586
1588
|
"milliseconds",
|
|
1587
1589
|
"millisecond",
|
|
1588
1590
|
"ms"
|
|
1589
|
-
], a, i
|
|
1590
|
-
for (
|
|
1591
|
-
|
|
1592
|
-
return t &&
|
|
1593
|
-
}
|
|
1594
|
-
function
|
|
1595
|
-
var t =
|
|
1596
|
-
return t && (
|
|
1597
|
-
return !
|
|
1598
|
-
}).length === 0), t &&
|
|
1599
|
-
}
|
|
1600
|
-
function
|
|
1601
|
-
var t =
|
|
1591
|
+
], n, a, i = r.length;
|
|
1592
|
+
for (n = 0; n < i; n += 1)
|
|
1593
|
+
a = r[n], s = s || w(e, a);
|
|
1594
|
+
return t && s;
|
|
1595
|
+
}
|
|
1596
|
+
function Bn(e) {
|
|
1597
|
+
var t = R(e), s = !1;
|
|
1598
|
+
return t && (s = e.filter(function(r) {
|
|
1599
|
+
return !Z(r) && hs(e);
|
|
1600
|
+
}).length === 0), t && s;
|
|
1601
|
+
}
|
|
1602
|
+
function qn(e) {
|
|
1603
|
+
var t = se(e) && !rt(e), s = !1, r = [
|
|
1602
1604
|
"sameDay",
|
|
1603
1605
|
"nextDay",
|
|
1604
1606
|
"lastDay",
|
|
1605
1607
|
"nextWeek",
|
|
1606
1608
|
"lastWeek",
|
|
1607
1609
|
"sameElse"
|
|
1608
|
-
],
|
|
1609
|
-
for (
|
|
1610
|
-
|
|
1611
|
-
return t &&
|
|
1612
|
-
}
|
|
1613
|
-
function
|
|
1614
|
-
var
|
|
1615
|
-
return
|
|
1616
|
-
}
|
|
1617
|
-
function
|
|
1618
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1619
|
-
var
|
|
1610
|
+
], n, a;
|
|
1611
|
+
for (n = 0; n < r.length; n += 1)
|
|
1612
|
+
a = r[n], s = s || w(e, a);
|
|
1613
|
+
return t && s;
|
|
1614
|
+
}
|
|
1615
|
+
function Jn(e, t) {
|
|
1616
|
+
var s = e.diff(t, "days", !0);
|
|
1617
|
+
return s < -6 ? "sameElse" : s < -1 ? "lastWeek" : s < 0 ? "lastDay" : s < 1 ? "sameDay" : s < 2 ? "nextDay" : s < 7 ? "nextWeek" : "sameElse";
|
|
1618
|
+
}
|
|
1619
|
+
function Qn(e, t) {
|
|
1620
|
+
arguments.length === 1 && (arguments[0] ? zn(arguments[0]) ? (e = arguments[0], t = void 0) : qn(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1621
|
+
var s = e || S(), r = kt(s, this).startOf("day"), n = l.calendarFormat(this, r) || "sameElse", a = t && (H(t[n]) ? t[n].call(this, s) : t[n]);
|
|
1620
1622
|
return this.format(
|
|
1621
|
-
|
|
1623
|
+
a || this.localeData().calendar(n, this, S(s))
|
|
1622
1624
|
);
|
|
1623
1625
|
}
|
|
1624
|
-
function
|
|
1625
|
-
return new
|
|
1626
|
+
function Xn() {
|
|
1627
|
+
return new ke(this);
|
|
1626
1628
|
}
|
|
1627
|
-
function
|
|
1628
|
-
var
|
|
1629
|
-
return this.isValid() &&
|
|
1629
|
+
function Kn(e, t) {
|
|
1630
|
+
var s = F(e) ? e : S(e);
|
|
1631
|
+
return this.isValid() && s.isValid() ? (t = N(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1630
1632
|
}
|
|
1631
|
-
function
|
|
1632
|
-
var
|
|
1633
|
-
return this.isValid() &&
|
|
1633
|
+
function ea(e, t) {
|
|
1634
|
+
var s = F(e) ? e : S(e);
|
|
1635
|
+
return this.isValid() && s.isValid() ? (t = N(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
|
|
1634
1636
|
}
|
|
1635
|
-
function
|
|
1636
|
-
var
|
|
1637
|
-
return this.isValid() &&
|
|
1637
|
+
function ta(e, t, s, r) {
|
|
1638
|
+
var n = F(e) ? e : S(e), a = F(t) ? t : S(t);
|
|
1639
|
+
return this.isValid() && n.isValid() && a.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(n, s) : !this.isBefore(n, s)) && (r[1] === ")" ? this.isBefore(a, s) : !this.isAfter(a, s))) : !1;
|
|
1638
1640
|
}
|
|
1639
|
-
function
|
|
1640
|
-
var
|
|
1641
|
-
return this.isValid() &&
|
|
1641
|
+
function sa(e, t) {
|
|
1642
|
+
var s = F(e) ? e : S(e), r;
|
|
1643
|
+
return this.isValid() && s.isValid() ? (t = N(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
|
|
1642
1644
|
}
|
|
1643
|
-
function
|
|
1645
|
+
function ra(e, t) {
|
|
1644
1646
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1645
1647
|
}
|
|
1646
|
-
function
|
|
1648
|
+
function na(e, t) {
|
|
1647
1649
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1648
1650
|
}
|
|
1649
|
-
function
|
|
1650
|
-
var
|
|
1651
|
+
function aa(e, t, s) {
|
|
1652
|
+
var r, n, a;
|
|
1651
1653
|
if (!this.isValid())
|
|
1652
1654
|
return NaN;
|
|
1653
|
-
if (
|
|
1655
|
+
if (r = kt(e, this), !r.isValid())
|
|
1654
1656
|
return NaN;
|
|
1655
|
-
switch (
|
|
1657
|
+
switch (n = (r.utcOffset() - this.utcOffset()) * 6e4, t = N(t), t) {
|
|
1656
1658
|
case "year":
|
|
1657
|
-
|
|
1659
|
+
a = be(this, r) / 12;
|
|
1658
1660
|
break;
|
|
1659
1661
|
case "month":
|
|
1660
|
-
|
|
1662
|
+
a = be(this, r);
|
|
1661
1663
|
break;
|
|
1662
1664
|
case "quarter":
|
|
1663
|
-
|
|
1665
|
+
a = be(this, r) / 3;
|
|
1664
1666
|
break;
|
|
1665
1667
|
case "second":
|
|
1666
|
-
|
|
1668
|
+
a = (this - r) / 1e3;
|
|
1667
1669
|
break;
|
|
1668
1670
|
case "minute":
|
|
1669
|
-
|
|
1671
|
+
a = (this - r) / 6e4;
|
|
1670
1672
|
break;
|
|
1671
1673
|
case "hour":
|
|
1672
|
-
|
|
1674
|
+
a = (this - r) / 36e5;
|
|
1673
1675
|
break;
|
|
1674
1676
|
case "day":
|
|
1675
|
-
|
|
1677
|
+
a = (this - r - n) / 864e5;
|
|
1676
1678
|
break;
|
|
1677
1679
|
case "week":
|
|
1678
|
-
|
|
1680
|
+
a = (this - r - n) / 6048e5;
|
|
1679
1681
|
break;
|
|
1680
1682
|
default:
|
|
1681
|
-
|
|
1683
|
+
a = this - r;
|
|
1682
1684
|
}
|
|
1683
|
-
return
|
|
1685
|
+
return s ? a : x(a);
|
|
1684
1686
|
}
|
|
1685
|
-
function
|
|
1687
|
+
function be(e, t) {
|
|
1686
1688
|
if (e.date() < t.date())
|
|
1687
|
-
return -
|
|
1688
|
-
var
|
|
1689
|
-
return t -
|
|
1689
|
+
return -be(t, e);
|
|
1690
|
+
var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"), n, a;
|
|
1691
|
+
return t - r < 0 ? (n = e.clone().add(s - 1, "months"), a = (t - r) / (r - n)) : (n = e.clone().add(s + 1, "months"), a = (t - r) / (n - r)), -(s + a) || 0;
|
|
1690
1692
|
}
|
|
1691
1693
|
l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1692
1694
|
l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1693
|
-
function
|
|
1695
|
+
function ia() {
|
|
1694
1696
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1695
1697
|
}
|
|
1696
|
-
function
|
|
1698
|
+
function oa(e) {
|
|
1697
1699
|
if (!this.isValid())
|
|
1698
1700
|
return null;
|
|
1699
|
-
var t = e !== !0,
|
|
1700
|
-
return
|
|
1701
|
-
|
|
1701
|
+
var t = e !== !0, s = t ? this.clone().utc() : this;
|
|
1702
|
+
return s.year() < 0 || s.year() > 9999 ? Oe(
|
|
1703
|
+
s,
|
|
1702
1704
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1703
|
-
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z",
|
|
1704
|
-
|
|
1705
|
+
) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Oe(s, "Z")) : Oe(
|
|
1706
|
+
s,
|
|
1705
1707
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1706
1708
|
);
|
|
1707
1709
|
}
|
|
1708
|
-
function
|
|
1710
|
+
function la() {
|
|
1709
1711
|
if (!this.isValid())
|
|
1710
1712
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1711
|
-
var e = "moment", t = "", r,
|
|
1712
|
-
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"),
|
|
1713
|
+
var e = "moment", t = "", s, r, n, a;
|
|
1714
|
+
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n = "-MM-DD[T]HH:mm:ss.SSS", a = t + '[")]', this.format(s + r + n + a);
|
|
1713
1715
|
}
|
|
1714
|
-
function
|
|
1716
|
+
function ua(e) {
|
|
1715
1717
|
e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
|
|
1716
|
-
var t =
|
|
1718
|
+
var t = Oe(this, e);
|
|
1717
1719
|
return this.localeData().postformat(t);
|
|
1718
1720
|
}
|
|
1719
|
-
function
|
|
1720
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1721
|
+
function da(e, t) {
|
|
1722
|
+
return this.isValid() && (F(e) && e.isValid() || S(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1721
1723
|
}
|
|
1722
|
-
function
|
|
1723
|
-
return this.from(
|
|
1724
|
+
function ha(e) {
|
|
1725
|
+
return this.from(S(), e);
|
|
1724
1726
|
}
|
|
1725
|
-
function
|
|
1726
|
-
return this.isValid() && (F(e) && e.isValid() ||
|
|
1727
|
+
function fa(e, t) {
|
|
1728
|
+
return this.isValid() && (F(e) && e.isValid() || S(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1727
1729
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return this.to(
|
|
1730
|
+
function ca(e) {
|
|
1731
|
+
return this.to(S(), e);
|
|
1730
1732
|
}
|
|
1731
|
-
function
|
|
1733
|
+
function fs(e) {
|
|
1732
1734
|
var t;
|
|
1733
|
-
return e === void 0 ? this._locale._abbr : (t =
|
|
1735
|
+
return e === void 0 ? this._locale._abbr : (t = B(e), t != null && (this._locale = t), this);
|
|
1734
1736
|
}
|
|
1735
|
-
var
|
|
1737
|
+
var cs = W(
|
|
1736
1738
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1737
1739
|
function(e) {
|
|
1738
1740
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1739
1741
|
}
|
|
1740
1742
|
);
|
|
1741
|
-
function
|
|
1743
|
+
function ms() {
|
|
1742
1744
|
return this._locale;
|
|
1743
1745
|
}
|
|
1744
|
-
var
|
|
1746
|
+
var Ne = 1e3, le = 60 * Ne, Pe = 60 * le, _s = (365 * 400 + 97) * 24 * Pe;
|
|
1745
1747
|
function ue(e, t) {
|
|
1746
1748
|
return (e % t + t) % t;
|
|
1747
1749
|
}
|
|
1748
|
-
function
|
|
1749
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t,
|
|
1750
|
+
function ys(e, t, s) {
|
|
1751
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, s) - _s : new Date(e, t, s).valueOf();
|
|
1750
1752
|
}
|
|
1751
|
-
function
|
|
1752
|
-
return e < 100 && e >= 0 ? Date.UTC(e + 400, t,
|
|
1753
|
+
function ws(e, t, s) {
|
|
1754
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - _s : Date.UTC(e, t, s);
|
|
1753
1755
|
}
|
|
1754
|
-
function
|
|
1755
|
-
var t,
|
|
1756
|
-
if (e =
|
|
1756
|
+
function ma(e) {
|
|
1757
|
+
var t, s;
|
|
1758
|
+
if (e = N(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1757
1759
|
return this;
|
|
1758
|
-
switch (
|
|
1760
|
+
switch (s = this._isUTC ? ws : ys, e) {
|
|
1759
1761
|
case "year":
|
|
1760
|
-
t =
|
|
1762
|
+
t = s(this.year(), 0, 1);
|
|
1761
1763
|
break;
|
|
1762
1764
|
case "quarter":
|
|
1763
|
-
t =
|
|
1765
|
+
t = s(
|
|
1764
1766
|
this.year(),
|
|
1765
1767
|
this.month() - this.month() % 3,
|
|
1766
1768
|
1
|
|
1767
1769
|
);
|
|
1768
1770
|
break;
|
|
1769
1771
|
case "month":
|
|
1770
|
-
t =
|
|
1772
|
+
t = s(this.year(), this.month(), 1);
|
|
1771
1773
|
break;
|
|
1772
1774
|
case "week":
|
|
1773
|
-
t =
|
|
1775
|
+
t = s(
|
|
1774
1776
|
this.year(),
|
|
1775
1777
|
this.month(),
|
|
1776
1778
|
this.date() - this.weekday()
|
|
1777
1779
|
);
|
|
1778
1780
|
break;
|
|
1779
1781
|
case "isoWeek":
|
|
1780
|
-
t =
|
|
1782
|
+
t = s(
|
|
1781
1783
|
this.year(),
|
|
1782
1784
|
this.month(),
|
|
1783
1785
|
this.date() - (this.isoWeekday() - 1)
|
|
@@ -1785,50 +1787,50 @@ function fi(e) {
|
|
|
1785
1787
|
break;
|
|
1786
1788
|
case "day":
|
|
1787
1789
|
case "date":
|
|
1788
|
-
t =
|
|
1790
|
+
t = s(this.year(), this.month(), this.date());
|
|
1789
1791
|
break;
|
|
1790
1792
|
case "hour":
|
|
1791
1793
|
t = this._d.valueOf(), t -= ue(
|
|
1792
1794
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1793
|
-
|
|
1795
|
+
Pe
|
|
1794
1796
|
);
|
|
1795
1797
|
break;
|
|
1796
1798
|
case "minute":
|
|
1797
1799
|
t = this._d.valueOf(), t -= ue(t, le);
|
|
1798
1800
|
break;
|
|
1799
1801
|
case "second":
|
|
1800
|
-
t = this._d.valueOf(), t -= ue(t,
|
|
1802
|
+
t = this._d.valueOf(), t -= ue(t, Ne);
|
|
1801
1803
|
break;
|
|
1802
1804
|
}
|
|
1803
1805
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1804
1806
|
}
|
|
1805
|
-
function
|
|
1806
|
-
var t,
|
|
1807
|
-
if (e =
|
|
1807
|
+
function _a(e) {
|
|
1808
|
+
var t, s;
|
|
1809
|
+
if (e = N(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1808
1810
|
return this;
|
|
1809
|
-
switch (
|
|
1811
|
+
switch (s = this._isUTC ? ws : ys, e) {
|
|
1810
1812
|
case "year":
|
|
1811
|
-
t =
|
|
1813
|
+
t = s(this.year() + 1, 0, 1) - 1;
|
|
1812
1814
|
break;
|
|
1813
1815
|
case "quarter":
|
|
1814
|
-
t =
|
|
1816
|
+
t = s(
|
|
1815
1817
|
this.year(),
|
|
1816
1818
|
this.month() - this.month() % 3 + 3,
|
|
1817
1819
|
1
|
|
1818
1820
|
) - 1;
|
|
1819
1821
|
break;
|
|
1820
1822
|
case "month":
|
|
1821
|
-
t =
|
|
1823
|
+
t = s(this.year(), this.month() + 1, 1) - 1;
|
|
1822
1824
|
break;
|
|
1823
1825
|
case "week":
|
|
1824
|
-
t =
|
|
1826
|
+
t = s(
|
|
1825
1827
|
this.year(),
|
|
1826
1828
|
this.month(),
|
|
1827
1829
|
this.date() - this.weekday() + 7
|
|
1828
1830
|
) - 1;
|
|
1829
1831
|
break;
|
|
1830
1832
|
case "isoWeek":
|
|
1831
|
-
t =
|
|
1833
|
+
t = s(
|
|
1832
1834
|
this.year(),
|
|
1833
1835
|
this.month(),
|
|
1834
1836
|
this.date() - (this.isoWeekday() - 1) + 7
|
|
@@ -1836,33 +1838,33 @@ function hi(e) {
|
|
|
1836
1838
|
break;
|
|
1837
1839
|
case "day":
|
|
1838
1840
|
case "date":
|
|
1839
|
-
t =
|
|
1841
|
+
t = s(this.year(), this.month(), this.date() + 1) - 1;
|
|
1840
1842
|
break;
|
|
1841
1843
|
case "hour":
|
|
1842
|
-
t = this._d.valueOf(), t +=
|
|
1844
|
+
t = this._d.valueOf(), t += Pe - ue(
|
|
1843
1845
|
t + (this._isUTC ? 0 : this.utcOffset() * le),
|
|
1844
|
-
|
|
1846
|
+
Pe
|
|
1845
1847
|
) - 1;
|
|
1846
1848
|
break;
|
|
1847
1849
|
case "minute":
|
|
1848
1850
|
t = this._d.valueOf(), t += le - ue(t, le) - 1;
|
|
1849
1851
|
break;
|
|
1850
1852
|
case "second":
|
|
1851
|
-
t = this._d.valueOf(), t +=
|
|
1853
|
+
t = this._d.valueOf(), t += Ne - ue(t, Ne) - 1;
|
|
1852
1854
|
break;
|
|
1853
1855
|
}
|
|
1854
1856
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1855
1857
|
}
|
|
1856
|
-
function
|
|
1858
|
+
function ya() {
|
|
1857
1859
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1858
1860
|
}
|
|
1859
|
-
function
|
|
1861
|
+
function wa() {
|
|
1860
1862
|
return Math.floor(this.valueOf() / 1e3);
|
|
1861
1863
|
}
|
|
1862
|
-
function
|
|
1864
|
+
function Ma() {
|
|
1863
1865
|
return new Date(this.valueOf());
|
|
1864
1866
|
}
|
|
1865
|
-
function
|
|
1867
|
+
function ga() {
|
|
1866
1868
|
var e = this;
|
|
1867
1869
|
return [
|
|
1868
1870
|
e.year(),
|
|
@@ -1874,7 +1876,7 @@ function pi() {
|
|
|
1874
1876
|
e.millisecond()
|
|
1875
1877
|
];
|
|
1876
1878
|
}
|
|
1877
|
-
function
|
|
1879
|
+
function Sa() {
|
|
1878
1880
|
var e = this;
|
|
1879
1881
|
return {
|
|
1880
1882
|
years: e.year(),
|
|
@@ -1886,19 +1888,19 @@ function gi() {
|
|
|
1886
1888
|
milliseconds: e.milliseconds()
|
|
1887
1889
|
};
|
|
1888
1890
|
}
|
|
1889
|
-
function
|
|
1891
|
+
function ka() {
|
|
1890
1892
|
return this.isValid() ? this.toISOString() : null;
|
|
1891
1893
|
}
|
|
1892
|
-
function
|
|
1893
|
-
return
|
|
1894
|
+
function Da() {
|
|
1895
|
+
return nt(this);
|
|
1894
1896
|
}
|
|
1895
|
-
function
|
|
1896
|
-
return Q({},
|
|
1897
|
+
function pa() {
|
|
1898
|
+
return Q({}, c(this));
|
|
1897
1899
|
}
|
|
1898
|
-
function
|
|
1899
|
-
return
|
|
1900
|
+
function va() {
|
|
1901
|
+
return c(this).overflow;
|
|
1900
1902
|
}
|
|
1901
|
-
function
|
|
1903
|
+
function Ya() {
|
|
1902
1904
|
return {
|
|
1903
1905
|
input: this._i,
|
|
1904
1906
|
format: this._f,
|
|
@@ -1907,173 +1909,173 @@ function Si() {
|
|
|
1907
1909
|
strict: this._strict
|
|
1908
1910
|
};
|
|
1909
1911
|
}
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
d("N",
|
|
1920
|
-
d("NN",
|
|
1921
|
-
d("NNN",
|
|
1922
|
-
d("NNNN",
|
|
1923
|
-
d("NNNNN",
|
|
1924
|
-
|
|
1912
|
+
h("N", 0, 0, "eraAbbr");
|
|
1913
|
+
h("NN", 0, 0, "eraAbbr");
|
|
1914
|
+
h("NNN", 0, 0, "eraAbbr");
|
|
1915
|
+
h("NNNN", 0, 0, "eraName");
|
|
1916
|
+
h("NNNNN", 0, 0, "eraNarrow");
|
|
1917
|
+
h("y", ["y", 1], "yo", "eraYear");
|
|
1918
|
+
h("y", ["yy", 2], 0, "eraYear");
|
|
1919
|
+
h("y", ["yyy", 3], 0, "eraYear");
|
|
1920
|
+
h("y", ["yyyy", 4], 0, "eraYear");
|
|
1921
|
+
d("N", Dt);
|
|
1922
|
+
d("NN", Dt);
|
|
1923
|
+
d("NNN", Dt);
|
|
1924
|
+
d("NNNN", Ca);
|
|
1925
|
+
d("NNNNN", Ia);
|
|
1926
|
+
g(
|
|
1925
1927
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
1926
|
-
function(e, t,
|
|
1927
|
-
var
|
|
1928
|
-
|
|
1928
|
+
function(e, t, s, r) {
|
|
1929
|
+
var n = s._locale.erasParse(e, r, s._strict);
|
|
1930
|
+
n ? c(s).era = n : c(s).invalidEra = e;
|
|
1929
1931
|
}
|
|
1930
1932
|
);
|
|
1931
1933
|
d("y", de);
|
|
1932
1934
|
d("yy", de);
|
|
1933
1935
|
d("yyy", de);
|
|
1934
1936
|
d("yyyy", de);
|
|
1935
|
-
d("yo",
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
var
|
|
1939
|
-
|
|
1937
|
+
d("yo", Ua);
|
|
1938
|
+
g(["y", "yy", "yyy", "yyyy"], Y);
|
|
1939
|
+
g(["yo"], function(e, t, s, r) {
|
|
1940
|
+
var n;
|
|
1941
|
+
s._locale._eraYearOrdinalRegex && (n = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[Y] = s._locale.eraYearOrdinalParse(e, n) : t[Y] = parseInt(e, 10);
|
|
1940
1942
|
});
|
|
1941
|
-
function
|
|
1942
|
-
var r,
|
|
1943
|
-
for (
|
|
1944
|
-
switch (typeof
|
|
1943
|
+
function Oa(e, t) {
|
|
1944
|
+
var s, r, n, a = this._eras || B("en")._eras;
|
|
1945
|
+
for (s = 0, r = a.length; s < r; ++s) {
|
|
1946
|
+
switch (typeof a[s].since) {
|
|
1945
1947
|
case "string":
|
|
1946
|
-
|
|
1948
|
+
n = l(a[s].since).startOf("day"), a[s].since = n.valueOf();
|
|
1947
1949
|
break;
|
|
1948
1950
|
}
|
|
1949
|
-
switch (typeof
|
|
1951
|
+
switch (typeof a[s].until) {
|
|
1950
1952
|
case "undefined":
|
|
1951
|
-
|
|
1953
|
+
a[s].until = 1 / 0;
|
|
1952
1954
|
break;
|
|
1953
1955
|
case "string":
|
|
1954
|
-
|
|
1956
|
+
n = l(a[s].until).startOf("day").valueOf(), a[s].until = n.valueOf();
|
|
1955
1957
|
break;
|
|
1956
1958
|
}
|
|
1957
1959
|
}
|
|
1958
|
-
return
|
|
1960
|
+
return a;
|
|
1959
1961
|
}
|
|
1960
|
-
function
|
|
1961
|
-
var
|
|
1962
|
-
for (e = e.toUpperCase(),
|
|
1963
|
-
if (
|
|
1962
|
+
function Ta(e, t, s) {
|
|
1963
|
+
var r, n, a = this.eras(), i, u, f;
|
|
1964
|
+
for (e = e.toUpperCase(), r = 0, n = a.length; r < n; ++r)
|
|
1965
|
+
if (i = a[r].name.toUpperCase(), u = a[r].abbr.toUpperCase(), f = a[r].narrow.toUpperCase(), s)
|
|
1964
1966
|
switch (t) {
|
|
1965
1967
|
case "N":
|
|
1966
1968
|
case "NN":
|
|
1967
1969
|
case "NNN":
|
|
1968
1970
|
if (u === e)
|
|
1969
|
-
return
|
|
1971
|
+
return a[r];
|
|
1970
1972
|
break;
|
|
1971
1973
|
case "NNNN":
|
|
1972
|
-
if (
|
|
1973
|
-
return
|
|
1974
|
+
if (i === e)
|
|
1975
|
+
return a[r];
|
|
1974
1976
|
break;
|
|
1975
1977
|
case "NNNNN":
|
|
1976
1978
|
if (f === e)
|
|
1977
|
-
return
|
|
1979
|
+
return a[r];
|
|
1978
1980
|
break;
|
|
1979
1981
|
}
|
|
1980
|
-
else if ([
|
|
1981
|
-
return
|
|
1982
|
-
}
|
|
1983
|
-
function
|
|
1984
|
-
var
|
|
1985
|
-
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) *
|
|
1986
|
-
}
|
|
1987
|
-
function
|
|
1988
|
-
var e, t,
|
|
1989
|
-
for (e = 0, t =
|
|
1990
|
-
if (
|
|
1991
|
-
return
|
|
1982
|
+
else if ([i, u, f].indexOf(e) >= 0)
|
|
1983
|
+
return a[r];
|
|
1984
|
+
}
|
|
1985
|
+
function ba(e, t) {
|
|
1986
|
+
var s = e.since <= e.until ? 1 : -1;
|
|
1987
|
+
return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * s;
|
|
1988
|
+
}
|
|
1989
|
+
function xa() {
|
|
1990
|
+
var e, t, s, r = this.localeData().eras();
|
|
1991
|
+
for (e = 0, t = r.length; e < t; ++e)
|
|
1992
|
+
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
1993
|
+
return r[e].name;
|
|
1992
1994
|
return "";
|
|
1993
1995
|
}
|
|
1994
|
-
function
|
|
1995
|
-
var e, t,
|
|
1996
|
-
for (e = 0, t =
|
|
1997
|
-
if (
|
|
1998
|
-
return
|
|
1996
|
+
function Wa() {
|
|
1997
|
+
var e, t, s, r = this.localeData().eras();
|
|
1998
|
+
for (e = 0, t = r.length; e < t; ++e)
|
|
1999
|
+
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2000
|
+
return r[e].narrow;
|
|
1999
2001
|
return "";
|
|
2000
2002
|
}
|
|
2001
|
-
function
|
|
2002
|
-
var e, t,
|
|
2003
|
-
for (e = 0, t =
|
|
2004
|
-
if (
|
|
2005
|
-
return
|
|
2003
|
+
function Na() {
|
|
2004
|
+
var e, t, s, r = this.localeData().eras();
|
|
2005
|
+
for (e = 0, t = r.length; e < t; ++e)
|
|
2006
|
+
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2007
|
+
return r[e].abbr;
|
|
2006
2008
|
return "";
|
|
2007
2009
|
}
|
|
2008
|
-
function
|
|
2009
|
-
var e, t,
|
|
2010
|
-
for (e = 0, t =
|
|
2011
|
-
if (
|
|
2012
|
-
return (this.year() - l(
|
|
2010
|
+
function Pa() {
|
|
2011
|
+
var e, t, s, r, n = this.localeData().eras();
|
|
2012
|
+
for (e = 0, t = n.length; e < t; ++e)
|
|
2013
|
+
if (s = n[e].since <= n[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
|
|
2014
|
+
return (this.year() - l(n[e].since).year()) * s + n[e].offset;
|
|
2013
2015
|
return this.year();
|
|
2014
2016
|
}
|
|
2015
|
-
function
|
|
2016
|
-
return
|
|
2017
|
+
function Ra(e) {
|
|
2018
|
+
return w(this, "_erasNameRegex") || pt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2017
2019
|
}
|
|
2018
|
-
function
|
|
2019
|
-
return
|
|
2020
|
+
function Fa(e) {
|
|
2021
|
+
return w(this, "_erasAbbrRegex") || pt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2020
2022
|
}
|
|
2021
|
-
function
|
|
2022
|
-
return
|
|
2023
|
+
function La(e) {
|
|
2024
|
+
return w(this, "_erasNarrowRegex") || pt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2023
2025
|
}
|
|
2024
|
-
function
|
|
2026
|
+
function Dt(e, t) {
|
|
2025
2027
|
return t.erasAbbrRegex(e);
|
|
2026
2028
|
}
|
|
2027
|
-
function
|
|
2029
|
+
function Ca(e, t) {
|
|
2028
2030
|
return t.erasNameRegex(e);
|
|
2029
2031
|
}
|
|
2030
|
-
function
|
|
2032
|
+
function Ia(e, t) {
|
|
2031
2033
|
return t.erasNarrowRegex(e);
|
|
2032
2034
|
}
|
|
2033
|
-
function
|
|
2035
|
+
function Ua(e, t) {
|
|
2034
2036
|
return t._eraYearOrdinalRegex || de;
|
|
2035
2037
|
}
|
|
2036
|
-
function
|
|
2037
|
-
var e = [], t = [],
|
|
2038
|
-
for (
|
|
2039
|
-
|
|
2040
|
-
this._erasRegex = new RegExp("^(" +
|
|
2041
|
-
"^(" +
|
|
2038
|
+
function pt() {
|
|
2039
|
+
var e = [], t = [], s = [], r = [], n, a, i, u, f, _ = this.eras();
|
|
2040
|
+
for (n = 0, a = _.length; n < a; ++n)
|
|
2041
|
+
i = $(_[n].name), u = $(_[n].abbr), f = $(_[n].narrow), t.push(i), e.push(u), s.push(f), r.push(i), r.push(u), r.push(f);
|
|
2042
|
+
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(
|
|
2043
|
+
"^(" + s.join("|") + ")",
|
|
2042
2044
|
"i"
|
|
2043
2045
|
);
|
|
2044
2046
|
}
|
|
2045
|
-
|
|
2047
|
+
h(0, ["gg", 2], 0, function() {
|
|
2046
2048
|
return this.weekYear() % 100;
|
|
2047
2049
|
});
|
|
2048
|
-
|
|
2050
|
+
h(0, ["GG", 2], 0, function() {
|
|
2049
2051
|
return this.isoWeekYear() % 100;
|
|
2050
2052
|
});
|
|
2051
|
-
function
|
|
2052
|
-
|
|
2053
|
+
function Ve(e, t) {
|
|
2054
|
+
h(0, [e, e.length], 0, t);
|
|
2053
2055
|
}
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2056
|
+
Ve("gggg", "weekYear");
|
|
2057
|
+
Ve("ggggg", "weekYear");
|
|
2058
|
+
Ve("GGGG", "isoWeekYear");
|
|
2059
|
+
Ve("GGGGG", "isoWeekYear");
|
|
2058
2060
|
d("G", Ue);
|
|
2059
2061
|
d("g", Ue);
|
|
2060
|
-
d("GG",
|
|
2061
|
-
d("gg",
|
|
2062
|
+
d("GG", k, b);
|
|
2063
|
+
d("gg", k, b);
|
|
2062
2064
|
d("GGGG", dt, ut);
|
|
2063
2065
|
d("gggg", dt, ut);
|
|
2064
|
-
d("GGGGG", Ie,
|
|
2065
|
-
d("ggggg", Ie,
|
|
2066
|
-
|
|
2066
|
+
d("GGGGG", Ie, Le);
|
|
2067
|
+
d("ggggg", Ie, Le);
|
|
2068
|
+
pe(
|
|
2067
2069
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2068
|
-
function(e, t,
|
|
2069
|
-
t[
|
|
2070
|
+
function(e, t, s, r) {
|
|
2071
|
+
t[r.substr(0, 2)] = m(e);
|
|
2070
2072
|
}
|
|
2071
2073
|
);
|
|
2072
|
-
|
|
2073
|
-
t[
|
|
2074
|
+
pe(["gg", "GG"], function(e, t, s, r) {
|
|
2075
|
+
t[r] = l.parseTwoDigitYear(e);
|
|
2074
2076
|
});
|
|
2075
|
-
function
|
|
2076
|
-
return
|
|
2077
|
+
function Ha(e) {
|
|
2078
|
+
return Ms.call(
|
|
2077
2079
|
this,
|
|
2078
2080
|
e,
|
|
2079
2081
|
this.week(),
|
|
@@ -2082,8 +2084,8 @@ function Ii(e) {
|
|
|
2082
2084
|
this.localeData()._week.doy
|
|
2083
2085
|
);
|
|
2084
2086
|
}
|
|
2085
|
-
function
|
|
2086
|
-
return
|
|
2087
|
+
function Ea(e) {
|
|
2088
|
+
return Ms.call(
|
|
2087
2089
|
this,
|
|
2088
2090
|
e,
|
|
2089
2091
|
this.isoWeek(),
|
|
@@ -2092,293 +2094,293 @@ function Ui(e) {
|
|
|
2092
2094
|
4
|
|
2093
2095
|
);
|
|
2094
2096
|
}
|
|
2095
|
-
function
|
|
2096
|
-
return
|
|
2097
|
+
function Aa() {
|
|
2098
|
+
return z(this.year(), 1, 4);
|
|
2097
2099
|
}
|
|
2098
|
-
function
|
|
2099
|
-
return
|
|
2100
|
+
function ja() {
|
|
2101
|
+
return z(this.isoWeekYear(), 1, 4);
|
|
2100
2102
|
}
|
|
2101
|
-
function
|
|
2103
|
+
function Va() {
|
|
2102
2104
|
var e = this.localeData()._week;
|
|
2103
|
-
return
|
|
2105
|
+
return z(this.year(), e.dow, e.doy);
|
|
2104
2106
|
}
|
|
2105
|
-
function
|
|
2107
|
+
function Ga() {
|
|
2106
2108
|
var e = this.localeData()._week;
|
|
2107
|
-
return
|
|
2109
|
+
return z(this.weekYear(), e.dow, e.doy);
|
|
2108
2110
|
}
|
|
2109
|
-
function
|
|
2110
|
-
var
|
|
2111
|
-
return e == null ?
|
|
2111
|
+
function Ms(e, t, s, r, n) {
|
|
2112
|
+
var a;
|
|
2113
|
+
return e == null ? Me(this, r, n).year : (a = z(e, r, n), t > a && (t = a), $a.call(this, e, t, s, r, n));
|
|
2112
2114
|
}
|
|
2113
|
-
function
|
|
2114
|
-
var
|
|
2115
|
-
return this.year(
|
|
2115
|
+
function $a(e, t, s, r, n) {
|
|
2116
|
+
var a = Qt(e, t, s, r, n), i = we(a.year, 0, a.dayOfYear);
|
|
2117
|
+
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2116
2118
|
}
|
|
2117
|
-
|
|
2119
|
+
h("Q", 0, "Qo", "quarter");
|
|
2118
2120
|
d("Q", Et);
|
|
2119
|
-
|
|
2120
|
-
t[
|
|
2121
|
+
g("Q", function(e, t) {
|
|
2122
|
+
t[V] = (m(e) - 1) * 3;
|
|
2121
2123
|
});
|
|
2122
|
-
function
|
|
2124
|
+
function za(e) {
|
|
2123
2125
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2124
2126
|
}
|
|
2125
|
-
|
|
2126
|
-
d("D",
|
|
2127
|
-
d("DD",
|
|
2127
|
+
h("D", ["DD", 2], "Do", "date");
|
|
2128
|
+
d("D", k, he);
|
|
2129
|
+
d("DD", k, b);
|
|
2128
2130
|
d("Do", function(e, t) {
|
|
2129
2131
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2130
2132
|
});
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
t[
|
|
2133
|
+
g(["D", "DD"], C);
|
|
2134
|
+
g("Do", function(e, t) {
|
|
2135
|
+
t[C] = m(e.match(k)[0]);
|
|
2134
2136
|
});
|
|
2135
|
-
var
|
|
2136
|
-
|
|
2137
|
-
d("DDD",
|
|
2137
|
+
var gs = fe("Date", !0);
|
|
2138
|
+
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2139
|
+
d("DDD", Ce);
|
|
2138
2140
|
d("DDDD", At);
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
+
g(["DDD", "DDDD"], function(e, t, s) {
|
|
2142
|
+
s._dayOfYear = m(e);
|
|
2141
2143
|
});
|
|
2142
|
-
function
|
|
2144
|
+
function Za(e) {
|
|
2143
2145
|
var t = Math.round(
|
|
2144
2146
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2145
2147
|
) + 1;
|
|
2146
2148
|
return e == null ? t : this.add(e - t, "d");
|
|
2147
2149
|
}
|
|
2148
|
-
|
|
2149
|
-
d("m",
|
|
2150
|
-
d("mm",
|
|
2151
|
-
|
|
2152
|
-
var
|
|
2153
|
-
|
|
2154
|
-
d("s",
|
|
2155
|
-
d("ss",
|
|
2156
|
-
|
|
2157
|
-
var
|
|
2158
|
-
|
|
2150
|
+
h("m", ["mm", 2], 0, "minute");
|
|
2151
|
+
d("m", k, ht);
|
|
2152
|
+
d("mm", k, b);
|
|
2153
|
+
g(["m", "mm"], P);
|
|
2154
|
+
var Ba = fe("Minutes", !1);
|
|
2155
|
+
h("s", ["ss", 2], 0, "second");
|
|
2156
|
+
d("s", k, ht);
|
|
2157
|
+
d("ss", k, b);
|
|
2158
|
+
g(["s", "ss"], G);
|
|
2159
|
+
var qa = fe("Seconds", !1);
|
|
2160
|
+
h("S", 0, 0, function() {
|
|
2159
2161
|
return ~~(this.millisecond() / 100);
|
|
2160
2162
|
});
|
|
2161
|
-
|
|
2163
|
+
h(0, ["SS", 2], 0, function() {
|
|
2162
2164
|
return ~~(this.millisecond() / 10);
|
|
2163
2165
|
});
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
+
h(0, ["SSS", 3], 0, "millisecond");
|
|
2167
|
+
h(0, ["SSSS", 4], 0, function() {
|
|
2166
2168
|
return this.millisecond() * 10;
|
|
2167
2169
|
});
|
|
2168
|
-
|
|
2170
|
+
h(0, ["SSSSS", 5], 0, function() {
|
|
2169
2171
|
return this.millisecond() * 100;
|
|
2170
2172
|
});
|
|
2171
|
-
|
|
2173
|
+
h(0, ["SSSSSS", 6], 0, function() {
|
|
2172
2174
|
return this.millisecond() * 1e3;
|
|
2173
2175
|
});
|
|
2174
|
-
|
|
2176
|
+
h(0, ["SSSSSSS", 7], 0, function() {
|
|
2175
2177
|
return this.millisecond() * 1e4;
|
|
2176
2178
|
});
|
|
2177
|
-
|
|
2179
|
+
h(0, ["SSSSSSSS", 8], 0, function() {
|
|
2178
2180
|
return this.millisecond() * 1e5;
|
|
2179
2181
|
});
|
|
2180
|
-
|
|
2182
|
+
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2181
2183
|
return this.millisecond() * 1e6;
|
|
2182
2184
|
});
|
|
2183
|
-
d("S",
|
|
2184
|
-
d("SS",
|
|
2185
|
-
d("SSS",
|
|
2186
|
-
var
|
|
2187
|
-
for (
|
|
2188
|
-
d(
|
|
2189
|
-
function
|
|
2190
|
-
t[te] =
|
|
2191
|
-
}
|
|
2192
|
-
for (
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
function
|
|
2185
|
+
d("S", Ce, Et);
|
|
2186
|
+
d("SS", Ce, b);
|
|
2187
|
+
d("SSS", Ce, At);
|
|
2188
|
+
var X, Ss;
|
|
2189
|
+
for (X = "SSSS"; X.length <= 9; X += "S")
|
|
2190
|
+
d(X, de);
|
|
2191
|
+
function Ja(e, t) {
|
|
2192
|
+
t[te] = m(("0." + e) * 1e3);
|
|
2193
|
+
}
|
|
2194
|
+
for (X = "S"; X.length <= 9; X += "S")
|
|
2195
|
+
g(X, Ja);
|
|
2196
|
+
Ss = fe("Milliseconds", !1);
|
|
2197
|
+
h("z", 0, 0, "zoneAbbr");
|
|
2198
|
+
h("zz", 0, 0, "zoneName");
|
|
2199
|
+
function Qa() {
|
|
2198
2200
|
return this._isUTC ? "UTC" : "";
|
|
2199
2201
|
}
|
|
2200
|
-
function
|
|
2202
|
+
function Xa() {
|
|
2201
2203
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2202
2204
|
}
|
|
2203
|
-
var o =
|
|
2204
|
-
o.add =
|
|
2205
|
-
o.calendar =
|
|
2206
|
-
o.clone =
|
|
2207
|
-
o.diff =
|
|
2208
|
-
o.endOf =
|
|
2209
|
-
o.format =
|
|
2210
|
-
o.from =
|
|
2211
|
-
o.fromNow =
|
|
2212
|
-
o.to =
|
|
2213
|
-
o.toNow =
|
|
2214
|
-
o.get =
|
|
2215
|
-
o.invalidAt =
|
|
2216
|
-
o.isAfter =
|
|
2217
|
-
o.isBefore =
|
|
2218
|
-
o.isBetween =
|
|
2219
|
-
o.isSame =
|
|
2220
|
-
o.isSameOrAfter =
|
|
2221
|
-
o.isSameOrBefore =
|
|
2222
|
-
o.isValid =
|
|
2223
|
-
o.lang =
|
|
2224
|
-
o.locale =
|
|
2225
|
-
o.localeData =
|
|
2226
|
-
o.max =
|
|
2227
|
-
o.min =
|
|
2228
|
-
o.parsingFlags =
|
|
2229
|
-
o.set =
|
|
2230
|
-
o.startOf =
|
|
2231
|
-
o.subtract =
|
|
2232
|
-
o.toArray =
|
|
2233
|
-
o.toObject =
|
|
2234
|
-
o.toDate =
|
|
2235
|
-
o.toISOString =
|
|
2236
|
-
o.inspect =
|
|
2205
|
+
var o = ke.prototype;
|
|
2206
|
+
o.add = Gn;
|
|
2207
|
+
o.calendar = Qn;
|
|
2208
|
+
o.clone = Xn;
|
|
2209
|
+
o.diff = aa;
|
|
2210
|
+
o.endOf = _a;
|
|
2211
|
+
o.format = ua;
|
|
2212
|
+
o.from = da;
|
|
2213
|
+
o.fromNow = ha;
|
|
2214
|
+
o.to = fa;
|
|
2215
|
+
o.toNow = ca;
|
|
2216
|
+
o.get = or;
|
|
2217
|
+
o.invalidAt = va;
|
|
2218
|
+
o.isAfter = Kn;
|
|
2219
|
+
o.isBefore = ea;
|
|
2220
|
+
o.isBetween = ta;
|
|
2221
|
+
o.isSame = sa;
|
|
2222
|
+
o.isSameOrAfter = ra;
|
|
2223
|
+
o.isSameOrBefore = na;
|
|
2224
|
+
o.isValid = Da;
|
|
2225
|
+
o.lang = cs;
|
|
2226
|
+
o.locale = fs;
|
|
2227
|
+
o.localeData = ms;
|
|
2228
|
+
o.max = Dn;
|
|
2229
|
+
o.min = kn;
|
|
2230
|
+
o.parsingFlags = pa;
|
|
2231
|
+
o.set = lr;
|
|
2232
|
+
o.startOf = ma;
|
|
2233
|
+
o.subtract = $n;
|
|
2234
|
+
o.toArray = ga;
|
|
2235
|
+
o.toObject = Sa;
|
|
2236
|
+
o.toDate = Ma;
|
|
2237
|
+
o.toISOString = oa;
|
|
2238
|
+
o.inspect = la;
|
|
2237
2239
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2238
2240
|
return "Moment<" + this.format() + ">";
|
|
2239
2241
|
});
|
|
2240
|
-
o.toJSON =
|
|
2241
|
-
o.toString =
|
|
2242
|
-
o.unix =
|
|
2243
|
-
o.valueOf =
|
|
2244
|
-
o.creationData =
|
|
2245
|
-
o.eraName =
|
|
2246
|
-
o.eraNarrow =
|
|
2247
|
-
o.eraAbbr =
|
|
2248
|
-
o.eraYear =
|
|
2249
|
-
o.year =
|
|
2250
|
-
o.isLeapYear =
|
|
2251
|
-
o.weekYear =
|
|
2252
|
-
o.isoWeekYear =
|
|
2253
|
-
o.quarter = o.quarters =
|
|
2254
|
-
o.month =
|
|
2255
|
-
o.daysInMonth =
|
|
2256
|
-
o.week = o.weeks =
|
|
2257
|
-
o.isoWeek = o.isoWeeks =
|
|
2258
|
-
o.weeksInYear =
|
|
2259
|
-
o.weeksInWeekYear =
|
|
2260
|
-
o.isoWeeksInYear =
|
|
2261
|
-
o.isoWeeksInISOWeekYear =
|
|
2262
|
-
o.date =
|
|
2263
|
-
o.day = o.days =
|
|
2264
|
-
o.weekday =
|
|
2265
|
-
o.isoWeekday =
|
|
2266
|
-
o.dayOfYear =
|
|
2267
|
-
o.hour = o.hours =
|
|
2268
|
-
o.minute = o.minutes =
|
|
2269
|
-
o.second = o.seconds =
|
|
2270
|
-
o.millisecond = o.milliseconds =
|
|
2271
|
-
o.utcOffset =
|
|
2272
|
-
o.utc =
|
|
2273
|
-
o.local =
|
|
2274
|
-
o.parseZone =
|
|
2275
|
-
o.hasAlignedHourOffset =
|
|
2276
|
-
o.isDST =
|
|
2277
|
-
o.isLocal =
|
|
2278
|
-
o.isUtcOffset =
|
|
2279
|
-
o.isUtc =
|
|
2280
|
-
o.isUTC =
|
|
2281
|
-
o.zoneAbbr =
|
|
2282
|
-
o.zoneName =
|
|
2283
|
-
o.dates =
|
|
2242
|
+
o.toJSON = ka;
|
|
2243
|
+
o.toString = ia;
|
|
2244
|
+
o.unix = wa;
|
|
2245
|
+
o.valueOf = ya;
|
|
2246
|
+
o.creationData = Ya;
|
|
2247
|
+
o.eraName = xa;
|
|
2248
|
+
o.eraNarrow = Wa;
|
|
2249
|
+
o.eraAbbr = Na;
|
|
2250
|
+
o.eraYear = Pa;
|
|
2251
|
+
o.year = Gt;
|
|
2252
|
+
o.isLeapYear = ir;
|
|
2253
|
+
o.weekYear = Ha;
|
|
2254
|
+
o.isoWeekYear = Ea;
|
|
2255
|
+
o.quarter = o.quarters = za;
|
|
2256
|
+
o.month = qt;
|
|
2257
|
+
o.daysInMonth = wr;
|
|
2258
|
+
o.week = o.weeks = Yr;
|
|
2259
|
+
o.isoWeek = o.isoWeeks = Or;
|
|
2260
|
+
o.weeksInYear = Va;
|
|
2261
|
+
o.weeksInWeekYear = Ga;
|
|
2262
|
+
o.isoWeeksInYear = Aa;
|
|
2263
|
+
o.isoWeeksInISOWeekYear = ja;
|
|
2264
|
+
o.date = gs;
|
|
2265
|
+
o.day = o.days = Hr;
|
|
2266
|
+
o.weekday = Er;
|
|
2267
|
+
o.isoWeekday = Ar;
|
|
2268
|
+
o.dayOfYear = Za;
|
|
2269
|
+
o.hour = o.hours = Br;
|
|
2270
|
+
o.minute = o.minutes = Ba;
|
|
2271
|
+
o.second = o.seconds = qa;
|
|
2272
|
+
o.millisecond = o.milliseconds = Ss;
|
|
2273
|
+
o.utcOffset = Nn;
|
|
2274
|
+
o.utc = Rn;
|
|
2275
|
+
o.local = Fn;
|
|
2276
|
+
o.parseZone = Ln;
|
|
2277
|
+
o.hasAlignedHourOffset = Cn;
|
|
2278
|
+
o.isDST = In;
|
|
2279
|
+
o.isLocal = Hn;
|
|
2280
|
+
o.isUtcOffset = En;
|
|
2281
|
+
o.isUtc = ls;
|
|
2282
|
+
o.isUTC = ls;
|
|
2283
|
+
o.zoneAbbr = Qa;
|
|
2284
|
+
o.zoneName = Xa;
|
|
2285
|
+
o.dates = W(
|
|
2284
2286
|
"dates accessor is deprecated. Use date instead.",
|
|
2285
|
-
|
|
2287
|
+
gs
|
|
2286
2288
|
);
|
|
2287
|
-
o.months =
|
|
2289
|
+
o.months = W(
|
|
2288
2290
|
"months accessor is deprecated. Use month instead",
|
|
2289
|
-
|
|
2291
|
+
qt
|
|
2290
2292
|
);
|
|
2291
|
-
o.years =
|
|
2293
|
+
o.years = W(
|
|
2292
2294
|
"years accessor is deprecated. Use year instead",
|
|
2293
|
-
|
|
2295
|
+
Gt
|
|
2294
2296
|
);
|
|
2295
|
-
o.zone =
|
|
2297
|
+
o.zone = W(
|
|
2296
2298
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2297
|
-
|
|
2299
|
+
Pn
|
|
2298
2300
|
);
|
|
2299
|
-
o.isDSTShifted =
|
|
2301
|
+
o.isDSTShifted = W(
|
|
2300
2302
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2301
|
-
|
|
2303
|
+
Un
|
|
2302
2304
|
);
|
|
2303
|
-
function
|
|
2304
|
-
return
|
|
2305
|
+
function Ka(e) {
|
|
2306
|
+
return S(e * 1e3);
|
|
2305
2307
|
}
|
|
2306
|
-
function
|
|
2307
|
-
return
|
|
2308
|
+
function ei() {
|
|
2309
|
+
return S.apply(null, arguments).parseZone();
|
|
2308
2310
|
}
|
|
2309
|
-
function
|
|
2311
|
+
function ks(e) {
|
|
2310
2312
|
return e;
|
|
2311
2313
|
}
|
|
2312
|
-
var
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
function
|
|
2346
|
-
var
|
|
2347
|
-
return
|
|
2348
|
-
}
|
|
2349
|
-
function
|
|
2350
|
-
if (
|
|
2351
|
-
return
|
|
2352
|
-
var
|
|
2353
|
-
for (
|
|
2354
|
-
|
|
2355
|
-
return
|
|
2356
|
-
}
|
|
2357
|
-
function
|
|
2358
|
-
typeof e == "boolean" ? (
|
|
2359
|
-
var
|
|
2360
|
-
if (
|
|
2361
|
-
return
|
|
2362
|
-
for (
|
|
2363
|
-
u[
|
|
2314
|
+
var M = it.prototype;
|
|
2315
|
+
M.calendar = Us;
|
|
2316
|
+
M.longDateFormat = js;
|
|
2317
|
+
M.invalidDate = Gs;
|
|
2318
|
+
M.ordinal = Zs;
|
|
2319
|
+
M.preparse = ks;
|
|
2320
|
+
M.postformat = ks;
|
|
2321
|
+
M.relativeTime = qs;
|
|
2322
|
+
M.pastFuture = Js;
|
|
2323
|
+
M.set = Cs;
|
|
2324
|
+
M.eras = Oa;
|
|
2325
|
+
M.erasParse = Ta;
|
|
2326
|
+
M.erasConvertYear = ba;
|
|
2327
|
+
M.erasAbbrRegex = Fa;
|
|
2328
|
+
M.erasNameRegex = Ra;
|
|
2329
|
+
M.erasNarrowRegex = La;
|
|
2330
|
+
M.months = cr;
|
|
2331
|
+
M.monthsShort = mr;
|
|
2332
|
+
M.monthsParse = yr;
|
|
2333
|
+
M.monthsRegex = gr;
|
|
2334
|
+
M.monthsShortRegex = Mr;
|
|
2335
|
+
M.week = kr;
|
|
2336
|
+
M.firstDayOfYear = vr;
|
|
2337
|
+
M.firstDayOfWeek = pr;
|
|
2338
|
+
M.weekdays = Fr;
|
|
2339
|
+
M.weekdaysMin = Cr;
|
|
2340
|
+
M.weekdaysShort = Lr;
|
|
2341
|
+
M.weekdaysParse = Ur;
|
|
2342
|
+
M.weekdaysRegex = jr;
|
|
2343
|
+
M.weekdaysShortRegex = Vr;
|
|
2344
|
+
M.weekdaysMinRegex = Gr;
|
|
2345
|
+
M.isPM = zr;
|
|
2346
|
+
M.meridiem = qr;
|
|
2347
|
+
function Re(e, t, s, r) {
|
|
2348
|
+
var n = B(), a = U().set(r, t);
|
|
2349
|
+
return n[s](a, e);
|
|
2350
|
+
}
|
|
2351
|
+
function Ds(e, t, s) {
|
|
2352
|
+
if (Z(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2353
|
+
return Re(e, t, s, "month");
|
|
2354
|
+
var r, n = [];
|
|
2355
|
+
for (r = 0; r < 12; r++)
|
|
2356
|
+
n[r] = Re(e, r, s, "month");
|
|
2357
|
+
return n;
|
|
2358
|
+
}
|
|
2359
|
+
function vt(e, t, s, r) {
|
|
2360
|
+
typeof e == "boolean" ? (Z(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, Z(t) && (s = t, t = void 0), t = t || "");
|
|
2361
|
+
var n = B(), a = e ? n._week.dow : 0, i, u = [];
|
|
2362
|
+
if (s != null)
|
|
2363
|
+
return Re(t, (s + a) % 7, r, "day");
|
|
2364
|
+
for (i = 0; i < 7; i++)
|
|
2365
|
+
u[i] = Re(t, (i + a) % 7, r, "day");
|
|
2364
2366
|
return u;
|
|
2365
2367
|
}
|
|
2366
|
-
function
|
|
2367
|
-
return
|
|
2368
|
+
function ti(e, t) {
|
|
2369
|
+
return Ds(e, t, "months");
|
|
2368
2370
|
}
|
|
2369
|
-
function
|
|
2370
|
-
return
|
|
2371
|
+
function si(e, t) {
|
|
2372
|
+
return Ds(e, t, "monthsShort");
|
|
2371
2373
|
}
|
|
2372
|
-
function
|
|
2373
|
-
return
|
|
2374
|
+
function ri(e, t, s) {
|
|
2375
|
+
return vt(e, t, s, "weekdays");
|
|
2374
2376
|
}
|
|
2375
|
-
function
|
|
2376
|
-
return
|
|
2377
|
+
function ni(e, t, s) {
|
|
2378
|
+
return vt(e, t, s, "weekdaysShort");
|
|
2377
2379
|
}
|
|
2378
|
-
function
|
|
2379
|
-
return
|
|
2380
|
+
function ai(e, t, s) {
|
|
2381
|
+
return vt(e, t, s, "weekdaysMin");
|
|
2380
2382
|
}
|
|
2381
|
-
|
|
2383
|
+
K("en", {
|
|
2382
2384
|
eras: [
|
|
2383
2385
|
{
|
|
2384
2386
|
since: "0001-01-01",
|
|
@@ -2399,99 +2401,99 @@ X("en", {
|
|
|
2399
2401
|
],
|
|
2400
2402
|
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
2401
2403
|
ordinal: function(e) {
|
|
2402
|
-
var t = e % 10,
|
|
2403
|
-
return e +
|
|
2404
|
+
var t = e % 10, s = m(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
|
|
2405
|
+
return e + s;
|
|
2404
2406
|
}
|
|
2405
2407
|
});
|
|
2406
|
-
l.lang =
|
|
2408
|
+
l.lang = W(
|
|
2407
2409
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
2408
|
-
|
|
2410
|
+
K
|
|
2409
2411
|
);
|
|
2410
|
-
l.langData =
|
|
2412
|
+
l.langData = W(
|
|
2411
2413
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
2412
|
-
|
|
2414
|
+
B
|
|
2413
2415
|
);
|
|
2414
2416
|
var A = Math.abs;
|
|
2415
|
-
function
|
|
2417
|
+
function ii() {
|
|
2416
2418
|
var e = this._data;
|
|
2417
2419
|
return this._milliseconds = A(this._milliseconds), this._days = A(this._days), this._months = A(this._months), e.milliseconds = A(e.milliseconds), e.seconds = A(e.seconds), e.minutes = A(e.minutes), e.hours = A(e.hours), e.months = A(e.months), e.years = A(e.years), this;
|
|
2418
2420
|
}
|
|
2419
|
-
function
|
|
2420
|
-
var
|
|
2421
|
-
return e._milliseconds +=
|
|
2421
|
+
function ps(e, t, s, r) {
|
|
2422
|
+
var n = L(t, s);
|
|
2423
|
+
return e._milliseconds += r * n._milliseconds, e._days += r * n._days, e._months += r * n._months, e._bubble();
|
|
2422
2424
|
}
|
|
2423
|
-
function
|
|
2424
|
-
return
|
|
2425
|
+
function oi(e, t) {
|
|
2426
|
+
return ps(this, e, t, 1);
|
|
2425
2427
|
}
|
|
2426
|
-
function
|
|
2427
|
-
return
|
|
2428
|
+
function li(e, t) {
|
|
2429
|
+
return ps(this, e, t, -1);
|
|
2428
2430
|
}
|
|
2429
|
-
function
|
|
2431
|
+
function Nt(e) {
|
|
2430
2432
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2431
2433
|
}
|
|
2432
|
-
function
|
|
2433
|
-
var e = this._milliseconds, t = this._days,
|
|
2434
|
-
return e >= 0 && t >= 0 &&
|
|
2434
|
+
function ui() {
|
|
2435
|
+
var e = this._milliseconds, t = this._days, s = this._months, r = this._data, n, a, i, u, f;
|
|
2436
|
+
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Nt(st(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, n = x(e / 1e3), r.seconds = n % 60, a = x(n / 60), r.minutes = a % 60, i = x(a / 60), r.hours = i % 24, t += x(i / 24), f = x(vs(t)), s += f, t -= Nt(st(f)), u = x(s / 12), s %= 12, r.days = t, r.months = s, r.years = u, this;
|
|
2435
2437
|
}
|
|
2436
|
-
function
|
|
2438
|
+
function vs(e) {
|
|
2437
2439
|
return e * 4800 / 146097;
|
|
2438
2440
|
}
|
|
2439
|
-
function
|
|
2441
|
+
function st(e) {
|
|
2440
2442
|
return e * 146097 / 4800;
|
|
2441
2443
|
}
|
|
2442
|
-
function
|
|
2444
|
+
function di(e) {
|
|
2443
2445
|
if (!this.isValid())
|
|
2444
2446
|
return NaN;
|
|
2445
|
-
var t,
|
|
2446
|
-
if (e =
|
|
2447
|
-
switch (t = this._days +
|
|
2447
|
+
var t, s, r = this._milliseconds;
|
|
2448
|
+
if (e = N(e), e === "month" || e === "quarter" || e === "year")
|
|
2449
|
+
switch (t = this._days + r / 864e5, s = this._months + vs(t), e) {
|
|
2448
2450
|
case "month":
|
|
2449
|
-
return
|
|
2451
|
+
return s;
|
|
2450
2452
|
case "quarter":
|
|
2451
|
-
return
|
|
2453
|
+
return s / 3;
|
|
2452
2454
|
case "year":
|
|
2453
|
-
return
|
|
2455
|
+
return s / 12;
|
|
2454
2456
|
}
|
|
2455
2457
|
else
|
|
2456
|
-
switch (t = this._days + Math.round(
|
|
2458
|
+
switch (t = this._days + Math.round(st(this._months)), e) {
|
|
2457
2459
|
case "week":
|
|
2458
|
-
return t / 7 +
|
|
2460
|
+
return t / 7 + r / 6048e5;
|
|
2459
2461
|
case "day":
|
|
2460
|
-
return t +
|
|
2462
|
+
return t + r / 864e5;
|
|
2461
2463
|
case "hour":
|
|
2462
|
-
return t * 24 +
|
|
2464
|
+
return t * 24 + r / 36e5;
|
|
2463
2465
|
case "minute":
|
|
2464
|
-
return t * 1440 +
|
|
2466
|
+
return t * 1440 + r / 6e4;
|
|
2465
2467
|
case "second":
|
|
2466
|
-
return t * 86400 +
|
|
2468
|
+
return t * 86400 + r / 1e3;
|
|
2467
2469
|
case "millisecond":
|
|
2468
|
-
return Math.floor(t * 864e5) +
|
|
2470
|
+
return Math.floor(t * 864e5) + r;
|
|
2469
2471
|
default:
|
|
2470
2472
|
throw new Error("Unknown unit " + e);
|
|
2471
2473
|
}
|
|
2472
2474
|
}
|
|
2473
|
-
function
|
|
2475
|
+
function q(e) {
|
|
2474
2476
|
return function() {
|
|
2475
2477
|
return this.as(e);
|
|
2476
2478
|
};
|
|
2477
2479
|
}
|
|
2478
|
-
var
|
|
2479
|
-
function
|
|
2480
|
-
return
|
|
2480
|
+
var Ys = q("ms"), hi = q("s"), fi = q("m"), ci = q("h"), mi = q("d"), _i = q("w"), yi = q("M"), wi = q("Q"), Mi = q("y"), gi = Ys;
|
|
2481
|
+
function Si() {
|
|
2482
|
+
return L(this);
|
|
2481
2483
|
}
|
|
2482
|
-
function
|
|
2483
|
-
return e =
|
|
2484
|
+
function ki(e) {
|
|
2485
|
+
return e = N(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2484
2486
|
}
|
|
2485
|
-
function
|
|
2487
|
+
function re(e) {
|
|
2486
2488
|
return function() {
|
|
2487
2489
|
return this.isValid() ? this._data[e] : NaN;
|
|
2488
2490
|
};
|
|
2489
2491
|
}
|
|
2490
|
-
var
|
|
2491
|
-
function
|
|
2492
|
+
var Di = re("milliseconds"), pi = re("seconds"), vi = re("minutes"), Yi = re("hours"), Oi = re("days"), Ti = re("months"), bi = re("years");
|
|
2493
|
+
function xi() {
|
|
2492
2494
|
return x(this.days() / 7);
|
|
2493
2495
|
}
|
|
2494
|
-
var j = Math.round,
|
|
2496
|
+
var j = Math.round, ie = {
|
|
2495
2497
|
ss: 44,
|
|
2496
2498
|
// a few seconds to seconds
|
|
2497
2499
|
s: 45,
|
|
@@ -2507,112 +2509,112 @@ var j = Math.round, ne = {
|
|
|
2507
2509
|
M: 11
|
|
2508
2510
|
// months to year
|
|
2509
2511
|
};
|
|
2510
|
-
function
|
|
2511
|
-
return
|
|
2512
|
+
function Wi(e, t, s, r, n) {
|
|
2513
|
+
return n.relativeTime(t || 1, !!s, e, r);
|
|
2512
2514
|
}
|
|
2513
|
-
function
|
|
2514
|
-
var
|
|
2515
|
-
return
|
|
2515
|
+
function Ni(e, t, s, r) {
|
|
2516
|
+
var n = L(e).abs(), a = j(n.as("s")), i = j(n.as("m")), u = j(n.as("h")), f = j(n.as("d")), _ = j(n.as("M")), O = j(n.as("w")), E = j(n.as("y")), J = a <= s.ss && ["s", a] || a < s.s && ["ss", a] || i <= 1 && ["m"] || i < s.m && ["mm", i] || u <= 1 && ["h"] || u < s.h && ["hh", u] || f <= 1 && ["d"] || f < s.d && ["dd", f];
|
|
2517
|
+
return s.w != null && (J = J || O <= 1 && ["w"] || O < s.w && ["ww", O]), J = J || _ <= 1 && ["M"] || _ < s.M && ["MM", _] || E <= 1 && ["y"] || ["yy", E], J[2] = t, J[3] = +e > 0, J[4] = r, Wi.apply(null, J);
|
|
2516
2518
|
}
|
|
2517
|
-
function
|
|
2519
|
+
function Pi(e) {
|
|
2518
2520
|
return e === void 0 ? j : typeof e == "function" ? (j = e, !0) : !1;
|
|
2519
2521
|
}
|
|
2520
|
-
function
|
|
2521
|
-
return
|
|
2522
|
+
function Ri(e, t) {
|
|
2523
|
+
return ie[e] === void 0 ? !1 : t === void 0 ? ie[e] : (ie[e] = t, e === "s" && (ie.ss = t - 1), !0);
|
|
2522
2524
|
}
|
|
2523
|
-
function
|
|
2525
|
+
function Fi(e, t) {
|
|
2524
2526
|
if (!this.isValid())
|
|
2525
2527
|
return this.localeData().invalidDate();
|
|
2526
|
-
var
|
|
2527
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (
|
|
2528
|
+
var s = !1, r = ie, n, a;
|
|
2529
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, ie, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), n = this.localeData(), a = Ni(this, !s, r, n), s && (a = n.pastFuture(+this, a)), n.postformat(a);
|
|
2528
2530
|
}
|
|
2529
|
-
var
|
|
2530
|
-
function
|
|
2531
|
+
var Be = Math.abs;
|
|
2532
|
+
function ne(e) {
|
|
2531
2533
|
return (e > 0) - (e < 0) || +e;
|
|
2532
2534
|
}
|
|
2533
|
-
function
|
|
2535
|
+
function Ge() {
|
|
2534
2536
|
if (!this.isValid())
|
|
2535
2537
|
return this.localeData().invalidDate();
|
|
2536
|
-
var e =
|
|
2537
|
-
return u ? (
|
|
2538
|
+
var e = Be(this._milliseconds) / 1e3, t = Be(this._days), s = Be(this._months), r, n, a, i, u = this.asSeconds(), f, _, O, E;
|
|
2539
|
+
return u ? (r = x(e / 60), n = x(r / 60), e %= 60, r %= 60, a = x(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = ne(this._months) !== ne(u) ? "-" : "", O = ne(this._days) !== ne(u) ? "-" : "", E = ne(this._milliseconds) !== ne(u) ? "-" : "", f + "P" + (a ? _ + a + "Y" : "") + (s ? _ + s + "M" : "") + (t ? O + t + "D" : "") + (n || r || e ? "T" : "") + (n ? E + n + "H" : "") + (r ? E + r + "M" : "") + (e ? E + i + "S" : "")) : "P0D";
|
|
2538
2540
|
}
|
|
2539
2541
|
var y = je.prototype;
|
|
2540
|
-
y.isValid =
|
|
2541
|
-
y.abs =
|
|
2542
|
-
y.add =
|
|
2543
|
-
y.subtract =
|
|
2544
|
-
y.as =
|
|
2545
|
-
y.asMilliseconds =
|
|
2546
|
-
y.asSeconds =
|
|
2547
|
-
y.asMinutes =
|
|
2548
|
-
y.asHours =
|
|
2549
|
-
y.asDays =
|
|
2550
|
-
y.asWeeks =
|
|
2551
|
-
y.asMonths =
|
|
2552
|
-
y.asQuarters =
|
|
2553
|
-
y.asYears =
|
|
2554
|
-
y.valueOf =
|
|
2555
|
-
y._bubble =
|
|
2556
|
-
y.clone =
|
|
2557
|
-
y.get =
|
|
2558
|
-
y.milliseconds =
|
|
2559
|
-
y.seconds =
|
|
2560
|
-
y.minutes =
|
|
2561
|
-
y.hours =
|
|
2562
|
-
y.days =
|
|
2563
|
-
y.weeks =
|
|
2564
|
-
y.months =
|
|
2565
|
-
y.years =
|
|
2566
|
-
y.humanize =
|
|
2567
|
-
y.toISOString =
|
|
2568
|
-
y.toString =
|
|
2569
|
-
y.toJSON =
|
|
2570
|
-
y.locale =
|
|
2571
|
-
y.localeData =
|
|
2572
|
-
y.toIsoString =
|
|
2542
|
+
y.isValid = Tn;
|
|
2543
|
+
y.abs = ii;
|
|
2544
|
+
y.add = oi;
|
|
2545
|
+
y.subtract = li;
|
|
2546
|
+
y.as = di;
|
|
2547
|
+
y.asMilliseconds = Ys;
|
|
2548
|
+
y.asSeconds = hi;
|
|
2549
|
+
y.asMinutes = fi;
|
|
2550
|
+
y.asHours = ci;
|
|
2551
|
+
y.asDays = mi;
|
|
2552
|
+
y.asWeeks = _i;
|
|
2553
|
+
y.asMonths = yi;
|
|
2554
|
+
y.asQuarters = wi;
|
|
2555
|
+
y.asYears = Mi;
|
|
2556
|
+
y.valueOf = gi;
|
|
2557
|
+
y._bubble = ui;
|
|
2558
|
+
y.clone = Si;
|
|
2559
|
+
y.get = ki;
|
|
2560
|
+
y.milliseconds = Di;
|
|
2561
|
+
y.seconds = pi;
|
|
2562
|
+
y.minutes = vi;
|
|
2563
|
+
y.hours = Yi;
|
|
2564
|
+
y.days = Oi;
|
|
2565
|
+
y.weeks = xi;
|
|
2566
|
+
y.months = Ti;
|
|
2567
|
+
y.years = bi;
|
|
2568
|
+
y.humanize = Fi;
|
|
2569
|
+
y.toISOString = Ge;
|
|
2570
|
+
y.toString = Ge;
|
|
2571
|
+
y.toJSON = Ge;
|
|
2572
|
+
y.locale = fs;
|
|
2573
|
+
y.localeData = ms;
|
|
2574
|
+
y.toIsoString = W(
|
|
2573
2575
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2574
|
-
|
|
2576
|
+
Ge
|
|
2575
2577
|
);
|
|
2576
|
-
y.lang =
|
|
2577
|
-
|
|
2578
|
-
|
|
2578
|
+
y.lang = cs;
|
|
2579
|
+
h("X", 0, 0, "unix");
|
|
2580
|
+
h("x", 0, 0, "valueOf");
|
|
2579
2581
|
d("x", Ue);
|
|
2580
|
-
d("X",
|
|
2581
|
-
|
|
2582
|
-
|
|
2582
|
+
d("X", er);
|
|
2583
|
+
g("X", function(e, t, s) {
|
|
2584
|
+
s._d = new Date(parseFloat(e) * 1e3);
|
|
2583
2585
|
});
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
+
g("x", function(e, t, s) {
|
|
2587
|
+
s._d = new Date(m(e));
|
|
2586
2588
|
});
|
|
2587
2589
|
//! moment.js
|
|
2588
2590
|
l.version = "2.30.1";
|
|
2589
|
-
|
|
2591
|
+
Fs(S);
|
|
2590
2592
|
l.fn = o;
|
|
2591
|
-
l.min =
|
|
2592
|
-
l.max =
|
|
2593
|
-
l.now =
|
|
2593
|
+
l.min = pn;
|
|
2594
|
+
l.max = vn;
|
|
2595
|
+
l.now = Yn;
|
|
2594
2596
|
l.utc = U;
|
|
2595
|
-
l.unix =
|
|
2596
|
-
l.months =
|
|
2597
|
-
l.isDate =
|
|
2598
|
-
l.locale =
|
|
2597
|
+
l.unix = Ka;
|
|
2598
|
+
l.months = ti;
|
|
2599
|
+
l.isDate = Se;
|
|
2600
|
+
l.locale = K;
|
|
2599
2601
|
l.invalid = Fe;
|
|
2600
|
-
l.duration =
|
|
2602
|
+
l.duration = L;
|
|
2601
2603
|
l.isMoment = F;
|
|
2602
|
-
l.weekdays =
|
|
2603
|
-
l.parseZone =
|
|
2604
|
-
l.localeData =
|
|
2605
|
-
l.isDuration =
|
|
2606
|
-
l.monthsShort =
|
|
2607
|
-
l.weekdaysMin =
|
|
2604
|
+
l.weekdays = ri;
|
|
2605
|
+
l.parseZone = ei;
|
|
2606
|
+
l.localeData = B;
|
|
2607
|
+
l.isDuration = Te;
|
|
2608
|
+
l.monthsShort = si;
|
|
2609
|
+
l.weekdaysMin = ai;
|
|
2608
2610
|
l.defineLocale = yt;
|
|
2609
|
-
l.updateLocale =
|
|
2610
|
-
l.locales =
|
|
2611
|
-
l.weekdaysShort =
|
|
2612
|
-
l.normalizeUnits =
|
|
2613
|
-
l.relativeTimeRounding =
|
|
2614
|
-
l.relativeTimeThreshold =
|
|
2615
|
-
l.calendarFormat =
|
|
2611
|
+
l.updateLocale = Kr;
|
|
2612
|
+
l.locales = en;
|
|
2613
|
+
l.weekdaysShort = ni;
|
|
2614
|
+
l.normalizeUnits = N;
|
|
2615
|
+
l.relativeTimeRounding = Pi;
|
|
2616
|
+
l.relativeTimeThreshold = Ri;
|
|
2617
|
+
l.calendarFormat = Jn;
|
|
2616
2618
|
l.prototype = o;
|
|
2617
2619
|
l.HTML5_FMT = {
|
|
2618
2620
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2634,7 +2636,7 @@ l.HTML5_FMT = {
|
|
|
2634
2636
|
MONTH: "YYYY-MM"
|
|
2635
2637
|
// <input type="month" />
|
|
2636
2638
|
};
|
|
2637
|
-
const
|
|
2639
|
+
const Li = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Ci = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Pt = /(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, qe = [
|
|
2638
2640
|
/^janv/i,
|
|
2639
2641
|
/^févr/i,
|
|
2640
2642
|
/^mars/i,
|
|
@@ -2647,18 +2649,18 @@ const Fn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2647
2649
|
/^oct/i,
|
|
2648
2650
|
/^nov/i,
|
|
2649
2651
|
/^déc/i
|
|
2650
|
-
],
|
|
2652
|
+
], Ii = {
|
|
2651
2653
|
months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
|
|
2652
2654
|
"_"
|
|
2653
2655
|
),
|
|
2654
2656
|
monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
|
|
2655
|
-
monthsRegex:
|
|
2656
|
-
monthsShortRegex:
|
|
2657
|
-
monthsStrictRegex:
|
|
2658
|
-
monthsShortStrictRegex:
|
|
2659
|
-
monthsParse:
|
|
2660
|
-
longMonthsParse:
|
|
2661
|
-
shortMonthsParse:
|
|
2657
|
+
monthsRegex: Pt,
|
|
2658
|
+
monthsShortRegex: Pt,
|
|
2659
|
+
monthsStrictRegex: Li,
|
|
2660
|
+
monthsShortStrictRegex: Ci,
|
|
2661
|
+
monthsParse: qe,
|
|
2662
|
+
longMonthsParse: qe,
|
|
2663
|
+
shortMonthsParse: qe,
|
|
2662
2664
|
weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
|
|
2663
2665
|
weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
|
|
2664
2666
|
weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
|
|
@@ -2718,328 +2720,126 @@ const Fn = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
|
|
|
2718
2720
|
doy: 4
|
|
2719
2721
|
}
|
|
2720
2722
|
};
|
|
2721
|
-
l.locale("fr",
|
|
2722
|
-
const co = (e) => new Date(e).toString() !== "Invalid Date",
|
|
2723
|
+
l.locale("fr", Ii);
|
|
2724
|
+
const co = (e) => new Date(e).toString() !== "Invalid Date", mo = (e, t) => Math.abs(
|
|
2723
2725
|
Math.ceil((t.getTime() - e.getTime()) / (1e3 * 60 * 60 * 24))
|
|
2724
|
-
),
|
|
2725
|
-
const t = [],
|
|
2726
|
-
if (!(!
|
|
2727
|
-
if (
|
|
2728
|
-
const
|
|
2729
|
-
t.push(
|
|
2726
|
+
), _o = (e) => Ft(l(e).format("DD MMMM YYYY")), yo = (e) => Ft(l(e).format("dddd DD MMMM YYYY")), wo = (e, t, s = !0) => (s ? e.getFullYear() === t.getFullYear() : !0) && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Mo = () => l().locale("fr").subtract(1, "days").toDate(), go = (e) => {
|
|
2727
|
+
const t = [], s = l.duration(e);
|
|
2728
|
+
if (!(!s || s.toISOString() === "P0D")) {
|
|
2729
|
+
if (s.years() >= 1) {
|
|
2730
|
+
const r = Math.floor(s.years());
|
|
2731
|
+
t.push(r + " " + (r > 1 ? "années" : "année"));
|
|
2730
2732
|
}
|
|
2731
|
-
if (
|
|
2732
|
-
const
|
|
2733
|
-
t.push(
|
|
2733
|
+
if (s.months() >= 1) {
|
|
2734
|
+
const r = Math.floor(s.months());
|
|
2735
|
+
t.push(r + " mois");
|
|
2734
2736
|
}
|
|
2735
|
-
if (
|
|
2736
|
-
const
|
|
2737
|
-
t.push(
|
|
2737
|
+
if (s.days() >= 1) {
|
|
2738
|
+
const r = Math.floor(s.days());
|
|
2739
|
+
t.push(r + " " + (r > 1 ? "jours" : "jour"));
|
|
2738
2740
|
}
|
|
2739
|
-
if (
|
|
2740
|
-
const
|
|
2741
|
-
t.push(
|
|
2741
|
+
if (s.hours() >= 1) {
|
|
2742
|
+
const r = Math.floor(s.hours());
|
|
2743
|
+
t.push(r + " " + (r > 1 ? "heures" : "heure"));
|
|
2742
2744
|
}
|
|
2743
|
-
if (
|
|
2744
|
-
const
|
|
2745
|
-
t.push(
|
|
2745
|
+
if (s.minutes() >= 1) {
|
|
2746
|
+
const r = Math.floor(s.minutes());
|
|
2747
|
+
t.push(r + " " + (r > 1 ? "minutes" : "minute"));
|
|
2746
2748
|
}
|
|
2747
|
-
if (
|
|
2748
|
-
const
|
|
2749
|
-
t.push(
|
|
2749
|
+
if (s.seconds() >= 1) {
|
|
2750
|
+
const r = Math.floor(s.seconds());
|
|
2751
|
+
t.push(r + " " + (r > 1 ? "secondes" : "seconde"));
|
|
2750
2752
|
}
|
|
2751
2753
|
return t.join(", ");
|
|
2752
2754
|
}
|
|
2753
|
-
}, Yt = /^([1-9][0-9]?)([hmd])$/i,
|
|
2755
|
+
}, Yt = /^([1-9][0-9]?)([hmd])$/i, So = (e) => !!e && Yt.test(e), ko = (e) => {
|
|
2754
2756
|
const t = Yt.exec(e);
|
|
2755
2757
|
if (!t)
|
|
2756
2758
|
return null;
|
|
2757
|
-
const [,
|
|
2758
|
-
if (
|
|
2759
|
-
return
|
|
2760
|
-
if (
|
|
2761
|
-
return
|
|
2762
|
-
if (
|
|
2763
|
-
return
|
|
2764
|
-
},
|
|
2759
|
+
const [, s, r] = t, n = parseInt(s, 10), a = 1e3 * 60;
|
|
2760
|
+
if (r === "m")
|
|
2761
|
+
return a * n;
|
|
2762
|
+
if (r === "h")
|
|
2763
|
+
return a * 60 * n;
|
|
2764
|
+
if (r === "d")
|
|
2765
|
+
return a * 60 * 24 * n;
|
|
2766
|
+
}, Do = (e) => {
|
|
2765
2767
|
const t = Yt.exec(e);
|
|
2766
2768
|
if (!t)
|
|
2767
2769
|
return null;
|
|
2768
|
-
const [,
|
|
2769
|
-
if (
|
|
2770
|
-
return `${
|
|
2771
|
-
if (
|
|
2772
|
-
return `${
|
|
2773
|
-
if (
|
|
2774
|
-
return `${
|
|
2775
|
-
}, vo = {
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
d5: "<:d5:1159542078179651614>",
|
|
2781
|
-
d6: "<:d6:1159542079458910229>",
|
|
2782
|
-
revolutionary: "<:revolutionnaire:648245785133056020>",
|
|
2783
|
-
pirate: "<:pirate:648245785053626368>",
|
|
2784
|
-
marine: "<:marine:648245784407441429>",
|
|
2785
|
-
berry: "<:berry:1153734056035504158>",
|
|
2786
|
-
xp: "<:xp:1084914564379975772>",
|
|
2787
|
-
success: "<:success:1186707379534954506>",
|
|
2788
|
-
hp: "<:hp:1257776163955277824>",
|
|
2789
|
-
paper: "📄",
|
|
2790
|
-
rock: "🪨",
|
|
2791
|
-
scissor: "✂️",
|
|
2792
|
-
pray: "<:Ryokugyu_pray:1147542990844334280>",
|
|
2793
|
-
gun: "<:fujigun:1050120413243506688>",
|
|
2794
|
-
promise: "<:Luffy_Promise:1027626431565529099>",
|
|
2795
|
-
love: "<:Lawve:1050916817801072730>",
|
|
2796
|
-
note: "<:imsusnote:1136952496456224778>",
|
|
2797
|
-
watching: "<:Carrot_Watching:1024736915922104360>",
|
|
2798
|
-
card: "<:carteDos:1168580012258103387>",
|
|
2799
|
-
cards: {
|
|
2800
|
-
spades: {
|
|
2801
|
-
1: "<:asdepique:1168560615170768967>",
|
|
2802
|
-
2: "<:2depique:1168559430955184259>",
|
|
2803
|
-
3: "<:3depique:1168559437548638248>",
|
|
2804
|
-
4: "<:4depique:1168559679354445934>",
|
|
2805
|
-
5: "<:5depique:1168559725504372796>",
|
|
2806
|
-
6: "<:6depique:1168559764528185394>",
|
|
2807
|
-
7: "<:7depique:1168559459392553061>",
|
|
2808
|
-
8: "<:8depique:1168559887870083162>",
|
|
2809
|
-
9: "<:9depique:1168559471392464988>",
|
|
2810
|
-
10: "<:10depique:1168559958435053598>",
|
|
2811
|
-
J: "<:valetdepique:1168560676202086523>",
|
|
2812
|
-
Q: "<:reinedepique:1168560621722284083>",
|
|
2813
|
-
K: "<:roidepique:1168560628189888634>"
|
|
2814
|
-
},
|
|
2815
|
-
diamonds: {
|
|
2816
|
-
1: "<:asdecarreau:1168560612742279308>",
|
|
2817
|
-
2: "<:2decarreau:1168559427788472330>",
|
|
2818
|
-
3: "<:3decarreau:1168559434138669236>",
|
|
2819
|
-
4: "<:4decarreau:1168559440774041621>",
|
|
2820
|
-
5: "<:5decarreau:1168559445308084256>",
|
|
2821
|
-
6: "<:6decarreau:1168559763462819940>",
|
|
2822
|
-
7: "<:7decarreau:1168559845872517172>",
|
|
2823
|
-
8: "<:8decarreau:1168559888989949994>",
|
|
2824
|
-
9: "<:9decarreau:1168559942215667804>",
|
|
2825
|
-
10: "<:10decarreau:1168559475481907230>",
|
|
2826
|
-
J: "<:valetdecarreau:1168560633634095234>",
|
|
2827
|
-
Q: "<:reinedecarreau:1168560618182291577>",
|
|
2828
|
-
K: "<:roidecarreau:1168560626185011281>"
|
|
2829
|
-
},
|
|
2830
|
-
hearts: {
|
|
2831
|
-
1: "<:asdecoeur:1168560613971214368>",
|
|
2832
|
-
2: "<:2decoeur:1168559428681859073>",
|
|
2833
|
-
3: "<:3decoeur:1168559435950592060>",
|
|
2834
|
-
4: "<:4decoeur:1168559442074284073>",
|
|
2835
|
-
5: "<:5decoeur:1168559723226865725>",
|
|
2836
|
-
6: "<:6decoeur:1168559452509708298>",
|
|
2837
|
-
7: "<:7decoeur:1168559457769365684>",
|
|
2838
|
-
8: "<:8decoeur:1168559463368757339>",
|
|
2839
|
-
9: "<:9decoeur:1168559938897989672>",
|
|
2840
|
-
10: "<:10decoeur:1168559477658751006>",
|
|
2841
|
-
J: "<:valetdecoeur:1168560635991298160>",
|
|
2842
|
-
Q: "<:reinedecoeur:1168560619855822940>",
|
|
2843
|
-
K: "<:roidecoeur:1168560678378950716>"
|
|
2844
|
-
},
|
|
2845
|
-
clubs: {
|
|
2846
|
-
1: "<:asdetrfle:1168560617444081834>",
|
|
2847
|
-
2: "<:2detrfle:1168559432242831512>",
|
|
2848
|
-
3: "<:3detrfle:1168559439440269403>",
|
|
2849
|
-
4: "<:4detrfle:1168559677936762982>",
|
|
2850
|
-
5: "<:5detrfle:1168559449540145153>",
|
|
2851
|
-
6: "<:6detrfle:1168559761260818594>",
|
|
2852
|
-
7: "<:7detrfle:1168559844748435549>",
|
|
2853
|
-
8: "<:8detrfle:1168559466334142575>",
|
|
2854
|
-
9: "<:9detrfle:1168559940953194576>",
|
|
2855
|
-
10: "<:10detrfle:1168559959802380288>",
|
|
2856
|
-
J: "<:valetdetrfle:1168560610531885137>",
|
|
2857
|
-
Q: "<:reinedetrfle:1168560623228026972>",
|
|
2858
|
-
K: "<:roidetrfle:1168560675543580712>"
|
|
2859
|
-
}
|
|
2860
|
-
},
|
|
2861
|
-
factions: {
|
|
2862
|
-
b_citizen_Bronze: "<:BasiqueOPFRbois:1175507882188484761>",
|
|
2863
|
-
b_citizen_Silver: "<:BasiqueOPFRargent:1175507880724668488>",
|
|
2864
|
-
b_citizen_Gold: "<:BasiqueOPFRor:1175507883501289512>",
|
|
2865
|
-
b_citizen_Platinum: "<:BasiqueOPFRplatine:1175507886714134548>",
|
|
2866
|
-
b_citizen_Diamond: "<:BasiqueOPFRultime:1175507889553670264>",
|
|
2867
|
-
b_marine_Bronze: "<:Marinebois:1175507936953512036>",
|
|
2868
|
-
b_marine_Silver: "<:Marineargent:1175508322351321178>",
|
|
2869
|
-
b_marine_Gold: "<:Marineor:1175508300603863132>",
|
|
2870
|
-
b_marine_Platinum: "<:Marineplatine:1175507940803879012>",
|
|
2871
|
-
b_marine_Diamond: "<:Marineultime:1175508279590395977>",
|
|
2872
|
-
b_revolutionary_Bronze: "<:RvoBois:1175507954779295810>",
|
|
2873
|
-
b_revolutionary_Silver: "<:RvoArgent:1175508199118483457>",
|
|
2874
|
-
b_revolutionary_Gold: "<:RvoOr:1175508111885344819>",
|
|
2875
|
-
b_revolutionary_Platinum: "<:RvoPlatine:1175507958378008756>",
|
|
2876
|
-
b_revolutionary_Diamond: "<:RvoUltime:1175508127815319612>",
|
|
2877
|
-
b_pirate_Bronze: "<:Piratebois:1175508259768115272>",
|
|
2878
|
-
b_pirate_Silver: "<:Pirateargent:1175507943987363941>",
|
|
2879
|
-
b_pirate_Gold: "<:Pirateor:1175508240243621928>",
|
|
2880
|
-
b_pirate_Platinum: "<:Pirateplatine:1175507949578358804>",
|
|
2881
|
-
b_pirate_Diamond: "<:Pirateultime:1175507951709061150>"
|
|
2882
|
-
},
|
|
2883
|
-
characteristics: {
|
|
2884
|
-
vitality: "<:vitality:1251861015277338675>",
|
|
2885
|
-
strength: "<:strength:1251860738595618838>",
|
|
2886
|
-
agility: "<:agility:1251860734145728596>",
|
|
2887
|
-
intelligence: "<:intelligence:1251860736943194144>",
|
|
2888
|
-
chance: "<:chance:1251860735827513425>",
|
|
2889
|
-
wisdom: "<:wisdom:1251861017231884378>"
|
|
2890
|
-
},
|
|
2891
|
-
item_background: "<:background:1178465681809887334>",
|
|
2892
|
-
item_title: "<:title:1178465688915038208>",
|
|
2893
|
-
item_lootbox1: "<:lootbox1:1186689926167810088>",
|
|
2894
|
-
item_lootbox2: "<:lootbox2:1186258728882811051>",
|
|
2895
|
-
item_lootbox3: "<:lootbox3:1243963722259501216>",
|
|
2896
|
-
item_lootbox4: "<:lootbox3:1186259958216523786>",
|
|
2897
|
-
item_bottle_xp_1: "<:bottle_xp:1186204593667969035>",
|
|
2898
|
-
item_bottle_xp_2: "<:bottle_xp_2:1243980696083632208>",
|
|
2899
|
-
item_bottle_xp_3: "<:bottle_xp_3:1243980697773936740>",
|
|
2900
|
-
item_bottle_xp_4: "<:bottle_xp_4:1243980698927366256>",
|
|
2901
|
-
item_boost_week: "<:boost_week:1186258728073297971>",
|
|
2902
|
-
item_boost_day: "<:boost_day:1186258726030680145>",
|
|
2903
|
-
item_repair_wood_plank: "<:Planchesdebois:1233782418478071930>",
|
|
2904
|
-
item_repair_nail: "<:Clous:1233782384613261382>",
|
|
2905
|
-
item_repair_glue: "<:Colle:1233782388497186846>",
|
|
2906
|
-
item_repair_rope: "<:Corde:1233782392225927168>",
|
|
2907
|
-
item_repair_kit: "<:Kitderparation:1233782876223570011>",
|
|
2908
|
-
item_repair_tissue: "<:Tissus:1233784184099573852>",
|
|
2909
|
-
item_ship_lock: "<:Serrureclef:1233782436068982814>",
|
|
2910
|
-
item_ship_iron: "<:Ferbrut:1233782399125426207>",
|
|
2911
|
-
item_ship_clover: "<:Treflesixfeuilles:1233782439503990915> ",
|
|
2912
|
-
item_ship_glass_bottle: "<:Fioleenverre:1233782402233532496>",
|
|
2913
|
-
item_ship_pure_water: "<:Eaupure:1233782393572298802>",
|
|
2914
|
-
item_ship_sea_salt: "<:SelMarin:1233784181696233602>",
|
|
2915
|
-
item_ship_ebony_poppy: "<:Pavotebene:1233782416879915060>",
|
|
2916
|
-
item_ship_rose: "<:Roseimmaculee:1233784180215644180>",
|
|
2917
|
-
item_ship_poppy: "<:Coquelicotecarlate:1233782390099280023>",
|
|
2918
|
-
item_ship_manganese: "<:Manganesescintillante:1233784177221042196>",
|
|
2919
|
-
item_ship_cursed_hawthorn: "<:AubpineMaudite:1233782382872629329>",
|
|
2920
|
-
item_ship_mugwort: "<:Armoiseblanche:1233782381400424519>",
|
|
2921
|
-
item_ship_mandrake: "<:MandragoreAdulte:1233782409070247946>",
|
|
2922
|
-
item_ship_obsidian: "<:Obsidiennesombre:1233784178307371110>",
|
|
2923
|
-
item_ship_saffron: "<:Safranvermeille:1233782430385836124>",
|
|
2924
|
-
item_ship_edelweiss: "<:Edelweiss:1233782395019329546>",
|
|
2925
|
-
item_ship_emerald: "<:emeraude:1233782873165791273>",
|
|
2926
|
-
item_ship_ruby: "<:Rubis:1233782426174619679>",
|
|
2927
|
-
item_ship_sapphire: "<:Saphir:1233782432004837407>",
|
|
2928
|
-
item_ship_siren_tear: "<:Larmedesirene:1233782405538517095>",
|
|
2929
|
-
item_ship_compass: "<:Rosedesvents:1233782421892239360>",
|
|
2930
|
-
item_ship_dragon_heart: "<:CoeurdeDragon:1233782386580258848>",
|
|
2931
|
-
item_ship_fairy_wing: "<:Ailedefees:1233782379269722293>",
|
|
2932
|
-
item_ship_phoenix_feather: "<:PlumedePhoenix:1233784783822127167>",
|
|
2933
|
-
item_ship_mithril: "<:Mithril:1233782412434214974>",
|
|
2934
|
-
item_craft_cereal: "<:craft_cereal:1243963641204703405>",
|
|
2935
|
-
item_craft_cotton: "<:craft_cotton:1243963642567721080>",
|
|
2936
|
-
item_craft_empty_box: "<:craft_empty_box:1243963643834535966>",
|
|
2937
|
-
item_craft_enchanted_emerald: "<:craft_enchanted_emerald:1243963645092696105>",
|
|
2938
|
-
item_craft_enchanted_ruby: "<:craft_enchanted_ruby:1243963647097569330>",
|
|
2939
|
-
item_craft_enchanted_sapphire: "<:craft_enchanted_sapphire:1243963648486019082>",
|
|
2940
|
-
item_craft_enchanted_stone: "<:craft_enchanted_stone:1243963650893545637>",
|
|
2941
|
-
item_craft_flour: "<:craft_flour:1243963651719823451>",
|
|
2942
|
-
item_craft_hemp: "<:craft_hemp:1243963653238030387>",
|
|
2943
|
-
item_craft_scrap: "<:craft_scrap:1243963718895669268>",
|
|
2944
|
-
item_craft_strange_gem: "<:craft_strange_gem:1243963656539078686>",
|
|
2945
|
-
item_craft_strange_stone: "<:craft_strange_stone:1243963658766123192>",
|
|
2946
|
-
item_craft_tools: "<:craft_tools:1243963720179122217>",
|
|
2947
|
-
item_craft_wood: "<:craft_wood:1243963662763298897>",
|
|
2948
|
-
item_craft_wine: "<:craft_wine:1249242713442746501>",
|
|
2949
|
-
item_craft_toy: "<:craft_toy:1249242711907893278>",
|
|
2950
|
-
item_craft_rhum: "<:craft_rhum:1249242707961057361>",
|
|
2951
|
-
item_craft_milk: "<:craft_milk:1249242706501308488>",
|
|
2952
|
-
item_craft_fruit: "<:craft_fruit:1249242705612115968>",
|
|
2953
|
-
item_craft_sugar: "<:craft_sugar:1249242709684785184>",
|
|
2954
|
-
item_craft_egg: "<:craft_egg:1249242703972007986>",
|
|
2955
|
-
item_craft_bowl_cereal: "<:craft_bowl_cereal:1249242702462193686>",
|
|
2956
|
-
item_craft_beer: "<:craft_beer:1249242701300240434>",
|
|
2957
|
-
item_craft_bowl: "<:craft_bowl:1250116629275082873>",
|
|
2958
|
-
item_craft_rudder: "<:craft_rudder:1250435943253540895>",
|
|
2959
|
-
item_craft_rescue_boat: "<:craft_rescue_boat:1250435931635322950>",
|
|
2960
|
-
item_craft_sailing_boat: "<:craft_sailing_boat:1250435942162894849>",
|
|
2961
|
-
item_craft_salt_water: "<:craft_salt_water:1250435945216475317>",
|
|
2962
|
-
item_craft_anchor: "<:craft_anchor:1250435934843834409>",
|
|
2963
|
-
item_craft_hammock: "<:craft_hammock:1250435933300588687>",
|
|
2964
|
-
item_craft_leather: "<:craft_leather:1253034980133834752>",
|
|
2965
|
-
item_craft_ancient_key: "<:craft_ancient_key:1257447843355033742>",
|
|
2966
|
-
item_craft_iron_ore: "<:craft_iron_ore:1257475847271612497>",
|
|
2967
|
-
item_scroll_agility: "<:scroll_agility:1254081331365810289>",
|
|
2968
|
-
item_scroll_chance: "<:scroll_chance:1254081332422639657>",
|
|
2969
|
-
item_scroll_intelligence: "<:scroll_intelligence:1254081334264070174>",
|
|
2970
|
-
item_scroll_strength: "<:scroll_strength:1254081335862099980>",
|
|
2971
|
-
item_scroll_vitality: "<:scroll_vitality:1254081337711919185>",
|
|
2972
|
-
item_scroll_wisdom: "<:scroll_wisdom:1254081340115259454>",
|
|
2973
|
-
equipment_adventurer_strap: "<:adventurer_strap:1253041086147068035>",
|
|
2974
|
-
equipment_adventurer_collar: "<:adventurer_collar:1253041084611690567>",
|
|
2975
|
-
equipment_adventurer_boots: "<:adventurer_boots:1253041083252867123>",
|
|
2976
|
-
equipment_adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
|
|
2977
|
-
equipment_adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
|
|
2978
|
-
equipment_adventurer_belt: "<:Ceinture_cuir:1256965593333108838>"
|
|
2979
|
-
}, ko = (e) => typeof e == "function", So = (e, t, r) => {
|
|
2980
|
-
const s = {}, a = Object.entries(e);
|
|
2981
|
-
for (const [i, n] of a) {
|
|
2982
|
-
const u = t[i];
|
|
2983
|
-
u ? s[i] = r(n, u) : s[i] = n;
|
|
2770
|
+
const [, s, r] = t, n = parseInt(s, 10);
|
|
2771
|
+
if (r === "m")
|
|
2772
|
+
return `${n} minute${n > 1 ? "s" : ""}`;
|
|
2773
|
+
if (r === "h")
|
|
2774
|
+
return `${n} heure${n > 1 ? "s" : ""}`;
|
|
2775
|
+
if (r === "d")
|
|
2776
|
+
return `${n} jour${n > 1 ? "s" : ""}`;
|
|
2777
|
+
}, po = (e) => typeof e == "function", vo = (e, t, s) => {
|
|
2778
|
+
const r = {}, n = Object.entries(e);
|
|
2779
|
+
for (const [a, i] of n) {
|
|
2780
|
+
const u = t[a];
|
|
2781
|
+
u ? r[a] = s(i, u) : r[a] = i;
|
|
2984
2782
|
}
|
|
2985
|
-
return
|
|
2986
|
-
},
|
|
2987
|
-
(
|
|
2988
|
-
...
|
|
2989
|
-
[
|
|
2783
|
+
return r;
|
|
2784
|
+
}, Yo = (e) => e instanceof Object, Oo = (e, t) => t.reduce(
|
|
2785
|
+
(s, r) => ({
|
|
2786
|
+
...s,
|
|
2787
|
+
[r]: e[r]
|
|
2990
2788
|
}),
|
|
2991
2789
|
{}
|
|
2992
|
-
);
|
|
2790
|
+
), To = (e) => Object.entries(e);
|
|
2993
2791
|
export {
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2792
|
+
xs as TIGHT_SPACE,
|
|
2793
|
+
Ws as WIDE_SPACE,
|
|
2794
|
+
to as arrayToRecord,
|
|
2795
|
+
lo as breakWords,
|
|
2796
|
+
Rs as camelcase,
|
|
2797
|
+
Ns as capitalize,
|
|
2999
2798
|
Ft as capitalizeAllWords,
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
Wr as isString,
|
|
2799
|
+
Ei as clamp,
|
|
2800
|
+
mo as dateDiff,
|
|
2801
|
+
ko as durationToMs,
|
|
2802
|
+
no as ellipsis,
|
|
2803
|
+
zi as exclude,
|
|
2804
|
+
so as fillWithTightSpaces,
|
|
2805
|
+
ro as fillWithWideSpaces,
|
|
2806
|
+
Oo as filterKeys,
|
|
2807
|
+
qi as filterNullAndUndefined,
|
|
2808
|
+
_o as formatDate,
|
|
2809
|
+
yo as formatDateWithDay,
|
|
2810
|
+
Do as formatDuration,
|
|
2811
|
+
Ui as formatNumber,
|
|
2812
|
+
Vi as groupBy,
|
|
2813
|
+
Xi as includeArrayIf,
|
|
2814
|
+
Qi as includeBeginIf,
|
|
2815
|
+
Ji as includeIf,
|
|
2816
|
+
Ts as insertArrayIf,
|
|
2817
|
+
Rt as insertIf,
|
|
2818
|
+
ho as isDefined,
|
|
2819
|
+
So as isDuration,
|
|
2820
|
+
po as isFunction,
|
|
2821
|
+
fo as isJSON,
|
|
2822
|
+
Ai as isNumber,
|
|
2823
|
+
Yo as isObject,
|
|
2824
|
+
ao as isPositiveInteger,
|
|
2825
|
+
Ps as isString,
|
|
3028
2826
|
co as isValidDate,
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
2827
|
+
vo as mergeObjects,
|
|
2828
|
+
$i as mutuallyInclusive,
|
|
2829
|
+
io as numberToOrdinal,
|
|
2830
|
+
ji as paginate,
|
|
2831
|
+
uo as pascalCase,
|
|
2832
|
+
bs as pickFrom,
|
|
2833
|
+
Ki as pickFromNth,
|
|
2834
|
+
go as precise,
|
|
2835
|
+
Os as randomBetween,
|
|
2836
|
+
eo as range,
|
|
2837
|
+
To as recordToArray,
|
|
2838
|
+
wo as sameDay,
|
|
2839
|
+
Hi as seededRandom,
|
|
2840
|
+
Bi as shuffle,
|
|
2841
|
+
Gi as sortBy,
|
|
2842
|
+
oo as trim,
|
|
2843
|
+
Zi as unique,
|
|
2844
|
+
Mo as yesterday
|
|
3045
2845
|
};
|