wcz-test 7.1.0 → 7.1.2

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