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