@tracktor/design-system 3.1.4 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,18 +1,18 @@
1
- import { useTheme as ge, Box as L, Skeleton as fe, Tab as Yt, Card as t1, GlobalStyles as tr, TextareaAutosize as Ut, InputAdornment as br, IconButton as Ae, SvgIcon as Me, TextField as n1, Toolbar as Gt, Stack as B, AppBar as Wr, Typography as q, List as yr, ListItem as _e, Chip as nr, useMediaQuery as ir, SwipeableDrawer as Xt, Alert as i1, alpha as ye, Button as a1, CircularProgress as q1, Modal as qt, Fade as Jt, Divider as J1, Collapse as T1, Tooltip as k1, CardContent as Kt, Avatar as vr, Menu as Qt, MenuItem as en, ListItemIcon as rn, ListItemText as $e, Backdrop as tn, responsiveFontSizes as o1, createTheme as De, getOverlayAlpha as jr, css as mr, CssBaseline as nn, ThemeProvider as an, InputLabel as on, ListItemButton as Yr, Checkbox as Ur, ListItemAvatar as sn, Autocomplete as ln, Badge as cn, Paper as K1, Slide as dn, Snackbar as pn } from "@mui/material";
1
+ import { useTheme as ge, Box as L, Skeleton as fe, Tab as Yt, Card as t1, GlobalStyles as tr, TextareaAutosize as Ut, InputAdornment as br, IconButton as ke, SvgIcon as Me, TextField as n1, Toolbar as Gt, Stack as B, AppBar as Wr, Typography as q, List as yr, ListItem as _e, Chip as nr, useMediaQuery as ir, SwipeableDrawer as Xt, Alert as i1, alpha as ye, Button as a1, CircularProgress as q1, Modal as qt, Fade as Jt, Divider as J1, Collapse as T1, Tooltip as A1, CardContent as Kt, Avatar as vr, Menu as Qt, MenuItem as en, ListItemIcon as rn, ListItemText as $e, Backdrop as tn, responsiveFontSizes as o1, createTheme as De, getOverlayAlpha as jr, css as mr, CssBaseline as nn, ThemeProvider as an, InputLabel as on, ListItemButton as Yr, Checkbox as Ur, ListItemAvatar as sn, Autocomplete as ln, Badge as cn, Paper as K1, Slide as dn, Snackbar as pn } from "@mui/material";
2
2
  export * from "@mui/material";
3
3
  import * as Re from "react";
4
- import Q1, { createContext as Sr, useContext as Te, useCallback as de, forwardRef as xe, useState as ae, useEffect as Rr, cloneElement as s1, isValidElement as Tr, memo as et, useMemo as kr, useRef as wr, Children as un } from "react";
4
+ import Q1, { createContext as Sr, useContext as Te, useCallback as de, forwardRef as xe, useState as ae, useEffect as Rr, cloneElement as s1, isValidElement as Tr, memo as et, useMemo as Ar, useRef as wr, Children as un } from "react";
5
5
  import { createElement as fn } from "@emotion/react";
6
6
  const hn = {
7
7
  disabledPermissions: void 0,
8
8
  permissions: void 0,
9
9
  setPermissions: () => {
10
10
  }
11
- }, rt = Sr(hn), A1 = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), gn = () => {
12
- const { permissions: e, setPermissions: r, disabledPermissions: t } = Te(rt), i = de(
11
+ }, rt = Sr(hn), k1 = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), gn = () => {
12
+ const { permissions: e, setPermissions: r, disabledPermissions: t } = Te(rt), a = de(
13
13
  (o, l) => {
14
14
  const c = [...l || [], ...e || []].filter((f) => !(t != null && t.includes(f)));
15
- return c ? Array.isArray(o) ? o.some((f) => A1(f, c)) : A1(o, c) : !1;
15
+ return c ? Array.isArray(o) ? o.some((f) => k1(f, c)) : k1(o, c) : !1;
16
16
  },
17
17
  [t, e]
18
18
  );
@@ -24,12 +24,12 @@ const hn = {
24
24
  [r]
25
25
  ),
26
26
  disabledPermissions: t,
27
- hasPermission: i,
27
+ hasPermission: a,
28
28
  permissions: e,
29
29
  setPermissions: r
30
30
  };
31
- }, Ea = ({ children: e, fallback: r, name: t, additionalPermissions: i }) => {
32
- const { hasPermission: a } = gn(), o = a(t, i);
31
+ }, Ea = ({ children: e, fallback: r, name: t, additionalPermissions: a }) => {
32
+ const { hasPermission: i } = gn(), o = i(t, a);
33
33
  return o ? e : !o && r ? r : null;
34
34
  };
35
35
  var Gr = { exports: {} }, qe = {};
@@ -46,13 +46,13 @@ var _1;
46
46
  function xn() {
47
47
  if (_1) return qe;
48
48
  _1 = 1;
49
- var e = Q1, 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, o = { key: !0, ref: !0, __self: !0, __source: !0 };
49
+ var e = Q1, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
50
50
  function l(d, c, f) {
51
51
  var g, C = {}, y = null, h = null;
52
52
  f !== void 0 && (y = "" + f), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (h = c.ref);
53
- for (g in c) i.call(c, g) && !o.hasOwnProperty(g) && (C[g] = c[g]);
53
+ for (g in c) a.call(c, g) && !o.hasOwnProperty(g) && (C[g] = c[g]);
54
54
  if (d && d.defaultProps) for (g in c = d.defaultProps, c) C[g] === void 0 && (C[g] = c[g]);
55
- return { $$typeof: r, type: d, key: y, ref: h, props: C, _owner: a.current };
55
+ return { $$typeof: r, type: d, key: y, ref: h, props: C, _owner: i.current };
56
56
  }
57
57
  return qe.Fragment = t, qe.jsx = l, qe.jsxs = l, qe;
58
58
  }
@@ -69,7 +69,7 @@ var Je = {};
69
69
  var F1;
