wcz-test 6.27.3 → 7.0.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/{FileHooks-DCznEPaA.js → FileHooks-CstZ4QII.js} +21 -20
- package/dist/{FileHooks-DCznEPaA.js.map → FileHooks-CstZ4QII.js.map} +1 -1
- package/dist/GraphQueries-BOAnio_H.js +28021 -0
- package/dist/GraphQueries-BOAnio_H.js.map +1 -0
- package/dist/auth.d.ts +14 -0
- package/dist/auth.js +38 -0
- package/dist/auth.js.map +1 -0
- package/dist/bun-sqlite-dialect-z0b9N0QU.js +143 -0
- package/dist/bun-sqlite-dialect-z0b9N0QU.js.map +1 -0
- package/dist/components.js +1138 -1117
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +1 -2
- package/dist/hooks.js.map +1 -1
- package/dist/index-C8xwvJpf.js +159 -0
- package/dist/index-C8xwvJpf.js.map +1 -0
- package/dist/index-CbycwLQM.js +227 -0
- package/dist/index-CbycwLQM.js.map +1 -0
- package/dist/{utils-DV30kRxW.js → index-Y_pgyGkL.js} +365 -441
- package/dist/index-Y_pgyGkL.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +569 -547
- package/dist/index.js.map +1 -1
- package/dist/node-sqlite-dialect-CfkKTzbw.js +143 -0
- package/dist/node-sqlite-dialect-CfkKTzbw.js.map +1 -0
- package/dist/queries.d.ts +0 -3
- package/dist/queries.js +113 -113
- package/dist/queries.js.map +1 -1
- package/dist/utils-araYIHAE.js +81 -0
- package/dist/utils-araYIHAE.js.map +1 -0
- package/dist/utils.js +6 -5
- package/dist/utils.js.map +1 -1
- package/package.json +7 -4
- package/dist/utils-DV30kRxW.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,79 +1,80 @@
|
|
|
1
|
-
import { s as
|
|
1
|
+
import { s as Lt, a as Ct, j as i, D as It, u as Dt } from "./DialogsContext-CGAKEKKW.js";
|
|
2
2
|
import { c as B } from "./compiler-runtime-BNHg76kC.js";
|
|
3
|
-
import { Stack as
|
|
4
|
-
import { LocalizationProvider as
|
|
5
|
-
import { AdapterDayjs as
|
|
6
|
-
import { createIsomorphicFn as
|
|
7
|
-
import { getCookie as
|
|
8
|
-
import
|
|
3
|
+
import { Stack as Tt, Typography as Et, Chip as $t, Collapse as At, useMediaQuery as Mt, useColorScheme as Ot, ListItemButton as ce, ListItemText as z, ListItemIcon as de, ListItem as Pt, Skeleton as tt, ListSubheader as Ye, List as Pe, IconButton as Ne, Avatar as Nt, Box as Re, Menu as Rt, InitColorSchemeScript as Ft, CssBaseline as Bt, AppBar as zt, Toolbar as Ut, LinearProgress as Wt, ThemeProvider as Ht } from "@mui/material";
|
|
4
|
+
import { LocalizationProvider as qt } from "@mui/x-date-pickers";
|
|
5
|
+
import { AdapterDayjs as Qt } from "@mui/x-date-pickers/AdapterDayjs";
|
|
6
|
+
import { createIsomorphicFn as Kt, createServerFn as Yt } from "@tanstack/react-start";
|
|
7
|
+
import { getCookie as pt } from "@tanstack/react-start/server";
|
|
8
|
+
import ht from "dayjs";
|
|
9
9
|
import { i as F } from "./i18next-Bx3TmZAT.js";
|
|
10
|
-
import { useState as
|
|
11
|
-
import { resources as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { styled as
|
|
17
|
-
import { useIsFetching as
|
|
18
|
-
import { a as
|
|
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
|
|
10
|
+
import { useState as U, useId as Xt, useRef as ot, Fragment as Ue, useEffect as gt, useEffectEvent as Gt } from "react";
|
|
11
|
+
import { resources as nt } from "virtual:wcz-layout";
|
|
12
|
+
import Be from "zod";
|
|
13
|
+
import Xe from "@mui/utils/useEventCallback";
|
|
14
|
+
import Vt from "@mui/icons-material/Menu";
|
|
15
|
+
import Zt from "@mui/icons-material/MenuOpen";
|
|
16
|
+
import { styled as Je, useTheme as Jt } from "@mui/material/styles";
|
|
17
|
+
import { useQueryClient as eo, useQuery as it, useIsFetching as to, useIsMutating as oo, QueryClient as no } from "@tanstack/react-query";
|
|
18
|
+
import { a as io } from "./index-Y_pgyGkL.js";
|
|
19
|
+
import xt from "@mui/material/Box";
|
|
20
|
+
import st from "@mui/material/Drawer";
|
|
21
|
+
import { useNavigate as so, useRouterState as ro, useRouter as lo } from "@tanstack/react-router";
|
|
22
|
+
import ao from "@mui/material/Divider";
|
|
23
|
+
import co from "@mui/material/List";
|
|
24
|
+
import uo from "@mui/material/ListSubheader";
|
|
25
|
+
import fo from "@mui/icons-material/ExpandMore";
|
|
26
|
+
import mo from "@mui/material/Avatar";
|
|
27
|
+
import po from "@mui/material/ListItem";
|
|
28
|
+
import ho from "@mui/material/ListItemButton";
|
|
29
|
+
import go from "@mui/material/ListItemIcon";
|
|
30
|
+
import xo from "@mui/material/ListItemText";
|
|
31
|
+
import yo from "@mui/material/Paper";
|
|
32
|
+
import vo from "@mui/material/Popper";
|
|
33
|
+
import So from "@mui/material/Typography";
|
|
34
|
+
import { R as bo } from "./RouterListItemButton-C_jUvB6C.js";
|
|
35
|
+
import ko from "@mui/icons-material/AccountCircle";
|
|
36
|
+
import rt from "@mui/icons-material/ArrowBack";
|
|
37
|
+
import wo from "@mui/icons-material/Brightness4";
|
|
38
|
+
import lt from "@mui/icons-material/ChevronRight";
|
|
39
|
+
import jo from "@mui/icons-material/DarkMode";
|
|
40
|
+
import _o from "@mui/icons-material/Done";
|
|
41
|
+
import Lo from "@mui/icons-material/LightMode";
|
|
42
|
+
import Co from "@mui/icons-material/Logout";
|
|
43
|
+
import Io from "@mui/icons-material/SettingsBrightness";
|
|
44
|
+
import Do from "@mui/icons-material/Translate";
|
|
45
|
+
import { i as Ge, j as To } from "./GraphQueries-BOAnio_H.js";
|
|
46
|
+
import { W as ci, a as di, r as ui } from "./utils-araYIHAE.js";
|
|
46
47
|
const {
|
|
47
|
-
slice:
|
|
48
|
-
forEach:
|
|
48
|
+
slice: Eo,
|
|
49
|
+
forEach: $o
|
|
49
50
|
} = [];
|
|
50
|
-
function
|
|
51
|
-
return
|
|
51
|
+
function Ao(t) {
|
|
52
|
+
return $o.call(Eo.call(arguments, 1), (e) => {
|
|
52
53
|
if (e)
|
|
53
54
|
for (const o in e)
|
|
54
55
|
t[o] === void 0 && (t[o] = e[o]);
|
|
55
56
|
}), t;
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function Mo(t) {
|
|
58
59
|
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((o) => o.test(t));
|
|
59
60
|
}
|
|
60
|
-
const
|
|
61
|
+
const at = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Oo = function(t, e) {
|
|
61
62
|
const n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
62
63
|
path: "/"
|
|
63
64
|
}, r = encodeURIComponent(e);
|
|
64
65
|
let l = `${t}=${r}`;
|
|
65
66
|
if (n.maxAge > 0) {
|
|
66
|
-
const
|
|
67
|
-
if (Number.isNaN(
|
|
68
|
-
l += `; Max-Age=${Math.floor(
|
|
67
|
+
const s = n.maxAge - 0;
|
|
68
|
+
if (Number.isNaN(s)) throw new Error("maxAge should be a Number");
|
|
69
|
+
l += `; Max-Age=${Math.floor(s)}`;
|
|
69
70
|
}
|
|
70
71
|
if (n.domain) {
|
|
71
|
-
if (!
|
|
72
|
+
if (!at.test(n.domain))
|
|
72
73
|
throw new TypeError("option domain is invalid");
|
|
73
74
|
l += `; Domain=${n.domain}`;
|
|
74
75
|
}
|
|
75
76
|
if (n.path) {
|
|
76
|
-
if (!
|
|
77
|
+
if (!at.test(n.path))
|
|
77
78
|
throw new TypeError("option path is invalid");
|
|
78
79
|
l += `; Path=${n.path}`;
|
|
79
80
|
}
|
|
@@ -100,13 +101,13 @@ const Ve = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, yo = function(t, e) {
|
|
|
100
101
|
throw new TypeError("option sameSite is invalid");
|
|
101
102
|
}
|
|
102
103
|
return n.partitioned && (l += "; Partitioned"), l;
|
|
103
|
-
},
|
|
104
|
+
}, ct = {
|
|
104
105
|
create(t, e, o, n) {
|
|
105
106
|
let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
106
107
|
path: "/",
|
|
107
108
|
sameSite: "strict"
|
|
108
109
|
};
|
|
109
|
-
o && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + o * 60 * 1e3)), n && (r.domain = n), document.cookie =
|
|
110
|
+
o && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + o * 60 * 1e3)), n && (r.domain = n), document.cookie = Oo(t, e, r);
|
|
110
111
|
},
|
|
111
112
|
read(t) {
|
|
112
113
|
const e = `${t}=`, o = document.cookie.split(";");
|
|
@@ -121,7 +122,7 @@ const Ve = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, yo = function(t, e) {
|
|
|
121
122
|
this.create(t, "", -1, e);
|
|
122
123
|
}
|
|
123
124
|
};
|
|
124
|
-
var
|
|
125
|
+
var Po = {
|
|
125
126
|
name: "cookie",
|
|
126
127
|
// Deconstruct the options object and extract the lookupCookie property
|
|
127
128
|
lookup(t) {
|
|
@@ -129,7 +130,7 @@ var vo = {
|
|
|
129
130
|
lookupCookie: e
|
|
130
131
|
} = t;
|
|
131
132
|
if (e && typeof document < "u")
|
|
132
|
-
return
|
|
133
|
+
return ct.read(e) || void 0;
|
|
133
134
|
},
|
|
134
135
|
// Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
|
|
135
136
|
cacheUserLanguage(t, e) {
|
|
@@ -139,9 +140,9 @@ var vo = {
|
|
|
139
140
|
cookieDomain: r,
|
|
140
141
|
cookieOptions: l
|
|
141
142
|
} = e;
|
|
142
|
-
o && typeof document < "u" &&
|
|
143
|
+
o && typeof document < "u" && ct.create(o, t, n, r, l);
|
|
143
144
|
}
|
|
144
|
-
},
|
|
145
|
+
}, No = {
|
|
145
146
|
name: "querystring",
|
|
146
147
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
147
148
|
lookup(t) {
|
|
@@ -154,14 +155,14 @@ var vo = {
|
|
|
154
155
|
} = window.location;
|
|
155
156
|
!window.location.search && window.location.hash?.indexOf("?") > -1 && (n = window.location.hash.substring(window.location.hash.indexOf("?")));
|
|
156
157
|
const l = n.substring(1).split("&");
|
|
157
|
-
for (let
|
|
158
|
-
const a = l[
|
|
159
|
-
a > 0 && l[
|
|
158
|
+
for (let s = 0; s < l.length; s++) {
|
|
159
|
+
const a = l[s].indexOf("=");
|
|
160
|
+
a > 0 && l[s].substring(0, a) === e && (o = l[s].substring(a + 1));
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
163
|
return o;
|
|
163
164
|
}
|
|
164
|
-
},
|
|
165
|
+
}, Ro = {
|
|
165
166
|
name: "hash",
|
|
166
167
|
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
167
168
|
lookup(t) {
|
|
@@ -176,43 +177,43 @@ var vo = {
|
|
|
176
177
|
if (r && r.length > 2) {
|
|
177
178
|
const l = r.substring(1);
|
|
178
179
|
if (e) {
|
|
179
|
-
const
|
|
180
|
-
for (let a = 0; a <
|
|
181
|
-
const c =
|
|
182
|
-
c > 0 &&
|
|
180
|
+
const s = l.split("&");
|
|
181
|
+
for (let a = 0; a < s.length; a++) {
|
|
182
|
+
const c = s[a].indexOf("=");
|
|
183
|
+
c > 0 && s[a].substring(0, c) === e && (n = s[a].substring(c + 1));
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
186
|
if (n) return n;
|
|
186
187
|
if (!n && o > -1) {
|
|
187
|
-
const
|
|
188
|
-
return Array.isArray(
|
|
188
|
+
const s = r.match(/\/([a-zA-Z-]*)/g);
|
|
189
|
+
return Array.isArray(s) ? s[typeof o == "number" ? o : 0]?.replace("/", "") : void 0;
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
192
|
}
|
|
192
193
|
return n;
|
|
193
194
|
}
|
|
194
195
|
};
|
|
195
|
-
let
|
|
196
|
-
const
|
|
197
|
-
if (
|
|
196
|
+
let re = null;
|
|
197
|
+
const dt = () => {
|
|
198
|
+
if (re !== null) return re;
|
|
198
199
|
try {
|
|
199
|
-
if (
|
|
200
|
+
if (re = typeof window < "u" && window.localStorage !== null, !re)
|
|
200
201
|
return !1;
|
|
201
202
|
const t = "i18next.translate.boo";
|
|
202
203
|
window.localStorage.setItem(t, "foo"), window.localStorage.removeItem(t);
|
|
203
204
|
} catch {
|
|
204
|
-
|
|
205
|
+
re = !1;
|
|
205
206
|
}
|
|
206
|
-
return
|
|
207
|
+
return re;
|
|
207
208
|
};
|
|
208
|
-
var
|
|
209
|
+
var Fo = {
|
|
209
210
|
name: "localStorage",
|
|
210
211
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
211
212
|
lookup(t) {
|
|
212
213
|
let {
|
|
213
214
|
lookupLocalStorage: e
|
|
214
215
|
} = t;
|
|
215
|
-
if (e &&
|
|
216
|
+
if (e && dt())
|
|
216
217
|
return window.localStorage.getItem(e) || void 0;
|
|
217
218
|
},
|
|
218
219
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
@@ -220,38 +221,38 @@ var ko = {
|
|
|
220
221
|
let {
|
|
221
222
|
lookupLocalStorage: o
|
|
222
223
|
} = e;
|
|
223
|
-
o &&
|
|
224
|
+
o && dt() && window.localStorage.setItem(o, t);
|
|
224
225
|
}
|
|
225
226
|
};
|
|
226
|
-
let
|
|
227
|
-
const
|
|
228
|
-
if (
|
|
227
|
+
let le = null;
|
|
228
|
+
const ut = () => {
|
|
229
|
+
if (le !== null) return le;
|
|
229
230
|
try {
|
|
230
|
-
if (
|
|
231
|
+
if (le = typeof window < "u" && window.sessionStorage !== null, !le)
|
|
231
232
|
return !1;
|
|
232
233
|
const t = "i18next.translate.boo";
|
|
233
234
|
window.sessionStorage.setItem(t, "foo"), window.sessionStorage.removeItem(t);
|
|
234
235
|
} catch {
|
|
235
|
-
|
|
236
|
+
le = !1;
|
|
236
237
|
}
|
|
237
|
-
return
|
|
238
|
+
return le;
|
|
238
239
|
};
|
|
239
|
-
var
|
|
240
|
+
var Bo = {
|
|
240
241
|
name: "sessionStorage",
|
|
241
242
|
lookup(t) {
|
|
242
243
|
let {
|
|
243
244
|
lookupSessionStorage: e
|
|
244
245
|
} = t;
|
|
245
|
-
if (e &&
|
|
246
|
+
if (e && ut())
|
|
246
247
|
return window.sessionStorage.getItem(e) || void 0;
|
|
247
248
|
},
|
|
248
249
|
cacheUserLanguage(t, e) {
|
|
249
250
|
let {
|
|
250
251
|
lookupSessionStorage: o
|
|
251
252
|
} = e;
|
|
252
|
-
o &&
|
|
253
|
+
o && ut() && window.sessionStorage.setItem(o, t);
|
|
253
254
|
}
|
|
254
|
-
},
|
|
255
|
+
}, zo = {
|
|
255
256
|
name: "navigator",
|
|
256
257
|
lookup(t) {
|
|
257
258
|
const e = [];
|
|
@@ -268,7 +269,7 @@ var wo = {
|
|
|
268
269
|
}
|
|
269
270
|
return e.length > 0 ? e : void 0;
|
|
270
271
|
}
|
|
271
|
-
},
|
|
272
|
+
}, Uo = {
|
|
272
273
|
name: "htmlTag",
|
|
273
274
|
// Deconstruct the options object and extract the htmlTag property
|
|
274
275
|
lookup(t) {
|
|
@@ -278,7 +279,7 @@ var wo = {
|
|
|
278
279
|
const n = e || (typeof document < "u" ? document.documentElement : null);
|
|
279
280
|
return n && typeof n.getAttribute == "function" && (o = n.getAttribute("lang")), o;
|
|
280
281
|
}
|
|
281
|
-
},
|
|
282
|
+
}, Wo = {
|
|
282
283
|
name: "path",
|
|
283
284
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
284
285
|
lookup(t) {
|
|
@@ -289,7 +290,7 @@ var wo = {
|
|
|
289
290
|
const o = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
290
291
|
return Array.isArray(o) ? o[typeof e == "number" ? e : 0]?.replace("/", "") : void 0;
|
|
291
292
|
}
|
|
292
|
-
},
|
|
293
|
+
}, Ho = {
|
|
293
294
|
name: "subdomain",
|
|
294
295
|
lookup(t) {
|
|
295
296
|
let {
|
|
@@ -300,15 +301,15 @@ var wo = {
|
|
|
300
301
|
return n[o];
|
|
301
302
|
}
|
|
302
303
|
};
|
|
303
|
-
let
|
|
304
|
+
let yt = !1;
|
|
304
305
|
try {
|
|
305
|
-
document.cookie,
|
|
306
|
+
document.cookie, yt = !0;
|
|
306
307
|
} catch {
|
|
307
308
|
}
|
|
308
|
-
const
|
|
309
|
-
|
|
310
|
-
const
|
|
311
|
-
order:
|
|
309
|
+
const vt = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
310
|
+
yt || vt.splice(1, 1);
|
|
311
|
+
const qo = () => ({
|
|
312
|
+
order: vt,
|
|
312
313
|
lookupQuerystring: "lng",
|
|
313
314
|
lookupCookie: "i18next",
|
|
314
315
|
lookupLocalStorage: "i18nextLng",
|
|
@@ -320,7 +321,7 @@ const Co = () => ({
|
|
|
320
321
|
// cookieDomain: 'myDomain'
|
|
321
322
|
convertDetectedLanguage: (t) => t
|
|
322
323
|
});
|
|
323
|
-
class
|
|
324
|
+
class St {
|
|
324
325
|
constructor(e) {
|
|
325
326
|
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
326
327
|
this.type = "languageDetector", this.detectors = {}, this.init(e, o);
|
|
@@ -329,7 +330,7 @@ class ct {
|
|
|
329
330
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
330
331
|
languageUtils: {}
|
|
331
332
|
}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
332
|
-
this.services = e, this.options =
|
|
333
|
+
this.services = e, this.options = Ao(o, this.options || {}, qo()), 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 = n, this.addDetector(Po), this.addDetector(No), this.addDetector(Fo), this.addDetector(Bo), this.addDetector(zo), this.addDetector(Uo), this.addDetector(Wo), this.addDetector(Ho), this.addDetector(Ro);
|
|
333
334
|
}
|
|
334
335
|
addDetector(e) {
|
|
335
336
|
return this.detectors[e.name] = e, this;
|
|
@@ -341,7 +342,7 @@ class ct {
|
|
|
341
342
|
let r = this.detectors[n].lookup(this.options);
|
|
342
343
|
r && typeof r == "string" && (r = [r]), r && (o = o.concat(r));
|
|
343
344
|
}
|
|
344
|
-
}), o = o.filter((n) => n != null && !
|
|
345
|
+
}), o = o.filter((n) => n != null && !Mo(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? o : o.length > 0 ? o[0] : null;
|
|
345
346
|
}
|
|
346
347
|
cacheUserLanguage(e) {
|
|
347
348
|
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
@@ -350,79 +351,79 @@ class ct {
|
|
|
350
351
|
}));
|
|
351
352
|
}
|
|
352
353
|
}
|
|
353
|
-
|
|
354
|
-
const
|
|
354
|
+
St.type = "languageDetector";
|
|
355
|
+
const Qo = {
|
|
355
356
|
type: "3rdParty",
|
|
356
357
|
init(t) {
|
|
357
|
-
|
|
358
|
+
Lt(t.options.react), Ct(t);
|
|
358
359
|
}
|
|
359
360
|
};
|
|
360
|
-
function
|
|
361
|
+
function Ko({
|
|
361
362
|
children: t
|
|
362
363
|
}) {
|
|
363
|
-
const [e, o] =
|
|
364
|
+
const [e, o] = U([]), n = Xt(), r = ot(0), l = ot(/* @__PURE__ */ new WeakMap()), s = Xe(function(p, m, f = {}) {
|
|
364
365
|
const {
|
|
365
|
-
onClose:
|
|
366
|
+
onClose: x = async () => {
|
|
366
367
|
}
|
|
367
368
|
} = f;
|
|
368
|
-
let
|
|
369
|
-
const
|
|
370
|
-
|
|
371
|
-
}),
|
|
369
|
+
let v;
|
|
370
|
+
const S = new Promise((g) => {
|
|
371
|
+
v = g;
|
|
372
|
+
}), b = `${n}-${r.current}`;
|
|
372
373
|
r.current += 1;
|
|
373
|
-
const
|
|
374
|
-
key:
|
|
374
|
+
const h = {
|
|
375
|
+
key: b,
|
|
375
376
|
open: !0,
|
|
376
|
-
promise:
|
|
377
|
-
Component:
|
|
378
|
-
payload:
|
|
379
|
-
onClose:
|
|
380
|
-
resolve:
|
|
377
|
+
promise: S,
|
|
378
|
+
Component: p,
|
|
379
|
+
payload: m,
|
|
380
|
+
onClose: x,
|
|
381
|
+
resolve: v
|
|
381
382
|
};
|
|
382
|
-
return l.current.set(
|
|
383
|
-
}), a = (
|
|
384
|
-
o((
|
|
385
|
-
}, c =
|
|
386
|
-
o((
|
|
383
|
+
return l.current.set(S, h), o((g) => [...g, h]), S;
|
|
384
|
+
}), a = (u) => {
|
|
385
|
+
o((p) => p.filter((m) => m.promise !== u)), l.current.delete(u);
|
|
386
|
+
}, c = Xe(function(p) {
|
|
387
|
+
o((m) => m.map((f) => f.promise === p ? {
|
|
387
388
|
...f,
|
|
388
389
|
open: !1
|
|
389
|
-
} : f)), setTimeout(() => a(
|
|
390
|
-
}),
|
|
391
|
-
const f = l.current.get(
|
|
390
|
+
} : f)), setTimeout(() => a(p), 1e3);
|
|
391
|
+
}), d = Xe(async function(p, m) {
|
|
392
|
+
const f = l.current.get(p);
|
|
392
393
|
if (!f)
|
|
393
394
|
throw new Error("Dialog not found in stack");
|
|
394
395
|
try {
|
|
395
|
-
await f.onClose(
|
|
396
|
+
await f.onClose(m);
|
|
396
397
|
} finally {
|
|
397
|
-
f.resolve(
|
|
398
|
+
f.resolve(m), c(p);
|
|
398
399
|
}
|
|
399
|
-
return
|
|
400
|
+
return p;
|
|
400
401
|
});
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
open:
|
|
403
|
-
close:
|
|
402
|
+
return /* @__PURE__ */ i.jsxs(It.Provider, { value: {
|
|
403
|
+
open: s,
|
|
404
|
+
close: d
|
|
404
405
|
}, children: [
|
|
405
406
|
t,
|
|
406
407
|
e.map(({
|
|
407
|
-
key:
|
|
408
|
-
open:
|
|
409
|
-
Component:
|
|
408
|
+
key: u,
|
|
409
|
+
open: p,
|
|
410
|
+
Component: m,
|
|
410
411
|
payload: f,
|
|
411
|
-
promise:
|
|
412
|
-
}) => /* @__PURE__ */
|
|
413
|
-
await
|
|
414
|
-
} },
|
|
412
|
+
promise: x
|
|
413
|
+
}) => /* @__PURE__ */ i.jsx(m, { payload: f, open: p, onClose: async (v) => {
|
|
414
|
+
await d(x, v);
|
|
415
|
+
} }, u))
|
|
415
416
|
] });
|
|
416
417
|
}
|
|
417
|
-
const
|
|
418
|
+
const Yo = () => {
|
|
418
419
|
const t = B.c(1);
|
|
419
420
|
let e;
|
|
420
|
-
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
421
|
-
/* @__PURE__ */
|
|
422
|
-
/* @__PURE__ */
|
|
423
|
-
/* @__PURE__ */
|
|
421
|
+
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ i.jsxs(Tt, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
|
|
422
|
+
/* @__PURE__ */ i.jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
|
|
423
|
+
/* @__PURE__ */ i.jsx(Et, { variant: "h6", children: io.VITE_APP_TITLE }),
|
|
424
|
+
/* @__PURE__ */ i.jsx($t, { size: "small", label: "TEST", color: "info" })
|
|
424
425
|
] }), t[0] = e) : e = t[0], e;
|
|
425
|
-
},
|
|
426
|
+
}, Ve = 34, Xo = Je(ho)(({
|
|
426
427
|
theme: t
|
|
427
428
|
}) => ({
|
|
428
429
|
borderRadius: 8,
|
|
@@ -443,7 +444,7 @@ const Eo = () => {
|
|
|
443
444
|
"& .MuiAvatar-root": {
|
|
444
445
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
445
446
|
}
|
|
446
|
-
})),
|
|
447
|
+
})), Go = Je(bo)(({
|
|
447
448
|
theme: t
|
|
448
449
|
}) => ({
|
|
449
450
|
borderRadius: 8,
|
|
@@ -464,7 +465,7 @@ const Eo = () => {
|
|
|
464
465
|
"& .MuiAvatar-root": {
|
|
465
466
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
466
467
|
}
|
|
467
|
-
})),
|
|
468
|
+
})), Vo = (t) => {
|
|
468
469
|
const e = B.c(17), {
|
|
469
470
|
item: o,
|
|
470
471
|
collapsed: n
|
|
@@ -482,22 +483,22 @@ const Eo = () => {
|
|
|
482
483
|
display: "flex",
|
|
483
484
|
alignItems: "center",
|
|
484
485
|
justifyContent: "center",
|
|
485
|
-
minWidth:
|
|
486
|
+
minWidth: Ve
|
|
486
487
|
}, e[2] = l) : l = e[2];
|
|
487
|
-
const
|
|
488
|
+
const s = o.icon ?? null;
|
|
488
489
|
let a;
|
|
489
|
-
e[3] !== n || e[4] !== o.icon || e[5] !== o.title ? (a = !o.icon && n ? /* @__PURE__ */
|
|
490
|
-
width:
|
|
491
|
-
height:
|
|
490
|
+
e[3] !== n || e[4] !== o.icon || e[5] !== o.title ? (a = !o.icon && n ? /* @__PURE__ */ i.jsx(mo, { sx: {
|
|
491
|
+
width: Ve - 7,
|
|
492
|
+
height: Ve - 7,
|
|
492
493
|
fontSize: 12
|
|
493
494
|
}, children: o.title }) : null, e[3] = n, e[4] = o.icon, e[5] = o.title, e[6] = a) : a = e[6];
|
|
494
495
|
let c;
|
|
495
|
-
e[7] !==
|
|
496
|
-
|
|
496
|
+
e[7] !== s || e[8] !== a ? (c = /* @__PURE__ */ i.jsxs(go, { sx: l, children: [
|
|
497
|
+
s,
|
|
497
498
|
a
|
|
498
|
-
] }), e[7] =
|
|
499
|
-
let
|
|
500
|
-
e[10] !== n || e[11] !== o.title ? (
|
|
499
|
+
] }), e[7] = s, e[8] = a, e[9] = c) : c = e[9];
|
|
500
|
+
let d;
|
|
501
|
+
e[10] !== n || e[11] !== o.title ? (d = n ? /* @__PURE__ */ i.jsx(So, { variant: "caption", sx: {
|
|
501
502
|
position: "absolute",
|
|
502
503
|
bottom: -18,
|
|
503
504
|
left: "50%",
|
|
@@ -508,16 +509,16 @@ const Eo = () => {
|
|
|
508
509
|
whiteSpace: "nowrap",
|
|
509
510
|
overflow: "hidden",
|
|
510
511
|
textOverflow: "ellipsis",
|
|
511
|
-
maxWidth:
|
|
512
|
-
}, children: o.title }) : null, e[10] = n, e[11] = o.title, e[12] =
|
|
513
|
-
let
|
|
514
|
-
return e[13] !== r || e[14] !== c || e[15] !==
|
|
512
|
+
maxWidth: ze - 28
|
|
513
|
+
}, children: o.title }) : null, e[10] = n, e[11] = o.title, e[12] = d) : d = e[12];
|
|
514
|
+
let u;
|
|
515
|
+
return e[13] !== r || e[14] !== c || e[15] !== d ? (u = /* @__PURE__ */ i.jsxs(xt, { sx: r, children: [
|
|
515
516
|
c,
|
|
516
|
-
|
|
517
|
-
] }), e[13] = r, e[14] = c, e[15] =
|
|
517
|
+
d
|
|
518
|
+
] }), e[13] = r, e[14] = c, e[15] = d, e[16] = u) : u = e[16], u;
|
|
518
519
|
}
|
|
519
520
|
return null;
|
|
520
|
-
},
|
|
521
|
+
}, Zo = (t) => {
|
|
521
522
|
const e = B.c(10), {
|
|
522
523
|
open: o,
|
|
523
524
|
anchorEl: n,
|
|
@@ -530,15 +531,15 @@ const Eo = () => {
|
|
|
530
531
|
offset: [6, 0]
|
|
531
532
|
}
|
|
532
533
|
}, e[0] = l) : l = e[0];
|
|
533
|
-
let
|
|
534
|
-
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
534
|
+
let s;
|
|
535
|
+
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
|
|
535
536
|
name: "preventOverflow",
|
|
536
537
|
options: {
|
|
537
538
|
padding: 8
|
|
538
539
|
}
|
|
539
|
-
}, e[1] =
|
|
540
|
+
}, e[1] = s) : s = e[1];
|
|
540
541
|
let a;
|
|
541
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [l,
|
|
542
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [l, s, {
|
|
542
543
|
name: "flip",
|
|
543
544
|
options: {
|
|
544
545
|
fallbackPlacements: ["right-end", "left-start"]
|
|
@@ -552,53 +553,53 @@ const Eo = () => {
|
|
|
552
553
|
overflowY: "auto",
|
|
553
554
|
overscrollBehavior: "contain"
|
|
554
555
|
}, e[3] = c) : c = e[3];
|
|
555
|
-
let u;
|
|
556
|
-
e[4] !== r ? (u = /* @__PURE__ */ s.jsx(oo, { sx: c, children: r }), e[4] = r, e[5] = u) : u = e[5];
|
|
557
556
|
let d;
|
|
558
|
-
|
|
559
|
-
|
|
557
|
+
e[4] !== r ? (d = /* @__PURE__ */ i.jsx(yo, { sx: c, children: r }), e[4] = r, e[5] = d) : d = e[5];
|
|
558
|
+
let u;
|
|
559
|
+
return e[6] !== n || e[7] !== o || e[8] !== d ? (u = /* @__PURE__ */ i.jsx(vo, { open: o, anchorEl: n, placement: "right-start", modifiers: a, children: d }), e[6] = n, e[7] = o, e[8] = d, e[9] = u) : u = e[9], u;
|
|
560
|
+
}, Jo = (t) => {
|
|
560
561
|
const e = B.c(57), {
|
|
561
562
|
item: o,
|
|
562
563
|
isOpen: n,
|
|
563
564
|
selected: r,
|
|
564
565
|
disabled: l,
|
|
565
|
-
collapsed:
|
|
566
|
+
collapsed: s,
|
|
566
567
|
isSidebarFullyExpanded: a,
|
|
567
568
|
isSidebarFullyCollapsed: c,
|
|
568
|
-
onClick:
|
|
569
|
-
renderNested:
|
|
570
|
-
onClose:
|
|
571
|
-
} = t,
|
|
572
|
-
let
|
|
573
|
-
e[0] !==
|
|
569
|
+
onClick: d,
|
|
570
|
+
renderNested: u,
|
|
571
|
+
onClose: p
|
|
572
|
+
} = t, m = a === void 0 ? !0 : a, [f, x] = U(null), [v, S] = U(null);
|
|
573
|
+
let b;
|
|
574
|
+
e[0] !== s || e[1] !== n || e[2] !== c || e[3] !== m || e[4] !== o.children ? (b = () => s && c && o.children ? {
|
|
574
575
|
fontSize: 18,
|
|
575
576
|
position: "absolute",
|
|
576
577
|
top: "41.5%",
|
|
577
578
|
right: "2px",
|
|
578
579
|
transform: "translateY(-50%) rotate(-90deg)"
|
|
579
|
-
} : !
|
|
580
|
+
} : !s && m && o.children ? {
|
|
580
581
|
ml: 0.5,
|
|
581
582
|
transform: `rotate(${n ? 0 : -90}deg)`
|
|
582
583
|
} : {
|
|
583
584
|
display: "none"
|
|
584
|
-
}, e[0] =
|
|
585
|
-
const
|
|
586
|
-
let
|
|
587
|
-
e[6] !==
|
|
585
|
+
}, e[0] = s, e[1] = n, e[2] = c, e[3] = m, e[4] = o.children, e[5] = b) : b = e[5];
|
|
586
|
+
const h = b, g = o.children && !s, k = s ? 60 : 48;
|
|
587
|
+
let y;
|
|
588
|
+
e[6] !== k ? (y = {
|
|
588
589
|
px: 1.4,
|
|
589
|
-
height:
|
|
590
|
-
}, e[6] =
|
|
590
|
+
height: k
|
|
591
|
+
}, e[6] = k, e[7] = y) : y = e[7];
|
|
591
592
|
let w;
|
|
592
|
-
e[8] !== l || e[9] !== r || e[10] !==
|
|
593
|
+
e[8] !== l || e[9] !== r || e[10] !== y ? (w = {
|
|
593
594
|
selected: r,
|
|
594
595
|
disabled: l,
|
|
595
|
-
sx:
|
|
596
|
-
}, e[8] = l, e[9] = r, e[10] =
|
|
597
|
-
const
|
|
596
|
+
sx: y
|
|
597
|
+
}, e[8] = l, e[9] = r, e[10] = y, e[11] = w) : w = e[11];
|
|
598
|
+
const O = w;
|
|
599
|
+
let T;
|
|
600
|
+
e[12] !== s || e[13] !== o ? (T = /* @__PURE__ */ i.jsx(Vo, { item: o, collapsed: s }), e[12] = s, e[13] = o, e[14] = T) : T = e[14];
|
|
598
601
|
let C;
|
|
599
|
-
e[
|
|
600
|
-
let j;
|
|
601
|
-
e[15] !== i || e[16] !== o.title ? (j = !i && /* @__PURE__ */ s.jsx(to, { primary: o.title, slotProps: {
|
|
602
|
+
e[15] !== s || e[16] !== o.title ? (C = !s && /* @__PURE__ */ i.jsx(xo, { primary: o.title, slotProps: {
|
|
602
603
|
primary: {
|
|
603
604
|
noWrap: !0,
|
|
604
605
|
title: o.title
|
|
@@ -612,89 +613,89 @@ const Eo = () => {
|
|
|
612
613
|
overflow: "hidden",
|
|
613
614
|
textOverflow: "ellipsis"
|
|
614
615
|
}
|
|
615
|
-
} }), e[15] =
|
|
616
|
-
let
|
|
617
|
-
e[18] !==
|
|
618
|
-
let
|
|
619
|
-
e[21] !==
|
|
616
|
+
} }), e[15] = s, e[16] = o.title, e[17] = C) : C = e[17];
|
|
617
|
+
let j;
|
|
618
|
+
e[18] !== h || e[19] !== o.children ? (j = o.children ? /* @__PURE__ */ i.jsx(fo, { sx: h }) : null, e[18] = h, e[19] = o.children, e[20] = j) : j = e[20];
|
|
619
|
+
let I;
|
|
620
|
+
e[21] !== T || e[22] !== C || e[23] !== j ? (I = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
621
|
+
T,
|
|
620
622
|
C,
|
|
621
|
-
j
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
y(z.currentTarget), h(o.title);
|
|
623
|
+
j
|
|
624
|
+
] }), e[21] = T, e[22] = C, e[23] = j, e[24] = I) : I = e[24];
|
|
625
|
+
const $ = I;
|
|
626
|
+
let A;
|
|
627
|
+
e[25] !== s || e[26] !== o.children || e[27] !== o.title ? (A = o.children && s ? {
|
|
628
|
+
onMouseEnter: (ae) => {
|
|
629
|
+
S(ae.currentTarget), x(o.title);
|
|
629
630
|
},
|
|
630
631
|
onMouseLeave: () => {
|
|
631
|
-
|
|
632
|
+
x(null);
|
|
632
633
|
}
|
|
633
|
-
} : {}, e[25] =
|
|
634
|
-
let
|
|
635
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
634
|
+
} : {}, e[25] = s, e[26] = o.children, e[27] = o.title, e[28] = A) : A = e[28];
|
|
635
|
+
let M;
|
|
636
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = {
|
|
636
637
|
py: 0,
|
|
637
638
|
px: 1,
|
|
638
639
|
overflowX: "hidden"
|
|
639
|
-
}, e[29] =
|
|
640
|
-
let I;
|
|
641
|
-
e[30] !== P || e[31] !== M || e[32] !== o || e[33] !== u || e[34] !== m || e[35] !== g ? (I = g ? /* @__PURE__ */ s.jsx($o, { ...M, onClick: () => u?.(o), children: P }) : /* @__PURE__ */ s.jsx(Mo, { ...M, to: o.to, href: o.href, params: o.params, search: o.search, onClick: m, children: P }), e[30] = P, e[31] = M, e[32] = o, e[33] = u, e[34] = m, e[35] = g, e[36] = I) : I = e[36];
|
|
640
|
+
}, e[29] = M) : M = e[29];
|
|
642
641
|
let L;
|
|
643
|
-
e[
|
|
644
|
-
let
|
|
645
|
-
e[
|
|
646
|
-
I,
|
|
647
|
-
L
|
|
648
|
-
] }), e[44] = $, e[45] = I, e[46] = L, e[47] = N) : N = e[47];
|
|
649
|
-
const R = N;
|
|
642
|
+
e[30] !== $ || e[31] !== O || e[32] !== o || e[33] !== d || e[34] !== p || e[35] !== g ? (L = g ? /* @__PURE__ */ i.jsx(Xo, { ...O, onClick: () => d?.(o), children: $ }) : /* @__PURE__ */ i.jsx(Go, { ...O, to: o.to, href: o.href, params: o.params, search: o.search, onClick: p, children: $ }), e[30] = $, e[31] = O, e[32] = o, e[33] = d, e[34] = p, e[35] = g, e[36] = L) : L = e[36];
|
|
643
|
+
let _;
|
|
644
|
+
e[37] !== v || e[38] !== s || e[39] !== f || e[40] !== o.children || e[41] !== o.title || e[42] !== u ? (_ = o.children && s ? /* @__PURE__ */ i.jsx(Zo, { open: o.title === f, anchorEl: v, children: u?.(o.children) }) : null, e[37] = v, e[38] = s, e[39] = f, e[40] = o.children, e[41] = o.title, e[42] = u, e[43] = _) : _ = e[43];
|
|
650
645
|
let D;
|
|
651
|
-
e[
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
646
|
+
e[44] !== A || e[45] !== L || e[46] !== _ ? (D = /* @__PURE__ */ i.jsxs(po, { ...A, sx: M, children: [
|
|
647
|
+
L,
|
|
648
|
+
_
|
|
649
|
+
] }), e[44] = A, e[45] = L, e[46] = _, e[47] = D) : D = e[47];
|
|
650
|
+
const P = D;
|
|
651
|
+
let E;
|
|
652
|
+
e[48] !== s || e[49] !== n || e[50] !== o.children || e[51] !== u ? (E = o.children && !s ? /* @__PURE__ */ i.jsx(At, { in: n, timeout: "auto", unmountOnExit: !0, children: u?.(o.children) }) : null, e[48] = s, e[49] = n, e[50] = o.children, e[51] = u, e[52] = E) : E = e[52];
|
|
653
|
+
let N;
|
|
654
|
+
return e[53] !== o.to || e[54] !== P || e[55] !== E ? (N = /* @__PURE__ */ i.jsxs(Ue, { children: [
|
|
655
|
+
P,
|
|
656
|
+
E
|
|
657
|
+
] }, o.to), e[53] = o.to, e[54] = P, e[55] = E, e[56] = N) : N = e[56], N;
|
|
658
|
+
}, en = (t) => !("kind" in t), tn = (t) => "kind" in t && t.kind === "divider", Ze = (t) => "kind" in t && t.kind === "header", bt = (t) => {
|
|
658
659
|
const e = B.c(31), {
|
|
659
660
|
subNavigation: o,
|
|
660
661
|
depth: n,
|
|
661
662
|
collapsed: r,
|
|
662
663
|
isPopover: l,
|
|
663
|
-
isSidebarFullyExpanded:
|
|
664
|
+
isSidebarFullyExpanded: s,
|
|
664
665
|
isSidebarFullyCollapsed: a,
|
|
665
666
|
expandedWidth: c,
|
|
666
|
-
renderItem:
|
|
667
|
-
activePath:
|
|
668
|
-
onNavigate:
|
|
669
|
-
onClose:
|
|
670
|
-
} = t, f = n === void 0 ? 0 : n,
|
|
671
|
-
let
|
|
672
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
673
|
-
const [
|
|
674
|
-
let
|
|
675
|
-
e[1] !== r ? (
|
|
676
|
-
r &&
|
|
677
|
-
}, g = [r], e[1] = r, e[2] =
|
|
678
|
-
let
|
|
679
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
680
|
-
const
|
|
667
|
+
renderItem: d,
|
|
668
|
+
activePath: u,
|
|
669
|
+
onNavigate: p,
|
|
670
|
+
onClose: m
|
|
671
|
+
} = t, f = n === void 0 ? 0 : n, x = s === void 0 ? !0 : s;
|
|
672
|
+
let v;
|
|
673
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = [], e[0] = v) : v = e[0];
|
|
674
|
+
const [S, b] = U(v);
|
|
675
|
+
let h, g;
|
|
676
|
+
e[1] !== r ? (h = () => {
|
|
677
|
+
r && b([]);
|
|
678
|
+
}, g = [r], e[1] = r, e[2] = h, e[3] = g) : (h = e[2], g = e[3]), gt(h, g);
|
|
679
|
+
let k;
|
|
680
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (C) => b((j) => j.includes(C) ? j.filter((I) => I !== C) : [...j, C]), e[4] = k) : k = e[4];
|
|
681
|
+
const y = k;
|
|
681
682
|
let w;
|
|
682
|
-
e[5] !==
|
|
683
|
-
const
|
|
684
|
-
let
|
|
685
|
-
if (e[12] !==
|
|
686
|
-
const
|
|
687
|
-
let
|
|
688
|
-
e[25] !==
|
|
683
|
+
e[5] !== u || e[6] !== r || e[7] !== f || e[8] !== c || e[9] !== m || e[10] !== p ? (w = (C) => /* @__PURE__ */ i.jsx(bt, { subNavigation: C, depth: f + 1, isPopover: r, expandedWidth: c, activePath: u, onNavigate: p, onClose: m }), e[5] = u, e[6] = r, e[7] = f, e[8] = c, e[9] = m, e[10] = p, e[11] = w) : w = e[11];
|
|
684
|
+
const O = w;
|
|
685
|
+
let T;
|
|
686
|
+
if (e[12] !== u || e[13] !== r || e[14] !== f || e[15] !== c || e[16] !== l || e[17] !== a || e[18] !== x || e[19] !== m || e[20] !== S || e[21] !== d || e[22] !== O || e[23] !== o) {
|
|
687
|
+
const C = o.filter(on), j = l && f === 1 ? 0.5 : 0, I = f === 0 && !l ? 4 : 0.5, $ = (l ? 1 : 2) * (l ? f - 1 : f), A = l && f === 1 ? Fe : "auto", M = r ? ze : "auto";
|
|
688
|
+
let L;
|
|
689
|
+
e[25] !== I || e[26] !== $ || e[27] !== A || e[28] !== M || e[29] !== j ? (L = {
|
|
689
690
|
padding: 0,
|
|
690
|
-
mt:
|
|
691
|
-
mb:
|
|
692
|
-
pl:
|
|
693
|
-
minWidth:
|
|
694
|
-
width:
|
|
695
|
-
}, e[25] =
|
|
696
|
-
if (
|
|
697
|
-
return /* @__PURE__ */
|
|
691
|
+
mt: j,
|
|
692
|
+
mb: I,
|
|
693
|
+
pl: $,
|
|
694
|
+
minWidth: A,
|
|
695
|
+
width: M
|
|
696
|
+
}, e[25] = I, e[26] = $, e[27] = A, e[28] = M, e[29] = j, e[30] = L) : L = e[30], T = /* @__PURE__ */ i.jsx(co, { sx: L, children: C.map((_, D) => {
|
|
697
|
+
if (Ze(_))
|
|
698
|
+
return /* @__PURE__ */ i.jsx(uo, { sx: {
|
|
698
699
|
fontSize: 12,
|
|
699
700
|
fontWeight: "700",
|
|
700
701
|
height: r ? 0 : 40,
|
|
@@ -706,239 +707,256 @@ const Eo = () => {
|
|
|
706
707
|
zIndex: 2,
|
|
707
708
|
bgcolor: "transparent",
|
|
708
709
|
position: "static"
|
|
709
|
-
}, children:
|
|
710
|
-
if (
|
|
711
|
-
const
|
|
712
|
-
return /* @__PURE__ */
|
|
710
|
+
}, children: _.title }, `subheader-${f}-${D}`);
|
|
711
|
+
if (tn(_)) {
|
|
712
|
+
const N = C[D + 1];
|
|
713
|
+
return /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsx(ao, { sx: {
|
|
713
714
|
mx: 1,
|
|
714
715
|
mt: 1,
|
|
715
|
-
mb:
|
|
716
|
-
} }) }, `divider-${f}-${
|
|
716
|
+
mb: Ze(N) && !r ? 0 : 1
|
|
717
|
+
} }) }, `divider-${f}-${D}`);
|
|
717
718
|
}
|
|
718
|
-
if (!
|
|
719
|
+
if (!en(_))
|
|
719
720
|
return null;
|
|
720
|
-
const
|
|
721
|
-
return
|
|
721
|
+
const P = `item-${f}-${D}`, E = `${f}-${D}-${_.title}`;
|
|
722
|
+
return d ? /* @__PURE__ */ i.jsx(Ue, { children: d(_, {
|
|
722
723
|
collapsed: !!r
|
|
723
|
-
}) },
|
|
724
|
-
}) }), e[12] =
|
|
724
|
+
}) }, P) : /* @__PURE__ */ i.jsx(Jo, { item: _, isOpen: S.includes(E), selected: u === _.to, collapsed: r, isSidebarFullyExpanded: x, isSidebarFullyCollapsed: a, onClick: _.children && !r ? () => y(E) : void 0, renderNested: O, onClose: m }, P);
|
|
725
|
+
}) }), e[12] = u, e[13] = r, e[14] = f, e[15] = c, e[16] = l, e[17] = a, e[18] = x, e[19] = m, e[20] = S, e[21] = d, e[22] = O, e[23] = o, e[24] = T;
|
|
725
726
|
} else
|
|
726
|
-
|
|
727
|
-
return
|
|
727
|
+
T = e[24];
|
|
728
|
+
return T;
|
|
728
729
|
};
|
|
729
|
-
function
|
|
730
|
+
function on(t) {
|
|
730
731
|
return !t.hidden;
|
|
731
732
|
}
|
|
732
|
-
const
|
|
733
|
+
const ze = 84, Fe = 320, ft = 64, nn = (t) => {
|
|
733
734
|
const e = B.c(29), {
|
|
734
735
|
navigation: o,
|
|
735
736
|
expanded: n,
|
|
736
737
|
setExpanded: r
|
|
737
|
-
} = t, l =
|
|
738
|
+
} = t, l = so(), s = ro(), a = Jt();
|
|
738
739
|
let c;
|
|
739
740
|
e[0] !== a.breakpoints ? (c = a.breakpoints.up("sm"), e[0] = a.breakpoints, e[1] = c) : c = e[1];
|
|
740
|
-
const
|
|
741
|
-
let
|
|
742
|
-
e[2] !== n || e[3] !== l || e[4] !== o || e[5] !==
|
|
741
|
+
const d = Mt(c);
|
|
742
|
+
let u;
|
|
743
|
+
e[2] !== n || e[3] !== l || e[4] !== o || e[5] !== s.location.pathname || e[6] !== r || e[7] !== d ? (u = (S) => /* @__PURE__ */ i.jsx(xt, { component: "nav", sx: {
|
|
743
744
|
height: "100%",
|
|
744
745
|
display: "flex",
|
|
745
746
|
flexDirection: "column",
|
|
746
747
|
justifyContent: "space-between",
|
|
747
748
|
overflow: "auto",
|
|
748
|
-
scrollbarGutter:
|
|
749
|
+
scrollbarGutter: S ? "stable" : "auto",
|
|
749
750
|
overflowX: "hidden",
|
|
750
|
-
pt: o[0] &&
|
|
751
|
-
}, children: /* @__PURE__ */
|
|
752
|
-
const
|
|
753
|
-
if (
|
|
754
|
-
const
|
|
755
|
-
let
|
|
756
|
-
e[9] !==
|
|
751
|
+
pt: o[0] && Ze(o[0]) && !S ? 0 : 2
|
|
752
|
+
}, children: /* @__PURE__ */ i.jsx(bt, { subNavigation: o, collapsed: S, isSidebarFullyExpanded: n, isSidebarFullyCollapsed: !n, expandedWidth: Fe, activePath: s.location.pathname, onNavigate: l, onClose: d ? void 0 : () => r(!1) }) }), e[2] = n, e[3] = l, e[4] = o, e[5] = s.location.pathname, e[6] = r, e[7] = d, e[8] = u) : u = e[8];
|
|
753
|
+
const p = u;
|
|
754
|
+
if (d) {
|
|
755
|
+
const S = n ? Fe : ze, b = n ? Fe : ze;
|
|
756
|
+
let h;
|
|
757
|
+
e[9] !== b ? (h = {
|
|
757
758
|
position: "absolute",
|
|
758
|
-
top: `${
|
|
759
|
-
height: `calc(100% - ${
|
|
760
|
-
width:
|
|
759
|
+
top: `${ft}px`,
|
|
760
|
+
height: `calc(100% - ${ft}px)`,
|
|
761
|
+
width: b,
|
|
761
762
|
borderTop: "1px solid",
|
|
762
763
|
borderColor: "var(--mui-palette-divider)"
|
|
763
|
-
}, e[9] =
|
|
764
|
+
}, e[9] = b, e[10] = h) : h = e[10];
|
|
764
765
|
let g;
|
|
765
|
-
e[11] !==
|
|
766
|
-
width:
|
|
767
|
-
"& .MuiDrawer-paper":
|
|
768
|
-
}, e[11] =
|
|
769
|
-
const
|
|
770
|
-
let
|
|
771
|
-
e[14] !==
|
|
766
|
+
e[11] !== S || e[12] !== h ? (g = {
|
|
767
|
+
width: S,
|
|
768
|
+
"& .MuiDrawer-paper": h
|
|
769
|
+
}, e[11] = S, e[12] = h, e[13] = g) : g = e[13];
|
|
770
|
+
const k = !n;
|
|
771
|
+
let y;
|
|
772
|
+
e[14] !== p || e[15] !== k ? (y = p(k), e[14] = p, e[15] = k, e[16] = y) : y = e[16];
|
|
772
773
|
let w;
|
|
773
|
-
return e[17] !== g || e[18] !==
|
|
774
|
+
return e[17] !== g || e[18] !== y ? (w = /* @__PURE__ */ i.jsx(st, { variant: "permanent", sx: g, children: y }), e[17] = g, e[18] = y, e[19] = w) : w = e[19], w;
|
|
774
775
|
}
|
|
775
|
-
let
|
|
776
|
-
e[20] !== r ? (
|
|
776
|
+
let m;
|
|
777
|
+
e[20] !== r ? (m = () => r(!1), e[20] = r, e[21] = m) : m = e[21];
|
|
777
778
|
const f = !n;
|
|
778
|
-
let h;
|
|
779
|
-
e[22] !== m || e[23] !== f ? (h = m(f), e[22] = m, e[23] = f, e[24] = h) : h = e[24];
|
|
780
779
|
let x;
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
780
|
+
e[22] !== p || e[23] !== f ? (x = p(f), e[22] = p, e[23] = f, e[24] = x) : x = e[24];
|
|
781
|
+
let v;
|
|
782
|
+
return e[25] !== n || e[26] !== m || e[27] !== x ? (v = /* @__PURE__ */ i.jsx(st, { open: n, onClose: m, children: x }), e[25] = n, e[26] = m, e[27] = x, e[28] = v) : v = e[28], v;
|
|
783
|
+
}, mt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), sn = () => {
|
|
784
|
+
const t = B.c(122), [e, o] = U(), [n, r] = U("settings"), l = !!e, {
|
|
785
|
+
t: s,
|
|
785
786
|
i18n: a
|
|
786
|
-
} =
|
|
787
|
+
} = Dt(), {
|
|
787
788
|
mode: c,
|
|
788
|
-
setMode:
|
|
789
|
-
} =
|
|
790
|
-
let
|
|
791
|
-
|
|
792
|
-
|
|
789
|
+
setMode: d
|
|
790
|
+
} = Ot(), u = lo(), p = eo();
|
|
791
|
+
let m;
|
|
792
|
+
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = Ge.sessionUserPhoto(), t[0] = m) : m = t[0];
|
|
793
|
+
const {
|
|
794
|
+
data: f
|
|
795
|
+
} = it(m);
|
|
796
|
+
let x;
|
|
797
|
+
t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = Ge.sessionUserDetail(), t[1] = x) : x = t[1];
|
|
798
|
+
let v;
|
|
799
|
+
t[2] !== l ? (v = {
|
|
800
|
+
...x,
|
|
801
|
+
enabled: l
|
|
802
|
+
}, t[2] = l, t[3] = v) : v = t[3];
|
|
803
|
+
const {
|
|
804
|
+
data: S
|
|
805
|
+
} = it(v);
|
|
806
|
+
let b, h, g, k, y, w, O;
|
|
807
|
+
if (t[4] !== a || t[5] !== c || t[6] !== d || t[7] !== s) {
|
|
808
|
+
const wt = (Array.isArray(a.options.supportedLngs) ? a.options.supportedLngs : []).filter(rn), et = new Intl.DisplayNames([a.language], {
|
|
793
809
|
type: "language"
|
|
794
810
|
});
|
|
795
|
-
let D;
|
|
796
|
-
t[11] !== i ? (D = i("Layout.Light"), t[11] = i, t[12] = D) : D = t[12];
|
|
797
|
-
let A;
|
|
798
|
-
t[13] !== D ? (A = {
|
|
799
|
-
mode: "light",
|
|
800
|
-
icon: co,
|
|
801
|
-
label: D
|
|
802
|
-
}, t[13] = D, t[14] = A) : A = t[14];
|
|
803
|
-
let z;
|
|
804
|
-
t[15] !== i ? (z = i("Layout.Dark"), t[15] = i, t[16] = z) : z = t[16];
|
|
805
|
-
let U;
|
|
806
|
-
t[17] !== z ? (U = {
|
|
807
|
-
mode: "dark",
|
|
808
|
-
icon: lo,
|
|
809
|
-
label: z
|
|
810
|
-
}, t[17] = z, t[18] = U) : U = t[18];
|
|
811
|
-
let H;
|
|
812
|
-
t[19] !== i ? (H = i("Layout.System"), t[19] = i, t[20] = H) : H = t[20];
|
|
813
811
|
let q;
|
|
814
|
-
t[
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
const le = re;
|
|
822
|
-
let ae;
|
|
823
|
-
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ae = (O) => o(O.currentTarget), t[27] = ae) : ae = t[27], p = ae;
|
|
824
|
-
let ce;
|
|
825
|
-
t[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ce = () => {
|
|
826
|
-
o(void 0), setTimeout(() => r("settings"), 300);
|
|
827
|
-
}, t[28] = ce) : ce = t[28], m = ce;
|
|
828
|
-
let de;
|
|
829
|
-
t[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (de = (O) => () => r(O), t[29] = de) : de = t[29];
|
|
830
|
-
const ue = de;
|
|
831
|
-
let fe;
|
|
832
|
-
t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (fe = {
|
|
833
|
-
backgroundColor: "transparent"
|
|
834
|
-
}, t[30] = fe) : fe = t[30];
|
|
812
|
+
t[15] !== s ? (q = s("Layout.Light"), t[15] = s, t[16] = q) : q = t[16];
|
|
813
|
+
let Q;
|
|
814
|
+
t[17] !== q ? (Q = {
|
|
815
|
+
mode: "light",
|
|
816
|
+
icon: Lo,
|
|
817
|
+
label: q
|
|
818
|
+
}, t[17] = q, t[18] = Q) : Q = t[18];
|
|
835
819
|
let K;
|
|
836
|
-
t[
|
|
820
|
+
t[19] !== s ? (K = s("Layout.Dark"), t[19] = s, t[20] = K) : K = t[20];
|
|
837
821
|
let Y;
|
|
838
|
-
t[
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
}, t[
|
|
843
|
-
let he;
|
|
844
|
-
t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (he = /* @__PURE__ */ s.jsx(se, { children: /* @__PURE__ */ s.jsx(ro, {}) }), t[37] = he) : he = t[37];
|
|
822
|
+
t[21] !== K ? (Y = {
|
|
823
|
+
mode: "dark",
|
|
824
|
+
icon: jo,
|
|
825
|
+
label: K
|
|
826
|
+
}, t[21] = K, t[22] = Y) : Y = t[22];
|
|
845
827
|
let X;
|
|
846
|
-
t[
|
|
847
|
-
const Ne = le.find((O) => O.mode === c)?.label;
|
|
828
|
+
t[23] !== s ? (X = s("Layout.System"), t[23] = s, t[24] = X) : X = t[24];
|
|
848
829
|
let G;
|
|
849
|
-
t[
|
|
830
|
+
t[25] !== X ? (G = {
|
|
831
|
+
mode: "system",
|
|
832
|
+
icon: Io,
|
|
833
|
+
label: X
|
|
834
|
+
}, t[25] = X, t[26] = G) : G = t[26];
|
|
835
|
+
let fe;
|
|
836
|
+
t[27] !== G || t[28] !== Q || t[29] !== Y ? (fe = [Q, Y, G], t[27] = G, t[28] = Q, t[29] = Y, t[30] = fe) : fe = t[30];
|
|
837
|
+
const me = fe;
|
|
838
|
+
let pe;
|
|
839
|
+
t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pe = (R) => o(R.currentTarget), t[31] = pe) : pe = t[31], g = pe;
|
|
840
|
+
let he;
|
|
841
|
+
t[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (he = () => {
|
|
842
|
+
o(void 0), setTimeout(() => r("settings"), 300);
|
|
843
|
+
}, t[32] = he) : he = t[32], h = he;
|
|
850
844
|
let ge;
|
|
851
|
-
t[
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
845
|
+
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = (R) => () => r(R), t[33] = ge) : ge = t[33];
|
|
846
|
+
const xe = ge;
|
|
847
|
+
let ye;
|
|
848
|
+
t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ye = {
|
|
849
|
+
backgroundColor: "transparent"
|
|
850
|
+
}, t[34] = ye) : ye = t[34];
|
|
851
|
+
let V;
|
|
852
|
+
t[35] !== s ? (V = s("Layout.Settings"), t[35] = s, t[36] = V) : V = t[36];
|
|
853
|
+
let Z;
|
|
854
|
+
t[37] !== V ? (Z = /* @__PURE__ */ i.jsx(Ye, { sx: ye, children: V }), t[37] = V, t[38] = Z) : Z = t[38];
|
|
855
|
+
let ve, Se;
|
|
856
|
+
t[39] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = xe("theme"), Se = {
|
|
860
857
|
py: 0.3
|
|
861
|
-
}, t[
|
|
862
|
-
let ve;
|
|
863
|
-
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ s.jsx(se, { children: /* @__PURE__ */ s.jsx(mo, {}) }), t[48] = ve) : ve = t[48];
|
|
864
|
-
let Se;
|
|
865
|
-
t[49] !== i ? (Se = i("Layout.Language"), t[49] = i, t[50] = Se) : Se = t[50];
|
|
858
|
+
}, t[39] = ve, t[40] = Se) : (ve = t[39], Se = t[40]);
|
|
866
859
|
let be;
|
|
867
|
-
t[
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
] });
|
|
860
|
+
t[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(wo, {}) }), t[41] = be) : be = t[41];
|
|
861
|
+
let J;
|
|
862
|
+
t[42] !== s ? (J = s("Layout.Appearance"), t[42] = s, t[43] = J) : J = t[43];
|
|
863
|
+
const qe = me.find((R) => R.mode === c)?.label;
|
|
864
|
+
let ee;
|
|
865
|
+
t[44] !== J || t[45] !== qe ? (ee = /* @__PURE__ */ i.jsx(z, { primary: J, secondary: qe }), t[44] = J, t[45] = qe, t[46] = ee) : ee = t[46];
|
|
873
866
|
let ke;
|
|
874
|
-
t[
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
867
|
+
t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ke = /* @__PURE__ */ i.jsx(lt, {}), t[47] = ke) : ke = t[47];
|
|
868
|
+
let te;
|
|
869
|
+
t[48] !== ee ? (te = /* @__PURE__ */ i.jsxs(ce, { onClick: ve, sx: Se, children: [
|
|
870
|
+
be,
|
|
871
|
+
ee,
|
|
872
|
+
ke
|
|
873
|
+
] }), t[48] = ee, t[49] = te) : te = t[49];
|
|
878
874
|
let we, je;
|
|
879
|
-
t[
|
|
875
|
+
t[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = xe("language"), je = {
|
|
876
|
+
py: 0.3
|
|
877
|
+
}, t[50] = we, t[51] = je) : (we = t[50], je = t[51]);
|
|
878
|
+
let _e;
|
|
879
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Do, {}) }), t[52] = _e) : _e = t[52];
|
|
880
|
+
let Le;
|
|
881
|
+
t[53] !== s ? (Le = s("Layout.Language"), t[53] = s, t[54] = Le) : Le = t[54];
|
|
882
|
+
let Ce;
|
|
883
|
+
t[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ce = /* @__PURE__ */ i.jsx(lt, {}), t[55] = Ce) : Ce = t[55];
|
|
884
|
+
const Qe = /* @__PURE__ */ i.jsxs(ce, { onClick: we, sx: je, children: [
|
|
885
|
+
_e,
|
|
886
|
+
/* @__PURE__ */ i.jsx(z, { primary: Le, secondary: mt(et.of(a.language)) }),
|
|
887
|
+
Ce
|
|
888
|
+
] });
|
|
889
|
+
let Ie;
|
|
890
|
+
t[56] !== Z || t[57] !== te || t[58] !== Qe ? (Ie = /* @__PURE__ */ i.jsxs(Pe, { component: "nav", subheader: Z, children: [
|
|
891
|
+
te,
|
|
892
|
+
Qe
|
|
893
|
+
] }), t[56] = Z, t[57] = te, t[58] = Qe, t[59] = Ie) : Ie = t[59], k = Ie;
|
|
894
|
+
let De, Te;
|
|
895
|
+
t[60] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (De = xe("settings"), Te = {
|
|
880
896
|
backgroundColor: "transparent",
|
|
881
897
|
display: "flex",
|
|
882
898
|
alignItems: "center",
|
|
883
899
|
px: 1,
|
|
884
900
|
cursor: "pointer"
|
|
885
|
-
}, t[
|
|
886
|
-
let
|
|
887
|
-
t[
|
|
901
|
+
}, t[60] = De, t[61] = Te) : (De = t[60], Te = t[61]);
|
|
902
|
+
let Ee;
|
|
903
|
+
t[62] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ee = /* @__PURE__ */ i.jsx(Ne, { size: "small", sx: {
|
|
888
904
|
mr: 0.5
|
|
889
|
-
}, children: /* @__PURE__ */
|
|
890
|
-
let
|
|
891
|
-
t[
|
|
892
|
-
let
|
|
893
|
-
t[
|
|
894
|
-
|
|
905
|
+
}, children: /* @__PURE__ */ i.jsx(rt, { fontSize: "small" }) }), t[62] = Ee) : Ee = t[62];
|
|
906
|
+
let oe;
|
|
907
|
+
t[63] !== s ? (oe = s("Layout.Appearance"), t[63] = s, t[64] = oe) : oe = t[64];
|
|
908
|
+
let ne;
|
|
909
|
+
t[65] !== oe ? (ne = /* @__PURE__ */ i.jsxs(Ye, { onClick: De, sx: Te, children: [
|
|
910
|
+
Ee,
|
|
895
911
|
" ",
|
|
896
|
-
|
|
897
|
-
] }), t[
|
|
898
|
-
let
|
|
899
|
-
t[
|
|
912
|
+
oe
|
|
913
|
+
] }), t[65] = oe, t[66] = ne) : ne = t[66];
|
|
914
|
+
let ie;
|
|
915
|
+
t[67] !== me || t[68] !== c || t[69] !== d ? (ie = me.map((R) => {
|
|
900
916
|
const {
|
|
901
|
-
mode:
|
|
902
|
-
icon:
|
|
903
|
-
label:
|
|
904
|
-
} =
|
|
905
|
-
return /* @__PURE__ */
|
|
906
|
-
|
|
907
|
-
}, selected: c ===
|
|
908
|
-
/* @__PURE__ */
|
|
909
|
-
/* @__PURE__ */
|
|
910
|
-
] },
|
|
911
|
-
}), t[
|
|
912
|
-
let
|
|
913
|
-
t[
|
|
914
|
-
let
|
|
915
|
-
t[
|
|
917
|
+
mode: Ke,
|
|
918
|
+
icon: jt,
|
|
919
|
+
label: _t
|
|
920
|
+
} = R;
|
|
921
|
+
return /* @__PURE__ */ i.jsxs(ce, { onClick: () => {
|
|
922
|
+
d(Ke), h();
|
|
923
|
+
}, selected: c === Ke, children: [
|
|
924
|
+
/* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(jt, {}) }),
|
|
925
|
+
/* @__PURE__ */ i.jsx(z, { primary: _t })
|
|
926
|
+
] }, Ke);
|
|
927
|
+
}), t[67] = me, t[68] = c, t[69] = d, t[70] = ie) : ie = t[70];
|
|
928
|
+
let $e;
|
|
929
|
+
t[71] !== ne || t[72] !== ie ? ($e = /* @__PURE__ */ i.jsx(Pe, { subheader: ne, children: ie }), t[71] = ne, t[72] = ie, t[73] = $e) : $e = t[73], O = $e, b = Pe;
|
|
930
|
+
let Ae, Me;
|
|
931
|
+
t[74] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = xe("settings"), Me = {
|
|
916
932
|
backgroundColor: "transparent",
|
|
917
933
|
display: "flex",
|
|
918
934
|
alignItems: "center",
|
|
919
935
|
px: 1,
|
|
920
936
|
cursor: "pointer"
|
|
921
|
-
}, t[
|
|
922
|
-
let
|
|
923
|
-
t[
|
|
937
|
+
}, t[74] = Ae, t[75] = Me) : (Ae = t[74], Me = t[75]);
|
|
938
|
+
let Oe;
|
|
939
|
+
t[76] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Oe = /* @__PURE__ */ i.jsx(Ne, { size: "small", sx: {
|
|
924
940
|
mr: 0.5
|
|
925
|
-
}, children: /* @__PURE__ */
|
|
926
|
-
let
|
|
927
|
-
t[
|
|
928
|
-
|
|
941
|
+
}, children: /* @__PURE__ */ i.jsx(rt, { fontSize: "small" }) }), t[76] = Oe) : Oe = t[76];
|
|
942
|
+
let se;
|
|
943
|
+
t[77] !== s ? (se = s("Layout.Language"), t[77] = s, t[78] = se) : se = t[78], t[79] !== se ? (y = /* @__PURE__ */ i.jsxs(Ye, { onClick: Ae, sx: Me, children: [
|
|
944
|
+
Oe,
|
|
929
945
|
" ",
|
|
930
|
-
|
|
931
|
-
] }), t[
|
|
932
|
-
/* @__PURE__ */
|
|
933
|
-
/* @__PURE__ */
|
|
934
|
-
] },
|
|
946
|
+
se
|
|
947
|
+
] }), t[79] = se, t[80] = y) : y = t[80], w = wt.map((R) => /* @__PURE__ */ i.jsxs(ce, { onClick: () => a.changeLanguage(R).finally(() => h()), selected: a.resolvedLanguage === R, children: [
|
|
948
|
+
/* @__PURE__ */ i.jsx(de, { children: a.resolvedLanguage === R && /* @__PURE__ */ i.jsx(_o, {}) }),
|
|
949
|
+
/* @__PURE__ */ i.jsx(z, { primary: mt(et.of(R)) })
|
|
950
|
+
] }, R)), t[4] = a, t[5] = c, t[6] = d, t[7] = s, t[8] = b, t[9] = h, t[10] = g, t[11] = k, t[12] = y, t[13] = w, t[14] = O;
|
|
935
951
|
} else
|
|
936
|
-
|
|
937
|
-
let
|
|
938
|
-
t[
|
|
939
|
-
const
|
|
940
|
-
let
|
|
941
|
-
t[
|
|
952
|
+
b = t[8], h = t[9], g = t[10], k = t[11], y = t[12], w = t[13], O = t[14];
|
|
953
|
+
let T;
|
|
954
|
+
t[81] !== b || t[82] !== y || t[83] !== w ? (T = /* @__PURE__ */ i.jsx(b, { subheader: y, children: w }), t[81] = b, t[82] = y, t[83] = w, t[84] = T) : T = t[84];
|
|
955
|
+
const C = T;
|
|
956
|
+
let j;
|
|
957
|
+
t[85] !== p ? (j = () => p.prefetchQuery(Ge.sessionUserDetail()), t[85] = p, t[86] = j) : j = t[86];
|
|
958
|
+
let I;
|
|
959
|
+
t[87] !== f ? (I = f ? /* @__PURE__ */ i.jsx(Nt, { src: f, sx: {
|
|
942
960
|
width: {
|
|
943
961
|
xs: 32,
|
|
944
962
|
sm: 40
|
|
@@ -947,9 +965,7 @@ const Oe = 84, Me = 320, tt = 64, Bo = (t) => {
|
|
|
947
965
|
xs: 32,
|
|
948
966
|
sm: 40
|
|
949
967
|
}
|
|
950
|
-
} })
|
|
951
|
-
let b;
|
|
952
|
-
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ s.jsx(Nt, { fallback: /* @__PURE__ */ s.jsx(Xe, { sx: {
|
|
968
|
+
} }) : /* @__PURE__ */ i.jsx(ko, { sx: {
|
|
953
969
|
width: {
|
|
954
970
|
xs: 32,
|
|
955
971
|
sm: 40
|
|
@@ -958,56 +974,60 @@ const Oe = 84, Me = 320, tt = 64, Bo = (t) => {
|
|
|
958
974
|
xs: 32,
|
|
959
975
|
sm: 40
|
|
960
976
|
}
|
|
961
|
-
} })
|
|
962
|
-
let
|
|
963
|
-
t[
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
] }), t[83] = p, t[84] = S) : S = t[84];
|
|
967
|
-
let w;
|
|
968
|
-
t[85] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
977
|
+
} }), t[87] = f, t[88] = I) : I = t[88];
|
|
978
|
+
let $;
|
|
979
|
+
t[89] !== g || t[90] !== j || t[91] !== I ? ($ = /* @__PURE__ */ i.jsx(Ne, { size: "small", edge: "end", onClick: g, onMouseEnter: j, children: I }), t[89] = g, t[90] = j, t[91] = I, t[92] = $) : $ = t[92];
|
|
980
|
+
let A;
|
|
981
|
+
t[93] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = {
|
|
969
982
|
width: 240
|
|
970
|
-
}, t[
|
|
983
|
+
}, t[93] = A) : A = t[93];
|
|
971
984
|
let M;
|
|
972
|
-
t[
|
|
973
|
-
let
|
|
974
|
-
t[
|
|
975
|
-
|
|
976
|
-
|
|
985
|
+
t[94] !== S ? (M = /* @__PURE__ */ i.jsx(Pt, { children: S ? /* @__PURE__ */ i.jsx(z, { primary: S.displayName.split("/")[0], secondary: S.jobTitle }) : /* @__PURE__ */ i.jsx(z, { primary: /* @__PURE__ */ i.jsx(tt, {}), secondary: /* @__PURE__ */ i.jsx(tt, {}) }) }), t[94] = S, t[95] = M) : M = t[95];
|
|
986
|
+
let L;
|
|
987
|
+
t[96] !== u ? (L = () => To.signOut({
|
|
988
|
+
fetchOptions: {
|
|
989
|
+
onSuccess: () => u.invalidate()
|
|
990
|
+
}
|
|
991
|
+
}), t[96] = u, t[97] = L) : L = t[97];
|
|
977
992
|
let _;
|
|
978
|
-
t[
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
const E = n === "settings" && f, P = n === "theme" && y, $ = n === "language" && v;
|
|
986
|
-
let T;
|
|
987
|
-
t[92] !== _ || t[93] !== E || t[94] !== P || t[95] !== $ ? (T = /* @__PURE__ */ s.jsxs($e, { sx: w, children: [
|
|
993
|
+
t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Co, { color: "error" }) }), t[98] = _) : _ = t[98];
|
|
994
|
+
let D;
|
|
995
|
+
t[99] !== s ? (D = s("Layout.Logout"), t[99] = s, t[100] = D) : D = t[100];
|
|
996
|
+
let P;
|
|
997
|
+
t[101] !== D ? (P = /* @__PURE__ */ i.jsx(z, { primary: D }), t[101] = D, t[102] = P) : P = t[102];
|
|
998
|
+
let E;
|
|
999
|
+
t[103] !== L || t[104] !== P ? (E = /* @__PURE__ */ i.jsxs(ce, { onClick: L, children: [
|
|
988
1000
|
_,
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1001
|
+
P
|
|
1002
|
+
] }), t[103] = L, t[104] = P, t[105] = E) : E = t[105];
|
|
1003
|
+
let N;
|
|
1004
|
+
t[106] !== M || t[107] !== E ? (N = /* @__PURE__ */ i.jsxs(Pe, { disablePadding: !0, children: [
|
|
1005
|
+
M,
|
|
1006
|
+
E
|
|
1007
|
+
] }), t[106] = M, t[107] = E, t[108] = N) : N = t[108];
|
|
1008
|
+
const ae = n === "settings" && k, We = n === "theme" && O, He = n === "language" && C;
|
|
1009
|
+
let W;
|
|
1010
|
+
t[109] !== N || t[110] !== ae || t[111] !== We || t[112] !== He ? (W = /* @__PURE__ */ i.jsxs(Re, { sx: A, children: [
|
|
1011
|
+
N,
|
|
1012
|
+
ae,
|
|
1013
|
+
We,
|
|
1014
|
+
He
|
|
1015
|
+
] }), t[109] = N, t[110] = ae, t[111] = We, t[112] = He, t[113] = W) : W = t[113];
|
|
1016
|
+
let H;
|
|
1017
|
+
t[114] !== e || t[115] !== h || t[116] !== l || t[117] !== W ? (H = /* @__PURE__ */ i.jsx(Rt, { anchorEl: e, open: l, onClose: h, children: W }), t[114] = e, t[115] = h, t[116] = l, t[117] = W, t[118] = H) : H = t[118];
|
|
1018
|
+
let ue;
|
|
1019
|
+
return t[119] !== H || t[120] !== $ ? (ue = /* @__PURE__ */ i.jsxs(Ue, { children: [
|
|
1020
|
+
$,
|
|
1021
|
+
H
|
|
1022
|
+
] }), t[119] = H, t[120] = $, t[121] = ue) : ue = t[121], ue;
|
|
1000
1023
|
};
|
|
1001
|
-
function
|
|
1024
|
+
function rn(t) {
|
|
1002
1025
|
return t !== "cimode";
|
|
1003
1026
|
}
|
|
1004
|
-
|
|
1005
|
-
return console.log("Logout clicked");
|
|
1006
|
-
}
|
|
1007
|
-
const ut = 3600 * 24 * 365, Ho = At().server(() => nt("navigationOpen") === "true").client(() => {
|
|
1027
|
+
const kt = 3600 * 24 * 365, ln = Kt().server(() => pt("navigationOpen") === "true").client(() => {
|
|
1008
1028
|
const t = document.cookie.split("; ").find((e) => e.startsWith("navigationOpen="));
|
|
1009
1029
|
return t ? t.split("=")[1] === "true" : !1;
|
|
1010
|
-
}),
|
|
1030
|
+
}), an = Je("div")(({
|
|
1011
1031
|
theme: t
|
|
1012
1032
|
}) => ({
|
|
1013
1033
|
display: "flex",
|
|
@@ -1015,10 +1035,10 @@ const ut = 3600 * 24 * 365, Ho = At().server(() => nt("navigationOpen") === "tru
|
|
|
1015
1035
|
justifyContent: "flex-end",
|
|
1016
1036
|
padding: t.spacing(0, 1),
|
|
1017
1037
|
...t.mixins.toolbar
|
|
1018
|
-
})),
|
|
1019
|
-
const e = B.c(29), [o, n] =
|
|
1020
|
-
let
|
|
1021
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1038
|
+
})), cn = (t) => {
|
|
1039
|
+
const e = B.c(29), [o, n] = U(ln), r = !!to(), l = !!oo();
|
|
1040
|
+
let s, a;
|
|
1041
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ i.jsx(Ft, {}), a = /* @__PURE__ */ i.jsx(Bt, {}), e[0] = s, e[1] = a) : (s = e[0], a = e[1]);
|
|
1022
1042
|
let c;
|
|
1023
1043
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
1024
1044
|
display: "flex",
|
|
@@ -1027,58 +1047,58 @@ const ut = 3600 * 24 * 365, Ho = At().server(() => nt("navigationOpen") === "tru
|
|
|
1027
1047
|
overflow: "hidden",
|
|
1028
1048
|
width: "100%"
|
|
1029
1049
|
}, e[2] = c) : c = e[2];
|
|
1030
|
-
let
|
|
1031
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1050
|
+
let d;
|
|
1051
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
1032
1052
|
borderBottom: "1px solid",
|
|
1033
1053
|
borderColor: "var(--mui-palette-divider)",
|
|
1034
1054
|
boxShadow: "none"
|
|
1035
|
-
}, e[3] =
|
|
1036
|
-
let
|
|
1037
|
-
e[4] !== o || e[5] !== t.navigation ? (
|
|
1038
|
-
n(
|
|
1055
|
+
}, e[3] = d) : d = e[3];
|
|
1056
|
+
let u;
|
|
1057
|
+
e[4] !== o || e[5] !== t.navigation ? (u = t.navigation && /* @__PURE__ */ i.jsx(Ne, { onClick: () => {
|
|
1058
|
+
n(dn);
|
|
1039
1059
|
}, sx: {
|
|
1040
1060
|
marginRight: 2
|
|
1041
|
-
}, children: o ? /* @__PURE__ */
|
|
1042
|
-
let
|
|
1043
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1061
|
+
}, children: o ? /* @__PURE__ */ i.jsx(Zt, {}) : /* @__PURE__ */ i.jsx(Vt, {}) }), e[4] = o, e[5] = t.navigation, e[6] = u) : u = e[6];
|
|
1062
|
+
let p, m;
|
|
1063
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ i.jsx(Yo, {}), m = /* @__PURE__ */ i.jsx(sn, {}), e[7] = p, e[8] = m) : (p = e[7], m = e[8]);
|
|
1044
1064
|
let f;
|
|
1045
|
-
e[9] !==
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
] }) }), e[9] =
|
|
1050
|
-
let
|
|
1051
|
-
e[11] !== o || e[12] !== t.navigation ? (
|
|
1052
|
-
n(w), document.cookie = `navigationOpen=${w}; max-age=${
|
|
1053
|
-
} }), e[11] = o, e[12] = t.navigation, e[13] =
|
|
1054
|
-
let
|
|
1055
|
-
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1065
|
+
e[9] !== u ? (f = /* @__PURE__ */ i.jsx(zt, { color: "transparent", position: "fixed", sx: d, children: /* @__PURE__ */ i.jsxs(Ut, { children: [
|
|
1066
|
+
u,
|
|
1067
|
+
p,
|
|
1068
|
+
m
|
|
1069
|
+
] }) }), e[9] = u, e[10] = f) : f = e[10];
|
|
1070
|
+
let x;
|
|
1071
|
+
e[11] !== o || e[12] !== t.navigation ? (x = t.navigation && /* @__PURE__ */ i.jsx(nn, { navigation: t.navigation, expanded: o, setExpanded: (w) => {
|
|
1072
|
+
n(w), document.cookie = `navigationOpen=${w}; max-age=${kt}; path=/`;
|
|
1073
|
+
} }), e[11] = o, e[12] = t.navigation, e[13] = x) : x = e[13];
|
|
1074
|
+
let v, S;
|
|
1075
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = {
|
|
1056
1076
|
flexGrow: 1,
|
|
1057
1077
|
display: "flex",
|
|
1058
1078
|
flexDirection: "column",
|
|
1059
1079
|
minWidth: 0,
|
|
1060
1080
|
height: "100%",
|
|
1061
1081
|
overflow: "hidden"
|
|
1062
|
-
},
|
|
1063
|
-
let
|
|
1064
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1082
|
+
}, v = /* @__PURE__ */ i.jsx(an, {}), e[14] = v, e[15] = S) : (v = e[14], S = e[15]);
|
|
1083
|
+
let b;
|
|
1084
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = {
|
|
1065
1085
|
flex: 1,
|
|
1066
1086
|
overflow: "auto",
|
|
1067
1087
|
position: "relative"
|
|
1068
|
-
}, e[16] =
|
|
1069
|
-
let
|
|
1070
|
-
e[17] !== t.children ? (
|
|
1071
|
-
|
|
1072
|
-
/* @__PURE__ */
|
|
1073
|
-
] }), e[17] = t.children, e[18] =
|
|
1088
|
+
}, e[16] = b) : b = e[16];
|
|
1089
|
+
let h;
|
|
1090
|
+
e[17] !== t.children ? (h = /* @__PURE__ */ i.jsxs(Re, { component: "main", sx: S, children: [
|
|
1091
|
+
v,
|
|
1092
|
+
/* @__PURE__ */ i.jsx(Re, { sx: b, children: t.children })
|
|
1093
|
+
] }), e[17] = t.children, e[18] = h) : h = e[18];
|
|
1074
1094
|
let g;
|
|
1075
|
-
e[19] !==
|
|
1095
|
+
e[19] !== h || e[20] !== f || e[21] !== x ? (g = /* @__PURE__ */ i.jsxs(Re, { sx: c, children: [
|
|
1076
1096
|
f,
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
] }), e[19] =
|
|
1080
|
-
let
|
|
1081
|
-
e[23] !== r || e[24] !== l ? (
|
|
1097
|
+
x,
|
|
1098
|
+
h
|
|
1099
|
+
] }), e[19] = h, e[20] = f, e[21] = x, e[22] = g) : g = e[22];
|
|
1100
|
+
let k;
|
|
1101
|
+
e[23] !== r || e[24] !== l ? (k = (r || l) && /* @__PURE__ */ i.jsx(Wt, { sx: {
|
|
1082
1102
|
position: "fixed",
|
|
1083
1103
|
top: {
|
|
1084
1104
|
xs: 56,
|
|
@@ -1086,60 +1106,62 @@ const ut = 3600 * 24 * 365, Ho = At().server(() => nt("navigationOpen") === "tru
|
|
|
1086
1106
|
},
|
|
1087
1107
|
left: 0,
|
|
1088
1108
|
right: 0
|
|
1089
|
-
} }), e[23] = r, e[24] = l, e[25] =
|
|
1090
|
-
let
|
|
1091
|
-
return e[26] !== g || e[27] !==
|
|
1092
|
-
|
|
1109
|
+
} }), e[23] = r, e[24] = l, e[25] = k) : k = e[25];
|
|
1110
|
+
let y;
|
|
1111
|
+
return e[26] !== g || e[27] !== k ? (y = /* @__PURE__ */ i.jsxs(Ue, { children: [
|
|
1112
|
+
s,
|
|
1093
1113
|
a,
|
|
1094
1114
|
g,
|
|
1095
|
-
|
|
1096
|
-
] }), e[26] = g, e[27] =
|
|
1115
|
+
k
|
|
1116
|
+
] }), e[26] = g, e[27] = k, e[28] = y) : y = e[28], y;
|
|
1097
1117
|
};
|
|
1098
|
-
function
|
|
1118
|
+
function dn(t) {
|
|
1099
1119
|
const e = !t;
|
|
1100
|
-
return document.cookie = `navigationOpen=${e}; max-age=${
|
|
1120
|
+
return document.cookie = `navigationOpen=${e}; max-age=${kt}; path=/`, e;
|
|
1101
1121
|
}
|
|
1102
|
-
const
|
|
1103
|
-
F.use(
|
|
1104
|
-
resources:
|
|
1122
|
+
const un = 1440 * 365;
|
|
1123
|
+
F.use(St).use(Qo).init({
|
|
1124
|
+
resources: nt,
|
|
1105
1125
|
fallbackLng: "en",
|
|
1106
|
-
supportedLngs: Object.keys(
|
|
1126
|
+
supportedLngs: Object.keys(nt),
|
|
1107
1127
|
detection: {
|
|
1108
1128
|
caches: ["cookie"],
|
|
1109
|
-
cookieMinutes:
|
|
1129
|
+
cookieMinutes: un
|
|
1110
1130
|
},
|
|
1111
1131
|
interpolation: {
|
|
1112
1132
|
escapeValue: !1
|
|
1113
1133
|
}
|
|
1114
1134
|
});
|
|
1115
|
-
const
|
|
1135
|
+
const ii = (t) => {
|
|
1116
1136
|
const e = B.c(9), {
|
|
1117
1137
|
navigation: o,
|
|
1118
1138
|
theme: n,
|
|
1119
1139
|
children: r
|
|
1120
|
-
} = t, l =
|
|
1121
|
-
let
|
|
1122
|
-
e[0] !== l ? (
|
|
1140
|
+
} = t, l = Gt(fn);
|
|
1141
|
+
let s;
|
|
1142
|
+
e[0] !== l ? (s = () => (l(), F.on("languageChanged", l), () => {
|
|
1123
1143
|
F.off("languageChanged", l);
|
|
1124
|
-
}), e[0] = l, e[1] =
|
|
1144
|
+
}), e[0] = l, e[1] = s) : s = e[1];
|
|
1125
1145
|
let a;
|
|
1126
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2],
|
|
1146
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2], gt(s, a);
|
|
1127
1147
|
let c;
|
|
1128
|
-
e[3] !== r || e[4] !== o ? (c = /* @__PURE__ */
|
|
1129
|
-
let
|
|
1130
|
-
return e[6] !== c || e[7] !== n ? (
|
|
1131
|
-
},
|
|
1132
|
-
const t =
|
|
1133
|
-
|
|
1148
|
+
e[3] !== r || e[4] !== o ? (c = /* @__PURE__ */ i.jsx(qt, { dateAdapter: Qt, adapterLocale: F.language, children: /* @__PURE__ */ i.jsx(Ko, { children: /* @__PURE__ */ i.jsx(cn, { navigation: o, children: r }) }) }, F.language), e[3] = r, e[4] = o, e[5] = c) : c = e[5];
|
|
1149
|
+
let d;
|
|
1150
|
+
return e[6] !== c || e[7] !== n ? (d = /* @__PURE__ */ i.jsx(Ht, { theme: n, children: c }), e[6] = c, e[7] = n, e[8] = d) : d = e[8], d;
|
|
1151
|
+
}, si = Yt().handler(async () => {
|
|
1152
|
+
const t = pt(F.services.languageDetector.options.lookupCookie) || "en";
|
|
1153
|
+
Be.config(Be.core.locales[t]()), ht.locale(t), await F.changeLanguage(t);
|
|
1134
1154
|
});
|
|
1135
|
-
function
|
|
1136
|
-
|
|
1155
|
+
function fn() {
|
|
1156
|
+
Be.config(Be.core.locales[F.language]()), ht.locale(F.language);
|
|
1137
1157
|
}
|
|
1158
|
+
const ri = new no();
|
|
1138
1159
|
export {
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1160
|
+
ii as LayoutProvider,
|
|
1161
|
+
ci as WISTRON_PRIMARY_COLOR,
|
|
1162
|
+
di as WISTRON_SECONDARY_COLOR,
|
|
1163
|
+
ri as queryClient,
|
|
1164
|
+
ui as rootRouteHead,
|
|
1165
|
+
si as setSSRLanguage
|
|
1144
1166
|
};
|
|
1145
1167
|
//# sourceMappingURL=index.js.map
|