@tracktor/design-system 2.7.16 → 3.0.1

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,23 +1,23 @@
1
- import { useTheme as le, Box as F, Skeleton as oe, Tab as zt, Card as Q1, GlobalStyles as Ke, TextareaAutosize as Nt, InputAdornment as b1, IconButton as Ee, SvgIcon as ye, TextField as er, Toolbar as jt, Stack as z, AppBar as N1, Typography as U, List as y1, ListItem as Me, Chip as Qe, useMediaQuery as e1, SwipeableDrawer as Wt, Alert as rr, alpha as ge, Button as tr, CircularProgress as Gr, Modal as Yt, Fade as Ut, Divider as Xr, Collapse as Sr, Tooltip as Rr, CardContent as Gt, Avatar as m1, Menu as Xt, MenuItem as qt, ListItemIcon as Jt, ListItemText as He, Backdrop as Kt, InputLabel as Qt, ListItemButton as j1, responsiveFontSizes as nr, createTheme as Le, getOverlayAlpha as W1, css as v1, CssBaseline as en, ThemeProvider as rn, Checkbox as Y1, ListItemAvatar as tn, Autocomplete as nn, Badge as an, Paper as on, Snackbar as sn } from "@mui/material";
1
+ import { useTheme as de, Box as I, Skeleton as le, Tab as zt, Card as Q1, GlobalStyles as Ke, TextareaAutosize as Nt, InputAdornment as b1, IconButton as Ee, SvgIcon as ve, TextField as er, Toolbar as jt, Stack as z, AppBar as N1, Typography as G, List as y1, ListItem as Me, Chip as Qe, useMediaQuery as e1, SwipeableDrawer as Wt, Alert as rr, alpha as Ce, Button as tr, CircularProgress as Ur, Modal as Yt, Fade as Ut, Divider as Gr, Collapse as Sr, Tooltip as Rr, CardContent as Gt, Avatar as v1, Menu as Xt, MenuItem as qt, ListItemIcon as Jt, ListItemText as He, Backdrop as Kt, responsiveFontSizes as nr, createTheme as Le, getOverlayAlpha as j1, css as m1, CssBaseline as Qt, ThemeProvider as en, InputLabel as rn, ListItemButton as W1, Checkbox as Y1, ListItemAvatar as tn, Autocomplete as nn, Badge as an, Paper as on, Snackbar as sn } from "@mui/material";
2
2
  export * from "@mui/material";
3
- import * as ve from "react";
4
- import qr, { createContext as M1, useContext as we, useCallback as ne, forwardRef as fe, useState as re, useEffect as S1, cloneElement as ir, isValidElement as R1, memo as Jr, useMemo as A1, useRef as ar, Children as ln } from "react";
3
+ import * as me from "react";
4
+ import Xr, { createContext as M1, useContext as we, useCallback as ie, forwardRef as he, useState as te, useEffect as S1, cloneElement as ir, isValidElement as R1, memo as qr, useMemo as T1, useRef as ar, Children as ln } from "react";
5
5
  import { createElement as cn } from "@emotion/react";
