@tsiky/components-r19 1.6.106 → 1.6.107

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
@@ -1,6 +1,6 @@
1
1
  import { jsx as s, jsxs as v, Fragment as Ee } from "react/jsx-runtime";
2
2
  import * as J from "react";
3
- import ee, { useState as j, useRef as G, useEffect as O, createContext as We, useContext as ye, useCallback as He, memo as Ae, useLayoutEffect as az, useId as lC, useInsertionEffect as x$, useMemo as fe, Children as nz, isValidElement as oz, Fragment as b$, createElement as iz, forwardRef as Zi, Component as cz, useImperativeHandle as rz } from "react";
3
+ import ee, { useState as j, useRef as G, useEffect as O, createContext as We, useContext as ke, useCallback as He, memo as ze, useLayoutEffect as az, useId as lC, useInsertionEffect as x$, useMemo as ge, Children as nz, isValidElement as oz, Fragment as b$, createElement as iz, forwardRef as Zi, Component as cz, useImperativeHandle as rz } from "react";
4
4
  import { c as a, M as Po, I as sz, a as tc, g as dz, R as w$, B as lz, C as hz, X as pz, Y as uz, T as yz, b as kz, d as mz, P as fz, e as gz, f as aI } from "./SimpleBarChart-Cc2mdbuB.js";
5
5
  import { h as L9e, S as C9e } from "./SimpleBarChart-Cc2mdbuB.js";
6
6
  import { createPortal as hC } from "react-dom";
@@ -31339,7 +31339,7 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31339
31339
  )
31340
31340
  ] });
31341
31341
  }, L$ = We(void 0), wt = () => {
31342
- const e = ye(L$);
31342
+ const e = ke(L$);
31343
31343
  if (!e) throw new Error("useNavigation must be used within a NavProvider");
31344
31344
  return e;
31345
31345
  }, vve = ({
@@ -31435,8 +31435,8 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31435
31435
  const T = q.target.value;
31436
31436
  try {
31437
31437
  x.onChange(T);
31438
- } catch (H) {
31439
- console.error("select onChange error", H);
31438
+ } catch (D) {
31439
+ console.error("select onChange error", D);
31440
31440
  }
31441
31441
  },
31442
31442
  children: A.map((q) => /* @__PURE__ */ s("option", { value: q.code, children: q.label }, q.code))
@@ -31479,19 +31479,19 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31479
31479
  O(() => {
31480
31480
  const w = (q) => {
31481
31481
  const T = [];
31482
- return ee.Children.forEach(q, (H) => {
31483
- Array.isArray(H) ? T.push(...w(H)) : ee.isValidElement(H) && T.push(H);
31482
+ return ee.Children.forEach(q, (D) => {
31483
+ Array.isArray(D) ? T.push(...w(D)) : ee.isValidElement(D) && T.push(D);
31484
31484
  }), T;
31485
31485
  }, $ = w(e).filter((q) => ee.isValidElement(q)).map((q) => {
31486
31486
  let T = "";
31487
- const H = q.props;
31487
+ const D = q.props;
31488
31488
  return T = [
31489
- H.xs ? `grid-xs-${H.xs}` : "",
31490
- H.sm ? `grid-sm-${H.sm}` : "",
31491
- H.md ? `grid-md-${H.md}` : "",
31492
- H.lg ? `grid-lg-${H.lg}` : "",
31493
- H.xl ? `grid-xl-${H.xl}` : "",
31494
- H.className ? H.className : ""
31489
+ D.xs ? `grid-xs-${D.xs}` : "",
31490
+ D.sm ? `grid-sm-${D.sm}` : "",
31491
+ D.md ? `grid-md-${D.md}` : "",
31492
+ D.lg ? `grid-lg-${D.lg}` : "",
31493
+ D.xl ? `grid-xl-${D.xl}` : "",
31494
+ D.className ? D.className : ""
31495
31495
  ].join(" ").trim(), { node: q, classes: T };
31496
31496
  });
31497
31497
  let A = $;
@@ -31510,22 +31510,22 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31510
31510
  if (t && A !== u)
31511
31511
  return;
31512
31512
  const q = [...f];
31513
- let T = -1, H = -1;
31513
+ let T = -1, D = -1;
31514
31514
  if (q.forEach((N, z) => {
31515
31515
  if (ee.isValidElement(N.node)) {
31516
31516
  const F = N.node.props;
31517
- F.uniqueKey === S && (T = z), F.uniqueKey === $ && (H = z);
31517
+ F.uniqueKey === S && (T = z), F.uniqueKey === $ && (D = z);
31518
31518
  }
31519
- }), T === -1 || H === -1)
31519
+ }), T === -1 || D === -1)
31520
31520
  return;
31521
- const V = q[H].node;
31522
- q[H] = {
31523
- ...q[H],
31521
+ const V = q[D].node;
31522
+ q[D] = {
31523
+ ...q[D],
31524
31524
  node: q[T].node
31525
31525
  }, q[T] = {
31526
31526
  ...q[T],
31527
31527
  node: V
31528
- }, b(q), typeof m == "function" && m(H, T);
31528
+ }, b(q), typeof m == "function" && m(D, T);
31529
31529
  }, x = o ? [
31530
31530
  i ? `grid-xs-${i}` : "",
31531
31531
  c ? `grid-sm-${c}` : "",
@@ -31709,7 +31709,7 @@ const pC = ({ imagePath: e, ...t }) => {
31709
31709
  }, []);
31710
31710
  return /* @__PURE__ */ s(I$.Provider, { value: { themeName: n, setTheme: i }, children: e });
31711
31711
  }, Y2e = () => {
31712
- const e = ye(I$);
31712
+ const e = ke(I$);
31713
31713
  if (!e)
31714
31714
  throw new Error("useThemeContext must be used within a ThemeProvider");
31715
31715
  return e;
@@ -31798,7 +31798,7 @@ const pC = ({ imagePath: e, ...t }) => {
31798
31798
  size: c
31799
31799
  }
31800
31800
  ) : null;
31801
- }, J2e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z" })), cI = Ae(J2e), N$ = We(void 0), _ve = ({ children: e }) => {
31801
+ }, J2e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z" })), cI = ze(J2e), N$ = We(void 0), _ve = ({ children: e }) => {
31802
31802
  const [t, n] = j(!1);
31803
31803
  O(() => {
31804
31804
  const i = localStorage.getItem("isDraggable");
@@ -31811,7 +31811,7 @@ const pC = ({ imagePath: e, ...t }) => {
31811
31811
  };
31812
31812
  return /* @__PURE__ */ s(N$.Provider, { value: { isDraggable: t, switchDraggable: o }, children: e });
31813
31813
  }, Q2e = () => {
31814
- const e = ye(N$);
31814
+ const e = ke(N$);
31815
31815
  if (!e)
31816
31816
  throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");
31817
31817
  return e;
@@ -31848,7 +31848,7 @@ const pC = ({ imagePath: e, ...t }) => {
31848
31848
  a11yConfig: i
31849
31849
  }
31850
31850
  );
31851
- }, ese = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z" })), rI = Ae(ese), S$ = We(void 0), xve = ({ children: e }) => {
31851
+ }, ese = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z" })), rI = ze(ese), S$ = We(void 0), xve = ({ children: e }) => {
31852
31852
  const [t, n] = j(!1);
31853
31853
  O(() => {
31854
31854
  const i = localStorage.getItem("disableLegendFilter");
@@ -31861,7 +31861,7 @@ const pC = ({ imagePath: e, ...t }) => {
31861
31861
  };
31862
31862
  return /* @__PURE__ */ s(S$.Provider, { value: { disableLegendFilter: t, switchDisableLegendFilter: o }, children: e });
31863
31863
  }, tse = () => {
31864
- const e = ye(S$);
31864
+ const e = ke(S$);
31865
31865
  if (!e)
31866
31866
  throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");
31867
31867
  return e;
@@ -31911,11 +31911,11 @@ const pC = ({ imagePath: e, ...t }) => {
31911
31911
  };
31912
31912
  return /* @__PURE__ */ s($$.Provider, { value: { showData: t, switchShowData: o }, children: e });
31913
31913
  }, ase = () => {
31914
- const e = ye($$);
31914
+ const e = ke($$);
31915
31915
  if (!e)
31916
31916
  throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");
31917
31917
  return e;
31918
- }, nse = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5" })), sI = Ae(nse), BL = ({
31918
+ }, nse = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5" })), sI = ze(nse), BL = ({
31919
31919
  size: e = 24,
31920
31920
  colors: t = {
31921
31921
  bg: "var(--color-switcher-background)",
@@ -31942,7 +31942,7 @@ const pC = ({ imagePath: e, ...t }) => {
31942
31942
  a11yConfig: n
31943
31943
  }
31944
31944
  ) : null;
31945
- }, ose = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z" })), q$ = Ae(ose);
31945
+ }, ose = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z" })), q$ = ze(ose);
31946
31946
  function dI({
31947
31947
  items: e,
31948
31948
  onSave: t,
@@ -32389,13 +32389,13 @@ function W$(e, t) {
32389
32389
  r[ac[C]].cancel(b);
32390
32390
  }, state: i, steps: r };
32391
32391
  }
32392
- const { schedule: pe, cancel: bt, state: $e, steps: Db } = /* @__PURE__ */ W$(typeof requestAnimationFrame < "u" ? requestAnimationFrame : et, !0);
32392
+ const { schedule: pe, cancel: bt, state: qe, steps: Db } = /* @__PURE__ */ W$(typeof requestAnimationFrame < "u" ? requestAnimationFrame : et, !0);
32393
32393
  let cb;
32394
32394
  function vse() {
32395
32395
  cb = void 0;
32396
32396
  }
