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