kelt-ui-kit-react 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -25,13 +25,13 @@ var cr;
25
25
  function An() {
26
26
  if (cr) return Be;
27
27
  cr = 1;
28
- var e = ie, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
28
+ var e = ie, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
29
29
  function c(u, l, m) {
30
30
  var y, g = {}, p = null, d = null;
31
31
  m !== void 0 && (p = "" + m), l.key !== void 0 && (p = "" + l.key), l.ref !== void 0 && (d = l.ref);
32
32
  for (y in l) n.call(l, y) && !i.hasOwnProperty(y) && (g[y] = l[y]);
33
33
  if (u && u.defaultProps) for (y in l = u.defaultProps, l) g[y] === void 0 && (g[y] = l[y]);
34
- return { $$typeof: t, type: u, key: p, ref: d, props: g, _owner: o.current };
34
+ return { $$typeof: t, type: u, key: p, ref: d, props: g, _owner: a.current };
35
35
  }
36
36
  return Be.Fragment = r, Be.jsx = c, Be.jsxs = c, Be;
37
37
  }
@@ -48,7 +48,7 @@ var Ye = {};
48
48
  var lr;
49
49
  function $n() {
50
50
  return lr || (lr = 1, process.env.NODE_ENV !== "production" && function() {
51
- var e = ie, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), f = Symbol.iterator, x = "@@iterator";
51
+ var e = ie, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), f = Symbol.iterator, x = "@@iterator";
52
52
  function v(s) {
53
53
  if (s === null || typeof s != "object")
54
54
  return null;
@@ -76,7 +76,7 @@ function $n() {
76
76
  var N = !1, T = !1, k = !1, E = !1, V = !1, X;
77
77
  X = Symbol.for("react.module.reference");
78
78
  function vt(s) {
79
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || V || s === o || s === m || s === y || E || s === d || N || T || k || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === g || s.$$typeof === c || s.$$typeof === u || s.$$typeof === l || // This needs to include all possible module reference object
79
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || V || s === a || s === m || s === y || E || s === d || N || T || k || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === g || s.$$typeof === c || s.$$typeof === u || s.$$typeof === l || // This needs to include all possible module reference object
80
80
  // types supported by any Flight configuration anywhere since
81
81
  // we don't know which Flight build this will end up being used
82
82
  // with.
@@ -106,7 +106,7 @@ function $n() {
106
106
  return "Portal";
107
107
  case i:
108
108
  return "Profiler";
109
- case o:
109
+ case a:
110
110
  return "StrictMode";
111
111
  case m:
112
112
  return "Suspense";
@@ -636,25 +636,25 @@ React keys must be passed directly to JSX without using spread:
636
636
  }()), Ye;
637
637
  }
638
638
  process.env.NODE_ENV === "production" ? kt.exports = An() : kt.exports = $n();
639
- var a = kt.exports;
640
- const D = ({ classIcon: e, size: t }) => /* @__PURE__ */ a.jsx("i", { className: `bi ${e} ${t ?? "sm"}` }), Ir = ({
639
+ var o = kt.exports;
640
+ const D = ({ classIcon: e, size: t }) => /* @__PURE__ */ o.jsx("i", { className: `bi ${e} ${t ?? "sm"}` }), Ir = ({
641
641
  className: e,
642
642
  onClick: t,
643
643
  title: r,
644
644
  sizeIcon: n,
645
- classIcon: o
645
+ classIcon: a
646
646
  }) => {
647
647
  const i = $((c) => {
648
648
  c.stopPropagation(), t && t(c);
649
649
  }, []);
650
- return /* @__PURE__ */ a.jsxs(
650
+ return /* @__PURE__ */ o.jsxs(
651
651
  "div",
652
652
  {
653
653
  onClick: i,
654
654
  className: `badge ${e || ""}`,
655
655
  children: [
656
- o && /* @__PURE__ */ a.jsx(D, { size: n, classIcon: o }),
657
- /* @__PURE__ */ a.jsx("span", { children: r })
656
+ a && /* @__PURE__ */ o.jsx(D, { size: n, classIcon: a }),
657
+ /* @__PURE__ */ o.jsx("span", { children: r })
658
658
  ]
659
659
  }
660
660
  );
@@ -665,22 +665,22 @@ const uo = ({
665
665
  onClick: t,
666
666
  title: r,
667
667
  classIcon: n,
668
- badge: o
668
+ badge: a
669
669
  }) => {
670
670
  const i = (c) => {
671
671
  t && t(c);
672
672
  };
673
- return /* @__PURE__ */ a.jsxs("div", { className: `action ${e}`, onClick: i, children: [
674
- o && /* @__PURE__ */ a.jsx(Ir, { ...o }),
675
- n && /* @__PURE__ */ a.jsx(D, { classIcon: n, size: ae.LARGE }),
676
- /* @__PURE__ */ a.jsx("small", { children: r })
673
+ return /* @__PURE__ */ o.jsxs("div", { className: `action ${e}`, onClick: i, children: [
674
+ a && /* @__PURE__ */ o.jsx(Ir, { ...a }),
675
+ n && /* @__PURE__ */ o.jsx(D, { classIcon: n, size: ae.LARGE }),
676
+ /* @__PURE__ */ o.jsx("small", { children: r })
677
677
  ] });
678
678
  }, Ge = ({
679
679
  className: e,
680
680
  onClick: t,
681
681
  badge: r,
682
682
  title: n,
683
- sizeIcon: o,
683
+ sizeIcon: a,
684
684
  classIcon: i,
685
685
  positionicon: c = 1,
686
686
  disabled: u = !1
@@ -688,7 +688,7 @@ const uo = ({
688
688
  const l = (m) => {
689
689
  m.stopPropagation(), t && t(m);
690
690
  };
691
- return /* @__PURE__ */ a.jsxs(
691
+ return /* @__PURE__ */ o.jsxs(
692
692
  "button",
693
693
  {
694
694
  disabled: u,
@@ -696,14 +696,14 @@ const uo = ({
696
696
  onClick: (m) => l(m),
697
697
  className: e,
698
698
  children: [
699
- r && /* @__PURE__ */ a.jsx(Ir, { ...r }),
700
- i && c == 1 && /* @__PURE__ */ a.jsx("span", { className: `${n ? "mr-2" : ""}`, children: /* @__PURE__ */ a.jsx(D, { size: o, classIcon: i }) }),
701
- /* @__PURE__ */ a.jsx("span", { children: n }),
702
- i && c == 2 && /* @__PURE__ */ a.jsx("span", { className: "ml-2", children: /* @__PURE__ */ a.jsx(D, { classIcon: i }) })
699
+ r && /* @__PURE__ */ o.jsx(Ir, { ...r }),
700
+ i && c == 1 && /* @__PURE__ */ o.jsx("span", { className: `${n ? "mr-2" : ""}`, children: /* @__PURE__ */ o.jsx(D, { size: a, classIcon: i }) }),
701
+ /* @__PURE__ */ o.jsx("span", { children: n }),
702
+ i && c == 2 && /* @__PURE__ */ o.jsx("span", { className: "ml-2", children: /* @__PURE__ */ o.jsx(D, { classIcon: i }) })
703
703
  ]
704
704
  }
705
705
  );
706
- }, Dn = (e) => /* @__PURE__ */ a.jsx(
706
+ }, Dn = (e) => /* @__PURE__ */ o.jsx(
707
707
  "div",
708
708
  {
709
709
  onClick: () => e.onChange(e.item),
@@ -713,8 +713,8 @@ const uo = ({
713
713
  ), Tr = (e) => {
714
714
  const [t, r] = F(null), n = $((i) => {
715
715
  r(i);
716
- }, []), o = (i) => /* @__PURE__ */ a.jsx("ul", { children: i.map((c) => /* @__PURE__ */ a.jsxs("li", { children: [
717
- /* @__PURE__ */ a.jsx(
716
+ }, []), a = (i) => /* @__PURE__ */ o.jsx("ul", { children: i.map((c) => /* @__PURE__ */ o.jsxs("li", { children: [
717
+ /* @__PURE__ */ o.jsx(
718
718
  Dn,
719
719
  {
720
720
  item: c,
@@ -722,14 +722,14 @@ const uo = ({
722
722
  active: (t == null ? void 0 : t.id) === c.id
723
723
  }
724
724
  ),
725
- c.subMenu && c.subMenu.length > 0 && /* @__PURE__ */ a.jsx("div", { className: "ml-3 submenu", children: o(c.subMenu) })
725
+ c.subMenu && c.subMenu.length > 0 && /* @__PURE__ */ o.jsx("div", { className: "ml-3 submenu", children: a(c.subMenu) })
726
726
  ] }, c.id)) });
727
- return /* @__PURE__ */ a.jsx("div", { className: `menu ${e.className || ""}`, children: o(e.items) });
727
+ return /* @__PURE__ */ o.jsx("div", { className: `menu ${e.className || ""}`, children: a(e.items) });
728
728
  }, Ar = On(void 0), fo = ({
729
729
  children: e
730
730
  }) => {
731
731
  const [t, r] = F(null);
732
- return /* @__PURE__ */ a.jsx(Ar.Provider, { value: { activeOverlayId: t, setActiveOverlay: r }, children: e });
732
+ return /* @__PURE__ */ o.jsx(Ar.Provider, { value: { activeOverlayId: t, setActiveOverlay: r }, children: e });
733
733
  }, Mn = () => {
734
734
  const e = Pr(Ar);
735
735
  if (!e)
@@ -738,7 +738,7 @@ const uo = ({
738
738
  };
739
739
  var H = function() {
740
740
  return H = Object.assign || function(t) {
741
- for (var r, n = 1, o = arguments.length; n < o; n++) {
741
+ for (var r, n = 1, a = arguments.length; n < a; n++) {
742
742
  r = arguments[n];
743
743
  for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
744
744
  }
@@ -746,7 +746,7 @@ var H = function() {
746
746
  }, H.apply(this, arguments);
747
747
  };
748
748
  function Ie(e, t, r) {
749
- if (r || arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
749
+ if (r || arguments.length === 2) for (var n = 0, a = t.length, i; n < a; n++)
750
750
  (i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
751
751
  return e.concat(i || Array.prototype.slice.call(t));
752
752
  }
@@ -801,8 +801,8 @@ function ur(e, t) {
801
801
  });
802
802
  }
803
803
  var ft = 1, Ae = 1, zr = 0, Z = 0, W = 0, Fe = "";
804
- function ht(e, t, r, n, o, i, c, u) {
805
- return { value: e, root: t, parent: r, type: n, props: o, children: i, line: ft, column: Ae, length: c, return: "", siblings: u };
804
+ function ht(e, t, r, n, a, i, c, u) {
805
+ return { value: e, root: t, parent: r, type: n, props: a, children: i, line: ft, column: Ae, length: c, return: "", siblings: u };
806
806
  }
807
807
  function ge(e, t) {
808
808
  return _t(ht("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
@@ -913,8 +913,8 @@ function Zn(e) {
913
913
  function Qn(e) {
914
914
  return Hn(st("", null, null, null, [""], e = Gn(e), 0, [0], e));
915
915
  }
916
- function st(e, t, r, n, o, i, c, u, l) {
917
- for (var m = 0, y = 0, g = c, p = 0, d = 0, f = 0, x = 1, v = 1, b = 1, w = 0, S = "", N = o, T = i, k = n, E = S; v; )
916
+ function st(e, t, r, n, a, i, c, u, l) {
917
+ for (var m = 0, y = 0, g = c, p = 0, d = 0, f = 0, x = 1, v = 1, b = 1, w = 0, S = "", N = a, T = i, k = n, E = S; v; )
918
918
  switch (f = w, w = ne()) {
919
919
  case 40:
920
920
  if (f != 108 && B(E, g - 1) == 58) {
@@ -960,7 +960,7 @@ function st(e, t, r, n, o, i, c, u, l) {
960
960
  case 59:
961
961
  E += ";";
962
962
  default:
963
- if (Ue(k = dr(E, t, r, m, y, o, u, S, N = [], T = [], g, i), i), w === 123)
963
+ if (Ue(k = dr(E, t, r, m, y, a, u, S, N = [], T = [], g, i), i), w === 123)
964
964
  if (y === 0)
965
965
  st(E, t, k, k, N, i, g, u, T);
966
966
  else
@@ -969,7 +969,7 @@ function st(e, t, r, n, o, i, c, u, l) {
969
969
  case 108:
970
970
  case 109:
971
971
  case 115:
972
- st(e, k, k, n && Ue(dr(e, k, k, 0, 0, o, u, S, o, N = [], g, T), T), o, T, g, u, n ? N : T);
972
+ st(e, k, k, n && Ue(dr(e, k, k, 0, 0, a, u, S, a, N = [], g, T), T), a, T, g, u, n ? N : T);
973
973
  break;
974
974
  default:
975
975
  st(E, k, k, k, [""], T, 0, u, T);
@@ -1002,17 +1002,17 @@ function st(e, t, r, n, o, i, c, u, l) {
1002
1002
  }
1003
1003
  return i;
1004
1004
  }
1005
- function dr(e, t, r, n, o, i, c, u, l, m, y, g) {
1006
- for (var p = o - 1, d = o === 0 ? i : [""], f = Lr(d), x = 0, v = 0, b = 0; x < n; ++x)
1005
+ function dr(e, t, r, n, a, i, c, u, l, m, y, g) {
1006
+ for (var p = a - 1, d = a === 0 ? i : [""], f = Lr(d), x = 0, v = 0, b = 0; x < n; ++x)
1007
1007
  for (var w = 0, S = Te(e, p + 1, p = Mr(v = c[x])), N = e; w < f; ++w)
1008
1008
  (N = Fr(v > 0 ? d[w] + " " + S : R(S, /&\f/g, d[w]))) && (l[b++] = N);
1009
- return ht(e, t, r, o === 0 ? dt : u, l, m, y, g);
1009
+ return ht(e, t, r, a === 0 ? dt : u, l, m, y, g);
1010
1010
  }
1011
1011
  function es(e, t, r, n) {
1012
1012
  return ht(e, t, r, $r, Wt(Un()), Te(e, 2, -2), 0, n);
1013
1013
  }
1014
- function fr(e, t, r, n, o) {
1015
- return ht(e, t, r, zt, Te(e, 0, n), Te(e, n + 1, -1), n, o);
1014
+ function fr(e, t, r, n, a) {
1015
+ return ht(e, t, r, zt, Te(e, 0, n), Te(e, n + 1, -1), n, a);
1016
1016
  }
1017
1017
  function Wr(e, t, r) {
1018
1018
  switch (Bn(e, t)) {
@@ -1096,8 +1096,8 @@ function Wr(e, t, r) {
1096
1096
  return M + R(e, "template-", "") + e;
1097
1097
  case 4384:
1098
1098
  case 3616:
1099
- return r && r.some(function(n, o) {
1100
- return t = o, ue(n.props, /grid-\w+-end/);
1099
+ return r && r.some(function(n, a) {
1100
+ return t = a, ue(n.props, /grid-\w+-end/);
1101
1101
  }) ? ~rt(e + (r = r[t].value), "span", 0) ? e : M + R(e, "-start", "") + e + M + "grid-row-span:" + (~rt(r, "span", 0) ? ue(r, /\d+/) : +ue(r, /\d+/) - +ue(e, /\d+/)) + ";" : M + R(e, "-start", "") + e;
1102
1102
  case 4896:
1103
1103
  case 4128:
@@ -1134,8 +1134,8 @@ function Wr(e, t, r) {
1134
1134
  break;
1135
1135
  case 5152:
1136
1136
  case 5920:
1137
- return R(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, o, i, c, u, l, m) {
1138
- return M + o + ":" + i + m + (c ? M + o + "-span:" + (u ? l : +l - +i) + m : "") + e;
1137
+ return R(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, a, i, c, u, l, m) {
1138
+ return M + a + ":" + i + m + (c ? M + a + "-span:" + (u ? l : +l - +i) + m : "") + e;
1139
1139
  });
1140
1140
  case 4949:
1141
1141
  if (B(e, t + 6) === 121)
@@ -1181,9 +1181,9 @@ function ts(e, t, r, n) {
1181
1181
  }
1182
1182
  function rs(e) {
1183
1183
  var t = Lr(e);
1184
- return function(r, n, o, i) {
1184
+ return function(r, n, a, i) {
1185
1185
  for (var c = "", u = 0; u < t; u++)
1186
- c += e[u](r, n, o, i) || "";
1186
+ c += e[u](r, n, a, i) || "";
1187
1187
  return c;
1188
1188
  };
1189
1189
  }
@@ -1202,14 +1202,14 @@ function ss(e, t, r, n) {
1202
1202
  return ct([ge(e, { value: R(e.value, "@", "@" + I) })], n);
1203
1203
  case dt:
1204
1204
  if (e.length)
1205
- return Yn(r = e.props, function(o) {
1206
- switch (ue(o, n = /(::plac\w+|:read-\w+)/)) {
1205
+ return Yn(r = e.props, function(a) {
1206
+ switch (ue(a, n = /(::plac\w+|:read-\w+)/)) {
1207
1207
  case ":read-only":
1208
1208
  case ":read-write":
1209
- Pe(ge(e, { props: [R(o, /:(read-\w+)/, ":" + qe + "$1")] })), Pe(ge(e, { props: [o] })), _t(e, { props: ur(r, n) });
1209
+ Pe(ge(e, { props: [R(a, /:(read-\w+)/, ":" + qe + "$1")] })), Pe(ge(e, { props: [a] })), _t(e, { props: ur(r, n) });
1210
1210
  break;
1211
1211
  case "::placeholder":
1212
- Pe(ge(e, { props: [R(o, /:(plac\w+)/, ":" + I + "input-$1")] })), Pe(ge(e, { props: [R(o, /:(plac\w+)/, ":" + qe + "$1")] })), Pe(ge(e, { props: [R(o, /:(plac\w+)/, M + "input-$1")] })), Pe(ge(e, { props: [o] })), _t(e, { props: ur(r, n) });
1212
+ Pe(ge(e, { props: [R(a, /:(plac\w+)/, ":" + I + "input-$1")] })), Pe(ge(e, { props: [R(a, /:(plac\w+)/, ":" + qe + "$1")] })), Pe(ge(e, { props: [R(a, /:(plac\w+)/, M + "input-$1")] })), Pe(ge(e, { props: [a] })), _t(e, { props: ur(r, n) });
1213
1213
  break;
1214
1214
  }
1215
1215
  return "";
@@ -1271,17 +1271,17 @@ var os = {
1271
1271
  `) + `You may see this warning because you've called styled inside another component.
1272
1272
  To resolve this only create new StyledComponents outside of any render method and function component.
1273
1273
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
1274
- `, o = console.error;
1274
+ `, a = console.error;
1275
1275
  try {
1276
1276
  var i = !0;
1277
1277
  console.error = function(c) {
1278
1278
  for (var u = [], l = 1; l < arguments.length; l++) u[l - 1] = arguments[l];
1279
- hr.test(c) ? (i = !1, Ze.delete(n)) : o.apply(void 0, Ie([c], u, !1));
1279
+ hr.test(c) ? (i = !1, Ze.delete(n)) : a.apply(void 0, Ie([c], u, !1));
1280
1280
  }, se(), i && !Ze.has(n) && (console.warn(n), Ze.add(n));
1281
1281
  } catch (c) {
1282
1282
  hr.test(c.message) && Ze.delete(n);
1283
1283
  } finally {
1284
- console.error = o;
1284
+ console.error = a;
1285
1285
  }
1286
1286
  }
1287
1287
  }, gt = Object.freeze([]), $e = Object.freeze({});
@@ -1327,10 +1327,10 @@ function Kr(e, t, r) {
1327
1327
  var n = bs(t);
1328
1328
  n && n !== yr && Kr(e, n, r);
1329
1329
  }
1330
- var o = ys(t);
1331
- vr && (o = o.concat(vr(t)));
1332
- for (var i = gr(e), c = gr(t), u = 0; u < o.length; ++u) {
1333
- var l = o[u];
1330
+ var a = ys(t);
1331
+ vr && (a = a.concat(vr(t)));
1332
+ for (var i = gr(e), c = gr(t), u = 0; u < a.length; ++u) {
1333
+ var l = a[u];
1334
1334
  if (!(l in ms || r && r[l] || c && l in c || i && l in i)) {
1335
1335
  var m = xs(t, l);
1336
1336
  try {
@@ -1412,7 +1412,7 @@ Has styled-components' style tag been unmounted or altered by another script?
1412
1412
  `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1413
1413
  function js() {
1414
1414
  for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1415
- for (var r = e[0], n = [], o = 1, i = e.length; o < i; o += 1) n.push(e[o]);
1415
+ for (var r = e[0], n = [], a = 1, i = e.length; a < i; a += 1) n.push(e[a]);
1416
1416
  return n.forEach(function(c) {
1417
1417
  r = r.replace(/%[a-z]/, c);
1418
1418
  }), r;
@@ -1430,21 +1430,21 @@ var Ss = function() {
1430
1430
  return r;
1431
1431
  }, e.prototype.insertRules = function(t, r) {
1432
1432
  if (t >= this.groupSizes.length) {
1433
- for (var n = this.groupSizes, o = n.length, i = o; t >= i; ) if ((i <<= 1) < 0) throw Le(16, "".concat(t));
1433
+ for (var n = this.groupSizes, a = n.length, i = a; t >= i; ) if ((i <<= 1) < 0) throw Le(16, "".concat(t));
1434
1434
  this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
1435
- for (var c = o; c < i; c++) this.groupSizes[c] = 0;
1435
+ for (var c = a; c < i; c++) this.groupSizes[c] = 0;
1436
1436
  }
1437
1437
  for (var u = this.indexOfGroup(t + 1), l = (c = 0, r.length); c < l; c++) this.tag.insertRule(u, r[c]) && (this.groupSizes[t]++, u++);
1438
1438
  }, e.prototype.clearGroup = function(t) {
1439
1439
  if (t < this.length) {
1440
- var r = this.groupSizes[t], n = this.indexOfGroup(t), o = n + r;
1440
+ var r = this.groupSizes[t], n = this.indexOfGroup(t), a = n + r;
1441
1441
  this.groupSizes[t] = 0;
1442
- for (var i = n; i < o; i++) this.tag.deleteRule(n);
1442
+ for (var i = n; i < a; i++) this.tag.deleteRule(n);
1443
1443
  }
1444
1444
  }, e.prototype.getGroup = function(t) {
1445
1445
  var r = "";
1446
1446
  if (t >= this.length || this.groupSizes[t] === 0) return r;
1447
- for (var n = this.groupSizes[t], o = this.indexOfGroup(t), i = o + n, c = o; c < i; c++) r += "".concat(this.tag.getRule(c)).concat(Vt);
1447
+ for (var n = this.groupSizes[t], a = this.indexOfGroup(t), i = a + n, c = a; c < i; c++) r += "".concat(this.tag.getRule(c)).concat(Vt);
1448
1448
  return r;
1449
1449
  }, e;
1450
1450
  }(), Es = 1 << 30, ot = /* @__PURE__ */ new Map(), ut = /* @__PURE__ */ new Map(), at = 1, et = function(e) {
@@ -1456,32 +1456,32 @@ var Ss = function() {
1456
1456
  }, Cs = function(e, t) {
1457
1457
  at = t + 1, ot.set(e, t), ut.set(t, e);
1458
1458
  }, Ns = "style[".concat(Se, "][").concat(Br, '="').concat(mt, '"]'), Rs = new RegExp("^".concat(Se, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), ks = function(e, t, r) {
1459
- for (var n, o = r.split(","), i = 0, c = o.length; i < c; i++) (n = o[i]) && e.registerName(t, n);
1459
+ for (var n, a = r.split(","), i = 0, c = a.length; i < c; i++) (n = a[i]) && e.registerName(t, n);
1460
1460
  }, _s = function(e, t) {
1461
- for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Vt), o = [], i = 0, c = n.length; i < c; i++) {
1461
+ for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Vt), a = [], i = 0, c = n.length; i < c; i++) {
1462
1462
  var u = n[i].trim();
1463
1463
  if (u) {
1464
1464
  var l = u.match(Rs);
1465
1465
  if (l) {
1466
1466
  var m = 0 | parseInt(l[1], 10), y = l[2];
1467
- m !== 0 && (Cs(y, m), ks(e, y, l[3]), e.getTag().insertRules(m, o)), o.length = 0;
1468
- } else o.push(u);
1467
+ m !== 0 && (Cs(y, m), ks(e, y, l[3]), e.getTag().insertRules(m, a)), a.length = 0;
1468
+ } else a.push(u);
1469
1469
  }
1470
1470
  }
1471
1471
  }, br = function(e) {
1472
1472
  for (var t = document.querySelectorAll(Ns), r = 0, n = t.length; r < n; r++) {
1473
- var o = t[r];
1474
- o && o.getAttribute(Se) !== Vr && (_s(e, o), o.parentNode && o.parentNode.removeChild(o));
1473
+ var a = t[r];
1474
+ a && a.getAttribute(Se) !== Vr && (_s(e, a), a.parentNode && a.parentNode.removeChild(a));
1475
1475
  }
1476
1476
  };
1477
1477
  function Ps() {
1478
1478
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1479
1479
  }
1480
1480
  var Jr = function(e) {
1481
- var t = document.head, r = e || t, n = document.createElement("style"), o = function(u) {
1481
+ var t = document.head, r = e || t, n = document.createElement("style"), a = function(u) {
1482
1482
  var l = Array.from(u.querySelectorAll("style[".concat(Se, "]")));
1483
1483
  return l[l.length - 1];
1484
- }(r), i = o !== void 0 ? o.nextSibling : null;
1484
+ }(r), i = a !== void 0 ? a.nextSibling : null;
1485
1485
  n.setAttribute(Se, Vr), n.setAttribute(Br, mt);
1486
1486
  var c = Ps();
1487
1487
  return c && n.setAttribute("nonce", c), r.insertBefore(n, i), n;
@@ -1489,8 +1489,8 @@ var Jr = function(e) {
1489
1489
  function e(t) {
1490
1490
  this.element = Jr(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(r) {
1491
1491
  if (r.sheet) return r.sheet;
1492
- for (var n = document.styleSheets, o = 0, i = n.length; o < i; o++) {
1493
- var c = n[o];
1492
+ for (var n = document.styleSheets, a = 0, i = n.length; a < i; a++) {
1493
+ var c = n[a];
1494
1494
  if (c.ownerNode === r) return c;
1495
1495
  }
1496
1496
  throw Le(17);
@@ -1537,7 +1537,7 @@ var Jr = function(e) {
1537
1537
  }(), wr = lt, As = { isServer: !lt, useCSSOMInjection: !as }, Zr = function() {
1538
1538
  function e(t, r, n) {
1539
1539
  t === void 0 && (t = $e), r === void 0 && (r = {});
1540
- var o = this;
1540
+ var a = this;
1541
1541
  this.options = H(H({}, As), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && lt && wr && (wr = !1, br(this)), Yt(this, function() {
1542
1542
  return function(i) {
1543
1543
  for (var c = i.getTag(), u = c.length, l = "", m = function(g) {
@@ -1553,7 +1553,7 @@ var Jr = function(e) {
1553
1553
  }), l += "".concat(f).concat(x, '{content:"').concat(v, '"}').concat(Vt);
1554
1554
  }, y = 0; y < u; y++) m(y);
1555
1555
  return l;
1556
- }(o);
1556
+ }(a);
1557
1557
  });
1558
1558
  }
1559
1559
  return e.registerId = function(t) {
@@ -1566,8 +1566,8 @@ var Jr = function(e) {
1566
1566
  return this.gs[t] = (this.gs[t] || 0) + 1;
1567
1567
  }, e.prototype.getTag = function() {
1568
1568
  return this.tag || (this.tag = (t = function(r) {
1569
- var n = r.useCSSOMInjection, o = r.target;
1570
- return r.isServer ? new Ts(o) : n ? new Os(o) : new Is(o);
1569
+ var n = r.useCSSOMInjection, a = r.target;
1570
+ return r.isServer ? new Ts(a) : n ? new Os(a) : new Is(a);
1571
1571
  }(this.options), new Ss(t)));
1572
1572
  var t;
1573
1573
  }, e.prototype.hasNameForId = function(t, r) {
@@ -1596,7 +1596,7 @@ function Qr(e, t) {
1596
1596
  });
1597
1597
  }
1598
1598
  function Ms(e) {
1599
- var t, r, n, o = $e, i = o.options, c = i === void 0 ? $e : i, u = o.plugins, l = u === void 0 ? gt : u, m = function(p, d, f) {
1599
+ var t, r, n, a = $e, i = a.options, c = i === void 0 ? $e : i, u = a.plugins, l = u === void 0 ? gt : u, m = function(p, d, f) {
1600
1600
  return f.startsWith(r) && f.endsWith(r) && f.replaceAll(r, "").length > 0 ? ".".concat(t) : p;
1601
1601
  }, y = l.slice();
1602
1602
  y.push(function(p) {
@@ -1624,10 +1624,10 @@ function jr() {
1624
1624
  var Sr = function() {
1625
1625
  function e(t, r) {
1626
1626
  var n = this;
1627
- this.inject = function(o, i) {
1627
+ this.inject = function(a, i) {
1628
1628
  i === void 0 && (i = $t);
1629
1629
  var c = n.name + i.hash;
1630
- o.hasNameForId(n.id, c) || o.insertRules(n.id, c, i(n.rules, c, "@keyframes"));
1630
+ a.hasNameForId(n.id, c) || a.insertRules(n.id, c, i(n.rules, c, "@keyframes"));
1631
1631
  }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, Yt(this, function() {
1632
1632
  throw Le(12, String(n.name));
1633
1633
  });
@@ -1650,9 +1650,9 @@ var tn = function(e) {
1650
1650
  return e == null || e === !1 || e === "";
1651
1651
  }, rn = function(e) {
1652
1652
  var t, r, n = [];
1653
- for (var o in e) {
1654
- var i = e[o];
1655
- e.hasOwnProperty(o) && !tn(i) && (Array.isArray(i) && i.isCss || De(i) ? n.push("".concat(Er(o), ":"), i, ";") : Me(i) ? n.push.apply(n, Ie(Ie(["".concat(o, " {")], rn(i), !1), ["}"], !1)) : n.push("".concat(Er(o), ": ").concat((t = o, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in os || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
1653
+ for (var a in e) {
1654
+ var i = e[a];
1655
+ e.hasOwnProperty(a) && !tn(i) && (Array.isArray(i) && i.isCss || De(i) ? n.push("".concat(Er(a), ":"), i, ";") : Me(i) ? n.push.apply(n, Ie(Ie(["".concat(a, " {")], rn(i), !1), ["}"], !1)) : n.push("".concat(Er(a), ": ").concat((t = a, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in os || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
1656
1656
  }
1657
1657
  return n;
1658
1658
  };
@@ -1661,8 +1661,8 @@ function je(e, t, r, n) {
1661
1661
  if (Bt(e)) return [".".concat(e.styledComponentId)];
1662
1662
  if (De(e)) {
1663
1663
  if (!De(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
1664
- var o = e(t);
1665
- return process.env.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof Sr || Me(o) || o === null || console.error("".concat(qr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), je(o, t, r, n);
1664
+ var a = e(t);
1665
+ return process.env.NODE_ENV === "production" || typeof a != "object" || Array.isArray(a) || a instanceof Sr || Me(a) || a === null || console.error("".concat(qr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), je(a, t, r, n);
1666
1666
  }
1667
1667
  var i;
1668
1668
  return e instanceof Sr ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : Me(e) ? rn(e) : Array.isArray(e) ? Array.prototype.concat.apply(gt, e.map(function(c) {
@@ -1681,15 +1681,15 @@ var Ws = Ur(mt), Vs = function() {
1681
1681
  this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && zs(t), this.componentId = r, this.baseHash = xe(Ws, r), this.baseStyle = n, Zr.registerId(r);
1682
1682
  }
1683
1683
  return e.prototype.generateAndInjectStyles = function(t, r, n) {
1684
- var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
1685
- if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) o = be(o, this.staticRulesId);
1684
+ var a = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
1685
+ if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) a = be(a, this.staticRulesId);
1686
1686
  else {
1687
1687
  var i = xr(je(this.rules, t, r, n)), c = Tt(xe(this.baseHash, i) >>> 0);
1688
1688
  if (!r.hasNameForId(this.componentId, c)) {
1689
1689
  var u = n(i, ".".concat(c), void 0, this.componentId);
1690
1690
  r.insertRules(this.componentId, c, u);
1691
1691
  }
1692
- o = be(o, c), this.staticRulesId = c;
1692
+ a = be(a, c), this.staticRulesId = c;
1693
1693
  }
1694
1694
  else {
1695
1695
  for (var l = xe(this.baseHash, n.hash), m = "", y = 0; y < this.rules.length; y++) {
@@ -1702,25 +1702,25 @@ var Ws = Ur(mt), Vs = function() {
1702
1702
  }
1703
1703
  if (m) {
1704
1704
  var d = Tt(l >>> 0);
1705
- r.hasNameForId(this.componentId, d) || r.insertRules(this.componentId, d, n(m, ".".concat(d), void 0, this.componentId)), o = be(o, d);
1705
+ r.hasNameForId(this.componentId, d) || r.insertRules(this.componentId, d, n(m, ".".concat(d), void 0, this.componentId)), a = be(a, d);
1706
1706
  }
1707
1707
  }
1708
- return o;
1708
+ return a;
1709
1709
  }, e;
1710
1710
  }(), nn = ie.createContext(void 0);
1711
1711
  nn.Consumer;
1712
1712
  var Rt = {}, Cr = /* @__PURE__ */ new Set();
1713
1713
  function Bs(e, t, r) {
1714
- var n = Bt(e), o = e, i = !Nt(e), c = t.attrs, u = c === void 0 ? gt : c, l = t.componentId, m = l === void 0 ? function(N, T) {
1714
+ var n = Bt(e), a = e, i = !Nt(e), c = t.attrs, u = c === void 0 ? gt : c, l = t.componentId, m = l === void 0 ? function(N, T) {
1715
1715
  var k = typeof N != "string" ? "sc" : pr(N);
1716
1716
  Rt[k] = (Rt[k] || 0) + 1;
1717
1717
  var E = "".concat(k, "-").concat(fs(mt + k + Rt[k]));
1718
1718
  return T ? "".concat(T, "-").concat(E) : E;
1719
1719
  }(t.displayName, t.parentComponentId) : l, y = t.displayName, g = y === void 0 ? function(N) {
1720
1720
  return Nt(N) ? "styled.".concat(N) : "Styled(".concat(qr(N), ")");
1721
- }(e) : y, p = t.displayName && t.componentId ? "".concat(pr(t.displayName), "-").concat(t.componentId) : t.componentId || m, d = n && o.attrs ? o.attrs.concat(u).filter(Boolean) : u, f = t.shouldForwardProp;
1722
- if (n && o.shouldForwardProp) {
1723
- var x = o.shouldForwardProp;
1721
+ }(e) : y, p = t.displayName && t.componentId ? "".concat(pr(t.displayName), "-").concat(t.componentId) : t.componentId || m, d = n && a.attrs ? a.attrs.concat(u).filter(Boolean) : u, f = t.shouldForwardProp;
1722
+ if (n && a.shouldForwardProp) {
1723
+ var x = a.shouldForwardProp;
1724
1724
  if (t.shouldForwardProp) {
1725
1725
  var v = t.shouldForwardProp;
1726
1726
  f = function(N, T) {
@@ -1728,7 +1728,7 @@ function Bs(e, t, r) {
1728
1728
  };
1729
1729
  } else f = x;
1730
1730
  }
1731
- var b = new Vs(r, p, n ? o.componentStyle : void 0);
1731
+ var b = new Vs(r, p, n ? a.componentStyle : void 0);
1732
1732
  function w(N, T) {
1733
1733
  return function(k, E, V) {
1734
1734
  var X = k.attrs, vt = k.componentStyle, yt = k.defaultProps, He = k.foldedComponentIds, Q = k.styledComponentId, ce = k.target, ve = ie.useContext(nn), Xe = jr(), Ee = k.shouldForwardProp || Xe.shouldForwardProp;
@@ -1752,14 +1752,14 @@ function Bs(e, t, r) {
1752
1752
  }
1753
1753
  w.displayName = g;
1754
1754
  var S = ie.forwardRef(w);
1755
- return S.attrs = d, S.componentStyle = b, S.displayName = g, S.shouldForwardProp = f, S.foldedComponentIds = n ? be(o.foldedComponentIds, o.styledComponentId) : "", S.styledComponentId = p, S.target = n ? o.target : e, Object.defineProperty(S, "defaultProps", { get: function() {
1755
+ return S.attrs = d, S.componentStyle = b, S.displayName = g, S.shouldForwardProp = f, S.foldedComponentIds = n ? be(a.foldedComponentIds, a.styledComponentId) : "", S.styledComponentId = p, S.target = n ? a.target : e, Object.defineProperty(S, "defaultProps", { get: function() {
1756
1756
  return this._foldedDefaultProps;
1757
1757
  }, set: function(N) {
1758
1758
  this._foldedDefaultProps = n ? function(T) {
1759
1759
  for (var k = [], E = 1; E < arguments.length; E++) k[E - 1] = arguments[E];
1760
1760
  for (var V = 0, X = k; V < X.length; V++) At(T, X[V], !0);
1761
1761
  return T;
1762
- }({}, o.defaultProps, N) : N;
1762
+ }({}, a.defaultProps, N) : N;
1763
1763
  } }), process.env.NODE_ENV !== "production" && (is(g, p), S.warnTooManyClasses = /* @__PURE__ */ function(N, T) {
1764
1764
  var k = {}, E = !1;
1765
1765
  return function(V) {
@@ -1782,7 +1782,7 @@ Example:
1782
1782
  }), i && Kr(S, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), S;
1783
1783
  }
1784
1784
  function Nr(e, t) {
1785
- for (var r = [e[0]], n = 0, o = t.length; n < o; n += 1) r.push(t[n], e[n + 1]);
1785
+ for (var r = [e[0]], n = 0, a = t.length; n < a; n += 1) r.push(t[n], e[n + 1]);
1786
1786
  return r;
1787
1787
  }
1788
1788
  var Rr = function(e) {
@@ -1796,14 +1796,14 @@ function it(e) {
1796
1796
  }
1797
1797
  function Dt(e, t, r) {
1798
1798
  if (r === void 0 && (r = $e), !t) throw Le(1, t);
1799
- var n = function(o) {
1799
+ var n = function(a) {
1800
1800
  for (var i = [], c = 1; c < arguments.length; c++) i[c - 1] = arguments[c];
1801
- return e(t, r, it.apply(void 0, Ie([o], i, !1)));
1801
+ return e(t, r, it.apply(void 0, Ie([a], i, !1)));
1802
1802
  };
1803
- return n.attrs = function(o) {
1804
- return Dt(e, t, H(H({}, r), { attrs: Array.prototype.concat(r.attrs, o).filter(Boolean) }));
1805
- }, n.withConfig = function(o) {
1806
- return Dt(e, t, H(H({}, r), o));
1803
+ return n.attrs = function(a) {
1804
+ return Dt(e, t, H(H({}, r), { attrs: Array.prototype.concat(r.attrs, a).filter(Boolean) }));
1805
+ }, n.withConfig = function(a) {
1806
+ return Dt(e, t, H(H({}, r), a));
1807
1807
  }, n;
1808
1808
  }
1809
1809
  var sn = function(e) {
@@ -1835,10 +1835,10 @@ const Ys = Ut.div`
1835
1835
  position: t,
1836
1836
  coordonnees: r,
1837
1837
  children: n,
1838
- show: o,
1838
+ show: a,
1839
1839
  closeOverlay: i
1840
1840
  }, c) => {
1841
- const { activeOverlayId: u, setActiveOverlay: l } = Mn(), [m, y] = F(o || !1), [g, p] = F(
1841
+ const { activeOverlayId: u, setActiveOverlay: l } = Mn(), [m, y] = F(a || !1), [g, p] = F(
1842
1842
  r ?? { top: 0, left: 0 }
1843
1843
  ), d = se(null), f = Tn();
1844
1844
  Ft(c, () => ({
@@ -1902,14 +1902,14 @@ const Ys = Ut.div`
1902
1902
  document.removeEventListener("mousedown", b);
1903
1903
  };
1904
1904
  }, [m, v]), Y(() => {
1905
- o && x();
1906
- }, [o]), m ? Lt.createPortal(
1907
- /* @__PURE__ */ a.jsx(Ys, { ref: d, $top: g.top, $left: g.left, children: /* @__PURE__ */ a.jsxs(
1905
+ a && x();
1906
+ }, [a]), m ? Lt.createPortal(
1907
+ /* @__PURE__ */ o.jsx(Ys, { ref: d, $top: g.top, $left: g.left, children: /* @__PURE__ */ o.jsxs(
1908
1908
  "div",
1909
1909
  {
1910
1910
  className: `overlayPanel ${g.top > 0 || g.left > 0 ? "visible" : "hide"}`,
1911
1911
  children: [
1912
- /* @__PURE__ */ a.jsx("button", { className: "toggle-btn", onClick: v, children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-x-lg" }) }),
1912
+ /* @__PURE__ */ o.jsx("button", { className: "toggle-btn", onClick: v, children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-x-lg" }) }),
1913
1913
  n
1914
1914
  ]
1915
1915
  }
@@ -1922,7 +1922,7 @@ const Ys = Ut.div`
1922
1922
  onClick: t,
1923
1923
  title: r,
1924
1924
  actions: n,
1925
- positionActions: o = "topRight",
1925
+ positionActions: a = "topRight",
1926
1926
  disabled: i = !1
1927
1927
  }) => {
1928
1928
  const c = (d) => {
@@ -1936,7 +1936,7 @@ const Ys = Ut.div`
1936
1936
  id: d.id ?? f,
1937
1937
  icon: d.icon,
1938
1938
  name: d.label,
1939
- children: /* @__PURE__ */ a.jsx(
1939
+ children: /* @__PURE__ */ o.jsx(
1940
1940
  Ge,
1941
1941
  {
1942
1942
  classIcon: d.icon,
@@ -1951,8 +1951,8 @@ const Ys = Ut.div`
1951
1951
  })) : [], [n]), p = $(() => {
1952
1952
  m(!1);
1953
1953
  }, [m]);
1954
- return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1955
- /* @__PURE__ */ a.jsxs(
1954
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
1955
+ /* @__PURE__ */ o.jsxs(
1956
1956
  "button",
1957
1957
  {
1958
1958
  disabled: i,
@@ -1960,27 +1960,27 @@ const Ys = Ut.div`
1960
1960
  onClick: (d) => c(d),
1961
1961
  className: ` ${e} button-actions`,
1962
1962
  children: [
1963
- /* @__PURE__ */ a.jsx("span", { className: "mr-2 flex-1", children: r }),
1964
- /* @__PURE__ */ a.jsx(
1963
+ /* @__PURE__ */ o.jsx("span", { className: "mr-2 flex-1", children: r }),
1964
+ /* @__PURE__ */ o.jsx(
1965
1965
  "span",
1966
1966
  {
1967
1967
  className: "ml-2",
1968
1968
  ref: u,
1969
1969
  onClick: (d) => y(d),
1970
- children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-chevron-up" })
1970
+ children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-chevron-up" })
1971
1971
  }
1972
1972
  )
1973
1973
  ]
1974
1974
  }
1975
1975
  ),
1976
- n && l && u.current && /* @__PURE__ */ a.jsx(
1976
+ n && l && u.current && /* @__PURE__ */ o.jsx(
1977
1977
  qt,
1978
1978
  {
1979
1979
  show: l,
1980
- position: o,
1980
+ position: a,
1981
1981
  closeOverlay: m,
1982
1982
  referenceElement: u.current,
1983
- children: /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(Tr, { className: "card-action-menu", items: g }) })
1983
+ children: /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx(Tr, { className: "card-action-menu", items: g }) })
1984
1984
  }
1985
1985
  )
1986
1986
  ] });
@@ -1989,11 +1989,11 @@ const Ys = Ut.div`
1989
1989
  openActions: t,
1990
1990
  item: r,
1991
1991
  positions: n,
1992
- positionOverlay: o,
1992
+ positionOverlay: a,
1993
1993
  setOpenActions: i
1994
1994
  }) => {
1995
1995
  const c = se(null), [u, l] = F(
1996
- o
1996
+ a
1997
1997
  ), m = se(null), [y, g] = F(t ?? !1);
1998
1998
  Y(() => {
1999
1999
  t && g(t);
@@ -2009,7 +2009,7 @@ const Ys = Ut.div`
2009
2009
  id: v,
2010
2010
  icon: x.icon,
2011
2011
  name: x.label,
2012
- children: /* @__PURE__ */ a.jsx(
2012
+ children: /* @__PURE__ */ o.jsx(
2013
2013
  Ge,
2014
2014
  {
2015
2015
  classIcon: x.icon,
@@ -2023,22 +2023,22 @@ const Ys = Ut.div`
2023
2023
  v
2024
2024
  )
2025
2025
  })), [e]);
2026
- return /* @__PURE__ */ a.jsxs("div", { className: "card-actions", children: [
2027
- /* @__PURE__ */ a.jsxs(
2026
+ return /* @__PURE__ */ o.jsxs("div", { className: "card-actions", children: [
2027
+ /* @__PURE__ */ o.jsxs(
2028
2028
  "div",
2029
2029
  {
2030
2030
  ref: m,
2031
2031
  className: `card-action ${e.filter((x) => x.type === "menu").length ? "visible" : "hidden"}`,
2032
2032
  onClick: (x) => p(x, !y),
2033
2033
  children: [
2034
- /* @__PURE__ */ a.jsx(
2034
+ /* @__PURE__ */ o.jsx(
2035
2035
  D,
2036
2036
  {
2037
2037
  size: ae.MEDIUM,
2038
2038
  classIcon: "bi-three-dots-vertical cursor-pointer"
2039
2039
  }
2040
2040
  ),
2041
- /* @__PURE__ */ a.jsx(
2041
+ /* @__PURE__ */ o.jsx(
2042
2042
  D,
2043
2043
  {
2044
2044
  size: ae.MEDIUM,
@@ -2048,7 +2048,7 @@ const Ys = Ut.div`
2048
2048
  ]
2049
2049
  }
2050
2050
  ),
2051
- y && m.current && /* @__PURE__ */ a.jsx(
2051
+ y && m.current && /* @__PURE__ */ o.jsx(
2052
2052
  qt,
2053
2053
  {
2054
2054
  position: u,
@@ -2057,7 +2057,7 @@ const Ys = Ut.div`
2057
2057
  closeOverlay: d,
2058
2058
  coordonnees: n,
2059
2059
  referenceElement: m.current,
2060
- children: /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsx(Tr, { className: "card-action-menu", items: f }) })
2060
+ children: /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx(Tr, { className: "card-action-menu", items: f }) })
2061
2061
  }
2062
2062
  )
2063
2063
  ] });
@@ -2066,13 +2066,13 @@ const Ys = Ut.div`
2066
2066
  actions: t,
2067
2067
  className: r,
2068
2068
  handleClick: n,
2069
- onClose: o,
2069
+ onClose: a,
2070
2070
  customAction: i,
2071
2071
  positionOverlay: c,
2072
2072
  children: u
2073
2073
  }) => {
2074
2074
  const [l, m] = F(!1), [y, g] = F(!1), [p, d] = F(), f = (v, b) => {
2075
- v.stopPropagation(), o && o(b);
2075
+ v.stopPropagation(), a && a(b);
2076
2076
  }, x = $(
2077
2077
  (v, b) => {
2078
2078
  if (v.stopPropagation(), y)
@@ -2088,7 +2088,7 @@ const Ys = Ut.div`
2088
2088
  l
2089
2089
  ]
2090
2090
  );
2091
- return /* @__PURE__ */ a.jsxs(
2091
+ return /* @__PURE__ */ o.jsxs(
2092
2092
  "div",
2093
2093
  {
2094
2094
  onContextMenu: (v) => v.preventDefault(),
@@ -2096,25 +2096,25 @@ const Ys = Ut.div`
2096
2096
  className: `card ${r ?? ""} ${l ? "card--active" : ""} `,
2097
2097
  children: [
2098
2098
  u,
2099
- !u && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2100
- /* @__PURE__ */ a.jsxs("div", { className: "card-text d-flex", children: [
2101
- e.image && /* @__PURE__ */ a.jsx("div", { className: "card-img", children: /* @__PURE__ */ a.jsx("img", { src: e.image, alt: "card-image" }) }),
2102
- e.title && /* @__PURE__ */ a.jsx("div", { className: "card-title", children: e.title }),
2103
- e.description && /* @__PURE__ */ a.jsx("div", { className: "card-content", children: e.description })
2099
+ !u && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2100
+ /* @__PURE__ */ o.jsxs("div", { className: "card-text d-flex", children: [
2101
+ e.image && /* @__PURE__ */ o.jsx("div", { className: "card-img", children: /* @__PURE__ */ o.jsx("img", { src: e.image, alt: "card-image" }) }),
2102
+ e.title && /* @__PURE__ */ o.jsx("div", { className: "card-title", children: e.title }),
2103
+ e.description && /* @__PURE__ */ o.jsx("div", { className: "card-content", children: e.description })
2104
2104
  ] }),
2105
- /* @__PURE__ */ a.jsxs("div", { className: "card-footer", children: [
2106
- i && /* @__PURE__ */ a.jsx("div", { className: "card-custom-action", children: i }),
2107
- /* @__PURE__ */ a.jsx("div", { className: "d-flex flex-1 align-items-center", children: e.prix && /* @__PURE__ */ a.jsx("div", { className: "card-prix", children: e.prix }) })
2105
+ /* @__PURE__ */ o.jsxs("div", { className: "card-footer", children: [
2106
+ i && /* @__PURE__ */ o.jsx("div", { className: "card-custom-action", children: i }),
2107
+ /* @__PURE__ */ o.jsx("div", { className: "d-flex flex-1 align-items-center", children: e.prix && /* @__PURE__ */ o.jsx("div", { className: "card-prix", children: e.prix }) })
2108
2108
  ] }),
2109
- o && /* @__PURE__ */ a.jsx(
2109
+ a && /* @__PURE__ */ o.jsx(
2110
2110
  "div",
2111
2111
  {
2112
2112
  className: "ml-2 cursor-pointer",
2113
2113
  onClick: (v) => f(v, e),
2114
- children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-trash3" })
2114
+ children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-trash3" })
2115
2115
  }
2116
2116
  ),
2117
- t && /* @__PURE__ */ a.jsx(
2117
+ t && /* @__PURE__ */ o.jsx(
2118
2118
  Us,
2119
2119
  {
2120
2120
  openActions: y,
@@ -2140,7 +2140,7 @@ const Ys = Ut.div`
2140
2140
  xl: 5
2141
2141
  }
2142
2142
  }) => {
2143
- const [o, i] = F(0), c = e.length, [u, l] = F(1);
2143
+ const [a, i] = F(0), c = e.length, [u, l] = F(1);
2144
2144
  Y(() => {
2145
2145
  const f = () => {
2146
2146
  const x = window.innerWidth;
@@ -2167,26 +2167,26 @@ const Ys = Ut.div`
2167
2167
  f.preventDefault(), i((x) => Math.max(x - r, 0));
2168
2168
  },
2169
2169
  [i]
2170
- ), g = o + r >= c - u + 1, p = c <= u, d = o <= 0;
2171
- return /* @__PURE__ */ a.jsxs("div", { className: "carousel", children: [
2172
- t && !p && /* @__PURE__ */ a.jsx(
2170
+ ), g = a + r >= c - u + 1, p = c <= u, d = a <= 0;
2171
+ return /* @__PURE__ */ o.jsxs("div", { className: "carousel", children: [
2172
+ t && !p && /* @__PURE__ */ o.jsx(
2173
2173
  "div",
2174
2174
  {
2175
2175
  className: `carousel-control prev ${d && "disabled"}`,
2176
2176
  onClick: y,
2177
- children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-chevron-left" })
2177
+ children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-chevron-left" })
2178
2178
  }
2179
2179
  ),
2180
- /* @__PURE__ */ a.jsx("div", { className: "carousel-container", children: /* @__PURE__ */ a.jsx(
2180
+ /* @__PURE__ */ o.jsx("div", { className: "carousel-container", children: /* @__PURE__ */ o.jsx(
2181
2181
  "div",
2182
2182
  {
2183
2183
  className: "carousel-slides-wrapper",
2184
2184
  style: {
2185
2185
  display: "flex",
2186
- transform: `translateX(-${o * 100 / u}%)`,
2186
+ transform: `translateX(-${a * 100 / u}%)`,
2187
2187
  transition: "transform 0.5s ease-in-out"
2188
2188
  },
2189
- children: ie.Children.map(e, (f) => /* @__PURE__ */ a.jsx(
2189
+ children: ie.Children.map(e, (f) => /* @__PURE__ */ o.jsx(
2190
2190
  "div",
2191
2191
  {
2192
2192
  className: "carousel-slide",
@@ -2199,12 +2199,12 @@ const Ys = Ut.div`
2199
2199
  ))
2200
2200
  }
2201
2201
  ) }),
2202
- t && !p && /* @__PURE__ */ a.jsx(
2202
+ t && !p && /* @__PURE__ */ o.jsx(
2203
2203
  "div",
2204
2204
  {
2205
2205
  className: `carousel-control next ${g && "disabled"}`,
2206
2206
  onClick: m,
2207
- children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-chevron-right" })
2207
+ children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-chevron-right" })
2208
2208
  }
2209
2209
  )
2210
2210
  ] });
@@ -2212,13 +2212,13 @@ const Ys = Ut.div`
2212
2212
  const r = () => {
2213
2213
  t && t(e);
2214
2214
  };
2215
- return /* @__PURE__ */ a.jsx("div", { className: "cell", onClick: r, children: e.child });
2215
+ return /* @__PURE__ */ o.jsx("div", { className: "cell", onClick: r, children: e.child });
2216
2216
  }, go = ({
2217
2217
  cols: e,
2218
2218
  rows: t,
2219
2219
  damierCells: r = [],
2220
2220
  page: n = 1,
2221
- onClick: o
2221
+ onClick: a
2222
2222
  }) => {
2223
2223
  const i = Oe(() => e ?? 9, [e]), c = Oe(() => t ?? 9, [t]), [u, l] = F(1);
2224
2224
  Y(() => {
@@ -2233,27 +2233,27 @@ const Ys = Ut.div`
2233
2233
  (v) => v.position === f + 1
2234
2234
  );
2235
2235
  x ? p.push(
2236
- /* @__PURE__ */ a.jsx(qs, { onClick: o, cell: x }, `${g}-${d}`)
2236
+ /* @__PURE__ */ o.jsx(qs, { onClick: a, cell: x }, `${g}-${d}`)
2237
2237
  ) : p.push(
2238
- /* @__PURE__ */ a.jsx("div", { className: "cell cell--empty" }, `${g}-${d}`)
2238
+ /* @__PURE__ */ o.jsx("div", { className: "cell cell--empty" }, `${g}-${d}`)
2239
2239
  );
2240
2240
  }
2241
2241
  y.push(
2242
- /* @__PURE__ */ a.jsx("div", { className: "row", children: p }, g)
2242
+ /* @__PURE__ */ o.jsx("div", { className: "row", children: p }, g)
2243
2243
  );
2244
2244
  }
2245
2245
  return y;
2246
2246
  }, [i, c, u]);
2247
- return /* @__PURE__ */ a.jsx("div", { className: "damier", children: m });
2248
- }, Gs = ({ display: e, full: t, message: r }) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2249
- e && !t && /* @__PURE__ */ a.jsxs("div", { className: "d-flex flex-column align-items-center", children: [
2250
- r && /* @__PURE__ */ a.jsx("span", { className: "mb-3", children: r }),
2251
- /* @__PURE__ */ a.jsx("div", { className: "position-relative", children: /* @__PURE__ */ a.jsx("span", { className: "loader" }) })
2247
+ return /* @__PURE__ */ o.jsx("div", { className: "damier", children: m });
2248
+ }, Gs = ({ display: e, full: t, message: r }) => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2249
+ e && !t && /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center", children: [
2250
+ r && /* @__PURE__ */ o.jsx("span", { className: "mb-3", children: r }),
2251
+ /* @__PURE__ */ o.jsx("div", { className: "position-relative", children: /* @__PURE__ */ o.jsx("span", { className: "loader" }) })
2252
2252
  ] }),
2253
2253
  e && t && Or(
2254
- /* @__PURE__ */ a.jsx("div", { className: "loader-overlay", children: /* @__PURE__ */ a.jsx("div", { children: /* @__PURE__ */ a.jsxs("div", { className: "d-flex flex-column align-items-center", children: [
2255
- r && /* @__PURE__ */ a.jsx("span", { className: "mb-3", children: r }),
2256
- /* @__PURE__ */ a.jsx("div", { className: "position-relative", children: /* @__PURE__ */ a.jsx("span", { className: "loader" }) })
2254
+ /* @__PURE__ */ o.jsx("div", { className: "loader-overlay", children: /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("div", { className: "d-flex flex-column align-items-center", children: [
2255
+ r && /* @__PURE__ */ o.jsx("span", { className: "mb-3", children: r }),
2256
+ /* @__PURE__ */ o.jsx("div", { className: "position-relative", children: /* @__PURE__ */ o.jsx("span", { className: "loader" }) })
2257
2257
  ] }) }) }),
2258
2258
  document.body
2259
2259
  )
@@ -2262,7 +2262,7 @@ const Ys = Ut.div`
2262
2262
  label: t,
2263
2263
  options: r,
2264
2264
  className: n,
2265
- disabled: o,
2265
+ disabled: a,
2266
2266
  defaultValue: i,
2267
2267
  onChange: c,
2268
2268
  value: u,
@@ -2272,18 +2272,18 @@ const Ys = Ut.div`
2272
2272
  const g = y.target.value;
2273
2273
  c && c(g);
2274
2274
  };
2275
- return /* @__PURE__ */ a.jsxs("div", { id: e, className: `select-container ${n || ""}`, children: [
2276
- t && /* @__PURE__ */ a.jsx("label", { className: "select-container-label", children: t }),
2277
- /* @__PURE__ */ a.jsxs(
2275
+ return /* @__PURE__ */ o.jsxs("div", { id: e, className: `select-container ${n || ""}`, children: [
2276
+ t && /* @__PURE__ */ o.jsx("label", { className: "select-container-label", children: t }),
2277
+ /* @__PURE__ */ o.jsxs(
2278
2278
  "select",
2279
2279
  {
2280
- disabled: o,
2280
+ disabled: a,
2281
2281
  className: "select-container-select",
2282
2282
  value: u ?? i ?? "",
2283
2283
  onChange: m,
2284
2284
  children: [
2285
- l && !i && /* @__PURE__ */ a.jsx("option", { value: "", children: l }),
2286
- r.map((y, g) => /* @__PURE__ */ a.jsx("option", { value: y.value, children: y.label }, g))
2285
+ l && !i && /* @__PURE__ */ o.jsx("option", { value: "", children: l }),
2286
+ r.map((y, g) => /* @__PURE__ */ o.jsx("option", { value: y.value, children: y.label }, g))
2287
2287
  ]
2288
2288
  }
2289
2289
  )
@@ -2294,7 +2294,7 @@ function vo(e) {
2294
2294
  id: t,
2295
2295
  name: r,
2296
2296
  className: n,
2297
- children: o,
2297
+ children: a,
2298
2298
  element: i,
2299
2299
  data: c = [],
2300
2300
  actions: u = [],
@@ -2303,26 +2303,26 @@ function vo(e) {
2303
2303
  onRowClick: y,
2304
2304
  onColumnClick: g
2305
2305
  } = e;
2306
- return m ? /* @__PURE__ */ a.jsx(Gs, { display: m }) : /* @__PURE__ */ a.jsxs("div", { children: [
2307
- r && /* @__PURE__ */ a.jsx("h2", { className: "mb-2", children: r }),
2306
+ return m ? /* @__PURE__ */ o.jsx(Gs, { display: m }) : /* @__PURE__ */ o.jsxs("div", { children: [
2307
+ r && /* @__PURE__ */ o.jsx("h2", { className: "mb-2", children: r }),
2308
2308
  i,
2309
- /* @__PURE__ */ a.jsxs("table", { className: `data-table ${n || ""}`, id: t, children: [
2310
- /* @__PURE__ */ a.jsx("thead", { children: /* @__PURE__ */ a.jsxs("tr", { children: [
2311
- l.map((p, d) => /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
2309
+ /* @__PURE__ */ o.jsxs("table", { className: `data-table ${n || ""}`, id: t, children: [
2310
+ /* @__PURE__ */ o.jsx("thead", { children: /* @__PURE__ */ o.jsxs("tr", { children: [
2311
+ l.map((p, d) => /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(
2312
2312
  "th",
2313
2313
  {
2314
2314
  style: {
2315
2315
  minWidth: p.minWidth,
2316
- textAlign: p.align || "left",
2317
2316
  maxWidth: p.maxWidth,
2318
- width: p.width
2317
+ width: p.width,
2318
+ textAlign: p.align || "left"
2319
2319
  },
2320
2320
  onClick: () => g == null ? void 0 : g(p),
2321
2321
  children: p.label
2322
2322
  },
2323
2323
  `colonne-${p.id}-${d}`
2324
2324
  ) })),
2325
- u.length > 0 && /* @__PURE__ */ a.jsx(
2325
+ u.length > 0 && /* @__PURE__ */ o.jsx(
2326
2326
  "th",
2327
2327
  {
2328
2328
  style: {
@@ -2333,76 +2333,86 @@ function vo(e) {
2333
2333
  "actions"
2334
2334
  )
2335
2335
  ] }) }),
2336
- /* @__PURE__ */ a.jsx("tbody", { children: c.map((p, d) => /* @__PURE__ */ a.jsxs("tr", { onClick: () => y == null ? void 0 : y(p), children: [
2337
- l.map((f, x) => {
2338
- const v = p[f.id];
2339
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
2340
- "td",
2341
- {
2342
- style: {
2343
- minWidth: f.minWidth,
2344
- textAlign: f.align || "left",
2345
- maxWidth: f.maxWidth,
2346
- width: f.width
2347
- },
2348
- children: f.editable ? f.type === "select" ? /* @__PURE__ */ a.jsx(
2349
- Hs,
2350
- {
2351
- options: f.options ?? [],
2352
- value: v,
2353
- onChange: (b) => {
2354
- f.onEdit && f.onEdit(b, p);
2355
- }
2356
- }
2357
- ) : /* @__PURE__ */ a.jsx(
2358
- "input",
2359
- {
2360
- type: f.type,
2361
- value: v,
2362
- step: "0.01",
2363
- style: { textAlign: f.align || "left" },
2364
- onChange: (b) => {
2365
- f.onEdit && f.onEdit(b.target.value, p);
2366
- }
2367
- }
2368
- ) : f.format ? f.format(v) : v
2369
- },
2370
- `row-${f.id}-${x}`
2371
- ) });
2372
- }),
2373
- u.length > 0 && /* @__PURE__ */ a.jsx("td", { align: "right", children: /* @__PURE__ */ a.jsx("div", { className: "d-flex align-items-center justify-content-end", children: u.map((f, x) => {
2374
- let v = f.label;
2375
- return (f.shouldDisplay ? f.shouldDisplay(p) : !0) ? (f.labelButton && (v = f.labelButton ? f.labelButton(p) : f.label), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2376
- f.type === "button" && /* @__PURE__ */ a.jsx(
2377
- Ge,
2336
+ /* @__PURE__ */ o.jsxs("tbody", { children: [
2337
+ c.map((p, d) => /* @__PURE__ */ o.jsxs("tr", { onClick: () => y == null ? void 0 : y(p), children: [
2338
+ l.map((f, x) => {
2339
+ const v = p[f.id];
2340
+ return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(
2341
+ "td",
2378
2342
  {
2379
- title: v,
2380
- onClick: () => f.onClick(p),
2381
- disabled: f.disabled,
2382
- className: `data-table-action button--tertiary mr-2 w-100 ${f.classIcon ? f.classIcon : ""}`
2383
- },
2384
- `button-action-${f.id}-${x}`
2385
- ),
2386
- f.type === "icon" && /* @__PURE__ */ a.jsx(
2387
- "div",
2388
- {
2389
- className: "mr-2 ",
2390
- onClick: () => f.onClick(p),
2391
- children: /* @__PURE__ */ a.jsx(
2392
- D,
2343
+ style: {
2344
+ minWidth: f.minWidth,
2345
+ textAlign: f.align || "left",
2346
+ maxWidth: f.maxWidth,
2347
+ width: f.width
2348
+ },
2349
+ children: f.editable ? f.type === "select" ? /* @__PURE__ */ o.jsx(
2350
+ Hs,
2351
+ {
2352
+ options: f.options ?? [],
2353
+ value: v,
2354
+ onChange: (b) => {
2355
+ f.onEdit && f.onEdit(b, p);
2356
+ }
2357
+ }
2358
+ ) : /* @__PURE__ */ o.jsx(
2359
+ "input",
2393
2360
  {
2394
- classIcon: f.classIcon ?? ""
2395
- },
2396
- f.id
2397
- )
2361
+ type: f.type,
2362
+ value: v,
2363
+ step: "0.01",
2364
+ style: { textAlign: f.align || "left" },
2365
+ onChange: (b) => {
2366
+ f.onEdit && f.onEdit(b.target.value, p);
2367
+ }
2368
+ }
2369
+ ) : f.format ? f.format(v) : v
2398
2370
  },
2399
- `icon-action-${f.id}-${x}`
2400
- )
2401
- ] })) : null;
2402
- }) }) })
2403
- ] }, d)) })
2371
+ `row-${f.id}-${x}`
2372
+ ) });
2373
+ }),
2374
+ u.length > 0 && /* @__PURE__ */ o.jsx("td", { align: "right", children: /* @__PURE__ */ o.jsx("div", { className: "d-flex align-items-center justify-content-end", children: u.map((f, x) => {
2375
+ let v = f.label;
2376
+ return (f.shouldDisplay ? f.shouldDisplay(p) : !0) ? (f.labelButton && (v = f.labelButton ? f.labelButton(p) : f.label), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2377
+ f.type === "button" && /* @__PURE__ */ o.jsx(
2378
+ Ge,
2379
+ {
2380
+ title: v,
2381
+ onClick: () => f.onClick(p),
2382
+ disabled: f.disabled,
2383
+ className: `data-table-action button--tertiary mr-2 w-100 ${f.classIcon ? f.classIcon : ""}`
2384
+ },
2385
+ `button-action-${f.id}-${x}`
2386
+ ),
2387
+ f.type === "icon" && /* @__PURE__ */ o.jsx(
2388
+ "div",
2389
+ {
2390
+ className: "mr-2 ",
2391
+ onClick: () => f.onClick(p),
2392
+ children: /* @__PURE__ */ o.jsx(
2393
+ D,
2394
+ {
2395
+ classIcon: f.classIcon ?? ""
2396
+ },
2397
+ f.id
2398
+ )
2399
+ },
2400
+ `icon-action-${f.id}-${x}`
2401
+ )
2402
+ ] })) : null;
2403
+ }) }) })
2404
+ ] }, d)),
2405
+ c.length === 0 && /* @__PURE__ */ o.jsx("tr", { children: /* @__PURE__ */ o.jsx(
2406
+ "td",
2407
+ {
2408
+ align: "center",
2409
+ colSpan: l.length + (u.length > 0 ? 1 : 0),
2410
+ children: /* @__PURE__ */ o.jsx("div", { className: "mt-3", children: e.emptyMessage || "Aucune donnée disponible" })
2411
+ }
2412
+ ) })
2413
+ ] })
2404
2414
  ] }),
2405
- o
2415
+ a
2406
2416
  ] });
2407
2417
  }
2408
2418
  const Xs = ({
@@ -2410,7 +2420,7 @@ const Xs = ({
2410
2420
  item: t,
2411
2421
  className: r,
2412
2422
  showArrow: n = !0,
2413
- onChange: o
2423
+ onChange: a
2414
2424
  }) => {
2415
2425
  const [i, c] = F(!1);
2416
2426
  Y(() => {
@@ -2418,48 +2428,48 @@ const Xs = ({
2418
2428
  }, [e, c, t]);
2419
2429
  const u = $(
2420
2430
  (l) => {
2421
- l.stopPropagation(), o && o(t);
2431
+ l.stopPropagation(), a && a(t);
2422
2432
  },
2423
- [o, t]
2433
+ [a, t]
2424
2434
  );
2425
- return /* @__PURE__ */ a.jsxs(
2435
+ return /* @__PURE__ */ o.jsxs(
2426
2436
  "div",
2427
2437
  {
2428
2438
  onClick: u,
2429
2439
  className: `expand ${i ? "expand--active" : ""} ${r ?? ""}`,
2430
2440
  children: [
2431
- /* @__PURE__ */ a.jsx("div", { className: "expand-header", children: /* @__PURE__ */ a.jsx("div", { className: "expand-header-content", children: /* @__PURE__ */ a.jsxs("div", { className: "expand-header-content-default", children: [
2432
- i && n && /* @__PURE__ */ a.jsx(D, { classIcon: "bi bi-chevron-down mr-2" }),
2433
- !i && n && /* @__PURE__ */ a.jsx(D, { classIcon: "bi bi-chevron-right mr-2" }),
2434
- /* @__PURE__ */ a.jsx("span", { className: "flex-1 expand-header-title-left", children: t.title }),
2435
- t.description && /* @__PURE__ */ a.jsx("span", { className: "expand-header-title-right", children: t.description })
2441
+ /* @__PURE__ */ o.jsx("div", { className: "expand-header", children: /* @__PURE__ */ o.jsx("div", { className: "expand-header-content", children: /* @__PURE__ */ o.jsxs("div", { className: "expand-header-content-default", children: [
2442
+ i && n && /* @__PURE__ */ o.jsx(D, { classIcon: "bi bi-chevron-down mr-2" }),
2443
+ !i && n && /* @__PURE__ */ o.jsx(D, { classIcon: "bi bi-chevron-right mr-2" }),
2444
+ /* @__PURE__ */ o.jsx("span", { className: "flex-1 expand-header-title-left", children: t.title }),
2445
+ t.description && /* @__PURE__ */ o.jsx("span", { className: "expand-header-title-right", children: t.description })
2436
2446
  ] }) }) }),
2437
- /* @__PURE__ */ a.jsxs("div", { className: "expand-body", children: [
2438
- /* @__PURE__ */ a.jsx("div", { children: t.headerContent }),
2447
+ /* @__PURE__ */ o.jsxs("div", { className: "expand-body", children: [
2448
+ /* @__PURE__ */ o.jsx("div", { children: t.headerContent }),
2439
2449
  t.content
2440
2450
  ] }),
2441
- t.footer && /* @__PURE__ */ a.jsx("div", { className: "expand-footer", children: t.footer })
2451
+ t.footer && /* @__PURE__ */ o.jsx("div", { className: "expand-footer", children: t.footer })
2442
2452
  ]
2443
2453
  }
2444
2454
  );
2445
2455
  }, yo = (e) => {
2446
2456
  const [t, r] = F(), n = $(
2447
- (o) => {
2448
- e.onChange && e.onChange(o), r(o);
2457
+ (a) => {
2458
+ e.onChange && e.onChange(a), r(a);
2449
2459
  },
2450
2460
  [r, e.onChange]
2451
2461
  );
2452
2462
  return Y(() => {
2453
2463
  r(e.currentItem);
2454
- }, [e.currentItem, r, document.activeElement]), /* @__PURE__ */ a.jsx("div", { className: `expands ${e.className || ""}`, children: e.items.map((o) => /* @__PURE__ */ a.jsx(
2464
+ }, [e.currentItem, r, document.activeElement]), /* @__PURE__ */ o.jsx("div", { className: `expands ${e.className || ""}`, children: e.items.map((a) => /* @__PURE__ */ o.jsx(
2455
2465
  Xs,
2456
2466
  {
2457
- item: o,
2467
+ item: a,
2458
2468
  showArrow: e.showArrow,
2459
2469
  onChange: n,
2460
2470
  currentExpand: t
2461
2471
  },
2462
- o.id
2472
+ a.id
2463
2473
  )) });
2464
2474
  }, xo = ({
2465
2475
  filArianes: e,
@@ -2467,39 +2477,39 @@ const Xs = ({
2467
2477
  currentFil: r,
2468
2478
  title: n
2469
2479
  }) => {
2470
- const o = $(
2480
+ const a = $(
2471
2481
  (i, c) => {
2472
2482
  c != null && c.url || i.preventDefault(), t && t(c);
2473
2483
  },
2474
2484
  [t]
2475
2485
  );
2476
- return /* @__PURE__ */ a.jsxs("div", { className: "filArianes", children: [
2477
- n && /* @__PURE__ */ a.jsxs("small", { className: "filAriane font-weight-bold text-uppercase", children: [
2486
+ return /* @__PURE__ */ o.jsxs("div", { className: "filArianes", children: [
2487
+ n && /* @__PURE__ */ o.jsxs("small", { className: "filAriane font-weight-bold text-uppercase", children: [
2478
2488
  n,
2479
2489
  " ",
2480
- /* @__PURE__ */ a.jsx("i", { className: "filAriane-chevron bi bi-caret-right-fill" })
2490
+ /* @__PURE__ */ o.jsx("i", { className: "filAriane-chevron bi bi-caret-right-fill" })
2481
2491
  ] }),
2482
- e == null ? void 0 : e.map((i, c) => /* @__PURE__ */ a.jsxs(
2492
+ e == null ? void 0 : e.map((i, c) => /* @__PURE__ */ o.jsxs(
2483
2493
  "div",
2484
2494
  {
2485
2495
  className: `filAriane ${i.id === r && "filAriane--active"}`,
2486
2496
  children: [
2487
- /* @__PURE__ */ a.jsx(
2497
+ /* @__PURE__ */ o.jsx(
2488
2498
  "a",
2489
2499
  {
2490
2500
  href: i.url || "#",
2491
- onClick: (u) => o(u, i),
2501
+ onClick: (u) => a(u, i),
2492
2502
  children: i.title
2493
2503
  }
2494
2504
  ),
2495
- !i.isLast && /* @__PURE__ */ a.jsx("i", { className: "filAriane-chevron bi bi-caret-right-fill" })
2505
+ !i.isLast && /* @__PURE__ */ o.jsx("i", { className: "filAriane-chevron bi bi-caret-right-fill" })
2496
2506
  ]
2497
2507
  },
2498
2508
  c
2499
2509
  ))
2500
2510
  ] });
2501
2511
  }, Ks = Mt(
2502
- ({ initialForm: e, title: t, onSubmit: r, onChange: n, hideSubmit: o }, i) => {
2512
+ ({ initialForm: e, title: t, onSubmit: r, onChange: n, hideSubmit: a }, i) => {
2503
2513
  const [c, u] = F(() => {
2504
2514
  const v = {};
2505
2515
  return e.forEach((b) => {
@@ -2552,11 +2562,11 @@ const Xs = ({
2552
2562
  focusInitialElement: d,
2553
2563
  getValues: f,
2554
2564
  updateFormValue: x
2555
- })), /* @__PURE__ */ a.jsxs("form", { onSubmit: y, children: [
2556
- e.map((v, b) => /* @__PURE__ */ a.jsxs("div", { className: `d-flex flex-column ${v.className}`, children: [
2557
- v.label && /* @__PURE__ */ a.jsx("label", { children: v.label }),
2558
- v.icon && /* @__PURE__ */ a.jsx(D, { classIcon: v.icon }),
2559
- /* @__PURE__ */ a.jsx(
2565
+ })), /* @__PURE__ */ o.jsxs("form", { onSubmit: y, children: [
2566
+ e.map((v, b) => /* @__PURE__ */ o.jsxs("div", { className: `d-flex flex-column ${v.className}`, children: [
2567
+ v.label && /* @__PURE__ */ o.jsx("label", { children: v.label }),
2568
+ v.icon && /* @__PURE__ */ o.jsx(D, { classIcon: v.icon }),
2569
+ /* @__PURE__ */ o.jsx(
2560
2570
  "input",
2561
2571
  {
2562
2572
  ref: (w) => l.current[v.name] = w,
@@ -2573,7 +2583,7 @@ const Xs = ({
2573
2583
  }
2574
2584
  )
2575
2585
  ] }, b)),
2576
- /* @__PURE__ */ a.jsx("div", { className: "d-flex justify-content-end", children: !o && /* @__PURE__ */ a.jsx(Ge, { title: t || "submit" }) })
2586
+ /* @__PURE__ */ o.jsx("div", { className: "d-flex justify-content-end", children: !a && /* @__PURE__ */ o.jsx(Ge, { title: t || "submit" }) })
2577
2587
  ] });
2578
2588
  }
2579
2589
  );
@@ -2583,7 +2593,7 @@ const bo = ({
2583
2593
  value: t,
2584
2594
  disabled: r,
2585
2595
  width: n,
2586
- className: o,
2596
+ className: a,
2587
2597
  onChange: i,
2588
2598
  placeholder: c,
2589
2599
  cols: u,
@@ -2600,11 +2610,11 @@ const bo = ({
2600
2610
  },
2601
2611
  [i, e]
2602
2612
  );
2603
- return /* @__PURE__ */ a.jsx(
2613
+ return /* @__PURE__ */ o.jsx(
2604
2614
  "textarea",
2605
2615
  {
2606
2616
  style: { width: n },
2607
- className: `form-control-textarea ${o ?? ""}`,
2617
+ className: `form-control-textarea ${a ?? ""}`,
2608
2618
  name: e,
2609
2619
  disabled: r,
2610
2620
  value: m,
@@ -2640,33 +2650,33 @@ const bo = ({
2640
2650
  max-width: ${me(e)};
2641
2651
  }
2642
2652
  `}
2643
- `, Zs = ({ xs: e, sm: t, md: r, lg: n, children: o }) => /* @__PURE__ */ a.jsx(Js, { $xs: e, $sm: t, $md: r, $lg: n, children: o }), Qs = ({ children: e }) => /* @__PURE__ */ a.jsx("div", { className: "container", children: e }), eo = ({ children: e, className: t, scroll: r }) => /* @__PURE__ */ a.jsx("div", { className: `grid-row ${t ?? ""} ${r ? "scroll" : ""}`, children: e }), wo = ({ items: e, className: t, scroll: r }) => /* @__PURE__ */ a.jsx(Qs, { children: /* @__PURE__ */ a.jsx(eo, { scroll: r, className: t, children: e.map((n, o) => /* @__PURE__ */ a.jsx(Zs, { ...n }, o)) }) }), jo = ({
2653
+ `, Zs = ({ xs: e, sm: t, md: r, lg: n, children: a }) => /* @__PURE__ */ o.jsx(Js, { $xs: e, $sm: t, $md: r, $lg: n, children: a }), Qs = ({ children: e }) => /* @__PURE__ */ o.jsx("div", { className: "container", children: e }), eo = ({ children: e, className: t, scroll: r }) => /* @__PURE__ */ o.jsx("div", { className: `grid-row ${t ?? ""} ${r ? "scroll" : ""}`, children: e }), wo = ({ items: e, className: t, scroll: r }) => /* @__PURE__ */ o.jsx(Qs, { children: /* @__PURE__ */ o.jsx(eo, { scroll: r, className: t, children: e.map((n, a) => /* @__PURE__ */ o.jsx(Zs, { ...n }, a)) }) }), jo = ({
2644
2654
  children: e,
2645
2655
  logo: t,
2646
2656
  onClickMenu: r,
2647
2657
  userChildren: n,
2648
- positionFixed: o,
2658
+ positionFixed: a,
2649
2659
  onClickLogo: i
2650
2660
  }) => {
2651
2661
  const c = se(null), [u, l] = F(!1), m = $(() => {
2652
2662
  l(!u);
2653
2663
  }, [u, l]);
2654
- return /* @__PURE__ */ a.jsxs("div", { className: `header ${o ? "header--fixed" : ""}`, children: [
2655
- /* @__PURE__ */ a.jsxs("div", { className: "flex-1 d-flex align-items-center", children: [
2656
- /* @__PURE__ */ a.jsx("span", { onClick: r, children: /* @__PURE__ */ a.jsx(D, { size: ae.MEDIUM, classIcon: "bi-list" }) }),
2657
- /* @__PURE__ */ a.jsx(
2664
+ return /* @__PURE__ */ o.jsxs("div", { className: `header ${a ? "header--fixed" : ""}`, children: [
2665
+ /* @__PURE__ */ o.jsxs("div", { className: "flex-1 d-flex align-items-center", children: [
2666
+ /* @__PURE__ */ o.jsx("span", { onClick: r, children: /* @__PURE__ */ o.jsx(D, { size: ae.MEDIUM, classIcon: "bi-list" }) }),
2667
+ /* @__PURE__ */ o.jsx(
2658
2668
  "span",
2659
2669
  {
2660
2670
  className: `header-logo ${i && "cursor-pointer"} `,
2661
2671
  onClick: i,
2662
- children: t && /* @__PURE__ */ a.jsx("img", { src: t, alt: "logo" })
2672
+ children: t && /* @__PURE__ */ o.jsx("img", { src: t, alt: "logo" })
2663
2673
  }
2664
2674
  )
2665
2675
  ] }),
2666
- /* @__PURE__ */ a.jsxs("div", { className: "d-flex align-items-center", children: [
2676
+ /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center", children: [
2667
2677
  e,
2668
- /* @__PURE__ */ a.jsx("div", { ref: c, onClick: m, children: /* @__PURE__ */ a.jsx(D, { size: ae.MEDIUM, classIcon: "bi-person-circle" }) }),
2669
- u && c.current && /* @__PURE__ */ a.jsx(
2678
+ /* @__PURE__ */ o.jsx("div", { ref: c, onClick: m, children: /* @__PURE__ */ o.jsx(D, { size: ae.MEDIUM, classIcon: "bi-person-circle" }) }),
2679
+ u && c.current && /* @__PURE__ */ o.jsx(
2670
2680
  qt,
2671
2681
  {
2672
2682
  position: "bottomRight",
@@ -2683,24 +2693,24 @@ const bo = ({
2683
2693
  onClose: t,
2684
2694
  children: r,
2685
2695
  onSubmit: n,
2686
- titleButton: o,
2696
+ titleButton: a,
2687
2697
  title: i,
2688
2698
  styleContainer: c = {},
2689
2699
  classNameContainer: u = ""
2690
2700
  }) => e ? Or(
2691
- /* @__PURE__ */ a.jsx("div", { className: "modal-overlay", onMouseDown: t, children: /* @__PURE__ */ a.jsxs(
2701
+ /* @__PURE__ */ o.jsx("div", { className: "modal-overlay", onMouseDown: t, children: /* @__PURE__ */ o.jsxs(
2692
2702
  "div",
2693
2703
  {
2694
2704
  className: `modal-container ${u}`,
2695
2705
  style: c,
2696
2706
  onMouseDown: (l) => l.stopPropagation(),
2697
2707
  children: [
2698
- /* @__PURE__ */ a.jsxs("div", { className: "modal-header", children: [
2699
- i && /* @__PURE__ */ a.jsx("h2", { className: "modal-title", children: i }),
2700
- /* @__PURE__ */ a.jsx("div", { className: "modal-close-button", onClick: t, children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-x-lg" }) })
2708
+ /* @__PURE__ */ o.jsxs("div", { className: "modal-header", children: [
2709
+ i && /* @__PURE__ */ o.jsx("h2", { className: "modal-title", children: i }),
2710
+ /* @__PURE__ */ o.jsx("div", { className: "modal-close-button", onClick: t, children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-x-lg" }) })
2701
2711
  ] }),
2702
- /* @__PURE__ */ a.jsx("div", { className: "modal-content", children: r }),
2703
- n && /* @__PURE__ */ a.jsx("div", { className: "d-flex justify-content-end", children: /* @__PURE__ */ a.jsx(Ge, { onClick: n, title: o ?? "" }) })
2712
+ /* @__PURE__ */ o.jsx("div", { className: "modal-content", children: r }),
2713
+ n && /* @__PURE__ */ o.jsx("div", { className: "d-flex justify-content-end", children: /* @__PURE__ */ o.jsx(Ge, { onClick: n, title: a ?? "" }) })
2704
2714
  ]
2705
2715
  }
2706
2716
  ) }),
@@ -2710,7 +2720,7 @@ const bo = ({
2710
2720
  item: t,
2711
2721
  onClickQuantity: r,
2712
2722
  disabled: n,
2713
- disabledPlus: o,
2723
+ disabledPlus: a,
2714
2724
  disabledMinus: i,
2715
2725
  pas: c
2716
2726
  }) => {
@@ -2721,7 +2731,7 @@ const bo = ({
2721
2731
  [l, e]
2722
2732
  ), y = $(
2723
2733
  (d) => {
2724
- if (d.stopPropagation(), n || o)
2734
+ if (d.stopPropagation(), n || a)
2725
2735
  return;
2726
2736
  const f = u + c;
2727
2737
  m(Math.round(f * 100) / 100);
@@ -2747,22 +2757,22 @@ const bo = ({
2747
2757
  },
2748
2758
  [r, t]
2749
2759
  );
2750
- return /* @__PURE__ */ a.jsxs("div", { className: "qte ", children: [
2751
- /* @__PURE__ */ a.jsx(
2760
+ return /* @__PURE__ */ o.jsxs("div", { className: "qte ", children: [
2761
+ /* @__PURE__ */ o.jsx(
2752
2762
  "div",
2753
2763
  {
2754
2764
  onClick: (d) => g(d),
2755
2765
  className: `qte-action qte-action--minus ${n || i ? "disabled" : ""} `,
2756
- children: /* @__PURE__ */ a.jsx(D, { size: ae.LARGE, classIcon: "bi bi-dash-square" })
2766
+ children: /* @__PURE__ */ o.jsx(D, { size: ae.LARGE, classIcon: "bi bi-dash-square" })
2757
2767
  }
2758
2768
  ),
2759
- /* @__PURE__ */ a.jsx("span", { onClick: (d) => p(d), className: "qte-label", children: u }),
2760
- /* @__PURE__ */ a.jsx(
2769
+ /* @__PURE__ */ o.jsx("span", { onClick: (d) => p(d), className: "qte-label", children: u }),
2770
+ /* @__PURE__ */ o.jsx(
2761
2771
  "div",
2762
2772
  {
2763
2773
  onClick: (d) => y(d),
2764
- className: `qte-action qte-action--plus ${n || o ? "disabled" : ""}`,
2765
- children: /* @__PURE__ */ a.jsx(D, { size: ae.LARGE, classIcon: "bi bi-plus-square" })
2774
+ className: `qte-action qte-action--plus ${n || a ? "disabled" : ""}`,
2775
+ children: /* @__PURE__ */ o.jsx(D, { size: ae.LARGE, classIcon: "bi bi-plus-square" })
2766
2776
  }
2767
2777
  )
2768
2778
  ] });
@@ -2772,7 +2782,7 @@ const bo = ({
2772
2782
  name: t,
2773
2783
  placeholder: r,
2774
2784
  isVisible: n,
2775
- focus: o,
2785
+ focus: a,
2776
2786
  debounceTime: i,
2777
2787
  handleChange: c,
2778
2788
  setIsVisible: u,
@@ -2786,13 +2796,13 @@ const bo = ({
2786
2796
  name: t ?? "recherche",
2787
2797
  placeholder: r ?? "Recherche",
2788
2798
  type: on.TEXT,
2789
- focus: o,
2799
+ focus: a,
2790
2800
  icon: "bi-search",
2791
2801
  className: "search-input",
2792
2802
  autoComplete: "off"
2793
2803
  }
2794
2804
  ],
2795
- [r, o]
2805
+ [r, a]
2796
2806
  );
2797
2807
  Y(() => {
2798
2808
  n !== void 0 && g(n);
@@ -2830,8 +2840,8 @@ const bo = ({
2830
2840
  var w;
2831
2841
  (w = d.current) == null || w.focusInitialElement();
2832
2842
  }
2833
- })), /* @__PURE__ */ a.jsxs("div", { className: "search", children: [
2834
- /* @__PURE__ */ a.jsx(
2843
+ })), /* @__PURE__ */ o.jsxs("div", { className: "search", children: [
2844
+ /* @__PURE__ */ o.jsx(
2835
2845
  Ks,
2836
2846
  {
2837
2847
  ref: d,
@@ -2841,16 +2851,16 @@ const bo = ({
2841
2851
  initialForm: f
2842
2852
  }
2843
2853
  ),
2844
- y && /* @__PURE__ */ a.jsxs("div", { className: "search-result", children: [
2845
- /* @__PURE__ */ a.jsx("div", { className: "search-result-close", children: /* @__PURE__ */ a.jsx(
2854
+ y && /* @__PURE__ */ o.jsxs("div", { className: "search-result", children: [
2855
+ /* @__PURE__ */ o.jsx("div", { className: "search-result-close", children: /* @__PURE__ */ o.jsx(
2846
2856
  "button",
2847
2857
  {
2848
2858
  className: "toggle-btn",
2849
2859
  onClick: () => x(!1),
2850
- children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-x-lg" })
2860
+ children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-x-lg" })
2851
2861
  }
2852
2862
  ) }),
2853
- /* @__PURE__ */ a.jsx("div", { className: "search-result-content", children: e })
2863
+ /* @__PURE__ */ o.jsx("div", { className: "search-result-content", children: e })
2854
2864
  ] })
2855
2865
  ] });
2856
2866
  }
@@ -2859,7 +2869,7 @@ const bo = ({
2859
2869
  children: t,
2860
2870
  title: r,
2861
2871
  onClose: n,
2862
- className: o,
2872
+ className: a,
2863
2873
  id: i,
2864
2874
  width: c,
2865
2875
  closeOnClickOutside: u = !0,
@@ -2882,18 +2892,18 @@ const bo = ({
2882
2892
  return Y(() => (m ? document.addEventListener("mousedown", f) : document.removeEventListener("mousedown", f), () => {
2883
2893
  document.removeEventListener("mousedown", f);
2884
2894
  }), [m, f]), p.current ? Lt.createPortal(
2885
- /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2886
- m && l && /* @__PURE__ */ a.jsx("div", { className: "overlay" }),
2887
- /* @__PURE__ */ a.jsxs(
2895
+ /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2896
+ m && l && /* @__PURE__ */ o.jsx("div", { className: "overlay" }),
2897
+ /* @__PURE__ */ o.jsxs(
2888
2898
  "div",
2889
2899
  {
2890
2900
  ref: g,
2891
2901
  style: c ? { width: c } : {},
2892
- className: `sidebar ${m ? "open" : "closed"} ${o ?? ""}`,
2902
+ className: `sidebar ${m ? "open" : "closed"} ${a ?? ""}`,
2893
2903
  children: [
2894
- /* @__PURE__ */ a.jsxs("div", { className: "sidebar-header", children: [
2895
- r && /* @__PURE__ */ a.jsx("h2", { className: "flex-1", children: r }),
2896
- /* @__PURE__ */ a.jsx("button", { className: "toggle-btn", onClick: d, children: /* @__PURE__ */ a.jsx(D, { classIcon: "bi-x-lg" }) })
2904
+ /* @__PURE__ */ o.jsxs("div", { className: "sidebar-header", children: [
2905
+ r && /* @__PURE__ */ o.jsx("h2", { className: "flex-1", children: r }),
2906
+ /* @__PURE__ */ o.jsx("button", { className: "toggle-btn", onClick: d, children: /* @__PURE__ */ o.jsx(D, { classIcon: "bi-x-lg" }) })
2897
2907
  ] }),
2898
2908
  t && t
2899
2909
  ]
@@ -2901,8 +2911,8 @@ const bo = ({
2901
2911
  )
2902
2912
  ] }),
2903
2913
  p.current
2904
- ) : /* @__PURE__ */ a.jsx(a.Fragment, {});
2905
- }, No = (e) => /* @__PURE__ */ a.jsx(to, { ...e, className: `full sidebar-data ${e.className}`, children: e.children && /* @__PURE__ */ a.jsx("div", { className: `sidebar-data-content ${e.classNameContent} `, children: e.children }) }), kr = (e) => {
2914
+ ) : /* @__PURE__ */ o.jsx(o.Fragment, {});
2915
+ }, No = (e) => /* @__PURE__ */ o.jsx(to, { ...e, className: `full sidebar-data ${e.className}`, children: e.children && /* @__PURE__ */ o.jsx("div", { className: `sidebar-data-content ${e.classNameContent} `, children: e.children }) }), kr = (e) => {
2906
2916
  let t;
2907
2917
  const r = /* @__PURE__ */ new Set(), n = (m, y) => {
2908
2918
  const g = typeof m == "function" ? m(t) : m;
@@ -2910,7 +2920,7 @@ const bo = ({
2910
2920
  const p = t;
2911
2921
  t = y ?? (typeof g != "object" || g === null) ? g : Object.assign({}, t, g), r.forEach((d) => d(t, p));
2912
2922
  }
2913
- }, o = () => t, u = { setState: n, getState: o, getInitialState: () => l, subscribe: (m) => (r.add(m), () => r.delete(m)) }, l = t = e(n, o, u);
2923
+ }, a = () => t, u = { setState: n, getState: a, getInitialState: () => l, subscribe: (m) => (r.add(m), () => r.delete(m)) }, l = t = e(n, a, u);
2914
2924
  return u;
2915
2925
  }, ro = (e) => e ? kr(e) : kr, no = (e) => e;
2916
2926
  function so(e, t = no) {
@@ -2944,28 +2954,28 @@ const _r = (e) => {
2944
2954
  description: t,
2945
2955
  severity: r = "info",
2946
2956
  visible: n,
2947
- duration: o,
2957
+ duration: a,
2948
2958
  hideToast: i
2949
2959
  } = ao();
2950
2960
  if (Y(() => {
2951
2961
  if (!n) return;
2952
2962
  const u = setTimeout(() => {
2953
2963
  i();
2954
- }, o);
2964
+ }, a);
2955
2965
  return () => clearTimeout(u);
2956
- }, [n, o, i]), !n) return null;
2966
+ }, [n, a, i]), !n) return null;
2957
2967
  const c = document.getElementById("toaster-root");
2958
2968
  return c ? Lt.createPortal(
2959
- /* @__PURE__ */ a.jsxs("div", { className: `toaster toaster-${r}`, children: [
2960
- /* @__PURE__ */ a.jsxs("div", { children: [
2961
- r === "info" && /* @__PURE__ */ a.jsx(D, { classIcon: "bi-info-circle" }),
2962
- r === "success" && /* @__PURE__ */ a.jsx(D, { classIcon: "bi-check-circle" }),
2963
- r === "error" && /* @__PURE__ */ a.jsx(D, { classIcon: "bi-x-circle" }),
2964
- r === "warning" && /* @__PURE__ */ a.jsx(D, { classIcon: "bi-exclamation-triangle" })
2969
+ /* @__PURE__ */ o.jsxs("div", { className: `toaster toaster-${r}`, children: [
2970
+ /* @__PURE__ */ o.jsxs("div", { children: [
2971
+ r === "info" && /* @__PURE__ */ o.jsx(D, { classIcon: "bi-info-circle" }),
2972
+ r === "success" && /* @__PURE__ */ o.jsx(D, { classIcon: "bi-check-circle" }),
2973
+ r === "error" && /* @__PURE__ */ o.jsx(D, { classIcon: "bi-x-circle" }),
2974
+ r === "warning" && /* @__PURE__ */ o.jsx(D, { classIcon: "bi-exclamation-triangle" })
2965
2975
  ] }),
2966
- /* @__PURE__ */ a.jsxs("div", { children: [
2967
- /* @__PURE__ */ a.jsx("div", { className: `title title-${r}`, children: e }),
2968
- t && /* @__PURE__ */ a.jsx("div", { className: "subtitle", children: t })
2976
+ /* @__PURE__ */ o.jsxs("div", { children: [
2977
+ /* @__PURE__ */ o.jsx("div", { className: `title title-${r}`, children: e }),
2978
+ t && /* @__PURE__ */ o.jsx("div", { className: "subtitle", children: t })
2969
2979
  ] })
2970
2980
  ] }),
2971
2981
  c