wcz-test 6.24.14 → 6.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApprovalStatus-lESbUD_x.js +1 -0
- package/dist/ApprovalStatus-lESbUD_x.js.map +1 -0
- package/dist/DialogsContext-8xfQ3X-k.js +285 -0
- package/dist/DialogsContext-8xfQ3X-k.js.map +1 -0
- package/dist/DialogsHooks-Dz4ExWPV.js +232 -0
- package/dist/DialogsHooks-Dz4ExWPV.js.map +1 -0
- package/dist/{FileHooks-kGkVKOf9.js → FileHooks-T3wXKu_b.js} +5 -4
- package/dist/FileHooks-T3wXKu_b.js.map +1 -0
- package/dist/FileMeta-Bzeo3ie9.js +1 -0
- package/dist/FileMeta-Bzeo3ie9.js.map +1 -0
- package/dist/RouterListItemButton-Dmqima3h.js +661 -0
- package/dist/RouterListItemButton-Dmqima3h.js.map +1 -0
- package/dist/_commonjsHelpers-ByX85dGu.js +34 -0
- package/dist/_commonjsHelpers-ByX85dGu.js.map +1 -0
- package/dist/components.js +2667 -518
- package/dist/components.js.map +1 -0
- package/dist/env-BD4Wc07c.js +76 -0
- package/dist/env-BD4Wc07c.js.map +1 -0
- package/dist/hooks.js +909 -354
- package/dist/hooks.js.map +1 -0
- package/dist/i18next-Bx3TmZAT.js +1337 -0
- package/dist/i18next-Bx3TmZAT.js.map +1 -0
- package/dist/index-Biz5inV2.js +268 -0
- package/dist/index-Biz5inV2.js.map +1 -0
- package/dist/index.js +1076 -1405
- package/dist/index.js.map +1 -0
- package/dist/models.js +1 -0
- package/dist/models.js.map +1 -0
- package/dist/queries.js +4 -3
- package/dist/queries.js.map +1 -0
- package/dist/queryClient--EvGPhnh.js +1 -0
- package/dist/queryClient--EvGPhnh.js.map +1 -0
- package/dist/server.js +56 -27
- package/dist/server.js.map +1 -0
- package/dist/session-BCQDwl6n.js +8581 -0
- package/dist/session-BCQDwl6n.js.map +1 -0
- package/dist/utils-A7xW24zq.js +1850 -0
- package/dist/utils-A7xW24zq.js.map +1 -0
- package/dist/utils.js +8 -7
- package/dist/utils.js.map +1 -0
- package/dist/vite.js +1 -0
- package/dist/vite.js.map +1 -0
- package/package.json +23 -26
- package/dist/DialogsContext-2Yy6yhzQ.js +0 -5
- package/dist/DialogsHooks-DWkC9zAf.js +0 -113
- package/dist/RouterListItemButton-C_SG0uka.js +0 -17
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/env-4ZoUrNqp.js +0 -27
- package/dist/session-7yb0BETM.js +0 -75
- package/dist/utils-CZraUjBd.js +0 -81
package/dist/index.js
CHANGED
|
@@ -1,768 +1,124 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Stack as
|
|
4
|
-
import { createServerFn as
|
|
5
|
-
import { getCookie as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import {
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
import { W as Yo, a as zo, r as No } from "./utils-CZraUjBd.js";
|
|
56
|
-
function We() {
|
|
57
|
-
return We = Object.assign ? Object.assign.bind() : function(t) {
|
|
1
|
+
import { jsx as a, jsxs as D, Fragment as Mt } from "react/jsx-runtime";
|
|
2
|
+
import { c as R } from "react/compiler-runtime";
|
|
3
|
+
import { Stack as Ot, Typography as Ct, Chip as _t, Collapse as It, useMediaQuery as Et, useColorScheme as At, ListItemButton as ce, ListItemText as ae, ListItemIcon as de, ListItem as Pt, Avatar as $t, ListSubheader as qe, List as $e, IconButton as ze, Box as Ne, Menu as zt, InitColorSchemeScript as Nt, CssBaseline as jt, AppBar as Ut, Toolbar as Ft, LinearProgress as Yt, ThemeProvider as Bt } from "@mui/material";
|
|
4
|
+
import { createServerFn as Ye, createIsomorphicFn as Wt } from "@tanstack/react-start";
|
|
5
|
+
import { getCookie as yt } from "@tanstack/react-start/server";
|
|
6
|
+
import C from "dayjs";
|
|
7
|
+
import { i as W } from "./i18next-Bx3TmZAT.js";
|
|
8
|
+
import * as Y from "react";
|
|
9
|
+
import { useState as q, useId as Rt, useRef as ot, Fragment as Be, useEffect as xt, Suspense as Ht, useEffectEvent as qt } from "react";
|
|
10
|
+
import { resources as it } from "virtual:wcz-layout";
|
|
11
|
+
import le from "zod";
|
|
12
|
+
import { s as Vt, a as Gt, D as Kt, u as Qt } from "./DialogsContext-8xfQ3X-k.js";
|
|
13
|
+
import Xt from "@mui/icons-material/Menu";
|
|
14
|
+
import Zt from "@mui/icons-material/MenuOpen";
|
|
15
|
+
import { useThemeProps as Jt, styled as Ze, useTheme as en } from "@mui/material/styles";
|
|
16
|
+
import { useIsFetching as tn, useIsMutating as nn } from "@tanstack/react-query";
|
|
17
|
+
import { a as on } from "./env-BD4Wc07c.js";
|
|
18
|
+
import St from "@mui/material/Box";
|
|
19
|
+
import rt from "@mui/material/Drawer";
|
|
20
|
+
import { useNavigate as rn, useRouterState as sn, Await as st } from "@tanstack/react-router";
|
|
21
|
+
import an from "@mui/material/Divider";
|
|
22
|
+
import ln from "@mui/material/List";
|
|
23
|
+
import cn from "@mui/material/ListSubheader";
|
|
24
|
+
import dn from "@mui/icons-material/ExpandMore";
|
|
25
|
+
import un from "@mui/material/Avatar";
|
|
26
|
+
import fn from "@mui/material/ListItem";
|
|
27
|
+
import mn from "@mui/material/ListItemButton";
|
|
28
|
+
import hn from "@mui/material/ListItemIcon";
|
|
29
|
+
import pn from "@mui/material/ListItemText";
|
|
30
|
+
import gn from "@mui/material/Paper";
|
|
31
|
+
import yn from "@mui/material/Popper";
|
|
32
|
+
import xn from "@mui/material/Typography";
|
|
33
|
+
import { P as b, R as Sn } from "./RouterListItemButton-Dmqima3h.js";
|
|
34
|
+
import Tn from "@mui/icons-material/AccountCircle";
|
|
35
|
+
import at from "@mui/icons-material/ArrowBack";
|
|
36
|
+
import bn from "@mui/icons-material/Brightness4";
|
|
37
|
+
import lt from "@mui/icons-material/ChevronRight";
|
|
38
|
+
import wn from "@mui/icons-material/DarkMode";
|
|
39
|
+
import kn from "@mui/icons-material/Done";
|
|
40
|
+
import vn from "@mui/icons-material/LightMode";
|
|
41
|
+
import Ln from "@mui/icons-material/Logout";
|
|
42
|
+
import Dn from "@mui/icons-material/SettingsBrightness";
|
|
43
|
+
import Mn from "@mui/icons-material/Translate";
|
|
44
|
+
import { a as Je } from "./utils-A7xW24zq.js";
|
|
45
|
+
import { W as Ci, b as _i, r as Ii } from "./utils-A7xW24zq.js";
|
|
46
|
+
import { q as et } from "./queryClient--EvGPhnh.js";
|
|
47
|
+
import { r as On, c as tt } from "./session-BCQDwl6n.js";
|
|
48
|
+
import Cn from "dayjs/plugin/weekOfYear.js";
|
|
49
|
+
import _n from "dayjs/plugin/customParseFormat.js";
|
|
50
|
+
import In from "dayjs/plugin/localizedFormat.js";
|
|
51
|
+
import En from "dayjs/plugin/isBetween.js";
|
|
52
|
+
import An from "dayjs/plugin/advancedFormat.js";
|
|
53
|
+
function Ue() {
|
|
54
|
+
return Ue = Object.assign ? Object.assign.bind() : function(t) {
|
|
58
55
|
for (var e = 1; e < arguments.length; e++) {
|
|
59
|
-
var
|
|
60
|
-
for (var o in
|
|
56
|
+
var n = arguments[e];
|
|
57
|
+
for (var o in n) ({}).hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
61
58
|
}
|
|
62
59
|
return t;
|
|
63
|
-
},
|
|
60
|
+
}, Ue.apply(null, arguments);
|
|
64
61
|
}
|
|
65
|
-
function
|
|
62
|
+
function Pn(t, e) {
|
|
66
63
|
if (t == null) return {};
|
|
67
|
-
var
|
|
64
|
+
var n = {};
|
|
68
65
|
for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
|
|
69
66
|
if (e.indexOf(o) !== -1) continue;
|
|
70
|
-
|
|
67
|
+
n[o] = t[o];
|
|
71
68
|
}
|
|
72
|
-
return
|
|
69
|
+
return n;
|
|
73
70
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
function
|
|
77
|
-
if (vt) return $;
|
|
78
|
-
vt = 1;
|
|
79
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, o = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, n = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, v = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, g = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, T = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, E = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, P = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, A = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
80
|
-
function x(c) {
|
|
81
|
-
if (typeof c == "object" && c !== null) {
|
|
82
|
-
var j = c.$$typeof;
|
|
83
|
-
switch (j) {
|
|
84
|
-
case e:
|
|
85
|
-
switch (c = c.type, c) {
|
|
86
|
-
case f:
|
|
87
|
-
case d:
|
|
88
|
-
case o:
|
|
89
|
-
case a:
|
|
90
|
-
case s:
|
|
91
|
-
case h:
|
|
92
|
-
return c;
|
|
93
|
-
default:
|
|
94
|
-
switch (c = c && c.$$typeof, c) {
|
|
95
|
-
case l:
|
|
96
|
-
case u:
|
|
97
|
-
case b:
|
|
98
|
-
case g:
|
|
99
|
-
case n:
|
|
100
|
-
return c;
|
|
101
|
-
default:
|
|
102
|
-
return j;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
case r:
|
|
106
|
-
return j;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
function _(c) {
|
|
111
|
-
return x(c) === d;
|
|
112
|
-
}
|
|
113
|
-
return $.AsyncMode = f, $.ConcurrentMode = d, $.ContextConsumer = l, $.ContextProvider = n, $.Element = e, $.ForwardRef = u, $.Fragment = o, $.Lazy = b, $.Memo = g, $.Portal = r, $.Profiler = a, $.StrictMode = s, $.Suspense = h, $.isAsyncMode = function(c) {
|
|
114
|
-
return _(c) || x(c) === f;
|
|
115
|
-
}, $.isConcurrentMode = _, $.isContextConsumer = function(c) {
|
|
116
|
-
return x(c) === l;
|
|
117
|
-
}, $.isContextProvider = function(c) {
|
|
118
|
-
return x(c) === n;
|
|
119
|
-
}, $.isElement = function(c) {
|
|
120
|
-
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
121
|
-
}, $.isForwardRef = function(c) {
|
|
122
|
-
return x(c) === u;
|
|
123
|
-
}, $.isFragment = function(c) {
|
|
124
|
-
return x(c) === o;
|
|
125
|
-
}, $.isLazy = function(c) {
|
|
126
|
-
return x(c) === b;
|
|
127
|
-
}, $.isMemo = function(c) {
|
|
128
|
-
return x(c) === g;
|
|
129
|
-
}, $.isPortal = function(c) {
|
|
130
|
-
return x(c) === r;
|
|
131
|
-
}, $.isProfiler = function(c) {
|
|
132
|
-
return x(c) === a;
|
|
133
|
-
}, $.isStrictMode = function(c) {
|
|
134
|
-
return x(c) === s;
|
|
135
|
-
}, $.isSuspense = function(c) {
|
|
136
|
-
return x(c) === h;
|
|
137
|
-
}, $.isValidElementType = function(c) {
|
|
138
|
-
return typeof c == "string" || typeof c == "function" || c === o || c === d || c === a || c === s || c === h || c === v || typeof c == "object" && c !== null && (c.$$typeof === b || c.$$typeof === g || c.$$typeof === n || c.$$typeof === l || c.$$typeof === u || c.$$typeof === E || c.$$typeof === P || c.$$typeof === A || c.$$typeof === T);
|
|
139
|
-
}, $.typeOf = x, $;
|
|
140
|
-
}
|
|
141
|
-
var Y = {};
|
|
142
|
-
var Tt;
|
|
143
|
-
function Kr() {
|
|
144
|
-
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
145
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, o = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, n = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = t ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = t ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = t ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = t ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, h = t ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, v = t ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, g = t ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = t ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, T = t ? /* @__PURE__ */ Symbol.for("react.block") : 60121, E = t ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, P = t ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, A = t ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
146
|
-
function x(m) {
|
|
147
|
-
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
148
|
-
m === o || m === d || m === a || m === s || m === h || m === v || typeof m == "object" && m !== null && (m.$$typeof === b || m.$$typeof === g || m.$$typeof === n || m.$$typeof === l || m.$$typeof === u || m.$$typeof === E || m.$$typeof === P || m.$$typeof === A || m.$$typeof === T);
|
|
149
|
-
}
|
|
150
|
-
function _(m) {
|
|
151
|
-
if (typeof m == "object" && m !== null) {
|
|
152
|
-
var Q = m.$$typeof;
|
|
153
|
-
switch (Q) {
|
|
154
|
-
case e:
|
|
155
|
-
var oe = m.type;
|
|
156
|
-
switch (oe) {
|
|
157
|
-
case f:
|
|
158
|
-
case d:
|
|
159
|
-
case o:
|
|
160
|
-
case a:
|
|
161
|
-
case s:
|
|
162
|
-
case h:
|
|
163
|
-
return oe;
|
|
164
|
-
default:
|
|
165
|
-
var se = oe && oe.$$typeof;
|
|
166
|
-
switch (se) {
|
|
167
|
-
case l:
|
|
168
|
-
case u:
|
|
169
|
-
case b:
|
|
170
|
-
case g:
|
|
171
|
-
case n:
|
|
172
|
-
return se;
|
|
173
|
-
default:
|
|
174
|
-
return Q;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
case r:
|
|
178
|
-
return Q;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
var c = f, j = d, J = l, B = n, N = e, W = u, K = o, ee = b, Z = g, U = r, F = a, R = s, H = h, te = !1;
|
|
183
|
-
function V(m) {
|
|
184
|
-
return te || (te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), i(m) || _(m) === f;
|
|
185
|
-
}
|
|
186
|
-
function i(m) {
|
|
187
|
-
return _(m) === d;
|
|
188
|
-
}
|
|
189
|
-
function y(m) {
|
|
190
|
-
return _(m) === l;
|
|
191
|
-
}
|
|
192
|
-
function w(m) {
|
|
193
|
-
return _(m) === n;
|
|
194
|
-
}
|
|
195
|
-
function O(m) {
|
|
196
|
-
return typeof m == "object" && m !== null && m.$$typeof === e;
|
|
197
|
-
}
|
|
198
|
-
function S(m) {
|
|
199
|
-
return _(m) === u;
|
|
200
|
-
}
|
|
201
|
-
function k(m) {
|
|
202
|
-
return _(m) === o;
|
|
203
|
-
}
|
|
204
|
-
function C(m) {
|
|
205
|
-
return _(m) === b;
|
|
206
|
-
}
|
|
207
|
-
function M(m) {
|
|
208
|
-
return _(m) === g;
|
|
209
|
-
}
|
|
210
|
-
function I(m) {
|
|
211
|
-
return _(m) === r;
|
|
212
|
-
}
|
|
213
|
-
function L(m) {
|
|
214
|
-
return _(m) === a;
|
|
215
|
-
}
|
|
216
|
-
function D(m) {
|
|
217
|
-
return _(m) === s;
|
|
218
|
-
}
|
|
219
|
-
function X(m) {
|
|
220
|
-
return _(m) === h;
|
|
221
|
-
}
|
|
222
|
-
Y.AsyncMode = c, Y.ConcurrentMode = j, Y.ContextConsumer = J, Y.ContextProvider = B, Y.Element = N, Y.ForwardRef = W, Y.Fragment = K, Y.Lazy = ee, Y.Memo = Z, Y.Portal = U, Y.Profiler = F, Y.StrictMode = R, Y.Suspense = H, Y.isAsyncMode = V, Y.isConcurrentMode = i, Y.isContextConsumer = y, Y.isContextProvider = w, Y.isElement = O, Y.isForwardRef = S, Y.isFragment = k, Y.isLazy = C, Y.isMemo = M, Y.isPortal = I, Y.isProfiler = L, Y.isStrictMode = D, Y.isSuspense = X, Y.isValidElementType = x, Y.typeOf = _;
|
|
223
|
-
})()), Y;
|
|
224
|
-
}
|
|
225
|
-
var bt;
|
|
226
|
-
function Rt() {
|
|
227
|
-
return bt || (bt = 1, process.env.NODE_ENV === "production" ? $e.exports = Gr() : $e.exports = Kr()), $e.exports;
|
|
228
|
-
}
|
|
229
|
-
var Ke, xt;
|
|
230
|
-
function Xr() {
|
|
231
|
-
if (xt) return Ke;
|
|
232
|
-
xt = 1;
|
|
233
|
-
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
234
|
-
function o(a) {
|
|
235
|
-
if (a == null)
|
|
236
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
237
|
-
return Object(a);
|
|
238
|
-
}
|
|
239
|
-
function s() {
|
|
240
|
-
try {
|
|
241
|
-
if (!Object.assign)
|
|
242
|
-
return !1;
|
|
243
|
-
var a = new String("abc");
|
|
244
|
-
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
245
|
-
return !1;
|
|
246
|
-
for (var n = {}, l = 0; l < 10; l++)
|
|
247
|
-
n["_" + String.fromCharCode(l)] = l;
|
|
248
|
-
var f = Object.getOwnPropertyNames(n).map(function(u) {
|
|
249
|
-
return n[u];
|
|
250
|
-
});
|
|
251
|
-
if (f.join("") !== "0123456789")
|
|
252
|
-
return !1;
|
|
253
|
-
var d = {};
|
|
254
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
255
|
-
d[u] = u;
|
|
256
|
-
}), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
|
|
257
|
-
} catch {
|
|
258
|
-
return !1;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
return Ke = s() ? Object.assign : function(a, n) {
|
|
262
|
-
for (var l, f = o(a), d, u = 1; u < arguments.length; u++) {
|
|
263
|
-
l = Object(arguments[u]);
|
|
264
|
-
for (var h in l)
|
|
265
|
-
e.call(l, h) && (f[h] = l[h]);
|
|
266
|
-
if (t) {
|
|
267
|
-
d = t(l);
|
|
268
|
-
for (var v = 0; v < d.length; v++)
|
|
269
|
-
r.call(l, d[v]) && (f[d[v]] = l[d[v]]);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
return f;
|
|
273
|
-
}, Ke;
|
|
274
|
-
}
|
|
275
|
-
var Xe, St;
|
|
276
|
-
function ut() {
|
|
277
|
-
if (St) return Xe;
|
|
278
|
-
St = 1;
|
|
279
|
-
var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
280
|
-
return Xe = t, Xe;
|
|
281
|
-
}
|
|
282
|
-
var Ze, Et;
|
|
283
|
-
function jt() {
|
|
284
|
-
return Et || (Et = 1, Ze = Function.call.bind(Object.prototype.hasOwnProperty)), Ze;
|
|
285
|
-
}
|
|
286
|
-
var Je, _t;
|
|
287
|
-
function Zr() {
|
|
288
|
-
if (_t) return Je;
|
|
289
|
-
_t = 1;
|
|
290
|
-
var t = function() {
|
|
291
|
-
};
|
|
292
|
-
if (process.env.NODE_ENV !== "production") {
|
|
293
|
-
var e = /* @__PURE__ */ ut(), r = {}, o = /* @__PURE__ */ jt();
|
|
294
|
-
t = function(a) {
|
|
295
|
-
var n = "Warning: " + a;
|
|
296
|
-
typeof console < "u" && console.error(n);
|
|
297
|
-
try {
|
|
298
|
-
throw new Error(n);
|
|
299
|
-
} catch {
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
function s(a, n, l, f, d) {
|
|
304
|
-
if (process.env.NODE_ENV !== "production") {
|
|
305
|
-
for (var u in a)
|
|
306
|
-
if (o(a, u)) {
|
|
307
|
-
var h;
|
|
308
|
-
try {
|
|
309
|
-
if (typeof a[u] != "function") {
|
|
310
|
-
var v = Error(
|
|
311
|
-
(f || "React class") + ": " + l + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
312
|
-
);
|
|
313
|
-
throw v.name = "Invariant Violation", v;
|
|
314
|
-
}
|
|
315
|
-
h = a[u](n, u, f, l, null, e);
|
|
316
|
-
} catch (b) {
|
|
317
|
-
h = b;
|
|
318
|
-
}
|
|
319
|
-
if (h && !(h instanceof Error) && t(
|
|
320
|
-
(f || "React class") + ": type specification of " + l + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
321
|
-
), h instanceof Error && !(h.message in r)) {
|
|
322
|
-
r[h.message] = !0;
|
|
323
|
-
var g = d ? d() : "";
|
|
324
|
-
t(
|
|
325
|
-
"Failed " + l + " type: " + h.message + (g ?? "")
|
|
326
|
-
);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
return s.resetWarningCache = function() {
|
|
332
|
-
process.env.NODE_ENV !== "production" && (r = {});
|
|
333
|
-
}, Je = s, Je;
|
|
334
|
-
}
|
|
335
|
-
var Qe, Ot;
|
|
336
|
-
function Jr() {
|
|
337
|
-
if (Ot) return Qe;
|
|
338
|
-
Ot = 1;
|
|
339
|
-
var t = Rt(), e = Xr(), r = /* @__PURE__ */ ut(), o = /* @__PURE__ */ jt(), s = /* @__PURE__ */ Zr(), a = function() {
|
|
340
|
-
};
|
|
341
|
-
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
342
|
-
var f = "Warning: " + l;
|
|
343
|
-
typeof console < "u" && console.error(f);
|
|
344
|
-
try {
|
|
345
|
-
throw new Error(f);
|
|
346
|
-
} catch {
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
function n() {
|
|
350
|
-
return null;
|
|
351
|
-
}
|
|
352
|
-
return Qe = function(l, f) {
|
|
353
|
-
var d = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
354
|
-
function h(i) {
|
|
355
|
-
var y = i && (d && i[d] || i[u]);
|
|
356
|
-
if (typeof y == "function")
|
|
357
|
-
return y;
|
|
358
|
-
}
|
|
359
|
-
var v = "<<anonymous>>", g = {
|
|
360
|
-
array: P("array"),
|
|
361
|
-
bigint: P("bigint"),
|
|
362
|
-
bool: P("boolean"),
|
|
363
|
-
func: P("function"),
|
|
364
|
-
number: P("number"),
|
|
365
|
-
object: P("object"),
|
|
366
|
-
string: P("string"),
|
|
367
|
-
symbol: P("symbol"),
|
|
368
|
-
any: A(),
|
|
369
|
-
arrayOf: x,
|
|
370
|
-
element: _(),
|
|
371
|
-
elementType: c(),
|
|
372
|
-
instanceOf: j,
|
|
373
|
-
node: W(),
|
|
374
|
-
objectOf: B,
|
|
375
|
-
oneOf: J,
|
|
376
|
-
oneOfType: N,
|
|
377
|
-
shape: ee,
|
|
378
|
-
exact: Z
|
|
379
|
-
};
|
|
380
|
-
function b(i, y) {
|
|
381
|
-
return i === y ? i !== 0 || 1 / i === 1 / y : i !== i && y !== y;
|
|
382
|
-
}
|
|
383
|
-
function T(i, y) {
|
|
384
|
-
this.message = i, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
|
|
385
|
-
}
|
|
386
|
-
T.prototype = Error.prototype;
|
|
387
|
-
function E(i) {
|
|
388
|
-
if (process.env.NODE_ENV !== "production")
|
|
389
|
-
var y = {}, w = 0;
|
|
390
|
-
function O(k, C, M, I, L, D, X) {
|
|
391
|
-
if (I = I || v, D = D || M, X !== r) {
|
|
392
|
-
if (f) {
|
|
393
|
-
var m = new Error(
|
|
394
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
395
|
-
);
|
|
396
|
-
throw m.name = "Invariant Violation", m;
|
|
397
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
398
|
-
var Q = I + ":" + M;
|
|
399
|
-
!y[Q] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
400
|
-
w < 3 && (a(
|
|
401
|
-
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + I + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
402
|
-
), y[Q] = !0, w++);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
return C[M] == null ? k ? C[M] === null ? new T("The " + L + " `" + D + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new T("The " + L + " `" + D + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : i(C, M, I, L, D);
|
|
406
|
-
}
|
|
407
|
-
var S = O.bind(null, !1);
|
|
408
|
-
return S.isRequired = O.bind(null, !0), S;
|
|
409
|
-
}
|
|
410
|
-
function P(i) {
|
|
411
|
-
function y(w, O, S, k, C, M) {
|
|
412
|
-
var I = w[O], L = R(I);
|
|
413
|
-
if (L !== i) {
|
|
414
|
-
var D = H(I);
|
|
415
|
-
return new T(
|
|
416
|
-
"Invalid " + k + " `" + C + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected ") + ("`" + i + "`."),
|
|
417
|
-
{ expectedType: i }
|
|
418
|
-
);
|
|
419
|
-
}
|
|
420
|
-
return null;
|
|
421
|
-
}
|
|
422
|
-
return E(y);
|
|
423
|
-
}
|
|
424
|
-
function A() {
|
|
425
|
-
return E(n);
|
|
426
|
-
}
|
|
427
|
-
function x(i) {
|
|
428
|
-
function y(w, O, S, k, C) {
|
|
429
|
-
if (typeof i != "function")
|
|
430
|
-
return new T("Property `" + C + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
|
|
431
|
-
var M = w[O];
|
|
432
|
-
if (!Array.isArray(M)) {
|
|
433
|
-
var I = R(M);
|
|
434
|
-
return new T("Invalid " + k + " `" + C + "` of type " + ("`" + I + "` supplied to `" + S + "`, expected an array."));
|
|
435
|
-
}
|
|
436
|
-
for (var L = 0; L < M.length; L++) {
|
|
437
|
-
var D = i(M, L, S, k, C + "[" + L + "]", r);
|
|
438
|
-
if (D instanceof Error)
|
|
439
|
-
return D;
|
|
440
|
-
}
|
|
441
|
-
return null;
|
|
442
|
-
}
|
|
443
|
-
return E(y);
|
|
444
|
-
}
|
|
445
|
-
function _() {
|
|
446
|
-
function i(y, w, O, S, k) {
|
|
447
|
-
var C = y[w];
|
|
448
|
-
if (!l(C)) {
|
|
449
|
-
var M = R(C);
|
|
450
|
-
return new T("Invalid " + S + " `" + k + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
451
|
-
}
|
|
452
|
-
return null;
|
|
453
|
-
}
|
|
454
|
-
return E(i);
|
|
455
|
-
}
|
|
456
|
-
function c() {
|
|
457
|
-
function i(y, w, O, S, k) {
|
|
458
|
-
var C = y[w];
|
|
459
|
-
if (!t.isValidElementType(C)) {
|
|
460
|
-
var M = R(C);
|
|
461
|
-
return new T("Invalid " + S + " `" + k + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
462
|
-
}
|
|
463
|
-
return null;
|
|
464
|
-
}
|
|
465
|
-
return E(i);
|
|
466
|
-
}
|
|
467
|
-
function j(i) {
|
|
468
|
-
function y(w, O, S, k, C) {
|
|
469
|
-
if (!(w[O] instanceof i)) {
|
|
470
|
-
var M = i.name || v, I = V(w[O]);
|
|
471
|
-
return new T("Invalid " + k + " `" + C + "` of type " + ("`" + I + "` supplied to `" + S + "`, expected ") + ("instance of `" + M + "`."));
|
|
472
|
-
}
|
|
473
|
-
return null;
|
|
474
|
-
}
|
|
475
|
-
return E(y);
|
|
476
|
-
}
|
|
477
|
-
function J(i) {
|
|
478
|
-
if (!Array.isArray(i))
|
|
479
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
480
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
481
|
-
) : a("Invalid argument supplied to oneOf, expected an array.")), n;
|
|
482
|
-
function y(w, O, S, k, C) {
|
|
483
|
-
for (var M = w[O], I = 0; I < i.length; I++)
|
|
484
|
-
if (b(M, i[I]))
|
|
485
|
-
return null;
|
|
486
|
-
var L = JSON.stringify(i, function(X, m) {
|
|
487
|
-
var Q = H(m);
|
|
488
|
-
return Q === "symbol" ? String(m) : m;
|
|
489
|
-
});
|
|
490
|
-
return new T("Invalid " + k + " `" + C + "` of value `" + String(M) + "` " + ("supplied to `" + S + "`, expected one of " + L + "."));
|
|
491
|
-
}
|
|
492
|
-
return E(y);
|
|
493
|
-
}
|
|
494
|
-
function B(i) {
|
|
495
|
-
function y(w, O, S, k, C) {
|
|
496
|
-
if (typeof i != "function")
|
|
497
|
-
return new T("Property `" + C + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
|
|
498
|
-
var M = w[O], I = R(M);
|
|
499
|
-
if (I !== "object")
|
|
500
|
-
return new T("Invalid " + k + " `" + C + "` of type " + ("`" + I + "` supplied to `" + S + "`, expected an object."));
|
|
501
|
-
for (var L in M)
|
|
502
|
-
if (o(M, L)) {
|
|
503
|
-
var D = i(M, L, S, k, C + "." + L, r);
|
|
504
|
-
if (D instanceof Error)
|
|
505
|
-
return D;
|
|
506
|
-
}
|
|
507
|
-
return null;
|
|
508
|
-
}
|
|
509
|
-
return E(y);
|
|
510
|
-
}
|
|
511
|
-
function N(i) {
|
|
512
|
-
if (!Array.isArray(i))
|
|
513
|
-
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), n;
|
|
514
|
-
for (var y = 0; y < i.length; y++) {
|
|
515
|
-
var w = i[y];
|
|
516
|
-
if (typeof w != "function")
|
|
517
|
-
return a(
|
|
518
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + te(w) + " at index " + y + "."
|
|
519
|
-
), n;
|
|
520
|
-
}
|
|
521
|
-
function O(S, k, C, M, I) {
|
|
522
|
-
for (var L = [], D = 0; D < i.length; D++) {
|
|
523
|
-
var X = i[D], m = X(S, k, C, M, I, r);
|
|
524
|
-
if (m == null)
|
|
525
|
-
return null;
|
|
526
|
-
m.data && o(m.data, "expectedType") && L.push(m.data.expectedType);
|
|
527
|
-
}
|
|
528
|
-
var Q = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : "";
|
|
529
|
-
return new T("Invalid " + M + " `" + I + "` supplied to " + ("`" + C + "`" + Q + "."));
|
|
530
|
-
}
|
|
531
|
-
return E(O);
|
|
532
|
-
}
|
|
533
|
-
function W() {
|
|
534
|
-
function i(y, w, O, S, k) {
|
|
535
|
-
return U(y[w]) ? null : new T("Invalid " + S + " `" + k + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
536
|
-
}
|
|
537
|
-
return E(i);
|
|
538
|
-
}
|
|
539
|
-
function K(i, y, w, O, S) {
|
|
540
|
-
return new T(
|
|
541
|
-
(i || "React class") + ": " + y + " type `" + w + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
|
|
542
|
-
);
|
|
543
|
-
}
|
|
544
|
-
function ee(i) {
|
|
545
|
-
function y(w, O, S, k, C) {
|
|
546
|
-
var M = w[O], I = R(M);
|
|
547
|
-
if (I !== "object")
|
|
548
|
-
return new T("Invalid " + k + " `" + C + "` of type `" + I + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
549
|
-
for (var L in i) {
|
|
550
|
-
var D = i[L];
|
|
551
|
-
if (typeof D != "function")
|
|
552
|
-
return K(S, k, C, L, H(D));
|
|
553
|
-
var X = D(M, L, S, k, C + "." + L, r);
|
|
554
|
-
if (X)
|
|
555
|
-
return X;
|
|
556
|
-
}
|
|
557
|
-
return null;
|
|
558
|
-
}
|
|
559
|
-
return E(y);
|
|
560
|
-
}
|
|
561
|
-
function Z(i) {
|
|
562
|
-
function y(w, O, S, k, C) {
|
|
563
|
-
var M = w[O], I = R(M);
|
|
564
|
-
if (I !== "object")
|
|
565
|
-
return new T("Invalid " + k + " `" + C + "` of type `" + I + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
566
|
-
var L = e({}, w[O], i);
|
|
567
|
-
for (var D in L) {
|
|
568
|
-
var X = i[D];
|
|
569
|
-
if (o(i, D) && typeof X != "function")
|
|
570
|
-
return K(S, k, C, D, H(X));
|
|
571
|
-
if (!X)
|
|
572
|
-
return new T(
|
|
573
|
-
"Invalid " + k + " `" + C + "` key `" + D + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(w[O], null, " ") + `
|
|
574
|
-
Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
575
|
-
);
|
|
576
|
-
var m = X(M, D, S, k, C + "." + D, r);
|
|
577
|
-
if (m)
|
|
578
|
-
return m;
|
|
579
|
-
}
|
|
580
|
-
return null;
|
|
581
|
-
}
|
|
582
|
-
return E(y);
|
|
583
|
-
}
|
|
584
|
-
function U(i) {
|
|
585
|
-
switch (typeof i) {
|
|
586
|
-
case "number":
|
|
587
|
-
case "string":
|
|
588
|
-
case "undefined":
|
|
589
|
-
return !0;
|
|
590
|
-
case "boolean":
|
|
591
|
-
return !i;
|
|
592
|
-
case "object":
|
|
593
|
-
if (Array.isArray(i))
|
|
594
|
-
return i.every(U);
|
|
595
|
-
if (i === null || l(i))
|
|
596
|
-
return !0;
|
|
597
|
-
var y = h(i);
|
|
598
|
-
if (y) {
|
|
599
|
-
var w = y.call(i), O;
|
|
600
|
-
if (y !== i.entries) {
|
|
601
|
-
for (; !(O = w.next()).done; )
|
|
602
|
-
if (!U(O.value))
|
|
603
|
-
return !1;
|
|
604
|
-
} else
|
|
605
|
-
for (; !(O = w.next()).done; ) {
|
|
606
|
-
var S = O.value;
|
|
607
|
-
if (S && !U(S[1]))
|
|
608
|
-
return !1;
|
|
609
|
-
}
|
|
610
|
-
} else
|
|
611
|
-
return !1;
|
|
612
|
-
return !0;
|
|
613
|
-
default:
|
|
614
|
-
return !1;
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
function F(i, y) {
|
|
618
|
-
return i === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
|
|
619
|
-
}
|
|
620
|
-
function R(i) {
|
|
621
|
-
var y = typeof i;
|
|
622
|
-
return Array.isArray(i) ? "array" : i instanceof RegExp ? "object" : F(y, i) ? "symbol" : y;
|
|
623
|
-
}
|
|
624
|
-
function H(i) {
|
|
625
|
-
if (typeof i > "u" || i === null)
|
|
626
|
-
return "" + i;
|
|
627
|
-
var y = R(i);
|
|
628
|
-
if (y === "object") {
|
|
629
|
-
if (i instanceof Date)
|
|
630
|
-
return "date";
|
|
631
|
-
if (i instanceof RegExp)
|
|
632
|
-
return "regexp";
|
|
633
|
-
}
|
|
634
|
-
return y;
|
|
635
|
-
}
|
|
636
|
-
function te(i) {
|
|
637
|
-
var y = H(i);
|
|
638
|
-
switch (y) {
|
|
639
|
-
case "array":
|
|
640
|
-
case "object":
|
|
641
|
-
return "an " + y;
|
|
642
|
-
case "boolean":
|
|
643
|
-
case "date":
|
|
644
|
-
case "regexp":
|
|
645
|
-
return "a " + y;
|
|
646
|
-
default:
|
|
647
|
-
return y;
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
function V(i) {
|
|
651
|
-
return !i.constructor || !i.constructor.name ? v : i.constructor.name;
|
|
652
|
-
}
|
|
653
|
-
return g.checkPropTypes = s, g.resetWarningCache = s.resetWarningCache, g.PropTypes = g, g;
|
|
654
|
-
}, Qe;
|
|
655
|
-
}
|
|
656
|
-
var et, wt;
|
|
657
|
-
function Qr() {
|
|
658
|
-
if (wt) return et;
|
|
659
|
-
wt = 1;
|
|
660
|
-
var t = /* @__PURE__ */ ut();
|
|
661
|
-
function e() {
|
|
662
|
-
}
|
|
663
|
-
function r() {
|
|
664
|
-
}
|
|
665
|
-
return r.resetWarningCache = e, et = function() {
|
|
666
|
-
function o(n, l, f, d, u, h) {
|
|
667
|
-
if (h !== t) {
|
|
668
|
-
var v = new Error(
|
|
669
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
670
|
-
);
|
|
671
|
-
throw v.name = "Invariant Violation", v;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
o.isRequired = o;
|
|
675
|
-
function s() {
|
|
676
|
-
return o;
|
|
677
|
-
}
|
|
678
|
-
var a = {
|
|
679
|
-
array: o,
|
|
680
|
-
bigint: o,
|
|
681
|
-
bool: o,
|
|
682
|
-
func: o,
|
|
683
|
-
number: o,
|
|
684
|
-
object: o,
|
|
685
|
-
string: o,
|
|
686
|
-
symbol: o,
|
|
687
|
-
any: o,
|
|
688
|
-
arrayOf: s,
|
|
689
|
-
element: o,
|
|
690
|
-
elementType: o,
|
|
691
|
-
instanceOf: s,
|
|
692
|
-
node: o,
|
|
693
|
-
objectOf: s,
|
|
694
|
-
oneOf: s,
|
|
695
|
-
oneOfType: s,
|
|
696
|
-
shape: s,
|
|
697
|
-
exact: s,
|
|
698
|
-
checkPropTypes: r,
|
|
699
|
-
resetWarningCache: e
|
|
700
|
-
};
|
|
701
|
-
return a.PropTypes = a, a;
|
|
702
|
-
}, et;
|
|
703
|
-
}
|
|
704
|
-
var Ct;
|
|
705
|
-
function en() {
|
|
706
|
-
if (Ct) return je.exports;
|
|
707
|
-
if (Ct = 1, process.env.NODE_ENV !== "production") {
|
|
708
|
-
var t = Rt(), e = !0;
|
|
709
|
-
je.exports = /* @__PURE__ */ Jr()(t.isElement, e);
|
|
710
|
-
} else
|
|
711
|
-
je.exports = /* @__PURE__ */ Qr()();
|
|
712
|
-
return je.exports;
|
|
713
|
-
}
|
|
714
|
-
var tn = /* @__PURE__ */ en();
|
|
715
|
-
const z = /* @__PURE__ */ Wr(tn), rn = ["localeText"], ot = /* @__PURE__ */ ne.createContext(null);
|
|
716
|
-
process.env.NODE_ENV !== "production" && (ot.displayName = "PickerAdapterContext");
|
|
717
|
-
const ft = function(e) {
|
|
71
|
+
const $n = ["localeText"], Qe = /* @__PURE__ */ Y.createContext(null);
|
|
72
|
+
process.env.NODE_ENV !== "production" && (Qe.displayName = "PickerAdapterContext");
|
|
73
|
+
const nt = function(e) {
|
|
718
74
|
const {
|
|
719
|
-
localeText:
|
|
720
|
-
} = e, o =
|
|
721
|
-
adapter:
|
|
722
|
-
localeText:
|
|
723
|
-
} =
|
|
75
|
+
localeText: n
|
|
76
|
+
} = e, o = Pn(e, $n), {
|
|
77
|
+
adapter: r,
|
|
78
|
+
localeText: s
|
|
79
|
+
} = Y.useContext(Qe) ?? {
|
|
724
80
|
adapter: void 0,
|
|
725
81
|
localeText: void 0
|
|
726
|
-
},
|
|
82
|
+
}, i = Jt({
|
|
727
83
|
// We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
|
|
728
84
|
// We will then merge this theme value with our value manually
|
|
729
85
|
props: o,
|
|
730
86
|
name: "MuiLocalizationProvider"
|
|
731
87
|
}), {
|
|
732
88
|
children: l,
|
|
733
|
-
dateAdapter:
|
|
734
|
-
dateFormats:
|
|
735
|
-
dateLibInstance:
|
|
736
|
-
adapterLocale:
|
|
737
|
-
localeText:
|
|
738
|
-
} =
|
|
739
|
-
if (!
|
|
740
|
-
return
|
|
741
|
-
const
|
|
742
|
-
locale:
|
|
743
|
-
formats:
|
|
744
|
-
instance:
|
|
89
|
+
dateAdapter: c,
|
|
90
|
+
dateFormats: u,
|
|
91
|
+
dateLibInstance: d,
|
|
92
|
+
adapterLocale: m,
|
|
93
|
+
localeText: h
|
|
94
|
+
} = i, f = Y.useMemo(() => Ue({}, h, s, n), [h, s, n]), p = Y.useMemo(() => {
|
|
95
|
+
if (!c)
|
|
96
|
+
return r || null;
|
|
97
|
+
const w = new c({
|
|
98
|
+
locale: m,
|
|
99
|
+
formats: u,
|
|
100
|
+
instance: d
|
|
745
101
|
});
|
|
746
|
-
if (!
|
|
102
|
+
if (!w.isMUIAdapter)
|
|
747
103
|
throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`", "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", "More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation"].join(`
|
|
748
104
|
`));
|
|
749
|
-
return
|
|
750
|
-
}, [
|
|
751
|
-
minDate:
|
|
752
|
-
maxDate:
|
|
753
|
-
} : null, [
|
|
754
|
-
utils:
|
|
755
|
-
adapter:
|
|
756
|
-
defaultDates:
|
|
757
|
-
localeText:
|
|
758
|
-
}), [
|
|
759
|
-
return /* @__PURE__ */
|
|
760
|
-
value:
|
|
105
|
+
return w;
|
|
106
|
+
}, [c, m, u, d, r]), g = Y.useMemo(() => p ? {
|
|
107
|
+
minDate: p.date("1900-01-01T00:00:00.000"),
|
|
108
|
+
maxDate: p.date("2099-12-31T00:00:00.000")
|
|
109
|
+
} : null, [p]), x = Y.useMemo(() => ({
|
|
110
|
+
utils: p,
|
|
111
|
+
adapter: p,
|
|
112
|
+
defaultDates: g,
|
|
113
|
+
localeText: f
|
|
114
|
+
}), [g, p, f]);
|
|
115
|
+
return /* @__PURE__ */ a(Qe.Provider, {
|
|
116
|
+
value: x,
|
|
761
117
|
children: l
|
|
762
118
|
});
|
|
763
119
|
};
|
|
764
|
-
process.env.NODE_ENV !== "production" && (
|
|
765
|
-
process.env.NODE_ENV !== "production" && (
|
|
120
|
+
process.env.NODE_ENV !== "production" && (nt.displayName = "LocalizationProvider");
|
|
121
|
+
process.env.NODE_ENV !== "production" && (nt.propTypes = {
|
|
766
122
|
// ----------------------------- Warning --------------------------------
|
|
767
123
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
768
124
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -770,38 +126,38 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
|
|
|
770
126
|
/**
|
|
771
127
|
* Locale for the date library you are using
|
|
772
128
|
*/
|
|
773
|
-
adapterLocale:
|
|
774
|
-
children:
|
|
129
|
+
adapterLocale: b.any,
|
|
130
|
+
children: b.node,
|
|
775
131
|
/**
|
|
776
132
|
* Date library adapter class function.
|
|
777
133
|
* @see See the localization provider {@link https://mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
|
|
778
134
|
*/
|
|
779
|
-
dateAdapter:
|
|
135
|
+
dateAdapter: b.func,
|
|
780
136
|
/**
|
|
781
137
|
* Formats that are used for any child pickers
|
|
782
138
|
*/
|
|
783
|
-
dateFormats:
|
|
784
|
-
dayOfMonth:
|
|
785
|
-
dayOfMonthFull:
|
|
786
|
-
fullDate:
|
|
787
|
-
fullTime12h:
|
|
788
|
-
fullTime24h:
|
|
789
|
-
hours12h:
|
|
790
|
-
hours24h:
|
|
791
|
-
keyboardDate:
|
|
792
|
-
keyboardDateTime12h:
|
|
793
|
-
keyboardDateTime24h:
|
|
794
|
-
meridiem:
|
|
795
|
-
minutes:
|
|
796
|
-
month:
|
|
797
|
-
monthShort:
|
|
798
|
-
normalDate:
|
|
799
|
-
normalDateWithWeekday:
|
|
800
|
-
seconds:
|
|
801
|
-
shortDate:
|
|
802
|
-
weekday:
|
|
803
|
-
weekdayShort:
|
|
804
|
-
year:
|
|
139
|
+
dateFormats: b.shape({
|
|
140
|
+
dayOfMonth: b.string,
|
|
141
|
+
dayOfMonthFull: b.string,
|
|
142
|
+
fullDate: b.string,
|
|
143
|
+
fullTime12h: b.string,
|
|
144
|
+
fullTime24h: b.string,
|
|
145
|
+
hours12h: b.string,
|
|
146
|
+
hours24h: b.string,
|
|
147
|
+
keyboardDate: b.string,
|
|
148
|
+
keyboardDateTime12h: b.string,
|
|
149
|
+
keyboardDateTime24h: b.string,
|
|
150
|
+
meridiem: b.string,
|
|
151
|
+
minutes: b.string,
|
|
152
|
+
month: b.string,
|
|
153
|
+
monthShort: b.string,
|
|
154
|
+
normalDate: b.string,
|
|
155
|
+
normalDateWithWeekday: b.string,
|
|
156
|
+
seconds: b.string,
|
|
157
|
+
shortDate: b.string,
|
|
158
|
+
weekday: b.string,
|
|
159
|
+
weekdayShort: b.string,
|
|
160
|
+
year: b.string
|
|
805
161
|
}),
|
|
806
162
|
/**
|
|
807
163
|
* Date library instance you are using, if it has some global overrides
|
|
@@ -809,35 +165,35 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
|
|
|
809
165
|
* dateLibInstance={momentTimeZone}
|
|
810
166
|
* ```
|
|
811
167
|
*/
|
|
812
|
-
dateLibInstance:
|
|
168
|
+
dateLibInstance: b.any,
|
|
813
169
|
/**
|
|
814
170
|
* Locale for components texts
|
|
815
171
|
*/
|
|
816
|
-
localeText:
|
|
172
|
+
localeText: b.object
|
|
817
173
|
});
|
|
818
|
-
const
|
|
819
|
-
function
|
|
820
|
-
const e =
|
|
821
|
-
return
|
|
174
|
+
const zn = typeof window < "u" ? Y.useLayoutEffect : Y.useEffect;
|
|
175
|
+
function Ve(t) {
|
|
176
|
+
const e = Y.useRef(t);
|
|
177
|
+
return zn(() => {
|
|
822
178
|
e.current = t;
|
|
823
|
-
}),
|
|
179
|
+
}), Y.useRef((...n) => (
|
|
824
180
|
// @ts-expect-error hide `this`
|
|
825
|
-
(0, e.current)(...
|
|
181
|
+
(0, e.current)(...n)
|
|
826
182
|
)).current;
|
|
827
183
|
}
|
|
828
|
-
const
|
|
829
|
-
function
|
|
184
|
+
const ct = /* @__PURE__ */ new Set();
|
|
185
|
+
function Nn(t, e = "warning") {
|
|
830
186
|
if (process.env.NODE_ENV === "production")
|
|
831
187
|
return;
|
|
832
|
-
const
|
|
188
|
+
const n = Array.isArray(t) ? t.join(`
|
|
833
189
|
`) : t;
|
|
834
|
-
|
|
190
|
+
ct.has(n) || (ct.add(n), e === "error" ? console.error(n) : console.warn(n));
|
|
835
191
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
const
|
|
192
|
+
C.extend(In);
|
|
193
|
+
C.extend(Cn);
|
|
194
|
+
C.extend(En);
|
|
195
|
+
C.extend(An);
|
|
196
|
+
const jn = {
|
|
841
197
|
// Year
|
|
842
198
|
YY: "year",
|
|
843
199
|
YYYY: {
|
|
@@ -919,7 +275,7 @@ const an = {
|
|
|
919
275
|
maxLength: 2
|
|
920
276
|
},
|
|
921
277
|
ss: "seconds"
|
|
922
|
-
},
|
|
278
|
+
}, Un = {
|
|
923
279
|
year: "YYYY",
|
|
924
280
|
month: "MMMM",
|
|
925
281
|
monthShort: "MMM",
|
|
@@ -941,10 +297,10 @@ const an = {
|
|
|
941
297
|
fullTime24h: "HH:mm",
|
|
942
298
|
keyboardDateTime12h: "L hh:mm A",
|
|
943
299
|
keyboardDateTime24h: "L HH:mm"
|
|
944
|
-
},
|
|
945
|
-
`),
|
|
300
|
+
}, Ge = ["Missing UTC plugin", "To be able to use UTC or timezones, you have to enable the `utc` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
|
|
301
|
+
`), dt = ["Missing timezone plugin", "To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
|
|
946
302
|
`);
|
|
947
|
-
class
|
|
303
|
+
class Fn {
|
|
948
304
|
isMUIAdapter = !0;
|
|
949
305
|
isTimezoneCompatible = !0;
|
|
950
306
|
lib = "dayjs";
|
|
@@ -952,22 +308,22 @@ class cn {
|
|
|
952
308
|
start: "[",
|
|
953
309
|
end: "]"
|
|
954
310
|
};
|
|
955
|
-
formatTokenMap =
|
|
311
|
+
formatTokenMap = jn;
|
|
956
312
|
constructor({
|
|
957
313
|
locale: e,
|
|
958
|
-
formats:
|
|
314
|
+
formats: n
|
|
959
315
|
} = {}) {
|
|
960
|
-
this.locale = e, this.formats =
|
|
316
|
+
this.locale = e, this.formats = Ue({}, Un, n), C.extend(_n);
|
|
961
317
|
}
|
|
962
318
|
setLocaleToValue = (e) => {
|
|
963
|
-
const
|
|
964
|
-
return
|
|
319
|
+
const n = this.getCurrentLocaleCode();
|
|
320
|
+
return n === e.locale() ? e : e.locale(n);
|
|
965
321
|
};
|
|
966
|
-
hasUTCPlugin = () => typeof
|
|
967
|
-
hasTimezonePlugin = () => typeof
|
|
968
|
-
isSame = (e,
|
|
969
|
-
const
|
|
970
|
-
return e.format(o) ===
|
|
322
|
+
hasUTCPlugin = () => typeof C.utc < "u";
|
|
323
|
+
hasTimezonePlugin = () => typeof C.tz < "u";
|
|
324
|
+
isSame = (e, n, o) => {
|
|
325
|
+
const r = this.setTimezone(n, this.getTimezone(e));
|
|
326
|
+
return e.format(o) === r.format(o);
|
|
971
327
|
};
|
|
972
328
|
/**
|
|
973
329
|
* Replaces "default" by undefined and "system" by the system timezone before passing it to `dayjs`.
|
|
@@ -977,37 +333,37 @@ class cn {
|
|
|
977
333
|
case "default":
|
|
978
334
|
return;
|
|
979
335
|
case "system":
|
|
980
|
-
return
|
|
336
|
+
return C.tz.guess();
|
|
981
337
|
default:
|
|
982
338
|
return e;
|
|
983
339
|
}
|
|
984
340
|
};
|
|
985
341
|
createSystemDate = (e) => {
|
|
986
|
-
let
|
|
342
|
+
let n;
|
|
987
343
|
if (this.hasUTCPlugin() && this.hasTimezonePlugin()) {
|
|
988
|
-
const o =
|
|
989
|
-
o === "UTC" ?
|
|
344
|
+
const o = C.tz.guess();
|
|
345
|
+
o === "UTC" ? n = C(e) : n = C.tz(e, o);
|
|
990
346
|
} else
|
|
991
|
-
|
|
992
|
-
return this.setLocaleToValue(
|
|
347
|
+
n = C(e);
|
|
348
|
+
return this.setLocaleToValue(n);
|
|
993
349
|
};
|
|
994
350
|
createUTCDate = (e) => {
|
|
995
351
|
if (!this.hasUTCPlugin())
|
|
996
|
-
throw new Error(
|
|
997
|
-
return this.setLocaleToValue(
|
|
352
|
+
throw new Error(Ge);
|
|
353
|
+
return this.setLocaleToValue(C.utc(e));
|
|
998
354
|
};
|
|
999
|
-
createTZDate = (e,
|
|
355
|
+
createTZDate = (e, n) => {
|
|
1000
356
|
if (!this.hasUTCPlugin())
|
|
1001
|
-
throw new Error(
|
|
357
|
+
throw new Error(Ge);
|
|
1002
358
|
if (!this.hasTimezonePlugin())
|
|
1003
|
-
throw new Error(
|
|
359
|
+
throw new Error(dt);
|
|
1004
360
|
const o = e !== void 0 && !e.endsWith("Z");
|
|
1005
|
-
return this.setLocaleToValue(
|
|
361
|
+
return this.setLocaleToValue(C(e).tz(this.cleanTimezone(n), o));
|
|
1006
362
|
};
|
|
1007
363
|
getLocaleFormats = () => {
|
|
1008
|
-
const e =
|
|
1009
|
-
let o = e[
|
|
1010
|
-
return o === void 0 && (process.env.NODE_ENV !== "production" &&
|
|
364
|
+
const e = C.Ls, n = this.locale || "en";
|
|
365
|
+
let o = e[n];
|
|
366
|
+
return o === void 0 && (process.env.NODE_ENV !== "production" && Nn(["MUI X: Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale.", "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'", "fallback on English locale."]), o = e.en), o.formats;
|
|
1011
367
|
};
|
|
1012
368
|
/**
|
|
1013
369
|
* If the new day does not have the same offset as the old one (when switching to summer day time for example),
|
|
@@ -1018,69 +374,69 @@ class cn {
|
|
|
1018
374
|
adjustOffset = (e) => {
|
|
1019
375
|
if (!this.hasTimezonePlugin())
|
|
1020
376
|
return e;
|
|
1021
|
-
const
|
|
1022
|
-
if (
|
|
1023
|
-
const o = e.tz(this.cleanTimezone(
|
|
377
|
+
const n = this.getTimezone(e);
|
|
378
|
+
if (n !== "UTC") {
|
|
379
|
+
const o = e.tz(this.cleanTimezone(n), !0);
|
|
1024
380
|
if (o.$offset === (e.$offset ?? 0))
|
|
1025
381
|
return e;
|
|
1026
382
|
e.$offset = o.$offset;
|
|
1027
383
|
}
|
|
1028
384
|
return e;
|
|
1029
385
|
};
|
|
1030
|
-
date = (e,
|
|
1031
|
-
getInvalidDate = () =>
|
|
386
|
+
date = (e, n = "default") => e === null ? null : n === "UTC" ? this.createUTCDate(e) : n === "system" || n === "default" && !this.hasTimezonePlugin() ? this.createSystemDate(e) : this.createTZDate(e, n);
|
|
387
|
+
getInvalidDate = () => C(/* @__PURE__ */ new Date("Invalid date"));
|
|
1032
388
|
getTimezone = (e) => {
|
|
1033
389
|
if (this.hasTimezonePlugin()) {
|
|
1034
|
-
const
|
|
1035
|
-
if (
|
|
1036
|
-
return
|
|
390
|
+
const n = e.$x?.$timezone;
|
|
391
|
+
if (n)
|
|
392
|
+
return n;
|
|
1037
393
|
}
|
|
1038
394
|
return this.hasUTCPlugin() && e.isUTC() ? "UTC" : "system";
|
|
1039
395
|
};
|
|
1040
|
-
setTimezone = (e,
|
|
1041
|
-
if (this.getTimezone(e) ===
|
|
396
|
+
setTimezone = (e, n) => {
|
|
397
|
+
if (this.getTimezone(e) === n)
|
|
1042
398
|
return e;
|
|
1043
|
-
if (
|
|
399
|
+
if (n === "UTC") {
|
|
1044
400
|
if (!this.hasUTCPlugin())
|
|
1045
|
-
throw new Error(
|
|
401
|
+
throw new Error(Ge);
|
|
1046
402
|
return e.utc();
|
|
1047
403
|
}
|
|
1048
|
-
if (
|
|
404
|
+
if (n === "system")
|
|
1049
405
|
return e.local();
|
|
1050
406
|
if (!this.hasTimezonePlugin()) {
|
|
1051
|
-
if (
|
|
407
|
+
if (n === "default")
|
|
1052
408
|
return e;
|
|
1053
|
-
throw new Error(
|
|
409
|
+
throw new Error(dt);
|
|
1054
410
|
}
|
|
1055
|
-
return this.setLocaleToValue(
|
|
411
|
+
return this.setLocaleToValue(C.tz(e, this.cleanTimezone(n)));
|
|
1056
412
|
};
|
|
1057
413
|
toJsDate = (e) => e.toDate();
|
|
1058
|
-
parse = (e,
|
|
414
|
+
parse = (e, n) => e === "" ? null : C(e, n, this.locale, !0);
|
|
1059
415
|
getCurrentLocaleCode = () => this.locale || "en";
|
|
1060
416
|
is12HourCycleInCurrentLocale = () => /A|a/.test(this.getLocaleFormats().LT || "");
|
|
1061
417
|
expandFormat = (e) => {
|
|
1062
|
-
const
|
|
1063
|
-
return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (
|
|
1064
|
-
const l =
|
|
1065
|
-
return
|
|
418
|
+
const n = this.getLocaleFormats(), o = (r) => r.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (s, i, l) => i || l.slice(1));
|
|
419
|
+
return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (r, s, i) => {
|
|
420
|
+
const l = i && i.toUpperCase();
|
|
421
|
+
return s || n[i] || o(n[l]);
|
|
1066
422
|
});
|
|
1067
423
|
};
|
|
1068
424
|
isValid = (e) => e == null ? !1 : e.isValid();
|
|
1069
|
-
format = (e,
|
|
1070
|
-
formatByString = (e,
|
|
425
|
+
format = (e, n) => this.formatByString(e, this.formats[n]);
|
|
426
|
+
formatByString = (e, n) => this.setLocaleToValue(e).format(n);
|
|
1071
427
|
formatNumber = (e) => e;
|
|
1072
|
-
isEqual = (e,
|
|
1073
|
-
isSameYear = (e,
|
|
1074
|
-
isSameMonth = (e,
|
|
1075
|
-
isSameDay = (e,
|
|
1076
|
-
isSameHour = (e,
|
|
1077
|
-
isAfter = (e,
|
|
1078
|
-
isAfterYear = (e,
|
|
1079
|
-
isAfterDay = (e,
|
|
1080
|
-
isBefore = (e,
|
|
1081
|
-
isBeforeYear = (e,
|
|
1082
|
-
isBeforeDay = (e,
|
|
1083
|
-
isWithinRange = (e, [
|
|
428
|
+
isEqual = (e, n) => e === null && n === null ? !0 : e === null || n === null ? !1 : e.toDate().getTime() === n.toDate().getTime();
|
|
429
|
+
isSameYear = (e, n) => this.isSame(e, n, "YYYY");
|
|
430
|
+
isSameMonth = (e, n) => this.isSame(e, n, "YYYY-MM");
|
|
431
|
+
isSameDay = (e, n) => this.isSame(e, n, "YYYY-MM-DD");
|
|
432
|
+
isSameHour = (e, n) => e.isSame(n, "hour");
|
|
433
|
+
isAfter = (e, n) => e > n;
|
|
434
|
+
isAfterYear = (e, n) => this.hasUTCPlugin() ? !this.isSameYear(e, n) && e.utc() > n.utc() : e.isAfter(n, "year");
|
|
435
|
+
isAfterDay = (e, n) => this.hasUTCPlugin() ? !this.isSameDay(e, n) && e.utc() > n.utc() : e.isAfter(n, "day");
|
|
436
|
+
isBefore = (e, n) => e < n;
|
|
437
|
+
isBeforeYear = (e, n) => this.hasUTCPlugin() ? !this.isSameYear(e, n) && e.utc() < n.utc() : e.isBefore(n, "year");
|
|
438
|
+
isBeforeDay = (e, n) => this.hasUTCPlugin() ? !this.isSameDay(e, n) && e.utc() < n.utc() : e.isBefore(n, "day");
|
|
439
|
+
isWithinRange = (e, [n, o]) => e >= n && e <= o;
|
|
1084
440
|
startOfYear = (e) => this.adjustOffset(e.startOf("year"));
|
|
1085
441
|
startOfMonth = (e) => this.adjustOffset(e.startOf("month"));
|
|
1086
442
|
startOfWeek = (e) => this.adjustOffset(this.setLocaleToValue(e).startOf("week"));
|
|
@@ -1089,13 +445,13 @@ class cn {
|
|
|
1089
445
|
endOfMonth = (e) => this.adjustOffset(e.endOf("month"));
|
|
1090
446
|
endOfWeek = (e) => this.adjustOffset(this.setLocaleToValue(e).endOf("week"));
|
|
1091
447
|
endOfDay = (e) => this.adjustOffset(e.endOf("day"));
|
|
1092
|
-
addYears = (e,
|
|
1093
|
-
addMonths = (e,
|
|
1094
|
-
addWeeks = (e,
|
|
1095
|
-
addDays = (e,
|
|
1096
|
-
addHours = (e,
|
|
1097
|
-
addMinutes = (e,
|
|
1098
|
-
addSeconds = (e,
|
|
448
|
+
addYears = (e, n) => this.adjustOffset(e.add(n, "year"));
|
|
449
|
+
addMonths = (e, n) => this.adjustOffset(e.add(n, "month"));
|
|
450
|
+
addWeeks = (e, n) => this.adjustOffset(e.add(n, "week"));
|
|
451
|
+
addDays = (e, n) => this.adjustOffset(e.add(n, "day"));
|
|
452
|
+
addHours = (e, n) => this.adjustOffset(e.add(n, "hour"));
|
|
453
|
+
addMinutes = (e, n) => this.adjustOffset(e.add(n, "minute"));
|
|
454
|
+
addSeconds = (e, n) => this.adjustOffset(e.add(n, "second"));
|
|
1099
455
|
getYear = (e) => e.year();
|
|
1100
456
|
getMonth = (e) => e.month();
|
|
1101
457
|
getDate = (e) => e.date();
|
|
@@ -1103,102 +459,416 @@ class cn {
|
|
|
1103
459
|
getMinutes = (e) => e.minute();
|
|
1104
460
|
getSeconds = (e) => e.second();
|
|
1105
461
|
getMilliseconds = (e) => e.millisecond();
|
|
1106
|
-
setYear = (e,
|
|
1107
|
-
setMonth = (e,
|
|
1108
|
-
setDate = (e,
|
|
1109
|
-
setHours = (e,
|
|
1110
|
-
setMinutes = (e,
|
|
1111
|
-
setSeconds = (e,
|
|
1112
|
-
setMilliseconds = (e,
|
|
462
|
+
setYear = (e, n) => this.adjustOffset(e.set("year", n));
|
|
463
|
+
setMonth = (e, n) => this.adjustOffset(e.set("month", n));
|
|
464
|
+
setDate = (e, n) => this.adjustOffset(e.set("date", n));
|
|
465
|
+
setHours = (e, n) => this.adjustOffset(e.set("hour", n));
|
|
466
|
+
setMinutes = (e, n) => this.adjustOffset(e.set("minute", n));
|
|
467
|
+
setSeconds = (e, n) => this.adjustOffset(e.set("second", n));
|
|
468
|
+
setMilliseconds = (e, n) => this.adjustOffset(e.set("millisecond", n));
|
|
1113
469
|
getDaysInMonth = (e) => e.daysInMonth();
|
|
1114
470
|
getWeekArray = (e) => {
|
|
1115
|
-
const
|
|
1116
|
-
let
|
|
1117
|
-
const
|
|
1118
|
-
for (;
|
|
1119
|
-
const l = Math.floor(
|
|
1120
|
-
|
|
1121
|
-
}
|
|
1122
|
-
return
|
|
471
|
+
const n = this.startOfWeek(this.startOfMonth(e)), o = this.endOfWeek(this.endOfMonth(e));
|
|
472
|
+
let r = 0, s = n;
|
|
473
|
+
const i = [];
|
|
474
|
+
for (; s < o; ) {
|
|
475
|
+
const l = Math.floor(r / 7);
|
|
476
|
+
i[l] = i[l] || [], i[l].push(s), s = this.addDays(s, 1), r += 1;
|
|
477
|
+
}
|
|
478
|
+
return i;
|
|
1123
479
|
};
|
|
1124
480
|
getWeekNumber = (e) => e.week();
|
|
1125
481
|
getDayOfWeek(e) {
|
|
1126
482
|
return e.day() + 1;
|
|
1127
483
|
}
|
|
1128
|
-
getYearRange = ([e,
|
|
1129
|
-
const o = this.startOfYear(e),
|
|
1130
|
-
let
|
|
1131
|
-
for (; this.isBefore(
|
|
1132
|
-
|
|
1133
|
-
return
|
|
484
|
+
getYearRange = ([e, n]) => {
|
|
485
|
+
const o = this.startOfYear(e), r = this.endOfYear(n), s = [];
|
|
486
|
+
let i = o;
|
|
487
|
+
for (; this.isBefore(i, r); )
|
|
488
|
+
s.push(i), i = this.addYears(i, 1);
|
|
489
|
+
return s;
|
|
1134
490
|
};
|
|
1135
491
|
}
|
|
1136
|
-
|
|
492
|
+
const {
|
|
493
|
+
slice: Yn,
|
|
494
|
+
forEach: Bn
|
|
495
|
+
} = [];
|
|
496
|
+
function Wn(t) {
|
|
497
|
+
return Bn.call(Yn.call(arguments, 1), (e) => {
|
|
498
|
+
if (e)
|
|
499
|
+
for (const n in e)
|
|
500
|
+
t[n] === void 0 && (t[n] = e[n]);
|
|
501
|
+
}), t;
|
|
502
|
+
}
|
|
503
|
+
function Rn(t) {
|
|
504
|
+
return typeof t != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((n) => n.test(t));
|
|
505
|
+
}
|
|
506
|
+
const ut = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Hn = function(t, e) {
|
|
507
|
+
const o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
508
|
+
path: "/"
|
|
509
|
+
}, r = encodeURIComponent(e);
|
|
510
|
+
let s = `${t}=${r}`;
|
|
511
|
+
if (o.maxAge > 0) {
|
|
512
|
+
const i = o.maxAge - 0;
|
|
513
|
+
if (Number.isNaN(i)) throw new Error("maxAge should be a Number");
|
|
514
|
+
s += `; Max-Age=${Math.floor(i)}`;
|
|
515
|
+
}
|
|
516
|
+
if (o.domain) {
|
|
517
|
+
if (!ut.test(o.domain))
|
|
518
|
+
throw new TypeError("option domain is invalid");
|
|
519
|
+
s += `; Domain=${o.domain}`;
|
|
520
|
+
}
|
|
521
|
+
if (o.path) {
|
|
522
|
+
if (!ut.test(o.path))
|
|
523
|
+
throw new TypeError("option path is invalid");
|
|
524
|
+
s += `; Path=${o.path}`;
|
|
525
|
+
}
|
|
526
|
+
if (o.expires) {
|
|
527
|
+
if (typeof o.expires.toUTCString != "function")
|
|
528
|
+
throw new TypeError("option expires is invalid");
|
|
529
|
+
s += `; Expires=${o.expires.toUTCString()}`;
|
|
530
|
+
}
|
|
531
|
+
if (o.httpOnly && (s += "; HttpOnly"), o.secure && (s += "; Secure"), o.sameSite)
|
|
532
|
+
switch (typeof o.sameSite == "string" ? o.sameSite.toLowerCase() : o.sameSite) {
|
|
533
|
+
case !0:
|
|
534
|
+
s += "; SameSite=Strict";
|
|
535
|
+
break;
|
|
536
|
+
case "lax":
|
|
537
|
+
s += "; SameSite=Lax";
|
|
538
|
+
break;
|
|
539
|
+
case "strict":
|
|
540
|
+
s += "; SameSite=Strict";
|
|
541
|
+
break;
|
|
542
|
+
case "none":
|
|
543
|
+
s += "; SameSite=None";
|
|
544
|
+
break;
|
|
545
|
+
default:
|
|
546
|
+
throw new TypeError("option sameSite is invalid");
|
|
547
|
+
}
|
|
548
|
+
return o.partitioned && (s += "; Partitioned"), s;
|
|
549
|
+
}, ft = {
|
|
550
|
+
create(t, e, n, o) {
|
|
551
|
+
let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
552
|
+
path: "/",
|
|
553
|
+
sameSite: "strict"
|
|
554
|
+
};
|
|
555
|
+
n && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + n * 60 * 1e3)), o && (r.domain = o), document.cookie = Hn(t, e, r);
|
|
556
|
+
},
|
|
557
|
+
read(t) {
|
|
558
|
+
const e = `${t}=`, n = document.cookie.split(";");
|
|
559
|
+
for (let o = 0; o < n.length; o++) {
|
|
560
|
+
let r = n[o];
|
|
561
|
+
for (; r.charAt(0) === " "; ) r = r.substring(1, r.length);
|
|
562
|
+
if (r.indexOf(e) === 0) return r.substring(e.length, r.length);
|
|
563
|
+
}
|
|
564
|
+
return null;
|
|
565
|
+
},
|
|
566
|
+
remove(t, e) {
|
|
567
|
+
this.create(t, "", -1, e);
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
var qn = {
|
|
571
|
+
name: "cookie",
|
|
572
|
+
// Deconstruct the options object and extract the lookupCookie property
|
|
573
|
+
lookup(t) {
|
|
574
|
+
let {
|
|
575
|
+
lookupCookie: e
|
|
576
|
+
} = t;
|
|
577
|
+
if (e && typeof document < "u")
|
|
578
|
+
return ft.read(e) || void 0;
|
|
579
|
+
},
|
|
580
|
+
// Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
|
|
581
|
+
cacheUserLanguage(t, e) {
|
|
582
|
+
let {
|
|
583
|
+
lookupCookie: n,
|
|
584
|
+
cookieMinutes: o,
|
|
585
|
+
cookieDomain: r,
|
|
586
|
+
cookieOptions: s
|
|
587
|
+
} = e;
|
|
588
|
+
n && typeof document < "u" && ft.create(n, t, o, r, s);
|
|
589
|
+
}
|
|
590
|
+
}, Vn = {
|
|
591
|
+
name: "querystring",
|
|
592
|
+
// Deconstruct the options object and extract the lookupQuerystring property
|
|
593
|
+
lookup(t) {
|
|
594
|
+
let {
|
|
595
|
+
lookupQuerystring: e
|
|
596
|
+
} = t, n;
|
|
597
|
+
if (typeof window < "u") {
|
|
598
|
+
let {
|
|
599
|
+
search: o
|
|
600
|
+
} = window.location;
|
|
601
|
+
!window.location.search && window.location.hash?.indexOf("?") > -1 && (o = window.location.hash.substring(window.location.hash.indexOf("?")));
|
|
602
|
+
const s = o.substring(1).split("&");
|
|
603
|
+
for (let i = 0; i < s.length; i++) {
|
|
604
|
+
const l = s[i].indexOf("=");
|
|
605
|
+
l > 0 && s[i].substring(0, l) === e && (n = s[i].substring(l + 1));
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return n;
|
|
609
|
+
}
|
|
610
|
+
}, Gn = {
|
|
611
|
+
name: "hash",
|
|
612
|
+
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
613
|
+
lookup(t) {
|
|
614
|
+
let {
|
|
615
|
+
lookupHash: e,
|
|
616
|
+
lookupFromHashIndex: n
|
|
617
|
+
} = t, o;
|
|
618
|
+
if (typeof window < "u") {
|
|
619
|
+
const {
|
|
620
|
+
hash: r
|
|
621
|
+
} = window.location;
|
|
622
|
+
if (r && r.length > 2) {
|
|
623
|
+
const s = r.substring(1);
|
|
624
|
+
if (e) {
|
|
625
|
+
const i = s.split("&");
|
|
626
|
+
for (let l = 0; l < i.length; l++) {
|
|
627
|
+
const c = i[l].indexOf("=");
|
|
628
|
+
c > 0 && i[l].substring(0, c) === e && (o = i[l].substring(c + 1));
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
if (o) return o;
|
|
632
|
+
if (!o && n > -1) {
|
|
633
|
+
const i = r.match(/\/([a-zA-Z-]*)/g);
|
|
634
|
+
return Array.isArray(i) ? i[typeof n == "number" ? n : 0]?.replace("/", "") : void 0;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
return o;
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
let re = null;
|
|
642
|
+
const mt = () => {
|
|
643
|
+
if (re !== null) return re;
|
|
644
|
+
try {
|
|
645
|
+
if (re = typeof window < "u" && window.localStorage !== null, !re)
|
|
646
|
+
return !1;
|
|
647
|
+
const t = "i18next.translate.boo";
|
|
648
|
+
window.localStorage.setItem(t, "foo"), window.localStorage.removeItem(t);
|
|
649
|
+
} catch {
|
|
650
|
+
re = !1;
|
|
651
|
+
}
|
|
652
|
+
return re;
|
|
653
|
+
};
|
|
654
|
+
var Kn = {
|
|
655
|
+
name: "localStorage",
|
|
656
|
+
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
657
|
+
lookup(t) {
|
|
658
|
+
let {
|
|
659
|
+
lookupLocalStorage: e
|
|
660
|
+
} = t;
|
|
661
|
+
if (e && mt())
|
|
662
|
+
return window.localStorage.getItem(e) || void 0;
|
|
663
|
+
},
|
|
664
|
+
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
665
|
+
cacheUserLanguage(t, e) {
|
|
666
|
+
let {
|
|
667
|
+
lookupLocalStorage: n
|
|
668
|
+
} = e;
|
|
669
|
+
n && mt() && window.localStorage.setItem(n, t);
|
|
670
|
+
}
|
|
671
|
+
};
|
|
672
|
+
let se = null;
|
|
673
|
+
const ht = () => {
|
|
674
|
+
if (se !== null) return se;
|
|
675
|
+
try {
|
|
676
|
+
if (se = typeof window < "u" && window.sessionStorage !== null, !se)
|
|
677
|
+
return !1;
|
|
678
|
+
const t = "i18next.translate.boo";
|
|
679
|
+
window.sessionStorage.setItem(t, "foo"), window.sessionStorage.removeItem(t);
|
|
680
|
+
} catch {
|
|
681
|
+
se = !1;
|
|
682
|
+
}
|
|
683
|
+
return se;
|
|
684
|
+
};
|
|
685
|
+
var Qn = {
|
|
686
|
+
name: "sessionStorage",
|
|
687
|
+
lookup(t) {
|
|
688
|
+
let {
|
|
689
|
+
lookupSessionStorage: e
|
|
690
|
+
} = t;
|
|
691
|
+
if (e && ht())
|
|
692
|
+
return window.sessionStorage.getItem(e) || void 0;
|
|
693
|
+
},
|
|
694
|
+
cacheUserLanguage(t, e) {
|
|
695
|
+
let {
|
|
696
|
+
lookupSessionStorage: n
|
|
697
|
+
} = e;
|
|
698
|
+
n && ht() && window.sessionStorage.setItem(n, t);
|
|
699
|
+
}
|
|
700
|
+
}, Xn = {
|
|
701
|
+
name: "navigator",
|
|
702
|
+
lookup(t) {
|
|
703
|
+
const e = [];
|
|
704
|
+
if (typeof navigator < "u") {
|
|
705
|
+
const {
|
|
706
|
+
languages: n,
|
|
707
|
+
userLanguage: o,
|
|
708
|
+
language: r
|
|
709
|
+
} = navigator;
|
|
710
|
+
if (n)
|
|
711
|
+
for (let s = 0; s < n.length; s++)
|
|
712
|
+
e.push(n[s]);
|
|
713
|
+
o && e.push(o), r && e.push(r);
|
|
714
|
+
}
|
|
715
|
+
return e.length > 0 ? e : void 0;
|
|
716
|
+
}
|
|
717
|
+
}, Zn = {
|
|
718
|
+
name: "htmlTag",
|
|
719
|
+
// Deconstruct the options object and extract the htmlTag property
|
|
720
|
+
lookup(t) {
|
|
721
|
+
let {
|
|
722
|
+
htmlTag: e
|
|
723
|
+
} = t, n;
|
|
724
|
+
const o = e || (typeof document < "u" ? document.documentElement : null);
|
|
725
|
+
return o && typeof o.getAttribute == "function" && (n = o.getAttribute("lang")), n;
|
|
726
|
+
}
|
|
727
|
+
}, Jn = {
|
|
728
|
+
name: "path",
|
|
729
|
+
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
730
|
+
lookup(t) {
|
|
731
|
+
let {
|
|
732
|
+
lookupFromPathIndex: e
|
|
733
|
+
} = t;
|
|
734
|
+
if (typeof window > "u") return;
|
|
735
|
+
const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
736
|
+
return Array.isArray(n) ? n[typeof e == "number" ? e : 0]?.replace("/", "") : void 0;
|
|
737
|
+
}
|
|
738
|
+
}, eo = {
|
|
739
|
+
name: "subdomain",
|
|
740
|
+
lookup(t) {
|
|
741
|
+
let {
|
|
742
|
+
lookupFromSubdomainIndex: e
|
|
743
|
+
} = t;
|
|
744
|
+
const n = typeof e == "number" ? e + 1 : 1, o = typeof window < "u" && window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
|
|
745
|
+
if (o)
|
|
746
|
+
return o[n];
|
|
747
|
+
}
|
|
748
|
+
};
|
|
749
|
+
let Tt = !1;
|
|
750
|
+
try {
|
|
751
|
+
document.cookie, Tt = !0;
|
|
752
|
+
} catch {
|
|
753
|
+
}
|
|
754
|
+
const bt = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
755
|
+
Tt || bt.splice(1, 1);
|
|
756
|
+
const to = () => ({
|
|
757
|
+
order: bt,
|
|
758
|
+
lookupQuerystring: "lng",
|
|
759
|
+
lookupCookie: "i18next",
|
|
760
|
+
lookupLocalStorage: "i18nextLng",
|
|
761
|
+
lookupSessionStorage: "i18nextLng",
|
|
762
|
+
// cache user language
|
|
763
|
+
caches: ["localStorage"],
|
|
764
|
+
excludeCacheFor: ["cimode"],
|
|
765
|
+
// cookieMinutes: 10,
|
|
766
|
+
// cookieDomain: 'myDomain'
|
|
767
|
+
convertDetectedLanguage: (t) => t
|
|
768
|
+
});
|
|
769
|
+
class wt {
|
|
770
|
+
constructor(e) {
|
|
771
|
+
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
772
|
+
this.type = "languageDetector", this.detectors = {}, this.init(e, n);
|
|
773
|
+
}
|
|
774
|
+
init() {
|
|
775
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
776
|
+
languageUtils: {}
|
|
777
|
+
}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
778
|
+
this.services = e, this.options = Wn(n, this.options || {}, to()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (r) => r.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = o, this.addDetector(qn), this.addDetector(Vn), this.addDetector(Kn), this.addDetector(Qn), this.addDetector(Xn), this.addDetector(Zn), this.addDetector(Jn), this.addDetector(eo), this.addDetector(Gn);
|
|
779
|
+
}
|
|
780
|
+
addDetector(e) {
|
|
781
|
+
return this.detectors[e.name] = e, this;
|
|
782
|
+
}
|
|
783
|
+
detect() {
|
|
784
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order, n = [];
|
|
785
|
+
return e.forEach((o) => {
|
|
786
|
+
if (this.detectors[o]) {
|
|
787
|
+
let r = this.detectors[o].lookup(this.options);
|
|
788
|
+
r && typeof r == "string" && (r = [r]), r && (n = n.concat(r));
|
|
789
|
+
}
|
|
790
|
+
}), n = n.filter((o) => o != null && !Rn(o)).map((o) => this.options.convertDetectedLanguage(o)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
|
|
791
|
+
}
|
|
792
|
+
cacheUserLanguage(e) {
|
|
793
|
+
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
794
|
+
n && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || n.forEach((o) => {
|
|
795
|
+
this.detectors[o] && this.detectors[o].cacheUserLanguage(e, this.options);
|
|
796
|
+
}));
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
wt.type = "languageDetector";
|
|
800
|
+
const no = {
|
|
801
|
+
type: "3rdParty",
|
|
802
|
+
init(t) {
|
|
803
|
+
Vt(t.options.react), Gt(t);
|
|
804
|
+
}
|
|
805
|
+
};
|
|
806
|
+
function oo({
|
|
1137
807
|
children: t
|
|
1138
808
|
}) {
|
|
1139
|
-
const [e,
|
|
809
|
+
const [e, n] = q([]), o = Rt(), r = ot(0), s = ot(/* @__PURE__ */ new WeakMap()), i = Ve(function(m, h, f = {}) {
|
|
1140
810
|
const {
|
|
1141
|
-
onClose:
|
|
811
|
+
onClose: p = async () => {
|
|
1142
812
|
}
|
|
1143
|
-
} =
|
|
1144
|
-
let
|
|
1145
|
-
const
|
|
1146
|
-
|
|
1147
|
-
}),
|
|
1148
|
-
|
|
1149
|
-
const
|
|
1150
|
-
key:
|
|
813
|
+
} = f;
|
|
814
|
+
let g;
|
|
815
|
+
const x = new Promise((y) => {
|
|
816
|
+
g = y;
|
|
817
|
+
}), w = `${o}-${r.current}`;
|
|
818
|
+
r.current += 1;
|
|
819
|
+
const S = {
|
|
820
|
+
key: w,
|
|
1151
821
|
open: !0,
|
|
1152
|
-
promise:
|
|
1153
|
-
Component:
|
|
1154
|
-
payload:
|
|
1155
|
-
onClose:
|
|
1156
|
-
resolve:
|
|
822
|
+
promise: x,
|
|
823
|
+
Component: m,
|
|
824
|
+
payload: h,
|
|
825
|
+
onClose: p,
|
|
826
|
+
resolve: g
|
|
1157
827
|
};
|
|
1158
|
-
return
|
|
1159
|
-
}), l = (
|
|
1160
|
-
|
|
1161
|
-
},
|
|
1162
|
-
|
|
1163
|
-
...
|
|
828
|
+
return s.current.set(x, S), n((y) => [...y, S]), x;
|
|
829
|
+
}), l = (d) => {
|
|
830
|
+
n((m) => m.filter((h) => h.promise !== d)), s.current.delete(d);
|
|
831
|
+
}, c = Ve(function(m) {
|
|
832
|
+
n((h) => h.map((f) => f.promise === m ? {
|
|
833
|
+
...f,
|
|
1164
834
|
open: !1
|
|
1165
|
-
} :
|
|
1166
|
-
}),
|
|
1167
|
-
const
|
|
1168
|
-
if (!
|
|
835
|
+
} : f)), setTimeout(() => l(m), 1e3);
|
|
836
|
+
}), u = Ve(async function(m, h) {
|
|
837
|
+
const f = s.current.get(m);
|
|
838
|
+
if (!f)
|
|
1169
839
|
throw new Error("Dialog not found in stack");
|
|
1170
840
|
try {
|
|
1171
|
-
await
|
|
841
|
+
await f.onClose(h);
|
|
1172
842
|
} finally {
|
|
1173
|
-
|
|
843
|
+
f.resolve(h), c(m);
|
|
1174
844
|
}
|
|
1175
|
-
return
|
|
845
|
+
return m;
|
|
1176
846
|
});
|
|
1177
|
-
return /* @__PURE__ */
|
|
1178
|
-
open:
|
|
1179
|
-
close:
|
|
847
|
+
return /* @__PURE__ */ D(Kt.Provider, { value: {
|
|
848
|
+
open: i,
|
|
849
|
+
close: u
|
|
1180
850
|
}, children: [
|
|
1181
851
|
t,
|
|
1182
852
|
e.map(({
|
|
1183
|
-
key:
|
|
1184
|
-
open:
|
|
1185
|
-
Component:
|
|
1186
|
-
payload:
|
|
1187
|
-
promise:
|
|
1188
|
-
}) => /* @__PURE__ */
|
|
1189
|
-
await
|
|
1190
|
-
} },
|
|
853
|
+
key: d,
|
|
854
|
+
open: m,
|
|
855
|
+
Component: h,
|
|
856
|
+
payload: f,
|
|
857
|
+
promise: p
|
|
858
|
+
}) => /* @__PURE__ */ a(h, { payload: f, open: m, onClose: async (g) => {
|
|
859
|
+
await u(p, g);
|
|
860
|
+
} }, d))
|
|
1191
861
|
] });
|
|
1192
862
|
}
|
|
1193
|
-
const
|
|
1194
|
-
const t =
|
|
863
|
+
const io = () => {
|
|
864
|
+
const t = R(1);
|
|
1195
865
|
let e;
|
|
1196
|
-
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
1197
|
-
/* @__PURE__ */
|
|
1198
|
-
/* @__PURE__ */
|
|
1199
|
-
|
|
866
|
+
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ D(Ot, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
|
|
867
|
+
/* @__PURE__ */ a("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
|
|
868
|
+
/* @__PURE__ */ a(Ct, { variant: "h6", children: on.VITE_APP_TITLE }),
|
|
869
|
+
/* @__PURE__ */ a(_t, { size: "small", label: "TEST", color: "info" })
|
|
1200
870
|
] }), t[0] = e) : e = t[0], e;
|
|
1201
|
-
},
|
|
871
|
+
}, Ke = 34, ro = Ze(mn)(({
|
|
1202
872
|
theme: t
|
|
1203
873
|
}) => ({
|
|
1204
874
|
borderRadius: 8,
|
|
@@ -1219,7 +889,7 @@ const un = () => {
|
|
|
1219
889
|
"& .MuiAvatar-root": {
|
|
1220
890
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
1221
891
|
}
|
|
1222
|
-
})),
|
|
892
|
+
})), so = Ze(Sn)(({
|
|
1223
893
|
theme: t
|
|
1224
894
|
}) => ({
|
|
1225
895
|
borderRadius: 8,
|
|
@@ -1240,40 +910,40 @@ const un = () => {
|
|
|
1240
910
|
"& .MuiAvatar-root": {
|
|
1241
911
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
1242
912
|
}
|
|
1243
|
-
})),
|
|
1244
|
-
const e =
|
|
1245
|
-
item:
|
|
913
|
+
})), ao = (t) => {
|
|
914
|
+
const e = R(17), {
|
|
915
|
+
item: n,
|
|
1246
916
|
collapsed: o
|
|
1247
917
|
} = t;
|
|
1248
|
-
if (
|
|
1249
|
-
let
|
|
1250
|
-
e[0] !== o ? (
|
|
918
|
+
if (n.icon || o) {
|
|
919
|
+
let r;
|
|
920
|
+
e[0] !== o ? (r = o ? {
|
|
1251
921
|
position: "absolute",
|
|
1252
922
|
left: "50%",
|
|
1253
923
|
top: "calc(50% - 6px)",
|
|
1254
924
|
transform: "translate(-50%, -50%)"
|
|
1255
|
-
} : {}, e[0] = o, e[1] =
|
|
1256
|
-
let
|
|
1257
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
925
|
+
} : {}, e[0] = o, e[1] = r) : r = e[1];
|
|
926
|
+
let s;
|
|
927
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
|
|
1258
928
|
display: "flex",
|
|
1259
929
|
alignItems: "center",
|
|
1260
930
|
justifyContent: "center",
|
|
1261
|
-
minWidth:
|
|
1262
|
-
}, e[2] =
|
|
1263
|
-
const
|
|
931
|
+
minWidth: Ke
|
|
932
|
+
}, e[2] = s) : s = e[2];
|
|
933
|
+
const i = n.icon ?? null;
|
|
1264
934
|
let l;
|
|
1265
|
-
e[3] !== o || e[4] !==
|
|
1266
|
-
width:
|
|
1267
|
-
height:
|
|
935
|
+
e[3] !== o || e[4] !== n.icon || e[5] !== n.title ? (l = !n.icon && o ? /* @__PURE__ */ a(un, { sx: {
|
|
936
|
+
width: Ke - 7,
|
|
937
|
+
height: Ke - 7,
|
|
1268
938
|
fontSize: 12
|
|
1269
|
-
}, children:
|
|
1270
|
-
let
|
|
1271
|
-
e[7] !==
|
|
1272
|
-
|
|
939
|
+
}, children: n.title }) : null, e[3] = o, e[4] = n.icon, e[5] = n.title, e[6] = l) : l = e[6];
|
|
940
|
+
let c;
|
|
941
|
+
e[7] !== i || e[8] !== l ? (c = /* @__PURE__ */ D(hn, { sx: s, children: [
|
|
942
|
+
i,
|
|
1273
943
|
l
|
|
1274
|
-
] }), e[7] =
|
|
1275
|
-
let
|
|
1276
|
-
e[10] !== o || e[11] !==
|
|
944
|
+
] }), e[7] = i, e[8] = l, e[9] = c) : c = e[9];
|
|
945
|
+
let u;
|
|
946
|
+
e[10] !== o || e[11] !== n.title ? (u = o ? /* @__PURE__ */ a(xn, { variant: "caption", sx: {
|
|
1277
947
|
position: "absolute",
|
|
1278
948
|
bottom: -18,
|
|
1279
949
|
left: "50%",
|
|
@@ -1284,100 +954,100 @@ const un = () => {
|
|
|
1284
954
|
whiteSpace: "nowrap",
|
|
1285
955
|
overflow: "hidden",
|
|
1286
956
|
textOverflow: "ellipsis",
|
|
1287
|
-
maxWidth:
|
|
1288
|
-
}, children:
|
|
1289
|
-
let
|
|
1290
|
-
return e[13] !==
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
] }), e[13] =
|
|
957
|
+
maxWidth: Fe - 28
|
|
958
|
+
}, children: n.title }) : null, e[10] = o, e[11] = n.title, e[12] = u) : u = e[12];
|
|
959
|
+
let d;
|
|
960
|
+
return e[13] !== r || e[14] !== c || e[15] !== u ? (d = /* @__PURE__ */ D(St, { sx: r, children: [
|
|
961
|
+
c,
|
|
962
|
+
u
|
|
963
|
+
] }), e[13] = r, e[14] = c, e[15] = u, e[16] = d) : d = e[16], d;
|
|
1294
964
|
}
|
|
1295
965
|
return null;
|
|
1296
|
-
},
|
|
1297
|
-
const e =
|
|
1298
|
-
open:
|
|
966
|
+
}, lo = (t) => {
|
|
967
|
+
const e = R(10), {
|
|
968
|
+
open: n,
|
|
1299
969
|
anchorEl: o,
|
|
1300
|
-
children:
|
|
970
|
+
children: r
|
|
1301
971
|
} = t;
|
|
1302
|
-
let
|
|
1303
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
972
|
+
let s;
|
|
973
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
|
|
1304
974
|
name: "offset",
|
|
1305
975
|
options: {
|
|
1306
976
|
offset: [6, 0]
|
|
1307
977
|
}
|
|
1308
|
-
}, e[0] =
|
|
1309
|
-
let
|
|
1310
|
-
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
978
|
+
}, e[0] = s) : s = e[0];
|
|
979
|
+
let i;
|
|
980
|
+
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
1311
981
|
name: "preventOverflow",
|
|
1312
982
|
options: {
|
|
1313
983
|
padding: 8
|
|
1314
984
|
}
|
|
1315
|
-
}, e[1] =
|
|
985
|
+
}, e[1] = i) : i = e[1];
|
|
1316
986
|
let l;
|
|
1317
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
987
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [s, i, {
|
|
1318
988
|
name: "flip",
|
|
1319
989
|
options: {
|
|
1320
990
|
fallbackPlacements: ["right-end", "left-start"]
|
|
1321
991
|
}
|
|
1322
992
|
}], e[2] = l) : l = e[2];
|
|
1323
|
-
let
|
|
1324
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
993
|
+
let c;
|
|
994
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
1325
995
|
pt: 0.5,
|
|
1326
996
|
pb: 0.5,
|
|
1327
997
|
maxHeight: "min(calc(100vh - 100px), 560px)",
|
|
1328
998
|
overflowY: "auto",
|
|
1329
999
|
overscrollBehavior: "contain"
|
|
1330
|
-
}, e[3] =
|
|
1331
|
-
let d;
|
|
1332
|
-
e[4] !== s ? (d = /* @__PURE__ */ p(Mr, { sx: f, children: s }), e[4] = s, e[5] = d) : d = e[5];
|
|
1000
|
+
}, e[3] = c) : c = e[3];
|
|
1333
1001
|
let u;
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1002
|
+
e[4] !== r ? (u = /* @__PURE__ */ a(gn, { sx: c, children: r }), e[4] = r, e[5] = u) : u = e[5];
|
|
1003
|
+
let d;
|
|
1004
|
+
return e[6] !== o || e[7] !== n || e[8] !== u ? (d = /* @__PURE__ */ a(yn, { open: n, anchorEl: o, placement: "right-start", modifiers: l, children: u }), e[6] = o, e[7] = n, e[8] = u, e[9] = d) : d = e[9], d;
|
|
1005
|
+
}, co = (t) => {
|
|
1006
|
+
const e = R(57), {
|
|
1007
|
+
item: n,
|
|
1338
1008
|
isOpen: o,
|
|
1339
|
-
selected:
|
|
1340
|
-
disabled:
|
|
1341
|
-
collapsed:
|
|
1009
|
+
selected: r,
|
|
1010
|
+
disabled: s,
|
|
1011
|
+
collapsed: i,
|
|
1342
1012
|
isSidebarFullyExpanded: l,
|
|
1343
|
-
isSidebarFullyCollapsed:
|
|
1344
|
-
onClick:
|
|
1345
|
-
renderNested:
|
|
1346
|
-
onClose:
|
|
1347
|
-
} = t,
|
|
1348
|
-
let
|
|
1349
|
-
e[0] !==
|
|
1013
|
+
isSidebarFullyCollapsed: c,
|
|
1014
|
+
onClick: u,
|
|
1015
|
+
renderNested: d,
|
|
1016
|
+
onClose: m
|
|
1017
|
+
} = t, h = l === void 0 ? !0 : l, [f, p] = q(null), [g, x] = q(null);
|
|
1018
|
+
let w;
|
|
1019
|
+
e[0] !== i || e[1] !== o || e[2] !== c || e[3] !== h || e[4] !== n.children ? (w = () => i && c && n.children ? {
|
|
1350
1020
|
fontSize: 18,
|
|
1351
1021
|
position: "absolute",
|
|
1352
1022
|
top: "41.5%",
|
|
1353
1023
|
right: "2px",
|
|
1354
1024
|
transform: "translateY(-50%) rotate(-90deg)"
|
|
1355
|
-
} : !
|
|
1025
|
+
} : !i && h && n.children ? {
|
|
1356
1026
|
ml: 0.5,
|
|
1357
1027
|
transform: `rotate(${o ? 0 : -90}deg)`
|
|
1358
1028
|
} : {
|
|
1359
1029
|
display: "none"
|
|
1360
|
-
}, e[0] =
|
|
1361
|
-
const
|
|
1362
|
-
let
|
|
1363
|
-
e[6] !==
|
|
1030
|
+
}, e[0] = i, e[1] = o, e[2] = c, e[3] = h, e[4] = n.children, e[5] = w) : w = e[5];
|
|
1031
|
+
const S = w, y = n.children && !i, k = i ? 60 : 48;
|
|
1032
|
+
let T;
|
|
1033
|
+
e[6] !== k ? (T = {
|
|
1364
1034
|
px: 1.4,
|
|
1365
|
-
height:
|
|
1366
|
-
}, e[6] =
|
|
1367
|
-
let
|
|
1368
|
-
e[8] !==
|
|
1369
|
-
selected:
|
|
1370
|
-
disabled:
|
|
1371
|
-
sx:
|
|
1372
|
-
}, e[8] =
|
|
1373
|
-
const
|
|
1374
|
-
let
|
|
1375
|
-
e[12] !==
|
|
1376
|
-
let
|
|
1377
|
-
e[15] !==
|
|
1035
|
+
height: k
|
|
1036
|
+
}, e[6] = k, e[7] = T) : T = e[7];
|
|
1037
|
+
let v;
|
|
1038
|
+
e[8] !== s || e[9] !== r || e[10] !== T ? (v = {
|
|
1039
|
+
selected: r,
|
|
1040
|
+
disabled: s,
|
|
1041
|
+
sx: T
|
|
1042
|
+
}, e[8] = s, e[9] = r, e[10] = T, e[11] = v) : v = e[11];
|
|
1043
|
+
const z = v;
|
|
1044
|
+
let I;
|
|
1045
|
+
e[12] !== i || e[13] !== n ? (I = /* @__PURE__ */ a(ao, { item: n, collapsed: i }), e[12] = i, e[13] = n, e[14] = I) : I = e[14];
|
|
1046
|
+
let L;
|
|
1047
|
+
e[15] !== i || e[16] !== n.title ? (L = !i && /* @__PURE__ */ a(pn, { primary: n.title, slotProps: {
|
|
1378
1048
|
primary: {
|
|
1379
1049
|
noWrap: !0,
|
|
1380
|
-
title:
|
|
1050
|
+
title: n.title
|
|
1381
1051
|
}
|
|
1382
1052
|
}, sx: {
|
|
1383
1053
|
ml: 1.2,
|
|
@@ -1388,384 +1058,384 @@ const un = () => {
|
|
|
1388
1058
|
overflow: "hidden",
|
|
1389
1059
|
textOverflow: "ellipsis"
|
|
1390
1060
|
}
|
|
1391
|
-
} }), e[15] =
|
|
1392
|
-
let
|
|
1393
|
-
e[18] !==
|
|
1394
|
-
let
|
|
1395
|
-
e[21] !==
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
] }), e[21] =
|
|
1400
|
-
const
|
|
1401
|
-
let
|
|
1402
|
-
e[25] !==
|
|
1403
|
-
onMouseEnter: (
|
|
1404
|
-
|
|
1061
|
+
} }), e[15] = i, e[16] = n.title, e[17] = L) : L = e[17];
|
|
1062
|
+
let M;
|
|
1063
|
+
e[18] !== S || e[19] !== n.children ? (M = n.children ? /* @__PURE__ */ a(dn, { sx: S }) : null, e[18] = S, e[19] = n.children, e[20] = M) : M = e[20];
|
|
1064
|
+
let P;
|
|
1065
|
+
e[21] !== I || e[22] !== L || e[23] !== M ? (P = /* @__PURE__ */ D(Mt, { children: [
|
|
1066
|
+
I,
|
|
1067
|
+
L,
|
|
1068
|
+
M
|
|
1069
|
+
] }), e[21] = I, e[22] = L, e[23] = M, e[24] = P) : P = e[24];
|
|
1070
|
+
const U = P;
|
|
1071
|
+
let $;
|
|
1072
|
+
e[25] !== i || e[26] !== n.children || e[27] !== n.title ? ($ = n.children && i ? {
|
|
1073
|
+
onMouseEnter: (H) => {
|
|
1074
|
+
x(H.currentTarget), p(n.title);
|
|
1405
1075
|
},
|
|
1406
1076
|
onMouseLeave: () => {
|
|
1407
|
-
|
|
1077
|
+
p(null);
|
|
1408
1078
|
}
|
|
1409
|
-
} : {}, e[25] =
|
|
1410
|
-
let
|
|
1411
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1079
|
+
} : {}, e[25] = i, e[26] = n.children, e[27] = n.title, e[28] = $) : $ = e[28];
|
|
1080
|
+
let A;
|
|
1081
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = {
|
|
1412
1082
|
py: 0,
|
|
1413
1083
|
px: 1,
|
|
1414
1084
|
overflowX: "hidden"
|
|
1415
|
-
}, e[29] =
|
|
1085
|
+
}, e[29] = A) : A = e[29];
|
|
1086
|
+
let _;
|
|
1087
|
+
e[30] !== U || e[31] !== z || e[32] !== n || e[33] !== u || e[34] !== m || e[35] !== y ? (_ = y ? /* @__PURE__ */ a(ro, { ...z, onClick: () => u?.(n), children: U }) : /* @__PURE__ */ a(so, { ...z, to: n.to, href: n.href, params: n.params, search: n.search, onClick: m, children: U }), e[30] = U, e[31] = z, e[32] = n, e[33] = u, e[34] = m, e[35] = y, e[36] = _) : _ = e[36];
|
|
1088
|
+
let O;
|
|
1089
|
+
e[37] !== g || e[38] !== i || e[39] !== f || e[40] !== n.children || e[41] !== n.title || e[42] !== d ? (O = n.children && i ? /* @__PURE__ */ a(lo, { open: n.title === f, anchorEl: g, children: d?.(n.children) }) : null, e[37] = g, e[38] = i, e[39] = f, e[40] = n.children, e[41] = n.title, e[42] = d, e[43] = O) : O = e[43];
|
|
1416
1090
|
let F;
|
|
1417
|
-
e[
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
] }, r.to), e[53] = r.to, e[54] = te, e[55] = V, e[56] = i) : i = e[56], i;
|
|
1433
|
-
}, yn = (t) => !("kind" in t), gn = (t) => "kind" in t && t.kind === "divider", it = (t) => "kind" in t && t.kind === "header", $t = (t) => {
|
|
1434
|
-
const e = ae(31), {
|
|
1435
|
-
subNavigation: r,
|
|
1091
|
+
e[44] !== $ || e[45] !== _ || e[46] !== O ? (F = /* @__PURE__ */ D(fn, { ...$, sx: A, children: [
|
|
1092
|
+
_,
|
|
1093
|
+
O
|
|
1094
|
+
] }), e[44] = $, e[45] = _, e[46] = O, e[47] = F) : F = e[47];
|
|
1095
|
+
const B = F;
|
|
1096
|
+
let E;
|
|
1097
|
+
e[48] !== i || e[49] !== o || e[50] !== n.children || e[51] !== d ? (E = n.children && !i ? /* @__PURE__ */ a(It, { in: o, timeout: "auto", unmountOnExit: !0, children: d?.(n.children) }) : null, e[48] = i, e[49] = o, e[50] = n.children, e[51] = d, e[52] = E) : E = e[52];
|
|
1098
|
+
let N;
|
|
1099
|
+
return e[53] !== n.to || e[54] !== B || e[55] !== E ? (N = /* @__PURE__ */ D(Be, { children: [
|
|
1100
|
+
B,
|
|
1101
|
+
E
|
|
1102
|
+
] }, n.to), e[53] = n.to, e[54] = B, e[55] = E, e[56] = N) : N = e[56], N;
|
|
1103
|
+
}, uo = (t) => !("kind" in t), fo = (t) => "kind" in t && t.kind === "divider", Xe = (t) => "kind" in t && t.kind === "header", kt = (t) => {
|
|
1104
|
+
const e = R(31), {
|
|
1105
|
+
subNavigation: n,
|
|
1436
1106
|
depth: o,
|
|
1437
|
-
collapsed:
|
|
1438
|
-
isPopover:
|
|
1439
|
-
isSidebarFullyExpanded:
|
|
1107
|
+
collapsed: r,
|
|
1108
|
+
isPopover: s,
|
|
1109
|
+
isSidebarFullyExpanded: i,
|
|
1440
1110
|
isSidebarFullyCollapsed: l,
|
|
1441
|
-
expandedWidth:
|
|
1442
|
-
renderItem:
|
|
1443
|
-
activePath:
|
|
1444
|
-
onNavigate:
|
|
1445
|
-
onClose:
|
|
1446
|
-
} = t,
|
|
1447
|
-
let
|
|
1448
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1449
|
-
const [
|
|
1450
|
-
let
|
|
1451
|
-
e[1] !==
|
|
1452
|
-
|
|
1453
|
-
},
|
|
1454
|
-
let
|
|
1455
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1456
|
-
const
|
|
1457
|
-
let
|
|
1458
|
-
e[5] !==
|
|
1459
|
-
const
|
|
1460
|
-
let
|
|
1461
|
-
if (e[12] !==
|
|
1462
|
-
const
|
|
1463
|
-
let
|
|
1464
|
-
e[25] !==
|
|
1111
|
+
expandedWidth: c,
|
|
1112
|
+
renderItem: u,
|
|
1113
|
+
activePath: d,
|
|
1114
|
+
onNavigate: m,
|
|
1115
|
+
onClose: h
|
|
1116
|
+
} = t, f = o === void 0 ? 0 : o, p = i === void 0 ? !0 : i;
|
|
1117
|
+
let g;
|
|
1118
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = [], e[0] = g) : g = e[0];
|
|
1119
|
+
const [x, w] = q(g);
|
|
1120
|
+
let S, y;
|
|
1121
|
+
e[1] !== r ? (S = () => {
|
|
1122
|
+
r && w([]);
|
|
1123
|
+
}, y = [r], e[1] = r, e[2] = S, e[3] = y) : (S = e[2], y = e[3]), xt(S, y);
|
|
1124
|
+
let k;
|
|
1125
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (L) => w((M) => M.includes(L) ? M.filter((P) => P !== L) : [...M, L]), e[4] = k) : k = e[4];
|
|
1126
|
+
const T = k;
|
|
1127
|
+
let v;
|
|
1128
|
+
e[5] !== d || e[6] !== r || e[7] !== f || e[8] !== c || e[9] !== h || e[10] !== m ? (v = (L) => /* @__PURE__ */ a(kt, { subNavigation: L, depth: f + 1, isPopover: r, expandedWidth: c, activePath: d, onNavigate: m, onClose: h }), e[5] = d, e[6] = r, e[7] = f, e[8] = c, e[9] = h, e[10] = m, e[11] = v) : v = e[11];
|
|
1129
|
+
const z = v;
|
|
1130
|
+
let I;
|
|
1131
|
+
if (e[12] !== d || e[13] !== r || e[14] !== f || e[15] !== c || e[16] !== s || e[17] !== l || e[18] !== p || e[19] !== h || e[20] !== x || e[21] !== u || e[22] !== z || e[23] !== n) {
|
|
1132
|
+
const L = n.filter(mo), M = s && f === 1 ? 0.5 : 0, P = f === 0 && !s ? 4 : 0.5, U = (s ? 1 : 2) * (s ? f - 1 : f), $ = s && f === 1 ? je : "auto", A = r ? Fe : "auto";
|
|
1133
|
+
let _;
|
|
1134
|
+
e[25] !== P || e[26] !== U || e[27] !== $ || e[28] !== A || e[29] !== M ? (_ = {
|
|
1465
1135
|
padding: 0,
|
|
1466
|
-
mt:
|
|
1467
|
-
mb:
|
|
1468
|
-
pl:
|
|
1469
|
-
minWidth:
|
|
1470
|
-
width:
|
|
1471
|
-
}, e[25] =
|
|
1472
|
-
if (
|
|
1473
|
-
return /* @__PURE__ */
|
|
1136
|
+
mt: M,
|
|
1137
|
+
mb: P,
|
|
1138
|
+
pl: U,
|
|
1139
|
+
minWidth: $,
|
|
1140
|
+
width: A
|
|
1141
|
+
}, e[25] = P, e[26] = U, e[27] = $, e[28] = A, e[29] = M, e[30] = _) : _ = e[30], I = /* @__PURE__ */ a(ln, { sx: _, children: L.map((O, F) => {
|
|
1142
|
+
if (Xe(O))
|
|
1143
|
+
return /* @__PURE__ */ a(cn, { sx: {
|
|
1474
1144
|
fontSize: 12,
|
|
1475
1145
|
fontWeight: "700",
|
|
1476
|
-
height:
|
|
1146
|
+
height: r ? 0 : 40,
|
|
1477
1147
|
px: 2,
|
|
1478
|
-
minWidth:
|
|
1148
|
+
minWidth: c,
|
|
1479
1149
|
overflow: "hidden",
|
|
1480
1150
|
textOverflow: "ellipsis",
|
|
1481
1151
|
whiteSpace: "nowrap",
|
|
1482
1152
|
zIndex: 2,
|
|
1483
1153
|
bgcolor: "transparent",
|
|
1484
1154
|
position: "static"
|
|
1485
|
-
}, children:
|
|
1486
|
-
if (
|
|
1487
|
-
const
|
|
1488
|
-
return /* @__PURE__ */
|
|
1155
|
+
}, children: O.title }, `subheader-${f}-${F}`);
|
|
1156
|
+
if (fo(O)) {
|
|
1157
|
+
const N = L[F + 1];
|
|
1158
|
+
return /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(an, { sx: {
|
|
1489
1159
|
mx: 1,
|
|
1490
1160
|
mt: 1,
|
|
1491
|
-
mb:
|
|
1492
|
-
} }) }, `divider-${
|
|
1161
|
+
mb: Xe(N) && !r ? 0 : 1
|
|
1162
|
+
} }) }, `divider-${f}-${F}`);
|
|
1493
1163
|
}
|
|
1494
|
-
if (!
|
|
1164
|
+
if (!uo(O))
|
|
1495
1165
|
return null;
|
|
1496
|
-
const
|
|
1497
|
-
return
|
|
1498
|
-
collapsed: !!
|
|
1499
|
-
}) },
|
|
1500
|
-
}) }), e[12] =
|
|
1166
|
+
const B = `item-${f}-${F}`, E = `${f}-${F}-${O.title}`;
|
|
1167
|
+
return u ? /* @__PURE__ */ a(Be, { children: u(O, {
|
|
1168
|
+
collapsed: !!r
|
|
1169
|
+
}) }, B) : /* @__PURE__ */ a(co, { item: O, isOpen: x.includes(E), selected: d === O.to, collapsed: r, isSidebarFullyExpanded: p, isSidebarFullyCollapsed: l, onClick: O.children && !r ? () => T(E) : void 0, renderNested: z, onClose: h }, B);
|
|
1170
|
+
}) }), e[12] = d, e[13] = r, e[14] = f, e[15] = c, e[16] = s, e[17] = l, e[18] = p, e[19] = h, e[20] = x, e[21] = u, e[22] = z, e[23] = n, e[24] = I;
|
|
1501
1171
|
} else
|
|
1502
|
-
|
|
1503
|
-
return
|
|
1172
|
+
I = e[24];
|
|
1173
|
+
return I;
|
|
1504
1174
|
};
|
|
1505
|
-
function
|
|
1175
|
+
function mo(t) {
|
|
1506
1176
|
return !t.hidden;
|
|
1507
1177
|
}
|
|
1508
|
-
const
|
|
1509
|
-
const e =
|
|
1510
|
-
navigation:
|
|
1178
|
+
const Fe = 84, je = 320, pt = 64, ho = (t) => {
|
|
1179
|
+
const e = R(29), {
|
|
1180
|
+
navigation: n,
|
|
1511
1181
|
expanded: o,
|
|
1512
|
-
setExpanded:
|
|
1513
|
-
} = t,
|
|
1514
|
-
let
|
|
1515
|
-
e[0] !== l.breakpoints ? (
|
|
1516
|
-
const
|
|
1517
|
-
let
|
|
1518
|
-
e[2] !== o || e[3] !==
|
|
1182
|
+
setExpanded: r
|
|
1183
|
+
} = t, s = rn(), i = sn(), l = en();
|
|
1184
|
+
let c;
|
|
1185
|
+
e[0] !== l.breakpoints ? (c = l.breakpoints.up("sm"), e[0] = l.breakpoints, e[1] = c) : c = e[1];
|
|
1186
|
+
const u = Et(c);
|
|
1187
|
+
let d;
|
|
1188
|
+
e[2] !== o || e[3] !== s || e[4] !== n || e[5] !== i.location.pathname || e[6] !== r || e[7] !== u ? (d = (x) => /* @__PURE__ */ a(St, { component: "nav", sx: {
|
|
1519
1189
|
height: "100%",
|
|
1520
1190
|
display: "flex",
|
|
1521
1191
|
flexDirection: "column",
|
|
1522
1192
|
justifyContent: "space-between",
|
|
1523
1193
|
overflow: "auto",
|
|
1524
|
-
scrollbarGutter:
|
|
1194
|
+
scrollbarGutter: x ? "stable" : "auto",
|
|
1525
1195
|
overflowX: "hidden",
|
|
1526
|
-
pt:
|
|
1527
|
-
}, children: /* @__PURE__ */
|
|
1528
|
-
const
|
|
1529
|
-
if (
|
|
1530
|
-
const
|
|
1531
|
-
let
|
|
1532
|
-
e[9] !==
|
|
1196
|
+
pt: n[0] && Xe(n[0]) && !x ? 0 : 2
|
|
1197
|
+
}, children: /* @__PURE__ */ a(kt, { subNavigation: n, collapsed: x, isSidebarFullyExpanded: o, isSidebarFullyCollapsed: !o, expandedWidth: je, activePath: i.location.pathname, onNavigate: s, onClose: u ? void 0 : () => r(!1) }) }), e[2] = o, e[3] = s, e[4] = n, e[5] = i.location.pathname, e[6] = r, e[7] = u, e[8] = d) : d = e[8];
|
|
1198
|
+
const m = d;
|
|
1199
|
+
if (u) {
|
|
1200
|
+
const x = o ? je : Fe, w = o ? je : Fe;
|
|
1201
|
+
let S;
|
|
1202
|
+
e[9] !== w ? (S = {
|
|
1533
1203
|
position: "absolute",
|
|
1534
|
-
top: `${
|
|
1535
|
-
height: `calc(100% - ${
|
|
1536
|
-
width:
|
|
1204
|
+
top: `${pt}px`,
|
|
1205
|
+
height: `calc(100% - ${pt}px)`,
|
|
1206
|
+
width: w,
|
|
1537
1207
|
borderTop: "1px solid",
|
|
1538
1208
|
borderColor: "var(--mui-palette-divider)"
|
|
1539
|
-
}, e[9] =
|
|
1540
|
-
let
|
|
1541
|
-
e[11] !==
|
|
1542
|
-
width:
|
|
1543
|
-
"& .MuiDrawer-paper":
|
|
1544
|
-
}, e[11] =
|
|
1545
|
-
const
|
|
1546
|
-
let
|
|
1547
|
-
e[14] !==
|
|
1548
|
-
let
|
|
1549
|
-
return e[17] !==
|
|
1209
|
+
}, e[9] = w, e[10] = S) : S = e[10];
|
|
1210
|
+
let y;
|
|
1211
|
+
e[11] !== x || e[12] !== S ? (y = {
|
|
1212
|
+
width: x,
|
|
1213
|
+
"& .MuiDrawer-paper": S
|
|
1214
|
+
}, e[11] = x, e[12] = S, e[13] = y) : y = e[13];
|
|
1215
|
+
const k = !o;
|
|
1216
|
+
let T;
|
|
1217
|
+
e[14] !== m || e[15] !== k ? (T = m(k), e[14] = m, e[15] = k, e[16] = T) : T = e[16];
|
|
1218
|
+
let v;
|
|
1219
|
+
return e[17] !== y || e[18] !== T ? (v = /* @__PURE__ */ a(rt, { variant: "permanent", sx: y, children: T }), e[17] = y, e[18] = T, e[19] = v) : v = e[19], v;
|
|
1550
1220
|
}
|
|
1551
|
-
let
|
|
1552
|
-
e[20] !==
|
|
1553
|
-
const
|
|
1554
|
-
let
|
|
1555
|
-
e[22] !==
|
|
1556
|
-
let
|
|
1557
|
-
return e[25] !== o || e[26] !==
|
|
1558
|
-
},
|
|
1559
|
-
redirectUri:
|
|
1221
|
+
let h;
|
|
1222
|
+
e[20] !== r ? (h = () => r(!1), e[20] = r, e[21] = h) : h = e[21];
|
|
1223
|
+
const f = !o;
|
|
1224
|
+
let p;
|
|
1225
|
+
e[22] !== m || e[23] !== f ? (p = m(f), e[22] = m, e[23] = f, e[24] = p) : p = e[24];
|
|
1226
|
+
let g;
|
|
1227
|
+
return e[25] !== o || e[26] !== h || e[27] !== p ? (g = /* @__PURE__ */ a(rt, { open: o, onClose: h, children: p }), e[25] = o, e[26] = h, e[27] = p, e[28] = g) : g = e[28], g;
|
|
1228
|
+
}, vi = Ye().inputValidator(le.object({
|
|
1229
|
+
redirectUri: le.string()
|
|
1560
1230
|
})).handler(async ({
|
|
1561
1231
|
data: t
|
|
1562
1232
|
}) => {
|
|
1563
|
-
const e = await
|
|
1233
|
+
const e = await On(t.redirectUri), n = await et.fetchQuery({
|
|
1564
1234
|
queryKey: ["graph", "me", "memberOf"],
|
|
1565
|
-
queryFn: async () =>
|
|
1235
|
+
queryFn: async () => Je.request({
|
|
1566
1236
|
method: "GET",
|
|
1567
1237
|
url: "https://graph.microsoft.com/v1.0/me/memberOf?$select=displayName",
|
|
1568
1238
|
headers: {
|
|
1569
|
-
Authorization: `Bearer ${await
|
|
1239
|
+
Authorization: `Bearer ${await tt()}`
|
|
1570
1240
|
}
|
|
1571
|
-
}).then((o) => o.data.value.map((
|
|
1241
|
+
}).then((o) => o.data.value.map((r) => r.displayName)),
|
|
1572
1242
|
staleTime: 1 / 0,
|
|
1573
1243
|
gcTime: 1 / 0
|
|
1574
1244
|
});
|
|
1575
1245
|
return {
|
|
1576
1246
|
...e.user,
|
|
1577
|
-
groups:
|
|
1247
|
+
groups: n
|
|
1578
1248
|
};
|
|
1579
|
-
}),
|
|
1249
|
+
}), po = Ye({
|
|
1580
1250
|
method: "GET"
|
|
1581
|
-
}).handler(async () => await
|
|
1251
|
+
}).handler(async () => await et.fetchQuery({
|
|
1582
1252
|
queryKey: ["graph", "me"],
|
|
1583
|
-
queryFn: async () => await
|
|
1253
|
+
queryFn: async () => await Je.request({
|
|
1584
1254
|
method: "GET",
|
|
1585
1255
|
url: "https://graph.microsoft.com/v1.0/me?$select=id,displayName,jobTitle,mail,mobilePhone",
|
|
1586
1256
|
headers: {
|
|
1587
|
-
Authorization: `Bearer ${await
|
|
1257
|
+
Authorization: `Bearer ${await tt()}`
|
|
1588
1258
|
}
|
|
1589
1259
|
}).then((t) => t.data),
|
|
1590
1260
|
staleTime: 1 / 0,
|
|
1591
1261
|
gcTime: 1 / 0
|
|
1592
|
-
})),
|
|
1262
|
+
})), go = Ye({
|
|
1593
1263
|
method: "GET"
|
|
1594
|
-
}).handler(async () => await
|
|
1264
|
+
}).handler(async () => await et.fetchQuery({
|
|
1595
1265
|
queryKey: ["graph", "me", "photo"],
|
|
1596
1266
|
queryFn: async () => {
|
|
1597
|
-
const t = await
|
|
1267
|
+
const t = await Je.request({
|
|
1598
1268
|
method: "GET",
|
|
1599
1269
|
url: "https://graph.microsoft.com/v1.0/me/photo/$value",
|
|
1600
1270
|
headers: {
|
|
1601
|
-
Authorization: `Bearer ${await
|
|
1271
|
+
Authorization: `Bearer ${await tt()}`
|
|
1602
1272
|
},
|
|
1603
1273
|
responseType: "arraybuffer"
|
|
1604
|
-
}), e = t.headers["content-type"] ?? "image/jpeg",
|
|
1605
|
-
return `data:${e};base64,${
|
|
1274
|
+
}), e = t.headers["content-type"] ?? "image/jpeg", n = Buffer.from(t.data).toString("base64");
|
|
1275
|
+
return `data:${e};base64,${n}`;
|
|
1606
1276
|
},
|
|
1607
1277
|
staleTime: 1 / 0,
|
|
1608
1278
|
gcTime: 1 / 0
|
|
1609
|
-
})),
|
|
1610
|
-
const t =
|
|
1611
|
-
t:
|
|
1279
|
+
})), gt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), yo = () => {
|
|
1280
|
+
const t = R(105), [e, n] = q(), [o, r] = q("settings"), s = !!e, {
|
|
1281
|
+
t: i,
|
|
1612
1282
|
i18n: l
|
|
1613
|
-
} =
|
|
1614
|
-
mode:
|
|
1615
|
-
setMode:
|
|
1616
|
-
} =
|
|
1617
|
-
let
|
|
1618
|
-
if (t[0] !== l || t[1] !==
|
|
1619
|
-
const
|
|
1283
|
+
} = Qt(), {
|
|
1284
|
+
mode: c,
|
|
1285
|
+
setMode: u
|
|
1286
|
+
} = At();
|
|
1287
|
+
let d, m, h, f, p, g, x;
|
|
1288
|
+
if (t[0] !== l || t[1] !== c || t[2] !== u || t[3] !== i) {
|
|
1289
|
+
const F = (Array.isArray(l.options.supportedLngs) ? l.options.supportedLngs : []).filter(xo), B = new Intl.DisplayNames([l.language], {
|
|
1620
1290
|
type: "language"
|
|
1621
1291
|
});
|
|
1622
|
-
let
|
|
1623
|
-
t[11] !==
|
|
1624
|
-
let
|
|
1625
|
-
t[13] !==
|
|
1292
|
+
let E;
|
|
1293
|
+
t[11] !== i ? (E = i("Layout.Light"), t[11] = i, t[12] = E) : E = t[12];
|
|
1294
|
+
let N;
|
|
1295
|
+
t[13] !== E ? (N = {
|
|
1626
1296
|
mode: "light",
|
|
1627
|
-
icon:
|
|
1628
|
-
label:
|
|
1629
|
-
}, t[13] =
|
|
1630
|
-
let
|
|
1631
|
-
t[15] !==
|
|
1632
|
-
let
|
|
1633
|
-
t[17] !==
|
|
1297
|
+
icon: vn,
|
|
1298
|
+
label: E
|
|
1299
|
+
}, t[13] = E, t[14] = N) : N = t[14];
|
|
1300
|
+
let H;
|
|
1301
|
+
t[15] !== i ? (H = i("Layout.Dark"), t[15] = i, t[16] = H) : H = t[16];
|
|
1302
|
+
let V;
|
|
1303
|
+
t[17] !== H ? (V = {
|
|
1634
1304
|
mode: "dark",
|
|
1635
|
-
icon:
|
|
1636
|
-
label:
|
|
1637
|
-
}, t[17] =
|
|
1638
|
-
let
|
|
1639
|
-
t[19] !==
|
|
1640
|
-
let
|
|
1641
|
-
t[21] !==
|
|
1305
|
+
icon: wn,
|
|
1306
|
+
label: H
|
|
1307
|
+
}, t[17] = H, t[18] = V) : V = t[18];
|
|
1308
|
+
let G;
|
|
1309
|
+
t[19] !== i ? (G = i("Layout.System"), t[19] = i, t[20] = G) : G = t[20];
|
|
1310
|
+
let K;
|
|
1311
|
+
t[21] !== G ? (K = {
|
|
1642
1312
|
mode: "system",
|
|
1643
|
-
icon:
|
|
1644
|
-
label:
|
|
1645
|
-
}, t[21] =
|
|
1646
|
-
let
|
|
1647
|
-
t[23] !==
|
|
1648
|
-
const
|
|
1649
|
-
let
|
|
1650
|
-
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1651
|
-
let
|
|
1652
|
-
t[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1653
|
-
|
|
1654
|
-
}, t[28] =
|
|
1655
|
-
let
|
|
1656
|
-
t[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1657
|
-
const
|
|
1658
|
-
let
|
|
1659
|
-
t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1313
|
+
icon: Dn,
|
|
1314
|
+
label: G
|
|
1315
|
+
}, t[21] = G, t[22] = K) : K = t[22];
|
|
1316
|
+
let ue;
|
|
1317
|
+
t[23] !== N || t[24] !== V || t[25] !== K ? (ue = [N, V, K], t[23] = N, t[24] = V, t[25] = K, t[26] = ue) : ue = t[26];
|
|
1318
|
+
const fe = ue;
|
|
1319
|
+
let me;
|
|
1320
|
+
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (me = (j) => n(j.currentTarget), t[27] = me) : me = t[27], h = me;
|
|
1321
|
+
let he;
|
|
1322
|
+
t[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (he = () => {
|
|
1323
|
+
n(void 0), setTimeout(() => r("settings"), 300);
|
|
1324
|
+
}, t[28] = he) : he = t[28], m = he;
|
|
1325
|
+
let pe;
|
|
1326
|
+
t[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pe = (j) => () => r(j), t[29] = pe) : pe = t[29];
|
|
1327
|
+
const ge = pe;
|
|
1328
|
+
let ye;
|
|
1329
|
+
t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ye = {
|
|
1660
1330
|
backgroundColor: "transparent"
|
|
1661
|
-
}, t[30] =
|
|
1662
|
-
let m;
|
|
1663
|
-
t[31] !== n ? (m = n("Layout.Settings"), t[31] = n, t[32] = m) : m = t[32];
|
|
1331
|
+
}, t[30] = ye) : ye = t[30];
|
|
1664
1332
|
let Q;
|
|
1665
|
-
t[
|
|
1666
|
-
let
|
|
1667
|
-
t[
|
|
1333
|
+
t[31] !== i ? (Q = i("Layout.Settings"), t[31] = i, t[32] = Q) : Q = t[32];
|
|
1334
|
+
let X;
|
|
1335
|
+
t[33] !== Q ? (X = /* @__PURE__ */ a(qe, { sx: ye, children: Q }), t[33] = Q, t[34] = X) : X = t[34];
|
|
1336
|
+
let xe, Se;
|
|
1337
|
+
t[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = ge("theme"), Se = {
|
|
1668
1338
|
py: 0.3
|
|
1669
|
-
}, t[35] =
|
|
1339
|
+
}, t[35] = xe, t[36] = Se) : (xe = t[35], Se = t[36]);
|
|
1340
|
+
let Te;
|
|
1341
|
+
t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Te = /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(bn, {}) }), t[37] = Te) : Te = t[37];
|
|
1342
|
+
let Z;
|
|
1343
|
+
t[38] !== i ? (Z = i("Layout.Appearance"), t[38] = i, t[39] = Z) : Z = t[39];
|
|
1344
|
+
const We = fe.find((j) => j.mode === c)?.label;
|
|
1345
|
+
let J;
|
|
1346
|
+
t[40] !== Z || t[41] !== We ? (J = /* @__PURE__ */ a(ae, { primary: Z, secondary: We }), t[40] = Z, t[41] = We, t[42] = J) : J = t[42];
|
|
1670
1347
|
let be;
|
|
1671
|
-
t[
|
|
1672
|
-
let
|
|
1673
|
-
t[
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
t[44] !== ue ? (fe = /* @__PURE__ */ q(ve, { onClick: oe, sx: se, children: [
|
|
1681
|
-
be,
|
|
1682
|
-
ue,
|
|
1683
|
-
xe
|
|
1684
|
-
] }), t[44] = ue, t[45] = fe) : fe = t[45];
|
|
1685
|
-
let Se, Ee;
|
|
1686
|
-
t[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Se = D("language"), Ee = {
|
|
1348
|
+
t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ a(lt, {}), t[43] = be) : be = t[43];
|
|
1349
|
+
let ee;
|
|
1350
|
+
t[44] !== J ? (ee = /* @__PURE__ */ D(ce, { onClick: xe, sx: Se, children: [
|
|
1351
|
+
Te,
|
|
1352
|
+
J,
|
|
1353
|
+
be
|
|
1354
|
+
] }), t[44] = J, t[45] = ee) : ee = t[45];
|
|
1355
|
+
let we, ke;
|
|
1356
|
+
t[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = ge("language"), ke = {
|
|
1687
1357
|
py: 0.3
|
|
1688
|
-
}, t[46] =
|
|
1689
|
-
let
|
|
1690
|
-
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1691
|
-
let
|
|
1692
|
-
t[49] !==
|
|
1693
|
-
let
|
|
1694
|
-
t[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1695
|
-
const
|
|
1696
|
-
|
|
1697
|
-
/* @__PURE__ */
|
|
1698
|
-
|
|
1358
|
+
}, t[46] = we, t[47] = ke) : (we = t[46], ke = t[47]);
|
|
1359
|
+
let ve;
|
|
1360
|
+
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(Mn, {}) }), t[48] = ve) : ve = t[48];
|
|
1361
|
+
let Le;
|
|
1362
|
+
t[49] !== i ? (Le = i("Layout.Language"), t[49] = i, t[50] = Le) : Le = t[50];
|
|
1363
|
+
let De;
|
|
1364
|
+
t[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (De = /* @__PURE__ */ a(lt, {}), t[51] = De) : De = t[51];
|
|
1365
|
+
const Re = /* @__PURE__ */ D(ce, { onClick: we, sx: ke, children: [
|
|
1366
|
+
ve,
|
|
1367
|
+
/* @__PURE__ */ a(ae, { primary: Le, secondary: gt(B.of(l.language)) }),
|
|
1368
|
+
De
|
|
1699
1369
|
] });
|
|
1700
|
-
let
|
|
1701
|
-
t[52] !==
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
] }), t[52] =
|
|
1705
|
-
let
|
|
1706
|
-
t[56] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1370
|
+
let Me;
|
|
1371
|
+
t[52] !== X || t[53] !== ee || t[54] !== Re ? (Me = /* @__PURE__ */ D($e, { component: "nav", subheader: X, children: [
|
|
1372
|
+
ee,
|
|
1373
|
+
Re
|
|
1374
|
+
] }), t[52] = X, t[53] = ee, t[54] = Re, t[55] = Me) : Me = t[55], f = Me;
|
|
1375
|
+
let Oe, Ce;
|
|
1376
|
+
t[56] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Oe = ge("settings"), Ce = {
|
|
1707
1377
|
backgroundColor: "transparent",
|
|
1708
1378
|
display: "flex",
|
|
1709
1379
|
alignItems: "center",
|
|
1710
1380
|
px: 1,
|
|
1711
1381
|
cursor: "pointer"
|
|
1712
|
-
}, t[56] =
|
|
1713
|
-
let
|
|
1714
|
-
t[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1382
|
+
}, t[56] = Oe, t[57] = Ce) : (Oe = t[56], Ce = t[57]);
|
|
1383
|
+
let _e;
|
|
1384
|
+
t[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ a(ze, { size: "small", sx: {
|
|
1715
1385
|
mr: 0.5
|
|
1716
|
-
}, children: /* @__PURE__ */
|
|
1717
|
-
let
|
|
1718
|
-
t[59] !==
|
|
1719
|
-
let
|
|
1720
|
-
t[61] !==
|
|
1721
|
-
|
|
1386
|
+
}, children: /* @__PURE__ */ a(at, { fontSize: "small" }) }), t[58] = _e) : _e = t[58];
|
|
1387
|
+
let te;
|
|
1388
|
+
t[59] !== i ? (te = i("Layout.Appearance"), t[59] = i, t[60] = te) : te = t[60];
|
|
1389
|
+
let ne;
|
|
1390
|
+
t[61] !== te ? (ne = /* @__PURE__ */ D(qe, { onClick: Oe, sx: Ce, children: [
|
|
1391
|
+
_e,
|
|
1722
1392
|
" ",
|
|
1723
|
-
|
|
1724
|
-
] }), t[61] =
|
|
1725
|
-
let
|
|
1726
|
-
t[63] !==
|
|
1393
|
+
te
|
|
1394
|
+
] }), t[61] = te, t[62] = ne) : ne = t[62];
|
|
1395
|
+
let oe;
|
|
1396
|
+
t[63] !== fe || t[64] !== c || t[65] !== u ? (oe = fe.map((j) => {
|
|
1727
1397
|
const {
|
|
1728
|
-
mode:
|
|
1729
|
-
icon:
|
|
1730
|
-
label:
|
|
1731
|
-
} =
|
|
1732
|
-
return /* @__PURE__ */
|
|
1733
|
-
|
|
1734
|
-
}, selected:
|
|
1735
|
-
/* @__PURE__ */
|
|
1736
|
-
/* @__PURE__ */
|
|
1737
|
-
] },
|
|
1738
|
-
}), t[63] =
|
|
1398
|
+
mode: He,
|
|
1399
|
+
icon: Lt,
|
|
1400
|
+
label: Dt
|
|
1401
|
+
} = j;
|
|
1402
|
+
return /* @__PURE__ */ D(ce, { onClick: () => {
|
|
1403
|
+
u(He), m();
|
|
1404
|
+
}, selected: c === He, children: [
|
|
1405
|
+
/* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(Lt, {}) }),
|
|
1406
|
+
/* @__PURE__ */ a(ae, { primary: Dt })
|
|
1407
|
+
] }, He);
|
|
1408
|
+
}), t[63] = fe, t[64] = c, t[65] = u, t[66] = oe) : oe = t[66];
|
|
1739
1409
|
let Ie;
|
|
1740
|
-
t[67] !==
|
|
1741
|
-
let
|
|
1742
|
-
t[70] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1410
|
+
t[67] !== ne || t[68] !== oe ? (Ie = /* @__PURE__ */ a($e, { subheader: ne, children: oe }), t[67] = ne, t[68] = oe, t[69] = Ie) : Ie = t[69], x = Ie, d = $e;
|
|
1411
|
+
let Ee, Ae;
|
|
1412
|
+
t[70] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ee = ge("settings"), Ae = {
|
|
1743
1413
|
backgroundColor: "transparent",
|
|
1744
1414
|
display: "flex",
|
|
1745
1415
|
alignItems: "center",
|
|
1746
1416
|
px: 1,
|
|
1747
1417
|
cursor: "pointer"
|
|
1748
|
-
}, t[70] =
|
|
1749
|
-
let
|
|
1750
|
-
t[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1418
|
+
}, t[70] = Ee, t[71] = Ae) : (Ee = t[70], Ae = t[71]);
|
|
1419
|
+
let Pe;
|
|
1420
|
+
t[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pe = /* @__PURE__ */ a(ze, { size: "small", sx: {
|
|
1751
1421
|
mr: 0.5
|
|
1752
|
-
}, children: /* @__PURE__ */
|
|
1753
|
-
let
|
|
1754
|
-
t[73] !==
|
|
1755
|
-
|
|
1422
|
+
}, children: /* @__PURE__ */ a(at, { fontSize: "small" }) }), t[72] = Pe) : Pe = t[72];
|
|
1423
|
+
let ie;
|
|
1424
|
+
t[73] !== i ? (ie = i("Layout.Language"), t[73] = i, t[74] = ie) : ie = t[74], t[75] !== ie ? (p = /* @__PURE__ */ D(qe, { onClick: Ee, sx: Ae, children: [
|
|
1425
|
+
Pe,
|
|
1756
1426
|
" ",
|
|
1757
|
-
|
|
1758
|
-
] }), t[75] =
|
|
1759
|
-
/* @__PURE__ */
|
|
1760
|
-
/* @__PURE__ */
|
|
1761
|
-
] },
|
|
1427
|
+
ie
|
|
1428
|
+
] }), t[75] = ie, t[76] = p) : p = t[76], g = F.map((j) => /* @__PURE__ */ D(ce, { onClick: () => l.changeLanguage(j).finally(() => m()), selected: l.resolvedLanguage === j, children: [
|
|
1429
|
+
/* @__PURE__ */ a(de, { children: l.resolvedLanguage === j && /* @__PURE__ */ a(kn, {}) }),
|
|
1430
|
+
/* @__PURE__ */ a(ae, { primary: gt(B.of(j)) })
|
|
1431
|
+
] }, j)), t[0] = l, t[1] = c, t[2] = u, t[3] = i, t[4] = d, t[5] = m, t[6] = h, t[7] = f, t[8] = p, t[9] = g, t[10] = x;
|
|
1762
1432
|
} else
|
|
1763
|
-
|
|
1764
|
-
let
|
|
1765
|
-
t[77] !==
|
|
1766
|
-
const
|
|
1767
|
-
let
|
|
1768
|
-
t[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1433
|
+
d = t[4], m = t[5], h = t[6], f = t[7], p = t[8], g = t[9], x = t[10];
|
|
1434
|
+
let w;
|
|
1435
|
+
t[77] !== d || t[78] !== p || t[79] !== g ? (w = /* @__PURE__ */ a(d, { subheader: p, children: g }), t[77] = d, t[78] = p, t[79] = g, t[80] = w) : w = t[80];
|
|
1436
|
+
const S = w;
|
|
1437
|
+
let y;
|
|
1438
|
+
t[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ a(Tn, { sx: {
|
|
1769
1439
|
width: {
|
|
1770
1440
|
xs: 32,
|
|
1771
1441
|
sm: 40
|
|
@@ -1774,50 +1444,50 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1774
1444
|
xs: 32,
|
|
1775
1445
|
sm: 40
|
|
1776
1446
|
}
|
|
1777
|
-
} }), t[81] =
|
|
1778
|
-
let
|
|
1779
|
-
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1780
|
-
let
|
|
1781
|
-
t[83] !==
|
|
1782
|
-
let
|
|
1783
|
-
t[85] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1447
|
+
} }), t[81] = y) : y = t[81];
|
|
1448
|
+
let k;
|
|
1449
|
+
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ a(Ht, { fallback: y, children: /* @__PURE__ */ a(st, { promise: go(), children: So }) }), t[82] = k) : k = t[82];
|
|
1450
|
+
let T;
|
|
1451
|
+
t[83] !== h ? (T = /* @__PURE__ */ a(ze, { size: "small", edge: "end", onClick: h, children: k }), t[83] = h, t[84] = T) : T = t[84];
|
|
1452
|
+
let v;
|
|
1453
|
+
t[85] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
|
|
1784
1454
|
width: 240
|
|
1785
|
-
}, t[85] =
|
|
1786
|
-
let
|
|
1787
|
-
t[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1788
|
-
let
|
|
1789
|
-
t[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1790
|
-
let
|
|
1791
|
-
t[88] !==
|
|
1792
|
-
let
|
|
1793
|
-
t[90] !==
|
|
1794
|
-
|
|
1795
|
-
/* @__PURE__ */
|
|
1796
|
-
|
|
1797
|
-
/* @__PURE__ */
|
|
1455
|
+
}, t[85] = v) : v = t[85];
|
|
1456
|
+
let z;
|
|
1457
|
+
t[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ a(Pt, { children: /* @__PURE__ */ a(st, { promise: po(), children: To }) }), t[86] = z) : z = t[86];
|
|
1458
|
+
let I;
|
|
1459
|
+
t[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(Ln, { color: "error" }) }), t[87] = I) : I = t[87];
|
|
1460
|
+
let L;
|
|
1461
|
+
t[88] !== i ? (L = i("Layout.Logout"), t[88] = i, t[89] = L) : L = t[89];
|
|
1462
|
+
let M;
|
|
1463
|
+
t[90] !== L ? (M = /* @__PURE__ */ D($e, { disablePadding: !0, children: [
|
|
1464
|
+
z,
|
|
1465
|
+
/* @__PURE__ */ D(ce, { onClick: bo, children: [
|
|
1466
|
+
I,
|
|
1467
|
+
/* @__PURE__ */ a(ae, { primary: L })
|
|
1798
1468
|
] })
|
|
1799
|
-
] }), t[90] =
|
|
1800
|
-
const
|
|
1801
|
-
let
|
|
1802
|
-
t[92] !==
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
] }), t[92] =
|
|
1808
|
-
let
|
|
1809
|
-
t[97] !== e || t[98] !==
|
|
1810
|
-
let
|
|
1811
|
-
return t[102] !==
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
] }), t[102] =
|
|
1469
|
+
] }), t[90] = L, t[91] = M) : M = t[91];
|
|
1470
|
+
const P = o === "settings" && f, U = o === "theme" && x, $ = o === "language" && S;
|
|
1471
|
+
let A;
|
|
1472
|
+
t[92] !== M || t[93] !== P || t[94] !== U || t[95] !== $ ? (A = /* @__PURE__ */ D(Ne, { sx: v, children: [
|
|
1473
|
+
M,
|
|
1474
|
+
P,
|
|
1475
|
+
U,
|
|
1476
|
+
$
|
|
1477
|
+
] }), t[92] = M, t[93] = P, t[94] = U, t[95] = $, t[96] = A) : A = t[96];
|
|
1478
|
+
let _;
|
|
1479
|
+
t[97] !== e || t[98] !== m || t[99] !== s || t[100] !== A ? (_ = /* @__PURE__ */ a(zt, { anchorEl: e, open: s, onClose: m, children: A }), t[97] = e, t[98] = m, t[99] = s, t[100] = A, t[101] = _) : _ = t[101];
|
|
1480
|
+
let O;
|
|
1481
|
+
return t[102] !== _ || t[103] !== T ? (O = /* @__PURE__ */ D(Be, { children: [
|
|
1482
|
+
T,
|
|
1483
|
+
_
|
|
1484
|
+
] }), t[102] = _, t[103] = T, t[104] = O) : O = t[104], O;
|
|
1815
1485
|
};
|
|
1816
|
-
function
|
|
1486
|
+
function xo(t) {
|
|
1817
1487
|
return t !== "cimode";
|
|
1818
1488
|
}
|
|
1819
|
-
function
|
|
1820
|
-
return /* @__PURE__ */
|
|
1489
|
+
function So(t) {
|
|
1490
|
+
return /* @__PURE__ */ a($t, { src: t, sx: {
|
|
1821
1491
|
width: {
|
|
1822
1492
|
xs: 32,
|
|
1823
1493
|
sm: 40
|
|
@@ -1828,16 +1498,16 @@ function _n(t) {
|
|
|
1828
1498
|
}
|
|
1829
1499
|
} });
|
|
1830
1500
|
}
|
|
1831
|
-
function
|
|
1832
|
-
return /* @__PURE__ */
|
|
1501
|
+
function To(t) {
|
|
1502
|
+
return /* @__PURE__ */ a(ae, { primary: t.displayName.split("/")[0], secondary: t.jobTitle });
|
|
1833
1503
|
}
|
|
1834
|
-
function
|
|
1504
|
+
function bo() {
|
|
1835
1505
|
return console.log("Logout clicked");
|
|
1836
1506
|
}
|
|
1837
|
-
const
|
|
1507
|
+
const vt = 3600 * 24 * 365, wo = Wt().server(() => yt("navigationOpen") === "true").client(() => {
|
|
1838
1508
|
const t = document.cookie.split("; ").find((e) => e.startsWith("navigationOpen="));
|
|
1839
1509
|
return t ? t.split("=")[1] === "true" : !1;
|
|
1840
|
-
}),
|
|
1510
|
+
}), ko = Ze("div")(({
|
|
1841
1511
|
theme: t
|
|
1842
1512
|
}) => ({
|
|
1843
1513
|
display: "flex",
|
|
@@ -1845,70 +1515,70 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1845
1515
|
justifyContent: "flex-end",
|
|
1846
1516
|
padding: t.spacing(0, 1),
|
|
1847
1517
|
...t.mixins.toolbar
|
|
1848
|
-
})),
|
|
1849
|
-
const e =
|
|
1850
|
-
let
|
|
1851
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1852
|
-
let
|
|
1853
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1518
|
+
})), vo = (t) => {
|
|
1519
|
+
const e = R(29), [n, o] = q(wo), r = !!tn(), s = !!nn();
|
|
1520
|
+
let i, l;
|
|
1521
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ a(Nt, {}), l = /* @__PURE__ */ a(jt, {}), e[0] = i, e[1] = l) : (i = e[0], l = e[1]);
|
|
1522
|
+
let c;
|
|
1523
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
1854
1524
|
display: "flex",
|
|
1855
1525
|
height: "100dvh",
|
|
1856
1526
|
maxHeight: "100dvh",
|
|
1857
1527
|
overflow: "hidden",
|
|
1858
1528
|
width: "100%"
|
|
1859
|
-
}, e[2] =
|
|
1860
|
-
let
|
|
1861
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1529
|
+
}, e[2] = c) : c = e[2];
|
|
1530
|
+
let u;
|
|
1531
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
|
|
1862
1532
|
borderBottom: "1px solid",
|
|
1863
1533
|
borderColor: "var(--mui-palette-divider)",
|
|
1864
1534
|
boxShadow: "none"
|
|
1865
|
-
}, e[3] =
|
|
1866
|
-
let
|
|
1867
|
-
e[4] !==
|
|
1868
|
-
o(
|
|
1535
|
+
}, e[3] = u) : u = e[3];
|
|
1536
|
+
let d;
|
|
1537
|
+
e[4] !== n || e[5] !== t.navigation ? (d = t.navigation && /* @__PURE__ */ a(ze, { onClick: () => {
|
|
1538
|
+
o(Lo);
|
|
1869
1539
|
}, sx: {
|
|
1870
1540
|
marginRight: 2
|
|
1871
|
-
}, children:
|
|
1872
|
-
let
|
|
1873
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1874
|
-
let
|
|
1875
|
-
e[9] !==
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
] }) }), e[9] =
|
|
1880
|
-
let
|
|
1881
|
-
e[11] !==
|
|
1882
|
-
o(
|
|
1883
|
-
} }), e[11] =
|
|
1884
|
-
let
|
|
1885
|
-
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1541
|
+
}, children: n ? /* @__PURE__ */ a(Zt, {}) : /* @__PURE__ */ a(Xt, {}) }), e[4] = n, e[5] = t.navigation, e[6] = d) : d = e[6];
|
|
1542
|
+
let m, h;
|
|
1543
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ a(io, {}), h = /* @__PURE__ */ a(yo, {}), e[7] = m, e[8] = h) : (m = e[7], h = e[8]);
|
|
1544
|
+
let f;
|
|
1545
|
+
e[9] !== d ? (f = /* @__PURE__ */ a(Ut, { color: "transparent", position: "fixed", sx: u, children: /* @__PURE__ */ D(Ft, { children: [
|
|
1546
|
+
d,
|
|
1547
|
+
m,
|
|
1548
|
+
h
|
|
1549
|
+
] }) }), e[9] = d, e[10] = f) : f = e[10];
|
|
1550
|
+
let p;
|
|
1551
|
+
e[11] !== n || e[12] !== t.navigation ? (p = t.navigation && /* @__PURE__ */ a(ho, { navigation: t.navigation, expanded: n, setExpanded: (v) => {
|
|
1552
|
+
o(v), document.cookie = `navigationOpen=${v}; max-age=${vt}; path=/`;
|
|
1553
|
+
} }), e[11] = n, e[12] = t.navigation, e[13] = p) : p = e[13];
|
|
1554
|
+
let g, x;
|
|
1555
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = {
|
|
1886
1556
|
flexGrow: 1,
|
|
1887
1557
|
display: "flex",
|
|
1888
1558
|
flexDirection: "column",
|
|
1889
1559
|
minWidth: 0,
|
|
1890
1560
|
height: "100%",
|
|
1891
1561
|
overflow: "hidden"
|
|
1892
|
-
},
|
|
1893
|
-
let
|
|
1894
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1562
|
+
}, g = /* @__PURE__ */ a(ko, {}), e[14] = g, e[15] = x) : (g = e[14], x = e[15]);
|
|
1563
|
+
let w;
|
|
1564
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
1895
1565
|
flex: 1,
|
|
1896
1566
|
overflow: "auto",
|
|
1897
1567
|
position: "relative"
|
|
1898
|
-
}, e[16] =
|
|
1899
|
-
let
|
|
1900
|
-
e[17] !== t.children ? (
|
|
1901
|
-
T,
|
|
1902
|
-
/* @__PURE__ */ p(ze, { sx: P, children: t.children })
|
|
1903
|
-
] }), e[17] = t.children, e[18] = A) : A = e[18];
|
|
1904
|
-
let x;
|
|
1905
|
-
e[19] !== A || e[20] !== g || e[21] !== b ? (x = /* @__PURE__ */ q(ze, { sx: f, children: [
|
|
1568
|
+
}, e[16] = w) : w = e[16];
|
|
1569
|
+
let S;
|
|
1570
|
+
e[17] !== t.children ? (S = /* @__PURE__ */ D(Ne, { component: "main", sx: x, children: [
|
|
1906
1571
|
g,
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1572
|
+
/* @__PURE__ */ a(Ne, { sx: w, children: t.children })
|
|
1573
|
+
] }), e[17] = t.children, e[18] = S) : S = e[18];
|
|
1574
|
+
let y;
|
|
1575
|
+
e[19] !== S || e[20] !== f || e[21] !== p ? (y = /* @__PURE__ */ D(Ne, { sx: c, children: [
|
|
1576
|
+
f,
|
|
1577
|
+
p,
|
|
1578
|
+
S
|
|
1579
|
+
] }), e[19] = S, e[20] = f, e[21] = p, e[22] = y) : y = e[22];
|
|
1580
|
+
let k;
|
|
1581
|
+
e[23] !== r || e[24] !== s ? (k = (r || s) && /* @__PURE__ */ a(Yt, { sx: {
|
|
1912
1582
|
position: "fixed",
|
|
1913
1583
|
top: {
|
|
1914
1584
|
xs: 56,
|
|
@@ -1916,60 +1586,61 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1916
1586
|
},
|
|
1917
1587
|
left: 0,
|
|
1918
1588
|
right: 0
|
|
1919
|
-
} }), e[23] =
|
|
1920
|
-
let
|
|
1921
|
-
return e[26] !==
|
|
1922
|
-
|
|
1589
|
+
} }), e[23] = r, e[24] = s, e[25] = k) : k = e[25];
|
|
1590
|
+
let T;
|
|
1591
|
+
return e[26] !== y || e[27] !== k ? (T = /* @__PURE__ */ D(Be, { children: [
|
|
1592
|
+
i,
|
|
1923
1593
|
l,
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
] }), e[26] =
|
|
1594
|
+
y,
|
|
1595
|
+
k
|
|
1596
|
+
] }), e[26] = y, e[27] = k, e[28] = T) : T = e[28], T;
|
|
1927
1597
|
};
|
|
1928
|
-
function
|
|
1598
|
+
function Lo(t) {
|
|
1929
1599
|
const e = !t;
|
|
1930
|
-
return document.cookie = `navigationOpen=${e}; max-age=${
|
|
1600
|
+
return document.cookie = `navigationOpen=${e}; max-age=${vt}; path=/`, e;
|
|
1931
1601
|
}
|
|
1932
|
-
const
|
|
1933
|
-
|
|
1934
|
-
resources:
|
|
1602
|
+
const Do = 1440 * 365;
|
|
1603
|
+
W.use(wt).use(no).init({
|
|
1604
|
+
resources: it,
|
|
1935
1605
|
fallbackLng: "en",
|
|
1936
|
-
supportedLngs: Object.keys(
|
|
1606
|
+
supportedLngs: Object.keys(it),
|
|
1937
1607
|
detection: {
|
|
1938
1608
|
caches: ["cookie"],
|
|
1939
|
-
cookieMinutes:
|
|
1609
|
+
cookieMinutes: Do
|
|
1940
1610
|
},
|
|
1941
1611
|
interpolation: {
|
|
1942
1612
|
escapeValue: !1
|
|
1943
1613
|
}
|
|
1944
1614
|
});
|
|
1945
|
-
const
|
|
1946
|
-
const e =
|
|
1947
|
-
navigation:
|
|
1615
|
+
const Li = (t) => {
|
|
1616
|
+
const e = R(9), {
|
|
1617
|
+
navigation: n,
|
|
1948
1618
|
theme: o,
|
|
1949
|
-
children:
|
|
1950
|
-
} = t,
|
|
1951
|
-
let
|
|
1952
|
-
e[0] !==
|
|
1953
|
-
|
|
1954
|
-
}), e[0] =
|
|
1619
|
+
children: r
|
|
1620
|
+
} = t, s = qt(Mo);
|
|
1621
|
+
let i;
|
|
1622
|
+
e[0] !== s ? (i = () => (s(), W.on("languageChanged", s), () => {
|
|
1623
|
+
W.off("languageChanged", s);
|
|
1624
|
+
}), e[0] = s, e[1] = i) : i = e[1];
|
|
1955
1625
|
let l;
|
|
1956
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [], e[2] = l) : l = e[2],
|
|
1957
|
-
let
|
|
1958
|
-
e[3] !==
|
|
1959
|
-
let
|
|
1960
|
-
return e[6] !==
|
|
1961
|
-
},
|
|
1962
|
-
const t =
|
|
1963
|
-
|
|
1626
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [], e[2] = l) : l = e[2], xt(i, l);
|
|
1627
|
+
let c;
|
|
1628
|
+
e[3] !== r || e[4] !== n ? (c = /* @__PURE__ */ a(nt, { dateAdapter: Fn, adapterLocale: W.language, children: /* @__PURE__ */ a(oo, { children: /* @__PURE__ */ a(vo, { navigation: n, children: r }) }) }, W.language), e[3] = r, e[4] = n, e[5] = c) : c = e[5];
|
|
1629
|
+
let u;
|
|
1630
|
+
return e[6] !== c || e[7] !== o ? (u = /* @__PURE__ */ a(Bt, { theme: o, children: c }), e[6] = c, e[7] = o, e[8] = u) : u = e[8], u;
|
|
1631
|
+
}, Di = Ye().handler(async () => {
|
|
1632
|
+
const t = yt(W.services.languageDetector.options.lookupCookie) || "en";
|
|
1633
|
+
le.config(le.core.locales[t]()), C.locale(t), await W.changeLanguage(t);
|
|
1964
1634
|
});
|
|
1965
|
-
function
|
|
1966
|
-
|
|
1635
|
+
function Mo() {
|
|
1636
|
+
le.config(le.core.locales[W.language]()), C.locale(W.language);
|
|
1967
1637
|
}
|
|
1968
1638
|
export {
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1639
|
+
Li as LayoutProvider,
|
|
1640
|
+
Ci as WISTRON_PRIMARY_COLOR,
|
|
1641
|
+
_i as WISTRON_SECONDARY_COLOR,
|
|
1642
|
+
vi as getSessionUser,
|
|
1643
|
+
Ii as rootRouteHead,
|
|
1644
|
+
Di as setSSRLanguage
|
|
1975
1645
|
};
|
|
1646
|
+
//# sourceMappingURL=index.js.map
|