32397
32397
  const Oe = {
32398
- now: () => (cb === void 0 && Oe.set($e.isProcessing || xt.useManualTiming ? $e.timestamp : performance.now()), cb),
32398
+ now: () => (cb === void 0 && Oe.set(qe.isProcessing || xt.useManualTiming ? qe.timestamp : performance.now()), cb),
32399
32399
  set: (e) => {
32400
32400
  cb = e, queueMicrotask(vse);
32401
32401
  }
@@ -32527,7 +32527,7 @@ function Pse({ hue: e, saturation: t, lightness: n, alpha: o }) {
32527
32527
  function lb(e, t) {
32528
32528
  return (n) => n > 0 ? t : e;
32529
32529
  }
32530
- const ke = (e, t, n) => e + (t - e) * n, Fb = (e, t, n) => {
32530
+ const me = (e, t, n) => e + (t - e) * n, Fb = (e, t, n) => {
32531
32531
  const o = e * e, i = n * (t * t - o) + o;
32532
32532
  return i < 0 ? 0 : Math.sqrt(i);
32533
32533
  }, jse = [FL, qo, Zo], Tse = (e) => jse.find((t) => t.test(e));
@@ -32543,13 +32543,13 @@ const mI = (e, t) => {
32543
32543
  if (!n || !o)
32544
32544
  return lb(e, t);
32545
32545
  const i = { ...n };
32546
- return (c) => (i.red = Fb(n.red, o.red, c), i.green = Fb(n.green, o.green, c), i.blue = Fb(n.blue, o.blue, c), i.alpha = ke(n.alpha, o.alpha, c), qo.transform(i));
32546
+ return (c) => (i.red = Fb(n.red, o.red, c), i.green = Fb(n.green, o.green, c), i.blue = Fb(n.blue, o.blue, c), i.alpha = me(n.alpha, o.alpha, c), qo.transform(i));
32547
32547
  }, OL = /* @__PURE__ */ new Set(["none", "hidden"]);
32548
32548
  function Hse(e, t) {
32549
32549
  return OL.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
32550
32550
  }
32551
32551
  function Dse(e, t) {
32552
- return (n) => ke(e, t, n);
32552
+ return (n) => me(e, t, n);
32553
32553
  }
32554
32554
  function NC(e) {
32555
32555
  return typeof e == "number" ? Dse : typeof e == "string" ? LC(e) ? lb : we.test(e) ? mI : Fse : Array.isArray(e) ? Q$ : typeof e == "object" ? we.test(e) ? mI : Bse : lb;
@@ -32585,7 +32585,7 @@ const Fse = (e, t) => {
32585
32585
  return o.indexes.var.length === i.indexes.var.length && o.indexes.color.length === i.indexes.color.length && o.indexes.number.length >= i.indexes.number.length ? OL.has(e) && !i.values.length || OL.has(t) && !o.values.length ? Hse(e, t) : Ki(Q$(Rse(o, i), i.values), n) : (ri(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), lb(e, t));
32586
32586
  };
32587
32587
  function eq(e, t, n) {
32588
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ke(e, t, n) : NC(e)(e, t);
32588
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? me(e, t, n) : NC(e)(e, t);
32589
32589
  }
32590
32590
  const Ose = (e) => {
32591
32591
  const t = ({ timestamp: n }) => e(n);
@@ -32596,7 +32596,7 @@ const Ose = (e) => {
32596
32596
  * If we're processing this frame we can use the
32597
32597
  * framelocked timestamp to keep things in sync.
32598
32598
  */
32599
- now: () => $e.isProcessing ? $e.timestamp : Oe.now()
32599
+ now: () => qe.isProcessing ? qe.timestamp : Oe.now()
32600
32600
  };
32601
32601
  }, tq = (e, t, n = 10) => {
32602
32602
  let o = "";
@@ -32626,7 +32626,7 @@ function aq(e, t, n) {
32626
32626
  const o = Math.max(t - Use, 0);
32627
32627
  return P$(n - e(o), t - o);
32628
32628
  }
32629
- const me = {
32629
+ const fe = {
32630
32630
  // Default spring physics
32631
32631
  stiffness: 100,
32632
32632
  damping: 10,
@@ -32655,11 +32655,11 @@ const me = {
32655
32655
  minDamping: 0.05,
32656
32656
  maxDamping: 1
32657
32657
  }, Ob = 1e-3;
32658
- function Wse({ duration: e = me.duration, bounce: t = me.bounce, velocity: n = me.velocity, mass: o = me.mass }) {
32658
+ function Wse({ duration: e = fe.duration, bounce: t = fe.bounce, velocity: n = fe.velocity, mass: o = fe.mass }) {
32659
32659
  let i, c;
32660
- ri(e <= /* @__PURE__ */ it(me.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
32660
+ ri(e <= /* @__PURE__ */ it(fe.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
32661
32661
  let r = 1 - t;
32662
- r = _t(me.minDamping, me.maxDamping, r), e = _t(me.minDuration, me.maxDuration, /* @__PURE__ */ Qe(e)), r < 1 ? (i = (h) => {
32662
+ r = _t(fe.minDamping, fe.maxDamping, r), e = _t(fe.minDuration, fe.maxDuration, /* @__PURE__ */ Qe(e)), r < 1 ? (i = (h) => {
32663
32663
  const p = h * r, u = p * e, y = p - n, k = EL(h, r), M = Math.exp(-u);
32664
32664
  return Ob - y / k * M;
32665
32665
  }, c = (h) => {
@@ -32675,8 +32675,8 @@ function Wse({ duration: e = me.duration, bounce: t = me.bounce, velocity: n = m
32675
32675
  const d = 5 / e, l = Zse(i, c, d);
32676
32676
  if (e = /* @__PURE__ */ it(e), isNaN(l))
32677
32677
  return {
32678
- stiffness: me.stiffness,
32679
- damping: me.damping,
32678
+ stiffness: fe.stiffness,
32679
+ damping: fe.damping,
32680
32680
  duration: e
32681
32681
  };
32682
32682
  {
@@ -32704,10 +32704,10 @@ function fI(e, t) {
32704
32704
  }
32705
32705
  function Yse(e) {
32706
32706
  let t = {
32707
- velocity: me.velocity,
32708
- stiffness: me.stiffness,
32709
- damping: me.damping,
32710
- mass: me.mass,
32707
+ velocity: fe.velocity,
32708
+ stiffness: fe.stiffness,
32709
+ damping: fe.damping,
32710
+ mass: fe.mass,
32711
32711
  isResolvedFromDuration: !1,
32712
32712
  ...e
32713
32713
  };
@@ -32716,7 +32716,7 @@ function Yse(e) {
32716
32716
  const n = e.visualDuration, o = 2 * Math.PI / (n * 1.2), i = o * o, c = 2 * _t(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
32717
32717
  t = {
32718
32718
  ...t,
32719
- mass: me.mass,
32719
+ mass: fe.mass,
32720
32720
  stiffness: i,
32721
32721
  damping: c
32722
32722
  };
@@ -32725,12 +32725,12 @@ function Yse(e) {
32725
32725
  t = {
32726
32726
  ...t,
32727
32727
  ...n,
32728
- mass: me.mass
32728
+ mass: fe.mass
32729
32729
  }, t.isResolvedFromDuration = !0;
32730
32730
  }
32731
32731
  return t;
32732
32732
  }
32733
- function pb(e = me.visualDuration, t = me.bounce) {
32733
+ function pb(e = fe.visualDuration, t = fe.bounce) {
32734
32734
  const n = typeof e != "object" ? {
32735
32735
  visualDuration: e,
32736
32736
  keyframes: [0, 1],
@@ -32741,7 +32741,7 @@ function pb(e = me.visualDuration, t = me.bounce) {
32741
32741
  ...n,
32742
32742
  velocity: -/* @__PURE__ */ Qe(n.velocity || 0)
32743
32743
  }), M = y || 0, m = h / (2 * Math.sqrt(l * p)), g = r - c, _ = /* @__PURE__ */ Qe(Math.sqrt(l / p)), f = Math.abs(g) < 5;
32744
- o || (o = f ? me.restSpeed.granular : me.restSpeed.default), i || (i = f ? me.restDelta.granular : me.restDelta.default);
32744
+ o || (o = f ? fe.restSpeed.granular : fe.restSpeed.default), i || (i = f ? fe.restDelta.granular : fe.restDelta.default);
32745
32745
  let b;
32746
32746
  if (m < 1) {
32747
32747
  const I = EL(_, m);
@@ -32853,7 +32853,7 @@ function Qse(e, t) {
32853
32853
  const n = e[e.length - 1];
32854
32854
  for (let o = 1; o <= t; o++) {
32855
32855
  const i = /* @__PURE__ */ Fi(0, t, o);
32856
- e.push(ke(n, 1, i));
32856
+ e.push(me(n, 1, i));
32857
32857
  }
32858
32858
  }
32859
32859
  function e0e(e) {
@@ -34057,7 +34057,7 @@ function ade(...e) {
34057
34057
  const t = !Array.isArray(e[0]), n = t ? 0 : -1, o = e[0 + n], i = e[1 + n], c = e[2 + n], r = e[3 + n], d = nq(i, c, r);
34058
34058
  return t ? d(o) : d;
34059
34059
  }
34060
- const qe = (e) => !!(e && e.getVelocity), nde = [...yq, we, Ht], ode = (e) => nde.find(uq(e)), gb = We({
34060
+ const Ae = (e) => !!(e && e.getVelocity), nde = [...yq, we, Ht], ode = (e) => nde.find(uq(e)), gb = We({
34061
34061
  transformPagePoint: (e) => e,
34062
34062
  isStatic: !1,
34063
34063
  reducedMotion: "never"
@@ -34111,7 +34111,7 @@ function sde({ children: e, isPresent: t, anchorX: n, root: o }) {
34111
34111
  top: 0,
34112
34112
  left: 0,
34113
34113
  right: 0
34114
- }), { nonce: d } = ye(gb), l = cde(c, e?.ref);
34114
+ }), { nonce: d } = ke(gb), l = cde(c, e?.ref);
34115
34115
  return x$(() => {
34116
34116
  const { width: h, height: p, top: u, left: y, right: k } = r.current;
34117
34117
  if (t || !c.current || !h || !p)
@@ -34136,7 +34136,7 @@ function sde({ children: e, isPresent: t, anchorX: n, root: o }) {
34136
34136
  }
34137
34137
  const dde = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom: i, presenceAffectsLayout: c, mode: r, anchorX: d, root: l }) => {
34138
34138
  const h = Dt(lde), p = lC();
34139
- let u = !0, y = fe(() => (u = !1, {
34139
+ let u = !0, y = ge(() => (u = !1, {
34140
34140
  id: p,
34141
34141
  initial: t,
34142
34142
  isPresent: n,
@@ -34150,7 +34150,7 @@ const dde = ({ children: e, initial: t, isPresent: n, onExitComplete: o, custom:
34150
34150
  },
34151
34151
  register: (k) => (h.set(k, !1), () => h.delete(k))
34152
34152
  }), [n, h, o]);
34153
- return c && u && (y = { ...y }), fe(() => {
34153
+ return c && u && (y = { ...y }), ge(() => {
34154
34154
  h.forEach((k, M) => h.set(M, !1));
34155
34155
  }, [n]), J.useEffect(() => {
34156
34156
  !n && !h.size && o && o();
@@ -34160,7 +34160,7 @@ function lde() {
34160
34160
  return /* @__PURE__ */ new Map();
34161
34161
  }
34162
34162
  function bq(e = !0) {
34163
- const t = ye(fb);
34163
+ const t = ke(fb);
34164
34164
  if (t === null)
34165
34165
  return [!0, null];
34166
34166
  const { isPresent: n, onExitComplete: o, register: i } = t, c = lC();
@@ -34179,7 +34179,7 @@ function AI(e) {
34179
34179
  }), t;
34180
34180
  }
34181
34181
  const hde = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, presenceAffectsLayout: i = !0, mode: c = "sync", propagate: r = !1, anchorX: d = "left", root: l }) => {
34182
- const [h, p] = bq(r), u = fe(() => AI(e), [e]), y = r && !h ? [] : u.map(oc), k = G(!0), M = G(u), m = Dt(() => /* @__PURE__ */ new Map()), [g, _] = j(u), [f, b] = j(u);
34182
+ const [h, p] = bq(r), u = ge(() => AI(e), [e]), y = r && !h ? [] : u.map(oc), k = G(!0), M = G(u), m = Dt(() => /* @__PURE__ */ new Map()), [g, _] = j(u), [f, b] = j(u);
34183
34183
  mC(() => {
34184
34184
  k.current = !1, M.current = u;
34185
34185
  for (let L = 0; L < f.length; L++) {
@@ -34197,7 +34197,7 @@ const hde = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, prese
34197
34197
  return c === "wait" && C.length && (L = C), b(AI(L)), _(u), null;
34198
34198
  }
34199
34199
  process.env.NODE_ENV !== "production" && c === "wait" && f.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
34200
- const { forceRender: I } = ye(yC);
34200
+ const { forceRender: I } = ke(yC);
34201
34201
  return s(Ee, { children: f.map((L) => {
34202
34202
  const x = oc(L), w = r && !h ? !1 : u === f || y.includes(x), S = () => {
34203
34203
  if (m.has(x))
@@ -34325,8 +34325,8 @@ function mde(e, t) {
34325
34325
  return e.inherit !== !1 ? t : {};
34326
34326
  }
34327
34327
  function fde(e) {
34328
- const { initial: t, animate: n } = mde(e, ye(vb));
34329
- return fe(() => ({ initial: t, animate: n }), [VI(t), VI(n)]);
34328
+ const { initial: t, animate: n } = mde(e, ke(vb));
34329
+ return ge(() => ({ initial: t, animate: n }), [VI(t), VI(n)]);
34330
34330
  }
34331
34331
  function VI(e) {
34332
34332
  return Array.isArray(e) ? e.join(" ") : e;
@@ -34393,10 +34393,10 @@ const RC = () => ({
34393
34393
  });
34394
34394
  function Nq(e, t, n) {
34395
34395
  for (const o in t)
34396
- !qe(t[o]) && !Iq(o, n) && (e[o] = t[o]);
34396
+ !Ae(t[o]) && !Iq(o, n) && (e[o] = t[o]);
34397
34397
  }
34398
34398
  function xde({ transformTemplate: e }, t) {
34399
- return fe(() => {
34399
+ return ge(() => {
34400
34400
  const n = RC();
34401
34401
  return BC(n, t, e), Object.assign({}, n.vars, n.style);
34402
34402
  }, [t]);
@@ -34446,7 +34446,7 @@ const $q = () => ({
34446
34446
  attrs: {}
34447
34447
  }), qq = (e) => typeof e == "string" && e.toLowerCase() === "svg";
34448
34448
  function Nde(e, t, n, o) {
34449
- const i = fe(() => {
34449
+ const i = ge(() => {
34450
34450
  const c = $q();
34451
34451
  return Sq(c, t, qq(o), e.transformTemplate, e.style), {
34452
34452
  ...c.attrs,
@@ -34507,7 +34507,7 @@ function FC(e) {
34507
34507
  );
34508
34508
  }
34509
34509
  function $de(e, t, n, { latestValues: o }, i, c = !1) {
34510
- const d = (FC(e) ? Nde : wde)(t, o, i, e), l = kde(t, typeof e == "string", c), h = e !== b$ ? { ...l, ...d, ref: n } : {}, { children: p } = t, u = fe(() => qe(p) ? p.get() : p, [p]);
34510
+ const d = (FC(e) ? Nde : wde)(t, o, i, e), l = kde(t, typeof e == "string", c), h = e !== b$ ? { ...l, ...d, ref: n } : {}, { children: p } = t, u = ge(() => Ae(p) ? p.get() : p, [p]);
34511
34511
  return iz(e, {
34512
34512
  ...h,
34513
34513
  children: u
@@ -34531,7 +34531,7 @@ function OC(e, t, n, o) {
34531
34531
  return t;
34532
34532
  }
34533
34533
  function sb(e) {
34534
- return qe(e) ? e.get() : e;
34534
+ return Ae(e) ? e.get() : e;
34535
34535
  }
34536
34536
  function qde({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, o, i) {
34537
34537
  return {
@@ -34571,13 +34571,13 @@ function Ade(e, t, n, o) {
34571
34571
  return i;
34572
34572
  }
34573
34573
  const Aq = (e) => (t, n) => {
34574
- const o = ye(vb), i = ye(fb), c = () => qde(e, t, o, i);
34574
+ const o = ke(vb), i = ke(fb), c = () => qde(e, t, o, i);
34575
34575
  return n ? c() : Dt(c);
34576
34576
  };
34577
34577
  function EC(e, t, n) {
34578
34578
  const { style: o } = e, i = {};
34579
34579
  for (const c in o)
34580
- (qe(o[c]) || t.style && qe(t.style[c]) || Iq(c, e) || n?.getValue(c)?.liveStyle !== void 0) && (i[c] = o[c]);
34580
+ (Ae(o[c]) || t.style && Ae(t.style[c]) || Iq(c, e) || n?.getValue(c)?.liveStyle !== void 0) && (i[c] = o[c]);
34581
34581
  return i;
34582
34582
  }
34583
34583
  const zde = /* @__PURE__ */ Aq({
@@ -34587,7 +34587,7 @@ const zde = /* @__PURE__ */ Aq({
34587
34587
  function zq(e, t, n) {
34588
34588
  const o = EC(e, t, n);
34589
34589
  for (const i in e)
34590
- if (qe(e[i]) || qe(t[i])) {
34590
+ if (Ae(e[i]) || Ae(t[i])) {
34591
34591
  const c = di.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
34592
34592
  o[c] = e[i];
34593
34593
  }
@@ -34614,7 +34614,7 @@ function jde(e, t, n) {
34614
34614
  }
34615
34615
  const UC = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Tde = "framerAppearId", Vq = "data-" + UC(Tde), Pq = We({});
34616
34616
  function Hde(e, t, n, o, i) {
34617
- const { visualElement: c } = ye(vb), r = ye(wq), d = ye(fb), l = ye(gb).reducedMotion, h = G(null);
34617
+ const { visualElement: c } = ke(vb), r = ke(wq), d = ke(fb), l = ke(gb).reducedMotion, h = G(null);
34618
34618
  o = o || r.renderer, !h.current && o && (h.current = o(e, {
34619
34619
  visualState: t,
34620
34620
  parent: c,
@@ -34623,7 +34623,7 @@ function Hde(e, t, n, o, i) {
34623
34623
  blockInitialAnimation: d ? d.initial === !1 : !1,
34624
34624
  reducedMotionConfig: l
34625
34625
  }));
34626
- const p = h.current, u = ye(Pq);
34626
+ const p = h.current, u = ke(Pq);
34627
34627
  p && !p.projection && i && (p.type === "html" || p.type === "svg") && Dde(h.current, n, i, u);
34628
34628
  const y = G(!1);
34629
34629
  x$(() => {
@@ -34669,7 +34669,7 @@ function Ub(e, { forwardMotionProps: t = !1 } = {}, n, o) {
34669
34669
  function c(d, l) {
34670
34670
  let h;
34671
34671
  const p = {
34672
- ...ye(gb),
34672
+ ...ke(gb),
34673
34673
  ...d,
34674
34674
  layoutId: Bde(d)
34675
34675
  }, { isStatic: u } = p, y = fde(d), k = i(d, u);
@@ -34685,11 +34685,11 @@ function Ub(e, { forwardMotionProps: t = !1 } = {}, n, o) {
34685
34685
  return r[Pde] = e, r;
34686
34686
  }
34687
34687
  function Bde({ layoutId: e }) {
34688
- const t = ye(yC).id;
34688
+ const t = ke(yC).id;
34689
34689
  return t && e !== void 0 ? t + "-" + e : e;
34690
34690
  }
34691
34691
  function Rde(e, t) {
34692
- const n = ye(wq).strict;
34692
+ const n = ke(wq).strict;
34693
34693
  if (process.env.NODE_ENV !== "production" && t && n) {
34694
34694
  const o = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
34695
34695
  e.ignoreStrict ? ri(!1, o, "lazy-strict-mode") : ct(!1, o, "lazy-strict-mode");
@@ -34787,7 +34787,7 @@ function Yo(e, t) {
34787
34787
  e.min = e.min + t, e.max = e.max + t;
34788
34788
  }
34789
34789
  function BI(e, t, n, o, i = 0.5) {
34790
- const c = ke(e.min, e.max, i);
34790
+ const c = me(e.min, e.max, i);
34791
34791
  aC(e, t, n, c, o);
34792
34792
  }
34793
34793
  function Jo(e, t) {
@@ -34824,9 +34824,9 @@ const Kde = /* @__PURE__ */ new WeakMap();
34824
34824
  function Xde(e, t, n) {
34825
34825
  for (const o in t) {
34826
34826
  const i = t[o], c = n[o];
34827
- if (qe(i))
34827
+ if (Ae(i))
34828
34828
  e.addValue(o, i);
34829
- else if (qe(c))
34829
+ else if (Ae(c))
34830
34830
  e.addValue(o, Do(i, { owner: e }));
34831
34831
  else if (c !== i)
34832
34832
  if (e.hasValue(o)) {
@@ -34873,7 +34873,7 @@ class Yde {
34873
34873
  const { willChange: p, ...u } = this.scrapeMotionValuesFromProps(n, {}, this);
34874
34874
  for (const y in u) {
34875
34875
  const k = u[y];
34876
- l[y] !== void 0 && qe(k) && k.set(l[y]);
34876
+ l[y] !== void 0 && Ae(k) && k.set(l[y]);
34877
34877
  }
34878
34878
  }
34879
34879
  mount(t) {
@@ -35017,7 +35017,7 @@ class Yde {
35017
35017
  */
35018
35018
  readValue(t, n) {
35019
35019
  let o = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
35020
- return o != null && (typeof o == "string" && (A$(o) || V$(o)) ? o = parseFloat(o) : !ode(o) && Ht.test(n) && (o = mq(t, n)), this.setBaseTarget(t, qe(o) ? o.get() : o)), qe(o) ? o.get() : o;
35020
+ return o != null && (typeof o == "string" && (A$(o) || V$(o)) ? o = parseFloat(o) : !ode(o) && Ht.test(n) && (o = mq(t, n)), this.setBaseTarget(t, Ae(o) ? o.get() : o)), Ae(o) ? o.get() : o;
35021
35021
  }
35022
35022
  /**
35023
35023
  * Set the base target to later animate back to. This is currently
@@ -35040,7 +35040,7 @@ class Yde {
35040
35040
  if (n && o !== void 0)
35041
35041
  return o;
35042
35042
  const i = this.getBaseTargetFromProps(this.props, t);
35043
- return i !== void 0 && !qe(i) ? i : this.initialValues[t] !== void 0 && o === void 0 ? void 0 : this.baseTarget[t];
35043
+ return i !== void 0 && !Ae(i) ? i : this.initialValues[t] !== void 0 && o === void 0 ? void 0 : this.baseTarget[t];
35044
35044
  }
35045
35045
  on(t, n) {
35046
35046
  return this.events[t] || (this.events[t] = new MC()), this.events[t].add(n);
@@ -35068,7 +35068,7 @@ class Fq extends Yde {
35068
35068
  handleChildMotionValue() {
35069
35069
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
35070
35070
  const { children: t } = this.props;
35071
- qe(t) && (this.childSubscription = t.on("change", (n) => {
35071
+ Ae(t) && (this.childSubscription = t.on("change", (n) => {
35072
35072
  this.current && (this.current.textContent = `${n}`);
35073
35073
  }));
35074
35074
  }
@@ -35188,7 +35188,7 @@ function ile(e, t) {
35188
35188
  }
35189
35189
  }
35190
35190
  function cle(e) {
35191
- return !!(qe(e) && e.add);
35191
+ return !!(Ae(e) && e.add);
35192
35192
  }
35193
35193
  function iC(e, t) {
35194
35194
  const n = e.getValue("willChange");
@@ -35405,7 +35405,7 @@ function xle(e) {
35405
35405
  const { prevResolvedValues: q = {} } = f, T = {
35406
35406
  ...q,
35407
35407
  ...A
35408
- }, H = (z) => {
35408
+ }, D = (z) => {
35409
35409
  w = !0, y.has(z) && (S = !0, y.delete(z)), f.needsAnimating[z] = !0;
35410
35410
  const F = e.getValue(z);
35411
35411
  F && (F.liveStyle = !1);
@@ -35414,17 +35414,17 @@ function xle(e) {
35414
35414
  const F = A[z], R = q[z];
35415
35415
  if (k.hasOwnProperty(z))
35416
35416
  continue;
35417
- let D = !1;
35418
- oC(F) && oC(R) ? D = !Zq(F, R) : D = F !== R, D ? F != null ? H(z) : y.add(z) : F !== void 0 && y.has(z) ? H(z) : f.protectedKeys[z] = !0;
35417
+ let H = !1;
35418
+ oC(F) && oC(R) ? H = !Zq(F, R) : H = F !== R, H ? F != null ? D(z) : y.add(z) : F !== void 0 && y.has(z) ? D(z) : f.protectedKeys[z] = !0;
35419
35419
  }
35420
35420
  f.prevProp = b, f.prevResolvedValues = A, f.isActive && (k = { ...k, ...A }), o && e.blockInitialAnimation && (w = !1);
35421
35421
  const V = L && x;
35422
35422
  w && (!V || S) && u.push(...$.map((z) => {
35423
35423
  const F = { type: _ };
35424
35424
  if (typeof z == "string" && o && !V && e.manuallyAnimateOnMount && e.parent) {
35425
- const { parent: R } = e, D = oi(R, z);
35426
- if (R.enteringChildren && D) {
35427
- const { delayChildren: Y } = D.transition || {};
35425
+ const { parent: R } = e, H = oi(R, z);
35426
+ if (R.enteringChildren && H) {
35427
+ const { delayChildren: Y } = H.transition || {};
35428
35428
  F.delay = Gq(R.enteringChildren, e, Y);
35429
35429
  }
35430
35430
  }
@@ -35577,7 +35577,7 @@ function zle(e, t, n) {
35577
35577
  return Math.abs(e - t) <= n;
35578
35578
  }
35579
35579
  function UI(e, t, n, o = 0.5) {
35580
- e.origin = o, e.originPoint = ke(t.min, t.max, e.origin), e.scale = De(n) / De(t), e.translate = ke(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Sle && e.scale <= $le || isNaN(e.scale)) && (e.scale = 1), (e.translate >= qle && e.translate <= Ale || isNaN(e.translate)) && (e.translate = 0);
35580
+ e.origin = o, e.originPoint = me(t.min, t.max, e.origin), e.scale = De(n) / De(t), e.translate = me(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Sle && e.scale <= $le || isNaN(e.scale)) && (e.scale = 1), (e.translate >= qle && e.translate <= Ale || isNaN(e.translate)) && (e.translate = 0);
35581
35581
  }
35582
35582
  function Di(e, t, n, o) {
35583
35583
  UI(e.x, t.x, n.x, o ? o.originX : void 0), UI(e.y, t.y, n.y, o ? o.originY : void 0);
@@ -35610,7 +35610,7 @@ class Qq {
35610
35610
  const y = Zb(this.lastMoveEventInfo, this.history), k = this.startEvent !== null, M = Ple(y.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
35611
35611
  if (!k && !M)
35612
35612
  return;
35613
- const { point: m } = y, { timestamp: g } = $e;
35613
+ const { point: m } = y, { timestamp: g } = qe;
35614
35614
  this.history.push({ ...m, timestamp: g });
35615
35615
  const { onStart: _, onMove: f } = this.handlers;
35616
35616
  k || (_ && _(this.lastMoveEvent, y), this.startEvent = this.lastMoveEvent), f && f(this.lastMoveEvent, y);
@@ -35626,7 +35626,7 @@ class Qq {
35626
35626
  }, !TC(t))
35627
35627
  return;
35628
35628
  this.dragSnapToOrigin = c, this.handlers = n, this.transformPagePoint = o, this.distanceThreshold = r, this.contextWindow = i || window;
35629
- const d = Ji(t), l = Gb(d, this.transformPagePoint), { point: h } = l, { timestamp: p } = $e;
35629
+ const d = Ji(t), l = Gb(d, this.transformPagePoint), { point: h } = l, { timestamp: p } = qe;
35630
35630
  this.history = [{ ...h, timestamp: p }];
35631
35631
  const { onSessionStart: u } = n;
35632
35632
  u && u(t, Zb(l, this.history)), this.removeListeners = Ki(Hi(this.contextWindow, "pointermove", this.handlePointerMove), Hi(this.contextWindow, "pointerup", this.handlePointerUp), Hi(this.contextWindow, "pointercancel", this.handlePointerUp));
@@ -35677,7 +35677,7 @@ function Tle(e, t) {
35677
35677
  return r.x === 1 / 0 && (r.x = 0), r.y === 1 / 0 && (r.y = 0), r;
35678
35678
  }
35679
35679
  function Hle(e, { min: t, max: n }, o) {
35680
- return t !== void 0 && e < t ? e = o ? ke(t, e, o.min) : Math.max(e, t) : n !== void 0 && e > n && (e = o ? ke(n, e, o.max) : Math.min(e, n)), e;
35680
+ return t !== void 0 && e < t ? e = o ? me(t, e, o.min) : Math.max(e, t) : n !== void 0 && e > n && (e = o ? me(n, e, o.max) : Math.min(e, n)), e;
35681
35681
  }
35682
35682
  function XI(e, t, n) {
35683
35683
  return {
@@ -35887,7 +35887,7 @@ class Ule {
35887
35887
  const { projection: i } = this.visualElement, c = this.getAxisMotionValue(n);
35888
35888
  if (i && i.layout) {
35889
35889
  const { min: r, max: d } = i.layout.layoutBox[n];
35890
- c.set(t[n] - ke(r, d, 0.5));
35890
+ c.set(t[n] - me(r, d, 0.5));
35891
35891
  }
35892
35892
  });
35893
35893
  }
@@ -35916,7 +35916,7 @@ class Ule {
35916
35916
  if (!ic(r, t, null))
35917
35917
  return;
35918
35918
  const d = this.getAxisMotionValue(r), { min: l, max: h } = this.constraints[r];
35919
- d.set(ke(l, h, i[r]));
35919
+ d.set(me(l, h, i[r]));
35920
35920
  });
35921
35921
  }
35922
35922
  addListeners() {
@@ -36041,7 +36041,7 @@ const ki = {
36041
36041
  return o;
36042
36042
  const c = Ht.createTransformer(e), r = typeof i[0] != "number" ? 1 : 0, d = n.x.scale * t.x, l = n.y.scale * t.y;
36043
36043
  i[0 + r] /= d, i[1 + r] /= l;
36044
- const h = ke(d, l, 0.5);
36044
+ const h = me(d, l, 0.5);
36045
36045
  return typeof i[2 + r] == "number" && (i[2 + r] /= h), typeof i[3 + r] == "number" && (i[3 + r] /= h), c(i);
36046
36046
  }
36047
36047
  };
@@ -36087,8 +36087,8 @@ class Xle extends cz {
36087
36087
  }
36088
36088
  }
36089
36089
  function tA(e) {
36090
- const [t, n] = bq(), o = ye(yC);
36091
- return s(Xle, { ...e, layoutGroup: o, switchLayoutGroup: ye(Pq), isPresent: t, safeToRemove: n });
36090
+ const [t, n] = bq(), o = ke(yC);
36091
+ return s(Xle, { ...e, layoutGroup: o, switchLayoutGroup: ke(Pq), isPresent: t, safeToRemove: n });
36092
36092
  }
36093
36093
  const Yle = {
36094
36094
  borderRadius: {
@@ -36107,7 +36107,7 @@ const Yle = {
36107
36107
  boxShadow: Kle
36108
36108
  };
36109
36109
  function Jle(e, t, n) {
36110
- const o = qe(e) ? e : Do(e);
36110
+ const o = Ae(e) ? e : Do(e);
36111
36111
  return o.start(WC("", o, t, n)), o.animation;
36112
36112
  }
36113
36113
  const Qle = (e, t) => e.depth - t.depth;
@@ -36134,15 +36134,15 @@ function the(e, t) {
36134
36134
  }
36135
36135
  const aA = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], ahe = aA.length, aN = (e) => typeof e == "string" ? parseFloat(e) : e, nN = (e) => typeof e == "number" || Z.test(e);
36136
36136
  function nhe(e, t, n, o, i, c) {
36137
- i ? (e.opacity = ke(0, n.opacity ?? 1, ohe(o)), e.opacityExit = ke(t.opacity ?? 1, 0, ihe(o))) : c && (e.opacity = ke(t.opacity ?? 1, n.opacity ?? 1, o));
36137
+ i ? (e.opacity = me(0, n.opacity ?? 1, ohe(o)), e.opacityExit = me(t.opacity ?? 1, 0, ihe(o))) : c && (e.opacity = me(t.opacity ?? 1, n.opacity ?? 1, o));
36138
36138
  for (let r = 0; r < ahe; r++) {
36139
36139
  const d = `border${aA[r]}Radius`;
36140
36140
  let l = oN(t, d), h = oN(n, d);
36141
36141
  if (l === void 0 && h === void 0)
36142
36142
  continue;
36143
- l || (l = 0), h || (h = 0), l === 0 || h === 0 || nN(l) === nN(h) ? (e[d] = Math.max(ke(aN(l), aN(h), o), 0), (kt.test(h) || kt.test(l)) && (e[d] += "%")) : e[d] = h;
36143
+ l || (l = 0), h || (h = 0), l === 0 || h === 0 || nN(l) === nN(h) ? (e[d] = Math.max(me(aN(l), aN(h), o), 0), (kt.test(h) || kt.test(l)) && (e[d] += "%")) : e[d] = h;
36144
36144
  }
36145
- (t.rotate || n.rotate) && (e.rotate = ke(t.rotate || 0, n.rotate || 0, o));
36145
+ (t.rotate || n.rotate) && (e.rotate = me(t.rotate || 0, n.rotate || 0, o));
36146
36146
  }
36147
36147
  function oN(e, t) {
36148
36148
  return e[t] !== void 0 ? e[t] : e.borderRadius;
@@ -36164,9 +36164,9 @@ function rN(e, t, n, o, i) {
36164
36164
  return e -= t, e = yb(e, 1 / n, o), i !== void 0 && (e = yb(e, 1 / i, o)), e;
36165
36165
  }
36166
36166
  function che(e, t = 0, n = 1, o = 0.5, i, c = e, r = e) {
36167
- if (kt.test(t) && (t = parseFloat(t), t = ke(r.min, r.max, t / 100) - r.min), typeof t != "number")
36167
+ if (kt.test(t) && (t = parseFloat(t), t = me(r.min, r.max, t / 100) - r.min), typeof t != "number")
36168
36168
  return;
36169
- let d = ke(c.min, c.max, o);
36169
+ let d = me(c.min, c.max, o);
36170
36170
  e === c && (d -= t), e.min = rN(e.min, t, n, d, i), e.max = rN(e.max, t, n, d, i);
36171
36171
  }
36172
36172
  function sN(e, t, [n, o, i], c, r) {
@@ -36398,7 +36398,7 @@ function rA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36398
36398
  }
36399
36399
  this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(vhe), this.nodes.forEach(yhe), this.nodes.forEach(khe)) : this.nodes.forEach(mN), this.clearAllSnapshots();
36400
36400
  const d = Oe.now();
36401
- $e.delta = _t(0, 1e3 / 60, d - $e.timestamp), $e.timestamp = d, $e.isProcessing = !0, Db.update.process($e), Db.preRender.process($e), Db.render.process($e), $e.isProcessing = !1;
36401
+ qe.delta = _t(0, 1e3 / 60, d - qe.timestamp), qe.timestamp = d, qe.isProcessing = !0, Db.update.process(qe), Db.preRender.process(qe), Db.render.process(qe), qe.isProcessing = !1;
36402
36402
  }
36403
36403
  didUpdate() {
36404
36404
  this.updateScheduled || (this.updateScheduled = !0, jC.read(this.scheduleUpdate));
@@ -36521,7 +36521,7 @@ function rA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36521
36521
  this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
36522
36522
  }
36523
36523
  forceRelativeParentToResolveTarget() {
36524
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== $e.timestamp && this.relativeParent.resolveTargetDelta(!0);
36524
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== qe.timestamp && this.relativeParent.resolveTargetDelta(!0);
36525
36525
  }
36526
36526
  resolveTargetDelta(r = !1) {
36527
36527
  const d = this.getLead();
@@ -36531,7 +36531,7 @@ function rA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36531
36531
  return;
36532
36532
  const { layout: p, layoutId: u } = this.options;
36533
36533
  if (!(!this.layout || !(p || u))) {
36534
- if (this.resolvedRelativeTargetAt = $e.timestamp, !this.targetDelta && !this.relativeTarget) {
36534
+ if (this.resolvedRelativeTargetAt = qe.timestamp, !this.targetDelta && !this.relativeTarget) {
36535
36535
  const y = this.getClosestProjectingParent();
36536
36536
  y && y.layout && this.animationProgress !== 1 ? (this.relativeParent = y, this.forceRelativeParentToResolveTarget(), this.relativeTarget = xe(), this.relativeTargetOrigin = xe(), Bi(this.relativeTargetOrigin, this.layout.layoutBox, y.layout.layoutBox), Ze(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
36537
36537
  }
@@ -36552,7 +36552,7 @@ function rA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36552
36552
  calcProjection() {
36553
36553
  const r = this.getLead(), d = !!this.resumingFrom || this !== r;
36554
36554
  let l = !0;
36555
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), d && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === $e.timestamp && (l = !1), l)
36555
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), d && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === qe.timestamp && (l = !1), l)
36556
36556
  return;
36557
36557
  const { layout: h, layoutId: p } = this.options;
36558
36558
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(h || p))
@@ -36810,10 +36810,10 @@ function bhe(e) {
36810
36810
  e.removeLeadSnapshot();
36811
36811
  }
36812
36812
  function gN(e, t, n) {
36813
- e.translate = ke(t.translate, 0, n), e.scale = ke(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
36813
+ e.translate = me(t.translate, 0, n), e.scale = me(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
36814
36814
  }
36815
36815
  function vN(e, t, n, o) {
36816
- e.min = ke(t.min, n.min, o), e.max = ke(t.max, n.max, o);
36816
+ e.min = me(t.min, n.min, o), e.max = me(t.max, n.max, o);
36817
36817
  }
36818
36818
  function whe(e, t, n, o) {
36819
36819
  vN(e.x, t.x, n.x, o), vN(e.y, t.y, n.y, o);
@@ -37006,7 +37006,7 @@ const Rhe = {
37006
37006
  ...Fhe
37007
37007
  }, GC = /* @__PURE__ */ Ode(Ohe, ale);
37008
37008
  function lA(e) {
37009
- const t = Dt(() => Do(e)), { isStatic: n } = ye(gb);
37009
+ const t = Dt(() => Do(e)), { isStatic: n } = ke(gb);
37010
37010
  if (n) {
37011
37011
  const [, o] = j(e);
37012
37012
  O(() => t.on("change", o), []);
@@ -37118,7 +37118,7 @@ function Khe(e, t, n, o) {
37118
37118
  const c = o > 0 ? 1 : -1, r = e[i + c];
37119
37119
  if (!r)
37120
37120
  return e;
37121
- const d = e[i], l = r.layout, h = ke(l.min, l.max, 0.5);
37121
+ const d = e[i], l = r.layout, h = me(l.min, l.max, 0.5);
37122
37122
  return c === 1 && d.layout.max + n > h || c === -1 && d.layout.min + n < h ? sse(e, i, i + c) : e;
37123
37123
  }
37124
37124
  function Xhe({ children: e, as: t = "ul", axis: n = "y", onReorder: o, values: i, ...c }, r) {
@@ -37149,10 +37149,10 @@ function Qhe(e, t) {
37149
37149
  return e.layout.min - t.layout.min;
37150
37150
  }
37151
37151
  function CN(e, t = 0) {
37152
- return qe(e) ? e : lA(t);
37152
+ return Ae(e) ? e : lA(t);
37153
37153
  }
37154
37154
  function epe({ children: e, style: t = {}, value: n, as: o = "li", onDrag: i, layout: c = !0, ...r }, d) {
37155
- const l = Dt(() => GC[o]), h = ye(pA), p = {
37155
+ const l = Dt(() => GC[o]), h = ke(pA), p = {
37156
37156
  x: CN(t.x),
37157
37157
  y: CN(t.y)
37158
37158
  }, u = Uhe([p.x, p.y], ([m, g]) => m || g ? 1 : "unset");
@@ -37611,7 +37611,7 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37611
37611
  }
37612
37612
  ),
37613
37613
  /* @__PURE__ */ s("label", { className: "form-check-label", htmlFor: `${e.name}-${r.value}`, children: r.label })
37614
- ] }, r.value)) }) }), cue = "_fileInputContainer_r2guc_3", rue = "_customFileInput_r2guc_8", sue = "_fileInputLabel_r2guc_12", due = "_dragOver_r2guc_39", lue = "_uploadIcon_r2guc_44", hue = "_uploadText_r2guc_50", pue = "_uploadHint_r2guc_56", uue = "_fileList_r2guc_60", yue = "_fileListTitle_r2guc_69", kue = "_fileItem_r2guc_80", mue = "_fileIcon_r2guc_96", fue = "_fileName_r2guc_102", gue = "_fileSize_r2guc_108", vue = "_removeButton_r2guc_114", Mue = "_errorText_r2guc_129", Ve = {
37614
+ ] }, r.value)) }) }), cue = "_fileInputContainer_r2guc_3", rue = "_customFileInput_r2guc_8", sue = "_fileInputLabel_r2guc_12", due = "_dragOver_r2guc_39", lue = "_uploadIcon_r2guc_44", hue = "_uploadText_r2guc_50", pue = "_uploadHint_r2guc_56", uue = "_fileList_r2guc_60", yue = "_fileListTitle_r2guc_69", kue = "_fileItem_r2guc_80", mue = "_fileIcon_r2guc_96", fue = "_fileName_r2guc_102", gue = "_fileSize_r2guc_108", vue = "_removeButton_r2guc_114", Mue = "_errorText_r2guc_129", Pe = {
37615
37615
  fileInputContainer: cue,
37616
37616
  customFileInput: rue,
37617
37617
  fileInputLabel: sue,
@@ -37656,7 +37656,7 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37656
37656
  const _ = 1024, f = ["Bytes", "KB", "MB", "GB"], b = Math.floor(Math.log(g) / Math.log(_));
37657
37657
  return parseFloat((g / Math.pow(_, b)).toFixed(2)) + " " + f[b];
37658
37658
  };
37659
- return /* @__PURE__ */ v("div", { className: `${Ve.fileInputContainer} ${c && i ? Ve.hasError : ""}`, children: [
37659
+ return /* @__PURE__ */ v("div", { className: `${Pe.fileInputContainer} ${c && i ? Pe.hasError : ""}`, children: [
37660
37660
  /* @__PURE__ */ v("label", { htmlFor: e.name, className: "form-label", children: [
37661
37661
  e.label,
37662
37662
  e.required && /* @__PURE__ */ s("span", { className: "text-danger", children: " *" })
@@ -37672,21 +37672,21 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37672
37672
  onChange: h,
37673
37673
  onBlur: o,
37674
37674
  ref: r,
37675
- className: Ve.customFileInput
37675
+ className: Pe.customFileInput
37676
37676
  }
37677
37677
  ),
37678
37678
  /* @__PURE__ */ v(
37679
37679
  "label",
37680
37680
  {
37681
37681
  htmlFor: e.name,
37682
- className: `${Ve.fileInputLabel} ${d ? Ve.dragOver : ""}`,
37682
+ className: `${Pe.fileInputLabel} ${d ? Pe.dragOver : ""}`,
37683
37683
  onDragOver: u,
37684
37684
  onDragLeave: y,
37685
37685
  onDrop: k,
37686
37686
  onClick: p,
37687
37687
  tabIndex: 0,
37688
37688
  children: [
37689
- /* @__PURE__ */ s("div", { className: Ve.uploadIcon, children: /* @__PURE__ */ v(
37689
+ /* @__PURE__ */ s("div", { className: Pe.uploadIcon, children: /* @__PURE__ */ v(
37690
37690
  "svg",
37691
37691
  {
37692
37692
  xmlns: "http://www.w3.org/2000/svg",
@@ -37700,8 +37700,8 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37700
37700
  ]
37701
37701
  }
37702
37702
  ) }),
37703
- /* @__PURE__ */ s("div", { className: Ve.uploadText, children: d ? "Déposez vos fichiers ici" : "Cliquez ou glissez-déposez pour téléverser" }),
37704
- /* @__PURE__ */ v("div", { className: Ve.uploadHint, children: [
37703
+ /* @__PURE__ */ s("div", { className: Pe.uploadText, children: d ? "Déposez vos fichiers ici" : "Cliquez ou glissez-déposez pour téléverser" }),
37704
+ /* @__PURE__ */ v("div", { className: Pe.uploadHint, children: [
37705
37705
  e.attributes?.accept || "Tous les fichiers",
37706
37706
  " ",
37707
37707
  e.attributes?.multiple ? "(Multiple autorisé)" : ""
@@ -37709,10 +37709,10 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37709
37709
  ]
37710
37710
  }
37711
37711
  ),
37712
- t && t.length > 0 && /* @__PURE__ */ v("div", { className: Ve.fileList, children: [
37713
- /* @__PURE__ */ s("div", { className: Ve.fileListTitle, children: "Fichiers sélectionnés:" }),
37714
- /* @__PURE__ */ s("ul", { children: Array.from(t).map((g, _) => /* @__PURE__ */ v("li", { className: Ve.fileItem, children: [
37715
- /* @__PURE__ */ s("div", { className: Ve.fileIcon, children: /* @__PURE__ */ s(
37712
+ t && t.length > 0 && /* @__PURE__ */ v("div", { className: Pe.fileList, children: [
37713
+ /* @__PURE__ */ s("div", { className: Pe.fileListTitle, children: "Fichiers sélectionnés:" }),
37714
+ /* @__PURE__ */ s("ul", { children: Array.from(t).map((g, _) => /* @__PURE__ */ v("li", { className: Pe.fileItem, children: [
37715
+ /* @__PURE__ */ s("div", { className: Pe.fileIcon, children: /* @__PURE__ */ s(
37716
37716
  "svg",
37717
37717
  {
37718
37718
  xmlns: "http://www.w3.org/2000/svg",
@@ -37723,13 +37723,13 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37723
37723
  children: /* @__PURE__ */ s("path", { d: "M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z" })
37724
37724
  }
37725
37725
  ) }),
37726
- /* @__PURE__ */ s("div", { className: Ve.fileName, children: g.name }),
37727
- /* @__PURE__ */ s("div", { className: Ve.fileSize, children: m(g.size) }),
37726
+ /* @__PURE__ */ s("div", { className: Pe.fileName, children: g.name }),
37727
+ /* @__PURE__ */ s("div", { className: Pe.fileSize, children: m(g.size) }),
37728
37728
  /* @__PURE__ */ s(
37729
37729
  "button",
37730
37730
  {
37731
37731
  type: "button",
37732
- className: Ve.removeButton,
37732
+ className: Pe.removeButton,
37733
37733
  onClick: (f) => {
37734
37734
  f.stopPropagation(), M(_);
37735
37735
  },
@@ -37758,7 +37758,7 @@ const ppe = "_formContainer_14ads_1", upe = "_headerLine_14ads_17", ype = "_form
37758
37758
  )
37759
37759
  ] }, _)) })
37760
37760
  ] }),
37761
- c && i && /* @__PURE__ */ s("div", { className: Ve.errorText, children: i })
37761
+ c && i && /* @__PURE__ */ s("div", { className: Pe.errorText, children: i })
37762
37762
  ] });
37763
37763
  }, xue = "_container_ecah4_2", bue = "_label_ecah4_6", wue = "_requiredIndicator_ecah4_13", Lue = "_input_ecah4_18", Cue = "_inputError_ecah4_49", Iue = "_errorMessage_ecah4_58", Wo = {
37764
37764
  container: xue,
@@ -38623,8 +38623,8 @@ function Mye() {
38623
38623
  case u:
38624
38624
  var T = i;
38625
38625
  case M:
38626
- var H = S & r;
38627
- if (T || (T = c), L.size != x.size && !H)
38626
+ var D = S & r;
38627
+ if (T || (T = c), L.size != x.size && !D)
38628
38628
  return !1;
38629
38629
  var V = q.get(L);
38630
38630
  if (V)
@@ -39024,8 +39024,8 @@ function Zye() {
39024
39024
  if (!(_ & l)) {
39025
39025
  var q = S && k.call(m, "__wrapped__"), T = $ && k.call(g, "__wrapped__");
39026
39026
  if (q || T) {
39027
- var H = q ? m.value() : m, V = T ? g.value() : g;
39028
- return C || (C = new e()), b(H, V, _, f, C);
39027
+ var D = q ? m.value() : m, V = T ? g.value() : g;
39028
+ return C || (C = new e()), b(D, V, _, f, C);
39029
39029
  }
39030
39030
  }
39031
39031
  return A ? (C || (C = new e()), o(m, g, _, f, b, C)) : !1;
@@ -39698,7 +39698,7 @@ const Qye = "_container_1gljv_85", e4e = "_tableWrapper_1gljv_111", t4e = "_tabl
39698
39698
  }
39699
39699
  };
39700
39700
  function S5e(e, t, n = "", o = { key: null, direction: "asc" }, i = 1, c = 10, r = []) {
39701
- const d = Math.max(1, c), l = (n || "").trim().toLowerCase(), h = fe(() => {
39701
+ const d = Math.max(1, c), l = (n || "").trim().toLowerCase(), h = ge(() => {
39702
39702
  let m = e;
39703
39703
  return l && (m = m.filter(
39704
39704
  (g) => t.some((_) => {
@@ -39713,7 +39713,7 @@ function S5e(e, t, n = "", o = { key: null, direction: "asc" }, i = 1, c = 10, r
39713
39713
  return console.error("Error applying filter:", f), !1;
39714
39714
  }
39715
39715
  }))), m;
39716
- }, [e, t, l, r]), p = fe(() => {
39716
+ }, [e, t, l, r]), p = ge(() => {
39717
39717
  if (!o?.key) return h;
39718
39718
  const m = o.key;
39719
39719
  return [...h].sort((g, _) => {
@@ -39859,7 +39859,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
39859
39859
  V && Array.isArray(V) && V.length > 0 ? N = V : b && b.length > 0 ? N = b : N = A(), n?.(N), o?.(N);
39860
39860
  }, T = () => {
39861
39861
  d?.(!1), typeof r != "boolean" && _(!1);
39862
- }, H = () => {
39862
+ }, D = () => {
39863
39863
  x(), n?.([]), o?.([]);
39864
39864
  };
39865
39865
  return O(() => {
@@ -39929,7 +39929,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
39929
39929
  }
39930
39930
  )
39931
39931
  ] }, V.id)) }),
39932
- /* @__PURE__ */ v("button", { className: P.clearAllButton, onClick: H, type: "button", children: [
39932
+ /* @__PURE__ */ v("button", { className: P.clearAllButton, onClick: D, type: "button", children: [
39933
39933
  /* @__PURE__ */ s(ot, { size: 12 }),
39934
39934
  " ",
39935
39935
  k
@@ -40288,48 +40288,48 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40288
40288
  sortLoading: A = !1,
40289
40289
  totalCount: q = null
40290
40290
  }) => {
40291
- const [T, H] = j({ key: null, direction: "asc" }), [V, N] = j(n.currentPage ?? 1), [z, F] = j(n.pageSize ?? 10), [R, D] = j(!1), Y = G(null), [U, Q] = j([]), he = u ? d : U, ge = u ? [] : U;
40291
+ const [T, D] = j({ key: null, direction: "asc" }), [V, N] = j(n.currentPage ?? 1), [z, F] = j(n.pageSize ?? 10), [R, H] = j(!1), Y = G(null), [U, ue] = j([]), Q = u ? d : U, Ne = u ? [] : U;
40292
40292
  O(() => {
40293
40293
  const ne = n.currentPage ?? 1, Ro = n.pageSize ?? 10;
40294
40294
  ne !== V && N(ne), Ro !== z && F(Ro);
40295
40295
  }, [n.currentPage, n.pageSize]);
40296
- const { paginatedData: Pe, sortedData: re, totalPages: Me, startIndex: E } = S5e(
40296
+ const { paginatedData: Me, sortedData: he, totalPages: oe, startIndex: E } = S5e(
40297
40297
  t,
40298
40298
  e,
40299
40299
  i,
40300
40300
  T,
40301
40301
  V,
40302
40302
  z,
40303
- ge
40304
- ), te = re.length, se = typeof q == "number" && q >= 0 ? q : te;
40305
- let oe = Me;
40306
- typeof q == "number" && q >= 0 && (oe = Math.max(1, Math.ceil(q / z)));
40303
+ Ne
40304
+ ), te = he.length, se = typeof q == "number" && q >= 0 ? q : te;
40305
+ let ie = oe;
40306
+ typeof q == "number" && q >= 0 && (ie = Math.max(1, Math.ceil(q / z)));
40307
40307
  const ve = te > 10;
40308
40308
  O(() => {
40309
- const ne = Math.max(1, Math.floor(oe));
40309
+ const ne = Math.max(1, Math.floor(ie));
40310
40310
  V > ne && N(ne), V < 1 && N(1);
40311
- }, [oe]);
40311
+ }, [ie]);
40312
40312
  const Ie = (ne) => {
40313
- u || Q(ne), l?.(ne), N(1), g?.(1);
40313
+ u || ue(ne), l?.(ne), N(1), g?.(1);
40314
40314
  }, be = (ne) => {
40315
- u || Q(ne), h?.(ne), N(1), g?.(1), Y.current && Y.current.style.setProperty("--filters-panel-height", "0px");
40315
+ u || ue(ne), h?.(ne), N(1), g?.(1), Y.current && Y.current.style.setProperty("--filters-panel-height", "0px");
40316
40316
  }, je = (ne) => {
40317
40317
  g?.(ne), N(ne);
40318
- }, ze = (ne) => {
40318
+ }, Ve = (ne) => {
40319
40319
  F(ne), N(1), m?.(ne), g?.(1);
40320
- }, ue = (ne) => {
40320
+ }, ye = (ne) => {
40321
40321
  Y.current && Y.current.style.setProperty("--filters-panel-height", `${Math.round(ne)}px`);
40322
- }, Ne = (ne) => {
40323
- H(ne), p?.(ne);
40322
+ }, Se = (ne) => {
40323
+ D(ne), p?.(ne);
40324
40324
  }, Ct = (ne) => {
40325
- D(ne), !ne && Y.current && Y.current.style.setProperty("--filters-panel-height", "0px");
40325
+ H(ne), !ne && Y.current && Y.current.style.setProperty("--filters-panel-height", "0px");
40326
40326
  };
40327
40327
  O(() => {
40328
- (he?.length ?? 0) > 0 && D(!0);
40329
- }, [he]), O(() => {
40330
- r.length > 0 && he.length > 0 && D(!0);
40331
- }, [r.length, he.length]);
40332
- const Bo = (he?.length ?? 0) > 0 && b ? b : f;
40328
+ (Q?.length ?? 0) > 0 && H(!0);
40329
+ }, [Q]), O(() => {
40330
+ r.length > 0 && Q.length > 0 && H(!0);
40331
+ }, [r.length, Q.length]);
40332
+ const Bo = (Q?.length ?? 0) > 0 && b ? b : f;
40333
40333
  return /* @__PURE__ */ v(
40334
40334
  "div",
40335
40335
  {
@@ -40346,7 +40346,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40346
40346
  D5e,
40347
40347
  {
40348
40348
  columns: e,
40349
- onSort: Ne,
40349
+ onSort: Se,
40350
40350
  label: C,
40351
40351
  sortConfig: T,
40352
40352
  loading: A
@@ -40356,7 +40356,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40356
40356
  H5e,
40357
40357
  {
40358
40358
  filters: r,
40359
- externalFilters: he,
40359
+ externalFilters: Q,
40360
40360
  onFiltersChange: Ie,
40361
40361
  onApply: be,
40362
40362
  isControlled: u,
@@ -40364,7 +40364,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40364
40364
  expanded: R,
40365
40365
  onToggle: Ct,
40366
40366
  panelPlacement: "top",
40367
- onPanelHeightChange: ue,
40367
+ onPanelHeightChange: ye,
40368
40368
  label: Bo,
40369
40369
  applyLabel: I,
40370
40370
  cancelLabel: L,
@@ -40378,12 +40378,12 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40378
40378
  B5e,
40379
40379
  {
40380
40380
  currentPage: V,
40381
- totalPages: oe,
40381
+ totalPages: ie,
40382
40382
  pageSize: z,
40383
40383
  totalItems: se,
40384
40384
  itemLabel: _,
40385
40385
  onPageChange: je,
40386
- onPageSizeChange: ze,
40386
+ onPageSizeChange: Ve,
40387
40387
  loading: S
40388
40388
  }
40389
40389
  ) }),
@@ -40397,7 +40397,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40397
40397
  /* @__PURE__ */ s(
40398
40398
  W5e,
40399
40399
  {
40400
- data: Pe,
40400
+ data: Me,
40401
40401
  columns: e,
40402
40402
  onRowClick: o,
40403
40403
  startIndex: E,
@@ -40413,7 +40413,7 @@ const $5e = ({ value: e }) => e, q5e = ({ value: e }) => ee.createElement(
40413
40413
  );
40414
40414
  };
40415
40415
  function qve(e) {
40416
- const { pagination: t, totalCount: n, onPageChange: o, ...i } = e, c = t?.pageSize ?? 20, r = t?.currentPage ?? 1, d = fe(() => {
40416
+ const { pagination: t, totalCount: n, onPageChange: o, ...i } = e, c = t?.pageSize ?? 20, r = t?.currentPage ?? 1, d = ge(() => {
40417
40417
  if (n === null || typeof n > "u") return null;
40418
40418
  const u = Number(n);
40419
40419
  if (!Number.isFinite(u) || u <= 0) return 1;
@@ -40896,14 +40896,14 @@ const Z5e = "_mpRoot_31595_1", K5e = "_mpHeader_31595_22", X5e = "_mpTitle_31595
40896
40896
  "--mp-accent": c,
40897
40897
  "--mp-accent-soft": Rke(c, 0.08),
40898
40898
  "--mp-bg-primary": f
40899
- }, H = [
40899
+ }, D = [
40900
40900
  K.mpRoot,
40901
40901
  q ? K.mpVertical : K.mpHorizontal,
40902
40902
  r ? K.mpCompact : "",
40903
40903
  k ? K.mpSummaryRoot : "",
40904
40904
  o !== "auto" ? o === "vertical" ? K.mpOrientationVertical : K.mpOrientationHorizontal : "",
40905
40905
  h
40906
- ].filter(Boolean).join(" "), V = fe(() => y || (jke(_) ?? void 0), [y, _]);
40906
+ ].filter(Boolean).join(" "), V = ge(() => y || (jke(_) ?? void 0), [y, _]);
40907
40907
  if (k) {
40908
40908
  const N = o === "horizontal" ? K.mpSummaryFlex : K.mpSummaryVertical, F = { ...(I ? {
40909
40909
  display: "grid",
@@ -40912,15 +40912,15 @@ const Z5e = "_mpRoot_31595_1", K5e = "_mpHeader_31595_22", X5e = "_mpTitle_31595
40912
40912
  alignItems: "stretch",
40913
40913
  width: "100%"
40914
40914
  } : void 0) ?? {}, ...b ?? {} };
40915
- return /* @__PURE__ */ v("div", { className: H, style: T, "aria-busy": p, children: [
40915
+ return /* @__PURE__ */ v("div", { className: D, style: T, "aria-busy": p, children: [
40916
40916
  d && /* @__PURE__ */ s(h$, { title: d }),
40917
40917
  /* @__PURE__ */ s("div", { className: K.mpSummaryInner, children: /* @__PURE__ */ s(
40918
40918
  "div",
40919
40919
  {
40920
40920
  className: `${N} ${C ?? ""}`,
40921
40921
  style: F,
40922
- children: t.length === 0 ? /* @__PURE__ */ s("div", { className: K.mpEmpty, children: u }) : t.map((R, D) => {
40923
- const Y = R.bgColor ?? M[D % M.length], U = R.borderColor ?? m[D % m.length], Q = R.valueColor ?? g[D % g.length];
40922
+ children: t.length === 0 ? /* @__PURE__ */ s("div", { className: K.mpEmpty, children: u }) : t.map((R, H) => {
40923
+ const Y = R.bgColor ?? M[H % M.length], U = R.borderColor ?? m[H % m.length], ue = R.valueColor ?? g[H % g.length];
40924
40924
  return V ? /* @__PURE__ */ s(
40925
40925
  "div",
40926
40926
  {
@@ -40930,7 +40930,7 @@ const Z5e = "_mpRoot_31595_1", K5e = "_mpHeader_31595_22", X5e = "_mpTitle_31595
40930
40930
  height: $ ?? void 0,
40931
40931
  ...A ?? {}
40932
40932
  },
40933
- children: V(R, D)
40933
+ children: V(R, H)
40934
40934
  },
40935
40935
  R.id
40936
40936
  ) : /* @__PURE__ */ s(
@@ -40940,7 +40940,7 @@ const Z5e = "_mpRoot_31595_1", K5e = "_mpHeader_31595_22", X5e = "_mpTitle_31595
40940
40940
  orientation: o === "horizontal" ? "horizontal" : "vertical",
40941
40941
  bg: Y,
40942
40942
  border: U,
40943
- valueColor: Q,
40943
+ valueColor: ue,
40944
40944
  onClick: l,
40945
40945
  width: S ?? void 0,
40946
40946
  height: $ ?? void 0,
@@ -40953,7 +40953,7 @@ const Z5e = "_mpRoot_31595_1", K5e = "_mpHeader_31595_22", X5e = "_mpTitle_31595
40953
40953
  ) })
40954
40954
  ] });
40955
40955
  }
40956
- return /* @__PURE__ */ v("div", { className: H, style: T, "aria-busy": p, children: [
40956
+ return /* @__PURE__ */ v("div", { className: D, style: T, "aria-busy": p, children: [
40957
40957
  d && /* @__PURE__ */ s(h$, { title: d }),
40958
40958
  /* @__PURE__ */ s("div", { className: K.mpList, style: b, children: p ? /* @__PURE__ */ s("div", { className: K.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ s("div", { className: K.mpEmpty, children: u }) : t.map((N) => {
40959
40959
  const z = r ? {
@@ -41146,7 +41146,7 @@ const Ave = ({
41146
41146
  const w = Oke(), S = { ...x, id: w, createdAt: Date.now() };
41147
41147
  return r(($) => {
41148
41148
  const A = [S, ...$], q = p.current;
41149
- return typeof q == "number" && q >= 0 && A.length > q ? (A.slice(q).forEach((H) => y(H.id)), A.slice(0, q)) : A;
41149
+ return typeof q == "number" && q >= 0 && A.length > q ? (A.slice(q).forEach((D) => y(D.id)), A.slice(0, q)) : A;
41150
41150
  }), u(w, x.duration), w;
41151
41151
  }, M = (x) => {
41152
41152
  y(x), r((w) => w.filter((S) => S.id !== x));
@@ -41156,7 +41156,7 @@ const Ave = ({
41156
41156
  d.current.forEach((x) => window.clearTimeout(x)), d.current.clear(), r([]);
41157
41157
  }, _ = (x) => {
41158
41158
  h.current = x;
41159
- }, f = () => c.slice(), b = fe(
41159
+ }, f = () => c.slice(), b = ge(
41160
41160
  () => ({
41161
41161
  showAlert: k,
41162
41162
  dismissAlert: M,
@@ -41244,7 +41244,7 @@ const Ave = ({
41244
41244
  e
41245
41245
  ] });
41246
41246
  }, Vve = () => {
41247
- const e = ye(LA);
41247
+ const e = ke(LA);
41248
41248
  if (!e) throw new Error("useAlerts must be used inside an AlertsProvider");
41249
41249
  return e;
41250
41250
  }, Pve = {
@@ -41765,16 +41765,16 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41765
41765
  draggable: l = !1,
41766
41766
  checkDuplicateLocal: h
41767
41767
  }) => {
41768
- const [p, u] = j(!1), [y, k] = j(""), [M, m] = j(null), [g, _] = j(""), [f, b] = j(""), [C, I] = j(!1), [L, x] = j(!1), [w, S] = j(null), [$, A] = j(!1), q = t.map((D) => D.language), T = n.filter((D) => !q.includes(D.code)), H = () => {
41768
+ const [p, u] = j(!1), [y, k] = j(""), [M, m] = j(null), [g, _] = j(""), [f, b] = j(""), [C, I] = j(!1), [L, x] = j(!1), [w, S] = j(null), [$, A] = j(!1), q = t.map((H) => H.language), T = n.filter((H) => !q.includes(H.code)), D = () => {
41769
41769
  y && f.trim() && (d?.(e, y, f.trim()), k(""), b(""), u(!1));
41770
- }, V = (D, Y) => {
41771
- m(D), _(Y);
41772
- }, N = (D) => {
41773
- c?.(e, D, g), m(null), _("");
41770
+ }, V = (H, Y) => {
41771
+ m(H), _(Y);
41772
+ }, N = (H) => {
41773
+ c?.(e, H, g), m(null), _("");
41774
41774
  }, z = () => {
41775
41775
  m(null), _("");
41776
- }, F = async (D) => {
41777
- const Y = D.name?.trim();
41776
+ }, F = async (H) => {
41777
+ const Y = H.name?.trim();
41778
41778
  if (Y) {
41779
41779
  if (S(null), A(!1), Y === e || !i)
41780
41780
  return I(!1), "ok";
@@ -41793,8 +41793,8 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41793
41793
  console.error("Erreur handleRenameSave:", U), S("Erreur lors du renommage.");
41794
41794
  }
41795
41795
  }
41796
- }, R = (D, Y) => {
41797
- if (D !== "name") return;
41796
+ }, R = (H, Y) => {
41797
+ if (H !== "name") return;
41798
41798
  const U = Y.trim();
41799
41799
  S(null), A(!1), U && typeof h == "function" && (h(U, e) ? (S("Une clé existe déjà dans ce module."), A(!0)) : (S(null), A(!1)));
41800
41800
  };
@@ -41821,8 +41821,8 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41821
41821
  "button",
41822
41822
  {
41823
41823
  className: "action-button",
41824
- onClick: (D) => {
41825
- D.stopPropagation(), I(!0);
41824
+ onClick: (H) => {
41825
+ H.stopPropagation(), I(!0);
41826
41826
  },
41827
41827
  title: "Renommer la clé",
41828
41828
  children: /* @__PURE__ */ s(gt, { className: "action-icon" })
@@ -41831,8 +41831,8 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41831
41831
  /* @__PURE__ */ s(
41832
41832
  "button",
41833
41833
  {
41834
- onClick: (D) => {
41835
- D.stopPropagation(), o?.(e);
41834
+ onClick: (H) => {
41835
+ H.stopPropagation(), o?.(e);
41836
41836
  },
41837
41837
  className: "action-button delete",
41838
41838
  title: "Supprimer la clé",
@@ -41842,9 +41842,9 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41842
41842
  ] })
41843
41843
  ] }),
41844
41844
  /* @__PURE__ */ s("div", { className: `translations-container ${L ? "" : "expanded"}`, children: !l && /* @__PURE__ */ v(Ee, { children: [
41845
- t.map((D) => /* @__PURE__ */ v("div", { className: "translation-row", children: [
41846
- /* @__PURE__ */ s("div", { className: "language-code", children: D.language }),
41847
- /* @__PURE__ */ s("div", { className: "translation-content", children: M === D.language ? /* @__PURE__ */ v(Ee, { children: [
41845
+ t.map((H) => /* @__PURE__ */ v("div", { className: "translation-row", children: [
41846
+ /* @__PURE__ */ s("div", { className: "language-code", children: H.language }),
41847
+ /* @__PURE__ */ s("div", { className: "translation-content", children: M === H.language ? /* @__PURE__ */ v(Ee, { children: [
41848
41848
  /* @__PURE__ */ s(
41849
41849
  "input",
41850
41850
  {
@@ -41854,14 +41854,14 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41854
41854
  className: "edit-input",
41855
41855
  autoFocus: !0,
41856
41856
  onKeyDown: (Y) => {
41857
- Y.key === "Enter" && N(D.language), Y.key === "Escape" && z();
41857
+ Y.key === "Enter" && N(H.language), Y.key === "Escape" && z();
41858
41858
  }
41859
41859
  }
41860
41860
  ),
41861
41861
  /* @__PURE__ */ s(
41862
41862
  "button",
41863
41863
  {
41864
- onClick: () => N(D.language),
41864
+ onClick: () => N(H.language),
41865
41865
  className: "save-button",
41866
41866
  disabled: !g.trim(),
41867
41867
  children: "Enregistrer"
@@ -41869,11 +41869,11 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41869
41869
  ),
41870
41870
  /* @__PURE__ */ s("button", { onClick: z, className: "cancel-button", children: /* @__PURE__ */ s(ot, { className: "action-icon" }) })
41871
41871
  ] }) : /* @__PURE__ */ v(Ee, { children: [
41872
- /* @__PURE__ */ s("span", { className: "translation-text", title: D.value, children: D.value }),
41872
+ /* @__PURE__ */ s("span", { className: "translation-text", title: H.value, children: H.value }),
41873
41873
  /* @__PURE__ */ s(
41874
41874
  "button",
41875
41875
  {
41876
- onClick: () => V(D.language, D.value),
41876
+ onClick: () => V(H.language, H.value),
41877
41877
  className: "edit-button",
41878
41878
  title: "Éditer la traduction",
41879
41879
  children: /* @__PURE__ */ s(gt, { className: "action-icon" })
@@ -41882,14 +41882,14 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41882
41882
  /* @__PURE__ */ s(
41883
41883
  "button",
41884
41884
  {
41885
- onClick: () => r?.(e, D.language),
41885
+ onClick: () => r?.(e, H.language),
41886
41886
  className: "delete-translation-button",
41887
41887
  title: "Supprimer la traduction",
41888
41888
  children: /* @__PURE__ */ s(ot, { className: "action-icon" })
41889
41889
  }
41890
41890
  )
41891
41891
  ] }) })
41892
- ] }, D.language)),
41892
+ ] }, H.language)),
41893
41893
  p ? /* @__PURE__ */ v("div", { className: "add-language-row", children: [
41894
41894
  /* @__PURE__ */ s("div", { className: "language-code", children: "+" }),
41895
41895
  /* @__PURE__ */ v("div", { className: "add-language-content", children: [
@@ -41897,16 +41897,16 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41897
41897
  "select",
41898
41898
  {
41899
41899
  value: y,
41900
- onChange: (D) => k(D.target.value),
41900
+ onChange: (H) => k(H.target.value),
41901
41901
  className: "language-select",
41902
41902
  children: [
41903
41903
  /* @__PURE__ */ s("option", { value: "", children: "Sélectionnez la langue" }),
41904
- T.map((D) => /* @__PURE__ */ v("option", { value: D.code, children: [
41905
- D.name,
41904
+ T.map((H) => /* @__PURE__ */ v("option", { value: H.code, children: [
41905
+ H.name,
41906
41906
  " (",
41907
- D.code,
41907
+ H.code,
41908
41908
  ")"
41909
- ] }, D.code))
41909
+ ] }, H.code))
41910
41910
  ]
41911
41911
  }
41912
41912
  ) }),
@@ -41915,18 +41915,18 @@ const Zke = "_container_1pfsp_1", Kke = "_title_1pfsp_8", m$ = {
41915
41915
  {
41916
41916
  type: "text",
41917
41917
  value: f,
41918
- onChange: (D) => b(D.target.value),
41918
+ onChange: (H) => b(H.target.value),
41919
41919
  placeholder: "Entrez la traduction...",
41920
41920
  className: "translation-input",
41921
- onKeyDown: (D) => {
41922
- D.key === "Enter" && H(), D.key === "Escape" && (u(!1), k(""), b(""));
41921
+ onKeyDown: (H) => {
41922
+ H.key === "Enter" && D(), H.key === "Escape" && (u(!1), k(""), b(""));
41923
41923
  }
41924
41924
  }
41925
41925
  ),
41926
41926
  /* @__PURE__ */ s(
41927
41927
  "button",
41928
41928
  {
41929
- onClick: H,
41929
+ onClick: D,
41930
41930
  disabled: !y || !f.trim(),
41931
41931
  className: "save-button",
41932
41932
  children: "Ajouter"
@@ -42405,7 +42405,7 @@ const Eve = ({
42405
42405
  hideConfirmation: o,
42406
42406
  handleConfirm: i
42407
42407
  };
42408
- }, z3e = "_container_v7v52_1", V3e = "_selectButton_v7v52_6", P3e = "_disabled_v7v52_19", j3e = "_error_v7v52_29", T3e = "_outline_v7v52_43", H3e = "_filled_v7v52_53", D3e = "_sm_v7v52_58", B3e = "_md_v7v52_63", R3e = "_lg_v7v52_68", F3e = "_buttonContent_v7v52_73", O3e = "_label_v7v52_80", E3e = "_placeholder_v7v52_87", U3e = "_iconsContainer_v7v52_91", W3e = "_loadingSpinner_v7v52_99", G3e = "_spin_v7v52_1", Z3e = "_arrowIcon_v7v52_119", K3e = "_arrowIconOpen_v7v52_127", X3e = "_dropdown_v7v52_131", Y3e = "_searchContainer_v7v52_146", J3e = "_searchInput_v7v52_150", Q3e = "_optionsList_v7v52_173", e6e = "_noResults_v7v52_195", t6e = "_option_v7v52_173", a6e = "_optionHighlighted_v7v52_217", n6e = "_optionSelected_v7v52_222", o6e = "_optionDisabled_v7v52_228", i6e = "_optionLabel_v7v52_233", c6e = "_checkIcon_v7v52_240", r6e = "_widthFull_v7v52_248", s6e = "_width64_v7v52_252", d6e = "_width80_v7v52_256", l6e = "_width96_v7v52_260", ce = {
42408
+ }, z3e = "_container_v7v52_1", V3e = "_selectButton_v7v52_6", P3e = "_disabled_v7v52_19", j3e = "_error_v7v52_29", T3e = "_outline_v7v52_43", H3e = "_filled_v7v52_53", D3e = "_sm_v7v52_58", B3e = "_md_v7v52_63", R3e = "_lg_v7v52_68", F3e = "_buttonContent_v7v52_73", O3e = "_label_v7v52_80", E3e = "_placeholder_v7v52_87", U3e = "_iconsContainer_v7v52_91", W3e = "_loadingSpinner_v7v52_99", G3e = "_spin_v7v52_1", Z3e = "_arrowIcon_v7v52_119", K3e = "_arrowIconOpen_v7v52_127", X3e = "_dropdown_v7v52_131", Y3e = "_searchContainer_v7v52_146", J3e = "_searchInput_v7v52_150", Q3e = "_optionsList_v7v52_173", e6e = "_noResults_v7v52_195", t6e = "_option_v7v52_173", a6e = "_optionHighlighted_v7v52_217", n6e = "_optionSelected_v7v52_222", o6e = "_optionDisabled_v7v52_228", i6e = "_optionLabel_v7v52_233", c6e = "_checkIcon_v7v52_240", r6e = "_widthFull_v7v52_248", s6e = "_width64_v7v52_252", d6e = "_width80_v7v52_256", l6e = "_width96_v7v52_260", re = {
42409
42409
  container: z3e,
42410
42410
  selectButton: V3e,
42411
42411
  disabled: P3e,
@@ -42452,7 +42452,7 @@ const Eve = ({
42452
42452
  variant: h = "default",
42453
42453
  width: p = "w-full"
42454
42454
  }) => {
42455
- const [u, y] = j(!1), [k, M] = j(""), [m, g] = j(0), [_, f] = j({ top: 0, left: 0, width: 0 }), b = G(null), C = G(null), I = G(null), L = fe(() => k ? e.filter(
42455
+ const [u, y] = j(!1), [k, M] = j(""), [m, g] = j(0), [_, f] = j({ top: 0, left: 0, width: 0 }), b = G(null), C = G(null), I = G(null), L = ge(() => k ? e.filter(
42456
42456
  (N) => N.label.toLowerCase().includes(k.toLowerCase())
42457
42457
  ) : e, [e, k]), x = e.find((N) => N.value === t), w = He(() => {
42458
42458
  if (b.current) {
@@ -42498,28 +42498,28 @@ const Eve = ({
42498
42498
  break;
42499
42499
  }
42500
42500
  }, q = () => [
42501
- ce.selectButton,
42502
- ce[l],
42503
- ce[h],
42504
- i ? ce.disabled : "",
42505
- r ? ce.error : "",
42501
+ re.selectButton,
42502
+ re[l],
42503
+ re[h],
42504
+ i ? re.disabled : "",
42505
+ r ? re.error : "",
42506
42506
  d
42507
42507
  ].filter(Boolean).join(" "), T = () => {
42508
42508
  switch (p) {
42509
42509
  case "w-64":
42510
- return ce.width64;
42510
+ return re.width64;
42511
42511
  case "w-80":
42512
- return ce.width80;
42512
+ return re.width80;
42513
42513
  case "w-96":
42514
- return ce.width96;
42514
+ return re.width96;
42515
42515
  default:
42516
- return ce.widthFull;
42516
+ return re.widthFull;
42517
42517
  }
42518
- }, H = (N, z) => [
42519
- ce.option,
42520
- z === m ? ce.optionHighlighted : "",
42521
- N.value === t ? ce.optionSelected : "",
42522
- N.disabled ? ce.optionDisabled : ""
42518
+ }, D = (N, z) => [
42519
+ re.option,
42520
+ z === m ? re.optionHighlighted : "",
42521
+ N.value === t ? re.optionSelected : "",
42522
+ N.disabled ? re.optionDisabled : ""
42523
42523
  ].filter(Boolean).join(" "), V = {
42524
42524
  position: "fixed",
42525
42525
  top: _.top + (b.current?.offsetHeight || 0) + 4,
@@ -42527,7 +42527,7 @@ const Eve = ({
42527
42527
  width: _.width,
42528
42528
  zIndex: 9999
42529
42529
  };
42530
- return /* @__PURE__ */ v("div", { className: `${ce.container} ${T()}`, children: [
42530
+ return /* @__PURE__ */ v("div", { className: `${re.container} ${T()}`, children: [
42531
42531
  /* @__PURE__ */ s(
42532
42532
  "button",
42533
42533
  {
@@ -42540,14 +42540,14 @@ const Eve = ({
42540
42540
  "aria-haspopup": "listbox",
42541
42541
  "aria-expanded": u,
42542
42542
  disabled: i,
42543
- children: /* @__PURE__ */ v("div", { className: ce.buttonContent, children: [
42544
- /* @__PURE__ */ s("span", { className: `${ce.label} ${x ? "" : ce.placeholder}`, children: x ? x.label : o }),
42545
- /* @__PURE__ */ v("div", { className: ce.iconsContainer, children: [
42546
- c && /* @__PURE__ */ s("div", { className: ce.loadingSpinner }),
42543
+ children: /* @__PURE__ */ v("div", { className: re.buttonContent, children: [
42544
+ /* @__PURE__ */ s("span", { className: `${re.label} ${x ? "" : re.placeholder}`, children: x ? x.label : o }),
42545
+ /* @__PURE__ */ v("div", { className: re.iconsContainer, children: [
42546
+ c && /* @__PURE__ */ s("div", { className: re.loadingSpinner }),
42547
42547
  /* @__PURE__ */ s(
42548
42548
  "svg",
42549
42549
  {
42550
- className: `${ce.arrowIcon} ${u ? ce.arrowIconOpen : ""}`,
42550
+ className: `${re.arrowIcon} ${u ? re.arrowIconOpen : ""}`,
42551
42551
  fill: "none",
42552
42552
  stroke: "currentColor",
42553
42553
  viewBox: "0 0 24 24",
@@ -42570,11 +42570,11 @@ const Eve = ({
42570
42570
  /* @__PURE__ */ v(
42571
42571
  "div",
42572
42572
  {
42573
- className: `${ce.dropdown} ${T()}`,
42573
+ className: `${re.dropdown} ${T()}`,
42574
42574
  style: V,
42575
42575
  ref: C,
42576
42576
  children: [
42577
- /* @__PURE__ */ s("div", { className: ce.searchContainer, children: /* @__PURE__ */ s(
42577
+ /* @__PURE__ */ s("div", { className: re.searchContainer, children: /* @__PURE__ */ s(
42578
42578
  "input",
42579
42579
  {
42580
42580
  ref: I,
@@ -42582,22 +42582,22 @@ const Eve = ({
42582
42582
  value: k,
42583
42583
  onChange: $,
42584
42584
  placeholder: "Rechercher...",
42585
- className: ce.searchInput,
42585
+ className: re.searchInput,
42586
42586
  autoFocus: !0
42587
42587
  }
42588
42588
  ) }),
42589
- /* @__PURE__ */ s("div", { className: ce.optionsList, children: L.length === 0 ? /* @__PURE__ */ s("div", { className: ce.noResults, children: "Aucun résultat trouvé" }) : /* @__PURE__ */ s("ul", { role: "listbox", children: L.map((N, z) => /* @__PURE__ */ s(
42589
+ /* @__PURE__ */ s("div", { className: re.optionsList, children: L.length === 0 ? /* @__PURE__ */ s("div", { className: re.noResults, children: "Aucun résultat trouvé" }) : /* @__PURE__ */ s("ul", { role: "listbox", children: L.map((N, z) => /* @__PURE__ */ s(
42590
42590
  "li",
42591
42591
  {
42592
- className: H(N, z),
42592
+ className: D(N, z),
42593
42593
  onClick: () => S(N),
42594
42594
  onMouseEnter: () => g(z),
42595
42595
  role: "option",
42596
42596
  "aria-selected": N.value === t,
42597
42597
  "aria-disabled": N.disabled,
42598
- children: /* @__PURE__ */ v("div", { className: ce.buttonContent, children: [
42599
- /* @__PURE__ */ s("span", { className: ce.optionLabel, title: N.label, children: N.label }),
42600
- N.value === t && /* @__PURE__ */ s("svg", { className: ce.checkIcon, fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ s(
42598
+ children: /* @__PURE__ */ v("div", { className: re.buttonContent, children: [
42599
+ /* @__PURE__ */ s("span", { className: re.optionLabel, title: N.label, children: N.label }),
42600
+ N.value === t && /* @__PURE__ */ s("svg", { className: re.checkIcon, fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ s(
42601
42601
  "path",
42602
42602
  {
42603
42603
  fillRule: "evenodd",
@@ -42784,7 +42784,7 @@ function Qve(e) {
42784
42784
  }
42785
42785
  );
42786
42786
  }
42787
- const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-360 280-559h400z" })), q6e = Ae($6e), A6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m280-400 200-201 200 201z" })), z6e = Ae(A6e), V6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#0087BD", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15" })), P6e = Ae(V6e), j6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#1E2122", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z" })), T6e = Ae(j6e), e9e = ({
42787
+ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-360 280-559h400z" })), q6e = ze($6e), A6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m280-400 200-201 200 201z" })), z6e = ze(A6e), V6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#0087BD", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15" })), P6e = ze(V6e), j6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#1E2122", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z" })), T6e = ze(j6e), e9e = ({
42788
42788
  items: e,
42789
42789
  onSave: t,
42790
42790
  loading: n,
@@ -43021,7 +43021,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43021
43021
  iconColor: w,
43022
43022
  titleKey: S
43023
43023
  }) => {
43024
- const $ = c !== "none", A = c === "endingDark", { padding: q, ...T } = y || {}, H = h === void 0 && p === void 0 && i === void 0 && Object.keys(T).length === 0 ? void 0 : {
43024
+ const $ = c !== "none", A = c === "endingDark", { padding: q, ...T } = y || {}, D = h === void 0 && p === void 0 && i === void 0 && Object.keys(T).length === 0 ? void 0 : {
43025
43025
  ...h !== void 0 ? { width: h } : {},
43026
43026
  ...p !== void 0 ? { height: p } : {},
43027
43027
  ...i !== void 0 ? { backgroundColor: i } : {},
@@ -43032,7 +43032,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43032
43032
  {
43033
43033
  className: V,
43034
43034
  onClick: x,
43035
- style: l !== void 0 ? { ...H, "--ds-value-scale": l } : H,
43035
+ style: l !== void 0 ? { ...D, "--ds-value-scale": l } : D,
43036
43036
  children: [
43037
43037
  b && /* @__PURE__ */ s("div", { className: Je.sideBar, style: { backgroundColor: b } }),
43038
43038
  /* @__PURE__ */ v("div", { className: Je.boardContent, style: { padding: q, gap: L }, children: [
@@ -43489,8 +43489,8 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43489
43489
  style: x,
43490
43490
  className: w = ""
43491
43491
  }) => {
43492
- const { user: S } = wt(), $ = e || S, { currentTheme: A, switchTheme: q } = uC(), T = G(null), H = G(null), [V, N] = j(!1), [z, F] = j({}), R = fe(() => {
43493
- const E = [], te = ({ variant: oe }) => oe === "sun" ? /* @__PURE__ */ s(
43492
+ const { user: S } = wt(), $ = e || S, { currentTheme: A, switchTheme: q } = uC(), T = G(null), D = G(null), [V, N] = j(!1), [z, F] = j({}), R = ge(() => {
43493
+ const E = [], te = ({ variant: ie }) => ie === "sun" ? /* @__PURE__ */ s(
43494
43494
  "svg",
43495
43495
  {
43496
43496
  width: "16",
@@ -43552,14 +43552,14 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43552
43552
  i,
43553
43553
  c,
43554
43554
  q
43555
- ]), D = f ?? R, Y = () => {
43555
+ ]), H = f ?? R, Y = () => {
43556
43556
  if (!T.current) {
43557
43557
  N((E) => !E);
43558
43558
  return;
43559
43559
  }
43560
43560
  if (!V) {
43561
- const E = T.current.getBoundingClientRect(), te = window.innerWidth, se = window.innerHeight, oe = 200, ve = 200, Ie = 4, be = C?.x ?? 0, je = C?.y ?? 0, ue = te - E.right >= oe + Ie;
43562
- F(ue ? {
43561
+ const E = T.current.getBoundingClientRect(), te = window.innerWidth, se = window.innerHeight, ie = 200, ve = 200, Ie = 4, be = C?.x ?? 0, je = C?.y ?? 0, ye = te - E.right >= ie + Ie;
43562
+ F(ye ? {
43563
43563
  top: E.bottom - ve + je,
43564
43564
  left: E.right + Ie + be
43565
43565
  } : {
@@ -43572,12 +43572,12 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43572
43572
  if (O(() => {
43573
43573
  if (!V || !T.current) return;
43574
43574
  const E = () => {
43575
- const te = T.current.getBoundingClientRect(), se = window.innerWidth, oe = window.innerHeight, ve = 200, Ie = 200, be = 4, je = C?.x ?? 0, ze = C?.y ?? 0, Ne = se - te.right >= ve + be;
43576
- F(Ne ? {
43577
- top: te.bottom - Ie + ze,
43575
+ const te = T.current.getBoundingClientRect(), se = window.innerWidth, ie = window.innerHeight, ve = 200, Ie = 200, be = 4, je = C?.x ?? 0, Ve = C?.y ?? 0, Se = se - te.right >= ve + be;
43576
+ F(Se ? {
43577
+ top: te.bottom - Ie + Ve,
43578
43578
  left: te.right + be + je
43579
43579
  } : {
43580
- bottom: oe - te.top + ze,
43580
+ bottom: ie - te.top + Ve,
43581
43581
  left: te.left + je
43582
43582
  });
43583
43583
  };
@@ -43585,11 +43585,11 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43585
43585
  window.removeEventListener("resize", E), window.removeEventListener("orientationchange", E);
43586
43586
  };
43587
43587
  }, [V, C]), O(() => {
43588
- if (!V || !T.current || !H.current) return;
43588
+ if (!V || !T.current || !D.current) return;
43589
43589
  const E = () => {
43590
- const se = T.current.getBoundingClientRect(), oe = H.current.getBoundingClientRect(), ve = C?.x ?? 0, Ie = C?.y ?? 0;
43590
+ const se = T.current.getBoundingClientRect(), ie = D.current.getBoundingClientRect(), ve = C?.x ?? 0, Ie = C?.y ?? 0;
43591
43591
  F((be) => be.left !== void 0 && be.top !== void 0 && be.left >= se.right - 1 ? {
43592
- top: se.bottom - oe.height + Ie,
43592
+ top: se.bottom - ie.height + Ie,
43593
43593
  left: be.left + ve
43594
43594
  } : be);
43595
43595
  }, te = requestAnimationFrame(() => {
@@ -43597,7 +43597,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43597
43597
  });
43598
43598
  return () => cancelAnimationFrame(te);
43599
43599
  }, [V, C]), !$) return null;
43600
- const U = $, Q = parseInt(h, 10) || 40, he = `${Q * 0.375}px`, ge = `${Q * 1.375}px`, Pe = `${Q * 0.2}px`, re = `${Q * 0.6}px`, Me = () => {
43600
+ const U = $, ue = parseInt(h, 10) || 40, Q = `${ue * 0.375}px`, Ne = `${ue * 1.375}px`, Me = `${ue * 0.2}px`, he = `${ue * 0.6}px`, oe = () => {
43601
43601
  const E = parseInt(h, 10) || 40, te = Math.max(8, E * 0.34375), se = Math.max(2, E * 0.05);
43602
43602
  return /* @__PURE__ */ v(Ee, { children: [
43603
43603
  /* @__PURE__ */ v("div", { style: { position: "relative", flexShrink: 0, userSelect: "none" }, children: [
@@ -43631,12 +43631,12 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43631
43631
  "div",
43632
43632
  {
43633
43633
  style: {
43634
- width: he,
43635
- height: he,
43634
+ width: Q,
43635
+ height: Q,
43636
43636
  borderRadius: "50%",
43637
43637
  backgroundColor: g,
43638
43638
  position: "absolute",
43639
- top: Pe,
43639
+ top: Me,
43640
43640
  left: "50%",
43641
43641
  transform: "translateX(-50%)",
43642
43642
  zIndex: 2,
@@ -43648,12 +43648,12 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43648
43648
  "div",
43649
43649
  {
43650
43650
  style: {
43651
- width: ge,
43652
- height: ge,
43651
+ width: Ne,
43652
+ height: Ne,
43653
43653
  borderRadius: "50%",
43654
43654
  backgroundColor: g,
43655
43655
  position: "absolute",
43656
- top: re,
43656
+ top: he,
43657
43657
  left: "50%",
43658
43658
  transform: "translateX(-50%)",
43659
43659
  zIndex: 1,
@@ -43741,16 +43741,16 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43741
43741
  ].filter(Boolean).join(" | ") : void 0,
43742
43742
  role: "button",
43743
43743
  tabIndex: 0,
43744
- children: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", gap: u, flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(Me, {}) })
43744
+ children: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", gap: u, flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s(oe, {}) })
43745
43745
  }
43746
43746
  ),
43747
43747
  /* @__PURE__ */ s(
43748
43748
  Tme,
43749
43749
  {
43750
- ref: H,
43750
+ ref: D,
43751
43751
  isVisible: V,
43752
43752
  onClose: () => N(!1),
43753
- items: D,
43753
+ items: H,
43754
43754
  style: b,
43755
43755
  position: z
43756
43756
  }
@@ -43834,7 +43834,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43834
43834
  },
43835
43835
  "aria-disabled": f
43836
43836
  };
43837
- return o && !f ? /* @__PURE__ */ s("a", { href: o, ...w, children: L }) : /* @__PURE__ */ s(
43837
+ return o && !n && !f ? /* @__PURE__ */ s("a", { href: o, ...w, children: L }) : /* @__PURE__ */ s(
43838
43838
  "div",
43839
43839
  {
43840
43840
  ...w,
@@ -43884,7 +43884,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43884
43884
  className: A = "",
43885
43885
  width: q = "280px",
43886
43886
  showLogo: T = !0,
43887
- versionA11yConfig: H
43887
+ versionA11yConfig: D
43888
43888
  }) => {
43889
43889
  const V = wt(), N = V.activeNav, z = V.setActiveNav, F = V.user, R = S.user || F;
43890
43890
  return /* @__PURE__ */ v(
@@ -43900,14 +43900,14 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43900
43900
  children: [
43901
43901
  /* @__PURE__ */ v("div", { className: mt.topSection, style: { gap: t }, children: [
43902
43902
  T && /* @__PURE__ */ s("div", { className: mt.logoContainer, children: /* @__PURE__ */ s(pC, { ...e }) }),
43903
- /* @__PURE__ */ s("div", { className: mt.sectionsContainer, style: { gap: i }, children: n.map((D, Y) => /* @__PURE__ */ v("div", { className: mt.section, children: [
43904
- D.title && /* @__PURE__ */ s(
43903
+ /* @__PURE__ */ s("div", { className: mt.sectionsContainer, style: { gap: i }, children: n.map((H, Y) => /* @__PURE__ */ v("div", { className: mt.section, children: [
43904
+ H.title && /* @__PURE__ */ s(
43905
43905
  "div",
43906
43906
  {
43907
43907
  className: mt.sectionTitle,
43908
- title: D.a11yConfig?.mode === "guide" ? D.a11yConfig.description || D.title : D.a11yConfig?.mode === "key" ? [
43909
- D.titleKey ? `${D.a11yConfig.textLabel || "Texte"}: ${D.titleKey}` : null,
43910
- D.a11yConfig.key ? `${D.a11yConfig.guideLabel || "Guide"}: ${D.a11yConfig.key}` : null
43908
+ title: H.a11yConfig?.mode === "guide" ? H.a11yConfig.description || H.title : H.a11yConfig?.mode === "key" ? [
43909
+ H.titleKey ? `${H.a11yConfig.textLabel || "Texte"}: ${H.titleKey}` : null,
43910
+ H.a11yConfig.key ? `${H.a11yConfig.guideLabel || "Guide"}: ${H.a11yConfig.key}` : null
43911
43911
  ].filter(Boolean).join(" | ") : void 0,
43912
43912
  style: {
43913
43913
  fontSize: b,
@@ -43917,10 +43917,10 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43917
43917
  border: "4px solid transparent",
43918
43918
  ...p
43919
43919
  },
43920
- children: D.title
43920
+ children: H.title
43921
43921
  }
43922
43922
  ),
43923
- /* @__PURE__ */ s("div", { className: mt.sectionItems, style: { gap: c }, children: D.items.map((U) => /* @__PURE__ */ s(
43923
+ /* @__PURE__ */ s("div", { className: mt.sectionItems, style: { gap: c }, children: H.items.map((U) => /* @__PURE__ */ s(
43924
43924
  CA,
43925
43925
  {
43926
43926
  ...U,
@@ -43949,9 +43949,9 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43949
43949
  "div",
43950
43950
  {
43951
43951
  className: mt.versionContainer,
43952
- title: H?.mode === "guide" ? H.description || h : H?.mode === "key" ? [
43953
- H.textLabel || "Texte",
43954
- H.key ? `${H.guideLabel || "Guide"}: ${H.key}` : null
43952
+ title: D?.mode === "guide" ? D.description || h : D?.mode === "key" ? [
43953
+ D.textLabel || "Texte",
43954
+ D.key ? `${D.guideLabel || "Guide"}: ${D.key}` : null
43955
43955
  ].filter(Boolean).join(" | ") : void 0,
43956
43956
  style: {
43957
43957
  fontSize: L,
@@ -44057,16 +44057,17 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44057
44057
  gap: L = "8px",
44058
44058
  style: x,
44059
44059
  className: w = "",
44060
- disabled: S = !1
44060
+ disabled: S = !1,
44061
+ onNavigate: $
44061
44062
  }) => {
44062
- const $ = () => {
44063
- S || (o?.(), i && (window.location.href = i));
44063
+ const A = () => {
44064
+ S || (o?.(), i && ($ ? $(i) : window.location.href = i));
44064
44065
  };
44065
44066
  return /* @__PURE__ */ v(
44066
44067
  "div",
44067
44068
  {
44068
44069
  className: `${gi.navItem} ${w}`,
44069
- onClick: $,
44070
+ onClick: A,
44070
44071
  title: e?.mode === "guide" ? e.description || t : e?.mode === "key" ? [
44071
44072
  c ? `${e.textLabel || "Texte"}: ${c}` : null,
44072
44073
  e.key ? `${e.guideLabel || "Guide"}: ${e.key}` : null
@@ -44128,7 +44129,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44128
44129
  itemIcon: p8e,
44129
44130
  chevron: u8e,
44130
44131
  chevronOpen: y8e
44131
- }, k8e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-344 240-584l43-43 197 197 197-197 43 43z" })), Ri = Ae(k8e), m8e = ({
44132
+ }, k8e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-344 240-584l43-43 197 197 197-197 43 43z" })), Ri = ze(k8e), m8e = ({
44132
44133
  groups: e,
44133
44134
  activeItemId: t,
44134
44135
  onItemClick: n,
@@ -44158,10 +44159,10 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44158
44159
  }) => {
44159
44160
  const [$, A] = j(""), q = G(null);
44160
44161
  O(() => {
44161
- const H = (V) => {
44162
+ const D = (V) => {
44162
44163
  q.current && !q.current.contains(V.target) && A("");
44163
44164
  };
44164
- return document.addEventListener("mousedown", H), () => document.removeEventListener("mousedown", H);
44165
+ return document.addEventListener("mousedown", D), () => document.removeEventListener("mousedown", D);
44165
44166
  }, []);
44166
44167
  const T = {
44167
44168
  backgroundColor: c,
@@ -44175,8 +44176,8 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44175
44176
  ref: q,
44176
44177
  className: [ft.container, i].filter(Boolean).join(" "),
44177
44178
  style: T,
44178
- children: e.map((H) => {
44179
- const V = $ === H.id, N = {
44179
+ children: e.map((D) => {
44180
+ const V = $ === D.id, N = {
44180
44181
  backgroundColor: d,
44181
44182
  color: l,
44182
44183
  padding: L,
@@ -44191,20 +44192,20 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44191
44192
  {
44192
44193
  className: ft.groupHeader,
44193
44194
  style: N,
44194
- onClick: () => A(V ? "" : H.id),
44195
+ onClick: () => A(V ? "" : D.id),
44195
44196
  role: "button",
44196
44197
  "aria-expanded": V,
44197
44198
  children: [
44198
44199
  /* @__PURE__ */ v("div", { className: ft.groupHeaderLeft, style: { gap: w }, children: [
44199
- H.icon && /* @__PURE__ */ s(
44200
+ D.icon && /* @__PURE__ */ s(
44200
44201
  "span",
44201
44202
  {
44202
44203
  className: ft.groupIcon,
44203
44204
  style: { color: b, width: I, height: I },
44204
- children: H.icon
44205
+ children: D.icon
44205
44206
  }
44206
44207
  ),
44207
- /* @__PURE__ */ s("span", { children: H.label })
44208
+ /* @__PURE__ */ s("span", { children: D.label })
44208
44209
  ] }),
44209
44210
  /* @__PURE__ */ s(
44210
44211
  "span",
@@ -44217,8 +44218,8 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44217
44218
  ]
44218
44219
  }
44219
44220
  ),
44220
- V && /* @__PURE__ */ s("div", { className: ft.dropdown, style: z, children: H.items.map((F) => {
44221
- const R = F.id === t, D = {
44221
+ V && /* @__PURE__ */ s("div", { className: ft.dropdown, style: z, children: D.items.map((F) => {
44222
+ const R = F.id === t, H = {
44222
44223
  padding: x,
44223
44224
  gap: w,
44224
44225
  color: R ? M : k,
@@ -44231,9 +44232,9 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44231
44232
  "div",
44232
44233
  {
44233
44234
  className: ft.item,
44234
- style: D,
44235
+ style: H,
44235
44236
  onClick: () => {
44236
- n?.(H.id, F.id), A("");
44237
+ n?.(D.id, F.id), A("");
44237
44238
  },
44238
44239
  role: "menuitem",
44239
44240
  onMouseEnter: (Y) => {
@@ -44258,7 +44259,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44258
44259
  F.id
44259
44260
  );
44260
44261
  }) })
44261
- ] }, H.id);
44262
+ ] }, D.id);
44262
44263
  })
44263
44264
  }
44264
44265
  );
@@ -44299,34 +44300,35 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44299
44300
  navContainerClassName: A,
44300
44301
  navContainerStyle: q,
44301
44302
  rightContentClassName: T,
44302
- rightContentStyle: H,
44303
+ rightContentStyle: D,
44303
44304
  rightActions: V,
44304
44305
  activeSwitcherColor: N,
44305
44306
  inactiveSwitcherColor: z,
44306
- isMobile: F = !1
44307
+ isMobile: F = !1,
44308
+ onNavigate: R
44307
44309
  }) => {
44308
- const { activeSubNav: R, setActiveSubNav: D, navCounts: Y, activeNav: U } = wt();
44310
+ const { activeSubNav: H, setActiveSubNav: Y, navCounts: U, activeNav: ue } = wt();
44309
44311
  if (F) {
44310
- const Q = e.find((ge) => ge.id === R) || e[0], he = [
44312
+ const Q = e.find((Me) => Me.id === H) || e[0], Ne = [
44311
44313
  {
44312
44314
  id: "current-group",
44313
- label: Q?.label || U?.toUpperCase() || "MENU",
44315
+ label: Q?.label || ue?.toUpperCase() || "MENU",
44314
44316
  icon: Q?.icon,
44315
- items: e.map((ge) => ({
44316
- id: ge.id,
44317
- label: ge.label,
44318
- icon: ge.icon
44317
+ items: e.map((Me) => ({
44318
+ id: Me.id,
44319
+ label: Me.label,
44320
+ icon: Me.icon
44319
44321
  }))
44320
44322
  }
44321
44323
  ];
44322
44324
  return /* @__PURE__ */ s("div", { className: b, style: C, children: /* @__PURE__ */ s(
44323
44325
  m8e,
44324
44326
  {
44325
- groups: he,
44326
- activeItemId: R,
44327
- onItemClick: (ge, Pe) => {
44328
- const re = e.find((Me) => Me.id === Pe);
44329
- re && (re.onClick && re.onClick(), re.href && (window.location.href = re.href), D(Pe));
44327
+ groups: Ne,
44328
+ activeItemId: H,
44329
+ onItemClick: (Me, he) => {
44330
+ const oe = e.find((E) => E.id === he);
44331
+ oe && (oe.onClick && oe.onClick(), oe.href && (R ? R(oe.href) : oe.onNavigate ? oe.onNavigate(oe.href) : window.location.href = oe.href), Y(he));
44330
44332
  },
44331
44333
  headerBgColor: t
44332
44334
  }
@@ -44353,15 +44355,16 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44353
44355
  className: `${PL.navContainer} ${A || ""}`,
44354
44356
  style: { gap: l, ...q },
44355
44357
  children: e.map((Q) => {
44356
- const he = Q.count !== void 0 ? Q.count : Y[Q.id], ge = R === Q.id || Q.isActive;
44358
+ const Ne = Q.count !== void 0 ? Q.count : U[Q.id], Me = H === Q.id || Q.isActive;
44357
44359
  return /* @__PURE__ */ s(
44358
44360
  i8e,
44359
44361
  {
44360
44362
  ...Q,
44361
- count: he,
44362
- isActive: ge,
44363
+ onNavigate: R || Q.onNavigate,
44364
+ count: Ne,
44365
+ isActive: Me,
44363
44366
  onClick: () => {
44364
- Q.onClick && Q.onClick(), D(Q.id);
44367
+ Q.onClick && Q.onClick(), Y(Q.id);
44365
44368
  },
44366
44369
  activeColor: k,
44367
44370
  inactiveColor: M,
@@ -44388,7 +44391,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44388
44391
  "div",
44389
44392
  {
44390
44393
  className: `${PL.rightContent} ${T || ""}`,
44391
- style: { gap: h, ...H },
44394
+ style: { gap: h, ...D },
44392
44395
  children: [
44393
44396
  g && /* @__PURE__ */ s(
44394
44397
  HL,
@@ -44536,7 +44539,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44536
44539
  tableState: o,
44537
44540
  handleSort: c
44538
44541
  };
44539
- }, _8e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z" })), x8e = Ae(_8e), b8e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z" })), w8e = Ae(b8e), L8e = ({
44542
+ }, _8e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z" })), x8e = ze(_8e), b8e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z" })), w8e = ze(b8e), L8e = ({
44540
44543
  columns: e,
44541
44544
  sortBy: t,
44542
44545
  sortOrder: n,
@@ -44649,7 +44652,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44649
44652
  }) => {
44650
44653
  const { page: d, pageSize: l, total: h } = e, p = l === -1 ? h : l, u = Math.ceil(h / p) || 1, y = Math.min(Math.max(1, d), u), k = h === 0 ? 0 : (y - 1) * p + 1, M = Math.min(y * p, h), m = (_) => {
44651
44654
  t({ page: _ });
44652
- }, g = fe(() => {
44655
+ }, g = ge(() => {
44653
44656
  if (u <= 6)
44654
44657
  return Array.from({ length: u }, (S, $) => $ + 1);
44655
44658
  const b = Math.max(y - 1, 1), C = Math.min(y + 1, u), I = b > 2, L = C < u - 2, x = 1, w = u;
@@ -44799,7 +44802,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44799
44802
  const { tableState: $, handleSort: A } = M8e({
44800
44803
  initialSortBy: null,
44801
44804
  onSortChange: c
44802
- }), q = (m?.sortBy !== void 0 ? m.sortBy : $.sortBy) ?? void 0, T = m?.sortOrder !== void 0 ? m.sortOrder : $.sortOrder, H = (V) => {
44805
+ }), q = (m?.sortBy !== void 0 ? m.sortBy : $.sortBy) ?? void 0, T = m?.sortOrder !== void 0 ? m.sortOrder : $.sortOrder, D = (V) => {
44803
44806
  const N = q, z = T;
44804
44807
  let F = "asc";
44805
44808
  N === V && (F = z === "asc" ? "desc" : "asc"), m?.sortBy !== void 0 ? c(V, F) : A(V);
@@ -44840,7 +44843,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44840
44843
  columns: t,
44841
44844
  sortBy: q,
44842
44845
  sortOrder: T,
44843
- onSort: H,
44846
+ onSort: D,
44844
44847
  removeLabelSpan: L
44845
44848
  }
44846
44849
  ),
@@ -44967,32 +44970,32 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44967
44970
  placeholderColor: A,
44968
44971
  borderRadius: q = "var(--radius-content)",
44969
44972
  borderWidth: T = "0.0625rem",
44970
- boxShadow: H = "0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",
44973
+ boxShadow: D = "0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",
44971
44974
  transitionDuration: V = "0.2s",
44972
44975
  transitionTiming: N = "ease",
44973
44976
  dateCellSize: z = "2.5rem",
44974
44977
  headerTextColor: F = "#6c757d",
44975
44978
  weekdayTextColor: R = "#6c757d",
44976
- currentMonthDateColor: D = "#212529",
44979
+ currentMonthDateColor: H = "#212529",
44977
44980
  otherMonthDateColor: Y = "#adb5bd",
44978
44981
  selectedDateBgColor: U = "#00A6D9",
44979
- selectedDateTextColor: Q = "#ffffff",
44980
- cancelButtonBgColor: he = "#e9ecef",
44981
- cancelButtonTextColor: ge = "#212529",
44982
- applyButtonBgColor: Pe = "#00A6D9",
44983
- applyButtonTextColor: re = "#ffffff",
44984
- width: Me,
44982
+ selectedDateTextColor: ue = "#ffffff",
44983
+ cancelButtonBgColor: Q = "#e9ecef",
44984
+ cancelButtonTextColor: Ne = "#212529",
44985
+ applyButtonBgColor: Me = "#00A6D9",
44986
+ applyButtonTextColor: he = "#ffffff",
44987
+ width: oe,
44985
44988
  displayNode: E = void 0,
44986
44989
  displayMode: te = "auto",
44987
44990
  displayNodeAriaLabel: se,
44988
- dropdownPosition: oe = "bottom",
44991
+ dropdownPosition: ie = "bottom",
44989
44992
  dropdownAlignment: ve = "right",
44990
44993
  dropdownWidth: Ie,
44991
44994
  withBorder: be = !1,
44992
44995
  icon: je,
44993
- precision: ze = "day",
44994
- hoursLabel: ue = "Heures",
44995
- minutesLabel: Ne = "Minutes",
44996
+ precision: Ve = "day",
44997
+ hoursLabel: ye = "Heures",
44998
+ minutesLabel: Se = "Minutes",
44996
44999
  lowerLimit: Ct = null,
44997
45000
  upperLimit: pi = null,
44998
45001
  months: Bo,
@@ -45013,7 +45016,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45013
45016
  return isNaN(X.getTime()) ? null : X;
45014
45017
  }
45015
45018
  return null;
45016
- }, [rt, Ot] = j(!1), [Fo, zA] = j({ top: 0, left: 0, width: 0 }), [ie, ui] = j(Ft(e) || /* @__PURE__ */ new Date()), [Nb, Sb] = j(Ft(e)), [$b, qb] = j(Ft(e)?.getHours() ?? 0), [Ab, zb] = j(Ft(e)?.getMinutes() ?? 0), [Vb, Oo] = j(!1), [Pb, Eo] = j(!1), jb = G(null), Qi = G(null), Tb = G(null), Hb = G(null);
45019
+ }, [rt, Ot] = j(!1), [Fo, zA] = j({ top: 0, left: 0, width: 0 }), [ce, ui] = j(Ft(e) || /* @__PURE__ */ new Date()), [Nb, Sb] = j(Ft(e)), [$b, qb] = j(Ft(e)?.getHours() ?? 0), [Ab, zb] = j(Ft(e)?.getMinutes() ?? 0), [Vb, Oo] = j(!1), [Pb, Eo] = j(!1), jb = G(null), Qi = G(null), Tb = G(null), Hb = G(null);
45017
45020
  O(() => {
45018
45021
  const B = Ft(e);
45019
45022
  Sb(B), B && (ui(B), qb(B.getHours()), zb(B.getMinutes()));
@@ -45045,19 +45048,19 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45045
45048
  const X = new Date(B.getFullYear(), B.getMonth(), 1).getDay();
45046
45049
  return X === 0 ? 6 : X - 1;
45047
45050
  }, PA = () => {
45048
- const B = [], X = VA(ie), Le = QC(ie), ec = new Date(ie.getFullYear(), ie.getMonth() - 1, 1), It = QC(ec);
45051
+ const B = [], X = VA(ce), Le = QC(ce), ec = new Date(ce.getFullYear(), ce.getMonth() - 1, 1), It = QC(ec);
45049
45052
  for (let tt = X - 1; tt >= 0; tt--)
45050
- B.push(new Date(ie.getFullYear(), ie.getMonth() - 1, It - tt));
45053
+ B.push(new Date(ce.getFullYear(), ce.getMonth() - 1, It - tt));
45051
45054
  for (let tt = 1; tt <= Le; tt++)
45052
- B.push(new Date(ie.getFullYear(), ie.getMonth(), tt));
45055
+ B.push(new Date(ce.getFullYear(), ce.getMonth(), tt));
45053
45056
  const yi = 42 - B.length;
45054
45057
  for (let tt = 1; tt <= yi; tt++)
45055
- B.push(new Date(ie.getFullYear(), ie.getMonth() + 1, tt));
45058
+ B.push(new Date(ce.getFullYear(), ce.getMonth() + 1, tt));
45056
45059
  return B;
45057
- }, jA = (B, X) => !B || !X ? !1 : B.getDate() === X.getDate() && B.getMonth() === X.getMonth() && B.getFullYear() === X.getFullYear(), TA = (B) => B.getMonth() === ie.getMonth() && B.getFullYear() === ie.getFullYear(), HA = () => {
45058
- ui(new Date(ie.getFullYear(), ie.getMonth() - 1, 1));
45060
+ }, jA = (B, X) => !B || !X ? !1 : B.getDate() === X.getDate() && B.getMonth() === X.getMonth() && B.getFullYear() === X.getFullYear(), TA = (B) => B.getMonth() === ce.getMonth() && B.getFullYear() === ce.getFullYear(), HA = () => {
45061
+ ui(new Date(ce.getFullYear(), ce.getMonth() - 1, 1));
45059
45062
  }, DA = () => {
45060
- ui(new Date(ie.getFullYear(), ie.getMonth() + 1, 1));
45063
+ ui(new Date(ce.getFullYear(), ce.getMonth() + 1, 1));
45061
45064
  }, BA = (B) => {
45062
45065
  if (!r) {
45063
45066
  const X = new Date(B);
@@ -45076,11 +45079,11 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45076
45079
  const B = Ft(e);
45077
45080
  Sb(B), B && (qb(B.getHours()), zb(B.getMinutes())), Ot(!1);
45078
45081
  }, OA = (B) => {
45079
- ui(new Date(ie.getFullYear(), B, 1)), Oo(!1);
45082
+ ui(new Date(ce.getFullYear(), B, 1)), Oo(!1);
45080
45083
  }, EA = (B) => {
45081
- ui(new Date(B, ie.getMonth(), 1)), Eo(!1);
45084
+ ui(new Date(B, ce.getMonth(), 1)), Eo(!1);
45082
45085
  }, UA = () => {
45083
- const B = ie.getFullYear(), X = [];
45086
+ const B = ce.getFullYear(), X = [];
45084
45087
  for (let Le = B - 10; Le <= B + 10; Le++)
45085
45088
  X.push(Le);
45086
45089
  return X;
@@ -45099,7 +45102,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45099
45102
  break;
45100
45103
  }
45101
45104
  }, GA = {
45102
- width: Me || (c ? "100%" : "auto"),
45105
+ width: oe || (c ? "100%" : "auto"),
45103
45106
  fontSize: u,
45104
45107
  fontWeight: _
45105
45108
  }, ZA = {
@@ -45118,11 +45121,11 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45118
45121
  maxHeight: p,
45119
45122
  borderRadius: q,
45120
45123
  borderWidth: T,
45121
- boxShadow: H,
45124
+ boxShadow: D,
45122
45125
  transition: `opacity ${V} ${N}, transform ${V} ${N}`,
45123
45126
  position: "fixed",
45124
- top: oe === "bottom" ? Fo.top + (Qi.current?.offsetHeight || 0) + parseFloat(m.replace("rem", "")) * 16 : "auto",
45125
- bottom: oe === "top" ? window.innerHeight - Fo.top + parseFloat(m.replace("rem", "")) * 16 : "auto",
45127
+ top: ie === "bottom" ? Fo.top + (Qi.current?.offsetHeight || 0) + parseFloat(m.replace("rem", "")) * 16 : "auto",
45128
+ bottom: ie === "top" ? window.innerHeight - Fo.top + parseFloat(m.replace("rem", "")) * 16 : "auto",
45126
45129
  left: ve === "left" ? Fo.left : "auto",
45127
45130
  right: ve === "right" ? window.innerWidth - (Fo.left + Fo.width) : "auto",
45128
45131
  width: Ie || (c ? Fo.width : "auto"),
@@ -45141,7 +45144,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45141
45144
  }, JA = {
45142
45145
  color: S || "#dc3545",
45143
45146
  marginTop: M
45144
- }, QA = PA(), st = Ft(e), tI = st ? ze === "minutes" ? `${st.toLocaleDateString(JC)} ${st.getHours().toString().padStart(2, "0")}:${st.getMinutes().toString().padStart(2, "0")}` : st.toLocaleDateString(JC) : "", ez = !!E && (te === "icon" || te === "auto" && !st), tz = se || (st ? `${AA}${tI}` : qA);
45147
+ }, QA = PA(), st = Ft(e), tI = st ? Ve === "minutes" ? `${st.toLocaleDateString(JC)} ${st.getHours().toString().padStart(2, "0")}:${st.getMinutes().toString().padStart(2, "0")}` : st.toLocaleDateString(JC) : "", ez = !!E && (te === "icon" || te === "auto" && !st), tz = se || (st ? `${AA}${tI}` : qA);
45145
45148
  return /* @__PURE__ */ v(
45146
45149
  "div",
45147
45150
  {
@@ -45226,7 +45229,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45226
45229
  "--hover-color": L
45227
45230
  },
45228
45231
  children: [
45229
- (Bo || f$)[ie.getMonth()],
45232
+ (Bo || f$)[ce.getMonth()],
45230
45233
  /* @__PURE__ */ s(
45231
45234
  Ri,
45232
45235
  {
@@ -45242,17 +45245,17 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45242
45245
  "button",
45243
45246
  {
45244
45247
  type: "button",
45245
- className: `${W.monthItem} ${ie.getMonth() === X ? W.monthItemSelected : ""}`,
45248
+ className: `${W.monthItem} ${ce.getMonth() === X ? W.monthItemSelected : ""}`,
45246
45249
  onClick: () => OA(X),
45247
45250
  style: {
45248
45251
  padding: g,
45249
- backgroundColor: ie.getMonth() === X ? x || "#e7f1ff" : I
45252
+ backgroundColor: ce.getMonth() === X ? x || "#e7f1ff" : I
45250
45253
  },
45251
45254
  onMouseEnter: (Le) => {
45252
- L && ie.getMonth() !== X && (Le.currentTarget.style.backgroundColor = L);
45255
+ L && ce.getMonth() !== X && (Le.currentTarget.style.backgroundColor = L);
45253
45256
  },
45254
45257
  onMouseLeave: (Le) => {
45255
- L && (Le.currentTarget.style.backgroundColor = ie.getMonth() === X ? x || "#e7f1ff" : I);
45258
+ L && (Le.currentTarget.style.backgroundColor = ce.getMonth() === X ? x || "#e7f1ff" : I);
45256
45259
  },
45257
45260
  children: B
45258
45261
  },
@@ -45271,7 +45274,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45271
45274
  "--hover-color": L
45272
45275
  },
45273
45276
  children: [
45274
- ie.getFullYear(),
45277
+ ce.getFullYear(),
45275
45278
  /* @__PURE__ */ s(
45276
45279
  Ri,
45277
45280
  {
@@ -45287,17 +45290,17 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45287
45290
  "button",
45288
45291
  {
45289
45292
  type: "button",
45290
- className: `${W.yearItem} ${ie.getFullYear() === B ? W.yearItemSelected : ""}`,
45293
+ className: `${W.yearItem} ${ce.getFullYear() === B ? W.yearItemSelected : ""}`,
45291
45294
  onClick: () => EA(B),
45292
45295
  style: {
45293
45296
  padding: g,
45294
- backgroundColor: ie.getFullYear() === B ? x || "#e7f1ff" : I
45297
+ backgroundColor: ce.getFullYear() === B ? x || "#e7f1ff" : I
45295
45298
  },
45296
45299
  onMouseEnter: (X) => {
45297
- L && ie.getFullYear() !== B && (X.currentTarget.style.backgroundColor = L);
45300
+ L && ce.getFullYear() !== B && (X.currentTarget.style.backgroundColor = L);
45298
45301
  },
45299
45302
  onMouseLeave: (X) => {
45300
- L && (X.currentTarget.style.backgroundColor = ie.getFullYear() === B ? x || "#e7f1ff" : I);
45303
+ L && (X.currentTarget.style.backgroundColor = ce.getFullYear() === B ? x || "#e7f1ff" : I);
45301
45304
  },
45302
45305
  children: B
45303
45306
  },
@@ -45330,7 +45333,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45330
45333
  style: {
45331
45334
  width: z,
45332
45335
  height: z,
45333
- color: Le ? Q : ec ? D : Y,
45336
+ color: Le ? ue : ec ? H : Y,
45334
45337
  backgroundColor: Le ? U : "transparent",
45335
45338
  opacity: It ? 0.4 : 1,
45336
45339
  cursor: It ? "not-allowed" : "pointer"
@@ -45346,9 +45349,9 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45346
45349
  X
45347
45350
  );
45348
45351
  }) }),
45349
- ze === "minutes" && /* @__PURE__ */ v("div", { className: W.timePickerContainer, children: [
45352
+ Ve === "minutes" && /* @__PURE__ */ v("div", { className: W.timePickerContainer, children: [
45350
45353
  /* @__PURE__ */ v("div", { className: W.timeGroup, children: [
45351
- /* @__PURE__ */ s("span", { className: W.timeLabel, children: ue }),
45354
+ /* @__PURE__ */ s("span", { className: W.timeLabel, children: ye }),
45352
45355
  /* @__PURE__ */ s("div", { className: W.timeInputWrapper, children: /* @__PURE__ */ s(
45353
45356
  "input",
45354
45357
  {
@@ -45366,7 +45369,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45366
45369
  ] }),
45367
45370
  /* @__PURE__ */ s("span", { className: W.timeSeparator, children: ":" }),
45368
45371
  /* @__PURE__ */ v("div", { className: W.timeGroup, children: [
45369
- /* @__PURE__ */ s("span", { className: W.timeLabel, children: Ne }),
45372
+ /* @__PURE__ */ s("span", { className: W.timeLabel, children: Se }),
45370
45373
  /* @__PURE__ */ s("div", { className: W.timeInputWrapper, children: /* @__PURE__ */ s(
45371
45374
  "input",
45372
45375
  {
@@ -45391,8 +45394,8 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45391
45394
  className: W.cancelButton,
45392
45395
  onClick: FA,
45393
45396
  style: {
45394
- backgroundColor: he,
45395
- color: ge,
45397
+ backgroundColor: Q,
45398
+ color: Ne,
45396
45399
  borderRadius: q,
45397
45400
  padding: g
45398
45401
  },
@@ -45406,8 +45409,8 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45406
45409
  className: W.applyButton,
45407
45410
  onClick: RA,
45408
45411
  style: {
45409
- backgroundColor: Pe,
45410
- color: re,
45412
+ backgroundColor: Me,
45413
+ color: he,
45411
45414
  borderRadius: q,
45412
45415
  padding: g
45413
45416
  },
@@ -45477,7 +45480,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45477
45480
  placeholderColor: q,
45478
45481
  // Bordures et ombres
45479
45482
  border: T,
45480
- borderRadius: H = "var(--select-border-radius, 0.5rem)",
45483
+ borderRadius: D = "var(--select-border-radius, 0.5rem)",
45481
45484
  borderWidth: V = "var(--select-border-width, 0.0625rem)",
45482
45485
  boxShadow: N = "var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",
45483
45486
  // Transitions
@@ -45485,17 +45488,17 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45485
45488
  transitionTiming: F = "var(--select-transition-timing, ease)",
45486
45489
  // Scrollbars
45487
45490
  scrollbarWidth: R = "var(--select-scrollbar-width, 0.375rem)",
45488
- scrollbarTrackColor: D = "var(--select-scrollbar-track-color, #f1f1f1)",
45491
+ scrollbarTrackColor: H = "var(--select-scrollbar-track-color, #f1f1f1)",
45489
45492
  scrollbarThumbColor: Y = "var(--select-scrollbar-thumb-color, #c1c1c1)",
45490
45493
  width: U,
45491
- minWidth: Q,
45492
- dropdownPosition: he = "bottom",
45493
- dropdownAlignment: ge = "right",
45494
- dropdownWidth: Pe,
45495
- a11yConfig: re,
45496
- titleKey: Me
45494
+ minWidth: ue,
45495
+ dropdownPosition: Q = "bottom",
45496
+ dropdownAlignment: Ne = "right",
45497
+ dropdownWidth: Me,
45498
+ a11yConfig: he,
45499
+ titleKey: oe
45497
45500
  }) => {
45498
- const [E, te] = j(!1), se = G(null), oe = e.find((_e) => _e.value === t);
45501
+ const [E, te] = j(!1), se = G(null), ie = e.find((_e) => _e.value === t);
45499
45502
  O(() => {
45500
45503
  const _e = (Rt) => {
45501
45504
  se.current && !se.current.contains(Rt.target) && te(!1);
@@ -45520,7 +45523,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45520
45523
  }
45521
45524
  }, be = {
45522
45525
  width: U || (r ? "100%" : "auto"),
45523
- minWidth: Q,
45526
+ minWidth: ue,
45524
45527
  fontSize: y
45525
45528
  }, je = {
45526
45529
  height: h,
@@ -45529,31 +45532,31 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45529
45532
  border: T,
45530
45533
  borderColor: l ? $ || "var(--select-error-color, #dc3545)" : C || "var(--select-button-border-color, #dee2e6)",
45531
45534
  color: I || "var(--select-button-text-color, #212529)",
45532
- borderRadius: H,
45535
+ borderRadius: D,
45533
45536
  borderWidth: V,
45534
45537
  transition: `all ${z} ${F}`
45535
- }, ze = {
45538
+ }, Ve = {
45536
45539
  backgroundColor: L || "var(--select-dropdown-bg-color, #ffffff)",
45537
45540
  maxHeight: u,
45538
- borderRadius: H,
45541
+ borderRadius: D,
45539
45542
  borderWidth: V,
45540
45543
  boxShadow: N,
45541
45544
  transition: `opacity ${z} ${F}, transform ${z} ${F}`,
45542
45545
  position: "absolute",
45543
- top: he === "bottom" ? "100%" : "auto",
45544
- bottom: he === "top" ? "100%" : "auto",
45545
- left: ge === "left" ? 0 : "auto",
45546
- right: ge === "right" ? 0 : "auto",
45547
- width: Pe || (r ? "100%" : "auto"),
45548
- marginTop: he === "bottom" ? g : 0,
45549
- marginBottom: he === "top" ? g : 0,
45546
+ top: Q === "bottom" ? "100%" : "auto",
45547
+ bottom: Q === "top" ? "100%" : "auto",
45548
+ left: Ne === "left" ? 0 : "auto",
45549
+ right: Ne === "right" ? 0 : "auto",
45550
+ width: Me || (r ? "100%" : "auto"),
45551
+ marginTop: Q === "bottom" ? g : 0,
45552
+ marginBottom: Q === "top" ? g : 0,
45550
45553
  zIndex: 1001
45551
- }, ue = {
45554
+ }, ye = {
45552
45555
  width: k,
45553
45556
  height: k,
45554
45557
  color: S || "var(--select-icon-color, #6c757d)",
45555
45558
  "--icon-rotation": E ? "rotate(180deg)" : "rotate(0deg)"
45556
- }, Ne = {
45559
+ }, Se = {
45557
45560
  color: A || "var(--select-label-color, #212529)",
45558
45561
  marginBottom: M
45559
45562
  }, Ct = {
@@ -45568,7 +45571,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45568
45571
  gap: f
45569
45572
  }, Ro = {
45570
45573
  "--scrollbar-width": R,
45571
- "--scrollbar-track-color": D,
45574
+ "--scrollbar-track-color": H,
45572
45575
  "--scrollbar-thumb-color": Y
45573
45576
  };
45574
45577
  return /* @__PURE__ */ v(
@@ -45580,15 +45583,15 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45580
45583
  "data-fullwidth": r,
45581
45584
  "data-disabled": d,
45582
45585
  "data-error": !!l,
45583
- title: re?.mode === "guide" ? re.description || [
45584
- Me ? `${re.textLabel || "Texte"}: ${Me}` : null,
45585
- re.key ? `${re.guideLabel || "Guide"}: ${re.key}` : null
45586
- ].filter(Boolean).join(" | ") : re?.mode === "key" ? [
45587
- Me ? `${re.textLabel || "Texte"}: ${Me}` : null,
45588
- re.key ? `${re.guideLabel || "Guide"}: ${re.key}` : null
45586
+ title: he?.mode === "guide" ? he.description || [
45587
+ oe ? `${he.textLabel || "Texte"}: ${oe}` : null,
45588
+ he.key ? `${he.guideLabel || "Guide"}: ${he.key}` : null
45589
+ ].filter(Boolean).join(" | ") : he?.mode === "key" ? [
45590
+ oe ? `${he.textLabel || "Texte"}: ${oe}` : null,
45591
+ he.key ? `${he.guideLabel || "Guide"}: ${he.key}` : null
45589
45592
  ].filter(Boolean).join(" | ") : void 0,
45590
45593
  children: [
45591
- o && /* @__PURE__ */ s("label", { className: Ce.label, style: Ne, children: o }),
45594
+ o && /* @__PURE__ */ s("label", { className: Ce.label, style: Se, children: o }),
45592
45595
  /* @__PURE__ */ v(
45593
45596
  "button",
45594
45597
  {
@@ -45607,13 +45610,13 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45607
45610
  "aria-labelledby": o ? `${o}-label` : void 0,
45608
45611
  children: [
45609
45612
  /* @__PURE__ */ v("div", { className: Ce.selectButtonContent, style: ne, children: [
45610
- oe?.icon && /* @__PURE__ */ s("span", { className: Ce.selectIcon, style: ue, children: oe.icon }),
45613
+ ie?.icon && /* @__PURE__ */ s("span", { className: Ce.selectIcon, style: ye, children: ie.icon }),
45611
45614
  /* @__PURE__ */ s(
45612
45615
  "span",
45613
45616
  {
45614
- className: `${Ce.selectLabel} ${oe ? "" : Ce.placeholder}`,
45615
- style: oe ? void 0 : Ct,
45616
- children: oe ? oe.label : i
45617
+ className: `${Ce.selectLabel} ${ie ? "" : Ce.placeholder}`,
45618
+ style: ie ? void 0 : Ct,
45619
+ children: ie ? ie.label : i
45617
45620
  }
45618
45621
  )
45619
45622
  ] }),
@@ -45622,7 +45625,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45622
45625
  {
45623
45626
  fill: "var(--color-text)",
45624
45627
  className: `${Ce.chevron} ${E ? Ce.chevronOpen : ""}`,
45625
- style: ue
45628
+ style: ye
45626
45629
  }
45627
45630
  )
45628
45631
  ]
@@ -45633,7 +45636,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45633
45636
  "div",
45634
45637
  {
45635
45638
  className: Ce.dropdown,
45636
- style: ze,
45639
+ style: Ve,
45637
45640
  role: "listbox",
45638
45641
  "aria-label": o || "Options de sélection",
45639
45642
  children: /* @__PURE__ */ s("div", { className: Ce.dropdownContent, style: Ro, children: e.map((_e) => /* @__PURE__ */ s(
@@ -45658,7 +45661,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45658
45661
  role: "option",
45659
45662
  "aria-selected": t === _e.value,
45660
45663
  children: /* @__PURE__ */ v("div", { className: Ce.itemContent, style: ne, children: [
45661
- _e.icon && /* @__PURE__ */ s("span", { className: Ce.itemIcon, style: ue, children: _e.icon }),
45664
+ _e.icon && /* @__PURE__ */ s("span", { className: Ce.itemIcon, style: ye, children: _e.icon }),
45662
45665
  /* @__PURE__ */ s("span", { className: Ce.itemLabel, children: _e.label })
45663
45666
  ] })
45664
45667
  },
@@ -45822,25 +45825,25 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45822
45825
  justifyContent: A = "",
45823
45826
  headerLineHeight: q = "",
45824
45827
  headerMinHeight: T = "",
45825
- contentSpace: H = "",
45828
+ contentSpace: D = "",
45826
45829
  titleKey: V,
45827
45830
  subtitleKey: N,
45828
45831
  subtitleA11yKey: z,
45829
45832
  maxBadgeKey: F,
45830
45833
  maxBadgeA11yKey: R,
45831
- predictionKey: D,
45834
+ predictionKey: H,
45832
45835
  predictionA11yKey: Y,
45833
45836
  realisedKey: U,
45834
- realisedA11yKey: Q
45837
+ realisedA11yKey: ue
45835
45838
  }) => {
45836
- const he = i !== void 0 ? i : !!o, ge = `${de.container} ${de[d]} ${de[y]} ${S ? de.disabled : ""}`, Pe = h === "white" ? de.valuePrimaryWhite : de.valuePrimaryBlack, re = h === "blue" ? de.valueSecondaryBlue : h === "white" ? de.valueSecondaryWhite : de.valueSecondaryBlack, Me = (ve) => ve === void 0 ? void 0 : typeof ve == "number" ? `${ve}px` : ve, E = (ve) => ve === void 0 ? void 0 : ve, te = k === "vertical", se = r != null && r !== "" && r !== "-" && r !== "—", oe = te ? de.valueRowVertical : de.valueRowHorizontal;
45837
- return /* @__PURE__ */ v("div", { className: `${ge} ${u}`, style: { backgroundColor: x }, children: [
45839
+ const Q = i !== void 0 ? i : !!o, Ne = `${de.container} ${de[d]} ${de[y]} ${S ? de.disabled : ""}`, Me = h === "white" ? de.valuePrimaryWhite : de.valuePrimaryBlack, he = h === "blue" ? de.valueSecondaryBlue : h === "white" ? de.valueSecondaryWhite : de.valueSecondaryBlack, oe = (ve) => ve === void 0 ? void 0 : typeof ve == "number" ? `${ve}px` : ve, E = (ve) => ve === void 0 ? void 0 : ve, te = k === "vertical", se = r != null && r !== "" && r !== "-" && r !== "—", ie = te ? de.valueRowVertical : de.valueRowHorizontal;
45840
+ return /* @__PURE__ */ v("div", { className: `${Ne} ${u}`, style: { backgroundColor: x }, children: [
45838
45841
  t && /* @__PURE__ */ s("div", { className: `${de.iconWrapper} ${de[$]}`, children: t }),
45839
45842
  /* @__PURE__ */ v(
45840
45843
  "div",
45841
45844
  {
45842
45845
  className: `${de.content} ${de[w]} ${se ? "" : de.singleValue} content-indicator-v2`,
45843
- style: { justifyContent: H },
45846
+ style: { justifyContent: D },
45844
45847
  children: [
45845
45848
  /* @__PURE__ */ s(
45846
45849
  "div",
@@ -45852,7 +45855,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45852
45855
  {
45853
45856
  className: `${de.title}`,
45854
45857
  style: {
45855
- fontSize: Me(m),
45858
+ fontSize: oe(m),
45856
45859
  fontWeight: E(g),
45857
45860
  color: l
45858
45861
  },
@@ -45868,12 +45871,12 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45868
45871
  )
45869
45872
  }
45870
45873
  ),
45871
- he && o ? /* @__PURE__ */ s("div", { className: "subtitle-container", children: /* @__PURE__ */ s(
45874
+ Q && o ? /* @__PURE__ */ s("div", { className: "subtitle-container", children: /* @__PURE__ */ s(
45872
45875
  "span",
45873
45876
  {
45874
45877
  className: de.subtitle,
45875
45878
  style: {
45876
- fontSize: Me(_),
45879
+ fontSize: oe(_),
45877
45880
  fontWeight: E(f)
45878
45881
  },
45879
45882
  title: e?.mode === "guide" ? e.description || [
@@ -45886,7 +45889,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45886
45889
  children: o
45887
45890
  }
45888
45891
  ) }) : null,
45889
- /* @__PURE__ */ v("div", { className: `${oe} count-indicator-v2`, children: [
45892
+ /* @__PURE__ */ v("div", { className: `${ie} count-indicator-v2`, children: [
45890
45893
  /* @__PURE__ */ v("div", { className: de.primaryRow, children: [
45891
45894
  M && /* @__PURE__ */ s(
45892
45895
  "span",
@@ -45905,9 +45908,9 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45905
45908
  /* @__PURE__ */ s(
45906
45909
  "span",
45907
45910
  {
45908
- className: `${de.valuePrimary} ${Pe}`,
45911
+ className: `${de.valuePrimary} ${Me}`,
45909
45912
  style: {
45910
- fontSize: Me(
45913
+ fontSize: oe(
45911
45914
  b || (!se && te ? "1.75rem" : void 0)
45912
45915
  ),
45913
45916
  fontWeight: E(C),
@@ -45915,10 +45918,10 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45915
45918
  },
45916
45919
  title: e?.mode === "guide" ? e.description || [
45917
45920
  U ? `${e.textLabel || "Texte"}: ${U}` : null,
45918
- Q ? `${e.guideLabel || "Guide"}: ${Q}` : null
45921
+ ue ? `${e.guideLabel || "Guide"}: ${ue}` : null
45919
45922
  ].filter(Boolean).join(" | ") : e?.mode === "key" ? [
45920
45923
  U ? `${e.textLabel || "Texte"}: ${U}` : null,
45921
- Q ? `${e.guideLabel || "Guide"}: ${Q}` : null
45924
+ ue ? `${e.guideLabel || "Guide"}: ${ue}` : null
45922
45925
  ].filter(Boolean).join(" | ") : void 0,
45923
45926
  children: c
45924
45927
  }
@@ -45930,7 +45933,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45930
45933
  {
45931
45934
  className: de.valueSlash,
45932
45935
  style: {
45933
- fontSize: Me(I),
45936
+ fontSize: oe(I),
45934
45937
  fontWeight: E(L)
45935
45938
  },
45936
45939
  children: "/"
@@ -45939,16 +45942,16 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45939
45942
  /* @__PURE__ */ s(
45940
45943
  "span",
45941
45944
  {
45942
- className: `${de.valueSecondary} ${re}`,
45945
+ className: `${de.valueSecondary} ${he}`,
45943
45946
  style: {
45944
- fontSize: Me(I),
45947
+ fontSize: oe(I),
45945
45948
  fontWeight: E(L)
45946
45949
  },
45947
45950
  title: e?.mode === "guide" ? e.description || [
45948
- D ? `${e.textLabel || "Texte"}: ${D}` : null,
45951
+ H ? `${e.textLabel || "Texte"}: ${H}` : null,
45949
45952
  Y ? `${e.guideLabel || "Guide"}: ${Y}` : null
45950
45953
  ].filter(Boolean).join(" | ") : e?.mode === "key" ? [
45951
- D ? `${e.textLabel || "Texte"}: ${D}` : null,
45954
+ H ? `${e.textLabel || "Texte"}: ${H}` : null,
45952
45955
  Y ? `${e.guideLabel || "Guide"}: ${Y}` : null
45953
45956
  ].filter(Boolean).join(" | ") : void 0,
45954
45957
  children: r
@@ -45977,7 +45980,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45977
45980
  centeredWarn: V7e
45978
45981
  }, P7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 16, height: 16, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
45979
45982
  maskType: "alpha"
45980
- } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h16v16H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#C60000", d: "M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z" }))), M$ = Ae(P7e), l9e = ({
45983
+ } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h16v16H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#C60000", d: "M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z" }))), M$ = ze(P7e), l9e = ({
45981
45984
  patient: e,
45982
45985
  genre: t,
45983
45986
  gravite: n,
@@ -46062,7 +46065,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46062
46065
  }
46063
46066
  )
46064
46067
  ] })
46065
- ] }), j7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z" })), T7e = Ae(j7e), H7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z" })), IA = Ae(H7e), D7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z" })), B7e = Ae(D7e), R7e = "_overlay_1uxex_1", F7e = "_container_1uxex_11", O7e = "_fullscreen_1uxex_24", E7e = "_header_1uxex_30", U7e = "_headerActions_1uxex_42", W7e = "_iconButton_1uxex_47", G7e = "_body_1uxex_58", Z7e = "_sidebar_1uxex_65", K7e = "_content_1uxex_91", X7e = "_contentHeader_1uxex_98", Y7e = "_childrenWrapper_1uxex_114", J7e = "_footer_1uxex_138", Q7e = "_baseButton_1uxex_146", ege = "_noOverlay_1uxex_160", tge = "_contained_1uxex_168", Se = {
46068
+ ] }), j7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z" })), T7e = ze(j7e), H7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z" })), IA = ze(H7e), D7e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z" })), B7e = ze(D7e), R7e = "_overlay_1uxex_1", F7e = "_container_1uxex_11", O7e = "_fullscreen_1uxex_24", E7e = "_header_1uxex_30", U7e = "_headerActions_1uxex_42", W7e = "_iconButton_1uxex_47", G7e = "_body_1uxex_58", Z7e = "_sidebar_1uxex_65", K7e = "_content_1uxex_91", X7e = "_contentHeader_1uxex_98", Y7e = "_childrenWrapper_1uxex_114", J7e = "_footer_1uxex_138", Q7e = "_baseButton_1uxex_146", ege = "_noOverlay_1uxex_160", tge = "_contained_1uxex_168", $e = {
46066
46069
  overlay: R7e,
46067
46070
  container: F7e,
46068
46071
  fullscreen: O7e,
@@ -46109,28 +46112,28 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46109
46112
  hideFooter: A = !1,
46110
46113
  hideOverlay: q = !1,
46111
46114
  position: T,
46112
- a11yConfig: H
46115
+ a11yConfig: D
46113
46116
  }) => {
46114
46117
  const [V, N] = j(!1), z = G(null);
46115
46118
  if (O(() => {
46116
46119
  if (!c || !q) return;
46117
- const R = (D) => {
46118
- (D.type === "scroll" || D.type === "wheel" || D.type === "touchmove" || z.current && !z.current.contains(D.target)) && r();
46120
+ const R = (H) => {
46121
+ (H.type === "scroll" || H.type === "wheel" || H.type === "touchmove" || z.current && !z.current.contains(H.target)) && r();
46119
46122
  };
46120
46123
  return document.addEventListener("mousedown", R), document.addEventListener("scroll", R, !0), document.addEventListener("wheel", R, { passive: !0, capture: !0 }), document.addEventListener("touchmove", R, { passive: !0, capture: !0 }), () => {
46121
46124
  document.removeEventListener("mousedown", R), document.removeEventListener("scroll", R, !0), document.removeEventListener("wheel", R, !0), document.removeEventListener("touchmove", R, !0);
46122
46125
  };
46123
46126
  }, [c, q, r]), !c) return null;
46124
- const F = (R, D = !1) => /* @__PURE__ */ s(
46127
+ const F = (R, H = !1) => /* @__PURE__ */ s(
46125
46128
  TL,
46126
46129
  {
46127
46130
  onClick: R.disabled ? void 0 : R.onClick,
46128
- className: Se.baseButton,
46131
+ className: $e.baseButton,
46129
46132
  disabled: R.disabled,
46130
46133
  style: {
46131
- background: R.backgroundColor ?? (D ? "#008FBB" : "#ffffff"),
46132
- color: R.textColor ?? (D ? "#ffffff" : "#374151"),
46133
- border: R.borderColor || D ? "none" : void 0,
46134
+ background: R.backgroundColor ?? (H ? "#008FBB" : "#ffffff"),
46135
+ color: R.textColor ?? (H ? "#ffffff" : "#374151"),
46136
+ border: R.borderColor || H ? "none" : void 0,
46134
46137
  cursor: R.disabled ? R.cursor ?? "not-allowed" : R.cursor ?? "pointer",
46135
46138
  filter: R.disabled ? R.filter ?? "grayscale(0.5)" : R.filter ?? "none",
46136
46139
  opacity: R.disabled ? 0.65 : 1
@@ -46139,11 +46142,11 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46139
46142
  children: R.text
46140
46143
  }
46141
46144
  );
46142
- return /* @__PURE__ */ s("div", { className: q ? Se.noOverlay : Se.overlay, onClick: r, children: /* @__PURE__ */ v(
46145
+ return /* @__PURE__ */ s("div", { className: q ? $e.noOverlay : $e.overlay, onClick: r, children: /* @__PURE__ */ v(
46143
46146
  "div",
46144
46147
  {
46145
46148
  ref: z,
46146
- className: `${Se.container} ${V ? Se.fullscreen : ""} ${q ? Se.contained : ""}`,
46149
+ className: `${$e.container} ${V ? $e.fullscreen : ""} ${q ? $e.contained : ""}`,
46147
46150
  onClick: (R) => R.stopPropagation(),
46148
46151
  style: {
46149
46152
  width: V ? "100%" : f,
@@ -46155,7 +46158,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46155
46158
  ...T || {}
46156
46159
  },
46157
46160
  children: [
46158
- !M && /* @__PURE__ */ v("header", { className: Se.header, style: { backgroundColor: n }, children: [
46161
+ !M && /* @__PURE__ */ v("header", { className: $e.header, style: { backgroundColor: n }, children: [
46159
46162
  /* @__PURE__ */ s(
46160
46163
  "h2",
46161
46164
  {
@@ -46164,46 +46167,46 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46164
46167
  fontWeight: i,
46165
46168
  color: t
46166
46169
  },
46167
- title: H?.mode === "guide" ? H.description || e : H?.mode === "key" ? H.key : void 0,
46170
+ title: D?.mode === "guide" ? D.description || e : D?.mode === "key" ? D.key : void 0,
46168
46171
  children: e
46169
46172
  }
46170
46173
  ),
46171
- /* @__PURE__ */ v("div", { className: Se.headerActions, children: [
46174
+ /* @__PURE__ */ v("div", { className: $e.headerActions, children: [
46172
46175
  !k && /* @__PURE__ */ s(
46173
46176
  "button",
46174
46177
  {
46175
46178
  onClick: () => N(!V),
46176
- className: Se.iconButton,
46179
+ className: $e.iconButton,
46177
46180
  title: V ? "Réduire" : "Agrandir",
46178
46181
  children: V ? /* @__PURE__ */ s(B7e, { width: 22, height: 22, fill: t }) : /* @__PURE__ */ s(T7e, { width: 22, height: 22, fill: t })
46179
46182
  }
46180
46183
  ),
46181
- /* @__PURE__ */ s("button", { onClick: r, className: Se.iconButton, title: "Fermer", children: /* @__PURE__ */ s(IA, { width: 22, height: 22, fill: t }) })
46184
+ /* @__PURE__ */ s("button", { onClick: r, className: $e.iconButton, title: "Fermer", children: /* @__PURE__ */ s(IA, { width: 22, height: 22, fill: t }) })
46182
46185
  ] })
46183
46186
  ] }),
46184
- /* @__PURE__ */ v("div", { className: Se.body, style: { overflow: w }, children: [
46185
- y && !m && /* @__PURE__ */ s("aside", { className: Se.sidebar, children: y }),
46187
+ /* @__PURE__ */ v("div", { className: $e.body, style: { overflow: w }, children: [
46188
+ y && !m && /* @__PURE__ */ s("aside", { className: $e.sidebar, children: y }),
46186
46189
  /* @__PURE__ */ v(
46187
46190
  "main",
46188
46191
  {
46189
- className: Se.content,
46192
+ className: $e.content,
46190
46193
  style: { backgroundColor: u, overflow: w },
46191
46194
  children: [
46192
- p && /* @__PURE__ */ v("header", { className: Se.contentHeader, style: { backgroundColor: n }, children: [
46195
+ p && /* @__PURE__ */ v("header", { className: $e.contentHeader, style: { backgroundColor: n }, children: [
46193
46196
  /* @__PURE__ */ s("span", { style: { color: t }, children: p }),
46194
46197
  S
46195
46198
  ] }),
46196
- /* @__PURE__ */ s("div", { className: Se.childrenWrapper, style: { padding: x, overflow: w }, children: h })
46199
+ /* @__PURE__ */ s("div", { className: $e.childrenWrapper, style: { padding: x, overflow: w }, children: h })
46197
46200
  ]
46198
46201
  }
46199
46202
  )
46200
46203
  ] }),
46201
- !A && /* @__PURE__ */ v("footer", { className: Se.footer, style: { backgroundColor: n }, children: [
46204
+ !A && /* @__PURE__ */ v("footer", { className: $e.footer, style: { backgroundColor: n }, children: [
46202
46205
  g && /* @__PURE__ */ s(
46203
46206
  TL,
46204
46207
  {
46205
46208
  onClick: g,
46206
- className: Se.baseButton,
46209
+ className: $e.baseButton,
46207
46210
  style: {
46208
46211
  background: "#fee2e2",
46209
46212
  color: "#ef4444",
@@ -46422,10 +46425,10 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46422
46425
  g(!0), L.length > 0 && f(L[0].toUpperCase()), C("");
46423
46426
  }, T = () => {
46424
46427
  _ && b.trim() && (o(_, b.trim()), g(!1), f(""), C(""));
46425
- }, H = () => {
46428
+ }, D = () => {
46426
46429
  g(!1), f(""), C("");
46427
46430
  }, V = (N) => {
46428
- N.key === "Enter" ? T() : N.key === "Escape" && H();
46431
+ N.key === "Enter" ? T() : N.key === "Escape" && D();
46429
46432
  };
46430
46433
  return /* @__PURE__ */ v("div", { className: "translation-key-v2", children: [
46431
46434
  /* @__PURE__ */ v("div", { className: "header", children: [
@@ -46465,7 +46468,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46465
46468
  {
46466
46469
  className: "translation-input editing",
46467
46470
  value: k,
46468
- onChange: (D) => M(D.target.value),
46471
+ onChange: (H) => M(H.target.value),
46469
46472
  onBlur: $,
46470
46473
  onKeyDown: A,
46471
46474
  placeholder: "Entrez la traduction...",
@@ -46505,7 +46508,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46505
46508
  ),
46506
46509
  /* @__PURE__ */ v("div", { className: "add-actions", children: [
46507
46510
  /* @__PURE__ */ s(Ci, { size: 18, className: "action-icon confirm", onClick: T }),
46508
- /* @__PURE__ */ s(ot, { size: 18, className: "action-icon cancel", onClick: H })
46511
+ /* @__PURE__ */ s(ot, { size: 18, className: "action-icon cancel", onClick: D })
46509
46512
  ] })
46510
46513
  ] }) : L.length > 0 && /* @__PURE__ */ v("button", { className: "add-translation-btn", onClick: q, children: [
46511
46514
  /* @__PURE__ */ s(ni, { size: 16 }),
@@ -46616,13 +46619,13 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46616
46619
  className: r = "",
46617
46620
  disabled: d = !1
46618
46621
  }) => {
46619
- const [l, h] = j(!1), [p, u] = j(""), y = G(null), k = G(null), M = G(null), m = G(null), [g, _] = j(null), [f, b] = j(!1), C = G([]), I = G(null), L = fe(() => {
46622
+ const [l, h] = j(!1), [p, u] = j(""), y = G(null), k = G(null), M = G(null), m = G(null), [g, _] = j(null), [f, b] = j(!1), C = G([]), I = G(null), L = ge(() => {
46620
46623
  const N = new Map(e.map((z) => [z.value, z]));
46621
46624
  return n.map((z) => N.get(z)).filter((z) => z !== void 0);
46622
- }, [e, n]), x = fe(
46625
+ }, [e, n]), x = ge(
46623
46626
  () => e.filter((N) => !n.includes(N.value)),
46624
46627
  [e, n]
46625
- ), w = fe(() => {
46628
+ ), w = ge(() => {
46626
46629
  let N = x;
46627
46630
  return p && (N = N.filter((z) => z.label.toLowerCase().includes(p.toLowerCase()))), N;
46628
46631
  }, [x, p]);
@@ -46639,22 +46642,22 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46639
46642
  }
46640
46643
  L.length > C.current.length && _(null);
46641
46644
  const N = () => {
46642
- const D = M.current, Y = m.current;
46643
- if (!D || !Y) return;
46644
- const U = Y.getBoundingClientRect().width, Q = Y.querySelector(`.${ae.actions}`), he = Q ? Q.getBoundingClientRect().width : 80, ge = 56, Pe = c ? 80 : 0, re = 16, Me = Array.from(D.querySelectorAll(`.${ae.tag}`));
46645
- Me.length === L.length && (C.current = Me.map((ue) => {
46646
- const Ne = ue.getBoundingClientRect(), Ct = ue.scrollWidth;
46647
- return Math.max(Ne.width, Ct, ue.offsetWidth || 0);
46645
+ const H = M.current, Y = m.current;
46646
+ if (!H || !Y) return;
46647
+ const U = Y.getBoundingClientRect().width, ue = Y.querySelector(`.${ae.actions}`), Q = ue ? ue.getBoundingClientRect().width : 80, Ne = 56, Me = c ? 80 : 0, he = 16, oe = Array.from(H.querySelectorAll(`.${ae.tag}`));
46648
+ oe.length === L.length && (C.current = oe.map((ye) => {
46649
+ const Se = ye.getBoundingClientRect(), Ct = ye.scrollWidth;
46650
+ return Math.max(Se.width, Ct, ye.offsetWidth || 0);
46648
46651
  }));
46649
- const E = C.current, te = E.length > 0 ? E.reduce((ue, Ne) => ue + Ne, 0) / E.length : 120, se = L.length <= E.length ? E.slice(0, L.length) : [...E, ...Array(L.length - E.length).fill(te)], oe = 4, ve = Math.max(
46652
+ const E = C.current, te = E.length > 0 ? E.reduce((ye, Se) => ye + Se, 0) / E.length : 120, se = L.length <= E.length ? E.slice(0, L.length) : [...E, ...Array(L.length - E.length).fill(te)], ie = 4, ve = Math.max(
46650
46653
  0,
46651
- U - he - Pe - re
46654
+ U - Q - Me - he
46652
46655
  );
46653
46656
  let Ie = 0, be = 0;
46654
- for (let ue = 0; ue < L.length; ue++) {
46655
- const Ne = se[ue] ?? 120;
46656
- if (Ie + Ne + oe > ve) break;
46657
- Ie += Ne + oe, be++;
46657
+ for (let ye = 0; ye < L.length; ye++) {
46658
+ const Se = se[ye] ?? 120;
46659
+ if (Ie + Se + ie > ve) break;
46660
+ Ie += Se + ie, be++;
46658
46661
  }
46659
46662
  if (be >= L.length) {
46660
46663
  _(null);
@@ -46662,16 +46665,16 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46662
46665
  }
46663
46666
  const je = Math.max(
46664
46667
  0,
46665
- U - ge - he - Pe - re
46668
+ U - Ne - Q - Me - he
46666
46669
  );
46667
46670
  Ie = 0;
46668
- let ze = 0;
46669
- for (let ue = 0; ue < L.length; ue++) {
46670
- const Ne = se[ue] ?? 120;
46671
- if (Ie + Ne + oe > je) break;
46672
- Ie += Ne + oe, ze++;
46671
+ let Ve = 0;
46672
+ for (let ye = 0; ye < L.length; ye++) {
46673
+ const Se = se[ye] ?? 120;
46674
+ if (Ie + Se + ie > je) break;
46675
+ Ie += Se + ie, Ve++;
46673
46676
  }
46674
- ze < L.length && ze > 0 ? _(ze) : _(null);
46677
+ Ve < L.length && Ve > 0 ? _(Ve) : _(null);
46675
46678
  }, z = requestAnimationFrame(() => {
46676
46679
  N();
46677
46680
  }), F = setTimeout(N, 100), R = new ResizeObserver(() => {
@@ -46696,7 +46699,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46696
46699
  z.stopPropagation();
46697
46700
  const F = L.filter((R) => R.value !== N);
46698
46701
  o(F);
46699
- }, H = (N) => {
46702
+ }, D = (N) => {
46700
46703
  N.stopPropagation(), o([]);
46701
46704
  }, V = (N) => {
46702
46705
  N.stopPropagation(), l || h(!0);
@@ -46820,7 +46823,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46820
46823
  {
46821
46824
  type: "button",
46822
46825
  className: ae.clearBtn,
46823
- onClick: H,
46826
+ onClick: D,
46824
46827
  "aria-label": "Effacer tout",
46825
46828
  children: /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ s(
46826
46829
  "path",
@@ -46878,14 +46881,14 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46878
46881
  lastCardTextColor: r = "black",
46879
46882
  boardColors: d = {}
46880
46883
  }) => {
46881
- const l = fe(() => {
46884
+ const l = ge(() => {
46882
46885
  const u = i.length === 0 ? o : o.filter((k) => k && i.includes(String(k.uf).replace(/^0+/, ""))), y = /* @__PURE__ */ new Set();
46883
46886
  return u.filter((k) => {
46884
46887
  if (!k || !k.uf) return !1;
46885
46888
  const M = String(k.uf).replace(/^0+/, "");
46886
46889
  return y.has(M) ? !1 : (y.add(M), !0);
46887
46890
  });
46888
- }, [o, i]), h = fe(
46891
+ }, [o, i]), h = ge(
46889
46892
  () => l.reduce(
46890
46893
  (u, y) => ({
46891
46894
  disponibles: u.disponibles + (y.totalAvailable ?? y.disponibles ?? 0),
@@ -47109,13 +47112,13 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
47109
47112
  "--ratio-color": k || "inherit",
47110
47113
  "--separator-color": M || "#03a9f4",
47111
47114
  "--border-color": m || "#e0e0e0"
47112
- }, I = fe(() => e.map((S) => ({
47115
+ }, I = ge(() => e.map((S) => ({
47113
47116
  ...S,
47114
47117
  displayValue: _.has(S.nom) ? S.value : 0
47115
- })), [e, _]), L = fe(() => e.every((S) => S.value === 0), [e]), x = fe(() => L ? 1 : I.reduce((S, $) => S + $.displayValue, 0) || 1, [L, I]), w = ee.useCallback(
47116
- ({ cx: S, cy: $, midAngle: A, innerRadius: q, outerRadius: T, value: H }) => {
47117
- if (H === 0 || L) return null;
47118
- const V = q + (T - q) * 0.5, N = S + V * Math.cos(-A * _$), z = $ + V * Math.sin(-A * _$), F = Math.round(H / x * 100);
47118
+ })), [e, _]), L = ge(() => e.every((S) => S.value === 0), [e]), x = ge(() => L ? 1 : I.reduce((S, $) => S + $.displayValue, 0) || 1, [L, I]), w = ee.useCallback(
47119
+ ({ cx: S, cy: $, midAngle: A, innerRadius: q, outerRadius: T, value: D }) => {
47120
+ if (D === 0 || L) return null;
47121
+ const V = q + (T - q) * 0.5, N = S + V * Math.cos(-A * _$), z = $ + V * Math.sin(-A * _$), F = Math.round(D / x * 100);
47119
47122
  return /* @__PURE__ */ s(
47120
47123
  mz,
47121
47124
  {
@@ -47206,7 +47209,7 @@ const $6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
47206
47209
  container: ive,
47207
47210
  leftGroup: cve,
47208
47211
  iconBtn: rve
47209
- }, sve = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), dve = Ae(sve), lve = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13" })), NA = Ae(lve), _9e = ({
47212
+ }, sve = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), dve = ze(sve), lve = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13" })), NA = ze(lve), _9e = ({
47210
47213
  menuIcon: e,
47211
47214
  logoProps: t,
47212
47215
  actionIcon: n,