6
6
  const dn = {
7
7
  disabledPermissions: void 0,
8
8
  permissions: void 0,
9
9
  setPermissions: () => {
10
10
  }
11
- }, Kr = M1(dn), Ar = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), pn = () => {
12
- const { permissions: e, setPermissions: r, disabledPermissions: t } = we(Kr), i = ne(
11
+ }, Jr = M1(dn), Tr = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), pn = () => {
12
+ const { permissions: e, setPermissions: r, disabledPermissions: t } = we(Jr), i = ie(
13
13
  (s, l) => {
14
- const c = [...l || [], ...e || []].filter((u) => !(t != null && t.includes(u)));
15
- return c ? Array.isArray(s) ? s.some((u) => Ar(u, c)) : Ar(s, c) : !1;
14
+ const c = [...l || [], ...e || []].filter((f) => !(t != null && t.includes(f)));
15
+ return c ? Array.isArray(s) ? s.some((f) => Tr(f, c)) : Tr(s, c) : !1;
16
16
  },
17
17
  [t, e]
18
18
  );
19
19
  return {
20
- appendPermissions: ne(
20
+ appendPermissions: ie(
21
21
  (s) => {
22
22
  r((l) => [...l || [], s]);
23
23
  },
@@ -28,7 +28,7 @@ const dn = {
28
28
  permissions: e,
29
29
  setPermissions: r
30
30
  };
31
- }, xa = ({ children: e, fallback: r, name: t, additionalPermissions: i }) => {
31
+ }, va = ({ children: e, fallback: r, name: t, additionalPermissions: i }) => {
32
32
  const { hasPermission: a } = pn(), s = a(t, i);
33
33
  return s ? e : !s && r ? r : null;
34
34
  };
@@ -46,13 +46,13 @@ var kr;
46
46
  function un() {
47
47
  if (kr) return Ye;
48
48
  kr = 1;
49
- var e = qr, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
50
- function l(d, c, u) {
51
- var h, C = {}, S = null, y = null;
52
- u !== void 0 && (S = "" + u), c.key !== void 0 && (S = "" + c.key), c.ref !== void 0 && (y = c.ref);
53
- for (h in c) i.call(c, h) && !s.hasOwnProperty(h) && (C[h] = c[h]);
54
- if (d && d.defaultProps) for (h in c = d.defaultProps, c) C[h] === void 0 && (C[h] = c[h]);
55
- return { $$typeof: r, type: d, key: S, ref: y, props: C, _owner: a.current };
49
+ var e = Xr, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
50
+ function l(d, c, f) {
51
+ var h, x = {}, C = null, b = null;
52
+ f !== void 0 && (C = "" + f), c.key !== void 0 && (C = "" + c.key), c.ref !== void 0 && (b = c.ref);
53
+ for (h in c) i.call(c, h) && !s.hasOwnProperty(h) && (x[h] = c[h]);
54
+ if (d && d.defaultProps) for (h in c = d.defaultProps, c) x[h] === void 0 && (x[h] = c[h]);
55
+ return { $$typeof: r, type: d, key: C, ref: b, props: x, _owner: a.current };
56
56
  }
57
57
  return Ye.Fragment = t, Ye.jsx = l, Ye.jsxs = l, Ye;
58
58
  }
@@ -66,57 +66,57 @@ var Ue = {};
66
66
  * This source code is licensed under the MIT license found in the
67
67
  * LICENSE file in the root directory of this source tree.
68
68
  */
69
- var Tr;
69
+ var Ar;
70
70
  function fn() {
71
- return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && function() {
72
- var e = qr, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), x = Symbol.iterator, m = "@@iterator";
73
- function f(o) {
71
+ return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
72
+ var e = Xr, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), M = Symbol.iterator, v = "@@iterator";
73
+ function u(o) {
74
74
  if (o === null || typeof o != "object")
75
75
  return null;
76
- var g = x && o[x] || o[m];
76
+ var g = M && o[M] || o[v];
77
77
  return typeof g == "function" ? g : null;
78
78
  }
79
79
  var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
80
- function b(o) {
80
+ function y(o) {
81
81
  {
82
- for (var g = arguments.length, v = new Array(g > 1 ? g - 1 : 0), _ = 1; _ < g; _++)
83
- v[_ - 1] = arguments[_];
84
- M("error", o, v);
82
+ for (var g = arguments.length, m = new Array(g > 1 ? g - 1 : 0), _ = 1; _ < g; _++)
83
+ m[_ - 1] = arguments[_];
84
+ S("error", o, m);
85
85
  }
86
86
  }
87
- function M(o, g, v) {
87
+ function S(o, g, m) {
88
88
  {
89
89
  var _ = E.ReactDebugCurrentFrame, D = _.getStackAddendum();
90
- D !== "" && (g += "%s", v = v.concat([D]));
91
- var j = v.map(function(P) {
90
+ D !== "" && (g += "%s", m = m.concat([D]));
91
+ var j = m.map(function(P) {
92
92
  return String(P);
93
93
  });
94
94
  j.unshift("Warning: " + g), Function.prototype.apply.call(console[o], console, j);
95
95
  }
96
96
  }
97
- var R = !1, p = !1, T = !1, k = !1, J = !1, N;
97
+ var A = !1, p = !1, T = !1, k = !1, q = !1, N;
98
98
  N = Symbol.for("react.module.reference");
99
- function he(o) {
100
- return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || J || o === a || o === u || o === h || k || o === y || R || p || T || typeof o == "object" && o !== null && (o.$$typeof === S || o.$$typeof === C || o.$$typeof === l || o.$$typeof === d || o.$$typeof === c || // This needs to include all possible module reference object
99
+ function Y(o) {
100
+ return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || q || o === a || o === f || o === h || k || o === b || A || p || T || typeof o == "object" && o !== null && (o.$$typeof === C || o.$$typeof === x || o.$$typeof === l || o.$$typeof === d || o.$$typeof === c || // This needs to include all possible module reference object
101
101
  // types supported by any Flight configuration anywhere since
102
102
  // we don't know which Flight build this will end up being used
103
103
  // with.
104
104
  o.$$typeof === N || o.getModuleId !== void 0));
105
105
  }
106
- function ce(o, g, v) {
106
+ function ae(o, g, m) {
107
107
  var _ = o.displayName;
108
108
  if (_)
109
109
  return _;
110
110
  var D = g.displayName || g.name || "";
111
- return D !== "" ? v + "(" + D + ")" : v;
111
+ return D !== "" ? m + "(" + D + ")" : m;
112
112
  }
113
- function me(o) {
113
+ function ge(o) {
114
114
  return o.displayName || "Context";
115
115
  }
116
116
  function H(o) {
117
117
  if (o == null)
118
118
  return null;
119
- if (typeof o.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
119
+ if (typeof o.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
120
120
  return o.displayName || o.name || null;
121
121
  if (typeof o == "string")
122
122
  return o;
@@ -129,7 +129,7 @@ function fn() {
129
129
  return "Profiler";
130
130
  case a:
131
131
  return "StrictMode";
132
- case u:
132
+ case f:
133
133
  return "Suspense";
134
134
  case h:
135
135
  return "SuspenseList";
@@ -138,16 +138,16 @@ function fn() {
138
138
  switch (o.$$typeof) {
139
139
  case d:
140
140
  var g = o;
141
- return me(g) + ".Consumer";
141
+ return ge(g) + ".Consumer";
142
142
  case l:
143
- var v = o;
144
- return me(v._context) + ".Provider";
143
+ var m = o;
144
+ return ge(m._context) + ".Provider";
145
145
  case c:
146
- return ce(o, o.render, "ForwardRef");
147
- case C:
146
+ return ae(o, o.render, "ForwardRef");
147
+ case x:
148
148
  var _ = o.displayName || null;
149
149
  return _ !== null ? _ : H(o.type) || "Memo";
150
- case S: {
150
+ case C: {
151
151
  var D = o, j = D._payload, P = D._init;
152
152
  try {
153
153
  return H(P(j));
@@ -158,14 +158,14 @@ function fn() {
158
158
  }
159
159
  return null;
160
160
  }
161
- var O = Object.assign, W = 0, K, de, Se, o1, De, s1, l1;
161
+ var O = Object.assign, W = 0, Q, pe, Se, o1, De, s1, l1;
162
162
  function c1() {
163
163
  }
164
164
  c1.__reactDisabledLog = !0;
165
- function F1() {
165
+ function I1() {
166
166
  {
167
167
  if (W === 0) {
168
- K = console.log, de = console.info, Se = console.warn, o1 = console.error, De = console.group, s1 = console.groupCollapsed, l1 = console.groupEnd;
168
+ Q = console.log, pe = console.info, Se = console.warn, o1 = console.error, De = console.group, s1 = console.groupCollapsed, l1 = console.groupEnd;
169
169
  var o = {
170
170
  configurable: !0,
171
171
  enumerable: !0,
@@ -195,10 +195,10 @@ function fn() {
195
195
  };
196
196
  Object.defineProperties(console, {
197
197
  log: O({}, o, {
198
- value: K
198
+ value: Q
199
199
  }),
200
200
  info: O({}, o, {
201
- value: de
201
+ value: pe
202
202
  }),
203
203
  warn: O({}, o, {
204
204
  value: Se
@@ -217,11 +217,11 @@ function fn() {
217
217
  })
218
218
  });
219
219
  }
220
- W < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
220
+ W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
221
221
  }
222
222
  }
223
223
  var Be = E.ReactCurrentDispatcher, Ze;
224
- function ke(o, g, v) {
224
+ function ke(o, g, m) {
225
225
  {
226
226
  if (Ze === void 0)
227
227
  try {
@@ -234,25 +234,25 @@ function fn() {
234
234
  ` + Ze + o;
235
235
  }
236
236
  }
237
- var ze = !1, Te;
237
+ var ze = !1, Ae;
238
238
  {
239
239
  var L1 = typeof WeakMap == "function" ? WeakMap : Map;
240
- Te = new L1();
240
+ Ae = new L1();
241
241
  }
242
- function A(o, g) {
242
+ function R(o, g) {
243
243
  if (!o || ze)
244
244
  return "";
245
245
  {
246
- var v = Te.get(o);
247
- if (v !== void 0)
248
- return v;
246
+ var m = Ae.get(o);
247
+ if (m !== void 0)
248
+ return m;
249
249
  }
250
250
  var _;
251
251
  ze = !0;
252
252
  var D = Error.prepareStackTrace;
253
253
  Error.prepareStackTrace = void 0;
254
254
  var j;
255
- j = Be.current, Be.current = null, F1();
255
+ j = Be.current, Be.current = null, I1();
256
256
  try {
257
257
  if (g) {
258
258
  var P = function() {
@@ -265,67 +265,67 @@ function fn() {
265
265
  }), typeof Reflect == "object" && Reflect.construct) {
266
266
  try {
267
267
  Reflect.construct(P, []);
268
- } catch (ie) {
269
- _ = ie;
268
+ } catch (oe) {
269
+ _ = oe;
270
270
  }
271
271
  Reflect.construct(o, [], P);
272
272
  } else {
273
273
  try {
274
274
  P.call();
275
- } catch (ie) {
276
- _ = ie;
275
+ } catch (oe) {
276
+ _ = oe;
277
277
  }
278
278
  o.call(P.prototype);
279
279
  }
280
280
  } else {
281
281
  try {
282
282
  throw Error();
283
- } catch (ie) {
284
- _ = ie;
283
+ } catch (oe) {
284
+ _ = oe;
285
285
  }
286
286
  o();
287
287
  }
288
- } catch (ie) {
289
- if (ie && _ && typeof ie.stack == "string") {
290
- for (var L = ie.stack.split(`
291
- `), te = _.stack.split(`
292
- `), G = L.length - 1, X = te.length - 1; G >= 1 && X >= 0 && L[G] !== te[X]; )
293
- X--;
294
- for (; G >= 1 && X >= 0; G--, X--)
295
- if (L[G] !== te[X]) {
296
- if (G !== 1 || X !== 1)
288
+ } catch (oe) {
289
+ if (oe && _ && typeof oe.stack == "string") {
290
+ for (var L = oe.stack.split(`
291
+ `), ne = _.stack.split(`
292
+ `), X = L.length - 1, J = ne.length - 1; X >= 1 && J >= 0 && L[X] !== ne[J]; )
293
+ J--;
294
+ for (; X >= 1 && J >= 0; X--, J--)
295
+ if (L[X] !== ne[J]) {
296
+ if (X !== 1 || J !== 1)
297
297
  do
298
- if (G--, X--, X < 0 || L[G] !== te[X]) {
299
- var pe = `
300
- ` + L[G].replace(" at new ", " at ");
301
- return o.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", o.displayName)), typeof o == "function" && Te.set(o, pe), pe;
298
+ if (X--, J--, J < 0 || L[X] !== ne[J]) {
299
+ var ue = `
300
+ ` + L[X].replace(" at new ", " at ");
301
+ return o.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", o.displayName)), typeof o == "function" && Ae.set(o, ue), ue;
302
302
  }
303
- while (G >= 1 && X >= 0);
303
+ while (X >= 1 && J >= 0);
304
304
  break;
305
305
  }
306
306
  }
307
307
  } finally {
308
308
  ze = !1, Be.current = j, H1(), Error.prepareStackTrace = D;
309
309
  }
310
- var Fe = o ? o.displayName || o.name : "", Ae = Fe ? ke(Fe) : "";
311
- return typeof o == "function" && Te.set(o, Ae), Ae;
310
+ var Ie = o ? o.displayName || o.name : "", Te = Ie ? ke(Ie) : "";
311
+ return typeof o == "function" && Ae.set(o, Te), Te;
312
312
  }
313
- function Ne(o, g, v) {
314
- return A(o, !1);
313
+ function Ne(o, g, m) {
314
+ return R(o, !1);
315
315
  }
316
316
  function _e(o) {
317
317
  var g = o.prototype;
318
318
  return !!(g && g.isReactComponent);
319
319
  }
320
- function Re(o, g, v) {
320
+ function Re(o, g, m) {
321
321
  if (o == null)
322
322
  return "";
323
323
  if (typeof o == "function")
324
- return A(o, _e(o));
324
+ return R(o, _e(o));
325
325
  if (typeof o == "string")
326
326
  return ke(o);
327
327
  switch (o) {
328
- case u:
328
+ case f:
329
329
  return ke("Suspense");
330
330
  case h:
331
331
  return ke("SuspenseList");
@@ -334,12 +334,12 @@ function fn() {
334
334
  switch (o.$$typeof) {
335
335
  case c:
336
336
  return Ne(o.render);
337
- case C:
338
- return Re(o.type, g, v);
339
- case S: {
337
+ case x:
338
+ return Re(o.type, g, m);
339
+ case C: {
340
340
  var _ = o, D = _._payload, j = _._init;
341
341
  try {
342
- return Re(j(D), g, v);
342
+ return Re(j(D), g, m);
343
343
  } catch {
344
344
  }
345
345
  }
@@ -349,12 +349,12 @@ function fn() {
349
349
  var je = Object.prototype.hasOwnProperty, ur = {}, fr = E.ReactDebugCurrentFrame;
350
350
  function d1(o) {
351
351
  if (o) {
352
- var g = o._owner, v = Re(o.type, o._source, g ? g.type : null);
353
- fr.setExtraStackFrame(v);
352
+ var g = o._owner, m = Re(o.type, o._source, g ? g.type : null);
353
+ fr.setExtraStackFrame(m);
354
354
  } else
355
355
  fr.setExtraStackFrame(null);
356
356
  }
357
- function mt(o, g, v, _, D) {
357
+ function vt(o, g, m, _, D) {
358
358
  {
359
359
  var j = Function.call.bind(je);
360
360
  for (var P in o)
@@ -362,25 +362,25 @@ function fn() {
362
362
  var L = void 0;
363
363
  try {
364
364
  if (typeof o[P] != "function") {
365
- var te = Error((_ || "React class") + ": " + v + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
366
- throw te.name = "Invariant Violation", te;
365
+ var ne = Error((_ || "React class") + ": " + m + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
366
+ throw ne.name = "Invariant Violation", ne;
367
367
  }
368
- L = o[P](g, P, _, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
369
- } catch (G) {
370
- L = G;
368
+ L = o[P](g, P, _, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
369
+ } catch (X) {
370
+ L = X;
371
371
  }
372
- L && !(L instanceof Error) && (d1(D), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", v, P, typeof L), d1(null)), L instanceof Error && !(L.message in ur) && (ur[L.message] = !0, d1(D), b("Failed %s type: %s", v, L.message), d1(null));
372
+ L && !(L instanceof Error) && (d1(D), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", m, P, typeof L), d1(null)), L instanceof Error && !(L.message in ur) && (ur[L.message] = !0, d1(D), y("Failed %s type: %s", m, L.message), d1(null));
373
373
  }
374
374
  }
375
375
  }
376
- var vt = Array.isArray;
376
+ var mt = Array.isArray;
377
377
  function O1(o) {
378
- return vt(o);
378
+ return mt(o);
379
379
  }
380
380
  function wt(o) {
381
381
  {
382
- var g = typeof Symbol == "function" && Symbol.toStringTag, v = g && o[Symbol.toStringTag] || o.constructor.name || "Object";
383
- return v;
382
+ var g = typeof Symbol == "function" && Symbol.toStringTag, m = g && o[Symbol.toStringTag] || o.constructor.name || "Object";
383
+ return m;
384
384
  }
385
385
  }
386
386
  function Et(o) {
@@ -395,7 +395,7 @@ function fn() {
395
395
  }
396
396
  function gr(o) {
397
397
  if (Et(o))
398
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(o)), hr(o);
398
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(o)), hr(o);
399
399
  }
400
400
  var We = E.ReactCurrentOwner, Mt = {
401
401
  key: !0,
@@ -420,42 +420,42 @@ function fn() {
420
420
  }
421
421
  return o.key !== void 0;
422
422
  }
423
- function At(o, g) {
423
+ function Tt(o, g) {
424
424
  if (typeof o.ref == "string" && We.current && g && We.current.stateNode !== g) {
425
- var v = H(We.current.type);
426
- P1[v] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(We.current.type), o.ref), P1[v] = !0);
425
+ var m = H(We.current.type);
426
+ P1[m] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(We.current.type), o.ref), P1[m] = !0);
427
427
  }
428
428
  }
429
429
  function kt(o, g) {
430
430
  {
431
- var v = function() {
432
- Cr || (Cr = !0, b("%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://reactjs.org/link/special-props)", g));
431
+ var m = function() {
432
+ Cr || (Cr = !0, y("%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://reactjs.org/link/special-props)", g));
433
433
  };
434
- v.isReactWarning = !0, Object.defineProperty(o, "key", {
435
- get: v,
434
+ m.isReactWarning = !0, Object.defineProperty(o, "key", {
435
+ get: m,
436
436
  configurable: !0
437
437
  });
438
438
  }
439
439
  }
440
- function Tt(o, g) {
440
+ function At(o, g) {
441
441
  {
442
- var v = function() {
443
- xr || (xr = !0, b("%s: `ref` 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://reactjs.org/link/special-props)", g));
442
+ var m = function() {
443
+ xr || (xr = !0, y("%s: `ref` 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://reactjs.org/link/special-props)", g));
444
444
  };
445
- v.isReactWarning = !0, Object.defineProperty(o, "ref", {
446
- get: v,
445
+ m.isReactWarning = !0, Object.defineProperty(o, "ref", {
446
+ get: m,
447
447
  configurable: !0
448
448
  });
449
449
  }
450
450
  }
451
- var _t = function(o, g, v, _, D, j, P) {
451
+ var _t = function(o, g, m, _, D, j, P) {
452
452
  var L = {
453
453
  // This tag allows us to uniquely identify this as a React Element
454
454
  $$typeof: r,
455
455
  // Built-in properties that belong on the element
456
456
  type: o,
457
457
  key: g,
458
- ref: v,
458
+ ref: m,
459
459
  props: P,
460
460
  // Record the component responsible for creating this element.
461
461
  _owner: j
@@ -477,29 +477,29 @@ function fn() {
477
477
  value: D
478
478
  }), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
479
479
  };
480
- function It(o, g, v, _, D) {
480
+ function Ft(o, g, m, _, D) {
481
481
  {
482
- var j, P = {}, L = null, te = null;
483
- v !== void 0 && (gr(v), L = "" + v), Rt(g) && (gr(g.key), L = "" + g.key), St(g) && (te = g.ref, At(g, D));
482
+ var j, P = {}, L = null, ne = null;
483
+ m !== void 0 && (gr(m), L = "" + m), Rt(g) && (gr(g.key), L = "" + g.key), St(g) && (ne = g.ref, Tt(g, D));
484
484
  for (j in g)
485
485
  je.call(g, j) && !Mt.hasOwnProperty(j) && (P[j] = g[j]);
486
486
  if (o && o.defaultProps) {
487
- var G = o.defaultProps;
488
- for (j in G)
489
- P[j] === void 0 && (P[j] = G[j]);
487
+ var X = o.defaultProps;
488
+ for (j in X)
489
+ P[j] === void 0 && (P[j] = X[j]);
490
490
  }
491
- if (L || te) {
492
- var X = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
493
- L && kt(P, X), te && Tt(P, X);
491
+ if (L || ne) {
492
+ var J = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
493
+ L && kt(P, J), ne && At(P, J);
494
494
  }
495
- return _t(o, L, te, D, _, We.current, P);
495
+ return _t(o, L, ne, D, _, We.current, P);
496
496
  }
497
497
  }
498
498
  var V1 = E.ReactCurrentOwner, br = E.ReactDebugCurrentFrame;
499
- function Ie(o) {
499
+ function Fe(o) {
500
500
  if (o) {
501
- var g = o._owner, v = Re(o.type, o._source, g ? g.type : null);
502
- br.setExtraStackFrame(v);
501
+ var g = o._owner, m = Re(o.type, o._source, g ? g.type : null);
502
+ br.setExtraStackFrame(m);
503
503
  } else
504
504
  br.setExtraStackFrame(null);
505
505
  }
@@ -520,33 +520,33 @@ Check the render method of \`` + o + "`.";
520
520
  return "";
521
521
  }
522
522
  }
523
- function Ft(o) {
523
+ function It(o) {
524
524
  return "";
525
525
  }
526
- var mr = {};
526
+ var vr = {};
527
527
  function Ht(o) {
528
528
  {
529
529
  var g = yr();
530
530
  if (!g) {
531
- var v = typeof o == "string" ? o : o.displayName || o.name;
532
- v && (g = `
531
+ var m = typeof o == "string" ? o : o.displayName || o.name;
532
+ m && (g = `
533
533
 
534
- Check the top-level render call using <` + v + ">.");
534
+ Check the top-level render call using <` + m + ">.");
535
535
  }
536
536
  return g;
537
537
  }
538
538
  }
539
- function vr(o, g) {
539
+ function mr(o, g) {
540
540
  {
541
541
  if (!o._store || o._store.validated || o.key != null)
542
542
  return;
543
543
  o._store.validated = !0;
544
- var v = Ht(g);
545
- if (mr[v])
544
+ var m = Ht(g);
545
+ if (vr[m])
546
546
  return;
547
- mr[v] = !0;
547
+ vr[m] = !0;
548
548
  var _ = "";
549
- o && o._owner && o._owner !== V1.current && (_ = " It was passed a child from " + H(o._owner.type) + "."), Ie(o), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, _), Ie(null);
549
+ o && o._owner && o._owner !== V1.current && (_ = " It was passed a child from " + H(o._owner.type) + "."), Fe(o), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, _), Fe(null);
550
550
  }
551
551
  }
552
552
  function wr(o, g) {
@@ -554,17 +554,17 @@ Check the top-level render call using <` + v + ">.");
554
554
  if (typeof o != "object")
555
555
  return;
556
556
  if (O1(o))
557
- for (var v = 0; v < o.length; v++) {
558
- var _ = o[v];
559
- D1(_) && vr(_, g);
557
+ for (var m = 0; m < o.length; m++) {
558
+ var _ = o[m];
559
+ D1(_) && mr(_, g);
560
560
  }
561
561
  else if (D1(o))
562
562
  o._store && (o._store.validated = !0);
563
563
  else if (o) {
564
- var D = f(o);
564
+ var D = u(o);
565
565
  if (typeof D == "function" && D !== o.entries)
566
566
  for (var j = D.call(o), P; !(P = j.next()).done; )
567
- D1(P.value) && vr(P.value, g);
567
+ D1(P.value) && mr(P.value, g);
568
568
  }
569
569
  }
570
570
  }
@@ -573,88 +573,88 @@ Check the top-level render call using <` + v + ">.");
573
573
  var g = o.type;
574
574
  if (g == null || typeof g == "string")
575
575
  return;
576
- var v;
576
+ var m;
577
577
  if (typeof g == "function")
578
- v = g.propTypes;
578
+ m = g.propTypes;
579
579
  else if (typeof g == "object" && (g.$$typeof === c || // Note: Memo only checks outer props here.
580
580
  // Inner props are checked in the reconciler.
581
- g.$$typeof === C))
582
- v = g.propTypes;
581
+ g.$$typeof === x))
582
+ m = g.propTypes;
583
583
  else
584
584
  return;
585
- if (v) {
585
+ if (m) {
586
586
  var _ = H(g);
587
- mt(v, o.props, "prop", _, o);
587
+ vt(m, o.props, "prop", _, o);
588
588
  } else if (g.PropTypes !== void 0 && !$1) {
589
589
  $1 = !0;
590
590
  var D = H(g);
591
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
591
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
592
592
  }
593
- typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
593
+ typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
594
594
  }
595
595
  }
596
596
  function Ot(o) {
597
597
  {
598
- for (var g = Object.keys(o.props), v = 0; v < g.length; v++) {
599
- var _ = g[v];
598
+ for (var g = Object.keys(o.props), m = 0; m < g.length; m++) {
599
+ var _ = g[m];
600
600
  if (_ !== "children" && _ !== "key") {
601
- Ie(o), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), Ie(null);
601
+ Fe(o), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), Fe(null);
602
602
  break;
603
603
  }
604
604
  }
605
- o.ref !== null && (Ie(o), b("Invalid attribute `ref` supplied to `React.Fragment`."), Ie(null));
605
+ o.ref !== null && (Fe(o), y("Invalid attribute `ref` supplied to `React.Fragment`."), Fe(null));
606
606
  }
607
607
  }
608
608
  var Er = {};
609
- function Mr(o, g, v, _, D, j) {
609
+ function Mr(o, g, m, _, D, j) {
610
610
  {
611
- var P = he(o);
611
+ var P = Y(o);
612
612
  if (!P) {
613
613
  var L = "";
614
614
  (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (L += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
615
- var te = Ft();
616
- te ? L += te : L += yr();
617
- var G;
618
- o === null ? G = "null" : O1(o) ? G = "array" : o !== void 0 && o.$$typeof === r ? (G = "<" + (H(o.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : G = typeof o, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, L);
615
+ var ne = It();
616
+ ne ? L += ne : L += yr();
617
+ var X;
618
+ o === null ? X = "null" : O1(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (H(o.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : X = typeof o, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, L);
619
619
  }
620
- var X = It(o, g, v, D, j);
621
- if (X == null)
622
- return X;
620
+ var J = Ft(o, g, m, D, j);
621
+ if (J == null)
622
+ return J;
623
623
  if (P) {
624
- var pe = g.children;
625
- if (pe !== void 0)
624
+ var ue = g.children;
625
+ if (ue !== void 0)
626
626
  if (_)
627
- if (O1(pe)) {
628
- for (var Fe = 0; Fe < pe.length; Fe++)
629
- wr(pe[Fe], o);
630
- Object.freeze && Object.freeze(pe);
627
+ if (O1(ue)) {
628
+ for (var Ie = 0; Ie < ue.length; Ie++)
629
+ wr(ue[Ie], o);
630
+ Object.freeze && Object.freeze(ue);
631
631
  } else
632
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
632
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
633
633
  else
634
- wr(pe, o);
634
+ wr(ue, o);
635
635
  }
636
636
  if (je.call(g, "key")) {
637
- var Ae = H(o), ie = Object.keys(g).filter(function(Zt) {
637
+ var Te = H(o), oe = Object.keys(g).filter(function(Zt) {
638
638
  return Zt !== "key";
639
- }), B1 = ie.length > 0 ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}";
640
- if (!Er[Ae + B1]) {
641
- var Bt = ie.length > 0 ? "{" + ie.join(": ..., ") + ": ...}" : "{}";
642
- b(`A props object containing a "key" prop is being spread into JSX:
639
+ }), B1 = oe.length > 0 ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}";
640
+ if (!Er[Te + B1]) {
641
+ var Bt = oe.length > 0 ? "{" + oe.join(": ..., ") + ": ...}" : "{}";
642
+ y(`A props object containing a "key" prop is being spread into JSX:
643
643
  let props = %s;
644
644
  <%s {...props} />
645
645
  React keys must be passed directly to JSX without using spread:
646
646
  let props = %s;
647
- <%s key={someKey} {...props} />`, B1, Ae, Bt, Ae), Er[Ae + B1] = !0;
647
+ <%s key={someKey} {...props} />`, B1, Te, Bt, Te), Er[Te + B1] = !0;
648
648
  }
649
649
  }
650
- return o === i ? Ot(X) : Lt(X), X;
650
+ return o === i ? Ot(J) : Lt(J), J;
651
651
  }
652
652
  }
653
- function Pt(o, g, v) {
654
- return Mr(o, g, v, !0);
653
+ function Pt(o, g, m) {
654
+ return Mr(o, g, m, !0);
655
655
  }
656
- function Vt(o, g, v) {
657
- return Mr(o, g, v, !1);
656
+ function Vt(o, g, m) {
657
+ return Mr(o, g, m, !1);
658
658
  }
659
659
  var $t = Vt, Dt = Pt;
660
660
  Ue.Fragment = i, Ue.jsx = $t, Ue.jsxs = Dt;
@@ -702,11 +702,11 @@ var xn = /* @__PURE__ */ function() {
702
702
  return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
703
703
  }), this.tags = [], this.ctr = 0;
704
704
  }, e;
705
- }(), ee = "-ms-", w1 = "-moz-", V = "-webkit-", Qr = "comm", or = "rule", sr = "decl", bn = "@import", et = "@keyframes", yn = "@layer", mn = Math.abs, k1 = String.fromCharCode, vn = Object.assign;
705
+ }(), re = "-ms-", w1 = "-moz-", V = "-webkit-", Kr = "comm", or = "rule", sr = "decl", bn = "@import", Qr = "@keyframes", yn = "@layer", vn = Math.abs, k1 = String.fromCharCode, mn = Object.assign;
706
706
  function wn(e, r) {
707
- return Q(e, 0) ^ 45 ? (((r << 2 ^ Q(e, 0)) << 2 ^ Q(e, 1)) << 2 ^ Q(e, 2)) << 2 ^ Q(e, 3) : 0;
707
+ return ee(e, 0) ^ 45 ? (((r << 2 ^ ee(e, 0)) << 2 ^ ee(e, 1)) << 2 ^ ee(e, 2)) << 2 ^ ee(e, 3) : 0;
708
708
  }
709
- function rt(e) {
709
+ function et(e) {
710
710
  return e.trim();
711
711
  }
712
712
  function En(e, r) {
@@ -718,13 +718,13 @@ function $(e, r, t) {
718
718
  function G1(e, r) {
719
719
  return e.indexOf(r);
720
720
  }
721
- function Q(e, r) {
721
+ function ee(e, r) {
722
722
  return e.charCodeAt(r) | 0;
723
723
  }
724
724
  function t1(e, r, t) {
725
725
  return e.slice(r, t);
726
726
  }
727
- function Ce(e) {
727
+ function xe(e) {
728
728
  return e.length;
729
729
  }
730
730
  function lr(e) {
@@ -736,27 +736,27 @@ function p1(e, r) {
736
736
  function Mn(e, r) {
737
737
  return e.map(r).join("");
738
738
  }
739
- var T1 = 1, Pe = 1, tt = 0, ae = 0, q = 0, Ve = "";
739
+ var A1 = 1, Pe = 1, rt = 0, se = 0, K = 0, Ve = "";
740
740
  function _1(e, r, t, i, a, s, l) {
741
- return { value: e, root: r, parent: t, type: i, props: a, children: s, line: T1, column: Pe, length: l, return: "" };
741
+ return { value: e, root: r, parent: t, type: i, props: a, children: s, line: A1, column: Pe, length: l, return: "" };
742
742
  }
743
743
  function Ge(e, r) {
744
- return vn(_1("", null, null, "", null, null, 0), e, { length: -e.length }, r);
744
+ return mn(_1("", null, null, "", null, null, 0), e, { length: -e.length }, r);
745
745
  }
746
746
  function Sn() {
747
- return q;
747
+ return K;
748
748
  }
749
749
  function Rn() {
750
- return q = ae > 0 ? Q(Ve, --ae) : 0, Pe--, q === 10 && (Pe = 1, T1--), q;
750
+ return K = se > 0 ? ee(Ve, --se) : 0, Pe--, K === 10 && (Pe = 1, A1--), K;
751
751
  }
752
- function se() {
753
- return q = ae < tt ? Q(Ve, ae++) : 0, Pe++, q === 10 && (Pe = 1, T1++), q;
752
+ function ce() {
753
+ return K = se < rt ? ee(Ve, se++) : 0, Pe++, K === 10 && (Pe = 1, A1++), K;
754
754
  }
755
- function be() {
756
- return Q(Ve, ae);
755
+ function ye() {
756
+ return ee(Ve, se);
757
757
  }
758
758
  function h1() {
759
- return ae;
759
+ return se;
760
760
  }
761
761
  function a1(e, r) {
762
762
  return t1(Ve, e, r);
@@ -793,156 +793,156 @@ function n1(e) {
793
793
  }
794
794
  return 0;
795
795
  }
796
- function nt(e) {
797
- return T1 = Pe = 1, tt = Ce(Ve = e), ae = 0, [];
796
+ function tt(e) {
797
+ return A1 = Pe = 1, rt = xe(Ve = e), se = 0, [];
798
798
  }
799
- function it(e) {
799
+ function nt(e) {
800
800
  return Ve = "", e;
801
801
  }
802
802
  function g1(e) {
803
- return rt(a1(ae - 1, X1(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
803
+ return et(a1(se - 1, X1(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
804
804
  }
805
- function An(e) {
806
- for (; (q = be()) && q < 33; )
807
- se();
808
- return n1(e) > 2 || n1(q) > 3 ? "" : " ";
805
+ function Tn(e) {
806
+ for (; (K = ye()) && K < 33; )
807
+ ce();
808
+ return n1(e) > 2 || n1(K) > 3 ? "" : " ";
809
809
  }
810
810
  function kn(e, r) {
811
- for (; --r && se() && !(q < 48 || q > 102 || q > 57 && q < 65 || q > 70 && q < 97); )
811
+ for (; --r && ce() && !(K < 48 || K > 102 || K > 57 && K < 65 || K > 70 && K < 97); )
812
812
  ;
813
- return a1(e, h1() + (r < 6 && be() == 32 && se() == 32));
813
+ return a1(e, h1() + (r < 6 && ye() == 32 && ce() == 32));
814
814
  }
815
815
  function X1(e) {
816
- for (; se(); )
817
- switch (q) {
816
+ for (; ce(); )
817
+ switch (K) {
818
818
  case e:
819
- return ae;
819
+ return se;
820
820
  case 34:
821
821
  case 39:
822
- e !== 34 && e !== 39 && X1(q);
822
+ e !== 34 && e !== 39 && X1(K);
823
823
  break;
824
824
  case 40:
825
825
  e === 41 && X1(e);
826
826
  break;
827
827
  case 92:
828
- se();
828
+ ce();
829
829
  break;
830
830
  }
831
- return ae;
831
+ return se;
832
832
  }
833
- function Tn(e, r) {
834
- for (; se() && e + q !== 57; )
835
- if (e + q === 84 && be() === 47)
833
+ function An(e, r) {
834
+ for (; ce() && e + K !== 57; )
835
+ if (e + K === 84 && ye() === 47)
836
836
  break;
837
- return "/*" + a1(r, ae - 1) + "*" + k1(e === 47 ? e : se());
837
+ return "/*" + a1(r, se - 1) + "*" + k1(e === 47 ? e : ce());
838
838
  }
839
839
  function _n(e) {
840
- for (; !n1(be()); )
841
- se();
842
- return a1(e, ae);
840
+ for (; !n1(ye()); )
841
+ ce();
842
+ return a1(e, se);
843
843
  }
844
- function In(e) {
845
- return it(C1("", null, null, null, [""], e = nt(e), 0, [0], e));
844
+ function Fn(e) {
845
+ return nt(C1("", null, null, null, [""], e = tt(e), 0, [0], e));
846
846
  }
847
847
  function C1(e, r, t, i, a, s, l, d, c) {
848
- for (var u = 0, h = 0, C = l, S = 0, y = 0, x = 0, m = 1, f = 1, E = 1, b = 0, M = "", R = a, p = s, T = i, k = M; f; )
849
- switch (x = b, b = se()) {
848
+ for (var f = 0, h = 0, x = l, C = 0, b = 0, M = 0, v = 1, u = 1, E = 1, y = 0, S = "", A = a, p = s, T = i, k = S; u; )
849
+ switch (M = y, y = ce()) {
850
850
  case 40:
851
- if (x != 108 && Q(k, C - 1) == 58) {
852
- G1(k += $(g1(b), "&", "&\f"), "&\f") != -1 && (E = -1);
851
+ if (M != 108 && ee(k, x - 1) == 58) {
852
+ G1(k += $(g1(y), "&", "&\f"), "&\f") != -1 && (E = -1);
853
853
  break;
854
854
  }
855
855
  case 34:
856
856
  case 39:
857
857
  case 91:
858
- k += g1(b);
858
+ k += g1(y);
859
859
  break;
860
860
  case 9:
861
861
  case 10:
862
862
  case 13:
863
863
  case 32:
864
- k += An(x);
864
+ k += Tn(M);
865
865
  break;
866
866
  case 92:
867
867
  k += kn(h1() - 1, 7);
868
868
  continue;
869
869
  case 47:
870
- switch (be()) {
870
+ switch (ye()) {
871
871
  case 42:
872
872
  case 47:
873
- p1(Fn(Tn(se(), h1()), r, t), c);
873
+ p1(In(An(ce(), h1()), r, t), c);
874
874
  break;
875
875
  default:
876
876
  k += "/";
877
877
  }
878
878
  break;
879
- case 123 * m:
880
- d[u++] = Ce(k) * E;
881
- case 125 * m:
879
+ case 123 * v:
880
+ d[f++] = xe(k) * E;
881
+ case 125 * v:
882
882
  case 59:
883
883
  case 0:
884
- switch (b) {
884
+ switch (y) {
885
885
  case 0:
886
886
  case 125:
887
- f = 0;
887
+ u = 0;
888
888
  case 59 + h:
889
- E == -1 && (k = $(k, /\f/g, "")), y > 0 && Ce(k) - C && p1(y > 32 ? Ir(k + ";", i, t, C - 1) : Ir($(k, " ", "") + ";", i, t, C - 2), c);
889
+ E == -1 && (k = $(k, /\f/g, "")), b > 0 && xe(k) - x && p1(b > 32 ? Fr(k + ";", i, t, x - 1) : Fr($(k, " ", "") + ";", i, t, x - 2), c);
890
890
  break;
891
891
  case 59:
892
892
  k += ";";
893
893
  default:
894
- if (p1(T = _r(k, r, t, u, h, a, d, M, R = [], p = [], C), s), b === 123)
894
+ if (p1(T = _r(k, r, t, f, h, a, d, S, A = [], p = [], x), s), y === 123)
895
895
  if (h === 0)
896
- C1(k, r, T, T, R, s, C, d, p);
896
+ C1(k, r, T, T, A, s, x, d, p);
897
897
  else
898
- switch (S === 99 && Q(k, 3) === 110 ? 100 : S) {
898
+ switch (C === 99 && ee(k, 3) === 110 ? 100 : C) {
899
899
  case 100:
900
900
  case 108:
901
901
  case 109:
902
902
  case 115:
903
- C1(e, T, T, i && p1(_r(e, T, T, 0, 0, a, d, M, a, R = [], C), p), a, p, C, d, i ? R : p);
903
+ C1(e, T, T, i && p1(_r(e, T, T, 0, 0, a, d, S, a, A = [], x), p), a, p, x, d, i ? A : p);
904
904
  break;
905
905
  default:
906
906
  C1(k, T, T, T, [""], p, 0, d, p);
907
907
  }
908
908
  }
909
- u = h = y = 0, m = E = 1, M = k = "", C = l;
909
+ f = h = b = 0, v = E = 1, S = k = "", x = l;
910
910
  break;
911
911
  case 58:
912
- C = 1 + Ce(k), y = x;
912
+ x = 1 + xe(k), b = M;
913
913
  default:
914
- if (m < 1) {
915
- if (b == 123)
916
- --m;
917
- else if (b == 125 && m++ == 0 && Rn() == 125)
914
+ if (v < 1) {
915
+ if (y == 123)
916
+ --v;
917
+ else if (y == 125 && v++ == 0 && Rn() == 125)
918
918
  continue;
919
919
  }
920
- switch (k += k1(b), b * m) {
920
+ switch (k += k1(y), y * v) {
921
921
  case 38:
922
922
  E = h > 0 ? 1 : (k += "\f", -1);
923
923
  break;
924
924
  case 44:
925
- d[u++] = (Ce(k) - 1) * E, E = 1;
925
+ d[f++] = (xe(k) - 1) * E, E = 1;
926
926
  break;
927
927
  case 64:
928
- be() === 45 && (k += g1(se())), S = be(), h = C = Ce(M = k += _n(h1())), b++;
928
+ ye() === 45 && (k += g1(ce())), C = ye(), h = x = xe(S = k += _n(h1())), y++;
929
929
  break;
930
930
  case 45:
931
- x === 45 && Ce(k) == 2 && (m = 0);
931
+ M === 45 && xe(k) == 2 && (v = 0);
932
932
  }
933
933
  }
934
934
  return s;
935
935
  }
936
- function _r(e, r, t, i, a, s, l, d, c, u, h) {
937
- for (var C = a - 1, S = a === 0 ? s : [""], y = lr(S), x = 0, m = 0, f = 0; x < i; ++x)
938
- for (var E = 0, b = t1(e, C + 1, C = mn(m = l[x])), M = e; E < y; ++E)
939
- (M = rt(m > 0 ? S[E] + " " + b : $(b, /&\f/g, S[E]))) && (c[f++] = M);
940
- return _1(e, r, t, a === 0 ? or : d, c, u, h);
936
+ function _r(e, r, t, i, a, s, l, d, c, f, h) {
937
+ for (var x = a - 1, C = a === 0 ? s : [""], b = lr(C), M = 0, v = 0, u = 0; M < i; ++M)
938
+ for (var E = 0, y = t1(e, x + 1, x = vn(v = l[M])), S = e; E < b; ++E)
939
+ (S = et(v > 0 ? C[E] + " " + y : $(y, /&\f/g, C[E]))) && (c[u++] = S);
940
+ return _1(e, r, t, a === 0 ? or : d, c, f, h);
941
941
  }
942
- function Fn(e, r, t) {
943
- return _1(e, r, t, Qr, k1(Sn()), t1(e, 2, -2), 0);
942
+ function In(e, r, t) {
943
+ return _1(e, r, t, Kr, k1(Sn()), t1(e, 2, -2), 0);
944
944
  }
945
- function Ir(e, r, t, i) {
945
+ function Fr(e, r, t, i) {
946
946
  return _1(e, r, t, sr, t1(e, 0, i), t1(e, i + 1, -1), i);
947
947
  }
948
948
  function Oe(e, r) {
@@ -957,14 +957,14 @@ function Hn(e, r, t, i) {
957
957
  case bn:
958
958
  case sr:
959
959
  return e.return = e.return || e.value;
960
- case Qr:
960
+ case Kr:
961
961
  return "";
962
- case et:
962
+ case Qr:
963
963
  return e.return = e.value + "{" + Oe(e.children, i) + "}";
964
964
  case or:
965
965
  e.value = e.props.join(",");
966
966
  }
967
- return Ce(t = Oe(e.children, i)) ? e.return = e.value + "{" + t + "}" : "";
967
+ return xe(t = Oe(e.children, i)) ? e.return = e.value + "{" + t + "}" : "";
968
968
  }
969
969
  function Ln(e) {
970
970
  var r = lr(e);
@@ -986,42 +986,42 @@ function Pn(e) {
986
986
  };
987
987
  }
988
988
  var Vn = function(r, t, i) {
989
- for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (t[i] = 1), !n1(s); )
990
- se();
991
- return a1(r, ae);
989
+ for (var a = 0, s = 0; a = s, s = ye(), a === 38 && s === 12 && (t[i] = 1), !n1(s); )
990
+ ce();
991
+ return a1(r, se);
992
992
  }, $n = function(r, t) {
993
993
  var i = -1, a = 44;
994
994
  do
995
995
  switch (n1(a)) {
996
996
  case 0:
997
- a === 38 && be() === 12 && (t[i] = 1), r[i] += Vn(ae - 1, t, i);
997
+ a === 38 && ye() === 12 && (t[i] = 1), r[i] += Vn(se - 1, t, i);
998
998
  break;
999
999
  case 2:
1000
1000
  r[i] += g1(a);
1001
1001
  break;
1002
1002
  case 4:
1003
1003
  if (a === 44) {
1004
- r[++i] = be() === 58 ? "&\f" : "", t[i] = r[i].length;
1004
+ r[++i] = ye() === 58 ? "&\f" : "", t[i] = r[i].length;
1005
1005
  break;
1006
1006
  }
1007
1007
  default:
1008
1008
  r[i] += k1(a);
1009
1009
  }
1010
- while (a = se());
1010
+ while (a = ce());
1011
1011
  return r;
1012
1012
  }, Dn = function(r, t) {
1013
- return it($n(nt(r), t));
1014
- }, Fr = /* @__PURE__ */ new WeakMap(), Bn = function(r) {
1013
+ return nt($n(tt(r), t));
1014
+ }, Ir = /* @__PURE__ */ new WeakMap(), Bn = function(r) {
1015
1015
  if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
1016
1016
  // negative .length indicates that this rule has been already prefixed
1017
1017
  r.length < 1)) {
1018
1018
  for (var t = r.value, i = r.parent, a = r.column === i.column && r.line === i.line; i.type !== "rule"; )
1019
1019
  if (i = i.parent, !i) return;
1020
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Fr.get(i)) && !a) {
1021
- Fr.set(r, !0);
1022
- for (var s = [], l = Dn(t, s), d = i.props, c = 0, u = 0; c < l.length; c++)
1023
- for (var h = 0; h < d.length; h++, u++)
1024
- r.props[u] = s[c] ? l[c].replace(/&\f/g, d[h]) : d[h] + " " + l[c];
1020
+ if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Ir.get(i)) && !a) {
1021
+ Ir.set(r, !0);
1022
+ for (var s = [], l = Dn(t, s), d = i.props, c = 0, f = 0; c < l.length; c++)
1023
+ for (var h = 0; h < d.length; h++, f++)
1024
+ r.props[f] = s[c] ? l[c].replace(/&\f/g, d[h]) : d[h] + " " + l[c];
1025
1025
  }
1026
1026
  }
1027
1027
  }, Zn = function(r) {
@@ -1032,7 +1032,7 @@ var Vn = function(r, t, i) {
1032
1032
  t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
1033
1033
  }
1034
1034
  };
1035
- function at(e, r) {
1035
+ function it(e, r) {
1036
1036
  switch (wn(e, r)) {
1037
1037
  case 5103:
1038
1038
  return V + "print-" + e + e;
@@ -1067,24 +1067,24 @@ function at(e, r) {
1067
1067
  case 4810:
1068
1068
  case 6968:
1069
1069
  case 2756:
1070
- return V + e + w1 + e + ee + e + e;
1070
+ return V + e + w1 + e + re + e + e;
1071
1071
  case 6828:
1072
1072
  case 4268:
1073
- return V + e + ee + e + e;
1073
+ return V + e + re + e + e;
1074
1074
  case 6165:
1075
- return V + e + ee + "flex-" + e + e;
1075
+ return V + e + re + "flex-" + e + e;
1076
1076
  case 5187:
1077
- return V + e + $(e, /(\w+).+(:[^]+)/, V + "box-$1$2" + ee + "flex-$1$2") + e;
1077
+ return V + e + $(e, /(\w+).+(:[^]+)/, V + "box-$1$2" + re + "flex-$1$2") + e;
1078
1078
  case 5443:
1079
- return V + e + ee + "flex-item-" + $(e, /flex-|-self/, "") + e;
1079
+ return V + e + re + "flex-item-" + $(e, /flex-|-self/, "") + e;
1080
1080
  case 4675:
1081
- return V + e + ee + "flex-line-pack" + $(e, /align-content|flex-|-self/, "") + e;
1081
+ return V + e + re + "flex-line-pack" + $(e, /align-content|flex-|-self/, "") + e;
1082
1082
  case 5548:
1083
- return V + e + ee + $(e, "shrink", "negative") + e;
1083
+ return V + e + re + $(e, "shrink", "negative") + e;
1084
1084
  case 5292:
1085
- return V + e + ee + $(e, "basis", "preferred-size") + e;
1085
+ return V + e + re + $(e, "basis", "preferred-size") + e;
1086
1086
  case 6060:
1087
- return V + "box-" + $(e, "-grow", "") + V + e + ee + $(e, "grow", "positive") + e;
1087
+ return V + "box-" + $(e, "-grow", "") + V + e + re + $(e, "grow", "positive") + e;
1088
1088
  case 4554:
1089
1089
  return V + $(e, /([^-])(transform)/g, "$1" + V + "$2") + e;
1090
1090
  case 6187:
@@ -1093,7 +1093,7 @@ function at(e, r) {
1093
1093
  case 3959:
1094
1094
  return $(e, /(image-set\([^]*)/, V + "$1$`$1");
1095
1095
  case 4968:
1096
- return $($(e, /(.+:)(flex-)?(.*)/, V + "box-pack:$3" + ee + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + V + e + e;
1096
+ return $($(e, /(.+:)(flex-)?(.*)/, V + "box-pack:$3" + re + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + V + e + e;
1097
1097
  case 4095:
1098
1098
  case 3583:
1099
1099
  case 4068:
@@ -1111,44 +1111,44 @@ function at(e, r) {
1111
1111
  case 5789:
1112
1112
  case 5021:
1113
1113
  case 4765:
1114
- if (Ce(e) - 1 - r > 6) switch (Q(e, r + 1)) {
1114
+ if (xe(e) - 1 - r > 6) switch (ee(e, r + 1)) {
1115
1115
  case 109:
1116
- if (Q(e, r + 4) !== 45) break;
1116
+ if (ee(e, r + 4) !== 45) break;
1117
1117
  case 102:
1118
- return $(e, /(.+:)(.+)-([^]+)/, "$1" + V + "$2-$3$1" + w1 + (Q(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
1118
+ return $(e, /(.+:)(.+)-([^]+)/, "$1" + V + "$2-$3$1" + w1 + (ee(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
1119
1119
  case 115:
1120
- return ~G1(e, "stretch") ? at($(e, "stretch", "fill-available"), r) + e : e;
1120
+ return ~G1(e, "stretch") ? it($(e, "stretch", "fill-available"), r) + e : e;
1121
1121
  }
1122
1122
  break;
1123
1123
  case 4949:
1124
- if (Q(e, r + 1) !== 115) break;
1124
+ if (ee(e, r + 1) !== 115) break;
1125
1125
  case 6444:
1126
- switch (Q(e, Ce(e) - 3 - (~G1(e, "!important") && 10))) {
1126
+ switch (ee(e, xe(e) - 3 - (~G1(e, "!important") && 10))) {
1127
1127
  case 107:
1128
1128
  return $(e, ":", ":" + V) + e;
1129
1129
  case 101:
1130
- return $(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + V + (Q(e, 14) === 45 ? "inline-" : "") + "box$3$1" + V + "$2$3$1" + ee + "$2box$3") + e;
1130
+ return $(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + V + (ee(e, 14) === 45 ? "inline-" : "") + "box$3$1" + V + "$2$3$1" + re + "$2box$3") + e;
1131
1131
  }
1132
1132
  break;
1133
1133
  case 5936:
1134
- switch (Q(e, r + 11)) {
1134
+ switch (ee(e, r + 11)) {
1135
1135
  case 114:
1136
- return V + e + ee + $(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1136
+ return V + e + re + $(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1137
1137
  case 108:
1138
- return V + e + ee + $(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1138
+ return V + e + re + $(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1139
1139
  case 45:
1140
- return V + e + ee + $(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1140
+ return V + e + re + $(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1141
1141
  }
1142
- return V + e + ee + e + e;
1142
+ return V + e + re + e + e;
1143
1143
  }
1144
1144
  return e;
1145
1145
  }
1146
1146
  var zn = function(r, t, i, a) {
1147
1147
  if (r.length > -1 && !r.return) switch (r.type) {
1148
1148
  case sr:
1149
- r.return = at(r.value, r.length);
1149
+ r.return = it(r.value, r.length);
1150
1150
  break;
1151
- case et:
1151
+ case Qr:
1152
1152
  return Oe([Ge(r, {
1153
1153
  value: $(r.value, "@", "@" + V)
1154
1154
  })], a);
@@ -1166,7 +1166,7 @@ var zn = function(r, t, i, a) {
1166
1166
  }), Ge(r, {
1167
1167
  props: [$(s, /:(plac\w+)/, ":" + w1 + "$1")]
1168
1168
  }), Ge(r, {
1169
- props: [$(s, /:(plac\w+)/, ee + "input-$1")]
1169
+ props: [$(s, /:(plac\w+)/, re + "input-$1")]
1170
1170
  })], a);
1171
1171
  }
1172
1172
  return "";
@@ -1176,9 +1176,9 @@ var zn = function(r, t, i, a) {
1176
1176
  var t = r.key;
1177
1177
  if (t === "css") {
1178
1178
  var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
1179
- Array.prototype.forEach.call(i, function(m) {
1180
- var f = m.getAttribute("data-emotion");
1181
- f.indexOf(" ") !== -1 && (document.head.appendChild(m), m.setAttribute("data-s", ""));
1179
+ Array.prototype.forEach.call(i, function(v) {
1180
+ var u = v.getAttribute("data-emotion");
1181
+ u.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
1182
1182
  });
1183
1183
  }
1184
1184
  var a = r.stylisPlugins || Nn, s = {}, l, d = [];
@@ -1186,24 +1186,24 @@ var zn = function(r, t, i, a) {
1186
1186
  // this means we will ignore elements which don't have a space in them which
1187
1187
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1188
1188
  document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
1189
- function(m) {
1190
- for (var f = m.getAttribute("data-emotion").split(" "), E = 1; E < f.length; E++)
1191
- s[f[E]] = !0;
1192
- d.push(m);
1189
+ function(v) {
1190
+ for (var u = v.getAttribute("data-emotion").split(" "), E = 1; E < u.length; E++)
1191
+ s[u[E]] = !0;
1192
+ d.push(v);
1193
1193
  }
1194
1194
  );
1195
- var c, u = [Bn, Zn];
1195
+ var c, f = [Bn, Zn];
1196
1196
  {
1197
- var h, C = [Hn, On(function(m) {
1198
- h.insert(m);
1199
- })], S = Ln(u.concat(a, C)), y = function(f) {
1200
- return Oe(In(f), S);
1197
+ var h, x = [Hn, On(function(v) {
1198
+ h.insert(v);
1199
+ })], C = Ln(f.concat(a, x)), b = function(u) {
1200
+ return Oe(Fn(u), C);
1201
1201
  };
1202
- c = function(f, E, b, M) {
1203
- h = b, y(f ? f + "{" + E.styles + "}" : E.styles), M && (x.inserted[E.name] = !0);
1202
+ c = function(u, E, y, S) {
1203
+ h = y, b(u ? u + "{" + E.styles + "}" : E.styles), S && (M.inserted[E.name] = !0);
1204
1204
  };
1205
1205
  }
1206
- var x = {
1206
+ var M = {
1207
1207
  key: t,
1208
1208
  sheet: new xn({
1209
1209
  key: t,
@@ -1218,7 +1218,7 @@ var zn = function(r, t, i, a) {
1218
1218
  registered: {},
1219
1219
  insert: c
1220
1220
  };
1221
- return x.sheet.hydrate(d), x;
1221
+ return M.sheet.hydrate(d), M;
1222
1222
  }, q1 = { exports: {} }, B = {};
1223
1223
  /** @license React v16.13.1
1224
1224
  * react-is.production.min.js
@@ -1232,26 +1232,26 @@ var Hr;
1232
1232
  function Wn() {
1233
1233
  if (Hr) return B;
1234
1234
  Hr = 1;
1235
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, S = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, b = e ? Symbol.for("react.scope") : 60119;
1236
- function M(p) {
1235
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
1236
+ function S(p) {
1237
1237
  if (typeof p == "object" && p !== null) {
1238
1238
  var T = p.$$typeof;
1239
1239
  switch (T) {
1240
1240
  case r:
1241
1241
  switch (p = p.type, p) {
1242
1242
  case c:
1243
- case u:
1243
+ case f:
1244
1244
  case i:
1245
1245
  case s:
1246
1246
  case a:
1247
- case C:
1247
+ case x:
1248
1248
  return p;
1249
1249
  default:
1250
1250
  switch (p = p && p.$$typeof, p) {
1251
1251
  case d:
1252
1252
  case h:
1253
- case x:
1254
- case y:
1253
+ case M:
1254
+ case b:
1255
1255
  case l:
1256
1256
  return p;
1257
1257
  default:
@@ -1263,36 +1263,36 @@ function Wn() {
1263
1263
  }
1264
1264
  }
1265
1265
  }
1266
- function R(p) {
1267
- return M(p) === u;
1266
+ function A(p) {
1267
+ return S(p) === f;
1268
1268
  }
1269
- return B.AsyncMode = c, B.ConcurrentMode = u, B.ContextConsumer = d, B.ContextProvider = l, B.Element = r, B.ForwardRef = h, B.Fragment = i, B.Lazy = x, B.Memo = y, B.Portal = t, B.Profiler = s, B.StrictMode = a, B.Suspense = C, B.isAsyncMode = function(p) {
1270
- return R(p) || M(p) === c;
1271
- }, B.isConcurrentMode = R, B.isContextConsumer = function(p) {
1272
- return M(p) === d;
1269
+ return B.AsyncMode = c, B.ConcurrentMode = f, B.ContextConsumer = d, B.ContextProvider = l, B.Element = r, B.ForwardRef = h, B.Fragment = i, B.Lazy = M, B.Memo = b, B.Portal = t, B.Profiler = s, B.StrictMode = a, B.Suspense = x, B.isAsyncMode = function(p) {
1270
+ return A(p) || S(p) === c;
1271
+ }, B.isConcurrentMode = A, B.isContextConsumer = function(p) {
1272
+ return S(p) === d;
1273
1273
  }, B.isContextProvider = function(p) {
1274
- return M(p) === l;
1274
+ return S(p) === l;
1275
1275
  }, B.isElement = function(p) {
1276
1276
  return typeof p == "object" && p !== null && p.$$typeof === r;
1277
1277
  }, B.isForwardRef = function(p) {
1278
- return M(p) === h;
1278
+ return S(p) === h;
1279
1279
  }, B.isFragment = function(p) {
1280
- return M(p) === i;
1280
+ return S(p) === i;
1281
1281
  }, B.isLazy = function(p) {
1282
- return M(p) === x;
1282
+ return S(p) === M;
1283
1283
  }, B.isMemo = function(p) {
1284
- return M(p) === y;
1284
+ return S(p) === b;
1285
1285
  }, B.isPortal = function(p) {
1286
- return M(p) === t;
1286
+ return S(p) === t;
1287
1287
  }, B.isProfiler = function(p) {
1288
- return M(p) === s;
1288
+ return S(p) === s;
1289
1289
  }, B.isStrictMode = function(p) {
1290
- return M(p) === a;
1290
+ return S(p) === a;
1291
1291
  }, B.isSuspense = function(p) {
1292
- return M(p) === C;
1292
+ return S(p) === x;
1293
1293
  }, B.isValidElementType = function(p) {
1294
- return typeof p == "string" || typeof p == "function" || p === i || p === u || p === s || p === a || p === C || p === S || typeof p == "object" && p !== null && (p.$$typeof === x || p.$$typeof === y || p.$$typeof === l || p.$$typeof === d || p.$$typeof === h || p.$$typeof === f || p.$$typeof === E || p.$$typeof === b || p.$$typeof === m);
1295
- }, B.typeOf = M, B;
1294
+ return typeof p == "string" || typeof p == "function" || p === i || p === f || p === s || p === a || p === x || p === C || typeof p == "object" && p !== null && (p.$$typeof === M || p.$$typeof === b || p.$$typeof === l || p.$$typeof === d || p.$$typeof === h || p.$$typeof === u || p.$$typeof === E || p.$$typeof === y || p.$$typeof === v);
1295
+ }, B.typeOf = S, B;
1296
1296
  }
1297
1297
  var Z = {};
1298
1298
  /** @license React v16.13.1
@@ -1306,32 +1306,32 @@ var Z = {};
1306
1306
  var Lr;
1307
1307
  function Yn() {
1308
1308
  return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && function() {
1309
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, S = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, b = e ? Symbol.for("react.scope") : 60119;
1310
- function M(A) {
1311
- return typeof A == "string" || typeof A == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1312
- A === i || A === u || A === s || A === a || A === C || A === S || typeof A == "object" && A !== null && (A.$$typeof === x || A.$$typeof === y || A.$$typeof === l || A.$$typeof === d || A.$$typeof === h || A.$$typeof === f || A.$$typeof === E || A.$$typeof === b || A.$$typeof === m);
1309
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
1310
+ function S(R) {
1311
+ return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1312
+ R === i || R === f || R === s || R === a || R === x || R === C || typeof R == "object" && R !== null && (R.$$typeof === M || R.$$typeof === b || R.$$typeof === l || R.$$typeof === d || R.$$typeof === h || R.$$typeof === u || R.$$typeof === E || R.$$typeof === y || R.$$typeof === v);
1313
1313
  }
1314
- function R(A) {
1315
- if (typeof A == "object" && A !== null) {
1316
- var Ne = A.$$typeof;
1314
+ function A(R) {
1315
+ if (typeof R == "object" && R !== null) {
1316
+ var Ne = R.$$typeof;
1317
1317
  switch (Ne) {
1318
1318
  case r:
1319
- var _e = A.type;
1319
+ var _e = R.type;
1320
1320
  switch (_e) {
1321
1321
  case c:
1322
- case u:
1322
+ case f:
1323
1323
  case i:
1324
1324
  case s:
1325
1325
  case a:
1326
- case C:
1326
+ case x:
1327
1327
  return _e;
1328
1328
  default:
1329
1329
  var Re = _e && _e.$$typeof;
1330
1330
  switch (Re) {
1331
1331
  case d:
1332
1332
  case h:
1333
- case x:
1334
- case y:
1333
+ case M:
1334
+ case b:
1335
1335
  case l:
1336
1336
  return Re;
1337
1337
  default:
@@ -1343,51 +1343,51 @@ function Yn() {
1343
1343
  }
1344
1344
  }
1345
1345
  }
1346
- var p = c, T = u, k = d, J = l, N = r, he = h, ce = i, me = x, H = y, O = t, W = s, K = a, de = C, Se = !1;
1347
- function o1(A) {
1348
- return Se || (Se = !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.")), De(A) || R(A) === c;
1346
+ var p = c, T = f, k = d, q = l, N = r, Y = h, ae = i, ge = M, H = b, O = t, W = s, Q = a, pe = x, Se = !1;
1347
+ function o1(R) {
1348
+ return Se || (Se = !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.")), De(R) || A(R) === c;
1349
1349
  }
1350
- function De(A) {
1351
- return R(A) === u;
1350
+ function De(R) {
1351
+ return A(R) === f;
1352
1352
  }
1353
- function s1(A) {
1354
- return R(A) === d;
1353
+ function s1(R) {
1354
+ return A(R) === d;
1355
1355
  }
1356
- function l1(A) {
1357
- return R(A) === l;
1356
+ function l1(R) {
1357
+ return A(R) === l;
1358
1358
  }
1359
- function c1(A) {
1360
- return typeof A == "object" && A !== null && A.$$typeof === r;
1359
+ function c1(R) {
1360
+ return typeof R == "object" && R !== null && R.$$typeof === r;
1361
1361
  }
1362
- function F1(A) {
1363
- return R(A) === h;
1362
+ function I1(R) {
1363
+ return A(R) === h;
1364
1364
  }
1365
- function H1(A) {
1366
- return R(A) === i;
1365
+ function H1(R) {
1366
+ return A(R) === i;
1367
1367
  }
1368
- function Be(A) {
1369
- return R(A) === x;
1368
+ function Be(R) {
1369
+ return A(R) === M;
1370
1370
  }
1371
- function Ze(A) {
1372
- return R(A) === y;
1371
+ function Ze(R) {
1372
+ return A(R) === b;
1373
1373
  }
1374
- function ke(A) {
1375
- return R(A) === t;
1374
+ function ke(R) {
1375
+ return A(R) === t;
1376
1376
  }
1377
- function ze(A) {
1378
- return R(A) === s;
1377
+ function ze(R) {
1378
+ return A(R) === s;
1379
1379
  }
1380
- function Te(A) {
1381
- return R(A) === a;
1380
+ function Ae(R) {
1381
+ return A(R) === a;
1382
1382
  }
1383
- function L1(A) {
1384
- return R(A) === C;
1383
+ function L1(R) {
1384
+ return A(R) === x;
1385
1385
  }
1386
- Z.AsyncMode = p, Z.ConcurrentMode = T, Z.ContextConsumer = k, Z.ContextProvider = J, Z.Element = N, Z.ForwardRef = he, Z.Fragment = ce, Z.Lazy = me, Z.Memo = H, Z.Portal = O, Z.Profiler = W, Z.StrictMode = K, Z.Suspense = de, Z.isAsyncMode = o1, Z.isConcurrentMode = De, Z.isContextConsumer = s1, Z.isContextProvider = l1, Z.isElement = c1, Z.isForwardRef = F1, Z.isFragment = H1, Z.isLazy = Be, Z.isMemo = Ze, Z.isPortal = ke, Z.isProfiler = ze, Z.isStrictMode = Te, Z.isSuspense = L1, Z.isValidElementType = M, Z.typeOf = R;
1386
+ Z.AsyncMode = p, Z.ConcurrentMode = T, Z.ContextConsumer = k, Z.ContextProvider = q, Z.Element = N, Z.ForwardRef = Y, Z.Fragment = ae, Z.Lazy = ge, Z.Memo = H, Z.Portal = O, Z.Profiler = W, Z.StrictMode = Q, Z.Suspense = pe, Z.isAsyncMode = o1, Z.isConcurrentMode = De, Z.isContextConsumer = s1, Z.isContextProvider = l1, Z.isElement = c1, Z.isForwardRef = I1, Z.isFragment = H1, Z.isLazy = Be, Z.isMemo = Ze, Z.isPortal = ke, Z.isProfiler = ze, Z.isStrictMode = Ae, Z.isSuspense = L1, Z.isValidElementType = S, Z.typeOf = A;
1387
1387
  }()), Z;
1388
1388
  }
1389
1389
  process.env.NODE_ENV === "production" ? q1.exports = Wn() : q1.exports = Yn();
1390
- var Un = q1.exports, ot = Un, Gn = {
1390
+ var Un = q1.exports, at = Un, Gn = {
1391
1391
  $$typeof: !0,
1392
1392
  render: !0,
1393
1393
  defaultProps: !0,
@@ -1400,9 +1400,9 @@ var Un = q1.exports, ot = Un, Gn = {
1400
1400
  displayName: !0,
1401
1401
  propTypes: !0,
1402
1402
  type: !0
1403
- }, st = {};
1404
- st[ot.ForwardRef] = Gn;
1405
- st[ot.Memo] = Xn;
1403
+ }, ot = {};
1404
+ ot[at.ForwardRef] = Gn;
1405
+ ot[at.Memo] = Xn;
1406
1406
  var qn = !0;
1407
1407
  function Jn(e, r, t) {
1408
1408
  var i = "";
@@ -1410,7 +1410,7 @@ function Jn(e, r, t) {
1410
1410
  e[a] !== void 0 ? r.push(e[a] + ";") : a && (i += a + " ");
1411
1411
  }), i;
1412
1412
  }
1413
- var lt = function(r, t, i) {
1413
+ var st = function(r, t, i) {
1414
1414
  var a = r.key + "-" + t.name;
1415
1415
  // we only need to add the styles to the registered cache if the
1416
1416
  // class name could be used further down
@@ -1423,7 +1423,7 @@ var lt = function(r, t, i) {
1423
1423
  // also, note that this check will be dead code eliminated in the browser
1424
1424
  qn === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
1425
1425
  }, Kn = function(r, t, i) {
1426
- lt(r, t, i);
1426
+ st(r, t, i);
1427
1427
  var a = r.key + "-" + t.name;
1428
1428
  if (r.inserted[t.name] === void 0) {
1429
1429
  var s = t;
@@ -1500,26 +1500,26 @@ var ei = {
1500
1500
  strokeMiterlimit: 1,
1501
1501
  strokeOpacity: 1,
1502
1502
  strokeWidth: 1
1503
- }, ri = !1, ti = /[A-Z]|^ms/g, ni = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ct = function(r) {
1503
+ }, ri = !1, ti = /[A-Z]|^ms/g, ni = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lt = function(r) {
1504
1504
  return r.charCodeAt(1) === 45;
1505
1505
  }, Or = function(r) {
1506
1506
  return r != null && typeof r != "boolean";
1507
1507
  }, Z1 = /* @__PURE__ */ Pn(function(e) {
1508
- return ct(e) ? e : e.replace(ti, "-$&").toLowerCase();
1508
+ return lt(e) ? e : e.replace(ti, "-$&").toLowerCase();
1509
1509
  }), Pr = function(r, t) {
1510
1510
  switch (r) {
1511
1511
  case "animation":
1512
1512
  case "animationName":
1513
1513
  if (typeof t == "string")
1514
1514
  return t.replace(ni, function(i, a, s) {
1515
- return xe = {
1515
+ return be = {
1516
1516
  name: a,
1517
1517
  styles: s,
1518
- next: xe
1518
+ next: be
1519
1519
  }, a;
1520
1520
  });
1521
1521
  }
1522
- return ei[r] !== 1 && !ct(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1522
+ return ei[r] !== 1 && !lt(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1523
1523
  }, ii = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
1524
1524
  function i1(e, r, t) {
1525
1525
  if (t == null)
@@ -1533,20 +1533,20 @@ function i1(e, r, t) {
1533
1533
  case "object": {
1534
1534
  var a = t;
1535
1535
  if (a.anim === 1)
1536
- return xe = {
1536
+ return be = {
1537
1537
  name: a.name,
1538
1538
  styles: a.styles,
1539
- next: xe
1539
+ next: be
1540
1540
  }, a.name;
1541
1541
  var s = t;
1542
1542
  if (s.styles !== void 0) {
1543
1543
  var l = s.next;
1544
1544
  if (l !== void 0)
1545
1545
  for (; l !== void 0; )
1546
- xe = {
1546
+ be = {
1547
1547
  name: l.name,
1548
1548
  styles: l.styles,
1549
- next: xe
1549
+ next: be
1550
1550
  }, l = l.next;
1551
1551
  var d = s.styles + ";";
1552
1552
  return d;
@@ -1555,8 +1555,8 @@ function i1(e, r, t) {
1555
1555
  }
1556
1556
  case "function": {
1557
1557
  if (e !== void 0) {
1558
- var c = xe, u = t(e);
1559
- return xe = c, i1(e, r, u);
1558
+ var c = be, f = t(e);
1559
+ return be = c, i1(e, r, f);
1560
1560
  }
1561
1561
  break;
1562
1562
  }
@@ -1582,27 +1582,27 @@ function ai(e, r, t) {
1582
1582
  for (var c = 0; c < l.length; c++)
1583
1583
  Or(l[c]) && (i += Z1(s) + ":" + Pr(s, l[c]) + ";");
1584
1584
  else {
1585
- var u = i1(e, r, l);
1585
+ var f = i1(e, r, l);
1586
1586
  switch (s) {
1587
1587
  case "animation":
1588
1588
  case "animationName": {
1589
- i += Z1(s) + ":" + u + ";";
1589
+ i += Z1(s) + ":" + f + ";";
1590
1590
  break;
1591
1591
  }
1592
1592
  default:
1593
- i += s + "{" + u + "}";
1593
+ i += s + "{" + f + "}";
1594
1594
  }
1595
1595
  }
1596
1596
  }
1597
1597
  }
1598
1598
  return i;
1599
1599
  }
1600
- var Vr = /label:\s*([^\s;{]+)\s*(;|$)/g, xe;
1600
+ var Vr = /label:\s*([^\s;{]+)\s*(;|$)/g, be;
1601
1601
  function oi(e, r, t) {
1602
1602
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1603
1603
  return e[0];
1604
1604
  var i = !0, a = "";
1605
- xe = void 0;
1605
+ be = void 0;
1606
1606
  var s = e[0];
1607
1607
  if (s == null || s.raw === void 0)
1608
1608
  i = !1, a += i1(t, r, s);
@@ -1616,18 +1616,18 @@ function oi(e, r, t) {
1616
1616
  a += c[d];
1617
1617
  }
1618
1618
  Vr.lastIndex = 0;
1619
- for (var u = "", h; (h = Vr.exec(a)) !== null; )
1620
- u += "-" + h[1];
1621
- var C = Qn(a) + u;
1619
+ for (var f = "", h; (h = Vr.exec(a)) !== null; )
1620
+ f += "-" + h[1];
1621
+ var x = Qn(a) + f;
1622
1622
  return {
1623
- name: C,
1623
+ name: x,
1624
1624
  styles: a,
1625
- next: xe
1625
+ next: be
1626
1626
  };
1627
1627
  }
1628
1628
  var si = function(r) {
1629
1629
  return r();
1630
- }, li = ve.useInsertionEffect ? ve.useInsertionEffect : !1, ci = li || si, di = !1, dt = /* @__PURE__ */ ve.createContext(
1630
+ }, li = me.useInsertionEffect ? me.useInsertionEffect : !1, ci = li || si, di = !1, ct = /* @__PURE__ */ me.createContext(
1631
1631
  // we're doing this to avoid preconstruct's dead code elimination in this one case
1632
1632
  // because this module is primarily intended for the browser and node
1633
1633
  // but it's also required in react native and similar environments sometimes
@@ -1638,20 +1638,20 @@ var si = function(r) {
1638
1638
  key: "css"
1639
1639
  }) : null
1640
1640
  );
1641
- dt.Provider;
1641
+ ct.Provider;
1642
1642
  var pi = function(r) {
1643
- return /* @__PURE__ */ fe(function(t, i) {
1644
- var a = we(dt);
1643
+ return /* @__PURE__ */ he(function(t, i) {
1644
+ var a = we(ct);
1645
1645
  return r(t, a, i);
1646
1646
  });
1647
- }, ui = /* @__PURE__ */ ve.createContext({}), I1 = {}.hasOwnProperty, J1 = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", pt = function(r, t) {
1647
+ }, ui = /* @__PURE__ */ me.createContext({}), F1 = {}.hasOwnProperty, J1 = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", dt = function(r, t) {
1648
1648
  var i = {};
1649
1649
  for (var a in t)
1650
- I1.call(t, a) && (i[a] = t[a]);
1650
+ F1.call(t, a) && (i[a] = t[a]);
1651
1651
  return i[J1] = r, i;
1652
1652
  }, fi = function(r) {
1653
1653
  var t = r.cache, i = r.serialized, a = r.isStringTag;
1654
- return lt(t, i, a), ci(function() {
1654
+ return st(t, i, a), ci(function() {
1655
1655
  return Kn(t, i, a);
1656
1656
  }), null;
1657
1657
  }, hi = /* @__PURE__ */ pi(
@@ -1661,35 +1661,35 @@ var pi = function(r) {
1661
1661
  typeof i == "string" && r.registered[i] !== void 0 && (i = r.registered[i]);
1662
1662
  var a = e[J1], s = [i], l = "";
1663
1663
  typeof e.className == "string" ? l = Jn(r.registered, s, e.className) : e.className != null && (l = e.className + " ");
1664
- var d = oi(s, void 0, ve.useContext(ui));
1664
+ var d = oi(s, void 0, me.useContext(ui));
1665
1665
  l += r.key + "-" + d.name;
1666
1666
  var c = {};
1667
- for (var u in e)
1668
- I1.call(e, u) && u !== "css" && u !== J1 && !di && (c[u] = e[u]);
1669
- return c.className = l, t && (c.ref = t), /* @__PURE__ */ ve.createElement(ve.Fragment, null, /* @__PURE__ */ ve.createElement(fi, {
1667
+ for (var f in e)
1668
+ F1.call(e, f) && f !== "css" && f !== J1 && !di && (c[f] = e[f]);
1669
+ return c.className = l, t && (c.ref = t), /* @__PURE__ */ me.createElement(me.Fragment, null, /* @__PURE__ */ me.createElement(fi, {
1670
1670
  cache: r,
1671
1671
  serialized: d,
1672
1672
  isStringTag: typeof a == "string"
1673
- }), /* @__PURE__ */ ve.createElement(a, c));
1673
+ }), /* @__PURE__ */ me.createElement(a, c));
1674
1674
  }
1675
- ), ut = hi, ue = r1.Fragment;
1675
+ ), pt = hi, fe = r1.Fragment;
1676
1676
  function n(e, r, t) {
1677
- return I1.call(r, "css") ? r1.jsx(ut, pt(e, r), t) : r1.jsx(e, r, t);
1677
+ return F1.call(r, "css") ? r1.jsx(pt, dt(e, r), t) : r1.jsx(e, r, t);
1678
1678
  }
1679
1679
  function w(e, r, t) {
1680
- return I1.call(r, "css") ? r1.jsxs(ut, pt(e, r), t) : r1.jsxs(e, r, t);
1680
+ return F1.call(r, "css") ? r1.jsxs(pt, dt(e, r), t) : r1.jsxs(e, r, t);
1681
1681
  }
1682
- const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = () => {
1683
- const { palette: e } = le(), r = ne(
1682
+ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, vi = 147, mi = () => {
1683
+ const { palette: e } = de(), r = ie(
1684
1684
  (l) => l === "white" ? "#fff" : l === "black" ? "#000" : l || e.text.primary,
1685
1685
  [e.text.primary]
1686
- ), t = ne(
1686
+ ), t = ie(
1687
1687
  (l) => l || e.primary.contrastText,
1688
1688
  [e.primary.contrastText]
1689
- ), i = ne(
1689
+ ), i = ie(
1690
1690
  (l) => l || e.text.primary,
1691
1691
  [e.text.primary]
1692
- ), a = ne(async (l, d, c) => {
1692
+ ), a = ie(async (l, d, c) => {
1693
1693
  if (c)
1694
1694
  return import("./tracktor-logo-BZpNIZuZ.js");
1695
1695
  switch (l) {
@@ -1700,13 +1700,13 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
1700
1700
  default:
1701
1701
  return d === "dark" ? import("./tracktor-dark-CczqlSbH.js") : import("./tracktor-light-D8rOyXuS.js");
1702
1702
  }
1703
- }, []), s = ne(
1703
+ }, []), s = ie(
1704
1704
  ({
1705
1705
  variant: l,
1706
1706
  width: d,
1707
1707
  height: c,
1708
- withoutText: u
1709
- }) => u ? {
1708
+ withoutText: f
1709
+ }) => f ? {
1710
1710
  height: $r,
1711
1711
  width: $r
1712
1712
  } : l === "default" ? {
@@ -1717,7 +1717,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
1717
1717
  width: d || bi
1718
1718
  } : {
1719
1719
  height: c || yi,
1720
- width: d || mi
1720
+ width: d || vi
1721
1721
  },
1722
1722
  []
1723
1723
  );
@@ -1728,56 +1728,56 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
1728
1728
  getSize: s,
1729
1729
  getTextColor: r
1730
1730
  };
1731
- }, wi = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: s, mode: l, sx: d, variant: c = "default", component: u = "img" }, h) => {
1732
- const [C, S] = re(""), { palette: y } = le(), { getTextColor: x, getImageModule: m, getSize: f, getShapeColor: E, getShapeBackgroundColor: b } = vi(), { height: M, width: R } = f({ height: i, variant: c, width: a, withoutText: s }), p = x(t), T = E(e), k = b(r);
1731
+ }, wi = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: s, mode: l, sx: d, variant: c = "default", component: f = "img" }, h) => {
1732
+ const [x, C] = te(""), { palette: b } = de(), { getTextColor: M, getImageModule: v, getSize: u, getShapeColor: E, getShapeBackgroundColor: y } = mi(), { height: S, width: A } = u({ height: i, variant: c, width: a, withoutText: s }), p = M(t), T = E(e), k = y(r);
1733
1733
  if (S1(() => {
1734
- u !== "svg" && (async () => {
1735
- const J = await m(c, l || y.mode, s);
1736
- S(J.default);
1734
+ f !== "svg" && (async () => {
1735
+ const q = await v(c, l || b.mode, s);
1736
+ C(q.default);
1737
1737
  })();
1738
- }, [u, m, l, y.mode, c, s]), u === "img")
1739
- return C ? /* @__PURE__ */ n(
1740
- F,
1738
+ }, [f, v, l, b.mode, c, s]), f === "img")
1739
+ return x ? /* @__PURE__ */ n(
1740
+ I,
1741
1741
  {
1742
1742
  component: "img",
1743
- src: C,
1743
+ src: x,
1744
1744
  alt: "Tracktor",
1745
- height: M,
1746
- width: R,
1745
+ height: S,
1746
+ width: A,
1747
1747
  ref: h,
1748
1748
  sx: d
1749
1749
  }
1750
1750
  ) : /* @__PURE__ */ n(
1751
- oe,
1751
+ le,
1752
1752
  {
1753
1753
  variant: "rounded",
1754
1754
  ref: h,
1755
1755
  sx: {
1756
1756
  display: "inline-block",
1757
1757
  fontSize: 0,
1758
- height: M,
1759
- maxHeight: M,
1760
- maxWidth: R,
1761
- width: R
1758
+ height: S,
1759
+ maxHeight: S,
1760
+ maxWidth: A,
1761
+ width: A
1762
1762
  }
1763
1763
  }
1764
1764
  );
1765
1765
  if (s) {
1766
- const J = e || y.primary.main;
1767
- return /* @__PURE__ */ w(F, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: M, width: R, ...d }, children: [
1768
- /* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: J }),
1769
- /* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: J }),
1770
- /* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: J }),
1771
- /* @__PURE__ */ n("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: J })
1766
+ const q = e || b.primary.main;
1767
+ return /* @__PURE__ */ w(I, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: S, width: A, ...d }, children: [
1768
+ /* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: q }),
1769
+ /* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: q }),
1770
+ /* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: q }),
1771
+ /* @__PURE__ */ n("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: q })
1772
1772
  ] });
1773
1773
  }
1774
1774
  return c === "pricing" ? /* @__PURE__ */ w(
1775
- F,
1775
+ I,
1776
1776
  {
1777
1777
  component: "svg",
1778
1778
  viewBox: "0 0 147 44",
1779
1779
  fill: "none",
1780
- sx: { height: M, width: R, ...d },
1780
+ sx: { height: S, width: A, ...d },
1781
1781
  ref: h,
1782
1782
  children: [
1783
1783
  /* @__PURE__ */ w("g", { clipPath: "url(#clip0_12018_69701)", children: [
@@ -1873,12 +1873,12 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
1873
1873
  ]
1874
1874
  }
1875
1875
  ) : c === "supplier" ? /* @__PURE__ */ w(
1876
- F,
1876
+ I,
1877
1877
  {
1878
1878
  component: "svg",
1879
1879
  viewBox: "0 0 195 24",
1880
1880
  fill: "none",
1881
- sx: { height: M, width: R, ...d },
1881
+ sx: { height: S, width: A, ...d },
1882
1882
  ref: h,
1883
1883
  children: [
1884
1884
  /* @__PURE__ */ n(
@@ -1980,19 +1980,19 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
1980
1980
  "path",
1981
1981
  {
1982
1982
  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",
1983
- fill: y.text.secondary
1983
+ fill: b.text.secondary
1984
1984
  }
1985
1985
  ),
1986
1986
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ n("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
1987
1987
  ]
1988
1988
  }
1989
1989
  ) : /* @__PURE__ */ w(
1990
- F,
1990
+ I,
1991
1991
  {
1992
1992
  component: "svg",
1993
1993
  viewBox: "0 0 105 24",
1994
1994
  fill: "none",
1995
- sx: { height: M, width: R, ...d },
1995
+ sx: { height: S, width: A, ...d },
1996
1996
  ref: h,
1997
1997
  children: [
1998
1998
  /* @__PURE__ */ n(
@@ -2094,7 +2094,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2094
2094
  ]
2095
2095
  }
2096
2096
  );
2097
- }, Ei = fe(wi), ba = ({ component: e = "a", ...r }) => /* @__PURE__ */ n(zt, { component: e, onClick: (t) => t.preventDefault(), ...r }), Mi = ({ children: e, sx: r, ...t }, i) => /* @__PURE__ */ n(
2097
+ }, Ei = he(wi), ma = ({ component: e = "a", ...r }) => /* @__PURE__ */ n(zt, { component: e, onClick: (t) => t.preventDefault(), ...r }), Mi = ({ children: e, sx: r, ...t }, i) => /* @__PURE__ */ n(
2098
2098
  Q1,
2099
2099
  {
2100
2100
  sx: {
@@ -2114,9 +2114,9 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2114
2114
  ...t,
2115
2115
  children: e
2116
2116
  }
2117
- ), ya = fe(Mi), Si = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
2118
- const { palette: s, shape: l, spacing: d } = le();
2119
- return /* @__PURE__ */ w(ue, { children: [
2117
+ ), wa = he(Mi), Si = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
2118
+ const { palette: s, shape: l, spacing: d } = de();
2119
+ return /* @__PURE__ */ w(fe, { children: [
2120
2120
  /* @__PURE__ */ n(
2121
2121
  Ke,
2122
2122
  {
@@ -2151,23 +2151,23 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2151
2151
  }
2152
2152
  )
2153
2153
  ] });
2154
- }, ma = fe(Si), va = ({ fullWidth: e, value: r, setValue: t, min: i = 1, max: a = 50, ...s }) => /* @__PURE__ */ n(
2154
+ }, Ea = he(Si), Ma = ({ fullWidth: e, value: r, setValue: t, min: i = 1, max: a = 50, ...s }) => /* @__PURE__ */ n(
2155
2155
  er,
2156
2156
  {
2157
- onChange: (C) => {
2158
- const { target: S } = C, y = +S.value;
2159
- y <= a && y >= i && (t == null || t(y));
2157
+ onChange: (x) => {
2158
+ const { target: C } = x, b = +C.value;
2159
+ b <= a && b >= i && (t == null || t(b));
2160
2160
  },
2161
2161
  autoComplete: "off",
2162
2162
  InputProps: {
2163
2163
  endAdornment: /* @__PURE__ */ n(b1, { position: "end", children: /* @__PURE__ */ n(Ee, { disabled: r === a, onClick: () => {
2164
- const C = Number(r) + 1;
2165
- t == null || t(C <= a ? C : Number(r));
2166
- }, size: "small", "aria-label": "increment", children: /* @__PURE__ */ n(ye, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
2164
+ const x = Number(r) + 1;
2165
+ t == null || t(x <= a ? x : Number(r));
2166
+ }, size: "small", "aria-label": "increment", children: /* @__PURE__ */ n(ve, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
2167
2167
  startAdornment: /* @__PURE__ */ n(b1, { position: "start", children: /* @__PURE__ */ n(Ee, { onClick: () => {
2168
- const C = Number(r) - 1;
2169
- t == null || t(C >= i ? C : Number(r));
2170
- }, disabled: r === i || r === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ n(ye, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
2168
+ const x = Number(r) - 1;
2169
+ t == null || t(x >= i ? x : Number(r));
2170
+ }, disabled: r === i || r === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ n(ve, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
2171
2171
  sx: {
2172
2172
  "& .MuiInputBase-input": {
2173
2173
  textAlign: "center",
@@ -2179,14 +2179,14 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2179
2179
  value: r,
2180
2180
  ...s
2181
2181
  }
2182
- ), ft = ({ color: e = "currentColor" }) => /* @__PURE__ */ n(ye, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ n(
2182
+ ), ut = ({ color: e = "currentColor" }) => /* @__PURE__ */ n(ve, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ n(
2183
2183
  "path",
2184
2184
  {
2185
2185
  fill: e,
2186
2186
  d: "M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"
2187
2187
  }
2188
2188
  ) }), Ri = () => {
2189
- const { openDrawerMenu: e, AppBar: r } = we($e), { palette: t } = le(), i = t.mode === "dark" ? t.background.default : t.primary.black, a = r && ir(r, { onClickBurger: e });
2189
+ const { openDrawerMenu: e, AppBar: r } = we($e), { palette: t } = de(), i = t.mode === "dark" ? t.background.default : t.primary.black, a = r && ir(r, { onClickBurger: e });
2190
2190
  return r ? a : /* @__PURE__ */ n(
2191
2191
  N1,
2192
2192
  {
@@ -2196,11 +2196,11 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2196
2196
  background: i,
2197
2197
  borderBottom: ({ palette: s }) => `1px solid ${s.mode === "dark" ? s.divider : i}`
2198
2198
  },
2199
- children: /* @__PURE__ */ n(jt, { component: z, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(Ee, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ft, {}) }) })
2199
+ children: /* @__PURE__ */ n(jt, { component: z, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(Ee, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ut, {}) }) })
2200
2200
  }
2201
2201
  );
2202
2202
  }, cr = ({ color: e = "currentColor" }) => /* @__PURE__ */ n(
2203
- ye,
2203
+ ve,
2204
2204
  {
2205
2205
  sx: {
2206
2206
  fill: ({ palette: r }) => e || (r.mode === "dark" ? r.common.white : r.common.black)
@@ -2211,7 +2211,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2211
2211
  }
2212
2212
  ), dr = ({ url: e, end: r, children: t, active: i, state: a, component: s, disabled: l }) => {
2213
2213
  const { closeDrawerMenu: d } = we($e);
2214
- return l ? /* @__PURE__ */ n(U, { component: "div", color: "text.disabled", "aria-disabled": "true", children: t }) : s ? /* @__PURE__ */ n(s, { onClick: d, to: e || "#", end: r, state: a, children: t }) : /* @__PURE__ */ n(F, { component: "a", href: e, onClick: d, className: i ? "active" : void 0, "data-end": r, "data-state": a, children: t });
2214
+ return l ? /* @__PURE__ */ n(G, { component: "div", color: "text.disabled", "aria-disabled": "true", children: t }) : s ? /* @__PURE__ */ n(s, { onClick: d, to: e || "#", end: r, state: a, children: t }) : /* @__PURE__ */ n(I, { component: "a", href: e, onClick: d, className: i ? "active" : void 0, "data-end": r, "data-state": a, children: t });
2215
2215
  }, Xe = {
2216
2216
  bottomLink: {
2217
2217
  "& a": {
@@ -2275,23 +2275,23 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2275
2275
  isDrawerOpen: l,
2276
2276
  sideBarWidth: d,
2277
2277
  bottomLink: c,
2278
- NavLink: u,
2278
+ NavLink: f,
2279
2279
  Footer: h,
2280
- Search: C = r.Logo,
2281
- Logo: S = r.Logo
2282
- } = we($e), { palette: y } = le(), x = y.mode === "dark" ? y.background.default : y.primary.black, m = a && l ? "none" : `solid 1px ${y.divider}`, E = t ? !(!a && !s) : !0;
2280
+ Search: x = r.Logo,
2281
+ Logo: C = r.Logo
2282
+ } = we($e), { palette: b } = de(), M = b.mode === "dark" ? b.background.default : b.primary.black, v = a && l ? "none" : `solid 1px ${b.divider}`, E = t ? !(!a && !s) : !0;
2283
2283
  return /* @__PURE__ */ w(
2284
- F,
2284
+ I,
2285
2285
  {
2286
2286
  sx: {
2287
2287
  ...Xe.container,
2288
- borderRight: m,
2288
+ borderRight: v,
2289
2289
  overflowX: "auto",
2290
2290
  width: a ? "100%" : d || "auto"
2291
2291
  },
2292
2292
  component: "aside",
2293
2293
  children: [
2294
- S && /* @__PURE__ */ w(
2294
+ C && /* @__PURE__ */ w(
2295
2295
  z,
2296
2296
  {
2297
2297
  sx: {
@@ -2303,7 +2303,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2303
2303
  spacing: 3,
2304
2304
  children: [
2305
2305
  /* @__PURE__ */ n(
2306
- F,
2306
+ I,
2307
2307
  {
2308
2308
  sx: {
2309
2309
  ...Xe.logo,
@@ -2315,24 +2315,24 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2315
2315
  }
2316
2316
  }
2317
2317
  },
2318
- children: S
2318
+ children: C
2319
2319
  }
2320
2320
  ),
2321
- a && /* @__PURE__ */ n(Ee, { onClick: i, children: /* @__PURE__ */ n(cr, { color: y.getContrastText(x) }) })
2321
+ a && /* @__PURE__ */ n(Ee, { onClick: i, children: /* @__PURE__ */ n(cr, { color: b.getContrastText(M) }) })
2322
2322
  ]
2323
2323
  }
2324
2324
  ),
2325
- C && E && /* @__PURE__ */ n(F, { p: 2, children: C }),
2326
- /* @__PURE__ */ n(F, { flex: 1, children: e }),
2327
- c && /* @__PURE__ */ n(F, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component: u, ...c, children: /* @__PURE__ */ w(z, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
2328
- (c == null ? void 0 : c.icon) && /* @__PURE__ */ n(F, { component: "span", display: "flex", children: c == null ? void 0 : c.icon }),
2329
- (c == null ? void 0 : c.label) && /* @__PURE__ */ n(F, { component: "span", display: "flex", children: c == null ? void 0 : c.label })
2325
+ x && E && /* @__PURE__ */ n(I, { p: 2, children: x }),
2326
+ /* @__PURE__ */ n(I, { flex: 1, children: e }),
2327
+ c && /* @__PURE__ */ n(I, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component: f, ...c, children: /* @__PURE__ */ w(z, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
2328
+ (c == null ? void 0 : c.icon) && /* @__PURE__ */ n(I, { component: "span", display: "flex", children: c == null ? void 0 : c.icon }),
2329
+ (c == null ? void 0 : c.label) && /* @__PURE__ */ n(I, { component: "span", display: "flex", children: c == null ? void 0 : c.label })
2330
2330
  ] }) }) }),
2331
2331
  h
2332
2332
  ]
2333
2333
  }
2334
2334
  );
2335
- }, Ai = {
2335
+ }, Ti = {
2336
2336
  list: {
2337
2337
  "& [aria-disabled='true']": {
2338
2338
  cursor: "default"
@@ -2376,22 +2376,22 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2376
2376
  }
2377
2377
  }, Br = ({ items: e, ...r }) => {
2378
2378
  const { NavLink: t = r.NavLink } = we($e);
2379
- return /* @__PURE__ */ n(F, { px: 2, component: "nav", children: /* @__PURE__ */ n(y1, { sx: { ...Ai.list }, children: e == null ? void 0 : e.map((i, a) => {
2379
+ return /* @__PURE__ */ n(I, { px: 2, component: "nav", children: /* @__PURE__ */ n(y1, { sx: { ...Ti.list }, children: e == null ? void 0 : e.map((i, a) => {
2380
2380
  if (R1(i))
2381
2381
  return i;
2382
2382
  if (i && typeof i == "object" && "label" in i) {
2383
- const { count: s, url: l, label: d, icon: c, active: u, disabled: h } = i, C = `${l}-${d}-${a}`;
2384
- return /* @__PURE__ */ n(Me, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(dr, { url: l, component: t, active: u, disabled: h, children: /* @__PURE__ */ w(z, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2385
- c && /* @__PURE__ */ n(F, { component: "span", display: "flex", alignItems: "center", children: c }),
2383
+ const { count: s, url: l, label: d, icon: c, active: f, disabled: h } = i, x = `${l}-${d}-${a}`;
2384
+ return /* @__PURE__ */ n(Me, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(dr, { url: l, component: t, active: f, disabled: h, children: /* @__PURE__ */ w(z, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2385
+ c && /* @__PURE__ */ n(I, { component: "span", display: "flex", alignItems: "center", children: c }),
2386
2386
  /* @__PURE__ */ w(z, { direction: "row", justifyContent: "space-between", flex: 1, children: [
2387
2387
  d,
2388
2388
  s && /* @__PURE__ */ n(Qe, { color: "warning", size: "small", label: s, variant: "rounded" })
2389
2389
  ] })
2390
- ] }) }) }, C);
2390
+ ] }) }) }, x);
2391
2391
  }
2392
2392
  return null;
2393
2393
  }) }) });
2394
- }, ht = {
2394
+ }, ft = {
2395
2395
  closeDrawerMenu: () => {
2396
2396
  },
2397
2397
  isDrawerOpen: !1,
@@ -2399,13 +2399,13 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2399
2399
  isTablet: !1,
2400
2400
  openDrawerMenu: () => {
2401
2401
  }
2402
- }, $e = M1(ht), ki = () => {
2402
+ }, $e = M1(ft), ki = () => {
2403
2403
  const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: s, sideBarWidth: l, openDrawerMenu: d } = we($e);
2404
- return (t || i) && !r ? /* @__PURE__ */ w(ue, { children: [
2404
+ return (t || i) && !r ? /* @__PURE__ */ w(fe, { children: [
2405
2405
  /* @__PURE__ */ n(Ri, {}),
2406
2406
  /* @__PURE__ */ n(Wt, { anchor: "left", open: a, onClose: s, onOpen: d, children: /* @__PURE__ */ n(Dr, { children: /* @__PURE__ */ n(Br, { items: e }) }) })
2407
2407
  ] }) : /* @__PURE__ */ n(Dr, { width: l, children: /* @__PURE__ */ n(Br, { items: e }) });
2408
- }, Ti = ({
2408
+ }, Ai = ({
2409
2409
  AppBar: e,
2410
2410
  NavLink: r,
2411
2411
  Search: t,
@@ -2415,25 +2415,25 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2415
2415
  enableSearchFocusShortcut: l,
2416
2416
  disableResponsive: d,
2417
2417
  hideSearchDesktop: c,
2418
- bottomLink: u,
2418
+ bottomLink: f,
2419
2419
  sideBarWidth: h = 260
2420
2420
  }) => {
2421
- const { breakpoints: C } = le(), S = e1(C.down("sm")), y = e1(C.between("sm", "md")), [x, m] = re(ht.isDrawerOpen), f = ne(() => {
2422
- m(!1);
2423
- }, []), E = ne(() => {
2424
- m(!0);
2425
- }, []), b = A1(
2421
+ const { breakpoints: x } = de(), C = e1(x.down("sm")), b = e1(x.between("sm", "md")), [M, v] = te(ft.isDrawerOpen), u = ie(() => {
2422
+ v(!1);
2423
+ }, []), E = ie(() => {
2424
+ v(!0);
2425
+ }, []), y = T1(
2426
2426
  () => ({
2427
2427
  AppBar: e,
2428
- bottomLink: u,
2429
- closeDrawerMenu: f,
2428
+ bottomLink: f,
2429
+ closeDrawerMenu: u,
2430
2430
  disableResponsive: d,
2431
2431
  enableSearchFocusShortcut: l,
2432
2432
  Footer: a,
2433
2433
  hideSearchDesktop: c,
2434
- isDrawerOpen: x,
2435
- isMobile: S,
2436
- isTablet: y,
2434
+ isDrawerOpen: M,
2435
+ isMobile: C,
2436
+ isTablet: b,
2437
2437
  items: s,
2438
2438
  Logo: i,
2439
2439
  NavLink: r,
@@ -2442,11 +2442,11 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2442
2442
  sideBarWidth: h
2443
2443
  }),
2444
2444
  [
2445
- f,
2445
+ u,
2446
2446
  d,
2447
- x,
2448
- S,
2449
- y,
2447
+ M,
2448
+ C,
2449
+ b,
2450
2450
  s,
2451
2451
  E,
2452
2452
  h,
@@ -2455,21 +2455,21 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2455
2455
  l,
2456
2456
  t,
2457
2457
  c,
2458
- u,
2458
+ f,
2459
2459
  e,
2460
2460
  a
2461
2461
  ]
2462
2462
  );
2463
- return /* @__PURE__ */ n($e.Provider, { value: b, children: /* @__PURE__ */ n(ki, {}) });
2464
- }, wa = Jr(Ti), _i = "No data", Zr = {
2463
+ return /* @__PURE__ */ n($e.Provider, { value: y, children: /* @__PURE__ */ n(ki, {}) });
2464
+ }, Sa = qr(Ai), _i = "No data", Zr = {
2465
2465
  large: 80,
2466
2466
  medium: 50,
2467
2467
  small: 40
2468
- }, Ii = ({ children: e, ...r }, t) => /* @__PURE__ */ n(Q1, { component: "li", ref: t, ...r, children: e }), Fi = fe(Ii), Hi = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: i, sx: a, height: s, onClick: l, size: d = "medium", ...c }, u) => t ? /* @__PURE__ */ n(oe, { width: "100%", variant: "rounded", height: s || Zr[d], sx: { marginBottom: 1 }, ref: u, component: "li" }) : r ? /* @__PURE__ */ n(Me, { disablePadding: !0, children: /* @__PURE__ */ n(rr, { severity: "info", sx: { width: "100%" }, ref: u, children: i || _i }) }) : /* @__PURE__ */ n(
2468
+ }, Fi = ({ children: e, ...r }, t) => /* @__PURE__ */ n(Q1, { component: "li", ref: t, ...r, children: e }), Ii = he(Fi), Hi = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: i, sx: a, height: s, onClick: l, size: d = "medium", ...c }, f) => t ? /* @__PURE__ */ n(le, { width: "100%", variant: "rounded", height: s || Zr[d], sx: { marginBottom: 1 }, ref: f, component: "li" }) : r ? /* @__PURE__ */ n(Me, { disablePadding: !0, children: /* @__PURE__ */ n(rr, { severity: "info", sx: { width: "100%" }, ref: f, children: i || _i }) }) : /* @__PURE__ */ n(
2469
2469
  Me,
2470
2470
  {
2471
- component: Fi,
2472
- ref: u,
2471
+ component: Ii,
2472
+ ref: f,
2473
2473
  onClick: l,
2474
2474
  sx: {
2475
2475
  alignItems: "center",
@@ -2487,13 +2487,13 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2487
2487
  ...a
2488
2488
  },
2489
2489
  ...c,
2490
- children: /* @__PURE__ */ n(F, { flex: "auto", minWidth: 0, children: e })
2490
+ children: /* @__PURE__ */ n(I, { flex: "auto", minWidth: 0, children: e })
2491
2491
  }
2492
- ), Ea = Jr(fe(Hi)), Li = ["warning", "info", "success", "error", "primary", "secondary"], Oi = (e) => Li.includes(e), Pi = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
2492
+ ), Ra = qr(he(Hi)), Li = ["warning", "info", "success", "error", "primary", "secondary"], Oi = (e) => Li.includes(e), Pi = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
2493
2493
  var h;
2494
- const { palette: s } = le(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c = Oi(e) ? (h = s == null ? void 0 : s[e]) == null ? void 0 : h.main : d, u = ge(c, 0.2);
2494
+ const { palette: s } = de(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c = Oi(e) ? (h = s == null ? void 0 : s[e]) == null ? void 0 : h.main : d, f = Ce(c, 0.2);
2495
2495
  return /* @__PURE__ */ w(
2496
- ye,
2496
+ ve,
2497
2497
  {
2498
2498
  viewBox: "0 0 16 16",
2499
2499
  ref: a,
@@ -2504,17 +2504,17 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2504
2504
  ...r
2505
2505
  },
2506
2506
  children: [
2507
- /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "8", fill: t === "filled" ? u : "transparent" }),
2507
+ /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "8", fill: t === "filled" ? f : "transparent" }),
2508
2508
  t === "filled" ? /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", fill: c }) : /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", stroke: c, strokeWidth: "2", fill: "transparent" })
2509
2509
  ]
2510
2510
  }
2511
2511
  );
2512
- }, x1 = fe(Pi), Vi = {
2512
+ }, x1 = he(Pi), Vi = {
2513
2513
  large: 17,
2514
2514
  medium: 16,
2515
2515
  small: 15
2516
2516
  }, E1 = ({ size: e, loadingPosition: r, position: t = "absolute" }) => /* @__PURE__ */ n(
2517
- F,
2517
+ I,
2518
2518
  {
2519
2519
  position: t,
2520
2520
  top: 0,
@@ -2532,7 +2532,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2532
2532
  }
2533
2533
  }
2534
2534
  },
2535
- children: /* @__PURE__ */ n(Gr, { role: "alert", "aria-busy": "true", color: "inherit", size: Vi[e || "medium"] })
2535
+ children: /* @__PURE__ */ n(Ur, { role: "alert", "aria-busy": "true", color: "inherit", size: Vi[e || "medium"] })
2536
2536
  }
2537
2537
  ), $i = ({
2538
2538
  children: e,
@@ -2546,15 +2546,15 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2546
2546
  const d = s || l;
2547
2547
  return r && i ? /* @__PURE__ */ w(z, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2548
2548
  /* @__PURE__ */ n(E1, { size: a, position: "relative", loadingPosition: i }),
2549
- /* @__PURE__ */ n(F, { component: "span", children: e })
2550
- ] }) : r && !t && !d ? /* @__PURE__ */ w(ue, { children: [
2549
+ /* @__PURE__ */ n(I, { component: "span", children: e })
2550
+ ] }) : r && !t && !d ? /* @__PURE__ */ w(fe, { children: [
2551
2551
  r && !t && /* @__PURE__ */ n(E1, { size: a }),
2552
- /* @__PURE__ */ n(F, { component: "span", sx: { opacity: 0 }, children: e })
2553
- ] }) : r && t ? /* @__PURE__ */ w(ue, { children: [
2552
+ /* @__PURE__ */ n(I, { component: "span", sx: { opacity: 0 }, children: e })
2553
+ ] }) : r && t ? /* @__PURE__ */ w(fe, { children: [
2554
2554
  " ",
2555
2555
  t,
2556
2556
  " "
2557
- ] }) : /* @__PURE__ */ n(F, { component: "span", children: e });
2557
+ ] }) : /* @__PURE__ */ n(I, { component: "span", children: e });
2558
2558
  }, Di = (e, r) => {
2559
2559
  const {
2560
2560
  children: t,
@@ -2564,10 +2564,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2564
2564
  loadingIndicator: l,
2565
2565
  loadingPosition: d,
2566
2566
  size: c,
2567
- variant: u,
2567
+ variant: f,
2568
2568
  startIcon: h,
2569
- endIcon: C,
2570
- ...S
2569
+ endIcon: x,
2570
+ ...C
2571
2571
  } = e;
2572
2572
  return /* @__PURE__ */ n(
2573
2573
  tr,
@@ -2575,11 +2575,11 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2575
2575
  disabled: i || s,
2576
2576
  ref: r,
2577
2577
  size: c,
2578
- variant: u,
2579
- disableRipple: a || u === "link",
2578
+ variant: f,
2579
+ disableRipple: a || f === "link",
2580
2580
  startIcon: s && h ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : h,
2581
- endIcon: s && C ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : C,
2582
- ...S,
2581
+ endIcon: s && x ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : x,
2582
+ ...C,
2583
2583
  children: /* @__PURE__ */ n(
2584
2584
  $i,
2585
2585
  {
@@ -2588,19 +2588,19 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2588
2588
  loadingPosition: d,
2589
2589
  size: c,
2590
2590
  startIcon: h,
2591
- endIcon: C,
2591
+ endIcon: x,
2592
2592
  children: t
2593
2593
  }
2594
2594
  )
2595
2595
  }
2596
2596
  );
2597
- }, Ma = fe(Di), gt = ({ children: e, open: r, onClose: t, src: i, ...a }) => {
2598
- const [s, l] = re(!1), d = () => {
2597
+ }, Ta = he(Di), ht = ({ children: e, open: r, onClose: t, src: i, ...a }) => {
2598
+ const [s, l] = te(!1), d = () => {
2599
2599
  l(!0);
2600
- }, c = (u, h) => (u && (t == null || t(u, h), l(!1)), (C) => {
2601
- t == null || t(C, h), l(!1);
2600
+ }, c = (f, h) => (f && (t == null || t(f, h), l(!1)), (x) => {
2601
+ t == null || t(x, h), l(!1);
2602
2602
  });
2603
- return /* @__PURE__ */ n(Yt, { open: r, onClose: c, ...a, children: /* @__PURE__ */ w(ue, { children: [
2603
+ return /* @__PURE__ */ n(Yt, { open: r, onClose: c, ...a, children: /* @__PURE__ */ w(fe, { children: [
2604
2604
  /* @__PURE__ */ n(
2605
2605
  Ee,
2606
2606
  {
@@ -2609,9 +2609,9 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2609
2609
  onClick: c(void 0, "closeButton"),
2610
2610
  sx: {
2611
2611
  "&:hover": {
2612
- background: ({ palette: u }) => u.augmentColor({ color: { main: u.background.default } }).light
2612
+ background: ({ palette: f }) => f.augmentColor({ color: { main: f.background.default } }).light
2613
2613
  },
2614
- background: ({ palette: u }) => u.background.default,
2614
+ background: ({ palette: f }) => f.background.default,
2615
2615
  fontSize: 35,
2616
2616
  height: 30,
2617
2617
  position: "absolute",
@@ -2623,9 +2623,9 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2623
2623
  children: "×"
2624
2624
  }
2625
2625
  ),
2626
- !s && !e && /* @__PURE__ */ n(F, { position: "absolute", width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ n(Gr, {}) }),
2626
+ !s && !e && /* @__PURE__ */ n(I, { position: "absolute", width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ n(Ur, {}) }),
2627
2627
  /* @__PURE__ */ n(
2628
- F,
2628
+ I,
2629
2629
  {
2630
2630
  sx: {
2631
2631
  left: "50%",
@@ -2634,11 +2634,11 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2634
2634
  top: "50%",
2635
2635
  transform: "translate(-50%, -50%)"
2636
2636
  },
2637
- children: e || /* @__PURE__ */ n(Ut, { in: r && s, children: /* @__PURE__ */ n(F, { component: "img", src: i, width: "100%", onLoad: d }) })
2637
+ children: e || /* @__PURE__ */ n(Ut, { in: r && s, children: /* @__PURE__ */ n(I, { component: "img", src: i, width: "100%", onLoad: d }) })
2638
2638
  }
2639
2639
  )
2640
2640
  ] }) });
2641
- }, Sa = ({ onClick: e }) => /* @__PURE__ */ n(
2641
+ }, ka = ({ onClick: e }) => /* @__PURE__ */ n(
2642
2642
  Ee,
2643
2643
  {
2644
2644
  "aria-label": "close",
@@ -2651,37 +2651,37 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2651
2651
  children: /* @__PURE__ */ n(cr, {})
2652
2652
  }
2653
2653
  ), Bi = ({ children: e, value: r, index: t, orientation: i, paddingY: a, paddingX: s, fullHeight: l, sx: d }, c) => {
2654
- const u = a || 3, h = s || i === "vertical" ? 3 : 0;
2654
+ const f = a || 3, h = s || i === "vertical" ? 3 : 0;
2655
2655
  return r === t ? /* @__PURE__ */ n(
2656
- F,
2656
+ I,
2657
2657
  {
2658
2658
  ref: c,
2659
2659
  role: "tabpanel",
2660
2660
  hidden: r !== t,
2661
2661
  id: `tabpanel-${t}`,
2662
- paddingY: u,
2662
+ paddingY: f,
2663
2663
  paddingX: h,
2664
2664
  height: l ? "100%" : void 0,
2665
2665
  sx: d,
2666
2666
  children: e
2667
2667
  }
2668
2668
  ) : null;
2669
- }, Ra = fe(Bi), Aa = ({
2669
+ }, Aa = he(Bi), _a = ({
2670
2670
  isLoading: e,
2671
2671
  children: r,
2672
2672
  emptyText: t,
2673
2673
  typographyProps: i = { color: "text.secondary", variant: "body2" },
2674
2674
  skeletonProps: a
2675
- }) => e ? /* @__PURE__ */ n(U, { ...i, children: /* @__PURE__ */ n(oe, { ...a }) }) : r ? /* @__PURE__ */ n(U, { ...i, children: r }) : /* @__PURE__ */ n(U, { ...i, color: "text.disabled", children: t }), Zi = (e, r, t) => {
2675
+ }) => e ? /* @__PURE__ */ n(G, { ...i, children: /* @__PURE__ */ n(le, { ...a }) }) : r ? /* @__PURE__ */ n(G, { ...i, children: r }) : /* @__PURE__ */ n(G, { ...i, color: "text.disabled", children: t }), Zi = (e, r, t) => {
2676
2676
  const { w: i, h: a } = { h: Number(r), w: Number(e) };
2677
2677
  return i < 25 || a < 25 ? { borderRadius: `${t.borderRadiusS}px`, padding: 0.5 } : i < 50 || a < 50 ? { borderRadius: `${t.borderRadius}px`, padding: 1 } : { borderRadius: `${t.borderRadiusL}px`, padding: 1.5 };
2678
- }, zr = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(oe, { variant: "rounded", width: e, height: r, sx: t }), ka = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: s = "Article" }) => {
2679
- const [l, d] = re(), [c, u] = re(), { shape: h } = le(), { borderRadius: C, padding: S } = Zi(i, a, h), y = { borderRadius: C, flexShrink: 0 }, x = e && !l && !c, m = !e || c && !l || c && l, f = (E) => {
2680
- u(void 0), d(E);
2678
+ }, zr = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(le, { variant: "rounded", width: e, height: r, sx: t }), Fa = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: s = "Article" }) => {
2679
+ const [l, d] = te(), [c, f] = te(), { shape: h } = de(), { borderRadius: x, padding: C } = Zi(i, a, h), b = { borderRadius: x, flexShrink: 0 }, M = e && !l && !c, v = !e || c && !l || c && l, u = (E) => {
2680
+ f(void 0), d(E);
2681
2681
  };
2682
- return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx: y }) : /* @__PURE__ */ w(ue, { children: [
2683
- x && /* @__PURE__ */ n(zr, { width: i, height: a, sx: y }),
2684
- m && /* @__PURE__ */ n(
2682
+ return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }) : /* @__PURE__ */ w(fe, { children: [
2683
+ M && /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }),
2684
+ v && /* @__PURE__ */ n(
2685
2685
  z,
2686
2686
  {
2687
2687
  justifyContent: "center",
@@ -2690,8 +2690,8 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2690
2690
  height: a,
2691
2691
  sx: {
2692
2692
  background: ({ palette: E }) => E.background.paper,
2693
- padding: S,
2694
- ...y,
2693
+ padding: C,
2694
+ ...b,
2695
2695
  ...t
2696
2696
  },
2697
2697
  children: /* @__PURE__ */ w("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
@@ -2727,17 +2727,17 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2727
2727
  }
2728
2728
  ),
2729
2729
  /* @__PURE__ */ n(
2730
- F,
2730
+ I,
2731
2731
  {
2732
2732
  component: "img",
2733
2733
  src: e,
2734
2734
  alt: s,
2735
2735
  width: i,
2736
2736
  height: a,
2737
- sx: y,
2738
- onError: u,
2739
- onLoad: f,
2740
- display: m || !l ? "none" : "block"
2737
+ sx: b,
2738
+ onError: f,
2739
+ onLoad: u,
2740
+ display: v || !l ? "none" : "block"
2741
2741
  }
2742
2742
  )
2743
2743
  ] });
@@ -2778,24 +2778,24 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2778
2778
  widthLightbox: l,
2779
2779
  heightLightbox: d,
2780
2780
  sxLightbox: c,
2781
- disableLightbox: u,
2781
+ disableLightbox: f,
2782
2782
  disableThumb: h,
2783
- open: C,
2784
- onClose: S
2783
+ open: x,
2784
+ onClose: C
2785
2785
  }) => {
2786
- const [y, x] = re(!1), [m, f] = re(!1), E = !(e != null && e.endsWith(".pdf")) && !e.startsWith("blob:"), b = /\.pdf$/i.test(e.toLowerCase()), M = ar(null), R = m ? zi : r || e, p = () => {
2787
- x(!y);
2788
- }, T = ne(() => {
2789
- f(!0);
2786
+ const [b, M] = te(!1), [v, u] = te(!1), E = !(e != null && e.endsWith(".pdf")) && !e.startsWith("blob:"), y = /\.pdf$/i.test(e.toLowerCase()), S = ar(null), A = v ? zi : r || e, p = () => {
2787
+ M(!b);
2788
+ }, T = ie(() => {
2789
+ u(!0);
2790
2790
  }, []);
2791
2791
  return S1(() => {
2792
- const k = M.current;
2792
+ const k = S.current;
2793
2793
  return k == null || k.addEventListener("error", T), () => {
2794
2794
  k == null || k.removeEventListener("error", T);
2795
2795
  };
2796
- }, [T, M]), /* @__PURE__ */ w(ue, { children: [
2796
+ }, [T, S]), /* @__PURE__ */ w(fe, { children: [
2797
2797
  !h && /* @__PURE__ */ n(
2798
- F,
2798
+ I,
2799
2799
  {
2800
2800
  "data-test": "fileViewer",
2801
2801
  onClick: p,
@@ -2804,42 +2804,42 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2804
2804
  sx: {
2805
2805
  ...qe.container,
2806
2806
  ":hover": {
2807
- opacity: u ? 1 : 0.8
2807
+ opacity: f ? 1 : 0.8
2808
2808
  },
2809
- cursor: u ? "default" : "pointer",
2809
+ cursor: f ? "default" : "pointer",
2810
2810
  display: "block",
2811
2811
  ...s
2812
2812
  },
2813
2813
  children: /* @__PURE__ */ n(
2814
- F,
2814
+ I,
2815
2815
  {
2816
2816
  component: E ? "img" : "iframe",
2817
2817
  overflow: "hidden",
2818
2818
  height: E ? "100%" : "auto",
2819
2819
  width: "100%",
2820
- src: R,
2821
- ref: M,
2820
+ src: A,
2821
+ ref: S,
2822
2822
  sx: E ? qe.thumbImage : qe.thumbFile
2823
2823
  },
2824
- R
2824
+ A
2825
2825
  )
2826
2826
  }
2827
2827
  ),
2828
- !u && /* @__PURE__ */ n(gt, { open: C || y, onClose: S || p, src: e, title: t, children: /* @__PURE__ */ n(
2829
- F,
2828
+ !f && /* @__PURE__ */ n(ht, { open: x || b, onClose: C || p, src: e, title: t, children: /* @__PURE__ */ n(
2829
+ I,
2830
2830
  {
2831
- component: b ? "iframe" : "img",
2831
+ component: y ? "iframe" : "img",
2832
2832
  src: e,
2833
2833
  width: l,
2834
2834
  height: d,
2835
2835
  sx: {
2836
- ...b ? qe.viewFile : qe.viewImage,
2836
+ ...y ? qe.viewFile : qe.viewImage,
2837
2837
  ...c
2838
2838
  }
2839
2839
  }
2840
2840
  ) })
2841
2841
  ] });
2842
- }, ji = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(ye, { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, fontSize: r, children: /* @__PURE__ */ n("path", { d: "M6 2L5.295 2.705L8.085 5.5L2 5.5L2 6.5L8.085 6.5L5.295 9.295L6 10L10 6L6 2Z", fill: t, fillOpacity: "0.54" }) }), Wi = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(ye, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, children: /* @__PURE__ */ n("path", { d: "M12 6.47003L11.06 5.53003L8 8.58336L4.94 5.53003L4 6.47003L8 10.47L12 6.47003Z", fill: r, fillOpacity: "0.54" }) }), u1 = 64, Nr = 1e3, Yi = ({
2842
+ }, ji = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, fontSize: r, children: /* @__PURE__ */ n("path", { d: "M6 2L5.295 2.705L8.085 5.5L2 5.5L2 6.5L8.085 6.5L5.295 9.295L6 10L10 6L6 2Z", fill: t, fillOpacity: "0.54" }) }), Wi = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, children: /* @__PURE__ */ n("path", { d: "M12 6.47003L11.06 5.53003L8 8.58336L4.94 5.53003L4 6.47003L8 10.47L12 6.47003Z", fill: r, fillOpacity: "0.54" }) }), u1 = 64, Nr = 1e3, Yi = ({
2843
2843
  title: e,
2844
2844
  subtitle: r,
2845
2845
  isLastElement: t,
@@ -2849,22 +2849,22 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2849
2849
  tag: l,
2850
2850
  collapseItems: d,
2851
2851
  collapseDefaultOpen: c,
2852
- Action: u,
2852
+ Action: f,
2853
2853
  Icon: h,
2854
- Footer: C,
2855
- Collapse: S
2854
+ Footer: x,
2855
+ Collapse: C
2856
2856
  }) => {
2857
- const [y, x] = re(!1), m = S || !!(d != null && d.length);
2857
+ const [b, M] = te(!1), v = C || !!(d != null && d.length);
2858
2858
  return S1(() => {
2859
- c && x(!0);
2859
+ c && M(!0);
2860
2860
  }, [c]), /* @__PURE__ */ w(z, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
2861
- /* @__PURE__ */ n(F, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(z, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ w(ue, { children: [
2861
+ /* @__PURE__ */ n(I, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(z, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ w(fe, { children: [
2862
2862
  h || /* @__PURE__ */ n(x1, { color: i ? "secondary" : "primary" }),
2863
- /* @__PURE__ */ n(F, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
2864
- Xr,
2863
+ /* @__PURE__ */ n(I, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
2864
+ Gr,
2865
2865
  {
2866
2866
  sx: {
2867
- borderColor: ({ palette: f }) => i ? f.secondary.main : f.divider,
2867
+ borderColor: ({ palette: u }) => i ? u.secondary.main : u.divider,
2868
2868
  borderStyle: i ? "solid" : "dashed",
2869
2869
  height: "100%"
2870
2870
  },
@@ -2891,34 +2891,34 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2891
2891
  },
2892
2892
  children: [
2893
2893
  /* @__PURE__ */ w(z, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
2894
- /* @__PURE__ */ w(F, { children: [
2894
+ /* @__PURE__ */ w(I, { children: [
2895
2895
  /* @__PURE__ */ w(
2896
2896
  z,
2897
2897
  {
2898
2898
  direction: "row",
2899
2899
  alignItems: "center",
2900
- sx: { cursor: m ? "pointer" : "default" },
2901
- onClick: () => x((f) => !f),
2900
+ sx: { cursor: v ? "pointer" : "default" },
2901
+ onClick: () => M((u) => !u),
2902
2902
  children: [
2903
2903
  /* @__PURE__ */ n(
2904
- U,
2904
+ G,
2905
2905
  {
2906
2906
  component: "span",
2907
2907
  onClick: a,
2908
2908
  variant: "h6",
2909
2909
  sx: {
2910
- cursor: m || a ? "pointer" : "default",
2910
+ cursor: v || a ? "pointer" : "default",
2911
2911
  marginRight: 1,
2912
2912
  textDecoration: a ? "underline" : "none"
2913
2913
  },
2914
2914
  children: e
2915
2915
  }
2916
2916
  ),
2917
- m && /* @__PURE__ */ n(
2917
+ v && /* @__PURE__ */ n(
2918
2918
  Wi,
2919
2919
  {
2920
2920
  sx: {
2921
- transform: y ? "rotate(180deg)" : "rotate(0deg)",
2921
+ transform: b ? "rotate(180deg)" : "rotate(0deg)",
2922
2922
  transition: "transform 0.3s"
2923
2923
  }
2924
2924
  }
@@ -2927,58 +2927,58 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2927
2927
  }
2928
2928
  ),
2929
2929
  l && /* @__PURE__ */ n(Qe, { color: (l == null ? void 0 : l.color) || "default", label: l == null ? void 0 : l.label, size: "xSmall", variant: "outlined" }),
2930
- r && /* @__PURE__ */ n(U, { variant: "body2", color: "textSecondary", children: r })
2930
+ r && /* @__PURE__ */ n(G, { variant: "body2", color: "textSecondary", children: r })
2931
2931
  ] }),
2932
- u && /* @__PURE__ */ n(
2933
- F,
2932
+ f && /* @__PURE__ */ n(
2933
+ I,
2934
2934
  {
2935
2935
  className: "action",
2936
2936
  sx: {
2937
2937
  opacity: s === "hover" ? 0 : 1,
2938
2938
  transition: "opacity 0.15s"
2939
2939
  },
2940
- children: u
2940
+ children: f
2941
2941
  }
2942
2942
  )
2943
2943
  ] }),
2944
- C,
2945
- S && /* @__PURE__ */ n(Sr, { in: y, children: S }),
2946
- !!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: y, children: /* @__PURE__ */ n(z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((f, E) => {
2947
- var R, p, T, k;
2948
- const b = `${f.title}-${E}`, M = Array.isArray(f == null ? void 0 : f.file) ? f == null ? void 0 : f.file[0] : f == null ? void 0 : f.file;
2944
+ x,
2945
+ C && /* @__PURE__ */ n(Sr, { in: b, children: C }),
2946
+ !!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: b, children: /* @__PURE__ */ n(z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u, E) => {
2947
+ var A, p, T, k;
2948
+ const y = `${u.title}-${E}`, S = Array.isArray(u == null ? void 0 : u.file) ? u == null ? void 0 : u.file[0] : u == null ? void 0 : u.file;
2949
2949
  return /* @__PURE__ */ w(z, { direction: "row", spacing: 1, minWidth: 0, children: [
2950
2950
  /* @__PURE__ */ n(ji, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
2951
2951
  /* @__PURE__ */ w(z, { minWidth: 0, children: [
2952
2952
  /* @__PURE__ */ w(z, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
2953
- (f == null ? void 0 : f.title) && /* @__PURE__ */ n(
2953
+ (u == null ? void 0 : u.title) && /* @__PURE__ */ n(
2954
2954
  Rr,
2955
2955
  {
2956
- title: f == null ? void 0 : f.title,
2956
+ title: u == null ? void 0 : u.title,
2957
2957
  enterDelay: Nr,
2958
2958
  sx: {
2959
- ...(f == null ? void 0 : f.onClick) && {
2959
+ ...(u == null ? void 0 : u.onClick) && {
2960
2960
  cursor: "pointer",
2961
2961
  textDecoration: "underline"
2962
2962
  }
2963
2963
  },
2964
2964
  children: /* @__PURE__ */ n(
2965
- U,
2965
+ G,
2966
2966
  {
2967
2967
  variant: "h6",
2968
2968
  whiteSpace: "nowrap",
2969
2969
  textOverflow: "ellipsis",
2970
2970
  overflow: "hidden",
2971
2971
  minWidth: 0,
2972
- onClick: f == null ? void 0 : f.onClick,
2973
- children: f == null ? void 0 : f.title
2972
+ onClick: u == null ? void 0 : u.onClick,
2973
+ children: u == null ? void 0 : u.title
2974
2974
  }
2975
2975
  )
2976
2976
  }
2977
2977
  ),
2978
- (f == null ? void 0 : f.tag) && /* @__PURE__ */ n(Qe, { color: ((R = f == null ? void 0 : f.tag) == null ? void 0 : R.color) || "default", label: (p = f == null ? void 0 : f.tag) == null ? void 0 : p.label, size: "xSmall", variant: "outlined" })
2978
+ (u == null ? void 0 : u.tag) && /* @__PURE__ */ n(Qe, { color: ((A = u == null ? void 0 : u.tag) == null ? void 0 : A.color) || "default", label: (p = u == null ? void 0 : u.tag) == null ? void 0 : p.label, size: "xSmall", variant: "outlined" })
2979
2979
  ] }),
2980
- (f == null ? void 0 : f.subtitle) && /* @__PURE__ */ n(Rr, { title: f == null ? void 0 : f.subtitle, enterDelay: Nr, children: /* @__PURE__ */ n(
2981
- U,
2980
+ (u == null ? void 0 : u.subtitle) && /* @__PURE__ */ n(Rr, { title: u == null ? void 0 : u.subtitle, enterDelay: Nr, children: /* @__PURE__ */ n(
2981
+ G,
2982
2982
  {
2983
2983
  variant: "body2",
2984
2984
  color: "textSecondary",
@@ -2986,14 +2986,14 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
2986
2986
  textOverflow: "ellipsis",
2987
2987
  overflow: "hidden",
2988
2988
  minWidth: 0,
2989
- children: f == null ? void 0 : f.subtitle
2989
+ children: u == null ? void 0 : u.subtitle
2990
2990
  }
2991
2991
  ) }),
2992
- (f == null ? void 0 : f.file) && /* @__PURE__ */ w(z, { direction: "row", marginTop: 1, spacing: 0.5, children: [
2993
- M && /* @__PURE__ */ n(
2992
+ (u == null ? void 0 : u.file) && /* @__PURE__ */ w(z, { direction: "row", marginTop: 1, spacing: 0.5, children: [
2993
+ S && /* @__PURE__ */ n(
2994
2994
  Ni,
2995
2995
  {
2996
- src: M,
2996
+ src: S,
2997
2997
  sx: {
2998
2998
  borderRadius: 0.5,
2999
2999
  cursor: "pointer",
@@ -3002,24 +3002,24 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3002
3002
  }
3003
3003
  }
3004
3004
  ),
3005
- Array.isArray(f == null ? void 0 : f.file) && ((T = f == null ? void 0 : f.file) == null ? void 0 : T.length) > 1 && /* @__PURE__ */ n(
3006
- F,
3005
+ Array.isArray(u == null ? void 0 : u.file) && ((T = u == null ? void 0 : u.file) == null ? void 0 : T.length) > 1 && /* @__PURE__ */ n(
3006
+ I,
3007
3007
  {
3008
3008
  sx: {
3009
3009
  alignItems: "center",
3010
- backgroundColor: ({ palette: J }) => J.grey[100],
3010
+ backgroundColor: ({ palette: q }) => q.grey[100],
3011
3011
  borderRadius: 0.5,
3012
3012
  display: "flex",
3013
3013
  height: u1,
3014
3014
  justifyContent: "center",
3015
3015
  width: u1
3016
3016
  },
3017
- children: `${(((k = f == null ? void 0 : f.file) == null ? void 0 : k.length) || 0) - 1}+`
3017
+ children: `${(((k = u == null ? void 0 : u.file) == null ? void 0 : k.length) || 0) - 1}+`
3018
3018
  }
3019
3019
  )
3020
3020
  ] })
3021
3021
  ] })
3022
- ] }, b);
3022
+ ] }, y);
3023
3023
  }) }) })
3024
3024
  ]
3025
3025
  }
@@ -3041,7 +3041,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3041
3041
  },
3042
3042
  children: /* @__PURE__ */ n(Gt, { children: e })
3043
3043
  }
3044
- ), Ta = ({
3044
+ ), Ia = ({
3045
3045
  items: e,
3046
3046
  isLoading: r,
3047
3047
  emptyMessage: t,
@@ -3050,64 +3050,64 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3050
3050
  "data-test": s,
3051
3051
  "data-testid": l
3052
3052
  }) => {
3053
- const [d, c] = re("");
3053
+ const [d, c] = te("");
3054
3054
  return r ? /* @__PURE__ */ n(z1, { sx: i, "data-test": s, "data-testid": l, children: /* @__PURE__ */ w(z, { spacing: 3, children: [
3055
3055
  /* @__PURE__ */ w(z, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3056
3056
  /* @__PURE__ */ n(x1, {}),
3057
3057
  /* @__PURE__ */ w(z, { children: [
3058
- /* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(oe, { width: 100 }) }),
3059
- /* @__PURE__ */ n(U, { variant: "body2", children: /* @__PURE__ */ n(oe, { width: 130 }) })
3058
+ /* @__PURE__ */ n(G, { children: /* @__PURE__ */ n(le, { width: 100 }) }),
3059
+ /* @__PURE__ */ n(G, { variant: "body2", children: /* @__PURE__ */ n(le, { width: 130 }) })
3060
3060
  ] })
3061
3061
  ] }),
3062
3062
  /* @__PURE__ */ w(z, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3063
3063
  /* @__PURE__ */ n(x1, {}),
3064
3064
  /* @__PURE__ */ w(z, { children: [
3065
- /* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(oe, { width: 150 }) }),
3066
- /* @__PURE__ */ n(U, { variant: "body2", children: /* @__PURE__ */ n(oe, { width: 100, height: 20 }) })
3065
+ /* @__PURE__ */ n(G, { children: /* @__PURE__ */ n(le, { width: 150 }) }),
3066
+ /* @__PURE__ */ n(G, { variant: "body2", children: /* @__PURE__ */ n(le, { width: 100, height: 20 }) })
3067
3067
  ] })
3068
3068
  ] }),
3069
3069
  /* @__PURE__ */ w(z, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3070
3070
  /* @__PURE__ */ n(x1, {}),
3071
3071
  /* @__PURE__ */ w(z, { children: [
3072
- /* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(oe, { width: 80 }) }),
3073
- /* @__PURE__ */ n(U, { variant: "body2", children: /* @__PURE__ */ n(oe, { width: 110, height: 20 }) })
3072
+ /* @__PURE__ */ n(G, { children: /* @__PURE__ */ n(le, { width: 80 }) }),
3073
+ /* @__PURE__ */ n(G, { variant: "body2", children: /* @__PURE__ */ n(le, { width: 110, height: 20 }) })
3074
3074
  ] })
3075
3075
  ] })
3076
- ] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(z1, { sx: i, children: /* @__PURE__ */ n(rr, { severity: "info", children: t }) }) : /* @__PURE__ */ w(ue, { children: [
3076
+ ] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(z1, { sx: i, children: /* @__PURE__ */ n(rr, { severity: "info", children: t }) }) : /* @__PURE__ */ w(fe, { children: [
3077
3077
  /* @__PURE__ */ n(z1, { sx: i, "data-test": s, "data-testid": l, children: e == null ? void 0 : e.map(
3078
- ({ Action: u, Collapse: h, collapseItems: C, collapseDefaultOpen: S, subtitle: y, key: x, active: m, Footer: f, Icon: E, onClick: b, tag: M, title: R }, p) => {
3079
- const T = `${x}-${p}-${R}`, k = p === e.length - 1;
3078
+ ({ Action: f, Collapse: h, collapseItems: x, collapseDefaultOpen: C, subtitle: b, key: M, active: v, Footer: u, Icon: E, onClick: y, tag: S, title: A }, p) => {
3079
+ const T = `${M}-${p}-${A}`, k = p === e.length - 1;
3080
3080
  return /* @__PURE__ */ n(
3081
3081
  Yi,
3082
3082
  {
3083
- Action: u,
3084
- Footer: f,
3083
+ Action: f,
3084
+ Footer: u,
3085
3085
  Collapse: h,
3086
- collapseDefaultOpen: S,
3087
- collapseItems: C,
3088
- active: m,
3089
- title: R,
3090
- subtitle: y,
3086
+ collapseDefaultOpen: C,
3087
+ collapseItems: x,
3088
+ active: v,
3089
+ title: A,
3090
+ subtitle: b,
3091
3091
  Icon: E,
3092
3092
  isLastElement: k,
3093
- onClick: b,
3094
- tag: M,
3093
+ onClick: y,
3094
+ tag: S,
3095
3095
  variant: a
3096
3096
  },
3097
3097
  T
3098
3098
  );
3099
3099
  }
3100
3100
  ) }),
3101
- /* @__PURE__ */ n(gt, { open: !!d, onClose: () => c(""), src: d })
3101
+ /* @__PURE__ */ n(ht, { open: !!d, onClose: () => c(""), src: d })
3102
3102
  ] });
3103
- }, _a = ({ Main: e, Sidebar: r, AppBar: t }) => {
3104
- const { breakpoints: i } = le(), a = ar(null), s = e1(i.down("md")), l = r && ir(r, { AppBar: t });
3103
+ }, Ha = ({ Main: e, Sidebar: r, AppBar: t }) => {
3104
+ const { breakpoints: i } = de(), a = ar(null), s = e1(i.down("md")), l = r && ir(r, { AppBar: t });
3105
3105
  return /* @__PURE__ */ w(z, { height: "100%", children: [
3106
3106
  !s && t,
3107
3107
  /* @__PURE__ */ w(z, { height: "100%", direction: s ? "column" : "row", minHeight: 0, children: [
3108
3108
  l,
3109
3109
  /* @__PURE__ */ n(
3110
- F,
3110
+ I,
3111
3111
  {
3112
3112
  flex: 1,
3113
3113
  sx: {
@@ -3115,7 +3115,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3115
3115
  overflow: "auto"
3116
3116
  },
3117
3117
  ref: a,
3118
- children: /* @__PURE__ */ n(F, { component: "main", height: "100%", children: e })
3118
+ children: /* @__PURE__ */ n(I, { component: "main", height: "100%", children: e })
3119
3119
  }
3120
3120
  )
3121
3121
  ] })
@@ -3249,7 +3249,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3249
3249
  main: "#FFA726"
3250
3250
  }
3251
3251
  }
3252
- }, I = {
3252
+ }, F = {
3253
3253
  palette: {
3254
3254
  action: {
3255
3255
  active: "rgba(255, 255, 255, 0.54)",
@@ -3382,22 +3382,22 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3382
3382
  }, Gi = ({ sx: e, ...r }) => {
3383
3383
  var t, i, a, s, l, d;
3384
3384
  return /* @__PURE__ */ n(
3385
- m1,
3385
+ v1,
3386
3386
  {
3387
3387
  variant: "rounded",
3388
3388
  sx: {
3389
3389
  "& svg": {
3390
- color: (i = (t = I == null ? void 0 : I.palette) == null ? void 0 : t.text) == null ? void 0 : i.disabled
3390
+ color: (i = (t = F == null ? void 0 : F.palette) == null ? void 0 : t.text) == null ? void 0 : i.disabled
3391
3391
  },
3392
- backgroundColor: (s = (a = I == null ? void 0 : I.palette) == null ? void 0 : a.grey) == null ? void 0 : s[100],
3393
- color: (d = (l = I == null ? void 0 : I.palette) == null ? void 0 : l.text) == null ? void 0 : d.primary,
3392
+ backgroundColor: (s = (a = F == null ? void 0 : F.palette) == null ? void 0 : a.grey) == null ? void 0 : s[100],
3393
+ color: (d = (l = F == null ? void 0 : F.palette) == null ? void 0 : l.text) == null ? void 0 : d.primary,
3394
3394
  ...e
3395
3395
  },
3396
3396
  ...r
3397
3397
  }
3398
3398
  );
3399
3399
  }, Xi = ({ sx: e, ...r }) => {
3400
- var t, i, a, s, l, d, c, u;
3400
+ var t, i, a, s, l, d, c, f;
3401
3401
  return /* @__PURE__ */ n(
3402
3402
  tr,
3403
3403
  {
@@ -3405,18 +3405,18 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3405
3405
  size: "small",
3406
3406
  sx: {
3407
3407
  "&:hover": {
3408
- backgroundColor: (i = (t = I == null ? void 0 : I.palette) == null ? void 0 : t.action) == null ? void 0 : i.hover,
3409
- borderColor: (a = I == null ? void 0 : I.palette) == null ? void 0 : a.primary.main
3408
+ backgroundColor: (i = (t = F == null ? void 0 : F.palette) == null ? void 0 : t.action) == null ? void 0 : i.hover,
3409
+ borderColor: (a = F == null ? void 0 : F.palette) == null ? void 0 : a.primary.main
3410
3410
  },
3411
- backgroundColor: (l = (s = I == null ? void 0 : I.palette) == null ? void 0 : s.grey) == null ? void 0 : l["100"],
3412
- borderColor: (d = I == null ? void 0 : I.palette) == null ? void 0 : d.divider,
3413
- color: (u = (c = I == null ? void 0 : I.palette) == null ? void 0 : c.text) == null ? void 0 : u.primary
3411
+ backgroundColor: (l = (s = F == null ? void 0 : F.palette) == null ? void 0 : s.grey) == null ? void 0 : l["100"],
3412
+ borderColor: (d = F == null ? void 0 : F.palette) == null ? void 0 : d.divider,
3413
+ color: (f = (c = F == null ? void 0 : F.palette) == null ? void 0 : c.text) == null ? void 0 : f.primary
3414
3414
  },
3415
3415
  ...r
3416
3416
  }
3417
3417
  );
3418
- }, qi = fe(({ sx: e, InputProps: r, type: t = "search", ...i }, a) => {
3419
- var s, l, d, c, u, h, C, S, y, x;
3418
+ }, qi = he(({ sx: e, InputProps: r, type: t = "search", ...i }, a) => {
3419
+ var s, l, d, c, f, h, x, C, b, M;
3420
3420
  return /* @__PURE__ */ n(
3421
3421
  er,
3422
3422
  {
@@ -3427,28 +3427,28 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3427
3427
  sx: {
3428
3428
  "& .MuiInputBase-root": {
3429
3429
  "&:hover .MuiOutlinedInput-notchedOutline": {
3430
- borderColor: (l = (s = I == null ? void 0 : I.palette) == null ? void 0 : s.primary) == null ? void 0 : l.light
3430
+ borderColor: (l = (s = F == null ? void 0 : F.palette) == null ? void 0 : s.primary) == null ? void 0 : l.light
3431
3431
  },
3432
- backgroundColor: (c = (d = I == null ? void 0 : I.palette) == null ? void 0 : d.grey) == null ? void 0 : c["50"],
3433
- color: (h = (u = I == null ? void 0 : I.palette) == null ? void 0 : u.text) == null ? void 0 : h.primary
3432
+ backgroundColor: (c = (d = F == null ? void 0 : F.palette) == null ? void 0 : d.grey) == null ? void 0 : c["50"],
3433
+ color: (h = (f = F == null ? void 0 : F.palette) == null ? void 0 : f.text) == null ? void 0 : h.primary
3434
3434
  },
3435
3435
  // Border
3436
3436
  "& .MuiOutlinedInput-notchedOutline": {
3437
- borderColor: ge((S = (C = I == null ? void 0 : I.palette) == null ? void 0 : C.border) == null ? void 0 : S.outline, 0.23)
3437
+ borderColor: Ce((C = (x = F == null ? void 0 : F.palette) == null ? void 0 : x.border) == null ? void 0 : C.outline, 0.23)
3438
3438
  },
3439
3439
  // Border focus
3440
3440
  "& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
3441
- borderColor: (x = (y = I == null ? void 0 : I.palette) == null ? void 0 : y.primary) == null ? void 0 : x.main
3441
+ borderColor: (M = (b = F == null ? void 0 : F.palette) == null ? void 0 : b.primary) == null ? void 0 : M.main
3442
3442
  },
3443
3443
  maxWidth: 400,
3444
3444
  ...e,
3445
3445
  "input[type='search']::-webkit-search-cancel-button": {
3446
- filter: ({ palette: m }) => (m == null ? void 0 : m.mode) === "light" ? "invert(1)" : "invert(0)"
3446
+ filter: ({ palette: v }) => (v == null ? void 0 : v.mode) === "light" ? "invert(1)" : "invert(0)"
3447
3447
  }
3448
3448
  },
3449
3449
  InputProps: {
3450
3450
  autoComplete: "off",
3451
- startAdornment: t === "search" && /* @__PURE__ */ n(b1, { position: "start", children: /* @__PURE__ */ n(ye, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ w("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3451
+ startAdornment: t === "search" && /* @__PURE__ */ n(b1, { position: "start", children: /* @__PURE__ */ n(ve, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ w("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3452
3452
  /* @__PURE__ */ w("g", { clipPath: "url(#clip0_14432_13952)", children: [
3453
3453
  /* @__PURE__ */ n(
3454
3454
  "path",
@@ -3469,13 +3469,18 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3469
3469
  }
3470
3470
  );
3471
3471
  }), Ji = () => {
3472
- const [e, r] = re(null), t = !!e, i = ne(() => {
3472
+ const [e, r] = te(null), t = !!e, i = ie(() => {
3473
3473
  r(null);
3474
- }, []), a = ne(({ currentTarget: s }) => {
3474
+ }, []), a = ie(({ currentTarget: s }) => {
3475
3475
  r(s);
3476
3476
  }, []);
3477
- return { anchorMenu: e, closeMenu: i, isMenuOpen: t, openMenu: a };
3478
- }, Ki = "appBarAvatarMenu", Ia = ({
3477
+ return {
3478
+ anchorMenu: e,
3479
+ closeMenu: i,
3480
+ isMenuOpen: t,
3481
+ openMenu: a
3482
+ };
3483
+ }, Ki = "appBarAvatarMenu", La = ({
3479
3484
  Avatar: e,
3480
3485
  Search: r,
3481
3486
  Action: t,
@@ -3485,13 +3490,13 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3485
3490
  searchProps: l,
3486
3491
  actionProps: d,
3487
3492
  logoProps: c,
3488
- children: u,
3493
+ children: f,
3489
3494
  onClickBurger: h,
3490
- sx: C,
3491
- position: S = "static",
3492
- elevation: y = 0
3495
+ sx: x,
3496
+ position: C = "static",
3497
+ elevation: b = 0
3493
3498
  }) => {
3494
- const { breakpoints: x } = le(), { closeMenu: m, isMenuOpen: f, anchorMenu: E, openMenu: b } = Ji(), { menuItems: M, ...R } = s || {}, p = e1(x.down("sm")), T = e1(x.between("sm", "md")), k = p || T, J = {
3499
+ const { breakpoints: M } = de(), { closeMenu: v, isMenuOpen: u, anchorMenu: E, openMenu: y } = Ji(), { menuItems: S, ...A } = s || {}, p = e1(M.down("sm")), T = e1(M.between("sm", "md")), k = p || T, q = {
3495
3500
  logoContainer: {
3496
3501
  a: {
3497
3502
  display: "flex"
@@ -3510,47 +3515,47 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3510
3515
  width: "100%"
3511
3516
  },
3512
3517
  "& > a.active": {
3513
- backgroundColor: ({ palette: N }) => ge(N.primary.main, N.action.selectedOpacity)
3518
+ backgroundColor: ({ palette: N }) => Ce(N.primary.main, N.action.selectedOpacity)
3514
3519
  },
3515
3520
  "& > a.active:hover": {
3516
- backgroundColor: ({ palette: N }) => ge(N.primary.main, N.action.selectedOpacity + N.action.hoverOpacity)
3521
+ backgroundColor: ({ palette: N }) => Ce(N.primary.main, N.action.selectedOpacity + N.action.hoverOpacity)
3517
3522
  },
3518
3523
  overflow: "hidden",
3519
3524
  padding: "0 !important"
3520
3525
  },
3521
3526
  paddingX: p ? 1 : 3,
3522
- ...C
3527
+ ...x
3523
3528
  };
3524
- return u ? /* @__PURE__ */ n(N1, { position: S, elevation: y, sx: J, children: u }) : /* @__PURE__ */ w(ue, { children: [
3525
- /* @__PURE__ */ n(N1, { position: S, elevation: y, sx: J, children: /* @__PURE__ */ w(z, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3526
- k && /* @__PURE__ */ n(Ee, { onClick: h, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ft, {}) }),
3527
- k || i === null ? null : /* @__PURE__ */ n(F, { sx: J.logoContainer, children: i || /* @__PURE__ */ n(Ei, { mode: "dark", ...c }) }),
3528
- /* @__PURE__ */ n(F, { sx: { alignItems: "center", display: "flex", flex: 1, justifyContent: "center" }, children: r === null ? null : r || /* @__PURE__ */ n(qi, { ...l }) }),
3529
+ return f ? /* @__PURE__ */ n(N1, { position: C, elevation: b, sx: q, children: f }) : /* @__PURE__ */ w(fe, { children: [
3530
+ /* @__PURE__ */ n(N1, { position: C, elevation: b, sx: q, children: /* @__PURE__ */ w(z, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3531
+ k && /* @__PURE__ */ n(Ee, { onClick: h, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ut, {}) }),
3532
+ k || i === null ? null : /* @__PURE__ */ n(I, { sx: q.logoContainer, children: i || /* @__PURE__ */ n(Ei, { mode: "dark", ...c }) }),
3533
+ /* @__PURE__ */ n(I, { sx: { alignItems: "center", display: "flex", flex: 1, justifyContent: "center" }, children: r === null ? null : r || /* @__PURE__ */ n(qi, { ...l }) }),
3529
3534
  /* @__PURE__ */ w(z, { direction: "row", alignItems: "center", spacing: 1, children: [
3530
3535
  t === null ? null : t || /* @__PURE__ */ n(Xi, { ...d }),
3531
3536
  e === null ? null : e || /* @__PURE__ */ n(
3532
3537
  Gi,
3533
3538
  {
3534
- ...R,
3539
+ ...A,
3535
3540
  sx: {
3536
- cursor: M ? "pointer" : "default"
3541
+ cursor: S ? "pointer" : "default"
3537
3542
  },
3538
3543
  onClick: (N) => {
3539
- var he;
3540
- b(N), (he = s == null ? void 0 : s.onClick) == null || he.call(s, N);
3544
+ var Y;
3545
+ y(N), (Y = s == null ? void 0 : s.onClick) == null || Y.call(s, N);
3541
3546
  }
3542
3547
  }
3543
3548
  )
3544
3549
  ] })
3545
3550
  ] }) }),
3546
- M && /* @__PURE__ */ n(Kt, { sx: { zIndex: (N) => N.zIndex.drawer + 1 }, open: f, onClick: m, children: /* @__PURE__ */ n(
3551
+ S && /* @__PURE__ */ n(Kt, { sx: { zIndex: (N) => N.zIndex.drawer + 1 }, open: u, onClick: v, children: /* @__PURE__ */ n(
3547
3552
  Xt,
3548
3553
  {
3549
3554
  id: Ki,
3550
3555
  anchorEl: E,
3551
- open: f,
3552
- onClose: m,
3553
- onChange: m,
3556
+ open: u,
3557
+ onClose: v,
3558
+ onChange: v,
3554
3559
  anchorOrigin: {
3555
3560
  horizontal: "right",
3556
3561
  vertical: "bottom"
@@ -3562,27 +3567,27 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3562
3567
  }
3563
3568
  }
3564
3569
  },
3565
- children: M == null ? void 0 : M.map((N, he) => {
3570
+ children: S == null ? void 0 : S.map((N, Y) => {
3566
3571
  if (R1(N)) {
3567
3572
  if (N.key)
3568
3573
  return N;
3569
- const ce = `${M}-${he}`;
3570
- return ir(N, { key: ce });
3574
+ const ae = `${S}-${Y}`;
3575
+ return ir(N, { key: ae });
3571
3576
  }
3572
3577
  if (N && typeof N == "object" && "url" in N) {
3573
- const { url: ce, label: me, icon: H, active: O, end: W, state: K } = N, de = `${ce}-${me}-${he}`;
3574
- return /* @__PURE__ */ n(qt, { sx: J.menuItem, onClick: m, children: /* @__PURE__ */ w(dr, { url: ce, component: a, active: O, end: W, state: K, children: [
3578
+ const { url: ae, label: ge, icon: H, active: O, end: W, state: Q } = N, pe = `${ae}-${ge}-${Y}`;
3579
+ return /* @__PURE__ */ n(qt, { sx: q.menuItem, onClick: v, children: /* @__PURE__ */ w(dr, { url: ae, component: a, active: O, end: W, state: Q, children: [
3575
3580
  H && /* @__PURE__ */ n(Jt, { children: H }),
3576
- me && /* @__PURE__ */ n(He, { children: me })
3577
- ] }, de) }, de);
3581
+ ge && /* @__PURE__ */ n(He, { children: ge })
3582
+ ] }, pe) }, pe);
3578
3583
  }
3579
3584
  return null;
3580
3585
  })
3581
3586
  }
3582
3587
  ) })
3583
3588
  ] });
3584
- }, Qi = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(ye, { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: r, sx: e, children: /* @__PURE__ */ n("rect", { x: "1", y: "1", width: "6", height: "6", rx: "3", fill: t }) }), ea = ({ dot: e, color: r, variant: t, ...i }, a) => {
3585
- const { palette: s } = le(), l = {
3589
+ }, Qi = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: r, sx: e, children: /* @__PURE__ */ n("rect", { x: "1", y: "1", width: "6", height: "6", rx: "3", fill: t }) }), ea = ({ dot: e, color: r, variant: t, ...i }, a) => {
3590
+ const { palette: s } = de(), l = {
3586
3591
  default: s.text.secondary,
3587
3592
  error: s.error.main,
3588
3593
  info: s.info.main,
@@ -3612,7 +3617,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3612
3617
  ...i
3613
3618
  }
3614
3619
  );
3615
- }, Fa = fe(ea), ra = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ w(ye, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
3620
+ }, Oa = he(ea), ra = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ w(ve, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
3616
3621
  /* @__PURE__ */ n("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ n(
3617
3622
  "path",
3618
3623
  {
@@ -3621,251 +3626,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3621
3626
  }
3622
3627
  ) }),
3623
3628
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_12914_201806", children: /* @__PURE__ */ n("rect", { width: "40", height: "40", fill: "white" }) }) })
3624
- ] }), jr = 5, ta = (e, r) => {
3625
- const t = r === "vertical";
3626
- return e === "small" ? t ? 130 : 60 : t ? 150 : 80;
3627
- }, na = (e) => {
3628
- if (!e)
3629
- return "";
3630
- const r = e.length > 1, i = [...e || []].slice(0, 5).map(({ name: a }) => {
3631
- const s = a.split(".").pop();
3632
- return a.length > 10 && r ? `${a.substring(0, 10)}(...).${s}` : a;
3633
- }).join(" • ");
3634
- return e.length > jr ? `${i} + ${e.length - jr}` : i;
3635
- }, Ha = ({
3636
- accept: e,
3637
- name: r,
3638
- disabled: t,
3639
- required: i,
3640
- error: a,
3641
- localeText: s,
3642
- multiple: l,
3643
- id: d,
3644
- size: c,
3645
- helperText: u,
3646
- fullWidth: h,
3647
- icon: C,
3648
- onChange: S,
3649
- label: y = "Click to upload",
3650
- variant: x = "vertical"
3651
- }) => {
3652
- const { palette: m } = le(), f = x === "vertical", E = d || r, b = ar(null), [M, R] = re(null), p = na(M), T = (k) => {
3653
- S == null || S(k), R(k.target.files);
3654
- };
3655
- return /* @__PURE__ */ w(
3656
- Qt,
3657
- {
3658
- ref: b,
3659
- htmlFor: E,
3660
- sx: {
3661
- "&:hover": {
3662
- borderColor: m.primary.main
3663
- },
3664
- border: `1px dashed ${a ? m.error.main : m.divider}`,
3665
- borderRadius: 1,
3666
- cursor: "pointer",
3667
- height: ta(c, x),
3668
- maxWidth: h ? "100%" : 400,
3669
- padding: 2,
3670
- position: "relative",
3671
- width: "100%"
3672
- },
3673
- children: [
3674
- /* @__PURE__ */ w(
3675
- z,
3676
- {
3677
- alignItems: "center",
3678
- height: "100%",
3679
- direction: f ? "column" : "row",
3680
- justifyContent: f ? "center" : "flex-start",
3681
- textAlign: f ? "center" : "left",
3682
- spacing: 0.5,
3683
- color: t ? "text.disabled" : "text.secondary",
3684
- children: [
3685
- C || /* @__PURE__ */ n(ra, { sx: { height: 40, width: 40 } }),
3686
- p ? /* @__PURE__ */ w(ue, { children: [
3687
- /* @__PURE__ */ w(U, { variant: "body2", color: "textSecondary", children: [
3688
- M == null ? void 0 : M.length,
3689
- " ",
3690
- (s == null ? void 0 : s.files) || "Fichiers"
3691
- ] }),
3692
- /* @__PURE__ */ n(
3693
- U,
3694
- {
3695
- variant: "body2",
3696
- color: "primary",
3697
- whiteSpace: f ? "normal" : "nowrap",
3698
- textOverflow: "ellipsis",
3699
- overflow: "hidden",
3700
- children: p
3701
- }
3702
- )
3703
- ] }) : /* @__PURE__ */ w(U, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
3704
- y,
3705
- " ",
3706
- i && "*"
3707
- ] }),
3708
- u && /* @__PURE__ */ n(U, { color: a ? "error" : "textSecondary", variant: "body2", children: u })
3709
- ]
3710
- }
3711
- ),
3712
- /* @__PURE__ */ n(
3713
- "input",
3714
- {
3715
- type: "file",
3716
- disabled: t,
3717
- required: i,
3718
- name: r,
3719
- multiple: l,
3720
- accept: e,
3721
- id: E,
3722
- onChange: T,
3723
- style: {
3724
- // Hide the input element
3725
- // The input element is hidden
3726
- // But still clickable and focusable for accessibility and HTML validation
3727
- left: "50%",
3728
- opacity: 0,
3729
- pointerEvents: "none",
3730
- position: "absolute",
3731
- top: "50%",
3732
- transform: "translate(-50%, -50%)",
3733
- zIndex: -1
3734
- }
3735
- }
3736
- )
3737
- ]
3738
- }
3739
- );
3740
- }, f1 = 1, ia = (e) => typeof e == "string", Je = {
3741
- list: {
3742
- marginLeft: ({ spacing: e }) => `-${e(0.5)} !important`,
3743
- marginRight: ({ spacing: e }) => `-${e(0.5)} !important`,
3744
- minWidth: 250
3745
- },
3746
- listItem: {
3747
- borderRadius: 1,
3748
- padding: 0.5
3749
- }
3750
- }, La = ({
3751
- Empty: e,
3752
- action: r,
3753
- items: t,
3754
- fullWidth: i,
3755
- sx: a,
3756
- alwaysDisplaySecondaryAction: s,
3757
- isLoading: l,
3758
- numberLoadingItems: d = 3
3759
- }) => {
3760
- var c;
3761
- return !(t != null && t.length) && !l && !r ? e || null : l ? /* @__PURE__ */ n(
3762
- y1,
3763
- {
3764
- sx: {
3765
- ...Je.list,
3766
- ...i && { width: "100%" }
3767
- },
3768
- children: [...Array(d).keys()].map((u) => /* @__PURE__ */ w(Me, { sx: Je.listItem, children: [
3769
- /* @__PURE__ */ n(oe, { width: 40, height: 40, sx: { marginRight: f1 }, variant: "rounded" }),
3770
- /* @__PURE__ */ n(
3771
- He,
3772
- {
3773
- primary: /* @__PURE__ */ n(U, { variant: "h6", children: /* @__PURE__ */ n(oe, { width: 90 }) }),
3774
- secondary: /* @__PURE__ */ n(oe, { width: 70 }),
3775
- sx: { marginY: 0 }
3776
- }
3777
- )
3778
- ] }, u))
3779
- }
3780
- ) : /* @__PURE__ */ w(
3781
- y1,
3782
- {
3783
- sx: {
3784
- ...Je.list,
3785
- ...i && { width: "100%" },
3786
- ...a
3787
- },
3788
- children: [
3789
- t == null ? void 0 : t.map(
3790
- ({ id: u, title: h, subtitle: C, image: S, secondaryAction: y, chipLabel: x, chipColor: m, onClick: f, icon: E, Avatar: b }, M) => {
3791
- var p;
3792
- const R = u || `id-${M}-${h}`;
3793
- return /* @__PURE__ */ w(
3794
- Me,
3795
- {
3796
- secondaryAction: y,
3797
- onClick: f,
3798
- sx: {
3799
- ...Je.listItem,
3800
- "& .MuiListItemSecondaryAction-root": {
3801
- alignItems: "center",
3802
- display: "flex",
3803
- justifyContent: "center",
3804
- opacity: s ? 1 : 0,
3805
- position: "static",
3806
- right: ({ spacing: T }) => T(0.5),
3807
- transform: "none"
3808
- },
3809
- "&:hover": {
3810
- "& .MuiListItemSecondaryAction-root": {
3811
- opacity: 1
3812
- },
3813
- backgroundColor: ({ palette: T }) => f || y ? T.action.hover : "transparent"
3814
- },
3815
- cursor: f ? "pointer" : "default"
3816
- },
3817
- children: [
3818
- b ? /* @__PURE__ */ n(F, { marginRight: f1, children: b }) : /* @__PURE__ */ n(m1, { src: S || "", variant: "rounded", sx: { marginRight: f1 }, children: E || typeof h == "string" && ((p = h || "") == null ? void 0 : p.charAt(0).toUpperCase()) }),
3819
- /* @__PURE__ */ n(
3820
- He,
3821
- {
3822
- primary: /* @__PURE__ */ w(z, { direction: "row", alignItems: "center", spacing: 1, children: [
3823
- h && /* @__PURE__ */ n(U, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: h }),
3824
- x && /* @__PURE__ */ n(Qe, { label: x, variant: "rounded", size: "xSmall", color: ia(m) ? m : "default" })
3825
- ] }),
3826
- secondary: C,
3827
- primaryTypographyProps: {
3828
- component: "div"
3829
- },
3830
- secondaryTypographyProps: {
3831
- component: "div"
3832
- },
3833
- sx: { marginY: 0 }
3834
- }
3835
- )
3836
- ]
3837
- },
3838
- R
3839
- );
3840
- }
3841
- ),
3842
- r && /* @__PURE__ */ w(
3843
- j1,
3844
- {
3845
- onClick: r == null ? void 0 : r.onClick,
3846
- sx: {
3847
- ...Je.listItem,
3848
- "&:hover": {
3849
- backgroundColor: ({ palette: u }) => u.action.hover
3850
- }
3851
- },
3852
- children: [
3853
- /* @__PURE__ */ n(m1, { src: (r == null ? void 0 : r.image) || "", variant: "rounded", sx: { marginRight: f1 }, children: (r == null ? void 0 : r.icon) || ((c = r == null ? void 0 : r.title) == null ? void 0 : c.charAt(0).toUpperCase()) }),
3854
- /* @__PURE__ */ n(
3855
- He,
3856
- {
3857
- primary: (r == null ? void 0 : r.title) && /* @__PURE__ */ n(U, { variant: "h6", children: r == null ? void 0 : r.title }),
3858
- secondary: r == null ? void 0 : r.subtitle,
3859
- sx: { marginY: 0 }
3860
- }
3861
- )
3862
- ]
3863
- }
3864
- )
3865
- ]
3866
- }
3867
- );
3868
- }, aa = {
3629
+ ] }), ta = {
3869
3630
  components: {
3870
3631
  MuiBreadcrumbs: {
3871
3632
  defaultProps: {
@@ -3910,10 +3671,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3910
3671
  }
3911
3672
  }
3912
3673
  }
3913
- }, oa = [400, 500, 600, 700], sa = "Poppins, sans-serif", Y = (e, r = 16, t = 14) => {
3674
+ }, na = [400, 500, 600, 700], ia = "Poppins, sans-serif", U = (e, r = 16, t = 14) => {
3914
3675
  const i = t / 14;
3915
3676
  return `${e / r * i}rem`;
3916
- }, Wr = {
3677
+ }, jr = {
3917
3678
  root: ({ theme: e, ownerState: r }) => {
3918
3679
  const t = ln.toArray(r.children), i = t[t.length - 1];
3919
3680
  if (R1(i)) {
@@ -3963,7 +3724,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
3963
3724
  MuiAlertTitle: {
3964
3725
  styleOverrides: {
3965
3726
  root: {
3966
- fontSize: Y(16),
3727
+ fontSize: U(16),
3967
3728
  letterSpacing: -0.35
3968
3729
  }
3969
3730
  }
@@ -4021,7 +3782,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4021
3782
  },
4022
3783
  backgroundColor: e.palette.grey[100],
4023
3784
  color: e.palette.text.primary,
4024
- fontSize: Y(14),
3785
+ fontSize: U(14),
4025
3786
  letterSpacing: -0.45
4026
3787
  })
4027
3788
  }
@@ -4034,7 +3795,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4034
3795
  backgroundColor: e.palette.mode === "light" && r.color === "default" ? e.palette.grey[100] : r.color,
4035
3796
  borderRadius: e.shape.borderRadiusS,
4036
3797
  color: t(e.palette.mode, r.color),
4037
- fontSize: Y(12),
3798
+ fontSize: U(12),
4038
3799
  letterSpacing: 0.14
4039
3800
  };
4040
3801
  }
@@ -4047,7 +3808,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4047
3808
  color: e.palette.common.white
4048
3809
  },
4049
3810
  color: e.palette.text.secondary,
4050
- fontSize: Y(14),
3811
+ fontSize: U(14),
4051
3812
  letterSpacing: -0.3
4052
3813
  }),
4053
3814
  root: ({ theme: e }) => ({
@@ -4088,7 +3849,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4088
3849
  {
4089
3850
  props: { size: "small" },
4090
3851
  style: {
4091
- fontSize: Y(13),
3852
+ fontSize: U(13),
4092
3853
  letterSpacing: -0.3,
4093
3854
  minHeight: 40
4094
3855
  }
@@ -4102,7 +3863,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4102
3863
  {
4103
3864
  props: { size: "large" },
4104
3865
  style: {
4105
- fontSize: Y(15),
3866
+ fontSize: U(15),
4106
3867
  letterSpacing: -0.35,
4107
3868
  minHeight: 56
4108
3869
  }
@@ -4124,7 +3885,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4124
3885
  "&:hover": {
4125
3886
  backgroundColor: "transparent",
4126
3887
  textDecoration: "underline",
4127
- textDecorationColor: ge(t || e.palette.primary.main, 0.4)
3888
+ textDecorationColor: Ce(t || e.palette.primary.main, 0.4)
4128
3889
  },
4129
3890
  color: t,
4130
3891
  fontSize: "inherit",
@@ -4165,7 +3926,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4165
3926
  variant: "outlined"
4166
3927
  },
4167
3928
  style: ({ theme: e }) => {
4168
- const { common: r } = e.palette, t = ge(r.white, +W1(1));
3929
+ const { common: r } = e.palette, t = Ce(r.white, +j1(1));
4169
3930
  return {
4170
3931
  backgroundImage: `linear-gradient(${t}, ${t})`
4171
3932
  };
@@ -4174,7 +3935,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4174
3935
  ]
4175
3936
  },
4176
3937
  MuiCardActions: {
4177
- styleOverrides: Wr
3938
+ styleOverrides: jr
4178
3939
  },
4179
3940
  MuiCardContent: {
4180
3941
  styleOverrides: {
@@ -4286,7 +4047,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4286
4047
  }
4287
4048
  },
4288
4049
  MuiDialogActions: {
4289
- styleOverrides: Wr
4050
+ styleOverrides: jr
4290
4051
  },
4291
4052
  MuiDialogTitle: {
4292
4053
  defaultProps: {
@@ -4336,7 +4097,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4336
4097
  transform: "translateY(-50%)",
4337
4098
  width: 20
4338
4099
  },
4339
- backgroundColor: ge(e.palette.secondary.main, 0.08),
4100
+ backgroundColor: Ce(e.palette.secondary.main, 0.08),
4340
4101
  borderColor: e.palette.secondary.main
4341
4102
  },
4342
4103
  backgroundColor: "transparent",
@@ -4358,7 +4119,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4358
4119
  MuiFormHelperText: {
4359
4120
  styleOverrides: {
4360
4121
  root: {
4361
- fontSize: Y(14),
4122
+ fontSize: U(14),
4362
4123
  letterSpacing: 0.4
4363
4124
  }
4364
4125
  }
@@ -4598,7 +4359,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4598
4359
  return {
4599
4360
  "& .MuiInputBase-input::-webkit-search-cancel-button": {
4600
4361
  "&:hover": {
4601
- backgroundColor: ge(e.palette.action.active, e.palette.action.hoverOpacity)
4362
+ backgroundColor: Ce(e.palette.action.active, e.palette.action.hoverOpacity)
4602
4363
  },
4603
4364
  backgroundImage: `url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z' fill='${r}'%3E%3C/path%3E%3C/svg%3E")`,
4604
4365
  backgroundPosition: "center",
@@ -4620,7 +4381,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4620
4381
  styleOverrides: {
4621
4382
  root: ({ theme: e, ownerState: r }) => ({
4622
4383
  "&.Mui-selected": {
4623
- ...r.color && r.color !== "standard" && { backgroundColor: ge(e.palette[r.color].main, 0.12) }
4384
+ ...r.color && r.color !== "standard" && { backgroundColor: Ce(e.palette[r.color].main, 0.12) }
4624
4385
  },
4625
4386
  borderRadius: e.shape.borderRadius,
4626
4387
  padding: "8px 11px"
@@ -4650,7 +4411,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4650
4411
  MuiTooltip: {
4651
4412
  styleOverrides: {
4652
4413
  tooltip: {
4653
- fontSize: Y(14),
4414
+ fontSize: U(14),
4654
4415
  letterSpacing: 0
4655
4416
  }
4656
4417
  }
@@ -4690,80 +4451,82 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4690
4451
  },
4691
4452
  typography: () => ({
4692
4453
  body1: {
4693
- fontSize: Y(16),
4454
+ fontSize: U(16),
4694
4455
  letterSpacing: -0.35
4695
4456
  },
4696
4457
  body2: {
4697
- fontSize: Y(14),
4458
+ fontSize: U(14),
4698
4459
  letterSpacing: -0.3
4699
4460
  },
4700
4461
  body3: {
4701
- fontSize: Y(12),
4462
+ fontSize: U(12),
4702
4463
  letterSpacing: -0.3
4703
4464
  },
4704
4465
  button: {
4705
- fontSize: Y(14),
4466
+ fontSize: U(14),
4706
4467
  letterSpacing: -0.3
4707
4468
  },
4708
4469
  caption: {
4709
- fontSize: Y(12),
4470
+ fontSize: U(12),
4710
4471
  letterSpacing: -0.3
4711
4472
  },
4712
- fontFamily: sa,
4473
+ fontFamily: ia,
4713
4474
  h1: {
4714
- fontSize: Y(28),
4475
+ fontSize: U(28),
4715
4476
  fontWeight: 700,
4716
4477
  letterSpacing: -0.6
4717
4478
  },
4718
4479
  h2: {
4719
- fontSize: Y(24),
4480
+ fontSize: U(24),
4720
4481
  fontWeight: 600,
4721
4482
  letterSpacing: -0.5
4722
4483
  },
4723
4484
  h3: {
4724
- fontSize: Y(20),
4485
+ fontSize: U(20),
4725
4486
  fontWeight: 600,
4726
4487
  letterSpacing: -0.45
4727
4488
  },
4728
4489
  h4: {
4729
- fontSize: Y(18),
4490
+ fontSize: U(18),
4730
4491
  fontWeight: 500,
4731
4492
  letterSpacing: -0.4
4732
4493
  },
4733
4494
  h5: {
4734
- fontSize: Y(16),
4495
+ fontSize: U(16),
4735
4496
  fontWeight: 500,
4736
4497
  letterSpacing: -0.35
4737
4498
  },
4738
4499
  h6: {
4739
- fontSize: Y(14),
4500
+ fontSize: U(14),
4740
4501
  fontWeight: 500,
4741
4502
  letterSpacing: -0.3
4742
4503
  },
4743
4504
  overline: {
4744
- fontSize: Y(12),
4505
+ fontSize: U(12),
4745
4506
  letterSpacing: 0.25
4746
4507
  },
4747
4508
  subtitle1: {
4748
- fontSize: Y(16),
4509
+ fontSize: U(16),
4749
4510
  letterSpacing: -0.35
4750
4511
  },
4751
4512
  subtitle2: {
4752
- fontSize: Y(14),
4513
+ fontSize: U(14),
4753
4514
  letterSpacing: -0.3
4754
4515
  }
4755
4516
  })
4756
- }, K1 = nr(Le(pr)), Ct = nr(Le(pr, Ui)), xt = nr(Le(pr, I)), Oa = {
4517
+ }, K1 = nr(Le(pr)), gt = nr(Le(pr, Ui)), Ct = nr(Le(pr, F)), Pa = {
4757
4518
  commonTheme: K1,
4758
- darkTheme: xt,
4759
- lightTheme: Ct
4760
- }, Yr = {
4761
- fontWeight: oa,
4519
+ darkTheme: Ct,
4520
+ lightTheme: gt
4521
+ }, Wr = {
4522
+ fontWeight: na,
4762
4523
  import: !0
4763
- }, bt = M1({}), la = ({ theme: e }) => /* @__PURE__ */ n(
4524
+ }, xt = M1({
4525
+ language: "en"
4526
+ }), aa = ({ theme: e }) => /* @__PURE__ */ n(
4764
4527
  Ke,
4765
4528
  {
4766
- styles: v1`
4529
+ styles: m1`
4767
4530
  * {
4768
4531
  scrollbar-color: ${e === "dark" ? "rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05)" : "rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05)"};
4769
4532
  scrollbar-width: thin;
@@ -4794,10 +4557,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4794
4557
  }
4795
4558
  `
4796
4559
  }
4797
- ), ca = () => /* @__PURE__ */ n(
4560
+ ), oa = () => /* @__PURE__ */ n(
4798
4561
  Ke,
4799
4562
  {
4800
- styles: v1`
4563
+ styles: m1`
4801
4564
  html,
4802
4565
  body,
4803
4566
  #root {
@@ -4805,31 +4568,31 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4805
4568
  }
4806
4569
  `
4807
4570
  }
4808
- ), Pa = ({
4571
+ ), Va = ({
4809
4572
  children: e,
4810
4573
  enableColorScheme: r,
4811
4574
  includeCssBaseline: t = !0,
4812
4575
  includeScrollBarStyle: i = !0,
4813
4576
  fullHeight: a = !0,
4814
- language: s,
4815
- theme: l,
4816
- font: d = Yr
4577
+ theme: s,
4578
+ language: l = "en",
4579
+ font: d = Wr
4817
4580
  }) => {
4818
- var y, x;
4819
- const c = { ...Yr, ...d }, u = (c == null ? void 0 : c.googleFontName) || ((y = K1.typography.fontFamily) == null ? void 0 : y.split(",")[0]), h = (x = c == null ? void 0 : c.fontWeight) == null ? void 0 : x.join(";"), C = A1(() => ({ language: s }), [s]), S = () => {
4820
- var E, b;
4821
- const m = typeof l == "object" ? l : {}, f = {
4822
- ...s === "fr" && aa
4581
+ var b, M;
4582
+ const c = { ...Wr, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((b = K1.typography.fontFamily) == null ? void 0 : b.split(",")[0]), h = (M = c == null ? void 0 : c.fontWeight) == null ? void 0 : M.join(";"), x = T1(() => ({ language: l }), [l]), C = () => {
4583
+ var E, y;
4584
+ const v = typeof s == "object" ? s : {}, u = {
4585
+ ...l === "fr" && ta
4823
4586
  };
4824
- return l === "dark" || typeof l == "object" && "palette" in l && ((E = l == null ? void 0 : l.palette) == null ? void 0 : E.mode) === "dark" ? Le(xt, m, f) : l === "light" || typeof l == "object" && "palette" in l && ((b = l == null ? void 0 : l.palette) == null ? void 0 : b.mode) === "light" ? Le(Ct, m, f) : Le(K1, m, f);
4587
+ return s === "dark" || typeof s == "object" && "palette" in s && ((E = s == null ? void 0 : s.palette) == null ? void 0 : E.mode) === "dark" ? Le(Ct, v, u) : s === "light" || typeof s == "object" && "palette" in s && ((y = s == null ? void 0 : s.palette) == null ? void 0 : y.mode) === "light" ? Le(gt, v, u) : Le(K1, v, u);
4825
4588
  };
4826
- return /* @__PURE__ */ n(bt.Provider, { value: C, children: /* @__PURE__ */ w(rn, { theme: S(), children: [
4589
+ return /* @__PURE__ */ n(xt.Provider, { value: x, children: /* @__PURE__ */ w(en, { theme: C(), children: [
4827
4590
  /* @__PURE__ */ n(
4828
4591
  Ke,
4829
4592
  {
4830
- styles: v1`
4593
+ styles: m1`
4831
4594
  ::-webkit-calendar-picker-indicator {
4832
- filter: invert(${l === "dark" ? 1 : 0});
4595
+ filter: invert(${s === "dark" ? 1 : 0});
4833
4596
  }
4834
4597
  `
4835
4598
  }
@@ -4837,26 +4600,285 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4837
4600
  c.import && /* @__PURE__ */ n(
4838
4601
  Ke,
4839
4602
  {
4840
- styles: v1`
4841
- @import url("https://fonts.googleapis.com/css2?family=${u}:wght@${h}&display=swap");
4603
+ styles: m1`
4604
+ @import url("https://fonts.googleapis.com/css2?family=${f}:wght@${h}&display=swap");
4842
4605
  `
4843
4606
  }
4844
4607
  ),
4845
- t && /* @__PURE__ */ n(en, { enableColorScheme: r }),
4846
- a && /* @__PURE__ */ n(ca, {}),
4847
- i && /* @__PURE__ */ n(la, { theme: l }),
4608
+ t && /* @__PURE__ */ n(Qt, { enableColorScheme: r }),
4609
+ a && /* @__PURE__ */ n(oa, {}),
4610
+ i && /* @__PURE__ */ n(aa, { theme: s }),
4848
4611
  e
4849
4612
  ] }) });
4850
- }, Ur = {
4851
- en: {
4852
- reset: "Reset",
4853
- selectAll: "Select all"
4613
+ }, sa = {
4614
+ clickToUpload: "Click to upload",
4615
+ files: "Files",
4616
+ reset: "Reset",
4617
+ selectAll: "Select all"
4618
+ }, la = {
4619
+ clickToUpload: "Cliquez pour télécharger",
4620
+ files: "Fichiers",
4621
+ reset: "Réinitialiser",
4622
+ selectAll: "Tout sélectionner"
4623
+ }, ca = {
4624
+ en: sa,
4625
+ fr: la
4626
+ }, bt = () => {
4627
+ const { language: e } = we(xt);
4628
+ return {
4629
+ t: (t) => ca[e][t]
4630
+ };
4631
+ }, Yr = 5, da = (e, r) => {
4632
+ const t = r === "vertical";
4633
+ return e === "small" ? t ? 130 : 60 : t ? 150 : 80;
4634
+ }, pa = (e) => {
4635
+ if (!e)
4636
+ return "";
4637
+ const r = e.length > 1, i = [...e || []].slice(0, 5).map(({ name: a }) => {
4638
+ const s = a.split(".").pop();
4639
+ return a.length > 10 && r ? `${a.substring(0, 10)}(...).${s}` : a;
4640
+ }).join(" • ");
4641
+ return e.length > Yr ? `${i} + ${e.length - Yr}` : i;
4642
+ }, $a = ({
4643
+ accept: e,
4644
+ name: r,
4645
+ disabled: t,
4646
+ required: i,
4647
+ error: a,
4648
+ localeText: s,
4649
+ multiple: l,
4650
+ id: d,
4651
+ size: c,
4652
+ helperText: f,
4653
+ fullWidth: h,
4654
+ icon: x,
4655
+ onChange: C,
4656
+ label: b,
4657
+ variant: M = "vertical"
4658
+ }) => {
4659
+ const { t: v } = bt(), { palette: u } = de(), E = M === "vertical", y = d || r, S = ar(null), [A, p] = te(null), T = pa(A), k = (Y) => {
4660
+ C == null || C(Y), p(Y.target.files);
4661
+ };
4662
+ return /* @__PURE__ */ w(
4663
+ rn,
4664
+ {
4665
+ ref: S,
4666
+ htmlFor: y,
4667
+ onDragOver: (Y) => {
4668
+ Y.preventDefault();
4669
+ },
4670
+ onDrop: (Y) => {
4671
+ if (Y.preventDefault(), Y.dataTransfer.files.length > 0) {
4672
+ const ae = { ...Y.target, files: Y.dataTransfer.files }, ge = { ...Y, target: ae };
4673
+ p(Y.dataTransfer.files), C == null || C(ge), Y.dataTransfer.clearData();
4674
+ }
4675
+ },
4676
+ sx: {
4677
+ "&:hover, &:focus": {
4678
+ borderColor: u.primary.main
4679
+ },
4680
+ border: `1px dashed ${a ? u.error.main : u.divider}`,
4681
+ borderRadius: 1,
4682
+ cursor: "pointer",
4683
+ height: da(c, M),
4684
+ maxWidth: h ? "100%" : 400,
4685
+ padding: 2,
4686
+ position: "relative",
4687
+ width: "100%"
4688
+ },
4689
+ children: [
4690
+ /* @__PURE__ */ w(
4691
+ z,
4692
+ {
4693
+ alignItems: "center",
4694
+ height: "100%",
4695
+ direction: E ? "column" : "row",
4696
+ justifyContent: E ? "center" : "flex-start",
4697
+ textAlign: E ? "center" : "left",
4698
+ spacing: 0.5,
4699
+ color: t ? "text.disabled" : "text.secondary",
4700
+ children: [
4701
+ x || /* @__PURE__ */ n(ra, { sx: { height: 40, width: 40 } }),
4702
+ T ? /* @__PURE__ */ w(fe, { children: [
4703
+ /* @__PURE__ */ w(G, { variant: "body2", color: "textSecondary", children: [
4704
+ A == null ? void 0 : A.length,
4705
+ " ",
4706
+ (s == null ? void 0 : s.files) || v("files")
4707
+ ] }),
4708
+ /* @__PURE__ */ n(
4709
+ G,
4710
+ {
4711
+ variant: "body2",
4712
+ color: "primary",
4713
+ whiteSpace: E ? "normal" : "nowrap",
4714
+ textOverflow: "ellipsis",
4715
+ overflow: "hidden",
4716
+ children: T
4717
+ }
4718
+ )
4719
+ ] }) : /* @__PURE__ */ w(G, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
4720
+ b || v("clickToUpload"),
4721
+ " ",
4722
+ i && "*"
4723
+ ] }),
4724
+ f && /* @__PURE__ */ n(G, { color: a ? "error" : "textSecondary", variant: "body2", children: f })
4725
+ ]
4726
+ }
4727
+ ),
4728
+ /* @__PURE__ */ n(
4729
+ "input",
4730
+ {
4731
+ type: "file",
4732
+ disabled: t,
4733
+ required: i,
4734
+ name: r,
4735
+ multiple: l,
4736
+ accept: e,
4737
+ id: y,
4738
+ onChange: k,
4739
+ style: {
4740
+ left: "50%",
4741
+ opacity: 0,
4742
+ pointerEvents: "none",
4743
+ position: "absolute",
4744
+ top: "50%",
4745
+ transform: "translate(-50%, -50%)",
4746
+ zIndex: -1
4747
+ }
4748
+ }
4749
+ )
4750
+ ]
4751
+ }
4752
+ );
4753
+ }, f1 = 1, ua = (e) => typeof e == "string", Je = {
4754
+ list: {
4755
+ marginLeft: ({ spacing: e }) => `-${e(0.5)} !important`,
4756
+ marginRight: ({ spacing: e }) => `-${e(0.5)} !important`,
4757
+ minWidth: 250
4854
4758
  },
4855
- fr: {
4856
- reset: "Réinitialiser",
4857
- selectAll: "Tout sélectionner"
4759
+ listItem: {
4760
+ borderRadius: 1,
4761
+ padding: 0.5
4858
4762
  }
4859
- }, da = (e) => function(t) {
4763
+ }, Da = ({
4764
+ Empty: e,
4765
+ action: r,
4766
+ items: t,
4767
+ fullWidth: i,
4768
+ sx: a,
4769
+ alwaysDisplaySecondaryAction: s,
4770
+ isLoading: l,
4771
+ numberLoadingItems: d = 3
4772
+ }) => {
4773
+ var c;
4774
+ return !(t != null && t.length) && !l && !r ? e || null : l ? /* @__PURE__ */ n(
4775
+ y1,
4776
+ {
4777
+ sx: {
4778
+ ...Je.list,
4779
+ ...i && { width: "100%" }
4780
+ },
4781
+ children: [...Array(d).keys()].map((f) => /* @__PURE__ */ w(Me, { sx: Je.listItem, children: [
4782
+ /* @__PURE__ */ n(le, { width: 40, height: 40, sx: { marginRight: f1 }, variant: "rounded" }),
4783
+ /* @__PURE__ */ n(
4784
+ He,
4785
+ {
4786
+ primary: /* @__PURE__ */ n(G, { variant: "h6", children: /* @__PURE__ */ n(le, { width: 90 }) }),
4787
+ secondary: /* @__PURE__ */ n(le, { width: 70 }),
4788
+ sx: { marginY: 0 }
4789
+ }
4790
+ )
4791
+ ] }, f))
4792
+ }
4793
+ ) : /* @__PURE__ */ w(
4794
+ y1,
4795
+ {
4796
+ sx: {
4797
+ ...Je.list,
4798
+ ...i && { width: "100%" },
4799
+ ...a
4800
+ },
4801
+ children: [
4802
+ t == null ? void 0 : t.map(
4803
+ ({ id: f, title: h, subtitle: x, image: C, secondaryAction: b, chipLabel: M, chipColor: v, onClick: u, icon: E, Avatar: y }, S) => {
4804
+ var p;
4805
+ const A = f || `id-${S}-${h}`;
4806
+ return /* @__PURE__ */ w(
4807
+ Me,
4808
+ {
4809
+ secondaryAction: b,
4810
+ onClick: u,
4811
+ sx: {
4812
+ ...Je.listItem,
4813
+ "& .MuiListItemSecondaryAction-root": {
4814
+ alignItems: "center",
4815
+ display: "flex",
4816
+ justifyContent: "center",
4817
+ opacity: s ? 1 : 0,
4818
+ position: "static",
4819
+ right: ({ spacing: T }) => T(0.5),
4820
+ transform: "none"
4821
+ },
4822
+ "&:hover": {
4823
+ "& .MuiListItemSecondaryAction-root": {
4824
+ opacity: 1
4825
+ },
4826
+ backgroundColor: ({ palette: T }) => u || b ? T.action.hover : "transparent"
4827
+ },
4828
+ cursor: u ? "pointer" : "default"
4829
+ },
4830
+ children: [
4831
+ y ? /* @__PURE__ */ n(I, { marginRight: f1, children: y }) : /* @__PURE__ */ n(v1, { src: C || "", variant: "rounded", sx: { marginRight: f1 }, children: E || typeof h == "string" && ((p = h || "") == null ? void 0 : p.charAt(0).toUpperCase()) }),
4832
+ /* @__PURE__ */ n(
4833
+ He,
4834
+ {
4835
+ primary: /* @__PURE__ */ w(z, { direction: "row", alignItems: "center", spacing: 1, children: [
4836
+ h && /* @__PURE__ */ n(G, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: h }),
4837
+ M && /* @__PURE__ */ n(Qe, { label: M, variant: "rounded", size: "xSmall", color: ua(v) ? v : "default" })
4838
+ ] }),
4839
+ secondary: x,
4840
+ primaryTypographyProps: {
4841
+ component: "div"
4842
+ },
4843
+ secondaryTypographyProps: {
4844
+ component: "div"
4845
+ },
4846
+ sx: { marginY: 0 }
4847
+ }
4848
+ )
4849
+ ]
4850
+ },
4851
+ A
4852
+ );
4853
+ }
4854
+ ),
4855
+ r && /* @__PURE__ */ w(
4856
+ W1,
4857
+ {
4858
+ onClick: r == null ? void 0 : r.onClick,
4859
+ sx: {
4860
+ ...Je.listItem,
4861
+ "&:hover": {
4862
+ backgroundColor: ({ palette: f }) => f.action.hover
4863
+ }
4864
+ },
4865
+ children: [
4866
+ /* @__PURE__ */ n(v1, { src: (r == null ? void 0 : r.image) || "", variant: "rounded", sx: { marginRight: f1 }, children: (r == null ? void 0 : r.icon) || ((c = r == null ? void 0 : r.title) == null ? void 0 : c.charAt(0).toUpperCase()) }),
4867
+ /* @__PURE__ */ n(
4868
+ He,
4869
+ {
4870
+ primary: (r == null ? void 0 : r.title) && /* @__PURE__ */ n(G, { variant: "h6", children: r == null ? void 0 : r.title }),
4871
+ secondary: r == null ? void 0 : r.subtitle,
4872
+ sx: { marginY: 0 }
4873
+ }
4874
+ )
4875
+ ]
4876
+ }
4877
+ )
4878
+ ]
4879
+ }
4880
+ );
4881
+ }, fa = (e) => function(t) {
4860
4882
  return /* @__PURE__ */ n(
4861
4883
  an,
4862
4884
  {
@@ -4871,7 +4893,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4871
4893
  }
4872
4894
  }
4873
4895
  );
4874
- }, pa = ({
4896
+ }, ha = ({
4875
4897
  children: e,
4876
4898
  disableSelectAll: r,
4877
4899
  localeText: t,
@@ -4882,25 +4904,25 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4882
4904
  value: d,
4883
4905
  ...c
4884
4906
  }) => {
4885
- const { language: u } = we(bt), h = Array.isArray(d) ? (d == null ? void 0 : d.length) === (l == null ? void 0 : l.length) : !1, C = l == null ? void 0 : l.filter((x) => x == null ? void 0 : x.isHeader), S = (t == null ? void 0 : t.selectAll) || Ur[u || "en"].selectAll, y = (t == null ? void 0 : t.reset) || Ur[u || "en"].reset;
4907
+ const { t: f } = bt(), h = Array.isArray(d) ? (d == null ? void 0 : d.length) === (l == null ? void 0 : l.length) : !1, x = l == null ? void 0 : l.filter((C) => C == null ? void 0 : C.isHeader);
4886
4908
  return /* @__PURE__ */ w(on, { ...c, children: [
4887
- !s && (!r || !!(C != null && C.length)) && /* @__PURE__ */ w(ue, { children: [
4909
+ !s && (!r || !!(x != null && x.length)) && /* @__PURE__ */ w(fe, { children: [
4888
4910
  /* @__PURE__ */ w(y1, { role: "listbox", children: [
4889
4911
  !r && /* @__PURE__ */ n(
4890
4912
  Me,
4891
4913
  {
4892
4914
  disablePadding: !0,
4893
4915
  role: "option",
4894
- onMouseDown: (x) => {
4895
- if (x.stopPropagation(), x.preventDefault(), h) {
4896
- a == null || a(x, [], "removeOption");
4916
+ onMouseDown: (C) => {
4917
+ if (C.stopPropagation(), C.preventDefault(), h) {
4918
+ a == null || a(C, [], "removeOption");
4897
4919
  return;
4898
4920
  }
4899
- a == null || a(x, l || [], "selectOption");
4921
+ a == null || a(C, l || [], "selectOption");
4900
4922
  },
4901
- children: /* @__PURE__ */ w(j1, { disableRipple: !0, children: [
4923
+ children: /* @__PURE__ */ w(W1, { disableRipple: !0, children: [
4902
4924
  /* @__PURE__ */ n(Y1, { id: "select-all-checkbox", checked: h }),
4903
- /* @__PURE__ */ n(He, { primary: S }),
4925
+ /* @__PURE__ */ n(He, { primary: (t == null ? void 0 : t.selectAll) || f("selectAll") }),
4904
4926
  !i && /* @__PURE__ */ n(
4905
4927
  tr,
4906
4928
  {
@@ -4910,50 +4932,50 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4910
4932
  marginX: 1,
4911
4933
  textDecoration: "none"
4912
4934
  },
4913
- onClick: (x) => {
4914
- a == null || a(x, [], "removeOption");
4935
+ onClick: (C) => {
4936
+ a == null || a(C, [], "removeOption");
4915
4937
  },
4916
- onMouseDown: (x) => {
4917
- x.stopPropagation(), x.preventDefault();
4938
+ onMouseDown: (C) => {
4939
+ C.stopPropagation(), C.preventDefault();
4918
4940
  },
4919
- children: y
4941
+ children: (t == null ? void 0 : t.reset) || f("reset")
4920
4942
  }
4921
4943
  )
4922
4944
  ] })
4923
4945
  }
4924
4946
  ),
4925
- C == null ? void 0 : C.map((x, m) => {
4926
- const f = `header-options-${x == null ? void 0 : x.id}-${m}`, E = Array.isArray(d) && d.some(
4927
- (b) => JSON.stringify(b) === JSON.stringify(x) || b && typeof b == "object" && "id" in b && (b == null ? void 0 : b.id) === (x == null ? void 0 : x.id)
4947
+ x == null ? void 0 : x.map((C, b) => {
4948
+ const M = `header-options-${C == null ? void 0 : C.id}-${b}`, v = Array.isArray(d) && d.some(
4949
+ (u) => JSON.stringify(u) === JSON.stringify(C) || u && typeof u == "object" && "id" in u && (u == null ? void 0 : u.id) === (C == null ? void 0 : C.id)
4928
4950
  );
4929
4951
  return /* @__PURE__ */ n(
4930
4952
  Me,
4931
4953
  {
4932
4954
  disablePadding: !0,
4933
- onMouseDown: (b) => {
4934
- if (b.stopPropagation(), b.preventDefault(), E) {
4935
- const M = Array.isArray(d) ? d == null ? void 0 : d.filter(
4936
- (R) => !(JSON.stringify(R) === JSON.stringify(x) || R && typeof R == "object" && "id" in R && (R == null ? void 0 : R.id) === (x == null ? void 0 : x.id))
4955
+ onMouseDown: (u) => {
4956
+ if (u.stopPropagation(), u.preventDefault(), v) {
4957
+ const E = Array.isArray(d) ? d == null ? void 0 : d.filter(
4958
+ (y) => !(JSON.stringify(y) === JSON.stringify(C) || y && typeof y == "object" && "id" in y && (y == null ? void 0 : y.id) === (C == null ? void 0 : C.id))
4937
4959
  ) : [];
4938
- a == null || a(b, M, "removeOption");
4960
+ a == null || a(u, E, "removeOption");
4939
4961
  return;
4940
4962
  }
4941
- a == null || a(b, [...Array.isArray(d) ? d : [], x], "selectOption");
4963
+ a == null || a(u, [...Array.isArray(d) ? d : [], C], "selectOption");
4942
4964
  },
4943
- children: /* @__PURE__ */ w(j1, { disableRipple: !0, children: [
4944
- /* @__PURE__ */ n(Y1, { checked: E }),
4945
- /* @__PURE__ */ n(He, { primary: x == null ? void 0 : x.label })
4965
+ children: /* @__PURE__ */ w(W1, { disableRipple: !0, children: [
4966
+ /* @__PURE__ */ n(Y1, { checked: v }),
4967
+ /* @__PURE__ */ n(He, { primary: C == null ? void 0 : C.label })
4946
4968
  ] })
4947
4969
  },
4948
- f
4970
+ M
4949
4971
  );
4950
4972
  })
4951
4973
  ] }),
4952
- /* @__PURE__ */ n(Xr, {})
4974
+ /* @__PURE__ */ n(Gr, {})
4953
4975
  ] }),
4954
4976
  e
4955
4977
  ] });
4956
- }, ua = ({
4978
+ }, ga = ({
4957
4979
  onChange: e,
4958
4980
  disableCheckbox: r,
4959
4981
  placeholder: t,
@@ -4963,70 +4985,72 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
4963
4985
  disableSelectAll: l,
4964
4986
  value: d,
4965
4987
  onFocus: c,
4966
- onBlur: u,
4988
+ onBlur: f,
4967
4989
  onInputChange: h,
4968
- inputValue: C,
4969
- disableClearable: S,
4970
- loading: y,
4971
- resetInputValueOnSelectOption: x,
4972
- size: m = "small",
4973
- disableCloseOnSelect: f = !0,
4990
+ inputValue: x,
4991
+ disableClearable: C,
4992
+ loading: b,
4993
+ resetInputValueOnSelectOption: M,
4994
+ size: v = "small",
4995
+ disableCloseOnSelect: u = !0,
4974
4996
  multiple: E = !0,
4975
- slotProps: b,
4976
- ...M
4977
- }, R) => {
4978
- const { palette: p } = le(), [T, k] = re(!1), [J, N] = re(""), he = p.mode === "light" ? "default" : "primary", ce = C || J;
4997
+ slotProps: y,
4998
+ ...S
4999
+ }, A) => {
5000
+ const { palette: p } = de(), [T, k] = te(!1), [q, N] = te(""), Y = p.mode === "light" ? "default" : "primary", ae = x || q;
4979
5001
  return /* @__PURE__ */ n(
4980
5002
  nn,
4981
5003
  {
4982
- PaperComponent: pa,
4983
5004
  value: d,
4984
- loading: y,
5005
+ loading: b,
4985
5006
  options: i || [],
4986
- ref: R,
4987
- size: m,
5007
+ ref: A,
5008
+ size: v,
4988
5009
  freeSolo: !1,
4989
5010
  multiple: E,
4990
- disableClearable: S,
4991
- onChange: (H, O, W, K) => {
5011
+ disableClearable: C,
5012
+ onChange: (H, O, W, Q) => {
4992
5013
  if (O === null) {
4993
- e == null || e(H, [], W, K);
5014
+ e == null || e(H, [], W, Q);
4994
5015
  return;
4995
5016
  }
4996
- e == null || e(H, O, W, K);
5017
+ e == null || e(H, O, W, Q);
4997
5018
  },
4998
- disableCloseOnSelect: f,
4999
- getLimitTagsText: da(he),
5000
- inputValue: ce,
5019
+ disableCloseOnSelect: u,
5020
+ getLimitTagsText: fa(Y),
5021
+ inputValue: ae,
5001
5022
  open: T,
5002
5023
  onOpen: () => k(!0),
5024
+ slots: {
5025
+ paper: ha
5026
+ },
5003
5027
  slotProps: {
5004
- ...b,
5028
+ ...y,
5005
5029
  paper: {
5006
5030
  disableReset: s,
5007
5031
  disableSelectAll: l,
5008
- loading: y,
5032
+ loading: b,
5009
5033
  localeText: a,
5010
5034
  onChange: e,
5011
5035
  options: i,
5012
5036
  value: d,
5013
- ...b == null ? void 0 : b.paper
5037
+ ...y == null ? void 0 : y.paper
5014
5038
  }
5015
5039
  },
5016
5040
  onInputChange: (H, O, W) => {
5017
- W === "reset" && T && !x || (C || N(O), h == null || h(H, O, W));
5041
+ W === "reset" && T && !M || (x || N(O), h == null || h(H, O, W));
5018
5042
  },
5019
5043
  onFocus: (H) => {
5020
5044
  k(!0), c == null || c(H);
5021
5045
  },
5022
5046
  onBlur: (H) => {
5023
- k(!1), u == null || u(H);
5047
+ k(!1), f == null || f(H);
5024
5048
  },
5025
5049
  renderOption: (H, O, { selected: W }) => {
5026
- if (y || O != null && O.isHeader)
5050
+ if (b || O != null && O.isHeader)
5027
5051
  return null;
5028
- const K = `${O == null ? void 0 : O.id}-${H == null ? void 0 : H.key}`;
5029
- return /* @__PURE__ */ cn(Me, { ...H, key: K }, !r && /* @__PURE__ */ n(Y1, { checked: W }), (O == null ? void 0 : O.image) && /* @__PURE__ */ n(
5052
+ const Q = `${O == null ? void 0 : O.id}-${H == null ? void 0 : H.key}`;
5053
+ return /* @__PURE__ */ cn(Me, { ...H, key: Q }, !r && /* @__PURE__ */ n(Y1, { checked: W }), (O == null ? void 0 : O.image) && /* @__PURE__ */ n(
5030
5054
  tn,
5031
5055
  {
5032
5056
  sx: {
@@ -5035,47 +5059,49 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
5035
5059
  minWidth: "auto",
5036
5060
  width: 24
5037
5061
  },
5038
- children: /* @__PURE__ */ n(m1, { variant: "rounded", src: O == null ? void 0 : O.image, sx: { height: 24, width: 24 } })
5062
+ children: /* @__PURE__ */ n(v1, { variant: "rounded", src: O == null ? void 0 : O.image, sx: { height: 24, width: 24 } })
5039
5063
  }
5040
5064
  ), O.label);
5041
5065
  },
5042
- renderTags: (H, O, W) => H.map((K, de) => {
5043
- const { key: Se } = O({ index: de });
5044
- return W != null && W.focused ? null : /* @__PURE__ */ n(U, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: K == null ? void 0 : K.label }, Se);
5066
+ renderTags: (H, O, W) => H.map((Q, pe) => {
5067
+ const { key: Se } = O({ index: pe });
5068
+ return W != null && W.focused ? null : /* @__PURE__ */ n(G, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: Q == null ? void 0 : Q.label }, Se);
5045
5069
  }),
5046
- ...M,
5070
+ ...S,
5047
5071
  renderInput: (H) => {
5048
- var K, de;
5072
+ var Q, pe;
5049
5073
  const O = () => {
5050
5074
  if (!(!T && (Array.isArray(d) && d.length || !Array.isArray(d) && d)))
5051
5075
  return t;
5052
- }, W = R1((K = H.InputProps) == null ? void 0 : K.endAdornment) ? (de = H.InputProps) == null ? void 0 : de.endAdornment : null;
5076
+ }, W = R1((Q = H.InputProps) == null ? void 0 : Q.endAdornment) ? (pe = H.InputProps) == null ? void 0 : pe.endAdornment : null;
5053
5077
  return /* @__PURE__ */ n(
5054
5078
  er,
5055
5079
  {
5056
5080
  sx: {
5057
5081
  ".MuiInputBase-root .MuiInputBase-input": {
5058
- flex: !T && !ce || T ? 1 : 0,
5082
+ flex: !T && !ae || T ? 1 : 0,
5059
5083
  minWidth: 0
5060
5084
  }
5061
5085
  },
5062
5086
  ...H,
5063
- InputProps: {
5064
- ...H.InputProps,
5065
- endAdornment: T ? /* @__PURE__ */ w(
5066
- b1,
5067
- {
5068
- position: "end",
5069
- sx: {
5070
- position: "absolute",
5071
- right: 9
5072
- },
5073
- children: [
5074
- T && ce && !S && /* @__PURE__ */ n(Ee, { size: "small", onClick: () => N(""), children: /* @__PURE__ */ n(cr, {}) }),
5075
- W == null ? void 0 : W.props.children[1]
5076
- ]
5077
- }
5078
- ) : W
5087
+ slotProps: {
5088
+ input: {
5089
+ ...H.InputProps,
5090
+ endAdornment: T ? /* @__PURE__ */ w(
5091
+ b1,
5092
+ {
5093
+ position: "end",
5094
+ sx: {
5095
+ position: "absolute",
5096
+ right: 9
5097
+ },
5098
+ children: [
5099
+ T && ae && !C && /* @__PURE__ */ n(Ee, { size: "small", onClick: () => N(""), children: /* @__PURE__ */ n(cr, {}) }),
5100
+ W == null ? void 0 : W.props.children[1]
5101
+ ]
5102
+ }
5103
+ ) : W
5104
+ }
5079
5105
  },
5080
5106
  placeholder: O()
5081
5107
  }
@@ -5083,8 +5109,8 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
5083
5109
  }
5084
5110
  }
5085
5111
  );
5086
- }, Va = fe(ua), $a = ({ children: e, permissions: r, disabledPermissions: t }) => {
5087
- const [i, a] = re(), s = A1(
5112
+ }, Ba = he(ga), Za = ({ children: e, permissions: r, disabledPermissions: t }) => {
5113
+ const [i, a] = te(), s = T1(
5088
5114
  () => ({
5089
5115
  disabledPermissions: t,
5090
5116
  permissions: i,
@@ -5094,8 +5120,8 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
5094
5120
  );
5095
5121
  return S1(() => {
5096
5122
  a(r);
5097
- }, [r]), /* @__PURE__ */ n(Kr.Provider, { value: s, children: e });
5098
- }, fa = {
5123
+ }, [r]), /* @__PURE__ */ n(Jr.Provider, { value: s, children: e });
5124
+ }, Ca = {
5099
5125
  component: void 0,
5100
5126
  isOpen: !1,
5101
5127
  message: "",
@@ -5107,12 +5133,12 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
5107
5133
  isOpen: !1,
5108
5134
  openSnackbar: () => {
5109
5135
  }
5110
- }), Da = ({
5136
+ }), za = ({
5111
5137
  children: e,
5112
5138
  autoHideDuration: r = 5e3,
5113
5139
  anchorOrigin: t = { horizontal: "center", vertical: "bottom" }
5114
5140
  }) => {
5115
- const [i, a] = re(fa), s = ne((c) => {
5141
+ const [i, a] = te(Ca), s = ie((c) => {
5116
5142
  a({
5117
5143
  component: c == null ? void 0 : c.component,
5118
5144
  isOpen: !0,
@@ -5120,9 +5146,9 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
5120
5146
  severity: (c == null ? void 0 : c.severity) || "success",
5121
5147
  variant: (c == null ? void 0 : c.variant) || "standard"
5122
5148
  });
5123
- }, []), l = ne((c, u) => {
5124
- u !== "clickaway" && a((h) => ({ ...h, isOpen: !1 }));
5125
- }, []), d = A1(
5149
+ }, []), l = ie((c, f) => {
5150
+ f !== "clickaway" && a((h) => ({ ...h, isOpen: !1 }));
5151
+ }, []), d = T1(
5126
5152
  () => ({
5127
5153
  closeSnackbar: l,
5128
5154
  isOpen: i.isOpen,
@@ -5144,56 +5170,63 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
5144
5170
  ),
5145
5171
  e
5146
5172
  ] });
5147
- }, Ba = () => {
5173
+ }, Na = () => {
5148
5174
  const e = we(yt), { isOpen: r, closeSnackbar: t, openSnackbar: i } = e;
5149
5175
  if (e === void 0)
5150
5176
  throw new Error("SnackbarProvider must be used within a useSnackBar hook");
5151
- return { closeSnackbar: t, isOpen: r, openSnackbar: i };
5152
- }, Za = () => {
5153
- const [e, r] = re(0);
5154
- return { handleChange: ne((i, a) => {
5155
- r(a);
5156
- }, []), value: e };
5157
- }, za = (e) => `linear-gradient(${ge("#fff", +W1(e))}, ${ge("#fff", +W1(e))})`;
5177
+ return {
5178
+ closeSnackbar: t,
5179
+ isOpen: r,
5180
+ openSnackbar: i
5181
+ };
5182
+ }, ja = () => {
5183
+ const [e, r] = te(0);
5184
+ return {
5185
+ handleChange: ie((i, a) => {
5186
+ r(a);
5187
+ }, []),
5188
+ value: e
5189
+ };
5190
+ }, Wa = (e) => `linear-gradient(${Ce("#fff", +j1(e))}, ${Ce("#fff", +j1(e))})`;
5158
5191
  export {
5159
5192
  Xi as ActionAppBar,
5160
- Ia as AppBar,
5161
- ka as ArticleImage,
5162
- Va as AutocompleteFilter,
5193
+ La as AppBar,
5194
+ Fa as ArticleImage,
5195
+ Ba as AutocompleteFilter,
5163
5196
  Gi as AvatarAppBar,
5164
- _a as Backoffice,
5165
- Ma as Button,
5166
- ya as CardModal,
5167
- Fa as Chip,
5168
- Sa as DialogCloseIcon,
5169
- Ha as File,
5197
+ Ha as Backoffice,
5198
+ Ta as Button,
5199
+ wa as CardModal,
5200
+ Oa as Chip,
5201
+ ka as DialogCloseIcon,
5202
+ $a as File,
5170
5203
  Ni as FileViewer,
5171
- xa as HasPermission,
5172
- gt as Lightbox,
5173
- ba as LinkTab,
5174
- La as ListAvatar,
5175
- La as ListAvatars,
5176
- Ea as ListItemCard,
5204
+ va as HasPermission,
5205
+ ht as Lightbox,
5206
+ ma as LinkTab,
5207
+ Da as ListAvatar,
5208
+ Da as ListAvatars,
5209
+ Ra as ListItemCard,
5177
5210
  Ei as Logo,
5178
- wa as NavigationMenu,
5211
+ Sa as NavigationMenu,
5179
5212
  $e as NavigationMenuContext,
5180
- $a as PermissionProvider,
5181
- va as QuantityField,
5213
+ Za as PermissionProvider,
5214
+ Ma as QuantityField,
5182
5215
  yt as SnackbarContext,
5183
- Da as SnackbarProvider,
5216
+ za as SnackbarProvider,
5184
5217
  x1 as StatusIcon,
5185
- Ra as TabPanel,
5186
- ma as TextArea,
5218
+ Aa as TabPanel,
5219
+ Ea as TextArea,
5187
5220
  qi as TextFieldAppBar,
5188
- bt as ThemeContext,
5189
- Pa as ThemeProvider,
5190
- Ta as TimeLine,
5191
- Aa as TypographySkeleton,
5192
- za as getBackgroundImageElevation,
5193
- Y as pxToRem,
5194
- Oa as theme,
5221
+ xt as ThemeContext,
5222
+ Va as ThemeProvider,
5223
+ Ia as TimeLine,
5224
+ _a as TypographySkeleton,
5225
+ Wa as getBackgroundImageElevation,
5226
+ U as pxToRem,
5227
+ Pa as theme,
5195
5228
  Ji as useMenu,
5196
5229
  pn as usePermission,
5197
- Ba as useSnackbar,
5198
- Za as useTabs
5230
+ Na as useSnackbar,
5231
+ ja as useTabs
5199
5232
  };