wcz-test 7.1.1 → 7.1.3
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/components/core/AppTitle.d.ts +2 -0
- package/dist/components/core/Fullscreen.d.ts +3 -0
- package/dist/components/core/Layout.d.ts +8 -0
- package/dist/components/core/ToolbarAccount.d.ts +2 -0
- package/dist/components/core/TypographyWithIcon.d.ts +7 -0
- package/dist/components/core/navigation/NavigationList.d.ts +22 -0
- package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
- package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
- package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
- package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
- package/dist/components/file/Dropzone.d.ts +8 -0
- package/dist/components/file/FileViewer.d.ts +20 -0
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
- package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
- package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
- package/dist/components/form/FormAutocomplete.d.ts +7 -0
- package/dist/components/form/FormCheckbox.d.ts +7 -0
- package/dist/components/form/FormDatePicker.d.ts +8 -0
- package/dist/components/form/FormDateRangePicker.d.ts +8 -0
- package/dist/components/form/FormDateTimePicker.d.ts +8 -0
- package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
- package/dist/components/form/FormNumberField.d.ts +9 -0
- package/dist/components/form/FormRadioGroup.d.ts +13 -0
- package/dist/components/form/FormSlider.d.ts +7 -0
- package/dist/components/form/FormSubmitButton.d.ts +4 -0
- package/dist/components/form/FormSwitch.d.ts +7 -0
- package/dist/components/form/FormTextField.d.ts +7 -0
- package/dist/components/form/FormTimePicker.d.ts +8 -0
- package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
- package/dist/components/router/RouterButton.d.ts +6 -0
- package/dist/components/router/RouterError.d.ts +7 -0
- package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
- package/dist/components/router/RouterIconButton.d.ts +6 -0
- package/dist/components/router/RouterLink.d.ts +6 -0
- package/dist/components/router/RouterListItemButton.d.ts +6 -0
- package/dist/components/router/RouterNotFound.d.ts +1 -0
- package/dist/components/router/RouterTab.d.ts +6 -0
- package/dist/contexts/DialogsContext.d.ts +6 -0
- package/dist/contexts/FileContext.d.ts +13 -0
- package/dist/hooks/DialogsHooks.d.ts +42 -0
- package/dist/hooks/FormHooks.d.ts +52 -0
- package/dist/hooks/User.d.ts +8 -0
- package/dist/index.js +533 -534
- package/dist/index.js.map +1 -1
- package/dist/lib/auth/permissions.d.ts +3 -0
- package/dist/lib/auth/scopes.d.ts +3 -0
- package/dist/lib/queryClient.d.ts +2 -0
- package/dist/lib/utils.d.ts +61 -0
- package/dist/lib/vite-plugin.d.ts +2 -0
- package/dist/models/Navigation.d.ts +18 -0
- package/dist/models/User.d.ts +13 -0
- package/dist/models/approval/Approval.d.ts +177 -0
- package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
- package/dist/models/approval/ApprovalFlow.d.ts +49 -0
- package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
- package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
- package/dist/models/approval/ApprovalStatus.d.ts +9 -0
- package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
- package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
- package/dist/models/email/Email.d.ts +13 -0
- package/dist/models/email/EmailAttachment.d.ts +6 -0
- package/dist/models/file/FileActions.d.ts +6 -0
- package/dist/models/file/FileMeta.d.ts +15 -0
- package/dist/models/peoplesoft/Department.d.ts +58 -0
- package/dist/models/peoplesoft/Employee.d.ts +46 -0
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
- package/dist/providers/AuthProvider.d.ts +8 -0
- package/dist/providers/DialogsProvider.d.ts +5 -0
- package/dist/providers/LayoutProvider.d.ts +10 -0
- package/dist/queries/ApprovalHooks.d.ts +661 -0
- package/dist/queries/FileHooks.d.ts +205 -0
- package/dist/queries/GraphQueries.d.ts +31 -0
- package/dist/queries/PeopleSoftHooks.d.ts +2173 -0
- package/dist/queries/index.d.ts +2958 -0
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
|
-
import { j as s, M as
|
|
2
|
-
import { W as
|
|
3
|
-
import { Stack as
|
|
4
|
-
import { LocalizationProvider as
|
|
5
|
-
import { AdapterDayjs as
|
|
6
|
-
import
|
|
1
|
+
import { j as s, M as Ft, I as W, b as qt, d as Bt, A as zt, e as Wt, f as We, E as qe, h as Ht, O as Gt, a as U, i as Kt, g as Qt, P as Ke, k as Yt } from "./utils-Dttzp8un.js";
|
|
2
|
+
import { W as Li, l as Ai, r as Ei } from "./utils-Dttzp8un.js";
|
|
3
|
+
import { Stack as Xt, Typography as Vt, Chip as Zt, Collapse as Jt, Grow as en, useMediaQuery as tn, useColorScheme as nn, ListItemButton as de, ListItemText as B, ListItemIcon as fe, ListItem as on, Skeleton as dt, ListSubheader as et, List as Be, IconButton as He, Avatar as sn, Box as Ge, Menu as rn, InitColorSchemeScript as an, CssBaseline as ln, AppBar as cn, Toolbar as un, LinearProgress as dn, ThemeProvider as fn } from "@mui/material";
|
|
4
|
+
import { LocalizationProvider as pn } from "@mui/x-date-pickers";
|
|
5
|
+
import { AdapterDayjs as mn } from "@mui/x-date-pickers/AdapterDayjs";
|
|
6
|
+
import hn from "dayjs";
|
|
7
7
|
import { i as z } from "./i18next-Bx3TmZAT.js";
|
|
8
|
-
import
|
|
9
|
-
import { resources as
|
|
10
|
-
import
|
|
8
|
+
import ft, { useState as q, useId as gn, useRef as pe, useContext as xn, useMemo as Lt, useEffect as F, useCallback as pt, Fragment as at, useEffectEvent as yn } from "react";
|
|
9
|
+
import { resources as mt } from "virtual:wcz-layout";
|
|
10
|
+
import ht from "zod";
|
|
11
11
|
import tt from "@mui/utils/useEventCallback";
|
|
12
|
-
import { s as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { styled as
|
|
16
|
-
import { queryOptions as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { useNavigate as
|
|
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 { a as Yn } from "./index-De6Lo0ff.js";
|
|
12
|
+
import { s as vn, a as bn, D as Sn, u as kn } from "./DialogsContext-8xfQ3X-k.js";
|
|
13
|
+
import wn from "@mui/icons-material/Menu";
|
|
14
|
+
import In from "@mui/icons-material/MenuOpen";
|
|
15
|
+
import { styled as lt, useTheme as jn } from "@mui/material/styles";
|
|
16
|
+
import { queryOptions as gt, useQueryClient as _n, useQuery as xt, useIsFetching as Tn, useIsMutating as Cn } from "@tanstack/react-query";
|
|
17
|
+
import ct from "@mui/material/Box";
|
|
18
|
+
import yt from "@mui/material/Drawer";
|
|
19
|
+
import { useNavigate as Ln, useRouterState as An } from "@tanstack/react-router";
|
|
20
|
+
import En from "@mui/material/Divider";
|
|
21
|
+
import Mn from "@mui/material/List";
|
|
22
|
+
import Dn from "@mui/material/ListSubheader";
|
|
23
|
+
import $n from "@mui/icons-material/ExpandMore";
|
|
24
|
+
import On from "@mui/material/Avatar";
|
|
25
|
+
import Pn from "@mui/material/ListItem";
|
|
26
|
+
import Rn from "@mui/material/ListItemButton";
|
|
27
|
+
import Nn from "@mui/material/ListItemIcon";
|
|
28
|
+
import Un from "@mui/material/ListItemText";
|
|
29
|
+
import Fn from "@mui/material/Paper";
|
|
30
|
+
import qn from "@mui/material/Typography";
|
|
31
|
+
import { R as Bn } from "./RouterListItemButton-DrW6M53Y.js";
|
|
32
|
+
import zn from "@mui/icons-material/AccountCircle";
|
|
33
|
+
import vt from "@mui/icons-material/ArrowBack";
|
|
34
|
+
import Wn from "@mui/icons-material/Brightness4";
|
|
35
|
+
import bt from "@mui/icons-material/ChevronRight";
|
|
36
|
+
import Hn from "@mui/icons-material/DarkMode";
|
|
37
|
+
import Gn from "@mui/icons-material/Done";
|
|
38
|
+
import Kn from "@mui/icons-material/LightMode";
|
|
39
|
+
import Qn from "@mui/icons-material/Logout";
|
|
40
|
+
import Yn from "@mui/icons-material/SettingsBrightness";
|
|
41
|
+
import Xn from "@mui/icons-material/Translate";
|
|
42
|
+
import { a as Vn } from "./index-De6Lo0ff.js";
|
|
44
43
|
const {
|
|
45
|
-
slice:
|
|
46
|
-
forEach:
|
|
44
|
+
slice: Zn,
|
|
45
|
+
forEach: Jn
|
|
47
46
|
} = [];
|
|
48
|
-
function
|
|
49
|
-
return
|
|
47
|
+
function eo(t) {
|
|
48
|
+
return Jn.call(Zn.call(arguments, 1), (e) => {
|
|
50
49
|
if (e)
|
|
51
50
|
for (const n in e)
|
|
52
51
|
t[n] === void 0 && (t[n] = e[n]);
|
|
53
52
|
}), t;
|
|
54
53
|
}
|
|
55
|
-
function
|
|
54
|
+
function to(t) {
|
|
56
55
|
return typeof t != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((n) => n.test(t));
|
|
57
56
|
}
|
|
58
|
-
const
|
|
57
|
+
const St = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, no = function(t, e) {
|
|
59
58
|
const o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
60
59
|
path: "/"
|
|
61
60
|
}, r = encodeURIComponent(e);
|
|
@@ -66,12 +65,12 @@ const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
|
|
|
66
65
|
a += `; Max-Age=${Math.floor(i)}`;
|
|
67
66
|
}
|
|
68
67
|
if (o.domain) {
|
|
69
|
-
if (!
|
|
68
|
+
if (!St.test(o.domain))
|
|
70
69
|
throw new TypeError("option domain is invalid");
|
|
71
70
|
a += `; Domain=${o.domain}`;
|
|
72
71
|
}
|
|
73
72
|
if (o.path) {
|
|
74
|
-
if (!
|
|
73
|
+
if (!St.test(o.path))
|
|
75
74
|
throw new TypeError("option path is invalid");
|
|
76
75
|
a += `; Path=${o.path}`;
|
|
77
76
|
}
|
|
@@ -98,13 +97,13 @@ const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
|
|
|
98
97
|
throw new TypeError("option sameSite is invalid");
|
|
99
98
|
}
|
|
100
99
|
return o.partitioned && (a += "; Partitioned"), a;
|
|
101
|
-
},
|
|
100
|
+
}, kt = {
|
|
102
101
|
create(t, e, n, o) {
|
|
103
102
|
let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
104
103
|
path: "/",
|
|
105
104
|
sameSite: "strict"
|
|
106
105
|
};
|
|
107
|
-
n && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + n * 60 * 1e3)), o && (r.domain = o), document.cookie =
|
|
106
|
+
n && (r.expires = /* @__PURE__ */ new Date(), r.expires.setTime(r.expires.getTime() + n * 60 * 1e3)), o && (r.domain = o), document.cookie = no(t, e, r);
|
|
108
107
|
},
|
|
109
108
|
read(t) {
|
|
110
109
|
const e = `${t}=`, n = document.cookie.split(";");
|
|
@@ -119,7 +118,7 @@ const vt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, eo = function(t, e) {
|
|
|
119
118
|
this.create(t, "", -1, e);
|
|
120
119
|
}
|
|
121
120
|
};
|
|
122
|
-
var
|
|
121
|
+
var oo = {
|
|
123
122
|
name: "cookie",
|
|
124
123
|
// Deconstruct the options object and extract the lookupCookie property
|
|
125
124
|
lookup(t) {
|
|
@@ -127,7 +126,7 @@ var to = {
|
|
|
127
126
|
lookupCookie: e
|
|
128
127
|
} = t;
|
|
129
128
|
if (e && typeof document < "u")
|
|
130
|
-
return
|
|
129
|
+
return kt.read(e) || void 0;
|
|
131
130
|
},
|
|
132
131
|
// Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
|
|
133
132
|
cacheUserLanguage(t, e) {
|
|
@@ -137,9 +136,9 @@ var to = {
|
|
|
137
136
|
cookieDomain: r,
|
|
138
137
|
cookieOptions: a
|
|
139
138
|
} = e;
|
|
140
|
-
n && typeof document < "u" &&
|
|
139
|
+
n && typeof document < "u" && kt.create(n, t, o, r, a);
|
|
141
140
|
}
|
|
142
|
-
},
|
|
141
|
+
}, io = {
|
|
143
142
|
name: "querystring",
|
|
144
143
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
145
144
|
lookup(t) {
|
|
@@ -159,7 +158,7 @@ var to = {
|
|
|
159
158
|
}
|
|
160
159
|
return n;
|
|
161
160
|
}
|
|
162
|
-
},
|
|
161
|
+
}, so = {
|
|
163
162
|
name: "hash",
|
|
164
163
|
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
165
164
|
lookup(t) {
|
|
@@ -176,8 +175,8 @@ var to = {
|
|
|
176
175
|
if (e) {
|
|
177
176
|
const i = a.split("&");
|
|
178
177
|
for (let l = 0; l < i.length; l++) {
|
|
179
|
-
const
|
|
180
|
-
|
|
178
|
+
const u = i[l].indexOf("=");
|
|
179
|
+
u > 0 && i[l].substring(0, u) === e && (o = i[l].substring(u + 1));
|
|
181
180
|
}
|
|
182
181
|
}
|
|
183
182
|
if (o) return o;
|
|
@@ -191,7 +190,7 @@ var to = {
|
|
|
191
190
|
}
|
|
192
191
|
};
|
|
193
192
|
let le = null;
|
|
194
|
-
const
|
|
193
|
+
const wt = () => {
|
|
195
194
|
if (le !== null) return le;
|
|
196
195
|
try {
|
|
197
196
|
if (le = typeof window < "u" && window.localStorage !== null, !le)
|
|
@@ -203,14 +202,14 @@ const St = () => {
|
|
|
203
202
|
}
|
|
204
203
|
return le;
|
|
205
204
|
};
|
|
206
|
-
var
|
|
205
|
+
var ro = {
|
|
207
206
|
name: "localStorage",
|
|
208
207
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
209
208
|
lookup(t) {
|
|
210
209
|
let {
|
|
211
210
|
lookupLocalStorage: e
|
|
212
211
|
} = t;
|
|
213
|
-
if (e &&
|
|
212
|
+
if (e && wt())
|
|
214
213
|
return window.localStorage.getItem(e) || void 0;
|
|
215
214
|
},
|
|
216
215
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
@@ -218,11 +217,11 @@ var io = {
|
|
|
218
217
|
let {
|
|
219
218
|
lookupLocalStorage: n
|
|
220
219
|
} = e;
|
|
221
|
-
n &&
|
|
220
|
+
n && wt() && window.localStorage.setItem(n, t);
|
|
222
221
|
}
|
|
223
222
|
};
|
|
224
223
|
let ce = null;
|
|
225
|
-
const
|
|
224
|
+
const It = () => {
|
|
226
225
|
if (ce !== null) return ce;
|
|
227
226
|
try {
|
|
228
227
|
if (ce = typeof window < "u" && window.sessionStorage !== null, !ce)
|
|
@@ -234,22 +233,22 @@ const kt = () => {
|
|
|
234
233
|
}
|
|
235
234
|
return ce;
|
|
236
235
|
};
|
|
237
|
-
var
|
|
236
|
+
var ao = {
|
|
238
237
|
name: "sessionStorage",
|
|
239
238
|
lookup(t) {
|
|
240
239
|
let {
|
|
241
240
|
lookupSessionStorage: e
|
|
242
241
|
} = t;
|
|
243
|
-
if (e &&
|
|
242
|
+
if (e && It())
|
|
244
243
|
return window.sessionStorage.getItem(e) || void 0;
|
|
245
244
|
},
|
|
246
245
|
cacheUserLanguage(t, e) {
|
|
247
246
|
let {
|
|
248
247
|
lookupSessionStorage: n
|
|
249
248
|
} = e;
|
|
250
|
-
n &&
|
|
249
|
+
n && It() && window.sessionStorage.setItem(n, t);
|
|
251
250
|
}
|
|
252
|
-
},
|
|
251
|
+
}, lo = {
|
|
253
252
|
name: "navigator",
|
|
254
253
|
lookup(t) {
|
|
255
254
|
const e = [];
|
|
@@ -266,7 +265,7 @@ var so = {
|
|
|
266
265
|
}
|
|
267
266
|
return e.length > 0 ? e : void 0;
|
|
268
267
|
}
|
|
269
|
-
},
|
|
268
|
+
}, co = {
|
|
270
269
|
name: "htmlTag",
|
|
271
270
|
// Deconstruct the options object and extract the htmlTag property
|
|
272
271
|
lookup(t) {
|
|
@@ -276,7 +275,7 @@ var so = {
|
|
|
276
275
|
const o = e || (typeof document < "u" ? document.documentElement : null);
|
|
277
276
|
return o && typeof o.getAttribute == "function" && (n = o.getAttribute("lang")), n;
|
|
278
277
|
}
|
|
279
|
-
},
|
|
278
|
+
}, uo = {
|
|
280
279
|
name: "path",
|
|
281
280
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
282
281
|
lookup(t) {
|
|
@@ -287,7 +286,7 @@ var so = {
|
|
|
287
286
|
const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
288
287
|
return Array.isArray(n) ? n[typeof e == "number" ? e : 0]?.replace("/", "") : void 0;
|
|
289
288
|
}
|
|
290
|
-
},
|
|
289
|
+
}, fo = {
|
|
291
290
|
name: "subdomain",
|
|
292
291
|
lookup(t) {
|
|
293
292
|
let {
|
|
@@ -298,15 +297,15 @@ var so = {
|
|
|
298
297
|
return o[n];
|
|
299
298
|
}
|
|
300
299
|
};
|
|
301
|
-
let
|
|
300
|
+
let At = !1;
|
|
302
301
|
try {
|
|
303
|
-
document.cookie,
|
|
302
|
+
document.cookie, At = !0;
|
|
304
303
|
} catch {
|
|
305
304
|
}
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
const
|
|
309
|
-
order:
|
|
305
|
+
const Et = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
306
|
+
At || Et.splice(1, 1);
|
|
307
|
+
const po = () => ({
|
|
308
|
+
order: Et,
|
|
310
309
|
lookupQuerystring: "lng",
|
|
311
310
|
lookupCookie: "i18next",
|
|
312
311
|
lookupLocalStorage: "i18nextLng",
|
|
@@ -318,7 +317,7 @@ const uo = () => ({
|
|
|
318
317
|
// cookieDomain: 'myDomain'
|
|
319
318
|
convertDetectedLanguage: (t) => t
|
|
320
319
|
});
|
|
321
|
-
class
|
|
320
|
+
class Mt {
|
|
322
321
|
constructor(e) {
|
|
323
322
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
324
323
|
this.type = "languageDetector", this.detectors = {}, this.init(e, n);
|
|
@@ -327,7 +326,7 @@ class Et {
|
|
|
327
326
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
328
327
|
languageUtils: {}
|
|
329
328
|
}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
330
|
-
this.services = e, this.options =
|
|
329
|
+
this.services = e, this.options = eo(n, this.options || {}, po()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (r) => r.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = o, this.addDetector(oo), this.addDetector(io), this.addDetector(ro), this.addDetector(ao), this.addDetector(lo), this.addDetector(co), this.addDetector(uo), this.addDetector(fo), this.addDetector(so);
|
|
331
330
|
}
|
|
332
331
|
addDetector(e) {
|
|
333
332
|
return this.detectors[e.name] = e, this;
|
|
@@ -339,7 +338,7 @@ class Et {
|
|
|
339
338
|
let r = this.detectors[o].lookup(this.options);
|
|
340
339
|
r && typeof r == "string" && (r = [r]), r && (n = n.concat(r));
|
|
341
340
|
}
|
|
342
|
-
}), n = n.filter((o) => o != null && !
|
|
341
|
+
}), n = n.filter((o) => o != null && !to(o)).map((o) => this.options.convertDetectedLanguage(o)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
|
|
343
342
|
}
|
|
344
343
|
cacheUserLanguage(e) {
|
|
345
344
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
@@ -348,95 +347,95 @@ class Et {
|
|
|
348
347
|
}));
|
|
349
348
|
}
|
|
350
349
|
}
|
|
351
|
-
|
|
352
|
-
const
|
|
350
|
+
Mt.type = "languageDetector";
|
|
351
|
+
const mo = {
|
|
353
352
|
type: "3rdParty",
|
|
354
353
|
init(t) {
|
|
355
|
-
|
|
354
|
+
vn(t.options.react), bn(t);
|
|
356
355
|
}
|
|
357
356
|
};
|
|
358
|
-
function
|
|
357
|
+
function ho({
|
|
359
358
|
children: t
|
|
360
359
|
}) {
|
|
361
|
-
const [e, n] =
|
|
360
|
+
const [e, n] = q([]), o = gn(), r = pe(0), a = pe(/* @__PURE__ */ new WeakMap()), i = tt(function(h, m, c = {}) {
|
|
362
361
|
const {
|
|
363
|
-
onClose:
|
|
362
|
+
onClose: v = async () => {
|
|
364
363
|
}
|
|
365
|
-
} =
|
|
366
|
-
let
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
}),
|
|
364
|
+
} = c;
|
|
365
|
+
let b;
|
|
366
|
+
const g = new Promise((p) => {
|
|
367
|
+
b = p;
|
|
368
|
+
}), S = `${o}-${r.current}`;
|
|
370
369
|
r.current += 1;
|
|
371
|
-
const
|
|
372
|
-
key:
|
|
370
|
+
const x = {
|
|
371
|
+
key: S,
|
|
373
372
|
open: !0,
|
|
374
|
-
promise:
|
|
373
|
+
promise: g,
|
|
375
374
|
Component: h,
|
|
376
|
-
payload:
|
|
377
|
-
onClose:
|
|
378
|
-
resolve:
|
|
375
|
+
payload: m,
|
|
376
|
+
onClose: v,
|
|
377
|
+
resolve: b
|
|
379
378
|
};
|
|
380
|
-
return a.current.set(
|
|
381
|
-
}), l = (
|
|
382
|
-
n((h) => h.filter((
|
|
383
|
-
},
|
|
384
|
-
n((
|
|
385
|
-
...
|
|
379
|
+
return a.current.set(g, x), n((p) => [...p, x]), g;
|
|
380
|
+
}), l = (d) => {
|
|
381
|
+
n((h) => h.filter((m) => m.promise !== d)), a.current.delete(d);
|
|
382
|
+
}, u = tt(function(h) {
|
|
383
|
+
n((m) => m.map((c) => c.promise === h ? {
|
|
384
|
+
...c,
|
|
386
385
|
open: !1
|
|
387
|
-
} :
|
|
388
|
-
}), f = tt(async function(h,
|
|
389
|
-
const
|
|
390
|
-
if (!
|
|
386
|
+
} : c)), setTimeout(() => l(h), 1e3);
|
|
387
|
+
}), f = tt(async function(h, m) {
|
|
388
|
+
const c = a.current.get(h);
|
|
389
|
+
if (!c)
|
|
391
390
|
throw new Error("Dialog not found in stack");
|
|
392
391
|
try {
|
|
393
|
-
await
|
|
392
|
+
await c.onClose(m);
|
|
394
393
|
} finally {
|
|
395
|
-
|
|
394
|
+
c.resolve(m), u(h);
|
|
396
395
|
}
|
|
397
396
|
return h;
|
|
398
397
|
});
|
|
399
|
-
return /* @__PURE__ */ s.jsxs(
|
|
398
|
+
return /* @__PURE__ */ s.jsxs(Sn.Provider, { value: {
|
|
400
399
|
open: i,
|
|
401
400
|
close: f
|
|
402
401
|
}, children: [
|
|
403
402
|
t,
|
|
404
403
|
e.map(({
|
|
405
|
-
key:
|
|
404
|
+
key: d,
|
|
406
405
|
open: h,
|
|
407
|
-
Component:
|
|
408
|
-
payload:
|
|
409
|
-
promise:
|
|
410
|
-
}) => /* @__PURE__ */ s.jsx(
|
|
411
|
-
await f(
|
|
412
|
-
} },
|
|
406
|
+
Component: m,
|
|
407
|
+
payload: c,
|
|
408
|
+
promise: v
|
|
409
|
+
}) => /* @__PURE__ */ s.jsx(m, { payload: c, open: h, onClose: async (b) => {
|
|
410
|
+
await f(v, b);
|
|
411
|
+
} }, d))
|
|
413
412
|
] });
|
|
414
413
|
}
|
|
415
|
-
const he = () =>
|
|
416
|
-
function
|
|
417
|
-
return e && (e.username || e.homeAccountId || e.localAccountId) ? !!
|
|
414
|
+
const he = () => xn(Ft);
|
|
415
|
+
function go(t, e) {
|
|
416
|
+
return e && (e.username || e.homeAccountId || e.localAccountId) ? !!qt(t, e) : t.length > 0;
|
|
418
417
|
}
|
|
419
|
-
function
|
|
418
|
+
function Dt(t) {
|
|
420
419
|
const { accounts: e, inProgress: n } = he();
|
|
421
|
-
return
|
|
420
|
+
return Lt(() => n === W.Startup ? !1 : go(e, t), [e, n, t]);
|
|
422
421
|
}
|
|
423
|
-
function
|
|
424
|
-
const r = he(), a =
|
|
422
|
+
function xo({ username: t, homeAccountId: e, localAccountId: n, children: o }) {
|
|
423
|
+
const r = he(), a = Lt(() => ({
|
|
425
424
|
username: t,
|
|
426
425
|
homeAccountId: e,
|
|
427
426
|
localAccountId: n
|
|
428
427
|
}), [t, e, n]);
|
|
429
|
-
return
|
|
428
|
+
return Dt(a) && r.inProgress !== W.Startup ? ft.createElement(ft.Fragment, null, Bt(o, r)) : null;
|
|
430
429
|
}
|
|
431
|
-
function
|
|
430
|
+
function jt(t, e) {
|
|
432
431
|
return t.getActiveAccount();
|
|
433
432
|
}
|
|
434
|
-
function
|
|
435
|
-
const { instance: e, inProgress: n, logger: o } = he(), [r, a] =
|
|
436
|
-
return
|
|
433
|
+
function yo(t) {
|
|
434
|
+
const { instance: e, inProgress: n, logger: o } = he(), [r, a] = q(() => n === W.Startup ? null : jt(e));
|
|
435
|
+
return F(() => {
|
|
437
436
|
n !== W.Startup && a((i) => {
|
|
438
|
-
const l =
|
|
439
|
-
return
|
|
437
|
+
const l = jt(e);
|
|
438
|
+
return zt.accountInfoIsEqual(i, l, !0) ? i : (o.info("useAccount - Updating account"), l);
|
|
440
439
|
});
|
|
441
440
|
}, [n, t, e, o]), r;
|
|
442
441
|
}
|
|
@@ -450,7 +449,7 @@ const ze = {
|
|
|
450
449
|
desc: "Interaction is required but another interaction is already in progress. Please try again when the current interaction is complete."
|
|
451
450
|
}
|
|
452
451
|
};
|
|
453
|
-
class ue extends
|
|
452
|
+
class ue extends Wt {
|
|
454
453
|
constructor(e, n) {
|
|
455
454
|
super(e, n), Object.setPrototypeOf(this, ue.prototype), this.name = "ReactAuthError";
|
|
456
455
|
}
|
|
@@ -461,54 +460,54 @@ class ue extends Bt {
|
|
|
461
460
|
return new ue(ze.unableToFallbackToInteraction.code, ze.unableToFallbackToInteraction.desc);
|
|
462
461
|
}
|
|
463
462
|
}
|
|
464
|
-
function
|
|
465
|
-
const { instance: o, inProgress: r, logger: a } = he(), i =
|
|
466
|
-
|
|
463
|
+
function vo(t, e, n) {
|
|
464
|
+
const { instance: o, inProgress: r, logger: a } = he(), i = Dt(n), l = yo(n), [[u, f], d] = q([null, null]), h = pe(!0);
|
|
465
|
+
F(() => () => {
|
|
467
466
|
h.current = !1;
|
|
468
467
|
}, []);
|
|
469
|
-
const
|
|
470
|
-
|
|
471
|
-
|
|
468
|
+
const m = pe(r !== W.None);
|
|
469
|
+
F(() => {
|
|
470
|
+
m.current = r !== W.None;
|
|
472
471
|
}, [r]);
|
|
473
|
-
const
|
|
474
|
-
|
|
472
|
+
const c = pe(!0);
|
|
473
|
+
F(() => {
|
|
475
474
|
if (f) {
|
|
476
|
-
|
|
475
|
+
c.current = !1;
|
|
477
476
|
return;
|
|
478
477
|
}
|
|
479
|
-
if (
|
|
480
|
-
|
|
478
|
+
if (u) {
|
|
479
|
+
c.current = !1;
|
|
481
480
|
return;
|
|
482
481
|
}
|
|
483
|
-
}, [f,
|
|
484
|
-
const
|
|
485
|
-
const
|
|
486
|
-
switch (
|
|
482
|
+
}, [f, u]);
|
|
483
|
+
const v = pt(async (g, S) => {
|
|
484
|
+
const x = g || t, p = S || e;
|
|
485
|
+
switch (x) {
|
|
487
486
|
case We.Popup:
|
|
488
|
-
return a.verbose("useMsalAuthentication - Calling loginPopup"), o.loginPopup(
|
|
487
|
+
return a.verbose("useMsalAuthentication - Calling loginPopup"), o.loginPopup(p);
|
|
489
488
|
case We.Redirect:
|
|
490
|
-
return a.verbose("useMsalAuthentication - Calling loginRedirect"), o.loginRedirect(
|
|
489
|
+
return a.verbose("useMsalAuthentication - Calling loginRedirect"), o.loginRedirect(p).then(null);
|
|
491
490
|
case We.Silent:
|
|
492
|
-
return a.verbose("useMsalAuthentication - Calling ssoSilent"), o.ssoSilent(
|
|
491
|
+
return a.verbose("useMsalAuthentication - Calling ssoSilent"), o.ssoSilent(p);
|
|
493
492
|
default:
|
|
494
493
|
throw ue.createInvalidInteractionTypeError();
|
|
495
494
|
}
|
|
496
|
-
}, [o, t, e, a]),
|
|
497
|
-
const
|
|
498
|
-
let
|
|
499
|
-
return
|
|
500
|
-
...
|
|
501
|
-
}) : (a.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."),
|
|
502
|
-
scopes:
|
|
503
|
-
}), !
|
|
504
|
-
if (
|
|
505
|
-
if (
|
|
495
|
+
}, [o, t, e, a]), b = pt(async (g, S) => {
|
|
496
|
+
const x = g || t;
|
|
497
|
+
let p;
|
|
498
|
+
return S ? (a.trace("useMsalAuthentication - acquireToken - Using request provided in the callback"), p = {
|
|
499
|
+
...S
|
|
500
|
+
}) : (a.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."), p = {
|
|
501
|
+
scopes: Gt
|
|
502
|
+
}), !p.account && l && (a.trace("useMsalAuthentication - acquireToken - Attaching account to request"), p.account = l), (async () => (a.verbose("useMsalAuthentication - Calling acquireTokenSilent"), o.acquireTokenSilent(p).catch(async (y) => {
|
|
503
|
+
if (y instanceof Ht) {
|
|
504
|
+
if (m.current)
|
|
506
505
|
throw a.error("useMsalAuthentication - Interaction required but is already in progress. Please try again, if needed, after interaction completes."), ue.createUnableToFallbackToInteractionError();
|
|
507
|
-
return a.error("useMsalAuthentication - Interaction required, falling back to interaction"),
|
|
506
|
+
return a.error("useMsalAuthentication - Interaction required, falling back to interaction"), v(x, p);
|
|
508
507
|
}
|
|
509
|
-
throw
|
|
510
|
-
})))().then((
|
|
511
|
-
throw h.current &&
|
|
508
|
+
throw y;
|
|
509
|
+
})))().then((y) => (h.current && d([y, null]), y)).catch((y) => {
|
|
510
|
+
throw h.current && d([null, y]), y;
|
|
512
511
|
});
|
|
513
512
|
}, [
|
|
514
513
|
o,
|
|
@@ -516,47 +515,47 @@ function xo(t, e, n) {
|
|
|
516
515
|
e,
|
|
517
516
|
a,
|
|
518
517
|
l,
|
|
519
|
-
|
|
518
|
+
v
|
|
520
519
|
]);
|
|
521
|
-
return
|
|
522
|
-
const
|
|
523
|
-
switch (
|
|
520
|
+
return F(() => {
|
|
521
|
+
const g = o.addEventCallback((S) => {
|
|
522
|
+
switch (S.eventType) {
|
|
524
523
|
case qe.LOGIN_SUCCESS:
|
|
525
524
|
case qe.SSO_SILENT_SUCCESS:
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
S.payload && d([
|
|
526
|
+
S.payload,
|
|
528
527
|
null
|
|
529
528
|
]);
|
|
530
529
|
break;
|
|
531
530
|
case qe.LOGIN_FAILURE:
|
|
532
531
|
case qe.SSO_SILENT_FAILURE:
|
|
533
|
-
|
|
532
|
+
S.error && d([null, S.error]);
|
|
534
533
|
break;
|
|
535
534
|
}
|
|
536
535
|
});
|
|
537
|
-
return a.verbose(`useMsalAuthentication - Registered event callback with id: ${
|
|
538
|
-
|
|
536
|
+
return a.verbose(`useMsalAuthentication - Registered event callback with id: ${g}`), () => {
|
|
537
|
+
g && (a.verbose(`useMsalAuthentication - Removing event callback ${g}`), o.removeEventCallback(g));
|
|
539
538
|
};
|
|
540
|
-
}, [o, a]),
|
|
541
|
-
|
|
542
|
-
})) : (
|
|
539
|
+
}, [o, a]), F(() => {
|
|
540
|
+
c.current && r === W.None && (i ? l && (c.current = !1, a.info("useMsalAuthentication - User is authenticated, attempting to acquire token"), b().catch(() => {
|
|
541
|
+
})) : (c.current = !1, a.info("useMsalAuthentication - No user is authenticated, attempting to login"), v().catch(() => {
|
|
543
542
|
})));
|
|
544
|
-
}, [i, l, r,
|
|
545
|
-
login:
|
|
546
|
-
acquireToken:
|
|
547
|
-
result:
|
|
543
|
+
}, [i, l, r, v, b, a]), {
|
|
544
|
+
login: v,
|
|
545
|
+
acquireToken: b,
|
|
546
|
+
result: u,
|
|
548
547
|
error: f
|
|
549
548
|
};
|
|
550
549
|
}
|
|
551
|
-
const
|
|
552
|
-
const t =
|
|
550
|
+
const bo = () => {
|
|
551
|
+
const t = U.c(1);
|
|
553
552
|
let e;
|
|
554
|
-
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s.jsxs(
|
|
553
|
+
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s.jsxs(Xt, { direction: "row", alignItems: "center", spacing: 2, flexGrow: 1, children: [
|
|
555
554
|
/* @__PURE__ */ s.jsx("img", { src: "/favicon-32x32.png", alt: "app-logo", loading: "lazy" }),
|
|
556
|
-
/* @__PURE__ */ s.jsx(
|
|
557
|
-
/* @__PURE__ */ s.jsx(
|
|
555
|
+
/* @__PURE__ */ s.jsx(Vt, { variant: "h6", children: Kt.VITE_APP_TITLE }),
|
|
556
|
+
/* @__PURE__ */ s.jsx(Zt, { size: "small", label: "TEST", color: "info" })
|
|
558
557
|
] }), t[0] = e) : e = t[0], e;
|
|
559
|
-
}, nt = 34,
|
|
558
|
+
}, nt = 34, So = lt(Rn)(({
|
|
560
559
|
theme: t
|
|
561
560
|
}) => ({
|
|
562
561
|
borderRadius: 8,
|
|
@@ -577,7 +576,7 @@ const yo = () => {
|
|
|
577
576
|
"& .MuiAvatar-root": {
|
|
578
577
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
579
578
|
}
|
|
580
|
-
})),
|
|
579
|
+
})), ko = lt(Bn)(({
|
|
581
580
|
theme: t
|
|
582
581
|
}) => ({
|
|
583
582
|
borderRadius: 8,
|
|
@@ -598,8 +597,8 @@ const yo = () => {
|
|
|
598
597
|
"& .MuiAvatar-root": {
|
|
599
598
|
backgroundColor: (t.vars ?? t).palette.action.active
|
|
600
599
|
}
|
|
601
|
-
})),
|
|
602
|
-
const e =
|
|
600
|
+
})), wo = (t) => {
|
|
601
|
+
const e = U.c(17), {
|
|
603
602
|
item: n,
|
|
604
603
|
collapsed: o
|
|
605
604
|
} = t;
|
|
@@ -620,18 +619,18 @@ const yo = () => {
|
|
|
620
619
|
}, e[2] = a) : a = e[2];
|
|
621
620
|
const i = n.icon ?? null;
|
|
622
621
|
let l;
|
|
623
|
-
e[3] !== o || e[4] !== n.icon || e[5] !== n.title ? (l = !n.icon && o ? /* @__PURE__ */ s.jsx(
|
|
622
|
+
e[3] !== o || e[4] !== n.icon || e[5] !== n.title ? (l = !n.icon && o ? /* @__PURE__ */ s.jsx(On, { sx: {
|
|
624
623
|
width: nt - 7,
|
|
625
624
|
height: nt - 7,
|
|
626
625
|
fontSize: 12
|
|
627
|
-
}, children: n.title }) : null, e[3] = o, e[4] = n.icon, e[5] = n.title, e[6] = l) : l = e[6];
|
|
628
|
-
let
|
|
629
|
-
e[7] !== i || e[8] !== l ? (
|
|
626
|
+
}, children: n.title.split(" ").slice(0, 2).map(_o) }) : null, e[3] = o, e[4] = n.icon, e[5] = n.title, e[6] = l) : l = e[6];
|
|
627
|
+
let u;
|
|
628
|
+
e[7] !== i || e[8] !== l ? (u = /* @__PURE__ */ s.jsxs(Nn, { sx: a, children: [
|
|
630
629
|
i,
|
|
631
630
|
l
|
|
632
|
-
] }), e[7] = i, e[8] = l, e[9] =
|
|
631
|
+
] }), e[7] = i, e[8] = l, e[9] = u) : u = e[9];
|
|
633
632
|
let f;
|
|
634
|
-
e[10] !== o || e[11] !== n.title ? (f = o ? /* @__PURE__ */ s.jsx(
|
|
633
|
+
e[10] !== o || e[11] !== n.title ? (f = o ? /* @__PURE__ */ s.jsx(qn, { variant: "caption", sx: {
|
|
635
634
|
position: "absolute",
|
|
636
635
|
bottom: -18,
|
|
637
636
|
left: "50%",
|
|
@@ -642,97 +641,87 @@ const yo = () => {
|
|
|
642
641
|
whiteSpace: "nowrap",
|
|
643
642
|
overflow: "hidden",
|
|
644
643
|
textOverflow: "ellipsis",
|
|
645
|
-
maxWidth:
|
|
644
|
+
maxWidth: me - 28
|
|
646
645
|
}, children: n.title }) : null, e[10] = o, e[11] = n.title, e[12] = f) : f = e[12];
|
|
647
|
-
let
|
|
648
|
-
return e[13] !== r || e[14] !==
|
|
649
|
-
|
|
646
|
+
let d;
|
|
647
|
+
return e[13] !== r || e[14] !== u || e[15] !== f ? (d = /* @__PURE__ */ s.jsxs(ct, { sx: r, children: [
|
|
648
|
+
u,
|
|
650
649
|
f
|
|
651
|
-
] }), e[13] = r, e[14] =
|
|
650
|
+
] }), e[13] = r, e[14] = u, e[15] = f, e[16] = d) : d = e[16], d;
|
|
652
651
|
}
|
|
653
652
|
return null;
|
|
654
|
-
},
|
|
655
|
-
const e =
|
|
653
|
+
}, Io = (t) => {
|
|
654
|
+
const e = U.c(7), {
|
|
656
655
|
open: n,
|
|
657
|
-
|
|
658
|
-
children: r
|
|
656
|
+
children: o
|
|
659
657
|
} = t;
|
|
658
|
+
let r;
|
|
659
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
660
|
+
position: "fixed",
|
|
661
|
+
left: me,
|
|
662
|
+
pl: "2px",
|
|
663
|
+
pb: "10px"
|
|
664
|
+
}, e[0] = r) : r = e[0];
|
|
660
665
|
let a;
|
|
661
|
-
e[
|
|
662
|
-
name: "offset",
|
|
663
|
-
options: {
|
|
664
|
-
offset: [6, 0]
|
|
665
|
-
}
|
|
666
|
-
}, e[0] = a) : a = e[0];
|
|
667
|
-
let i;
|
|
668
|
-
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
669
|
-
name: "preventOverflow",
|
|
670
|
-
options: {
|
|
671
|
-
padding: 8
|
|
672
|
-
}
|
|
673
|
-
}, e[1] = i) : i = e[1];
|
|
674
|
-
let l;
|
|
675
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [a, i, {
|
|
676
|
-
name: "flip",
|
|
677
|
-
options: {
|
|
678
|
-
fallbackPlacements: ["right-end", "left-start"]
|
|
679
|
-
}
|
|
680
|
-
}], e[2] = l) : l = e[2];
|
|
681
|
-
let c;
|
|
682
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
666
|
+
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
683
667
|
pt: 0.5,
|
|
684
668
|
pb: 0.5,
|
|
669
|
+
transform: "translateY(calc(50% - 30px))",
|
|
685
670
|
maxHeight: "min(calc(100vh - 100px), 560px)",
|
|
686
671
|
overflowY: "auto",
|
|
687
672
|
overscrollBehavior: "contain"
|
|
688
|
-
}, e[
|
|
689
|
-
let
|
|
690
|
-
e[
|
|
691
|
-
let
|
|
692
|
-
return e[
|
|
693
|
-
},
|
|
694
|
-
const e =
|
|
673
|
+
}, e[1] = a) : a = e[1];
|
|
674
|
+
let i;
|
|
675
|
+
e[2] !== o ? (i = /* @__PURE__ */ s.jsx(ct, { sx: r, children: /* @__PURE__ */ s.jsx(Fn, { sx: a, children: o }) }), e[2] = o, e[3] = i) : i = e[3];
|
|
676
|
+
let l;
|
|
677
|
+
return e[4] !== n || e[5] !== i ? (l = /* @__PURE__ */ s.jsx(en, { in: n, children: i }), e[4] = n, e[5] = i, e[6] = l) : l = e[6], l;
|
|
678
|
+
}, jo = (t) => {
|
|
679
|
+
const e = U.c(56), {
|
|
695
680
|
item: n,
|
|
696
681
|
isOpen: o,
|
|
697
682
|
selected: r,
|
|
698
683
|
disabled: a,
|
|
699
684
|
collapsed: i,
|
|
700
685
|
isSidebarFullyExpanded: l,
|
|
701
|
-
isSidebarFullyCollapsed:
|
|
686
|
+
isSidebarFullyCollapsed: u,
|
|
702
687
|
onClick: f,
|
|
703
|
-
renderNested:
|
|
688
|
+
renderNested: d,
|
|
704
689
|
onClose: h
|
|
705
|
-
} = t,
|
|
706
|
-
let
|
|
707
|
-
e[0] !== i || e[1] !== o || e[2] !==
|
|
690
|
+
} = t, m = l === void 0 ? !0 : l, [c, v] = q(null), b = `${n.to ?? n.title}`;
|
|
691
|
+
let g;
|
|
692
|
+
e[0] !== i || e[1] !== o || e[2] !== u || e[3] !== m || e[4] !== n.children ? (g = (N) => i && u && n.children ? {
|
|
708
693
|
fontSize: 18,
|
|
709
694
|
position: "absolute",
|
|
710
695
|
top: "41.5%",
|
|
711
696
|
right: "2px",
|
|
712
697
|
transform: "translateY(-50%) rotate(-90deg)"
|
|
713
|
-
} : !i &&
|
|
698
|
+
} : !i && m && n.children ? {
|
|
714
699
|
ml: 0.5,
|
|
715
|
-
transform: `rotate(${o ? 0 : -90}deg)
|
|
700
|
+
transform: `rotate(${o ? 0 : -90}deg)`,
|
|
701
|
+
transition: N.transitions.create("transform", {
|
|
702
|
+
easing: N.transitions.easing.sharp,
|
|
703
|
+
duration: 100
|
|
704
|
+
})
|
|
716
705
|
} : {
|
|
717
706
|
display: "none"
|
|
718
|
-
}, e[0] = i, e[1] = o, e[2] =
|
|
719
|
-
const
|
|
720
|
-
let
|
|
721
|
-
e[6] !==
|
|
707
|
+
}, e[0] = i, e[1] = o, e[2] = u, e[3] = m, e[4] = n.children, e[5] = g) : g = e[5];
|
|
708
|
+
const S = g, x = n.children && !i, p = i ? 60 : 48;
|
|
709
|
+
let k;
|
|
710
|
+
e[6] !== p ? (k = {
|
|
722
711
|
px: 1.4,
|
|
723
|
-
height:
|
|
724
|
-
}, e[6] =
|
|
725
|
-
let
|
|
726
|
-
e[8] !== a || e[9] !== r || e[10] !==
|
|
712
|
+
height: p
|
|
713
|
+
}, e[6] = p, e[7] = k) : k = e[7];
|
|
714
|
+
let y;
|
|
715
|
+
e[8] !== a || e[9] !== r || e[10] !== k ? (y = {
|
|
727
716
|
selected: r,
|
|
728
717
|
disabled: a,
|
|
729
|
-
sx:
|
|
730
|
-
}, e[8] = a, e[9] = r, e[10] =
|
|
731
|
-
const
|
|
732
|
-
let
|
|
733
|
-
e[12] !== i || e[13] !== n ? (
|
|
734
|
-
let
|
|
735
|
-
e[15] !== i || e[16] !== n.title ? (
|
|
718
|
+
sx: k
|
|
719
|
+
}, e[8] = a, e[9] = r, e[10] = k, e[11] = y) : y = e[11];
|
|
720
|
+
const w = y;
|
|
721
|
+
let $;
|
|
722
|
+
e[12] !== i || e[13] !== n ? ($ = /* @__PURE__ */ s.jsx(wo, { item: n, collapsed: i }), e[12] = i, e[13] = n, e[14] = $) : $ = e[14];
|
|
723
|
+
let E;
|
|
724
|
+
e[15] !== i || e[16] !== n.title ? (E = !i && /* @__PURE__ */ s.jsx(Un, { primary: n.title, slotProps: {
|
|
736
725
|
primary: {
|
|
737
726
|
noWrap: !0,
|
|
738
727
|
title: n.title
|
|
@@ -746,193 +735,201 @@ const yo = () => {
|
|
|
746
735
|
overflow: "hidden",
|
|
747
736
|
textOverflow: "ellipsis"
|
|
748
737
|
}
|
|
749
|
-
} }), e[15] = i, e[16] = n.title, e[17] =
|
|
738
|
+
} }), e[15] = i, e[16] = n.title, e[17] = E) : E = e[17];
|
|
739
|
+
let T;
|
|
740
|
+
e[18] !== S || e[19] !== n.children ? (T = n.children ? /* @__PURE__ */ s.jsx($n, { sx: S }) : null, e[18] = S, e[19] = n.children, e[20] = T) : T = e[20];
|
|
750
741
|
let I;
|
|
751
|
-
e[
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
onMouseEnter: (de) => {
|
|
762
|
-
y(de.currentTarget), b(n.title);
|
|
742
|
+
e[21] !== $ || e[22] !== E || e[23] !== T ? (I = /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
743
|
+
$,
|
|
744
|
+
E,
|
|
745
|
+
T
|
|
746
|
+
] }), e[21] = $, e[22] = E, e[23] = T, e[24] = I) : I = e[24];
|
|
747
|
+
const C = I;
|
|
748
|
+
let L;
|
|
749
|
+
e[25] !== i || e[26] !== n.children || e[27] !== b ? (L = n.children && i ? {
|
|
750
|
+
onMouseEnter: () => {
|
|
751
|
+
v(b);
|
|
763
752
|
},
|
|
764
753
|
onMouseLeave: () => {
|
|
765
|
-
|
|
754
|
+
v(null);
|
|
766
755
|
}
|
|
767
|
-
} : {}, e[25] = i, e[26] = n.children, e[27] =
|
|
768
|
-
let
|
|
769
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
756
|
+
} : {}, e[25] = i, e[26] = n.children, e[27] = b, e[28] = L) : L = e[28];
|
|
757
|
+
let P;
|
|
758
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = {
|
|
770
759
|
py: 0,
|
|
771
760
|
px: 1,
|
|
772
761
|
overflowX: "hidden"
|
|
773
|
-
}, e[29] =
|
|
762
|
+
}, e[29] = P) : P = e[29];
|
|
763
|
+
let A;
|
|
764
|
+
e[30] !== C || e[31] !== w || e[32] !== n || e[33] !== f || e[34] !== h || e[35] !== x ? (A = x ? /* @__PURE__ */ s.jsx(So, { ...w, onClick: () => f?.(n), children: C }) : /* @__PURE__ */ s.jsx(ko, { ...w, to: n.to, href: n.href, params: n.params, search: n.search, onClick: h, children: C }), e[30] = C, e[31] = w, e[32] = n, e[33] = f, e[34] = h, e[35] = x, e[36] = A) : A = e[36];
|
|
774
765
|
let _;
|
|
775
|
-
e[
|
|
766
|
+
e[37] !== i || e[38] !== c || e[39] !== n.children || e[40] !== b || e[41] !== d ? (_ = n.children && i ? /* @__PURE__ */ s.jsx(Io, { open: b === c, children: d?.(n.children) }) : null, e[37] = i, e[38] = c, e[39] = n.children, e[40] = b, e[41] = d, e[42] = _) : _ = e[42];
|
|
776
767
|
let j;
|
|
777
|
-
e[
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
let
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
768
|
+
e[43] !== L || e[44] !== A || e[45] !== _ ? (j = /* @__PURE__ */ s.jsxs(Pn, { ...L, sx: P, children: [
|
|
769
|
+
A,
|
|
770
|
+
_
|
|
771
|
+
] }), e[43] = L, e[44] = A, e[45] = _, e[46] = j) : j = e[46];
|
|
772
|
+
const M = j;
|
|
773
|
+
let D;
|
|
774
|
+
e[47] !== i || e[48] !== o || e[49] !== n.children || e[50] !== d ? (D = n.children && !i ? /* @__PURE__ */ s.jsx(Jt, { in: o, timeout: "auto", unmountOnExit: !0, children: d?.(n.children) }) : null, e[47] = i, e[48] = o, e[49] = n.children, e[50] = d, e[51] = D) : D = e[51];
|
|
775
|
+
let O;
|
|
776
|
+
return e[52] !== n.to || e[53] !== M || e[54] !== D ? (O = /* @__PURE__ */ s.jsxs(at, { children: [
|
|
777
|
+
M,
|
|
778
|
+
D
|
|
779
|
+
] }, n.to), e[52] = n.to, e[53] = M, e[54] = D, e[55] = O) : O = e[55], O;
|
|
780
|
+
};
|
|
781
|
+
function _o(t) {
|
|
782
|
+
return t.charAt(0).toUpperCase();
|
|
783
|
+
}
|
|
784
|
+
const To = (t) => !("kind" in t), Co = (t) => "kind" in t && t.kind === "divider", st = (t) => "kind" in t && t.kind === "header", $t = (t) => {
|
|
785
|
+
const e = U.c(30), {
|
|
793
786
|
subNavigation: n,
|
|
794
787
|
depth: o,
|
|
795
788
|
collapsed: r,
|
|
796
789
|
isPopover: a,
|
|
797
790
|
isSidebarFullyExpanded: i,
|
|
798
791
|
isSidebarFullyCollapsed: l,
|
|
799
|
-
expandedWidth:
|
|
792
|
+
expandedWidth: u,
|
|
800
793
|
renderItem: f,
|
|
801
|
-
activePath:
|
|
794
|
+
activePath: d,
|
|
802
795
|
onNavigate: h,
|
|
803
|
-
onClose:
|
|
804
|
-
} = t,
|
|
805
|
-
let
|
|
806
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
807
|
-
const [
|
|
808
|
-
let
|
|
809
|
-
e[1] !== r ? (
|
|
810
|
-
r &&
|
|
811
|
-
},
|
|
796
|
+
onClose: m
|
|
797
|
+
} = t, c = o === void 0 ? 0 : o, v = i === void 0 ? !0 : i;
|
|
798
|
+
let b;
|
|
799
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = [], e[0] = b) : b = e[0];
|
|
800
|
+
const [g, S] = q(b);
|
|
801
|
+
let x, p;
|
|
802
|
+
e[1] !== r ? (x = () => {
|
|
803
|
+
r && S([]);
|
|
804
|
+
}, p = [r], e[1] = r, e[2] = x, e[3] = p) : (x = e[2], p = e[3]), F(x, p);
|
|
812
805
|
let k;
|
|
813
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (T) =>
|
|
814
|
-
const
|
|
806
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (T) => S((I) => I.includes(T) ? I.filter((C) => C !== T) : [...I, T]), e[4] = k) : k = e[4];
|
|
807
|
+
const y = k;
|
|
815
808
|
let w;
|
|
816
|
-
e[5] !==
|
|
817
|
-
const
|
|
818
|
-
let
|
|
819
|
-
if (e[12] !==
|
|
820
|
-
const T = n.filter(
|
|
809
|
+
e[5] !== d || e[6] !== r || e[7] !== c || e[8] !== u || e[9] !== m || e[10] !== h ? (w = (T) => /* @__PURE__ */ s.jsx($t, { subNavigation: T, depth: c + 1, isPopover: r, expandedWidth: u, activePath: d, onNavigate: h, onClose: m }), e[5] = d, e[6] = r, e[7] = c, e[8] = u, e[9] = m, e[10] = h, e[11] = w) : w = e[11];
|
|
810
|
+
const $ = w;
|
|
811
|
+
let E;
|
|
812
|
+
if (e[12] !== d || e[13] !== r || e[14] !== c || e[15] !== a || e[16] !== l || e[17] !== v || e[18] !== m || e[19] !== g || e[20] !== f || e[21] !== $ || e[22] !== n) {
|
|
813
|
+
const T = n.filter(Lo), I = a && c === 1 ? 0.5 : 0, C = c === 0 && !a ? 4 : 0.5, L = (a ? 1 : 2) * (a ? c - 1 : c), P = a && c === 1 ? 240 : "auto", A = r ? me : "auto";
|
|
821
814
|
let _;
|
|
822
|
-
e[
|
|
815
|
+
e[24] !== C || e[25] !== L || e[26] !== P || e[27] !== A || e[28] !== I ? (_ = {
|
|
823
816
|
padding: 0,
|
|
824
817
|
mt: I,
|
|
825
818
|
mb: C,
|
|
826
|
-
pl:
|
|
827
|
-
minWidth:
|
|
828
|
-
width:
|
|
829
|
-
}, e[
|
|
830
|
-
if (
|
|
831
|
-
return /* @__PURE__ */ s.jsx(
|
|
819
|
+
pl: L,
|
|
820
|
+
minWidth: P,
|
|
821
|
+
width: A
|
|
822
|
+
}, e[24] = C, e[25] = L, e[26] = P, e[27] = A, e[28] = I, e[29] = _) : _ = e[29], E = /* @__PURE__ */ s.jsx(Mn, { sx: _, children: T.map((j, M) => {
|
|
823
|
+
if (st(j))
|
|
824
|
+
return /* @__PURE__ */ s.jsx(Dn, { sx: {
|
|
832
825
|
fontSize: 12,
|
|
833
826
|
fontWeight: "700",
|
|
834
827
|
height: r ? 0 : 40,
|
|
835
828
|
px: 2,
|
|
836
|
-
minWidth: c,
|
|
837
829
|
overflow: "hidden",
|
|
838
830
|
textOverflow: "ellipsis",
|
|
839
831
|
whiteSpace: "nowrap",
|
|
840
832
|
zIndex: 2,
|
|
841
833
|
bgcolor: "transparent",
|
|
842
834
|
position: "static"
|
|
843
|
-
}, children: j.title }, `subheader-${
|
|
844
|
-
if (
|
|
845
|
-
const
|
|
846
|
-
return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(
|
|
835
|
+
}, children: j.title }, `subheader-${c}-${M}`);
|
|
836
|
+
if (Co(j)) {
|
|
837
|
+
const N = T[M + 1];
|
|
838
|
+
return /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(En, { sx: {
|
|
847
839
|
mx: 1,
|
|
848
840
|
mt: 1,
|
|
849
|
-
mb:
|
|
850
|
-
} }) }, `divider-${
|
|
841
|
+
mb: st(N) && !r ? 0 : 1
|
|
842
|
+
} }) }, `divider-${c}-${M}`);
|
|
851
843
|
}
|
|
852
|
-
if (!
|
|
844
|
+
if (!To(j))
|
|
853
845
|
return null;
|
|
854
|
-
const
|
|
855
|
-
return f ? /* @__PURE__ */ s.jsx(
|
|
846
|
+
const D = `item-${c}-${M}`, O = `${c}-${M}-${j.title}`;
|
|
847
|
+
return f ? /* @__PURE__ */ s.jsx(at, { children: f(j, {
|
|
856
848
|
collapsed: !!r
|
|
857
|
-
}) },
|
|
858
|
-
}) }), e[12] =
|
|
849
|
+
}) }, D) : /* @__PURE__ */ s.jsx(jo, { item: j, isOpen: g.includes(O), selected: d === j.to, collapsed: r, isSidebarFullyExpanded: v, isSidebarFullyCollapsed: l, onClick: j.children && !r ? () => y(O) : void 0, renderNested: $, onClose: m }, D);
|
|
850
|
+
}) }), e[12] = d, e[13] = r, e[14] = c, e[15] = a, e[16] = l, e[17] = v, e[18] = m, e[19] = g, e[20] = f, e[21] = $, e[22] = n, e[23] = E;
|
|
859
851
|
} else
|
|
860
|
-
|
|
861
|
-
return
|
|
852
|
+
E = e[23];
|
|
853
|
+
return E;
|
|
862
854
|
};
|
|
863
|
-
function
|
|
855
|
+
function Lo(t) {
|
|
864
856
|
return !t.hidden;
|
|
865
857
|
}
|
|
866
|
-
const
|
|
867
|
-
const e =
|
|
858
|
+
const me = 84, ot = 320, _t = 64, Ao = (t) => {
|
|
859
|
+
const e = U.c(29), {
|
|
868
860
|
navigation: n,
|
|
869
861
|
expanded: o,
|
|
870
862
|
setExpanded: r
|
|
871
|
-
} = t, a =
|
|
872
|
-
let c;
|
|
873
|
-
e[0] !== l.breakpoints ? (c = l.breakpoints.up("sm"), e[0] = l.breakpoints, e[1] = c) : c = e[1];
|
|
874
|
-
const f = Zt(c);
|
|
863
|
+
} = t, a = Ln(), i = An(), l = jn();
|
|
875
864
|
let u;
|
|
876
|
-
e[
|
|
865
|
+
e[0] !== l.breakpoints ? (u = l.breakpoints.up("sm"), e[0] = l.breakpoints, e[1] = u) : u = e[1];
|
|
866
|
+
const f = tn(u);
|
|
867
|
+
let d;
|
|
868
|
+
e[2] !== o || e[3] !== a || e[4] !== n || e[5] !== i.location.pathname || e[6] !== r || e[7] !== f ? (d = (g) => /* @__PURE__ */ s.jsx(ct, { component: "nav", sx: {
|
|
877
869
|
height: "100%",
|
|
878
870
|
display: "flex",
|
|
879
871
|
flexDirection: "column",
|
|
880
872
|
justifyContent: "space-between",
|
|
881
873
|
overflow: "auto",
|
|
882
|
-
scrollbarGutter:
|
|
874
|
+
scrollbarGutter: g ? "stable" : "auto",
|
|
883
875
|
overflowX: "hidden",
|
|
884
|
-
pt: n[0] &&
|
|
885
|
-
}, children: /* @__PURE__ */ s.jsx(
|
|
886
|
-
const h =
|
|
876
|
+
pt: n[0] && st(n[0]) && !g ? 0 : 2
|
|
877
|
+
}, children: /* @__PURE__ */ s.jsx($t, { subNavigation: n, collapsed: g, isSidebarFullyExpanded: o, isSidebarFullyCollapsed: !o, expandedWidth: ot, activePath: i.location.pathname, onNavigate: a, onClose: f ? void 0 : () => r(!1) }) }), e[2] = o, e[3] = a, e[4] = n, e[5] = i.location.pathname, e[6] = r, e[7] = f, e[8] = d) : d = e[8];
|
|
878
|
+
const h = d;
|
|
887
879
|
if (f) {
|
|
888
|
-
const
|
|
889
|
-
let
|
|
890
|
-
e[9] !==
|
|
880
|
+
const g = o ? ot : me, S = o ? ot : me;
|
|
881
|
+
let x;
|
|
882
|
+
e[9] !== S ? (x = {
|
|
891
883
|
position: "absolute",
|
|
892
|
-
top: `${
|
|
893
|
-
height: `calc(100% - ${
|
|
894
|
-
width:
|
|
884
|
+
top: `${_t}px`,
|
|
885
|
+
height: `calc(100% - ${_t}px)`,
|
|
886
|
+
width: S,
|
|
895
887
|
borderTop: "1px solid",
|
|
896
888
|
borderColor: "var(--mui-palette-divider)"
|
|
897
|
-
}, e[9] =
|
|
898
|
-
let
|
|
899
|
-
e[11] !==
|
|
900
|
-
width:
|
|
901
|
-
"& .MuiDrawer-paper":
|
|
902
|
-
}, e[11] =
|
|
889
|
+
}, e[9] = S, e[10] = x) : x = e[10];
|
|
890
|
+
let p;
|
|
891
|
+
e[11] !== g || e[12] !== x ? (p = {
|
|
892
|
+
width: g,
|
|
893
|
+
"& .MuiDrawer-paper": x
|
|
894
|
+
}, e[11] = g, e[12] = x, e[13] = p) : p = e[13];
|
|
903
895
|
const k = !o;
|
|
904
|
-
let
|
|
905
|
-
e[14] !== h || e[15] !== k ? (
|
|
896
|
+
let y;
|
|
897
|
+
e[14] !== h || e[15] !== k ? (y = h(k), e[14] = h, e[15] = k, e[16] = y) : y = e[16];
|
|
906
898
|
let w;
|
|
907
|
-
return e[17] !==
|
|
899
|
+
return e[17] !== p || e[18] !== y ? (w = /* @__PURE__ */ s.jsx(yt, { variant: "permanent", sx: p, children: y }), e[17] = p, e[18] = y, e[19] = w) : w = e[19], w;
|
|
908
900
|
}
|
|
909
|
-
let
|
|
910
|
-
e[20] !== r ? (
|
|
911
|
-
|
|
901
|
+
let m;
|
|
902
|
+
e[20] !== r ? (m = () => r(!1), e[20] = r, e[21] = m) : m = e[21];
|
|
903
|
+
let c;
|
|
904
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
905
|
+
"& .MuiDrawer-paper": {
|
|
906
|
+
width: "min(280px, calc(100vw - 56px))"
|
|
907
|
+
}
|
|
908
|
+
}, e[22] = c) : c = e[22];
|
|
909
|
+
let v;
|
|
910
|
+
e[23] !== h ? (v = h(!1), e[23] = h, e[24] = v) : v = e[24];
|
|
912
911
|
let b;
|
|
913
|
-
e[
|
|
914
|
-
|
|
915
|
-
return e[25] !== o || e[26] !== p || e[27] !== b ? (S = /* @__PURE__ */ s.jsx(gt, { open: o, onClose: p, children: b }), e[25] = o, e[26] = p, e[27] = b, e[28] = S) : S = e[28], S;
|
|
916
|
-
}, jt = "graph", st = Yn.create({
|
|
912
|
+
return e[25] !== o || e[26] !== m || e[27] !== v ? (b = /* @__PURE__ */ s.jsx(yt, { open: o, onClose: m, sx: c, children: v }), e[25] = o, e[26] = m, e[27] = v, e[28] = b) : b = e[28], b;
|
|
913
|
+
}, Tt = "graph", rt = Vn.create({
|
|
917
914
|
baseURL: "https://graph.microsoft.com/v1.0"
|
|
918
915
|
});
|
|
919
|
-
|
|
920
|
-
const e = await
|
|
916
|
+
rt.interceptors.request.use(async (t) => {
|
|
917
|
+
const e = await Qt("graph");
|
|
921
918
|
return t.headers.set("Authorization", `Bearer ${e}`), t;
|
|
922
919
|
});
|
|
923
|
-
const
|
|
924
|
-
sessionUserDetail: () =>
|
|
925
|
-
queryKey: [
|
|
926
|
-
queryFn: async () => await
|
|
920
|
+
const it = {
|
|
921
|
+
sessionUserDetail: () => gt({
|
|
922
|
+
queryKey: [Tt, "me"],
|
|
923
|
+
queryFn: async () => await rt.request({
|
|
927
924
|
method: "GET",
|
|
928
925
|
url: "/me?$select=displayName,jobTitle"
|
|
929
926
|
}).then((t) => t.data),
|
|
930
927
|
staleTime: 1 / 0,
|
|
931
928
|
gcTime: 1 / 0
|
|
932
929
|
}),
|
|
933
|
-
sessionUserPhoto: () =>
|
|
934
|
-
queryKey: [
|
|
935
|
-
queryFn: async () => await
|
|
930
|
+
sessionUserPhoto: () => gt({
|
|
931
|
+
queryKey: [Tt, "me", "photo"],
|
|
932
|
+
queryFn: async () => await rt.request({
|
|
936
933
|
method: "GET",
|
|
937
934
|
url: "/me/photo/$value",
|
|
938
935
|
responseType: "blob"
|
|
@@ -941,50 +938,50 @@ const ot = {
|
|
|
941
938
|
gcTime: 1 / 0,
|
|
942
939
|
select: (t) => URL.createObjectURL(t)
|
|
943
940
|
})
|
|
944
|
-
},
|
|
945
|
-
const t =
|
|
941
|
+
}, Ct = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), Eo = () => {
|
|
942
|
+
const t = U.c(122), [e, n] = q(), [o, r] = q("settings"), a = !!e, {
|
|
946
943
|
t: i,
|
|
947
944
|
i18n: l
|
|
948
|
-
} =
|
|
949
|
-
mode:
|
|
945
|
+
} = kn(), {
|
|
946
|
+
mode: u,
|
|
950
947
|
setMode: f
|
|
951
|
-
} =
|
|
948
|
+
} = nn(), d = _n(), {
|
|
952
949
|
instance: h
|
|
953
950
|
} = he();
|
|
954
|
-
let
|
|
955
|
-
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
951
|
+
let m;
|
|
952
|
+
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = it.sessionUserPhoto(), t[0] = m) : m = t[0];
|
|
956
953
|
const {
|
|
957
|
-
data:
|
|
958
|
-
} =
|
|
954
|
+
data: c
|
|
955
|
+
} = xt(m);
|
|
956
|
+
let v;
|
|
957
|
+
t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = it.sessionUserDetail(), t[1] = v) : v = t[1];
|
|
959
958
|
let b;
|
|
960
|
-
t[
|
|
961
|
-
|
|
962
|
-
t[2] !== a ? (S = {
|
|
963
|
-
...b,
|
|
959
|
+
t[2] !== a ? (b = {
|
|
960
|
+
...v,
|
|
964
961
|
enabled: a
|
|
965
|
-
}, t[2] = a, t[3] =
|
|
962
|
+
}, t[2] = a, t[3] = b) : b = t[3];
|
|
966
963
|
const {
|
|
967
|
-
data:
|
|
968
|
-
} =
|
|
969
|
-
let
|
|
970
|
-
if (t[4] !== l || t[5] !==
|
|
971
|
-
const
|
|
964
|
+
data: g
|
|
965
|
+
} = xt(b);
|
|
966
|
+
let S, x, p, k, y, w, $;
|
|
967
|
+
if (t[4] !== l || t[5] !== u || t[6] !== f || t[7] !== i) {
|
|
968
|
+
const Rt = (Array.isArray(l.options.supportedLngs) ? l.options.supportedLngs : []).filter(Mo), ut = new Intl.DisplayNames([l.language], {
|
|
972
969
|
type: "language"
|
|
973
970
|
});
|
|
971
|
+
let K;
|
|
972
|
+
t[15] !== i ? (K = i("Layout.Light"), t[15] = i, t[16] = K) : K = t[16];
|
|
974
973
|
let Q;
|
|
975
|
-
t[
|
|
976
|
-
let G;
|
|
977
|
-
t[17] !== Q ? (G = {
|
|
974
|
+
t[17] !== K ? (Q = {
|
|
978
975
|
mode: "light",
|
|
979
|
-
icon:
|
|
980
|
-
label:
|
|
981
|
-
}, t[17] =
|
|
976
|
+
icon: Kn,
|
|
977
|
+
label: K
|
|
978
|
+
}, t[17] = K, t[18] = Q) : Q = t[18];
|
|
982
979
|
let Y;
|
|
983
980
|
t[19] !== i ? (Y = i("Layout.Dark"), t[19] = i, t[20] = Y) : Y = t[20];
|
|
984
981
|
let X;
|
|
985
982
|
t[21] !== Y ? (X = {
|
|
986
983
|
mode: "dark",
|
|
987
|
-
icon:
|
|
984
|
+
icon: Hn,
|
|
988
985
|
label: Y
|
|
989
986
|
}, t[21] = Y, t[22] = X) : X = t[22];
|
|
990
987
|
let V;
|
|
@@ -992,20 +989,20 @@ const ot = {
|
|
|
992
989
|
let Z;
|
|
993
990
|
t[25] !== V ? (Z = {
|
|
994
991
|
mode: "system",
|
|
995
|
-
icon:
|
|
992
|
+
icon: Yn,
|
|
996
993
|
label: V
|
|
997
994
|
}, t[25] = V, t[26] = Z) : Z = t[26];
|
|
998
995
|
let xe;
|
|
999
|
-
t[27] !== Z || t[28] !==
|
|
996
|
+
t[27] !== Z || t[28] !== Q || t[29] !== X ? (xe = [Q, X, Z], t[27] = Z, t[28] = Q, t[29] = X, t[30] = xe) : xe = t[30];
|
|
1000
997
|
const ye = xe;
|
|
1001
998
|
let ve;
|
|
1002
|
-
t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = (
|
|
999
|
+
t[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = (R) => n(R.currentTarget), t[31] = ve) : ve = t[31], p = ve;
|
|
1003
1000
|
let be;
|
|
1004
1001
|
t[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = () => {
|
|
1005
1002
|
n(void 0), setTimeout(() => r("settings"), 300);
|
|
1006
|
-
}, t[32] = be) : be = t[32],
|
|
1003
|
+
}, t[32] = be) : be = t[32], x = be;
|
|
1007
1004
|
let Se;
|
|
1008
|
-
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Se = (
|
|
1005
|
+
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Se = (R) => () => r(R), t[33] = Se) : Se = t[33];
|
|
1009
1006
|
const ke = Se;
|
|
1010
1007
|
let we;
|
|
1011
1008
|
t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (we = {
|
|
@@ -1020,16 +1017,16 @@ const ot = {
|
|
|
1020
1017
|
py: 0.3
|
|
1021
1018
|
}, t[39] = Ie, t[40] = je) : (Ie = t[39], je = t[40]);
|
|
1022
1019
|
let _e;
|
|
1023
|
-
t[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ s.jsx(
|
|
1020
|
+
t[41] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Wn, {}) }), t[41] = _e) : _e = t[41];
|
|
1024
1021
|
let te;
|
|
1025
1022
|
t[42] !== i ? (te = i("Layout.Appearance"), t[42] = i, t[43] = te) : te = t[43];
|
|
1026
|
-
const Ve = ye.find((
|
|
1023
|
+
const Ve = ye.find((R) => R.mode === u)?.label;
|
|
1027
1024
|
let ne;
|
|
1028
1025
|
t[44] !== te || t[45] !== Ve ? (ne = /* @__PURE__ */ s.jsx(B, { primary: te, secondary: Ve }), t[44] = te, t[45] = Ve, t[46] = ne) : ne = t[46];
|
|
1029
1026
|
let Te;
|
|
1030
|
-
t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Te = /* @__PURE__ */ s.jsx(
|
|
1027
|
+
t[47] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Te = /* @__PURE__ */ s.jsx(bt, {}), t[47] = Te) : Te = t[47];
|
|
1031
1028
|
let oe;
|
|
1032
|
-
t[48] !== ne ? (oe = /* @__PURE__ */ s.jsxs(
|
|
1029
|
+
t[48] !== ne ? (oe = /* @__PURE__ */ s.jsxs(de, { onClick: Ie, sx: je, children: [
|
|
1033
1030
|
_e,
|
|
1034
1031
|
ne,
|
|
1035
1032
|
Te
|
|
@@ -1039,14 +1036,14 @@ const ot = {
|
|
|
1039
1036
|
py: 0.3
|
|
1040
1037
|
}, t[50] = Ce, t[51] = Le) : (Ce = t[50], Le = t[51]);
|
|
1041
1038
|
let Ae;
|
|
1042
|
-
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = /* @__PURE__ */ s.jsx(
|
|
1039
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ae = /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Xn, {}) }), t[52] = Ae) : Ae = t[52];
|
|
1043
1040
|
let Ee;
|
|
1044
1041
|
t[53] !== i ? (Ee = i("Layout.Language"), t[53] = i, t[54] = Ee) : Ee = t[54];
|
|
1045
1042
|
let Me;
|
|
1046
|
-
t[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Me = /* @__PURE__ */ s.jsx(
|
|
1047
|
-
const Ze = /* @__PURE__ */ s.jsxs(
|
|
1043
|
+
t[55] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Me = /* @__PURE__ */ s.jsx(bt, {}), t[55] = Me) : Me = t[55];
|
|
1044
|
+
const Ze = /* @__PURE__ */ s.jsxs(de, { onClick: Ce, sx: Le, children: [
|
|
1048
1045
|
Ae,
|
|
1049
|
-
/* @__PURE__ */ s.jsx(B, { primary: Ee, secondary:
|
|
1046
|
+
/* @__PURE__ */ s.jsx(B, { primary: Ee, secondary: Ct(ut.of(l.language)) }),
|
|
1050
1047
|
Me
|
|
1051
1048
|
] });
|
|
1052
1049
|
let De;
|
|
@@ -1065,7 +1062,7 @@ const ot = {
|
|
|
1065
1062
|
let Pe;
|
|
1066
1063
|
t[62] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pe = /* @__PURE__ */ s.jsx(He, { size: "small", sx: {
|
|
1067
1064
|
mr: 0.5
|
|
1068
|
-
}, children: /* @__PURE__ */ s.jsx(
|
|
1065
|
+
}, children: /* @__PURE__ */ s.jsx(vt, { fontSize: "small" }) }), t[62] = Pe) : Pe = t[62];
|
|
1069
1066
|
let ie;
|
|
1070
1067
|
t[63] !== i ? (ie = i("Layout.Appearance"), t[63] = i, t[64] = ie) : ie = t[64];
|
|
1071
1068
|
let se;
|
|
@@ -1075,21 +1072,21 @@ const ot = {
|
|
|
1075
1072
|
ie
|
|
1076
1073
|
] }), t[65] = ie, t[66] = se) : se = t[66];
|
|
1077
1074
|
let re;
|
|
1078
|
-
t[67] !== ye || t[68] !==
|
|
1075
|
+
t[67] !== ye || t[68] !== u || t[69] !== f ? (re = ye.map((R) => {
|
|
1079
1076
|
const {
|
|
1080
1077
|
mode: Je,
|
|
1081
|
-
icon:
|
|
1082
|
-
label:
|
|
1083
|
-
} =
|
|
1084
|
-
return /* @__PURE__ */ s.jsxs(
|
|
1085
|
-
f(Je),
|
|
1086
|
-
}, selected:
|
|
1087
|
-
/* @__PURE__ */ s.jsx(
|
|
1088
|
-
/* @__PURE__ */ s.jsx(B, { primary:
|
|
1078
|
+
icon: Nt,
|
|
1079
|
+
label: Ut
|
|
1080
|
+
} = R;
|
|
1081
|
+
return /* @__PURE__ */ s.jsxs(de, { onClick: () => {
|
|
1082
|
+
f(Je), x();
|
|
1083
|
+
}, selected: u === Je, children: [
|
|
1084
|
+
/* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Nt, {}) }),
|
|
1085
|
+
/* @__PURE__ */ s.jsx(B, { primary: Ut })
|
|
1089
1086
|
] }, Je);
|
|
1090
|
-
}), t[67] = ye, t[68] =
|
|
1087
|
+
}), t[67] = ye, t[68] = u, t[69] = f, t[70] = re) : re = t[70];
|
|
1091
1088
|
let Re;
|
|
1092
|
-
t[71] !== se || t[72] !== re ? (Re = /* @__PURE__ */ s.jsx(Be, { subheader: se, children: re }), t[71] = se, t[72] = re, t[73] = Re) : Re = t[73],
|
|
1089
|
+
t[71] !== se || t[72] !== re ? (Re = /* @__PURE__ */ s.jsx(Be, { subheader: se, children: re }), t[71] = se, t[72] = re, t[73] = Re) : Re = t[73], $ = Re, S = Be;
|
|
1093
1090
|
let Ne, Ue;
|
|
1094
1091
|
t[74] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ne = ke("settings"), Ue = {
|
|
1095
1092
|
backgroundColor: "transparent",
|
|
@@ -1101,25 +1098,25 @@ const ot = {
|
|
|
1101
1098
|
let Fe;
|
|
1102
1099
|
t[76] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Fe = /* @__PURE__ */ s.jsx(He, { size: "small", sx: {
|
|
1103
1100
|
mr: 0.5
|
|
1104
|
-
}, children: /* @__PURE__ */ s.jsx(
|
|
1101
|
+
}, children: /* @__PURE__ */ s.jsx(vt, { fontSize: "small" }) }), t[76] = Fe) : Fe = t[76];
|
|
1105
1102
|
let ae;
|
|
1106
|
-
t[77] !== i ? (ae = i("Layout.Language"), t[77] = i, t[78] = ae) : ae = t[78], t[79] !== ae ? (
|
|
1103
|
+
t[77] !== i ? (ae = i("Layout.Language"), t[77] = i, t[78] = ae) : ae = t[78], t[79] !== ae ? (y = /* @__PURE__ */ s.jsxs(et, { onClick: Ne, sx: Ue, children: [
|
|
1107
1104
|
Fe,
|
|
1108
1105
|
" ",
|
|
1109
1106
|
ae
|
|
1110
|
-
] }), t[79] = ae, t[80] =
|
|
1111
|
-
/* @__PURE__ */ s.jsx(
|
|
1112
|
-
/* @__PURE__ */ s.jsx(B, { primary:
|
|
1113
|
-
] },
|
|
1107
|
+
] }), t[79] = ae, t[80] = y) : y = t[80], w = Rt.map((R) => /* @__PURE__ */ s.jsxs(de, { onClick: () => l.changeLanguage(R).finally(() => x()), selected: l.resolvedLanguage === R, children: [
|
|
1108
|
+
/* @__PURE__ */ s.jsx(fe, { children: l.resolvedLanguage === R && /* @__PURE__ */ s.jsx(Gn, {}) }),
|
|
1109
|
+
/* @__PURE__ */ s.jsx(B, { primary: Ct(ut.of(R)) })
|
|
1110
|
+
] }, R)), t[4] = l, t[5] = u, t[6] = f, t[7] = i, t[8] = S, t[9] = x, t[10] = p, t[11] = k, t[12] = y, t[13] = w, t[14] = $;
|
|
1114
1111
|
} else
|
|
1115
|
-
|
|
1116
|
-
let
|
|
1117
|
-
t[81] !==
|
|
1118
|
-
const T =
|
|
1112
|
+
S = t[8], x = t[9], p = t[10], k = t[11], y = t[12], w = t[13], $ = t[14];
|
|
1113
|
+
let E;
|
|
1114
|
+
t[81] !== S || t[82] !== y || t[83] !== w ? (E = /* @__PURE__ */ s.jsx(S, { subheader: y, children: w }), t[81] = S, t[82] = y, t[83] = w, t[84] = E) : E = t[84];
|
|
1115
|
+
const T = E;
|
|
1119
1116
|
let I;
|
|
1120
|
-
t[85] !==
|
|
1117
|
+
t[85] !== d ? (I = () => d.prefetchQuery(it.sessionUserDetail()), t[85] = d, t[86] = I) : I = t[86];
|
|
1121
1118
|
let C;
|
|
1122
|
-
t[87] !==
|
|
1119
|
+
t[87] !== c ? (C = c ? /* @__PURE__ */ s.jsx(sn, { src: c, sx: {
|
|
1123
1120
|
width: {
|
|
1124
1121
|
xs: 32,
|
|
1125
1122
|
sm: 40
|
|
@@ -1128,7 +1125,7 @@ const ot = {
|
|
|
1128
1125
|
xs: 32,
|
|
1129
1126
|
sm: 40
|
|
1130
1127
|
}
|
|
1131
|
-
} }) : /* @__PURE__ */ s.jsx(
|
|
1128
|
+
} }) : /* @__PURE__ */ s.jsx(zn, { sx: {
|
|
1132
1129
|
width: {
|
|
1133
1130
|
xs: 32,
|
|
1134
1131
|
sm: 40
|
|
@@ -1137,55 +1134,57 @@ const ot = {
|
|
|
1137
1134
|
xs: 32,
|
|
1138
1135
|
sm: 40
|
|
1139
1136
|
}
|
|
1140
|
-
} }), t[87] =
|
|
1141
|
-
let
|
|
1142
|
-
t[89] !==
|
|
1143
|
-
let
|
|
1144
|
-
t[93] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1137
|
+
} }), t[87] = c, t[88] = C) : C = t[88];
|
|
1138
|
+
let L;
|
|
1139
|
+
t[89] !== p || t[90] !== I || t[91] !== C ? (L = /* @__PURE__ */ s.jsx(He, { size: "small", edge: "end", onClick: p, onMouseEnter: I, children: C }), t[89] = p, t[90] = I, t[91] = C, t[92] = L) : L = t[92];
|
|
1140
|
+
let P;
|
|
1141
|
+
t[93] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = {
|
|
1145
1142
|
width: 240
|
|
1146
|
-
}, t[93] =
|
|
1147
|
-
let
|
|
1148
|
-
t[94] !==
|
|
1143
|
+
}, t[93] = P) : P = t[93];
|
|
1144
|
+
let A;
|
|
1145
|
+
t[94] !== g ? (A = /* @__PURE__ */ s.jsx(on, { children: g ? /* @__PURE__ */ s.jsx(B, { primary: g.displayName.split("/")[0], secondary: g.jobTitle }) : /* @__PURE__ */ s.jsx(B, { primary: /* @__PURE__ */ s.jsx(dt, {}), secondary: /* @__PURE__ */ s.jsx(dt, {}) }) }), t[94] = g, t[95] = A) : A = t[95];
|
|
1149
1146
|
let _;
|
|
1150
1147
|
t[96] !== h ? (_ = () => h.logoutRedirect({
|
|
1151
1148
|
postLogoutRedirectUri: "/"
|
|
1152
1149
|
}), t[96] = h, t[97] = _) : _ = t[97];
|
|
1153
1150
|
let j;
|
|
1154
|
-
t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ s.jsx(
|
|
1155
|
-
let
|
|
1156
|
-
t[99] !== i ? (
|
|
1157
|
-
let
|
|
1158
|
-
t[101] !==
|
|
1159
|
-
let
|
|
1160
|
-
t[103] !== _ || t[104] !==
|
|
1151
|
+
t[98] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsx(Qn, { color: "error" }) }), t[98] = j) : j = t[98];
|
|
1152
|
+
let M;
|
|
1153
|
+
t[99] !== i ? (M = i("Layout.Logout"), t[99] = i, t[100] = M) : M = t[100];
|
|
1154
|
+
let D;
|
|
1155
|
+
t[101] !== M ? (D = /* @__PURE__ */ s.jsx(B, { primary: M }), t[101] = M, t[102] = D) : D = t[102];
|
|
1156
|
+
let O;
|
|
1157
|
+
t[103] !== _ || t[104] !== D ? (O = /* @__PURE__ */ s.jsxs(de, { onClick: _, children: [
|
|
1161
1158
|
j,
|
|
1162
|
-
|
|
1163
|
-
] }), t[103] = _, t[104] =
|
|
1164
|
-
let
|
|
1165
|
-
t[106] !==
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
] }), t[106] =
|
|
1169
|
-
const
|
|
1159
|
+
D
|
|
1160
|
+
] }), t[103] = _, t[104] = D, t[105] = O) : O = t[105];
|
|
1161
|
+
let N;
|
|
1162
|
+
t[106] !== A || t[107] !== O ? (N = /* @__PURE__ */ s.jsxs(Be, { disablePadding: !0, children: [
|
|
1163
|
+
A,
|
|
1164
|
+
O
|
|
1165
|
+
] }), t[106] = A, t[107] = O, t[108] = N) : N = t[108];
|
|
1166
|
+
const Qe = o === "settings" && k, Ye = o === "theme" && $, Xe = o === "language" && T;
|
|
1170
1167
|
let H;
|
|
1171
|
-
t[109] !==
|
|
1172
|
-
|
|
1173
|
-
|
|
1168
|
+
t[109] !== N || t[110] !== Qe || t[111] !== Ye || t[112] !== Xe ? (H = /* @__PURE__ */ s.jsxs(Ge, { sx: P, children: [
|
|
1169
|
+
N,
|
|
1170
|
+
Qe,
|
|
1174
1171
|
Ye,
|
|
1175
1172
|
Xe
|
|
1176
|
-
] }), t[109] =
|
|
1177
|
-
let
|
|
1178
|
-
t[114] !== e || t[115] !==
|
|
1173
|
+
] }), t[109] = N, t[110] = Qe, t[111] = Ye, t[112] = Xe, t[113] = H) : H = t[113];
|
|
1174
|
+
let G;
|
|
1175
|
+
t[114] !== e || t[115] !== x || t[116] !== a || t[117] !== H ? (G = /* @__PURE__ */ s.jsx(rn, { anchorEl: e, open: a, onClose: x, children: H }), t[114] = e, t[115] = x, t[116] = a, t[117] = H, t[118] = G) : G = t[118];
|
|
1179
1176
|
let ge;
|
|
1180
|
-
return t[119] !==
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
] }), t[119] =
|
|
1177
|
+
return t[119] !== G || t[120] !== L ? (ge = /* @__PURE__ */ s.jsxs(at, { children: [
|
|
1178
|
+
L,
|
|
1179
|
+
G
|
|
1180
|
+
] }), t[119] = G, t[120] = L, t[121] = ge) : ge = t[121], ge;
|
|
1184
1181
|
};
|
|
1185
|
-
function
|
|
1182
|
+
function Mo(t) {
|
|
1186
1183
|
return t !== "cimode";
|
|
1187
1184
|
}
|
|
1188
|
-
const
|
|
1185
|
+
const Ot = "navigation-open", Do = () => Ke.isWindows || Ke.isMacOS ? localStorage.getItem(Ot) === "true" : !1, Pt = (t) => {
|
|
1186
|
+
(Ke.isWindows || Ke.isMacOS) && localStorage.setItem(Ot, String(t));
|
|
1187
|
+
}, $o = lt("div")(({
|
|
1189
1188
|
theme: t
|
|
1190
1189
|
}) => ({
|
|
1191
1190
|
display: "flex",
|
|
@@ -1193,72 +1192,72 @@ const $t = 3600 * 24 * 365, Ao = at("div")(({
|
|
|
1193
1192
|
justifyContent: "flex-end",
|
|
1194
1193
|
padding: t.spacing(0, 1),
|
|
1195
1194
|
...t.mixins.toolbar
|
|
1196
|
-
})),
|
|
1197
|
-
const e =
|
|
1198
|
-
|
|
1199
|
-
const [n, o] =
|
|
1195
|
+
})), Oo = (t) => {
|
|
1196
|
+
const e = U.c(29);
|
|
1197
|
+
vo(We.Redirect);
|
|
1198
|
+
const [n, o] = q(Do), r = !!Tn(), a = !!Cn();
|
|
1200
1199
|
let i, l;
|
|
1201
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s.jsx(
|
|
1202
|
-
let
|
|
1203
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1200
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s.jsx(an, {}), l = /* @__PURE__ */ s.jsx(ln, {}), e[0] = i, e[1] = l) : (i = e[0], l = e[1]);
|
|
1201
|
+
let u;
|
|
1202
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
|
|
1204
1203
|
display: "flex",
|
|
1205
1204
|
height: "100dvh",
|
|
1206
1205
|
maxHeight: "100dvh",
|
|
1207
1206
|
overflow: "hidden",
|
|
1208
1207
|
width: "100%"
|
|
1209
|
-
}, e[2] =
|
|
1208
|
+
}, e[2] = u) : u = e[2];
|
|
1210
1209
|
let f;
|
|
1211
1210
|
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
1212
1211
|
borderBottom: "1px solid",
|
|
1213
1212
|
borderColor: "var(--mui-palette-divider)",
|
|
1214
1213
|
boxShadow: "none"
|
|
1215
1214
|
}, e[3] = f) : f = e[3];
|
|
1216
|
-
let
|
|
1217
|
-
e[4] !== n || e[5] !== t.navigation ? (
|
|
1218
|
-
o(
|
|
1215
|
+
let d;
|
|
1216
|
+
e[4] !== n || e[5] !== t.navigation ? (d = t.navigation && /* @__PURE__ */ s.jsx(He, { onClick: () => {
|
|
1217
|
+
o(Po);
|
|
1219
1218
|
}, sx: {
|
|
1220
1219
|
marginRight: 2
|
|
1221
|
-
}, children: n ? /* @__PURE__ */ s.jsx(
|
|
1222
|
-
let h,
|
|
1223
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ s.jsx(
|
|
1224
|
-
let
|
|
1225
|
-
e[9] !==
|
|
1226
|
-
|
|
1220
|
+
}, children: n ? /* @__PURE__ */ s.jsx(In, {}) : /* @__PURE__ */ s.jsx(wn, {}) }), e[4] = n, e[5] = t.navigation, e[6] = d) : d = e[6];
|
|
1221
|
+
let h, m;
|
|
1222
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ s.jsx(bo, {}), m = /* @__PURE__ */ s.jsx(Eo, {}), e[7] = h, e[8] = m) : (h = e[7], m = e[8]);
|
|
1223
|
+
let c;
|
|
1224
|
+
e[9] !== d ? (c = /* @__PURE__ */ s.jsx(cn, { color: "transparent", position: "fixed", sx: f, children: /* @__PURE__ */ s.jsxs(un, { children: [
|
|
1225
|
+
d,
|
|
1227
1226
|
h,
|
|
1228
|
-
|
|
1229
|
-
] }) }), e[9] =
|
|
1230
|
-
let
|
|
1231
|
-
e[11] !== n || e[12] !== t.navigation ? (
|
|
1232
|
-
o(w),
|
|
1233
|
-
} }), e[11] = n, e[12] = t.navigation, e[13] =
|
|
1234
|
-
let
|
|
1235
|
-
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1227
|
+
m
|
|
1228
|
+
] }) }), e[9] = d, e[10] = c) : c = e[10];
|
|
1229
|
+
let v;
|
|
1230
|
+
e[11] !== n || e[12] !== t.navigation ? (v = t.navigation && /* @__PURE__ */ s.jsx(Ao, { navigation: t.navigation, expanded: n, setExpanded: (w) => {
|
|
1231
|
+
o(w), Pt(w);
|
|
1232
|
+
} }), e[11] = n, e[12] = t.navigation, e[13] = v) : v = e[13];
|
|
1233
|
+
let b, g;
|
|
1234
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
|
|
1236
1235
|
flexGrow: 1,
|
|
1237
1236
|
display: "flex",
|
|
1238
1237
|
flexDirection: "column",
|
|
1239
1238
|
minWidth: 0,
|
|
1240
1239
|
height: "100%",
|
|
1241
1240
|
overflow: "hidden"
|
|
1242
|
-
},
|
|
1243
|
-
let
|
|
1244
|
-
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1241
|
+
}, b = /* @__PURE__ */ s.jsx($o, {}), e[14] = b, e[15] = g) : (b = e[14], g = e[15]);
|
|
1242
|
+
let S;
|
|
1243
|
+
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = {
|
|
1245
1244
|
flex: 1,
|
|
1246
1245
|
overflow: "auto",
|
|
1247
1246
|
position: "relative"
|
|
1248
|
-
}, e[16] =
|
|
1249
|
-
let
|
|
1250
|
-
e[17] !== t.children ? (
|
|
1251
|
-
S,
|
|
1252
|
-
/* @__PURE__ */ s.jsx(Ke, { sx: v, children: t.children })
|
|
1253
|
-
] }), e[17] = t.children, e[18] = g) : g = e[18];
|
|
1254
|
-
let m;
|
|
1255
|
-
e[19] !== g || e[20] !== d || e[21] !== b ? (m = /* @__PURE__ */ s.jsxs(Ke, { sx: c, children: [
|
|
1256
|
-
d,
|
|
1247
|
+
}, e[16] = S) : S = e[16];
|
|
1248
|
+
let x;
|
|
1249
|
+
e[17] !== t.children ? (x = /* @__PURE__ */ s.jsxs(Ge, { component: "main", sx: g, children: [
|
|
1257
1250
|
b,
|
|
1258
|
-
|
|
1259
|
-
] }), e[
|
|
1251
|
+
/* @__PURE__ */ s.jsx(Ge, { sx: S, children: t.children })
|
|
1252
|
+
] }), e[17] = t.children, e[18] = x) : x = e[18];
|
|
1253
|
+
let p;
|
|
1254
|
+
e[19] !== x || e[20] !== c || e[21] !== v ? (p = /* @__PURE__ */ s.jsxs(Ge, { sx: u, children: [
|
|
1255
|
+
c,
|
|
1256
|
+
v,
|
|
1257
|
+
x
|
|
1258
|
+
] }), e[19] = x, e[20] = c, e[21] = v, e[22] = p) : p = e[22];
|
|
1260
1259
|
let k;
|
|
1261
|
-
e[23] !== r || e[24] !== a ? (k = (r || a) && /* @__PURE__ */ s.jsx(
|
|
1260
|
+
e[23] !== r || e[24] !== a ? (k = (r || a) && /* @__PURE__ */ s.jsx(dn, { sx: {
|
|
1262
1261
|
position: "fixed",
|
|
1263
1262
|
top: {
|
|
1264
1263
|
xs: 56,
|
|
@@ -1267,55 +1266,55 @@ const $t = 3600 * 24 * 365, Ao = at("div")(({
|
|
|
1267
1266
|
left: 0,
|
|
1268
1267
|
right: 0
|
|
1269
1268
|
} }), e[23] = r, e[24] = a, e[25] = k) : k = e[25];
|
|
1270
|
-
let
|
|
1271
|
-
return e[26] !==
|
|
1269
|
+
let y;
|
|
1270
|
+
return e[26] !== p || e[27] !== k ? (y = /* @__PURE__ */ s.jsxs(xo, { children: [
|
|
1272
1271
|
i,
|
|
1273
1272
|
l,
|
|
1274
|
-
|
|
1273
|
+
p,
|
|
1275
1274
|
k
|
|
1276
|
-
] }), e[26] =
|
|
1275
|
+
] }), e[26] = p, e[27] = k, e[28] = y) : y = e[28], y;
|
|
1277
1276
|
};
|
|
1278
|
-
function
|
|
1277
|
+
function Po(t) {
|
|
1279
1278
|
const e = !t;
|
|
1280
|
-
return
|
|
1279
|
+
return Pt(e), e;
|
|
1281
1280
|
}
|
|
1282
|
-
const
|
|
1283
|
-
z.use(
|
|
1284
|
-
resources:
|
|
1281
|
+
const Ro = 1440 * 365;
|
|
1282
|
+
z.use(Mt).use(mo).init({
|
|
1283
|
+
resources: mt,
|
|
1285
1284
|
fallbackLng: "en",
|
|
1286
|
-
supportedLngs: Object.keys(
|
|
1285
|
+
supportedLngs: Object.keys(mt),
|
|
1287
1286
|
detection: {
|
|
1288
1287
|
caches: ["cookie"],
|
|
1289
|
-
cookieMinutes:
|
|
1288
|
+
cookieMinutes: Ro
|
|
1290
1289
|
},
|
|
1291
1290
|
interpolation: {
|
|
1292
1291
|
escapeValue: !1
|
|
1293
1292
|
}
|
|
1294
1293
|
});
|
|
1295
|
-
const
|
|
1296
|
-
const e =
|
|
1294
|
+
const _i = (t) => {
|
|
1295
|
+
const e = U.c(9), {
|
|
1297
1296
|
navigation: n,
|
|
1298
1297
|
theme: o,
|
|
1299
1298
|
children: r
|
|
1300
|
-
} = t, a =
|
|
1299
|
+
} = t, a = yn(No);
|
|
1301
1300
|
let i;
|
|
1302
1301
|
e[0] !== a ? (i = () => (a(), z.on("languageChanged", a), () => {
|
|
1303
1302
|
z.off("languageChanged", a);
|
|
1304
1303
|
}), e[0] = a, e[1] = i) : i = e[1];
|
|
1305
1304
|
let l;
|
|
1306
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [], e[2] = l) : l = e[2],
|
|
1307
|
-
let
|
|
1308
|
-
e[3] !== r || e[4] !== n ? (
|
|
1305
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [], e[2] = l) : l = e[2], F(i, l);
|
|
1306
|
+
let u;
|
|
1307
|
+
e[3] !== r || e[4] !== n ? (u = /* @__PURE__ */ s.jsx(pn, { dateAdapter: mn, adapterLocale: z.language, children: /* @__PURE__ */ s.jsx(ho, { children: /* @__PURE__ */ s.jsx(Yt, { children: /* @__PURE__ */ s.jsx(Oo, { navigation: n, children: r }) }) }) }, z.language), e[3] = r, e[4] = n, e[5] = u) : u = e[5];
|
|
1309
1308
|
let f;
|
|
1310
|
-
return e[6] !==
|
|
1309
|
+
return e[6] !== u || e[7] !== o ? (f = /* @__PURE__ */ s.jsx(fn, { theme: o, children: u }), e[6] = u, e[7] = o, e[8] = f) : f = e[8], f;
|
|
1311
1310
|
};
|
|
1312
|
-
function
|
|
1313
|
-
|
|
1311
|
+
function No() {
|
|
1312
|
+
ht.config(ht.core.locales[z.language]()), hn.locale(z.language);
|
|
1314
1313
|
}
|
|
1315
1314
|
export {
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1315
|
+
_i as LayoutProvider,
|
|
1316
|
+
Li as WISTRON_PRIMARY_COLOR,
|
|
1317
|
+
Ai as WISTRON_SECONDARY_COLOR,
|
|
1318
|
+
Ei as rootRouteHead
|
|
1320
1319
|
};
|
|
1321
1320
|
//# sourceMappingURL=index.js.map
|