@tracktor/design-system 4.8.2 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
- import { useTheme as fe, Box as T, Skeleton as ce, Tab as i1, Card as zA, GlobalStyles as ze, TextareaAutosize as a1, InputAdornment as Pe, IconButton as ue, SvgIcon as pe, TextField as gA, Toolbar as s1, Stack as Q, AppBar as RA, Typography as J, Divider as JA, Fade as UA, List as sA, ListItem as Ie, Chip as Te, useMediaQuery as Je, SwipeableDrawer as l1, Alert as YA, alpha as ge, Button as Ue, CircularProgress as Tr, Modal as c1, Avatar as Se, Tooltip as MA, Collapse as or, CardContent as d1, Menu as Lr, MenuItem as Dr, ListItemIcon as Hr, ListItemText as Ee, Backdrop as Or, responsiveFontSizes as WA, createTheme as Re, getOverlayAlpha as PA, css as lA, CssBaseline as p1, ThemeProvider as u1, InputLabel as f1, ListItemButton as TA, Checkbox as cA, ListItemAvatar as g1, Autocomplete as h1, Paper as GA, Badge as C1, Slide as x1, Popper as m1, DialogContent as b1, DialogContentText as y1, DialogActions as w1, Dialog as v1, Radio as E1, Snackbar as I1 } from "@mui/material";
1
+ import { useTheme as fe, Box as T, Skeleton as ce, Tab as i1, Card as zA, GlobalStyles as ze, TextareaAutosize as a1, InputAdornment as Pe, IconButton as ue, SvgIcon as pe, TextField as gA, Toolbar as s1, Stack as Q, AppBar as RA, Typography as Y, Divider as JA, Fade as UA, List as sA, ListItem as Ie, Chip as Te, useMediaQuery as Je, SwipeableDrawer as l1, Alert as YA, alpha as ge, Button as Ue, CircularProgress as Tr, Modal as c1, Avatar as Se, Tooltip as MA, Collapse as or, CardContent as d1, Menu as Lr, MenuItem as Dr, ListItemIcon as Hr, ListItemText as Ee, Backdrop as Or, responsiveFontSizes as WA, createTheme as Re, getOverlayAlpha as PA, css as lA, CssBaseline as p1, ThemeProvider as u1, InputLabel as f1, ListItemButton as TA, Checkbox as cA, ListItemAvatar as g1, Autocomplete as h1, Paper as GA, Badge as C1, Slide as x1, Popper as m1, DialogContent as b1, DialogContentText as y1, DialogActions as w1, Dialog as v1, Radio as E1, Snackbar as I1 } from "@mui/material";
2
2
  export * from "@mui/material";
3
3
  import * as ye from "react";
4
- import k1, { createContext as hA, useContext as we, useCallback as oe, forwardRef as ie, useState as W, useEffect as qA, cloneElement as XA, isValidElement as Ye, memo as Qr, useMemo as We, useRef as LA, Children as S1, useImperativeHandle as B1 } from "react";
4
+ import k1, { createContext as hA, useContext as we, useCallback as oe, forwardRef as ie, useState as q, useEffect as qA, cloneElement as XA, isValidElement as Ye, memo as Qr, useMemo as We, useRef as LA, Children as S1, useImperativeHandle as B1 } from "react";
5
5
  import { createElement as R1 } from "@emotion/react";
