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