r3ui-lib 1.2.28 → 1.2.29
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/CHANGELOG.md +6 -0
- package/dist/login.es.js +757 -754
- package/dist/login.umd.js +5 -5
- package/dist/r3ui-lib.es.js +2867 -2860
- package/dist/r3ui-lib.umd.js +23 -23
- package/dist/types/utils/auth/signInWithSSO.d.ts +2 -0
- package/dist/types/utils/auth/signInWithSSO.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/login.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const
|
|
1
|
+
import { ref as Us, computed as ne, createElementBlock as P, openBlock as T, createElementVNode as Y, createTextVNode as Hs, toDisplayString as V, createCommentVNode as Se, Fragment as Vs, renderList as Gs, withModifiers as Gt, normalizeClass as ve, defineComponent as Ve, normalizeStyle as At, renderSlot as Ct, createVNode as jt, createBlock as js, unref as zs } from "vue";
|
|
2
|
+
const Ge = (e, t) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [r, a] of t)
|
|
5
5
|
s[r] = a;
|
|
6
6
|
return s;
|
|
7
|
-
},
|
|
7
|
+
}, Zs = { class: "custom-dropdown" }, Bs = { style: { "border-bottom": "2px solid #000" } }, qs = { class: "dropdown-list-wrapper" }, Qs = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "custom-dropdown-menu"
|
|
10
|
-
},
|
|
10
|
+
}, Js = ["onMousedown"], Ks = {
|
|
11
11
|
__name: "DefaultDropDown",
|
|
12
12
|
props: {
|
|
13
13
|
links: {
|
|
@@ -28,7 +28,7 @@ const Ve = (e, t) => {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
setup(e) {
|
|
31
|
-
const t = e, s =
|
|
31
|
+
const t = e, s = Us(!1), r = (l) => {
|
|
32
32
|
l && (l.preventDefault(), l.stopPropagation()), s.value = !s.value;
|
|
33
33
|
}, a = (l) => {
|
|
34
34
|
if (typeof l != "function") {
|
|
@@ -41,7 +41,7 @@ const Ve = (e, t) => {
|
|
|
41
41
|
s.value = !1;
|
|
42
42
|
}, 100);
|
|
43
43
|
}, i = ne(() => t.type === "profile");
|
|
44
|
-
return (l, h) => (T(), P("div",
|
|
44
|
+
return (l, h) => (T(), P("div", Zs, [
|
|
45
45
|
i.value ? (T(), P("a", {
|
|
46
46
|
key: 0,
|
|
47
47
|
href: "#",
|
|
@@ -50,7 +50,7 @@ const Ve = (e, t) => {
|
|
|
50
50
|
onBlur: n
|
|
51
51
|
}, [
|
|
52
52
|
h[0] || (h[0] = Y("div", { class: "circl" }, null, -1)),
|
|
53
|
-
|
|
53
|
+
Hs(" " + V(e.title), 1)
|
|
54
54
|
], 32)) : (T(), P("a", {
|
|
55
55
|
key: 1,
|
|
56
56
|
href: "#",
|
|
@@ -59,30 +59,30 @@ const Ve = (e, t) => {
|
|
|
59
59
|
onClick: r,
|
|
60
60
|
onBlur: n
|
|
61
61
|
}, [
|
|
62
|
-
Y("span",
|
|
62
|
+
Y("span", Bs, V(e.title), 1),
|
|
63
63
|
h[1] || (h[1] = Y("i", {
|
|
64
64
|
class: "bi bi-chevron-up dropdown-edit",
|
|
65
65
|
style: { "font-size": "12px", "padding-inline-start": "5px" }
|
|
66
66
|
}, null, -1))
|
|
67
67
|
], 32)),
|
|
68
|
-
Y("div",
|
|
69
|
-
s.value ? (T(), P("ul",
|
|
70
|
-
(T(!0), P(
|
|
68
|
+
Y("div", qs, [
|
|
69
|
+
s.value ? (T(), P("ul", Qs, [
|
|
70
|
+
(T(!0), P(Vs, null, Gs(e.links, (f, M) => (T(), P("li", { key: M }, [
|
|
71
71
|
f.hidden ? Se("", !0) : (T(), P("div", {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: ve(["dropdown-item", { disabled: f?.disabled }]),
|
|
74
74
|
style: { cursor: "pointer" },
|
|
75
|
-
onMousedown:
|
|
76
|
-
}, V(f?.title), 43,
|
|
75
|
+
onMousedown: Gt((C) => a(f?.action), ["prevent"])
|
|
76
|
+
}, V(f?.title), 43, Js))
|
|
77
77
|
]))), 128))
|
|
78
78
|
])) : Se("", !0)
|
|
79
79
|
])
|
|
80
80
|
]));
|
|
81
81
|
}
|
|
82
|
-
},
|
|
82
|
+
}, Xs = /* @__PURE__ */ Ge(Ks, [["__scopeId", "data-v-81ded822"]]), $s = "data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,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'/%3e%3c/defs%3e%3c/svg%3e", er = ["src", "alt"], tr = /* @__PURE__ */ Ve({
|
|
83
83
|
__name: "Logo",
|
|
84
84
|
props: {
|
|
85
|
-
src: { default:
|
|
85
|
+
src: { default: $s },
|
|
86
86
|
alt: { default: "Logo" },
|
|
87
87
|
width: { default: 154 },
|
|
88
88
|
height: { default: 50 },
|
|
@@ -114,19 +114,19 @@ const Ve = (e, t) => {
|
|
|
114
114
|
src: s.value,
|
|
115
115
|
alt: l.alt,
|
|
116
116
|
class: ve(r.value),
|
|
117
|
-
style:
|
|
118
|
-
}, null, 14,
|
|
117
|
+
style: At(a.value)
|
|
118
|
+
}, null, 14, er),
|
|
119
119
|
l.brandText && l.brandText.trim() && l.showText ? (T(), P("span", {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "r3ui-logo-text",
|
|
122
|
-
style:
|
|
122
|
+
style: At(i.value)
|
|
123
123
|
}, V(l.brandText), 5)) : Se("", !0)
|
|
124
124
|
], 2));
|
|
125
125
|
}
|
|
126
|
-
}),
|
|
126
|
+
}), sr = /* @__PURE__ */ Ge(tr, [["__scopeId", "data-v-57bc5457"]]), rr = { class: "navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header" }, ar = { class: "row align-items-center" }, nr = { class: "col-auto pe-0" }, ir = { class: "col-auto ps-0 text-wrap mx-3 r3ui-header-label" }, or = { class: "row" }, lr = { class: "col-auto d-flex align-items-center" }, ur = {
|
|
127
127
|
key: 1,
|
|
128
128
|
class: "text-muted"
|
|
129
|
-
},
|
|
129
|
+
}, dr = { class: "col-auto" }, hr = /* @__PURE__ */ Ve({
|
|
130
130
|
__name: "Header",
|
|
131
131
|
props: {
|
|
132
132
|
isAuthenticated: { type: Boolean, default: !1 },
|
|
@@ -146,56 +146,56 @@ const Ve = (e, t) => {
|
|
|
146
146
|
external: !0
|
|
147
147
|
})
|
|
148
148
|
} : { ...n, action: () => r("navigate", `/${n.name}`) }));
|
|
149
|
-
return (n, i) => (T(), P("div",
|
|
149
|
+
return (n, i) => (T(), P("div", rr, [
|
|
150
150
|
Y("div", {
|
|
151
151
|
class: ve([s.isAuthenticated ? "container-fluid" : "container"])
|
|
152
152
|
}, [
|
|
153
153
|
Y("a", {
|
|
154
154
|
href: "/",
|
|
155
|
-
onClick: i[0] || (i[0] =
|
|
155
|
+
onClick: i[0] || (i[0] = Gt(() => r("navigate", "/"), ["prevent"])),
|
|
156
156
|
class: "text-decoration-none r3ui-header-link"
|
|
157
157
|
}, [
|
|
158
|
-
Y("div",
|
|
159
|
-
Y("div",
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
Y("div", ar, [
|
|
159
|
+
Y("div", nr, [
|
|
160
|
+
Ct(n.$slots, "logo", {}, () => [
|
|
161
|
+
jt(sr, {
|
|
162
162
|
class: "r3ui-header-logo",
|
|
163
163
|
brandText: s.brandText
|
|
164
164
|
}, null, 8, ["brandText"])
|
|
165
165
|
], !0)
|
|
166
166
|
]),
|
|
167
|
-
Y("div",
|
|
167
|
+
Y("div", ir, V(s.brandText), 1)
|
|
168
168
|
])
|
|
169
169
|
]),
|
|
170
|
-
Y("div",
|
|
171
|
-
Y("div",
|
|
172
|
-
s.isAuthenticated ? (T(),
|
|
170
|
+
Y("div", or, [
|
|
171
|
+
Y("div", lr, [
|
|
172
|
+
s.isAuthenticated ? (T(), js(Xs, {
|
|
173
173
|
key: 0,
|
|
174
174
|
type: "profile",
|
|
175
175
|
title: s.user?.name || "",
|
|
176
176
|
links: a.value
|
|
177
177
|
}, null, 8, ["title", "links"])) : Se("", !0),
|
|
178
|
-
s.isAuthenticated ? Se("", !0) : (T(), P("div",
|
|
178
|
+
s.isAuthenticated ? Se("", !0) : (T(), P("div", ur, V(s.loginText), 1))
|
|
179
179
|
]),
|
|
180
|
-
Y("div",
|
|
181
|
-
|
|
180
|
+
Y("div", dr, [
|
|
181
|
+
Ct(n.$slots, "language-selector", {}, void 0, !0)
|
|
182
182
|
])
|
|
183
183
|
])
|
|
184
184
|
], 2)
|
|
185
185
|
]));
|
|
186
186
|
}
|
|
187
|
-
}),
|
|
187
|
+
}), Wo = /* @__PURE__ */ Ge(hr, [["__scopeId", "data-v-a63a7e7f"]]);
|
|
188
188
|
//! moment.js
|
|
189
189
|
//! version : 2.30.1
|
|
190
190
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
191
191
|
//! license : MIT
|
|
192
192
|
//! momentjs.com
|
|
193
|
-
var
|
|
193
|
+
var zt;
|
|
194
194
|
function u() {
|
|
195
|
-
return
|
|
195
|
+
return zt.apply(null, arguments);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
|
|
197
|
+
function cr(e) {
|
|
198
|
+
zt = e;
|
|
199
199
|
}
|
|
200
200
|
function L(e) {
|
|
201
201
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
@@ -206,7 +206,7 @@ function oe(e) {
|
|
|
206
206
|
function g(e, t) {
|
|
207
207
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function ct(e) {
|
|
210
210
|
if (Object.getOwnPropertyNames)
|
|
211
211
|
return Object.getOwnPropertyNames(e).length === 0;
|
|
212
212
|
var t;
|
|
@@ -224,7 +224,7 @@ function X(e) {
|
|
|
224
224
|
function be(e) {
|
|
225
225
|
return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Zt(e, t) {
|
|
228
228
|
var s = [], r, a = e.length;
|
|
229
229
|
for (r = 0; r < a; ++r)
|
|
230
230
|
s.push(t(e[r], r));
|
|
@@ -236,9 +236,9 @@ function te(e, t) {
|
|
|
236
236
|
return g(t, "toString") && (e.toString = t.toString), g(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
237
237
|
}
|
|
238
238
|
function j(e, t, s, r) {
|
|
239
|
-
return
|
|
239
|
+
return ys(e, t, s, r, !0).utc();
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function fr() {
|
|
242
242
|
return {
|
|
243
243
|
empty: !1,
|
|
244
244
|
unusedTokens: [],
|
|
@@ -259,19 +259,19 @@ function cr() {
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
function m(e) {
|
|
262
|
-
return e._pf == null && (e._pf =
|
|
262
|
+
return e._pf == null && (e._pf = fr()), e._pf;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
Array.prototype.some ?
|
|
264
|
+
var nt;
|
|
265
|
+
Array.prototype.some ? nt = Array.prototype.some : nt = function(e) {
|
|
266
266
|
var t = Object(this), s = t.length >>> 0, r;
|
|
267
267
|
for (r = 0; r < s; r++)
|
|
268
268
|
if (r in t && e.call(this, t[r], r, t))
|
|
269
269
|
return !0;
|
|
270
270
|
return !1;
|
|
271
271
|
};
|
|
272
|
-
function
|
|
272
|
+
function ft(e) {
|
|
273
273
|
var t = null, s = !1, r = e._d && !isNaN(e._d.getTime());
|
|
274
|
-
if (r && (t = m(e), s =
|
|
274
|
+
if (r && (t = m(e), s = nt.call(t.parsedDateParts, function(a) {
|
|
275
275
|
return a != null;
|
|
276
276
|
}), 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))
|
|
277
277
|
e._isValid = r;
|
|
@@ -279,25 +279,25 @@ function ct(e) {
|
|
|
279
279
|
return r;
|
|
280
280
|
return e._isValid;
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function je(e) {
|
|
283
283
|
var t = j(NaN);
|
|
284
284
|
return e != null ? te(m(t), e) : m(t).userInvalidated = !0, t;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
function
|
|
288
|
-
var s, r, a, n =
|
|
286
|
+
var It = u.momentProperties = [], tt = !1;
|
|
287
|
+
function mt(e, t) {
|
|
288
|
+
var s, r, a, n = It.length;
|
|
289
289
|
if (x(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), x(t._i) || (e._i = t._i), x(t._f) || (e._f = t._f), x(t._l) || (e._l = t._l), x(t._strict) || (e._strict = t._strict), x(t._tzm) || (e._tzm = t._tzm), x(t._isUTC) || (e._isUTC = t._isUTC), x(t._offset) || (e._offset = t._offset), x(t._pf) || (e._pf = m(t)), x(t._locale) || (e._locale = t._locale), n > 0)
|
|
290
290
|
for (s = 0; s < n; s++)
|
|
291
|
-
r =
|
|
291
|
+
r = It[s], a = t[r], x(a) || (e[r] = a);
|
|
292
292
|
return e;
|
|
293
293
|
}
|
|
294
294
|
function Te(e) {
|
|
295
|
-
|
|
295
|
+
mt(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), tt === !1 && (tt = !0, u.updateOffset(this), tt = !1);
|
|
296
296
|
}
|
|
297
297
|
function E(e) {
|
|
298
298
|
return e instanceof Te || e != null && e._isAMomentObject != null;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Bt(e) {
|
|
301
301
|
u.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
302
302
|
}
|
|
303
303
|
function R(e, t) {
|
|
@@ -316,7 +316,7 @@ function R(e, t) {
|
|
|
316
316
|
a = arguments[n];
|
|
317
317
|
r.push(a);
|
|
318
318
|
}
|
|
319
|
-
|
|
319
|
+
Bt(
|
|
320
320
|
e + `
|
|
321
321
|
Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
322
322
|
` + new Error().stack
|
|
@@ -325,16 +325,16 @@ Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
|
325
325
|
return t.apply(this, arguments);
|
|
326
326
|
}, t);
|
|
327
327
|
}
|
|
328
|
-
var
|
|
329
|
-
function
|
|
330
|
-
u.deprecationHandler != null && u.deprecationHandler(e, t),
|
|
328
|
+
var Ft = {};
|
|
329
|
+
function qt(e, t) {
|
|
330
|
+
u.deprecationHandler != null && u.deprecationHandler(e, t), Ft[e] || (Bt(t), Ft[e] = !0);
|
|
331
331
|
}
|
|
332
332
|
u.suppressDeprecationWarnings = !1;
|
|
333
333
|
u.deprecationHandler = null;
|
|
334
334
|
function z(e) {
|
|
335
335
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function mr(e) {
|
|
338
338
|
var t, s;
|
|
339
339
|
for (s in e)
|
|
340
340
|
g(e, s) && (t = e[s], z(t) ? this[s] = t : this["_" + s] = t);
|
|
@@ -342,7 +342,7 @@ function fr(e) {
|
|
|
342
342
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
343
343
|
);
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function it(e, t) {
|
|
346
346
|
var s = te({}, e), r;
|
|
347
347
|
for (r in t)
|
|
348
348
|
g(t, r) && (oe(e[r]) && oe(t[r]) ? (s[r] = {}, te(s[r], e[r]), te(s[r], t[r])) : t[r] != null ? s[r] = t[r] : delete s[r]);
|
|
@@ -350,17 +350,17 @@ function nt(e, t) {
|
|
|
350
350
|
g(e, r) && !g(t, r) && oe(e[r]) && (s[r] = te({}, s[r]));
|
|
351
351
|
return s;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function yt(e) {
|
|
354
354
|
e != null && this.set(e);
|
|
355
355
|
}
|
|
356
|
-
var
|
|
357
|
-
Object.keys ?
|
|
356
|
+
var ot;
|
|
357
|
+
Object.keys ? ot = Object.keys : ot = function(e) {
|
|
358
358
|
var t, s = [];
|
|
359
359
|
for (t in e)
|
|
360
360
|
g(e, t) && s.push(t);
|
|
361
361
|
return s;
|
|
362
362
|
};
|
|
363
|
-
var
|
|
363
|
+
var yr = {
|
|
364
364
|
sameDay: "[Today at] LT",
|
|
365
365
|
nextDay: "[Tomorrow at] LT",
|
|
366
366
|
nextWeek: "dddd [at] LT",
|
|
@@ -368,7 +368,7 @@ var mr = {
|
|
|
368
368
|
lastWeek: "[Last] dddd [at] LT",
|
|
369
369
|
sameElse: "L"
|
|
370
370
|
};
|
|
371
|
-
function
|
|
371
|
+
function _r(e, t, s) {
|
|
372
372
|
var r = this._calendar[e] || this._calendar.sameElse;
|
|
373
373
|
return z(r) ? r.call(t, s) : r;
|
|
374
374
|
}
|
|
@@ -376,7 +376,7 @@ function G(e, t, s) {
|
|
|
376
376
|
var r = "" + Math.abs(e), a = t - r.length, n = e >= 0;
|
|
377
377
|
return (n ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + r;
|
|
378
378
|
}
|
|
379
|
-
var
|
|
379
|
+
var _t = /(\[[^\[]*\])|(\\)?([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, Ne = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, st = {}, ce = {};
|
|
380
380
|
function c(e, t, s, r) {
|
|
381
381
|
var a = r;
|
|
382
382
|
typeof r == "string" && (a = function() {
|
|
@@ -390,13 +390,13 @@ function c(e, t, s, r) {
|
|
|
390
390
|
);
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function gr(e) {
|
|
394
394
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
var t = e.match(
|
|
396
|
+
function wr(e) {
|
|
397
|
+
var t = e.match(_t), s, r;
|
|
398
398
|
for (s = 0, r = t.length; s < r; s++)
|
|
399
|
-
ce[t[s]] ? t[s] = ce[t[s]] : t[s] =
|
|
399
|
+
ce[t[s]] ? t[s] = ce[t[s]] : t[s] = gr(t[s]);
|
|
400
400
|
return function(a) {
|
|
401
401
|
var n = "", i;
|
|
402
402
|
for (i = 0; i < r; i++)
|
|
@@ -404,10 +404,10 @@ function gr(e) {
|
|
|
404
404
|
return n;
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
return e.isValid() ? (t =
|
|
407
|
+
function Ae(e, t) {
|
|
408
|
+
return e.isValid() ? (t = Qt(t, e.localeData()), st[t] = st[t] || wr(t), st[t](e)) : e.localeData().invalidDate();
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Qt(e, t) {
|
|
411
411
|
var s = 5;
|
|
412
412
|
function r(a) {
|
|
413
413
|
return t.longDateFormat(a) || a;
|
|
@@ -419,7 +419,7 @@ function qt(e, t) {
|
|
|
419
419
|
), Ne.lastIndex = 0, s -= 1;
|
|
420
420
|
return e;
|
|
421
421
|
}
|
|
422
|
-
var
|
|
422
|
+
var pr = {
|
|
423
423
|
LTS: "h:mm:ss A",
|
|
424
424
|
LT: "h:mm A",
|
|
425
425
|
L: "MM/DD/YYYY",
|
|
@@ -427,21 +427,21 @@ var wr = {
|
|
|
427
427
|
LLL: "MMMM D, YYYY h:mm A",
|
|
428
428
|
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
429
429
|
};
|
|
430
|
-
function
|
|
430
|
+
function kr(e) {
|
|
431
431
|
var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
|
|
432
|
-
return t || !s ? t : (this._longDateFormat[e] = s.match(
|
|
432
|
+
return t || !s ? t : (this._longDateFormat[e] = s.match(_t).map(function(r) {
|
|
433
433
|
return r === "MMMM" || r === "MM" || r === "DD" || r === "dddd" ? r.slice(1) : r;
|
|
434
434
|
}).join(""), this._longDateFormat[e]);
|
|
435
435
|
}
|
|
436
|
-
var
|
|
437
|
-
function
|
|
436
|
+
var Sr = "Invalid date";
|
|
437
|
+
function vr() {
|
|
438
438
|
return this._invalidDate;
|
|
439
439
|
}
|
|
440
|
-
var
|
|
441
|
-
function
|
|
440
|
+
var Mr = "%d", Dr = /\d{1,2}/;
|
|
441
|
+
function Yr(e) {
|
|
442
442
|
return this._ordinal.replace("%d", e);
|
|
443
443
|
}
|
|
444
|
-
var
|
|
444
|
+
var Or = {
|
|
445
445
|
future: "in %s",
|
|
446
446
|
past: "%s ago",
|
|
447
447
|
s: "a few seconds",
|
|
@@ -459,15 +459,15 @@ var Yr = {
|
|
|
459
459
|
y: "a year",
|
|
460
460
|
yy: "%d years"
|
|
461
461
|
};
|
|
462
|
-
function
|
|
462
|
+
function br(e, t, s, r) {
|
|
463
463
|
var a = this._relativeTime[s];
|
|
464
464
|
return z(a) ? a(e, t, s, r) : a.replace(/%d/i, e);
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function Tr(e, t) {
|
|
467
467
|
var s = this._relativeTime[e > 0 ? "future" : "past"];
|
|
468
468
|
return z(s) ? s(t) : s.replace(/%s/i, t);
|
|
469
469
|
}
|
|
470
|
-
var
|
|
470
|
+
var Lt = {
|
|
471
471
|
D: "date",
|
|
472
472
|
dates: "date",
|
|
473
473
|
date: "date",
|
|
@@ -518,15 +518,15 @@ var Ft = {
|
|
|
518
518
|
year: "year"
|
|
519
519
|
};
|
|
520
520
|
function A(e) {
|
|
521
|
-
return typeof e == "string" ?
|
|
521
|
+
return typeof e == "string" ? Lt[e] || Lt[e.toLowerCase()] : void 0;
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function gt(e) {
|
|
524
524
|
var t = {}, s, r;
|
|
525
525
|
for (r in e)
|
|
526
526
|
g(e, r) && (s = A(r), s && (t[s] = e[r]));
|
|
527
527
|
return t;
|
|
528
528
|
}
|
|
529
|
-
var
|
|
529
|
+
var xr = {
|
|
530
530
|
date: 9,
|
|
531
531
|
day: 11,
|
|
532
532
|
weekday: 11,
|
|
@@ -544,25 +544,25 @@ var Tr = {
|
|
|
544
544
|
isoWeek: 5,
|
|
545
545
|
year: 1
|
|
546
546
|
};
|
|
547
|
-
function
|
|
547
|
+
function Pr(e) {
|
|
548
548
|
var t = [], s;
|
|
549
549
|
for (s in e)
|
|
550
|
-
g(e, s) && t.push({ unit: s, priority:
|
|
550
|
+
g(e, s) && t.push({ unit: s, priority: xr[s] });
|
|
551
551
|
return t.sort(function(r, a) {
|
|
552
552
|
return r.priority - a.priority;
|
|
553
553
|
}), t;
|
|
554
554
|
}
|
|
555
|
-
var
|
|
556
|
-
|
|
555
|
+
var Jt = /\d/, N = /\d\d/, Kt = /\d{3}/, wt = /\d{4}/, ze = /[+-]?\d{6}/, S = /\d\d?/, Xt = /\d\d\d\d?/, $t = /\d\d\d\d\d\d?/, Ze = /\d{1,3}/, pt = /\d{1,4}/, Be = /[+-]?\d{1,6}/, ye = /\d+/, qe = /[+-]?\d+/, Nr = /Z|[+-]\d\d:?\d\d/gi, Qe = /Z|[+-]\d\d(?::?\d\d)?/gi, Wr = /[+-]?\d+(\.\d{1,3})?/, xe = /[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, _e = /^[1-9]\d?/, kt = /^([1-9]\d|\d)/, Fe;
|
|
556
|
+
Fe = {};
|
|
557
557
|
function d(e, t, s) {
|
|
558
|
-
|
|
558
|
+
Fe[e] = z(t) ? t : function(r, a) {
|
|
559
559
|
return r && s ? s : t;
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return g(
|
|
562
|
+
function Rr(e, t) {
|
|
563
|
+
return g(Fe, e) ? Fe[e](t._strict, t._locale) : new RegExp(Ar(e));
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Ar(e) {
|
|
566
566
|
return J(
|
|
567
567
|
e.replace("\\", "").replace(
|
|
568
568
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
@@ -582,26 +582,26 @@ function y(e) {
|
|
|
582
582
|
var t = +e, s = 0;
|
|
583
583
|
return t !== 0 && isFinite(t) && (s = W(t)), s;
|
|
584
584
|
}
|
|
585
|
-
var
|
|
585
|
+
var lt = {};
|
|
586
586
|
function p(e, t) {
|
|
587
587
|
var s, r = t, a;
|
|
588
588
|
for (typeof e == "string" && (e = [e]), X(t) && (r = function(n, i) {
|
|
589
589
|
i[t] = y(n);
|
|
590
590
|
}), a = e.length, s = 0; s < a; s++)
|
|
591
|
-
|
|
591
|
+
lt[e[s]] = r;
|
|
592
592
|
}
|
|
593
593
|
function Pe(e, t) {
|
|
594
594
|
p(e, function(s, r, a, n) {
|
|
595
595
|
a._w = a._w || {}, t(s, a._w, a, n);
|
|
596
596
|
});
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
t != null && g(
|
|
598
|
+
function Cr(e, t, s) {
|
|
599
|
+
t != null && g(lt, e) && lt[e](t, s._a, s, e);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Je(e) {
|
|
602
602
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
603
603
|
}
|
|
604
|
-
var b = 0, q = 1, H = 2, O = 3, F = 4, Q = 5, ie = 6,
|
|
604
|
+
var b = 0, q = 1, H = 2, O = 3, F = 4, Q = 5, ie = 6, Ir = 7, Fr = 8;
|
|
605
605
|
c("Y", 0, 0, function() {
|
|
606
606
|
var e = this.year();
|
|
607
607
|
return e <= 9999 ? G(e, 4) : "+" + e;
|
|
@@ -612,11 +612,11 @@ c(0, ["YY", 2], 0, function() {
|
|
|
612
612
|
c(0, ["YYYY", 4], 0, "year");
|
|
613
613
|
c(0, ["YYYYY", 5], 0, "year");
|
|
614
614
|
c(0, ["YYYYYY", 6, !0], 0, "year");
|
|
615
|
-
d("Y",
|
|
615
|
+
d("Y", qe);
|
|
616
616
|
d("YY", S, N);
|
|
617
|
-
d("YYYY",
|
|
618
|
-
d("YYYYY",
|
|
619
|
-
d("YYYYYY",
|
|
617
|
+
d("YYYY", pt, wt);
|
|
618
|
+
d("YYYYY", Be, ze);
|
|
619
|
+
d("YYYYYY", Be, ze);
|
|
620
620
|
p(["YYYYY", "YYYYYY"], b);
|
|
621
621
|
p("YYYY", function(e, t) {
|
|
622
622
|
t[b] = e.length === 2 ? u.parseTwoDigitYear(e) : y(e);
|
|
@@ -628,18 +628,18 @@ p("Y", function(e, t) {
|
|
|
628
628
|
t[b] = parseInt(e, 10);
|
|
629
629
|
});
|
|
630
630
|
function ke(e) {
|
|
631
|
-
return
|
|
631
|
+
return Je(e) ? 366 : 365;
|
|
632
632
|
}
|
|
633
633
|
u.parseTwoDigitYear = function(e) {
|
|
634
634
|
return y(e) + (y(e) > 68 ? 1900 : 2e3);
|
|
635
635
|
};
|
|
636
|
-
var
|
|
637
|
-
function
|
|
638
|
-
return
|
|
636
|
+
var es = ge("FullYear", !0);
|
|
637
|
+
function Lr() {
|
|
638
|
+
return Je(this.year());
|
|
639
639
|
}
|
|
640
640
|
function ge(e, t) {
|
|
641
641
|
return function(s) {
|
|
642
|
-
return s != null ? (
|
|
642
|
+
return s != null ? (ts(this, e, s), u.updateOffset(this, t), this) : Me(this, e);
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
function Me(e, t) {
|
|
@@ -667,7 +667,7 @@ function Me(e, t) {
|
|
|
667
667
|
return NaN;
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function ts(e, t, s) {
|
|
671
671
|
var r, a, n, i, l;
|
|
672
672
|
if (!(!e.isValid() || isNaN(s))) {
|
|
673
673
|
switch (r = e._d, a = e._isUTC, t) {
|
|
@@ -691,23 +691,23 @@ function es(e, t, s) {
|
|
|
691
691
|
default:
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
|
-
n = s, i = e.month(), l = e.date(), l = l === 29 && i === 1 && !
|
|
694
|
+
n = s, i = e.month(), l = e.date(), l = l === 29 && i === 1 && !Je(n) ? 28 : l, a ? r.setUTCFullYear(n, i, l) : r.setFullYear(n, i, l);
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function Er(e) {
|
|
698
698
|
return e = A(e), z(this[e]) ? this[e]() : this;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Ur(e, t) {
|
|
701
701
|
if (typeof e == "object") {
|
|
702
|
-
e =
|
|
703
|
-
var s =
|
|
702
|
+
e = gt(e);
|
|
703
|
+
var s = Pr(e), r, a = s.length;
|
|
704
704
|
for (r = 0; r < a; r++)
|
|
705
705
|
this[s[r].unit](e[s[r].unit]);
|
|
706
706
|
} else if (e = A(e), z(this[e]))
|
|
707
707
|
return this[e](t);
|
|
708
708
|
return this;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Hr(e, t) {
|
|
711
711
|
return (e % t + t) % t;
|
|
712
712
|
}
|
|
713
713
|
var D;
|
|
@@ -718,11 +718,11 @@ Array.prototype.indexOf ? D = Array.prototype.indexOf : D = function(e) {
|
|
|
718
718
|
return t;
|
|
719
719
|
return -1;
|
|
720
720
|
};
|
|
721
|
-
function
|
|
721
|
+
function St(e, t) {
|
|
722
722
|
if (isNaN(e) || isNaN(t))
|
|
723
723
|
return NaN;
|
|
724
|
-
var s =
|
|
725
|
-
return e += (t - s) / 12, s === 1 ?
|
|
724
|
+
var s = Hr(t, 12);
|
|
725
|
+
return e += (t - s) / 12, s === 1 ? Je(e) ? 29 : 28 : 31 - s % 7 % 2;
|
|
726
726
|
}
|
|
727
727
|
c("M", ["MM", 2], "Mo", function() {
|
|
728
728
|
return this.month() + 1;
|
|
@@ -748,16 +748,16 @@ p(["MMM", "MMMM"], function(e, t, s, r) {
|
|
|
748
748
|
var a = s._locale.monthsParse(e, r, s._strict);
|
|
749
749
|
a != null ? t[q] = a : m(s).invalidMonth = e;
|
|
750
750
|
});
|
|
751
|
-
var
|
|
751
|
+
var Vr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
752
752
|
"_"
|
|
753
|
-
),
|
|
754
|
-
function jr(e, t) {
|
|
755
|
-
return e ? L(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || ss).test(t) ? "format" : "standalone"][e.month()] : L(this._months) ? this._months : this._months.standalone;
|
|
756
|
-
}
|
|
753
|
+
), ss = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), rs = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, Gr = xe, jr = xe;
|
|
757
754
|
function zr(e, t) {
|
|
758
|
-
return e ? L(this.
|
|
755
|
+
return e ? L(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || rs).test(t) ? "format" : "standalone"][e.month()] : L(this._months) ? this._months : this._months.standalone;
|
|
756
|
+
}
|
|
757
|
+
function Zr(e, t) {
|
|
758
|
+
return e ? L(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[rs.test(t) ? "format" : "standalone"][e.month()] : L(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function Br(e, t, s) {
|
|
761
761
|
var r, a, n, i = e.toLocaleLowerCase();
|
|
762
762
|
if (!this._monthsParse)
|
|
763
763
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
@@ -767,10 +767,10 @@ function Zr(e, t, s) {
|
|
|
767
767
|
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(n, "").toLocaleLowerCase();
|
|
768
768
|
return s ? t === "MMM" ? (a = D.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = D.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = D.call(this._shortMonthsParse, i), a !== -1 ? a : (a = D.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = D.call(this._longMonthsParse, i), a !== -1 ? a : (a = D.call(this._shortMonthsParse, i), a !== -1 ? a : null));
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function qr(e, t, s) {
|
|
771
771
|
var r, a, n;
|
|
772
772
|
if (this._monthsParseExact)
|
|
773
|
-
return
|
|
773
|
+
return Br.call(this, e, t, s);
|
|
774
774
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
|
|
775
775
|
if (a = j([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
776
776
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
@@ -786,7 +786,7 @@ function Br(e, t, s) {
|
|
|
786
786
|
return r;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function as(e, t) {
|
|
790
790
|
if (!e.isValid())
|
|
791
791
|
return e;
|
|
792
792
|
if (typeof t == "string") {
|
|
@@ -796,21 +796,21 @@ function rs(e, t) {
|
|
|
796
796
|
return e;
|
|
797
797
|
}
|
|
798
798
|
var s = t, r = e.date();
|
|
799
|
-
return r = r < 29 ? r : Math.min(r,
|
|
799
|
+
return r = r < 29 ? r : Math.min(r, St(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
802
|
-
return e != null ? (
|
|
801
|
+
function ns(e) {
|
|
802
|
+
return e != null ? (as(this, e), u.updateOffset(this, !0), this) : Me(this, "Month");
|
|
803
803
|
}
|
|
804
|
-
function
|
|
805
|
-
return
|
|
806
|
-
}
|
|
807
|
-
function Qr(e) {
|
|
808
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") || ns.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = Vr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
804
|
+
function Qr() {
|
|
805
|
+
return St(this.year(), this.month());
|
|
809
806
|
}
|
|
810
807
|
function Jr(e) {
|
|
811
|
-
return this._monthsParseExact ? (g(this, "_monthsRegex") ||
|
|
808
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || is.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (g(this, "_monthsShortRegex") || (this._monthsShortRegex = Gr), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
809
|
+
}
|
|
810
|
+
function Kr(e) {
|
|
811
|
+
return this._monthsParseExact ? (g(this, "_monthsRegex") || is.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (g(this, "_monthsRegex") || (this._monthsRegex = jr), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function is() {
|
|
814
814
|
function e(h, f) {
|
|
815
815
|
return f.length - h.length;
|
|
816
816
|
}
|
|
@@ -825,7 +825,7 @@ function ns() {
|
|
|
825
825
|
"i"
|
|
826
826
|
);
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function Xr(e, t, s, r, a, n, i) {
|
|
829
829
|
var l;
|
|
830
830
|
return e < 100 && e >= 0 ? (l = new Date(e + 400, t, s, r, a, n, i), isFinite(l.getFullYear()) && l.setFullYear(e)) : l = new Date(e, t, s, r, a, n, i), l;
|
|
831
831
|
}
|
|
@@ -833,26 +833,26 @@ function De(e) {
|
|
|
833
833
|
var t, s;
|
|
834
834
|
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;
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function Le(e, t, s) {
|
|
837
837
|
var r = 7 + t - s, a = (7 + De(e, 0, r).getUTCDay() - t) % 7;
|
|
838
838
|
return -a + r - 1;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
841
|
-
var n = (7 + s - r) % 7, i =
|
|
840
|
+
function os(e, t, s, r, a) {
|
|
841
|
+
var n = (7 + s - r) % 7, i = Le(e, r, a), l = 1 + 7 * (t - 1) + n + i, h, f;
|
|
842
842
|
return l <= 0 ? (h = e - 1, f = ke(h) + l) : l > ke(e) ? (h = e + 1, f = l - ke(e)) : (h = e, f = l), {
|
|
843
843
|
year: h,
|
|
844
844
|
dayOfYear: f
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
847
|
function Ye(e, t, s) {
|
|
848
|
-
var r =
|
|
848
|
+
var r = Le(e.year(), t, s), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1, n, i;
|
|
849
849
|
return a < 1 ? (i = e.year() - 1, n = a + K(i, t, s)) : a > K(e.year(), t, s) ? (n = a - K(e.year(), t, s), i = e.year() + 1) : (i = e.year(), n = a), {
|
|
850
850
|
week: n,
|
|
851
851
|
year: i
|
|
852
852
|
};
|
|
853
853
|
}
|
|
854
854
|
function K(e, t, s) {
|
|
855
|
-
var r =
|
|
855
|
+
var r = Le(e, t, s), a = Le(e + 1, t, s);
|
|
856
856
|
return (ke(e) - r + a) / 7;
|
|
857
857
|
}
|
|
858
858
|
c("w", ["ww", 2], "wo", "week");
|
|
@@ -867,26 +867,26 @@ Pe(
|
|
|
867
867
|
t[r.substr(0, 1)] = y(e);
|
|
868
868
|
}
|
|
869
869
|
);
|
|
870
|
-
function
|
|
870
|
+
function $r(e) {
|
|
871
871
|
return Ye(e, this._week.dow, this._week.doy).week;
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var ea = {
|
|
874
874
|
dow: 0,
|
|
875
875
|
// Sunday is the first day of the week.
|
|
876
876
|
doy: 6
|
|
877
877
|
// The week that contains Jan 6th is the first week of the year.
|
|
878
878
|
};
|
|
879
|
-
function
|
|
879
|
+
function ta() {
|
|
880
880
|
return this._week.dow;
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function sa() {
|
|
883
883
|
return this._week.doy;
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function ra(e) {
|
|
886
886
|
var t = this.localeData().week(this);
|
|
887
887
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function aa(e) {
|
|
890
890
|
var t = Ye(this, 1, 4).week;
|
|
891
891
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
892
892
|
}
|
|
@@ -921,27 +921,27 @@ Pe(["dd", "ddd", "dddd"], function(e, t, s, r) {
|
|
|
921
921
|
Pe(["d", "e", "E"], function(e, t, s, r) {
|
|
922
922
|
t[r] = y(e);
|
|
923
923
|
});
|
|
924
|
-
function
|
|
924
|
+
function na(e, t) {
|
|
925
925
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function ia(e, t) {
|
|
928
928
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function vt(e, t) {
|
|
931
931
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
932
932
|
}
|
|
933
|
-
var
|
|
934
|
-
function
|
|
933
|
+
var oa = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), ls = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), la = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), ua = xe, da = xe, ha = xe;
|
|
934
|
+
function ca(e, t) {
|
|
935
935
|
var s = L(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
936
|
-
return e === !0 ?
|
|
937
|
-
}
|
|
938
|
-
function ca(e) {
|
|
939
|
-
return e === !0 ? St(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
936
|
+
return e === !0 ? vt(s, this._week.dow) : e ? s[e.day()] : s;
|
|
940
937
|
}
|
|
941
938
|
function fa(e) {
|
|
942
|
-
return e === !0 ?
|
|
939
|
+
return e === !0 ? vt(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
940
|
+
}
|
|
941
|
+
function ma(e) {
|
|
942
|
+
return e === !0 ? vt(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function ya(e, t, s) {
|
|
945
945
|
var r, a, n, i = e.toLocaleLowerCase();
|
|
946
946
|
if (!this._weekdaysParse)
|
|
947
947
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
@@ -954,10 +954,10 @@ function ma(e, t, s) {
|
|
|
954
954
|
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(n, "").toLocaleLowerCase();
|
|
955
955
|
return s ? t === "dddd" ? (a = D.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = D.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = D.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = D.call(this._weekdaysParse, i), a !== -1 || (a = D.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = D.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = D.call(this._shortWeekdaysParse, i), a !== -1 || (a = D.call(this._weekdaysParse, i), a !== -1) ? a : (a = D.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = D.call(this._minWeekdaysParse, i), a !== -1 || (a = D.call(this._weekdaysParse, i), a !== -1) ? a : (a = D.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
|
|
956
956
|
}
|
|
957
|
-
function
|
|
957
|
+
function _a(e, t, s) {
|
|
958
958
|
var r, a, n;
|
|
959
959
|
if (this._weekdaysParseExact)
|
|
960
|
-
return
|
|
960
|
+
return ya.call(this, e, t, s);
|
|
961
961
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
|
|
962
962
|
if (a = j([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
963
963
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
@@ -978,37 +978,37 @@ function ya(e, t, s) {
|
|
|
978
978
|
return r;
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function ga(e) {
|
|
982
982
|
if (!this.isValid())
|
|
983
983
|
return e != null ? this : NaN;
|
|
984
984
|
var t = Me(this, "Day");
|
|
985
|
-
return e != null ? (e =
|
|
985
|
+
return e != null ? (e = na(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
987
|
+
function wa(e) {
|
|
988
988
|
if (!this.isValid())
|
|
989
989
|
return e != null ? this : NaN;
|
|
990
990
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
991
991
|
return e == null ? t : this.add(e - t, "d");
|
|
992
992
|
}
|
|
993
|
-
function
|
|
993
|
+
function pa(e) {
|
|
994
994
|
if (!this.isValid())
|
|
995
995
|
return e != null ? this : NaN;
|
|
996
996
|
if (e != null) {
|
|
997
|
-
var t =
|
|
997
|
+
var t = ia(e, this.localeData());
|
|
998
998
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
999
999
|
} else
|
|
1000
1000
|
return this.day() || 7;
|
|
1001
1001
|
}
|
|
1002
|
-
function pa(e) {
|
|
1003
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || vt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = la), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1004
|
-
}
|
|
1005
1002
|
function ka(e) {
|
|
1006
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1003
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Mt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (g(this, "_weekdaysRegex") || (this._weekdaysRegex = ua), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
1007
1004
|
}
|
|
1008
1005
|
function Sa(e) {
|
|
1009
|
-
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") ||
|
|
1006
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Mt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (g(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = da), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
1007
|
+
}
|
|
1008
|
+
function va(e) {
|
|
1009
|
+
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || Mt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = ha), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function Mt() {
|
|
1012
1012
|
function e(M, C) {
|
|
1013
1013
|
return C.length - M.length;
|
|
1014
1014
|
}
|
|
@@ -1026,20 +1026,20 @@ function vt() {
|
|
|
1026
1026
|
"i"
|
|
1027
1027
|
);
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function Dt() {
|
|
1030
1030
|
return this.hours() % 12 || 12;
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Ma() {
|
|
1033
1033
|
return this.hours() || 24;
|
|
1034
1034
|
}
|
|
1035
1035
|
c("H", ["HH", 2], 0, "hour");
|
|
1036
|
-
c("h", ["hh", 2], 0,
|
|
1037
|
-
c("k", ["kk", 2], 0,
|
|
1036
|
+
c("h", ["hh", 2], 0, Dt);
|
|
1037
|
+
c("k", ["kk", 2], 0, Ma);
|
|
1038
1038
|
c("hmm", 0, 0, function() {
|
|
1039
|
-
return "" +
|
|
1039
|
+
return "" + Dt.apply(this) + G(this.minutes(), 2);
|
|
1040
1040
|
});
|
|
1041
1041
|
c("hmmss", 0, 0, function() {
|
|
1042
|
-
return "" +
|
|
1042
|
+
return "" + Dt.apply(this) + G(this.minutes(), 2) + G(this.seconds(), 2);
|
|
1043
1043
|
});
|
|
1044
1044
|
c("Hmm", 0, 0, function() {
|
|
1045
1045
|
return "" + this.hours() + G(this.minutes(), 2);
|
|
@@ -1047,7 +1047,7 @@ c("Hmm", 0, 0, function() {
|
|
|
1047
1047
|
c("Hmmss", 0, 0, function() {
|
|
1048
1048
|
return "" + this.hours() + G(this.minutes(), 2) + G(this.seconds(), 2);
|
|
1049
1049
|
});
|
|
1050
|
-
function
|
|
1050
|
+
function us(e, t) {
|
|
1051
1051
|
c(e, 0, 0, function() {
|
|
1052
1052
|
return this.localeData().meridiem(
|
|
1053
1053
|
this.hours(),
|
|
@@ -1056,23 +1056,23 @@ function ls(e, t) {
|
|
|
1056
1056
|
);
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
function
|
|
1059
|
+
us("a", !0);
|
|
1060
|
+
us("A", !1);
|
|
1061
|
+
function ds(e, t) {
|
|
1062
1062
|
return t._meridiemParse;
|
|
1063
1063
|
}
|
|
1064
|
-
d("a",
|
|
1065
|
-
d("A",
|
|
1066
|
-
d("H", S,
|
|
1064
|
+
d("a", ds);
|
|
1065
|
+
d("A", ds);
|
|
1066
|
+
d("H", S, kt);
|
|
1067
1067
|
d("h", S, _e);
|
|
1068
1068
|
d("k", S, _e);
|
|
1069
1069
|
d("HH", S, N);
|
|
1070
1070
|
d("hh", S, N);
|
|
1071
1071
|
d("kk", S, N);
|
|
1072
|
-
d("hmm",
|
|
1073
|
-
d("hmmss",
|
|
1074
|
-
d("Hmm",
|
|
1075
|
-
d("Hmmss",
|
|
1072
|
+
d("hmm", Xt);
|
|
1073
|
+
d("hmmss", $t);
|
|
1074
|
+
d("Hmm", Xt);
|
|
1075
|
+
d("Hmmss", $t);
|
|
1076
1076
|
p(["H", "HH"], O);
|
|
1077
1077
|
p(["k", "kk"], function(e, t, s) {
|
|
1078
1078
|
var r = y(e);
|
|
@@ -1100,44 +1100,44 @@ p("Hmmss", function(e, t, s) {
|
|
|
1100
1100
|
var r = e.length - 4, a = e.length - 2;
|
|
1101
1101
|
t[O] = y(e.substr(0, r)), t[F] = y(e.substr(r, 2)), t[Q] = y(e.substr(a));
|
|
1102
1102
|
});
|
|
1103
|
-
function
|
|
1103
|
+
function Da(e) {
|
|
1104
1104
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
1105
1105
|
}
|
|
1106
|
-
var
|
|
1107
|
-
function
|
|
1106
|
+
var Ya = /[ap]\.?m?\.?/i, Oa = ge("Hours", !0);
|
|
1107
|
+
function ba(e, t, s) {
|
|
1108
1108
|
return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
|
|
1109
1109
|
}
|
|
1110
|
-
var
|
|
1111
|
-
calendar:
|
|
1112
|
-
longDateFormat:
|
|
1113
|
-
invalidDate:
|
|
1114
|
-
ordinal:
|
|
1115
|
-
dayOfMonthOrdinalParse:
|
|
1116
|
-
relativeTime:
|
|
1117
|
-
months:
|
|
1118
|
-
monthsShort:
|
|
1119
|
-
week:
|
|
1120
|
-
weekdays:
|
|
1121
|
-
weekdaysMin:
|
|
1122
|
-
weekdaysShort:
|
|
1123
|
-
meridiemParse:
|
|
1110
|
+
var hs = {
|
|
1111
|
+
calendar: yr,
|
|
1112
|
+
longDateFormat: pr,
|
|
1113
|
+
invalidDate: Sr,
|
|
1114
|
+
ordinal: Mr,
|
|
1115
|
+
dayOfMonthOrdinalParse: Dr,
|
|
1116
|
+
relativeTime: Or,
|
|
1117
|
+
months: Vr,
|
|
1118
|
+
monthsShort: ss,
|
|
1119
|
+
week: ea,
|
|
1120
|
+
weekdays: oa,
|
|
1121
|
+
weekdaysMin: la,
|
|
1122
|
+
weekdaysShort: ls,
|
|
1123
|
+
meridiemParse: Ya
|
|
1124
1124
|
}, v = {}, we = {}, Oe;
|
|
1125
|
-
function
|
|
1125
|
+
function Ta(e, t) {
|
|
1126
1126
|
var s, r = Math.min(e.length, t.length);
|
|
1127
1127
|
for (s = 0; s < r; s += 1)
|
|
1128
1128
|
if (e[s] !== t[s])
|
|
1129
1129
|
return s;
|
|
1130
1130
|
return r;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function Et(e) {
|
|
1133
1133
|
return e && e.toLowerCase().replace("_", "-");
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function xa(e) {
|
|
1136
1136
|
for (var t = 0, s, r, a, n; t < e.length; ) {
|
|
1137
|
-
for (n =
|
|
1138
|
-
if (a =
|
|
1137
|
+
for (n = Et(e[t]).split("-"), s = n.length, r = Et(e[t + 1]), r = r ? r.split("-") : null; s > 0; ) {
|
|
1138
|
+
if (a = Ke(n.slice(0, s).join("-")), a)
|
|
1139
1139
|
return a;
|
|
1140
|
-
if (r && r.length >= s &&
|
|
1140
|
+
if (r && r.length >= s && Ta(n, r) >= s - 1)
|
|
1141
1141
|
break;
|
|
1142
1142
|
s--;
|
|
1143
1143
|
}
|
|
@@ -1145,12 +1145,12 @@ function Ta(e) {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
return Oe;
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1148
|
+
function Pa(e) {
|
|
1149
1149
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function Ke(e) {
|
|
1152
1152
|
var t = null, s;
|
|
1153
|
-
if (v[e] === void 0 && typeof module < "u" && module && module.exports &&
|
|
1153
|
+
if (v[e] === void 0 && typeof module < "u" && module && module.exports && Pa(e))
|
|
1154
1154
|
try {
|
|
1155
1155
|
t = Oe._abbr, s = require, s("./locale/" + e), re(t);
|
|
1156
1156
|
} catch {
|
|
@@ -1160,38 +1160,38 @@ function Je(e) {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
function re(e, t) {
|
|
1162
1162
|
var s;
|
|
1163
|
-
return e && (x(t) ? s = $(e) : s =
|
|
1163
|
+
return e && (x(t) ? s = $(e) : s = Yt(e, t), s ? Oe = s : typeof console < "u" && console.warn && console.warn(
|
|
1164
1164
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1165
1165
|
)), Oe._abbr;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Yt(e, t) {
|
|
1168
1168
|
if (t !== null) {
|
|
1169
|
-
var s, r =
|
|
1169
|
+
var s, r = hs;
|
|
1170
1170
|
if (t.abbr = e, v[e] != null)
|
|
1171
|
-
|
|
1171
|
+
qt(
|
|
1172
1172
|
"defineLocaleOverride",
|
|
1173
1173
|
"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."
|
|
1174
1174
|
), r = v[e]._config;
|
|
1175
1175
|
else if (t.parentLocale != null)
|
|
1176
1176
|
if (v[t.parentLocale] != null)
|
|
1177
1177
|
r = v[t.parentLocale]._config;
|
|
1178
|
-
else if (s =
|
|
1178
|
+
else if (s = Ke(t.parentLocale), s != null)
|
|
1179
1179
|
r = s._config;
|
|
1180
1180
|
else
|
|
1181
1181
|
return we[t.parentLocale] || (we[t.parentLocale] = []), we[t.parentLocale].push({
|
|
1182
1182
|
name: e,
|
|
1183
1183
|
config: t
|
|
1184
1184
|
}), null;
|
|
1185
|
-
return v[e] = new
|
|
1186
|
-
|
|
1185
|
+
return v[e] = new yt(it(r, t)), we[e] && we[e].forEach(function(a) {
|
|
1186
|
+
Yt(a.name, a.config);
|
|
1187
1187
|
}), re(e), v[e];
|
|
1188
1188
|
} else
|
|
1189
1189
|
return delete v[e], null;
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function Na(e, t) {
|
|
1192
1192
|
if (t != null) {
|
|
1193
|
-
var s, r, a =
|
|
1194
|
-
v[e] != null && v[e].parentLocale != null ? v[e].set(
|
|
1193
|
+
var s, r, a = hs;
|
|
1194
|
+
v[e] != null && v[e].parentLocale != null ? v[e].set(it(v[e]._config, t)) : (r = Ke(e), r != null && (a = r._config), t = it(a, t), r == null && (t.abbr = e), s = new yt(t), s.parentLocale = v[e], v[e] = s), re(e);
|
|
1195
1195
|
} else
|
|
1196
1196
|
v[e] != null && (v[e].parentLocale != null ? (v[e] = v[e].parentLocale, e === re() && re(e)) : v[e] != null && delete v[e]);
|
|
1197
1197
|
return v[e];
|
|
@@ -1201,20 +1201,20 @@ function $(e) {
|
|
|
1201
1201
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
1202
1202
|
return Oe;
|
|
1203
1203
|
if (!L(e)) {
|
|
1204
|
-
if (t =
|
|
1204
|
+
if (t = Ke(e), t)
|
|
1205
1205
|
return t;
|
|
1206
1206
|
e = [e];
|
|
1207
1207
|
}
|
|
1208
|
-
return
|
|
1208
|
+
return xa(e);
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1211
|
-
return
|
|
1210
|
+
function Wa() {
|
|
1211
|
+
return ot(v);
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function Ot(e) {
|
|
1214
1214
|
var t, s = e._a;
|
|
1215
|
-
return s && m(e).overflow === -2 && (t = s[q] < 0 || s[q] > 11 ? q : s[H] < 1 || s[H] >
|
|
1215
|
+
return s && m(e).overflow === -2 && (t = s[q] < 0 || s[q] > 11 ? q : s[H] < 1 || s[H] > St(s[b], s[q]) ? H : s[O] < 0 || s[O] > 24 || s[O] === 24 && (s[F] !== 0 || s[Q] !== 0 || s[ie] !== 0) ? O : s[F] < 0 || s[F] > 59 ? F : s[Q] < 0 || s[Q] > 59 ? Q : s[ie] < 0 || s[ie] > 999 ? ie : -1, m(e)._overflowDayOfYear && (t < b || t > H) && (t = H), m(e)._overflowWeeks && t === -1 && (t = Ir), m(e)._overflowWeekday && t === -1 && (t = Fr), m(e).overflow = t), e;
|
|
1216
1216
|
}
|
|
1217
|
-
var
|
|
1217
|
+
var Ra = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Aa = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, Ca = /Z|[+-]\d\d(?::?\d\d)?/, We = [
|
|
1218
1218
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1219
1219
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1220
1220
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -1228,7 +1228,7 @@ var Wa = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1228
1228
|
["YYYYDDD", /\d{7}/],
|
|
1229
1229
|
["YYYYMM", /\d{6}/, !1],
|
|
1230
1230
|
["YYYY", /\d{4}/, !1]
|
|
1231
|
-
],
|
|
1231
|
+
], rt = [
|
|
1232
1232
|
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1233
1233
|
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1234
1234
|
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
@@ -1238,7 +1238,7 @@ var Wa = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1238
1238
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
1239
1239
|
["HHmm", /\d\d\d\d/],
|
|
1240
1240
|
["HH", /\d\d/]
|
|
1241
|
-
],
|
|
1241
|
+
], Ia = /^\/?Date\((-?\d+)/i, Fa = /^(?:(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}))$/, La = {
|
|
1242
1242
|
UT: 0,
|
|
1243
1243
|
GMT: 0,
|
|
1244
1244
|
EDT: -240,
|
|
@@ -1250,8 +1250,8 @@ var Wa = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
1250
1250
|
PDT: -420,
|
|
1251
1251
|
PST: -480
|
|
1252
1252
|
};
|
|
1253
|
-
function
|
|
1254
|
-
var t, s, r = e._i, a =
|
|
1253
|
+
function cs(e) {
|
|
1254
|
+
var t, s, r = e._i, a = Ra.exec(r) || Aa.exec(r), n, i, l, h, f = We.length, M = rt.length;
|
|
1255
1255
|
if (a) {
|
|
1256
1256
|
for (m(e).iso = !0, t = 0, s = f; t < s; t++)
|
|
1257
1257
|
if (We[t][1].exec(a[1])) {
|
|
@@ -1264,8 +1264,8 @@ function hs(e) {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
if (a[3]) {
|
|
1266
1266
|
for (t = 0, s = M; t < s; t++)
|
|
1267
|
-
if (
|
|
1268
|
-
l = (a[2] || " ") +
|
|
1267
|
+
if (rt[t][1].exec(a[3])) {
|
|
1268
|
+
l = (a[2] || " ") + rt[t][0];
|
|
1269
1269
|
break;
|
|
1270
1270
|
}
|
|
1271
1271
|
if (l == null) {
|
|
@@ -1278,36 +1278,36 @@ function hs(e) {
|
|
|
1278
1278
|
return;
|
|
1279
1279
|
}
|
|
1280
1280
|
if (a[4])
|
|
1281
|
-
if (
|
|
1281
|
+
if (Ca.exec(a[4]))
|
|
1282
1282
|
h = "Z";
|
|
1283
1283
|
else {
|
|
1284
1284
|
e._isValid = !1;
|
|
1285
1285
|
return;
|
|
1286
1286
|
}
|
|
1287
|
-
e._f = i + (l || "") + (h || ""),
|
|
1287
|
+
e._f = i + (l || "") + (h || ""), Tt(e);
|
|
1288
1288
|
} else
|
|
1289
1289
|
e._isValid = !1;
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function Ea(e, t, s, r, a, n) {
|
|
1292
1292
|
var i = [
|
|
1293
|
-
|
|
1294
|
-
|
|
1293
|
+
Ua(e),
|
|
1294
|
+
ss.indexOf(t),
|
|
1295
1295
|
parseInt(s, 10),
|
|
1296
1296
|
parseInt(r, 10),
|
|
1297
1297
|
parseInt(a, 10)
|
|
1298
1298
|
];
|
|
1299
1299
|
return n && i.push(parseInt(n, 10)), i;
|
|
1300
1300
|
}
|
|
1301
|
-
function
|
|
1301
|
+
function Ua(e) {
|
|
1302
1302
|
var t = parseInt(e, 10);
|
|
1303
1303
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Ha(e) {
|
|
1306
1306
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function Va(e, t, s) {
|
|
1309
1309
|
if (e) {
|
|
1310
|
-
var r =
|
|
1310
|
+
var r = ls.indexOf(e), a = new Date(
|
|
1311
1311
|
t[0],
|
|
1312
1312
|
t[1],
|
|
1313
1313
|
t[2]
|
|
@@ -1317,41 +1317,41 @@ function Ha(e, t, s) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
return !0;
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function Ga(e, t, s) {
|
|
1321
1321
|
if (e)
|
|
1322
|
-
return
|
|
1322
|
+
return La[e];
|
|
1323
1323
|
if (t)
|
|
1324
1324
|
return 0;
|
|
1325
1325
|
var r = parseInt(s, 10), a = r % 100, n = (r - a) / 100;
|
|
1326
1326
|
return n * 60 + a;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
var t =
|
|
1328
|
+
function fs(e) {
|
|
1329
|
+
var t = Fa.exec(Ha(e._i)), s;
|
|
1330
1330
|
if (t) {
|
|
1331
|
-
if (s =
|
|
1331
|
+
if (s = Ea(
|
|
1332
1332
|
t[4],
|
|
1333
1333
|
t[3],
|
|
1334
1334
|
t[2],
|
|
1335
1335
|
t[5],
|
|
1336
1336
|
t[6],
|
|
1337
1337
|
t[7]
|
|
1338
|
-
), !
|
|
1338
|
+
), !Va(t[1], s, e))
|
|
1339
1339
|
return;
|
|
1340
|
-
e._a = s, e._tzm =
|
|
1340
|
+
e._a = s, e._tzm = Ga(t[8], t[9], t[10]), e._d = De.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), m(e).rfc2822 = !0;
|
|
1341
1341
|
} else
|
|
1342
1342
|
e._isValid = !1;
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1345
|
-
var t =
|
|
1344
|
+
function ja(e) {
|
|
1345
|
+
var t = Ia.exec(e._i);
|
|
1346
1346
|
if (t !== null) {
|
|
1347
1347
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
1348
1348
|
return;
|
|
1349
1349
|
}
|
|
1350
|
-
if (
|
|
1350
|
+
if (cs(e), e._isValid === !1)
|
|
1351
1351
|
delete e._isValid;
|
|
1352
1352
|
else
|
|
1353
1353
|
return;
|
|
1354
|
-
if (
|
|
1354
|
+
if (fs(e), e._isValid === !1)
|
|
1355
1355
|
delete e._isValid;
|
|
1356
1356
|
else
|
|
1357
1357
|
return;
|
|
@@ -1366,7 +1366,7 @@ u.createFromInputFallback = R(
|
|
|
1366
1366
|
function de(e, t, s) {
|
|
1367
1367
|
return e ?? t ?? s;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function za(e) {
|
|
1370
1370
|
var t = new Date(u.now());
|
|
1371
1371
|
return e._useUTC ? [
|
|
1372
1372
|
t.getUTCFullYear(),
|
|
@@ -1374,112 +1374,112 @@ function ja(e) {
|
|
|
1374
1374
|
t.getUTCDate()
|
|
1375
1375
|
] : [t.getFullYear(), t.getMonth(), t.getDate()];
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function bt(e) {
|
|
1378
1378
|
var t, s, r = [], a, n, i;
|
|
1379
1379
|
if (!e._d) {
|
|
1380
|
-
for (a =
|
|
1380
|
+
for (a = za(e), e._w && e._a[H] == null && e._a[q] == null && Za(e), e._dayOfYear != null && (i = de(e._a[b], a[b]), (e._dayOfYear > ke(i) || e._dayOfYear === 0) && (m(e)._overflowDayOfYear = !0), s = De(i, 0, e._dayOfYear), e._a[q] = s.getUTCMonth(), e._a[H] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1381
1381
|
e._a[t] = r[t] = a[t];
|
|
1382
1382
|
for (; t < 7; t++)
|
|
1383
1383
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
1384
|
-
e._a[O] === 24 && e._a[F] === 0 && e._a[Q] === 0 && e._a[ie] === 0 && (e._nextDay = !0, e._a[O] = 0), e._d = (e._useUTC ? De :
|
|
1384
|
+
e._a[O] === 24 && e._a[F] === 0 && e._a[Q] === 0 && e._a[ie] === 0 && (e._nextDay = !0, e._a[O] = 0), e._d = (e._useUTC ? De : Xr).apply(
|
|
1385
1385
|
null,
|
|
1386
1386
|
r
|
|
1387
1387
|
), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[O] = 24), e._w && typeof e._w.d < "u" && e._w.d !== n && (m(e).weekdayMismatch = !0);
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function Za(e) {
|
|
1391
1391
|
var t, s, r, a, n, i, l, h, f;
|
|
1392
1392
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (n = 1, i = 4, s = de(
|
|
1393
1393
|
t.GG,
|
|
1394
1394
|
e._a[b],
|
|
1395
1395
|
Ye(k(), 1, 4).year
|
|
1396
|
-
), r = de(t.W, 1), a = de(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, f = Ye(k(), n, i), s = de(t.gg, e._a[b], f.year), r = de(t.w, f.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (h = !0)) : a = n), r < 1 || r > K(s, n, i) ? m(e)._overflowWeeks = !0 : h != null ? m(e)._overflowWeekday = !0 : (l =
|
|
1396
|
+
), r = de(t.W, 1), a = de(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, f = Ye(k(), n, i), s = de(t.gg, e._a[b], f.year), r = de(t.w, f.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (h = !0)) : a = n), r < 1 || r > K(s, n, i) ? m(e)._overflowWeeks = !0 : h != null ? m(e)._overflowWeekday = !0 : (l = os(s, r, a, n, i), e._a[b] = l.year, e._dayOfYear = l.dayOfYear);
|
|
1397
1397
|
}
|
|
1398
1398
|
u.ISO_8601 = function() {
|
|
1399
1399
|
};
|
|
1400
1400
|
u.RFC_2822 = function() {
|
|
1401
1401
|
};
|
|
1402
|
-
function
|
|
1402
|
+
function Tt(e) {
|
|
1403
1403
|
if (e._f === u.ISO_8601) {
|
|
1404
|
-
|
|
1404
|
+
cs(e);
|
|
1405
1405
|
return;
|
|
1406
1406
|
}
|
|
1407
1407
|
if (e._f === u.RFC_2822) {
|
|
1408
|
-
|
|
1408
|
+
fs(e);
|
|
1409
1409
|
return;
|
|
1410
1410
|
}
|
|
1411
1411
|
e._a = [], m(e).empty = !0;
|
|
1412
1412
|
var t = "" + e._i, s, r, a, n, i, l = t.length, h = 0, f, M;
|
|
1413
|
-
for (a =
|
|
1414
|
-
n = a[s], r = (t.match(
|
|
1413
|
+
for (a = Qt(e._f, e._locale).match(_t) || [], M = a.length, s = 0; s < M; s++)
|
|
1414
|
+
n = a[s], r = (t.match(Rr(n, e)) || [])[0], r && (i = t.substr(0, t.indexOf(r)), i.length > 0 && m(e).unusedInput.push(i), t = t.slice(
|
|
1415
1415
|
t.indexOf(r) + r.length
|
|
1416
|
-
), h += r.length), ce[n] ? (r ? m(e).empty = !1 : m(e).unusedTokens.push(n),
|
|
1417
|
-
m(e).charsLeftOver = l - h, t.length > 0 && m(e).unusedInput.push(t), e._a[O] <= 12 && m(e).bigHour === !0 && e._a[O] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[O] =
|
|
1416
|
+
), h += r.length), ce[n] ? (r ? m(e).empty = !1 : m(e).unusedTokens.push(n), Cr(n, r, e)) : e._strict && !r && m(e).unusedTokens.push(n);
|
|
1417
|
+
m(e).charsLeftOver = l - h, t.length > 0 && m(e).unusedInput.push(t), e._a[O] <= 12 && m(e).bigHour === !0 && e._a[O] > 0 && (m(e).bigHour = void 0), m(e).parsedDateParts = e._a.slice(0), m(e).meridiem = e._meridiem, e._a[O] = Ba(
|
|
1418
1418
|
e._locale,
|
|
1419
1419
|
e._a[O],
|
|
1420
1420
|
e._meridiem
|
|
1421
|
-
), f = m(e).era, f !== null && (e._a[b] = e._locale.erasConvertYear(f, e._a[b])),
|
|
1421
|
+
), f = m(e).era, f !== null && (e._a[b] = e._locale.erasConvertYear(f, e._a[b])), bt(e), Ot(e);
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1423
|
+
function Ba(e, t, s) {
|
|
1424
1424
|
var r;
|
|
1425
1425
|
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);
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1427
|
+
function qa(e) {
|
|
1428
1428
|
var t, s, r, a, n, i, l = !1, h = e._f.length;
|
|
1429
1429
|
if (h === 0) {
|
|
1430
1430
|
m(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
1431
1431
|
return;
|
|
1432
1432
|
}
|
|
1433
1433
|
for (a = 0; a < h; a++)
|
|
1434
|
-
n = 0, i = !1, t =
|
|
1434
|
+
n = 0, i = !1, t = mt({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], Tt(t), ft(t) && (i = !0), n += m(t).charsLeftOver, n += m(t).unusedTokens.length * 10, m(t).score = n, l ? n < r && (r = n, s = t) : (r == null || n < r || i) && (r = n, s = t, i && (l = !0));
|
|
1435
1435
|
te(e, s || t);
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function Qa(e) {
|
|
1438
1438
|
if (!e._d) {
|
|
1439
|
-
var t =
|
|
1440
|
-
e._a =
|
|
1439
|
+
var t = gt(e._i), s = t.day === void 0 ? t.date : t.day;
|
|
1440
|
+
e._a = Zt(
|
|
1441
1441
|
[t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
|
|
1442
1442
|
function(r) {
|
|
1443
1443
|
return r && parseInt(r, 10);
|
|
1444
1444
|
}
|
|
1445
|
-
),
|
|
1445
|
+
), bt(e);
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
|
-
function
|
|
1449
|
-
var t = new Te(
|
|
1448
|
+
function Ja(e) {
|
|
1449
|
+
var t = new Te(Ot(ms(e)));
|
|
1450
1450
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function ms(e) {
|
|
1453
1453
|
var t = e._i, s = e._f;
|
|
1454
|
-
return e._locale = e._locale || $(e._l), t === null || s === void 0 && t === "" ?
|
|
1454
|
+
return e._locale = e._locale || $(e._l), t === null || s === void 0 && t === "" ? je({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), E(t) ? new Te(Ot(t)) : (be(t) ? e._d = t : L(s) ? qa(e) : s ? Tt(e) : Ka(e), ft(e) || (e._d = null), e));
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1456
|
+
function Ka(e) {
|
|
1457
1457
|
var t = e._i;
|
|
1458
|
-
x(t) ? e._d = new Date(u.now()) : be(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ?
|
|
1458
|
+
x(t) ? e._d = new Date(u.now()) : be(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ja(e) : L(t) ? (e._a = Zt(t.slice(0), function(s) {
|
|
1459
1459
|
return parseInt(s, 10);
|
|
1460
|
-
}),
|
|
1460
|
+
}), bt(e)) : oe(t) ? Qa(e) : X(t) ? e._d = new Date(t) : u.createFromInputFallback(e);
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function ys(e, t, s, r, a) {
|
|
1463
1463
|
var n = {};
|
|
1464
|
-
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (oe(e) &&
|
|
1464
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (s === !0 || s === !1) && (r = s, s = void 0), (oe(e) && ct(e) || L(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = s, n._i = e, n._f = t, n._strict = r, Ja(n);
|
|
1465
1465
|
}
|
|
1466
1466
|
function k(e, t, s, r) {
|
|
1467
|
-
return
|
|
1467
|
+
return ys(e, t, s, r, !1);
|
|
1468
1468
|
}
|
|
1469
|
-
var
|
|
1469
|
+
var Xa = R(
|
|
1470
1470
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1471
1471
|
function() {
|
|
1472
1472
|
var e = k.apply(null, arguments);
|
|
1473
|
-
return this.isValid() && e.isValid() ? e < this ? this : e :
|
|
1473
|
+
return this.isValid() && e.isValid() ? e < this ? this : e : je();
|
|
1474
1474
|
}
|
|
1475
|
-
),
|
|
1475
|
+
), $a = R(
|
|
1476
1476
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
1477
1477
|
function() {
|
|
1478
1478
|
var e = k.apply(null, arguments);
|
|
1479
|
-
return this.isValid() && e.isValid() ? e > this ? this : e :
|
|
1479
|
+
return this.isValid() && e.isValid() ? e > this ? this : e : je();
|
|
1480
1480
|
}
|
|
1481
1481
|
);
|
|
1482
|
-
function
|
|
1482
|
+
function _s(e, t) {
|
|
1483
1483
|
var s, r;
|
|
1484
1484
|
if (t.length === 1 && L(t[0]) && (t = t[0]), !t.length)
|
|
1485
1485
|
return k();
|
|
@@ -1487,15 +1487,15 @@ function ys(e, t) {
|
|
|
1487
1487
|
(!t[r].isValid() || t[r][e](s)) && (s = t[r]);
|
|
1488
1488
|
return s;
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function en() {
|
|
1491
1491
|
var e = [].slice.call(arguments, 0);
|
|
1492
|
-
return
|
|
1492
|
+
return _s("isBefore", e);
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function tn() {
|
|
1495
1495
|
var e = [].slice.call(arguments, 0);
|
|
1496
|
-
return
|
|
1496
|
+
return _s("isAfter", e);
|
|
1497
1497
|
}
|
|
1498
|
-
var
|
|
1498
|
+
var sn = function() {
|
|
1499
1499
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
1500
1500
|
}, pe = [
|
|
1501
1501
|
"year",
|
|
@@ -1508,7 +1508,7 @@ var tn = function() {
|
|
|
1508
1508
|
"second",
|
|
1509
1509
|
"millisecond"
|
|
1510
1510
|
];
|
|
1511
|
-
function
|
|
1511
|
+
function rn(e) {
|
|
1512
1512
|
var t, s = !1, r, a = pe.length;
|
|
1513
1513
|
for (t in e)
|
|
1514
1514
|
if (g(e, t) && !(D.call(pe, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
@@ -1521,130 +1521,130 @@ function sn(e) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
return !0;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function an() {
|
|
1525
1525
|
return this._isValid;
|
|
1526
1526
|
}
|
|
1527
|
-
function
|
|
1527
|
+
function nn() {
|
|
1528
1528
|
return U(NaN);
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1531
|
-
var t =
|
|
1532
|
-
this._isValid =
|
|
1530
|
+
function Xe(e) {
|
|
1531
|
+
var t = gt(e), s = t.year || 0, r = t.quarter || 0, a = t.month || 0, n = t.week || t.isoWeek || 0, i = t.day || 0, l = t.hour || 0, h = t.minute || 0, f = t.second || 0, M = t.millisecond || 0;
|
|
1532
|
+
this._isValid = rn(t), this._milliseconds = +M + f * 1e3 + // 1000
|
|
1533
1533
|
h * 6e4 + // 1000 * 60
|
|
1534
1534
|
l * 1e3 * 60 * 60, this._days = +i + n * 7, this._months = +a + r * 3 + s * 12, this._data = {}, this._locale = $(), this._bubble();
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return e instanceof
|
|
1536
|
+
function Ce(e) {
|
|
1537
|
+
return e instanceof Xe;
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1539
|
+
function ut(e) {
|
|
1540
1540
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1542
|
+
function on(e, t, s) {
|
|
1543
1543
|
var r = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), n = 0, i;
|
|
1544
1544
|
for (i = 0; i < r; i++)
|
|
1545
1545
|
y(e[i]) !== y(t[i]) && n++;
|
|
1546
1546
|
return n + a;
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function gs(e, t) {
|
|
1549
1549
|
c(e, 0, 0, function() {
|
|
1550
1550
|
var s = this.utcOffset(), r = "+";
|
|
1551
1551
|
return s < 0 && (s = -s, r = "-"), r + G(~~(s / 60), 2) + t + G(~~s % 60, 2);
|
|
1552
1552
|
});
|
|
1553
1553
|
}
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
d("Z",
|
|
1557
|
-
d("ZZ",
|
|
1554
|
+
gs("Z", ":");
|
|
1555
|
+
gs("ZZ", "");
|
|
1556
|
+
d("Z", Qe);
|
|
1557
|
+
d("ZZ", Qe);
|
|
1558
1558
|
p(["Z", "ZZ"], function(e, t, s) {
|
|
1559
|
-
s._useUTC = !0, s._tzm =
|
|
1559
|
+
s._useUTC = !0, s._tzm = xt(Qe, e);
|
|
1560
1560
|
});
|
|
1561
|
-
var
|
|
1562
|
-
function
|
|
1561
|
+
var ln = /([\+\-]|\d\d)/gi;
|
|
1562
|
+
function xt(e, t) {
|
|
1563
1563
|
var s = (t || "").match(e), r, a, n;
|
|
1564
|
-
return s === null ? null : (r = s[s.length - 1] || [], a = (r + "").match(
|
|
1564
|
+
return s === null ? null : (r = s[s.length - 1] || [], a = (r + "").match(ln) || ["-", 0, 0], n = +(a[1] * 60) + y(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function Pt(e, t) {
|
|
1567
1567
|
var s, r;
|
|
1568
1568
|
return t._isUTC ? (s = t.clone(), r = (E(e) || be(e) ? e.valueOf() : k(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + r), u.updateOffset(s, !1), s) : k(e).local();
|
|
1569
1569
|
}
|
|
1570
|
-
function
|
|
1570
|
+
function dt(e) {
|
|
1571
1571
|
return -Math.round(e._d.getTimezoneOffset());
|
|
1572
1572
|
}
|
|
1573
1573
|
u.updateOffset = function() {
|
|
1574
1574
|
};
|
|
1575
|
-
function
|
|
1575
|
+
function un(e, t, s) {
|
|
1576
1576
|
var r = this._offset || 0, a;
|
|
1577
1577
|
if (!this.isValid())
|
|
1578
1578
|
return e != null ? this : NaN;
|
|
1579
1579
|
if (e != null) {
|
|
1580
1580
|
if (typeof e == "string") {
|
|
1581
|
-
if (e =
|
|
1581
|
+
if (e = xt(Qe, e), e === null)
|
|
1582
1582
|
return this;
|
|
1583
1583
|
} else Math.abs(e) < 16 && !s && (e = e * 60);
|
|
1584
|
-
return !this._isUTC && t && (a =
|
|
1584
|
+
return !this._isUTC && t && (a = dt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), r !== e && (!t || this._changeInProgress ? ks(
|
|
1585
1585
|
this,
|
|
1586
1586
|
U(e - r, "m"),
|
|
1587
1587
|
1,
|
|
1588
1588
|
!1
|
|
1589
1589
|
) : this._changeInProgress || (this._changeInProgress = !0, u.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
1590
1590
|
} else
|
|
1591
|
-
return this._isUTC ? r :
|
|
1591
|
+
return this._isUTC ? r : dt(this);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function dn(e, t) {
|
|
1594
1594
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function hn(e) {
|
|
1597
1597
|
return this.utcOffset(0, e);
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1600
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
|
1599
|
+
function cn(e) {
|
|
1600
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(dt(this), "m")), this;
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function fn() {
|
|
1603
1603
|
if (this._tzm != null)
|
|
1604
1604
|
this.utcOffset(this._tzm, !1, !0);
|
|
1605
1605
|
else if (typeof this._i == "string") {
|
|
1606
|
-
var e =
|
|
1606
|
+
var e = xt(Nr, this._i);
|
|
1607
1607
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
1608
1608
|
}
|
|
1609
1609
|
return this;
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function mn(e) {
|
|
1612
1612
|
return this.isValid() ? (e = e ? k(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1614
|
+
function yn() {
|
|
1615
1615
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1617
|
+
function _n() {
|
|
1618
1618
|
if (!x(this._isDSTShifted))
|
|
1619
1619
|
return this._isDSTShifted;
|
|
1620
1620
|
var e = {}, t;
|
|
1621
|
-
return
|
|
1621
|
+
return mt(e, this), e = ms(e), e._a ? (t = e._isUTC ? j(e._a) : k(e._a), this._isDSTShifted = this.isValid() && on(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1623
|
+
function gn() {
|
|
1624
1624
|
return this.isValid() ? !this._isUTC : !1;
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1626
|
+
function wn() {
|
|
1627
1627
|
return this.isValid() ? this._isUTC : !1;
|
|
1628
1628
|
}
|
|
1629
|
-
function
|
|
1629
|
+
function ws() {
|
|
1630
1630
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
1631
1631
|
}
|
|
1632
|
-
var
|
|
1632
|
+
var pn = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, kn = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
1633
1633
|
function U(e, t) {
|
|
1634
1634
|
var s = e, r = null, a, n, i;
|
|
1635
|
-
return
|
|
1635
|
+
return Ce(e) ? s = {
|
|
1636
1636
|
ms: e._milliseconds,
|
|
1637
1637
|
d: e._days,
|
|
1638
1638
|
M: e._months
|
|
1639
|
-
} : X(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r =
|
|
1639
|
+
} : X(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = pn.exec(e)) ? (a = r[1] === "-" ? -1 : 1, s = {
|
|
1640
1640
|
y: 0,
|
|
1641
1641
|
d: y(r[H]) * a,
|
|
1642
1642
|
h: y(r[O]) * a,
|
|
1643
1643
|
m: y(r[F]) * a,
|
|
1644
1644
|
s: y(r[Q]) * a,
|
|
1645
|
-
ms: y(
|
|
1645
|
+
ms: y(ut(r[ie] * 1e3)) * a
|
|
1646
1646
|
// the millisecond decimal point is included in the match
|
|
1647
|
-
}) : (r =
|
|
1647
|
+
}) : (r = kn.exec(e)) ? (a = r[1] === "-" ? -1 : 1, s = {
|
|
1648
1648
|
y: ae(r[2], a),
|
|
1649
1649
|
M: ae(r[3], a),
|
|
1650
1650
|
w: ae(r[4], a),
|
|
@@ -1652,47 +1652,47 @@ function U(e, t) {
|
|
|
1652
1652
|
h: ae(r[6], a),
|
|
1653
1653
|
m: ae(r[7], a),
|
|
1654
1654
|
s: ae(r[8], a)
|
|
1655
|
-
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i =
|
|
1655
|
+
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (i = Sn(
|
|
1656
1656
|
k(s.from),
|
|
1657
1657
|
k(s.to)
|
|
1658
|
-
), s = {}, s.ms = i.milliseconds, s.M = i.months), n = new
|
|
1658
|
+
), s = {}, s.ms = i.milliseconds, s.M = i.months), n = new Xe(s), Ce(e) && g(e, "_locale") && (n._locale = e._locale), Ce(e) && g(e, "_isValid") && (n._isValid = e._isValid), n;
|
|
1659
1659
|
}
|
|
1660
|
-
U.fn =
|
|
1661
|
-
U.invalid =
|
|
1660
|
+
U.fn = Xe.prototype;
|
|
1661
|
+
U.invalid = nn;
|
|
1662
1662
|
function ae(e, t) {
|
|
1663
1663
|
var s = e && parseFloat(e.replace(",", "."));
|
|
1664
1664
|
return (isNaN(s) ? 0 : s) * t;
|
|
1665
1665
|
}
|
|
1666
|
-
function
|
|
1666
|
+
function Ut(e, t) {
|
|
1667
1667
|
var s = {};
|
|
1668
1668
|
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;
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1670
|
+
function Sn(e, t) {
|
|
1671
1671
|
var s;
|
|
1672
|
-
return e.isValid() && t.isValid() ? (t =
|
|
1672
|
+
return e.isValid() && t.isValid() ? (t = Pt(t, e), e.isBefore(t) ? s = Ut(e, t) : (s = Ut(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s) : { milliseconds: 0, months: 0 };
|
|
1673
1673
|
}
|
|
1674
|
-
function
|
|
1674
|
+
function ps(e, t) {
|
|
1675
1675
|
return function(s, r) {
|
|
1676
1676
|
var a, n;
|
|
1677
|
-
return r !== null && !isNaN(+r) && (
|
|
1677
|
+
return r !== null && !isNaN(+r) && (qt(
|
|
1678
1678
|
t,
|
|
1679
1679
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
1680
|
-
), n = s, s = r, r = n), a = U(s, r),
|
|
1680
|
+
), n = s, s = r, r = n), a = U(s, r), ks(this, a, e), this;
|
|
1681
1681
|
};
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1684
|
-
var a = t._milliseconds, n =
|
|
1685
|
-
e.isValid() && (r = r ?? !0, i &&
|
|
1683
|
+
function ks(e, t, s, r) {
|
|
1684
|
+
var a = t._milliseconds, n = ut(t._days), i = ut(t._months);
|
|
1685
|
+
e.isValid() && (r = r ?? !0, i && as(e, Me(e, "Month") + i * s), n && ts(e, "Date", Me(e, "Date") + n * s), a && e._d.setTime(e._d.valueOf() + a * s), r && u.updateOffset(e, n || i));
|
|
1686
1686
|
}
|
|
1687
|
-
var
|
|
1688
|
-
function
|
|
1687
|
+
var vn = ps(1, "add"), Mn = ps(-1, "subtract");
|
|
1688
|
+
function Ss(e) {
|
|
1689
1689
|
return typeof e == "string" || e instanceof String;
|
|
1690
1690
|
}
|
|
1691
|
-
function Mn(e) {
|
|
1692
|
-
return E(e) || be(e) || ks(e) || X(e) || Yn(e) || Dn(e) || e === null || e === void 0;
|
|
1693
|
-
}
|
|
1694
1691
|
function Dn(e) {
|
|
1695
|
-
|
|
1692
|
+
return E(e) || be(e) || Ss(e) || X(e) || On(e) || Yn(e) || e === null || e === void 0;
|
|
1693
|
+
}
|
|
1694
|
+
function Yn(e) {
|
|
1695
|
+
var t = oe(e) && !ct(e), s = !1, r = [
|
|
1696
1696
|
"years",
|
|
1697
1697
|
"year",
|
|
1698
1698
|
"y",
|
|
@@ -1722,14 +1722,14 @@ function Dn(e) {
|
|
|
1722
1722
|
n = r[a], s = s || g(e, n);
|
|
1723
1723
|
return t && s;
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function On(e) {
|
|
1726
1726
|
var t = L(e), s = !1;
|
|
1727
1727
|
return t && (s = e.filter(function(r) {
|
|
1728
|
-
return !X(r) &&
|
|
1728
|
+
return !X(r) && Ss(e);
|
|
1729
1729
|
}).length === 0), t && s;
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1732
|
-
var t = oe(e) && !
|
|
1731
|
+
function bn(e) {
|
|
1732
|
+
var t = oe(e) && !ct(e), s = !1, r = [
|
|
1733
1733
|
"sameDay",
|
|
1734
1734
|
"nextDay",
|
|
1735
1735
|
"lastDay",
|
|
@@ -1741,57 +1741,57 @@ function On(e) {
|
|
|
1741
1741
|
n = r[a], s = s || g(e, n);
|
|
1742
1742
|
return t && s;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function Tn(e, t) {
|
|
1745
1745
|
var s = e.diff(t, "days", !0);
|
|
1746
1746
|
return s < -6 ? "sameElse" : s < -1 ? "lastWeek" : s < 0 ? "lastDay" : s < 1 ? "sameDay" : s < 2 ? "nextDay" : s < 7 ? "nextWeek" : "sameElse";
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1749
|
-
arguments.length === 1 && (arguments[0] ?
|
|
1750
|
-
var s = e || k(), r =
|
|
1748
|
+
function xn(e, t) {
|
|
1749
|
+
arguments.length === 1 && (arguments[0] ? Dn(arguments[0]) ? (e = arguments[0], t = void 0) : bn(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1750
|
+
var s = e || k(), r = Pt(s, this).startOf("day"), a = u.calendarFormat(this, r) || "sameElse", n = t && (z(t[a]) ? t[a].call(this, s) : t[a]);
|
|
1751
1751
|
return this.format(
|
|
1752
1752
|
n || this.localeData().calendar(a, this, k(s))
|
|
1753
1753
|
);
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function Pn() {
|
|
1756
1756
|
return new Te(this);
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function Nn(e, t) {
|
|
1759
1759
|
var s = E(e) ? e : k(e);
|
|
1760
1760
|
return this.isValid() && s.isValid() ? (t = A(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1762
|
+
function Wn(e, t) {
|
|
1763
1763
|
var s = E(e) ? e : k(e);
|
|
1764
1764
|
return this.isValid() && s.isValid() ? (t = A(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
|
|
1765
1765
|
}
|
|
1766
|
-
function
|
|
1766
|
+
function Rn(e, t, s, r) {
|
|
1767
1767
|
var a = E(e) ? e : k(e), n = E(t) ? t : k(t);
|
|
1768
1768
|
return this.isValid() && a.isValid() && n.isValid() ? (r = r || "()", (r[0] === "(" ? this.isAfter(a, s) : !this.isBefore(a, s)) && (r[1] === ")" ? this.isBefore(n, s) : !this.isAfter(n, s))) : !1;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function An(e, t) {
|
|
1771
1771
|
var s = E(e) ? e : k(e), r;
|
|
1772
1772
|
return this.isValid() && s.isValid() ? (t = A(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (r = s.valueOf(), this.clone().startOf(t).valueOf() <= r && r <= this.clone().endOf(t).valueOf())) : !1;
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1774
|
+
function Cn(e, t) {
|
|
1775
1775
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
1776
1776
|
}
|
|
1777
|
-
function
|
|
1777
|
+
function In(e, t) {
|
|
1778
1778
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1780
|
+
function Fn(e, t, s) {
|
|
1781
1781
|
var r, a, n;
|
|
1782
1782
|
if (!this.isValid())
|
|
1783
1783
|
return NaN;
|
|
1784
|
-
if (r =
|
|
1784
|
+
if (r = Pt(e, this), !r.isValid())
|
|
1785
1785
|
return NaN;
|
|
1786
1786
|
switch (a = (r.utcOffset() - this.utcOffset()) * 6e4, t = A(t), t) {
|
|
1787
1787
|
case "year":
|
|
1788
|
-
n =
|
|
1788
|
+
n = Ie(this, r) / 12;
|
|
1789
1789
|
break;
|
|
1790
1790
|
case "month":
|
|
1791
|
-
n =
|
|
1791
|
+
n = Ie(this, r);
|
|
1792
1792
|
break;
|
|
1793
1793
|
case "quarter":
|
|
1794
|
-
n =
|
|
1794
|
+
n = Ie(this, r) / 3;
|
|
1795
1795
|
break;
|
|
1796
1796
|
case "second":
|
|
1797
1797
|
n = (this - r) / 1e3;
|
|
@@ -1818,80 +1818,80 @@ function In(e, t, s) {
|
|
|
1818
1818
|
}
|
|
1819
1819
|
return s ? n : W(n);
|
|
1820
1820
|
}
|
|
1821
|
-
function
|
|
1821
|
+
function Ie(e, t) {
|
|
1822
1822
|
if (e.date() < t.date())
|
|
1823
|
-
return -
|
|
1823
|
+
return -Ie(t, e);
|
|
1824
1824
|
var s = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(s, "months"), a, n;
|
|
1825
1825
|
return t - r < 0 ? (a = e.clone().add(s - 1, "months"), n = (t - r) / (r - a)) : (a = e.clone().add(s + 1, "months"), n = (t - r) / (a - r)), -(s + n) || 0;
|
|
1826
1826
|
}
|
|
1827
1827
|
u.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
1828
1828
|
u.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
1829
|
-
function
|
|
1829
|
+
function Ln() {
|
|
1830
1830
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
1831
1831
|
}
|
|
1832
|
-
function
|
|
1832
|
+
function En(e) {
|
|
1833
1833
|
if (!this.isValid())
|
|
1834
1834
|
return null;
|
|
1835
1835
|
var t = e !== !0, s = t ? this.clone().utc() : this;
|
|
1836
|
-
return s.year() < 0 || s.year() > 9999 ?
|
|
1836
|
+
return s.year() < 0 || s.year() > 9999 ? Ae(
|
|
1837
1837
|
s,
|
|
1838
1838
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1839
|
-
) : z(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z",
|
|
1839
|
+
) : z(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Ae(s, "Z")) : Ae(
|
|
1840
1840
|
s,
|
|
1841
1841
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1842
1842
|
);
|
|
1843
1843
|
}
|
|
1844
|
-
function
|
|
1844
|
+
function Un() {
|
|
1845
1845
|
if (!this.isValid())
|
|
1846
1846
|
return "moment.invalid(/* " + this._i + " */)";
|
|
1847
1847
|
var e = "moment", t = "", s, r, a, n;
|
|
1848
1848
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), s = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", n = t + '[")]', this.format(s + r + a + n);
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function Hn(e) {
|
|
1851
1851
|
e || (e = this.isUtc() ? u.defaultFormatUtc : u.defaultFormat);
|
|
1852
|
-
var t =
|
|
1852
|
+
var t = Ae(this, e);
|
|
1853
1853
|
return this.localeData().postformat(t);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function Vn(e, t) {
|
|
1856
1856
|
return this.isValid() && (E(e) && e.isValid() || k(e).isValid()) ? U({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function Gn(e) {
|
|
1859
1859
|
return this.from(k(), e);
|
|
1860
1860
|
}
|
|
1861
|
-
function
|
|
1861
|
+
function jn(e, t) {
|
|
1862
1862
|
return this.isValid() && (E(e) && e.isValid() || k(e).isValid()) ? U({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1864
|
+
function zn(e) {
|
|
1865
1865
|
return this.to(k(), e);
|
|
1866
1866
|
}
|
|
1867
|
-
function
|
|
1867
|
+
function vs(e) {
|
|
1868
1868
|
var t;
|
|
1869
1869
|
return e === void 0 ? this._locale._abbr : (t = $(e), t != null && (this._locale = t), this);
|
|
1870
1870
|
}
|
|
1871
|
-
var
|
|
1871
|
+
var Ms = R(
|
|
1872
1872
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
1873
1873
|
function(e) {
|
|
1874
1874
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
1875
1875
|
}
|
|
1876
1876
|
);
|
|
1877
|
-
function
|
|
1877
|
+
function Ds() {
|
|
1878
1878
|
return this._locale;
|
|
1879
1879
|
}
|
|
1880
|
-
var
|
|
1880
|
+
var Ee = 1e3, fe = 60 * Ee, Ue = 60 * fe, Ys = (365 * 400 + 97) * 24 * Ue;
|
|
1881
1881
|
function me(e, t) {
|
|
1882
1882
|
return (e % t + t) % t;
|
|
1883
1883
|
}
|
|
1884
|
-
function Ys(e, t, s) {
|
|
1885
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Ds : new Date(e, t, s).valueOf();
|
|
1886
|
-
}
|
|
1887
1884
|
function Os(e, t, s) {
|
|
1888
|
-
return e < 100 && e >= 0 ? Date
|
|
1885
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Ys : new Date(e, t, s).valueOf();
|
|
1889
1886
|
}
|
|
1890
|
-
function
|
|
1887
|
+
function bs(e, t, s) {
|
|
1888
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Ys : Date.UTC(e, t, s);
|
|
1889
|
+
}
|
|
1890
|
+
function Zn(e) {
|
|
1891
1891
|
var t, s;
|
|
1892
1892
|
if (e = A(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1893
1893
|
return this;
|
|
1894
|
-
switch (s = this._isUTC ?
|
|
1894
|
+
switch (s = this._isUTC ? bs : Os, e) {
|
|
1895
1895
|
case "year":
|
|
1896
1896
|
t = s(this.year(), 0, 1);
|
|
1897
1897
|
break;
|
|
@@ -1926,23 +1926,23 @@ function zn(e) {
|
|
|
1926
1926
|
case "hour":
|
|
1927
1927
|
t = this._d.valueOf(), t -= me(
|
|
1928
1928
|
t + (this._isUTC ? 0 : this.utcOffset() * fe),
|
|
1929
|
-
|
|
1929
|
+
Ue
|
|
1930
1930
|
);
|
|
1931
1931
|
break;
|
|
1932
1932
|
case "minute":
|
|
1933
1933
|
t = this._d.valueOf(), t -= me(t, fe);
|
|
1934
1934
|
break;
|
|
1935
1935
|
case "second":
|
|
1936
|
-
t = this._d.valueOf(), t -= me(t,
|
|
1936
|
+
t = this._d.valueOf(), t -= me(t, Ee);
|
|
1937
1937
|
break;
|
|
1938
1938
|
}
|
|
1939
1939
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function Bn(e) {
|
|
1942
1942
|
var t, s;
|
|
1943
1943
|
if (e = A(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
1944
1944
|
return this;
|
|
1945
|
-
switch (s = this._isUTC ?
|
|
1945
|
+
switch (s = this._isUTC ? bs : Os, e) {
|
|
1946
1946
|
case "year":
|
|
1947
1947
|
t = s(this.year() + 1, 0, 1) - 1;
|
|
1948
1948
|
break;
|
|
@@ -1975,30 +1975,30 @@ function Zn(e) {
|
|
|
1975
1975
|
t = s(this.year(), this.month(), this.date() + 1) - 1;
|
|
1976
1976
|
break;
|
|
1977
1977
|
case "hour":
|
|
1978
|
-
t = this._d.valueOf(), t +=
|
|
1978
|
+
t = this._d.valueOf(), t += Ue - me(
|
|
1979
1979
|
t + (this._isUTC ? 0 : this.utcOffset() * fe),
|
|
1980
|
-
|
|
1980
|
+
Ue
|
|
1981
1981
|
) - 1;
|
|
1982
1982
|
break;
|
|
1983
1983
|
case "minute":
|
|
1984
1984
|
t = this._d.valueOf(), t += fe - me(t, fe) - 1;
|
|
1985
1985
|
break;
|
|
1986
1986
|
case "second":
|
|
1987
|
-
t = this._d.valueOf(), t +=
|
|
1987
|
+
t = this._d.valueOf(), t += Ee - me(t, Ee) - 1;
|
|
1988
1988
|
break;
|
|
1989
1989
|
}
|
|
1990
1990
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1992
|
+
function qn() {
|
|
1993
1993
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function Qn() {
|
|
1996
1996
|
return Math.floor(this.valueOf() / 1e3);
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function Jn() {
|
|
1999
1999
|
return new Date(this.valueOf());
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2001
|
+
function Kn() {
|
|
2002
2002
|
var e = this;
|
|
2003
2003
|
return [
|
|
2004
2004
|
e.year(),
|
|
@@ -2010,7 +2010,7 @@ function Jn() {
|
|
|
2010
2010
|
e.millisecond()
|
|
2011
2011
|
];
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function Xn() {
|
|
2014
2014
|
var e = this;
|
|
2015
2015
|
return {
|
|
2016
2016
|
years: e.year(),
|
|
@@ -2022,19 +2022,19 @@ function Kn() {
|
|
|
2022
2022
|
milliseconds: e.milliseconds()
|
|
2023
2023
|
};
|
|
2024
2024
|
}
|
|
2025
|
-
function Xn() {
|
|
2026
|
-
return this.isValid() ? this.toISOString() : null;
|
|
2027
|
-
}
|
|
2028
2025
|
function $n() {
|
|
2029
|
-
return
|
|
2026
|
+
return this.isValid() ? this.toISOString() : null;
|
|
2030
2027
|
}
|
|
2031
2028
|
function ei() {
|
|
2032
|
-
return
|
|
2029
|
+
return ft(this);
|
|
2033
2030
|
}
|
|
2034
2031
|
function ti() {
|
|
2035
|
-
return m(this)
|
|
2032
|
+
return te({}, m(this));
|
|
2036
2033
|
}
|
|
2037
2034
|
function si() {
|
|
2035
|
+
return m(this).overflow;
|
|
2036
|
+
}
|
|
2037
|
+
function ri() {
|
|
2038
2038
|
return {
|
|
2039
2039
|
input: this._i,
|
|
2040
2040
|
format: this._f,
|
|
@@ -2052,11 +2052,11 @@ c("y", ["y", 1], "yo", "eraYear");
|
|
|
2052
2052
|
c("y", ["yy", 2], 0, "eraYear");
|
|
2053
2053
|
c("y", ["yyy", 3], 0, "eraYear");
|
|
2054
2054
|
c("y", ["yyyy", 4], 0, "eraYear");
|
|
2055
|
-
d("N",
|
|
2056
|
-
d("NN",
|
|
2057
|
-
d("NNN",
|
|
2058
|
-
d("NNNN",
|
|
2059
|
-
d("NNNNN",
|
|
2055
|
+
d("N", Nt);
|
|
2056
|
+
d("NN", Nt);
|
|
2057
|
+
d("NNN", Nt);
|
|
2058
|
+
d("NNNN", mi);
|
|
2059
|
+
d("NNNNN", yi);
|
|
2060
2060
|
p(
|
|
2061
2061
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2062
2062
|
function(e, t, s, r) {
|
|
@@ -2068,13 +2068,13 @@ d("y", ye);
|
|
|
2068
2068
|
d("yy", ye);
|
|
2069
2069
|
d("yyy", ye);
|
|
2070
2070
|
d("yyyy", ye);
|
|
2071
|
-
d("yo",
|
|
2071
|
+
d("yo", _i);
|
|
2072
2072
|
p(["y", "yy", "yyy", "yyyy"], b);
|
|
2073
2073
|
p(["yo"], function(e, t, s, r) {
|
|
2074
2074
|
var a;
|
|
2075
2075
|
s._locale._eraYearOrdinalRegex && (a = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[b] = s._locale.eraYearOrdinalParse(e, a) : t[b] = parseInt(e, 10);
|
|
2076
2076
|
});
|
|
2077
|
-
function
|
|
2077
|
+
function ai(e, t) {
|
|
2078
2078
|
var s, r, a, n = this._eras || $("en")._eras;
|
|
2079
2079
|
for (s = 0, r = n.length; s < r; ++s) {
|
|
2080
2080
|
switch (typeof n[s].since) {
|
|
@@ -2093,7 +2093,7 @@ function ri(e, t) {
|
|
|
2093
2093
|
}
|
|
2094
2094
|
return n;
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2096
|
+
function ni(e, t, s) {
|
|
2097
2097
|
var r, a, n = this.eras(), i, l, h;
|
|
2098
2098
|
for (e = e.toUpperCase(), r = 0, a = n.length; r < a; ++r)
|
|
2099
2099
|
if (i = n[r].name.toUpperCase(), l = n[r].abbr.toUpperCase(), h = n[r].narrow.toUpperCase(), s)
|
|
@@ -2116,60 +2116,60 @@ function ai(e, t, s) {
|
|
|
2116
2116
|
else if ([i, l, h].indexOf(e) >= 0)
|
|
2117
2117
|
return n[r];
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function ii(e, t) {
|
|
2120
2120
|
var s = e.since <= e.until ? 1 : -1;
|
|
2121
2121
|
return t === void 0 ? u(e.since).year() : u(e.since).year() + (t - e.offset) * s;
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function oi() {
|
|
2124
2124
|
var e, t, s, r = this.localeData().eras();
|
|
2125
2125
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2126
2126
|
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2127
2127
|
return r[e].name;
|
|
2128
2128
|
return "";
|
|
2129
2129
|
}
|
|
2130
|
-
function
|
|
2130
|
+
function li() {
|
|
2131
2131
|
var e, t, s, r = this.localeData().eras();
|
|
2132
2132
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2133
2133
|
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2134
2134
|
return r[e].narrow;
|
|
2135
2135
|
return "";
|
|
2136
2136
|
}
|
|
2137
|
-
function
|
|
2137
|
+
function ui() {
|
|
2138
2138
|
var e, t, s, r = this.localeData().eras();
|
|
2139
2139
|
for (e = 0, t = r.length; e < t; ++e)
|
|
2140
2140
|
if (s = this.clone().startOf("day").valueOf(), r[e].since <= s && s <= r[e].until || r[e].until <= s && s <= r[e].since)
|
|
2141
2141
|
return r[e].abbr;
|
|
2142
2142
|
return "";
|
|
2143
2143
|
}
|
|
2144
|
-
function
|
|
2144
|
+
function di() {
|
|
2145
2145
|
var e, t, s, r, a = this.localeData().eras();
|
|
2146
2146
|
for (e = 0, t = a.length; e < t; ++e)
|
|
2147
2147
|
if (s = a[e].since <= a[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), a[e].since <= r && r <= a[e].until || a[e].until <= r && r <= a[e].since)
|
|
2148
2148
|
return (this.year() - u(a[e].since).year()) * s + a[e].offset;
|
|
2149
2149
|
return this.year();
|
|
2150
2150
|
}
|
|
2151
|
-
function di(e) {
|
|
2152
|
-
return g(this, "_erasNameRegex") || Nt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2153
|
-
}
|
|
2154
2151
|
function hi(e) {
|
|
2155
|
-
return g(this, "
|
|
2152
|
+
return g(this, "_erasNameRegex") || Wt.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
2156
2153
|
}
|
|
2157
2154
|
function ci(e) {
|
|
2158
|
-
return g(this, "
|
|
2155
|
+
return g(this, "_erasAbbrRegex") || Wt.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
2159
2156
|
}
|
|
2160
|
-
function
|
|
2157
|
+
function fi(e) {
|
|
2158
|
+
return g(this, "_erasNarrowRegex") || Wt.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
2159
|
+
}
|
|
2160
|
+
function Nt(e, t) {
|
|
2161
2161
|
return t.erasAbbrRegex(e);
|
|
2162
2162
|
}
|
|
2163
|
-
function
|
|
2163
|
+
function mi(e, t) {
|
|
2164
2164
|
return t.erasNameRegex(e);
|
|
2165
2165
|
}
|
|
2166
|
-
function
|
|
2166
|
+
function yi(e, t) {
|
|
2167
2167
|
return t.erasNarrowRegex(e);
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function _i(e, t) {
|
|
2170
2170
|
return t._eraYearOrdinalRegex || ye;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2172
|
+
function Wt() {
|
|
2173
2173
|
var e = [], t = [], s = [], r = [], a, n, i, l, h, f = this.eras();
|
|
2174
2174
|
for (a = 0, n = f.length; a < n; ++a)
|
|
2175
2175
|
i = J(f[a].name), l = J(f[a].abbr), h = J(f[a].narrow), t.push(i), e.push(l), s.push(h), r.push(i), r.push(l), r.push(h);
|
|
@@ -2184,21 +2184,21 @@ c(0, ["gg", 2], 0, function() {
|
|
|
2184
2184
|
c(0, ["GG", 2], 0, function() {
|
|
2185
2185
|
return this.isoWeekYear() % 100;
|
|
2186
2186
|
});
|
|
2187
|
-
function
|
|
2187
|
+
function $e(e, t) {
|
|
2188
2188
|
c(0, [e, e.length], 0, t);
|
|
2189
2189
|
}
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
d("G",
|
|
2195
|
-
d("g",
|
|
2190
|
+
$e("gggg", "weekYear");
|
|
2191
|
+
$e("ggggg", "weekYear");
|
|
2192
|
+
$e("GGGG", "isoWeekYear");
|
|
2193
|
+
$e("GGGGG", "isoWeekYear");
|
|
2194
|
+
d("G", qe);
|
|
2195
|
+
d("g", qe);
|
|
2196
2196
|
d("GG", S, N);
|
|
2197
2197
|
d("gg", S, N);
|
|
2198
|
-
d("GGGG",
|
|
2199
|
-
d("gggg",
|
|
2200
|
-
d("GGGGG",
|
|
2201
|
-
d("ggggg",
|
|
2198
|
+
d("GGGG", pt, wt);
|
|
2199
|
+
d("gggg", pt, wt);
|
|
2200
|
+
d("GGGGG", Be, ze);
|
|
2201
|
+
d("ggggg", Be, ze);
|
|
2202
2202
|
Pe(
|
|
2203
2203
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2204
2204
|
function(e, t, s, r) {
|
|
@@ -2208,8 +2208,8 @@ Pe(
|
|
|
2208
2208
|
Pe(["gg", "GG"], function(e, t, s, r) {
|
|
2209
2209
|
t[r] = u.parseTwoDigitYear(e);
|
|
2210
2210
|
});
|
|
2211
|
-
function
|
|
2212
|
-
return
|
|
2211
|
+
function gi(e) {
|
|
2212
|
+
return Ts.call(
|
|
2213
2213
|
this,
|
|
2214
2214
|
e,
|
|
2215
2215
|
this.week(),
|
|
@@ -2218,8 +2218,8 @@ function _i(e) {
|
|
|
2218
2218
|
this.localeData()._week.doy
|
|
2219
2219
|
);
|
|
2220
2220
|
}
|
|
2221
|
-
function
|
|
2222
|
-
return
|
|
2221
|
+
function wi(e) {
|
|
2222
|
+
return Ts.call(
|
|
2223
2223
|
this,
|
|
2224
2224
|
e,
|
|
2225
2225
|
this.isoWeek(),
|
|
@@ -2228,34 +2228,34 @@ function gi(e) {
|
|
|
2228
2228
|
4
|
|
2229
2229
|
);
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2231
|
+
function pi() {
|
|
2232
2232
|
return K(this.year(), 1, 4);
|
|
2233
2233
|
}
|
|
2234
|
-
function
|
|
2234
|
+
function ki() {
|
|
2235
2235
|
return K(this.isoWeekYear(), 1, 4);
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function Si() {
|
|
2238
2238
|
var e = this.localeData()._week;
|
|
2239
2239
|
return K(this.year(), e.dow, e.doy);
|
|
2240
2240
|
}
|
|
2241
|
-
function
|
|
2241
|
+
function vi() {
|
|
2242
2242
|
var e = this.localeData()._week;
|
|
2243
2243
|
return K(this.weekYear(), e.dow, e.doy);
|
|
2244
2244
|
}
|
|
2245
|
-
function
|
|
2245
|
+
function Ts(e, t, s, r, a) {
|
|
2246
2246
|
var n;
|
|
2247
|
-
return e == null ? Ye(this, r, a).year : (n = K(e, r, a), t > n && (t = n),
|
|
2247
|
+
return e == null ? Ye(this, r, a).year : (n = K(e, r, a), t > n && (t = n), Mi.call(this, e, t, s, r, a));
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2250
|
-
var n =
|
|
2249
|
+
function Mi(e, t, s, r, a) {
|
|
2250
|
+
var n = os(e, t, s, r, a), i = De(n.year, 0, n.dayOfYear);
|
|
2251
2251
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2252
2252
|
}
|
|
2253
2253
|
c("Q", 0, "Qo", "quarter");
|
|
2254
|
-
d("Q",
|
|
2254
|
+
d("Q", Jt);
|
|
2255
2255
|
p("Q", function(e, t) {
|
|
2256
2256
|
t[q] = (y(e) - 1) * 3;
|
|
2257
2257
|
});
|
|
2258
|
-
function
|
|
2258
|
+
function Di(e) {
|
|
2259
2259
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
2260
2260
|
}
|
|
2261
2261
|
c("D", ["DD", 2], "Do", "date");
|
|
@@ -2268,29 +2268,29 @@ p(["D", "DD"], H);
|
|
|
2268
2268
|
p("Do", function(e, t) {
|
|
2269
2269
|
t[H] = y(e.match(S)[0]);
|
|
2270
2270
|
});
|
|
2271
|
-
var
|
|
2271
|
+
var xs = ge("Date", !0);
|
|
2272
2272
|
c("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2273
|
-
d("DDD",
|
|
2274
|
-
d("DDDD",
|
|
2273
|
+
d("DDD", Ze);
|
|
2274
|
+
d("DDDD", Kt);
|
|
2275
2275
|
p(["DDD", "DDDD"], function(e, t, s) {
|
|
2276
2276
|
s._dayOfYear = y(e);
|
|
2277
2277
|
});
|
|
2278
|
-
function
|
|
2278
|
+
function Yi(e) {
|
|
2279
2279
|
var t = Math.round(
|
|
2280
2280
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
2281
2281
|
) + 1;
|
|
2282
2282
|
return e == null ? t : this.add(e - t, "d");
|
|
2283
2283
|
}
|
|
2284
2284
|
c("m", ["mm", 2], 0, "minute");
|
|
2285
|
-
d("m", S,
|
|
2285
|
+
d("m", S, kt);
|
|
2286
2286
|
d("mm", S, N);
|
|
2287
2287
|
p(["m", "mm"], F);
|
|
2288
|
-
var
|
|
2288
|
+
var Oi = ge("Minutes", !1);
|
|
2289
2289
|
c("s", ["ss", 2], 0, "second");
|
|
2290
|
-
d("s", S,
|
|
2290
|
+
d("s", S, kt);
|
|
2291
2291
|
d("ss", S, N);
|
|
2292
2292
|
p(["s", "ss"], Q);
|
|
2293
|
-
var
|
|
2293
|
+
var bi = ge("Seconds", !1);
|
|
2294
2294
|
c("S", 0, 0, function() {
|
|
2295
2295
|
return ~~(this.millisecond() / 100);
|
|
2296
2296
|
});
|
|
@@ -2316,203 +2316,203 @@ c(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2316
2316
|
c(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2317
2317
|
return this.millisecond() * 1e6;
|
|
2318
2318
|
});
|
|
2319
|
-
d("S",
|
|
2320
|
-
d("SS",
|
|
2321
|
-
d("SSS",
|
|
2322
|
-
var se,
|
|
2319
|
+
d("S", Ze, Jt);
|
|
2320
|
+
d("SS", Ze, N);
|
|
2321
|
+
d("SSS", Ze, Kt);
|
|
2322
|
+
var se, Ps;
|
|
2323
2323
|
for (se = "SSSS"; se.length <= 9; se += "S")
|
|
2324
2324
|
d(se, ye);
|
|
2325
|
-
function
|
|
2325
|
+
function Ti(e, t) {
|
|
2326
2326
|
t[ie] = y(("0." + e) * 1e3);
|
|
2327
2327
|
}
|
|
2328
2328
|
for (se = "S"; se.length <= 9; se += "S")
|
|
2329
|
-
p(se,
|
|
2330
|
-
|
|
2329
|
+
p(se, Ti);
|
|
2330
|
+
Ps = ge("Milliseconds", !1);
|
|
2331
2331
|
c("z", 0, 0, "zoneAbbr");
|
|
2332
2332
|
c("zz", 0, 0, "zoneName");
|
|
2333
|
-
function
|
|
2333
|
+
function xi() {
|
|
2334
2334
|
return this._isUTC ? "UTC" : "";
|
|
2335
2335
|
}
|
|
2336
|
-
function
|
|
2336
|
+
function Pi() {
|
|
2337
2337
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
2338
2338
|
}
|
|
2339
2339
|
var o = Te.prototype;
|
|
2340
|
-
o.add =
|
|
2341
|
-
o.calendar =
|
|
2342
|
-
o.clone =
|
|
2343
|
-
o.diff =
|
|
2344
|
-
o.endOf =
|
|
2345
|
-
o.format =
|
|
2346
|
-
o.from =
|
|
2347
|
-
o.fromNow =
|
|
2348
|
-
o.to =
|
|
2349
|
-
o.toNow =
|
|
2350
|
-
o.get =
|
|
2351
|
-
o.invalidAt =
|
|
2352
|
-
o.isAfter =
|
|
2353
|
-
o.isBefore =
|
|
2354
|
-
o.isBetween =
|
|
2355
|
-
o.isSame =
|
|
2356
|
-
o.isSameOrAfter =
|
|
2357
|
-
o.isSameOrBefore =
|
|
2358
|
-
o.isValid =
|
|
2359
|
-
o.lang =
|
|
2360
|
-
o.locale =
|
|
2361
|
-
o.localeData =
|
|
2362
|
-
o.max =
|
|
2363
|
-
o.min =
|
|
2364
|
-
o.parsingFlags =
|
|
2365
|
-
o.set =
|
|
2366
|
-
o.startOf =
|
|
2367
|
-
o.subtract =
|
|
2368
|
-
o.toArray =
|
|
2369
|
-
o.toObject =
|
|
2370
|
-
o.toDate =
|
|
2371
|
-
o.toISOString =
|
|
2372
|
-
o.inspect =
|
|
2340
|
+
o.add = vn;
|
|
2341
|
+
o.calendar = xn;
|
|
2342
|
+
o.clone = Pn;
|
|
2343
|
+
o.diff = Fn;
|
|
2344
|
+
o.endOf = Bn;
|
|
2345
|
+
o.format = Hn;
|
|
2346
|
+
o.from = Vn;
|
|
2347
|
+
o.fromNow = Gn;
|
|
2348
|
+
o.to = jn;
|
|
2349
|
+
o.toNow = zn;
|
|
2350
|
+
o.get = Er;
|
|
2351
|
+
o.invalidAt = si;
|
|
2352
|
+
o.isAfter = Nn;
|
|
2353
|
+
o.isBefore = Wn;
|
|
2354
|
+
o.isBetween = Rn;
|
|
2355
|
+
o.isSame = An;
|
|
2356
|
+
o.isSameOrAfter = Cn;
|
|
2357
|
+
o.isSameOrBefore = In;
|
|
2358
|
+
o.isValid = ei;
|
|
2359
|
+
o.lang = Ms;
|
|
2360
|
+
o.locale = vs;
|
|
2361
|
+
o.localeData = Ds;
|
|
2362
|
+
o.max = $a;
|
|
2363
|
+
o.min = Xa;
|
|
2364
|
+
o.parsingFlags = ti;
|
|
2365
|
+
o.set = Ur;
|
|
2366
|
+
o.startOf = Zn;
|
|
2367
|
+
o.subtract = Mn;
|
|
2368
|
+
o.toArray = Kn;
|
|
2369
|
+
o.toObject = Xn;
|
|
2370
|
+
o.toDate = Jn;
|
|
2371
|
+
o.toISOString = En;
|
|
2372
|
+
o.inspect = Un;
|
|
2373
2373
|
typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
2374
2374
|
return "Moment<" + this.format() + ">";
|
|
2375
2375
|
});
|
|
2376
|
-
o.toJSON =
|
|
2377
|
-
o.toString =
|
|
2378
|
-
o.unix =
|
|
2379
|
-
o.valueOf =
|
|
2380
|
-
o.creationData =
|
|
2381
|
-
o.eraName =
|
|
2382
|
-
o.eraNarrow =
|
|
2383
|
-
o.eraAbbr =
|
|
2384
|
-
o.eraYear =
|
|
2385
|
-
o.year =
|
|
2386
|
-
o.isLeapYear =
|
|
2387
|
-
o.weekYear =
|
|
2388
|
-
o.isoWeekYear =
|
|
2389
|
-
o.quarter = o.quarters =
|
|
2390
|
-
o.month =
|
|
2391
|
-
o.daysInMonth =
|
|
2392
|
-
o.week = o.weeks =
|
|
2393
|
-
o.isoWeek = o.isoWeeks =
|
|
2394
|
-
o.weeksInYear =
|
|
2395
|
-
o.weeksInWeekYear =
|
|
2396
|
-
o.isoWeeksInYear =
|
|
2397
|
-
o.isoWeeksInISOWeekYear =
|
|
2398
|
-
o.date =
|
|
2399
|
-
o.day = o.days =
|
|
2400
|
-
o.weekday =
|
|
2401
|
-
o.isoWeekday =
|
|
2402
|
-
o.dayOfYear =
|
|
2403
|
-
o.hour = o.hours =
|
|
2404
|
-
o.minute = o.minutes =
|
|
2405
|
-
o.second = o.seconds =
|
|
2406
|
-
o.millisecond = o.milliseconds =
|
|
2407
|
-
o.utcOffset =
|
|
2408
|
-
o.utc =
|
|
2409
|
-
o.local =
|
|
2410
|
-
o.parseZone =
|
|
2411
|
-
o.hasAlignedHourOffset =
|
|
2412
|
-
o.isDST =
|
|
2413
|
-
o.isLocal =
|
|
2414
|
-
o.isUtcOffset =
|
|
2415
|
-
o.isUtc =
|
|
2416
|
-
o.isUTC =
|
|
2417
|
-
o.zoneAbbr =
|
|
2418
|
-
o.zoneName =
|
|
2376
|
+
o.toJSON = $n;
|
|
2377
|
+
o.toString = Ln;
|
|
2378
|
+
o.unix = Qn;
|
|
2379
|
+
o.valueOf = qn;
|
|
2380
|
+
o.creationData = ri;
|
|
2381
|
+
o.eraName = oi;
|
|
2382
|
+
o.eraNarrow = li;
|
|
2383
|
+
o.eraAbbr = ui;
|
|
2384
|
+
o.eraYear = di;
|
|
2385
|
+
o.year = es;
|
|
2386
|
+
o.isLeapYear = Lr;
|
|
2387
|
+
o.weekYear = gi;
|
|
2388
|
+
o.isoWeekYear = wi;
|
|
2389
|
+
o.quarter = o.quarters = Di;
|
|
2390
|
+
o.month = ns;
|
|
2391
|
+
o.daysInMonth = Qr;
|
|
2392
|
+
o.week = o.weeks = ra;
|
|
2393
|
+
o.isoWeek = o.isoWeeks = aa;
|
|
2394
|
+
o.weeksInYear = Si;
|
|
2395
|
+
o.weeksInWeekYear = vi;
|
|
2396
|
+
o.isoWeeksInYear = pi;
|
|
2397
|
+
o.isoWeeksInISOWeekYear = ki;
|
|
2398
|
+
o.date = xs;
|
|
2399
|
+
o.day = o.days = ga;
|
|
2400
|
+
o.weekday = wa;
|
|
2401
|
+
o.isoWeekday = pa;
|
|
2402
|
+
o.dayOfYear = Yi;
|
|
2403
|
+
o.hour = o.hours = Oa;
|
|
2404
|
+
o.minute = o.minutes = Oi;
|
|
2405
|
+
o.second = o.seconds = bi;
|
|
2406
|
+
o.millisecond = o.milliseconds = Ps;
|
|
2407
|
+
o.utcOffset = un;
|
|
2408
|
+
o.utc = hn;
|
|
2409
|
+
o.local = cn;
|
|
2410
|
+
o.parseZone = fn;
|
|
2411
|
+
o.hasAlignedHourOffset = mn;
|
|
2412
|
+
o.isDST = yn;
|
|
2413
|
+
o.isLocal = gn;
|
|
2414
|
+
o.isUtcOffset = wn;
|
|
2415
|
+
o.isUtc = ws;
|
|
2416
|
+
o.isUTC = ws;
|
|
2417
|
+
o.zoneAbbr = xi;
|
|
2418
|
+
o.zoneName = Pi;
|
|
2419
2419
|
o.dates = R(
|
|
2420
2420
|
"dates accessor is deprecated. Use date instead.",
|
|
2421
|
-
|
|
2421
|
+
xs
|
|
2422
2422
|
);
|
|
2423
2423
|
o.months = R(
|
|
2424
2424
|
"months accessor is deprecated. Use month instead",
|
|
2425
|
-
|
|
2425
|
+
ns
|
|
2426
2426
|
);
|
|
2427
2427
|
o.years = R(
|
|
2428
2428
|
"years accessor is deprecated. Use year instead",
|
|
2429
|
-
|
|
2429
|
+
es
|
|
2430
2430
|
);
|
|
2431
2431
|
o.zone = R(
|
|
2432
2432
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
2433
|
-
|
|
2433
|
+
dn
|
|
2434
2434
|
);
|
|
2435
2435
|
o.isDSTShifted = R(
|
|
2436
2436
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2437
|
-
|
|
2437
|
+
_n
|
|
2438
2438
|
);
|
|
2439
|
-
function
|
|
2439
|
+
function Ni(e) {
|
|
2440
2440
|
return k(e * 1e3);
|
|
2441
2441
|
}
|
|
2442
|
-
function
|
|
2442
|
+
function Wi() {
|
|
2443
2443
|
return k.apply(null, arguments).parseZone();
|
|
2444
2444
|
}
|
|
2445
|
-
function
|
|
2445
|
+
function Ns(e) {
|
|
2446
2446
|
return e;
|
|
2447
2447
|
}
|
|
2448
|
-
var w =
|
|
2449
|
-
w.calendar =
|
|
2450
|
-
w.longDateFormat =
|
|
2451
|
-
w.invalidDate =
|
|
2452
|
-
w.ordinal =
|
|
2453
|
-
w.preparse =
|
|
2454
|
-
w.postformat =
|
|
2455
|
-
w.relativeTime =
|
|
2456
|
-
w.pastFuture =
|
|
2457
|
-
w.set =
|
|
2458
|
-
w.eras =
|
|
2459
|
-
w.erasParse =
|
|
2460
|
-
w.erasConvertYear =
|
|
2461
|
-
w.erasAbbrRegex =
|
|
2462
|
-
w.erasNameRegex =
|
|
2463
|
-
w.erasNarrowRegex =
|
|
2464
|
-
w.months =
|
|
2465
|
-
w.monthsShort =
|
|
2466
|
-
w.monthsParse =
|
|
2467
|
-
w.monthsRegex =
|
|
2468
|
-
w.monthsShortRegex =
|
|
2469
|
-
w.week =
|
|
2470
|
-
w.firstDayOfYear =
|
|
2471
|
-
w.firstDayOfWeek =
|
|
2472
|
-
w.weekdays =
|
|
2473
|
-
w.weekdaysMin =
|
|
2474
|
-
w.weekdaysShort =
|
|
2475
|
-
w.weekdaysParse =
|
|
2476
|
-
w.weekdaysRegex =
|
|
2477
|
-
w.weekdaysShortRegex =
|
|
2478
|
-
w.weekdaysMinRegex =
|
|
2479
|
-
w.isPM =
|
|
2480
|
-
w.meridiem =
|
|
2481
|
-
function
|
|
2448
|
+
var w = yt.prototype;
|
|
2449
|
+
w.calendar = _r;
|
|
2450
|
+
w.longDateFormat = kr;
|
|
2451
|
+
w.invalidDate = vr;
|
|
2452
|
+
w.ordinal = Yr;
|
|
2453
|
+
w.preparse = Ns;
|
|
2454
|
+
w.postformat = Ns;
|
|
2455
|
+
w.relativeTime = br;
|
|
2456
|
+
w.pastFuture = Tr;
|
|
2457
|
+
w.set = mr;
|
|
2458
|
+
w.eras = ai;
|
|
2459
|
+
w.erasParse = ni;
|
|
2460
|
+
w.erasConvertYear = ii;
|
|
2461
|
+
w.erasAbbrRegex = ci;
|
|
2462
|
+
w.erasNameRegex = hi;
|
|
2463
|
+
w.erasNarrowRegex = fi;
|
|
2464
|
+
w.months = zr;
|
|
2465
|
+
w.monthsShort = Zr;
|
|
2466
|
+
w.monthsParse = qr;
|
|
2467
|
+
w.monthsRegex = Kr;
|
|
2468
|
+
w.monthsShortRegex = Jr;
|
|
2469
|
+
w.week = $r;
|
|
2470
|
+
w.firstDayOfYear = sa;
|
|
2471
|
+
w.firstDayOfWeek = ta;
|
|
2472
|
+
w.weekdays = ca;
|
|
2473
|
+
w.weekdaysMin = ma;
|
|
2474
|
+
w.weekdaysShort = fa;
|
|
2475
|
+
w.weekdaysParse = _a;
|
|
2476
|
+
w.weekdaysRegex = ka;
|
|
2477
|
+
w.weekdaysShortRegex = Sa;
|
|
2478
|
+
w.weekdaysMinRegex = va;
|
|
2479
|
+
w.isPM = Da;
|
|
2480
|
+
w.meridiem = ba;
|
|
2481
|
+
function He(e, t, s, r) {
|
|
2482
2482
|
var a = $(), n = j().set(r, t);
|
|
2483
2483
|
return a[s](n, e);
|
|
2484
2484
|
}
|
|
2485
|
-
function
|
|
2485
|
+
function Ws(e, t, s) {
|
|
2486
2486
|
if (X(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
2487
|
-
return
|
|
2487
|
+
return He(e, t, s, "month");
|
|
2488
2488
|
var r, a = [];
|
|
2489
2489
|
for (r = 0; r < 12; r++)
|
|
2490
|
-
a[r] =
|
|
2490
|
+
a[r] = He(e, r, s, "month");
|
|
2491
2491
|
return a;
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function Rt(e, t, s, r) {
|
|
2494
2494
|
typeof e == "boolean" ? (X(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, X(t) && (s = t, t = void 0), t = t || "");
|
|
2495
2495
|
var a = $(), n = e ? a._week.dow : 0, i, l = [];
|
|
2496
2496
|
if (s != null)
|
|
2497
|
-
return
|
|
2497
|
+
return He(t, (s + n) % 7, r, "day");
|
|
2498
2498
|
for (i = 0; i < 7; i++)
|
|
2499
|
-
l[i] =
|
|
2499
|
+
l[i] = He(t, (i + n) % 7, r, "day");
|
|
2500
2500
|
return l;
|
|
2501
2501
|
}
|
|
2502
|
-
function Wi(e, t) {
|
|
2503
|
-
return Ns(e, t, "months");
|
|
2504
|
-
}
|
|
2505
2502
|
function Ri(e, t) {
|
|
2506
|
-
return
|
|
2503
|
+
return Ws(e, t, "months");
|
|
2507
2504
|
}
|
|
2508
|
-
function Ai(e, t
|
|
2509
|
-
return
|
|
2505
|
+
function Ai(e, t) {
|
|
2506
|
+
return Ws(e, t, "monthsShort");
|
|
2510
2507
|
}
|
|
2511
2508
|
function Ci(e, t, s) {
|
|
2512
|
-
return
|
|
2509
|
+
return Rt(e, t, s, "weekdays");
|
|
2513
2510
|
}
|
|
2514
2511
|
function Ii(e, t, s) {
|
|
2515
|
-
return
|
|
2512
|
+
return Rt(e, t, s, "weekdaysShort");
|
|
2513
|
+
}
|
|
2514
|
+
function Fi(e, t, s) {
|
|
2515
|
+
return Rt(e, t, s, "weekdaysMin");
|
|
2516
2516
|
}
|
|
2517
2517
|
re("en", {
|
|
2518
2518
|
eras: [
|
|
@@ -2548,39 +2548,39 @@ u.langData = R(
|
|
|
2548
2548
|
$
|
|
2549
2549
|
);
|
|
2550
2550
|
var Z = Math.abs;
|
|
2551
|
-
function
|
|
2551
|
+
function Li() {
|
|
2552
2552
|
var e = this._data;
|
|
2553
2553
|
return this._milliseconds = Z(this._milliseconds), this._days = Z(this._days), this._months = Z(this._months), e.milliseconds = Z(e.milliseconds), e.seconds = Z(e.seconds), e.minutes = Z(e.minutes), e.hours = Z(e.hours), e.months = Z(e.months), e.years = Z(e.years), this;
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2555
|
+
function Rs(e, t, s, r) {
|
|
2556
2556
|
var a = U(t, s);
|
|
2557
2557
|
return e._milliseconds += r * a._milliseconds, e._days += r * a._days, e._months += r * a._months, e._bubble();
|
|
2558
2558
|
}
|
|
2559
|
-
function Li(e, t) {
|
|
2560
|
-
return Ws(this, e, t, 1);
|
|
2561
|
-
}
|
|
2562
2559
|
function Ei(e, t) {
|
|
2563
|
-
return
|
|
2560
|
+
return Rs(this, e, t, 1);
|
|
2561
|
+
}
|
|
2562
|
+
function Ui(e, t) {
|
|
2563
|
+
return Rs(this, e, t, -1);
|
|
2564
2564
|
}
|
|
2565
|
-
function
|
|
2565
|
+
function Ht(e) {
|
|
2566
2566
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function Hi() {
|
|
2569
2569
|
var e = this._milliseconds, t = this._days, s = this._months, r = this._data, a, n, i, l, h;
|
|
2570
|
-
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e +=
|
|
2570
|
+
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Ht(ht(s) + t) * 864e5, t = 0, s = 0), r.milliseconds = e % 1e3, a = W(e / 1e3), r.seconds = a % 60, n = W(a / 60), r.minutes = n % 60, i = W(n / 60), r.hours = i % 24, t += W(i / 24), h = W(As(t)), s += h, t -= Ht(ht(h)), l = W(s / 12), s %= 12, r.days = t, r.months = s, r.years = l, this;
|
|
2571
2571
|
}
|
|
2572
|
-
function
|
|
2572
|
+
function As(e) {
|
|
2573
2573
|
return e * 4800 / 146097;
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2575
|
+
function ht(e) {
|
|
2576
2576
|
return e * 146097 / 4800;
|
|
2577
2577
|
}
|
|
2578
|
-
function
|
|
2578
|
+
function Vi(e) {
|
|
2579
2579
|
if (!this.isValid())
|
|
2580
2580
|
return NaN;
|
|
2581
2581
|
var t, s, r = this._milliseconds;
|
|
2582
2582
|
if (e = A(e), e === "month" || e === "quarter" || e === "year")
|
|
2583
|
-
switch (t = this._days + r / 864e5, s = this._months +
|
|
2583
|
+
switch (t = this._days + r / 864e5, s = this._months + As(t), e) {
|
|
2584
2584
|
case "month":
|
|
2585
2585
|
return s;
|
|
2586
2586
|
case "quarter":
|
|
@@ -2589,7 +2589,7 @@ function Hi(e) {
|
|
|
2589
2589
|
return s / 12;
|
|
2590
2590
|
}
|
|
2591
2591
|
else
|
|
2592
|
-
switch (t = this._days + Math.round(
|
|
2592
|
+
switch (t = this._days + Math.round(ht(this._months)), e) {
|
|
2593
2593
|
case "week":
|
|
2594
2594
|
return t / 7 + r / 6048e5;
|
|
2595
2595
|
case "day":
|
|
@@ -2612,11 +2612,11 @@ function ee(e) {
|
|
|
2612
2612
|
return this.as(e);
|
|
2613
2613
|
};
|
|
2614
2614
|
}
|
|
2615
|
-
var
|
|
2616
|
-
function
|
|
2615
|
+
var Cs = ee("ms"), Gi = ee("s"), ji = ee("m"), zi = ee("h"), Zi = ee("d"), Bi = ee("w"), qi = ee("M"), Qi = ee("Q"), Ji = ee("y"), Ki = Cs;
|
|
2616
|
+
function Xi() {
|
|
2617
2617
|
return U(this);
|
|
2618
2618
|
}
|
|
2619
|
-
function
|
|
2619
|
+
function $i(e) {
|
|
2620
2620
|
return e = A(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
2621
2621
|
}
|
|
2622
2622
|
function le(e) {
|
|
@@ -2624,8 +2624,8 @@ function le(e) {
|
|
|
2624
2624
|
return this.isValid() ? this._data[e] : NaN;
|
|
2625
2625
|
};
|
|
2626
2626
|
}
|
|
2627
|
-
var
|
|
2628
|
-
function
|
|
2627
|
+
var eo = le("milliseconds"), to = le("seconds"), so = le("minutes"), ro = le("hours"), ao = le("days"), no = le("months"), io = le("years");
|
|
2628
|
+
function oo() {
|
|
2629
2629
|
return W(this.days() / 7);
|
|
2630
2630
|
}
|
|
2631
2631
|
var B = Math.round, he = {
|
|
@@ -2644,77 +2644,77 @@ var B = Math.round, he = {
|
|
|
2644
2644
|
M: 11
|
|
2645
2645
|
// months to year
|
|
2646
2646
|
};
|
|
2647
|
-
function
|
|
2647
|
+
function lo(e, t, s, r, a) {
|
|
2648
2648
|
return a.relativeTime(t || 1, !!s, e, r);
|
|
2649
2649
|
}
|
|
2650
|
-
function
|
|
2650
|
+
function uo(e, t, s, r) {
|
|
2651
2651
|
var a = U(e).abs(), n = B(a.as("s")), i = B(a.as("m")), l = B(a.as("h")), h = B(a.as("d")), f = B(a.as("M")), M = B(a.as("w")), C = B(a.as("y")), I = n <= s.ss && ["s", n] || n < s.s && ["ss", n] || i <= 1 && ["m"] || i < s.m && ["mm", i] || l <= 1 && ["h"] || l < s.h && ["hh", l] || h <= 1 && ["d"] || h < s.d && ["dd", h];
|
|
2652
|
-
return s.w != null && (I = I || M <= 1 && ["w"] || M < s.w && ["ww", M]), I = I || f <= 1 && ["M"] || f < s.M && ["MM", f] || C <= 1 && ["y"] || ["yy", C], I[2] = t, I[3] = +e > 0, I[4] = r,
|
|
2652
|
+
return s.w != null && (I = I || M <= 1 && ["w"] || M < s.w && ["ww", M]), I = I || f <= 1 && ["M"] || f < s.M && ["MM", f] || C <= 1 && ["y"] || ["yy", C], I[2] = t, I[3] = +e > 0, I[4] = r, lo.apply(null, I);
|
|
2653
2653
|
}
|
|
2654
|
-
function
|
|
2654
|
+
function ho(e) {
|
|
2655
2655
|
return e === void 0 ? B : typeof e == "function" ? (B = e, !0) : !1;
|
|
2656
2656
|
}
|
|
2657
|
-
function
|
|
2657
|
+
function co(e, t) {
|
|
2658
2658
|
return he[e] === void 0 ? !1 : t === void 0 ? he[e] : (he[e] = t, e === "s" && (he.ss = t - 1), !0);
|
|
2659
2659
|
}
|
|
2660
|
-
function
|
|
2660
|
+
function fo(e, t) {
|
|
2661
2661
|
if (!this.isValid())
|
|
2662
2662
|
return this.localeData().invalidDate();
|
|
2663
2663
|
var s = !1, r = he, a, n;
|
|
2664
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, he, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), a = this.localeData(), n =
|
|
2664
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (s = e), typeof t == "object" && (r = Object.assign({}, he, t), t.s != null && t.ss == null && (r.ss = t.s - 1)), a = this.localeData(), n = uo(this, !s, r, a), s && (n = a.pastFuture(+this, n)), a.postformat(n);
|
|
2665
2665
|
}
|
|
2666
|
-
var
|
|
2666
|
+
var at = Math.abs;
|
|
2667
2667
|
function ue(e) {
|
|
2668
2668
|
return (e > 0) - (e < 0) || +e;
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2670
|
+
function et() {
|
|
2671
2671
|
if (!this.isValid())
|
|
2672
2672
|
return this.localeData().invalidDate();
|
|
2673
|
-
var e =
|
|
2673
|
+
var e = at(this._milliseconds) / 1e3, t = at(this._days), s = at(this._months), r, a, n, i, l = this.asSeconds(), h, f, M, C;
|
|
2674
2674
|
return l ? (r = W(e / 60), a = W(r / 60), e %= 60, r %= 60, n = W(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = l < 0 ? "-" : "", f = ue(this._months) !== ue(l) ? "-" : "", M = ue(this._days) !== ue(l) ? "-" : "", C = ue(this._milliseconds) !== ue(l) ? "-" : "", h + "P" + (n ? f + n + "Y" : "") + (s ? f + s + "M" : "") + (t ? M + t + "D" : "") + (a || r || e ? "T" : "") + (a ? C + a + "H" : "") + (r ? C + r + "M" : "") + (e ? C + i + "S" : "")) : "P0D";
|
|
2675
2675
|
}
|
|
2676
|
-
var _ =
|
|
2677
|
-
_.isValid =
|
|
2678
|
-
_.abs =
|
|
2679
|
-
_.add =
|
|
2680
|
-
_.subtract =
|
|
2681
|
-
_.as =
|
|
2682
|
-
_.asMilliseconds =
|
|
2683
|
-
_.asSeconds =
|
|
2684
|
-
_.asMinutes =
|
|
2685
|
-
_.asHours =
|
|
2686
|
-
_.asDays =
|
|
2687
|
-
_.asWeeks =
|
|
2688
|
-
_.asMonths =
|
|
2689
|
-
_.asQuarters =
|
|
2690
|
-
_.asYears =
|
|
2691
|
-
_.valueOf =
|
|
2692
|
-
_._bubble =
|
|
2693
|
-
_.clone =
|
|
2694
|
-
_.get =
|
|
2695
|
-
_.milliseconds =
|
|
2696
|
-
_.seconds =
|
|
2697
|
-
_.minutes =
|
|
2698
|
-
_.hours =
|
|
2699
|
-
_.days =
|
|
2700
|
-
_.weeks =
|
|
2701
|
-
_.months =
|
|
2702
|
-
_.years =
|
|
2703
|
-
_.humanize =
|
|
2704
|
-
_.toISOString =
|
|
2705
|
-
_.toString =
|
|
2706
|
-
_.toJSON =
|
|
2707
|
-
_.locale =
|
|
2708
|
-
_.localeData =
|
|
2676
|
+
var _ = Xe.prototype;
|
|
2677
|
+
_.isValid = an;
|
|
2678
|
+
_.abs = Li;
|
|
2679
|
+
_.add = Ei;
|
|
2680
|
+
_.subtract = Ui;
|
|
2681
|
+
_.as = Vi;
|
|
2682
|
+
_.asMilliseconds = Cs;
|
|
2683
|
+
_.asSeconds = Gi;
|
|
2684
|
+
_.asMinutes = ji;
|
|
2685
|
+
_.asHours = zi;
|
|
2686
|
+
_.asDays = Zi;
|
|
2687
|
+
_.asWeeks = Bi;
|
|
2688
|
+
_.asMonths = qi;
|
|
2689
|
+
_.asQuarters = Qi;
|
|
2690
|
+
_.asYears = Ji;
|
|
2691
|
+
_.valueOf = Ki;
|
|
2692
|
+
_._bubble = Hi;
|
|
2693
|
+
_.clone = Xi;
|
|
2694
|
+
_.get = $i;
|
|
2695
|
+
_.milliseconds = eo;
|
|
2696
|
+
_.seconds = to;
|
|
2697
|
+
_.minutes = so;
|
|
2698
|
+
_.hours = ro;
|
|
2699
|
+
_.days = ao;
|
|
2700
|
+
_.weeks = oo;
|
|
2701
|
+
_.months = no;
|
|
2702
|
+
_.years = io;
|
|
2703
|
+
_.humanize = fo;
|
|
2704
|
+
_.toISOString = et;
|
|
2705
|
+
_.toString = et;
|
|
2706
|
+
_.toJSON = et;
|
|
2707
|
+
_.locale = vs;
|
|
2708
|
+
_.localeData = Ds;
|
|
2709
2709
|
_.toIsoString = R(
|
|
2710
2710
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
2711
|
-
|
|
2711
|
+
et
|
|
2712
2712
|
);
|
|
2713
|
-
_.lang =
|
|
2713
|
+
_.lang = Ms;
|
|
2714
2714
|
c("X", 0, 0, "unix");
|
|
2715
2715
|
c("x", 0, 0, "valueOf");
|
|
2716
|
-
d("x",
|
|
2717
|
-
d("X",
|
|
2716
|
+
d("x", qe);
|
|
2717
|
+
d("X", Wr);
|
|
2718
2718
|
p("X", function(e, t, s) {
|
|
2719
2719
|
s._d = new Date(parseFloat(e) * 1e3);
|
|
2720
2720
|
});
|
|
@@ -2723,33 +2723,33 @@ p("x", function(e, t, s) {
|
|
|
2723
2723
|
});
|
|
2724
2724
|
//! moment.js
|
|
2725
2725
|
u.version = "2.30.1";
|
|
2726
|
-
|
|
2726
|
+
cr(k);
|
|
2727
2727
|
u.fn = o;
|
|
2728
|
-
u.min =
|
|
2729
|
-
u.max =
|
|
2730
|
-
u.now =
|
|
2728
|
+
u.min = en;
|
|
2729
|
+
u.max = tn;
|
|
2730
|
+
u.now = sn;
|
|
2731
2731
|
u.utc = j;
|
|
2732
|
-
u.unix =
|
|
2733
|
-
u.months =
|
|
2732
|
+
u.unix = Ni;
|
|
2733
|
+
u.months = Ri;
|
|
2734
2734
|
u.isDate = be;
|
|
2735
2735
|
u.locale = re;
|
|
2736
|
-
u.invalid =
|
|
2736
|
+
u.invalid = je;
|
|
2737
2737
|
u.duration = U;
|
|
2738
2738
|
u.isMoment = E;
|
|
2739
|
-
u.weekdays =
|
|
2740
|
-
u.parseZone =
|
|
2739
|
+
u.weekdays = Ci;
|
|
2740
|
+
u.parseZone = Wi;
|
|
2741
2741
|
u.localeData = $;
|
|
2742
|
-
u.isDuration =
|
|
2743
|
-
u.monthsShort =
|
|
2744
|
-
u.weekdaysMin =
|
|
2745
|
-
u.defineLocale =
|
|
2746
|
-
u.updateLocale =
|
|
2747
|
-
u.locales =
|
|
2748
|
-
u.weekdaysShort =
|
|
2742
|
+
u.isDuration = Ce;
|
|
2743
|
+
u.monthsShort = Ai;
|
|
2744
|
+
u.weekdaysMin = Fi;
|
|
2745
|
+
u.defineLocale = Yt;
|
|
2746
|
+
u.updateLocale = Na;
|
|
2747
|
+
u.locales = Wa;
|
|
2748
|
+
u.weekdaysShort = Ii;
|
|
2749
2749
|
u.normalizeUnits = A;
|
|
2750
|
-
u.relativeTimeRounding =
|
|
2751
|
-
u.relativeTimeThreshold =
|
|
2752
|
-
u.calendarFormat =
|
|
2750
|
+
u.relativeTimeRounding = ho;
|
|
2751
|
+
u.relativeTimeThreshold = co;
|
|
2752
|
+
u.calendarFormat = Tn;
|
|
2753
2753
|
u.prototype = o;
|
|
2754
2754
|
u.HTML5_FMT = {
|
|
2755
2755
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
@@ -2771,16 +2771,16 @@ u.HTML5_FMT = {
|
|
|
2771
2771
|
MONTH: "YYYY-MM"
|
|
2772
2772
|
// <input type="month" />
|
|
2773
2773
|
};
|
|
2774
|
-
const
|
|
2774
|
+
const mo = { class: "d-flex align-items-center justify-content-center bg-white shadow-sm py-3" }, Ro = /* @__PURE__ */ Ve({
|
|
2775
2775
|
__name: "Footer",
|
|
2776
2776
|
props: {
|
|
2777
2777
|
copyrightText: { type: String, required: !0 }
|
|
2778
2778
|
},
|
|
2779
2779
|
setup(e) {
|
|
2780
2780
|
const t = e;
|
|
2781
|
-
return (s, r) => (T(), P("footer",
|
|
2781
|
+
return (s, r) => (T(), P("footer", mo, V(t.copyrightText) + " " + V(zs(u)().year()), 1));
|
|
2782
2782
|
}
|
|
2783
|
-
}),
|
|
2783
|
+
}), yo = {
|
|
2784
2784
|
__name: "Spinner",
|
|
2785
2785
|
props: {
|
|
2786
2786
|
isSmall: {
|
|
@@ -2794,17 +2794,17 @@ const fo = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2794
2794
|
role: "status"
|
|
2795
2795
|
}, null, 2));
|
|
2796
2796
|
}
|
|
2797
|
-
},
|
|
2797
|
+
}, _o = {
|
|
2798
2798
|
class: "container",
|
|
2799
2799
|
"data-test": "SsoLoginPending"
|
|
2800
|
-
},
|
|
2800
|
+
}, go = { class: "row justify-content-center" }, wo = { class: "col-md-8" }, po = { class: "card" }, ko = { class: "card-header" }, So = { class: "card-body" }, vo = {
|
|
2801
2801
|
class: "login-spinner text-center",
|
|
2802
2802
|
role: "status",
|
|
2803
2803
|
"aria-live": "polite"
|
|
2804
|
-
},
|
|
2804
|
+
}, Mo = {
|
|
2805
2805
|
class: "visually-hidden",
|
|
2806
2806
|
"data-test": "SsoLoginPending-status"
|
|
2807
|
-
},
|
|
2807
|
+
}, Do = /* @__PURE__ */ Ve({
|
|
2808
2808
|
__name: "SsoLoginPending",
|
|
2809
2809
|
props: {
|
|
2810
2810
|
title: {},
|
|
@@ -2816,15 +2816,15 @@ const fo = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2816
2816
|
throw new Error("SsoLoginPending: title обязателен");
|
|
2817
2817
|
if (!t.statusText.trim())
|
|
2818
2818
|
throw new Error("SsoLoginPending: statusText обязателен");
|
|
2819
|
-
return (s, r) => (T(), P("div",
|
|
2820
|
-
Y("div",
|
|
2821
|
-
Y("div",
|
|
2822
|
-
Y("div",
|
|
2823
|
-
Y("div",
|
|
2824
|
-
Y("div",
|
|
2825
|
-
Y("div",
|
|
2826
|
-
|
|
2827
|
-
Y("span",
|
|
2819
|
+
return (s, r) => (T(), P("div", _o, [
|
|
2820
|
+
Y("div", go, [
|
|
2821
|
+
Y("div", wo, [
|
|
2822
|
+
Y("div", po, [
|
|
2823
|
+
Y("div", ko, V(s.title), 1),
|
|
2824
|
+
Y("div", So, [
|
|
2825
|
+
Y("div", vo, [
|
|
2826
|
+
jt(yo),
|
|
2827
|
+
Y("span", Mo, V(s.statusText), 1)
|
|
2828
2828
|
])
|
|
2829
2829
|
])
|
|
2830
2830
|
])
|
|
@@ -2832,8 +2832,8 @@ const fo = { class: "d-flex align-items-center justify-content-center bg-white s
|
|
|
2832
2832
|
])
|
|
2833
2833
|
]));
|
|
2834
2834
|
}
|
|
2835
|
-
}),
|
|
2836
|
-
function
|
|
2835
|
+
}), Ao = /* @__PURE__ */ Ge(Do, [["__scopeId", "data-v-6eb41b83"]]), Vt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";
|
|
2836
|
+
function Is() {
|
|
2837
2837
|
const e = globalThis.crypto;
|
|
2838
2838
|
if (!e)
|
|
2839
2839
|
throw new Error("Web Crypto API is not available.");
|
|
@@ -2843,41 +2843,42 @@ function Cs() {
|
|
|
2843
2843
|
throw new Error("Web Crypto subtle digest is not available.");
|
|
2844
2844
|
return e;
|
|
2845
2845
|
}
|
|
2846
|
-
function
|
|
2847
|
-
const t =
|
|
2846
|
+
function Fs(e) {
|
|
2847
|
+
const t = Is(), s = new Uint8Array(e);
|
|
2848
2848
|
t.getRandomValues(s);
|
|
2849
2849
|
let r = "";
|
|
2850
2850
|
return s.forEach((a) => {
|
|
2851
|
-
r +=
|
|
2851
|
+
r += Vt[a % Vt.length];
|
|
2852
2852
|
}), r;
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2854
|
+
function Yo(e) {
|
|
2855
2855
|
const t = new Uint8Array(e);
|
|
2856
2856
|
let s = "";
|
|
2857
2857
|
return t.forEach((r) => {
|
|
2858
2858
|
s += String.fromCharCode(r);
|
|
2859
2859
|
}), btoa(s).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
|
2860
2860
|
}
|
|
2861
|
-
function
|
|
2861
|
+
function Oo(e = 64) {
|
|
2862
2862
|
if (!Number.isInteger(e) || e < 43 || e > 128)
|
|
2863
2863
|
throw new Error("PKCE code_verifier length must be between 43 and 128.");
|
|
2864
|
-
return
|
|
2864
|
+
return Fs(e);
|
|
2865
2865
|
}
|
|
2866
|
-
async function
|
|
2867
|
-
const t =
|
|
2868
|
-
return
|
|
2866
|
+
async function bo(e) {
|
|
2867
|
+
const t = Is(), r = new TextEncoder().encode(e), a = await t.subtle.digest("SHA-256", r);
|
|
2868
|
+
return Yo(a);
|
|
2869
2869
|
}
|
|
2870
|
-
async function
|
|
2871
|
-
const t =
|
|
2870
|
+
async function To(e = 64) {
|
|
2871
|
+
const t = Oo(e), s = await bo(t);
|
|
2872
2872
|
return { codeVerifier: t, codeChallenge: s };
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function xo(e = 32) {
|
|
2875
2875
|
if (!Number.isInteger(e) || e < 16 || e > 128)
|
|
2876
2876
|
throw new Error("OAuth state length must be between 16 and 128.");
|
|
2877
|
-
return
|
|
2877
|
+
return Fs(e);
|
|
2878
2878
|
}
|
|
2879
|
-
const
|
|
2880
|
-
|
|
2879
|
+
const Po = "Web Crypto API недоступен. Используйте HTTPS или обновите браузер.";
|
|
2880
|
+
let Re = !1;
|
|
2881
|
+
async function Co(e) {
|
|
2881
2882
|
if (!e || typeof e.setLoading != "function")
|
|
2882
2883
|
throw new Error("signInWithSSO: deps.setLoading обязателен");
|
|
2883
2884
|
if (typeof e.getPublicConfig != "function")
|
|
@@ -2886,8 +2887,10 @@ async function Ao(e) {
|
|
|
2886
2887
|
throw new Error("signInWithSSO: deps.useCookie обязателен");
|
|
2887
2888
|
if (typeof e.showError != "function")
|
|
2888
2889
|
throw new Error("signInWithSSO: deps.showError обязателен");
|
|
2889
|
-
|
|
2890
|
-
|
|
2890
|
+
if (typeof window > "u" || Re)
|
|
2891
|
+
return;
|
|
2892
|
+
Re = !0, e.setLoading(!0);
|
|
2893
|
+
const t = e.generatePkcePair ?? To, s = e.generateState ?? xo, r = e.redirectTo ?? ((n) => {
|
|
2891
2894
|
window.location.href = n;
|
|
2892
2895
|
}), a = e.isSecure ?? (() => window.location.protocol === "https:");
|
|
2893
2896
|
try {
|
|
@@ -2898,9 +2901,9 @@ async function Ao(e) {
|
|
|
2898
2901
|
try {
|
|
2899
2902
|
({ codeVerifier: h, codeChallenge: f } = await t()), M = s();
|
|
2900
2903
|
} catch {
|
|
2901
|
-
e.setLoading(!1), e.showError({
|
|
2904
|
+
Re = !1, e.setLoading(!1), e.showError({
|
|
2902
2905
|
statusCode: 500,
|
|
2903
|
-
statusMessage:
|
|
2906
|
+
statusMessage: Po
|
|
2904
2907
|
});
|
|
2905
2908
|
return;
|
|
2906
2909
|
}
|
|
@@ -2911,24 +2914,24 @@ async function Ao(e) {
|
|
|
2911
2914
|
path: "/"
|
|
2912
2915
|
};
|
|
2913
2916
|
e.useCookie("pkce_verifier", I).value = h, e.useCookie("pkce_state", I).value = M;
|
|
2914
|
-
const
|
|
2917
|
+
const Ls = `${l}/api/auth/callback`, Es = `${n}/oauth/authorize?` + new URLSearchParams({
|
|
2915
2918
|
client_id: i,
|
|
2916
|
-
redirect_uri:
|
|
2919
|
+
redirect_uri: Ls,
|
|
2917
2920
|
response_type: "code",
|
|
2918
2921
|
scope: "*",
|
|
2919
2922
|
code_challenge: f,
|
|
2920
2923
|
code_challenge_method: "S256",
|
|
2921
2924
|
state: M
|
|
2922
2925
|
});
|
|
2923
|
-
r(
|
|
2926
|
+
r(Es);
|
|
2924
2927
|
} catch {
|
|
2925
|
-
e.setLoading(!1);
|
|
2928
|
+
Re = !1, e.setLoading(!1);
|
|
2926
2929
|
}
|
|
2927
2930
|
}
|
|
2928
2931
|
export {
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2932
|
+
Ro as Footer,
|
|
2933
|
+
Wo as Header,
|
|
2934
|
+
sr as Logo,
|
|
2935
|
+
Ao as SsoLoginPending,
|
|
2936
|
+
Co as signInWithSSO
|
|
2934
2937
|
};
|