6
6
  const M1 = {
7
7
  disabledPermissions: void 0,
@@ -11,8 +11,8 @@ const M1 = {
11
11
  }, Vr = hA(M1), DA = "or", vA = (e, A) => e === "" || !A.length ? !1 : A.some((r) => e === r), P1 = () => {
12
12
  const { permissions: e, setPermissions: A, disabledPermissions: r } = we(Vr), n = oe(
13
13
  (i, s, a = DA) => {
14
- const c = [...s || [], ...e || []].filter((p) => !r?.includes(p));
15
- return c.length ? Array.isArray(i) ? a === DA ? i.some((p) => vA(p, c)) : i.every((p) => vA(p, c)) : vA(i, c) : !1;
14
+ const d = [...s || [], ...e || []].filter((u) => !r?.includes(u));
15
+ return d.length ? Array.isArray(i) ? a === DA ? i.some((u) => vA(u, d)) : i.every((u) => vA(u, d)) : vA(i, d) : !1;
16
16
  },
17
17
  [r, e]
18
18
  );
@@ -86,41 +86,41 @@ function L1() {
86
86
  function e(g) {
87
87
  if (g == null) return null;
88
88
  if (typeof g == "function")
89
- return g.$$typeof === $ ? null : g.displayName || g.name || null;
89
+ return g.$$typeof === X ? null : g.displayName || g.name || null;
90
90
  if (typeof g == "string") return g;
91
91
  switch (g) {
92
- case u:
92
+ case p:
93
93
  return "Fragment";
94
- case I:
94
+ case k:
95
95
  return "Profiler";
96
- case m:
96
+ case b:
97
97
  return "StrictMode";
98
98
  case l:
99
99
  return "Suspense";
100
- case S:
100
+ case I:
101
101
  return "SuspenseList";
102
- case L:
102
+ case D:
103
103
  return "Activity";
104
104
  }
105
105
  if (typeof g == "object")
106
106
  switch (typeof g.tag == "number" && console.error(
107
107
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
108
108
  ), g.$$typeof) {
109
- case C:
110
- return "Portal";
111
109
  case h:
110
+ return "Portal";
111
+ case C:
112
112
  return (g.displayName || "Context") + ".Provider";
113
- case B:
113
+ case S:
114
114
  return (g._context.displayName || "Context") + ".Consumer";
115
- case w:
116
- var b = g.render;
117
- return g = g.displayName, g || (g = b.displayName || b.name || "", g = g !== "" ? "ForwardRef(" + g + ")" : "ForwardRef"), g;
115
+ case y:
116
+ var w = g.render;
117
+ return g = g.displayName, g || (g = w.displayName || w.name || "", g = g !== "" ? "ForwardRef(" + g + ")" : "ForwardRef"), g;
118
118
  case E:
119
- return b = g.displayName || null, b !== null ? b : e(g.type) || "Memo";
119
+ return w = g.displayName || null, w !== null ? w : e(g.type) || "Memo";
120
120
  case H:
121
- b = g._payload, g = g._init;
121
+ w = g._payload, g = g._init;
122
122
  try {
123
- return e(g(b));
123
+ return e(g(w));
124
124
  } catch {
125
125
  }
126
126
  }
@@ -132,50 +132,50 @@ function L1() {
132
132
  function r(g) {
133
133
  try {
134
134
  A(g);
135
- var b = !1;
135
+ var w = !1;
136
136
  } catch {
137
- b = !0;
137
+ w = !0;
138
138
  }
139
- if (b) {
140
- b = console;
141
- var M = b.error, O = typeof Symbol == "function" && Symbol.toStringTag && g[Symbol.toStringTag] || g.constructor.name || "Object";
139
+ if (w) {
140
+ w = console;
141
+ var M = w.error, O = typeof Symbol == "function" && Symbol.toStringTag && g[Symbol.toStringTag] || g.constructor.name || "Object";
142
142
  return M.call(
143
- b,
143
+ w,
144
144
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
145
145
  O
146
146
  ), A(g);
147
147
  }
148
148
  }
149
149
  function n(g) {
150
- if (g === u) return "<>";
150
+ if (g === p) return "<>";
151
151
  if (typeof g == "object" && g !== null && g.$$typeof === H)
152
152
  return "<...>";
153
153
  try {
154
- var b = e(g);
155
- return b ? "<" + b + ">" : "<...>";
154
+ var w = e(g);
155
+ return w ? "<" + w + ">" : "<...>";
156
156
  } catch {
157
157
  return "<...>";
158
158
  }
159
159
  }
160
160
  function o() {
161
- var g = k.A;
161
+ var g = V.A;
162
162
  return g === null ? null : g.getOwner();
163
163
  }
164
164
  function i() {
165
165
  return Error("react-stack-top-frame");
166
166
  }
167
167
  function s(g) {
168
- if (P.call(g, "key")) {
169
- var b = Object.getOwnPropertyDescriptor(g, "key").get;
170
- if (b && b.isReactWarning) return !1;
168
+ if (W.call(g, "key")) {
169
+ var w = Object.getOwnPropertyDescriptor(g, "key").get;
170
+ if (w && w.isReactWarning) return !1;
171
171
  }
172
172
  return g.key !== void 0;
173
173
  }
174
- function a(g, b) {
174
+ function a(g, w) {
175
175
  function M() {
176
- K || (K = !0, console.error(
176
+ P || (P = !0, console.error(
177
177
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
178
- b
178
+ w
179
179
  ));
180
180
  }
181
181
  M.isReactWarning = !0, Object.defineProperty(g, "key", {
@@ -183,22 +183,22 @@ function L1() {
183
183
  configurable: !0
184
184
  });
185
185
  }
186
- function d() {
186
+ function c() {
187
187
  var g = e(this.type);
188
- return N[g] || (N[g] = !0, console.error(
188
+ return R[g] || (R[g] = !0, console.error(
189
189
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
190
190
  )), g = this.props.ref, g !== void 0 ? g : null;
191
191
  }
192
- function c(g, b, M, O, D, te, ae, be) {
192
+ function d(g, w, M, O, L, te, ae, be) {
193
193
  return M = te.ref, g = {
194
- $$typeof: y,
194
+ $$typeof: x,
195
195
  type: g,
196
- key: b,
196
+ key: w,
197
197
  props: te,
198
- _owner: D
198
+ _owner: L
199
199
  }, (M !== void 0 ? M : null) !== null ? Object.defineProperty(g, "ref", {
200
200
  enumerable: !1,
201
- get: d
201
+ get: c
202
202
  }) : Object.defineProperty(g, "ref", { enumerable: !1, value: null }), g._store = {}, Object.defineProperty(g._store, "validated", {
203
203
  configurable: !1,
204
204
  enumerable: !1,
@@ -221,25 +221,25 @@ function L1() {
221
221
  value: be
222
222
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
223
223
  }
224
- function p(g, b, M, O, D, te, ae, be) {
225
- var q = b.children;
226
- if (q !== void 0)
224
+ function u(g, w, M, O, L, te, ae, be) {
225
+ var $ = w.children;
226
+ if ($ !== void 0)
227
227
  if (O)
228
- if (U(q)) {
229
- for (O = 0; O < q.length; O++)
230
- f(q[O]);
231
- Object.freeze && Object.freeze(q);
228
+ if (G($)) {
229
+ for (O = 0; O < $.length; O++)
230
+ f($[O]);
231
+ Object.freeze && Object.freeze($);
232
232
  } else
233
233
  console.error(
234
234
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
235
235
  );
236
- else f(q);
237
- if (P.call(b, "key")) {
238
- q = e(g);
239
- var ve = Object.keys(b).filter(function(yA) {
236
+ else f($);
237
+ if (W.call(w, "key")) {
238
+ $ = e(g);
239
+ var ve = Object.keys(w).filter(function(yA) {
240
240
  return yA !== "key";
241
241
  });
242
- O = 0 < ve.length ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}", Ae[q + O] || (ve = 0 < ve.length ? "{" + ve.join(": ..., ") + ": ...}" : "{}", console.error(
242
+ O = 0 < ve.length ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}", Ae[$ + O] || (ve = 0 < ve.length ? "{" + ve.join(": ..., ") + ": ...}" : "{}", console.error(
243
243
  `A props object containing a "key" prop is being spread into JSX:
244
244
  let props = %s;
245
245
  <%s {...props} />
@@ -247,24 +247,24 @@ React keys must be passed directly to JSX without using spread:
247
247
  let props = %s;
248
248
  <%s key={someKey} {...props} />`,
249
249
  O,
250
- q,
250
+ $,
251
251
  ve,
252
- q
253
- ), Ae[q + O] = !0);
252
+ $
253
+ ), Ae[$ + O] = !0);
254
254
  }
255
- if (q = null, M !== void 0 && (r(M), q = "" + M), s(b) && (r(b.key), q = "" + b.key), "key" in b) {
255
+ if ($ = null, M !== void 0 && (r(M), $ = "" + M), s(w) && (r(w.key), $ = "" + w.key), "key" in w) {
256
256
  M = {};
257
- for (var Oe in b)
258
- Oe !== "key" && (M[Oe] = b[Oe]);
259
- } else M = b;
260
- return q && a(
257
+ for (var Oe in w)
258
+ Oe !== "key" && (M[Oe] = w[Oe]);
259
+ } else M = w;
260
+ return $ && a(
261
261
  M,
262
262
  typeof g == "function" ? g.displayName || g.name || "Unknown" : g
263
- ), c(
263
+ ), d(
264
264
  g,
265
- q,
265
+ $,
266
266
  te,
267
- D,
267
+ L,
268
268
  o(),
269
269
  M,
270
270
  ae,
@@ -272,9 +272,9 @@ React keys must be passed directly to JSX without using spread:
272
272
  );
273
273
  }
274
274
  function f(g) {
275
- typeof g == "object" && g !== null && g.$$typeof === y && g._store && (g._store.validated = 1);
275
+ typeof g == "object" && g !== null && g.$$typeof === x && g._store && (g._store.validated = 1);
276
276
  }
277
- var v = k1, y = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), B = Symbol.for("react.consumer"), h = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), L = Symbol.for("react.activity"), $ = Symbol.for("react.client.reference"), k = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, U = Array.isArray, Y = console.createTask ? console.createTask : function() {
277
+ var v = k1, x = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), S = Symbol.for("react.consumer"), C = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), H = Symbol.for("react.lazy"), D = Symbol.for("react.activity"), X = Symbol.for("react.client.reference"), V = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, G = Array.isArray, K = console.createTask ? console.createTask : function() {
278
278
  return null;
279
279
  };
280
280
  v = {
@@ -282,33 +282,33 @@ React keys must be passed directly to JSX without using spread:
282
282
  return g();
283
283
  }
284
284
  };
285
- var K, N = {}, _ = v["react-stack-bottom-frame"].bind(
285
+ var P, R = {}, U = v["react-stack-bottom-frame"].bind(
286
286
  v,
287
287
  i
288
- )(), G = Y(n(i)), Ae = {};
289
- Ve.Fragment = u, Ve.jsx = function(g, b, M, O, D) {
290
- var te = 1e4 > k.recentlyCreatedOwnerStacks++;
291
- return p(
288
+ )(), z = K(n(i)), Ae = {};
289
+ Ve.Fragment = p, Ve.jsx = function(g, w, M, O, L) {
290
+ var te = 1e4 > V.recentlyCreatedOwnerStacks++;
291
+ return u(
292
292
  g,
293
- b,
293
+ w,
294
294
  M,
295
295
  !1,
296
296
  O,
297
- D,
298
- te ? Error("react-stack-top-frame") : _,
299
- te ? Y(n(g)) : G
297
+ L,
298
+ te ? Error("react-stack-top-frame") : U,
299
+ te ? K(n(g)) : z
300
300
  );
301
- }, Ve.jsxs = function(g, b, M, O, D) {
302
- var te = 1e4 > k.recentlyCreatedOwnerStacks++;
303
- return p(
301
+ }, Ve.jsxs = function(g, w, M, O, L) {
302
+ var te = 1e4 > V.recentlyCreatedOwnerStacks++;
303
+ return u(
304
304
  g,
305
- b,
305
+ w,
306
306
  M,
307
307
  !0,
308
308
  O,
309
- D,
310
- te ? Error("react-stack-top-frame") : _,
311
- te ? Y(n(g)) : G
309
+ L,
310
+ te ? Error("react-stack-top-frame") : U,
311
+ te ? K(n(g)) : z
312
312
  );
313
313
  };
314
314
  }()), Ve;
@@ -358,7 +358,7 @@ var Q1 = /* @__PURE__ */ function() {
358
358
  return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
359
359
  }), this.tags = [], this.ctr = 0;
360
360
  }, e;
361
- }(), ne = "-ms-", dA = "-moz-", V = "-webkit-", Fr = "comm", $A = "rule", _A = "decl", V1 = "@import", Nr = "@keyframes", F1 = "@layer", N1 = Math.abs, CA = String.fromCharCode, Z1 = Object.assign;
361
+ }(), ne = "-ms-", dA = "-moz-", F = "-webkit-", Fr = "comm", $A = "rule", _A = "decl", V1 = "@import", Nr = "@keyframes", F1 = "@layer", N1 = Math.abs, CA = String.fromCharCode, Z1 = Object.assign;
362
362
  function j1(e, A) {
363
363
  return re(e, 0) ^ 45 ? (((A << 2 ^ re(e, 0)) << 2 ^ re(e, 1)) << 2 ^ re(e, 2)) << 2 ^ re(e, 3) : 0;
364
364
  }
@@ -368,7 +368,7 @@ function Zr(e) {
368
368
  function z1(e, A) {
369
369
  return (e = A.exec(e)) ? e[0] : e;
370
370
  }
371
- function F(e, A, r) {
371
+ function N(e, A, r) {
372
372
  return e.replace(A, r);
373
373
  }
374
374
  function HA(e, A) {
@@ -392,7 +392,7 @@ function rA(e, A) {
392
392
  function J1(e, A) {
393
393
  return e.map(A).join("");
394
394
  }
395
- var xA = 1, Le = 1, jr = 0, le = 0, X = 0, De = "";
395
+ var xA = 1, Le = 1, jr = 0, le = 0, _ = 0, De = "";
396
396
  function mA(e, A, r, n, o, i, s) {
397
397
  return { value: e, root: A, parent: r, type: n, props: o, children: i, line: xA, column: Le, length: s, return: "" };
398
398
  }
@@ -400,13 +400,13 @@ function Fe(e, A) {
400
400
  return Z1(mA("", null, null, "", null, null, 0), e, { length: -e.length }, A);
401
401
  }
402
402
  function U1() {
403
- return X;
403
+ return _;
404
404
  }
405
405
  function Y1() {
406
- return X = le > 0 ? re(De, --le) : 0, Le--, X === 10 && (Le = 1, xA--), X;
406
+ return _ = le > 0 ? re(De, --le) : 0, Le--, _ === 10 && (Le = 1, xA--), _;
407
407
  }
408
408
  function de() {
409
- return X = le < jr ? re(De, le++) : 0, Le++, X === 10 && (Le = 1, xA++), X;
409
+ return _ = le < jr ? re(De, le++) : 0, Le++, _ === 10 && (Le = 1, xA++), _;
410
410
  }
411
411
  function me() {
412
412
  return re(De, le);
@@ -465,25 +465,25 @@ function oA(e) {
465
465
  return Zr(Ke(le - 1, OA(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
466
466
  }
467
467
  function W1(e) {
468
- for (; (X = me()) && X < 33; )
468
+ for (; (_ = me()) && _ < 33; )
469
469
  de();
470
- return Xe(e) > 2 || Xe(X) > 3 ? "" : " ";
470
+ return Xe(e) > 2 || Xe(_) > 3 ? "" : " ";
471
471
  }
472
472
  function G1(e, A) {
473
- for (; --A && de() && !(X < 48 || X > 102 || X > 57 && X < 65 || X > 70 && X < 97); )
473
+ for (; --A && de() && !(_ < 48 || _ > 102 || _ > 57 && _ < 65 || _ > 70 && _ < 97); )
474
474
  ;
475
475
  return Ke(e, nA() + (A < 6 && me() == 32 && de() == 32));
476
476
  }
477
477
  function OA(e) {
478
478
  for (; de(); )
479
- switch (X) {
479
+ switch (_) {
480
480
  // ] ) " '
481
481
  case e:
482
482
  return le;
483
483
  // " '
484
484
  case 34:
485
485
  case 39:
486
- e !== 34 && e !== 39 && OA(X);
486
+ e !== 34 && e !== 39 && OA(_);
487
487
  break;
488
488
  // (
489
489
  case 40:
@@ -497,8 +497,8 @@ function OA(e) {
497
497
  return le;
498
498
  }
499
499
  function q1(e, A) {
500
- for (; de() && e + X !== 57; )
501
- if (e + X === 84 && me() === 47)
500
+ for (; de() && e + _ !== 57; )
501
+ if (e + _ === 84 && me() === 47)
502
502
  break;
503
503
  return "/*" + Ke(A, le - 1) + "*" + CA(e === 47 ? e : de());
504
504
  }
@@ -510,27 +510,27 @@ function X1(e) {
510
510
  function $1(e) {
511
511
  return Jr(iA("", null, null, null, [""], e = zr(e), 0, [0], e));
512
512
  }
513
- function iA(e, A, r, n, o, i, s, a, d) {
514
- for (var c = 0, p = 0, f = s, v = 0, y = 0, C = 0, u = 1, m = 1, I = 1, B = 0, h = "", w = o, l = i, S = n, E = h; m; )
515
- switch (C = B, B = de()) {
513
+ function iA(e, A, r, n, o, i, s, a, c) {
514
+ for (var d = 0, u = 0, f = s, v = 0, x = 0, h = 0, p = 1, b = 1, k = 1, S = 0, C = "", y = o, l = i, I = n, E = C; b; )
515
+ switch (h = S, S = de()) {
516
516
  // (
517
517
  case 40:
518
- if (C != 108 && re(E, f - 1) == 58) {
519
- HA(E += F(oA(B), "&", "&\f"), "&\f") != -1 && (I = -1);
518
+ if (h != 108 && re(E, f - 1) == 58) {
519
+ HA(E += N(oA(S), "&", "&\f"), "&\f") != -1 && (k = -1);
520
520
  break;
521
521
  }
522
522
  // " ' [
523
523
  case 34:
524
524
  case 39:
525
525
  case 91:
526
- E += oA(B);
526
+ E += oA(S);
527
527
  break;
528
528
  // \t \n \r \s
529
529
  case 9:
530
530
  case 10:
531
531
  case 13:
532
532
  case 32:
533
- E += W1(C);
533
+ E += W1(h);
534
534
  break;
535
535
  // \
536
536
  case 92:
@@ -541,36 +541,36 @@ function iA(e, A, r, n, o, i, s, a, d) {
541
541
  switch (me()) {
542
542
  case 42:
543
543
  case 47:
544
- rA(_1(q1(de(), nA()), A, r), d);
544
+ rA(_1(q1(de(), nA()), A, r), c);
545
545
  break;
546
546
  default:
547
547
  E += "/";
548
548
  }
549
549
  break;
550
550
  // {
551
- case 123 * u:
552
- a[c++] = Ce(E) * I;
551
+ case 123 * p:
552
+ a[d++] = Ce(E) * k;
553
553
  // } ; \0
554
- case 125 * u:
554
+ case 125 * p:
555
555
  case 59:
556
556
  case 0:
557
- switch (B) {
557
+ switch (S) {
558
558
  // \0 }
559
559
  case 0:
560
560
  case 125:
561
- m = 0;
561
+ b = 0;
562
562
  // ;
563
- case 59 + p:
564
- I == -1 && (E = F(E, /\f/g, "")), y > 0 && Ce(E) - f && rA(y > 32 ? cr(E + ";", n, r, f - 1) : cr(F(E, " ", "") + ";", n, r, f - 2), d);
563
+ case 59 + u:
564
+ k == -1 && (E = N(E, /\f/g, "")), x > 0 && Ce(E) - f && rA(x > 32 ? cr(E + ";", n, r, f - 1) : cr(N(E, " ", "") + ";", n, r, f - 2), c);
565
565
  break;
566
566
  // @ ;
567
567
  case 59:
568
568
  E += ";";
569
569
  // { rule/at-rule
570
570
  default:
571
- if (rA(S = lr(E, A, r, c, p, o, a, h, w = [], l = [], f), i), B === 123)
572
- if (p === 0)
573
- iA(E, A, S, S, w, i, f, a, l);
571
+ if (rA(I = lr(E, A, r, d, u, o, a, C, y = [], l = [], f), i), S === 123)
572
+ if (u === 0)
573
+ iA(E, A, I, I, y, i, f, a, l);
574
574
  else
575
575
  switch (v === 99 && re(E, 3) === 110 ? 100 : v) {
576
576
  // d l m s
@@ -578,49 +578,49 @@ function iA(e, A, r, n, o, i, s, a, d) {
578
578
  case 108:
579
579
  case 109:
580
580
  case 115:
581
- iA(e, S, S, n && rA(lr(e, S, S, 0, 0, o, a, h, o, w = [], f), l), o, l, f, a, n ? w : l);
581
+ iA(e, I, I, n && rA(lr(e, I, I, 0, 0, o, a, C, o, y = [], f), l), o, l, f, a, n ? y : l);
582
582
  break;
583
583
  default:
584
- iA(E, S, S, S, [""], l, 0, a, l);
584
+ iA(E, I, I, I, [""], l, 0, a, l);
585
585
  }
586
586
  }
587
- c = p = y = 0, u = I = 1, h = E = "", f = s;
587
+ d = u = x = 0, p = k = 1, C = E = "", f = s;
588
588
  break;
589
589
  // :
590
590
  case 58:
591
- f = 1 + Ce(E), y = C;
591
+ f = 1 + Ce(E), x = h;
592
592
  default:
593
- if (u < 1) {
594
- if (B == 123)
595
- --u;
596
- else if (B == 125 && u++ == 0 && Y1() == 125)
593
+ if (p < 1) {
594
+ if (S == 123)
595
+ --p;
596
+ else if (S == 125 && p++ == 0 && Y1() == 125)
597
597
  continue;
598
598
  }
599
- switch (E += CA(B), B * u) {
599
+ switch (E += CA(S), S * p) {
600
600
  // &
601
601
  case 38:
602
- I = p > 0 ? 1 : (E += "\f", -1);
602
+ k = u > 0 ? 1 : (E += "\f", -1);
603
603
  break;
604
604
  // ,
605
605
  case 44:
606
- a[c++] = (Ce(E) - 1) * I, I = 1;
606
+ a[d++] = (Ce(E) - 1) * k, k = 1;
607
607
  break;
608
608
  // @
609
609
  case 64:
610
- me() === 45 && (E += oA(de())), v = me(), p = f = Ce(h = E += X1(nA())), B++;
610
+ me() === 45 && (E += oA(de())), v = me(), u = f = Ce(C = E += X1(nA())), S++;
611
611
  break;
612
612
  // -
613
613
  case 45:
614
- C === 45 && Ce(E) == 2 && (u = 0);
614
+ h === 45 && Ce(E) == 2 && (p = 0);
615
615
  }
616
616
  }
617
617
  return i;
618
618
  }
619
- function lr(e, A, r, n, o, i, s, a, d, c, p) {
620
- for (var f = o - 1, v = o === 0 ? i : [""], y = KA(v), C = 0, u = 0, m = 0; C < n; ++C)
621
- for (var I = 0, B = qe(e, f + 1, f = N1(u = s[C])), h = e; I < y; ++I)
622
- (h = Zr(u > 0 ? v[I] + " " + B : F(B, /&\f/g, v[I]))) && (d[m++] = h);
623
- return mA(e, A, r, o === 0 ? $A : a, d, c, p);
619
+ function lr(e, A, r, n, o, i, s, a, c, d, u) {
620
+ for (var f = o - 1, v = o === 0 ? i : [""], x = KA(v), h = 0, p = 0, b = 0; h < n; ++h)
621
+ for (var k = 0, S = qe(e, f + 1, f = N1(p = s[h])), C = e; k < x; ++k)
622
+ (C = Zr(p > 0 ? v[k] + " " + S : N(S, /&\f/g, v[k]))) && (c[b++] = C);
623
+ return mA(e, A, r, o === 0 ? $A : a, c, d, u);
624
624
  }
625
625
  function _1(e, A, r) {
626
626
  return mA(e, A, r, Fr, CA(U1()), qe(e, 2, -2), 0);
@@ -703,9 +703,9 @@ var tt = function(A, r, n) {
703
703
  if (n = n.parent, !n) return;
704
704
  if (!(A.props.length === 1 && r.charCodeAt(0) !== 58 && !dr.get(n)) && !o) {
705
705
  dr.set(A, !0);
706
- for (var i = [], s = ot(r, i), a = n.props, d = 0, c = 0; d < s.length; d++)
707
- for (var p = 0; p < a.length; p++, c++)
708
- A.props[c] = i[d] ? s[d].replace(/&\f/g, a[p]) : a[p] + " " + s[d];
706
+ for (var i = [], s = ot(r, i), a = n.props, c = 0, d = 0; c < s.length; c++)
707
+ for (var u = 0; u < a.length; u++, d++)
708
+ A.props[d] = i[c] ? s[c].replace(/&\f/g, a[u]) : a[u] + " " + s[c];
709
709
  }
710
710
  }
711
711
  }, at = function(A) {
@@ -720,7 +720,7 @@ function Ur(e, A) {
720
720
  switch (j1(e, A)) {
721
721
  // color-adjust
722
722
  case 5103:
723
- return V + "print-" + e + e;
723
+ return F + "print-" + e + e;
724
724
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
725
725
  case 5737:
726
726
  case 4201:
@@ -750,58 +750,58 @@ function Ur(e, A) {
750
750
  case 5365:
751
751
  case 5621:
752
752
  case 3829:
753
- return V + e + e;
753
+ return F + e + e;
754
754
  // appearance, user-select, transform, hyphens, text-size-adjust
755
755
  case 5349:
756
756
  case 4246:
757
757
  case 4810:
758
758
  case 6968:
759
759
  case 2756:
760
- return V + e + dA + e + ne + e + e;
760
+ return F + e + dA + e + ne + e + e;
761
761
  // flex, flex-direction
762
762
  case 6828:
763
763
  case 4268:
764
- return V + e + ne + e + e;
764
+ return F + e + ne + e + e;
765
765
  // order
766
766
  case 6165:
767
- return V + e + ne + "flex-" + e + e;
767
+ return F + e + ne + "flex-" + e + e;
768
768
  // align-items
769
769
  case 5187:
770
- return V + e + F(e, /(\w+).+(:[^]+)/, V + "box-$1$2" + ne + "flex-$1$2") + e;
770
+ return F + e + N(e, /(\w+).+(:[^]+)/, F + "box-$1$2" + ne + "flex-$1$2") + e;
771
771
  // align-self
772
772
  case 5443:
773
- return V + e + ne + "flex-item-" + F(e, /flex-|-self/, "") + e;
773
+ return F + e + ne + "flex-item-" + N(e, /flex-|-self/, "") + e;
774
774
  // align-content
775
775
  case 4675:
776
- return V + e + ne + "flex-line-pack" + F(e, /align-content|flex-|-self/, "") + e;
776
+ return F + e + ne + "flex-line-pack" + N(e, /align-content|flex-|-self/, "") + e;
777
777
  // flex-shrink
778
778
  case 5548:
779
- return V + e + ne + F(e, "shrink", "negative") + e;
779
+ return F + e + ne + N(e, "shrink", "negative") + e;
780
780
  // flex-basis
781
781
  case 5292:
782
- return V + e + ne + F(e, "basis", "preferred-size") + e;
782
+ return F + e + ne + N(e, "basis", "preferred-size") + e;
783
783
  // flex-grow
784
784
  case 6060:
785
- return V + "box-" + F(e, "-grow", "") + V + e + ne + F(e, "grow", "positive") + e;
785
+ return F + "box-" + N(e, "-grow", "") + F + e + ne + N(e, "grow", "positive") + e;
786
786
  // transition
787
787
  case 4554:
788
- return V + F(e, /([^-])(transform)/g, "$1" + V + "$2") + e;
788
+ return F + N(e, /([^-])(transform)/g, "$1" + F + "$2") + e;
789
789
  // cursor
790
790
  case 6187:
791
- return F(F(F(e, /(zoom-|grab)/, V + "$1"), /(image-set)/, V + "$1"), e, "") + e;
791
+ return N(N(N(e, /(zoom-|grab)/, F + "$1"), /(image-set)/, F + "$1"), e, "") + e;
792
792
  // background, background-image
793
793
  case 5495:
794
794
  case 3959:
795
- return F(e, /(image-set\([^]*)/, V + "$1$`$1");
795
+ return N(e, /(image-set\([^]*)/, F + "$1$`$1");
796
796
  // justify-content
797
797
  case 4968:
798
- return F(F(e, /(.+:)(flex-)?(.*)/, V + "box-pack:$3" + ne + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + V + e + e;
798
+ return N(N(e, /(.+:)(flex-)?(.*)/, F + "box-pack:$3" + ne + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + F + e + e;
799
799
  // (margin|padding)-inline-(start|end)
800
800
  case 4095:
801
801
  case 3583:
802
802
  case 4068:
803
803
  case 2532:
804
- return F(e, /(.+)-inline(.+)/, V + "$1$2") + e;
804
+ return N(e, /(.+)-inline(.+)/, F + "$1$2") + e;
805
805
  // (min|max)?(width|height|inline-size|block-size)
806
806
  case 8116:
807
807
  case 7059:
@@ -821,10 +821,10 @@ function Ur(e, A) {
821
821
  if (re(e, A + 4) !== 45) break;
822
822
  // (f)ill-available, (f)it-content
823
823
  case 102:
824
- return F(e, /(.+:)(.+)-([^]+)/, "$1" + V + "$2-$3$1" + dA + (re(e, A + 3) == 108 ? "$3" : "$2-$3")) + e;
824
+ return N(e, /(.+:)(.+)-([^]+)/, "$1" + F + "$2-$3$1" + dA + (re(e, A + 3) == 108 ? "$3" : "$2-$3")) + e;
825
825
  // (s)tretch
826
826
  case 115:
827
- return ~HA(e, "stretch") ? Ur(F(e, "stretch", "fill-available"), A) + e : e;
827
+ return ~HA(e, "stretch") ? Ur(N(e, "stretch", "fill-available"), A) + e : e;
828
828
  }
829
829
  break;
830
830
  // position: sticky
@@ -835,10 +835,10 @@ function Ur(e, A) {
835
835
  switch (re(e, Ce(e) - 3 - (~HA(e, "!important") && 10))) {
836
836
  // stic(k)y
837
837
  case 107:
838
- return F(e, ":", ":" + V) + e;
838
+ return N(e, ":", ":" + F) + e;
839
839
  // (inline-)?fl(e)x
840
840
  case 101:
841
- return F(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + V + (re(e, 14) === 45 ? "inline-" : "") + "box$3$1" + V + "$2$3$1" + ne + "$2box$3") + e;
841
+ return N(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + F + (re(e, 14) === 45 ? "inline-" : "") + "box$3$1" + F + "$2$3$1" + ne + "$2box$3") + e;
842
842
  }
843
843
  break;
844
844
  // writing-mode
@@ -846,15 +846,15 @@ function Ur(e, A) {
846
846
  switch (re(e, A + 11)) {
847
847
  // vertical-l(r)
848
848
  case 114:
849
- return V + e + ne + F(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
849
+ return F + e + ne + N(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
850
850
  // vertical-r(l)
851
851
  case 108:
852
- return V + e + ne + F(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
852
+ return F + e + ne + N(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
853
853
  // horizontal(-)tb
854
854
  case 45:
855
- return V + e + ne + F(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
855
+ return F + e + ne + N(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
856
856
  }
857
- return V + e + ne + e + e;
857
+ return F + e + ne + e + e;
858
858
  }
859
859
  return e;
860
860
  }
@@ -865,7 +865,7 @@ var st = function(A, r, n, o) {
865
865
  break;
866
866
  case Nr:
867
867
  return Me([Fe(A, {
868
- value: F(A.value, "@", "@" + V)
868
+ value: N(A.value, "@", "@" + F)
869
869
  })], o);
870
870
  case $A:
871
871
  if (A.length) return J1(A.props, function(i) {
@@ -874,16 +874,16 @@ var st = function(A, r, n, o) {
874
874
  case ":read-only":
875
875
  case ":read-write":
876
876
  return Me([Fe(A, {
877
- props: [F(i, /:(read-\w+)/, ":" + dA + "$1")]
877
+ props: [N(i, /:(read-\w+)/, ":" + dA + "$1")]
878
878
  })], o);
879
879
  // :placeholder
880
880
  case "::placeholder":
881
881
  return Me([Fe(A, {
882
- props: [F(i, /:(plac\w+)/, ":" + V + "input-$1")]
882
+ props: [N(i, /:(plac\w+)/, ":" + F + "input-$1")]
883
883
  }), Fe(A, {
884
- props: [F(i, /:(plac\w+)/, ":" + dA + "$1")]
884
+ props: [N(i, /:(plac\w+)/, ":" + dA + "$1")]
885
885
  }), Fe(A, {
886
- props: [F(i, /:(plac\w+)/, ne + "input-$1")]
886
+ props: [N(i, /:(plac\w+)/, ne + "input-$1")]
887
887
  })], o);
888
888
  }
889
889
  return "";
@@ -893,9 +893,9 @@ var st = function(A, r, n, o) {
893
893
  var r = A.key;
894
894
  if (r === "css") {
895
895
  var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
896
- Array.prototype.forEach.call(n, function(u) {
897
- var m = u.getAttribute("data-emotion");
898
- m.indexOf(" ") !== -1 && (document.head.appendChild(u), u.setAttribute("data-s", ""));
896
+ Array.prototype.forEach.call(n, function(p) {
897
+ var b = p.getAttribute("data-emotion");
898
+ b.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
899
899
  });
900
900
  }
901
901
  var o = A.stylisPlugins || lt, i = {}, s, a = [];
@@ -903,24 +903,24 @@ var st = function(A, r, n, o) {
903
903
  // this means we will ignore elements which don't have a space in them which
904
904
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
905
905
  document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
906
- function(u) {
907
- for (var m = u.getAttribute("data-emotion").split(" "), I = 1; I < m.length; I++)
908
- i[m[I]] = !0;
909
- a.push(u);
906
+ function(p) {
907
+ for (var b = p.getAttribute("data-emotion").split(" "), k = 1; k < b.length; k++)
908
+ i[b[k]] = !0;
909
+ a.push(p);
910
910
  }
911
911
  );
912
- var d, c = [it, at];
912
+ var c, d = [it, at];
913
913
  {
914
- var p, f = [K1, At(function(u) {
915
- p.insert(u);
916
- })], v = et(c.concat(o, f)), y = function(m) {
917
- return Me($1(m), v);
914
+ var u, f = [K1, At(function(p) {
915
+ u.insert(p);
916
+ })], v = et(d.concat(o, f)), x = function(b) {
917
+ return Me($1(b), v);
918
918
  };
919
- d = function(m, I, B, h) {
920
- p = B, y(m ? m + "{" + I.styles + "}" : I.styles), h && (C.inserted[I.name] = !0);
919
+ c = function(b, k, S, C) {
920
+ u = S, x(b ? b + "{" + k.styles + "}" : k.styles), C && (h.inserted[k.name] = !0);
921
921
  };
922
922
  }
923
- var C = {
923
+ var h = {
924
924
  key: r,
925
925
  sheet: new Q1({
926
926
  key: r,
@@ -933,9 +933,9 @@ var st = function(A, r, n, o) {
933
933
  nonce: A.nonce,
934
934
  inserted: i,
935
935
  registered: {},
936
- insert: d
936
+ insert: c
937
937
  };
938
- return C.sheet.hydrate(a), C;
938
+ return h.sheet.hydrate(a), h;
939
939
  }, tA = { exports: {} }, Z = {};
940
940
  /** @license React v16.13.1
941
941
  * react-is.production.min.js
@@ -949,15 +949,15 @@ var pr;
949
949
  function dt() {
950
950
  if (pr) return Z;
951
951
  pr = 1;
952
- var e = typeof Symbol == "function" && Symbol.for, A = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
953
- function h(l) {
952
+ var e = typeof Symbol == "function" && Symbol.for, A = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
953
+ function C(l) {
954
954
  if (typeof l == "object" && l !== null) {
955
- var S = l.$$typeof;
956
- switch (S) {
955
+ var I = l.$$typeof;
956
+ switch (I) {
957
957
  case A:
958
958
  switch (l = l.type, l) {
959
- case d:
960
959
  case c:
960
+ case d:
961
961
  case n:
962
962
  case i:
963
963
  case o:
@@ -966,50 +966,50 @@ function dt() {
966
966
  default:
967
967
  switch (l = l && l.$$typeof, l) {
968
968
  case a:
969
- case p:
970
- case C:
971
- case y:
969
+ case u:
970
+ case h:
971
+ case x:
972
972
  case s:
973
973
  return l;
974
974
  default:
975
- return S;
975
+ return I;
976
976
  }
977
977
  }
978
978
  case r:
979
- return S;
979
+ return I;
980
980
  }
981
981
  }
982
982
  }
983
- function w(l) {
984
- return h(l) === c;
983
+ function y(l) {
984
+ return C(l) === d;
985
985
  }
986
- return Z.AsyncMode = d, Z.ConcurrentMode = c, Z.ContextConsumer = a, Z.ContextProvider = s, Z.Element = A, Z.ForwardRef = p, Z.Fragment = n, Z.Lazy = C, Z.Memo = y, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = f, Z.isAsyncMode = function(l) {
987
- return w(l) || h(l) === d;
988
- }, Z.isConcurrentMode = w, Z.isContextConsumer = function(l) {
989
- return h(l) === a;
986
+ return Z.AsyncMode = c, Z.ConcurrentMode = d, Z.ContextConsumer = a, Z.ContextProvider = s, Z.Element = A, Z.ForwardRef = u, Z.Fragment = n, Z.Lazy = h, Z.Memo = x, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = f, Z.isAsyncMode = function(l) {
987
+ return y(l) || C(l) === c;
988
+ }, Z.isConcurrentMode = y, Z.isContextConsumer = function(l) {
989
+ return C(l) === a;
990
990
  }, Z.isContextProvider = function(l) {
991
- return h(l) === s;
991
+ return C(l) === s;
992
992
  }, Z.isElement = function(l) {
993
993
  return typeof l == "object" && l !== null && l.$$typeof === A;
994
994
  }, Z.isForwardRef = function(l) {
995
- return h(l) === p;
995
+ return C(l) === u;
996
996
  }, Z.isFragment = function(l) {
997
- return h(l) === n;
997
+ return C(l) === n;
998
998
  }, Z.isLazy = function(l) {
999
- return h(l) === C;
999
+ return C(l) === h;
1000
1000
  }, Z.isMemo = function(l) {
1001
- return h(l) === y;
1001
+ return C(l) === x;
1002
1002
  }, Z.isPortal = function(l) {
1003
- return h(l) === r;
1003
+ return C(l) === r;
1004
1004
  }, Z.isProfiler = function(l) {
1005
- return h(l) === i;
1005
+ return C(l) === i;
1006
1006
  }, Z.isStrictMode = function(l) {
1007
- return h(l) === o;
1007
+ return C(l) === o;
1008
1008
  }, Z.isSuspense = function(l) {
1009
- return h(l) === f;
1009
+ return C(l) === f;
1010
1010
  }, Z.isValidElementType = function(l) {
1011
- return typeof l == "string" || typeof l == "function" || l === n || l === c || l === i || l === o || l === f || l === v || typeof l == "object" && l !== null && (l.$$typeof === C || l.$$typeof === y || l.$$typeof === s || l.$$typeof === a || l.$$typeof === p || l.$$typeof === m || l.$$typeof === I || l.$$typeof === B || l.$$typeof === u);
1012
- }, Z.typeOf = h, Z;
1011
+ return typeof l == "string" || typeof l == "function" || l === n || l === d || l === i || l === o || l === f || l === v || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === x || l.$$typeof === s || l.$$typeof === a || l.$$typeof === u || l.$$typeof === b || l.$$typeof === k || l.$$typeof === S || l.$$typeof === p);
1012
+ }, Z.typeOf = C, Z;
1013
1013
  }
1014
1014
  var j = {};
1015
1015
  /** @license React v16.13.1
@@ -1023,20 +1023,20 @@ var j = {};
1023
1023
  var ur;
1024
1024
  function pt() {
1025
1025
  return ur || (ur = 1, process.env.NODE_ENV !== "production" && function() {
1026
- var e = typeof Symbol == "function" && Symbol.for, A = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
1027
- function h(R) {
1028
- return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1029
- R === n || R === c || R === i || R === o || R === f || R === v || typeof R == "object" && R !== null && (R.$$typeof === C || R.$$typeof === y || R.$$typeof === s || R.$$typeof === a || R.$$typeof === p || R.$$typeof === m || R.$$typeof === I || R.$$typeof === B || R.$$typeof === u);
1026
+ var e = typeof Symbol == "function" && Symbol.for, A = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1027
+ function C(B) {
1028
+ return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1029
+ B === n || B === d || B === i || B === o || B === f || B === v || typeof B == "object" && B !== null && (B.$$typeof === h || B.$$typeof === x || B.$$typeof === s || B.$$typeof === a || B.$$typeof === u || B.$$typeof === b || B.$$typeof === k || B.$$typeof === S || B.$$typeof === p);
1030
1030
  }
1031
- function w(R) {
1032
- if (typeof R == "object" && R !== null) {
1033
- var wA = R.$$typeof;
1031
+ function y(B) {
1032
+ if (typeof B == "object" && B !== null) {
1033
+ var wA = B.$$typeof;
1034
1034
  switch (wA) {
1035
1035
  case A:
1036
- var eA = R.type;
1036
+ var eA = B.type;
1037
1037
  switch (eA) {
1038
- case d:
1039
1038
  case c:
1039
+ case d:
1040
1040
  case n:
1041
1041
  case i:
1042
1042
  case o:
@@ -1046,9 +1046,9 @@ function pt() {
1046
1046
  var nr = eA && eA.$$typeof;
1047
1047
  switch (nr) {
1048
1048
  case a:
1049
- case p:
1050
- case C:
1051
- case y:
1049
+ case u:
1050
+ case h:
1051
+ case x:
1052
1052
  case s:
1053
1053
  return nr;
1054
1054
  default:
@@ -1060,47 +1060,47 @@ function pt() {
1060
1060
  }
1061
1061
  }
1062
1062
  }
1063
- var l = d, S = c, E = a, H = s, L = A, $ = p, k = n, P = C, U = y, Y = r, K = i, N = o, _ = f, G = !1;
1064
- function Ae(R) {
1065
- return G || (G = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(R) || w(R) === d;
1063
+ var l = c, I = d, E = a, H = s, D = A, X = u, V = n, W = h, G = x, K = r, P = i, R = o, U = f, z = !1;
1064
+ function Ae(B) {
1065
+ return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(B) || y(B) === c;
1066
1066
  }
1067
- function g(R) {
1068
- return w(R) === c;
1067
+ function g(B) {
1068
+ return y(B) === d;
1069
1069
  }
1070
- function b(R) {
1071
- return w(R) === a;
1070
+ function w(B) {
1071
+ return y(B) === a;
1072
1072
  }
1073
- function M(R) {
1074
- return w(R) === s;
1073
+ function M(B) {
1074
+ return y(B) === s;
1075
1075
  }
1076
- function O(R) {
1077
- return typeof R == "object" && R !== null && R.$$typeof === A;
1076
+ function O(B) {
1077
+ return typeof B == "object" && B !== null && B.$$typeof === A;
1078
1078
  }
1079
- function D(R) {
1080
- return w(R) === p;
1079
+ function L(B) {
1080
+ return y(B) === u;
1081
1081
  }
1082
- function te(R) {
1083
- return w(R) === n;
1082
+ function te(B) {
1083
+ return y(B) === n;
1084
1084
  }
1085
- function ae(R) {
1086
- return w(R) === C;
1085
+ function ae(B) {
1086
+ return y(B) === h;
1087
1087
  }
1088
- function be(R) {
1089
- return w(R) === y;
1088
+ function be(B) {
1089
+ return y(B) === x;
1090
1090
  }
1091
- function q(R) {
1092
- return w(R) === r;
1091
+ function $(B) {
1092
+ return y(B) === r;
1093
1093
  }
1094
- function ve(R) {
1095
- return w(R) === i;
1094
+ function ve(B) {
1095
+ return y(B) === i;
1096
1096
  }
1097
- function Oe(R) {
1098
- return w(R) === o;
1097
+ function Oe(B) {
1098
+ return y(B) === o;
1099
1099
  }
1100
- function yA(R) {
1101
- return w(R) === f;
1100
+ function yA(B) {
1101
+ return y(B) === f;
1102
1102
  }
1103
- j.AsyncMode = l, j.ConcurrentMode = S, j.ContextConsumer = E, j.ContextProvider = H, j.Element = L, j.ForwardRef = $, j.Fragment = k, j.Lazy = P, j.Memo = U, j.Portal = Y, j.Profiler = K, j.StrictMode = N, j.Suspense = _, j.isAsyncMode = Ae, j.isConcurrentMode = g, j.isContextConsumer = b, j.isContextProvider = M, j.isElement = O, j.isForwardRef = D, j.isFragment = te, j.isLazy = ae, j.isMemo = be, j.isPortal = q, j.isProfiler = ve, j.isStrictMode = Oe, j.isSuspense = yA, j.isValidElementType = h, j.typeOf = w;
1103
+ j.AsyncMode = l, j.ConcurrentMode = I, j.ContextConsumer = E, j.ContextProvider = H, j.Element = D, j.ForwardRef = X, j.Fragment = V, j.Lazy = W, j.Memo = G, j.Portal = K, j.Profiler = P, j.StrictMode = R, j.Suspense = U, j.isAsyncMode = Ae, j.isConcurrentMode = g, j.isContextConsumer = w, j.isContextProvider = M, j.isElement = O, j.isForwardRef = L, j.isFragment = te, j.isLazy = ae, j.isMemo = be, j.isPortal = $, j.isProfiler = ve, j.isStrictMode = Oe, j.isSuspense = yA, j.isValidElementType = C, j.typeOf = y;
1104
1104
  }()), j;
1105
1105
  }
1106
1106
  var fr;
@@ -1146,32 +1146,32 @@ function ft() {
1146
1146
  type: !0
1147
1147
  }, i = {};
1148
1148
  i[e.ForwardRef] = n, i[e.Memo] = o;
1149
- function s(C) {
1150
- return e.isMemo(C) ? o : i[C.$$typeof] || A;
1149
+ function s(h) {
1150
+ return e.isMemo(h) ? o : i[h.$$typeof] || A;
1151
1151
  }
1152
- var a = Object.defineProperty, d = Object.getOwnPropertyNames, c = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, f = Object.getPrototypeOf, v = Object.prototype;
1153
- function y(C, u, m) {
1154
- if (typeof u != "string") {
1152
+ var a = Object.defineProperty, c = Object.getOwnPropertyNames, d = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, f = Object.getPrototypeOf, v = Object.prototype;
1153
+ function x(h, p, b) {
1154
+ if (typeof p != "string") {
1155
1155
  if (v) {
1156
- var I = f(u);
1157
- I && I !== v && y(C, I, m);
1156
+ var k = f(p);
1157
+ k && k !== v && x(h, k, b);
1158
1158
  }
1159
- var B = d(u);
1160
- c && (B = B.concat(c(u)));
1161
- for (var h = s(C), w = s(u), l = 0; l < B.length; ++l) {
1162
- var S = B[l];
1163
- if (!r[S] && !(m && m[S]) && !(w && w[S]) && !(h && h[S])) {
1164
- var E = p(u, S);
1159
+ var S = c(p);
1160
+ d && (S = S.concat(d(p)));
1161
+ for (var C = s(h), y = s(p), l = 0; l < S.length; ++l) {
1162
+ var I = S[l];
1163
+ if (!r[I] && !(b && b[I]) && !(y && y[I]) && !(C && C[I])) {
1164
+ var E = u(p, I);
1165
1165
  try {
1166
- a(C, S, E);
1166
+ a(h, I, E);
1167
1167
  } catch {
1168
1168
  }
1169
1169
  }
1170
1170
  }
1171
1171
  }
1172
- return C;
1172
+ return h;
1173
1173
  }
1174
- return EA = y, EA;
1174
+ return EA = x, EA;
1175
1175
  }
1176
1176
  ft();
1177
1177
  var gt = !0;
@@ -1326,14 +1326,14 @@ function $e(e, A, r) {
1326
1326
  }
1327
1327
  case "function": {
1328
1328
  if (e !== void 0) {
1329
- var d = xe, c = r(e);
1330
- return xe = d, $e(e, A, c);
1329
+ var c = xe, d = r(e);
1330
+ return xe = c, $e(e, A, d);
1331
1331
  }
1332
1332
  break;
1333
1333
  }
1334
1334
  }
1335
- var p = r;
1336
- return p;
1335
+ var u = r;
1336
+ return u;
1337
1337
  }
1338
1338
  function wt(e, A, r) {
1339
1339
  var n = "";
@@ -1347,18 +1347,18 @@ function wt(e, A, r) {
1347
1347
  var a = s;
1348
1348
  hr(a) && (n += IA(i) + ":" + Cr(i, a) + ";");
1349
1349
  } else if (Array.isArray(s) && typeof s[0] == "string" && A == null)
1350
- for (var d = 0; d < s.length; d++)
1351
- hr(s[d]) && (n += IA(i) + ":" + Cr(i, s[d]) + ";");
1350
+ for (var c = 0; c < s.length; c++)
1351
+ hr(s[c]) && (n += IA(i) + ":" + Cr(i, s[c]) + ";");
1352
1352
  else {
1353
- var c = $e(e, A, s);
1353
+ var d = $e(e, A, s);
1354
1354
  switch (i) {
1355
1355
  case "animation":
1356
1356
  case "animationName": {
1357
- n += IA(i) + ":" + c + ";";
1357
+ n += IA(i) + ":" + d + ";";
1358
1358
  break;
1359
1359
  }
1360
1360
  default:
1361
- n += i + "{" + c + "}";
1361
+ n += i + "{" + d + "}";
1362
1362
  }
1363
1363
  }
1364
1364
  }
@@ -1379,13 +1379,13 @@ function vt(e, A, r) {
1379
1379
  }
1380
1380
  for (var a = 1; a < e.length; a++)
1381
1381
  if (o += $e(r, A, e[a]), n) {
1382
- var d = i;
1383
- o += d[a];
1382
+ var c = i;
1383
+ o += c[a];
1384
1384
  }
1385
1385
  xr.lastIndex = 0;
1386
- for (var c = "", p; (p = xr.exec(o)) !== null; )
1387
- c += "-" + p[1];
1388
- var f = xt(o) + c;
1386
+ for (var d = "", u; (u = xr.exec(o)) !== null; )
1387
+ d += "-" + u[1];
1388
+ var f = xt(o) + d;
1389
1389
  return {
1390
1390
  name: f,
1391
1391
  styles: o,
@@ -1428,17 +1428,17 @@ var St = function(A) {
1428
1428
  typeof e.className == "string" ? s = ht(A.registered, i, e.className) : e.className != null && (s = e.className + " ");
1429
1429
  var a = vt(i, void 0, ye.useContext(Bt));
1430
1430
  s += A.key + "-" + a.name;
1431
- var d = {};
1432
- for (var c in e)
1433
- bA.call(e, c) && c !== "css" && c !== QA && (d[c] = e[c]);
1434
- return d.className = s, r && (d.ref = r), /* @__PURE__ */ ye.createElement(ye.Fragment, null, /* @__PURE__ */ ye.createElement(Rt, {
1431
+ var c = {};
1432
+ for (var d in e)
1433
+ bA.call(e, d) && d !== "css" && d !== QA && (c[d] = e[d]);
1434
+ return c.className = s, r && (c.ref = r), /* @__PURE__ */ ye.createElement(ye.Fragment, null, /* @__PURE__ */ ye.createElement(Rt, {
1435
1435
  cache: A,
1436
1436
  serialized: a,
1437
1437
  isStringTag: typeof o == "string"
1438
- }), /* @__PURE__ */ ye.createElement(o, d));
1438
+ }), /* @__PURE__ */ ye.createElement(o, c));
1439
1439
  }), Xr = Mt, he = Ge.Fragment, t = function(A, r, n) {
1440
1440
  return bA.call(r, "css") ? Ge.jsx(Xr, qr(A, r), n) : Ge.jsx(A, r, n);
1441
- }, x = function(A, r, n) {
1441
+ }, m = function(A, r, n) {
1442
1442
  return bA.call(r, "css") ? Ge.jsxs(Xr, qr(A, r), n) : Ge.jsxs(A, r, n);
1443
1443
  };
1444
1444
  const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = () => {
@@ -1451,8 +1451,8 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1451
1451
  ), n = oe(
1452
1452
  (s) => s || e.text.primary,
1453
1453
  [e.text.primary]
1454
- ), o = oe(async (s, a, d) => {
1455
- if (d)
1454
+ ), o = oe(async (s, a, c) => {
1455
+ if (c)
1456
1456
  return import("./tracktor-logo-BZpNIZuZ.js");
1457
1457
  switch (s) {
1458
1458
  case "supplier":
@@ -1466,19 +1466,19 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1466
1466
  ({
1467
1467
  variant: s,
1468
1468
  width: a,
1469
- height: d,
1470
- withoutText: c
1471
- }) => c ? {
1469
+ height: c,
1470
+ withoutText: d
1471
+ }) => d ? {
1472
1472
  height: mr,
1473
1473
  width: mr
1474
1474
  } : s === "default" ? {
1475
- height: d || Pt,
1475
+ height: c || Pt,
1476
1476
  width: a || Tt
1477
1477
  } : s === "supplier" ? {
1478
- height: d || Lt,
1478
+ height: c || Lt,
1479
1479
  width: a || Dt
1480
1480
  } : {
1481
- height: d || Ht,
1481
+ height: c || Ht,
1482
1482
  width: a || Ot
1483
1483
  },
1484
1484
  []
@@ -1490,59 +1490,59 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1490
1490
  getSize: i,
1491
1491
  getTextColor: A
1492
1492
  };
1493
- }, Vt = ({ colorShape: e, shapeBackgroundColor: A, color: r, height: n, width: o, withoutText: i, mode: s, sx: a, variant: d = "default", component: c = "img" }, p) => {
1494
- const [f, v] = W(""), { palette: y } = fe(), { getTextColor: C, getImageModule: u, getSize: m, getShapeColor: I, getShapeBackgroundColor: B } = Qt(), { height: h, width: w } = m({ height: n, variant: d, width: o, withoutText: i }), l = C(r), S = I(e), E = B(A);
1493
+ }, Vt = ({ colorShape: e, shapeBackgroundColor: A, color: r, height: n, width: o, withoutText: i, mode: s, sx: a, variant: c = "default", component: d = "img" }, u) => {
1494
+ const [f, v] = q(""), { palette: x } = fe(), { getTextColor: h, getImageModule: p, getSize: b, getShapeColor: k, getShapeBackgroundColor: S } = Qt(), { height: C, width: y } = b({ height: n, variant: c, width: o, withoutText: i }), l = h(r), I = k(e), E = S(A);
1495
1495
  if (qA(() => {
1496
- c !== "svg" && (async () => {
1497
- const H = await u(d, s || y.mode, i);
1496
+ d !== "svg" && (async () => {
1497
+ const H = await p(c, s || x.mode, i);
1498
1498
  H?.default && typeof H.default == "string" && v(H.default);
1499
1499
  })();
1500
- }, [c, u, s, y.mode, d, i]), c === "img")
1500
+ }, [d, p, s, x.mode, c, i]), d === "img")
1501
1501
  return f ? /* @__PURE__ */ t(
1502
1502
  T,
1503
1503
  {
1504
1504
  component: "img",
1505
1505
  src: f,
1506
1506
  alt: "Tracktor",
1507
- height: h,
1508
- width: w,
1509
- ref: p,
1507
+ height: C,
1508
+ width: y,
1509
+ ref: u,
1510
1510
  sx: a
1511
1511
  }
1512
1512
  ) : /* @__PURE__ */ t(
1513
1513
  ce,
1514
1514
  {
1515
1515
  variant: "rounded",
1516
- ref: p,
1516
+ ref: u,
1517
1517
  sx: {
1518
1518
  display: "inline-block",
1519
1519
  fontSize: 0,
1520
- height: h,
1521
- maxHeight: h,
1522
- maxWidth: w,
1523
- width: w
1520
+ height: C,
1521
+ maxHeight: C,
1522
+ maxWidth: y,
1523
+ width: y
1524
1524
  }
1525
1525
  }
1526
1526
  );
1527
1527
  if (i) {
1528
- const H = e || y.primary.main;
1529
- return /* @__PURE__ */ x(T, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: h, width: w, ...a }, children: [
1528
+ const H = e || x.primary.main;
1529
+ return /* @__PURE__ */ m(T, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: C, width: y, ...a }, children: [
1530
1530
  /* @__PURE__ */ t("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: H }),
1531
1531
  /* @__PURE__ */ t("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: H }),
1532
1532
  /* @__PURE__ */ t("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: H }),
1533
1533
  /* @__PURE__ */ t("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: H })
1534
1534
  ] });
1535
1535
  }
1536
- return d === "pricing" ? /* @__PURE__ */ x(
1536
+ return c === "pricing" ? /* @__PURE__ */ m(
1537
1537
  T,
1538
1538
  {
1539
1539
  component: "svg",
1540
1540
  viewBox: "0 0 147 44",
1541
1541
  fill: "none",
1542
- sx: { height: h, width: w, ...a },
1543
- ref: p,
1542
+ sx: { height: C, width: y, ...a },
1543
+ ref: u,
1544
1544
  children: [
1545
- /* @__PURE__ */ x("g", { clipPath: "url(#clip0_12018_69701)", children: [
1545
+ /* @__PURE__ */ m("g", { clipPath: "url(#clip0_12018_69701)", children: [
1546
1546
  /* @__PURE__ */ t(
1547
1547
  "path",
1548
1548
  {
@@ -1634,14 +1634,14 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1634
1634
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_12018_69701", children: /* @__PURE__ */ t("rect", { width: "147", height: "44", fill: "white" }) }) })
1635
1635
  ]
1636
1636
  }
1637
- ) : d === "supplier" ? /* @__PURE__ */ x(
1637
+ ) : c === "supplier" ? /* @__PURE__ */ m(
1638
1638
  T,
1639
1639
  {
1640
1640
  component: "svg",
1641
1641
  viewBox: "0 0 195 24",
1642
1642
  fill: "none",
1643
- sx: { height: h, width: w, ...a },
1644
- ref: p,
1643
+ sx: { height: C, width: y, ...a },
1644
+ ref: u,
1645
1645
  children: [
1646
1646
  /* @__PURE__ */ t(
1647
1647
  "path",
@@ -1650,21 +1650,21 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1650
1650
  fill: E
1651
1651
  }
1652
1652
  ),
1653
- /* @__PURE__ */ x("g", { clipPath: "url(#clip0_14141_226706)", children: [
1654
- /* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: S }),
1655
- /* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: S }),
1653
+ /* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226706)", children: [
1654
+ /* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: I }),
1655
+ /* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: I }),
1656
1656
  /* @__PURE__ */ t(
1657
1657
  "path",
1658
1658
  {
1659
1659
  d: "M11.6364 12.3619C11.6371 12.3619 11.6378 12.3619 11.6386 12.3619V20H4C4.00073 15.7816 7.41898 12.3619 11.6364 12.3619Z",
1660
- fill: S
1660
+ fill: I
1661
1661
  }
1662
1662
  ),
1663
1663
  /* @__PURE__ */ t(
1664
1664
  "path",
1665
1665
  {
1666
1666
  d: "M19.9978 12.3619C19.9986 12.3619 19.9993 12.3619 20 12.3619V20H12.3615C12.3622 15.7816 15.7804 12.3619 19.9978 12.3619Z",
1667
- fill: S
1667
+ fill: I
1668
1668
  }
1669
1669
  )
1670
1670
  ] }),
@@ -1742,20 +1742,20 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1742
1742
  "path",
1743
1743
  {
1744
1744
  d: "M118.652 9.636V10.524H115.016V13.344H117.968V14.232H115.016V18H113.924V9.636H118.652ZM124.163 18.084C123.387 18.084 122.679 17.904 122.039 17.544C121.399 17.176 120.891 16.668 120.515 16.02C120.147 15.364 119.963 14.628 119.963 13.812C119.963 12.996 120.147 12.264 120.515 11.616C120.891 10.96 121.399 10.452 122.039 10.092C122.679 9.724 123.387 9.54 124.163 9.54C124.947 9.54 125.659 9.724 126.299 10.092C126.939 10.452 127.443 10.956 127.811 11.604C128.179 12.252 128.363 12.988 128.363 13.812C128.363 14.636 128.179 15.372 127.811 16.02C127.443 16.668 126.939 17.176 126.299 17.544C125.659 17.904 124.947 18.084 124.163 18.084ZM124.163 17.136C124.747 17.136 125.271 17 125.735 16.728C126.207 16.456 126.575 16.068 126.839 15.564C127.111 15.06 127.247 14.476 127.247 13.812C127.247 13.14 127.111 12.556 126.839 12.06C126.575 11.556 126.211 11.168 125.747 10.896C125.283 10.624 124.755 10.488 124.163 10.488C123.571 10.488 123.043 10.624 122.579 10.896C122.115 11.168 121.747 11.556 121.475 12.06C121.211 12.556 121.079 13.14 121.079 13.812C121.079 14.476 121.211 15.06 121.475 15.564C121.747 16.068 122.115 16.456 122.579 16.728C123.051 17 123.579 17.136 124.163 17.136ZM131.272 9.636V14.928C131.272 15.672 131.452 16.224 131.812 16.584C132.18 16.944 132.688 17.124 133.336 17.124C133.976 17.124 134.476 16.944 134.836 16.584C135.204 16.224 135.388 15.672 135.388 14.928V9.636H136.48V14.916C136.48 15.612 136.34 16.2 136.06 16.68C135.78 17.152 135.4 17.504 134.92 17.736C134.448 17.968 133.916 18.084 133.324 18.084C132.732 18.084 132.196 17.968 131.716 17.736C131.244 17.504 130.868 17.152 130.588 16.68C130.316 16.2 130.18 15.612 130.18 14.916V9.636H131.272ZM143.106 18L141.114 14.58H139.794V18H138.702V9.636H141.402C142.034 9.636 142.566 9.744 142.998 9.96C143.438 10.176 143.766 10.468 143.982 10.836C144.198 11.204 144.306 11.624 144.306 12.096C144.306 12.672 144.138 13.18 143.802 13.62C143.474 14.06 142.978 14.352 142.314 14.496L144.414 18H143.106ZM139.794 13.704H141.402C141.994 13.704 142.438 13.56 142.734 13.272C143.03 12.976 143.178 12.584 143.178 12.096C143.178 11.6 143.03 11.216 142.734 10.944C142.446 10.672 142.002 10.536 141.402 10.536H139.794V13.704ZM152.979 18H151.887L147.495 11.34V18H146.403V9.624H147.495L151.887 16.272V9.624H152.979V18ZM156.332 9.636V18H155.24V9.636H156.332ZM161.246 18.084C160.694 18.084 160.198 17.988 159.758 17.796C159.326 17.596 158.986 17.324 158.738 16.98C158.49 16.628 158.362 16.224 158.354 15.768H159.518C159.558 16.16 159.718 16.492 159.998 16.764C160.286 17.028 160.702 17.16 161.246 17.16C161.766 17.16 162.174 17.032 162.47 16.776C162.774 16.512 162.926 16.176 162.926 15.768C162.926 15.448 162.838 15.188 162.662 14.988C162.486 14.788 162.266 14.636 162.002 14.532C161.738 14.428 161.382 14.316 160.934 14.196C160.382 14.052 159.938 13.908 159.602 13.764C159.274 13.62 158.99 13.396 158.75 13.092C158.518 12.78 158.402 12.364 158.402 11.844C158.402 11.388 158.518 10.984 158.75 10.632C158.982 10.28 159.306 10.008 159.722 9.816C160.146 9.624 160.63 9.528 161.174 9.528C161.958 9.528 162.598 9.724 163.094 10.116C163.598 10.508 163.882 11.028 163.946 11.676H162.746C162.706 11.356 162.538 11.076 162.242 10.836C161.946 10.588 161.554 10.464 161.066 10.464C160.61 10.464 160.238 10.584 159.95 10.824C159.662 11.056 159.518 11.384 159.518 11.808C159.518 12.112 159.602 12.36 159.77 12.552C159.946 12.744 160.158 12.892 160.406 12.996C160.662 13.092 161.018 13.204 161.474 13.332C162.026 13.484 162.47 13.636 162.806 13.788C163.142 13.932 163.43 14.16 163.67 14.472C163.91 14.776 164.03 15.192 164.03 15.72C164.03 16.128 163.922 16.512 163.706 16.872C163.49 17.232 163.17 17.524 162.746 17.748C162.322 17.972 161.822 18.084 161.246 18.084ZM168.688 18.084C168.136 18.084 167.64 17.988 167.2 17.796C166.768 17.596 166.428 17.324 166.18 16.98C165.932 16.628 165.804 16.224 165.796 15.768H166.96C167 16.16 167.16 16.492 167.44 16.764C167.728 17.028 168.144 17.16 168.688 17.16C169.208 17.16 169.616 17.032 169.912 16.776C170.216 16.512 170.368 16.176 170.368 15.768C170.368 15.448 170.28 15.188 170.104 14.988C169.928 14.788 169.708 14.636 169.444 14.532C169.18 14.428 168.824 14.316 168.376 14.196C167.824 14.052 167.38 13.908 167.044 13.764C166.716 13.62 166.432 13.396 166.192 13.092C165.96 12.78 165.844 12.364 165.844 11.844C165.844 11.388 165.96 10.984 166.192 10.632C166.424 10.28 166.748 10.008 167.164 9.816C167.588 9.624 168.072 9.528 168.616 9.528C169.4 9.528 170.04 9.724 170.536 10.116C171.04 10.508 171.324 11.028 171.388 11.676H170.188C170.148 11.356 169.98 11.076 169.684 10.836C169.388 10.588 168.996 10.464 168.508 10.464C168.052 10.464 167.68 10.584 167.392 10.824C167.104 11.056 166.96 11.384 166.96 11.808C166.96 12.112 167.044 12.36 167.212 12.552C167.388 12.744 167.6 12.892 167.848 12.996C168.104 13.092 168.46 13.204 168.916 13.332C169.468 13.484 169.912 13.636 170.248 13.788C170.584 13.932 170.872 14.16 171.112 14.472C171.352 14.776 171.472 15.192 171.472 15.72C171.472 16.128 171.364 16.512 171.148 16.872C170.932 17.232 170.612 17.524 170.188 17.748C169.764 17.972 169.264 18.084 168.688 18.084ZM174.571 10.524V13.32H177.619V14.22H174.571V17.1H177.979V18H173.479V9.624H177.979V10.524H174.571ZM181.1 9.636V14.928C181.1 15.672 181.28 16.224 181.64 16.584C182.008 16.944 182.516 17.124 183.164 17.124C183.804 17.124 184.304 16.944 184.664 16.584C185.032 16.224 185.216 15.672 185.216 14.928V9.636H186.308V14.916C186.308 15.612 186.168 16.2 185.888 16.68C185.608 17.152 185.228 17.504 184.748 17.736C184.276 17.968 183.744 18.084 183.152 18.084C182.56 18.084 182.024 17.968 181.544 17.736C181.072 17.504 180.696 17.152 180.416 16.68C180.144 16.2 180.008 15.612 180.008 14.916V9.636H181.1ZM192.933 18L190.941 14.58H189.621V18H188.529V9.636H191.229C191.861 9.636 192.393 9.744 192.825 9.96C193.265 10.176 193.593 10.468 193.809 10.836C194.025 11.204 194.133 11.624 194.133 12.096C194.133 12.672 193.965 13.18 193.629 13.62C193.301 14.06 192.805 14.352 192.141 14.496L194.241 18H192.933ZM189.621 13.704H191.229C191.821 13.704 192.265 13.56 192.561 13.272C192.857 12.976 193.005 12.584 193.005 12.096C193.005 11.6 192.857 11.216 192.561 10.944C192.273 10.672 191.829 10.536 191.229 10.536H189.621V13.704Z",
1745
- fill: y.text.secondary
1745
+ fill: x.text.secondary
1746
1746
  }
1747
1747
  ),
1748
1748
  /* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ t("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
1749
1749
  ]
1750
1750
  }
1751
- ) : /* @__PURE__ */ x(
1751
+ ) : /* @__PURE__ */ m(
1752
1752
  T,
1753
1753
  {
1754
1754
  component: "svg",
1755
1755
  viewBox: "0 0 105 24",
1756
1756
  fill: "none",
1757
- sx: { height: h, width: w, ...a },
1758
- ref: p,
1757
+ sx: { height: C, width: y, ...a },
1758
+ ref: u,
1759
1759
  children: [
1760
1760
  /* @__PURE__ */ t(
1761
1761
  "path",
@@ -1764,21 +1764,21 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1764
1764
  fill: E
1765
1765
  }
1766
1766
  ),
1767
- /* @__PURE__ */ x("g", { clipPath: "url(#clip0_14141_226601)", children: [
1768
- /* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: S }),
1769
- /* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: S }),
1767
+ /* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226601)", children: [
1768
+ /* @__PURE__ */ t("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: I }),
1769
+ /* @__PURE__ */ t("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: I }),
1770
1770
  /* @__PURE__ */ t(
1771
1771
  "path",
1772
1772
  {
1773
1773
  d: "M11.6364 12.3619C11.6371 12.3619 11.6378 12.3619 11.6386 12.3619V20H4C4.00073 15.7816 7.41898 12.3619 11.6364 12.3619Z",
1774
- fill: S
1774
+ fill: I
1775
1775
  }
1776
1776
  ),
1777
1777
  /* @__PURE__ */ t(
1778
1778
  "path",
1779
1779
  {
1780
1780
  d: "M19.9978 12.3619C19.9986 12.3619 19.9993 12.3619 20 12.3619V20H12.3615C12.3622 15.7816 15.7804 12.3619 19.9978 12.3619Z",
1781
- fill: S
1781
+ fill: I
1782
1782
  }
1783
1783
  )
1784
1784
  ] }),
@@ -1878,7 +1878,7 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1878
1878
  }
1879
1879
  ), Un = ie(Nt), Zt = ({ className: e, style: A, minRows: r = 4, ...n }, o) => {
1880
1880
  const { palette: i, shape: s, spacing: a } = fe();
1881
- return /* @__PURE__ */ x(he, { children: [
1881
+ return /* @__PURE__ */ m(he, { children: [
1882
1882
  /* @__PURE__ */ t(
1883
1883
  ze,
1884
1884
  {
@@ -1917,8 +1917,8 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1917
1917
  gA,
1918
1918
  {
1919
1919
  onChange: (f) => {
1920
- const { target: v } = f, y = +v.value;
1921
- y <= o && y >= n && r?.(y);
1920
+ const { target: v } = f, x = +v.value;
1921
+ x <= o && x >= n && r?.(x);
1922
1922
  },
1923
1923
  autoComplete: "off",
1924
1924
  InputProps: {
@@ -1983,21 +1983,21 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
1983
1983
  },
1984
1984
  children: /* @__PURE__ */ t("path", { d: "M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z" })
1985
1985
  }
1986
- ), er = ({ url: e, end: A, children: r, active: n, state: o, component: i, disabled: s, onClick: a, target: d }) => {
1987
- const { closeDrawerMenu: c } = we(He), p = (f) => {
1988
- a?.(f), c?.();
1986
+ ), er = ({ url: e, end: A, children: r, active: n, state: o, component: i, disabled: s, onClick: a, target: c }) => {
1987
+ const { closeDrawerMenu: d } = we(He), u = (f) => {
1988
+ a?.(f), d?.();
1989
1989
  };
1990
- return s ? /* @__PURE__ */ t(J, { component: "div", color: "text.disabled", "aria-disabled": "true", onClick: p, children: r }) : i && e ? /* @__PURE__ */ t(i, { onClick: p, to: e, end: A, state: o, target: d, children: r }) : /* @__PURE__ */ t(
1990
+ return s ? /* @__PURE__ */ t(Y, { component: "div", color: "text.disabled", "aria-disabled": "true", onClick: u, children: r }) : i && e ? /* @__PURE__ */ t(i, { onClick: u, to: e, end: A, state: o, target: c, children: r }) : /* @__PURE__ */ t(
1991
1991
  T,
1992
1992
  {
1993
1993
  component: "a",
1994
1994
  href: e,
1995
- onClick: p,
1995
+ onClick: u,
1996
1996
  className: n ? "active" : void 0,
1997
1997
  "data-end": A,
1998
1998
  "data-state": o,
1999
1999
  sx: { cursor: "pointer" },
2000
- target: d,
2000
+ target: c,
2001
2001
  children: r
2002
2002
  }
2003
2003
  );
@@ -2075,7 +2075,7 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2075
2075
  NavLink: A,
2076
2076
  isCollapsed: r,
2077
2077
  sx: n
2078
- }) => /* @__PURE__ */ t(T, { sx: n?.bottomLink, children: /* @__PURE__ */ t(er, { component: A, ...e, children: /* @__PURE__ */ x(Q, { alignItems: "center", spacing: 1, direction: "row", children: [
2078
+ }) => /* @__PURE__ */ t(T, { sx: n?.bottomLink, children: /* @__PURE__ */ t(er, { component: A, ...e, children: /* @__PURE__ */ m(Q, { alignItems: "center", spacing: 1, direction: "row", children: [
2079
2079
  e?.icon && /* @__PURE__ */ t(T, { component: "span", sx: n.iconWrapper, children: e.icon }),
2080
2080
  e?.label && /* @__PURE__ */ t(UA, { in: !r, children: /* @__PURE__ */ t(T, { component: "span", display: "flex", children: e.label }) })
2081
2081
  ] }) }) }), yr = ({ children: e, ...A }) => {
@@ -2086,29 +2086,29 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2086
2086
  isTablet: i,
2087
2087
  isDrawerOpen: s,
2088
2088
  isCollapsed: a,
2089
- toggleCollapse: d,
2090
- sideBarWidth: c,
2091
- bottomLink: p,
2089
+ toggleCollapse: c,
2090
+ sideBarWidth: d,
2091
+ bottomLink: u,
2092
2092
  NavLink: f,
2093
2093
  Footer: v,
2094
- Search: y = A.Logo,
2095
- Logo: C = A.Logo
2096
- } = we(He), { palette: u } = fe(), m = u.mode === "dark" ? u.background.default : u.primary.black, I = o && s ? "none" : `solid 1px ${u.divider}`, h = r ? !(!o && !i) : !0;
2097
- return /* @__PURE__ */ x(
2094
+ Search: x = A.Logo,
2095
+ Logo: h = A.Logo
2096
+ } = we(He), { palette: p } = fe(), b = p.mode === "dark" ? p.background.default : p.primary.black, k = o && s ? "none" : `solid 1px ${p.divider}`, C = r ? !(!o && !i) : !0;
2097
+ return /* @__PURE__ */ m(
2098
2098
  T,
2099
2099
  {
2100
2100
  component: "aside",
2101
2101
  sx: {
2102
2102
  ...ke.container,
2103
- borderRight: I,
2103
+ borderRight: k,
2104
2104
  overflowX: "hidden",
2105
2105
  transform: "translateZ(0)",
2106
2106
  transition: "width 0.3s ease-in-out",
2107
- width: a ? 80 : c || "auto",
2107
+ width: a ? 80 : d || "auto",
2108
2108
  willChange: "width"
2109
2109
  },
2110
2110
  children: [
2111
- C && /* @__PURE__ */ x(
2111
+ h && /* @__PURE__ */ m(
2112
2112
  Q,
2113
2113
  {
2114
2114
  sx: {
@@ -2132,24 +2132,24 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2132
2132
  }
2133
2133
  }
2134
2134
  },
2135
- children: C
2135
+ children: h
2136
2136
  }
2137
2137
  ),
2138
- o && /* @__PURE__ */ t(ue, { onClick: n, children: /* @__PURE__ */ t(_e, { color: u.getContrastText(m) }) })
2138
+ o && /* @__PURE__ */ t(ue, { onClick: n, children: /* @__PURE__ */ t(_e, { color: p.getContrastText(b) }) })
2139
2139
  ]
2140
2140
  }
2141
2141
  ),
2142
- y && h && /* @__PURE__ */ t(T, { p: 2, children: y }),
2142
+ x && C && /* @__PURE__ */ t(T, { p: 2, children: x }),
2143
2143
  /* @__PURE__ */ t(T, { flex: 1, children: e }),
2144
- p && /* @__PURE__ */ t(Q, { sx: ke.bottomLinkWrapper, spacing: 1, whiteSpace: "nowrap", children: Array.isArray(p) ? p.map((w, l) => {
2145
- const S = typeof w == "object" && "url" in w ? `$${w.url}-${l}` : l;
2146
- return /* @__PURE__ */ t(br, { link: w, NavLink: f, isCollapsed: a, sx: ke }, S);
2147
- }) : /* @__PURE__ */ t(br, { link: p, NavLink: f, isCollapsed: a, sx: ke }) }),
2144
+ u && /* @__PURE__ */ t(Q, { sx: ke.bottomLinkWrapper, spacing: 1, whiteSpace: "nowrap", children: Array.isArray(u) ? u.map((y, l) => {
2145
+ const I = typeof y == "object" && "url" in y ? `$${y.url}-${l}` : l;
2146
+ return /* @__PURE__ */ t(br, { link: y, NavLink: f, isCollapsed: a, sx: ke }, I);
2147
+ }) : /* @__PURE__ */ t(br, { link: u, NavLink: f, isCollapsed: a, sx: ke }) }),
2148
2148
  /* @__PURE__ */ t(JA, {}),
2149
2149
  /* @__PURE__ */ t(T, { display: "flex", justifyContent: "flex-end", children: /* @__PURE__ */ t(
2150
2150
  ue,
2151
2151
  {
2152
- onClick: d,
2152
+ onClick: c,
2153
2153
  disableFocusRipple: !0,
2154
2154
  disableTouchRipple: !0,
2155
2155
  sx: {
@@ -2232,14 +2232,14 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2232
2232
  if (Ye(i))
2233
2233
  return i;
2234
2234
  if (i && typeof i == "object" && "label" in i) {
2235
- const { count: a, url: d, label: c, icon: p, active: f, disabled: v, target: y } = i, C = `${d}-${c}-${s}`;
2236
- return /* @__PURE__ */ t(Ie, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ t(er, { url: d, component: r, active: f, disabled: v, target: y, children: /* @__PURE__ */ x(Q, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2237
- p ? /* @__PURE__ */ t(T, { component: "div", sx: kA.iconWrapper, children: p }) : o && /* @__PURE__ */ t(T, { component: "div", sx: kA.iconWrapper, children: typeof c == "string" ? c.charAt(0) : "" }),
2238
- /* @__PURE__ */ t(UA, { in: !o, children: /* @__PURE__ */ x(Q, { direction: "row", justifyContent: "space-between", flex: 1, whiteSpace: "nowrap", children: [
2239
- c,
2235
+ const { count: a, url: c, label: d, icon: u, active: f, disabled: v, target: x } = i, h = `${c}-${d}-${s}`;
2236
+ return /* @__PURE__ */ t(Ie, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ t(er, { url: c, component: r, active: f, disabled: v, target: x, children: /* @__PURE__ */ m(Q, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2237
+ u ? /* @__PURE__ */ t(T, { component: "div", sx: kA.iconWrapper, children: u }) : o && /* @__PURE__ */ t(T, { component: "div", sx: kA.iconWrapper, children: typeof d == "string" ? d.charAt(0) : "" }),
2238
+ /* @__PURE__ */ t(UA, { in: !o, children: /* @__PURE__ */ m(Q, { direction: "row", justifyContent: "space-between", flex: 1, whiteSpace: "nowrap", children: [
2239
+ d,
2240
2240
  a && /* @__PURE__ */ t(Te, { color: "warning", size: "small", label: a, variant: "rounded" })
2241
2241
  ] }) })
2242
- ] }) }) }, C);
2242
+ ] }) }) }, h);
2243
2243
  }
2244
2244
  return null;
2245
2245
  }) }) });
@@ -2256,7 +2256,7 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2256
2256
  }
2257
2257
  }, He = hA(VA), Ut = () => {
2258
2258
  const { items: e, disableResponsive: A, isMobile: r, isTablet: n, isDrawerOpen: o, closeDrawerMenu: i, sideBarWidth: s, openDrawerMenu: a } = we(He);
2259
- return (r || n) && !A ? /* @__PURE__ */ x(he, { children: [
2259
+ return (r || n) && !A ? /* @__PURE__ */ m(he, { children: [
2260
2260
  /* @__PURE__ */ t(zt, {}),
2261
2261
  /* @__PURE__ */ t(l1, { anchor: "left", open: o, onClose: i, onOpen: a, children: /* @__PURE__ */ t(yr, { children: /* @__PURE__ */ t(wr, { items: e }) }) })
2262
2262
  ] }) : /* @__PURE__ */ t(yr, { width: s, children: /* @__PURE__ */ t(wr, { items: e }) });
@@ -2269,56 +2269,56 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2269
2269
  items: i,
2270
2270
  enableSearchFocusShortcut: s,
2271
2271
  disableResponsive: a,
2272
- hideSearchDesktop: d,
2273
- bottomLink: c,
2274
- sideBarWidth: p = 260
2272
+ hideSearchDesktop: c,
2273
+ bottomLink: d,
2274
+ sideBarWidth: u = 260
2275
2275
  }) => {
2276
- const { breakpoints: f } = fe(), v = Je(f.down("sm")), y = Je(f.between("sm", "md")), [C, u] = W(VA.isDrawerOpen), [m, I] = W(VA.isCollapsed), B = oe(() => {
2277
- u(!1);
2278
- }, []), h = oe(() => {
2279
- u(!0);
2280
- }, []), w = oe(() => {
2281
- I((S) => !S);
2276
+ const { breakpoints: f } = fe(), v = Je(f.down("sm")), x = Je(f.between("sm", "md")), [h, p] = q(VA.isDrawerOpen), [b, k] = q(VA.isCollapsed), S = oe(() => {
2277
+ p(!1);
2278
+ }, []), C = oe(() => {
2279
+ p(!0);
2280
+ }, []), y = oe(() => {
2281
+ k((I) => !I);
2282
2282
  }, []), l = We(
2283
2283
  () => ({
2284
2284
  AppBar: e,
2285
- bottomLink: c,
2286
- closeDrawerMenu: B,
2285
+ bottomLink: d,
2286
+ closeDrawerMenu: S,
2287
2287
  disableResponsive: a,
2288
2288
  enableSearchFocusShortcut: s,
2289
2289
  Footer: o,
2290
- hideSearchDesktop: d,
2291
- isCollapsed: m,
2292
- isDrawerOpen: C,
2290
+ hideSearchDesktop: c,
2291
+ isCollapsed: b,
2292
+ isDrawerOpen: h,
2293
2293
  isMobile: v,
2294
- isTablet: y,
2294
+ isTablet: x,
2295
2295
  items: i,
2296
2296
  Logo: n,
2297
2297
  NavLink: A,
2298
- openDrawerMenu: h,
2298
+ openDrawerMenu: C,
2299
2299
  Search: r,
2300
- sideBarWidth: p,
2301
- toggleCollapse: w
2300
+ sideBarWidth: u,
2301
+ toggleCollapse: y
2302
2302
  }),
2303
2303
  [
2304
- B,
2304
+ S,
2305
2305
  a,
2306
- C,
2306
+ h,
2307
2307
  v,
2308
- y,
2308
+ x,
2309
2309
  i,
2310
- h,
2311
- p,
2310
+ C,
2311
+ u,
2312
2312
  n,
2313
2313
  A,
2314
2314
  s,
2315
2315
  r,
2316
- d,
2317
2316
  c,
2317
+ d,
2318
2318
  e,
2319
2319
  o,
2320
- m,
2321
- w
2320
+ b,
2321
+ y
2322
2322
  ]
2323
2323
  );
2324
2324
  return /* @__PURE__ */ t(He.Provider, { value: l, children: /* @__PURE__ */ t(Ut, {}) });
@@ -2326,11 +2326,11 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2326
2326
  large: 80,
2327
2327
  medium: 50,
2328
2328
  small: 40
2329
- }, Gt = ({ children: e, ...A }, r) => /* @__PURE__ */ t(zA, { component: "li", ref: r, ...A, children: e }), qt = ie(Gt), Xt = ({ children: e, isEmpty: A, isLoading: r, emptyMessage: n, sx: o, height: i, onClick: s, size: a = "medium", ...d }, c) => r ? /* @__PURE__ */ t(ce, { width: "100%", variant: "rounded", height: i || vr[a], sx: { marginBottom: 1 }, ref: c, component: "li" }) : A ? /* @__PURE__ */ t(Ie, { disablePadding: !0, children: /* @__PURE__ */ t(YA, { severity: "info", sx: { width: "100%" }, ref: c, children: n || Wt }) }) : /* @__PURE__ */ t(
2329
+ }, Gt = ({ children: e, ...A }, r) => /* @__PURE__ */ t(zA, { component: "li", ref: r, ...A, children: e }), qt = ie(Gt), Xt = ({ children: e, isEmpty: A, isLoading: r, emptyMessage: n, sx: o, height: i, onClick: s, size: a = "medium", ...c }, d) => r ? /* @__PURE__ */ t(ce, { width: "100%", variant: "rounded", height: i || vr[a], sx: { marginBottom: 1 }, ref: d, component: "li" }) : A ? /* @__PURE__ */ t(Ie, { disablePadding: !0, children: /* @__PURE__ */ t(YA, { severity: "info", sx: { width: "100%" }, ref: d, children: n || Wt }) }) : /* @__PURE__ */ t(
2330
2330
  Ie,
2331
2331
  {
2332
2332
  component: qt,
2333
- ref: c,
2333
+ ref: d,
2334
2334
  onClick: s,
2335
2335
  sx: {
2336
2336
  alignItems: "center",
@@ -2347,12 +2347,12 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2347
2347
  },
2348
2348
  ...o
2349
2349
  },
2350
- ...d,
2350
+ ...c,
2351
2351
  children: /* @__PURE__ */ t(T, { flex: "auto", minWidth: 0, children: e })
2352
2352
  }
2353
2353
  ), qn = Qr(ie(Xt)), $t = ["warning", "info", "success", "error", "primary", "secondary"], _t = (e) => $t.includes(e), Kt = ({ color: e, sx: A, variant: r = "filled", fontSize: n = "medium" }, o) => {
2354
- const { palette: i } = fe(), s = i.mode === "dark" ? i.text.disabled : i.grey[400], a = e || s, d = _t(e) ? i?.[e]?.main : a, c = ge(d, 0.2);
2355
- return /* @__PURE__ */ x(
2354
+ const { palette: i } = fe(), s = i.mode === "dark" ? i.text.disabled : i.grey[400], a = e || s, c = _t(e) ? i?.[e]?.main : a, d = ge(c, 0.2);
2355
+ return /* @__PURE__ */ m(
2356
2356
  pe,
2357
2357
  {
2358
2358
  viewBox: "0 0 16 16",
@@ -2364,8 +2364,8 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2364
2364
  ...A
2365
2365
  },
2366
2366
  children: [
2367
- /* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "8", fill: r === "filled" ? c : "transparent" }),
2368
- r === "filled" ? /* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "4", fill: d }) : /* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "4", stroke: d, strokeWidth: "2", fill: "transparent" })
2367
+ /* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "8", fill: r === "filled" ? d : "transparent" }),
2368
+ r === "filled" ? /* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "4", fill: c }) : /* @__PURE__ */ t("circle", { cx: "8", cy: "8", r: "4", stroke: c, strokeWidth: "2", fill: "transparent" })
2369
2369
  ]
2370
2370
  }
2371
2371
  );
@@ -2404,13 +2404,13 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2404
2404
  endIcon: s
2405
2405
  }) => {
2406
2406
  const a = i || s;
2407
- return A && n ? /* @__PURE__ */ x(Q, { direction: n === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2407
+ return A && n ? /* @__PURE__ */ m(Q, { direction: n === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2408
2408
  /* @__PURE__ */ t(pA, { size: o, position: "relative", loadingPosition: n }),
2409
2409
  /* @__PURE__ */ t(T, { component: "span", children: e })
2410
- ] }) : A && !r && !a ? /* @__PURE__ */ x(he, { children: [
2410
+ ] }) : A && !r && !a ? /* @__PURE__ */ m(he, { children: [
2411
2411
  A && !r && /* @__PURE__ */ t(pA, { size: o }),
2412
2412
  /* @__PURE__ */ t(T, { component: "span", sx: { opacity: 0 }, children: e })
2413
- ] }) : A && r ? /* @__PURE__ */ x(he, { children: [
2413
+ ] }) : A && r ? /* @__PURE__ */ m(he, { children: [
2414
2414
  " ",
2415
2415
  r,
2416
2416
  " "
@@ -2423,9 +2423,9 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2423
2423
  isLoading: i,
2424
2424
  loadingIndicator: s,
2425
2425
  loadingPosition: a,
2426
- size: d,
2427
- variant: c,
2428
- startIcon: p,
2426
+ size: c,
2427
+ variant: d,
2428
+ startIcon: u,
2429
2429
  endIcon: f,
2430
2430
  ...v
2431
2431
  } = e;
@@ -2434,11 +2434,11 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2434
2434
  {
2435
2435
  disabled: n || i,
2436
2436
  ref: A,
2437
- size: d,
2438
- variant: c,
2439
- disableRipple: o || c === "link",
2440
- startIcon: i && p ? /* @__PURE__ */ t(pA, { position: "relative", size: d }) : p,
2441
- endIcon: i && f ? /* @__PURE__ */ t(pA, { position: "relative", size: d }) : f,
2437
+ size: c,
2438
+ variant: d,
2439
+ disableRipple: o || d === "link",
2440
+ startIcon: i && u ? /* @__PURE__ */ t(pA, { position: "relative", size: c }) : u,
2441
+ endIcon: i && f ? /* @__PURE__ */ t(pA, { position: "relative", size: c }) : f,
2442
2442
  ...v,
2443
2443
  children: /* @__PURE__ */ t(
2444
2444
  An,
@@ -2446,8 +2446,8 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2446
2446
  isLoading: i,
2447
2447
  loadingIndicator: s,
2448
2448
  loadingPosition: a,
2449
- size: d,
2450
- startIcon: p,
2449
+ size: c,
2450
+ startIcon: u,
2451
2451
  endIcon: f,
2452
2452
  children: r
2453
2453
  }
@@ -2455,23 +2455,23 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2455
2455
  }
2456
2456
  );
2457
2457
  }, Er = ie(rn), _r = ({ children: e, open: A, onClose: r, src: n, ...o }) => {
2458
- const [i, s] = W(!1), a = () => {
2458
+ const [i, s] = q(!1), a = () => {
2459
2459
  s(!0);
2460
- }, d = (c, p) => (c && (r?.(c, p), s(!1)), (f) => {
2461
- r?.(f, p), s(!1);
2460
+ }, c = (d, u) => (d && (r?.(d, u), s(!1)), (f) => {
2461
+ r?.(f, u), s(!1);
2462
2462
  });
2463
- return /* @__PURE__ */ t(c1, { open: A, onClose: d, ...o, children: /* @__PURE__ */ x(T, { children: [
2463
+ return /* @__PURE__ */ t(c1, { open: A, onClose: c, ...o, children: /* @__PURE__ */ m(T, { children: [
2464
2464
  /* @__PURE__ */ t(
2465
2465
  ue,
2466
2466
  {
2467
2467
  size: "small",
2468
2468
  "aria-label": "close",
2469
- onClick: d(void 0, "closeButton"),
2469
+ onClick: c(void 0, "closeButton"),
2470
2470
  sx: {
2471
2471
  "&:hover": {
2472
- background: ({ palette: c }) => c.augmentColor({ color: { main: c.background.default } }).light
2472
+ background: ({ palette: d }) => d.augmentColor({ color: { main: d.background.default } }).light
2473
2473
  },
2474
- background: ({ palette: c }) => c.background.default,
2474
+ background: ({ palette: d }) => d.background.default,
2475
2475
  fontSize: 35,
2476
2476
  height: 30,
2477
2477
  position: "absolute",
@@ -2512,17 +2512,17 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2512
2512
  },
2513
2513
  children: /* @__PURE__ */ t(_e, {})
2514
2514
  }
2515
- ), nn = ({ children: e, value: A, index: r, orientation: n, paddingY: o, paddingX: i, fullHeight: s, sx: a }, d) => {
2516
- const c = o || 3, p = i || n === "vertical" ? 3 : 0;
2515
+ ), nn = ({ children: e, value: A, index: r, orientation: n, paddingY: o, paddingX: i, fullHeight: s, sx: a }, c) => {
2516
+ const d = o || 3, u = i || n === "vertical" ? 3 : 0;
2517
2517
  return A === r ? /* @__PURE__ */ t(
2518
2518
  T,
2519
2519
  {
2520
- ref: d,
2520
+ ref: c,
2521
2521
  role: "tabpanel",
2522
2522
  hidden: A !== r,
2523
2523
  id: `tabpanel-${r}`,
2524
- paddingY: c,
2525
- paddingX: p,
2524
+ paddingY: d,
2525
+ paddingX: u,
2526
2526
  height: s ? "100%" : void 0,
2527
2527
  sx: a,
2528
2528
  children: e
@@ -2534,7 +2534,7 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2534
2534
  emptyText: r,
2535
2535
  typographyProps: n = { color: "text.secondary", variant: "body2" },
2536
2536
  skeletonProps: o
2537
- }) => e ? /* @__PURE__ */ t(J, { ...n, children: /* @__PURE__ */ t(ce, { ...o }) }) : A ? /* @__PURE__ */ t(J, { ...n, children: A }) : /* @__PURE__ */ t(J, { ...n, color: "text.disabled", children: r }), ee = {
2537
+ }) => e ? /* @__PURE__ */ t(Y, { ...n, children: /* @__PURE__ */ t(ce, { ...o }) }) : A ? /* @__PURE__ */ t(Y, { ...n, children: A }) : /* @__PURE__ */ t(Y, { ...n, color: "text.disabled", children: r }), ee = {
2538
2538
  large: {
2539
2539
  primary: 40,
2540
2540
  secondary: 32
@@ -2573,15 +2573,15 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2573
2573
  }, Kr = ie(
2574
2574
  ({ secondarySrc: e, secondaryAvatarProps: A, size: r, ...n }, o) => {
2575
2575
  if (e || A) {
2576
- const i = r ? ee[r].primary : uA(FA(n.sx) ? n.sx.width : void 0), s = r ? ee[r].primary : uA(FA(n.sx) ? n.sx.height : void 0), a = on(n?.sx, r), d = a.width / 3, c = a.height / 3;
2577
- return /* @__PURE__ */ x(
2576
+ const i = r ? ee[r].primary : uA(FA(n.sx) ? n.sx.width : void 0), s = r ? ee[r].primary : uA(FA(n.sx) ? n.sx.height : void 0), a = on(n?.sx, r), c = a.width / 3, d = a.height / 3;
2577
+ return /* @__PURE__ */ m(
2578
2578
  T,
2579
2579
  {
2580
2580
  sx: {
2581
2581
  display: "flex",
2582
- height: s + d,
2582
+ height: s + c,
2583
2583
  position: "relative",
2584
- width: i + c
2584
+ width: i + d
2585
2585
  },
2586
2586
  children: [
2587
2587
  /* @__PURE__ */ t(
@@ -2606,7 +2606,7 @@ const mr = 32, Pt = 24, Tt = 105, Lt = 24, Dt = 195, Ht = 44, Ot = 147, Qt = ()
2606
2606
  sx: {
2607
2607
  bottom: 0,
2608
2608
  height: a.height,
2609
- outline: ({ palette: p }) => `2px solid ${p.common.white}`,
2609
+ outline: ({ palette: u }) => `2px solid ${u.common.white}`,
2610
2610
  position: "absolute",
2611
2611
  right: 0,
2612
2612
  width: a.width,
@@ -2644,14 +2644,14 @@ const an = (e, A) => {
2644
2644
  secondaryTitle: i,
2645
2645
  width: s = 64,
2646
2646
  height: a = 64,
2647
- alt: d = "Article"
2647
+ alt: c = "Article"
2648
2648
  }) => {
2649
- const [c, p] = W(!1), [f, v] = W(!1), { borderRadius: y, padding: C } = an(s, a), u = { borderRadius: y, flexShrink: 0 }, m = e && !c && !f, I = !e || f, B = e?.endsWith(".png") || e?.endsWith(".svg") || e?.endsWith(".gif") || e?.endsWith(".webp") || !1, h = () => {
2650
- v(!1), p(!0);
2651
- }, w = () => {
2652
- v(!0), p(!1);
2649
+ const [d, u] = q(!1), [f, v] = q(!1), { borderRadius: x, padding: h } = an(s, a), p = { borderRadius: x, flexShrink: 0 }, b = e && !d && !f, k = !e || f, S = e?.endsWith(".png") || e?.endsWith(".svg") || e?.endsWith(".gif") || e?.endsWith(".webp") || !1, C = () => {
2650
+ v(!1), u(!0);
2651
+ }, y = () => {
2652
+ v(!0), u(!1);
2653
2653
  };
2654
- return /* @__PURE__ */ x(
2654
+ return /* @__PURE__ */ m(
2655
2655
  Kr,
2656
2656
  {
2657
2657
  src: e,
@@ -2663,24 +2663,24 @@ const an = (e, A) => {
2663
2663
  },
2664
2664
  title: i
2665
2665
  },
2666
- alt: d,
2667
- onError: w,
2668
- onLoad: h,
2666
+ alt: c,
2667
+ onError: y,
2668
+ onLoad: C,
2669
2669
  sx: {
2670
- ...u,
2670
+ ...p,
2671
2671
  // Hide image until loaded
2672
2672
  "& img": {
2673
- visibility: c || f ? "visible" : "hidden"
2673
+ visibility: d || f ? "visible" : "hidden"
2674
2674
  },
2675
2675
  background: ({ palette: l }) => l.grey[100],
2676
2676
  height: a,
2677
- padding: B || I ? C : 0,
2677
+ padding: S || k ? h : 0,
2678
2678
  width: s,
2679
2679
  ...o
2680
2680
  },
2681
2681
  children: [
2682
- (A || m) && /* @__PURE__ */ t(sn, { width: s, height: a, sx: u }),
2683
- I && /* @__PURE__ */ x("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
2682
+ (A || b) && /* @__PURE__ */ t(sn, { width: s, height: a, sx: p }),
2683
+ k && /* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
2684
2684
  /* @__PURE__ */ t(
2685
2685
  "path",
2686
2686
  {
@@ -2793,46 +2793,46 @@ const an = (e, A) => {
2793
2793
  widthLightbox: i,
2794
2794
  heightLightbox: s,
2795
2795
  sxLightbox: a,
2796
- disableLightbox: d,
2797
- disableThumb: c,
2798
- open: p,
2796
+ disableLightbox: c,
2797
+ disableThumb: d,
2798
+ open: u,
2799
2799
  onClose: f,
2800
2800
  onClickThumb: v,
2801
- variant: y,
2802
- height: C = 152,
2803
- width: u = 220
2801
+ variant: x,
2802
+ height: h = 152,
2803
+ width: p = 220
2804
2804
  }) => {
2805
- const [m, I] = W(!1), [B, h] = W(!1), [w, l] = W(!0), S = e?.toLowerCase(), E = !S?.endsWith(".pdf") && !S?.startsWith("blob:") && !S?.endsWith(".eml"), H = S?.endsWith(".pdf"), L = d ? 1 : 0.8, $ = c ? !0 : !w, k = NA(e) || NA(A), P = (E || H) && !k && $ && !B && !d && e, U = e?.split(".").pop()?.toLowerCase(), Y = r || e?.split("/").pop()?.split("?")[0] || "", K = () => k ? e1 : B ? ln : A || e || void 0, N = () => {
2806
- I((b) => !b);
2807
- }, _ = () => {
2808
- I(!1), f?.();
2809
- }, G = () => {
2810
- h(!0);
2805
+ const [b, k] = q(!1), [S, C] = q(!1), [y, l] = q(!0), I = e?.toLowerCase(), E = !I?.endsWith(".pdf") && !I?.startsWith("blob:") && !I?.endsWith(".eml"), H = I?.endsWith(".pdf"), D = c ? 1 : 0.8, X = d ? !0 : !y, V = NA(e) || NA(A), W = (E || H) && !V && X && !S && !c && e, G = e?.split(".").pop()?.toLowerCase(), K = r || e?.split("/").pop()?.split("?")[0] || "", P = () => V ? e1 : S ? ln : A || e || void 0, R = () => {
2806
+ k((w) => !w);
2807
+ }, U = () => {
2808
+ k(!1), f?.();
2809
+ }, z = () => {
2810
+ C(!0);
2811
2811
  }, Ae = () => {
2812
2812
  l(!1);
2813
2813
  };
2814
- return /* @__PURE__ */ x(he, { children: [
2815
- !c && !n && /* @__PURE__ */ t(MA, { title: k ? Y : "", children: /* @__PURE__ */ x(
2814
+ return /* @__PURE__ */ m(he, { children: [
2815
+ !d && !n && /* @__PURE__ */ t(MA, { title: V ? K : "", children: /* @__PURE__ */ m(
2816
2816
  T,
2817
2817
  {
2818
2818
  "data-test": "fileViewer",
2819
- width: u,
2820
- height: C,
2819
+ width: p,
2820
+ height: h,
2821
2821
  onClick: async () => {
2822
- if (k && e) {
2823
- const M = await (await fetch(e)).blob(), O = window.URL.createObjectURL(M), D = document.createElement("a");
2824
- D.href = O, D.download = Y, D.target = "_blank", document.body.appendChild(D), D.click(), setTimeout(() => {
2825
- document.body.removeChild(D), window.URL.revokeObjectURL(O);
2822
+ if (V && e) {
2823
+ const M = await (await fetch(e)).blob(), O = window.URL.createObjectURL(M), L = document.createElement("a");
2824
+ L.href = O, L.download = K, L.target = "_blank", document.body.appendChild(L), L.click(), setTimeout(() => {
2825
+ document.body.removeChild(L), window.URL.revokeObjectURL(O);
2826
2826
  }, 100);
2827
2827
  }
2828
- v?.(), N();
2828
+ v?.(), R();
2829
2829
  },
2830
2830
  sx: {
2831
2831
  ...Ne.container,
2832
- ":hover": { opacity: L },
2833
- borderRadius: y === "rounded" ? 1 : "0",
2834
- cursor: d ? "default" : "pointer",
2835
- pointerEvents: d ? "none" : "auto",
2832
+ ":hover": { opacity: D },
2833
+ borderRadius: x === "rounded" ? 1 : "0",
2834
+ cursor: c ? "default" : "pointer",
2835
+ pointerEvents: c ? "none" : "auto",
2836
2836
  ...o
2837
2837
  },
2838
2838
  children: [
@@ -2843,22 +2843,22 @@ const an = (e, A) => {
2843
2843
  width: "100%",
2844
2844
  component: E ? "img" : "iframe",
2845
2845
  height: E ? "100%" : "auto",
2846
- src: K(),
2847
- onError: G,
2846
+ src: P(),
2847
+ onError: z,
2848
2848
  onLoad: Ae,
2849
2849
  sx: {
2850
2850
  ...Ne.thumb,
2851
- objectFit: k ? "contain" : "cover",
2852
- padding: k ? "15%" : 0
2851
+ objectFit: V ? "contain" : "cover",
2852
+ padding: V ? "15%" : 0
2853
2853
  }
2854
2854
  },
2855
- K()
2855
+ P()
2856
2856
  ),
2857
- k && /* @__PURE__ */ t(J, { sx: Ne.extension, variant: "body3", color: "black", children: U })
2857
+ V && /* @__PURE__ */ t(Y, { sx: Ne.extension, variant: "body3", color: "black", children: G })
2858
2858
  ]
2859
2859
  }
2860
2860
  ) }),
2861
- P && /* @__PURE__ */ t(_r, { open: p !== void 0 && (H || E) ? p : m, onClose: _, src: e, title: r, children: /* @__PURE__ */ t(
2861
+ W && /* @__PURE__ */ t(_r, { open: u !== void 0 && (H || E) ? u : b, onClose: U, src: e, title: r, children: /* @__PURE__ */ t(
2862
2862
  T,
2863
2863
  {
2864
2864
  component: H ? "iframe" : "img",
@@ -2874,9 +2874,9 @@ const an = (e, A) => {
2874
2874
  n && /* @__PURE__ */ t(
2875
2875
  T,
2876
2876
  {
2877
- onClick: N,
2877
+ onClick: R,
2878
2878
  sx: {
2879
- ":hover": { opacity: L },
2879
+ ":hover": { opacity: D },
2880
2880
  cursor: "pointer"
2881
2881
  },
2882
2882
  children: n
@@ -2892,23 +2892,23 @@ const an = (e, A) => {
2892
2892
  variant: i,
2893
2893
  tag: s,
2894
2894
  collapseItems: a,
2895
- collapseDefaultOpen: d,
2896
- Action: c,
2897
- Icon: p,
2895
+ collapseDefaultOpen: c,
2896
+ Action: d,
2897
+ Icon: u,
2898
2898
  Footer: f,
2899
2899
  Collapse: v
2900
2900
  }) => {
2901
- const [y, C] = W(!1), u = v || !!a?.length;
2901
+ const [x, h] = q(!1), p = v || !!a?.length;
2902
2902
  return qA(() => {
2903
- d && C(!0);
2904
- }, [d]), /* @__PURE__ */ x(Q, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
2905
- /* @__PURE__ */ t(T, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ t(Q, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ x(he, { children: [
2906
- p || /* @__PURE__ */ t(aA, { color: n ? "secondary" : "primary" }),
2903
+ c && h(!0);
2904
+ }, [c]), /* @__PURE__ */ m(Q, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
2905
+ /* @__PURE__ */ t(T, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ t(Q, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ m(he, { children: [
2906
+ u || /* @__PURE__ */ t(aA, { color: n ? "secondary" : "primary" }),
2907
2907
  /* @__PURE__ */ t(T, { sx: { flex: 1 }, children: !r && /* @__PURE__ */ t(
2908
2908
  JA,
2909
2909
  {
2910
2910
  sx: {
2911
- borderColor: ({ palette: m }) => n ? m.secondary.main : m.divider,
2911
+ borderColor: ({ palette: b }) => n ? b.secondary.main : b.divider,
2912
2912
  borderStyle: n ? "solid" : "dashed",
2913
2913
  height: "100%"
2914
2914
  },
@@ -2917,7 +2917,7 @@ const an = (e, A) => {
2917
2917
  }
2918
2918
  ) })
2919
2919
  ] }) }) }),
2920
- /* @__PURE__ */ x(
2920
+ /* @__PURE__ */ m(
2921
2921
  Q,
2922
2922
  {
2923
2923
  flex: 1,
@@ -2934,35 +2934,35 @@ const an = (e, A) => {
2934
2934
  padding: 1.5
2935
2935
  },
2936
2936
  children: [
2937
- /* @__PURE__ */ x(Q, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
2938
- /* @__PURE__ */ x(T, { children: [
2939
- /* @__PURE__ */ x(
2937
+ /* @__PURE__ */ m(Q, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
2938
+ /* @__PURE__ */ m(T, { children: [
2939
+ /* @__PURE__ */ m(
2940
2940
  Q,
2941
2941
  {
2942
2942
  direction: "row",
2943
2943
  alignItems: "center",
2944
- sx: { cursor: u ? "pointer" : "default" },
2945
- onClick: () => C((m) => !m),
2944
+ sx: { cursor: p ? "pointer" : "default" },
2945
+ onClick: () => h((b) => !b),
2946
2946
  children: [
2947
2947
  /* @__PURE__ */ t(
2948
- J,
2948
+ Y,
2949
2949
  {
2950
2950
  component: "span",
2951
2951
  onClick: o,
2952
2952
  variant: "h6",
2953
2953
  sx: {
2954
- cursor: u || o ? "pointer" : "default",
2954
+ cursor: p || o ? "pointer" : "default",
2955
2955
  marginRight: 1,
2956
2956
  textDecoration: o ? "underline" : "none"
2957
2957
  },
2958
2958
  children: e
2959
2959
  }
2960
2960
  ),
2961
- u && /* @__PURE__ */ t(
2961
+ p && /* @__PURE__ */ t(
2962
2962
  Ar,
2963
2963
  {
2964
2964
  sx: {
2965
- transform: y ? "rotate(180deg)" : "rotate(0deg)",
2965
+ transform: x ? "rotate(180deg)" : "rotate(0deg)",
2966
2966
  transition: "transform 0.3s"
2967
2967
  }
2968
2968
  }
@@ -2971,9 +2971,9 @@ const an = (e, A) => {
2971
2971
  }
2972
2972
  ),
2973
2973
  s && /* @__PURE__ */ t(Te, { color: s?.color || "default", label: s?.label, size: "xSmall", variant: "outlined" }),
2974
- A && /* @__PURE__ */ t(J, { variant: "body2", color: "textSecondary", children: A })
2974
+ A && /* @__PURE__ */ t(Y, { variant: "body2", color: "textSecondary", children: A })
2975
2975
  ] }),
2976
- c && /* @__PURE__ */ t(
2976
+ d && /* @__PURE__ */ t(
2977
2977
  T,
2978
2978
  {
2979
2979
  className: "action",
@@ -2981,47 +2981,47 @@ const an = (e, A) => {
2981
2981
  opacity: i === "hover" ? 0 : 1,
2982
2982
  transition: "opacity 0.15s"
2983
2983
  },
2984
- children: c
2984
+ children: d
2985
2985
  }
2986
2986
  )
2987
2987
  ] }),
2988
2988
  f,
2989
- v && /* @__PURE__ */ t(or, { in: y, children: v }),
2990
- !!a?.length && /* @__PURE__ */ t(or, { in: y, children: /* @__PURE__ */ t(Q, { marginTop: 3, spacing: 3, children: a?.map((m, I) => {
2991
- const B = `${m.title}-${I}`, h = Array.isArray(m?.file) ? m?.file : [m?.file], w = h.length > 0 ? h[0] : null;
2992
- return /* @__PURE__ */ x(Q, { direction: "row", spacing: 1, minWidth: 0, children: [
2989
+ v && /* @__PURE__ */ t(or, { in: x, children: v }),
2990
+ !!a?.length && /* @__PURE__ */ t(or, { in: x, children: /* @__PURE__ */ t(Q, { marginTop: 3, spacing: 3, children: a?.map((b, k) => {
2991
+ const S = `${b.title}-${k}`, C = Array.isArray(b?.file) ? b?.file : [b?.file], y = C.length > 0 ? C[0] : null;
2992
+ return /* @__PURE__ */ m(Q, { direction: "row", spacing: 1, minWidth: 0, children: [
2993
2993
  /* @__PURE__ */ t(cn, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
2994
- /* @__PURE__ */ x(Q, { minWidth: 0, children: [
2995
- /* @__PURE__ */ x(Q, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
2996
- m?.title && /* @__PURE__ */ t(
2994
+ /* @__PURE__ */ m(Q, { minWidth: 0, children: [
2995
+ /* @__PURE__ */ m(Q, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
2996
+ b?.title && /* @__PURE__ */ t(
2997
2997
  MA,
2998
2998
  {
2999
- title: m?.title,
2999
+ title: b?.title,
3000
3000
  enterDelay: Ir,
3001
3001
  sx: {
3002
- ...m?.onClick && {
3002
+ ...b?.onClick && {
3003
3003
  cursor: "pointer",
3004
3004
  textDecoration: "underline"
3005
3005
  }
3006
3006
  },
3007
3007
  children: /* @__PURE__ */ t(
3008
- J,
3008
+ Y,
3009
3009
  {
3010
3010
  variant: "h6",
3011
3011
  whiteSpace: "nowrap",
3012
3012
  textOverflow: "ellipsis",
3013
3013
  overflow: "hidden",
3014
3014
  minWidth: 0,
3015
- onClick: m?.onClick,
3016
- children: m?.title
3015
+ onClick: b?.onClick,
3016
+ children: b?.title
3017
3017
  }
3018
3018
  )
3019
3019
  }
3020
3020
  ),
3021
- m?.tag && /* @__PURE__ */ t(Te, { color: m?.tag?.color || "default", label: m?.tag?.label, size: "xSmall", variant: "outlined" })
3021
+ b?.tag && /* @__PURE__ */ t(Te, { color: b?.tag?.color || "default", label: b?.tag?.label, size: "xSmall", variant: "outlined" })
3022
3022
  ] }),
3023
- m?.subtitle && /* @__PURE__ */ t(MA, { title: m?.subtitle, enterDelay: Ir, children: /* @__PURE__ */ t(
3024
- J,
3023
+ b?.subtitle && /* @__PURE__ */ t(MA, { title: b?.subtitle, enterDelay: Ir, children: /* @__PURE__ */ t(
3024
+ Y,
3025
3025
  {
3026
3026
  variant: "body2",
3027
3027
  color: "textSecondary",
@@ -3029,14 +3029,14 @@ const an = (e, A) => {
3029
3029
  textOverflow: "ellipsis",
3030
3030
  overflow: "hidden",
3031
3031
  minWidth: 0,
3032
- children: m?.subtitle
3032
+ children: b?.subtitle
3033
3033
  }
3034
3034
  ) }),
3035
- m?.file && /* @__PURE__ */ x(Q, { direction: "row", marginTop: 1, spacing: 0.5, children: [
3036
- w && (typeof w == "string" ? /* @__PURE__ */ t(
3035
+ b?.file && /* @__PURE__ */ m(Q, { direction: "row", marginTop: 1, spacing: 0.5, children: [
3036
+ y && (typeof y == "string" ? /* @__PURE__ */ t(
3037
3037
  fA,
3038
3038
  {
3039
- src: w,
3039
+ src: y,
3040
3040
  sx: {
3041
3041
  borderRadius: 0.5,
3042
3042
  cursor: "pointer",
@@ -3047,9 +3047,9 @@ const an = (e, A) => {
3047
3047
  ) : /* @__PURE__ */ t(
3048
3048
  fA,
3049
3049
  {
3050
- src: w.src || "",
3051
- srcThumb: w.srcThumb,
3052
- fileName: w.fileName,
3050
+ src: y.src || "",
3051
+ srcThumb: y.srcThumb,
3052
+ fileName: y.fileName,
3053
3053
  sx: {
3054
3054
  borderRadius: 0.5,
3055
3055
  cursor: "pointer",
@@ -3058,7 +3058,7 @@ const an = (e, A) => {
3058
3058
  }
3059
3059
  }
3060
3060
  )),
3061
- h.length > 1 && /* @__PURE__ */ t(
3061
+ C.length > 1 && /* @__PURE__ */ t(
3062
3062
  T,
3063
3063
  {
3064
3064
  sx: {
@@ -3070,12 +3070,12 @@ const an = (e, A) => {
3070
3070
  justifyContent: "center",
3071
3071
  width: Be
3072
3072
  },
3073
- children: `${h.length - 1}+`
3073
+ children: `${C.length - 1}+`
3074
3074
  }
3075
3075
  )
3076
3076
  ] })
3077
3077
  ] })
3078
- ] }, B);
3078
+ ] }, S);
3079
3079
  }) }) })
3080
3080
  ]
3081
3081
  }
@@ -3106,61 +3106,61 @@ const an = (e, A) => {
3106
3106
  "data-test": i,
3107
3107
  "data-testid": s
3108
3108
  }) => {
3109
- const [a, d] = W("");
3110
- return A ? /* @__PURE__ */ t(SA, { sx: n, "data-test": i, "data-testid": s, children: /* @__PURE__ */ x(Q, { spacing: 3, children: [
3111
- /* @__PURE__ */ x(Q, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3109
+ const [a, c] = q("");
3110
+ return A ? /* @__PURE__ */ t(SA, { sx: n, "data-test": i, "data-testid": s, children: /* @__PURE__ */ m(Q, { spacing: 3, children: [
3111
+ /* @__PURE__ */ m(Q, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3112
3112
  /* @__PURE__ */ t(aA, {}),
3113
- /* @__PURE__ */ x(Q, { children: [
3114
- /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(ce, { width: 100 }) }),
3115
- /* @__PURE__ */ t(J, { variant: "body2", children: /* @__PURE__ */ t(ce, { width: 130 }) })
3113
+ /* @__PURE__ */ m(Q, { children: [
3114
+ /* @__PURE__ */ t(Y, { children: /* @__PURE__ */ t(ce, { width: 100 }) }),
3115
+ /* @__PURE__ */ t(Y, { variant: "body2", children: /* @__PURE__ */ t(ce, { width: 130 }) })
3116
3116
  ] })
3117
3117
  ] }),
3118
- /* @__PURE__ */ x(Q, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3118
+ /* @__PURE__ */ m(Q, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3119
3119
  /* @__PURE__ */ t(aA, {}),
3120
- /* @__PURE__ */ x(Q, { children: [
3121
- /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(ce, { width: 150 }) }),
3122
- /* @__PURE__ */ t(J, { variant: "body2", children: /* @__PURE__ */ t(ce, { width: 100, height: 20 }) })
3120
+ /* @__PURE__ */ m(Q, { children: [
3121
+ /* @__PURE__ */ t(Y, { children: /* @__PURE__ */ t(ce, { width: 150 }) }),
3122
+ /* @__PURE__ */ t(Y, { variant: "body2", children: /* @__PURE__ */ t(ce, { width: 100, height: 20 }) })
3123
3123
  ] })
3124
3124
  ] }),
3125
- /* @__PURE__ */ x(Q, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3125
+ /* @__PURE__ */ m(Q, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3126
3126
  /* @__PURE__ */ t(aA, {}),
3127
- /* @__PURE__ */ x(Q, { children: [
3128
- /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(ce, { width: 80 }) }),
3129
- /* @__PURE__ */ t(J, { variant: "body2", children: /* @__PURE__ */ t(ce, { width: 110, height: 20 }) })
3127
+ /* @__PURE__ */ m(Q, { children: [
3128
+ /* @__PURE__ */ t(Y, { children: /* @__PURE__ */ t(ce, { width: 80 }) }),
3129
+ /* @__PURE__ */ t(Y, { variant: "body2", children: /* @__PURE__ */ t(ce, { width: 110, height: 20 }) })
3130
3130
  ] })
3131
3131
  ] })
3132
- ] }) }) : !e?.length && !A ? /* @__PURE__ */ t(SA, { sx: n, children: /* @__PURE__ */ t(YA, { severity: "info", children: r }) }) : /* @__PURE__ */ x(he, { children: [
3132
+ ] }) }) : !e?.length && !A ? /* @__PURE__ */ t(SA, { sx: n, children: /* @__PURE__ */ t(YA, { severity: "info", children: r }) }) : /* @__PURE__ */ m(he, { children: [
3133
3133
  /* @__PURE__ */ t(SA, { sx: n, "data-test": i, "data-testid": s, children: e?.map(
3134
- ({ Action: c, Collapse: p, collapseItems: f, collapseDefaultOpen: v, subtitle: y, key: C, active: u, Footer: m, Icon: I, onClick: B, tag: h, title: w }, l) => {
3135
- const S = `${C}-${l}-${w}`, E = l === e.length - 1;
3134
+ ({ Action: d, Collapse: u, collapseItems: f, collapseDefaultOpen: v, subtitle: x, key: h, active: p, Footer: b, Icon: k, onClick: S, tag: C, title: y }, l) => {
3135
+ const I = `${h}-${l}-${y}`, E = l === e.length - 1;
3136
3136
  return /* @__PURE__ */ t(
3137
3137
  dn,
3138
3138
  {
3139
- Action: c,
3140
- Footer: m,
3141
- Collapse: p,
3139
+ Action: d,
3140
+ Footer: b,
3141
+ Collapse: u,
3142
3142
  collapseDefaultOpen: v,
3143
3143
  collapseItems: f,
3144
- active: u,
3145
- title: w,
3146
- subtitle: y,
3147
- Icon: I,
3144
+ active: p,
3145
+ title: y,
3146
+ subtitle: x,
3147
+ Icon: k,
3148
3148
  isLastElement: E,
3149
- onClick: B,
3150
- tag: h,
3149
+ onClick: S,
3150
+ tag: C,
3151
3151
  variant: o
3152
3152
  },
3153
- S
3153
+ I
3154
3154
  );
3155
3155
  }
3156
3156
  ) }),
3157
- /* @__PURE__ */ t(_r, { open: !!a, onClose: () => d(""), src: a })
3157
+ /* @__PURE__ */ t(_r, { open: !!a, onClose: () => c(""), src: a })
3158
3158
  ] });
3159
3159
  }, pn = (e, A) => XA(e, A), eo = ({ Main: e, Sidebar: A, AppBar: r }) => {
3160
3160
  const { breakpoints: n } = fe(), o = LA(null), i = Je(n.down("md")), s = A && pn(A, { AppBar: r });
3161
- return /* @__PURE__ */ x(Q, { height: "100%", children: [
3161
+ return /* @__PURE__ */ m(Q, { height: "100%", children: [
3162
3162
  !i && r,
3163
- /* @__PURE__ */ x(Q, { height: "100%", direction: i ? "column" : "row", minHeight: 0, children: [
3163
+ /* @__PURE__ */ m(Q, { height: "100%", direction: i ? "column" : "row", minHeight: 0, children: [
3164
3164
  s,
3165
3165
  /* @__PURE__ */ t(
3166
3166
  T,
@@ -3499,8 +3499,8 @@ const an = (e, A) => {
3499
3499
  ...A,
3500
3500
  input: {
3501
3501
  autoComplete: "off",
3502
- startAdornment: r === "search" && /* @__PURE__ */ t(Pe, { position: "start", children: /* @__PURE__ */ t(pe, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ x("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3503
- /* @__PURE__ */ x("g", { clipPath: "url(#clip0_14432_13952)", children: [
3502
+ startAdornment: r === "search" && /* @__PURE__ */ t(Pe, { position: "start", children: /* @__PURE__ */ t(pe, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ m("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3503
+ /* @__PURE__ */ m("g", { clipPath: "url(#clip0_14432_13952)", children: [
3504
3504
  /* @__PURE__ */ t(
3505
3505
  "path",
3506
3506
  {
@@ -3520,7 +3520,7 @@ const an = (e, A) => {
3520
3520
  ...n
3521
3521
  }
3522
3522
  )), A1 = () => {
3523
- const [e, A] = W(null), r = !!e, n = oe(() => {
3523
+ const [e, A] = q(null), r = !!e, n = oe(() => {
3524
3524
  A(null);
3525
3525
  }, []), o = oe(({ currentTarget: i }) => {
3526
3526
  A(i);
@@ -3540,14 +3540,14 @@ const an = (e, A) => {
3540
3540
  avatarProps: i,
3541
3541
  searchProps: s,
3542
3542
  actionProps: a,
3543
- logoProps: d,
3544
- children: c,
3545
- onClickBurger: p,
3543
+ logoProps: c,
3544
+ children: d,
3545
+ onClickBurger: u,
3546
3546
  sx: f,
3547
3547
  position: v = "static",
3548
- elevation: y = 0
3548
+ elevation: x = 0
3549
3549
  }) => {
3550
- const { breakpoints: C } = fe(), { closeMenu: u, isMenuOpen: m, anchorMenu: I, openMenu: B } = A1(), { menuItems: h, ...w } = i || {}, l = Je(C.down("sm")), S = Je(C.between("sm", "md")), E = l || S, H = {
3550
+ const { breakpoints: h } = fe(), { closeMenu: p, isMenuOpen: b, anchorMenu: k, openMenu: S } = A1(), { menuItems: C, ...y } = i || {}, l = Je(h.down("sm")), I = Je(h.between("sm", "md")), E = l || I, H = {
3551
3551
  logoContainer: {
3552
3552
  a: {
3553
3553
  display: "flex"
@@ -3566,10 +3566,10 @@ const an = (e, A) => {
3566
3566
  width: "100%"
3567
3567
  },
3568
3568
  "& > a.active": {
3569
- backgroundColor: ({ palette: L }) => ge(L.primary.main, L.action.selectedOpacity)
3569
+ backgroundColor: ({ palette: D }) => ge(D.primary.main, D.action.selectedOpacity)
3570
3570
  },
3571
3571
  "& > a.active:hover": {
3572
- backgroundColor: ({ palette: L }) => ge(L.primary.main, L.action.selectedOpacity + L.action.hoverOpacity)
3572
+ backgroundColor: ({ palette: D }) => ge(D.primary.main, D.action.selectedOpacity + D.action.hoverOpacity)
3573
3573
  },
3574
3574
  overflow: "hidden",
3575
3575
  padding: "0 !important"
@@ -3577,38 +3577,38 @@ const an = (e, A) => {
3577
3577
  paddingX: l ? 1 : 3,
3578
3578
  ...f
3579
3579
  };
3580
- return c ? /* @__PURE__ */ t(RA, { position: v, elevation: y, sx: H, children: c }) : /* @__PURE__ */ x(he, { children: [
3581
- /* @__PURE__ */ t(RA, { position: v, elevation: y, sx: H, children: /* @__PURE__ */ x(Q, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3582
- E && /* @__PURE__ */ t(ue, { onClick: p, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ t($r, {}) }),
3583
- E || n === null ? null : /* @__PURE__ */ t(T, { sx: H.logoContainer, children: n || /* @__PURE__ */ t(Ft, { mode: "dark", ...d }) }),
3584
- /* @__PURE__ */ x(Q, { alignItems: "center", direction: "row", justifyContent: l ? "flex-end" : "center", spacing: 1, flex: 1, children: [
3580
+ return d ? /* @__PURE__ */ t(RA, { position: v, elevation: x, sx: H, children: d }) : /* @__PURE__ */ m(he, { children: [
3581
+ /* @__PURE__ */ t(RA, { position: v, elevation: x, sx: H, children: /* @__PURE__ */ m(Q, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3582
+ E && /* @__PURE__ */ t(ue, { onClick: u, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ t($r, {}) }),
3583
+ E || n === null ? null : /* @__PURE__ */ t(T, { sx: H.logoContainer, children: n || /* @__PURE__ */ t(Ft, { mode: "dark", ...c }) }),
3584
+ /* @__PURE__ */ m(Q, { alignItems: "center", direction: "row", justifyContent: l ? "flex-end" : "center", spacing: 1, flex: 1, children: [
3585
3585
  l && (r === null ? null : r || /* @__PURE__ */ t(kr, { ...a })),
3586
3586
  A === null ? null : A || /* @__PURE__ */ t(gn, { ...s })
3587
3587
  ] }),
3588
- /* @__PURE__ */ x(Q, { direction: "row", alignItems: "center", spacing: 1, children: [
3588
+ /* @__PURE__ */ m(Q, { direction: "row", alignItems: "center", spacing: 1, children: [
3589
3589
  !l && (r === null ? null : r || /* @__PURE__ */ t(kr, { ...a })),
3590
3590
  e === null ? null : e || /* @__PURE__ */ t(
3591
3591
  fn,
3592
3592
  {
3593
- ...w,
3593
+ ...y,
3594
3594
  sx: {
3595
- cursor: h ? "pointer" : "default"
3595
+ cursor: C ? "pointer" : "default"
3596
3596
  },
3597
- onClick: (L) => {
3598
- B(L), i?.onClick?.(L);
3597
+ onClick: (D) => {
3598
+ S(D), i?.onClick?.(D);
3599
3599
  }
3600
3600
  }
3601
3601
  )
3602
3602
  ] })
3603
3603
  ] }) }),
3604
- h && /* @__PURE__ */ t(Or, { sx: { zIndex: (L) => L.zIndex.drawer + 1 }, open: m, onClick: u, children: /* @__PURE__ */ t(
3604
+ C && /* @__PURE__ */ t(Or, { sx: { zIndex: (D) => D.zIndex.drawer + 1 }, open: b, onClick: p, children: /* @__PURE__ */ t(
3605
3605
  Lr,
3606
3606
  {
3607
3607
  id: hn,
3608
- anchorEl: I,
3609
- open: m,
3610
- onClose: u,
3611
- onChange: u,
3608
+ anchorEl: k,
3609
+ open: b,
3610
+ onClose: p,
3611
+ onChange: p,
3612
3612
  anchorOrigin: {
3613
3613
  horizontal: "right",
3614
3614
  vertical: "bottom"
@@ -3620,19 +3620,19 @@ const an = (e, A) => {
3620
3620
  }
3621
3621
  }
3622
3622
  },
3623
- children: h?.map((L, $) => {
3624
- if (Ye(L)) {
3625
- if (L.key)
3626
- return L;
3627
- const k = `${h}-${$}`;
3628
- return XA(L, { key: k });
3623
+ children: C?.map((D, X) => {
3624
+ if (Ye(D)) {
3625
+ if (D.key)
3626
+ return D;
3627
+ const V = `${C}-${X}`;
3628
+ return XA(D, { key: V });
3629
3629
  }
3630
- if (L && typeof L == "object" && "url" in L) {
3631
- const { url: k, label: P, icon: U, active: Y, end: K, state: N } = L, _ = `${k}-${P}-${$}`;
3632
- return /* @__PURE__ */ t(Dr, { sx: H.menuItem, onClick: u, children: /* @__PURE__ */ x(er, { url: k, component: o, active: Y, end: K, state: N, children: [
3633
- U && /* @__PURE__ */ t(Hr, { children: U }),
3634
- P && /* @__PURE__ */ t(Ee, { children: P })
3635
- ] }, _) }, _);
3630
+ if (D && typeof D == "object" && "url" in D) {
3631
+ const { url: V, label: W, icon: G, active: K, end: P, state: R } = D, U = `${V}-${W}-${X}`;
3632
+ return /* @__PURE__ */ t(Dr, { sx: H.menuItem, onClick: p, children: /* @__PURE__ */ m(er, { url: V, component: o, active: K, end: P, state: R, children: [
3633
+ G && /* @__PURE__ */ t(Hr, { children: G }),
3634
+ W && /* @__PURE__ */ t(Ee, { children: W })
3635
+ ] }, U) }, U);
3636
3636
  }
3637
3637
  return null;
3638
3638
  })
@@ -3640,7 +3640,7 @@ const an = (e, A) => {
3640
3640
  ) })
3641
3641
  ] });
3642
3642
  }, Cn = ({ sx: e, fontSize: A, color: r = "currentColor" }) => /* @__PURE__ */ t(pe, { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: A, sx: e, children: /* @__PURE__ */ t("rect", { x: "1", y: "1", width: "6", height: "6", rx: "3", fill: r }) }), xn = ({ dot: e, color: A, variant: r, sx: n, lineThrough: o, ...i }, s) => {
3643
- const { palette: a } = fe(), d = {
3643
+ const { palette: a } = fe(), c = {
3644
3644
  active: a.text.contrast,
3645
3645
  default: a.text.secondary,
3646
3646
  error: a.error.main,
@@ -3663,7 +3663,7 @@ const an = (e, A) => {
3663
3663
  icon: e ? /* @__PURE__ */ t(
3664
3664
  Cn,
3665
3665
  {
3666
- color: d[A || "default"],
3666
+ color: c[A || "default"],
3667
3667
  fontSize: "inherit",
3668
3668
  sx: {
3669
3669
  height: 8,
@@ -3675,7 +3675,7 @@ const an = (e, A) => {
3675
3675
  ...i
3676
3676
  }
3677
3677
  );
3678
- }, ro = ie(xn), mn = ({ fontSize: e, sx: A, color: r = "currentColor" }) => /* @__PURE__ */ x(pe, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: A, children: [
3678
+ }, ro = ie(xn), mn = ({ fontSize: e, sx: A, color: r = "currentColor" }) => /* @__PURE__ */ m(pe, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: A, children: [
3679
3679
  /* @__PURE__ */ t("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ t(
3680
3680
  "path",
3681
3681
  {
@@ -3729,7 +3729,7 @@ const an = (e, A) => {
3729
3729
  }
3730
3730
  }
3731
3731
  }
3732
- }, yn = [400, 500, 600, 700], wn = "Poppins, sans-serif", z = (e, A = 16, r = 14) => {
3732
+ }, yn = [400, 500, 600, 700], wn = "Poppins, sans-serif", J = (e, A = 16, r = 14) => {
3733
3733
  const n = r / 14;
3734
3734
  return `${e / A * n}rem`;
3735
3735
  }, Sr = {
@@ -3817,7 +3817,7 @@ const an = (e, A) => {
3817
3817
  MuiAlertTitle: {
3818
3818
  styleOverrides: {
3819
3819
  root: {
3820
- fontSize: z(16),
3820
+ fontSize: J(16),
3821
3821
  letterSpacing: -0.35
3822
3822
  }
3823
3823
  }
@@ -3875,7 +3875,7 @@ const an = (e, A) => {
3875
3875
  },
3876
3876
  backgroundColor: e.palette.grey[100],
3877
3877
  color: e.palette.text.primary,
3878
- fontSize: z(14),
3878
+ fontSize: J(14),
3879
3879
  letterSpacing: -0.45
3880
3880
  })
3881
3881
  }
@@ -3888,7 +3888,7 @@ const an = (e, A) => {
3888
3888
  backgroundColor: e.palette.mode === "light" && A.color === "default" ? e.palette.grey[100] : A.color,
3889
3889
  borderRadius: e.shape.borderRadiusS,
3890
3890
  color: r(e.palette.mode, A.color),
3891
- fontSize: z(12),
3891
+ fontSize: J(12),
3892
3892
  letterSpacing: 0.14
3893
3893
  };
3894
3894
  }
@@ -3901,7 +3901,7 @@ const an = (e, A) => {
3901
3901
  color: e.palette.common.white
3902
3902
  },
3903
3903
  color: e.palette.text.secondary,
3904
- fontSize: z(14),
3904
+ fontSize: J(14),
3905
3905
  letterSpacing: -0.3
3906
3906
  }),
3907
3907
  root: ({ theme: e }) => ({
@@ -3942,7 +3942,7 @@ const an = (e, A) => {
3942
3942
  {
3943
3943
  props: { size: "small" },
3944
3944
  style: {
3945
- fontSize: z(13),
3945
+ fontSize: J(13),
3946
3946
  letterSpacing: -0.3,
3947
3947
  minHeight: 40
3948
3948
  }
@@ -3956,7 +3956,7 @@ const an = (e, A) => {
3956
3956
  {
3957
3957
  props: { size: "large" },
3958
3958
  style: {
3959
- fontSize: z(15),
3959
+ fontSize: J(15),
3960
3960
  letterSpacing: -0.35,
3961
3961
  minHeight: 56
3962
3962
  }
@@ -4155,11 +4155,16 @@ const an = (e, A) => {
4155
4155
  },
4156
4156
  MuiDialog: {
4157
4157
  defaultProps: {
4158
- PaperProps: {
4159
- elevation: 0
4158
+ slotProps: {
4159
+ paper: {
4160
+ elevation: 0
4161
+ }
4160
4162
  }
4161
4163
  },
4162
4164
  styleOverrides: {
4165
+ paper: ({ ownerState: e, theme: A }) => ({
4166
+ backgroundColor: e.backgroundColor === "primary" || e.backgroundColor === "secondary" ? A.palette.background.default : e.backgroundColor
4167
+ }),
4163
4168
  root: ({ theme: e }) => ({
4164
4169
  "& .MuiDialog-container": {
4165
4170
  [e.breakpoints.between("xs", "sm")]: {
@@ -4250,7 +4255,7 @@ const an = (e, A) => {
4250
4255
  MuiFormHelperText: {
4251
4256
  styleOverrides: {
4252
4257
  root: {
4253
- fontSize: z(14),
4258
+ fontSize: J(14),
4254
4259
  letterSpacing: 0.4
4255
4260
  }
4256
4261
  }
@@ -4542,7 +4547,7 @@ const an = (e, A) => {
4542
4547
  MuiTooltip: {
4543
4548
  styleOverrides: {
4544
4549
  tooltip: {
4545
- fontSize: z(14),
4550
+ fontSize: J(14),
4546
4551
  letterSpacing: 0
4547
4552
  }
4548
4553
  }
@@ -4582,66 +4587,66 @@ const an = (e, A) => {
4582
4587
  },
4583
4588
  typography: () => ({
4584
4589
  body1: {
4585
- fontSize: z(16),
4590
+ fontSize: J(16),
4586
4591
  letterSpacing: -0.35
4587
4592
  },
4588
4593
  body2: {
4589
- fontSize: z(14),
4594
+ fontSize: J(14),
4590
4595
  letterSpacing: -0.3
4591
4596
  },
4592
4597
  body3: {
4593
- fontSize: z(12),
4598
+ fontSize: J(12),
4594
4599
  letterSpacing: -0.3
4595
4600
  },
4596
4601
  button: {
4597
- fontSize: z(14),
4602
+ fontSize: J(14),
4598
4603
  letterSpacing: -0.3
4599
4604
  },
4600
4605
  caption: {
4601
- fontSize: z(12),
4606
+ fontSize: J(12),
4602
4607
  letterSpacing: -0.3
4603
4608
  },
4604
4609
  fontFamily: wn,
4605
4610
  h1: {
4606
- fontSize: z(28),
4611
+ fontSize: J(28),
4607
4612
  fontWeight: 700,
4608
4613
  letterSpacing: -0.6
4609
4614
  },
4610
4615
  h2: {
4611
- fontSize: z(24),
4616
+ fontSize: J(24),
4612
4617
  fontWeight: 600,
4613
4618
  letterSpacing: -0.5
4614
4619
  },
4615
4620
  h3: {
4616
- fontSize: z(20),
4621
+ fontSize: J(20),
4617
4622
  fontWeight: 600,
4618
4623
  letterSpacing: -0.45
4619
4624
  },
4620
4625
  h4: {
4621
- fontSize: z(18),
4626
+ fontSize: J(18),
4622
4627
  fontWeight: 500,
4623
4628
  letterSpacing: -0.4
4624
4629
  },
4625
4630
  h5: {
4626
- fontSize: z(16),
4631
+ fontSize: J(16),
4627
4632
  fontWeight: 500,
4628
4633
  letterSpacing: -0.35
4629
4634
  },
4630
4635
  h6: {
4631
- fontSize: z(14),
4636
+ fontSize: J(14),
4632
4637
  fontWeight: 500,
4633
4638
  letterSpacing: -0.3
4634
4639
  },
4635
4640
  overline: {
4636
- fontSize: z(12),
4641
+ fontSize: J(12),
4637
4642
  letterSpacing: 0.25
4638
4643
  },
4639
4644
  subtitle1: {
4640
- fontSize: z(16),
4645
+ fontSize: J(16),
4641
4646
  letterSpacing: -0.35
4642
4647
  },
4643
4648
  subtitle2: {
4644
- fontSize: z(14),
4649
+ fontSize: J(14),
4645
4650
  letterSpacing: -0.3
4646
4651
  }
4647
4652
  })
@@ -4709,13 +4714,13 @@ const an = (e, A) => {
4709
4714
  language: s = "en",
4710
4715
  font: a = Br
4711
4716
  }) => {
4712
- const d = { ...Br, ...a }, c = d?.googleFontName || ZA.typography.fontFamily?.split(",")[0], p = d?.fontWeight?.join(";"), f = We(() => ({ language: s }), [s]), v = We(() => {
4713
- const y = typeof i == "object" ? i : {}, C = {
4717
+ const c = { ...Br, ...a }, d = c?.googleFontName || ZA.typography.fontFamily?.split(",")[0], u = c?.fontWeight?.join(";"), f = We(() => ({ language: s }), [s]), v = We(() => {
4718
+ const x = typeof i == "object" ? i : {}, h = {
4714
4719
  ...s === "fr" && bn
4715
4720
  };
4716
- return i === "dark" || typeof i == "object" && "palette" in i && i?.palette?.mode === "dark" ? Re(t1, y, C) : !i || i === "light" || typeof i == "object" && "palette" in i && i?.palette?.mode === "light" ? Re(r1, y, C) : Re(ZA, y, C);
4721
+ return i === "dark" || typeof i == "object" && "palette" in i && i?.palette?.mode === "dark" ? Re(t1, x, h) : !i || i === "light" || typeof i == "object" && "palette" in i && i?.palette?.mode === "light" ? Re(r1, x, h) : Re(ZA, x, h);
4717
4722
  }, [i, s]);
4718
- return /* @__PURE__ */ t(n1.Provider, { value: f, children: /* @__PURE__ */ x(u1, { theme: v, children: [
4723
+ return /* @__PURE__ */ t(n1.Provider, { value: f, children: /* @__PURE__ */ m(u1, { theme: v, children: [
4719
4724
  /* @__PURE__ */ t(
4720
4725
  ze,
4721
4726
  {
@@ -4726,11 +4731,11 @@ const an = (e, A) => {
4726
4731
  `
4727
4732
  }
4728
4733
  ),
4729
- d.import && /* @__PURE__ */ t(
4734
+ c.import && /* @__PURE__ */ t(
4730
4735
  ze,
4731
4736
  {
4732
4737
  styles: lA`
4733
- @import url("https://fonts.googleapis.com/css2?family=${c}:wght@${p}&display=swap");
4738
+ @import url("https://fonts.googleapis.com/css2?family=${d}:wght@${u}&display=swap");
4734
4739
  `
4735
4740
  }
4736
4741
  ),
@@ -4780,58 +4785,58 @@ const an = (e, A) => {
4780
4785
  localeText: i,
4781
4786
  multiple: s,
4782
4787
  id: a,
4783
- size: d,
4784
- helperText: c,
4785
- fullWidth: p,
4788
+ size: c,
4789
+ helperText: d,
4790
+ fullWidth: u,
4786
4791
  icon: f,
4787
4792
  onChange: v,
4788
- label: y,
4789
- pattern: C,
4790
- title: u,
4791
- value: m,
4792
- variant: I = "vertical"
4793
- }, B) => {
4794
- const [h, w] = W(null), { t: l } = tr(), { palette: S } = fe(), E = I === "vertical", H = a || A, L = LA(null), $ = LA(null), k = m !== void 0 ? m : h, P = Rn(k);
4795
- B1(B, () => {
4796
- const N = $.current;
4797
- return N.reset = () => {
4798
- w(null), $.current && ($.current.value = "");
4799
- }, N;
4793
+ label: x,
4794
+ pattern: h,
4795
+ title: p,
4796
+ value: b,
4797
+ variant: k = "vertical"
4798
+ }, S) => {
4799
+ const [C, y] = q(null), { t: l } = tr(), { palette: I } = fe(), E = k === "vertical", H = a || A, D = LA(null), X = LA(null), V = b !== void 0 ? b : C, W = Rn(V);
4800
+ B1(S, () => {
4801
+ const R = X.current;
4802
+ return R.reset = () => {
4803
+ y(null), X.current && (X.current.value = "");
4804
+ }, R;
4800
4805
  });
4801
- const U = (N) => {
4802
- v?.(N), w(N.target.files);
4806
+ const G = (R) => {
4807
+ v?.(R), y(R.target.files);
4803
4808
  };
4804
- return /* @__PURE__ */ x(
4809
+ return /* @__PURE__ */ m(
4805
4810
  f1,
4806
4811
  {
4807
- ref: L,
4812
+ ref: D,
4808
4813
  htmlFor: H,
4809
- onDragOver: (N) => {
4810
- N.preventDefault();
4814
+ onDragOver: (R) => {
4815
+ R.preventDefault();
4811
4816
  },
4812
- onDrop: (N) => {
4813
- if (N.preventDefault(), N.dataTransfer.files.length > 0) {
4814
- const _ = $.current, G = N.dataTransfer.files;
4815
- w(G);
4817
+ onDrop: (R) => {
4818
+ if (R.preventDefault(), R.dataTransfer.files.length > 0) {
4819
+ const U = X.current, z = R.dataTransfer.files;
4820
+ y(z);
4816
4821
  const Ae = new DataTransfer();
4817
- Array.from(G).forEach((g) => Ae.items.add(g)), _ && (_.files = Ae.files), _?.focus(), _?.blur(), v?.({ ...N, target: _ }), N.dataTransfer.clearData();
4822
+ Array.from(z).forEach((g) => Ae.items.add(g)), U && (U.files = Ae.files), U?.focus(), U?.blur(), v?.({ ...R, target: U }), R.dataTransfer.clearData();
4818
4823
  }
4819
4824
  },
4820
4825
  sx: {
4821
4826
  "&:hover, &:focus": {
4822
- borderColor: S.primary.main
4827
+ borderColor: I.primary.main
4823
4828
  },
4824
- border: `1px dashed ${o ? S.error.main : S.divider}`,
4829
+ border: `1px dashed ${o ? I.error.main : I.divider}`,
4825
4830
  borderRadius: 1,
4826
4831
  cursor: "pointer",
4827
- height: Bn(d, I),
4828
- maxWidth: p ? "100%" : 400,
4832
+ height: Bn(c, k),
4833
+ maxWidth: u ? "100%" : 400,
4829
4834
  padding: 2,
4830
4835
  position: "relative",
4831
4836
  width: "100%"
4832
4837
  },
4833
4838
  children: [
4834
- /* @__PURE__ */ x(
4839
+ /* @__PURE__ */ m(
4835
4840
  Q,
4836
4841
  {
4837
4842
  alignItems: "center",
@@ -4843,29 +4848,29 @@ const an = (e, A) => {
4843
4848
  color: r ? "text.disabled" : "text.secondary",
4844
4849
  children: [
4845
4850
  f || /* @__PURE__ */ t(mn, { sx: { height: 40, width: 40 } }),
4846
- P ? /* @__PURE__ */ x(he, { children: [
4847
- /* @__PURE__ */ x(J, { variant: "body2", color: "textSecondary", children: [
4848
- k?.length,
4851
+ W ? /* @__PURE__ */ m(he, { children: [
4852
+ /* @__PURE__ */ m(Y, { variant: "body2", color: "textSecondary", children: [
4853
+ V?.length,
4849
4854
  " ",
4850
4855
  i?.files || l("files")
4851
4856
  ] }),
4852
4857
  /* @__PURE__ */ t(
4853
- J,
4858
+ Y,
4854
4859
  {
4855
4860
  variant: "body2",
4856
4861
  color: "primary",
4857
4862
  whiteSpace: E ? "normal" : "nowrap",
4858
4863
  textOverflow: "ellipsis",
4859
4864
  overflow: "hidden",
4860
- children: P
4865
+ children: W
4861
4866
  }
4862
4867
  )
4863
- ] }) : /* @__PURE__ */ x(J, { variant: "subtitle1", color: r ? "text.disabled" : "primary", children: [
4864
- y || l("clickToUpload"),
4868
+ ] }) : /* @__PURE__ */ m(Y, { variant: "subtitle1", color: r ? "text.disabled" : "primary", children: [
4869
+ x || l("clickToUpload"),
4865
4870
  " ",
4866
4871
  n && "*"
4867
4872
  ] }),
4868
- c && /* @__PURE__ */ t(J, { color: o ? "error" : "textSecondary", variant: "body2", children: c })
4873
+ d && /* @__PURE__ */ t(Y, { color: o ? "error" : "textSecondary", variant: "body2", children: d })
4869
4874
  ]
4870
4875
  }
4871
4876
  ),
@@ -4873,16 +4878,16 @@ const an = (e, A) => {
4873
4878
  "input",
4874
4879
  {
4875
4880
  id: H,
4876
- ref: $,
4881
+ ref: X,
4877
4882
  type: "file",
4878
- title: u,
4883
+ title: p,
4879
4884
  disabled: r,
4880
4885
  required: n,
4881
4886
  name: A,
4882
4887
  multiple: s,
4883
4888
  accept: e,
4884
- pattern: C,
4885
- onChange: U,
4889
+ pattern: h,
4890
+ onChange: G,
4886
4891
  style: {
4887
4892
  left: "50%",
4888
4893
  opacity: 0,
@@ -4893,7 +4898,7 @@ const an = (e, A) => {
4893
4898
  zIndex: -1
4894
4899
  }
4895
4900
  },
4896
- m ? "has-files" : "no-files"
4901
+ b ? "has-files" : "no-files"
4897
4902
  )
4898
4903
  ]
4899
4904
  }
@@ -4926,9 +4931,9 @@ const an = (e, A) => {
4926
4931
  alwaysDisplaySecondaryAction: i,
4927
4932
  isLoading: s,
4928
4933
  disableLightbox: a,
4929
- numberLoadingItems: d = 3
4934
+ numberLoadingItems: c = 3
4930
4935
  }) => {
4931
- const [c, p] = W("");
4936
+ const [d, u] = q("");
4932
4937
  return !r?.length && !s && !A ? e || null : s ? /* @__PURE__ */ t(
4933
4938
  sA,
4934
4939
  {
@@ -4936,19 +4941,19 @@ const an = (e, A) => {
4936
4941
  ...je.list,
4937
4942
  ...n && { width: "100%" }
4938
4943
  },
4939
- children: [...Array(d).keys()].map((f) => /* @__PURE__ */ x(Ie, { sx: je.listItem, children: [
4944
+ children: [...Array(c).keys()].map((f) => /* @__PURE__ */ m(Ie, { sx: je.listItem, children: [
4940
4945
  /* @__PURE__ */ t(ce, { width: 40, height: 40, sx: { marginRight: Ze }, variant: "rounded" }),
4941
4946
  /* @__PURE__ */ t(
4942
4947
  Ee,
4943
4948
  {
4944
- primary: /* @__PURE__ */ t(J, { variant: "h6", children: /* @__PURE__ */ t(ce, { width: 90 }) }),
4949
+ primary: /* @__PURE__ */ t(Y, { variant: "h6", children: /* @__PURE__ */ t(ce, { width: 90 }) }),
4945
4950
  secondary: /* @__PURE__ */ t(ce, { width: 70 }),
4946
4951
  sx: { marginY: 0 }
4947
4952
  }
4948
4953
  )
4949
4954
  ] }, f))
4950
4955
  }
4951
- ) : /* @__PURE__ */ x(
4956
+ ) : /* @__PURE__ */ m(
4952
4957
  sA,
4953
4958
  {
4954
4959
  sx: {
@@ -4958,23 +4963,23 @@ const an = (e, A) => {
4958
4963
  },
4959
4964
  children: [
4960
4965
  r?.map(
4961
- ({ id: f, title: v, subtitle: y, image: C, thumbnail: u, secondaryAction: m, chipLabel: I, chipColor: B, onClick: h, icon: w, Avatar: l }, S) => {
4962
- const E = `key-${S}-${v}-${f}`, H = !!C?.toLowerCase()?.endsWith(".pdf"), L = Mr(C), $ = Mr(u), k = NA(C), P = h ? "none" : void 0, U = a || !!w || !L || k, Y = !!h || !!(!h && !a && (u || C)), K = c === E, G = ($ ? u : "") || (L ? C : "") || "";
4963
- return /* @__PURE__ */ x(
4966
+ ({ id: f, title: v, subtitle: x, image: h, thumbnail: p, secondaryAction: b, chipLabel: k, chipColor: S, onClick: C, icon: y, Avatar: l }, I) => {
4967
+ const E = `key-${I}-${v}-${f}`, H = !!h?.toLowerCase()?.endsWith(".pdf"), D = Mr(h), X = Mr(p), V = NA(h), W = C ? "none" : void 0, G = a || !!y || !D || V, K = !!C || !!(!C && !a && (p || h)), P = d === E, z = (X ? p : "") || (D ? h : "") || "";
4968
+ return /* @__PURE__ */ m(
4964
4969
  Ie,
4965
4970
  {
4966
- secondaryAction: m,
4971
+ secondaryAction: b,
4967
4972
  onClick: (Ae) => {
4968
- h?.(Ae, {
4969
- ...w && { icon: w },
4973
+ C?.(Ae, {
4974
+ ...y && { icon: y },
4970
4975
  ...f && { id: f },
4971
- ...C && { image: C },
4972
- ...y && { subtitle: y },
4973
- ...u && { thumbnail: u },
4974
- ...v && { thumbnail: u },
4975
- isFile: k,
4976
+ ...h && { image: h },
4977
+ ...x && { subtitle: x },
4978
+ ...p && { thumbnail: p },
4979
+ ...v && { thumbnail: p },
4980
+ isFile: V,
4976
4981
  isPdf: H
4977
- }), Y && !K && !h && p(E);
4982
+ }), K && !P && !C && u(E);
4978
4983
  },
4979
4984
  sx: {
4980
4985
  ...je.listItem,
@@ -4991,48 +4996,48 @@ const an = (e, A) => {
4991
4996
  "& .MuiListItemSecondaryAction-root": {
4992
4997
  opacity: 1
4993
4998
  },
4994
- backgroundColor: ({ palette: Ae }) => Y ? Ae.action.hover : "transparent"
4999
+ backgroundColor: ({ palette: Ae }) => K ? Ae.action.hover : "transparent"
4995
5000
  },
4996
- cursor: Y ? "pointer" : "default"
5001
+ cursor: K ? "pointer" : "default"
4997
5002
  },
4998
5003
  children: [
4999
5004
  l !== void 0 && /* @__PURE__ */ t(T, { marginRight: Ze, children: l }),
5000
5005
  !l && H && /* @__PURE__ */ t(
5001
5006
  fA,
5002
5007
  {
5003
- src: C,
5004
- srcThumb: u,
5008
+ src: h,
5009
+ srcThumb: p,
5005
5010
  width: 40,
5006
5011
  height: 40,
5007
5012
  sx: { borderRadius: 1, marginRight: Ze },
5008
5013
  disableLightbox: a,
5009
- open: K,
5010
- onClose: () => p("")
5014
+ open: P,
5015
+ onClose: () => u("")
5011
5016
  }
5012
5017
  ),
5013
5018
  !l && !H && /* @__PURE__ */ t(
5014
5019
  fA,
5015
5020
  {
5016
5021
  disableThumb: !0,
5017
- src: C,
5018
- srcThumb: u,
5019
- disableLightbox: U,
5020
- open: K,
5021
- onClose: () => p(""),
5022
+ src: h,
5023
+ srcThumb: p,
5024
+ disableLightbox: G,
5025
+ open: P,
5026
+ onClose: () => u(""),
5022
5027
  children: /* @__PURE__ */ t(
5023
5028
  Se,
5024
5029
  {
5025
- src: k ? e1 : G,
5030
+ src: V ? e1 : z,
5026
5031
  variant: "rounded",
5027
5032
  sx: { marginRight: Ze },
5028
5033
  slotProps: {
5029
5034
  img: {
5030
5035
  sx: {
5031
- ...k && { padding: "15%" }
5036
+ ...V && { padding: "15%" }
5032
5037
  }
5033
5038
  }
5034
5039
  },
5035
- children: !k && (w || typeof v == "string" && (v || "")?.charAt(0).toUpperCase())
5040
+ children: !V && (y || typeof v == "string" && (v || "")?.charAt(0).toUpperCase())
5036
5041
  }
5037
5042
  )
5038
5043
  }
@@ -5040,11 +5045,11 @@ const an = (e, A) => {
5040
5045
  /* @__PURE__ */ t(
5041
5046
  Ee,
5042
5047
  {
5043
- primary: /* @__PURE__ */ x(Q, { direction: "row", alignItems: "center", spacing: 1, children: [
5044
- v && /* @__PURE__ */ t(J, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: v }),
5045
- I && /* @__PURE__ */ t(Te, { label: I, variant: "rounded", size: "xSmall", color: Mn(B) ? B : "default" })
5048
+ primary: /* @__PURE__ */ m(Q, { direction: "row", alignItems: "center", spacing: 1, children: [
5049
+ v && /* @__PURE__ */ t(Y, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: v }),
5050
+ k && /* @__PURE__ */ t(Te, { label: k, variant: "rounded", size: "xSmall", color: Mn(S) ? S : "default" })
5046
5051
  ] }),
5047
- secondary: y,
5052
+ secondary: x,
5048
5053
  slotProps: {
5049
5054
  primary: {
5050
5055
  component: "div"
@@ -5053,7 +5058,7 @@ const an = (e, A) => {
5053
5058
  component: "div"
5054
5059
  }
5055
5060
  },
5056
- sx: { marginY: 0, userSelect: P }
5061
+ sx: { marginY: 0, userSelect: W }
5057
5062
  }
5058
5063
  )
5059
5064
  ]
@@ -5062,7 +5067,7 @@ const an = (e, A) => {
5062
5067
  );
5063
5068
  }
5064
5069
  ),
5065
- A && /* @__PURE__ */ x(
5070
+ A && /* @__PURE__ */ m(
5066
5071
  TA,
5067
5072
  {
5068
5073
  onClick: A?.onClick,
@@ -5077,7 +5082,7 @@ const an = (e, A) => {
5077
5082
  /* @__PURE__ */ t(
5078
5083
  Ee,
5079
5084
  {
5080
- primary: A?.title && /* @__PURE__ */ t(J, { variant: "h6", children: A?.title }),
5085
+ primary: A?.title && /* @__PURE__ */ t(Y, { variant: "h6", children: A?.title }),
5081
5086
  secondary: A?.subtitle,
5082
5087
  sx: { marginY: 0 }
5083
5088
  }
@@ -5089,13 +5094,13 @@ const an = (e, A) => {
5089
5094
  }
5090
5095
  );
5091
5096
  }, jA = { padding: 0, paddingRight: 1 }, BA = (e) => e === "xSmall" ? {
5092
- fontSize: z(12),
5097
+ fontSize: J(12),
5093
5098
  height: 20
5094
5099
  } : e === "small" ? {
5095
- fontSize: z(13),
5100
+ fontSize: J(13),
5096
5101
  height: 24
5097
5102
  } : {
5098
- fontSize: z(14),
5103
+ fontSize: J(14),
5099
5104
  height: 32
5100
5105
  }, Pn = (e, A) => A ? e ? Array.isArray(e) ? e : [e] : [] : e || null, Tn = (e) => {
5101
5106
  const { palette: A } = fe(), r = A.mode === "light" ? "default" : "primary", n = e === "chip";
@@ -5128,27 +5133,27 @@ const an = (e, A) => {
5128
5133
  onChange: i,
5129
5134
  loading: s,
5130
5135
  options: a,
5131
- value: d,
5132
- multiple: c,
5133
- ...p
5136
+ value: c,
5137
+ multiple: d,
5138
+ ...u
5134
5139
  }) => {
5135
- const { t: f } = tr(), v = Array.isArray(d) ? d?.length === a?.length : !1, y = Array.isArray(a) && a.every((u) => typeof u == "string"), C = !y && a?.filter((u) => u?.isHeader) || [];
5136
- return /* @__PURE__ */ x(GA, { sx: { minWidth: 250 }, ...p, children: [
5137
- c && !s && (!r || !!C?.length) && /* @__PURE__ */ x(he, { children: [
5138
- /* @__PURE__ */ x(sA, { role: "listbox", children: [
5140
+ const { t: f } = tr(), v = Array.isArray(c) ? c?.length === a?.length : !1, x = Array.isArray(a) && a.every((p) => typeof p == "string"), h = !x && a?.filter((p) => p?.isHeader) || [];
5141
+ return /* @__PURE__ */ m(GA, { sx: { minWidth: 250 }, ...u, children: [
5142
+ d && !s && (!r || !!h?.length) && /* @__PURE__ */ m(he, { children: [
5143
+ /* @__PURE__ */ m(sA, { role: "listbox", children: [
5139
5144
  !r && /* @__PURE__ */ t(
5140
5145
  Ie,
5141
5146
  {
5142
5147
  disablePadding: !0,
5143
5148
  role: "option",
5144
- onMouseDown: (u) => {
5145
- if (u.stopPropagation(), u.preventDefault(), v) {
5146
- i?.(u, [], "removeOption");
5149
+ onMouseDown: (p) => {
5150
+ if (p.stopPropagation(), p.preventDefault(), v) {
5151
+ i?.(p, [], "removeOption");
5147
5152
  return;
5148
5153
  }
5149
- i?.(u, a || [], "selectOption");
5154
+ i?.(p, a || [], "selectOption");
5150
5155
  },
5151
- children: /* @__PURE__ */ x(TA, { disableRipple: !0, children: [
5156
+ children: /* @__PURE__ */ m(TA, { disableRipple: !0, children: [
5152
5157
  /* @__PURE__ */ t(cA, { disableRipple: !0, id: "select-all-checkbox", checked: v, sx: jA }),
5153
5158
  /* @__PURE__ */ t(Ee, { primary: n?.selectAll || f("selectAll"), slotProps: { primary: { variant: "body2" } } }),
5154
5159
  !o && /* @__PURE__ */ t(
@@ -5160,42 +5165,42 @@ const an = (e, A) => {
5160
5165
  marginX: 1,
5161
5166
  textDecoration: "none"
5162
5167
  },
5163
- onClick: (u) => {
5164
- i?.(u, [], "removeOption");
5168
+ onClick: (p) => {
5169
+ i?.(p, [], "removeOption");
5165
5170
  },
5166
- onMouseDown: (u) => {
5167
- u.stopPropagation(), u.preventDefault();
5171
+ onMouseDown: (p) => {
5172
+ p.stopPropagation(), p.preventDefault();
5168
5173
  },
5169
- children: /* @__PURE__ */ t(J, { variant: "body2", children: n?.reset || f("reset") })
5174
+ children: /* @__PURE__ */ t(Y, { variant: "body2", children: n?.reset || f("reset") })
5170
5175
  }
5171
5176
  )
5172
5177
  ] })
5173
5178
  }
5174
5179
  ),
5175
- !y && C?.map((u, m) => {
5176
- const I = `header-options-${m}`, B = Array.isArray(d) && d.some(
5177
- (h) => JSON.stringify(h) === JSON.stringify(u) || h && typeof h == "object" && "id" in h && h?.id === u?.id
5180
+ !x && h?.map((p, b) => {
5181
+ const k = `header-options-${b}`, S = Array.isArray(c) && c.some(
5182
+ (C) => JSON.stringify(C) === JSON.stringify(p) || C && typeof C == "object" && "id" in C && C?.id === p?.id
5178
5183
  );
5179
5184
  return /* @__PURE__ */ t(
5180
5185
  Ie,
5181
5186
  {
5182
5187
  disablePadding: !0,
5183
- onMouseDown: (h) => {
5184
- if (h.stopPropagation(), h.preventDefault(), B) {
5185
- const w = Array.isArray(d) ? d?.filter(
5186
- (l) => !(JSON.stringify(l) === JSON.stringify(u) || l && typeof l == "object" && "id" in l && l?.id === u?.id)
5188
+ onMouseDown: (C) => {
5189
+ if (C.stopPropagation(), C.preventDefault(), S) {
5190
+ const y = Array.isArray(c) ? c?.filter(
5191
+ (l) => !(JSON.stringify(l) === JSON.stringify(p) || l && typeof l == "object" && "id" in l && l?.id === p?.id)
5187
5192
  ) : [];
5188
- i?.(h, w, "removeOption");
5193
+ i?.(C, y, "removeOption");
5189
5194
  return;
5190
5195
  }
5191
- i?.(h, [...Array.isArray(d) ? d : [], u], "selectOption");
5196
+ i?.(C, [...Array.isArray(c) ? c : [], p], "selectOption");
5192
5197
  },
5193
- children: /* @__PURE__ */ x(TA, { disableRipple: !0, children: [
5194
- /* @__PURE__ */ t(cA, { disableRipple: !0, checked: B, sx: jA }),
5195
- /* @__PURE__ */ t(Ee, { primary: u?.label })
5198
+ children: /* @__PURE__ */ m(TA, { disableRipple: !0, children: [
5199
+ /* @__PURE__ */ t(cA, { disableRipple: !0, checked: S, sx: jA }),
5200
+ /* @__PURE__ */ t(Ee, { primary: p?.label })
5196
5201
  ] })
5197
5202
  },
5198
- I
5203
+ k
5199
5204
  );
5200
5205
  })
5201
5206
  ] }),
@@ -5212,91 +5217,91 @@ const an = (e, A) => {
5212
5217
  disableReset: i,
5213
5218
  disableSelectAll: s,
5214
5219
  value: a,
5215
- onFocus: d,
5216
- onBlur: c,
5217
- open: p,
5220
+ onFocus: c,
5221
+ onBlur: d,
5222
+ open: u,
5218
5223
  getOptionLabel: f,
5219
5224
  onInputChange: v,
5220
- inputValue: y,
5221
- disableClearable: C,
5222
- loading: u,
5223
- resetInputValueOnSelectOption: m,
5224
- renderOption: I,
5225
- renderValue: B,
5226
- width: h,
5227
- sx: w,
5225
+ inputValue: x,
5226
+ disableClearable: h,
5227
+ loading: p,
5228
+ resetInputValueOnSelectOption: b,
5229
+ renderOption: k,
5230
+ renderValue: S,
5231
+ width: C,
5232
+ sx: y,
5228
5233
  size: l = "small",
5229
- disableCloseOnSelect: S = !0,
5234
+ disableCloseOnSelect: I = !0,
5230
5235
  multiple: E = !0,
5231
5236
  options: H = [],
5232
- slotProps: L,
5233
- ...$
5234
- }, k) => {
5235
- const [P, U] = W(!1), [Y, K] = W(""), N = y || Y, _ = e === "chip", G = Array.isArray(a) ? !!a.length : a != null, Ae = Pn(a, E);
5237
+ slotProps: D,
5238
+ ...X
5239
+ }, V) => {
5240
+ const [W, G] = q(!1), [K, P] = q(""), R = x || K, U = e === "chip", z = Array.isArray(a) ? !!a.length : a != null, Ae = Pn(a, E);
5236
5241
  return /* @__PURE__ */ t(
5237
5242
  h1,
5238
5243
  {
5239
5244
  freeSolo: !1,
5240
5245
  multiple: E,
5241
- disableClearable: C,
5246
+ disableClearable: h,
5242
5247
  value: Ae,
5243
5248
  options: H,
5244
- loading: u,
5245
- ref: k,
5249
+ loading: p,
5250
+ ref: V,
5246
5251
  size: l,
5247
- disableCloseOnSelect: S,
5248
- onChange: (b, M, O, D) => {
5252
+ disableCloseOnSelect: I,
5253
+ onChange: (w, M, O, L) => {
5249
5254
  if (M === null) {
5250
- A?.(b, E ? [] : null, O, D);
5255
+ A?.(w, E ? [] : null, O, L);
5251
5256
  return;
5252
5257
  }
5253
- A?.(b, M, O, D), (!S || !E) && U(!1);
5258
+ A?.(w, M, O, L), (!I || !E) && G(!1);
5254
5259
  },
5255
5260
  getLimitTagsText: Tn(e),
5256
- inputValue: N,
5257
- open: p || P,
5258
- onOpen: () => U(!0),
5261
+ inputValue: R,
5262
+ open: u || W,
5263
+ onOpen: () => G(!0),
5259
5264
  sx: {
5260
- width: h,
5261
- ...w
5265
+ width: C,
5266
+ ...y
5262
5267
  },
5263
5268
  slots: {
5264
5269
  paper: Ln
5265
5270
  },
5266
5271
  slotProps: {
5267
- ...L,
5272
+ ...D,
5268
5273
  paper: {
5269
5274
  disableReset: i,
5270
5275
  disableSelectAll: s,
5271
- loading: u,
5276
+ loading: p,
5272
5277
  localeText: o,
5273
5278
  multiple: E,
5274
5279
  onChange: A,
5275
5280
  options: H,
5276
5281
  value: a,
5277
5282
  variant: e,
5278
- ...L?.paper
5283
+ ...D?.paper
5279
5284
  }
5280
5285
  },
5281
- onInputChange: (b, M, O) => {
5282
- O === "reset" && P && !m || O === "selectOption" && !m || O === "removeOption" && !m || (y || K(M), v?.(b, M, O));
5286
+ onInputChange: (w, M, O) => {
5287
+ O === "reset" && W && !b || O === "selectOption" && !b || O === "removeOption" && !b || (x || P(M), v?.(w, M, O));
5283
5288
  },
5284
- onFocus: (b) => {
5285
- U(!0), d?.(b);
5289
+ onFocus: (w) => {
5290
+ G(!0), c?.(w);
5286
5291
  },
5287
- onBlur: (b) => {
5288
- U(!1), c?.(b);
5292
+ onBlur: (w) => {
5293
+ G(!1), d?.(w);
5289
5294
  },
5290
- getOptionLabel: f || ((b) => {
5291
- const M = typeof b == "object" && "label" in b ? b.label : b;
5295
+ getOptionLabel: f || ((w) => {
5296
+ const M = typeof w == "object" && "label" in w ? w.label : w;
5292
5297
  return String(M);
5293
5298
  }),
5294
- renderOption: I || ((b, M, { selected: O }) => {
5295
- const D = typeof M != "string" && M.isHeader;
5296
- if (u || D)
5299
+ renderOption: k || ((w, M, { selected: O }) => {
5300
+ const L = typeof M != "string" && M.isHeader;
5301
+ if (p || L)
5297
5302
  return null;
5298
- const te = typeof M == "string" ? M : M?.id || M?.value || "", ae = typeof M == "string" ? M : M?.label, be = typeof M == "string" ? void 0 : M?.image, q = `${te}-${b?.key}`;
5299
- return /* @__PURE__ */ R1(Ie, { ...b, key: q }, !r && /* @__PURE__ */ t(cA, { disableRipple: !0, checked: O, sx: jA }), be && /* @__PURE__ */ t(
5303
+ const te = typeof M == "string" ? M : M?.id || M?.value || "", ae = typeof M == "string" ? M : M?.label, be = typeof M == "string" ? void 0 : M?.image, $ = `${te}-${w?.key}`;
5304
+ return /* @__PURE__ */ R1(Ie, { ...w, key: $ }, !r && /* @__PURE__ */ t(cA, { disableRipple: !0, checked: O, sx: jA }), be && /* @__PURE__ */ t(
5300
5305
  g1,
5301
5306
  {
5302
5307
  sx: {
@@ -5307,49 +5312,49 @@ const an = (e, A) => {
5307
5312
  },
5308
5313
  children: /* @__PURE__ */ t(Se, { variant: "rounded", src: be, sx: { height: 24, width: 24 }, children: be === "letter" && typeof ae == "string" && ae?.charAt(0).toUpperCase() })
5309
5314
  }
5310
- ), typeof ae == "string" ? /* @__PURE__ */ t(J, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: ae, children: ae }) : ae);
5315
+ ), typeof ae == "string" ? /* @__PURE__ */ t(Y, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: ae, children: ae }) : ae);
5311
5316
  }),
5312
- renderValue: B || (E ? (b, M, O) => Array.isArray(b) ? b.map((D, te) => {
5317
+ renderValue: S || (E ? (w, M, O) => Array.isArray(w) ? w.map((L, te) => {
5313
5318
  if (O?.focused)
5314
5319
  return null;
5315
5320
  const { key: ae } = M({ index: te });
5316
- return /* @__PURE__ */ t(J, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: typeof D == "object" && "label" in D && D?.label ? D.label : D.toString() }, ae);
5321
+ return /* @__PURE__ */ t(Y, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: typeof L == "object" && "label" in L && L?.label ? L.label : L.toString() }, ae);
5317
5322
  }) : null : void 0),
5318
- renderInput: (b) => {
5323
+ renderInput: (w) => {
5319
5324
  const M = () => {
5320
- if (!(!P && (Array.isArray(a) && a.length || !Array.isArray(a) && a)))
5325
+ if (!(!W && (Array.isArray(a) && a.length || !Array.isArray(a) && a)))
5321
5326
  return n;
5322
- }, O = () => _ ? /* @__PURE__ */ x(
5327
+ }, O = () => U ? /* @__PURE__ */ m(
5323
5328
  Pe,
5324
5329
  {
5325
5330
  position: "end",
5326
5331
  sx: {
5327
- color: G ? "text.contrast" : "text.primary",
5332
+ color: z ? "text.contrast" : "text.primary",
5328
5333
  position: "absolute",
5329
5334
  right: 5,
5330
- transform: P ? "rotate(180deg)" : "rotate(0deg)",
5335
+ transform: W ? "rotate(180deg)" : "rotate(0deg)",
5331
5336
  transition: "transform 0.2s ease-in-out"
5332
5337
  },
5333
5338
  children: [
5334
- (N || G) && !C && /* @__PURE__ */ t(
5339
+ (R || z) && !h && /* @__PURE__ */ t(
5335
5340
  ue,
5336
5341
  {
5337
5342
  size: "small",
5338
- onClick: (D) => {
5339
- D.preventDefault(), D.stopPropagation(), K(""), v?.(D, "", "clear"), G && A?.(D, E ? [] : null, "clear");
5343
+ onClick: (L) => {
5344
+ L.preventDefault(), L.stopPropagation(), P(""), v?.(L, "", "clear"), z && A?.(L, E ? [] : null, "clear");
5340
5345
  },
5341
- onMouseDown: (D) => {
5342
- D.preventDefault(), D.stopPropagation();
5346
+ onMouseDown: (L) => {
5347
+ L.preventDefault(), L.stopPropagation();
5343
5348
  },
5344
5349
  sx: {
5345
5350
  "& .MuiSvgIcon-root": {
5346
- fontSize: z(16),
5351
+ fontSize: J(16),
5347
5352
  pointerEvents: "none"
5348
5353
  },
5349
5354
  ".MuiTextField-root:hover &": {
5350
5355
  opacity: 1
5351
5356
  },
5352
- color: G ? "text.contrast" : "text.primary",
5357
+ color: z ? "text.contrast" : "text.primary",
5353
5358
  cursor: "pointer",
5354
5359
  left: "50%",
5355
5360
  opacity: 0,
@@ -5371,7 +5376,7 @@ const an = (e, A) => {
5371
5376
  sx: {
5372
5377
  cursor: "pointer",
5373
5378
  transition: "opacity 0.2s ease-in-out",
5374
- ...(N || G) && !C && {
5379
+ ...(R || z) && !h && {
5375
5380
  ".MuiTextField-root:hover &": {
5376
5381
  opacity: 0
5377
5382
  }
@@ -5381,7 +5386,7 @@ const an = (e, A) => {
5381
5386
  )
5382
5387
  ]
5383
5388
  }
5384
- ) : P ? /* @__PURE__ */ x(
5389
+ ) : W ? /* @__PURE__ */ m(
5385
5390
  Pe,
5386
5391
  {
5387
5392
  position: "end",
@@ -5390,34 +5395,34 @@ const an = (e, A) => {
5390
5395
  right: 8
5391
5396
  },
5392
5397
  children: [
5393
- N && !C && /* @__PURE__ */ t(
5398
+ R && !h && /* @__PURE__ */ t(
5394
5399
  ue,
5395
5400
  {
5396
5401
  size: "small",
5397
- onClick: (D) => {
5398
- K(""), v?.(D, "", "clear");
5402
+ onClick: (L) => {
5403
+ P(""), v?.(L, "", "clear");
5399
5404
  },
5400
5405
  sx: { marginRight: "-3px" },
5401
- children: /* @__PURE__ */ t(_e, { sx: { fontSize: z(20) } })
5406
+ children: /* @__PURE__ */ t(_e, { sx: { fontSize: J(20) } })
5402
5407
  }
5403
5408
  ),
5404
- Ye(b.InputProps?.endAdornment) && typeof b.InputProps.endAdornment == "object" && "props" in b.InputProps.endAdornment && b.InputProps.endAdornment.props && typeof b.InputProps.endAdornment.props == "object" && "children" in b.InputProps.endAdornment.props && Array.isArray(b.InputProps.endAdornment.props.children) && b.InputProps.endAdornment.props.children[1]
5409
+ Ye(w.InputProps?.endAdornment) && typeof w.InputProps.endAdornment == "object" && "props" in w.InputProps.endAdornment && w.InputProps.endAdornment.props && typeof w.InputProps.endAdornment.props == "object" && "children" in w.InputProps.endAdornment.props && Array.isArray(w.InputProps.endAdornment.props.children) && w.InputProps.endAdornment.props.children[1]
5405
5410
  ]
5406
5411
  }
5407
- ) : Ye(b.InputProps?.endAdornment) ? b.InputProps.endAdornment : null;
5412
+ ) : Ye(w.InputProps?.endAdornment) ? w.InputProps.endAdornment : null;
5408
5413
  return /* @__PURE__ */ t(
5409
5414
  gA,
5410
5415
  {
5411
5416
  sx: {
5412
5417
  "& .MuiInputBase-root .MuiInputBase-input": {
5413
- flex: !E || !P && !N || P ? 1 : 0,
5418
+ flex: !E || !W && !R || W ? 1 : 0,
5414
5419
  minWidth: 0
5415
5420
  },
5416
- ..._ && {
5421
+ ...U && {
5417
5422
  "& .MuiInputBase-root": {
5418
- backgroundColor: G ? "text.primary" : "grey.100",
5423
+ backgroundColor: z ? "text.primary" : "grey.100",
5419
5424
  borderRadius: 20,
5420
- color: G ? "text.contrast" : "text.primary",
5425
+ color: z ? "text.contrast" : "text.primary",
5421
5426
  fieldset: {
5422
5427
  borderColor: "transparent !important"
5423
5428
  },
@@ -5436,10 +5441,10 @@ const an = (e, A) => {
5436
5441
  }
5437
5442
  }
5438
5443
  },
5439
- ...b,
5444
+ ...w,
5440
5445
  slotProps: {
5441
5446
  input: {
5442
- ...b.InputProps,
5447
+ ...w.InputProps,
5443
5448
  endAdornment: O()
5444
5449
  }
5445
5450
  },
@@ -5447,7 +5452,7 @@ const an = (e, A) => {
5447
5452
  }
5448
5453
  );
5449
5454
  },
5450
- ...$
5455
+ ...X
5451
5456
  }
5452
5457
  );
5453
5458
  }, ao = ie(Dn), Hn = ({
@@ -5459,15 +5464,15 @@ const an = (e, A) => {
5459
5464
  position: i = "fixed",
5460
5465
  mountOnEnter: s = !0,
5461
5466
  unmountOnExit: a = !0,
5462
- ...d
5463
- }, c) => /* @__PURE__ */ t(x1, { mountOnEnter: s, unmountOnExit: a, in: e === void 0 ? !0 : e, direction: "up", children: /* @__PURE__ */ t(
5467
+ ...c
5468
+ }, d) => /* @__PURE__ */ t(x1, { mountOnEnter: s, unmountOnExit: a, in: e === void 0 ? !0 : e, direction: "up", children: /* @__PURE__ */ t(
5464
5469
  GA,
5465
5470
  {
5466
5471
  square: !0,
5467
5472
  elevation: 0,
5468
- ref: c,
5473
+ ref: d,
5469
5474
  sx: {
5470
- borderTop: ({ palette: p }) => `1px solid ${p.divider}`,
5475
+ borderTop: ({ palette: u }) => `1px solid ${u.divider}`,
5471
5476
  bottom: 0,
5472
5477
  left: 0,
5473
5478
  padding: n,
@@ -5486,7 +5491,7 @@ const an = (e, A) => {
5486
5491
  },
5487
5492
  ...r
5488
5493
  },
5489
- ...d,
5494
+ ...c,
5490
5495
  children: A
5491
5496
  }
5492
5497
  ) }), so = ie(Hn), On = ({ sx: e, fontSize: A, color: r = "currentColor" }) => /* @__PURE__ */ t(pe, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: A, sx: e, children: /* @__PURE__ */ t(
@@ -5502,7 +5507,7 @@ const an = (e, A) => {
5502
5507
  fill: r
5503
5508
  }
5504
5509
  ) }), lo = ({ slotProps: e, ...A }) => {
5505
- const [r, n] = W(!1), o = () => {
5510
+ const [r, n] = q(!1), o = () => {
5506
5511
  n((a) => !a);
5507
5512
  }, i = (a) => {
5508
5513
  a.preventDefault();
@@ -5589,42 +5594,42 @@ const an = (e, A) => {
5589
5594
  fullWidth: i = !0,
5590
5595
  maxWidth: s = "xs",
5591
5596
  onClose: a,
5592
- ...d
5593
- }) => /* @__PURE__ */ x(
5597
+ ...c
5598
+ }) => /* @__PURE__ */ m(
5594
5599
  v1,
5595
5600
  {
5596
5601
  maxWidth: s,
5597
5602
  fullWidth: i,
5598
5603
  onClose: a,
5599
- ...d,
5604
+ ...c,
5600
5605
  sx: {
5601
5606
  "& .MuiDialog-paper": {
5602
- borderColor: ({ palette: c }) => c[o]["30p"]
5607
+ borderColor: ({ palette: d }) => d[o]["30p"]
5603
5608
  }
5604
5609
  },
5605
5610
  children: [
5606
- /* @__PURE__ */ x(
5611
+ /* @__PURE__ */ m(
5607
5612
  b1,
5608
5613
  {
5609
5614
  sx: {
5610
5615
  alignItems: "center",
5611
- backgroundColor: ({ palette: c }) => c[o]["4p"],
5616
+ backgroundColor: ({ palette: d }) => d[o]["4p"],
5612
5617
  display: "flex",
5613
5618
  flexDirection: "column",
5614
5619
  padding: 3,
5615
5620
  textAlign: "center",
5616
- ...(r || n) && { borderBottom: ({ palette: c }) => `1px solid ${c[o]["12p"]}` }
5621
+ ...(r || n) && { borderBottom: ({ palette: d }) => `1px solid ${d[o]["12p"]}` }
5617
5622
  },
5618
5623
  children: [
5619
- /* @__PURE__ */ t(tn, { onClick: (c) => a?.(c, "closeButton") }),
5624
+ /* @__PURE__ */ t(tn, { onClick: (d) => a?.(d, "closeButton") }),
5620
5625
  /* @__PURE__ */ t(
5621
5626
  T,
5622
5627
  {
5623
5628
  sx: {
5624
5629
  alignItems: "center",
5625
- backgroundColor: ({ palette: c }) => c[o]["12p"],
5630
+ backgroundColor: ({ palette: d }) => d[o]["12p"],
5626
5631
  borderRadius: "50%",
5627
- color: ({ palette: c }) => c[o].main,
5632
+ color: ({ palette: d }) => d[o].main,
5628
5633
  display: "flex",
5629
5634
  flexShrink: 0,
5630
5635
  height: Pr,
@@ -5633,7 +5638,7 @@ const an = (e, A) => {
5633
5638
  width: Pr,
5634
5639
  ...Vn
5635
5640
  },
5636
- children: /* @__PURE__ */ x("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5641
+ children: /* @__PURE__ */ m("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5637
5642
  /* @__PURE__ */ t(
5638
5643
  "path",
5639
5644
  {
@@ -5645,12 +5650,12 @@ const an = (e, A) => {
5645
5650
  ] })
5646
5651
  }
5647
5652
  ),
5648
- /* @__PURE__ */ t(J, { variant: "h4", sx: { marginBottom: 1 }, children: e }),
5653
+ /* @__PURE__ */ t(Y, { variant: "h4", sx: { marginBottom: 1 }, children: e }),
5649
5654
  /* @__PURE__ */ t(y1, { variant: "body2", children: A })
5650
5655
  ]
5651
5656
  }
5652
5657
  ),
5653
- (r || n) && /* @__PURE__ */ x(w1, { children: [
5658
+ (r || n) && /* @__PURE__ */ m(w1, { children: [
5654
5659
  n && /* @__PURE__ */ t(Er, { variant: "outlined", size: "small", isLoading: n?.loading, onClick: n?.onClick, sx: { flex: 1 }, children: n?.text }),
5655
5660
  r && /* @__PURE__ */ t(
5656
5661
  Er,
@@ -5671,86 +5676,101 @@ function uo({
5671
5676
  label: e,
5672
5677
  value: A,
5673
5678
  onChange: r,
5674
- options: n,
5675
- variant: o,
5676
- disabled: i,
5677
- labelMenu: s,
5678
- labelOnlyAfterSelection: a,
5679
- separatorBetweenLabelAndOptionSelected: d = ":",
5680
- multiple: c = !1,
5681
- size: p = "medium"
5679
+ checked: n,
5680
+ onCheckedChange: o,
5681
+ options: i,
5682
+ variant: s,
5683
+ disabled: a,
5684
+ labelMenu: c,
5685
+ labelOnlyAfterSelection: d,
5686
+ separatorBetweenLabelAndOptionSelected: u = ":",
5687
+ multiple: f = !1,
5688
+ size: v = "medium"
5682
5689
  }) {
5683
- const [f, v] = W(() => c ? A || [] : A), y = c ? A?.length > 0 : A != null, { anchorMenu: C, openMenu: u, isMenuOpen: m, closeMenu: I } = A1(), { t: B } = tr(), h = Array.isArray(n), w = () => {
5684
- (c || f !== void 0) && r?.(f), I();
5685
- }, l = () => {
5686
- if (c) {
5687
- const k = [];
5688
- v(k), r?.(k);
5690
+ const x = n !== void 0, [h, p] = q(() => x ? n || !1 : f ? A || [] : A), b = x ? n === !0 : f ? A?.length > 0 : A != null, { anchorMenu: k, openMenu: S, isMenuOpen: C, closeMenu: y } = A1(), { t: l } = tr(), I = Array.isArray(i), E = i !== void 0, H = () => {
5691
+ x ? o?.(h) : (f || h !== void 0) && r?.(h), y();
5692
+ }, D = () => {
5693
+ if (x)
5694
+ p(!1), o?.(!1);
5695
+ else if (f) {
5696
+ const P = [];
5697
+ p(P), r?.(P);
5689
5698
  } else
5690
- v(void 0), r?.(void 0);
5691
- I();
5692
- }, S = (k) => {
5693
- if (h) {
5694
- u(k);
5699
+ p(void 0), r?.(void 0);
5700
+ y();
5701
+ }, X = (P) => {
5702
+ if (x && !E) {
5703
+ o?.(!n);
5695
5704
  return;
5696
5705
  }
5697
- if (!h) {
5698
- const P = A != null ? void 0 : n?.value;
5699
- r?.(c ? P !== void 0 ? [P] : [] : P);
5706
+ if (E && I) {
5707
+ S(P);
5708
+ return;
5700
5709
  }
5701
- }, E = (k) => {
5702
- if (c) {
5703
- const P = f || [], U = P.includes(k) ? P.filter((Y) => Y !== k) : [...P, k];
5704
- v(U);
5710
+ if (E && !I)
5711
+ if (x)
5712
+ o?.(!n);
5713
+ else {
5714
+ const R = A != null ? void 0 : i?.value;
5715
+ r?.(f ? R !== void 0 ? [R] : [] : R);
5716
+ }
5717
+ }, V = (P) => {
5718
+ if (x)
5719
+ p(!0);
5720
+ else if (f) {
5721
+ const R = h || [], U = R.includes(P) ? R.filter((z) => z !== P) : [...R, P];
5722
+ p(U);
5705
5723
  } else
5706
- v(k);
5707
- }, H = (k) => c ? f?.includes(k) || !1 : f === k, L = (k) => h ? `${s ? `${s} ${d} ` : ""}${n.find((P) => P.value === k)?.label || ""}` : n?.label;
5708
- return /* @__PURE__ */ x(he, { children: [
5724
+ p(P);
5725
+ }, W = (P) => x ? n === !0 : f ? h?.includes(P) || !1 : h === P, G = (P) => I ? `${c ? `${c} ${u} ` : ""}${i.find((R) => R.value === P)?.label || ""}` : i?.label;
5726
+ return /* @__PURE__ */ m(he, { children: [
5709
5727
  /* @__PURE__ */ t(
5710
5728
  Te,
5711
5729
  {
5712
- disabled: i,
5713
- size: p,
5730
+ disabled: a,
5731
+ size: v,
5714
5732
  label: (() => {
5715
- if (a && y) {
5716
- const k = A || [], P = Array.isArray(k) ? k.length : 1;
5717
- return `${e || s}${c && P > 1 ? ` (${P})` : ""}`;
5733
+ if (x)
5734
+ return e;
5735
+ if (d && b) {
5736
+ const P = A || [], R = Array.isArray(P) ? P.length : 1;
5737
+ return `${e || c}${f && R > 1 ? ` (${R})` : ""}`;
5718
5738
  }
5719
- if (c && y) {
5720
- const k = A || [], P = k.length;
5721
- if (P === 1)
5722
- return L(k[0]) || e;
5723
- if (P > 1) {
5724
- const U = L(k[0]), Y = P - 1;
5725
- return `${U || String(k[0])}... (+${Y})`;
5739
+ if (f && b) {
5740
+ const P = A || [], R = P.length;
5741
+ if (R === 1)
5742
+ return G(P[0]) || e;
5743
+ if (R > 1) {
5744
+ const U = G(P[0]), z = R - 1;
5745
+ return `${U || String(P[0])}... (+${z})`;
5726
5746
  }
5727
5747
  }
5728
- return !c && A !== void 0 && A !== null && h && L(A) || e;
5748
+ return !f && !x && A !== void 0 && A !== null && I && G(A) || e;
5729
5749
  })(),
5730
- variant: o,
5731
- deleteIcon: h ? /* @__PURE__ */ t(
5750
+ variant: s,
5751
+ deleteIcon: E && I ? /* @__PURE__ */ t(
5732
5752
  Ar,
5733
5753
  {
5734
5754
  fontSize: "small",
5735
5755
  sx: {
5736
5756
  marginLeft: -0.5,
5737
5757
  marginRight: 0.5,
5738
- transform: m ? "rotate(180deg)" : "rotate(0deg)"
5758
+ transform: C ? "rotate(180deg)" : "rotate(0deg)"
5739
5759
  }
5740
5760
  }
5741
5761
  ) : void 0,
5742
- onClick: S,
5743
- onDelete: h ? () => {
5762
+ onClick: X,
5763
+ onDelete: E && I ? () => {
5744
5764
  } : void 0,
5745
- color: y ? "active" : "default"
5765
+ color: b ? "active" : "default"
5746
5766
  }
5747
5767
  ),
5748
- h && Array.isArray(n) && /* @__PURE__ */ x(
5768
+ E && I && /* @__PURE__ */ m(
5749
5769
  Lr,
5750
5770
  {
5751
- anchorEl: C,
5752
- open: m,
5753
- onClose: I,
5771
+ anchorEl: k,
5772
+ open: C,
5773
+ onClose: y,
5754
5774
  slotProps: {
5755
5775
  paper: {
5756
5776
  sx: {
@@ -5759,20 +5779,20 @@ function uo({
5759
5779
  }
5760
5780
  },
5761
5781
  children: [
5762
- /* @__PURE__ */ x(Q, { component: "li", direction: "row", paddingLeft: 2, marginBottom: 1, children: [
5763
- /* @__PURE__ */ t(Ee, { children: s }),
5764
- /* @__PURE__ */ t(ue, { onClick: I, children: /* @__PURE__ */ t(_e, { fontSize: "small" }) })
5782
+ /* @__PURE__ */ m(Q, { component: "li", direction: "row", paddingLeft: 2, marginBottom: 1, children: [
5783
+ /* @__PURE__ */ t(Ee, { children: c }),
5784
+ /* @__PURE__ */ t(ue, { onClick: y, children: /* @__PURE__ */ t(_e, { fontSize: "small" }) })
5765
5785
  ] }),
5766
- n.map((k, P) => {
5767
- const U = `${k.id || k.value}-${P}`, Y = H(k.value);
5768
- return /* @__PURE__ */ x(Dr, { onClick: () => E(k.value), children: [
5769
- /* @__PURE__ */ t(Hr, { children: c ? /* @__PURE__ */ t(cA, { disableRipple: !0, checked: Y, sx: { padding: 0 } }) : /* @__PURE__ */ t(E1, { disableRipple: !0, checked: Y, sx: { padding: 0 } }) }),
5770
- /* @__PURE__ */ t(Ee, { sx: { color: "text.secondary" }, children: k.label })
5786
+ i.map((P, R) => {
5787
+ const U = `${P.id || P.value}-${R}`, z = W(P.value);
5788
+ return /* @__PURE__ */ m(Dr, { onClick: () => V(P.value), children: [
5789
+ /* @__PURE__ */ t(Hr, { children: f || x ? /* @__PURE__ */ t(cA, { disableRipple: !0, checked: z, sx: { padding: 0 } }) : /* @__PURE__ */ t(E1, { disableRipple: !0, checked: z, sx: { padding: 0 } }) }),
5790
+ /* @__PURE__ */ t(Ee, { sx: { color: "text.secondary" }, children: P.label })
5771
5791
  ] }, U);
5772
5792
  }),
5773
- /* @__PURE__ */ x(Q, { component: "li", direction: "row", justifyContent: "flex-end", spacing: 1, marginTop: 1, children: [
5774
- /* @__PURE__ */ t(Ue, { size: "small", onClick: l, children: B("reset") }),
5775
- /* @__PURE__ */ t(Ue, { variant: "contained", size: "small", onClick: w, children: B("apply") })
5793
+ /* @__PURE__ */ m(Q, { component: "li", direction: "row", justifyContent: "flex-end", spacing: 1, marginTop: 1, children: [
5794
+ /* @__PURE__ */ t(Ue, { size: "small", onClick: D, children: l("reset") }),
5795
+ /* @__PURE__ */ t(Ue, { variant: "contained", size: "small", onClick: H, children: l("apply") })
5776
5796
  ] })
5777
5797
  ]
5778
5798
  }
@@ -5780,7 +5800,7 @@ function uo({
5780
5800
  ] });
5781
5801
  }
5782
5802
  const fo = ({ children: e, permissions: A, disabledPermissions: r }) => {
5783
- const [n, o] = W(), i = We(
5803
+ const [n, o] = q(), i = We(
5784
5804
  () => ({
5785
5805
  disabledPermissions: r,
5786
5806
  permissions: n,
@@ -5808,16 +5828,16 @@ const fo = ({ children: e, permissions: A, disabledPermissions: r }) => {
5808
5828
  autoHideDuration: A = 5e3,
5809
5829
  anchorOrigin: r = { horizontal: "center", vertical: "bottom" }
5810
5830
  }) => {
5811
- const [n, o] = W(Fn), i = oe((d) => {
5831
+ const [n, o] = q(Fn), i = oe((c) => {
5812
5832
  o({
5813
- component: d?.component,
5833
+ component: c?.component,
5814
5834
  isOpen: !0,
5815
- message: d?.message || "",
5816
- severity: d?.severity || "success",
5817
- variant: d?.variant || "standard"
5835
+ message: c?.message || "",
5836
+ severity: c?.severity || "success",
5837
+ variant: c?.variant || "standard"
5818
5838
  });
5819
- }, []), s = oe((d, c) => {
5820
- c !== "clickaway" && o((p) => ({ ...p, isOpen: !1 }));
5839
+ }, []), s = oe((c, d) => {
5840
+ d !== "clickaway" && o((u) => ({ ...u, isOpen: !1 }));
5821
5841
  }, []), a = We(
5822
5842
  () => ({
5823
5843
  closeSnackbar: s,
@@ -5826,7 +5846,7 @@ const fo = ({ children: e, permissions: A, disabledPermissions: r }) => {
5826
5846
  }),
5827
5847
  [s, i, n.isOpen]
5828
5848
  );
5829
- return /* @__PURE__ */ x(o1.Provider, { value: a, children: [
5849
+ return /* @__PURE__ */ m(o1.Provider, { value: a, children: [
5830
5850
  /* @__PURE__ */ t(
5831
5851
  I1,
5832
5852
  {
@@ -5850,7 +5870,7 @@ const fo = ({ children: e, permissions: A, disabledPermissions: r }) => {
5850
5870
  openSnackbar: n
5851
5871
  };
5852
5872
  }, Co = () => {
5853
- const [e, A] = W(0);
5873
+ const [e, A] = q(0);
5854
5874
  return {
5855
5875
  handleChange: oe((n, o) => {
5856
5876
  A(o);
@@ -5899,7 +5919,7 @@ export {
5899
5919
  Kn as TimeLine,
5900
5920
  $n as TypographySkeleton,
5901
5921
  xo as getBackgroundImageElevation,
5902
- z as pxToRem,
5922
+ J as pxToRem,
5903
5923
  to as theme,
5904
5924
  A1 as useMenu,
5905
5925
  P1 as usePermission,