70
70
  function Cn() {
71
71
  return F1 || (F1 = 1, process.env.NODE_ENV !== "production" && function() {
72
- var e = Q1, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = 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"), g = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), M = Symbol.iterator, b = "@@iterator";
72
+ var e = Q1, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = 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"), g = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), M = Symbol.iterator, b = "@@iterator";
73
73
  function u(s) {
74
74
  if (s === null || typeof s != "object")
75
75
  return null;
@@ -94,10 +94,10 @@ function Cn() {
94
94
  U.unshift("Warning: " + x), Function.prototype.apply.call(console[s], console, U);
95
95
  }
96
96
  }
97
- var R = !1, p = !1, _ = !1, k = !1, j = !1, I;
97
+ var R = !1, p = !1, _ = !1, A = !1, j = !1, I;
98
98
  I = Symbol.for("react.module.reference");
99
99
  function Q(s) {
100
- return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || j || s === a || s === f || s === g || k || s === h || R || p || _ || typeof s == "object" && s !== null && (s.$$typeof === y || s.$$typeof === C || s.$$typeof === l || s.$$typeof === d || s.$$typeof === c || // This needs to include all possible module reference object
100
+ return !!(typeof s == "string" || typeof s == "function" || s === a || s === o || j || s === i || s === f || s === g || A || s === h || R || p || _ || typeof s == "object" && s !== null && (s.$$typeof === y || s.$$typeof === C || s.$$typeof === l || s.$$typeof === d || s.$$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.
@@ -121,13 +121,13 @@ function Cn() {
121
121
  if (typeof s == "string")
122
122
  return s;
123
123
  switch (s) {
124
- case i:
124
+ case a:
125
125
  return "Fragment";
126
126
  case t:
127
127
  return "Portal";
128
128
  case o:
129
129
  return "Profiler";
130
- case a:
130
+ case i:
131
131
  return "StrictMode";
132
132
  case f:
133
133
  return "Suspense";
@@ -158,14 +158,14 @@ function Cn() {
158
158
  }
159
159
  return null;
160
160
  }
161
- var K = Object.assign, oe = 0, ke, z, A, G, re, le, Se;
161
+ var K = Object.assign, oe = 0, Ae, z, k, G, re, le, Se;
162
162
  function ve() {
163
163
  }
164
164
  ve.__reactDisabledLog = !0;
165
165
  function Hr() {
166
166
  {
167
167
  if (oe === 0) {
168
- ke = console.log, z = console.info, A = console.warn, G = console.error, re = console.group, le = console.groupCollapsed, Se = console.groupEnd;
168
+ Ae = console.log, z = console.info, k = console.warn, G = console.error, re = console.group, le = console.groupCollapsed, Se = console.groupEnd;
169
169
  var s = {
170
170
  configurable: !0,
171
171
  enumerable: !0,
@@ -195,13 +195,13 @@ function Cn() {
195
195
  };
196
196
  Object.defineProperties(console, {
197
197
  log: K({}, s, {
198
- value: ke
198
+ value: Ae
199
199
  }),
200
200
  info: K({}, s, {
201
201
  value: z
202
202
  }),
203
203
  warn: K({}, s, {
204
- value: A
204
+ value: k
205
205
  }),
206
206
  error: K({}, s, {
207
207
  value: G
@@ -397,14 +397,14 @@ function Cn() {
397
397
  if (Tt(s))
398
398
  return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(s)), x1(s);
399
399
  }
400
- var Xe = v.ReactCurrentOwner, kt = {
400
+ var Xe = v.ReactCurrentOwner, At = {
401
401
  key: !0,
402
402
  ref: !0,
403
403
  __self: !0,
404
404
  __source: !0
405
405
  }, b1, y1, Pr;
406
406
  Pr = {};
407
- function At(s) {
407
+ function kt(s) {
408
408
  if (Ge.call(s, "ref")) {
409
409
  var x = Object.getOwnPropertyDescriptor(s, "ref").get;
410
410
  if (x && x.isReactWarning)
@@ -480,9 +480,9 @@ function Cn() {
480
480
  function Ot(s, x, m, F, Z) {
481
481
  {
482
482
  var U, V = {}, O = null, ce = null;
483
- m !== void 0 && (C1(m), O = "" + m), _t(x) && (C1(x.key), O = "" + x.key), At(x) && (ce = x.ref, Ft(x, Z));
483
+ m !== void 0 && (C1(m), O = "" + m), _t(x) && (C1(x.key), O = "" + x.key), kt(x) && (ce = x.ref, Ft(x, Z));
484
484
  for (U in x)
485
- Ge.call(x, U) && !kt.hasOwnProperty(U) && (V[U] = x[U]);
485
+ Ge.call(x, U) && !At.hasOwnProperty(U) && (V[U] = x[U]);
486
486
  if (s && s.defaultProps) {
487
487
  var ee = s.defaultProps;
488
488
  for (U in ee)
@@ -647,7 +647,7 @@ React keys must be passed directly to JSX without using spread:
647
647
  <%s key={someKey} {...props} />`, zr, Ie, Wt, Ie), S1[Ie + zr] = !0;
648
648
  }
649
649
  }
650
- return s === i ? Dt(te) : $t(te), te;
650
+ return s === a ? Dt(te) : $t(te), te;
651
651
  }
652
652
  }
653
653
  function Bt(s, x, m) {
@@ -657,7 +657,7 @@ React keys must be passed directly to JSX without using spread:
657
657
  return R1(s, x, m, !1);
658
658
  }
659
659
  var Zt = zt, Nt = Bt;
660
- Je.Fragment = i, Je.jsx = Zt, Je.jsxs = Nt;
660
+ Je.Fragment = a, Je.jsx = Zt, Je.jsxs = Nt;
661
661
  }()), Je;
662
662
  }
663
663
  process.env.NODE_ENV === "production" ? Gr.exports = xn() : Gr.exports = Cn();
@@ -675,34 +675,34 @@ function vn(e) {
675
675
  }
676
676
  var mn = /* @__PURE__ */ function() {
677
677
  function e(t) {
678
- var i = this;
679
- this._insertTag = function(a) {
678
+ var a = this;
679
+ this._insertTag = function(i) {
680
680
  var o;
681
- i.tags.length === 0 ? i.insertionPoint ? o = i.insertionPoint.nextSibling : i.prepend ? o = i.container.firstChild : o = i.before : o = i.tags[i.tags.length - 1].nextSibling, i.container.insertBefore(a, o), i.tags.push(a);
681
+ a.tags.length === 0 ? a.insertionPoint ? o = a.insertionPoint.nextSibling : a.prepend ? o = a.container.firstChild : o = a.before : o = a.tags[a.tags.length - 1].nextSibling, a.container.insertBefore(i, o), a.tags.push(i);
682
682
  }, this.isSpeedy = t.speedy === void 0 ? !bn : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
683
683
  }
684
684
  var r = e.prototype;
685
- return r.hydrate = function(i) {
686
- i.forEach(this._insertTag);
687
- }, r.insert = function(i) {
685
+ return r.hydrate = function(a) {
686
+ a.forEach(this._insertTag);
687
+ }, r.insert = function(a) {
688
688
  this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(vn(this));
689
- var a = this.tags[this.tags.length - 1];
689
+ var i = this.tags[this.tags.length - 1];
690
690
  if (this.isSpeedy) {
691
- var o = yn(a);
691
+ var o = yn(i);
692
692
  try {
693
- o.insertRule(i, o.cssRules.length);
693
+ o.insertRule(a, o.cssRules.length);
694
694
  } catch {
695
695
  }
696
696
  } else
697
- a.appendChild(document.createTextNode(i));
697
+ i.appendChild(document.createTextNode(a));
698
698
  this.ctr++;
699
699
  }, r.flush = function() {
700
- this.tags.forEach(function(i) {
701
- var a;
702
- return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
700
+ this.tags.forEach(function(a) {
701
+ var i;
702
+ return (i = a.parentNode) == null ? void 0 : i.removeChild(a);
703
703
  }), this.tags = [], this.ctr = 0;
704
704
  }, e;
705
- }(), se = "-ms-", Er = "-moz-", $ = "-webkit-", tt = "comm", l1 = "rule", c1 = "decl", wn = "@import", nt = "@keyframes", En = "@layer", Mn = Math.abs, Ar = String.fromCharCode, Sn = Object.assign;
705
+ }(), se = "-ms-", Er = "-moz-", $ = "-webkit-", tt = "comm", l1 = "rule", c1 = "decl", wn = "@import", nt = "@keyframes", En = "@layer", Mn = Math.abs, kr = String.fromCharCode, Sn = Object.assign;
706
706
  function Rn(e, r) {
707
707
  return ie(e, 0) ^ 45 ? (((r << 2 ^ ie(e, 0)) << 2 ^ ie(e, 1)) << 2 ^ ie(e, 2)) << 2 ^ ie(e, 3) : 0;
708
708
  }
@@ -733,17 +733,17 @@ function d1(e) {
733
733
  function pr(e, r) {
734
734
  return r.push(e), e;
735
735
  }
736
- function kn(e, r) {
736
+ function An(e, r) {
737
737
  return e.map(r).join("");
738
738
  }
739
739
  var _r = 1, ze = 1, at = 0, ue = 0, ne = 0, Ze = "";
740
- function Fr(e, r, t, i, a, o, l) {
741
- return { value: e, root: r, parent: t, type: i, props: a, children: o, line: _r, column: ze, length: l, return: "" };
740
+ function Fr(e, r, t, a, i, o, l) {
741
+ return { value: e, root: r, parent: t, type: a, props: i, children: o, line: _r, column: ze, length: l, return: "" };
742
742
  }
743
743
  function Ke(e, r) {
744
744
  return Sn(Fr("", null, null, "", null, null, 0), e, { length: -e.length }, r);
745
745
  }
746
- function An() {
746
+ function kn() {
747
747
  return ne;
748
748
  }
749
749
  function _n() {
@@ -834,7 +834,7 @@ function Hn(e, r) {
834
834
  for (; he() && e + ne !== 57; )
835
835
  if (e + ne === 84 && Ee() === 47)
836
836
  break;
837
- return "/*" + cr(r, ue - 1) + "*" + Ar(e === 47 ? e : he());
837
+ return "/*" + cr(r, ue - 1) + "*" + kr(e === 47 ? e : he());
838
838
  }
839
839
  function Ln(e) {
840
840
  for (; !sr(Ee()); )
@@ -844,27 +844,27 @@ function Ln(e) {
844
844
  function On(e) {
845
845
  return st(xr("", null, null, null, [""], e = ot(e), 0, [0], e));
846
846
  }
847
- function xr(e, r, t, i, a, o, l, d, c) {
848
- for (var f = 0, g = 0, C = l, y = 0, h = 0, M = 0, b = 1, u = 1, v = 1, S = 0, w = "", R = a, p = o, _ = i, k = w; u; )
847
+ function xr(e, r, t, a, i, o, l, d, c) {
848
+ for (var f = 0, g = 0, C = l, y = 0, h = 0, M = 0, b = 1, u = 1, v = 1, S = 0, w = "", R = i, p = o, _ = a, A = w; u; )
849
849
  switch (M = S, S = he()) {
850
850
  case 40:
851
- if (M != 108 && ie(k, C - 1) == 58) {
852
- Xr(k += D(gr(S), "&", "&\f"), "&\f") != -1 && (v = -1);
851
+ if (M != 108 && ie(A, C - 1) == 58) {
852
+ Xr(A += D(gr(S), "&", "&\f"), "&\f") != -1 && (v = -1);
853
853
  break;
854
854
  }
855
855
  case 34:
856
856
  case 39:
857
857
  case 91:
858
- k += gr(S);
858
+ A += gr(S);
859
859
  break;
860
860
  case 9:
861
861
  case 10:
862
862
  case 13:
863
863
  case 32:
864
- k += Fn(M);
864
+ A += Fn(M);
865
865
  break;
866
866
  case 92:
867
- k += In(hr() - 1, 7);
867
+ A += In(hr() - 1, 7);
868
868
  continue;
869
869
  case 47:
870
870
  switch (Ee()) {
@@ -873,11 +873,11 @@ function xr(e, r, t, i, a, o, l, d, c) {
873
873
  pr(Vn(Hn(he(), hr()), r, t), c);
874
874
  break;
875
875
  default:
876
- k += "/";
876
+ A += "/";
877
877
  }
878
878
  break;
879
879
  case 123 * b:
880
- d[f++] = me(k) * v;
880
+ d[f++] = me(A) * v;
881
881
  case 125 * b:
882
882
  case 59:
883
883
  case 0:
@@ -886,30 +886,30 @@ function xr(e, r, t, i, a, o, l, d, c) {
886
886
  case 125:
887
887
  u = 0;
888
888
  case 59 + g:
889
- v == -1 && (k = D(k, /\f/g, "")), h > 0 && me(k) - C && pr(h > 32 ? H1(k + ";", i, t, C - 1) : H1(D(k, " ", "") + ";", i, t, C - 2), c);
889
+ v == -1 && (A = D(A, /\f/g, "")), h > 0 && me(A) - C && pr(h > 32 ? H1(A + ";", a, t, C - 1) : H1(D(A, " ", "") + ";", a, t, C - 2), c);
890
890
  break;
891
891
  case 59:
892
- k += ";";
892
+ A += ";";
893
893
  default:
894
- if (pr(_ = I1(k, r, t, f, g, a, d, w, R = [], p = [], C), o), S === 123)
894
+ if (pr(_ = I1(A, r, t, f, g, i, d, w, R = [], p = [], C), o), S === 123)
895
895
  if (g === 0)
896
- xr(k, r, _, _, R, o, C, d, p);
896
+ xr(A, r, _, _, R, o, C, d, p);
897
897
  else
898
- switch (y === 99 && ie(k, 3) === 110 ? 100 : y) {
898
+ switch (y === 99 && ie(A, 3) === 110 ? 100 : y) {
899
899
  case 100:
900
900
  case 108:
901
901
  case 109:
902
902
  case 115:
903
- xr(e, _, _, i && pr(I1(e, _, _, 0, 0, a, d, w, a, R = [], C), p), a, p, C, d, i ? R : p);
903
+ xr(e, _, _, a && pr(I1(e, _, _, 0, 0, i, d, w, i, R = [], C), p), i, p, C, d, a ? R : p);
904
904
  break;
905
905
  default:
906
- xr(k, _, _, _, [""], p, 0, d, p);
906
+ xr(A, _, _, _, [""], p, 0, d, p);
907
907
  }
908
908
  }
909
- f = g = h = 0, b = v = 1, w = k = "", C = l;
909
+ f = g = h = 0, b = v = 1, w = A = "", C = l;
910
910
  break;
911
911
  case 58:
912
- C = 1 + me(k), h = M;
912
+ C = 1 + me(A), h = M;
913
913
  default:
914
914
  if (b < 1) {
915
915
  if (S == 123)
@@ -917,40 +917,40 @@ function xr(e, r, t, i, a, o, l, d, c) {
917
917
  else if (S == 125 && b++ == 0 && _n() == 125)
918
918
  continue;
919
919
  }
920
- switch (k += Ar(S), S * b) {
920
+ switch (A += kr(S), S * b) {
921
921
  case 38:
922
- v = g > 0 ? 1 : (k += "\f", -1);
922
+ v = g > 0 ? 1 : (A += "\f", -1);
923
923
  break;
924
924
  case 44:
925
- d[f++] = (me(k) - 1) * v, v = 1;
925
+ d[f++] = (me(A) - 1) * v, v = 1;
926
926
  break;
927
927
  case 64:
928
- Ee() === 45 && (k += gr(he())), y = Ee(), g = C = me(w = k += Ln(hr())), S++;
928
+ Ee() === 45 && (A += gr(he())), y = Ee(), g = C = me(w = A += Ln(hr())), S++;
929
929
  break;
930
930
  case 45:
931
- M === 45 && me(k) == 2 && (b = 0);
931
+ M === 45 && me(A) == 2 && (b = 0);
932
932
  }
933
933
  }
934
934
  return o;
935
935
  }
936
- function I1(e, r, t, i, a, o, l, d, c, f, g) {
937
- for (var C = a - 1, y = a === 0 ? o : [""], h = d1(y), M = 0, b = 0, u = 0; M < i; ++M)
936
+ function I1(e, r, t, a, i, o, l, d, c, f, g) {
937
+ for (var C = i - 1, y = i === 0 ? o : [""], h = d1(y), M = 0, b = 0, u = 0; M < a; ++M)
938
938
  for (var v = 0, S = or(e, C + 1, C = Mn(b = l[M])), w = e; v < h; ++v)
939
939
  (w = it(b > 0 ? y[v] + " " + S : D(S, /&\f/g, y[v]))) && (c[u++] = w);
940
- return Fr(e, r, t, a === 0 ? l1 : d, c, f, g);
940
+ return Fr(e, r, t, i === 0 ? l1 : d, c, f, g);
941
941
  }
942
942
  function Vn(e, r, t) {
943
- return Fr(e, r, t, tt, Ar(An()), or(e, 2, -2), 0);
943
+ return Fr(e, r, t, tt, kr(kn()), or(e, 2, -2), 0);
944
944
  }
945
- function H1(e, r, t, i) {
946
- return Fr(e, r, t, c1, or(e, 0, i), or(e, i + 1, -1), i);
945
+ function H1(e, r, t, a) {
946
+ return Fr(e, r, t, c1, or(e, 0, a), or(e, a + 1, -1), a);
947
947
  }
948
948
  function Be(e, r) {
949
- for (var t = "", i = d1(e), a = 0; a < i; a++)
950
- t += r(e[a], a, e, r) || "";
949
+ for (var t = "", a = d1(e), i = 0; i < a; i++)
950
+ t += r(e[i], i, e, r) || "";
951
951
  return t;
952
952
  }
953
- function Pn(e, r, t, i) {
953
+ function Pn(e, r, t, a) {
954
954
  switch (e.type) {
955
955
  case En:
956
956
  if (e.children.length) break;
@@ -960,17 +960,17 @@ function Pn(e, r, t, i) {
960
960
  case tt:
961
961
  return "";
962
962
  case nt:
963
- return e.return = e.value + "{" + Be(e.children, i) + "}";
963
+ return e.return = e.value + "{" + Be(e.children, a) + "}";
964
964
  case l1:
965
965
  e.value = e.props.join(",");
966
966
  }
967
- return me(t = Be(e.children, i)) ? e.return = e.value + "{" + t + "}" : "";
967
+ return me(t = Be(e.children, a)) ? e.return = e.value + "{" + t + "}" : "";
968
968
  }
969
969
  function $n(e) {
970
970
  var r = d1(e);
971
- return function(t, i, a, o) {
971
+ return function(t, a, i, o) {
972
972
  for (var l = "", d = 0; d < r; d++)
973
- l += e[d](t, i, a, o) || "";
973
+ l += e[d](t, a, i, o) || "";
974
974
  return l;
975
975
  };
976
976
  }
@@ -985,29 +985,29 @@ function Bn(e) {
985
985
  return r[t] === void 0 && (r[t] = e(t)), r[t];
986
986
  };
987
987
  }
988
- var zn = function(r, t, i) {
989
- for (var a = 0, o = 0; a = o, o = Ee(), a === 38 && o === 12 && (t[i] = 1), !sr(o); )
988
+ var zn = function(r, t, a) {
989
+ for (var i = 0, o = 0; i = o, o = Ee(), i === 38 && o === 12 && (t[a] = 1), !sr(o); )
990
990
  he();
991
991
  return cr(r, ue);
992
992
  }, Zn = function(r, t) {
993
- var i = -1, a = 44;
993
+ var a = -1, i = 44;
994
994
  do
995
- switch (sr(a)) {
995
+ switch (sr(i)) {
996
996
  case 0:
997
- a === 38 && Ee() === 12 && (t[i] = 1), r[i] += zn(ue - 1, t, i);
997
+ i === 38 && Ee() === 12 && (t[a] = 1), r[a] += zn(ue - 1, t, a);
998
998
  break;
999
999
  case 2:
1000
- r[i] += gr(a);
1000
+ r[a] += gr(i);
1001
1001
  break;
1002
1002
  case 4:
1003
- if (a === 44) {
1004
- r[++i] = Ee() === 58 ? "&\f" : "", t[i] = r[i].length;
1003
+ if (i === 44) {
1004
+ r[++a] = Ee() === 58 ? "&\f" : "", t[a] = r[a].length;
1005
1005
  break;
1006
1006
  }
1007
1007
  default:
1008
- r[i] += Ar(a);
1008
+ r[a] += kr(i);
1009
1009
  }
1010
- while (a = he());
1010
+ while (i = he());
1011
1011
  return r;
1012
1012
  }, Nn = function(r, t) {
1013
1013
  return st(Zn(ot(r), t));
@@ -1015,11 +1015,11 @@ var zn = function(r, t, i) {
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
- for (var t = r.value, i = r.parent, a = r.column === i.column && r.line === i.line; i.type !== "rule"; )
1019
- if (i = i.parent, !i) return;
1020
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !L1.get(i)) && !a) {
1018
+ for (var t = r.value, a = r.parent, i = r.column === a.column && r.line === a.line; a.type !== "rule"; )
1019
+ if (a = a.parent, !a) return;
1020
+ if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !L1.get(a)) && !i) {
1021
1021
  L1.set(r, !0);
1022
- for (var o = [], l = Nn(t, o), d = i.props, c = 0, f = 0; c < l.length; c++)
1022
+ for (var o = [], l = Nn(t, o), d = a.props, c = 0, f = 0; c < l.length; c++)
1023
1023
  for (var g = 0; g < d.length; g++, f++)
1024
1024
  r.props[f] = o[c] ? l[c].replace(/&\f/g, d[g]) : d[g] + " " + l[c];
1025
1025
  }
@@ -1143,7 +1143,7 @@ function lt(e, r) {
1143
1143
  }
1144
1144
  return e;
1145
1145
  }
1146
- var Yn = function(r, t, i, a) {
1146
+ var Yn = function(r, t, a, i) {
1147
1147
  if (r.length > -1 && !r.return) switch (r.type) {
1148
1148
  case c1:
1149
1149
  r.return = lt(r.value, r.length);
@@ -1151,15 +1151,15 @@ var Yn = function(r, t, i, a) {
1151
1151
  case nt:
1152
1152
  return Be([Ke(r, {
1153
1153
  value: D(r.value, "@", "@" + $)
1154
- })], a);
1154
+ })], i);
1155
1155
  case l1:
1156
- if (r.length) return kn(r.props, function(o) {
1156
+ if (r.length) return An(r.props, function(o) {
1157
1157
  switch (Tn(o, /(::plac\w+|:read-\w+)/)) {
1158
1158
  case ":read-only":
1159
1159
  case ":read-write":
1160
1160
  return Be([Ke(r, {
1161
1161
  props: [D(o, /:(read-\w+)/, ":" + Er + "$1")]
1162
- })], a);
1162
+ })], i);
1163
1163
  case "::placeholder":
1164
1164
  return Be([Ke(r, {
1165
1165
  props: [D(o, /:(plac\w+)/, ":" + $ + "input-$1")]
@@ -1167,7 +1167,7 @@ var Yn = function(r, t, i, a) {
1167
1167
  props: [D(o, /:(plac\w+)/, ":" + Er + "$1")]
1168
1168
  }), Ke(r, {
1169
1169
  props: [D(o, /:(plac\w+)/, se + "input-$1")]
1170
- })], a);
1170
+ })], i);
1171
1171
  }
1172
1172
  return "";
1173
1173
  });
@@ -1175,13 +1175,13 @@ var Yn = function(r, t, i, a) {
1175
1175
  }, Un = [Yn], Gn = function(r) {
1176
1176
  var t = r.key;
1177
1177
  if (t === "css") {
1178
- var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
1179
- Array.prototype.forEach.call(i, function(b) {
1178
+ var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
1179
+ Array.prototype.forEach.call(a, function(b) {
1180
1180
  var u = b.getAttribute("data-emotion");
1181
1181
  u.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
1182
1182
  });
1183
1183
  }
1184
- var a = r.stylisPlugins || Un, o = {}, l, d = [];
1184
+ var i = r.stylisPlugins || Un, o = {}, l, d = [];
1185
1185
  l = r.container || document.head, Array.prototype.forEach.call(
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
@@ -1196,7 +1196,7 @@ var Yn = function(r, t, i, a) {
1196
1196
  {
1197
1197
  var g, C = [Pn, Dn(function(b) {
1198
1198
  g.insert(b);
1199
- })], y = $n(f.concat(a, C)), h = function(u) {
1199
+ })], y = $n(f.concat(i, C)), h = function(u) {
1200
1200
  return Be(On(u), y);
1201
1201
  };
1202
1202
  c = function(u, v, S, w) {
@@ -1232,7 +1232,7 @@ var O1;
1232
1232
  function Xn() {
1233
1233
  if (O1) return N;
1234
1234
  O1 = 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, o = 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, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1235
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = 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, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1236
1236
  function w(p) {
1237
1237
  if (typeof p == "object" && p !== null) {
1238
1238
  var _ = p.$$typeof;
@@ -1241,9 +1241,9 @@ function Xn() {
1241
1241
  switch (p = p.type, p) {
1242
1242
  case c:
1243
1243
  case f:
1244
- case i:
1245
- case o:
1246
1244
  case a:
1245
+ case o:
1246
+ case i:
1247
1247
  case C:
1248
1248
  return p;
1249
1249
  default:
@@ -1266,7 +1266,7 @@ function Xn() {
1266
1266
  function R(p) {
1267
1267
  return w(p) === f;
1268
1268
  }
1269
- return N.AsyncMode = c, N.ConcurrentMode = f, N.ContextConsumer = d, N.ContextProvider = l, N.Element = r, N.ForwardRef = g, N.Fragment = i, N.Lazy = M, N.Memo = h, N.Portal = t, N.Profiler = o, N.StrictMode = a, N.Suspense = C, N.isAsyncMode = function(p) {
1269
+ return N.AsyncMode = c, N.ConcurrentMode = f, N.ContextConsumer = d, N.ContextProvider = l, N.Element = r, N.ForwardRef = g, N.Fragment = a, N.Lazy = M, N.Memo = h, N.Portal = t, N.Profiler = o, N.StrictMode = i, N.Suspense = C, N.isAsyncMode = function(p) {
1270
1270
  return R(p) || w(p) === c;
1271
1271
  }, N.isConcurrentMode = R, N.isContextConsumer = function(p) {
1272
1272
  return w(p) === d;
@@ -1277,7 +1277,7 @@ function Xn() {
1277
1277
  }, N.isForwardRef = function(p) {
1278
1278
  return w(p) === g;
1279
1279
  }, N.isFragment = function(p) {
1280
- return w(p) === i;
1280
+ return w(p) === a;
1281
1281
  }, N.isLazy = function(p) {
1282
1282
  return w(p) === M;
1283
1283
  }, N.isMemo = function(p) {
@@ -1287,11 +1287,11 @@ function Xn() {
1287
1287
  }, N.isProfiler = function(p) {
1288
1288
  return w(p) === o;
1289
1289
  }, N.isStrictMode = function(p) {
1290
- return w(p) === a;
1290
+ return w(p) === i;
1291
1291
  }, N.isSuspense = function(p) {
1292
1292
  return w(p) === C;
1293
1293
  }, N.isValidElementType = function(p) {
1294
- return typeof p == "string" || typeof p == "function" || p === i || p === f || p === o || p === a || p === C || p === y || typeof p == "object" && p !== null && (p.$$typeof === M || p.$$typeof === h || p.$$typeof === l || p.$$typeof === d || p.$$typeof === g || p.$$typeof === u || p.$$typeof === v || p.$$typeof === S || p.$$typeof === b);
1294
+ return typeof p == "string" || typeof p == "function" || p === a || p === f || p === o || p === i || p === C || p === y || typeof p == "object" && p !== null && (p.$$typeof === M || p.$$typeof === h || p.$$typeof === l || p.$$typeof === d || p.$$typeof === g || p.$$typeof === u || p.$$typeof === v || p.$$typeof === S || p.$$typeof === b);
1295
1295
  }, N.typeOf = w, N;
1296
1296
  }
1297
1297
  var W = {};
@@ -1306,10 +1306,10 @@ var W = {};
1306
1306
  var V1;
1307
1307
  function qn() {
1308
1308
  return V1 || (V1 = 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, o = 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, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1309
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, o = 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, g = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
1310
1310
  function w(T) {
1311
1311
  return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1312
- T === i || T === f || T === o || T === a || T === C || T === y || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === h || T.$$typeof === l || T.$$typeof === d || T.$$typeof === g || T.$$typeof === u || T.$$typeof === v || T.$$typeof === S || T.$$typeof === b);
1312
+ T === a || T === f || T === o || T === i || T === C || T === y || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === h || T.$$typeof === l || T.$$typeof === d || T.$$typeof === g || T.$$typeof === u || T.$$typeof === v || T.$$typeof === S || T.$$typeof === b);
1313
1313
  }
1314
1314
  function R(T) {
1315
1315
  if (typeof T == "object" && T !== null) {
@@ -1320,9 +1320,9 @@ function qn() {
1320
1320
  switch (Oe) {
1321
1321
  case c:
1322
1322
  case f:
1323
- case i:
1324
- case o:
1325
1323
  case a:
1324
+ case o:
1325
+ case i:
1326
1326
  case C:
1327
1327
  return Oe;
1328
1328
  default:
@@ -1343,9 +1343,9 @@ function qn() {
1343
1343
  }
1344
1344
  }
1345
1345
  }
1346
- var p = c, _ = f, k = d, j = l, I = r, Q = g, X = i, Y = M, P = h, K = t, oe = o, ke = a, z = C, A = !1;
1346
+ var p = c, _ = f, A = d, j = l, I = r, Q = g, X = a, Y = M, P = h, K = t, oe = o, Ae = i, z = C, k = !1;
1347
1347
  function G(T) {
1348
- return A || (A = !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.")), re(T) || R(T) === c;
1348
+ return k || (k = !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.")), re(T) || R(T) === c;
1349
1349
  }
1350
1350
  function re(T) {
1351
1351
  return R(T) === f;
@@ -1363,7 +1363,7 @@ function qn() {
1363
1363
  return R(T) === g;
1364
1364
  }
1365
1365
  function Lr(T) {
1366
- return R(T) === i;
1366
+ return R(T) === a;
1367
1367
  }
1368
1368
  function We(T) {
1369
1369
  return R(T) === M;
@@ -1378,12 +1378,12 @@ function qn() {
1378
1378
  return R(T) === o;
1379
1379
  }
1380
1380
  function Le(T) {
1381
- return R(T) === a;
1381
+ return R(T) === i;
1382
1382
  }
1383
1383
  function Or(T) {
1384
1384
  return R(T) === C;
1385
1385
  }
1386
- W.AsyncMode = p, W.ConcurrentMode = _, W.ContextConsumer = k, W.ContextProvider = j, W.Element = I, W.ForwardRef = Q, W.Fragment = X, W.Lazy = Y, W.Memo = P, W.Portal = K, W.Profiler = oe, W.StrictMode = ke, W.Suspense = z, W.isAsyncMode = G, W.isConcurrentMode = re, W.isContextConsumer = le, W.isContextProvider = Se, W.isElement = ve, W.isForwardRef = Hr, W.isFragment = Lr, W.isLazy = We, W.isMemo = je, W.isPortal = He, W.isProfiler = Ye, W.isStrictMode = Le, W.isSuspense = Or, W.isValidElementType = w, W.typeOf = R;
1386
+ W.AsyncMode = p, W.ConcurrentMode = _, W.ContextConsumer = A, W.ContextProvider = j, W.Element = I, W.ForwardRef = Q, W.Fragment = X, W.Lazy = Y, W.Memo = P, W.Portal = K, W.Profiler = oe, W.StrictMode = Ae, W.Suspense = z, W.isAsyncMode = G, W.isConcurrentMode = re, W.isContextConsumer = le, W.isContextProvider = Se, W.isElement = ve, W.isForwardRef = Hr, W.isFragment = Lr, W.isLazy = We, W.isMemo = je, W.isPortal = He, W.isProfiler = Ye, W.isStrictMode = Le, W.isSuspense = Or, W.isValidElementType = w, W.typeOf = R;
1387
1387
  }()), W;
1388
1388
  }
1389
1389
  process.env.NODE_ENV === "production" ? Jr.exports = Xn() : Jr.exports = qn();
@@ -1405,47 +1405,47 @@ dt[ct.ForwardRef] = Kn;
1405
1405
  dt[ct.Memo] = Qn;
1406
1406
  var ei = !0;
1407
1407
  function ri(e, r, t) {
1408
- var i = "";
1409
- return t.split(" ").forEach(function(a) {
1410
- e[a] !== void 0 ? r.push(e[a] + ";") : a && (i += a + " ");
1411
- }), i;
1408
+ var a = "";
1409
+ return t.split(" ").forEach(function(i) {
1410
+ e[i] !== void 0 ? r.push(e[i] + ";") : i && (a += i + " ");
1411
+ }), a;
1412
1412
  }
1413
- var pt = function(r, t, i) {
1414
- var a = r.key + "-" + t.name;
1413
+ var pt = function(r, t, a) {
1414
+ var i = 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
1417
1417
  // the tree but if it's a string tag, we know it won't
1418
1418
  // so we don't have to add it to registered cache.
1419
1419
  // this improves memory usage since we can avoid storing the whole style string
1420
- (i === !1 || // we need to always store it if we're in compat mode and
1420
+ (a === !1 || // we need to always store it if we're in compat mode and
1421
1421
  // in node since emotion-server relies on whether a style is in
1422
1422
  // the registered cache to know whether a style is global or not
1423
1423
  // also, note that this check will be dead code eliminated in the browser
1424
- ei === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
1425
- }, ti = function(r, t, i) {
1426
- pt(r, t, i);
1427
- var a = r.key + "-" + t.name;
1424
+ ei === !1) && r.registered[i] === void 0 && (r.registered[i] = t.styles);
1425
+ }, ti = function(r, t, a) {
1426
+ pt(r, t, a);
1427
+ var i = r.key + "-" + t.name;
1428
1428
  if (r.inserted[t.name] === void 0) {
1429
1429
  var o = t;
1430
1430
  do
1431
- r.insert(t === o ? "." + a : "", o, r.sheet, !0), o = o.next;
1431
+ r.insert(t === o ? "." + i : "", o, r.sheet, !0), o = o.next;
1432
1432
  while (o !== void 0);
1433
1433
  }
1434
1434
  };
1435
1435
  function ni(e) {
1436
- for (var r = 0, t, i = 0, a = e.length; a >= 4; ++i, a -= 4)
1437
- t = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, t = /* Math.imul(k, m): */
1436
+ for (var r = 0, t, a = 0, i = e.length; i >= 4; ++a, i -= 4)
1437
+ t = e.charCodeAt(a) & 255 | (e.charCodeAt(++a) & 255) << 8 | (e.charCodeAt(++a) & 255) << 16 | (e.charCodeAt(++a) & 255) << 24, t = /* Math.imul(k, m): */
1438
1438
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
1439
1439
  t >>> 24, r = /* Math.imul(k, m): */
1440
1440
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1441
1441
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1442
- switch (a) {
1442
+ switch (i) {
1443
1443
  case 3:
1444
- r ^= (e.charCodeAt(i + 2) & 255) << 16;
1444
+ r ^= (e.charCodeAt(a + 2) & 255) << 16;
1445
1445
  case 2:
1446
- r ^= (e.charCodeAt(i + 1) & 255) << 8;
1446
+ r ^= (e.charCodeAt(a + 1) & 255) << 8;
1447
1447
  case 1:
1448
- r ^= e.charCodeAt(i) & 255, r = /* Math.imul(h, m): */
1448
+ r ^= e.charCodeAt(a) & 255, r = /* Math.imul(h, m): */
1449
1449
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
1450
1450
  }
1451
1451
  return r ^= r >>> 13, r = /* Math.imul(h, m): */
@@ -1511,12 +1511,12 @@ var ii = {
1511
1511
  case "animation":
1512
1512
  case "animationName":
1513
1513
  if (typeof t == "string")
1514
- return t.replace(si, function(i, a, o) {
1514
+ return t.replace(si, function(a, i, o) {
1515
1515
  return we = {
1516
- name: a,
1516
+ name: i,
1517
1517
  styles: o,
1518
1518
  next: we
1519
- }, a;
1519
+ }, i;
1520
1520
  });
1521
1521
  }
1522
1522
  return ii[r] !== 1 && !ut(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
@@ -1524,20 +1524,20 @@ var ii = {
1524
1524
  function lr(e, r, t) {
1525
1525
  if (t == null)
1526
1526
  return "";
1527
- var i = t;
1528
- if (i.__emotion_styles !== void 0)
1529
- return i;
1527
+ var a = t;
1528
+ if (a.__emotion_styles !== void 0)
1529
+ return a;
1530
1530
  switch (typeof t) {
1531
1531
  case "boolean":
1532
1532
  return "";
1533
1533
  case "object": {
1534
- var a = t;
1535
- if (a.anim === 1)
1534
+ var i = t;
1535
+ if (i.anim === 1)
1536
1536
  return we = {
1537
- name: a.name,
1538
- styles: a.styles,
1537
+ name: i.name,
1538
+ styles: i.styles,
1539
1539
  next: we
1540
- }, a.name;
1540
+ }, i.name;
1541
1541
  var o = t;
1542
1542
  if (o.styles !== void 0) {
1543
1543
  var l = o.next;
@@ -1565,63 +1565,63 @@ function lr(e, r, t) {
1565
1565
  return g;
1566
1566
  }
1567
1567
  function ci(e, r, t) {
1568
- var i = "";
1568
+ var a = "";
1569
1569
  if (Array.isArray(t))
1570
- for (var a = 0; a < t.length; a++)
1571
- i += lr(e, r, t[a]) + ";";
1570
+ for (var i = 0; i < t.length; i++)
1571
+ a += lr(e, r, t[i]) + ";";
1572
1572
  else
1573
1573
  for (var o in t) {
1574
1574
  var l = t[o];
1575
1575
  if (typeof l != "object") {
1576
1576
  var d = l;
1577
- P1(d) && (i += Zr(o) + ":" + $1(o, d) + ";");
1577
+ P1(d) && (a += Zr(o) + ":" + $1(o, d) + ";");
1578
1578
  } else {
1579
1579
  if (o === "NO_COMPONENT_SELECTOR" && ai)
1580
1580
  throw new Error(li);
1581
1581
  if (Array.isArray(l) && typeof l[0] == "string" && r == null)
1582
1582
  for (var c = 0; c < l.length; c++)
1583
- P1(l[c]) && (i += Zr(o) + ":" + $1(o, l[c]) + ";");
1583
+ P1(l[c]) && (a += Zr(o) + ":" + $1(o, l[c]) + ";");
1584
1584
  else {
1585
1585
  var f = lr(e, r, l);
1586
1586
  switch (o) {
1587
1587
  case "animation":
1588
1588
  case "animationName": {
1589
- i += Zr(o) + ":" + f + ";";
1589
+ a += Zr(o) + ":" + f + ";";
1590
1590
  break;
1591
1591
  }
1592
1592
  default:
1593
- i += o + "{" + f + "}";
1593
+ a += o + "{" + f + "}";
1594
1594
  }
1595
1595
  }
1596
1596
  }
1597
1597
  }
1598
- return i;
1598
+ return a;
1599
1599
  }
1600
1600
  var D1 = /label:\s*([^\s;{]+)\s*(;|$)/g, we;
1601
1601
  function di(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
- var i = !0, a = "";
1604
+ var a = !0, i = "";
1605
1605
  we = void 0;
1606
1606
  var o = e[0];
1607
1607
  if (o == null || o.raw === void 0)
1608
- i = !1, a += lr(t, r, o);
1608
+ a = !1, i += lr(t, r, o);
1609
1609
  else {
1610
1610
  var l = o;
1611
- a += l[0];
1611
+ i += l[0];
1612
1612
  }
1613
1613
  for (var d = 1; d < e.length; d++)
1614
- if (a += lr(t, r, e[d]), i) {
1614
+ if (i += lr(t, r, e[d]), a) {
1615
1615
  var c = o;
1616
- a += c[d];
1616
+ i += c[d];
1617
1617
  }
1618
1618
  D1.lastIndex = 0;
1619
- for (var f = "", g; (g = D1.exec(a)) !== null; )
1619
+ for (var f = "", g; (g = D1.exec(i)) !== null; )
1620
1620
  f += "-" + g[1];
1621
- var C = ni(a) + f;
1621
+ var C = ni(i) + f;
1622
1622
  return {
1623
1623
  name: C,
1624
- styles: a,
1624
+ styles: i,
1625
1625
  next: we
1626
1626
  };
1627
1627
  }
@@ -1640,26 +1640,26 @@ var pi = function(r) {
1640
1640
  );
1641
1641
  ft.Provider;
1642
1642
  var gi = function(r) {
1643
- return /* @__PURE__ */ xe(function(t, i) {
1644
- var a = Te(ft);
1645
- return r(t, a, i);
1643
+ return /* @__PURE__ */ xe(function(t, a) {
1644
+ var i = Te(ft);
1645
+ return r(t, i, a);
1646
1646
  });
1647
1647
  }, xi = /* @__PURE__ */ Re.createContext({}), Ir = {}.hasOwnProperty, Kr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ht = function(r, t) {
1648
- var i = {};
1649
- for (var a in t)
1650
- Ir.call(t, a) && (i[a] = t[a]);
1651
- return i[Kr] = r, i;
1648
+ var a = {};
1649
+ for (var i in t)
1650
+ Ir.call(t, i) && (a[i] = t[i]);
1651
+ return a[Kr] = r, a;
1652
1652
  }, Ci = function(r) {
1653
- var t = r.cache, i = r.serialized, a = r.isStringTag;
1654
- return pt(t, i, a), fi(function() {
1655
- return ti(t, i, a);
1653
+ var t = r.cache, a = r.serialized, i = r.isStringTag;
1654
+ return pt(t, a, i), fi(function() {
1655
+ return ti(t, a, i);
1656
1656
  }), null;
1657
1657
  }, bi = /* @__PURE__ */ gi(
1658
1658
  /* <any, any> */
1659
1659
  function(e, r, t) {
1660
- var i = e.css;
1661
- typeof i == "string" && r.registered[i] !== void 0 && (i = r.registered[i]);
1662
- var a = e[Kr], o = [i], l = "";
1660
+ var a = e.css;
1661
+ typeof a == "string" && r.registered[a] !== void 0 && (a = r.registered[a]);
1662
+ var i = e[Kr], o = [a], l = "";
1663
1663
  typeof e.className == "string" ? l = ri(r.registered, o, e.className) : e.className != null && (l = e.className + " ");
1664
1664
  var d = di(o, void 0, Re.useContext(xi));
1665
1665
  l += r.key + "-" + d.name;
@@ -1669,8 +1669,8 @@ var gi = function(r) {
1669
1669
  return c.className = l, t && (c.ref = t), /* @__PURE__ */ Re.createElement(Re.Fragment, null, /* @__PURE__ */ Re.createElement(Ci, {
1670
1670
  cache: r,
1671
1671
  serialized: d,
1672
- isStringTag: typeof a == "string"
1673
- }), /* @__PURE__ */ Re.createElement(a, c));
1672
+ isStringTag: typeof i == "string"
1673
+ }), /* @__PURE__ */ Re.createElement(i, c));
1674
1674
  }
1675
1675
  ), gt = bi, be = ar.Fragment;
1676
1676
  function n(e, r, t) {
@@ -1686,10 +1686,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
1686
1686
  ), t = de(
1687
1687
  (l) => l || e.primary.contrastText,
1688
1688
  [e.primary.contrastText]
1689
- ), i = de(
1689
+ ), a = de(
1690
1690
  (l) => l || e.text.primary,
1691
1691
  [e.text.primary]
1692
- ), a = de(async (l, d, c) => {
1692
+ ), i = de(async (l, d, c) => {
1693
1693
  if (c)
1694
1694
  return import("./tracktor-logo-BZpNIZuZ.js");
1695
1695
  switch (l) {
@@ -1722,14 +1722,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
1722
1722
  []
1723
1723
  );
1724
1724
  return {
1725
- getImageModule: a,
1726
- getShapeBackgroundColor: i,
1725
+ getImageModule: i,
1726
+ getShapeBackgroundColor: a,
1727
1727
  getShapeColor: t,
1728
1728
  getSize: o,
1729
1729
  getTextColor: r
1730
1730
  };
1731
- }, Ri = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: d, variant: c = "default", component: f = "img" }, g) => {
1732
- const [C, y] = ae(""), { palette: h } = ge(), { getTextColor: M, getImageModule: b, getSize: u, getShapeColor: v, getShapeBackgroundColor: S } = Si(), { height: w, width: R } = u({ height: i, variant: c, width: a, withoutText: o }), p = M(t), _ = v(e), k = S(r);
1731
+ }, Ri = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: a, width: i, withoutText: o, mode: l, sx: d, variant: c = "default", component: f = "img" }, g) => {
1732
+ const [C, y] = ae(""), { palette: h } = ge(), { getTextColor: M, getImageModule: b, getSize: u, getShapeColor: v, getShapeBackgroundColor: S } = Si(), { height: w, width: R } = u({ height: a, variant: c, width: i, withoutText: o }), p = M(t), _ = v(e), A = S(r);
1733
1733
  if (Rr(() => {
1734
1734
  f !== "svg" && (async () => {
1735
1735
  const j = await b(c, l || h.mode, o);
@@ -1885,7 +1885,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
1885
1885
  "path",
1886
1886
  {
1887
1887
  d: "M0 3C0 1.34315 1.34315 0 3 0H21C22.6569 0 24 1.34315 24 3V21C24 22.6569 22.6569 24 21 24H3C1.34315 24 0 22.6569 0 21V3Z",
1888
- fill: k
1888
+ fill: A
1889
1889
  }
1890
1890
  ),
1891
1891
  /* @__PURE__ */ E("g", { clipPath: "url(#clip0_14141_226706)", children: [
@@ -1999,7 +1999,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
1999
1999
  "path",
2000
2000
  {
2001
2001
  d: "M0 3C0 1.34315 1.34315 0 3 0H21C22.6569 0 24 1.34315 24 3V21C24 22.6569 22.6569 24 21 24H3C1.34315 24 0 22.6569 0 21V3Z",
2002
- fill: k
2002
+ fill: A
2003
2003
  }
2004
2004
  ),
2005
2005
  /* @__PURE__ */ E("g", { clipPath: "url(#clip0_14141_226601)", children: [
@@ -2094,7 +2094,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2094
2094
  ]
2095
2095
  }
2096
2096
  );
2097
- }, Ti = xe(Ri), Ma = ({ component: e = "a", ...r }) => /* @__PURE__ */ n(Yt, { component: e, onClick: (t) => t.preventDefault(), ...r }), ki = ({ children: e, sx: r, ...t }, i) => /* @__PURE__ */ n(
2097
+ }, Ti = xe(Ri), Ma = ({ component: e = "a", ...r }) => /* @__PURE__ */ n(Yt, { component: e, onClick: (t) => t.preventDefault(), ...r }), Ai = ({ children: e, sx: r, ...t }, a) => /* @__PURE__ */ n(
2098
2098
  t1,
2099
2099
  {
2100
2100
  sx: {
@@ -2110,11 +2110,11 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2110
2110
  width: "100%",
2111
2111
  ...r
2112
2112
  },
2113
- ref: i,
2113
+ ref: a,
2114
2114
  ...t,
2115
2115
  children: e
2116
2116
  }
2117
- ), Sa = xe(ki), Ai = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
2117
+ ), Sa = xe(Ai), ki = ({ className: e, style: r, minRows: t = 4, ...a }, i) => {
2118
2118
  const { palette: o, shape: l, spacing: d } = ge();
2119
2119
  return /* @__PURE__ */ E(be, { children: [
2120
2120
  /* @__PURE__ */ n(
@@ -2134,7 +2134,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2134
2134
  Ut,
2135
2135
  {
2136
2136
  className: [e, "MuiTextArea"].join(" ").trim(),
2137
- ref: a,
2137
+ ref: i,
2138
2138
  minRows: t,
2139
2139
  style: {
2140
2140
  backgroundColor: "transparent",
@@ -2147,27 +2147,27 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2147
2147
  padding: d(1),
2148
2148
  ...r
2149
2149
  },
2150
- ...i
2150
+ ...a
2151
2151
  }
2152
2152
  )
2153
2153
  ] });
2154
- }, Ra = xe(Ai), Ta = ({ fullWidth: e, value: r, setValue: t, min: i = 1, max: a = 50, ...o }) => /* @__PURE__ */ n(
2154
+ }, Ra = xe(ki), Ta = ({ fullWidth: e, value: r, setValue: t, min: a = 1, max: i = 50, ...o }) => /* @__PURE__ */ n(
2155
2155
  n1,
2156
2156
  {
2157
2157
  onChange: (C) => {
2158
2158
  const { target: y } = C, h = +y.value;
2159
- h <= a && h >= i && (t == null || t(h));
2159
+ h <= i && h >= a && (t == null || t(h));
2160
2160
  },
2161
2161
  autoComplete: "off",
2162
2162
  InputProps: {
2163
- endAdornment: /* @__PURE__ */ n(br, { position: "end", children: /* @__PURE__ */ n(Ae, { disabled: r === a, onClick: () => {
2163
+ endAdornment: /* @__PURE__ */ n(br, { position: "end", children: /* @__PURE__ */ n(ke, { disabled: r === i, onClick: () => {
2164
2164
  const C = Number(r) + 1;
2165
- t == null || t(C <= a ? C : Number(r));
2165
+ t == null || t(C <= i ? C : Number(r));
2166
2166
  }, size: "small", "aria-label": "increment", children: /* @__PURE__ */ n(Me, { 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
- startAdornment: /* @__PURE__ */ n(br, { position: "start", children: /* @__PURE__ */ n(Ae, { onClick: () => {
2167
+ startAdornment: /* @__PURE__ */ n(br, { position: "start", children: /* @__PURE__ */ n(ke, { onClick: () => {
2168
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(Me, { 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" }) }) }) }),
2169
+ t == null || t(C >= a ? C : Number(r));
2170
+ }, disabled: r === a || r === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ n(Me, { 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",
@@ -2186,17 +2186,17 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
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
  ) }), _i = () => {
2189
- const { openDrawerMenu: e, AppBar: r } = Te(Ne), { palette: t } = ge(), i = t.mode === "dark" ? t.background.default : t.primary.black, a = r && s1(r, { onClickBurger: e });
2190
- return r ? a : /* @__PURE__ */ n(
2189
+ const { openDrawerMenu: e, AppBar: r } = Te(Ne), { palette: t } = ge(), a = t.mode === "dark" ? t.background.default : t.primary.black, i = r && s1(r, { onClickBurger: e });
2190
+ return r ? i : /* @__PURE__ */ n(
2191
2191
  Wr,
2192
2192
  {
2193
2193
  position: "fixed",
2194
2194
  elevation: 0,
2195
2195
  sx: {
2196
- background: i,
2197
- borderBottom: ({ palette: o }) => `1px solid ${o.mode === "dark" ? o.divider : i}`
2196
+ background: a,
2197
+ borderBottom: ({ palette: o }) => `1px solid ${o.mode === "dark" ? o.divider : a}`
2198
2198
  },
2199
- children: /* @__PURE__ */ n(Gt, { component: B, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(Ae, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(xt, {}) }) })
2199
+ children: /* @__PURE__ */ n(Gt, { component: B, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(ke, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(xt, {}) }) })
2200
2200
  }
2201
2201
  );
2202
2202
  }, p1 = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(
@@ -2210,9 +2210,9 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2210
2210
  width: 24,
2211
2211
  children: /* @__PURE__ */ n("path", { d: "M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z" })
2212
2212
  }
2213
- ), u1 = ({ url: e, end: r, children: t, active: i, state: a, component: o, disabled: l }) => {
2213
+ ), u1 = ({ url: e, end: r, children: t, active: a, state: i, component: o, disabled: l }) => {
2214
2214
  const { closeDrawerMenu: d } = Te(Ne);
2215
- return l ? /* @__PURE__ */ n(q, { component: "div", color: "text.disabled", "aria-disabled": "true", children: t }) : o ? /* @__PURE__ */ n(o, { onClick: d, to: e || "#", end: r, state: a, children: t }) : /* @__PURE__ */ n(L, { component: "a", href: e, onClick: d, className: i ? "active" : void 0, "data-end": r, "data-state": a, children: t });
2215
+ return l ? /* @__PURE__ */ n(q, { component: "div", color: "text.disabled", "aria-disabled": "true", children: t }) : o ? /* @__PURE__ */ n(o, { onClick: d, to: e || "#", end: r, state: i, children: t }) : /* @__PURE__ */ n(L, { component: "a", href: e, onClick: d, className: a ? "active" : void 0, "data-end": r, "data-state": i, children: t });
2216
2216
  }, Qe = {
2217
2217
  bottomLink: {
2218
2218
  "& a": {
@@ -2270,8 +2270,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2270
2270
  }, z1 = ({ children: e, ...r }) => {
2271
2271
  const {
2272
2272
  hideSearchDesktop: t,
2273
- closeDrawerMenu: i,
2274
- isMobile: a,
2273
+ closeDrawerMenu: a,
2274
+ isMobile: i,
2275
2275
  isTablet: o,
2276
2276
  isDrawerOpen: l,
2277
2277
  sideBarWidth: d,
@@ -2280,7 +2280,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2280
2280
  Footer: g,
2281
2281
  Search: C = r.Logo,
2282
2282
  Logo: y = r.Logo
2283
- } = Te(Ne), { palette: h } = ge(), M = h.mode === "dark" ? h.background.default : h.primary.black, b = a && l ? "none" : `solid 1px ${h.divider}`, v = t ? !(!a && !o) : !0;
2283
+ } = Te(Ne), { palette: h } = ge(), M = h.mode === "dark" ? h.background.default : h.primary.black, b = i && l ? "none" : `solid 1px ${h.divider}`, v = t ? !(!i && !o) : !0;
2284
2284
  return /* @__PURE__ */ E(
2285
2285
  L,
2286
2286
  {
@@ -2288,7 +2288,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2288
2288
  ...Qe.container,
2289
2289
  borderRight: b,
2290
2290
  overflowX: "auto",
2291
- width: a ? "100%" : d || "auto"
2291
+ width: i ? "100%" : d || "auto"
2292
2292
  },
2293
2293
  component: "aside",
2294
2294
  children: [
@@ -2308,7 +2308,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2308
2308
  {
2309
2309
  sx: {
2310
2310
  ...Qe.logo,
2311
- ...a && {
2311
+ ...i && {
2312
2312
  "& svg, & img": {
2313
2313
  ...Qe.logo["& svg, & img"],
2314
2314
  maxHeight: 25,
@@ -2319,7 +2319,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2319
2319
  children: y
2320
2320
  }
2321
2321
  ),
2322
- a && /* @__PURE__ */ n(Ae, { onClick: i, children: /* @__PURE__ */ n(p1, { color: h.getContrastText(M) }) })
2322
+ i && /* @__PURE__ */ n(ke, { onClick: a, children: /* @__PURE__ */ n(p1, { color: h.getContrastText(M) }) })
2323
2323
  ]
2324
2324
  }
2325
2325
  ),
@@ -2376,12 +2376,15 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2376
2376
  mt: 3
2377
2377
  }
2378
2378
  }, Z1 = ({ items: e, ...r }) => {
2379
- const { NavLink: t = r.NavLink, isMobile: i } = Te(Ne);
2380
- return /* @__PURE__ */ n(L, { px: 2, component: "nav", children: /* @__PURE__ */ n(yr, { sx: { ...Fi.list }, children: e == null ? void 0 : e.filter((a) => !(a && typeof a == "object" && "hideOnMobile" in a && i && a.hideOnMobile)).map((a, o) => {
2381
- if (Tr(a))
2382
- return a;
2383
- if (a && typeof a == "object" && "label" in a) {
2384
- const { count: l, url: d, label: c, icon: f, active: g, disabled: C } = a, y = `${d}-${c}-${o}`;
2379
+ const { NavLink: t = r.NavLink, isMobile: a } = Te(Ne);
2380
+ return /* @__PURE__ */ n(L, { px: 2, component: "nav", children: /* @__PURE__ */ n(yr, { sx: { ...Fi.list }, children: e == null ? void 0 : e.filter((i) => {
2381
+ const o = !(i && typeof i == "object" && "hideOnMobile" in i && a && i.hideOnMobile), l = !(i && typeof i == "object" && "hasAccess" in i && !i.hasAccess);
2382
+ return o && l;
2383
+ }).map((i, o) => {
2384
+ if (Tr(i))
2385
+ return i;
2386
+ if (i && typeof i == "object" && "label" in i) {
2387
+ const { count: l, url: d, label: c, icon: f, active: g, disabled: C } = i, y = `${d}-${c}-${o}`;
2385
2388
  return /* @__PURE__ */ n(_e, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(u1, { url: d, component: t, active: g, disabled: C, children: /* @__PURE__ */ E(B, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
2386
2389
  f && /* @__PURE__ */ n(L, { component: "span", display: "flex", alignItems: "center", children: f }),
2387
2390
  /* @__PURE__ */ E(B, { direction: "row", justifyContent: "space-between", flex: 1, children: [
@@ -2401,17 +2404,17 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2401
2404
  openDrawerMenu: () => {
2402
2405
  }
2403
2406
  }, Ne = Sr(Ct), Ii = () => {
2404
- const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: d } = Te(Ne);
2405
- return (t || i) && !r ? /* @__PURE__ */ E(be, { children: [
2407
+ const { items: e, disableResponsive: r, isMobile: t, isTablet: a, isDrawerOpen: i, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: d } = Te(Ne);
2408
+ return (t || a) && !r ? /* @__PURE__ */ E(be, { children: [
2406
2409
  /* @__PURE__ */ n(_i, {}),
2407
- /* @__PURE__ */ n(Xt, { anchor: "left", open: a, onClose: o, onOpen: d, children: /* @__PURE__ */ n(z1, { children: /* @__PURE__ */ n(Z1, { items: e }) }) })
2410
+ /* @__PURE__ */ n(Xt, { anchor: "left", open: i, onClose: o, onOpen: d, children: /* @__PURE__ */ n(z1, { children: /* @__PURE__ */ n(Z1, { items: e }) }) })
2408
2411
  ] }) : /* @__PURE__ */ n(z1, { width: l, children: /* @__PURE__ */ n(Z1, { items: e }) });
2409
2412
  }, Hi = ({
2410
2413
  AppBar: e,
2411
2414
  NavLink: r,
2412
2415
  Search: t,
2413
- Logo: i,
2414
- Footer: a,
2416
+ Logo: a,
2417
+ Footer: i,
2415
2418
  items: o,
2416
2419
  enableSearchFocusShortcut: l,
2417
2420
  disableResponsive: d,
@@ -2423,20 +2426,20 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2423
2426
  b(!1);
2424
2427
  }, []), v = de(() => {
2425
2428
  b(!0);
2426
- }, []), S = kr(
2429
+ }, []), S = Ar(
2427
2430
  () => ({
2428
2431
  AppBar: e,
2429
2432
  bottomLink: f,
2430
2433
  closeDrawerMenu: u,
2431
2434
  disableResponsive: d,
2432
2435
  enableSearchFocusShortcut: l,
2433
- Footer: a,
2436
+ Footer: i,
2434
2437
  hideSearchDesktop: c,
2435
2438
  isDrawerOpen: M,
2436
2439
  isMobile: y,
2437
2440
  isTablet: h,
2438
2441
  items: o,
2439
- Logo: i,
2442
+ Logo: a,
2440
2443
  NavLink: r,
2441
2444
  openDrawerMenu: v,
2442
2445
  Search: t,
@@ -2451,22 +2454,22 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2451
2454
  o,
2452
2455
  v,
2453
2456
  g,
2454
- i,
2457
+ a,
2455
2458
  r,
2456
2459
  l,
2457
2460
  t,
2458
2461
  c,
2459
2462
  f,
2460
2463
  e,
2461
- a
2464
+ i
2462
2465
  ]
2463
2466
  );
2464
2467
  return /* @__PURE__ */ n(Ne.Provider, { value: S, children: /* @__PURE__ */ n(Ii, {}) });
2465
- }, ka = et(Hi), Li = "No data", N1 = {
2468
+ }, Aa = et(Hi), Li = "No data", N1 = {
2466
2469
  large: 80,
2467
2470
  medium: 50,
2468
2471
  small: 40
2469
- }, Oi = ({ children: e, ...r }, t) => /* @__PURE__ */ n(t1, { component: "li", ref: t, ...r, children: e }), Vi = xe(Oi), Pi = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: i, sx: a, height: o, onClick: l, size: d = "medium", ...c }, f) => t ? /* @__PURE__ */ n(fe, { width: "100%", variant: "rounded", height: o || N1[d], sx: { marginBottom: 1 }, ref: f, component: "li" }) : r ? /* @__PURE__ */ n(_e, { disablePadding: !0, children: /* @__PURE__ */ n(i1, { severity: "info", sx: { width: "100%" }, ref: f, children: i || Li }) }) : /* @__PURE__ */ n(
2472
+ }, Oi = ({ children: e, ...r }, t) => /* @__PURE__ */ n(t1, { component: "li", ref: t, ...r, children: e }), Vi = xe(Oi), Pi = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: a, sx: i, height: o, onClick: l, size: d = "medium", ...c }, f) => t ? /* @__PURE__ */ n(fe, { width: "100%", variant: "rounded", height: o || N1[d], sx: { marginBottom: 1 }, ref: f, component: "li" }) : r ? /* @__PURE__ */ n(_e, { disablePadding: !0, children: /* @__PURE__ */ n(i1, { severity: "info", sx: { width: "100%" }, ref: f, children: a || Li }) }) : /* @__PURE__ */ n(
2470
2473
  _e,
2471
2474
  {
2472
2475
  component: Vi,
@@ -2485,23 +2488,23 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2485
2488
  },
2486
2489
  cursor: "pointer"
2487
2490
  },
2488
- ...a
2491
+ ...i
2489
2492
  },
2490
2493
  ...c,
2491
2494
  children: /* @__PURE__ */ n(L, { flex: "auto", minWidth: 0, children: e })
2492
2495
  }
2493
- ), Aa = et(xe(Pi)), $i = ["warning", "info", "success", "error", "primary", "secondary"], Di = (e) => $i.includes(e), Bi = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
2496
+ ), ka = et(xe(Pi)), $i = ["warning", "info", "success", "error", "primary", "secondary"], Di = (e) => $i.includes(e), Bi = ({ color: e, sx: r, variant: t = "filled", fontSize: a = "medium" }, i) => {
2494
2497
  var g;
2495
2498
  const { palette: o } = ge(), l = o.mode === "dark" ? o.text.disabled : o.grey[400], d = e || l, c = Di(e) ? (g = o == null ? void 0 : o[e]) == null ? void 0 : g.main : d, f = ye(c, 0.2);
2496
2499
  return /* @__PURE__ */ E(
2497
2500
  Me,
2498
2501
  {
2499
2502
  viewBox: "0 0 16 16",
2500
- ref: a,
2501
- fontSize: i,
2503
+ ref: i,
2504
+ fontSize: a,
2502
2505
  sx: {
2503
- ...i === "small" && { fontSize: 16 },
2504
- ...i === "large" && { fontSize: 32 },
2506
+ ...a === "small" && { fontSize: 16 },
2507
+ ...a === "large" && { fontSize: 32 },
2505
2508
  ...r
2506
2509
  },
2507
2510
  children: [
@@ -2539,17 +2542,17 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2539
2542
  children: e,
2540
2543
  isLoading: r,
2541
2544
  loadingIndicator: t,
2542
- loadingPosition: i,
2543
- size: a,
2545
+ loadingPosition: a,
2546
+ size: i,
2544
2547
  startIcon: o,
2545
2548
  endIcon: l
2546
2549
  }) => {
2547
2550
  const d = o || l;
2548
- return r && i ? /* @__PURE__ */ E(B, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2549
- /* @__PURE__ */ n(Mr, { size: a, position: "relative", loadingPosition: i }),
2551
+ return r && a ? /* @__PURE__ */ E(B, { direction: a === "start" ? "row" : "row-reverse", alignItems: "center", children: [
2552
+ /* @__PURE__ */ n(Mr, { size: i, position: "relative", loadingPosition: a }),
2550
2553
  /* @__PURE__ */ n(L, { component: "span", children: e })
2551
2554
  ] }) : r && !t && !d ? /* @__PURE__ */ E(be, { children: [
2552
- r && !t && /* @__PURE__ */ n(Mr, { size: a }),
2555
+ r && !t && /* @__PURE__ */ n(Mr, { size: i }),
2553
2556
  /* @__PURE__ */ n(L, { component: "span", sx: { opacity: 0 }, children: e })
2554
2557
  ] }) : r && t ? /* @__PURE__ */ E(be, { children: [
2555
2558
  " ",
@@ -2559,8 +2562,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2559
2562
  }, Ni = (e, r) => {
2560
2563
  const {
2561
2564
  children: t,
2562
- disabled: i,
2563
- disableRipple: a,
2565
+ disabled: a,
2566
+ disableRipple: i,
2564
2567
  isLoading: o,
2565
2568
  loadingIndicator: l,
2566
2569
  loadingPosition: d,
@@ -2573,11 +2576,11 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2573
2576
  return /* @__PURE__ */ n(
2574
2577
  a1,
2575
2578
  {
2576
- disabled: i || o,
2579
+ disabled: a || o,
2577
2580
  ref: r,
2578
2581
  size: c,
2579
2582
  variant: f,
2580
- disableRipple: a || f === "link",
2583
+ disableRipple: i || f === "link",
2581
2584
  startIcon: o && g ? /* @__PURE__ */ n(Mr, { position: "relative", size: c }) : g,
2582
2585
  endIcon: o && C ? /* @__PURE__ */ n(Mr, { position: "relative", size: c }) : C,
2583
2586
  ...y,
@@ -2595,15 +2598,15 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2595
2598
  )
2596
2599
  }
2597
2600
  );
2598
- }, _a = xe(Ni), bt = ({ children: e, open: r, onClose: t, src: i, ...a }) => {
2601
+ }, _a = xe(Ni), bt = ({ children: e, open: r, onClose: t, src: a, ...i }) => {
2599
2602
  const [o, l] = ae(!1), d = () => {
2600
2603
  l(!0);
2601
2604
  }, c = (f, g) => (f && (t == null || t(f, g), l(!1)), (C) => {
2602
2605
  t == null || t(C, g), l(!1);
2603
2606
  });
2604
- return /* @__PURE__ */ n(qt, { open: r, onClose: c, ...a, children: /* @__PURE__ */ E(be, { children: [
2607
+ return /* @__PURE__ */ n(qt, { open: r, onClose: c, ...i, children: /* @__PURE__ */ E(be, { children: [
2605
2608
  /* @__PURE__ */ n(
2606
- Ae,
2609
+ ke,
2607
2610
  {
2608
2611
  size: "small",
2609
2612
  "aria-label": "close",
@@ -2635,12 +2638,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2635
2638
  top: "50%",
2636
2639
  transform: "translate(-50%, -50%)"
2637
2640
  },
2638
- children: e || /* @__PURE__ */ n(Jt, { in: r && o, children: /* @__PURE__ */ n(L, { component: "img", src: i, width: "100%", onLoad: d }) })
2641
+ children: e || /* @__PURE__ */ n(Jt, { in: r && o, children: /* @__PURE__ */ n(L, { component: "img", src: a, width: "100%", onLoad: d }) })
2639
2642
  }
2640
2643
  )
2641
2644
  ] }) });
2642
2645
  }, Fa = ({ onClick: e }) => /* @__PURE__ */ n(
2643
- Ae,
2646
+ ke,
2644
2647
  {
2645
2648
  "aria-label": "close",
2646
2649
  onClick: e,
@@ -2651,8 +2654,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2651
2654
  },
2652
2655
  children: /* @__PURE__ */ n(p1, {})
2653
2656
  }
2654
- ), Wi = ({ children: e, value: r, index: t, orientation: i, paddingY: a, paddingX: o, fullHeight: l, sx: d }, c) => {
2655
- const f = a || 3, g = o || i === "vertical" ? 3 : 0;
2657
+ ), Wi = ({ children: e, value: r, index: t, orientation: a, paddingY: i, paddingX: o, fullHeight: l, sx: d }, c) => {
2658
+ const f = i || 3, g = o || a === "vertical" ? 3 : 0;
2656
2659
  return r === t ? /* @__PURE__ */ n(
2657
2660
  L,
2658
2661
  {
@@ -2671,24 +2674,24 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2671
2674
  isLoading: e,
2672
2675
  children: r,
2673
2676
  emptyText: t,
2674
- typographyProps: i = { color: "text.secondary", variant: "body2" },
2675
- skeletonProps: a
2676
- }) => e ? /* @__PURE__ */ n(q, { ...i, children: /* @__PURE__ */ n(fe, { ...a }) }) : r ? /* @__PURE__ */ n(q, { ...i, children: r }) : /* @__PURE__ */ n(q, { ...i, color: "text.disabled", children: t }), ji = (e, r, t) => {
2677
- const { w: i, h: a } = { h: Number(r), w: Number(e) };
2678
- 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 };
2679
- }, W1 = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(fe, { variant: "rounded", width: e, height: r, sx: t }), La = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: o = "Article" }) => {
2680
- const [l, d] = ae(), [c, f] = ae(), { shape: g } = ge(), { borderRadius: C, padding: y } = ji(i, a, g), h = { borderRadius: C, flexShrink: 0 }, M = e && !l && !c, b = !e || c && !l || c && l, u = (v) => {
2677
+ typographyProps: a = { color: "text.secondary", variant: "body2" },
2678
+ skeletonProps: i
2679
+ }) => e ? /* @__PURE__ */ n(q, { ...a, children: /* @__PURE__ */ n(fe, { ...i }) }) : r ? /* @__PURE__ */ n(q, { ...a, children: r }) : /* @__PURE__ */ n(q, { ...a, color: "text.disabled", children: t }), ji = (e, r, t) => {
2680
+ const { w: a, h: i } = { h: Number(r), w: Number(e) };
2681
+ return a < 25 || i < 25 ? { borderRadius: `${t.borderRadiusS}px`, padding: 0.5 } : a < 50 || i < 50 ? { borderRadius: `${t.borderRadius}px`, padding: 1 } : { borderRadius: `${t.borderRadiusL}px`, padding: 1.5 };
2682
+ }, W1 = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(fe, { variant: "rounded", width: e, height: r, sx: t }), La = ({ src: e, isLoading: r, sx: t, width: a = 64, height: i = 64, alt: o = "Article" }) => {
2683
+ const [l, d] = ae(), [c, f] = ae(), { shape: g } = ge(), { borderRadius: C, padding: y } = ji(a, i, g), h = { borderRadius: C, flexShrink: 0 }, M = e && !l && !c, b = !e || c && !l || c && l, u = (v) => {
2681
2684
  f(void 0), d(v);
2682
2685
  };
2683
- return r ? /* @__PURE__ */ n(W1, { width: i, height: a, sx: h }) : /* @__PURE__ */ E(be, { children: [
2684
- M && /* @__PURE__ */ n(W1, { width: i, height: a, sx: h }),
2686
+ return r ? /* @__PURE__ */ n(W1, { width: a, height: i, sx: h }) : /* @__PURE__ */ E(be, { children: [
2687
+ M && /* @__PURE__ */ n(W1, { width: a, height: i, sx: h }),
2685
2688
  b && /* @__PURE__ */ n(
2686
2689
  B,
2687
2690
  {
2688
2691
  justifyContent: "center",
2689
2692
  alignItems: "center",
2690
- width: i,
2691
- height: a,
2693
+ width: a,
2694
+ height: i,
2692
2695
  sx: {
2693
2696
  background: ({ palette: v }) => v.background.paper,
2694
2697
  padding: y,
@@ -2733,8 +2736,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2733
2736
  component: "img",
2734
2737
  src: e,
2735
2738
  alt: o,
2736
- width: i,
2737
- height: a,
2739
+ width: a,
2740
+ height: i,
2738
2741
  sx: h,
2739
2742
  onError: f,
2740
2743
  onLoad: u,
@@ -2778,8 +2781,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2778
2781
  src: e,
2779
2782
  srcThumb: r,
2780
2783
  fileName: t,
2781
- children: i,
2782
- width: a,
2784
+ children: a,
2785
+ width: i,
2783
2786
  height: o,
2784
2787
  sx: l,
2785
2788
  widthLightbox: d,
@@ -2792,7 +2795,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2792
2795
  onClickThumb: M,
2793
2796
  variant: b
2794
2797
  }) => {
2795
- const [u, v] = ae(!1), [S, w] = ae(!1), R = e == null ? void 0 : e.toLowerCase(), p = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")), _ = R == null ? void 0 : R.endsWith(".pdf"), k = wr(null), j = S ? Yi : r || e, I = g ? 1 : 0.8, Q = () => {
2798
+ const [u, v] = ae(!1), [S, w] = ae(!1), R = e == null ? void 0 : e.toLowerCase(), p = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")), _ = R == null ? void 0 : R.endsWith(".pdf"), A = wr(null), j = S ? Yi : r || e, I = g ? 1 : 0.8, Q = () => {
2796
2799
  v((P) => !P);
2797
2800
  }, X = () => {
2798
2801
  v(!1), h == null || h();
@@ -2800,19 +2803,19 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2800
2803
  w(!0);
2801
2804
  }, []);
2802
2805
  return Rr(() => {
2803
- const P = k.current;
2806
+ const P = A.current;
2804
2807
  return P == null || P.addEventListener("error", Y), () => {
2805
2808
  P == null || P.removeEventListener("error", Y);
2806
2809
  };
2807
- }, [Y, k]), /* @__PURE__ */ E(be, { children: [
2808
- !C && !i && /* @__PURE__ */ n(
2810
+ }, [Y, A]), /* @__PURE__ */ E(be, { children: [
2811
+ !C && !a && /* @__PURE__ */ n(
2809
2812
  L,
2810
2813
  {
2811
2814
  "data-test": "fileViewer",
2812
2815
  onClick: () => {
2813
2816
  M == null || M(), Q();
2814
2817
  },
2815
- width: a,
2818
+ width: i,
2816
2819
  height: o,
2817
2820
  sx: {
2818
2821
  ...ur.container,
@@ -2831,7 +2834,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2831
2834
  height: p ? "100%" : "auto",
2832
2835
  width: "100%",
2833
2836
  src: j || void 0,
2834
- ref: k,
2837
+ ref: A,
2835
2838
  sx: ur.thumb
2836
2839
  },
2837
2840
  j
@@ -2851,7 +2854,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2851
2854
  }
2852
2855
  }
2853
2856
  ) }),
2854
- i && /* @__PURE__ */ n(
2857
+ a && /* @__PURE__ */ n(
2855
2858
  L,
2856
2859
  {
2857
2860
  onClick: Q,
@@ -2859,7 +2862,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2859
2862
  ":hover": { opacity: I },
2860
2863
  cursor: "pointer"
2861
2864
  },
2862
- children: i
2865
+ children: a
2863
2866
  }
2864
2867
  )
2865
2868
  ] });
@@ -2867,8 +2870,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2867
2870
  title: e,
2868
2871
  subtitle: r,
2869
2872
  isLastElement: t,
2870
- active: i,
2871
- onClick: a,
2873
+ active: a,
2874
+ onClick: i,
2872
2875
  variant: o,
2873
2876
  tag: l,
2874
2877
  collapseItems: d,
@@ -2883,13 +2886,13 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2883
2886
  c && M(!0);
2884
2887
  }, [c]), /* @__PURE__ */ E(B, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
2885
2888
  /* @__PURE__ */ n(L, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(B, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ E(be, { children: [
2886
- g || /* @__PURE__ */ n(Cr, { color: i ? "secondary" : "primary" }),
2889
+ g || /* @__PURE__ */ n(Cr, { color: a ? "secondary" : "primary" }),
2887
2890
  /* @__PURE__ */ n(L, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
2888
2891
  J1,
2889
2892
  {
2890
2893
  sx: {
2891
- borderColor: ({ palette: u }) => i ? u.secondary.main : u.divider,
2892
- borderStyle: i ? "solid" : "dashed",
2894
+ borderColor: ({ palette: u }) => a ? u.secondary.main : u.divider,
2895
+ borderStyle: a ? "solid" : "dashed",
2893
2896
  height: "100%"
2894
2897
  },
2895
2898
  flexItem: !0,
@@ -2928,12 +2931,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2928
2931
  q,
2929
2932
  {
2930
2933
  component: "span",
2931
- onClick: a,
2934
+ onClick: i,
2932
2935
  variant: "h6",
2933
2936
  sx: {
2934
- cursor: b || a ? "pointer" : "default",
2937
+ cursor: b || i ? "pointer" : "default",
2935
2938
  marginRight: 1,
2936
- textDecoration: a ? "underline" : "none"
2939
+ textDecoration: i ? "underline" : "none"
2937
2940
  },
2938
2941
  children: e
2939
2942
  }
@@ -2968,14 +2971,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
2968
2971
  C,
2969
2972
  y && /* @__PURE__ */ n(T1, { in: h, children: y }),
2970
2973
  !!(d != null && d.length) && /* @__PURE__ */ n(T1, { in: h, children: /* @__PURE__ */ n(B, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u, v) => {
2971
- var R, p, _, k;
2974
+ var R, p, _, A;
2972
2975
  const S = `${u.title}-${v}`, w = Array.isArray(u == null ? void 0 : u.file) ? u == null ? void 0 : u.file[0] : u == null ? void 0 : u.file;
2973
2976
  return /* @__PURE__ */ E(B, { direction: "row", spacing: 1, minWidth: 0, children: [
2974
2977
  /* @__PURE__ */ n(Ui, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
2975
2978
  /* @__PURE__ */ E(B, { minWidth: 0, children: [
2976
2979
  /* @__PURE__ */ E(B, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
2977
2980
  (u == null ? void 0 : u.title) && /* @__PURE__ */ n(
2978
- k1,
2981
+ A1,
2979
2982
  {
2980
2983
  title: u == null ? void 0 : u.title,
2981
2984
  enterDelay: j1,
@@ -3001,7 +3004,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3001
3004
  ),
3002
3005
  (u == null ? void 0 : u.tag) && /* @__PURE__ */ n(nr, { color: ((R = u == null ? void 0 : u.tag) == null ? void 0 : R.color) || "default", label: (p = u == null ? void 0 : u.tag) == null ? void 0 : p.label, size: "xSmall", variant: "outlined" })
3003
3006
  ] }),
3004
- (u == null ? void 0 : u.subtitle) && /* @__PURE__ */ n(k1, { title: u == null ? void 0 : u.subtitle, enterDelay: j1, children: /* @__PURE__ */ n(
3007
+ (u == null ? void 0 : u.subtitle) && /* @__PURE__ */ n(A1, { title: u == null ? void 0 : u.subtitle, enterDelay: j1, children: /* @__PURE__ */ n(
3005
3008
  q,
3006
3009
  {
3007
3010
  variant: "body2",
@@ -3038,7 +3041,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3038
3041
  justifyContent: "center",
3039
3042
  width: fr
3040
3043
  },
3041
- children: `${(((k = u == null ? void 0 : u.file) == null ? void 0 : k.length) || 0) - 1}+`
3044
+ children: `${(((A = u == null ? void 0 : u.file) == null ? void 0 : A.length) || 0) - 1}+`
3042
3045
  }
3043
3046
  )
3044
3047
  ] })
@@ -3053,12 +3056,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3053
3056
  children: e,
3054
3057
  sx: r,
3055
3058
  "data-test": t,
3056
- "data-testid": i
3059
+ "data-testid": a
3057
3060
  }) => /* @__PURE__ */ n(
3058
3061
  t1,
3059
3062
  {
3060
3063
  "data-test": t,
3061
- "data-testid": i,
3064
+ "data-testid": a,
3062
3065
  sx: {
3063
3066
  width: "100%",
3064
3067
  ...r
@@ -3069,13 +3072,13 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3069
3072
  items: e,
3070
3073
  isLoading: r,
3071
3074
  emptyMessage: t,
3072
- containerStyle: i,
3073
- variant: a,
3075
+ containerStyle: a,
3076
+ variant: i,
3074
3077
  "data-test": o,
3075
3078
  "data-testid": l
3076
3079
  }) => {
3077
3080
  const [d, c] = ae("");
3078
- return r ? /* @__PURE__ */ n(Nr, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */ E(B, { spacing: 3, children: [
3081
+ return r ? /* @__PURE__ */ n(Nr, { sx: a, "data-test": o, "data-testid": l, children: /* @__PURE__ */ E(B, { spacing: 3, children: [
3079
3082
  /* @__PURE__ */ E(B, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
3080
3083
  /* @__PURE__ */ n(Cr, {}),
3081
3084
  /* @__PURE__ */ E(B, { children: [
@@ -3097,10 +3100,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3097
3100
  /* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(fe, { width: 110, height: 20 }) })
3098
3101
  ] })
3099
3102
  ] })
3100
- ] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Nr, { sx: i, children: /* @__PURE__ */ n(i1, { severity: "info", children: t }) }) : /* @__PURE__ */ E(be, { children: [
3101
- /* @__PURE__ */ n(Nr, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
3103
+ ] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Nr, { sx: a, children: /* @__PURE__ */ n(i1, { severity: "info", children: t }) }) : /* @__PURE__ */ E(be, { children: [
3104
+ /* @__PURE__ */ n(Nr, { sx: a, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
3102
3105
  ({ Action: f, Collapse: g, collapseItems: C, collapseDefaultOpen: y, subtitle: h, key: M, active: b, Footer: u, Icon: v, onClick: S, tag: w, title: R }, p) => {
3103
- const _ = `${M}-${p}-${R}`, k = p === e.length - 1;
3106
+ const _ = `${M}-${p}-${R}`, A = p === e.length - 1;
3104
3107
  return /* @__PURE__ */ n(
3105
3108
  Xi,
3106
3109
  {
@@ -3113,10 +3116,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3113
3116
  title: R,
3114
3117
  subtitle: h,
3115
3118
  Icon: v,
3116
- isLastElement: k,
3119
+ isLastElement: A,
3117
3120
  onClick: S,
3118
3121
  tag: w,
3119
- variant: a
3122
+ variant: i
3120
3123
  },
3121
3124
  _
3122
3125
  );
@@ -3125,7 +3128,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3125
3128
  /* @__PURE__ */ n(bt, { open: !!d, onClose: () => c(""), src: d })
3126
3129
  ] });
3127
3130
  }, Va = ({ Main: e, Sidebar: r, AppBar: t }) => {
3128
- const { breakpoints: i } = ge(), a = wr(null), o = ir(i.down("md")), l = r && s1(r, { AppBar: t });
3131
+ const { breakpoints: a } = ge(), i = wr(null), o = ir(a.down("md")), l = r && s1(r, { AppBar: t });
3129
3132
  return /* @__PURE__ */ E(B, { height: "100%", children: [
3130
3133
  !o && t,
3131
3134
  /* @__PURE__ */ E(B, { height: "100%", direction: o ? "column" : "row", minHeight: 0, children: [
@@ -3138,7 +3141,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3138
3141
  maxHeight: "100%",
3139
3142
  overflow: "auto"
3140
3143
  },
3141
- ref: a,
3144
+ ref: i,
3142
3145
  children: /* @__PURE__ */ n(L, { component: "main", height: "100%", children: e })
3143
3146
  }
3144
3147
  )
@@ -3404,16 +3407,16 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3404
3407
  }
3405
3408
  }
3406
3409
  }, Ji = ({ sx: e, ...r }) => {
3407
- var t, i, a, o, l, d;
3410
+ var t, a, i, o, l, d;
3408
3411
  return /* @__PURE__ */ n(
3409
3412
  vr,
3410
3413
  {
3411
3414
  variant: "rounded",
3412
3415
  sx: {
3413
3416
  "& svg": {
3414
- color: (i = (t = H == null ? void 0 : H.palette) == null ? void 0 : t.text) == null ? void 0 : i.disabled
3417
+ color: (a = (t = H == null ? void 0 : H.palette) == null ? void 0 : t.text) == null ? void 0 : a.disabled
3415
3418
  },
3416
- backgroundColor: (o = (a = H == null ? void 0 : H.palette) == null ? void 0 : a.grey) == null ? void 0 : o[100],
3419
+ backgroundColor: (o = (i = H == null ? void 0 : H.palette) == null ? void 0 : i.grey) == null ? void 0 : o[100],
3417
3420
  color: (d = (l = H == null ? void 0 : H.palette) == null ? void 0 : l.text) == null ? void 0 : d.primary,
3418
3421
  ...e
3419
3422
  },
@@ -3421,7 +3424,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3421
3424
  }
3422
3425
  );
3423
3426
  }, Y1 = ({ sx: e, ...r }) => {
3424
- var t, i, a, o, l, d, c, f;
3427
+ var t, a, i, o, l, d, c, f;
3425
3428
  return /* @__PURE__ */ n(
3426
3429
  a1,
3427
3430
  {
@@ -3429,8 +3432,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3429
3432
  size: "small",
3430
3433
  sx: {
3431
3434
  "&:hover": {
3432
- backgroundColor: (i = (t = H == null ? void 0 : H.palette) == null ? void 0 : t.action) == null ? void 0 : i.hover,
3433
- borderColor: (a = H == null ? void 0 : H.palette) == null ? void 0 : a.primary.main
3435
+ backgroundColor: (a = (t = H == null ? void 0 : H.palette) == null ? void 0 : t.action) == null ? void 0 : a.hover,
3436
+ borderColor: (i = H == null ? void 0 : H.palette) == null ? void 0 : i.primary.main
3434
3437
  },
3435
3438
  backgroundColor: (l = (o = H == null ? void 0 : H.palette) == null ? void 0 : o.grey) == null ? void 0 : l["100"],
3436
3439
  borderColor: (d = H == null ? void 0 : H.palette) == null ? void 0 : d.divider,
@@ -3440,7 +3443,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3440
3443
  ...r
3441
3444
  }
3442
3445
  );
3443
- }, Ki = xe(({ sx: e, slotProps: r, type: t = "search", ...i }, a) => {
3446
+ }, Ki = xe(({ sx: e, slotProps: r, type: t = "search", ...a }, i) => {
3444
3447
  var o, l, d, c, f, g, C, y, h, M;
3445
3448
  return /* @__PURE__ */ n(
3446
3449
  n1,
@@ -3448,7 +3451,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3448
3451
  fullWidth: !0,
3449
3452
  size: "xSmall",
3450
3453
  type: t,
3451
- ref: a,
3454
+ ref: i,
3452
3455
  sx: {
3453
3456
  "& .MuiInputBase-root": {
3454
3457
  "&:hover .MuiOutlinedInput-notchedOutline": {
@@ -3493,27 +3496,27 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3493
3496
  ...r == null ? void 0 : r.input
3494
3497
  }
3495
3498
  },
3496
- ...i
3499
+ ...a
3497
3500
  }
3498
3501
  );
3499
3502
  }), Qi = () => {
3500
- const [e, r] = ae(null), t = !!e, i = de(() => {
3503
+ const [e, r] = ae(null), t = !!e, a = de(() => {
3501
3504
  r(null);
3502
- }, []), a = de(({ currentTarget: o }) => {
3505
+ }, []), i = de(({ currentTarget: o }) => {
3503
3506
  r(o);
3504
3507
  }, []);
3505
3508
  return {
3506
3509
  anchorMenu: e,
3507
- closeMenu: i,
3510
+ closeMenu: a,
3508
3511
  isMenuOpen: t,
3509
- openMenu: a
3512
+ openMenu: i
3510
3513
  };
3511
3514
  }, ea = "appBarAvatarMenu", Pa = ({
3512
3515
  Avatar: e,
3513
3516
  Search: r,
3514
3517
  Action: t,
3515
- Logo: i,
3516
- NavLink: a,
3518
+ Logo: a,
3519
+ NavLink: i,
3517
3520
  avatarProps: o,
3518
3521
  searchProps: l,
3519
3522
  actionProps: d,
@@ -3524,7 +3527,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3524
3527
  position: y = "static",
3525
3528
  elevation: h = 0
3526
3529
  }) => {
3527
- const { breakpoints: M } = ge(), { closeMenu: b, isMenuOpen: u, anchorMenu: v, openMenu: S } = Qi(), { menuItems: w, ...R } = o || {}, p = ir(M.down("sm")), _ = ir(M.between("sm", "md")), k = p || _, j = {
3530
+ const { breakpoints: M } = ge(), { closeMenu: b, isMenuOpen: u, anchorMenu: v, openMenu: S } = Qi(), { menuItems: w, ...R } = o || {}, p = ir(M.down("sm")), _ = ir(M.between("sm", "md")), A = p || _, j = {
3528
3531
  logoContainer: {
3529
3532
  a: {
3530
3533
  display: "flex"
@@ -3556,8 +3559,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3556
3559
  };
3557
3560
  return f ? /* @__PURE__ */ n(Wr, { position: y, elevation: h, sx: j, children: f }) : /* @__PURE__ */ E(be, { children: [
3558
3561
  /* @__PURE__ */ n(Wr, { position: y, elevation: h, sx: j, children: /* @__PURE__ */ E(B, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
3559
- k && /* @__PURE__ */ n(Ae, { onClick: g, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(xt, {}) }),
3560
- k || i === null ? null : /* @__PURE__ */ n(L, { sx: j.logoContainer, children: i || /* @__PURE__ */ n(Ti, { mode: "dark", ...c }) }),
3562
+ A && /* @__PURE__ */ n(ke, { onClick: g, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(xt, {}) }),
3563
+ A || a === null ? null : /* @__PURE__ */ n(L, { sx: j.logoContainer, children: a || /* @__PURE__ */ n(Ti, { mode: "dark", ...c }) }),
3561
3564
  /* @__PURE__ */ E(B, { alignItems: "center", direction: "row", justifyContent: p ? "flex-end" : "center", spacing: 1, flex: 1, children: [
3562
3565
  p && (t === null ? null : t || /* @__PURE__ */ n(Y1, { ...d })),
3563
3566
  r === null ? null : r || /* @__PURE__ */ n(Ki, { ...l })
@@ -3606,8 +3609,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3606
3609
  return s1(I, { key: X });
3607
3610
  }
3608
3611
  if (I && typeof I == "object" && "url" in I) {
3609
- const { url: X, label: Y, icon: P, active: K, end: oe, state: ke } = I, z = `${X}-${Y}-${Q}`;
3610
- return /* @__PURE__ */ n(en, { sx: j.menuItem, onClick: b, children: /* @__PURE__ */ E(u1, { url: X, component: a, active: K, end: oe, state: ke, children: [
3612
+ const { url: X, label: Y, icon: P, active: K, end: oe, state: Ae } = I, z = `${X}-${Y}-${Q}`;
3613
+ return /* @__PURE__ */ n(en, { sx: j.menuItem, onClick: b, children: /* @__PURE__ */ E(u1, { url: X, component: i, active: K, end: oe, state: Ae, children: [
3611
3614
  P && /* @__PURE__ */ n(rn, { children: P }),
3612
3615
  Y && /* @__PURE__ */ n($e, { children: Y })
3613
3616
  ] }, z) }, z);
@@ -3617,7 +3620,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3617
3620
  }
3618
3621
  ) })
3619
3622
  ] });
3620
- }, ra = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(Me, { 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 }) }), ta = ({ dot: e, color: r, variant: t, ...i }, a) => {
3623
+ }, ra = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(Me, { 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 }) }), ta = ({ dot: e, color: r, variant: t, ...a }, i) => {
3621
3624
  const { palette: o } = ge(), l = {
3622
3625
  default: o.text.secondary,
3623
3626
  error: o.error.main,
@@ -3630,7 +3633,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3630
3633
  return /* @__PURE__ */ n(
3631
3634
  nr,
3632
3635
  {
3633
- ref: a,
3636
+ ref: i,
3634
3637
  variant: t,
3635
3638
  color: r,
3636
3639
  icon: e ? /* @__PURE__ */ n(
@@ -3645,7 +3648,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3645
3648
  }
3646
3649
  }
3647
3650
  ) : void 0,
3648
- ...i
3651
+ ...a
3649
3652
  }
3650
3653
  );
3651
3654
  }, $a = xe(ta), na = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ E(Me, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
@@ -3703,17 +3706,17 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3703
3706
  }
3704
3707
  }
3705
3708
  }, aa = [400, 500, 600, 700], oa = "Poppins, sans-serif", J = (e, r = 16, t = 14) => {
3706
- const i = t / 14;
3707
- return `${e / r * i}rem`;
3709
+ const a = t / 14;
3710
+ return `${e / r * a}rem`;
3708
3711
  }, U1 = {
3709
3712
  root: ({ theme: e, ownerState: r }) => {
3710
- const t = un.toArray(r.children), i = t[t.length - 1];
3711
- if (Tr(i)) {
3712
- if (i.props.variant === "contained" || i.props.variant === "outlined")
3713
+ const t = un.toArray(r.children), a = t[t.length - 1];
3714
+ if (Tr(a)) {
3715
+ if (a.props.variant === "contained" || a.props.variant === "outlined")
3713
3716
  return {
3714
3717
  padding: e.spacing(3)
3715
3718
  };
3716
- if (i.props.size === "small")
3719
+ if (a.props.size === "small")
3717
3720
  return {
3718
3721
  paddingLeft: e.spacing(2),
3719
3722
  paddingRight: e.spacing(2)
@@ -3821,7 +3824,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3821
3824
  MuiBadge: {
3822
3825
  styleOverrides: {
3823
3826
  badge: ({ theme: e, ownerState: r }) => {
3824
- const t = (i, a) => i === "dark" && a === "error" || i === "dark" && a === "default" ? e.palette.common.white : i === "light" && a === "secondary" || i === "light" && a === "default" || e.palette.mode === "dark" ? e.palette.common.black : e.palette.common.white;
3827
+ const t = (a, i) => a === "dark" && i === "error" || a === "dark" && i === "default" ? e.palette.common.white : a === "light" && i === "secondary" || a === "light" && i === "default" || e.palette.mode === "dark" ? e.palette.common.black : e.palette.common.white;
3825
3828
  return {
3826
3829
  backgroundColor: e.palette.mode === "light" && r.color === "default" ? e.palette.grey[100] : r.color,
3827
3830
  borderRadius: e.shape.borderRadiusS,
@@ -3910,8 +3913,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3910
3913
  {
3911
3914
  props: { variant: "link" },
3912
3915
  style: ({ theme: e, ownerState: r }) => {
3913
- var i, a;
3914
- const t = (r == null ? void 0 : r.color) === "inherit" ? e.palette.text.primary : (a = (i = e.palette) == null ? void 0 : i[(r == null ? void 0 : r.color) || "primary"]) == null ? void 0 : a.main;
3916
+ var a, i;
3917
+ const t = (r == null ? void 0 : r.color) === "inherit" ? e.palette.text.primary : (i = (a = e.palette) == null ? void 0 : a[(r == null ? void 0 : r.color) || "primary"]) == null ? void 0 : i.main;
3915
3918
  return {
3916
3919
  "&:hover": {
3917
3920
  backgroundColor: "transparent",
@@ -3976,42 +3979,42 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
3976
3979
  MuiChip: {
3977
3980
  styleOverrides: {
3978
3981
  root: ({ theme: e, ownerState: r }) => {
3979
- const t = r.color || "default", i = r.variant || "standard", a = ["outlined", "outlined-rounded"].includes(i);
3982
+ const t = r.color || "default", a = r.variant || "standard", i = ["outlined", "outlined-rounded"].includes(a);
3980
3983
  return {
3981
3984
  ...t === "default" && {
3982
- backgroundColor: a ? e.palette.grey[50] : e.palette.grey[100],
3983
- border: a ? `1px solid ${e.palette.divider}` : "transparent",
3985
+ backgroundColor: i ? e.palette.grey[50] : e.palette.grey[100],
3986
+ border: i ? `1px solid ${e.palette.divider}` : "transparent",
3984
3987
  color: e.palette.text.primary
3985
3988
  },
3986
3989
  ...t === "primary" && {
3987
3990
  backgroundColor: e.palette.primary["4p"],
3988
- border: a ? `1px solid ${e.palette.divider}` : "transparent",
3991
+ border: i ? `1px solid ${e.palette.divider}` : "transparent",
3989
3992
  color: e.palette.primary.black
3990
3993
  },
3991
3994
  ...t === "secondary" && {
3992
- backgroundColor: a ? e.palette.secondary["8p"] : e.palette.secondary["16p"],
3993
- border: a ? `1px solid ${e.palette.secondary["30p"]}` : "transparent",
3994
- color: a ? e.palette.secondary.dark : e.palette.secondary.black
3995
+ backgroundColor: i ? e.palette.secondary["8p"] : e.palette.secondary["16p"],
3996
+ border: i ? `1px solid ${e.palette.secondary["30p"]}` : "transparent",
3997
+ color: i ? e.palette.secondary.dark : e.palette.secondary.black
3995
3998
  },
3996
3999
  ...t === "error" && {
3997
- backgroundColor: a ? e.palette.error["8p"] : e.palette.error["30p"],
3998
- border: a ? `1px solid ${e.palette.error["30p"]}` : "transparent",
3999
- color: a ? e.palette.error.dark : e.palette.error["160p"]
4000
+ backgroundColor: i ? e.palette.error["8p"] : e.palette.error["30p"],
4001
+ border: i ? `1px solid ${e.palette.error["30p"]}` : "transparent",
4002
+ color: i ? e.palette.error.dark : e.palette.error["160p"]
4000
4003
  },
4001
4004
  ...t === "info" && {
4002
- backgroundColor: a ? e.palette.info["8p"] : e.palette.info["30p"],
4003
- border: a ? `1px solid ${e.palette.info["30p"]}` : "transparent",
4004
- color: a ? e.palette.info.dark : e.palette.info["160p"]
4005
+ backgroundColor: i ? e.palette.info["8p"] : e.palette.info["30p"],
4006
+ border: i ? `1px solid ${e.palette.info["30p"]}` : "transparent",
4007
+ color: i ? e.palette.info.dark : e.palette.info["160p"]
4005
4008
  },
4006
4009
  ...t === "success" && {
4007
- backgroundColor: a ? e.palette.success["8p"] : e.palette.success["30p"],
4008
- border: a ? `1px solid ${e.palette.success["30p"]}` : "transparent",
4009
- color: a ? e.palette.success.dark : e.palette.success["160p"]
4010
+ backgroundColor: i ? e.palette.success["8p"] : e.palette.success["30p"],
4011
+ border: i ? `1px solid ${e.palette.success["30p"]}` : "transparent",
4012
+ color: i ? e.palette.success.dark : e.palette.success["160p"]
4010
4013
  },
4011
4014
  ...t === "warning" && {
4012
- backgroundColor: a ? e.palette.warning["8p"] : e.palette.warning["30p"],
4013
- border: a ? `1px solid ${e.palette.warning["30p"]}` : "transparent",
4014
- color: a ? e.palette.warning.dark : e.palette.warning["160p"]
4015
+ backgroundColor: i ? e.palette.warning["8p"] : e.palette.warning["30p"],
4016
+ border: i ? `1px solid ${e.palette.warning["30p"]}` : "transparent",
4017
+ color: i ? e.palette.warning.dark : e.palette.warning["160p"]
4015
4018
  },
4016
4019
  fontWeight: 500
4017
4020
  };
@@ -4620,14 +4623,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4620
4623
  children: e,
4621
4624
  enableColorScheme: r,
4622
4625
  includeCssBaseline: t = !0,
4623
- includeScrollBarStyle: i = !0,
4624
- fullHeight: a = !0,
4626
+ includeScrollBarStyle: a = !0,
4627
+ fullHeight: i = !0,
4625
4628
  theme: o,
4626
4629
  language: l = "en",
4627
4630
  font: d = G1
4628
4631
  }) => {
4629
4632
  var h, M;
4630
- const c = { ...G1, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((h = e1.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (M = c == null ? void 0 : c.fontWeight) == null ? void 0 : M.join(";"), C = kr(() => ({ language: l }), [l]), y = () => {
4633
+ const c = { ...G1, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((h = e1.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (M = c == null ? void 0 : c.fontWeight) == null ? void 0 : M.join(";"), C = Ar(() => ({ language: l }), [l]), y = () => {
4631
4634
  var v, S;
4632
4635
  const b = typeof o == "object" ? o : {}, u = {
4633
4636
  ...l === "fr" && ia
@@ -4654,8 +4657,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4654
4657
  }
4655
4658
  ),
4656
4659
  t && /* @__PURE__ */ n(nn, { enableColorScheme: r }),
4657
- a && /* @__PURE__ */ n(la, {}),
4658
- i && /* @__PURE__ */ n(sa, { theme: o }),
4660
+ i && /* @__PURE__ */ n(la, {}),
4661
+ a && /* @__PURE__ */ n(sa, { theme: o }),
4659
4662
  e
4660
4663
  ] }) });
4661
4664
  }, ca = {
@@ -4682,17 +4685,17 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4682
4685
  }, fa = (e) => {
4683
4686
  if (!e)
4684
4687
  return "";
4685
- const r = e.length > 1, i = [...e || []].slice(0, 5).map(({ name: a }) => {
4686
- const o = a.split(".").pop();
4687
- return a.length > 10 && r ? `${a.substring(0, 10)}(...).${o}` : a;
4688
+ const r = e.length > 1, a = [...e || []].slice(0, 5).map(({ name: i }) => {
4689
+ const o = i.split(".").pop();
4690
+ return i.length > 10 && r ? `${i.substring(0, 10)}(...).${o}` : i;
4688
4691
  }).join(" • ");
4689
- return e.length > X1 ? `${i} + ${e.length - X1}` : i;
4692
+ return e.length > X1 ? `${a} + ${e.length - X1}` : a;
4690
4693
  }, za = ({
4691
4694
  accept: e,
4692
4695
  name: r,
4693
4696
  disabled: t,
4694
- required: i,
4695
- error: a,
4697
+ required: a,
4698
+ error: i,
4696
4699
  localeText: o,
4697
4700
  multiple: l,
4698
4701
  id: d,
@@ -4704,7 +4707,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4704
4707
  label: h,
4705
4708
  variant: M = "vertical"
4706
4709
  }) => {
4707
- const { t: b } = wt(), { palette: u } = ge(), v = M === "vertical", S = d || r, w = wr(null), R = wr(null), [p, _] = ae(null), k = fa(p), j = (X) => {
4710
+ const { t: b } = wt(), { palette: u } = ge(), v = M === "vertical", S = d || r, w = wr(null), R = wr(null), [p, _] = ae(null), A = fa(p), j = (X) => {
4708
4711
  y == null || y(X), _(X.target.files);
4709
4712
  };
4710
4713
  return /* @__PURE__ */ E(
@@ -4727,7 +4730,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4727
4730
  "&:hover, &:focus": {
4728
4731
  borderColor: u.primary.main
4729
4732
  },
4730
- border: `1px dashed ${a ? u.error.main : u.divider}`,
4733
+ border: `1px dashed ${i ? u.error.main : u.divider}`,
4731
4734
  borderRadius: 1,
4732
4735
  cursor: "pointer",
4733
4736
  height: ua(c, M),
@@ -4749,7 +4752,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4749
4752
  color: t ? "text.disabled" : "text.secondary",
4750
4753
  children: [
4751
4754
  C || /* @__PURE__ */ n(na, { sx: { height: 40, width: 40 } }),
4752
- k ? /* @__PURE__ */ E(be, { children: [
4755
+ A ? /* @__PURE__ */ E(be, { children: [
4753
4756
  /* @__PURE__ */ E(q, { variant: "body2", color: "textSecondary", children: [
4754
4757
  p == null ? void 0 : p.length,
4755
4758
  " ",
@@ -4763,15 +4766,15 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4763
4766
  whiteSpace: v ? "normal" : "nowrap",
4764
4767
  textOverflow: "ellipsis",
4765
4768
  overflow: "hidden",
4766
- children: k
4769
+ children: A
4767
4770
  }
4768
4771
  )
4769
4772
  ] }) : /* @__PURE__ */ E(q, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
4770
4773
  h || b("clickToUpload"),
4771
4774
  " ",
4772
- i && "*"
4775
+ a && "*"
4773
4776
  ] }),
4774
- f && /* @__PURE__ */ n(q, { color: a ? "error" : "textSecondary", variant: "body2", children: f })
4777
+ f && /* @__PURE__ */ n(q, { color: i ? "error" : "textSecondary", variant: "body2", children: f })
4775
4778
  ]
4776
4779
  }
4777
4780
  ),
@@ -4781,7 +4784,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4781
4784
  ref: R,
4782
4785
  type: "file",
4783
4786
  disabled: t,
4784
- required: i,
4787
+ required: a,
4785
4788
  name: r,
4786
4789
  multiple: l,
4787
4790
  accept: e,
@@ -4815,8 +4818,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4815
4818
  Empty: e,
4816
4819
  action: r,
4817
4820
  items: t,
4818
- fullWidth: i,
4819
- sx: a,
4821
+ fullWidth: a,
4822
+ sx: i,
4820
4823
  alwaysDisplaySecondaryAction: o,
4821
4824
  isLoading: l,
4822
4825
  disableLightbox: d,
@@ -4829,7 +4832,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4829
4832
  {
4830
4833
  sx: {
4831
4834
  ...rr.list,
4832
- ...i && { width: "100%" }
4835
+ ...a && { width: "100%" }
4833
4836
  },
4834
4837
  children: [...Array(c).keys()].map((y) => /* @__PURE__ */ E(_e, { sx: rr.listItem, children: [
4835
4838
  /* @__PURE__ */ n(fe, { width: 40, height: 40, sx: { marginRight: er }, variant: "rounded" }),
@@ -4848,14 +4851,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4848
4851
  {
4849
4852
  sx: {
4850
4853
  ...rr.list,
4851
- ...i && { width: "100%" },
4852
- ...a
4854
+ ...a && { width: "100%" },
4855
+ ...i
4853
4856
  },
4854
4857
  children: [
4855
4858
  t == null ? void 0 : t.map(
4856
- ({ id: y, title: h, subtitle: M, image: b, thumbnail: u, secondaryAction: v, chipLabel: S, chipColor: w, onClick: R, icon: p, Avatar: _ }, k) => {
4859
+ ({ id: y, title: h, subtitle: M, image: b, thumbnail: u, secondaryAction: v, chipLabel: S, chipColor: w, onClick: R, icon: p, Avatar: _ }, A) => {
4857
4860
  var G, re, le, Se;
4858
- const j = `key-${k}-${h}-${y}`, I = (G = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : G.endsWith(".pdf"), Q = (re = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : re.startsWith("http"), X = (le = u == null ? void 0 : u.toLowerCase()) == null ? void 0 : le.startsWith("http"), Y = R ? "none" : void 0, P = d || !!p || !Q, K = !!R || !!(!R && !d && (u || b)), oe = f === j, A = (X ? u : "") || (Q ? b : "") || "";
4861
+ const j = `key-${A}-${h}-${y}`, I = (G = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : G.endsWith(".pdf"), Q = (re = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : re.startsWith("http"), X = (le = u == null ? void 0 : u.toLowerCase()) == null ? void 0 : le.startsWith("http"), Y = R ? "none" : void 0, P = d || !!p || !Q, K = !!R || !!(!R && !d && (u || b)), oe = f === j, k = (X ? u : "") || (Q ? b : "") || "";
4859
4862
  return /* @__PURE__ */ E(
4860
4863
  _e,
4861
4864
  {
@@ -4906,7 +4909,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4906
4909
  disableLightbox: P,
4907
4910
  open: oe,
4908
4911
  onClose: () => g(""),
4909
- children: /* @__PURE__ */ n(vr, { src: A, variant: "rounded", sx: { marginRight: er }, children: p || typeof h == "string" && ((Se = h || "") == null ? void 0 : Se.charAt(0).toUpperCase()) })
4912
+ children: /* @__PURE__ */ n(vr, { src: k, variant: "rounded", sx: { marginRight: er }, children: p || typeof h == "string" && ((Se = h || "") == null ? void 0 : Se.charAt(0).toUpperCase()) })
4910
4913
  }
4911
4914
  ),
4912
4915
  /* @__PURE__ */ n(
@@ -4977,8 +4980,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4977
4980
  children: e,
4978
4981
  disableSelectAll: r,
4979
4982
  localeText: t,
4980
- disableReset: i,
4981
- onChange: a,
4983
+ disableReset: a,
4984
+ onChange: i,
4982
4985
  loading: o,
4983
4986
  options: l,
4984
4987
  value: d,
@@ -4996,15 +4999,15 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
4996
4999
  role: "option",
4997
5000
  onMouseDown: (h) => {
4998
5001
  if (h.stopPropagation(), h.preventDefault(), C) {
4999
- a == null || a(h, [], "removeOption");
5002
+ i == null || i(h, [], "removeOption");
5000
5003
  return;
5001
5004
  }
5002
- a == null || a(h, l || [], "selectOption");
5005
+ i == null || i(h, l || [], "selectOption");
5003
5006
  },
5004
5007
  children: /* @__PURE__ */ E(Yr, { disableRipple: !0, children: [
5005
5008
  /* @__PURE__ */ n(Ur, { disableRipple: !0, id: "select-all-checkbox", checked: C, sx: r1 }),
5006
5009
  /* @__PURE__ */ n($e, { primary: (t == null ? void 0 : t.selectAll) || g("selectAll"), primaryTypographyProps: { variant: "body2" } }),
5007
- !i && /* @__PURE__ */ n(
5010
+ !a && /* @__PURE__ */ n(
5008
5011
  a1,
5009
5012
  {
5010
5013
  variant: "link",
@@ -5014,7 +5017,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5014
5017
  textDecoration: "none"
5015
5018
  },
5016
5019
  onClick: (h) => {
5017
- a == null || a(h, [], "removeOption");
5020
+ i == null || i(h, [], "removeOption");
5018
5021
  },
5019
5022
  onMouseDown: (h) => {
5020
5023
  h.stopPropagation(), h.preventDefault();
@@ -5038,10 +5041,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5038
5041
  const S = Array.isArray(d) ? d == null ? void 0 : d.filter(
5039
5042
  (w) => !(JSON.stringify(w) === JSON.stringify(h) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (h == null ? void 0 : h.id))
5040
5043
  ) : [];
5041
- a == null || a(v, S, "removeOption");
5044
+ i == null || i(v, S, "removeOption");
5042
5045
  return;
5043
5046
  }
5044
- a == null || a(v, [...Array.isArray(d) ? d : [], h], "selectOption");
5047
+ i == null || i(v, [...Array.isArray(d) ? d : [], h], "selectOption");
5045
5048
  },
5046
5049
  children: /* @__PURE__ */ E(Yr, { disableRipple: !0, children: [
5047
5050
  /* @__PURE__ */ n(Ur, { disableRipple: !0, checked: u, sx: r1 }),
@@ -5060,8 +5063,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5060
5063
  onChange: e,
5061
5064
  disableCheckbox: r,
5062
5065
  placeholder: t,
5063
- localeText: i,
5064
- disableReset: a,
5066
+ localeText: a,
5067
+ disableReset: i,
5065
5068
  disableSelectAll: o,
5066
5069
  value: l,
5067
5070
  onFocus: d,
@@ -5080,7 +5083,7 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5080
5083
  options: R = [],
5081
5084
  slotProps: p,
5082
5085
  ..._
5083
- }, k) => {
5086
+ }, A) => {
5084
5087
  const { palette: j } = ge(), [I, Q] = ae(!1), [X, Y] = ae(""), P = j.mode === "light" ? "default" : "primary", K = C || X;
5085
5088
  return /* @__PURE__ */ n(
5086
5089
  ln,
@@ -5091,15 +5094,15 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5091
5094
  value: w ? l || [] : l || null,
5092
5095
  loading: h,
5093
5096
  options: R,
5094
- ref: k,
5097
+ ref: A,
5095
5098
  size: v,
5096
5099
  disableCloseOnSelect: S,
5097
- onChange: (z, A, G, re) => {
5098
- if (A === null) {
5100
+ onChange: (z, k, G, re) => {
5101
+ if (k === null) {
5099
5102
  e == null || e(z, w ? [] : null, G, re);
5100
5103
  return;
5101
5104
  }
5102
- e == null || e(z, A, G, re), (!S || !w) && Q(!1);
5105
+ e == null || e(z, k, G, re), (!S || !w) && Q(!1);
5103
5106
  },
5104
5107
  getLimitTagsText: ga(P),
5105
5108
  inputValue: K,
@@ -5111,10 +5114,10 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5111
5114
  slotProps: {
5112
5115
  ...p,
5113
5116
  paper: {
5114
- disableReset: a,
5117
+ disableReset: i,
5115
5118
  disableSelectAll: o,
5116
5119
  loading: h,
5117
- localeText: i,
5120
+ localeText: a,
5118
5121
  multiple: w,
5119
5122
  onChange: e,
5120
5123
  options: R,
@@ -5122,8 +5125,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5122
5125
  ...p == null ? void 0 : p.paper
5123
5126
  }
5124
5127
  },
5125
- onInputChange: (z, A, G) => {
5126
- G === "reset" && I && !M || G === "selectOption" && !M || G === "removeOption" && !M || (C || Y(A), g == null || g(z, A, G));
5128
+ onInputChange: (z, k, G) => {
5129
+ G === "reset" && I && !M || G === "selectOption" && !M || G === "removeOption" && !M || (C || Y(k), g == null || g(z, k, G));
5127
5130
  },
5128
5131
  onFocus: (z) => {
5129
5132
  Q(!0), d == null || d(z);
@@ -5131,12 +5134,12 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5131
5134
  onBlur: (z) => {
5132
5135
  Q(!1), c == null || c(z);
5133
5136
  },
5134
- renderOption: b || ((z, A, { selected: G }) => {
5137
+ renderOption: b || ((z, k, { selected: G }) => {
5135
5138
  var le;
5136
- if (h || A != null && A.isHeader)
5139
+ if (h || k != null && k.isHeader)
5137
5140
  return null;
5138
- const re = `${A == null ? void 0 : A.id}-${z == null ? void 0 : z.key}`;
5139
- return /* @__PURE__ */ fn(_e, { ...z, key: re }, !r && /* @__PURE__ */ n(Ur, { disableRipple: !0, checked: G, sx: r1 }), (A == null ? void 0 : A.image) && /* @__PURE__ */ n(
5141
+ const re = `${k == null ? void 0 : k.id}-${z == null ? void 0 : z.key}`;
5142
+ return /* @__PURE__ */ fn(_e, { ...z, key: re }, !r && /* @__PURE__ */ n(Ur, { disableRipple: !0, checked: G, sx: r1 }), (k == null ? void 0 : k.image) && /* @__PURE__ */ n(
5140
5143
  sn,
5141
5144
  {
5142
5145
  sx: {
@@ -5145,18 +5148,18 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5145
5148
  minWidth: "auto",
5146
5149
  width: 24
5147
5150
  },
5148
- children: /* @__PURE__ */ n(vr, { variant: "rounded", src: A == null ? void 0 : A.image, sx: { height: 24, width: 24 }, children: (A == null ? void 0 : A.image) === "letter" && typeof (A == null ? void 0 : A.label) == "string" && ((le = A == null ? void 0 : A.label) == null ? void 0 : le.charAt(0).toUpperCase()) })
5151
+ children: /* @__PURE__ */ n(vr, { variant: "rounded", src: k == null ? void 0 : k.image, sx: { height: 24, width: 24 }, children: (k == null ? void 0 : k.image) === "letter" && typeof (k == null ? void 0 : k.label) == "string" && ((le = k == null ? void 0 : k.label) == null ? void 0 : le.charAt(0).toUpperCase()) })
5149
5152
  }
5150
- ), typeof (A == null ? void 0 : A.label) == "string" ? /* @__PURE__ */ n(q, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: A == null ? void 0 : A.label, children: A.label }) : A == null ? void 0 : A.label);
5153
+ ), typeof (k == null ? void 0 : k.label) == "string" ? /* @__PURE__ */ n(q, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: k == null ? void 0 : k.label, children: k.label }) : k == null ? void 0 : k.label);
5151
5154
  }),
5152
- renderTags: u || ((z, A, G) => Array.isArray(z) ? z.map((re, le) => {
5153
- const { key: Se } = A({ index: le });
5155
+ renderTags: u || ((z, k, G) => Array.isArray(z) ? z.map((re, le) => {
5156
+ const { key: Se } = k({ index: le });
5154
5157
  return G != null && G.focused ? null : /* @__PURE__ */ n(q, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: re == null ? void 0 : re.label }, Se);
5155
5158
  }) : null),
5156
5159
  ..._,
5157
5160
  renderInput: (z) => {
5158
5161
  var re, le;
5159
- const A = () => {
5162
+ const k = () => {
5160
5163
  if (!(!I && (Array.isArray(l) && l.length || !Array.isArray(l) && l)))
5161
5164
  return t;
5162
5165
  }, G = Tr((re = z.InputProps) == null ? void 0 : re.endAdornment) ? (le = z.InputProps) == null ? void 0 : le.endAdornment : null;
@@ -5182,14 +5185,14 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5182
5185
  right: 9
5183
5186
  },
5184
5187
  children: [
5185
- I && K && !y && /* @__PURE__ */ n(Ae, { size: "small", onClick: () => Y(""), sx: { marginRight: "-3px" }, children: /* @__PURE__ */ n(p1, { sx: { fontSize: J(20) } }) }),
5188
+ I && K && !y && /* @__PURE__ */ n(ke, { size: "small", onClick: () => Y(""), sx: { marginRight: "-3px" }, children: /* @__PURE__ */ n(p1, { sx: { fontSize: J(20) } }) }),
5186
5189
  G == null ? void 0 : G.props.children[1]
5187
5190
  ]
5188
5191
  }
5189
5192
  ) : G
5190
5193
  }
5191
5194
  },
5192
- placeholder: A()
5195
+ placeholder: k()
5193
5196
  }
5194
5197
  );
5195
5198
  }
@@ -5199,8 +5202,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5199
5202
  in: e,
5200
5203
  children: r,
5201
5204
  sx: t,
5202
- padding: i,
5203
- direction: a,
5205
+ padding: a,
5206
+ direction: i,
5204
5207
  position: o = "fixed",
5205
5208
  mountOnEnter: l = !0,
5206
5209
  unmountOnExit: d = !0,
@@ -5215,17 +5218,17 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5215
5218
  borderTop: ({ palette: g }) => `1px solid ${g.divider}`,
5216
5219
  bottom: 0,
5217
5220
  left: 0,
5218
- padding: i,
5219
- paddingX: i ? void 0 : 2,
5220
- paddingY: i ? void 0 : 3,
5221
+ padding: a,
5222
+ paddingX: a ? void 0 : 2,
5223
+ paddingY: a ? void 0 : 3,
5221
5224
  position: o,
5222
5225
  right: 0,
5223
5226
  zIndex: 10,
5224
- ...a === "column" && {
5227
+ ...i === "column" && {
5225
5228
  display: "flex",
5226
5229
  flexDirection: "column"
5227
5230
  },
5228
- ...a === "row" && {
5231
+ ...i === "row" && {
5229
5232
  display: "flex",
5230
5233
  flexDirection: "row"
5231
5234
  },
@@ -5235,16 +5238,16 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5235
5238
  children: r
5236
5239
  }
5237
5240
  ) }), Wa = xe(ba), ja = ({ children: e, permissions: r, disabledPermissions: t }) => {
5238
- const [i, a] = ae(), o = kr(
5241
+ const [a, i] = ae(), o = Ar(
5239
5242
  () => ({
5240
5243
  disabledPermissions: t,
5241
- permissions: i,
5242
- setPermissions: a
5244
+ permissions: a,
5245
+ setPermissions: i
5243
5246
  }),
5244
- [t, i]
5247
+ [t, a]
5245
5248
  );
5246
5249
  return Rr(() => {
5247
- a(r);
5250
+ i(r);
5248
5251
  }, [r]), /* @__PURE__ */ n(rt.Provider, { value: o, children: e });
5249
5252
  }, ya = {
5250
5253
  component: void 0,
@@ -5263,8 +5266,8 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5263
5266
  autoHideDuration: r = 5e3,
5264
5267
  anchorOrigin: t = { horizontal: "center", vertical: "bottom" }
5265
5268
  }) => {
5266
- const [i, a] = ae(ya), o = de((c) => {
5267
- a({
5269
+ const [a, i] = ae(ya), o = de((c) => {
5270
+ i({
5268
5271
  component: c == null ? void 0 : c.component,
5269
5272
  isOpen: !0,
5270
5273
  message: (c == null ? void 0 : c.message) || "",
@@ -5272,43 +5275,43 @@ const B1 = 32, yi = 24, vi = 105, mi = 24, wi = 195, Ei = 44, Mi = 147, Si = ()
5272
5275
  variant: (c == null ? void 0 : c.variant) || "standard"
5273
5276
  });
5274
5277
  }, []), l = de((c, f) => {
5275
- f !== "clickaway" && a((g) => ({ ...g, isOpen: !1 }));
5276
- }, []), d = kr(
5278
+ f !== "clickaway" && i((g) => ({ ...g, isOpen: !1 }));
5279
+ }, []), d = Ar(
5277
5280
  () => ({
5278
5281
  closeSnackbar: l,
5279
- isOpen: i.isOpen,
5282
+ isOpen: a.isOpen,
5280
5283
  openSnackbar: o
5281
5284
  }),
5282
- [l, o, i.isOpen]
5285
+ [l, o, a.isOpen]
5283
5286
  );
5284
5287
  return /* @__PURE__ */ E(Et.Provider, { value: d, children: [
5285
5288
  /* @__PURE__ */ n(
5286
5289
  pn,
5287
5290
  {
5288
- open: i.isOpen,
5291
+ open: a.isOpen,
5289
5292
  onClose: l,
5290
5293
  autoHideDuration: r,
5291
5294
  anchorOrigin: t,
5292
- children: i.component ? /* @__PURE__ */ n(i.component, {}) : /* @__PURE__ */ n(i1, { severity: i.severity, variant: i.variant, children: i.message })
5295
+ children: a.component ? /* @__PURE__ */ n(a.component, {}) : /* @__PURE__ */ n(i1, { severity: a.severity, variant: a.variant, children: a.message })
5293
5296
  },
5294
- i.message
5297
+ a.message
5295
5298
  ),
5296
5299
  e
5297
5300
  ] });
5298
5301
  }, Ua = () => {
5299
- const e = Te(Et), { isOpen: r, closeSnackbar: t, openSnackbar: i } = e;
5302
+ const e = Te(Et), { isOpen: r, closeSnackbar: t, openSnackbar: a } = e;
5300
5303
  if (e === void 0)
5301
5304
  throw new Error("SnackbarProvider must be used within a useSnackBar hook");
5302
5305
  return {
5303
5306
  closeSnackbar: t,
5304
5307
  isOpen: r,
5305
- openSnackbar: i
5308
+ openSnackbar: a
5306
5309
  };
5307
5310
  }, Ga = () => {
5308
5311
  const [e, r] = ae(0);
5309
5312
  return {
5310
- handleChange: de((i, a) => {
5311
- r(a);
5313
+ handleChange: de((a, i) => {
5314
+ r(i);
5312
5315
  }, []),
5313
5316
  value: e
5314
5317
  };
@@ -5332,9 +5335,9 @@ export {
5332
5335
  Ma as LinkTab,
5333
5336
  Za as ListAvatar,
5334
5337
  Za as ListAvatars,
5335
- Aa as ListItemCard,
5338
+ ka as ListItemCard,
5336
5339
  Ti as Logo,
5337
- ka as NavigationMenu,
5340
+ Aa as NavigationMenu,
5338
5341
  Ne as NavigationMenuContext,
5339
5342
  ja as PermissionProvider,
5340
5343
  Ta as QuantityField,