wcz-test 6.24.14 → 6.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApprovalStatus-lESbUD_x.js +1 -0
- package/dist/ApprovalStatus-lESbUD_x.js.map +1 -0
- package/dist/DialogsContext-2Yy6yhzQ.js +1 -0
- package/dist/DialogsContext-2Yy6yhzQ.js.map +1 -0
- package/dist/DialogsHooks-DWkC9zAf.js +1 -0
- package/dist/DialogsHooks-DWkC9zAf.js.map +1 -0
- package/dist/FileHooks-CltSzAf8.js +300 -0
- package/dist/FileHooks-CltSzAf8.js.map +1 -0
- package/dist/FileMeta-Bzeo3ie9.js +1 -0
- package/dist/FileMeta-Bzeo3ie9.js.map +1 -0
- package/dist/RouterListItemButton-C_SG0uka.js +1 -0
- package/dist/RouterListItemButton-C_SG0uka.js.map +1 -0
- package/dist/components.js +2 -1
- package/dist/components.js.map +1 -0
- package/dist/env-4ZoUrNqp.js +1 -0
- package/dist/env-4ZoUrNqp.js.map +1 -0
- package/dist/hooks.js +1 -0
- package/dist/hooks.js.map +1 -0
- package/dist/index.js +334 -331
- package/dist/index.js.map +1 -0
- package/dist/models.js +1 -0
- package/dist/models.js.map +1 -0
- package/dist/queries.js +2 -1
- package/dist/queries.js.map +1 -0
- package/dist/queryClient--EvGPhnh.js +1 -0
- package/dist/queryClient--EvGPhnh.js.map +1 -0
- package/dist/server.js +1 -0
- package/dist/server.js.map +1 -0
- package/dist/session-7yb0BETM.js +1 -0
- package/dist/session-7yb0BETM.js.map +1 -0
- package/dist/utils-CZraUjBd.js +1 -0
- package/dist/utils-CZraUjBd.js.map +1 -0
- package/dist/utils.js +1 -0
- package/dist/utils.js.map +1 -0
- package/dist/vite.js +12 -11
- package/dist/vite.js.map +1 -0
- package/package.json +9 -10
- package/dist/FileHooks-kGkVKOf9.js +0 -2694
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
package/dist/index.js
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as m, jsxs as q, Fragment as Wt } from "react/jsx-runtime";
|
|
2
2
|
import { c as ae } from "react/compiler-runtime";
|
|
3
|
-
import { Stack as Ut, Typography as Ft,
|
|
4
|
-
import { createServerFn as Fe, createIsomorphicFn as
|
|
3
|
+
import { Stack as Ut, Typography as Ft, Chip as qt, Collapse as Bt, useMediaQuery as Ht, useColorScheme as Vt, ListItemButton as ve, ListItemText as ye, ListItemIcon as Te, ListItem as Gt, Avatar as Kt, ListSubheader as Ge, List as Re, IconButton as Ye, Box as ze, Menu as Xt, InitColorSchemeScript as Zt, CssBaseline as Jt, AppBar as Qt, Toolbar as er, LinearProgress as tr, ThemeProvider as rr } from "@mui/material";
|
|
4
|
+
import { createServerFn as Fe, createIsomorphicFn as nr } from "@tanstack/react-start";
|
|
5
5
|
import { getCookie as Dt } from "@tanstack/react-start/server";
|
|
6
6
|
import G from "dayjs";
|
|
7
7
|
import ie from "i18next";
|
|
8
|
-
import
|
|
8
|
+
import or from "i18next-browser-languagedetector";
|
|
9
9
|
import * as ne from "react";
|
|
10
|
-
import { useState as
|
|
11
|
-
import { useTranslation as
|
|
10
|
+
import { useState as le, useId as ir, useRef as dt, Fragment as qe, useEffect as Lt, Suspense as ar, useEffectEvent as sr } from "react";
|
|
11
|
+
import { useTranslation as lr, initReactI18next as cr } from "react-i18next";
|
|
12
12
|
import { resources as mt } from "virtual:wcz-layout";
|
|
13
13
|
import ge from "zod";
|
|
14
|
-
import { D as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { useThemeProps as
|
|
18
|
-
import { useIsFetching as
|
|
19
|
-
import { c as
|
|
14
|
+
import { D as ur } from "./DialogsContext-2Yy6yhzQ.js";
|
|
15
|
+
import fr from "@mui/icons-material/Menu";
|
|
16
|
+
import dr from "@mui/icons-material/MenuOpen";
|
|
17
|
+
import { useThemeProps as mr, styled as at, useTheme as pr } from "@mui/material/styles";
|
|
18
|
+
import { useIsFetching as hr, useIsMutating as yr } from "@tanstack/react-query";
|
|
19
|
+
import { c as gr } from "./env-4ZoUrNqp.js";
|
|
20
20
|
import At from "@mui/material/Box";
|
|
21
21
|
import pt from "@mui/material/Drawer";
|
|
22
|
-
import { useNavigate as
|
|
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 { R as
|
|
36
|
-
import
|
|
22
|
+
import { useNavigate as vr, useRouterState as Tr, Await as ht } from "@tanstack/react-router";
|
|
23
|
+
import br from "@mui/material/Divider";
|
|
24
|
+
import xr from "@mui/material/List";
|
|
25
|
+
import Sr from "@mui/material/ListSubheader";
|
|
26
|
+
import Er from "@mui/icons-material/ExpandMore";
|
|
27
|
+
import _r from "@mui/material/Avatar";
|
|
28
|
+
import Or from "@mui/material/ListItem";
|
|
29
|
+
import wr from "@mui/material/ListItemButton";
|
|
30
|
+
import Cr from "@mui/material/ListItemIcon";
|
|
31
|
+
import Mr from "@mui/material/ListItemText";
|
|
32
|
+
import Pr from "@mui/material/Paper";
|
|
33
|
+
import kr from "@mui/material/Popper";
|
|
34
|
+
import Ir from "@mui/material/Typography";
|
|
35
|
+
import { R as Dr } from "./RouterListItemButton-C_SG0uka.js";
|
|
36
|
+
import Lr from "@mui/icons-material/AccountCircle";
|
|
37
37
|
import yt from "@mui/icons-material/ArrowBack";
|
|
38
|
-
import
|
|
38
|
+
import Ar from "@mui/icons-material/Brightness4";
|
|
39
39
|
import gt from "@mui/icons-material/ChevronRight";
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
40
|
+
import Rr from "@mui/icons-material/DarkMode";
|
|
41
|
+
import jr from "@mui/icons-material/Done";
|
|
42
|
+
import $r from "@mui/icons-material/LightMode";
|
|
43
|
+
import Yr from "@mui/icons-material/Logout";
|
|
44
|
+
import zr from "@mui/icons-material/SettingsBrightness";
|
|
45
|
+
import Nr from "@mui/icons-material/Translate";
|
|
46
46
|
import st from "axios";
|
|
47
|
-
import { q as
|
|
48
|
-
import { r as
|
|
49
|
-
import { g as Wr } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
47
|
+
import { q as lt } from "./queryClient--EvGPhnh.js";
|
|
48
|
+
import { r as Wr, g as ct } from "./session-7yb0BETM.js";
|
|
50
49
|
import Ur from "dayjs/plugin/weekOfYear.js";
|
|
51
50
|
import Fr from "dayjs/plugin/customParseFormat.js";
|
|
52
51
|
import qr from "dayjs/plugin/localizedFormat.js";
|
|
@@ -71,33 +70,36 @@ function Vr(t, e) {
|
|
|
71
70
|
}
|
|
72
71
|
return r;
|
|
73
72
|
}
|
|
73
|
+
function Gr(t) {
|
|
74
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
75
|
+
}
|
|
74
76
|
var je = { exports: {} }, $e = { exports: {} }, $ = {};
|
|
75
77
|
var vt;
|
|
76
|
-
function
|
|
78
|
+
function Kr() {
|
|
77
79
|
if (vt) return $;
|
|
78
80
|
vt = 1;
|
|
79
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, o = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, n = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109,
|
|
80
|
-
function x(
|
|
81
|
-
if (typeof
|
|
82
|
-
var j =
|
|
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;
|
|
83
85
|
switch (j) {
|
|
84
86
|
case e:
|
|
85
|
-
switch (
|
|
87
|
+
switch (l = l.type, l) {
|
|
86
88
|
case f:
|
|
87
89
|
case d:
|
|
88
90
|
case o:
|
|
89
91
|
case a:
|
|
90
92
|
case s:
|
|
91
93
|
case h:
|
|
92
|
-
return
|
|
94
|
+
return l;
|
|
93
95
|
default:
|
|
94
|
-
switch (
|
|
95
|
-
case
|
|
96
|
+
switch (l = l && l.$$typeof, l) {
|
|
97
|
+
case c:
|
|
96
98
|
case u:
|
|
97
99
|
case b:
|
|
98
100
|
case g:
|
|
99
101
|
case n:
|
|
100
|
-
return
|
|
102
|
+
return l;
|
|
101
103
|
default:
|
|
102
104
|
return j;
|
|
103
105
|
}
|
|
@@ -107,52 +109,52 @@ function Gr() {
|
|
|
107
109
|
}
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
|
-
function _(
|
|
111
|
-
return x(
|
|
112
|
+
function _(l) {
|
|
113
|
+
return x(l) === d;
|
|
112
114
|
}
|
|
113
|
-
return $.AsyncMode = f, $.ConcurrentMode = d, $.ContextConsumer =
|
|
114
|
-
return _(
|
|
115
|
-
}, $.isConcurrentMode = _, $.isContextConsumer = function(
|
|
116
|
-
return x(
|
|
117
|
-
}, $.isContextProvider = function(
|
|
118
|
-
return x(
|
|
119
|
-
}, $.isElement = function(
|
|
120
|
-
return typeof
|
|
121
|
-
}, $.isForwardRef = function(
|
|
122
|
-
return x(
|
|
123
|
-
}, $.isFragment = function(
|
|
124
|
-
return x(
|
|
125
|
-
}, $.isLazy = function(
|
|
126
|
-
return x(
|
|
127
|
-
}, $.isMemo = function(
|
|
128
|
-
return x(
|
|
129
|
-
}, $.isPortal = function(
|
|
130
|
-
return x(
|
|
131
|
-
}, $.isProfiler = function(
|
|
132
|
-
return x(
|
|
133
|
-
}, $.isStrictMode = function(
|
|
134
|
-
return x(
|
|
135
|
-
}, $.isSuspense = function(
|
|
136
|
-
return x(
|
|
137
|
-
}, $.isValidElementType = function(
|
|
138
|
-
return typeof
|
|
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);
|
|
139
141
|
}, $.typeOf = x, $;
|
|
140
142
|
}
|
|
141
143
|
var Y = {};
|
|
142
144
|
var Tt;
|
|
143
|
-
function
|
|
145
|
+
function Xr() {
|
|
144
146
|
return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
145
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = t ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, o = t ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = t ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = t ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, n = t ? /* @__PURE__ */ Symbol.for("react.provider") : 60109,
|
|
146
|
-
function x(
|
|
147
|
-
return typeof
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
function _(
|
|
151
|
-
if (typeof
|
|
152
|
-
var Q =
|
|
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;
|
|
153
155
|
switch (Q) {
|
|
154
156
|
case e:
|
|
155
|
-
var oe =
|
|
157
|
+
var oe = p.type;
|
|
156
158
|
switch (oe) {
|
|
157
159
|
case f:
|
|
158
160
|
case d:
|
|
@@ -164,7 +166,7 @@ function Kr() {
|
|
|
164
166
|
default:
|
|
165
167
|
var se = oe && oe.$$typeof;
|
|
166
168
|
switch (se) {
|
|
167
|
-
case
|
|
169
|
+
case c:
|
|
168
170
|
case u:
|
|
169
171
|
case b:
|
|
170
172
|
case g:
|
|
@@ -179,55 +181,55 @@ function Kr() {
|
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
183
|
}
|
|
182
|
-
var
|
|
183
|
-
function V(
|
|
184
|
-
return te || (te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), i(
|
|
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;
|
|
185
187
|
}
|
|
186
|
-
function i(
|
|
187
|
-
return _(
|
|
188
|
+
function i(p) {
|
|
189
|
+
return _(p) === d;
|
|
188
190
|
}
|
|
189
|
-
function y(
|
|
190
|
-
return _(
|
|
191
|
+
function y(p) {
|
|
192
|
+
return _(p) === c;
|
|
191
193
|
}
|
|
192
|
-
function w(
|
|
193
|
-
return _(
|
|
194
|
+
function w(p) {
|
|
195
|
+
return _(p) === n;
|
|
194
196
|
}
|
|
195
|
-
function O(
|
|
196
|
-
return typeof
|
|
197
|
+
function O(p) {
|
|
198
|
+
return typeof p == "object" && p !== null && p.$$typeof === e;
|
|
197
199
|
}
|
|
198
|
-
function S(
|
|
199
|
-
return _(
|
|
200
|
+
function S(p) {
|
|
201
|
+
return _(p) === u;
|
|
200
202
|
}
|
|
201
|
-
function k(
|
|
202
|
-
return _(
|
|
203
|
+
function k(p) {
|
|
204
|
+
return _(p) === o;
|
|
203
205
|
}
|
|
204
|
-
function C(
|
|
205
|
-
return _(
|
|
206
|
+
function C(p) {
|
|
207
|
+
return _(p) === b;
|
|
206
208
|
}
|
|
207
|
-
function M(
|
|
208
|
-
return _(
|
|
209
|
+
function M(p) {
|
|
210
|
+
return _(p) === g;
|
|
209
211
|
}
|
|
210
|
-
function I(
|
|
211
|
-
return _(
|
|
212
|
+
function I(p) {
|
|
213
|
+
return _(p) === r;
|
|
212
214
|
}
|
|
213
|
-
function L(
|
|
214
|
-
return _(
|
|
215
|
+
function L(p) {
|
|
216
|
+
return _(p) === a;
|
|
215
217
|
}
|
|
216
|
-
function D(
|
|
217
|
-
return _(
|
|
218
|
+
function D(p) {
|
|
219
|
+
return _(p) === s;
|
|
218
220
|
}
|
|
219
|
-
function X(
|
|
220
|
-
return _(
|
|
221
|
+
function X(p) {
|
|
222
|
+
return _(p) === h;
|
|
221
223
|
}
|
|
222
|
-
Y.AsyncMode =
|
|
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 = _;
|
|
223
225
|
})()), Y;
|
|
224
226
|
}
|
|
225
227
|
var bt;
|
|
226
228
|
function Rt() {
|
|
227
|
-
return bt || (bt = 1, process.env.NODE_ENV === "production" ? $e.exports =
|
|
229
|
+
return bt || (bt = 1, process.env.NODE_ENV === "production" ? $e.exports = Kr() : $e.exports = Xr()), $e.exports;
|
|
228
230
|
}
|
|
229
231
|
var Ke, xt;
|
|
230
|
-
function
|
|
232
|
+
function Zr() {
|
|
231
233
|
if (xt) return Ke;
|
|
232
234
|
xt = 1;
|
|
233
235
|
var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
@@ -243,8 +245,8 @@ function Xr() {
|
|
|
243
245
|
var a = new String("abc");
|
|
244
246
|
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
245
247
|
return !1;
|
|
246
|
-
for (var n = {},
|
|
247
|
-
n["_" + String.fromCharCode(
|
|
248
|
+
for (var n = {}, c = 0; c < 10; c++)
|
|
249
|
+
n["_" + String.fromCharCode(c)] = c;
|
|
248
250
|
var f = Object.getOwnPropertyNames(n).map(function(u) {
|
|
249
251
|
return n[u];
|
|
250
252
|
});
|
|
@@ -259,14 +261,14 @@ function Xr() {
|
|
|
259
261
|
}
|
|
260
262
|
}
|
|
261
263
|
return Ke = s() ? Object.assign : function(a, n) {
|
|
262
|
-
for (var
|
|
263
|
-
|
|
264
|
-
for (var h in
|
|
265
|
-
e.call(
|
|
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]);
|
|
266
268
|
if (t) {
|
|
267
|
-
d = t(
|
|
269
|
+
d = t(c);
|
|
268
270
|
for (var v = 0; v < d.length; v++)
|
|
269
|
-
r.call(
|
|
271
|
+
r.call(c, d[v]) && (f[d[v]] = c[d[v]]);
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
274
|
return f;
|
|
@@ -284,7 +286,7 @@ function jt() {
|
|
|
284
286
|
return Et || (Et = 1, Ze = Function.call.bind(Object.prototype.hasOwnProperty)), Ze;
|
|
285
287
|
}
|
|
286
288
|
var Je, _t;
|
|
287
|
-
function
|
|
289
|
+
function Jr() {
|
|
288
290
|
if (_t) return Je;
|
|
289
291
|
_t = 1;
|
|
290
292
|
var t = function() {
|
|
@@ -300,7 +302,7 @@ function Zr() {
|
|
|
300
302
|
}
|
|
301
303
|
};
|
|
302
304
|
}
|
|
303
|
-
function s(a, n,
|
|
305
|
+
function s(a, n, c, f, d) {
|
|
304
306
|
if (process.env.NODE_ENV !== "production") {
|
|
305
307
|
for (var u in a)
|
|
306
308
|
if (o(a, u)) {
|
|
@@ -308,21 +310,21 @@ function Zr() {
|
|
|
308
310
|
try {
|
|
309
311
|
if (typeof a[u] != "function") {
|
|
310
312
|
var v = Error(
|
|
311
|
-
(f || "React class") + ": " +
|
|
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`."
|
|
312
314
|
);
|
|
313
315
|
throw v.name = "Invariant Violation", v;
|
|
314
316
|
}
|
|
315
|
-
h = a[u](n, u, f,
|
|
317
|
+
h = a[u](n, u, f, c, null, e);
|
|
316
318
|
} catch (b) {
|
|
317
319
|
h = b;
|
|
318
320
|
}
|
|
319
321
|
if (h && !(h instanceof Error) && t(
|
|
320
|
-
(f || "React class") + ": type specification of " +
|
|
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)."
|
|
321
323
|
), h instanceof Error && !(h.message in r)) {
|
|
322
324
|
r[h.message] = !0;
|
|
323
325
|
var g = d ? d() : "";
|
|
324
326
|
t(
|
|
325
|
-
"Failed " +
|
|
327
|
+
"Failed " + c + " type: " + h.message + (g ?? "")
|
|
326
328
|
);
|
|
327
329
|
}
|
|
328
330
|
}
|
|
@@ -333,13 +335,13 @@ function Zr() {
|
|
|
333
335
|
}, Je = s, Je;
|
|
334
336
|
}
|
|
335
337
|
var Qe, Ot;
|
|
336
|
-
function
|
|
338
|
+
function Qr() {
|
|
337
339
|
if (Ot) return Qe;
|
|
338
340
|
Ot = 1;
|
|
339
|
-
var t = Rt(), e =
|
|
341
|
+
var t = Rt(), e = Zr(), r = /* @__PURE__ */ ut(), o = /* @__PURE__ */ jt(), s = /* @__PURE__ */ Jr(), a = function() {
|
|
340
342
|
};
|
|
341
|
-
process.env.NODE_ENV !== "production" && (a = function(
|
|
342
|
-
var f = "Warning: " +
|
|
343
|
+
process.env.NODE_ENV !== "production" && (a = function(c) {
|
|
344
|
+
var f = "Warning: " + c;
|
|
343
345
|
typeof console < "u" && console.error(f);
|
|
344
346
|
try {
|
|
345
347
|
throw new Error(f);
|
|
@@ -349,7 +351,7 @@ function Jr() {
|
|
|
349
351
|
function n() {
|
|
350
352
|
return null;
|
|
351
353
|
}
|
|
352
|
-
return Qe = function(
|
|
354
|
+
return Qe = function(c, f) {
|
|
353
355
|
var d = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
354
356
|
function h(i) {
|
|
355
357
|
var y = i && (d && i[d] || i[u]);
|
|
@@ -368,7 +370,7 @@ function Jr() {
|
|
|
368
370
|
any: A(),
|
|
369
371
|
arrayOf: x,
|
|
370
372
|
element: _(),
|
|
371
|
-
elementType:
|
|
373
|
+
elementType: l(),
|
|
372
374
|
instanceOf: j,
|
|
373
375
|
node: W(),
|
|
374
376
|
objectOf: B,
|
|
@@ -390,10 +392,10 @@ function Jr() {
|
|
|
390
392
|
function O(k, C, M, I, L, D, X) {
|
|
391
393
|
if (I = I || v, D = D || M, X !== r) {
|
|
392
394
|
if (f) {
|
|
393
|
-
var
|
|
395
|
+
var p = new Error(
|
|
394
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"
|
|
395
397
|
);
|
|
396
|
-
throw
|
|
398
|
+
throw p.name = "Invariant Violation", p;
|
|
397
399
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
398
400
|
var Q = I + ":" + M;
|
|
399
401
|
!y[Q] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -445,7 +447,7 @@ function Jr() {
|
|
|
445
447
|
function _() {
|
|
446
448
|
function i(y, w, O, S, k) {
|
|
447
449
|
var C = y[w];
|
|
448
|
-
if (!
|
|
450
|
+
if (!c(C)) {
|
|
449
451
|
var M = R(C);
|
|
450
452
|
return new T("Invalid " + S + " `" + k + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
451
453
|
}
|
|
@@ -453,7 +455,7 @@ function Jr() {
|
|
|
453
455
|
}
|
|
454
456
|
return E(i);
|
|
455
457
|
}
|
|
456
|
-
function
|
|
458
|
+
function l() {
|
|
457
459
|
function i(y, w, O, S, k) {
|
|
458
460
|
var C = y[w];
|
|
459
461
|
if (!t.isValidElementType(C)) {
|
|
@@ -483,9 +485,9 @@ function Jr() {
|
|
|
483
485
|
for (var M = w[O], I = 0; I < i.length; I++)
|
|
484
486
|
if (b(M, i[I]))
|
|
485
487
|
return null;
|
|
486
|
-
var L = JSON.stringify(i, function(X,
|
|
487
|
-
var Q = H(
|
|
488
|
-
return Q === "symbol" ? String(
|
|
488
|
+
var L = JSON.stringify(i, function(X, p) {
|
|
489
|
+
var Q = H(p);
|
|
490
|
+
return Q === "symbol" ? String(p) : p;
|
|
489
491
|
});
|
|
490
492
|
return new T("Invalid " + k + " `" + C + "` of value `" + String(M) + "` " + ("supplied to `" + S + "`, expected one of " + L + "."));
|
|
491
493
|
}
|
|
@@ -520,10 +522,10 @@ function Jr() {
|
|
|
520
522
|
}
|
|
521
523
|
function O(S, k, C, M, I) {
|
|
522
524
|
for (var L = [], D = 0; D < i.length; D++) {
|
|
523
|
-
var X = i[D],
|
|
524
|
-
if (
|
|
525
|
+
var X = i[D], p = X(S, k, C, M, I, r);
|
|
526
|
+
if (p == null)
|
|
525
527
|
return null;
|
|
526
|
-
|
|
528
|
+
p.data && o(p.data, "expectedType") && L.push(p.data.expectedType);
|
|
527
529
|
}
|
|
528
530
|
var Q = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : "";
|
|
529
531
|
return new T("Invalid " + M + " `" + I + "` supplied to " + ("`" + C + "`" + Q + "."));
|
|
@@ -573,9 +575,9 @@ function Jr() {
|
|
|
573
575
|
"Invalid " + k + " `" + C + "` key `" + D + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(w[O], null, " ") + `
|
|
574
576
|
Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
575
577
|
);
|
|
576
|
-
var
|
|
577
|
-
if (
|
|
578
|
-
return
|
|
578
|
+
var p = X(M, D, S, k, C + "." + D, r);
|
|
579
|
+
if (p)
|
|
580
|
+
return p;
|
|
579
581
|
}
|
|
580
582
|
return null;
|
|
581
583
|
}
|
|
@@ -592,7 +594,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
592
594
|
case "object":
|
|
593
595
|
if (Array.isArray(i))
|
|
594
596
|
return i.every(U);
|
|
595
|
-
if (i === null ||
|
|
597
|
+
if (i === null || c(i))
|
|
596
598
|
return !0;
|
|
597
599
|
var y = h(i);
|
|
598
600
|
if (y) {
|
|
@@ -654,7 +656,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " ")
|
|
|
654
656
|
}, Qe;
|
|
655
657
|
}
|
|
656
658
|
var et, wt;
|
|
657
|
-
function
|
|
659
|
+
function en() {
|
|
658
660
|
if (wt) return et;
|
|
659
661
|
wt = 1;
|
|
660
662
|
var t = /* @__PURE__ */ ut();
|
|
@@ -663,7 +665,7 @@ function Qr() {
|
|
|
663
665
|
function r() {
|
|
664
666
|
}
|
|
665
667
|
return r.resetWarningCache = e, et = function() {
|
|
666
|
-
function o(n,
|
|
668
|
+
function o(n, c, f, d, u, h) {
|
|
667
669
|
if (h !== t) {
|
|
668
670
|
var v = new Error(
|
|
669
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"
|
|
@@ -702,34 +704,34 @@ function Qr() {
|
|
|
702
704
|
}, et;
|
|
703
705
|
}
|
|
704
706
|
var Ct;
|
|
705
|
-
function
|
|
707
|
+
function tn() {
|
|
706
708
|
if (Ct) return je.exports;
|
|
707
709
|
if (Ct = 1, process.env.NODE_ENV !== "production") {
|
|
708
710
|
var t = Rt(), e = !0;
|
|
709
|
-
je.exports = /* @__PURE__ */
|
|
711
|
+
je.exports = /* @__PURE__ */ Qr()(t.isElement, e);
|
|
710
712
|
} else
|
|
711
|
-
je.exports = /* @__PURE__ */
|
|
713
|
+
je.exports = /* @__PURE__ */ en()();
|
|
712
714
|
return je.exports;
|
|
713
715
|
}
|
|
714
|
-
var
|
|
715
|
-
const z = /* @__PURE__ */
|
|
716
|
+
var rn = /* @__PURE__ */ tn();
|
|
717
|
+
const z = /* @__PURE__ */ Gr(rn), nn = ["localeText"], ot = /* @__PURE__ */ ne.createContext(null);
|
|
716
718
|
process.env.NODE_ENV !== "production" && (ot.displayName = "PickerAdapterContext");
|
|
717
719
|
const ft = function(e) {
|
|
718
720
|
const {
|
|
719
721
|
localeText: r
|
|
720
|
-
} = e, o = Vr(e,
|
|
722
|
+
} = e, o = Vr(e, nn), {
|
|
721
723
|
adapter: s,
|
|
722
724
|
localeText: a
|
|
723
725
|
} = ne.useContext(ot) ?? {
|
|
724
726
|
adapter: void 0,
|
|
725
727
|
localeText: void 0
|
|
726
|
-
}, n =
|
|
728
|
+
}, n = mr({
|
|
727
729
|
// We don't want to pass the `localeText` prop to the theme, that way it will always return the theme value,
|
|
728
730
|
// We will then merge this theme value with our value manually
|
|
729
731
|
props: o,
|
|
730
732
|
name: "MuiLocalizationProvider"
|
|
731
733
|
}), {
|
|
732
|
-
children:
|
|
734
|
+
children: c,
|
|
733
735
|
dateAdapter: f,
|
|
734
736
|
dateFormats: d,
|
|
735
737
|
dateLibInstance: u,
|
|
@@ -756,9 +758,9 @@ const ft = function(e) {
|
|
|
756
758
|
defaultDates: T,
|
|
757
759
|
localeText: g
|
|
758
760
|
}), [T, b, g]);
|
|
759
|
-
return /* @__PURE__ */
|
|
761
|
+
return /* @__PURE__ */ m(ot.Provider, {
|
|
760
762
|
value: E,
|
|
761
|
-
children:
|
|
763
|
+
children: c
|
|
762
764
|
});
|
|
763
765
|
};
|
|
764
766
|
process.env.NODE_ENV !== "production" && (ft.displayName = "LocalizationProvider");
|
|
@@ -815,10 +817,10 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
|
|
|
815
817
|
*/
|
|
816
818
|
localeText: z.object
|
|
817
819
|
});
|
|
818
|
-
const
|
|
820
|
+
const on = typeof window < "u" ? ne.useLayoutEffect : ne.useEffect;
|
|
819
821
|
function tt(t) {
|
|
820
822
|
const e = ne.useRef(t);
|
|
821
|
-
return
|
|
823
|
+
return on(() => {
|
|
822
824
|
e.current = t;
|
|
823
825
|
}), ne.useRef((...r) => (
|
|
824
826
|
// @ts-expect-error hide `this`
|
|
@@ -826,7 +828,7 @@ function tt(t) {
|
|
|
826
828
|
)).current;
|
|
827
829
|
}
|
|
828
830
|
const Mt = /* @__PURE__ */ new Set();
|
|
829
|
-
function
|
|
831
|
+
function an(t, e = "warning") {
|
|
830
832
|
if (process.env.NODE_ENV === "production")
|
|
831
833
|
return;
|
|
832
834
|
const r = Array.isArray(t) ? t.join(`
|
|
@@ -837,7 +839,7 @@ G.extend(qr);
|
|
|
837
839
|
G.extend(Ur);
|
|
838
840
|
G.extend(Br);
|
|
839
841
|
G.extend(Hr);
|
|
840
|
-
const
|
|
842
|
+
const sn = {
|
|
841
843
|
// Year
|
|
842
844
|
YY: "year",
|
|
843
845
|
YYYY: {
|
|
@@ -919,7 +921,7 @@ const an = {
|
|
|
919
921
|
maxLength: 2
|
|
920
922
|
},
|
|
921
923
|
ss: "seconds"
|
|
922
|
-
},
|
|
924
|
+
}, ln = {
|
|
923
925
|
year: "YYYY",
|
|
924
926
|
month: "MMMM",
|
|
925
927
|
monthShort: "MMM",
|
|
@@ -952,12 +954,12 @@ class cn {
|
|
|
952
954
|
start: "[",
|
|
953
955
|
end: "]"
|
|
954
956
|
};
|
|
955
|
-
formatTokenMap =
|
|
957
|
+
formatTokenMap = sn;
|
|
956
958
|
constructor({
|
|
957
959
|
locale: e,
|
|
958
960
|
formats: r
|
|
959
961
|
} = {}) {
|
|
960
|
-
this.locale = e, this.formats = We({},
|
|
962
|
+
this.locale = e, this.formats = We({}, ln, r), G.extend(Fr);
|
|
961
963
|
}
|
|
962
964
|
setLocaleToValue = (e) => {
|
|
963
965
|
const r = this.getCurrentLocaleCode();
|
|
@@ -1007,7 +1009,7 @@ class cn {
|
|
|
1007
1009
|
getLocaleFormats = () => {
|
|
1008
1010
|
const e = G.Ls, r = this.locale || "en";
|
|
1009
1011
|
let o = e[r];
|
|
1010
|
-
return o === void 0 && (process.env.NODE_ENV !== "production" &&
|
|
1012
|
+
return o === void 0 && (process.env.NODE_ENV !== "production" && an(["MUI X: Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale.", "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'", "fallback on English locale."]), o = e.en), o.formats;
|
|
1011
1013
|
};
|
|
1012
1014
|
/**
|
|
1013
1015
|
* If the new day does not have the same offset as the old one (when switching to summer day time for example),
|
|
@@ -1059,10 +1061,10 @@ class cn {
|
|
|
1059
1061
|
getCurrentLocaleCode = () => this.locale || "en";
|
|
1060
1062
|
is12HourCycleInCurrentLocale = () => /A|a/.test(this.getLocaleFormats().LT || "");
|
|
1061
1063
|
expandFormat = (e) => {
|
|
1062
|
-
const r = this.getLocaleFormats(), o = (s) => s.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (a, n,
|
|
1064
|
+
const r = this.getLocaleFormats(), o = (s) => s.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (a, n, c) => n || c.slice(1));
|
|
1063
1065
|
return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (s, a, n) => {
|
|
1064
|
-
const
|
|
1065
|
-
return a || r[n] || o(r[
|
|
1066
|
+
const c = n && n.toUpperCase();
|
|
1067
|
+
return a || r[n] || o(r[c]);
|
|
1066
1068
|
});
|
|
1067
1069
|
};
|
|
1068
1070
|
isValid = (e) => e == null ? !1 : e.isValid();
|
|
@@ -1116,8 +1118,8 @@ class cn {
|
|
|
1116
1118
|
let s = 0, a = r;
|
|
1117
1119
|
const n = [];
|
|
1118
1120
|
for (; a < o; ) {
|
|
1119
|
-
const
|
|
1120
|
-
n[
|
|
1121
|
+
const c = Math.floor(s / 7);
|
|
1122
|
+
n[c] = n[c] || [], n[c].push(a), a = this.addDays(a, 1), s += 1;
|
|
1121
1123
|
}
|
|
1122
1124
|
return n;
|
|
1123
1125
|
};
|
|
@@ -1133,10 +1135,10 @@ class cn {
|
|
|
1133
1135
|
return a;
|
|
1134
1136
|
};
|
|
1135
1137
|
}
|
|
1136
|
-
function
|
|
1138
|
+
function un({
|
|
1137
1139
|
children: t
|
|
1138
1140
|
}) {
|
|
1139
|
-
const [e, r] =
|
|
1141
|
+
const [e, r] = le([]), o = ir(), s = dt(0), a = dt(/* @__PURE__ */ new WeakMap()), n = tt(function(h, v, g = {}) {
|
|
1140
1142
|
const {
|
|
1141
1143
|
onClose: b = async () => {
|
|
1142
1144
|
}
|
|
@@ -1156,13 +1158,13 @@ function ln({
|
|
|
1156
1158
|
resolve: T
|
|
1157
1159
|
};
|
|
1158
1160
|
return a.current.set(E, A), r((x) => [...x, A]), E;
|
|
1159
|
-
}),
|
|
1161
|
+
}), c = (u) => {
|
|
1160
1162
|
r((h) => h.filter((v) => v.promise !== u)), a.current.delete(u);
|
|
1161
1163
|
}, f = tt(function(h) {
|
|
1162
1164
|
r((v) => v.map((g) => g.promise === h ? {
|
|
1163
1165
|
...g,
|
|
1164
1166
|
open: !1
|
|
1165
|
-
} : g)), setTimeout(() =>
|
|
1167
|
+
} : g)), setTimeout(() => c(h), 1e3);
|
|
1166
1168
|
}), d = tt(async function(h, v) {
|
|
1167
1169
|
const g = a.current.get(h);
|
|
1168
1170
|
if (!g)
|
|
@@ -1174,7 +1176,7 @@ function ln({
|
|
|
1174
1176
|
}
|
|
1175
1177
|
return h;
|
|
1176
1178
|
});
|
|
1177
|
-
return /* @__PURE__ */ q(
|
|
1179
|
+
return /* @__PURE__ */ q(ur.Provider, { value: {
|
|
1178
1180
|
open: n,
|
|
1179
1181
|
close: d
|
|
1180
1182
|
}, children: [
|
|
@@ -1185,20 +1187,20 @@ function ln({
|
|
|
1185
1187
|
Component: v,
|
|
1186
1188
|
payload: g,
|
|
1187
1189
|
promise: b
|
|
1188
|
-
}) => /* @__PURE__ */
|
|
1190
|
+
}) => /* @__PURE__ */ m(v, { payload: g, open: h, onClose: async (T) => {
|
|
1189
1191
|
await d(b, T);
|
|
1190
1192
|
} }, u))
|
|
1191
1193
|
] });
|
|
1192
1194
|
}
|
|
1193
|
-
const
|
|
1195
|
+
const fn = () => {
|
|
1194
1196
|
const t = ae(1);
|
|
1195
1197
|
let e;
|
|
1196
1198
|
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ q(Ut, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
|
|
1197
|
-
/* @__PURE__ */
|
|
1198
|
-
/* @__PURE__ */
|
|
1199
|
-
|
|
1199
|
+
/* @__PURE__ */ m("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
|
|
1200
|
+
/* @__PURE__ */ m(Ft, { variant: "h6", children: gr.VITE_APP_TITLE }),
|
|
1201
|
+
/* @__PURE__ */ m(qt, { size: "small", label: "TEST", color: "info" })
|
|
1200
1202
|
] }), t[0] = e) : e = t[0], e;
|
|
1201
|
-
}, nt = 34,
|
|
1203
|
+
}, nt = 34, dn = at(wr)(({
|
|
1202
1204
|
theme: t
|
|
1203
1205
|
}) => ({
|
|
1204
1206
|
borderRadius: 8,
|
|
@@ -1219,7 +1221,7 @@ const un = () => {
|
|
|
1219
1221
|
"& .MuiAvatar-root": {
|
|
1220
1222
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
1221
1223
|
}
|
|
1222
|
-
})),
|
|
1224
|
+
})), mn = at(Dr)(({
|
|
1223
1225
|
theme: t
|
|
1224
1226
|
}) => ({
|
|
1225
1227
|
borderRadius: 8,
|
|
@@ -1240,7 +1242,7 @@ const un = () => {
|
|
|
1240
1242
|
"& .MuiAvatar-root": {
|
|
1241
1243
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
1242
1244
|
}
|
|
1243
|
-
})),
|
|
1245
|
+
})), pn = (t) => {
|
|
1244
1246
|
const e = ae(17), {
|
|
1245
1247
|
item: r,
|
|
1246
1248
|
collapsed: o
|
|
@@ -1261,19 +1263,19 @@ const un = () => {
|
|
|
1261
1263
|
minWidth: nt
|
|
1262
1264
|
}, e[2] = a) : a = e[2];
|
|
1263
1265
|
const n = r.icon ?? null;
|
|
1264
|
-
let
|
|
1265
|
-
e[3] !== o || e[4] !== r.icon || e[5] !== r.title ? (
|
|
1266
|
+
let c;
|
|
1267
|
+
e[3] !== o || e[4] !== r.icon || e[5] !== r.title ? (c = !r.icon && o ? /* @__PURE__ */ m(_r, { sx: {
|
|
1266
1268
|
width: nt - 7,
|
|
1267
1269
|
height: nt - 7,
|
|
1268
1270
|
fontSize: 12
|
|
1269
|
-
}, children: r.title }) : null, e[3] = o, e[4] = r.icon, e[5] = r.title, e[6] =
|
|
1271
|
+
}, children: r.title }) : null, e[3] = o, e[4] = r.icon, e[5] = r.title, e[6] = c) : c = e[6];
|
|
1270
1272
|
let f;
|
|
1271
|
-
e[7] !== n || e[8] !==
|
|
1273
|
+
e[7] !== n || e[8] !== c ? (f = /* @__PURE__ */ q(Cr, { sx: a, children: [
|
|
1272
1274
|
n,
|
|
1273
|
-
|
|
1274
|
-
] }), e[7] = n, e[8] =
|
|
1275
|
+
c
|
|
1276
|
+
] }), e[7] = n, e[8] = c, e[9] = f) : f = e[9];
|
|
1275
1277
|
let d;
|
|
1276
|
-
e[10] !== o || e[11] !== r.title ? (d = o ? /* @__PURE__ */
|
|
1278
|
+
e[10] !== o || e[11] !== r.title ? (d = o ? /* @__PURE__ */ m(Ir, { variant: "caption", sx: {
|
|
1277
1279
|
position: "absolute",
|
|
1278
1280
|
bottom: -18,
|
|
1279
1281
|
left: "50%",
|
|
@@ -1293,7 +1295,7 @@ const un = () => {
|
|
|
1293
1295
|
] }), e[13] = s, e[14] = f, e[15] = d, e[16] = u) : u = e[16], u;
|
|
1294
1296
|
}
|
|
1295
1297
|
return null;
|
|
1296
|
-
},
|
|
1298
|
+
}, hn = (t) => {
|
|
1297
1299
|
const e = ae(10), {
|
|
1298
1300
|
open: r,
|
|
1299
1301
|
anchorEl: o,
|
|
@@ -1313,13 +1315,13 @@ const un = () => {
|
|
|
1313
1315
|
padding: 8
|
|
1314
1316
|
}
|
|
1315
1317
|
}, e[1] = n) : n = e[1];
|
|
1316
|
-
let
|
|
1317
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1318
|
+
let c;
|
|
1319
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = [a, n, {
|
|
1318
1320
|
name: "flip",
|
|
1319
1321
|
options: {
|
|
1320
1322
|
fallbackPlacements: ["right-end", "left-start"]
|
|
1321
1323
|
}
|
|
1322
|
-
}], e[2] =
|
|
1324
|
+
}], e[2] = c) : c = e[2];
|
|
1323
1325
|
let f;
|
|
1324
1326
|
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
1325
1327
|
pt: 0.5,
|
|
@@ -1329,22 +1331,22 @@ const un = () => {
|
|
|
1329
1331
|
overscrollBehavior: "contain"
|
|
1330
1332
|
}, e[3] = f) : f = e[3];
|
|
1331
1333
|
let d;
|
|
1332
|
-
e[4] !== s ? (d = /* @__PURE__ */
|
|
1334
|
+
e[4] !== s ? (d = /* @__PURE__ */ m(Pr, { sx: f, children: s }), e[4] = s, e[5] = d) : d = e[5];
|
|
1333
1335
|
let u;
|
|
1334
|
-
return e[6] !== o || e[7] !== r || e[8] !== d ? (u = /* @__PURE__ */
|
|
1335
|
-
},
|
|
1336
|
+
return e[6] !== o || e[7] !== r || e[8] !== d ? (u = /* @__PURE__ */ m(kr, { open: r, anchorEl: o, placement: "right-start", modifiers: c, children: d }), e[6] = o, e[7] = r, e[8] = d, e[9] = u) : u = e[9], u;
|
|
1337
|
+
}, yn = (t) => {
|
|
1336
1338
|
const e = ae(57), {
|
|
1337
1339
|
item: r,
|
|
1338
1340
|
isOpen: o,
|
|
1339
1341
|
selected: s,
|
|
1340
1342
|
disabled: a,
|
|
1341
1343
|
collapsed: n,
|
|
1342
|
-
isSidebarFullyExpanded:
|
|
1344
|
+
isSidebarFullyExpanded: c,
|
|
1343
1345
|
isSidebarFullyCollapsed: f,
|
|
1344
1346
|
onClick: d,
|
|
1345
1347
|
renderNested: u,
|
|
1346
1348
|
onClose: h
|
|
1347
|
-
} = t, v =
|
|
1349
|
+
} = t, v = c === void 0 ? !0 : c, [g, b] = le(null), [T, E] = le(null);
|
|
1348
1350
|
let P;
|
|
1349
1351
|
e[0] !== n || e[1] !== o || e[2] !== f || e[3] !== v || e[4] !== r.children ? (P = () => n && f && r.children ? {
|
|
1350
1352
|
fontSize: 18,
|
|
@@ -1359,22 +1361,22 @@ const un = () => {
|
|
|
1359
1361
|
display: "none"
|
|
1360
1362
|
}, e[0] = n, e[1] = o, e[2] = f, e[3] = v, e[4] = r.children, e[5] = P) : P = e[5];
|
|
1361
1363
|
const A = P, x = r.children && !n, _ = n ? 60 : 48;
|
|
1362
|
-
let
|
|
1363
|
-
e[6] !== _ ? (
|
|
1364
|
+
let l;
|
|
1365
|
+
e[6] !== _ ? (l = {
|
|
1364
1366
|
px: 1.4,
|
|
1365
1367
|
height: _
|
|
1366
|
-
}, e[6] = _, e[7] =
|
|
1368
|
+
}, e[6] = _, e[7] = l) : l = e[7];
|
|
1367
1369
|
let j;
|
|
1368
|
-
e[8] !== a || e[9] !== s || e[10] !==
|
|
1370
|
+
e[8] !== a || e[9] !== s || e[10] !== l ? (j = {
|
|
1369
1371
|
selected: s,
|
|
1370
1372
|
disabled: a,
|
|
1371
|
-
sx:
|
|
1372
|
-
}, e[8] = a, e[9] = s, e[10] =
|
|
1373
|
+
sx: l
|
|
1374
|
+
}, e[8] = a, e[9] = s, e[10] = l, e[11] = j) : j = e[11];
|
|
1373
1375
|
const J = j;
|
|
1374
1376
|
let B;
|
|
1375
|
-
e[12] !== n || e[13] !== r ? (B = /* @__PURE__ */
|
|
1377
|
+
e[12] !== n || e[13] !== r ? (B = /* @__PURE__ */ m(pn, { item: r, collapsed: n }), e[12] = n, e[13] = r, e[14] = B) : B = e[14];
|
|
1376
1378
|
let N;
|
|
1377
|
-
e[15] !== n || e[16] !== r.title ? (N = !n && /* @__PURE__ */
|
|
1379
|
+
e[15] !== n || e[16] !== r.title ? (N = !n && /* @__PURE__ */ m(Mr, { primary: r.title, slotProps: {
|
|
1378
1380
|
primary: {
|
|
1379
1381
|
noWrap: !0,
|
|
1380
1382
|
title: r.title
|
|
@@ -1390,7 +1392,7 @@ const un = () => {
|
|
|
1390
1392
|
}
|
|
1391
1393
|
} }), e[15] = n, e[16] = r.title, e[17] = N) : N = e[17];
|
|
1392
1394
|
let W;
|
|
1393
|
-
e[18] !== A || e[19] !== r.children ? (W = r.children ? /* @__PURE__ */
|
|
1395
|
+
e[18] !== A || e[19] !== r.children ? (W = r.children ? /* @__PURE__ */ m(Er, { sx: A }) : null, e[18] = A, e[19] = r.children, e[20] = W) : W = e[20];
|
|
1394
1396
|
let K;
|
|
1395
1397
|
e[21] !== B || e[22] !== N || e[23] !== W ? (K = /* @__PURE__ */ q(Wt, { children: [
|
|
1396
1398
|
B,
|
|
@@ -1414,30 +1416,30 @@ const un = () => {
|
|
|
1414
1416
|
overflowX: "hidden"
|
|
1415
1417
|
}, e[29] = U) : U = e[29];
|
|
1416
1418
|
let F;
|
|
1417
|
-
e[30] !== ee || e[31] !== J || e[32] !== r || e[33] !== d || e[34] !== h || e[35] !== x ? (F = x ? /* @__PURE__ */
|
|
1419
|
+
e[30] !== ee || e[31] !== J || e[32] !== r || e[33] !== d || e[34] !== h || e[35] !== x ? (F = x ? /* @__PURE__ */ m(dn, { ...J, onClick: () => d?.(r), children: ee }) : /* @__PURE__ */ m(mn, { ...J, to: r.to, href: r.href, params: r.params, search: r.search, onClick: h, children: ee }), e[30] = ee, e[31] = J, e[32] = r, e[33] = d, e[34] = h, e[35] = x, e[36] = F) : F = e[36];
|
|
1418
1420
|
let R;
|
|
1419
|
-
e[37] !== T || e[38] !== n || e[39] !== g || e[40] !== r.children || e[41] !== r.title || e[42] !== u ? (R = r.children && n ? /* @__PURE__ */
|
|
1421
|
+
e[37] !== T || e[38] !== n || e[39] !== g || e[40] !== r.children || e[41] !== r.title || e[42] !== u ? (R = r.children && n ? /* @__PURE__ */ m(hn, { open: r.title === g, anchorEl: T, children: u?.(r.children) }) : null, e[37] = T, e[38] = n, e[39] = g, e[40] = r.children, e[41] = r.title, e[42] = u, e[43] = R) : R = e[43];
|
|
1420
1422
|
let H;
|
|
1421
|
-
e[44] !== Z || e[45] !== F || e[46] !== R ? (H = /* @__PURE__ */ q(
|
|
1423
|
+
e[44] !== Z || e[45] !== F || e[46] !== R ? (H = /* @__PURE__ */ q(Or, { ...Z, sx: U, children: [
|
|
1422
1424
|
F,
|
|
1423
1425
|
R
|
|
1424
1426
|
] }), e[44] = Z, e[45] = F, e[46] = R, e[47] = H) : H = e[47];
|
|
1425
1427
|
const te = H;
|
|
1426
1428
|
let V;
|
|
1427
|
-
e[48] !== n || e[49] !== o || e[50] !== r.children || e[51] !== u ? (V = r.children && !n ? /* @__PURE__ */
|
|
1429
|
+
e[48] !== n || e[49] !== o || e[50] !== r.children || e[51] !== u ? (V = r.children && !n ? /* @__PURE__ */ m(Bt, { in: o, timeout: "auto", unmountOnExit: !0, children: u?.(r.children) }) : null, e[48] = n, e[49] = o, e[50] = r.children, e[51] = u, e[52] = V) : V = e[52];
|
|
1428
1430
|
let i;
|
|
1429
1431
|
return e[53] !== r.to || e[54] !== te || e[55] !== V ? (i = /* @__PURE__ */ q(qe, { children: [
|
|
1430
1432
|
te,
|
|
1431
1433
|
V
|
|
1432
1434
|
] }, r.to), e[53] = r.to, e[54] = te, e[55] = V, e[56] = i) : i = e[56], i;
|
|
1433
|
-
},
|
|
1435
|
+
}, gn = (t) => !("kind" in t), vn = (t) => "kind" in t && t.kind === "divider", it = (t) => "kind" in t && t.kind === "header", $t = (t) => {
|
|
1434
1436
|
const e = ae(31), {
|
|
1435
1437
|
subNavigation: r,
|
|
1436
1438
|
depth: o,
|
|
1437
1439
|
collapsed: s,
|
|
1438
1440
|
isPopover: a,
|
|
1439
1441
|
isSidebarFullyExpanded: n,
|
|
1440
|
-
isSidebarFullyCollapsed:
|
|
1442
|
+
isSidebarFullyCollapsed: c,
|
|
1441
1443
|
expandedWidth: f,
|
|
1442
1444
|
renderItem: d,
|
|
1443
1445
|
activePath: u,
|
|
@@ -1446,20 +1448,20 @@ const un = () => {
|
|
|
1446
1448
|
} = t, g = o === void 0 ? 0 : o, b = n === void 0 ? !0 : n;
|
|
1447
1449
|
let T;
|
|
1448
1450
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = [], e[0] = T) : T = e[0];
|
|
1449
|
-
const [E, P] =
|
|
1451
|
+
const [E, P] = le(T);
|
|
1450
1452
|
let A, x;
|
|
1451
1453
|
e[1] !== s ? (A = () => {
|
|
1452
1454
|
s && P([]);
|
|
1453
1455
|
}, x = [s], e[1] = s, e[2] = A, e[3] = x) : (A = e[2], x = e[3]), Lt(A, x);
|
|
1454
1456
|
let _;
|
|
1455
1457
|
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (N) => P((W) => W.includes(N) ? W.filter((K) => K !== N) : [...W, N]), e[4] = _) : _ = e[4];
|
|
1456
|
-
const
|
|
1458
|
+
const l = _;
|
|
1457
1459
|
let j;
|
|
1458
|
-
e[5] !== u || e[6] !== s || e[7] !== g || e[8] !== f || e[9] !== v || e[10] !== h ? (j = (N) => /* @__PURE__ */
|
|
1460
|
+
e[5] !== u || e[6] !== s || e[7] !== g || e[8] !== f || e[9] !== v || e[10] !== h ? (j = (N) => /* @__PURE__ */ m($t, { subNavigation: N, depth: g + 1, isPopover: s, expandedWidth: f, activePath: u, onNavigate: h, onClose: v }), e[5] = u, e[6] = s, e[7] = g, e[8] = f, e[9] = v, e[10] = h, e[11] = j) : j = e[11];
|
|
1459
1461
|
const J = j;
|
|
1460
1462
|
let B;
|
|
1461
|
-
if (e[12] !== u || e[13] !== s || e[14] !== g || e[15] !== f || e[16] !== a || e[17] !==
|
|
1462
|
-
const N = r.filter(
|
|
1463
|
+
if (e[12] !== u || e[13] !== s || e[14] !== g || e[15] !== f || e[16] !== a || e[17] !== c || e[18] !== b || e[19] !== v || e[20] !== E || e[21] !== d || e[22] !== J || e[23] !== r) {
|
|
1464
|
+
const N = r.filter(Tn), W = a && g === 1 ? 0.5 : 0, K = g === 0 && !a ? 4 : 0.5, ee = (a ? 1 : 2) * (a ? g - 1 : g), Z = a && g === 1 ? Ne : "auto", U = s ? Ue : "auto";
|
|
1463
1465
|
let F;
|
|
1464
1466
|
e[25] !== K || e[26] !== ee || e[27] !== Z || e[28] !== U || e[29] !== W ? (F = {
|
|
1465
1467
|
padding: 0,
|
|
@@ -1468,9 +1470,9 @@ const un = () => {
|
|
|
1468
1470
|
pl: ee,
|
|
1469
1471
|
minWidth: Z,
|
|
1470
1472
|
width: U
|
|
1471
|
-
}, e[25] = K, e[26] = ee, e[27] = Z, e[28] = U, e[29] = W, e[30] = F) : F = e[30], B = /* @__PURE__ */
|
|
1473
|
+
}, e[25] = K, e[26] = ee, e[27] = Z, e[28] = U, e[29] = W, e[30] = F) : F = e[30], B = /* @__PURE__ */ m(xr, { sx: F, children: N.map((R, H) => {
|
|
1472
1474
|
if (it(R))
|
|
1473
|
-
return /* @__PURE__ */
|
|
1475
|
+
return /* @__PURE__ */ m(Sr, { sx: {
|
|
1474
1476
|
fontSize: 12,
|
|
1475
1477
|
fontWeight: "700",
|
|
1476
1478
|
height: s ? 0 : 40,
|
|
@@ -1483,39 +1485,39 @@ const un = () => {
|
|
|
1483
1485
|
bgcolor: "transparent",
|
|
1484
1486
|
position: "static"
|
|
1485
1487
|
}, children: R.title }, `subheader-${g}-${H}`);
|
|
1486
|
-
if (
|
|
1488
|
+
if (vn(R)) {
|
|
1487
1489
|
const i = N[H + 1];
|
|
1488
|
-
return /* @__PURE__ */
|
|
1490
|
+
return /* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(br, { sx: {
|
|
1489
1491
|
mx: 1,
|
|
1490
1492
|
mt: 1,
|
|
1491
1493
|
mb: it(i) && !s ? 0 : 1
|
|
1492
1494
|
} }) }, `divider-${g}-${H}`);
|
|
1493
1495
|
}
|
|
1494
|
-
if (!
|
|
1496
|
+
if (!gn(R))
|
|
1495
1497
|
return null;
|
|
1496
1498
|
const te = `item-${g}-${H}`, V = `${g}-${H}-${R.title}`;
|
|
1497
|
-
return d ? /* @__PURE__ */
|
|
1499
|
+
return d ? /* @__PURE__ */ m(qe, { children: d(R, {
|
|
1498
1500
|
collapsed: !!s
|
|
1499
|
-
}) }, te) : /* @__PURE__ */
|
|
1500
|
-
}) }), e[12] = u, e[13] = s, e[14] = g, e[15] = f, e[16] = a, e[17] =
|
|
1501
|
+
}) }, te) : /* @__PURE__ */ m(yn, { item: R, isOpen: E.includes(V), selected: u === R.to, collapsed: s, isSidebarFullyExpanded: b, isSidebarFullyCollapsed: c, onClick: R.children && !s ? () => l(V) : void 0, renderNested: J, onClose: v }, te);
|
|
1502
|
+
}) }), e[12] = u, e[13] = s, e[14] = g, e[15] = f, e[16] = a, e[17] = c, e[18] = b, e[19] = v, e[20] = E, e[21] = d, e[22] = J, e[23] = r, e[24] = B;
|
|
1501
1503
|
} else
|
|
1502
1504
|
B = e[24];
|
|
1503
1505
|
return B;
|
|
1504
1506
|
};
|
|
1505
|
-
function
|
|
1507
|
+
function Tn(t) {
|
|
1506
1508
|
return !t.hidden;
|
|
1507
1509
|
}
|
|
1508
|
-
const Ue = 84, Ne = 320, kt = 64,
|
|
1510
|
+
const Ue = 84, Ne = 320, kt = 64, bn = (t) => {
|
|
1509
1511
|
const e = ae(29), {
|
|
1510
1512
|
navigation: r,
|
|
1511
1513
|
expanded: o,
|
|
1512
1514
|
setExpanded: s
|
|
1513
|
-
} = t, a =
|
|
1515
|
+
} = t, a = vr(), n = Tr(), c = pr();
|
|
1514
1516
|
let f;
|
|
1515
|
-
e[0] !==
|
|
1516
|
-
const d =
|
|
1517
|
+
e[0] !== c.breakpoints ? (f = c.breakpoints.up("sm"), e[0] = c.breakpoints, e[1] = f) : f = e[1];
|
|
1518
|
+
const d = Ht(f);
|
|
1517
1519
|
let u;
|
|
1518
|
-
e[2] !== o || e[3] !== a || e[4] !== r || e[5] !== n.location.pathname || e[6] !== s || e[7] !== d ? (u = (E) => /* @__PURE__ */
|
|
1520
|
+
e[2] !== o || e[3] !== a || e[4] !== r || e[5] !== n.location.pathname || e[6] !== s || e[7] !== d ? (u = (E) => /* @__PURE__ */ m(At, { component: "nav", sx: {
|
|
1519
1521
|
height: "100%",
|
|
1520
1522
|
display: "flex",
|
|
1521
1523
|
flexDirection: "column",
|
|
@@ -1524,7 +1526,7 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1524
1526
|
scrollbarGutter: E ? "stable" : "auto",
|
|
1525
1527
|
overflowX: "hidden",
|
|
1526
1528
|
pt: r[0] && it(r[0]) && !E ? 0 : 2
|
|
1527
|
-
}, children: /* @__PURE__ */
|
|
1529
|
+
}, children: /* @__PURE__ */ m($t, { subNavigation: r, collapsed: E, isSidebarFullyExpanded: o, isSidebarFullyCollapsed: !o, expandedWidth: Ne, activePath: n.location.pathname, onNavigate: a, onClose: d ? void 0 : () => s(!1) }) }), e[2] = o, e[3] = a, e[4] = r, e[5] = n.location.pathname, e[6] = s, e[7] = d, e[8] = u) : u = e[8];
|
|
1528
1530
|
const h = u;
|
|
1529
1531
|
if (d) {
|
|
1530
1532
|
const E = o ? Ne : Ue, P = o ? Ne : Ue;
|
|
@@ -1543,10 +1545,10 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1543
1545
|
"& .MuiDrawer-paper": A
|
|
1544
1546
|
}, e[11] = E, e[12] = A, e[13] = x) : x = e[13];
|
|
1545
1547
|
const _ = !o;
|
|
1546
|
-
let
|
|
1547
|
-
e[14] !== h || e[15] !== _ ? (
|
|
1548
|
+
let l;
|
|
1549
|
+
e[14] !== h || e[15] !== _ ? (l = h(_), e[14] = h, e[15] = _, e[16] = l) : l = e[16];
|
|
1548
1550
|
let j;
|
|
1549
|
-
return e[17] !== x || e[18] !==
|
|
1551
|
+
return e[17] !== x || e[18] !== l ? (j = /* @__PURE__ */ m(pt, { variant: "permanent", sx: x, children: l }), e[17] = x, e[18] = l, e[19] = j) : j = e[19], j;
|
|
1550
1552
|
}
|
|
1551
1553
|
let v;
|
|
1552
1554
|
e[20] !== s ? (v = () => s(!1), e[20] = s, e[21] = v) : v = e[21];
|
|
@@ -1554,19 +1556,19 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1554
1556
|
let b;
|
|
1555
1557
|
e[22] !== h || e[23] !== g ? (b = h(g), e[22] = h, e[23] = g, e[24] = b) : b = e[24];
|
|
1556
1558
|
let T;
|
|
1557
|
-
return e[25] !== o || e[26] !== v || e[27] !== b ? (T = /* @__PURE__ */
|
|
1559
|
+
return e[25] !== o || e[26] !== v || e[27] !== b ? (T = /* @__PURE__ */ m(pt, { open: o, onClose: v, children: b }), e[25] = o, e[26] = v, e[27] = b, e[28] = T) : T = e[28], T;
|
|
1558
1560
|
}, Lo = Fe().inputValidator(ge.object({
|
|
1559
1561
|
redirectUri: ge.string()
|
|
1560
1562
|
})).handler(async ({
|
|
1561
1563
|
data: t
|
|
1562
1564
|
}) => {
|
|
1563
|
-
const e = await
|
|
1565
|
+
const e = await Wr(t.redirectUri), r = await lt.fetchQuery({
|
|
1564
1566
|
queryKey: ["graph", "me", "memberOf"],
|
|
1565
1567
|
queryFn: async () => st.request({
|
|
1566
1568
|
method: "GET",
|
|
1567
1569
|
url: "https://graph.microsoft.com/v1.0/me/memberOf?$select=displayName",
|
|
1568
1570
|
headers: {
|
|
1569
|
-
Authorization: `Bearer ${await
|
|
1571
|
+
Authorization: `Bearer ${await ct()}`
|
|
1570
1572
|
}
|
|
1571
1573
|
}).then((o) => o.data.value.map((s) => s.displayName)),
|
|
1572
1574
|
staleTime: 1 / 0,
|
|
@@ -1576,29 +1578,29 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1576
1578
|
...e.user,
|
|
1577
1579
|
groups: r
|
|
1578
1580
|
};
|
|
1579
|
-
}),
|
|
1581
|
+
}), xn = Fe({
|
|
1580
1582
|
method: "GET"
|
|
1581
|
-
}).handler(async () => await
|
|
1583
|
+
}).handler(async () => await lt.fetchQuery({
|
|
1582
1584
|
queryKey: ["graph", "me"],
|
|
1583
1585
|
queryFn: async () => await st.request({
|
|
1584
1586
|
method: "GET",
|
|
1585
1587
|
url: "https://graph.microsoft.com/v1.0/me?$select=id,displayName,jobTitle,mail,mobilePhone",
|
|
1586
1588
|
headers: {
|
|
1587
|
-
Authorization: `Bearer ${await
|
|
1589
|
+
Authorization: `Bearer ${await ct()}`
|
|
1588
1590
|
}
|
|
1589
1591
|
}).then((t) => t.data),
|
|
1590
1592
|
staleTime: 1 / 0,
|
|
1591
1593
|
gcTime: 1 / 0
|
|
1592
|
-
})),
|
|
1594
|
+
})), Sn = Fe({
|
|
1593
1595
|
method: "GET"
|
|
1594
|
-
}).handler(async () => await
|
|
1596
|
+
}).handler(async () => await lt.fetchQuery({
|
|
1595
1597
|
queryKey: ["graph", "me", "photo"],
|
|
1596
1598
|
queryFn: async () => {
|
|
1597
1599
|
const t = await st.request({
|
|
1598
1600
|
method: "GET",
|
|
1599
1601
|
url: "https://graph.microsoft.com/v1.0/me/photo/$value",
|
|
1600
1602
|
headers: {
|
|
1601
|
-
Authorization: `Bearer ${await
|
|
1603
|
+
Authorization: `Bearer ${await ct()}`
|
|
1602
1604
|
},
|
|
1603
1605
|
responseType: "arraybuffer"
|
|
1604
1606
|
}), e = t.headers["content-type"] ?? "image/jpeg", r = Buffer.from(t.data).toString("base64");
|
|
@@ -1606,17 +1608,17 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1606
1608
|
},
|
|
1607
1609
|
staleTime: 1 / 0,
|
|
1608
1610
|
gcTime: 1 / 0
|
|
1609
|
-
})), It = (t) => t && t.charAt(0).toUpperCase() + t.slice(1),
|
|
1610
|
-
const t = ae(105), [e, r] =
|
|
1611
|
+
})), It = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), En = () => {
|
|
1612
|
+
const t = ae(105), [e, r] = le(), [o, s] = le("settings"), a = !!e, {
|
|
1611
1613
|
t: n,
|
|
1612
|
-
i18n:
|
|
1613
|
-
} =
|
|
1614
|
+
i18n: c
|
|
1615
|
+
} = lr(), {
|
|
1614
1616
|
mode: f,
|
|
1615
1617
|
setMode: d
|
|
1616
|
-
} =
|
|
1618
|
+
} = Vt();
|
|
1617
1619
|
let u, h, v, g, b, T, E;
|
|
1618
|
-
if (t[0] !==
|
|
1619
|
-
const H = (Array.isArray(
|
|
1620
|
+
if (t[0] !== c || t[1] !== f || t[2] !== d || t[3] !== n) {
|
|
1621
|
+
const H = (Array.isArray(c.options.supportedLngs) ? c.options.supportedLngs : []).filter(_n), te = new Intl.DisplayNames([c.language], {
|
|
1620
1622
|
type: "language"
|
|
1621
1623
|
});
|
|
1622
1624
|
let V;
|
|
@@ -1624,7 +1626,7 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1624
1626
|
let i;
|
|
1625
1627
|
t[13] !== V ? (i = {
|
|
1626
1628
|
mode: "light",
|
|
1627
|
-
icon:
|
|
1629
|
+
icon: $r,
|
|
1628
1630
|
label: V
|
|
1629
1631
|
}, t[13] = V, t[14] = i) : i = t[14];
|
|
1630
1632
|
let y;
|
|
@@ -1632,7 +1634,7 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1632
1634
|
let w;
|
|
1633
1635
|
t[17] !== y ? (w = {
|
|
1634
1636
|
mode: "dark",
|
|
1635
|
-
icon:
|
|
1637
|
+
icon: Rr,
|
|
1636
1638
|
label: y
|
|
1637
1639
|
}, t[17] = y, t[18] = w) : w = t[18];
|
|
1638
1640
|
let O;
|
|
@@ -1640,7 +1642,7 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1640
1642
|
let S;
|
|
1641
1643
|
t[21] !== O ? (S = {
|
|
1642
1644
|
mode: "system",
|
|
1643
|
-
icon:
|
|
1645
|
+
icon: zr,
|
|
1644
1646
|
label: O
|
|
1645
1647
|
}, t[21] = O, t[22] = S) : S = t[22];
|
|
1646
1648
|
let k;
|
|
@@ -1659,23 +1661,23 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1659
1661
|
t[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = {
|
|
1660
1662
|
backgroundColor: "transparent"
|
|
1661
1663
|
}, t[30] = X) : X = t[30];
|
|
1662
|
-
let
|
|
1663
|
-
t[31] !== n ? (
|
|
1664
|
+
let p;
|
|
1665
|
+
t[31] !== n ? (p = n("Layout.Settings"), t[31] = n, t[32] = p) : p = t[32];
|
|
1664
1666
|
let Q;
|
|
1665
|
-
t[33] !==
|
|
1667
|
+
t[33] !== p ? (Q = /* @__PURE__ */ m(Ge, { sx: X, children: p }), t[33] = p, t[34] = Q) : Q = t[34];
|
|
1666
1668
|
let oe, se;
|
|
1667
1669
|
t[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (oe = D("theme"), se = {
|
|
1668
1670
|
py: 0.3
|
|
1669
1671
|
}, t[35] = oe, t[36] = se) : (oe = t[35], se = t[36]);
|
|
1670
1672
|
let be;
|
|
1671
|
-
t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */
|
|
1672
|
-
let
|
|
1673
|
-
t[38] !== n ? (
|
|
1673
|
+
t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ m(Te, { children: /* @__PURE__ */ m(Ar, {}) }), t[37] = be) : be = t[37];
|
|
1674
|
+
let ce;
|
|
1675
|
+
t[38] !== n ? (ce = n("Layout.Appearance"), t[38] = n, t[39] = ce) : ce = t[39];
|
|
1674
1676
|
const Be = C.find((re) => re.mode === f)?.label;
|
|
1675
1677
|
let ue;
|
|
1676
|
-
t[40] !==
|
|
1678
|
+
t[40] !== ce || t[41] !== Be ? (ue = /* @__PURE__ */ m(ye, { primary: ce, secondary: Be }), t[40] = ce, t[41] = Be, t[42] = ue) : ue = t[42];
|
|
1677
1679
|
let xe;
|
|
1678
|
-
t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = /* @__PURE__ */
|
|
1680
|
+
t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (xe = /* @__PURE__ */ m(gt, {}), t[43] = xe) : xe = t[43];
|
|
1679
1681
|
let fe;
|
|
1680
1682
|
t[44] !== ue ? (fe = /* @__PURE__ */ q(ve, { onClick: oe, sx: se, children: [
|
|
1681
1683
|
be,
|
|
@@ -1687,14 +1689,14 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1687
1689
|
py: 0.3
|
|
1688
1690
|
}, t[46] = Se, t[47] = Ee) : (Se = t[46], Ee = t[47]);
|
|
1689
1691
|
let _e;
|
|
1690
|
-
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */
|
|
1692
|
+
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ m(Te, { children: /* @__PURE__ */ m(Nr, {}) }), t[48] = _e) : _e = t[48];
|
|
1691
1693
|
let Oe;
|
|
1692
1694
|
t[49] !== n ? (Oe = n("Layout.Language"), t[49] = n, t[50] = Oe) : Oe = t[50];
|
|
1693
1695
|
let we;
|
|
1694
|
-
t[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = /* @__PURE__ */
|
|
1696
|
+
t[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = /* @__PURE__ */ m(gt, {}), t[51] = we) : we = t[51];
|
|
1695
1697
|
const He = /* @__PURE__ */ q(ve, { onClick: Se, sx: Ee, children: [
|
|
1696
1698
|
_e,
|
|
1697
|
-
/* @__PURE__ */
|
|
1699
|
+
/* @__PURE__ */ m(ye, { primary: Oe, secondary: It(te.of(c.language)) }),
|
|
1698
1700
|
we
|
|
1699
1701
|
] });
|
|
1700
1702
|
let Ce;
|
|
@@ -1711,9 +1713,9 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1711
1713
|
cursor: "pointer"
|
|
1712
1714
|
}, t[56] = Me, t[57] = Pe) : (Me = t[56], Pe = t[57]);
|
|
1713
1715
|
let ke;
|
|
1714
|
-
t[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ke = /* @__PURE__ */
|
|
1716
|
+
t[58] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ke = /* @__PURE__ */ m(Ye, { size: "small", sx: {
|
|
1715
1717
|
mr: 0.5
|
|
1716
|
-
}, children: /* @__PURE__ */
|
|
1718
|
+
}, children: /* @__PURE__ */ m(yt, { fontSize: "small" }) }), t[58] = ke) : ke = t[58];
|
|
1717
1719
|
let de;
|
|
1718
1720
|
t[59] !== n ? (de = n("Layout.Appearance"), t[59] = n, t[60] = de) : de = t[60];
|
|
1719
1721
|
let me;
|
|
@@ -1732,12 +1734,12 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1732
1734
|
return /* @__PURE__ */ q(ve, { onClick: () => {
|
|
1733
1735
|
d(Ve), h();
|
|
1734
1736
|
}, selected: f === Ve, children: [
|
|
1735
|
-
/* @__PURE__ */
|
|
1736
|
-
/* @__PURE__ */
|
|
1737
|
+
/* @__PURE__ */ m(Te, { children: /* @__PURE__ */ m(zt, {}) }),
|
|
1738
|
+
/* @__PURE__ */ m(ye, { primary: Nt })
|
|
1737
1739
|
] }, Ve);
|
|
1738
1740
|
}), t[63] = C, t[64] = f, t[65] = d, t[66] = pe) : pe = t[66];
|
|
1739
1741
|
let Ie;
|
|
1740
|
-
t[67] !== me || t[68] !== pe ? (Ie = /* @__PURE__ */
|
|
1742
|
+
t[67] !== me || t[68] !== pe ? (Ie = /* @__PURE__ */ m(Re, { subheader: me, children: pe }), t[67] = me, t[68] = pe, t[69] = Ie) : Ie = t[69], E = Ie, u = Re;
|
|
1741
1743
|
let De, Le;
|
|
1742
1744
|
t[70] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (De = D("settings"), Le = {
|
|
1743
1745
|
backgroundColor: "transparent",
|
|
@@ -1747,25 +1749,25 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1747
1749
|
cursor: "pointer"
|
|
1748
1750
|
}, t[70] = De, t[71] = Le) : (De = t[70], Le = t[71]);
|
|
1749
1751
|
let Ae;
|
|
1750
|
-
t[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = /* @__PURE__ */
|
|
1752
|
+
t[72] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = /* @__PURE__ */ m(Ye, { size: "small", sx: {
|
|
1751
1753
|
mr: 0.5
|
|
1752
|
-
}, children: /* @__PURE__ */
|
|
1754
|
+
}, children: /* @__PURE__ */ m(yt, { fontSize: "small" }) }), t[72] = Ae) : Ae = t[72];
|
|
1753
1755
|
let he;
|
|
1754
1756
|
t[73] !== n ? (he = n("Layout.Language"), t[73] = n, t[74] = he) : he = t[74], t[75] !== he ? (b = /* @__PURE__ */ q(Ge, { onClick: De, sx: Le, children: [
|
|
1755
1757
|
Ae,
|
|
1756
1758
|
" ",
|
|
1757
1759
|
he
|
|
1758
|
-
] }), t[75] = he, t[76] = b) : b = t[76], T = H.map((re) => /* @__PURE__ */ q(ve, { onClick: () =>
|
|
1759
|
-
/* @__PURE__ */
|
|
1760
|
-
/* @__PURE__ */
|
|
1761
|
-
] }, re)), t[0] =
|
|
1760
|
+
] }), t[75] = he, t[76] = b) : b = t[76], T = H.map((re) => /* @__PURE__ */ q(ve, { onClick: () => c.changeLanguage(re).finally(() => h()), selected: c.resolvedLanguage === re, children: [
|
|
1761
|
+
/* @__PURE__ */ m(Te, { children: c.resolvedLanguage === re && /* @__PURE__ */ m(jr, {}) }),
|
|
1762
|
+
/* @__PURE__ */ m(ye, { primary: It(te.of(re)) })
|
|
1763
|
+
] }, re)), t[0] = c, t[1] = f, t[2] = d, t[3] = n, t[4] = u, t[5] = h, t[6] = v, t[7] = g, t[8] = b, t[9] = T, t[10] = E;
|
|
1762
1764
|
} else
|
|
1763
1765
|
u = t[4], h = t[5], v = t[6], g = t[7], b = t[8], T = t[9], E = t[10];
|
|
1764
1766
|
let P;
|
|
1765
|
-
t[77] !== u || t[78] !== b || t[79] !== T ? (P = /* @__PURE__ */
|
|
1767
|
+
t[77] !== u || t[78] !== b || t[79] !== T ? (P = /* @__PURE__ */ m(u, { subheader: b, children: T }), t[77] = u, t[78] = b, t[79] = T, t[80] = P) : P = t[80];
|
|
1766
1768
|
const A = P;
|
|
1767
1769
|
let x;
|
|
1768
|
-
t[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */
|
|
1770
|
+
t[81] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ m(Lr, { sx: {
|
|
1769
1771
|
width: {
|
|
1770
1772
|
xs: 32,
|
|
1771
1773
|
sm: 40
|
|
@@ -1776,25 +1778,25 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1776
1778
|
}
|
|
1777
1779
|
} }), t[81] = x) : x = t[81];
|
|
1778
1780
|
let _;
|
|
1779
|
-
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */
|
|
1780
|
-
let
|
|
1781
|
-
t[83] !== v ? (
|
|
1781
|
+
t[82] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ m(ar, { fallback: x, children: /* @__PURE__ */ m(ht, { promise: Sn(), children: On }) }), t[82] = _) : _ = t[82];
|
|
1782
|
+
let l;
|
|
1783
|
+
t[83] !== v ? (l = /* @__PURE__ */ m(Ye, { size: "small", edge: "end", onClick: v, children: _ }), t[83] = v, t[84] = l) : l = t[84];
|
|
1782
1784
|
let j;
|
|
1783
1785
|
t[85] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = {
|
|
1784
1786
|
width: 240
|
|
1785
1787
|
}, t[85] = j) : j = t[85];
|
|
1786
1788
|
let J;
|
|
1787
|
-
t[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = /* @__PURE__ */
|
|
1789
|
+
t[86] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = /* @__PURE__ */ m(Gt, { children: /* @__PURE__ */ m(ht, { promise: xn(), children: wn }) }), t[86] = J) : J = t[86];
|
|
1788
1790
|
let B;
|
|
1789
|
-
t[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */
|
|
1791
|
+
t[87] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ m(Te, { children: /* @__PURE__ */ m(Yr, { color: "error" }) }), t[87] = B) : B = t[87];
|
|
1790
1792
|
let N;
|
|
1791
1793
|
t[88] !== n ? (N = n("Layout.Logout"), t[88] = n, t[89] = N) : N = t[89];
|
|
1792
1794
|
let W;
|
|
1793
1795
|
t[90] !== N ? (W = /* @__PURE__ */ q(Re, { disablePadding: !0, children: [
|
|
1794
1796
|
J,
|
|
1795
|
-
/* @__PURE__ */ q(ve, { onClick:
|
|
1797
|
+
/* @__PURE__ */ q(ve, { onClick: Cn, children: [
|
|
1796
1798
|
B,
|
|
1797
|
-
/* @__PURE__ */
|
|
1799
|
+
/* @__PURE__ */ m(ye, { primary: N })
|
|
1798
1800
|
] })
|
|
1799
1801
|
] }), t[90] = N, t[91] = W) : W = t[91];
|
|
1800
1802
|
const K = o === "settings" && g, ee = o === "theme" && E, Z = o === "language" && A;
|
|
@@ -1806,18 +1808,18 @@ const Ue = 84, Ne = 320, kt = 64, Tn = (t) => {
|
|
|
1806
1808
|
Z
|
|
1807
1809
|
] }), t[92] = W, t[93] = K, t[94] = ee, t[95] = Z, t[96] = U) : U = t[96];
|
|
1808
1810
|
let F;
|
|
1809
|
-
t[97] !== e || t[98] !== h || t[99] !== a || t[100] !== U ? (F = /* @__PURE__ */
|
|
1811
|
+
t[97] !== e || t[98] !== h || t[99] !== a || t[100] !== U ? (F = /* @__PURE__ */ m(Xt, { anchorEl: e, open: a, onClose: h, children: U }), t[97] = e, t[98] = h, t[99] = a, t[100] = U, t[101] = F) : F = t[101];
|
|
1810
1812
|
let R;
|
|
1811
|
-
return t[102] !== F || t[103] !==
|
|
1812
|
-
|
|
1813
|
+
return t[102] !== F || t[103] !== l ? (R = /* @__PURE__ */ q(qe, { children: [
|
|
1814
|
+
l,
|
|
1813
1815
|
F
|
|
1814
|
-
] }), t[102] = F, t[103] =
|
|
1816
|
+
] }), t[102] = F, t[103] = l, t[104] = R) : R = t[104], R;
|
|
1815
1817
|
};
|
|
1816
|
-
function
|
|
1818
|
+
function _n(t) {
|
|
1817
1819
|
return t !== "cimode";
|
|
1818
1820
|
}
|
|
1819
|
-
function
|
|
1820
|
-
return /* @__PURE__ */
|
|
1821
|
+
function On(t) {
|
|
1822
|
+
return /* @__PURE__ */ m(Kt, { src: t, sx: {
|
|
1821
1823
|
width: {
|
|
1822
1824
|
xs: 32,
|
|
1823
1825
|
sm: 40
|
|
@@ -1828,16 +1830,16 @@ function _n(t) {
|
|
|
1828
1830
|
}
|
|
1829
1831
|
} });
|
|
1830
1832
|
}
|
|
1831
|
-
function
|
|
1832
|
-
return /* @__PURE__ */
|
|
1833
|
+
function wn(t) {
|
|
1834
|
+
return /* @__PURE__ */ m(ye, { primary: t.displayName.split("/")[0], secondary: t.jobTitle });
|
|
1833
1835
|
}
|
|
1834
|
-
function
|
|
1836
|
+
function Cn() {
|
|
1835
1837
|
return console.log("Logout clicked");
|
|
1836
1838
|
}
|
|
1837
|
-
const Yt = 3600 * 24 * 365,
|
|
1839
|
+
const Yt = 3600 * 24 * 365, Mn = nr().server(() => Dt("navigationOpen") === "true").client(() => {
|
|
1838
1840
|
const t = document.cookie.split("; ").find((e) => e.startsWith("navigationOpen="));
|
|
1839
1841
|
return t ? t.split("=")[1] === "true" : !1;
|
|
1840
|
-
}),
|
|
1842
|
+
}), Pn = at("div")(({
|
|
1841
1843
|
theme: t
|
|
1842
1844
|
}) => ({
|
|
1843
1845
|
display: "flex",
|
|
@@ -1845,10 +1847,10 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1845
1847
|
justifyContent: "flex-end",
|
|
1846
1848
|
padding: t.spacing(0, 1),
|
|
1847
1849
|
...t.mixins.toolbar
|
|
1848
|
-
})),
|
|
1849
|
-
const e = ae(29), [r, o] =
|
|
1850
|
-
let n,
|
|
1851
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */
|
|
1850
|
+
})), kn = (t) => {
|
|
1851
|
+
const e = ae(29), [r, o] = le(Mn), s = !!hr(), a = !!yr();
|
|
1852
|
+
let n, c;
|
|
1853
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ m(Zt, {}), c = /* @__PURE__ */ m(Jt, {}), e[0] = n, e[1] = c) : (n = e[0], c = e[1]);
|
|
1852
1854
|
let f;
|
|
1853
1855
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
1854
1856
|
display: "flex",
|
|
@@ -1864,21 +1866,21 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1864
1866
|
boxShadow: "none"
|
|
1865
1867
|
}, e[3] = d) : d = e[3];
|
|
1866
1868
|
let u;
|
|
1867
|
-
e[4] !== r || e[5] !== t.navigation ? (u = t.navigation && /* @__PURE__ */
|
|
1868
|
-
o(
|
|
1869
|
+
e[4] !== r || e[5] !== t.navigation ? (u = t.navigation && /* @__PURE__ */ m(Ye, { onClick: () => {
|
|
1870
|
+
o(In);
|
|
1869
1871
|
}, sx: {
|
|
1870
1872
|
marginRight: 2
|
|
1871
|
-
}, children: r ? /* @__PURE__ */
|
|
1873
|
+
}, children: r ? /* @__PURE__ */ m(dr, {}) : /* @__PURE__ */ m(fr, {}) }), e[4] = r, e[5] = t.navigation, e[6] = u) : u = e[6];
|
|
1872
1874
|
let h, v;
|
|
1873
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */
|
|
1875
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ m(fn, {}), v = /* @__PURE__ */ m(En, {}), e[7] = h, e[8] = v) : (h = e[7], v = e[8]);
|
|
1874
1876
|
let g;
|
|
1875
|
-
e[9] !== u ? (g = /* @__PURE__ */
|
|
1877
|
+
e[9] !== u ? (g = /* @__PURE__ */ m(Qt, { color: "transparent", position: "fixed", sx: d, children: /* @__PURE__ */ q(er, { children: [
|
|
1876
1878
|
u,
|
|
1877
1879
|
h,
|
|
1878
1880
|
v
|
|
1879
1881
|
] }) }), e[9] = u, e[10] = g) : g = e[10];
|
|
1880
1882
|
let b;
|
|
1881
|
-
e[11] !== r || e[12] !== t.navigation ? (b = t.navigation && /* @__PURE__ */
|
|
1883
|
+
e[11] !== r || e[12] !== t.navigation ? (b = t.navigation && /* @__PURE__ */ m(bn, { navigation: t.navigation, expanded: r, setExpanded: (j) => {
|
|
1882
1884
|
o(j), document.cookie = `navigationOpen=${j}; max-age=${Yt}; path=/`;
|
|
1883
1885
|
} }), e[11] = r, e[12] = t.navigation, e[13] = b) : b = e[13];
|
|
1884
1886
|
let T, E;
|
|
@@ -1889,7 +1891,7 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1889
1891
|
minWidth: 0,
|
|
1890
1892
|
height: "100%",
|
|
1891
1893
|
overflow: "hidden"
|
|
1892
|
-
}, T = /* @__PURE__ */
|
|
1894
|
+
}, T = /* @__PURE__ */ m(Pn, {}), e[14] = T, e[15] = E) : (T = e[14], E = e[15]);
|
|
1893
1895
|
let P;
|
|
1894
1896
|
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = {
|
|
1895
1897
|
flex: 1,
|
|
@@ -1899,7 +1901,7 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1899
1901
|
let A;
|
|
1900
1902
|
e[17] !== t.children ? (A = /* @__PURE__ */ q(ze, { component: "main", sx: E, children: [
|
|
1901
1903
|
T,
|
|
1902
|
-
/* @__PURE__ */
|
|
1904
|
+
/* @__PURE__ */ m(ze, { sx: P, children: t.children })
|
|
1903
1905
|
] }), e[17] = t.children, e[18] = A) : A = e[18];
|
|
1904
1906
|
let x;
|
|
1905
1907
|
e[19] !== A || e[20] !== g || e[21] !== b ? (x = /* @__PURE__ */ q(ze, { sx: f, children: [
|
|
@@ -1908,7 +1910,7 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1908
1910
|
A
|
|
1909
1911
|
] }), e[19] = A, e[20] = g, e[21] = b, e[22] = x) : x = e[22];
|
|
1910
1912
|
let _;
|
|
1911
|
-
e[23] !== s || e[24] !== a ? (_ = (s || a) && /* @__PURE__ */
|
|
1913
|
+
e[23] !== s || e[24] !== a ? (_ = (s || a) && /* @__PURE__ */ m(tr, { sx: {
|
|
1912
1914
|
position: "fixed",
|
|
1913
1915
|
top: {
|
|
1914
1916
|
xs: 56,
|
|
@@ -1917,26 +1919,26 @@ const Yt = 3600 * 24 * 365, Cn = rr().server(() => Dt("navigationOpen") === "tru
|
|
|
1917
1919
|
left: 0,
|
|
1918
1920
|
right: 0
|
|
1919
1921
|
} }), e[23] = s, e[24] = a, e[25] = _) : _ = e[25];
|
|
1920
|
-
let
|
|
1921
|
-
return e[26] !== x || e[27] !== _ ? (
|
|
1922
|
+
let l;
|
|
1923
|
+
return e[26] !== x || e[27] !== _ ? (l = /* @__PURE__ */ q(qe, { children: [
|
|
1922
1924
|
n,
|
|
1923
|
-
|
|
1925
|
+
c,
|
|
1924
1926
|
x,
|
|
1925
1927
|
_
|
|
1926
|
-
] }), e[26] = x, e[27] = _, e[28] =
|
|
1928
|
+
] }), e[26] = x, e[27] = _, e[28] = l) : l = e[28], l;
|
|
1927
1929
|
};
|
|
1928
|
-
function
|
|
1930
|
+
function In(t) {
|
|
1929
1931
|
const e = !t;
|
|
1930
1932
|
return document.cookie = `navigationOpen=${e}; max-age=${Yt}; path=/`, e;
|
|
1931
1933
|
}
|
|
1932
|
-
const
|
|
1933
|
-
ie.use(
|
|
1934
|
+
const Dn = 1440 * 365;
|
|
1935
|
+
ie.use(or).use(cr).init({
|
|
1934
1936
|
resources: mt,
|
|
1935
1937
|
fallbackLng: "en",
|
|
1936
1938
|
supportedLngs: Object.keys(mt),
|
|
1937
1939
|
detection: {
|
|
1938
1940
|
caches: ["cookie"],
|
|
1939
|
-
cookieMinutes:
|
|
1941
|
+
cookieMinutes: Dn
|
|
1940
1942
|
},
|
|
1941
1943
|
interpolation: {
|
|
1942
1944
|
escapeValue: !1
|
|
@@ -1947,22 +1949,22 @@ const Ao = (t) => {
|
|
|
1947
1949
|
navigation: r,
|
|
1948
1950
|
theme: o,
|
|
1949
1951
|
children: s
|
|
1950
|
-
} = t, a =
|
|
1952
|
+
} = t, a = sr(Ln);
|
|
1951
1953
|
let n;
|
|
1952
1954
|
e[0] !== a ? (n = () => (a(), ie.on("languageChanged", a), () => {
|
|
1953
1955
|
ie.off("languageChanged", a);
|
|
1954
1956
|
}), e[0] = a, e[1] = n) : n = e[1];
|
|
1955
|
-
let
|
|
1956
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1957
|
+
let c;
|
|
1958
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = [], e[2] = c) : c = e[2], Lt(n, c);
|
|
1957
1959
|
let f;
|
|
1958
|
-
e[3] !== s || e[4] !== r ? (f = /* @__PURE__ */
|
|
1960
|
+
e[3] !== s || e[4] !== r ? (f = /* @__PURE__ */ m(ft, { dateAdapter: cn, adapterLocale: ie.language, children: /* @__PURE__ */ m(un, { children: /* @__PURE__ */ m(kn, { navigation: r, children: s }) }) }, ie.language), e[3] = s, e[4] = r, e[5] = f) : f = e[5];
|
|
1959
1961
|
let d;
|
|
1960
|
-
return e[6] !== f || e[7] !== o ? (d = /* @__PURE__ */
|
|
1962
|
+
return e[6] !== f || e[7] !== o ? (d = /* @__PURE__ */ m(rr, { theme: o, children: f }), e[6] = f, e[7] = o, e[8] = d) : d = e[8], d;
|
|
1961
1963
|
}, Ro = Fe().handler(async () => {
|
|
1962
1964
|
const t = Dt(ie.services.languageDetector.options.lookupCookie) || "en";
|
|
1963
1965
|
ge.config(ge.core.locales[t]()), G.locale(t), await ie.changeLanguage(t);
|
|
1964
1966
|
});
|
|
1965
|
-
function
|
|
1967
|
+
function Ln() {
|
|
1966
1968
|
ge.config(ge.core.locales[ie.language]()), G.locale(ie.language);
|
|
1967
1969
|
}
|
|
1968
1970
|
export {
|
|
@@ -1973,3 +1975,4 @@ export {
|
|
|
1973
1975
|
No as rootRouteHead,
|
|
1974
1976
|
Ro as setSSRLanguage
|
|
1975
1977
|
};
|
|
1978
|
+
//# sourceMappingURL=index.js.map
|