wcz-test 7.0.2 → 7.1.0

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